From 7c568850d529c87adb803d3ad7e9f77d9bf38fd7 Mon Sep 17 00:00:00 2001
From: Damien <damien.burel@maarch.org>
Date: Wed, 21 Mar 2018 12:20:12 +0100
Subject: [PATCH] [REFACTORING] Delete angular js files + remove some
 breadcrumbs

---
 .../action-administration.component.js        | 115 ----
 .../action-administration.component.ts        |  27 +-
 .../actions-administration.component.js       | 100 ---
 .../administration-routing.module.js          |  91 ---
 .../administration.component.js               |  80 ---
 .../administration.component.ts               |  26 +-
 .../administration/administration.module.js   | 106 ---
 .../basket-administration.component.js        | 543 ---------------
 .../baskets-administration.component.js       | 122 ----
 .../baskets-administration.component.ts       |  31 +-
 ...diffusionModel-administration.component.js | 266 -------
 ...diffusionModel-administration.component.ts |  51 +-
 ...iffusionModels-administration.component.js | 111 ---
 ...iffusionModels-administration.component.ts |  46 +-
 .../doctypes-administration.component.js      | 391 -----------
 .../entities-administration.component.js      | 649 ------------------
 .../group-administration.component.js         | 129 ----
 .../group-administration.component.ts         |  43 +-
 .../groups-administration.component.js        | 153 -----
 .../groups-administration.component.ts        |  44 +-
 .../history-administration.component.js       | 100 ---
 .../historyBatch-administration.component.js  | 100 ---
 .../notification-administration.component.js  | 152 ----
 .../notifications-administration.component.js |  98 ---
 ...tions-schedule-administration.component.js |  76 --
 .../parameter-administration.component.js     | 119 ----
 .../parameter-administration.component.ts     |  36 +-
 .../parameters-administration.component.js    |  93 ---
 .../priorities-administration.component.js    |  89 ---
 .../priority-administration.component.js      | 104 ---
 .../reports-administration.component.js       |  84 ---
 .../status-administration.component.js        | 162 -----
 .../statuses-administration.component.js      | 100 ---
 .../update-status-administration.component.js |  98 ---
 .../update-status-administration.component.ts |  31 +-
 .../user-administration.component.js          | 438 ------------
 .../users-administration.component.js         | 291 --------
 .../js/angular/app/app-material.module.js     | 148 ----
 .../js/angular/app/app-routing.module.js      |  32 -
 .../js/angular/app/app.component.js           |  47 --
 .../js/angular/app/app.module.js              |  56 --
 .../js/angular/app/french-paginator-intl.js   |  26 -
 .../js/angular/app/menu/menu-nav.component.js |  37 -
 .../js/angular/app/menu/menu.component.js     |  32 -
 .../js/angular/app/notification.service.js    |  55 --
 .../js/angular/app/profile.component.js       | 442 ------------
 .../app/save-numeric-package.component.js     | 143 ----
 .../angular/app/signature-book.component.js   | 525 --------------
 .../js/angular/app/translate.component.js     |  12 -
 .../js/angular/lang/lang-en.js                | 336 ---------
 .../js/angular/lang/lang-fr.js                | 363 ----------
 apps/maarch_entreprise/js/angular/main.js     |   7 -
 .../js/angular/plugins/autocomplete.plugin.js |  97 ---
 53 files changed, 131 insertions(+), 7522 deletions(-)
 delete mode 100644 apps/maarch_entreprise/js/angular/app/administration/action-administration.component.js
 delete mode 100644 apps/maarch_entreprise/js/angular/app/administration/actions-administration.component.js
 delete mode 100644 apps/maarch_entreprise/js/angular/app/administration/administration-routing.module.js
 delete mode 100644 apps/maarch_entreprise/js/angular/app/administration/administration.component.js
 delete mode 100644 apps/maarch_entreprise/js/angular/app/administration/administration.module.js
 delete mode 100644 apps/maarch_entreprise/js/angular/app/administration/basket-administration.component.js
 delete mode 100644 apps/maarch_entreprise/js/angular/app/administration/baskets-administration.component.js
 delete mode 100644 apps/maarch_entreprise/js/angular/app/administration/diffusionModel-administration.component.js
 delete mode 100644 apps/maarch_entreprise/js/angular/app/administration/diffusionModels-administration.component.js
 delete mode 100644 apps/maarch_entreprise/js/angular/app/administration/doctypes-administration.component.js
 delete mode 100644 apps/maarch_entreprise/js/angular/app/administration/entities-administration.component.js
 delete mode 100644 apps/maarch_entreprise/js/angular/app/administration/group-administration.component.js
 delete mode 100644 apps/maarch_entreprise/js/angular/app/administration/groups-administration.component.js
 delete mode 100644 apps/maarch_entreprise/js/angular/app/administration/history-administration.component.js
 delete mode 100644 apps/maarch_entreprise/js/angular/app/administration/historyBatch-administration.component.js
 delete mode 100644 apps/maarch_entreprise/js/angular/app/administration/notification-administration.component.js
 delete mode 100644 apps/maarch_entreprise/js/angular/app/administration/notifications-administration.component.js
 delete mode 100644 apps/maarch_entreprise/js/angular/app/administration/notifications-schedule-administration.component.js
 delete mode 100644 apps/maarch_entreprise/js/angular/app/administration/parameter-administration.component.js
 delete mode 100644 apps/maarch_entreprise/js/angular/app/administration/parameters-administration.component.js
 delete mode 100644 apps/maarch_entreprise/js/angular/app/administration/priorities-administration.component.js
 delete mode 100644 apps/maarch_entreprise/js/angular/app/administration/priority-administration.component.js
 delete mode 100644 apps/maarch_entreprise/js/angular/app/administration/reports-administration.component.js
 delete mode 100644 apps/maarch_entreprise/js/angular/app/administration/status-administration.component.js
 delete mode 100644 apps/maarch_entreprise/js/angular/app/administration/statuses-administration.component.js
 delete mode 100644 apps/maarch_entreprise/js/angular/app/administration/update-status-administration.component.js
 delete mode 100644 apps/maarch_entreprise/js/angular/app/administration/user-administration.component.js
 delete mode 100644 apps/maarch_entreprise/js/angular/app/administration/users-administration.component.js
 delete mode 100644 apps/maarch_entreprise/js/angular/app/app-material.module.js
 delete mode 100755 apps/maarch_entreprise/js/angular/app/app-routing.module.js
 delete mode 100755 apps/maarch_entreprise/js/angular/app/app.component.js
 delete mode 100755 apps/maarch_entreprise/js/angular/app/app.module.js
 delete mode 100644 apps/maarch_entreprise/js/angular/app/french-paginator-intl.js
 delete mode 100644 apps/maarch_entreprise/js/angular/app/menu/menu-nav.component.js
 delete mode 100644 apps/maarch_entreprise/js/angular/app/menu/menu.component.js
 delete mode 100644 apps/maarch_entreprise/js/angular/app/notification.service.js
 delete mode 100755 apps/maarch_entreprise/js/angular/app/profile.component.js
 delete mode 100644 apps/maarch_entreprise/js/angular/app/save-numeric-package.component.js
 delete mode 100755 apps/maarch_entreprise/js/angular/app/signature-book.component.js
 delete mode 100755 apps/maarch_entreprise/js/angular/app/translate.component.js
 delete mode 100755 apps/maarch_entreprise/js/angular/lang/lang-en.js
 delete mode 100755 apps/maarch_entreprise/js/angular/lang/lang-fr.js
 delete mode 100755 apps/maarch_entreprise/js/angular/main.js
 delete mode 100644 apps/maarch_entreprise/js/angular/plugins/autocomplete.plugin.js

diff --git a/apps/maarch_entreprise/js/angular/app/administration/action-administration.component.js b/apps/maarch_entreprise/js/angular/app/administration/action-administration.component.js
deleted file mode 100644
index a3f2c74b474..00000000000
--- a/apps/maarch_entreprise/js/angular/app/administration/action-administration.component.js
+++ /dev/null
@@ -1,115 +0,0 @@
-"use strict";
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
-var __metadata = (this && this.__metadata) || function (k, v) {
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var core_1 = require("@angular/core");
-var layout_1 = require("@angular/cdk/layout");
-var http_1 = require("@angular/common/http");
-var router_1 = require("@angular/router");
-var translate_component_1 = require("../translate.component");
-var notification_service_1 = require("../notification.service");
-var ActionAdministrationComponent = /** @class */ (function () {
-    function ActionAdministrationComponent(changeDetectorRef, media, http, route, router, notify) {
-        this.http = http;
-        this.route = route;
-        this.router = router;
-        this.notify = notify;
-        this.lang = translate_component_1.LANG;
-        this.action = {};
-        this.statuses = [];
-        this.actionPagesList = [];
-        this.categoriesList = [];
-        this.keywordsList = [];
-        this.loading = false;
-        $j("link[href='merged_css.php']").remove();
-        this.mobileQuery = media.matchMedia('(max-width: 768px)');
-        this._mobileQueryListener = function () { return changeDetectorRef.detectChanges(); };
-        this.mobileQuery.addListener(this._mobileQueryListener);
-    }
-    ActionAdministrationComponent.prototype.ngOnDestroy = function () {
-        this.mobileQuery.removeListener(this._mobileQueryListener);
-    };
-    ActionAdministrationComponent.prototype.updateBreadcrumb = function (applicationName) {
-        var breadCrumb = "<a href='index.php?reinit=true'>" + applicationName + "</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>" + this.lang.administration + "</a> > <a onclick='location.hash = \"/administration/actions\"' style='cursor: pointer'>" + this.lang.actions + "</a> > ";
-        if (this.creationMode == true) {
-            breadCrumb += this.lang.actionCreation;
-        }
-        else {
-            breadCrumb += this.lang.actionModification;
-        }
-        $j('#ariane')[0].innerHTML = breadCrumb;
-    };
-    ActionAdministrationComponent.prototype.prepareActions = function () {
-        $j('#inner_content').remove();
-    };
-    ActionAdministrationComponent.prototype.ngOnInit = function () {
-        var _this = this;
-        this.prepareActions();
-        this.loading = true;
-        this.coreUrl = angularGlobals.coreUrl;
-        this.route.params.subscribe(function (params) {
-            if (typeof params['id'] == "undefined") {
-                _this.creationMode = true;
-                _this.http.get(_this.coreUrl + 'rest/initAction')
-                    .subscribe(function (data) {
-                    _this.action = data.action;
-                    _this.categoriesList = data.categoriesList;
-                    _this.statuses = data.statuses;
-                    _this.actionPagesList = data.action_pagesList;
-                    _this.keywordsList = data.keywordsList;
-                    _this.loading = false;
-                });
-            }
-            else {
-                _this.creationMode = false;
-                _this.http.get(_this.coreUrl + 'rest/actions/' + params['id'])
-                    .subscribe(function (data) {
-                    _this.action = data.action;
-                    _this.categoriesList = data.categoriesList;
-                    _this.statuses = data.statuses;
-                    _this.actionPagesList = data.action_pagesList;
-                    _this.keywordsList = data.keywordsList;
-                    _this.loading = false;
-                });
-            }
-        });
-        this.updateBreadcrumb(angularGlobals.applicationName);
-    };
-    ActionAdministrationComponent.prototype.onSubmit = function () {
-        var _this = this;
-        if (this.creationMode) {
-            this.http.post(this.coreUrl + 'rest/actions', this.action)
-                .subscribe(function (data) {
-                _this.router.navigate(['/administration/actions']);
-                _this.notify.success(_this.lang.actionAdded);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-        else {
-            this.http.put(this.coreUrl + 'rest/actions/' + this.action.id, this.action)
-                .subscribe(function (data) {
-                _this.router.navigate(['/administration/actions']);
-                _this.notify.success(_this.lang.actionUpdated);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-    };
-    ActionAdministrationComponent = __decorate([
-        core_1.Component({
-            templateUrl: angularGlobals["action-administrationView"],
-            providers: [notification_service_1.NotificationService]
-        }),
-        __metadata("design:paramtypes", [core_1.ChangeDetectorRef, layout_1.MediaMatcher, http_1.HttpClient, router_1.ActivatedRoute, router_1.Router, notification_service_1.NotificationService])
-    ], ActionAdministrationComponent);
-    return ActionAdministrationComponent;
-}());
-exports.ActionAdministrationComponent = ActionAdministrationComponent;
diff --git a/apps/maarch_entreprise/js/angular/app/administration/action-administration.component.ts b/apps/maarch_entreprise/js/angular/app/administration/action-administration.component.ts
index 2a8dad01258..389421b13f1 100644
--- a/apps/maarch_entreprise/js/angular/app/administration/action-administration.component.ts
+++ b/apps/maarch_entreprise/js/angular/app/administration/action-administration.component.ts
@@ -15,6 +15,7 @@ declare var angularGlobals: any;
     providers: [NotificationService]
 })
 export class ActionAdministrationComponent implements OnInit {
+
     mobileQuery: MediaQueryList;
     private _mobileQueryListener: () => void;
     lang: any = LANG;
@@ -39,26 +40,9 @@ export class ActionAdministrationComponent implements OnInit {
         this.mobileQuery.removeListener(this._mobileQueryListener);
     }
 
-    updateBreadcrumb(applicationName: string) {
-        var breadCrumb = "<a href='index.php?reinit=true'>" + applicationName + "</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>" + this.lang.administration + "</a> > <a onclick='location.hash = \"/administration/actions\"' style='cursor: pointer'>" + this.lang.actions + "</a> > ";
-
-        if (this.creationMode == true) {
-            breadCrumb += this.lang.actionCreation;
-        } else {
-            breadCrumb += this.lang.actionModification;
-        }
-        $j('#ariane')[0].innerHTML = breadCrumb;
-    }
-
-    prepareActions() {
-        $j('#inner_content').remove();
-    }
-
     ngOnInit(): void {
-        this.prepareActions();
-
-        this.loading = true;
         this.coreUrl = angularGlobals.coreUrl;
+        this.loading = true;
 
         this.route.params.subscribe(params => {
             if (typeof params['id'] == "undefined") {
@@ -90,15 +74,12 @@ export class ActionAdministrationComponent implements OnInit {
                     });
             }
         });
-
-        this.updateBreadcrumb(angularGlobals.applicationName);
-
     }
 
     onSubmit() {
         if (this.creationMode) {
             this.http.post(this.coreUrl + 'rest/actions', this.action)
-                .subscribe((data: any) => {
+                .subscribe(() => {
                     this.router.navigate(['/administration/actions']);
                     this.notify.success(this.lang.actionAdded);
 
@@ -107,7 +88,7 @@ export class ActionAdministrationComponent implements OnInit {
                 });
         } else {
             this.http.put(this.coreUrl + 'rest/actions/' + this.action.id, this.action)
-                .subscribe((data: any) => {
+                .subscribe(() => {
                     this.router.navigate(['/administration/actions']);
                     this.notify.success(this.lang.actionUpdated);
 
diff --git a/apps/maarch_entreprise/js/angular/app/administration/actions-administration.component.js b/apps/maarch_entreprise/js/angular/app/administration/actions-administration.component.js
deleted file mode 100644
index 29dee42bcb7..00000000000
--- a/apps/maarch_entreprise/js/angular/app/administration/actions-administration.component.js
+++ /dev/null
@@ -1,100 +0,0 @@
-"use strict";
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
-var __metadata = (this && this.__metadata) || function (k, v) {
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var core_1 = require("@angular/core");
-var layout_1 = require("@angular/cdk/layout");
-var http_1 = require("@angular/common/http");
-var translate_component_1 = require("../translate.component");
-var notification_service_1 = require("../notification.service");
-var material_1 = require("@angular/material");
-var ActionsAdministrationComponent = /** @class */ (function () {
-    function ActionsAdministrationComponent(changeDetectorRef, media, http, notify) {
-        this.http = http;
-        this.notify = notify;
-        this.lang = translate_component_1.LANG;
-        this.search = null;
-        this.actions = [];
-        this.titles = [];
-        this.loading = false;
-        this.displayedColumns = ['id', 'label_action', 'history', 'is_folder_action', 'actions'];
-        this.dataSource = new material_1.MatTableDataSource(this.actions);
-        $j("link[href='merged_css.php']").remove();
-        this.mobileQuery = media.matchMedia('(max-width: 768px)');
-        this._mobileQueryListener = function () { return changeDetectorRef.detectChanges(); };
-        this.mobileQuery.addListener(this._mobileQueryListener);
-    }
-    ActionsAdministrationComponent.prototype.applyFilter = function (filterValue) {
-        filterValue = filterValue.trim(); // Remove whitespace
-        filterValue = filterValue.toLowerCase(); // MatTableDataSource defaults to lowercase matches
-        this.dataSource.filter = filterValue;
-    };
-    ActionsAdministrationComponent.prototype.ngOnDestroy = function () {
-        this.mobileQuery.removeListener(this._mobileQueryListener);
-    };
-    ActionsAdministrationComponent.prototype.updateBreadcrumb = function (applicationName) {
-        if ($j('#ariane')[0]) {
-            $j('#ariane')[0].innerHTML = "<a href='index.php?reinit=true'>" + applicationName + "</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>" + this.lang.administration + "</a> > " + this.lang.actions;
-        }
-    };
-    ActionsAdministrationComponent.prototype.ngOnInit = function () {
-        var _this = this;
-        this.coreUrl = angularGlobals.coreUrl;
-        this.loading = true;
-        this.updateBreadcrumb(angularGlobals.applicationName);
-        $j('#inner_content').remove();
-        this.http.get(this.coreUrl + 'rest/actions')
-            .subscribe(function (data) {
-            _this.actions = data['actions'];
-            _this.loading = false;
-            setTimeout(function () {
-                _this.dataSource = new material_1.MatTableDataSource(_this.actions);
-                _this.dataSource.paginator = _this.paginator;
-                _this.dataSource.sort = _this.sort;
-            }, 0);
-        }, function (err) {
-            console.log(err);
-            location.href = "index.php";
-        });
-    };
-    ActionsAdministrationComponent.prototype.deleteAction = function (action) {
-        var _this = this;
-        var r = confirm(this.lang.confirmAction + ' ' + this.lang.delete + ' « ' + action.label_action + ' »');
-        if (r) {
-            this.http.delete(this.coreUrl + 'rest/actions/' + action.id)
-                .subscribe(function (data) {
-                _this.actions = data.action;
-                _this.dataSource = new material_1.MatTableDataSource(_this.actions);
-                _this.dataSource.paginator = _this.paginator;
-                _this.dataSource.sort = _this.sort;
-                _this.notify.success(_this.lang.actionDeleted);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-    };
-    __decorate([
-        core_1.ViewChild(material_1.MatPaginator),
-        __metadata("design:type", material_1.MatPaginator)
-    ], ActionsAdministrationComponent.prototype, "paginator", void 0);
-    __decorate([
-        core_1.ViewChild(material_1.MatSort),
-        __metadata("design:type", material_1.MatSort)
-    ], ActionsAdministrationComponent.prototype, "sort", void 0);
-    ActionsAdministrationComponent = __decorate([
-        core_1.Component({
-            templateUrl: angularGlobals["actions-administrationView"],
-            providers: [notification_service_1.NotificationService]
-        }),
-        __metadata("design:paramtypes", [core_1.ChangeDetectorRef, layout_1.MediaMatcher, http_1.HttpClient, notification_service_1.NotificationService])
-    ], ActionsAdministrationComponent);
-    return ActionsAdministrationComponent;
-}());
-exports.ActionsAdministrationComponent = ActionsAdministrationComponent;
diff --git a/apps/maarch_entreprise/js/angular/app/administration/administration-routing.module.js b/apps/maarch_entreprise/js/angular/app/administration/administration-routing.module.js
deleted file mode 100644
index cadc321f8f4..00000000000
--- a/apps/maarch_entreprise/js/angular/app/administration/administration-routing.module.js
+++ /dev/null
@@ -1,91 +0,0 @@
-"use strict";
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var core_1 = require("@angular/core");
-var router_1 = require("@angular/router");
-var administration_component_1 = require("./administration.component");
-var users_administration_component_1 = require("./users-administration.component");
-var user_administration_component_1 = require("./user-administration.component");
-var groups_administration_component_1 = require("./groups-administration.component");
-var group_administration_component_1 = require("./group-administration.component");
-var baskets_administration_component_1 = require("./baskets-administration.component");
-var basket_administration_component_1 = require("./basket-administration.component");
-var doctypes_administration_component_1 = require("./doctypes-administration.component");
-var diffusionModels_administration_component_1 = require("./diffusionModels-administration.component");
-var diffusionModel_administration_component_1 = require("./diffusionModel-administration.component");
-var entities_administration_component_1 = require("./entities-administration.component");
-var entity_administration_component_1 = require("./entity-administration.component");
-var statuses_administration_component_1 = require("./statuses-administration.component");
-var status_administration_component_1 = require("./status-administration.component");
-var actions_administration_component_1 = require("./actions-administration.component");
-var action_administration_component_1 = require("./action-administration.component");
-var parameter_administration_component_1 = require("./parameter-administration.component");
-var parameters_administration_component_1 = require("./parameters-administration.component");
-var priorities_administration_component_1 = require("./priorities-administration.component");
-var priority_administration_component_1 = require("./priority-administration.component");
-var reports_administration_component_1 = require("./reports-administration.component");
-var notifications_administration_component_1 = require("./notifications-administration.component");
-var notification_administration_component_1 = require("./notification-administration.component");
-var notifications_schedule_administration_component_1 = require("./notifications-schedule-administration.component");
-var history_administration_component_1 = require("./history-administration.component");
-var historyBatch_administration_component_1 = require("./historyBatch-administration.component");
-var update_status_administration_component_1 = require("./update-status-administration.component");
-var AdministrationRoutingModule = /** @class */ (function () {
-    function AdministrationRoutingModule() {
-    }
-    AdministrationRoutingModule = __decorate([
-        core_1.NgModule({
-            imports: [
-                router_1.RouterModule.forChild([
-                    { path: '', component: administration_component_1.AdministrationComponent },
-                    { path: 'administration/users', component: users_administration_component_1.UsersAdministrationComponent },
-                    { path: 'administration/users/new', component: user_administration_component_1.UserAdministrationComponent },
-                    { path: 'administration/users/:id', component: user_administration_component_1.UserAdministrationComponent },
-                    { path: 'administration/groups', component: groups_administration_component_1.GroupsAdministrationComponent },
-                    { path: 'administration/groups/new', component: group_administration_component_1.GroupAdministrationComponent },
-                    { path: 'administration/groups/:id', component: group_administration_component_1.GroupAdministrationComponent },
-                    { path: 'administration/baskets', component: baskets_administration_component_1.BasketsAdministrationComponent },
-                    { path: 'administration/baskets/new', component: basket_administration_component_1.BasketAdministrationComponent },
-                    { path: 'administration/baskets/:id', component: basket_administration_component_1.BasketAdministrationComponent },
-                    { path: 'administration/doctypes', component: doctypes_administration_component_1.DoctypesAdministrationComponent },
-                    { path: 'administration/diffusionModels', component: diffusionModels_administration_component_1.DiffusionModelsAdministrationComponent },
-                    { path: 'administration/diffusionModels/new', component: diffusionModel_administration_component_1.DiffusionModelAdministrationComponent },
-                    { path: 'administration/diffusionModels/:id', component: diffusionModel_administration_component_1.DiffusionModelAdministrationComponent },
-                    { path: 'administration/entities', component: entities_administration_component_1.EntitiesAdministrationComponent },
-                    { path: 'administration/entities/new', component: entity_administration_component_1.EntityAdministrationComponent },
-                    { path: 'administration/entities/:id', component: entity_administration_component_1.EntityAdministrationComponent },
-                    { path: 'administration/statuses', component: statuses_administration_component_1.StatusesAdministrationComponent },
-                    { path: 'administration/statuses/new', component: status_administration_component_1.StatusAdministrationComponent },
-                    { path: 'administration/statuses/:identifier', component: status_administration_component_1.StatusAdministrationComponent },
-                    { path: 'administration/parameters', component: parameters_administration_component_1.ParametersAdministrationComponent },
-                    { path: 'administration/parameters/new', component: parameter_administration_component_1.ParameterAdministrationComponent },
-                    { path: 'administration/parameters/:id', component: parameter_administration_component_1.ParameterAdministrationComponent },
-                    { path: 'administration/reports', component: reports_administration_component_1.ReportsAdministrationComponent },
-                    { path: 'administration/priorities', component: priorities_administration_component_1.PrioritiesAdministrationComponent },
-                    { path: 'administration/priorities/new', component: priority_administration_component_1.PriorityAdministrationComponent },
-                    { path: 'administration/priorities/:id', component: priority_administration_component_1.PriorityAdministrationComponent },
-                    { path: 'administration/actions', component: actions_administration_component_1.ActionsAdministrationComponent },
-                    { path: 'administration/actions/new', component: action_administration_component_1.ActionAdministrationComponent },
-                    { path: 'administration/actions/:id', component: action_administration_component_1.ActionAdministrationComponent },
-                    { path: 'administration/notifications', component: notifications_administration_component_1.NotificationsAdministrationComponent },
-                    { path: 'administration/notifications/new', component: notification_administration_component_1.NotificationAdministrationComponent },
-                    { path: 'administration/notifications/schedule', component: notifications_schedule_administration_component_1.NotificationsScheduleAdministrationComponent },
-                    { path: 'administration/notifications/:identifier', component: notification_administration_component_1.NotificationAdministrationComponent },
-                    { path: 'administration/history', component: history_administration_component_1.HistoryAdministrationComponent },
-                    { path: 'administration/historyBatch', component: historyBatch_administration_component_1.HistoryBatchAdministrationComponent },
-                    { path: 'administration/update-status', component: update_status_administration_component_1.UpdateStatusAdministrationComponent },
-                ]),
-            ],
-            exports: [
-                router_1.RouterModule
-            ]
-        })
-    ], AdministrationRoutingModule);
-    return AdministrationRoutingModule;
-}());
-exports.AdministrationRoutingModule = AdministrationRoutingModule;
diff --git a/apps/maarch_entreprise/js/angular/app/administration/administration.component.js b/apps/maarch_entreprise/js/angular/app/administration/administration.component.js
deleted file mode 100644
index 9308a3402bb..00000000000
--- a/apps/maarch_entreprise/js/angular/app/administration/administration.component.js
+++ /dev/null
@@ -1,80 +0,0 @@
-"use strict";
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
-var __metadata = (this && this.__metadata) || function (k, v) {
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var core_1 = require("@angular/core");
-var layout_1 = require("@angular/cdk/layout");
-var http_1 = require("@angular/common/http");
-var router_1 = require("@angular/router");
-var translate_component_1 = require("../translate.component");
-var AdministrationComponent = /** @class */ (function () {
-    function AdministrationComponent(changeDetectorRef, media, http, router) {
-        this.http = http;
-        this.router = router;
-        this.lang = translate_component_1.LANG;
-        this.organisationServices = [];
-        this.productionServices = [];
-        this.classementServices = [];
-        this.supervisionServices = [];
-        this.loading = false;
-        $j("link[href='merged_css.php']").remove();
-        this.mobileQuery = media.matchMedia('(max-width: 768px)');
-        this._mobileQueryListener = function () { return changeDetectorRef.detectChanges(); };
-        this.mobileQuery.addListener(this._mobileQueryListener);
-    }
-    AdministrationComponent.prototype.prepareAdministration = function () {
-        $j('#inner_content').remove();
-        $j('#menunav').hide();
-        $j('#divList').remove();
-        $j('#magicContactsTable').remove();
-        $j('#manageBasketsOrderTable').remove();
-        $j('#controlParamTechnicTable').remove();
-        $j('#container').width("99%");
-        if ($j('#content h1')[0] && $j('#content h1')[0] != $j('my-app h1')[0]) {
-            $j('#content h1')[0].remove();
-        }
-    };
-    AdministrationComponent.prototype.updateBreadcrumb = function (applicationName) {
-        if ($j('#ariane')[0]) {
-            $j('#ariane')[0].innerHTML = "<a href='index.php?reinit=true'>" + applicationName + "</a> > Administration";
-        }
-    };
-    AdministrationComponent.prototype.ngOnInit = function () {
-        var _this = this;
-        this.prepareAdministration();
-        this.updateBreadcrumb(angularGlobals.applicationName);
-        this.coreUrl = angularGlobals.coreUrl;
-        this.loading = true;
-        this.http.get(this.coreUrl + 'rest/administration')
-            .subscribe(function (data) {
-            _this.organisationServices = data.administrations.organisation;
-            _this.productionServices = data.administrations.production;
-            _this.classementServices = data.administrations.classement;
-            _this.supervisionServices = data.administrations.supervision;
-            _this.loading = false;
-        });
-    };
-    AdministrationComponent.prototype.goToSpecifiedAdministration = function (service) {
-        if (service.angular == "true") {
-            this.router.navigate([service.servicepage]);
-        }
-        else {
-            window.location.assign(service.servicepage);
-        }
-    };
-    AdministrationComponent = __decorate([
-        core_1.Component({
-            templateUrl: angularGlobals.administrationView,
-        }),
-        __metadata("design:paramtypes", [core_1.ChangeDetectorRef, layout_1.MediaMatcher, http_1.HttpClient, router_1.Router])
-    ], AdministrationComponent);
-    return AdministrationComponent;
-}());
-exports.AdministrationComponent = AdministrationComponent;
diff --git a/apps/maarch_entreprise/js/angular/app/administration/administration.component.ts b/apps/maarch_entreprise/js/angular/app/administration/administration.component.ts
index 0781847f7cf..0e10214c4c9 100644
--- a/apps/maarch_entreprise/js/angular/app/administration/administration.component.ts
+++ b/apps/maarch_entreprise/js/angular/app/administration/administration.component.ts
@@ -13,17 +13,18 @@ declare const angularGlobals: any;
     templateUrl: "../../../../Views/administration.component.html"
 })
 export class AdministrationComponent implements OnInit {
-    mobileQuery: MediaQueryList;
-    private _mobileQueryListener: () => void;
-    coreUrl: string;
-    lang: any = LANG;
 
-    organisationServices: any[] = [];
-    productionServices: any[] = [];
-    classementServices: any[] = [];
-    supervisionServices: any[] = [];
+    private _mobileQueryListener    : () => void;
+    mobileQuery                     : MediaQueryList;
 
-    loading: boolean = false;
+    coreUrl                         : string;
+    lang                            : any       = LANG;
+    loading                         : boolean   = false;
+
+    organisationServices            : any[]     = [];
+    productionServices              : any[]     = [];
+    classementServices              : any[]     = [];
+    supervisionServices             : any[]     = [];
 
 
     constructor(changeDetectorRef: ChangeDetectorRef, media: MediaMatcher, public http: HttpClient, private router: Router) {
@@ -46,15 +47,8 @@ export class AdministrationComponent implements OnInit {
         }
     }
 
-    updateBreadcrumb(applicationName: string) {
-        if ($j('#ariane')[0]) {
-            $j('#ariane')[0].innerHTML = "<a href='index.php?reinit=true'>" + applicationName + "</a> > Administration";
-        }
-    }
-
     ngOnInit(): void {
         this.prepareAdministration();
-        this.updateBreadcrumb(angularGlobals.applicationName);
         this.coreUrl = angularGlobals.coreUrl;
 
         this.loading = true;
diff --git a/apps/maarch_entreprise/js/angular/app/administration/administration.module.js b/apps/maarch_entreprise/js/angular/app/administration/administration.module.js
deleted file mode 100644
index 2907e25eda4..00000000000
--- a/apps/maarch_entreprise/js/angular/app/administration/administration.module.js
+++ /dev/null
@@ -1,106 +0,0 @@
-"use strict";
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var core_1 = require("@angular/core");
-var common_1 = require("@angular/common");
-var forms_1 = require("@angular/forms");
-var http_1 = require("@angular/common/http");
-var menu_component_1 = require("../menu/menu.component");
-var menu_nav_component_1 = require("../menu/menu-nav.component");
-var app_material_module_1 = require("../app-material.module");
-var administration_routing_module_1 = require("./administration-routing.module");
-var administration_component_1 = require("./administration.component");
-var users_administration_component_1 = require("./users-administration.component");
-var groups_administration_component_1 = require("./groups-administration.component");
-var user_administration_component_1 = require("./user-administration.component");
-var group_administration_component_1 = require("./group-administration.component");
-var baskets_administration_component_1 = require("./baskets-administration.component");
-var basket_administration_component_1 = require("./basket-administration.component");
-var entities_administration_component_1 = require("./entities-administration.component");
-var entity_administration_component_1 = require("./entity-administration.component");
-var diffusionModels_administration_component_1 = require("./diffusionModels-administration.component");
-var diffusionModel_administration_component_1 = require("./diffusionModel-administration.component");
-var doctypes_administration_component_1 = require("./doctypes-administration.component");
-var statuses_administration_component_1 = require("./statuses-administration.component");
-var status_administration_component_1 = require("./status-administration.component");
-var actions_administration_component_1 = require("./actions-administration.component");
-var action_administration_component_1 = require("./action-administration.component");
-var parameters_administration_component_1 = require("./parameters-administration.component");
-var parameter_administration_component_1 = require("./parameter-administration.component");
-var priorities_administration_component_1 = require("./priorities-administration.component");
-var priority_administration_component_1 = require("./priority-administration.component");
-var reports_administration_component_1 = require("./reports-administration.component");
-var history_administration_component_1 = require("./history-administration.component");
-var historyBatch_administration_component_1 = require("./historyBatch-administration.component");
-var update_status_administration_component_1 = require("./update-status-administration.component");
-var notifications_administration_component_1 = require("./notifications-administration.component");
-var notifications_schedule_administration_component_1 = require("./notifications-schedule-administration.component");
-var notification_administration_component_1 = require("./notification-administration.component");
-var AdministrationModule = /** @class */ (function () {
-    function AdministrationModule() {
-    }
-    AdministrationModule = __decorate([
-        core_1.NgModule({
-            imports: [
-                common_1.CommonModule,
-                forms_1.FormsModule,
-                forms_1.ReactiveFormsModule,
-                http_1.HttpClientModule,
-                app_material_module_1.AppMaterialModule,
-                administration_routing_module_1.AdministrationRoutingModule
-            ],
-            declarations: [
-                menu_component_1.MenuComponent,
-                menu_nav_component_1.MenuNavComponent,
-                administration_component_1.AdministrationComponent,
-                users_administration_component_1.UsersAdministrationComponent,
-                user_administration_component_1.UserAdministrationComponent,
-                groups_administration_component_1.GroupsAdministrationComponent,
-                group_administration_component_1.GroupAdministrationComponent,
-                baskets_administration_component_1.BasketsAdministrationComponent,
-                basket_administration_component_1.BasketAdministrationComponent,
-                doctypes_administration_component_1.DoctypesAdministrationComponent,
-                entities_administration_component_1.EntitiesAdministrationComponent,
-                entity_administration_component_1.EntityAdministrationComponent,
-                statuses_administration_component_1.StatusesAdministrationComponent,
-                status_administration_component_1.StatusAdministrationComponent,
-                actions_administration_component_1.ActionsAdministrationComponent,
-                action_administration_component_1.ActionAdministrationComponent,
-                parameters_administration_component_1.ParametersAdministrationComponent,
-                parameter_administration_component_1.ParameterAdministrationComponent,
-                priorities_administration_component_1.PrioritiesAdministrationComponent,
-                priority_administration_component_1.PriorityAdministrationComponent,
-                reports_administration_component_1.ReportsAdministrationComponent,
-                history_administration_component_1.HistoryAdministrationComponent,
-                historyBatch_administration_component_1.HistoryBatchAdministrationComponent,
-                update_status_administration_component_1.UpdateStatusAdministrationComponent,
-                notifications_administration_component_1.NotificationsAdministrationComponent,
-                notifications_schedule_administration_component_1.NotificationsScheduleAdministrationComponent,
-                notification_administration_component_1.NotificationAdministrationComponent,
-                users_administration_component_1.UsersAdministrationRedirectModalComponent,
-                entities_administration_component_1.EntitiesAdministrationRedirectModalComponent,
-                groups_administration_component_1.GroupsAdministrationRedirectModalComponent,
-                basket_administration_component_1.BasketAdministrationSettingsModalComponent,
-                basket_administration_component_1.BasketAdministrationGroupListModalComponent,
-                doctypes_administration_component_1.DoctypesAdministrationRedirectModalComponent,
-                diffusionModels_administration_component_1.DiffusionModelsAdministrationComponent,
-                diffusionModel_administration_component_1.DiffusionModelAdministrationComponent
-            ],
-            entryComponents: [
-                users_administration_component_1.UsersAdministrationRedirectModalComponent,
-                entities_administration_component_1.EntitiesAdministrationRedirectModalComponent,
-                groups_administration_component_1.GroupsAdministrationRedirectModalComponent,
-                basket_administration_component_1.BasketAdministrationSettingsModalComponent,
-                basket_administration_component_1.BasketAdministrationGroupListModalComponent,
-                doctypes_administration_component_1.DoctypesAdministrationRedirectModalComponent
-            ],
-        })
-    ], AdministrationModule);
-    return AdministrationModule;
-}());
-exports.AdministrationModule = AdministrationModule;
diff --git a/apps/maarch_entreprise/js/angular/app/administration/basket-administration.component.js b/apps/maarch_entreprise/js/angular/app/administration/basket-administration.component.js
deleted file mode 100644
index 2b30ad0e45f..00000000000
--- a/apps/maarch_entreprise/js/angular/app/administration/basket-administration.component.js
+++ /dev/null
@@ -1,543 +0,0 @@
-"use strict";
-var __extends = (this && this.__extends) || (function () {
-    var extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
-    return function (d, b) {
-        extendStatics(d, b);
-        function __() { this.constructor = d; }
-        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-    };
-})();
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
-var __metadata = (this && this.__metadata) || function (k, v) {
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
-var __param = (this && this.__param) || function (paramIndex, decorator) {
-    return function (target, key) { decorator(target, key, paramIndex); }
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var core_1 = require("@angular/core");
-var layout_1 = require("@angular/cdk/layout");
-var http_1 = require("@angular/common/http");
-var router_1 = require("@angular/router");
-var translate_component_1 = require("../translate.component");
-var notification_service_1 = require("../notification.service");
-var material_1 = require("@angular/material");
-var autocomplete_plugin_1 = require("../../plugins/autocomplete.plugin");
-var BasketAdministrationComponent = /** @class */ (function () {
-    function BasketAdministrationComponent(changeDetectorRef, media, http, route, router, notify, dialog) {
-        this.http = http;
-        this.route = route;
-        this.router = router;
-        this.notify = notify;
-        this.dialog = dialog;
-        this.lang = translate_component_1.LANG;
-        this.config = {};
-        this.basket = {};
-        this.basketGroups = [];
-        this.allGroups = [];
-        this.actionsList = [];
-        this.resultPages = [];
-        this.loading = false;
-        this.displayedColumns = ['label_action', 'actions'];
-        $j("link[href='merged_css.php']").remove();
-        this.mobileQuery = media.matchMedia('(max-width: 768px)');
-        this._mobileQueryListener = function () { return changeDetectorRef.detectChanges(); };
-        this.mobileQuery.addListener(this._mobileQueryListener);
-    }
-    BasketAdministrationComponent.prototype.applyFilter = function (filterValue) {
-        filterValue = filterValue.trim(); // Remove whitespace
-        filterValue = filterValue.toLowerCase(); // MatTableDataSource defaults to lowercase matches
-        this.dataSource.filter = filterValue;
-    };
-    BasketAdministrationComponent.prototype.ngOnDestroy = function () {
-        this.mobileQuery.removeListener(this._mobileQueryListener);
-    };
-    BasketAdministrationComponent.prototype.ngOnInit = function () {
-        var _this = this;
-        this.coreUrl = angularGlobals.coreUrl;
-        this.loading = true;
-        this.route.params.subscribe(function (params) {
-            if (typeof params['id'] == "undefined") {
-                _this.creationMode = true;
-                _this.basketIdAvailable = false;
-                _this.loading = false;
-            }
-            else {
-                _this.creationMode = false;
-                _this.basketIdAvailable = true;
-                _this.id = params['id'];
-                _this.http.get(_this.coreUrl + "rest/baskets/" + _this.id)
-                    .subscribe(function (data) {
-                    _this.basket = data.basket;
-                    _this.basket.id = data.basket.basket_id;
-                    _this.basket.name = data.basket.basket_name;
-                    _this.basket.description = data.basket.basket_desc;
-                    _this.basket.clause = data.basket.basket_clause;
-                    _this.basket.isSearchBasket = data.basket.is_visible != "Y";
-                    _this.basket.isFolderBasket = data.basket.is_folder_basket == "Y";
-                    _this.basket.flagNotif = data.basket.flag_notif == "Y";
-                    _this.http.get(_this.coreUrl + "rest/baskets/" + _this.id + "/groups")
-                        .subscribe(function (data) {
-                        _this.allGroups = data.allGroups;
-                        _this.allGroups.forEach(function (tmpAllGroup) {
-                            tmpAllGroup.isUsed = false;
-                            data.groups.forEach(function (tmpGroup) {
-                                if (tmpAllGroup.group_id == tmpGroup.group_id) {
-                                    tmpAllGroup.isUsed = true;
-                                }
-                            });
-                        });
-                        data.groups.forEach(function (tmpGroup) {
-                            tmpGroup.groupActions.forEach(function (tmpAction) {
-                                tmpAction.used_in_basketlist = tmpAction.used_in_basketlist == "Y";
-                                tmpAction.used_in_action_page = tmpAction.used_in_action_page == "Y";
-                                tmpAction.default_action_list = tmpAction.default_action_list == "Y";
-                            });
-                        });
-                        _this.basketGroups = data.groups;
-                        _this.resultPages = data.pages;
-                        _this.loading = false;
-                    }, function () {
-                        location.href = "index.php";
-                    });
-                }, function () {
-                    location.href = "index.php";
-                });
-            }
-        });
-    };
-    BasketAdministrationComponent.prototype.openSettings = function (group, action) {
-        var _this = this;
-        this.config = { data: { group: group, action: action, pages: this.resultPages } };
-        this.dialogRef = this.dialog.open(BasketAdministrationSettingsModalComponent, this.config);
-        this.dialogRef.afterClosed().subscribe(function (result) {
-            if (result) {
-                _this.http.put(_this.coreUrl + "rest/baskets/" + _this.id + "/groups/" + result.group.group_id, { 'result_page': result.group.result_page, 'groupActions': result.group.groupActions })
-                    .subscribe(function (data) {
-                    //this.basketGroups.push(data);
-                    _this.notify.success(_this.lang.basketUpdated);
-                }, function (err) {
-                    _this.notify.error(err.error.errors);
-                });
-            }
-            _this.dialogRef = null;
-        });
-    };
-    BasketAdministrationComponent.prototype.isAvailable = function () {
-        var _this = this;
-        if (this.basket.id) {
-            this.http.get(this.coreUrl + "rest/baskets/" + this.basket.id)
-                .subscribe(function () {
-                _this.basketIdAvailable = false;
-            }, function (err) {
-                _this.basketIdAvailable = false;
-                if (err.error.errors == "Basket not found") {
-                    _this.basketIdAvailable = true;
-                }
-            });
-        }
-        else {
-            this.basketIdAvailable = false;
-        }
-    };
-    BasketAdministrationComponent.prototype.onSubmit = function () {
-        var _this = this;
-        if (this.creationMode) {
-            this.http.post(this.coreUrl + "rest/baskets", this.basket)
-                .subscribe(function () {
-                _this.notify.success(_this.lang.basketAdded);
-                _this.router.navigate(["/administration/baskets/" + _this.basket.id]);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-        else {
-            this.http.put(this.coreUrl + "rest/baskets/" + this.id, this.basket)
-                .subscribe(function () {
-                _this.notify.success(_this.lang.basketUpdated);
-                _this.router.navigate(["/administration/baskets"]);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-    };
-    BasketAdministrationComponent.prototype.initAction = function (groupIndex) {
-        this.dataSource = new material_1.MatTableDataSource(this.basketGroups[groupIndex].groupActions);
-        this.dataSource.sort = this.sort;
-    };
-    BasketAdministrationComponent.prototype.setDefaultAction = function (group, action) {
-        group.groupActions.forEach(function (tmpAction) {
-            if (action.id == tmpAction.id) {
-                tmpAction.default_action_list = true;
-            }
-            else {
-                tmpAction.default_action_list = false;
-            }
-        });
-        this.addAction(group);
-    };
-    BasketAdministrationComponent.prototype.updateResultPage = function (group) {
-        var _this = this;
-        this.http.put(this.coreUrl + "rest/baskets/" + this.id + "/groups/" + group.group_id, { 'result_page': group.result_page, 'groupActions': group.groupActions })
-            .subscribe(function () {
-            _this.notify.success(_this.lang.basketUpdated);
-        }, function (err) {
-            _this.notify.error(err.error.errors);
-        });
-    };
-    BasketAdministrationComponent.prototype.unlinkGroup = function (groupIndex) {
-        var _this = this;
-        var r = confirm(this.lang.unlinkGroup + ' ?');
-        if (r) {
-            this.http.delete(this.coreUrl + "rest/baskets/" + this.id + "/groups/" + this.basketGroups[groupIndex].group_id)
-                .subscribe(function () {
-                _this.allGroups.forEach(function (tmpGroup) {
-                    if (tmpGroup.group_id == _this.basketGroups[groupIndex].group_id) {
-                        tmpGroup.isUsed = false;
-                    }
-                });
-                _this.basketGroups.splice(groupIndex, 1);
-                _this.notify.success(_this.lang.basketUpdated);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-    };
-    BasketAdministrationComponent.prototype.linkGroup = function () {
-        var _this = this;
-        this.config = { data: { basketId: this.basket.id, groups: this.allGroups, linkedGroups: this.basketGroups } };
-        this.dialogRef = this.dialog.open(BasketAdministrationGroupListModalComponent, this.config);
-        this.dialogRef.afterClosed().subscribe(function (result) {
-            if (result) {
-                _this.http.post(_this.coreUrl + "rest/baskets/" + _this.id + "/groups", result)
-                    .subscribe(function () {
-                    _this.basketGroups.push(result);
-                    _this.allGroups.forEach(function (tmpGroup) {
-                        if (tmpGroup.group_id == result.group_id) {
-                            tmpGroup.isUsed = true;
-                        }
-                    });
-                    _this.notify.success(_this.lang.basketUpdated);
-                }, function (err) {
-                    _this.notify.error(err.error.errors);
-                });
-            }
-            _this.dialogRef = null;
-        });
-    };
-    BasketAdministrationComponent.prototype.addAction = function (group) {
-        var _this = this;
-        this.http.put(this.coreUrl + "rest/baskets/" + this.id + "/groups/" + group.group_id, { 'result_page': group.result_page, 'groupActions': group.groupActions })
-            .subscribe(function () {
-            _this.notify.success(_this.lang.basketUpdated);
-        }, function (err) {
-            _this.notify.error(err.error.errors);
-        });
-    };
-    BasketAdministrationComponent.prototype.unlinkAction = function (group, action) {
-        var _this = this;
-        var r = confirm(this.lang.unlinkAction + " ?");
-        if (r) {
-            action.checked = false;
-            this.http.put(this.coreUrl + "rest/baskets/" + this.id + "/groups/" + group.group_id, { 'result_page': group.result_page, 'groupActions': group.groupActions })
-                .subscribe(function () {
-                _this.notify.success(_this.lang.basketUpdated);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-    };
-    __decorate([
-        core_1.ViewChild(material_1.MatPaginator),
-        __metadata("design:type", material_1.MatPaginator)
-    ], BasketAdministrationComponent.prototype, "paginator", void 0);
-    __decorate([
-        core_1.ViewChild(material_1.MatSort),
-        __metadata("design:type", material_1.MatSort)
-    ], BasketAdministrationComponent.prototype, "sort", void 0);
-    BasketAdministrationComponent = __decorate([
-        core_1.Component({
-            templateUrl: angularGlobals["basket-administrationView"],
-            providers: [notification_service_1.NotificationService]
-        }),
-        __metadata("design:paramtypes", [core_1.ChangeDetectorRef, layout_1.MediaMatcher, http_1.HttpClient, router_1.ActivatedRoute, router_1.Router, notification_service_1.NotificationService, material_1.MatDialog])
-    ], BasketAdministrationComponent);
-    return BasketAdministrationComponent;
-}());
-exports.BasketAdministrationComponent = BasketAdministrationComponent;
-var BasketAdministrationSettingsModalComponent = /** @class */ (function (_super) {
-    __extends(BasketAdministrationSettingsModalComponent, _super);
-    function BasketAdministrationSettingsModalComponent(http, data, dialogRef) {
-        var _this = _super.call(this, http, ['users']) || this;
-        _this.http = http;
-        _this.data = data;
-        _this.dialogRef = dialogRef;
-        _this.lang = translate_component_1.LANG;
-        _this.allEntities = [];
-        return _this;
-    }
-    BasketAdministrationSettingsModalComponent.prototype.ngOnInit = function () {
-        var _this = this;
-        this.http.get(this.coreUrl + "rest/entities")
-            .subscribe(function (entities) {
-            var keywordEntities = [{
-                    id: 'ALL_ENTITIES',
-                    keyword: 'ALL_ENTITIES',
-                    parent: '#',
-                    icon: 'fa fa-hashtag',
-                    allowed: true,
-                    text: 'Toutes les entités'
-                }, {
-                    id: 'ENTITIES_JUST_BELOW',
-                    keyword: 'ENTITIES_JUST_BELOW',
-                    parent: '#',
-                    icon: 'fa fa-hashtag',
-                    allowed: true,
-                    text: "Immédiatement inférieur à mon entité primaire"
-                }, {
-                    id: 'ENTITIES_BELOW',
-                    keyword: 'ENTITIES_BELOW',
-                    parent: '#',
-                    icon: 'fa fa-hashtag',
-                    allowed: true,
-                    text: "Inférieur à toutes mes entités"
-                }, {
-                    id: 'ALL_ENTITIES_BELOW',
-                    keyword: 'ALL_ENTITIES_BELOW',
-                    parent: '#',
-                    icon: 'fa fa-hashtag',
-                    allowed: true,
-                    text: "Inférieur à mon entité primaire"
-                }, {
-                    id: 'MY_ENTITIES',
-                    keyword: 'MY_ENTITIES',
-                    parent: '#',
-                    icon: 'fa fa-hashtag',
-                    allowed: true,
-                    text: "Mes entités"
-                }, {
-                    id: 'MY_PRIMARY_ENTITY',
-                    keyword: 'MY_PRIMARY_ENTITY',
-                    parent: '#',
-                    icon: 'fa fa-hashtag',
-                    allowed: true,
-                    text: "Mon entité primaire"
-                }, {
-                    id: 'SAME_LEVEL_ENTITIES',
-                    keyword: 'SAME_LEVEL_ENTITIES',
-                    parent: '#',
-                    icon: 'fa fa-hashtag',
-                    allowed: true,
-                    text: "Même niveau de mon entité primaire"
-                }];
-            keywordEntities.forEach(function (keyword) {
-                _this.allEntities.push(keyword);
-            });
-            entities.entities.forEach(function (entity) {
-                _this.allEntities.push(entity);
-            });
-        }, function () {
-            location.href = "index.php";
-        });
-        this.http.get(this.coreUrl + 'rest/statuses')
-            .subscribe(function (data) {
-            _this.statuses = data.statuses;
-        });
-    };
-    BasketAdministrationSettingsModalComponent.prototype.initService = function () {
-        var _this = this;
-        this.allEntities.forEach(function (entity) {
-            entity.state = { "opened": false, "selected": false };
-            _this.data.action.redirects.forEach(function (keyword) {
-                if ((entity.id == keyword.keyword && keyword.redirect_mode == 'ENTITY') || (entity.id == keyword.entity_id && keyword.redirect_mode == 'ENTITY')) {
-                    entity.state = { "opened": true, "selected": true };
-                }
-            });
-        });
-        $j('#jstree').jstree({
-            "checkbox": {
-                "three_state": false //no cascade selection
-            },
-            'core': {
-                'themes': {
-                    'name': 'proton',
-                    'responsive': true
-                },
-                'data': this.allEntities
-            },
-            "plugins": ["checkbox", "search"]
-        });
-        $j('#jstree')
-            .on('select_node.jstree', function (e, data) {
-            if (data.node.original.keyword) {
-                _this.data.action.redirects.push({ action_id: _this.data.action.id, entity_id: '', keyword: data.node.id, redirect_mode: 'ENTITY' });
-            }
-            else {
-                _this.data.action.redirects.push({ action_id: _this.data.action.id, entity_id: data.node.id, keyword: '', redirect_mode: 'ENTITY' });
-            }
-        }).on('deselect_node.jstree', function (e, data) {
-            _this.data.action.redirects.forEach(function (redirect) {
-                if (data.node.original.keyword) {
-                    if (redirect.keyword == data.node.original.keyword) {
-                        var index = _this.data.action.redirects.indexOf(redirect);
-                        _this.data.action.redirects.splice(index, 1);
-                    }
-                }
-                else {
-                    if (redirect.entity_id == data.node.id) {
-                        var index = _this.data.action.redirects.indexOf(redirect);
-                        _this.data.action.redirects.splice(index, 1);
-                    }
-                }
-            });
-        })
-            .jstree();
-        var to = false;
-        $j('#jstree_search').keyup(function () {
-            if (to) {
-                clearTimeout(to);
-            }
-            to = setTimeout(function () {
-                var v = $j('#jstree_search').val();
-                $j('#jstree').jstree(true).search(v);
-            }, 250);
-        });
-    };
-    BasketAdministrationSettingsModalComponent.prototype.initService2 = function () {
-        var _this = this;
-        this.allEntities.forEach(function (entity) {
-            entity.state = { "opened": false, "selected": false };
-            _this.data.action.redirects.forEach(function (keyword) {
-                if (entity.id == keyword.keyword && keyword.redirect_mode == 'USERS') {
-                    entity.state = { "opened": true, "selected": true };
-                }
-            });
-        });
-        $j('#jstree2').jstree({
-            "checkbox": {
-                "three_state": false //no cascade selection
-            },
-            'core': {
-                'themes': {
-                    'name': 'proton',
-                    'responsive': true
-                },
-                'data': this.allEntities
-            },
-            "plugins": ["checkbox", "search"]
-        });
-        $j('#jstree2')
-            .on('select_node.jstree', function (e, data) {
-            if (data.node.original.keyword) {
-                _this.data.action.redirects.push({ action_id: _this.data.action.id, entity_id: '', keyword: data.node.id, redirect_mode: 'USERS' });
-            }
-            else {
-                _this.data.action.redirects.push({ action_id: _this.data.action.id, entity_id: data.node.id, keyword: '', redirect_mode: 'USERS' });
-            }
-        }).on('deselect_node.jstree', function (e, data) {
-            _this.data.action.redirects.forEach(function (redirect) {
-                if (data.node.original.keyword) {
-                    if (redirect.keyword == data.node.original.keyword) {
-                        var index = _this.data.action.redirects.indexOf(redirect);
-                        _this.data.action.redirects.splice(index, 1);
-                    }
-                }
-                else {
-                    if (redirect.entity_id == data.node.id) {
-                        var index = _this.data.action.redirects.indexOf(redirect);
-                        _this.data.action.redirects.splice(index, 1);
-                    }
-                }
-            });
-        })
-            .jstree();
-        var to = false;
-        $j('#jstree_search2').keyup(function () {
-            if (to) {
-                clearTimeout(to);
-            }
-            to = setTimeout(function () {
-                var v = $j('#jstree_search2').val();
-                $j('#jstree2').jstree(true).search(v);
-            }, 250);
-        });
-    };
-    BasketAdministrationSettingsModalComponent = __decorate([
-        core_1.Component({
-            templateUrl: angularGlobals["basket-administration-settings-modalView"],
-            styles: [".mat-dialog-content{height: 65vh;}"]
-        }),
-        __param(1, core_1.Inject(material_1.MAT_DIALOG_DATA)),
-        __metadata("design:paramtypes", [http_1.HttpClient, Object, material_1.MatDialogRef])
-    ], BasketAdministrationSettingsModalComponent);
-    return BasketAdministrationSettingsModalComponent;
-}(autocomplete_plugin_1.AutoCompletePlugin));
-exports.BasketAdministrationSettingsModalComponent = BasketAdministrationSettingsModalComponent;
-var BasketAdministrationGroupListModalComponent = /** @class */ (function () {
-    function BasketAdministrationGroupListModalComponent(http, data, dialogRef) {
-        this.http = http;
-        this.data = data;
-        this.dialogRef = dialogRef;
-        this.lang = translate_component_1.LANG;
-        this.actionAll = [];
-        this.newBasketGroup = {};
-    }
-    BasketAdministrationGroupListModalComponent.prototype.ngOnInit = function () {
-        var _this = this;
-        this.coreUrl = angularGlobals.coreUrl;
-        this.http.get(this.coreUrl + "rest/actions")
-            .subscribe(function (data) {
-            data.actions.forEach(function (tmpAction) {
-                tmpAction.where_clause = "";
-                tmpAction.used_in_basketlist = false;
-                tmpAction.default_action_list = false;
-                tmpAction.used_in_action_page = true;
-                tmpAction.statuses = [];
-                tmpAction.redirects = [];
-                tmpAction.checked = false;
-                _this.actionAll.push(tmpAction);
-            });
-        }, function (err) {
-            location.href = "index.php";
-        });
-        this.data.groups.forEach(function (tmpGroup) {
-            _this.data.linkedGroups.forEach(function (tmpLinkedGroup) {
-                if (tmpGroup.group_id == tmpLinkedGroup.group_id) {
-                    var index = _this.data.groups.indexOf(tmpGroup);
-                    _this.data.groups.splice(index, 1);
-                }
-            });
-        });
-    };
-    BasketAdministrationGroupListModalComponent.prototype.validateForm = function (group) {
-        if (this.data.linkedGroups.length == 0) {
-            this.newBasketGroup.result_page = 'list_with_attachments';
-            this.actionAll[0].used_in_action_page = true;
-            this.actionAll[0].default_action_list = true;
-            this.actionAll[0].checked = true;
-            this.newBasketGroup.groupActions = this.actionAll;
-        }
-        else {
-            this.newBasketGroup = JSON.parse(JSON.stringify(this.data.linkedGroups[this.data.linkedGroups.length - 1]));
-        }
-        this.newBasketGroup.group_id = group.group_id;
-        this.dialogRef.close(this.newBasketGroup);
-    };
-    BasketAdministrationGroupListModalComponent = __decorate([
-        core_1.Component({
-            templateUrl: angularGlobals["basket-administration-groupList-modalView"],
-            styles: [".mat-dialog-content{height: 65vh;}"]
-        }),
-        __param(1, core_1.Inject(material_1.MAT_DIALOG_DATA)),
-        __metadata("design:paramtypes", [http_1.HttpClient, Object, material_1.MatDialogRef])
-    ], BasketAdministrationGroupListModalComponent);
-    return BasketAdministrationGroupListModalComponent;
-}());
-exports.BasketAdministrationGroupListModalComponent = BasketAdministrationGroupListModalComponent;
diff --git a/apps/maarch_entreprise/js/angular/app/administration/baskets-administration.component.js b/apps/maarch_entreprise/js/angular/app/administration/baskets-administration.component.js
deleted file mode 100644
index d39f00e876e..00000000000
--- a/apps/maarch_entreprise/js/angular/app/administration/baskets-administration.component.js
+++ /dev/null
@@ -1,122 +0,0 @@
-"use strict";
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
-var __metadata = (this && this.__metadata) || function (k, v) {
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var core_1 = require("@angular/core");
-var layout_1 = require("@angular/cdk/layout");
-var http_1 = require("@angular/common/http");
-var translate_component_1 = require("../translate.component");
-var notification_service_1 = require("../notification.service");
-var material_1 = require("@angular/material");
-var BasketsAdministrationComponent = /** @class */ (function () {
-    function BasketsAdministrationComponent(changeDetectorRef, media, http, notify) {
-        this.http = http;
-        this.notify = notify;
-        this.lang = translate_component_1.LANG;
-        this.baskets = [];
-        this.basketsOrder = [];
-        this.loading = false;
-        this.displayedColumns = ['basket_id', 'basket_name', 'basket_desc', 'actions'];
-        $j("link[href='merged_css.php']").remove();
-        this.mobileQuery = media.matchMedia('(max-width: 768px)');
-        this._mobileQueryListener = function () { return changeDetectorRef.detectChanges(); };
-        this.mobileQuery.addListener(this._mobileQueryListener);
-    }
-    BasketsAdministrationComponent.prototype.applyFilter = function (filterValue) {
-        filterValue = filterValue.trim(); // Remove whitespace
-        filterValue = filterValue.toLowerCase(); // MatTableDataSource defaults to lowercase matches
-        this.dataSource.filter = filterValue;
-    };
-    BasketsAdministrationComponent.prototype.ngOnDestroy = function () {
-        this.mobileQuery.removeListener(this._mobileQueryListener);
-    };
-    BasketsAdministrationComponent.prototype.updateBreadcrumb = function (applicationName) {
-        if ($j('#ariane')[0]) {
-            $j('#ariane')[0].innerHTML = "<a href='index.php?reinit=true'>" + applicationName + "</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>Administration</a> > Bannettes";
-        }
-    };
-    BasketsAdministrationComponent.prototype.ngOnInit = function () {
-        var _this = this;
-        this.updateBreadcrumb(angularGlobals.applicationName);
-        this.coreUrl = angularGlobals.coreUrl;
-        this.loading = true;
-        this.http.get(this.coreUrl + "rest/baskets")
-            .subscribe(function (data) {
-            _this.baskets = data['baskets'];
-            _this.loading = false;
-            setTimeout(function () {
-                _this.http.get(_this.coreUrl + "rest/sortedBaskets")
-                    .subscribe(function (data) {
-                    _this.basketsOrder = data['baskets'];
-                }, function () {
-                    location.href = "index.php";
-                });
-                _this.dataSource = new material_1.MatTableDataSource(_this.baskets);
-                _this.dataSource.paginator = _this.paginator;
-                _this.dataSource.sort = _this.sort;
-            }, 0);
-        }, function () {
-            location.href = "index.php";
-        });
-    };
-    BasketsAdministrationComponent.prototype.delete = function (basket) {
-        var _this = this;
-        var r = confirm(this.lang.confirmAction + ' ' + this.lang.delete + ' « ' + basket['basket_name'] + ' »');
-        if (r) {
-            this.http.delete(this.coreUrl + "rest/baskets/" + basket['basket_id'])
-                .subscribe(function (data) {
-                _this.notify.success(_this.lang.basketDeleted);
-                _this.baskets = data['baskets'];
-                _this.dataSource = new material_1.MatTableDataSource(_this.baskets);
-                _this.dataSource.paginator = _this.paginator;
-                _this.dataSource.sort = _this.sort;
-                _this.http.get(_this.coreUrl + "rest/sortedBaskets")
-                    .subscribe(function (data) {
-                    _this.basketsOrder = data['baskets'];
-                }, function () {
-                    location.href = "index.php";
-                });
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-    };
-    BasketsAdministrationComponent.prototype.updateBasketOrder = function (currentBasket) {
-        var _this = this;
-        this.http.put(this.coreUrl + "rest/sortedBaskets/" + currentBasket.basket_id, this.basketsOrder)
-            .subscribe(function (data) {
-            _this.baskets = data['baskets'];
-            _this.notify.success(_this.lang.modificationSaved);
-        }, function (err) {
-            _this.notify.error(err.error.errors);
-        });
-    };
-    __decorate([
-        core_1.ViewChild('snav2'),
-        __metadata("design:type", material_1.MatSidenav)
-    ], BasketsAdministrationComponent.prototype, "sidenav", void 0);
-    __decorate([
-        core_1.ViewChild(material_1.MatPaginator),
-        __metadata("design:type", material_1.MatPaginator)
-    ], BasketsAdministrationComponent.prototype, "paginator", void 0);
-    __decorate([
-        core_1.ViewChild(material_1.MatSort),
-        __metadata("design:type", material_1.MatSort)
-    ], BasketsAdministrationComponent.prototype, "sort", void 0);
-    BasketsAdministrationComponent = __decorate([
-        core_1.Component({
-            templateUrl: angularGlobals["baskets-administrationView"],
-            providers: [notification_service_1.NotificationService]
-        }),
-        __metadata("design:paramtypes", [core_1.ChangeDetectorRef, layout_1.MediaMatcher, http_1.HttpClient, notification_service_1.NotificationService])
-    ], BasketsAdministrationComponent);
-    return BasketsAdministrationComponent;
-}());
-exports.BasketsAdministrationComponent = BasketsAdministrationComponent;
diff --git a/apps/maarch_entreprise/js/angular/app/administration/baskets-administration.component.ts b/apps/maarch_entreprise/js/angular/app/administration/baskets-administration.component.ts
index 65add83753f..9f6490c0ed8 100644
--- a/apps/maarch_entreprise/js/angular/app/administration/baskets-administration.component.ts
+++ b/apps/maarch_entreprise/js/angular/app/administration/baskets-administration.component.ts
@@ -16,19 +16,22 @@ declare var angularGlobals: any;
     providers: [NotificationService]
 })
 export class BasketsAdministrationComponent implements OnInit {
-    mobileQuery: MediaQueryList;
-    private _mobileQueryListener: () => void;
-    coreUrl: string;
-    lang: any = LANG;
 
-    baskets: any[] = [];
-    basketsOrder: any[] = [];
+    private _mobileQueryListener    : () => void;
+    mobileQuery                     : MediaQueryList;
 
-    loading: boolean = false;
-    @ViewChild('snav2') sidenav: MatSidenav;
+    coreUrl                         : string;
+    lang                            : any       = LANG;
+    loading                         : boolean   = false;
+
+    baskets                         : any[]     = [];
+    basketsOrder                    : any[]     = [];
+
+    displayedColumns    = ['basket_id', 'basket_name', 'basket_desc', 'actions'];
+    dataSource          : any;
 
-    displayedColumns = ['basket_id', 'basket_name', 'basket_desc', 'actions'];
-    dataSource: any;
+
+    @ViewChild('snav2') sidenav: MatSidenav;
     @ViewChild(MatPaginator) paginator: MatPaginator;
     @ViewChild(MatSort) sort: MatSort;
     applyFilter(filterValue: string) {
@@ -48,16 +51,8 @@ export class BasketsAdministrationComponent implements OnInit {
         this.mobileQuery.removeListener(this._mobileQueryListener);
     }
 
-    updateBreadcrumb(applicationName: string) {
-        if ($j('#ariane')[0]) {
-            $j('#ariane')[0].innerHTML = "<a href='index.php?reinit=true'>" + applicationName + "</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>Administration</a> > Bannettes";
-        }
-    }
-
     ngOnInit(): void {
-        this.updateBreadcrumb(angularGlobals.applicationName);
         this.coreUrl = angularGlobals.coreUrl;
-
         this.loading = true;
 
         this.http.get(this.coreUrl + "rest/baskets")
diff --git a/apps/maarch_entreprise/js/angular/app/administration/diffusionModel-administration.component.js b/apps/maarch_entreprise/js/angular/app/administration/diffusionModel-administration.component.js
deleted file mode 100644
index 3531b9cc68b..00000000000
--- a/apps/maarch_entreprise/js/angular/app/administration/diffusionModel-administration.component.js
+++ /dev/null
@@ -1,266 +0,0 @@
-"use strict";
-var __extends = (this && this.__extends) || (function () {
-    var extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
-    return function (d, b) {
-        extendStatics(d, b);
-        function __() { this.constructor = d; }
-        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-    };
-})();
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
-var __metadata = (this && this.__metadata) || function (k, v) {
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var core_1 = require("@angular/core");
-var layout_1 = require("@angular/cdk/layout");
-var http_1 = require("@angular/common/http");
-var router_1 = require("@angular/router");
-var translate_component_1 = require("../translate.component");
-var notification_service_1 = require("../notification.service");
-var material_1 = require("@angular/material");
-var autocomplete_plugin_1 = require("../../plugins/autocomplete.plugin");
-var DiffusionModelAdministrationComponent = /** @class */ (function (_super) {
-    __extends(DiffusionModelAdministrationComponent, _super);
-    function DiffusionModelAdministrationComponent(changeDetectorRef, media, http, route, router, notify) {
-        var _this = _super.call(this, http, ['users']) || this;
-        _this.http = http;
-        _this.route = route;
-        _this.router = router;
-        _this.notify = notify;
-        _this.lang = translate_component_1.LANG;
-        _this.diffusionModel = {};
-        _this.loading = false;
-        _this.itemTypeList = [];
-        _this.displayedColumns = ['firstname', 'lastname'];
-        $j("link[href='merged_css.php']").remove();
-        _this.mobileQuery = media.matchMedia('(max-width: 768px)');
-        _this._mobileQueryListener = function () { return changeDetectorRef.detectChanges(); };
-        _this.mobileQuery.addListener(_this._mobileQueryListener);
-        return _this;
-    }
-    DiffusionModelAdministrationComponent.prototype.applyFilter = function (filterValue) {
-        filterValue = filterValue.trim(); // Remove whitespace
-        filterValue = filterValue.toLowerCase(); // MatTableDataSource defaults to lowercase matches
-        this.dataSource.filter = filterValue;
-    };
-    DiffusionModelAdministrationComponent.prototype.ngOnDestroy = function () {
-        this.mobileQuery.removeListener(this._mobileQueryListener);
-    };
-    DiffusionModelAdministrationComponent.prototype.updateBreadcrumb = function (applicationName) {
-        var breadCrumb = "<a href='index.php?reinit=true'>" + applicationName + "</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>" + this.lang.administration + "</a> > <a onclick='location.hash = \"/administration/groups\"' style='cursor: pointer'>" + this.lang.groups + "</a> > ";
-        if (this.creationMode == true) {
-            breadCrumb += this.lang.groupCreation;
-        }
-        else {
-            breadCrumb += this.lang.groupModification;
-        }
-        $j('#ariane')[0].innerHTML = breadCrumb;
-    };
-    DiffusionModelAdministrationComponent.prototype.ngOnInit = function () {
-        var _this = this;
-        this.coreUrl = angularGlobals.coreUrl;
-        this.loading = true;
-        this.route.params.subscribe(function (params) {
-            if (typeof params['id'] == "undefined") {
-                _this.creationMode = true;
-                _this.loading = false;
-                _this.updateBreadcrumb(angularGlobals.applicationName);
-                _this.itemTypeList = [{ "id": "VISA_CIRCUIT", "label": _this.lang.visa }, { "id": "AVIS_CIRCUIT", "label": _this.lang.avis }];
-            }
-            else {
-                _this.creationMode = false;
-                _this.http.get(_this.coreUrl + "rest/listTemplates/" + params['id'])
-                    .subscribe(function (data) {
-                    _this.updateBreadcrumb(angularGlobals.applicationName);
-                    _this.diffusionModel = data['listTemplate'];
-                    if (_this.diffusionModel.diffusionList[0]) {
-                        _this.idCircuit = _this.diffusionModel.diffusionList[0].id;
-                    }
-                    _this.loading = false;
-                    setTimeout(function () {
-                        _this.dataSource = new material_1.MatTableDataSource(_this.diffusionModel);
-                        _this.dataSource.paginator = _this.paginator;
-                        _this.dataSource.sort = _this.sort;
-                    }, 0);
-                }, function () {
-                    location.href = "index.php";
-                });
-            }
-        });
-    };
-    DiffusionModelAdministrationComponent.prototype.addElemListModel = function (element) {
-        var _this = this;
-        var newDiffList = {
-            "object_id": this.diffusionModel.entity_id,
-            "object_type": this.diffusionModel.object_type,
-            "title": this.diffusionModel.title,
-            "description": this.diffusionModel.description,
-            "items": Array()
-        };
-        if (this.diffusionModel.object_type == 'VISA_CIRCUIT') {
-            var itemMode = 'sign';
-        }
-        else {
-            var itemMode = 'avis';
-        }
-        var newElemListModel = {
-            "id": '',
-            "item_type": 'user_id',
-            "item_mode": itemMode,
-            "item_id": element.id,
-            "sequence": this.diffusionModel.diffusionList.length,
-            "idToDisplay": element.idToDisplay,
-            "descriptionToDisplay": element.otherInfo
-        };
-        this.diffusionModel.diffusionList.forEach(function (listModel, i) {
-            listModel.sequence = i;
-            if (_this.diffusionModel.object_type == 'VISA_CIRCUIT') {
-                listModel.item_mode = "visa";
-            }
-            else {
-                listModel.item_mode = "avis";
-            }
-            newDiffList.items.push({
-                "id": listModel.id,
-                "item_id": listModel.item_id,
-                "item_type": "user_id",
-                "item_mode": listModel.item_mode,
-                "sequence": listModel.sequence
-            });
-        });
-        newDiffList.items.push(newElemListModel);
-        if (this.diffusionModel.diffusionList.length > 0) {
-            this.http.put(this.coreUrl + "rest/listTemplates/" + this.idCircuit, newDiffList)
-                .subscribe(function (data) {
-                _this.idCircuit = data.id;
-                _this.diffusionModel.diffusionList.push(newElemListModel);
-                _this.notify.success(_this.lang.diffusionModelUpdated);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-        else {
-            this.http.post(this.coreUrl + "rest/listTemplates", newDiffList)
-                .subscribe(function (data) {
-                _this.idCircuit = data.id;
-                _this.diffusionModel.diffusionList.push(newElemListModel);
-                _this.notify.success(_this.lang.diffusionModelUpdated);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-        this.userCtrl.setValue('');
-    };
-    DiffusionModelAdministrationComponent.prototype.updateDiffList = function () {
-        var _this = this;
-        var newDiffList = {
-            "object_id": this.diffusionModel.entity_id,
-            "object_type": this.diffusionModel.object_type,
-            "title": this.diffusionModel.title,
-            "description": this.diffusionModel.description,
-            "items": Array()
-        };
-        this.diffusionModel.diffusionList.forEach(function (listModel, i) {
-            listModel.sequence = i;
-            if (_this.diffusionModel.object_type == 'VISA_CIRCUIT') {
-                if (i == (_this.diffusionModel.diffusionList.length - 1)) {
-                    listModel.item_mode = "sign";
-                }
-                else {
-                    listModel.item_mode = "visa";
-                }
-            }
-            else {
-                listModel.item_mode = "avis";
-            }
-            newDiffList.items.push({
-                "id": listModel.id,
-                "item_id": listModel.item_id,
-                "item_type": "user_id",
-                "item_mode": listModel.item_mode,
-                "sequence": listModel.sequence
-            });
-        });
-        this.http.put(this.coreUrl + "rest/listTemplates/" + this.idCircuit, newDiffList)
-            .subscribe(function (data) {
-            _this.idCircuit = data.id;
-            _this.notify.success(_this.lang.diffusionModelUpdated);
-        }, function (err) {
-            _this.notify.error(err.error.errors);
-        });
-    };
-    DiffusionModelAdministrationComponent.prototype.removeDiffList = function (template, i) {
-        var _this = this;
-        this.diffusionModel.diffusionList.splice(i, 1);
-        if (this.diffusionModel.diffusionList.length > 0) {
-            var newDiffList = {
-                "object_id": this.diffusionModel.entity_id,
-                "object_type": this.diffusionModel.object_type,
-                "title": this.diffusionModel.title,
-                "description": this.diffusionModel.description,
-                "items": Array()
-            };
-            this.diffusionModel.diffusionList.forEach(function (listModel, i) {
-                listModel.sequence = i;
-                if (_this.diffusionModel.object_type == 'VISA_CIRCUIT') {
-                    if (i == (_this.diffusionModel.diffusionList.length - 1)) {
-                        listModel.item_mode = "sign";
-                    }
-                    else {
-                        listModel.item_mode = "visa";
-                    }
-                }
-                else {
-                    listModel.item_mode = "avis";
-                }
-                newDiffList.items.push({
-                    "item_id": listModel.item_id,
-                    "item_type": "user_id",
-                    "item_mode": listModel.item_mode,
-                    "sequence": listModel.sequence
-                });
-            });
-            this.http.put(this.coreUrl + "rest/listTemplates/" + this.idCircuit, newDiffList)
-                .subscribe(function (data) {
-                _this.idCircuit = data.id;
-                _this.notify.success(_this.lang.diffusionModelUpdated);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-        else {
-            this.http.delete(this.coreUrl + "rest/listTemplates/" + this.idCircuit)
-                .subscribe(function (data) {
-                _this.idCircuit = null;
-                _this.notify.success(_this.lang.diffusionModelUpdated);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-    };
-    __decorate([
-        core_1.ViewChild(material_1.MatPaginator),
-        __metadata("design:type", material_1.MatPaginator)
-    ], DiffusionModelAdministrationComponent.prototype, "paginator", void 0);
-    __decorate([
-        core_1.ViewChild(material_1.MatSort),
-        __metadata("design:type", material_1.MatSort)
-    ], DiffusionModelAdministrationComponent.prototype, "sort", void 0);
-    DiffusionModelAdministrationComponent = __decorate([
-        core_1.Component({
-            templateUrl: angularGlobals["diffusionModel-administrationView"],
-            providers: [notification_service_1.NotificationService]
-        }),
-        __metadata("design:paramtypes", [core_1.ChangeDetectorRef, layout_1.MediaMatcher, http_1.HttpClient, router_1.ActivatedRoute, router_1.Router, notification_service_1.NotificationService])
-    ], DiffusionModelAdministrationComponent);
-    return DiffusionModelAdministrationComponent;
-}(autocomplete_plugin_1.AutoCompletePlugin));
-exports.DiffusionModelAdministrationComponent = DiffusionModelAdministrationComponent;
diff --git a/apps/maarch_entreprise/js/angular/app/administration/diffusionModel-administration.component.ts b/apps/maarch_entreprise/js/angular/app/administration/diffusionModel-administration.component.ts
index c99a800f5e1..cc837b6a597 100644
--- a/apps/maarch_entreprise/js/angular/app/administration/diffusionModel-administration.component.ts
+++ b/apps/maarch_entreprise/js/angular/app/administration/diffusionModel-administration.component.ts
@@ -18,25 +18,29 @@ declare const angularGlobals: any;
     providers: [NotificationService]
 })
 export class DiffusionModelAdministrationComponent extends AutoCompletePlugin implements OnInit {
-    mobileQuery: MediaQueryList;
-    private _mobileQueryListener: () => void;
-    coreUrl: string;
-    lang: any = LANG;
 
-    creationMode: boolean;
+    private _mobileQueryListener    : () => void;
+    mobileQuery                     : MediaQueryList;
+
+    coreUrl                         : string;
+    lang                            : any       = LANG;
+    loading                         : boolean   = false;
+
+    diffusionModel                  : any       = {};
+    idCircuit                       : number;
+    itemTypeList                    : any       = [];
+    creationMode                    : boolean;
+
+
+    displayedColumns    = ['firstname', 'lastname'];
+    dataSource          : any;
 
-    diffusionModel: any = {};
-    loading: boolean = false;
-    idCircuit: number;
 
-    itemTypeList:any = [];
-    displayedColumns = ['firstname', 'lastname'];
-    dataSource: any;
     @ViewChild(MatPaginator) paginator: MatPaginator;
     @ViewChild(MatSort) sort: MatSort;
     applyFilter(filterValue: string) {
-        filterValue = filterValue.trim(); // Remove whitespace
-        filterValue = filterValue.toLowerCase(); // MatTableDataSource defaults to lowercase matches
+        filterValue = filterValue.trim();
+        filterValue = filterValue.toLowerCase();
         this.dataSource.filter = filterValue;
     }
 
@@ -47,20 +51,11 @@ export class DiffusionModelAdministrationComponent extends AutoCompletePlugin im
         this._mobileQueryListener = () => changeDetectorRef.detectChanges();
         this.mobileQuery.addListener(this._mobileQueryListener);
     }
+
     ngOnDestroy(): void {
         this.mobileQuery.removeListener(this._mobileQueryListener);
     }
 
-    updateBreadcrumb(applicationName: string) {
-        var breadCrumb = "<a href='index.php?reinit=true'>" + applicationName + "</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>" + this.lang.administration + "</a> > <a onclick='location.hash = \"/administration/groups\"' style='cursor: pointer'>" + this.lang.groups + "</a> > ";
-        if (this.creationMode == true) {
-            breadCrumb += this.lang.groupCreation;
-        } else {
-            breadCrumb += this.lang.groupModification;
-        }
-        $j('#ariane')[0].innerHTML = breadCrumb;
-    }
-
     ngOnInit(): void {
         this.coreUrl = angularGlobals.coreUrl;
 
@@ -70,13 +65,11 @@ export class DiffusionModelAdministrationComponent extends AutoCompletePlugin im
             if (typeof params['id'] == "undefined") {
                 this.creationMode = true;
                 this.loading = false;
-                this.updateBreadcrumb(angularGlobals.applicationName);
                 this.itemTypeList =[{"id":"VISA_CIRCUIT", "label": this.lang.visa},{"id":"AVIS_CIRCUIT", "label": this.lang.avis}]
             } else {
                 this.creationMode = false;
                 this.http.get(this.coreUrl + "rest/listTemplates/" + params['id'])
                     .subscribe((data: any) => {
-                        this.updateBreadcrumb(angularGlobals.applicationName);
                         this.diffusionModel = data['listTemplate'];
                         if (this.diffusionModel.diffusionList[0]) {
                             this.idCircuit = this.diffusionModel.diffusionList[0].id;
@@ -102,7 +95,7 @@ export class DiffusionModelAdministrationComponent extends AutoCompletePlugin im
             "title": this.diffusionModel.title,
             "description": this.diffusionModel.description,
             "items": Array()
-        }
+        };
         
         if (this.diffusionModel.object_type == 'VISA_CIRCUIT') {
             var itemMode = 'sign';
@@ -167,7 +160,7 @@ export class DiffusionModelAdministrationComponent extends AutoCompletePlugin im
             "title": this.diffusionModel.title,
             "description": this.diffusionModel.description,
             "items": Array()
-        }
+        };
         this.diffusionModel.diffusionList.forEach((listModel: any, i: number) => {
             listModel.sequence = i;
 
@@ -208,7 +201,7 @@ export class DiffusionModelAdministrationComponent extends AutoCompletePlugin im
                 "title": this.diffusionModel.title,
                 "description": this.diffusionModel.description,
                 "items": Array()
-            }
+            };
 
             this.diffusionModel.diffusionList.forEach((listModel: any, i: number) => {
                 listModel.sequence = i;
@@ -238,7 +231,7 @@ export class DiffusionModelAdministrationComponent extends AutoCompletePlugin im
                 });
         } else {
             this.http.delete(this.coreUrl + "rest/listTemplates/" + this.idCircuit)
-                .subscribe((data: any) => {
+                .subscribe(() => {
                     this.idCircuit = null;
                     this.notify.success(this.lang.diffusionModelUpdated);
                 }, (err) => {
diff --git a/apps/maarch_entreprise/js/angular/app/administration/diffusionModels-administration.component.js b/apps/maarch_entreprise/js/angular/app/administration/diffusionModels-administration.component.js
deleted file mode 100644
index da1a9c4cf72..00000000000
--- a/apps/maarch_entreprise/js/angular/app/administration/diffusionModels-administration.component.js
+++ /dev/null
@@ -1,111 +0,0 @@
-"use strict";
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
-var __metadata = (this && this.__metadata) || function (k, v) {
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var core_1 = require("@angular/core");
-var layout_1 = require("@angular/cdk/layout");
-var http_1 = require("@angular/common/http");
-var translate_component_1 = require("../translate.component");
-var notification_service_1 = require("../notification.service");
-var material_1 = require("@angular/material");
-var DiffusionModelsAdministrationComponent = /** @class */ (function () {
-    function DiffusionModelsAdministrationComponent(changeDetectorRef, media, http, notify, dialog) {
-        this.http = http;
-        this.notify = notify;
-        this.dialog = dialog;
-        this.config = {};
-        this.lang = translate_component_1.LANG;
-        this.listTemplates = [];
-        this.listTemplatesForAssign = [];
-        this.loading = false;
-        this.displayedColumns = ['title', 'description', 'object_type', 'actions'];
-        this.dataSource = new material_1.MatTableDataSource(this.listTemplates);
-        $j("link[href='merged_css.php']").remove();
-        this.mobileQuery = media.matchMedia('(max-width: 768px)');
-        this._mobileQueryListener = function () { return changeDetectorRef.detectChanges(); };
-        this.mobileQuery.addListener(this._mobileQueryListener);
-    }
-    DiffusionModelsAdministrationComponent.prototype.applyFilter = function (filterValue) {
-        filterValue = filterValue.trim(); // Remove whitespace
-        filterValue = filterValue.toLowerCase(); // MatTableDataSource defaults to lowercase matches
-        this.dataSource.filter = filterValue;
-    };
-    DiffusionModelsAdministrationComponent.prototype.ngOnDestroy = function () {
-        this.mobileQuery.removeListener(this._mobileQueryListener);
-    };
-    DiffusionModelsAdministrationComponent.prototype.updateBreadcrumb = function (applicationName) {
-        if ($j('#ariane')[0]) {
-            $j('#ariane')[0].innerHTML = "<a href='index.php?reinit=true'>" + applicationName + "</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>Administration</a> > Groupes";
-        }
-    };
-    DiffusionModelsAdministrationComponent.prototype.ngOnInit = function () {
-        var _this = this;
-        this.updateBreadcrumb(angularGlobals.applicationName);
-        this.coreUrl = angularGlobals.coreUrl;
-        this.loading = true;
-        this.http.get(this.coreUrl + "rest/listTemplates")
-            .subscribe(function (data) {
-            data['listTemplates'].forEach(function (template) {
-                if (template.object_id.indexOf('VISA_CIRCUIT_') != -1 || template.object_id.indexOf('AVIS_CIRCUIT_') != -1) {
-                    _this.listTemplates.push(template);
-                }
-            });
-            _this.loading = false;
-            setTimeout(function () {
-                _this.dataSource = new material_1.MatTableDataSource(_this.listTemplates);
-                _this.dataSource.paginator = _this.paginator;
-                _this.dataSource.sort = _this.sort;
-            }, 0);
-        }, function () {
-            location.href = "index.php";
-        });
-    };
-    DiffusionModelsAdministrationComponent.prototype.delete = function (listTemplate) {
-        var _this = this;
-        var r = confirm(this.lang.confirmAction + ' ' + this.lang.delete + ' « ' + listTemplate.title + ' »');
-        if (r) {
-            this.http.delete(this.coreUrl + "rest/listTemplates/" + listTemplate['id'])
-                .subscribe(function (data) {
-                setTimeout(function () {
-                    var i = 0;
-                    _this.listTemplates.forEach(function (template) {
-                        if (template.id == listTemplate['id']) {
-                            _this.listTemplates.splice(i, 1);
-                        }
-                        i++;
-                    });
-                    _this.dataSource = new material_1.MatTableDataSource(_this.listTemplates);
-                    _this.dataSource.paginator = _this.paginator;
-                    _this.dataSource.sort = _this.sort;
-                }, 0);
-                _this.notify.success(_this.lang.diffusionModelDeleted);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-    };
-    __decorate([
-        core_1.ViewChild(material_1.MatPaginator),
-        __metadata("design:type", material_1.MatPaginator)
-    ], DiffusionModelsAdministrationComponent.prototype, "paginator", void 0);
-    __decorate([
-        core_1.ViewChild(material_1.MatSort),
-        __metadata("design:type", material_1.MatSort)
-    ], DiffusionModelsAdministrationComponent.prototype, "sort", void 0);
-    DiffusionModelsAdministrationComponent = __decorate([
-        core_1.Component({
-            templateUrl: angularGlobals["diffusionModels-administrationView"],
-            providers: [notification_service_1.NotificationService]
-        }),
-        __metadata("design:paramtypes", [core_1.ChangeDetectorRef, layout_1.MediaMatcher, http_1.HttpClient, notification_service_1.NotificationService, material_1.MatDialog])
-    ], DiffusionModelsAdministrationComponent);
-    return DiffusionModelsAdministrationComponent;
-}());
-exports.DiffusionModelsAdministrationComponent = DiffusionModelsAdministrationComponent;
diff --git a/apps/maarch_entreprise/js/angular/app/administration/diffusionModels-administration.component.ts b/apps/maarch_entreprise/js/angular/app/administration/diffusionModels-administration.component.ts
index 7f528279925..dcdc20234fd 100644
--- a/apps/maarch_entreprise/js/angular/app/administration/diffusionModels-administration.component.ts
+++ b/apps/maarch_entreprise/js/angular/app/administration/diffusionModels-administration.component.ts
@@ -1,12 +1,11 @@
-import { ChangeDetectorRef, Component, OnInit, ViewChild, Inject, TemplateRef } from '@angular/core';
+import { ChangeDetectorRef, Component, OnInit, ViewChild } from '@angular/core';
 import { MediaMatcher } from '@angular/cdk/layout';
 import { HttpClient } from '@angular/common/http';
 import { LANG } from '../translate.component';
 import { NotificationService } from '../notification.service';
-import { MatPaginator, MatTableDataSource, MatSort, MatDialog, MatDialogConfig, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material';
+import { MatPaginator, MatTableDataSource, MatSort, MatDialog, MatDialogRef } from '@angular/material';
 
 declare function $j(selector: any): any;
-
 declare var angularGlobals: any;
 
 
@@ -15,25 +14,28 @@ declare var angularGlobals: any;
     providers: [NotificationService]
 })
 export class DiffusionModelsAdministrationComponent implements OnInit {
-    mobileQuery: MediaQueryList;
-    dialogRef: MatDialogRef<any>;
-    private _mobileQueryListener: () => void;
-    config: any = {};
-    coreUrl: string;
-    lang: any = LANG;
 
-    listTemplates: any[] = [];
-    listTemplatesForAssign: any[] = [];
+    private _mobileQueryListener    : () => void;
+    mobileQuery                     : MediaQueryList;
+    dialogRef                       : MatDialogRef<any>;
+
+    coreUrl                         : string;
+    lang                            : any       = LANG;
+    loading                         : boolean   = false;
+
+    config                          : any       = {};
+    listTemplates                   : any[]     = [];
+    listTemplatesForAssign          : any[]     = [];
+
+    displayedColumns    = ['title', 'description', 'object_type', 'actions'];
+    dataSource          = new MatTableDataSource(this.listTemplates);
 
-    loading: boolean = false;
 
-    displayedColumns = ['title', 'description', 'object_type', 'actions'];
-    dataSource = new MatTableDataSource(this.listTemplates);
     @ViewChild(MatPaginator) paginator: MatPaginator;
     @ViewChild(MatSort) sort: MatSort;
     applyFilter(filterValue: string) {
-        filterValue = filterValue.trim(); // Remove whitespace
-        filterValue = filterValue.toLowerCase(); // MatTableDataSource defaults to lowercase matches
+        filterValue = filterValue.trim();
+        filterValue = filterValue.toLowerCase();
         this.dataSource.filter = filterValue;
     }
 
@@ -48,16 +50,8 @@ export class DiffusionModelsAdministrationComponent implements OnInit {
         this.mobileQuery.removeListener(this._mobileQueryListener);
     }
 
-    updateBreadcrumb(applicationName: string) {
-        if ($j('#ariane')[0]) {
-            $j('#ariane')[0].innerHTML = "<a href='index.php?reinit=true'>" + applicationName + "</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>Administration</a> > Groupes";
-        }
-    }
-
     ngOnInit(): void {
-        this.updateBreadcrumb(angularGlobals.applicationName);
         this.coreUrl = angularGlobals.coreUrl;
-
         this.loading = true;
 
         this.http.get(this.coreUrl + "rest/listTemplates")
@@ -83,7 +77,7 @@ export class DiffusionModelsAdministrationComponent implements OnInit {
 
         if (r) {
             this.http.delete(this.coreUrl + "rest/listTemplates/" + listTemplate['id'])
-                .subscribe((data: any) => {
+                .subscribe(() => {
                     setTimeout(() => {
                         var i = 0;
                         this.listTemplates.forEach((template: any) => {
@@ -103,4 +97,4 @@ export class DiffusionModelsAdministrationComponent implements OnInit {
                 });
         }
     }
-}
\ No newline at end of file
+}
diff --git a/apps/maarch_entreprise/js/angular/app/administration/doctypes-administration.component.js b/apps/maarch_entreprise/js/angular/app/administration/doctypes-administration.component.js
deleted file mode 100644
index 7dd678a2d20..00000000000
--- a/apps/maarch_entreprise/js/angular/app/administration/doctypes-administration.component.js
+++ /dev/null
@@ -1,391 +0,0 @@
-"use strict";
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
-var __metadata = (this && this.__metadata) || function (k, v) {
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
-var __param = (this && this.__param) || function (paramIndex, decorator) {
-    return function (target, key) { decorator(target, key, paramIndex); }
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var core_1 = require("@angular/core");
-var layout_1 = require("@angular/cdk/layout");
-var http_1 = require("@angular/common/http");
-var translate_component_1 = require("../translate.component");
-var notification_service_1 = require("../notification.service");
-var material_1 = require("@angular/material");
-var DoctypesAdministrationComponent = /** @class */ (function () {
-    function DoctypesAdministrationComponent(changeDetectorRef, media, http, notify, dialog) {
-        this.http = http;
-        this.notify = notify;
-        this.dialog = dialog;
-        this.config = {};
-        this.lang = translate_component_1.LANG;
-        this.doctypes = [];
-        this.currentType = false;
-        this.currentSecondLevel = false;
-        this.currentFirstLevel = false;
-        this.firstLevels = false;
-        this.folderTypes = false;
-        this.types = false;
-        this.secondLevels = false;
-        this.processModes = false;
-        this.models = false;
-        this.loading = false;
-        this.creationMode = false;
-        this.newSecondLevel = false;
-        this.displayedColumns = ['label', 'use', 'mandatory', 'column'];
-        this.dataSource = new material_1.MatTableDataSource(this.currentType.indexes);
-        $j("link[href='merged_css.php']").remove();
-        this.mobileQuery = media.matchMedia('(max-width: 768px)');
-        this._mobileQueryListener = function () { return changeDetectorRef.detectChanges(); };
-        this.mobileQuery.addListener(this._mobileQueryListener);
-    }
-    DoctypesAdministrationComponent.prototype.updateBreadcrumb = function (applicationName) {
-        if ($j('#ariane')[0]) {
-            $j('#ariane')[0].innerHTML = "<a href='index.php?reinit=true'>" + applicationName + "</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>Administration</a> > Typologie documentaire";
-        }
-    };
-    DoctypesAdministrationComponent.prototype.ngOnDestroy = function () {
-        this.mobileQuery.removeListener(this._mobileQueryListener);
-    };
-    DoctypesAdministrationComponent.prototype.ngOnInit = function () {
-        var _this = this;
-        this.updateBreadcrumb(angularGlobals.applicationName);
-        this.coreUrl = angularGlobals.coreUrl;
-        this.loading = true;
-        this.http.get(this.coreUrl + "rest/doctypes")
-            .subscribe(function (data) {
-            _this.doctypes = data['structure'];
-            setTimeout(function () {
-                $j('#jstree').jstree({
-                    "checkbox": {
-                        "three_state": false //no cascade selection
-                    },
-                    'core': {
-                        'themes': {
-                            'name': 'proton',
-                            'responsive': true
-                        },
-                        'data': _this.doctypes,
-                        "check_callback": true
-                    },
-                    "plugins": ["search", "dnd", "contextmenu"],
-                });
-                var to = false;
-                $j('#jstree_search').keyup(function () {
-                    if (to) {
-                        clearTimeout(to);
-                    }
-                    to = setTimeout(function () {
-                        var v = $j('#jstree_search').val();
-                        $j('#jstree').jstree(true).search(v);
-                    }, 250);
-                });
-                $j('#jstree')
-                    .on('select_node.jstree', function (e, data) {
-                    _this.loadDoctype(data, false);
-                }).on('move_node.jstree', function (e, data) {
-                    _this.loadDoctype(data, true);
-                })
-                    .jstree();
-            }, 0);
-            $j('#jstree').jstree('select_node', _this.doctypes[0]);
-            _this.loading = false;
-        }, function () {
-            location.href = "index.php";
-        });
-    };
-    DoctypesAdministrationComponent.prototype.loadDoctype = function (data, move) {
-        var _this = this;
-        this.creationMode = false;
-        // Doctype
-        if (data.node.original.type_id) {
-            this.currentFirstLevel = false;
-            this.currentSecondLevel = false;
-            this.http.get(this.coreUrl + "rest/doctypes/types/" + data.node.original.type_id)
-                .subscribe(function (dataValue) {
-                _this.currentType = dataValue['doctype'];
-                _this.secondLevels = dataValue['secondLevel'];
-                _this.processModes = dataValue['processModes'];
-                _this.models = dataValue['models'];
-                _this.loadIndexesTable();
-                if (move) {
-                    if (_this.currentType) {
-                        _this.newSecondLevel = data.parent.replace("secondlevel_", "");
-                        // Is integer
-                        if (!isNaN(parseFloat(_this.newSecondLevel)) && isFinite(_this.newSecondLevel)) {
-                            if (_this.currentType.doctypes_second_level_id != _this.newSecondLevel) {
-                                _this.currentType.doctypes_second_level_id = _this.newSecondLevel;
-                                _this.saveType();
-                            }
-                        }
-                        else {
-                            alert(_this.lang.cantMoveDoctype);
-                        }
-                    }
-                    else {
-                        alert(_this.lang.noDoctypeSelected);
-                    }
-                }
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-            // Second level
-        }
-        else if (data.node.original.doctypes_second_level_id) {
-            this.currentFirstLevel = false;
-            this.currentType = false;
-            this.http.get(this.coreUrl + "rest/doctypes/secondLevel/" + data.node.original.doctypes_second_level_id)
-                .subscribe(function (data) {
-                _this.currentSecondLevel = data['secondLevel'];
-                _this.firstLevels = data['firstLevel'];
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-            // First level
-        }
-        else {
-            this.currentSecondLevel = false;
-            this.currentType = false;
-            this.http.get(this.coreUrl + "rest/doctypes/firstLevel/" + data.node.original.doctypes_first_level_id)
-                .subscribe(function (data) {
-                _this.currentFirstLevel = data['firstLevel'];
-                _this.folderTypes = data['folderTypes'];
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-    };
-    DoctypesAdministrationComponent.prototype.loadIndexesTable = function () {
-        this.dataSource = new material_1.MatTableDataSource(this.currentType.indexes);
-        this.dataSource.paginator = this.paginator;
-        this.dataSource.sort = this.sort;
-    };
-    DoctypesAdministrationComponent.prototype.resetDatas = function () {
-        this.currentFirstLevel = false;
-        this.currentSecondLevel = false;
-        this.currentType = false;
-    };
-    DoctypesAdministrationComponent.prototype.refreshTree = function () {
-        $j('#jstree').jstree(true).settings.core.data = this.doctypes;
-        $j('#jstree').jstree("refresh");
-    };
-    DoctypesAdministrationComponent.prototype.saveFirstLevel = function () {
-        var _this = this;
-        if (this.creationMode) {
-            this.http.post(this.coreUrl + "rest/doctypes/firstLevel", this.currentFirstLevel)
-                .subscribe(function (data) {
-                _this.resetDatas();
-                _this.readMode();
-                _this.doctypes = data['doctypeTree'];
-                _this.refreshTree();
-                _this.notify.success(_this.lang.firstLevelAdded);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-        else {
-            this.http.put(this.coreUrl + "rest/doctypes/firstLevel/" + this.currentFirstLevel.doctypes_first_level_id, this.currentFirstLevel)
-                .subscribe(function (data) {
-                _this.doctypes = data['doctypeTree'];
-                _this.refreshTree();
-                _this.notify.success(_this.lang.firstLevelUpdated);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-    };
-    DoctypesAdministrationComponent.prototype.saveSecondLevel = function () {
-        var _this = this;
-        if (this.creationMode) {
-            this.http.post(this.coreUrl + "rest/doctypes/secondLevel", this.currentSecondLevel)
-                .subscribe(function (data) {
-                _this.resetDatas();
-                _this.readMode();
-                _this.doctypes = data['doctypeTree'];
-                _this.refreshTree();
-                _this.notify.success(_this.lang.secondLevelAdded);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-        else {
-            this.http.put(this.coreUrl + "rest/doctypes/secondLevel/" + this.currentSecondLevel.doctypes_second_level_id, this.currentSecondLevel)
-                .subscribe(function (data) {
-                _this.doctypes = data['doctypeTree'];
-                _this.refreshTree();
-                _this.notify.success(_this.lang.secondLevelUpdated);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-    };
-    DoctypesAdministrationComponent.prototype.saveType = function () {
-        var _this = this;
-        if (this.creationMode) {
-            this.http.post(this.coreUrl + "rest/doctypes/types", this.currentType)
-                .subscribe(function (data) {
-                _this.resetDatas();
-                _this.readMode();
-                _this.doctypes = data['doctypeTree'];
-                _this.refreshTree();
-                _this.notify.success(_this.lang.documentTypeAdded);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-        else {
-            this.http.put(this.coreUrl + "rest/doctypes/types/" + this.currentType.type_id, this.currentType)
-                .subscribe(function (data) {
-                _this.doctypes = data['doctypeTree'];
-                _this.refreshTree();
-                _this.notify.success(_this.lang.documentTypeUpdated);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-    };
-    DoctypesAdministrationComponent.prototype.readMode = function () {
-        this.creationMode = false;
-        $j('#jstree').jstree('deselect_all');
-        $j('#jstree').jstree('select_node', this.doctypes[0]);
-    };
-    DoctypesAdministrationComponent.prototype.removeFirstLevel = function () {
-        var _this = this;
-        var r = confirm(this.lang.confirmAction + ' ' + this.lang.delete + ' « ' + this.currentFirstLevel.doctypes_first_level_label + ' »');
-        if (r) {
-            this.http.delete(this.coreUrl + "rest/doctypes/firstLevel/" + this.currentFirstLevel.doctypes_first_level_id)
-                .subscribe(function (data) {
-                _this.resetDatas();
-                _this.readMode();
-                _this.doctypes = data['doctypeTree'];
-                _this.refreshTree();
-                $j('#jstree').jstree('select_node', _this.doctypes[0]);
-                _this.notify.success(_this.lang.firstLevelDeleted);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-    };
-    DoctypesAdministrationComponent.prototype.removeSecondLevel = function () {
-        var _this = this;
-        var r = confirm(this.lang.confirmAction + ' ' + this.lang.delete + ' « ' + this.currentSecondLevel.doctypes_second_level_label + ' »');
-        if (r) {
-            this.http.delete(this.coreUrl + "rest/doctypes/secondLevel/" + this.currentSecondLevel.doctypes_second_level_id)
-                .subscribe(function (data) {
-                _this.resetDatas();
-                _this.readMode();
-                _this.doctypes = data['doctypeTree'];
-                _this.refreshTree();
-                $j('#jstree').jstree('select_node', _this.doctypes[0]);
-                _this.notify.success(_this.lang.secondLevelDeleted);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-    };
-    DoctypesAdministrationComponent.prototype.removeType = function () {
-        var _this = this;
-        var r = confirm(this.lang.confirmAction + ' ' + this.lang.delete + ' « ' + this.currentType.description + ' »');
-        if (r) {
-            this.http.delete(this.coreUrl + "rest/doctypes/types/" + this.currentType.type_id)
-                .subscribe(function (data) {
-                if (data.deleted == 0) {
-                    _this.resetDatas();
-                    _this.readMode();
-                    _this.doctypes = data['doctypeTree'];
-                    _this.refreshTree();
-                    $j('#jstree').jstree('select_node', _this.doctypes[0]);
-                    _this.notify.success(_this.lang.documentTypeDeleted);
-                }
-                else {
-                    _this.config = { data: { count: data.deleted, types: data.doctypes } };
-                    _this.dialogRef = _this.dialog.open(DoctypesAdministrationRedirectModalComponent, _this.config);
-                    _this.dialogRef.afterClosed().subscribe(function (result) {
-                        if (result) {
-                            _this.http.put(_this.coreUrl + "rest/doctypes/types/" + _this.currentType.type_id + "/redirect", result)
-                                .subscribe(function (data) {
-                                _this.resetDatas();
-                                _this.readMode();
-                                _this.doctypes = data['doctypeTree'];
-                                _this.refreshTree();
-                                $j('#jstree').jstree('select_node', _this.doctypes[0]);
-                                _this.notify.success(_this.lang.documentTypeDeleted);
-                            }, function (err) {
-                                _this.notify.error(err.error.errors);
-                            });
-                        }
-                        _this.dialogRef = null;
-                    });
-                }
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-    };
-    DoctypesAdministrationComponent.prototype.prepareDoctypeAdd = function () {
-        var _this = this;
-        this.currentFirstLevel = {};
-        this.currentSecondLevel = {};
-        this.currentType = {};
-        $j('#jstree').jstree('deselect_all');
-        this.http.get(this.coreUrl + "rest/administration/doctypes/new")
-            .subscribe(function (data) {
-            _this.folderTypes = data['folderTypes'];
-            _this.firstLevels = data['firstLevel'];
-            _this.secondLevels = data['secondLevel'];
-            _this.processModes = data['processModes'];
-            _this.models = data['models'];
-            _this.currentType.indexes = data['indexes'];
-            _this.loadIndexesTable();
-        }, function (err) {
-            _this.notify.error(err.error.errors);
-        });
-        this.creationMode = true;
-    };
-    DoctypesAdministrationComponent.prototype.selectIndexesUse = function (e, index) {
-        this.currentType.indexes[index].use = e.checked;
-    };
-    DoctypesAdministrationComponent.prototype.selectIndexesMandatory = function (e, index) {
-        this.currentType.indexes[index].mandatory = e.checked;
-    };
-    __decorate([
-        core_1.ViewChild(material_1.MatPaginator),
-        __metadata("design:type", material_1.MatPaginator)
-    ], DoctypesAdministrationComponent.prototype, "paginator", void 0);
-    __decorate([
-        core_1.ViewChild(material_1.MatSort),
-        __metadata("design:type", material_1.MatSort)
-    ], DoctypesAdministrationComponent.prototype, "sort", void 0);
-    DoctypesAdministrationComponent = __decorate([
-        core_1.Component({
-            templateUrl: angularGlobals["doctypes-administrationView"],
-            providers: [notification_service_1.NotificationService]
-        }),
-        __metadata("design:paramtypes", [core_1.ChangeDetectorRef, layout_1.MediaMatcher, http_1.HttpClient, notification_service_1.NotificationService, material_1.MatDialog])
-    ], DoctypesAdministrationComponent);
-    return DoctypesAdministrationComponent;
-}());
-exports.DoctypesAdministrationComponent = DoctypesAdministrationComponent;
-var DoctypesAdministrationRedirectModalComponent = /** @class */ (function () {
-    function DoctypesAdministrationRedirectModalComponent(http, data, dialogRef) {
-        this.http = http;
-        this.data = data;
-        this.dialogRef = dialogRef;
-        this.lang = translate_component_1.LANG;
-    }
-    DoctypesAdministrationRedirectModalComponent = __decorate([
-        core_1.Component({
-            templateUrl: angularGlobals["doctypes-administration-redirect-modalView"],
-        }),
-        __param(1, core_1.Inject(material_1.MAT_DIALOG_DATA)),
-        __metadata("design:paramtypes", [http_1.HttpClient, Object, material_1.MatDialogRef])
-    ], DoctypesAdministrationRedirectModalComponent);
-    return DoctypesAdministrationRedirectModalComponent;
-}());
-exports.DoctypesAdministrationRedirectModalComponent = DoctypesAdministrationRedirectModalComponent;
diff --git a/apps/maarch_entreprise/js/angular/app/administration/entities-administration.component.js b/apps/maarch_entreprise/js/angular/app/administration/entities-administration.component.js
deleted file mode 100644
index 7d002eac227..00000000000
--- a/apps/maarch_entreprise/js/angular/app/administration/entities-administration.component.js
+++ /dev/null
@@ -1,649 +0,0 @@
-"use strict";
-var __extends = (this && this.__extends) || (function () {
-    var extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
-    return function (d, b) {
-        extendStatics(d, b);
-        function __() { this.constructor = d; }
-        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-    };
-})();
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
-var __metadata = (this && this.__metadata) || function (k, v) {
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
-var __param = (this && this.__param) || function (paramIndex, decorator) {
-    return function (target, key) { decorator(target, key, paramIndex); }
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var core_1 = require("@angular/core");
-var layout_1 = require("@angular/cdk/layout");
-var http_1 = require("@angular/common/http");
-var translate_component_1 = require("../translate.component");
-var notification_service_1 = require("../notification.service");
-var material_1 = require("@angular/material");
-var autocomplete_plugin_1 = require("../../plugins/autocomplete.plugin");
-var EntitiesAdministrationComponent = /** @class */ (function (_super) {
-    __extends(EntitiesAdministrationComponent, _super);
-    function EntitiesAdministrationComponent(changeDetectorRef, media, http, notify, dialog) {
-        var _this = _super.call(this, http, ['usersAndEntities', 'visaUsers']) || this;
-        _this.http = http;
-        _this.notify = notify;
-        _this.dialog = dialog;
-        _this.lang = translate_component_1.LANG;
-        _this.isDraggable = true;
-        _this.entities = [];
-        _this.currentEntity = {};
-        _this.config = {};
-        _this.loading = false;
-        _this.creationMode = false;
-        _this.displayedColumns = ['firstname', 'lastname'];
-        _this.dataSource = new material_1.MatTableDataSource(_this.currentEntity.users);
-        $j("link[href='merged_css.php']").remove();
-        _this.mobileQuery = media.matchMedia('(max-width: 768px)');
-        _this._mobileQueryListener = function () { return changeDetectorRef.detectChanges(); };
-        _this.mobileQuery.addListener(_this._mobileQueryListener);
-        return _this;
-    }
-    EntitiesAdministrationComponent.prototype.applyFilter = function (filterValue) {
-        filterValue = filterValue.trim(); // Remove whitespace
-        filterValue = filterValue.toLowerCase(); // MatTableDataSource defaults to lowercase matches
-        this.dataSource.filter = filterValue;
-    };
-    EntitiesAdministrationComponent.prototype.updateBreadcrumb = function (applicationName) {
-        if ($j('#ariane')[0]) {
-            $j('#ariane')[0].innerHTML = "<a href='index.php?reinit=true'>" + applicationName + "</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>Administration</a> > Entités";
-        }
-    };
-    EntitiesAdministrationComponent.prototype.ngOnDestroy = function () {
-        this.mobileQuery.removeListener(this._mobileQueryListener);
-    };
-    EntitiesAdministrationComponent.prototype.ngOnInit = function () {
-        var _this = this;
-        this.updateBreadcrumb(angularGlobals.applicationName);
-        this.coreUrl = angularGlobals.coreUrl;
-        this.loading = true;
-        this.http.get(this.coreUrl + "rest/entityTypes")
-            .subscribe(function (data) {
-            _this.entityTypeList = data['types'];
-        }, function (err) {
-            _this.notify.error(err.error.errors);
-        });
-        this.http.get(this.coreUrl + "rest/entities")
-            .subscribe(function (data) {
-            _this.entities = data['entities'];
-            setTimeout(function () {
-                $j('#jstree').jstree({
-                    "checkbox": {
-                        'deselect_all': true,
-                        "three_state": false //no cascade selection
-                    },
-                    'core': {
-                        'themes': {
-                            'name': 'proton',
-                            'responsive': true
-                        },
-                        'multiple': false,
-                        'data': _this.entities,
-                        "check_callback": function (operation, node, node_parent, node_position, more) {
-                            if (operation == 'move_node') {
-                                if (!node_parent.original.allowed) {
-                                    return false;
-                                }
-                                else
-                                    return true;
-                            }
-                        }
-                    },
-                    "dnd": {
-                        is_draggable: function (nodes) {
-                            var i = 0, j = nodes.length;
-                            for (; i < j; i++) {
-                                if (!nodes[i].original.allowed) {
-                                    return false;
-                                }
-                            }
-                            return true;
-                        }
-                    },
-                    "plugins": ["checkbox", "search", "dnd", "sort"]
-                });
-                $j('#jstree').jstree('select_node', _this.entities[0]);
-                var to = false;
-                $j('#jstree_search').keyup(function () {
-                    if (to) {
-                        clearTimeout(to);
-                    }
-                    to = setTimeout(function () {
-                        var v = $j('#jstree_search').val();
-                        $j('#jstree').jstree(true).search(v);
-                    }, 250);
-                });
-                $j('#jstree')
-                    .on('select_node.jstree', function (e, data) {
-                    if (_this.sidenav.opened == false) {
-                        _this.sidenav.open();
-                    }
-                    if (_this.creationMode == true) {
-                        _this.currentEntity.parent_entity_id = data.node.id;
-                    }
-                    else {
-                        _this.loadEntity(data.node.id);
-                    }
-                }).on('deselect_node.jstree', function (e, data) {
-                    _this.sidenav.close();
-                }).on('move_node.jstree', function (e, data) {
-                    if (_this.currentEntity.parent_entity_id != _this.currentEntity.entity_id) {
-                        _this.currentEntity.parent_entity_id = data.parent;
-                    }
-                    _this.moveEntity();
-                })
-                    .jstree();
-                $j(document).on('dnd_start.vakata', function (e, data) {
-                    $j('#jstree').jstree('deselect_all');
-                    $j('#jstree').jstree('select_node', data.data.nodes[0]);
-                });
-            }, 0);
-            _this.loading = false;
-        }, function () {
-            location.href = "index.php";
-        });
-    };
-    EntitiesAdministrationComponent.prototype.loadEntity = function (entity_id) {
-        var _this = this;
-        this.http.get(this.coreUrl + "rest/entities/" + entity_id + '/details')
-            .subscribe(function (data) {
-            _this.currentEntity = data['entity'];
-            if (_this.currentEntity.visaTemplate[0]) {
-                _this.idCircuitVisa = _this.currentEntity.visaTemplate[0].id;
-            }
-            _this.dataSource = new material_1.MatTableDataSource(_this.currentEntity.users);
-            _this.dataSource.paginator = _this.paginator;
-            _this.dataSource.sort = _this.sort;
-        }, function (err) {
-            _this.notify.error(err.error.errors);
-        });
-    };
-    EntitiesAdministrationComponent.prototype.addElemListModel = function (element) {
-        var _this = this;
-        /* create listDiff struct */
-        var newDiffList = {
-            "object_id": this.currentEntity.entity_id,
-            "object_type": "entity_id",
-            "title": this.currentEntity.entity_id,
-            "description": this.currentEntity.entity_id,
-            "items": Array()
-        };
-        var inListModel = false;
-        var newElemListModel = {};
-        this.currentEntity.roles.forEach(function (role) {
-            if (role.available == true) {
-                if (_this.currentEntity.listTemplate[role.id]) {
-                    _this.currentEntity.listTemplate[role.id].forEach(function (listModel) {
-                        /* insert current diff list */
-                        newDiffList.items.push({
-                            "item_type": listModel.item_type,
-                            "item_mode": role.id,
-                            "item_id": listModel.item_id,
-                            "sequence": listModel.sequence
-                        });
-                        if (listModel.item_id == element.id) {
-                            inListModel = true;
-                        }
-                    });
-                }
-            }
-        });
-        if (!inListModel) {
-            if (this.currentEntity.listTemplate.dest.length == 0 && element.type == 'user') {
-                newElemListModel = {
-                    "item_type": "user_id",
-                    "item_id": element.id,
-                    "labelToDisplay": element.idToDisplay,
-                    "descriptionToDisplay": element.otherInfo,
-                    "item_mode": "dest",
-                    "sequence": 0
-                };
-                this.currentEntity.listTemplate.dest.unshift(newElemListModel);
-                newDiffList.items.push({
-                    "item_type": "user_id",
-                    "item_mode": "dest",
-                    "item_id": newElemListModel.item_id,
-                    "sequence": newElemListModel.sequence
-                });
-            }
-            else {
-                var itemType = '';
-                if (element.type == 'user') {
-                    itemType = 'user_id';
-                }
-                else {
-                    itemType = 'entity_id';
-                }
-                newElemListModel = {
-                    "item_type": itemType,
-                    "item_id": element.id,
-                    "labelToDisplay": element.idToDisplay,
-                    "descriptionToDisplay": element.otherInfo,
-                    "item_mode": "cc",
-                    "sequence": 0
-                };
-                this.currentEntity.listTemplate.cc.unshift(newElemListModel);
-                newDiffList.items.push({
-                    "item_type": newElemListModel.item_type,
-                    "item_mode": "cc",
-                    "item_id": newElemListModel.item_id,
-                    "sequence": 0
-                });
-            }
-            if (this.currentEntity.listTemplate.id) {
-                this.http.put(this.coreUrl + "rest/listTemplates/" + this.currentEntity.listTemplate.id, newDiffList)
-                    .subscribe(function (data) {
-                    _this.currentEntity.listTemplate.id = data.id;
-                    _this.notify.success(_this.lang.entityUpdated);
-                }, function (err) {
-                    _this.notify.error(err.error.errors);
-                });
-            }
-            else {
-                this.http.post(this.coreUrl + "rest/listTemplates", newDiffList)
-                    .subscribe(function (data) {
-                    _this.currentEntity.listTemplate.id = data.id;
-                    _this.notify.success(_this.lang.entityUpdated);
-                }, function (err) {
-                    _this.notify.error(err.error.errors);
-                });
-            }
-        }
-        this.elementCtrl.setValue('');
-    };
-    EntitiesAdministrationComponent.prototype.addElemListModelVisa = function (element) {
-        var _this = this;
-        var newDiffList = {
-            "object_id": this.currentEntity.entity_id,
-            "object_type": "VISA_CIRCUIT",
-            "title": this.currentEntity.entity_id,
-            "description": this.currentEntity.entity_id,
-            "items": Array()
-        };
-        var itemMode = '';
-        var newElemListModel = {
-            "id": '',
-            "item_type": 'user_id',
-            "item_mode": "sign",
-            "item_id": element.id,
-            "sequence": this.currentEntity.visaTemplate.length,
-            "idToDisplay": element.idToDisplay,
-            "descriptionToDisplay": element.otherInfo
-        };
-        this.currentEntity.visaTemplate.forEach(function (listModel, i) {
-            listModel.sequence = i;
-            listModel.item_mode = "visa";
-            newDiffList.items.push({
-                "id": listModel.id,
-                "item_id": listModel.item_id,
-                "item_type": "user_id",
-                "item_mode": listModel.item_mode,
-                "sequence": listModel.sequence
-            });
-        });
-        newDiffList.items.push(newElemListModel);
-        if (this.currentEntity.visaTemplate.length > 0) {
-            this.http.put(this.coreUrl + "rest/listTemplates/" + this.idCircuitVisa, newDiffList)
-                .subscribe(function (data) {
-                _this.idCircuitVisa = data.id;
-                _this.currentEntity.visaTemplate.push(newElemListModel);
-                _this.notify.success(_this.lang.entityUpdated);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-        else {
-            this.http.post(this.coreUrl + "rest/listTemplates", newDiffList)
-                .subscribe(function (data) {
-                _this.idCircuitVisa = data.id;
-                _this.currentEntity.visaTemplate.push(newElemListModel);
-                _this.notify.success(_this.lang.entityUpdated);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-        this.userCtrl.setValue('');
-    };
-    EntitiesAdministrationComponent.prototype.saveEntity = function () {
-        var _this = this;
-        if (this.currentEntity.parent_entity_id == '#') {
-            this.currentEntity.parent_entity_id = '';
-        }
-        if (this.creationMode) {
-            this.http.post(this.coreUrl + "rest/entities", this.currentEntity)
-                .subscribe(function (data) {
-                _this.entities = data['entities'];
-                $j('#jstree').jstree(true).settings.core.data = _this.entities;
-                $j('#jstree').jstree("refresh");
-                _this.notify.success(_this.lang.entityAdded);
-                _this.creationMode = false;
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-        else {
-            this.http.put(this.coreUrl + "rest/entities/" + this.currentEntity.entity_id, this.currentEntity)
-                .subscribe(function (data) {
-                _this.entities = data['entities'];
-                $j('#jstree').jstree(true).settings.core.data = _this.entities;
-                $j('#jstree').jstree("refresh");
-                _this.notify.success(_this.lang.entityUpdated);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-    };
-    EntitiesAdministrationComponent.prototype.moveEntity = function () {
-        var _this = this;
-        this.http.put(this.coreUrl + "rest/entities/" + this.currentEntity.entity_id, this.currentEntity)
-            .subscribe(function (data) {
-            _this.notify.success(_this.lang.entityUpdated);
-        }, function (err) {
-            _this.notify.error(err.error.errors);
-        });
-    };
-    EntitiesAdministrationComponent.prototype.readMode = function () {
-        this.creationMode = false;
-        this.isDraggable = true;
-        $j('#jstree').jstree('deselect_all');
-        for (var i = 0; i < this.entities.length; i++) {
-            if (this.entities[i].entity_id == this.currentEntity.parent_entity_id) {
-                $j('#jstree').jstree('select_node', this.entities[i]);
-                break;
-            }
-        }
-    };
-    EntitiesAdministrationComponent.prototype.removeEntity = function () {
-        var _this = this;
-        if (this.currentEntity.documents > 0 || this.currentEntity.redirects > 0 || this.currentEntity.instances > 0 || this.currentEntity.users.length > 0) {
-            this.config = { data: { entity: this.currentEntity } };
-            this.dialogRef = this.dialog.open(EntitiesAdministrationRedirectModalComponent, this.config);
-            this.dialogRef.afterClosed().subscribe(function (result) {
-                console.log(result);
-                if (result) {
-                    _this.http.put(_this.coreUrl + "rest/entities/" + result.entity_id + "/reassign/" + result.redirectEntity, {})
-                        .subscribe(function (data) {
-                        _this.entities = data['entities'];
-                        $j('#jstree').jstree(true).settings.core.data = _this.entities;
-                        $j('#jstree').jstree("refresh");
-                        _this.notify.success(_this.lang.entityDeleted);
-                        for (var i = 0; i < _this.entities.length; i++) {
-                            if (_this.entities[i].allowed == true) {
-                                $j('#jstree').jstree('select_node', _this.entities[i]);
-                                break;
-                            }
-                        }
-                    }, function (err) {
-                        _this.notify.error(err.error.errors);
-                    });
-                }
-                _this.dialogRef = null;
-            });
-        }
-        else {
-            var r = confirm(this.lang.confirmAction + ' ' + this.lang.delete + ' « ' + this.currentEntity.entity_label + ' »');
-            if (r) {
-                this.http.delete(this.coreUrl + "rest/entities/" + this.currentEntity.entity_id)
-                    .subscribe(function (data) {
-                    _this.entities = data['entities'];
-                    $j('#jstree').jstree(true).settings.core.data = _this.entities;
-                    $j('#jstree').jstree("refresh");
-                    _this.notify.success(_this.lang.entityDeleted);
-                    for (var i = 0; i < _this.entities.length; i++) {
-                        if (_this.entities[i].allowed == true) {
-                            $j('#jstree').jstree('select_node', _this.entities[i]);
-                            break;
-                        }
-                    }
-                }, function (err) {
-                    _this.notify.error(err.error.errors);
-                });
-            }
-        }
-    };
-    EntitiesAdministrationComponent.prototype.prepareEntityAdd = function () {
-        this.creationMode = true;
-        this.isDraggable = false;
-        console.log(this.currentEntity.entity_id);
-        if (this.currentEntity.entity_id) {
-            for (var i = 0; i < this.entities.length; i++) {
-                if (this.entities[i].entity_id == this.currentEntity.entity_id) {
-                    this.currentEntity = { "entity_type": this.entityTypeList[0].id };
-                    this.currentEntity.parent_entity_id = this.entities[i].entity_id;
-                    break;
-                }
-            }
-        }
-        else {
-            this.currentEntity = { "entity_type": this.entityTypeList[0].id };
-            $j('#jstree').jstree('deselect_all');
-            for (var i = 0; i < this.entities.length; i++) {
-                if (this.entities[i].allowed == true) {
-                    $j('#jstree').jstree('select_node', this.entities[i]);
-                    break;
-                }
-            }
-        }
-    };
-    EntitiesAdministrationComponent.prototype.updateStatus = function (entity, method) {
-        var _this = this;
-        this.http.put(this.coreUrl + "rest/entities/" + entity['entity_id'] + "/status", { "method": method })
-            .subscribe(function (data) {
-            _this.notify.success("");
-        }, function (err) {
-            _this.notify.error(err.error.errors);
-        });
-    };
-    EntitiesAdministrationComponent.prototype.updateDiffList = function (template, role) {
-        var _this = this;
-        var newDiffList = {
-            "object_id": this.currentEntity.entity_id,
-            "object_type": "entity_id",
-            "title": this.currentEntity.entity_id,
-            "description": this.currentEntity.entity_id,
-            "items": Array()
-        };
-        if (role == 'dest' && this.currentEntity.listTemplate.dest.length > 0) {
-            this.currentEntity.listTemplate.dest.forEach(function (listModel) {
-                if (listModel.item_id != template.item_id) {
-                    _this.currentEntity.listTemplate.cc.push(listModel);
-                }
-            });
-            this.currentEntity.listTemplate.dest = [template];
-        }
-        this.currentEntity.roles.forEach(function (role) {
-            if (role.available == true) {
-                if (_this.currentEntity.listTemplate[role.id]) {
-                    _this.currentEntity.listTemplate[role.id].forEach(function (listModel) {
-                        newDiffList.items.push({
-                            "item_id": listModel.item_id,
-                            "item_type": listModel.item_type,
-                            "item_mode": role.id,
-                            "sequence": listModel.sequence
-                        });
-                    });
-                }
-            }
-        });
-        if (this.currentEntity.listTemplate.id) {
-            this.http.put(this.coreUrl + "rest/listTemplates/" + this.currentEntity.listTemplate.id, newDiffList)
-                .subscribe(function (data) {
-                _this.currentEntity.listTemplate.id = data.id;
-                _this.notify.success(_this.lang.entityUpdated);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-        else {
-            this.http.post(this.coreUrl + "rest/listTemplates", newDiffList)
-                .subscribe(function (data) {
-                _this.currentEntity.listTemplate.id = data.id;
-                _this.notify.success(_this.lang.entityUpdated);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-    };
-    EntitiesAdministrationComponent.prototype.updateDiffListVisa = function (template) {
-        var _this = this;
-        var newDiffList = {
-            "object_id": this.currentEntity.entity_id,
-            "object_type": "VISA_CIRCUIT",
-            "title": this.currentEntity.entity_id,
-            "description": this.currentEntity.entity_id,
-            "items": Array()
-        };
-        this.currentEntity.visaTemplate.forEach(function (listModel, i) {
-            listModel.sequence = i;
-            if (i == (_this.currentEntity.visaTemplate.length - 1)) {
-                listModel.item_mode = "sign";
-            }
-            else {
-                listModel.item_mode = "visa";
-            }
-            newDiffList.items.push({
-                "id": listModel.id,
-                "item_id": listModel.item_id,
-                "item_type": "user_id",
-                "item_mode": listModel.item_mode,
-                "sequence": listModel.sequence
-            });
-        });
-        this.http.put(this.coreUrl + "rest/listTemplates/" + this.idCircuitVisa, newDiffList)
-            .subscribe(function (data) {
-            _this.idCircuitVisa = data.id;
-            _this.notify.success(_this.lang.entityUpdated);
-        }, function (err) {
-            _this.notify.error(err.error.errors);
-        });
-    };
-    EntitiesAdministrationComponent.prototype.removeDiffList = function (i, role) {
-        var _this = this;
-        this.currentEntity.listTemplate[role].splice(i, 1);
-        var newDiffList = {
-            "object_id": this.currentEntity.entity_id,
-            "object_type": "entity_id",
-            "title": this.currentEntity.entity_id,
-            "description": this.currentEntity.entity_id,
-            "items": Array()
-        };
-        this.currentEntity.roles.forEach(function (role) {
-            if (role.available == true) {
-                if (_this.currentEntity.listTemplate[role.id]) {
-                    _this.currentEntity.listTemplate[role.id].forEach(function (listModel) {
-                        newDiffList.items.push({
-                            "item_id": listModel.item_id,
-                            "item_type": listModel.item_type,
-                            "item_mode": role.id,
-                            "sequence": listModel.sequence
-                        });
-                    });
-                }
-            }
-        });
-        this.http.put(this.coreUrl + "rest/listTemplates/" + this.currentEntity.listTemplate.id, newDiffList)
-            .subscribe(function (data) {
-            _this.currentEntity.listTemplate.id = data.id;
-            _this.notify.success(_this.lang.entityUpdated);
-        }, function (err) {
-            _this.notify.error(err.error.errors);
-        });
-    };
-    EntitiesAdministrationComponent.prototype.removeDiffListVisa = function (template, i) {
-        var _this = this;
-        this.currentEntity.visaTemplate.splice(i, 1);
-        if (this.currentEntity.visaTemplate.length > 0) {
-            var newDiffList = {
-                "object_id": this.currentEntity.entity_id,
-                "object_type": "VISA_CIRCUIT",
-                "title": this.currentEntity.entity_id,
-                "description": this.currentEntity.entity_id,
-                "items": Array()
-            };
-            this.currentEntity.visaTemplate.forEach(function (listModel, i) {
-                listModel.sequence = i;
-                if (i == (_this.currentEntity.visaTemplate.length - 1)) {
-                    listModel.item_mode = "sign";
-                }
-                else {
-                    listModel.item_mode = "visa";
-                }
-                newDiffList.items.push({
-                    "item_id": listModel.item_id,
-                    "item_type": "user_id",
-                    "item_mode": listModel.item_mode,
-                    "sequence": listModel.sequence
-                });
-            });
-            this.http.put(this.coreUrl + "rest/listTemplates/" + this.idCircuitVisa, newDiffList)
-                .subscribe(function (data) {
-                _this.idCircuitVisa = data.id;
-                _this.notify.success(_this.lang.entityUpdated);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-        else {
-            this.http.delete(this.coreUrl + "rest/listTemplates/" + this.idCircuitVisa)
-                .subscribe(function (data) {
-                _this.idCircuitVisa = null;
-                _this.notify.success(_this.lang.entityUpdated);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-    };
-    __decorate([
-        core_1.ViewChild('snav2'),
-        __metadata("design:type", material_1.MatSidenav)
-    ], EntitiesAdministrationComponent.prototype, "sidenav", void 0);
-    __decorate([
-        core_1.ViewChild(material_1.MatPaginator),
-        __metadata("design:type", material_1.MatPaginator)
-    ], EntitiesAdministrationComponent.prototype, "paginator", void 0);
-    __decorate([
-        core_1.ViewChild(material_1.MatSort),
-        __metadata("design:type", material_1.MatSort)
-    ], EntitiesAdministrationComponent.prototype, "sort", void 0);
-    EntitiesAdministrationComponent = __decorate([
-        core_1.Component({
-            templateUrl: angularGlobals["entities-administrationView"],
-            providers: [notification_service_1.NotificationService]
-        }),
-        __metadata("design:paramtypes", [core_1.ChangeDetectorRef, layout_1.MediaMatcher, http_1.HttpClient, notification_service_1.NotificationService, material_1.MatDialog])
-    ], EntitiesAdministrationComponent);
-    return EntitiesAdministrationComponent;
-}(autocomplete_plugin_1.AutoCompletePlugin));
-exports.EntitiesAdministrationComponent = EntitiesAdministrationComponent;
-var EntitiesAdministrationRedirectModalComponent = /** @class */ (function (_super) {
-    __extends(EntitiesAdministrationRedirectModalComponent, _super);
-    function EntitiesAdministrationRedirectModalComponent(http, data, dialogRef) {
-        var _this = _super.call(this, http, ['entities']) || this;
-        _this.http = http;
-        _this.data = data;
-        _this.dialogRef = dialogRef;
-        _this.lang = translate_component_1.LANG;
-        return _this;
-    }
-    EntitiesAdministrationRedirectModalComponent = __decorate([
-        core_1.Component({
-            templateUrl: angularGlobals["entities-administration-redirect-modalView"],
-        }),
-        __param(1, core_1.Inject(material_1.MAT_DIALOG_DATA)),
-        __metadata("design:paramtypes", [http_1.HttpClient, Object, material_1.MatDialogRef])
-    ], EntitiesAdministrationRedirectModalComponent);
-    return EntitiesAdministrationRedirectModalComponent;
-}(autocomplete_plugin_1.AutoCompletePlugin));
-exports.EntitiesAdministrationRedirectModalComponent = EntitiesAdministrationRedirectModalComponent;
diff --git a/apps/maarch_entreprise/js/angular/app/administration/group-administration.component.js b/apps/maarch_entreprise/js/angular/app/administration/group-administration.component.js
deleted file mode 100644
index 91ece702c32..00000000000
--- a/apps/maarch_entreprise/js/angular/app/administration/group-administration.component.js
+++ /dev/null
@@ -1,129 +0,0 @@
-"use strict";
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
-var __metadata = (this && this.__metadata) || function (k, v) {
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var core_1 = require("@angular/core");
-var layout_1 = require("@angular/cdk/layout");
-var http_1 = require("@angular/common/http");
-var router_1 = require("@angular/router");
-var translate_component_1 = require("../translate.component");
-var notification_service_1 = require("../notification.service");
-var material_1 = require("@angular/material");
-var GroupAdministrationComponent = /** @class */ (function () {
-    function GroupAdministrationComponent(changeDetectorRef, media, http, route, router, notify) {
-        this.http = http;
-        this.route = route;
-        this.router = router;
-        this.notify = notify;
-        this.lang = translate_component_1.LANG;
-        this.group = {
-            security: {}
-        };
-        this.loading = false;
-        this.displayedColumns = ['firstname', 'lastname'];
-        $j("link[href='merged_css.php']").remove();
-        this.mobileQuery = media.matchMedia('(max-width: 768px)');
-        this._mobileQueryListener = function () { return changeDetectorRef.detectChanges(); };
-        this.mobileQuery.addListener(this._mobileQueryListener);
-    }
-    GroupAdministrationComponent.prototype.applyFilter = function (filterValue) {
-        filterValue = filterValue.trim(); // Remove whitespace
-        filterValue = filterValue.toLowerCase(); // MatTableDataSource defaults to lowercase matches
-        this.dataSource.filter = filterValue;
-    };
-    GroupAdministrationComponent.prototype.ngOnDestroy = function () {
-        this.mobileQuery.removeListener(this._mobileQueryListener);
-    };
-    GroupAdministrationComponent.prototype.updateBreadcrumb = function (applicationName) {
-        var breadCrumb = "<a href='index.php?reinit=true'>" + applicationName + "</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>" + this.lang.administration + "</a> > <a onclick='location.hash = \"/administration/groups\"' style='cursor: pointer'>" + this.lang.groups + "</a> > ";
-        if (this.creationMode == true) {
-            breadCrumb += this.lang.groupCreation;
-        }
-        else {
-            breadCrumb += this.lang.groupModification;
-        }
-        $j('#ariane')[0].innerHTML = breadCrumb;
-    };
-    GroupAdministrationComponent.prototype.ngOnInit = function () {
-        var _this = this;
-        this.coreUrl = angularGlobals.coreUrl;
-        this.loading = true;
-        this.route.params.subscribe(function (params) {
-            if (typeof params['id'] == "undefined") {
-                _this.creationMode = true;
-                _this.loading = false;
-                _this.updateBreadcrumb(angularGlobals.applicationName);
-            }
-            else {
-                _this.creationMode = false;
-                _this.http.get(_this.coreUrl + "rest/groups/" + params['id'] + "/details")
-                    .subscribe(function (data) {
-                    _this.updateBreadcrumb(angularGlobals.applicationName);
-                    _this.group = data['group'];
-                    _this.loading = false;
-                    setTimeout(function () {
-                        _this.dataSource = new material_1.MatTableDataSource(_this.group.users);
-                        _this.dataSource.paginator = _this.paginator;
-                        _this.dataSource.sort = _this.sort;
-                    }, 0);
-                }, function () {
-                    location.href = "index.php";
-                });
-            }
-        });
-    };
-    GroupAdministrationComponent.prototype.onSubmit = function () {
-        var _this = this;
-        if (this.creationMode) {
-            this.http.post(this.coreUrl + "rest/groups", this.group)
-                .subscribe(function (data) {
-                _this.notify.success(_this.lang.groupAdded);
-                _this.router.navigate(["/administration/groups/" + data.group]);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-        else {
-            this.http.put(this.coreUrl + "rest/groups/" + this.group['id'], { "description": this.group['group_desc'], "security": this.group['security'] })
-                .subscribe(function (data) {
-                _this.notify.success(_this.lang.groupUpdated);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-    };
-    GroupAdministrationComponent.prototype.updateService = function (service) {
-        var _this = this;
-        this.http.put(this.coreUrl + "rest/groups/" + this.group['id'] + "/services/" + service['id'], service)
-            .subscribe(function (data) {
-            _this.notify.success(_this.lang.groupUpdated);
-        }, function (err) {
-            service.checked = !service.checked;
-            _this.notify.error(err.error.errors);
-        });
-    };
-    __decorate([
-        core_1.ViewChild(material_1.MatPaginator),
-        __metadata("design:type", material_1.MatPaginator)
-    ], GroupAdministrationComponent.prototype, "paginator", void 0);
-    __decorate([
-        core_1.ViewChild(material_1.MatSort),
-        __metadata("design:type", material_1.MatSort)
-    ], GroupAdministrationComponent.prototype, "sort", void 0);
-    GroupAdministrationComponent = __decorate([
-        core_1.Component({
-            templateUrl: angularGlobals["group-administrationView"],
-            providers: [notification_service_1.NotificationService]
-        }),
-        __metadata("design:paramtypes", [core_1.ChangeDetectorRef, layout_1.MediaMatcher, http_1.HttpClient, router_1.ActivatedRoute, router_1.Router, notification_service_1.NotificationService])
-    ], GroupAdministrationComponent);
-    return GroupAdministrationComponent;
-}());
-exports.GroupAdministrationComponent = GroupAdministrationComponent;
diff --git a/apps/maarch_entreprise/js/angular/app/administration/group-administration.component.ts b/apps/maarch_entreprise/js/angular/app/administration/group-administration.component.ts
index 24857bf44d8..4b493dd6204 100644
--- a/apps/maarch_entreprise/js/angular/app/administration/group-administration.component.ts
+++ b/apps/maarch_entreprise/js/angular/app/administration/group-administration.component.ts
@@ -16,25 +16,28 @@ declare const angularGlobals : any;
     providers   : [NotificationService]
 })
 export class GroupAdministrationComponent implements OnInit {
-    mobileQuery: MediaQueryList;
-    private _mobileQueryListener: () => void;
-    coreUrl                     : string;
-    lang                        : any       = LANG;
 
-    creationMode                : boolean;
+    private _mobileQueryListener    : () => void;
+    mobileQuery                     : MediaQueryList;
 
-    group                       : any       = {
-        security                : {}
+    coreUrl                         : string;
+    lang                            : any       = LANG;
+    loading                         : boolean   = false;
+
+    group                           : any       = {
+        security                    : {}
     };
-    loading                     : boolean   = false;
+    creationMode                    : boolean;
+
+    displayedColumns    = ['firstname', 'lastname'];
+    dataSource          : any;
+
 
-    displayedColumns = ['firstname', 'lastname'];
-    dataSource      : any;
     @ViewChild(MatPaginator) paginator: MatPaginator;
     @ViewChild(MatSort) sort: MatSort;
     applyFilter(filterValue: string) {
-        filterValue = filterValue.trim(); // Remove whitespace
-        filterValue = filterValue.toLowerCase(); // MatTableDataSource defaults to lowercase matches
+        filterValue = filterValue.trim();
+        filterValue = filterValue.toLowerCase();
         this.dataSource.filter = filterValue;
     }
 
@@ -47,16 +50,6 @@ export class GroupAdministrationComponent implements OnInit {
     ngOnDestroy(): void {
         this.mobileQuery.removeListener(this._mobileQueryListener);
     }
-    
-    updateBreadcrumb(applicationName: string) {
-        var breadCrumb = "<a href='index.php?reinit=true'>" + applicationName + "</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>" + this.lang.administration + "</a> > <a onclick='location.hash = \"/administration/groups\"' style='cursor: pointer'>" + this.lang.groups + "</a> > ";
-        if (this.creationMode == true) {
-            breadCrumb += this.lang.groupCreation;
-        } else {
-            breadCrumb += this.lang.groupModification;
-        }
-        $j('#ariane')[0].innerHTML = breadCrumb;
-    }
 
     ngOnInit(): void {
         this.coreUrl = angularGlobals.coreUrl;
@@ -67,12 +60,10 @@ export class GroupAdministrationComponent implements OnInit {
             if (typeof params['id'] == "undefined") {
                 this.creationMode = true;
                 this.loading = false;
-                this.updateBreadcrumb(angularGlobals.applicationName);
             } else {
                 this.creationMode = false;
                 this.http.get(this.coreUrl + "rest/groups/" + params['id'] + "/details")
                     .subscribe((data : any) => {
-                        this.updateBreadcrumb(angularGlobals.applicationName);
                         this.group = data['group'];
                         this.loading = false;
                         setTimeout(() => {
@@ -99,7 +90,7 @@ export class GroupAdministrationComponent implements OnInit {
                 });
         } else {
             this.http.put(this.coreUrl + "rest/groups/" + this.group['id'] , {"description" : this.group['group_desc'], "security" : this.group['security']})
-                .subscribe((data : any) => {
+                .subscribe(() => {
                     this.notify.success(this.lang.groupUpdated);
                 }, (err) => {
                     this.notify.error(err.error.errors);
@@ -110,7 +101,7 @@ export class GroupAdministrationComponent implements OnInit {
 
     updateService(service: any) {
         this.http.put(this.coreUrl + "rest/groups/" + this.group['id'] + "/services/" + service['id'], service)
-            .subscribe((data : any) => {
+            .subscribe(() => {
                 this.notify.success(this.lang.groupUpdated);
             }, (err) => {
                 service.checked = !service.checked;
diff --git a/apps/maarch_entreprise/js/angular/app/administration/groups-administration.component.js b/apps/maarch_entreprise/js/angular/app/administration/groups-administration.component.js
deleted file mode 100644
index eca2a2a5ccd..00000000000
--- a/apps/maarch_entreprise/js/angular/app/administration/groups-administration.component.js
+++ /dev/null
@@ -1,153 +0,0 @@
-"use strict";
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
-var __metadata = (this && this.__metadata) || function (k, v) {
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
-var __param = (this && this.__param) || function (paramIndex, decorator) {
-    return function (target, key) { decorator(target, key, paramIndex); }
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var core_1 = require("@angular/core");
-var layout_1 = require("@angular/cdk/layout");
-var http_1 = require("@angular/common/http");
-var translate_component_1 = require("../translate.component");
-var notification_service_1 = require("../notification.service");
-var material_1 = require("@angular/material");
-var GroupsAdministrationComponent = /** @class */ (function () {
-    function GroupsAdministrationComponent(changeDetectorRef, media, http, notify, dialog) {
-        this.http = http;
-        this.notify = notify;
-        this.dialog = dialog;
-        this.config = {};
-        this.lang = translate_component_1.LANG;
-        this.groups = [];
-        this.groupsForAssign = [];
-        this.loading = false;
-        this.displayedColumns = ['group_id', 'group_desc', 'actions'];
-        this.dataSource = new material_1.MatTableDataSource(this.groups);
-        $j("link[href='merged_css.php']").remove();
-        this.mobileQuery = media.matchMedia('(max-width: 768px)');
-        this._mobileQueryListener = function () { return changeDetectorRef.detectChanges(); };
-        this.mobileQuery.addListener(this._mobileQueryListener);
-    }
-    GroupsAdministrationComponent.prototype.applyFilter = function (filterValue) {
-        filterValue = filterValue.trim(); // Remove whitespace
-        filterValue = filterValue.toLowerCase(); // MatTableDataSource defaults to lowercase matches
-        this.dataSource.filter = filterValue;
-    };
-    GroupsAdministrationComponent.prototype.ngOnDestroy = function () {
-        this.mobileQuery.removeListener(this._mobileQueryListener);
-    };
-    GroupsAdministrationComponent.prototype.updateBreadcrumb = function (applicationName) {
-        if ($j('#ariane')[0]) {
-            $j('#ariane')[0].innerHTML = "<a href='index.php?reinit=true'>" + applicationName + "</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>Administration</a> > Groupes";
-        }
-    };
-    GroupsAdministrationComponent.prototype.ngOnInit = function () {
-        var _this = this;
-        this.updateBreadcrumb(angularGlobals.applicationName);
-        this.coreUrl = angularGlobals.coreUrl;
-        this.loading = true;
-        this.http.get(this.coreUrl + "rest/groups")
-            .subscribe(function (data) {
-            _this.groups = data['groups'];
-            _this.loading = false;
-            setTimeout(function () {
-                _this.dataSource = new material_1.MatTableDataSource(_this.groups);
-                _this.dataSource.paginator = _this.paginator;
-                _this.dataSource.sort = _this.sort;
-            }, 0);
-        }, function () {
-            location.href = "index.php";
-        });
-    };
-    GroupsAdministrationComponent.prototype.preDelete = function (group) {
-        var _this = this;
-        if (group.users.length == 0) {
-            var r = confirm("Etes vous sûr de vouloir supprimer ce groupe ?");
-            if (r) {
-                this.deleteGroup(group);
-            }
-        }
-        else {
-            this.groupsForAssign = [];
-            this.groups.forEach(function (tmpGroup) {
-                if (group.group_id != tmpGroup.group_id) {
-                    _this.groupsForAssign.push(tmpGroup);
-                }
-            });
-            this.config = { data: { id: group.id, group_desc: group.group_desc, groupsForAssign: this.groupsForAssign, users: group.users } };
-            this.dialogRef = this.dialog.open(GroupsAdministrationRedirectModalComponent, this.config);
-            this.dialogRef.afterClosed().subscribe(function (result) {
-                if (result) {
-                    if (result == "_NO_REPLACEMENT") {
-                        _this.deleteGroup(group);
-                    }
-                    else {
-                        _this.http.put(_this.coreUrl + "rest/groups/" + group.id + "/reassign/" + result, {})
-                            .subscribe(function (data) {
-                            _this.deleteGroup(group);
-                        }, function (err) {
-                            _this.notify.error(err.error.errors);
-                        });
-                    }
-                }
-                _this.dialogRef = null;
-            });
-        }
-    };
-    GroupsAdministrationComponent.prototype.deleteGroup = function (group) {
-        var _this = this;
-        this.http.delete(this.coreUrl + "rest/groups/" + group['id'])
-            .subscribe(function (data) {
-            setTimeout(function () {
-                _this.groups = data['groups'];
-                _this.dataSource = new material_1.MatTableDataSource(_this.groups);
-                _this.dataSource.paginator = _this.paginator;
-                _this.dataSource.sort = _this.sort;
-            }, 0);
-            _this.notify.success(_this.lang.groupDeleted);
-        }, function (err) {
-            _this.notify.error(err.error.errors);
-        });
-    };
-    __decorate([
-        core_1.ViewChild(material_1.MatPaginator),
-        __metadata("design:type", material_1.MatPaginator)
-    ], GroupsAdministrationComponent.prototype, "paginator", void 0);
-    __decorate([
-        core_1.ViewChild(material_1.MatSort),
-        __metadata("design:type", material_1.MatSort)
-    ], GroupsAdministrationComponent.prototype, "sort", void 0);
-    GroupsAdministrationComponent = __decorate([
-        core_1.Component({
-            templateUrl: angularGlobals["groups-administrationView"],
-            providers: [notification_service_1.NotificationService]
-        }),
-        __metadata("design:paramtypes", [core_1.ChangeDetectorRef, layout_1.MediaMatcher, http_1.HttpClient, notification_service_1.NotificationService, material_1.MatDialog])
-    ], GroupsAdministrationComponent);
-    return GroupsAdministrationComponent;
-}());
-exports.GroupsAdministrationComponent = GroupsAdministrationComponent;
-var GroupsAdministrationRedirectModalComponent = /** @class */ (function () {
-    function GroupsAdministrationRedirectModalComponent(http, data, dialogRef) {
-        this.http = http;
-        this.data = data;
-        this.dialogRef = dialogRef;
-        this.lang = translate_component_1.LANG;
-    }
-    GroupsAdministrationRedirectModalComponent = __decorate([
-        core_1.Component({
-            templateUrl: angularGlobals["groups-administration-redirect-modalView"],
-        }),
-        __param(1, core_1.Inject(material_1.MAT_DIALOG_DATA)),
-        __metadata("design:paramtypes", [http_1.HttpClient, Object, material_1.MatDialogRef])
-    ], GroupsAdministrationRedirectModalComponent);
-    return GroupsAdministrationRedirectModalComponent;
-}());
-exports.GroupsAdministrationRedirectModalComponent = GroupsAdministrationRedirectModalComponent;
diff --git a/apps/maarch_entreprise/js/angular/app/administration/groups-administration.component.ts b/apps/maarch_entreprise/js/angular/app/administration/groups-administration.component.ts
index 57775c06b67..40e9a60fa55 100644
--- a/apps/maarch_entreprise/js/angular/app/administration/groups-administration.component.ts
+++ b/apps/maarch_entreprise/js/angular/app/administration/groups-administration.component.ts
@@ -1,9 +1,9 @@
-import { ChangeDetectorRef, Component, OnInit, ViewChild, Inject, TemplateRef } from '@angular/core';
+import { ChangeDetectorRef, Component, OnInit, ViewChild, Inject } from '@angular/core';
 import { MediaMatcher } from '@angular/cdk/layout';
 import { HttpClient } from '@angular/common/http';
 import { LANG } from '../translate.component';
 import { NotificationService } from '../notification.service';
-import { MatPaginator, MatTableDataSource, MatSort, MatDialog, MatDialogConfig, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material';
+import { MatPaginator, MatTableDataSource, MatSort, MatDialog, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material';
 
 declare function $j(selector: any): any;
 
@@ -15,25 +15,29 @@ declare var angularGlobals: any;
     providers: [NotificationService]
 })
 export class GroupsAdministrationComponent implements OnInit {
-    mobileQuery: MediaQueryList;
-    dialogRef: MatDialogRef<any>;
-    private _mobileQueryListener: () => void;
-    config: any = {};
-    coreUrl: string;
-    lang: any = LANG;
 
-    groups: any[] = [];
-    groupsForAssign: any[] = [];
+    private _mobileQueryListener    : () => void;
+    mobileQuery                     : MediaQueryList;
+    dialogRef                       : MatDialogRef<any>;
+
+    coreUrl                         : string;
+    lang                            : any       = LANG;
+    loading                         : boolean   = false;
+
+    config                          : any       = {};
+    groups                          : any[]     = [];
+    groupsForAssign                 : any[]     = [];
+
+
+    displayedColumns    = ['group_id', 'group_desc', 'actions'];
+    dataSource          = new MatTableDataSource(this.groups);
 
-    loading: boolean = false;
 
-    displayedColumns = ['group_id', 'group_desc', 'actions'];
-    dataSource = new MatTableDataSource(this.groups);
     @ViewChild(MatPaginator) paginator: MatPaginator;
     @ViewChild(MatSort) sort: MatSort;
     applyFilter(filterValue: string) {
-        filterValue = filterValue.trim(); // Remove whitespace
-        filterValue = filterValue.toLowerCase(); // MatTableDataSource defaults to lowercase matches
+        filterValue = filterValue.trim();
+        filterValue = filterValue.toLowerCase();
         this.dataSource.filter = filterValue;
     }
 
@@ -48,16 +52,8 @@ export class GroupsAdministrationComponent implements OnInit {
         this.mobileQuery.removeListener(this._mobileQueryListener);
     }
 
-    updateBreadcrumb(applicationName: string) {
-        if ($j('#ariane')[0]) {
-            $j('#ariane')[0].innerHTML = "<a href='index.php?reinit=true'>" + applicationName + "</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>Administration</a> > Groupes";
-        }
-    }
-
     ngOnInit(): void {
-        this.updateBreadcrumb(angularGlobals.applicationName);
         this.coreUrl = angularGlobals.coreUrl;
-
         this.loading = true;
 
         this.http.get(this.coreUrl + "rest/groups")
@@ -75,7 +71,6 @@ export class GroupsAdministrationComponent implements OnInit {
     }
 
     preDelete(group: any) {
-
         if (group.users.length == 0) {
             let r = confirm("Etes vous sûr de vouloir supprimer ce groupe ?");
 
@@ -126,6 +121,7 @@ export class GroupsAdministrationComponent implements OnInit {
             });
     }
 }
+
 @Component({
     templateUrl: "../../../../Views/groups-administration-redirect-modal.component.html"
 })
diff --git a/apps/maarch_entreprise/js/angular/app/administration/history-administration.component.js b/apps/maarch_entreprise/js/angular/app/administration/history-administration.component.js
deleted file mode 100644
index e840f9d9671..00000000000
--- a/apps/maarch_entreprise/js/angular/app/administration/history-administration.component.js
+++ /dev/null
@@ -1,100 +0,0 @@
-"use strict";
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
-var __metadata = (this && this.__metadata) || function (k, v) {
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var core_1 = require("@angular/core");
-var layout_1 = require("@angular/cdk/layout");
-var http_1 = require("@angular/common/http");
-var translate_component_1 = require("../translate.component");
-var notification_service_1 = require("../notification.service");
-var material_1 = require("@angular/material");
-var HistoryAdministrationComponent = /** @class */ (function () {
-    function HistoryAdministrationComponent(changeDetectorRef, media, http, notify) {
-        this.http = http;
-        this.notify = notify;
-        this.lang = translate_component_1.LANG;
-        this.loading = false;
-        this.data = [];
-        this.CurrentYear = new Date().getFullYear();
-        this.currentMonth = new Date().getMonth() + 1;
-        this.minDate = new Date();
-        this.displayedColumns = ['event_date', 'event_type', 'user_id', 'info', 'remote_ip'];
-        this.dataSource = new material_1.MatTableDataSource(this.data);
-        $j("link[href='merged_css.php']").remove();
-        this.mobileQuery = media.matchMedia('(max-width: 768px)');
-        this._mobileQueryListener = function () { return changeDetectorRef.detectChanges(); };
-        this.mobileQuery.addListener(this._mobileQueryListener);
-    }
-    HistoryAdministrationComponent.prototype.applyFilter = function (filterValue) {
-        filterValue = filterValue.trim(); // Remove whitespace
-        filterValue = filterValue.toLowerCase(); // MatTableDataSource defaults to lowercase matches
-        this.dataSource.filter = filterValue;
-    };
-    HistoryAdministrationComponent.prototype.ngOnDestroy = function () {
-        this.mobileQuery.removeListener(this._mobileQueryListener);
-    };
-    HistoryAdministrationComponent.prototype.updateBreadcrumb = function (applicationName) {
-        if ($j('#ariane')[0]) {
-            $j('#ariane')[0].innerHTML = "<a href='index.php?reinit=true'>" + applicationName + "</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>" + this.lang.administration + "</a> > " + this.lang.history;
-        }
-    };
-    HistoryAdministrationComponent.prototype.ngOnInit = function () {
-        var _this = this;
-        this.coreUrl = angularGlobals.coreUrl;
-        this.loading = true;
-        this.updateBreadcrumb(angularGlobals.applicationName);
-        $j('#inner_content').remove();
-        this.minDate = new Date(this.CurrentYear + '-' + this.currentMonth + '-01');
-        this.http.get(this.coreUrl + 'rest/administration/history/eventDate/' + this.minDate.toJSON())
-            .subscribe(function (data) {
-            _this.data = data.historyList;
-            _this.loading = false;
-            setTimeout(function () {
-                _this.dataSource = new material_1.MatTableDataSource(_this.data);
-                _this.dataSource.paginator = _this.paginator;
-                _this.dataSource.sort = _this.sort;
-            }, 0);
-        }, function (err) {
-            console.log(err);
-            location.href = "index.php";
-        });
-    };
-    HistoryAdministrationComponent.prototype.refreshHistory = function (event) {
-        var _this = this;
-        this.http.get(this.coreUrl + 'rest/administration/history/eventDate/' + this.minDate.toJSON())
-            .subscribe(function (data) {
-            _this.data = data.historyList;
-            _this.dataSource = new material_1.MatTableDataSource(_this.data);
-            _this.dataSource.paginator = _this.paginator;
-            _this.dataSource.sort = _this.sort;
-        }, function (err) {
-            console.log(err);
-            location.href = "index.php";
-        });
-    };
-    __decorate([
-        core_1.ViewChild(material_1.MatPaginator),
-        __metadata("design:type", material_1.MatPaginator)
-    ], HistoryAdministrationComponent.prototype, "paginator", void 0);
-    __decorate([
-        core_1.ViewChild(material_1.MatSort),
-        __metadata("design:type", material_1.MatSort)
-    ], HistoryAdministrationComponent.prototype, "sort", void 0);
-    HistoryAdministrationComponent = __decorate([
-        core_1.Component({
-            templateUrl: angularGlobals["history-administrationView"],
-            styleUrls: [],
-            providers: [notification_service_1.NotificationService]
-        }),
-        __metadata("design:paramtypes", [core_1.ChangeDetectorRef, layout_1.MediaMatcher, http_1.HttpClient, notification_service_1.NotificationService])
-    ], HistoryAdministrationComponent);
-    return HistoryAdministrationComponent;
-}());
-exports.HistoryAdministrationComponent = HistoryAdministrationComponent;
diff --git a/apps/maarch_entreprise/js/angular/app/administration/historyBatch-administration.component.js b/apps/maarch_entreprise/js/angular/app/administration/historyBatch-administration.component.js
deleted file mode 100644
index 5285d8cdca0..00000000000
--- a/apps/maarch_entreprise/js/angular/app/administration/historyBatch-administration.component.js
+++ /dev/null
@@ -1,100 +0,0 @@
-"use strict";
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
-var __metadata = (this && this.__metadata) || function (k, v) {
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var core_1 = require("@angular/core");
-var layout_1 = require("@angular/cdk/layout");
-var http_1 = require("@angular/common/http");
-var translate_component_1 = require("../translate.component");
-var notification_service_1 = require("../notification.service");
-var material_1 = require("@angular/material");
-var HistoryBatchAdministrationComponent = /** @class */ (function () {
-    function HistoryBatchAdministrationComponent(changeDetectorRef, media, http, notify) {
-        this.http = http;
-        this.notify = notify;
-        this.lang = translate_component_1.LANG;
-        this.loading = false;
-        this.data = [];
-        this.CurrentYear = new Date().getFullYear();
-        this.currentMonth = new Date().getMonth() + 1;
-        this.minDate = new Date();
-        this.displayedColumns = ['batch_id', 'event_date', 'total_processed', 'total_errors', 'info', 'module_name'];
-        this.dataSource = new material_1.MatTableDataSource(this.data);
-        $j("link[href='merged_css.php']").remove();
-        this.mobileQuery = media.matchMedia('(max-width: 768px)');
-        this._mobileQueryListener = function () { return changeDetectorRef.detectChanges(); };
-        this.mobileQuery.addListener(this._mobileQueryListener);
-    }
-    HistoryBatchAdministrationComponent.prototype.applyFilter = function (filterValue) {
-        filterValue = filterValue.trim(); // Remove whitespace
-        filterValue = filterValue.toLowerCase(); // MatTableDataSource defaults to lowercase matches
-        this.dataSource.filter = filterValue;
-    };
-    HistoryBatchAdministrationComponent.prototype.updateBreadcrumb = function (applicationName) {
-        if ($j('#ariane')[0]) {
-            $j('#ariane')[0].innerHTML = "<a href='index.php?reinit=true'>" + applicationName + "</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>" + this.lang.administration + "</a> > " + this.lang.historyBatch;
-        }
-    };
-    HistoryBatchAdministrationComponent.prototype.ngOnDestroy = function () {
-        this.mobileQuery.removeListener(this._mobileQueryListener);
-    };
-    HistoryBatchAdministrationComponent.prototype.ngOnInit = function () {
-        var _this = this;
-        this.coreUrl = angularGlobals.coreUrl;
-        this.loading = true;
-        this.updateBreadcrumb(angularGlobals.applicationName);
-        $j('#inner_content').remove();
-        this.minDate = new Date(this.CurrentYear + '-' + this.currentMonth + '-01');
-        this.http.get(this.coreUrl + 'rest/administration/historyBatch/eventDate/' + this.minDate.toJSON())
-            .subscribe(function (data) {
-            _this.data = data.historyList;
-            _this.loading = false;
-            setTimeout(function () {
-                _this.dataSource = new material_1.MatTableDataSource(_this.data);
-                _this.dataSource.paginator = _this.paginator;
-                _this.dataSource.sort = _this.sort;
-            }, 0);
-        }, function (err) {
-            console.log(err);
-            location.href = "index.php";
-        });
-    };
-    HistoryBatchAdministrationComponent.prototype.refreshHistory = function () {
-        var _this = this;
-        this.http.get(this.coreUrl + 'rest/administration/historyBatch/eventDate/' + this.minDate.toJSON())
-            .subscribe(function (data) {
-            _this.data = data.historyList;
-            _this.dataSource = new material_1.MatTableDataSource(_this.data);
-            _this.dataSource.paginator = _this.paginator;
-            _this.dataSource.sort = _this.sort;
-        }, function (err) {
-            console.log(err);
-            location.href = "index.php";
-        });
-    };
-    __decorate([
-        core_1.ViewChild(material_1.MatPaginator),
-        __metadata("design:type", material_1.MatPaginator)
-    ], HistoryBatchAdministrationComponent.prototype, "paginator", void 0);
-    __decorate([
-        core_1.ViewChild(material_1.MatSort),
-        __metadata("design:type", material_1.MatSort)
-    ], HistoryBatchAdministrationComponent.prototype, "sort", void 0);
-    HistoryBatchAdministrationComponent = __decorate([
-        core_1.Component({
-            templateUrl: angularGlobals["historyBatch-administrationView"],
-            styleUrls: [],
-            providers: [notification_service_1.NotificationService]
-        }),
-        __metadata("design:paramtypes", [core_1.ChangeDetectorRef, layout_1.MediaMatcher, http_1.HttpClient, notification_service_1.NotificationService])
-    ], HistoryBatchAdministrationComponent);
-    return HistoryBatchAdministrationComponent;
-}());
-exports.HistoryBatchAdministrationComponent = HistoryBatchAdministrationComponent;
diff --git a/apps/maarch_entreprise/js/angular/app/administration/notification-administration.component.js b/apps/maarch_entreprise/js/angular/app/administration/notification-administration.component.js
deleted file mode 100644
index b10768a467e..00000000000
--- a/apps/maarch_entreprise/js/angular/app/administration/notification-administration.component.js
+++ /dev/null
@@ -1,152 +0,0 @@
-"use strict";
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
-var __metadata = (this && this.__metadata) || function (k, v) {
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var core_1 = require("@angular/core");
-var layout_1 = require("@angular/cdk/layout");
-var http_1 = require("@angular/common/http");
-var router_1 = require("@angular/router");
-var translate_component_1 = require("../translate.component");
-var notification_service_1 = require("../notification.service");
-var NotificationAdministrationComponent = /** @class */ (function () {
-    function NotificationAdministrationComponent(changeDetectorRef, media, http, route, router, notify) {
-        this.http = http;
-        this.route = route;
-        this.router = router;
-        this.notify = notify;
-        this.notification = {
-            diffusionType_label: null
-        };
-        this.loading = false;
-        this.lang = translate_component_1.LANG;
-        $j("link[href='merged_css.php']").remove();
-        this.mobileQuery = media.matchMedia('(max-width: 768px)');
-        this._mobileQueryListener = function () { return changeDetectorRef.detectChanges(); };
-        this.mobileQuery.addListener(this._mobileQueryListener);
-    }
-    NotificationAdministrationComponent.prototype.updateBreadcrumb = function (applicationName) {
-        var breadCrumb = "<a href='index.php?reinit=true'>" + applicationName + "</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>" + this.lang.administration + "</a> > <a onclick='location.hash = \"/administration/notifications\"' style='cursor: pointer'>" + this.lang.notifications + "</a> > ";
-        if (this.creationMode == true) {
-            breadCrumb += this.lang.notificationCreation;
-        }
-        else {
-            breadCrumb += this.lang.notificationModification;
-        }
-        $j('#ariane')[0].innerHTML = breadCrumb;
-    };
-    NotificationAdministrationComponent.prototype.ngOnDestroy = function () {
-        this.mobileQuery.removeListener(this._mobileQueryListener);
-    };
-    NotificationAdministrationComponent.prototype.ngOnInit = function () {
-        var _this = this;
-        this.loading = true;
-        this.coreUrl = angularGlobals.coreUrl;
-        this.route.params.subscribe(function (params) {
-            if (typeof params['identifier'] == "undefined") {
-                _this.creationMode = true;
-                _this.http.get(_this.coreUrl + 'rest/administration/notifications/new')
-                    .subscribe(function (data) {
-                    _this.notification = data.notification;
-                    _this.loading = false;
-                }, function (err) {
-                    _this.notify.error(err.error.errors);
-                });
-            }
-            else {
-                _this.creationMode = false;
-                _this.http.get(_this.coreUrl + 'rest/notifications/' + params['identifier'])
-                    .subscribe(function (data) {
-                    _this.notification = data.notification;
-                    _this.loading = false;
-                }, function (err) {
-                    _this.notify.error(err.error.errors);
-                });
-            }
-        });
-        this.updateBreadcrumb(angularGlobals.applicationName);
-    };
-    NotificationAdministrationComponent.prototype.createScript = function () {
-        var _this = this;
-        this.http.post(this.coreUrl + 'rest/scriptNotification', this.notification)
-            .subscribe(function (data) {
-            _this.notification.scriptcreated = data;
-            _this.notify.success(_this.lang.ScriptCreated);
-        }, function (err) {
-            _this.notify.error(err.error.errors);
-        });
-    };
-    NotificationAdministrationComponent.prototype.selectAll = function (event) {
-        var target = event.target.getAttribute("data-target");
-        $j('#' + target + ' option').prop('selected', true);
-        $j('#' + target).trigger('chosen:updated');
-    };
-    NotificationAdministrationComponent.prototype.unselectAll = function (event) {
-        var target = event.target.getAttribute("data-target");
-        $j('#' + target + ' option').prop('selected', false);
-        $j('#' + target).trigger('chosen:updated');
-    };
-    NotificationAdministrationComponent.prototype.onSubmit = function () {
-        var _this = this;
-        if ($j("#groupslist").val()) {
-            this.notification.diffusion_properties = $j("#groupslist").val();
-        }
-        else if ($j("#entitieslist").val()) {
-            this.notification.diffusion_properties = $j("#entitieslist").val();
-        }
-        else if ($j("#statuseslist").val()) {
-            this.notification.diffusion_properties = $j("#statuseslist").val();
-        }
-        else if ($j("#userslist").val()) {
-            this.notification.diffusion_properties = $j("#userslist").val();
-        }
-        if ($j("#joinDocJd").val() == null) {
-            this.notification.attachfor_properties = '';
-        }
-        else if ($j("#groupslistJd").val()) {
-            this.notification.attachfor_properties = $j("#groupslistJd").val();
-        }
-        else if ($j("#entitieslistJd").val()) {
-            this.notification.attachfor_properties = $j("#entitieslistJd").val();
-        }
-        else if ($j("#statuseslistJd").val()) {
-            this.notification.attachfor_properties = $j("#statuseslistJd").val();
-        }
-        else if ($j("#userslistJd").val()) {
-            this.notification.attachfor_properties = $j("#userslistJd").val();
-        }
-        if (this.creationMode) {
-            this.http.post(this.coreUrl + 'rest/notifications', this.notification)
-                .subscribe(function (data) {
-                _this.router.navigate(['/administration/notifications']);
-                _this.notify.success(_this.lang.NotificationAdded);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-        else {
-            this.http.put(this.coreUrl + 'rest/notifications/' + this.notification.notification_sid, this.notification)
-                .subscribe(function (data) {
-                _this.router.navigate(['/administration/notifications']);
-                _this.notify.success(_this.lang.notificationUpdated);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-    };
-    NotificationAdministrationComponent = __decorate([
-        core_1.Component({
-            templateUrl: angularGlobals["notification-administrationView"],
-            providers: [notification_service_1.NotificationService]
-        }),
-        __metadata("design:paramtypes", [core_1.ChangeDetectorRef, layout_1.MediaMatcher, http_1.HttpClient, router_1.ActivatedRoute, router_1.Router, notification_service_1.NotificationService])
-    ], NotificationAdministrationComponent);
-    return NotificationAdministrationComponent;
-}());
-exports.NotificationAdministrationComponent = NotificationAdministrationComponent;
diff --git a/apps/maarch_entreprise/js/angular/app/administration/notifications-administration.component.js b/apps/maarch_entreprise/js/angular/app/administration/notifications-administration.component.js
deleted file mode 100644
index 781b210d294..00000000000
--- a/apps/maarch_entreprise/js/angular/app/administration/notifications-administration.component.js
+++ /dev/null
@@ -1,98 +0,0 @@
-"use strict";
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
-var __metadata = (this && this.__metadata) || function (k, v) {
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var core_1 = require("@angular/core");
-var layout_1 = require("@angular/cdk/layout");
-var http_1 = require("@angular/common/http");
-var translate_component_1 = require("../translate.component");
-var notification_service_1 = require("../notification.service");
-var material_1 = require("@angular/material");
-var NotificationsAdministrationComponent = /** @class */ (function () {
-    function NotificationsAdministrationComponent(changeDetectorRef, media, http, notify) {
-        this.http = http;
-        this.notify = notify;
-        this.notifications = [];
-        this.loading = false;
-        this.lang = translate_component_1.LANG;
-        this.displayedColumns = ['notification_id', 'description', 'is_enabled', 'notifications'];
-        this.dataSource = new material_1.MatTableDataSource(this.notifications);
-        $j("link[href='merged_css.php']").remove();
-        this.mobileQuery = media.matchMedia('(max-width: 768px)');
-        this._mobileQueryListener = function () { return changeDetectorRef.detectChanges(); };
-        this.mobileQuery.addListener(this._mobileQueryListener);
-    }
-    NotificationsAdministrationComponent.prototype.applyFilter = function (filterValue) {
-        filterValue = filterValue.trim(); // Remove whitespace
-        filterValue = filterValue.toLowerCase(); // MatTableDataSource defaults to lowercase matches
-        this.dataSource.filter = filterValue;
-    };
-    NotificationsAdministrationComponent.prototype.ngOnDestroy = function () {
-        this.mobileQuery.removeListener(this._mobileQueryListener);
-    };
-    NotificationsAdministrationComponent.prototype.ngOnInit = function () {
-        var _this = this;
-        this.updateBreadcrumb(angularGlobals.applicationName);
-        this.coreUrl = angularGlobals.coreUrl;
-        this.loading = true;
-        this.http.get(this.coreUrl + 'rest/notifications')
-            .subscribe(function (data) {
-            _this.notifications = data.notifications;
-            _this.loading = false;
-            setTimeout(function () {
-                _this.dataSource = new material_1.MatTableDataSource(_this.notifications);
-                _this.dataSource.paginator = _this.paginator;
-                _this.dataSource.sort = _this.sort;
-            }, 0);
-        }, function (err) {
-            _this.notify.error(err.error.errors);
-        });
-    };
-    NotificationsAdministrationComponent.prototype.updateBreadcrumb = function (applicationName) {
-        if ($j('#ariane')[0]) {
-            $j('#ariane')[0].innerHTML = "<a href='index.php?reinit=true'>" + applicationName + "</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>" + this.lang.administration + "</a> > " + this.lang.notifications;
-        }
-    };
-    NotificationsAdministrationComponent.prototype.deleteNotification = function (notification) {
-        var _this = this;
-        var r = confirm(this.lang.deleteMsg);
-        if (r) {
-            this.http.delete(this.coreUrl + 'rest/notifications/' + notification.notification_sid)
-                .subscribe(function (data) {
-                _this.notifications = data.notifications;
-                setTimeout(function () {
-                    _this.dataSource = new material_1.MatTableDataSource(_this.notifications);
-                    _this.dataSource.paginator = _this.paginator;
-                    _this.dataSource.sort = _this.sort;
-                }, 0);
-                _this.notify.success(_this.lang.notificationDeleted);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-    };
-    __decorate([
-        core_1.ViewChild(material_1.MatPaginator),
-        __metadata("design:type", material_1.MatPaginator)
-    ], NotificationsAdministrationComponent.prototype, "paginator", void 0);
-    __decorate([
-        core_1.ViewChild(material_1.MatSort),
-        __metadata("design:type", material_1.MatSort)
-    ], NotificationsAdministrationComponent.prototype, "sort", void 0);
-    NotificationsAdministrationComponent = __decorate([
-        core_1.Component({
-            templateUrl: angularGlobals["notifications-administrationView"],
-            providers: [notification_service_1.NotificationService]
-        }),
-        __metadata("design:paramtypes", [core_1.ChangeDetectorRef, layout_1.MediaMatcher, http_1.HttpClient, notification_service_1.NotificationService])
-    ], NotificationsAdministrationComponent);
-    return NotificationsAdministrationComponent;
-}());
-exports.NotificationsAdministrationComponent = NotificationsAdministrationComponent;
diff --git a/apps/maarch_entreprise/js/angular/app/administration/notifications-schedule-administration.component.js b/apps/maarch_entreprise/js/angular/app/administration/notifications-schedule-administration.component.js
deleted file mode 100644
index b1596ff110a..00000000000
--- a/apps/maarch_entreprise/js/angular/app/administration/notifications-schedule-administration.component.js
+++ /dev/null
@@ -1,76 +0,0 @@
-"use strict";
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
-var __metadata = (this && this.__metadata) || function (k, v) {
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var core_1 = require("@angular/core");
-var layout_1 = require("@angular/cdk/layout");
-var http_1 = require("@angular/common/http");
-var router_1 = require("@angular/router");
-var translate_component_1 = require("../translate.component");
-var notification_service_1 = require("../notification.service");
-var NotificationsScheduleAdministrationComponent = /** @class */ (function () {
-    function NotificationsScheduleAdministrationComponent(changeDetectorRef, media, http, router, notify) {
-        this.http = http;
-        this.router = router;
-        this.notify = notify;
-        this.crontab = [];
-        this.authorizedNotification = [];
-        this.loading = false;
-        this.lang = translate_component_1.LANG;
-        $j("link[href='merged_css.php']").remove();
-        this.mobileQuery = media.matchMedia('(max-width: 768px)');
-        this._mobileQueryListener = function () { return changeDetectorRef.detectChanges(); };
-        this.mobileQuery.addListener(this._mobileQueryListener);
-    }
-    NotificationsScheduleAdministrationComponent.prototype.ngOnDestroy = function () {
-        this.mobileQuery.removeListener(this._mobileQueryListener);
-    };
-    NotificationsScheduleAdministrationComponent.prototype.ngOnInit = function () {
-        var _this = this;
-        this.updateBreadcrumb(angularGlobals.applicationName);
-        this.coreUrl = angularGlobals.coreUrl;
-        this.loading = true;
-        this.http.get(this.coreUrl + 'rest/notifications/schedule')
-            .subscribe(function (data) {
-            _this.crontab = data.crontab;
-            _this.authorizedNotification = data.authorizedNotification;
-            _this.loading = false;
-        }, function (err) {
-            _this.notify.error(err.error.errors);
-        });
-    };
-    NotificationsScheduleAdministrationComponent.prototype.updateBreadcrumb = function (applicationName) {
-        if ($j('#ariane')[0]) {
-            $j('#ariane')[0].innerHTML = "<a href='index.php?reinit=true'>" + applicationName +
-                "</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>" + this.lang.administration +
-                "</a> > <a onclick='location.hash = \"/administration/notifications\"' style='cursor: pointer'>" + this.lang.notifications +
-                "</a> > " + this.lang.notificationsSchedule;
-        }
-    };
-    NotificationsScheduleAdministrationComponent.prototype.onSubmit = function () {
-        var _this = this;
-        this.http.post(this.coreUrl + 'rest/notifications/schedule', this.crontab)
-            .subscribe(function (data) {
-            _this.router.navigate(['/administration/notifications']);
-            _this.notify.success(_this.lang.NotificationScheduleUpdated);
-        }, function (err) {
-            _this.notify.error(err.error.errors);
-        });
-    };
-    NotificationsScheduleAdministrationComponent = __decorate([
-        core_1.Component({
-            templateUrl: angularGlobals["notifications-schedule-administrationView"],
-            providers: [notification_service_1.NotificationService]
-        }),
-        __metadata("design:paramtypes", [core_1.ChangeDetectorRef, layout_1.MediaMatcher, http_1.HttpClient, router_1.Router, notification_service_1.NotificationService])
-    ], NotificationsScheduleAdministrationComponent);
-    return NotificationsScheduleAdministrationComponent;
-}());
-exports.NotificationsScheduleAdministrationComponent = NotificationsScheduleAdministrationComponent;
diff --git a/apps/maarch_entreprise/js/angular/app/administration/parameter-administration.component.js b/apps/maarch_entreprise/js/angular/app/administration/parameter-administration.component.js
deleted file mode 100644
index 8f046daaf55..00000000000
--- a/apps/maarch_entreprise/js/angular/app/administration/parameter-administration.component.js
+++ /dev/null
@@ -1,119 +0,0 @@
-"use strict";
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
-var __metadata = (this && this.__metadata) || function (k, v) {
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var core_1 = require("@angular/core");
-var layout_1 = require("@angular/cdk/layout");
-var http_1 = require("@angular/common/http");
-var router_1 = require("@angular/router");
-var translate_component_1 = require("../translate.component");
-var notification_service_1 = require("../notification.service");
-var ParameterAdministrationComponent = /** @class */ (function () {
-    function ParameterAdministrationComponent(changeDetectorRef, media, http, route, router, notify) {
-        this.http = http;
-        this.route = route;
-        this.router = router;
-        this.notify = notify;
-        this.lang = translate_component_1.LANG;
-        this.parameter = {};
-        this.loading = false;
-        $j("link[href='merged_css.php']").remove();
-        this.mobileQuery = media.matchMedia('(max-width: 768px)');
-        this._mobileQueryListener = function () { return changeDetectorRef.detectChanges(); };
-        this.mobileQuery.addListener(this._mobileQueryListener);
-    }
-    ParameterAdministrationComponent.prototype.ngOnDestroy = function () {
-        this.mobileQuery.removeListener(this._mobileQueryListener);
-    };
-    ParameterAdministrationComponent.prototype.updateBreadcrumb = function (applicationName) {
-        var breadCrumb = "<a href='index.php?reinit=true'>" + applicationName + "</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>" + this.lang.administration + "</a> > <a onclick='location.hash = \"/administration/parameters\"' style='cursor: pointer'>" + this.lang.parameters + "</a> > ";
-        if (this.creationMode == true) {
-            breadCrumb += this.lang.parameterCreation;
-        }
-        else {
-            breadCrumb += this.lang.parameterModification;
-        }
-        $j('#ariane')[0].innerHTML = breadCrumb;
-    };
-    ParameterAdministrationComponent.prototype.ngOnInit = function () {
-        var _this = this;
-        this.coreUrl = angularGlobals.coreUrl;
-        this.loading = true;
-        this.route.params.subscribe(function (params) {
-            if (typeof params['id'] == "undefined") {
-                _this.creationMode = true;
-                _this.updateBreadcrumb(angularGlobals.applicationName);
-                _this.loading = false;
-            }
-            else {
-                _this.creationMode = false;
-                _this.http.get(_this.coreUrl + "rest/parameters/" + params['id'])
-                    .subscribe(function (data) {
-                    _this.parameter = data.parameter;
-                    _this.updateBreadcrumb(angularGlobals.applicationName);
-                    if (typeof (_this.parameter.param_value_int) == "number") {
-                        _this.type = "int";
-                    }
-                    else if (_this.parameter.param_value_date) {
-                        _this.type = "date";
-                    }
-                    else {
-                        _this.type = "string";
-                    }
-                    _this.loading = false;
-                }, function () {
-                    location.href = "index.php";
-                });
-            }
-        });
-    };
-    ParameterAdministrationComponent.prototype.onSubmit = function () {
-        var _this = this;
-        if (this.type == 'date') {
-            this.parameter.param_value_int = null;
-            this.parameter.param_value_string = null;
-        }
-        else if (this.type == 'int') {
-            this.parameter.param_value_date = null;
-            this.parameter.param_value_string = null;
-        }
-        else if (this.type == 'string') {
-            this.parameter.param_value_date = null;
-            this.parameter.param_value_int = null;
-        }
-        if (this.creationMode == true) {
-            this.http.post(this.coreUrl + 'rest/parameters', this.parameter)
-                .subscribe(function (data) {
-                _this.router.navigate(['administration/parameters']);
-                _this.notify.success(_this.lang.parameterAdded);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-        else if (this.creationMode == false) {
-            this.http.put(this.coreUrl + 'rest/parameters/' + this.parameter.id, this.parameter)
-                .subscribe(function (data) {
-                _this.router.navigate(['administration/parameters']);
-                _this.notify.success(_this.lang.parameterUpdated);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-    };
-    ParameterAdministrationComponent = __decorate([
-        core_1.Component({
-            templateUrl: angularGlobals['parameter-administrationView'],
-            providers: [notification_service_1.NotificationService]
-        }),
-        __metadata("design:paramtypes", [core_1.ChangeDetectorRef, layout_1.MediaMatcher, http_1.HttpClient, router_1.ActivatedRoute, router_1.Router, notification_service_1.NotificationService])
-    ], ParameterAdministrationComponent);
-    return ParameterAdministrationComponent;
-}());
-exports.ParameterAdministrationComponent = ParameterAdministrationComponent;
diff --git a/apps/maarch_entreprise/js/angular/app/administration/parameter-administration.component.ts b/apps/maarch_entreprise/js/angular/app/administration/parameter-administration.component.ts
index fdb26500527..ceb2429c084 100644
--- a/apps/maarch_entreprise/js/angular/app/administration/parameter-administration.component.ts
+++ b/apps/maarch_entreprise/js/angular/app/administration/parameter-administration.component.ts
@@ -6,7 +6,6 @@ import { LANG } from '../translate.component';
 import { NotificationService } from '../notification.service';
 
 declare function $j(selector: any): any;
-
 declare var angularGlobals: any;
 
 
@@ -15,16 +14,18 @@ declare var angularGlobals: any;
     providers: [NotificationService]
 })
 export class ParameterAdministrationComponent implements OnInit {
-    mobileQuery: MediaQueryList;
-    private _mobileQueryListener: () => void;
-    coreUrl: string;
-    lang: any = LANG;
 
-    type: string;
-    parameter: any = {};
+    private _mobileQueryListener    : () => void;
+    mobileQuery                     : MediaQueryList;
+    
+    coreUrl                         : string;
+    lang                            : any       = LANG;
+    loading                         : boolean   = false;
+
+    parameter                       : any       = {};
+    type                            : string;
+    creationMode                    : boolean;
 
-    creationMode: boolean;
-    loading: boolean = false;
 
     constructor(changeDetectorRef: ChangeDetectorRef, media: MediaMatcher, public http: HttpClient, private route: ActivatedRoute, private router: Router, private notify: NotificationService) {
         $j("link[href='merged_css.php']").remove();
@@ -37,32 +38,19 @@ export class ParameterAdministrationComponent implements OnInit {
         this.mobileQuery.removeListener(this._mobileQueryListener);
     }
 
-    updateBreadcrumb(applicationName: string) {
-        var breadCrumb = "<a href='index.php?reinit=true'>" + applicationName + "</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>" + this.lang.administration + "</a> > <a onclick='location.hash = \"/administration/parameters\"' style='cursor: pointer'>" + this.lang.parameters + "</a> > ";
-        if (this.creationMode == true) {
-            breadCrumb += this.lang.parameterCreation;
-        } else {
-            breadCrumb += this.lang.parameterModification;
-        }
-        $j('#ariane')[0].innerHTML = breadCrumb;
-    }
-
     ngOnInit(): void {
         this.coreUrl = angularGlobals.coreUrl;
-
         this.loading = true;
 
         this.route.params.subscribe((params) => {
             if (typeof params['id'] == "undefined") {
                 this.creationMode = true;
-                this.updateBreadcrumb(angularGlobals.applicationName);
                 this.loading = false;
             } else {
                 this.creationMode = false;
                 this.http.get(this.coreUrl + "rest/parameters/" + params['id'])
                     .subscribe((data: any) => {
                         this.parameter = data.parameter;
-                        this.updateBreadcrumb(angularGlobals.applicationName);
 
                         if (typeof (this.parameter.param_value_int) == "number") {
                             this.type = "int";
@@ -96,7 +84,7 @@ export class ParameterAdministrationComponent implements OnInit {
 
         if (this.creationMode == true) {
             this.http.post(this.coreUrl + 'rest/parameters', this.parameter)
-                .subscribe((data: any) => {
+                .subscribe(() => {
                     this.router.navigate(['administration/parameters']);
                     this.notify.success(this.lang.parameterAdded);
                 }, (err) => {
@@ -104,7 +92,7 @@ export class ParameterAdministrationComponent implements OnInit {
                 });
         } else if (this.creationMode == false) {
             this.http.put(this.coreUrl + 'rest/parameters/' + this.parameter.id, this.parameter)
-                .subscribe((data: any) => {
+                .subscribe(() => {
                     this.router.navigate(['administration/parameters']);
                     this.notify.success(this.lang.parameterUpdated);
                 }, (err) => {
diff --git a/apps/maarch_entreprise/js/angular/app/administration/parameters-administration.component.js b/apps/maarch_entreprise/js/angular/app/administration/parameters-administration.component.js
deleted file mode 100644
index 5ad0e6aa01b..00000000000
--- a/apps/maarch_entreprise/js/angular/app/administration/parameters-administration.component.js
+++ /dev/null
@@ -1,93 +0,0 @@
-"use strict";
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
-var __metadata = (this && this.__metadata) || function (k, v) {
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var core_1 = require("@angular/core");
-var layout_1 = require("@angular/cdk/layout");
-var http_1 = require("@angular/common/http");
-var translate_component_1 = require("../translate.component");
-var notification_service_1 = require("../notification.service");
-var material_1 = require("@angular/material");
-var ParametersAdministrationComponent = /** @class */ (function () {
-    function ParametersAdministrationComponent(changeDetectorRef, media, http, notify) {
-        this.http = http;
-        this.notify = notify;
-        this.lang = translate_component_1.LANG;
-        this.parameters = {};
-        this.loading = false;
-        this.displayedColumns = ['id', 'description', 'value', 'actions'];
-        $j("link[href='merged_css.php']").remove();
-        this.mobileQuery = media.matchMedia('(max-width: 768px)');
-        this._mobileQueryListener = function () { return changeDetectorRef.detectChanges(); };
-        this.mobileQuery.addListener(this._mobileQueryListener);
-    }
-    ParametersAdministrationComponent.prototype.ngOnDestroy = function () {
-        this.mobileQuery.removeListener(this._mobileQueryListener);
-    };
-    ParametersAdministrationComponent.prototype.updateBreadcrumb = function (applicationName) {
-        if ($j('#ariane')[0]) {
-            $j('#ariane')[0].innerHTML = "<a href='index.php?reinit=true'>" + applicationName + "</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>" + this.lang.administration + "</a> > " + this.lang.parameters;
-        }
-    };
-    ParametersAdministrationComponent.prototype.applyFilter = function (filterValue) {
-        filterValue = filterValue.trim(); // Remove whitespace
-        filterValue = filterValue.toLowerCase(); // MatTableDataSource defaults to lowercase matches
-        this.dataSource.filter = filterValue;
-    };
-    ParametersAdministrationComponent.prototype.ngOnInit = function () {
-        var _this = this;
-        this.updateBreadcrumb(angularGlobals.applicationName);
-        this.coreUrl = angularGlobals.coreUrl;
-        this.loading = true;
-        this.http.get(this.coreUrl + 'rest/parameters')
-            .subscribe(function (data) {
-            _this.parameters = data.parameters;
-            setTimeout(function () {
-                _this.dataSource = new material_1.MatTableDataSource(_this.parameters);
-                _this.dataSource.paginator = _this.paginator;
-                _this.dataSource.sort = _this.sort;
-            }, 0);
-            _this.loading = false;
-        });
-    };
-    ParametersAdministrationComponent.prototype.deleteParameter = function (paramId) {
-        var _this = this;
-        var r = confirm(this.lang.deleteMsg);
-        if (r) {
-            this.http.delete(this.coreUrl + 'rest/parameters/' + paramId)
-                .subscribe(function (data) {
-                _this.parameters = data.parameters;
-                _this.dataSource = new material_1.MatTableDataSource(_this.parameters);
-                _this.dataSource.paginator = _this.paginator;
-                _this.dataSource.sort = _this.sort;
-                _this.notify.success(_this.lang.parameterDeleted);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-    };
-    __decorate([
-        core_1.ViewChild(material_1.MatPaginator),
-        __metadata("design:type", material_1.MatPaginator)
-    ], ParametersAdministrationComponent.prototype, "paginator", void 0);
-    __decorate([
-        core_1.ViewChild(material_1.MatSort),
-        __metadata("design:type", material_1.MatSort)
-    ], ParametersAdministrationComponent.prototype, "sort", void 0);
-    ParametersAdministrationComponent = __decorate([
-        core_1.Component({
-            templateUrl: angularGlobals["parameters-administrationView"],
-            providers: [notification_service_1.NotificationService]
-        }),
-        __metadata("design:paramtypes", [core_1.ChangeDetectorRef, layout_1.MediaMatcher, http_1.HttpClient, notification_service_1.NotificationService])
-    ], ParametersAdministrationComponent);
-    return ParametersAdministrationComponent;
-}());
-exports.ParametersAdministrationComponent = ParametersAdministrationComponent;
diff --git a/apps/maarch_entreprise/js/angular/app/administration/priorities-administration.component.js b/apps/maarch_entreprise/js/angular/app/administration/priorities-administration.component.js
deleted file mode 100644
index 5b29baa7be6..00000000000
--- a/apps/maarch_entreprise/js/angular/app/administration/priorities-administration.component.js
+++ /dev/null
@@ -1,89 +0,0 @@
-"use strict";
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
-var __metadata = (this && this.__metadata) || function (k, v) {
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var core_1 = require("@angular/core");
-var layout_1 = require("@angular/cdk/layout");
-var http_1 = require("@angular/common/http");
-var translate_component_1 = require("../translate.component");
-var notification_service_1 = require("../notification.service");
-var material_1 = require("@angular/material");
-var PrioritiesAdministrationComponent = /** @class */ (function () {
-    function PrioritiesAdministrationComponent(changeDetectorRef, media, http, notify) {
-        this.http = http;
-        this.notify = notify;
-        this.lang = translate_component_1.LANG;
-        this.loading = false;
-        this.priorities = [];
-        this.displayedColumns = ['label', 'delays', 'working_days', 'default_priority', 'actions'];
-        $j("link[href='merged_css.php']").remove();
-        this.mobileQuery = media.matchMedia('(max-width: 768px)');
-        this._mobileQueryListener = function () { return changeDetectorRef.detectChanges(); };
-        this.mobileQuery.addListener(this._mobileQueryListener);
-    }
-    PrioritiesAdministrationComponent.prototype.applyFilter = function (filterValue) {
-        filterValue = filterValue.trim(); // Remove whitespace
-        filterValue = filterValue.toLowerCase(); // MatTableDataSource defaults to lowercase matches
-        this.dataSource.filter = filterValue;
-    };
-    PrioritiesAdministrationComponent.prototype.ngOnDestroy = function () {
-        this.mobileQuery.removeListener(this._mobileQueryListener);
-    };
-    PrioritiesAdministrationComponent.prototype.ngOnInit = function () {
-        var _this = this;
-        this.coreUrl = angularGlobals.coreUrl;
-        this.loading = true;
-        this.http.get(this.coreUrl + 'rest/priorities')
-            .subscribe(function (data) {
-            _this.priorities = data["priorities"];
-            _this.loading = false;
-            setTimeout(function () {
-                _this.dataSource = new material_1.MatTableDataSource(_this.priorities);
-                _this.dataSource.paginator = _this.paginator;
-                _this.dataSource.sort = _this.sort;
-            }, 0);
-        }, function () {
-            location.href = "index.php";
-        });
-    };
-    PrioritiesAdministrationComponent.prototype.deletePriority = function (id) {
-        var _this = this;
-        var r = confirm(this.lang.deleteMsg);
-        if (r) {
-            this.http.delete(this.coreUrl + "rest/priorities/" + id)
-                .subscribe(function (data) {
-                _this.priorities = data["priorities"];
-                _this.dataSource = new material_1.MatTableDataSource(_this.priorities);
-                _this.dataSource.paginator = _this.paginator;
-                _this.dataSource.sort = _this.sort;
-                _this.notify.success(_this.lang.priorityDeleted);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-    };
-    __decorate([
-        core_1.ViewChild(material_1.MatPaginator),
-        __metadata("design:type", material_1.MatPaginator)
-    ], PrioritiesAdministrationComponent.prototype, "paginator", void 0);
-    __decorate([
-        core_1.ViewChild(material_1.MatSort),
-        __metadata("design:type", material_1.MatSort)
-    ], PrioritiesAdministrationComponent.prototype, "sort", void 0);
-    PrioritiesAdministrationComponent = __decorate([
-        core_1.Component({
-            templateUrl: angularGlobals["priorities-administrationView"],
-            providers: [notification_service_1.NotificationService]
-        }),
-        __metadata("design:paramtypes", [core_1.ChangeDetectorRef, layout_1.MediaMatcher, http_1.HttpClient, notification_service_1.NotificationService])
-    ], PrioritiesAdministrationComponent);
-    return PrioritiesAdministrationComponent;
-}());
-exports.PrioritiesAdministrationComponent = PrioritiesAdministrationComponent;
diff --git a/apps/maarch_entreprise/js/angular/app/administration/priority-administration.component.js b/apps/maarch_entreprise/js/angular/app/administration/priority-administration.component.js
deleted file mode 100644
index b31017b77e6..00000000000
--- a/apps/maarch_entreprise/js/angular/app/administration/priority-administration.component.js
+++ /dev/null
@@ -1,104 +0,0 @@
-"use strict";
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
-var __metadata = (this && this.__metadata) || function (k, v) {
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var core_1 = require("@angular/core");
-var layout_1 = require("@angular/cdk/layout");
-var http_1 = require("@angular/common/http");
-var router_1 = require("@angular/router");
-var translate_component_1 = require("../translate.component");
-var notification_service_1 = require("../notification.service");
-var PriorityAdministrationComponent = /** @class */ (function () {
-    function PriorityAdministrationComponent(changeDetectorRef, media, http, route, router, notify) {
-        this.http = http;
-        this.route = route;
-        this.router = router;
-        this.notify = notify;
-        this.lang = translate_component_1.LANG;
-        this.loading = false;
-        this.priority = {
-            useDoctypeDelay: false,
-            color: "#135f7f",
-            delays: "0",
-            working_days: "false",
-            default_priority: false
-        };
-        $j("link[href='merged_css.php']").remove();
-        this.mobileQuery = media.matchMedia('(max-width: 768px)');
-        this._mobileQueryListener = function () { return changeDetectorRef.detectChanges(); };
-        this.mobileQuery.addListener(this._mobileQueryListener);
-    }
-    PriorityAdministrationComponent.prototype.ngOnDestroy = function () {
-        this.mobileQuery.removeListener(this._mobileQueryListener);
-    };
-    PriorityAdministrationComponent.prototype.ngOnInit = function () {
-        var _this = this;
-        this.coreUrl = angularGlobals.coreUrl;
-        this.loading = true;
-        this.route.params.subscribe(function (params) {
-            if (typeof params['id'] == "undefined") {
-                _this.creationMode = true;
-                _this.loading = false;
-            }
-            else {
-                _this.creationMode = false;
-                _this.id = params['id'];
-                _this.http.get(_this.coreUrl + "rest/priorities/" + _this.id)
-                    .subscribe(function (data) {
-                    _this.priority = data.priority;
-                    _this.priority.useDoctypeDelay = _this.priority.delays != null;
-                    if (_this.priority.working_days === true) {
-                        _this.priority.working_days = "true";
-                    }
-                    else {
-                        _this.priority.working_days = "false";
-                    }
-                    _this.loading = false;
-                }, function () {
-                    location.href = "index.php";
-                });
-            }
-        });
-    };
-    PriorityAdministrationComponent.prototype.onSubmit = function () {
-        var _this = this;
-        if (this.priority.useDoctypeDelay == false) {
-            this.priority.delays = null;
-        }
-        this.priority.working_days = this.priority.working_days == "true";
-        if (this.creationMode) {
-            this.http.post(this.coreUrl + "rest/priorities", this.priority)
-                .subscribe(function () {
-                _this.notify.success(_this.lang.priorityAdded);
-                _this.router.navigate(["/administration/priorities"]);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-        else {
-            this.http.put(this.coreUrl + "rest/priorities/" + this.id, this.priority)
-                .subscribe(function () {
-                _this.notify.success(_this.lang.priorityUpdated);
-                _this.router.navigate(["/administration/priorities"]);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-    };
-    PriorityAdministrationComponent = __decorate([
-        core_1.Component({
-            templateUrl: angularGlobals["priority-administrationView"],
-            providers: [notification_service_1.NotificationService]
-        }),
-        __metadata("design:paramtypes", [core_1.ChangeDetectorRef, layout_1.MediaMatcher, http_1.HttpClient, router_1.ActivatedRoute, router_1.Router, notification_service_1.NotificationService])
-    ], PriorityAdministrationComponent);
-    return PriorityAdministrationComponent;
-}());
-exports.PriorityAdministrationComponent = PriorityAdministrationComponent;
diff --git a/apps/maarch_entreprise/js/angular/app/administration/reports-administration.component.js b/apps/maarch_entreprise/js/angular/app/administration/reports-administration.component.js
deleted file mode 100644
index 53df304647d..00000000000
--- a/apps/maarch_entreprise/js/angular/app/administration/reports-administration.component.js
+++ /dev/null
@@ -1,84 +0,0 @@
-"use strict";
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
-var __metadata = (this && this.__metadata) || function (k, v) {
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var core_1 = require("@angular/core");
-var layout_1 = require("@angular/cdk/layout");
-var http_1 = require("@angular/common/http");
-var translate_component_1 = require("../translate.component");
-var notification_service_1 = require("../notification.service");
-var ReportsAdministrationComponent = /** @class */ (function () {
-    function ReportsAdministrationComponent(changeDetectorRef, media, http, notify) {
-        this.http = http;
-        this.notify = notify;
-        this.lang = translate_component_1.LANG;
-        this.groups = [];
-        this.reports = [];
-        this.selectedGroup = "";
-        this.loading = false;
-        this.loadingOptions = false;
-        $j("link[href='merged_css.php']").remove();
-        this.mobileQuery = media.matchMedia('(max-width: 768px)');
-        this._mobileQueryListener = function () { return changeDetectorRef.detectChanges(); };
-        this.mobileQuery.addListener(this._mobileQueryListener);
-    }
-    ReportsAdministrationComponent.prototype.ngOnDestroy = function () {
-        this.mobileQuery.removeListener(this._mobileQueryListener);
-    };
-    ReportsAdministrationComponent.prototype.updateBreadcrumb = function (applicationName) {
-        if ($j('#ariane')[0]) {
-            $j('#ariane')[0].innerHTML = "<a href='index.php?reinit=true'>" + applicationName + "</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>Administration</a> > " + this.lang.reports;
-        }
-    };
-    ReportsAdministrationComponent.prototype.ngOnInit = function () {
-        var _this = this;
-        this.updateBreadcrumb(angularGlobals.applicationName);
-        this.coreUrl = angularGlobals.coreUrl;
-        this.loading = true;
-        this.http.get(this.coreUrl + 'rest/reports/groups')
-            .subscribe(function (data) {
-            _this.groups = data['groups'];
-            _this.loadReports(0);
-            _this.loading = false;
-        }, function () {
-            location.href = "index.php";
-        });
-    };
-    ReportsAdministrationComponent.prototype.loadReports = function (index) {
-        var _this = this;
-        this.selectedGroup = this.groups[index].group_id;
-        this.loadingOptions = true;
-        this.http.get(this.coreUrl + 'rest/reports/groups/' + this.groups[index].group_id)
-            .subscribe(function (data) {
-            _this.reports = data['reports'];
-            _this.loadingOptions = false;
-        }, function (err) {
-            _this.notify.error(err.error.errors);
-        });
-    };
-    ReportsAdministrationComponent.prototype.saveReport = function () {
-        var _this = this;
-        this.http.put(this.coreUrl + 'rest/reports/groups/' + this.selectedGroup, this.reports)
-            .subscribe(function () {
-            _this.notify.success(_this.lang.modificationSaved);
-        }, function (err) {
-            _this.notify.error(err.error.errors);
-        });
-    };
-    ReportsAdministrationComponent = __decorate([
-        core_1.Component({
-            templateUrl: angularGlobals["reports-administrationView"],
-            providers: [notification_service_1.NotificationService]
-        }),
-        __metadata("design:paramtypes", [core_1.ChangeDetectorRef, layout_1.MediaMatcher, http_1.HttpClient, notification_service_1.NotificationService])
-    ], ReportsAdministrationComponent);
-    return ReportsAdministrationComponent;
-}());
-exports.ReportsAdministrationComponent = ReportsAdministrationComponent;
diff --git a/apps/maarch_entreprise/js/angular/app/administration/status-administration.component.js b/apps/maarch_entreprise/js/angular/app/administration/status-administration.component.js
deleted file mode 100644
index 6399741759d..00000000000
--- a/apps/maarch_entreprise/js/angular/app/administration/status-administration.component.js
+++ /dev/null
@@ -1,162 +0,0 @@
-"use strict";
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
-var __metadata = (this && this.__metadata) || function (k, v) {
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var core_1 = require("@angular/core");
-var layout_1 = require("@angular/cdk/layout");
-var http_1 = require("@angular/common/http");
-var router_1 = require("@angular/router");
-var translate_component_1 = require("../translate.component");
-var notification_service_1 = require("../notification.service");
-var StatusAdministrationComponent = /** @class */ (function () {
-    function StatusAdministrationComponent(changeDetectorRef, media, http, route, router, notify) {
-        this.http = http;
-        this.route = route;
-        this.router = router;
-        this.notify = notify;
-        this.lang = translate_component_1.LANG;
-        this.status = {
-            id: null,
-            label_status: null,
-            can_be_searched: null,
-            can_be_modified: null,
-            is_folder_status: null,
-            img_filename: null
-        };
-        this.statusImages = "";
-        this.loading = false;
-        $j("link[href='merged_css.php']").remove();
-        this.mobileQuery = media.matchMedia('(max-width: 768px)');
-        this._mobileQueryListener = function () { return changeDetectorRef.detectChanges(); };
-        this.mobileQuery.addListener(this._mobileQueryListener);
-    }
-    StatusAdministrationComponent.prototype.ngOnDestroy = function () {
-        this.mobileQuery.removeListener(this._mobileQueryListener);
-    };
-    StatusAdministrationComponent.prototype.ngOnInit = function () {
-        var _this = this;
-        this.loading = true;
-        this.coreUrl = angularGlobals.coreUrl;
-        this.prepareStatus();
-        this.route.params.subscribe(function (params) {
-            if (typeof params['identifier'] == "undefined") {
-                _this.http.get(_this.coreUrl + 'rest/administration/statuses/new')
-                    .subscribe(function (data) {
-                    _this.status.img_filename = "fm-letter";
-                    _this.status.can_be_searched = true;
-                    _this.status.can_be_modified = true;
-                    _this.statusImages = data['statusImages'];
-                    _this.creationMode = true;
-                    _this.loading = false;
-                });
-                _this.statusIdAvailable = false;
-            }
-            else {
-                _this.creationMode = false;
-                _this.statusIdentifier = params['identifier'];
-                _this.getStatusInfos(_this.statusIdentifier);
-                _this.statusIdAvailable = true;
-                _this.loading = false;
-            }
-            _this.updateBreadcrumb(angularGlobals.applicationName);
-        });
-    };
-    StatusAdministrationComponent.prototype.prepareStatus = function () {
-        $j('#inner_content').remove();
-    };
-    StatusAdministrationComponent.prototype.updateBreadcrumb = function (applicationName) {
-        var breadCrumb = "<a href='index.php?reinit=true'>" + applicationName + "</a> > " +
-            "<a onclick='location.hash = \"/administration\"' style='cursor: pointer'>" + this.lang.administration + "</a> > " +
-            "<a onclick='location.hash = \"/administration/statuses\"' style='cursor: pointer'>" + this.lang.statuses + "</a> > ";
-        if (this.creationMode == true) {
-            breadCrumb += this.lang.statusCreation;
-        }
-        else {
-            breadCrumb += this.lang.statusModification;
-        }
-        $j('#ariane')[0].innerHTML = breadCrumb;
-    };
-    StatusAdministrationComponent.prototype.getStatusInfos = function (statusIdentifier) {
-        var _this = this;
-        this.http.get(this.coreUrl + 'rest/statuses/' + statusIdentifier)
-            .subscribe(function (data) {
-            _this.status = data['status'][0];
-            if (_this.status.can_be_searched == 'Y') {
-                _this.status.can_be_searched = true;
-            }
-            else {
-                _this.status.can_be_searched = false;
-            }
-            if (_this.status.can_be_modified == 'Y') {
-                _this.status.can_be_modified = true;
-            }
-            else {
-                _this.status.can_be_modified = false;
-            }
-            if (_this.status.is_folder_status == 'Y') {
-                _this.status.is_folder_status = true;
-            }
-            else {
-                _this.status.is_folder_status = false;
-            }
-            _this.statusImages = data['statusImages'];
-        }, function (err) {
-            _this.notify.error(err.error.errors);
-        });
-    };
-    StatusAdministrationComponent.prototype.isAvailable = function () {
-        var _this = this;
-        if (this.status.id) {
-            this.http.get(this.coreUrl + "rest/status/" + this.status.id)
-                .subscribe(function () {
-                _this.statusIdAvailable = false;
-            }, function (err) {
-                _this.statusIdAvailable = false;
-                if (err.error.errors == "id not found") {
-                    _this.statusIdAvailable = true;
-                }
-            });
-        }
-        else {
-            this.statusIdAvailable = false;
-        }
-    };
-    StatusAdministrationComponent.prototype.submitStatus = function () {
-        var _this = this;
-        if (this.creationMode == true) {
-            this.http.post(this.coreUrl + 'rest/statuses', this.status)
-                .subscribe(function (data) {
-                _this.notify.success(_this.lang.statusAdded);
-                _this.router.navigate(['administration/statuses']);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-        else if (this.creationMode == false) {
-            this.http.put(this.coreUrl + 'rest/statuses/' + this.statusIdentifier, this.status)
-                .subscribe(function (data) {
-                _this.notify.success(_this.lang.statusUpdated);
-                _this.router.navigate(['administration/statuses']);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-    };
-    StatusAdministrationComponent = __decorate([
-        core_1.Component({
-            templateUrl: angularGlobals['status-administrationView'],
-            styleUrls: ['css/status-administration.component.css'],
-            providers: [notification_service_1.NotificationService]
-        }),
-        __metadata("design:paramtypes", [core_1.ChangeDetectorRef, layout_1.MediaMatcher, http_1.HttpClient, router_1.ActivatedRoute, router_1.Router, notification_service_1.NotificationService])
-    ], StatusAdministrationComponent);
-    return StatusAdministrationComponent;
-}());
-exports.StatusAdministrationComponent = StatusAdministrationComponent;
diff --git a/apps/maarch_entreprise/js/angular/app/administration/statuses-administration.component.js b/apps/maarch_entreprise/js/angular/app/administration/statuses-administration.component.js
deleted file mode 100644
index 582f49aedb7..00000000000
--- a/apps/maarch_entreprise/js/angular/app/administration/statuses-administration.component.js
+++ /dev/null
@@ -1,100 +0,0 @@
-"use strict";
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
-var __metadata = (this && this.__metadata) || function (k, v) {
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var core_1 = require("@angular/core");
-var layout_1 = require("@angular/cdk/layout");
-var http_1 = require("@angular/common/http");
-var translate_component_1 = require("../translate.component");
-var notification_service_1 = require("../notification.service");
-var material_1 = require("@angular/material");
-var StatusesAdministrationComponent = /** @class */ (function () {
-    function StatusesAdministrationComponent(changeDetectorRef, media, http, notify) {
-        this.http = http;
-        this.notify = notify;
-        this.lang = translate_component_1.LANG;
-        this.statuses = [];
-        this.loading = false;
-        this.displayedColumns = ['img_filename', 'id', 'label_status', 'identifier'];
-        this.dataSource = new material_1.MatTableDataSource(this.statuses);
-        $j("link[href='merged_css.php']").remove();
-        this.mobileQuery = media.matchMedia('(max-width: 768px)');
-        this._mobileQueryListener = function () { return changeDetectorRef.detectChanges(); };
-        this.mobileQuery.addListener(this._mobileQueryListener);
-    }
-    StatusesAdministrationComponent.prototype.applyFilter = function (filterValue) {
-        filterValue = filterValue.trim(); // Remove whitespace
-        filterValue = filterValue.toLowerCase(); // MatTableDataSource defaults to lowercase matches
-        this.dataSource.filter = filterValue;
-    };
-    StatusesAdministrationComponent.prototype.ngOnDestroy = function () {
-        this.mobileQuery.removeListener(this._mobileQueryListener);
-    };
-    StatusesAdministrationComponent.prototype.ngOnInit = function () {
-        var _this = this;
-        this.coreUrl = angularGlobals.coreUrl;
-        this.prepareStatus();
-        this.loading = true;
-        this.http.get(this.coreUrl + 'rest/statuses')
-            .subscribe(function (data) {
-            _this.statuses = data.statuses;
-            _this.updateBreadcrumb(angularGlobals.applicationName);
-            _this.loading = false;
-            setTimeout(function () {
-                _this.dataSource = new material_1.MatTableDataSource(_this.statuses);
-                _this.dataSource.paginator = _this.paginator;
-                _this.dataSource.sort = _this.sort;
-            }, 0);
-        }, function (err) {
-            _this.notify.error(err.error.errors);
-        });
-    };
-    StatusesAdministrationComponent.prototype.prepareStatus = function () {
-        $j('#inner_content').remove();
-    };
-    StatusesAdministrationComponent.prototype.updateBreadcrumb = function (applicationName) {
-        $j('#ariane')[0].innerHTML = "<a href='index.php?reinit=true'>" + applicationName + "</a> > " +
-            "<a onclick='location.hash = \"/administration\"' style='cursor: pointer'>" + this.lang.administration + "</a> > " + this.lang.statuses;
-    };
-    StatusesAdministrationComponent.prototype.deleteStatus = function (status) {
-        var _this = this;
-        var resp = confirm(this.lang.confirmAction + ' ' + this.lang.delete + ' « ' + status.id + ' »');
-        if (resp) {
-            this.http.delete(this.coreUrl + 'rest/statuses/' + status.identifier)
-                .subscribe(function (data) {
-                _this.statuses = data.statuses;
-                _this.dataSource = new material_1.MatTableDataSource(_this.statuses);
-                _this.dataSource.paginator = _this.paginator;
-                _this.dataSource.sort = _this.sort;
-                _this.notify.success(_this.lang.statusDeleted);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-    };
-    __decorate([
-        core_1.ViewChild(material_1.MatPaginator),
-        __metadata("design:type", material_1.MatPaginator)
-    ], StatusesAdministrationComponent.prototype, "paginator", void 0);
-    __decorate([
-        core_1.ViewChild(material_1.MatSort),
-        __metadata("design:type", material_1.MatSort)
-    ], StatusesAdministrationComponent.prototype, "sort", void 0);
-    StatusesAdministrationComponent = __decorate([
-        core_1.Component({
-            templateUrl: angularGlobals['statuses-administrationView'],
-            styleUrls: [],
-            providers: [notification_service_1.NotificationService]
-        }),
-        __metadata("design:paramtypes", [core_1.ChangeDetectorRef, layout_1.MediaMatcher, http_1.HttpClient, notification_service_1.NotificationService])
-    ], StatusesAdministrationComponent);
-    return StatusesAdministrationComponent;
-}());
-exports.StatusesAdministrationComponent = StatusesAdministrationComponent;
diff --git a/apps/maarch_entreprise/js/angular/app/administration/update-status-administration.component.js b/apps/maarch_entreprise/js/angular/app/administration/update-status-administration.component.js
deleted file mode 100644
index 2dff6bdc2f9..00000000000
--- a/apps/maarch_entreprise/js/angular/app/administration/update-status-administration.component.js
+++ /dev/null
@@ -1,98 +0,0 @@
-"use strict";
-var __extends = (this && this.__extends) || (function () {
-    var extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
-    return function (d, b) {
-        extendStatics(d, b);
-        function __() { this.constructor = d; }
-        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-    };
-})();
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
-var __metadata = (this && this.__metadata) || function (k, v) {
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var core_1 = require("@angular/core");
-var layout_1 = require("@angular/cdk/layout");
-var http_1 = require("@angular/common/http");
-var translate_component_1 = require("../translate.component");
-var notification_service_1 = require("../notification.service");
-var autocomplete_plugin_1 = require("../../plugins/autocomplete.plugin");
-var UpdateStatusAdministrationComponent = /** @class */ (function (_super) {
-    __extends(UpdateStatusAdministrationComponent, _super);
-    function UpdateStatusAdministrationComponent(changeDetectorRef, media, http, notify) {
-        var _this = _super.call(this, http, ['statuses']) || this;
-        _this.http = http;
-        _this.notify = notify;
-        _this.lang = translate_component_1.LANG;
-        _this.statuses = [];
-        _this.statusId = "";
-        _this.resId = "";
-        _this.chrono = "";
-        _this.loading = false;
-        $j("link[href='merged_css.php']").remove();
-        _this.mobileQuery = media.matchMedia('(max-width: 768px)');
-        _this._mobileQueryListener = function () { return changeDetectorRef.detectChanges(); };
-        _this.mobileQuery.addListener(_this._mobileQueryListener);
-        return _this;
-    }
-    UpdateStatusAdministrationComponent.prototype.ngOnDestroy = function () {
-        this.mobileQuery.removeListener(this._mobileQueryListener);
-    };
-    UpdateStatusAdministrationComponent.prototype.updateBreadcrumb = function (applicationName) {
-        if ($j('#ariane')[0]) {
-            $j('#ariane')[0].innerHTML = "<a href='index.php?reinit=true'>" + applicationName + "</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>Administration</a> > Changement du statut";
-        }
-    };
-    UpdateStatusAdministrationComponent.prototype.ngOnInit = function () {
-        this.loading = true;
-        this.updateBreadcrumb(angularGlobals.applicationName);
-        this.coreUrl = angularGlobals.coreUrl;
-        this.loading = false;
-    };
-    UpdateStatusAdministrationComponent.prototype.onSubmit = function () {
-        var _this = this;
-        var body = {
-            "status": this.statusId
-        };
-        if (this.resId != "") {
-            body["resId"] = this.resId;
-        }
-        else if (this.chrono != "") {
-            body["chrono"] = this.chrono;
-        }
-        this.http.put(this.coreUrl + "rest/res/resource/status", body)
-            .subscribe(function () {
-            _this.resId = "";
-            _this.chrono = "";
-            _this.statusId = "";
-            _this.notify.success(_this.lang.modificationSaved);
-        }, function (err) {
-            _this.notify.error(err.error.errors);
-        });
-    };
-    UpdateStatusAdministrationComponent.prototype.resetInput = function (e) {
-        if (e.index == 0) {
-            this.resId = "";
-        }
-        else {
-            this.chrono = "";
-        }
-    };
-    UpdateStatusAdministrationComponent = __decorate([
-        core_1.Component({
-            templateUrl: angularGlobals["update-status-administrationView"],
-            providers: [notification_service_1.NotificationService]
-        }),
-        __metadata("design:paramtypes", [core_1.ChangeDetectorRef, layout_1.MediaMatcher, http_1.HttpClient, notification_service_1.NotificationService])
-    ], UpdateStatusAdministrationComponent);
-    return UpdateStatusAdministrationComponent;
-}(autocomplete_plugin_1.AutoCompletePlugin));
-exports.UpdateStatusAdministrationComponent = UpdateStatusAdministrationComponent;
diff --git a/apps/maarch_entreprise/js/angular/app/administration/update-status-administration.component.ts b/apps/maarch_entreprise/js/angular/app/administration/update-status-administration.component.ts
index 06a7bd0bd3a..f6cc7aeb477 100644
--- a/apps/maarch_entreprise/js/angular/app/administration/update-status-administration.component.ts
+++ b/apps/maarch_entreprise/js/angular/app/administration/update-status-administration.component.ts
@@ -7,7 +7,6 @@ import { NotificationService } from '../notification.service';
 import { AutoCompletePlugin } from '../../plugins/autocomplete.plugin';
 
 declare function $j(selector: any): any;
-
 declare var angularGlobals: any;
 
 
@@ -16,16 +15,19 @@ declare var angularGlobals: any;
     providers: [NotificationService]
 })
 export class UpdateStatusAdministrationComponent extends AutoCompletePlugin implements OnInit {
-    mobileQuery: MediaQueryList;
-    private _mobileQueryListener: () => void;
-    coreUrl: string;
-    lang: any = LANG;
-    statuses: any[] = [];
-    statusId: string = "";
-    resId: string = "";
-    chrono: string = "";
 
-    loading: boolean = false;
+    private _mobileQueryListener    : () => void;
+    mobileQuery                     : MediaQueryList;
+
+    coreUrl                         : string;
+    lang                            : any       = LANG;
+    loading                         : boolean   = false;
+
+    statuses                        : any[]     = [];
+    statusId                        : string    = "";
+    resId                           : string    = "";
+    chrono                          : string    = "";
+
 
     constructor(changeDetectorRef: ChangeDetectorRef, media: MediaMatcher, public http: HttpClient, private notify: NotificationService) {
         super(http, ['statuses']);
@@ -39,21 +41,13 @@ export class UpdateStatusAdministrationComponent extends AutoCompletePlugin impl
         this.mobileQuery.removeListener(this._mobileQueryListener);
     }
 
-    updateBreadcrumb(applicationName: string) {
-        if ($j('#ariane')[0]) {
-            $j('#ariane')[0].innerHTML = "<a href='index.php?reinit=true'>" + applicationName + "</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>Administration</a> > Changement du statut";
-        }
-    }
-
     ngOnInit(): void {
         this.loading = true;
-        this.updateBreadcrumb(angularGlobals.applicationName);
         this.coreUrl = angularGlobals.coreUrl;
         this.loading = false;
     }
 
     onSubmit() {
-
         var body = {
             "status": this.statusId
         };
@@ -62,6 +56,7 @@ export class UpdateStatusAdministrationComponent extends AutoCompletePlugin impl
         } else if (this.chrono != "") {
             body["chrono"] = this.chrono;
         }
+
         this.http.put(this.coreUrl + "rest/res/resource/status", body)
             .subscribe(() => {
                 this.resId = "";
diff --git a/apps/maarch_entreprise/js/angular/app/administration/user-administration.component.js b/apps/maarch_entreprise/js/angular/app/administration/user-administration.component.js
deleted file mode 100644
index 326f30f7a37..00000000000
--- a/apps/maarch_entreprise/js/angular/app/administration/user-administration.component.js
+++ /dev/null
@@ -1,438 +0,0 @@
-"use strict";
-var __extends = (this && this.__extends) || (function () {
-    var extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
-    return function (d, b) {
-        extendStatics(d, b);
-        function __() { this.constructor = d; }
-        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-    };
-})();
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
-var __metadata = (this && this.__metadata) || function (k, v) {
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var core_1 = require("@angular/core");
-var layout_1 = require("@angular/cdk/layout");
-var http_1 = require("@angular/common/http");
-var router_1 = require("@angular/router");
-var translate_component_1 = require("../translate.component");
-var notification_service_1 = require("../notification.service");
-var material_1 = require("@angular/material");
-var autocomplete_plugin_1 = require("../../plugins/autocomplete.plugin");
-var UserAdministrationComponent = /** @class */ (function (_super) {
-    __extends(UserAdministrationComponent, _super);
-    function UserAdministrationComponent(changeDetectorRef, media, http, route, router, zone, notify) {
-        var _this = _super.call(this, http, ['users']) || this;
-        _this.http = http;
-        _this.route = route;
-        _this.router = router;
-        _this.zone = zone;
-        _this.notify = notify;
-        _this.lang = translate_component_1.LANG;
-        _this._search = '';
-        _this.user = {};
-        _this.signatureModel = {
-            base64: "",
-            base64ForJs: "",
-            name: "",
-            type: "",
-            size: 0,
-            label: "",
-        };
-        _this.userAbsenceModel = [];
-        _this.userList = [];
-        _this.selectedSignature = -1;
-        _this.selectedSignatureLabel = "";
-        _this.data = [];
-        _this.CurrentYear = new Date().getFullYear();
-        _this.currentMonth = new Date().getMonth() + 1;
-        _this.minDate = new Date();
-        _this.loading = false;
-        _this.displayedColumns = ['event_date', 'event_type', 'info', 'remote_ip'];
-        _this.dataSource = new material_1.MatTableDataSource(_this.data);
-        $j("link[href='merged_css.php']").remove();
-        _this.mobileQuery = media.matchMedia('(max-width: 768px)');
-        _this._mobileQueryListener = function () { return changeDetectorRef.detectChanges(); };
-        _this.mobileQuery.addListener(_this._mobileQueryListener);
-        window['angularUserAdministrationComponent'] = {
-            componentAfterUpload: function (base64Content) { return _this.processAfterUpload(base64Content); },
-        };
-        return _this;
-    }
-    UserAdministrationComponent.prototype.applyFilter = function (filterValue) {
-        filterValue = filterValue.trim(); // Remove whitespace
-        filterValue = filterValue.toLowerCase(); // MatTableDataSource defaults to lowercase matches
-        this.dataSource.filter = filterValue;
-    };
-    UserAdministrationComponent.prototype.ngOnDestroy = function () {
-        this.mobileQuery.removeListener(this._mobileQueryListener);
-    };
-    UserAdministrationComponent.prototype.ngOnInit = function () {
-        var _this = this;
-        this.coreUrl = angularGlobals.coreUrl;
-        this.loading = true;
-        this.route.params.subscribe(function (params) {
-            if (typeof params['id'] == "undefined") {
-                _this.creationMode = true;
-                _this.loading = false;
-            }
-            else {
-                _this.creationMode = false;
-                _this.serialId = params['id'];
-                _this.http.get(_this.coreUrl + "rest/users/" + _this.serialId + "/details")
-                    .subscribe(function (data) {
-                    _this.user = data;
-                    _this.data = data.history;
-                    _this.userId = data.user_id;
-                    _this.minDate = new Date(_this.CurrentYear + '-' + _this.currentMonth + '-01');
-                    _this.loading = false;
-                    setTimeout(function () {
-                        _this.dataSource = new material_1.MatTableDataSource(_this.data);
-                        _this.dataSource.paginator = _this.paginator;
-                        _this.dataSource.sort = _this.sort;
-                    }, 0);
-                }, function () {
-                    location.href = "index.php";
-                });
-            }
-        });
-    };
-    UserAdministrationComponent.prototype.toogleRedirect = function (basket) {
-        $j('#redirectUser_' + basket.group_id + '_' + basket.basket_id).toggle();
-        this.http.get(this.coreUrl + 'rest/users')
-            .subscribe(function (data) {
-            //this.userList = data['users'];
-        }, function () {
-            location.href = "index.php";
-        });
-    };
-    UserAdministrationComponent.prototype.initService = function () {
-        var _this = this;
-        if ($j('.jstree-container-ul').length == 0) {
-            $j('#jstree').jstree({
-                "checkbox": {
-                    "three_state": false //no cascade selection
-                },
-                'core': {
-                    'themes': {
-                        'name': 'proton',
-                        'responsive': true
-                    },
-                    'data': this.user.allEntities
-                },
-                "plugins": ["checkbox", "search"]
-            });
-            $j('#jstree')
-                .on('select_node.jstree', function (e, data) {
-                _this.addEntity(data.node.id);
-            }).on('deselect_node.jstree', function (e, data) {
-                _this.deleteEntity(data.node.id);
-            })
-                .jstree();
-            var to = false;
-            $j('#jstree_search').keyup(function () {
-                if (to) {
-                    clearTimeout(to);
-                }
-                to = setTimeout(function () {
-                    var v = $j('#jstree_search').val();
-                    $j('#jstree').jstree(true).search(v);
-                }, 250);
-            });
-        }
-    };
-    UserAdministrationComponent.prototype.processAfterUpload = function (b64Content) {
-        var _this = this;
-        this.zone.run(function () { return _this.resfreshUpload(b64Content); });
-    };
-    UserAdministrationComponent.prototype.resfreshUpload = function (b64Content) {
-        if (this.signatureModel.size <= 2000000) {
-            this.signatureModel.base64 = b64Content.replace(/^data:.*?;base64,/, "");
-            this.signatureModel.base64ForJs = b64Content;
-        }
-        else {
-            this.signatureModel.name = "";
-            this.signatureModel.size = 0;
-            this.signatureModel.type = "";
-            this.signatureModel.base64 = "";
-            this.signatureModel.base64ForJs = "";
-            this.notify.error("Taille maximum de fichier dépassée (2 MB)");
-        }
-    };
-    UserAdministrationComponent.prototype.clickOnUploader = function (id) {
-        $j('#' + id).click();
-    };
-    UserAdministrationComponent.prototype.uploadSignatureTrigger = function (fileInput) {
-        var _this = this;
-        if (fileInput.target.files && fileInput.target.files[0]) {
-            var reader = new FileReader();
-            this.signatureModel.name = fileInput.target.files[0].name;
-            this.signatureModel.size = fileInput.target.files[0].size;
-            this.signatureModel.type = fileInput.target.files[0].type;
-            if (this.signatureModel.label == "") {
-                this.signatureModel.label = this.signatureModel.name;
-            }
-            reader.readAsDataURL(fileInput.target.files[0]);
-            reader.onload = function (value) {
-                window['angularUserAdministrationComponent'].componentAfterUpload(value.target.result);
-                _this.submitSignature();
-            };
-        }
-    };
-    UserAdministrationComponent.prototype.displaySignatureEditionForm = function (index) {
-        this.selectedSignature = index;
-        this.selectedSignatureLabel = this.user.signatures[index].signature_label;
-    };
-    UserAdministrationComponent.prototype.resetPassword = function (user) {
-        var _this = this;
-        var r = confirm(this.lang.confirmAction + ' ' + this.lang.resetPsw);
-        if (r) {
-            this.http.put(this.coreUrl + "rest/users/" + this.serialId + "/password", {})
-                .subscribe(function (data) {
-                _this.notify.success(_this.lang.pswReseted);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-    };
-    UserAdministrationComponent.prototype.toggleGroup = function (group) {
-        var _this = this;
-        if ($j('#' + group.group_id + '-input').is(':checked') == true) {
-            var groupReq = {
-                "groupId": group.group_id,
-                "role": group.role
-            };
-            this.http.post(this.coreUrl + "rest/users/" + this.serialId + "/groups", groupReq)
-                .subscribe(function (data) {
-                _this.user.groups = data.groups;
-                _this.user.allGroups = data.allGroups;
-                _this.user.baskets = data.baskets;
-                _this.notify.success(_this.lang.groupAdded);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-        else {
-            this.http.delete(this.coreUrl + "rest/users/" + this.serialId + "/groups/" + group.group_id)
-                .subscribe(function (data) {
-                _this.user.groups = data.groups;
-                _this.user.allGroups = data.allGroups;
-                _this.notify.success(_this.lang.groupDeleted);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-    };
-    UserAdministrationComponent.prototype.updateGroup = function (group) {
-        var _this = this;
-        this.http.put(this.coreUrl + "rest/users/" + this.serialId + "/groups/" + group.group_id, group)
-            .subscribe(function (data) {
-            _this.notify.success(_this.lang.groupUpdated);
-        }, function (err) {
-            _this.notify.error(err.error.errors);
-        });
-    };
-    UserAdministrationComponent.prototype.addEntity = function (entiyId) {
-        var _this = this;
-        var entity = {
-            "entityId": entiyId,
-            "role": ''
-        };
-        this.http.post(this.coreUrl + "rest/users/" + this.serialId + "/entities", entity)
-            .subscribe(function (data) {
-            _this.user.entities = data.entities;
-            _this.user.allEntities = data.allEntities;
-            _this.notify.success(_this.lang.entityAdded);
-        }, function (err) {
-            _this.notify.error(err.error.errors);
-        });
-    };
-    UserAdministrationComponent.prototype.updateEntity = function (entity) {
-        var _this = this;
-        this.http.put(this.coreUrl + "rest/users/" + this.serialId + "/entities/" + entity.entity_id, entity)
-            .subscribe(function (data) {
-            _this.notify.success(_this.lang.entityUpdated);
-        }, function (err) {
-            _this.notify.error(err.error.errors);
-        });
-    };
-    UserAdministrationComponent.prototype.updatePrimaryEntity = function (entity) {
-        var _this = this;
-        this.http.put(this.coreUrl + "rest/users/" + this.serialId + "/entities/" + entity.entity_id + "/primaryEntity", {})
-            .subscribe(function (data) {
-            _this.user['entities'] = data.entities;
-            _this.notify.success(_this.lang.entityTooglePrimary + ' « ' + entity.entity_id + ' »');
-        }, function (err) {
-            _this.notify.error(err.error.errors);
-        });
-    };
-    UserAdministrationComponent.prototype.deleteEntity = function (entityId) {
-        var _this = this;
-        this.http.delete(this.coreUrl + "rest/users/" + this.serialId + "/entities/" + entityId)
-            .subscribe(function (data) {
-            _this.user.entities = data.entities;
-            _this.user.allEntities = data.allEntities;
-            _this.notify.success(_this.lang.entityDeleted);
-        }, function (err) {
-            _this.notify.error(err.error.errors);
-        });
-    };
-    UserAdministrationComponent.prototype.submitSignature = function () {
-        var _this = this;
-        this.http.post(this.coreUrl + "rest/users/" + this.serialId + "/signatures", this.signatureModel)
-            .subscribe(function (data) {
-            _this.user.signatures = data.signatures;
-            _this.notify.success(_this.lang.signAdded);
-            _this.signatureModel = {
-                base64: "",
-                base64ForJs: "",
-                name: "",
-                type: "",
-                size: 0,
-                label: "",
-            };
-        }, function (err) {
-            _this.notify.error(err.error.errors);
-        });
-    };
-    UserAdministrationComponent.prototype.updateSignature = function (selectedSignature) {
-        var _this = this;
-        var id = this.user.signatures[selectedSignature].id;
-        var label = this.user.signatures[selectedSignature].signature_label;
-        this.http.put(this.coreUrl + "rest/users/" + this.serialId + "/signatures/" + id, { "label": label })
-            .subscribe(function (data) {
-            _this.user.signatures[selectedSignature].signature_label = data.signature.signature_label;
-            _this.notify.success(_this.lang.signUpdated);
-        }, function (err) {
-            _this.notify.error(err.error.errors);
-        });
-    };
-    UserAdministrationComponent.prototype.deleteSignature = function (signature) {
-        var _this = this;
-        var r = confirm(this.lang.confirmAction + ' ' + this.lang.delete + ' « ' + signature.signature_label + ' »');
-        if (r) {
-            this.http.delete(this.coreUrl + "rest/users/" + this.serialId + "/signatures/" + signature.id)
-                .subscribe(function (data) {
-                _this.user.signatures = data.signatures;
-                _this.notify.success(_this.lang.signDeleted);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-    };
-    UserAdministrationComponent.prototype.test = function (event) {
-        var _this = this;
-        if (event.mouseEvent.dataTransfer.files && event.mouseEvent.dataTransfer.files[0]) {
-            var reader = new FileReader();
-            this.signatureModel.name = event.mouseEvent.dataTransfer.files[0].name;
-            this.signatureModel.size = event.mouseEvent.dataTransfer.files[0].size;
-            this.signatureModel.type = event.mouseEvent.dataTransfer.files[0].type;
-            if (this.signatureModel.label == "") {
-                this.signatureModel.label = this.signatureModel.name;
-            }
-            reader.readAsDataURL(event.mouseEvent.dataTransfer.files[0]);
-            reader.onload = function (value) {
-                window['angularUserAdministrationComponent'].componentAfterUpload(value.target.result);
-                _this.submitSignature();
-            };
-        }
-    };
-    UserAdministrationComponent.prototype.addBasketRedirection = function (i, basket) {
-        var r = false;
-        if (this.user.status != 'ABS') {
-            var r_1 = confirm(this.lang.confirmAction + ' ' + this.lang.activateAbs);
-        }
-        if (r || this.user.status == 'ABS') {
-            this.userAbsenceModel.push({
-                "basketId": this.user.baskets[i].basket_id,
-                "basketName": this.user.baskets[i].basket_name,
-                "virtual": this.user.baskets[i].is_virtual,
-                "basketOwner": this.user.baskets[i].basket_owner,
-                "newUser": this.user.baskets[i].userToDisplay
-            });
-            this.activateAbsence();
-        }
-    };
-    UserAdministrationComponent.prototype.delBasketRedirection = function (i) {
-        this.user.baskets[i].userToDisplay = '';
-    };
-    UserAdministrationComponent.prototype.toggleBasket = function (basket) {
-        var _this = this;
-        this.http.put(this.coreUrl + "rest/users/" + this.serialId + "/baskets", { "basketId": basket.basket_id, "groupSerialId": basket.groupSerialId, "allowed": basket.allowed })
-            .subscribe(function (data) {
-            _this.notify.success(_this.lang.basketUpdated);
-        }, function (err) {
-            _this.notify.error(err.error.errors);
-        });
-    };
-    UserAdministrationComponent.prototype.activateAbsence = function () {
-        var _this = this;
-        this.http.put(this.coreUrl + "rest/users/" + this.serialId + "/status", { "status": "ABS" })
-            .subscribe(function (data) {
-            _this.user.status = data.user.status;
-            _this.userAbsenceModel = [];
-            _this.notify.success(_this.lang.absOn);
-        }, function (err) {
-            _this.notify.error(err.error.errors);
-        });
-    };
-    UserAdministrationComponent.prototype.desactivateAbsence = function () {
-        var _this = this;
-        this.http.put(this.coreUrl + "rest/users/" + this.serialId + "/status", { "status": "OK" })
-            .subscribe(function (data) {
-            _this.user.status = data.user.status;
-            for (var i in _this.user.baskets) {
-                _this.user.baskets[i].userToDisplay = '';
-            }
-            _this.notify.success(_this.lang.absOff);
-        }, function (err) {
-            _this.notify.error(err.error.errors);
-        });
-    };
-    UserAdministrationComponent.prototype.onSubmit = function () {
-        var _this = this;
-        if (this.creationMode) {
-            this.http.post(this.coreUrl + "rest/users", this.user)
-                .subscribe(function (data) {
-                _this.notify.success(_this.lang.userAdded);
-                _this.router.navigate(["/administration/users/" + data.user.id]);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-        else {
-            this.http.put(this.coreUrl + "rest/users/" + this.serialId, this.user)
-                .subscribe(function (data) {
-                _this.notify.success(_this.lang.userUpdated);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-    };
-    __decorate([
-        core_1.ViewChild(material_1.MatPaginator),
-        __metadata("design:type", material_1.MatPaginator)
-    ], UserAdministrationComponent.prototype, "paginator", void 0);
-    __decorate([
-        core_1.ViewChild(material_1.MatSort),
-        __metadata("design:type", material_1.MatSort)
-    ], UserAdministrationComponent.prototype, "sort", void 0);
-    UserAdministrationComponent = __decorate([
-        core_1.Component({
-            templateUrl: angularGlobals["user-administrationView"],
-            styleUrls: ['css/user-administration.component.css'],
-            providers: [notification_service_1.NotificationService]
-        }),
-        __metadata("design:paramtypes", [core_1.ChangeDetectorRef, layout_1.MediaMatcher, http_1.HttpClient, router_1.ActivatedRoute, router_1.Router, core_1.NgZone, notification_service_1.NotificationService])
-    ], UserAdministrationComponent);
-    return UserAdministrationComponent;
-}(autocomplete_plugin_1.AutoCompletePlugin));
-exports.UserAdministrationComponent = UserAdministrationComponent;
diff --git a/apps/maarch_entreprise/js/angular/app/administration/users-administration.component.js b/apps/maarch_entreprise/js/angular/app/administration/users-administration.component.js
deleted file mode 100644
index fac5868629a..00000000000
--- a/apps/maarch_entreprise/js/angular/app/administration/users-administration.component.js
+++ /dev/null
@@ -1,291 +0,0 @@
-"use strict";
-var __extends = (this && this.__extends) || (function () {
-    var extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
-    return function (d, b) {
-        extendStatics(d, b);
-        function __() { this.constructor = d; }
-        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-    };
-})();
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
-var __metadata = (this && this.__metadata) || function (k, v) {
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
-var __param = (this && this.__param) || function (paramIndex, decorator) {
-    return function (target, key) { decorator(target, key, paramIndex); }
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var core_1 = require("@angular/core");
-var layout_1 = require("@angular/cdk/layout");
-var http_1 = require("@angular/common/http");
-var translate_component_1 = require("../translate.component");
-var notification_service_1 = require("../notification.service");
-var material_1 = require("@angular/material");
-var autocomplete_plugin_1 = require("../../plugins/autocomplete.plugin");
-var UsersAdministrationComponent = /** @class */ (function (_super) {
-    __extends(UsersAdministrationComponent, _super);
-    function UsersAdministrationComponent(changeDetectorRef, media, http, notify, dialog) {
-        var _this = _super.call(this, http, ['users']) || this;
-        _this.http = http;
-        _this.notify = notify;
-        _this.dialog = dialog;
-        _this.lang = translate_component_1.LANG;
-        _this.loading = false;
-        _this.data = [];
-        _this.config = {};
-        _this.userDestRedirect = {};
-        _this.userDestRedirectModels = [];
-        _this.quota = {};
-        _this.dataSource = new material_1.MatTableDataSource(_this.data);
-        _this.displayedColumns = ['user_id', 'lastname', 'firstname', 'status', 'mail', 'actions'];
-        $j("link[href='merged_css.php']").remove();
-        _this.mobileQuery = media.matchMedia('(max-width: 768px)');
-        _this._mobileQueryListener = function () { return changeDetectorRef.detectChanges(); };
-        _this.mobileQuery.addListener(_this._mobileQueryListener);
-        return _this;
-    }
-    UsersAdministrationComponent.prototype.applyFilter = function (filterValue) {
-        filterValue = filterValue.trim(); // Remove whitespace
-        filterValue = filterValue.toLowerCase(); // MatTableDataSource defaults to lowercase matches
-        this.dataSource.filter = filterValue;
-    };
-    UsersAdministrationComponent.prototype.ngOnDestroy = function () {
-        this.mobileQuery.removeListener(this._mobileQueryListener);
-    };
-    UsersAdministrationComponent.prototype.ngOnInit = function () {
-        var _this = this;
-        this.coreUrl = angularGlobals.coreUrl;
-        this.loading = true;
-        this.http.get(this.coreUrl + 'rest/users')
-            .subscribe(function (data) {
-            _this.data = data['users'];
-            _this.quota = data['quota'];
-            if (_this.quota.actives > _this.quota.userQuota) {
-                _this.notify.error(_this.lang.quotaExceeded);
-            }
-            _this.loading = false;
-            setTimeout(function () {
-                _this.dataSource = new material_1.MatTableDataSource(_this.data);
-                _this.dataSource.paginator = _this.paginator;
-                _this.dataSource.sort = _this.sort;
-            }, 0);
-        }, function () {
-            location.href = "index.php";
-        });
-    };
-    UsersAdministrationComponent.prototype.suspendUser = function (user) {
-        var _this = this;
-        if (user.inDiffListDest == 'Y') {
-            this.userDestRedirect = user;
-            this.http.get(this.coreUrl + 'rest/listTemplates/entityDest/itemId/' + user.user_id)
-                .subscribe(function (data) {
-                _this.userDestRedirectModels = data.listTemplates;
-                _this.config = { data: { userDestRedirect: _this.userDestRedirect, userDestRedirectModels: _this.userDestRedirectModels } };
-                _this.dialogRef = _this.dialog.open(UsersAdministrationRedirectModalComponent, _this.config);
-                _this.dialogRef.afterClosed().subscribe(function (result) {
-                    if (result) {
-                        user.enabled = 'N';
-                        user.redirectListModels = result;
-                        //first, update listModels
-                        _this.http.put(_this.coreUrl + 'rest/listTemplates/entityDest/itemId/' + user.user_id, user)
-                            .subscribe(function (data) {
-                            if (data.errors) {
-                                user.enabled = 'Y';
-                                _this.notify.error(data.errors);
-                            }
-                            else {
-                                //then suspend user
-                                _this.http.put(_this.coreUrl + 'rest/users/' + user.id, user)
-                                    .subscribe(function () {
-                                    user.inDiffListDest = 'N';
-                                    _this.notify.success(_this.lang.userSuspended);
-                                    if (_this.quota.userQuota) {
-                                        _this.quota.inactives++;
-                                        _this.quota.actives--;
-                                    }
-                                }, function (err) {
-                                    user.enabled = 'Y';
-                                    _this.notify.error(err.error.errors);
-                                });
-                            }
-                        }, function (err) {
-                            _this.notify.error(err.error.errors);
-                        });
-                    }
-                    _this.dialogRef = null;
-                });
-            }, function (err) {
-                console.log(err);
-                location.href = "index.php";
-            });
-        }
-        else {
-            var r = confirm(this.lang.confirmAction + ' ' + this.lang.suspend + ' « ' + user.user_id + ' »');
-            if (r) {
-                user.enabled = 'N';
-                this.http.put(this.coreUrl + 'rest/users/' + user.id, user)
-                    .subscribe(function () {
-                    _this.notify.success(_this.lang.userSuspended);
-                    if (_this.quota.userQuota) {
-                        _this.quota.inactives++;
-                        _this.quota.actives--;
-                    }
-                }, function (err) {
-                    user.enabled = 'Y';
-                    _this.notify.error(err.error.errors);
-                });
-            }
-        }
-    };
-    UsersAdministrationComponent.prototype.activateUser = function (user) {
-        var _this = this;
-        var r = confirm(this.lang.confirmAction + ' ' + this.lang.authorize + ' « ' + user.user_id + ' »');
-        if (r) {
-            user.enabled = 'Y';
-            this.http.put(this.coreUrl + 'rest/users/' + user.id, user)
-                .subscribe(function () {
-                _this.notify.success(_this.lang.userAuthorized);
-                if (_this.quota.userQuota) {
-                    _this.quota.inactives--;
-                    _this.quota.actives++;
-                    if (_this.quota.actives > _this.quota.userQuota) {
-                        _this.notify.error(_this.lang.quotaExceeded);
-                    }
-                }
-            }, function (err) {
-                user.enabled = 'N';
-                _this.notify.error(err.error.errors);
-            });
-        }
-    };
-    UsersAdministrationComponent.prototype.deleteUser = function (user) {
-        var _this = this;
-        if (user.inDiffListDest == 'Y') {
-            this.userDestRedirect = user;
-            this.http.get(this.coreUrl + 'rest/listTemplates/entityDest/itemId/' + user.user_id)
-                .subscribe(function (data) {
-                _this.userDestRedirectModels = data.listTemplates;
-                _this.config = { data: { userDestRedirect: _this.userDestRedirect, userDestRedirectModels: _this.userDestRedirectModels } };
-                _this.dialogRef = _this.dialog.open(UsersAdministrationRedirectModalComponent, _this.config);
-                _this.dialogRef.afterClosed().subscribe(function (result) {
-                    if (result) {
-                        user.redirectListModels = result;
-                        //first, update listModels
-                        _this.http.put(_this.coreUrl + 'rest/listTemplates/entityDest/itemId/' + user.user_id, user)
-                            .subscribe(function (data) {
-                            if (data.errors) {
-                                _this.notify.error(data.errors);
-                            }
-                            else {
-                                //then delete user
-                                _this.http.delete(_this.coreUrl + 'rest/users/' + user.id)
-                                    .subscribe(function () {
-                                    for (var i in _this.data) {
-                                        if (_this.data[i].id == user.id) {
-                                            _this.data.splice(Number(i), 1);
-                                        }
-                                    }
-                                    _this.dataSource = new material_1.MatTableDataSource(_this.data);
-                                    _this.dataSource.paginator = _this.paginator;
-                                    _this.dataSource.sort = _this.sort;
-                                    if (_this.quota.userQuota && user.enabled == 'Y') {
-                                        _this.quota.actives--;
-                                    }
-                                    else if (_this.quota.userQuota && user.enabled == 'N') {
-                                        _this.quota.inactives--;
-                                    }
-                                    _this.notify.success(_this.lang.userDeleted + ' « ' + user.user_id + ' »');
-                                }, function (err) {
-                                    _this.notify.error(err.error.errors);
-                                });
-                            }
-                        }, function (err) {
-                            _this.notify.error(err.error.errors);
-                        });
-                    }
-                });
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-        else {
-            var r = confirm(this.lang.confirmAction + ' ' + this.lang.delete + ' « ' + user.user_id + ' »');
-            if (r) {
-                this.http.delete(this.coreUrl + 'rest/users/' + user.id, user)
-                    .subscribe(function () {
-                    for (var i in _this.data) {
-                        if (_this.data[i].id == user.id) {
-                            _this.data.splice(Number(i), 1);
-                        }
-                    }
-                    _this.dataSource = new material_1.MatTableDataSource(_this.data);
-                    _this.dataSource.paginator = _this.paginator;
-                    _this.dataSource.sort = _this.sort;
-                    _this.notify.success(_this.lang.userDeleted);
-                    if (_this.quota.userQuota && user.enabled == 'Y') {
-                        _this.quota.actives--;
-                    }
-                    else if (_this.quota.userQuota && user.enabled == 'N') {
-                        _this.quota.inactives--;
-                    }
-                }, function (err) {
-                    _this.notify.error(err.error.errors);
-                });
-            }
-        }
-    };
-    __decorate([
-        core_1.ViewChild(material_1.MatPaginator),
-        __metadata("design:type", material_1.MatPaginator)
-    ], UsersAdministrationComponent.prototype, "paginator", void 0);
-    __decorate([
-        core_1.ViewChild(material_1.MatSort),
-        __metadata("design:type", material_1.MatSort)
-    ], UsersAdministrationComponent.prototype, "sort", void 0);
-    UsersAdministrationComponent = __decorate([
-        core_1.Component({
-            templateUrl: angularGlobals["users-administrationView"],
-            styleUrls: ['css/users-administration.component.css'],
-            providers: [notification_service_1.NotificationService]
-        }),
-        __metadata("design:paramtypes", [core_1.ChangeDetectorRef, layout_1.MediaMatcher, http_1.HttpClient, notification_service_1.NotificationService, material_1.MatDialog])
-    ], UsersAdministrationComponent);
-    return UsersAdministrationComponent;
-}(autocomplete_plugin_1.AutoCompletePlugin));
-exports.UsersAdministrationComponent = UsersAdministrationComponent;
-var UsersAdministrationRedirectModalComponent = /** @class */ (function (_super) {
-    __extends(UsersAdministrationRedirectModalComponent, _super);
-    function UsersAdministrationRedirectModalComponent(http, data, dialogRef) {
-        var _this = _super.call(this, http, ['users']) || this;
-        _this.http = http;
-        _this.data = data;
-        _this.dialogRef = dialogRef;
-        _this.lang = translate_component_1.LANG;
-        return _this;
-    }
-    UsersAdministrationRedirectModalComponent.prototype.sendFunction = function () {
-        var valid = true;
-        this.data.userDestRedirectModels.each(function (element) {
-            if (!element.redirectUserId) {
-                valid = false;
-            }
-        });
-        return valid;
-    };
-    UsersAdministrationRedirectModalComponent = __decorate([
-        core_1.Component({
-            templateUrl: angularGlobals["users-administration-redirect-modalView"],
-        }),
-        __param(1, core_1.Inject(material_1.MAT_DIALOG_DATA)),
-        __metadata("design:paramtypes", [http_1.HttpClient, Object, material_1.MatDialogRef])
-    ], UsersAdministrationRedirectModalComponent);
-    return UsersAdministrationRedirectModalComponent;
-}(autocomplete_plugin_1.AutoCompletePlugin));
-exports.UsersAdministrationRedirectModalComponent = UsersAdministrationRedirectModalComponent;
diff --git a/apps/maarch_entreprise/js/angular/app/app-material.module.js b/apps/maarch_entreprise/js/angular/app/app-material.module.js
deleted file mode 100644
index 0664a02699b..00000000000
--- a/apps/maarch_entreprise/js/angular/app/app-material.module.js
+++ /dev/null
@@ -1,148 +0,0 @@
-"use strict";
-var __extends = (this && this.__extends) || (function () {
-    var extendStatics = Object.setPrototypeOf ||
-        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
-    return function (d, b) {
-        extendStatics(d, b);
-        function __() { this.constructor = d; }
-        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-    };
-})();
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var material_1 = require("@angular/material");
-var AppDateAdapter = /** @class */ (function (_super) {
-    __extends(AppDateAdapter, _super);
-    function AppDateAdapter() {
-        return _super !== null && _super.apply(this, arguments) || this;
-    }
-    AppDateAdapter.prototype.parse = function (value) {
-        if ((typeof value === 'string') && (value.indexOf('/') > -1)) {
-            var str = value.split('/');
-            var year = Number(str[2]);
-            var month = Number(str[1]) - 1;
-            var date = Number(str[0]);
-            return new Date(year, month, date);
-        }
-        var timestamp = typeof value === 'number' ? value : Date.parse(value);
-        return isNaN(timestamp) ? null : new Date(timestamp);
-    };
-    AppDateAdapter.prototype.format = function (date, displayFormat) {
-        if (displayFormat == "input") {
-            var day = date.getDate();
-            var month = date.getMonth() + 1;
-            var year = date.getFullYear();
-            return this._to2digit(day) + '/' + this._to2digit(month) + '/' + year;
-        }
-        else {
-            return date.toDateString();
-        }
-    };
-    AppDateAdapter.prototype._to2digit = function (n) {
-        return ('00' + n).slice(-2);
-    };
-    return AppDateAdapter;
-}(material_1.NativeDateAdapter));
-exports.AppDateAdapter = AppDateAdapter;
-exports.APP_DATE_FORMATS = {
-    parse: {
-        dateInput: { month: 'short', year: 'numeric', day: 'numeric' }
-    },
-    display: {
-        // dateInput: { month: 'short', year: 'numeric', day: 'numeric' },
-        dateInput: 'input',
-        monthYearLabel: { month: 'short', year: 'numeric', day: 'numeric' },
-        dateA11yLabel: { year: 'numeric', month: 'long', day: 'numeric' },
-        monthYearA11yLabel: { year: 'numeric', month: 'long' },
-    }
-};
-var core_1 = require("@angular/core");
-var ng2_dnd_1 = require("ng2-dnd");
-var material_2 = require("@angular/material");
-var french_paginator_intl_1 = require("./french-paginator-intl");
-var AppMaterialModule = /** @class */ (function () {
-    function AppMaterialModule() {
-    }
-    AppMaterialModule = __decorate([
-        core_1.NgModule({
-            imports: [
-                material_2.MatCheckboxModule,
-                material_2.MatSelectModule,
-                material_2.MatSlideToggleModule,
-                material_2.MatInputModule,
-                material_2.MatTooltipModule,
-                material_2.MatTabsModule,
-                material_2.MatSidenavModule,
-                material_2.MatButtonModule,
-                material_2.MatCardModule,
-                material_2.MatButtonToggleModule,
-                material_2.MatProgressSpinnerModule,
-                material_2.MatToolbarModule,
-                material_2.MatMenuModule,
-                material_2.MatGridListModule,
-                material_2.MatTableModule,
-                material_2.MatPaginatorModule,
-                material_2.MatSortModule,
-                material_2.MatDatepickerModule,
-                material_2.MatNativeDateModule,
-                material_2.MatExpansionModule,
-                material_2.MatAutocompleteModule,
-                material_2.MatSnackBarModule,
-                material_2.MatIconModule,
-                material_2.MatDialogModule,
-                material_2.MatListModule,
-                material_2.MatChipsModule,
-                material_2.MatStepperModule,
-                material_2.MatRadioModule,
-                material_2.MatSliderModule,
-                ng2_dnd_1.DndModule.forRoot()
-            ],
-            exports: [
-                material_2.MatCheckboxModule,
-                material_2.MatSelectModule,
-                material_2.MatSlideToggleModule,
-                material_2.MatInputModule,
-                material_2.MatTooltipModule,
-                material_2.MatTabsModule,
-                material_2.MatSidenavModule,
-                material_2.MatButtonModule,
-                material_2.MatCardModule,
-                material_2.MatButtonToggleModule,
-                material_2.MatProgressSpinnerModule,
-                material_2.MatToolbarModule,
-                material_2.MatMenuModule,
-                material_2.MatGridListModule,
-                material_2.MatTableModule,
-                material_2.MatPaginatorModule,
-                material_2.MatSortModule,
-                material_2.MatDatepickerModule,
-                material_2.MatNativeDateModule,
-                material_2.MatExpansionModule,
-                material_2.MatAutocompleteModule,
-                material_2.MatSnackBarModule,
-                material_2.MatIconModule,
-                material_2.MatDialogModule,
-                material_2.MatListModule,
-                material_2.MatChipsModule,
-                material_2.MatStepperModule,
-                material_2.MatRadioModule,
-                material_2.MatSliderModule,
-                ng2_dnd_1.DndModule
-            ],
-            providers: [
-                { provide: material_2.MatPaginatorIntl, useValue: french_paginator_intl_1.getFrenchPaginatorIntl() },
-                { provide: material_1.DateAdapter, useClass: AppDateAdapter },
-                { provide: material_1.MAT_DATE_FORMATS, useValue: exports.APP_DATE_FORMATS },
-                { provide: material_1.MAT_DATE_LOCALE, useValue: 'fr-FR' },
-            ]
-        })
-    ], AppMaterialModule);
-    return AppMaterialModule;
-}());
-exports.AppMaterialModule = AppMaterialModule;
diff --git a/apps/maarch_entreprise/js/angular/app/app-routing.module.js b/apps/maarch_entreprise/js/angular/app/app-routing.module.js
deleted file mode 100755
index 8e10c775759..00000000000
--- a/apps/maarch_entreprise/js/angular/app/app-routing.module.js
+++ /dev/null
@@ -1,32 +0,0 @@
-"use strict";
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var core_1 = require("@angular/core");
-var router_1 = require("@angular/router");
-var profile_component_1 = require("./profile.component");
-var signature_book_component_1 = require("./signature-book.component");
-var AppRoutingModule = /** @class */ (function () {
-    function AppRoutingModule() {
-    }
-    AppRoutingModule = __decorate([
-        core_1.NgModule({
-            imports: [
-                router_1.RouterModule.forRoot([
-                    { path: 'profile', component: profile_component_1.ProfileComponent },
-                    { path: 'groups/:groupId/baskets/:basketId/signatureBook/:resId', component: signature_book_component_1.SignatureBookComponent },
-                    { path: '**', redirectTo: '', pathMatch: 'full' },
-                ], { useHash: true }),
-            ],
-            exports: [
-                router_1.RouterModule
-            ]
-        })
-    ], AppRoutingModule);
-    return AppRoutingModule;
-}());
-exports.AppRoutingModule = AppRoutingModule;
diff --git a/apps/maarch_entreprise/js/angular/app/app.component.js b/apps/maarch_entreprise/js/angular/app/app.component.js
deleted file mode 100755
index 5c0b7725914..00000000000
--- a/apps/maarch_entreprise/js/angular/app/app.component.js
+++ /dev/null
@@ -1,47 +0,0 @@
-"use strict";
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
-var __metadata = (this && this.__metadata) || function (k, v) {
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var core_1 = require("@angular/core");
-var platform_browser_1 = require("@angular/platform-browser");
-var material_1 = require("@angular/material");
-var material_2 = require("@angular/material");
-/** Custom options the configure the tooltip's default show/hide delays. */
-exports.myCustomTooltipDefaults = {
-    showDelay: 500,
-    hideDelay: 0,
-    touchendHideDelay: 0,
-};
-var AppComponent = /** @class */ (function () {
-    function AppComponent(iconReg, sanitizer) {
-        iconReg.addSvgIcon('maarchLogo', sanitizer.bypassSecurityTrustResourceUrl('img/logo_white.svg')).addSvgIcon('maarchLogoOnly', sanitizer.bypassSecurityTrustResourceUrl('img/logo_only_white.svg'));
-    }
-    AppComponent = __decorate([
-        core_1.Component({
-            selector: 'my-app',
-            //template: `<menu-app></menu-app><router-outlet></router-outlet>`,
-            template: "<router-outlet></router-outlet>",
-            encapsulation: core_1.ViewEncapsulation.None,
-            styleUrls: [
-                '../../../../../node_modules/bootstrap/dist/css/bootstrap.min.css',
-                '../../../css/maarch-material.css',
-                '../../../css/engine.css',
-                '../../../../../node_modules/ng2-dnd/bundles/style.css'
-            ],
-            viewProviders: [material_1.MatIconRegistry],
-            providers: [
-                { provide: material_2.MAT_TOOLTIP_DEFAULT_OPTIONS, useValue: exports.myCustomTooltipDefaults }
-            ],
-        }),
-        __metadata("design:paramtypes", [material_1.MatIconRegistry, platform_browser_1.DomSanitizer])
-    ], AppComponent);
-    return AppComponent;
-}());
-exports.AppComponent = AppComponent;
diff --git a/apps/maarch_entreprise/js/angular/app/app.module.js b/apps/maarch_entreprise/js/angular/app/app.module.js
deleted file mode 100755
index 78283c3ed65..00000000000
--- a/apps/maarch_entreprise/js/angular/app/app.module.js
+++ /dev/null
@@ -1,56 +0,0 @@
-"use strict";
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var core_1 = require("@angular/core");
-var platform_browser_1 = require("@angular/platform-browser");
-var animations_1 = require("@angular/platform-browser/animations");
-var forms_1 = require("@angular/forms");
-var http_1 = require("@angular/common/http");
-var app_material_module_1 = require("./app-material.module");
-var header_component_1 = require("./header.component");
-var notification_service_1 = require("./notification.service");
-var app_component_1 = require("./app.component");
-var app_routing_module_1 = require("./app-routing.module");
-// import { AdministrationModule }                 from './administration/administration.module';
-var menu_component_1 = require("./menu/menu.component");
-var menu_nav_component_1 = require("./menu/menu-nav.component");
-var profile_component_1 = require("./profile.component");
-var signature_book_component_1 = require("./signature-book.component");
-var AppModule = /** @class */ (function () {
-    function AppModule() {
-    }
-    AppModule = __decorate([
-        core_1.NgModule({
-            imports: [
-                platform_browser_1.BrowserModule,
-                animations_1.BrowserAnimationsModule,
-                forms_1.FormsModule,
-                http_1.HttpClientModule,
-                // AdministrationModule,
-                app_routing_module_1.AppRoutingModule,
-                app_material_module_1.AppMaterialModule
-            ],
-            declarations: [
-                header_component_1.HeaderComponent,
-                app_component_1.AppComponent,
-                profile_component_1.ProfileComponent,
-                menu_component_1.MenuComponent,
-                menu_nav_component_1.MenuNavComponent,
-                signature_book_component_1.SignatureBookComponent,
-                signature_book_component_1.SafeUrlPipe,
-                notification_service_1.CustomSnackbarComponent
-            ],
-            entryComponents: [
-                notification_service_1.CustomSnackbarComponent
-            ],
-            bootstrap: [app_component_1.AppComponent]
-        })
-    ], AppModule);
-    return AppModule;
-}());
-exports.AppModule = AppModule;
diff --git a/apps/maarch_entreprise/js/angular/app/french-paginator-intl.js b/apps/maarch_entreprise/js/angular/app/french-paginator-intl.js
deleted file mode 100644
index ff2c3978dfc..00000000000
--- a/apps/maarch_entreprise/js/angular/app/french-paginator-intl.js
+++ /dev/null
@@ -1,26 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-var material_1 = require("@angular/material");
-var frenchRangeLabel = function (page, pageSize, length) {
-    if (length == 0 || pageSize == 0) {
-        return "0 de " + length;
-    }
-    length = Math.max(length, 0);
-    var startIndex = page * pageSize;
-    // If the start index exceeds the list length, do not try and fix the end index to the end.
-    var endIndex = startIndex < length ?
-        Math.min(startIndex + pageSize, length) :
-        startIndex + pageSize;
-    var nbPage = Math.ceil(length / pageSize);
-    //return `${startIndex + 1} - ${endIndex} / ${length} (${page})`;
-    return "Page " + (page + 1) + " / " + nbPage;
-};
-function getFrenchPaginatorIntl() {
-    var paginatorIntl = new material_1.MatPaginatorIntl();
-    paginatorIntl.itemsPerPageLabel = 'Afficher:';
-    paginatorIntl.nextPageLabel = 'Page suivante';
-    paginatorIntl.previousPageLabel = 'Page précédente';
-    paginatorIntl.getRangeLabel = frenchRangeLabel;
-    return paginatorIntl;
-}
-exports.getFrenchPaginatorIntl = getFrenchPaginatorIntl;
diff --git a/apps/maarch_entreprise/js/angular/app/menu/menu-nav.component.js b/apps/maarch_entreprise/js/angular/app/menu/menu-nav.component.js
deleted file mode 100644
index c2483c2fca7..00000000000
--- a/apps/maarch_entreprise/js/angular/app/menu/menu-nav.component.js
+++ /dev/null
@@ -1,37 +0,0 @@
-"use strict";
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
-var __metadata = (this && this.__metadata) || function (k, v) {
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var core_1 = require("@angular/core");
-var http_1 = require("@angular/common/http");
-var common_1 = require("@angular/common");
-var translate_component_1 = require("../translate.component");
-var MenuNavComponent = /** @class */ (function () {
-    function MenuNavComponent(http, _location) {
-        this.http = http;
-        this._location = _location;
-        this.lang = translate_component_1.LANG;
-    }
-    MenuNavComponent.prototype.ngOnInit = function () {
-        this.coreUrl = angularGlobals.coreUrl;
-    };
-    MenuNavComponent.prototype.backClicked = function () {
-        this._location.back();
-    };
-    MenuNavComponent = __decorate([
-        core_1.Component({
-            selector: 'menu-nav',
-            templateUrl: "../../../../Views/menuNav.component.html",
-        }),
-        __metadata("design:paramtypes", [http_1.HttpClient, common_1.Location])
-    ], MenuNavComponent);
-    return MenuNavComponent;
-}());
-exports.MenuNavComponent = MenuNavComponent;
diff --git a/apps/maarch_entreprise/js/angular/app/menu/menu.component.js b/apps/maarch_entreprise/js/angular/app/menu/menu.component.js
deleted file mode 100644
index 988597f9d0c..00000000000
--- a/apps/maarch_entreprise/js/angular/app/menu/menu.component.js
+++ /dev/null
@@ -1,32 +0,0 @@
-"use strict";
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
-var __metadata = (this && this.__metadata) || function (k, v) {
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var core_1 = require("@angular/core");
-var http_1 = require("@angular/common/http");
-var translate_component_1 = require("../translate.component");
-var MenuComponent = /** @class */ (function () {
-    function MenuComponent(http) {
-        this.http = http;
-        this.lang = translate_component_1.LANG;
-    }
-    MenuComponent.prototype.ngOnInit = function () {
-        this.coreUrl = angularGlobals.coreUrl;
-    };
-    MenuComponent = __decorate([
-        core_1.Component({
-            selector: 'menu-app',
-            templateUrl: "../../../../Views/menu.component.html",
-        }),
-        __metadata("design:paramtypes", [http_1.HttpClient])
-    ], MenuComponent);
-    return MenuComponent;
-}());
-exports.MenuComponent = MenuComponent;
diff --git a/apps/maarch_entreprise/js/angular/app/notification.service.js b/apps/maarch_entreprise/js/angular/app/notification.service.js
deleted file mode 100644
index 0311a07429b..00000000000
--- a/apps/maarch_entreprise/js/angular/app/notification.service.js
+++ /dev/null
@@ -1,55 +0,0 @@
-"use strict";
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
-var __metadata = (this && this.__metadata) || function (k, v) {
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
-var __param = (this && this.__param) || function (paramIndex, decorator) {
-    return function (target, key) { decorator(target, key, paramIndex); }
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var material_1 = require("@angular/material");
-var core_1 = require("@angular/core");
-var material_2 = require("@angular/material");
-var CustomSnackbarComponent = /** @class */ (function () {
-    function CustomSnackbarComponent(data) {
-        this.data = data;
-    }
-    CustomSnackbarComponent = __decorate([
-        core_1.Component({
-            selector: 'custom-snackbar',
-            template: '<mat-grid-list cols="4" rowHeight="1:1"><mat-grid-tile colspan="1"><mat-icon class="fa fa-{{data.icon}} fa-2x"></mat-icon></mat-grid-tile><mat-grid-tile colspan="3">{{data.message}}</mat-grid-tile></mat-grid-list>' // You may also use a HTML file
-        }),
-        __param(0, core_1.Inject(material_2.MAT_SNACK_BAR_DATA)),
-        __metadata("design:paramtypes", [Object])
-    ], CustomSnackbarComponent);
-    return CustomSnackbarComponent;
-}());
-exports.CustomSnackbarComponent = CustomSnackbarComponent;
-var NotificationService = /** @class */ (function () {
-    function NotificationService(snackBar) {
-        this.snackBar = snackBar;
-    }
-    NotificationService.prototype.success = function (message) {
-        this.snackBar.openFromComponent(CustomSnackbarComponent, {
-            duration: 2000,
-            data: { message: message, icon: 'info-circle' }
-        });
-    };
-    NotificationService.prototype.error = function (message) {
-        this.snackBar.openFromComponent(CustomSnackbarComponent, {
-            duration: 2000,
-            data: { message: message, icon: 'exclamation-triangle' }
-        });
-    };
-    NotificationService = __decorate([
-        core_1.Injectable(),
-        __metadata("design:paramtypes", [material_1.MatSnackBar])
-    ], NotificationService);
-    return NotificationService;
-}());
-exports.NotificationService = NotificationService;
diff --git a/apps/maarch_entreprise/js/angular/app/profile.component.js b/apps/maarch_entreprise/js/angular/app/profile.component.js
deleted file mode 100755
index d3346ff55e1..00000000000
--- a/apps/maarch_entreprise/js/angular/app/profile.component.js
+++ /dev/null
@@ -1,442 +0,0 @@
-"use strict";
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
-var __metadata = (this && this.__metadata) || function (k, v) {
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var core_1 = require("@angular/core");
-var http_1 = require("@angular/common/http");
-var translate_component_1 = require("./translate.component");
-var notification_service_1 = require("./notification.service");
-var material_1 = require("@angular/material");
-var ProfileComponent = /** @class */ (function () {
-    function ProfileComponent(http, zone, notify) {
-        var _this = this;
-        this.http = http;
-        this.zone = zone;
-        this.notify = notify;
-        this.lang = translate_component_1.LANG;
-        this.user = {
-            baskets: []
-        };
-        this.histories = [];
-        this.passwordModel = {
-            currentPassword: "",
-            newPassword: "",
-            reNewPassword: "",
-        };
-        this.signatureModel = {
-            base64: "",
-            base64ForJs: "",
-            name: "",
-            type: "",
-            size: 0,
-            label: "",
-        };
-        this.mailSignatureModel = {
-            selected: 0,
-            htmlBody: "",
-            title: "",
-        };
-        this.userAbsenceModel = [];
-        this.basketsToRedirect = [];
-        this.showPassword = false;
-        this.selectedSignature = -1;
-        this.selectedSignatureLabel = "";
-        this.loading = false;
-        this.displayAbsenceButton = false;
-        this.displayedColumns = ['event_date', 'info'];
-        this.dataSource = new material_1.MatTableDataSource(this.histories);
-        window['angularProfileComponent'] = {
-            componentAfterUpload: function (base64Content) { return _this.processAfterUpload(base64Content); },
-        };
-    }
-    ProfileComponent.prototype.applyFilter = function (filterValue) {
-        filterValue = filterValue.trim(); // Remove whitespace
-        filterValue = filterValue.toLowerCase(); // MatTableDataSource defaults to lowercase matches
-        this.dataSource.filter = filterValue;
-    };
-    ProfileComponent.prototype.prepareProfile = function () {
-        $j('#inner_content').remove();
-        $j('#menunav').hide();
-        $j('#divList').remove();
-        $j('#magicContactsTable').remove();
-        $j('#manageBasketsOrderTable').remove();
-        $j('#controlParamTechnicTable').remove();
-        $j('#container').width("99%");
-        if ($j('#content h1')[0] && $j('#content h1')[0] != $j('my-app h1')[0]) {
-            $j('#content h1')[0].remove();
-        }
-        //LOAD EDITOR TINYMCE for MAIL SIGN
-        tinymce.baseURL = "../../node_modules/tinymce";
-        tinymce.suffix = '.min';
-        tinymce.init({
-            selector: "textarea#emailSignature",
-            statusbar: false,
-            language: "fr_FR",
-            language_url: "tools/tinymce/langs/fr_FR.js",
-            height: "200",
-            plugins: [
-                "textcolor"
-            ],
-            external_plugins: {
-                'bdesk_photo': "../../apps/maarch_entreprise/tools/tinymce/bdesk_photo/plugin.min.js"
-            },
-            menubar: false,
-            toolbar: "undo | bold italic underline | alignleft aligncenter alignright | bdesk_photo | forecolor",
-            theme_buttons1_add: "fontselect,fontsizeselect",
-            theme_buttons2_add_before: "cut,copy,paste,pastetext,pasteword,separator,search,replace,separator",
-            theme_buttons2_add: "separator,insertdate,inserttime,preview,separator,forecolor,backcolor",
-            theme_buttons3_add_before: "tablecontrols,separator",
-            theme_buttons3_add: "separator,print,separator,ltr,rtl,separator,fullscreen,separator,insertlayer,moveforward,movebackward,absolut",
-            theme_toolbar_align: "left",
-            theme_advanced_toolbar_location: "top",
-            theme_styles: "Header 1=header1;Header 2=header2;Header 3=header3;Table Row=tableRow1"
-        });
-    };
-    ProfileComponent.prototype.updateBreadcrumb = function (applicationName) {
-        if ($j('#ariane')[0]) {
-            $j('#ariane')[0].innerHTML = "<a href='index.php?reinit=true'>" + applicationName + "</a> > Profil";
-        }
-    };
-    ProfileComponent.prototype.ngOnInit = function () {
-        var _this = this;
-        this.prepareProfile();
-        this.updateBreadcrumb(angularGlobals.applicationName);
-        this.coreUrl = angularGlobals.coreUrl;
-        this.loading = true;
-        this.http.get('../../rest/currentUser/profile')
-            .subscribe(function (data) {
-            _this.user = data;
-            _this.user.baskets.forEach(function (value, index) {
-                _this.user.baskets[index]['disabled'] = false;
-                _this.user.redirectedBaskets.forEach(function (value2) {
-                    if (value.basket_id == value2.basket_id && value.basket_owner == value2.basket_owner) {
-                        _this.user.baskets[index]['disabled'] = true;
-                    }
-                });
-            });
-            setTimeout(function () {
-                $j("#absenceUser").typeahead({
-                    order: "asc",
-                    display: "idToDisplay",
-                    templateValue: "{{id}}",
-                    source: {
-                        ajax: {
-                            type: "GET",
-                            dataType: "json",
-                            url: _this.coreUrl + "rest/autocomplete/users",
-                        }
-                    }
-                });
-            }, 0);
-            _this.loading = false;
-        });
-    };
-    ProfileComponent.prototype.processAfterUpload = function (b64Content) {
-        var _this = this;
-        this.zone.run(function () { return _this.resfreshUpload(b64Content); });
-    };
-    ProfileComponent.prototype.resfreshUpload = function (b64Content) {
-        if (this.signatureModel.size <= 2000000) {
-            this.signatureModel.base64 = b64Content.replace(/^data:.*?;base64,/, "");
-            this.signatureModel.base64ForJs = b64Content;
-        }
-        else {
-            this.signatureModel.name = "";
-            this.signatureModel.size = 0;
-            this.signatureModel.type = "";
-            this.signatureModel.base64 = "";
-            this.signatureModel.base64ForJs = "";
-            errorNotification("Taille maximum de fichier dépassée (2 MB)");
-        }
-    };
-    ProfileComponent.prototype.displayPassword = function () {
-        this.showPassword = !this.showPassword;
-    };
-    ProfileComponent.prototype.clickOnUploader = function (id) {
-        $j('#' + id).click();
-    };
-    ProfileComponent.prototype.uploadSignatureTrigger = function (fileInput) {
-        if (fileInput.target.files && fileInput.target.files[0]) {
-            var reader = new FileReader();
-            this.signatureModel.name = fileInput.target.files[0].name;
-            this.signatureModel.size = fileInput.target.files[0].size;
-            this.signatureModel.type = fileInput.target.files[0].type;
-            if (this.signatureModel.label == "") {
-                this.signatureModel.label = this.signatureModel.name;
-            }
-            reader.readAsDataURL(fileInput.target.files[0]);
-            reader.onload = function (value) {
-                window['angularProfileComponent'].componentAfterUpload(value.target.result);
-            };
-        }
-    };
-    ProfileComponent.prototype.displaySignatureEditionForm = function (index) {
-        this.selectedSignature = index;
-        this.selectedSignatureLabel = this.user.signatures[index].signature_label;
-    };
-    ProfileComponent.prototype.changeEmailSignature = function () {
-        var index = $j("#emailSignaturesSelect").prop("selectedIndex");
-        this.mailSignatureModel.selected = index;
-        if (index > 0) {
-            tinymce.get('emailSignature').setContent(this.user.emailSignatures[index - 1].html_body);
-            this.mailSignatureModel.title = this.user.emailSignatures[index - 1].title;
-        }
-        else {
-            tinymce.get('emailSignature').setContent("");
-            this.mailSignatureModel.title = "";
-        }
-    };
-    ProfileComponent.prototype.addBasketRedirection = function () {
-        var _this = this;
-        if (typeof this.basketsToRedirect[0] != 'undefined' && $j("#absenceUser")[0].value) {
-            var redirectModel = [];
-            this.basketsToRedirect.forEach(function (value) {
-                redirectModel.push({
-                    "basketId": _this.user.baskets[value].basket_id,
-                    "basketName": _this.user.baskets[value].basket_name,
-                    "virtual": _this.user.baskets[value].is_virtual,
-                    "basketOwner": _this.user.baskets[value].basket_owner,
-                    "newUser": $j("#absenceUser")[0].value,
-                });
-            });
-            this.http.post(this.coreUrl + 'rest/users/' + this.user.id + '/redirectedBaskets', redirectModel)
-                .subscribe(function (data) {
-                $j('#selectBasketAbsenceUser option').prop('selected', false);
-                $j("#absenceUser")[0].value = "";
-                _this.basketsToRedirect = [];
-                _this.user.redirectedBaskets = data["redirectedBaskets"];
-                _this.user.baskets.forEach(function (value, index) {
-                    _this.user.baskets[index]['disabled'] = false;
-                    _this.user.redirectedBaskets.forEach(function (value2) {
-                        if (value.basket_id == value2.basket_id && value.basket_owner == value2.basket_owner) {
-                            _this.user.baskets[index]['disabled'] = true;
-                        }
-                    });
-                });
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-        else {
-            this.notify.error("Veuillez sélectionner au moins une bannette et un utilisateur");
-        }
-    };
-    ProfileComponent.prototype.delBasketRedirection = function (basket) {
-        var _this = this;
-        this.http.delete(this.coreUrl + 'rest/users/' + this.user.id + '/redirectedBaskets/' + basket.basket_id)
-            .subscribe(function (data) {
-            _this.user.redirectedBaskets = data["redirectedBaskets"];
-            _this.user.baskets.forEach(function (value, index) {
-                _this.user.baskets[index]['disabled'] = false;
-                _this.user.redirectedBaskets.forEach(function (value2) {
-                    if (value.basket_id == value2.basket_id && value.basket_owner == value2.basket_owner) {
-                        _this.user.baskets[index]['disabled'] = true;
-                    }
-                });
-            });
-            _this.notify.success(_this.lang.modificationSaved);
-        }, function (err) {
-            _this.notify.error(err.error.errors);
-        });
-    };
-    ProfileComponent.prototype.updateBasketColor = function (i, y) {
-        var _this = this;
-        this.http.put(this.coreUrl + "rest/currentUser/groups/" + this.user.regroupedBaskets[i].groupId + "/baskets/" + this.user.regroupedBaskets[i].baskets[y].basket_id, { "color": this.user.regroupedBaskets[i].baskets[y].color })
-            .subscribe(function (data) {
-            _this.user.regroupedBaskets = data.userBaskets;
-        }, function (err) {
-            _this.notify.error(err.error.errors);
-        });
-    };
-    ProfileComponent.prototype.activateAbsence = function () {
-        var _this = this;
-        var r = confirm('Voulez-vous vraiment activer votre absence ? Vous serez automatiquement déconnecté.');
-        if (r) {
-            this.http.put(this.coreUrl + 'rest/users/' + this.user.id + '/status', { "status": "ABS" })
-                .subscribe(function () {
-                location.hash = "";
-                location.search = "?display=true&page=logout&abs_mode";
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-    };
-    ProfileComponent.prototype.askRedirectBasket = function () {
-        var r = confirm('Voulez-vous rediriger vos bannettes avant de vous mettre en absence ?');
-        if (r) {
-            this.displayAbsenceButton = true;
-            $j('#redirectBasketCard').click();
-        }
-        else {
-            this.activateAbsence();
-        }
-    };
-    ProfileComponent.prototype.updatePassword = function () {
-        var _this = this;
-        this.http.put(this.coreUrl + 'rest/currentUser/password', this.passwordModel)
-            .subscribe(function (data) {
-            _this.showPassword = false;
-            _this.passwordModel = {
-                currentPassword: "",
-                newPassword: "",
-                reNewPassword: "",
-            };
-            successNotification(data.success);
-        }, function (err) {
-            errorNotification(err.error.errors);
-        });
-    };
-    ProfileComponent.prototype.submitEmailSignature = function () {
-        var _this = this;
-        this.mailSignatureModel.htmlBody = tinymce.get('emailSignature').getContent();
-        this.http.post(this.coreUrl + 'rest/currentUser/emailSignature', this.mailSignatureModel)
-            .subscribe(function (data) {
-            if (data.errors) {
-                errorNotification(data.errors);
-            }
-            else {
-                _this.user.emailSignatures = data.emailSignatures;
-                _this.mailSignatureModel = {
-                    selected: 0,
-                    htmlBody: "",
-                    title: "",
-                };
-                tinymce.get('emailSignature').setContent("");
-                successNotification(data.success);
-            }
-        });
-    };
-    ProfileComponent.prototype.updateEmailSignature = function () {
-        var _this = this;
-        this.mailSignatureModel.htmlBody = tinymce.get('emailSignature').getContent();
-        var id = this.user.emailSignatures[this.mailSignatureModel.selected - 1].id;
-        this.http.put(this.coreUrl + 'rest/currentUser/emailSignature/' + id, this.mailSignatureModel)
-            .subscribe(function (data) {
-            if (data.errors) {
-                errorNotification(data.errors);
-            }
-            else {
-                _this.user.emailSignatures[_this.mailSignatureModel.selected - 1].title = data.emailSignature.title;
-                _this.user.emailSignatures[_this.mailSignatureModel.selected - 1].html_body = data.emailSignature.html_body;
-                successNotification(data.success);
-            }
-        });
-    };
-    ProfileComponent.prototype.deleteEmailSignature = function () {
-        var _this = this;
-        var r = confirm('Voulez-vous vraiment supprimer la signature de mail ?');
-        if (r) {
-            var id = this.user.emailSignatures[this.mailSignatureModel.selected - 1].id;
-            this.http.delete(this.coreUrl + 'rest/currentUser/emailSignature/' + id)
-                .subscribe(function (data) {
-                if (data.errors) {
-                    errorNotification(data.errors);
-                }
-                else {
-                    _this.user.emailSignatures = data.emailSignatures;
-                    _this.mailSignatureModel = {
-                        selected: 0,
-                        htmlBody: "",
-                        title: "",
-                    };
-                    tinymce.get('emailSignature').setContent("");
-                    successNotification(data.success);
-                }
-            });
-        }
-    };
-    ProfileComponent.prototype.submitSignature = function () {
-        var _this = this;
-        this.http.post(this.coreUrl + "rest/users/" + this.user.id + "/signatures", this.signatureModel)
-            .subscribe(function (data) {
-            _this.user.signatures = data.signatures;
-            _this.signatureModel = {
-                base64: "",
-                base64ForJs: "",
-                name: "",
-                type: "",
-                size: 0,
-                label: "",
-            };
-            successNotification(data.success);
-        }, function (err) {
-            errorNotification(err.error.errors);
-        });
-    };
-    ProfileComponent.prototype.updateSignature = function () {
-        var _this = this;
-        var id = this.user.signatures[this.selectedSignature].id;
-        this.http.put(this.coreUrl + "rest/users/" + this.user.id + "/signatures/" + id, { "label": this.selectedSignatureLabel })
-            .subscribe(function (data) {
-            _this.user.signatures[_this.selectedSignature].signature_label = data.signature.signature_label;
-            _this.selectedSignature = -1;
-            _this.selectedSignatureLabel = "";
-            successNotification(data.success);
-        }, function (err) {
-            errorNotification(err.error.errors);
-        });
-    };
-    ProfileComponent.prototype.deleteSignature = function (id) {
-        var _this = this;
-        var r = confirm('Voulez-vous vraiment supprimer la signature ?');
-        if (r) {
-            this.http.delete(this.coreUrl + "rest/users/" + this.user.id + "/signatures/" + id)
-                .subscribe(function (data) {
-                _this.user.signatures = data.signatures;
-                successNotification(data.success);
-            }, function (err) {
-                errorNotification(err.error.errors);
-            });
-        }
-    };
-    ProfileComponent.prototype.getHistories = function () {
-        var _this = this;
-        if (this.histories.length == 0) {
-            this.http.get(this.coreUrl + 'rest/histories/users/' + this.user.id)
-                .subscribe(function (data) {
-                _this.histories = data.histories;
-                setTimeout(function () {
-                    _this.dataSource = new material_1.MatTableDataSource(_this.histories);
-                    _this.dataSource.paginator = _this.paginator;
-                    _this.dataSource.sort = _this.sort;
-                }, 0);
-            }, function (err) {
-                _this.notify.error(err.error.errors);
-            });
-        }
-    };
-    ProfileComponent.prototype.onSubmit = function () {
-        var _this = this;
-        this.http.put(this.coreUrl + 'rest/currentUser/profile', this.user)
-            .subscribe(function () {
-            _this.notify.success(_this.lang.modificationSaved);
-        }, function (err) {
-            _this.notify.error(err.error.errors);
-        });
-    };
-    __decorate([
-        core_1.ViewChild(material_1.MatPaginator),
-        __metadata("design:type", material_1.MatPaginator)
-    ], ProfileComponent.prototype, "paginator", void 0);
-    __decorate([
-        core_1.ViewChild(material_1.MatSort),
-        __metadata("design:type", material_1.MatSort)
-    ], ProfileComponent.prototype, "sort", void 0);
-    ProfileComponent = __decorate([
-        core_1.Component({
-            templateUrl: "../../../Views/profile.component.html",
-            styleUrls: ['../../../css/profile.component.css'],
-            providers: [notification_service_1.NotificationService]
-        }),
-        __metadata("design:paramtypes", [http_1.HttpClient, core_1.NgZone, notification_service_1.NotificationService])
-    ], ProfileComponent);
-    return ProfileComponent;
-}());
-exports.ProfileComponent = ProfileComponent;
diff --git a/apps/maarch_entreprise/js/angular/app/save-numeric-package.component.js b/apps/maarch_entreprise/js/angular/app/save-numeric-package.component.js
deleted file mode 100644
index 2dd960620a4..00000000000
--- a/apps/maarch_entreprise/js/angular/app/save-numeric-package.component.js
+++ /dev/null
@@ -1,143 +0,0 @@
-"use strict";
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
-var __metadata = (this && this.__metadata) || function (k, v) {
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var core_1 = require("@angular/core");
-var http_1 = require("@angular/http");
-require("rxjs/add/operator/map");
-var SaveNumericPackageComponent = (function () {
-    function SaveNumericPackageComponent(http, zone) {
-        var _this = this;
-        this.http = http;
-        this.zone = zone;
-        this.numericPackage = {
-            base64: "",
-            name: "",
-            type: "",
-            size: 0,
-            label: "",
-            extension: "",
-        };
-        this.resultInfo = "";
-        this.loading = false;
-        window['angularSaveNumericPackageComponent'] = {
-            componentAfterUpload: function (base64Content) { return _this.processAfterUpload(base64Content); },
-        };
-    }
-    SaveNumericPackageComponent.prototype.preparePage = function () {
-        $j('#inner_content').remove();
-        $j('#menunav').hide();
-        $j('#divList').remove();
-        $j('#magicContactsTable').remove();
-        $j('#manageBasketsOrderTable').remove();
-        $j('#controlParamTechnicTable').remove();
-        $j('#container').width("99%");
-        if ($j('#content h1')[0] && $j('#content h1')[0] != $j('my-app h1')[0]) {
-            $j('#content h1')[0].remove();
-        }
-        if (Prototype.BrowserFeatures.ElementExtensions) {
-            //FIX PROTOTYPE CONFLICT
-            var pluginsToDisable = ['collapse', 'dropdown', 'modal', 'tooltip', 'popover', 'tab'];
-            disablePrototypeJS('show', pluginsToDisable);
-            disablePrototypeJS('hide', pluginsToDisable);
-        }
-    };
-    SaveNumericPackageComponent.prototype.updateBreadcrumb = function (applicationName) {
-        if ($j('#ariane')[0]) {
-            $j('#ariane')[0].innerHTML = "<a href='index.php?reinit=true'>" + applicationName + "</a> > Enregistrer un pli numérique";
-        }
-    };
-    SaveNumericPackageComponent.prototype.ngOnInit = function () {
-        this.preparePage();
-        this.updateBreadcrumb(angularGlobals.applicationName);
-        this.coreUrl = angularGlobals.coreUrl;
-        this.loading = false;
-    };
-    SaveNumericPackageComponent.prototype.processAfterUpload = function (b64Content) {
-        var _this = this;
-        this.zone.run(function () { return _this.resfreshUpload(b64Content); });
-    };
-    SaveNumericPackageComponent.prototype.resfreshUpload = function (b64Content) {
-        this.numericPackage.base64 = b64Content.replace(/^data:.*?;base64,/, "");
-    };
-    SaveNumericPackageComponent.prototype.uploadNumericPackage = function (fileInput) {
-        if (fileInput.target.files && fileInput.target.files[0]) {
-            var reader = new FileReader();
-            this.numericPackage.name = fileInput.target.files[0].name;
-            this.numericPackage.size = fileInput.target.files[0].size;
-            this.numericPackage.type = fileInput.target.files[0].type;
-            this.numericPackage.extension = fileInput.target.files[0].name.split('.').pop();
-            if (this.numericPackage.label == "") {
-                this.numericPackage.label = this.numericPackage.name;
-            }
-            reader.readAsDataURL(fileInput.target.files[0]);
-            reader.onload = function (value) {
-                window['angularSaveNumericPackageComponent'].componentAfterUpload(value.target.result);
-            };
-        }
-    };
-    SaveNumericPackageComponent.prototype.submitNumericPackage = function () {
-        var _this = this;
-        if (this.numericPackage.size != 0) {
-            this.http.post(this.coreUrl + 'rest/saveNumericPackage', this.numericPackage)
-                .map(function (res) { return res.json(); })
-                .subscribe(function (data) {
-                if (data.errors) {
-                    _this.resultInfo = data.errors;
-                    $j('#resultInfo').removeClass().addClass('alert alert-danger alert-dismissible');
-                    $j("#resultInfo").fadeTo(3000, 500).slideUp(500, function () {
-                        $j("#resultInfo").slideUp(500);
-                    });
-                }
-                else {
-                    _this.numericPackage = {
-                        base64: "",
-                        name: "",
-                        type: "",
-                        size: 0,
-                        label: "",
-                        extension: "",
-                    };
-                    $j("#numericPackageFilePath").val(null);
-                    _this.resultInfo = 'Pli numérique correctement importé';
-                    $j('#resultInfo').removeClass().addClass('alert alert-success alert-dismissible');
-                    $j("#resultInfo").fadeTo(3000, 500).slideUp(500, function () {
-                        $j("#resultInfo").slideUp(500);
-                    });
-                    if (data.basketRedirection != null) {
-                        window.location.href = data.basketRedirection;
-                        // action_send_first_request('index.php?display=true&page=manage_action&module=core', 'page',  22, '', 'res_letterbox', 'basket', 'letterbox_coll');
-                    }
-                }
-            });
-        }
-        else {
-            this.numericPackage.name = "";
-            this.numericPackage.size = 0;
-            this.numericPackage.type = "";
-            this.numericPackage.base64 = "";
-            this.numericPackage.extension = "";
-            this.resultInfo = "Aucun pli numérique séléctionné";
-            $j('#resultInfo').removeClass().addClass('alert alert-danger alert-dismissible');
-            $j("#resultInfo").fadeTo(3000, 500).slideUp(500, function () {
-                $j("#resultInfo").slideUp(500);
-            });
-        }
-    };
-    return SaveNumericPackageComponent;
-}());
-SaveNumericPackageComponent = __decorate([
-    core_1.Component({
-        templateUrl: angularGlobals["save-numeric-packageView"],
-        styleUrls: ['../../node_modules/bootstrap/dist/css/bootstrap.min.css', 'css/profile.component.css']
-    }),
-    __metadata("design:paramtypes", [http_1.Http, core_1.NgZone])
-], SaveNumericPackageComponent);
-exports.SaveNumericPackageComponent = SaveNumericPackageComponent;
diff --git a/apps/maarch_entreprise/js/angular/app/signature-book.component.js b/apps/maarch_entreprise/js/angular/app/signature-book.component.js
deleted file mode 100755
index c8fb2c8ae23..00000000000
--- a/apps/maarch_entreprise/js/angular/app/signature-book.component.js
+++ /dev/null
@@ -1,525 +0,0 @@
-"use strict";
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
-    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
-};
-var __metadata = (this && this.__metadata) || function (k, v) {
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-var core_1 = require("@angular/core");
-var http_1 = require("@angular/common/http");
-var platform_browser_1 = require("@angular/platform-browser");
-var router_1 = require("@angular/router");
-var SafeUrlPipe = /** @class */ (function () {
-    function SafeUrlPipe(sanitizer) {
-        this.sanitizer = sanitizer;
-    }
-    SafeUrlPipe.prototype.transform = function (url) {
-        return this.sanitizer.bypassSecurityTrustResourceUrl(url);
-    };
-    SafeUrlPipe = __decorate([
-        core_1.Pipe({ name: 'safeUrl' }),
-        __metadata("design:paramtypes", [platform_browser_1.DomSanitizer])
-    ], SafeUrlPipe);
-    return SafeUrlPipe;
-}());
-exports.SafeUrlPipe = SafeUrlPipe;
-var SignatureBookComponent = /** @class */ (function () {
-    function SignatureBookComponent(http, route, router, zone) {
-        var _this = this;
-        this.http = http;
-        this.route = route;
-        this.router = router;
-        this.zone = zone;
-        this.signatureBook = {
-            currentAction: {},
-            consigne: "",
-            documents: [],
-            attachments: [],
-            resList: [],
-            resListIndex: 0,
-            lang: {}
-        };
-        this.rightSelectedThumbnail = 0;
-        this.leftSelectedThumbnail = 0;
-        this.rightViewerLink = "";
-        this.leftViewerLink = "";
-        this.headerTab = 1;
-        this.showTopRightPanel = false;
-        this.showTopLeftPanel = false;
-        this.showResLeftPanel = true;
-        this.showLeftPanel = true;
-        this.showRightPanel = true;
-        this.showAttachmentPanel = false;
-        this.showSignaturesPanel = false;
-        this.loading = false;
-        this.loadingSign = false;
-        this.leftContentWidth = "44%";
-        this.rightContentWidth = "44%";
-        this.notesViewerLink = "";
-        this.visaViewerLink = "";
-        this.histViewerLink = "";
-        this.linksViewerLink = "";
-        this.attachmentsViewerLink = "";
-        window['angularSignatureBookComponent'] = {
-            componentAfterAttach: function (value) { return _this.processAfterAttach(value); },
-            componentAfterAction: function () { return _this.processAfterAction(); },
-            componentAfterNotes: function () { return _this.processAfterNotes(); },
-            componentAfterLinks: function () { return _this.processAfterLinks(); }
-        };
-    }
-    SignatureBookComponent.prototype.prepareSignatureBook = function () {
-        $j('#inner_content').remove();
-        $j('#header').remove();
-        $j('#viewBasketsTitle').remove();
-        $j('#homePageWelcomeTitle').remove();
-        $j('#footer').remove();
-        $j('#container').width("99%");
-    };
-    SignatureBookComponent.prototype.ngOnInit = function () {
-        var _this = this;
-        this.prepareSignatureBook();
-        this.coreUrl = angularGlobals.coreUrl;
-        this.loading = true;
-        this.route.params.subscribe(function (params) {
-            _this.resId = +params['resId'];
-            _this.basketId = params['basketId'];
-            _this.groupId = params['groupId'];
-            _this.signatureBook.resList = []; // This line is added because of manage action behaviour (processAfterAction is called twice)
-            lockDocument(_this.resId);
-            setInterval(function () { lockDocument(_this.resId); }, 50000);
-            _this.http.get(_this.coreUrl + "rest/groups/" + _this.groupId + "/baskets/" + _this.basketId + '/signatureBook/' + _this.resId)
-                .subscribe(function (data) {
-                if (data.error) {
-                    location.hash = "";
-                    location.search = "";
-                    return;
-                }
-                _this.signatureBook = data;
-                _this.headerTab = 1;
-                _this.leftSelectedThumbnail = 0;
-                _this.rightSelectedThumbnail = 0;
-                _this.leftViewerLink = "";
-                _this.rightViewerLink = "";
-                _this.showLeftPanel = true;
-                _this.showRightPanel = true;
-                _this.showResLeftPanel = true;
-                _this.showTopLeftPanel = false;
-                _this.showTopRightPanel = false;
-                _this.showAttachmentPanel = false;
-                _this.notesViewerLink = "index.php?display=true&module=notes&page=notes&identifier=" + _this.resId + "&origin=document&coll_id=letterbox_coll&load&size=full";
-                _this.visaViewerLink = "index.php?display=true&page=show_visa_tab&module=visa&resId=" + _this.resId + "&collId=letterbox_coll&visaStep=true";
-                _this.histViewerLink = "index.php?display=true&page=show_history_tab&resId=" + _this.resId + "&collId=letterbox_coll";
-                _this.linksViewerLink = "index.php?display=true&page=show_links_tab&id=" + _this.resId;
-                _this.attachmentsViewerLink = "index.php?display=true&module=attachments&page=frame_list_attachments&resId=" + _this.resId + "&noModification=true&template_selected=documents_list_attachments_simple&load&attach_type_exclude=converted_pdf,print_folder";
-                _this.leftContentWidth = "44%";
-                _this.rightContentWidth = "44%";
-                if (_this.signatureBook.documents[0]) {
-                    _this.leftViewerLink = _this.signatureBook.documents[0].viewerLink;
-                    if (_this.signatureBook.documents[0].category_id == "outgoing") {
-                        _this.headerTab = 3;
-                    }
-                }
-                if (_this.signatureBook.attachments[0]) {
-                    _this.rightViewerLink = _this.signatureBook.attachments[0].viewerLink;
-                }
-                _this.displayPanel("RESLEFT");
-                _this.loading = false;
-                setTimeout(function () {
-                    $j("#rightPanelContent").niceScroll({ touchbehavior: false, cursorcolor: "#666", cursoropacitymax: 0.6, cursorwidth: 4 });
-                    if ($j(".tooltipstered").length == 0) {
-                        $j("#obsVersion").tooltipster({
-                            interactive: true
-                        });
-                    }
-                }, 0);
-            }, function (err) {
-                errorNotification(JSON.parse(err._body).errors);
-                setTimeout(function () {
-                    _this.backToBasket();
-                }, 2000);
-            });
-        });
-    };
-    SignatureBookComponent.prototype.ngOnDestroy = function () {
-        delete window['angularSignatureBookComponent'];
-    };
-    SignatureBookComponent.prototype.processAfterAttach = function (mode) {
-        var _this = this;
-        this.zone.run(function () { return _this.refreshAttachments(mode); });
-    };
-    SignatureBookComponent.prototype.processAfterNotes = function () {
-        var _this = this;
-        this.zone.run(function () { return _this.refreshNotes(); });
-    };
-    SignatureBookComponent.prototype.processAfterLinks = function () {
-        var _this = this;
-        this.zone.run(function () { return _this.refreshLinks(); });
-    };
-    SignatureBookComponent.prototype.processAfterAction = function () {
-        var _this = this;
-        var idToGo = -1;
-        var c = this.signatureBook.resList.length;
-        for (var i = 0; i < c; i++) {
-            if (this.signatureBook.resList[i].res_id == this.resId) {
-                if (this.signatureBook.resList[i + 1]) {
-                    idToGo = this.signatureBook.resList[i + 1].res_id;
-                }
-                else if (i > 0) {
-                    idToGo = this.signatureBook.resList[i - 1].res_id;
-                }
-            }
-        }
-        if (c > 0) {
-            unlockDocument(this.resId);
-            if (idToGo >= 0) {
-                $j("#send").removeAttr("disabled");
-                $j("#send").css("opacity", "1");
-                this.zone.run(function () { return _this.changeLocation(idToGo, "action"); });
-            }
-            else {
-                this.zone.run(function () { return _this.backToBasket(); });
-            }
-        }
-    };
-    SignatureBookComponent.prototype.changeSignatureBookLeftContent = function (id) {
-        this.headerTab = id;
-        this.showTopLeftPanel = false;
-    };
-    SignatureBookComponent.prototype.changeRightViewer = function (index) {
-        this.showAttachmentPanel = false;
-        if (this.signatureBook.attachments[index]) {
-            this.rightViewerLink = this.signatureBook.attachments[index].viewerLink;
-        }
-        else {
-            this.rightViewerLink = "";
-        }
-        this.rightSelectedThumbnail = index;
-    };
-    SignatureBookComponent.prototype.changeLeftViewer = function (index) {
-        this.leftViewerLink = this.signatureBook.documents[index].viewerLink;
-        this.leftSelectedThumbnail = index;
-    };
-    SignatureBookComponent.prototype.displayPanel = function (panel) {
-        var _this = this;
-        if (panel == "TOPRIGHT") {
-            this.showTopRightPanel = !this.showTopRightPanel;
-        }
-        else if (panel == "TOPLEFT") {
-            this.showTopLeftPanel = !this.showTopLeftPanel;
-        }
-        else if (panel == "LEFT") {
-            this.showLeftPanel = !this.showLeftPanel;
-            this.showResLeftPanel = false;
-            if (!this.showLeftPanel) {
-                this.rightContentWidth = "96%";
-                $j("#hideLeftContent").css('background', 'none');
-            }
-            else {
-                this.rightContentWidth = "48%";
-                this.leftContentWidth = "48%";
-                $j("#hideLeftContent").css('background', '#CEE9F1');
-            }
-        }
-        else if (panel == "RESLEFT") {
-            this.showResLeftPanel = !this.showResLeftPanel;
-            if (!this.showResLeftPanel) {
-                this.rightContentWidth = "48%";
-                this.leftContentWidth = "48%";
-            }
-            else {
-                this.rightContentWidth = "44%";
-                this.leftContentWidth = "44%";
-                if (this.signatureBook.resList.length == 0 || this.signatureBook.resList[0].allSigned == null) {
-                    this.http.get(this.coreUrl + 'rest/' + this.basketId + '/signatureBook/resList/details')
-                        .subscribe(function (data) {
-                        _this.signatureBook.resList = data.resList;
-                        _this.signatureBook.resList.forEach(function (value, index) {
-                            if (value.res_id == _this.resId) {
-                                _this.signatureBook.resListIndex = index;
-                            }
-                        });
-                        setTimeout(function () {
-                            $j("#resListContent").niceScroll({ touchbehavior: false, cursorcolor: "#666", cursoropacitymax: 0.6, cursorwidth: 4 });
-                            $j("#resListContent").scrollTop(0);
-                            $j("#resListContent").scrollTop($j(".resListContentFrameSelected").offset().top - 42);
-                        }, 0);
-                    });
-                }
-            }
-        }
-        else if (panel == "MIDDLE") {
-            this.showRightPanel = !this.showRightPanel;
-            this.showResLeftPanel = false;
-            if (!this.showRightPanel) {
-                this.leftContentWidth = "96%";
-                $j("#contentLeft").css('border-right', 'none');
-            }
-            else {
-                this.rightContentWidth = "48%";
-                this.leftContentWidth = "48%";
-                $j("#contentLeft").css('border-right', 'solid 1px');
-            }
-        }
-    };
-    SignatureBookComponent.prototype.displayAttachmentPanel = function () {
-        this.showAttachmentPanel = !this.showAttachmentPanel;
-        this.rightSelectedThumbnail = 0;
-        if (this.signatureBook.attachments[0]) {
-            this.rightViewerLink = this.signatureBook.attachments[0].viewerLink;
-        }
-    };
-    SignatureBookComponent.prototype.refreshAttachments = function (mode) {
-        var _this = this;
-        if (mode == "rightContent") {
-            this.http.get(this.coreUrl + 'rest/signatureBook/' + this.resId + '/incomingMailAttachments')
-                .subscribe(function (data) {
-                _this.signatureBook.documents = data;
-            });
-        }
-        else {
-            this.http.get(this.coreUrl + 'rest/signatureBook/' + this.resId + '/attachments')
-                .subscribe(function (data) {
-                var i = 0;
-                if (mode == "add") {
-                    var found = false;
-                    data.forEach(function (elem, index) {
-                        if (!found && (!_this.signatureBook.attachments[index] || elem.res_id != _this.signatureBook.attachments[index].res_id)) {
-                            i = index;
-                            found = true;
-                        }
-                    });
-                }
-                else if (mode == "edit") {
-                    var id = _this.signatureBook.attachments[_this.rightSelectedThumbnail].res_id;
-                    data.forEach(function (elem, index) {
-                        if (elem.res_id == id) {
-                            i = index;
-                        }
-                    });
-                }
-                _this.signatureBook.attachments = data;
-                if (mode == "add" || mode == "edit") {
-                    _this.changeRightViewer(i);
-                }
-                else if (mode == "del") {
-                    _this.changeRightViewer(0);
-                }
-            });
-        }
-    };
-    SignatureBookComponent.prototype.addAttachmentIframe = function () {
-        showAttachmentsForm('index.php?display=true&module=attachments&page=attachments_content&docId=' + this.resId);
-    };
-    SignatureBookComponent.prototype.editAttachmentIframe = function (attachment) {
-        if (attachment.canModify && attachment.status != "SIGN") {
-            var resId;
-            if (attachment.res_id == 0) {
-                resId = attachment.res_id_version;
-            }
-            else if (attachment.res_id_version == 0) {
-                resId = attachment.res_id;
-            }
-            modifyAttachmentsForm('index.php?display=true&module=attachments&page=attachments_content&id=' + resId + '&relation=' + attachment.relation + '&docId=' + this.resId, '98%', 'auto');
-        }
-    };
-    SignatureBookComponent.prototype.delAttachment = function (attachment) {
-        var _this = this;
-        if (attachment.canDelete) {
-            if (this.signatureBook.attachments.length <= 1) {
-                var r = confirm('Attention, ceci est votre dernière pièce jointe pour ce courrier, voulez-vous vraiment la supprimer ?');
-            }
-            else {
-                var r = confirm('Voulez-vous vraiment supprimer la pièce jointe ?');
-            }
-            if (r) {
-                var resId;
-                if (attachment.res_id == 0) {
-                    resId = attachment.res_id_version;
-                }
-                else if (attachment.res_id_version == 0) {
-                    resId = attachment.res_id;
-                }
-                this.http.get('index.php?display=true&module=attachments&page=del_attachment&id=' + resId + '&relation=' + attachment.relation + '&rest=true')
-                    .subscribe(function () {
-                    _this.refreshAttachments('del');
-                });
-            }
-        }
-    };
-    SignatureBookComponent.prototype.refreshNotes = function () {
-        var _this = this;
-        this.http.get(this.coreUrl + 'rest/res/' + this.resId + '/notes/count')
-            .subscribe(function (data) {
-            _this.signatureBook.nbNotes = data;
-        });
-    };
-    SignatureBookComponent.prototype.refreshLinks = function () {
-        var _this = this;
-        this.http.get(this.coreUrl + 'rest/links/resId/' + this.resId)
-            .subscribe(function (data) {
-            _this.signatureBook.nbLinks = data.length;
-        });
-    };
-    SignatureBookComponent.prototype.signFile = function (attachment, signature) {
-        var _this = this;
-        if (!this.loadingSign && this.signatureBook.canSign) {
-            this.loadingSign = true;
-            var path = "index.php?display=true&module=visa&page=sign_file&collId=letterbox_coll&resIdMaster=" + this.resId + "&signatureId=" + signature.id;
-            if (attachment.res_id == 0) {
-                if (attachment.attachment_type == "outgoing_mail" && this.signatureBook.documents[0].category_id == "outgoing") {
-                    path += "&isVersion&isOutgoing&id=" + attachment.res_id_version;
-                }
-                else {
-                    path += "&isVersion&id=" + attachment.res_id_version;
-                }
-            }
-            else if (attachment.res_id_version == 0) {
-                if (attachment.attachment_type == "outgoing_mail" && this.signatureBook.documents[0].category_id == "outgoing") {
-                    path += "&isOutgoing&id=" + attachment.res_id;
-                }
-                else {
-                    path += "&id=" + attachment.res_id;
-                }
-            }
-            this.http.get(path, signature)
-                .subscribe(function (data) {
-                if (data.status == 0) {
-                    _this.rightViewerLink = "index.php?display=true&module=attachments&page=view_attachment&res_id_master=" + _this.resId + "&id=" + data.new_id + "&isVersion=false";
-                    _this.signatureBook.attachments[_this.rightSelectedThumbnail].viewerLink = _this.rightViewerLink;
-                    _this.signatureBook.attachments[_this.rightSelectedThumbnail].status = 'SIGN';
-                    _this.signatureBook.attachments[_this.rightSelectedThumbnail].idToDl = data.new_id;
-                    var allSigned = true;
-                    _this.signatureBook.attachments.forEach(function (value) {
-                        if (value.sign && value.status != 'SIGN') {
-                            allSigned = false;
-                        }
-                    });
-                    if (_this.signatureBook.resList.length > 0) {
-                        _this.signatureBook.resList[_this.signatureBook.resListIndex].allSigned = allSigned;
-                    }
-                    if (_this.headerTab == 3) {
-                        _this.changeSignatureBookLeftContent(0);
-                        setTimeout(function () {
-                            _this.changeSignatureBookLeftContent(3);
-                        }, 0);
-                    }
-                }
-                else {
-                    alert(data.error);
-                }
-                _this.showSignaturesPanel = false;
-                _this.loadingSign = false;
-            });
-        }
-    };
-    SignatureBookComponent.prototype.unsignFile = function (attachment) {
-        var _this = this;
-        var collId;
-        var resId;
-        var isVersion;
-        if (attachment.res_id == 0) {
-            resId = attachment.res_id_version;
-            collId = "res_version_attachments";
-            isVersion = "true";
-        }
-        else if (attachment.res_id_version == 0) {
-            resId = attachment.res_id;
-            collId = "res_attachments";
-            isVersion = "false";
-        }
-        this.http.put(this.coreUrl + 'rest/' + collId + '/' + resId + '/unsign', {})
-            .subscribe(function () {
-            _this.rightViewerLink = "index.php?display=true&module=attachments&page=view_attachment&res_id_master=" + _this.resId + "&id=" + attachment.viewerNoSignId + "&isVersion=" + isVersion;
-            _this.signatureBook.attachments[_this.rightSelectedThumbnail].viewerLink = _this.rightViewerLink;
-            _this.signatureBook.attachments[_this.rightSelectedThumbnail].status = 'A_TRA';
-            _this.signatureBook.attachments[_this.rightSelectedThumbnail].idToDl = resId;
-            if (_this.signatureBook.resList.length > 0) {
-                _this.signatureBook.resList[_this.signatureBook.resListIndex].allSigned = false;
-            }
-            if (_this.headerTab == 3) {
-                _this.changeSignatureBookLeftContent(0);
-                setTimeout(function () {
-                    _this.changeSignatureBookLeftContent(3);
-                }, 0);
-            }
-        });
-    };
-    SignatureBookComponent.prototype.backToBasket = function () {
-        unlockDocument(this.resId);
-        location.hash = "";
-        location.reload();
-    };
-    SignatureBookComponent.prototype.backToDetails = function () {
-        unlockDocument(this.resId);
-        location.hash = "";
-        location.search = "?page=details&dir=indexing_searching&id=" + this.resId;
-    };
-    SignatureBookComponent.prototype.changeLocation = function (resId, origin) {
-        var _this = this;
-        this.http.get(this.coreUrl + 'rest/res/' + resId + '/lock')
-            .subscribe(function (data) {
-            if (!data.lock) {
-                var path = "/groups/" + _this.groupId + "/baskets/" + _this.basketId + '/signatureBook/' + resId;
-                _this.router.navigate([path]);
-            }
-            else {
-                if (origin == "view") {
-                    alert("Courrier verrouillé par " + data.lockBy);
-                }
-                else if (origin == "action") {
-                    alert("Courrier suivant verrouillé par " + data.lockBy);
-                    _this.backToBasket();
-                }
-            }
-        });
-    };
-    SignatureBookComponent.prototype.validForm = function () {
-        var _this = this;
-        if ($j("#signatureBookActions option:selected")[0].value != "") {
-            if (this.signatureBook['listinstance']['requested_signature'] == true) {
-                this.http.get(this.coreUrl + 'rest/listinstance/' + this.signatureBook['listinstance']['listinstance_id'])
-                    .subscribe(function (data) {
-                    var r = true;
-                    if (data['signatory'] == false) {
-                        r = confirm("Vous n’avez signé aucun document. Êtes-vous sûr de vouloir continuer ?");
-                    }
-                    if (r) {
-                        _this.sendActionForm();
-                    }
-                });
-            }
-            else {
-                this.sendActionForm();
-            }
-        }
-        else {
-            alert("Aucune action choisie");
-        }
-    };
-    SignatureBookComponent.prototype.sendActionForm = function () {
-        var _this = this;
-        unlockDocument(this.resId);
-        if (this.signatureBook.resList.length == 0) {
-            this.http.get(this.coreUrl + 'rest/' + this.basketId + '/signatureBook/resList')
-                .subscribe(function (data) {
-                _this.signatureBook.resList = data.resList;
-                valid_action_form('empty', 'index.php?display=true&page=manage_action&module=core', _this.signatureBook.currentAction.id, _this.resId, 'res_letterbox', 'null', 'letterbox_coll', 'page', false, [$j("#signatureBookActions option:selected")[0].value]);
-            });
-        }
-        else {
-            valid_action_form('empty', 'index.php?display=true&page=manage_action&module=core', this.signatureBook.currentAction.id, this.resId, 'res_letterbox', 'null', 'letterbox_coll', 'page', false, [$j("#signatureBookActions option:selected")[0].value]);
-        }
-    };
-    SignatureBookComponent = __decorate([
-        core_1.Component({
-            templateUrl: "../../../Views/signature-book.component.html",
-        }),
-        __metadata("design:paramtypes", [http_1.HttpClient, router_1.ActivatedRoute, router_1.Router, core_1.NgZone])
-    ], SignatureBookComponent);
-    return SignatureBookComponent;
-}());
-exports.SignatureBookComponent = SignatureBookComponent;
diff --git a/apps/maarch_entreprise/js/angular/app/translate.component.js b/apps/maarch_entreprise/js/angular/app/translate.component.js
deleted file mode 100755
index ef26c11bea6..00000000000
--- a/apps/maarch_entreprise/js/angular/app/translate.component.js
+++ /dev/null
@@ -1,12 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-var lang_en_1 = require("../lang/lang-en");
-var lang_fr_1 = require("../lang/lang-fr");
-var dictionnary = {};
-if (angularGlobals.lang == "en") {
-    dictionnary = lang_en_1.LANG_EN;
-}
-else if (angularGlobals.lang == "fr") {
-    dictionnary = lang_fr_1.LANG_FR;
-}
-exports.LANG = dictionnary;
diff --git a/apps/maarch_entreprise/js/angular/lang/lang-en.js b/apps/maarch_entreprise/js/angular/lang/lang-en.js
deleted file mode 100755
index 74722164459..00000000000
--- a/apps/maarch_entreprise/js/angular/lang/lang-en.js
+++ /dev/null
@@ -1,336 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.LANG_EN = {
-    "abs": "Absent",
-    "action": "Action",
-    "actionAdded": "Action added",
-    "actionAvailable": "Availables actions",
-    "actionCreation": "Action creation",
-    "actionDeleted": "Action deleted",
-    "actionHistory": "Log action in history",
-    "actionHistoryDesc": "Lets you plot this action in the document history. It is strongly recommended to check this option",
-    "actionModification": "Action modification",
-    "actionName": "Action name",
-    "actionPage": "Result page of the action",
-    "actionParameters": "Action parameters",
-    "actions": "Action(s)",
-    "actionUpdated": "Action updated",
-    "activateAbsence": "Activate absence",
-    "active": "Active",
-    "add": "Add",
-    "address": "Address",
-    "addStatus": "Add a status",
-    "addUser": "Add a user",
-    "addUserOrEntity": "Add a user / an entity",
-    "addVisaSignUser": "Add a visa / sign user",
-    "administration": "Administration",
-    "administrationServices": "Administration services",
-    "allActions": "All actions",
-    "application": "Application",
-    "archivalAgency": "Archival agency",
-    "archivalAgreement": "Archival agreement",
-    "associatedStatus": "Associated status",
-    "attachments": "Attachments",
-    "authorize": "Authorize",
-    "autoLogoutAbsence": "You are going to be automaticaly disconnected after your redirections",
-    "available": "available",
-    "availableGroups": "Available groups",
-    "availableStatuses": "Available statuses",
-    "avis": "Avis circuit",
-    "back": "Back",
-    "basket": "Basket",
-    "basketAdded": "Basket added",
-    "basketCreation": "Basket creation",
-    "basketDeleted": "Basket deleted",
-    "basketModification": "Basket modification",
-    "basketNotification": "Toggle notification for this basket",
-    "baskets": "Baskets",
-    "basketsOrder": "Manage baskets order",
-    "basketUpdated": "Basket updated",
-    "browsing": "Browsing",
-    "calDays": "calendar days",
-    "canBeModified": "Index modification",
-    "canBeSearched": "Searchable",
-    "cancel": "Cancel",
-    "cases": "Cases",
-    "changeMyPassword": "Change my password",
-    "chooseBasket": "Choose a basket",
-    "chooseCategoryAssociation": "Choose one or some associatedd categories",
-    "chooseDefaultAction": "Choose main action",
-    "chooseEntity": "Choose a entity",
-    "chooseGroup": "Choose a group",
-    "chooseRedirectGroup": "Choose another group",
-    "chronoNumber": "Chrono number",
-    "city": "City",
-    "clause": "Clause",
-    "clickOn": "Click on",
-    "color": "Color",
-    "content_management": "Ressource revision",
-    "country": "Country",
-    "createScriptNotification": "Create the script",
-    "currentPsw": "Current password",
-    "default": "default",
-    "defaultAction": "Default action",
-    "delete": "Delete",
-    "deleteMsg": "Do you really want to delete this element",
-    "desactivateAbsence": "Deactivate absence",
-    "description": "Description",
-    "diffusionList": "Diffusion list",
-    "diffusionModelCreation": "Diffusion model creation",
-    "diffusionModelDeleted": "Diffusion model deleted",
-    "diffusionModelModification": "Diffusion model modification",
-    "diffusionModels": "Diffusion models",
-    "diffusionModelUpdated": "Diffusion model updated",
-    "diffusionType": "Diffusion type",
-    "display": "display",
-    "documents": "document(s)",
-    "doNotModifyUnlessExpert": "Do not edit this section unless you know what you are doing. Incorrect settings can cause the application to malfunction !",
-    "email": "Email",
-    "emailSignatures": "Email signatures",
-    "entities": "Entities",
-    "entityAdded": "Entité added",
-    "entityDeleted": "Entité deleted",
-    "entityFullName": "Full name",
-    "entityTooglePrimary": "Pass to primary entity",
-    "entityType": "Entity type",
-    "entityUpdated": "Entité updated",
-    "entityReplacement": "Entity replacement",
-    "export_seda": "Seda export",
-    "fileplan": "Fileplan",
-    "filterBy": "Filter by",
-    "fingerprint": "Digital fingerprint",
-    "firstname": "Firstname",
-    "folder": "Folder",
-    "folders": "Folders",
-    "for": "for",
-    "functionnalities": "Functionnalities",
-    "groupAdded": "Group added",
-    "groupCreation": "Create group",
-    "groupDeleted": "Group deleted",
-    "groupModification": "Modify group",
-    "groupRedirect": "Group change",
-    "groups": "Groups",
-    "groupUpdated": "Group updated",
-    "history": "Historique",
-    "historyBatch": "Historique des batchs",
-    "home": "Accueil",
-    "id": "Login",
-    "imgRelated": "Associated image",
-    "inactive": "Inactive",
-    "indexing": "Indexing",
-    "informations": "Informations",
-    "initials": "Initials",
-    "isAssociatedTo": "is associated to",
-    "isCopyTo": "is in copy to",
-    "isDestTo": "is in destination to",
-    "isFolderAction": "Folder action",
-    "isFolderActionDesc": "Use this action in a folder folder",
-    "isFolderBasket": "Folder basket",
-    "isFolderStatus": "Folder status",
-    "isLinkedTo": "Is linked to",
-    "isSearchBasket": "Only search basket",
-    "isSytemAction": "System action",
-    "keyword": "Keyword",
-    "keywordHelp": "Keyword help",
-    "keywordHelpDesc_1": "Identifier of logged user",
-    "keywordHelpDesc_10": "Immediate sub-entities (n-1) of entities passed in argument",
-    "keywordHelpDesc_11": "Example of security definition for a group (where clause) : access of main entity of logged user or sub-entity of this entity",
-    "keywordHelpDesc_2": "Email of logged user",
-    "keywordHelpDesc_3": "All entities linked to logged user. Sub-entities are excludes",
-    "keywordHelpDesc_4": "Primary entity of logged user",
-    "keywordHelpDesc_5": "Sub-entities of argument list, can be @my_entities or @my_primary_entity",
-    "keywordHelpDesc_6": "Parent entity passed to argument",
-    "keywordHelpDesc_7": "All entities to the same level of entity in argument",
-    "keywordHelpDesc_8": "All entities with de same type passed in argument",
-    "keywordHelpDesc_9": "All entities (enabled)",
-    "keywordHelper": "Hide / Display keyword help",
-    "label": "Label",
-    "lastname": "Lastname",
-    "life_cycle": "Life cycle",
-    "linkGroup": "Link a group",
-    "logout": "Logout",
-    "maarchApplication": "Maarch App",
-    "manageAbsences": "Manage absences",
-    "manageSignatures": "Manage signatures",
-    "menus": "Menus",
-    "modificationSaved": "Modification has been saved",
-    "module": "Module",
-    "modules": "Modules",
-    "moreOptions": "More options",
-    "move": "Move",
-    "myMenu": "Personal menu",
-    "myProfile": "My profile",
-    "newAction": "New action",
-    "newElement": "New element",
-    "newPsw": "New password",
-    "newSignature": "New signature",
-    "no": "No",
-    "noReplacement": "No replacement",
-    "notes": "Notes",
-    "NotificationAdded": "Notification added",
-    "notificationCreation": "Notification creation",
-    "notificationDeleted": "Notification deleted",
-    "NotificationDiffusionType": "Diffusion type",
-    "NotificationEnabled": "Enabled",
-    "NotificationEvent": "Event",
-    "NotificationJoinDocument": "Join document to notification",
-    "NotificationModel": "Model",
-    "notificationModification": "Notification modification",
-    "notifications": "Notification(s)",
-    "notificationSchedule": "Notifications schedule",
-    "NotificationScheduleInfo": "This part is used to define when notifications will be sent.\n\nIf you choose * from all the drop-down lists, the notification will be sent every minute 365 days a year.\n\nFrequency example :\n14 30 * * * [courrier] Nouveaux courriers à traiter : La notification sera envoyée tous les jours à 14h30\n9 30 * * Lundi [courrier] Nouveaux courriers à traiter : La notification sera envoyée tous les lundi à 9h30",
-    "NotificationScheduleUpdated": "Schedule updated",
-    "notificationsSchedule": "Notifications schedule",
-    "NotificationToEnable": "To enable",
-    "notificationUpdated": "Notification updated",
-    "otherActions": "Other(s) action(s)",
-    "otherInformations": "Other(s) information(s)",
-    "otherParameters": "Other(s) parameter(s)",
-    "outOf": "of",
-    "page": "Page",
-    "parameter": "Parameter",
-    "parameterAdded": "Parameter added",
-    "parameterCreation": "Parameter creation",
-    "parameterDeleted": "Parameter deleted",
-    "parameterModification": "Parameter modification",
-    "parameters": "Parameters",
-    "parameterUpdated": "Parameter updated",
-    "phoneNumber": "Phone number",
-    "primaryEntity": "Primary entity",
-    "priorities": "Priorities",
-    "priorityAdded": "Priority added",
-    "priorityCreation": "Priority creation",
-    "priorityDeleted": "Priority deleted",
-    "priorityModification": "Priority modification",
-    "priorityUpdated": "Priority updated",
-    "privileges": "Privileges",
-    "processAction": "Process action(s)",
-    "processDelay": "Process delay",
-    "processDelayDoctype": "doctype delay is used",
-    "processType": "Process type",
-    "pswReseted": "Password reseted",
-    "record": "element(s)",
-    "records": "result(s)",
-    "recordsPerPage": "result per page",
-    "redirects": "Redirections",
-    "reinitPassword": "Reset password",
-    "relatedUsers": "Related users",
-    "renewPsw": "Enter the password again",
-    "reports": "Reports",
-    "resetPsw": "Reset password",
-    "resId": "Res Identifier",
-    "resultPages": "Rseult pages",
-    "role": "Role",
-    "save": "Save",
-    "sbSignatures": "Signature Book Signatures",
-    "ScriptCreated": "Script created",
-    "search": "Search",
-    "searchEntities": "Search entity",
-    "secondaryEntity": "Secondary entity",
-    "selectAll": "Select all",
-    "sendmail": "Sendmail",
-    "shortLabel": "Short label",
-    "signAdded": "Sign added",
-    "signDeleted": "Sign deleted",
-    "signUpdated": "Sign updated",
-    "siretCode": "SIRET code",
-    "status": "Status",
-    "statusAdded": "Status added",
-    "statusCreation": "Status creation",
-    "statusDeleted": "Status deleted",
-    "statuses": "Statuses",
-    "statusModification": "Status modification",
-    "statusName": "Status name",
-    "statusUpdated": "Status updated",
-    "suspend": "Suspend",
-    "system": "System",
-    "systemParameters": "System parameters",
-    "tags": "Tags",
-    "templates": "Templates",
-    "thesaurus": "Thesaurus",
-    "to": "to",
-    "toDefault": "default",
-    "toEntities": "To entities",
-    "tools": "Tools",
-    "tooltipFolderStatus": "If checked, status can be used for folder baskets",
-    "tooltipIndexStatus": "If checked, you can edit metadatas of the documents having this status",
-    "tooltipSearchStatus": "If checked, the status will be offered in the search criteria STATUS of the advanced search",
-    "toSchedule": "To schedule",
-    "toStatuses": "To statuses",
-    "toStatusesDesc": "You cannot choose a status, a default status has been chosen for this action.",
-    "totalErrors": "Errors element(s)",
-    "totalProcessed": "Processed element(s)",
-    "toUsersEntities": "To users in entities",
-    "type": "Type",
-    "unlinkAction": "Unlink action",
-    "unlinkGroup": "Unlink group",
-    "unselectAll": "Unselect all",
-    "update": "Update",
-    "updateStatus": "Document status modification",
-    "updateStatusInformationsChrono": "When typing the CHRONO of a document, you will modify its status. The document will be present in the basket depending of the status you have chosen.",
-    "updateStatusInformationsGed": "When typing the GED NUMBER of a document, you will modify its status. The document will be present in the basket depending of the status you have chosen.",
-    "uploadSignFile": "Upload a sign file",
-    "uploadSignFileInfo": "Click to add sign file from your computer",
-    "usedInActionPage": "Used in action page",
-    "usedInBasketlist": "Used in basket list",
-    "user": "user",
-    "userCreation": "User Creation",
-    "userModification": "User Modification",
-    "validate": "Validate",
-    "validateAction": "Validate action(s)",
-    "value": "value",
-    "view": "View",
-    "visa": "Visa circuit",
-    "whereClauseAction": "Where clause condition of action display",
-    "workingDays": "Working days",
-    "yes": "Yes",
-    "zipcode": "Zip code",
-    "doctypesAdmin": "Document types",
-    "firstLevelDoctype": "Folder",
-    "secondLevelDoctype": "Sub-folder",
-    "doctype": "Document types",
-    "folderTypeList": "Folder types list",
-    "firstLevelAttached": "Attach to folder",
-    "secondLevelAttached": "Attach to subfolder",
-    "retentionFinalDisposition": "Sort final",
-    "retentionRule": "Retention rules",
-    "durationCurrentUse": "Duration current use",
-    "processDelayDay": "Process delay (in days)",
-    "delay1": "Reminder period 1 before term (in days)",
-    "delay2": "Reminder period 2 after term (in days)",
-    "processMode": "Process modes",
-    "loadedFile": "Loaded file",
-    "generatedFile": "Generated file",
-    "destruction": "Destruction",
-    "conservation": "Retention",
-    "firstLevelAdded": "Folder added",
-    "firstLevelUpdated": "Folder updated",
-    "firstLevelDeleted": "Folder deleted",
-    "secondLevelAdded": "Subfolder added",
-    "secondLevelUpdated": "Subfolder updated",
-    "secondLevelDeleted": "Subfolder deleted",
-    "documentTypeAdded": "Document type added",
-    "documentTypeUpdated": "Document type updated",
-    "documentTypeDeleted": "Document type deleted",
-    "documentTypeReplacement": "Document type replacement",
-    "transferToDoctype": "Replace by this document type",
-    "complementaryFields": "Complementary fields",
-    "archival": "Archival",
-    "field": "Field",
-    "mandatory": "Mandatory",
-    "fieldType": "Field type",
-    "fieldNature": "Field nature",
-    "databaseColumn": "DB column",
-    "used": "Utilisé",
-    "toolTipDeleteDoctype": "If mails are attached to this type of document, a reassignment screen will be displayed.",
-    "cantMoveDoctype": "The document type can only be moved in a sub-folder",
-    "noDoctypeSelected": "No document type selected",
-    "tooltipPriorityDelay": "Use this processing time instead of the one defined in the document type",
-    "tooltipPriorityDefault": "Set this priority by default when saving a mail",
-    "defaultPriority": "Default priority",
-    'quota': 'Quota',
-    'actives': 'Active(s)',
-    'inactives': 'Inactive(s)',
-    'quotaExceeded': 'Quota exceeded'
-    "chooseColor": "Choose a color",
-};
diff --git a/apps/maarch_entreprise/js/angular/lang/lang-fr.js b/apps/maarch_entreprise/js/angular/lang/lang-fr.js
deleted file mode 100755
index a1e56a18436..00000000000
--- a/apps/maarch_entreprise/js/angular/lang/lang-fr.js
+++ /dev/null
@@ -1,363 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.LANG_FR = {
-    "abs": "Absent",
-    "absOff": "Absence désactivée",
-    "absOn": "Absence activée",
-    "action": "Action",
-    "actionAdded": "Action ajoutée",
-    "actionAvailable": "Actions disponibles",
-    "actionCreation": "Création d'une action",
-    "actionDeleted": "Action supprimée",
-    "actionHistory": "Tracer l'action",
-    "actionHistoryDesc": "Permet tracer cette action dans l'historique du document. Il est fortement recommandé de cocher cette option.",
-    "actionModification": "Modification de l'action",
-    "actionName": "Nom de l'action",
-    "actionPage": "Page de résultat de l'action",
-    "actionParameters": "Paramétrage d'action",
-    "actions": "Action(s)",
-    "actionUpdated": "Action modifiée",
-    "activateAbs": "Activer l'absence",
-    "activateAbsence": "Activer l'absence",
-    "active": "Actif",
-    "add": "Ajouter",
-    "address": "Adresse",
-    "addStatus": "Ajouter un statut",
-    "addUser": "Ajouter un utilisateur",
-    "addUserOrEntity": "Ajouter un utilisateur / une entité",
-    "addVisaSignUser": "Ajouter un viseur / signataire",
-    "administration": "Administration",
-    "administrationServices": "Droits d'administration",
-    "allActions": "Toutes les actions",
-    "application": "Application",
-    "archivalAgency": "Convention d'archivage",
-    "archivalAgreement": "Service d'archive",
-    "associatedStatus": "Statut associé",
-    "attachments": "Pièces jointes",
-    "authorize": "Autoriser",
-    "autoLogoutAbsence": "Vous allez être automatiquement déconnecté après avoir défini vos redirections de bannettes",
-    "available": "disponible",
-    "availableGroups": "Groupes disponibles",
-    "availableStatuses": "Statuts disponibles",
-    "avis": "Circuit d'avis",
-    "back": "Retour",
-    "basket": "Bannette",
-    "basketAdded": "Bannette ajoutée",
-    "basketCreation": "Création d'une bannette",
-    "basketDeleted": "Bannette supprimée",
-    "basketModification": "Modification d'une bannette",
-    "basketNotification": "Activer / désactiver la notification de cette bannette",
-    "baskets": "Bannettes",
-    "basketsOrder": "Gérer l'ordre des bannettes",
-    "basketUpdated": "Bannette modifiée",
-    "browsing": "Navigation",
-    "calDays": "jour(s) calendaire(s)",
-    "canBeModified": "Modification des index",
-    "canBeSearched": "Recherche",
-    "cancel": "Annuler",
-    "cases": "Affaires",
-    "changeMyPassword": "Modifier mon mot de passe",
-    "chooseBasket": "Choisissez une banette",
-    "chooseCategoryAssociation": "Choisissez une ou plusieurs catégories associée",
-    "chooseCategoryAssociationHelp": "Si aucune catégorie sélectionnée alors l'action est valable pour toutes les catégories",
-    "chooseDefaultAction": "Choisissez une action principale",
-    "chooseEntity": "Choisissez une entité",
-    "chooseGroup": "Choisissez un groupe",
-    "chooseRedirectGroup": "Choisissez un groupe de remplacement",
-    "chronoNumber": "Numéro chrono",
-    "city": "Ville",
-    "clauseGroup": "Périmètre documentaire",
-    "clause": "Clause",
-    "clickOn": "Cliquez sur",
-    "color": "Couleur",
-    "confirmAction": "Voulez-vous vraiment effectuer cette action ?",
-    "content_management": "Versionning de document",
-    "country": "Pays",
-    "createScriptNotification": "Créer le script",
-    "currentPsw": "Mot de passe actuel",
-    "dataOfMonth": "Données du mois",
-    "date": "Date",
-    "default": "par défaut",
-    "defaultAction": "Action par défaut",
-    "delete": "Supprimer",
-    "deleteMsg": "Voulez-vous vraiment supprimer cet élément ?",
-    "desactivateAbsence": "Désactiver l'absence",
-    "description": "Description",
-    "diffusionList": "Liste de diffusion",
-    "diffusionModelCreation": "Création d'un modèle de diffusion",
-    "diffusionModelDeleted": "Modèle de diffusion supprimé",
-    "diffusionModelModification": "Modification d'un modèle de diffusion",
-    "diffusionModels": "Modèles de diffusion",
-    "diffusionModelUpdated": "Modèle de diffusion mis à jour",
-    "diffusionType": "Type de Modèle",
-    "display": "affichage",
-    "documents": "document(s)",
-    "doNotModifyUnlessExpert": "Ne pas modifier cette section à moins de savoir ce que vous faites. Un mauvais paramètrage peut entrainer des dysfonctionnements de l'application!",
-    "email": "Courriel",
-    "emailSignatures": "Signatures de courriel",
-    "entities": "Entités",
-    "entityAdded": "Entité ajoutée",
-    "entityDeleted": "Entité supprimée",
-    "entityFullName": "Bloc arborescence",
-    "entityTooglePrimary": "Passage en entité primaire",
-    "entityType": "Type d'entité",
-    "entityUpdated": "Entité modifiée",
-    "entityReplacement": "Remplacement de l'entité",
-    "entries": "entrée(s)",
-    "event": "Événement",
-    "export_seda": "Export seda",
-    "fileplan": "Plan de classement personnel",
-    "filterBy": "Filtrer",
-    "filteredFrom": "filtré sur un ensemble de",
-    "fingerprint": "Empreinte numérique",
-    "firstname": "Prénom",
-    "folder": "Dossier",
-    "folders": "Dossiers",
-    "for": "pour",
-    "functionnalities": "Fonctionnalités",
-    "groupAdded": "Groupe ajouté",
-    "groupCreation": "Création d'un groupe",
-    "groupDeleted": "Groupe supprimé",
-    "groupModification": "Modification d'un groupe",
-    "groupRedirect": "Changement de groupe",
-    "groups": "Groupes",
-    "groupUpdated": "Groupe modifié",
-    "history": "Historique",
-    "historyBatch": "Historique des batchs",
-    "home": "Accueil",
-    "id": "Identifiant",
-    "imgRelated": "Image associée",
-    "inactive": "Inactif",
-    "indexing": "Indexations",
-    "informations": "Informations",
-    "infosActions": "Vous devez choisir au moins un statut et / ou un script.",
-    "initials": "Initiales",
-    "integer": "Entier",
-    "ip": "Adresse IP",
-    "isAssociatedTo": "est associé à",
-    "isCopyTo": "est en copie de",
-    "isDestTo": "est en destination de",
-    "isFolderAction": "Action de dossier",
-    "isFolderActionDesc": "Permet d'utiliser cette action dans une bannette de dossier",
-    "isFolderBasket": "Bannette de dossier",
-    "isFolderStatus": "Statut de dossier",
-    "isLinkedTo": "Est associé à",
-    "isSearchBasket": "Bannette de recherche uniquement",
-    "isSytemAction": "Action système",
-    "keyword": "Mot-clé",
-    "keywordHelp": "Aide sur les mots-clés",
-    "keywordHelpDesc_1": "Identifiant de l'utilisateur connecté",
-    "keywordHelpDesc_10": "Sous-entités immédiates (n-1) des entités données en argument",
-    "keywordHelpDesc_11": "Exemple dans la définition de la sécurité d'un groupe (where clause) : accès sur les ressources concernant le service d'appartenance principal de l'utilisateur connecté, ou les sous-services de ce service",
-    "keywordHelpDesc_2": "Courriel de l'utilisateur connecté",
-    "keywordHelpDesc_3": "Toutes les entités rattachées à l'utilisateur connecté. N'inclut pas les sous-entités",
-    "keywordHelpDesc_4": "Entité primaire de l'utilisateur connecté",
-    "keywordHelpDesc_5": "Sous-entités de la liste d'argument, qui peut aussi être @my_entities ou @my_primary_entity",
-    "keywordHelpDesc_6": "Entité parente de l'entité en argument",
-    "keywordHelpDesc_7": "Toutes les entités du même niveau que l'entité en argument",
-    "keywordHelpDesc_8": "Toutes les entités du même type mis en argument",
-    "keywordHelpDesc_9": "Toutes les entités (actives)",
-    "keywordHelper": "Afficher / Cacher l'aide sur les mots-clés",
-    "label": "Libellé",
-    "last": "dernier",
-    "lastname": "Nom",
-    "life_cycle": "Cycle de vie",
-    "linkGroup": "Associer un groupe",
-    "logout": "Se déconnecter",
-    "maarchApplication": "Application Maarch",
-    "manageAbsences": "Rediriger mes bannettes",
-    "manageSignatures": "Gérer les signatures",
-    "menus": "Menus",
-    "modificationSaved": "Modification enregistrée",
-    "module": "Module",
-    "modules": "Modules",
-    "moreOptions": "Plus d'options",
-    "move": "Déplacer",
-    "myMenu": "Menu personnel",
-    "myProfile": "Mon profil",
-    "newAction": "Nouvelle action",
-    "newElement": "Nouvel élément",
-    "newPsw": "Nouveau mot de passe",
-    "newSignature": "Nouvelle signature",
-    "next": "Suivant",
-    "no": "Non",
-    "noRecord": "Aucun élément",
-    "noReplacement": "Aucun remplacement",
-    "noResult": "Aucun résultat",
-    "notes": "Annotations",
-    "NotificationAdded": "Notification ajoutée",
-    "notificationCreation": "Création d'une notification",
-    "notificationDeleted": "Notification supprimée",
-    "NotificationDiffusionType": "Type de diffusion",
-    "NotificationEnabled": "Activée",
-    "NotificationEvent": "Evènement",
-    "NotificationJoinDocument": "Joindre le document à la notification",
-    "NotificationModel": "Modèle",
-    "notificationModification": "Modification de la notification",
-    "notifications": "Notification(s)",
-    "notificationSchedule": "Planifier les notifications",
-    "NotificationScheduleInfo": "Cette partie permet de définir quand seront envoyées les notifications.\n\nSi vous choisissez * dans toutes les listes déroulantes, la notification sera envoyée toutes les minutes 365 jours par an.\n\nExemple de fréquence :\n14 30 * * * [courrier] Nouveaux courriers à traiter : La notification sera envoyée tous les jours à 14h30\n9 30 * * Lundi [courrier] Nouveaux courriers à traiter : La notification sera envoyée tous les lundi à 9h30",
-    "NotificationScheduleUpdated": "Planification mise à jour",
-    "notificationsSchedule": "Planification des notifications",
-    "NotificationToEnable": "Activer",
-    "notificationUpdated": "Notification mise à jour",
-    "otherActions": "Action(s) supplémentaire(s)",
-    "otherInformations": "Information(s) complémentaire(s)",
-    "otherParameters": "Autre(s) paramètre(s)",
-    "outOf": "sur",
-    "page": "Page",
-    "parameter": "Paramètre",
-    "parameterAdded": "Paramètre ajouté",
-    "parameterCreation": "Création d'un paramètre",
-    "parameterDeleted": "Paramètre supprimé",
-    "parameterModification": "Modification d'un paramètre",
-    "parameters": "Paramètres",
-    "parameterUpdated": "Paramètre modifié",
-    "phoneNumber": "Numéro de téléphone",
-    "previous": "Précédent",
-    "primaryEntity": "Entité primaire",
-    "priorities": "Priorité(s)",
-    "priorityAdded": "Priorité ajoutée",
-    "priorityCreation": "Création d'une priorité",
-    "priorityDeleted": "Priorité supprimée",
-    "priorityModification": "Modification d'une priorité",
-    "priorityUpdated": "Priorité modifiée",
-    "privileges": "Privilèges",
-    "processAction": "Action(s) de traitement",
-    "processDelay": "Délai de traitement",
-    "processDelayDoctype": "utilise le délai selon le type de document",
-    "processType": "Type de traitement",
-    "pswReseted": "Mot de passe réinitialisé",
-    "record": "élément(s)",
-    "records": "résultats",
-    "recordsPerPage": "résultats par page",
-    "redirects": "Redirections",
-    "reinitPassword": "Réinitialiser le mot de passe",
-    "relatedUsers": "Utilisateur(s) associé(s)",
-    "renewPsw": "Retaper le mot de passe",
-    "reports": "Statistiques",
-    "resetPsw": "Réinitialiser le mot de passe",
-    "resId": "Identifiant GED",
-    "resultPages": "Pages de résultat",
-    "role": "Rôle",
-    "save": "Enregistrer",
-    "sbSignatures": "Signatures de parapheur",
-    "ScriptCreated": "Script créé",
-    "search": "Chercher",
-    "searchEntities": "Rechercher une entité",
-    "secondaryEntity": "Entitté secondaire",
-    "selectAll": "Sélectionner tout",
-    "sendmail": "Envoi de courriels",
-    "shortLabel": "Libellé court",
-    "signAdded": "Signature ajoutée",
-    "signDeleted": "Signature supprimée",
-    "signUpdated": "Signature modifiée",
-    "siretCode": "Numéro SIRET",
-    "status": "Statut",
-    "statusAdded": "Statut ajouté",
-    "statusCreation": "Création d'un statut",
-    "statusDeleted": "Statut supprimé",
-    "statuses": "Statut(s)",
-    "statusModification": "Modification du statut",
-    "statusName": "Nom du statut",
-    "statusUpdated": "Statut mis à jour",
-    "string": "Chaine de caratère",
-    "suspend": "Suspendre",
-    "system": "Système",
-    "systemParameters": "paramètres système",
-    "tags": "Mots clés",
-    "templates": "Modèles de documents",
-    "thesaurus": "Thésaurus",
-    "to": "vers",
-    "toDefault": "par défaut",
-    "toEntities": "Vers les services",
-    "tools": "Outils",
-    "tooltipFolderStatus": "Si coché, le statut pourra être utilisé pour des bannettes de dossiers",
-    "tooltipIndexStatus": "Si coché, vous pourrez modifier les meta-données des documents ayant ce statut",
-    "tooltipSearchStatus": "Si coché, le statut vous sera proposé dans le critère de recherche STATUTS de la recherche avancée",
-    "toSchedule": "Planifier",
-    "toStatuses": "Vers les statuts",
-    "toStatusesDesc": "Vous ne pouvez pas choisir de statut, un statut est dèja pré-définit pour cette action.",
-    "totalErrors": "Élément(s) en erreur",
-    "totalProcessed": "Élément(s) analysé(s)",
-    "toUsersEntities": "Vers les utilisateurs des services",
-    "type": "Type",
-    "unlinkAction": "Dissocier l'action",
-    "unlinkGroup": "Dissocier le groupe",
-    "unselectAll": "Tout désélectionner",
-    "update": "Modifier",
-    "updateStatus": "Changement de statut de courrier",
-    "updateStatusInformationsChrono": "En saisissant le NUMÉRO CHRONO du document, vous modifierez le statut du courrier. Le courrier sera disponible dans la bannette des utilisateurs auquel il était affecté suivant le statut que vous aurez défini.",
-    "updateStatusInformationsGed": "En saisissant l'IDENTIFIANT GED du document, vous modifierez le statut du courrier. Le courrier sera disponible dans la bannette des utilisateurs auquel il était affecté suivant le statut que vous aurez défini.",
-    "uploadSignFile": "Déposer une signature",
-    "uploadSignFileInfo": "Cliquer pour ajouter une signature depuis votre poste",
-    "usedInActionPage": "Action sur la page d'action",
-    "usedInBasketlist": "Action sur la liste de résultat",
-    "user": "utilisateur",
-    "userAdded": "Utilisateur ajouté",
-    "userAuthorized": "Utilisateur autorisé",
-    "userCreation": "Création d'un utilisateur",
-    "userDeleted": "Utilisateur supprimé",
-    "userModification": "Modification de l'utilisateur",
-    "users": "Utilisateur(s)",
-    "userSuspended": "Utilisateur suspendu",
-    "userUpdated": "Utilisateur modifié",
-    "validate": "Valider",
-    "validateAction": "Action(s) de qualification",
-    "value": "valeur",
-    "view": "Consulter",
-    "visa": "Circuit de visa",
-    "whereClauseAction": "Condition d'apparition de l'action (where clause)",
-    "workingDays": "jour(s) ouvré(s)",
-    "yes": "Oui",
-    "zipcode": "Code postal",
-    "doctypesAdmin": "Typologie(s) documentaire(s)",
-    "firstLevelDoctype": "Chemise",
-    "secondLevelDoctype": "Sous-chemise",
-    "doctype": "Type de document",
-    "folderTypeList": "Liste des types de dossier",
-    "firstLevelAttached": "Rattacher à la chemise",
-    "secondLevelAttached": "Rattacher à la sous-chemise",
-    "retentionFinalDisposition": "Sort final",
-    "retentionRule": "Règle de conservation",
-    "durationCurrentUse": "Durée d'utilité courante",
-    "processDelayDay": "Délai de traitement (en jours)",
-    "delay1": "Délai relance 1 avant terme (en jours)",
-    "delay2": "Délai relance 2 après terme (en jours)",
-    "processMode": "Mode de traitement",
-    "loadedFile": "Fichier importé",
-    "generatedFile": "Fichier généré",
-    "destruction": "Destruction",
-    "conservation": "Conservation",
-    "firstLevelAdded": "Chemise créée",
-    "firstLevelUpdated": "Chemise mise à jour",
-    "firstLevelDeleted": "Chemise supprimée",
-    "secondLevelAdded": "Sous-chemise créée",
-    "secondLevelUpdated": "Sous-chemise mise à jour",
-    "secondLevelDeleted": "Sous-chemise supprimée",
-    "chooseModel": "Choisissez un modèle",
-    "documentTypeAdded": "Type de document ajouté",
-    "documentTypeUpdated": "Type de document mis à jour",
-    "documentTypeDeleted": "Type de document supprimé",
-    "documentTypeReplacement": "Remplacement du type de document",
-    "transferToDoctype": "Remplacer par le type de document",
-    "complementaryFields": "Champs complémentaires",
-    "archival": "Archivage",
-    "field": "Champ",
-    "mandatory": "Obligatoire",
-    "fieldType": "Type champ",
-    "fieldNature": "Nature champ",
-    "databaseColumn": "Colonne BDD",
-    "used": "Utilisé",
-    "toolTipDeleteDoctype": "Si des courriers sont rattachés à ce type de document, un écran de réaffectation s'affichera",
-    "cantMoveDoctype": "Le type de document peut uniquement être déplacé dans une sous-chemise",
-    "noDoctypeSelected": "Aucun type de document sélectionné",
-    "tooltipPriorityDelay": "Utiliser ce délai de traitement au lieu de celui défini dans le type document",
-    "tooltipPriorityDefault": "Positionner cette priorité par défaut lors de l'enregistrement d'un courrier",
-    "defaultPriority": "Priorité par défaut",
-    "chooseColor": "Choisissez une couleur",
-    'quota': 'Quota',
-    'actives': 'Actif(s)',
-    'inactives': 'Inactif(s)',
-    'quotaExceeded': 'Quota dépassé'
-};
diff --git a/apps/maarch_entreprise/js/angular/main.js b/apps/maarch_entreprise/js/angular/main.js
deleted file mode 100755
index b70598a80f9..00000000000
--- a/apps/maarch_entreprise/js/angular/main.js
+++ /dev/null
@@ -1,7 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-var platform_browser_dynamic_1 = require("@angular/platform-browser-dynamic");
-var core_1 = require("@angular/core");
-var app_module_1 = require("./app/app.module");
-core_1.enableProdMode();
-platform_browser_dynamic_1.platformBrowserDynamic().bootstrapModule(app_module_1.AppModule);
diff --git a/apps/maarch_entreprise/js/angular/plugins/autocomplete.plugin.js b/apps/maarch_entreprise/js/angular/plugins/autocomplete.plugin.js
deleted file mode 100644
index 3453e45393e..00000000000
--- a/apps/maarch_entreprise/js/angular/plugins/autocomplete.plugin.js
+++ /dev/null
@@ -1,97 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-var forms_1 = require("@angular/forms");
-var startWith_1 = require("rxjs/operators/startWith");
-var map_1 = require("rxjs/operators/map");
-var AutoCompletePlugin = /** @class */ (function () {
-    function AutoCompletePlugin(http, target) {
-        var _this = this;
-        this.http = http;
-        this.userList = [];
-        this.elemList = [];
-        this.statusesList = [];
-        this.coreUrl = angularGlobals.coreUrl;
-        if (target.indexOf('users') != -1) {
-            this.userCtrl = new forms_1.FormControl();
-            this.http.get(this.coreUrl + 'rest/autocomplete/users')
-                .subscribe(function (data) {
-                _this.userList = data;
-                _this.filteredUsers = _this.userCtrl.valueChanges
-                    .pipe(startWith_1.startWith(''), map_1.map(function (user) { return user ? _this.autocompleteFilterUser(user) : _this.userList.slice(); }));
-            }, function () {
-                location.href = "index.php";
-            });
-        }
-        if (target.indexOf('statuses') != -1) {
-            this.statusCtrl = new forms_1.FormControl();
-            this.http.get(this.coreUrl + 'rest/autocomplete/statuses')
-                .subscribe(function (data) {
-                _this.statusesList = data;
-                _this.filteredStatuses = _this.statusCtrl.valueChanges
-                    .pipe(startWith_1.startWith(''), map_1.map(function (status) { return status ? _this.autocompleteFilterStatuses(status) : _this.statusesList.slice(); }));
-            }, function () {
-                location.href = "index.php";
-            });
-        }
-        if (target.indexOf('usersAndEntities') != -1) {
-            this.elementCtrl = new forms_1.FormControl();
-            this.elemList = [];
-            this.http.get(this.coreUrl + 'rest/autocomplete/users')
-                .subscribe(function (data) {
-                _this.elemList = data;
-                _this.http.get(_this.coreUrl + 'rest/autocomplete/entities')
-                    .subscribe(function (data) {
-                    _this.elemList = _this.elemList.concat(data);
-                    _this.filteredElements = _this.elementCtrl.valueChanges
-                        .pipe(startWith_1.startWith(''), map_1.map(function (elem) { return elem ? _this.autocompleteFilterElements(elem) : _this.elemList.slice(); }));
-                }, function () {
-                    location.href = "index.php";
-                });
-            }, function () {
-                location.href = "index.php";
-            });
-        }
-        if (target.indexOf('entities') != -1) {
-            this.elementCtrl = new forms_1.FormControl();
-            this.elemList = [];
-            this.http.get(this.coreUrl + 'rest/autocomplete/entities')
-                .subscribe(function (data) {
-                _this.elemList = data;
-                _this.filteredElements = _this.elementCtrl.valueChanges
-                    .pipe(startWith_1.startWith(''), map_1.map(function (elem) { return elem ? _this.autocompleteFilterElements(elem) : _this.elemList.slice(); }));
-            }, function () {
-                location.href = "index.php";
-            });
-        }
-        else if (target.indexOf('visaUsers') != -1) {
-            this.userCtrl = new forms_1.FormControl();
-            this.http.get(this.coreUrl + 'rest/autocomplete/users/visa')
-                .subscribe(function (data) {
-                _this.userList = data;
-                _this.filteredUsers = _this.userCtrl.valueChanges
-                    .pipe(startWith_1.startWith(''), map_1.map(function (user) { return user ? _this.autocompleteFilterUser(user) : _this.userList.slice(); }));
-            }, function () {
-                location.href = "index.php";
-            });
-        }
-        else {
-        }
-    }
-    AutoCompletePlugin.prototype.autocompleteFilterUser = function (name) {
-        return this.userList.filter(function (user) {
-            return user.idToDisplay.toLowerCase().indexOf(name.toLowerCase()) >= 0;
-        });
-    };
-    AutoCompletePlugin.prototype.autocompleteFilterStatuses = function (name) {
-        return this.statusesList.filter(function (status) {
-            return status.idToDisplay.toLowerCase().indexOf(name.toLowerCase()) >= 0;
-        });
-    };
-    AutoCompletePlugin.prototype.autocompleteFilterElements = function (name) {
-        return this.elemList.filter(function (elem) {
-            return elem.idToDisplay.toLowerCase().indexOf(name.toLowerCase()) >= 0;
-        });
-    };
-    return AutoCompletePlugin;
-}());
-exports.AutoCompletePlugin = AutoCompletePlugin;
-- 
GitLab