(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["main"],{ /***/ "./node_modules/moment/locale sync recursive ^\\.\\/.*$": /*!**************************************************!*\ !*** ./node_modules/moment/locale sync ^\.\/.*$ ***! \**************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { var map = { "./af": "./node_modules/moment/locale/af.js", "./af.js": "./node_modules/moment/locale/af.js", "./ar": "./node_modules/moment/locale/ar.js", "./ar-dz": "./node_modules/moment/locale/ar-dz.js", "./ar-dz.js": "./node_modules/moment/locale/ar-dz.js", "./ar-kw": "./node_modules/moment/locale/ar-kw.js", "./ar-kw.js": "./node_modules/moment/locale/ar-kw.js", "./ar-ly": "./node_modules/moment/locale/ar-ly.js", "./ar-ly.js": "./node_modules/moment/locale/ar-ly.js", "./ar-ma": "./node_modules/moment/locale/ar-ma.js", "./ar-ma.js": "./node_modules/moment/locale/ar-ma.js", "./ar-sa": "./node_modules/moment/locale/ar-sa.js", "./ar-sa.js": "./node_modules/moment/locale/ar-sa.js", "./ar-tn": "./node_modules/moment/locale/ar-tn.js", "./ar-tn.js": "./node_modules/moment/locale/ar-tn.js", "./ar.js": "./node_modules/moment/locale/ar.js", "./az": "./node_modules/moment/locale/az.js", "./az.js": "./node_modules/moment/locale/az.js", "./be": "./node_modules/moment/locale/be.js", "./be.js": "./node_modules/moment/locale/be.js", "./bg": "./node_modules/moment/locale/bg.js", "./bg.js": "./node_modules/moment/locale/bg.js", "./bm": "./node_modules/moment/locale/bm.js", "./bm.js": "./node_modules/moment/locale/bm.js", "./bn": "./node_modules/moment/locale/bn.js", "./bn.js": "./node_modules/moment/locale/bn.js", "./bo": "./node_modules/moment/locale/bo.js", "./bo.js": "./node_modules/moment/locale/bo.js", "./br": "./node_modules/moment/locale/br.js", "./br.js": "./node_modules/moment/locale/br.js", "./bs": "./node_modules/moment/locale/bs.js", "./bs.js": "./node_modules/moment/locale/bs.js", "./ca": "./node_modules/moment/locale/ca.js", "./ca.js": "./node_modules/moment/locale/ca.js", "./cs": "./node_modules/moment/locale/cs.js", "./cs.js": "./node_modules/moment/locale/cs.js", "./cv": "./node_modules/moment/locale/cv.js", "./cv.js": "./node_modules/moment/locale/cv.js", "./cy": "./node_modules/moment/locale/cy.js", "./cy.js": "./node_modules/moment/locale/cy.js", "./da": "./node_modules/moment/locale/da.js", "./da.js": "./node_modules/moment/locale/da.js", "./de": "./node_modules/moment/locale/de.js", "./de-at": "./node_modules/moment/locale/de-at.js", "./de-at.js": "./node_modules/moment/locale/de-at.js", "./de-ch": "./node_modules/moment/locale/de-ch.js", "./de-ch.js": "./node_modules/moment/locale/de-ch.js", "./de.js": "./node_modules/moment/locale/de.js", "./dv": "./node_modules/moment/locale/dv.js", "./dv.js": "./node_modules/moment/locale/dv.js", "./el": "./node_modules/moment/locale/el.js", "./el.js": "./node_modules/moment/locale/el.js", "./en-SG": "./node_modules/moment/locale/en-SG.js", "./en-SG.js": "./node_modules/moment/locale/en-SG.js", "./en-au": "./node_modules/moment/locale/en-au.js", "./en-au.js": "./node_modules/moment/locale/en-au.js", "./en-ca": "./node_modules/moment/locale/en-ca.js", "./en-ca.js": "./node_modules/moment/locale/en-ca.js", "./en-gb": "./node_modules/moment/locale/en-gb.js", "./en-gb.js": "./node_modules/moment/locale/en-gb.js", "./en-ie": "./node_modules/moment/locale/en-ie.js", "./en-ie.js": "./node_modules/moment/locale/en-ie.js", "./en-il": "./node_modules/moment/locale/en-il.js", "./en-il.js": "./node_modules/moment/locale/en-il.js", "./en-nz": "./node_modules/moment/locale/en-nz.js", "./en-nz.js": "./node_modules/moment/locale/en-nz.js", "./eo": "./node_modules/moment/locale/eo.js", "./eo.js": "./node_modules/moment/locale/eo.js", "./es": "./node_modules/moment/locale/es.js", "./es-do": "./node_modules/moment/locale/es-do.js", "./es-do.js": "./node_modules/moment/locale/es-do.js", "./es-us": "./node_modules/moment/locale/es-us.js", "./es-us.js": "./node_modules/moment/locale/es-us.js", "./es.js": "./node_modules/moment/locale/es.js", "./et": "./node_modules/moment/locale/et.js", "./et.js": "./node_modules/moment/locale/et.js", "./eu": "./node_modules/moment/locale/eu.js", "./eu.js": "./node_modules/moment/locale/eu.js", "./fa": "./node_modules/moment/locale/fa.js", "./fa.js": "./node_modules/moment/locale/fa.js", "./fi": "./node_modules/moment/locale/fi.js", "./fi.js": "./node_modules/moment/locale/fi.js", "./fo": "./node_modules/moment/locale/fo.js", "./fo.js": "./node_modules/moment/locale/fo.js", "./fr": "./node_modules/moment/locale/fr.js", "./fr-ca": "./node_modules/moment/locale/fr-ca.js", "./fr-ca.js": "./node_modules/moment/locale/fr-ca.js", "./fr-ch": "./node_modules/moment/locale/fr-ch.js", "./fr-ch.js": "./node_modules/moment/locale/fr-ch.js", "./fr.js": "./node_modules/moment/locale/fr.js", "./fy": "./node_modules/moment/locale/fy.js", "./fy.js": "./node_modules/moment/locale/fy.js", "./ga": "./node_modules/moment/locale/ga.js", "./ga.js": "./node_modules/moment/locale/ga.js", "./gd": "./node_modules/moment/locale/gd.js", "./gd.js": "./node_modules/moment/locale/gd.js", "./gl": "./node_modules/moment/locale/gl.js", "./gl.js": "./node_modules/moment/locale/gl.js", "./gom-latn": "./node_modules/moment/locale/gom-latn.js", "./gom-latn.js": "./node_modules/moment/locale/gom-latn.js", "./gu": "./node_modules/moment/locale/gu.js", "./gu.js": "./node_modules/moment/locale/gu.js", "./he": "./node_modules/moment/locale/he.js", "./he.js": "./node_modules/moment/locale/he.js", "./hi": "./node_modules/moment/locale/hi.js", "./hi.js": "./node_modules/moment/locale/hi.js", "./hr": "./node_modules/moment/locale/hr.js", "./hr.js": "./node_modules/moment/locale/hr.js", "./hu": "./node_modules/moment/locale/hu.js", "./hu.js": "./node_modules/moment/locale/hu.js", "./hy-am": "./node_modules/moment/locale/hy-am.js", "./hy-am.js": "./node_modules/moment/locale/hy-am.js", "./id": "./node_modules/moment/locale/id.js", "./id.js": "./node_modules/moment/locale/id.js", "./is": "./node_modules/moment/locale/is.js", "./is.js": "./node_modules/moment/locale/is.js", "./it": "./node_modules/moment/locale/it.js", "./it-ch": "./node_modules/moment/locale/it-ch.js", "./it-ch.js": "./node_modules/moment/locale/it-ch.js", "./it.js": "./node_modules/moment/locale/it.js", "./ja": "./node_modules/moment/locale/ja.js", "./ja.js": "./node_modules/moment/locale/ja.js", "./jv": "./node_modules/moment/locale/jv.js", "./jv.js": "./node_modules/moment/locale/jv.js", "./ka": "./node_modules/moment/locale/ka.js", "./ka.js": "./node_modules/moment/locale/ka.js", "./kk": "./node_modules/moment/locale/kk.js", "./kk.js": "./node_modules/moment/locale/kk.js", "./km": "./node_modules/moment/locale/km.js", "./km.js": "./node_modules/moment/locale/km.js", "./kn": "./node_modules/moment/locale/kn.js", "./kn.js": "./node_modules/moment/locale/kn.js", "./ko": "./node_modules/moment/locale/ko.js", "./ko.js": "./node_modules/moment/locale/ko.js", "./ku": "./node_modules/moment/locale/ku.js", "./ku.js": "./node_modules/moment/locale/ku.js", "./ky": "./node_modules/moment/locale/ky.js", "./ky.js": "./node_modules/moment/locale/ky.js", "./lb": "./node_modules/moment/locale/lb.js", "./lb.js": "./node_modules/moment/locale/lb.js", "./lo": "./node_modules/moment/locale/lo.js", "./lo.js": "./node_modules/moment/locale/lo.js", "./lt": "./node_modules/moment/locale/lt.js", "./lt.js": "./node_modules/moment/locale/lt.js", "./lv": "./node_modules/moment/locale/lv.js", "./lv.js": "./node_modules/moment/locale/lv.js", "./me": "./node_modules/moment/locale/me.js", "./me.js": "./node_modules/moment/locale/me.js", "./mi": "./node_modules/moment/locale/mi.js", "./mi.js": "./node_modules/moment/locale/mi.js", "./mk": "./node_modules/moment/locale/mk.js", "./mk.js": "./node_modules/moment/locale/mk.js", "./ml": "./node_modules/moment/locale/ml.js", "./ml.js": "./node_modules/moment/locale/ml.js", "./mn": "./node_modules/moment/locale/mn.js", "./mn.js": "./node_modules/moment/locale/mn.js", "./mr": "./node_modules/moment/locale/mr.js", "./mr.js": "./node_modules/moment/locale/mr.js", "./ms": "./node_modules/moment/locale/ms.js", "./ms-my": "./node_modules/moment/locale/ms-my.js", "./ms-my.js": "./node_modules/moment/locale/ms-my.js", "./ms.js": "./node_modules/moment/locale/ms.js", "./mt": "./node_modules/moment/locale/mt.js", "./mt.js": "./node_modules/moment/locale/mt.js", "./my": "./node_modules/moment/locale/my.js", "./my.js": "./node_modules/moment/locale/my.js", "./nb": "./node_modules/moment/locale/nb.js", "./nb.js": "./node_modules/moment/locale/nb.js", "./ne": "./node_modules/moment/locale/ne.js", "./ne.js": "./node_modules/moment/locale/ne.js", "./nl": "./node_modules/moment/locale/nl.js", "./nl-be": "./node_modules/moment/locale/nl-be.js", "./nl-be.js": "./node_modules/moment/locale/nl-be.js", "./nl.js": "./node_modules/moment/locale/nl.js", "./nn": "./node_modules/moment/locale/nn.js", "./nn.js": "./node_modules/moment/locale/nn.js", "./pa-in": "./node_modules/moment/locale/pa-in.js", "./pa-in.js": "./node_modules/moment/locale/pa-in.js", "./pl": "./node_modules/moment/locale/pl.js", "./pl.js": "./node_modules/moment/locale/pl.js", "./pt": "./node_modules/moment/locale/pt.js", "./pt-br": "./node_modules/moment/locale/pt-br.js", "./pt-br.js": "./node_modules/moment/locale/pt-br.js", "./pt.js": "./node_modules/moment/locale/pt.js", "./ro": "./node_modules/moment/locale/ro.js", "./ro.js": "./node_modules/moment/locale/ro.js", "./ru": "./node_modules/moment/locale/ru.js", "./ru.js": "./node_modules/moment/locale/ru.js", "./sd": "./node_modules/moment/locale/sd.js", "./sd.js": "./node_modules/moment/locale/sd.js", "./se": "./node_modules/moment/locale/se.js", "./se.js": "./node_modules/moment/locale/se.js", "./si": "./node_modules/moment/locale/si.js", "./si.js": "./node_modules/moment/locale/si.js", "./sk": "./node_modules/moment/locale/sk.js", "./sk.js": "./node_modules/moment/locale/sk.js", "./sl": "./node_modules/moment/locale/sl.js", "./sl.js": "./node_modules/moment/locale/sl.js", "./sq": "./node_modules/moment/locale/sq.js", "./sq.js": "./node_modules/moment/locale/sq.js", "./sr": "./node_modules/moment/locale/sr.js", "./sr-cyrl": "./node_modules/moment/locale/sr-cyrl.js", "./sr-cyrl.js": "./node_modules/moment/locale/sr-cyrl.js", "./sr.js": "./node_modules/moment/locale/sr.js", "./ss": "./node_modules/moment/locale/ss.js", "./ss.js": "./node_modules/moment/locale/ss.js", "./sv": "./node_modules/moment/locale/sv.js", "./sv.js": "./node_modules/moment/locale/sv.js", "./sw": "./node_modules/moment/locale/sw.js", "./sw.js": "./node_modules/moment/locale/sw.js", "./ta": "./node_modules/moment/locale/ta.js", "./ta.js": "./node_modules/moment/locale/ta.js", "./te": "./node_modules/moment/locale/te.js", "./te.js": "./node_modules/moment/locale/te.js", "./tet": "./node_modules/moment/locale/tet.js", "./tet.js": "./node_modules/moment/locale/tet.js", "./tg": "./node_modules/moment/locale/tg.js", "./tg.js": "./node_modules/moment/locale/tg.js", "./th": "./node_modules/moment/locale/th.js", "./th.js": "./node_modules/moment/locale/th.js", "./tl-ph": "./node_modules/moment/locale/tl-ph.js", "./tl-ph.js": "./node_modules/moment/locale/tl-ph.js", "./tlh": "./node_modules/moment/locale/tlh.js", "./tlh.js": "./node_modules/moment/locale/tlh.js", "./tr": "./node_modules/moment/locale/tr.js", "./tr.js": "./node_modules/moment/locale/tr.js", "./tzl": "./node_modules/moment/locale/tzl.js", "./tzl.js": "./node_modules/moment/locale/tzl.js", "./tzm": "./node_modules/moment/locale/tzm.js", "./tzm-latn": "./node_modules/moment/locale/tzm-latn.js", "./tzm-latn.js": "./node_modules/moment/locale/tzm-latn.js", "./tzm.js": "./node_modules/moment/locale/tzm.js", "./ug-cn": "./node_modules/moment/locale/ug-cn.js", "./ug-cn.js": "./node_modules/moment/locale/ug-cn.js", "./uk": "./node_modules/moment/locale/uk.js", "./uk.js": "./node_modules/moment/locale/uk.js", "./ur": "./node_modules/moment/locale/ur.js", "./ur.js": "./node_modules/moment/locale/ur.js", "./uz": "./node_modules/moment/locale/uz.js", "./uz-latn": "./node_modules/moment/locale/uz-latn.js", "./uz-latn.js": "./node_modules/moment/locale/uz-latn.js", "./uz.js": "./node_modules/moment/locale/uz.js", "./vi": "./node_modules/moment/locale/vi.js", "./vi.js": "./node_modules/moment/locale/vi.js", "./x-pseudo": "./node_modules/moment/locale/x-pseudo.js", "./x-pseudo.js": "./node_modules/moment/locale/x-pseudo.js", "./yo": "./node_modules/moment/locale/yo.js", "./yo.js": "./node_modules/moment/locale/yo.js", "./zh-cn": "./node_modules/moment/locale/zh-cn.js", "./zh-cn.js": "./node_modules/moment/locale/zh-cn.js", "./zh-hk": "./node_modules/moment/locale/zh-hk.js", "./zh-hk.js": "./node_modules/moment/locale/zh-hk.js", "./zh-tw": "./node_modules/moment/locale/zh-tw.js", "./zh-tw.js": "./node_modules/moment/locale/zh-tw.js" }; function webpackContext(req) { var id = webpackContextResolve(req); return __webpack_require__(id); } function webpackContextResolve(req) { var id = map[req]; if(!(id + 1)) { // check for number or string var e = new Error("Cannot find module '" + req + "'"); e.code = 'MODULE_NOT_FOUND'; throw e; } return id; } webpackContext.keys = function webpackContextKeys() { return Object.keys(map); }; webpackContext.resolve = webpackContextResolve; module.exports = webpackContext; webpackContext.id = "./node_modules/moment/locale sync recursive ^\\.\\/.*$"; /***/ }), /***/ "./src/$$_lazy_route_resource lazy recursive": /*!**********************************************************!*\ !*** ./src/$$_lazy_route_resource lazy namespace object ***! \**********************************************************/ /*! no static exports found */ /***/ (function(module, exports) { function webpackEmptyAsyncContext(req) { // Here Promise.resolve().then() is used instead of new Promise() to prevent // uncaught exception popping up in devtools return Promise.resolve().then(function() { var e = new Error("Cannot find module '" + req + "'"); e.code = 'MODULE_NOT_FOUND'; throw e; }); } webpackEmptyAsyncContext.keys = function() { return []; }; webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext; module.exports = webpackEmptyAsyncContext; webpackEmptyAsyncContext.id = "./src/$$_lazy_route_resource lazy recursive"; /***/ }), /***/ "./src/app/administration/barreferentiel/barcopactivityduration/barcopactivityduration.model.ts": /*!******************************************************************************************************!*\ !*** ./src/app/administration/barreferentiel/barcopactivityduration/barcopactivityduration.model.ts ***! \******************************************************************************************************/ /*! exports provided: BarCopActivityDuration */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BarCopActivityDuration", function() { return BarCopActivityDuration; }); var BarCopActivityDuration = /** @class */ (function () { function BarCopActivityDuration() { } return BarCopActivityDuration; }()); /***/ }), /***/ "./src/app/administration/barreferentiel/barcopactivityduration/barcopactivityduration.service.ts": /*!********************************************************************************************************!*\ !*** ./src/app/administration/barreferentiel/barcopactivityduration/barcopactivityduration.service.ts ***! \********************************************************************************************************/ /*! exports provided: BarcopactivitydurationService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BarcopactivitydurationService", function() { return BarcopactivitydurationService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); var BarcopactivitydurationService = /** @class */ (function () { function BarcopactivitydurationService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].apiURL; this.btnName = 'Common_Buttons.Add_Record'; } BarcopactivitydurationService.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; BarcopactivitydurationService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; BarcopactivitydurationService.prototype.setBarCopDuration = function (gridbarCopDuration) { this.barCopDuration = gridbarCopDuration; if (this.barCopDuration != null) { this.initUpdate(); } else { this.initCreate(); } }; BarcopactivitydurationService.prototype.setBarCopDurationArray = function (barCopDurationArray) { this.barCopDurationArray = barCopDurationArray; }; BarcopactivitydurationService.prototype.updateBarCopDuration = function (barCopDuration) { return this.httpClient.put(this.apiURL + '/updateBarCopActivityDuration', barCopDuration, { observe: 'response' }); }; BarcopactivitydurationService.prototype.updateBarCopDurationOrganisationList = function (barCopDuration) { return this.httpClient.put(this.apiURL + '/updateBarCopDurationOrganisationList', barCopDuration, { observe: 'response' }); }; BarcopactivitydurationService.prototype.getUpdateBarCopDuration = function () { return this.barCopDuration; }; BarcopactivitydurationService.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; BarcopactivitydurationService.prototype.getAllBarCopActivityDurationList = function (barcopactivityduration) { return this.httpClient.post(this.apiURL + '/getBarCopActivityDurationList', barcopactivityduration).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; BarcopactivitydurationService.prototype.getDurationRuleList = function (barcopactivityduration) { return this.httpClient.post(this.apiURL + '/getDurationRuleList', barcopactivityduration).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; BarcopactivitydurationService.prototype.getFunctionalityList = function (sign) { return this.httpClient.post(this.apiURL + '/getFunctionalityList', sign).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; BarcopactivitydurationService.prototype.createBarCopDuration = function (barCopDuration) { return this.httpClient.post(this.apiURL + '/saveBarCopActivityDuration', barCopDuration, { observe: 'response' }); }; BarcopactivitydurationService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]]) ], BarcopactivitydurationService); return BarcopactivitydurationService; }()); /***/ }), /***/ "./src/app/administration/barreferentiel/barprogramlines/barprogramlines.model.ts": /*!****************************************************************************************!*\ !*** ./src/app/administration/barreferentiel/barprogramlines/barprogramlines.model.ts ***! \****************************************************************************************/ /*! exports provided: BarProgramLines */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BarProgramLines", function() { return BarProgramLines; }); var BarProgramLines = /** @class */ (function () { function BarProgramLines() { } return BarProgramLines; }()); /***/ }), /***/ "./src/app/administration/barreferentiel/barprogramlines/barprogramlines.service.ts": /*!******************************************************************************************!*\ !*** ./src/app/administration/barreferentiel/barprogramlines/barprogramlines.service.ts ***! \******************************************************************************************/ /*! exports provided: BarProgramLinesService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BarProgramLinesService", function() { return BarProgramLinesService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); var BarProgramLinesService = /** @class */ (function () { function BarProgramLinesService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_4__["environment"].apiURL; this.btnName = 'Common_Buttons.Add_Record'; } BarProgramLinesService.prototype.getAllBarProgramLines = function (barProgramLines) { return this.httpClient.post(this.apiURL + '/getBarProgramLinesList', barProgramLines).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (res) { return res; })); }; BarProgramLinesService.prototype.updateBarProgramLinesOrganisationList = function (barProgramLines) { return this.httpClient.put(this.apiURL + '/updateBarProgramLinesOrganisationList', barProgramLines, { observe: 'response' }); }; BarProgramLinesService.prototype.getGridOptions = function () { return this.gridOptions; }; BarProgramLinesService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; BarProgramLinesService.prototype.createBarProgramLinesList = function (barProgramLines) { return this.httpClient.post(this.apiURL + '/saveBarProgramLines', barProgramLines, { observe: 'response' }); }; BarProgramLinesService.prototype.updateBarProgramLinesList = function (barProgramLines) { return this.httpClient.put(this.apiURL + '/updateBarProgramLines', barProgramLines, { observe: 'response' }); }; BarProgramLinesService.prototype.setBarProgramLines = function (gridBarProgramLines) { this.barProgramLines = gridBarProgramLines; if (this.barProgramLines != null) { this.initUpdate(); } else { this.initCreate(); } }; BarProgramLinesService.prototype.getUpdateBarProgramLines = function () { return this.barProgramLines; }; BarProgramLinesService.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; BarProgramLinesService.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; BarProgramLinesService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]]) ], BarProgramLinesService); return BarProgramLinesService; }()); /***/ }), /***/ "./src/app/administration/barreferentiel/bwrprestation/bwrprestation.model.ts": /*!************************************************************************************!*\ !*** ./src/app/administration/barreferentiel/bwrprestation/bwrprestation.model.ts ***! \************************************************************************************/ /*! exports provided: BarPrestation */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BarPrestation", function() { return BarPrestation; }); var BarPrestation = /** @class */ (function () { function BarPrestation() { } return BarPrestation; }()); /***/ }), /***/ "./src/app/administration/barreferentiel/bwrprestation/bwrprestation.service.ts": /*!**************************************************************************************!*\ !*** ./src/app/administration/barreferentiel/bwrprestation/bwrprestation.service.ts ***! \**************************************************************************************/ /*! exports provided: BarPrestationService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BarPrestationService", function() { return BarPrestationService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); var BarPrestationService = /** @class */ (function () { function BarPrestationService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_4__["environment"].apiURL; this.btnName = 'Common_Buttons.Add_Record'; } BarPrestationService.prototype.getAllBarProgramLines = function (barPrestationLines) { return this.httpClient.post(this.apiURL + '/getBarPrestationList', barPrestationLines).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (res) { return res; })); }; BarPrestationService.prototype.updateBarProgramLinesOrganisationList = function (barPrestationLines) { return this.httpClient.put(this.apiURL + '/updateBarprestationOrganisationList', barPrestationLines, { observe: 'response' }); }; BarPrestationService.prototype.getGridOptions = function () { return this.gridOptions; }; BarPrestationService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; BarPrestationService.prototype.createBarProgramLinesList = function (barPrestationLines) { return this.httpClient.post(this.apiURL + '/saveBarprestationline', barPrestationLines, { observe: 'response' }); }; BarPrestationService.prototype.updateBarProgramLinesList = function (barPrestationLines) { return this.httpClient.put(this.apiURL + '/updateBarPrestationLines', barPrestationLines, { observe: 'response' }); }; BarPrestationService.prototype.setBarProgramLines = function (gridbarPrestationLines) { this.barPrestation = gridbarPrestationLines; if (this.barPrestation != null) { this.initUpdate(); } else { this.initCreate(); } }; BarPrestationService.prototype.getUpdateBarProgramLines = function () { return this.barPrestation; }; BarPrestationService.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; BarPrestationService.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; BarPrestationService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]]) ], BarPrestationService); return BarPrestationService; }()); /***/ }), /***/ "./src/app/administration/levelreferential/level0/level0.model.ts": /*!************************************************************************!*\ !*** ./src/app/administration/levelreferential/level0/level0.model.ts ***! \************************************************************************/ /*! exports provided: Level0 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Level0", function() { return Level0; }); var Level0 = /** @class */ (function () { function Level0() { } return Level0; }()); /***/ }), /***/ "./src/app/administration/levelreferential/level0/level0.service.ts": /*!**************************************************************************!*\ !*** ./src/app/administration/levelreferential/level0/level0.service.ts ***! \**************************************************************************/ /*! exports provided: Level0Service */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Level0Service", function() { return Level0Service; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); var Level0Service = /** @class */ (function () { function Level0Service(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_4__["environment"].apiURL; this.btnName = 'Common_Buttons.Add_Record'; } Level0Service.prototype.getLevel0Data = function (level0) { return this.httpClient.post(this.apiURL + '/getLevel0List', level0).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (res) { return res; })); }; Level0Service.prototype.updateLevel0OrganisationList = function (level0) { return this.httpClient.put(this.apiURL + '/updateLevel0OrganisationList', level0, { observe: 'response' }); }; Level0Service.prototype.getGridOptions = function () { return this.gridOptions; }; Level0Service.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; Level0Service.prototype.refreshGrid = function (level0) { var _this = this; this.getLevel0Data(level0).subscribe(function (result) { _this.gridOptions.api.setRowData(result); }); }; Level0Service.prototype.createLevel0List = function (level0) { return this.httpClient.post(this.apiURL + '/saveLevel0', level0, { observe: 'response' }); }; Level0Service.prototype.checkDuplicateLevel0 = function (level0) { return this.httpClient.post(this.apiURL + '/checkDuplicateLevel0', level0, { observe: 'response' }); }; Level0Service.prototype.updateLevel0List = function (level0) { return this.httpClient.put(this.apiURL + '/updateLevel0', level0, { observe: 'response' }); }; Level0Service.prototype.setLevel0 = function (gridLevel0) { this.level0 = gridLevel0; if (this.level0 != null) { this.initUpdate(); } else { this.initCreate(); } }; Level0Service.prototype.getUpdateLevel0 = function () { return this.level0; }; Level0Service.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; Level0Service.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; Level0Service.prototype.checkAlreadyAssociated = function (levelsAdmin) { return this.httpClient.post(this.apiURL + '/checkAlreadyAssociated', levelsAdmin).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (res) { return res; })); }; Level0Service.prototype.getAlreadyUsedData = function () { return this.alreadyUsedData; }; Level0Service.prototype.setAlreadyUsedData = function (alreadyUsedData) { this.alreadyUsedData = alreadyUsedData; }; Level0Service = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]]) ], Level0Service); return Level0Service; }()); /***/ }), /***/ "./src/app/administration/levelreferential/level1/level1.model.ts": /*!************************************************************************!*\ !*** ./src/app/administration/levelreferential/level1/level1.model.ts ***! \************************************************************************/ /*! exports provided: Level1 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Level1", function() { return Level1; }); var Level1 = /** @class */ (function () { function Level1() { } return Level1; }()); /***/ }), /***/ "./src/app/administration/levelreferential/level1/level1.service.ts": /*!**************************************************************************!*\ !*** ./src/app/administration/levelreferential/level1/level1.service.ts ***! \**************************************************************************/ /*! exports provided: Level1Service */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Level1Service", function() { return Level1Service; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); var Level1Service = /** @class */ (function () { function Level1Service(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].apiURL; this.btnName = 'Common_Buttons.Add_Record'; } Level1Service.prototype.getAllLevel1 = function (level1) { return this.httpClient.post(this.apiURL + '/getLevel1List', level1).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; Level1Service.prototype.updateLevel1OrganisationList = function (level1) { return this.httpClient.put(this.apiURL + '/updateLevel1OrganisationList', level1, { observe: 'response' }); }; Level1Service.prototype.getGridOptions = function () { return this.gridOptions; }; Level1Service.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; Level1Service.prototype.refreshGrid = function (level1) { var _this = this; this.getAllLevel1(level1).subscribe(function (result) { _this.gridOptions.api.setRowData(result); }); }; Level1Service.prototype.createLevel1List = function (level1) { return this.httpClient.post(this.apiURL + '/saveLevel1', level1, { observe: 'response' }); }; Level1Service.prototype.checkDuplicateLevel1 = function (level1) { return this.httpClient.post(this.apiURL + '/checkDuplicateLevel1', level1, { observe: 'response' }); }; Level1Service.prototype.updateLevel1List = function (level1) { return this.httpClient.put(this.apiURL + '/updateLevel1', level1, { observe: 'response' }); }; Level1Service.prototype.setLevel1 = function (gridLevel1) { this.level1 = gridLevel1; if (this.level1 != null) { this.initUpdate(); } else { this.initCreate(); } }; Level1Service.prototype.getUpdateLevel1 = function () { return this.level1; }; Level1Service.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; Level1Service.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; Level1Service = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]]) ], Level1Service); return Level1Service; }()); /***/ }), /***/ "./src/app/administration/levelreferential/level2/level2.model.ts": /*!************************************************************************!*\ !*** ./src/app/administration/levelreferential/level2/level2.model.ts ***! \************************************************************************/ /*! exports provided: Level2 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Level2", function() { return Level2; }); var Level2 = /** @class */ (function () { function Level2() { } return Level2; }()); /***/ }), /***/ "./src/app/administration/levelreferential/level2/level2.service.ts": /*!**************************************************************************!*\ !*** ./src/app/administration/levelreferential/level2/level2.service.ts ***! \**************************************************************************/ /*! exports provided: Level2Service */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Level2Service", function() { return Level2Service; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); var Level2Service = /** @class */ (function () { function Level2Service(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiURL; this.btnName = 'Common_Buttons.Add_Record'; } Level2Service.prototype.getAllLevel2 = function (level2) { return this.httpClient.post(this.apiURL + '/getLevel2List', level2).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; Level2Service.prototype.updateLevel2OrganisationList = function (level2) { return this.httpClient.put(this.apiURL + '/updateLevel2OrganisationList', level2, { observe: 'response' }); }; Level2Service.prototype.getGridOptions = function () { return this.gridOptions; }; Level2Service.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; Level2Service.prototype.refreshGrid = function (level2) { var _this = this; this.getAllLevel2(level2).subscribe(function (result) { _this.gridOptions.api.setRowData(result); }); }; Level2Service.prototype.createLevel2List = function (level2) { return this.httpClient.post(this.apiURL + '/saveLevel2', level2, { observe: 'response' }); }; Level2Service.prototype.updateLevel2List = function (level2) { return this.httpClient.put(this.apiURL + '/updateLevel2', level2, { observe: 'response' }); }; Level2Service.prototype.setLevel2 = function (gridLevel2) { this.level2 = gridLevel2; if (this.level2 != null) { this.initUpdate(); } else { this.initCreate(); } }; Level2Service.prototype.getUpdateLevel2 = function () { return this.level2; }; Level2Service.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; Level2Service.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; Level2Service = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClient"]]) ], Level2Service); return Level2Service; }()); /***/ }), /***/ "./src/app/administration/levelreferential/levelsadmin/exploitable.model.ts": /*!**********************************************************************************!*\ !*** ./src/app/administration/levelreferential/levelsadmin/exploitable.model.ts ***! \**********************************************************************************/ /*! exports provided: Exploitable, ExploitableEnum */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Exploitable", function() { return Exploitable; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ExploitableEnum", function() { return ExploitableEnum; }); var Exploitable = /** @class */ (function () { function Exploitable() { } return Exploitable; }()); var ExploitableEnum; (function (ExploitableEnum) { // selectedId = 5, ExploitableEnum["default"] = "-"; })(ExploitableEnum || (ExploitableEnum = {})); /***/ }), /***/ "./src/app/administration/levelreferential/levelsadmin/levelsadmin.model.ts": /*!**********************************************************************************!*\ !*** ./src/app/administration/levelreferential/levelsadmin/levelsadmin.model.ts ***! \**********************************************************************************/ /*! exports provided: LevelsAdmin, constantValues */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LevelsAdmin", function() { return LevelsAdmin; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "constantValues", function() { return constantValues; }); var LevelsAdmin = /** @class */ (function () { function LevelsAdmin() { } return LevelsAdmin; }()); var constantValues; (function (constantValues) { constantValues["defaultValue"] = "-"; })(constantValues || (constantValues = {})); /***/ }), /***/ "./src/app/administration/levelreferential/levelsadmin/levelsadmin.service.ts": /*!************************************************************************************!*\ !*** ./src/app/administration/levelreferential/levelsadmin/levelsadmin.service.ts ***! \************************************************************************************/ /*! exports provided: LevelsAdminService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LevelsAdminService", function() { return LevelsAdminService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); var LevelsAdminService = /** @class */ (function () { function LevelsAdminService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_4__["environment"].apiURL; this.btnName = 'Common_Buttons.Add_Record'; } LevelsAdminService.prototype.getLevelsAdminData = function (levelsAdmin) { return this.httpClient.post(this.apiURL + '/getLevelsAdminList', levelsAdmin).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (res) { return res; })); }; LevelsAdminService.prototype.updateLevelsAdminOrganisationList = function (levelsAdmin) { return this.httpClient.put(this.apiURL + '/updateLevelsAdminOrganisationList', levelsAdmin, { observe: 'response' }); }; LevelsAdminService.prototype.getGridOptions = function () { return this.gridOptions; }; LevelsAdminService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; LevelsAdminService.prototype.createLevelsAdminList = function (levelsAdmin) { return this.httpClient.post(this.apiURL + '/saveLevelsAdmin', levelsAdmin, { observe: 'response' }); }; LevelsAdminService.prototype.updateLevelsAdminList = function (levelsAdmin) { return this.httpClient.put(this.apiURL + '/updateLevelsAdmin', levelsAdmin, { observe: 'response' }); }; LevelsAdminService.prototype.setLevelsAdmin = function (gridLevelsAdmin) { this.levelsAdmin = gridLevelsAdmin; if (this.levelsAdmin != null) { this.initUpdate(); } else { this.initCreate(); } }; LevelsAdminService.prototype.getUpdateLevelsAdmin = function () { return this.levelsAdmin; }; LevelsAdminService.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; LevelsAdminService.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; LevelsAdminService.prototype.directUpdateLevelsAdminList = function (levelsAdmin) { return this.httpClient.put(this.apiURL + '/directUpdateLevelsAdmin', levelsAdmin, { observe: 'response' }); }; /* getExploitableList(exploitable: Exploitable) { return this.httpClient.get(this.apiURL + '/getExploitableList').pipe(map(res => res)); } */ LevelsAdminService.prototype.getExploitableList = function () { return this.httpClient.get(this.apiURL + '/getExploitableList').pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (res) { return res; })); }; LevelsAdminService.prototype.setExploitableId = function (exploitableId) { this.exploitableId = exploitableId; }; LevelsAdminService.prototype.getExploitableId = function () { return this.exploitableId; }; LevelsAdminService.prototype.getLevelsAdminDataByMean = function (testbed) { return this.httpClient.post(this.apiURL + '/getLevelsAdminListByMeanId', testbed).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (res) { return res; })); }; LevelsAdminService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]]) ], LevelsAdminService); return LevelsAdminService; }()); /***/ }), /***/ "./src/app/administration/levelreferential/stoppage-type/stoppage-type.model.ts": /*!**************************************************************************************!*\ !*** ./src/app/administration/levelreferential/stoppage-type/stoppage-type.model.ts ***! \**************************************************************************************/ /*! exports provided: StoppageType, StoppageTypeEng */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StoppageType", function() { return StoppageType; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StoppageTypeEng", function() { return StoppageTypeEng; }); var StoppageType = /** @class */ (function () { function StoppageType() { } return StoppageType; }()); var StoppageTypeEng; (function (StoppageTypeEng) { StoppageTypeEng["PANNEME"] = "PANNE ME"; StoppageTypeEng["PANOUTIL"] = "PANOUTIL"; StoppageTypeEng["PANSUPPCL"] = "PANSUPPCL"; StoppageTypeEng["CLIENT"] = "CLIENT"; StoppageTypeEng["BANCVIDE"] = "BANC VIDE"; StoppageTypeEng["ATTENTE3M"] = "ATTENTE 3M"; StoppageTypeEng["create"] = "create"; StoppageTypeEng["update"] = "update"; StoppageTypeEng["successBtn"] = "Common_Buttons.Success"; StoppageTypeEng["stoppageType"] = "StoppageType"; StoppageTypeEng["existing"] = "Errormessage.stoppage_exist"; StoppageTypeEng["success"] = "S"; StoppageTypeEng["fail"] = "F"; StoppageTypeEng["orgId"] = "organisationIDs"; StoppageTypeEng["commonUpdate"] = "Common_Buttons.Update"; StoppageTypeEng["uid"] = "uid"; StoppageTypeEng["true"] = "true"; StoppageTypeEng["user"] = "User"; StoppageTypeEng["ENVIR"] = "ENVIR"; })(StoppageTypeEng || (StoppageTypeEng = {})); /***/ }), /***/ "./src/app/administration/levelreferential/stoppage-type/stoppage-type.service.ts": /*!****************************************************************************************!*\ !*** ./src/app/administration/levelreferential/stoppage-type/stoppage-type.service.ts ***! \****************************************************************************************/ /*! exports provided: StoppageTypeService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StoppageTypeService", function() { return StoppageTypeService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); /* harmony import */ var _stoppage_type_model__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./stoppage-type.model */ "./src/app/administration/levelreferential/stoppage-type/stoppage-type.model.ts"); var StoppageTypeService = /** @class */ (function () { function StoppageTypeService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].apiURL; this.btnName = 'Common_Buttons.Add_Record'; } StoppageTypeService.prototype.getGridOptions = function () { return this.gridOptions; }; StoppageTypeService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; StoppageTypeService.prototype.getAllStoppageType = function () { var stoppageType = new _stoppage_type_model__WEBPACK_IMPORTED_MODULE_5__["StoppageType"](); stoppageType.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); return this.httpClient.post(this.apiURL + '/getStoppageTypeList', stoppageType).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; StoppageTypeService.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; StoppageTypeService.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; StoppageTypeService.prototype.createOrUpdateStoppage = function (stoppageType) { return this.httpClient.post(this.apiURL + '/createOrUpdateStoppage', stoppageType).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; StoppageTypeService.prototype.refreshGrid = function () { var _this = this; this.getAllStoppageType().subscribe(function (result) { _this.gridOptions.api.setRowData(result); }); }; StoppageTypeService.prototype.updateStoppageOrganisationList = function (stoppage) { return this.httpClient.put(this.apiURL + '/updateStoppageOrganisationList', stoppage, { observe: 'response' }); }; StoppageTypeService.prototype.setStoppageType = function (gridStoppage) { this.stoppageType = gridStoppage; if (this.stoppageType) { this.initUpdate(); } else { this.initCreate(); } }; StoppageTypeService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]]) ], StoppageTypeService); return StoppageTypeService; }()); /***/ }), /***/ "./src/app/administration/prestationsandprocedures/macro-activity/macro-activity.model.ts": /*!************************************************************************************************!*\ !*** ./src/app/administration/prestationsandprocedures/macro-activity/macro-activity.model.ts ***! \************************************************************************************************/ /*! exports provided: MacroActivity, errorMessages */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MacroActivity", function() { return MacroActivity; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "errorMessages", function() { return errorMessages; }); var MacroActivity = /** @class */ (function () { function MacroActivity() { } return MacroActivity; }()); var errorMessages; (function (errorMessages) { errorMessages["alreadyExist"] = "Errormessage.macro_existing"; errorMessages["fail"] = "F"; })(errorMessages || (errorMessages = {})); /***/ }), /***/ "./src/app/administration/prestationsandprocedures/macro-activity/macro-activity.service.ts": /*!**************************************************************************************************!*\ !*** ./src/app/administration/prestationsandprocedures/macro-activity/macro-activity.service.ts ***! \**************************************************************************************************/ /*! exports provided: MacroActivityService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MacroActivityService", function() { return MacroActivityService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); /* harmony import */ var _referentiel_referentiel_model__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../referentiel/referentiel.model */ "./src/app/administration/referentiel/referentiel.model.ts"); var MacroActivityService = /** @class */ (function () { function MacroActivityService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiURL; this.btnName = 'Common_Buttons.Add_Record'; } MacroActivityService.prototype.getGridOptions = function () { return this.gridOptions; }; MacroActivityService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; MacroActivityService.prototype.setMacroActivity = function (gridServices) { this.macro = gridServices; if (this.macro != null) { this.initUpdate(); } else { this.initCreate(); } }; MacroActivityService.prototype.getUpdateMacroActivity = function () { return this.macro; }; MacroActivityService.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; MacroActivityService.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; MacroActivityService.prototype.getAllMacroActivity = function (macro) { return this.httpClient.post(this.apiURL + '/getMacroActivityList', macro).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; MacroActivityService.prototype.getMacroActivityByLabel = function (macro) { return this.httpClient.post(this.apiURL + '/getMacroActivityByLabel', macro).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; MacroActivityService.prototype.refreshGrid = function (macro) { var _this = this; macro.organisationId = JSON.parse(sessionStorage.getItem(_referentiel_referentiel_model__WEBPACK_IMPORTED_MODULE_5__["constants"].orgId)); this.getAllMacroActivity(macro).subscribe(function (result) { _this.gridOptions.api.setRowData(result); }); }; MacroActivityService.prototype.createMacroActivityList = function (macro) { return this.httpClient.post(this.apiURL + '/createMacroActivityList', macro, { observe: 'response' }); }; MacroActivityService.prototype.updateMacroActivityList = function (macro) { return this.httpClient.put(this.apiURL + '/updateMacroActivity', macro, { observe: 'response' }); }; MacroActivityService.prototype.updateMacroActivityOrganisationList = function (macro) { return this.httpClient.put(this.apiURL + '/updateMacroActivityOrganisationList', macro, { observe: 'response' }); }; MacroActivityService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClient"]]) ], MacroActivityService); return MacroActivityService; }()); /***/ }), /***/ "./src/app/administration/prestationsandprocedures/prestation/prestation.model.ts": /*!****************************************************************************************!*\ !*** ./src/app/administration/prestationsandprocedures/prestation/prestation.model.ts ***! \****************************************************************************************/ /*! exports provided: Prestation */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Prestation", function() { return Prestation; }); var Prestation = /** @class */ (function () { function Prestation() { } return Prestation; }()); /***/ }), /***/ "./src/app/administration/prestationsandprocedures/prestation/prestation.service.ts": /*!******************************************************************************************!*\ !*** ./src/app/administration/prestationsandprocedures/prestation/prestation.service.ts ***! \******************************************************************************************/ /*! exports provided: PrestationService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PrestationService", function() { return PrestationService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); var PrestationService = /** @class */ (function () { function PrestationService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiURL; this.btnName = 'Common_Buttons.Add_Record'; } PrestationService.prototype.getAllPrestation = function (prestation) { return this.httpClient.post(this.apiURL + '/getPrestationList', prestation).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (res) { return res; })); }; PrestationService.prototype.getActivePrestation = function (prestation) { return this.httpClient.post(this.apiURL + '/getActivePrestationList', prestation).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (res) { return res; })); }; PrestationService.prototype.updatePrestationOrganisationList = function (prestation) { return this.httpClient.put(this.apiURL + '/updatePrestationOrganisationList', prestation, { observe: 'response' }); }; PrestationService.prototype.getGridOptions = function () { return this.gridOptions; }; PrestationService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; PrestationService.prototype.refreshGrid = function (presation) { var _this = this; this.getAllPrestation(presation).subscribe(function (result) { _this.gridOptions.api.setRowData(result); }); }; PrestationService.prototype.createPrestationList = function (prestation) { return this.httpClient.post(this.apiURL + '/savePrestation', prestation, { observe: 'response' }); }; PrestationService.prototype.updatePrestationList = function (prestation) { return this.httpClient.put(this.apiURL + '/updatePrestation', prestation, { observe: 'response' }); }; PrestationService.prototype.setPrestation = function (gridPrestation) { this.prestation = gridPrestation; if (this.prestation != null) { this.initUpdate(); } else { this.initCreate(); } }; PrestationService.prototype.getUpdatePrestation = function () { return this.prestation; }; PrestationService.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; PrestationService.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; PrestationService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_4__["HttpClient"]]) ], PrestationService); return PrestationService; }()); /***/ }), /***/ "./src/app/administration/prestationsandprocedures/prestationadmin/prestationadmin.model.ts": /*!**************************************************************************************************!*\ !*** ./src/app/administration/prestationsandprocedures/prestationadmin/prestationadmin.model.ts ***! \**************************************************************************************************/ /*! exports provided: PrestationAdmin */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PrestationAdmin", function() { return PrestationAdmin; }); var PrestationAdmin = /** @class */ (function () { function PrestationAdmin() { } return PrestationAdmin; }()); /***/ }), /***/ "./src/app/administration/prestationsandprocedures/prestationadmin/prestationadmin.service.ts": /*!****************************************************************************************************!*\ !*** ./src/app/administration/prestationsandprocedures/prestationadmin/prestationadmin.service.ts ***! \****************************************************************************************************/ /*! exports provided: PrestationadminService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PrestationadminService", function() { return PrestationadminService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); var PrestationadminService = /** @class */ (function () { function PrestationadminService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_4__["environment"].apiURL; this.btnName = 'Common_Buttons.Add_Record'; } PrestationadminService.prototype.getAllPrestationAdmin = function (prestationAdmin) { return this.httpClient.post(this.apiURL + '/getPrestationAdminList', prestationAdmin).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (res) { return res; })); }; PrestationadminService.prototype.updatePrestationAdminOrganisationList = function (prestationAdmin) { return this.httpClient.put(this.apiURL + '/updatePrestationAdminOrganisationList', prestationAdmin, { observe: 'response' }); }; PrestationadminService.prototype.getGridOptions = function () { return this.gridOptions; }; PrestationadminService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; PrestationadminService.prototype.createPrestationAdminList = function (prestationAdmin) { return this.httpClient.post(this.apiURL + '/savePrestationAdmin', prestationAdmin, { observe: 'response' }); }; PrestationadminService.prototype.updatePrestationAdminList = function (prestationAdmin) { return this.httpClient.put(this.apiURL + '/updatePrestationAdmin', prestationAdmin, { observe: 'response' }); }; PrestationadminService.prototype.setPrestationAdmin = function (gridPrestationAdmin) { this.prestationAdmin = gridPrestationAdmin; if (this.prestationAdmin != null) { this.initUpdate(); } else { this.initCreate(); } }; PrestationadminService.prototype.getUpdatePrestationAdmin = function () { return this.prestationAdmin; }; PrestationadminService.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; PrestationadminService.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; PrestationadminService.prototype.directUpdatePrestationAdmin = function (prestationAdmin) { return this.httpClient.put(this.apiURL + '/directUpdatePrestationAdmin', prestationAdmin, { observe: 'response' }); }; PrestationadminService.prototype.getAllPrestationAdminByMean = function (testbed) { return this.httpClient.post(this.apiURL + '/getAllPrestationAdminByMean', testbed).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (res) { return res; })); }; PrestationadminService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]]) ], PrestationadminService); return PrestationadminService; }()); /***/ }), /***/ "./src/app/administration/prestationsandprocedures/procedure/procedure.model.ts": /*!**************************************************************************************!*\ !*** ./src/app/administration/prestationsandprocedures/procedure/procedure.model.ts ***! \**************************************************************************************/ /*! exports provided: Procedure */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Procedure", function() { return Procedure; }); var Procedure = /** @class */ (function () { function Procedure() { } return Procedure; }()); /***/ }), /***/ "./src/app/administration/prestationsandprocedures/procedure/procedure.service.ts": /*!****************************************************************************************!*\ !*** ./src/app/administration/prestationsandprocedures/procedure/procedure.service.ts ***! \****************************************************************************************/ /*! exports provided: ProcedureService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ProcedureService", function() { return ProcedureService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); var ProcedureService = /** @class */ (function () { function ProcedureService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiURL; this.btnName = 'Common_Buttons.Add_Record'; } ProcedureService.prototype.getAllProcedure = function (procedure) { return this.httpClient.post(this.apiURL + '/getProcedureList', procedure).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (res) { return res; })); }; ProcedureService.prototype.getActiveProcedureList = function (procedure) { return this.httpClient.post(this.apiURL + '/getActiveProcedureList', procedure).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (res) { return res; })); }; ProcedureService.prototype.updateProcedureOrganisationList = function (procedure) { return this.httpClient.put(this.apiURL + '/updateProcedureOrganisationList', procedure, { observe: 'response' }); }; ProcedureService.prototype.getGridOptions = function () { return this.gridOptions; }; ProcedureService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; ProcedureService.prototype.refreshGrid = function (procedure) { var _this = this; this.getAllProcedure(procedure).subscribe(function (result) { _this.gridOptions.api.setRowData(result); }); }; ProcedureService.prototype.createProcedureList = function (procedure) { return this.httpClient.post(this.apiURL + '/saveProcedure', procedure, { observe: 'response' }); }; ProcedureService.prototype.updateProcedureList = function (procedure) { return this.httpClient.put(this.apiURL + '/updateProcedure', procedure, { observe: 'response' }); }; ProcedureService.prototype.setProcedure = function (gridProcedure) { this.procedure = gridProcedure; if (this.procedure != null) { this.initUpdate(); } else { this.initCreate(); } }; ProcedureService.prototype.getUpdateProcedure = function () { return this.procedure; }; ProcedureService.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; ProcedureService.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; ProcedureService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_4__["HttpClient"]]) ], ProcedureService); return ProcedureService; }()); /***/ }), /***/ "./src/app/administration/referentiel/batch/batch.model.ts": /*!*****************************************************************!*\ !*** ./src/app/administration/referentiel/batch/batch.model.ts ***! \*****************************************************************/ /*! exports provided: Batch */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Batch", function() { return Batch; }); var Batch = /** @class */ (function () { function Batch() { } return Batch; }()); /***/ }), /***/ "./src/app/administration/referentiel/batch/batch.service.ts": /*!*******************************************************************!*\ !*** ./src/app/administration/referentiel/batch/batch.service.ts ***! \*******************************************************************/ /*! exports provided: BatchService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BatchService", function() { return BatchService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); var BatchService = /** @class */ (function () { function BatchService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiURL; this.btnName = 'Common_Buttons.Add_Record'; } BatchService.prototype.getAllBatch = function (batch) { return this.httpClient.post(this.apiURL + '/getBatchList', batch).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (res) { return res; })); }; BatchService.prototype.updateBatchOrganisationList = function (batch) { return this.httpClient.put(this.apiURL + '/updateBatchOrganisationList', batch, { observe: 'response' }); }; BatchService.prototype.createBatchList = function (batch) { return this.httpClient.post(this.apiURL + '/createBatchList', batch, { observe: 'response' }); }; BatchService.prototype.updateBatchList = function (batch) { return this.httpClient.put(this.apiURL + '/updateBatchList', batch, { observe: 'response' }); }; BatchService.prototype.getActiveBatchList = function (batch) { return this.httpClient.post(this.apiURL + '/getActiveBatchByOrganisation', batch); }; BatchService.prototype.getGridOptions = function () { return this.gridOptions; }; BatchService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; BatchService.prototype.refreshGrid = function (batch) { var _this = this; this.getAllBatch(batch).subscribe(function (result) { _this.gridOptions.api.setRowData(result); }); }; BatchService.prototype.setBatch = function (gridBatch) { this.batch = gridBatch; if (this.batch != null) { this.initUpdate(); } else { this.initCreate(); } }; BatchService.prototype.getUpdateBatch = function () { return this.batch; }; BatchService.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; BatchService.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; BatchService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_4__["HttpClient"]]) ], BatchService); return BatchService; }()); /***/ }), /***/ "./src/app/administration/referentiel/buildings/building.model.ts": /*!************************************************************************!*\ !*** ./src/app/administration/referentiel/buildings/building.model.ts ***! \************************************************************************/ /*! exports provided: Building */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Building", function() { return Building; }); var Building = /** @class */ (function () { function Building() { } return Building; }()); /***/ }), /***/ "./src/app/administration/referentiel/buildings/buildings.service.ts": /*!***************************************************************************!*\ !*** ./src/app/administration/referentiel/buildings/buildings.service.ts ***! \***************************************************************************/ /*! exports provided: BuildingsService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BuildingsService", function() { return BuildingsService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); var BuildingsService = /** @class */ (function () { function BuildingsService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_4__["environment"].apiURL; this.btnName = 'Common_Buttons.Add_Record'; } BuildingsService.prototype.getAllBuildings = function (building) { return this.httpClient.post(this.apiURL + '/getBuildingList', building).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (res) { return res; })); }; BuildingsService.prototype.updateBuildingOrganisationList = function (building) { return this.httpClient.put(this.apiURL + '/updateBuildingOrganisationList', building, { observe: 'response' }); }; BuildingsService.prototype.getSiteList = function (building) { return this.httpClient.post(this.apiURL + '/getSiteNameList', building, { observe: 'response' }); }; BuildingsService.prototype.saveBuilding = function (building) { return this.httpClient.post(this.apiURL + '/saveBuilding', building, { observe: 'response' }); }; BuildingsService.prototype.updateBuilding = function (building) { return this.httpClient.put(this.apiURL + '/updateBuilding', building, { observe: 'response' }); }; BuildingsService.prototype.getBuildingBySite = function (building) { return this.httpClient.post(this.apiURL + '/getBuildingWithOrSiteByActiveOrganisationId', building, { observe: 'response' }); }; BuildingsService.prototype.getGridOptions = function () { return this.gridOptions; }; BuildingsService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; BuildingsService.prototype.setBuilding = function (gridBuilding) { this.building = gridBuilding; if (this.building != null) { this.initUpdate(); } else { this.initCreate(); } }; BuildingsService.prototype.getBuilding = function () { return this.building; }; BuildingsService.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; BuildingsService.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; BuildingsService.prototype.refreshGrid = function (building) { var _this = this; building.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); this.getAllBuildings(building).subscribe(function (result) { _this.gridOptions.api.setRowData(result); }); }; BuildingsService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]]) ], BuildingsService); return BuildingsService; }()); /***/ }), /***/ "./src/app/administration/referentiel/campaign/campaign.model.ts": /*!***********************************************************************!*\ !*** ./src/app/administration/referentiel/campaign/campaign.model.ts ***! \***********************************************************************/ /*! exports provided: Campaign */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Campaign", function() { return Campaign; }); var Campaign = /** @class */ (function () { function Campaign() { } return Campaign; }()); /***/ }), /***/ "./src/app/administration/referentiel/campaign/campaign.service.ts": /*!*************************************************************************!*\ !*** ./src/app/administration/referentiel/campaign/campaign.service.ts ***! \*************************************************************************/ /*! exports provided: CampaignService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CampaignService", function() { return CampaignService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); var CampaignService = /** @class */ (function () { function CampaignService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiURL; this.btnName = 'Common_Buttons.Add_Record'; } CampaignService.prototype.getAllCampaigns = function (campaign) { return this.httpClient.post(this.apiURL + '/getCampaignList', campaign).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; CampaignService.prototype.updateCampaignOrganisationList = function (campaign) { return this.httpClient.put(this.apiURL + '/updateCampaignOrganisationList', campaign, { observe: 'response' }); }; CampaignService.prototype.updateCampaignList = function (campaign) { return this.httpClient.put(this.apiURL + '/updateCampaignList', campaign, { observe: 'response' }); }; CampaignService.prototype.getGridOptions = function () { return this.gridOptions; }; CampaignService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; CampaignService.prototype.createCampaignList = function (campaign) { return this.httpClient.post(this.apiURL + '/createCampaignList', campaign, { observe: 'response' }); }; CampaignService.prototype.refreshGrid = function (campaign) { var _this = this; this.getAllCampaigns(campaign).subscribe(function (result) { _this.gridOptions.api.setRowData(result); }); }; CampaignService.prototype.setCampaign = function (gridCampaign) { this.campaign = gridCampaign; if (this.campaign != null) { this.initUpdate(); } else { this.initCreate(); } }; CampaignService.prototype.getUpdateCampaign = function () { return this.campaign; }; CampaignService.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; CampaignService.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; CampaignService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClient"]]) ], CampaignService); return CampaignService; }()); /***/ }), /***/ "./src/app/administration/referentiel/campaignadministration/campaignadministration.model.ts": /*!***************************************************************************************************!*\ !*** ./src/app/administration/referentiel/campaignadministration/campaignadministration.model.ts ***! \***************************************************************************************************/ /*! exports provided: CampaignAssociation */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CampaignAssociation", function() { return CampaignAssociation; }); var CampaignAssociation = /** @class */ (function () { function CampaignAssociation() { } return CampaignAssociation; }()); /***/ }), /***/ "./src/app/administration/referentiel/campaignadministration/campaignadministration.service.ts": /*!*****************************************************************************************************!*\ !*** ./src/app/administration/referentiel/campaignadministration/campaignadministration.service.ts ***! \*****************************************************************************************************/ /*! exports provided: CampaignadministrationService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CampaignadministrationService", function() { return CampaignadministrationService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); var CampaignadministrationService = /** @class */ (function () { function CampaignadministrationService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiURL; this.btnName = 'Common_Buttons.Add_Record'; } CampaignadministrationService.prototype.getAllCampaignAssociations = function (cAssociation) { return this.httpClient.post(this.apiURL + '/getCampaignAssociationList', cAssociation).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; CampaignadministrationService.prototype.updateCampaignAssociationOrganisationList = function (campaignAssociation) { return this.httpClient.put(this.apiURL + '/updateCampaignAssociationOrganisationList', campaignAssociation, { observe: 'response' }); }; CampaignadministrationService.prototype.saveCampaignAssociation = function (campaignAssociation) { return this.httpClient.post(this.apiURL + '/saveCampaignAssociation', campaignAssociation, { observe: 'response' }); }; CampaignadministrationService.prototype.updateCampaignAssociation = function (campaignAssociation) { return this.httpClient.put(this.apiURL + '/updateCampaignAssociation', campaignAssociation, { observe: 'response' }); }; CampaignadministrationService.prototype.getGridOptions = function () { return this.gridOptions; }; CampaignadministrationService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; CampaignadministrationService.prototype.setCampaignAssociation = function (gridCampaignAssociation) { this.campaignAssociation = gridCampaignAssociation; if (this.campaignAssociation != null) { this.initUpdate(); } else { this.initCreate(); } }; CampaignadministrationService.prototype.getCampaignAssociation = function () { return this.campaignAssociation; }; CampaignadministrationService.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; CampaignadministrationService.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; CampaignadministrationService.prototype.getMeanList = function (mean) { return this.httpClient.post(this.apiURL + '/getActiveMeanByOrganisation', mean).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; CampaignadministrationService.prototype.getSiteList = function (site) { return this.httpClient.post(this.apiURL + '/getActiveSiteByOrganisation', site).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; CampaignadministrationService.prototype.getCampaignList = function (campaign) { return this.httpClient.post(this.apiURL + '/getActiveCampaignByOrganisation', campaign).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; CampaignadministrationService.prototype.getUpdateCampaignAssociation = function () { return this.campaignAssociation; }; CampaignadministrationService.prototype.directUpdateCampaignAssociation = function (campaignAssociation) { return this.httpClient.put(this.apiURL + '/directUpdateCampaignAssociation', campaignAssociation, { observe: 'response' }); }; CampaignadministrationService.prototype.getAllCampaignAssociationsByMean = function (testbed) { return this.httpClient.post(this.apiURL + '/getCampaignAssociationsByMean', testbed).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; CampaignadministrationService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClient"]]) ], CampaignadministrationService); return CampaignadministrationService; }()); /***/ }), /***/ "./src/app/administration/referentiel/customer/customer.model.ts": /*!***********************************************************************!*\ !*** ./src/app/administration/referentiel/customer/customer.model.ts ***! \***********************************************************************/ /*! exports provided: CustomerDirection */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CustomerDirection", function() { return CustomerDirection; }); var CustomerDirection = /** @class */ (function () { function CustomerDirection() { } return CustomerDirection; }()); /***/ }), /***/ "./src/app/administration/referentiel/customer/customer.service.ts": /*!*************************************************************************!*\ !*** ./src/app/administration/referentiel/customer/customer.service.ts ***! \*************************************************************************/ /*! exports provided: CustomerDirectionService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CustomerDirectionService", function() { return CustomerDirectionService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); var CustomerDirectionService = /** @class */ (function () { function CustomerDirectionService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_4__["environment"].apiURL; this.btnName = 'Common_Buttons.Add_Record'; } CustomerDirectionService.prototype.getAllCustomers = function (customerDirection) { return this.httpClient.post(this.apiURL + '/getCustomerDirectionList', customerDirection).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (res) { return res; })); }; CustomerDirectionService.prototype.updateCustomerOrganisationList = function (customer) { return this.httpClient.put(this.apiURL + '/updateCustomerOrganisationList', customer, { observe: 'response' }); }; CustomerDirectionService.prototype.createCustomerList = function (customer) { return this.httpClient.post(this.apiURL + '/createCustomerDirectionList', customer, { observe: 'response' }); }; CustomerDirectionService.prototype.updateCustomerList = function (customer) { return this.httpClient.put(this.apiURL + '/updateCustomerDirectionList', customer, { observe: 'response' }); }; CustomerDirectionService.prototype.getGridOptions = function () { return this.gridOptions; }; CustomerDirectionService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; CustomerDirectionService.prototype.refreshGrid = function (customerDirection) { var _this = this; this.getAllCustomers(customerDirection).subscribe(function (result) { _this.gridOptions.api.setRowData(result); }); }; CustomerDirectionService.prototype.setCustomer = function (gridCustomer) { this.customer = gridCustomer; if (this.customer != null) { this.initUpdate(); } else { this.initCreate(); } }; CustomerDirectionService.prototype.getUpdateCustomer = function () { return this.customer; }; CustomerDirectionService.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; CustomerDirectionService.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; CustomerDirectionService.prototype.getActiveCustomerDirection = function (customerDirection) { return this.httpClient.post(this.apiURL + '/getActiveCustomerDirectionList', customerDirection).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (res) { return res; })); }; CustomerDirectionService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]]) ], CustomerDirectionService); return CustomerDirectionService; }()); /***/ }), /***/ "./src/app/administration/referentiel/fuel/fuel.model.ts": /*!***************************************************************!*\ !*** ./src/app/administration/referentiel/fuel/fuel.model.ts ***! \***************************************************************/ /*! exports provided: Fuel, errorMessages */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Fuel", function() { return Fuel; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "errorMessages", function() { return errorMessages; }); var Fuel = /** @class */ (function () { function Fuel() { } return Fuel; }()); var errorMessages; (function (errorMessages) { errorMessages["fuelExist"] = "Administration.Referential.Fuel.Already_Exists"; errorMessages["fail"] = "F"; errorMessages["successMsg"] = "Common_Buttons.Success"; errorMessages["success"] = "S"; errorMessages["orgId"] = "organisationIDs"; errorMessages["add"] = "Common_Buttons.Add_Record"; errorMessages["update"] = "Common_Buttons.Update"; })(errorMessages || (errorMessages = {})); /***/ }), /***/ "./src/app/administration/referentiel/fuel/fuel.service.ts": /*!*****************************************************************!*\ !*** ./src/app/administration/referentiel/fuel/fuel.service.ts ***! \*****************************************************************/ /*! exports provided: FuelService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FuelService", function() { return FuelService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _fuel_model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./fuel.model */ "./src/app/administration/referentiel/fuel/fuel.model.ts"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); var FuelService = /** @class */ (function () { function FuelService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].apiURL; this.fuel = new _fuel_model__WEBPACK_IMPORTED_MODULE_2__["Fuel"]; this.btnName = _fuel_model__WEBPACK_IMPORTED_MODULE_2__["errorMessages"].add; } FuelService.prototype.initUpdate = function () { this.btnName = _fuel_model__WEBPACK_IMPORTED_MODULE_2__["errorMessages"].update; }; FuelService.prototype.initCreate = function () { this.btnName = _fuel_model__WEBPACK_IMPORTED_MODULE_2__["errorMessages"].add; }; FuelService.prototype.getAllFuel = function (fuel) { return this.httpClient.post(this.apiURL + '/getAllFuel', fuel).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; FuelService.prototype.getGridOptions = function () { return this.gridOptions; }; FuelService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; FuelService.prototype.setFuel = function (fuel) { this.fuel = fuel; if (this.fuel != null) { this.initUpdate(); } else { this.initCreate(); } }; FuelService.prototype.refreshGrid = function (fuel) { var _this = this; fuel.organisationId = JSON.parse(sessionStorage.getItem(_fuel_model__WEBPACK_IMPORTED_MODULE_2__["errorMessages"].orgId)); this.getAllFuel(fuel).subscribe(function (result) { _this.gridOptions.api.setRowData(result); }); }; FuelService.prototype.createFuelList = function (fuel) { return this.httpClient.post(this.apiURL + '/createFuelList', fuel, { observe: 'response' }); }; FuelService.prototype.updateFuelOrganisationList = function (fuel) { return this.httpClient.put(this.apiURL + '/updateFuelOrganisationList', fuel, { observe: 'response' }); }; FuelService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_5__["HttpClient"]]) ], FuelService); return FuelService; }()); /***/ }), /***/ "./src/app/administration/referentiel/means/means.model.ts": /*!*****************************************************************!*\ !*** ./src/app/administration/referentiel/means/means.model.ts ***! \*****************************************************************/ /*! exports provided: Means */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Means", function() { return Means; }); var Means = /** @class */ (function () { function Means() { } return Means; }()); /***/ }), /***/ "./src/app/administration/referentiel/means/means.service.ts": /*!*******************************************************************!*\ !*** ./src/app/administration/referentiel/means/means.service.ts ***! \*******************************************************************/ /*! exports provided: MeansService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MeansService", function() { return MeansService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); var MeansService = /** @class */ (function () { function MeansService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_4__["environment"].apiURL; this.btnName = 'Common_Buttons.Add_Record'; } MeansService.prototype.getAllMeans = function (means) { return this.httpClient.post(this.apiURL + '/getMeanList', means).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (res) { return res; })); }; MeansService.prototype.getAllMaps = function () { return this.httpClient.get(this.apiURL + '/getMapNames').pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (res) { return res; })); }; MeansService.prototype.getMapList = function () { return this.httpClient.get(this.apiURL + '/getMapList').pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (res) { return res; })); }; MeansService.prototype.updateMeanOrganisationList = function (mean) { return this.httpClient.put(this.apiURL + '/updateMeanOrganisationList', mean, { observe: 'response' }); }; MeansService.prototype.createMeanList = function (mean) { return this.httpClient.post(this.apiURL + '/createMeanList', mean, { observe: 'response' }); }; MeansService.prototype.getActiveMeanList = function (mean) { return this.httpClient.post(this.apiURL + '/getActiveMeanByOrganisation', mean); }; MeansService.prototype.getGridOptions = function () { return this.gridOptions; }; MeansService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; MeansService.prototype.updateMeanList = function (mean) { return this.httpClient.put(this.apiURL + '/updateMeanList', mean, { observe: 'response' }); }; MeansService.prototype.refreshGrid = function (means) { var _this = this; this.getAllMeans(means).subscribe(function (result) { _this.gridOptions.api.setRowData(result); }); }; MeansService.prototype.setMean = function (gridMean) { this.mean = gridMean; if (this.mean != null) { this.initUpdate(); } else { this.initCreate(); } }; MeansService.prototype.getUpdateMean = function () { return this.mean; }; MeansService.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; MeansService.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; MeansService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]]) ], MeansService); return MeansService; }()); /***/ }), /***/ "./src/app/administration/referentiel/milestone/milestone.model.ts": /*!*************************************************************************!*\ !*** ./src/app/administration/referentiel/milestone/milestone.model.ts ***! \*************************************************************************/ /*! exports provided: Milestone, colourPatch, errorMessages */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Milestone", function() { return Milestone; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "colourPatch", function() { return colourPatch; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "errorMessages", function() { return errorMessages; }); var Milestone = /** @class */ (function () { function Milestone() { } return Milestone; }()); var colourPatch; (function (colourPatch) { colourPatch["white"] = "#ffffff"; colourPatch["black"] = "#000000"; colourPatch["blue"] = "##0000FF"; colourPatch["red"] = "#F1441F"; })(colourPatch || (colourPatch = {})); var errorMessages; (function (errorMessages) { errorMessages["milestoneExist"] = "Administration.Referential.Milestone.Already_Exist"; errorMessages["colourExist"] = "Errormessage.color_existing"; errorMessages["colourWarning"] = "Errormessage.color_warning"; errorMessages["fail"] = "F"; errorMessages["success"] = "S"; })(errorMessages || (errorMessages = {})); /***/ }), /***/ "./src/app/administration/referentiel/milestone/milestone.service.ts": /*!***************************************************************************!*\ !*** ./src/app/administration/referentiel/milestone/milestone.service.ts ***! \***************************************************************************/ /*! exports provided: MilestoneService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MilestoneService", function() { return MilestoneService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); /* harmony import */ var _referentiel_model__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../referentiel.model */ "./src/app/administration/referentiel/referentiel.model.ts"); var MilestoneService = /** @class */ (function () { function MilestoneService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiURL; this.buttonName = 'Common_Buttons.Add_Record'; } MilestoneService.prototype.getGridOptions = function () { return this.gridOptions; }; MilestoneService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; MilestoneService.prototype.setMilestone = function (gridServices) { this.milestone = gridServices; if (this.milestone != null) { this.initUpdate(); } else { this.initCreate(); } }; MilestoneService.prototype.getUpdateMilestone = function () { return this.milestone; }; MilestoneService.prototype.initUpdate = function () { this.buttonName = _referentiel_model__WEBPACK_IMPORTED_MODULE_5__["constants"].updateBtn; }; MilestoneService.prototype.initCreate = function () { this.buttonName = 'Common_Buttons.Add_Record'; }; MilestoneService.prototype.getAllMilestone = function (milestone) { return this.httpClient.post(this.apiURL + '/getMilestoneList', milestone).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; MilestoneService.prototype.checkColorDuplicate = function (dataList, checkVal) { if (dataList) { var duplicateList = dataList.filter(function (dataVal) { return dataVal.color === checkVal.color; }); if (duplicateList && duplicateList.length > 0) { if (duplicateList.length > 1) { return true; } else if (duplicateList[0].id !== checkVal.id) { return true; } } } }; MilestoneService.prototype.refreshGrid = function (milestone) { var _this = this; milestone.organisationId = JSON.parse(sessionStorage.getItem(_referentiel_model__WEBPACK_IMPORTED_MODULE_5__["constants"].orgId)); this.getAllMilestone(milestone).subscribe(function (result) { _this.gridOptions.api.setRowData(result); }); }; MilestoneService.prototype.createMilestoneList = function (milestone) { return this.httpClient.post(this.apiURL + '/createMilestoneList', milestone, { observe: 'response' }); }; MilestoneService.prototype.updateMilestoneList = function (milestone) { return this.httpClient.put(this.apiURL + '/updateMilestoneList', milestone, { observe: 'response' }); }; MilestoneService.prototype.updateMilestoneOrganisationList = function (milestone) { return this.httpClient.put(this.apiURL + '/updateMilestoneOrganisationList', milestone, { observe: 'response' }); }; MilestoneService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClient"]]) ], MilestoneService); return MilestoneService; }()); /***/ }), /***/ "./src/app/administration/referentiel/mobile-device/mobile-device.model.ts": /*!*********************************************************************************!*\ !*** ./src/app/administration/referentiel/mobile-device/mobile-device.model.ts ***! \*********************************************************************************/ /*! exports provided: MobileDevice */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MobileDevice", function() { return MobileDevice; }); var MobileDevice = /** @class */ (function () { function MobileDevice() { } return MobileDevice; }()); /***/ }), /***/ "./src/app/administration/referentiel/mobile-device/mobile-device.service.ts": /*!***********************************************************************************!*\ !*** ./src/app/administration/referentiel/mobile-device/mobile-device.service.ts ***! \***********************************************************************************/ /*! exports provided: MobileDeviceService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MobileDeviceService", function() { return MobileDeviceService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); var MobileDeviceService = /** @class */ (function () { function MobileDeviceService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiURL; this.buttonName = 'Common_Buttons.Add_Record'; } MobileDeviceService.prototype.getGridOptions = function () { return this.gridOptions; }; MobileDeviceService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; MobileDeviceService.prototype.getAllMobileDevice = function (mobile) { return this.httpClient.post(this.apiURL + '/getMobileDeviceList', mobile).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; MobileDeviceService.prototype.setMobileDevice = function (gridServices) { this.mobileDevice = gridServices; if (this.mobileDevice != null) { this.initUpdate(); } else { this.initCreate(); } }; MobileDeviceService.prototype.initUpdate = function () { this.buttonName = 'Common_Buttons.Update'; }; MobileDeviceService.prototype.initCreate = function () { this.buttonName = 'Common_Buttons.Add_Record'; }; MobileDeviceService.prototype.refreshGrid = function (mobile) { var _this = this; mobile.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); this.getAllMobileDevice(mobile).subscribe(function (result) { _this.gridOptions.api.setRowData(result); }); }; MobileDeviceService.prototype.createMobileDeviceList = function (mobile) { return this.httpClient.post(this.apiURL + '/createMobileDeviceList', mobile, { observe: 'response' }); }; MobileDeviceService.prototype.getUpdateMobileDevice = function () { return this.mobileDevice; }; MobileDeviceService.prototype.updateMobileDeviceList = function (mobile) { return this.httpClient.put(this.apiURL + '/updateMobileDeviceList', mobile, { observe: 'response' }); }; MobileDeviceService.prototype.getActiveMobileDeviceList = function (mobile) { return this.httpClient.post(this.apiURL + '/getActiveMobileDeviceByOrganisation', mobile); }; MobileDeviceService.prototype.updateMobileDeviceOrganisationList = function (mobile) { return this.httpClient.put(this.apiURL + '/updateMobileDeviceOrganisationList', mobile, { observe: 'response' }); }; MobileDeviceService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClient"]]) ], MobileDeviceService); return MobileDeviceService; }()); /***/ }), /***/ "./src/app/administration/referentiel/perimeters/perimeters.model.ts": /*!***************************************************************************!*\ !*** ./src/app/administration/referentiel/perimeters/perimeters.model.ts ***! \***************************************************************************/ /*! exports provided: Perimeters */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Perimeters", function() { return Perimeters; }); var Perimeters = /** @class */ (function () { function Perimeters() { } return Perimeters; }()); /***/ }), /***/ "./src/app/administration/referentiel/perimeters/perimeters.service.ts": /*!*****************************************************************************!*\ !*** ./src/app/administration/referentiel/perimeters/perimeters.service.ts ***! \*****************************************************************************/ /*! exports provided: PerimetersService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PerimetersService", function() { return PerimetersService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); var PerimetersService = /** @class */ (function () { function PerimetersService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_4__["environment"].apiURL; this.btnName = 'Common_Buttons.Add_Record'; } PerimetersService.prototype.getAllPerimeters = function (perimeter) { return this.httpClient.post(this.apiURL + '/getPerimeterList', perimeter).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (res) { return res; })); }; PerimetersService.prototype.updatePerimeterOrganisationList = function (perimeter) { return this.httpClient.put(this.apiURL + '/updatePerimeterOrganisationList', perimeter, { observe: 'response' }); }; PerimetersService.prototype.getGridOptions = function () { return this.gridOptions; }; PerimetersService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; PerimetersService.prototype.createPerimeterList = function (perimeter) { return this.httpClient.post(this.apiURL + '/createPerimeterList', perimeter, { observe: 'response' }); }; PerimetersService.prototype.updatePerimeterList = function (perimeter) { return this.httpClient.put(this.apiURL + '/updatePerimeterList', perimeter, { observe: 'response' }); }; PerimetersService.prototype.getActivePerimeterList = function (perimeter) { return this.httpClient.post(this.apiURL + '/getActivePerimeterByOrganisation', perimeter); }; PerimetersService.prototype.refreshGrid = function (perimeter) { var _this = this; this.getAllPerimeters(perimeter).subscribe(function (result) { _this.gridOptions.api.setRowData(result); }); }; PerimetersService.prototype.setPerimeter = function (gridPerimeter) { this.perimeter = gridPerimeter; if (this.perimeter != null) { this.initUpdate(); } else { this.initCreate(); } }; PerimetersService.prototype.getUpdatePerimeter = function () { return this.perimeter; }; PerimetersService.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; PerimetersService.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; PerimetersService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]]) ], PerimetersService); return PerimetersService; }()); /***/ }), /***/ "./src/app/administration/referentiel/referentiel.model.ts": /*!*****************************************************************!*\ !*** ./src/app/administration/referentiel/referentiel.model.ts ***! \*****************************************************************/ /*! exports provided: TabItems, constants */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TabItems", function() { return TabItems; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "constants", function() { return constants; }); var TabItems; (function (TabItems) { TabItems["site"] = "Site"; TabItems["buildingList"] = "BuildingList"; TabItems["meanList"] = "MeanList"; TabItems["essaiBancList"] = "EssaiBancList"; TabItems["campaignList"] = "CampaignList"; TabItems["clientDirectionList"] = "ClientDirectionList"; TabItems["teamList"] = "TeamList"; TabItems["perimeterList"] = "PerimeterList"; TabItems["batchList"] = "BatchList"; TabItems["campaignAssociationList"] = "CampaignAssociationList"; TabItems["servicesList"] = "ServicesList"; TabItems["specimenTypeList"] = "SpecimenTypeList"; TabItems["rsTypeList"] = "RsTypeList"; TabItems["mobileDeviceList"] = "MobileDeviceList"; TabItems["milestoneList"] = "MilestoneList"; TabItems["shifts"] = "Shifts"; TabItems["fuel"] = "Fuel"; })(TabItems || (TabItems = {})); var constants; (function (constants) { constants["rsTypeId"] = "RsType"; constants["mobileDeviceTab"] = "MobileDevice"; constants["orgId"] = "organisationIDs"; constants["create"] = "Create"; constants["update"] = "Update"; constants["milestoneTab"] = "Milestone"; constants["true"] = "true"; constants["successMsg"] = "Common_Buttons.Success"; constants["success"] = "S"; constants["uid"] = "uid"; constants["user"] = "User"; constants["macroActivityTab"] = "MacroActivity"; constants["updateBtn"] = "Common_Buttons.Update"; constants["dash"] = "-"; constants["dateFormat"] = "DD/MM/YYYY"; constants["ValidationNumberPatter"] = "[0-9]{0,10}"; constants["shifts"] = "Shifts"; constants["defaultHours"] = "8"; })(constants || (constants = {})); /***/ }), /***/ "./src/app/administration/referentiel/rs-type/rs-type.model.ts": /*!*********************************************************************!*\ !*** ./src/app/administration/referentiel/rs-type/rs-type.model.ts ***! \*********************************************************************/ /*! exports provided: RsType */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RsType", function() { return RsType; }); var RsType = /** @class */ (function () { function RsType() { } return RsType; }()); /***/ }), /***/ "./src/app/administration/referentiel/rs-type/rs-type.service.ts": /*!***********************************************************************!*\ !*** ./src/app/administration/referentiel/rs-type/rs-type.service.ts ***! \***********************************************************************/ /*! exports provided: RsTypeService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RsTypeService", function() { return RsTypeService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); var RsTypeService = /** @class */ (function () { function RsTypeService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiURL; this.buttonName = 'Common_Buttons.Add_Record'; } RsTypeService.prototype.getGridOptions = function () { return this.gridOptions; }; RsTypeService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; RsTypeService.prototype.getAllRsType = function (rsType) { return this.httpClient.post(this.apiURL + '/getRsTypeList', rsType).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; RsTypeService.prototype.setRsType = function (gridServices) { this.rsType = gridServices; if (this.rsType != null) { this.initUpdate(); } else { this.initCreate(); } }; RsTypeService.prototype.getUpdateRsType = function () { return this.rsType; }; RsTypeService.prototype.initUpdate = function () { this.buttonName = 'Common_Buttons.Update'; }; RsTypeService.prototype.initCreate = function () { this.buttonName = 'Common_Buttons.Add_Record'; }; RsTypeService.prototype.refreshGrid = function (rsType) { var _this = this; rsType.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); this.getAllRsType(rsType).subscribe(function (result) { _this.gridOptions.api.setRowData(result); }); }; RsTypeService.prototype.createRsTypeList = function (rsType) { return this.httpClient.post(this.apiURL + '/createRsTypeList', rsType, { observe: 'response' }); }; RsTypeService.prototype.updateRsTypeList = function (rsType) { return this.httpClient.put(this.apiURL + '/updateRsTypeList', rsType, { observe: 'response' }); }; RsTypeService.prototype.getActiveRsTypeList = function (rsType) { return this.httpClient.post(this.apiURL + '/getRsTypeByOrganisation', rsType); }; RsTypeService.prototype.updateRsTypeOrganisationList = function (rsType) { return this.httpClient.put(this.apiURL + '/updateRsTypeOrganisationList', rsType, { observe: 'response' }); }; RsTypeService.prototype.getRsTypeAfterSacre = function (rsType) { return this.httpClient.post(this.apiURL + '/createRsTypeFromSacre', rsType).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; RsTypeService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClient"]]) ], RsTypeService); return RsTypeService; }()); /***/ }), /***/ "./src/app/administration/referentiel/services/services.model.ts": /*!***********************************************************************!*\ !*** ./src/app/administration/referentiel/services/services.model.ts ***! \***********************************************************************/ /*! exports provided: Services */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Services", function() { return Services; }); var Services = /** @class */ (function () { function Services() { } return Services; }()); /***/ }), /***/ "./src/app/administration/referentiel/services/services.service.ts": /*!*************************************************************************!*\ !*** ./src/app/administration/referentiel/services/services.service.ts ***! \*************************************************************************/ /*! exports provided: ServicesService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ServicesService", function() { return ServicesService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); var ServicesService = /** @class */ (function () { function ServicesService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiURL; this.btnName = 'Common_Buttons.Add_Record'; } ServicesService.prototype.getActiveSiteList = function (service) { return this.httpClient.post(this.apiURL + '/getActiveServicesByOrganisation', service); }; ServicesService.prototype.getAllServices = function (services) { return this.httpClient.post(this.apiURL + '/getServicesList', services).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; ServicesService.prototype.updateServicesOrganisationList = function (services) { return this.httpClient.put(this.apiURL + '/updateServicesOrganisationList', services, { observe: 'response' }); }; ServicesService.prototype.updateServicesList = function (services) { return this.httpClient.put(this.apiURL + '/updateServicesList', services, { observe: 'response' }); }; ServicesService.prototype.getGridOptions = function () { return this.gridOptions; }; ServicesService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; ServicesService.prototype.createServicesList = function (services) { return this.httpClient.post(this.apiURL + '/createServicesList', services, { observe: 'response' }); }; ServicesService.prototype.refreshGrid = function (services) { var _this = this; services.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); this.getAllServices(services).subscribe(function (result) { _this.gridOptions.api.setRowData(result); }); }; ServicesService.prototype.setServices = function (gridServices) { this.services = gridServices; if (this.services != null) { this.initUpdate(); } else { this.initCreate(); } }; ServicesService.prototype.getUpdateServices = function () { return this.services; }; ServicesService.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; ServicesService.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; ServicesService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClient"]]) ], ServicesService); return ServicesService; }()); /***/ }), /***/ "./src/app/administration/referentiel/shifts/shifts.model.ts": /*!*******************************************************************!*\ !*** ./src/app/administration/referentiel/shifts/shifts.model.ts ***! \*******************************************************************/ /*! exports provided: Shifts */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Shifts", function() { return Shifts; }); var Shifts = /** @class */ (function () { function Shifts() { } return Shifts; }()); /***/ }), /***/ "./src/app/administration/referentiel/shifts/shifts.service.ts": /*!*********************************************************************!*\ !*** ./src/app/administration/referentiel/shifts/shifts.service.ts ***! \*********************************************************************/ /*! exports provided: ShiftsService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ShiftsService", function() { return ShiftsService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); var ShiftsService = /** @class */ (function () { function ShiftsService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_4__["environment"].apiURL; this.btnName = 'Common_Buttons.Add_Record'; } ShiftsService.prototype.getAllShifts = function (shifts) { return this.httpClient.post(this.apiURL + '/getAllShifts', shifts).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (res) { return res; })); }; ShiftsService.prototype.updateShiftOrganisationList = function (shifts) { return this.httpClient.put(this.apiURL + '/updateShiftOrganisationList', shifts, { observe: 'response' }); }; ShiftsService.prototype.createShift = function (shifts) { return this.httpClient.post(this.apiURL + '/createShift', shifts, { observe: 'response' }); }; ShiftsService.prototype.updateShifts = function (shifts) { return this.httpClient.put(this.apiURL + '/updateShifts', shifts, { observe: 'response' }); }; ShiftsService.prototype.getGridOptions = function () { return this.gridOptions; }; ShiftsService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; ShiftsService.prototype.refreshGrid = function (shifts) { var _this = this; this.getAllShifts(shifts).subscribe(function (result) { var extractedResult = result.map(function (m) { m.shifts = m.teams + "x" + m.hours; return m; }); _this.gridOptions.api.setRowData(extractedResult); }); }; ShiftsService.prototype.setShift = function (gridShift) { this.shifts = gridShift; if (this.shifts != null) { this.initUpdate(); } else { this.initCreate(); } }; ShiftsService.prototype.getUpdateShift = function () { return this.shifts; }; ShiftsService.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; ShiftsService.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; ShiftsService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]]) ], ShiftsService); return ShiftsService; }()); /***/ }), /***/ "./src/app/administration/referentiel/sites/site.model.ts": /*!****************************************************************!*\ !*** ./src/app/administration/referentiel/sites/site.model.ts ***! \****************************************************************/ /*! exports provided: Site */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Site", function() { return Site; }); var Site = /** @class */ (function () { function Site() { } return Site; }()); /***/ }), /***/ "./src/app/administration/referentiel/sites/sites.service.ts": /*!*******************************************************************!*\ !*** ./src/app/administration/referentiel/sites/sites.service.ts ***! \*******************************************************************/ /*! exports provided: SitesService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SitesService", function() { return SitesService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); var SitesService = /** @class */ (function () { function SitesService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_4__["environment"].apiURL; this.btnName = 'Common_Buttons.Add_Record'; } SitesService.prototype.getAllSites = function (site) { return this.httpClient.post(this.apiURL + '/getSiteList', site).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (res) { return res; })); }; SitesService.prototype.getActiveSiteByOrganisation = function (site) { return this.httpClient.post(this.apiURL + '/getActiveSiteByOrganisation', site); }; SitesService.prototype.updateOrganisationList = function (site) { return this.httpClient.put(this.apiURL + '/updateOrganisationList', site, { observe: 'response' }); }; SitesService.prototype.createSiteList = function (site) { return this.httpClient.post(this.apiURL + '/createSiteList', site, { observe: 'response' }); }; SitesService.prototype.updateSiteList = function (site) { return this.httpClient.put(this.apiURL + '/updateSiteList', site, { observe: 'response' }); }; SitesService.prototype.getActiveSiteList = function (site) { return this.httpClient.post(this.apiURL + '/getActiveSiteByOrganisation', site); }; SitesService.prototype.getGridOptions = function () { return this.gridOptions; }; SitesService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; SitesService.prototype.setSite = function (gridSite) { this.site = gridSite; if (this.site != null) { this.initUpdate(); } else { this.initCreate(); } }; SitesService.prototype.getUpdateSite = function () { return this.site; }; SitesService.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; SitesService.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; SitesService.prototype.getSiteComboList = function () { var orgId = JSON.parse(sessionStorage.getItem('organisationIDs')); return this.httpClient.get(this.apiURL + '/getSiteComboList/' + orgId).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (res) { return res; })); }; SitesService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]]) ], SitesService); return SitesService; }()); /***/ }), /***/ "./src/app/administration/referentiel/specimen-type/specimen-type.model.ts": /*!*********************************************************************************!*\ !*** ./src/app/administration/referentiel/specimen-type/specimen-type.model.ts ***! \*********************************************************************************/ /*! exports provided: SpecimenType */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SpecimenType", function() { return SpecimenType; }); var SpecimenType = /** @class */ (function () { function SpecimenType() { } return SpecimenType; }()); /***/ }), /***/ "./src/app/administration/referentiel/specimen-type/specimen-type.service.ts": /*!***********************************************************************************!*\ !*** ./src/app/administration/referentiel/specimen-type/specimen-type.service.ts ***! \***********************************************************************************/ /*! exports provided: SpecimenTypeService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SpecimenTypeService", function() { return SpecimenTypeService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); var SpecimenTypeService = /** @class */ (function () { function SpecimenTypeService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiURL; this.btnName = 'Common_Buttons.Add_Record'; } SpecimenTypeService.prototype.getGridOptions = function () { return this.gridOptions; }; SpecimenTypeService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; SpecimenTypeService.prototype.getAllSpecimenType = function (specimenType) { return this.httpClient.post(this.apiURL + '/getSpecimenTypeList', specimenType).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; SpecimenTypeService.prototype.setSpecimenType = function (gridServices) { this.specimenType = gridServices; if (this.specimenType != null) { this.initUpdate(); } else { this.initCreate(); } }; SpecimenTypeService.prototype.getUpdateSpecimenType = function () { return this.specimenType; }; SpecimenTypeService.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; SpecimenTypeService.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; SpecimenTypeService.prototype.refreshGrid = function (specimenType) { var _this = this; specimenType.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); this.getAllSpecimenType(specimenType).subscribe(function (result) { _this.gridOptions.api.setRowData(result); }); }; SpecimenTypeService.prototype.createSpecimenTypeList = function (specimenType) { return this.httpClient.post(this.apiURL + '/createSpecimenTypeList', specimenType, { observe: 'response' }); }; SpecimenTypeService.prototype.updateSpecimenTypeList = function (specimenType) { return this.httpClient.put(this.apiURL + '/updateSpecimenTypeList', specimenType, { observe: 'response' }); }; SpecimenTypeService.prototype.getActiveSpecimenTypeList = function (specimenType) { return this.httpClient.post(this.apiURL + '/getActiveSpecimenTypeByOrganisation', specimenType); }; SpecimenTypeService.prototype.updateSpecimenTypeOrganisationList = function (specimenType) { return this.httpClient.put(this.apiURL + '/updateSpecimenTypeOrganisationList', specimenType, { observe: 'response' }); }; SpecimenTypeService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClient"]]) ], SpecimenTypeService); return SpecimenTypeService; }()); /***/ }), /***/ "./src/app/administration/referentiel/teams/teams.model.ts": /*!*****************************************************************!*\ !*** ./src/app/administration/referentiel/teams/teams.model.ts ***! \*****************************************************************/ /*! exports provided: Teams */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Teams", function() { return Teams; }); var Teams = /** @class */ (function () { function Teams() { } return Teams; }()); /***/ }), /***/ "./src/app/administration/referentiel/teams/teams.service.ts": /*!*******************************************************************!*\ !*** ./src/app/administration/referentiel/teams/teams.service.ts ***! \*******************************************************************/ /*! exports provided: TeamsService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TeamsService", function() { return TeamsService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); var TeamsService = /** @class */ (function () { function TeamsService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_4__["environment"].apiURL; this.btnName = 'Common_Buttons.Add_Record'; } TeamsService.prototype.getAllTeams = function (team) { return this.httpClient.post(this.apiURL + '/getTeamList', team).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (res) { return res; })); }; TeamsService.prototype.updateTeamOrganisationList = function (team) { return this.httpClient.put(this.apiURL + '/updateTeamOrganisationList', team, { observe: 'response' }); }; TeamsService.prototype.updateTeamList = function (team) { return this.httpClient.put(this.apiURL + '/updateTeamList', team, { observe: 'response' }); }; TeamsService.prototype.getActiveTeamList = function (team) { return this.httpClient.post(this.apiURL + '/getActiveTeamByOrganisation', team); }; TeamsService.prototype.getGridOptions = function () { return this.gridOptions; }; TeamsService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; TeamsService.prototype.createTeamsList = function (team) { return this.httpClient.post(this.apiURL + '/createTeamsList', team, { observe: 'response' }); }; TeamsService.prototype.refreshGrid = function (team) { var _this = this; this.getAllTeams(team).subscribe(function (result) { _this.gridOptions.api.setRowData(result); }); }; TeamsService.prototype.setTeam = function (gridTeam) { this.team = gridTeam; if (this.team != null) { this.initUpdate(); } else { this.initCreate(); } }; TeamsService.prototype.getUpdateTeam = function () { return this.team; }; TeamsService.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; TeamsService.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; TeamsService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]]) ], TeamsService); return TeamsService; }()); /***/ }), /***/ "./src/app/administration/testbedreferential/expertise-domain/expertise-domain.model.ts": /*!**********************************************************************************************!*\ !*** ./src/app/administration/testbedreferential/expertise-domain/expertise-domain.model.ts ***! \**********************************************************************************************/ /*! exports provided: ExpertiseDomain, ExpertiseDomainEng */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ExpertiseDomain", function() { return ExpertiseDomain; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ExpertiseDomainEng", function() { return ExpertiseDomainEng; }); var ExpertiseDomain = /** @class */ (function () { function ExpertiseDomain() { } return ExpertiseDomain; }()); var ExpertiseDomainEng; (function (ExpertiseDomainEng) { ExpertiseDomainEng["orgId"] = "organisationIDs"; ExpertiseDomainEng["True"] = "true"; ExpertiseDomainEng["Uid"] = "uid"; ExpertiseDomainEng["User"] = "User"; ExpertiseDomainEng["expDomain_existing"] = "Errormessage.expertiseDomain_existing"; ExpertiseDomainEng["fail"] = "F"; ExpertiseDomainEng["success"] = "S"; ExpertiseDomainEng["success_msg"] = "Common_Buttons.Success"; ExpertiseDomainEng["update"] = "Common_Buttons.Update"; })(ExpertiseDomainEng || (ExpertiseDomainEng = {})); /***/ }), /***/ "./src/app/administration/testbedreferential/expertise-domain/expertise-domain.service.ts": /*!************************************************************************************************!*\ !*** ./src/app/administration/testbedreferential/expertise-domain/expertise-domain.service.ts ***! \************************************************************************************************/ /*! exports provided: ExpertiseDomainService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ExpertiseDomainService", function() { return ExpertiseDomainService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); /* harmony import */ var src_app_common_common_services__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! src/app/common/common.services */ "./src/app/common/common.services.ts"); /* harmony import */ var _expertise_domain_model__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./expertise-domain.model */ "./src/app/administration/testbedreferential/expertise-domain/expertise-domain.model.ts"); var ExpertiseDomainService = /** @class */ (function () { function ExpertiseDomainService(httpClient, commonServices) { this.httpClient = httpClient; this.commonServices = commonServices; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiURL; this.btnName = 'Common_Buttons.Add_Record'; } ExpertiseDomainService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; ExpertiseDomainService.prototype.getAllExpertiseDomain = function () { var expertiseDomain = new _expertise_domain_model__WEBPACK_IMPORTED_MODULE_6__["ExpertiseDomain"](); expertiseDomain.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); return this.httpClient.post(this.apiURL + '/getExpertiseDomainList', expertiseDomain).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; ExpertiseDomainService.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; ExpertiseDomainService.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; ExpertiseDomainService.prototype.saveExpertiseDomain = function (expertiseDomain) { return this.httpClient.post(this.apiURL + '/saveExpertiseDomain', expertiseDomain, { observe: 'response' }); }; ExpertiseDomainService.prototype.refreshGrid = function () { var _this = this; this.getAllExpertiseDomain().subscribe(function (result) { _this.gridOptions.api.setRowData(result); _this.commonServices.expertiseDomainData = result; }); }; ExpertiseDomainService.prototype.updateExpertiseDomainOrganisationList = function (expertiseDomain) { return this.httpClient.put(this.apiURL + '/updateExpertiseDomainOrganisationList', expertiseDomain, { observe: 'response' }); }; ExpertiseDomainService.prototype.setExpertiseDomain = function (gridExpertiseDomain) { this.expertiseDomain = gridExpertiseDomain; if (this.expertiseDomain) { this.initUpdate(); } else { this.initCreate(); } }; ExpertiseDomainService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClient"], src_app_common_common_services__WEBPACK_IMPORTED_MODULE_5__["CommonServices"]]) ], ExpertiseDomainService); return ExpertiseDomainService; }()); /***/ }), /***/ "./src/app/administration/testbedreferential/exploitants/exploitants.model.ts": /*!************************************************************************************!*\ !*** ./src/app/administration/testbedreferential/exploitants/exploitants.model.ts ***! \************************************************************************************/ /*! exports provided: Exploitants */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Exploitants", function() { return Exploitants; }); var Exploitants = /** @class */ (function () { function Exploitants() { } return Exploitants; }()); /***/ }), /***/ "./src/app/administration/testbedreferential/exploitants/exploitants.service.ts": /*!**************************************************************************************!*\ !*** ./src/app/administration/testbedreferential/exploitants/exploitants.service.ts ***! \**************************************************************************************/ /*! exports provided: ExploitantsService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ExploitantsService", function() { return ExploitantsService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); var ExploitantsService = /** @class */ (function () { function ExploitantsService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiURL; this.btnName = 'Common_Buttons.Add_Record'; } ExploitantsService.prototype.getAllExploitant = function (exploitant) { return this.httpClient.post(this.apiURL + '/getExploitantsList', exploitant).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; ExploitantsService.prototype.createExploitant = function (exploitant) { return this.httpClient.post(this.apiURL + '/createExploitant', exploitant, { observe: 'response' }); }; ExploitantsService.prototype.updateExploitant = function (exploitant) { return this.httpClient.put(this.apiURL + '/updateExploitant', exploitant, { observe: 'response' }); }; ExploitantsService.prototype.updateExploitantOrganisationList = function (exploitant) { return this.httpClient.put(this.apiURL + '/updateExploitantOrganisationList', exploitant, { observe: 'response' }); }; ExploitantsService.prototype.setExploitants = function (gridExploitants) { this.exploitants = gridExploitants; if (this.exploitants != null) { this.initUpdate(); } else { this.initCreate(); } }; ExploitantsService.prototype.getGridOptions = function () { return this.gridOptions; }; ExploitantsService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; ExploitantsService.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; ExploitantsService.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; ExploitantsService.prototype.getUpdateExploitants = function () { return this.exploitants; }; /* This method was written for fetching only active values from the Exploitant table Tp105_Exploitant fot the US-US413 - As an administrator I want to be able to select the exploitant value while creating a testbed */ ExploitantsService.prototype.getActiveExploitableList = function (exploitant) { return this.httpClient.post(this.apiURL + '/getAllActiveExploitantList', exploitant); }; ExploitantsService.prototype.checkColorDuplicate = function (dataList, checkVal) { if (dataList) { var duplicateList = dataList.filter(function (dataVal) { return dataVal.color === checkVal.color; }); if (duplicateList && duplicateList.length > 0) { if (duplicateList.length > 1) { return true; } else if (duplicateList[0].id !== checkVal.id) { return true; } } } }; ExploitantsService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClient"]]) ], ExploitantsService); return ExploitantsService; }()); /***/ }), /***/ "./src/app/administration/testbedreferential/external-coswin/external-coswin.model.ts": /*!********************************************************************************************!*\ !*** ./src/app/administration/testbedreferential/external-coswin/external-coswin.model.ts ***! \********************************************************************************************/ /*! exports provided: ExternalCoswin, ExternalCoswinEng */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ExternalCoswin", function() { return ExternalCoswin; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ExternalCoswinEng", function() { return ExternalCoswinEng; }); var ExternalCoswin = /** @class */ (function () { function ExternalCoswin() { } return ExternalCoswin; }()); var ExternalCoswinEng; (function (ExternalCoswinEng) { ExternalCoswinEng["orgId"] = "organisationIDs"; ExternalCoswinEng["True"] = "true"; ExternalCoswinEng["Uid"] = "uid"; ExternalCoswinEng["User"] = "User"; ExternalCoswinEng["interSystem_existing"] = "Errormessage.extCoswin_existing"; ExternalCoswinEng["fail"] = "F"; ExternalCoswinEng["success"] = "S"; ExternalCoswinEng["success_msg"] = "Common_Buttons.Success"; ExternalCoswinEng["update"] = "Common_Buttons.Update"; })(ExternalCoswinEng || (ExternalCoswinEng = {})); /***/ }), /***/ "./src/app/administration/testbedreferential/external-coswin/external-coswin.service.ts": /*!**********************************************************************************************!*\ !*** ./src/app/administration/testbedreferential/external-coswin/external-coswin.service.ts ***! \**********************************************************************************************/ /*! exports provided: ExternalCoswinService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ExternalCoswinService", function() { return ExternalCoswinService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); /* harmony import */ var src_app_common_common_services__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! src/app/common/common.services */ "./src/app/common/common.services.ts"); /* harmony import */ var _external_coswin_model__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./external-coswin.model */ "./src/app/administration/testbedreferential/external-coswin/external-coswin.model.ts"); var ExternalCoswinService = /** @class */ (function () { function ExternalCoswinService(httpClient, commonServices) { this.httpClient = httpClient; this.commonServices = commonServices; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiURL; this.btnName = 'Common_Buttons.Add_Record'; } ExternalCoswinService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; ExternalCoswinService.prototype.getAllExternalCoswin = function () { var externalCoswin = new _external_coswin_model__WEBPACK_IMPORTED_MODULE_6__["ExternalCoswin"](); externalCoswin.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); return this.httpClient.post(this.apiURL + '/getExternalCoswinList', externalCoswin).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; ExternalCoswinService.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; ExternalCoswinService.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; ExternalCoswinService.prototype.saveExternalCoswin = function (externalCoswin) { return this.httpClient.post(this.apiURL + '/saveExternalCoswin', externalCoswin, { observe: 'response' }); }; ExternalCoswinService.prototype.refreshGrid = function () { var _this = this; this.getAllExternalCoswin().subscribe(function (result) { _this.gridOptions.api.setRowData(result); _this.commonServices.externalCoswinData = result; }); }; ExternalCoswinService.prototype.updateExternalCoswinOrganisationList = function (externalCoswin) { return this.httpClient.put(this.apiURL + '/updateExternalCoswinOrganisationList', externalCoswin, { observe: 'response' }); }; ExternalCoswinService.prototype.setExternalCoswin = function (gridExternalCoswin) { this.externalCoswin = gridExternalCoswin; if (this.externalCoswin) { this.initUpdate(); } else { this.initCreate(); } }; ExternalCoswinService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClient"], src_app_common_common_services__WEBPACK_IMPORTED_MODULE_5__["CommonServices"]]) ], ExternalCoswinService); return ExternalCoswinService; }()); /***/ }), /***/ "./src/app/administration/testbedreferential/intersystem/intersystem.model.ts": /*!************************************************************************************!*\ !*** ./src/app/administration/testbedreferential/intersystem/intersystem.model.ts ***! \************************************************************************************/ /*! exports provided: Intersystem, IntersystemEng */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Intersystem", function() { return Intersystem; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IntersystemEng", function() { return IntersystemEng; }); var Intersystem = /** @class */ (function () { function Intersystem() { } return Intersystem; }()); var IntersystemEng; (function (IntersystemEng) { IntersystemEng["orgId"] = "organisationIDs"; IntersystemEng["True"] = "true"; IntersystemEng["Uid"] = "uid"; IntersystemEng["User"] = "User"; IntersystemEng["interSystem_existing"] = "Errormessage.interSystem_existing"; IntersystemEng["fail"] = "F"; IntersystemEng["success"] = "S"; IntersystemEng["success_msg"] = "Common_Buttons.Success"; IntersystemEng["update"] = "Common_Buttons.Update"; })(IntersystemEng || (IntersystemEng = {})); /***/ }), /***/ "./src/app/administration/testbedreferential/intersystem/intersystem.service.ts": /*!**************************************************************************************!*\ !*** ./src/app/administration/testbedreferential/intersystem/intersystem.service.ts ***! \**************************************************************************************/ /*! exports provided: IntersystemService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IntersystemService", function() { return IntersystemService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); /* harmony import */ var _intersystem_model__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./intersystem.model */ "./src/app/administration/testbedreferential/intersystem/intersystem.model.ts"); /* harmony import */ var src_app_common_common_services__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! src/app/common/common.services */ "./src/app/common/common.services.ts"); var IntersystemService = /** @class */ (function () { function IntersystemService(httpClient, commonServices) { this.httpClient = httpClient; this.commonServices = commonServices; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiURL; this.interSystemUse = new _intersystem_model__WEBPACK_IMPORTED_MODULE_5__["Intersystem"]; this.btnName = 'Common_Buttons.Add_Record'; } IntersystemService.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; IntersystemService.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; IntersystemService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; IntersystemService.prototype.getAllIntersystem = function () { var intersystem = new _intersystem_model__WEBPACK_IMPORTED_MODULE_5__["Intersystem"](); intersystem.organisationId = JSON.parse(sessionStorage.getItem(_intersystem_model__WEBPACK_IMPORTED_MODULE_5__["IntersystemEng"].orgId)); return this.httpClient.post(this.apiURL + '/getIntersystemList', intersystem).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; IntersystemService.prototype.setInterSysytem = function (intersystem) { this.interSystemUse = intersystem; if (this.interSystemUse != null) { this.initUpdate(); } else { this.initCreate(); } }; IntersystemService.prototype.refreshGrid = function () { var _this = this; this.getAllIntersystem().subscribe(function (result) { _this.gridOptions.api.setRowData(result); _this.commonServices.interSystemUseList = result; }); }; IntersystemService.prototype.saveInterSystemUse = function (intersystem) { return this.httpClient.post(this.apiURL + '/saveInterSystemUse', intersystem, { observe: 'response' }); }; IntersystemService.prototype.updateInterSystemOrganisationList = function (intersystem) { return this.httpClient.put(this.apiURL + '/updateInterSystemOrganisationList', intersystem, { observe: 'response' }); }; IntersystemService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClient"], src_app_common_common_services__WEBPACK_IMPORTED_MODULE_6__["CommonServices"]]) ], IntersystemService); return IntersystemService; }()); /***/ }), /***/ "./src/app/administration/testbedreferential/os-version/os-version.model.ts": /*!**********************************************************************************!*\ !*** ./src/app/administration/testbedreferential/os-version/os-version.model.ts ***! \**********************************************************************************/ /*! exports provided: OsVersion, OsVersionConstant */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "OsVersion", function() { return OsVersion; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "OsVersionConstant", function() { return OsVersionConstant; }); var OsVersion = /** @class */ (function () { function OsVersion() { } return OsVersion; }()); var OsVersionConstant; (function (OsVersionConstant) { OsVersionConstant["orgId"] = "organisationIDs"; OsVersionConstant["True"] = "true"; OsVersionConstant["Uid"] = "uid"; OsVersionConstant["User"] = "User"; OsVersionConstant["osVersion_existing"] = "Errormessage.osVersion_existing"; OsVersionConstant["fail"] = "F"; OsVersionConstant["success"] = "S"; OsVersionConstant["success_msg"] = "Common_Buttons.Success"; OsVersionConstant["update"] = "Common_Buttons.Update"; })(OsVersionConstant || (OsVersionConstant = {})); /***/ }), /***/ "./src/app/administration/testbedreferential/os-version/os-version.service.ts": /*!************************************************************************************!*\ !*** ./src/app/administration/testbedreferential/os-version/os-version.service.ts ***! \************************************************************************************/ /*! exports provided: OsVersionService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "OsVersionService", function() { return OsVersionService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _os_version_model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./os-version.model */ "./src/app/administration/testbedreferential/os-version/os-version.model.ts"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var src_app_common_common_services__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! src/app/common/common.services */ "./src/app/common/common.services.ts"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); var OsVersionService = /** @class */ (function () { function OsVersionService(httpClient, commonServices) { this.httpClient = httpClient; this.commonServices = commonServices; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].apiURL; this.btnName = 'Common_Buttons.Add_Record'; } OsVersionService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; OsVersionService.prototype.getAllOsVersion = function () { var osVersion = new _os_version_model__WEBPACK_IMPORTED_MODULE_2__["OsVersion"](); osVersion.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); return this.httpClient.post(this.apiURL + '/getAllOsVersion', osVersion).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_6__["map"])(function (res) { return res; })); }; OsVersionService.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; OsVersionService.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; OsVersionService.prototype.saveOsVersion = function (osVersion) { return this.httpClient.post(this.apiURL + '/saveOsVersion', osVersion, { observe: 'response' }); }; OsVersionService.prototype.refreshGrid = function () { var _this = this; this.getAllOsVersion().subscribe(function (result) { _this.gridOptions.api.setRowData(result); _this.commonServices.osVersion = result; }); }; OsVersionService.prototype.updateOsVersionOrganisationList = function (osVersion) { return this.httpClient.put(this.apiURL + '/updateOsVersionOrganisationList', osVersion, { observe: 'response' }); }; OsVersionService.prototype.setOsVersion = function (gridOsVersion) { this.osVersion = gridOsVersion; if (this.osVersion) { this.initUpdate(); } else { this.initCreate(); } }; OsVersionService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_4__["HttpClient"], src_app_common_common_services__WEBPACK_IMPORTED_MODULE_5__["CommonServices"]]) ], OsVersionService); return OsVersionService; }()); /***/ }), /***/ "./src/app/administration/testbedreferential/sector/sector.model.ts": /*!**************************************************************************!*\ !*** ./src/app/administration/testbedreferential/sector/sector.model.ts ***! \**************************************************************************/ /*! exports provided: Sector */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Sector", function() { return Sector; }); var Sector = /** @class */ (function () { function Sector() { } return Sector; }()); /***/ }), /***/ "./src/app/administration/testbedreferential/sector/sector.service.ts": /*!****************************************************************************!*\ !*** ./src/app/administration/testbedreferential/sector/sector.service.ts ***! \****************************************************************************/ /*! exports provided: SectorService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SectorService", function() { return SectorService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); var SectorService = /** @class */ (function () { function SectorService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiURL; this.btnName = 'Common_Buttons.Add_Record'; } SectorService.prototype.getAllSectors = function (sector) { return this.httpClient.post(this.apiURL + '/getSectorList', sector).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; SectorService.prototype.updateSectorOrganisationList = function (sector) { return this.httpClient.put(this.apiURL + '/updateSectorOrganisationList', sector, { observe: 'response' }); }; SectorService.prototype.updateSectorList = function (sector) { return this.httpClient.put(this.apiURL + '/updateSectorList', sector, { observe: 'response' }); }; SectorService.prototype.getGridOptions = function () { return this.gridOptions; }; SectorService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; SectorService.prototype.createSectorList = function (sector) { return this.httpClient.post(this.apiURL + '/createSectorList', sector, { observe: 'response' }); }; SectorService.prototype.setSector = function (gridCampaign) { this.sector = gridCampaign; if (this.sector != null) { this.initUpdate(); } else { this.initCreate(); } }; SectorService.prototype.getUpdateSector = function () { return this.sector; }; SectorService.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; SectorService.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; SectorService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClient"]]) ], SectorService); return SectorService; }()); /***/ }), /***/ "./src/app/administration/testbedreferential/test-type/test-type.model.ts": /*!********************************************************************************!*\ !*** ./src/app/administration/testbedreferential/test-type/test-type.model.ts ***! \********************************************************************************/ /*! exports provided: TestType, TestTypeEng */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TestType", function() { return TestType; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TestTypeEng", function() { return TestTypeEng; }); var TestType = /** @class */ (function () { function TestType() { } return TestType; }()); var TestTypeEng; (function (TestTypeEng) { TestTypeEng["orgId"] = "organisationIDs"; TestTypeEng["True"] = "true"; TestTypeEng["Uid"] = "uid"; TestTypeEng["User"] = "User"; TestTypeEng["testType_existing"] = "Errormessage.testType_existing"; TestTypeEng["fail"] = "F"; TestTypeEng["success"] = "S"; TestTypeEng["success_msg"] = "Common_Buttons.Success"; TestTypeEng["update"] = "Common_Buttons.Update"; })(TestTypeEng || (TestTypeEng = {})); /***/ }), /***/ "./src/app/administration/testbedreferential/test-type/test-type.service.ts": /*!**********************************************************************************!*\ !*** ./src/app/administration/testbedreferential/test-type/test-type.service.ts ***! \**********************************************************************************/ /*! exports provided: TestTypeService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TestTypeService", function() { return TestTypeService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); /* harmony import */ var src_app_common_common_services__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! src/app/common/common.services */ "./src/app/common/common.services.ts"); /* harmony import */ var _test_type_model__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./test-type.model */ "./src/app/administration/testbedreferential/test-type/test-type.model.ts"); var TestTypeService = /** @class */ (function () { function TestTypeService(httpClient, commonServices) { this.httpClient = httpClient; this.commonServices = commonServices; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiURL; this.btnName = 'Common_Buttons.Add_Record'; } TestTypeService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; TestTypeService.prototype.getAllTestType = function () { var testType = new _test_type_model__WEBPACK_IMPORTED_MODULE_6__["TestType"](); testType.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); return this.httpClient.post(this.apiURL + '/getTestTypeList', testType).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; TestTypeService.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; TestTypeService.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; TestTypeService.prototype.saveTestType = function (testType) { return this.httpClient.post(this.apiURL + '/saveTestType', testType, { observe: 'response' }); }; TestTypeService.prototype.refreshGrid = function () { var _this = this; this.getAllTestType().subscribe(function (result) { _this.gridOptions.api.setRowData(result); _this.commonServices.testTypeData = result; }); }; TestTypeService.prototype.updateTestTypeOrganisationList = function (testType) { return this.httpClient.put(this.apiURL + '/updateTestTypeOrganisationList', testType, { observe: 'response' }); }; TestTypeService.prototype.setTestType = function (gridTestType) { this.testType = gridTestType; if (this.testType) { this.initUpdate(); } else { this.initCreate(); } }; TestTypeService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClient"], src_app_common_common_services__WEBPACK_IMPORTED_MODULE_5__["CommonServices"]]) ], TestTypeService); return TestTypeService; }()); /***/ }), /***/ "./src/app/administration/testbedreferential/testbed/global-info/testbed-global-info.model.ts": /*!****************************************************************************************************!*\ !*** ./src/app/administration/testbedreferential/testbed/global-info/testbed-global-info.model.ts ***! \****************************************************************************************************/ /*! exports provided: TestbedGlobalInfo */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TestbedGlobalInfo", function() { return TestbedGlobalInfo; }); var TestbedGlobalInfo = /** @class */ (function () { function TestbedGlobalInfo() { } return TestbedGlobalInfo; }()); /***/ }), /***/ "./src/app/administration/testbedreferential/testbed/performance/testbed-performance.model.ts": /*!****************************************************************************************************!*\ !*** ./src/app/administration/testbedreferential/testbed/performance/testbed-performance.model.ts ***! \****************************************************************************************************/ /*! exports provided: TestbedPerformance */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TestbedPerformance", function() { return TestbedPerformance; }); var TestbedPerformance = /** @class */ (function () { function TestbedPerformance() { } return TestbedPerformance; }()); /***/ }), /***/ "./src/app/administration/testbedreferential/testbed/technical-info/testbed-technical-info.model.ts": /*!**********************************************************************************************************!*\ !*** ./src/app/administration/testbedreferential/testbed/technical-info/testbed-technical-info.model.ts ***! \**********************************************************************************************************/ /*! exports provided: TestbedTechnicalInfo */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TestbedTechnicalInfo", function() { return TestbedTechnicalInfo; }); var TestbedTechnicalInfo = /** @class */ (function () { function TestbedTechnicalInfo() { } return TestbedTechnicalInfo; }()); /***/ }), /***/ "./src/app/administration/testbedreferential/testbed/testbed-model.ts": /*!****************************************************************************!*\ !*** ./src/app/administration/testbedreferential/testbed/testbed-model.ts ***! \****************************************************************************/ /*! exports provided: Testbed, TestbedEnum */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Testbed", function() { return Testbed; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TestbedEnum", function() { return TestbedEnum; }); var Testbed = /** @class */ (function () { function Testbed() { } return Testbed; }()); var TestbedEnum; (function (TestbedEnum) { TestbedEnum["selectedSite"] = "selectedSite"; TestbedEnum["selectedMean"] = "selectedMean"; TestbedEnum["selectedTestBed"] = "selectedTestBed"; TestbedEnum["site"] = "Site"; TestbedEnum["mean"] = "Mean"; TestbedEnum["testbed"] = "TestBed"; })(TestbedEnum || (TestbedEnum = {})); /***/ }), /***/ "./src/app/administration/testbedreferential/testbed/testbed-services.ts": /*!*******************************************************************************!*\ !*** ./src/app/administration/testbedreferential/testbed/testbed-services.ts ***! \*******************************************************************************/ /*! exports provided: TestbedService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TestbedService", function() { return TestbedService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm5/index.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var _global_info_testbed_global_info_model__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./global-info/testbed-global-info.model */ "./src/app/administration/testbedreferential/testbed/global-info/testbed-global-info.model.ts"); /* harmony import */ var _testbed_model__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./testbed-model */ "./src/app/administration/testbedreferential/testbed/testbed-model.ts"); /* harmony import */ var _technical_info_testbed_technical_info_model__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./technical-info/testbed-technical-info.model */ "./src/app/administration/testbedreferential/testbed/technical-info/testbed-technical-info.model.ts"); /* harmony import */ var rxjs_add_operator_catch__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! rxjs/add/operator/catch */ "./node_modules/rxjs-compat/_esm5/add/operator/catch.js"); /* harmony import */ var rxjs_add_observable_throw__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! rxjs/add/observable/throw */ "./node_modules/rxjs-compat/_esm5/add/observable/throw.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); /* harmony import */ var _referentiel_perimeters_perimeters_model__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../referentiel/perimeters/perimeters.model */ "./src/app/administration/referentiel/perimeters/perimeters.model.ts"); /* harmony import */ var _referentiel_batch_batch_model__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../referentiel/batch/batch.model */ "./src/app/administration/referentiel/batch/batch.model.ts"); /* harmony import */ var _performance_testbed_performance_model__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./performance/testbed-performance.model */ "./src/app/administration/testbedreferential/testbed/performance/testbed-performance.model.ts"); /* harmony import */ var _referentiel_buildings_building_model__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../referentiel/buildings/building.model */ "./src/app/administration/referentiel/buildings/building.model.ts"); /* harmony import */ var _referentiel_sites_site_model__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../referentiel/sites/site.model */ "./src/app/administration/referentiel/sites/site.model.ts"); /* harmony import */ var _referentiel_means_means_model__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../referentiel/means/means.model */ "./src/app/administration/referentiel/means/means.model.ts"); /* harmony import */ var _referentiel_teams_teams_model__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../../referentiel/teams/teams.model */ "./src/app/administration/referentiel/teams/teams.model.ts"); /* harmony import */ var _referentiel_services_services_model__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../../referentiel/services/services.model */ "./src/app/administration/referentiel/services/services.model.ts"); /* harmony import */ var _exploitants_exploitants_model__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../exploitants/exploitants.model */ "./src/app/administration/testbedreferential/exploitants/exploitants.model.ts"); var TestbedService = /** @class */ (function () { function TestbedService(http) { this.http = http; this.api = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiURL; this.btnName = 'Common_Buttons.Add_Record'; this.testbed = this.testbedTabOne = this.testbedTabTwo = this.testbedTabThree = this.testbedTabFour = this.testbedTabFive = this.init(); this.coswinTestbed = this.coswinTabOne = this.coswinTabTwo = this.coswinTabThree = this.coswinTabFour = this.coswinTabFive = this.initCoswin(); this.astralTestbed = this.astralTabOne = this.astralTabTwo = this.astralTabThree = this.astralTabFour = this.astralTabFive = this.initAstralTestbed(); this.gpsTestbed = this.gpsTabOne = this.gpsTabTwo = this.gpsTabThree = this.gpsTabFour = this.gpsTabFive = this.initGpsTestbed(); } TestbedService.prototype.getSiteComboListService = function (testbed) { // return this.http.get(this.api + '/getSiteComboList'); return this.http.post(this.api + '/getSiteComboListNew', testbed); }; TestbedService.prototype.getMeansComboListService = function (testbed) { return this.http.post(this.api + '/getMeansComboListNew', testbed); // return this.http.get(this.api + '/getMeanComboList'); }; TestbedService.prototype.getTestbedComboList = function (testbed) { return this.http.post(this.api + '/getTestbedComboList/', testbed, { observe: 'response' }); }; TestbedService.prototype.getTestbedDtl = function (testbedId) { return this.http.get(this.api + '/getTestbedDetail/' + testbedId); }; // get coswin testbed data TestbedService.prototype.getCoswinTestbedData = function (testbedId) { return this.http.get(this.api + '/getCoswinTestbedData' + testbedId); }; /* saveTestbed(testbed: Testbed, coswinTestbed: CoswinTestbed) { return this.http.post(this.api + '/saveTestbed/?testbed=' + testbed + '&coswinTestbed=' + coswinTestbed, { observe: 'response' }); } */ TestbedService.prototype.saveTestbed = function (commonTestbedModel) { console.log('commonTestbedModel', commonTestbedModel); return this.http.post(this.api + '/saveTestbed', commonTestbedModel, { observe: 'response' }); }; TestbedService.prototype.updateTestbed = function (commonTestbedModel) { return this.http.put(this.api + '/updateTestbed', commonTestbedModel, { observe: 'response' }).catch(this.errorHandler); }; TestbedService.prototype.getTestbed = function () { return this.testbed; }; TestbedService.prototype.setTestbed = function (testbed) { if (testbed.testbedGlobalInfo.perimeterId == null || testbed.testbedGlobalInfo.perimeterId === undefined) { testbed.testbedGlobalInfo.perimeterId = new _referentiel_perimeters_perimeters_model__WEBPACK_IMPORTED_MODULE_11__["Perimeters"](); } if (testbed.testbedGlobalInfo.batch == null || testbed.testbedGlobalInfo.batch === undefined) { testbed.testbedGlobalInfo.batch = new _referentiel_batch_batch_model__WEBPACK_IMPORTED_MODULE_12__["Batch"](); } if (testbed.testbedGlobalInfo.exploitant == null || testbed.testbedGlobalInfo.exploitant === undefined) { testbed.testbedGlobalInfo.exploitant = new _exploitants_exploitants_model__WEBPACK_IMPORTED_MODULE_19__["Exploitants"](); } this.testbed = testbed; }; TestbedService.prototype.init = function () { var testbed = new _testbed_model__WEBPACK_IMPORTED_MODULE_6__["Testbed"](); testbed.testbedGlobalInfo = new _global_info_testbed_global_info_model__WEBPACK_IMPORTED_MODULE_5__["TestbedGlobalInfo"](); testbed.testbedTechnicalInfo = new _technical_info_testbed_technical_info_model__WEBPACK_IMPORTED_MODULE_7__["TestbedTechnicalInfo"](); testbed.testbedPerformance = new _performance_testbed_performance_model__WEBPACK_IMPORTED_MODULE_13__["TestbedPerformance"](); testbed.testbedGlobalInfo.batch = new _referentiel_batch_batch_model__WEBPACK_IMPORTED_MODULE_12__["Batch"](); testbed.testbedGlobalInfo.buildingId = new _referentiel_buildings_building_model__WEBPACK_IMPORTED_MODULE_14__["Building"](); testbed.testbedGlobalInfo.siteId = new _referentiel_sites_site_model__WEBPACK_IMPORTED_MODULE_15__["Site"](); testbed.testbedGlobalInfo.meanId = new _referentiel_means_means_model__WEBPACK_IMPORTED_MODULE_16__["Means"](); testbed.testbedGlobalInfo.perimeterId = new _referentiel_perimeters_perimeters_model__WEBPACK_IMPORTED_MODULE_11__["Perimeters"](); testbed.testbedGlobalInfo.serviceId = new _referentiel_services_services_model__WEBPACK_IMPORTED_MODULE_18__["Services"](); testbed.testbedGlobalInfo.teamId = new _referentiel_teams_teams_model__WEBPACK_IMPORTED_MODULE_17__["Teams"](); testbed.testbedGlobalInfo.exploitant = new _exploitants_exploitants_model__WEBPACK_IMPORTED_MODULE_19__["Exploitants"](); return testbed; }; TestbedService.prototype.initCoswin = function () { /* const testbed = new Testbed(); testbed.testbedGlobalInfo = new TestbedGlobalInfo(); testbed.testbedTechnicalInfo = new TestbedTechnicalInfo(); testbed.testbedPerformance = new TestbedPerformance(); testbed.testbedGlobalInfo.batch = new Batch(); testbed.testbedGlobalInfo.buildingId = new Building(); testbed.testbedGlobalInfo.siteId = new Site(); testbed.testbedGlobalInfo.meanId = new Means(); testbed.testbedGlobalInfo.perimeterId = new Perimeters(); testbed.testbedGlobalInfo.serviceId = new Services(); testbed.testbedGlobalInfo.teamId = new Teams(); testbed.testbedGlobalInfo.exploitant = new Exploitants(); */ return this.coswinTestbed; }; TestbedService.prototype.initAstralTestbed = function () { return this.astralTestbed; }; TestbedService.prototype.initGpsTestbed = function () { return this.gpsTestbed; }; TestbedService.prototype.getTestBedComboList = function () { var _this = this; var testbed = new _testbed_model__WEBPACK_IMPORTED_MODULE_6__["Testbed"](); testbed.organisation_reg_id = JSON.parse(sessionStorage.getItem('organisationIDs')); testbed.testbedGlobalInfo = new _global_info_testbed_global_info_model__WEBPACK_IMPORTED_MODULE_5__["TestbedGlobalInfo"](); testbed.testbedGlobalInfo.buildingId = new _referentiel_buildings_building_model__WEBPACK_IMPORTED_MODULE_14__["Building"](); testbed.testbedGlobalInfo.meanId = new _referentiel_means_means_model__WEBPACK_IMPORTED_MODULE_16__["Means"](); this.getTestbedComboList(testbed).subscribe(function (response) { _this.testBedComboOne = _this.testBedComboTwo = _this.testBedComboThree = _this.testBedComboFour = _this.testBedComboFive = response.body; }); }; TestbedService.prototype.errorHandler = function (error) { return rxjs__WEBPACK_IMPORTED_MODULE_3__["Observable"].throw('Update Failed !'); }; TestbedService.prototype.getSiteComboList = function (testbed) { var _this = this; this.getSiteComboListService(testbed).subscribe(function (data) { _this.siteComboList = data; /* this.filteredSiteOptions = this.testBedForm.controls.selectedTestBed.valueChanges .pipe( startWith(''), map(value => this._filter(value)) ); */ }); }; /* private _filter(value: string): Object[] { const filterValue = value ? value.toString().toLowerCase() : ''; const retunch = this.siteComboList.filter(option => option[1].toString().toLowerCase().includes(filterValue) ); return retunch; } */ TestbedService.prototype.getMeansComboList = function (testbed) { var _this = this; this.getMeansComboListService(testbed).subscribe(function (data) { _this.meansComboList = _this.meansComboList2 = _this.meansComboList3 = _this.meansComboList4 = _this.meansComboList5 = data; _this.meanData = data; // US484-for mean drop-down data }); }; TestbedService.prototype.getTestBedList = function () { return this.http.get(this.api + '/getTestBedList').pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_10__["map"])(function (res) { return res; })); }; TestbedService.prototype.getAllCoswinData = function () { return this.http.get(this.api + '/allCoswinData').pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_10__["map"])(function (res) { return res; })); }; TestbedService.prototype.updateTestbedOrganisationList = function (testbed) { return this.http.put(this.api + '/updateTestbedOrganisationList', testbed, { observe: 'response' }); }; TestbedService.prototype.sendCoswinData = function (coswinCreate) { return this.http.post(this.api + '/createUpdateCoswin', coswinCreate, { observe: 'response' }); }; TestbedService.prototype.getAstralTestbedList = function () { return this.http.get(this.api + '/astralTestbedList').pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_10__["map"])(function (res) { return res; })); }; TestbedService.prototype.getGpsTestbedList = function () { return this.http.get(this.api + '/gpsTestbedList').pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_10__["map"])(function (res) { return res; })); }; // This method is used to handle Http calls to fetch the Testbed Id on clicking create button TestbedService.prototype.saveForFetchingTestbed = function () { return this.http.get(this.api + '/saveTestbedForGettingId').pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_10__["map"])(function (res) { return res; })); }; /* This method is used to handle http delete response to delete the record inserted for fetching ID It gets called only when the dialog box is closed without saving the record it is applicable only for create/Duplicate operations */ TestbedService.prototype.deleteEmptyTestbedCreatedforVisualise = function (testbedId) { return this.http.delete(this.api + '/deleteEmptyTestbedRecord/' + testbedId); }; TestbedService.prototype.deleteEmptyTestbedOnLoad = function () { return this.http.delete(this.api + '/deleteEmptyTestbedOnLoad/'); }; TestbedService.prototype.gpsMailSent = function (testbedId, createOrUpdate) { return this.http.post(this.api + '/gpsMailSent/?testbedId=' + testbedId + '&value=' + createOrUpdate, { observe: 'response' }); }; TestbedService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_4__["HttpClient"]]) ], TestbedService); return TestbedService; }()); /***/ }), /***/ "./src/app/administration/testbedreferential/testbedcomplement/testbedcomplement.model.ts": /*!************************************************************************************************!*\ !*** ./src/app/administration/testbedreferential/testbedcomplement/testbedcomplement.model.ts ***! \************************************************************************************************/ /*! exports provided: TestbedComplement */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TestbedComplement", function() { return TestbedComplement; }); var TestbedComplement = /** @class */ (function () { function TestbedComplement() { } return TestbedComplement; }()); /***/ }), /***/ "./src/app/administration/testbedreferential/testbedcomplement/testbedcomplement.service.ts": /*!**************************************************************************************************!*\ !*** ./src/app/administration/testbedreferential/testbedcomplement/testbedcomplement.service.ts ***! \**************************************************************************************************/ /*! exports provided: TestbedComplementService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TestbedComplementService", function() { return TestbedComplementService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); var TestbedComplementService = /** @class */ (function () { function TestbedComplementService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiURL; this.btnName = 'Common_Buttons.Add_Record'; } TestbedComplementService.prototype.getAllTestbedComplements = function (testbedcomplement) { return this.httpClient.post(this.apiURL + '/getTestbedcomplementList', testbedcomplement).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; TestbedComplementService.prototype.updateTestbedComplementOrganisationList = function (testbedcomplement) { return this.httpClient.put(this.apiURL + '/updateTestbedComplementOrganisationList', testbedcomplement, { observe: 'response' }); }; TestbedComplementService.prototype.updateTestbedComplementList = function (testbedcomplement) { return this.httpClient.put(this.apiURL + '/updateTestbedComplementList', testbedcomplement, { observe: 'response' }); }; TestbedComplementService.prototype.getGridOptions = function () { return this.gridOptions; }; TestbedComplementService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; TestbedComplementService.prototype.createTestbedComplementList = function (testbedcomplement) { return this.httpClient.post(this.apiURL + '/createTestbedComplementList', testbedcomplement, { observe: 'response' }); }; TestbedComplementService.prototype.refreshGrid = function (testbedcomplement) { var _this = this; this.getAllTestbedComplements(testbedcomplement).subscribe(function (result) { _this.gridOptions.api.setRowData(result); }); }; TestbedComplementService.prototype.setTestbedComplement = function (gridCampaign) { this.testbedcomplement = gridCampaign; if (this.testbedcomplement != null) { this.initUpdate(); } else { this.initCreate(); } }; TestbedComplementService.prototype.getUpdateTestbedComplement = function () { return this.testbedcomplement; }; TestbedComplementService.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; TestbedComplementService.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; TestbedComplementService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClient"]]) ], TestbedComplementService); return TestbedComplementService; }()); /***/ }), /***/ "./src/app/administration/testbedreferential/testbedtype/testbedtype.model.ts": /*!************************************************************************************!*\ !*** ./src/app/administration/testbedreferential/testbedtype/testbedtype.model.ts ***! \************************************************************************************/ /*! exports provided: Testbedtype */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Testbedtype", function() { return Testbedtype; }); var Testbedtype = /** @class */ (function () { function Testbedtype() { } return Testbedtype; }()); /***/ }), /***/ "./src/app/administration/testbedreferential/testbedtype/testbedtype.service.ts": /*!**************************************************************************************!*\ !*** ./src/app/administration/testbedreferential/testbedtype/testbedtype.service.ts ***! \**************************************************************************************/ /*! exports provided: TestbedtypeService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TestbedtypeService", function() { return TestbedtypeService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); var TestbedtypeService = /** @class */ (function () { function TestbedtypeService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiURL; this.btnName = 'Common_Buttons.Add_Record'; } TestbedtypeService.prototype.getAllTestbedtypes = function (testbedtype) { return this.httpClient.post(this.apiURL + '/getTestbedtypeList', testbedtype).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; TestbedtypeService.prototype.updateTestbedtypesOrganisationList = function (testbedtype) { return this.httpClient.put(this.apiURL + '/updateTestbedtypeOrganisationList', testbedtype, { observe: 'response' }); }; TestbedtypeService.prototype.updateTestbedtypesList = function (testbedtype) { return this.httpClient.put(this.apiURL + '/updateTestbedtypeList', testbedtype, { observe: 'response' }); }; TestbedtypeService.prototype.getGridOptions = function () { return this.gridOptions; }; TestbedtypeService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; TestbedtypeService.prototype.createTestbedtypeList = function (testbedtype) { return this.httpClient.post(this.apiURL + '/createTestbedtypeList', testbedtype, { observe: 'response' }); }; TestbedtypeService.prototype.refreshGrid = function (testbedtype) { var _this = this; this.getAllTestbedtypes(testbedtype).subscribe(function (result) { _this.gridOptions.api.setRowData(result); }); }; TestbedtypeService.prototype.setTestbed = function (gridCampaign) { this.testbedtype = gridCampaign; if (this.testbedtype != null) { this.initUpdate(); } else { this.initCreate(); } }; TestbedtypeService.prototype.getUpdateTestbedtype = function () { return this.testbedtype; }; TestbedtypeService.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; TestbedtypeService.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; TestbedtypeService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClient"]]) ], TestbedtypeService); return TestbedtypeService; }()); /***/ }), /***/ "./src/app/administration/testbedreferential/testbedtypecomplementassociation/testbedtypecomplementassociation.model.ts": /*!******************************************************************************************************************************!*\ !*** ./src/app/administration/testbedreferential/testbedtypecomplementassociation/testbedtypecomplementassociation.model.ts ***! \******************************************************************************************************************************/ /*! exports provided: TestbedComplementAssociation */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TestbedComplementAssociation", function() { return TestbedComplementAssociation; }); var TestbedComplementAssociation = /** @class */ (function () { function TestbedComplementAssociation() { } return TestbedComplementAssociation; }()); /***/ }), /***/ "./src/app/administration/testbedreferential/testbedtypecomplementassociation/testbedtypecomplementassociation.service.ts": /*!********************************************************************************************************************************!*\ !*** ./src/app/administration/testbedreferential/testbedtypecomplementassociation/testbedtypecomplementassociation.service.ts ***! \********************************************************************************************************************************/ /*! exports provided: TestbedComplementAssociationService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TestbedComplementAssociationService", function() { return TestbedComplementAssociationService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); var TestbedComplementAssociationService = /** @class */ (function () { function TestbedComplementAssociationService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_4__["environment"].apiURL; this.btnName = 'Common_Buttons.Add_Record'; } TestbedComplementAssociationService.prototype.getAllTestbedComplementAssociation = function (testbedcomplementassociation) { return this.httpClient.post(this.apiURL + '/getTestbedComplementAssociationList', testbedcomplementassociation).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (res) { return res; })); }; TestbedComplementAssociationService.prototype.getGridOptions = function () { return this.gridOptions; }; TestbedComplementAssociationService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; TestbedComplementAssociationService.prototype.refreshGrid = function (testbedcomplementassociation) { var _this = this; this.getAllTestbedComplementAssociation(testbedcomplementassociation).subscribe(function (result) { _this.gridOptions.api.setRowData(result); }); }; TestbedComplementAssociationService.prototype.createTestbedComplementAssociationList = function (testbedcomplementassociation) { return this.httpClient.post(this.apiURL + '/createTestbedComplementAssociationList', testbedcomplementassociation, { observe: 'response' }); }; TestbedComplementAssociationService.prototype.updateTestbedComplementAssociationList = function (testbedcomplementassociation) { return this.httpClient.put(this.apiURL + '/updateTestbedComplementAssociationList', testbedcomplementassociation, { observe: 'response' }); }; TestbedComplementAssociationService.prototype.updateTestbedComplementAssociationOrganisationList = function (testbedcomplementassociation) { return this.httpClient.put(this.apiURL + '/updateTestbedComplementAssociationOrganisationList', testbedcomplementassociation, { observe: 'response' }); }; TestbedComplementAssociationService.prototype.setTestbedComplementAssociation = function (gridLevelsAdmin) { this.testbedcomplementassociation = gridLevelsAdmin; if (this.testbedcomplementassociation != null) { this.initUpdate(); } else { this.initCreate(); } }; TestbedComplementAssociationService.prototype.getTestbedComplementAssociation = function () { return this.testbedcomplementassociation; }; TestbedComplementAssociationService.prototype.getUpdateTestbedComplementAssociation = function () { return this.testbedcomplementassociation; }; TestbedComplementAssociationService.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; TestbedComplementAssociationService.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; TestbedComplementAssociationService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]]) ], TestbedComplementAssociationService); return TestbedComplementAssociationService; }()); /***/ }), /***/ "./src/app/administration/testbedreferential/vhtechnicalparam/vhtechnicalparam.model.ts": /*!**********************************************************************************************!*\ !*** ./src/app/administration/testbedreferential/vhtechnicalparam/vhtechnicalparam.model.ts ***! \**********************************************************************************************/ /*! exports provided: VhTechnicalParam, VhTechnicalParamEnum */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VhTechnicalParam", function() { return VhTechnicalParam; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VhTechnicalParamEnum", function() { return VhTechnicalParamEnum; }); var VhTechnicalParam = /** @class */ (function () { function VhTechnicalParam() { } return VhTechnicalParam; }()); var VhTechnicalParamEnum; (function (VhTechnicalParamEnum) { VhTechnicalParamEnum["vhTechnicalParam"] = "vhTechnicalParam"; VhTechnicalParamEnum["True"] = "true"; VhTechnicalParamEnum["Uid"] = "uid"; VhTechnicalParamEnum["User"] = "User"; VhTechnicalParamEnum["OrganisationIDs"] = "organisationIDs"; })(VhTechnicalParamEnum || (VhTechnicalParamEnum = {})); /***/ }), /***/ "./src/app/administration/testbedreferential/vhtechnicalparam/vhtechnicalparam.service.ts": /*!************************************************************************************************!*\ !*** ./src/app/administration/testbedreferential/vhtechnicalparam/vhtechnicalparam.service.ts ***! \************************************************************************************************/ /*! exports provided: VhtechnicalparamService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VhtechnicalparamService", function() { return VhtechnicalparamService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); /* harmony import */ var src_app_common_common_services__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/app/common/common.services */ "./src/app/common/common.services.ts"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); var VhtechnicalparamService = /** @class */ (function () { function VhtechnicalparamService(httpClient, commonServices) { this.httpClient = httpClient; this.commonServices = commonServices; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].apiURL; this.btnName = 'Common_Buttons.Add_Record'; } VhtechnicalparamService.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; VhtechnicalparamService.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; VhtechnicalparamService.prototype.saveVhTechnicalParam = function (vhTechnicalParam) { return this.httpClient.post(this.apiURL + '/saveVhTechnicalParam', vhTechnicalParam, { observe: 'response' }); }; VhtechnicalparamService.prototype.getAllVhTechnicalParam = function (vhTechnicalParam) { return this.httpClient.post(this.apiURL + '/getAllVhTechnicalParam', vhTechnicalParam).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (res) { return res; })); }; VhtechnicalparamService.prototype.updateVhTechParamOrganisationList = function (vhTechnicalParam) { return this.httpClient.put(this.apiURL + '/updateVhTechParamOrganisationList', vhTechnicalParam, { observe: 'response' }); }; VhtechnicalparamService.prototype.refreshGrid = function (vhTechnicalParam) { var _this = this; this.getAllVhTechnicalParam(vhTechnicalParam).subscribe(function (result) { _this.gridOptions.api.setRowData(result); _this.commonServices.VhTechnicalParamList = result; }); }; VhtechnicalparamService.prototype.setVhTechnicalParam = function (vhTechParam) { this.vhTechnicalParam = vhTechParam; if (this.vhTechnicalParam != null) { this.initUpdate(); } else { this.initCreate(); } }; VhtechnicalparamService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_2__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"], src_app_common_common_services__WEBPACK_IMPORTED_MODULE_4__["CommonServices"]]) ], VhtechnicalparamService); return VhtechnicalparamService; }()); /***/ }), /***/ "./src/app/app-routing.module.ts": /*!***************************************!*\ !*** ./src/app/app-routing.module.ts ***! \***************************************/ /*! exports provided: AppRoutingModule */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AppRoutingModule", function() { return AppRoutingModule; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js"); /* harmony import */ var _shared_authorization_callback_open_id_call_back_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./shared/authorization/callback/open-id-call-back.component */ "./src/app/shared/authorization/callback/open-id-call-back.component.ts"); /* harmony import */ var _shared_error_rnlt_errors_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./shared/error/rnlt-errors.component */ "./src/app/shared/error/rnlt-errors.component.ts"); /* harmony import */ var _common_redirectaction_redirectaction_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./common/redirectaction/redirectaction.component */ "./src/app/common/redirectaction/redirectaction.component.ts"); var routes = [ // { // path: 'administration', // loadChildren: './administration/administration.module#AdministrationModule', // }, // { // path: 'help', // loadChildren: './common/help/help.module#HelpModule', // }, // { // path: 'Input', // loadChildren: './saisie/saisie.module#SaisieModule', // }, // { // path: 'MPM', // loadChildren: './mpm/mpm.module#MpmModule', // }, // { // path: 'TestMeansStatus', // loadChildren: './etat/etat.module#Etatmodule', // }, // { // path: 'ValidationSpecimen', // // component: ValidationSpecimenComponent, // loadChildren: './validation-specimen/validation-specimen.module#ValidationSpecimenModule' // }, { path: 'tp2', component: _common_redirectaction_redirectaction_component__WEBPACK_IMPORTED_MODULE_5__["RedirectactionComponent"] }, // { path: 'tp2/callback', component: OpenIdCallBackComponent }, { path: 'callback', component: _shared_authorization_callback_open_id_call_back_component__WEBPACK_IMPORTED_MODULE_3__["OpenIdCallBackComponent"] }, // { path: 'logout', component: LogoutComponent }, //{ path: '', component: OpenIdCallBackComponent }, { path: '', redirectTo: 'tp2', pathMatch: 'full' }, { path: 'openId', component: _shared_authorization_callback_open_id_call_back_component__WEBPACK_IMPORTED_MODULE_3__["OpenIdCallBackComponent"] }, { path: 'error/:errorType', component: _shared_error_rnlt_errors_component__WEBPACK_IMPORTED_MODULE_4__["RnltErrorsComponent"] }, { path: 'error', component: _shared_error_rnlt_errors_component__WEBPACK_IMPORTED_MODULE_4__["RnltErrorsComponent"] }, { path: '**', redirectTo: 'tp2' } ]; var AppRoutingModule = /** @class */ (function () { function AppRoutingModule() { console.log(' 1. AppRoutingModule '); } AppRoutingModule = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"])({ imports: [_angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterModule"].forRoot(routes, { preloadingStrategy: _angular_router__WEBPACK_IMPORTED_MODULE_2__["PreloadAllModules"] })], exports: [_angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterModule"]] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", []) ], AppRoutingModule); return AppRoutingModule; }()); /***/ }), /***/ "./src/app/app.component.css": /*!***********************************!*\ !*** ./src/app/app.component.css ***! \***********************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = ".bgcolor{\n background-color: #ffc107;\n}\n.errorClass{ \n background-color: #ffc107;\n text-align: center;\n}\n#scroll {\n position:fixed;\n right:10px;\n bottom:10px;\n cursor:pointer;\n width:50px;\n height:50px;\n background-color:#ffc107;\n text-indent:-9999px;\n display:none;\n border-radius:60px;\n z-index: 9999;\n}\n#scroll span {\n position:absolute;\n top:50%;\n left:50%;\n margin-left:-8px;\n margin-top:-12px;\n height:0;\n width:0;\n border:8px solid transparent;\n border-bottom-color:#000;\n}\n#scroll:hover {\n background-color:#f26522;\n opacity:1;filter:\"alpha(opacity=100)\";\n -ms-filter:\"alpha(opacity=100)\";\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvYXBwLmNvbXBvbmVudC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7SUFDSSx5QkFBeUI7QUFDN0I7QUFDQTtJQUNJLHlCQUF5QjtJQUN6QixrQkFBa0I7QUFDdEI7QUFFQTtJQUNJLGNBQWM7SUFDZCxVQUFVO0lBQ1YsV0FBVztJQUNYLGNBQWM7SUFDZCxVQUFVO0lBQ1YsV0FBVztJQUNYLHdCQUF3QjtJQUN4QixtQkFBbUI7SUFDbkIsWUFBWTtJQUdaLGtCQUFrQjtJQUNsQixhQUFhO0FBQ2pCO0FBQ0E7SUFDSSxpQkFBaUI7SUFDakIsT0FBTztJQUNQLFFBQVE7SUFDUixnQkFBZ0I7SUFDaEIsZ0JBQWdCO0lBQ2hCLFFBQVE7SUFDUixPQUFPO0lBQ1AsNEJBQTRCO0lBQzVCLHdCQUF3QjtBQUM1QjtBQUNBO0lBQ0ksd0JBQXdCO0lBQ3hCLFNBQVMsQ0FBQywyQkFBMkI7SUFDckMsK0JBQStCO0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tcy1maWx0ZXI6XCJhbHBoYShvcGFjaXR5PTEwMClcIjtcbn0iXX0= */" /***/ }), /***/ "./src/app/app.component.html": /*!************************************!*\ !*** ./src/app/app.component.html ***! \************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "\n\n\n\n" /***/ }), /***/ "./src/app/app.component.ts": /*!**********************************!*\ !*** ./src/app/app.component.ts ***! \**********************************/ /*! exports provided: AppComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AppComponent", function() { return AppComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js"); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/fesm5/ngx-translate-core.js"); /* harmony import */ var _common_message_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./common/message.service */ "./src/app/common/message.service.ts"); /* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/material/dialog */ "./node_modules/@angular/material/esm5/dialog.es5.js"); /* harmony import */ var _common_agreement_popup_agreement_popup_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./common/agreement-popup/agreement-popup.component */ "./src/app/common/agreement-popup/agreement-popup.component.ts"); /* harmony import */ var _common_agreement_popup_agreement_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./common/agreement-popup/agreement.service */ "./src/app/common/agreement-popup/agreement.service.ts"); /* harmony import */ var _common_agreement_popup_users_model__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./common/agreement-popup/users-model */ "./src/app/common/agreement-popup/users-model.ts"); /* harmony import */ var _common_common_button_organisation_map_btn_organisation_map_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./common/common-button/organisation-map-btn/organisation-map.service */ "./src/app/common/common-button/organisation-map-btn/organisation-map.service.ts"); /* harmony import */ var _common_agreement_popup_user_role_model__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./common/agreement-popup/user-role-model */ "./src/app/common/agreement-popup/user-role-model.ts"); /* harmony import */ var _common_agreement_popup_role_model__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./common/agreement-popup/role-model */ "./src/app/common/agreement-popup/role-model.ts"); /* harmony import */ var _common_userIdleTimeOut_user_idle_time_out_service__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./common/userIdleTimeOut/user-idle-time-out.service */ "./src/app/common/userIdleTimeOut/user-idle-time-out.service.ts"); /* harmony import */ var _common_spinner_loading_spinner_loading_service__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./common/spinner-loading/spinner-loading.service */ "./src/app/common/spinner-loading/spinner-loading.service.ts"); /* harmony import */ var _common_snackbar_snackbar_component_service__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./common/snackbar/snackbar.component.service */ "./src/app/common/snackbar/snackbar.component.service.ts"); /* harmony import */ var _common_interceptor_http_cancel_service__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./common/interceptor/http-cancel.service */ "./src/app/common/interceptor/http-cancel.service.ts"); /* harmony import */ var _common_help_preferences_preferences_service__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./common/help/preferences/preferences.service */ "./src/app/common/help/preferences/preferences.service.ts"); /* harmony import */ var _common_spinner_loading_pannel_loading_message_service__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./common/spinner-loading/pannel-loading-message.service */ "./src/app/common/spinner-loading/pannel-loading-message.service.ts"); /* harmony import */ var _shared_authorization_authorization_service__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./shared/authorization/authorization.service */ "./src/app/shared/authorization/authorization.service.ts"); /* harmony import */ var angular_oauth2_oidc__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! angular-oauth2-oidc */ "./node_modules/angular-oauth2-oidc/fesm2015/angular-oauth2-oidc.js"); /* harmony import */ var _app_shared_authorization_config_authConfig__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../app/shared/authorization/config/authConfig */ "./src/app/shared/authorization/config/authConfig.ts"); var AppComponent = /** @class */ (function () { function AppComponent(router, translate, messageService, agreementService, dialog, orgMapService, userIdleTimeOutService, spinnerLoadingService, pannelLoadingMessageService, snackbarService, httpCancelService, preferenceService, authorizationService, oauthService) { var _this = this; this.router = router; this.translate = translate; this.messageService = messageService; this.agreementService = agreementService; this.dialog = dialog; this.orgMapService = orgMapService; this.userIdleTimeOutService = userIdleTimeOutService; this.spinnerLoadingService = spinnerLoadingService; this.pannelLoadingMessageService = pannelLoadingMessageService; this.snackbarService = snackbarService; this.httpCancelService = httpCancelService; this.preferenceService = preferenceService; this.authorizationService = authorizationService; this.oauthService = oauthService; this.showloading = true; this.showSpinner = true; this.showPannelSpinner = false; this.navigationSpinner = false; this.showHeader = false; this.showDbError = false; this.showAgreementPopup = true; this.title = 'TPM2'; this.configureOpenId(); console.log('oidc app component .59.'); //this.oauthService.tokenValidationHandler = new JwksValidationHandler(); //this.authorizationService.configureOidcAndLogin(); // TODO: To run local only uncomment this block --- Start // sessionStorage.setItem('uid', 'z026865'); // sessionStorage.setItem('userName', 'Test'); //sessionStorage.setItem('role', JSON.stringify(['tpm2-admin', 'tpm2-lead', 'tpm2-deatm'])); //console.log(' 75 app.component role...'+sessionStorage.getItem('role')); // sessionStorage.setItem('roleAction', ''); //sessionStorage.setItem('organisationIDs', JSON.stringify([1,2])); // sessionStorage.setItem('onlyRoles', 'true'); // TODO: To run local only uncomment this block --- End // for language ---- Start translate.addLangs(['en', 'fr']); var browserLang = translate.getBrowserLang(); translate.use(browserLang.match(/en|fr/) ? browserLang : 'en'); // for language ---- End var isOrgIdEmpty = sessionStorage.getItem('isOrgIdEmpty'); console.log('isOrgIdEmpty ----> ', isOrgIdEmpty); if (isOrgIdEmpty === 'true') { this.showHeader = false; this.snackbarService.showSnackBar('Org_Access.errMsg', 'F'); } setTimeout(function () { _this.subscription = _this.messageService.getMessage().subscribe(function (message) { if (message === 'false') { _this.showloading = false; //this.showAgreement(); } else if (message === 'logout') { _this.showloading = true; _this.showSpinner = false; _this.router.navigate(['/logout']); // event.preventDefault(); } else if (sessionStorage.getItem('uid') && sessionStorage.getItem('role')) { _this.showloading = false; //this.showAgreement(); } }); }, 500); this.loadingSubscription = this.spinnerLoadingService.getMessage().subscribe(function (message) { setTimeout(function () { if (message === 'show') { _this.showSpinner = true; } else { _this.showSpinner = false; } }); }); this.pannelSubscription = this.pannelLoadingMessageService.getMessage().subscribe(function (message) { setTimeout(function () { if (message === 'show') { _this.showPannelSpinner = true; } else { _this.showPannelSpinner = false; } }); }); } AppComponent.prototype.ngOnInit = function () { console.log('oidc app component onint .128.'); this.userIdleTimeOutService.setUserIdleCheck(); var curl = window.location.href; var strUrlArr = curl.split('/'); console.log('oidc app component .139 strUrlArr...........' + strUrlArr); if (strUrlArr.length > 4 && !strUrlArr[4].startsWith('callback')) { this.router.navigate(['/tp2']); } for (var i = 0; i < strUrlArr.length; i++) { console.log(' strUrlArr = ' + i + ' ' + strUrlArr[i]); } console.log('oidc app component .146 before callback.............'); // if (strUrlArr.length > 4 && strUrlArr[4].startsWith('callback') && sessionStorage.getItem('loggedIn')!='true') { // // This is for redirect to home page -- local // // this.router.navigate(['tp2']); // // This is for redirect to home page -- INT, QUA, PROD, Oper // // sessionStorage.setItem('loggedIn','true'); // console.log('oidc app component .inside 157 before callback.............'); // this.router.navigate(['/tp2']); // } // this.router.events.subscribe(event => { // if (event instanceof RouteConfigLoadStart) { // this.navigationSpinner = true; // this.resetUserIdleSession(); // } else if (event instanceof RouteConfigLoadEnd) { // this.navigationSpinner = false; // this.resetUserIdleSession(); // } // /* if (event instanceof ActivationEnd) { // console.log('calling canceling request'); // this.httpCancelService.cancelPendingRequests(); // } */ // }); }; AppComponent.prototype.showAgreement = function () { var _this = this; if (sessionStorage.getItem('uid') && sessionStorage.getItem('role')) { this.showDbError = false; var sessionRoles_1 = JSON.parse(sessionStorage.getItem('role')) || []; var userIpn = sessionStorage.getItem('uid'); var user_1 = new _common_agreement_popup_users_model__WEBPACK_IMPORTED_MODULE_9__["UsersModel"](); var userRole_1 = []; var userOrgMap_1 = []; var orglabel_1 = []; this.orgMapService.getOrganisationList().subscribe(function (data) { var orgMap = data; if (sessionRoles_1) { sessionRoles_1.forEach(function (role) { var roleVal = role.substring(5); var itemArr = orgMap.filter(function (org) { return org.label.toLowerCase() !== roleVal; }); if (itemArr.length < orgMap.length && userOrgMap_1 && userOrgMap_1.indexOf(itemArr[0].id) <= 0) { userOrgMap_1.push(itemArr[0].id); orglabel_1.push(role); } else if (orglabel_1.indexOf(role) <= 0 && userRole_1.find(function (roleTest) { return roleTest.label === role; }) === undefined) { var roleMap = new _common_agreement_popup_role_model__WEBPACK_IMPORTED_MODULE_12__["roleModel"](); roleMap.label = role; userRole_1.push(roleMap); } }); sessionStorage.setItem('OrganizationMap', userOrgMap_1.toString()); _this.agreementService.getUserByIpn(user_1).subscribe(function (res) { if (res.status === 200 && res.body.length > 0) { user_1 = res.body[0]; if (!user_1.alreadyConn) { _this.openDialog(user_1, userRole_1); } else { _this.userModel = user_1; var usersRoleModel = new _common_agreement_popup_user_role_model__WEBPACK_IMPORTED_MODULE_11__["UsersRoleModel"](); usersRoleModel.users = user_1; usersRoleModel.role = userRole_1; _this.agreementService.updateUserRoles(usersRoleModel).subscribe(function (res) { console.log(res); }); _this.showHeader = true; } _this.preferenceService.setUserPreferences(user_1); } else if (res.status === 200 && res.body.length === 0) { _this.openDialog(user_1, userRole_1); } }, function (error) { return _this.showDbError = true; }); } }, function (error) { return _this.showDbError = true; }); user_1.ipn = userIpn; user_1.organisationId = userOrgMap_1; sessionStorage.setItem('OrganizationMap', userOrgMap_1.toString()); } }; AppComponent.prototype.isOnlyRolesExists = function () { var roleExists = sessionStorage.getItem('onlyRoles'); if (roleExists === 'true') { return true; } return false; }; AppComponent.prototype.ngOnDestroy = function () { // unsubscribe to ensure no memory leaks this.subscription.unsubscribe(); this.loadingSubscription.unsubscribe(); this.pannelSubscription.unsubscribe(); this.userIdleTimeOutService.stopWatching(); }; /** * Configuration of OpenId / ARCA */ AppComponent.prototype.configureOpenId = function () { for (var key in _environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].redirectUrls) { if (key) { console.log('..257 key...' + key); console.log('..258 .window.location.origin. ' + window.location.origin); console.log('..259.window.location.origin.search(key)...' + window.location.origin.search(key)); console.log('..260.!environment.authConfig.redirectUri....' + !_environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].authConfig.redirectUri); if (window.location.origin.search(key) !== -1 && !_environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].redirectUri) { this.setEnvironmentName(key); _environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].redirectUri = _environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].redirectUrls[key]; _app_shared_authorization_config_authConfig__WEBPACK_IMPORTED_MODULE_21__["authConfig"].redirectUri = _environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].redirectUrls[key]; _environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].silentRefreshRedirectUri = _environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].silentRefreshUrls[key]; _app_shared_authorization_config_authConfig__WEBPACK_IMPORTED_MODULE_21__["authConfig"].silentRefreshRedirectUri = _environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].silentRefreshUrls[key]; _environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].issuer = _environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].issuerUrls[key]; _app_shared_authorization_config_authConfig__WEBPACK_IMPORTED_MODULE_21__["authConfig"].issuer = _environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].issuerUrls[key]; _environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].loginUrl = _environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].loginUrls[key]; _app_shared_authorization_config_authConfig__WEBPACK_IMPORTED_MODULE_21__["authConfig"].loginUrl = _environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].loginUrls[key]; _environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].userinfoEndpoint = _environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].userinfoEndpoints[key]; _app_shared_authorization_config_authConfig__WEBPACK_IMPORTED_MODULE_21__["authConfig"].userinfoEndpoint = _environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].userinfoEndpoints[key]; _environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].clientId = _environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].clientIds[key]; _app_shared_authorization_config_authConfig__WEBPACK_IMPORTED_MODULE_21__["authConfig"].clientId = _environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].clientIds[key]; } } } console.log('...configure open id 263...' + _environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].redirectUri); }; AppComponent.prototype.openDialog = function (user, userRole) { var _this = this; if (this.showAgreementPopup) { this.showAgreementPopup = false; var usersRoleModel = new _common_agreement_popup_user_role_model__WEBPACK_IMPORTED_MODULE_11__["UsersRoleModel"](); usersRoleModel.users = user; usersRoleModel.role = userRole; var dialogRef = this.dialog.open(_common_agreement_popup_agreement_popup_component__WEBPACK_IMPORTED_MODULE_7__["AgreementPopupComponent"], { width: '90%', data: usersRoleModel, disableClose: true }); dialogRef.afterClosed().subscribe(function (result) { _this.showHeader = true; _this.showAgreementPopup = false; _this.showDbError = false; }); } }; // for userIdle check ---- Start AppComponent.prototype.refreshUserState = function () { this.resetUserIdleSession(); }; AppComponent.prototype.onkeydown = function (event) { this.resetUserIdleSession(); }; AppComponent.prototype.resetUserIdleTimeCheck = function () { this.resetUserIdleSession(); }; AppComponent.prototype.resetUserIdleSession = function () { var restTimerCheck = sessionStorage.getItem('restTimerCheck'); if (restTimerCheck && restTimerCheck === 'true') { sessionStorage.setItem('userIdelchk', 'true'); // this.userIdleTimeOutService.stop(); } }; // for userIdle check ---- End AppComponent.prototype.setEnvironmentName = function (key) { if (key === 'int.tp2.dev') { sessionStorage.setItem('envName', 'DEV'); } else if (key === 'qua.tp2.dev') { sessionStorage.setItem('envName', 'QUA'); } else if (key === 'sta.tp2.dev') { sessionStorage.setItem('envName', 'STA'); } else if (key === 're7.tp2.re7') { sessionStorage.setItem('envName', 'RE7'); } else if (key === 'ope.tp2.ope') { sessionStorage.setItem('envName', 'OPE'); } else { sessionStorage.setItem('envName', 'local'); } }; tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["HostListener"])('mouseup', ['$event']), Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["HostListener"])('mousemove'), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:type", Function), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", []), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:returntype", void 0) ], AppComponent.prototype, "refreshUserState", null); tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["HostListener"])('keydown', ['$event']), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:type", Function), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [Object]), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:returntype", void 0) ], AppComponent.prototype, "onkeydown", null); tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["HostListener"])('document:keyup', ['$event']), Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["HostListener"])('document:click', ['$event']), Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["HostListener"])('document:wheel', ['$event']), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:type", Function), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", []), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:returntype", void 0) ], AppComponent.prototype, "resetUserIdleTimeCheck", null); AppComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'app-root', template: __webpack_require__(/*! ./app.component.html */ "./src/app/app.component.html"), styles: [__webpack_require__(/*! ./app.component.css */ "./src/app/app.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_3__["TranslateService"], _common_message_service__WEBPACK_IMPORTED_MODULE_4__["MessageService"], _common_agreement_popup_agreement_service__WEBPACK_IMPORTED_MODULE_8__["AgreementService"], _angular_material_dialog__WEBPACK_IMPORTED_MODULE_6__["MatDialog"], _common_common_button_organisation_map_btn_organisation_map_service__WEBPACK_IMPORTED_MODULE_10__["OrganisationMapService"], _common_userIdleTimeOut_user_idle_time_out_service__WEBPACK_IMPORTED_MODULE_13__["UserIdleTimeOutService"], _common_spinner_loading_spinner_loading_service__WEBPACK_IMPORTED_MODULE_14__["SpinnerLoadingService"], _common_spinner_loading_pannel_loading_message_service__WEBPACK_IMPORTED_MODULE_18__["PannelLoadingMessageService"], _common_snackbar_snackbar_component_service__WEBPACK_IMPORTED_MODULE_15__["SnackBarService"], _common_interceptor_http_cancel_service__WEBPACK_IMPORTED_MODULE_16__["HttpCancelService"], _common_help_preferences_preferences_service__WEBPACK_IMPORTED_MODULE_17__["PreferencesService"], _shared_authorization_authorization_service__WEBPACK_IMPORTED_MODULE_19__["AuthorizationService"], angular_oauth2_oidc__WEBPACK_IMPORTED_MODULE_20__["OAuthService"]]) ], AppComponent); return AppComponent; }()); /***/ }), /***/ "./src/app/app.module.ts": /*!*******************************!*\ !*** ./src/app/app.module.ts ***! \*******************************/ /*! exports provided: tokenGetter, authHttpServiceFactory, createLoader, AppModule */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "tokenGetter", function() { return tokenGetter; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "authHttpServiceFactory", function() { return authHttpServiceFactory; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createLoader", function() { return createLoader; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AppModule", function() { return AppModule; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/platform-browser */ "./node_modules/@angular/platform-browser/fesm5/platform-browser.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var ag_grid_angular__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ag-grid-angular */ "./node_modules/ag-grid-angular/main.js"); /* harmony import */ var ag_grid_angular__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(ag_grid_angular__WEBPACK_IMPORTED_MODULE_4__); /* harmony import */ var _ngx_translate_http_loader__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ngx-translate/http-loader */ "./node_modules/@ngx-translate/http-loader/fesm5/ngx-translate-http-loader.js"); /* harmony import */ var _app_routing_module__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./app-routing.module */ "./src/app/app-routing.module.ts"); /* harmony import */ var _app_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./app.component */ "./src/app/app.component.ts"); /* harmony import */ var _auth_callback_callback_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./auth/callback/callback.component */ "./src/app/auth/callback/callback.component.ts"); /* harmony import */ var angular_oauth2_oidc__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! angular-oauth2-oidc */ "./node_modules/angular-oauth2-oidc/fesm2015/angular-oauth2-oidc.js"); /* harmony import */ var angular2_jwt__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! angular2-jwt */ "./node_modules/angular2-jwt/angular2-jwt.js"); /* harmony import */ var angular2_jwt__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(angular2_jwt__WEBPACK_IMPORTED_MODULE_10__); /* harmony import */ var _angular_http__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/http */ "./node_modules/@angular/http/fesm5/http.js"); /* harmony import */ var _auth_openid_openid_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./auth/openid/openid.component */ "./src/app/auth/openid/openid.component.ts"); /* harmony import */ var _common_commontpm_module__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./common/commontpm.module */ "./src/app/common/commontpm.module.ts"); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/fesm5/forms.js"); /* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @angular/material/dialog */ "./node_modules/@angular/material/esm5/dialog.es5.js"); /* harmony import */ var _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @angular/platform-browser/animations */ "./node_modules/@angular/platform-browser/fesm5/animations.js"); /* harmony import */ var _common_interceptor_httpconfig_interceptor__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./common/interceptor/httpconfig.interceptor */ "./src/app/common/interceptor/httpconfig.interceptor.ts"); /* harmony import */ var angular_user_idle__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! angular-user-idle */ "./node_modules/angular-user-idle/fesm5/angular-user-idle.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _angular_material__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @angular/material */ "./node_modules/@angular/material/esm5/material.es5.js"); /* harmony import */ var _common_piwik_piwik_config_resolver__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./common/piwik/piwik.config.resolver */ "./src/app/common/piwik/piwik.config.resolver.ts"); /* harmony import */ var _common_inner_page_loading_inner_page_loading_component__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./common/inner-page-loading/inner-page-loading.component */ "./src/app/common/inner-page-loading/inner-page-loading.component.ts"); /* harmony import */ var angular_dual_listbox__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! angular-dual-listbox */ "./node_modules/angular-dual-listbox/fesm5/angular-dual-listbox.js"); /* harmony import */ var _auth_silent_refresh_silent_refresh_component__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./auth/silent-refresh/silent-refresh.component */ "./src/app/auth/silent-refresh/silent-refresh.component.ts"); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/fesm5/common.js"); /* harmony import */ var _shared_shared_module__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./shared/shared.module */ "./src/app/shared/shared.module.ts"); /* harmony import */ var _shared_error_rnlt_errors_module__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./shared/error/rnlt-errors.module */ "./src/app/shared/error/rnlt-errors.module.ts"); /* harmony import */ var _shared_authorization_authorization_module__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./shared/authorization/authorization.module */ "./src/app/shared/authorization/authorization.module.ts"); function tokenGetter() { return localStorage.getItem('access_token'); } function authHttpServiceFactory(http) { var authHttp = new angular2_jwt__WEBPACK_IMPORTED_MODULE_10__["AuthHttp"](new angular2_jwt__WEBPACK_IMPORTED_MODULE_10__["AuthConfig"]({ tokenName: 'access_token', noClientCheck: true, tokenGetter: (function () { return sessionStorage.getItem('access_token'); }), }), http); return authHttp; } function createLoader(http) { return new _ngx_translate_http_loader__WEBPACK_IMPORTED_MODULE_5__["TranslateHttpLoader"](http); } var AppModule = /** @class */ (function () { function AppModule() { } AppModule = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_2__["NgModule"])({ declarations: [ _app_component__WEBPACK_IMPORTED_MODULE_7__["AppComponent"], _auth_openid_openid_component__WEBPACK_IMPORTED_MODULE_12__["OpenidComponent"], _auth_callback_callback_component__WEBPACK_IMPORTED_MODULE_8__["CallbackComponent"], _common_inner_page_loading_inner_page_loading_component__WEBPACK_IMPORTED_MODULE_22__["InnerPageLoadingComponent"], _auth_silent_refresh_silent_refresh_component__WEBPACK_IMPORTED_MODULE_24__["SilentRefreshComponent"], ], imports: [ _common_commontpm_module__WEBPACK_IMPORTED_MODULE_13__["CommontpmModule"], _angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__["BrowserModule"], _app_routing_module__WEBPACK_IMPORTED_MODULE_6__["AppRoutingModule"], angular_oauth2_oidc__WEBPACK_IMPORTED_MODULE_9__["OAuthModule"].forRoot(), _angular_forms__WEBPACK_IMPORTED_MODULE_14__["FormsModule"], _angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClientModule"], ag_grid_angular__WEBPACK_IMPORTED_MODULE_4__["AgGridModule"].withComponents([]), _angular_http__WEBPACK_IMPORTED_MODULE_11__["HttpModule"], _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_16__["BrowserAnimationsModule"], _angular_forms__WEBPACK_IMPORTED_MODULE_14__["ReactiveFormsModule"], angular_user_idle__WEBPACK_IMPORTED_MODULE_18__["UserIdleModule"].forRoot({ idle: src_environments_environment__WEBPACK_IMPORTED_MODULE_19__["environment"].userIdleConfig.idle, timeout: src_environments_environment__WEBPACK_IMPORTED_MODULE_19__["environment"].userIdleConfig.timeout, ping: src_environments_environment__WEBPACK_IMPORTED_MODULE_19__["environment"].userIdleConfig.ping }), angular_dual_listbox__WEBPACK_IMPORTED_MODULE_23__["AngularDualListBoxModule"], _shared_shared_module__WEBPACK_IMPORTED_MODULE_26__["SharedModule"], _shared_authorization_authorization_module__WEBPACK_IMPORTED_MODULE_28__["AuthorizationModule"].forRoot(), _shared_error_rnlt_errors_module__WEBPACK_IMPORTED_MODULE_27__["RnltErrorsModule"], ], providers: [ { provide: angular2_jwt__WEBPACK_IMPORTED_MODULE_10__["AuthHttp"], useFactory: authHttpServiceFactory, deps: [_angular_http__WEBPACK_IMPORTED_MODULE_11__["Http"], _angular_http__WEBPACK_IMPORTED_MODULE_11__["RequestOptions"]] }, // OpenIdService, // { provide: ValidationHandler, useClass: JwksValidationHandler }, // { provide: OAuthModuleConfig, useValue: oAuthModuleConfig }, { provide: _angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HTTP_INTERCEPTORS"], useClass: _common_interceptor_httpconfig_interceptor__WEBPACK_IMPORTED_MODULE_17__["HttpConfigInterceptor"], multi: true }, { provide: _angular_material_dialog__WEBPACK_IMPORTED_MODULE_15__["MatDialogTitle"], useValue: {} }, { provide: _angular_material_dialog__WEBPACK_IMPORTED_MODULE_15__["MatDialogRef"], useValue: {} }, { provide: _angular_material_dialog__WEBPACK_IMPORTED_MODULE_15__["MAT_DIALOG_DATA"], useValue: [] }, { provide: _angular_material__WEBPACK_IMPORTED_MODULE_20__["MAT_SNACK_BAR_DATA"], useValue: [] }, { provide: _angular_material__WEBPACK_IMPORTED_MODULE_20__["MatSnackBarRef"], useValue: {} }, _common_piwik_piwik_config_resolver__WEBPACK_IMPORTED_MODULE_21__["PiwikConfigResolver"], _angular_common__WEBPACK_IMPORTED_MODULE_25__["DatePipe"] ], bootstrap: [_app_component__WEBPACK_IMPORTED_MODULE_7__["AppComponent"]], }) ], AppModule); return AppModule; }()); /***/ }), /***/ "./src/app/auth/auth.Config.ts": /*!*************************************!*\ !*** ./src/app/auth/auth.Config.ts ***! \*************************************/ /*! exports provided: authConfig */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "authConfig", function() { return authConfig; }); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); var authConfig = { // // Url of the Identity Provider issuer: src_environments_environment__WEBPACK_IMPORTED_MODULE_0__["environment"].authConfig.loginUrl, loginUrl: src_environments_environment__WEBPACK_IMPORTED_MODULE_0__["environment"].authConfig.loginUrl, oidc: true, // // URL of the SPA to redirect the user to after login redirectUri: src_environments_environment__WEBPACK_IMPORTED_MODULE_0__["environment"].authConfig.redirectUri, // // The SPA's id. The SPA is registered with this id at the auth-server clientId: src_environments_environment__WEBPACK_IMPORTED_MODULE_0__["environment"].authConfig.clientId, // // set the scope for the permissions the client should request // // The first three are defined by OIDC. The 4th is a usecase-specific one scope: src_environments_environment__WEBPACK_IMPORTED_MODULE_0__["environment"].authConfig.scope, logoutUrl: src_environments_environment__WEBPACK_IMPORTED_MODULE_0__["environment"].authConfig.logoutUrl }; /***/ }), /***/ "./src/app/auth/callback/callback.component.css": /*!******************************************************!*\ !*** ./src/app/auth/callback/callback.component.css ***! \******************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2F1dGgvY2FsbGJhY2svY2FsbGJhY2suY29tcG9uZW50LmNzcyJ9 */" /***/ }), /***/ "./src/app/auth/callback/callback.component.html": /*!*******************************************************!*\ !*** ./src/app/auth/callback/callback.component.html ***! \*******************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "" /***/ }), /***/ "./src/app/auth/callback/callback.component.ts": /*!*****************************************************!*\ !*** ./src/app/auth/callback/callback.component.ts ***! \*****************************************************/ /*! exports provided: CallbackComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CallbackComponent", function() { return CallbackComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js"); /* harmony import */ var _open_id_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../open-id.service */ "./src/app/auth/open-id.service.ts"); /* harmony import */ var src_app_common_message_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/app/common/message.service */ "./src/app/common/message.service.ts"); var CallbackComponent = /** @class */ (function () { function CallbackComponent(router, openIdService, messageService) { this.router = router; this.openIdService = openIdService; this.messageService = messageService; } CallbackComponent.prototype.ngOnInit = function () { this.openIdService.getUserinfo(); }; CallbackComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'callback', template: __webpack_require__(/*! ./callback.component.html */ "./src/app/auth/callback/callback.component.html"), styles: [__webpack_require__(/*! ./callback.component.css */ "./src/app/auth/callback/callback.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"], _open_id_service__WEBPACK_IMPORTED_MODULE_3__["OpenIdService"], src_app_common_message_service__WEBPACK_IMPORTED_MODULE_4__["MessageService"]]) ], CallbackComponent); return CallbackComponent; }()); /***/ }), /***/ "./src/app/auth/open-id.service.ts": /*!*****************************************!*\ !*** ./src/app/auth/open-id.service.ts ***! \*****************************************/ /*! exports provided: OpenIdService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "OpenIdService", function() { return OpenIdService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var angular2_jwt__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! angular2-jwt */ "./node_modules/angular2-jwt/angular2-jwt.js"); /* harmony import */ var angular2_jwt__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(angular2_jwt__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var angular_oauth2_oidc__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! angular-oauth2-oidc */ "./node_modules/angular-oauth2-oidc/fesm2015/angular-oauth2-oidc.js"); /* harmony import */ var _angular_http__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/http */ "./node_modules/@angular/http/fesm5/http.js"); /* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js"); /* harmony import */ var rxjs_Rx__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! rxjs/Rx */ "./node_modules/rxjs-compat/_esm5/Rx.js"); /* harmony import */ var _common_message_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../common/message.service */ "./src/app/common/message.service.ts"); /* harmony import */ var _common_common_button_organisation_map_btn_organisation_map_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../common/common-button/organisation-map-btn/organisation-map.service */ "./src/app/common/common-button/organisation-map-btn/organisation-map.service.ts"); /* harmony import */ var _common_common_button_organisation_map_btn_organisation_map_model__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../common/common-button/organisation-map-btn/organisation-map.model */ "./src/app/common/common-button/organisation-map-btn/organisation-map.model.ts"); /* harmony import */ var _common_roles_roles_model__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../common/roles/roles.model */ "./src/app/common/roles/roles.model.ts"); /* harmony import */ var _common_roles_roles_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../common/roles/roles.service */ "./src/app/common/roles/roles.service.ts"); /* harmony import */ var _common_snackbar_snackbar_component_service__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../common/snackbar/snackbar.component.service */ "./src/app/common/snackbar/snackbar.component.service.ts"); /* harmony import */ var _common_common_services__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../common/common.services */ "./src/app/common/common.services.ts"); /* harmony import */ var _auth_Config__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./auth.Config */ "./src/app/auth/auth.Config.ts"); var OpenIdService = /** @class */ (function () { function OpenIdService(authHttp, router, route, oauthService, messageService, orgMapService, rolesService, commonService, snackbarService) { this.authHttp = authHttp; this.router = router; this.route = route; this.oauthService = oauthService; this.messageService = messageService; this.orgMapService = orgMapService; this.rolesService = rolesService; this.commonService = commonService; this.snackbarService = snackbarService; // SET OAUTH CONFIGURATION /* this.oauthService.loginUrl = environment.authConfig.loginUrl; this.oauthService.redirectUri = environment.authConfig.redirectUri; this.oauthService.clientId = environment.authConfig.clientId; this.oauthService.scope = environment.authConfig.scope; this.oauthService.oidc = true; this.oauthService.setStorage(sessionStorage); this.oauthService.logoutUrl = environment.authConfig.logoutUrl; this.oauthService.tryLogin({}); */ this.oauthService.configure(_auth_Config__WEBPACK_IMPORTED_MODULE_15__["authConfig"]); // this.oauthService.tokenValidationHandler = new JwksValidationHandler(); // Login-Url this.oauthService.loginUrl = _environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].authConfig.loginUrl; // Id-Provider? // URL of the SPA to redirect the user to after login this.oauthService.redirectUri = _environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].authConfig.redirectUri; // The SPA's id. Register SPA with this id at the auth-server this.oauthService.clientId = _environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].authConfig.clientId; // set the scope for the permissions the client should request this.oauthService.scope = _environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].authConfig.scope; this.oauthService.skipIssuerCheck = true; // set to true, to receive also an id_token via OpenId Connect (OIDC) in addition to the // OAuth2-based access_token this.oauthService.oidc = true; // Use setStorage to use sessionStorage or another implementation of the TS-type Storage // instead of localStorage this.oauthService.setStorage(sessionStorage); // To also enable single-sign-out set the url for your auth-server's logout-endpoint here this.oauthService.logoutUrl = _environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].authConfig.logoutUrl; this.oauthService.setupAutomaticSilentRefresh(); // This method just tries to parse the token(s) within the url when // the auth-server redirects the user back to the web-app // It dosn't send the user the the login page this.oauthService.tryLogin(); // this.configure(); // this.oauthService.initLoginFlow(); } // private configure() { // this.oauthService.configure(authConfig); // this.oauthService.tokenValidationHandler = new JwksValidationHandler(); // this.oauthService.loadDiscoveryDocumentAndLogin(); // } OpenIdService.prototype.noValidation = function () { this.router.navigate(['/tp2']); }; OpenIdService.prototype.isAuthenticated = function () { console.log('oauthService.isAuthenticated()...............'); return this.oauthService.getIdentityClaims(); }; OpenIdService.prototype.login = function () { console.log('oauthService.login()...............'); return this.oauthService.initImplicitFlow(); }; OpenIdService.prototype.logout = function () { console.log('logout method...............'); sessionStorage.clear(); this.messageService.sendMessage('logout'); this.oauthService.logoutUrl = _environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].authConfig.logoutUrl; this.oauthService.logOut(); }; OpenIdService.prototype.initOpenIdAuthent = function () { console.log('isAuthenticated method...............'); if (!this.isAuthenticated()) { console.log('login method......if.........'); sessionStorage.setItem('redirectCheck', ''); this.login(); } else { // if token expired, we login again to get a new token if (this.isAuthenticated().exp * 1000 < new Date().getTime()) { console.log('login method......else.........token expired'); sessionStorage.setItem('redirectCheck', window.location.origin); this.login(); } else { this.router.navigate(['tp2']); } } }; OpenIdService.prototype.getRolesArr = function () { var _this = this; this.rolesArr = []; var sessionRoles = JSON.parse(sessionStorage.getItem('role')) || []; sessionRoles.forEach(function (role) { var roleVal = role.substring(5).toUpperCase(); _this.rolesArr.push(role); }); return this.rolesArr; }; OpenIdService.prototype.getOrganisationRegId = function () { var _this = this; var rolesArr = []; var organisationId; // sessionStorage.setItem('roleAction', ''); var sessionRoles = JSON.parse(sessionStorage.getItem('role')) || []; sessionRoles.forEach(function (role) { var roleVal = role.substring(5).toUpperCase(); rolesArr.push(roleVal); }); var organisationMapModel = new _common_common_button_organisation_map_btn_organisation_map_model__WEBPACK_IMPORTED_MODULE_10__["OrganisationMapModel"](); organisationMapModel.organisationNames = rolesArr; this.orgMapService.getOrganisationRegId(organisationMapModel).subscribe(function (response) { organisationId = response; if (response === undefined || response == null) { sessionStorage.setItem('isOrgIdEmpty', 'true'); } else { sessionStorage.setItem('isOrgIdEmpty', 'false'); } sessionStorage.setItem('organisationIDs', JSON.stringify(organisationId)); _this.orgMapService.setOrganizationIds(organisationId); }); }; OpenIdService.prototype.getRolesNames = function () { var roles = new _common_roles_roles_model__WEBPACK_IMPORTED_MODULE_11__["Roles"](); roles.rolesList = this.getRolesArr(); this.rolesService.isOnlyRolesExists(roles).subscribe(function (response) { if (response) { sessionStorage.setItem('onlyRoles', 'true'); } else { sessionStorage.setItem('onlyRoles', 'false'); } }); }; OpenIdService.prototype.getUserinfo = function () { // comment session before commit -- only local reference start // sessionStorage.setItem('access_token', // tslint:disable-next-line: max-line-length // 'eyJraWQiOiJuYW0tOCIsInR5cCI6IkpXVCIsImFsZyI6IlJTMjU2In0.eyJpc3MiOiJodHRwczovL2lkcC5yZW5hdWx0LmNvbS9uaWRwL29hdXRoL25hbSIsImp0aSI6IjlkYjg2MTBmLWVmZjEtNDQ1NS05N2UwLTE5NDk1YjNkMDZkYyIsImF1ZCI6Ijk1NTNiNjI0LTYyZTItNDA5Yy1iYjU5LWJhYzA2ZWFlYmMyYiIsImV4cCI6MTU2OTM5OTEzOCwiaWF0IjoxNTY5Mzk3MzM4LCJuYmYiOjE1NjkzOTczMDgsInN1YiI6IjY1NjQ2NjM5MzQ2MzMwMzEyZDMzNjUzOTM4MzEzMTY1MzkyZDM4MzUzMDMyMzk2NDM5MzQyZDYyMzMzNzM3Mzc2MzM4NjYiLCJfcHZ0IjoicHdqYkZlTGJnaitEeUNCMEk0c3dNb1JZbGpUbTFFWjlIMHk4dkpsMEhaV1l0UVkvZE1YVWRycmcrWnNFdXY3RUU4cDlNSVhyQnl2Z0c0T3lhb2hZdk5Hd2g4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CJwZXJzb25UeXBlIjoiY2F0cGVqdiIsImxhc3RuYW1lIjoiQ2hhcmF0aC1DaGFuZGlyYW4iLCJfdGFyZ2V0IjoiSWRlbnRpdHlQcm92aWRlciJ9.lX8jXIuq1fwGhjcfGJSEeiuJbZiD06ZaBVg_PwDZ7qr4ia8QzHil8AY2k3AJGm6c8Bzi1wv6G_Husczzeta9UQUzkEguCAV0ctg3I7m1-Sta4iRLhkpn5I3xi0ebwVe4LZVTh_iCOv7EgHMwBiW7Cxh_5_spGGQw_842L-9EQoa1Aw9N8gYGPubKpB2VOOmkB_sMyynMW1jpCwB8yNP30RrasQPuq0EOSkjkvHqJrUHlb2bpleHA2CCO3CbU21afwxHqkt5jzjDvcqPYfgwoQ98pzQTbbP6FXZ_PcXeOTpHjwBknCEyQoAnFXJhV8Rda5FIfg5oywAhI646UieO4qA'); var _this = this; var roleArr = JSON.stringify(['tpm2-admin', 'tpm2-deatm', 'tpm2-deatv']); sessionStorage.setItem('role', roleArr); sessionStorage.setItem('roleAction', ''); sessionStorage.setItem('redirectCheck', window.location.origin); this.getOrganisationRegId(); this.getRolesNames(); // comment session before commit -- only local reference end console.log('...getUserinfo.......'); var accessToken = sessionStorage.getItem('access_token'); if (accessToken !== undefined && accessToken !== '' && accessToken !== null) { var headers = new _angular_http__WEBPACK_IMPORTED_MODULE_4__["Headers"](); headers.append('Content-Type', 'application/json'); headers.append('Authorization', sessionStorage.getItem('access_token')); var options = new _angular_http__WEBPACK_IMPORTED_MODULE_4__["RequestOptions"]({ headers: headers }); return this.authHttp.get('https://idp2.renault.com/nidp/oauth/nam/userinfo', options) .map(function (res) { return res.json(); }).subscribe(function (data) { console.log('userinfo Value...........' + data); if (data !== undefined && data !== '' && data !== null) { sessionStorage.setItem('uid', data.uid); sessionStorage.setItem('userName', (data.firstname + ' ' + data.lastname)); if (data['role-tp2-irn70003'] !== undefined && data !== '' && data !== null) { sessionStorage.setItem('role', JSON.stringify(data['role-tp2-irn70003'])); _this.commonService.currentUserRole = JSON.stringify(data['role-tp2-irn70003']); _this.messageService.sendMessage('false'); _this.getOrganisationRegId(); _this.getRolesNames(); _this.router.navigate(['tp2']); /* if (!sessionStorage.getItem('redirectCheck')) { console.log('redirect check'); this.router.navigate(['tp2']); } */ } else { console.log('No rolls for the user'); _this.logout(); } } }, function (err) { console.log('userinfo Value....err.......' + err); _this.logout(); }); } }; OpenIdService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_2__["Injectable"])(), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [angular2_jwt__WEBPACK_IMPORTED_MODULE_1__["AuthHttp"], _angular_router__WEBPACK_IMPORTED_MODULE_6__["Router"], _angular_router__WEBPACK_IMPORTED_MODULE_6__["ActivatedRoute"], angular_oauth2_oidc__WEBPACK_IMPORTED_MODULE_3__["OAuthService"], _common_message_service__WEBPACK_IMPORTED_MODULE_8__["MessageService"], _common_common_button_organisation_map_btn_organisation_map_service__WEBPACK_IMPORTED_MODULE_9__["OrganisationMapService"], _common_roles_roles_service__WEBPACK_IMPORTED_MODULE_12__["RolesService"], _common_common_services__WEBPACK_IMPORTED_MODULE_14__["CommonServices"], _common_snackbar_snackbar_component_service__WEBPACK_IMPORTED_MODULE_13__["SnackBarService"]]) ], OpenIdService); return OpenIdService; }()); /***/ }), /***/ "./src/app/auth/openid/openid.component.css": /*!**************************************************!*\ !*** ./src/app/auth/openid/openid.component.css ***! \**************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2F1dGgvb3BlbmlkL29wZW5pZC5jb21wb25lbnQuY3NzIn0= */" /***/ }), /***/ "./src/app/auth/openid/openid.component.html": /*!***************************************************!*\ !*** ./src/app/auth/openid/openid.component.html ***! \***************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "" /***/ }), /***/ "./src/app/auth/openid/openid.component.ts": /*!*************************************************!*\ !*** ./src/app/auth/openid/openid.component.ts ***! \*************************************************/ /*! exports provided: OpenidComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "OpenidComponent", function() { return OpenidComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js"); /* harmony import */ var _open_id_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../open-id.service */ "./src/app/auth/open-id.service.ts"); var OpenidComponent = /** @class */ (function () { function OpenidComponent(router, openIdService) { this.router = router; this.openIdService = openIdService; } OpenidComponent.prototype.ngOnInit = function () { this.openIdService.initOpenIdAuthent(); }; OpenidComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'openid', template: __webpack_require__(/*! ./openid.component.html */ "./src/app/auth/openid/openid.component.html"), styles: [__webpack_require__(/*! ./openid.component.css */ "./src/app/auth/openid/openid.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"], _open_id_service__WEBPACK_IMPORTED_MODULE_3__["OpenIdService"]]) ], OpenidComponent); return OpenidComponent; }()); /***/ }), /***/ "./src/app/auth/silent-refresh/silent-refresh.component.css": /*!******************************************************************!*\ !*** ./src/app/auth/silent-refresh/silent-refresh.component.css ***! \******************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2F1dGgvc2lsZW50LXJlZnJlc2gvc2lsZW50LXJlZnJlc2guY29tcG9uZW50LmNzcyJ9 */" /***/ }), /***/ "./src/app/auth/silent-refresh/silent-refresh.component.html": /*!*******************************************************************!*\ !*** ./src/app/auth/silent-refresh/silent-refresh.component.html ***! \*******************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "\n \n \n \n" /***/ }), /***/ "./src/app/auth/silent-refresh/silent-refresh.component.ts": /*!*****************************************************************!*\ !*** ./src/app/auth/silent-refresh/silent-refresh.component.ts ***! \*****************************************************************/ /*! exports provided: SilentRefreshComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SilentRefreshComponent", function() { return SilentRefreshComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); var SilentRefreshComponent = /** @class */ (function () { function SilentRefreshComponent() { } SilentRefreshComponent.prototype.ngOnInit = function () { console.log('inside silent refresh compo'); }; SilentRefreshComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'silent-refresh', template: __webpack_require__(/*! ./silent-refresh.component.html */ "./src/app/auth/silent-refresh/silent-refresh.component.html"), styles: [__webpack_require__(/*! ./silent-refresh.component.css */ "./src/app/auth/silent-refresh/silent-refresh.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", []) ], SilentRefreshComponent); return SilentRefreshComponent; }()); /***/ }), /***/ "./src/app/common/agreement-popup/agreement-popup.component.css": /*!**********************************************************************!*\ !*** ./src/app/common/agreement-popup/agreement-popup.component.css ***! \**********************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = ".swing {\n transform-origin: center -20px;\n float: left;\n box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);\n width: 25%;\n margin: 10px 20px 10px 0px;\n}\n\n.swing img {\n /* border: 5px solid #f8f8f8; */\n display: block;\n width: 100%;\n}\n\n.user_check {\n margin-bottom: 30px;\n}\n\n.user_check mat-checkbox {\n margin-bottom: -3px;\n}\n\n.hovereffect {\n width: 100%;\n height: 100%;\n float: left;\n overflow: hidden;\n position: relative;\n text-align: center;\n cursor: default;\n}\n\n.hovereffect .overlay {\n position: absolute;\n overflow: hidden;\n width: 70%;\n height: 70%;\n left: 10%;\n top: 10%;\n border-bottom: 1px solid #FFF;\n border-top: 1px solid #FFF;\n transition: opacity 0.35s, transform 0.35s;\n transform: scale(0, 1);\n}\n\n.hovereffect:hover .overlay {\n opacity: 1;\n filter: alpha(opacity=100);\n transform: scale(1);\n}\n\n.hovereffect img {\n display: block;\n position: relative;\n transition: all 0.35s;\n}\n\n.hovereffect:hover img {\n filter: url('data:image/svg+xml;charset=utf-8,#filter');\n filter: brightness(0.6);\n -webkit-filter: brightness(0.6);\n}\n\n.hovereffect h2 {\n text-transform: uppercase;\n text-align: center;\n position: relative;\n font-size: 17px;\n background-color: transparent;\n color: #FFF;\n padding: 1em 0;\n opacity: 0;\n filter: alpha(opacity=0);\n transition: opacity 0.35s, transform 0.35s;\n transform: translate3d(0, -100%, 0);\n}\n\n.hovereffect a, .hovereffect p {\n color: #FFF;\n padding: 0.4em 0;\n opacity: 0;\n filter: alpha(opacity=0);\n transition: opacity 0.35s, transform 0.35s;\n transform: translate3d(0, 100%, 0);\n}\n\n.hovereffect:hover a, .hovereffect:hover p, .hovereffect:hover h2 {\n opacity: 1;\n filter: alpha(opacity=100);\n transform: translate3d(0, 0, 0);\n}\n\n::ng-deep .mat-dialog-container {\n overflow: hidden !important;\n padding: 0 !important;\n}\n\n::ng-deep .mat-checkbox {\n font-family: helv-47 !important;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tbW9uL2FncmVlbWVudC1wb3B1cC9hZ3JlZW1lbnQtcG9wdXAuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLDhCQUE4QjtFQUM5QixXQUFXO0VBQ1gsMkNBQTJDO0VBQzNDLFVBQVU7RUFDViwwQkFBMEI7QUFDNUI7O0FBRUE7RUFDRSwrQkFBK0I7RUFDL0IsY0FBYztFQUNkLFdBQVc7QUFDYjs7QUFFQTtFQUNFLG1CQUFtQjtBQUNyQjs7QUFFQTtFQUNFLG1CQUFtQjtBQUNyQjs7QUFFQTtFQUNFLFdBQVc7RUFDWCxZQUFZO0VBQ1osV0FBVztFQUNYLGdCQUFnQjtFQUNoQixrQkFBa0I7RUFDbEIsa0JBQWtCO0VBQ2xCLGVBQWU7QUFDakI7O0FBRUE7RUFDRSxrQkFBa0I7RUFDbEIsZ0JBQWdCO0VBQ2hCLFVBQVU7RUFDVixXQUFXO0VBQ1gsU0FBUztFQUNULFFBQVE7RUFDUiw2QkFBNkI7RUFDN0IsMEJBQTBCO0VBRTFCLDBDQUEwQztFQUcxQyxzQkFBc0I7QUFDeEI7O0FBRUE7RUFDRSxVQUFVO0VBQ1YsMEJBQTBCO0VBRzFCLG1CQUFtQjtBQUNyQjs7QUFFQTtFQUNFLGNBQWM7RUFDZCxrQkFBa0I7RUFFbEIscUJBQXFCO0FBQ3ZCOztBQUVBO0VBQ0UsK1RBQStUO0VBQy9ULHVCQUF1QjtFQUN2QiwrQkFBK0I7QUFDakM7O0F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./src/app/common/agreement-popup/agreement-popup.component.html": /*!***********************************************************************!*\ !*** ./src/app/common/agreement-popup/agreement-popup.component.html ***! \***********************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "
\n
\n

GDPR - TPM2

\n
\n \n
\n
\n
\n
\n \n
\n \"\"\n \n
\n
\n

Gdpr_Content.p1

\n

Gdpr_Content.p2

\n

Gdpr_Content.p3

\n

Gdpr_Content.p4

\n
\n \n \n Gdpr_Content.checkBox\n \n \n
\n
\n
\n
\n\n
\n \n
" /***/ }), /***/ "./src/app/common/agreement-popup/agreement-popup.component.ts": /*!*********************************************************************!*\ !*** ./src/app/common/agreement-popup/agreement-popup.component.ts ***! \*********************************************************************/ /*! exports provided: AgreementPopupComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AgreementPopupComponent", function() { return AgreementPopupComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/material/dialog */ "./node_modules/@angular/material/esm5/dialog.es5.js"); /* harmony import */ var _agreement_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./agreement.service */ "./src/app/common/agreement-popup/agreement.service.ts"); /* harmony import */ var _snackbar_snackbar_component_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../snackbar/snackbar.component.service */ "./src/app/common/snackbar/snackbar.component.service.ts"); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/fesm5/forms.js"); var AgreementPopupComponent = /** @class */ (function () { function AgreementPopupComponent(agreementService, data, snackbarService, dialogRef, fb) { this.agreementService = agreementService; this.data = data; this.snackbarService = snackbarService; this.dialogRef = dialogRef; this.fb = fb; this.submitted = false; } AgreementPopupComponent.prototype.ngOnInit = function () { this.agreementForm = this.fb.group({ userAgreeCheck: [{ value: true, disabled: true }] }); }; Object.defineProperty(AgreementPopupComponent.prototype, "f", { get: function () { return this.agreementForm.controls; }, enumerable: true, configurable: true }); AgreementPopupComponent.prototype.acceptAgreement = function () { var _this = this; this.submitted = true; this.agreementService.saveUsers(this.data).subscribe(function (res) { if (res.body && res.status === 200) { _this.dialogRef.close(); } else { _this.snackbarService.showSnackBar('Errormessage.db_common_Error_Msg', 'F'); } }, function (error) { _this.error = error; _this.snackbarService.showSnackBar('Errormessage.db_common_Error_Msg', 'F'); }); }; AgreementPopupComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'agreement-popup', template: __webpack_require__(/*! ./agreement-popup.component.html */ "./src/app/common/agreement-popup/agreement-popup.component.html"), styles: [__webpack_require__(/*! ./agreement-popup.component.css */ "./src/app/common/agreement-popup/agreement-popup.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__param"](1, Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Inject"])(_angular_material_dialog__WEBPACK_IMPORTED_MODULE_2__["MAT_DIALOG_DATA"])), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_agreement_service__WEBPACK_IMPORTED_MODULE_3__["AgreementService"], Object, _snackbar_snackbar_component_service__WEBPACK_IMPORTED_MODULE_4__["SnackBarService"], _angular_material_dialog__WEBPACK_IMPORTED_MODULE_2__["MatDialogRef"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["FormBuilder"]]) ], AgreementPopupComponent); return AgreementPopupComponent; }()); /***/ }), /***/ "./src/app/common/agreement-popup/agreement.service.ts": /*!*************************************************************!*\ !*** ./src/app/common/agreement-popup/agreement.service.ts ***! \*************************************************************/ /*! exports provided: AgreementService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AgreementService", function() { return AgreementService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); var AgreementService = /** @class */ (function () { function AgreementService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].apiURL; } AgreementService.prototype.getUserByIpn = function (users) { return this.httpClient.post(this.apiURL + '/getUserByIpn', users, { observe: 'response' }); }; AgreementService.prototype.saveUsers = function (users) { return this.httpClient.post(this.apiURL + '/saveUsers', users, { observe: 'response' }); }; AgreementService.prototype.updateUserRoles = function (users) { return this.httpClient.put(this.apiURL + '/ChangeUserRole', users, { observe: 'response' }); }; AgreementService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]]) ], AgreementService); return AgreementService; }()); /***/ }), /***/ "./src/app/common/agreement-popup/role-model.ts": /*!******************************************************!*\ !*** ./src/app/common/agreement-popup/role-model.ts ***! \******************************************************/ /*! exports provided: roleModel */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "roleModel", function() { return roleModel; }); var roleModel = /** @class */ (function () { function roleModel() { } return roleModel; }()); /***/ }), /***/ "./src/app/common/agreement-popup/user-role-model.ts": /*!***********************************************************!*\ !*** ./src/app/common/agreement-popup/user-role-model.ts ***! \***********************************************************/ /*! exports provided: UsersRoleModel */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "UsersRoleModel", function() { return UsersRoleModel; }); var UsersRoleModel = /** @class */ (function () { function UsersRoleModel() { } return UsersRoleModel; }()); /***/ }), /***/ "./src/app/common/agreement-popup/users-model.ts": /*!*******************************************************!*\ !*** ./src/app/common/agreement-popup/users-model.ts ***! \*******************************************************/ /*! exports provided: UsersModel */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "UsersModel", function() { return UsersModel; }); var UsersModel = /** @class */ (function () { function UsersModel() { } return UsersModel; }()); /***/ }), /***/ "./src/app/common/common-button/bredcrumb/bredcrumb.component.css": /*!************************************************************************!*\ !*** ./src/app/common/common-button/bredcrumb/bredcrumb.component.css ***! \************************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2NvbW1vbi9jb21tb24tYnV0dG9uL2JyZWRjcnVtYi9icmVkY3J1bWIuY29tcG9uZW50LmNzcyJ9 */" /***/ }), /***/ "./src/app/common/common-button/bredcrumb/bredcrumb.component.html": /*!*************************************************************************!*\ !*** ./src/app/common/common-button/bredcrumb/bredcrumb.component.html ***! \*************************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "\n\n\n
\n \n
\n\n\n\n \n" /***/ }), /***/ "./src/app/common/common-button/bredcrumb/bredcrumb.component.ts": /*!***********************************************************************!*\ !*** ./src/app/common/common-button/bredcrumb/bredcrumb.component.ts ***! \***********************************************************************/ /*! exports provided: BredcrumbComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BredcrumbComponent", function() { return BredcrumbComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/fesm5/ngx-translate-core.js"); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js"); /* harmony import */ var _i18n_i18n_lang_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../i18n/i18n-lang.service */ "./src/app/common/i18n/i18n-lang.service.ts"); var BredcrumbComponent = /** @class */ (function () { function BredcrumbComponent(translate, router, langService) { this.translate = translate; this.router = router; this.langService = langService; } BredcrumbComponent.prototype.ngOnInit = function () { this.routerVal = this.router.url; this.splitRoute = this.routerVal.split('/'); this.splitUrl = this.breadcrumbChange(this.splitRoute); }; BredcrumbComponent.prototype.breadcrumbChange = function (splitRoute) { if (splitRoute && splitRoute.length > 0) { if (splitRoute[1] === 'administration') { if (splitRoute[2] === 'referentiel') { return (['Administration.Title', 'Administration.Referential.Title']); } else if (splitRoute[2] === 'levelsReferential') { return (['Administration.Title', 'Administration.LevelsReferential.Title']); } else if (splitRoute[2] === 'prestationsAndProcedures') { return (['Administration.Title', 'Administration.Prestations_And_Procedures.Title']); } else if (splitRoute[2] === 'barReferentiel') { return (['Administration.Title', 'Administration.BarReferentiel.Title']); } else if (splitRoute[2] === 'TestBedReferential') { return (['Administration.Title', 'Administration.TestBedReferential.Title']); } else if (splitRoute[2] === 'TestBedMigration') { return (['Administration.Title', 'Administration.TestBedMigration.Title']); } } else if (splitRoute[1] === 'help') { if (splitRoute[2] === 'aide') { return (['Help.help.Title']); } else if (splitRoute[2] === 'Directory') { return (['Help.Directory.Title']); } else { return (['Help.Preference.Title']); } } else if (splitRoute[1] === 'MPM') { if (splitRoute[2] === 'Referential') { return (['MPM.Title', 'MPM.Referential.Title']); } else if (splitRoute[2] === 'TestBedSlots') { return (['MPM.Title', 'MPM.Testbedslots.Title']); } else if (splitRoute[2] === 'TaskReport') { return (['MPM.Title', 'MPM.TaskReports.Title']); } } else if (splitRoute[1] === 'ValidationSpecimen') { return (['ValidationSpecimen.Title']); } else if (splitRoute[1] === 'TestMeansStatus') { if (splitRoute[2] === 'TestbedStatus') { return (['TestMeansStatus.Title', 'TestMeansStatus.Testbed_Status.Title']); } else if (splitRoute[2] === 'Hazardsmanagement') { return (['TestMeansStatus.Title', 'TestMeansStatus.Hazardsmanagement.Title']); } else if (splitRoute[2] === 'Hazardshistory') { return (['TestMeansStatus.Title', 'TestMeansStatus.Hazardshistory.Title']); } } } }; BredcrumbComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])(), Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'bredcrumb', template: __webpack_require__(/*! ./bredcrumb.component.html */ "./src/app/common/common-button/bredcrumb/bredcrumb.component.html"), styles: [__webpack_require__(/*! ./bredcrumb.component.css */ "./src/app/common/common-button/bredcrumb/bredcrumb.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__["TranslateService"], _angular_router__WEBPACK_IMPORTED_MODULE_3__["Router"], _i18n_i18n_lang_service__WEBPACK_IMPORTED_MODULE_4__["I18nLangService"]]) ], BredcrumbComponent); return BredcrumbComponent; }()); /***/ }), /***/ "./src/app/common/common-button/common-button.component.css": /*!******************************************************************!*\ !*** ./src/app/common/common-button/common-button.component.css ***! \******************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = ".popover-modal .popover-header a {\n color: #fff;\n text-decoration: none;\n line-height: 19px;\n font-size: 30px;\n font-weight: bold;\n}\n.popover-modal{width: 350px; max-width: 350px;}\n.popover-body .form-group-input {\n margin-top: 0px;\n margin-bottom: 15px;\n}\n.error-message {\n color: #cc0033;\n\n font-size: 12px;\n line-height: 15px;\n margin: 5px 0 0;\n }\n.input-group .error-message {\n display: none;\n }\n/* Error Styling */\n.error label {\n color: #cc0033;\n }\n.error input[type=text] {\n background-color: #fce4e4;\n border: 1px solid #cc0033;\n outline: none;\n }\n.error .error-message {\n display:block;\n }\n.form-group-input.error .form-control-input{border-bottom: 1px solid #cc0033}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tbW9uL2NvbW1vbi1idXR0b24vY29tbW9uLWJ1dHRvbi5jb21wb25lbnQuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0lBQ0ksV0FBVztJQUNYLHFCQUFxQjtJQUNyQixpQkFBaUI7SUFDakIsZUFBZTtJQUNmLGlCQUFpQjtBQUNyQjtBQUNBLGVBQWUsWUFBWSxFQUFFLGdCQUFnQixDQUFDO0FBQzlDO0lBQ0ksZUFBZTtJQUNmLG1CQUFtQjtBQUN2QjtBQUVBO0lBQ0ksY0FBYzs7SUFFZCxlQUFlO0lBQ2YsaUJBQWlCO0lBQ2pCLGVBQWU7RUFDakI7QUFFQTtJQUN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vbG9yOiAjZmNlNGU0O1xuICAgIGJvcmRlcjogMXB4IHNvbGlkICNjYzAwMzM7XG4gICAgb3V0bGluZTogbm9uZTtcbiAgfVxuICBcbiAgLmVycm9yIC5lcnJvci1tZXNzYWdlIHtcbiAgICBkaXNwbGF5OmJsb2NrO1xuICB9XG5cbiAgLmZvcm0tZ3JvdXAtaW5wdXQuZXJyb3IgLmZvcm0tY29udHJvbC1pbnB1dHtib3JkZXItYm90dG9tOiAxcHggc29saWQgI2NjMDAzM30iXX0= */" /***/ }), /***/ "./src/app/common/common-button/common-button.component.html": /*!*******************************************************************!*\ !*** ./src/app/common/common-button/common-button.component.html ***! \*******************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "
\n
\n
\n \n
\n\n
\n
\n \n \n \n \n
\n
\n
\n
\n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n" /***/ }), /***/ "./src/app/common/common-button/common-button.component.ts": /*!*****************************************************************!*\ !*** ./src/app/common/common-button/common-button.component.ts ***! \*****************************************************************/ /*! exports provided: CommonButtonComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CommonButtonComponent", function() { return CommonButtonComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/fesm5/ngx-translate-core.js"); var CommonButtonComponent = /** @class */ (function () { function CommonButtonComponent(translate) { this.translate = translate; } CommonButtonComponent.prototype.ngOnInit = function () { $('[data-role="popover"]').popover(); $('.selectpicker').selectpicker(); }; CommonButtonComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'app-common-button', template: __webpack_require__(/*! ./common-button.component.html */ "./src/app/common/common-button/common-button.component.html"), styles: [__webpack_require__(/*! ./common-button.component.css */ "./src/app/common/common-button/common-button.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__["TranslateService"]]) ], CommonButtonComponent); return CommonButtonComponent; }()); /***/ }), /***/ "./src/app/common/common-button/common-button.module.ts": /*!**************************************************************!*\ !*** ./src/app/common/common-button/common-button.module.ts ***! \**************************************************************/ /*! exports provided: CommonButtonModule */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CommonButtonModule", function() { return CommonButtonModule; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/fesm5/common.js"); /* harmony import */ var _common_button_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./common-button.component */ "./src/app/common/common-button/common-button.component.ts"); /* harmony import */ var _i18n_i18n_module__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./../i18n/i18n.module */ "./src/app/common/i18n/i18n.module.ts"); /* harmony import */ var _organisation_map_btn_organisation_btn_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./organisation-map-btn/organisation-btn.component */ "./src/app/common/common-button/organisation-map-btn/organisation-btn.component.ts"); /* harmony import */ var ag_grid_angular__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ag-grid-angular */ "./node_modules/ag-grid-angular/main.js"); /* harmony import */ var ag_grid_angular__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(ag_grid_angular__WEBPACK_IMPORTED_MODULE_6__); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var _organisation_map_btn_organisation_map_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./organisation-map-btn/organisation-map.service */ "./src/app/common/common-button/organisation-map-btn/organisation-map.service.ts"); /* harmony import */ var _organisation_map_btn_organisation_map_model__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./organisation-map-btn/organisation-map.model */ "./src/app/common/common-button/organisation-map-btn/organisation-map.model.ts"); /* harmony import */ var _interceptor_httpconfig_interceptor__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../interceptor/httpconfig.interceptor */ "./src/app/common/interceptor/httpconfig.interceptor.ts"); var CommonButtonModule = /** @class */ (function () { function CommonButtonModule() { } CommonButtonModule = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"])({ declarations: [ _common_button_component__WEBPACK_IMPORTED_MODULE_3__["CommonButtonComponent"], _organisation_map_btn_organisation_btn_component__WEBPACK_IMPORTED_MODULE_5__["OrganisationMapComponent"], ], imports: [ _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], _i18n_i18n_module__WEBPACK_IMPORTED_MODULE_4__["I18nModule"], _angular_common_http__WEBPACK_IMPORTED_MODULE_7__["HttpClientModule"], ag_grid_angular__WEBPACK_IMPORTED_MODULE_6__["AgGridModule"].withComponents([]) ], exports: [ _common_button_component__WEBPACK_IMPORTED_MODULE_3__["CommonButtonComponent"], _organisation_map_btn_organisation_btn_component__WEBPACK_IMPORTED_MODULE_5__["OrganisationMapComponent"] ], providers: [ _organisation_map_btn_organisation_map_service__WEBPACK_IMPORTED_MODULE_8__["OrganisationMapService"], _organisation_map_btn_organisation_map_model__WEBPACK_IMPORTED_MODULE_9__["OrganisationMapModel"], { provide: _angular_common_http__WEBPACK_IMPORTED_MODULE_7__["HTTP_INTERCEPTORS"], useClass: _interceptor_httpconfig_interceptor__WEBPACK_IMPORTED_MODULE_10__["HttpConfigInterceptor"], multi: true }, ] }) ], CommonButtonModule); return CommonButtonModule; }()); /***/ }), /***/ "./src/app/common/common-button/organisation-map-btn/organisation-btn.component.css": /*!******************************************************************************************!*\ !*** ./src/app/common/common-button/organisation-map-btn/organisation-btn.component.css ***! \******************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "\n.popover-modal .popover-header a {\n color: #fff;\n text-decoration: none;\n line-height: 19px;\n font-size: 30px;\n font-weight: bold;\n}\n\nbutton:disabled {\n cursor: not-allowed;\n pointer-events: all !important;\n}\n\norganisation-map .ag-body-viewport .ag-center-cols-container{width: 100% !important}\n\n.btn-danger {\n color: black;\n background-color: red;\n}\n\n.btn-success {\n color: black;\n background-color: green;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tbW9uL2NvbW1vbi1idXR0b24vb3JnYW5pc2F0aW9uLW1hcC1idG4vb3JnYW5pc2F0aW9uLWJ0bi5jb21wb25lbnQuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFDQTtJQUNJLFdBQVc7SUFDWCxxQkFBcUI7SUFDckIsaUJBQWlCO0lBQ2pCLGVBQWU7SUFDZixpQkFBaUI7QUFDckI7O0FBRUE7SUFDSSxtQkFBbUI7SUFDbkIsOEJBQThCO0FBQ2xDOztBQUNBLDZEQUE2RCxzQkFBc0I7O0FBRW5GO0lBQ0ksWUFBWTtJQUNaLHFCQUFxQjtBQUN6Qjs7QUFFQTtJQUNJLFlBQVk7SUFDWix1QkFBdUI7QUFDM0IiLCJmaWxlIjoic3JjL2FwcC9jb21tb24vY29tbW9uLWJ1dHRvbi9vcmdhbmlzYXRpb24tbWFwLWJ0bi9vcmdhbmlzYXRpb24tYnRuLmNvbXBvbmVudC5jc3MiLCJzb3VyY2VzQ29udGVudCI6WyJcbi5wb3BvdmVyLW1vZGFsIC5wb3BvdmVyLWhlYWRlciBhIHtcbiAgICBjb2xvcjogI2ZmZjtcbiAgICB0ZXh0LWRlY29yYXRpb246IG5vbmU7XG4gICAgbGluZS1oZWlnaHQ6IDE5cHg7XG4gICAgZm9udC1zaXplOiAzMHB4O1xuICAgIGZvbnQtd2VpZ2h0OiBib2xkO1xufVxuXG5idXR0b246ZGlzYWJsZWQge1xuICAgIGN1cnNvcjogbm90LWFsbG93ZWQ7XG4gICAgcG9pbnRlci1ldmVudHM6IGFsbCAhaW1wb3J0YW50O1xufVxub3JnYW5pc2F0aW9uLW1hcCAuYWctYm9keS12aWV3cG9ydCAuYWctY2VudGVyLWNvbHMtY29udGFpbmVye3dpZHRoOiAxMDAlICFpbXBvcnRhbnR9XG5cbi5idG4tZGFuZ2VyIHtcbiAgICBjb2xvcjogYmxhY2s7XG4gICAgYmFja2dyb3VuZC1jb2xvcjogcmVkO1xufVxuXG4uYnRuLXN1Y2Nlc3Mge1xuICAgIGNvbG9yOiBibGFjaztcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiBncmVlbjtcbn0iXX0= */" /***/ }), /***/ "./src/app/common/common-button/organisation-map-btn/organisation-btn.component.html": /*!*******************************************************************************************!*\ !*** ./src/app/common/common-button/organisation-map-btn/organisation-btn.component.html ***! \*******************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "\n \n \n \n \n \n \n \n" /***/ }), /***/ "./src/app/common/common-button/organisation-map-btn/organisation-btn.component.ts": /*!*****************************************************************************************!*\ !*** ./src/app/common/common-button/organisation-map-btn/organisation-btn.component.ts ***! \*****************************************************************************************/ /*! exports provided: OrganisationMapComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "OrganisationMapComponent", function() { return OrganisationMapComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var ag_grid_angular__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ag-grid-angular */ "./node_modules/ag-grid-angular/main.js"); /* harmony import */ var ag_grid_angular__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(ag_grid_angular__WEBPACK_IMPORTED_MODULE_3__); /* harmony import */ var _organisation_map_model__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./organisation-map.model */ "./src/app/common/common-button/organisation-map-btn/organisation-map.model.ts"); /* harmony import */ var src_app_administration_referentiel_sites_site_model__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! src/app/administration/referentiel/sites/site.model */ "./src/app/administration/referentiel/sites/site.model.ts"); /* harmony import */ var _organisation_map_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./organisation-map.service */ "./src/app/common/common-button/organisation-map-btn/organisation-map.service.ts"); /* harmony import */ var src_app_administration_referentiel_sites_sites_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! src/app/administration/referentiel/sites/sites.service */ "./src/app/administration/referentiel/sites/sites.service.ts"); /* harmony import */ var src_app_administration_referentiel_teams_teams_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! src/app/administration/referentiel/teams/teams.service */ "./src/app/administration/referentiel/teams/teams.service.ts"); /* harmony import */ var src_app_administration_referentiel_teams_teams_model__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! src/app/administration/referentiel/teams/teams.model */ "./src/app/administration/referentiel/teams/teams.model.ts"); /* harmony import */ var src_app_administration_levelreferential_level0_level0_model__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! src/app/administration/levelreferential/level0/level0.model */ "./src/app/administration/levelreferential/level0/level0.model.ts"); /* harmony import */ var src_app_administration_levelreferential_level0_level0_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! src/app/administration/levelreferential/level0/level0.service */ "./src/app/administration/levelreferential/level0/level0.service.ts"); /* harmony import */ var src_app_administration_levelreferential_levelsadmin_levelsadmin_model__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! src/app/administration/levelreferential/levelsadmin/levelsadmin.model */ "./src/app/administration/levelreferential/levelsadmin/levelsadmin.model.ts"); /* harmony import */ var src_app_administration_levelreferential_levelsadmin_levelsadmin_service__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! src/app/administration/levelreferential/levelsadmin/levelsadmin.service */ "./src/app/administration/levelreferential/levelsadmin/levelsadmin.service.ts"); /* harmony import */ var src_app_administration_referentiel_buildings_building_model__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! src/app/administration/referentiel/buildings/building.model */ "./src/app/administration/referentiel/buildings/building.model.ts"); /* harmony import */ var src_app_administration_referentiel_means_means_model__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! src/app/administration/referentiel/means/means.model */ "./src/app/administration/referentiel/means/means.model.ts"); /* harmony import */ var src_app_administration_referentiel_perimeters_perimeters_model__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! src/app/administration/referentiel/perimeters/perimeters.model */ "./src/app/administration/referentiel/perimeters/perimeters.model.ts"); /* harmony import */ var src_app_administration_referentiel_buildings_buildings_service__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! src/app/administration/referentiel/buildings/buildings.service */ "./src/app/administration/referentiel/buildings/buildings.service.ts"); /* harmony import */ var src_app_administration_referentiel_means_means_service__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! src/app/administration/referentiel/means/means.service */ "./src/app/administration/referentiel/means/means.service.ts"); /* harmony import */ var src_app_administration_referentiel_perimeters_perimeters_service__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! src/app/administration/referentiel/perimeters/perimeters.service */ "./src/app/administration/referentiel/perimeters/perimeters.service.ts"); /* harmony import */ var src_app_administration_referentiel_campaign_campaign_service__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! src/app/administration/referentiel/campaign/campaign.service */ "./src/app/administration/referentiel/campaign/campaign.service.ts"); /* harmony import */ var src_app_administration_referentiel_campaign_campaign_model__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! src/app/administration/referentiel/campaign/campaign.model */ "./src/app/administration/referentiel/campaign/campaign.model.ts"); /* harmony import */ var src_app_administration_referentiel_customer_customer_service__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! src/app/administration/referentiel/customer/customer.service */ "./src/app/administration/referentiel/customer/customer.service.ts"); /* harmony import */ var src_app_administration_referentiel_customer_customer_model__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! src/app/administration/referentiel/customer/customer.model */ "./src/app/administration/referentiel/customer/customer.model.ts"); /* harmony import */ var src_app_administration_referentiel_shifts_shifts_service__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! src/app/administration/referentiel/shifts/shifts.service */ "./src/app/administration/referentiel/shifts/shifts.service.ts"); /* harmony import */ var src_app_administration_referentiel_shifts_shifts_model__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! src/app/administration/referentiel/shifts/shifts.model */ "./src/app/administration/referentiel/shifts/shifts.model.ts"); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/fesm5/ngx-translate-core.js"); /* harmony import */ var src_app_administration_levelreferential_level2_level2_service__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! src/app/administration/levelreferential/level2/level2.service */ "./src/app/administration/levelreferential/level2/level2.service.ts"); /* harmony import */ var src_app_administration_levelreferential_level2_level2_model__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! src/app/administration/levelreferential/level2/level2.model */ "./src/app/administration/levelreferential/level2/level2.model.ts"); /* harmony import */ var src_app_administration_levelreferential_level1_level1_service__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! src/app/administration/levelreferential/level1/level1.service */ "./src/app/administration/levelreferential/level1/level1.service.ts"); /* harmony import */ var src_app_administration_levelreferential_level1_level1_model__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! src/app/administration/levelreferential/level1/level1.model */ "./src/app/administration/levelreferential/level1/level1.model.ts"); /* harmony import */ var src_app_administration_prestationsandprocedures_procedure_procedure_service__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! src/app/administration/prestationsandprocedures/procedure/procedure.service */ "./src/app/administration/prestationsandprocedures/procedure/procedure.service.ts"); /* harmony import */ var src_app_administration_prestationsandprocedures_procedure_procedure_model__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! src/app/administration/prestationsandprocedures/procedure/procedure.model */ "./src/app/administration/prestationsandprocedures/procedure/procedure.model.ts"); /* harmony import */ var src_app_administration_prestationsandprocedures_prestation_prestation_model__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! src/app/administration/prestationsandprocedures/prestation/prestation.model */ "./src/app/administration/prestationsandprocedures/prestation/prestation.model.ts"); /* harmony import */ var src_app_administration_prestationsandprocedures_prestation_prestation_service__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! src/app/administration/prestationsandprocedures/prestation/prestation.service */ "./src/app/administration/prestationsandprocedures/prestation/prestation.service.ts"); /* harmony import */ var src_app_administration_prestationsandprocedures_prestationadmin_prestationadmin_service__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! src/app/administration/prestationsandprocedures/prestationadmin/prestationadmin.service */ "./src/app/administration/prestationsandprocedures/prestationadmin/prestationadmin.service.ts"); /* harmony import */ var src_app_administration_prestationsandprocedures_prestationadmin_prestationadmin_model__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! src/app/administration/prestationsandprocedures/prestationadmin/prestationadmin.model */ "./src/app/administration/prestationsandprocedures/prestationadmin/prestationadmin.model.ts"); /* harmony import */ var src_app_administration_referentiel_batch_batch_service__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! src/app/administration/referentiel/batch/batch.service */ "./src/app/administration/referentiel/batch/batch.service.ts"); /* harmony import */ var src_app_administration_referentiel_batch_batch_model__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! src/app/administration/referentiel/batch/batch.model */ "./src/app/administration/referentiel/batch/batch.model.ts"); /* harmony import */ var _snackbar_snackbar_component_service__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ../../snackbar/snackbar.component.service */ "./src/app/common/snackbar/snackbar.component.service.ts"); /* harmony import */ var src_app_administration_barreferentiel_barprogramlines_barprogramlines_model__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! src/app/administration/barreferentiel/barprogramlines/barprogramlines.model */ "./src/app/administration/barreferentiel/barprogramlines/barprogramlines.model.ts"); /* harmony import */ var src_app_administration_barreferentiel_barprogramlines_barprogramlines_service__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! src/app/administration/barreferentiel/barprogramlines/barprogramlines.service */ "./src/app/administration/barreferentiel/barprogramlines/barprogramlines.service.ts"); /* harmony import */ var src_app_administration_referentiel_services_services_service__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! src/app/administration/referentiel/services/services.service */ "./src/app/administration/referentiel/services/services.service.ts"); /* harmony import */ var src_app_administration_referentiel_services_services_model__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! src/app/administration/referentiel/services/services.model */ "./src/app/administration/referentiel/services/services.model.ts"); /* harmony import */ var src_app_administration_referentiel_campaignadministration_campaignadministration_service__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! src/app/administration/referentiel/campaignadministration/campaignadministration.service */ "./src/app/administration/referentiel/campaignadministration/campaignadministration.service.ts"); /* harmony import */ var src_app_administration_referentiel_campaignadministration_campaignadministration_model__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! src/app/administration/referentiel/campaignadministration/campaignadministration.model */ "./src/app/administration/referentiel/campaignadministration/campaignadministration.model.ts"); /* harmony import */ var src_app_administration_testbedreferential_testbed_testbed_services__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! src/app/administration/testbedreferential/testbed/testbed-services */ "./src/app/administration/testbedreferential/testbed/testbed-services.ts"); /* harmony import */ var _common_services__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ../../common.services */ "./src/app/common/common.services.ts"); /* harmony import */ var src_app_mpm_referential_maintenancesupplier_maintenancesupplier_service__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! src/app/mpm/referential/maintenancesupplier/maintenancesupplier.service */ "./src/app/mpm/referential/maintenancesupplier/maintenancesupplier.service.ts"); /* harmony import */ var src_app_mpm_referential_maintenancesupplier_maintenancesupplier_model__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! src/app/mpm/referential/maintenancesupplier/maintenancesupplier.model */ "./src/app/mpm/referential/maintenancesupplier/maintenancesupplier.model.ts"); /* harmony import */ var src_app_mpm_referential_maintenancesupplier_maintenancesupplier_delete_maintenancesupplier_delete_services__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! src/app/mpm/referential/maintenancesupplier/maintenancesupplier-delete/maintenancesupplier-delete.services */ "./src/app/mpm/referential/maintenancesupplier/maintenancesupplier-delete/maintenancesupplier-delete.services.ts"); /* harmony import */ var src_app_mpm_referential_preventivemaintenance_preventivemaintenance_service__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! src/app/mpm/referential/preventivemaintenance/preventivemaintenance.service */ "./src/app/mpm/referential/preventivemaintenance/preventivemaintenance.service.ts"); /* harmony import */ var src_app_mpm_referential_preventivemaintenance_preventivemaintenance_model__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! src/app/mpm/referential/preventivemaintenance/preventivemaintenance.model */ "./src/app/mpm/referential/preventivemaintenance/preventivemaintenance.model.ts"); /* harmony import */ var src_app_administration_barreferentiel_bwrprestation_bwrprestation_service__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! src/app/administration/barreferentiel/bwrprestation/bwrprestation.service */ "./src/app/administration/barreferentiel/bwrprestation/bwrprestation.service.ts"); /* harmony import */ var src_app_administration_barreferentiel_bwrprestation_bwrprestation_model__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! src/app/administration/barreferentiel/bwrprestation/bwrprestation.model */ "./src/app/administration/barreferentiel/bwrprestation/bwrprestation.model.ts"); /* harmony import */ var src_app_administration_testbedreferential_testbedtype_testbedtype_service__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! src/app/administration/testbedreferential/testbedtype/testbedtype.service */ "./src/app/administration/testbedreferential/testbedtype/testbedtype.service.ts"); /* harmony import */ var src_app_administration_testbedreferential_testbedtype_testbedtype_model__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! src/app/administration/testbedreferential/testbedtype/testbedtype.model */ "./src/app/administration/testbedreferential/testbedtype/testbedtype.model.ts"); /* harmony import */ var src_app_administration_testbedreferential_sector_sector_service__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! src/app/administration/testbedreferential/sector/sector.service */ "./src/app/administration/testbedreferential/sector/sector.service.ts"); /* harmony import */ var src_app_administration_testbedreferential_sector_sector_model__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! src/app/administration/testbedreferential/sector/sector.model */ "./src/app/administration/testbedreferential/sector/sector.model.ts"); /* harmony import */ var src_app_administration_testbedreferential_testbedcomplement_testbedcomplement_service__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! src/app/administration/testbedreferential/testbedcomplement/testbedcomplement.service */ "./src/app/administration/testbedreferential/testbedcomplement/testbedcomplement.service.ts"); /* harmony import */ var src_app_administration_testbedreferential_testbedcomplement_testbedcomplement_model__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! src/app/administration/testbedreferential/testbedcomplement/testbedcomplement.model */ "./src/app/administration/testbedreferential/testbedcomplement/testbedcomplement.model.ts"); /* harmony import */ var src_app_administration_testbedreferential_testbedtypecomplementassociation_testbedtypecomplementassociation_model__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! src/app/administration/testbedreferential/testbedtypecomplementassociation/testbedtypecomplementassociation.model */ "./src/app/administration/testbedreferential/testbedtypecomplementassociation/testbedtypecomplementassociation.model.ts"); /* harmony import */ var src_app_administration_testbedreferential_testbedtypecomplementassociation_testbedtypecomplementassociation_service__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! src/app/administration/testbedreferential/testbedtypecomplementassociation/testbedtypecomplementassociation.service */ "./src/app/administration/testbedreferential/testbedtypecomplementassociation/testbedtypecomplementassociation.service.ts"); /* harmony import */ var src_app_mpm_referential_preventivemaintenance_preventivemaintenance_delete_preventivemaintenance_delete_services__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! src/app/mpm/referential/preventivemaintenance/preventivemaintenance-delete/preventivemaintenance-delete.services */ "./src/app/mpm/referential/preventivemaintenance/preventivemaintenance-delete/preventivemaintenance-delete.services.ts"); /* harmony import */ var src_app_validation_specimen_validation_specimen_service__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! src/app/validation-specimen/validation-specimen.service */ "./src/app/validation-specimen/validation-specimen.service.ts"); /* harmony import */ var src_app_validation_specimen_validation_specimen_model__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! src/app/validation-specimen/validation-specimen.model */ "./src/app/validation-specimen/validation-specimen.model.ts"); /* harmony import */ var src_app_administration_barreferentiel_barcopactivityduration_barcopactivityduration_model__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! src/app/administration/barreferentiel/barcopactivityduration/barcopactivityduration.model */ "./src/app/administration/barreferentiel/barcopactivityduration/barcopactivityduration.model.ts"); /* harmony import */ var src_app_administration_barreferentiel_barcopactivityduration_barcopactivityduration_service__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! src/app/administration/barreferentiel/barcopactivityduration/barcopactivityduration.service */ "./src/app/administration/barreferentiel/barcopactivityduration/barcopactivityduration.service.ts"); /* harmony import */ var src_app_mpm_referential_stop_duration_stop_duration_model__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! src/app/mpm/referential/stop-duration/stop-duration.model */ "./src/app/mpm/referential/stop-duration/stop-duration.model.ts"); /* harmony import */ var src_app_mpm_referential_stop_duration_stop_duration_service__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! src/app/mpm/referential/stop-duration/stop-duration.service */ "./src/app/mpm/referential/stop-duration/stop-duration.service.ts"); /* harmony import */ var src_app_mpm_referential_prestationcompanies_prestationcompanies_service__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! src/app/mpm/referential/prestationcompanies/prestationcompanies.service */ "./src/app/mpm/referential/prestationcompanies/prestationcompanies.service.ts"); /* harmony import */ var src_app_mpm_referential_prestationcompanies_prestationcompanies_model__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! src/app/mpm/referential/prestationcompanies/prestationcompanies.model */ "./src/app/mpm/referential/prestationcompanies/prestationcompanies.model.ts"); /* harmony import */ var src_app_administration_testbedreferential_exploitants_exploitants_model__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! src/app/administration/testbedreferential/exploitants/exploitants.model */ "./src/app/administration/testbedreferential/exploitants/exploitants.model.ts"); /* harmony import */ var src_app_administration_testbedreferential_exploitants_exploitants_service__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! src/app/administration/testbedreferential/exploitants/exploitants.service */ "./src/app/administration/testbedreferential/exploitants/exploitants.service.ts"); /* harmony import */ var src_app_mpm_referential_maintenancetask_maintenancetask_service__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! src/app/mpm/referential/maintenancetask/maintenancetask.service */ "./src/app/mpm/referential/maintenancetask/maintenancetask.service.ts"); /* harmony import */ var src_app_mpm_referential_maintenancetask_maintenancetask_model__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! src/app/mpm/referential/maintenancetask/maintenancetask.model */ "./src/app/mpm/referential/maintenancetask/maintenancetask.model.ts"); /* harmony import */ var src_app_mpm_referential_maintenancetask_maintenancetask_delete_maintenancetask_delete_services__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! src/app/mpm/referential/maintenancetask/maintenancetask-delete/maintenancetask-delete.services */ "./src/app/mpm/referential/maintenancetask/maintenancetask-delete/maintenancetask-delete.services.ts"); /* harmony import */ var src_app_administration_referentiel_specimen_type_specimen_type_model__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! src/app/administration/referentiel/specimen-type/specimen-type.model */ "./src/app/administration/referentiel/specimen-type/specimen-type.model.ts"); /* harmony import */ var src_app_administration_referentiel_specimen_type_specimen_type_service__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! src/app/administration/referentiel/specimen-type/specimen-type.service */ "./src/app/administration/referentiel/specimen-type/specimen-type.service.ts"); /* harmony import */ var src_app_administration_referentiel_rs_type_rs_type_model__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(/*! src/app/administration/referentiel/rs-type/rs-type.model */ "./src/app/administration/referentiel/rs-type/rs-type.model.ts"); /* harmony import */ var src_app_administration_referentiel_rs_type_rs_type_service__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(/*! src/app/administration/referentiel/rs-type/rs-type.service */ "./src/app/administration/referentiel/rs-type/rs-type.service.ts"); /* harmony import */ var src_app_administration_referentiel_mobile_device_mobile_device_service__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__(/*! src/app/administration/referentiel/mobile-device/mobile-device.service */ "./src/app/administration/referentiel/mobile-device/mobile-device.service.ts"); /* harmony import */ var src_app_administration_referentiel_mobile_device_mobile_device_model__WEBPACK_IMPORTED_MODULE_82__ = __webpack_require__(/*! src/app/administration/referentiel/mobile-device/mobile-device.model */ "./src/app/administration/referentiel/mobile-device/mobile-device.model.ts"); /* harmony import */ var src_app_administration_referentiel_milestone_milestone_model__WEBPACK_IMPORTED_MODULE_83__ = __webpack_require__(/*! src/app/administration/referentiel/milestone/milestone.model */ "./src/app/administration/referentiel/milestone/milestone.model.ts"); /* harmony import */ var src_app_administration_referentiel_milestone_milestone_service__WEBPACK_IMPORTED_MODULE_84__ = __webpack_require__(/*! src/app/administration/referentiel/milestone/milestone.service */ "./src/app/administration/referentiel/milestone/milestone.service.ts"); /* harmony import */ var src_app_administration_prestationsandprocedures_macro_activity_macro_activity_model__WEBPACK_IMPORTED_MODULE_85__ = __webpack_require__(/*! src/app/administration/prestationsandprocedures/macro-activity/macro-activity.model */ "./src/app/administration/prestationsandprocedures/macro-activity/macro-activity.model.ts"); /* harmony import */ var src_app_administration_prestationsandprocedures_macro_activity_macro_activity_service__WEBPACK_IMPORTED_MODULE_86__ = __webpack_require__(/*! src/app/administration/prestationsandprocedures/macro-activity/macro-activity.service */ "./src/app/administration/prestationsandprocedures/macro-activity/macro-activity.service.ts"); /* harmony import */ var src_app_administration_testbedreferential_vhtechnicalparam_vhtechnicalparam_service__WEBPACK_IMPORTED_MODULE_87__ = __webpack_require__(/*! src/app/administration/testbedreferential/vhtechnicalparam/vhtechnicalparam.service */ "./src/app/administration/testbedreferential/vhtechnicalparam/vhtechnicalparam.service.ts"); /* harmony import */ var src_app_administration_testbedreferential_vhtechnicalparam_vhtechnicalparam_model__WEBPACK_IMPORTED_MODULE_88__ = __webpack_require__(/*! src/app/administration/testbedreferential/vhtechnicalparam/vhtechnicalparam.model */ "./src/app/administration/testbedreferential/vhtechnicalparam/vhtechnicalparam.model.ts"); /* harmony import */ var src_app_administration_levelreferential_stoppage_type_stoppage_type_service__WEBPACK_IMPORTED_MODULE_89__ = __webpack_require__(/*! src/app/administration/levelreferential/stoppage-type/stoppage-type.service */ "./src/app/administration/levelreferential/stoppage-type/stoppage-type.service.ts"); /* harmony import */ var src_app_administration_levelreferential_stoppage_type_stoppage_type_model__WEBPACK_IMPORTED_MODULE_90__ = __webpack_require__(/*! src/app/administration/levelreferential/stoppage-type/stoppage-type.model */ "./src/app/administration/levelreferential/stoppage-type/stoppage-type.model.ts"); /* harmony import */ var src_app_administration_referentiel_fuel_fuel_service__WEBPACK_IMPORTED_MODULE_91__ = __webpack_require__(/*! src/app/administration/referentiel/fuel/fuel.service */ "./src/app/administration/referentiel/fuel/fuel.service.ts"); /* harmony import */ var src_app_administration_referentiel_fuel_fuel_model__WEBPACK_IMPORTED_MODULE_92__ = __webpack_require__(/*! src/app/administration/referentiel/fuel/fuel.model */ "./src/app/administration/referentiel/fuel/fuel.model.ts"); /* harmony import */ var src_app_administration_testbedreferential_external_coswin_external_coswin_model__WEBPACK_IMPORTED_MODULE_93__ = __webpack_require__(/*! src/app/administration/testbedreferential/external-coswin/external-coswin.model */ "./src/app/administration/testbedreferential/external-coswin/external-coswin.model.ts"); /* harmony import */ var src_app_administration_testbedreferential_external_coswin_external_coswin_service__WEBPACK_IMPORTED_MODULE_94__ = __webpack_require__(/*! src/app/administration/testbedreferential/external-coswin/external-coswin.service */ "./src/app/administration/testbedreferential/external-coswin/external-coswin.service.ts"); /* harmony import */ var src_app_administration_testbedreferential_test_type_test_type_service__WEBPACK_IMPORTED_MODULE_95__ = __webpack_require__(/*! src/app/administration/testbedreferential/test-type/test-type.service */ "./src/app/administration/testbedreferential/test-type/test-type.service.ts"); /* harmony import */ var src_app_administration_testbedreferential_test_type_test_type_model__WEBPACK_IMPORTED_MODULE_96__ = __webpack_require__(/*! src/app/administration/testbedreferential/test-type/test-type.model */ "./src/app/administration/testbedreferential/test-type/test-type.model.ts"); /* harmony import */ var src_app_administration_testbedreferential_os_version_os_version_service__WEBPACK_IMPORTED_MODULE_97__ = __webpack_require__(/*! src/app/administration/testbedreferential/os-version/os-version.service */ "./src/app/administration/testbedreferential/os-version/os-version.service.ts"); /* harmony import */ var src_app_administration_testbedreferential_os_version_os_version_model__WEBPACK_IMPORTED_MODULE_98__ = __webpack_require__(/*! src/app/administration/testbedreferential/os-version/os-version.model */ "./src/app/administration/testbedreferential/os-version/os-version.model.ts"); /* harmony import */ var src_app_administration_testbedreferential_expertise_domain_expertise_domain_model__WEBPACK_IMPORTED_MODULE_99__ = __webpack_require__(/*! src/app/administration/testbedreferential/expertise-domain/expertise-domain.model */ "./src/app/administration/testbedreferential/expertise-domain/expertise-domain.model.ts"); /* harmony import */ var src_app_administration_testbedreferential_expertise_domain_expertise_domain_service__WEBPACK_IMPORTED_MODULE_100__ = __webpack_require__(/*! src/app/administration/testbedreferential/expertise-domain/expertise-domain.service */ "./src/app/administration/testbedreferential/expertise-domain/expertise-domain.service.ts"); /* harmony import */ var src_app_administration_testbedreferential_intersystem_intersystem_model__WEBPACK_IMPORTED_MODULE_101__ = __webpack_require__(/*! src/app/administration/testbedreferential/intersystem/intersystem.model */ "./src/app/administration/testbedreferential/intersystem/intersystem.model.ts"); /* harmony import */ var src_app_administration_testbedreferential_intersystem_intersystem_service__WEBPACK_IMPORTED_MODULE_102__ = __webpack_require__(/*! src/app/administration/testbedreferential/intersystem/intersystem.service */ "./src/app/administration/testbedreferential/intersystem/intersystem.service.ts"); var OrganisationMapComponent = /** @class */ (function () { function OrganisationMapComponent(http, orgMapModel, orgMapService, buildingService, meanService, perimeterService, siteService, teamService, campaignService, customerService, shiftService, barProgramLinesService, level0Service, levelsAdminService, level2Service, level1Service, translate, procedureService, snackbarService, prestationService, prestationadminService, batchService, campaignAssociationService, barcopactivitydurationService, servicesService, testbedService, organisationMap, commonServices, maintenanceSupplierService, maintenanceDeleteService, preventivemaintenanceService, preventivemaintenanceDeleteService, maintenancetaskDeleteService, barPrestationService, testbedtypeService, sectorService, testbedComplementService, testbedComplementAssociationService, validateSpecimenService, stopDurationService, prestationCompaniesService, exploitantsService, maintenanceTaskService, specimenTypeService, rsTypeService, mobileService, milestoneService, macroService, vhtechnicalparamService, stoppageService, fuelService, externalCoswinService, testTypeService, osVersionService, expertiseDomainService, interSystemService) { this.http = http; this.orgMapModel = orgMapModel; this.orgMapService = orgMapService; this.buildingService = buildingService; this.meanService = meanService; this.perimeterService = perimeterService; this.siteService = siteService; this.teamService = teamService; this.campaignService = campaignService; this.customerService = customerService; this.shiftService = shiftService; this.barProgramLinesService = barProgramLinesService; this.level0Service = level0Service; this.levelsAdminService = levelsAdminService; this.level2Service = level2Service; this.level1Service = level1Service; this.translate = translate; this.procedureService = procedureService; this.snackbarService = snackbarService; this.prestationService = prestationService; this.prestationadminService = prestationadminService; this.batchService = batchService; this.campaignAssociationService = campaignAssociationService; this.barcopactivitydurationService = barcopactivitydurationService; this.servicesService = servicesService; this.testbedService = testbedService; this.organisationMap = organisationMap; this.commonServices = commonServices; this.maintenanceSupplierService = maintenanceSupplierService; this.maintenanceDeleteService = maintenanceDeleteService; this.preventivemaintenanceService = preventivemaintenanceService; this.preventivemaintenanceDeleteService = preventivemaintenanceDeleteService; this.maintenancetaskDeleteService = maintenancetaskDeleteService; this.barPrestationService = barPrestationService; this.testbedtypeService = testbedtypeService; this.sectorService = sectorService; this.testbedComplementService = testbedComplementService; this.testbedComplementAssociationService = testbedComplementAssociationService; this.validateSpecimenService = validateSpecimenService; this.stopDurationService = stopDurationService; this.prestationCompaniesService = prestationCompaniesService; this.exploitantsService = exploitantsService; this.maintenanceTaskService = maintenanceTaskService; this.specimenTypeService = specimenTypeService; this.rsTypeService = rsTypeService; this.mobileService = mobileService; this.milestoneService = milestoneService; this.macroService = macroService; this.vhtechnicalparamService = vhtechnicalparamService; this.stoppageService = stoppageService; this.fuelService = fuelService; this.externalCoswinService = externalCoswinService; this.testTypeService = testTypeService; this.osVersionService = osVersionService; this.expertiseDomainService = expertiseDomainService; this.interSystemService = interSystemService; this.columnDefs = [ { headerName: 'ID', field: 'id', sortable: true, filter: true, width: 100, checkboxSelection: true }, { headerName: 'ORGANISATION', field: 'label', sortable: true, filter: true, width: 200 } ]; this.enableSaveBtn = true; this.unHideOrganisationBtn = true; } OrganisationMapComponent.prototype.onRowSelected = function (event) { if (this.gridApi.getSelectedRows().length === 0) { this.enableSaveBtn = true; } else { this.enableSaveBtn = false; } }; OrganisationMapComponent.prototype.onGridReady = function (params) { this.gridApi = params.api; }; OrganisationMapComponent.prototype.updateOrganisationList = function () { if (this.gridApi.getSelectedRows().length > 0) { var selectedOrganisation = this.gridApi.getSelectedRows(); var organisationID = void 0; organisationID = selectedOrganisation.map(function (orgId) { return orgId.id; }); var tableName = this.orgMapModel.getTableName(); if (tableName === 'Building') { this.buildingUpdate(organisationID); } else if (tableName === 'Site') { this.siteUpdate(organisationID); } else if (tableName === 'Mean') { this.meanUpdate(organisationID); } else if (tableName === 'Perimeters') { this.perimetersUpdate(organisationID); } else if (tableName === 'Teams') { this.teamsUpdate(organisationID); } else if (tableName === 'Campaign') { this.campaignUpdate(organisationID); } else if (tableName === 'CustomerDirection') { this.customerUpdate(organisationID); } else if (tableName === 'Shifts') { this.shiftUpdate(organisationID); } else if (tableName === 'BarProgramLines') { this.barProgramLinesUpdate(organisationID); } else if (tableName === 'Level_0') { this.level0Update(organisationID); } else if (tableName === 'Levels_Admin') { this.levelsAdminUpdate(organisationID); } else if (tableName === 'level2') { this.level2Update(organisationID); } else if (tableName === 'Level1') { this.Level1Update(organisationID); } else if (tableName === 'Procedure') { this.procedureUpdate(organisationID); } else if (tableName === 'Prestation') { this.prestationUpdate(organisationID); } else if (tableName === 'PrestationAdmin') { this.prestationAdminUpdate(organisationID); } else if (tableName === 'Batch') { this.batchUpdate(organisationID); } else if (tableName === 'CampaignAssociationList') { this.campaignAssociationUpdate(organisationID); } else if (tableName === 'Services') { this.ServicesUpdate(organisationID); } else if (tableName === 'SpecimenType') { this.specimenTypeUpdate(organisationID); } else if (tableName === 'MaintenanceSupplier') { this.maintenancesupplierUpdate(organisationID); } else if (tableName === 'PreventiveMaintenance') { this.preventivemaintenanceUpdate(organisationID); } else if (tableName === 'StopDuration') { this.stopDurationUpdate(organisationID); } else if (tableName === 'Testbed') { // this.testbedUpdate(organisationID); this.orgMapModel.enableOrganisationBtn(false); return; } else if (tableName === 'BarPrestation') { this.barPrestationUpdate(organisationID); } else if (tableName === 'Testbedtype') { this.testbedtypeUpdate(organisationID); } else if (tableName === 'Sector') { this.sectorUpdate(organisationID); } else if (tableName === 'TestbedComplement') { this.testbedComplementUpdate(organisationID); } else if (tableName === 'TestbedComplementAssociation') { this.testbedComplementAssociationUpdate(organisationID); } else if (tableName === 'ValidationSpecimen') { this.validateSpecimenUpdate(organisationID); } else if (tableName === 'PrestationCompanies') { this.prestationCompaniesUpdate(organisationID); } else if (tableName === 'Exploitants') { this.exploitantUpdate(organisationID); } else if (tableName === 'MaintenanceTask') { this.maintenanceTaskUpdate(organisationID); } else if (tableName === 'BarCopActivityDuration') { this.barCopDurationDurationUpdate(organisationID); } else if (tableName === 'RsType') { this.rsTypeUpdate(organisationID); } else if (tableName === 'MobileDevice') { this.mobileDeviceUpdate(organisationID); } else if (tableName === 'Milestone') { this.milestoneUpdate(organisationID); } else if (tableName === 'MacroActivity') { this.macroActivityUpdate(organisationID); } else if (tableName === src_app_administration_testbedreferential_vhtechnicalparam_vhtechnicalparam_model__WEBPACK_IMPORTED_MODULE_88__["VhTechnicalParamEnum"].vhTechnicalParam) { this.vhTechnicalParamUpdate(organisationID); } else if (tableName === 'StoppageType') { this.stoppageUpdate(organisationID); } else if (tableName === 'Fuel') { this.fuelUpdate(organisationID); } else if (tableName === 'ExternalCoswin') { this.externalCoswinUpdate(organisationID); } else if (tableName === 'TestType') { this.testTypeUpdate(organisationID); } else if (tableName === 'OsVersion') { this.osVersionUpdate(organisationID); } else if (tableName === 'ExpertiseDomain') { this.expertiseDomainUpdate(organisationID); } else if (tableName === 'Intersystem') { this.interSystemUpdate(organisationID); } this.orgMapModel.enableOrganisationBtn(true); } }; OrganisationMapComponent.prototype.buildingUpdate = function (organisationID) { var _this = this; var building = new src_app_administration_referentiel_buildings_building_model__WEBPACK_IMPORTED_MODULE_14__["Building"](); building.id = this.orgMapModel.getGridId(); building.organisationId = organisationID; building.ipn = sessionStorage.getItem('uid'); this.buildingService.updateBuildingOrganisationList(building).subscribe(function (response) { if (response.status === 200) { _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); building.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.buildingService.refreshGrid(building); _this.buildingService.initCreate(); // this.hideSaveBtn=true; // this.hideSuccessBtn = false; } else { // this.hideSaveBtn=true; // this.hideFailureBtn=false; } }); }; OrganisationMapComponent.prototype.level0Update = function (organisationID) { var _this = this; var level0 = new src_app_administration_levelreferential_level0_level0_model__WEBPACK_IMPORTED_MODULE_10__["Level0"](); level0.id = this.orgMapModel.getGridId(); level0.organisationId = organisationID; level0.ipn = sessionStorage.getItem('uid'); this.level0Service.updateLevel0OrganisationList(level0).subscribe(function (response) { if (response.status == 200) { _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); level0.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.level0Service.refreshGrid(level0); _this.level0Service.initCreate(); // this.hideSaveBtn=true; // this.hideSuccessBtn = false; } else { // this.hideSaveBtn=true; // this.hideFailureBtn=false; } }); }; OrganisationMapComponent.prototype.levelsAdminUpdate = function (organisationID) { var _this = this; var levelsAdmin = new src_app_administration_levelreferential_levelsadmin_levelsadmin_model__WEBPACK_IMPORTED_MODULE_12__["LevelsAdmin"](); levelsAdmin.id = this.orgMapModel.getGridId(); levelsAdmin.organisationId = organisationID; levelsAdmin.ipn = sessionStorage.getItem('uid'); this.levelsAdminService.updateLevelsAdminOrganisationList(levelsAdmin).subscribe(function (response) { if (response.status == 200) { _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); levelsAdmin.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.levelsAdminService.getLevelsAdminData(levelsAdmin).subscribe(function (result) { _this.levelsAdminService.gridOptions.api.setRowData(result); _this.commonServices.setLevelAdminData(result); _this.levelsAdminService.initCreate(); }); // this.hideSaveBtn=true; // this.hideSuccessBtn = false; } else { // this.hideSaveBtn=true; // this.hideFailureBtn=false; } }); }; OrganisationMapComponent.prototype.meanUpdate = function (organisationID) { var _this = this; var mean = new src_app_administration_referentiel_means_means_model__WEBPACK_IMPORTED_MODULE_15__["Means"](); mean.id = this.orgMapModel.getGridId(); mean.organisationId = organisationID; mean.ipn = sessionStorage.getItem('uid'); this.meanService.updateMeanOrganisationList(mean).subscribe(function (response) { if (response.status == 200) { _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); mean.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.meanService.refreshGrid(mean); _this.meanService.initCreate(); // this.hideSaveBtn=true; // this.hideSuccessBtn = false; } else { // this.hideSaveBtn=true; // this.hideFailureBtn=false; } }); }; OrganisationMapComponent.prototype.perimetersUpdate = function (organisationID) { var _this = this; var perimeter = new src_app_administration_referentiel_perimeters_perimeters_model__WEBPACK_IMPORTED_MODULE_16__["Perimeters"](); perimeter.id = this.orgMapModel.getGridId(); perimeter.organisationId = organisationID; perimeter.ipn = sessionStorage.getItem('uid'); this.perimeterService.updatePerimeterOrganisationList(perimeter).subscribe(function (response) { if (response.status == 200) { _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); perimeter.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.perimeterService.refreshGrid(perimeter); _this.perimeterService.initCreate(); // this.hideSaveBtn=true; // this.hideSuccessBtn = false; } else { // this.hideSaveBtn=true; // this.hideFailureBtn=false; } }); }; OrganisationMapComponent.prototype.siteUpdate = function (organisationID) { var _this = this; var site = new src_app_administration_referentiel_sites_site_model__WEBPACK_IMPORTED_MODULE_5__["Site"](); site.id = this.orgMapModel.getGridId(); site.organisationId = organisationID; site.ipn = sessionStorage.getItem('uid'); this.siteService.updateOrganisationList(site).subscribe(function (response) { if (response.status === 200) { _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); site.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.siteService.getAllSites(site).subscribe(function (result) { _this.siteService.gridOptions.api.setRowData(result); _this.commonServices.setSiteData(result); _this.siteService.initCreate(); }); // this.hideSaveBtn=true; // this.hideSuccessBtn = false; } else { // this.hideSaveBtn=true; // this.hideFailureBtn=false; } }); }; OrganisationMapComponent.prototype.teamsUpdate = function (organisationID) { var _this = this; var team = new src_app_administration_referentiel_teams_teams_model__WEBPACK_IMPORTED_MODULE_9__["Teams"](); team.id = this.orgMapModel.getGridId(); team.organisationId = organisationID; team.ipn = sessionStorage.getItem('uid'); this.teamService.updateTeamOrganisationList(team).subscribe(function (response) { if (response.status == 200) { _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); team.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.teamService.refreshGrid(team); _this.teamService.initCreate(); // this.hideSaveBtn=true; // this.hideSuccessBtn = false; } else { // this.hideSaveBtn=true; // this.hideFailureBtn=false; } }); }; OrganisationMapComponent.prototype.campaignUpdate = function (organisationID) { var _this = this; var campaign = new src_app_administration_referentiel_campaign_campaign_model__WEBPACK_IMPORTED_MODULE_21__["Campaign"](); campaign.id = this.orgMapModel.getGridId(); campaign.organisationId = organisationID; campaign.ipn = sessionStorage.getItem('uid'); this.campaignService.updateCampaignOrganisationList(campaign).subscribe(function (response) { if (response.status == 200) { _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); campaign.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.campaignService.refreshGrid(campaign); _this.campaignService.initCreate(); // this.hideSaveBtn=true; // this.hideSuccessBtn = false; } else { // this.hideSaveBtn=true; // this.hideFailureBtn=false; } }); }; OrganisationMapComponent.prototype.customerUpdate = function (organisationID) { var _this = this; var customer = new src_app_administration_referentiel_customer_customer_model__WEBPACK_IMPORTED_MODULE_23__["CustomerDirection"](); customer.id = this.orgMapModel.getGridId(); customer.organisationId = organisationID; customer.ipn = sessionStorage.getItem('uid'); this.customerService.updateCustomerOrganisationList(customer).subscribe(function (response) { if (response.status == 200) { _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); customer.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.customerService.refreshGrid(customer); _this.customerService.initCreate(); // this.hideSaveBtn=true; // this.hideSuccessBtn = false; } else { // this.hideSaveBtn=true; // this.hideFailureBtn=false; } }); }; OrganisationMapComponent.prototype.shiftUpdate = function (organisationID) { var _this = this; var shifts = new src_app_administration_referentiel_shifts_shifts_model__WEBPACK_IMPORTED_MODULE_25__["Shifts"](); shifts.id = this.orgMapModel.getGridId(); shifts.organisationId = organisationID; shifts.ipn = sessionStorage.getItem('uid'); this.shiftService.updateShiftOrganisationList(shifts).subscribe(function (response) { if (response.body) { _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); shifts.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.shiftService.refreshGrid(shifts); _this.shiftService.initCreate(); } }); }; OrganisationMapComponent.prototype.barProgramLinesUpdate = function (organisationID) { var _this = this; var barProgramLines = new src_app_administration_barreferentiel_barprogramlines_barprogramlines_model__WEBPACK_IMPORTED_MODULE_40__["BarProgramLines"](); barProgramLines.id = this.orgMapModel.getGridId(); barProgramLines.organisationId = organisationID; barProgramLines.ipn = sessionStorage.getItem('uid'); this.barProgramLinesService.updateBarProgramLinesOrganisationList(barProgramLines).subscribe(function (response) { if (response.status == 200) { _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); barProgramLines.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.barProgramLinesService.getAllBarProgramLines(barProgramLines).subscribe(function (result) { _this.barProgramLinesService.gridOptions.api.setRowData(result); _this.commonServices.setBarProgramLinesData(result); _this.barProgramLinesService.initCreate(); }); // this.hideSaveBtn=true; // this.hideSuccessBtn = false; } else { // this.hideSaveBtn=true; // this.hideFailureBtn=false; } }); }; OrganisationMapComponent.prototype.level2Update = function (organisationID) { var _this = this; var level2 = new src_app_administration_levelreferential_level2_level2_model__WEBPACK_IMPORTED_MODULE_28__["Level2"](); level2.id = this.orgMapModel.getGridId(); level2.organisationId = organisationID; level2.ipn = sessionStorage.getItem('uid'); this.level2Service.updateLevel2OrganisationList(level2).subscribe(function (response) { if (response.status == 200) { _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); level2.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.level2Service.refreshGrid(level2); _this.level2Service.initCreate(); // this.hideSaveBtn=true; // this.hideSuccessBtn = false; } else { // this.hideSaveBtn=true; // this.hideFailureBtn=false; } }); }; OrganisationMapComponent.prototype.Level1Update = function (organisationID) { var _this = this; var level1 = new src_app_administration_levelreferential_level1_level1_model__WEBPACK_IMPORTED_MODULE_30__["Level1"](); level1.id = this.orgMapModel.getGridId(); level1.organisationId = organisationID; level1.ipn = sessionStorage.getItem('uid'); this.level1Service.updateLevel1OrganisationList(level1).subscribe(function (response) { if (response.status == 200) { _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); level1.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.level1Service.refreshGrid(level1); _this.level1Service.initCreate(); // this.hideSaveBtn=true; // this.hideSuccessBtn = false; } else { // this.hideSaveBtn=true; // this.hideFailureBtn=false; } }); }; OrganisationMapComponent.prototype.procedureUpdate = function (organisationID) { var _this = this; var procedure = new src_app_administration_prestationsandprocedures_procedure_procedure_model__WEBPACK_IMPORTED_MODULE_32__["Procedure"](); procedure.id = this.orgMapModel.getGridId(); procedure.organisationId = organisationID; procedure.ipn = sessionStorage.getItem('uid'); this.procedureService.updateProcedureOrganisationList(procedure).subscribe(function (response) { if (response.status == 200) { _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); procedure.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.procedureService.refreshGrid(procedure); _this.procedureService.initCreate(); // this.hideSaveBtn=true; // this.hideSuccessBtn = false; } else { // this.hideSaveBtn=true; // this.hideFailureBtn=false; } }); }; OrganisationMapComponent.prototype.prestationUpdate = function (organisationID) { var _this = this; var prestation = new src_app_administration_prestationsandprocedures_prestation_prestation_model__WEBPACK_IMPORTED_MODULE_33__["Prestation"](); prestation.id = this.orgMapModel.getGridId(); prestation.organisationId = organisationID; prestation.ipn = sessionStorage.getItem('uid'); this.prestationService.updatePrestationOrganisationList(prestation).subscribe(function (response) { if (response.status == 200) { _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); prestation.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.prestationService.refreshGrid(prestation); _this.prestationService.initCreate(); // this.hideSaveBtn=true; // this.hideSuccessBtn = false; } else { // this.hideSaveBtn=true; // this.hideFailureBtn=false; } }); }; OrganisationMapComponent.prototype.prestationAdminUpdate = function (organisationID) { var _this = this; var admin = new src_app_administration_prestationsandprocedures_prestationadmin_prestationadmin_model__WEBPACK_IMPORTED_MODULE_36__["PrestationAdmin"](); admin.id = this.orgMapModel.getGridId(); admin.organisationId = organisationID; admin.ipn = sessionStorage.getItem('uid'); this.prestationadminService.updatePrestationAdminOrganisationList(admin).subscribe(function (response) { if (response.status == 200) { _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); admin.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.prestationadminService.getAllPrestationAdmin(admin).subscribe(function (result) { _this.prestationadminService.gridOptions.api.setRowData(result); _this.commonServices.setPrestationAdminData(result); _this.prestationadminService.initCreate(); }); // this.hideSaveBtn=true; // this.hideSuccessBtn = false; } else { // this.hideSaveBtn=true; // this.hideFailureBtn=false; } }); }; OrganisationMapComponent.prototype.batchUpdate = function (organisationID) { var _this = this; var batch = new src_app_administration_referentiel_batch_batch_model__WEBPACK_IMPORTED_MODULE_38__["Batch"](); batch.id = this.orgMapModel.getGridId(); batch.organisationId = organisationID; batch.ipn = sessionStorage.getItem('uid'); this.batchService.updateBatchOrganisationList(batch).subscribe(function (response) { if (response.status == 200) { _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); batch.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.batchService.refreshGrid(batch); _this.batchService.initCreate(); } }); }; OrganisationMapComponent.prototype.ServicesUpdate = function (organisationID) { var _this = this; var services = new src_app_administration_referentiel_services_services_model__WEBPACK_IMPORTED_MODULE_43__["Services"](); services.id = this.orgMapModel.getGridId(); services.organisationId = organisationID; services.ipn = sessionStorage.getItem('uid'); this.servicesService.updateServicesOrganisationList(services).subscribe(function (response) { if (response.status == 200) { _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); services.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.servicesService.refreshGrid(services); _this.servicesService.initCreate(); } }); }; OrganisationMapComponent.prototype.specimenTypeUpdate = function (organisationID) { var _this = this; var specimenType = new src_app_administration_referentiel_specimen_type_specimen_type_model__WEBPACK_IMPORTED_MODULE_77__["SpecimenType"](); specimenType.id = this.orgMapModel.getGridId(); specimenType.organisationId = organisationID; specimenType.ipn = sessionStorage.getItem('uid'); this.specimenTypeService.updateSpecimenTypeOrganisationList(specimenType).subscribe(function (response) { if (response.status == 200) { _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); specimenType.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.specimenTypeService.refreshGrid(specimenType); _this.specimenTypeService.initCreate(); } }); }; OrganisationMapComponent.prototype.maintenancesupplierUpdate = function (organisationID) { var _this = this; var maintenancesupplier = new src_app_mpm_referential_maintenancesupplier_maintenancesupplier_model__WEBPACK_IMPORTED_MODULE_49__["MaintenanceSupplier"](); maintenancesupplier.id = this.orgMapModel.getGridId(); maintenancesupplier.organisationId = organisationID; maintenancesupplier.ipn = sessionStorage.getItem('uid'); this.maintenanceSupplierService.updateMaintenanceSupplierOrganisationList(maintenancesupplier).subscribe(function (response) { if (response.status == 200) { _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); maintenancesupplier.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.maintenanceSupplierService.getMaintenanceSupplierList(maintenancesupplier).subscribe(function (result) { _this.maintenanceSupplierService.gridOptions.api.setRowData(result); _this.commonServices.setMaintenanceSupplierData(result); _this.maintenanceDeleteService.showMaintainenceSupplierDelete(false); _this.maintenanceSupplierService.initCreate(); }); // this.hideSaveBtn=true; // this.hideSuccessBtn = false; } else { // this.hideSaveBtn=true; // this.hideFailureBtn=false; } }); }; OrganisationMapComponent.prototype.preventivemaintenanceUpdate = function (organisationID) { var _this = this; var preventivemaintenance = new src_app_mpm_referential_preventivemaintenance_preventivemaintenance_model__WEBPACK_IMPORTED_MODULE_52__["PreventiveMaintenance"](); preventivemaintenance.id = this.orgMapModel.getGridId(); preventivemaintenance.organisationId = organisationID; preventivemaintenance.ipn = sessionStorage.getItem('uid'); this.preventivemaintenanceService.updatePreventiveMaintenanceOrganisationList(preventivemaintenance).subscribe(function (response) { if (response.status === 200) { _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); preventivemaintenance.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.preventivemaintenanceService.getPreventiveMaintenanceList(preventivemaintenance) .subscribe(function (result) { _this.preventivemaintenanceService.gridOptions.api.setRowData(result); _this.commonServices.setPreventiveMaintenanceData(result); _this.preventivemaintenanceDeleteService.showPreventivemaintenanceDelete(false); _this.preventivemaintenanceService.initCreate(); }); // this.hideSaveBtn=true; // this.hideSuccessBtn = false; } else { // this.hideSaveBtn=true; // this.hideFailureBtn=false; } }); }; OrganisationMapComponent.prototype.barPrestationUpdate = function (organisationID) { var _this = this; var barPrestation = new src_app_administration_barreferentiel_bwrprestation_bwrprestation_model__WEBPACK_IMPORTED_MODULE_54__["BarPrestation"](); barPrestation.id = this.orgMapModel.getGridId(); barPrestation.organisationId = organisationID; barPrestation.ipn = sessionStorage.getItem('uid'); this.barPrestationService.updateBarProgramLinesOrganisationList(barPrestation).subscribe(function (response) { if (response.status == 200) { _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); barPrestation.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.barPrestationService.getAllBarProgramLines(barPrestation).subscribe(function (result) { _this.barPrestationService.gridOptions.api.setRowData(result); _this.commonServices.setBarprestationData(result); }); // this.hideSaveBtn=true; // this.hideSuccessBtn = false; } else { // this.hideSaveBtn=true; // this.hideFailureBtn=false; } }); }; OrganisationMapComponent.prototype.testbedtypeUpdate = function (organisationID) { var _this = this; var testbedtype = new src_app_administration_testbedreferential_testbedtype_testbedtype_model__WEBPACK_IMPORTED_MODULE_56__["Testbedtype"](); testbedtype.id = this.orgMapModel.getGridId(); testbedtype.organisationId = organisationID; testbedtype.ipn = sessionStorage.getItem('uid'); this.testbedtypeService.updateTestbedtypesOrganisationList(testbedtype).subscribe(function (response) { if (response.status == 200) { _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); testbedtype.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.testbedtypeService.getAllTestbedtypes(testbedtype).subscribe(function (result) { _this.testbedtypeService.gridOptions.api.setRowData(result); _this.commonServices.setTestbedtypeData(result); }); // this.hideSaveBtn=true; // this.hideSuccessBtn = false; } else { // this.hideSaveBtn=true; // this.hideFailureBtn=false; } }); }; OrganisationMapComponent.prototype.sectorUpdate = function (organisationID) { var _this = this; var sector = new src_app_administration_testbedreferential_sector_sector_model__WEBPACK_IMPORTED_MODULE_58__["Sector"](); sector.id = this.orgMapModel.getGridId(); sector.organisationId = organisationID; sector.ipn = sessionStorage.getItem('uid'); this.sectorService.updateSectorOrganisationList(sector).subscribe(function (response) { if (response.status == 200) { _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); sector.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.sectorService.getAllSectors(sector).subscribe(function (result) { _this.sectorService.gridOptions.api.setRowData(result); _this.commonServices.setSectorData(result); }); // this.hideSaveBtn=true; // this.hideSuccessBtn = false; } else { // this.hideSaveBtn=true; // this.hideFailureBtn=false; } }); }; OrganisationMapComponent.prototype.testbedComplementUpdate = function (organisationID) { var _this = this; var testbedComplement = new src_app_administration_testbedreferential_testbedcomplement_testbedcomplement_model__WEBPACK_IMPORTED_MODULE_60__["TestbedComplement"](); testbedComplement.id = this.orgMapModel.getGridId(); testbedComplement.organisationId = organisationID; testbedComplement.ipn = sessionStorage.getItem('uid'); this.testbedComplementService.updateTestbedComplementOrganisationList(testbedComplement).subscribe(function (response) { if (response.status == 200) { _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); testbedComplement.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.testbedComplementService.getAllTestbedComplements(testbedComplement).subscribe(function (result) { _this.testbedComplementService.gridOptions.api.setRowData(result); _this.commonServices.setTestbedcomplementData(result); }); // this.hideSaveBtn=true; // this.hideSuccessBtn = false; } else { // this.hideSaveBtn=true; // this.hideFailureBtn=false; } }); }; OrganisationMapComponent.prototype.testbedComplementAssociationUpdate = function (organisationID) { var _this = this; var testbedComplementAssociation = new src_app_administration_testbedreferential_testbedtypecomplementassociation_testbedtypecomplementassociation_model__WEBPACK_IMPORTED_MODULE_61__["TestbedComplementAssociation"](); testbedComplementAssociation.id = this.orgMapModel.getGridId(); testbedComplementAssociation.organisationId = organisationID; testbedComplementAssociation.ipn = sessionStorage.getItem('uid'); this.testbedComplementAssociationService.updateTestbedComplementAssociationOrganisationList(testbedComplementAssociation).subscribe(function (response) { if (response.status == 200) { _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); testbedComplementAssociation.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.testbedComplementAssociationService.getAllTestbedComplementAssociation(testbedComplementAssociation).subscribe(function (result) { _this.testbedComplementAssociationService.gridOptions.api.setRowData(result); _this.commonServices.setTestbedComplementAssociationData(result); }); // this.hideSaveBtn=true; // this.hideSuccessBtn = false; } else { // this.hideSaveBtn=true; // this.hideFailureBtn=false; } }); }; OrganisationMapComponent.prototype.campaignAssociationUpdate = function (organisationID) { var _this = this; var admin = new src_app_administration_referentiel_campaignadministration_campaignadministration_model__WEBPACK_IMPORTED_MODULE_45__["CampaignAssociation"](); admin.id = this.orgMapModel.getGridId(); admin.organisationId = organisationID; admin.ipn = sessionStorage.getItem('uid'); this.campaignAssociationService.updateCampaignAssociationOrganisationList(admin).subscribe(function (response) { if (response.status == 200) { _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); admin.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.campaignAssociationService.getAllCampaignAssociations(admin).subscribe(function (result) { _this.campaignAssociationService.gridOptions.api.setRowData(result); _this.commonServices.setCampaignAssociationData(result); _this.campaignAssociationService.initCreate(); }); // this.hideSaveBtn=true; // this.hideSuccessBtn = false; } else { // this.hideSaveBtn=true; // this.hideFailureBtn=false; } }); }; OrganisationMapComponent.prototype.barCopDurationDurationUpdate = function (organisationID) { var _this = this; var admin = new src_app_administration_barreferentiel_barcopactivityduration_barcopactivityduration_model__WEBPACK_IMPORTED_MODULE_66__["BarCopActivityDuration"](); admin.id = this.orgMapModel.getGridId(); admin.organisationId = organisationID; admin.ipn = sessionStorage.getItem('uid'); this.barcopactivitydurationService.updateBarCopDurationOrganisationList(admin).subscribe(function (response) { if (response.status == 200) { _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); admin.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.barcopactivitydurationService.getAllBarCopActivityDurationList(admin).subscribe(function (result) { _this.barcopactivitydurationService.gridOptions.api.setRowData(result); _this.barcopactivitydurationService.setBarCopDurationArray(result); _this.barcopactivitydurationService.initCreate(); }); // this.hideSaveBtn=true; // this.hideSuccessBtn = false; } else { // this.hideSaveBtn=true; // this.hideFailureBtn=false; } }); }; OrganisationMapComponent.prototype.validateSpecimenUpdate = function (organisationID) { var _this = this; var admin = new src_app_validation_specimen_validation_specimen_model__WEBPACK_IMPORTED_MODULE_65__["ValidationSpecimen"](); admin.id = this.orgMapModel.getGridId(); admin.organisationId = organisationID; admin.ipn = sessionStorage.getItem('uid'); this.validateSpecimenService.updateValidationSpecimenOrganisationList(admin).subscribe(function (response) { if (response.status == 200) { _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); admin.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.validateSpecimenService.getValidationSpecimenData(admin).subscribe(function (result) { _this.validateSpecimenService.gridOptions.api.setRowData(result); _this.commonServices.setValidationSpecimenData(result); _this.validateSpecimenService.initCreate(); }); // this.hideSaveBtn=true; // this.hideSuccessBtn = false; } else { // this.hideSaveBtn=true; // this.hideFailureBtn=false; } }); }; OrganisationMapComponent.prototype.stopDurationUpdate = function (organisationID) { var _this = this; var stopDuration = new src_app_mpm_referential_stop_duration_stop_duration_model__WEBPACK_IMPORTED_MODULE_68__["StopDuration"](); stopDuration.id = this.orgMapModel.getGridId(); stopDuration.organisationId = organisationID; stopDuration.ipn = sessionStorage.getItem('uid'); this.stopDurationService.updateStopDurationOrganisationList(stopDuration).subscribe(function (response) { if (response.status === 200) { _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); stopDuration.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.stopDurationService.getStopDurationList(stopDuration) .subscribe(function (result) { _this.stopDurationService.gridOptions.api.setRowData(result); _this.commonServices.setStopDurationData(result); // this.maintenanceDeleteService.showMaintainenceSupplierDelete(false); _this.stopDurationService.initCreate(); }); // this.hideSaveBtn=true; // this.hideSuccessBtn = false; } else { // this.hideSaveBtn=true; // this.hideFailureBtn=false; } }); }; OrganisationMapComponent.prototype.prestationCompaniesUpdate = function (organisationID) { var _this = this; var prestationcompanies = new src_app_mpm_referential_prestationcompanies_prestationcompanies_model__WEBPACK_IMPORTED_MODULE_71__["Prestationcompanies"](); prestationcompanies.id = this.orgMapModel.getGridId(); prestationcompanies.organisationId = organisationID; prestationcompanies.ipn = sessionStorage.getItem('uid'); this.prestationCompaniesService.updatePrestationcompaniesOrganisation(prestationcompanies).subscribe(function (response) { if (response.status === 200) { _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); prestationcompanies.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.prestationCompaniesService.getPrestationcompaniesList(prestationcompanies) .subscribe(function (result) { _this.prestationCompaniesService.gridOptions.api.setRowData(result); _this.commonServices.setPrestationCompaniesData(result); _this.prestationCompaniesService.initCreate(); }); // this.hideSaveBtn=true; // this.hideSuccessBtn = false; } else { // this.hideSaveBtn=true; // this.hideFailureBtn=false; } }); }; OrganisationMapComponent.prototype.maintenanceTaskUpdate = function (organisationID) { var _this = this; var maintenanceTaskUpdate = new src_app_mpm_referential_maintenancetask_maintenancetask_model__WEBPACK_IMPORTED_MODULE_75__["MaintenanceTask"](); maintenanceTaskUpdate.id = this.orgMapModel.getGridId(); maintenanceTaskUpdate.organisationId = organisationID; maintenanceTaskUpdate.ipn = sessionStorage.getItem('uid'); this.maintenanceTaskService.updateMaintenanceTaskOrganisationList(maintenanceTaskUpdate).subscribe(function (response) { if (response.status == 200) { _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); maintenanceTaskUpdate.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.maintenanceTaskService.getMaintenanceTaskServiceList(maintenanceTaskUpdate).subscribe(function (result) { _this.maintenanceTaskService.gridOptions.api.setRowData(result); _this.commonServices.setMaintenanceTaskData(result); _this.maintenancetaskDeleteService.showmaintenancetaskDelete(false); _this.maintenanceTaskService.initCreate(); }); // this.hideSaveBtn=true; // this.hideSuccessBtn = false; } else { // this.hideSaveBtn=true; // this.hideFailureBtn=false; } }); }; OrganisationMapComponent.prototype.onClickLoadOrganisationList = function () { var _this = this; // this.hideSaveBtn = false; // this.hideFailureBtn = true; // this.hideSuccessBtn = true; this.orgMapService.getOrganisationList().subscribe(function (data) { _this.rowData = data; _this.gridApi.setRowData(data); _this.selectCheckBox(_this.rowData); }); this.enableSaveBtn = true; }; OrganisationMapComponent.prototype.selectCheckBox = function (data) { var _this = this; var arrSelectedOrgId = this.orgMapModel.getAlreadyMappedOrgId(); setTimeout(function () { _this.gridApi.forEachNode(function (node) { arrSelectedOrgId.forEach(function (element) { if (element === node.data.id) { node.setSelected(true); } }); }); }, 200); }; OrganisationMapComponent.prototype.exploitantUpdate = function (organisationID) { var _this = this; var exploitant = new src_app_administration_testbedreferential_exploitants_exploitants_model__WEBPACK_IMPORTED_MODULE_72__["Exploitants"](); exploitant.id = this.orgMapModel.getGridId(); exploitant.organisationId = organisationID; exploitant.ipn = sessionStorage.getItem('uid'); this.exploitantsService.updateExploitantOrganisationList(exploitant).subscribe(function (response) { if (response.status == 200) { _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); exploitant.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.exploitantsService.getAllExploitant(exploitant).subscribe(function (result) { _this.exploitantsService.gridOptions.api.setRowData(result); _this.commonServices.setExploitantData(result); }); // this.hideSaveBtn=true; // this.hideSuccessBtn = false; } else { // this.hideSaveBtn=true; // this.hideFailureBtn=false; } }); }; OrganisationMapComponent.prototype.rsTypeUpdate = function (organisationID) { var _this = this; var rsType = new src_app_administration_referentiel_rs_type_rs_type_model__WEBPACK_IMPORTED_MODULE_79__["RsType"](); rsType.id = this.orgMapModel.getGridId(); rsType.organisationId = organisationID; rsType.ipn = sessionStorage.getItem('uid'); this.rsTypeService.updateRsTypeOrganisationList(rsType).subscribe(function (response) { if (response.status == 200) { _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); rsType.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.rsTypeService.refreshGrid(rsType); _this.rsTypeService.initCreate(); } }); }; OrganisationMapComponent.prototype.mobileDeviceUpdate = function (organisationID) { var _this = this; var mobileDevice = new src_app_administration_referentiel_mobile_device_mobile_device_model__WEBPACK_IMPORTED_MODULE_82__["MobileDevice"](); mobileDevice.id = this.orgMapModel.getGridId(); mobileDevice.organisationId = organisationID; mobileDevice.ipn = sessionStorage.getItem('uid'); this.mobileService.updateMobileDeviceOrganisationList(mobileDevice).subscribe(function (response) { if (response.status == 200) { _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); mobileDevice.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.mobileService.refreshGrid(mobileDevice); _this.mobileService.initCreate(); } }); }; OrganisationMapComponent.prototype.milestoneUpdate = function (organisationID) { var _this = this; var milestone = new src_app_administration_referentiel_milestone_milestone_model__WEBPACK_IMPORTED_MODULE_83__["Milestone"](); milestone.id = this.orgMapModel.getGridId(); milestone.organisationId = organisationID; milestone.ipn = sessionStorage.getItem('uid'); this.milestoneService.updateMilestoneOrganisationList(milestone).subscribe(function (respone) { if (respone.status == 200) { _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); milestone.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.milestoneService.refreshGrid(milestone); _this.milestoneService.initCreate(); } }); }; OrganisationMapComponent.prototype.stoppageUpdate = function (organisationID) { var _this = this; var stoppage = new src_app_administration_levelreferential_stoppage_type_stoppage_type_model__WEBPACK_IMPORTED_MODULE_90__["StoppageType"](); stoppage.id = this.orgMapModel.getGridId(); stoppage.organisationId = organisationID; stoppage.ipn = sessionStorage.getItem('uid'); this.stoppageService.updateStoppageOrganisationList(stoppage).subscribe(function (respone) { if (respone.status == 200) { _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); stoppage.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.stoppageService.refreshGrid(); _this.stoppageService.initCreate(); } }); }; OrganisationMapComponent.prototype.macroActivityUpdate = function (organisationID) { var _this = this; var macro = new src_app_administration_prestationsandprocedures_macro_activity_macro_activity_model__WEBPACK_IMPORTED_MODULE_85__["MacroActivity"](); macro.id = this.orgMapModel.getGridId(); macro.organisationId = organisationID; macro.ipn = sessionStorage.getItem('uid'); this.macroService.updateMacroActivityOrganisationList(macro).subscribe(function (response) { if (response.status == 200) { _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); macro.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.macroService.refreshGrid(macro); _this.macroService.initCreate(); } }); }; OrganisationMapComponent.prototype.vhTechnicalParamUpdate = function (organisationID) { var _this = this; var vhTechnicalParam = new src_app_administration_testbedreferential_vhtechnicalparam_vhtechnicalparam_model__WEBPACK_IMPORTED_MODULE_88__["VhTechnicalParam"](); vhTechnicalParam.id = this.orgMapModel.getGridId(); vhTechnicalParam.organisationId = organisationID; vhTechnicalParam.ipn = sessionStorage.getItem('uid'); this.vhtechnicalparamService.updateVhTechParamOrganisationList(vhTechnicalParam).subscribe(function (response) { if (response.status == 200) { _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); vhTechnicalParam.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.vhtechnicalparamService.getAllVhTechnicalParam(vhTechnicalParam).subscribe(function (result) { _this.vhtechnicalparamService.gridOptions.api.setRowData(result); _this.commonServices.VhTechnicalParamList = result; }); } }); }; OrganisationMapComponent.prototype.fuelUpdate = function (organisationID) { var _this = this; var fuel = new src_app_administration_referentiel_fuel_fuel_model__WEBPACK_IMPORTED_MODULE_92__["Fuel"](); fuel.id = this.orgMapModel.getGridId(); fuel.organisationId = organisationID; fuel.ipn = sessionStorage.getItem('uid'); this.fuelService.updateFuelOrganisationList(fuel).subscribe(function (respone) { if (respone.status === 200) { _this.snackbarService.showSnackBar(src_app_administration_referentiel_fuel_fuel_model__WEBPACK_IMPORTED_MODULE_92__["errorMessages"].successMsg, src_app_administration_referentiel_fuel_fuel_model__WEBPACK_IMPORTED_MODULE_92__["errorMessages"].success); fuel.organisationId = JSON.parse(sessionStorage.getItem(src_app_administration_referentiel_fuel_fuel_model__WEBPACK_IMPORTED_MODULE_92__["errorMessages"].orgId)); _this.fuelService.refreshGrid(fuel); _this.fuelService.initCreate(); } }); }; OrganisationMapComponent.prototype.externalCoswinUpdate = function (organisationID) { var _this = this; var externalCoswin = new src_app_administration_testbedreferential_external_coswin_external_coswin_model__WEBPACK_IMPORTED_MODULE_93__["ExternalCoswin"](); externalCoswin.id = this.orgMapModel.getGridId(); externalCoswin.organisationId = organisationID; externalCoswin.ipn = sessionStorage.getItem('uid'); this.externalCoswinService.updateExternalCoswinOrganisationList(externalCoswin).subscribe(function (respone) { if (respone.status === 200) { _this.snackbarService.showSnackBar(src_app_administration_referentiel_fuel_fuel_model__WEBPACK_IMPORTED_MODULE_92__["errorMessages"].successMsg, src_app_administration_referentiel_fuel_fuel_model__WEBPACK_IMPORTED_MODULE_92__["errorMessages"].success); externalCoswin.organisationId = JSON.parse(sessionStorage.getItem(src_app_administration_referentiel_fuel_fuel_model__WEBPACK_IMPORTED_MODULE_92__["errorMessages"].orgId)); _this.externalCoswinService.refreshGrid(); _this.externalCoswinService.initCreate(); } }); }; OrganisationMapComponent.prototype.testTypeUpdate = function (organisationID) { var _this = this; var testType = new src_app_administration_testbedreferential_test_type_test_type_model__WEBPACK_IMPORTED_MODULE_96__["TestType"](); testType.id = this.orgMapModel.getGridId(); testType.organisationId = organisationID; testType.ipn = sessionStorage.getItem('uid'); this.testTypeService.updateTestTypeOrganisationList(testType).subscribe(function (respone) { if (respone.status === 200) { _this.snackbarService.showSnackBar(src_app_administration_referentiel_fuel_fuel_model__WEBPACK_IMPORTED_MODULE_92__["errorMessages"].successMsg, src_app_administration_referentiel_fuel_fuel_model__WEBPACK_IMPORTED_MODULE_92__["errorMessages"].success); testType.organisationId = JSON.parse(sessionStorage.getItem(src_app_administration_referentiel_fuel_fuel_model__WEBPACK_IMPORTED_MODULE_92__["errorMessages"].orgId)); _this.testTypeService.refreshGrid(); _this.testTypeService.initCreate(); } }); }; OrganisationMapComponent.prototype.expertiseDomainUpdate = function (organisationID) { var _this = this; var expertiseDomain = new src_app_administration_testbedreferential_expertise_domain_expertise_domain_model__WEBPACK_IMPORTED_MODULE_99__["ExpertiseDomain"](); expertiseDomain.id = this.orgMapModel.getGridId(); expertiseDomain.organisationId = organisationID; expertiseDomain.ipn = sessionStorage.getItem('uid'); this.expertiseDomainService.updateExpertiseDomainOrganisationList(expertiseDomain).subscribe(function (respone) { if (respone.status === 200) { _this.snackbarService.showSnackBar(src_app_administration_referentiel_fuel_fuel_model__WEBPACK_IMPORTED_MODULE_92__["errorMessages"].successMsg, src_app_administration_referentiel_fuel_fuel_model__WEBPACK_IMPORTED_MODULE_92__["errorMessages"].success); expertiseDomain.organisationId = JSON.parse(sessionStorage.getItem(src_app_administration_referentiel_fuel_fuel_model__WEBPACK_IMPORTED_MODULE_92__["errorMessages"].orgId)); _this.expertiseDomainService.refreshGrid(); _this.expertiseDomainService.initCreate(); } }); }; OrganisationMapComponent.prototype.osVersionUpdate = function (organisationID) { var _this = this; var osVersion = new src_app_administration_testbedreferential_os_version_os_version_model__WEBPACK_IMPORTED_MODULE_98__["OsVersion"](); osVersion.id = this.orgMapModel.getGridId(); osVersion.organisationId = organisationID; osVersion.ipn = sessionStorage.getItem('uid'); this.osVersionService.updateOsVersionOrganisationList(osVersion).subscribe(function (response) { if (response.status === 200) { _this.snackbarService.showSnackBar(src_app_administration_referentiel_fuel_fuel_model__WEBPACK_IMPORTED_MODULE_92__["errorMessages"].successMsg, src_app_administration_referentiel_fuel_fuel_model__WEBPACK_IMPORTED_MODULE_92__["errorMessages"].success); osVersion.organisationId = JSON.parse(sessionStorage.getItem(src_app_administration_referentiel_fuel_fuel_model__WEBPACK_IMPORTED_MODULE_92__["errorMessages"].orgId)); _this.osVersionService.refreshGrid(); _this.osVersionService.initCreate(); } }); }; OrganisationMapComponent.prototype.interSystemUpdate = function (organisationID) { var _this = this; var interSystem = new src_app_administration_testbedreferential_intersystem_intersystem_model__WEBPACK_IMPORTED_MODULE_101__["Intersystem"](); interSystem.id = this.orgMapModel.getGridId(); interSystem.organisationId = organisationID; interSystem.ipn = sessionStorage.getItem('uid'); this.interSystemService.updateInterSystemOrganisationList(interSystem).subscribe(function (response) { if (response.status === 200) { _this.snackbarService.showSnackBar(src_app_administration_referentiel_fuel_fuel_model__WEBPACK_IMPORTED_MODULE_92__["errorMessages"].successMsg, src_app_administration_referentiel_fuel_fuel_model__WEBPACK_IMPORTED_MODULE_92__["errorMessages"].success); interSystem.organisationId = JSON.parse(sessionStorage.getItem(src_app_administration_referentiel_fuel_fuel_model__WEBPACK_IMPORTED_MODULE_92__["errorMessages"].orgId)); _this.interSystemService.refreshGrid(); _this.interSystemService.initCreate(); } }); }; /** refreshGrid(tableName: String) { this.orgMapModel.enableOrganisationBtn(true); console.log(' Table --> ', tableName); if(tableName === 'Site') { this.siteService.refreshGrid(); } if(tableName === 'Campaign') { this.campaignService.refreshGrid(); } if(tableName === 'Building') { this.buildingService.refreshGrid(); } if(tableName === 'Mean') { this.meanService.refreshGrid(); } if(tableName === 'BarCampaign') { this.barCampaignService.refreshGrid(); } if(tableName === 'BarProgramLines') { this.barProgramLinesService.refreshGrid(); } if(tableName === 'CustomerDirection') { this.customerService.refreshGrid(); } if(tableName === 'Teams') { this.teamService.refreshGrid(); } if(tableName === 'Perimeters') { this.perimeterService.refreshGrid(); } } */ OrganisationMapComponent.prototype.ngOnInit = function () { $('[data-role="popover"]').popover(); $('.selectpicker').selectpicker(); }; tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewChild"])('agGrid'), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:type", ag_grid_angular__WEBPACK_IMPORTED_MODULE_3__["AgGridNg2"]) ], OrganisationMapComponent.prototype, "agGrid", void 0); OrganisationMapComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'organisation-map', template: __webpack_require__(/*! ./organisation-btn.component.html */ "./src/app/common/common-button/organisation-map-btn/organisation-btn.component.html"), styles: [__webpack_require__(/*! ./organisation-btn.component.css */ "./src/app/common/common-button/organisation-map-btn/organisation-btn.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"], _organisation_map_model__WEBPACK_IMPORTED_MODULE_4__["OrganisationMapModel"], _organisation_map_service__WEBPACK_IMPORTED_MODULE_6__["OrganisationMapService"], src_app_administration_referentiel_buildings_buildings_service__WEBPACK_IMPORTED_MODULE_17__["BuildingsService"], src_app_administration_referentiel_means_means_service__WEBPACK_IMPORTED_MODULE_18__["MeansService"], src_app_administration_referentiel_perimeters_perimeters_service__WEBPACK_IMPORTED_MODULE_19__["PerimetersService"], src_app_administration_referentiel_sites_sites_service__WEBPACK_IMPORTED_MODULE_7__["SitesService"], src_app_administration_referentiel_teams_teams_service__WEBPACK_IMPORTED_MODULE_8__["TeamsService"], src_app_administration_referentiel_campaign_campaign_service__WEBPACK_IMPORTED_MODULE_20__["CampaignService"], src_app_administration_referentiel_customer_customer_service__WEBPACK_IMPORTED_MODULE_22__["CustomerDirectionService"], src_app_administration_referentiel_shifts_shifts_service__WEBPACK_IMPORTED_MODULE_24__["ShiftsService"], src_app_administration_barreferentiel_barprogramlines_barprogramlines_service__WEBPACK_IMPORTED_MODULE_41__["BarProgramLinesService"], src_app_administration_levelreferential_level0_level0_service__WEBPACK_IMPORTED_MODULE_11__["Level0Service"], src_app_administration_levelreferential_levelsadmin_levelsadmin_service__WEBPACK_IMPORTED_MODULE_13__["LevelsAdminService"], src_app_administration_levelreferential_level2_level2_service__WEBPACK_IMPORTED_MODULE_27__["Level2Service"], src_app_administration_levelreferential_level1_level1_service__WEBPACK_IMPORTED_MODULE_29__["Level1Service"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_26__["TranslateService"], src_app_administration_prestationsandprocedures_procedure_procedure_service__WEBPACK_IMPORTED_MODULE_31__["ProcedureService"], _snackbar_snackbar_component_service__WEBPACK_IMPORTED_MODULE_39__["SnackBarService"], src_app_administration_prestationsandprocedures_prestation_prestation_service__WEBPACK_IMPORTED_MODULE_34__["PrestationService"], src_app_administration_prestationsandprocedures_prestationadmin_prestationadmin_service__WEBPACK_IMPORTED_MODULE_35__["PrestationadminService"], src_app_administration_referentiel_batch_batch_service__WEBPACK_IMPORTED_MODULE_37__["BatchService"], src_app_administration_referentiel_campaignadministration_campaignadministration_service__WEBPACK_IMPORTED_MODULE_44__["CampaignadministrationService"], src_app_administration_barreferentiel_barcopactivityduration_barcopactivityduration_service__WEBPACK_IMPORTED_MODULE_67__["BarcopactivitydurationService"], src_app_administration_referentiel_services_services_service__WEBPACK_IMPORTED_MODULE_42__["ServicesService"], src_app_administration_testbedreferential_testbed_testbed_services__WEBPACK_IMPORTED_MODULE_46__["TestbedService"], _organisation_map_model__WEBPACK_IMPORTED_MODULE_4__["OrganisationMapModel"], _common_services__WEBPACK_IMPORTED_MODULE_47__["CommonServices"], src_app_mpm_referential_maintenancesupplier_maintenancesupplier_service__WEBPACK_IMPORTED_MODULE_48__["MaintenanceSupplierService"], src_app_mpm_referential_maintenancesupplier_maintenancesupplier_delete_maintenancesupplier_delete_services__WEBPACK_IMPORTED_MODULE_50__["MaintenanceDeleteService"], src_app_mpm_referential_preventivemaintenance_preventivemaintenance_service__WEBPACK_IMPORTED_MODULE_51__["PreventiveMaintenanceService"], src_app_mpm_referential_preventivemaintenance_preventivemaintenance_delete_preventivemaintenance_delete_services__WEBPACK_IMPORTED_MODULE_63__["PreventivemaintenanceDeleteService"], src_app_mpm_referential_maintenancetask_maintenancetask_delete_maintenancetask_delete_services__WEBPACK_IMPORTED_MODULE_76__["MaintenancetaskDeleteService"], src_app_administration_barreferentiel_bwrprestation_bwrprestation_service__WEBPACK_IMPORTED_MODULE_53__["BarPrestationService"], src_app_administration_testbedreferential_testbedtype_testbedtype_service__WEBPACK_IMPORTED_MODULE_55__["TestbedtypeService"], src_app_administration_testbedreferential_sector_sector_service__WEBPACK_IMPORTED_MODULE_57__["SectorService"], src_app_administration_testbedreferential_testbedcomplement_testbedcomplement_service__WEBPACK_IMPORTED_MODULE_59__["TestbedComplementService"], src_app_administration_testbedreferential_testbedtypecomplementassociation_testbedtypecomplementassociation_service__WEBPACK_IMPORTED_MODULE_62__["TestbedComplementAssociationService"], src_app_validation_specimen_validation_specimen_service__WEBPACK_IMPORTED_MODULE_64__["ValidationSpecimenService"], src_app_mpm_referential_stop_duration_stop_duration_service__WEBPACK_IMPORTED_MODULE_69__["StopDurationService"], src_app_mpm_referential_prestationcompanies_prestationcompanies_service__WEBPACK_IMPORTED_MODULE_70__["PrestationcompaniesService"], src_app_administration_testbedreferential_exploitants_exploitants_service__WEBPACK_IMPORTED_MODULE_73__["ExploitantsService"], src_app_mpm_referential_maintenancetask_maintenancetask_service__WEBPACK_IMPORTED_MODULE_74__["MaintenanceTaskService"], src_app_administration_referentiel_specimen_type_specimen_type_service__WEBPACK_IMPORTED_MODULE_78__["SpecimenTypeService"], src_app_administration_referentiel_rs_type_rs_type_service__WEBPACK_IMPORTED_MODULE_80__["RsTypeService"], src_app_administration_referentiel_mobile_device_mobile_device_service__WEBPACK_IMPORTED_MODULE_81__["MobileDeviceService"], src_app_administration_referentiel_milestone_milestone_service__WEBPACK_IMPORTED_MODULE_84__["MilestoneService"], src_app_administration_prestationsandprocedures_macro_activity_macro_activity_service__WEBPACK_IMPORTED_MODULE_86__["MacroActivityService"], src_app_administration_testbedreferential_vhtechnicalparam_vhtechnicalparam_service__WEBPACK_IMPORTED_MODULE_87__["VhtechnicalparamService"], src_app_administration_levelreferential_stoppage_type_stoppage_type_service__WEBPACK_IMPORTED_MODULE_89__["StoppageTypeService"], src_app_administration_referentiel_fuel_fuel_service__WEBPACK_IMPORTED_MODULE_91__["FuelService"], src_app_administration_testbedreferential_external_coswin_external_coswin_service__WEBPACK_IMPORTED_MODULE_94__["ExternalCoswinService"], src_app_administration_testbedreferential_test_type_test_type_service__WEBPACK_IMPORTED_MODULE_95__["TestTypeService"], src_app_administration_testbedreferential_os_version_os_version_service__WEBPACK_IMPORTED_MODULE_97__["OsVersionService"], src_app_administration_testbedreferential_expertise_domain_expertise_domain_service__WEBPACK_IMPORTED_MODULE_100__["ExpertiseDomainService"], src_app_administration_testbedreferential_intersystem_intersystem_service__WEBPACK_IMPORTED_MODULE_102__["IntersystemService"]]) ], OrganisationMapComponent); return OrganisationMapComponent; }()); /***/ }), /***/ "./src/app/common/common-button/organisation-map-btn/organisation-map.model.ts": /*!*************************************************************************************!*\ !*** ./src/app/common/common-button/organisation-map-btn/organisation-map.model.ts ***! \*************************************************************************************/ /*! exports provided: OrganisationMapModel */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "OrganisationMapModel", function() { return OrganisationMapModel; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); var OrganisationMapModel = /** @class */ (function () { function OrganisationMapModel() { this.enableOrgBtn = true; } OrganisationMapModel.prototype.enableOrganisationBtn = function (condition) { this.enableOrgBtn = condition; }; OrganisationMapModel.prototype.setGridId = function (param, alreadyMappedOrgId, tableName) { this.tableName = tableName; this.gridID = param; this.alreadyMappedOrgId = alreadyMappedOrgId; }; OrganisationMapModel.prototype.getGridId = function () { return this.gridID; }; OrganisationMapModel.prototype.getTableName = function () { return this.tableName; }; OrganisationMapModel.prototype.getAlreadyMappedOrgId = function () { return this.alreadyMappedOrgId; }; OrganisationMapModel = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])() ], OrganisationMapModel); return OrganisationMapModel; }()); /***/ }), /***/ "./src/app/common/common-button/organisation-map-btn/organisation-map.service.ts": /*!***************************************************************************************!*\ !*** ./src/app/common/common-button/organisation-map-btn/organisation-map.service.ts ***! \***************************************************************************************/ /*! exports provided: OrganisationMapService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "OrganisationMapService", function() { return OrganisationMapService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); var OrganisationMapService = /** @class */ (function () { function OrganisationMapService(http) { this.http = http; this.baseString = src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].apiURL; } OrganisationMapService.prototype.getOrganisationList = function () { return this.http.get(this.baseString + '/getOrganisationList'); }; OrganisationMapService.prototype.getOrganisationRegId = function (organisationMapModel) { return this.http.post(this.baseString + '/getOrganisationRegId/', organisationMapModel); }; OrganisationMapService.prototype.getOrganizationIds = function () { return this.organizationIds; }; OrganisationMapService.prototype.setOrganizationIds = function (organizationIds) { this.organizationIds = organizationIds; }; OrganisationMapService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]]) ], OrganisationMapService); return OrganisationMapService; }()); /***/ }), /***/ "./src/app/common/common-tpm-routing.module.ts": /*!*****************************************************!*\ !*** ./src/app/common/common-tpm-routing.module.ts ***! \*****************************************************/ /*! exports provided: CommonTpmRoutingModule */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CommonTpmRoutingModule", function() { return CommonTpmRoutingModule; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js"); /* harmony import */ var _error_error_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./error/error.component */ "./src/app/common/error/error.component.ts"); /* harmony import */ var _snackbar_snackbar_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./snackbar/snackbar.component */ "./src/app/common/snackbar/snackbar.component.ts"); var routes = [ { path: 'err', component: _error_error_component__WEBPACK_IMPORTED_MODULE_3__["ErrorComponent"] }, { path: 'snackbar', component: _snackbar_snackbar_component__WEBPACK_IMPORTED_MODULE_4__["SnackbarComponent"] } ]; var CommonTpmRoutingModule = /** @class */ (function () { function CommonTpmRoutingModule() { } CommonTpmRoutingModule = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"])({ imports: [_angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterModule"].forChild(routes)], exports: [_angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterModule"]] }) ], CommonTpmRoutingModule); return CommonTpmRoutingModule; }()); /***/ }), /***/ "./src/app/common/common.services.ts": /*!*******************************************!*\ !*** ./src/app/common/common.services.ts ***! \*******************************************/ /*! exports provided: CommonServices */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CommonServices", function() { return CommonServices; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var src_app_administration_referentiel_buildings_building_model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/app/administration/referentiel/buildings/building.model */ "./src/app/administration/referentiel/buildings/building.model.ts"); /* harmony import */ var _administration_referentiel_sites_sites_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../administration/referentiel/sites/sites.service */ "./src/app/administration/referentiel/sites/sites.service.ts"); /* harmony import */ var _administration_referentiel_buildings_buildings_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../administration/referentiel/buildings/buildings.service */ "./src/app/administration/referentiel/buildings/buildings.service.ts"); /* harmony import */ var _import_import_services__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./import/import.services */ "./src/app/common/import/import.services.ts"); /* harmony import */ var _administration_referentiel_means_means_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../administration/referentiel/means/means.service */ "./src/app/administration/referentiel/means/means.service.ts"); /* harmony import */ var _administration_levelreferential_level0_level0_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../administration/levelreferential/level0/level0.service */ "./src/app/administration/levelreferential/level0/level0.service.ts"); /* harmony import */ var _administration_levelreferential_level1_level1_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../administration/levelreferential/level1/level1.service */ "./src/app/administration/levelreferential/level1/level1.service.ts"); /* harmony import */ var _administration_levelreferential_level2_level2_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../administration/levelreferential/level2/level2.service */ "./src/app/administration/levelreferential/level2/level2.service.ts"); /* harmony import */ var _administration_levelreferential_levelsadmin_levelsadmin_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../administration/levelreferential/levelsadmin/levelsadmin.service */ "./src/app/administration/levelreferential/levelsadmin/levelsadmin.service.ts"); /* harmony import */ var _administration_referentiel_means_means_model__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../administration/referentiel/means/means.model */ "./src/app/administration/referentiel/means/means.model.ts"); /* harmony import */ var _administration_levelreferential_level0_level0_model__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../administration/levelreferential/level0/level0.model */ "./src/app/administration/levelreferential/level0/level0.model.ts"); /* harmony import */ var _administration_levelreferential_level1_level1_model__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../administration/levelreferential/level1/level1.model */ "./src/app/administration/levelreferential/level1/level1.model.ts"); /* harmony import */ var _administration_levelreferential_level2_level2_model__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../administration/levelreferential/level2/level2.model */ "./src/app/administration/levelreferential/level2/level2.model.ts"); /* harmony import */ var _administration_referentiel_campaign_campaign_model__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../administration/referentiel/campaign/campaign.model */ "./src/app/administration/referentiel/campaign/campaign.model.ts"); /* harmony import */ var _administration_referentiel_campaign_campaign_service__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../administration/referentiel/campaign/campaign.service */ "./src/app/administration/referentiel/campaign/campaign.service.ts"); /* harmony import */ var _administration_referentiel_batch_batch_model__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../administration/referentiel/batch/batch.model */ "./src/app/administration/referentiel/batch/batch.model.ts"); /* harmony import */ var _administration_referentiel_batch_batch_service__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../administration/referentiel/batch/batch.service */ "./src/app/administration/referentiel/batch/batch.service.ts"); /* harmony import */ var _administration_prestationsandprocedures_prestation_prestation_model__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../administration/prestationsandprocedures/prestation/prestation.model */ "./src/app/administration/prestationsandprocedures/prestation/prestation.model.ts"); /* harmony import */ var _administration_prestationsandprocedures_procedure_procedure_model__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../administration/prestationsandprocedures/procedure/procedure.model */ "./src/app/administration/prestationsandprocedures/procedure/procedure.model.ts"); /* harmony import */ var _administration_referentiel_teams_teams_model__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../administration/referentiel/teams/teams.model */ "./src/app/administration/referentiel/teams/teams.model.ts"); /* harmony import */ var _administration_referentiel_services_services_model__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../administration/referentiel/services/services.model */ "./src/app/administration/referentiel/services/services.model.ts"); /* harmony import */ var _administration_referentiel_perimeters_perimeters_model__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../administration/referentiel/perimeters/perimeters.model */ "./src/app/administration/referentiel/perimeters/perimeters.model.ts"); /* harmony import */ var _administration_referentiel_customer_customer_model__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../administration/referentiel/customer/customer.model */ "./src/app/administration/referentiel/customer/customer.model.ts"); /* harmony import */ var _administration_referentiel_shifts_shifts_model__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../administration/referentiel/shifts/shifts.model */ "./src/app/administration/referentiel/shifts/shifts.model.ts"); /* harmony import */ var _administration_referentiel_services_services_service__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ../administration/referentiel/services/services.service */ "./src/app/administration/referentiel/services/services.service.ts"); /* harmony import */ var _administration_referentiel_perimeters_perimeters_service__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ../administration/referentiel/perimeters/perimeters.service */ "./src/app/administration/referentiel/perimeters/perimeters.service.ts"); /* harmony import */ var _administration_prestationsandprocedures_prestation_prestation_service__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ../administration/prestationsandprocedures/prestation/prestation.service */ "./src/app/administration/prestationsandprocedures/prestation/prestation.service.ts"); /* harmony import */ var _administration_prestationsandprocedures_procedure_procedure_service__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ../administration/prestationsandprocedures/procedure/procedure.service */ "./src/app/administration/prestationsandprocedures/procedure/procedure.service.ts"); /* harmony import */ var _administration_prestationsandprocedures_prestationadmin_prestationadmin_service__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ../administration/prestationsandprocedures/prestationadmin/prestationadmin.service */ "./src/app/administration/prestationsandprocedures/prestationadmin/prestationadmin.service.ts"); /* harmony import */ var _administration_referentiel_teams_teams_service__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ../administration/referentiel/teams/teams.service */ "./src/app/administration/referentiel/teams/teams.service.ts"); /* harmony import */ var _administration_referentiel_customer_customer_service__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ../administration/referentiel/customer/customer.service */ "./src/app/administration/referentiel/customer/customer.service.ts"); /* harmony import */ var _administration_referentiel_shifts_shifts_service__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ../administration/referentiel/shifts/shifts.service */ "./src/app/administration/referentiel/shifts/shifts.service.ts"); /* harmony import */ var _administration_barreferentiel_barprogramlines_barprogramlines_service__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ../administration/barreferentiel/barprogramlines/barprogramlines.service */ "./src/app/administration/barreferentiel/barprogramlines/barprogramlines.service.ts"); /* harmony import */ var _administration_barreferentiel_bwrprestation_bwrprestation_service__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ../administration/barreferentiel/bwrprestation/bwrprestation.service */ "./src/app/administration/barreferentiel/bwrprestation/bwrprestation.service.ts"); /* harmony import */ var _saisie_activate_activate_service__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ../saisie/activate/activate.service */ "./src/app/saisie/activate/activate.service.ts"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _administration_referentiel_campaignadministration_campaignadministration_service__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ../administration/referentiel/campaignadministration/campaignadministration.service */ "./src/app/administration/referentiel/campaignadministration/campaignadministration.service.ts"); /* harmony import */ var _administration_testbedreferential_testbedtype_testbedtype_model__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ../administration/testbedreferential/testbedtype/testbedtype.model */ "./src/app/administration/testbedreferential/testbedtype/testbedtype.model.ts"); /* harmony import */ var _administration_testbedreferential_testbedtype_testbedtype_service__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ../administration/testbedreferential/testbedtype/testbedtype.service */ "./src/app/administration/testbedreferential/testbedtype/testbedtype.service.ts"); /* harmony import */ var _administration_testbedreferential_testbed_testbed_services__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ../administration/testbedreferential/testbed/testbed-services */ "./src/app/administration/testbedreferential/testbed/testbed-services.ts"); /* harmony import */ var _administration_testbedreferential_sector_sector_service__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ../administration/testbedreferential/sector/sector.service */ "./src/app/administration/testbedreferential/sector/sector.service.ts"); /* harmony import */ var _administration_testbedreferential_testbedcomplement_testbedcomplement_model__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ../administration/testbedreferential/testbedcomplement/testbedcomplement.model */ "./src/app/administration/testbedreferential/testbedcomplement/testbedcomplement.model.ts"); /* harmony import */ var _administration_testbedreferential_testbedcomplement_testbedcomplement_service__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ../administration/testbedreferential/testbedcomplement/testbedcomplement.service */ "./src/app/administration/testbedreferential/testbedcomplement/testbedcomplement.service.ts"); /* harmony import */ var _administration_testbedreferential_testbedtypecomplementassociation_testbedtypecomplementassociation_model__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ../administration/testbedreferential/testbedtypecomplementassociation/testbedtypecomplementassociation.model */ "./src/app/administration/testbedreferential/testbedtypecomplementassociation/testbedtypecomplementassociation.model.ts"); /* harmony import */ var _administration_testbedreferential_testbedtypecomplementassociation_testbedtypecomplementassociation_service__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ../administration/testbedreferential/testbedtypecomplementassociation/testbedtypecomplementassociation.service */ "./src/app/administration/testbedreferential/testbedtypecomplementassociation/testbedtypecomplementassociation.service.ts"); /* harmony import */ var _mpm_referential_maintenancesupplier_maintenancesupplier_model__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ../mpm/referential/maintenancesupplier/maintenancesupplier.model */ "./src/app/mpm/referential/maintenancesupplier/maintenancesupplier.model.ts"); /* harmony import */ var _mpm_referential_maintenancesupplier_maintenancesupplier_service__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ../mpm/referential/maintenancesupplier/maintenancesupplier.service */ "./src/app/mpm/referential/maintenancesupplier/maintenancesupplier.service.ts"); /* harmony import */ var _mpm_referential_preventivemaintenance_preventivemaintenance_model__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ../mpm/referential/preventivemaintenance/preventivemaintenance.model */ "./src/app/mpm/referential/preventivemaintenance/preventivemaintenance.model.ts"); /* harmony import */ var _mpm_referential_preventivemaintenance_preventivemaintenance_service__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ../mpm/referential/preventivemaintenance/preventivemaintenance.service */ "./src/app/mpm/referential/preventivemaintenance/preventivemaintenance.service.ts"); /* harmony import */ var _validation_specimen_validation_specimen_model__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ../validation-specimen/validation-specimen.model */ "./src/app/validation-specimen/validation-specimen.model.ts"); /* harmony import */ var _validation_specimen_validation_specimen_service__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ../validation-specimen/validation-specimen.service */ "./src/app/validation-specimen/validation-specimen.service.ts"); /* harmony import */ var _mpm_referential_stop_duration_stop_duration_model__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ../mpm/referential/stop-duration/stop-duration.model */ "./src/app/mpm/referential/stop-duration/stop-duration.model.ts"); /* harmony import */ var _mpm_referential_stop_duration_stop_duration_service__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ../mpm/referential/stop-duration/stop-duration.service */ "./src/app/mpm/referential/stop-duration/stop-duration.service.ts"); /* harmony import */ var _mpm_referential_prestationcompanies_prestationcompanies_model__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ../mpm/referential/prestationcompanies/prestationcompanies.model */ "./src/app/mpm/referential/prestationcompanies/prestationcompanies.model.ts"); /* harmony import */ var _mpm_referential_prestationcompanies_prestationcompanies_service__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ../mpm/referential/prestationcompanies/prestationcompanies.service */ "./src/app/mpm/referential/prestationcompanies/prestationcompanies.service.ts"); /* harmony import */ var _mpm_referential_maintenancetask_maintenancetask_model__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ../mpm/referential/maintenancetask/maintenancetask.model */ "./src/app/mpm/referential/maintenancetask/maintenancetask.model.ts"); /* harmony import */ var _mpm_referential_maintenancetask_maintenancetask_service__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ../mpm/referential/maintenancetask/maintenancetask.service */ "./src/app/mpm/referential/maintenancetask/maintenancetask.service.ts"); /* harmony import */ var src_app_validation_specimen_validation_specimen_ts_list_validation_specimen_ts_list_service__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! src/app/validation-specimen/validation-specimen-ts-list/validation-specimen-ts-list.service */ "./src/app/validation-specimen/validation-specimen-ts-list/validation-specimen-ts-list.service.ts"); /* harmony import */ var _administration_referentiel_specimen_type_specimen_type_model__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ../administration/referentiel/specimen-type/specimen-type.model */ "./src/app/administration/referentiel/specimen-type/specimen-type.model.ts"); /* harmony import */ var _administration_referentiel_specimen_type_specimen_type_service__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ../administration/referentiel/specimen-type/specimen-type.service */ "./src/app/administration/referentiel/specimen-type/specimen-type.service.ts"); /* harmony import */ var _administration_referentiel_rs_type_rs_type_model__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ../administration/referentiel/rs-type/rs-type.model */ "./src/app/administration/referentiel/rs-type/rs-type.model.ts"); /* harmony import */ var _administration_referentiel_rs_type_rs_type_service__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ../administration/referentiel/rs-type/rs-type.service */ "./src/app/administration/referentiel/rs-type/rs-type.service.ts"); /* harmony import */ var _administration_referentiel_mobile_device_mobile_device_model__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ../administration/referentiel/mobile-device/mobile-device.model */ "./src/app/administration/referentiel/mobile-device/mobile-device.model.ts"); /* harmony import */ var _administration_referentiel_mobile_device_mobile_device_service__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ../administration/referentiel/mobile-device/mobile-device.service */ "./src/app/administration/referentiel/mobile-device/mobile-device.service.ts"); /* harmony import */ var _administration_referentiel_milestone_milestone_model__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ../administration/referentiel/milestone/milestone.model */ "./src/app/administration/referentiel/milestone/milestone.model.ts"); /* harmony import */ var _administration_referentiel_milestone_milestone_service__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ../administration/referentiel/milestone/milestone.service */ "./src/app/administration/referentiel/milestone/milestone.service.ts"); /* harmony import */ var _administration_prestationsandprocedures_macro_activity_macro_activity_model__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ../administration/prestationsandprocedures/macro-activity/macro-activity.model */ "./src/app/administration/prestationsandprocedures/macro-activity/macro-activity.model.ts"); /* harmony import */ var _administration_prestationsandprocedures_macro_activity_macro_activity_service__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ../administration/prestationsandprocedures/macro-activity/macro-activity.service */ "./src/app/administration/prestationsandprocedures/macro-activity/macro-activity.service.ts"); /* harmony import */ var _administration_referentiel_referentiel_model__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ../administration/referentiel/referentiel.model */ "./src/app/administration/referentiel/referentiel.model.ts"); /* harmony import */ var _saisie_crrpp_mqm_channels_mqmChannels_service__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! ../saisie/crrpp/mqm-channels/mqmChannels.service */ "./src/app/saisie/crrpp/mqm-channels/mqmChannels.service.ts"); /* harmony import */ var _administration_referentiel_fuel_fuel_model__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ../administration/referentiel/fuel/fuel.model */ "./src/app/administration/referentiel/fuel/fuel.model.ts"); /* harmony import */ var _administration_referentiel_fuel_fuel_service__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ../administration/referentiel/fuel/fuel.service */ "./src/app/administration/referentiel/fuel/fuel.service.ts"); var CommonServices = /** @class */ (function () { function CommonServices(importService, meanservice, level0Service, level1Service, level2Service, levelsAdminService, validationSpecimenService, campaignService, batchService, siteService, servicesService, perimeterService, buildingService, prestationService, procedureService, prestationAdminService, campaignAssociationService, meansService, teamsService, customerDirectionsService, shiftService, barProgramLinesService, barprestationService, testBedService, activityService, testbedtypeService, sectorService, testbedComplementService, testbedComplementAssociationService, maintenanceSupplierService, preventivemaintenanceService, stopDurationService, prestationCompaniesServices, maintenancetaskServices, httpClient, validationSequenceService, specimenTypeServ, rsTypeService, mobileService, milestoneService, macroService, mqmChannelsService, fuelService) { this.importService = importService; this.meanservice = meanservice; this.level0Service = level0Service; this.level1Service = level1Service; this.level2Service = level2Service; this.levelsAdminService = levelsAdminService; this.validationSpecimenService = validationSpecimenService; this.campaignService = campaignService; this.batchService = batchService; this.siteService = siteService; this.servicesService = servicesService; this.perimeterService = perimeterService; this.buildingService = buildingService; this.prestationService = prestationService; this.procedureService = procedureService; this.prestationAdminService = prestationAdminService; this.campaignAssociationService = campaignAssociationService; this.meansService = meansService; this.teamsService = teamsService; this.customerDirectionsService = customerDirectionsService; this.shiftService = shiftService; this.barProgramLinesService = barProgramLinesService; this.barprestationService = barprestationService; this.testBedService = testBedService; this.activityService = activityService; this.testbedtypeService = testbedtypeService; this.sectorService = sectorService; this.testbedComplementService = testbedComplementService; this.testbedComplementAssociationService = testbedComplementAssociationService; this.maintenanceSupplierService = maintenanceSupplierService; this.preventivemaintenanceService = preventivemaintenanceService; this.stopDurationService = stopDurationService; this.prestationCompaniesServices = prestationCompaniesServices; this.maintenancetaskServices = maintenancetaskServices; this.httpClient = httpClient; this.validationSequenceService = validationSequenceService; this.specimenTypeServ = specimenTypeServ; this.rsTypeService = rsTypeService; this.mobileService = mobileService; this.milestoneService = milestoneService; this.macroService = macroService; this.mqmChannelsService = mqmChannelsService; this.fuelService = fuelService; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_39__["environment"].apiURL; } CommonServices.prototype.getGridOptions = function () { return this.gridOptions; }; CommonServices.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; CommonServices.prototype.getGridApi = function () { return this.gridApi; }; CommonServices.prototype.setGridAPi = function (gridApi) { this.gridApi = gridApi; }; CommonServices.prototype.getCurrentTab = function () { return this.currentTab; }; CommonServices.prototype.setCurrentTab = function (currentTab) { this.currentTab = currentTab; }; CommonServices.prototype.getLanguage = function () { return this.language; }; CommonServices.prototype.setLanguage = function (language) { this.language = language; }; CommonServices.prototype.getSiteData = function () { return this.siteData; }; CommonServices.prototype.setSiteData = function (siteData) { this.siteData = siteData; }; CommonServices.prototype.getMeanData = function () { return this.meanData; }; CommonServices.prototype.setBuildingData = function (buildingData) { this.buildData = buildingData; }; CommonServices.prototype.getBuildingData = function () { return this.buildData; }; CommonServices.prototype.setMeanData = function (meanData) { this.meanData = meanData; }; CommonServices.prototype.getLevel0Data = function () { return this.level0Data; }; CommonServices.prototype.setLevel0Data = function (level0Data) { this.level0Data = level0Data; }; CommonServices.prototype.getLevel1Data = function () { return this.level1Data; }; CommonServices.prototype.setLevel1Data = function (level1Data) { this.level1Data = level1Data; }; CommonServices.prototype.getLevel2Data = function () { return this.level2Data; }; CommonServices.prototype.setLevel2Data = function (level2Data) { this.level2Data = level2Data; }; CommonServices.prototype.getLevelAdminData = function () { return this.levelAdminData; }; CommonServices.prototype.setLevelAdminData = function (levelsAdmin) { this.levelAdminData = levelsAdmin; }; CommonServices.prototype.getValidationSpecimenData = function () { return this.validationSpecimenData; }; CommonServices.prototype.setValidationSpecimenData = function (validationSpecimenData) { this.validationSpecimenData = validationSpecimenData; }; CommonServices.prototype.getPrestationData = function () { return this.prestationData; }; CommonServices.prototype.setPrestationData = function (prestation) { this.prestationData = prestation; }; CommonServices.prototype.getProcedureData = function () { return this.procedureData; }; CommonServices.prototype.setProcedureData = function (procedure) { this.procedureData = procedure; }; CommonServices.prototype.getTeamData = function () { return this.teamData; }; CommonServices.prototype.setTeamData = function (team) { this.teamData = team; }; CommonServices.prototype.getServicesData = function () { return this.servicesData; }; CommonServices.prototype.setServicesData = function (services) { this.servicesData = services; }; CommonServices.prototype.getSpecimenTypeData = function () { return this.specimenTypeData; }; CommonServices.prototype.setSpecimenTypeData = function (specimenType) { this.specimenTypeData = specimenType; }; CommonServices.prototype.setRsTypeData = function (rsType) { this.rsTypeData = rsType; }; CommonServices.prototype.getRsTypeData = function () { return this.rsTypeData; }; CommonServices.prototype.getMobileDeviceData = function () { return this.mobileDeviceData; }; CommonServices.prototype.setMobileDeviceData = function (mobile) { this.mobileDeviceData = mobile; }; CommonServices.prototype.setMilestoneData = function (milestone) { this.milestoneData = milestone; }; CommonServices.prototype.getMilestoneData = function () { return this.milestoneData; }; CommonServices.prototype.getPerimeterData = function () { return this.perimeterData; }; CommonServices.prototype.setPerimeterData = function (perimeter) { this.perimeterData = perimeter; }; CommonServices.prototype.setMacroActivityData = function (macro) { this.macroActivityData = macro; }; CommonServices.prototype.getMacroActivityData = function () { return this.macroActivityData; }; CommonServices.prototype.getCustomerData = function () { return this.customerData; }; CommonServices.prototype.setCustomerData = function (customer) { this.customerData = customer; }; CommonServices.prototype.getShifts = function () { return this.shifts; }; CommonServices.prototype.setShifts = function (shifts) { this.shifts = shifts; }; CommonServices.prototype.setCampaignData = function (campaign) { this.campaignData = campaign; }; CommonServices.prototype.getCampaignData = function () { return this.campaignData; }; CommonServices.prototype.setBatchData = function (batch) { this.batchData = batch; }; CommonServices.prototype.getBatchData = function () { return this.batchData; }; CommonServices.prototype.getPrestationAdminData = function () { return this.prestationAdminData; }; CommonServices.prototype.setPrestationAdminData = function (prestationAdmin) { this.prestationAdminData = prestationAdmin; }; CommonServices.prototype.setCampaignAssociationData = function (campaignAssociationData) { this.campaignAssociationData = campaignAssociationData; }; CommonServices.prototype.getCampaignAssociationData = function () { return this.campaignAssociationData; }; CommonServices.prototype.setBarProgramLinesData = function (barProgramLinesData) { this.barProgramLinesData = barProgramLinesData; }; CommonServices.prototype.getBarProgramLinesData = function () { return this.barProgramLinesData; }; CommonServices.prototype.getBarprestationData = function () { return this.barprestationData; }; CommonServices.prototype.setBarprestationData = function (barprestationData) { this.barprestationData = barprestationData; }; CommonServices.prototype.getTestBedData = function () { return this.testBedData; }; CommonServices.prototype.setTestBedData = function (testBedData) { this.testBedData = testBedData; }; CommonServices.prototype.setCoswinTestbedData = function (coswinTestbedData) { this.coswinTestbedData = coswinTestbedData; }; CommonServices.prototype.getCoswinTestbedData = function () { return this.coswinTestbedData; }; CommonServices.prototype.setAstralTestbedData = function (astralTestbedData) { this.astralTestbedData = astralTestbedData; }; CommonServices.prototype.getAstralTestbedData = function () { return this.astralTestbedData; }; CommonServices.prototype.setGpsTestbedData = function (gpsTestbedData) { this.gpsTestbedData = gpsTestbedData; }; CommonServices.prototype.getGpsTestbedData = function () { return this.gpsTestbedData; }; CommonServices.prototype.getFailureActivityData = function () { return this.failureActivityData; }; CommonServices.prototype.setFailureActivityData = function (failureActivityData) { this.failureActivityData = failureActivityData; }; CommonServices.prototype.getfailureActivityDataEmissionCD = function () { return this.failureActivityDataEmissionCD; }; CommonServices.prototype.setfailureActivityDataEmissionCD = function (failureActivityDataEmissionCD) { this.failureActivityDataEmissionCD = failureActivityDataEmissionCD; }; CommonServices.prototype.getEvEngineData = function () { return this.evEngineData; }; CommonServices.prototype.setEvEngineData = function (evEngineData) { this.evEngineData = evEngineData; }; CommonServices.prototype.getFilterActivityFormData = function () { return this.filterActivityFormData; }; CommonServices.prototype.setFilterActivityFormData = function (filterActivityFormData) { this.filterActivityFormData = filterActivityFormData; }; CommonServices.prototype.getCurrentActivityOperation = function () { return this.currentActivityOperation; }; CommonServices.prototype.setCurrentActivityOperation = function (currentActivityOperation) { this.currentActivityOperation = currentActivityOperation; }; CommonServices.prototype.setSacreData = function (sacreData) { this.sacreData = sacreData; }; CommonServices.prototype.getSacreData = function () { return this.sacreData; }; CommonServices.prototype.setEngineReliabilityActivityData = function (engineReliabilityActivityData) { this.engineReliabilityActivityData = engineReliabilityActivityData; }; CommonServices.prototype.getEngineReliabilityActivityData = function () { return this.engineReliabilityActivityData; }; CommonServices.prototype.setEngineTuningActivityData = function (engineTuningActivityData) { this.engineTuningActivityData = engineTuningActivityData; }; CommonServices.prototype.getEngineTuningActivityData = function () { return this.engineTuningActivityData; }; CommonServices.prototype.setActivityData = function (activity) { this.activityWrapperData = activity; }; CommonServices.prototype.getActivityData = function () { return this.activityWrapperData; }; CommonServices.prototype.getAlreadyUsedData = function () { return this.alreadyUsedData; }; CommonServices.prototype.setAlreadyUsedData = function (alreadyUsedData) { this.alreadyUsedData = alreadyUsedData; }; CommonServices.prototype.setRollActivityData = function (rollActivityData) { this.rollActivityData = rollActivityData; }; CommonServices.prototype.getRollActivityData = function () { return this.rollActivityData; }; CommonServices.prototype.getDirectoryData = function () { return this.directoryData; }; CommonServices.prototype.getProfileData = function () { return this.profileData; }; CommonServices.prototype.setDirectoryData = function (directoryData) { this.directoryData = directoryData; }; CommonServices.prototype.setProfileData = function (profileData) { this.profileData = profileData; }; CommonServices.prototype.getmean = function () { return this.mean; }; CommonServices.prototype.setmean = function (mean) { this.mean = mean; }; CommonServices.prototype.setTestbedtypeData = function (testbedtype) { this.testbedtypeData = testbedtype; }; CommonServices.prototype.getTestbedtypeData = function () { return this.testbedtypeData; }; CommonServices.prototype.setSectorData = function (sector) { this.sectorData = sector; }; CommonServices.prototype.getSectorData = function () { return this.sectorData; }; CommonServices.prototype.setExploitantData = function (exploitant) { this.exploitantData = exploitant; }; CommonServices.prototype.getExploitantData = function () { return this.exploitantData; }; CommonServices.prototype.setTestbedcomplementData = function (testbedcomplement) { this.testbedcomplementData = testbedcomplement; }; CommonServices.prototype.getTestbedcomplementData = function () { return this.testbedcomplementData; }; CommonServices.prototype.setTestbedComplementAssociationData = function (testbedComplementAssociation) { this.testbedComplementAssociationData = testbedComplementAssociation; }; CommonServices.prototype.getTestbedComplementAssociationData = function () { return this.testbedComplementAssociationData; }; CommonServices.prototype.setMaintenanceSupplierData = function (maintenancesupplier) { this.maintenancesupplierData = maintenancesupplier; }; CommonServices.prototype.getMaintenanceSupplierData = function () { return this.maintenancesupplierData; }; CommonServices.prototype.setPreventiveMaintenanceData = function (preventivemaintenance) { this.preventivemaintenanceData = preventivemaintenance; }; CommonServices.prototype.getPreventiveMaintenanceData = function () { return this.preventivemaintenanceData; }; CommonServices.prototype.setStopDurationData = function (stopDuration) { this.stopDurationData = stopDuration; }; CommonServices.prototype.getStopDurationData = function () { return this.stopDurationData; }; CommonServices.prototype.setPrestationCompaniesData = function (prestationCompanies) { this.prestationCompaniesData = prestationCompanies; }; CommonServices.prototype.getPrestationCompaniesData = function () { return this.prestationCompaniesData; }; CommonServices.prototype.setMaintenanceTaskData = function (maintenanceTask) { this.maintenancetaskData = maintenanceTask; }; CommonServices.prototype.getMaintenanceTaskData = function () { return this.maintenancetaskData; }; CommonServices.prototype.getKeyValue = function (obj, value) { for (var i = 0; i < obj.length; i++) { if (!isNaN(obj[i]) || !isNaN(parseInt(value))) { if ((obj[i].label) === value) { return obj[i].id; } } else { if (value !== undefined && (obj[i].label).toUpperCase().trim() === value.toUpperCase().trim()) { return obj[i].id; } } } }; CommonServices.prototype.getMeans = function () { var _this = this; var means = new _administration_referentiel_means_means_model__WEBPACK_IMPORTED_MODULE_11__["Means"](); means.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); this.meanservice.getAllMeans(means).subscribe(function (result) { return _this.setMeanData(result); }); }; CommonServices.prototype.getLevel0 = function () { var _this = this; var level0 = new _administration_levelreferential_level0_level0_model__WEBPACK_IMPORTED_MODULE_12__["Level0"](); level0.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); this.level0Service.getLevel0Data(level0).subscribe(function (result) { return _this.setLevel0Data(result); }); }; CommonServices.prototype.getLevel1 = function () { var _this = this; var level1 = new _administration_levelreferential_level1_level1_model__WEBPACK_IMPORTED_MODULE_13__["Level1"](); level1.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); this.level1Service.getAllLevel1(level1).subscribe(function (result) { return _this.setLevel1Data(result); }); }; CommonServices.prototype.getLevel2 = function () { var _this = this; var level2 = new _administration_levelreferential_level2_level2_model__WEBPACK_IMPORTED_MODULE_14__["Level2"](); level2.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); this.level2Service.getAllLevel2(level2).subscribe(function (result) { return _this.setLevel2Data(result); }); }; CommonServices.prototype.getBatch = function () { var _this = this; var batch = new _administration_referentiel_batch_batch_model__WEBPACK_IMPORTED_MODULE_17__["Batch"](); batch.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); this.batchService.getAllBatch(batch).subscribe(function (result) { return _this.setBatchData(result); }); }; CommonServices.prototype.getServices = function () { var _this = this; var services = new _administration_referentiel_services_services_model__WEBPACK_IMPORTED_MODULE_22__["Services"](); services.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); this.servicesService.getAllServices(services).subscribe(function (result) { return _this.setServicesData(result); }); }; CommonServices.prototype.getSpecimenType = function () { var _this = this; var specimenType = new _administration_referentiel_specimen_type_specimen_type_model__WEBPACK_IMPORTED_MODULE_62__["SpecimenType"](); specimenType.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); this.specimenTypeServ.getAllSpecimenType(specimenType).subscribe(function (result) { return _this.setSpecimenTypeData(result); }); }; CommonServices.prototype.getRsType = function () { var _this = this; var rsType = new _administration_referentiel_rs_type_rs_type_model__WEBPACK_IMPORTED_MODULE_64__["RsType"](); rsType.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); this.rsTypeService.getAllRsType(rsType).subscribe(function (result) { return _this.setRsTypeData(result); }); }; CommonServices.prototype.getMobileDevice = function () { var _this = this; var mobileDevice = new _administration_referentiel_mobile_device_mobile_device_model__WEBPACK_IMPORTED_MODULE_66__["MobileDevice"](); mobileDevice.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); this.mobileService.getAllMobileDevice(mobileDevice).subscribe(function (result) { return _this.setMobileDeviceData(result); }); }; CommonServices.prototype.getMilestone = function () { var _this = this; var milestone = new _administration_referentiel_milestone_milestone_model__WEBPACK_IMPORTED_MODULE_68__["Milestone"](); milestone.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); this.milestoneService.getAllMilestone(milestone).subscribe(function (result) { return _this.setMilestoneData(result); }); }; CommonServices.prototype.getPerimeter = function () { var _this = this; var perimeter = new _administration_referentiel_perimeters_perimeters_model__WEBPACK_IMPORTED_MODULE_23__["Perimeters"](); perimeter.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); this.perimeterService.getAllPerimeters(perimeter).subscribe(function (result) { return _this.setPerimeterData(result); }); }; CommonServices.prototype.getBuilding = function () { var _this = this; var building = new src_app_administration_referentiel_buildings_building_model__WEBPACK_IMPORTED_MODULE_2__["Building"](); building.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); this.buildingService.getAllBuildings(building).subscribe(function (result) { return _this.setBuildingData(result); }); }; CommonServices.prototype.getCampaign = function () { var _this = this; var campaign = new _administration_referentiel_campaign_campaign_model__WEBPACK_IMPORTED_MODULE_15__["Campaign"](); campaign.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); this.campaignService.getAllCampaigns(campaign).subscribe(function (result) { return _this.setCampaignData(result); }); }; CommonServices.prototype.getPrestation = function () { var _this = this; var prestation = new _administration_prestationsandprocedures_prestation_prestation_model__WEBPACK_IMPORTED_MODULE_19__["Prestation"](); prestation.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); this.prestationService.getAllPrestation(prestation).subscribe(function (result) { return _this.setPrestationData(result); }); }; CommonServices.prototype.getProcedure = function () { var _this = this; var procedure = new _administration_prestationsandprocedures_procedure_procedure_model__WEBPACK_IMPORTED_MODULE_20__["Procedure"](); procedure.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); this.procedureService.getAllProcedure(procedure).subscribe(function (result) { return _this.setProcedureData(result); }); }; CommonServices.prototype.getMacroActivity = function () { var _this = this; var macro = new _administration_prestationsandprocedures_macro_activity_macro_activity_model__WEBPACK_IMPORTED_MODULE_70__["MacroActivity"](); macro.organisationId = JSON.parse(sessionStorage.getItem(_administration_referentiel_referentiel_model__WEBPACK_IMPORTED_MODULE_72__["constants"].orgId)); this.macroService.getAllMacroActivity(macro).subscribe(function (result) { return _this.setMacroActivityData(result); }); }; CommonServices.prototype.getTeams = function () { var _this = this; var team = new _administration_referentiel_teams_teams_model__WEBPACK_IMPORTED_MODULE_21__["Teams"](); team.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); this.teamsService.getAllTeams(team).subscribe(function (result) { return _this.setTeamData(result); }); }; CommonServices.prototype.getCustomerDirections = function () { var _this = this; var customerDirection = new _administration_referentiel_customer_customer_model__WEBPACK_IMPORTED_MODULE_24__["CustomerDirection"](); customerDirection.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); this.customerDirectionsService.getAllCustomers(customerDirection).subscribe(function (result) { _this.setCustomerData(result); }); }; CommonServices.prototype.getShiftDetails = function () { var _this = this; var shifts = new _administration_referentiel_shifts_shifts_model__WEBPACK_IMPORTED_MODULE_25__["Shifts"]; shifts.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); this.shiftService.getAllShifts(shifts).subscribe(function (result) { _this.setShifts(result); }); }; CommonServices.prototype.getTestbedtype = function () { var _this = this; var testbedtype = new _administration_testbedreferential_testbedtype_testbedtype_model__WEBPACK_IMPORTED_MODULE_41__["Testbedtype"](); testbedtype.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); this.testbedtypeService.getAllTestbedtypes(testbedtype).subscribe(function (result) { return _this.setTestbedtypeData(result); }); }; CommonServices.prototype.getTestBedDataList = function () { var _this = this; this.testBedService.getTestBedList().subscribe(function (result) { return _this.setTestBedData(result); }); }; CommonServices.prototype.getCoswinTestbed = function () { var _this = this; this.testBedService.getAllCoswinData().subscribe(function (result) { return _this.setCoswinTestbedData(result); }); }; CommonServices.prototype.getAstralTestbed = function () { var _this = this; this.testBedService.getAstralTestbedList().subscribe(function (result) { return _this.setAstralTestbedData(result); }); }; CommonServices.prototype.getGpsTestbed = function () { var _this = this; this.testBedService.getGpsTestbedList().subscribe(function (result) { return _this.setGpsTestbedData(result); }); }; CommonServices.prototype.getTestbedComplement = function () { var _this = this; var testbedcomplement = new _administration_testbedreferential_testbedcomplement_testbedcomplement_model__WEBPACK_IMPORTED_MODULE_45__["TestbedComplement"](); testbedcomplement.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); this.testbedComplementService.getAllTestbedComplements(testbedcomplement).subscribe(function (result) { return _this.setTestbedcomplementData(result); }); }; CommonServices.prototype.getTestbedComplementAssociation = function () { var _this = this; var testbedComplementAssociation = new _administration_testbedreferential_testbedtypecomplementassociation_testbedtypecomplementassociation_model__WEBPACK_IMPORTED_MODULE_47__["TestbedComplementAssociation"](); testbedComplementAssociation.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); this.testbedComplementAssociationService.getAllTestbedComplementAssociation(testbedComplementAssociation).subscribe(function (result) { return _this.setTestbedComplementAssociationData(result); }); }; CommonServices.prototype.getMaintenanceSupplier = function () { var _this = this; var maintenancesupplier = new _mpm_referential_maintenancesupplier_maintenancesupplier_model__WEBPACK_IMPORTED_MODULE_49__["MaintenanceSupplier"](); maintenancesupplier.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); this.maintenanceSupplierService.getMaintenanceSupplierList(maintenancesupplier).subscribe(function (result) { return _this.setMaintenanceSupplierData(result); }); }; CommonServices.prototype.getPreventiveMaintenance = function () { var _this = this; var preventivemaintenance = new _mpm_referential_preventivemaintenance_preventivemaintenance_model__WEBPACK_IMPORTED_MODULE_51__["PreventiveMaintenance"](); preventivemaintenance.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); // tslint:disable-next-line: max-line-length this.preventivemaintenanceService.getPreventiveMaintenanceList(preventivemaintenance).subscribe(function (result) { return _this.setPreventiveMaintenanceData(result); }); }; CommonServices.prototype.getMaintenanceTask = function () { var _this = this; var maintenanceTask = new _mpm_referential_maintenancetask_maintenancetask_model__WEBPACK_IMPORTED_MODULE_59__["MaintenanceTask"](); maintenanceTask.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); // tslint:disable-next-line: max-line-length this.maintenancetaskServices.getMaintenanceTaskServiceList(maintenanceTask).subscribe(function (result) { return _this.setMaintenanceTaskData(result); }); }; CommonServices.prototype.getValidationSpecimen = function () { var _this = this; var validationSpecimen = new _validation_specimen_validation_specimen_model__WEBPACK_IMPORTED_MODULE_53__["ValidationSpecimen"](); validationSpecimen.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); this.validationSpecimenService.getValidationSpecimenData(validationSpecimen). subscribe(function (result) { return _this.setValidationSpecimenData(result); }); }; CommonServices.prototype.getStopDuration = function () { var _this = this; var stopDuration = new _mpm_referential_stop_duration_stop_duration_model__WEBPACK_IMPORTED_MODULE_55__["StopDuration"](); stopDuration.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); this.stopDurationService.getStopDurationList(stopDuration).subscribe(function (result) { return _this.setStopDurationData(result); }); }; CommonServices.prototype.getPrestationCompanies = function () { var _this = this; var prestationCompanies = new _mpm_referential_prestationcompanies_prestationcompanies_model__WEBPACK_IMPORTED_MODULE_57__["Prestationcompanies"](); prestationCompanies.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); this.prestationCompaniesServices.getPrestationcompaniesList(prestationCompanies).subscribe(function (result) { return _this.setPrestationCompaniesData(result); }); }; CommonServices.prototype.getFuel = function () { var _this = this; var fuel = new _administration_referentiel_fuel_fuel_model__WEBPACK_IMPORTED_MODULE_74__["Fuel"](); fuel.organisationId = JSON.parse(sessionStorage.getItem(_administration_referentiel_fuel_fuel_model__WEBPACK_IMPORTED_MODULE_74__["errorMessages"].orgId)); this.fuelService.getAllFuel(fuel).subscribe(function (result) { return _this.fuel = result; }); }; CommonServices.prototype.checkDuplicate = function (dataList, checkVal, optionalCheck) { if (dataList) { var duplicateList = dataList.filter(function (dataVal) { return dataVal.label.toUpperCase() === checkVal.label.toUpperCase(); }); if (duplicateList && duplicateList.length > 0) { if (optionalCheck) { var duplicateOptionalList = duplicateList.filter(function (childDataVal) { return childDataVal.siteId.id === parseInt(checkVal.siteId); }); if (duplicateOptionalList && duplicateOptionalList.length > 0) { if (duplicateOptionalList[0].id !== checkVal.id) { return true; } } } else if (duplicateList.length > 1) { return true; } else if (duplicateList[0].id !== checkVal.id) { return true; } } } return false; }; CommonServices.prototype.checkDuplicateShifts = function (dataList, checkVal) { if (dataList) { var duplicates = dataList.filter(function (data) { return data.teams === checkVal.teams && data.hours === checkVal.hours; }); if (duplicates.length > 1) { return true; } else { return false; } } else { return false; } }; CommonServices.prototype.checkDuplicateForNumbers = function (dataList, checkVal, optionalCheck) { if (dataList) { var duplicateList = dataList.filter(function (dataVal) { return dataVal.label === checkVal.label; }); if (duplicateList && duplicateList.length > 0) { if (optionalCheck) { var duplicateOptionalList = duplicateList.filter(function (childDataVal) { return childDataVal.siteId.id === parseInt(checkVal.siteId); }); if (duplicateOptionalList && duplicateOptionalList.length > 0) { if (duplicateOptionalList[0].id !== checkVal.id) { return true; } } } else if (duplicateList.length > 1) { return true; } else if (duplicateList[0].id !== checkVal.id) { return true; } } } return false; }; CommonServices.prototype.getFormattedTime = function () { var today = new Date(); return '_' + today.getFullYear() + (today.getMonth() + 1) + today.getDate() + today.getHours() + today.getMinutes() + today.getSeconds(); }; CommonServices.prototype.filterByOrg = function (resultList) { var checkArr = JSON.parse(sessionStorage.getItem('organisationIDs')); if (checkArr) { var filterArr = resultList.filter(function (org) { var res = checkArr.filter(function (f) { return org.organisationId.includes(f); }); if (res.length > 0) { return org; } }); resultList = filterArr; } return resultList; }; CommonServices.prototype.checkActivityAlreadyMapped = function (activity) { return this.httpClient.post(this.apiURL + '/checkActivityAlreadyMapped', activity).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_38__["map"])(function (res) { return res; })); }; CommonServices.prototype.setFormChanged = function (value) { this.formdirty = value; }; CommonServices.prototype.getFormChanged = function () { return this.formdirty; }; CommonServices.prototype.setFilterFormData = function (value) { this.filterFormDirty = value; }; CommonServices.prototype.getFilterFormData = function () { return this.filterFormDirty; }; CommonServices.prototype.getFunctionType = function () { return this.functionType; }; CommonServices.prototype.setFunctionType = function (functionType) { this.functionType = functionType; }; CommonServices.prototype.getExploitableList = function () { var _this = this; this.levelsAdminService.getExploitableList().subscribe(function (result) { _this.setExploitableData(result); }); }; CommonServices.prototype.setExploitableData = function (exploitable) { this.exploitableData = exploitable; }; CommonServices.prototype.getExploitableData = function () { return this.exploitableData; }; CommonServices.prototype.setBarActivityData = function (barActivityData) { this.barActivityData = barActivityData; }; CommonServices.prototype.getBarActivityData = function () { return this.barActivityData; }; CommonServices.prototype.setBarCopActivityData = function (barCopActivityData) { this.barCopActivityData = barCopActivityData; }; CommonServices.prototype.setEmisionFailureActivitesData = function (failureActivity) { this.failureActivityforEmission = failureActivity; }; CommonServices.prototype.getBarCopActivityData = function () { return this.barCopActivityData; }; CommonServices.prototype.setBarMixActivityData = function (barMixActivityData) { this.barMixActivityData = barMixActivityData; }; CommonServices.prototype.getBarMixActivityData = function () { return this.barMixActivityData; }; CommonServices.prototype.getEmissionFailureActivity = function () { return this.failureActivityforEmission; }; CommonServices.prototype.getValidationSequenceData = function () { return this.validationSpecimenData; }; CommonServices.prototype.setValidationSequenceData = function (validationSequenceData) { this.validationSequenceData = validationSequenceData; }; CommonServices.prototype.getValidationSequence = function () { var _this = this; var validationSequence = new _validation_specimen_validation_specimen_model__WEBPACK_IMPORTED_MODULE_53__["ValidationSpecimen"](); this.validationSequenceService.getValidationSequenceData(validationSequence). subscribe(function (result) { return _this.setValidationSequenceData(result); }); }; CommonServices.prototype.setMqmChannelsData = function (mqmChannels) { this.mqmChannelsData = mqmChannels; }; CommonServices.prototype.getMqmChannelsData = function () { return this.mqmChannelsData; }; CommonServices.prototype.getVehicleActivityData = function () { return this.vehicleActivity; }; CommonServices.prototype.setVehicleActivityData = function (vehicleActivity) { this.vehicleActivity = vehicleActivity; }; CommonServices.prototype.getVehicleFailiureActivityData = function () { return this.vehicleFailureActivityData; }; CommonServices.prototype.setVehicleFailiureActivityData = function (vhFailureActivityData) { this.vehicleFailureActivityData = vhFailureActivityData; }; CommonServices = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_import_import_services__WEBPACK_IMPORTED_MODULE_5__["ImportService"], _administration_referentiel_means_means_service__WEBPACK_IMPORTED_MODULE_6__["MeansService"], _administration_levelreferential_level0_level0_service__WEBPACK_IMPORTED_MODULE_7__["Level0Service"], _administration_levelreferential_level1_level1_service__WEBPACK_IMPORTED_MODULE_8__["Level1Service"], _administration_levelreferential_level2_level2_service__WEBPACK_IMPORTED_MODULE_9__["Level2Service"], _administration_levelreferential_levelsadmin_levelsadmin_service__WEBPACK_IMPORTED_MODULE_10__["LevelsAdminService"], _validation_specimen_validation_specimen_service__WEBPACK_IMPORTED_MODULE_54__["ValidationSpecimenService"], _administration_referentiel_campaign_campaign_service__WEBPACK_IMPORTED_MODULE_16__["CampaignService"], _administration_referentiel_batch_batch_service__WEBPACK_IMPORTED_MODULE_18__["BatchService"], _administration_referentiel_sites_sites_service__WEBPACK_IMPORTED_MODULE_3__["SitesService"], _administration_referentiel_services_services_service__WEBPACK_IMPORTED_MODULE_26__["ServicesService"], _administration_referentiel_perimeters_perimeters_service__WEBPACK_IMPORTED_MODULE_27__["PerimetersService"], _administration_referentiel_buildings_buildings_service__WEBPACK_IMPORTED_MODULE_4__["BuildingsService"], _administration_prestationsandprocedures_prestation_prestation_service__WEBPACK_IMPORTED_MODULE_28__["PrestationService"], _administration_prestationsandprocedures_procedure_procedure_service__WEBPACK_IMPORTED_MODULE_29__["ProcedureService"], _administration_prestationsandprocedures_prestationadmin_prestationadmin_service__WEBPACK_IMPORTED_MODULE_30__["PrestationadminService"], _administration_referentiel_campaignadministration_campaignadministration_service__WEBPACK_IMPORTED_MODULE_40__["CampaignadministrationService"], _administration_referentiel_means_means_service__WEBPACK_IMPORTED_MODULE_6__["MeansService"], _administration_referentiel_teams_teams_service__WEBPACK_IMPORTED_MODULE_31__["TeamsService"], _administration_referentiel_customer_customer_service__WEBPACK_IMPORTED_MODULE_32__["CustomerDirectionService"], _administration_referentiel_shifts_shifts_service__WEBPACK_IMPORTED_MODULE_33__["ShiftsService"], _administration_barreferentiel_barprogramlines_barprogramlines_service__WEBPACK_IMPORTED_MODULE_34__["BarProgramLinesService"], _administration_barreferentiel_bwrprestation_bwrprestation_service__WEBPACK_IMPORTED_MODULE_35__["BarPrestationService"], _administration_testbedreferential_testbed_testbed_services__WEBPACK_IMPORTED_MODULE_43__["TestbedService"], _saisie_activate_activate_service__WEBPACK_IMPORTED_MODULE_36__["ActivateService"], _administration_testbedreferential_testbedtype_testbedtype_service__WEBPACK_IMPORTED_MODULE_42__["TestbedtypeService"], _administration_testbedreferential_sector_sector_service__WEBPACK_IMPORTED_MODULE_44__["SectorService"], _administration_testbedreferential_testbedcomplement_testbedcomplement_service__WEBPACK_IMPORTED_MODULE_46__["TestbedComplementService"], _administration_testbedreferential_testbedtypecomplementassociation_testbedtypecomplementassociation_service__WEBPACK_IMPORTED_MODULE_48__["TestbedComplementAssociationService"], _mpm_referential_maintenancesupplier_maintenancesupplier_service__WEBPACK_IMPORTED_MODULE_50__["MaintenanceSupplierService"], _mpm_referential_preventivemaintenance_preventivemaintenance_service__WEBPACK_IMPORTED_MODULE_52__["PreventiveMaintenanceService"], _mpm_referential_stop_duration_stop_duration_service__WEBPACK_IMPORTED_MODULE_56__["StopDurationService"], _mpm_referential_prestationcompanies_prestationcompanies_service__WEBPACK_IMPORTED_MODULE_58__["PrestationcompaniesService"], _mpm_referential_maintenancetask_maintenancetask_service__WEBPACK_IMPORTED_MODULE_60__["MaintenanceTaskService"], _angular_common_http__WEBPACK_IMPORTED_MODULE_37__["HttpClient"], src_app_validation_specimen_validation_specimen_ts_list_validation_specimen_ts_list_service__WEBPACK_IMPORTED_MODULE_61__["ValidationSpecimenSequenceService"], _administration_referentiel_specimen_type_specimen_type_service__WEBPACK_IMPORTED_MODULE_63__["SpecimenTypeService"], _administration_referentiel_rs_type_rs_type_service__WEBPACK_IMPORTED_MODULE_65__["RsTypeService"], _administration_referentiel_mobile_device_mobile_device_service__WEBPACK_IMPORTED_MODULE_67__["MobileDeviceService"], _administration_referentiel_milestone_milestone_service__WEBPACK_IMPORTED_MODULE_69__["MilestoneService"], _administration_prestationsandprocedures_macro_activity_macro_activity_service__WEBPACK_IMPORTED_MODULE_71__["MacroActivityService"], _saisie_crrpp_mqm_channels_mqmChannels_service__WEBPACK_IMPORTED_MODULE_73__["MqmChannelService"], _administration_referentiel_fuel_fuel_service__WEBPACK_IMPORTED_MODULE_75__["FuelService"]]) ], CommonServices); return CommonServices; }()); /***/ }), /***/ "./src/app/common/commontpm.module.ts": /*!********************************************!*\ !*** ./src/app/common/commontpm.module.ts ***! \********************************************/ /*! exports provided: CommontpmModule */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CommontpmModule", function() { return CommontpmModule; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/fesm5/common.js"); /* harmony import */ var _common_button_bredcrumb_bredcrumb_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./common-button/bredcrumb/bredcrumb.component */ "./src/app/common/common-button/bredcrumb/bredcrumb.component.ts"); /* harmony import */ var _common_button_common_button_module__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./common-button/common-button.module */ "./src/app/common/common-button/common-button.module.ts"); /* harmony import */ var _i18n_i18n_module__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./i18n/i18n.module */ "./src/app/common/i18n/i18n.module.ts"); /* harmony import */ var _nav_tabs_nav_tabs_module__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./nav-tabs/nav-tabs.module */ "./src/app/common/nav-tabs/nav-tabs.module.ts"); /* harmony import */ var _header_header_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./header/header.component */ "./src/app/common/header/header.component.ts"); /* harmony import */ var _language_language_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./language/language.component */ "./src/app/common/language/language.component.ts"); /* harmony import */ var _menu_menu_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./menu/menu.component */ "./src/app/common/menu/menu.component.ts"); /* harmony import */ var _error_error_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./error/error.component */ "./src/app/common/error/error.component.ts"); /* harmony import */ var _spinner_loading_spinner_loading_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./spinner-loading/spinner-loading.component */ "./src/app/common/spinner-loading/spinner-loading.component.ts"); /* harmony import */ var _snackbar_snackbar_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./snackbar/snackbar.component */ "./src/app/common/snackbar/snackbar.component.ts"); /* harmony import */ var _common_tpm_routing_module__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./common-tpm-routing.module */ "./src/app/common/common-tpm-routing.module.ts"); /* harmony import */ var _logout_logout_component__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./logout/logout.component */ "./src/app/common/logout/logout.component.ts"); /* harmony import */ var _login_login_component__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./login/login.component */ "./src/app/common/login/login.component.ts"); /* harmony import */ var _logoutpage_logoutpage_component__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./logoutpage/logoutpage.component */ "./src/app/common/logoutpage/logoutpage.component.ts"); /* harmony import */ var _home_home_component__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./home/home.component */ "./src/app/common/home/home.component.ts"); /* harmony import */ var _agreement_popup_agreement_popup_component__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./agreement-popup/agreement-popup.component */ "./src/app/common/agreement-popup/agreement-popup.component.ts"); /* harmony import */ var _material_material_module__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./material/material.module */ "./src/app/common/material/material.module.ts"); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/fesm5/forms.js"); /* harmony import */ var _shared_confirmation_dialog_confirmation_dialog_component__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./shared/confirmation-dialog/confirmation-dialog.component */ "./src/app/common/shared/confirmation-dialog/confirmation-dialog.component.ts"); /* harmony import */ var _dynamic_form_dynamic_form_base_dynamic_form_base_component__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./dynamic-form/dynamic-form-base/dynamic-form-base.component */ "./src/app/common/dynamic-form/dynamic-form-base/dynamic-form-base.component.ts"); /* harmony import */ var _dynamic_form_dynamic_form_component__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./dynamic-form/dynamic-form.component */ "./src/app/common/dynamic-form/dynamic-form.component.ts"); /* harmony import */ var _export_export_component__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./export/export.component */ "./src/app/common/export/export.component.ts"); /* harmony import */ var _custom_listbox_custom_listbox_component__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./custom-listbox/custom-listbox.component */ "./src/app/common/custom-listbox/custom-listbox.component.ts"); /* harmony import */ var _validations_UpperCaseInputDirective__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./validations/UpperCaseInputDirective */ "./src/app/common/validations/UpperCaseInputDirective.ts"); /* harmony import */ var _validations_OnlynumberDirective__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./validations/OnlynumberDirective */ "./src/app/common/validations/OnlynumberDirective.ts"); /* harmony import */ var _prime_ng_primeNg_module__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./prime-ng/primeNg.module */ "./src/app/common/prime-ng/primeNg.module.ts"); /* harmony import */ var _validations_customAutofocusDirective__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./validations/customAutofocusDirective */ "./src/app/common/validations/customAutofocusDirective.ts"); /* harmony import */ var _validations_disableControlDirective__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./validations/disableControlDirective */ "./src/app/common/validations/disableControlDirective.ts"); /* harmony import */ var _multi_select_multi_select_component__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./multi-select/multi-select.component */ "./src/app/common/multi-select/multi-select.component.ts"); /* harmony import */ var _testbed_extract_testbed_extract_component__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./testbed-extract/testbed-extract.component */ "./src/app/common/testbed-extract/testbed-extract.component.ts"); /* harmony import */ var _custom_aggrid_checkbox_custom_aggrid_checkbox_component__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./custom-aggrid-checkbox/custom-aggrid-checkbox.component */ "./src/app/common/custom-aggrid-checkbox/custom-aggrid-checkbox.component.ts"); /* harmony import */ var _custom_aggrid_dropdown_custom_aggrid_dropdown_component__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./custom-aggrid-dropdown/custom-aggrid-dropdown.component */ "./src/app/common/custom-aggrid-dropdown/custom-aggrid-dropdown.component.ts"); /* harmony import */ var _custom_aggrid_single_checkbox_custom_aggrid_single_checkbox_component__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./custom-aggrid-single-checkbox/custom-aggrid-single-checkbox.component */ "./src/app/common/custom-aggrid-single-checkbox/custom-aggrid-single-checkbox.component.ts"); /* harmony import */ var _directives_PrimeNgEditorAutoscrollFixDirective__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./directives/PrimeNgEditorAutoscrollFixDirective */ "./src/app/common/directives/PrimeNgEditorAutoscrollFixDirective.ts"); /* harmony import */ var _spot_fire_spot_fire_component__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./spot-fire/spot-fire.component */ "./src/app/common/spot-fire/spot-fire.component.ts"); /* harmony import */ var _spot_fire_spot_fire_exploitation_spot_fire_exploitation_component__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./spot-fire/spot-fire-exploitation/spot-fire-exploitation.component */ "./src/app/common/spot-fire/spot-fire-exploitation/spot-fire-exploitation.component.ts"); /* harmony import */ var _spot_fire_spot_fire_performance_spot_fire_performance_component__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./spot-fire/spot-fire-performance/spot-fire-performance.component */ "./src/app/common/spot-fire/spot-fire-performance/spot-fire-performance.component.ts"); /* harmony import */ var _spot_fire_spot_fire_projet_spot_fire_projet_component__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./spot-fire/spot-fire-projet/spot-fire-projet.component */ "./src/app/common/spot-fire/spot-fire-projet/spot-fire-projet.component.ts"); /* harmony import */ var _spot_fire_spot_fire_maintenance_spot_fire_maintenance_component__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./spot-fire/spot-fire-maintenance/spot-fire-maintenance.component */ "./src/app/common/spot-fire/spot-fire-maintenance/spot-fire-maintenance.component.ts"); /* harmony import */ var _spot_fire_spot_fire_exploitation_map_energetique_map_energetique_component__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./spot-fire/spot-fire-exploitation/map-energetique/map-energetique.component */ "./src/app/common/spot-fire/spot-fire-exploitation/map-energetique/map-energetique.component.ts"); /* harmony import */ var _spot_fire_spot_fire_exploitation_map_mecanique_map_mecanique_component__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./spot-fire/spot-fire-exploitation/map-mecanique/map-mecanique.component */ "./src/app/common/spot-fire/spot-fire-exploitation/map-mecanique/map-mecanique.component.ts"); /* harmony import */ var _spot_fire_spot_fire_exploitation_map_energetique_energetique_banc_moteur_energetique_banc_moteur_component__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./spot-fire/spot-fire-exploitation/map-energetique/energetique-banc-moteur/energetique-banc-moteur.component */ "./src/app/common/spot-fire/spot-fire-exploitation/map-energetique/energetique-banc-moteur/energetique-banc-moteur.component.ts"); /* harmony import */ var _spot_fire_spot_fire_exploitation_map_electrique_map_electrique_component__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./spot-fire/spot-fire-exploitation/map-electrique/map-electrique.component */ "./src/app/common/spot-fire/spot-fire-exploitation/map-electrique/map-electrique.component.ts"); /* harmony import */ var _star_rating_star_rating_component__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./star-rating/star-rating.component */ "./src/app/common/star-rating/star-rating.component.ts"); /* harmony import */ var _spot_fire_spot_fire_tv_spot_fire_tv_component__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./spot-fire/spot-fire-tv/spot-fire-tv.component */ "./src/app/common/spot-fire/spot-fire-tv/spot-fire-tv.component.ts"); /* harmony import */ var _validations_disableCopyPasteDirective__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./validations/disableCopyPasteDirective */ "./src/app/common/validations/disableCopyPasteDirective.ts"); /* harmony import */ var _redirectaction_redirectaction_component__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./redirectaction/redirectaction.component */ "./src/app/common/redirectaction/redirectaction.component.ts"); var CommontpmModule = /** @class */ (function () { function CommontpmModule() { } CommontpmModule = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"])({ declarations: [ _common_button_bredcrumb_bredcrumb_component__WEBPACK_IMPORTED_MODULE_3__["BredcrumbComponent"], _header_header_component__WEBPACK_IMPORTED_MODULE_7__["HeaderComponent"], _language_language_component__WEBPACK_IMPORTED_MODULE_8__["LanguageComponent"], _menu_menu_component__WEBPACK_IMPORTED_MODULE_9__["MenuComponent"], _error_error_component__WEBPACK_IMPORTED_MODULE_10__["ErrorComponent"], _spinner_loading_spinner_loading_component__WEBPACK_IMPORTED_MODULE_11__["SpinnerLoadingComponent"], _snackbar_snackbar_component__WEBPACK_IMPORTED_MODULE_12__["SnackbarComponent"], _logout_logout_component__WEBPACK_IMPORTED_MODULE_14__["LogoutComponent"], _login_login_component__WEBPACK_IMPORTED_MODULE_15__["LoginComponent"], _logoutpage_logoutpage_component__WEBPACK_IMPORTED_MODULE_16__["LogoutpageComponent"], _home_home_component__WEBPACK_IMPORTED_MODULE_17__["HomeComponent"], _agreement_popup_agreement_popup_component__WEBPACK_IMPORTED_MODULE_18__["AgreementPopupComponent"], _shared_confirmation_dialog_confirmation_dialog_component__WEBPACK_IMPORTED_MODULE_21__["ConfirmationDialogComponent"], _dynamic_form_dynamic_form_component__WEBPACK_IMPORTED_MODULE_23__["DynamicFormComponent"], _dynamic_form_dynamic_form_base_dynamic_form_base_component__WEBPACK_IMPORTED_MODULE_22__["DynamicFormBaseComponent"], _export_export_component__WEBPACK_IMPORTED_MODULE_24__["ExportComponent"], _custom_listbox_custom_listbox_component__WEBPACK_IMPORTED_MODULE_25__["CustomListboxComponent"], _validations_UpperCaseInputDirective__WEBPACK_IMPORTED_MODULE_26__["UpperCaseInputDirective"], _validations_disableCopyPasteDirective__WEBPACK_IMPORTED_MODULE_48__["DisableCopyPasteDirective"], _validations_OnlynumberDirective__WEBPACK_IMPORTED_MODULE_27__["OnlynumberDirective"], _validations_customAutofocusDirective__WEBPACK_IMPORTED_MODULE_29__["CustomAutofocusDirective"], _validations_disableControlDirective__WEBPACK_IMPORTED_MODULE_30__["DisableControlDirective"], _multi_select_multi_select_component__WEBPACK_IMPORTED_MODULE_31__["MultiSelectComponent"], _testbed_extract_testbed_extract_component__WEBPACK_IMPORTED_MODULE_32__["TestbedExtractComponent"], _custom_aggrid_checkbox_custom_aggrid_checkbox_component__WEBPACK_IMPORTED_MODULE_33__["CustomAggridCheckboxComponent"], _custom_aggrid_dropdown_custom_aggrid_dropdown_component__WEBPACK_IMPORTED_MODULE_34__["CustomAggridDropdownComponent"], _custom_aggrid_single_checkbox_custom_aggrid_single_checkbox_component__WEBPACK_IMPORTED_MODULE_35__["CustomAggridSingleCheckboxComponent"], _directives_PrimeNgEditorAutoscrollFixDirective__WEBPACK_IMPORTED_MODULE_36__["PrimeNgEditorAutoscrollFixDirective"], _spot_fire_spot_fire_component__WEBPACK_IMPORTED_MODULE_37__["SpotFireComponent"], _spot_fire_spot_fire_exploitation_spot_fire_exploitation_component__WEBPACK_IMPORTED_MODULE_38__["SpotFireExploitationComponent"], _spot_fire_spot_fire_performance_spot_fire_performance_component__WEBPACK_IMPORTED_MODULE_39__["SpotFirePerformanceComponent"], _spot_fire_spot_fire_projet_spot_fire_projet_component__WEBPACK_IMPORTED_MODULE_40__["SpotFireProjetComponent"], _spot_fire_spot_fire_maintenance_spot_fire_maintenance_component__WEBPACK_IMPORTED_MODULE_41__["SpotFireMaintenanceComponent"], _spot_fire_spot_fire_exploitation_map_energetique_map_energetique_component__WEBPACK_IMPORTED_MODULE_42__["MapEnergetiqueComponent"], _spot_fire_spot_fire_exploitation_map_mecanique_map_mecanique_component__WEBPACK_IMPORTED_MODULE_43__["MapMecaniqueComponent"], _spot_fire_spot_fire_exploitation_map_energetique_energetique_banc_moteur_energetique_banc_moteur_component__WEBPACK_IMPORTED_MODULE_44__["EnergetiqueBancMoteur"], _spot_fire_spot_fire_exploitation_map_electrique_map_electrique_component__WEBPACK_IMPORTED_MODULE_45__["MapElectriqueComponent"], _star_rating_star_rating_component__WEBPACK_IMPORTED_MODULE_46__["StarRatingComponent"], _spot_fire_spot_fire_tv_spot_fire_tv_component__WEBPACK_IMPORTED_MODULE_47__["SpotFireTVComponent"], _redirectaction_redirectaction_component__WEBPACK_IMPORTED_MODULE_49__["RedirectactionComponent"] ], imports: [ _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], _common_button_common_button_module__WEBPACK_IMPORTED_MODULE_4__["CommonButtonModule"], _i18n_i18n_module__WEBPACK_IMPORTED_MODULE_5__["I18nModule"], _nav_tabs_nav_tabs_module__WEBPACK_IMPORTED_MODULE_6__["NavTabsModule"], _common_tpm_routing_module__WEBPACK_IMPORTED_MODULE_13__["CommonTpmRoutingModule"], _material_material_module__WEBPACK_IMPORTED_MODULE_19__["MaterialModule"], _prime_ng_primeNg_module__WEBPACK_IMPORTED_MODULE_28__["PrimeNgModule"], _angular_forms__WEBPACK_IMPORTED_MODULE_20__["FormsModule"], _angular_forms__WEBPACK_IMPORTED_MODULE_20__["ReactiveFormsModule"] ], exports: [ _common_button_bredcrumb_bredcrumb_component__WEBPACK_IMPORTED_MODULE_3__["BredcrumbComponent"], _spinner_loading_spinner_loading_component__WEBPACK_IMPORTED_MODULE_11__["SpinnerLoadingComponent"], _header_header_component__WEBPACK_IMPORTED_MODULE_7__["HeaderComponent"], _snackbar_snackbar_component__WEBPACK_IMPORTED_MODULE_12__["SnackbarComponent"], _language_language_component__WEBPACK_IMPORTED_MODULE_8__["LanguageComponent"], _dynamic_form_dynamic_form_component__WEBPACK_IMPORTED_MODULE_23__["DynamicFormComponent"], _dynamic_form_dynamic_form_base_dynamic_form_base_component__WEBPACK_IMPORTED_MODULE_22__["DynamicFormBaseComponent"], _export_export_component__WEBPACK_IMPORTED_MODULE_24__["ExportComponent"], _custom_listbox_custom_listbox_component__WEBPACK_IMPORTED_MODULE_25__["CustomListboxComponent"], _validations_UpperCaseInputDirective__WEBPACK_IMPORTED_MODULE_26__["UpperCaseInputDirective"], _validations_OnlynumberDirective__WEBPACK_IMPORTED_MODULE_27__["OnlynumberDirective"], _validations_customAutofocusDirective__WEBPACK_IMPORTED_MODULE_29__["CustomAutofocusDirective"], _validations_disableControlDirective__WEBPACK_IMPORTED_MODULE_30__["DisableControlDirective"], _dynamic_form_dynamic_form_component__WEBPACK_IMPORTED_MODULE_23__["DynamicFormComponent"], _dynamic_form_dynamic_form_base_dynamic_form_base_component__WEBPACK_IMPORTED_MODULE_22__["DynamicFormBaseComponent"], _export_export_component__WEBPACK_IMPORTED_MODULE_24__["ExportComponent"], _custom_listbox_custom_listbox_component__WEBPACK_IMPORTED_MODULE_25__["CustomListboxComponent"], _validations_UpperCaseInputDirective__WEBPACK_IMPORTED_MODULE_26__["UpperCaseInputDirective"], _validations_OnlynumberDirective__WEBPACK_IMPORTED_MODULE_27__["OnlynumberDirective"], _multi_select_multi_select_component__WEBPACK_IMPORTED_MODULE_31__["MultiSelectComponent"], _directives_PrimeNgEditorAutoscrollFixDirective__WEBPACK_IMPORTED_MODULE_36__["PrimeNgEditorAutoscrollFixDirective"], _validations_disableCopyPasteDirective__WEBPACK_IMPORTED_MODULE_48__["DisableCopyPasteDirective"], _home_home_component__WEBPACK_IMPORTED_MODULE_17__["HomeComponent"], _redirectaction_redirectaction_component__WEBPACK_IMPORTED_MODULE_49__["RedirectactionComponent"] ], entryComponents: [_agreement_popup_agreement_popup_component__WEBPACK_IMPORTED_MODULE_18__["AgreementPopupComponent"], _shared_confirmation_dialog_confirmation_dialog_component__WEBPACK_IMPORTED_MODULE_21__["ConfirmationDialogComponent"], _testbed_extract_testbed_extract_component__WEBPACK_IMPORTED_MODULE_32__["TestbedExtractComponent"], _custom_aggrid_checkbox_custom_aggrid_checkbox_component__WEBPACK_IMPORTED_MODULE_33__["CustomAggridCheckboxComponent"], _custom_aggrid_dropdown_custom_aggrid_dropdown_component__WEBPACK_IMPORTED_MODULE_34__["CustomAggridDropdownComponent"], _custom_aggrid_single_checkbox_custom_aggrid_single_checkbox_component__WEBPACK_IMPORTED_MODULE_35__["CustomAggridSingleCheckboxComponent"], _spot_fire_spot_fire_component__WEBPACK_IMPORTED_MODULE_37__["SpotFireComponent"], _spot_fire_spot_fire_performance_spot_fire_performance_component__WEBPACK_IMPORTED_MODULE_39__["SpotFirePerformanceComponent"], _spot_fire_spot_fire_exploitation_spot_fire_exploitation_component__WEBPACK_IMPORTED_MODULE_38__["SpotFireExploitationComponent"], _spot_fire_spot_fire_maintenance_spot_fire_maintenance_component__WEBPACK_IMPORTED_MODULE_41__["SpotFireMaintenanceComponent"], _spot_fire_spot_fire_projet_spot_fire_projet_component__WEBPACK_IMPORTED_MODULE_40__["SpotFireProjetComponent"], _spot_fire_spot_fire_exploitation_map_energetique_energetique_banc_moteur_energetique_banc_moteur_component__WEBPACK_IMPORTED_MODULE_44__["EnergetiqueBancMoteur"], _spot_fire_spot_fire_exploitation_map_energetique_map_energetique_component__WEBPACK_IMPORTED_MODULE_42__["MapEnergetiqueComponent"], _spot_fire_spot_fire_exploitation_map_mecanique_map_mecanique_component__WEBPACK_IMPORTED_MODULE_43__["MapMecaniqueComponent"], _spot_fire_spot_fire_exploitation_map_electrique_map_electrique_component__WEBPACK_IMPORTED_MODULE_45__["MapElectriqueComponent"], _star_rating_star_rating_component__WEBPACK_IMPORTED_MODULE_46__["StarRatingComponent"], _spot_fire_spot_fire_tv_spot_fire_tv_component__WEBPACK_IMPORTED_MODULE_47__["SpotFireTVComponent"]] }) ], CommontpmModule); return CommontpmModule; }()); /***/ }), /***/ "./src/app/common/custom-aggrid-checkbox/custom-aggrid-checkbox.component.css": /*!************************************************************************************!*\ !*** ./src/app/common/custom-aggrid-checkbox/custom-aggrid-checkbox.component.css ***! \************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "/* Switch starts here */\n.rocker {\n display: inline-block;\n position: relative;\n width: 50%;\n height: 35px;\n margin: 0% 0% 0% 1%;\n /*\n SIZE OF SWITCH\n ==============\n All sizes are in em - therefore\n changing the font-size here\n will change the size of the switch.\n See .rocker-small below as example.\n */ \n font-size: 2em;\n font-weight: bold;\n text-align: center;\n text-transform: uppercase;\n color: #888;\n overflow: hidden;\n /* border-bottom: 0.5em solid #eee; */\n}\n.rocker-small {\n font-size: 0.75em; /* Sizes the switch */\n /* margin: 1em; */\n}\n.rocker::before {\n content: \"\";\n position: absolute;\n /* top: 0.5em; */\n left: 0;\n right: 0;\n bottom: 0;\n background-color: #999;\n /* border: 0.5em solid #eee; */\n border-bottom: 0;\n}\n.rocker input {\n opacity: 0;\n width: 0;\n height: 0;\n}\n.switch-left,\n.switch-right {\n cursor: pointer;\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 2.5em;\n /* width: 3em; */\n width: 50%;\n transition: 0.2s;\n}\n.switch-left {\n height: 2.4em;\n /* width: 2.75em; */\n width: 50%;\n left: 0.85em;\n bottom: 0;\n background-color: #ddd;\n /* transform: rotate(15deg) skewX(15deg); */\n}\n.switch-right {\n height: 2.4em;\n right: -0.15em;\n bottom: 0;\n background-color:red;\n color: #fff;\n}\n.switch-left::before,\n.switch-right::before {\n content: \"\";\n position: absolute;\n width: 0.4em;\n height: 2.45em;\n bottom: -0.45em;\n background-color: #ccc;\n /* transform: skewY(-65deg); */\n}\n.switch-left::before {\n left: -2.4em;\n}\n.switch-right::before {\n right: -1.375em;;\n background-color: transparent;\n /* transform: skewY(65deg); */\n}\ninput:checked + .switch-left {\n /* background-color: rgba(16, 109, 16, 0.623); */\n background-color: #07d410;\n color: #fff;\n bottom: 0px;\n /* left: 0.5em; */\n height: 2.5em;\n /* width: 3em; */\n width: 50%;\n /* transform: rotate(0deg) skewX(0deg); */\n}\ninput:checked + .switch-left::before {\n background-color: transparent;\n width: 50%;\n}\ninput:checked + .switch-left + .switch-right {\n background-color: #ddd;\n color: #888;\n /* bottom: 0.4em; */\n /* right: 0.8em; */\n height: 2.5em;\n /* width: 2.75em; */\n width: 50%;\n /* transform: rotate(-15deg) skewX(-15deg); */\n}\ninput:checked + .switch-left + .switch-right::before {\n background-color: #ccc;\n}\n/* Keyboard Users */\ninput:focus + .switch-left {\n color: #333;\n}\ninput:checked:focus + .switch-left {\n color: #fff;\n}\ninput:focus + .switch-left + .switch-right {\n color: #fff;\n}\ninput:checked:focus + .switch-left + .switch-right {\n color: #333;\n}\n.disableLable {\n opacity: 0.5;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tbW9uL2N1c3RvbS1hZ2dyaWQtY2hlY2tib3gvY3VzdG9tLWFnZ3JpZC1jaGVja2JveC5jb21wb25lbnQuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLHVCQUF1QjtBQUN2QjtDQUNDLHFCQUFxQjtDQUNyQixrQkFBa0I7Q0FDbEIsVUFBVTtJQUNQLFlBQVk7SUFDWixtQkFBbUI7Q0FDdEI7Ozs7Ozs7RUFPQztDQUNELGNBQWM7Q0FDZCxpQkFBaUI7Q0FDakIsa0JBQWtCO0NBQ2xCLHlCQUF5QjtDQUN6QixXQUFXO0NBQ1gsZ0JBQWdCO0NBQ2hCLHFDQUFxQztBQUN0QztBQUVBO0NBQ0MsaUJBQWlCLEVBQUUscUJBQXFCO0NBQ3hDLGlCQUFpQjtBQUNsQjtBQUVBO0NBQ0MsV0FBVztDQUNYLGtCQUFrQjtDQUNsQixnQkFBZ0I7Q0FDaEIsT0FBTztDQUNQLFFBQVE7Q0FDUixTQUFTO0NBQ1Qsc0JBQXNCO0NBQ3RCLDhCQUE4QjtDQUM5QixnQkFBZ0I7QUFDakI7QUFFQTtDQUNDLFVBQVU7Q0FDVixRQUFRO0NBQ1IsU0FBUztBQUNWO0FBRUE7O0NBRUMsZUFBZTtDQUNmLGtCQUFrQjtDQUNsQixhQUFhO0NBQ2IsbUJBQW1CO0NBQ25CLHVCQUF1QjtDQUN2QixhQUFhO0NBQ2IsZ0JBQWdCO0NBQ2hCLFVBQVU7Q0FDVixnQkFBZ0I7QUFDakI7QUFFQTtDQUNDLGFBQWE7Q0FDYixtQkFBbUI7Q0FDbkIsVUFBVTtDQUNWLFlBQVk7Q0FDWixTQUFTO0N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nMgKi9cbmlucHV0OmZvY3VzICsgLnN3aXRjaC1sZWZ0IHtcbiBjb2xvcjogIzMzMztcbn1cblxuaW5wdXQ6Y2hlY2tlZDpmb2N1cyArIC5zd2l0Y2gtbGVmdCB7XG4gY29sb3I6ICNmZmY7XG59XG5cbmlucHV0OmZvY3VzICsgLnN3aXRjaC1sZWZ0ICsgLnN3aXRjaC1yaWdodCB7XG4gY29sb3I6ICNmZmY7XG59XG5cbmlucHV0OmNoZWNrZWQ6Zm9jdXMgKyAuc3dpdGNoLWxlZnQgKyAuc3dpdGNoLXJpZ2h0IHtcbiBjb2xvcjogIzMzMztcbn1cblxuLmRpc2FibGVMYWJsZSB7XG4gICBvcGFjaXR5OiAwLjU7XG59Il19 */" /***/ }), /***/ "./src/app/common/custom-aggrid-checkbox/custom-aggrid-checkbox.component.html": /*!*************************************************************************************!*\ !*** ./src/app/common/custom-aggrid-checkbox/custom-aggrid-checkbox.component.html ***! \*************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "" /***/ }), /***/ "./src/app/common/custom-aggrid-checkbox/custom-aggrid-checkbox.component.ts": /*!***********************************************************************************!*\ !*** ./src/app/common/custom-aggrid-checkbox/custom-aggrid-checkbox.component.ts ***! \***********************************************************************************/ /*! exports provided: CustomAggridCheckboxComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CustomAggridCheckboxComponent", function() { return CustomAggridCheckboxComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var src_app_saisie_crrpp_crrpp_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/app/saisie/crrpp/crrpp.service */ "./src/app/saisie/crrpp/crrpp.service.ts"); /* harmony import */ var src_app_saisie_crrpp_suivi_moteur_suivi_moteur_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/saisie/crrpp/suivi-moteur/suivi-moteur.service */ "./src/app/saisie/crrpp/suivi-moteur/suivi-moteur.service.ts"); /* harmony import */ var src_app_saisie_crrpp_model_crrppStaticValues__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/app/saisie/crrpp/model/crrppStaticValues */ "./src/app/saisie/crrpp/model/crrppStaticValues.ts"); var CustomAggridCheckboxComponent = /** @class */ (function () { function CustomAggridCheckboxComponent(crrppService, suiviService) { this.crrppService = crrppService; this.suiviService = suiviService; } CustomAggridCheckboxComponent.prototype.agInit = function (params) { this.params = params; }; CustomAggridCheckboxComponent.prototype.afterGuiAttached = function (params) { }; CustomAggridCheckboxComponent.prototype.refresh = function (params) { if (params.data.crrppDirectoryId) { params.data.crrppDirectoryId.active = params.value; this.crrppService.setInitTabGridDirty(true); } if (params.data.week1Id) { params.data.clientSatisfaction = params.value; this.suiviService.setInitTabGridDirty(true); this.suiviService.changeMessage(src_app_saisie_crrpp_model_crrppStaticValues__WEBPACK_IMPORTED_MODULE_4__["CrrppStaticValues"].refreshMessage); } params.api.refreshCells(params); return false; }; CustomAggridCheckboxComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'custom-aggrid-checkbox', template: __webpack_require__(/*! ./custom-aggrid-checkbox.component.html */ "./src/app/common/custom-aggrid-checkbox/custom-aggrid-checkbox.component.html"), styles: [__webpack_require__(/*! ./custom-aggrid-checkbox.component.css */ "./src/app/common/custom-aggrid-checkbox/custom-aggrid-checkbox.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [src_app_saisie_crrpp_crrpp_service__WEBPACK_IMPORTED_MODULE_2__["CrrppService"], src_app_saisie_crrpp_suivi_moteur_suivi_moteur_service__WEBPACK_IMPORTED_MODULE_3__["SuiviMoteurService"]]) ], CustomAggridCheckboxComponent); return CustomAggridCheckboxComponent; }()); /***/ }), /***/ "./src/app/common/custom-aggrid-dropdown/custom-aggrid-dropdown.component.css": /*!************************************************************************************!*\ !*** ./src/app/common/custom-aggrid-dropdown/custom-aggrid-dropdown.component.css ***! \************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = ".dropDownBtn{\n background: #f5deb3;\n width: 10em !important;\n font-size: 13px;\n color: #000;\n font-weight: bold;\n overflow: hidden;\n text-overflow: ellipsis;\n height: 30px;\n}\nul{\n text-align: center;\n background-color: #f5deb3 ;\n overflow-y: scroll;\n height: 10rem;\n transform: translate3d(0px, 35px, 0px);\n width: 100%;\n list-style: none;\n padding: 1px;\n font-size: 13px;\n color: #000;\n font-weight: bold;\n}\nli:hover{\n background: black;\n color: white;\n cursor: pointer;\n}\nul::-webkit-scrollbar-track {\n -webkit-box-shadow: inset 0 0 6px #000;\n }\nul::-webkit-scrollbar-thumb {\n background-color: #000;\n outline: 1px solid slategrey;\n }\nul::-webkit-scrollbar{\n width: 0.5em;\n }\n.dropdown-menu{\n background-color: #f5deb3 !important;\n }\nspan{\n text-align: center;\n }\n.text{\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n max-width: 94px\n }\n.dropdown-toggle::after{\n transform: translate3d(49px,-19px,0px);\n }\noption {\n width: 10px !important;\n }\n.formSelect{\n width: 70%;\n background: #f5deb3;\n border-radius: 4%;\n height: 37px;\n padding: 0px 8px;\n }\n.mat-form-field-appearance-legacy .mat-form-field-underline{\n opacity: 0 !important;\n }\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tbW9uL2N1c3RvbS1hZ2dyaWQtZHJvcGRvd24vY3VzdG9tLWFnZ3JpZC1kcm9wZG93bi5jb21wb25lbnQuY3NzIl0sIm5hbWVzIjpb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4gIHNwYW57XG4gICAgdGV4dC1hbGlnbjogY2VudGVyO1xuICB9XG4gIC50ZXh0e1xuICAgIGRpc3BsYXk6IGJsb2NrO1xuICAgIG92ZXJmbG93OiBoaWRkZW47XG4gICAgdGV4dC1vdmVyZmxvdzogZWxsaXBzaXM7XG4gICAgbWF4LXdpZHRoOiA5NHB4XG4gIH1cblxuICAuZHJvcGRvd24tdG9nZ2xlOjphZnRlcntcbiAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZTNkKDQ5cHgsLTE5cHgsMHB4KTtcbiAgfVxuICBvcHRpb24ge1xuICAgIHdpZHRoOiAxMHB4ICFpbXBvcnRhbnQ7XG4gIH1cbiAgLmZvcm1TZWxlY3R7XG4gICAgd2lkdGg6IDcwJTtcbiAgICBiYWNrZ3JvdW5kOiAjZjVkZWIzO1xuICAgIGJvcmRlci1yYWRpdXM6IDQlO1xuICAgIGhlaWdodDogMzdweDtcbiAgICBwYWRkaW5nOiAwcHggOHB4O1xuICB9XG4gIC5tYXQtZm9ybS1maWVsZC1hcHBlYXJhbmNlLWxlZ2FjeSAubWF0LWZvcm0tZmllbGQtdW5kZXJsaW5le1xuICAgIG9wYWNpdHk6IDAgIWltcG9ydGFudDtcbiAgfSJdfQ== */" /***/ }), /***/ "./src/app/common/custom-aggrid-dropdown/custom-aggrid-dropdown.component.html": /*!*************************************************************************************!*\ !*** ./src/app/common/custom-aggrid-dropdown/custom-aggrid-dropdown.component.html ***! \*************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "
\n \n CRRP.Selectmilestone\n \n - \n \n {{ content }}\n \n \n
" /***/ }), /***/ "./src/app/common/custom-aggrid-dropdown/custom-aggrid-dropdown.component.ts": /*!***********************************************************************************!*\ !*** ./src/app/common/custom-aggrid-dropdown/custom-aggrid-dropdown.component.ts ***! \***********************************************************************************/ /*! exports provided: CustomAggridDropdownComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CustomAggridDropdownComponent", function() { return CustomAggridDropdownComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var src_app_saisie_crrpp_tbf_calculation_tbf_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/app/saisie/crrpp/tbf-calculation/tbf.service */ "./src/app/saisie/crrpp/tbf-calculation/tbf.service.ts"); /* harmony import */ var src_app_saisie_crrpp_model_tbfConsumption_model__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/saisie/crrpp/model/tbfConsumption.model */ "./src/app/saisie/crrpp/model/tbfConsumption.model.ts"); /* harmony import */ var src_app_saisie_crrpp_model_crrppStaticValues__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/app/saisie/crrpp/model/crrppStaticValues */ "./src/app/saisie/crrpp/model/crrppStaticValues.ts"); /* harmony import */ var src_app_saisie_crrpp_tbf_consumption_tbf_consumption_data_transfer_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! src/app/saisie/crrpp/tbf-consumption/tbf-consumption-data-transfer.service */ "./src/app/saisie/crrpp/tbf-consumption/tbf-consumption-data-transfer.service.ts"); var CustomAggridDropdownComponent = /** @class */ (function () { function CustomAggridDropdownComponent(tbfService, tbfDataService) { var _this = this; this.tbfService = tbfService; this.tbfDataService = tbfDataService; this.contents = new Array(); this.tbfService.mileStone.forEach(function (res) { return (_this.contents.push(res.label)); }); } CustomAggridDropdownComponent.prototype.agInit = function (params) { this.params = params; this.label = this.params.data ? this.params.data.milestoneId ? this.params.data.milestoneId.label : '-' : '-'; if (this.label) { this.labelDisable = true; } else { this.labelDisable = false; } }; CustomAggridDropdownComponent.prototype.afterGuiAttached = function (params) { }; CustomAggridDropdownComponent.prototype.refresh = function (params) { var _this = this; this.tbfService.tbfDirtyChecker = true; this.label = params.value; this.params.data.milestoneId = this.tbfService.mileStone.find(function (res) { return res.label === _this.label; }); this.findChangedData(this.params); this.labelDisable = true; return false; }; CustomAggridDropdownComponent.prototype.findChangedData = function (params) { var tbfConsumption = new src_app_saisie_crrpp_model_tbfConsumption_model__WEBPACK_IMPORTED_MODULE_3__["TbfConsumption"](); tbfConsumption = params.data; tbfConsumption.ipn = sessionStorage.getItem(src_app_saisie_crrpp_model_crrppStaticValues__WEBPACK_IMPORTED_MODULE_4__["CrrppStaticValues"].UID) ? sessionStorage.getItem(src_app_saisie_crrpp_model_crrppStaticValues__WEBPACK_IMPORTED_MODULE_4__["CrrppStaticValues"].UID) : src_app_saisie_crrpp_model_crrppStaticValues__WEBPACK_IMPORTED_MODULE_4__["CrrppStaticValues"].User; this.saveTbfConsumptionData = this.tbfService.saveConsumtionData; if (this.saveTbfConsumptionData.length === 0) { this.saveTbfConsumptionData.push(tbfConsumption); } else { var tbfConsumptionLength = this.saveTbfConsumptionData.length; for (var loop = 0; loop < tbfConsumptionLength; loop++) { if ((this.saveTbfConsumptionData[loop].weekNumber === params.data.weekNumber) && (new Date(this.saveTbfConsumptionData[loop].startDate).getFullYear() === new Date(params.data.startDate).getFullYear())) { this.saveTbfConsumptionData[loop] = tbfConsumption; break; } else { if (loop === tbfConsumptionLength - 1) { this.saveTbfConsumptionData.push(tbfConsumption); } else { continue; } } } } this.tbfDataService.changeMessage(src_app_saisie_crrpp_model_crrppStaticValues__WEBPACK_IMPORTED_MODULE_4__["CrrppStaticValues"].refreshMessage); this.tbfService.saveConsumtionData = this.saveTbfConsumptionData; }; CustomAggridDropdownComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'custom-aggrid-dropdown', template: __webpack_require__(/*! ./custom-aggrid-dropdown.component.html */ "./src/app/common/custom-aggrid-dropdown/custom-aggrid-dropdown.component.html"), styles: [__webpack_require__(/*! ./custom-aggrid-dropdown.component.css */ "./src/app/common/custom-aggrid-dropdown/custom-aggrid-dropdown.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [src_app_saisie_crrpp_tbf_calculation_tbf_service__WEBPACK_IMPORTED_MODULE_2__["TbfService"], src_app_saisie_crrpp_tbf_consumption_tbf_consumption_data_transfer_service__WEBPACK_IMPORTED_MODULE_5__["TbfConsumptionDataTransferService"]]) ], CustomAggridDropdownComponent); return CustomAggridDropdownComponent; }()); /***/ }), /***/ "./src/app/common/custom-aggrid-single-checkbox/custom-aggrid-single-checkbox.component.css": /*!**************************************************************************************************!*\ !*** ./src/app/common/custom-aggrid-single-checkbox/custom-aggrid-single-checkbox.component.css ***! \**************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = ".formSelect{\n width: 2em;\n height: 1.5em;\n top: 13px;\n Position: absolute;\n }\n \n .container {\n display: block;\n position: relative;\n padding-left: 35px;\n margin-bottom: 12px;\n cursor: pointer;\n font-size: 22px;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n }\n \n /* Hide the browser's default checkbox */\n \n .container input {\n position: absolute;\n opacity: 0;\n cursor: pointer;\n height: 0;\n width: 0;\n }\n \n /* Create a custom checkbox */\n \n .checkmark {\n position: absolute;\n top: 0;\n left: 0;\n height: 20px;\n width: 20px;\n background-color: white;\n border: solid;\n border-width: thin;\n }\n \n /* On mouse-over, add a grey background color */\n \n .container:hover input ~ .checkmark {\n background-color: #ccc;\n }\n \n /* When the checkbox is checked, add a blue background */\n \n .container input:checked ~ .checkmark {\n background-color: black;\n }\n \n /* Create the checkmark/indicator (hidden when not checked) */\n \n .checkmark:after {\n content: \"\";\n position: absolute;\n display: none;\n }\n \n /* Show the checkmark when checked */\n \n .container input:checked ~ .checkmark:after {\n display: block;\n }\n \n /* Style the checkmark/indicator */\n \n .container .checkmark:after {\n left: 9px;\n top: 5px;\n width: 5px;\n height: 10px;\n border: solid white;\n border-width: 0 3px 3px 0;\n transform: rotate(45deg);\n }\n \n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tbW9uL2N1c3RvbS1hZ2dyaWQtc2luZ2xlLWNoZWNrYm94L2N1c3RvbS1hZ2dyaWQtc2luZ2xlLWNoZWNrYm94LmNvbXBvbmVudC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7SUFDSSxVQUFVO0lBQ1YsYUFBYTtJQUNiLFNBQVM7SUFDVCxrQkFBa0I7RUFDcEI7O0VBRUE7SUFDRSxjQUFjO0lBQ2Qsa0JBQWtCO0lBQ2xCLGtCQUFrQjtJQUNsQixtQkFBbUI7SUFDbkIsZUFBZTtJQUNmLGVBQWU7SUFDZix5QkFBeUI7SUFDekIsc0JBQXNCO0lBRXRCLGlCQUFpQjtFQUNuQjs7RUFFQSx3Q0FBd0M7O0VBQ3hDO0lBQ0Usa0JBQWtCO0lBQ2xCLFVBQVU7SUFDVixlQUFlO0lBQ2YsU0FBUztJQUNULFFBQVE7RUFDVjs7RUFFQSw2QkFBNkI7O0VBQzdCO0lBQ0Usa0JBQWtCO0lBQ2xCLE1BQU07SUFDTixPQUFPO0lBQ1AsWUFBWTtJQUNaLFdBQVc7SUFDWCx1QkFBdUI7SUFDdkIsYUFBYTtJQUNiLGtCQUFrQjtFQUNwQjs7RUFFQSwrQ0FBK0M7O0VBQy9DO0lBQ0Usc0JBQXNCO0VBQ3hCOztFQUVBLHdEQUF3RDs7RUFDeEQ7SUFDRSx1QkFBdUI7RUFDekI7O0VBRUEsNkRBQTZEOztFQUM3RDtJQUNFLFdBQVc7SUFDWCxrQkFBa0I7SUFDbEIsYUFBYTtFQUNmOztFQUVBLG9DQUFvQzs7RUFDcEM7SUFDRSxjQUFjO0VBQ2hCOztFQUVBLGtDQUFrQzs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HRoOiA1cHg7XG4gICAgaGVpZ2h0OiAxMHB4O1xuICAgIGJvcmRlcjogc29saWQgd2hpdGU7XG4gICAgYm9yZGVyLXdpZHRoOiAwIDNweCAzcHggMDtcbiAgICAtd2Via2l0LXRyYW5zZm9ybTogcm90YXRlKDQ1ZGVnKTtcbiAgICAtbXMtdHJhbnNmb3JtOiByb3RhdGUoNDVkZWcpO1xuICAgIHRyYW5zZm9ybTogcm90YXRlKDQ1ZGVnKTtcbiAgfVxuICAiXX0= */" /***/ }), /***/ "./src/app/common/custom-aggrid-single-checkbox/custom-aggrid-single-checkbox.component.html": /*!***************************************************************************************************!*\ !*** ./src/app/common/custom-aggrid-single-checkbox/custom-aggrid-single-checkbox.component.html ***! \***************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "\n" /***/ }), /***/ "./src/app/common/custom-aggrid-single-checkbox/custom-aggrid-single-checkbox.component.ts": /*!*************************************************************************************************!*\ !*** ./src/app/common/custom-aggrid-single-checkbox/custom-aggrid-single-checkbox.component.ts ***! \*************************************************************************************************/ /*! exports provided: CustomAggridSingleCheckboxComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CustomAggridSingleCheckboxComponent", function() { return CustomAggridSingleCheckboxComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var src_app_saisie_crrpp_suivi_moteur_suivi_moteur_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/app/saisie/crrpp/suivi-moteur/suivi-moteur.service */ "./src/app/saisie/crrpp/suivi-moteur/suivi-moteur.service.ts"); /* harmony import */ var src_app_saisie_crrpp_model_crrppStaticValues__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/saisie/crrpp/model/crrppStaticValues */ "./src/app/saisie/crrpp/model/crrppStaticValues.ts"); var CustomAggridSingleCheckboxComponent = /** @class */ (function () { function CustomAggridSingleCheckboxComponent(suiviService) { this.suiviService = suiviService; } CustomAggridSingleCheckboxComponent.prototype.agInit = function (params) { this.params = params; }; CustomAggridSingleCheckboxComponent.prototype.afterGuiAttached = function (params) { }; CustomAggridSingleCheckboxComponent.prototype.refresh = function (params) { params.data.clientSatisfactionNC = params.value; params.api.refreshCells(params); this.suiviService.changeMessage(src_app_saisie_crrpp_model_crrppStaticValues__WEBPACK_IMPORTED_MODULE_3__["CrrppStaticValues"].refreshMessage); this.suiviService.setInitTabGridDirty(true); return false; }; CustomAggridSingleCheckboxComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'custom-aggrid-single-checkbox', template: __webpack_require__(/*! ./custom-aggrid-single-checkbox.component.html */ "./src/app/common/custom-aggrid-single-checkbox/custom-aggrid-single-checkbox.component.html"), styles: [__webpack_require__(/*! ./custom-aggrid-single-checkbox.component.css */ "./src/app/common/custom-aggrid-single-checkbox/custom-aggrid-single-checkbox.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [src_app_saisie_crrpp_suivi_moteur_suivi_moteur_service__WEBPACK_IMPORTED_MODULE_2__["SuiviMoteurService"]]) ], CustomAggridSingleCheckboxComponent); return CustomAggridSingleCheckboxComponent; }()); /***/ }), /***/ "./src/app/common/custom-listbox/custom-listbox.component.css": /*!********************************************************************!*\ !*** ./src/app/common/custom-listbox/custom-listbox.component.css ***! \********************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "div.record-picker {\n\toverflow-x: hidden;\n\toverflow-y: auto;\n\tborder: 1px solid #ddd;\n\tposition: relative;\n\tcursor: pointer;\n\t\n}\n\ndiv.record-picker::-webkit-scrollbar {\n\twidth: 12px;\n}\n\ndiv.record-picker::-webkit-scrollbar-button {\n\twidth: 0px;\n\theight: 0px;\n}\n\ndiv.record-picker {\n\tscrollbar-base-color: indigo;\n\tscrollbar-3dlight-color: indigo;\n\tscrollbar-highlight-color: indigo;\n\tscrollbar-track-color: #eee;\n\tscrollbar-arrow-color: gray;\n\tscrollbar-shadow-color: gray;\n\tscrollbar-dark-shadow-color: gray;\n}\n\ndiv.record-picker::-webkit-scrollbar-track {\n\tbackground:#eee;\n\tbox-shadow: 0px 0px 3px #dfdfdf inset;\n}\n\ndiv.record-picker::-webkit-scrollbar-thumb {\n\tbackground: #ffc107;\n\tborder: thin solid gray;\n}\n\ndiv.record-picker::-webkit-scrollbar-thumb:hover {\n\tbackground: #ffc107;\n}\n\n.record-picker ul {\n\tmargin: 0;\n\tpadding: 0 0 1px 0;\n}\n\n.record-picker li {\n\tborder-top: thin solid #ddd;\n\tborder-bottom: 1px solid #ddd;\n\tdisplay: block;\n\t\n\tmargin-bottom: -1px;\n\tfont-size: 0.85em;\n\tcursor: pointer;\n\twhite-space: nowrap;\n\tmin-height:16px;\n\ttext-align: left;\n}\n\n.record-picker li:hover {\n\tbackground-color: #f26522 !important;\n}\n\n.record-picker li.selected {\n\tbackground-color: thistle;\n}\n\n.record-picker li.selected:hover {\n\tbackground-color: #ffc107;\n}\n\n.record-picker li.disabled {\n\topacity: 0.5;\n\tcursor: default;\n}\n\n.record-picker li:first-child {\n\tborder-top: none;\n}\n\n.record-picker li:last-child {\n\tborder-bottom: none;\n}\n\n.record-picker label {\n\tcursor: pointer;\n\tfont-weight: inherit;\n\tfont-size: 13px;\n\tfont-weight:bold;\n\tpadding: 4px;\n\tmargin-bottom: -1px;\n\t-webkit-touch-callout: none;\n\t-webkit-user-select: none;\n\t-moz-user-select: none;\n\tuser-select: none;\n}\n\n.record-picker ul.over {\n\tbackground-color:lightgray;\n}\n\n.dual-list {\n\tdisplay: flex;\n\tflex-direction: row;\n\talign-content: flex-start;\n\tjustify-content: space-evenly;\n\t\n}\n\n.dual-list .listbox {\n\twidth: 35%;\n\tmargin: 0px;\n\tflex-grow: 2;\n}\n\n.buttonbox {\n\tmargin: 0 10px;\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: center;\n}\n\n.btn-block {\n\tdisplay: block;\n\n}\n\n.form-control:focus {\n color: #000;\n background-color: #fff !important;\n border-color: #f26522 !important}\n\nbutton {\n\tcolor: white;\n\tfont-size: 18px;\n\tbackground: #ffc107;\n\tpadding: 5px 10px;\n\tborder: solid black 1px;\n\ttext-decoration: none;\n\tcursor: pointer;\n}\n\nbutton:hover {\n\tbackground: #ffc107;\n\ttext-decoration: none;\n}\n\nbutton:disabled {\n\tbackground: #ffc107;\n\tcursor: default;\n}\n\np {\n\n\tfont-weight: 600;\n\tmargin-bottom: 4px;\n}\n\n.form-control {\n width: 100% !important;\n line-height: 42.25 !important;\n}\n\n.record-picker li.selected {\n background-color: #ffc107;\n}\n\n.btn .fa{color: #000000;}\n\n.container {\n\tdisplay: block;\n\tposition: relative;\n\tpadding-left: 35px;\n\tmargin-bottom: 12px;\n\tcursor: pointer;\n\tfont-size: 22px;\n\t-webkit-user-select: none;\n\t-moz-user-select: none;\n\tuser-select: none;\n }\n\n.container input {\n\tposition: absolute;\n\topacity: 0;\n\tcursor: pointer;\n\theight: 0;\n\twidth: 0;\n }\n\n.checkmark {\n\tposition: absolute;\n\ttop: 0;\n\tleft: 0;\n\theight: 25px;\n\twidth: 25px;\n\tbackground-color: #ffc107;\n }\n\n.container:hover input ~ .checkmark {\n\tbackground-color: #ffc107;\n }\n\n.container input:checked ~ .checkmark {\n\tbackground-color: #ffc107;\n }\n\n.checkmark:after {\n\tcontent: \"\";\n\tposition: absolute;\n\tdisplay: none;\n }\n\n.container input:checked ~ .checkmark:after {\n\tdisplay: block;\n }\n\n.container .checkmark:after {\n\tleft: 9px;\n\ttop: 5px;\n\twidth: 5px;\n\theight: 11px;\n\tborder: solid black;\n\tborder-width: 0 3px 3px 0;\n\ttransform: rotate(45deg);\n }\n\n.distributionListCheckBoxSpan {\n\tfloat:left !important; \n\tpadding-right: 12px !important;\n }\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tbW9uL2N1c3RvbS1saXN0Ym94L2N1c3RvbS1saXN0Ym94LmNvbXBvbmVudC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Q0FDQyxrQkFBa0I7Q0FDbEIsZ0JBQWdCO0NBQ2hCLHNCQUFzQjtDQUN0QixrQkFBa0I7Q0FDbEIsZUFBZTs7QUFFaEI7O0FBRUE7Q0FDQyxXQUFXO0FBQ1o7O0FBRUE7Q0FDQyxVQUFVO0NBQ1YsV0FBVztBQUNaOztBQUVBO0NBQ0MsNEJBQTRCO0NBQzVCLCtCQUErQjtDQUMvQixpQ0FBaUM7Q0FDakMsMkJBQTJCO0NBQzNCLDJCQUEyQjtDQUMzQiw0QkFBNEI7Q0FDNUIsaUNBQWlDO0FBQ2xDOztBQUVBO0NBQ0MsZUFBZTtDQUNmLHFDQUFxQztBQUN0Qzs7QUFFQTtDQUNDLG1CQUFtQjtDQUNuQix1QkFBdUI7QUFDeEI7O0FBRUE7Q0FDQyxtQkFBbUI7QUFDcEI7O0FBRUE7Q0FDQyxTQUFTO0NBQ1Qsa0JBQWtCO0FBQ25COztBQUVBO0NBQ0MsMkJBQTJCO0NBQzNCLDZCQUE2QjtDQUM3QixjQUFjOztDQUVkLG1CQUFtQjtDQUNuQixpQkFBaUI7Q0FDakIsZUFBZTtDQUNmLG1CQUFtQjtDQUNuQixlQUFlO0NBQ2YsZ0JBQWdCO0FBQ2pCOztBQUVBO0NBQ0Msb0NBQW9DO0FBQ3JDOztBQUVBO0NBQ0MseUJBQXlCO0FBQzFCOztBQUVBO0NBQ0MseUJBQXlCO0FBQzFCOztBQUVBO0NBQ0MsWUFBWTtDQUNaLGV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IFxuICAuY29udGFpbmVyOmhvdmVyIGlucHV0IH4gLmNoZWNrbWFyayB7XG5cdGJhY2tncm91bmQtY29sb3I6ICNmZmMxMDc7XG4gIH1cblxuICAuY29udGFpbmVyIGlucHV0OmNoZWNrZWQgfiAuY2hlY2ttYXJrIHtcblx0YmFja2dyb3VuZC1jb2xvcjogI2ZmYzEwNztcbiAgfVxuXG4gIC5jaGVja21hcms6YWZ0ZXIge1xuXHRjb250ZW50OiBcIlwiO1xuXHRwb3NpdGlvbjogYWJzb2x1dGU7XG5cdGRpc3BsYXk6IG5vbmU7XG4gIH1cblxuICAuY29udGFpbmVyIGlucHV0OmNoZWNrZWQgfiAuY2hlY2ttYXJrOmFmdGVyIHtcblx0ZGlzcGxheTogYmxvY2s7XG4gIH1cblxuICAuY29udGFpbmVyIC5jaGVja21hcms6YWZ0ZXIge1xuXHRsZWZ0OiA5cHg7XG5cdHRvcDogNXB4O1xuXHR3aWR0aDogNXB4O1xuXHRoZWlnaHQ6IDExcHg7XG5cdGJvcmRlcjogc29saWQgYmxhY2s7XG5cdGJvcmRlci13aWR0aDogMCAzcHggM3B4IDA7XG5cdC13ZWJraXQtdHJhbnNmb3JtOiByb3RhdGUoNDVkZWcpO1xuXHQtbXMtdHJhbnNmb3JtOiByb3RhdGUoNDVkZWcpO1xuXHR0cmFuc2Zvcm06IHJvdGF0ZSg0NWRlZyk7XG4gIH1cblxuICAuZGlzdHJpYnV0aW9uTGlzdENoZWNrQm94U3BhbiB7XG5cdGZsb2F0OmxlZnQgIWltcG9ydGFudDsgXG5cdHBhZGRpbmctcmlnaHQ6IDEycHggIWltcG9ydGFudDtcbiAgfSJdfQ== */" /***/ }), /***/ "./src/app/common/custom-listbox/custom-listbox.component.html": /*!*********************************************************************!*\ !*** ./src/app/common/custom-listbox/custom-listbox.component.html ***! \*********************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "\n
\n\t
\n\t\t

{{sourceName}}

\n\t\t
\n\t\t\t\n\t\t
\n\n\t\t
\n\t\t\t
    \n\t\t\t\t
  • \n\t\t\t
\n\t\t
\n\t
\n\n\t
\n\t\t\n\t\t\n\t\t\n\n\n\t\t\n\n\t\t\t\n\n\t
\n\n\t
\n\t\t

{{targetName}}

\n\t\t
\n\t\t\t\n\t\t
\n\t\t
\n\t\t\t
    \n\t\t\t\t
  • \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t{{item._name}}\n\t\t\t\t
  • \n\t\t\t
\n\t\t
\n\t
\n
\n" /***/ }), /***/ "./src/app/common/custom-listbox/custom-listbox.component.ts": /*!*******************************************************************!*\ !*** ./src/app/common/custom-listbox/custom-listbox.component.ts ***! \*******************************************************************/ /*! exports provided: CustomListboxComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CustomListboxComponent", function() { return CustomListboxComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var angular_dual_listbox__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! angular-dual-listbox */ "./node_modules/angular-dual-listbox/fesm5/angular-dual-listbox.js"); /* harmony import */ var src_app_mpm_test_bed_slots_test_bed_slots_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/mpm/test-bed-slots/test-bed-slots.service */ "./src/app/mpm/test-bed-slots/test-bed-slots.service.ts"); /* harmony import */ var src_app_saisie_distribution_list_distribution_list_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/app/saisie/distribution-list/distribution-list.service */ "./src/app/saisie/distribution-list/distribution-list.service.ts"); /* harmony import */ var _custom_listbox_model__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./custom-listbox.model */ "./src/app/common/custom-listbox/custom-listbox.model.ts"); var CustomListboxComponent = /** @class */ (function (_super) { tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](CustomListboxComponent, _super); function CustomListboxComponent(differs, testbedSlotService, distributionListService) { var _this = _super.call(this, differs) || this; _this.testbedSlotService = testbedSlotService; _this.distributionListService = distributionListService; _this.sourceName = ''; _this.targetName = ''; _this.selectChange = new _angular_core__WEBPACK_IMPORTED_MODULE_1__["EventEmitter"](); return _this; } CustomListboxComponent.prototype.ngOnInit = function () { this.displaymsg = this.testbedSlotService.getfilterMsg(); this.distributionListFlag = this.distributionListService !== undefined ? this.distributionListService.distributionListFlag : false; }; CustomListboxComponent.prototype.moveAll = function () { this.selectAll(this.available); this.moveItem(this.available, this.confirmed); }; CustomListboxComponent.prototype.removeAll = function () { this.selectAll(this.confirmed); this.moveItem(this.confirmed, this.available); }; CustomListboxComponent.prototype.CheckboxChanged = function (item, event) { this.destinationChange.emit(this.confirmed.list.map(function (m) { return m._name; })); if (item != null && event != null && item != undefined && event != undefined) { this.distributionListService.directoryData .filter(function (res) { return item._id === res[_custom_listbox_model__WEBPACK_IMPORTED_MODULE_5__["Constants"].directoryIpn] + ' - ' + res[_custom_listbox_model__WEBPACK_IMPORTED_MODULE_5__["Constants"].fname] + ' ' + res[_custom_listbox_model__WEBPACK_IMPORTED_MODULE_5__["Constants"].lname] + ' - ' + res.profileNames; }) .map(function (data) { return data.dailyMailFlag = event.target.checked; }); } }; CustomListboxComponent.prototype.checkDistList = function (name) { var data = this.distributionListService.directoryData.filter(function (res) { return name === res[_custom_listbox_model__WEBPACK_IMPORTED_MODULE_5__["Constants"].directoryIpn] + ' - ' + res[_custom_listbox_model__WEBPACK_IMPORTED_MODULE_5__["Constants"].fname] + ' ' + res[_custom_listbox_model__WEBPACK_IMPORTED_MODULE_5__["Constants"].lname] + ' - ' + res.profileNames; }); if (data.length > 0) return data[0][_custom_listbox_model__WEBPACK_IMPORTED_MODULE_5__["Constants"].dailyMailFlag] === undefined ? false : data[0][_custom_listbox_model__WEBPACK_IMPORTED_MODULE_5__["Constants"].dailyMailFlag]; return false; }; // Override function in DualListComponent to add custom selectChange event. CustomListboxComponent.prototype.selectItem = function (list, item) { var pk = list.filter(function (e) { return Object.is(e, item); }); if (pk.length > 0) { // Already in list, so deselect. for (var i = 0, len = pk.length; i < len; i += 1) { var idx = list.indexOf(pk[i]); if (idx !== -1) { list.splice(idx, 1); this.selectChange.emit({ key: item._id, selected: false }); } } } else { list.push(item); this.selectChange.emit({ key: item._id, selected: true }); } }; tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"])(), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:type", Object) ], CustomListboxComponent.prototype, "sourceName", void 0); tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"])(), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:type", Object) ], CustomListboxComponent.prototype, "targetName", void 0); tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Output"])(), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:type", Object) ], CustomListboxComponent.prototype, "selectChange", void 0); CustomListboxComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'app-custom-listbox', template: __webpack_require__(/*! ./custom-listbox.component.html */ "./src/app/common/custom-listbox/custom-listbox.component.html"), styles: [__webpack_require__(/*! ./custom-listbox.component.css */ "./src/app/common/custom-listbox/custom-listbox.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"], src_app_mpm_test_bed_slots_test_bed_slots_service__WEBPACK_IMPORTED_MODULE_3__["TestBedSlotsService"], src_app_saisie_distribution_list_distribution_list_service__WEBPACK_IMPORTED_MODULE_4__["DistributionListService"]]) ], CustomListboxComponent); return CustomListboxComponent; }(angular_dual_listbox__WEBPACK_IMPORTED_MODULE_2__["DualListComponent"])); /***/ }), /***/ "./src/app/common/custom-listbox/custom-listbox.model.ts": /*!***************************************************************!*\ !*** ./src/app/common/custom-listbox/custom-listbox.model.ts ***! \***************************************************************/ /*! exports provided: CustomListbox, Constants */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CustomListbox", function() { return CustomListbox; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Constants", function() { return Constants; }); var CustomListbox = /** @class */ (function () { function CustomListbox() { } return CustomListbox; }()); var Constants; (function (Constants) { Constants["directoryIpn"] = "directoryIpn"; Constants["fname"] = "fname"; Constants["lname"] = "lname"; Constants["dailyMailFlag"] = "dailyMailFlag"; })(Constants || (Constants = {})); /***/ }), /***/ "./src/app/common/directives/PrimeNgEditorAutoscrollFixDirective.ts": /*!**************************************************************************!*\ !*** ./src/app/common/directives/PrimeNgEditorAutoscrollFixDirective.ts ***! \**************************************************************************/ /*! exports provided: PrimeNgEditorAutoscrollFixDirective */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PrimeNgEditorAutoscrollFixDirective", function() { return PrimeNgEditorAutoscrollFixDirective; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _spinner_loading_spinner_loading_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../spinner-loading/spinner-loading.service */ "./src/app/common/spinner-loading/spinner-loading.service.ts"); var PrimeNgEditorAutoscrollFixDirective = /** @class */ (function () { function PrimeNgEditorAutoscrollFixDirective(element, spinnerService) { this.element = element; this.spinnerService = spinnerService; } PrimeNgEditorAutoscrollFixDirective.prototype.ngOnChanges = function (changes) { var _this = this; var change = changes["content"]; var elemPosition = this.element.nativeElement.getBoundingClientRect().top + document.body.scrollTop; var clientHeight = document.documentElement.clientHeight; if (change.isFirstChange() || elemPosition > clientHeight) { this.element.nativeElement.style.display = 'none'; this.spinnerService.sendMessage('show'); setTimeout(function () { _this.element.nativeElement.style.display = ''; _this.spinnerService.sendMessage('hide'); }, 750); } }; tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"])("p-editor-model"), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:type", String) ], PrimeNgEditorAutoscrollFixDirective.prototype, "content", void 0); PrimeNgEditorAutoscrollFixDirective = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Directive"])({ selector: '[p-editor-model]' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _spinner_loading_spinner_loading_service__WEBPACK_IMPORTED_MODULE_2__["SpinnerLoadingService"]]) ], PrimeNgEditorAutoscrollFixDirective); return PrimeNgEditorAutoscrollFixDirective; }()); /***/ }), /***/ "./src/app/common/dynamic-form/dynamic-components/base-control.service.ts": /*!********************************************************************************!*\ !*** ./src/app/common/dynamic-form/dynamic-components/base-control.service.ts ***! \********************************************************************************/ /*! exports provided: BaseControlService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BaseControlService", function() { return BaseControlService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/fesm5/forms.js"); var BaseControlService = /** @class */ (function () { function BaseControlService() { } BaseControlService.prototype.toFormGroup = function (baseFile) { var group = {}; baseFile.forEach(function (req) { group[req.key] = req.required ? new _angular_forms__WEBPACK_IMPORTED_MODULE_2__["FormControl"](req.value || '', _angular_forms__WEBPACK_IMPORTED_MODULE_2__["Validators"].required) : new _angular_forms__WEBPACK_IMPORTED_MODULE_2__["FormControl"](req.value || ''); }); return new _angular_forms__WEBPACK_IMPORTED_MODULE_2__["FormGroup"](group); }; BaseControlService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])(), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", []) ], BaseControlService); return BaseControlService; }()); /***/ }), /***/ "./src/app/common/dynamic-form/dynamic-components/base-file.ts": /*!*********************************************************************!*\ !*** ./src/app/common/dynamic-form/dynamic-components/base-file.ts ***! \*********************************************************************/ /*! exports provided: BaseFile */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BaseFile", function() { return BaseFile; }); var BaseFile = /** @class */ (function () { function BaseFile(options) { if (options === void 0) { options = {}; } this.value = options.value; this.key = options.key || ''; this.label = options.label || ''; this.required = !!options.required; this.order = options.order === undefined ? 1 : options.order; this.controlType = options.controlType || ''; this.flag = options.flag === undefined ? false : options.flag; this.mandatory = options.mandatory === undefined ? false : options.mandatory; this.maxLength = options.maxLength === undefined ? null : options.maxLength; this.pattern = options.pattern === undefined ? null : options.pattern; } return BaseFile; }()); /***/ }), /***/ "./src/app/common/dynamic-form/dynamic-form-base/dynamic-form-base.component.css": /*!***************************************************************************************!*\ !*** ./src/app/common/dynamic-form/dynamic-form-base/dynamic-form-base.component.css ***! \***************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "::ng-deep .mat-tooltip {\n white-space: pre-line !important;\n word-break: break-word;\n height: auto !important;\n position: relative;\n }\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tbW9uL2R5bmFtaWMtZm9ybS9keW5hbWljLWZvcm0tYmFzZS9keW5hbWljLWZvcm0tYmFzZS5jb21wb25lbnQuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0lBQ0ksbUNBQW1DO0lBQ25DLHNCQUFzQjtJQUN0Qix1QkFBdUI7SUFDdkIsa0JBQWtCO0VBQ3BCIiwiZmlsZSI6InNyYy9hcHAvY29tbW9uL2R5bmFtaWMtZm9ybS9keW5hbWljLWZvcm0tYmFzZS9keW5hbWljLWZvcm0tYmFzZS5jb21wb25lbnQuY3NzIiwic291cmNlc0NvbnRlbnQiOlsiOjpuZy1kZWVwIC5tYXQtdG9vbHRpcCAge1xuICAgIHdoaXRlLXNwYWNlOiBwcmUtbGluZSAgICAhaW1wb3J0YW50O1xuICAgIHdvcmQtYnJlYWs6IGJyZWFrLXdvcmQ7XG4gICAgaGVpZ2h0OiBhdXRvICFpbXBvcnRhbnQ7XG4gICAgcG9zaXRpb246IHJlbGF0aXZlO1xuICB9Il19 */" /***/ }), /***/ "./src/app/common/dynamic-form/dynamic-form-base/dynamic-form-base.component.html": /*!****************************************************************************************!*\ !*** ./src/app/common/dynamic-form/dynamic-form-base/dynamic-form-base.component.html ***! \****************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "
\n\n
\n \n\n \n\n \n\n \n\n \n\n \n \n \n \n\n\n \n\n \n\n
\n
\n
Errormessage.MandatoryErrorMsg
\n
" /***/ }), /***/ "./src/app/common/dynamic-form/dynamic-form-base/dynamic-form-base.component.ts": /*!**************************************************************************************!*\ !*** ./src/app/common/dynamic-form/dynamic-form-base/dynamic-form-base.component.ts ***! \**************************************************************************************/ /*! exports provided: DynamicFormBaseComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DynamicFormBaseComponent", function() { return DynamicFormBaseComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/fesm5/forms.js"); /* harmony import */ var _dynamic_components_base_file__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../dynamic-components/base-file */ "./src/app/common/dynamic-form/dynamic-components/base-file.ts"); /* harmony import */ var _common_services__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../common.services */ "./src/app/common/common.services.ts"); var DynamicFormBaseComponent = /** @class */ (function () { function DynamicFormBaseComponent(commonservice) { this.commonservice = commonservice; } Object.defineProperty(DynamicFormBaseComponent.prototype, "isValid", { get: function () { if (this.form.controls[this.baseFile.key].dirty) { this.commonservice.setFormChanged(true); } return this.form.controls[this.baseFile.key].valid; }, enumerable: true, configurable: true }); tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"])(), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:type", _dynamic_components_base_file__WEBPACK_IMPORTED_MODULE_3__["BaseFile"]) ], DynamicFormBaseComponent.prototype, "baseFile", void 0); tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"])(), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:type", _angular_forms__WEBPACK_IMPORTED_MODULE_2__["FormGroup"]) ], DynamicFormBaseComponent.prototype, "form", void 0); tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"])(), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:type", Object) ], DynamicFormBaseComponent.prototype, "flag", void 0); DynamicFormBaseComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'dynamic-form-base', template: __webpack_require__(/*! ./dynamic-form-base.component.html */ "./src/app/common/dynamic-form/dynamic-form-base/dynamic-form-base.component.html"), styles: [__webpack_require__(/*! ./dynamic-form-base.component.css */ "./src/app/common/dynamic-form/dynamic-form-base/dynamic-form-base.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_common_services__WEBPACK_IMPORTED_MODULE_4__["CommonServices"]]) ], DynamicFormBaseComponent); return DynamicFormBaseComponent; }()); /***/ }), /***/ "./src/app/common/dynamic-form/dynamic-form.component.html": /*!*****************************************************************!*\ !*** ./src/app/common/dynamic-form/dynamic-form.component.html ***! \*****************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "\n
\n
\n \n\n
\n \n
\n\n \n \n\n\n
\n
\n \n \n\n \n\n
\n
\n \n
\n
" /***/ }), /***/ "./src/app/common/dynamic-form/dynamic-form.component.ts": /*!***************************************************************!*\ !*** ./src/app/common/dynamic-form/dynamic-form.component.ts ***! \***************************************************************/ /*! exports provided: DynamicFormComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DynamicFormComponent", function() { return DynamicFormComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! moment */ "./node_modules/moment/moment.js"); /* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _dynamic_components_base_control_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./dynamic-components/base-control.service */ "./src/app/common/dynamic-form/dynamic-components/base-control.service.ts"); /* harmony import */ var _common_services__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../common.services */ "./src/app/common/common.services.ts"); /* harmony import */ var src_app_saisie_activate_tuningEdActivity_model__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! src/app/saisie/activate/tuningEdActivity.model */ "./src/app/saisie/activate/tuningEdActivity.model.ts"); /* harmony import */ var src_app_saisie_activate_engineActivity_model__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! src/app/saisie/activate/engineActivity.model */ "./src/app/saisie/activate/engineActivity.model.ts"); /* harmony import */ var src_app_saisie_activate_activity_model__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! src/app/saisie/activate/activity.model */ "./src/app/saisie/activate/activity.model.ts"); /* harmony import */ var src_app_administration_levelreferential_level0_level0_model__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! src/app/administration/levelreferential/level0/level0.model */ "./src/app/administration/levelreferential/level0/level0.model.ts"); /* harmony import */ var src_app_administration_levelreferential_level1_level1_model__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! src/app/administration/levelreferential/level1/level1.model */ "./src/app/administration/levelreferential/level1/level1.model.ts"); /* harmony import */ var src_app_administration_levelreferential_level2_level2_model__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! src/app/administration/levelreferential/level2/level2.model */ "./src/app/administration/levelreferential/level2/level2.model.ts"); /* harmony import */ var src_app_administration_prestationsandprocedures_procedure_procedure_model__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! src/app/administration/prestationsandprocedures/procedure/procedure.model */ "./src/app/administration/prestationsandprocedures/procedure/procedure.model.ts"); /* harmony import */ var src_app_administration_referentiel_campaign_campaign_model__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! src/app/administration/referentiel/campaign/campaign.model */ "./src/app/administration/referentiel/campaign/campaign.model.ts"); /* harmony import */ var src_app_administration_referentiel_customer_customer_model__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! src/app/administration/referentiel/customer/customer.model */ "./src/app/administration/referentiel/customer/customer.model.ts"); /* harmony import */ var src_app_administration_prestationsandprocedures_prestation_prestation_model__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! src/app/administration/prestationsandprocedures/prestation/prestation.model */ "./src/app/administration/prestationsandprocedures/prestation/prestation.model.ts"); /* harmony import */ var src_app_saisie_activate_activate_service__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! src/app/saisie/activate/activate.service */ "./src/app/saisie/activate/activate.service.ts"); /* harmony import */ var _snackbar_snackbar_component_service__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../snackbar/snackbar.component.service */ "./src/app/common/snackbar/snackbar.component.service.ts"); /* harmony import */ var src_app_saisie_activate_failureActivity_model__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! src/app/saisie/activate/failureActivity.model */ "./src/app/saisie/activate/failureActivity.model.ts"); /* harmony import */ var src_app_saisie_activate_OT_model__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! src/app/saisie/activate/OT.model */ "./src/app/saisie/activate/OT.model.ts"); /* harmony import */ var src_app_saisie_activate_otType_model__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! src/app/saisie/activate/otType.model */ "./src/app/saisie/activate/otType.model.ts"); /* harmony import */ var src_app_saisie_activate_engineReliabilityActivity_model__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! src/app/saisie/activate/engineReliabilityActivity.model */ "./src/app/saisie/activate/engineReliabilityActivity.model.ts"); /* harmony import */ var src_app_saisie_activate_evEngine_model__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! src/app/saisie/activate/evEngine.model */ "./src/app/saisie/activate/evEngine.model.ts"); /* harmony import */ var _angular_material__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! @angular/material */ "./node_modules/@angular/material/esm5/material.es5.js"); /* harmony import */ var src_app_common_shared_confirmation_dialog_confirmation_dialog_component__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! src/app/common/shared/confirmation-dialog/confirmation-dialog.component */ "./src/app/common/shared/confirmation-dialog/confirmation-dialog.component.ts"); /* harmony import */ var src_app_administration_testbedreferential_testbed_testbed_model__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! src/app/administration/testbedreferential/testbed/testbed-model */ "./src/app/administration/testbedreferential/testbed/testbed-model.ts"); /* harmony import */ var src_app_administration_levelreferential_levelsadmin_exploitable_model__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! src/app/administration/levelreferential/levelsadmin/exploitable.model */ "./src/app/administration/levelreferential/levelsadmin/exploitable.model.ts"); /* harmony import */ var src_app_saisie_bar_activity_bar_activity_service__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! src/app/saisie/bar-activity/bar-activity.service */ "./src/app/saisie/bar-activity/bar-activity.service.ts"); /* harmony import */ var src_app_saisie_activate_activitycommon_service__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! src/app/saisie/activate/activitycommon.service */ "./src/app/saisie/activate/activitycommon.service.ts"); /* harmony import */ var src_app_saisie_ot_status_ot_status_service__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! src/app/saisie/ot-status/ot-status.service */ "./src/app/saisie/ot-status/ot-status.service.ts"); /* harmony import */ var src_app_administration_referentiel_rs_type_rs_type_model__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! src/app/administration/referentiel/rs-type/rs-type.model */ "./src/app/administration/referentiel/rs-type/rs-type.model.ts"); /* harmony import */ var _dynamic_form_model__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./dynamic-form.model */ "./src/app/common/dynamic-form/dynamic-form.model.ts"); /* harmony import */ var src_app_administration_prestationsandprocedures_macro_activity_macro_activity_model__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! src/app/administration/prestationsandprocedures/macro-activity/macro-activity.model */ "./src/app/administration/prestationsandprocedures/macro-activity/macro-activity.model.ts"); /* harmony import */ var src_app_saisie_activate_engineActivityGridWrapper_model__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! src/app/saisie/activate/engineActivityGridWrapper.model */ "./src/app/saisie/activate/engineActivityGridWrapper.model.ts"); /* harmony import */ var src_app_administration_referentiel_fuel_fuel_model__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! src/app/administration/referentiel/fuel/fuel.model */ "./src/app/administration/referentiel/fuel/fuel.model.ts"); var DynamicFormComponent = /** @class */ (function () { function DynamicFormComponent(baseControlService, commonService, activityService, snackbarService, dialog, barService, activitycommonService, otStatusService) { this.baseControlService = baseControlService; this.commonService = commonService; this.activityService = activityService; this.snackbarService = snackbarService; this.dialog = dialog; this.barService = barService; this.activitycommonService = activitycommonService; this.otStatusService = otStatusService; this.baseFile = []; this.closeDynamicForm = new _angular_core__WEBPACK_IMPORTED_MODULE_1__["EventEmitter"](); this.flagVal = new _angular_core__WEBPACK_IMPORTED_MODULE_1__["EventEmitter"](); this.cancelDynamicForm = new _angular_core__WEBPACK_IMPORTED_MODULE_1__["EventEmitter"](); this.payLoad = ''; this.dataTrans = new _dynamic_form_model__WEBPACK_IMPORTED_MODULE_30__["DynamicDataTransfer"](); } DynamicFormComponent.prototype.ngOnInit = function () { // this.activityService.setSacreFlag(false); this.form = this.baseControlService.toFormGroup(this.baseFile); // this.disableFlag = true; this.setDataTransfer(); this.onValueChanges(); }; DynamicFormComponent.prototype.onValueChanges = function () { var _this = this; this.form.valueChanges.subscribe(function (val) { _this.dataTrans.comments = val.comment; _this.dataTrans.engineNo = val.engineNb; _this.dataTrans.febNb = val.febNb; _this.dataTrans.engineDt = val.engineDt; _this.dataTrans.calibration = val.calibration; _this.dataTrans.soft = val.soft; _this.dataTrans.testSupport = val.testSupport; _this.dataTrans.di = val.di; _this.dataTrans.dcm = val.dcm; _this.dataTrans.testNumber = val.testNumber; _this.activityService.dataTrans = _this.dataTrans; }); }; DynamicFormComponent.prototype.setDataTransfer = function () { this.payLoad = JSON.parse(JSON.stringify(this.form.value)); this.dataTrans.comments = this.payLoad['comment']; this.dataTrans.engineNo = this.payLoad['engineNb']; this.dataTrans.febNb = this.payLoad['febNb']; this.dataTrans.engineDt = this.payLoad['engineDT']; this.dataTrans.calibration = this.payLoad['calibration']; this.dataTrans.soft = this.payLoad['soft']; this.dataTrans.testSupport = this.payLoad['testSupport']; this.dataTrans.di = this.payLoad['di']; this.dataTrans.dcm = this.payLoad['dcm']; this.dataTrans.testNumber = this.payLoad['testNumber']; this.activityService.dataTrans = this.dataTrans; }; /** For Sacre Data Save/update */ DynamicFormComponent.prototype.assignSacreData = function () { var engineActivity = new src_app_saisie_activate_engineActivity_model__WEBPACK_IMPORTED_MODULE_6__["EngineActivity"](); var sacreData = this.commonService.getSacreData(); if (sacreData != null) { engineActivity.rlcePre = sacreData.previsionnalRLCE; engineActivity.rlceReal = sacreData.realRLCE; engineActivity.milestone = sacreData.milestoneCode; engineActivity.status = sacreData.testStatus; if (sacreData.targetStartDate != null && sacreData.targetStartDate != undefined && sacreData.targetStartDate != '') { engineActivity.begTarget = moment__WEBPACK_IMPORTED_MODULE_2__(sacreData.targetStartDate, 'DD/MM/YYYY').format('YYYY-MM-DD'); } if (sacreData.targetEndDate != null && sacreData.targetEndDate != undefined && sacreData.targetEndDate != '') { engineActivity.endTarget = moment__WEBPACK_IMPORTED_MODULE_2__(sacreData.targetEndDate, 'DD/MM/YYYY').format('YYYY-MM-DD'); } engineActivity.testType = sacreData.testType; engineActivity.projectCode = sacreData.labelPI; if (sacreData.milestoneMaxDate != null && sacreData.milestoneMaxDate != undefined && sacreData.milestoneMaxDate != '') { engineActivity.milestoneMaxD = moment__WEBPACK_IMPORTED_MODULE_2__(sacreData.milestoneMaxDate, 'DD/MM/YYYY').format('YYYY-MM-DD'); } if (sacreData.milestoneMinDate != null && sacreData.milestoneMinDate != undefined && sacreData.milestoneMinDate != '') { engineActivity.milestoneMinD = moment__WEBPACK_IMPORTED_MODULE_2__(sacreData.milestoneMinDate, 'DD/MM/YYYY').format('YYYY-MM-DD'); } // engineActivity.rsType = sacreData.typeRS; engineActivity.essNBGps = sacreData.codeESS; } engineActivity.engNumber = this.payLoad['engineNb'] ? this.payLoad['engineNb'] : ''; return engineActivity; }; DynamicFormComponent.prototype.onSubmit = function () { var _this = this; // this.disableFlag = false; this.submitted = true; var temp = this.activityService.getFilterActivityForm(); if (!temp.valid) { this.flagVal.emit('true'); this.snackbarService.showSnackBar('Errormessage.common_form_invalid', 'F'); } if (this.form.valid && temp.valid) { this.payLoad = JSON.parse(JSON.stringify(this.form.value)); //Added for feb Number implementation in Tuning activity var isTuningBench = this.commonService.mean.maps.label === src_app_saisie_activate_activity_model__WEBPACK_IMPORTED_MODULE_7__["ActivityEnum"].TuningActivity ? true : false; if (this.commonService.getCurrentActivityOperation() === 'TuningEngine Creation - test') { var tuningEdActivity = new src_app_saisie_activate_tuningEdActivity_model__WEBPACK_IMPORTED_MODULE_5__["TuningEdActivity"](); var engineActivity = this.assignSacreData(); var activity = new src_app_saisie_activate_activity_model__WEBPACK_IMPORTED_MODULE_7__["Activity"](); var level0 = new src_app_administration_levelreferential_level0_level0_model__WEBPACK_IMPORTED_MODULE_8__["Level0"](); var level1 = new src_app_administration_levelreferential_level1_level1_model__WEBPACK_IMPORTED_MODULE_9__["Level1"](); var level2 = new src_app_administration_levelreferential_level2_level2_model__WEBPACK_IMPORTED_MODULE_10__["Level2"](); var prestation = new src_app_administration_prestationsandprocedures_prestation_prestation_model__WEBPACK_IMPORTED_MODULE_14__["Prestation"](); var procedure = new src_app_administration_prestationsandprocedures_procedure_procedure_model__WEBPACK_IMPORTED_MODULE_11__["Procedure"](); var macroActivity = new src_app_administration_prestationsandprocedures_macro_activity_macro_activity_model__WEBPACK_IMPORTED_MODULE_31__["MacroActivity"](); var customerDirection = new src_app_administration_referentiel_customer_customer_model__WEBPACK_IMPORTED_MODULE_13__["CustomerDirection"](); var campaign = new src_app_administration_referentiel_campaign_campaign_model__WEBPACK_IMPORTED_MODULE_12__["Campaign"](); var testbedGlobalInfo = new src_app_administration_testbedreferential_testbed_testbed_model__WEBPACK_IMPORTED_MODULE_24__["Testbed"](); var exploitable = new src_app_administration_levelreferential_levelsadmin_exploitable_model__WEBPACK_IMPORTED_MODULE_25__["Exploitable"](); var rsType = new src_app_administration_referentiel_rs_type_rs_type_model__WEBPACK_IMPORTED_MODULE_29__["RsType"](); tuningEdActivity.cameo = this.payLoad['EssaiCAMEO']; tuningEdActivity.engDt = this.payLoad['engineDT']; tuningEdActivity.febNb = this.payLoad['febNb']; tuningEdActivity.pointsNb = this.commonService.getFilterActivityFormData()['pointsNumber']; if (this.commonService.getFilterActivityFormData()['rsType'] != null) { rsType.id = this.commonService.getFilterActivityFormData()['rsType']; engineActivity.rsTypeId = rsType; } else { engineActivity.rsTypeId = null; } var fuel = new src_app_administration_referentiel_fuel_fuel_model__WEBPACK_IMPORTED_MODULE_33__["Fuel"](); if (this.commonService.getFilterActivityFormData()['fuel'] !== null) { fuel.id = this.commonService.getFilterActivityFormData()['fuel']; engineActivity.fuel = fuel; } else { engineActivity.fuel = null; } tuningEdActivity.soft = this.payLoad['soft']; tuningEdActivity.dcm = this.payLoad['dcm']; engineActivity.engHours = this.commonService.getFilterActivityFormData()['engHours']; engineActivity.essNB = this.payLoad['testNumber']; level0.id = this.commonService.getFilterActivityFormData()['activityTypeDropDown']; level1.id = this.commonService.getFilterActivityFormData()['level1']; level2.id = this.commonService.getFilterActivityFormData()['level2']; prestation.id = this.commonService.getFilterActivityFormData()['prestation']; procedure.id = this.commonService.getFilterActivityFormData()['procedure']; macroActivity.id = this.commonService.getFilterActivityFormData()['macroActivity']; customerDirection.id = this.commonService.getFilterActivityFormData()['customerDirection']; campaign.id = this.commonService.getFilterActivityFormData()['campaign']; exploitable.id = this.commonService.getFilterActivityFormData()['exploitable']; activity.exploitable = exploitable; activity.level0 = level0; activity.level1 = level1; activity.level2 = level2; activity.customerDirection = customerDirection; activity.prestations = prestation; activity.procedures = procedure; activity.macroActivity = macroActivity; activity.campaigns = campaign; activity.means = this.commonService.getmean(); activity.ipn = this.commonService.getFilterActivityFormData()['ipn']; activity.activityDate = this.commonService.getFilterActivityFormData()['engineDate']; activity.duration = this.commonService.getFilterActivityFormData()['activityDuration']; activity.customerRequest = this.commonService.getFilterActivityFormData()['customerRequest']; activity.calibration = this.payLoad['calibration']; if (this.activityService.updateFlagForSeq && this.activityService.getactivityRowData() && this.dateCheckForSeq()) { activity.seqNum = this.activityService.getactivityRowData().seqNum ? this.activityService.getactivityRowData().seqNum : null; } if (this.commonService.getFunctionType() === _dynamic_form_model__WEBPACK_IMPORTED_MODULE_30__["DynamicConstants"].duplicate) { activity.seqNum = null; } testbedGlobalInfo.id = this.activityService.getTestBedFormData()['selectedTestBed']; activity.testBedId = testbedGlobalInfo; activity.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); engineActivity.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); tuningEdActivity.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); engineActivity.programLine = this.commonService.getFilterActivityFormData()['pgmLines']; /* US385 - As a user I want the DI field to be visible for non-test activities & testNumber field to be visible for test activities & map essNBGps with essNb */ engineActivity.essNBGps = this.commonService.getFilterActivityFormData()['essNb']; // ADDED FOR US506- ON ADDITION OF YES/NO SELECTOR FOR TUNING// tuningEdActivity.tuningTOH = this.commonService.getFilterActivityFormData()['tuningTOH']; engineActivity.tuningTOH = this.commonService.getFilterActivityFormData()['tuningTOH']; // ADDED FOR US506- ON ADDITION OF YES/NO SELECTOR FOR TUNING// activity.comment = this.payLoad['comment']; engineActivity.activity = activity; tuningEdActivity.engineActivity = engineActivity; this.saveTuningEdActvity(tuningEdActivity); } else if (this.commonService.getCurrentActivityOperation() === 'TuningEngine Updation - test') { var rowData = new src_app_saisie_activate_engineActivityGridWrapper_model__WEBPACK_IMPORTED_MODULE_32__["EngineActivityGridWrapper"](); rowData = this.activityService.getactivityRowData(); this.hidedata = false; var tuningEdActivity = new src_app_saisie_activate_tuningEdActivity_model__WEBPACK_IMPORTED_MODULE_5__["TuningEdActivity"](); var engineActivity = this.assignSacreData(); var activity = new src_app_saisie_activate_activity_model__WEBPACK_IMPORTED_MODULE_7__["Activity"](); var level0 = new src_app_administration_levelreferential_level0_level0_model__WEBPACK_IMPORTED_MODULE_8__["Level0"](); var level1 = new src_app_administration_levelreferential_level1_level1_model__WEBPACK_IMPORTED_MODULE_9__["Level1"](); var level2 = new src_app_administration_levelreferential_level2_level2_model__WEBPACK_IMPORTED_MODULE_10__["Level2"](); var prestation = new src_app_administration_prestationsandprocedures_prestation_prestation_model__WEBPACK_IMPORTED_MODULE_14__["Prestation"](); var macroActivity = new src_app_administration_prestationsandprocedures_macro_activity_macro_activity_model__WEBPACK_IMPORTED_MODULE_31__["MacroActivity"](); var procedure = new src_app_administration_prestationsandprocedures_procedure_procedure_model__WEBPACK_IMPORTED_MODULE_11__["Procedure"](); var customerDirection = new src_app_administration_referentiel_customer_customer_model__WEBPACK_IMPORTED_MODULE_13__["CustomerDirection"](); var campaign = new src_app_administration_referentiel_campaign_campaign_model__WEBPACK_IMPORTED_MODULE_12__["Campaign"](); var testbedGlobalInfo = new src_app_administration_testbedreferential_testbed_testbed_model__WEBPACK_IMPORTED_MODULE_24__["Testbed"](); var exploitable = new src_app_administration_levelreferential_levelsadmin_exploitable_model__WEBPACK_IMPORTED_MODULE_25__["Exploitable"](); var rsType = new src_app_administration_referentiel_rs_type_rs_type_model__WEBPACK_IMPORTED_MODULE_29__["RsType"](); this.tuningRowData = this.commonService.getEngineTuningActivityData()[0]; tuningEdActivity.id = this.tuningRowData.id; tuningEdActivity.cameo = this.payLoad['EssaiCAMEO']; tuningEdActivity.engDt = this.payLoad['engineDT']; tuningEdActivity.febNb = this.payLoad['febNb']; tuningEdActivity.pointsNb = this.commonService.getFilterActivityFormData()['pointsNumber']; tuningEdActivity.soft = this.payLoad['soft']; tuningEdActivity.dcm = this.payLoad['dcm']; engineActivity.engHours = this.commonService.getFilterActivityFormData()['engHours']; activity.seqNum = rowData.seqNum; if (this.commonService.getFilterActivityFormData()['rsType'] != null) { rsType.id = this.commonService.getFilterActivityFormData()['rsType']; engineActivity.rsTypeId = rsType; } var fuel = new src_app_administration_referentiel_fuel_fuel_model__WEBPACK_IMPORTED_MODULE_33__["Fuel"](); if (this.commonService.getFilterActivityFormData()['fuel'] !== null) { fuel.id = this.commonService.getFilterActivityFormData()['fuel']; engineActivity.fuel = fuel; } else { engineActivity.fuel = null; } engineActivity.essNB = this.payLoad['testNumber']; engineActivity.di = ''; engineActivity.id = this.tuningRowData.engineActivity.id; activity.id = this.tuningRowData.engineActivity.activity.id; level0.id = this.commonService.getFilterActivityFormData()['activityTypeDropDown']; level1.id = this.commonService.getFilterActivityFormData()['level1']; level2.id = this.commonService.getFilterActivityFormData()['level2']; prestation.id = this.commonService.getFilterActivityFormData()['prestation']; macroActivity.id = this.commonService.getFilterActivityFormData()['macroActivity']; procedure.id = this.commonService.getFilterActivityFormData()['procedure']; customerDirection.id = this.commonService.getFilterActivityFormData()['customerDirection']; campaign.id = this.commonService.getFilterActivityFormData()['campaign']; exploitable.id = this.commonService.getFilterActivityFormData()['exploitable']; activity.exploitable = exploitable; activity.level0 = level0; activity.level1 = level1; activity.level2 = level2; activity.customerDirection = customerDirection; activity.prestations = prestation; activity.macroActivity = macroActivity; activity.procedures = procedure; activity.campaigns = campaign; activity.means = this.commonService.getmean(); activity.ipn = this.commonService.getFilterActivityFormData()['ipn']; activity.activityDate = this.commonService.getFilterActivityFormData()['engineDate']; activity.duration = this.commonService.getFilterActivityFormData()['activityDuration']; activity.customerRequest = this.commonService.getFilterActivityFormData()['customerRequest']; activity.calibration = this.payLoad['calibration']; testbedGlobalInfo.id = this.activityService.getTestBedFormData()['selectedTestBed']; activity.testBedId = testbedGlobalInfo; activity.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); engineActivity.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); tuningEdActivity.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); engineActivity.programLine = this.commonService.getFilterActivityFormData()['pgmLines']; /* US385 - As a user I want the DI field to be visible for non-test activities & testNumber field to be visible for test activities & map essNBGps with essNb */ engineActivity.essNBGps = this.commonService.getFilterActivityFormData()['essNb']; // ADDED FOR US506- ON ADDITION OF YES/NO SELECTOR FOR TUNING// tuningEdActivity.tuningTOH = this.commonService.getFilterActivityFormData()['tuningTOH']; engineActivity.tuningTOH = this.commonService.getFilterActivityFormData()['tuningTOH']; // ADDED FOR US506- ON ADDITION OF YES/NO SELECTOR FOR TUNING// activity.comment = this.payLoad['comment']; engineActivity.activity = activity; tuningEdActivity.engineActivity = engineActivity; this.commonService.setEngineTuningActivityData([tuningEdActivity]); if (this.commonService.getFunctionType() === 'duplicate') { tuningEdActivity.id = null; tuningEdActivity.engineActivity.id = null; tuningEdActivity.engineActivity.activity.id = null; tuningEdActivity.engineActivity.activity.seqNum = null; this.saveTuningEdActvity(tuningEdActivity); } else { this.updateTuningEdActvity(tuningEdActivity); } } else if (this.commonService.getCurrentActivityOperation() === 'Faliure Creation - test') { console.log('...failure creation test ... 339 ...'); var failureActivity = new src_app_saisie_activate_failureActivity_model__WEBPACK_IMPORTED_MODULE_17__["FailureActivity"](); var engineActivity = this.assignSacreData(); var activity = new src_app_saisie_activate_activity_model__WEBPACK_IMPORTED_MODULE_7__["Activity"](); var level0 = new src_app_administration_levelreferential_level0_level0_model__WEBPACK_IMPORTED_MODULE_8__["Level0"](); var level1 = new src_app_administration_levelreferential_level1_level1_model__WEBPACK_IMPORTED_MODULE_9__["Level1"](); var level2 = new src_app_administration_levelreferential_level2_level2_model__WEBPACK_IMPORTED_MODULE_10__["Level2"](); var prestation = new src_app_administration_prestationsandprocedures_prestation_prestation_model__WEBPACK_IMPORTED_MODULE_14__["Prestation"](); var procedure = new src_app_administration_prestationsandprocedures_procedure_procedure_model__WEBPACK_IMPORTED_MODULE_11__["Procedure"](); var macroActivity = new src_app_administration_prestationsandprocedures_macro_activity_macro_activity_model__WEBPACK_IMPORTED_MODULE_31__["MacroActivity"](); var customerDirection = new src_app_administration_referentiel_customer_customer_model__WEBPACK_IMPORTED_MODULE_13__["CustomerDirection"](); var campaign = new src_app_administration_referentiel_campaign_campaign_model__WEBPACK_IMPORTED_MODULE_12__["Campaign"](); var testbedGlobalInfo = new src_app_administration_testbedreferential_testbed_testbed_model__WEBPACK_IMPORTED_MODULE_24__["Testbed"](); var otTable = new src_app_saisie_activate_OT_model__WEBPACK_IMPORTED_MODULE_18__["OT"](); var otType = new src_app_saisie_activate_otType_model__WEBPACK_IMPORTED_MODULE_19__["OtType"](); var rsType = new src_app_administration_referentiel_rs_type_rs_type_model__WEBPACK_IMPORTED_MODULE_29__["RsType"](); var otGridVal = this.otStatusService.getOtGridValue(); var testbedCoswinVal = this.activityService.getTestbedValue(); if (testbedCoswinVal[0].testbedGlobalInfo.siteId.coswin === true) { if (this.otStatusService.getOtGridValue() !== undefined && this.otStatusService.getOtGridValue() !== null) { otType.id = otGridVal.ot_type ? otGridVal.ot_type.id : null; otTable.ot_type = otType; otTable.id = otGridVal ? otGridVal.id : null; otTable.status = otGridVal ? otGridVal.status : null; failureActivity.ot = otTable; } else { otTable.ot_type = null; otTable.id = null; } } else { failureActivity.otGlobal = this.commonService.getFilterActivityFormData()['otGlobal']; } failureActivity.engDt = this.payLoad['engineDT']; failureActivity.febNb = isTuningBench ? this.payLoad[src_app_saisie_activate_activity_model__WEBPACK_IMPORTED_MODULE_7__["ActivityEnum"].FebNum] : null; if (this.commonService.getFilterActivityFormData()['rsType'] !== null) { rsType.id = this.commonService.getFilterActivityFormData()['rsType']; engineActivity.rsTypeId = rsType; } else { engineActivity.rsTypeId = null; } var fuel = new src_app_administration_referentiel_fuel_fuel_model__WEBPACK_IMPORTED_MODULE_33__["Fuel"](); if (this.commonService.getFilterActivityFormData()['fuel'] !== null) { fuel.id = this.commonService.getFilterActivityFormData()['fuel']; engineActivity.fuel = fuel; } else { engineActivity.fuel = null; } failureActivity.soft = this.payLoad['soft']; failureActivity.dcm = this.payLoad['dcm']; failureActivity.bvRlce = this.commonService.getFilterActivityFormData()['bvRlce']; engineActivity.engHours = this.commonService.getFilterActivityFormData()['engHours']; level0.id = this.commonService.getFilterActivityFormData()['activityTypeDropDown']; level1.id = this.commonService.getFilterActivityFormData()['level1']; level2.id = this.commonService.getFilterActivityFormData()['level2']; prestation.id = this.commonService.getFilterActivityFormData()['prestation']; procedure.id = this.commonService.getFilterActivityFormData()['procedure']; macroActivity.id = this.commonService.getFilterActivityFormData()['macroActivity']; customerDirection.id = this.commonService.getFilterActivityFormData()['customerDirection']; campaign.id = this.commonService.getFilterActivityFormData()['campaign']; activity.level0 = level0; activity.level1 = level1; activity.level2 = level2; activity.customerDirection = customerDirection; activity.prestations = prestation; activity.macroActivity = macroActivity; activity.procedures = procedure; activity.campaigns = campaign; activity.typeOfTest = this.commonService.getFilterActivityFormData()['typeOfTest']; activity.ipn = this.commonService.getFilterActivityFormData()['ipn']; activity.activityDate = this.commonService.getFilterActivityFormData()['engineDate']; activity.duration = this.commonService.getFilterActivityFormData()['activityDuration']; activity.customerRequest = this.commonService.getFilterActivityFormData()['customerRequest']; activity.calibration = this.payLoad['calibration']; activity.means = this.commonService.getmean(); testbedGlobalInfo.id = this.activityService.getTestBedFormData()['selectedTestBed']; activity.testBedId = testbedGlobalInfo; activity.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); engineActivity.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); failureActivity.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); engineActivity.programLine = this.commonService.getFilterActivityFormData()['pgmLines']; /* US385 - As a user I want the DI field to be visible for non-test activities & testNumber field to be visible for test activities & map essNBGps with essNb */ engineActivity.essNBGps = this.commonService.getFilterActivityFormData()['essNb']; activity.comment = this.payLoad['comment']; // ADDED FOR US506- ON ADDITION OF YES/NO SELECTOR FOR TUNING// engineActivity.tuningTOH = this.commonService.getFilterActivityFormData()['tuningTOH']; // ADDED FOR US506- ON ADDITION OF YES/NO SELECTOR FOR TUNING// if (this.activityService.updateFlagForSeq && this.activityService.getactivityRowData() && this.dateCheckForSeq()) { activity.seqNum = this.activityService.getactivityRowData().seqNum ? this.activityService.getactivityRowData().seqNum : null; } if (this.commonService.getFunctionType() === _dynamic_form_model__WEBPACK_IMPORTED_MODULE_30__["DynamicConstants"].duplicate) { activity.seqNum = null; } engineActivity.activity = activity; failureActivity.engineActivity = engineActivity; this.saveFailureActvity(failureActivity); } else if (this.commonService.getCurrentActivityOperation() === 'Failure Updation - test') { console.log('...failure updation test ... 443 ...'); var rowData = new src_app_saisie_activate_engineActivityGridWrapper_model__WEBPACK_IMPORTED_MODULE_32__["EngineActivityGridWrapper"](); rowData = this.activityService.getactivityRowData(); console.log('rowData===+++', rowData); var fullSelectedData = this.commonService.getFailureActivityData(); console.log('rowData===+++', fullSelectedData); if (this.activityService.getOtValFlag() === true) { this.otValGrid = this.otStatusService.getOtGridValue(); } var failureActivity_1 = new src_app_saisie_activate_failureActivity_model__WEBPACK_IMPORTED_MODULE_17__["FailureActivity"](); var engineActivity = this.assignSacreData(); var activity = new src_app_saisie_activate_activity_model__WEBPACK_IMPORTED_MODULE_7__["Activity"](); var level0 = new src_app_administration_levelreferential_level0_level0_model__WEBPACK_IMPORTED_MODULE_8__["Level0"](); var level1 = new src_app_administration_levelreferential_level1_level1_model__WEBPACK_IMPORTED_MODULE_9__["Level1"](); var level2 = new src_app_administration_levelreferential_level2_level2_model__WEBPACK_IMPORTED_MODULE_10__["Level2"](); var prestation = new src_app_administration_prestationsandprocedures_prestation_prestation_model__WEBPACK_IMPORTED_MODULE_14__["Prestation"](); var macroActivity = new src_app_administration_prestationsandprocedures_macro_activity_macro_activity_model__WEBPACK_IMPORTED_MODULE_31__["MacroActivity"](); var procedure = new src_app_administration_prestationsandprocedures_procedure_procedure_model__WEBPACK_IMPORTED_MODULE_11__["Procedure"](); var customerDirection = new src_app_administration_referentiel_customer_customer_model__WEBPACK_IMPORTED_MODULE_13__["CustomerDirection"](); var campaign = new src_app_administration_referentiel_campaign_campaign_model__WEBPACK_IMPORTED_MODULE_12__["Campaign"](); var testbedGlobalInfo = new src_app_administration_testbedreferential_testbed_testbed_model__WEBPACK_IMPORTED_MODULE_24__["Testbed"](); var otTable = new src_app_saisie_activate_OT_model__WEBPACK_IMPORTED_MODULE_18__["OT"](); var otType = new src_app_saisie_activate_otType_model__WEBPACK_IMPORTED_MODULE_19__["OtType"](); var rsType = new src_app_administration_referentiel_rs_type_rs_type_model__WEBPACK_IMPORTED_MODULE_29__["RsType"](); this.failureRowData = this.commonService.getFailureActivityData()[0]; failureActivity_1.id = this.failureRowData.id; // for new OT pop-up var testbedCoswinVal = this.activityService.getTestbedValue(); failureActivity_1.engDt = this.payLoad['engineDT']; failureActivity_1.febNb = isTuningBench ? this.payLoad[src_app_saisie_activate_activity_model__WEBPACK_IMPORTED_MODULE_7__["ActivityEnum"].FebNum] : null; if (this.commonService.getFilterActivityFormData()['rsType'] !== null) { rsType.id = this.commonService.getFilterActivityFormData()['rsType']; engineActivity.rsTypeId = rsType; } else { engineActivity.rsTypeId = null; } var fuel = new src_app_administration_referentiel_fuel_fuel_model__WEBPACK_IMPORTED_MODULE_33__["Fuel"](); if (this.commonService.getFilterActivityFormData()['fuel'] !== null) { fuel.id = this.commonService.getFilterActivityFormData()['fuel']; engineActivity.fuel = fuel; } else { engineActivity.fuel = null; } failureActivity_1.soft = this.payLoad['soft']; failureActivity_1.dcm = this.payLoad['dcm']; failureActivity_1.bvRlce = this.commonService.getFilterActivityFormData()['bvRlce']; activity.seqNum = rowData.seqNum; engineActivity.engHours = this.commonService.getFilterActivityFormData()['engHours']; engineActivity.id = this.failureRowData.engineActivity.id; engineActivity.di = ''; engineActivity.essNB = ''; activity.id = this.failureRowData.engineActivity.activity.id; level0.id = this.commonService.getFilterActivityFormData()['activityTypeDropDown']; level1.id = this.commonService.getFilterActivityFormData()['level1']; level2.id = this.commonService.getFilterActivityFormData()['level2']; prestation.id = this.commonService.getFilterActivityFormData()['prestation']; procedure.id = this.commonService.getFilterActivityFormData()['procedure']; macroActivity.id = this.commonService.getFilterActivityFormData()['macroActivity']; customerDirection.id = this.commonService.getFilterActivityFormData()['customerDirection']; campaign.id = this.commonService.getFilterActivityFormData()['campaign']; activity.level0 = level0; activity.level1 = level1; activity.level2 = level2; activity.customerDirection = customerDirection; activity.prestations = prestation; activity.procedures = procedure; activity.macroActivity = macroActivity; activity.campaigns = campaign; activity.typeOfTest = this.commonService.getFilterActivityFormData()['typeOfTest']; activity.ipn = this.commonService.getFilterActivityFormData()['ipn']; activity.activityDate = this.commonService.getFilterActivityFormData()['engineDate']; activity.duration = this.commonService.getFilterActivityFormData()['activityDuration']; activity.customerRequest = this.commonService.getFilterActivityFormData()['customerRequest']; activity.calibration = this.payLoad['calibration']; testbedGlobalInfo.id = this.activityService.getTestBedFormData()['selectedTestBed']; activity.testBedId = testbedGlobalInfo; activity.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); engineActivity.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); failureActivity_1.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); activity.means = this.commonService.getmean(); engineActivity.programLine = this.commonService.getFilterActivityFormData()['pgmLines']; /* US385 - As a user I want the DI field to be visible for non-test activities & testNumber field to be visible for test activities & map essNBGps with essNb */ engineActivity.essNBGps = this.commonService.getFilterActivityFormData()['essNb']; // ADDED FOR US506- ON ADDITION OF YES/NO SELECTOR FOR TUNING// engineActivity.tuningTOH = this.commonService.getFilterActivityFormData()['tuningTOH']; // ADDED FOR US506- ON ADDITION OF YES/NO SELECTOR FOR TUNING// activity.comment = this.payLoad['comment']; engineActivity.activity = activity; failureActivity_1.engineActivity = engineActivity; //clearing OT for Panne me duplicate activity var level0Data = this.activityService.levelsAdmin; var selectedLevel0Data = level0Data.filter(function (res) { return (res.level0.id === failureActivity_1.engineActivity.activity.level0.id && res.level1.id === failureActivity_1.engineActivity.activity.level1.id && res.level2.id === failureActivity_1.engineActivity.activity.level2.id); }); if (testbedCoswinVal[0].testbedGlobalInfo.siteId.coswin === true) { if (this.commonService.getFunctionType() === 'duplicate' && selectedLevel0Data[0].level0.label === 'PANNE ME') { if (this.otValGrid === undefined || this.otValGrid === null) { otTable.ot_type = null; otTable.id = null; otTable.status = null; } else { otType.id = this.otValGrid.ot_type ? this.otValGrid.ot_type.id : null; otTable.id = this.otValGrid ? this.otValGrid.id : null; otTable.status = this.otValGrid ? this.otValGrid.status : null; otTable.ot_type = otType; failureActivity_1.ot = otTable; } } else { if ((this.otValGrid === undefined || this.otValGrid === null) && fullSelectedData[0].ot === null) { otTable.ot_type = null; otTable.id = null; } else { if (this.otValGrid === undefined || this.otValGrid === null) { otType.id = fullSelectedData[0].ot ? fullSelectedData[0].ot.ot_type ? fullSelectedData[0].ot.ot_type.id : null : null; otTable.id = fullSelectedData[0].ot ? fullSelectedData[0].ot.id : null; otTable.status = fullSelectedData[0].ot ? fullSelectedData[0].ot.status : null; } else { otType.id = this.otValGrid.ot_type ? this.otValGrid.ot_type.id : null; otTable.id = this.otValGrid ? this.otValGrid.id : null; otTable.status = this.otValGrid ? this.otValGrid.status : null; } otTable.ot_type = otType; failureActivity_1.ot = otTable; } } } else { failureActivity_1.otGlobal = this.commonService.getFilterActivityFormData()['otGlobal']; } if (this.commonService.getFunctionType() === 'duplicate') { failureActivity_1.id = null; failureActivity_1.engineActivity.id = null; failureActivity_1.engineActivity.activity.id = null; failureActivity_1.engineActivity.activity.seqNum = null; this.saveFailureActvity(failureActivity_1); } else { this.activityService.updateFailureActvity(failureActivity_1).subscribe(function (response) { if (response.body) { _this.activitycommonService.setupdatedSelRow(null); _this.activitycommonService.setupdatedSelRow(failureActivity_1); _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); _this.commonService.setFormChanged(false); _this.closeDynamicForm.emit('close'); } else { _this.snackbarService.showSnackBar('Common_Buttons.Fail', 'F'); _this.activityService.refreshGrid(_this.commonService.getmean().maps.label); } }); } } else if (this.commonService.getCurrentActivityOperation() === 'TuningEngine Creation - nontest') { var tuningEdActivity = new src_app_saisie_activate_tuningEdActivity_model__WEBPACK_IMPORTED_MODULE_5__["TuningEdActivity"](); var engineActivity = this.assignSacreData(); var activity = new src_app_saisie_activate_activity_model__WEBPACK_IMPORTED_MODULE_7__["Activity"](); var level0 = new src_app_administration_levelreferential_level0_level0_model__WEBPACK_IMPORTED_MODULE_8__["Level0"](); var level1 = new src_app_administration_levelreferential_level1_level1_model__WEBPACK_IMPORTED_MODULE_9__["Level1"](); var level2 = new src_app_administration_levelreferential_level2_level2_model__WEBPACK_IMPORTED_MODULE_10__["Level2"](); var prestation = new src_app_administration_prestationsandprocedures_prestation_prestation_model__WEBPACK_IMPORTED_MODULE_14__["Prestation"](); var macroActivity = new src_app_administration_prestationsandprocedures_macro_activity_macro_activity_model__WEBPACK_IMPORTED_MODULE_31__["MacroActivity"](); var procedure = new src_app_administration_prestationsandprocedures_procedure_procedure_model__WEBPACK_IMPORTED_MODULE_11__["Procedure"](); var customerDirection = new src_app_administration_referentiel_customer_customer_model__WEBPACK_IMPORTED_MODULE_13__["CustomerDirection"](); var campaign = new src_app_administration_referentiel_campaign_campaign_model__WEBPACK_IMPORTED_MODULE_12__["Campaign"](); var testbedGlobalInfo = new src_app_administration_testbedreferential_testbed_testbed_model__WEBPACK_IMPORTED_MODULE_24__["Testbed"](); var rsType = new src_app_administration_referentiel_rs_type_rs_type_model__WEBPACK_IMPORTED_MODULE_29__["RsType"](); tuningEdActivity.cameo = ''; tuningEdActivity.engDt = this.payLoad['engineDT']; tuningEdActivity.febNb = this.payLoad['febNb']; tuningEdActivity.pointsNb = null; tuningEdActivity.soft = ''; tuningEdActivity.dcm = this.payLoad['dcm']; engineActivity.essNB = ''; engineActivity.engHours = this.commonService.getFilterActivityFormData()['engHours']; if (this.commonService.getFilterActivityFormData()['rsType'] !== null) { rsType.id = this.commonService.getFilterActivityFormData()['rsType']; engineActivity.rsTypeId = rsType; } else { engineActivity.rsTypeId = null; } var fuel = new src_app_administration_referentiel_fuel_fuel_model__WEBPACK_IMPORTED_MODULE_33__["Fuel"](); if (this.commonService.getFilterActivityFormData()['fuel'] !== null) { fuel.id = this.commonService.getFilterActivityFormData()['fuel']; engineActivity.fuel = fuel; } else { engineActivity.fuel = null; } /* US385 - As a user I want the DI field to be visible for non-test activities & testNumber field to be visible for test activities & map essNBGps with essNb */ engineActivity.di = this.payLoad['di'] ? this.payLoad['di'] : ''; level0.id = this.commonService.getFilterActivityFormData()['activityTypeDropDown']; level1.id = this.commonService.getFilterActivityFormData()['level1']; level2.id = this.commonService.getFilterActivityFormData()['level2']; prestation.id = this.commonService.getFilterActivityFormData()['prestation']; procedure.id = this.commonService.getFilterActivityFormData()['procedure']; macroActivity.id = this.commonService.getFilterActivityFormData()['macroActivity']; customerDirection.id = this.commonService.getFilterActivityFormData()['customerDirection']; campaign.id = this.commonService.getFilterActivityFormData()['campaign']; activity.level0 = level0; activity.level1 = level1; activity.level2 = level2; activity.customerDirection = customerDirection; activity.prestations = prestation; activity.macroActivity = macroActivity; activity.procedures = procedure; activity.campaigns = campaign; activity.ipn = this.commonService.getFilterActivityFormData()['ipn']; activity.activityDate = this.commonService.getFilterActivityFormData()['engineDate']; activity.duration = this.commonService.getFilterActivityFormData()['activityDuration']; activity.customerRequest = this.commonService.getFilterActivityFormData()['customerRequest']; activity.calibration = ''; activity.means = this.commonService.getmean(); testbedGlobalInfo.id = this.activityService.getTestBedFormData()['selectedTestBed']; activity.testBedId = testbedGlobalInfo; activity.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); engineActivity.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); tuningEdActivity.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); engineActivity.programLine = this.commonService.getFilterActivityFormData()['pgmLines']; engineActivity.essNBGps = this.commonService.getFilterActivityFormData()['essNb']; activity.comment = this.payLoad['comment']; if (this.activityService.updateFlagForSeq && this.activityService.getactivityRowData() && this.dateCheckForSeq()) { activity.seqNum = this.activityService.getactivityRowData().seqNum ? this.activityService.getactivityRowData().seqNum : null; } if (this.commonService.getFunctionType() === _dynamic_form_model__WEBPACK_IMPORTED_MODULE_30__["DynamicConstants"].duplicate) { activity.seqNum = null; } // ADDED FOR US506- ON ADDITION OF YES/NO SELECTOR FOR TUNING// tuningEdActivity.tuningTOH = this.commonService.getFilterActivityFormData()['tuningTOH']; engineActivity.tuningTOH = this.commonService.getFilterActivityFormData()['tuningTOH']; // ADDED FOR US506- ON ADDITION OF YES/NO SELECTOR FOR TUNING// engineActivity.activity = activity; tuningEdActivity.engineActivity = engineActivity; this.saveTuningEdActvity(tuningEdActivity); } else if (this.commonService.getCurrentActivityOperation() === 'TuningEngine Updation - nontest') { var rowData = new src_app_saisie_activate_engineActivityGridWrapper_model__WEBPACK_IMPORTED_MODULE_32__["EngineActivityGridWrapper"](); rowData = this.activityService.getactivityRowData(); this.hidedata = false; var tuningEdActivity = new src_app_saisie_activate_tuningEdActivity_model__WEBPACK_IMPORTED_MODULE_5__["TuningEdActivity"](); var engineActivity = this.assignSacreData(); var activity = new src_app_saisie_activate_activity_model__WEBPACK_IMPORTED_MODULE_7__["Activity"](); var level0 = new src_app_administration_levelreferential_level0_level0_model__WEBPACK_IMPORTED_MODULE_8__["Level0"](); var level1 = new src_app_administration_levelreferential_level1_level1_model__WEBPACK_IMPORTED_MODULE_9__["Level1"](); var level2 = new src_app_administration_levelreferential_level2_level2_model__WEBPACK_IMPORTED_MODULE_10__["Level2"](); var prestation = new src_app_administration_prestationsandprocedures_prestation_prestation_model__WEBPACK_IMPORTED_MODULE_14__["Prestation"](); var procedure = new src_app_administration_prestationsandprocedures_procedure_procedure_model__WEBPACK_IMPORTED_MODULE_11__["Procedure"](); var macroActivity = new src_app_administration_prestationsandprocedures_macro_activity_macro_activity_model__WEBPACK_IMPORTED_MODULE_31__["MacroActivity"](); var customerDirection = new src_app_administration_referentiel_customer_customer_model__WEBPACK_IMPORTED_MODULE_13__["CustomerDirection"](); var campaign = new src_app_administration_referentiel_campaign_campaign_model__WEBPACK_IMPORTED_MODULE_12__["Campaign"](); var testbedGlobalInfo = new src_app_administration_testbedreferential_testbed_testbed_model__WEBPACK_IMPORTED_MODULE_24__["Testbed"](); var rsType = new src_app_administration_referentiel_rs_type_rs_type_model__WEBPACK_IMPORTED_MODULE_29__["RsType"](); this.tuningRowData = this.commonService.getEngineTuningActivityData()[0]; tuningEdActivity.id = this.tuningRowData.id; tuningEdActivity.cameo = ''; tuningEdActivity.engDt = this.payLoad['engineDT']; tuningEdActivity.febNb = this.payLoad['febNb']; tuningEdActivity.pointsNb = null; tuningEdActivity.soft = ''; tuningEdActivity.dcm = ''; engineActivity.engHours = this.commonService.getFilterActivityFormData()['engHours']; // engineActivity.engNumber = this.payLoad['engineNb'] ? this.payLoad['engineNb'] : ''; /* US385 - As a user I want the DI field to be visible for non-test activities & testNumber field to be visible for test activities & map essNBGps with essNb */ engineActivity.di = this.payLoad['di'] ? this.payLoad['di'] : ''; engineActivity.essNB = ''; activity.seqNum = rowData.seqNum; if (this.commonService.getFilterActivityFormData()['rsType'] !== null) { rsType.id = this.commonService.getFilterActivityFormData()['rsType']; engineActivity.rsTypeId = rsType; } else { engineActivity.rsTypeId = null; } var fuel = new src_app_administration_referentiel_fuel_fuel_model__WEBPACK_IMPORTED_MODULE_33__["Fuel"](); if (this.commonService.getFilterActivityFormData()['fuel'] !== null) { fuel.id = this.commonService.getFilterActivityFormData()['fuel']; engineActivity.fuel = fuel; } else { engineActivity.fuel = null; } engineActivity.id = this.tuningRowData.engineActivity.id; activity.id = this.tuningRowData.engineActivity.activity.id; level0.id = this.commonService.getFilterActivityFormData()['activityTypeDropDown']; level1.id = this.commonService.getFilterActivityFormData()['level1']; level2.id = this.commonService.getFilterActivityFormData()['level2']; prestation.id = this.commonService.getFilterActivityFormData()['prestation']; procedure.id = this.commonService.getFilterActivityFormData()['procedure']; macroActivity.id = this.commonService.getFilterActivityFormData()['macroActivity']; customerDirection.id = this.commonService.getFilterActivityFormData()['customerDirection']; campaign.id = this.commonService.getFilterActivityFormData()['campaign']; activity.level0 = level0; activity.level1 = level1; activity.level2 = level2; activity.customerDirection = customerDirection; activity.prestations = prestation; activity.procedures = procedure; activity.macroActivity = macroActivity; activity.campaigns = campaign; activity.ipn = this.commonService.getFilterActivityFormData()['ipn']; activity.activityDate = this.commonService.getFilterActivityFormData()['engineDate']; activity.duration = this.commonService.getFilterActivityFormData()['activityDuration']; activity.customerRequest = this.commonService.getFilterActivityFormData()['customerRequest']; activity.exploitable = this.commonService.getFilterActivityFormData()['exploitable']; activity.calibration = ''; activity.means = this.commonService.getmean(); testbedGlobalInfo.id = this.activityService.getTestBedFormData()['selectedTestBed']; activity.testBedId = testbedGlobalInfo; activity.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); engineActivity.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); tuningEdActivity.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); engineActivity.programLine = this.commonService.getFilterActivityFormData()['pgmLines']; engineActivity.essNBGps = this.commonService.getFilterActivityFormData()['essNb']; // ADDED FOR US506- ON ADDITION OF YES/NO SELECTOR FOR TUNING// tuningEdActivity.tuningTOH = this.commonService.getFilterActivityFormData()['tuningTOH']; engineActivity.tuningTOH = this.commonService.getFilterActivityFormData()['tuningTOH']; // ADDED FOR US506- ON ADDITION OF YES/NO SELECTOR FOR TUNING// activity.comment = this.payLoad['comment']; engineActivity.activity = activity; tuningEdActivity.engineActivity = engineActivity; if (this.commonService.getFunctionType() === 'duplicate') { tuningEdActivity.id = null; tuningEdActivity.engineActivity.id = null; tuningEdActivity.engineActivity.activity.id = null; tuningEdActivity.engineActivity.activity.seqNum = null; this.saveTuningEdActvity(tuningEdActivity); } else { this.updateTuningEdActvity(tuningEdActivity); } } else if (this.commonService.getCurrentActivityOperation() === 'Reliability Creation - test') { var engineActivity = this.assignSacreData(); var activity = new src_app_saisie_activate_activity_model__WEBPACK_IMPORTED_MODULE_7__["Activity"](); var level0 = new src_app_administration_levelreferential_level0_level0_model__WEBPACK_IMPORTED_MODULE_8__["Level0"](); var level1 = new src_app_administration_levelreferential_level1_level1_model__WEBPACK_IMPORTED_MODULE_9__["Level1"](); var level2 = new src_app_administration_levelreferential_level2_level2_model__WEBPACK_IMPORTED_MODULE_10__["Level2"](); var prestation = new src_app_administration_prestationsandprocedures_prestation_prestation_model__WEBPACK_IMPORTED_MODULE_14__["Prestation"](); var procedure = new src_app_administration_prestationsandprocedures_procedure_procedure_model__WEBPACK_IMPORTED_MODULE_11__["Procedure"](); var macroActivity = new src_app_administration_prestationsandprocedures_macro_activity_macro_activity_model__WEBPACK_IMPORTED_MODULE_31__["MacroActivity"](); var customerDirection = new src_app_administration_referentiel_customer_customer_model__WEBPACK_IMPORTED_MODULE_13__["CustomerDirection"](); var campaign = new src_app_administration_referentiel_campaign_campaign_model__WEBPACK_IMPORTED_MODULE_12__["Campaign"](); var testbedGlobalInfo = new src_app_administration_testbedreferential_testbed_testbed_model__WEBPACK_IMPORTED_MODULE_24__["Testbed"](); var reliability = new src_app_saisie_activate_engineReliabilityActivity_model__WEBPACK_IMPORTED_MODULE_20__["EngineReliability"](); var exploitable = new src_app_administration_levelreferential_levelsadmin_exploitable_model__WEBPACK_IMPORTED_MODULE_25__["Exploitable"](); reliability.soft = this.payLoad['soft']; reliability.dcm = this.payLoad['dcm']; engineActivity.engHours = this.commonService.getFilterActivityFormData()['engHours']; /* US385 - As a user I want the DI field to be visible for non-test activities & testNumber field to be visible for test activities & map essNBGps with essNb */ engineActivity.essNB = this.payLoad['testNumber']; engineActivity.di = ''; level0.id = this.commonService.getFilterActivityFormData()['activityTypeDropDown']; level1.id = this.commonService.getFilterActivityFormData()['level1']; level2.id = this.commonService.getFilterActivityFormData()['level2']; prestation.id = this.commonService.getFilterActivityFormData()['prestation']; procedure.id = this.commonService.getFilterActivityFormData()['procedure']; macroActivity.id = this.commonService.getFilterActivityFormData()['macroActivity']; customerDirection.id = this.commonService.getFilterActivityFormData()['customerDirection']; campaign.id = this.commonService.getFilterActivityFormData()['campaign']; exploitable.id = this.commonService.getFilterActivityFormData()['exploitable']; activity.exploitable = exploitable; activity.level0 = level0; activity.level1 = level1; activity.level2 = level2; activity.customerDirection = customerDirection; activity.prestations = prestation; activity.procedures = procedure; activity.macroActivity = macroActivity; activity.campaigns = campaign; activity.means = this.commonService.getmean(); activity.ipn = this.commonService.getFilterActivityFormData()['ipn']; activity.activityDate = this.commonService.getFilterActivityFormData()['engineDate']; activity.duration = this.commonService.getFilterActivityFormData()['activityDuration']; activity.customerRequest = this.commonService.getFilterActivityFormData()['customerRequest']; activity.calibration = this.payLoad['calibration']; testbedGlobalInfo.id = this.activityService.getTestBedFormData()['selectedTestBed']; activity.testBedId = testbedGlobalInfo; activity.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); engineActivity.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); reliability.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); engineActivity.programLine = this.commonService.getFilterActivityFormData()['pgmLines']; engineActivity.bvRlce = this.commonService.getFilterActivityFormData()['bvRlce']; /* US385 - As a user I want the DI field to be visible for non-test activities & testNumber field to be visible for test activities & map essNBGps with essNb */ var fuel = new src_app_administration_referentiel_fuel_fuel_model__WEBPACK_IMPORTED_MODULE_33__["Fuel"](); if (this.commonService.getFilterActivityFormData()['fuel'] !== null) { fuel.id = this.commonService.getFilterActivityFormData()['fuel']; engineActivity.fuel = fuel; } else { engineActivity.fuel = null; } engineActivity.essNBGps = this.commonService.getFilterActivityFormData()['essNb']; // Failure activity visualization & reliability has been modified for US501// reliability.bvRlce = this.commonService.getFilterActivityFormData()['bvRlce']; if (this.activityService.updateFlagForSeq && this.activityService.getactivityRowData() && this.dateCheckForSeq()) { activity.seqNum = this.activityService.getactivityRowData().seqNum ? this.activityService.getactivityRowData().seqNum : null; } if (this.commonService.getFunctionType() === _dynamic_form_model__WEBPACK_IMPORTED_MODULE_30__["DynamicConstants"].duplicate) { activity.seqNum = null; } activity.comment = this.payLoad['comment']; engineActivity.activity = activity; reliability.engineActivity = engineActivity; this.saveReliabilityEdActivity(reliability); } else if (this.commonService.getCurrentActivityOperation() === 'Reliability Updation - test') { this.hidedata = false; var rowData = new src_app_saisie_activate_engineActivityGridWrapper_model__WEBPACK_IMPORTED_MODULE_32__["EngineActivityGridWrapper"](); rowData = this.activityService.getactivityRowData(); var engineActivity = this.assignSacreData(); var activity = new src_app_saisie_activate_activity_model__WEBPACK_IMPORTED_MODULE_7__["Activity"](); var level0 = new src_app_administration_levelreferential_level0_level0_model__WEBPACK_IMPORTED_MODULE_8__["Level0"](); var level1 = new src_app_administration_levelreferential_level1_level1_model__WEBPACK_IMPORTED_MODULE_9__["Level1"](); var level2 = new src_app_administration_levelreferential_level2_level2_model__WEBPACK_IMPORTED_MODULE_10__["Level2"](); var prestation = new src_app_administration_prestationsandprocedures_prestation_prestation_model__WEBPACK_IMPORTED_MODULE_14__["Prestation"](); var procedure = new src_app_administration_prestationsandprocedures_procedure_procedure_model__WEBPACK_IMPORTED_MODULE_11__["Procedure"](); var macroActivity = new src_app_administration_prestationsandprocedures_macro_activity_macro_activity_model__WEBPACK_IMPORTED_MODULE_31__["MacroActivity"](); var customerDirection = new src_app_administration_referentiel_customer_customer_model__WEBPACK_IMPORTED_MODULE_13__["CustomerDirection"](); var campaign = new src_app_administration_referentiel_campaign_campaign_model__WEBPACK_IMPORTED_MODULE_12__["Campaign"](); var testbedGlobalInfo = new src_app_administration_testbedreferential_testbed_testbed_model__WEBPACK_IMPORTED_MODULE_24__["Testbed"](); var reliability = new src_app_saisie_activate_engineReliabilityActivity_model__WEBPACK_IMPORTED_MODULE_20__["EngineReliability"](); var exploitable = new src_app_administration_levelreferential_levelsadmin_exploitable_model__WEBPACK_IMPORTED_MODULE_25__["Exploitable"](); this.reliabilityRowData = this.commonService.getEngineReliabilityActivityData()[0]; reliability.id = this.reliabilityRowData.id; reliability.soft = this.payLoad['soft']; reliability.cust_req = this.payLoad['customerRequest']; engineActivity.engHours = this.commonService.getFilterActivityFormData()['engHours']; var fuel = new src_app_administration_referentiel_fuel_fuel_model__WEBPACK_IMPORTED_MODULE_33__["Fuel"](); if (this.commonService.getFilterActivityFormData()['fuel'] !== null) { fuel.id = this.commonService.getFilterActivityFormData()['fuel']; engineActivity.fuel = fuel; } else { engineActivity.fuel = null; } /* US385 - As a user I want the DI field to be visible for non-test activities & testNumber field to be visible for test activities & map essNBGps with essNb */ engineActivity.essNB = this.payLoad['testNumber']; engineActivity.di = ''; engineActivity.id = this.reliabilityRowData.engineActivity.id; activity.id = this.reliabilityRowData.engineActivity.activity.id; level0.id = this.commonService.getFilterActivityFormData()['activityTypeDropDown']; level1.id = this.commonService.getFilterActivityFormData()['level1']; level2.id = this.commonService.getFilterActivityFormData()['level2']; prestation.id = this.commonService.getFilterActivityFormData()['prestation']; procedure.id = this.commonService.getFilterActivityFormData()['procedure']; macroActivity.id = this.commonService.getFilterActivityFormData()['macroActivity']; customerDirection.id = this.commonService.getFilterActivityFormData()['customerDirection']; campaign.id = this.commonService.getFilterActivityFormData()['campaign']; activity.seqNum = rowData.seqNum; exploitable.id = this.commonService.getFilterActivityFormData()['exploitable']; activity.exploitable = exploitable; activity.level0 = level0; activity.level1 = level1; activity.level2 = level2; activity.customerDirection = customerDirection; activity.prestations = prestation; activity.procedures = procedure; activity.macroActivity = macroActivity; activity.campaigns = campaign; activity.ipn = this.commonService.getFilterActivityFormData()['ipn']; activity.activityDate = this.commonService.getFilterActivityFormData()['engineDate']; activity.duration = this.commonService.getFilterActivityFormData()['activityDuration']; activity.customerRequest = this.commonService.getFilterActivityFormData()['customerRequest']; activity.calibration = this.payLoad['calibration']; activity.means = this.commonService.getmean(); testbedGlobalInfo.id = this.activityService.getTestBedFormData()['selectedTestBed']; activity.testBedId = testbedGlobalInfo; activity.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); engineActivity.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); reliability.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); engineActivity.programLine = this.commonService.getFilterActivityFormData()['pgmLines']; engineActivity.bvRlce = this.commonService.getFilterActivityFormData()['bvRlce']; /* US385 - As a user I want the DI field to be visible for non-test activities & testNumber field to be visible for test activities & map essNBGps with essNb */ engineActivity.essNBGps = this.commonService.getFilterActivityFormData()['essNb']; // Failure activity visualization & reliability has been modified for US501// reliability.bvRlce = this.commonService.getFilterActivityFormData()['bvRlce']; activity.comment = this.payLoad['comment']; engineActivity.activity = activity; reliability.engineActivity = engineActivity; if (this.commonService.getFunctionType() === 'duplicate') { reliability.id = null; reliability.engineActivity.id = null; reliability.engineActivity.activity.id = null; reliability.engineActivity.activity.seqNum = null; this.saveReliabilityEdActivity(reliability); } else { this.updateReliabilityEdActivity(reliability); } } else if (this.commonService.getCurrentActivityOperation() === 'Reliability Creation - nontest') { var engineActivity = this.assignSacreData(); var activity = new src_app_saisie_activate_activity_model__WEBPACK_IMPORTED_MODULE_7__["Activity"](); var level0 = new src_app_administration_levelreferential_level0_level0_model__WEBPACK_IMPORTED_MODULE_8__["Level0"](); var level1 = new src_app_administration_levelreferential_level1_level1_model__WEBPACK_IMPORTED_MODULE_9__["Level1"](); var level2 = new src_app_administration_levelreferential_level2_level2_model__WEBPACK_IMPORTED_MODULE_10__["Level2"](); var prestation = new src_app_administration_prestationsandprocedures_prestation_prestation_model__WEBPACK_IMPORTED_MODULE_14__["Prestation"](); var procedure = new src_app_administration_prestationsandprocedures_procedure_procedure_model__WEBPACK_IMPORTED_MODULE_11__["Procedure"](); var macroActivity = new src_app_administration_prestationsandprocedures_macro_activity_macro_activity_model__WEBPACK_IMPORTED_MODULE_31__["MacroActivity"](); var customerDirection = new src_app_administration_referentiel_customer_customer_model__WEBPACK_IMPORTED_MODULE_13__["CustomerDirection"](); var campaign = new src_app_administration_referentiel_campaign_campaign_model__WEBPACK_IMPORTED_MODULE_12__["Campaign"](); var testbedGlobalInfo = new src_app_administration_testbedreferential_testbed_testbed_model__WEBPACK_IMPORTED_MODULE_24__["Testbed"](); var reliability = new src_app_saisie_activate_engineReliabilityActivity_model__WEBPACK_IMPORTED_MODULE_20__["EngineReliability"](); reliability.soft = ''; engineActivity.engHours = this.commonService.getFilterActivityFormData()['engHours']; /* US385 - As a user I want the DI field to be visible for non-test activities & testNumber field to be visible for test activities & map essNBGps with essNb */ engineActivity.di = this.payLoad['di'] ? this.payLoad['di'] : ''; engineActivity.essNB = ''; level0.id = this.commonService.getFilterActivityFormData()['activityTypeDropDown']; level1.id = this.commonService.getFilterActivityFormData()['level1']; level2.id = this.commonService.getFilterActivityFormData()['level2']; prestation.id = this.commonService.getFilterActivityFormData()['prestation']; macroActivity.id = this.commonService.getFilterActivityFormData()['macroActivity']; procedure.id = this.commonService.getFilterActivityFormData()['procedure']; customerDirection.id = this.commonService.getFilterActivityFormData()['customerDirection']; campaign.id = this.commonService.getFilterActivityFormData()['campaign']; activity.level0 = level0; activity.level1 = level1; activity.level2 = level2; activity.customerDirection = customerDirection; activity.prestations = prestation; activity.procedures = procedure; activity.macroActivity = macroActivity; activity.campaigns = campaign; activity.ipn = this.commonService.getFilterActivityFormData()['ipn']; activity.activityDate = this.commonService.getFilterActivityFormData()['engineDate']; activity.duration = this.commonService.getFilterActivityFormData()['activityDuration']; activity.customerRequest = this.commonService.getFilterActivityFormData()['customerRequest']; activity.exploitable = this.commonService.getFilterActivityFormData()['exploitable']; activity.calibration = ''; testbedGlobalInfo.id = this.activityService.getTestBedFormData()['selectedTestBed']; activity.testBedId = testbedGlobalInfo; activity.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); engineActivity.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); reliability.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); activity.means = this.commonService.getmean(); engineActivity.programLine = this.commonService.getFilterActivityFormData()['pgmLines']; engineActivity.essNBGps = this.commonService.getFilterActivityFormData()['essNb']; // Failure activity visualization & reliability has been modified for US501// reliability.bvRlce = this.commonService.getFilterActivityFormData()['bvRlce']; engineActivity.bvRlce = this.commonService.getFilterActivityFormData()['bvRlce']; if (this.activityService.updateFlagForSeq && this.activityService.getactivityRowData() && this.dateCheckForSeq()) { activity.seqNum = this.activityService.getactivityRowData().seqNum ? this.activityService.getactivityRowData().seqNum : null; } var fuel = new src_app_administration_referentiel_fuel_fuel_model__WEBPACK_IMPORTED_MODULE_33__["Fuel"](); if (this.commonService.getFilterActivityFormData()['fuel'] !== null) { fuel.id = this.commonService.getFilterActivityFormData()['fuel']; engineActivity.fuel = fuel; } else { engineActivity.fuel = null; } if (this.commonService.getFunctionType() === _dynamic_form_model__WEBPACK_IMPORTED_MODULE_30__["DynamicConstants"].duplicate) { activity.seqNum = null; } activity.comment = this.payLoad['comment']; engineActivity.activity = activity; reliability.engineActivity = engineActivity; this.saveReliabilityEdActivity(reliability); } else if (this.commonService.getCurrentActivityOperation() === 'Reliability Updation - nontest') { this.hidedata = false; var rowData = new src_app_saisie_activate_engineActivityGridWrapper_model__WEBPACK_IMPORTED_MODULE_32__["EngineActivityGridWrapper"](); rowData = this.activityService.getactivityRowData(); var engineActivity = this.assignSacreData(); var activity = new src_app_saisie_activate_activity_model__WEBPACK_IMPORTED_MODULE_7__["Activity"](); var level0 = new src_app_administration_levelreferential_level0_level0_model__WEBPACK_IMPORTED_MODULE_8__["Level0"](); var level1 = new src_app_administration_levelreferential_level1_level1_model__WEBPACK_IMPORTED_MODULE_9__["Level1"](); var level2 = new src_app_administration_levelreferential_level2_level2_model__WEBPACK_IMPORTED_MODULE_10__["Level2"](); var prestation = new src_app_administration_prestationsandprocedures_prestation_prestation_model__WEBPACK_IMPORTED_MODULE_14__["Prestation"](); var procedure = new src_app_administration_prestationsandprocedures_procedure_procedure_model__WEBPACK_IMPORTED_MODULE_11__["Procedure"](); var macroActivity = new src_app_administration_prestationsandprocedures_macro_activity_macro_activity_model__WEBPACK_IMPORTED_MODULE_31__["MacroActivity"](); var customerDirection = new src_app_administration_referentiel_customer_customer_model__WEBPACK_IMPORTED_MODULE_13__["CustomerDirection"](); var campaign = new src_app_administration_referentiel_campaign_campaign_model__WEBPACK_IMPORTED_MODULE_12__["Campaign"](); var testbedGlobalInfo = new src_app_administration_testbedreferential_testbed_testbed_model__WEBPACK_IMPORTED_MODULE_24__["Testbed"](); var reliability = new src_app_saisie_activate_engineReliabilityActivity_model__WEBPACK_IMPORTED_MODULE_20__["EngineReliability"](); this.reliabilityRowData = this.commonService.getEngineReliabilityActivityData()[0]; reliability.id = this.reliabilityRowData.id; reliability.soft = ''; engineActivity.engHours = this.commonService.getFilterActivityFormData()['engHours']; /* US385 - As a user I want the DI field to be visible for non-test activities & testNumber field to be visible for test activities & map essNBGps with essNb */ var fuel = new src_app_administration_referentiel_fuel_fuel_model__WEBPACK_IMPORTED_MODULE_33__["Fuel"](); if (this.commonService.getFilterActivityFormData()['fuel'] !== null) { fuel.id = this.commonService.getFilterActivityFormData()['fuel']; engineActivity.fuel = fuel; } else { engineActivity.fuel = null; } engineActivity.di = this.payLoad['di'] ? this.payLoad['di'] : ''; engineActivity.essNB = ''; engineActivity.id = this.reliabilityRowData.engineActivity.id; activity.id = this.reliabilityRowData.engineActivity.activity.id; level0.id = this.commonService.getFilterActivityFormData()['activityTypeDropDown']; level1.id = this.commonService.getFilterActivityFormData()['level1']; level2.id = this.commonService.getFilterActivityFormData()['level2']; prestation.id = this.commonService.getFilterActivityFormData()['prestation']; macroActivity.id = this.commonService.getFilterActivityFormData()['macroActivity']; procedure.id = this.commonService.getFilterActivityFormData()['procedure']; customerDirection.id = this.commonService.getFilterActivityFormData()['customerDirection']; campaign.id = this.commonService.getFilterActivityFormData()['campaign']; activity.seqNum = rowData.seqNum; activity.level0 = level0; activity.level1 = level1; activity.level2 = level2; activity.customerDirection = customerDirection; activity.prestations = prestation; activity.macroActivity = macroActivity; activity.procedures = procedure; activity.campaigns = campaign; activity.ipn = this.commonService.getFilterActivityFormData()['ipn']; activity.activityDate = this.commonService.getFilterActivityFormData()['engineDate']; activity.duration = this.commonService.getFilterActivityFormData()['activityDuration']; activity.customerRequest = this.commonService.getFilterActivityFormData()['customerRequest']; activity.calibration = ''; activity.means = this.commonService.getmean(); testbedGlobalInfo.id = this.activityService.getTestBedFormData()['selectedTestBed']; activity.testBedId = testbedGlobalInfo; activity.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); engineActivity.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); reliability.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); engineActivity.programLine = this.commonService.getFilterActivityFormData()['pgmLines']; engineActivity.essNBGps = this.commonService.getFilterActivityFormData()['essNb']; reliability.bvRlce = this.commonService.getFilterActivityFormData()['bvRlce']; // Failure activity visualization & reliability has been modified for US501// engineActivity.bvRlce = this.commonService.getFilterActivityFormData()['bvRlce']; activity.comment = this.payLoad['comment']; engineActivity.activity = activity; reliability.engineActivity = engineActivity; if (this.commonService.getFunctionType() === 'duplicate') { reliability.id = null; reliability.engineActivity.id = null; reliability.engineActivity.activity.id = null; reliability.engineActivity.activity.seqNum = null; this.saveReliabilityEdActivity(reliability); } else { this.updateReliabilityEdActivity(reliability); } } else if (this.commonService.getCurrentActivityOperation() === 'Electrical Creation - test') { var electrical = new src_app_saisie_activate_evEngine_model__WEBPACK_IMPORTED_MODULE_21__["EvEngine"](); var engineActivity = this.assignSacreData(); var activity = new src_app_saisie_activate_activity_model__WEBPACK_IMPORTED_MODULE_7__["Activity"](); var level0 = new src_app_administration_levelreferential_level0_level0_model__WEBPACK_IMPORTED_MODULE_8__["Level0"](); var level1 = new src_app_administration_levelreferential_level1_level1_model__WEBPACK_IMPORTED_MODULE_9__["Level1"](); var level2 = new src_app_administration_levelreferential_level2_level2_model__WEBPACK_IMPORTED_MODULE_10__["Level2"](); var prestation = new src_app_administration_prestationsandprocedures_prestation_prestation_model__WEBPACK_IMPORTED_MODULE_14__["Prestation"](); var macroActivity = new src_app_administration_prestationsandprocedures_macro_activity_macro_activity_model__WEBPACK_IMPORTED_MODULE_31__["MacroActivity"](); var procedure = new src_app_administration_prestationsandprocedures_procedure_procedure_model__WEBPACK_IMPORTED_MODULE_11__["Procedure"](); var customerDirection = new src_app_administration_referentiel_customer_customer_model__WEBPACK_IMPORTED_MODULE_13__["CustomerDirection"](); var campaign = new src_app_administration_referentiel_campaign_campaign_model__WEBPACK_IMPORTED_MODULE_12__["Campaign"](); var testbedGlobalInfo = new src_app_administration_testbedreferential_testbed_testbed_model__WEBPACK_IMPORTED_MODULE_24__["Testbed"](); var exploitable = new src_app_administration_levelreferential_levelsadmin_exploitable_model__WEBPACK_IMPORTED_MODULE_25__["Exploitable"](); electrical.realNb = this.payLoad['realNb']; electrical.testSupport = this.payLoad['testSupport']; engineActivity.engHours = this.commonService.getFilterActivityFormData()['engHours']; /* US385 - As a user I want the DI field to be visible for non-test activities & testNumber field to be visible for test activities & map essNBGps with essNb */ engineActivity.essNB = this.payLoad['testNumber']; level0.id = this.commonService.getFilterActivityFormData()['activityTypeDropDown']; level1.id = this.commonService.getFilterActivityFormData()['level1']; level2.id = this.commonService.getFilterActivityFormData()['level2']; prestation.id = this.commonService.getFilterActivityFormData()['prestation']; macroActivity.id = this.commonService.getFilterActivityFormData()['macroActivity']; procedure.id = this.commonService.getFilterActivityFormData()['procedure']; customerDirection.id = this.commonService.getFilterActivityFormData()['customerDirection']; campaign.id = this.commonService.getFilterActivityFormData()['campaign']; exploitable.id = this.commonService.getFilterActivityFormData()['exploitable']; activity.exploitable = exploitable; activity.level0 = level0; activity.level1 = level1; activity.level2 = level2; activity.customerDirection = customerDirection; activity.prestations = prestation; activity.macroActivity = macroActivity; activity.procedures = procedure; activity.campaigns = campaign; activity.typeOfTest = this.commonService.getFilterActivityFormData()['typeOfTest']; activity.ipn = this.commonService.getFilterActivityFormData()['ipn']; activity.activityDate = this.commonService.getFilterActivityFormData()['engineDate']; activity.duration = this.commonService.getFilterActivityFormData()['activityDuration']; activity.customerRequest = this.commonService.getFilterActivityFormData()['customerRequest']; activity.calibration = ''; activity.means = this.commonService.getmean(); testbedGlobalInfo.id = this.activityService.getTestBedFormData()['selectedTestBed']; activity.testBedId = testbedGlobalInfo; activity.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); engineActivity.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); electrical.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); engineActivity.testedVS = this.payLoad['vsNb']; engineActivity.programLine = this.commonService.getFilterActivityFormData()['pgmLines']; var fuel = new src_app_administration_referentiel_fuel_fuel_model__WEBPACK_IMPORTED_MODULE_33__["Fuel"](); if (this.commonService.getFilterActivityFormData()['fuel'] !== null) { fuel.id = this.commonService.getFilterActivityFormData()['fuel']; engineActivity.fuel = fuel; } else { engineActivity.fuel = null; } /* US385 - As a user I want the DI field to be visible for non-test activities & testNumber field to be visible for test activities & map essNBGps with essNb */ engineActivity.essNBGps = this.commonService.getFilterActivityFormData()['essNb']; if (this.activityService.updateFlagForSeq && this.activityService.getactivityRowData() && this.dateCheckForSeq()) { activity.seqNum = this.activityService.getactivityRowData().seqNum ? this.activityService.getactivityRowData().seqNum : null; } if (this.commonService.getFunctionType() === _dynamic_form_model__WEBPACK_IMPORTED_MODULE_30__["DynamicConstants"].duplicate) { activity.seqNum = null; } activity.comment = this.payLoad['comment']; engineActivity.activity = activity; electrical.engineActivity = engineActivity; this.saveEvEngine(electrical); } else if (this.commonService.getCurrentActivityOperation() === 'Electrical Creation - nontest') { var electrical = new src_app_saisie_activate_evEngine_model__WEBPACK_IMPORTED_MODULE_21__["EvEngine"](); var engineActivity = this.assignSacreData(); var activity = new src_app_saisie_activate_activity_model__WEBPACK_IMPORTED_MODULE_7__["Activity"](); var level0 = new src_app_administration_levelreferential_level0_level0_model__WEBPACK_IMPORTED_MODULE_8__["Level0"](); var level1 = new src_app_administration_levelreferential_level1_level1_model__WEBPACK_IMPORTED_MODULE_9__["Level1"](); var level2 = new src_app_administration_levelreferential_level2_level2_model__WEBPACK_IMPORTED_MODULE_10__["Level2"](); var prestation = new src_app_administration_prestationsandprocedures_prestation_prestation_model__WEBPACK_IMPORTED_MODULE_14__["Prestation"](); var macroActivity = new src_app_administration_prestationsandprocedures_macro_activity_macro_activity_model__WEBPACK_IMPORTED_MODULE_31__["MacroActivity"](); var procedure = new src_app_administration_prestationsandprocedures_procedure_procedure_model__WEBPACK_IMPORTED_MODULE_11__["Procedure"](); var customerDirection = new src_app_administration_referentiel_customer_customer_model__WEBPACK_IMPORTED_MODULE_13__["CustomerDirection"](); var campaign = new src_app_administration_referentiel_campaign_campaign_model__WEBPACK_IMPORTED_MODULE_12__["Campaign"](); var testbedGlobalInfo = new src_app_administration_testbedreferential_testbed_testbed_model__WEBPACK_IMPORTED_MODULE_24__["Testbed"](); electrical.realNb = this.payLoad['realNb']; electrical.testSupport = this.payLoad['testSupport']; engineActivity.engHours = this.commonService.getFilterActivityFormData()['engHours']; var fuel = new src_app_administration_referentiel_fuel_fuel_model__WEBPACK_IMPORTED_MODULE_33__["Fuel"](); if (this.commonService.getFilterActivityFormData()['fuel'] !== null) { fuel.id = this.commonService.getFilterActivityFormData()['fuel']; engineActivity.fuel = fuel; } else { engineActivity.fuel = null; } // engineActivity.engNumber = this.payLoad['engineNb'] ? this.payLoad['engineNb'] : ''; /* US385 - As a user I want the DI field to be visible for non-test activities & testNumber field to be visible for test activities & map essNBGps with essNb */ engineActivity.di = this.payLoad['di'] ? this.payLoad['di'] : ''; engineActivity.essNB = ''; level0.id = this.commonService.getFilterActivityFormData()['activityTypeDropDown']; level1.id = this.commonService.getFilterActivityFormData()['level1']; level2.id = this.commonService.getFilterActivityFormData()['level2']; prestation.id = this.commonService.getFilterActivityFormData()['prestation']; macroActivity.id = this.commonService.getFilterActivityFormData()['macroActivity']; procedure.id = this.commonService.getFilterActivityFormData()['procedure']; customerDirection.id = this.commonService.getFilterActivityFormData()['customerDirection']; campaign.id = this.commonService.getFilterActivityFormData()['campaign']; activity.level0 = level0; activity.level1 = level1; activity.level2 = level2; activity.customerDirection = customerDirection; activity.prestations = prestation; activity.macroActivity = macroActivity; activity.procedures = procedure; activity.campaigns = campaign; activity.typeOfTest = this.commonService.getFilterActivityFormData()['typeOfTest']; activity.means = this.commonService.getmean(); activity.ipn = this.commonService.getFilterActivityFormData()['ipn']; activity.activityDate = this.commonService.getFilterActivityFormData()['engineDate']; activity.duration = this.commonService.getFilterActivityFormData()['activityDuration']; activity.customerRequest = this.commonService.getFilterActivityFormData()['customerRequest']; activity.calibration = ''; testbedGlobalInfo.id = this.activityService.getTestBedFormData()['selectedTestBed']; activity.testBedId = testbedGlobalInfo; activity.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); engineActivity.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); electrical.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); engineActivity.testedVS = ''; engineActivity.programLine = this.commonService.getFilterActivityFormData()['pgmLines']; engineActivity.essNBGps = this.commonService.getFilterActivityFormData()['essNb']; if (this.activityService.updateFlagForSeq && this.activityService.getactivityRowData() && this.dateCheckForSeq()) { activity.seqNum = this.activityService.getactivityRowData().seqNum ? this.activityService.getactivityRowData().seqNum : null; } if (this.commonService.getFunctionType() === _dynamic_form_model__WEBPACK_IMPORTED_MODULE_30__["DynamicConstants"].duplicate) { activity.seqNum = null; } activity.comment = this.payLoad['comment']; engineActivity.activity = activity; electrical.engineActivity = engineActivity; this.saveEvEngine(electrical); } else if (this.commonService.getCurrentActivityOperation() === 'Electrical Updation - test') { var rowData = new src_app_saisie_activate_engineActivityGridWrapper_model__WEBPACK_IMPORTED_MODULE_32__["EngineActivityGridWrapper"](); rowData = this.activityService.getactivityRowData(); this.hidedata = false; var electrical = new src_app_saisie_activate_evEngine_model__WEBPACK_IMPORTED_MODULE_21__["EvEngine"](); var engineActivity = this.assignSacreData(); var activity = new src_app_saisie_activate_activity_model__WEBPACK_IMPORTED_MODULE_7__["Activity"](); var level0 = new src_app_administration_levelreferential_level0_level0_model__WEBPACK_IMPORTED_MODULE_8__["Level0"](); var level1 = new src_app_administration_levelreferential_level1_level1_model__WEBPACK_IMPORTED_MODULE_9__["Level1"](); var level2 = new src_app_administration_levelreferential_level2_level2_model__WEBPACK_IMPORTED_MODULE_10__["Level2"](); var prestation = new src_app_administration_prestationsandprocedures_prestation_prestation_model__WEBPACK_IMPORTED_MODULE_14__["Prestation"](); var macroActivity = new src_app_administration_prestationsandprocedures_macro_activity_macro_activity_model__WEBPACK_IMPORTED_MODULE_31__["MacroActivity"](); var procedure = new src_app_administration_prestationsandprocedures_procedure_procedure_model__WEBPACK_IMPORTED_MODULE_11__["Procedure"](); var customerDirection = new src_app_administration_referentiel_customer_customer_model__WEBPACK_IMPORTED_MODULE_13__["CustomerDirection"](); var campaign = new src_app_administration_referentiel_campaign_campaign_model__WEBPACK_IMPORTED_MODULE_12__["Campaign"](); var testbedGlobalInfo = new src_app_administration_testbedreferential_testbed_testbed_model__WEBPACK_IMPORTED_MODULE_24__["Testbed"](); var exploitable = new src_app_administration_levelreferential_levelsadmin_exploitable_model__WEBPACK_IMPORTED_MODULE_25__["Exploitable"](); this.electricalRowData = this.commonService.getEvEngineData()[0]; electrical.id = this.electricalRowData.id; electrical.realNb = this.payLoad['realNb']; electrical.testSupport = this.payLoad['testSupport']; engineActivity.engHours = this.commonService.getFilterActivityFormData()['engHours']; var fuel = new src_app_administration_referentiel_fuel_fuel_model__WEBPACK_IMPORTED_MODULE_33__["Fuel"](); if (this.commonService.getFilterActivityFormData()['fuel'] !== null) { fuel.id = this.commonService.getFilterActivityFormData()['fuel']; engineActivity.fuel = fuel; } else { engineActivity.fuel = null; } /* US385 - As a user I want the DI field to be visible for non-test activities & testNumber field to be visible for test activities & map essNBGps with essNb */ engineActivity.essNB = this.payLoad['testNumber']; engineActivity.di = ''; engineActivity.id = this.electricalRowData.engineActivity.id; activity.id = this.electricalRowData.engineActivity.activity.id; level0.id = this.commonService.getFilterActivityFormData()['activityTypeDropDown']; level1.id = this.commonService.getFilterActivityFormData()['level1']; level2.id = this.commonService.getFilterActivityFormData()['level2']; prestation.id = this.commonService.getFilterActivityFormData()['prestation']; macroActivity.id = this.commonService.getFilterActivityFormData()['macroActivity']; procedure.id = this.commonService.getFilterActivityFormData()['procedure']; customerDirection.id = this.commonService.getFilterActivityFormData()['customerDirection']; campaign.id = this.commonService.getFilterActivityFormData()['campaign']; exploitable.id = this.commonService.getFilterActivityFormData()['exploitable']; activity.exploitable = exploitable; activity.level0 = level0; activity.level1 = level1; activity.level2 = level2; activity.customerDirection = customerDirection; activity.prestations = prestation; activity.macroActivity = macroActivity; activity.procedures = procedure; activity.campaigns = campaign; activity.typeOfTest = this.commonService.getFilterActivityFormData()['typeOfTest']; activity.ipn = this.commonService.getFilterActivityFormData()['ipn']; activity.activityDate = this.commonService.getFilterActivityFormData()['engineDate']; activity.duration = this.commonService.getFilterActivityFormData()['activityDuration']; activity.customerRequest = this.commonService.getFilterActivityFormData()['customerRequest']; activity.calibration = ''; activity.means = this.commonService.getmean(); testbedGlobalInfo.id = this.activityService.getTestBedFormData()['selectedTestBed']; activity.testBedId = testbedGlobalInfo; activity.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); engineActivity.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); electrical.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); engineActivity.testedVS = this.payLoad['vsNb']; activity.seqNum = rowData.seqNum; engineActivity.programLine = this.commonService.getFilterActivityFormData()['pgmLines']; /* US385 - As a user I want the DI field to be visible for non-test activities & testNumber field to be visible for test activities & map essNBGps with essNb */ engineActivity.essNBGps = this.commonService.getFilterActivityFormData()['essNb']; activity.comment = this.payLoad['comment']; engineActivity.activity = activity; electrical.engineActivity = engineActivity; if (this.commonService.getFunctionType() === _dynamic_form_model__WEBPACK_IMPORTED_MODULE_30__["DynamicConstants"].duplicate) { electrical.id = null; electrical.engineActivity.id = null; electrical.engineActivity.activity.id = null; electrical.engineActivity.activity.seqNum = null; this.saveEvEngine(electrical); } else { this.updateEvEngine(electrical); } } else if (this.commonService.getCurrentActivityOperation() === 'Electrical Updation - nontest') { var rowData = new src_app_saisie_activate_engineActivityGridWrapper_model__WEBPACK_IMPORTED_MODULE_32__["EngineActivityGridWrapper"](); rowData = this.activityService.getactivityRowData(); this.hidedata = false; var electrical = new src_app_saisie_activate_evEngine_model__WEBPACK_IMPORTED_MODULE_21__["EvEngine"](); var engineActivity = this.assignSacreData(); var activity = new src_app_saisie_activate_activity_model__WEBPACK_IMPORTED_MODULE_7__["Activity"](); var level0 = new src_app_administration_levelreferential_level0_level0_model__WEBPACK_IMPORTED_MODULE_8__["Level0"](); var level1 = new src_app_administration_levelreferential_level1_level1_model__WEBPACK_IMPORTED_MODULE_9__["Level1"](); var level2 = new src_app_administration_levelreferential_level2_level2_model__WEBPACK_IMPORTED_MODULE_10__["Level2"](); var prestation = new src_app_administration_prestationsandprocedures_prestation_prestation_model__WEBPACK_IMPORTED_MODULE_14__["Prestation"](); var macroActivity = new src_app_administration_prestationsandprocedures_macro_activity_macro_activity_model__WEBPACK_IMPORTED_MODULE_31__["MacroActivity"](); var procedure = new src_app_administration_prestationsandprocedures_procedure_procedure_model__WEBPACK_IMPORTED_MODULE_11__["Procedure"](); var customerDirection = new src_app_administration_referentiel_customer_customer_model__WEBPACK_IMPORTED_MODULE_13__["CustomerDirection"](); var campaign = new src_app_administration_referentiel_campaign_campaign_model__WEBPACK_IMPORTED_MODULE_12__["Campaign"](); var testbedGlobalInfo = new src_app_administration_testbedreferential_testbed_testbed_model__WEBPACK_IMPORTED_MODULE_24__["Testbed"](); this.electricalRowData = this.commonService.getEvEngineData()[0]; electrical.id = this.electricalRowData.id; electrical.realNb = this.payLoad['realNb']; electrical.testSupport = this.payLoad['testSupport']; engineActivity.engHours = this.commonService.getFilterActivityFormData()['engHours']; var fuel = new src_app_administration_referentiel_fuel_fuel_model__WEBPACK_IMPORTED_MODULE_33__["Fuel"](); if (this.commonService.getFilterActivityFormData()['fuel'] !== null) { fuel.id = this.commonService.getFilterActivityFormData()['fuel']; engineActivity.fuel = fuel; } else { engineActivity.fuel = null; } /* US385 - As a user I want the DI field to be visible for non-test activities & testNumber field to be visible for test activities & map essNBGps with essNb */ engineActivity.di = this.payLoad['di'] ? this.payLoad['di'] : ''; engineActivity.essNB = ''; engineActivity.id = this.electricalRowData.engineActivity.id; activity.id = this.electricalRowData.engineActivity.activity.id; level0.id = this.commonService.getFilterActivityFormData()['activityTypeDropDown']; level1.id = this.commonService.getFilterActivityFormData()['level1']; level2.id = this.commonService.getFilterActivityFormData()['level2']; prestation.id = this.commonService.getFilterActivityFormData()['prestation']; macroActivity.id = this.commonService.getFilterActivityFormData()['macroActivity']; procedure.id = this.commonService.getFilterActivityFormData()['procedure']; customerDirection.id = this.commonService.getFilterActivityFormData()['customerDirection']; campaign.id = this.commonService.getFilterActivityFormData()['campaign']; activity.level0 = level0; activity.level1 = level1; activity.level2 = level2; activity.customerDirection = customerDirection; activity.prestations = prestation; activity.macroActivity = macroActivity; activity.procedures = procedure; activity.campaigns = campaign; activity.typeOfTest = this.commonService.getFilterActivityFormData()['typeOfTest']; activity.means = this.commonService.getmean(); activity.ipn = this.commonService.getFilterActivityFormData()['ipn']; activity.seqNum = rowData.seqNum; activity.activityDate = this.commonService.getFilterActivityFormData()['engineDate']; activity.duration = this.commonService.getFilterActivityFormData()['activityDuration']; activity.customerRequest = this.commonService.getFilterActivityFormData()['customerRequest']; activity.calibration = ''; testbedGlobalInfo.id = this.activityService.getTestBedFormData()['selectedTestBed']; activity.testBedId = testbedGlobalInfo; activity.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); engineActivity.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); electrical.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); engineActivity.testedVS = ''; engineActivity.programLine = this.commonService.getFilterActivityFormData()['pgmLines']; // engineActivity.essNB = this.commonService.getFilterActivityFormData()['essNb']; engineActivity.essNBGps = this.commonService.getFilterActivityFormData()['essNb']; activity.comment = this.payLoad['comment']; engineActivity.activity = activity; electrical.engineActivity = engineActivity; if (this.commonService.getFunctionType() === 'duplicate') { electrical.id = null; electrical.engineActivity.id = null; electrical.engineActivity.activity.id = null; electrical.engineActivity.activity.seqNum = null; this.saveEvEngine(electrical); } else { this.updateEvEngine(electrical); } } this.commonService.setSacreData(null); this.activityService.setSacreFlag(false); } else { this.snackbarService.showSnackBar('Errormessage.common_form_invalid', 'F'); } }; DynamicFormComponent.prototype.onCancel = function () { var _this = this; var dialogRef = this.dialog.open(src_app_common_shared_confirmation_dialog_confirmation_dialog_component__WEBPACK_IMPORTED_MODULE_23__["ConfirmationDialogComponent"], { width: '350px', data: 'Cancel.Warningmessage' }); dialogRef.afterClosed().subscribe(function (result) { if (result) { _this.commonService.setSacreData(null); _this.activityService.setSacreFlag(false); _this.activityService.sansOtUpdateFlag = false; _this.barService.setBarFormDirty(false); _this.cancelDynamicForm.emit('close'); } }); }; DynamicFormComponent.prototype.saveEvEngine = function (electrical) { var _this = this; this.activityService.saveEvEngine(electrical).subscribe(function (response) { if (response.body) { _this.activitycommonService.setupdatedSelRow(null); _this.activitycommonService.setupdatedSelRow(response.body); _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); _this.commonService.setFormChanged(false); _this.closeDynamicForm.emit('close'); } else { _this.snackbarService.showSnackBar('Common_Buttons.Fail', 'F'); _this.activityService.refreshGrid(_this.commonService.getmean().maps.label); } }); }; DynamicFormComponent.prototype.saveTuningEdActvity = function (tuningEdActivity) { var _this = this; this.activityService.saveTuningEdActvity(tuningEdActivity).subscribe(function (response) { if (response.body) { _this.activitycommonService.setupdatedSelRow(null); _this.activitycommonService.setupdatedSelRow(response.body); _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); _this.commonService.setFormChanged(false); if (_this.commonService.getFunctionType() === 'duplicate') { _this.commonService.setFilterFormData(false); } _this.closeDynamicForm.emit('close'); } else { _this.snackbarService.showSnackBar('Common_Buttons.Fail', 'F'); _this.commonService.setFormChanged(false); _this.activityService.refreshGrid(_this.commonService.getmean().maps.label); } }); }; DynamicFormComponent.prototype.saveFailureActvity = function (failureActivity) { var _this = this; this.activityService.saveFailureActvity(failureActivity).subscribe(function (response) { if (response.body) { _this.activitycommonService.setupdatedSelRow(null); _this.activitycommonService.setupdatedSelRow(response.body); _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); _this.commonService.setFormChanged(false); _this.closeDynamicForm.emit('close'); } else { _this.snackbarService.showSnackBar('Common_Buttons.Fail', 'F'); _this.commonService.setFormChanged(false); _this.activityService.refreshGrid(_this.commonService.getmean().maps.label); } }); }; DynamicFormComponent.prototype.saveReliabilityEdActivity = function (reliability) { var _this = this; this.activityService.saveReliabilityEdActivity(reliability).subscribe(function (response) { if (response.body) { _this.activitycommonService.setupdatedSelRow(null); _this.activitycommonService.setupdatedSelRow(response.body); _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); _this.commonService.setFormChanged(false); _this.closeDynamicForm.emit('close'); } else { _this.snackbarService.showSnackBar('Common_Buttons.Fail', 'F'); _this.commonService.setFormChanged(false); } }); }; DynamicFormComponent.prototype.updateTuningEdActvity = function (tuningEdActivity) { var _this = this; this.activityService.updateTuningEdActvity(tuningEdActivity).subscribe(function (response) { if (response.body) { _this.activitycommonService.setupdatedSelRow(null); _this.activitycommonService.setupdatedSelRow(tuningEdActivity); _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); _this.commonService.setFormChanged(false); _this.closeDynamicForm.emit('close'); } else { _this.snackbarService.showSnackBar('Common_Buttons.Fail', 'F'); _this.activityService.refreshGrid(_this.commonService.getmean().maps.label); } }); }; DynamicFormComponent.prototype.updateReliabilityEdActivity = function (reliability) { var _this = this; this.activityService.updateReliabilityEdActivity(reliability).subscribe(function (response) { if (response.body) { _this.activitycommonService.setupdatedSelRow(null); _this.activitycommonService.setupdatedSelRow(reliability); _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); _this.commonService.setFormChanged(false); _this.closeDynamicForm.emit('close'); } else { _this.snackbarService.showSnackBar('Common_Buttons.Fail', 'F'); _this.activityService.refreshGrid(_this.commonService.getmean().maps.label); } }); }; DynamicFormComponent.prototype.updateEvEngine = function (electrical) { var _this = this; this.activityService.updateEvEngine(electrical).subscribe(function (response) { if (response.body) { _this.activitycommonService.setupdatedSelRow(null); _this.activitycommonService.setupdatedSelRow(electrical); _this.snackbarService.showSnackBar('Common_Buttons.Success', 'S'); _this.commonService.setFormChanged(false); _this.closeDynamicForm.emit('close'); } else { _this.snackbarService.showSnackBar('Common_Buttons.Fail', 'F'); _this.activityService.refreshGrid(_this.commonService.getmean().maps.label); } }); }; DynamicFormComponent.prototype.dateCheckForSeq = function () { var formactivityDate = moment__WEBPACK_IMPORTED_MODULE_2__(this.commonService.getFilterActivityFormData()['engineDate']).format('YYYY-MM-DD'); var activityDate = moment__WEBPACK_IMPORTED_MODULE_2__(this.activityService.getactivityRowData().activityDate).format('YYYY-MM-DD'); console.log('formactivityDate>>>>>', formactivityDate, ' activityDate>>>>', activityDate); if (activityDate === formactivityDate) { return true; } else { return false; } }; tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"])(), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:type", Array) ], DynamicFormComponent.prototype, "baseFile", void 0); tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Output"])(), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:type", Object) ], DynamicFormComponent.prototype, "closeDynamicForm", void 0); tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Output"])(), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:type", Object) ], DynamicFormComponent.prototype, "flagVal", void 0); tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"])(), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:type", Object) ], DynamicFormComponent.prototype, "disableFlag", void 0); tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Output"])(), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:type", Object) ], DynamicFormComponent.prototype, "cancelDynamicForm", void 0); DynamicFormComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'app-dynamic-form', template: __webpack_require__(/*! ./dynamic-form.component.html */ "./src/app/common/dynamic-form/dynamic-form.component.html"), providers: [_dynamic_components_base_control_service__WEBPACK_IMPORTED_MODULE_3__["BaseControlService"]] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_dynamic_components_base_control_service__WEBPACK_IMPORTED_MODULE_3__["BaseControlService"], _common_services__WEBPACK_IMPORTED_MODULE_4__["CommonServices"], src_app_saisie_activate_activate_service__WEBPACK_IMPORTED_MODULE_15__["ActivateService"], _snackbar_snackbar_component_service__WEBPACK_IMPORTED_MODULE_16__["SnackBarService"], _angular_material__WEBPACK_IMPORTED_MODULE_22__["MatDialog"], src_app_saisie_bar_activity_bar_activity_service__WEBPACK_IMPORTED_MODULE_26__["BarActivityService"], src_app_saisie_activate_activitycommon_service__WEBPACK_IMPORTED_MODULE_27__["ActivitycommonService"], src_app_saisie_ot_status_ot_status_service__WEBPACK_IMPORTED_MODULE_28__["OtStatusService"]]) ], DynamicFormComponent); return DynamicFormComponent; }()); /***/ }), /***/ "./src/app/common/dynamic-form/dynamic-form.model.ts": /*!***********************************************************!*\ !*** ./src/app/common/dynamic-form/dynamic-form.model.ts ***! \***********************************************************/ /*! exports provided: DynamicDataTransfer, DynamicConstants */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DynamicDataTransfer", function() { return DynamicDataTransfer; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DynamicConstants", function() { return DynamicConstants; }); var DynamicDataTransfer = /** @class */ (function () { function DynamicDataTransfer() { } return DynamicDataTransfer; }()); var DynamicConstants; (function (DynamicConstants) { DynamicConstants["duplicate"] = "duplicate"; DynamicConstants["Brap"] = "BRAP"; DynamicConstants["BrapEngHours"] = "Brap.engHours"; DynamicConstants["BrapEngNum"] = "Brap.engNum"; })(DynamicConstants || (DynamicConstants = {})); /***/ }), /***/ "./src/app/common/error/error.component.css": /*!**************************************************!*\ !*** ./src/app/common/error/error.component.css ***! \**************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2NvbW1vbi9lcnJvci9lcnJvci5jb21wb25lbnQuY3NzIn0= */" /***/ }), /***/ "./src/app/common/error/error.component.html": /*!***************************************************!*\ !*** ./src/app/common/error/error.component.html ***! \***************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "

\nError\n

" /***/ }), /***/ "./src/app/common/error/error.component.ts": /*!*************************************************!*\ !*** ./src/app/common/error/error.component.ts ***! \*************************************************/ /*! exports provided: ErrorComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ErrorComponent", function() { return ErrorComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); var ErrorComponent = /** @class */ (function () { function ErrorComponent() { } ErrorComponent.prototype.ngOnInit = function () { }; ErrorComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'app-error', template: __webpack_require__(/*! ./error.component.html */ "./src/app/common/error/error.component.html"), styles: [__webpack_require__(/*! ./error.component.css */ "./src/app/common/error/error.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", []) ], ErrorComponent); return ErrorComponent; }()); /***/ }), /***/ "./src/app/common/export/eport.model.ts": /*!**********************************************!*\ !*** ./src/app/common/export/eport.model.ts ***! \**********************************************/ /*! exports provided: exportEng, exportFrench, exportConstant */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "exportEng", function() { return exportEng; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "exportFrench", function() { return exportFrench; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "exportConstant", function() { return exportConstant; }); var exportEng; (function (exportEng) { exportEng["english"] = "en"; exportEng["mobile"] = "Mobile Device"; exportEng["createDate"] = "Creation Date"; exportEng["updateDate"] = "Update Date"; exportEng["updateBy"] = "Last Update By"; exportEng["active"] = "Active ?"; exportEng["mobileTabName"] = "MobileDevice"; exportEng["mileston"] = "Milestones"; exportEng["milestonTabName"] = "Milestone"; exportEng["macroTabName"] = "MacroActivity"; exportEng["macro"] = "Macro Activity"; exportEng["shifts"] = "Shifts"; exportEng["Profiles"] = "Profiles"; exportEng["vhTechnicalParam"] = "Vehicle_Technical_Parameter"; exportEng["stoppageType"] = "StoppageType"; exportEng["stoppageTitle"] = "Type of Stoppage"; exportEng["fuel"] = "Fuel"; exportEng["externalCoswin"] = "External Coswin"; exportEng["extCoswinTab"] = "ExternalCoswin"; exportEng["testTypeTab"] = "TestType"; exportEng["testType"] = "Test Type"; exportEng["osVersionTab"] = "OsVersion"; exportEng["osVersion"] = "OS Versions"; exportEng["expDomainTab"] = "ExpertiseDomain"; exportEng["expDomain"] = "Expertise Domain"; exportEng["interSystemTab"] = "Intersystem"; exportEng["interSystem"] = "Intersystem uses"; })(exportEng || (exportEng = {})); var exportFrench; (function (exportFrench) { exportFrench["mobile"] = "Appareils mobiles"; exportFrench["createDate"] = "Date De Creation"; exportFrench["updateDate"] = "Date De Maj"; exportFrench["updateBy"] = "Derniere Maj Par"; exportFrench["active"] = "Actif ?"; exportFrench["mileston"] = "Jalons"; exportFrench["macro"] = "Macro Activite"; exportFrench["shifts"] = "Nombres des equipes"; exportFrench["Profiles"] = "Profils"; exportFrench["vhTechnicalParam"] = "Param\u00E8tre_Technique_De_V\u00E9hicule"; exportFrench["stoppageTitle"] = "Type darr\u00EAt"; exportFrench["fuel"] = "Carburant"; exportFrench["externalCoswin"] = "Coswin Externe"; exportFrench["testType"] = "Type d'essai"; exportFrench["osVersion"] = "Versions d'OS"; exportFrench["expDomain"] = " Domaine d'expertise"; exportFrench["interSystem"] = "Les utilisations intersyst\u00E8mes"; })(exportFrench || (exportFrench = {})); var exportConstant; (function (exportConstant) { exportConstant["dateFormat"] = "DD/MM/YYYY"; })(exportConstant || (exportConstant = {})); /***/ }), /***/ "./src/app/common/export/export.component.css": /*!****************************************************!*\ !*** ./src/app/common/export/export.component.css ***! \****************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2NvbW1vbi9leHBvcnQvZXhwb3J0LmNvbXBvbmVudC5jc3MifQ== */" /***/ }), /***/ "./src/app/common/export/export.component.html": /*!*****************************************************!*\ !*** ./src/app/common/export/export.component.html ***! \*****************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "" /***/ }), /***/ "./src/app/common/export/export.component.ts": /*!***************************************************!*\ !*** ./src/app/common/export/export.component.ts ***! \***************************************************/ /*! exports provided: ExportComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ExportComponent", function() { return ExportComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _common_services__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../common.services */ "./src/app/common/common.services.ts"); /* harmony import */ var src_app_administration_referentiel_means_means_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/administration/referentiel/means/means.service */ "./src/app/administration/referentiel/means/means.service.ts"); /* harmony import */ var xlsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! xlsx */ "./node_modules/xlsx/xlsx.js"); /* harmony import */ var xlsx__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(xlsx__WEBPACK_IMPORTED_MODULE_4__); /* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! moment */ "./node_modules/moment/moment.js"); /* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_5__); /* harmony import */ var _import_import_services__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../import/import.services */ "./src/app/common/import/import.services.ts"); /* harmony import */ var src_app_administration_levelreferential_levelsadmin_levelsadmin_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! src/app/administration/levelreferential/levelsadmin/levelsadmin.service */ "./src/app/administration/levelreferential/levelsadmin/levelsadmin.service.ts"); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/fesm5/ngx-translate-core.js"); /* harmony import */ var src_app_administration_testbedreferential_sector_sector_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! src/app/administration/testbedreferential/sector/sector.service */ "./src/app/administration/testbedreferential/sector/sector.service.ts"); /* harmony import */ var _eport_model__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./eport.model */ "./src/app/common/export/eport.model.ts"); /* harmony import */ var src_assets_i18n_en_json__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! src/assets/i18n/en.json */ "./src/assets/i18n/en.json"); var src_assets_i18n_en_json__WEBPACK_IMPORTED_MODULE_11___namespace = /*#__PURE__*/__webpack_require__.t(/*! src/assets/i18n/en.json */ "./src/assets/i18n/en.json", 1); /* harmony import */ var src_assets_i18n_fr_json__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! src/assets/i18n/fr.json */ "./src/assets/i18n/fr.json"); var src_assets_i18n_fr_json__WEBPACK_IMPORTED_MODULE_12___namespace = /*#__PURE__*/__webpack_require__.t(/*! src/assets/i18n/fr.json */ "./src/assets/i18n/fr.json", 1); /* harmony import */ var src_app_administration_testbedreferential_vhtechnicalparam_vhtechnicalparam_model__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! src/app/administration/testbedreferential/vhtechnicalparam/vhtechnicalparam.model */ "./src/app/administration/testbedreferential/vhtechnicalparam/vhtechnicalparam.model.ts"); /* harmony import */ var src_app_administration_testbedreferential_external_coswin_external_coswin_service__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! src/app/administration/testbedreferential/external-coswin/external-coswin.service */ "./src/app/administration/testbedreferential/external-coswin/external-coswin.service.ts"); var ExportComponent = /** @class */ (function () { function ExportComponent(commonServices, meanservice, importService, levelsAdminService, translate, sectorService, externalCoswinService) { this.commonServices = commonServices; this.meanservice = meanservice; this.importService = importService; this.levelsAdminService = levelsAdminService; this.translate = translate; this.sectorService = sectorService; this.externalCoswinService = externalCoswinService; this.wopts = { bookType: 'xlsx', type: 'array' }; } ExportComponent.prototype.ngOnInit = function () { this.getExternalCoswinList(); }; ExportComponent.prototype.onBtExport = function () { // var params={allColumns: true}; // this.commonServices.getGridApi().exportDataAsCsv(params); /* generate worksheet */ var jsonData = {}; var resultData = []; var browserLang = this.commonServices.getLanguage() ? this.commonServices.getLanguage() : 'en'; if (this.commonServices.getCurrentTab() === 'Levels Admin') { var generatedJson = this.commonServices.getLevelAdminData(); if (browserLang === 'en') { this.fileName = 'Levels Administration'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Mean'] = generatedJson[i].means.label; jsonData['Activity Type'] = generatedJson[i].level0.label; jsonData['Exploitable'] = this.nullcheck(generatedJson[i].exploitable); jsonData['Level 1'] = generatedJson[i].level1.label; jsonData['Level 2'] = generatedJson[i].level2.label; jsonData['Creation Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Update Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Last Update By'] = generatedJson[i].ipn; jsonData['Active ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else { this.fileName = 'Arborescence Des Niveaux'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Moyen'] = generatedJson[i].means.label; jsonData['Type activite'] = generatedJson[i].level0.label; jsonData['Exploitable'] = this.nullcheck(generatedJson[i].exploitable); jsonData['Niveau 1'] = generatedJson[i].level1.label; jsonData['Niveau 2'] = generatedJson[i].level2.label; jsonData['Date De Creation'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Date De Maj'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Derniere Maj Par'] = generatedJson[i].ipn; jsonData['Actif ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } } else if (this.commonServices.getCurrentTab() === 'Batch') { var generatedJson = this.commonServices.getBatchData(); if (browserLang === 'en') { this.fileName = 'Batches'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Batch'] = generatedJson[i].label; jsonData['Creation Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Update Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Last Update By'] = generatedJson[i].ipn; jsonData['Active ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else { this.fileName = 'Lots'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Lot'] = generatedJson[i].label; jsonData['Date De Creation'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Date De Maj'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Derniere Maj Par'] = generatedJson[i].ipn; jsonData['Actif ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } } else if (this.commonServices.getCurrentTab() === 'Service') { var generatedJson = this.commonServices.getServicesData(); if (browserLang === 'en') { this.fileName = 'Services'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Service'] = generatedJson[i].label; jsonData['Creation Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Update Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Last Update By'] = generatedJson[i].ipn; jsonData['Active ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else { this.fileName = 'Services'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Service'] = generatedJson[i].label; jsonData['Date De Creation'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Date De Maj'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Derniere Maj Par'] = generatedJson[i].ipn; jsonData['Actif ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } } else if (this.commonServices.getCurrentTab() === 'Perimeter') { var generatedJson = this.commonServices.getPerimeterData(); if (browserLang === 'en') { this.fileName = 'Perimeters'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Perimeter'] = generatedJson[i].label; jsonData['Creation Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Update Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Last Update By'] = generatedJson[i].ipn; jsonData['Active ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else { this.fileName = 'Perimetres'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Perimetre'] = generatedJson[i].label; jsonData['Date De Creation'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Date De Maj'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Derniere Maj Par'] = generatedJson[i].ipn; jsonData['Actif ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } } else if (this.commonServices.getCurrentTab() === 'Building') { var generatedJson = this.commonServices.getBuildingData(); if (browserLang === 'en') { this.fileName = 'Buildings'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Building'] = generatedJson[i].label; jsonData['Site'] = generatedJson[i].siteId.label; jsonData['Creation Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Update Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Last Update By'] = generatedJson[i].ipn; jsonData['Active ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else { this.fileName = 'Batiments'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Batiment'] = generatedJson[i].label; jsonData['Site'] = generatedJson[i].siteId.label; jsonData['Date De Creation'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Date De Maj'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Derniere Maj Par'] = generatedJson[i].ipn; jsonData['Actif ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } } else if (this.commonServices.getCurrentTab() === 'Level 0') { var generatedJson = this.commonServices.getLevel0Data(); if (browserLang === 'en') { this.fileName = 'Level 0'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Activity Type'] = generatedJson[i].label; jsonData['Test ?'] = generatedJson[i].level0_test; jsonData['Failure ?'] = generatedJson[i].failure; jsonData['Creation Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Update Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Last Updated By'] = generatedJson[i].ipn; jsonData['Active ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else { this.fileName = 'Niveau 0'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Type activite'] = generatedJson[i].label; jsonData['Essai ?'] = generatedJson[i].level0_test; jsonData['Panne ?'] = generatedJson[i].failure; jsonData['Date De Creation '] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Date De Maj'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Derniere Maj Par'] = generatedJson[i].ipn; jsonData['Actif ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } } else if (this.commonServices.getCurrentTab() === 'Level 1') { var generatedJson = this.commonServices.getLevel1Data(); if (browserLang === 'en') { this.fileName = 'Level 1'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Level 1'] = generatedJson[i].label; jsonData['Creation Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Update Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Last Updated By'] = generatedJson[i].ipn; jsonData['Active ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else { this.fileName = 'Niveau 1'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Niveau 1'] = generatedJson[i].label; jsonData['Date De Creation '] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Date De Maj'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Derniere Maj Par'] = generatedJson[i].ipn; jsonData['Actif ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } } else if (this.commonServices.getCurrentTab() === 'Level 2') { var generatedJson = this.commonServices.getLevel2Data(); if (browserLang === 'en') { this.fileName = 'Level 2'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Level 2'] = generatedJson[i].label; jsonData['Creation Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Update Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Last Updated By'] = generatedJson[i].ipn; jsonData['Active ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else { this.fileName = 'Niveau 2'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Niveau 2'] = generatedJson[i].label; jsonData['Date De Creation '] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Date De Maj'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Derniere Maj Par'] = generatedJson[i].ipn; jsonData['Actif ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } } else if (this.commonServices.getCurrentTab() === 'Sites') { var generatedJson = this.commonServices.getSiteData(); if (browserLang === 'en') { this.fileName = 'Sites'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Site'] = generatedJson[i].label; jsonData['Site Code'] = generatedJson[i].code; jsonData['Creation Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Update Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Last Updated By'] = generatedJson[i].ipn; jsonData['Active ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else { this.fileName = 'Sites'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Site'] = generatedJson[i].label; jsonData['Code Site'] = generatedJson[i].code; jsonData['Date De Creation '] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Date De Maj'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Derniere Maj Par'] = generatedJson[i].ipn; jsonData['Actif ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } } else if (this.commonServices.getCurrentTab() === 'Campaign Association') { var generatedJson = this.commonServices.getCampaignAssociationData(); if (browserLang === 'en') { this.fileName = 'Campaign Administration'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Campaign'] = generatedJson[i].campaigns.label; jsonData['Site'] = generatedJson[i].sites.label; jsonData['Mean'] = generatedJson[i].means.label; jsonData['Creation Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Update Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Last Update By'] = generatedJson[i].ipn; jsonData['Active ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else { this.fileName = 'Arborescence De La Campagne'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Campagne'] = generatedJson[i].campaigns.label; jsonData['Site'] = generatedJson[i].sites.label; jsonData['Moyen'] = generatedJson[i].means.label; jsonData['Date De Creation'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Date De Maj'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Derniere Maj Par'] = generatedJson[i].ipn; jsonData['Actif ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } } else if (this.commonServices.getCurrentTab() === 'Means') { var generatedJson = this.commonServices.getMeanData(); if (browserLang === 'en') { this.fileName = 'Means'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Mean'] = generatedJson[i].label; jsonData['MAP'] = generatedJson[i].maps.label; jsonData['Creation Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Update Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Last Updated By'] = generatedJson[i].ipn; jsonData['Active ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else { this.fileName = 'Moyens'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Moyen'] = generatedJson[i].label; jsonData['MAP'] = generatedJson[i].maps.label; jsonData['Date De Creation '] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Date De Maj'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Derniere Maj Par'] = generatedJson[i].ipn; jsonData['Actif ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } } else if (this.commonServices.getCurrentTab() === 'Teams') { var generatedJson = this.commonServices.getTeamData(); if (browserLang === 'en') { this.fileName = 'Teams'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Team'] = generatedJson[i].label; jsonData['Creation Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Update Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Last Update By'] = generatedJson[i].ipn; jsonData['Active ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else { this.fileName = 'UET'; for (var i = 0; i < generatedJson.length; i++) { jsonData['UET'] = generatedJson[i].label; jsonData['Date De Creation'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Date De Maj'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Derniere Maj Par'] = generatedJson[i].ipn; jsonData['Actif ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } } else if (this.commonServices.getCurrentTab() === 'Customer direction') { var generatedJson = this.commonServices.getCustomerData(); if (browserLang === 'en') { this.fileName = 'Customer Directions'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Customer Direction'] = generatedJson[i].label; jsonData['Cost Center'] = generatedJson[i].costCenter; jsonData['Creation Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Update Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Last Update By'] = generatedJson[i].ipn; jsonData['Active ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else { this.fileName = 'Service Client'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Service Client'] = generatedJson[i].label; jsonData['Centre De Cout'] = generatedJson[i].costCenter; jsonData['Date De Creation'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Date De Maj'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Derniere Maj Par'] = generatedJson[i].ipn; jsonData['Actif ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } } else if (this.commonServices.getCurrentTab() === 'Shifts') { var generatedJson = this.commonServices.getShifts(); var headerLabels = void 0; if (browserLang === _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].english) { headerLabels = src_assets_i18n_en_json__WEBPACK_IMPORTED_MODULE_11___namespace; this.fileName = _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].shifts; } else { headerLabels = src_assets_i18n_fr_json__WEBPACK_IMPORTED_MODULE_12___namespace; this.fileName = _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportFrench"].shifts; } headerLabels = headerLabels.default; for (var i = 0; i < generatedJson.length; i++) { jsonData[headerLabels.Administration.Referential.Shifts.Title] = generatedJson[i].teams + " × " + generatedJson[i].hours; jsonData[headerLabels.Administration.Referential.Shifts.CreationDate] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format(_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportConstant"].dateFormat); jsonData[headerLabels.Administration.Referential.Shifts.UpdateDate] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format(_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportConstant"].dateFormat); jsonData[headerLabels.Administration.Referential.Shifts.LastUpdateBy] = generatedJson[i].ipn; jsonData[headerLabels.Administration.Referential.Shifts.active] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else if (this.commonServices.getCurrentTab() === 'SpecimenType') { var generatedJson = this.commonServices.getSpecimenTypeData(); if (browserLang === 'en') { this.fileName = 'Specimen Type'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Type of Specimen'] = generatedJson[i].label; jsonData['Creation Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Update Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Last Update By'] = generatedJson[i].ipn; jsonData['Active ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else { this.fileName = 'Type de specimen'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Type de specimen'] = generatedJson[i].label; jsonData['Date De Creation'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Date De Maj'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Derniere Maj Par'] = generatedJson[i].ipn; jsonData['Actif ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } } else if (this.commonServices.getCurrentTab() === 'RsType') { var generatedJson = this.commonServices.getRsTypeData(); if (browserLang === 'en') { this.fileName = 'RS Type'; for (var i = 0; i < generatedJson.length; i++) { jsonData['RS Type'] = generatedJson[i].label; jsonData['Creation Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Update Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Last Update By'] = generatedJson[i].ipn; jsonData['Active ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else { this.fileName = 'Type de Rs'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Type de Rs'] = generatedJson[i].label; jsonData['Date De Creation'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Date De Maj'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Derniere Maj Par'] = generatedJson[i].ipn; jsonData['Actif ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } } else if (this.commonServices.getCurrentTab() === _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].mobileTabName) { var generatedJson = this.commonServices.getMobileDeviceData(); if (browserLang === _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].english) { this.fileName = _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].mobile; for (var i = 0; i < generatedJson.length; i++) { jsonData[_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].mobile] = generatedJson[i].label; jsonData[_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].createDate] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData[_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].updateDate] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData[_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].updateBy] = generatedJson[i].ipn; jsonData[_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].active] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else { this.fileName = _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportFrench"].mobile; for (var i = 0; i < generatedJson.length; i++) { jsonData[_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportFrench"].mobile] = generatedJson[i].label; jsonData[_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportFrench"].createDate] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData[_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportFrench"].updateDate] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData[_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportFrench"].updateBy] = generatedJson[i].ipn; jsonData[_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportFrench"].active] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } } else if (this.commonServices.getCurrentTab() === _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].milestonTabName) { var generatedJson = this.commonServices.getMilestoneData(); var headerLabels = void 0; if (browserLang === _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].english) { headerLabels = src_assets_i18n_en_json__WEBPACK_IMPORTED_MODULE_11___namespace; this.fileName = _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].mileston; } else { headerLabels = src_assets_i18n_fr_json__WEBPACK_IMPORTED_MODULE_12___namespace; this.fileName = _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportFrench"].mileston; } headerLabels = headerLabels.default; for (var i = 0; i < generatedJson.length; i++) { jsonData[headerLabels.Administration.Referential.Milestone.Title] = generatedJson[i].label; jsonData[headerLabels.Administration.Referential.Milestone.CreationDate] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format(_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportConstant"].dateFormat); jsonData[headerLabels.Administration.Referential.Milestone.UpdateDate] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format(_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportConstant"].dateFormat); jsonData[headerLabels.Administration.Referential.Milestone.LastUpdateBy] = generatedJson[i].ipn; jsonData[headerLabels.Administration.Referential.Milestone.active] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else if (this.commonServices.getCurrentTab() === 'Bar Program Lines') { var generatedJson = this.commonServices.getBarProgramLinesData(); if (browserLang === 'en') { this.fileName = 'COP Program Lines'; for (var i = 0; i < generatedJson.length; i++) { jsonData['COP Program Lines'] = generatedJson[i].label; jsonData['Site'] = generatedJson[i].sites.label; jsonData['Creation Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Update Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Last Update By'] = generatedJson[i].ipn; jsonData['Active ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else { this.fileName = 'Lignes De Programmes COP'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Lignes De Programmes COP '] = generatedJson[i].label; jsonData['Site'] = generatedJson[i].sites.label; jsonData['Date De Creation'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Date De Maj'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Derniere Maj Par'] = generatedJson[i].ipn; jsonData['Actif ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } } else if (this.commonServices.getCurrentTab() === 'BarPrestation') { var generatedJson = this.commonServices.getBarprestationData(); if (browserLang === 'en') { this.fileName = 'BwRPrestations'; for (var i = 0; i < generatedJson.length; i++) { jsonData['BwR Prestation'] = generatedJson[i].label; jsonData['Creation Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Update Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Last Updated By'] = generatedJson[i].ipn; jsonData['Active ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else { this.fileName = 'BaRPrestations'; for (var i = 0; i < generatedJson.length; i++) { jsonData['BaR Prestation'] = generatedJson[i].label; jsonData['Date De Creation '] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Date De Maj'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Derniere Maj Par'] = generatedJson[i].ipn; jsonData['Actif ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } } else if (this.commonServices.getCurrentTab() === 'Sector') { var generatedJson = this.commonServices.getSectorData(); if (browserLang === 'en') { this.fileName = 'Sectors'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Sector'] = generatedJson[i].label; jsonData['Creation Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Update Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Last Updated By'] = generatedJson[i].ipn; jsonData['Active ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else { this.fileName = 'Secteurs'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Secteur'] = generatedJson[i].label; jsonData['Date De Creation '] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Date De Maj'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Derniere Maj Par'] = generatedJson[i].ipn; jsonData['Actif ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } } else if (this.commonServices.getCurrentTab() === 'TestbedComplement') { var generatedJson = this.commonServices.getTestbedcomplementData(); if (browserLang === 'en') { this.fileName = 'Testbedtypecomplements'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Testbed type complement'] = generatedJson[i].label; jsonData['Creation Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Update Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Last Updated By'] = generatedJson[i].ipn; jsonData['Active ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else { this.fileName = 'Complementdestypesdebancs'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Complement des types de banc'] = generatedJson[i].label; jsonData['Date De Creation '] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Date De Maj'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Derniere Maj Par'] = generatedJson[i].ipn; jsonData['Actif ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } } else if (this.commonServices.getCurrentTab() === 'TestbedComplementAssociation') { var generatedJson = this.commonServices.getTestbedComplementAssociationData(); if (browserLang === 'en') { this.fileName = 'TestbedtypeComplementAssociations'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Testbed type'] = generatedJson[i].testbedtype.label; jsonData['Testbed type complement'] = generatedJson[i].testbedcomplement.label; jsonData['Creation Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Update Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Last Update By'] = generatedJson[i].ipn; jsonData['Active ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else { this.fileName = 'Association de type de banc - complement'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Type de banc'] = generatedJson[i].testbedtype.label; jsonData['Type de complement de banc'] = generatedJson[i].testbedcomplement.label; jsonData['Date De Creation'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Date De Maj'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Derniere Maj Par'] = generatedJson[i].ipn; jsonData['Actif ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } } else if (this.commonServices.getCurrentTab() === 'Campaign') { var generatedJson = this.commonServices.getCampaignData(); if (browserLang === 'en') { this.fileName = 'Campaigns'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Campaign'] = generatedJson[i].label; jsonData['Creation Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Update Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Last Updated By'] = generatedJson[i].ipn; jsonData['Active ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else { this.fileName = 'Campagnes'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Campagne'] = generatedJson[i].label; jsonData['Date De Creation '] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Date De Maj'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Derniere Maj Par'] = generatedJson[i].ipn; jsonData['Actif ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } } else if (this.commonServices.getCurrentTab() === 'Prestation') { var generatedJson = this.commonServices.getPrestationData(); if (browserLang === 'en') { this.fileName = 'Prestations'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Prestation'] = generatedJson[i].label; jsonData['Creation Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Update Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Last Updated By'] = generatedJson[i].ipn; jsonData['Active ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else { this.fileName = 'Prestations'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Prestation'] = generatedJson[i].label; jsonData['Date De Creation '] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Date De Maj'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Derniere Maj Par'] = generatedJson[i].ipn; jsonData['Actif ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } } else if (this.commonServices.getCurrentTab() === _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].macroTabName) { var generatedJson = this.commonServices.getMacroActivityData(); if (browserLang === _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].english) { this.fileName = _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].macro; for (var i = 0; i < generatedJson.length; i++) { jsonData[_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].macro] = generatedJson[i].label; jsonData[_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].createDate] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData[_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].updateDate] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData[_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].updateBy] = generatedJson[i].ipn; jsonData[_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].active] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else { this.fileName = _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportFrench"].macro; for (var i = 0; i < generatedJson.length; i++) { jsonData[_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportFrench"].macro] = generatedJson[i].label; jsonData[_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportFrench"].createDate] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData[_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportFrench"].updateDate] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData[_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportFrench"].updateBy] = generatedJson[i].ipn; jsonData[_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportFrench"].active] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } } else if (this.commonServices.getCurrentTab() === 'Procedure') { var generatedJson = this.commonServices.getProcedureData(); if (browserLang === 'en') { this.fileName = 'Procedures'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Procedure'] = generatedJson[i].label; jsonData['Creation Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Update Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Last Updated By'] = generatedJson[i].ipn; jsonData['Active ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else { this.fileName = 'Procedures'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Procedure'] = generatedJson[i].label; jsonData['Date De Creation '] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Date De Maj'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Derniere Maj Par'] = generatedJson[i].ipn; jsonData['Actif ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } } else if (this.commonServices.getCurrentTab() === 'MaintenanceTask') { var generatedJson = this.commonServices.getMaintenanceTaskData(); if (browserLang === 'en') { this.fileName = 'MaintenanceTasks'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Supplier'] = generatedJson[i].maintenanceSupplierID.label; jsonData['Periodicity'] = generatedJson[i].periodicity; jsonData['Type'] = generatedJson[i].type; jsonData['Task'] = generatedJson[i].task; jsonData['Duration'] = generatedJson[i].duration.label; jsonData['Creation Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Update Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Last Updated By'] = generatedJson[i].ipn; jsonData['Active ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else { this.fileName = 'Tâche_de_maintenances'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Societé'] = generatedJson[i].maintenanceSupplierID.label; jsonData['Periodicité'] = generatedJson[i].periodicity; jsonData['Type'] = generatedJson[i].type; jsonData['Gamme'] = generatedJson[i].task; jsonData['Duree'] = generatedJson[i].duration.label; jsonData['Date De Creation '] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Date De Maj'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Derniere Maj Par'] = generatedJson[i].ipn; jsonData['Actif ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } } else if (this.commonServices.getCurrentTab() === 'Prestation Admin') { var generatedJson = this.commonServices.getPrestationAdminData(); if (browserLang === 'en') { this.fileName = 'Prestations And Procedures Administration'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Mean'] = generatedJson[i].means.label; jsonData['Prestation'] = generatedJson[i].prestations.label; jsonData[_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].macro] = generatedJson[i].macroActivity ? generatedJson[i].macroActivity.label : null; jsonData['Procedure'] = generatedJson[i].procedures.label; jsonData['Creation Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Update Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Last Updated By'] = generatedJson[i].ipn; jsonData['Active ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else { this.fileName = 'Arborescence Des Prestations & Procedure'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Moyen'] = generatedJson[i].means.label; jsonData['Prestation'] = generatedJson[i].prestations.label; jsonData[_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportFrench"].macro] = generatedJson[i].macroActivity ? generatedJson[i].macroActivity.label : null; jsonData['Procedure'] = generatedJson[i].procedures.label; jsonData['Date De Creation '] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Date De Maj'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Derniere Maj Par'] = generatedJson[i].ipn; jsonData['Actif ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } } else if (this.commonServices.getCurrentTab() === 'TestBed') { this.extCoswinLabel = []; var generatedJson_1 = this.commonServices.getTestBedData(); var generatedCoswinJson = this.commonServices.getCoswinTestbedData(); var generatedAstralJson = this.commonServices.getAstralTestbedData(); var generatedGpsJson = this.commonServices.getGpsTestbedData(); if (browserLang === 'en') { this.fileName = 'Testbed'; var _loop_1 = function (i) { jsonData['Site'] = generatedJson_1[i].testbedGlobalInfo.siteId.label; jsonData['Mean'] = generatedJson_1[i].testbedGlobalInfo.meanId.label; jsonData['Bench'] = generatedJson_1[i].label; jsonData['Process'] = generatedJson_1[i].testbedGlobalInfo.process; jsonData['Perimeter'] = this_1.nullcheck(generatedJson_1[i].testbedGlobalInfo.perimeterId); jsonData['Building'] = this_1.nullcheck(generatedJson_1[i].testbedGlobalInfo.buildingId); jsonData['Team'] = generatedJson_1[i].testbedGlobalInfo.teamId.label; jsonData['Batch'] = this_1.nullcheck(generatedJson_1[i].testbedGlobalInfo.batch); jsonData['Function'] = generatedJson_1[i].testbedGlobalInfo.functioning; jsonData['FSS (Friday / Saturday / Sunday)'] = generatedJson_1[i].testbedGlobalInfo.vsd; jsonData['Service'] = generatedJson_1[i].testbedGlobalInfo.serviceId.label; jsonData['Team Number'] = generatedJson_1[i].testbedGlobalInfo.teamNumber; jsonData['Exploitant'] = this_1.nullcheck(generatedJson_1[i].testbedGlobalInfo.exploitant); jsonData['S3M'] = generatedJson_1[i].testbedGlobalInfo.s3m; jsonData['Designation'] = generatedJson_1[i].testbedGlobalInfo.designation; jsonData['Domain Expertise'] = generatedJson_1[i].testbedGlobalInfo.expertiseDomain; jsonData['Test Type'] = generatedJson_1[i].testbedGlobalInfo.testType; jsonData['Creation Year'] = generatedJson_1[i].testbedGlobalInfo.year; jsonData['Technical Parameter'] = generatedJson_1[i].testbedGlobalInfo.technicalParameter; jsonData['Generator / Brake'] = generatedJson_1[i].testbedTechnicalInfo.brake; jsonData['Technical type'] = generatedJson_1[i].testbedTechnicalInfo.technicalType; jsonData['Power (Kw) / torque (Nm) / speed (rev / min)'] = generatedJson_1[i].testbedTechnicalInfo.power; jsonData['Starter start'] = generatedJson_1[i].testbedTechnicalInfo.starter; jsonData['Exhaust Line Vehicle (not bent)'] = generatedJson_1[i].testbedTechnicalInfo.exhaust; jsonData['Vibratory signature'] = generatedJson_1[i].testbedTechnicalInfo.vibratorySignature; jsonData['Distribution: Flex = Petrol / diesel / Ethanol 100% / Methanol 20%'] = generatedJson_1[i].testbedTechnicalInfo.distribution; jsonData['Computer control system'] = generatedJson_1[i].testbedTechnicalInfo.itPiloting; jsonData['Cameo'] = generatedJson_1[i].testbedTechnicalInfo.cameo; jsonData['Option Road Law (Full/Light/N)'] = generatedJson_1[i].testbedTechnicalInfo.roadLaw; jsonData['Options: Adap OnLine / Resp controller / Flex Sweep'] = generatedJson_1[i].testbedTechnicalInfo.respController; jsonData['Option embrayage rig clutch'] = generatedJson_1[i].testbedTechnicalInfo.clutch; jsonData['Free accel'] = generatedJson_1[i].testbedTechnicalInfo.freeAccel; jsonData['Option: Real Time Controller (RTC)'] = generatedJson_1[i].testbedTechnicalInfo.rtc; jsonData['Option CAN'] = generatedJson_1[i].testbedTechnicalInfo.can; jsonData['Cell temperature condition'] = generatedJson_1[i].testbedTechnicalInfo.cellTemperature; jsonData['Maceration rapide de …a … (pistolet azote, souflage)'] = generatedJson_1[i].testbedTechnicalInfo.maceration; jsonData['Combustible air (25 ° / 40%)'] = generatedJson_1[i].testbedTechnicalInfo.combustiveAir; jsonData['Analysis upstream gas 5 gas (cold Nox)'] = generatedJson_1[i].testbedTechnicalInfo.upstreamCold; jsonData['Analysis of upstream gases cata 5 gas + CH4 (cold NOx) + CO2 EGR'] = generatedJson_1[i].testbedTechnicalInfo.upstreamCH4Cold; jsonData['Analysis of upstream gases cata 5 gas + CH4 + NO2 (hot NOx) + CO2 EGR'] = generatedJson_1[i].testbedTechnicalInfo.upstreamHot; jsonData['Analysis of downstream gas cata 5 gas + CH4 (cold NOx) + CO2 EGR'] = generatedJson_1[i].testbedTechnicalInfo.downstreamCold; jsonData['Analysis of downstream gas cata 5 gas + CH4 + NO2 (hot NOx) + CO2 EGR'] = generatedJson_1[i].testbedTechnicalInfo.downstreamHot; jsonData['Analysis of the diluted gases (CO + CO2 + NOx + HC)'] = generatedJson_1[i].testbedTechnicalInfo.diluted; jsonData['AVL 415S Smokemeter'] = generatedJson_1[i].testbedTechnicalInfo.fumimeter; jsonData['Opacimeter AVL 439 (particle mass)'] = generatedJson_1[i].testbedTechnicalInfo.opacimeter; jsonData['Tunnel + mass + PN probe (particle number)'] = generatedJson_1[i].testbedTechnicalInfo.tunnel; jsonData['HLMS (measurement 9 gas piping) heated line selector'] = generatedJson_1[i].testbedTechnicalInfo.hlms; jsonData['RS Reel_201X'] = generatedJson_1[i].testbedPerformance.realRS; jsonData['RO Reel_201X'] = generatedJson_1[i].testbedPerformance.realRO; jsonData['RS Cible'] = generatedJson_1[i].testbedPerformance.targetRS; jsonData['RS Eng'] = generatedJson_1[i].testbedPerformance.commitRS; jsonData['RO Cible'] = generatedJson_1[i].testbedPerformance.targetRO; jsonData['RO Eng'] = generatedJson_1[i].testbedPerformance.commitRO; jsonData['Tnc_Eng'] = generatedJson_1[i].testbedPerformance.commitTnc; jsonData['Tnc_cible'] = generatedJson_1[i].testbedPerformance.targetTnc; jsonData['Commit TUM'] = generatedJson_1[i].testbedPerformance.commitTum; jsonData['Target TUM'] = generatedJson_1[i].testbedPerformance.targetTum; jsonData['Time capacity'] = generatedJson_1[i].testbedPerformance.capability; jsonData['Creation Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson_1[i].creationDate).format('DD/MM/YYYY'); jsonData['Update Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson_1[i].updateDate).format('DD/MM/YYYY'); jsonData['Last Updated By'] = generatedJson_1[i].ipn; if (generatedJson_1[i].organisation_reg_id[0] === 1) { jsonData['Organisation'] = 'DEATM'; } else if (generatedJson_1[i].organisation_reg_id[0] === 2) { jsonData['Organisation'] = 'DEATV'; } jsonData['Active ?'] = generatedJson_1[i].active; var coswinVal = generatedCoswinJson.filter(function (res) { return res.testbedID.id === generatedJson_1[i].id; }); if (coswinVal.length === 0) { jsonData['System'] = ''; jsonData['External Coswin'] = ''; jsonData['Family'] = ''; jsonData['Equipment Code'] = ''; jsonData['Equipment Label'] = ''; jsonData['COSWIN Function'] = ''; jsonData['Area'] = ''; jsonData['Responsible'] = ''; jsonData['Typology'] = ''; jsonData['Operating time'] = ''; jsonData['Number of days'] = ''; jsonData['Entity Code'] = ''; } else { if (coswinVal[0].externalCoswin && coswinVal[0].externalCoswin.length > 0) { this_1.extCoswinLabel = this_1.getExternalCoswinLabel(coswinVal[0].externalCoswin); } jsonData['System'] = coswinVal[0].system; jsonData['External Coswin'] = this_1.extCoswinLabel; jsonData['Family'] = coswinVal[0].family; jsonData['Equipment Code'] = coswinVal[0].equipmentCode; jsonData['Equipment Label'] = coswinVal[0].equipmentLabel; jsonData['COSWIN Function'] = coswinVal[0].function; jsonData['Area'] = coswinVal[0].area; jsonData['Responsible'] = coswinVal[0].responsible; jsonData['Typology'] = coswinVal[0].typology; jsonData['Operating time'] = coswinVal[0].operatingTime; jsonData['Number of days'] = coswinVal[0].daysNumber; jsonData['Entity Code'] = coswinVal[0].entityCode; } var astralVal = generatedAstralJson.filter(function (res) { return res.testBedId === generatedJson_1[i].id; }); if (astralVal.length === 0) { jsonData['Astral Testbed Id'] = ''; jsonData['Astral Site'] = ''; jsonData['Label'] = ''; jsonData['UET'] = ''; jsonData['Pollu'] = ''; jsonData['Number of Places'] = ''; jsonData['Application '] = ''; } else { jsonData['Astral Testbed Id'] = astralVal[0].astralTestbedId; jsonData['Astral Site'] = astralVal[0].site; jsonData['Label'] = astralVal[0].label; jsonData['UET'] = astralVal[0].uet; jsonData['Pollu'] = astralVal[0].pollu; jsonData['Number of Places'] = astralVal[0].placesNb; jsonData['Application '] = astralVal[0].application; } var gpsVal = generatedGpsJson.filter(function (res) { return res.testbedId === generatedJson_1[i].id; }); if (gpsVal.length === 0) { jsonData['Testbed type'] = ''; jsonData['Testbed complement'] = ''; jsonData['Identifier'] = ''; jsonData['Is pool'] = ''; jsonData['Default pool'] = ''; jsonData['External resource'] = ''; jsonData['Sector'] = ''; jsonData['GPS Update date'] = ''; } else { jsonData['Testbed type'] = gpsVal[0].testbedComplementAssociation ? gpsVal[0].testbedComplementAssociation.testbedtype.label : ''; jsonData['Testbed complement'] = gpsVal[0].testbedComplementAssociation ? gpsVal[0].testbedComplementAssociation.testbedcomplement.label : ''; jsonData['Identifier'] = gpsVal[0].identifier; jsonData['Is pool'] = gpsVal[0].isPool; jsonData['Default pool'] = gpsVal[0].defaultPool; jsonData['External resource'] = gpsVal[0].externalResource; jsonData['Sector'] = gpsVal[0].sector ? gpsVal[0].sector.label : ''; jsonData['GPS Update date'] = gpsVal[0].updateDate; } resultData[i] = jsonData; jsonData = {}; }; var this_1 = this; for (var i = 0; i < generatedJson_1.length; i++) { _loop_1(i); } } else { this.fileName = 'Essai Banc'; var _loop_2 = function (i) { jsonData['Site'] = generatedJson_1[i].testbedGlobalInfo.siteId.label; jsonData['Moyen'] = generatedJson_1[i].testbedGlobalInfo.meanId.label; jsonData['Banc'] = generatedJson_1[i].label; jsonData['Processus'] = generatedJson_1[i].testbedGlobalInfo.process; jsonData['Perimetre'] = this_2.nullcheck(generatedJson_1[i].testbedGlobalInfo.perimeterId); jsonData['Batiment'] = generatedJson_1[i].testbedGlobalInfo.buildingId.label; jsonData['UET'] = generatedJson_1[i].testbedGlobalInfo.teamId.label; jsonData['Lot'] = this_2.nullcheck(generatedJson_1[i].testbedGlobalInfo.batch); jsonData['Fonctionnement'] = generatedJson_1[i].testbedGlobalInfo.functioning; jsonData['VSD (vendredi / samedi / Dimanche)'] = generatedJson_1[i].testbedGlobalInfo.vsd; jsonData['Service'] = generatedJson_1[i].testbedGlobalInfo.serviceId.label; jsonData['Nombre d\'\equipe'] = generatedJson_1[i].testbedGlobalInfo.teamNumber; jsonData['Exploitant'] = this_2.nullcheck(generatedJson_1[i].testbedGlobalInfo.exploitant); jsonData['S3M'] = generatedJson_1[i].testbedGlobalInfo.s3m; jsonData['Designation'] = generatedJson_1[i].testbedGlobalInfo.designation; jsonData['Domaine d expertise'] = generatedJson_1[i].testbedGlobalInfo.expertiseDomain; jsonData['Type de test'] = generatedJson_1[i].testbedGlobalInfo.testType; jsonData['Annee de creation'] = generatedJson_1[i].testbedGlobalInfo.year; jsonData['Parametre technique'] = generatedJson_1[i].testbedGlobalInfo.technicalParameter; jsonData['Generatrice/Frein'] = generatedJson_1[i].testbedTechnicalInfo.brake; jsonData['Type technique'] = generatedJson_1[i].testbedTechnicalInfo.technicalType; jsonData['Puissance(Kw)/couple(Nm)/regime(Tr/min)'] = generatedJson_1[i].testbedTechnicalInfo.power; jsonData['Demarrage par demarreur'] = generatedJson_1[i].testbedTechnicalInfo.starter; jsonData['Ligne Echappement Vehicule (non coude)'] = generatedJson_1[i].testbedTechnicalInfo.exhaust; jsonData['Signature vibratoire'] = generatedJson_1[i].testbedTechnicalInfo.vibratorySignature; jsonData['Distribution: Flex = Essence / diesel / Ethanol 100% / Methanol 20%'] = generatedJson_1[i].testbedTechnicalInfo.distribution; jsonData['systeme de pilotage informatique'] = generatedJson_1[i].testbedTechnicalInfo.itPiloting; jsonData['Cameo'] = generatedJson_1[i].testbedTechnicalInfo.cameo; jsonData['Option Loi de route(Full/Light/N)'] = generatedJson_1[i].testbedTechnicalInfo.roadLaw; jsonData['Options : Adap OnLine / Resp controller / Flex Sweep'] = generatedJson_1[i].testbedTechnicalInfo.respController; jsonData['Option embrayage rig clutch'] = generatedJson_1[i].testbedTechnicalInfo.clutch; jsonData['Free accel'] = generatedJson_1[i].testbedTechnicalInfo.freeAccel; jsonData['Option RTC (Real Time Controlers)'] = generatedJson_1[i].testbedTechnicalInfo.rtc; jsonData['Option CAN'] = generatedJson_1[i].testbedTechnicalInfo.can; jsonData['Condition de temperature cellule'] = generatedJson_1[i].testbedTechnicalInfo.cellTemperature; jsonData['Maceration rapide de …a … (pistolet azote, souflage)'] = generatedJson_1[i].testbedTechnicalInfo.maceration; jsonData['Air comburant(25°/40%)'] = generatedJson_1[i].testbedTechnicalInfo.combustiveAir; jsonData['Analyse des gaz amont cata 5 gaz (Nox froid)'] = generatedJson_1[i].testbedTechnicalInfo.upstreamCold; jsonData['Analyse des gaz amont cata 5 gaz + CH4 (Nox froid) + CO2 EGR'] = generatedJson_1[i].testbedTechnicalInfo.upstreamCH4Cold; jsonData['Analyse des gaz amont cata 5 gaz + CH4 + NO2( NOx chaud) +CO2 EGR'] = generatedJson_1[i].testbedTechnicalInfo.upstreamHot; jsonData['Analyse des gaz aval cata 5 gaz + CH4 (Nox froid) + CO2 EGR'] = generatedJson_1[i].testbedTechnicalInfo.downstreamCold; jsonData['Analyse des gaz aval cata 5 gaz + CH4 + NO2( NOx chaud) +CO2 EGR'] = generatedJson_1[i].testbedTechnicalInfo.downstreamHot; jsonData['Analyse des gaz dilues (CO+CO2+NOx+HC)'] = generatedJson_1[i].testbedTechnicalInfo.diluted; jsonData['Fumimetre AVL 415S'] = generatedJson_1[i].testbedTechnicalInfo.fumimeter; jsonData['Opacimetre AVL 439(masse particule)'] = generatedJson_1[i].testbedTechnicalInfo.opacimeter; jsonData['Tunnel + masse + sonde PN (particule number)'] = generatedJson_1[i].testbedTechnicalInfo.tunnel; jsonData['HLMS (mesure 9 piquage gaz) selecteur de ligne chauffee'] = generatedJson_1[i].testbedTechnicalInfo.hlms; jsonData['RS Reel_201X'] = generatedJson_1[i].testbedPerformance.realRS; jsonData['RO Reel_201X'] = generatedJson_1[i].testbedPerformance.realRO; jsonData['RS Cible'] = generatedJson_1[i].testbedPerformance.targetRS; jsonData['RS Eng'] = generatedJson_1[i].testbedPerformance.commitRS; jsonData['RO Cible'] = generatedJson_1[i].testbedPerformance.targetRO; jsonData['RO Eng'] = generatedJson_1[i].testbedPerformance.commitRO; jsonData['Tnc_Eng'] = generatedJson_1[i].testbedPerformance.commitTnc; jsonData['Tnc_cible'] = generatedJson_1[i].testbedPerformance.targetTnc; jsonData['Commit TUM'] = generatedJson_1[i].testbedPerformance.commitTum; jsonData['Target TUM'] = generatedJson_1[i].testbedPerformance.targetTum; jsonData['Capabilite horraire'] = generatedJson_1[i].testbedPerformance.capability; jsonData['Date De Creation'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson_1[i].creationDate).format('DD/MM/YYYY'); jsonData['Date De Maj'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson_1[i].updateDate).format('DD/MM/YYYY'); jsonData['Derniere Maj Par'] = generatedJson_1[i].ipn; if (generatedJson_1[i].organisation_reg_id[0] === 1) { jsonData['Organisation'] = 'DEATM'; } else if (generatedJson_1[i].organisation_reg_id[0] === 2) { jsonData['Organisation'] = 'DEATV'; } jsonData['Actif ?'] = generatedJson_1[i].active; var coswinVal = generatedCoswinJson.filter(function (res) { return res.testbedID.id === generatedJson_1[i].id; }); if (coswinVal.length === 0) { jsonData['Système'] = ''; jsonData['Coswin Externe'] = ''; jsonData['Famille'] = ''; jsonData['Code de l’équipement'] = ''; jsonData['Libellé de l’équipement'] = ''; jsonData['COSWIN Fonction'] = ''; jsonData['Zone'] = ''; jsonData['Responsible'] = ''; jsonData['Typologie'] = ''; jsonData['Temps de fonctionnement'] = ''; jsonData['Nombre de jours'] = ''; jsonData['Code d\'\entité'] = ''; } else { if (coswinVal[0].externalCoswin && coswinVal[0].externalCoswin.length > 0) { this_2.extCoswinLabel = this_2.getExternalCoswinLabel(coswinVal[0].externalCoswin); } jsonData['Système'] = coswinVal[0].system; jsonData['Coswin Externe'] = this_2.extCoswinLabel; jsonData['Famille'] = coswinVal[0].family; jsonData['Code de l’équipement'] = coswinVal[0].equipmentCode; jsonData['Libellé de l’équipement'] = coswinVal[0].equipmentLabel; jsonData['COSWIN Fonction'] = coswinVal[0].function; jsonData['Zone'] = coswinVal[0].area; jsonData['Responsible'] = coswinVal[0].responsible; jsonData['Typologie'] = coswinVal[0].typology; jsonData['Temps de fonctionnement'] = coswinVal[0].operatingTime; jsonData['Nombre de jours'] = coswinVal[0].daysNumber; jsonData['Code d\'\entité'] = coswinVal[0].entityCode; } var astralVal = generatedAstralJson.filter(function (res) { return res.testBedId === generatedJson_1[i].id; }); if (astralVal.length === 0) { jsonData['Astral Banc ID'] = ''; jsonData['Astral Site'] = ''; jsonData['Libelle'] = ''; jsonData['UET'] = ''; jsonData['Pollu'] = ''; jsonData['Nombre du places'] = ''; jsonData['Application '] = ''; } else { jsonData['Astral Banc ID'] = astralVal[0].astralTestbedId; jsonData['Astral Site'] = astralVal[0].site; jsonData['Libelle'] = astralVal[0].label; jsonData['UET'] = astralVal[0].uet; jsonData['Pollu'] = astralVal[0].pollu; jsonData['Nombre du places'] = astralVal[0].placesNb; jsonData['Application '] = astralVal[0].application; } var gpsVal = generatedGpsJson.filter(function (res) { return res.testbedId === generatedJson_1[i].id; }); if (gpsVal.length === 0) { jsonData['Type de banc'] = ''; jsonData['Complement de banc'] = ''; jsonData['Identifier'] = ''; jsonData['Is pool'] = ''; jsonData['Pool par défaut'] = ''; jsonData['Ressource externe'] = ''; jsonData['Secteur'] = ''; jsonData['GPS Date du MAJ'] = ''; } else { jsonData['Type de banc'] = gpsVal[0].testbedComplementAssociation ? gpsVal[0].testbedComplementAssociation.testbedtype.label : ''; jsonData['Complement de banc'] = gpsVal[0].testbedComplementAssociation ? gpsVal[0].testbedComplementAssociation.testbedcomplement.label : ''; jsonData['Identifier'] = gpsVal[0].identifier; jsonData['Is pool'] = gpsVal[0].isPool; jsonData['Pool par défaut'] = gpsVal[0].defaultPool; jsonData['Ressource externe'] = gpsVal[0].externalResource; jsonData['Secteur'] = gpsVal[0].sector ? gpsVal[0].sector.label : ''; jsonData['GPS Date du MAJ'] = gpsVal[0].updateDate; } resultData[i] = jsonData; jsonData = {}; }; var this_2 = this; for (var i = 0; i < generatedJson_1.length; i++) { _loop_2(i); } } } else if (this.commonServices.getCurrentTab() === 'StopDuration') { var generatedJson = this.commonServices.getStopDurationData(); if (browserLang === 'en') { this.fileName = 'Stop duration'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Stop duration'] = generatedJson[i].label; jsonData['Creation Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Update Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Last Update By'] = generatedJson[i].ipn; jsonData['Active ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else { this.fileName = 'Durée d\'\arrêt'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Durée d\'\arrêt'] = generatedJson[i].label; jsonData['Date De Creation'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Date De Maj'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Derniere Maj Par'] = generatedJson[i].ipn; jsonData['Actif ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } } else if (this.commonServices.getCurrentTab() === 'PrestationCompanies') { var generatedJson = this.commonServices.getPrestationCompaniesData(); if (browserLang === 'en') { this.fileName = 'Prestation Companies'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Prestation Companies'] = generatedJson[i].label; jsonData['Creation Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Update Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Last Update By'] = generatedJson[i].ipn; jsonData['Active ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else { this.fileName = 'Compagnies de Prestation'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Compagnies de Prestation'] = generatedJson[i].label; jsonData['Date De Creation'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Date De Maj'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Derniere Maj Par'] = generatedJson[i].ipn; jsonData['Actif ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } } else if (this.commonServices.getCurrentTab() === 'PreventiveMaintenance') { var generatedJson = this.commonServices.getPreventiveMaintenanceData(); if (browserLang === 'en') { this.fileName = 'Preventivemaintenances'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Preventive Maintenance'] = generatedJson[i].label; jsonData['Creation Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Update Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Last Updated By'] = generatedJson[i].ipn; jsonData['Active ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else { this.fileName = 'Maintenancepreventive'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Maintenance preventive'] = generatedJson[i].label; jsonData['Date De Creation '] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Date De Maj'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Derniere Maj Par'] = generatedJson[i].ipn; jsonData['Actif ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } } else if (this.commonServices.getCurrentTab() === 'Exploitants') { var generatedJson = this.commonServices.getExploitantData(); if (browserLang === 'en') { this.fileName = 'Exploitants'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Exploitants'] = generatedJson[i].label; jsonData['Creation Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Update Date'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Last Updated By'] = generatedJson[i].ipn; jsonData['Active ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else { this.fileName = 'Exploitants'; for (var i = 0; i < generatedJson.length; i++) { jsonData['Exploitants'] = generatedJson[i].label; jsonData['Date De Creation '] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData['Date De Maj'] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData['Derniere Maj Par'] = generatedJson[i].ipn; jsonData['Actif ?'] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } } else if (this.commonServices.getCurrentTab() === src_app_administration_testbedreferential_vhtechnicalparam_vhtechnicalparam_model__WEBPACK_IMPORTED_MODULE_13__["VhTechnicalParamEnum"].vhTechnicalParam) { var generatedJson = this.commonServices.VhTechnicalParamList; var headerLabels = void 0; if (browserLang === _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].english) { headerLabels = src_assets_i18n_en_json__WEBPACK_IMPORTED_MODULE_11___namespace; this.fileName = _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].vhTechnicalParam; } else { headerLabels = src_assets_i18n_fr_json__WEBPACK_IMPORTED_MODULE_12___namespace; this.fileName = _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportFrench"].vhTechnicalParam; } headerLabels = headerLabels.default; for (var i = 0; i < generatedJson.length; i++) { jsonData[headerLabels.Administration.TestBedReferential.VhTechnicalParam.VhTechnicalParamT] = generatedJson[i].label; jsonData[headerLabels.Administration.TestBedReferential.VhTechnicalParam.CreationDate] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format('DD/MM/YYYY'); jsonData[headerLabels.Administration.TestBedReferential.VhTechnicalParam.UpdateDate] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format('DD/MM/YYYY'); jsonData[headerLabels.Administration.TestBedReferential.VhTechnicalParam.LastUpdateBy] = generatedJson[i].ipn; jsonData[headerLabels.Administration.TestBedReferential.VhTechnicalParam.active] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else if (this.commonServices.getCurrentTab() === _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].Profiles) { var generatedJson = this.commonServices.getProfileData(); var headerLabels = void 0; if (browserLang === _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].english) { headerLabels = src_assets_i18n_en_json__WEBPACK_IMPORTED_MODULE_11___namespace; this.fileName = _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].Profiles; } else { headerLabels = src_assets_i18n_fr_json__WEBPACK_IMPORTED_MODULE_12___namespace; this.fileName = _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportFrench"].Profiles; } headerLabels = headerLabels.default; for (var i = 0; i < generatedJson.length; i++) { jsonData[headerLabels.Help.Profile.Profile] = generatedJson[i].profile; jsonData[headerLabels.Help.Profile.Type] = generatedJson[i].type; jsonData[headerLabels.Help.Profile.AssociatedActivities] = generatedJson[i].level0; jsonData[headerLabels.Help.Profile.CreationDate] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format(_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportConstant"].dateFormat); jsonData[headerLabels.Help.Profile.UpdateDate] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format(_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportConstant"].dateFormat); jsonData[headerLabels.Help.Profile.LastUpdateBy] = generatedJson[i].updateBy; jsonData[headerLabels.Help.Profile.Active] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else if (this.commonServices.getCurrentTab() === _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].stoppageType) { var generatedJson = this.commonServices.stoppageData; var headerLabels = void 0; if (browserLang === _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].english) { headerLabels = src_assets_i18n_en_json__WEBPACK_IMPORTED_MODULE_11___namespace; this.fileName = _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].stoppageTitle; } else { headerLabels = src_assets_i18n_fr_json__WEBPACK_IMPORTED_MODULE_12___namespace; this.fileName = _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportFrench"].stoppageTitle; } headerLabels = headerLabels.default; for (var i = 0; i < generatedJson.length; i++) { jsonData[headerLabels.Administration.LevelsReferential.StoppageType.stoppage_Type] = generatedJson[i].typeOfStoppage; jsonData[headerLabels.Administration.LevelsReferential.StoppageType.failure] = generatedJson[i].label; jsonData[headerLabels.Administration.LevelsReferential.StoppageType.CreationDate] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format(_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportConstant"].dateFormat); jsonData[headerLabels.Administration.LevelsReferential.StoppageType.UpdateDate] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format(_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportConstant"].dateFormat); jsonData[headerLabels.Administration.LevelsReferential.StoppageType.LastUpdateBy] = generatedJson[i].ipn; jsonData[headerLabels.Common_Buttons.Active] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else if (this.commonServices.getCurrentTab() === _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].fuel) { var generatedJson = this.commonServices.fuel; var headerLabels = void 0; if (browserLang === _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].english) { headerLabels = src_assets_i18n_en_json__WEBPACK_IMPORTED_MODULE_11___namespace; this.fileName = _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].fuel; } else { headerLabels = src_assets_i18n_fr_json__WEBPACK_IMPORTED_MODULE_12___namespace; this.fileName = _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportFrench"].fuel; } headerLabels = headerLabels.default; for (var i = 0; i < generatedJson.length; i++) { jsonData[headerLabels.Administration.Referential.Fuel.Title] = generatedJson[i].label; jsonData[headerLabels.Administration.Referential.Fuel.CreationDate] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format(_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportConstant"].dateFormat); jsonData[headerLabels.Administration.Referential.Fuel.UpdateDate] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format(_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportConstant"].dateFormat); jsonData[headerLabels.Administration.Referential.Fuel.LastUpdateBy] = generatedJson[i].ipn; jsonData[headerLabels.Administration.Referential.Fuel.active] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else if (this.commonServices.getCurrentTab() === _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].extCoswinTab) { var generatedJson = this.commonServices.externalCoswinData; var headerLabels = void 0; if (browserLang === _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].english) { headerLabels = src_assets_i18n_en_json__WEBPACK_IMPORTED_MODULE_11___namespace; this.fileName = _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].externalCoswin; } else { headerLabels = src_assets_i18n_fr_json__WEBPACK_IMPORTED_MODULE_12___namespace; this.fileName = _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportFrench"].externalCoswin; } headerLabels = headerLabels.default; for (var i = 0; i < generatedJson.length; i++) { jsonData[headerLabels.Administration.TestBedReferential.ExternalCoswin.Title] = generatedJson[i].label; jsonData[headerLabels.Administration.TestBedReferential.ExternalCoswin.CreationDate] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format(_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportConstant"].dateFormat); jsonData[headerLabels.Administration.TestBedReferential.ExternalCoswin.UpdateDate] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format(_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportConstant"].dateFormat); jsonData[headerLabels.Administration.TestBedReferential.ExternalCoswin.LastUpdateBy] = generatedJson[i].ipn; jsonData[headerLabels.Administration.TestBedReferential.ExternalCoswin.active] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else if (this.commonServices.getCurrentTab() === _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].testTypeTab) { var generatedJson = this.commonServices.testTypeData; var headerLabels = void 0; if (browserLang === _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].english) { headerLabels = src_assets_i18n_en_json__WEBPACK_IMPORTED_MODULE_11___namespace; this.fileName = _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].testType; } else { headerLabels = src_assets_i18n_fr_json__WEBPACK_IMPORTED_MODULE_12___namespace; this.fileName = _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportFrench"].testType; } headerLabels = headerLabels.default; for (var i = 0; i < generatedJson.length; i++) { jsonData[headerLabels.Administration.TestBedReferential.TestType.Title] = generatedJson[i].label; jsonData[headerLabels.Administration.TestBedReferential.TestType.CreationDate] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format(_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportConstant"].dateFormat); jsonData[headerLabels.Administration.TestBedReferential.TestType.UpdateDate] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format(_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportConstant"].dateFormat); jsonData[headerLabels.Administration.TestBedReferential.TestType.LastUpdateBy] = generatedJson[i].ipn; jsonData[headerLabels.Administration.TestBedReferential.TestType.active] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else if (this.commonServices.getCurrentTab() === _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].osVersionTab) { var generatedJson = this.commonServices.osVersion; var headerLabels = void 0; if (browserLang === _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].english) { headerLabels = src_assets_i18n_en_json__WEBPACK_IMPORTED_MODULE_11___namespace; this.fileName = _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].osVersion; } else { headerLabels = src_assets_i18n_fr_json__WEBPACK_IMPORTED_MODULE_12___namespace; this.fileName = _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportFrench"].osVersion; } headerLabels = headerLabels.default; for (var i = 0; i < generatedJson.length; i++) { jsonData[headerLabels.Administration.TestBedReferential.OsVersion.Title] = generatedJson[i].label; jsonData[headerLabels.Administration.TestBedReferential.OsVersion.CreationDate] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format(_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportConstant"].dateFormat); jsonData[headerLabels.Administration.TestBedReferential.OsVersion.UpdateDate] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format(_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportConstant"].dateFormat); jsonData[headerLabels.Administration.TestBedReferential.OsVersion.LastUpdateBy] = generatedJson[i].ipn; jsonData[headerLabels.Administration.TestBedReferential.OsVersion.active] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else if (this.commonServices.getCurrentTab() === _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].expDomainTab) { var generatedJson = this.commonServices.expertiseDomainData; var headerLabels = void 0; if (browserLang === _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].english) { headerLabels = src_assets_i18n_en_json__WEBPACK_IMPORTED_MODULE_11___namespace; this.fileName = _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].expDomain; } else { headerLabels = src_assets_i18n_fr_json__WEBPACK_IMPORTED_MODULE_12___namespace; this.fileName = _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportFrench"].expDomain; } headerLabels = headerLabels.default; for (var i = 0; i < generatedJson.length; i++) { jsonData[headerLabels.Administration.TestBedReferential.ExpertiseDomain.Title] = generatedJson[i].label; jsonData[headerLabels.Administration.TestBedReferential.ExpertiseDomain.CreationDate] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format(_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportConstant"].dateFormat); jsonData[headerLabels.Administration.TestBedReferential.ExpertiseDomain.UpdateDate] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format(_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportConstant"].dateFormat); jsonData[headerLabels.Administration.TestBedReferential.ExpertiseDomain.LastUpdateBy] = generatedJson[i].ipn; jsonData[headerLabels.Administration.TestBedReferential.ExpertiseDomain.active] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } else if (this.commonServices.getCurrentTab() === _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].interSystemTab) { var generatedJson = this.commonServices.interSystemUseList; var headerLabels = void 0; if (browserLang === _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].english) { headerLabels = src_assets_i18n_en_json__WEBPACK_IMPORTED_MODULE_11___namespace; this.fileName = _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportEng"].interSystem; } else { headerLabels = src_assets_i18n_fr_json__WEBPACK_IMPORTED_MODULE_12___namespace; this.fileName = _eport_model__WEBPACK_IMPORTED_MODULE_10__["exportFrench"].interSystem; } headerLabels = headerLabels.default; for (var i = 0; i < generatedJson.length; i++) { jsonData[headerLabels.Administration.TestBedReferential.Intersystem.Title] = generatedJson[i].label; jsonData[headerLabels.Administration.TestBedReferential.Intersystem.CreationDate] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].createDate).format(_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportConstant"].dateFormat); jsonData[headerLabels.Administration.TestBedReferential.Intersystem.UpdateDate] = moment__WEBPACK_IMPORTED_MODULE_5__(generatedJson[i].updateDate).format(_eport_model__WEBPACK_IMPORTED_MODULE_10__["exportConstant"].dateFormat); jsonData[headerLabels.Administration.TestBedReferential.Intersystem.LastUpdateBy] = generatedJson[i].ipn; jsonData[headerLabels.Administration.TestBedReferential.Intersystem.active] = generatedJson[i].active; resultData[i] = jsonData; jsonData = {}; } } var ws = xlsx__WEBPACK_IMPORTED_MODULE_4__["utils"].json_to_sheet(JSON.parse(JSON.stringify(resultData))); /* generate workbook and add the worksheet */ var wb = xlsx__WEBPACK_IMPORTED_MODULE_4__["utils"].book_new(); xlsx__WEBPACK_IMPORTED_MODULE_4__["utils"].book_append_sheet(wb, ws, 'Sheet1'); /* save to file */ xlsx__WEBPACK_IMPORTED_MODULE_4__["writeFile"](wb, this.fileName + this.commonServices.getFormattedTime() + '.xlsx'); }; ExportComponent.prototype.nullcheck = function (id) { if (id === null) { return null; } else { return id.label; } }; ExportComponent.prototype.getExternalCoswinList = function () { var _this = this; this.externalCoswinService.getAllExternalCoswin().subscribe(function (result) { _this.externalCoswinData = result; }); }; ExportComponent.prototype.getExternalCoswinLabel = function (extCoswinData) { var _this = this; var tempArray = []; extCoswinData.forEach(function (res) { tempArray.push(_this.externalCoswinData.filter(function (filterData) { return filterData.id === res; })[0].label); }); return tempArray.toString(); }; ExportComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'export', template: __webpack_require__(/*! ./export.component.html */ "./src/app/common/export/export.component.html"), styles: [__webpack_require__(/*! ./export.component.css */ "./src/app/common/export/export.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_common_services__WEBPACK_IMPORTED_MODULE_2__["CommonServices"], src_app_administration_referentiel_means_means_service__WEBPACK_IMPORTED_MODULE_3__["MeansService"], _import_import_services__WEBPACK_IMPORTED_MODULE_6__["ImportService"], src_app_administration_levelreferential_levelsadmin_levelsadmin_service__WEBPACK_IMPORTED_MODULE_7__["LevelsAdminService"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__["TranslateService"], src_app_administration_testbedreferential_sector_sector_service__WEBPACK_IMPORTED_MODULE_9__["SectorService"], src_app_administration_testbedreferential_external_coswin_external_coswin_service__WEBPACK_IMPORTED_MODULE_14__["ExternalCoswinService"]]) ], ExportComponent); return ExportComponent; }()); /***/ }), /***/ "./src/app/common/header/header.component.css": /*!****************************************************!*\ !*** ./src/app/common/header/header.component.css ***! \****************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2NvbW1vbi9oZWFkZXIvaGVhZGVyLmNvbXBvbmVudC5jc3MifQ== */" /***/ }), /***/ "./src/app/common/header/header.component.html": /*!*****************************************************!*\ !*** ./src/app/common/header/header.component.html ***! \*****************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
" /***/ }), /***/ "./src/app/common/header/header.component.ts": /*!***************************************************!*\ !*** ./src/app/common/header/header.component.ts ***! \***************************************************/ /*! exports provided: HeaderComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HeaderComponent", function() { return HeaderComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); var HeaderComponent = /** @class */ (function () { function HeaderComponent() { } HeaderComponent.prototype.ngOnInit = function () { }; HeaderComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'app-header', template: __webpack_require__(/*! ./header.component.html */ "./src/app/common/header/header.component.html"), styles: [__webpack_require__(/*! ./header.component.css */ "./src/app/common/header/header.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", []) ], HeaderComponent); return HeaderComponent; }()); /***/ }), /***/ "./src/app/common/help/help.model.ts": /*!*******************************************!*\ !*** ./src/app/common/help/help.model.ts ***! \*******************************************/ /*! exports provided: Help, Directory, HelpModal, distributionList */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Help", function() { return Help; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Directory", function() { return Directory; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HelpModal", function() { return HelpModal; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "distributionList", function() { return distributionList; }); var Help = /** @class */ (function () { function Help() { } return Help; }()); var Directory = /** @class */ (function () { function Directory() { } return Directory; }()); var HelpModal; (function (HelpModal) { HelpModal["pdf"] = ".pdf"; HelpModal["docx"] = ".docx"; })(HelpModal || (HelpModal = {})); var distributionList; (function (distributionList) { distributionList["fname"] = "fname"; distributionList["lname"] = "lname"; distributionList["directoryIpn"] = "directoryIpn"; distributionList["dailyMailFlag"] = "dailyMailFlag"; })(distributionList || (distributionList = {})); /***/ }), /***/ "./src/app/common/help/help.service.ts": /*!*********************************************!*\ !*** ./src/app/common/help/help.service.ts ***! \*********************************************/ /*! exports provided: HelpService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HelpService", function() { return HelpService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); /* harmony import */ var _help_model__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./help.model */ "./src/app/common/help/help.model.ts"); var HelpService = /** @class */ (function () { function HelpService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiURL; } HelpService.prototype.putMultiPartUpload = function (formdata) { /* const formdata: FormData = new FormData(); formdata.append('file', fileToUpload); const headers: any = new Headers(); headers.append('Content-Type', 'multipart/form-data'); , headers: new HttpHeaders().set('Content-Type', 'multipart/form-data')*/ var headers = new _angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpHeaders"](); headers.append('Content-Type', 'multipart/form-data'); headers.append('Accept', 'application/json'); return this.httpClient.post(this.apiURL + '/fileUpload', formdata, { observe: 'response', headers: headers }); }; HelpService.prototype.getFilesList = function () { return this.httpClient.get(this.apiURL + '/getFilesList').pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; HelpService.prototype.getHelpList = function (help) { return this.httpClient.get(this.apiURL + '/getHelpList').pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); // return this.httpClient.post(this.apiURL + '/getHelpList', help).pipe(map(res => res)); }; HelpService.prototype.getLanguageList = function () { return this.httpClient.get(this.apiURL + '/getLanguageList').pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; HelpService.prototype.saveHelp = function (help) { return this.httpClient.post(this.apiURL + '/saveHelp', help, { observe: 'response' }); }; HelpService.prototype.getDuplicateHelpCheck = function (help) { return this.httpClient.post(this.apiURL + '/getDuplicateHelpCheck', help, { observe: 'response' }); }; HelpService.prototype.getDirectoryList = function (directory) { return this.httpClient.post(this.apiURL + '/getDirectoryList', directory).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; HelpService.prototype.deleteDirectoryData = function (id) { console.log('delete', id); return this.httpClient.delete(this.apiURL + '/deleteDirectoryData/' + id); }; HelpService.prototype.setDirectories = function (directories) { this.directories = directories; }; HelpService.prototype.getDirectories = function () { return this.directories; }; HelpService.prototype.setProfiles = function (profiles) { this.profiles = profiles; }; HelpService.prototype.getProfiles = function () { return this.profiles; }; HelpService.prototype.setDirectory = function (gridDirectory) { this.directory = gridDirectory; }; HelpService.prototype.getDirectory = function () { return this.directory; }; HelpService.prototype.getUpdateDirectory = function () { return this.directory; }; HelpService.prototype.refreshGrid = function (directory) { var _this = this; this.getDirectoryList(directory).subscribe(function (result) { _this.gridOptions.api.setRowData(result); }); }; HelpService.prototype.updateDirectoryList = function (directory) { return this.httpClient.put(this.apiURL + '/updateDirectoryList', directory, { observe: 'response' }); }; HelpService.prototype.getDirectoryDetails = function (zid) { console.log('here'); return this.httpClient.post(this.apiURL + '/getDirectoryData', zid).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; HelpService.prototype.getDirectoryDetailsByFirstName = function (fname) { console.log('here getDirectoryDetailsByFirstName ' + fname); return this.httpClient.post(this.apiURL + '/getDirectoryDataByFname', fname).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; HelpService.prototype.getDirectoryDetailsByLastName = function (lname) { console.log('here getDirectoryDetailsByLastName ' + lname); return this.httpClient.post(this.apiURL + '/getDirectoryDataByLname', lname).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; HelpService.prototype.saveDirectoryList = function (directory) { return this.httpClient.post(this.apiURL + '/saveDirectoryList', directory, { observe: 'response' }); }; HelpService.prototype.getRolesData = function (zid) { var directory = new _help_model__WEBPACK_IMPORTED_MODULE_5__["Directory"](); directory.ipn = zid; return this.httpClient.post(this.apiURL + '/getRolesData', directory).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; HelpService.prototype.getDirectoryComment = function (zid) { var directory = new _help_model__WEBPACK_IMPORTED_MODULE_5__["Directory"](); directory.ipn = zid; return this.httpClient.post(this.apiURL + '/getDirectoryComment', directory).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; HelpService.prototype.setLevel0Id = function (value) { this.level0Id = value; }; HelpService.prototype.getLevel0Id = function () { return this.level0Id; }; HelpService.prototype.setSelectedLevel0 = function (value) { this.level0Name = value; }; HelpService.prototype.getSelectedLevel0 = function () { return this.level0Name; }; HelpService.prototype.downloadHelpFile = function (fileName) { return this.httpClient.get(this.apiURL + '/getObject?objectKey=' + fileName, { responseType: 'blob' }) .subscribe(function (blob) { if (navigator.msSaveBlob) { navigator.msSaveBlob(blob, fileName); } else { var link = document.createElement('a'); if (link.download !== undefined) { var blobUrl = URL.createObjectURL(blob); link.setAttribute('href', blobUrl); link.setAttribute('download', fileName); link.style.visibility = 'hidden'; document.body.appendChild(link); link.click(); document.body.removeChild(link); } } }); }; HelpService.prototype.previewFile = function (fileName) { return this.httpClient.get(this.apiURL + '/getObject?objectKey=' + fileName, { responseType: 'blob' }); }; HelpService.prototype.deleteFile = function (fileName) { return this.httpClient.delete(this.apiURL + '/removeObject?objectKey=' + fileName); }; HelpService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClient"]]) ], HelpService); return HelpService; }()); /***/ }), /***/ "./src/app/common/help/preferences/preferences.service.ts": /*!****************************************************************!*\ !*** ./src/app/common/help/preferences/preferences.service.ts ***! \****************************************************************/ /*! exports provided: PreferencesService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PreferencesService", function() { return PreferencesService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); var PreferencesService = /** @class */ (function () { function PreferencesService(http) { this.http = http; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].apiURL; } PreferencesService.prototype.updatePreferences = function (user) { return this.http.put(this.apiURL + '/updatePreferences', user, { observe: 'response' }); }; PreferencesService.prototype.setUserPreferences = function (user) { this.user = user; }; PreferencesService.prototype.getUserPreferences = function () { return this.user; }; PreferencesService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]]) ], PreferencesService); return PreferencesService; }()); /***/ }), /***/ "./src/app/common/home/home.component.css": /*!************************************************!*\ !*** ./src/app/common/home/home.component.css ***! \************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2NvbW1vbi9ob21lL2hvbWUuY29tcG9uZW50LmNzcyJ9 */" /***/ }), /***/ "./src/app/common/home/home.component.html": /*!*************************************************!*\ !*** ./src/app/common/home/home.component.html ***! \*************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "\n
\n \n
\n
\n
\n Errormessage.app_migration\n
\n
\n

Errormessage.app_migration_url

\n

Errormessage.app_access_tpm

\n {{gcpRedirectionEnvUrl}}\n
\n
\n
\n \n\n
" /***/ }), /***/ "./src/app/common/home/home.component.ts": /*!***********************************************!*\ !*** ./src/app/common/home/home.component.ts ***! \***********************************************/ /*! exports provided: HomeComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HomeComponent", function() { return HomeComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _piwik_piwik_config_resolver__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../piwik/piwik.config.resolver */ "./src/app/common/piwik/piwik.config.resolver.ts"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _angular_material__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/material */ "./node_modules/@angular/material/esm5/material.es5.js"); /* harmony import */ var _testbed_extract_testbed_extract_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../testbed-extract/testbed-extract.component */ "./src/app/common/testbed-extract/testbed-extract.component.ts"); /* harmony import */ var _spot_fire_spot_fire_tv_spot_fire_tv_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../spot-fire/spot-fire-tv/spot-fire-tv.component */ "./src/app/common/spot-fire/spot-fire-tv/spot-fire-tv.component.ts"); /* harmony import */ var _spot_fire_spot_fire_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../spot-fire/spot-fire.component */ "./src/app/common/spot-fire/spot-fire.component.ts"); /* harmony import */ var _star_rating_star_rating_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../star-rating/star-rating.component */ "./src/app/common/star-rating/star-rating.component.ts"); /* harmony import */ var _star_rating_star_rating_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../star-rating/star-rating.service */ "./src/app/common/star-rating/star-rating.service.ts"); /* harmony import */ var _star_rating_star_rating_model__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../star-rating/star-rating.model */ "./src/app/common/star-rating/star-rating.model.ts"); /* harmony import */ var src_app_common_i18n_i18n_lang_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! src/app/common/i18n/i18n-lang.service */ "./src/app/common/i18n/i18n-lang.service.ts"); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/fesm5/ngx-translate-core.js"); var HomeComponent = /** @class */ (function () { function HomeComponent(piwikConfigResolver, dialog, starRatingService, langService, translate) { this.piwikConfigResolver = piwikConfigResolver; this.dialog = dialog; this.starRatingService = starRatingService; this.langService = langService; this.translate = translate; } HomeComponent.prototype.ngOnInit = function () { var envName = sessionStorage.getItem('envName'); console.log(envName, 'envName'); this.getUrlBasedonEnv(envName); if (envName === 'QUA' || envName === 'RE7' || envName === 'OPE') { this.piwikInit(envName); } var orgId = sessionStorage.getItem('organisationIDs'); if (orgId.includes("1")) { this.spotFirebtnTmEnable = true; } if (orgId.includes("2")) { this.spotFirebtnTvEnable = true; } }; HomeComponent.prototype.getUrlBasedonEnv = function (envName) { //envName = 'STA'; console.log(envName, 'envName'); if (envName === 'DEV') { this.gcpRedirectionEnvUrl = 'https://tp2-dev.gke2.dev.gcp.renault.com'; } else if (envName === 'QUA') { this.gcpRedirectionEnvUrl = 'https://tp2-qua.gke2.dev.gcp.renault.com'; } else if (envName === 'RE7') { this.gcpRedirectionEnvUrl = 'https://tp2-re7.gke2.int.gcp.renault.com'; } else if (envName === 'OPE') { this.gcpRedirectionEnvUrl = 'https://tp2-ope.gke2.ope.gcp.renault.com'; } else if (envName === 'STA') { this.gcpRedirectionEnvUrl = 'https://tp2-sta.gke2.dev.gcp.renault.com'; } else { console.log('test1'); this.gcpRedirectionEnvUrl = 'https://int.tp2.dev.aws.renault.com/'; } }; HomeComponent.prototype.ngAfterViewInit = function () { //this.checkStarRating() // this.feedback(); }; HomeComponent.prototype.piwikInit = function (envName, documentTitle) { this.piwikConfigResolver.resolve(envName).subscribe(function (config) { var paq = window['_paq']; paq.push(['setTrackerUrl', config.url + src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].piwikPhpFile]); paq.push(['setSiteId', config.siteid]); paq.push(['setUserId', sessionStorage.getItem('uid') ? sessionStorage.getItem('uid') : 'TPMADMIN']); paq.push(['setCustomVariable', 1, 'ZID', sessionStorage.getItem('uid') ? sessionStorage.getItem('uid') : 'TPMADMIN', 'visit']); paq.push(['trackPageView']); paq.push(['enableLinkTracking']); if (documentTitle) { paq.push(['setDocumentTitle', documentTitle]); } var d = document; var g = d.createElement('script'); var s = d.getElementsByTagName('script')[0]; g.type = 'text/javascript'; g.async = true; g.defer = true; g.src = config.url + src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].piwikJsFile; s.parentNode.insertBefore(g, s); }); }; HomeComponent.prototype.onTestbedExtract = function () { if (this.dialog.openDialogs.length === 0) { var dialogRef = this.dialog.open(_testbed_extract_testbed_extract_component__WEBPACK_IMPORTED_MODULE_5__["TestbedExtractComponent"], { width: '500px', data: {} }); dialogRef.afterClosed().subscribe(function (result) { if (result) { } }); } }; HomeComponent.prototype.generateSpotFireReport = function (orgName) { var envName = sessionStorage.getItem('envName'); if (envName === 'QUA' || envName === 'RE7' || envName === 'OPE') { this.piwikInit(envName, "SpotFire-TM"); } if (this.dialog.openDialogs.length === 0) { var dialogRef = this.dialog.open(_spot_fire_spot_fire_component__WEBPACK_IMPORTED_MODULE_7__["SpotFireComponent"], { width: '2000px', data: {} }); dialogRef.afterClosed().subscribe(function (result) { if (result) { } }); } //For direct Spotfire link // const envName: string = sessionStorage.getItem(HomeStaticValues.envName); // if (envName === HomeStaticValues.RE7 || envName === HomeStaticValues.OPE) { // window.open(environment.spotFireProdUrl); // } else { // window.open(environment.spotFireQuaUrl); // } }; HomeComponent.prototype.generateSpotFireTVReport = function (orgName) { var envName = sessionStorage.getItem('envName'); if (envName === 'QUA' || envName === 'RE7' || envName === 'OPE') { this.piwikInit(envName, "SpotFire-TV"); } if (this.dialog.openDialogs.length === 0) { var dialogRef = this.dialog.open(_spot_fire_spot_fire_tv_spot_fire_tv_component__WEBPACK_IMPORTED_MODULE_6__["SpotFireTVComponent"], { width: '2000px', data: {} }); dialogRef.afterClosed().subscribe(function (result) { if (result) { } }); } }; HomeComponent.prototype.checkStarRating = function () { var _this = this; var starRatingModel = new _star_rating_star_rating_model__WEBPACK_IMPORTED_MODULE_10__["StarRatingModel"](); starRatingModel.ipn = sessionStorage.getItem('uid') ? sessionStorage.getItem('uid') : 'User'; this.starRatingService.checkStarRating(starRatingModel).subscribe(function (res) { if (res.length > 0) { } else { _this.feedback(); } }, function (error) { console.log("error----> " + error); _this.feedback(); }); }; HomeComponent.prototype.feedback = function () { if (this.dialog.openDialogs.length === 0) { var dialogRef = this.dialog.open(_star_rating_star_rating_component__WEBPACK_IMPORTED_MODULE_8__["StarRatingComponent"], { width: '500px', disableClose: true, data: {} }); dialogRef.afterClosed().subscribe(function (result) { if (result) { } }); } }; HomeComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'home', template: __webpack_require__(/*! ./home.component.html */ "./src/app/common/home/home.component.html"), styles: [__webpack_require__(/*! ./home.component.css */ "./src/app/common/home/home.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_piwik_piwik_config_resolver__WEBPACK_IMPORTED_MODULE_2__["PiwikConfigResolver"], _angular_material__WEBPACK_IMPORTED_MODULE_4__["MatDialog"], _star_rating_star_rating_service__WEBPACK_IMPORTED_MODULE_9__["StarRatingService"], src_app_common_i18n_i18n_lang_service__WEBPACK_IMPORTED_MODULE_11__["I18nLangService"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__["TranslateService"]]) ], HomeComponent); return HomeComponent; }()); /***/ }), /***/ "./src/app/common/home/homeStaticFields.ts": /*!*************************************************!*\ !*** ./src/app/common/home/homeStaticFields.ts ***! \*************************************************/ /*! exports provided: HomeStaticValues */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HomeStaticValues", function() { return HomeStaticValues; }); var HomeStaticValues; (function (HomeStaticValues) { HomeStaticValues["RE7"] = "RE7"; HomeStaticValues["OPE"] = "OPE"; HomeStaticValues["QUA"] = "QUA"; HomeStaticValues["envName"] = "envName"; })(HomeStaticValues || (HomeStaticValues = {})); /***/ }), /***/ "./src/app/common/i18n/i18n-lang.service.ts": /*!**************************************************!*\ !*** ./src/app/common/i18n/i18n-lang.service.ts ***! \**************************************************/ /*! exports provided: I18nLangService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "I18nLangService", function() { return I18nLangService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/fesm5/ngx-translate-core.js"); /* harmony import */ var rxjs_BehaviorSubject__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/BehaviorSubject */ "./node_modules/rxjs-compat/_esm5/BehaviorSubject.js"); var I18nLangService = /** @class */ (function () { function I18nLangService(translate) { this.translate = translate; this.subject = new rxjs_BehaviorSubject__WEBPACK_IMPORTED_MODULE_3__["BehaviorSubject"](''); translate.setDefaultLang('en'); this.setLanguage('en'); } I18nLangService.prototype.getLanguage = function () { return this.language; }; I18nLangService.prototype.setLanguage = function (lang) { this.language = lang; sessionStorage.setItem('language', lang); }; I18nLangService.prototype.instantChange = function (key) { return this.translate.instant(key); }; I18nLangService.prototype.changeLanguage = function (language) { this.setLanguage(language); this.translate.use(language); }; I18nLangService.prototype.sendMessage = function (message) { this.subject.next(message); }; I18nLangService.prototype.clearMessages = function () { this.subject.next(''); }; I18nLangService.prototype.getMessage = function () { return this.subject.asObservable(); }; I18nLangService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__["TranslateService"]]) ], I18nLangService); return I18nLangService; }()); /***/ }), /***/ "./src/app/common/i18n/i18n.module.ts": /*!********************************************!*\ !*** ./src/app/common/i18n/i18n.module.ts ***! \********************************************/ /*! exports provided: HttpLoaderFactory, I18nModule */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HttpLoaderFactory", function() { return HttpLoaderFactory; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "I18nModule", function() { return I18nModule; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/fesm5/ngx-translate-core.js"); /* harmony import */ var _ngx_translate_http_loader__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @ngx-translate/http-loader */ "./node_modules/@ngx-translate/http-loader/fesm5/ngx-translate-http-loader.js"); function HttpLoaderFactory(http) { return new _ngx_translate_http_loader__WEBPACK_IMPORTED_MODULE_4__["TranslateHttpLoader"](http, 'assets/i18n/', '.json'); } var I18nModule = /** @class */ (function () { function I18nModule() { } I18nModule = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_2__["NgModule"])({ imports: [ _angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClientModule"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_3__["TranslateModule"].forRoot({ loader: { provide: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_3__["TranslateLoader"], useFactory: HttpLoaderFactory, deps: [_angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"]] } }) ], exports: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_3__["TranslateModule"]] }) ], I18nModule); return I18nModule; }()); /***/ }), /***/ "./src/app/common/import/import.services.ts": /*!**************************************************!*\ !*** ./src/app/common/import/import.services.ts ***! \**************************************************/ /*! exports provided: ImportService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ImportService", function() { return ImportService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); var ImportService = /** @class */ (function () { function ImportService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].apiURL; } ImportService.prototype.importLevelsAdmin = function (levelsAdmin) { return this.httpClient.post(this.apiURL + '/importLevelsAdmin', levelsAdmin, { observe: 'response' }); }; ImportService.prototype.importBuilding = function (building) { return this.httpClient.post(this.apiURL + '/importBuilding', building, { observe: 'response' }); }; ImportService.prototype.importLevel1 = function (level1) { return this.httpClient.post(this.apiURL + '/importLevel1', level1, { observe: 'response' }); }; ImportService.prototype.importLevel2 = function (level2) { return this.httpClient.post(this.apiURL + '/importLevel2', level2, { observe: 'response' }); }; ImportService.prototype.importPrestation = function (prestation) { return this.httpClient.post(this.apiURL + '/importPrestation', prestation, { observe: 'response' }); }; ImportService.prototype.importProcedure = function (procedure) { return this.httpClient.post(this.apiURL + '/importProcedure', procedure, { observe: 'response' }); }; ImportService.prototype.importPrestationAdmin = function (prestationAdmin) { return this.httpClient.post(this.apiURL + '/importPrestationAdmin', prestationAdmin, { observe: 'response' }); }; ImportService.prototype.importMacroActivity = function (macro) { return this.httpClient.post(this.apiURL + '/importMacroActivity', macro, { observe: 'response' }); }; ImportService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]]) ], ImportService); return ImportService; }()); /***/ }), /***/ "./src/app/common/inner-page-loading/inner-page-loading.component.css": /*!****************************************************************************!*\ !*** ./src/app/common/inner-page-loading/inner-page-loading.component.css ***! \****************************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "/* Absolute Center Spinner */\n.loading {\n position: fixed;\n z-index: 999999999;\n height: 2em;\n width: 2em;\n overflow: visible;\n margin: auto;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n }\n.loader-wrapper{\n display: block;\n position: fixed;\n width: 100%;\n height: 100%;\n z-index: 1;\n overflow: visible;\n left: 0px;\n top: 0px;\n background-color: rgba(0,0,0,0.8);\n\t\t\n}\n.spinner {\n display: inline-block;\n width: 51.2px;\n height: 51.2px;\n position: relative;\n top: 45%;\n margin-top: -25.6px;\n line-height: 100%;\n left:45%;\n}\n.spinner .text {\n position: absolute;\n top: 100%;\n left: -5px;\n right: 0;\n margin-top: 1.6em;\n text-align: center;\n font-size: 25px;\n color: #ffc107;\n font-weight: bold;\n}\n.spinner .spinner-circle {\n position: absolute;\n background-color: transparent;\n border-radius: 50%;\n border-style: solid;\n border-color: #f26522 transparent #f26522 transparent;\n}\n.spinner .spinner-circle.spinner-circle-outer {\n width: 90px;\n height: 90px;\n border-width: 8.8px;\n top: -6.400000000000002px;\n left: -6.400000000000002px;\n /* opacity: 0.2;\n -ms-filter: alpha(opacity=50);\n filter: alpha(opacity=50); */\n animation: spinner-rotate-outer 2s 0s ease-in-out infinite;\n}\n.spinner .spinner-circle.spinner-circle-inner {\n width: 50px;\n height: 50px;\n border-width: 6.4px;\n top: 12.799999999999999px;\n left: 12.799999999999999px;\n opacity: 0.0;\n -ms-filter: alpha(opacity=70);\n filter: alpha(opacity=70);\n animation: spinner-rotate-inner 3s 0s linear infinite;\n}\n.spinner .spinner-circle.spinner-circle-single-1 {\n width: 60px;\n height: 60px;\n border-width: 4.6px;\n top: 10.2px;\n left: 12.2px;\n opacity: 0.9;\n -ms-filter: alpha(opacity=30);\n filter: alpha(opacity=30);\n animation: spinner-rotate-single-1 5s 0s ease-in-out infinite;\n border-color: transparent transparent transparent #ffc107;\n box-shadow: 2px 0 2px #ffc107;\n}\n.spinner .spinner-circle.spinner-circle-single-2 {\n width: 0;\n height: 0;\n border-width: 25.6px;\n top: 6.399999999999999px;\n left: 6.399999999999999px;\n opacity: 0.0;\n -ms-filter: alpha(opacity=30);\n filter: alpha(opacity=30);\n animation: spinner-rotate-single-2 7s 0s ease-in-out infinite;\n border-color: #ffc107 transparent transparent transparent;\n box-shadow: 0 -12px 4px #ffc107;\n}\n@keyframes spinner-rotate-outer {\n 0% {\n transform: rotateZ(0deg);\n }\n 100% {\n transform: rotateZ(360deg);\n }\n}\n@keyframes spinner-rotate-inner {\n 0% {\n transform: rotateZ(30deg);\n }\n 100% {\n transform: rotateZ(390deg);\n }\n}\n@keyframes spinner-rotate-single-1 {\n 0% {\n transform: rotateZ(56deg);\n }\n 20% {\n transform: rotateZ(-132deg);\n }\n 40% {\n transform: rotateZ(-250deg);\n }\n 60% {\n transform: rotateZ(40deg);\n }\n 70% {\n transform: rotateZ(-80deg);\n }\n 100% {\n transform: rotateZ(56deg);\n }\n}\n@keyframes spinner-rotate-single-2 {\n 0% {\n transform: rotateZ(-24deg);\n }\n 10% {\n transform: rotateZ(142deg);\n }\n 20% {\n transform: rotateZ(-87deg);\n }\n 30% {\n transform: rotateZ(-345deg);\n }\n 40% {\n transform: rotateZ(86deg);\n }\n 50% {\n transform: rotateZ(175deg);\n }\n 60% {\n transform: rotateZ(-245deg);\n }\n 70% {\n transform: rotateZ(4deg);\n }\n 80% {\n transform: rotateZ(-132deg);\n }\n 90% {\n transform: rotateZ(345deg);\n }\n 100% {\n transform: rotateZ(-24deg);\n }\n}\n\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tbW9uL2lubmVyLXBhZ2UtbG9hZGluZy9pbm5lci1wYWdlLWxvYWRpbmcuY29tcG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b3JtOiByb3RhdGVaKDM0NWRlZyk7XG4gICAgdHJhbnNmb3JtOiByb3RhdGVaKDM0NWRlZyk7XG4gIH1cbiAgMTAwJSB7XG4gICAgLXdlYmtpdC10cmFuc2Zvcm06IHJvdGF0ZVooLTI0ZGVnKTtcbiAgICAtbW96LXRyYW5zZm9ybTogcm90YXRlWigtMjRkZWcpO1xuICAgIC1vLXRyYW5zZm9ybTogcm90YXRlWigtMjRkZWcpO1xuICAgIC1tcy10cmFuc2Zvcm06IHJvdGF0ZVooLTI0ZGVnKTtcbiAgICB0cmFuc2Zvcm06IHJvdGF0ZVooLTI0ZGVnKTtcbiAgfVxufVxuIl19 */" /***/ }), /***/ "./src/app/common/inner-page-loading/inner-page-loading.component.html": /*!*****************************************************************************!*\ !*** ./src/app/common/inner-page-loading/inner-page-loading.component.html ***! \*****************************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "
\n\n
\n
\n
\n
\n
\n
\n
Loading
\n
" /***/ }), /***/ "./src/app/common/inner-page-loading/inner-page-loading.component.ts": /*!***************************************************************************!*\ !*** ./src/app/common/inner-page-loading/inner-page-loading.component.ts ***! \***************************************************************************/ /*! exports provided: InnerPageLoadingComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "InnerPageLoadingComponent", function() { return InnerPageLoadingComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); var InnerPageLoadingComponent = /** @class */ (function () { function InnerPageLoadingComponent() { } InnerPageLoadingComponent.prototype.ngOnInit = function () { }; InnerPageLoadingComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'inner-page-loading', template: __webpack_require__(/*! ./inner-page-loading.component.html */ "./src/app/common/inner-page-loading/inner-page-loading.component.html"), styles: [__webpack_require__(/*! ./inner-page-loading.component.css */ "./src/app/common/inner-page-loading/inner-page-loading.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", []) ], InnerPageLoadingComponent); return InnerPageLoadingComponent; }()); /***/ }), /***/ "./src/app/common/interceptor/http-cancel.service.ts": /*!***********************************************************!*\ !*** ./src/app/common/interceptor/http-cancel.service.ts ***! \***********************************************************/ /*! exports provided: HttpCancelService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HttpCancelService", function() { return HttpCancelService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm5/index.js"); var HttpCancelService = /** @class */ (function () { function HttpCancelService() { this.cancelPendingRequests$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__["Subject"](); } HttpCancelService.prototype.cancelPendingRequests = function () { this.cancelPendingRequests$.next(); }; HttpCancelService.prototype.onCancelPendingRequests = function () { return this.cancelPendingRequests$.asObservable(); }; HttpCancelService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", []) ], HttpCancelService); return HttpCancelService; }()); /***/ }), /***/ "./src/app/common/interceptor/httpconfig.interceptor.ts": /*!**************************************************************!*\ !*** ./src/app/common/interceptor/httpconfig.interceptor.ts ***! \**************************************************************/ /*! exports provided: HttpConfigInterceptor */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HttpConfigInterceptor", function() { return HttpConfigInterceptor; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm5/index.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); /* harmony import */ var _snackbar_snackbar_component_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../snackbar/snackbar.component.service */ "./src/app/common/snackbar/snackbar.component.service.ts"); /* harmony import */ var _spinner_loading_spinner_loading_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../spinner-loading/spinner-loading.service */ "./src/app/common/spinner-loading/spinner-loading.service.ts"); /* harmony import */ var _userIdleTimeOut_user_idle_time_out_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../userIdleTimeOut/user-idle-time-out.service */ "./src/app/common/userIdleTimeOut/user-idle-time-out.service.ts"); //import { OpenIdService } from 'src/app/auth/open-id.service'; var HttpConfigInterceptor = /** @class */ (function () { function HttpConfigInterceptor(snackbarService, spinnerLoadingService, userIdleTimeOutService) { this.snackbarService = snackbarService; this.spinnerLoadingService = spinnerLoadingService; this.userIdleTimeOutService = userIdleTimeOutService; this.spinnerLoadingService.sendMessage('show'); } HttpConfigInterceptor.prototype.intercept = function (request, next) { var _this = this; var sessionRoles = JSON.parse(sessionStorage.getItem('role')) || []; // To provide all Organisation Data visualisation access to admin users-both Deatm & Deatv if (request.body && sessionRoles.includes('tpm2-admin') && !sessionStorage.getItem('testbedExtract')) { console.log('http intercept if starts ..'); console.log(request.body); console.log(request.url); var urlFinder = request.url.split('api/')[1]; console.log(urlFinder); console.log('http intercept if ends ..'); if (urlFinder != undefined && (urlFinder.startsWith('get') || urlFinder.startsWith('check')) && (!urlFinder.startsWith('getDirectoryData'))) { request.body.organisationId = (request.body.organisationId !== undefined) ? [1, 2] : undefined; request.body.organisation_reg_id = (request.body.organisation_reg_id !== undefined) ? [1, 2] : undefined; request.body.orgId = (request.body.orgId !== undefined) ? [1, 2] : undefined; } } this.spinnerLoadingService.sendMessage('show'); var token = sessionStorage.getItem('access_token'); // for userIdle check ---- start var restTimerCheck = sessionStorage.getItem('restTimerCheck'); if (restTimerCheck && restTimerCheck === 'true') { sessionStorage.setItem('userIdelchk', 'true'); // this.userIdleTimeOutService.stop(); } // for userIdle check ---- End if (token) { if (request.url.indexOf("token") !== -1) { console.log('request.url--->>>' + request.url); } else { console.log('...inside if if else token.......'); request = request.clone({ headers: request.headers.set('Authorization', 'Bearer ' + token) }); } } if (!request.headers.has('Content-Type')) { request = request.clone({ headers: request.headers.set('Content-Type', 'application/json') }); } request = request.clone({ headers: request.headers.set('Accept', 'application/json') }); return next.handle(request).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (event) { if (event instanceof _angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpResponse"]) { _this.spinnerLoadingService.sendMessage('hide'); // console.log('event--->>>', event); } return event; }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["catchError"])(function (error) { // TODO: Delete --- start var data = {}; var errorStatus = error.status; data = { reason: error && error.error.reason ? error.error.reason : '', status: errorStatus }; // TODO: Delete --- end _this.spinnerLoadingService.sendMessage('hide'); if (errorStatus === 401) { _this.snackbarService.showSnackBar('Errormessage.api_Unauthorize_Msg', 'F'); // this.openIdService.initOpenIdAuthent(); } else { _this.snackbarService.showSnackBar('Errormessage.db_common_Error_Msg', 'F'); } return Object(rxjs__WEBPACK_IMPORTED_MODULE_3__["throwError"])(error); })); }; HttpConfigInterceptor = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])(), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_snackbar_snackbar_component_service__WEBPACK_IMPORTED_MODULE_5__["SnackBarService"], _spinner_loading_spinner_loading_service__WEBPACK_IMPORTED_MODULE_6__["SpinnerLoadingService"], _userIdleTimeOut_user_idle_time_out_service__WEBPACK_IMPORTED_MODULE_7__["UserIdleTimeOutService"]]) ], HttpConfigInterceptor); return HttpConfigInterceptor; }()); /***/ }), /***/ "./src/app/common/language/language.component.css": /*!********************************************************!*\ !*** ./src/app/common/language/language.component.css ***! \********************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = ".language ul li {\n list-style: none;\n display: inline-block;\n vertical-align: middle;\n}\n\n.language ul li a img {\n width: 40px;\n height: 40px;\n margin: 5px 5px;\n}\n\n.language ul {\n padding: 5px;\n /* padding: 3px; */\n margin: 0px;\n}\n\n.clip-svg {\n width: 0;\n height: 0;\n position: absolute;\n}\n\n@media only screen and (min-width: 800px) {\n .polygon-each img {\n display: block;\n margin-left: auto;\n margin-right: auto;\n }\n}\n\n.language.mar-top-20 {\n /* background: #f5deb3; */\n /* margin-top: 20px; */\n}\n\n.language.mar-top-20 button {\n background: none;\n border: none;\n vertical-align: middle;\n padding: 5px;\n /* height: 40px; */\n}\n\n.language.mar-top-20 button.active {\n background: linear-gradient(to right, #c3002f, #fc3);\n border: 1px solid #fff;\n}\n\n.languageImg {\n width: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aGVpZ2h0OiA0MHB4O1xuICBtYXJnaW46IDVweCA1cHg7XG59XG5cbi5sYW5ndWFnZSB1bCB7XG4gIHBhZGRpbmc6IDVweDtcbiAgLyogcGFkZGluZzogM3B4OyAqL1xuICBtYXJnaW46IDBweDtcbn1cblxuLmNsaXAtc3ZnIHtcbiAgd2lkdGg6IDA7XG4gIGhlaWdodDogMDtcbiAgcG9zaXRpb246IGFic29sdXRlO1xufVxuXG5AbWVkaWEgb25seSBzY3JlZW4gYW5kIChtaW4td2lkdGg6IDgwMHB4KSB7XG4gIC5wb2x5Z29uLWVhY2ggaW1nIHtcbiAgICBkaXNwbGF5OiBibG9jaztcbiAgICBtYXJnaW4tbGVmdDogYXV0bztcbiAgICBtYXJnaW4tcmlnaHQ6IGF1dG87XG4gIH1cbn1cblxuLmxhbmd1YWdlLm1hci10b3AtMjAge1xuICAvKiBiYWNrZ3JvdW5kOiAjZjVkZWIzOyAqL1xuICAvKiBtYXJnaW4tdG9wOiAyMHB4OyAqL1xufVxuXG4ubGFuZ3VhZ2UubWFyLXRvcC0yMCBidXR0b24ge1xuICBiYWNrZ3JvdW5kOiBub25lO1xuICBib3JkZXI6IG5vbmU7XG4gIHZlcnRpY2FsLWFsaWduOiBtaWRkbGU7XG4gIHBhZGRpbmc6IDVweDtcbiAgLyogaGVpZ2h0OiA0MHB4OyAqL1xufVxuLmxhbmd1YWdlLm1hci10b3AtMjAgYnV0dG9uLmFjdGl2ZSB7XG4gIGJhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCh0byByaWdodCwgI2MzMDAyZiwgI2ZjMyk7XG4gIGJvcmRlcjogMXB4IHNvbGlkICNmZmY7XG59XG5cbi5sYW5ndWFnZUltZyB7XG4gIHdpZHRoOiAyNXB4O1xuICBoZWlnaHQ6IDI1cHg7XG4gIGJvcmRlci1yYWRpdXM6IDUwJTtcbn1cblxuIl19 */" /***/ }), /***/ "./src/app/common/language/language.component.html": /*!*********************************************************!*\ !*** ./src/app/common/language/language.component.html ***! \*********************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "\n\n\n
\n
    \n \n \n \n \n \n
  • \n
  • \n \n \n \n \n
\n \n \n
\n \n" /***/ }), /***/ "./src/app/common/language/language.component.ts": /*!*******************************************************!*\ !*** ./src/app/common/language/language.component.ts ***! \*******************************************************/ /*! exports provided: LanguageComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LanguageComponent", function() { return LanguageComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/fesm5/ngx-translate-core.js"); /* harmony import */ var _i18n_i18n_lang_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../i18n/i18n-lang.service */ "./src/app/common/i18n/i18n-lang.service.ts"); /* harmony import */ var _common_services__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../common.services */ "./src/app/common/common.services.ts"); /* harmony import */ var _help_preferences_preferences_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../help/preferences/preferences.service */ "./src/app/common/help/preferences/preferences.service.ts"); /* harmony import */ var _agreement_popup_users_model__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../agreement-popup/users-model */ "./src/app/common/agreement-popup/users-model.ts"); var LanguageComponent = /** @class */ (function () { function LanguageComponent(translate, i18nservice, commonService, preferenceService) { this.translate = translate; this.i18nservice = i18nservice; this.commonService = commonService; this.preferenceService = preferenceService; // this.browserLang = translate.getBrowserLang(); var browserCurrLang = translate.getBrowserLang(); this.browserLang = browserCurrLang.match(/en|fr|ru/) ? browserCurrLang : 'en'; this.translate.setDefaultLang(this.browserLang); this.commonService.setLanguage(this.browserLang); } LanguageComponent.prototype.ngOnInit = function () { $('[data-toggle="tooltip"]').tooltip(); this.preferredLanguage(); }; LanguageComponent.prototype.changeLanguage = function (lang) { console.log('current language' + lang); this.translate.use(lang); this.browserLang = lang; // TODO: delete only for local this.i18nservice.sendMessage(lang); this.commonService.setLanguage(lang); }; LanguageComponent.prototype.preferredLanguage = function () { var user = new _agreement_popup_users_model__WEBPACK_IMPORTED_MODULE_6__["UsersModel"](); user = this.preferenceService.getUserPreferences(); if (user !== undefined && user.language !== this.browserLang) { if (user.language === 'fr') { var french = this.frenchBtn.nativeElement; french.click(); } else if (user.language === 'en') { var english = this.englishBtn.nativeElement; english.click(); } } }; tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewChild"])('frenchBtn'), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:type", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"]) ], LanguageComponent.prototype, "frenchBtn", void 0); tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewChild"])('englishBtn'), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:type", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"]) ], LanguageComponent.prototype, "englishBtn", void 0); tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewChild"])('russianBtn'), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:type", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"]) ], LanguageComponent.prototype, "russianBtn", void 0); LanguageComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'app-language', template: __webpack_require__(/*! ./language.component.html */ "./src/app/common/language/language.component.html"), styles: [__webpack_require__(/*! ./language.component.css */ "./src/app/common/language/language.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__["TranslateService"], _i18n_i18n_lang_service__WEBPACK_IMPORTED_MODULE_3__["I18nLangService"], _common_services__WEBPACK_IMPORTED_MODULE_4__["CommonServices"], _help_preferences_preferences_service__WEBPACK_IMPORTED_MODULE_5__["PreferencesService"]]) ], LanguageComponent); return LanguageComponent; }()); /***/ }), /***/ "./src/app/common/login/login.component.css": /*!**************************************************!*\ !*** ./src/app/common/login/login.component.css ***! \**************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2NvbW1vbi9sb2dpbi9sb2dpbi5jb21wb25lbnQuY3NzIn0= */" /***/ }), /***/ "./src/app/common/login/login.component.html": /*!***************************************************!*\ !*** ./src/app/common/login/login.component.html ***! \***************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "
\n
\n
\n\n\n\n
\n\n \n
\n

ARCA Identification

\n
\n
\n \n \n \n
\n
\n \n \n
\n\n\n
\n \n \n\n\n
\n\n
\n
\n\n
\n \n \n
\n
\n
    \n
  1. \n
  2. \n
  3. \n
\n
\n
\n \"First\n
\n
\n

This is Heaven

\n

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation

\n
\t\n
\n
\n
\n \"First\n
\n
\n

This is Heaven

\n

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation

\n
\t\n
\n
\n
\n \"First\n
\n
\n

This is Heaven

\n

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation

\n
\t\n
\n
\n
\t \n \n
\n
\n \n \n \n\n
\n\n \n \n \n
\n
" /***/ }), /***/ "./src/app/common/login/login.component.ts": /*!*************************************************!*\ !*** ./src/app/common/login/login.component.ts ***! \*************************************************/ /*! exports provided: LoginComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LoginComponent", function() { return LoginComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); var LoginComponent = /** @class */ (function () { function LoginComponent() { } LoginComponent.prototype.ngOnInit = function () { }; LoginComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'app-login', template: __webpack_require__(/*! ./login.component.html */ "./src/app/common/login/login.component.html"), styles: [__webpack_require__(/*! ./login.component.css */ "./src/app/common/login/login.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", []) ], LoginComponent); return LoginComponent; }()); /***/ }), /***/ "./src/app/common/logout/logout.component.css": /*!****************************************************!*\ !*** ./src/app/common/logout/logout.component.css ***! \****************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = ".menu {\n /* width: 100%; \n height: 42px;\n position: absolute;*/\n z-index: 21;\n /* right: 5%; \n top: 22px;*/\n /* background: #f5deb3; */\n line-height: 6px;\n /* margin-top: 6px; */\n}\n.menu span {\n\n/* margin-top: 9px;\nmargin-bottom: 9px;\n-webkit-user-select: none;\n-moz-user-select: none;\n-ms-user-select: none;\nuser-select: none;\n position: absolute;\ntop: 50%;\nleft: 50%; \nmargin-left: -15px;\nmargin-top: -1.5px; */\n}\n.menu span, .menu span::before, .menu span::after {\ndisplay:inline-block;\n\n width: 26px;\n\nheight: 3px;\n/* background-color: #000; */\noutline: 1px solid transparent;\ntransition-property: background-color, transform;\ntransition-duration: 0.3s;\n}\n.menu span::before {\n/* position: absolute; */\ncontent: \"\\f007\";\nfont-family:\"Font Awesome 5 Free\";\nfont-size: 20px;\nfont-weight: bold\n}\n.menu span::before {\n/* top: -5px; */\n width:20px\n}\n.menu span::after {\n/* top: 9px;*/\nwidth: 33px; \n\n}\n.menu.clicked span {\nbackground-color: transparent;\n}\n.menu.clicked span::before {\ntransform: translateY(9px) rotate(0deg); width: 33px;\n}\n.menu.clicked span::after {\ntransform: translateY(-9px) rotate(-45deg);\n}\n.menu.clicked span:before {\n content: \"\\f410\";\n font-family: \"Font Awesome 5 Free\";\n color: white;\n font-size: 25px;\n font-weight: bold;\n left: 80px;\n top: -15px;\n position: relative;}\n.menu:hover {\ncursor: pointer;\n}\n/* NAV\n========================================== */\n#nav {\nbackground: #211316;\nposition: fixed;\nz-index: 20;\ntop: 0;\nright: -15px;\nheight: 140px;\nmax-width: 230px;\nwidth: 100%;\npadding: 100px 40px 60px 0px;\ntransform: translateX(100%);\ntransition: transform 0.55s cubic-bezier(0.785, 0.135, 0.15, 0.86);\n}\n#nav.show {\ntransform: translateX(0px);\n}\n#nav.show ul.main li {\ntransform: translateX(0px);\nopacity: 1;\n}\n.menu.clicked {\nposition: fixed;\nz-index: 99;\nwidth: 5%;\nbackground: none;\ntop: 20px;\n}\n#nav.show ul.main li:nth-child(1) {\ntransition-delay: 0.15s;\n}\n#nav.show ul.main li:nth-child(2) {\ntransition-delay: 0.3s;\n}\n#nav.show ul.main li:nth-child(3) {\ntransition-delay: 0.45s;\n}\n#nav.show ul.main li:nth-child(4) {\ntransition-delay: 0.6s;\n}\n#nav.show ul.main li:nth-child(5) {\ntransition-delay: 0.75s;\n}\n#nav.show ul.main li:nth-child(6) {\ntransition-delay: 0.9s;\n}\n#nav.show ul.main li:nth-child(7) {\ntransition-delay: 1.05s;\n}\n#nav.show ul.main li:nth-child(8) {\ntransition-delay: 1.2s;\n}\n#nav.show ul.main li:nth-child(9) {\ntransition-delay: 1.35s;\n}\n#nav.show .about, #nav.show .social, #nav.show ul.sub {\ntransform: translateY(0px);\nopacity: 1;\ntransition-delay: .85s;\n}\n@media (min-width: 320px) {\n#nav {\n/* padding: 120px 30px 70px 20px; */\npadding-top: 30px;\n}\n}\n#nav ul.main {\nlist-style-type: none;\ntext-align: center;\n}\n#nav ul.main li {\ntransform: translateX(40px);\nopacity: 0;\ntransition: all 0.3s ease;\nfloat: none;\nlist-style-type: none; \ncolor: #fff;\nborder-bottom: 1px solid #ffc107 !important;\n}\n#nav ul.main li:last-of-type {\nmargin-bottom: 0px;\n}\n#nav ul.main li a {\ncolor: #ffc107 !important;\nfont-weight: bold;\ntext-decoration: none;\ntext-transform: uppercase;\nfont-size: 1rem;\ndisplay: block;\npadding: 10px 0;\ntransition: all 0.3s ease;\n\n}\n/* #nav ul.main li a span {\ncolor: #b7ac7f;\n}\n#nav ul.main li a:hover {\ncolor: #b7ac7f;\n} */\n#nav ul.sub {\nlist-style-type: none;\nmargin-top: 40px;\ntransform: translateY(30px);\nopacity: 0;\ntransition: all 0.4s ease;\n}\n#nav ul.sub li {\nmargin-bottom: 10px;\n}\n#nav ul.sub li:last-of-type {\nmargin-bottom: 0px;\n}\n#nav ul.sub li a {\ncolor: #ffffff;\nfont-family: \"Raleway\", sans-serif;\nletter-spacing: 1px;\nfont-size: 0.9rem;\ntext-decoration: none;\ntransition: all 0.3s ease;\n}\n#nav ul.sub li a:hover {\ncolor: #b7ac7f;\n}\na.logout-span {\n /* position: relative;\n top: 16px;\n right: 15%; */\n font-size: 17px;\n font-weight: bold;\n}\n#nav ul.main li:last-child {\n border-bottom: none !important;\n}\n.menu.clicked a.logout-span {\n display: none;\n}\n@media (max-width: 768px) {\n.menu.clicked span:before {left:-15px;}}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tbW9uL2xvZ291dC9sb2dvdXQuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtJQUNJOzt3QkFFb0I7SUFDcEIsV0FBVztJQUNYO2VBQ1c7SUFDWCx5QkFBeUI7SUFDekIsZ0JBQWdCO0lBQ2hCLHFCQUFxQjtBQUN6QjtBQUNBOztBQUVBOzs7Ozs7Ozs7O3FCQVVxQjtBQUNyQjtBQUNBO0FBQ0Esb0JBQW9COztJQUVoQixXQUFXOztBQUVmLFdBQVc7QUFDWCw0QkFBNEI7QUFDNUIsOEJBQThCO0FBSTlCLGdEQUFnRDtBQUloRCx5QkFBeUI7QUFDekI7QUFDQTtBQUNBLHdCQUF3QjtBQUN4QixnQkFBZ0I7QUFDaEIsaUNBQWlDO0FBQ2pDLGVBQWU7QUFDZjtBQUNBO0FBQ0E7QUFDQSxlQUFlO0NBQ2Q7QUFDRDtBQUNBO0FBQ0EsYUFBYTtBQUNiLFdBQVc7O0FBRVg7QUFDQTtBQUNBLDZCQUE2QjtBQUM3QjtBQUNBO0FBS0EsdUNBQXVDLEtBQUssV0FBVztBQUN2RDtBQUNBO0FBS0EsMENBQTBDO0FBQzFDO0FBQ0E7SUFDSSxnQkFBZ0I7SUFDaEIsa0NBQWtDO0lBQ2xDLFlBQVk7SUFDWixlQUFlO0lBQ2YsaUJBQWlCO0lBQ2pCLFVBQVU7SUFDVixVQUFVO0lBQ1Ysa0JBQWtCLENBQUM7QUFDdkI7QUFDQSxlQUFlO0FBQ2Y7QUFFQTs0Q0FDNEM7QUFFNUM7QUFDQSxtQkFBbUI7QUFDbkIsZUFBZTtBQUNmLFdBQV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YjdhYzdmO1xufVxuXG5hLmxvZ291dC1zcGFuIHtcbiAgICAvKiBwb3NpdGlvbjogcmVsYXRpdmU7XG4gICAgdG9wOiAxNnB4O1xuICAgIHJpZ2h0OiAxNSU7ICovXG4gICAgZm9udC1zaXplOiAxN3B4O1xuICAgIGZvbnQtd2VpZ2h0OiBib2xkO1xufVxuXG4jbmF2IHVsLm1haW4gbGk6bGFzdC1jaGlsZCB7XG4gICAgYm9yZGVyLWJvdHRvbTogbm9uZSAhaW1wb3J0YW50O1xufVxuXG4ubWVudS5jbGlja2VkIGEubG9nb3V0LXNwYW4ge1xuICAgIGRpc3BsYXk6IG5vbmU7XG59XG5cbkBtZWRpYSAobWF4LXdpZHRoOiA3NjhweCkge1xuLm1lbnUuY2xpY2tlZCBzcGFuOmJlZm9yZSB7bGVmdDotMTVweDt9fSJdfQ== */" /***/ }), /***/ "./src/app/common/logout/logout.component.html": /*!*****************************************************!*\ !*** ./src/app/common/logout/logout.component.html ***! \*****************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "\n" /***/ }), /***/ "./src/app/common/logout/logout.component.ts": /*!***************************************************!*\ !*** ./src/app/common/logout/logout.component.ts ***! \***************************************************/ /*! exports provided: LogoutComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LogoutComponent", function() { return LogoutComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var angular_oauth2_oidc__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! angular-oauth2-oidc */ "./node_modules/angular-oauth2-oidc/fesm2015/angular-oauth2-oidc.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _message_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../message.service */ "./src/app/common/message.service.ts"); /* harmony import */ var _angular_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/material */ "./node_modules/@angular/material/esm5/material.es5.js"); /* harmony import */ var _shared_confirmation_dialog_confirmation_dialog_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../shared/confirmation-dialog/confirmation-dialog.component */ "./src/app/common/shared/confirmation-dialog/confirmation-dialog.component.ts"); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/fesm5/ngx-translate-core.js"); /* harmony import */ var _common_services__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../common.services */ "./src/app/common/common.services.ts"); var LogoutComponent = /** @class */ (function () { function LogoutComponent(translate, oauthService, messageService, dialog, commonService) { this.translate = translate; this.oauthService = oauthService; this.messageService = messageService; this.dialog = dialog; this.commonService = commonService; } LogoutComponent.prototype.ngOnInit = function () { this.uid = sessionStorage.getItem('uid'); $('.menu, .overlay').click(function () { $('.menu').toggleClass('clicked'); $('#nav').toggleClass('show'); }); }; LogoutComponent.prototype.confirmLogout = function () { var _this = this; if (this.dialog.openDialogs.length === 0) { var dialogRef = this.dialog.open(_shared_confirmation_dialog_confirmation_dialog_component__WEBPACK_IMPORTED_MODULE_6__["ConfirmationDialogComponent"], { width: '350px', data: 'SignOutContent.displayMessage' }); dialogRef.afterClosed().subscribe(function (result) { if (result) { if (_this.commonService.getFormChanged() || _this.commonService.getFilterFormData()) { _this.UpdateWarning(); } else { _this.logout(); } } $('.menu').removeClass('clicked'); $('#nav').removeClass('show'); }); } }; LogoutComponent.prototype.logout = function () { sessionStorage.clear(); this.messageService.sendMessage('logout'); this.oauthService.logoutUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].authConfig.logoutUrl; this.oauthService.logOut(); }; LogoutComponent.prototype.UpdateWarning = function () { var _this = this; if (this.dialog.openDialogs.length === 0) { var dialogRef = this.dialog.open(_shared_confirmation_dialog_confirmation_dialog_component__WEBPACK_IMPORTED_MODULE_6__["ConfirmationDialogComponent"], { width: '350px', data: 'ExtractActivity.updateWarning' }); dialogRef.afterClosed().subscribe(function (result) { if (result) { _this.logout(); } }); } }; LogoutComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'app-logout', template: __webpack_require__(/*! ./logout.component.html */ "./src/app/common/logout/logout.component.html"), styles: [__webpack_require__(/*! ./logout.component.css */ "./src/app/common/logout/logout.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__["TranslateService"], angular_oauth2_oidc__WEBPACK_IMPORTED_MODULE_2__["OAuthService"], _message_service__WEBPACK_IMPORTED_MODULE_4__["MessageService"], _angular_material__WEBPACK_IMPORTED_MODULE_5__["MatDialog"], _common_services__WEBPACK_IMPORTED_MODULE_8__["CommonServices"]]) ], LogoutComponent); return LogoutComponent; }()); /***/ }), /***/ "./src/app/common/logoutpage/logoutpage.component.css": /*!************************************************************!*\ !*** ./src/app/common/logoutpage/logoutpage.component.css ***! \************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = ".div-backgroung {\n background: #ffc107;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tbW9uL2xvZ291dHBhZ2UvbG9nb3V0cGFnZS5jb21wb25lbnQuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0lBQ0ksbUJBQW1CO0FBQ3ZCIiwiZmlsZSI6InNyYy9hcHAvY29tbW9uL2xvZ291dHBhZ2UvbG9nb3V0cGFnZS5jb21wb25lbnQuY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmRpdi1iYWNrZ3JvdW5nIHtcbiAgICBiYWNrZ3JvdW5kOiAjZmZjMTA3O1xufSJdfQ== */" /***/ }), /***/ "./src/app/common/logoutpage/logoutpage.component.html": /*!*************************************************************!*\ !*** ./src/app/common/logoutpage/logoutpage.component.html ***! \*************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "\n
\n Session Expired / Logout Successfully......\n
\n" /***/ }), /***/ "./src/app/common/logoutpage/logoutpage.component.ts": /*!***********************************************************!*\ !*** ./src/app/common/logoutpage/logoutpage.component.ts ***! \***********************************************************/ /*! exports provided: LogoutpageComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LogoutpageComponent", function() { return LogoutpageComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); var LogoutpageComponent = /** @class */ (function () { function LogoutpageComponent() { } LogoutpageComponent.prototype.ngOnInit = function () { }; LogoutpageComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'logoutpage', template: __webpack_require__(/*! ./logoutpage.component.html */ "./src/app/common/logoutpage/logoutpage.component.html"), styles: [__webpack_require__(/*! ./logoutpage.component.css */ "./src/app/common/logoutpage/logoutpage.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", []) ], LogoutpageComponent); return LogoutpageComponent; }()); /***/ }), /***/ "./src/app/common/material/custom-date-adapter.ts": /*!********************************************************!*\ !*** ./src/app/common/material/custom-date-adapter.ts ***! \********************************************************/ /*! exports provided: MAT_CUSTOM_DATE_FORMATS, CustomDateAdapter */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MAT_CUSTOM_DATE_FORMATS", function() { return MAT_CUSTOM_DATE_FORMATS; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CustomDateAdapter", function() { return CustomDateAdapter; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_material__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/material */ "./node_modules/@angular/material/esm5/material.es5.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/fesm5/common.js"); var MAT_CUSTOM_DATE_FORMATS = { parse: { dateInput: { year: 'numeric', month: 'numeric', day: 'numeric' }, }, display: { dateInput: 'input', monthYearLabel: { year: 'numeric', month: 'short' }, dateA11yLabel: { year: 'numeric', month: 'long', day: 'numeric' }, monthYearA11yLabel: { year: 'numeric', month: 'long' }, } }; var CustomDateAdapter = /** @class */ (function (_super) { tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"](CustomDateAdapter, _super); function CustomDateAdapter() { return _super !== null && _super.apply(this, arguments) || this; } CustomDateAdapter.prototype.getFirstDayOfWeek = function () { return 1; }; /* public createDate(year: number, month: number, date: number): Date { const localDate = super.createDate(year, month, date); const offset = localDate.getTimezoneOffset() * 60000; return new Date(localDate.getTime() - offset); // utcDate } */ /* public format(date: Date, displayFormat: any): string { if (displayFormat !== MAT_CUSTOM_DATE_FORMATS.display.dateInput) { return super.format(date, displayFormat); } else { return formatFns(date, MAT_CUSTOM_DATE_FORMATS.display.dateInput); } } */ CustomDateAdapter.prototype.format = function (date, displayFormat) { if (displayFormat === 'input') { return Object(_angular_common__WEBPACK_IMPORTED_MODULE_3__["formatDate"])(date, 'dd/MM/yyyy', this.locale ? this.locale : 'en-GB'); } else { return date.toDateString(); } }; CustomDateAdapter = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_2__["Injectable"])() ], CustomDateAdapter); return CustomDateAdapter; }(_angular_material__WEBPACK_IMPORTED_MODULE_1__["NativeDateAdapter"])); /***/ }), /***/ "./src/app/common/material/material.module.ts": /*!****************************************************!*\ !*** ./src/app/common/material/material.module.ts ***! \****************************************************/ /*! exports provided: PICK_FORMATS, MaterialModule */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PICK_FORMATS", function() { return PICK_FORMATS; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MaterialModule", function() { return MaterialModule; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/material */ "./node_modules/@angular/material/esm5/material.es5.js"); /* harmony import */ var _angular_material_moment_adapter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/material-moment-adapter */ "./node_modules/@angular/material-moment-adapter/esm5/material-moment-adapter.es5.js"); /* harmony import */ var _angular_material_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/material/icon */ "./node_modules/@angular/material/esm5/icon.es5.js"); /* harmony import */ var _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/cdk/scrolling */ "./node_modules/@angular/cdk/esm5/scrolling.es5.js"); /* harmony import */ var _custom_date_adapter__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./custom-date-adapter */ "./src/app/common/material/custom-date-adapter.ts"); var PICK_FORMATS = { parse: { dateInput: { month: 'short', year: 'numeric', day: 'numeric' } }, display: { dateInput: 'input', monthYearLabel: { year: 'numeric', month: 'short' }, dateA11yLabel: { year: 'numeric', month: 'long', day: 'numeric' }, monthYearA11yLabel: { year: 'numeric', month: 'long' } } }; var modules = [ _angular_material_icon__WEBPACK_IMPORTED_MODULE_4__["MatIconModule"], _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatDialogModule"], _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatCheckboxModule"], _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatGridListModule"], _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatDatepickerModule"], _angular_material_moment_adapter__WEBPACK_IMPORTED_MODULE_3__["MatMomentDateModule"], _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatNativeDateModule"], _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatFormFieldModule"], _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatInputModule"], _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatSnackBarModule"], _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatOptionModule"], _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatSelectModule"], _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatTooltipModule"], _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatChipsModule"], _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatSidenavModule"], _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatAutocompleteModule"], _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_5__["ScrollingModule"], _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatCardModule"], _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatSlideToggleModule"], _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatExpansionModule"], _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatTableModule"], _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatSortModule"], _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatTabsModule"], _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatProgressBarModule"] ]; var MaterialModule = /** @class */ (function () { function MaterialModule() { } MaterialModule = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"])({ declarations: [], imports: [modules], exports: [modules], providers: [ _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatDatepickerModule"], _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatFormFieldModule"], _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatInputModule"], _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatSnackBarModule"], _angular_material_icon__WEBPACK_IMPORTED_MODULE_4__["MatIconModule"], _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatCardModule"], _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatProgressBarModule"], // { provide: MAT_MOMENT_DATE_ADAPTER_OPTIONS, useValue: { useUtc: true } }, { provide: _angular_material__WEBPACK_IMPORTED_MODULE_2__["DateAdapter"], useClass: _custom_date_adapter__WEBPACK_IMPORTED_MODULE_6__["CustomDateAdapter"] }, // { provide: MAT_DATE_LOCALE, useValue: 'en-GB' }, // { provide: MAT_DATE_FORMATS, useValue: MY_FORMATS } // { provide: DateAdapter, useClass: MomentDateAdapter, deps: [MAT_DATE_LOCALE] }, { provide: _angular_material__WEBPACK_IMPORTED_MODULE_2__["MAT_DATE_FORMATS"], useValue: PICK_FORMATS }, ] }) ], MaterialModule); return MaterialModule; }()); /***/ }), /***/ "./src/app/common/menu/menu.component.css": /*!************************************************!*\ !*** ./src/app/common/menu/menu.component.css ***! \************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2NvbW1vbi9tZW51L21lbnUuY29tcG9uZW50LmNzcyJ9 */" /***/ }), /***/ "./src/app/common/menu/menu.component.html": /*!*************************************************!*\ !*** ./src/app/common/menu/menu.component.html ***! \*************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "\n" /***/ }), /***/ "./src/app/common/menu/menu.component.ts": /*!***********************************************!*\ !*** ./src/app/common/menu/menu.component.ts ***! \***********************************************/ /*! exports provided: MenuComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MenuComponent", function() { return MenuComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/fesm5/ngx-translate-core.js"); /* harmony import */ var _menu_services__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./menu.services */ "./src/app/common/menu/menu.services.ts"); /* harmony import */ var _menu_model__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./menu.model */ "./src/app/common/menu/menu.model.ts"); /* harmony import */ var _snackbar_snackbar_component_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../snackbar/snackbar.component.service */ "./src/app/common/snackbar/snackbar.component.service.ts"); /* harmony import */ var _message_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../message.service */ "./src/app/common/message.service.ts"); var MenuComponent = /** @class */ (function () { function MenuComponent(translate, menuService, snackbarService, messageService) { this.translate = translate; this.menuService = menuService; this.snackbarService = snackbarService; this.messageService = messageService; } MenuComponent.prototype.menuAccess = function (menuHeader, menuName) { sessionStorage.setItem('roleAction', ''); var menuAccess = new _menu_model__WEBPACK_IMPORTED_MODULE_4__["MenuModel"](); menuAccess.menuHeader = menuHeader; menuAccess.menuName = menuName; menuAccess.rolesNames = JSON.parse(sessionStorage.getItem('role')); var onlyRoles = sessionStorage.getItem('onlyRoles'); if (onlyRoles === 'true') { this.menuService.getMenuActionByRoles(menuAccess).subscribe(function (response) { sessionStorage.setItem('roleAction', JSON.stringify(response.menuAction)); }); } else if (onlyRoles === 'false') { this.snackbarService.showSnackBar('Roles_Access.errMsg', 'F'); return false; } else { this.messageService.sendMessage('logout'); } }; MenuComponent.prototype.ngOnInit = function () { var orgId = JSON.parse(sessionStorage.getItem(_menu_model__WEBPACK_IMPORTED_MODULE_4__["MenuEnum"].OrgId)); this.deatvMenuAcess = (orgId && (orgId.length === 1 && orgId[0] === 2)) ? false : true; //const rolesAssigned = JSON.parse(sessionStorage.getItem('role')); var rolesAssigned = sessionStorage.getItem('role'); if (rolesAssigned.toLowerCase().includes('tpm2-admin')) { this.adminCheck = true; } else { this.adminCheck = false; } }; MenuComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'app-menu', template: __webpack_require__(/*! ./menu.component.html */ "./src/app/common/menu/menu.component.html"), styles: [__webpack_require__(/*! ./menu.component.css */ "./src/app/common/menu/menu.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__["TranslateService"], _menu_services__WEBPACK_IMPORTED_MODULE_3__["MenuService"], _snackbar_snackbar_component_service__WEBPACK_IMPORTED_MODULE_5__["SnackBarService"], _message_service__WEBPACK_IMPORTED_MODULE_6__["MessageService"]]) ], MenuComponent); return MenuComponent; }()); /***/ }), /***/ "./src/app/common/menu/menu.model.ts": /*!*******************************************!*\ !*** ./src/app/common/menu/menu.model.ts ***! \*******************************************/ /*! exports provided: MenuModel, MenuEnum */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MenuModel", function() { return MenuModel; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MenuEnum", function() { return MenuEnum; }); var MenuModel = /** @class */ (function () { function MenuModel() { } return MenuModel; }()); var MenuEnum; (function (MenuEnum) { MenuEnum["OrgId"] = "organisationIDs"; })(MenuEnum || (MenuEnum = {})); /***/ }), /***/ "./src/app/common/menu/menu.services.ts": /*!**********************************************!*\ !*** ./src/app/common/menu/menu.services.ts ***! \**********************************************/ /*! exports provided: MenuService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MenuService", function() { return MenuService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); var MenuService = /** @class */ (function () { function MenuService(http) { this.http = http; this.baseString = src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].apiURL; } MenuService.prototype.getMenuActionByRoles = function (menuAccess) { return this.http.post(this.baseString + '/getMenuActionByRoles/', menuAccess); }; MenuService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]]) ], MenuService); return MenuService; }()); /***/ }), /***/ "./src/app/common/message.service.ts": /*!*******************************************!*\ !*** ./src/app/common/message.service.ts ***! \*******************************************/ /*! exports provided: MessageService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MessageService", function() { return MessageService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var rxjs_BehaviorSubject__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/BehaviorSubject */ "./node_modules/rxjs-compat/_esm5/BehaviorSubject.js"); var MessageService = /** @class */ (function () { function MessageService() { this.subject = new rxjs_BehaviorSubject__WEBPACK_IMPORTED_MODULE_2__["BehaviorSubject"](''); } MessageService.prototype.sendMessage = function (message) { this.subject.next(message); }; MessageService.prototype.clearMessages = function () { this.subject.next(''); }; MessageService.prototype.getMessage = function () { return this.subject.asObservable(); }; MessageService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", []) ], MessageService); return MessageService; }()); /***/ }), /***/ "./src/app/common/multi-select/multi-select.component.css": /*!****************************************************************!*\ !*** ./src/app/common/multi-select/multi-select.component.css ***! \****************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "/* ::ng-deep .mat-select-content{\n width:2000px;\n background-color: red;\n font-size: 10px; \n background-color: #ffcc33;\n color: #000;\n font-weight: bold;\n} */\n\n.mat-form-field-appearance-outline {\n margin: 0.25em 10px !important;\n width: 210px;\n padding-bottom: 0 !important;\n}\n\n.mat-form-field-infix {\n display: block;\n position: relative;\n flex: auto;\n min-width: 0;\n width: 210px;\n}\n\n.select-all{\n margin: 5px 17px;\n }\n\n/* .mat-form-field-wrapper {\n padding-bottom: 0 !important;\n background-color: #ffcc33;\n} */\n\n::ng-deep .mat-tooltip {\n white-space: pre-line !important;\n word-break: break-word;\n height: auto !important;\n position: relative;\n }\n\n/** No CSS for this example */\n\n::ng-deep .mat-checkbox .mat-checkbox-frame {\n border-color: black;\n}\n\n::ng-deep .mat-checkbox-checked .mat-checkbox-background {\n background-color: darkcyan !important;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tbW9uL211bHRpLXNlbGVjdC9tdWx0aS1zZWxlY3QuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7OztHQU9HOztBQUVIO0lBQ0ksOEJBQThCO0lBQzlCLFlBQVk7SUFDWiw0QkFBNEI7QUFDaEM7O0FBQ0E7SUFDSSxjQUFjO0lBQ2Qsa0JBQWtCO0lBQ2xCLFVBQVU7SUFDVixZQUFZO0lBQ1osWUFBWTtBQUNoQjs7QUFFQTtJQUNJLGdCQUFnQjtFQUNsQjs7QUFFRjs7O0dBR0c7O0FBQ0g7UUFDUSxtQ0FBbUM7UUFDbkMsc0JBQXNCO1FBQ3RCLHVCQUF1QjtRQUN2QixrQkFBa0I7TUFDcEI7O0FBRUEsNkJBQTZCOztBQUNuQztFQUNFLG1CQUFtQjtBQUNyQjs7QUFFQTtFQUNFLHFDQUF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AgICAgICAgcG9zaXRpb246IHJlbGF0aXZlO1xuICAgICAgfVxuXG4gICAgICAvKiogTm8gQ1NTIGZvciB0aGlzIGV4YW1wbGUgKi9cbjo6bmctZGVlcCAubWF0LWNoZWNrYm94IC5tYXQtY2hlY2tib3gtZnJhbWUge1xuICBib3JkZXItY29sb3I6IGJsYWNrO1xufVxuXG46Om5nLWRlZXAgLm1hdC1jaGVja2JveC1jaGVja2VkIC5tYXQtY2hlY2tib3gtYmFja2dyb3VuZCB7XG4gIGJhY2tncm91bmQtY29sb3I6IGRhcmtjeWFuICFpbXBvcnRhbnQ7XG59Il19 */" /***/ }), /***/ "./src/app/common/multi-select/multi-select.component.html": /*!*****************************************************************!*\ !*** ./src/app/common/multi-select/multi-select.component.html ***! \*****************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "
\n \n Maps\n \n
\n \n Common_Buttons.SelectAll\n \n
\n {{mapName.label}}\n
\n
\n\n \n Help.Preference.mean\n \n
\n \n Common_Buttons.SelectAll\n \n
\n {{meanName[1]}}\n
\n
\n\n \n Sites\n \n
\n \n Common_Buttons.SelectAll\n \n
\n {{siteName[1]}}\n
\n
\n\n \n Building \n \n
\n \n Common_Buttons.SelectAll\n \n
\n {{buildingName[1]}}\n
\n
\n
" /***/ }), /***/ "./src/app/common/multi-select/multi-select.component.ts": /*!***************************************************************!*\ !*** ./src/app/common/multi-select/multi-select.component.ts ***! \***************************************************************/ /*! exports provided: MultiSelectComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MultiSelectComponent", function() { return MultiSelectComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/fesm5/forms.js"); /* harmony import */ var src_app_administration_referentiel_means_means_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/administration/referentiel/means/means.service */ "./src/app/administration/referentiel/means/means.service.ts"); /* harmony import */ var _multi_select_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./multi-select.service */ "./src/app/common/multi-select/multi-select.service.ts"); /* harmony import */ var src_app_saisie_activate_activate_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! src/app/saisie/activate/activate.service */ "./src/app/saisie/activate/activate.service.ts"); /* harmony import */ var _muti_select_model__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./muti-select.model */ "./src/app/common/multi-select/muti-select.model.ts"); /* harmony import */ var _angular_material_select__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/material/select */ "./node_modules/@angular/material/esm5/select.es5.js"); var MultiSelectComponent = /** @class */ (function () { function MultiSelectComponent(fb, meanService, multiService, activityService) { this.fb = fb; this.meanService = meanService; this.multiService = multiService; this.activityService = activityService; this.allSelectedMap = false; this.allSelectedMean = false; this.allSelectedSite = false; this.allSelectedBuilding = false; this.buildingFlag = false; this.mapTempFlag = null; this.siteTempFlag = null; this.meanTempFlag = null; this.BuildingTempFlag = null; this.tempSourceVar = ''; this.b = new _angular_core__WEBPACK_IMPORTED_MODULE_1__["EventEmitter"](); } MultiSelectComponent.prototype.ngOnInit = function () { this.mapList(); this.meansList(); this.siteList(); this.buildingList(); this.buildingFlag = window.location.href.toString().includes('TestbedStatus') ? true : false; this.multiFilter = this.fb.group({ maps: [''], mean: [''], site: [''], buildings: [''], }); }; Object.defineProperty(MultiSelectComponent.prototype, "f", { get: function () { return this.multiFilter.controls; }, enumerable: true, configurable: true }); // getting list of all Maps MultiSelectComponent.prototype.mapList = function () { var _this = this; this.selectedMapIds = []; this.selectedMap = []; this.meanService.getMapList().subscribe(function (data) { _this.map = data.sort(function (a, b) { return a.label.localeCompare(b.label.toString()); }); }); }; MultiSelectComponent.prototype.meansList = function () { var _this = this; this.selectedMeanIds = []; this.selectedMean = []; this.multiService.getMeansComboListStatus().subscribe(function (data) { _this.means = data.sort(function (a, b) { return a[1].localeCompare(b[1].toString()); }); }); }; // getting list of Sites that are associated with testbed formed MultiSelectComponent.prototype.siteList = function () { var _this = this; this.selectedSiteIds = []; this.selectedSite = []; this.activityService.getSiteComboList().subscribe(function (data) { _this.sites = data.sort(function (a, b) { return a[1].localeCompare(b[1].toString()); }); _this.preferredSite(_this.sites); }); }; MultiSelectComponent.prototype.buildingList = function () { var _this = this; this.selectedBuildingIds = []; this.selectedBuilding = []; this.activityService.getBuildingsList().subscribe(function (data) { _this.buildings = data.sort(function (a, b) { return a[1].localeCompare(b[1].toString()); }); // this.preferredSite(this.sites); }); }; // when value in Site dropdown is changed MultiSelectComponent.prototype.onSiteChange = function (e) { var _this = this; this.selectedSiteIds = []; var newStatus = true; this.selectSite.options.forEach(function (item) { if (!item.selected) { newStatus = false; } }); this.allSelectedSite = newStatus; var selesite = e.value; // for getting the values of all the site chosen in array if (selesite.length > 0) { selesite.forEach(function (element) { _this.selectedSiteIds.push(element[0]); _this.selectedSite.push(element[1]); }); } else { this.selectedSiteIds = []; this.selectedSite = []; } // storing the data in the MultiSelect model var multiSelect = new _muti_select_model__WEBPACK_IMPORTED_MODULE_6__["MultiSelectModel"](); multiSelect.sites = this.selectedSiteIds; multiSelect.orgId = JSON.parse(sessionStorage.getItem(_muti_select_model__WEBPACK_IMPORTED_MODULE_6__["MultiSelectEnum"].orgId)); this.multiService.siteIdMapping = this.selectedSiteIds; if (this.selectedMap === undefined || this.selectedMap === ['']) { multiSelect.maps = []; } else { multiSelect.maps = this.selectedMapIds; } if (this.selectedMean === undefined || this.selectedMean === ['']) { multiSelect.mean = []; } else { multiSelect.mean = this.selectedMeanIds; } if (this.selectedBuilding === undefined || this.selectedBuilding === ['']) { multiSelect.building = []; } else { multiSelect.building = this.selectedBuildingIds; } // setting the model data to be used in testbedStatus if (this.siteTempFlag !== null) { if (this.siteTempFlag === true && this.sites.length !== selesite.length) return; else if (this.siteTempFlag === false && selesite.length !== 0) return; } multiSelect.building = this.newBuildingFilter(multiSelect); this.siteTempFlag = null; this.multiService.setMapData(multiSelect); this.b.emit(); }; MultiSelectComponent.prototype.onBuildingChange = function (e) { var _this = this; this.selectedBuildingIds = []; var newStatus = true; this.selectBuilding.options.forEach(function (item) { if (!item.selected) { newStatus = false; } }); this.allSelectedBuilding = newStatus; var selcBuilding = e.value; // for getting the values of all the site chosen in array if (selcBuilding.length > 0) { selcBuilding.forEach(function (element) { _this.selectedBuildingIds.push(element[0]); _this.selectedBuilding.push(element[1]); }); } else { this.selectedBuildingIds = []; this.selectedBuilding = []; } // storing the data in the MultiSelect model var multiSelect = new _muti_select_model__WEBPACK_IMPORTED_MODULE_6__["MultiSelectModel"](); multiSelect.building = this.selectedBuildingIds; multiSelect.orgId = JSON.parse(sessionStorage.getItem(_muti_select_model__WEBPACK_IMPORTED_MODULE_6__["MultiSelectEnum"].orgId)); this.multiService.BuildingIdMapping = this.selectedBuildingIds; if (this.selectedMap === undefined || this.selectedMap === ['']) { multiSelect.maps = []; } else { multiSelect.maps = this.selectedMapIds; } if (this.selectedMean === undefined || this.selectedMean === ['']) { multiSelect.mean = []; } else { multiSelect.mean = this.selectedMeanIds; } if (this.selectedSite === undefined || this.selectedSite === ['']) { multiSelect.sites = []; } else { multiSelect.sites = this.selectedSiteIds; } // setting the model data to be used in testbedStatus if (this.BuildingTempFlag !== null) { if (this.BuildingTempFlag === true && this.buildings.length !== selcBuilding.length) return; else if (this.BuildingTempFlag === false && selcBuilding.length !== 0) return; } this.BuildingTempFlag = null; this.multiService.setMapData(multiSelect); this.b.emit(); }; MultiSelectComponent.prototype.selectAllMapChange = function () { this.mapTempFlag = this.allSelectedMap; if (this.allSelectedMap) { this.selectMap.options.forEach(function (item) { return item.select(); }); } else { this.selectMap.options.forEach(function (item) { return item.deselect(); }); } }; MultiSelectComponent.prototype.selectAllMeanChange = function () { this.meanTempFlag = this.allSelectedMean; if (this.allSelectedMean) { this.selectMean.options.forEach(function (item) { return item.select(); }); } else { this.selectMean.options.forEach(function (item) { return item.deselect(); }); } }; MultiSelectComponent.prototype.selectAllSiteChange = function () { this.siteTempFlag = this.allSelectedSite; if (this.allSelectedSite) { this.selectSite.options.forEach(function (item) { return item.select(); }); } else { this.selectSite.options.forEach(function (item) { return item.deselect(); }); } }; MultiSelectComponent.prototype.selectAllBuildingChange = function () { this.BuildingTempFlag = this.allSelectedBuilding; if (this.allSelectedBuilding) { this.selectBuilding.options.forEach(function (item) { return item.select(); }); } else { this.selectBuilding.options.forEach(function (item) { return item.deselect(); }); } }; // when value in Map dropdown is changed MultiSelectComponent.prototype.onMapChange = function (e) { var _this = this; this.selectedMapIds = []; this.selectedMap = []; var newStatus = true; this.selectMap.options.forEach(function (item) { if (!item.selected) { newStatus = false; } }); this.allSelectedMap = newStatus; this.allSelectedSite = false; var selMap = e.value; // for getting the values of all the site chosen in array if (selMap.length > 0) { selMap.forEach(function (element) { _this.selectedMapIds.push(element.id); _this.selectedMap.push(element.label); }); } else { this.selectedMapIds = []; this.selectedMap = []; } this.multiService.mapIdMapping = this.selectedMapIds; // storing the data in the MultiSelect model if (this.mapTempFlag !== null) { if (this.mapTempFlag === true && this.map.length !== selMap.length) return; else if (this.mapTempFlag === false && selMap.length !== 0) return; } var multiSelect = new _muti_select_model__WEBPACK_IMPORTED_MODULE_6__["MultiSelectModel"](); multiSelect.maps = this.selectedMapIds; multiSelect.orgId = JSON.parse(sessionStorage.getItem('organisationIDs')); // once map value is selected Site dropdown is filtered accordingly if (this.selectedSite === undefined || this.selectedSite === ['']) { multiSelect.sites = []; } else { multiSelect.sites = this.selectedSiteIds; } if (this.selectedMean === undefined || this.selectedMean === ['']) { multiSelect.mean = []; } else { multiSelect.mean = this.selectedMeanIds; } if (this.selectedBuilding === undefined || this.selectedBuilding === ['']) { multiSelect.building = []; } else { multiSelect.building = this.selectedBuildingIds; } multiSelect.mean = this.newMeanFilter(multiSelect); multiSelect.sites = this.newSiteFilter(multiSelect); multiSelect.building = this.newBuildingFilter(multiSelect); this.mapTempFlag = null; this.multiService.setMapData(multiSelect); this.b.emit(); }; // Site filtered according to the map value MultiSelectComponent.prototype.newSiteFilter = function (value) { var _this = this; this.multiService.getFilterSite(value).subscribe(function (data) { _this.sites = data.sort(function (a, b) { return a[1].localeCompare(b[1].toString()); }); if (_this.multiService.siteIdMapping) { _this.selectedSiteIds = []; _this.selectedSite = []; _this.filterSiteCombo = []; var dataSite = []; var temp_1 = 0; _this.multiService.siteIdMapping.forEach(function (res) { if (_this.sites.filter(function (sites) { return sites[0] === res; }).length > 0) { _this.filterSiteCombo[temp_1] = _this.sites.filter(function (sites) { return sites[0] === res; })[0]; _this.selectedSiteIds[temp_1] = _this.sites.filter(function (sites) { return sites[0] === res; })[0][0]; _this.selectedSite[temp_1] = _this.sites.filter(function (sites) { return sites[0] === res; })[0][1]; temp_1++; } }); dataSite = _this.filterSiteCombo; _this.multiFilter.patchValue({ site: dataSite }); } else { _this.selectedSite = []; _this.selectedSiteIds = []; _this.multiFilter.patchValue({ site: [] }); } }); this.multiService.siteIdMapping = this.selectedSiteIds; return this.selectedSiteIds; }; MultiSelectComponent.prototype.preferredSite = function (data) { var multiSelectData = this.multiService.getMapData(); this.selectedSiteIds = []; this.selectedSite = []; if (multiSelectData) { this.multiFilter.patchValue({ site: data.filter(function (siteData) { return siteData[0] === multiSelectData.sites[0]; }) }); if (multiSelectData.sites.length > 0) { this.selectedSiteIds = multiSelectData.sites; } this.multiService.setMapData(multiSelectData); this.b.emit(); } else { this.multiService.setMapData(undefined); } this.multiService.siteIdMapping = this.selectedSiteIds; }; MultiSelectComponent.prototype.onMeanChange = function (e) { var _this = this; this.selectedMeanIds = []; this.selectedMean = []; var newStatus = true; this.selectMean.options.forEach(function (item) { if (!item.selected) { newStatus = false; } }); this.allSelectedMean = newStatus; var selemean = e.value; // for getting the values of all the site chosen in array if (selemean.length > 0) { selemean.forEach(function (element) { _this.selectedMeanIds.push(element[0]); _this.selectedMean.push(element[1]); }); } else { this.selectedMeanIds = []; this.selectedMean = []; } this.multiService.meanIdMapping = this.selectedMeanIds; // storing the data in the MultiSelect model var multiSelect = new _muti_select_model__WEBPACK_IMPORTED_MODULE_6__["MultiSelectModel"](); multiSelect.mean = this.selectedMeanIds; multiSelect.orgId = JSON.parse(sessionStorage.getItem(_muti_select_model__WEBPACK_IMPORTED_MODULE_6__["MultiSelectEnum"].orgId)); if (this.selectedMap === undefined || this.selectedMap === ['']) { multiSelect.maps = []; } else { multiSelect.maps = this.selectedMapIds; } if (this.selectedSite === undefined || this.selectedSite === ['']) { multiSelect.sites = []; } else { multiSelect.sites = this.selectedSiteIds; } if (this.selectedBuilding === undefined || this.selectedBuilding === ['']) { multiSelect.building = []; } else { multiSelect.building = this.selectedBuildingIds; } // setting the model data to be used in testbedStatus if (this.meanTempFlag !== null) { if (this.meanTempFlag === true && this.sites.length !== selemean.length) return; else if (this.meanTempFlag === false && selemean.length !== 0) return; } multiSelect.sites = this.newSiteFilter(multiSelect); multiSelect.building = this.newBuildingFilter(multiSelect); this.meanTempFlag = null; this.multiService.setMapData(multiSelect); this.b.emit(); }; MultiSelectComponent.prototype.newMeanFilter = function (value) { var _this = this; this.multiService.getFilterMean(value).subscribe(function (data) { _this.means = data.sort(function (a, b) { return a[1].localeCompare(b[1].toString()); }); if (_this.multiService.meanIdMapping) { _this.selectedMeanIds = []; _this.selectedMean = []; _this.filterMeanCombo = []; var dataMean = []; var temp_2 = 0; _this.multiService.meanIdMapping.forEach(function (res) { if (_this.means.filter(function (means) { return means[0] === res; }).length > 0) { _this.filterMeanCombo[temp_2] = _this.means.filter(function (means) { return means[0] === res; })[0]; _this.selectedMeanIds[temp_2] = _this.means.filter(function (means) { return means[0] === res; })[0][0]; _this.selectedMean[temp_2] = _this.means.filter(function (means) { return means[0] === res; })[0][1]; temp_2++; } }); dataMean = _this.filterMeanCombo; _this.multiFilter.patchValue({ mean: dataMean }); } else { _this.selectedMean = []; _this.selectedMeanIds = []; _this.multiFilter.patchValue({ mean: [] }); } }); this.multiService.meanIdMapping = this.selectedMeanIds; return this.selectedMeanIds; }; MultiSelectComponent.prototype.newBuildingFilter = function (value) { var _this = this; this.multiService.getFilterBulding(value).subscribe(function (data) { _this.buildings = data.sort(function (a, b) { return a[1].localeCompare(b[1].toString()); }); if (_this.multiService.BuildingIdMapping) { _this.selectedBuildingIds = []; _this.selectedBuilding = []; _this.filterBuildingCombo = []; var databuilding = []; var temp_3 = 0; _this.multiService.BuildingIdMapping.forEach(function (res) { if (_this.buildings.filter(function (buildings) { return buildings[0] === res; }).length > 0) { _this.filterBuildingCombo[temp_3] = _this.buildings.filter(function (buildings) { return buildings[0] === res; })[0]; _this.selectedBuildingIds[temp_3] = _this.buildings.filter(function (buildings) { return buildings[0] === res; })[0][0]; _this.selectedBuilding[temp_3] = _this.buildings.filter(function (buildings) { return buildings[0] === res; })[0][1]; temp_3++; } }); databuilding = _this.filterBuildingCombo; _this.multiFilter.patchValue({ buildings: databuilding }); } else { _this.selectedBuilding = []; _this.selectedBuildingIds = []; _this.multiFilter.patchValue({ mean: [] }); } }); this.multiService.BuildingIdMapping = this.selectedBuildingIds; return this.selectedBuildingIds; }; tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewChild"])('selectMap'), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:type", _angular_material_select__WEBPACK_IMPORTED_MODULE_7__["MatSelect"]) ], MultiSelectComponent.prototype, "selectMap", void 0); tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewChild"])('selectSite'), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:type", _angular_material_select__WEBPACK_IMPORTED_MODULE_7__["MatSelect"]) ], MultiSelectComponent.prototype, "selectSite", void 0); tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewChild"])('selectMean'), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:type", _angular_material_select__WEBPACK_IMPORTED_MODULE_7__["MatSelect"]) ], MultiSelectComponent.prototype, "selectMean", void 0); tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewChild"])('selectBuilding'), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:type", _angular_material_select__WEBPACK_IMPORTED_MODULE_7__["MatSelect"]) ], MultiSelectComponent.prototype, "selectBuilding", void 0); tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Output"])(), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:type", Object) ], MultiSelectComponent.prototype, "b", void 0); MultiSelectComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'multi-select', template: __webpack_require__(/*! ./multi-select.component.html */ "./src/app/common/multi-select/multi-select.component.html"), styles: [__webpack_require__(/*! ./multi-select.component.css */ "./src/app/common/multi-select/multi-select.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["FormBuilder"], src_app_administration_referentiel_means_means_service__WEBPACK_IMPORTED_MODULE_3__["MeansService"], _multi_select_service__WEBPACK_IMPORTED_MODULE_4__["MultiSelectService"], src_app_saisie_activate_activate_service__WEBPACK_IMPORTED_MODULE_5__["ActivateService"]]) ], MultiSelectComponent); return MultiSelectComponent; }()); /***/ }), /***/ "./src/app/common/multi-select/multi-select.service.ts": /*!*************************************************************!*\ !*** ./src/app/common/multi-select/multi-select.service.ts ***! \*************************************************************/ /*! exports provided: MultiSelectService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MultiSelectService", function() { return MultiSelectService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); var MultiSelectService = /** @class */ (function () { function MultiSelectService(http) { this.http = http; this.baseString = src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].apiURL; } MultiSelectService.prototype.setMapData = function (value) { this.mapData = value; }; MultiSelectService.prototype.getMapData = function () { return this.mapData; }; // When map value is chosen the site value gets filtered MultiSelectService.prototype.getFilterSite = function (filterSite) { return this.http.post(this.baseString + '/getFilterSite', filterSite).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; MultiSelectService.prototype.getMeansComboListStatus = function () { var orgId = JSON.parse(sessionStorage.getItem('organisationIDs')); return this.http.get(this.baseString + '/getMeanComboListStatus/' + orgId); }; MultiSelectService.prototype.getFilterMean = function (filterMean) { return this.http.post(this.baseString + '/getFilterMean', filterMean).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; MultiSelectService.prototype.getFilterBulding = function (filterBulding) { return this.http.post(this.baseString + '/getFilterBuilding', filterBulding).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; MultiSelectService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]]) ], MultiSelectService); return MultiSelectService; }()); /***/ }), /***/ "./src/app/common/multi-select/muti-select.model.ts": /*!**********************************************************!*\ !*** ./src/app/common/multi-select/muti-select.model.ts ***! \**********************************************************/ /*! exports provided: MultiSelectModel, MultiSelectEnum */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MultiSelectModel", function() { return MultiSelectModel; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MultiSelectEnum", function() { return MultiSelectEnum; }); var MultiSelectModel = /** @class */ (function () { function MultiSelectModel() { } return MultiSelectModel; }()); var MultiSelectEnum; (function (MultiSelectEnum) { MultiSelectEnum["orgId"] = "organisationIDs"; })(MultiSelectEnum || (MultiSelectEnum = {})); /***/ }), /***/ "./src/app/common/nav-tabs/nav-tabs.component.css": /*!********************************************************!*\ !*** ./src/app/common/nav-tabs/nav-tabs.component.css ***! \********************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2NvbW1vbi9uYXYtdGFicy9uYXYtdGFicy5jb21wb25lbnQuY3NzIn0= */" /***/ }), /***/ "./src/app/common/nav-tabs/nav-tabs.component.html": /*!*********************************************************!*\ !*** ./src/app/common/nav-tabs/nav-tabs.component.html ***! \*********************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "" /***/ }), /***/ "./src/app/common/nav-tabs/nav-tabs.component.ts": /*!*******************************************************!*\ !*** ./src/app/common/nav-tabs/nav-tabs.component.ts ***! \*******************************************************/ /*! exports provided: NavTabsComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NavTabsComponent", function() { return NavTabsComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/fesm5/ngx-translate-core.js"); var NavTabsComponent = /** @class */ (function () { function NavTabsComponent(translate) { this.translate = translate; } NavTabsComponent.prototype.ngOnInit = function () { }; NavTabsComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'app-nav-tabs', template: __webpack_require__(/*! ./nav-tabs.component.html */ "./src/app/common/nav-tabs/nav-tabs.component.html"), styles: [__webpack_require__(/*! ./nav-tabs.component.css */ "./src/app/common/nav-tabs/nav-tabs.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__["TranslateService"]]) ], NavTabsComponent); return NavTabsComponent; }()); /***/ }), /***/ "./src/app/common/nav-tabs/nav-tabs.module.ts": /*!****************************************************!*\ !*** ./src/app/common/nav-tabs/nav-tabs.module.ts ***! \****************************************************/ /*! exports provided: NavTabsModule */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NavTabsModule", function() { return NavTabsModule; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/fesm5/common.js"); /* harmony import */ var _nav_tabs_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nav-tabs.component */ "./src/app/common/nav-tabs/nav-tabs.component.ts"); /* harmony import */ var _i18n_i18n_module__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../i18n/i18n.module */ "./src/app/common/i18n/i18n.module.ts"); var NavTabsModule = /** @class */ (function () { function NavTabsModule() { } NavTabsModule = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"])({ declarations: [_nav_tabs_component__WEBPACK_IMPORTED_MODULE_3__["NavTabsComponent"]], imports: [ _i18n_i18n_module__WEBPACK_IMPORTED_MODULE_4__["I18nModule"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"] ], exports: [_nav_tabs_component__WEBPACK_IMPORTED_MODULE_3__["NavTabsComponent"]], }) ], NavTabsModule); return NavTabsModule; }()); /***/ }), /***/ "./src/app/common/piwik/piwik.config.resolver.ts": /*!*******************************************************!*\ !*** ./src/app/common/piwik/piwik.config.resolver.ts ***! \*******************************************************/ /*! exports provided: PiwikConfigResolver */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PiwikConfigResolver", function() { return PiwikConfigResolver; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_Observable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/Observable */ "./node_modules/rxjs-compat/_esm5/Observable.js"); /* harmony import */ var rxjs_operators_tap__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators/tap */ "./node_modules/rxjs-compat/_esm5/operators/tap.js"); /* harmony import */ var rxjs_operators_catchError__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rxjs/operators/catchError */ "./node_modules/rxjs-compat/_esm5/operators/catchError.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /** * Idp config resolver. */ var PiwikConfigResolver = /** @class */ (function () { function PiwikConfigResolver(http) { this.http = http; this.apiUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_6__["environment"].apiURL; } PiwikConfigResolver.prototype.resolve = function (envName) { return this.http.get(this.apiUrl + '/getPiwikConfig/' + envName).pipe(Object(rxjs_operators_tap__WEBPACK_IMPORTED_MODULE_4__["tap"])(function (piwikConfig) { }), Object(rxjs_operators_catchError__WEBPACK_IMPORTED_MODULE_5__["catchError"])(function (error) { console.debug('loading piwik config failed!', error); return rxjs_Observable__WEBPACK_IMPORTED_MODULE_3__["Observable"].throw('loading piwik config failed!'); })); }; PiwikConfigResolver = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]]) ], PiwikConfigResolver); return PiwikConfigResolver; }()); /***/ }), /***/ "./src/app/common/prime-ng/primeNg.module.ts": /*!***************************************************!*\ !*** ./src/app/common/prime-ng/primeNg.module.ts ***! \***************************************************/ /*! exports provided: PrimeNgModule */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PrimeNgModule", function() { return PrimeNgModule; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var primeng_colorpicker__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! primeng/colorpicker */ "./node_modules/primeng/fesm5/primeng-colorpicker.js"); /* harmony import */ var primeng_codehighlighter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! primeng/codehighlighter */ "./node_modules/primeng/fesm5/primeng-codehighlighter.js"); /* harmony import */ var primeng_table__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! primeng/table */ "./node_modules/primeng/fesm5/primeng-table.js"); /* harmony import */ var primeng_calendar__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! primeng/calendar */ "./node_modules/primeng/fesm5/primeng-calendar.js"); /* harmony import */ var primeng_carousel__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! primeng/carousel */ "./node_modules/primeng/fesm5/primeng-carousel.js"); // import {TabViewModule} from 'primeng/tabview'; var PrimeNgModule = /** @class */ (function () { function PrimeNgModule() { } PrimeNgModule = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"])({ declarations: [], imports: [ primeng_colorpicker__WEBPACK_IMPORTED_MODULE_2__["ColorPickerModule"], // TabViewModule, primeng_codehighlighter__WEBPACK_IMPORTED_MODULE_3__["CodeHighlighterModule"], primeng_table__WEBPACK_IMPORTED_MODULE_4__["TableModule"], primeng_calendar__WEBPACK_IMPORTED_MODULE_5__["CalendarModule"], primeng_carousel__WEBPACK_IMPORTED_MODULE_6__["CarouselModule"] ], exports: [ primeng_colorpicker__WEBPACK_IMPORTED_MODULE_2__["ColorPickerModule"], // TabViewModule, primeng_codehighlighter__WEBPACK_IMPORTED_MODULE_3__["CodeHighlighterModule"], primeng_table__WEBPACK_IMPORTED_MODULE_4__["TableModule"], primeng_calendar__WEBPACK_IMPORTED_MODULE_5__["CalendarModule"], primeng_carousel__WEBPACK_IMPORTED_MODULE_6__["CarouselModule"] ], providers: [] }) ], PrimeNgModule); return PrimeNgModule; }()); /***/ }), /***/ "./src/app/common/redirectaction/redirectaction.component.css": /*!********************************************************************!*\ !*** ./src/app/common/redirectaction/redirectaction.component.css ***! \********************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2NvbW1vbi9yZWRpcmVjdGFjdGlvbi9yZWRpcmVjdGFjdGlvbi5jb21wb25lbnQuY3NzIn0= */" /***/ }), /***/ "./src/app/common/redirectaction/redirectaction.component.html": /*!*********************************************************************!*\ !*** ./src/app/common/redirectaction/redirectaction.component.html ***! \*********************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "\n
\n \n
\n
\n
\n Errormessage.app_migration\n
\n
\n

Errormessage.app_migration_url

\n

Errormessage.app_access_tpm

\n {{gcpRedirectionEnvUrl}}\n
\n
\n
\n \n \n
" /***/ }), /***/ "./src/app/common/redirectaction/redirectaction.component.ts": /*!*******************************************************************!*\ !*** ./src/app/common/redirectaction/redirectaction.component.ts ***! \*******************************************************************/ /*! exports provided: RedirectactionComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RedirectactionComponent", function() { return RedirectactionComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); var RedirectactionComponent = /** @class */ (function () { function RedirectactionComponent() { } RedirectactionComponent.prototype.ngOnInit = function () { var envName = sessionStorage.getItem('envName'); this.getUrlBasedonEnv(envName); }; RedirectactionComponent.prototype.getUrlBasedonEnv = function (envName) { console.log(envName, 'envName'); if (envName === 'DEV') { this.gcpRedirectionEnvUrl = 'https://tp2-dev.gke2.dev.gcp.renault.com'; } else if (envName === 'QUA') { this.gcpRedirectionEnvUrl = 'https://tp2-qua.gke2.dev.gcp.renault.com'; } else if (envName === 'RE7') { this.gcpRedirectionEnvUrl = 'https://tp2-re7.gke2.int.gcp.renault.com'; } else if (envName === 'OPE') { this.gcpRedirectionEnvUrl = 'https://tp2-ope.gke2.ope.gcp.renault.com'; } else if (envName === 'STA') { this.gcpRedirectionEnvUrl = 'https://tp2-sta.gke2.dev.gcp.renault.com'; } else { console.log('test1'); this.gcpRedirectionEnvUrl = 'https://int.tp2.dev.aws.renault.com'; } }; RedirectactionComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'redirectaction', template: __webpack_require__(/*! ./redirectaction.component.html */ "./src/app/common/redirectaction/redirectaction.component.html"), styles: [__webpack_require__(/*! ./redirectaction.component.css */ "./src/app/common/redirectaction/redirectaction.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", []) ], RedirectactionComponent); return RedirectactionComponent; }()); /***/ }), /***/ "./src/app/common/roles/roles.model.ts": /*!*********************************************!*\ !*** ./src/app/common/roles/roles.model.ts ***! \*********************************************/ /*! exports provided: Roles */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Roles", function() { return Roles; }); var Roles = /** @class */ (function () { function Roles() { } return Roles; }()); /***/ }), /***/ "./src/app/common/roles/roles.service.ts": /*!***********************************************!*\ !*** ./src/app/common/roles/roles.service.ts ***! \***********************************************/ /*! exports provided: RolesService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RolesService", function() { return RolesService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); var RolesService = /** @class */ (function () { function RolesService(http) { this.http = http; this.baseString = src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].apiURL; } RolesService.prototype.isOnlyRolesExists = function (roles) { return this.http.post(this.baseString + '/isOnlyRolesExists/', roles); }; RolesService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]]) ], RolesService); return RolesService; }()); /***/ }), /***/ "./src/app/common/shared/confirmation-dialog/confirmation-dialog.component.css": /*!*************************************************************************************!*\ !*** ./src/app/common/shared/confirmation-dialog/confirmation-dialog.component.css ***! \*************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "::ng-deep .mat-dialog-container {\n overflow: hidden !important;\n padding: 0 !important;\n }\n \n \n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tbW9uL3NoYXJlZC9jb25maXJtYXRpb24tZGlhbG9nL2NvbmZpcm1hdGlvbi1kaWFsb2cuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtJQUNJLDJCQUEyQjtJQUMzQixxQkFBcUI7RUFDdkIiLCJmaWxlIjoic3JjL2FwcC9jb21tb24vc2hhcmVkL2NvbmZpcm1hdGlvbi1kaWFsb2cvY29uZmlybWF0aW9uLWRpYWxvZy5jb21wb25lbnQuY3NzIiwic291cmNlc0NvbnRlbnQiOlsiOjpuZy1kZWVwIC5tYXQtZGlhbG9nLWNvbnRhaW5lciB7XG4gICAgb3ZlcmZsb3c6IGhpZGRlbiAhaW1wb3J0YW50O1xuICAgIHBhZGRpbmc6IDAgIWltcG9ydGFudDtcbiAgfVxuICBcbiAiXX0= */" /***/ }), /***/ "./src/app/common/shared/confirmation-dialog/confirmation-dialog.component.html": /*!**************************************************************************************!*\ !*** ./src/app/common/shared/confirmation-dialog/confirmation-dialog.component.html ***! \**************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "
\n

TPM2

\n
\n
\n
\n
\n {{message}}\n
\n
\n
\n" /***/ }), /***/ "./src/app/common/shared/confirmation-dialog/confirmation-dialog.component.ts": /*!************************************************************************************!*\ !*** ./src/app/common/shared/confirmation-dialog/confirmation-dialog.component.ts ***! \************************************************************************************/ /*! exports provided: ConfirmationDialogComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConfirmationDialogComponent", function() { return ConfirmationDialogComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/material */ "./node_modules/@angular/material/esm5/material.es5.js"); var ConfirmationDialogComponent = /** @class */ (function () { function ConfirmationDialogComponent(dialogRef, message) { this.dialogRef = dialogRef; this.message = message; } ConfirmationDialogComponent.prototype.ngOnInit = function () { }; ConfirmationDialogComponent.prototype.onNoClick = function () { this.dialogRef.close(); }; ConfirmationDialogComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'confirmation-dialog', template: __webpack_require__(/*! ./confirmation-dialog.component.html */ "./src/app/common/shared/confirmation-dialog/confirmation-dialog.component.html"), styles: [__webpack_require__(/*! ./confirmation-dialog.component.css */ "./src/app/common/shared/confirmation-dialog/confirmation-dialog.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__param"](1, Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Inject"])(_angular_material__WEBPACK_IMPORTED_MODULE_2__["MAT_DIALOG_DATA"])), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_material__WEBPACK_IMPORTED_MODULE_2__["MatDialogRef"], String]) ], ConfirmationDialogComponent); return ConfirmationDialogComponent; }()); /***/ }), /***/ "./src/app/common/snackbar/snackbar.component.css": /*!********************************************************!*\ !*** ./src/app/common/snackbar/snackbar.component.css ***! \********************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "button{\n color:#000;\n background-color:#999;\n margin-top:20px;\n }\n snackbar{\n position: relative;\n }\n /* The snackbar - position it at the right and in the middle of the screen */\n #snackbar {\n /* visibility: hidden; */\n min-width: 320px;\n margin-left: -125px;\n background-image: linear-gradient(to bottom, #ffec64 5%, #ffab23 100%);\n color: #000;\n text-align: center;\n border-radius: 5px;\n padding: 13px;\n position: absolute; \n z-index: 999999;\n right: 2%;\n bottom: 10%;\n font-weight: bold;\n border-left: 4px solid #343a40;\n -ms-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);\n -o-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);\n box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);\n font-size: 15px;\n \n }\n #snackbar a i {\n font-size: 15px;\n color: #343a40;\n position: relative;\n /* top: -10px; */\n}\n /* Show the snackbar when clicking on a button (class added with JavaScript) */\n .show {\n visibility: visible !important; /* Show the snackbar */\n \n /* Add animation: Take 0.5 seconds to fade in and out the snackbar.\n However, delay the fade out process for 2.5 seconds */\n animation: fadein 0.5s, fadeout 0.5s 2.5s;\n }\n /* Animations to fade the snackbar in and out */\n @keyframes fadein {\n from {right: 0; opacity: 0;}\n to {right: 30px; opacity: 1;}\n }\n @keyframes fadeout {\n from {right:30px; opacity: 0;}\n to {right: 0px; opacity: 1;}\n }\n i.fas.fa-check-circle.thumbs_color {\n color: green;\n font-size: 26px;\n padding-right: 10px;\n position: relative;\n top: 5px;\n}\n .clip-svg {\n\t\twidth: 0;\n\t\theight: 0;\n\t}\n .polygon-each {\n\t\tpadding: 10px;\n\t\ttext-align: center;\n\t}\n .polygon-each-img-wrap img {\n\t\tmargin-bottom: 10px;\n\t}\n @media only screen and (min-width: 800px) {\n\t\t.polygon-each {\n\t\t\tdisplay: inline-block;\n\t\t\twidth: 47%;\n\t\t\tvertical-align: top;\n\t\t}\n\n\t\t.polygon-each img {\n\t\t\tdisplay: block;\n\t\t\tmargin-left: auto;\n\t\t\tmargin-right: auto;\n\t\t}\n\t}\n .polygon-clip-octagon {\n\t\t-webkit-clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);\n\t\tclip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);\n\t\t-webkit-clip-path: url(\"#polygon-clip-octagon\");\n\t\tclip-path: url(\"#polygon-clip-octagon\");\n\t}\n /* div#snackbar:before {\n font-family: \"Font Awesome 5 Free\";\n display: inline-block;\n content: \"\\f00d\";\n position: relative;\n float: right;\n z-index: 2;\n color: black;\n font-size: 15px;\n} */\n #snackbar button.close {\n background: no-repeat;\n padding: 0;\n margin: 0;\n position: absolute;\n right: 9px;\n top: -4px;\n}\n #snackbar button.close span{font-size: 25px; }\n i.fas.fa-exclamation-circle {\n font-size: 26px;\n}\n #snackbar button.close span:focus {\n outline: none;\n}\n i.fas.fa-times-circle {\n font-size: 26px;\n}\n @media only screen and (max-width: 480px) {\n#snackbar{\nwidth:270px;\n}\n\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tbW9uL3NuYWNrYmFyL3NuYWNrYmFyLmNvbXBvbmVudC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7SUFDSSxVQUFVO0lBQ1YscUJBQXFCO0lBQ3JCLGVBQWU7RUFDakI7RUFDQTtJQUNFLGtCQUFrQjtFQUNwQjtFQUNBLDRFQUE0RTtFQUM1RTtJQUNFLHdCQUF3QjtJQUN4QixnQkFBZ0I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0LWNsaXAtcGF0aDogdXJsKFwiI3BvbHlnb24tY2xpcC1vY3RhZ29uXCIpO1xuXHRcdGNsaXAtcGF0aDogdXJsKFwiI3BvbHlnb24tY2xpcC1vY3RhZ29uXCIpO1xuXHR9XG5cblxuICAvKiBkaXYjc25hY2tiYXI6YmVmb3JlIHtcbiAgICBmb250LWZhbWlseTogXCJGb250IEF3ZXNvbWUgNSBGcmVlXCI7XG4gIGRpc3BsYXk6IGlubGluZS1ibG9jaztcbiAgY29udGVudDogXCJcXGYwMGRcIjtcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xuICBmbG9hdDogcmlnaHQ7XG4gIHotaW5kZXg6IDI7XG4gIGNvbG9yOiBibGFjaztcbiAgZm9udC1zaXplOiAxNXB4O1xufSAqL1xuI3NuYWNrYmFyIGJ1dHRvbi5jbG9zZSB7XG4gIGJhY2tncm91bmQ6IG5vLXJlcGVhdDtcbiAgcGFkZGluZzogMDtcbiAgbWFyZ2luOiAwO1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIHJpZ2h0OiA5cHg7XG4gIHRvcDogLTRweDtcbn1cbiNzbmFja2JhciBidXR0b24uY2xvc2Ugc3Bhbntmb250LXNpemU6IDI1cHg7IH1cbmkuZmFzLmZhLWV4Y2xhbWF0aW9uLWNpcmNsZSB7XG4gIGZvbnQtc2l6ZTogMjZweDtcbn1cbiNzbmFja2JhciBidXR0b24uY2xvc2Ugc3Bhbjpmb2N1cyB7XG4gIG91dGxpbmU6IG5vbmU7XG59XG5pLmZhcy5mYS10aW1lcy1jaXJjbGUge1xuICBmb250LXNpemU6IDI2cHg7XG59XG5cblxuQG1lZGlhIG9ubHkgc2NyZWVuIGFuZCAobWF4LXdpZHRoOiA0ODBweCkge1xuI3NuYWNrYmFye1xud2lkdGg6MjcwcHg7XG59XG5cbn0iXX0= */" /***/ }), /***/ "./src/app/common/snackbar/snackbar.component.html": /*!*********************************************************!*\ !*** ./src/app/common/snackbar/snackbar.component.html ***! \*********************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "\n
\n \n\n
\n \n
\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n
" /***/ }), /***/ "./src/app/common/snackbar/snackbar.component.service.ts": /*!***************************************************************!*\ !*** ./src/app/common/snackbar/snackbar.component.service.ts ***! \***************************************************************/ /*! exports provided: SnackBarService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SnackBarService", function() { return SnackBarService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/material */ "./node_modules/@angular/material/esm5/material.es5.js"); /* harmony import */ var _snackbar_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./snackbar.component */ "./src/app/common/snackbar/snackbar.component.ts"); /* harmony import */ var _snackbar_model__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./snackbar.model */ "./src/app/common/snackbar/snackbar.model.ts"); var SnackBarService = /** @class */ (function () { function SnackBarService(snackBar) { this.snackBar = snackBar; this.snackBarClass = ''; this.showSuccess = false; this.showWarning = false; this.showFailed = false; } SnackBarService.prototype.showOldSnackBar = function (msg, action) { var _this = this; if (action === 'S') { this.showSuccess = true; } else if (action === 'W') { this.showWarning = true; } else if (action === 'F') { this.showFailed = true; } this.snackBarClass = 'show'; this.message = msg; setTimeout(function () { _this.snackBarClass = ''; if (action === 'S') { _this.showSuccess = false; } else if (action === 'W') { _this.showWarning = false; } else if (action === 'F') { _this.showFailed = false; } }, 2000); }; SnackBarService.prototype.showSnackBar = function (msg, action) { this.message = msg; var snackBarModel = new _snackbar_model__WEBPACK_IMPORTED_MODULE_4__["SnackBarModel"](); snackBarModel.message = msg; snackBarModel.showStatus = action; this.snackBar.openFromComponent(_snackbar_component__WEBPACK_IMPORTED_MODULE_3__["SnackbarComponent"], { duration: 5000, horizontalPosition: 'end', verticalPosition: 'bottom', data: snackBarModel }); }; SnackBarService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_material__WEBPACK_IMPORTED_MODULE_2__["MatSnackBar"]]) ], SnackBarService); return SnackBarService; }()); /***/ }), /***/ "./src/app/common/snackbar/snackbar.component.ts": /*!*******************************************************!*\ !*** ./src/app/common/snackbar/snackbar.component.ts ***! \*******************************************************/ /*! exports provided: SnackbarComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SnackbarComponent", function() { return SnackbarComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/material */ "./node_modules/@angular/material/esm5/material.es5.js"); /* harmony import */ var _snackbar_model__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./snackbar.model */ "./src/app/common/snackbar/snackbar.model.ts"); var SnackbarComponent = /** @class */ (function () { function SnackbarComponent(data, snb) { this.data = data; this.snb = snb; } SnackbarComponent.prototype.ngOnInit = function () { this.showStatus = this.data.showStatus; this.message = this.data.message; }; SnackbarComponent.prototype.snackBarClose = function () { this.snb.dismiss(); }; SnackbarComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'snackbar', template: __webpack_require__(/*! ./snackbar.component.html */ "./src/app/common/snackbar/snackbar.component.html"), styles: [__webpack_require__(/*! ./snackbar.component.css */ "./src/app/common/snackbar/snackbar.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__param"](0, Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Inject"])(_angular_material__WEBPACK_IMPORTED_MODULE_2__["MAT_SNACK_BAR_DATA"])), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_snackbar_model__WEBPACK_IMPORTED_MODULE_3__["SnackBarModel"], _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatSnackBarRef"]]) ], SnackbarComponent); return SnackbarComponent; }()); /***/ }), /***/ "./src/app/common/snackbar/snackbar.model.ts": /*!***************************************************!*\ !*** ./src/app/common/snackbar/snackbar.model.ts ***! \***************************************************/ /*! exports provided: SnackBarModel */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SnackBarModel", function() { return SnackBarModel; }); var SnackBarModel = /** @class */ (function () { function SnackBarModel() { } return SnackBarModel; }()); /***/ }), /***/ "./src/app/common/spinner-loading/pannel-loading-message.service.ts": /*!**************************************************************************!*\ !*** ./src/app/common/spinner-loading/pannel-loading-message.service.ts ***! \**************************************************************************/ /*! exports provided: PannelLoadingMessageService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PannelLoadingMessageService", function() { return PannelLoadingMessageService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm5/index.js"); var PannelLoadingMessageService = /** @class */ (function () { function PannelLoadingMessageService() { this.subject = new rxjs__WEBPACK_IMPORTED_MODULE_2__["BehaviorSubject"](''); } PannelLoadingMessageService.prototype.sendMessage = function (message) { this.subject.next(message); }; PannelLoadingMessageService.prototype.clearMessages = function () { this.subject.next(''); }; PannelLoadingMessageService.prototype.getMessage = function () { return this.subject.asObservable(); }; PannelLoadingMessageService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", []) ], PannelLoadingMessageService); return PannelLoadingMessageService; }()); /***/ }), /***/ "./src/app/common/spinner-loading/spinner-loading.component.css": /*!**********************************************************************!*\ !*** ./src/app/common/spinner-loading/spinner-loading.component.css ***! \**********************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "/* Absolute Center Spinner */\n.loading {\n position: fixed;\n z-index: 999999999;\n height: 2em;\n width: 2em;\n overflow: visible;\n margin: auto;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n }\n.loader-wrapper{\n display: block;\n position: fixed;\n width: 100%;\n height: 100%;\n z-index: 1;\n overflow: visible;\n left: 0px;\n top: 0px;\n background-color: rgba(0,0,0,0.8);\n\t\t\n}\n/*Horizontal circles as bars loader-3 */\n#loader-3 #loader{\n\tposition: absolute;\n\twidth: 2vw;\n\theight: 2vw;\n\tbackground: rgb(255,0,0);\n\ttop:50%;\n\tleft: 50%;\n\tborder-radius: 50%;\n z-index: 1500;\n animation: forward 2.3s linear infinite ;\n}\n#loader-3 > #loader:nth-of-type(1) {\n\tanimation-delay: -0.46s;\n}\n#loader-3 > #loader:nth-of-type(2) {\n\tanimation-delay: -0.92s;\n}\n#loader-3 > #loader:nth-of-type(3) {\n\tanimation-delay: -1.38s;\n}\n#loader-3 > #loader:nth-of-type(4) {\n\tanimation-delay: -1.84s;\n}\n/*keyframes for forward animations*/\n@keyframes forward {\n\t0% {\n\t\tleft: 40%;\n\t\topacity: 0;\n\t\tbackground: rgb(255,255,0);\n\t}\n\t10% {\n\t\tleft: 45%;\n\t\topacity: 1;\n\t}\n\t90% {\n\t\tleft: 55%;\n\t\topacity: 1;\n\t}\n\t100% {\n\t\tleft: 62%;\n\t\topacity: 0;\n\t}\n}\n@keyframes spin {\n 0% {\n transform: translate(2px, 1px) rotate(0deg);\n }\n 10% {\n transform: translate(-1px, -3px) rotate(36deg);\n }\n 20% {\n transform: translate(-2px, 0px) rotate(72deg);\n }\n 30% {\n transform: translate(1px, 2px) rotate(108deg);\n }\n 40% {\n transform: translate(1px, -1px) rotate(144deg);\n }\n 50% {\n transform: translate(-1px, 3px) rotate(180deg);\n }\n 60% {\n transform: translate(-1px, 1px) rotate(216deg);\n }\n 70% {\n transform: translate(3px, 1px) rotate(252deg);\n }\n 80% {\n transform: translate(-2px, -1px) rotate(288deg);\n }\n 90% {\n transform: translate(2px, 1px) rotate(324deg);\n }\n 100% {\n transform: translate(1px, -2px) rotate(360deg);\n }\n}\n@keyframes speed {\n 0% {\n transform: translate(2px, 1px) rotate(0deg);\n }\n 10% {\n transform: translate(-1px, -3px) rotate(-1deg);\n }\n 20% {\n transform: translate(-2px, 0px) rotate(1deg);\n }\n 30% {\n transform: translate(1px, 2px) rotate(0deg);\n }\n 40% {\n transform: translate(1px, -1px) rotate(1deg);\n }\n 50% {\n transform: translate(-1px, 3px) rotate(-1deg);\n }\n 60% {\n transform: translate(-1px, 1px) rotate(0deg);\n }\n 70% {\n transform: translate(3px, 1px) rotate(-1deg);\n }\n 80% {\n transform: translate(-2px, -1px) rotate(1deg);\n }\n 90% {\n transform: translate(2px, 1px) rotate(0deg);\n }\n 100% {\n transform: translate(1px, -2px) rotate(-1deg);\n }\n}\n@keyframes strikes {\n from {\n left: 25px;\n }\n to {\n left: -80px;\n opacity: 0;\n }\n}\n@keyframes dots {\n from {\n width: 0px;\n }\n to {\n width: 300px;\n }\n}\n@keyframes fadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n.fadeIn, .loading-window {\n animation: fadeIn 0.4s both;\n}\n.loading-window {\n background: #333;\n border-radius: 6px;\n border: 3px solid #ffc107;\n color: #ffc107;\n height: 250px;\n left: 50%;\n margin-left: -150px;\n margin-top: -100px;\n position: fixed;\n top: 50%;\n width: 250px;\n\tz-index: 99;\n\tborder-radius: 50%;\n}\n.loading-window .text {\n\tfont-size: 24px;\n\tposition: absolute;\n\twidth: auto;\n\ttop: 60%;\n\tleft: 19%;\n\tmargin: 0 auto;\n\tcolor: #ff5f00;\n}\n.loading-window .dots {\n display: inline-block;\n width: 5px;\n overflow: hidden;\n vertical-align: bottom;\n animation: dots 1.5s linear infinite;\n\ttransition: 1;\n\tmargin-left: 5px;\n}\n.car {\n\tposition: absolute;\n\twidth: 117px;\n\theight: 42px;\n\tleft: 65px;\n\ttop: 70px;\n}\n.car .strike {\n position: absolute;\n width: 11px;\n\theight: 5px;\n background: #ff5f00;\n animation: strikes 0.2s linear infinite;\n}\n.car .strike2 {\n top: 11px;\n animation-delay: 0.05s;\n}\n.car .strike3 {\n top: 22px;\n animation-delay: 0.1s;\n}\n.car .strike4 {\n top: 33px;\n animation-delay: 0.15s;\n}\n.car .strike5 {\n top: 44px;\n animation-delay: 0.2s;\n}\n.car-detail {\n position: absolute;\n display: block;\n background: #ffc107;\n animation: speed 0.5s linear infinite;\n}\n.car-detail.spoiler {\n width: 0;\n height: 0;\n top: 7px;\n background: none;\n border: 20px solid transparent;\n border-bottom: 8px solid #ffc107;\n border-left: 20px solid #ffc107;\n}\n.car-detail.back {\n height: 20px;\n width: 92px;\n top: 15px;\n left: 0px;\n}\n.car-detail.center {\n height: 35px;\n width: 75px;\n left: 12px;\n border-top-left-radius: 30px;\n border-top-right-radius: 45px 40px;\n border: 4px solid #ffc107;\n background: none;\n box-sizing: border-box;\n}\n.car-detail.center1 {\n height: 35px;\n width: 35px;\n left: 12px;\n border-top-left-radius: 30px;\n}\n.car-detail.front {\n height: 20px;\n width: 50px;\n top: 15px;\n left: 67px;\n border-top-right-radius: 50px 40px;\n border-bottom-right-radius: 10px;\n}\n.car-detail.wheel {\n height: 20px;\n width: 20px;\n border-radius: 50%;\n top: 20px;\n left: 12px;\n border: 3px solid #333;\n background: linear-gradient(45deg, transparent 45%, #ffc107 46%, #ffc107 54%, transparent 55%), linear-gradient(-45deg, transparent 45%, #ffc107 46%, #ffc107 54%, transparent 55%), linear-gradient(90deg, transparent 45%, #ffc107 46%, #ffc107 54%, transparent 55%), linear-gradient(0deg, transparent 45%, #ffc107 46%, #ffc107 54%, transparent 55%), radial-gradient(#ffc107 29%, transparent 30%, transparent 50%, #ffc107 51%), #333;\n animation-name: spin;\n}\n.car-detail.wheel2 {\n left: 82px;\n}\n.spinner {\n display: inline-block;\n width: 51.2px;\n height: 51.2px;\n position: relative;\n top: 45%;\n margin-top: -25.6px;\n line-height: 100%;\n left:45%;\n}\n.spinner .text {\n position: absolute;\n top: 100%;\n left: -5px;\n right: 0;\n margin-top: 1.6em;\n text-align: center;\n font-size: 25px;\n color: #ffc107;\n font-weight: bold;\n}\n.spinner .spinner-circle {\n position: absolute;\n background-color: transparent;\n border-radius: 50%;\n border-style: solid;\n border-color: #f26522 transparent #f26522 transparent;\n}\n.spinner .spinner-circle.spinner-circle-outer {\n width: 90px;\n height: 90px;\n border-width: 8.8px;\n top: -6.400000000000002px;\n left: -6.400000000000002px;\n /* opacity: 0.2;\n -ms-filter: alpha(opacity=50);\n filter: alpha(opacity=50); */\n animation: spinner-rotate-outer 2s 0s ease-in-out infinite;\n}\n.spinner .spinner-circle.spinner-circle-inner {\n width: 50px;\n height: 50px;\n border-width: 6.4px;\n top: 12.799999999999999px;\n left: 12.799999999999999px;\n opacity: 0.0;\n -ms-filter: alpha(opacity=70);\n filter: alpha(opacity=70);\n animation: spinner-rotate-inner 3s 0s linear infinite;\n}\n.spinner .spinner-circle.spinner-circle-single-1 {\n width: 60px;\n height: 60px;\n border-width: 4.6px;\n top: 10.2px;\n left: 12.2px;\n opacity: 0.9;\n -ms-filter: alpha(opacity=30);\n filter: alpha(opacity=30);\n animation: spinner-rotate-single-1 5s 0s ease-in-out infinite;\n border-color: transparent transparent transparent #ffc107;\n box-shadow: 2px 0 2px #ffc107;\n}\n.spinner .spinner-circle.spinner-circle-single-2 {\n width: 0;\n height: 0;\n border-width: 25.6px;\n top: 6.399999999999999px;\n left: 6.399999999999999px;\n opacity: 0.0;\n -ms-filter: alpha(opacity=30);\n filter: alpha(opacity=30);\n animation: spinner-rotate-single-2 7s 0s ease-in-out infinite;\n border-color: #ffc107 transparent transparent transparent;\n box-shadow: 0 -12px 4px #ffc107;\n}\n@keyframes spinner-rotate-outer {\n 0% {\n transform: rotateZ(0deg);\n }\n 100% {\n transform: rotateZ(360deg);\n }\n}\n@keyframes spinner-rotate-inner {\n 0% {\n transform: rotateZ(30deg);\n }\n 100% {\n transform: rotateZ(390deg);\n }\n}\n@keyframes spinner-rotate-single-1 {\n 0% {\n transform: rotateZ(56deg);\n }\n 20% {\n transform: rotateZ(-132deg);\n }\n 40% {\n transform: rotateZ(-250deg);\n }\n 60% {\n transform: rotateZ(40deg);\n }\n 70% {\n transform: rotateZ(-80deg);\n }\n 100% {\n transform: rotateZ(56deg);\n }\n}\n@keyframes spinner-rotate-single-2 {\n 0% {\n transform: rotateZ(-24deg);\n }\n 10% {\n transform: rotateZ(142deg);\n }\n 20% {\n transform: rotateZ(-87deg);\n }\n 30% {\n transform: rotateZ(-345deg);\n }\n 40% {\n transform: rotateZ(86deg);\n }\n 50% {\n transform: rotateZ(175deg);\n }\n 60% {\n transform: rotateZ(-245deg);\n }\n 70% {\n transform: rotateZ(4deg);\n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Byb3RhdGVaKC0xMzJkZWcpO1xuICAgIC1tb3otdHJhbnNmb3JtOiByb3RhdGVaKC0xMzJkZWcpO1xuICAgIC1vLXRyYW5zZm9ybTogcm90YXRlWigtMTMyZGVnKTtcbiAgICAtbXMtdHJhbnNmb3JtOiByb3RhdGVaKC0xMzJkZWcpO1xuICAgIHRyYW5zZm9ybTogcm90YXRlWigtMTMyZGVnKTtcbiAgfVxuICA5MCUge1xuICAgIC13ZWJraXQtdHJhbnNmb3JtOiByb3RhdGVaKDM0NWRlZyk7XG4gICAgLW1vei10cmFuc2Zvcm06IHJvdGF0ZVooMzQ1ZGVnKTtcbiAgICAtby10cmFuc2Zvcm06IHJvdGF0ZVooMzQ1ZGVnKTtcbiAgICAtbXMtdHJhbnNmb3JtOiByb3RhdGVaKDM0NWRlZyk7XG4gICAgdHJhbnNmb3JtOiByb3RhdGVaKDM0NWRlZyk7XG4gIH1cbiAgMTAwJSB7XG4gICAgLXdlYmtpdC10cmFuc2Zvcm06IHJvdGF0ZVooLTI0ZGVnKTtcbiAgICAtbW96LXRyYW5zZm9ybTogcm90YXRlWigtMjRkZWcpO1xuICAgIC1vLXRyYW5zZm9ybTogcm90YXRlWigtMjRkZWcpO1xuICAgIC1tcy10cmFuc2Zvcm06IHJvdGF0ZVooLTI0ZGVnKTtcbiAgICB0cmFuc2Zvcm06IHJvdGF0ZVooLTI0ZGVnKTtcbiAgfVxufVxuIl19 */" /***/ }), /***/ "./src/app/common/spinner-loading/spinner-loading.component.html": /*!***********************************************************************!*\ !*** ./src/app/common/spinner-loading/spinner-loading.component.html ***! \***********************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "\n\n
\n\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n\n
\n TPM2 Loading...\n
\n
\n
\n
\n\n\n" /***/ }), /***/ "./src/app/common/spinner-loading/spinner-loading.component.ts": /*!*********************************************************************!*\ !*** ./src/app/common/spinner-loading/spinner-loading.component.ts ***! \*********************************************************************/ /*! exports provided: SpinnerLoadingComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SpinnerLoadingComponent", function() { return SpinnerLoadingComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); var SpinnerLoadingComponent = /** @class */ (function () { function SpinnerLoadingComponent() { } SpinnerLoadingComponent.prototype.ngOnInit = function () { }; SpinnerLoadingComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'spinner-loading', template: __webpack_require__(/*! ./spinner-loading.component.html */ "./src/app/common/spinner-loading/spinner-loading.component.html"), styles: [__webpack_require__(/*! ./spinner-loading.component.css */ "./src/app/common/spinner-loading/spinner-loading.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", []) ], SpinnerLoadingComponent); return SpinnerLoadingComponent; }()); /***/ }), /***/ "./src/app/common/spinner-loading/spinner-loading.service.ts": /*!*******************************************************************!*\ !*** ./src/app/common/spinner-loading/spinner-loading.service.ts ***! \*******************************************************************/ /*! exports provided: SpinnerLoadingService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SpinnerLoadingService", function() { return SpinnerLoadingService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm5/index.js"); var SpinnerLoadingService = /** @class */ (function () { function SpinnerLoadingService() { this.subject = new rxjs__WEBPACK_IMPORTED_MODULE_2__["BehaviorSubject"](''); } SpinnerLoadingService.prototype.sendMessage = function (message) { this.subject.next(message); }; SpinnerLoadingService.prototype.clearMessages = function () { this.subject.next(''); }; SpinnerLoadingService.prototype.getMessage = function () { return this.subject.asObservable(); }; SpinnerLoadingService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", []) ], SpinnerLoadingService); return SpinnerLoadingService; }()); /***/ }), /***/ "./src/app/common/spot-fire/spot-fire-exploitation/map-electrique/map-electrique.component.css": /*!*****************************************************************************************************!*\ !*** ./src/app/common/spot-fire/spot-fire-exploitation/map-electrique/map-electrique.component.css ***! \*****************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = ".flexRowButton {\n padding-top: 20px;\n padding-bottom: 5px;\n /* min-width: 100%; */\n}\n\n.buttonStyle {\n display: flex;\n flex-direction: initial;\n justify-content: center;\n background: #EFDF00;\n margin-top: -18px;\n padding-bottom: 20px;\n}\n\n.flexRowButtonMap {\n padding-top: 20px;\n padding-bottom: 5px;\n padding-left: 22px;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tbW9uL3Nwb3QtZmlyZS9zcG90LWZpcmUtZXhwbG9pdGF0aW9uL21hcC1lbGVjdHJpcXVlL21hcC1lbGVjdHJpcXVlLmNvbXBvbmVudC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7SUFDSSxpQkFBaUI7SUFDakIsbUJBQW1CO0lBQ25CLHFCQUFxQjtBQUN6Qjs7QUFFQTtJQUNJLGFBQWE7SUFDYix1QkFBdUI7SUFDdkIsdUJBQXVCO0lBQ3ZCLG1CQUFtQjtJQUNuQixpQkFBaUI7SUFDakIsb0JBQW9CO0FBQ3hCOztBQUVBO0lBQ0ksaUJBQWlCO0lBQ2pCLG1CQUFtQjtJQUNuQixrQkFBa0I7QUFDdEIiLCJmaWxlIjoic3JjL2FwcC9jb21tb24vc3BvdC1maXJlL3Nwb3QtZmlyZS1leHBsb2l0YXRpb24vbWFwLWVsZWN0cmlxdWUvbWFwLWVsZWN0cmlxdWUuY29tcG9uZW50LmNzcyIsInNvdXJjZXNDb250ZW50IjpbIi5mbGV4Um93QnV0dG9uIHtcbiAgICBwYWRkaW5nLXRvcDogMjBweDtcbiAgICBwYWRkaW5nLWJvdHRvbTogNXB4O1xuICAgIC8qIG1pbi13aWR0aDogMTAwJTsgKi9cbn1cblxuLmJ1dHRvblN0eWxlIHtcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIGZsZXgtZGlyZWN0aW9uOiBpbml0aWFsO1xuICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICAgIGJhY2tncm91bmQ6ICNFRkRGMDA7XG4gICAgbWFyZ2luLXRvcDogLTE4cHg7XG4gICAgcGFkZGluZy1ib3R0b206IDIwcHg7XG59XG5cbi5mbGV4Um93QnV0dG9uTWFwIHtcbiAgICBwYWRkaW5nLXRvcDogMjBweDtcbiAgICBwYWRkaW5nLWJvdHRvbTogNXB4O1xuICAgIHBhZGRpbmctbGVmdDogMjJweDtcbn0iXX0= */" /***/ }), /***/ "./src/app/common/spot-fire/spot-fire-exploitation/map-electrique/map-electrique.component.html": /*!******************************************************************************************************!*\ !*** ./src/app/common/spot-fire/spot-fire-exploitation/map-electrique/map-electrique.component.html ***! \******************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "
\n

EXPLOITATION – MAP\n ELECTRIQUE

\n
\n \n \n
\n
\n
\n
\n \n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n\n
\n
\n
\n
\n
\n\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
" /***/ }), /***/ "./src/app/common/spot-fire/spot-fire-exploitation/map-electrique/map-electrique.component.ts": /*!****************************************************************************************************!*\ !*** ./src/app/common/spot-fire/spot-fire-exploitation/map-electrique/map-electrique.component.ts ***! \****************************************************************************************************/ /*! exports provided: MapElectriqueComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MapElectriqueComponent", function() { return MapElectriqueComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/material */ "./node_modules/@angular/material/esm5/material.es5.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); var MapElectriqueComponent = /** @class */ (function () { function MapElectriqueComponent(dialogRef, dialog) { this.dialogRef = dialogRef; this.dialog = dialog; } MapElectriqueComponent.prototype.ngOnInit = function () { }; MapElectriqueComponent.prototype.onClose = function (event) { this.dialogRef.close(event); }; MapElectriqueComponent.prototype.expMapElec = function () { window.open(src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].exploitationMapElectriqueOpeUrl); }; MapElectriqueComponent.prototype.receptionUo = function () { window.open(src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].exploitationMapElectriqueUOOpeUrl); }; MapElectriqueComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'map-electrique', template: __webpack_require__(/*! ./map-electrique.component.html */ "./src/app/common/spot-fire/spot-fire-exploitation/map-electrique/map-electrique.component.html"), styles: [__webpack_require__(/*! ./map-electrique.component.css */ "./src/app/common/spot-fire/spot-fire-exploitation/map-electrique/map-electrique.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_material__WEBPACK_IMPORTED_MODULE_2__["MatDialogRef"], _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatDialog"]]) ], MapElectriqueComponent); return MapElectriqueComponent; }()); /***/ }), /***/ "./src/app/common/spot-fire/spot-fire-exploitation/map-energetique/energetique-banc-moteur/energetique-banc-moteur.component.css": /*!***************************************************************************************************************************************!*\ !*** ./src/app/common/spot-fire/spot-fire-exploitation/map-energetique/energetique-banc-moteur/energetique-banc-moteur.component.css ***! \***************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = ".buttonUIBanc {\n background: lightgrey;\n font-weight: bold !important;\n padding: 7px 7px 7px 7px;\n min-width: 100%;\n height: 95px;\n}\n.flexRow {\n display: flex;\n flex-wrap: wrap;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tbW9uL3Nwb3QtZmlyZS9zcG90LWZpcmUtZXhwbG9pdGF0aW9uL21hcC1lbmVyZ2V0aXF1ZS9lbmVyZ2V0aXF1ZS1iYW5jLW1vdGV1ci9lbmVyZ2V0aXF1ZS1iYW5jLW1vdGV1ci5jb21wb25lbnQuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0UscUJBQXFCO0VBQ3JCLDRCQUE0QjtFQUM1Qix3QkFBd0I7RUFDeEIsZUFBZTtFQUNmLFlBQVk7QUFDZDtBQUNBO0lBQ0ksYUFBYTtJQUNiLGVBQWU7QUFDbkIiLCJmaWxlIjoic3JjL2FwcC9jb21tb24vc3BvdC1maXJlL3Nwb3QtZmlyZS1leHBsb2l0YXRpb24vbWFwLWVuZXJnZXRpcXVlL2VuZXJnZXRpcXVlLWJhbmMtbW90ZXVyL2VuZXJnZXRpcXVlLWJhbmMtbW90ZXVyLmNvbXBvbmVudC5jc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuYnV0dG9uVUlCYW5jIHtcbiAgYmFja2dyb3VuZDogbGlnaHRncmV5O1xuICBmb250LXdlaWdodDogYm9sZCAhaW1wb3J0YW50O1xuICBwYWRkaW5nOiA3cHggN3B4IDdweCA3cHg7XG4gIG1pbi13aWR0aDogMTAwJTtcbiAgaGVpZ2h0OiA5NXB4O1xufVxuLmZsZXhSb3cge1xuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgZmxleC13cmFwOiB3cmFwO1xufSJdfQ== */" /***/ }), /***/ "./src/app/common/spot-fire/spot-fire-exploitation/map-energetique/energetique-banc-moteur/energetique-banc-moteur.component.html": /*!****************************************************************************************************************************************!*\ !*** ./src/app/common/spot-fire/spot-fire-exploitation/map-energetique/energetique-banc-moteur/energetique-banc-moteur.component.html ***! \****************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "
\n

EXPLOITATION – MAP\n ENERGETIQUE – BANC MOTEUR

\n
\n \n \n
\n
\n
\n
\n \n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
" /***/ }), /***/ "./src/app/common/spot-fire/spot-fire-exploitation/map-energetique/energetique-banc-moteur/energetique-banc-moteur.component.ts": /*!**************************************************************************************************************************************!*\ !*** ./src/app/common/spot-fire/spot-fire-exploitation/map-energetique/energetique-banc-moteur/energetique-banc-moteur.component.ts ***! \**************************************************************************************************************************************/ /*! exports provided: EnergetiqueBancMoteur */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EnergetiqueBancMoteur", function() { return EnergetiqueBancMoteur; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/material */ "./node_modules/@angular/material/esm5/material.es5.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); var EnergetiqueBancMoteur = /** @class */ (function () { function EnergetiqueBancMoteur(dialogRef) { this.dialogRef = dialogRef; } EnergetiqueBancMoteur.prototype.ngOnInit = function () { }; EnergetiqueBancMoteur.prototype.onClose = function (event) { this.dialogRef.close(event); }; EnergetiqueBancMoteur.prototype.bilanExploitation = function () { window.open(src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].energetiqueBancMoteurBilanExplOpeUrl); }; EnergetiqueBancMoteur.prototype.vsdAndMonitoring = function () { window.open(src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].energetiqueBancMoteurVsdAndMonitoringOpeUrl); }; EnergetiqueBancMoteur.prototype.rTech = function () { window.open(src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].energetiqueBancMoteurRtechOpeUrl); }; EnergetiqueBancMoteur.prototype.reception = function () { window.open(src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].energetiqueBancMoteurReceptionUoOpeUrl); }; EnergetiqueBancMoteur.prototype.sda = function () { window.open(src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].energetiqueBancMoteurSdaOpeUrl); }; EnergetiqueBancMoteur = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'energetique-banc-moteur', template: __webpack_require__(/*! ./energetique-banc-moteur.component.html */ "./src/app/common/spot-fire/spot-fire-exploitation/map-energetique/energetique-banc-moteur/energetique-banc-moteur.component.html"), styles: [__webpack_require__(/*! ./energetique-banc-moteur.component.css */ "./src/app/common/spot-fire/spot-fire-exploitation/map-energetique/energetique-banc-moteur/energetique-banc-moteur.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_material__WEBPACK_IMPORTED_MODULE_2__["MatDialogRef"]]) ], EnergetiqueBancMoteur); return EnergetiqueBancMoteur; }()); /***/ }), /***/ "./src/app/common/spot-fire/spot-fire-exploitation/map-energetique/map-energetique.component.css": /*!*******************************************************************************************************!*\ !*** ./src/app/common/spot-fire/spot-fire-exploitation/map-energetique/map-energetique.component.css ***! \*******************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = ".spotfire-header {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n padding: 0px 10px !important;\n border: none;\n background: #EFDF00;\n margin-bottom: 0px;\n text-align: center;\n}\n\n.spotfire-header .close{outline: none}\n\n.flexRow {\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n}\n\n.spotfireUIBorder {\n border: white;\n background: #EFDF00;\n border-width: 8px;\n border-style: solid;\n}\n\n.imgBorder{\n border: white!important;\n border-width: thick!important;\n border-width: 10px!important;\n border-style: solid!important;\n}\n\n.imgSize {\n -o-object-fit: cover;\n object-fit: cover;\n width: 100%;\n height: 150px;\n}\n\n.buttonUI {\n display: inline-grid !important;\n background: lightgrey;\n font-weight: bold !important;\n padding: 7px 7px 7px 7px;\n min-width: 100%;\n height: 95px;\n}\n\n.buttonCaption {\n font-size: 11px;\n color: white;\n}\n\n.flexRowButton {\n padding-top: 20px;\n padding-bottom: 5px;\n min-width: 100%;\n}\n/*# sourceMappingURL=data:application/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hZGRpbmc6IDdweCA3cHggN3B4IDdweDtcbiAgbWluLXdpZHRoOiAxMDAlO1xuICBoZWlnaHQ6IDk1cHg7XG59XG5cbi5idXR0b25DYXB0aW9uIHtcbiAgZm9udC1zaXplOiAxMXB4O1xuICBjb2xvcjogd2hpdGU7XG59XG5cbi5mbGV4Um93QnV0dG9uIHtcbiAgcGFkZGluZy10b3A6IDIwcHg7XG4gIHBhZGRpbmctYm90dG9tOiA1cHg7XG4gIG1pbi13aWR0aDogMTAwJTtcbn0iXX0= */" /***/ }), /***/ "./src/app/common/spot-fire/spot-fire-exploitation/map-energetique/map-energetique.component.html": /*!********************************************************************************************************!*\ !*** ./src/app/common/spot-fire/spot-fire-exploitation/map-energetique/map-energetique.component.html ***! \********************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "
\n

EXPLOITATION – MAP\n ENERGETIQUE

\n
\n \n \n
\n
\n
\n
\n \n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
" /***/ }), /***/ "./src/app/common/spot-fire/spot-fire-exploitation/map-energetique/map-energetique.component.ts": /*!******************************************************************************************************!*\ !*** ./src/app/common/spot-fire/spot-fire-exploitation/map-energetique/map-energetique.component.ts ***! \******************************************************************************************************/ /*! exports provided: MapEnergetiqueComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MapEnergetiqueComponent", function() { return MapEnergetiqueComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/material */ "./node_modules/@angular/material/esm5/material.es5.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _energetique_banc_moteur_energetique_banc_moteur_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./energetique-banc-moteur/energetique-banc-moteur.component */ "./src/app/common/spot-fire/spot-fire-exploitation/map-energetique/energetique-banc-moteur/energetique-banc-moteur.component.ts"); var MapEnergetiqueComponent = /** @class */ (function () { function MapEnergetiqueComponent(dialogRef, dialog) { this.dialogRef = dialogRef; this.dialog = dialog; } MapEnergetiqueComponent.prototype.ngOnInit = function () { }; MapEnergetiqueComponent.prototype.onClose = function (event) { this.dialogRef.close(event); }; MapEnergetiqueComponent.prototype.bancMoteur = function () { var _this = this; this.dialogRef.updateSize('2000px', '200px'); if (this.dialog.openDialogs.length === 3) { var dialogRef = this.dialog.open(_energetique_banc_moteur_energetique_banc_moteur_component__WEBPACK_IMPORTED_MODULE_4__["EnergetiqueBancMoteur"], { width: '2000px', data: {} }); dialogRef.afterClosed().subscribe(function (result) { if (result) { _this.dialogRef.close(); } else { _this.dialogRef.updateSize('2000px', 'auto'); } }); } }; MapEnergetiqueComponent.prototype.bar = function () { window.open(src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].exploitationEnergetiqueBarOpeUrl); }; MapEnergetiqueComponent.prototype.brap = function () { window.open(src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].exploitationEnergetiqueBrapOpeUrl); }; MapEnergetiqueComponent.prototype.barCop = function () { window.open(src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].exploitationEnergetiqueBarCopOpeUrl); }; MapEnergetiqueComponent.prototype.pems = function () { window.open(src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].exploitationEnergetiquePemsOpeUrl); }; MapEnergetiqueComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'map-energetique', template: __webpack_require__(/*! ./map-energetique.component.html */ "./src/app/common/spot-fire/spot-fire-exploitation/map-energetique/map-energetique.component.html"), styles: [__webpack_require__(/*! ./map-energetique.component.css */ "./src/app/common/spot-fire/spot-fire-exploitation/map-energetique/map-energetique.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_material__WEBPACK_IMPORTED_MODULE_2__["MatDialogRef"], _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatDialog"]]) ], MapEnergetiqueComponent); return MapEnergetiqueComponent; }()); /***/ }), /***/ "./src/app/common/spot-fire/spot-fire-exploitation/map-mecanique/map-mecanique.component.css": /*!***************************************************************************************************!*\ !*** ./src/app/common/spot-fire/spot-fire-exploitation/map-mecanique/map-mecanique.component.css ***! \***************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = ".imgSizeForMecanique {\n width: 50%;\n height: 150px;\n}\n\n.leftImgBorder {\n border: white!important;\n border-width: thick!important;\n border-width: 10px 5px 10px 10px !important;\n border-style: solid!important;\n}\n\n.rightImgBorder {\n border: white!important;\n border-width: thick!important;\n border-width: 10px 10px 10px 5px !important;\n border-style: solid!important;\n}\n\n.imgDimension{\n width: 85%;\n}\n\n.p-grid.spotfireUIBorder {\n padding-left: 35px;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tbW9uL3Nwb3QtZmlyZS9zcG90LWZpcmUtZXhwbG9pdGF0aW9uL21hcC1tZWNhbmlxdWUvbWFwLW1lY2FuaXF1ZS5jb21wb25lbnQuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0UsVUFBVTtFQUNWLGFBQWE7QUFDZjs7QUFFQTtFQUNFLHVCQUF1QjtFQUN2Qiw2QkFBNkI7RUFDN0IsMkNBQTJDO0VBQzNDLDZCQUE2QjtBQUMvQjs7QUFFQTtFQUNFLHVCQUF1QjtFQUN2Qiw2QkFBNkI7RUFDN0IsMkNBQTJDO0VBQzNDLDZCQUE2QjtBQUMvQjs7QUFFQTtFQUNFLFVBQVU7QUFDWjs7QUFDQTtJQUNJLGtCQUFrQjtBQUN0QiIsImZpbGUiOiJzcmMvYXBwL2NvbW1vbi9zcG90LWZpcmUvc3BvdC1maXJlLWV4cGxvaXRhdGlvbi9tYXAtbWVjYW5pcXVlL21hcC1tZWNhbmlxdWUuY29tcG9uZW50LmNzcyIsInNvdXJjZXNDb250ZW50IjpbIi5pbWdTaXplRm9yTWVjYW5pcXVlIHtcbiAgd2lkdGg6IDUwJTtcbiAgaGVpZ2h0OiAxNTBweDtcbn1cblxuLmxlZnRJbWdCb3JkZXIge1xuICBib3JkZXI6IHdoaXRlIWltcG9ydGFudDtcbiAgYm9yZGVyLXdpZHRoOiB0aGljayFpbXBvcnRhbnQ7XG4gIGJvcmRlci13aWR0aDogMTBweCA1cHggMTBweCAxMHB4ICFpbXBvcnRhbnQ7XG4gIGJvcmRlci1zdHlsZTogc29saWQhaW1wb3J0YW50O1xufVxuXG4ucmlnaHRJbWdCb3JkZXIge1xuICBib3JkZXI6IHdoaXRlIWltcG9ydGFudDtcbiAgYm9yZGVyLXdpZHRoOiB0aGljayFpbXBvcnRhbnQ7XG4gIGJvcmRlci13aWR0aDogMTBweCAxMHB4IDEwcHggNXB4ICFpbXBvcnRhbnQ7XG4gIGJvcmRlci1zdHlsZTogc29saWQhaW1wb3J0YW50O1xufVxuXG4uaW1nRGltZW5zaW9ue1xuICB3aWR0aDogODUlO1xufVxuLnAtZ3JpZC5zcG90ZmlyZVVJQm9yZGVyIHtcbiAgICBwYWRkaW5nLWxlZnQ6IDM1cHg7XG59Il19 */" /***/ }), /***/ "./src/app/common/spot-fire/spot-fire-exploitation/map-mecanique/map-mecanique.component.html": /*!****************************************************************************************************!*\ !*** ./src/app/common/spot-fire/spot-fire-exploitation/map-mecanique/map-mecanique.component.html ***! \****************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "
\n

EXPLOITATION – MAP\n MECANIQUE

\n
\n \n \n
\n
\n
\n
\n \n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
" /***/ }), /***/ "./src/app/common/spot-fire/spot-fire-exploitation/map-mecanique/map-mecanique.component.ts": /*!**************************************************************************************************!*\ !*** ./src/app/common/spot-fire/spot-fire-exploitation/map-mecanique/map-mecanique.component.ts ***! \**************************************************************************************************/ /*! exports provided: MapMecaniqueComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MapMecaniqueComponent", function() { return MapMecaniqueComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/material */ "./node_modules/@angular/material/esm5/material.es5.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); var MapMecaniqueComponent = /** @class */ (function () { function MapMecaniqueComponent(dialogRef) { this.dialogRef = dialogRef; } MapMecaniqueComponent.prototype.ngOnInit = function () { }; MapMecaniqueComponent.prototype.onClose = function (event) { this.dialogRef.close(event); }; MapMecaniqueComponent.prototype.bmsMeca = function () { window.open(src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].exploitationMapMechaniqueMecaOpeUrl); }; MapMecaniqueComponent.prototype.receptionUo = function () { window.open(src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].exploitationMapMechaniqueReceptionUoOpeUrl); }; MapMecaniqueComponent.prototype.cleon = function () { window.open(src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].exploitationMapMechaniqueCleonOpeUrl); }; MapMecaniqueComponent.prototype.nvh = function () { window.open(src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].exploitationMapMechaniqueNvhOpeUrl); }; MapMecaniqueComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'map-mecanique', template: __webpack_require__(/*! ./map-mecanique.component.html */ "./src/app/common/spot-fire/spot-fire-exploitation/map-mecanique/map-mecanique.component.html"), styles: [__webpack_require__(/*! ./map-mecanique.component.css */ "./src/app/common/spot-fire/spot-fire-exploitation/map-mecanique/map-mecanique.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_material__WEBPACK_IMPORTED_MODULE_2__["MatDialogRef"]]) ], MapMecaniqueComponent); return MapMecaniqueComponent; }()); /***/ }), /***/ "./src/app/common/spot-fire/spot-fire-exploitation/spot-fire-exploitation.component.css": /*!**********************************************************************************************!*\ !*** ./src/app/common/spot-fire/spot-fire-exploitation/spot-fire-exploitation.component.css ***! \**********************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = ".spotfire-header {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n padding: 0px 10px !important;\n border: none;\n background: #ffc107;\n margin-bottom: 0px;\n text-align: center;\n}\n\n.spotfire-header .close{outline: none}\n\n.buttonUIMaintenance {\n background: lightgrey;\n font-weight: bold !important;\n padding: 7px 7px 7px 7px;\n min-width: 100%;\n height: 95px;\n}\n\n.imgDimension{\n width: 70%;\n}\n\n.p-grid.spotfireUIBorder {\n padding-left: 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FuY2Uge1xuICBiYWNrZ3JvdW5kOiBsaWdodGdyZXk7XG4gIGZvbnQtd2VpZ2h0OiBib2xkICFpbXBvcnRhbnQ7XG4gIHBhZGRpbmc6IDdweCA3cHggN3B4IDdweDtcbiAgbWluLXdpZHRoOiAxMDAlO1xuICBoZWlnaHQ6IDk1cHg7XG59XG4uaW1nRGltZW5zaW9ue1xuICB3aWR0aDogNzAlO1xufVxuXG4ucC1ncmlkLnNwb3RmaXJlVUlCb3JkZXIge1xuICAgIHBhZGRpbmctbGVmdDogMTAwcHg7XG59Il19 */" /***/ }), /***/ "./src/app/common/spot-fire/spot-fire-exploitation/spot-fire-exploitation.component.html": /*!***********************************************************************************************!*\ !*** ./src/app/common/spot-fire/spot-fire-exploitation/spot-fire-exploitation.component.html ***! \***********************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "
\n

EXPLOITATION

\n
\n \n \n
\n
\n
\n
\n \n
\n
\n\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
" /***/ }), /***/ "./src/app/common/spot-fire/spot-fire-exploitation/spot-fire-exploitation.component.ts": /*!*********************************************************************************************!*\ !*** ./src/app/common/spot-fire/spot-fire-exploitation/spot-fire-exploitation.component.ts ***! \*********************************************************************************************/ /*! exports provided: SpotFireExploitationComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SpotFireExploitationComponent", function() { return SpotFireExploitationComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/material */ "./node_modules/@angular/material/esm5/material.es5.js"); /* harmony import */ var _map_electrique_map_electrique_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./map-electrique/map-electrique.component */ "./src/app/common/spot-fire/spot-fire-exploitation/map-electrique/map-electrique.component.ts"); /* harmony import */ var _map_energetique_map_energetique_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./map-energetique/map-energetique.component */ "./src/app/common/spot-fire/spot-fire-exploitation/map-energetique/map-energetique.component.ts"); /* harmony import */ var _map_mecanique_map_mecanique_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./map-mecanique/map-mecanique.component */ "./src/app/common/spot-fire/spot-fire-exploitation/map-mecanique/map-mecanique.component.ts"); var SpotFireExploitationComponent = /** @class */ (function () { function SpotFireExploitationComponent(dialogRef, dialog) { this.dialogRef = dialogRef; this.dialog = dialog; } SpotFireExploitationComponent.prototype.ngOnInit = function () { }; SpotFireExploitationComponent.prototype.onClose = function (event) { this.dialogRef.close(event); }; SpotFireExploitationComponent.prototype.mapEnergetique = function () { var _this = this; this.dialogRef.updateSize('2000px', '200px'); if (this.dialog.openDialogs.length === 2) { var dialogRef = this.dialog.open(_map_energetique_map_energetique_component__WEBPACK_IMPORTED_MODULE_4__["MapEnergetiqueComponent"], { width: '2000px', data: {} }); dialogRef.afterClosed().subscribe(function (result) { if (result) { _this.dialogRef.close(); } else { _this.dialogRef.updateSize('2000px', 'auto'); } }); } }; SpotFireExploitationComponent.prototype.mapMecanique = function () { var _this = this; // window.open(environment.exploitationMecaniqueOpeUrl); //Mecanique screen this.dialogRef.updateSize('2000px', '200px'); if (this.dialog.openDialogs.length === 2) { var dialogRef = this.dialog.open(_map_mecanique_map_mecanique_component__WEBPACK_IMPORTED_MODULE_5__["MapMecaniqueComponent"], { width: '2000px', data: {} }); dialogRef.afterClosed().subscribe(function (result) { if (result) { _this.dialogRef.close(); } else { _this.dialogRef.updateSize('2000px', 'auto'); } }); } }; SpotFireExploitationComponent.prototype.mapElectrique = function () { var _this = this; // window.open(environment.exploitationElectriqueOpeUrl); this.dialogRef.updateSize('2000px', '200px'); if (this.dialog.openDialogs.length === 2) { var dialogRef = this.dialog.open(_map_electrique_map_electrique_component__WEBPACK_IMPORTED_MODULE_3__["MapElectriqueComponent"], { width: '2000px', data: {} }); dialogRef.afterClosed().subscribe(function (result) { if (result) { _this.dialogRef.close(); } else { _this.dialogRef.updateSize('2000px', 'auto'); } }); } }; SpotFireExploitationComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'spot-fire-exploitation', template: __webpack_require__(/*! ./spot-fire-exploitation.component.html */ "./src/app/common/spot-fire/spot-fire-exploitation/spot-fire-exploitation.component.html"), styles: [__webpack_require__(/*! ./spot-fire-exploitation.component.css */ "./src/app/common/spot-fire/spot-fire-exploitation/spot-fire-exploitation.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_material__WEBPACK_IMPORTED_MODULE_2__["MatDialogRef"], _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatDialog"]]) ], SpotFireExploitationComponent); return SpotFireExploitationComponent; }()); /***/ }), /***/ "./src/app/common/spot-fire/spot-fire-maintenance/spot-fire-maintenance.component.css": /*!********************************************************************************************!*\ !*** ./src/app/common/spot-fire/spot-fire-maintenance/spot-fire-maintenance.component.css ***! \********************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = ".spotfire-header {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n padding: 0px 10px !important;\n border: none;\n background-color: #ff7941;\n margin-bottom: 0px;\n text-align: center;\n}\n\n.spotfire-header .close{outline: none}\n\n.imgHeader {\n width: 25%;\n height: 112px;\n}\n\n.buttonUIMaintenance {\n background: lightgrey;\n font-weight: bold !important;\n padding: 7px 7px 7px 7px;\n min-width: 85%;\n height: 90px;\n}\n\n.spotfireUIBorder.projetContentPosition {\n background-color: #ff7941;\n}\n\n.imgDimension {\n /* justify-content: center; */\n /* padding-left: 137px; */\n /* margin-left: 3.2%;\n margin-right: 0%;\n padding-left: 2%;\n width: 30%; */\n}\n\n.buttonView {\n display: flex;\n flex-direction: initial;\n padding-top: 1%;\n padding-left: 2%;\n \n}\n\n.gridMaintenance {\n display: flex;\n flex-direction: initial;\n padding-top: 1%;\n padding-left: 2%;\n}\n\n/* .non-report-images{\n display: flex;\n flex-direction: initial;\n margin-left: 20%;\n} */\n\n.non-report-button{\n display: flex;\n flex-direction: initial;\n margin-left: 20%;\n}\n\n.report-button{\n width: 50%;\n}\n\n.report-image{\n width: 50%;\n}\n\n/* -------------new css starts here----------- */\n\n.main-body-container {\ndisplay: flex;\n padding-top: 10px;\n padding-left: 10px;\n}\n\n.non-report-images{\n display: flex;\n flex-direction: initial;\n}\n\n.non-report-buttons{\n padding-bottom: 4%;\n padding-top: 2%;\n padding-left: 2%;\n width: 96%;\n}\n\n.reporting{\nwidth: 30%\n}\n\n.non-reporting{\nwidth:70%\n}\n\n.imgDimensions{\n padding-left: 2%;\n width: 50%;\n}\n\n.reporting-image{\n padding-left: 12%;\n\n}\n\n.report-button{\n padding-top: 4%;\n padding-left: 12%;\n padding-bottom: 4%;\n width: 100% !important;\n}\n\n.buttonDimensions{\nwidth: 88%;\n}\n\n.non-buttonDimensions{\n width: 36%;\n display: flex;;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tbW9uL3Nwb3QtZmlyZS9zcG90LWZpcmUtbWFpbnRlbmFuY2Uvc3BvdC1maXJlLW1haW50ZW5hbmNlLmNvbXBvbmVudC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRSxhQUFhO0VBQ2IsdUJBQXVCO0VBQ3ZCLDhCQUE4QjtFQUM5Qiw0QkFBNEI7RUFDNUIsWUFBWTtFQUNaLHlCQ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BvcnQtYnV0dG9uc3tcbiAgICBwYWRkaW5nLWJvdHRvbTogNCU7XG4gICAgcGFkZGluZy10b3A6IDIlO1xuICAgIHBhZGRpbmctbGVmdDogMiU7XG4gICAgd2lkdGg6IDk2JTtcbn1cbi5yZXBvcnRpbmd7XG53aWR0aDogMzAlXG59XG4ubm9uLXJlcG9ydGluZ3tcbndpZHRoOjcwJVxufVxuLmltZ0RpbWVuc2lvbnN7XG4gIHBhZGRpbmctbGVmdDogMiU7XG4gIHdpZHRoOiA1MCU7XG59XG4ucmVwb3J0aW5nLWltYWdle1xuICBwYWRkaW5nLWxlZnQ6IDEyJTtcblxufVxuLnJlcG9ydC1idXR0b257XG4gICAgICBwYWRkaW5nLXRvcDogNCU7XG4gICAgcGFkZGluZy1sZWZ0OiAxMiU7XG4gICAgcGFkZGluZy1ib3R0b206IDQlO1xuICAgIHdpZHRoOiAxMDAlICFpbXBvcnRhbnQ7XG59XG4uYnV0dG9uRGltZW5zaW9uc3tcbndpZHRoOiA4OCU7XG59XG4ubm9uLWJ1dHRvbkRpbWVuc2lvbnN7XG4gIHdpZHRoOiAzNiU7XG4gIGRpc3BsYXk6IGZsZXg7O1xufSJdfQ== */" /***/ }), /***/ "./src/app/common/spot-fire/spot-fire-maintenance/spot-fire-maintenance.component.html": /*!*********************************************************************************************!*\ !*** ./src/app/common/spot-fire/spot-fire-maintenance/spot-fire-maintenance.component.html ***! \*********************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "\n
\n

QUALITE MAINTENANCE

\n
\n \n \n
\n
\n
\n \n
\n
\n \n \n
\n
\n
\n \n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n\n
\n
\n \n\n \n\n \n
\n
\n
\n
\n
" /***/ }), /***/ "./src/app/common/spot-fire/spot-fire-maintenance/spot-fire-maintenance.component.ts": /*!*******************************************************************************************!*\ !*** ./src/app/common/spot-fire/spot-fire-maintenance/spot-fire-maintenance.component.ts ***! \*******************************************************************************************/ /*! exports provided: SpotFireMaintenanceComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SpotFireMaintenanceComponent", function() { return SpotFireMaintenanceComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/material */ "./node_modules/@angular/material/esm5/material.es5.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); var SpotFireMaintenanceComponent = /** @class */ (function () { function SpotFireMaintenanceComponent(dialogRef, dialog) { this.dialogRef = dialogRef; this.dialog = dialog; } SpotFireMaintenanceComponent.prototype.ngOnInit = function () { }; SpotFireMaintenanceComponent.prototype.onClose = function (event) { this.dialogRef.close(event); }; SpotFireMaintenanceComponent.prototype.ftr = function () { window.open(src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].maintenanceFtrOpeUrl); }; SpotFireMaintenanceComponent.prototype.moyenEssais = function () { window.open(src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].maintenanceMoyenOpeUrl); }; SpotFireMaintenanceComponent.prototype.temps = function () { window.open(src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].maintenanceTempsOpeUrl); }; SpotFireMaintenanceComponent.prototype.logPuma = function () { window.open(src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].maintenanceLogPumaOpeUrl); }; SpotFireMaintenanceComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'spot-fire-maintenance', template: __webpack_require__(/*! ./spot-fire-maintenance.component.html */ "./src/app/common/spot-fire/spot-fire-maintenance/spot-fire-maintenance.component.html"), styles: [__webpack_require__(/*! ./spot-fire-maintenance.component.css */ "./src/app/common/spot-fire/spot-fire-maintenance/spot-fire-maintenance.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_material__WEBPACK_IMPORTED_MODULE_2__["MatDialogRef"], _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatDialog"]]) ], SpotFireMaintenanceComponent); return SpotFireMaintenanceComponent; }()); /***/ }), /***/ "./src/app/common/spot-fire/spot-fire-performance/spot-fire-performance.component.css": /*!********************************************************************************************!*\ !*** ./src/app/common/spot-fire/spot-fire-performance/spot-fire-performance.component.css ***! \********************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = ".spotfire-header {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n padding: 0px 10px !important;\n border: none;\n background: #ffc107;\n margin-bottom: 0px;\n text-align: center;\n}\n\n.spotfire-header .close{outline: none}\n\n.imgSizePerformance {\n width: 125px;\n height: 100px;\n margin-left: 36px;\n}\n\n.buttonUIPerformance {\n background: #005bbb;\n color: #fff; \n min-width: 50%;\n margin-left: 51px;\n height: 87px;\n border: white!important;\n border-width: thick!important;\n border-width: 10px!important;\n border-style: solid!important;\n}\n\n.performanceSubmenuUI {\n padding: 10px 0px 4px 6px;\n width: 100%;\n background: white;\n}\n\n.fa-arrow-circle-left:before {\n content: \"\\f0a8\";\n color: #fff;\n}\n\n.divPositionForPerformance {\n padding: 7px;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tbW9uL3Nwb3QtZmlyZS9zcG90LWZpcmUtcGVyZm9ybWFuY2Uvc3BvdC1maXJlLXBlcmZvcm1hbmNlLmNvbXBvbmVudC5jc3MiXSwibmFtZXMiOltdLCJt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cmZvcm1hbmNlIHtcbiAgd2lkdGg6IDEyNXB4O1xuICBoZWlnaHQ6IDEwMHB4O1xuICBtYXJnaW4tbGVmdDogMzZweDtcbn1cblxuLmJ1dHRvblVJUGVyZm9ybWFuY2Uge1xuICBiYWNrZ3JvdW5kOiAjMDA1YmJiO1xuICBjb2xvcjogI2ZmZjsgXG4gIG1pbi13aWR0aDogNTAlO1xuICBtYXJnaW4tbGVmdDogNTFweDtcbiAgaGVpZ2h0OiA4N3B4O1xuICBib3JkZXI6IHdoaXRlIWltcG9ydGFudDtcbiAgYm9yZGVyLXdpZHRoOiB0aGljayFpbXBvcnRhbnQ7XG4gIGJvcmRlci13aWR0aDogMTBweCFpbXBvcnRhbnQ7XG4gIGJvcmRlci1zdHlsZTogc29saWQhaW1wb3J0YW50O1xufVxuXG4ucGVyZm9ybWFuY2VTdWJtZW51VUkge1xuICBwYWRkaW5nOiAxMHB4IDBweCA0cHggNnB4O1xuICB3aWR0aDogMTAwJTtcbiAgYmFja2dyb3VuZDogd2hpdGU7XG59XG5cbi5mYS1hcnJvdy1jaXJjbGUtbGVmdDpiZWZvcmUge1xuICAgIGNvbnRlbnQ6IFwiXFxmMGE4XCI7XG4gICAgY29sb3I6ICNmZmY7XG59XG5cbi5kaXZQb3NpdGlvbkZvclBlcmZvcm1hbmNlIHtcbiAgcGFkZGluZzogN3B4O1xufSJdfQ== */" /***/ }), /***/ "./src/app/common/spot-fire/spot-fire-performance/spot-fire-performance.component.html": /*!*********************************************************************************************!*\ !*** ./src/app/common/spot-fire/spot-fire-performance/spot-fire-performance.component.html ***! \*********************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "\n\n
\n

PERFORMANCE

\n
\n \n \n
\n
\n\n
\n \n \n \n \n
\n\n
\n \n
\n
\n
\n \n \n\n
\n
\n \n \n\n
\n
\n \n \n\n
\n
\n
\n
\n
\n
\n \n \n\n
\n
\n \n \n\n
\n
\n
" /***/ }), /***/ "./src/app/common/spot-fire/spot-fire-performance/spot-fire-performance.component.ts": /*!*******************************************************************************************!*\ !*** ./src/app/common/spot-fire/spot-fire-performance/spot-fire-performance.component.ts ***! \*******************************************************************************************/ /*! exports provided: SpotFirePerformanceComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SpotFirePerformanceComponent", function() { return SpotFirePerformanceComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/material */ "./node_modules/@angular/material/esm5/material.es5.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _home_homeStaticFields__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../home/homeStaticFields */ "./src/app/common/home/homeStaticFields.ts"); var SpotFirePerformanceComponent = /** @class */ (function () { function SpotFirePerformanceComponent(dialogRef, dialog) { this.dialogRef = dialogRef; this.dialog = dialog; } SpotFirePerformanceComponent.prototype.ngOnInit = function () { this.envName = sessionStorage.getItem(_home_homeStaticFields__WEBPACK_IMPORTED_MODULE_4__["HomeStaticValues"].envName); }; SpotFirePerformanceComponent.prototype.onClose = function (event) { this.dialogRef.close(event); }; SpotFirePerformanceComponent.prototype.mapEnergetique = function () { if (this.envName === _home_homeStaticFields__WEBPACK_IMPORTED_MODULE_4__["HomeStaticValues"].RE7 || this.envName === _home_homeStaticFields__WEBPACK_IMPORTED_MODULE_4__["HomeStaticValues"].OPE) { window.open(src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].mapEnergeticOpeUrl); } else { window.open(src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].mapEnergeticQuaUrl); } }; SpotFirePerformanceComponent.prototype.mapMecanique = function () { if (this.envName === _home_homeStaticFields__WEBPACK_IMPORTED_MODULE_4__["HomeStaticValues"].RE7 || this.envName === _home_homeStaticFields__WEBPACK_IMPORTED_MODULE_4__["HomeStaticValues"].OPE) { window.open(src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].mapMecaniqueOpeUrl); } else { window.open(src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].mapMecaniqueQuaUrl); } }; SpotFirePerformanceComponent.prototype.mapElectrique = function () { if (this.envName === _home_homeStaticFields__WEBPACK_IMPORTED_MODULE_4__["HomeStaticValues"].RE7 || this.envName === _home_homeStaticFields__WEBPACK_IMPORTED_MODULE_4__["HomeStaticValues"].OPE) { window.open(src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].mapElectriqueOpeUrl); } else { window.open(src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].mapElectriqueQuaUrl); } }; SpotFirePerformanceComponent.prototype.nonRsGlobal = function () { /* if (this.envName === HomeStaticValues.RE7 || this.envName === HomeStaticValues.OPE) { window.open(environment.nonRsGlobalOpeUrl); } else { window.open(environment.nonRsGlobalQuaUrl); } */ window.open(src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].nonRsGlobalOpeUrl); }; SpotFirePerformanceComponent.prototype.top3NonRs = function () { /* if (this.envName === HomeStaticValues.RE7 || this.envName === HomeStaticValues.OPE) { window.open(environment.top3NonRsOpeUrl); } else { window.open(environment.top3NonRsQuaUrl); } */ window.open(src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].top3NonRsOpeUrl); }; SpotFirePerformanceComponent.prototype.panneSupportClient = function () { /* if (this.envName === HomeStaticValues.RE7 || this.envName === HomeStaticValues.OPE) { window.open(environment.panneSupportClientOpeUrl); } else { window.open(environment.panneSupportClientQuaUrl); } */ }; SpotFirePerformanceComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'spot-fire-performance', template: __webpack_require__(/*! ./spot-fire-performance.component.html */ "./src/app/common/spot-fire/spot-fire-performance/spot-fire-performance.component.html"), styles: [__webpack_require__(/*! ./spot-fire-performance.component.css */ "./src/app/common/spot-fire/spot-fire-performance/spot-fire-performance.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_material__WEBPACK_IMPORTED_MODULE_2__["MatDialogRef"], _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatDialog"]]) ], SpotFirePerformanceComponent); return SpotFirePerformanceComponent; }()); /***/ }), /***/ "./src/app/common/spot-fire/spot-fire-projet/spot-fire-projet.component.css": /*!**********************************************************************************!*\ !*** ./src/app/common/spot-fire/spot-fire-projet/spot-fire-projet.component.css ***! \**********************************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = ".spotfire-header {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n padding: 0px 10px !important;\n border: none;\n background-color: #5f6f31;\n color : #fff;\n margin-bottom: 0px;\n text-align: center;\n \n}\n\n.spotfire-header .close{outline: none}\n\n.spotfireUIBorder.projetContentPosition {\n background-color: #5f6f31;\n}\n\n.fa-arrow-circle-left:before {\n content: \"\\f0a8\";\n color: #fff;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tbW9uL3Nwb3QtZmlyZS9zcG90LWZpcmUtcHJvamV0L3Nwb3QtZmlyZS1wcm9qZXQuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLGFBQWE7RUFDYix1QkFBdUI7RUFDdkIsOEJBQThCO0VBQzlCLDRCQUE0QjtFQUM1QixZQUFZO0VBQ1oseUJBQXlCO0VBQ3pCLFlBQVk7RUFDWixrQkFBa0I7RUFDbEIsa0JBQWtCOztBQUVwQjs7QUFFQSx3QkFBd0IsYUFBYTs7QUFFckM7SUFDSSx5QkFBeUI7QUFDN0I7O0FBQ0E7SUFDSSxnQkFBZ0I7SUFDaEIsV0FBVztBQUNmIiwiZmlsZSI6InNyYy9hcHAvY29tbW9uL3Nwb3QtZmlyZS9zcG90LWZpcmUtcHJvamV0L3Nwb3QtZmlyZS1wcm9qZXQuY29tcG9uZW50LmNzcyIsInNvdXJjZXNDb250ZW50IjpbIi5zcG90ZmlyZS1oZWFkZXIge1xuICBkaXNwbGF5OiBmbGV4O1xuICBhbGlnbi1pdGVtczogZmxleC1zdGFydDtcbiAganVzdGlmeS1jb250ZW50OiBzcGFjZS1iZXR3ZWVuO1xuICBwYWRkaW5nOiAwcHggMTBweCAhaW1wb3J0YW50O1xuICBib3JkZXI6IG5vbmU7XG4gIGJhY2tncm91bmQtY29sb3I6ICM1ZjZmMzE7XG4gIGNvbG9yIDogI2ZmZjtcbiAgbWFyZ2luLWJvdHRvbTogMHB4O1xuICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gXG59XG5cbi5zcG90ZmlyZS1oZWFkZXIgLmNsb3Nle291dGxpbmU6IG5vbmV9XG5cbi5zcG90ZmlyZVVJQm9yZGVyLnByb2pldENvbnRlbnRQb3NpdGlvbiB7XG4gICAgYmFja2dyb3VuZC1jb2xvcjogIzVmNmYzMTtcbn1cbi5mYS1hcnJvdy1jaXJjbGUtbGVmdDpiZWZvcmUge1xuICAgIGNvbnRlbnQ6IFwiXFxmMGE4XCI7XG4gICAgY29sb3I6ICNmZmY7XG59Il19 */" /***/ }), /***/ "./src/app/common/spot-fire/spot-fire-projet/spot-fire-projet.component.html": /*!***********************************************************************************!*\ !*** ./src/app/common/spot-fire/spot-fire-projet/spot-fire-projet.component.html ***! \***********************************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "
\n

PROJET

\n
\n \n \n
\n
\n\n\n
\n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
" /***/ }), /***/ "./src/app/common/spot-fire/spot-fire-projet/spot-fire-projet.component.ts": /*!*********************************************************************************!*\ !*** ./src/app/common/spot-fire/spot-fire-projet/spot-fire-projet.component.ts ***! \*********************************************************************************/ /*! exports provided: SpotFireProjetComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SpotFireProjetComponent", function() { return SpotFireProjetComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/material */ "./node_modules/@angular/material/esm5/material.es5.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); var SpotFireProjetComponent = /** @class */ (function () { function SpotFireProjetComponent(dialogRef, dialog) { this.dialogRef = dialogRef; this.dialog = dialog; } SpotFireProjetComponent.prototype.ngOnInit = function () { }; SpotFireProjetComponent.prototype.onClose = function (event) { this.dialogRef.close(event); }; SpotFireProjetComponent.prototype.avanProjet = function () { window.open(src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].projectAvancementOpeUrl); }; SpotFireProjetComponent.prototype.pilotBudgetaire = function () { window.open(src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].projectPilotageBudgetaireOpeUrl); }; SpotFireProjetComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'spot-fire-projet', template: __webpack_require__(/*! ./spot-fire-projet.component.html */ "./src/app/common/spot-fire/spot-fire-projet/spot-fire-projet.component.html"), styles: [__webpack_require__(/*! ./spot-fire-projet.component.css */ "./src/app/common/spot-fire/spot-fire-projet/spot-fire-projet.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_material__WEBPACK_IMPORTED_MODULE_2__["MatDialogRef"], _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatDialog"]]) ], SpotFireProjetComponent); return SpotFireProjetComponent; }()); /***/ }), /***/ "./src/app/common/spot-fire/spot-fire-tv/spot-fire-tv.component.css": /*!**************************************************************************!*\ !*** ./src/app/common/spot-fire/spot-fire-tv/spot-fire-tv.component.css ***! \**************************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = ".spotfire-header {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n padding: 0px 10px !important;\n border: none;\n background: #00254c;\n color: azure;\n margin-bottom: 0px;\n text-align: center;\n}\n\n.spotfire-header .close{outline: none}\n\n.buttonUIMaintenance {\n background: #0978f07d;\n font-weight: bold !important;\n padding: 7px 7px 7px 7px;\n min-width: 100%;\n height: 95px;\n color: white;\n}\n\n.imgDimension{\n width: 70%;\n}\n\n.p-grid.spotfireUIBorder {\n border: white;\n background: #0c2540;\n border-width: 8px;\n border-style: solid;\n}\n\n.imgSize {\n /* object-fit: cover; */\n width: 142%;\n height: 210px;\n}\n\n#buttonUI{\n background: #0978f07d;\n font-weight: bold !important;\n padding: 7px 7px 7px 7px;\n min-width: 142%;\n height: 95px;\n color: white;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tbW9uL3Nwb3QtZmlyZS9zcG90LWZpcmUtdHYvc3BvdC1maXJlLXR2LmNvbXBvbmVudC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRSxhQUFhO0VBQ2IsdUJBQXVCO0VBQ3ZCLDhCQUE4Q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tncm91bmQ6ICMwOTc4ZjA3ZDtcbiAgICBmb250LXdlaWdodDogYm9sZCAhaW1wb3J0YW50O1xuICAgIHBhZGRpbmc6IDdweCA3cHggN3B4IDdweDtcbiAgICBtaW4td2lkdGg6IDEwMCU7XG4gICAgaGVpZ2h0OiA5NXB4O1xuICAgIGNvbG9yOiB3aGl0ZTtcbn1cbi5pbWdEaW1lbnNpb257XG4gIHdpZHRoOiA3MCU7XG59XG5cbi5wLWdyaWQuc3BvdGZpcmVVSUJvcmRlciB7XG4gIGJvcmRlcjogd2hpdGU7XG4gIGJhY2tncm91bmQ6ICMwYzI1NDA7XG4gIGJvcmRlci13aWR0aDogOHB4O1xuICBib3JkZXItc3R5bGU6IHNvbGlkO1xufVxuXG4uaW1nU2l6ZSB7XG4gIC8qIG9iamVjdC1maXQ6IGNvdmVyOyAqL1xuICB3aWR0aDogMTQyJTtcbiAgaGVpZ2h0OiAyMTBweDtcbn1cbiNidXR0b25VSXtcbiAgYmFja2dyb3VuZDogIzA5NzhmMDdkO1xuICBmb250LXdlaWdodDogYm9sZCAhaW1wb3J0YW50O1xuICBwYWRkaW5nOiA3cHggN3B4IDdweCA3cHg7XG4gIG1pbi13aWR0aDogMTQyJTtcbiAgaGVpZ2h0OiA5NXB4O1xuICBjb2xvcjogd2hpdGU7XG59Il19 */" /***/ }), /***/ "./src/app/common/spot-fire/spot-fire-tv/spot-fire-tv.component.html": /*!***************************************************************************!*\ !*** ./src/app/common/spot-fire/spot-fire-tv/spot-fire-tv.component.html ***! \***************************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "
\n

Spotfire TV

\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
" /***/ }), /***/ "./src/app/common/spot-fire/spot-fire-tv/spot-fire-tv.component.ts": /*!*************************************************************************!*\ !*** ./src/app/common/spot-fire/spot-fire-tv/spot-fire-tv.component.ts ***! \*************************************************************************/ /*! exports provided: SpotFireTVComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SpotFireTVComponent", function() { return SpotFireTVComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/material */ "./node_modules/@angular/material/esm5/material.es5.js"); var SpotFireTVComponent = /** @class */ (function () { function SpotFireTVComponent(dialogRef, dialog) { this.dialogRef = dialogRef; this.dialog = dialog; } SpotFireTVComponent.prototype.ngOnInit = function () { }; SpotFireTVComponent.prototype.onClose = function () { this.dialogRef.close(); }; SpotFireTVComponent.prototype.openURL = function () { window.open(" https://spotfire-m8.abi.ope.gcp.renault.com/spotfire/wp/OpenAnalysis?file=/TP2/OPE/REPORTS/REPORT_PUBLISHED/DEA-TV/EXPLOITATION/TPM_REPORTING_TUM"); }; SpotFireTVComponent.prototype.openProjectURL = function () { window.open("https://spotfire-m8.abi.ope.gcp.renault.com/spotfire/wp/OpenAnalysis?file=/TP2/OPE/REPORTS/REPORT_PUBLISHED/DEA-TV/PROJECT/TPM_REPORTING_NEW_REPORT_DEA-TV"); }; SpotFireTVComponent.prototype.openDocumentationURL = function () { window.open(" https://spotfire-m8.abi.ope.gcp.renault.com/spotfire/wp/OpenAnalysis?file=/TP2/OPE/REPORTS/REPORT_PUBLISHED/DEA-TV/SUIVI_DE_DOCUMENTATION/TPM_REPORTING_TUM"); }; SpotFireTVComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'spot-fire-tv', template: __webpack_require__(/*! ./spot-fire-tv.component.html */ "./src/app/common/spot-fire/spot-fire-tv/spot-fire-tv.component.html"), styles: [__webpack_require__(/*! ./spot-fire-tv.component.css */ "./src/app/common/spot-fire/spot-fire-tv/spot-fire-tv.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_material__WEBPACK_IMPORTED_MODULE_2__["MatDialogRef"], _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatDialog"]]) ], SpotFireTVComponent); return SpotFireTVComponent; }()); /***/ }), /***/ "./src/app/common/spot-fire/spot-fire.component.css": /*!**********************************************************!*\ !*** ./src/app/common/spot-fire/spot-fire.component.css ***! \**********************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = ".spotfire-header {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n padding: 0px 10px !important;\n border: none;\n background: #ffc107;\n margin-bottom: 0px;\n text-align: center;\n}\n\n.spotfire-header .close{outline: none}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tbW9uL3Nwb3QtZmlyZS9zcG90LWZpcmUuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLGFBQWE7RUFDYix1QkFBdUI7RUFDdkIsOEJBQThCO0VBQzlCLDRCQUE0QjtFQUM1QixZQUFZO0VBQ1osbUJBQW1CO0VBQ25CLGtCQUFrQjtFQUNsQixrQkFBa0I7QUFDcEI7O0FBRUEsd0JBQXdCLGFBQWEiLCJmaWxlIjoic3JjL2FwcC9jb21tb24vc3BvdC1maXJlL3Nwb3QtZmlyZS5jb21wb25lbnQuY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLnNwb3RmaXJlLWhlYWRlciB7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGFsaWduLWl0ZW1zOiBmbGV4LXN0YXJ0O1xuICBqdXN0aWZ5LWNvbnRlbnQ6IHNwYWNlLWJldHdlZW47XG4gIHBhZGRpbmc6IDBweCAxMHB4ICFpbXBvcnRhbnQ7XG4gIGJvcmRlcjogbm9uZTtcbiAgYmFja2dyb3VuZDogI2ZmYzEwNztcbiAgbWFyZ2luLWJvdHRvbTogMHB4O1xuICB0ZXh0LWFsaWduOiBjZW50ZXI7XG59XG5cbi5zcG90ZmlyZS1oZWFkZXIgLmNsb3Nle291dGxpbmU6IG5vbmV9Il19 */" /***/ }), /***/ "./src/app/common/spot-fire/spot-fire.component.html": /*!***********************************************************!*\ !*** ./src/app/common/spot-fire/spot-fire.component.html ***! \***********************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "\n\n
\n

SPOTFIRE

\n \n
\n\n\n \n \n \n\n\n\n
\n \n
\n \n \n \n \n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n\n
\n\n\n" /***/ }), /***/ "./src/app/common/spot-fire/spot-fire.component.ts": /*!*********************************************************!*\ !*** ./src/app/common/spot-fire/spot-fire.component.ts ***! \*********************************************************/ /*! exports provided: SpotFireComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SpotFireComponent", function() { return SpotFireComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/material */ "./node_modules/@angular/material/esm5/material.es5.js"); /* harmony import */ var _spot_fire_exploitation_spot_fire_exploitation_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./spot-fire-exploitation/spot-fire-exploitation.component */ "./src/app/common/spot-fire/spot-fire-exploitation/spot-fire-exploitation.component.ts"); /* harmony import */ var _spot_fire_maintenance_spot_fire_maintenance_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./spot-fire-maintenance/spot-fire-maintenance.component */ "./src/app/common/spot-fire/spot-fire-maintenance/spot-fire-maintenance.component.ts"); /* harmony import */ var _spot_fire_performance_spot_fire_performance_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./spot-fire-performance/spot-fire-performance.component */ "./src/app/common/spot-fire/spot-fire-performance/spot-fire-performance.component.ts"); /* harmony import */ var _spot_fire_projet_spot_fire_projet_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./spot-fire-projet/spot-fire-projet.component */ "./src/app/common/spot-fire/spot-fire-projet/spot-fire-projet.component.ts"); var SpotFireComponent = /** @class */ (function () { function SpotFireComponent(dialogRef, dialog) { this.dialogRef = dialogRef; this.dialog = dialog; } SpotFireComponent.prototype.ngOnInit = function () { }; SpotFireComponent.prototype.exploitation = function () { var _this = this; this.dialogRef.updateSize('2000px', '200px'); if (this.dialog.openDialogs.length === 1) { var dialogRef = this.dialog.open(_spot_fire_exploitation_spot_fire_exploitation_component__WEBPACK_IMPORTED_MODULE_3__["SpotFireExploitationComponent"], { width: '2000px', data: {} }); dialogRef.afterClosed().subscribe(function (result) { if (result) { _this.dialogRef.close(); } else { _this.dialogRef.updateSize('2000px', 'auto'); } }); } }; SpotFireComponent.prototype.performance = function () { var _this = this; this.dialogRef.updateSize('2000px', '200px'); if (this.dialog.openDialogs.length === 1) { var dialogRef = this.dialog.open(_spot_fire_performance_spot_fire_performance_component__WEBPACK_IMPORTED_MODULE_5__["SpotFirePerformanceComponent"], { width: '2000px', data: {} }); dialogRef.afterClosed().subscribe(function (result) { if (result) { _this.dialogRef.close(); } else { _this.dialogRef.updateSize('2000px', 'auto'); } }); } }; SpotFireComponent.prototype.projet = function () { var _this = this; this.dialogRef.updateSize('2000px', '200px'); if (this.dialog.openDialogs.length === 1) { var dialogRef = this.dialog.open(_spot_fire_projet_spot_fire_projet_component__WEBPACK_IMPORTED_MODULE_6__["SpotFireProjetComponent"], { width: '2000px', data: {} }); dialogRef.afterClosed().subscribe(function (result) { if (result) { _this.dialogRef.close(); } else { _this.dialogRef.updateSize('2000px', 'auto'); } }); } }; SpotFireComponent.prototype.maintenance = function () { var _this = this; this.dialogRef.updateSize('2000px', '200px'); if (this.dialog.openDialogs.length === 1) { var dialogRef = this.dialog.open(_spot_fire_maintenance_spot_fire_maintenance_component__WEBPACK_IMPORTED_MODULE_4__["SpotFireMaintenanceComponent"], { width: '2000px', data: {} }); dialogRef.afterClosed().subscribe(function (result) { if (result) { _this.dialogRef.close(); } else { _this.dialogRef.updateSize('2000px', 'auto'); } }); } }; SpotFireComponent.prototype.onClose = function () { this.dialogRef.close(); }; SpotFireComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'spot-fire', template: __webpack_require__(/*! ./spot-fire.component.html */ "./src/app/common/spot-fire/spot-fire.component.html"), styles: [__webpack_require__(/*! ./spot-fire.component.css */ "./src/app/common/spot-fire/spot-fire.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_material__WEBPACK_IMPORTED_MODULE_2__["MatDialogRef"], _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatDialog"]]) ], SpotFireComponent); return SpotFireComponent; }()); /***/ }), /***/ "./src/app/common/star-rating/star-rating.component.css": /*!**************************************************************!*\ !*** ./src/app/common/star-rating/star-rating.component.css ***! \**************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2NvbW1vbi9zdGFyLXJhdGluZy9zdGFyLXJhdGluZy5jb21wb25lbnQuY3NzIn0= */" /***/ }), /***/ "./src/app/common/star-rating/star-rating.component.html": /*!***************************************************************!*\ !*** ./src/app/common/star-rating/star-rating.component.html ***! \***************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "
\n

customerPoll.rateApp

\n \n
\n
\n
\n
\n
\n \n
\n
\n Errormessage.MandatoryErrorMsg
\n
\n
\n
\n
\n
\n \n
\n
\n
\n customerPoll.rateAppMandatory
\n
\n
\n
\n \n \n
\n
\n
" /***/ }), /***/ "./src/app/common/star-rating/star-rating.component.ts": /*!*************************************************************!*\ !*** ./src/app/common/star-rating/star-rating.component.ts ***! \*************************************************************/ /*! exports provided: StarRatingComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StarRatingComponent", function() { return StarRatingComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/fesm5/forms.js"); /* harmony import */ var _star_rating_model__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./star-rating.model */ "./src/app/common/star-rating/star-rating.model.ts"); /* harmony import */ var _star_rating_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./star-rating.service */ "./src/app/common/star-rating/star-rating.service.ts"); /* harmony import */ var _angular_material__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/material */ "./node_modules/@angular/material/esm5/material.es5.js"); var StarRatingComponent = /** @class */ (function () { function StarRatingComponent(fb, starRatingService, dialogRef) { this.fb = fb; this.starRatingService = starRatingService; this.dialogRef = dialogRef; this.rating = 0; this.starCount = 4; this.submitted = false; this.ratingArr = []; // true = solid star; false = empty star this.commetWithTwoOrLessRating = false; this.ratingArr = Array(this.starCount).fill(false); } StarRatingComponent.prototype.ngOnInit = function () { this.ratingForm = this.fb.group({ star: ['', _angular_forms__WEBPACK_IMPORTED_MODULE_2__["Validators"].required], comment: '' }); }; Object.defineProperty(StarRatingComponent.prototype, "f", { get: function () { return this.ratingForm.controls; }, enumerable: true, configurable: true }); StarRatingComponent.prototype.returnStar = function (i) { if (this.rating >= i + 1) { return 'star'; } else { return 'star_border'; } }; StarRatingComponent.prototype.onClick = function (i) { this.submitted = true; this.rating = i + 1; this.ratingForm.patchValue({ star: this.rating }); }; StarRatingComponent.prototype.onSave = function () { var _this = this; if (this.ratingForm.controls.star.value <= 2) { if (this.ratingForm.controls.comment.value == "") { this.commetWithTwoOrLessRating = true; } else { this.commetWithTwoOrLessRating = false; } } else { this.commetWithTwoOrLessRating = false; } if (this.commetWithTwoOrLessRating == false) { if (this.ratingForm.invalid) { this.submitted = true; } else { this.submitted = false; var starRating = new _star_rating_model__WEBPACK_IMPORTED_MODULE_3__["StarRatingModel"](); starRating.starRating = this.ratingForm.controls.star.value; starRating.comment = this.ratingForm.controls.comment.value; starRating.ipn = sessionStorage.getItem('uid') ? sessionStorage.getItem('uid') : 'User'; this.starRatingService.saveStarRating(starRating).subscribe(function (res) { _this.dialogRef.close(); }); } } }; StarRatingComponent.prototype.onChangeComment = function () { if (this.ratingForm.controls.star.value <= 2) { this.commetWithTwoOrLessRating = true; } else { this.commetWithTwoOrLessRating = false; } }; StarRatingComponent.prototype.onCancel = function () { this.dialogRef.close(); }; StarRatingComponent.prototype.onNoClick = function () { this.dialogRef.close(); }; StarRatingComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'star-rating', template: __webpack_require__(/*! ./star-rating.component.html */ "./src/app/common/star-rating/star-rating.component.html"), styles: [__webpack_require__(/*! ./star-rating.component.css */ "./src/app/common/star-rating/star-rating.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["FormBuilder"], _star_rating_service__WEBPACK_IMPORTED_MODULE_4__["StarRatingService"], _angular_material__WEBPACK_IMPORTED_MODULE_5__["MatDialogRef"]]) ], StarRatingComponent); return StarRatingComponent; }()); /***/ }), /***/ "./src/app/common/star-rating/star-rating.model.ts": /*!*********************************************************!*\ !*** ./src/app/common/star-rating/star-rating.model.ts ***! \*********************************************************/ /*! exports provided: StarRatingModel */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StarRatingModel", function() { return StarRatingModel; }); var StarRatingModel = /** @class */ (function () { function StarRatingModel() { } return StarRatingModel; }()); /***/ }), /***/ "./src/app/common/star-rating/star-rating.service.ts": /*!***********************************************************!*\ !*** ./src/app/common/star-rating/star-rating.service.ts ***! \***********************************************************/ /*! exports provided: StarRatingService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StarRatingService", function() { return StarRatingService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); var StarRatingService = /** @class */ (function () { function StarRatingService(http) { this.http = http; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].apiURL; } StarRatingService.prototype.saveStarRating = function (starRating) { return this.http.post(this.apiURL + "/saveStarRating", starRating); }; StarRatingService.prototype.checkStarRating = function (starRating) { return this.http.get(this.apiURL + "/getStarRating?ipn=" + starRating.ipn); // return this.http.get(`${this.apiURL}/getStarRating`); }; StarRatingService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_2__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpClient"]]) ], StarRatingService); return StarRatingService; }()); /***/ }), /***/ "./src/app/common/testbed-extract/tesbed-extract.model.ts": /*!****************************************************************!*\ !*** ./src/app/common/testbed-extract/tesbed-extract.model.ts ***! \****************************************************************/ /*! exports provided: TestbedExtractModel, TestbedExtractEnum */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TestbedExtractModel", function() { return TestbedExtractModel; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TestbedExtractEnum", function() { return TestbedExtractEnum; }); var TestbedExtractModel = /** @class */ (function () { function TestbedExtractModel() { } return TestbedExtractModel; }()); var TestbedExtractEnum; (function (TestbedExtractEnum) { TestbedExtractEnum[TestbedExtractEnum["testNumberlimit"] = 10000] = "testNumberlimit"; TestbedExtractEnum["deatm"] = "deatm"; TestbedExtractEnum["deatv"] = "deatv"; TestbedExtractEnum["orgId"] = "organisationIDs"; TestbedExtractEnum["testbedExtract"] = "testbedExtract"; TestbedExtractEnum["true"] = "true"; })(TestbedExtractEnum || (TestbedExtractEnum = {})); /***/ }), /***/ "./src/app/common/testbed-extract/testbed-extract.component.css": /*!**********************************************************************!*\ !*** ./src/app/common/testbed-extract/testbed-extract.component.css ***! \**********************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "::ng-deep .mat-dialog-container {\n overflow: hidden !important;\n padding: 0 !important;\n }\n \n .mat-form-field-prefix, .mat-form-field-suffix{ display: none !important;}\n \n .select-all{\n margin: 5px 17px;\n }\n \n @media screen and (max-width:1200px){\n.radioButtonScroll {\n overflow-x: scroll;\n}\n}\n \n .activityRadioButton {\n display: inline-flex;\n flex-flow: column;\n justify-content: center;\n padding-top: 10px;\n padding-left: 76px;\n /* transform: translate3d(-58px, 1px, 10px); */\n}\n \n .switch-input:checked + .switch-label-cs-on ~ .switch-selection {\n left: 133px;\n}\n \n .switch-input:checked + .switch-label-na ~ .switch-selection {\n left: 220px;\n}\n \n .switch-selection {\n \n width: 146px;}\n \n .switch-radio {\n \n width: 282px;\n bottom: 12%;\n left: 11%;\n \n }\n \n .switch-label {\n font-size: 12px !important;\n width: 149px;\n }\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29tbW9uL3Rlc3RiZWQtZXh0cmFjdC90ZXN0YmVkLWV4dHJhY3QuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtJQUNJLDJCQUEyQjtJQUMzQixxQkFBcUI7RUFDdkI7O0VBRUEsbURBQW1ELHdCQUF3QixDQUFDOztFQUU1RTtJQUNFLGdCQUFnQjtFQUNsQjs7RUFFQTtBQUNGO0VBQ0Usa0JBQWtCO0FBQ3BCO0FBQ0E7O0VBQ0U7UUFDTSxvQkFBb0I7SUFDeEIsaUJBQWlCO0lBQ2pCLHVCQUF1QjtJQUN2QixpQkFBaUI7SUFDakIsa0JBQWtCO0lBQ2xCLDhDQUE4QztBQUNsRDs7RUFFQTtJQUNJLFdBQVc7QUFDZjs7RUFFQTtFQUNFLFdBQVc7QUFDYjs7RUFDQTs7RUFFRSxZQUFZLENBQ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dGNoLWlucHV0OmNoZWNrZWQgKyAuc3dpdGNoLWxhYmVsLW5hICB+IC5zd2l0Y2gtc2VsZWN0aW9uIHtcbiAgbGVmdDogMjIwcHg7XG59XG4uc3dpdGNoLXNlbGVjdGlvbiB7XG4gXG4gIHdpZHRoOiAxNDZweDt9XG5cbiAgLnN3aXRjaC1yYWRpbyB7XG4gXG4gICAgd2lkdGg6IDI4MnB4O1xuICAgIGJvdHRvbTogMTIlO1xuICAgIGxlZnQ6IDExJTtcbiAgXG4gIH1cblxuLnN3aXRjaC1sYWJlbCB7XG4gICAgZm9udC1zaXplOiAxMnB4ICFpbXBvcnRhbnQ7XG4gICAgd2lkdGg6IDE0OXB4O1xuICB9Il19 */" /***/ }), /***/ "./src/app/common/testbed-extract/testbed-extract.component.html": /*!***********************************************************************!*\ !*** ./src/app/common/testbed-extract/testbed-extract.component.html ***! \***********************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "
\n

TPM2

\n \n
\n
\n
\n \n \n \n \n \n
\n\n
\n
\n
\n
\n
\n\n \n \n
\n
\n ExtractActivity.errStartDate\n
\n
\n \n \n
\n
\n
\n \n \n
\n
\n ExtractActivity.errEndDate\n
\n
\n \n \n
\n
\n
\n
\n
\n \n Administration.Referential.Sites.Site\n \n {{siteName[1]}}\n \n \n
\n
\n \n Administration.Referential.Means.Mean\n \n {{meanName[1]}}\n \n \n
\n
\n
\n
\n \n Administration.Referential.TestBed.Title\n \n
\n \n Common_Buttons.SelectAll\n \n
\n \n {{testbedName[1]}} | [{{testbedName[4]}}]\n \n
\n
\n
\n
\n
\n
\n" /***/ }), /***/ "./src/app/common/testbed-extract/testbed-extract.component.ts": /*!*********************************************************************!*\ !*** ./src/app/common/testbed-extract/testbed-extract.component.ts ***! \*********************************************************************/ /*! exports provided: TestbedExtractComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TestbedExtractComponent", function() { return TestbedExtractComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/material */ "./node_modules/@angular/material/esm5/material.es5.js"); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/fesm5/forms.js"); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @ngx-translate/core */ "./node_modules/@ngx-translate/core/fesm5/ngx-translate-core.js"); /* harmony import */ var xlsx__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! xlsx */ "./node_modules/xlsx/xlsx.js"); /* harmony import */ var xlsx__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(xlsx__WEBPACK_IMPORTED_MODULE_5__); /* harmony import */ var src_app_saisie_activate_activate_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! src/app/saisie/activate/activate.service */ "./src/app/saisie/activate/activate.service.ts"); /* harmony import */ var src_app_administration_testbedreferential_testbed_global_info_testbed_global_info_model__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! src/app/administration/testbedreferential/testbed/global-info/testbed-global-info.model */ "./src/app/administration/testbedreferential/testbed/global-info/testbed-global-info.model.ts"); /* harmony import */ var src_app_administration_testbedreferential_testbed_testbed_model__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! src/app/administration/testbedreferential/testbed/testbed-model */ "./src/app/administration/testbedreferential/testbed/testbed-model.ts"); /* harmony import */ var src_app_administration_referentiel_buildings_building_model__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! src/app/administration/referentiel/buildings/building.model */ "./src/app/administration/referentiel/buildings/building.model.ts"); /* harmony import */ var src_app_administration_referentiel_means_means_model__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! src/app/administration/referentiel/means/means.model */ "./src/app/administration/referentiel/means/means.model.ts"); /* harmony import */ var _common_services__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../common.services */ "./src/app/common/common.services.ts"); /* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! moment */ "./node_modules/moment/moment.js"); /* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_12__); /* harmony import */ var src_app_administration_testbedreferential_testbed_testbed_services__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! src/app/administration/testbedreferential/testbed/testbed-services */ "./src/app/administration/testbedreferential/testbed/testbed-services.ts"); /* harmony import */ var _tesbed_extract_model__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./tesbed-extract.model */ "./src/app/common/testbed-extract/tesbed-extract.model.ts"); /* harmony import */ var _testbed_extract_service__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./testbed-extract.service */ "./src/app/common/testbed-extract/testbed-extract.service.ts"); /* harmony import */ var src_app_saisie_activate_activity_model__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! src/app/saisie/activate/activity.model */ "./src/app/saisie/activate/activity.model.ts"); /* harmony import */ var src_app_saisie_vehicle_activities_vh_act_service__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! src/app/saisie/vehicle-activities/vh-act.service */ "./src/app/saisie/vehicle-activities/vh-act.service.ts"); /* harmony import */ var src_assets_i18n_en_json__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! src/assets/i18n/en.json */ "./src/assets/i18n/en.json"); var src_assets_i18n_en_json__WEBPACK_IMPORTED_MODULE_18___namespace = /*#__PURE__*/__webpack_require__.t(/*! src/assets/i18n/en.json */ "./src/assets/i18n/en.json", 1); /* harmony import */ var src_assets_i18n_fr_json__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! src/assets/i18n/fr.json */ "./src/assets/i18n/fr.json"); var src_assets_i18n_fr_json__WEBPACK_IMPORTED_MODULE_19___namespace = /*#__PURE__*/__webpack_require__.t(/*! src/assets/i18n/fr.json */ "./src/assets/i18n/fr.json", 1); /* harmony import */ var src_app_saisie_vehicle_activities_vehicle_activities_model__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! src/app/saisie/vehicle-activities/vehicle-activities.model */ "./src/app/saisie/vehicle-activities/vehicle-activities.model.ts"); /* harmony import */ var src_app_common_snackbar_snackbar_component_service__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! src/app/common/snackbar/snackbar.component.service */ "./src/app/common/snackbar/snackbar.component.service.ts"); ; var TestbedExtractComponent = /** @class */ (function () { function TestbedExtractComponent(dialogRef, fb, translate, dateAdapter, activityService, commonService, testBedService, extractService, snackbarService, vhActService) { this.dialogRef = dialogRef; this.fb = fb; this.translate = translate; this.dateAdapter = dateAdapter; this.activityService = activityService; this.commonService = commonService; this.testBedService = testBedService; this.extractService = extractService; this.snackbarService = snackbarService; this.vhActService = vhActService; this.submitted = false; this.closeControl = false; this.wopts = { bookType: 'xlsx', type: 'array' }; this.today = new Date(); // public testBedCombo: Testbed[]; // public subject = new Subject<[string, string, any]>(); this.browserLang = this.commonService.getLanguage() ? this.commonService.getLanguage() : 'en'; this.allCheck = false; } TestbedExtractComponent.prototype.ngOnInit = function () { this.finalOrgId = JSON.parse(sessionStorage.getItem(_tesbed_extract_model__WEBPACK_IMPORTED_MODULE_14__["TestbedExtractEnum"].orgId)); if (this.finalOrgId.length > 1) { this.enableActivityCheck = true; this.onActivityTypeChoose(_tesbed_extract_model__WEBPACK_IMPORTED_MODULE_14__["TestbedExtractEnum"].deatm); } else { this.enableActivityCheck = false; this.getSiteComboList(); this.getMeansComboList(); this.getTestBedComboList(); } this.month = this.today.getMonth(); this.year = this.today.getFullYear(); this.day = this.today.getDate(); this.minYear = this.year - 5; this.startMaxDate = new Date(this.year, 0, 1); this.startMinDate = new Date(this.minYear, 0, 1); this.activeControl = true; this.getTestBedData(); this.extractForm = this.fb.group({ beginDt: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_3__["Validators"].required]], endDt: ['', _angular_forms__WEBPACK_IMPORTED_MODULE_3__["Validators"].required], site: [''], means: [''], testbed: [''] }); this.dateAdapter.setLocale(this.activityService.getLang()); this.picker1.startAt = new Date(this.year, 0, 1); }; Object.defineProperty(TestbedExtractComponent.prototype, "f", { get: function () { return this.extractForm.controls; }, enumerable: true, configurable: true }); TestbedExtractComponent.prototype.onClose = function () { this.dialogRef.close('Close'); this.selectedMeanIds = []; this.selectedMean = []; this.selectedTestbedIds = []; this.selectedTestbed = []; this.selectedSiteIds = []; this.selectedSite = []; this.extractService.setMeanId(this.selectedMeanIds); this.extractService.setTestbedId(this.selectedTestbedIds); }; TestbedExtractComponent.prototype.getSiteComboList = function () { var _this = this; this.activityService.getSiteComboList().subscribe(function (data) { _this.siteComboList = data; }); }; TestbedExtractComponent.prototype.getEngineSiteComboList = function () { var _this = this; this.activityService.getEngineSiteComboList().subscribe(function (data) { _this.siteComboList = data; }); }; TestbedExtractComponent.prototype.getVehicleSiteComboList = function () { var _this = this; this.activityService.getSiteComboListService().subscribe(function (data) { _this.siteComboList = data; }); }; TestbedExtractComponent.prototype.getMeansComboList = function () { var _this = this; this.activityService.getMeansComboListForExtract().subscribe(function (data) { _this.meansComboList = data; // this.meanDDVal = data; }); }; TestbedExtractComponent.prototype.getEngineMeansComboList = function () { var _this = this; this.activityService.getEngineMeansComboList().subscribe(function (data) { _this.meansComboList = data; }); }; TestbedExtractComponent.prototype.getVehicleMeansComboList = function () { var _this = this; this.activityService.getMeansComboListService().subscribe(function (data) { _this.meansComboList = data; }); }; TestbedExtractComponent.prototype.getTestBedComboList = function (testbed) { var _this = this; if (!testbed) { testbed = new src_app_administration_testbedreferential_testbed_testbed_model__WEBPACK_IMPORTED_MODULE_8__["Testbed"](); testbed.testbedGlobalInfo = new src_app_administration_testbedreferential_testbed_global_info_testbed_global_info_model__WEBPACK_IMPORTED_MODULE_7__["TestbedGlobalInfo"](); testbed.organisation_reg_id = JSON.parse(sessionStorage.getItem(_tesbed_extract_model__WEBPACK_IMPORTED_MODULE_14__["TestbedExtractEnum"].orgId)); testbed.testbedGlobalInfo.buildingId = new src_app_administration_referentiel_buildings_building_model__WEBPACK_IMPORTED_MODULE_9__["Building"](); testbed.testbedGlobalInfo.meanId = new src_app_administration_referentiel_means_means_model__WEBPACK_IMPORTED_MODULE_10__["Means"](); } sessionStorage.setItem(_tesbed_extract_model__WEBPACK_IMPORTED_MODULE_14__["TestbedExtractEnum"].testbedExtract, _tesbed_extract_model__WEBPACK_IMPORTED_MODULE_14__["TestbedExtractEnum"].true); this.activityService.getTestbedComboList(testbed).subscribe(function (response) { _this.testBedComboOne = response.body; _this.testBedComboOne = _this.testBedComboOne.filter(function (res) { return res[2] !== false; }); }); }; TestbedExtractComponent.prototype.getTestBedbyActivity = function (value) { var _this = this; var orgId; if (value === _tesbed_extract_model__WEBPACK_IMPORTED_MODULE_14__["TestbedExtractEnum"].deatm) { orgId = [1]; } else { orgId = [2]; } var testbed = new src_app_administration_testbedreferential_testbed_testbed_model__WEBPACK_IMPORTED_MODULE_8__["Testbed"](); testbed.testbedGlobalInfo = new src_app_administration_testbedreferential_testbed_global_info_testbed_global_info_model__WEBPACK_IMPORTED_MODULE_7__["TestbedGlobalInfo"](); testbed.organisation_reg_id = orgId; testbed.testbedGlobalInfo.buildingId = new src_app_administration_referentiel_buildings_building_model__WEBPACK_IMPORTED_MODULE_9__["Building"](); testbed.testbedGlobalInfo.meanId = new src_app_administration_referentiel_means_means_model__WEBPACK_IMPORTED_MODULE_10__["Means"](); sessionStorage.setItem(_tesbed_extract_model__WEBPACK_IMPORTED_MODULE_14__["TestbedExtractEnum"].testbedExtract, _tesbed_extract_model__WEBPACK_IMPORTED_MODULE_14__["TestbedExtractEnum"].true); this.activityService.getTestbedComboList(testbed).subscribe(function (response) { _this.testBedComboOne = response.body; _this.testBedComboOne = _this.testBedComboOne.filter(function (res) { return res[2] !== false; }); }); }; TestbedExtractComponent.prototype.addStartEvent = function (e) { this.extractForm.patchValue({ endDt: '' }); this.activeControl = false; this.startEvent = new Date(e.target.value); this.endMinDate = this.startEvent; this.year = this.startEvent.getFullYear() + 1; this.month = this.startEvent.getMonth(); this.day = this.startEvent.getDate(); this.endMaxDate = new Date(this.year, this.month, this.day); }; TestbedExtractComponent.prototype.onSiteChange = function (e) { var _this = this; var selesite = e.value; this.selectedSiteIds = []; this.selectedSite = []; // for getting the values of all the site chosen in array if (selesite.length > 0) { selesite.forEach(function (element) { _this.selectedSiteIds.push(element[0]); _this.selectedSite.push(element[1]); }); } var extractModel = new _tesbed_extract_model__WEBPACK_IMPORTED_MODULE_14__["TestbedExtractModel"](); extractModel.site = this.selectedSiteIds; extractModel.orgId = this.finalOrgId; this.allCheck = false; this.newMeanFiltering(extractModel); this.newTestbedFiltering(extractModel); }; TestbedExtractComponent.prototype.onMeanChange = function (e) { var _this = this; var seleMean = e.value; this.showTypeOfTest = false; this.selectedMeanIds = []; this.selectedMean = []; if (seleMean.length > 0) { seleMean.forEach(function (element) { _this.selectedMeanIds.push(element[0]); _this.selectedMean.push(element[1]); if (element[1] === 'ELEC PUISSANCE') { _this.showTypeOfTest = true; } }); } var extractModel = new _tesbed_extract_model__WEBPACK_IMPORTED_MODULE_14__["TestbedExtractModel"](); extractModel.means = this.selectedMeanIds; this.extractService.setMeanId(this.selectedMeanIds); extractModel.orgId = this.finalOrgId; if (this.selectedSite === undefined || this.selectedSite === ['']) { extractModel.site = []; } else { extractModel.site = this.selectedSiteIds; } this.allCheck = false; this.newTestbedFiltering(extractModel); }; TestbedExtractComponent.prototype.onTestbedChange = function (e) { var _this = this; var seleTestbed = []; seleTestbed = e.value; this.selectedTestbedIds = []; this.selectedTestbed = []; if (seleTestbed.length > 0) { seleTestbed.forEach(function (element) { _this.selectedTestbedIds.push(element[0]); _this.selectedTestbed.push(element[1]); }); } this.extractService.setTestbedId(this.selectedTestbedIds); }; TestbedExtractComponent.prototype.onTestbedclick = function (e) { if (e.checked) { this.allCheck = true; this.testbedSelect.options.forEach(function (item) { return item.select(); }); } else { this.allCheck = false; this.testbedSelect.options.forEach(function (item) { return item.deselect(); }); } }; TestbedExtractComponent.prototype.onSingleClick = function () { this.allCheck = false; }; TestbedExtractComponent.prototype.newMeanFiltering = function (value) { var _this = this; this.meansComboList = []; this.selectedMeanIds = []; this.selectedMean = []; this.testBedComboOne = []; this.selectedTestbedIds = []; this.selectedTestbed = []; value.testbed = this.selectedTestbedIds; value.means = this.selectedMeanIds; this.extractService.getFilteredMeans(value).subscribe(function (data) { _this.meansComboList = data; /* Mean should not clear out when adding new site starts here */ if (_this.extractService.getMeanId()) { _this.selectedMeanIds = []; _this.filterMeanCombo = []; var dataMean = []; var temp_1 = 0; _this.extractService.getMeanId().forEach(function (res) { if (_this.meansComboList.filter(function (means) { return means[0] === res; }).length > 0) { _this.filterMeanCombo[temp_1] = _this.meansComboList.filter(function (means) { return means[0] === res; })[0]; _this.selectedMeanIds[temp_1] = _this.meansComboList.filter(function (means) { return means[0] === res; })[0][0]; _this.selectedMean[temp_1] = _this.meansComboList.filter(function (means) { return means[0] === res; })[0][1]; temp_1++; } }); dataMean = _this.filterMeanCombo; _this.extractForm.patchValue({ means: dataMean }); _this.extractService.setMeanId(_this.selectedMeanIds); } else { _this.selectedMean = []; _this.selectedMeanIds = []; _this.extractForm.patchValue({ means: [] }); _this.extractService.setMeanId(_this.selectedMeanIds); } }); /* Mean should not clear out when adding new site ends here */ }; TestbedExtractComponent.prototype.newTestbedFiltering = function (value) { var _this = this; this.testBedComboOne = []; this.selectedTestbedIds = []; this.selectedTestbed = []; value.testbed = this.selectedTestbedIds; this.extractService.getFilteredTestbed(value).subscribe(function (data) { _this.testBedComboOne = data; /* Testbed should not clear out when adding new site or mean starts here */ if (_this.extractService.getTestbedId()) { _this.selectedTestbedIds = []; _this.filterTestbedCombo = []; var dataTestbed = []; var temp_2 = 0; _this.extractService.getTestbedId().forEach(function (res) { if (_this.testBedComboOne.filter(function (testbed) { return testbed[0] === res; }).length > 0) { _this.filterTestbedCombo[temp_2] = _this.testBedComboOne.filter(function (testbed) { return testbed[0] === res; })[0]; _this.selectedTestbedIds[temp_2] = _this.testBedComboOne.filter(function (testbed) { return testbed[0] === res; })[0][0]; _this.selectedTestbed[temp_2] = _this.testBedComboOne.filter(function (testbed) { return testbed[0] === res; })[0][1]; temp_2++; } }); dataTestbed = _this.filterTestbedCombo; _this.extractService.setTestbedId(_this.selectedTestbedIds); _this.extractForm.patchValue({ testbed: dataTestbed }); } else { _this.selectedTestbed = []; _this.selectedTestbedIds = []; _this.extractService.setTestbedId(_this.selectedTestbedIds); _this.extractForm.patchValue({ testbed: [] }); } }); /* Testbed should not clear out when adding new site or mean ends here */ }; TestbedExtractComponent.prototype.dateSelection = function () { if (this.extractForm.invalid) { this.submitted = true; } else { this.submitted = false; var startDt = void 0; var stopDt = void 0; startDt = moment__WEBPACK_IMPORTED_MODULE_12__(this.extractForm.controls.beginDt.value).format('YYYY-MM-DD'); stopDt = moment__WEBPACK_IMPORTED_MODULE_12__(this.extractForm.controls.endDt.value).format('YYYY-MM-DD'); if (!this.selectedTestbedIds || this.selectedTestbedIds.length === 0) { this.selectedTestbedIds = this.testBedComboOne.map(function (res) { return res[0]; }); } // testbed id [1] if (this.finalOrgId.length === 1) { if (this.finalOrgId[0] === 1) { this.engineActivityExtract(startDt, stopDt); } else { this.vehicleActivityExtract(startDt, stopDt); } } } }; TestbedExtractComponent.prototype.onActivityTypeChoose = function (value) { if (value === _tesbed_extract_model__WEBPACK_IMPORTED_MODULE_14__["TestbedExtractEnum"].deatm) { this.getEngineSiteComboList(); this.getEngineMeansComboList(); this.getTestBedbyActivity(value); this.finalOrgId = [1]; } else { this.getVehicleSiteComboList(); this.getVehicleMeansComboList(); this.getTestBedbyActivity(value); this.finalOrgId = [2]; } }; TestbedExtractComponent.prototype.engineActivityExtract = function (startDt, stopDt) { var _this = this; this.activityService.extractNewEvEngineActivity(startDt, stopDt, this.selectedTestbedIds).subscribe(function (result) { _this.commonService.setEvEngineData(result.evEngine); _this.commonService.setEngineReliabilityActivityData(result.reliabilityEdActivity); _this.commonService.setEngineTuningActivityData(result.tuningEdActivity); _this.commonService.setFailureActivityData(result.failureActivity); _this.commonService.setBarActivityData(result.barActivity); _this.commonService.setBarCopActivityData(result.barCopActivity); _this.commonService.setBarMixActivityData(result.barMixActivity); _this.commonService.setEmisionFailureActivitesData(result.failureActivityforEmission); _this.extractData(); _this.onClose(); }, function (err) { _this.snackbarService.showSnackBar('Errormessage.extract_reduce_testbeds_Msg', 'F'); }); }; TestbedExtractComponent.prototype.vehicleActivityExtract = function (startDt, stopDt) { var _this = this; this.vhActService.extractNewVehicleActivity(startDt, stopDt, this.selectedTestbedIds).subscribe(function (result) { _this.commonService.setVehicleActivityData(result.vehicleActivity); _this.commonService.setVehicleFailiureActivityData(result.failureActivity); _this.extractVhData(); _this.onClose(); }); }; TestbedExtractComponent.prototype.extractData = function () { var jsonData = {}; var extracEvData = []; var extractReliabilityData = []; var extractFailureData = []; var extractTuningData = []; var extractbarActivityData = []; var extractbarCopActivityData = []; var extractbarMixActivityData = []; var extractfailureActivityforEmissionData = []; var evEngineJson = this.commonService.getEvEngineData(); var reliabilityEngineJson = this.commonService.getEngineReliabilityActivityData(); var tuningEngineJson = this.commonService.getEngineTuningActivityData(); var failureactivityJson = this.commonService.getFailureActivityData(); var barActivityJson = this.commonService.getBarActivityData(); var barCopActivityJson = this.commonService.getBarCopActivityData(); var barMixActivityJson = this.commonService.getBarMixActivityData(); var emissionFailureJson = this.commonService.getEmissionFailureActivity(); var elecFailureData = []; var reliabFailureData = []; var tuningFailureData = []; var barActivityData = []; var barCopActivityData = []; var barMixActivityData = []; var failureActivityforEmissionData = []; if (this.browserLang === 'en') { this.fileName = 'Activity'; if (evEngineJson.length !== 0) { for (var i = 0; i < evEngineJson.length; i++) { jsonData['Site'] = this.nullcheck(evEngineJson[i].engineActivity.activity.testBedId.testbedGlobalInfo.siteId); jsonData['Mean'] = this.nullcheck(evEngineJson[i].engineActivity.activity.testBedId.testbedGlobalInfo.meanId); jsonData['Testbed'] = this.getTestBedLabel(evEngineJson[i].engineActivity.activity.testBedId.id); jsonData['Date'] = moment__WEBPACK_IMPORTED_MODULE_12__(evEngineJson[i].engineActivity.activity.activityDate).format('DD/MM/YYYY'); jsonData['Sequence Number'] = evEngineJson[i].engineActivity.activity.seqNum; jsonData['Engine hours'] = evEngineJson[i].engineActivity.engHours; jsonData['Activity type'] = this.nullcheck(evEngineJson[i].engineActivity.activity.level0); jsonData['Activity duration'] = evEngineJson[i].engineActivity.activity.duration; jsonData['D.I./Test Number'] = this.emptyValueInsertorforNull(evEngineJson[i].engineActivity.di) + this.emptyValueInsertorforNull(evEngineJson[i].engineActivity.essNB); jsonData['Exploitable'] = this.nullcheck(evEngineJson[i].engineActivity.activity.exploitable); jsonData['Comment'] = evEngineJson[i].engineActivity.activity.comment; jsonData['Level 1'] = this.nullcheck(evEngineJson[i].engineActivity.activity.level1); jsonData['Level 2'] = this.nullcheck(evEngineJson[i].engineActivity.activity.level2); jsonData['Program line'] = evEngineJson[i].engineActivity.programLine; jsonData['VS number'] = (evEngineJson[i].engineActivity.engNumber); //jsonData['VS number'] = evEngineJson[i].engineActivity.testedVS; jsonData['Calibration'] = evEngineJson[i].engineActivity.activity.calibration; jsonData['Operator IPN'] = (evEngineJson[i].engineActivity.activity.ipn); jsonData['Customer direction'] = this.nullcheck(evEngineJson[i].engineActivity.activity.customerDirection); jsonData['Prestation'] = this.nullcheck(evEngineJson[i].engineActivity.activity.prestations); jsonData['Macro Activity'] = this.nullcheck(evEngineJson[i].engineActivity.activity.macroActivity); jsonData['Procedures/Test type'] = this.nullcheck(evEngineJson[i].engineActivity.activity.procedures); jsonData['Campaign'] = this.nullcheck(evEngineJson[i].engineActivity.activity.campaigns); if (this.showTypeOfTest) { jsonData['Type Of Test'] = evEngineJson[i].engineActivity.activity.typeOfTest; } jsonData['Perimeter'] = this.nullcheck(evEngineJson[i].engineActivity.activity.testBedId.testbedGlobalInfo.perimeterId); jsonData['OT number'] = ''; jsonData['OT status'] = ''; jsonData['RS type'] = this.nullcheck(evEngineJson[i].engineActivity.rsTypeId); jsonData['ESS Number'] = evEngineJson[i].engineActivity.essNBGps; jsonData['Test support'] = evEngineJson[i].testSupport; jsonData['Realignment number'] = evEngineJson[i].realNb; jsonData['Fuel'] = this.nullcheck(evEngineJson[i].engineActivity.fuel); jsonData['Customer request'] = evEngineJson[i].engineActivity.activity.customerRequest; // jsonData['Test Number'] = evEngineJson[i].engineActivity.essNB; extracEvData[i] = jsonData; jsonData = {}; } } if (reliabilityEngineJson.length !== 0) { for (var i = 0; i < reliabilityEngineJson.length; i++) { jsonData['Site'] = this.nullcheck(reliabilityEngineJson[i].engineActivity.activity.testBedId.testbedGlobalInfo.siteId); jsonData['Mean'] = this.nullcheck(reliabilityEngineJson[i].engineActivity.activity.testBedId.testbedGlobalInfo.meanId); jsonData['Testbed'] = this.getTestBedLabel(reliabilityEngineJson[i].engineActivity.activity.testBedId.id); jsonData['Date'] = moment__WEBPACK_IMPORTED_MODULE_12__(reliabilityEngineJson[i].engineActivity.activity.activityDate).format('DD/MM/YYYY'); jsonData['Sequence Number'] = reliabilityEngineJson[i].engineActivity.activity.seqNum; if (this.nullcheck(reliabilityEngineJson[i].engineActivity.activity.testBedId.testbedGlobalInfo.meanId) === "BV") { jsonData['Gearbox hours'] = reliabilityEngineJson[i].engineActivity.engHours; } else if (this.nullcheck(reliabilityEngineJson[i].engineActivity.activity.testBedId.testbedGlobalInfo.meanId) === src_app_saisie_activate_activity_model__WEBPACK_IMPORTED_MODULE_16__["ActivityEnum"].Brap) { jsonData['KM VH'] = reliabilityEngineJson[i].engineActivity.engHours === 0 ? '0' : reliabilityEngineJson[i].engineActivity.engHours == null ? '' : reliabilityEngineJson[i].engineActivity.engHours; } else { jsonData['Engine hours'] = reliabilityEngineJson[i].engineActivity.engHours; } jsonData['Activity type'] = this.nullcheck(reliabilityEngineJson[i].engineActivity.activity.level0); jsonData['Activity duration'] = reliabilityEngineJson[i].engineActivity.activity.duration; jsonData['D.I./Test Number'] = this.emptyValueInsertorforNull(reliabilityEngineJson[i].engineActivity.di) + this.emptyValueInsertorforNull(reliabilityEngineJson[i].engineActivity.essNB); jsonData['Exploitable'] = this.nullcheck(reliabilityEngineJson[i].engineActivity.activity.exploitable); jsonData['Comment'] = reliabilityEngineJson[i].engineActivity.activity.comment; jsonData['Level 1'] = this.nullcheck(reliabilityEngineJson[i].engineActivity.activity.level1); jsonData['Level 2'] = this.nullcheck(reliabilityEngineJson[i].engineActivity.activity.level2); jsonData['Program line'] = reliabilityEngineJson[i].engineActivity.programLine; if (this.nullcheck(reliabilityEngineJson[i].engineActivity.activity.testBedId.testbedGlobalInfo.meanId) === "BV") { jsonData['Gearbox number'] = reliabilityEngineJson[i].engineActivity.engNumber; } else if (this.nullcheck(reliabilityEngineJson[i].engineActivity.activity.testBedId.testbedGlobalInfo.meanId) === src_app_saisie_activate_activity_model__WEBPACK_IMPORTED_MODULE_16__["ActivityEnum"].Brap) { jsonData['QFV number'] = reliabilityEngineJson[i].engineActivity.engNumber; } else { jsonData['Engine number'] = reliabilityEngineJson[i].engineActivity.engNumber; } jsonData['VS number'] = reliabilityEngineJson[i].engineActivity.testedVS; jsonData['Fuel'] = this.nullcheck(reliabilityEngineJson[i].engineActivity.fuel); if (reliabilityEngineJson[i].engineActivity.activity.means.label.toUpperCase() === "BV") { jsonData['F.A / D.E number'] = reliabilityEngineJson[i].engineActivity.activity.customerRequest; } else { jsonData['Customer request'] = reliabilityEngineJson[i].engineActivity.activity.customerRequest; } // jsonData['F.A / D.E number'] = reliabilityEngineJson[i].cust_req; jsonData['Calibration'] = reliabilityEngineJson[i].engineActivity.activity.calibration; jsonData['Operator IPN'] = reliabilityEngineJson[i].engineActivity.activity.ipn; jsonData['Customer direction'] = this.nullcheck(reliabilityEngineJson[i].engineActivity.activity.customerDirection); jsonData['Prestation'] = this.nullcheck(reliabilityEngineJson[i].engineActivity.activity.prestations); jsonData['Macro Activity'] = this.nullcheck(reliabilityEngineJson[i].engineActivity.activity.prestations); jsonData['Procedures/Test type'] = this.nullcheck(reliabilityEngineJson[i].engineActivity.activity.procedures); jsonData['Campaign'] = this.nullcheck(reliabilityEngineJson[i].engineActivity.activity.campaigns); jsonData['Perimeter'] = this.nullcheck(reliabilityEngineJson[i].engineActivity.activity.testBedId.testbedGlobalInfo.perimeterId); jsonData['OT number'] = ''; jsonData['OT status'] = ''; jsonData['Soft'] = reliabilityEngineJson[i].soft; jsonData['RS type'] = this.nullcheck(reliabilityEngineJson[i].engineActivity.rsTypeId); jsonData['ESS Number'] = reliabilityEngineJson[i].engineActivity.essNBGps; jsonData['RLCE'] = reliabilityEngineJson[i].engineActivity.bvRlce; // jsonData['Test Number'] = reliabilityEngineJson[i].engineActivity.essNB; extractReliabilityData[i] = jsonData; jsonData = {}; } } if (tuningEngineJson.length !== 0) { for (var i = 0; i < tuningEngineJson.length; i++) { jsonData['Site'] = this.nullcheck(tuningEngineJson[i].engineActivity.activity.testBedId.testbedGlobalInfo.siteId); jsonData['Mean'] = this.nullcheck(tuningEngineJson[i].engineActivity.activity.testBedId.testbedGlobalInfo.meanId); jsonData['Testbed'] = this.getTestBedLabel(tuningEngineJson[i].engineActivity.activity.testBedId.id); jsonData['Date'] = moment__WEBPACK_IMPORTED_MODULE_12__(tuningEngineJson[i].engineActivity.activity.activityDate).format('DD/MM/YYYY'); jsonData['Sequence Number'] = tuningEngineJson[i].engineActivity.activity.seqNum; jsonData['Engine hours'] = tuningEngineJson[i].engineActivity.engHours; jsonData['Activity type'] = this.nullcheck(tuningEngineJson[i].engineActivity.activity.level0); jsonData['Activity duration'] = tuningEngineJson[i].engineActivity.activity.duration; jsonData['D.I./Test Number'] = this.emptyValueInsertorforNull(tuningEngineJson[i].engineActivity.di) + this.emptyValueInsertorforNull(tuningEngineJson[i].engineActivity.essNB); jsonData['Exploitable'] = this.nullcheck(tuningEngineJson[i].engineActivity.activity.exploitable); jsonData['Points number'] = tuningEngineJson[i].pointsNb; jsonData['Comment'] = tuningEngineJson[i].engineActivity.activity.comment; jsonData['Level 1'] = this.nullcheck(tuningEngineJson[i].engineActivity.activity.level1); jsonData['Level 2'] = this.nullcheck(tuningEngineJson[i].engineActivity.activity.level2); jsonData['Program line'] = (tuningEngineJson[i].engineActivity.programLine); jsonData['FEB number'] = tuningEngineJson[i].febNb; jsonData['Engine number'] = tuningEngineJson[i].engineActivity.engNumber; jsonData['VS number'] = tuningEngineJson[i].engineActivity.testedVS; jsonData['Engine D.T'] = tuningEngineJson[i].engDt; jsonData['RS type'] = this.nullcheck(tuningEngineJson[i].engineActivity.rsTypeId); jsonData['Calibration'] = tuningEngineJson[i].engineActivity.activity.calibration; jsonData['Operator IPN'] = tuningEngineJson[i].engineActivity.activity.ipn; jsonData['Customer direction'] = this.nullcheck(tuningEngineJson[i].engineActivity.activity.customerDirection); jsonData['Prestation'] = this.nullcheck(tuningEngineJson[i].engineActivity.activity.prestations); jsonData['Macro Activity'] = this.nullcheck(tuningEngineJson[i].engineActivity.activity.macroActivity); jsonData['Procedures/Test type'] = this.nullcheck(tuningEngineJson[i].engineActivity.activity.procedures); jsonData['Campaign'] = this.nullcheck(tuningEngineJson[i].engineActivity.activity.campaigns); jsonData['Perimeter'] = this.nullcheck(tuningEngineJson[i].engineActivity.activity.testBedId.testbedGlobalInfo.perimeterId); jsonData['OT number'] = ''; jsonData['OT status'] = ''; jsonData['Soft'] = tuningEngineJson[i].soft; jsonData['DCM'] = tuningEngineJson[i].dcm; jsonData['Test CAMEO/TST'] = tuningEngineJson[i].cameo; jsonData['ESS Number'] = tuningEngineJson[i].engineActivity.essNBGps; if (tuningEngineJson[i].engineActivity.activity.means.maps.label.toUpperCase() !== "Tuning E/D" && tuningEngineJson[i].engineActivity.activity.level0.label !== "MANU" && tuningEngineJson[i].engineActivity.activity.level0.level0_test === true && tuningEngineJson[i].engineActivity.activity.level0.failure === false) { jsonData['TOH'] = tuningEngineJson[i].engineActivity.tuningTOH; } // jsonData['Test Number'] = tuningEngineJson[i].engineActivity.essNB; jsonData['Fuel'] = this.nullcheck(tuningEngineJson[i].engineActivity.fuel); extractTuningData[i] = jsonData; jsonData = {}; } } if (failureactivityJson.length !== 0) { for (var i = 0; i < failureactivityJson.length; i++) { jsonData['Site'] = this.nullcheck(failureactivityJson[i].engineActivity.activity.testBedId.testbedGlobalInfo.siteId); jsonData['Mean'] = this.nullcheck(failureactivityJson[i].engineActivity.activity.testBedId.testbedGlobalInfo.meanId); jsonData['Testbed'] = this.getTestBedLabel(failureactivityJson[i].engineActivity.activity.testBedId.id); jsonData['Date'] = moment__WEBPACK_IMPORTED_MODULE_12__(failureactivityJson[i].engineActivity.activity.activityDate).format('DD/MM/YYYY'); jsonData['Sequence Number'] = failureactivityJson[i].engineActivity.activity.seqNum; if (failureactivityJson[i].engineActivity.activity.means.label === "BV") { jsonData['Gearbox hours'] = failureactivityJson[i].engineActivity.engHours; } else if (failureactivityJson[i].engineActivity.activity.means.label === src_app_saisie_activate_activity_model__WEBPACK_IMPORTED_MODULE_16__["ActivityEnum"].Brap) { jsonData['KM VH'] = failureactivityJson[i].engineActivity.engHours === 0 ? '0' : failureactivityJson[i].engineActivity.engHours == null ? '' : failureactivityJson[i].engineActivity.engHours; } else { jsonData['Engine hours'] = failureactivityJson[i].engineActivity.engHours; } jsonData['Activity type'] = this.nullcheck(failureactivityJson[i].engineActivity.activity.level0); jsonData['Activity duration'] = failureactivityJson[i].engineActivity.activity.duration; jsonData['D.I./Test Number'] = this.emptyValueInsertorforNull(failureactivityJson[i].engineActivity.di) + this.emptyValueInsertorforNull(failureactivityJson[i].engineActivity.essNB); jsonData['Exploitable'] = this.nullcheck(failureactivityJson[i].engineActivity.activity.exploitable); // TODO: Delete jsonData['Points number'] = failureactivityJson[i].pointsNb ? failureactivityJson[i].pointsNb : null; jsonData['Comment'] = failureactivityJson[i].engineActivity.activity.comment; jsonData['Level 1'] = this.nullcheck(failureactivityJson[i].engineActivity.activity.level1); jsonData['Level 2'] = this.nullcheck(failureactivityJson[i].engineActivity.activity.level2); jsonData['Program line'] = (failureactivityJson[i].engineActivity.programLine); jsonData['FEB number'] = failureactivityJson[i].febNb; if (failureactivityJson[i].engineActivity.activity.means.label === "BV" && failureactivityJson[i].engineActivity.activity.means.maps.label.toUpperCase() !== "ELEC E/D") { jsonData['Gearbox number'] = failureactivityJson[i].engineActivity.engNumber; } else if (failureactivityJson[i].engineActivity.activity.means.label === src_app_saisie_activate_activity_model__WEBPACK_IMPORTED_MODULE_16__["ActivityEnum"].Brap && failureactivityJson[i].engineActivity.activity.means.maps.label.toUpperCase() !== "ELEC E/D") { jsonData['QFV number'] = failureactivityJson[i].engineActivity.engNumber; } else if (failureactivityJson[i].engineActivity.activity.means.maps.label.toUpperCase() === "ELEC E/D") { jsonData['VS number'] = failureactivityJson[i].engineActivity.engNumber; } else { jsonData['Engine number'] = failureactivityJson[i].engineActivity.engNumber; } //Commented for US502// //jsonData['VS number'] = failureactivityJson[i].engineActivity.testedVS; if (failureactivityJson[i].engineActivity.activity.means.label === "BV" && failureactivityJson[i].engineActivity.activity.means.maps.label.toUpperCase() !== "ELEC E/D") { jsonData['Gearbox D.T'] = failureactivityJson[i].engDt; } else if (failureactivityJson[i].engineActivity.activity.means.maps.label.toUpperCase() === "ELEC E/D") { jsonData['VS DT'] = failureactivityJson[i].engDt; } else { jsonData['Engine D.T'] = failureactivityJson[i].engDt; } jsonData['RS type'] = this.nullcheck(failureactivityJson[i].engineActivity.rsTypeId); jsonData['Calibration'] = failureactivityJson[i].engineActivity.activity.calibration; jsonData['Operator IPN'] = failureactivityJson[i].engineActivity.activity.ipn; jsonData['Customer direction'] = this.nullcheck(failureactivityJson[i].engineActivity.activity.customerDirection); jsonData['Prestation'] = this.nullcheck(failureactivityJson[i].engineActivity.activity.prestations); jsonData['Macro Activity'] = this.nullcheck(failureactivityJson[i].engineActivity.activity.macroActivity); jsonData['Procedures/Test type'] = this.nullcheck(failureactivityJson[i].engineActivity.activity.procedures); jsonData['Campaign'] = this.nullcheck(failureactivityJson[i].engineActivity.activity.campaigns); jsonData['Perimeter'] = this.nullcheck(failureactivityJson[i].engineActivity.activity.testBedId.testbedGlobalInfo.perimeterId); //Added for OTglobal changes jsonData['OT number'] = failureactivityJson[i].ot ? failureactivityJson[i].ot.label : failureactivityJson[i].otGlobal; jsonData['OT status'] = failureactivityJson[i].ot ? failureactivityJson[i].ot.status : ''; jsonData['Customer request'] = failureactivityJson[i].engineActivity.activity.customerRequest; jsonData['Soft'] = failureactivityJson[i].soft; jsonData['DCM'] = failureactivityJson[i].dcm; jsonData['ESS Number'] = failureactivityJson[i].engineActivity.essNBGps; jsonData['Fuel'] = this.nullcheck(failureactivityJson[i].engineActivity.fuel); // jsonData['Test Number'] = failureactivityJson[i].engineActivity.essNB; if (failureactivityJson[i].engineActivity.activity.means.label.toUpperCase() === "BV" && failureactivityJson[i].engineActivity.activity.means.maps.label === "Reliability E/D") { jsonData['RLCE'] = failureactivityJson[i].bvRlce; } jsonData[''] = failureactivityJson[i].engineActivity.activity; extractFailureData[i] = jsonData; jsonData = {}; } } if (barActivityJson.length !== 0) { for (var i = 0; i < barActivityJson.length; i++) { jsonData['Site'] = this.nullcheck(barActivityJson[i].rollActivity.activity.testBedId.testbedGlobalInfo.siteId); jsonData['Mean'] = this.nullcheck(barActivityJson[i].rollActivity.activity.testBedId.testbedGlobalInfo.meanId); jsonData['Testbed'] = this.getTestBedLabel(barActivityJson[i].rollActivity.activity.testBedId.id); jsonData['Date'] = moment__WEBPACK_IMPORTED_MODULE_12__(barActivityJson[i].rollActivity.activity.activityDate).format('DD/MM/YYYY'); jsonData['Sequence Number'] = barActivityJson[i].rollActivity.activity.seqNum; jsonData['Activity type'] = this.nullcheck(barActivityJson[i].rollActivity.activity.level0); jsonData['Level 1'] = this.nullcheck(barActivityJson[i].rollActivity.activity.level1); jsonData['Level 2'] = this.nullcheck(barActivityJson[i].rollActivity.activity.level2); jsonData['Exploitable'] = this.nullcheck(barActivityJson[i].rollActivity.activity.exploitable); jsonData['Activity duration'] = barActivityJson[i].rollActivity.activity.duration; jsonData['Engine'] = barActivityJson[i].rollActivity.vehDT; jsonData['Norm'] = barActivityJson[i].rollActivity.norm; jsonData['Astral Request Number'] = barActivityJson[i].rollActivity.astralNumber; jsonData['Astral Test Number'] = barActivityJson[i].rollActivity.testNumber; jsonData['Calibration'] = barActivityJson[i].rollActivity.activity.calibration; jsonData['Vehicle Reference'] = barActivityJson[i].workshop; jsonData['Temperature'] = barActivityJson[i].temperature; jsonData['Altitude'] = barActivityJson[i].rollActivity.altitude; jsonData['Interpolation Family'] = ''; jsonData['Variante'] = ''; jsonData['Manufacture Number/Vehicle Type'] = barActivityJson[i].rollActivity.vehReference; // jsonData['Vehicle Type'] = barActivityJson[i].rollActivity.vehReference; jsonData['Vehicle Mileage'] = barActivityJson[i].rollActivity.mileage; jsonData['Order Number'] = barActivityJson[i].rollActivity.orderNumber; jsonData['Vetsone N°'] = barActivityJson[i].rollActivity.vetsNumber; jsonData['Operator IPN'] = barActivityJson[i].rollActivity.operator; jsonData['Prestation'] = this.nullcheck(barActivityJson[i].rollActivity.activity.prestations); jsonData['Macro Activity'] = this.nullcheck(barActivityJson[i].rollActivity.activity.macroActivity); jsonData['Procedures'] = this.nullcheck(barActivityJson[i].rollActivity.activity.procedures); jsonData['Campaign'] = this.nullcheck(barActivityJson[i].rollActivity.activity.campaigns); jsonData['Service Client'] = this.nullcheck(barActivityJson[i].rollActivity.activity.customerDirection); jsonData['OT number'] = ''; jsonData['OT status'] = ''; jsonData['Astral Requester IPN'] = barActivityJson[i].rollActivity.operator; jsonData['Comment'] = barActivityJson[i].rollActivity.activity.comment; jsonData['Status'] = barActivityJson[i].rollActivity.status; jsonData['Customer Comment'] = barActivityJson[i].rollActivity.customerComment; jsonData['Requester'] = barActivityJson[i].rollActivity.requester; jsonData['Client Validation Message'] = barActivityJson[i].rollActivity.message1; jsonData[''] = barActivityJson[i].rollActivity.activity; extractbarActivityData[i] = jsonData; jsonData = {}; } } if (barCopActivityJson.length !== 0) { for (var i = 0; i < barCopActivityJson.length; i++) { jsonData['Site'] = this.nullcheck(barCopActivityJson[i].rollActivity.activity.testBedId.testbedGlobalInfo.siteId); jsonData['Mean'] = this.nullcheck(barCopActivityJson[i].rollActivity.activity.testBedId.testbedGlobalInfo.meanId); jsonData['Testbed'] = this.getTestBedLabel(barCopActivityJson[i].rollActivity.activity.testBedId.id); jsonData['Date'] = moment__WEBPACK_IMPORTED_MODULE_12__(barCopActivityJson[i].rollActivity.activity.activityDate).format('DD/MM/YYYY'); jsonData['Sequence Number'] = barCopActivityJson[i].rollActivity.activity.seqNum; jsonData['Activity type'] = this.nullcheck(barCopActivityJson[i].rollActivity.activity.level0); jsonData['Level 1'] = this.nullcheck(barCopActivityJson[i].rollActivity.activity.level1); jsonData['Level 2'] = this.nullcheck(barCopActivityJson[i].rollActivity.activity.level2); jsonData['Exploitable'] = this.nullcheck(barCopActivityJson[i].rollActivity.activity.exploitable); jsonData['Activity duration'] = barCopActivityJson[i].rollActivity.activity.duration; jsonData['Engine'] = barCopActivityJson[i].rollActivity.vehDT; jsonData['Norm'] = barCopActivityJson[i].rollActivity.norm; jsonData['Astral Request Number'] = barCopActivityJson[i].rollActivity.astralNumber; jsonData['Astral Test Number'] = barCopActivityJson[i].rollActivity.testNumber >= _tesbed_extract_model__WEBPACK_IMPORTED_MODULE_14__["TestbedExtractEnum"].testNumberlimit ? barCopActivityJson[i].rollActivity.vetsOneProjectCode : barCopActivityJson[i].rollActivity.testNumber; jsonData['Calibration'] = barCopActivityJson[i].rollActivity.activity.calibration; jsonData['Vehicle Reference'] = ''; jsonData['Temperature'] = ''; jsonData['Altitude'] = ''; jsonData['Interpolation Family'] = barCopActivityJson[i].interpolFam; jsonData['Variante'] = barCopActivityJson[i].variant; // jsonData['Vehicle Type'] = ''; jsonData['Manufacture Number/Vehicle Type'] = barCopActivityJson[i].rollActivity.vehReference; jsonData['Vehicle Mileage'] = barCopActivityJson[i].rollActivity.mileage; jsonData['Order Number'] = this.nullcheck(barCopActivityJson[i].copProgragmLine); jsonData['Vetsone N°'] = barCopActivityJson[i].rollActivity.vetsNumber; jsonData['Operator IPN'] = barCopActivityJson[i].rollActivity.operator; jsonData['Prestation'] = this.nullcheck(barCopActivityJson[i].rollActivity.activity.prestations); jsonData['Prestation'] = this.nullcheck(barCopActivityJson[i].rollActivity.activity.macroActivity); jsonData['Procedures'] = this.nullcheck(barCopActivityJson[i].rollActivity.activity.procedures); jsonData['Campaign'] = this.nullcheck(barCopActivityJson[i].rollActivity.activity.campaigns); jsonData['Service Client'] = this.nullcheck(barCopActivityJson[i].rollActivity.activity.customerDirection); jsonData['OT number'] = ''; jsonData['OT status'] = ''; jsonData['Astral Requester IPN'] = barCopActivityJson[i].rollActivity.operator; jsonData['Comment'] = barCopActivityJson[i].rollActivity.activity.comment; jsonData['Status'] = barCopActivityJson[i].rollActivity.status; jsonData['Customer Comment'] = barCopActivityJson[i].rollActivity.customerComment; jsonData['Requester'] = barCopActivityJson[i].rollActivity.requester; jsonData['Client Validation Message'] = barCopActivityJson[i].rollActivity.message1; jsonData[''] = barCopActivityJson[i].rollActivity.activity; extractbarCopActivityData[i] = jsonData; jsonData = {}; } } if (barMixActivityJson.length !== 0) { /* Backend & Frontend mapping for Vehicle reference & workshop number Data base(Vehicle reference) = Front End(Vehicle type/Manufacturing number) Date base(workshop number) = Front End(Vehicle reference) */ for (var i = 0; i < barMixActivityJson.length; i++) { jsonData['Site'] = this.nullcheck(barMixActivityJson[i].barActivity.rollActivity.activity.testBedId.testbedGlobalInfo.siteId); jsonData['Mean'] = this.nullcheck(barMixActivityJson[i].barActivity.rollActivity.activity.testBedId.testbedGlobalInfo.meanId); jsonData['Testbed'] = this.getTestBedLabel(barMixActivityJson[i].barActivity.rollActivity.activity.testBedId.id); jsonData['Date'] = moment__WEBPACK_IMPORTED_MODULE_12__(barMixActivityJson[i].barActivity.rollActivity.activity.activityDate).format('DD/MM/YYYY'); jsonData['Sequence Number'] = barMixActivityJson[i].barActivity.rollActivity.activity.seqNum; jsonData['Activity type'] = this.nullcheck(barMixActivityJson[i].barActivity.rollActivity.activity.level0); jsonData['Level 1'] = this.nullcheck(barMixActivityJson[i].barActivity.rollActivity.activity.level1); jsonData['Level 2'] = this.nullcheck(barMixActivityJson[i].barActivity.rollActivity.activity.level2); jsonData['Exploitable'] = this.nullcheck(barMixActivityJson[i].barActivity.rollActivity.activity.exploitable); jsonData['Activity duration'] = barMixActivityJson[i].barActivity.rollActivity.activity.duration; jsonData['Engine'] = barMixActivityJson[i].barActivity.rollActivity.vehDT; jsonData['Norm'] = barMixActivityJson[i].barActivity.rollActivity.norm; jsonData['Astral Request Number'] = barMixActivityJson[i].barActivity.rollActivity.astralNumber; jsonData['Astral Test Number'] = barMixActivityJson[i].barActivity.rollActivity.testNumber >= _tesbed_extract_model__WEBPACK_IMPORTED_MODULE_14__["TestbedExtractEnum"].testNumberlimit ? barMixActivityJson[i].barActivity.rollActivity.vetsOneProjectCode : barMixActivityJson[i].barActivity.rollActivity.testNumber; jsonData['Calibration'] = barMixActivityJson[i].barActivity.rollActivity.activity.calibration; // jsonData['Vehicle Reference'] = barMixActivityJson[i].barActivity.workshop; var mean = barMixActivityJson[i].barActivity.rollActivity.activity.testBedId.testbedGlobalInfo.meanId.label; // Added for PEMS activity /* if (mean === 'PEMS') { jsonData['Vehicle Reference'] = barMixActivityJson[i].barActivity.rollActivity.vehReference; jsonData['Manufacture Number'] = barMixActivityJson[i].barActivity.workshop; } else { jsonData['Manufacture Number'] = barMixActivityJson[i].barActivity.rollActivity.vehReference; jsonData['Vehicle Reference'] = barMixActivityJson[i].barActivity.workshop; } */ jsonData['Manufacture Number/Vehicle Type'] = barMixActivityJson[i].barActivity.rollActivity.vehReference; jsonData['Vehicle Reference'] = barMixActivityJson[i].barActivity.workshop; jsonData['Temperature'] = barMixActivityJson[i].barActivity.temperature; jsonData['Altitude'] = barMixActivityJson[i].barActivity.rollActivity.altitude; // jsonData['Vehicle Type'] = ''; jsonData['Interpolation Family'] = barMixActivityJson[i].barCopActivity.interpolFam; jsonData['Variante'] = barMixActivityJson[i].barCopActivity.variant; // jsonData['Manufacture Number'] = barMixActivityJson[i].barActivity.rollActivity.vehReference; jsonData['Vehicle Mileage'] = barMixActivityJson[i].barActivity.rollActivity.mileage; jsonData['Order Number'] = barMixActivityJson[i].barActivity.rollActivity.orderNumber; jsonData['Vetsone N°'] = barMixActivityJson[i].barActivity.rollActivity.vetsNumber; jsonData['Operator IPN'] = barMixActivityJson[i].barActivity.rollActivity.operator; jsonData['Prestation'] = this.nullcheck(barMixActivityJson[i].barActivity.rollActivity.activity.prestations); jsonData['Macro Activity'] = this.nullcheck(barMixActivityJson[i].barActivity.rollActivity.activity.macroActivity); jsonData['Procedures'] = this.nullcheck(barMixActivityJson[i].barActivity.rollActivity.activity.procedures); jsonData['Campaign'] = this.nullcheck(barMixActivityJson[i].barActivity.rollActivity.activity.campaigns); jsonData['Service Client'] = this.nullcheck(barMixActivityJson[i].barActivity.rollActivity.activity.customerDirection); jsonData['OT number'] = ''; jsonData['OT status'] = ''; jsonData['Astral Requester IPN'] = barMixActivityJson[i].barActivity.rollActivity.operator; jsonData['Comment'] = barMixActivityJson[i].barActivity.rollActivity.activity.comment; jsonData['Status'] = barMixActivityJson[i].barActivity.rollActivity.status; jsonData['Customer Comment'] = barMixActivityJson[i].barActivity.rollActivity.customerComment; jsonData['Requester'] = barMixActivityJson[i].barActivity.rollActivity.requester; jsonData['Client Validation Message'] = barMixActivityJson[i].barActivity.rollActivity.message1; jsonData[''] = barMixActivityJson[i].barActivity.rollActivity.activity; extractbarMixActivityData[i] = jsonData; jsonData = {}; } } if (emissionFailureJson.length !== 0) { for (var i = 0; i < emissionFailureJson.length; i++) { jsonData['Site'] = this.nullcheck(emissionFailureJson[i].rollActivity.activity.testBedId.testbedGlobalInfo.siteId); jsonData['Mean'] = this.nullcheck(emissionFailureJson[i].rollActivity.activity.testBedId.testbedGlobalInfo.meanId); jsonData['Testbed'] = this.getTestBedLabel(emissionFailureJson[i].rollActivity.activity.testBedId.id); jsonData['Date'] = moment__WEBPACK_IMPORTED_MODULE_12__(emissionFailureJson[i].rollActivity.activity.activityDate).format('DD/MM/YYYY'); jsonData['Sequence Number'] = emissionFailureJson[i].rollActivity.activity.seqNum; jsonData['Activity type'] = this.nullcheck(emissionFailureJson[i].rollActivity.activity.level0); jsonData['Level 1'] = this.nullcheck(emissionFailureJson[i].rollActivity.activity.level1); jsonData['Level 2'] = this.nullcheck(emissionFailureJson[i].rollActivity.activity.level2); jsonData['Exploitable'] = this.nullcheck(emissionFailureJson[i].rollActivity.activity.exploitable); jsonData['Activity duration'] = emissionFailureJson[i].rollActivity.activity.duration; jsonData['Engine'] = emissionFailureJson[i].rollActivity.vehDT; jsonData['Norm'] = emissionFailureJson[i].rollActivity.norm; jsonData['Astral Request Number'] = emissionFailureJson[i].rollActivity.astralNumber; jsonData['Astral Test Number'] = emissionFailureJson[i].rollActivity.testNumber; jsonData['Calibration'] = emissionFailureJson[i].rollActivity.activity.calibration; jsonData['Vehicle Reference'] = ''; jsonData['Temperature'] = ''; jsonData['Altitude'] = ''; // jsonData['Vehicle Type'] = '' jsonData['Interpolation Family'] = ''; jsonData['Variante'] = ''; jsonData['Manufacture Number/Vehicle Type'] = emissionFailureJson[i].rollActivity.vehReference; jsonData['Vehicle Mileage'] = emissionFailureJson[i].rollActivity.mileage; jsonData['Order Number'] = emissionFailureJson[i].rollActivity.orderNumber; jsonData['Vetsone N°'] = emissionFailureJson[i].rollActivity.vetsNumber; jsonData['Operator IPN'] = emissionFailureJson[i].rollActivity.operator; jsonData['Prestation'] = this.nullcheck(emissionFailureJson[i].rollActivity.activity.prestations); jsonData['Macro Activity'] = this.nullcheck(emissionFailureJson[i].rollActivity.activity.macroActivity); jsonData['Procedures'] = this.nullcheck(emissionFailureJson[i].rollActivity.activity.procedures); jsonData['Campaign'] = this.nullcheck(emissionFailureJson[i].rollActivity.activity.campaigns); jsonData['Service Client'] = this.nullcheck(emissionFailureJson[i].rollActivity.activity.customerDirection); //Added for OTglobal changes jsonData['OT number'] = emissionFailureJson[i].ot ? emissionFailureJson[i].ot.label : emissionFailureJson[i].otGlobal; jsonData['OT status'] = emissionFailureJson[i].ot ? emissionFailureJson[i].ot.status : ''; jsonData['Astral Requester IPN'] = emissionFailureJson[i].rollActivity.operator; jsonData['Comment'] = emissionFailureJson[i].rollActivity.activity.comment; jsonData['Status'] = emissionFailureJson[i].rollActivity.status; jsonData['Customer Comment'] = emissionFailureJson[i].rollActivity.customerComment; jsonData['Requester'] = emissionFailureJson[i].rollActivity.requester; jsonData['Client Validation Message'] = emissionFailureJson[i].rollActivity.message1; jsonData[''] = emissionFailureJson[i].rollActivity.activity; extractfailureActivityforEmissionData[i] = jsonData; jsonData = {}; } } } else { this.fileName = 'Activite'; if (evEngineJson.length !== 0) { for (var i = 0; i < evEngineJson.length; i++) { jsonData['Site'] = this.nullcheck(evEngineJson[i].engineActivity.activity.testBedId.testbedGlobalInfo.siteId); jsonData['Moyen'] = this.nullcheck(evEngineJson[i].engineActivity.activity.testBedId.testbedGlobalInfo.meanId); jsonData['Essai Banc'] = this.getTestBedLabel(evEngineJson[i].engineActivity.activity.testBedId.id); jsonData['Date'] = moment__WEBPACK_IMPORTED_MODULE_12__(evEngineJson[i].engineActivity.activity.activityDate).format('DD/MM/YYYY'); jsonData['N° de séquence'] = evEngineJson[i].engineActivity.activity.seqNum; jsonData['Heures moteur'] = evEngineJson[i].engineActivity.engHours; jsonData['Type activite'] = this.nullcheck(evEngineJson[i].engineActivity.activity.level0); jsonData['Duree activite'] = evEngineJson[i].engineActivity.activity.duration; jsonData['D.I./Numero Essai'] = this.emptyValueInsertorforNull(evEngineJson[i].engineActivity.di) + this.emptyValueInsertorforNull(evEngineJson[i].engineActivity.essNB); jsonData['Exploitable'] = this.nullcheck(evEngineJson[i].engineActivity.activity.exploitable); jsonData['Commentaire'] = evEngineJson[i].engineActivity.activity.comment; jsonData['Niveau 1'] = this.nullcheck(evEngineJson[i].engineActivity.activity.level1); jsonData['Niveau 2'] = this.nullcheck(evEngineJson[i].engineActivity.activity.level2); // jsonData['Ligne de programme'] = (evEngineJson[i].engineActivity.programLine); // jsonData['Numero moteur'] = (evEngineJson[i].engineActivity.engNumber); // jsonData['Numero VS'] = evEngineJson[i].engineActivity.testedVS; jsonData['Ligne programme'] = (evEngineJson[i].engineActivity.programLine); jsonData['Numero de VS'] = (evEngineJson[i].engineActivity.engNumber); //jsonData['Numero VS'] = evEngineJson[i].engineActivity.testedVS; jsonData['Type RS'] = this.nullcheck(evEngineJson[i].engineActivity.rsTypeId); jsonData['Etalonnage'] = evEngineJson[i].engineActivity.activity.calibration; jsonData['IPN Operateur'] = (evEngineJson[i].engineActivity.activity.ipn); jsonData['Service Client'] = this.nullcheck(evEngineJson[i].engineActivity.activity.customerDirection); jsonData['Prestation'] = this.nullcheck(evEngineJson[i].engineActivity.activity.prestations); jsonData['Macro Activity'] = this.nullcheck(evEngineJson[i].engineActivity.activity.macroActivity); jsonData['Procedures/Type essai'] = this.nullcheck(evEngineJson[i].engineActivity.activity.procedures); jsonData['Campagne'] = this.nullcheck(evEngineJson[i].engineActivity.activity.campaigns); if (this.showTypeOfTest) { jsonData['Type dépreuve'] = evEngineJson[i].engineActivity.activity.typeOfTest; } jsonData['Perimetre'] = this.nullcheck(evEngineJson[i].engineActivity.activity.testBedId.testbedGlobalInfo.perimeterId); jsonData['Numero ESS'] = evEngineJson[i].engineActivity.essNBGps; jsonData['Support essai'] = evEngineJson[i].testSupport; jsonData['Numero realignement'] = evEngineJson[i].realNb; jsonData['Carburant'] = this.nullcheck(evEngineJson[i].engineActivity.fuel); jsonData['Demande du client'] = evEngineJson[i].engineActivity.activity.customerRequest; // jsonData['Numero Essai'] = evEngineJson[i].engineActivity.essNB; extracEvData[i] = jsonData; jsonData = {}; } } if (reliabilityEngineJson.length !== 0) { for (var i = 0; i < reliabilityEngineJson.length; i++) { jsonData['Site'] = this.nullcheck(reliabilityEngineJson[i].engineActivity.activity.testBedId.testbedGlobalInfo.siteId); jsonData['Moyen'] = this.nullcheck(reliabilityEngineJson[i].engineActivity.activity.testBedId.testbedGlobalInfo.meanId); jsonData['Essai Banc'] = this.getTestBedLabel(reliabilityEngineJson[i].engineActivity.activity.testBedId.id); jsonData['Date'] = moment__WEBPACK_IMPORTED_MODULE_12__(reliabilityEngineJson[i].engineActivity.activity.activityDate).format('DD/MM/YYYY'); jsonData['N° de séquence'] = reliabilityEngineJson[i].engineActivity.activity.seqNum; if (this.nullcheck(reliabilityEngineJson[i].engineActivity.activity.testBedId.testbedGlobalInfo.meanId) === "BV") { jsonData['Heures de Boite'] = reliabilityEngineJson[i].engineActivity.engHours; } else if (this.nullcheck(reliabilityEngineJson[i].engineActivity.activity.testBedId.testbedGlobalInfo.meanId) === src_app_saisie_activate_activity_model__WEBPACK_IMPORTED_MODULE_16__["ActivityEnum"].Brap) { jsonData['KM VH'] = reliabilityEngineJson[i].engineActivity.engHours === 0 ? '0' : reliabilityEngineJson[i].engineActivity.engHours == null ? '' : reliabilityEngineJson[i].engineActivity.engHours; } else { jsonData['Heures moteur'] = reliabilityEngineJson[i].engineActivity.engHours; } jsonData['Type activite'] = this.nullcheck(reliabilityEngineJson[i].engineActivity.activity.level0); jsonData['Duree activite'] = reliabilityEngineJson[i].engineActivity.activity.duration; jsonData['D.I./Numero Essai'] = this.emptyValueInsertorforNull(reliabilityEngineJson[i].engineActivity.di) + this.emptyValueInsertorforNull(reliabilityEngineJson[i].engineActivity.essNB); jsonData['Exploitable'] = this.nullcheck(reliabilityEngineJson[i].engineActivity.activity.exploitable); jsonData['Commentaire'] = reliabilityEngineJson[i].engineActivity.activity.comment; jsonData['Niveau 1'] = this.nullcheck(reliabilityEngineJson[i].engineActivity.activity.level1); jsonData['Niveau 2'] = this.nullcheck(reliabilityEngineJson[i].engineActivity.activity.level2); jsonData['Ligne de programme'] = (reliabilityEngineJson[i].engineActivity.programLine); if (this.nullcheck(reliabilityEngineJson[i].engineActivity.activity.testBedId.testbedGlobalInfo.meanId) === "BV") { jsonData['Nombre de Boite'] = reliabilityEngineJson[i].engineActivity.engNumber; } else if (this.nullcheck(reliabilityEngineJson[i].engineActivity.activity.testBedId.testbedGlobalInfo.meanId) === src_app_saisie_activate_activity_model__WEBPACK_IMPORTED_MODULE_16__["ActivityEnum"].Brap) { jsonData['Numéro QFV'] = reliabilityEngineJson[i].engineActivity.engNumber; } else { jsonData['Numero moteur'] = reliabilityEngineJson[i].engineActivity.engNumber; } jsonData['Numero VS'] = reliabilityEngineJson[i].engineActivity.testedVS; if (reliabilityEngineJson[i].engineActivity.activity.means.label.toUpperCase() === "BV") { jsonData['Numéro F.A / D.E'] = reliabilityEngineJson[i].engineActivity.activity.customerRequest; } else { jsonData['Demande du client'] = reliabilityEngineJson[i].engineActivity.activity.customerRequest; } jsonData['Etalonnage'] = reliabilityEngineJson[i].engineActivity.activity.calibration; jsonData['IPN Operateur'] = reliabilityEngineJson[i].engineActivity.activity.ipn; jsonData['Service Client'] = this.nullcheck(reliabilityEngineJson[i].engineActivity.activity.customerDirection); jsonData['Prestation'] = this.nullcheck(reliabilityEngineJson[i].engineActivity.activity.prestations); jsonData['Macro Activite'] = this.nullcheck(reliabilityEngineJson[i].engineActivity.activity.macroActivity); jsonData['Procedures/Type essai'] = this.nullcheck(reliabilityEngineJson[i].engineActivity.activity.procedures); jsonData['Campagne'] = this.nullcheck(reliabilityEngineJson[i].engineActivity.activity.campaigns); jsonData['Perimetre'] = this.nullcheck(reliabilityEngineJson[i].engineActivity.activity.testBedId.testbedGlobalInfo.perimeterId); jsonData['Numero OT'] = ''; jsonData['Statut OT'] = ''; jsonData['Soft'] = reliabilityEngineJson[i].soft; jsonData['Type RS'] = this.nullcheck(reliabilityEngineJson[i].engineActivity.rsTypeId); jsonData['Numero ESS'] = reliabilityEngineJson[i].engineActivity.essNBGps; // jsonData['Numero Essai'] = reliabilityEngineJson[i].engineActivity.essNB; jsonData['RLCE'] = reliabilityEngineJson[i].engineActivity.bvRlce; jsonData['Carburant'] = this.nullcheck(reliabilityEngineJson[i].engineActivity.fuel); extractReliabilityData[i] = jsonData; jsonData = {}; } } if (tuningEngineJson.length !== 0) { for (var i = 0; i < tuningEngineJson.length; i++) { jsonData['Site'] = this.nullcheck(tuningEngineJson[i].engineActivity.activity.testBedId.testbedGlobalInfo.siteId); jsonData['Moyen'] = this.nullcheck(tuningEngineJson[i].engineActivity.activity.testBedId.testbedGlobalInfo.meanId); jsonData['Essai Banc'] = this.getTestBedLabel(tuningEngineJson[i].engineActivity.activity.testBedId.id); jsonData['Date'] = moment__WEBPACK_IMPORTED_MODULE_12__(tuningEngineJson[i].engineActivity.activity.activityDate).format('DD/MM/YYYY'); jsonData['N° de séquence'] = tuningEngineJson[i].engineActivity.activity.seqNum; jsonData['Heures moteur'] = tuningEngineJson[i].engineActivity.engHours; jsonData['Type activite'] = this.nullcheck(tuningEngineJson[i].engineActivity.activity.level0); jsonData['Duree activite'] = tuningEngineJson[i].engineActivity.activity.duration; jsonData['D.I./Numero Essai'] = this.emptyValueInsertorforNull(tuningEngineJson[i].engineActivity.di) + this.emptyValueInsertorforNull(tuningEngineJson[i].engineActivity.essNB); jsonData['Exploitable'] = this.nullcheck(tuningEngineJson[i].engineActivity.activity.exploitable); jsonData['Nombre de points'] = tuningEngineJson[i].pointsNb; jsonData['Commentaire'] = tuningEngineJson[i].engineActivity.activity.comment; jsonData['Niveau 1'] = this.nullcheck(tuningEngineJson[i].engineActivity.activity.level1); jsonData['Niveau 2'] = this.nullcheck(tuningEngineJson[i].engineActivity.activity.level2); jsonData['Ligne de programme'] = (tuningEngineJson[i].engineActivity.programLine); jsonData['Numero FEB'] = (tuningEngineJson[i].febNb); jsonData['Numero moteur'] = tuningEngineJson[i].engineActivity.engNumber; jsonData['Numero VS'] = tuningEngineJson[i].engineActivity.testedVS; jsonData['D.T moteur'] = tuningEngineJson[i].engDt; jsonData['Type RS'] = this.nullcheck(tuningEngineJson[i].engineActivity.rsTypeId); jsonData['Etalonnage'] = tuningEngineJson[i].engineActivity.activity.calibration; jsonData['IPN Operateur'] = tuningEngineJson[i].engineActivity.activity.ipn; jsonData['Service Client'] = this.nullcheck(tuningEngineJson[i].engineActivity.activity.customerDirection); jsonData['Prestation'] = this.nullcheck(tuningEngineJson[i].engineActivity.activity.prestations); jsonData['Macro Activite'] = this.nullcheck(tuningEngineJson[i].engineActivity.activity.macroActivity); jsonData['Procedures/Type essai'] = this.nullcheck(tuningEngineJson[i].engineActivity.activity.procedures); jsonData['Campagne'] = this.nullcheck(tuningEngineJson[i].engineActivity.activity.campaigns); jsonData['Perimetre'] = this.nullcheck(tuningEngineJson[i].engineActivity.activity.testBedId.testbedGlobalInfo.perimeterId); jsonData['Numero OT'] = ''; jsonData['Statut OT'] = ''; jsonData['Soft'] = tuningEngineJson[i].soft; jsonData['DCM'] = tuningEngineJson[i].dcm; jsonData['Essai CAMEO/TST'] = tuningEngineJson[i].cameo; jsonData['Numero ESS'] = tuningEngineJson[i].engineActivity.essNBGps; jsonData['Carburant'] = this.nullcheck(tuningEngineJson[i].engineActivity.fuel); if (tuningEngineJson[i].engineActivity.activity.means.maps.label.toUpperCase() !== "Tuning E/D" && tuningEngineJson[i].engineActivity.activity.level0.label != "MANU" && tuningEngineJson[i].engineActivity.activity.level0.level0_test === true && tuningEngineJson[i].engineActivity.activity.level0.failure === false) { jsonData['TOH'] = tuningEngineJson[i].engineActivity.tuningTOH; } extractTuningData[i] = jsonData; jsonData = {}; } } if (failureactivityJson.length !== 0) { for (var i = 0; i < failureactivityJson.length; i++) { jsonData['Site'] = this.nullcheck(failureactivityJson[i].engineActivity.activity.testBedId.testbedGlobalInfo.siteId); jsonData['Moyen'] = this.nullcheck(failureactivityJson[i].engineActivity.activity.testBedId.testbedGlobalInfo.meanId); jsonData['Essai Banc'] = this.getTestBedLabel(failureactivityJson[i].engineActivity.activity.testBedId.id); jsonData['Date'] = moment__WEBPACK_IMPORTED_MODULE_12__(failureactivityJson[i].engineActivity.activity.activityDate).format('DD/MM/YYYY'); jsonData['N° de séquence'] = failureactivityJson[i].engineActivity.activity.seqNum; if (failureactivityJson[i].engineActivity.activity.means.label === "BV") { jsonData['Heures de Boite'] = failureactivityJson[i].engineActivity.engHours; } else if (failureactivityJson[i].engineActivity.activity.means.label === src_app_saisie_activate_activity_model__WEBPACK_IMPORTED_MODULE_16__["ActivityEnum"].Brap) { jsonData['KM VH'] = failureactivityJson[i].engineActivity.engHours === 0 ? '0' : failureactivityJson[i].engineActivity.engHours == null ? '' : failureactivityJson[i].engineActivity.engHours; } else { jsonData['Heures moteur'] = failureactivityJson[i].engineActivity.engHours; } jsonData['Type activite'] = this.nullcheck(failureactivityJson[i].engineActivity.activity.level0); jsonData['Duree activite'] = failureactivityJson[i].engineActivity.activity.duration; jsonData['D.I./Numero Essai'] = this.emptyValueInsertorforNull(failureactivityJson[i].engineActivity.di) + this.emptyValueInsertorforNull(failureactivityJson[i].engineActivity.essNB); jsonData['Exploitable'] = this.nullcheck(failureactivityJson[i].engineActivity.activity.exploitable); jsonData['Commentaire'] = failureactivityJson[i].engineActivity.activity.comment; // TODO Delete: jsonData['Nombre de points'] = failureactivityJson[i].pointsNb; jsonData['Niveau 1'] = this.nullcheck(failureactivityJson[i].engineActivity.activity.level1); jsonData['Niveau 2'] = this.nullcheck(failureactivityJson[i].engineActivity.activity.level2); jsonData['Ligne de programme'] = (failureactivityJson[i].engineActivity.programLine); jsonData['Numero FEB'] = (failureactivityJson[i].febNb); if (failureactivityJson[i].engineActivity.activity.means.label === "BV" && failureactivityJson[i].engineActivity.activity.means.maps.label.toUpperCase() !== 'ELEC E/D') { jsonData['Nombre de Boite'] = failureactivityJson[i].engineActivity.engNumber; } else if (failureactivityJson[i].engineActivity.activity.means.label === src_app_saisie_activate_activity_model__WEBPACK_IMPORTED_MODULE_16__["ActivityEnum"].Brap && failureactivityJson[i].engineActivity.activity.means.maps.label.toUpperCase() !== 'ELEC E/D') { jsonData['Numéro QFV'] = failureactivityJson[i].engineActivity.engNumber; } else if (failureactivityJson[i].engineActivity.activity.means.maps.label.toUpperCase() === "ELEC E/D") { jsonData['Numero de VS'] = failureactivityJson[i].engineActivity.engNumber; } else { jsonData['Numero moteur'] = failureactivityJson[i].engineActivity.engNumber; } //Commented for US502// //jsonData['Numero VS'] = failureactivityJson[i].engineActivity.testedVS; if (failureactivityJson[i].engineActivity.activity.means.label === "BV" && failureactivityJson[i].engineActivity.activity.means.maps.label.toUpperCase() === "ELEC E/D") { jsonData['D.T Boite'] = failureactivityJson[i].engDt; } else if (failureactivityJson[i].engineActivity.activity.means.maps.label.toUpperCase() === "ELEC E/D") { jsonData['VS DT'] = failureactivityJson[i].engDt; } else { jsonData['D.T moteur'] = failureactivityJson[i].engDt; } jsonData['Type RS'] = this.nullcheck(failureactivityJson[i].engineActivity.rsTypeId); jsonData['Etalonnage'] = failureactivityJson[i].engineActivity.activity.calibration; jsonData['IPN Operateur'] = failureactivityJson[i].engineActivity.activity.ipn; jsonData['Service Client'] = this.nullcheck(failureactivityJson[i].engineActivity.activity.customerDirection); jsonData['Prestation'] = this.nullcheck(failureactivityJson[i].engineActivity.activity.prestations); jsonData['Macro Activite'] = this.nullcheck(failureactivityJson[i].engineActivity.activity.macroActivity); jsonData['Procedures/Type essai'] = this.nullcheck(failureactivityJson[i].engineActivity.activity.procedures); jsonData['Campagne'] = this.nullcheck(failureactivityJson[i].engineActivity.activity.campaigns); jsonData['Perimetre'] = this.nullcheck(failureactivityJson[i].engineActivity.activity.testBedId.testbedGlobalInfo.perimeterId); //Added for OTglobal changes jsonData['Numero OT'] = failureactivityJson[i].ot ? failureactivityJson[i].ot.label : failureactivityJson[i].otGlobal; jsonData['Statut OT'] = failureactivityJson[i].ot ? failureactivityJson[i].ot.status : ''; jsonData['Demande du client'] = failureactivityJson[i].engineActivity.activity.customerRequest; jsonData['Soft'] = failureactivityJson[i].soft; jsonData['DCM'] = failureactivityJson[i].dcm; jsonData['Numero ESS'] = failureactivityJson[i].engineActivity.essNBGps; jsonData['Carburant'] = this.nullcheck(failureactivityJson[i].engineActivity.fuel); if (failureactivityJson[i].engineActivity.activity.means.label.toUpperCase() === "BV" && failureactivityJson[i].engineActivity.activity.means.maps.label === "Reliability E/D") { jsonData['RLCE'] = failureactivityJson[i].bvRlce; } jsonData[''] = failureactivityJson[i].engineActivity.activity; extractFailureData[i] = jsonData; jsonData = {}; } } if (barActivityJson.length !== 0) { for (var i = 0; i < barActivityJson.length; i++) { jsonData['Site'] = this.nullcheck(barActivityJson[i].rollActivity.activity.testBedId.testbedGlobalInfo.siteId); jsonData['Moyen'] = this.nullcheck(barActivityJson[i].rollActivity.activity.testBedId.testbedGlobalInfo.meanId); jsonData['Essai Banc'] = this.getTestBedLabel(barActivityJson[i].rollActivity.activity.testBedId.id); jsonData['Date'] = moment__WEBPACK_IMPORTED_MODULE_12__(barActivityJson[i].rollActivity.activity.activityDate).format('DD/MM/YYYY'); jsonData['N° de séquence'] = barActivityJson[i].rollActivity.activity.seqNum; jsonData['Type activite'] = this.nullcheck(barActivityJson[i].rollActivity.activity.level0); jsonData['Niveau 1'] = this.nullcheck(barActivityJson[i].rollActivity.activity.level1); jsonData['Niveau 2'] = this.nullcheck(barActivityJson[i].rollActivity.activity.level2); jsonData['Exploitable'] = this.nullcheck(barActivityJson[i].rollActivity.activity.exploitable); jsonData['Duree activite'] = barActivityJson[i].rollActivity.activity.duration; jsonData['D.T. VH'] = barActivityJson[i].rollActivity.vehDT; jsonData['Norme'] = barActivityJson[i].rollActivity.norm; jsonData['N° Astral Demande'] = barActivityJson[i].rollActivity.astralNumber; jsonData['N° Astral Essai'] = barActivityJson[i].rollActivity.testNumber; jsonData['Etalonnage'] = barActivityJson[i].rollActivity.activity.calibration; jsonData['Temperature'] = barActivityJson[i].temperature; jsonData['Altitude'] = barActivityJson[i].rollActivity.altitude; jsonData['N° Atelier'] = barActivityJson[i].workshop; jsonData['Famille interpolation'] = ''; jsonData['N° Variante'] = ''; jsonData['Numéro de fabrication/Référence VH'] = barActivityJson[i].rollActivity.vehReference; // jsonData['Référence VH'] = barActivityJson[i].rollActivity.vehReference; jsonData['Kilométrage VH'] = barActivityJson[i].rollActivity.mileage; jsonData['N° ordre'] = barActivityJson[i].rollActivity.orderNumber; jsonData['Vetsone N°'] = barActivityJson[i].rollActivity.vetsNumber; jsonData['Operateur'] = barActivityJson[i].rollActivity.operator; jsonData['Prestation'] = this.nullcheck(barActivityJson[i].rollActivity.activity.prestations); jsonData['Macro Activite'] = this.nullcheck(barActivityJson[i].rollActivity.activity.macroActivity); jsonData['Procedures'] = this.nullcheck(barActivityJson[i].rollActivity.activity.procedures); jsonData['Campagne'] = this.nullcheck(barActivityJson[i].rollActivity.activity.campaigns); jsonData['Service Client'] = this.nullcheck(barActivityJson[i].rollActivity.activity.customerDirection); jsonData['Numero OT'] = ''; jsonData['Statut OT'] = ''; jsonData['Astral Demandeur'] = barActivityJson[i].rollActivity.operator; jsonData['Commentaire'] = barActivityJson[i].rollActivity.activity.comment; jsonData['Statut'] = barActivityJson[i].rollActivity.status; jsonData['Commentaire du client'] = barActivityJson[i].rollActivity.customerComment; jsonData['Demandeur'] = barActivityJson[i].rollActivity.requester; jsonData['Message de validation du client'] = barActivityJson[i].rollActivity.message1; jsonData[''] = barActivityJson[i].rollActivity.activity; extractbarActivityData[i] = jsonData; jsonData = {}; } } if (barCopActivityJson.length !== 0) { for (var i = 0; i < barCopActivityJson.length; i++) { jsonData['Site'] = this.nullcheck(barCopActivityJson[i].rollActivity.activity.testBedId.testbedGlobalInfo.siteId); jsonData['Moyen'] = this.nullcheck(barCopActivityJson[i].rollActivity.activity.testBedId.testbedGlobalInfo.meanId); jsonData['Essai Banc'] = this.getTestBedLabel(barCopActivityJson[i].rollActivity.activity.testBedId.id); jsonData['Date'] = moment__WEBPACK_IMPORTED_MODULE_12__(barCopActivityJson[i].rollActivity.activity.activityDate).format('DD/MM/YYYY'); jsonData['N° de séquence'] = barCopActivityJson[i].rollActivity.activity.seqNum; jsonData['Type activite'] = this.nullcheck(barCopActivityJson[i].rollActivity.activity.level0); jsonData['Niveau 1'] = this.nullcheck(barCopActivityJson[i].rollActivity.activity.level1); jsonData['Niveau 2'] = this.nullcheck(barCopActivityJson[i].rollActivity.activity.level2); jsonData['Exploitable'] = this.nullcheck(barCopActivityJson[i].rollActivity.activity.exploitable); jsonData['Duree activite'] = barCopActivityJson[i].rollActivity.activity.duration; jsonData['D.T. VH'] = barCopActivityJson[i].rollActivity.vehDT; jsonData['Norme'] = barCopActivityJson[i].rollActivity.norm; jsonData['N° Astral Demande'] = barCopActivityJson[i].rollActivity.astralNumber; jsonData['N° Astral Essai'] = barCopActivityJson[i].rollActivity.testNumber >= _tesbed_extract_model__WEBPACK_IMPORTED_MODULE_14__["TestbedExtractEnum"].testNumberlimit ? barCopActivityJson[i].rollActivity.vetsOneProjectCode : barCopActivityJson[i].rollActivity.testNumber; jsonData['Etalonnage'] = barCopActivityJson[i].rollActivity.activity.calibration; jsonData['Temperature'] = ''; jsonData['N° Atelier'] = ''; jsonData['Famille interpolation'] = barCopActivityJson[i].interpolFam; jsonData['N° Variante'] = barCopActivityJson[i].variant; // jsonData['Référence VH'] = ''; jsonData['Numéro de fabrication/Référence VH'] = barCopActivityJson[i].rollActivity.vehReference; jsonData['Kilométrage VH'] = barCopActivityJson[i].rollActivity.mileage; jsonData['N° ordre'] = this.nullcheck(barCopActivityJson[i].copProgragmLine); jsonData['Vetsone N°'] = barCopActivityJson[i].rollActivity.vetsNumber; jsonData['Operateur'] = barCopActivityJson[i].rollActivity.operator; jsonData['Prestation'] = this.nullcheck(barCopActivityJson[i].rollActivity.activity.prestations); jsonData['Macro Activite'] = this.nullcheck(barCopActivityJson[i].rollActivity.activity.macroActivity); jsonData['Procedures'] = this.nullcheck(barCopActivityJson[i].rollActivity.activity.procedures); jsonData['Campagne'] = this.nullcheck(barCopActivityJson[i].rollActivity.activity.campaigns); jsonData['Service Client'] = this.nullcheck(barCopActivityJson[i].rollActivity.activity.customerDirection); jsonData['Numero OT'] = ''; jsonData['Statut OT'] = ''; jsonData['Astral Demandeur'] = barCopActivityJson[i].rollActivity.operator; jsonData['Commentaire'] = barCopActivityJson[i].rollActivity.activity.comment; jsonData['Statut'] = barCopActivityJson[i].rollActivity.status; jsonData['Commentaire du client'] = barCopActivityJson[i].rollActivity.customerComment; jsonData['Demandeur'] = barCopActivityJson[i].rollActivity.requester; jsonData['Message de validation du client'] = barCopActivityJson[i].rollActivity.message1; jsonData[''] = barCopActivityJson[i].rollActivity.activity; extractbarCopActivityData[i] = jsonData; jsonData = {}; } } if (barMixActivityJson.length !== 0) { /* Backend & Frontend mapping for Vehicle reference & workshop number Data base(Vehicle reference) = Front End(Vehicle type/Manufacturing number) Date base(workshop number) = Front End(Vehicle reference) */ for (var i = 0; i < barMixActivityJson.length; i++) { jsonData['Site'] = this.nullcheck(barMixActivityJson[i].barActivity.rollActivity.activity.testBedId.testbedGlobalInfo.siteId); jsonData['Moyen'] = this.nullcheck(barMixActivityJson[i].barActivity.rollActivity.activity.testBedId.testbedGlobalInfo.meanId); jsonData['Essai Banc'] = this.getTestBedLabel(barMixActivityJson[i].barActivity.rollActivity.activity.testBedId.id); jsonData['Date'] = moment__WEBPACK_IMPORTED_MODULE_12__(barMixActivityJson[i].barActivity.rollActivity.activity.activityDate).format('DD/MM/YYYY'); jsonData['N° de séquence'] = barMixActivityJson[i].barActivity.rollActivity.activity.seqNum; jsonData['Type activite'] = this.nullcheck(barMixActivityJson[i].barActivity.rollActivity.activity.level0); jsonData['Niveau 1'] = this.nullcheck(barMixActivityJson[i].barActivity.rollActivity.activity.level1); jsonData['Niveau 2'] = this.nullcheck(barMixActivityJson[i].barActivity.rollActivity.activity.level2); jsonData['Exploitable'] = this.nullcheck(barMixActivityJson[i].barActivity.rollActivity.activity.exploitable); jsonData['Duree activite'] = barMixActivityJson[i].barActivity.rollActivity.activity.duration; jsonData['D.T. VH'] = barMixActivityJson[i].barActivity.rollActivity.vehDT; jsonData['Norme'] = barMixActivityJson[i].barActivity.rollActivity.norm; jsonData['N° Astral Demande'] = barMixActivityJson[i].barActivity.rollActivity.astralNumber; jsonData['N° Astral Essai'] = barMixActivityJson[i].barActivity.rollActivity.testNumber >= _tesbed_extract_model__WEBPACK_IMPORTED_MODULE_14__["TestbedExtractEnum"].testNumberlimit ? barMixActivityJson[i].barActivity.rollActivity.vetsOneProjectCode : barMixActivityJson[i].barActivity.rollActivity.testNumber; jsonData['Etalonnage'] = barMixActivityJson[i].barActivity.rollActivity.activity.calibration; jsonData['N° Atelier'] = barMixActivityJson[i].barActivity.workshop; jsonData['Temperature'] = barMixActivityJson[i].barActivity.temperature; jsonData['Altitude'] = barMixActivityJson[i].barActivity.rollActivity.altitude; // jsonData['Référence VH'] = barMixActivityJson[i].barActivity.rollActivity.vehReference; jsonData['Famille interpolation'] = barMixActivityJson[i].barCopActivity.interpolFam; jsonData['N° Variante'] = barMixActivityJson[i].barCopActivity.variant; var mean = barMixActivityJson[i].barActivity.rollActivity.activity.testBedId.testbedGlobalInfo.meanId.label; // Added for PEMS activity /* if (mean === 'PEMS') { jsonData['Référence VH'] = barMixActivityJson[i].barActivity.rollActivity.vehReference; jsonData['Numéro de fabrication'] = barMixActivityJson[i].barActivity.workshop; } else { jsonData['Numéro de fabrication'] = barMixActivityJson[i].barActivity.rollActivity.vehReference; jsonData['Référence VH'] = barMixActivityJson[i].barActivity.workshop; } */ jsonData['Numéro de fabrication/Référence VH'] = barMixActivityJson[i].barActivity.rollActivity.vehReference; // jsonData['Référence VH'] = barMixActivityJson[i].barActivity.workshop; // jsonData['Manufacture Number'] = barMixActivityJson[i].barActivity.rollActivity.vehReference; jsonData['Kilométrage VH'] = barMixActivityJson[i].barActivity.rollActivity.mileage; jsonData['N° ordre'] = barMixActivityJson[i].barActivity.rollActivity.orderNumber; jsonData['Vetsone N°'] = barMixActivityJson[i].barActivity.rollActivity.vetsNumber; jsonData['Operateur'] = barMixActivityJson[i].barActivity.rollActivity.operator; jsonData['Prestation'] = this.nullcheck(barMixActivityJson[i].barActivity.rollActivity.activity.prestations); jsonData['Macro Activite'] = this.nullcheck(barMixActivityJson[i].barActivity.rollActivity.activity.macroActivity); jsonData['Procedures'] = this.nullcheck(barMixActivityJson[i].barActivity.rollActivity.activity.procedures); jsonData['Campagne'] = this.nullcheck(barMixActivityJson[i].barActivity.rollActivity.activity.campaigns); jsonData['Service Client'] = this.nullcheck(barMixActivityJson[i].barActivity.rollActivity.activity.customerDirection); jsonData['Numero OT'] = ''; jsonData['Statut OT'] = ''; jsonData['Astral Demandeur'] = barMixActivityJson[i].barActivity.rollActivity.operator; jsonData['Commentaire'] = barMixActivityJson[i].barActivity.rollActivity.activity.comment; jsonData['Statut'] = barMixActivityJson[i].barActivity.rollActivity.status; jsonData['Commentaire du client'] = barMixActivityJson[i].barActivity.rollActivity.customerComment; jsonData['Demandeur'] = barMixActivityJson[i].barActivity.rollActivity.requester; jsonData['Message de validation du client'] = barMixActivityJson[i].barActivity.rollActivity.message1; jsonData[''] = barMixActivityJson[i].barActivity.rollActivity.activity; extractbarMixActivityData[i] = jsonData; jsonData = {}; } } if (emissionFailureJson.length !== 0) { for (var i = 0; i < emissionFailureJson.length; i++) { jsonData['Site'] = this.nullcheck(emissionFailureJson[i].rollActivity.activity.testBedId.testbedGlobalInfo.siteId); jsonData['Moyen'] = this.nullcheck(emissionFailureJson[i].rollActivity.activity.testBedId.testbedGlobalInfo.meanId); jsonData['Essai Banc'] = this.getTestBedLabel(emissionFailureJson[i].rollActivity.activity.testBedId.id); jsonData['Date'] = moment__WEBPACK_IMPORTED_MODULE_12__(emissionFailureJson[i].rollActivity.activity.activityDate).format('DD/MM/YYYY'); jsonData['N° de séquence'] = emissionFailureJson[i].rollActivity.activity.seqNum; jsonData['Type activite'] = this.nullcheck(emissionFailureJson[i].rollActivity.activity.level0); jsonData['Niveau 1'] = this.nullcheck(emissionFailureJson[i].rollActivity.activity.level1); jsonData['Niveau 2'] = this.nullcheck(emissionFailureJson[i].rollActivity.activity.level2); jsonData['Exploitable'] = this.nullcheck(emissionFailureJson[i].rollActivity.activity.exploitable); jsonData['Duree activite'] = emissionFailureJson[i].rollActivity.activity.duration; jsonData['D.T. VH'] = emissionFailureJson[i].rollActivity.vehDT; jsonData['Norme'] = emissionFailureJson[i].rollActivity.norm; jsonData['N° Astral Demande'] = emissionFailureJson[i].rollActivity.astralNumber; jsonData['N° Astral Essai'] = emissionFailureJson[i].rollActivity.testNumber; jsonData['Etalonnage'] = emissionFailureJson[i].rollActivity.activity.calibration; jsonData['N° Atelier'] = ''; // jsonData['Numéro de fabrication/Référence VH'] = ''; jsonData['Famille interpolation'] = ''; jsonData['N° Variante'] = emissionFailureJson[i].rollActivity.vetsNumber; jsonData['Temperature'] = ''; jsonData['Altitude'] = ''; jsonData['Numéro de fabrication/Référence VH'] = emissionFailureJson[i].rollActivity.vehReference; jsonData['Kilométrage VH'] = emissionFailureJson[i].rollActivity.mileage; jsonData['N° ordre'] = emissionFailureJson[i].rollActivity.orderNumber; jsonData['Vetsone N°'] = ''; jsonData['Operateur'] = emissionFailureJson[i].rollActivity.operator; jsonData['Prestation'] = this.nullcheck(emissionFailureJson[i].rollActivity.activity.prestations); jsonData['Macro Activite'] = this.nullcheck(emissionFailureJson[i].rollActivity.activity.macroActivity); jsonData['Procedures'] = this.nullcheck(emissionFailureJson[i].rollActivity.activity.procedures); jsonData['Campagne'] = this.nullcheck(emissionFailureJson[i].rollActivity.activity.campaigns); jsonData['Service Client'] = this.nullcheck(emissionFailureJson[i].rollActivity.activity.customerDirection); //Added for OTglobal changes jsonData['Numero OT'] = emissionFailureJson[i].ot ? emissionFailureJson[i].ot.label : emissionFailureJson[i].otGlobal; jsonData['Statut OT'] = emissionFailureJson[i].ot ? emissionFailureJson[i].ot.status : ''; jsonData['Astral Demandeur'] = emissionFailureJson[i].rollActivity.operator; jsonData['Commentaire'] = emissionFailureJson[i].rollActivity.activity.comment; jsonData['Statut'] = emissionFailureJson[i].rollActivity.status; jsonData['Commentaire du client'] = emissionFailureJson[i].rollActivity.customerComment; jsonData['Demandeur'] = emissionFailureJson[i].rollActivity.requester; jsonData['Message de validation du client'] = emissionFailureJson[i].rollActivity.message1; jsonData[''] = emissionFailureJson[i].rollActivity.activity; extractfailureActivityforEmissionData[i] = jsonData; jsonData = {}; } } } if (extractFailureData.length !== 0 && this.browserLang === 'en') { var k = 0; var j = 0; var f = 0; for (var i = 0; i < extractFailureData.length; i++) { if ((extractFailureData[i][''].means.maps.label) === 'Elec E/D') { elecFailureData[f] = extractFailureData[i]; f++; } else if ((extractFailureData[i][''].means.maps.label) === 'Reliability E/D') { reliabFailureData[k] = extractFailureData[i]; k++; } else if ((extractFailureData[i][''].means.maps.label) === 'Tuning E/D') { tuningFailureData[j] = extractFailureData[i]; j++; } } } else { var k = 0; var j = 0; var f = 0; for (var i = 0; i < extractFailureData.length; i++) { if ((extractFailureData[i][''].means.maps.label) === 'Elec E/D') { elecFailureData[f] = extractFailureData[i]; f++; } else if ((extractFailureData[i][''].means.maps.label) === 'Reliability E/D') { reliabFailureData[k] = extractFailureData[i]; k++; } else if ((extractFailureData[i][''].means.maps.label) === 'Tuning E/D') { tuningFailureData[j] = extractFailureData[i]; j++; } } } var evData = extracEvData.concat(elecFailureData); var tuningData = extractTuningData.concat(tuningFailureData); var reliabilityData = extractReliabilityData.concat(reliabFailureData); var sortedEvData = this.sortSheetData(evData); var sortedTuningData = this.sortSheetData(tuningData); var sortedReliabilityData = this.sortSheetData(reliabilityData); var emissionJsonData = extractbarActivityData.concat(extractbarCopActivityData, extractbarMixActivityData, extractfailureActivityforEmissionData); var sortedEmissionData = this.sortSheetData(emissionJsonData); var reliability = xlsx__WEBPACK_IMPORTED_MODULE_5__["utils"].json_to_sheet(JSON.parse(JSON.stringify(sortedReliabilityData))); var elec = xlsx__WEBPACK_IMPORTED_MODULE_5__["utils"].json_to_sheet(JSON.parse(JSON.stringify(sortedEvData))); var tuning = xlsx__WEBPACK_IMPORTED_MODULE_5__["utils"].json_to_sheet(JSON.parse(JSON.stringify(sortedTuningData))); var emission = xlsx__WEBPACK_IMPORTED_MODULE_5__["utils"].json_to_sheet(JSON.parse(JSON.stringify(sortedEmissionData))); /* US366 - As a user I want to extract data for a specific testbed */ var wb = xlsx__WEBPACK_IMPORTED_MODULE_5__["utils"].book_new(); if (this.flagForTestBed) { if (this.mapName === 'Tuning E/D') { xlsx__WEBPACK_IMPORTED_MODULE_5__["utils"].book_append_sheet(wb, tuning, 'Tuning'); xlsx__WEBPACK_IMPORTED_MODULE_5__["writeFile"](wb, this.fileName + this.commonService.getFormattedTime() + '.xlsx'); this.closeControl = true; this.dialogRef.close(); } else if (this.mapName === 'Elec E/D') { xlsx__WEBPACK_IMPORTED_MODULE_5__["utils"].book_append_sheet(wb, elec, 'Elec'); xlsx__WEBPACK_IMPORTED_MODULE_5__["writeFile"](wb, this.fileName + this.commonService.getFormattedTime() + '.xlsx'); this.closeControl = true; this.dialogRef.close(); } else if (this.mapName === 'Reliability E/D') { xlsx__WEBPACK_IMPORTED_MODULE_5__["utils"].book_append_sheet(wb, reliability, 'Reliability'); xlsx__WEBPACK_IMPORTED_MODULE_5__["writeFile"](wb, this.fileName + this.commonService.getFormattedTime() + '.xlsx'); this.closeControl = true; this.dialogRef.close(); } else if (this.mapName === 'Emission C/D') { xlsx__WEBPACK_IMPORTED_MODULE_5__["utils"].book_append_sheet(wb, emission, 'Emission'); xlsx__WEBPACK_IMPORTED_MODULE_5__["writeFile"](wb, this.fileName + this.commonService.getFormattedTime() + '.xlsx'); this.closeControl = true; this.dialogRef.close(); } } else { xlsx__WEBPACK_IMPORTED_MODULE_5__["utils"].book_append_sheet(wb, elec, 'Elec'); xlsx__WEBPACK_IMPORTED_MODULE_5__["utils"].book_append_sheet(wb, reliability, 'Reliability'); xlsx__WEBPACK_IMPORTED_MODULE_5__["utils"].book_append_sheet(wb, tuning, 'Tuning'); xlsx__WEBPACK_IMPORTED_MODULE_5__["utils"].book_append_sheet(wb, emission, 'Emission'); xlsx__WEBPACK_IMPORTED_MODULE_5__["writeFile"](wb, this.fileName + this.commonService.getFormattedTime() + '.xlsx'); this.closeControl = true; this.dialogRef.close(); } }; TestbedExtractComponent.prototype.nullcheck = function (id) { if (id === null) { return null; } else { return id.label; } }; TestbedExtractComponent.prototype.getTestBedLabel = function (key) { for (var i = 0; i < this.testBedData.length; i++) { // tslint:disable-next-line: triple-equals if (this.testBedData[i].id === key) { return this.testBedData[i].label; } } }; TestbedExtractComponent.prototype.getTestBedData = function () { var _this = this; this.testBedService.getTestBedList().subscribe(function (result) { _this.testBedData = result; }); }; TestbedExtractComponent.prototype.emptyValueInsertorforNull = function (testData) { if (testData === null) { return ''; } else { return testData; } }; TestbedExtractComponent.prototype.sortSheetData = function (activityExportedData) { if (this.browserLang === 'en') { activityExportedData.sort(function (a, b) { var aStr = a.Date.toString().split(/\//); var dayNum = aStr[0]; var monNum = aStr[1]; var yearNum = aStr[2]; var aT = a.Testbed; var bT = b.Testbed; var bStr = b.Date.toString().split(/\//); var bdayNum = bStr[0]; var bmonNum = bStr[1]; var byearNum = bStr[2]; var dateA = parseInt(yearNum + monNum + dayNum); var dateB = parseInt(byearNum + bmonNum + bdayNum); if (aT > bT) { return 1 || (false) || (false); } if (bT > aT) { return -1 || (dateA - dateB) || (a['Sequence Number'] - b['Sequence Number']); } else { return false || (dateA - dateB) || (a['Sequence Number'] - b['Sequence Number']); } }); return activityExportedData; } else { activityExportedData.sort(function (a, b) { var aStr = a.Date.toString().split(/\//); var dayNum = aStr[0]; var monNum = aStr[1]; var yearNum = aStr[2]; var aT = a['Essai Banc']; var bT = b['Essai Banc']; var bStr = b.Date.toString().split(/\//); var bdayNum = bStr[0]; var bmonNum = bStr[1]; var byearNum = bStr[2]; var dateA = parseInt(yearNum + monNum + dayNum); var dateB = parseInt(byearNum + bmonNum + bdayNum); if (aT > bT) { return 1 || (false) || (false); } if (bT > aT) { return -1 || (dateA - dateB) || (a['N° de séquence'] - b['N° de séquence']); } else { return false || (dateA - dateB) || (a['N° de séquence'] - b['N° de séquence']); } }); return activityExportedData; } }; TestbedExtractComponent.prototype.extractVhData = function () { var jsonData = {}; var extractVehicleData = []; var extractFailureData = []; var vehicleDataJson = this.commonService.getVehicleActivityData(); var failureactivityJson = this.commonService.getVehicleFailiureActivityData(); var headerLabels; if (this.browserLang === src_app_saisie_vehicle_activities_vehicle_activities_model__WEBPACK_IMPORTED_MODULE_20__["exportLang"].english) { this.fileName = src_app_saisie_vehicle_activities_vehicle_activities_model__WEBPACK_IMPORTED_MODULE_20__["exportLang"].vehicleActivity_En; } else { this.fileName = src_app_saisie_vehicle_activities_vehicle_activities_model__WEBPACK_IMPORTED_MODULE_20__["exportLang"].vehicleActivity_Fr; } if (vehicleDataJson.length !== 0) { if (this.browserLang === src_app_saisie_vehicle_activities_vehicle_activities_model__WEBPACK_IMPORTED_MODULE_20__["exportLang"].english) { headerLabels = src_assets_i18n_en_json__WEBPACK_IMPORTED_MODULE_18___namespace; } else { headerLabels = src_assets_i18n_fr_json__WEBPACK_IMPORTED_MODULE_19___namespace; } headerLabels = headerLabels.default; for (var i = 0; i < vehicleDataJson.length; i++) { if (!vehicleDataJson[i].activity.level0.failure) { jsonData[headerLabels.VehicleActivity.Site] = this.nullcheck(vehicleDataJson[i].activity.testBedId.testbedGlobalInfo.siteId); jsonData[headerLabels.VehicleActivity.Mean] = this.nullcheck(vehicleDataJson[i].activity.testBedId.testbedGlobalInfo.meanId); jsonData[headerLabels.VehicleActivity.Testbed] = this.getTestBedLabel(vehicleDataJson[i].activity.testBedId.id); jsonData[headerLabels.VehicleActivity.date] = this.activityService.getDateFormat(vehicleDataJson[i].activity.activityDate); jsonData[headerLabels.VehicleActivity.Seq_Num] = vehicleDataJson[i].activity.seqNum; jsonData[headerLabels.VehicleActivity.activityType] = this.nullcheck(vehicleDataJson[i].activity.level0); jsonData[headerLabels.VehicleActivity.duration] = vehicleDataJson[i].activity.duration; jsonData[headerLabels.VehicleActivity.testRequestNumber] = this.emptyValueInsertorforNull(vehicleDataJson[i].testRequestNumber); jsonData[headerLabels.VehicleActivity.levelOne] = this.nullcheck(vehicleDataJson[i].activity.level1); jsonData[headerLabels.VehicleActivity.levelTwo] = this.nullcheck(vehicleDataJson[i].activity.level2); jsonData[headerLabels.VehicleActivity.operator] = vehicleDataJson[i].activity.ipn; jsonData[headerLabels.VehicleActivity.programLine] = this.emptyValueInsertorforNull(vehicleDataJson[i].programLine); jsonData[headerLabels.VehicleActivity.project] = this.emptyValueInsertorforNull(vehicleDataJson[i].project); jsonData[headerLabels.VehicleActivity.projectMilestone] = this.emptyValueInsertorforNull(vehicleDataJson[i].projectMilestone); jsonData[headerLabels.VehicleActivity.testProcedureNumber] = this.emptyValueInsertorforNull(vehicleDataJson[i].testProcedureNumber); jsonData[headerLabels.VehicleActivity.logoSR] = this.emptyValueInsertorforNull(vehicleDataJson[i].logoSR); jsonData[headerLabels.VehicleActivity.ddmrsRequest] = this.emptyValueInsertorforNull(vehicleDataJson[i].ddmrsRequest); jsonData[headerLabels.VehicleActivity.requesterDepartment] = this.emptyValueInsertorforNull(vehicleDataJson[i].requesterDepartment); jsonData[headerLabels.VehicleActivity.vhEntity] = this.emptyValueInsertorforNull(vehicleDataJson[i].vhEntity); jsonData[headerLabels.VehicleActivity.testSupportNumber] = this.emptyValueInsertorforNull(vehicleDataJson[i].testSupportNumber); jsonData[headerLabels.VehicleActivity.testStart] = this.emptyValueInsertorforNull(this.activityService. getDateFormat(vehicleDataJson[i].testStart)); jsonData[headerLabels.VehicleActivity.testEnd] = this.emptyValueInsertorforNull(this.activityService. getDateFormat(vehicleDataJson[i].testEnd)); jsonData[headerLabels.VehicleActivity.nbofCycles] = this.emptyValueInsertorforNull(vehicleDataJson[i].nbofCycles); jsonData[headerLabels.VehicleActivity.nbofParts] = this.emptyValueInsertorforNull(vehicleDataJson[i].nbofParts); jsonData[headerLabels.VehicleActivity.softCalibRef] = this.emptyValueInsertorforNull(vehicleDataJson[i].softCalibRef); jsonData[headerLabels.VehicleActivity.preparationBox] = this.emptyValueInsertorforNull(vehicleDataJson[i].preparationBox); jsonData[headerLabels.VehicleActivity.powerTrain] = this.emptyValueInsertorforNull(vehicleDataJson[i].powerTrain); jsonData[headerLabels.VehicleActivity.pollutionRegulation] = this.emptyValueInsertorforNull(vehicleDataJson[i].pollutionRegulation); jsonData[headerLabels.VehicleActivity.OTnumber] = ''; jsonData[headerLabels.VehicleActivity.OTstatus] = ''; jsonData[headerLabels.VehicleActivity.commentaries] = this.emptyValueInsertorforNull(vehicleDataJson[i].activity.comment); extractVehicleData.push(jsonData); jsonData = {}; } } } if (failureactivityJson.length !== 0) { if (this.browserLang === src_app_saisie_vehicle_activities_vehicle_activities_model__WEBPACK_IMPORTED_MODULE_20__["exportLang"].english) { headerLabels = src_assets_i18n_en_json__WEBPACK_IMPORTED_MODULE_18___namespace; } else { headerLabels = src_assets_i18n_fr_json__WEBPACK_IMPORTED_MODULE_19___namespace; } headerLabels = headerLabels.default; for (var i = 0; i < failureactivityJson.length; i++) { jsonData[headerLabels.VehicleActivity.Site] = this.nullcheck(failureactivityJson[i].vehicleActivity.activity.testBedId. testbedGlobalInfo.siteId); jsonData[headerLabels.VehicleActivity.Mean] = this.nullcheck(failureactivityJson[i].vehicleActivity.activity.testBedId. testbedGlobalInfo.meanId); jsonData[headerLabels.VehicleActivity.Testbed] = this.getTestBedLabel(failureactivityJson[i].vehicleActivity.activity.testBedId.id); jsonData[headerLabels.VehicleActivity.date] = this.activityService.getDateFormat(failureactivityJson[i].vehicleActivity. activity.activityDate); jsonData[headerLabels.VehicleActivity.Seq_Num] = failureactivityJson[i].vehicleActivity.activity.seqNum; jsonData[headerLabels.VehicleActivity.activityType] = this.nullcheck(failureactivityJson[i].vehicleActivity.activity.level0); jsonData[headerLabels.VehicleActivity.duration] = failureactivityJson[i].vehicleActivity.activity.duration; jsonData[headerLabels.VehicleActivity.testRequestNumber] = this.emptyValueInsertorforNull(failureactivityJson[i].vehicleActivity. testRequestNumber); jsonData[headerLabels.VehicleActivity.levelOne] = this.nullcheck(failureactivityJson[i].vehicleActivity.activity.level1); jsonData[headerLabels.VehicleActivity.levelTwo] = this.nullcheck(failureactivityJson[i].vehicleActivity.activity.level2); jsonData[headerLabels.VehicleActivity.operator] = failureactivityJson[i].vehicleActivity.activity.ipn; jsonData[headerLabels.VehicleActivity.programLine] = this.emptyValueInsertorforNull(failureactivityJson[i]. vehicleActivity.programLine); jsonData[headerLabels.VehicleActivity.project] = this.emptyValueInsertorforNull(failureactivityJson[i].vehicleActivity.project); jsonData[headerLabels.VehicleActivity.projectMilestone] = this.emptyValueInsertorforNull(failureactivityJson[i]. vehicleActivity.projectMilestone); jsonData[headerLabels.VehicleActivity.testProcedureNumber] = this.emptyValueInsertorforNull(failureactivityJson[i]. vehicleActivity.testProcedureNumber); jsonData[headerLabels.VehicleActivity.logoSR] = this.emptyValueInsertorforNull(failureactivityJson[i].vehicleActivity.logoSR); jsonData[headerLabels.VehicleActivity.ddmrsRequest] = this.emptyValueInsertorforNull(failureactivityJson[i]. vehicleActivity.ddmrsRequest); jsonData[headerLabels.VehicleActivity.requesterDepartment] = this.emptyValueInsertorforNull(failureactivityJson[i]. vehicleActivity.requesterDepartment); jsonData[headerLabels.VehicleActivity.vhEntity] = this.emptyValueInsertorforNull(failureactivityJson[i].vehicleActivity.vhEntity); jsonData[headerLabels.VehicleActivity.testSupportNumber] = this.emptyValueInsertorforNull(failureactivityJson[i]. vehicleActivity.testSupportNumber); jsonData[headerLabels.VehicleActivity.testStart] = this.emptyValueInsertorforNull(this.activityService. getDateFormat(failureactivityJson[i].vehicleActivity.testStart)); jsonData[headerLabels.VehicleActivity.testEnd] = this.emptyValueInsertorforNull(this.activityService. getDateFormat(failureactivityJson[i].vehicleActivity.testEnd)); jsonData[headerLabels.VehicleActivity.nbofCycles] = this.emptyValueInsertorforNull(failureactivityJson[i].vehicleActivity.nbofCycles); jsonData[headerLabels.VehicleActivity.nbofParts] = this.emptyValueInsertorforNull(failureactivityJson[i].vehicleActivity.nbofParts); jsonData[headerLabels.VehicleActivity.softCalibRef] = this.emptyValueInsertorforNull(failureactivityJson[i]. vehicleActivity.softCalibRef); jsonData[headerLabels.VehicleActivity.preparationBox] = this.emptyValueInsertorforNull(failureactivityJson[i]. vehicleActivity.preparationBox); jsonData[headerLabels.VehicleActivity.powerTrain] = this.emptyValueInsertorforNull(failureactivityJson[i].vehicleActivity.powerTrain); jsonData[headerLabels.VehicleActivity.pollutionRegulation] = this.emptyValueInsertorforNull(failureactivityJson[i]. vehicleActivity.pollutionRegulation); jsonData[headerLabels.VehicleActivity.OTnumber] = failureactivityJson[i].ot ? failureactivityJson[i].ot.label : failureactivityJson[i].otGlobal; jsonData[headerLabels.VehicleActivity.OTstatus] = failureactivityJson[i].ot ? failureactivityJson[i].ot.status : ''; jsonData[headerLabels.VehicleActivity.commentaries] = this.emptyValueInsertorforNull(failureactivityJson[i]. vehicleActivity.activity.comment); extractFailureData[i] = jsonData; jsonData = {}; } } var vhData = extractVehicleData.concat(extractFailureData); var sortedVhData = this.sortSheetDataVh(vhData); var ws = xlsx__WEBPACK_IMPORTED_MODULE_5__["utils"].json_to_sheet(JSON.parse(JSON.stringify(sortedVhData))); var wb = xlsx__WEBPACK_IMPORTED_MODULE_5__["utils"].book_new(); xlsx__WEBPACK_IMPORTED_MODULE_5__["utils"].book_append_sheet(wb, ws, src_app_saisie_vehicle_activities_vehicle_activities_model__WEBPACK_IMPORTED_MODULE_20__["exportLang"].vehicleActivity_En); xlsx__WEBPACK_IMPORTED_MODULE_5__["writeFile"](wb, this.fileName + this.commonService.getFormattedTime() + '.xlsx'); this.closeControl = true; this.dialogRef.close(); }; TestbedExtractComponent.prototype.sortSheetDataVh = function (vhActivityExportedData) { if (this.browserLang === src_app_saisie_vehicle_activities_vehicle_activities_model__WEBPACK_IMPORTED_MODULE_20__["exportLang"].english) { vhActivityExportedData.sort(function (a, b) { var aStr = a.Date.toString().split(/\//); var dayNum = aStr[0]; var monNum = aStr[1]; var yearNum = aStr[2]; var aT = a.Testbed; var bT = b.Testbed; var bStr = b.Date.toString().split(/\//); var bdayNum = bStr[0]; var bmonNum = bStr[1]; var byearNum = bStr[2]; var dateA = parseInt(yearNum + monNum + dayNum); var dateB = parseInt(byearNum + bmonNum + bdayNum); if (aT > bT) { return 1 || (false) || (false); } if (bT > aT) { return -1 || (dateA - dateB) || (a[src_app_saisie_vehicle_activities_vehicle_activities_model__WEBPACK_IMPORTED_MODULE_20__["exportLang"].Sequence_Number_En] - b[src_app_saisie_vehicle_activities_vehicle_activities_model__WEBPACK_IMPORTED_MODULE_20__["exportLang"].Sequence_Number_En]); } else { return false || (dateA - dateB) || (a[src_app_saisie_vehicle_activities_vehicle_activities_model__WEBPACK_IMPORTED_MODULE_20__["exportLang"].Sequence_Number_En] - b[src_app_saisie_vehicle_activities_vehicle_activities_model__WEBPACK_IMPORTED_MODULE_20__["exportLang"].Sequence_Number_En]); } }); return vhActivityExportedData; } else { vhActivityExportedData.sort(function (a, b) { var aStr = a.Date.toString().split(/\//); var dayNum = aStr[0]; var monNum = aStr[1]; var yearNum = aStr[2]; var aT = a[src_app_saisie_vehicle_activities_vehicle_activities_model__WEBPACK_IMPORTED_MODULE_20__["vehicleActivityEnum"].Essai_Banc]; var bT = b[src_app_saisie_vehicle_activities_vehicle_activities_model__WEBPACK_IMPORTED_MODULE_20__["vehicleActivityEnum"].Essai_Banc]; var bStr = b.Date.toString().split(/\//); var bdayNum = bStr[0]; var bmonNum = bStr[1]; var byearNum = bStr[2]; var dateA = parseInt(yearNum + monNum + dayNum); var dateB = parseInt(byearNum + bmonNum + bdayNum); if (aT > bT) { return 1 || (false) || (false); } if (bT > aT) { return -1 || (dateA - dateB) || (a[src_app_saisie_vehicle_activities_vehicle_activities_model__WEBPACK_IMPORTED_MODULE_20__["exportLang"].Sequence_Number_Fr] - b[src_app_saisie_vehicle_activities_vehicle_activities_model__WEBPACK_IMPORTED_MODULE_20__["exportLang"].Sequence_Number_Fr]); } else { return false || (dateA - dateB) || (a[src_app_saisie_vehicle_activities_vehicle_activities_model__WEBPACK_IMPORTED_MODULE_20__["exportLang"].Sequence_Number_Fr] - b[src_app_saisie_vehicle_activities_vehicle_activities_model__WEBPACK_IMPORTED_MODULE_20__["exportLang"].Sequence_Number_Fr]); } }); return vhActivityExportedData; } }; tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewChild"])('closeModalBtn'), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:type", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"]) ], TestbedExtractComponent.prototype, "closeModalBtn", void 0); tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewChild"])('testbedSelect'), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:type", _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatSelect"]) ], TestbedExtractComponent.prototype, "testbedSelect", void 0); tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewChild"])('allSelect'), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:type", _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatOption"]) ], TestbedExtractComponent.prototype, "allSelect", void 0); tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewChild"])('singleSelect'), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:type", _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatOption"]) ], TestbedExtractComponent.prototype, "singleSelect", void 0); tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewChild"])('picker1'), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:type", _angular_material__WEBPACK_IMPORTED_MODULE_2__["MatDatepicker"]) ], TestbedExtractComponent.prototype, "picker1", void 0); TestbedExtractComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'testbed-extract', template: __webpack_require__(/*! ./testbed-extract.component.html */ "./src/app/common/testbed-extract/testbed-extract.component.html"), styles: [__webpack_require__(/*! ./testbed-extract.component.css */ "./src/app/common/testbed-extract/testbed-extract.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_material__WEBPACK_IMPORTED_MODULE_2__["MatDialogRef"], _angular_forms__WEBPACK_IMPORTED_MODULE_3__["FormBuilder"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_4__["TranslateService"], _angular_material__WEBPACK_IMPORTED_MODULE_2__["DateAdapter"], src_app_saisie_activate_activate_service__WEBPACK_IMPORTED_MODULE_6__["ActivateService"], _common_services__WEBPACK_IMPORTED_MODULE_11__["CommonServices"], src_app_administration_testbedreferential_testbed_testbed_services__WEBPACK_IMPORTED_MODULE_13__["TestbedService"], _testbed_extract_service__WEBPACK_IMPORTED_MODULE_15__["TestbedExtractService"], src_app_common_snackbar_snackbar_component_service__WEBPACK_IMPORTED_MODULE_21__["SnackBarService"], src_app_saisie_vehicle_activities_vh_act_service__WEBPACK_IMPORTED_MODULE_17__["VhActService"]]) ], TestbedExtractComponent); return TestbedExtractComponent; }()); /***/ }), /***/ "./src/app/common/testbed-extract/testbed-extract.service.ts": /*!*******************************************************************!*\ !*** ./src/app/common/testbed-extract/testbed-extract.service.ts ***! \*******************************************************************/ /*! exports provided: TestbedExtractService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TestbedExtractService", function() { return TestbedExtractService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); var TestbedExtractService = /** @class */ (function () { function TestbedExtractService(http) { this.http = http; this.baseString = src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].apiURL; } TestbedExtractService.prototype.getFilteredMeans = function (filterMean) { return this.http.post(this.baseString + '/getFilteredMean', filterMean).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; TestbedExtractService.prototype.getFilteredTestbed = function (filterTestbed) { return this.http.post(this.baseString + '/getFilteredTestbed', filterTestbed).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; TestbedExtractService.prototype.setMeanId = function (value) { this.meanId = value; }; TestbedExtractService.prototype.getMeanId = function () { return this.meanId; }; TestbedExtractService.prototype.setTestbedId = function (value) { this.testbedId = value; }; TestbedExtractService.prototype.getTestbedId = function () { return this.testbedId; }; TestbedExtractService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]]) ], TestbedExtractService); return TestbedExtractService; }()); /***/ }), /***/ "./src/app/common/userIdleTimeOut/user-idle-time-out.service.ts": /*!**********************************************************************!*\ !*** ./src/app/common/userIdleTimeOut/user-idle-time-out.service.ts ***! \**********************************************************************/ /*! exports provided: UserIdleTimeOutService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "UserIdleTimeOutService", function() { return UserIdleTimeOutService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var angular_user_idle__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! angular-user-idle */ "./node_modules/angular-user-idle/fesm5/angular-user-idle.js"); /* harmony import */ var _message_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../message.service */ "./src/app/common/message.service.ts"); var UserIdleTimeOutService = /** @class */ (function () { function UserIdleTimeOutService(userIdle, messageService) { this.userIdle = userIdle; this.messageService = messageService; this.restTimerCheck = true; sessionStorage.setItem('restTimerCheck', 'true'); } // for userIdle check ---- Start UserIdleTimeOutService.prototype.setUserIdleCheck = function () { var _this = this; // Start watching for user inactivity. this.startWatching(); // Start watching when user idle is starting. this.userIdle.onTimerStart().subscribe(function (count) { console.log('user idle is starting!', count); _this.restTimerCheck = true; sessionStorage.setItem('restTimerCheck', 'true'); var userIdelchk = sessionStorage.getItem('userIdelchk'); if (userIdelchk && userIdelchk === 'true') { _this.stop(); sessionStorage.setItem('userIdelchk', 'false'); } }); // Start watch when time is up. this.userIdle.onTimeout().subscribe(function () { console.log('Time is up!'); _this.restTimerCheck = true; _this.stop(); //sessionStorage.clear(); _this.stopWatching(); _this.messageService.sendMessage('logout'); }); }; UserIdleTimeOutService.prototype.stop = function () { this.userIdle.stopTimer(); this.restTimerCheck = false; sessionStorage.setItem('restTimerCheck', 'false'); }; UserIdleTimeOutService.prototype.stopWatching = function () { this.userIdle.stopWatching(); }; UserIdleTimeOutService.prototype.startWatching = function () { this.userIdle.startWatching(); }; UserIdleTimeOutService.prototype.restart = function () { this.userIdle.resetTimer(); this.restTimerCheck = false; sessionStorage.setItem('restTimerCheck', 'false'); }; UserIdleTimeOutService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [angular_user_idle__WEBPACK_IMPORTED_MODULE_2__["UserIdleService"], _message_service__WEBPACK_IMPORTED_MODULE_3__["MessageService"]]) ], UserIdleTimeOutService); return UserIdleTimeOutService; }()); /***/ }), /***/ "./src/app/common/validations/OnlynumberDirective.ts": /*!***********************************************************!*\ !*** ./src/app/common/validations/OnlynumberDirective.ts ***! \***********************************************************/ /*! exports provided: OnlynumberDirective */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "OnlynumberDirective", function() { return OnlynumberDirective; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); var OnlynumberDirective = /** @class */ (function () { function OnlynumberDirective(_el) { this._el = _el; } OnlynumberDirective.prototype.onInputChange = function (event) { var initalValue = event.target.value; this._el.nativeElement.value = initalValue.replace(/[^0-9]*/g, ''); if (initalValue !== this._el.nativeElement.value) { // Propagation var evt = document.createEvent('HTMLEvents'); evt.initEvent('input', false, true); event.target.dispatchEvent(evt); } }; tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["HostListener"])('input', ['$event']), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:type", Function), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [Object]), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:returntype", void 0) ], OnlynumberDirective.prototype, "onInputChange", null); OnlynumberDirective = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Directive"])({ selector: '[numbersOnly]' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"]]) ], OnlynumberDirective); return OnlynumberDirective; }()); /***/ }), /***/ "./src/app/common/validations/UpperCaseInputDirective.ts": /*!***************************************************************!*\ !*** ./src/app/common/validations/UpperCaseInputDirective.ts ***! \***************************************************************/ /*! exports provided: UpperCaseInputDirective */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "UpperCaseInputDirective", function() { return UpperCaseInputDirective; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); var UpperCaseInputDirective = /** @class */ (function () { function UpperCaseInputDirective(ref) { this.ref = ref; } UpperCaseInputDirective.prototype.onInput = function ($event) { var start = $event.target.selectionStart; var end = $event.target.selectionEnd; $event.target.value = $event.target.value.toUpperCase(); $event.target.setSelectionRange(start, end); $event.preventDefault(); if (!this.lastValue || (this.lastValue && $event.target.value.length > 0 && this.lastValue !== $event.target.value)) { this.lastValue = this.ref.nativeElement.value = $event.target.value; // Propagation var evt = document.createEvent('HTMLEvents'); evt.initEvent('input', false, true); event.target.dispatchEvent(evt); } }; tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["HostListener"])('input', ['$event']), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:type", Function), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [Object]), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:returntype", void 0) ], UpperCaseInputDirective.prototype, "onInput", null); UpperCaseInputDirective = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Directive"])({ selector: '[upperCase]' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"]]) ], UpperCaseInputDirective); return UpperCaseInputDirective; }()); /***/ }), /***/ "./src/app/common/validations/customAutofocusDirective.ts": /*!****************************************************************!*\ !*** ./src/app/common/validations/customAutofocusDirective.ts ***! \****************************************************************/ /*! exports provided: CustomAutofocusDirective */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CustomAutofocusDirective", function() { return CustomAutofocusDirective; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_material__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/material */ "./node_modules/@angular/material/esm5/material.es5.js"); var CustomAutofocusDirective = /** @class */ (function () { function CustomAutofocusDirective(matInput) { this.matInput = matInput; } CustomAutofocusDirective.prototype.ngOnInit = function () { var _this = this; setTimeout(function () { return _this.matInput.focus(); }); }; CustomAutofocusDirective = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Directive"])({ selector: '[matInputAutofocus]', }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_material__WEBPACK_IMPORTED_MODULE_2__["MatInput"]]) ], CustomAutofocusDirective); return CustomAutofocusDirective; }()); /***/ }), /***/ "./src/app/common/validations/disableControlDirective.ts": /*!***************************************************************!*\ !*** ./src/app/common/validations/disableControlDirective.ts ***! \***************************************************************/ /*! exports provided: DisableControlDirective */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DisableControlDirective", function() { return DisableControlDirective; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/fesm5/forms.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); var DisableControlDirective = /** @class */ (function () { function DisableControlDirective(ngControl) { this.ngControl = ngControl; } Object.defineProperty(DisableControlDirective.prototype, "disableControl", { set: function (condition) { var action = condition ? 'disable' : 'enable'; this.ngControl.control[action](); }, enumerable: true, configurable: true }); tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_2__["Input"])(), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:type", Boolean), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [Boolean]) ], DisableControlDirective.prototype, "disableControl", null); DisableControlDirective = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_2__["Directive"])({ selector: '[disableControl]' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_forms__WEBPACK_IMPORTED_MODULE_1__["NgControl"]]) ], DisableControlDirective); return DisableControlDirective; }()); /***/ }), /***/ "./src/app/common/validations/disableCopyPasteDirective.ts": /*!*****************************************************************!*\ !*** ./src/app/common/validations/disableCopyPasteDirective.ts ***! \*****************************************************************/ /*! exports provided: DisableCopyPasteDirective */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DisableCopyPasteDirective", function() { return DisableCopyPasteDirective; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); var DisableCopyPasteDirective = /** @class */ (function () { function DisableCopyPasteDirective() { } //For paste operations /* @HostListener('paste', ['$event']) blockPaste(e: KeyboardEvent) { e.preventDefault(); } */ DisableCopyPasteDirective.prototype.blockCopy = function (e) { e.preventDefault(); }; DisableCopyPasteDirective.prototype.blockCut = function (e) { e.preventDefault(); }; tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["HostListener"])('copy', ['$event']), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:type", Function), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [KeyboardEvent]), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:returntype", void 0) ], DisableCopyPasteDirective.prototype, "blockCopy", null); tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["HostListener"])('cut', ['$event']), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:type", Function), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [KeyboardEvent]), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:returntype", void 0) ], DisableCopyPasteDirective.prototype, "blockCut", null); DisableCopyPasteDirective = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Directive"])({ selector: '[disableCopyPasteDirective]' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", []) ], DisableCopyPasteDirective); return DisableCopyPasteDirective; }()); /***/ }), /***/ "./src/app/mpm/referential/maintenancesupplier/maintenancesupplier-delete/maintenancesupplier-delete.services.ts": /*!***********************************************************************************************************************!*\ !*** ./src/app/mpm/referential/maintenancesupplier/maintenancesupplier-delete/maintenancesupplier-delete.services.ts ***! \***********************************************************************************************************************/ /*! exports provided: MaintenanceDeleteService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MaintenanceDeleteService", function() { return MaintenanceDeleteService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); var MaintenanceDeleteService = /** @class */ (function () { function MaintenanceDeleteService() { // this.showDeleteBtn } MaintenanceDeleteService.prototype.showMaintainenceSupplierDelete = function (showBtn) { this.showDeleteBtn = showBtn; }; MaintenanceDeleteService.prototype.setMaintainenceSupplier = function (supplier) { this.deleteMaintenanceSupplier = supplier; }; MaintenanceDeleteService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", []) ], MaintenanceDeleteService); return MaintenanceDeleteService; }()); /***/ }), /***/ "./src/app/mpm/referential/maintenancesupplier/maintenancesupplier.model.ts": /*!**********************************************************************************!*\ !*** ./src/app/mpm/referential/maintenancesupplier/maintenancesupplier.model.ts ***! \**********************************************************************************/ /*! exports provided: MaintenanceSupplier */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MaintenanceSupplier", function() { return MaintenanceSupplier; }); var MaintenanceSupplier = /** @class */ (function () { function MaintenanceSupplier() { } return MaintenanceSupplier; }()); /***/ }), /***/ "./src/app/mpm/referential/maintenancesupplier/maintenancesupplier.service.ts": /*!************************************************************************************!*\ !*** ./src/app/mpm/referential/maintenancesupplier/maintenancesupplier.service.ts ***! \************************************************************************************/ /*! exports provided: MaintenanceSupplierService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MaintenanceSupplierService", function() { return MaintenanceSupplierService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); var MaintenanceSupplierService = /** @class */ (function () { function MaintenanceSupplierService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiURL; this.showDeleteBtn = true; this.btnName = 'Common_Buttons.Add_Record'; } MaintenanceSupplierService.prototype.getMaintenanceSupplierList = function (maintenancesupplier) { return this.httpClient.post(this.apiURL + '/getMaintenanceSupplierList', maintenancesupplier).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; MaintenanceSupplierService.prototype.updateMaintenanceSupplierOrganisationList = function (maintenancesupplier) { return this.httpClient.put(this.apiURL + '/updateMaintenanceSupplierOrganisationList', maintenancesupplier, { observe: 'response' }); }; MaintenanceSupplierService.prototype.updateMaintenanceSupplierList = function (maintenancesupplier) { return this.httpClient.put(this.apiURL + '/updateMaintenanceSupplierList', maintenancesupplier, { observe: 'response' }); }; // deleteMaintenanceSupplierData(maintenancesupplier: MaintenanceSupplier) { // return this.httpClient.put(this.apiURL + '/deleteMaintenanceSupplierData', maintenancesupplier, { // observe: 'response' // }); // } MaintenanceSupplierService.prototype.deleteMaintenanceSupplierData = function (id) { console.log('delete', id); return this.httpClient.delete(this.apiURL + '/deleteMaintenanceSupplierData/' + id); }; MaintenanceSupplierService.prototype.getGridOptions = function () { return this.gridOptions; }; MaintenanceSupplierService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; MaintenanceSupplierService.prototype.createMaintenanceSupplierList = function (maintenancesupplier) { return this.httpClient.post(this.apiURL + '/createMaintenanceSupplierList', maintenancesupplier, { observe: 'response' }); }; MaintenanceSupplierService.prototype.refreshGrid = function (maintenancesupplier) { var _this = this; this.getMaintenanceSupplierList(maintenancesupplier).subscribe(function (result) { _this.gridOptions.api.setRowData(result); }); }; MaintenanceSupplierService.prototype.refreshListGrid = function (result) { this.gridOptions.api.setRowData(result); }; MaintenanceSupplierService.prototype.setMaintenanceSupplier = function (gridCampaign) { console.log(' gridCampaign ', gridCampaign); this.maintenancesupplier = gridCampaign; if (this.maintenancesupplier != null) { this.initUpdate(); } else { this.initCreate(); } }; MaintenanceSupplierService.prototype.getUpdateMaintenanceSupplier = function () { return this.maintenancesupplier; }; MaintenanceSupplierService.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; MaintenanceSupplierService.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; MaintenanceSupplierService.prototype.getMaintainenceSupplierDelete = function () { return this.showDeleteBtn; }; MaintenanceSupplierService.prototype.checkColorDuplicate = function (dataList, checkVal) { if (dataList) { var duplicateList = dataList.filter(function (dataVal) { return dataVal.colour === checkVal.colour; }); if (duplicateList && duplicateList.length > 0) { if (duplicateList.length > 1) { return true; } else if (duplicateList[0].id !== checkVal.id) { return true; } } } }; MaintenanceSupplierService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClient"]]) ], MaintenanceSupplierService); return MaintenanceSupplierService; }()); /***/ }), /***/ "./src/app/mpm/referential/maintenancetask/maintenancetask-delete/maintenancetask-delete.services.ts": /*!***********************************************************************************************************!*\ !*** ./src/app/mpm/referential/maintenancetask/maintenancetask-delete/maintenancetask-delete.services.ts ***! \***********************************************************************************************************/ /*! exports provided: MaintenancetaskDeleteService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MaintenancetaskDeleteService", function() { return MaintenancetaskDeleteService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); var MaintenancetaskDeleteService = /** @class */ (function () { function MaintenancetaskDeleteService() { // this.showDeleteBtn } MaintenancetaskDeleteService.prototype.showmaintenancetaskDelete = function (showBtn) { this.showDeleteBtn = showBtn; }; MaintenancetaskDeleteService.prototype.setmaintenancetask = function (supplier) { this.deletemaintenancetask = supplier; }; MaintenancetaskDeleteService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", []) ], MaintenancetaskDeleteService); return MaintenancetaskDeleteService; }()); /***/ }), /***/ "./src/app/mpm/referential/maintenancetask/maintenancetask.model.ts": /*!**************************************************************************!*\ !*** ./src/app/mpm/referential/maintenancetask/maintenancetask.model.ts ***! \**************************************************************************/ /*! exports provided: MaintenanceTask */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MaintenanceTask", function() { return MaintenanceTask; }); var MaintenanceTask = /** @class */ (function () { function MaintenanceTask() { } return MaintenanceTask; }()); /***/ }), /***/ "./src/app/mpm/referential/maintenancetask/maintenancetask.service.ts": /*!****************************************************************************!*\ !*** ./src/app/mpm/referential/maintenancetask/maintenancetask.service.ts ***! \****************************************************************************/ /*! exports provided: MaintenanceTaskService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MaintenanceTaskService", function() { return MaintenanceTaskService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); var MaintenanceTaskService = /** @class */ (function () { function MaintenanceTaskService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_4__["environment"].apiURL; this.showDeleteBtn = true; this.btnName = 'Common_Buttons.Add_Record'; } MaintenanceTaskService.prototype.getMaintenanceTaskServiceList = function (maintenancetask) { return this.httpClient.post(this.apiURL + '/getMaintenanceTaskList', maintenancetask).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (res) { return res; })); }; MaintenanceTaskService.prototype.updateMaintenanceTaskOrganisationList = function (maintenancetask) { return this.httpClient.put(this.apiURL + '/updateMaintenanceTaskOrganisationList', maintenancetask, { observe: 'response' }); }; MaintenanceTaskService.prototype.deleteMaintenanceTaskData = function (id) { return this.httpClient.delete(this.apiURL + '/deleteMaintenanceTaskData/' + id); }; MaintenanceTaskService.prototype.getGridOptions = function () { return this.gridOptions; }; MaintenanceTaskService.prototype.refreshListGrid = function (result) { this.gridOptions.api.setRowData(result); }; MaintenanceTaskService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; MaintenanceTaskService.prototype.saveMaintenanceTask = function (maintenancetask) { return this.httpClient.post(this.apiURL + '/saveMaintenanceTask', maintenancetask, { observe: 'response' }); }; MaintenanceTaskService.prototype.updateMaintenanceTask = function (maintenancetask) { return this.httpClient.put(this.apiURL + '/updateMaintenanceTask', maintenancetask, { observe: 'response' }); }; MaintenanceTaskService.prototype.setMaintenanceTask = function (gridmaintenancetask) { this.maintenancetask = gridmaintenancetask; if (this.maintenancetask != null) { this.initUpdate(); } else { this.initCreate(); } }; MaintenanceTaskService.prototype.getupdateMaintenanceTask = function () { return this.maintenancetask; }; MaintenanceTaskService.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; MaintenanceTaskService.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; MaintenanceTaskService.prototype.getMaintenanceTaskDelete = function () { return this.showDeleteBtn; }; MaintenanceTaskService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]]) ], MaintenanceTaskService); return MaintenanceTaskService; }()); /***/ }), /***/ "./src/app/mpm/referential/prestationcompanies/prestationcompanies.model.ts": /*!**********************************************************************************!*\ !*** ./src/app/mpm/referential/prestationcompanies/prestationcompanies.model.ts ***! \**********************************************************************************/ /*! exports provided: Prestationcompanies */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Prestationcompanies", function() { return Prestationcompanies; }); var Prestationcompanies = /** @class */ (function () { function Prestationcompanies() { } return Prestationcompanies; }()); /***/ }), /***/ "./src/app/mpm/referential/prestationcompanies/prestationcompanies.service.ts": /*!************************************************************************************!*\ !*** ./src/app/mpm/referential/prestationcompanies/prestationcompanies.service.ts ***! \************************************************************************************/ /*! exports provided: PrestationcompaniesService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PrestationcompaniesService", function() { return PrestationcompaniesService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); var PrestationcompaniesService = /** @class */ (function () { function PrestationcompaniesService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiURL; this.showDeleteBtn = true; this.btnName = 'Common_Buttons.Add_Record'; } PrestationcompaniesService.prototype.getGridOptions = function () { return this.gridOptions; }; PrestationcompaniesService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; /* Method to get the presatation Companies record mapped to the backend URL /getPrestationCompaniesList */ PrestationcompaniesService.prototype.getPrestationcompaniesList = function (prestationcompanies) { return this.httpClient.post(this.apiURL + '/getPrestationCompaniesList', prestationcompanies).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; PrestationcompaniesService.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; PrestationcompaniesService.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; PrestationcompaniesService.prototype.refreshGrid = function (prestationcompanies) { var _this = this; this.getPrestationcompaniesList(prestationcompanies).subscribe(function (result) { _this.gridOptions.api.setRowData(result); }); }; /* Method to create the presatation Companies record mapped to the backend URL /savePrestationCompanies */ PrestationcompaniesService.prototype.createPrestationcompaniesList = function (prestationcompanies) { return this.httpClient.post(this.apiURL + '/savePrestationCompanies', prestationcompanies, { observe: 'response' }); }; PrestationcompaniesService.prototype.setPrestationcompanies = function (gridPrestationcompanies) { this.Prestationcompanies = gridPrestationcompanies; if (this.Prestationcompanies != null) { this.initUpdate(); } else { this.initCreate(); } }; PrestationcompaniesService.prototype.getUpdatePrestationcompanies = function () { return this.Prestationcompanies; }; /* Method to update the presatation Companies record mapped to the backend URL /updatePrestationCompanies */ PrestationcompaniesService.prototype.updatePrestationcompaniesList = function (prestationcompanies) { return this.httpClient.put(this.apiURL + '/updatePrestationCompanies', prestationcompanies, { observe: 'response' }); }; /* Method to update the presatation Companies organisation Mapping */ PrestationcompaniesService.prototype.updatePrestationcompaniesOrganisation = function (prestationcompanies) { return this.httpClient.put(this.apiURL + '/updatePrestationCompaniesOrganisation', prestationcompanies, { observe: 'response' }); }; PrestationcompaniesService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClient"]]) ], PrestationcompaniesService); return PrestationcompaniesService; }()); /***/ }), /***/ "./src/app/mpm/referential/preventivemaintenance/preventivemaintenance-delete/preventivemaintenance-delete.services.ts": /*!*****************************************************************************************************************************!*\ !*** ./src/app/mpm/referential/preventivemaintenance/preventivemaintenance-delete/preventivemaintenance-delete.services.ts ***! \*****************************************************************************************************************************/ /*! exports provided: PreventivemaintenanceDeleteService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PreventivemaintenanceDeleteService", function() { return PreventivemaintenanceDeleteService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); var PreventivemaintenanceDeleteService = /** @class */ (function () { function PreventivemaintenanceDeleteService() { // this.showDeleteBtn } PreventivemaintenanceDeleteService.prototype.showPreventivemaintenanceDelete = function (showBtn) { this.showDeleteBtn = showBtn; }; PreventivemaintenanceDeleteService.prototype.setPreventivemaintenance = function (supplier) { this.deletepreventivemaintenanceSupplier = supplier; }; PreventivemaintenanceDeleteService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", []) ], PreventivemaintenanceDeleteService); return PreventivemaintenanceDeleteService; }()); /***/ }), /***/ "./src/app/mpm/referential/preventivemaintenance/preventivemaintenance.model.ts": /*!**************************************************************************************!*\ !*** ./src/app/mpm/referential/preventivemaintenance/preventivemaintenance.model.ts ***! \**************************************************************************************/ /*! exports provided: PreventiveMaintenance */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PreventiveMaintenance", function() { return PreventiveMaintenance; }); var PreventiveMaintenance = /** @class */ (function () { function PreventiveMaintenance() { } return PreventiveMaintenance; }()); /***/ }), /***/ "./src/app/mpm/referential/preventivemaintenance/preventivemaintenance.service.ts": /*!****************************************************************************************!*\ !*** ./src/app/mpm/referential/preventivemaintenance/preventivemaintenance.service.ts ***! \****************************************************************************************/ /*! exports provided: PreventiveMaintenanceService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PreventiveMaintenanceService", function() { return PreventiveMaintenanceService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); var PreventiveMaintenanceService = /** @class */ (function () { function PreventiveMaintenanceService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiURL; this.showDeleteBtn = true; this.btnName = 'Common_Buttons.Add_Record'; } PreventiveMaintenanceService.prototype.getPreventiveMaintenanceList = function (preventivemaintenance) { return this.httpClient.post(this.apiURL + '/getPreventiveMaintenanceList', preventivemaintenance).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; PreventiveMaintenanceService.prototype.updatePreventiveMaintenanceOrganisationList = function (preventivemaintenance) { return this.httpClient.put(this.apiURL + '/updatePreventiveMaintenanceOrganisationList', preventivemaintenance, { observe: 'response' }); }; PreventiveMaintenanceService.prototype.updatePreventiveMaintenanceList = function (preventivemaintenance) { return this.httpClient.put(this.apiURL + '/updatePreventiveMaintenanceList', preventivemaintenance, { observe: 'response' }); }; PreventiveMaintenanceService.prototype.getGridOptions = function () { return this.gridOptions; }; PreventiveMaintenanceService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; PreventiveMaintenanceService.prototype.createPreventiveMaintenanceList = function (preventivemaintenance) { return this.httpClient.post(this.apiURL + '/createPreventiveMaintenanceList', preventivemaintenance, { observe: 'response' }); }; PreventiveMaintenanceService.prototype.deletePreventiveMaintenanceData = function (id) { console.log('delete', id); return this.httpClient.delete(this.apiURL + '/deletePreventiveMaintenanceData/' + id); }; PreventiveMaintenanceService.prototype.refreshGrid = function (preventivemaintenance) { var _this = this; this.getPreventiveMaintenanceList(preventivemaintenance).subscribe(function (result) { _this.gridOptions.api.setRowData(result); }); }; PreventiveMaintenanceService.prototype.refreshListGrid = function (result) { this.gridOptions.api.setRowData(result); }; PreventiveMaintenanceService.prototype.setPreventiveMaintenance = function (gridCampaign) { this.preventivemaintenance = gridCampaign; if (this.preventivemaintenance != null) { this.initUpdate(); } else { this.initCreate(); } }; PreventiveMaintenanceService.prototype.getUpdatePreventiveMaintenance = function () { return this.preventivemaintenance; }; PreventiveMaintenanceService.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; PreventiveMaintenanceService.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; PreventiveMaintenanceService.prototype.getPreventiveMaintenanceDelete = function () { return this.showDeleteBtn; }; PreventiveMaintenanceService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClient"]]) ], PreventiveMaintenanceService); return PreventiveMaintenanceService; }()); /***/ }), /***/ "./src/app/mpm/referential/stop-duration/stop-duration.model.ts": /*!**********************************************************************!*\ !*** ./src/app/mpm/referential/stop-duration/stop-duration.model.ts ***! \**********************************************************************/ /*! exports provided: StopDuration */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StopDuration", function() { return StopDuration; }); var StopDuration = /** @class */ (function () { function StopDuration() { } return StopDuration; }()); /***/ }), /***/ "./src/app/mpm/referential/stop-duration/stop-duration.service.ts": /*!************************************************************************!*\ !*** ./src/app/mpm/referential/stop-duration/stop-duration.service.ts ***! \************************************************************************/ /*! exports provided: StopDurationService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "StopDurationService", function() { return StopDurationService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); var StopDurationService = /** @class */ (function () { function StopDurationService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiURL; this.showDeleteBtn = true; this.btnName = 'Common_Buttons.Add_Record'; } StopDurationService.prototype.getGridOptions = function () { return this.gridOptions; }; StopDurationService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; StopDurationService.prototype.getStopDurationList = function (stopDuration) { return this.httpClient.post(this.apiURL + '/getStopDurationList', stopDuration).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; StopDurationService.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; StopDurationService.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; StopDurationService.prototype.refreshGrid = function (stopDuration) { var _this = this; this.getStopDurationList(stopDuration).subscribe(function (result) { _this.gridOptions.api.setRowData(result); }); }; StopDurationService.prototype.createStopDurationList = function (stopDuration) { return this.httpClient.post(this.apiURL + '/createStopDurationList', stopDuration, { observe: 'response' }); }; StopDurationService.prototype.setStopDuration = function (gridStopDuration) { this.stopDuration = gridStopDuration; if (this.stopDuration != null) { this.initUpdate(); } else { this.initCreate(); } }; StopDurationService.prototype.getUpdateStopDuration = function () { return this.stopDuration; }; StopDurationService.prototype.updateStopDurationList = function (stopDuration) { return this.httpClient.put(this.apiURL + '/updateStopDurationList', stopDuration, { observe: 'response' }); }; StopDurationService.prototype.updateStopDurationOrganisationList = function (stopDuration) { return this.httpClient.put(this.apiURL + '/updateStopDurationOrganisationList', stopDuration, { observe: 'response' }); }; StopDurationService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClient"]]) ], StopDurationService); return StopDurationService; }()); /***/ }), /***/ "./src/app/mpm/test-bed-slots/test-bed-slots.service.ts": /*!**************************************************************!*\ !*** ./src/app/mpm/test-bed-slots/test-bed-slots.service.ts ***! \**************************************************************/ /*! exports provided: TestBedSlotsService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TestBedSlotsService", function() { return TestBedSlotsService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); var TestBedSlotsService = /** @class */ (function () { function TestBedSlotsService(http) { this.http = http; this.testbedSlots = new Array(); this.baseString = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiURL; } TestBedSlotsService.prototype.getTestbedComboList = function (testbed) { return this.http.post(this.baseString + '/getTestbedComboList/', testbed, { observe: 'response' }); }; TestBedSlotsService.prototype.getTestbedSlotList = function (testbedSlots) { return this.http.post(this.baseString + '/getTestbedslotsList/', testbedSlots).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; TestBedSlotsService.prototype.saveTestbedSlot = function (testbedSlot) { return this.http.post(this.baseString + '/saveTestbedSlot/', testbedSlot, { observe: 'response' }); }; TestBedSlotsService.prototype.setTestbedSlotsData = function (testbedSlot) { var loopValue; for (loopValue = 0; loopValue < testbedSlot.length; loopValue++) { this.testbedSlots[loopValue] = testbedSlot[loopValue].testbedSlots; } }; TestBedSlotsService.prototype.getTestbedSlots = function () { return this.testbedSlots; }; TestBedSlotsService.prototype.getTestbedSlotListbyTestbed = function (testbedId) { return this.http.get(this.baseString + '/getTestbedSlotsByTestBed/' + testbedId); }; TestBedSlotsService.prototype.deleteTestbedSlot = function (testbedSlotId) { return this.http.delete(this.baseString + '/deleteTestbedSlot/' + testbedSlotId); }; TestBedSlotsService.prototype.getMaintenanceSupplierListFromTask = function () { return this.http.get(this.baseString + '/getMaintenanceSupplierFromTasks/').pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; TestBedSlotsService.prototype.getMaintenanceTaskFromSupplier = function (maintenanceSupplier) { return this.http.post(this.baseString + '/getMaintenanceTaskFromSupplier/', maintenanceSupplier); }; TestBedSlotsService.prototype.setfilterMsg = function (value) { this.filterMsg = value; }; TestBedSlotsService.prototype.getfilterMsg = function () { return this.filterMsg; }; TestBedSlotsService.prototype.updateSlotAcceptStatus = function (slotTasksAssociation) { return this.http.post(this.baseString + '/acceptRejectStatusChange/', slotTasksAssociation, { observe: 'response' }); }; TestBedSlotsService.prototype.getSlotTaskAssociationList = function (slotTasksAssociation) { return this.http.post(this.baseString + '/getSlotTaskAssociationList', slotTasksAssociation, { observe: 'response' }); }; // This method is changed to display same tasks with different durations TestBedSlotsService.prototype.getKeyValue = function (obj, value) { var resultStr; resultStr = value.split('|'); for (var loop = 0; loop < obj.length; loop++) { if (((obj[loop].task).toUpperCase().trim() === resultStr[0].toUpperCase().trim()) && ((obj[loop].duration.label) === parseFloat(resultStr[1])) && ((obj[loop].periodicity).toUpperCase().trim() === resultStr[2].toUpperCase().trim()) && ((obj[loop].type).toUpperCase().trim() === resultStr[3].toUpperCase().trim())) { return obj[loop]; } } }; TestBedSlotsService.prototype.saveSlotTasksAssociation = function (slotTasksAssociation) { return this.http.post(this.baseString + '/saveSlotTasksAssociation', slotTasksAssociation, { observe: 'response' }); }; TestBedSlotsService.prototype.deleteAll = function (slotTasksAssociation) { return this.http.post(this.baseString + '/deleteSlotTasksAssociation', slotTasksAssociation, { observe: 'response' }); }; TestBedSlotsService.prototype.getMaintenanceSlots = function (testbedSlot) { return this.http.post(this.baseString + '/getMaintenanceSlots/', testbedSlot).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; TestBedSlotsService.prototype.getTestbedOrgID = function (testbedId) { return this.http.get(this.baseString + '/getTestbedDetail/' + testbedId); }; TestBedSlotsService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClient"]]) ], TestBedSlotsService); return TestBedSlotsService; }()); /***/ }), /***/ "./src/app/saisie/activate/OT.model.ts": /*!*********************************************!*\ !*** ./src/app/saisie/activate/OT.model.ts ***! \*********************************************/ /*! exports provided: OT */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "OT", function() { return OT; }); var OT = /** @class */ (function () { function OT() { } return OT; }()); /***/ }), /***/ "./src/app/saisie/activate/activate.service.ts": /*!*****************************************************!*\ !*** ./src/app/saisie/activate/activate.service.ts ***! \*****************************************************/ /*! exports provided: ActivateService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ActivateService", function() { return ActivateService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var _engineActivity_model__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./engineActivity.model */ "./src/app/saisie/activate/engineActivity.model.ts"); /* harmony import */ var _activity_model__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./activity.model */ "./src/app/saisie/activate/activity.model.ts"); /* harmony import */ var src_app_administration_testbedreferential_testbed_testbed_model__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! src/app/administration/testbedreferential/testbed/testbed-model */ "./src/app/administration/testbedreferential/testbed/testbed-model.ts"); /* harmony import */ var _activitycommon_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./activitycommon.service */ "./src/app/saisie/activate/activitycommon.service.ts"); /* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! moment */ "./node_modules/moment/moment.js"); /* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_8__); var ActivateService = /** @class */ (function () { function ActivateService(http, activitycommonService) { this.http = http; this.activitycommonService = activitycommonService; this.receivedTotalRecordsEmitter = new _angular_core__WEBPACK_IMPORTED_MODULE_1__["EventEmitter"](); this.baseString = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiURL; } /*TO Delete*/ // getSiteComboListService(testbed: Testbed) { // return this.http.post(this.baseString + '/getSiteComboListNew', testbed); // } // getMeansComboListService(testbed: Testbed) { // return this.http.post(this.baseString + '/getMeansComboListNew', testbed); // } /*TO Delete*/ ActivateService.prototype.getSiteComboListService = function () { var orgId = [2]; return this.http.get(this.baseString + '/getSiteComboList/' + orgId); }; ActivateService.prototype.getMeansComboListService = function () { var orgId = [2]; return this.http.get(this.baseString + '/getEngineMeanComboList/' + orgId); }; ActivateService.prototype.getSiteComboList = function () { var orgId = JSON.parse(sessionStorage.getItem('organisationIDs')); console.log('orgId', orgId); return this.http.get(this.baseString + '/getSiteComboList/' + orgId); }; ActivateService.prototype.getEngineSiteComboList = function () { var orgId = [1]; return this.http.get(this.baseString + '/getSiteComboList/' + orgId); }; ActivateService.prototype.getEngineMeansComboList = function () { var orgId = [1]; return this.http.get(this.baseString + '/getEngineMeanComboList/' + orgId); }; ActivateService.prototype.getMeansComboList = function () { return this.http.get(this.baseString + '/getMeanComboList'); }; ActivateService.prototype.getMeansComboListForExtract = function () { return this.http.get(this.baseString + '/getMeanComboListForExtract'); }; ActivateService.prototype.getTestbedComboList = function (testbed) { return this.http.post(this.baseString + '/getTestbedComboList/', testbed, { observe: 'response' }); }; ActivateService.prototype.getTestbedById = function (testbedId) { return this.http.get(this.baseString + '/getTestbedDetail/' + testbedId); }; /* getEngineActivityData(engineActivity: EngineActivity) { // this.page = this.page === undefined ? 0 : this.page; // this.size = this.size === undefined ? 10 : this.size; return this.http.post(this.baseString + '/getFilteredActivityData/', engineActivity); } */ // getDateFilteredEngineActivityData(engineActivity: EngineActivity) { // return this.http.post(this.baseString + '/getDateFilteredEngineActivityData/', engineActivity); // } ActivateService.prototype.getFailureData = function (activityId) { return this.http.get(this.baseString + '/getFailureActivityData/' + activityId); }; ActivateService.prototype.getFailureDataEmissionCD = function (activityId) { return this.http.get(this.baseString + '/getFailureActivityDataEmissionCD/' + activityId); }; ActivateService.prototype.getTestbedGlobalInfoList = function () { return this.http.get(this.baseString + '/getTestbedGlobalInfoList/'); }; ActivateService.prototype.getEvEngineData = function (activityId) { return this.http.get(this.baseString + '/getEvEngineData/' + activityId); }; ActivateService.prototype.getFilterActivityForm = function () { return this.filterActivityForm; }; ActivateService.prototype.getSacreData = function (essNo) { return this.http.get(this.baseString + '/getSacreData/' + essNo); }; ActivateService.prototype.setFilterActivityForm = function (filterActivityForm) { this.filterActivityForm = filterActivityForm; }; ActivateService.prototype.saveFailureActvity = function (failureActivity) { return this.http.post(this.baseString + '/saveFailureActivity', failureActivity, { observe: 'response' }); }; ActivateService.prototype.updateFailureActvity = function (failureActivity) { return this.http.put(this.baseString + '/updateFailureActivity', failureActivity, { observe: 'response' }); }; ActivateService.prototype.deleteFaliureSave = function (failureActivity) { return this.http.post(this.baseString + '/deleteFaliureSave', failureActivity, { observe: 'response' }); }; ActivateService.prototype.saveTuningEdActvity = function (tuningEdActivity) { return this.http.post(this.baseString + '/saveTuningEdActvity', tuningEdActivity, { observe: 'response' }); }; ActivateService.prototype.updateTuningEdActvity = function (tuningEdActivity) { return this.http.put(this.baseString + '/updateTuningTestActivity', tuningEdActivity, { observe: 'response' }); }; ActivateService.prototype.saveReliabilityEdActivity = function (reliability) { return this.http.post(this.baseString + '/saveReliabilityEdActivity', reliability, { observe: 'response' }); }; ActivateService.prototype.updateReliabilityEdActivity = function (reliability) { return this.http.put(this.baseString + '/updateReliabilityEdActivityData', reliability, { observe: 'response' }); }; ActivateService.prototype.saveEvEngine = function (electrical) { return this.http.post(this.baseString + '/saveEvEngine', electrical, { observe: 'response' }); }; ActivateService.prototype.updateEvEngine = function (electrical) { return this.http.put(this.baseString + '/updateEvEngine', electrical, { observe: 'response' }); }; ActivateService.prototype.getUnixDatelocal = function (localDate) { var replaceDateSrt = null; if (localDate) { var dateStr = new Date(localDate).toISOString(); var dateSplitA = dateStr.split('T'); replaceDateSrt = dateSplitA[0]; } return replaceDateSrt; }; ActivateService.prototype.getDateFormat = function (inputDate) { if (inputDate !== null) { var dateObj = inputDate.split('-'); return dateObj[2] + '/' + dateObj[1] + '/' + dateObj[0]; } else { return null; } }; ActivateService.prototype.datelocalSuffix = function (localDate) { if (!localDate) { localDate = new Date(); } var dateStr = JSON.stringify(new Date()); var dateSplitA = dateStr.split('T'); var replaceDateSrt = 'T' + dateSplitA[1].substr(0, dateSplitA[1].length - 1); return replaceDateSrt; }; ActivateService.prototype.getSumOfEngineActivityHourByDate = function (id, activityDate) { return this.http.get(this.baseString + '/getSumOfEngineActivityHourByDate?id=' + id + '&activityDate=' + this.convetStdDateFormat(activityDate)); }; ActivateService.prototype.getGridOptions = function () { return this.gridOptions; }; ActivateService.prototype.getGridApi = function () { return this.gridApi; }; ActivateService.prototype.setGridApi = function (gridApi) { this.gridApi = gridApi; }; ActivateService.prototype.getParams = function () { return this.params; }; ActivateService.prototype.setParams = function (params) { this.params = params; }; ActivateService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; ActivateService.prototype.getTestBedFormData = function () { return this.testBedFormData; }; ActivateService.prototype.setTestBedFormData = function (testBedFormData) { this.testBedFormData = testBedFormData; }; ActivateService.prototype.getactivityRowData = function () { return this.activityRowData; }; ActivateService.prototype.setactivityRowData = function (activityRowData) { this.activityRowData = activityRowData; }; ActivateService.prototype.getEmissionFailureUpdate = function () { return this.emissionFailureUpdate; }; ActivateService.prototype.setSacreFlag = function (value) { this.sacreFlag = value; }; ActivateService.prototype.getSacreFlag = function () { console.log(this.sacreFlag); return this.sacreFlag; }; ActivateService.prototype.setEmissionFailureUpdate = function (emissionFailureUpdate) { this.emissionFailureUpdate = emissionFailureUpdate; }; ActivateService.prototype.refreshGrid = function (mapVal) { var _this = this; var testbedId = this.getTestBedFormData()['selectedTestBed']; var engineActivity = new _engineActivity_model__WEBPACK_IMPORTED_MODULE_4__["EngineActivity"](); var activity = new _activity_model__WEBPACK_IMPORTED_MODULE_5__["Activity"](); var testbed = new src_app_administration_testbedreferential_testbed_testbed_model__WEBPACK_IMPORTED_MODULE_6__["Testbed"](); engineActivity.activity = activity; engineActivity.activity.testBedId = testbed; engineActivity.activity.testBedId.id = testbedId; console.log(this.getDisplayDt()); if (mapVal === _activity_model__WEBPACK_IMPORTED_MODULE_5__["ActivityEnum"].EmissionCD) { mapVal = _activity_model__WEBPACK_IMPORTED_MODULE_5__["ActivityEnum"].EmissionCDLabel; } else { mapVal = _activity_model__WEBPACK_IMPORTED_MODULE_5__["ActivityEnum"].TuningEDLabel; } this.getFailureActivityDataByTestBedId(testbedId, mapVal).subscribe(function (failureActivity_EngAct) { // this.setFailureActivityList(failureActivityData); if (_this.getDisplayDt() === undefined) { engineActivity.activity.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); engineActivity.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.getEngineActivityData(engineActivity).subscribe(function (result) { // result = result.sort(function (a, b) { return a.seqNum - b.seqNum; }); _this.gridOptions.context = { failureActivityData: failureActivity_EngAct.filter(function (res) { return res.engineActivity != null && res.ot != null; }), otData: failureActivity_EngAct.filter(function (res) { return res.engineActivity != null; }) }; if (_this.gridOptions && _this.gridOptions.api) { _this.gridOptions.api.setRowData(result); } //this.getTotalRecordsEmitter(result['totalElements']); // Emit the Total Elements _this.activitycommonService.selectLastRowGrid(_this.gridOptions); // to select last row }); } else { engineActivity.activity.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); engineActivity.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); _this.getEngineActivityData(engineActivity).subscribe(function (result) { // result = result.sort(function (a, b) { return a.seqNum - b.seqNum; }); _this.gridOptions.context = { failureActivityData: failureActivity_EngAct.filter(function (res) { return res.engineActivity != null && res.ot != null; }), otData: failureActivity_EngAct.filter(function (res) { return res.engineActivity != null; }) }; if (_this.gridOptions && _this.gridOptions.api) { _this.gridOptions.api.setRowData(result); } //this.getTotalRecordsEmitter(result['totalElements']); // Emit the Total Elements _this.activitycommonService.selectLastRowGrid(_this.gridOptions); // to select last row }); } }); }; ActivateService.prototype.getEngineReliabilityData = function (activityId) { // console.log('Inside->>>>>', this.http.get(this.baseString + '/getReliabilityEdActivityData/' + activityId)); return this.http.get(this.baseString + '/getReliabilityEdActivityData/' + activityId); }; ActivateService.prototype.getEngineTuningData = function (activityId) { // console.log('Inside->>>>>', this.http.get(this.baseString + '/getReliabilityEdActivityData/' + activityId)); return this.http.get(this.baseString + '/getTuningEdActivityData/' + activityId); }; ActivateService.prototype.deleteEngineReliabilityData = function (activityId, seqUpdateCheck) { return this.http.delete(this.baseString + '/deleteReliabilityEdActivityData/?id=' + activityId + '&seqUpdateCheck=' + seqUpdateCheck); }; ActivateService.prototype.deleteEngineTuningData = function (activityId, seqUpdateCheck) { return this.http.delete(this.baseString + '/deleteTuningEdActivityData/?id=' + activityId + '&seqUpdateCheck=' + seqUpdateCheck); }; ActivateService.prototype.deleteFailureActivityData = function (activityId, seqUpdateCheck) { return this.http.delete(this.baseString + '/deleteFailureActivityData/?id=' + activityId + '&seqUpdateCheck=' + seqUpdateCheck); }; ActivateService.prototype.deleteEvEngineData = function (activityId, seqUpdateCheck) { return this.http.delete(this.baseString + '/deleteEvEngineData/?id=' + activityId + '&seqUpdateCheck=' + seqUpdateCheck); }; ActivateService.prototype.extractFailureActivity = function (beginDt, endDt) { return this.http.get(this.baseString + '/extractFailureActivityData/?startDate=' + beginDt + '&endDate=' + endDt); }; ActivateService.prototype.extractTuningActivity = function (beginDt, endDt) { return this.http.get(this.baseString + '/extractTuningEdActivityData/?startDate=' + beginDt + '&endDate=' + endDt); }; ActivateService.prototype.extractReliabilityActivity = function (beginDt, endDt) { // tslint:disable-next-line: max-line-length return this.http.get(this.baseString + '/extractReliabilityEdActivityData/?startDate=' + beginDt + '&endDate=' + endDt); }; ActivateService.prototype.extractEvEngineActivity = function (beginDt, endDt, testId) { return this.http.get(this.baseString + '/extractActivityData/?startDate=' + beginDt + '&endDate=' + endDt + '&testId=' + testId); }; ActivateService.prototype.extractNewEvEngineActivity = function (beginDt, endDt, testId) { return this.http.get(this.baseString + '/extractNewActivityData/?startDate=' + beginDt + '&endDate=' + endDt + '&testId=' + testId); }; ActivateService.prototype.setCampaign = function (campaign) { this.campaignId = campaign; }; ActivateService.prototype.saveRowOrder = function (rowOrder) { return this.http.put(this.baseString + '/saveRowOrder', rowOrder, { observe: 'response' }); }; ActivateService.prototype.bulkUpdateTuningEdActvity = function (beginDt, endDt, test, chooseField, value, value2, value3, testBedId, bulkUpdate, level0Val, orgId, from_seq, to_seq, valueTOHToggle, valueToggle, mapA) { return this.http.put(this.baseString + '/bulkUpdateTuningEdActvity/?startDate=' + beginDt + '&endDate=' + endDt + '&test=' + test + '&chooseField=' + chooseField + '&value=' + value + '&value2=' + value2 + '&value3=' + value3 + '&testBedId=' + testBedId + '&bulkUpdate=' + bulkUpdate + '&level0Val=' + level0Val + '&orgId=' + orgId + '&fromSeq=' + from_seq + '&toSeq=' + to_seq + '&valueTOHToggle=' + valueTOHToggle + '&valueToggle=' + valueToggle + '&campaign=' + this.campaignId + '&mapA=' + mapA, { observe: 'response' }); }; ActivateService.prototype.bulkUpdateEvEngineActvity = function (beginDt, endDt, test, chooseField, value, value2, value3, testBedId, bulkUpdate, level0Val, orgId, from_seq, to_seq, mapA) { // tslint:disable-next-line: max-line-length return this.http.put(this.baseString + '/bulkUpdateEvEngineActvity/?startDate=' + beginDt + '&endDate=' + endDt + '&test=' + test + '&chooseField=' + chooseField + '&value=' + value + '&value2=' + value2 + '&value3=' + value3 + '&testBedId=' + testBedId + '&bulkUpdate=' + bulkUpdate + '&level0Val=' + level0Val + '&orgId=' + orgId + '&fromSeq=' + from_seq + '&toSeq=' + to_seq + '&mapA=' + mapA, { observe: 'response' }); }; ActivateService.prototype.bulkUpdateEngReliabilityActvity = function (beginDt, endDt, test, chooseField, value, value2, value3, testBedId, bulkUpdate, level0Val, orgId, from_seq, to_seq, valueToggle, campaign, mapA) { // tslint:disable-next-line: max-line-length return this.http.put(this.baseString + '/bulkUpdateReliablitityActvity/?startDate=' + beginDt + '&endDate=' + endDt + '&test=' + test + '&chooseField=' + chooseField + '&value=' + value + '&value2=' + value2 + '&value3=' + value3 + '&testBedId=' + testBedId + '&bulkUpdate=' + bulkUpdate + '&level0Val=' + level0Val + '&orgId=' + orgId + '&fromSeq=' + from_seq + '&toSeq=' + to_seq + '&valueToggle=' + valueToggle + '&campaign=' + campaign + '&mapA=' + mapA, { observe: 'response' }); }; ActivateService.prototype.bulkUpdateFailureActvity = function (beginDt, endDt, test, chooseField, value, value2, testBedId, bulkUpdate, level0Val, orgId, from_seq, to_seq, valueToggle) { // tslint:disable-next-line: max-line-length return this.http.put(this.baseString + '/bulkUpdateFailureActivity/?startDate=' + beginDt + '&endDate=' + endDt + '&test=' + test + '&chooseField=' + chooseField + '&value=' + value + '&value2=' + value2 + '&testBedId=' + testBedId + '&bulkUpdate=' + bulkUpdate + '&level0Val=' + level0Val + '&orgId=' + orgId + '&fromSeq=' + from_seq + '&toSeq=' + to_seq + '&valueToggle=' + valueToggle, { observe: 'response' }); }; ActivateService.prototype.mulipleDuplicateEngineActivities = function (multipldeDuplicateActivity) { return this.http.put(this.baseString + '/mulipleDuplicateEngineActivities', multipldeDuplicateActivity, { observe: 'response' }); }; ActivateService.prototype.bulkUpdateFailureActivityEmission = function (beginDt, endDt, test, chooseField, value, value2, testBedId, bulkUpdate, level0Val, orgId, from_seq, to_seq) { // tslint:disable-next-line: max-line-length return this.http.put(this.baseString + '/bulkUpdateFailureActivityEmission/?startDate=' + beginDt + '&endDate=' + endDt + '&test=' + test + '&chooseField=' + chooseField + '&value=' + value + '&value2=' + value2 + '&testBedId=' + testBedId + '&bulkUpdate=' + bulkUpdate + '&level0Val=' + level0Val + '&orgId=' + orgId + '&fromSeq=' + from_seq + '&toSeq=' + to_seq, { observe: 'response' }); }; ActivateService.prototype.setDateLang = function (dateLang) { this.dateLang = dateLang; }; ActivateService.prototype.getLang = function () { return this.dateLang; }; ActivateService.prototype.setPageAndPageSize = function (page, size) { this.page = page; this.size = size; }; ActivateService.prototype.updateTestBedFreezeDate = function (lockDt, testbedIdArray, testBedId, siteId) { return this.http.put(this.baseString + '/updateLockDate/?lockDate=' + lockDt + '&testbedIdArray=' + testbedIdArray + '&testBedId=' + testBedId + '&siteId=' + siteId, { observe: 'response' }); }; ActivateService.prototype.getLockDate = function (id) { var rolesAssigned = sessionStorage.getItem('role'); var roleAction = sessionStorage.getItem('roleAction'); var roleActionValue = roleAction === '"W"' ? true : false; if (roleActionValue && rolesAssigned.toLowerCase().includes('tpm2-admin')) { return this.http.get(this.baseString + '/getLockDateForAdmin/' + id); } else { return this.http.get(this.baseString + '/getLockDate/' + id); } }; ActivateService.prototype.getEngineActivityData = function (engineActivity) { var rolesAssigned = sessionStorage.getItem('role'); var roleAction = sessionStorage.getItem('roleAction'); var roleActionValue = roleAction === '"W"' ? true : false; if (roleActionValue && rolesAssigned.toLowerCase().includes('tpm2-admin')) { return this.http.post(this.baseString + '/getFilteredActivityDataForAdmin/', engineActivity); } else { return this.http.post(this.baseString + '/getFilteredActivityData/', engineActivity); } }; ActivateService.prototype.setDisplayDate = function (displayDt) { this.displayDt = displayDt; }; ActivateService.prototype.getDisplayDt = function () { return this.displayDt; }; ActivateService.prototype.getEngineActivityWithSeqNum = function (engineActivity) { // this.page = this.page === undefined ? 0 : this.page; // this.size = this.size === undefined ? 5000 : this.size; return this.http.post(this.baseString + '/getActivityData/', engineActivity); }; ActivateService.prototype.setTestBedId = function (testBedId) { this.testbedid = testBedId; }; ActivateService.prototype.getTestBedId = function () { return this.testbedid; }; /* for bar activity component starts here*/ ActivateService.prototype.setNewApi = function (value) { this.newApi = value; }; ActivateService.prototype.getNewApi = function () { return this.newApi; }; ActivateService.prototype.getSumOfEngineActivityHourByDateBar = function (id, activityDate) { return this.http.get(this.baseString + '/getSumOfEngineActivityHourByDateBar?id=' + id + '&activityDate=' + this.convetStdDateFormat(activityDate)); }; ActivateService.prototype.getBarData = function (activityId) { return this.http.get(this.baseString + '/getBarActivityData/' + activityId); }; ActivateService.prototype.setBarUpdate = function (updateVal) { this.barUpdate = updateVal; }; ActivateService.prototype.getBarUpdate = function () { return this.barUpdate; }; ActivateService.prototype.setResult = function (resultVal) { this.barValue = resultVal; }; ActivateService.prototype.getResult = function () { return this.barValue; }; ActivateService.prototype.setTestVal = function (value) { this.barTest = value; }; ActivateService.prototype.getTestVal = function () { return this.barTest; }; ActivateService.prototype.setFailVal = function (value) { this.barFail = value; }; ActivateService.prototype.getFailVail = function () { return this.barFail; }; ActivateService.prototype.setBarFlag = function (value) { this.barflagVal = value; }; ActivateService.prototype.getBarFlag = function () { return this.barflagVal; }; ActivateService.prototype.getRollActivityWithSeqNum = function (rollActivity) { return this.http.post(this.baseString + '/getRollActivityList', rollActivity); }; ActivateService.prototype.setSeqFlag = function (value) { this.barSeqVal = value; }; ActivateService.prototype.getSeqFlag = function () { return this.barSeqVal; }; ActivateService.prototype.setSeqResult = function (value) { this.barSeqResult = value; }; ActivateService.prototype.getSeqResult = function () { return this.barSeqResult; }; ActivateService.prototype.setBardate = function (value) { this.barDate = value; }; ActivateService.prototype.getBardate = function () { return this.barDate; }; ActivateService.prototype.getBarCopData = function (activityId) { return this.http.get(this.baseString + '/getBarCopActivityData/' + activityId); }; ActivateService.prototype.bulkUpdateBarCopActvity = function (beginDt, endDt, test, chooseField, value, value2, value3, testBedId, bulkUpdate, level0Val, orgId, from_seq, to_seq, campaign, mapA) { return this.http.put(this.baseString + '/bulkUpdateBarCopActvity/?startDate=' + beginDt + '&endDate=' + endDt + '&test=' + test + '&chooseField=' + chooseField + '&value=' + value + '&value2=' + value2 + '&value3=' + value3 + '&testBedId=' + testBedId + '&bulkUpdate=' + bulkUpdate + '&level0Val=' + level0Val + '&orgId=' + orgId + '&fromSeq=' + from_seq + '&toSeq=' + to_seq + '&campaign=' + campaign + '&mapA=' + mapA, { observe: 'response' }); }; ActivateService.prototype.bulkUpdateBarActvity = function (beginDt, endDt, test, chooseField, value, value2, value3, testBedId, bulkUpdate, level0Val, orgId, from_seq, to_seq, campaign, mapA) { return this.http.put(this.baseString + '/bulkUpdateBarActvity/?startDate=' + beginDt + '&endDate=' + endDt + '&test=' + test + '&chooseField=' + chooseField + '&value=' + value + '&value2=' + value2 + '&value3=' + value3 + '&testBedId=' + testBedId + '&bulkUpdate=' + bulkUpdate + '&level0Val=' + level0Val + '&orgId=' + orgId + '&fromSeq=' + from_seq + '&toSeq=' + to_seq + '&campaign=' + campaign + '&mapA=' + mapA, { observe: 'response' }); }; ActivateService.prototype.bulkUpdateBarMixActvity = function (beginDt, endDt, test, chooseField, value, value2, value3, testBedId, bulkUpdate, level0Val, orgId, from_seq, to_seq, campaign, mapA) { return this.http.put(this.baseString + '/bulkUpdateBarMixActvity/?startDate=' + beginDt + '&endDate=' + endDt + '&test=' + test + '&chooseField=' + chooseField + '&value=' + value + '&value2=' + value2 + '&value3=' + value3 + '&testBedId=' + testBedId + '&bulkUpdate=' + bulkUpdate + '&level0Val=' + level0Val + '&orgId=' + orgId + '&fromSeq=' + from_seq + '&toSeq=' + to_seq + '&campaign=' + campaign + '&mapA=' + mapA, { observe: 'response' }); }; ActivateService.prototype.setSiteId = function (value) { this.siteIdVal = value; }; ActivateService.prototype.getSiteId = function () { return this.siteIdVal; }; /* for bar activity component ends here*/ ActivateService.prototype.deleteEmissionCdActivity = function (activityId) { var activityID = activityId.rollActivity.activity.id; var meansLabel = activityId.rollActivity.activity.means.label; return this.http.delete(this.baseString + '/deleteEmissionCdActivity/' + activityID + '/' + meansLabel); }; /* Method Description: This method is used to Set the validated field in the column Tp015_Validated to True which is present in the table TP015_Activity User Story:US403 - As an operator/administrator I want to fix an activity on a BAR bench */ ActivateService.prototype.fixOrReleaseActivity = function (activity) { return this.http.put(this.baseString + '/fixOrReleaseActivity', activity); }; ActivateService.prototype.getTestBed = function () { return this.testBed; }; ActivateService.prototype.setTestBed = function (testBed) { this.testBed = testBed; }; ActivateService.prototype.getBarMixData = function (activityId) { return this.http.get(this.baseString + '/getBarMixActivityData/' + activityId); }; ActivateService.prototype.deleteFailureActivityEmissionCDData = function (activityId) { return this.http.post(this.baseString + '/deleteFailureActivityEmissionCDData/', activityId); }; ActivateService.prototype.getStopWarning = function (stopWarning) { return this.http.post(this.baseString + '/getStopWarning', stopWarning); }; ActivateService.prototype.getNextAvailableDate = function (testBedId) { return this.http.get(this.baseString + '/getNextAvailableDate/' + testBedId); }; ActivateService.prototype.setStopValue = function (value) { this.stopWarning = value; }; ActivateService.prototype.getStopValue = function () { return this.stopWarning; }; ActivateService.prototype.setStopData = function (value) { this.stopData = value; }; ActivateService.prototype.getStopData = function () { return this.stopData; }; ActivateService.prototype.getBuildingsComboList = function () { return this.http.get(this.baseString + '/getBuildingComboList'); }; ActivateService.prototype.getBuildingsList = function () { var orgId = JSON.parse(sessionStorage.getItem('organisationIDs')); return this.http.get(this.baseString + '/getBuildingList/' + orgId); }; ActivateService.prototype.setActivtyDurationGridFlag = function (value) { this.newDurationGrid = value; }; ActivateService.prototype.getActivtyDurationGridFlag = function () { return this.newDurationGrid; }; ActivateService.prototype.getAllFailureActivityList = function () { return this.http.get(this.baseString + '/getAllFailureActivityList'); }; ActivateService.prototype.getAllFailureActivityEntityList = function () { return this.http.get(this.baseString + '/getAllFailureActivityEntityList'); }; ActivateService.prototype.setFailureActivityList = function (result) { this.failureActivityList = result; }; ActivateService.prototype.getFailureActivityList = function () { return this.failureActivityList; }; ActivateService.prototype.setOtValFlag = function (value) { this.otValFlag = value; }; ActivateService.prototype.getOtValFlag = function () { return this.otValFlag; }; ActivateService.prototype.setTestbedValue = function (value) { this.valueOfTesbed = value; }; ActivateService.prototype.getTestbedValue = function () { return this.valueOfTesbed; }; ActivateService.prototype.getHazardViewData = function (stopwarning) { return this.http.post(this.baseString + '/getHazardViewData', stopwarning); }; ActivateService.prototype.getCommonTestbed = function (testbedId) { return this.http.get(this.baseString + '/getTestbedDetail/' + testbedId); }; ActivateService.prototype.convetStdDateFormat = function (input) { return moment__WEBPACK_IMPORTED_MODULE_8__(input).format(_activity_model__WEBPACK_IMPORTED_MODULE_5__["ActivityEnum"].stdDateFromat); }; ActivateService.prototype.convetUtcDateFormat = function (input) { return moment__WEBPACK_IMPORTED_MODULE_8__["utc"](input).format(_activity_model__WEBPACK_IMPORTED_MODULE_5__["ActivityEnum"].stdDateFromat); }; ActivateService.prototype.getFailureActivityDataByTestBedId = function (testBedId, mapName) { return this.http.get(this.baseString + '/getFailureActivityDataByTestBedId/' + testBedId + '/' + mapName); }; ActivateService.prototype.multipleDeleteActivityEmissionCD = function (params) { return this.http.post(this.baseString + '/multipleDeleteActivityEmissionCD/', params); }; ActivateService.prototype.multipleDeleteActivityNonEmissionCD = function (params) { return this.http.post(this.baseString + '/multipleDeleteActivityNonEmissionCD/', params); }; ActivateService.prototype.getTotalRecordsEmitter = function (totalRecords) { return this.receivedTotalRecordsEmitter.emit(totalRecords); }; ActivateService.prototype.setEnginerActivityFormData = function (value) { this.engineActivityDate = value; }; ActivateService.prototype.getEngineActivityFormData = function () { return this.engineActivityDate; }; ActivateService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClient"], _activitycommon_service__WEBPACK_IMPORTED_MODULE_7__["ActivitycommonService"]]) ], ActivateService); return ActivateService; }()); /***/ }), /***/ "./src/app/saisie/activate/activity.model.ts": /*!***************************************************!*\ !*** ./src/app/saisie/activate/activity.model.ts ***! \***************************************************/ /*! exports provided: Activity, ActivityEnum */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Activity", function() { return Activity; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ActivityEnum", function() { return ActivityEnum; }); var Activity = /** @class */ (function () { function Activity() { } return Activity; }()); var ActivityEnum; (function (ActivityEnum) { ActivityEnum["EmissionCD"] = "Emission C/D"; ActivityEnum["TuningED"] = "Tuning E/D"; ActivityEnum["dateFormat"] = "DD/MM/YYYY"; ActivityEnum["datesuffix"] = "T00:00:00"; ActivityEnum["stdDateFromat"] = "YYYY-MM-DD"; ActivityEnum["RefreshGrid"] = "refreshGrid"; ActivityEnum["dash"] = "-"; ActivityEnum["TuningActivity"] = "Tuning E/D"; ActivityEnum["FebNum"] = "febNb"; ActivityEnum["EmissionCDLabel"] = "EmissionCD"; ActivityEnum["TuningEDLabel"] = "TuningED"; ActivityEnum["meanFilter"] = "MeanFilter"; ActivityEnum["siteFilter"] = "SiteFilter"; ActivityEnum["testbedFilter"] = "TestbedFilter"; ActivityEnum["create"] = "Create"; ActivityEnum["multipleDuplicate"] = "MultipleDuplicate"; ActivityEnum["multipleUpdate"] = "MultipleUpdate"; ActivityEnum["submit"] = "submit"; ActivityEnum["crrpp"] = "crrpp"; ActivityEnum["crrppextract"] = "crrppExtract"; ActivityEnum["copyActivity"] = "copy"; ActivityEnum["fix"] = "fix"; ActivityEnum["delete"] = "delete"; ActivityEnum["release"] = "release"; ActivityEnum["astral"] = "astral"; ActivityEnum["ipn"] = "ipn"; ActivityEnum["textField"] = "textField"; ActivityEnum["MONITORING"] = "MONITORING"; ActivityEnum["VSD"] = "VSD"; ActivityEnum["ASTREINTE"] = "ASTREINTE"; ActivityEnum["Brap"] = "BRAP"; ActivityEnum["BrapEngHours"] = "Brap.engHours"; ActivityEnum["BrapEngNum"] = "Brap.engNum"; ActivityEnum["EngineNb"] = "engineNb"; ActivityEnum["SansOt"] = "SANS OT"; ActivityEnum["OtDateFormat"] = "dd/MM/yyyy"; ActivityEnum["astralServiceDateFormat"] = "dd-MM-yy"; ActivityEnum["CL"] = "CL"; ActivityEnum["FT"] = "FT"; ActivityEnum["ELECPUISSANCE"] = "ELEC PUISSANCE"; ActivityEnum["CARACTERISATION"] = "CARACTERISATION"; })(ActivityEnum || (ActivityEnum = {})); /***/ }), /***/ "./src/app/saisie/activate/activitycommon.service.ts": /*!***********************************************************!*\ !*** ./src/app/saisie/activate/activitycommon.service.ts ***! \***********************************************************/ /*! exports provided: ActivitycommonService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ActivitycommonService", function() { return ActivitycommonService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); var ActivitycommonService = /** @class */ (function () { function ActivitycommonService() { } ActivitycommonService.prototype.setModifyRowIndex = function (value) { this.modifyRowIndex = value; }; ActivitycommonService.prototype.getModifyRowIndex = function () { return this.modifyRowIndex; }; ActivitycommonService.prototype.setupdatedSelRow = function (value) { this.updatedSelRow = value; }; ActivitycommonService.prototype.getupdatedSelRow = function () { return this.updatedSelRow; }; ActivitycommonService.prototype.selectLastRowGrid = function (gridOptions) { if (gridOptions && gridOptions.api) { var rowData_1 = []; var model = gridOptions.api.getModel(); model['rowsToDisplay'].forEach(function (row) { return rowData_1.push(row.data); }); if (rowData_1.length !== 0) { this.lastActivityRow = rowData_1[rowData_1.length - 1]; } else { this.lastActivityRow = null; } var rowcount = gridOptions.api.getDisplayedRowCount(); var tempselrow = this.getupdatedSelRow(); console.log('selectedRow>>>', tempselrow); var modifyRowIndex_1 = Number(this.getModifyRowIndex()); if (tempselrow) { var selectedActivtiy_1 = tempselrow.rollActivity ? tempselrow.rollActivity : tempselrow.engineActivity; if (!selectedActivtiy_1) { selectedActivtiy_1 = tempselrow.data; } console.log('selectedActivtiy>>>', selectedActivtiy_1); gridOptions.api.forEachNode(function (node) { if (node.data.activityId === selectedActivtiy_1.activity.id) { node.setSelected(true); gridOptions.api.ensureIndexVisible(node.rowIndex, 'bottom'); return; } }); } else { console.log('in else lastrow'); if (!modifyRowIndex_1 || Number.isNaN(modifyRowIndex_1) || modifyRowIndex_1 === 0) { modifyRowIndex_1 = rowcount - 1; } gridOptions.api.forEachNode(function (node) { if (node.rowIndex === modifyRowIndex_1) { node.setSelected(true); } }); if (modifyRowIndex_1 > 0) { gridOptions.api.ensureIndexVisible(modifyRowIndex_1, 'bottom'); } this.setModifyRowIndex(null); } } }; ActivitycommonService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", []) ], ActivitycommonService); return ActivitycommonService; }()); /***/ }), /***/ "./src/app/saisie/activate/engineActivity.model.ts": /*!*********************************************************!*\ !*** ./src/app/saisie/activate/engineActivity.model.ts ***! \*********************************************************/ /*! exports provided: EngineActivity */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EngineActivity", function() { return EngineActivity; }); var EngineActivity = /** @class */ (function () { function EngineActivity() { } return EngineActivity; }()); /***/ }), /***/ "./src/app/saisie/activate/engineActivityGridWrapper.model.ts": /*!********************************************************************!*\ !*** ./src/app/saisie/activate/engineActivityGridWrapper.model.ts ***! \********************************************************************/ /*! exports provided: EngineActivityGridWrapper */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EngineActivityGridWrapper", function() { return EngineActivityGridWrapper; }); var EngineActivityGridWrapper = /** @class */ (function () { function EngineActivityGridWrapper() { } return EngineActivityGridWrapper; }()); /***/ }), /***/ "./src/app/saisie/activate/engineReliabilityActivity.model.ts": /*!********************************************************************!*\ !*** ./src/app/saisie/activate/engineReliabilityActivity.model.ts ***! \********************************************************************/ /*! exports provided: EngineReliability */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EngineReliability", function() { return EngineReliability; }); var EngineReliability = /** @class */ (function () { function EngineReliability() { } return EngineReliability; }()); /***/ }), /***/ "./src/app/saisie/activate/evEngine.model.ts": /*!***************************************************!*\ !*** ./src/app/saisie/activate/evEngine.model.ts ***! \***************************************************/ /*! exports provided: EvEngine */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EvEngine", function() { return EvEngine; }); var EvEngine = /** @class */ (function () { function EvEngine() { } return EvEngine; }()); /***/ }), /***/ "./src/app/saisie/activate/failureActivity.model.ts": /*!**********************************************************!*\ !*** ./src/app/saisie/activate/failureActivity.model.ts ***! \**********************************************************/ /*! exports provided: FailureActivity */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FailureActivity", function() { return FailureActivity; }); var FailureActivity = /** @class */ (function () { function FailureActivity() { } return FailureActivity; }()); /***/ }), /***/ "./src/app/saisie/activate/otType.model.ts": /*!*************************************************!*\ !*** ./src/app/saisie/activate/otType.model.ts ***! \*************************************************/ /*! exports provided: OtType */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "OtType", function() { return OtType; }); var OtType = /** @class */ (function () { function OtType() { } return OtType; }()); /***/ }), /***/ "./src/app/saisie/activate/tuningEdActivity.model.ts": /*!***********************************************************!*\ !*** ./src/app/saisie/activate/tuningEdActivity.model.ts ***! \***********************************************************/ /*! exports provided: TuningEdActivity */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TuningEdActivity", function() { return TuningEdActivity; }); var TuningEdActivity = /** @class */ (function () { function TuningEdActivity() { } return TuningEdActivity; }()); /***/ }), /***/ "./src/app/saisie/bar-activity/bar-activity-create/bar-create.service.ts": /*!*******************************************************************************!*\ !*** ./src/app/saisie/bar-activity/bar-activity-create/bar-create.service.ts ***! \*******************************************************************************/ /*! exports provided: BarCreateService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BarCreateService", function() { return BarCreateService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm5/index.js"); var BarCreateService = /** @class */ (function () { function BarCreateService() { this.subject = new rxjs__WEBPACK_IMPORTED_MODULE_2__["BehaviorSubject"](''); } BarCreateService.prototype.sendMessage = function (message) { this.subject.next(message); }; BarCreateService.prototype.clearMessages = function () { this.subject.next(''); }; BarCreateService.prototype.getMessage = function () { return this.subject.asObservable(); }; BarCreateService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", []) ], BarCreateService); return BarCreateService; }()); /***/ }), /***/ "./src/app/saisie/bar-activity/bar-activity.service.ts": /*!*************************************************************!*\ !*** ./src/app/saisie/bar-activity/bar-activity.service.ts ***! \*************************************************************/ /*! exports provided: BarActivityService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BarActivityService", function() { return BarActivityService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _rollActivity_model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./rollActivity.model */ "./src/app/saisie/bar-activity/rollActivity.model.ts"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _activate_activity_model__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../activate/activity.model */ "./src/app/saisie/activate/activity.model.ts"); /* harmony import */ var src_app_administration_testbedreferential_testbed_testbed_model__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! src/app/administration/testbedreferential/testbed/testbed-model */ "./src/app/administration/testbedreferential/testbed/testbed-model.ts"); /* harmony import */ var _activate_activate_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../activate/activate.service */ "./src/app/saisie/activate/activate.service.ts"); /* harmony import */ var _activate_activitycommon_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../activate/activitycommon.service */ "./src/app/saisie/activate/activitycommon.service.ts"); /* harmony import */ var _bar_activity_create_bar_create_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./bar-activity-create/bar-create.service */ "./src/app/saisie/bar-activity/bar-activity-create/bar-create.service.ts"); var BarActivityService = /** @class */ (function () { function BarActivityService(httpClient, activityService, activitycommonService, barCreateService) { this.httpClient = httpClient; this.activityService = activityService; this.activitycommonService = activitycommonService; this.barCreateService = barCreateService; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_5__["environment"].apiURL; this.receivedTotalRecordsEmitter = new _angular_core__WEBPACK_IMPORTED_MODULE_1__["EventEmitter"](); } BarActivityService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; BarActivityService.prototype.getGridOptions = function () { return this.gridOptions; }; BarActivityService.prototype.setPageAndPageSize = function (page, size) { this.page = page; this.size = size; }; BarActivityService.prototype.getAllRollActivity = function (roll) { return this.httpClient.post(this.apiURL + '/getRollActivityList', roll).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; BarActivityService.prototype.getAllRollActivityCount = function (roll) { // return this.httpClient.post(this.apiURL + '/getFilteredRollActivityDataCount', roll).pipe(map(res => res)); return this.httpClient.post(this.apiURL + '/getFilteredRollActivityDataCount', roll); }; BarActivityService.prototype.saveBarActivity = function (bar) { return this.httpClient.post(this.apiURL + '/saveBarActivity', bar, { observe: 'response' }); }; BarActivityService.prototype.refreshGrid = function (mapVal) { var _this = this; var roll = new _rollActivity_model__WEBPACK_IMPORTED_MODULE_2__["RollActivity"](); var activity = new _activate_activity_model__WEBPACK_IMPORTED_MODULE_6__["Activity"](); var testbedId = this.activityService.getTestBedFormData()['selectedTestBed']; var testbed = new src_app_administration_testbedreferential_testbed_testbed_model__WEBPACK_IMPORTED_MODULE_7__["Testbed"](); roll.activity = activity; roll.activity.testBedId = testbed; roll.activity.testBedId.id = testbedId; roll.activity.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); roll.organisationId = JSON.parse(sessionStorage.getItem('organisationIDs')); console.log(this.getDisplayDt()); if (mapVal === _activate_activity_model__WEBPACK_IMPORTED_MODULE_6__["ActivityEnum"].EmissionCD) { mapVal = _activate_activity_model__WEBPACK_IMPORTED_MODULE_6__["ActivityEnum"].EmissionCDLabel; } else { mapVal = _activate_activity_model__WEBPACK_IMPORTED_MODULE_6__["ActivityEnum"].TuningEDLabel; } this.activityService.getFailureActivityDataByTestBedId(testbedId, mapVal).subscribe(function (failureActivity_RollAct) { _this.activityService.setFailureActivityList(failureActivity_RollAct); if (_this.getDisplayDt() === undefined) { _this.refreshRollActivity(roll).subscribe(function (result) { console.log('refreshgrdi' + result); if (_this.gridOptions && _this.gridOptions.api) { _this.gridOptions.context = { failureActivityData: failureActivity_RollAct.filter(function (res) { return res.rollActivity != null && res.ot != null; }), otData: failureActivity_RollAct.filter(function (res) { return res.rollActivity != null; }) }; if (_this.gridOptions && _this.gridOptions.api) { _this.gridOptions.api.setRowData(result); } } if (_this.gridApi != null) { _this.barCreateService.sendMessage('columnDefs'); _this.gridApi.sizeColumnsToFit(); } // this.commonServices.setGridAPi(this.gridApi); // this.commonServices.setRollActivityData(result); _this.activitycommonService.selectLastRowGrid(_this.gridOptions); // to select last row }); } else { _this.getFilteredRollActivityDataByOffsetAndLimit(roll).subscribe(function (result) { _this.gridOptions.context = { failureActivityData: failureActivity_RollAct.filter(function (res) { return res.rollActivity != null && res.ot != null; }), otData: failureActivity_RollAct.filter(function (res) { return res.rollActivity != null; }) }; _this.gridOptions.api.setRowData(result); if (_this.gridApi != null) { _this.barCreateService.sendMessage('columnDefs'); _this.gridApi.sizeColumnsToFit(); } //this.getTotalRecordsEmitter(result['totalElements']); // Emit the Total Reocrds _this.activitycommonService.selectLastRowGrid(_this.gridOptions); // }); } }); }; // selectLastRowGrid() { // if (this.gridOptions && this.gridOptions.api) { // const rowcount = this.gridOptions.api.getDisplayedRowCount(); // let modifyRowIndex = parseInt(this.activityService.getModifyRowIndex()); // if (!modifyRowIndex) { // modifyRowIndex = rowcount - 1; // } // this.gridOptions.api.forEachNode(function (node) { // if (node.rowIndex === modifyRowIndex) { // node.setSelected(true); // } // }); // this.gridOptions.api.ensureIndexVisible(modifyRowIndex, 'bottom'); // } // } BarActivityService.prototype.setBarActivityFormData = function (value) { this.newActivityDate = value; }; BarActivityService.prototype.getBarActivityFormData = function () { return this.newActivityDate; }; BarActivityService.prototype.refreshRollActivity = function (roll) { return this.httpClient.post(this.apiURL + '/getRollActivityList', roll).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; BarActivityService.prototype.getAllAstralRollActivity = function (testbedId, updateAstralDate) { return this.httpClient.get(this.apiURL + '/getAndSaveAstralData/' + testbedId + '/' + updateAstralDate).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; BarActivityService.prototype.updateBarActivity = function (bar) { return this.httpClient.put(this.apiURL + '/updateBarActivityData', bar, { observe: 'response' }); }; BarActivityService.prototype.setFormFlag = function (value) { this.formFlag = value; }; BarActivityService.prototype.getFormFlag = function () { return this.formFlag; }; BarActivityService.prototype.getAllBarCopActivity = function (testbedId, updateAstralDate) { return this.httpClient.get(this.apiURL + '/getAndSaveAstralUData/' + testbedId + '/' + updateAstralDate); }; BarActivityService.prototype.getAllBarMixActivity = function (testbedId, updateAstralDate) { return this.httpClient.get(this.apiURL + '/getAndSaveAstralBarMixData/' + testbedId + '/' + updateAstralDate); }; BarActivityService.prototype.saveRowOrder = function (rowOrder) { return this.httpClient.put(this.apiURL + '/saveRowOrderBar', rowOrder, { observe: 'response' }); }; BarActivityService.prototype.saveBarCopActivity = function (barCop) { console.log('barCop', barCop); return this.httpClient.post(this.apiURL + '/saveBarCopActivity', barCop, { observe: 'response' }); }; BarActivityService.prototype.setBarCopPresData = function (value) { this.copPresVal = value; }; BarActivityService.prototype.getBarCopPresData = function () { return this.copPresVal; }; /* Changed for Update Test Barcop This section of code was changed for the User story US271 - As an operator/administrator I want to update a testbed activity (test) linked to emissions chassis/dyno ‘BARCOP’ */ BarActivityService.prototype.updateBarCopActivity = function (barCopActivity) { return this.httpClient.put(this.apiURL + '/updateBarCopActivity', barCopActivity, { observe: 'response' }); }; BarActivityService.prototype.setBarFormDirty = function (barFormChangeCheck) { this.barFormChangeCheck = barFormChangeCheck; }; BarActivityService.prototype.getBarFormDirty = function () { return this.barFormChangeCheck; }; BarActivityService.prototype.saveBarMixActivity = function (barMixActivity) { return this.httpClient.post(this.apiURL + '/saveBarMixActivity', barMixActivity, { observe: 'response' }); }; BarActivityService.prototype.updateBarMixActivity = function (barMixActivity) { return this.httpClient.post(this.apiURL + '/updateBarMixActivity', barMixActivity, { observe: 'response' }); }; BarActivityService.prototype.setDisplayDt = function (displayDt) { this.displayDt = displayDt; }; BarActivityService.prototype.getDisplayDt = function () { return this.displayDt; }; BarActivityService.prototype.getFilteredRollActivityData = function (rollActivity) { var rolesAssigned = sessionStorage.getItem('role'); var roleAction = sessionStorage.getItem('roleAction'); var roleActionValue = roleAction === '"W"' ? true : false; if (roleActionValue && rolesAssigned.toLowerCase().includes('tpm2-admin')) { return this.httpClient.post(this.apiURL + '/getFilteredRollActivityDataForAdmin/', rollActivity); } else { return this.httpClient.post(this.apiURL + '/getFilteredRollActivityData/', rollActivity); } }; BarActivityService.prototype.getFilteredRollActivityDataCount = function (engineActivity) { return this.httpClient.post(this.apiURL + '/getFilteredActivityDataCount', engineActivity); }; BarActivityService.prototype.getFilteredRollActivityDataByOffsetAndLimit = function (roll) { // this.page = this.page === undefined ? 0 : this.page; // this.size = this.size === undefined ? 10 : this.size; var rolesAssigned = sessionStorage.getItem('role'); var roleAction = sessionStorage.getItem('roleAction'); var roleActionValue = roleAction === '"W"' ? true : false; if (roleActionValue && rolesAssigned.toLowerCase().includes('tpm2-admin')) { return this.httpClient.post(this.apiURL + '/getFilteredRollActivityDataForAdmin/', roll).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); } else { return this.httpClient.post(this.apiURL + '/getFilteredRollActivityData/', roll).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); } }; BarActivityService.prototype.getAllRollActivityByOffsetAndLimit = function (roll) { return this.httpClient.post(this.apiURL + '/getRollActivityList', roll).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; BarActivityService.prototype.getTotalRecordsEmitter = function (totalRecords) { return this.receivedTotalRecordsEmitter.emit(totalRecords); }; BarActivityService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClient"], _activate_activate_service__WEBPACK_IMPORTED_MODULE_8__["ActivateService"], _activate_activitycommon_service__WEBPACK_IMPORTED_MODULE_9__["ActivitycommonService"], _bar_activity_create_bar_create_service__WEBPACK_IMPORTED_MODULE_10__["BarCreateService"]]) ], BarActivityService); return BarActivityService; }()); /***/ }), /***/ "./src/app/saisie/bar-activity/rollActivity.model.ts": /*!***********************************************************!*\ !*** ./src/app/saisie/bar-activity/rollActivity.model.ts ***! \***********************************************************/ /*! exports provided: RollActivity, RollActivityEnum */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RollActivity", function() { return RollActivity; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RollActivityEnum", function() { return RollActivityEnum; }); var RollActivity = /** @class */ (function () { function RollActivity() { } return RollActivity; }()); var RollActivityEnum; (function (RollActivityEnum) { RollActivityEnum["vetsOneProjectCode"] = "vetsOneProjectCode"; RollActivityEnum[RollActivityEnum["testNumberlimit"] = 10000] = "testNumberlimit"; })(RollActivityEnum || (RollActivityEnum = {})); /***/ }), /***/ "./src/app/saisie/crrpp/crrpp.service.ts": /*!***********************************************!*\ !*** ./src/app/saisie/crrpp/crrpp.service.ts ***! \***********************************************/ /*! exports provided: CrrppService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CrrppService", function() { return CrrppService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/fesm5/common.js"); /* harmony import */ var src_app_common_common_services__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! src/app/common/common.services */ "./src/app/common/common.services.ts"); /* harmony import */ var _model_crrppStaticValues__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./model/crrppStaticValues */ "./src/app/saisie/crrpp/model/crrppStaticValues.ts"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); ; var CrrppService = /** @class */ (function () { function CrrppService(http, datePipe, commonServices) { this.http = http; this.datePipe = datePipe; this.commonServices = commonServices; this.dashboardData = []; this.baseString = src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].apiURL; } CrrppService.prototype.getCrrppInitData = function (crrppInitRequest) { return this.http.post(this.baseString + '/getCrrppInitData', crrppInitRequest); }; CrrppService.prototype.getCrrpParticipant = function () { return this.crrpParticipant; }; CrrppService.prototype.setCrrpParticipant = function (crrpParticipant) { this.crrpParticipant = crrpParticipant; }; CrrppService.prototype.saveCrrppData = function (crrppInitWrapperData) { return this.http.post(this.baseString + '/saveCrrppInitData', crrppInitWrapperData); }; CrrppService.prototype.getInitTabGridDirty = function () { return this.initTabGridDirty; }; CrrppService.prototype.setInitTabGridDirty = function (initTabGridDirty) { this.initTabGridDirty = initTabGridDirty; }; CrrppService.prototype.setPrimaryWeek = function (week) { this.week = week; }; CrrppService.prototype.getPrimaryWeek = function () { return this.week; }; CrrppService.prototype.setCrrppInitData = function (crrppInit) { this.crrppInit = crrppInit; }; CrrppService.prototype.gettterCrrppInitData = function () { return this.crrppInit; }; CrrppService.prototype.getTestMeanData = function (testMean) { return this.http.post(this.baseString + '/getTestMean', testMean); }; CrrppService.prototype.updateTestMean = function (testMean) { return this.http.post(this.baseString + '/updateTestMean', testMean, { observe: 'response' }); }; CrrppService.prototype.saveRpp = function (rpp) { return this.http.post(this.baseString + '/saveRpp', rpp, { observe: 'response' }); }; CrrppService.prototype.getRppData = function (rpp) { return this.http.post(this.baseString + '/getRppData', rpp); }; CrrppService.prototype.getEngineNumber = function (analyseCampaignWrapper) { return this.http.post(this.baseString + '/getEngineNumber', analyseCampaignWrapper); }; CrrppService.prototype.setDashboardData = function (febNum, qcNum, startingWeek, startDate, endDate) { this.dashboardData[0] = febNum; this.dashboardData[1] = qcNum; this.dashboardData[2] = _model_crrppStaticValues__WEBPACK_IMPORTED_MODULE_6__["CrrppStaticValues"].week + startingWeek; this.dashboardData[3] = startDate; this.dashboardData[4] = endDate; }; CrrppService.prototype.saveRppPlannedAbsences = function (rppPlannedAbsences) { return this.http.post(this.baseString + '/saveRppPlannedAbsences', rppPlannedAbsences, { observe: 'response' }); }; CrrppService.prototype.getRppPlannedAbsences = function (rppPlannedAbsences) { return this.http.post(this.baseString + '/getRppPlannedAbsences', rppPlannedAbsences).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_7__["map"])(function (res) { return res; })); }; CrrppService.prototype.getRppPlannedAbsencesById = function (rppPlannedAbsences) { return this.http.post(this.baseString + '/getRppPlannedAbsencesById', rppPlannedAbsences).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_7__["map"])(function (res) { return res; })); }; CrrppService.prototype.updateRppPlannedAbsences = function (directory) { return this.http.post(this.baseString + '/updateRppPlannedAbsences', directory, { observe: 'response' }); }; CrrppService.prototype.deleteRppPlannedAbsences = function (rppPlannedAbsences) { return this.http.post(this.baseString + '/deleteRppPlannedAbsences', rppPlannedAbsences, { observe: 'response' }); }; CrrppService.prototype.updateNextRppPlannedAbsences = function (rppPlannedAbsences) { return this.http.post(this.baseString + '/updateNextRppPlannedAbsences', rppPlannedAbsences, { observe: 'response' }); }; CrrppService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["DatePipe"], src_app_common_common_services__WEBPACK_IMPORTED_MODULE_5__["CommonServices"]]) ], CrrppService); return CrrppService; }()); /***/ }), /***/ "./src/app/saisie/crrpp/model/crrppStaticValues.ts": /*!*********************************************************!*\ !*** ./src/app/saisie/crrpp/model/crrppStaticValues.ts ***! \*********************************************************/ /*! exports provided: CrrppStaticValues */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CrrppStaticValues", function() { return CrrppStaticValues; }); var CrrppStaticValues; (function (CrrppStaticValues) { CrrppStaticValues["English"] = "en"; CrrppStaticValues["French"] = "fr"; CrrppStaticValues["LogOutUrl"] = "/logout"; CrrppStaticValues["CrrpUrl"] = "/Input/Activate"; CrrppStaticValues["AgGridRowMultiple"] = "multiple"; CrrppStaticValues["AgGridRowSingle"] = "single"; CrrppStaticValues["RoleAction"] = "roleAction"; CrrppStaticValues["CrrppId"] = "crrpId"; CrrppStaticValues["True"] = "true"; CrrppStaticValues["UID"] = "uid"; CrrppStaticValues["User"] = "User"; CrrppStaticValues["OrgId"] = "organisationIDs"; CrrppStaticValues["FirstName"] = "fname"; CrrppStaticValues["LastName"] = "lname"; CrrppStaticValues["DateFormat"] = "dd/MM/yyyy"; CrrppStaticValues["WeekFormat"] = "ww"; CrrppStaticValues["Locale"] = "fr-FR"; CrrppStaticValues["difference"] = "differenceValue"; CrrppStaticValues["selectMileStone"] = "Select Milestone"; CrrppStaticValues["openBracket"] = " ("; CrrppStaticValues["closeBracket"] = ") "; CrrppStaticValues["sommeTbf"] = "SOMME TBF"; CrrppStaticValues["tbfCible"] = "TBF CIBLE"; CrrppStaticValues["sommeTbfColor"] = "#4bc0c0"; CrrppStaticValues["tbfCibleColor"] = "#565656"; CrrppStaticValues["dataSets"] = "datasets"; CrrppStaticValues["volumeTBF"] = "VOLUME DE TBF"; CrrppStaticValues["semaines"] = "SEMAINES"; CrrppStaticValues[CrrppStaticValues["biWeeklyAddition"] = 420] = "biWeeklyAddition"; CrrppStaticValues[CrrppStaticValues["weekCalculation"] = 7] = "weekCalculation"; CrrppStaticValues["previous"] = "previous"; CrrppStaticValues["next"] = "next"; CrrppStaticValues["TBFFollowUp"] = "TBFFollowUp"; CrrppStaticValues["testMean"] = "planification"; CrrppStaticValues["Prerequisites"] = "Prerequisites"; CrrppStaticValues["AnalyseCampaign"] = "AnalyseCampaign"; CrrppStaticValues["SuiviMoteur"] = "SuiviMoteur"; CrrppStaticValues["Voies"] = "Voies"; CrrppStaticValues["hours"] = "Hours "; CrrppStaticValues["mousemove"] = "mousemove"; CrrppStaticValues["mouseout"] = "mouseout"; CrrppStaticValues["touchstart"] = "touchstart"; CrrppStaticValues["touchmove"] = "touchmove"; CrrppStaticValues["label"] = "label"; CrrppStaticValues["tbfVolume"] = "CRRP.TBFVolume"; CrrppStaticValues["crrpWeeks"] = "CRRP.Weeks"; CrrppStaticValues["CRRPtbfSomme"] = "CRRP.TBFSomme"; CrrppStaticValues["CRRPtbfCible"] = "CRRP.TbfCible"; CrrppStaticValues["refreshMessage"] = "refresh"; CrrppStaticValues["user"] = "User"; CrrppStaticValues["id"] = "uid"; CrrppStaticValues["AnalyseFerme"] = "AnalyseFerme"; CrrppStaticValues["week"] = "Week:"; CrrppStaticValues["toWeek"] = " to Week: "; CrrppStaticValues["fname"] = "fname"; CrrppStaticValues["lname"] = "lname"; CrrppStaticValues["role"] = "role"; CrrppStaticValues["active"] = "active"; CrrppStaticValues["crrpp"] = "CRRPP"; CrrppStaticValues["xlsx"] = ".xlsx"; CrrppStaticValues["fermeCause"] = "CRRP.AnalyseFerme.fermeCause"; CrrppStaticValues["clientCause"] = "CRRP.AnalyseFerme.clientCause"; CrrppStaticValues["duration"] = "CRRP.AnalyseFerme.total_duration"; CrrppStaticValues["Excel"] = "Excel"; CrrppStaticValues["PDF"] = "PDF"; CrrppStaticValues["Mail"] = "Mail"; CrrppStaticValues["hoursTranslation"] = "CRRP.AnalyseFerme.hours"; CrrppStaticValues["boolean"] = "boolean"; CrrppStaticValues["pdf"] = ".pdf"; })(CrrppStaticValues || (CrrppStaticValues = {})); /***/ }), /***/ "./src/app/saisie/crrpp/model/mqm-channels.model.ts": /*!**********************************************************!*\ !*** ./src/app/saisie/crrpp/model/mqm-channels.model.ts ***! \**********************************************************/ /*! exports provided: MqmChannels, constants, errorMessages */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MqmChannels", function() { return MqmChannels; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "constants", function() { return constants; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "errorMessages", function() { return errorMessages; }); var MqmChannels = /** @class */ (function () { function MqmChannels() { } return MqmChannels; }()); var constants; (function (constants) { constants["uid"] = "uid"; constants["user"] = "User"; constants["successMsg"] = "Common_Buttons.Success"; constants["dateFormat"] = "DD/MM/YYYY"; constants["updateBtn"] = "Common_Buttons.Update"; constants["createBtn"] = "Common_Buttons.Add_Record"; constants["mqmChannels"] = "CRRP.MQM Channels.MQM Channels"; constants["expirationDate"] = "CRRP.MQM Channels.Expiration date"; constants["expirationDateValue"] = "expirationDate"; constants["true"] = "true"; constants["dateAqm"] = "CRRP.MQM Channels.Mqm_checkbox"; constants["false"] = "false"; })(constants || (constants = {})); var errorMessages; (function (errorMessages) { errorMessages["mqmChannelExist"] = "CRRP.MQM Channels.Already_Exist"; errorMessages["fail"] = "F"; errorMessages["success"] = "S"; })(errorMessages || (errorMessages = {})); /***/ }), /***/ "./src/app/saisie/crrpp/model/tbfConsumption.model.ts": /*!************************************************************!*\ !*** ./src/app/saisie/crrpp/model/tbfConsumption.model.ts ***! \************************************************************/ /*! exports provided: TbfConsumption */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TbfConsumption", function() { return TbfConsumption; }); var TbfConsumption = /** @class */ (function () { function TbfConsumption() { } return TbfConsumption; }()); /***/ }), /***/ "./src/app/saisie/crrpp/mqm-channels/mqmChannels.service.ts": /*!******************************************************************!*\ !*** ./src/app/saisie/crrpp/mqm-channels/mqmChannels.service.ts ***! \******************************************************************/ /*! exports provided: MqmChannelService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MqmChannelService", function() { return MqmChannelService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _model_mqm_channels_model__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../model/mqm-channels.model */ "./src/app/saisie/crrpp/model/mqm-channels.model.ts"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); var MqmChannelService = /** @class */ (function () { function MqmChannelService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_1__["environment"].apiURL; this.buttonName = _model_mqm_channels_model__WEBPACK_IMPORTED_MODULE_4__["constants"].createBtn; } MqmChannelService.prototype.getGridOptions = function () { return this.gridOptions; }; MqmChannelService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; MqmChannelService.prototype.setMqmChannels = function (gridServices) { this.mqmChannels = gridServices; if (this.mqmChannels != null) { this.initUpdate(); } else { this.initCreate(); } }; MqmChannelService.prototype.getUpdateMqmChannels = function () { return this.mqmChannels; }; MqmChannelService.prototype.initUpdate = function () { this.buttonName = _model_mqm_channels_model__WEBPACK_IMPORTED_MODULE_4__["constants"].updateBtn; }; MqmChannelService.prototype.initCreate = function () { this.buttonName = _model_mqm_channels_model__WEBPACK_IMPORTED_MODULE_4__["constants"].createBtn; }; MqmChannelService.prototype.getAllMqmChannels = function (mqmChannels) { return this.httpClient.post(this.apiURL + '/getMqmChannelsList', mqmChannels).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["map"])(function (res) { return res; })); }; MqmChannelService.prototype.refreshGrid = function (mqmChannels) { var _this = this; this.getAllMqmChannels(mqmChannels).subscribe(function (result) { _this.gridOptions.api.setRowData(result); }); }; MqmChannelService.prototype.createMqmChannelList = function (mqmChannels) { return this.httpClient.post(this.apiURL + '/createMqmChannelList', mqmChannels, { observe: 'response' }); }; MqmChannelService.prototype.deleteMqmChannel = function (mqmChannels) { return this.httpClient.post(this.apiURL + '/deleteMqmChannel', mqmChannels, { observe: 'response' }); }; MqmChannelService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_3__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]]) ], MqmChannelService); return MqmChannelService; }()); /***/ }), /***/ "./src/app/saisie/crrpp/suivi-moteur/suivi-moteur.service.ts": /*!*******************************************************************!*\ !*** ./src/app/saisie/crrpp/suivi-moteur/suivi-moteur.service.ts ***! \*******************************************************************/ /*! exports provided: SuiviMoteurService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SuiviMoteurService", function() { return SuiviMoteurService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm5/index.js"); var SuiviMoteurService = /** @class */ (function () { function SuiviMoteurService(http) { this.http = http; this.messageSource = new rxjs__WEBPACK_IMPORTED_MODULE_5__["BehaviorSubject"](''); this.currentMessage = this.messageSource.asObservable(); this.baseString = src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].apiURL; } SuiviMoteurService.prototype.getAllPrestationAdmin = function (prestationAdmin) { return this.http.post(this.baseString + '/getPrestationAdminList', prestationAdmin).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; SuiviMoteurService.prototype.getAllSuiviData = function (suiviData) { return this.http.post(this.baseString + '/getAllSuiviData', suiviData); }; SuiviMoteurService.prototype.saveSuiviData = function (weekData) { return this.http.post(this.baseString + '/saveSuiviData', weekData); }; SuiviMoteurService.prototype.getAllWeekData = function (fetchWeekDate) { return this.http.post(this.baseString + '/getAllWeekData', fetchWeekDate); }; SuiviMoteurService.prototype.saveSuiviInfo = function (info) { return this.http.post(this.baseString + '/saveSuiviInfo', info, { observe: 'response' }); }; SuiviMoteurService.prototype.getAllWeek1Data = function (fetchWeekDate) { return this.http.post(this.baseString + '/getAllWeek1Data', fetchWeekDate); }; SuiviMoteurService.prototype.saveWeek1Data = function (suiviWeek1Data) { return this.http.post(this.baseString + '/saveWeek1Data', suiviWeek1Data); }; SuiviMoteurService.prototype.setSuiviWeek1Data = function (suiviWeek1Data) { this.suiviWeek1Data = suiviWeek1Data; }; SuiviMoteurService.prototype.getSuiviWeek1Data = function () { return this.suiviWeek1Data; }; SuiviMoteurService.prototype.getInitTabGridDirty = function () { return this.initTabGridDirty; }; SuiviMoteurService.prototype.setInitTabGridDirty = function (initTabGridDirty) { this.initTabGridDirty = initTabGridDirty; }; SuiviMoteurService.prototype.changeMessage = function (message) { this.messageSource.next(message); }; SuiviMoteurService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]]) ], SuiviMoteurService); return SuiviMoteurService; }()); /***/ }), /***/ "./src/app/saisie/crrpp/tbf-calculation/tbf.service.ts": /*!*************************************************************!*\ !*** ./src/app/saisie/crrpp/tbf-calculation/tbf.service.ts ***! \*************************************************************/ /*! exports provided: TbfService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TbfService", function() { return TbfService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); var TbfService = /** @class */ (function () { function TbfService(http) { this.http = http; this.baseString = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiURL; this.saveConsumtionData = new Array(); } TbfService.prototype.saveTbfCalculation = function (tbfDataWrapper) { return this.http.post(this.baseString + '/saveTbfCalculationData', tbfDataWrapper); }; TbfService.prototype.getTbfCalculation = function (tbfCalculation) { return this.http.post(this.baseString + '/getTbfCalculationData', tbfCalculation); }; TbfService.prototype.getMileStoneList = function (mileStone) { return this.http.post(this.baseString + '/getActiveMilestoneList', mileStone).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; TbfService.prototype.getTbfDurationData = function (tbfDataWrapper) { return this.http.post(this.baseString + '/getTbfConsumptionData', tbfDataWrapper); }; TbfService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClient"]]) ], TbfService); return TbfService; }()); /***/ }), /***/ "./src/app/saisie/crrpp/tbf-consumption/tbf-consumption-data-transfer.service.ts": /*!***************************************************************************************!*\ !*** ./src/app/saisie/crrpp/tbf-consumption/tbf-consumption-data-transfer.service.ts ***! \***************************************************************************************/ /*! exports provided: TbfConsumptionDataTransferService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TbfConsumptionDataTransferService", function() { return TbfConsumptionDataTransferService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm5/index.js"); var TbfConsumptionDataTransferService = /** @class */ (function () { function TbfConsumptionDataTransferService() { this.messageSource = new rxjs__WEBPACK_IMPORTED_MODULE_2__["BehaviorSubject"](''); this.currentMessage = this.messageSource.asObservable(); } TbfConsumptionDataTransferService.prototype.changeMessage = function (message) { this.messageSource.next(message); }; TbfConsumptionDataTransferService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", []) ], TbfConsumptionDataTransferService); return TbfConsumptionDataTransferService; }()); /***/ }), /***/ "./src/app/saisie/distribution-list/distribution-list.service.ts": /*!***********************************************************************!*\ !*** ./src/app/saisie/distribution-list/distribution-list.service.ts ***! \***********************************************************************/ /*! exports provided: DistributionListService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DistributionListService", function() { return DistributionListService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); /* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); var DistributionListService = /** @class */ (function () { function DistributionListService(httpClient) { this.httpClient = httpClient; this.apiURL = _environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].apiURL; this.distributionListFlag = false; } DistributionListService.prototype.getDistributionList = function (distributionList) { return this.httpClient.post(this.apiURL + '/getDirectoryTestBedList', distributionList).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (res) { return res; })); }; DistributionListService.prototype.saveDistributionList = function (distributionList, testbed) { return this.httpClient.post(this.apiURL + '/saveDirectoryTestbedList', distributionList, { observe: 'response' }); }; DistributionListService.prototype.getKeyValue = function (obj, value) { var resultStr; resultStr = value.split(' - '); for (var loop = 0; loop < obj.length; loop++) { if ((obj[loop].directoryIpn).toUpperCase().trim() === resultStr[0].toUpperCase().trim()) { return obj[loop]; } } }; DistributionListService.prototype.getTestBedObj = function (obj, key) { for (var i = 0; i < obj.length; i++) { // tslint:disable-next-line: triple-equals if (obj[i].id == key) { return obj[i]; } } }; DistributionListService.prototype.deleteAll = function (testbed) { return this.httpClient.delete(this.apiURL + '/deleteDirectoryTestbedList/' + testbed); }; DistributionListService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_4__["HttpClient"]]) ], DistributionListService); return DistributionListService; }()); /***/ }), /***/ "./src/app/saisie/ot-status/ot-status.service.ts": /*!*******************************************************!*\ !*** ./src/app/saisie/ot-status/ot-status.service.ts ***! \*******************************************************/ /*! exports provided: OtStatusService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "OtStatusService", function() { return OtStatusService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); var OtStatusService = /** @class */ (function () { function OtStatusService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiURL; } OtStatusService.prototype.getOtStatusList = function () { return this.httpClient.get(this.apiURL + '/getOtStatusList').pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_4__["map"])(function (res) { return res; })); }; OtStatusService.prototype.setOtGridValue = function (value) { this.otGridValue = value; }; OtStatusService.prototype.getOtGridValue = function () { return this.otGridValue; }; OtStatusService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClient"]]) ], OtStatusService); return OtStatusService; }()); /***/ }), /***/ "./src/app/saisie/vehicle-activities/vehicle-activities.model.ts": /*!***********************************************************************!*\ !*** ./src/app/saisie/vehicle-activities/vehicle-activities.model.ts ***! \***********************************************************************/ /*! exports provided: VehicleActivities, vehicleActivityEnum, exportLang */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VehicleActivities", function() { return VehicleActivities; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "vehicleActivityEnum", function() { return vehicleActivityEnum; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "exportLang", function() { return exportLang; }); var VehicleActivities = /** @class */ (function () { function VehicleActivities() { } return VehicleActivities; }()); var vehicleActivityEnum; (function (vehicleActivityEnum) { vehicleActivityEnum["site"] = "Site"; vehicleActivityEnum["mean"] = "Mean"; vehicleActivityEnum["testbed"] = "TestBed"; vehicleActivityEnum["TestBed"] = "testbed"; vehicleActivityEnum["selectedTestBed"] = "selectedTestBed"; vehicleActivityEnum["selectedSite"] = "selectedSite"; vehicleActivityEnum["selectedMean"] = "selectedMean"; vehicleActivityEnum["teamlead"] = "tpm2-team leader"; vehicleActivityEnum["tpmadmin"] = "tpm2-admin"; vehicleActivityEnum["role"] = "role"; vehicleActivityEnum["stdDateFromat"] = "YYYY-MM-DD"; vehicleActivityEnum["DateFormat"] = "dd/MM/yyyy"; vehicleActivityEnum["view"] = "view"; vehicleActivityEnum["create"] = "create"; vehicleActivityEnum["modify"] = "modify"; vehicleActivityEnum["duplicate"] = "duplicate"; vehicleActivityEnum["save"] = "save"; vehicleActivityEnum["emptyStringVal"] = ""; vehicleActivityEnum[vehicleActivityEnum["vehicleReliability"] = 5] = "vehicleReliability"; vehicleActivityEnum[vehicleActivityEnum["thermalSys"] = 6] = "thermalSys"; vehicleActivityEnum[vehicleActivityEnum["passiveSafety"] = 7] = "passiveSafety"; vehicleActivityEnum[vehicleActivityEnum["accelFuelECO"] = 8] = "accelFuelECO"; vehicleActivityEnum["uid"] = "uid"; vehicleActivityEnum["User"] = "User"; vehicleActivityEnum["vehicleReliabilityLbl"] = "VehicleReliability"; vehicleActivityEnum["extract"] = "extract"; vehicleActivityEnum["closure"] = "closure"; vehicleActivityEnum["autoFill"] = "autoFill"; vehicleActivityEnum["alertEmail"] = "alertEmail"; vehicleActivityEnum["instructions"] = "instructions"; vehicleActivityEnum["dailyMail"] = "dailyMail"; vehicleActivityEnum["distributionList"] = "distributionList"; vehicleActivityEnum["yes"] = "Yes"; vehicleActivityEnum["Essai_Banc"] = "Essai Banc"; vehicleActivityEnum["Xlsx"] = "xlsx"; vehicleActivityEnum["Close"] = "Close"; vehicleActivityEnum["formRefresh"] = "RefreshForm"; vehicleActivityEnum["aggridRefresh"] = "AgGridForm"; vehicleActivityEnum["meanFilter"] = "MeanFilter"; vehicleActivityEnum["siteFilter"] = "SiteFilter"; vehicleActivityEnum["testbedFilter"] = "TestbedFilter"; vehicleActivityEnum["Create"] = "Create"; vehicleActivityEnum["multipleDuplicate"] = "MultipleDuplicate"; vehicleActivityEnum["multipleUpdate"] = "MultipleUpdate"; vehicleActivityEnum["enableDetailScreen"] = "enableDetailScreen"; vehicleActivityEnum["onRowSel"] = "onRowSel"; vehicleActivityEnum["screenCall"] = "screenCall"; vehicleActivityEnum["successMsg"] = "Common_Buttons.Success"; vehicleActivityEnum["fail"] = "F"; vehicleActivityEnum["success"] = "S"; vehicleActivityEnum["failureMsg"] = "Common_Buttons.Fail"; vehicleActivityEnum["simpleDateFormat"] = "DD/MM/YYYY"; vehicleActivityEnum["organisationIDs"] = "organisationIDs"; vehicleActivityEnum["red"] = "dot_red"; vehicleActivityEnum["green"] = "dot_green"; vehicleActivityEnum["SansOt"] = "SANS OT"; })(vehicleActivityEnum || (vehicleActivityEnum = {})); var exportLang; (function (exportLang) { exportLang["english"] = "en"; exportLang["vehicleActivity_En"] = "VehicleActivity"; exportLang["vehicleActivity_Fr"] = "Activit\u00E9s du v\u00E9hicule"; exportLang["Sequence_Number_En"] = "Sequence Number"; exportLang["Sequence_Number_Fr"] = "N\u00B0 de s\u00E9quence"; })(exportLang || (exportLang = {})); /***/ }), /***/ "./src/app/saisie/vehicle-activities/vh-act.service.ts": /*!*************************************************************!*\ !*** ./src/app/saisie/vehicle-activities/vh-act.service.ts ***! \*************************************************************/ /*! exports provided: VhActService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VhActService", function() { return VhActService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _vehicle_activities_model__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./vehicle-activities.model */ "./src/app/saisie/vehicle-activities/vehicle-activities.model.ts"); /* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! moment */ "./node_modules/moment/moment.js"); /* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_5__); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm5/index.js"); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/fesm5/common.js"); var VhActService = /** @class */ (function () { function VhActService(http, datePipe) { this.http = http; this.datePipe = datePipe; this.messageSource = new rxjs__WEBPACK_IMPORTED_MODULE_6__["BehaviorSubject"](''); this.currentMessage = this.messageSource.asObservable(); this.onRowSelectCount = 0; this.baseString = src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].apiURL; } VhActService.prototype.getSumOfVehicleActivityHourByDate = function (id, activityDate) { return this.http.get(this.baseString + '/getSumOfVehicleActivityHourByDate?id=' + id + '&activityDate=' + this.convetStdDateFormat(activityDate)); }; VhActService.prototype.getTestbedById = function (testbedId) { return this.http.get(this.baseString + '/getTestbedDetail/' + testbedId); }; VhActService.prototype.saveVehicleActivity = function (vehicleActivities) { return this.http.post(this.baseString + '/saveVehicleActivity', vehicleActivities, { observe: 'response' }); }; VhActService.prototype.setPageAndPageSize = function (page, pageSize) { this.page = page; this.pageSize = pageSize; }; VhActService.prototype.getVehicleActivityListByTestBedId = function (vehicleActivities) { // this.page = this.page === undefined ? 0 : this.page; // this.pageSize = this.pageSize === undefined ? 10 : this.pageSize; return this.http.post(this.baseString + '/getVehicleActivityListByTestBedId/', vehicleActivities); }; VhActService.prototype.convetStdDateFormat = function (input) { return moment__WEBPACK_IMPORTED_MODULE_5__(input).format(_vehicle_activities_model__WEBPACK_IMPORTED_MODULE_4__["vehicleActivityEnum"].stdDateFromat); }; VhActService.prototype.convetUtcDateFormat = function (input) { return moment__WEBPACK_IMPORTED_MODULE_5__["utc"](input).format(_vehicle_activities_model__WEBPACK_IMPORTED_MODULE_4__["vehicleActivityEnum"].stdDateFromat); }; VhActService.prototype.convetPipeDateFormat = function (input) { return this.datePipe.transform(input, _vehicle_activities_model__WEBPACK_IMPORTED_MODULE_4__["vehicleActivityEnum"].DateFormat); }; VhActService.prototype.getNextAvailableDate = function (testBedId) { return this.http.get(this.baseString + '/getNextAvailableDate/' + testBedId); }; VhActService.prototype.setupdatedSelRow = function (value) { this.updatedSelRow = value; }; VhActService.prototype.getupdatedSelRow = function () { return this.updatedSelRow; }; VhActService.prototype.selectLastRowGrid = function (gridOptions) { if (gridOptions && gridOptions.api) { var rowcount = gridOptions.api.getDisplayedRowCount(); var tempselrow = this.getupdatedSelRow(); ; console.log('selectedRow>>>', tempselrow); var modifyRowIndex_1 = Number(this.modifyRowIndex); if (tempselrow) { var selectedActivtiy_1 = tempselrow.vehicleActivity ? tempselrow.vehicleActivity : tempselrow; if (!selectedActivtiy_1) { selectedActivtiy_1 = tempselrow.data; } console.log('selectedActivtiy>>>', selectedActivtiy_1); gridOptions.api.forEachNode(function (node) { if (node.data.activity.id === selectedActivtiy_1.activity.id) { node.setSelected(true); gridOptions.api.ensureIndexVisible(node.rowIndex, 'bottom'); return; } }); } else { console.log('in else lastrow'); if (!modifyRowIndex_1 || Number.isNaN(modifyRowIndex_1) || modifyRowIndex_1 === 0) { modifyRowIndex_1 = rowcount - 1; } gridOptions.api.forEachNode(function (node) { if (node.rowIndex === modifyRowIndex_1) { node.setSelected(true); } }); if (modifyRowIndex_1 > 0) { gridOptions.api.ensureIndexVisible(modifyRowIndex_1, 'bottom'); } this.setModifyRowIndex(null); } } }; VhActService.prototype.setModifyRowIndex = function (value) { this.modifyRowIndex = value; }; VhActService.prototype.saveFailureActvity = function (failureActivity) { return this.http.post(this.baseString + '/saveFailureActivity', failureActivity, { observe: 'response' }); }; VhActService.prototype.updateFailureActvity = function (failureActivity) { return this.http.put(this.baseString + '/updateFailureActivity', failureActivity, { observe: 'response' }); }; VhActService.prototype.deleteFaliureSave = function (failureActivity) { return this.http.post(this.baseString + '/deleteFaliureSave', failureActivity, { observe: 'response' }); }; VhActService.prototype.getFailureActivityDataByTestBedId = function (testBedId, mapName) { return this.http.get(this.baseString + '/getFailureActivityDataByTestBedId/' + testBedId + '/' + mapName); }; VhActService.prototype.getVHFailureActivityData = function (activityId) { return this.http.get(this.baseString + '/getVHFailureActivityData/' + activityId); }; VhActService.prototype.getTestBed = function () { return this.testBed; }; VhActService.prototype.setTestBed = function (testBed) { this.testBed = testBed; }; VhActService.prototype.setDateLang = function (dateLang) { this.dateLang = dateLang; }; VhActService.prototype.getLang = function () { return this.dateLang; }; VhActService.prototype.extractVehicleActivity = function (beginDt, endDt, testId) { return this.http.get(this.baseString + '/extractVehicleActivity/?startDate=' + beginDt + '&endDate=' + endDt + '&testId=' + testId); }; VhActService.prototype.deleteVehicleActivityData = function (activityId, seqUpdateCheck) { return this.http.delete(this.baseString + '/deleteVehicleActivityData/?id=' + activityId + '&seqUpdateCheck=' + seqUpdateCheck); }; VhActService.prototype.multipleDeleteVehicleActivity = function (params) { return this.http.post(this.baseString + '/multipleDeleteVehicleActivity/', params); }; VhActService.prototype.deleteFailureActivityVehicleActData = function (activityId) { return this.http.post(this.baseString + '/deleteFailureActivityVehicleActData/', activityId); }; VhActService.prototype.getVehicleActivityWithSeqNum = function (vehicleActivity) { // this.page = this.page === undefined ? 0 : this.page; // this.pageSize = this.pageSize === undefined ? 10 : this.pageSize; return this.http.post(this.baseString + '/getVehicleActivityData/', vehicleActivity); }; VhActService.prototype.saveVhRowOrder = function (rowOrder) { return this.http.put(this.baseString + '/saveVhRowOrder', rowOrder, { observe: 'response' }); }; VhActService.prototype.getvehicleActivityWithSeqNum = function (vehicleActivity) { return this.http.post(this.baseString + '/getvehicleActivityList/', vehicleActivity); }; VhActService.prototype.bulkUpdateVehicleActvity = function (multiUpdateModel) { // tslint:disable-next-line: max-line-length return this.http.post(this.baseString + '/multipleUpdateVehicle/', multiUpdateModel); }; VhActService.prototype.multipleDuplicateVehicleActivities = function (vhmultipleDuplicateActivity) { return this.http.put(this.baseString + '/multipleDuplicateVehicleActivities', vhmultipleDuplicateActivity, { observe: 'response' }); }; VhActService.prototype.getFilteredVehicleActivity = function (vehicleActivity) { // this.page = this.page === undefined ? 0 : this.page; // this.pageSize = this.pageSize === undefined ? 10 : this.pageSize; return this.http.post(this.baseString + '/getFilteredVehicleActivity/', vehicleActivity); }; VhActService.prototype.getFilteredVehicleActivityDataCount = function (vehicleActivity) { return this.http.post(this.baseString + '/getFilteredVehicleActivityDataCount', vehicleActivity); }; VhActService.prototype.deleteModifiedFailureActivity = function (vehicleActivityId) { return this.http.post(this.baseString + '/deleteModifiedFailureActivity/', vehicleActivityId); }; VhActService.prototype.extractNewVehicleActivity = function (beginDt, endDt, testId) { return this.http.get(this.baseString + '/extractNewVehicleActivity/?startDate=' + beginDt + '&endDate=' + endDt + '&testId=' + testId); }; VhActService.prototype.changeMessage = function (message) { this.messageSource.next(message); }; VhActService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"], _angular_common__WEBPACK_IMPORTED_MODULE_7__["DatePipe"]]) ], VhActService); return VhActService; }()); /***/ }), /***/ "./src/app/shared/authorization/authguard/authguard.service.ts": /*!*********************************************************************!*\ !*** ./src/app/shared/authorization/authguard/authguard.service.ts ***! \*********************************************************************/ /*! exports provided: AuthGuard */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AuthGuard", function() { return AuthGuard; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var angular_oauth2_oidc__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! angular-oauth2-oidc */ "./node_modules/angular-oauth2-oidc/fesm2015/angular-oauth2-oidc.js"); /* harmony import */ var _authorization_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../authorization.service */ "./src/app/shared/authorization/authorization.service.ts"); /* harmony import */ var _error_rnlt_error_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../error/rnlt.error.service */ "./src/app/shared/error/rnlt.error.service.ts"); /* harmony import */ var _error_rnlt_error_model__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../error/rnlt.error.model */ "./src/app/shared/error/rnlt.error.model.ts"); /* harmony import */ var _environment_environment_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../environment/environment.service */ "./src/app/shared/environment/environment.service.ts"); var AuthGuard = /** @class */ (function () { function AuthGuard(oAuthService, authorizationService, rnltErrorService, envirenementService) { this.oAuthService = oAuthService; this.authorizationService = authorizationService; this.rnltErrorService = rnltErrorService; this.envirenementService = envirenementService; } AuthGuard.prototype.canActivate = function (activatedRouteSnapshot, state) { /* Security and Matomo/Piwik part - Start ********************************************************************************/ if (!this.envirenementService.isOAuthEnabled()) { return true; } // 1- if no token return false if (!this.oAuthService.getAccessToken()) { return false; } // 2- Check if the token has been expired if (this.rnltErrorService.isTokenExpired()) { this.rnltErrorService.redirect(_error_rnlt_error_model__WEBPACK_IMPORTED_MODULE_5__["SESSION_TIME_OUT"]); this.authorizationService.logout(); return false; } // 3- Validate the token && Check Identity if (!this.oAuthService.hasValidAccessToken()) { this.rnltErrorService.redirect(_error_rnlt_error_model__WEBPACK_IMPORTED_MODULE_5__["UNAUTHORIZED"]); return false; } var userInfo = this.authorizationService.getUserInfo(); // 4- Check the user type if (!userInfo) { this.rnltErrorService.redirect(_error_rnlt_error_model__WEBPACK_IMPORTED_MODULE_5__["FORBIDDEN"]); return false; } // 5- Check the user authorization if (!_authorization_service__WEBPACK_IMPORTED_MODULE_3__["AuthorizationService"].isAllowed(userInfo.personType, activatedRouteSnapshot.data["authorizations"])) { console.log('[AuthGuard]: user type', userInfo.personType); this.rnltErrorService.redirect(_error_rnlt_error_model__WEBPACK_IMPORTED_MODULE_5__["FORBIDDEN"]); return false; } // 6- Send Stat data to Matomo/Piwik this.authorizationService.matomoCall(); /* Security and Matomo/Piwik part - End ***************************************************************************/ return true; }; AuthGuard = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])(), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [angular_oauth2_oidc__WEBPACK_IMPORTED_MODULE_2__["OAuthService"], _authorization_service__WEBPACK_IMPORTED_MODULE_3__["AuthorizationService"], _error_rnlt_error_service__WEBPACK_IMPORTED_MODULE_4__["RnltErrorService"], _environment_environment_service__WEBPACK_IMPORTED_MODULE_6__["EnvironmentService"]]) ], AuthGuard); return AuthGuard; }()); /***/ }), /***/ "./src/app/shared/authorization/authorization.model.ts": /*!*************************************************************!*\ !*** ./src/app/shared/authorization/authorization.model.ts ***! \*************************************************************/ /*! exports provided: Authorization */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Authorization", function() { return Authorization; }); var Authorization; (function (Authorization) { Authorization["CATRNLT"] = "catrnlt"; Authorization["ALL"] = "ALL"; Authorization["NONE"] = "NONE"; // everybody has access })(Authorization || (Authorization = {})); /***/ }), /***/ "./src/app/shared/authorization/authorization.module.ts": /*!**************************************************************!*\ !*** ./src/app/shared/authorization/authorization.module.ts ***! \**************************************************************/ /*! exports provided: AuthorizationModule */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AuthorizationModule", function() { return AuthorizationModule; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _authorization_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./authorization.service */ "./src/app/shared/authorization/authorization.service.ts"); /* harmony import */ var _authguard_authguard_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./authguard/authguard.service */ "./src/app/shared/authorization/authguard/authguard.service.ts"); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js"); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/fesm5/common.js"); /* harmony import */ var _logout_logout_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./logout/logout.component */ "./src/app/shared/authorization/logout/logout.component.ts"); var AuthorizationModule = /** @class */ (function () { function AuthorizationModule() { } AuthorizationModule_1 = AuthorizationModule; AuthorizationModule.forRoot = function () { return { ngModule: AuthorizationModule_1, providers: [_authorization_service__WEBPACK_IMPORTED_MODULE_2__["AuthorizationService"]] }; }; var AuthorizationModule_1; AuthorizationModule = AuthorizationModule_1 = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"])({ imports: [ _angular_router__WEBPACK_IMPORTED_MODULE_4__["RouterModule"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["CommonModule"] ], declarations: [ _logout_logout_component__WEBPACK_IMPORTED_MODULE_6__["LogoutComponent"] ], providers: [ _authguard_authguard_service__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"] ], exports: [ _angular_router__WEBPACK_IMPORTED_MODULE_4__["RouterModule"], ] }) ], AuthorizationModule); return AuthorizationModule; }()); /***/ }), /***/ "./src/app/shared/authorization/authorization.service.ts": /*!***************************************************************!*\ !*** ./src/app/shared/authorization/authorization.service.ts ***! \***************************************************************/ /*! exports provided: AuthorizationService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AuthorizationService", function() { return AuthorizationService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js"); /* harmony import */ var angular_oauth2_oidc__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! angular-oauth2-oidc */ "./node_modules/angular-oauth2-oidc/fesm2015/angular-oauth2-oidc.js"); /* harmony import */ var _error_rnlt_error_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../error/rnlt.error.service */ "./src/app/shared/error/rnlt.error.service.ts"); /* harmony import */ var _config_authConfig__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./config/authConfig */ "./src/app/shared/authorization/config/authConfig.ts"); /* harmony import */ var _authorization_model__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./authorization.model */ "./src/app/shared/authorization/authorization.model.ts"); /* harmony import */ var _environment_environment_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../environment/environment.service */ "./src/app/shared/environment/environment.service.ts"); /* harmony import */ var _config_matomoConfig__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./config/matomoConfig */ "./src/app/shared/authorization/config/matomoConfig.ts"); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm5/index.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); var AuthorizationService = /** @class */ (function () { function AuthorizationService(router, oAuthService, rnltErrorService, environmentService) { this.router = router; this.oAuthService = oAuthService; this.rnltErrorService = rnltErrorService; this.environmentService = environmentService; this.doneAuthenticatingSubject = new rxjs__WEBPACK_IMPORTED_MODULE_9__["BehaviorSubject"](false); } AuthorizationService_1 = AuthorizationService; AuthorizationService.displayIdentity = function (userProfile, source) { // So for only for log console.log("[AuthorizationService ] : userInfo - Ipn - from " + source + " " + userProfile.login); // Dynatrace user session identification var d = document; var g = d.createElement('script'); var s = d.getElementById('dynatraceUser'); g.id = 'dynatraceUser'; g.type = 'text/javascript'; g.text = "dtrum.identifyUser('" + userProfile.login + "')"; if (s) { s.replaceWith(g); } }; AuthorizationService.isAllowed = function (authorizationIHave, authorizationsINeed) { return _authorization_model__WEBPACK_IMPORTED_MODULE_6__["Authorization"][authorizationsINeed] === _authorization_model__WEBPACK_IMPORTED_MODULE_6__["Authorization"].NONE || authorizationIHave === _authorization_model__WEBPACK_IMPORTED_MODULE_6__["Authorization"].ALL || authorizationIHave === authorizationsINeed; }; AuthorizationService.prototype.configureOidcAndLogin = function () { if (!this.environmentService.isOAuthEnabled()) { return; } console.log('oidc configureOidcAndLogin .36.'); console.log('oidc configureOidcAndLogin..authConfig.redirectUri .39.' + _config_authConfig__WEBPACK_IMPORTED_MODULE_5__["authConfig"].redirectUri); console.log('oidc configureOidcAndLogin..authConfig.silentRefreshRedirectUri .41.' + _config_authConfig__WEBPACK_IMPORTED_MODULE_5__["authConfig"].silentRefreshRedirectUri); // oAuthEnable Enable this.oAuthService.configure(_config_authConfig__WEBPACK_IMPORTED_MODULE_5__["authConfig"]); this.oAuthService.setupAutomaticSilentRefresh(); console.log('oidc configureOidcAndLogin .42.'); this.IDPLoginAndStartSession(); }; AuthorizationService.prototype.IDPLoginAndStartSession = function () { var _this = this; this.oAuthService.loadDiscoveryDocumentAndTryLogin().catch(function (err) { console.log('oidc IDPLoginAndStartSession .51 error.'); console.log(err); console.error(err); }).then(function () { // this.oAuthService.tokenValidationHandler = new JwksValidationHandler(); if (!_this.oAuthService.hasValidAccessToken() || _this.rnltErrorService.isTokenExpired()) { _this.login(); // Code flow console.log('oidc IDPLoginAndStartSession .53.'); } console.log('oidc IDPLoginAndStartSession .60.'); _this.doneAuthenticatingSubject.next(true); }); console.log('oidc IDPLoginAndStartSession .63.'); }; AuthorizationService.prototype.getUserInfo = function () { if (this.rnltUserInfo) { return this.rnltUserInfo; } var accessToken = this.oAuthService.getAccessToken(); if (!accessToken) { throw new Error('No access token'); } var decodedToken = this.extractAccessTokenData(accessToken); this.rnltUserInfo = decodedToken; AuthorizationService_1.displayIdentity(this.rnltUserInfo, 'IDP'); console.log(this.rnltUserInfo); return this.rnltUserInfo; }; AuthorizationService.prototype.extractAccessTokenData = function (accessToken) { var tokenBodyFirstIndex = this.getAccessTokenBodyStartIndex(accessToken); var tokenBodyLastIndex = this.getAccessTokenBodyEndIndex(accessToken, tokenBodyFirstIndex); var accessTokenBody = this.getAccessTokenBody(accessToken, tokenBodyFirstIndex, tokenBodyLastIndex); var decodedToken = atob(accessTokenBody); return JSON.parse(decodedToken); }; AuthorizationService.prototype.getAccessTokenBodyStartIndex = function (accessToken) { return accessToken.indexOf('.') + 1; }; AuthorizationService.prototype.getAccessTokenBodyEndIndex = function (accessToken, tokenBodyFirstIndex) { return accessToken.indexOf('.', tokenBodyFirstIndex); }; AuthorizationService.prototype.getAccessTokenBody = function (accessToken, tokenBodyFirstIndex, tokenBodyLastIndex) { return accessToken.substring(tokenBodyFirstIndex, tokenBodyLastIndex); }; AuthorizationService.prototype.afterAuth = function (redirectTo, userInfo) { var _this = this; setTimeout(function () { return _this.router.navigate([redirectTo]); }, 10); console.log('[AuthorizationService - OICD]: Piwik login : ', userInfo.login); }; /** * Init Matomo/Piwik configuration */ AuthorizationService.prototype.matomoCall = function () { var _PAQ = window[String('_paq')]; var url = _config_matomoConfig__WEBPACK_IMPORTED_MODULE_8__["matomoConfig"].matomoUrl; var matomoId = _config_matomoConfig__WEBPACK_IMPORTED_MODULE_8__["matomoConfig"].matomoId; _PAQ.push(['trackPageView']); _PAQ.push(['enableLinkTracking']); _PAQ.push(['setTrackerUrl', url + 'piwik.php']); _PAQ.push(['setSiteId', matomoId]); // userIpn var userIpn = this.getUserId(); if (!this.environmentService.isProduction()) { console.log('[piwik]: userIpn ', userIpn); } _PAQ.push(['setUserId', this.getUserId()]); var d = document; var g = d.createElement('script'); var s = d.getElementsByTagName('script')[0]; g.type = 'text/javascript'; g.async = true; g.defer = true; g.src = url + 'piwik.js'; s.parentNode.insertBefore(g, s); }; AuthorizationService.prototype.setUserInfo = function (rnltUserInfo) { this.rnltUserInfo = rnltUserInfo; }; AuthorizationService.prototype.getUserId = function () { if (this.rnltUserInfo) { return this.rnltUserInfo.login; } else { return null; } }; AuthorizationService.prototype.login = function () { // initiate open ID connect console.log('oidc login .148.'); this.oAuthService.initCodeFlow(); console.log('oidc login .150.'); }; AuthorizationService.prototype.logout = function () { this.oAuthService.logOut(false); var now = new Date(); //this.messageService.sendMessage('logout'); sessionStorage.setItem('session_terminated_at', now.toLocaleDateString() + ' ' + now.toTimeString()); }; AuthorizationService.prototype.whenDoneAuthenticating = function () { return this.doneAuthenticatingSubject.asObservable().pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_10__["filter"])(function (isDone) { return isDone; }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_10__["first"])()); }; var AuthorizationService_1; AuthorizationService = AuthorizationService_1 = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])(), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"], angular_oauth2_oidc__WEBPACK_IMPORTED_MODULE_3__["OAuthService"], _error_rnlt_error_service__WEBPACK_IMPORTED_MODULE_4__["RnltErrorService"], _environment_environment_service__WEBPACK_IMPORTED_MODULE_7__["EnvironmentService"]]) ], AuthorizationService); return AuthorizationService; }()); /***/ }), /***/ "./src/app/shared/authorization/callback/open-id-call-back.component.css": /*!*******************************************************************************!*\ !*** ./src/app/shared/authorization/callback/open-id-call-back.component.css ***! \*******************************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = ".content {\n width: 100%;\n height: 100%;\n background: #ffcc00;\n position: absolute;\n transition: all 0.5s ease-out;\n}\n.contentBloc{\n top: 50%;\n left: 50%;\n margin-right: -50%;\n transform: translate(-50%, -50%);\n width:300px;\n height:300px;\n position: absolute;\n}\n.content h3{\n font-family: \"RenaultLife\";\n font-weight: 400;\n font-size: 20px!important;\n text-transform: uppercase;\n margin-top: 20%;\n text-align: center;\n color: #000000!important;\n}\n.content h3 span{\n font-size: 30px!important;\n}\n/** Loading Page **/\n/* default .loading styles, .loading should be invisible, opacity: 0, z-index: -1 */\n.loading {\n opacity: 1;\n transition: opacity .8s ease-in-out;\n position: fixed;\n height: 100%;\n width: 100%;\n top: 0;\n left: 0;\n background: #ffcc00;\n color: #000000!important;\n z-index: -1;\n}\n.loading h1{\n font-family: \"RenaultLife\";\n font-weight: 400;\n font-size: 30px!important;\n text-transform: uppercase;\n margin-top: 20%;\n text-align: center;\n color: #000000!important;\n}\n.loading p{\n font-family: \"RenaultLife\";\n font-weight: 400;\n font-size: 12px!important;\n color: #000000!important;\n text-transform: uppercase;\n text-align: center;\n}\n@keyframes dots {\n 50% {\n transform: translateY(-.4rem);\n }\n 100% {\n transform: translateY(0);\n }\n}\n.d {\n animation: dots 1.5s ease-out infinite;\n color: #000000!important;\n}\n.d-2 {\n animation-delay: .5s;\n color: #000000!important;\n}\n.d-3 {\n animation-delay: 1s;\n color: #000000!important;\n}\n/** Init Table **/\n.responsive{\n display: none;\n}\n/** A remettre au format SASS **/\n.loading img{\n animation-name: spin;\n animation-duration: 4000ms;\n animation-iteration-count: infinite;\n animation-timing-function: linear;\n\n -webkit-animation-name: spin;\n -webkit-animation-duration: 5000ms;\n -webkit-animation-iteration-count: infinite;\n -webkit-animation-timing-function: linear;\n\n -moz-animation-name: spin;\n -moz-animation-duration: 5000ms;\n -moz-animation-iteration-count: infinite;\n -moz-animation-timing-function: linear;\n\n -ms-animation-name: spin;\n -ms-animation-duration: 5000ms;\n -ms-animation-iteration-count: infinite;\n -ms-animation-timing-function: linear;\n\n\n\n opacity: 1!important;\n\n}\n/** Chrome */\n*::-webkit-scrollbar-track {\n -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);\n background-color: #f6f6f6;\n}\n*::-webkit-scrollbar {\n width: 12px;\n height: 12px;\n background-color: #f6f6f6;\n}\n*::-webkit-scrollbar-thumb {\n border-radius: 5px;\n -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);\n background-color: #ffcc33;\n}\n@keyframes spin {\n from {\n transform:rotate3d(0, 1, 0,0deg);\n }\n to {\n transform:rotate3d(0, 1, 0,360deg);\n }\n}\n/** Hzck Temporaire **/\n.component.dashboard{\n display: none!important;\n}\n\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvc2hhcmVkL2F1dGhvcml6YXRpb24vY2FsbGJhY2svb3Blbi1pZC1jYWxsLWJhY2suY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLFdBQVc7RUFDWCxZQUFZO0VBQ1osbUJBQW1CO0VBQ25CLGtCQUFrQjtFQUNsQiw2QkFBNkI7QUFDL0I7QUFDQTtFQUNFLFFBQVE7RUFDUixTQUFTO0VBQ1Qsa0JBQWtCO0VBQ2xCLGdDQUFnQztFQUNoQyxXQUFXO0VBQ1gsWUFBWTtFQUNaLGtCQUFrQjtBQUNwQjtBQUNBO0VBQ0UsMEJBQTBCO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ICBmcm9tIHtcbiAgICB0cmFuc2Zvcm06cm90YXRlM2QoMCwgMSwgMCwwZGVnKTtcbiAgfVxuICB0byB7XG4gICAgdHJhbnNmb3JtOnJvdGF0ZTNkKDAsIDEsIDAsMzYwZGVnKTtcbiAgfVxufVxuLyoqIEh6Y2sgVGVtcG9yYWlyZSAqKi9cbi5jb21wb25lbnQuZGFzaGJvYXJke1xuICBkaXNwbGF5OiBub25lIWltcG9ydGFudDtcbn1cbiJdfQ== */" /***/ }), /***/ "./src/app/shared/authorization/callback/open-id-call-back.component.html": /*!********************************************************************************!*\ !*** ./src/app/shared/authorization/callback/open-id-call-back.component.html ***! \********************************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "\n
\n
\n
\n

\"\"

\n

Authorization in progress...

\n
\n
\n
\n" /***/ }), /***/ "./src/app/shared/authorization/callback/open-id-call-back.component.ts": /*!******************************************************************************!*\ !*** ./src/app/shared/authorization/callback/open-id-call-back.component.ts ***! \******************************************************************************/ /*! exports provided: OpenIdCallBackComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "OpenIdCallBackComponent", function() { return OpenIdCallBackComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var angular_oauth2_oidc__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! angular-oauth2-oidc */ "./node_modules/angular-oauth2-oidc/fesm2015/angular-oauth2-oidc.js"); /* harmony import */ var _error_rnlt_error_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../error/rnlt.error.service */ "./src/app/shared/error/rnlt.error.service.ts"); /* harmony import */ var _error_rnlt_error_model__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../error/rnlt.error.model */ "./src/app/shared/error/rnlt.error.model.ts"); /* harmony import */ var _authorization_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../authorization.service */ "./src/app/shared/authorization/authorization.service.ts"); /* harmony import */ var _environment_environment_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../environment/environment.service */ "./src/app/shared/environment/environment.service.ts"); /* harmony import */ var _common_common_button_organisation_map_btn_organisation_map_model__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../common/common-button/organisation-map-btn/organisation-map.model */ "./src/app/common/common-button/organisation-map-btn/organisation-map.model.ts"); /* harmony import */ var _common_common_button_organisation_map_btn_organisation_map_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../common/common-button/organisation-map-btn/organisation-map.service */ "./src/app/common/common-button/organisation-map-btn/organisation-map.service.ts"); /* harmony import */ var _common_roles_roles_model__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../common/roles/roles.model */ "./src/app/common/roles/roles.model.ts"); /* harmony import */ var _common_roles_roles_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../common/roles/roles.service */ "./src/app/common/roles/roles.service.ts"); /* harmony import */ var _common_common_services__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../common/common.services */ "./src/app/common/common.services.ts"); /* harmony import */ var _common_message_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../common/message.service */ "./src/app/common/message.service.ts"); /* harmony import */ var _common_help_help_service__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../../common/help/help.service */ "./src/app/common/help/help.service.ts"); var OpenIdCallBackComponent = /** @class */ (function () { function OpenIdCallBackComponent(oAuthService, rnltErrorService, authorizationService, orgMapService, rolesService, commonService, messageService, helpService, environmentService) { this.oAuthService = oAuthService; this.rnltErrorService = rnltErrorService; this.authorizationService = authorizationService; this.orgMapService = orgMapService; this.rolesService = rolesService; this.commonService = commonService; this.messageService = messageService; this.helpService = helpService; this.environmentService = environmentService; //private redirectUrl = '/rnlt/dashboard'; this.redirectUrl = 'tp2'; } OpenIdCallBackComponent.prototype.ngOnInit = function () { }; OpenIdCallBackComponent.prototype.ngAfterViewInit = function () { var _this = this; // 1- if insecure mode if (!this.environmentService.isOAuthEnabled()) { console.log('[oAuth security disabled !]'); return; } // We should wait for the Authentication process to terminate this.doneAuthenticatingSubscription = this.authorizationService.whenDoneAuthenticating() .subscribe(function () { // 2- if we have an access token but it is not valid => redirect to FORBIDDEN if (_this.oAuthService.getAccessToken() && !_this.oAuthService.hasValidAccessToken()) { console.log('[OpenIdCallBackComponent - OIDC]: ', 'Access token is invalid'); _this.rnltErrorService.redirect(_error_rnlt_error_model__WEBPACK_IMPORTED_MODULE_4__["FORBIDDEN"]); return; } else { console.log('[OpenIdCallBackComponent - OIDC]: ', 'Access token is valid'); } // 3- If we have a valid access token ==> get user identity if (_this.oAuthService.getAccessToken() && _this.oAuthService.hasValidAccessToken()) { try { _this.userInfo = _this.authorizationService.getUserInfo(); console.log('userInfo 54... ' + _this.userInfo); } catch (e) { _this.userInfo = null; console.error('Can get user info'); } } // 4- Manage after IDP login if (_this.userInfo) { console.log('Redirecting to ' + _this.redirectUrl); sessionStorage.setItem('roleAction', ''); sessionStorage.setItem('uid', _this.userInfo.sub); sessionStorage.setItem('userName', (_this.userInfo.firstName + ' ' + _this.userInfo.lastName)); console.log('openCallBack userInfo firstName..' + _this.userInfo.firstName); var roles = _this.userInfo.roles; console.log('openCallBack 91 roles.' + roles); console.log('openCallBack 93 json roles..' + JSON.stringify(roles)); console.log('... sessionstorage role not null ' + sessionStorage.getItem('role')); if (sessionStorage.getItem('role') == null || sessionStorage.getItem('role') == undefined) { console.log('... sessionstorage role is null or undefined '); sessionStorage.setItem('role', JSON.stringify(roles)); } if (_this.userInfo.roles) { _this.getRolesFromComment(roles); _this.commonService.currentUserRole = sessionStorage.getItem('role'); _this.messageService.sendMessage('false'); _this.getOrganisationRegId(); _this.getRolesNames(); } else { console.log('No rolls for the user'); _this.authorizationService.logout(); } console.log(' before Redirecting to 103 ' + _this.redirectUrl); _this.authorizationService.afterAuth(_this.redirectUrl, _this.userInfo); } }); }; OpenIdCallBackComponent.prototype.getRolesFromComment = function (roles) { var _this = this; if (this.userInfo.sub != null && sessionStorage.getItem('envName') != 'OPE') { this.helpService.getDirectoryComment(this.userInfo.sub).subscribe(function (directory) { console.log(' 96...getRolesFromComment comment ...' + directory.comment); if (directory.comment != null && directory.comment.startsWith('["TPM2')) { console.log('openCallBack starts with getRolesFromComment setting comment '); sessionStorage.setItem('role', '' + directory.comment); _this.roles = directory.comment.toString(); } else { console.log('not starts with getRolesFromComment not setting from comment '); sessionStorage.setItem('role', JSON.stringify(roles)); } }); } else { console.log('openCallBack else condition getRolesFromComment not setting from comment '); sessionStorage.setItem('role', JSON.stringify(roles)); this.roles = JSON.stringify(roles); } }; OpenIdCallBackComponent.prototype.getOrganisationRegId = function () { var _this = this; console.log('.. getOrganisationRegId...' + sessionStorage.getItem('role')); var rolesArr = []; var organisationId; // sessionStorage.setItem('roleAction', ''); var sessionRoles = JSON.parse(sessionStorage.getItem('role')) || []; sessionRoles.forEach(function (role) { var roleVal = role.substring(5).toUpperCase(); rolesArr.push(roleVal); }); var organisationMapModel = new _common_common_button_organisation_map_btn_organisation_map_model__WEBPACK_IMPORTED_MODULE_7__["OrganisationMapModel"](); organisationMapModel.organisationNames = rolesArr; this.orgMapService.getOrganisationRegId(organisationMapModel).subscribe(function (response) { organisationId = response; if (response === undefined || response == null) { sessionStorage.setItem('isOrgIdEmpty', 'true'); } else { sessionStorage.setItem('isOrgIdEmpty', 'false'); } sessionStorage.setItem('organisationIDs', JSON.stringify(organisationId)); _this.orgMapService.setOrganizationIds(organisationId); }); }; OpenIdCallBackComponent.prototype.getRolesNames = function () { var roles = new _common_roles_roles_model__WEBPACK_IMPORTED_MODULE_9__["Roles"](); roles.rolesList = this.getRolesArr(); this.rolesService.isOnlyRolesExists(roles).subscribe(function (response) { if (response) { sessionStorage.setItem('onlyRoles', 'true'); } else { sessionStorage.setItem('onlyRoles', 'false'); } }); }; OpenIdCallBackComponent.prototype.getRolesArr = function () { var _this = this; this.rolesArr = []; var sessionRoles = JSON.parse(sessionStorage.getItem('role')) || []; sessionRoles.forEach(function (role) { var roleVal = role.substring(5).toUpperCase(); _this.rolesArr.push(role); }); return this.rolesArr; }; OpenIdCallBackComponent.prototype.ngOnDestroy = function () { if (this.doneAuthenticatingSubscription) { this.doneAuthenticatingSubscription.unsubscribe(); } }; OpenIdCallBackComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'app-open-id-callback', template: __webpack_require__(/*! ./open-id-call-back.component.html */ "./src/app/shared/authorization/callback/open-id-call-back.component.html"), styles: [__webpack_require__(/*! ./open-id-call-back.component.css */ "./src/app/shared/authorization/callback/open-id-call-back.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [angular_oauth2_oidc__WEBPACK_IMPORTED_MODULE_2__["OAuthService"], _error_rnlt_error_service__WEBPACK_IMPORTED_MODULE_3__["RnltErrorService"], _authorization_service__WEBPACK_IMPORTED_MODULE_5__["AuthorizationService"], _common_common_button_organisation_map_btn_organisation_map_service__WEBPACK_IMPORTED_MODULE_8__["OrganisationMapService"], _common_roles_roles_service__WEBPACK_IMPORTED_MODULE_10__["RolesService"], _common_common_services__WEBPACK_IMPORTED_MODULE_11__["CommonServices"], _common_message_service__WEBPACK_IMPORTED_MODULE_12__["MessageService"], _common_help_help_service__WEBPACK_IMPORTED_MODULE_13__["HelpService"], _environment_environment_service__WEBPACK_IMPORTED_MODULE_6__["EnvironmentService"]]) ], OpenIdCallBackComponent); return OpenIdCallBackComponent; }()); /***/ }), /***/ "./src/app/shared/authorization/config/authConfig.ts": /*!***********************************************************!*\ !*** ./src/app/shared/authorization/config/authConfig.ts ***! \***********************************************************/ /*! exports provided: authConfig */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "authConfig", function() { return authConfig; }); /* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../environments/environment */ "./src/environments/environment.ts"); var authConfig = { // Urls of EndPoints issuer: _environments_environment__WEBPACK_IMPORTED_MODULE_0__["environment"].issuer, loginUrl: _environments_environment__WEBPACK_IMPORTED_MODULE_0__["environment"].loginUrl, userinfoEndpoint: _environments_environment__WEBPACK_IMPORTED_MODULE_0__["environment"].userinfoEndpoint, clientId: _environments_environment__WEBPACK_IMPORTED_MODULE_0__["environment"].clientId, scope: _environments_environment__WEBPACK_IMPORTED_MODULE_0__["environment"].scope, /* Common conf */ redirectUri: _environments_environment__WEBPACK_IMPORTED_MODULE_0__["environment"].redirectUri, responseType: _environments_environment__WEBPACK_IMPORTED_MODULE_0__["environment"].responseType, // silentRefresh useSilentRefresh: true, silentRefreshRedirectUri: _environments_environment__WEBPACK_IMPORTED_MODULE_0__["environment"].silentRefreshRedirectUri, silentRefreshShowIFrame: true, silentRefreshIFrameName: 'rnlt-angular-oauth-oidc-silent-refresh-iframe', showDebugInformation: false, sessionChecksEnabled: false, clearHashAfterLogin: false }; /***/ }), /***/ "./src/app/shared/authorization/config/matomoConfig.ts": /*!*************************************************************!*\ !*** ./src/app/shared/authorization/config/matomoConfig.ts ***! \*************************************************************/ /*! exports provided: matomoConfig */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "matomoConfig", function() { return matomoConfig; }); /* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../environments/environment */ "./src/environments/environment.ts"); var matomoConfig = { matomoUrl: _environments_environment__WEBPACK_IMPORTED_MODULE_0__["environment"].matomoUrl, matomoId: _environments_environment__WEBPACK_IMPORTED_MODULE_0__["environment"].matomoId }; /***/ }), /***/ "./src/app/shared/authorization/logout/logout.component.css": /*!******************************************************************!*\ !*** ./src/app/shared/authorization/logout/logout.component.css ***! \******************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = ".logoutC {\n display: flex;\n justify-content: space-between;\n padding-bottom: 10px;\n border-bottom: 1px solid #deae70;\n}\n\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvc2hhcmVkL2F1dGhvcml6YXRpb24vbG9nb3V0L2xvZ291dC5jb21wb25lbnQuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0UsYUFBYTtFQUNiLDhCQUE4QjtFQUM5QixvQkFBb0I7RUFDcEIsZ0NBQWdDO0FBQ2xDIiwiZmlsZSI6InNyYy9hcHAvc2hhcmVkL2F1dGhvcml6YXRpb24vbG9nb3V0L2xvZ291dC5jb21wb25lbnQuY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmxvZ291dEMge1xuICBkaXNwbGF5OiBmbGV4O1xuICBqdXN0aWZ5LWNvbnRlbnQ6IHNwYWNlLWJldHdlZW47XG4gIHBhZGRpbmctYm90dG9tOiAxMHB4O1xuICBib3JkZXItYm90dG9tOiAxcHggc29saWQgI2RlYWU3MDtcbn1cbiJdfQ== */" /***/ }), /***/ "./src/app/shared/authorization/logout/logout.component.html": /*!*******************************************************************!*\ !*** ./src/app/shared/authorization/logout/logout.component.html ***! \*******************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "\n" /***/ }), /***/ "./src/app/shared/authorization/logout/logout.component.ts": /*!*****************************************************************!*\ !*** ./src/app/shared/authorization/logout/logout.component.ts ***! \*****************************************************************/ /*! exports provided: LogoutComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LogoutComponent", function() { return LogoutComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js"); var LogoutComponent = /** @class */ (function () { function LogoutComponent(router) { this.router = router; } LogoutComponent.prototype.ngOnInit = function () { }; LogoutComponent.prototype.redirectToLogin = function () { this.router.navigateByUrl('/').then(function () { return window.location.reload(); }); }; LogoutComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'app-logout', template: __webpack_require__(/*! ./logout.component.html */ "./src/app/shared/authorization/logout/logout.component.html"), styles: [__webpack_require__(/*! ./logout.component.css */ "./src/app/shared/authorization/logout/logout.component.css")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"]]) ], LogoutComponent); return LogoutComponent; }()); /***/ }), /***/ "./src/app/shared/environment/environment.module.ts": /*!**********************************************************!*\ !*** ./src/app/shared/environment/environment.module.ts ***! \**********************************************************/ /*! exports provided: EnvironmentModule */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EnvironmentModule", function() { return EnvironmentModule; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/fesm5/common.js"); /* harmony import */ var _environment_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./environment.service */ "./src/app/shared/environment/environment.service.ts"); var EnvironmentModule = /** @class */ (function () { function EnvironmentModule() { } EnvironmentModule = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"])({ declarations: [], imports: [ _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"] ], providers: [_environment_service__WEBPACK_IMPORTED_MODULE_3__["EnvironmentService"]] }) ], EnvironmentModule); return EnvironmentModule; }()); /***/ }), /***/ "./src/app/shared/environment/environment.service.ts": /*!***********************************************************!*\ !*** ./src/app/shared/environment/environment.service.ts ***! \***********************************************************/ /*! exports provided: EnvironmentService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EnvironmentService", function() { return EnvironmentService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); var EnvironmentService = /** @class */ (function () { function EnvironmentService() { } EnvironmentService.prototype.isOAuthEnabled = function () { return src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].oAuthEnable; }; EnvironmentService.prototype.isProduction = function () { return src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].production; }; EnvironmentService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", []) ], EnvironmentService); return EnvironmentService; }()); /***/ }), /***/ "./src/app/shared/error/rnlt-errors.component.html": /*!*********************************************************!*\ !*** ./src/app/shared/error/rnlt-errors.component.html ***! \*********************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "
\n
{{ errorNumber }}
\n
\n\n
\n

\"\"
Renault

\n \n \n\n

{{ rnltErrorMessage.titre }}

\n

{{ rnltErrorMessage.message }}

\n\n {{ rnltErrorMessage.buttonLabel }}\n
\n
\n
\n" /***/ }), /***/ "./src/app/shared/error/rnlt-errors.component.scss": /*!*********************************************************!*\ !*** ./src/app/shared/error/rnlt-errors.component.scss ***! \*********************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "/* default #error styles, #error should be invisible, opacity: 0, z-index: -1 */\n.bgError {\n background: #ffcc33;\n position: absolute;\n width: 100%;\n height: 100%; }\n#error {\n opacity: 1;\n transition: opacity .8s ease-in-out;\n position: fixed;\n height: 100%;\n width: 100%;\n top: 0;\n left: 0;\n background: rgba(255, 204, 51, 0.8);\n color: #000000 !important;\n z-index: 1; }\n#error h1 {\n font-family: \"RenaultLife\";\n font-weight: 400;\n font-size: 30px !important;\n text-transform: uppercase;\n margin-top: 0%;\n text-align: center;\n color: #000000 !important;\n margin-bottom: 50px; }\n#error p {\n font-family: \"RenaultLife\";\n font-weight: 400;\n font-size: 12px !important;\n color: #000000 !important;\n text-transform: uppercase;\n text-align: left; }\n/* #error screen is visible when app is not bootstraped yet, .my-app is empty */\n/*app-root:empty + #error {\n opacity: 1;\n z-index: 100;\n}*/\n@keyframes dots {\n 50% {\n transform: translateY(-0.4rem); }\n 100% {\n transform: translateY(0); } }\n.d {\n animation: dots 1.5s ease-out infinite;\n color: #000000 !important; }\n.d-2 {\n animation-delay: .5s;\n color: #000000 !important; }\n.d-3 {\n animation-delay: 1s;\n color: #000000 !important; }\n/** Init Table **/\n.responsive {\n display: none; }\n/** A remettre au format SASS **/\n#error img {\n animation-name: spin;\n animation-duration: 4000ms;\n animation-iteration-count: infinite;\n animation-timing-function: linear;\n -webkit-animation-name: spin;\n -webkit-animation-duration: 5000ms;\n -webkit-animation-iteration-count: infinite;\n -webkit-animation-timing-function: linear;\n -moz-animation-name: spin;\n -moz-animation-duration: 5000ms;\n -moz-animation-iteration-count: infinite;\n -moz-animation-timing-function: linear;\n -ms-animation-name: spin;\n -ms-animation-duration: 5000ms;\n -ms-animation-iteration-count: infinite;\n -ms-animation-timing-function: linear;\n opacity: 1 !important; }\n/** Chrome */\n*::-webkit-scrollbar-track {\n -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);\n background-color: #f6f6f6; }\n*::-webkit-scrollbar {\n width: 12px;\n height: 12px;\n background-color: #f6f6f6; }\n*::-webkit-scrollbar-thumb {\n border-radius: 5px;\n -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);\n background-color: #ffcc33; }\n@keyframes spin {\n from {\n transform: rotate3d(0, 1, 0, 0deg); }\n to {\n transform: rotate3d(0, 1, 0, 360deg); } }\n#alert {\n width: 340px !important;\n position: absolute;\n top: 25%;\n left: 50%;\n margin-left: -170px;\n z-index: 1000 !important; }\n#alert .fa,\n#alert .material-icons {\n font-size: 80px !important;\n float: left !important;\n margin: 0 20px 0px 0 !important;\n display: block !important;\n color: #D02433 !important; }\n#alert h3 {\n font-size: 24px !important;\n text-transform: uppercase !important;\n font-family: RenaultLife;\n margin: 0 !important;\n background: #D02433;\n color: #fff;\n border-top: 1px solid #D02433;\n display: block;\n width: 250px;\n float: right;\n padding: 2px 10px;\n text-decoration: underline; }\n#alert p {\n font-size: 14px !important;\n font-family: RenaultLife;\n margin: 0 !important;\n border-bottom: 1px solid #D02433;\n padding-bottom: 5px;\n display: block;\n width: 250px;\n float: right;\n background: #D02433;\n color: #fff !important;\n padding: 2px 10px; }\n#alert a {\n font-family: \"RenaultLife\";\n font-weight: 400;\n font-size: 16px !important;\n color: #000000 !important;\n text-transform: uppercase;\n text-align: center;\n display: block;\n width: 100%;\n margin: 50px 0.5% 0 0.5%;\n float: left;\n transition: all 0.5s ease-out;\n line-height: 26px;\n cursor: pointer; }\n#alert a:hover {\n color: #666666 !important; }\n/** **/\n.btLink {\n display: block;\n padding: 5px 10px;\n border: 1px solid #ffffff;\n border-radius: 5px;\n margin-bottom: 10px;\n background: #f5f5f5;\n transition: all 0.5s ease-out;\n width: calc(100% - 0px) !important; }\n.btLink:hover {\n background: #ffcc00; }\n/** **/\n.number {\n position: absolute;\n font-family: \"RenaultLife\";\n z-index: 0;\n color: #666;\n font-size: 400px;\n opacity: 1;\n text-align: center;\n width: 100%; }\n\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi90cDItYXBwL3NyYy9hcHAvc2hhcmVkL2Vycm9yL3JubHQtZXJyb3JzLmNvbXBvbmVudC5zY3NzIiwic3JjL2FwcC9zaGFyZWQvZXJyb3Ivcm5sdC1lcnJvcnMuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsK0VBQUE7QUFDQTtFQUNFLG1CQUFtQjtFQUNuQixrQkFBa0I7RUFDbEIsV0FBVztFQUNYLFlBQVksRUFBQTtBQUVkO0VBQ0UsVUFBVTtFQUNWLG1DQUFtQztFQUNuQyxlQUFlO0VBQ2YsWUFBWTtFQUNaLFdBQVc7RUFDWCxNQUFNO0VBQ04sT0FBTztFQUNQLG1DQUFnQztFQUNoQyx5QkFBd0I7RUFDeEIsVUFBVSxFQUFBO0FBRVo7RUFDRSwwQkFBMEI7RUFDMUIsZ0JBQWdCO0VBQ2hCLDBCQUF5QjtFQUN6Qix5QkFBeUI7RUFDekIsY0FBYztFQUNkLGtC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OiBcIlJlbmF1bHRMaWZlXCI7XG4gIHotaW5kZXg6IDA7XG4gIGNvbG9yOiAjNjY2O1xuICBmb250LXNpemU6IDQwMHB4O1xuICBvcGFjaXR5OiAxO1xuICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gIHdpZHRoOiAxMDAlOyB9XG4iXX0= */" /***/ }), /***/ "./src/app/shared/error/rnlt-errors.component.ts": /*!*******************************************************!*\ !*** ./src/app/shared/error/rnlt-errors.component.ts ***! \*******************************************************/ /*! exports provided: RnltErrorsComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RnltErrorsComponent", function() { return RnltErrorsComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js"); /* harmony import */ var _rnlt_error_model__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./rnlt.error.model */ "./src/app/shared/error/rnlt.error.model.ts"); var RnltErrorsComponent = /** @class */ (function () { function RnltErrorsComponent(activatedRoute, router) { this.activatedRoute = activatedRoute; this.router = router; } RnltErrorsComponent.prototype.ngOnInit = function () { var _this = this; this.activatedRoute.params.subscribe(function (params) { _this.errorNumber = +params["errorType"]; _this.rnltErrorMessage = _rnlt_error_model__WEBPACK_IMPORTED_MODULE_3__["rnltErrorMessages"][_this.errorNumber]; if (isNaN(_this.errorNumber) || !_this.errorNumber || !_this.rnltErrorMessage) { _this.errorNumber = _rnlt_error_model__WEBPACK_IMPORTED_MODULE_3__["NOT_FOUND"]; _this.rnltErrorMessage = _rnlt_error_model__WEBPACK_IMPORTED_MODULE_3__["rnltErrorMessages"][_rnlt_error_model__WEBPACK_IMPORTED_MODULE_3__["NOT_FOUND"]]; } }); }; RnltErrorsComponent.prototype.redirectAfterError = function () { this.router.navigateByUrl(this.rnltErrorMessage.buttonLink).then(function () { return window.location.reload(); }); }; RnltErrorsComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ selector: 'app-rnlt-errors', template: __webpack_require__(/*! ./rnlt-errors.component.html */ "./src/app/shared/error/rnlt-errors.component.html"), styles: [__webpack_require__(/*! ./rnlt-errors.component.scss */ "./src/app/shared/error/rnlt-errors.component.scss")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_2__["ActivatedRoute"], _angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"]]) ], RnltErrorsComponent); return RnltErrorsComponent; }()); /***/ }), /***/ "./src/app/shared/error/rnlt-errors.module.ts": /*!****************************************************!*\ !*** ./src/app/shared/error/rnlt-errors.module.ts ***! \****************************************************/ /*! exports provided: RnltErrorsModule */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RnltErrorsModule", function() { return RnltErrorsModule; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _shared_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../shared.module */ "./src/app/shared/shared.module.ts"); /* harmony import */ var _rnlt_errors_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./rnlt-errors.component */ "./src/app/shared/error/rnlt-errors.component.ts"); /* harmony import */ var _rnlt_error_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./rnlt.error.service */ "./src/app/shared/error/rnlt.error.service.ts"); var RnltErrorsModule = /** @class */ (function () { function RnltErrorsModule() { } RnltErrorsModule = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"])({ imports: [ _shared_module__WEBPACK_IMPORTED_MODULE_2__["SharedModule"] ], declarations: [ _rnlt_errors_component__WEBPACK_IMPORTED_MODULE_3__["RnltErrorsComponent"] ], providers: [_rnlt_error_service__WEBPACK_IMPORTED_MODULE_4__["RnltErrorService"]] }) ], RnltErrorsModule); return RnltErrorsModule; }()); /***/ }), /***/ "./src/app/shared/error/rnlt.error.model.ts": /*!**************************************************!*\ !*** ./src/app/shared/error/rnlt.error.model.ts ***! \**************************************************/ /*! exports provided: TOKEN_EXPIRED, DB_GENERIC_EXCEPTION, BAD_REQUEST, UNAUTHORIZED, FORBIDDEN, NOT_FOUND, SESSION_TIME_OUT, USER_NOT_FOUND, DEFAULT_MESSAGE, DB_EXCEPTION_MESSAGE, rnltErrorMessages */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TOKEN_EXPIRED", function() { return TOKEN_EXPIRED; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DB_GENERIC_EXCEPTION", function() { return DB_GENERIC_EXCEPTION; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BAD_REQUEST", function() { return BAD_REQUEST; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "UNAUTHORIZED", function() { return UNAUTHORIZED; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FORBIDDEN", function() { return FORBIDDEN; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NOT_FOUND", function() { return NOT_FOUND; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SESSION_TIME_OUT", function() { return SESSION_TIME_OUT; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "USER_NOT_FOUND", function() { return USER_NOT_FOUND; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DEFAULT_MESSAGE", function() { return DEFAULT_MESSAGE; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DB_EXCEPTION_MESSAGE", function() { return DB_EXCEPTION_MESSAGE; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "rnltErrorMessages", function() { return rnltErrorMessages; }); // Exception text var TOKEN_EXPIRED = 'Token expired'; var DB_GENERIC_EXCEPTION = 'org.hibernate.exception.GenericJDBCException'; // Http Errors var BAD_REQUEST = 400; var UNAUTHORIZED = 401; var FORBIDDEN = 403; var NOT_FOUND = 404; var SESSION_TIME_OUT = 490; var USER_NOT_FOUND = 491; // Messages var DEFAULT_MESSAGE = 'Error while calling the server'; var DB_EXCEPTION_MESSAGE = 'Data Base exception'; var rnltErrorMessages = { 401: { titre: 'IPN Error', message: 'SORRY ! YOUR ARE NOT ALLOWED TO REACH THIS PAGE.\nTHANK FOR YOUR VISIT.', buttonLabel: 'Back to dashboard page', buttonLink: '/' }, 403: { titre: 'Forbidden', message: 'SORRY ! YOUR ARE NOT ALLOWED TO REACH THIS PAGE.\nTHANK FOR YOUR VISIT.', buttonLabel: 'Back to dashboard page', buttonLink: '/' }, 404: { titre: 'URL DOESN\'T EXIST.', message: 'SORRY ! THIS URL DOESN\'T EXIST.\nTHANK YOU FOR YOUR VISIT.', buttonLabel: 'Back to dashboard page', buttonLink: '/' }, 490: { titre: 'Session Timeout', message: 'SORRY ! YOUR SESSION IS CLOSED.\nPLEASE RE-CONNECT.', buttonLabel: 'Back to login page', buttonLink: '/', }, 491: { titre: 'User Not Found', message: 'SORRY ! The user is not found.\nPLEASE RE-CONNECT.', buttonLabel: 'Back to login page', buttonLink: '/', } }; /***/ }), /***/ "./src/app/shared/error/rnlt.error.service.ts": /*!****************************************************!*\ !*** ./src/app/shared/error/rnlt.error.service.ts ***! \****************************************************/ /*! exports provided: RnltErrorService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RnltErrorService", function() { return RnltErrorService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js"); /* harmony import */ var angular_oauth2_oidc__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! angular-oauth2-oidc */ "./node_modules/angular-oauth2-oidc/fesm2015/angular-oauth2-oidc.js"); var RnltErrorService = /** @class */ (function () { function RnltErrorService(router, oAuthService) { this.router = router; this.oAuthService = oAuthService; } RnltErrorService.prototype.redirect = function (errorCode) { this.router.navigateByUrl('/error/' + errorCode); }; RnltErrorService.prototype.isTokenExpired = function () { var currentDate = new Date().getTime(); var tokenExpirationDate = this.oAuthService.getAccessTokenExpiration(); return (tokenExpirationDate && currentDate > this.oAuthService.getAccessTokenExpiration()); }; RnltErrorService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])(), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"], angular_oauth2_oidc__WEBPACK_IMPORTED_MODULE_3__["OAuthService"]]) ], RnltErrorService); return RnltErrorService; }()); /***/ }), /***/ "./src/app/shared/shared.module.ts": /*!*****************************************!*\ !*** ./src/app/shared/shared.module.ts ***! \*****************************************/ /*! exports provided: SharedModule */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SharedModule", function() { return SharedModule; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js"); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/fesm5/common.js"); /* harmony import */ var _authorization_callback_open_id_call_back_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./authorization/callback/open-id-call-back.component */ "./src/app/shared/authorization/callback/open-id-call-back.component.ts"); /* harmony import */ var _template_template_module__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./template/template.module */ "./src/app/shared/template/template.module.ts"); /* harmony import */ var _environment_environment_module__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./environment/environment.module */ "./src/app/shared/environment/environment.module.ts"); var SharedModule = /** @class */ (function () { function SharedModule() { } SharedModule = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"])({ imports: [ _angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterModule"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["CommonModule"], _template_template_module__WEBPACK_IMPORTED_MODULE_5__["TemplateModule"], _environment_environment_module__WEBPACK_IMPORTED_MODULE_6__["EnvironmentModule"] ], declarations: [ _authorization_callback_open_id_call_back_component__WEBPACK_IMPORTED_MODULE_4__["OpenIdCallBackComponent"] ], exports: [ _angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterModule"], _authorization_callback_open_id_call_back_component__WEBPACK_IMPORTED_MODULE_4__["OpenIdCallBackComponent"], _template_template_module__WEBPACK_IMPORTED_MODULE_5__["TemplateModule"] ], providers: [] }) ], SharedModule); return SharedModule; }()); /***/ }), /***/ "./src/app/shared/template/template.component.html": /*!*********************************************************!*\ !*** ./src/app/shared/template/template.component.html ***! \*********************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = "
\n
User: {{userIpn}}
\n \n
\n

\n\n\n" /***/ }), /***/ "./src/app/shared/template/template.component.scss": /*!*********************************************************!*\ !*** ./src/app/shared/template/template.component.scss ***! \*********************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = ".logout {\n color: blue; }\n\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi90cDItYXBwL3NyYy9hcHAvc2hhcmVkL3RlbXBsYXRlL3RlbXBsYXRlLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0UsV0FBWSxFQUFBIiwiZmlsZSI6InNyYy9hcHAvc2hhcmVkL3RlbXBsYXRlL3RlbXBsYXRlLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmxvZ291dCB7XG4gIGNvbG9yOiBibHVlIDtcbn1cbiJdfQ== */" /***/ }), /***/ "./src/app/shared/template/template.component.ts": /*!*******************************************************!*\ !*** ./src/app/shared/template/template.component.ts ***! \*******************************************************/ /*! exports provided: TemplateComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TemplateComponent", function() { return TemplateComponent; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _authorization_authorization_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../authorization/authorization.service */ "./src/app/shared/authorization/authorization.service.ts"); var TemplateComponent = /** @class */ (function () { function TemplateComponent(authorizationService) { this.authorizationService = authorizationService; } TemplateComponent.prototype.ngOnInit = function () { return tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"](this, void 0, void 0, function () { return tslib__WEBPACK_IMPORTED_MODULE_0__["__generator"](this, function (_a) { this.userIpn = this.authorizationService.getUserId(); return [2 /*return*/]; }); }); }; TemplateComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({ template: __webpack_require__(/*! ./template.component.html */ "./src/app/shared/template/template.component.html"), styles: [__webpack_require__(/*! ./template.component.scss */ "./src/app/shared/template/template.component.scss")] }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_authorization_authorization_service__WEBPACK_IMPORTED_MODULE_2__["AuthorizationService"]]) ], TemplateComponent); return TemplateComponent; }()); /***/ }), /***/ "./src/app/shared/template/template.module.ts": /*!****************************************************!*\ !*** ./src/app/shared/template/template.module.ts ***! \****************************************************/ /*! exports provided: TemplateModule */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TemplateModule", function() { return TemplateModule; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _template_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./template.component */ "./src/app/shared/template/template.component.ts"); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js"); var TemplateModule = /** @class */ (function () { function TemplateModule() { } TemplateModule = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"])({ imports: [_angular_router__WEBPACK_IMPORTED_MODULE_3__["RouterModule"]], declarations: [_template_component__WEBPACK_IMPORTED_MODULE_2__["TemplateComponent"]], exports: [_template_component__WEBPACK_IMPORTED_MODULE_2__["TemplateComponent"]] }) ], TemplateModule); return TemplateModule; }()); /***/ }), /***/ "./src/app/validation-specimen/validation-specimen-ts-list/validation-specimen-ts-list.service.ts": /*!********************************************************************************************************!*\ !*** ./src/app/validation-specimen/validation-specimen-ts-list/validation-specimen-ts-list.service.ts ***! \********************************************************************************************************/ /*! exports provided: ValidationSpecimenSequenceService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ValidationSpecimenSequenceService", function() { return ValidationSpecimenSequenceService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); var ValidationSpecimenSequenceService = /** @class */ (function () { function ValidationSpecimenSequenceService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_4__["environment"].apiURL; this.buttonName = 'Common_Buttons.Add_Record'; } ValidationSpecimenSequenceService.prototype.getValidationSequenceData = function (validationSequence) { return this.httpClient.post(this.apiURL + '/getValidationSpecimenSeqList', validationSequence).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (res) { return res; })); }; ValidationSpecimenSequenceService.prototype.refreshGrid = function (validationSpecimen) { var _this = this; this.getValidationSequenceData(validationSpecimen).subscribe(function (result) { _this.setValidationSeqData(result); _this.gridOptions.api.setRowData(result); }); }; ValidationSpecimenSequenceService.prototype.getValidationSpecimenSeqList = function (validationSequence) { return this.httpClient.post(this.apiURL + '/getValidationSpecimenSeqList', validationSequence).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (res) { return res; })); }; ValidationSpecimenSequenceService.prototype.updateValidationSpecimenSeq = function (validationSequence) { return this.httpClient.put(this.apiURL + '/updateValidationSpecimenSeq', validationSequence, { observe: 'response' }); }; ValidationSpecimenSequenceService.prototype.createValidationSpecimenList = function (validationSequence) { return this.httpClient.post(this.apiURL + '/saveValidationSpecimenSeq', validationSequence, { observe: 'response' }); }; ValidationSpecimenSequenceService.prototype.deleteValidationSpecimenSeqList = function (id) { return this.httpClient.delete(this.apiURL + '/deleteValidationSpecimenSeqList/' + id); }; ValidationSpecimenSequenceService.prototype.setValidationSpecimenSeqList = function (gridValidationSpecimen) { this.validationSequence = gridValidationSpecimen; if (this.validationSequence != null) { this.initUpdate(); } else { this.initCreate(); } }; ValidationSpecimenSequenceService.prototype.getValidationSpecimenSeq = function () { return this.validationSequence; }; ValidationSpecimenSequenceService.prototype.initUpdate = function () { this.buttonName = 'Common_Buttons.Update'; }; ValidationSpecimenSequenceService.prototype.initCreate = function () { this.buttonName = 'Common_Buttons.Add_Record'; }; ValidationSpecimenSequenceService.prototype.getGridOptions = function () { return this.gridOptions; }; ValidationSpecimenSequenceService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; ValidationSpecimenSequenceService.prototype.setDisplayDt = function (displayDt) { this.displayDt = displayDt; }; ValidationSpecimenSequenceService.prototype.getDisplayDt = function () { return this.displayDt; }; ValidationSpecimenSequenceService.prototype.generatePDFReport = function (id, language) { var fileName = "validationreport.pdf"; return this.httpClient.get(this.apiURL + '/generateSequenceListPdf?id=' + id + '&language=' + language, { responseType: 'blob' }) .subscribe(function (blob) { if (navigator.msSaveBlob) { navigator.msSaveBlob(blob, fileName); } else { var link = document.createElement('a'); if (link.download !== undefined) { var blobUrl = URL.createObjectURL(blob); link.setAttribute("href", blobUrl); link.setAttribute("download", fileName); link.style.visibility = 'hidden'; document.body.appendChild(link); link.click(); document.body.removeChild(link); } } }); }; ValidationSpecimenSequenceService.prototype.getValidationSeqData = function () { return this.validationSequenceData; }; ValidationSpecimenSequenceService.prototype.setValidationSeqData = function (validationSequenceData) { this.validationSequenceData = validationSequenceData; }; ValidationSpecimenSequenceService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]]) ], ValidationSpecimenSequenceService); return ValidationSpecimenSequenceService; }()); /***/ }), /***/ "./src/app/validation-specimen/validation-specimen.model.ts": /*!******************************************************************!*\ !*** ./src/app/validation-specimen/validation-specimen.model.ts ***! \******************************************************************/ /*! exports provided: ValidationSpecimen */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ValidationSpecimen", function() { return ValidationSpecimen; }); var ValidationSpecimen = /** @class */ (function () { function ValidationSpecimen() { } return ValidationSpecimen; }()); /***/ }), /***/ "./src/app/validation-specimen/validation-specimen.service.ts": /*!********************************************************************!*\ !*** ./src/app/validation-specimen/validation-specimen.service.ts ***! \********************************************************************/ /*! exports provided: ValidationSpecimenService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ValidationSpecimenService", function() { return ValidationSpecimenService; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/fesm5/http.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm5/operators/index.js"); /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts"); var ValidationSpecimenService = /** @class */ (function () { function ValidationSpecimenService(httpClient) { this.httpClient = httpClient; this.apiURL = src_environments_environment__WEBPACK_IMPORTED_MODULE_4__["environment"].apiURL; this.btnName = 'Common_Buttons.Add_Record'; } ValidationSpecimenService.prototype.getValidationSpecimenData = function (validationSpecimen) { return this.httpClient.post(this.apiURL + '/getValidationSpecimenList', validationSpecimen).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (res) { return res; })); }; ValidationSpecimenService.prototype.updateValidationSpecimenOrganisationList = function (validationSpecimen) { return this.httpClient.put(this.apiURL + '/updateValidationSpecimenOrganisationList', validationSpecimen, { observe: 'response' }); }; ValidationSpecimenService.prototype.getGridOptions = function () { return this.gridOptions; }; ValidationSpecimenService.prototype.setGridOptions = function (gridOptions) { this.gridOptions = gridOptions; }; ValidationSpecimenService.prototype.refreshGrid = function (validationSpecimen) { var _this = this; this.getValidationSpecimenData(validationSpecimen).subscribe(function (result) { _this.gridOptions.api.setRowData(result); }); }; ValidationSpecimenService.prototype.createValidationSpecimenList = function (validationSpecimen) { return this.httpClient.post(this.apiURL + '/saveValidationSpecimen', validationSpecimen, { observe: 'response' }); }; ValidationSpecimenService.prototype.checkDuplicateValidationSpecimen = function (validationSpecimen) { return this.httpClient.post(this.apiURL + '/checkDuplicateValidationSpecimen', validationSpecimen, { observe: 'response' }); }; ValidationSpecimenService.prototype.updateValidationSpecimenList = function (validationSpecimen) { return this.httpClient.put(this.apiURL + '/updateValidationSpecimen', validationSpecimen, { observe: 'response' }); }; ValidationSpecimenService.prototype.setValidationSpecimen = function (gridValidationSpecimen) { this.validationSpecimen = gridValidationSpecimen; if (this.validationSpecimen != null) { this.initUpdate(); this.initTestSequence(); } else { this.initCreate(); } }; ValidationSpecimenService.prototype.getUpdateValidationSpecimen = function () { return this.validationSpecimen; }; ValidationSpecimenService.prototype.initUpdate = function () { this.btnName = 'Common_Buttons.Update'; }; ValidationSpecimenService.prototype.initCreate = function () { this.btnName = 'Common_Buttons.Add_Record'; }; ValidationSpecimenService.prototype.initTestSequence = function () { this.seqBtnName = 'Common_Buttons.Test_Sequence'; }; /*For US563 - As a user I shouldn't be able to modify a VS if it is used by a test activity */ ValidationSpecimenService.prototype.checkEngNumMapping = function (validationSpecimen) { return this.httpClient.post(this.apiURL + '/checkEngNumMapping', validationSpecimen, { observe: 'response' }); }; ValidationSpecimenService.prototype.getMappedDataFromActivity = function () { return this.isMappedWithActivity; }; ValidationSpecimenService.prototype.setMappedDataFromActivity = function (isMappedWithActivity) { this.isMappedWithActivity = isMappedWithActivity; }; ValidationSpecimenService.prototype.datelocalSuffix = function (localDate) { if (!localDate) { localDate = new Date(); } var dateStr = JSON.stringify(new Date()); var dateSplitA = dateStr.split('T'); var replaceDateSrt = 'T' + dateSplitA[1].substr(0, dateSplitA[1].length - 1); return replaceDateSrt; }; ValidationSpecimenService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([ Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({ providedIn: 'root' }), tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]]) ], ValidationSpecimenService); return ValidationSpecimenService; }()); /***/ }), /***/ "./src/assets/i18n/en.json": /*!*********************************!*\ !*** ./src/assets/i18n/en.json ***! \*********************************/ /*! exports provided: Input, ExitForms, TestMeansStatus, MPM, Administration, Help, Email_Group, Common_Buttons, Breadcrumb, Errormessage, SelectMessage, Import, Gdpr_Content, SignOutContent, Activity, FailureActivity, TuningEngActivity, EvEngine, Reliability, DeleteWarning, ExtractActivity, BulkUpdate, Choose, Org_Access, Roles_Access, RollActivity, Cancel, Remove, Autofill, BarActivity, Closure, Emission, ValidationSpecimen, Sacre, StopWarning, testbedbutton, DailyEmail, testbedslots, hazard, InstructionForms, ReportsCommonHeaders, TestSequence, ReleaseForm, OtStatus, Astraltestbed, Gpstestbed, coswin, BV, Brap, preventiveSlot, taskReports, ELEC, pems, Closure_Process, HomeScreen, CRRP, VehicleActivity, Directory, copy, TechnicalValidation, customerPoll, vhActivity, default */ /***/ (function(module) { module.exports = {"Input":{"Title":"Input","Activity":"Activity","Test":"Test","ActivityTestBedTitle":"Please select the TestBed","VehicleActivities":"Vehicle Activities"},"ExitForms":{"Title":"Exit Forms"},"TestMeansStatus":{"Title":"Test Means Status","Testbed_Status":{"Title":"Testbed Status"},"Hazardsmanagement":{"Title":"Hazards Management "},"Hazardshistory":{"Title":"Hazard History"}},"MPM":{"Title":"MPM","Referential":{"Title":"Referential","MaintenanceSuppliers":{"Title":"Maintenance Suppliers","MaintenanceSupplier":"Maintenance Suppliers","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?","colour":"Colour"},"MaintenanceTask":{"Title":"Maintenance Task","MaintenanceSupplier":"Maintenance Suppliers","Periodicity":"Periodicity","Type":"Type","Task":"Task","Duration":"Duration","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?","selectMessage":{"duration":"Select the duration"}},"PreventiveMaintenances":{"Title":"Preventive Maintenance","PreventiveMaintenance":"Preventive Maintenance","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?"},"StopDuration":{"Title":"Maintenance Task Duration","StopDuration":"Stop duration","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?"},"PrestationCompanies":{"Title":"Prestation Companies","PrestationCompanies":"Prestation Companies","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?"}},"Testbedslots":{"Title":"Testbed Slots"},"TaskReports":{"Title":"Task Reports"}},"Administration":{"Title":"Administration","Referential":{"Title":"Referential","Buildings":{"Title":"Buildings","Building":"Building","Site":"Site","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","Inactive":"Inactive ?","Warning_Msg":"Building is mandatory","Already_Exist":"This Building already exists!"},"Sites":{"Title":"Sites","Site":"Site","Code":"Site Code","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?","Warning_Msg":"Site is mandatory","Warning_Msg2":"Site Code is mandatory","Warning_Msg3":"Site Code is invalid","Already_Exist":"This site already exists !","Duplicate":"This already exists!","Coswin":"Coswin","linkedTestBedAlert":"This site contains a testbed"},"Means":{"Title":"Means","Mean":"Mean","Map":"Map","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?","Duplicate":"This already exists!","Warning_Msg":"The mean is mandatory","Already_Exist":"This mean already exists!","Warning_Msg1":"The map is mandatory"},"Perimeters":{"Title":"Perimeters","Perimeter":"Perimeter","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?","Duplicate":"This already exists!","Warning_Msg":"The perimeter is mandatory","Already_Exist":"This perimeter already exists!"},"Teams":{"Title":"Teams","Team":"Team","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?","Duplicate":"This team already exists!","Warning_Msg":"The team is mandatory","Already_Exist":"This team already exists!"},"Campaigns":{"Title":"Campaigns","Campaign":"Campaign","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?","Warning_Msg":"The campaign is mandatory.","Duplicate":"This campaign already exists!"},"Client_Directions":{"Title":"Customer Directions","Client":"Customer Direction","CostCenter":"Cost Center","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?","Already_Exist":"This customer direction already exists !","Warning_Msg1":"The customer direction is mandatory","Warning_Msg2":"The cost center is mandatory."},"BaR_Campaigns":{"Title":"BwR Campaigns","BaR":"Campaign","Buisness":"Business Code","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","Inactive":"Inactive ?"},"BwR_Program_Lines":{"Title":"COP Program Lines","BwR":"COP Program Lines","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?"},"Batch":{"Title":"Batches","Batch":"Batch","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?","Warning_Msg":"The batch is mandatory","Already_Exist":"This batch already exists !"},"TestBed":{"Title":"Testbed","Header_1":"Global information of the test mean","Header_2":"Technical information on the capability of the test mean","Header_3":"Performance of test means","Header_4":"Code Interface and Correspondence for the automation of data between IS","Means":"Mean","Bench":"Bench","Process":"Process","Perimeter":"Perimeter","Team":"Team","Function":"Function (hrs)","FSS":"FSS (Friday / Saturday / Sunday)","Organisation":"Organization","Brake":"Generator / Brake","Type":"Technical type","Power":"Power (Kw) / torque (Nm) / speed (rev / min)","Start":"Starter start","Line":"Exhaust Line Vehicle (not bent)","Signature":"Vibratory signature","Distribution":"Distribution: Flex = Petrol / diesel / Ethanol 100% / Methanol 20%","Computer":"Computer control system","Option_Route":"Option Road Law (Full/Light/N) ","Option_Sweep":"Options: Adap OnLine / Resp controller / Flex Sweep","Option_Clutch":"Option embrayage rig clutch","Option_RTC":"Option: Real Time Controller (RTC)","Condition":"Cell temperature condition","Rapid":"Macération rapide de …à … (pistolet azote, souflage)","Comburant":"Combustible air (25 ° / 40%)","Analysis_Upstream":"Analysis upstream gas 5 gas (cold Nox)","Analysis_Upstream_CH4":"Analysis of upstream gases cata 5 gas + CH4 (cold NOx) + CO2 EGR","Analysis_Upstream_CH4_NO2":"Analysis of upstream gases cata 5 gas + CH4 + NO2 (hot NOx) + CO2 EGR","Analysis_Downstream_CH4":"Analysis of downstream gas cata 5 gas + CH4 (cold NOx) + CO2 EGR","Analysis_Downstream_CH4_NO2":"Analysis of downstream gas cata 5 gas + CH4 + NO2 (hot NOx) + CO2 EGR","Analysis_Gases":"Analysis of the diluted gases (CO + CO2 + NOx + HC)","AVL":"AVL 415S Smokemeter","Opacimeter":"Opacimeter AVL 439 (particle mass)","Tunnel":"Tunnel + mass + PN probe (particle number)","HLMS":"HLMS (measurement 9 gas piping) heated line selector","Time_Capacity":"Time capacity","Index":"TPM Index","Testbed_Warning_Msg":"Test bed already selected","Designation":"Designation","Domain_Expertise":"Domain Expertise","Test_Type":"Test Type","Creation_Year":"Creation Year","Technical_Parameter":"Technical Parameter","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?","duplicate":"Duplicate","teamNumber":"Team Number"},"CampaignAssociation":{"Title":"Campaign Administration","Campaign":"Campaign","Site":"Site","Mean":"Mean","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","Active":"Active ?"},"Services":{"Title":"Services","Service":"Service","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?","Warning_Msg":"The service is mandatory.","Already_Exist":"This service already exists!"},"SpecimenType":{"Title":"Specimen Type","SpecimenType":"Type of Specimen","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?","Warning_Msg":"The type of specimen is mandatory.","Already_Exist":"This type of specimen already exists!","Select_msg":"Select type of specimen"},"RsType":{"Title":"RS Type","SpecimenType":"Type of RS","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?","Warning_Msg":"The type of RS is mandatory.","Already_Exist":"This type of RS already exists!","Select_msg":"Select type of RS"},"MobileDevice":{"Title":"Mobile Device","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?","Warning_Msg":"The mobile device is mandatory.","Already_Exist":"This mobile device already exists!","Select_msg":"Select mobile device"},"Milestone":{"Title":"Milestones","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?","Warning_Msg":"The milestone is mandatory.","Already_Exist":"This milestone already exists!","Select_msg":"Select milestone","Color":"Colour","Select_msg2":"Select colour"},"Shifts":{"Title":"Shifts","NumberOfTeams":"Number of teams","NumberOfHours":"Number of hours","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?","Warning_msg_teams":"Number of teams is mandatory","Warning_msg_hours":"Number of hours is mandatory","Warning_validation_teams":"Number of teams is invalid","Warning_validation_hours":"Number of hours is invalid","Already_Exists":"This shifts already exists!"},"Fuel":{"Title":"Fuel","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?","Already_Exists":"This fuel already exists!","Warning_Msg":"The fuel is mandatory."}},"LevelsReferential":{"Title":"Levels Referential","Levels_Admin":{"Title":"Levels Administration","Type":"Activity Type","Mean":"Mean","Level1":"Level1","Level2":"Level2","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?"},"Level_0":{"Title":"Level 0","Type":"Activity Type","Test":"Test ?","Failure":"Failure ?","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","Inactive":"Inactive ?"},"Level2":{"Title":"Level 2","Level2":"Level 2","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","Inactive":"Inactive ?"},"Level1":{"Title":"Level 1","Level1":"Level 1","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","Inactive":"Inactive ?"},"StoppageType":{"Title":"Type of Stoppage","activityType":"Activity Type","stoppage_Type":"Type of Stoppage","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","Inactive":"Inactive ?","stoppagemsg":"Select Type of Stoppage","failure":"Type of failure","failuremsg":"Select Type of failure"}},"Prestations_And_Procedures":{"Title":"Prestations And Procedures Referential","Admin":{"Title":"Prestations and Procedures Administration","Mean":"Mean","Procedure":"Procedure","Prestation":"Prestation","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?"},"Prestation":{"Title":"Prestations","Prestation":"Prestation","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?"},"Procedure":{"Title":"Procedures","Procedure":"Procedure","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","Active":"Active ?"},"MacroActivity":{"Title":"Macro Activity","macro":"Macro Activity","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","Active":"Active ?"}},"BarReferentiel":{"Title":"BwR Referential","BwR_Program_Lines":{"Title":"COP Program Lines","BwR":"COP Program Lines","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?"},"BWR_PreStation":{"Title":"BAR COP Prestation","BwR":"BAR COP Prestation","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?"},"BarCopActivityDuration":{"Title":"BAR COP Activity Duration","activityType":"Activity Type","Variant":"Variant","Interpolationfamily":"Interpolation Family","Site":"Site","testType":"Test Type","Duration":"Activity Duration","IPN":"IPN","ActivityDuration":"Activity Duration","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?","message":"Click here to see incomplete date","SelectMessage":{"activityType":"Select activity Type","functionality":"Select the function","site":"Select the Site"},"dropdown":{"Contains":"Contains","NotEmpty":"Not Empty","Equals":"Equals","Beginswith":"Begins with","NotEquals":"Not Equals"},"dialog":{"dataMessage":"Calculated activity duration is","apply":"do you want to apply?"}}},"TestBedReferential":{"Title":"Testbed Referential","Testbedtypecomplementassociations":{"Title":"Testbed Type - Complement Association","Testbedtype":"Testbed type","Testbedcomplement":"Testbed type complement","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?"},"Testbed_Type":{"Title":"Testbed Type","Testbedtype":"Testbed Type","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?"},"Sectors":{"Title":"Sector","Sector":"Sector","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?"},"Testbedcomplements":{"Title":"Testbed type complement","Testbedcomplement":"Testbed type complement","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?"},"Exploitants":{"Title":"Exploitants","Label":"Exploitants","Testbedcomplement":"Testbed type complement","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?","Color":"Colour"},"VhTechnicalParam":{"Title":"Vehicle Technical Parameter","VhTechnicalParam":"Vehicle Technical Parameter","VhTechnicalParamT":"Vehicle Technical Parameters","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?"},"Intersystem":{"Title":"Intersystem uses","Intersystem":"Intersystem use","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?"},"ExternalCoswin":{"Title":"External Coswin","ExternalCoswin":"External Coswin","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?"},"TestType":{"Title":"Test Type","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?"},"OsVersion":{"Title":"OS Versions","osVersion":"OS Version","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?"},"ExpertiseDomain":{"Title":"Expertise Domain","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?"}},"HRReport":{"Title":"HR Report"},"TestBedMigration":{"Title":"Testbed Migration","sourceMean":"Source Mean","targetMean":"Target Mean","meanSelect":"Choose a Mean","organisation":"Organisation","organisationSelect":"Choose an Organisation"}},"Help":{"Title":"?","help":{"Title":"Help","DocTitle":"Document Title","Language":"Language","Warning_Msg":"Document Title is mandatory.","Already_Exist":"A file with this title has already been added!.","Warning_Msg_Lang":"Language is mandatory.","File_Invalid":"Please select the valid file!.","File_Size_Invalid":"The maximum file size should be 10MB!.","File_Size_Invalid_15Mb":"The maximum file size should be 15MB!.","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","Drag_In_Title":"Import or drag file here","Drag-Over-Title":"Drop the file","Modal_Title":"Create Help"},"Directory":{"Title":"Directory","DirectoryIPN":"IPN","fName":"First Name","lName":"Last Name","role":"Role(s)","email":"Email","phoneNo":"Phone Number","comment":"Comment","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","Profile":"Profile","active":"Active ?","Search":"Search","Clear":"Clear","Not_Available":"Cannot find this user","Duplicate":"This user is already in the directory","DistributionList":{"Title":"Distribution List","AvailableEmailId":"Available Recipients","SelectedEmailId":"Selected Recipients","AlertEmailRecipients":"Alert email recipients (Checked users will receive the daily email)","SearchHere":"Name or IPN","DailyEmailRecipients":"Daily email recipients","AvailableGroup":"Available Group","AlertMailGroup":"Alert Email Groups"},"Level0":{"Title":"Activity Type","AvailableLevel0":"Available Activities","SelectedLevel0":"Selected Activities","Search":"Search Activities"}},"Profile":{"Title":"Profiles","selectType":"Select Type","exploitants":"Exploitants","prep_Instrum_planif":"Prep, Instrum & Planif","Partner":"Partner","Maintenance":"Maintenance","Others":"Others","Profile":"Profile","Type":"Type","AssociatedActivities":"Associated Activities","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","Active":"Active ?","Duplicate":"This profile is already exists","errorProfile":"Profile is required","errorType":"Type is required","Level0":{"Title":"Activity Type","AvailableLevel0":"Available Activities","SelectedLevel0":"Selected Activities","Search":"Search Activities"}},"Preference":{"Title":"Preferences","meanSelect":"Choose a Mean","testbedSelect":"Choose a Testbed","languageSelect":"Choose a Language","siteSelect":"Choose a Site","language":"Language","preference":"My Preferences","site":"Site","mean":"Mean","testbed":"Testbed","reloadHint":"Will take effect from the next login session"}},"Email_Group":{"EmailGroup":"Email Group","CreateGroup":"Create","GroupName":"Group Name ","addGroup":"Add Group","Save":"Save","Delete":"Delete Group","ViewGroup":"View Group","AddUserToGroup":"Add User","CreatedBy":"Created By","selectGroupToAddUser":"Please select group to add user to the Group","selectGroupToDelete":"Please select group to delete","GroupList":"Group List : ","groupAlreadyExist":" already exist .","emailGroupSelect":"Select Email group","AlertEmailRecipients":"Alert email recipients","DL":"There are no email recipients for this selected group. Please add recipients to the Email group.","ValidGroupName":"Please enter valid Group Name.","ModifyParticularGroup":"Modify Group","Site":" Site : ","emailModifyGroupSelect":"Please Select Group To Modify"},"Common_Buttons":{"Save":"Save","Add_Record":"Create","Extract":"Extract","Delete":"Delete","Organisation_Map":"Organisation Map","Cancel":"Cancel","Success":"Success","Fail":"Failed","Add":"Add","Active":"Active ?","Yes":"Yes","No":"No","Update":"Modify","Open":"Open","Ok":"Ok","Duplicate":"Duplicate","MulitipleDuplicate":"Multiple Duplicate","MultipleDelete":"Multiple Delete","Create":"Create","Fixed":"Fix","Release":"Release","freezeMsg":"Are you sure you want to freeze the validation date?","Remove":"Remove","technical_validation":"Technical Validation","slot_unavailable":"The slot is already booked on ","Confirm":"Confirm","Test_Sequence":"Test Sequences","Upload":"Upload","Present":"Presentation Mode","Restore":"Stop Presentation Mode","NC":"NC","SelectAll":"Select All","CR-RPP_Extract":"CR-RPP Extract","Send":"Send","migrate":"Migrate"},"Breadcrumb":{"Home":"Home","Administration":"Administration","Referential":"Referential"},"Errormessage":{"level2_mandatory":"The level 2 is mandatory.","level2_existing":"This Level 2 already exists ! ","level0_mandatory":"The Activity type is mandatory.","level0_existing":"This Activity Type already exists !","level1_mandatory":"The level 1 is mandatory.","level1_existing":"This Level 1 already exists !","MandatoryErrorMsg":"This field is mandatory.","IPN_FName_LName_ErrorMsg":"The IPN or First Name or Last Name is mandatory.","site_mandatory":"Site is mandatory","code_mandatory":"Site Code is mandatory","code_invalid":"Site Code is invalid","testBed_mandatory":"Testbed is mandatory","barprogramlines_mandatory":"The COP Program Lines field is mandatory","barprogramlines_existing":"This COP Program Lines already exists !","procedure_mandatory":"The procedure is mandatory.","procedure_existing":"This Procedure already exists ! ","invalid_text":"Invalid Input","mean_mandatory":"The Mean is mandatory.","association_exists":"This association already exists.","prestation_mandatory":"The prestation is mandatory.","prestation_existing":"This Prestation already exists ! ","testBed_label_mandatory":"Testbed label is mandatory","means_mandatory":"Mean is mandatory","building_mandatory":"Building is mandatory","team_mandatory":"Team is mandatory","function_mandatory":"Function is mandatory","fss_mandatory":"FSS is mandatory","service_mandatory":"Service is mandatory","organisation_mandatory":"Organisation is mandatory","testbed_exists":"This testbed already exists !","db_common_Error_Msg":"Something went wrong. Please contact Administrator","extract_reduce_testbeds_Msg":"Please select lesser date range or less number of testbeds.","api_Unauthorize_Msg":"Session timeout!. Please reload the application","campaign_mandatory":"The campaign is mandatory","barprestationlines_mandatory":"The prestation field is mandatory","barprestationlines_existing":"This prestation already exists !","testbedtype_mandatory":"The testbedtype field is mandatory","testbedtype_existing":"This testbedtype already exists !","exploitable_mandatory":"The Exploitable is mandatory.","sector_mandatory":"The sector is mandatory","sector_existing":"This sector already exists!","testbedcomplement_mandatory":"The testbed type complement is mandatory","testbedcomplement_existing":"This testbed type complement already exists!","maintenancesupplier_mandatory":"The maintenance supplier is mandatory","maintenancesupplier_existing":"This maintenance supplier already exists!!","common_form_invalid":"Please check the given data","teamNumber_mandatory":"The Team Number is mandatory","engHourErrorMessage":"Must be format of XXXX.YY","engHourKMVHErrorMessage":"Must be format of XXXXXX.YY","activeDurationErrorMessage":"Must be format of XX.YY","InvalidHour":"Must be format of HH.MM","preventivemaintenance_mandatory":"The Preventive Maintenance is mandatory.","preventivemaintenance_existing":"This Preventive Maintenance already exists!!","validationSpecimen_mandatory":"The validation specimen is mandatory!","validationSpecimen_existing":"This validation specimen already exists!","stopDuration_mandatory":"The Stop duration is mandatory!","stopDuration_existing":"This Stop duration already exists!","barCopActivityDuration_existing":"This BARCOP Activity Duration already exists!","prestationCompanies_existing":"This Prestation Company already exists.","prestationCompanies_mandatory":"The Prestation Company is mandatory.","exploitant_mandatory":"The Exploitant is mandatory.","exploitant_existing":"This Exploitant already exists!.","periodicity_mandatory":"The Periodicity is mandatory.","maintenanceTask_existing":"This maintenance task already exists!","type_mandatory":"The type is mandatory.","color_existing":"This colour already exists!","color_warning":"Please select any other colour","testBed_DD":"Choose the value from dropdown..!","milestone_existing":"This milestone already exists!!","macro_mandatory":"The macro activity is mandatory","macro_existing":"This macro activity already exists!","vhTechParam_mandatory":"The Vehicle technical parameter is mandatory !","vhTechParam_existing":"This Vehicle technical parameter already exists !","stoppage_exist":"This Type of stoppage already exists","interSystem_mandatory":"The Intersystem use is mandatory!","interSystem_existing":"This Intersystem use already exists!","extCoswin_mandatory":"The External Coswin is mandatory!","extCoswin_existing":"This External Coswin already exists!","testType_mandatory":"The Test Type is mandatory!","testType_existing":"This Test Type already exists!","osVersion_mandatory":"The OS Version is mandatory!","osVersion_existing":"This OS Version already exists!","expertiseDomain_mandatory":"The Expertise Domain is mandatory!","expertiseDomain_existing":"This Expertise Domain already exists!","noCopy":"Note : Panne ME activities will not be copied","noDuplicate":"Note : Panne ME activities will not be duplicated","app_migration":"Application Migration Notice","app_migration_url":"The application is migrated to new URL.","app_access_tpm":"Please click the below URL to access the TPM"},"SelectMessage":{"selectmap":"Select Map","selectsite":"Select Site","selectlevel0":"Select Activity Type","selectlevel1":"Select Level 1","selectlevel2":"Select Level 2","selectmeans":"Select Mean","selectprocedure":"Select Procedure","selectprestation":"Select Prestation","selectcampaign":"Select Campaign","selectTypeOfTest":"Select Type Of Test","selectbuilding":"Select Building","selectteam":"Select Team","selectservice":"Select Service","selectperimeter":"Select Perimeter","selectlot":"Select Lot","selectlanguage":"Select Language","selectExploitable":"Select Exploitable","selecttestbedtype":"Select Testbed type","selecttestbedcomplement":"Select Testbed type complement","selectOrganisation":"Select Organisation","selectOrderNumb":"Select Order Number","selectExploitant":"Select Exploitant","Selectstarttime":"Start Time","Selectendtime":"End Time","testbedType":"Select the Testbed type","testbedComp":"Select the Testbed type complement","sector":"Select the Sector","Program_Line":"Select Program Line","Feb_Num":"Select Feb Number","selectmacro":"Select Macro Activity","Shift":"Select Shift","stoppagemsg":"Select Type of Stoppage"},"Import":{"Import":"Import","LevelAdminSuccess":"Level associations imported successfully"},"Gdpr_Content":{"p1":"In accordance with the Data Protection Laws, RENAULT acts as the data controller.","p2":"As part of the use of TPM software, RENAULT collects and processes some of the personal data, only your IPN, extracted from the ARCA system, intended exclusively for the management and project monitoring of Renault employees as part of their mission. The Personal Data processed is exclusively for Renault.","p3":"In no case, the data collected by the TPM software will be used as a basis for an individualized monitoring of the employee working on a project or will be used against the employee in the case of a disciplinary sanction.","p4":"The data collected via the TPM software are kept for the duration of the project. At the end of the project, the data will be anonymized. These data, once anonymized, can be used in other projects.","checkBox":" I certify that I am aware that in the framework of my mission for this project, my personal data are collected and are not the subject of any individualized monitoring."},"SignOutContent":{"displayMessage":"Are you sure you want to sign out of TPM2 ?","SignOut":"Sign Out"},"Activity":{"Date":"Date","EngTime":"Engine Time","Activity_Type":"Activity Type","Activity_Duration":"Activity Duration","Exploitable":"Exploitable","Level_1":"Level 1","Level_2":"Level 2","Comments":"Comments","ActivityGreen":"Full day","ActivityYellow":"Activity duration missing","ActivityRed":"Day overload","Hours":"Hours","essNb":"ESS number","Seq_Num":"Sequence Number","BV_RLCE":"RLCE","TOH":"TOH","Procedure":"Procedures"},"FailureActivity":{"Date":"Date","EngHours":"Engine Hours","ActivityType":"Activity Type","ActivityDuration":"Activity Duration","OperatorIPN":"Operator IPN","Level1":"Level 1","Level2":"Level 2","Enginenb":"Engine number","EngineDT":"Engine D.T","RStype":"RS type","OTnumber":"OT number","OTstatus":"OT status","Pointsnumber":"Points number","Calibration":"Calibration","Soft":"Soft","DCM":"DCM","Prestation":"Prestation","Procedures":"Procedures","Perimeter":"Perimeter","Programline":"Program line","FEBnb":"FEB number","Campaign":"Campaign","TypeOfTest":"Type of Test","Customerdirection":"Customer direction","Comment":"Comment","orderNumber":"Order Number"},"TuningEngActivity":{"Cameo":"Test CAMEO/TST","TestNumber":"Test number"},"EvEngine":{"TestSupport":"Test Support","DI":"D.I.","VsNb":"VS number","RealNb":"Realignment number","Procedure":"Procedures/Test type"},"Reliability":{"Enghours":"Engine Hours","Exploitable":"Exploitable","Customer_request":"Customer request","BvRequest":"F.A / D.E number","TestNumber":"Test number","Procedures/Test type":"Procedures/Test type","Programline":"Program line","Realignment":"Realignment number","di":"D.I","calibration":"Calibration","perimeter":"Perimeter"},"DeleteWarning":{"message":"Are you sure you want to delete?","deleteForDistributionList":"The distribution list is now empty. Do you wish to continue?"},"ExtractActivity":{"startDate":"Select Start date","endDate":"Select End date","errStartDate":"Start date is mandatory","errEndDate":"End date is mandatory","updateWarning":"Unsaved changes will be lost. Do you wish to exit the page?","Update_only_this":"Only this testbed's activities","newStartDate":"Select date of meeting"},"BulkUpdate":{"Bulk_Update":"Multiple Update","Choose_Date":"Choose a date","From":"From","To":"To","Choose_Activity_Type":"Choose an activity type","Activity_Type":"Activity type","Field_Modify":"Field to modify","Field_Name":"Field Name","Update_Activities":"Update all activities?","Field_Value":"Field Value","campaigns":"Campaigns","Save":"Save","Cancel":"Cancel"},"Choose":{"message":"Are you sure you want to change the Activity Type?"},"Org_Access":{"errMsg":"You are not assigned to an organisation. Please contact your administrator."},"Roles_Access":{"errMsg":"You are not assigned to an Roles. Please contact your administrator."},"RollActivity":{"Astral":"Astral Request / Test N°","Vets":"Vetsone N°"},"Cancel":{"Warningmessage":"Do you want to discard your changes?","title":"Cancel"},"Remove":{"message":"Are you sure you want to delete?"},"Autofill":{"Type":"Type","Wave":"Wave","Number":"Number","Calibration":"Calibration","Program_Line":"Program Line","FEB_Number":"FEB Number","Engine_DT":"Engine DT","RS_Type":"RS Type","Customer_Direction":"Customer Direction","Prestation":"Prestation","Select_Customer":"Select Customer Direction","EngNumber":"Engine Number","Auto_Engine":"Auto Engine Time","MacroActivity":"Macro Activity","TestRequestnumber":"Test Request number","project":"project","projectMilestone":"Project Milestone","procedureNumber":"Test Procedure number","logo":"Logo SR","ddmrsRequest":"DDMRS request","requesterDepartment":"Requester Department","entity":"Entity (sch3 / RSA)","startDate":"Test Start Date","engagementEndDate":"Test Engagement End Date","ipn":"Operator IPN"},"BarActivity":{"Common":{"mileage":"Vehicle Mileage","orderNumber":"Order Number","vehDT":"Engine","procedure":"Procedure/Test type","norm":"Norm","service":"Client Service","operator":"Operator","Customer_request":"Customer request"},"NoCOP":{"workshop":"Vehicle Reference","temperature":"Temperature","vehReference":"Vehicle Type","astralNumber":"Astral Request Number","testNumber":"Astral Test Number","altitude":"Altitude"},"Update_ASTRAL_tests":"Update ASTRAL tests","UpdateAstralDate":"Select Date","COP":{"vehReference":"Manufacture Number","astralNumber":"Astral Request Number","testNumber":"Astral Test Number","variant":"Variante","family":"Interpolation Family"}},"Closure":{"CloseBench":"Close bench","ErrSelectDate":"Please select a date","MsgForClosure":"Bench closed until","OutOfOrder":"Out of order","BenchClosure":"Bench Closure","ChooseClosure":"Please Choose your closure type","FermiErrMsg":"The activity type 'Ferme' is not available.","Reopen":"Reopen"},"Emission":{"ServiceClient":"Service Client","FermiErrMsg":"The activity type 'Ferme' is not available."},"ValidationSpecimen":{"Title":"Validation Specimen","SpecimenType":"Type of specimen","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?"},"Sacre":{"ESSNotFound":"GPS does not recognise this ESS number","empty":"ESS number is empty","selectActivity":"Select Activity Type","toolTip":"Click here to get information from GPS"},"StopWarning":{"label":"Stop Warning","stopDuration":"Stop duration","stoppage":"Type of stoppage","stoppagemsg":"Select Type of Stoppage","failure":"Type of failure","failuremsg":"Select Type of failure","description":"Description of the stop","pilot":"Pilot","actionPlan":"Action Plan","restartDate":"Restart Date","partRequest":"Request a part","ot":"OT Number","epselon":"Epselon Number","save":"Save and send email alert for stopping","resend":"Send update","update":"Save and send email alert for restarting","DL":"There are no email recipients for this testbed. Please add recipients to the distribution list.","ImproperDl":"No recipient is associated to this type of stoppage.","Engnb":"Engine number","summary":"Stoppage Summary","interventionNumber":"Intervention number"},"testbedbutton":{"Testbedactions":"Testbed actions","Autofill":"Autofill","Alertemail":"Alert email","Instructions":"Instructions","DailyMail":"Daily Email","Group":"Group","ReorderDate":"Click here to reorder activities of a particular date","TechnicalValidation":"Click here to choose a technical validation date"},"DailyEmail":{"heading":"Daily Email","send":"Send","activityCarried":"Activities carried out","planned":"Planned schedule","blocking":"Blocking points","nonBlocking":"Non-blocking points","crossCheck":"Cross check points"},"testbedslots":{"create":"Add a testbed slot","testbedSelect":"Select Testbed","blockSlot":"Block slot for the entire day? (6H - 23H)","comments":"Comments","changetime":"Please choose an end time after ","slot_date":"Slot date","startDate":"Start Date","endDate":"End Date","clearFilter":"Clear Filters","search":"Search","testbedSlot":"Testbed Slot","deleteConfirm":"Are you sure you want to remove this slot?","slotDetails":"Slot Details","searchTask":"Search Tasks","accept":"Accept","reject":"Reject","accept/reject":"Accept/Reject","searchTasks":"Search Tasks","availableTasks":"Available Tasks","selectedTasks":"Selected Tasks"},"hazard":{"bench":"Bench / PEMS","priority":"Priority","teamLeader":"Team Leader","indus":"Indus / Hors Indus","suppportIdentification":"Support identification engine number / vehicle","benchStatus":"Bench status","hazardType":"Type of hazard","hazardDescription":"Hazard description","hazardPilot":"Hazard Pilot","contributor":"Contributor","actionPlan":"Action plan","completionDate":"Action plan completion date","reopenData":"Bench reopen date","firstAlertEmail":"Date and time of 1st alert email","stopDurationInDays":"Stop duration in days","lastUpdateDate":"Last update date","lastUpdateBy":"Last update by"},"InstructionForms":{"dateOfInstruction":"Date of instructions","recipient":"Recipient","dateOfIntervention":"Date of the intervention","instruction":"Instruction","Cameo":"Caméo","BSQcycle":"BSQ cycle:","BSQcaméo":"BSQ caméo:","fortheRGNtest":"For the RGN test:","soft":" Soft:","calib":"Calib:","forthecycle":"For the cycle:","toDoList":"To Do List","remarks":"Remarks","title":"Instructions","puma":"Puma","softandCarto":"Soft & Carto","deleteConfirm":"Are you sure you want to remove this Instruction?","instruction_existing":"This Instruction already exists!"},"ReportsCommonHeaders":{"CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdatedBy":"Last Updated By","CreatedBy":"Created By"},"TestSequence":{"Date":"Date","Person":"Person","ClockTime":"Clock time(HH.MM)","SequenceDuration":"Duration(HH.MM)","EngHours":"Engine hours","Oil":"Réf H.mot / H.Oil","OilHours":"Oil Hours","OilChange":"Oil Change","OilQuantity":"Oil quantity","AirFilter":"Air filter","FuelFilter":"Fuel filter","Essai":"AV/DIT/FI/ESSAI/OT","Comments":"DT Specific comments","Instructions":"Passage Instruction","Calibration":"Calibration","Level2":"Level 2","Back":"Go back to the list of VS"},"ReleaseForm":{"Title":"Release_Forms","btnName":"Release Forms","exitFormNum":"Exit Form Number :","mean":"Mean","engineType":"Engine type","indice":"Indice","wave":"Wave","engineNumber":"Engine Number","engineHours":"Engine Hours","benchNumOfEngRelease":"Bench number of engine release","benchReleaseDate":"Bench release date","glycolChange":"Glycol change","oilChange":"Oil change","testLogistPilot":"Test Logistics Pilot","telephone":"Telephone","prvExploitant":"Previous EXPLOITANT (Renault or STT)","motorAssignTo":"Motor assigned to (optional)","testPilot":"Test pilot","lastTestReq":"Last test requester (customer)","crossBenchTech":"Cross bench technician","engMonitorAfter":"Engine monitoring after bench release","observations":"Observations","motorConfigBenchOp":"Motor configuration at the bench output (DT and instrumentation)","instrmentOrPreInst":"Instrumentations or pre-instrumentations present","missingComp":"Missing components or DT developments (Calculator, injector, spark plug, Exhaust…)","engineControl":"Engine Control","highlightTestCampaign":"HIGHLIGHTS OF THE TEST CAMPAIGN","recurringProblem":"Recurring problem","visualCondofEng":"Visual condition of the engine","PhotoReleaseFormBench":"PHOTOS of the engine at its release from the bench","formNumber":"Form Number","bench":"Bench","fileName":"File Name","lastUploadedDate":"Last Uploaded Date","lastUploadedBy":"Last Uploaded By","downloadConfirmMsg":"Are you sure you want to download the file?","fileErrorMsg":"PHOTOS of the engine is mandatory!!","number":"NUMBER"},"OtStatus":{"otNumber":"OT Number","oTstatus":"OT Status","otType":"OT Type","equipmentName":"Equipement","otParent":"OT Parent code","creatDate":"Creation date","ipn":"Operator IPN","updateDate":"Last update date","activityDuration":"Total Activity Duration"},"Astraltestbed":{"Astralbancid":"Astral Testbed Id","Site":"Site","Label":"Label","UET":"UET","Pollu":"Pollu","Number":"Number of Places","Application":"Application","testbedId":"Testbed ID","tabHeader":"From Astral"},"Gpstestbed":{"Testbedtype":"Testbed type","Testbedcomplement":"Testbed complement","Identifier":"Identifier","Ispool":"Is pool","Defaultpool":"Default pool","Externalresource":"External resource","Sector":"Sector","GpsUpdatedate":"GPS Update date","tabHeader":"From GPS"},"coswin":{"Family":"Family","Equipmentcode":"Equipment code","Equipmentlabel":"Equipment label","Function":"Function","Area":"Area","Responsible":"Responsible","Typology":"Typology","Operatingtime":"Operating time","Numberofdays":"Number of days","Entitycode":"Entity code","System":"System","ExternalCoswin":"External Coswin"},"BV":{"hours":"Gearbox Hours","engNum":"Gearbox Number","engineDT":"Gearbox D.T"},"Brap":{"engHours":"KM VH","engNum":"QFV number"},"preventiveSlot":{"plannedDate":"Planned Date","testbed":"Testbed","maintenanceType":"Type of Preventive Maintenance","periodicity":"Periodicity","preventiveSlots":"Preventive Slot","selectMaintenance":"Select Preventive Maintenance","alreadyExists":"This Preventive Maintenance slot already exists!","next_Maintenance":"Next Maintance Planned","showMaintenanceLabel":"Show Preventive Maintenance","hideMaintenanceLabel":"Hide Preventive Maintenance","filter":"Filter","clear":"Clear"},"taskReports":{"date":"Planned delay"},"ELEC":{"engNum":"VS number","engineDT":"VS DT"},"pems":{"workshop":"Workshop Number","regulation":"Regulation","testNum":"Test Number / DI","vehicleDT":"Vehicle DT","vehicleRef":"Vehicle Reference","vehicleProgram":"Vehicle Program","procedure":"Procedure","serviceClient":"Service Client","comments":"Comments"},"Closure_Process":{"Ferme":"Bench Closure","Banc":"Bench Unavailable","Hors":"Out of process"},"HomeScreen":{"TestbedExtract":"Extract Testbed Activities","SpotFireReport":"Spotfire Reports TM","ReportNotFound":"No reports found","SpotFireReportTV":"Spotfire Reports TV"},"CRRP":{"Prerequisites":"Prerequisites","QCNumber":"QC Number","FebNumber":"FEB Number","Attendance":"Attendance","Indicators":"Indicators","Present":"Present ?","Title":"Summary Report - Partner Meeting Report","DesiredTBF":"Desired TBF","UtilisedTBF":"Utilised TBF","Comments":"Project Partner(s) return(s)","TBFFollowUp":"TBF Follow-Up","Selectmilestone":"Select Milestone","milestone":"Milestone","Week":"Week","TBFSum":"TBF Sum","TBFRemaining":"TBF Remaining","year":"Year","update":"Update Information","Plannification":"Test Mean / Engine Planning Intervention","Engine Intervention":"Engine Intervention","Test Mean Intervention":"Test Mean Intervention","Commercial Fuel Follow Up":"Commercial Fuel Follow Up","Name":"Name","ExtractAs":"Extract as :","Justify":"Please justify","Next":"Next","Previous":"Prevoius","Voies":{"label":"MQM & Preventive Measures","voiceMqmLabel":"MQM Channels","mobileDevicesLabel":"List of mobile devices","preventiveLabel":"Next preventive (GPS extract)","mobileDevice":"Mobile device","mobileDevice2":"Mobile device","ExpDate":"Expiration date","indicateMeasure":"Indicative measure","expDateOrIndicateMeasure":"Expiration date or Indicative measure","mobileDeviceError":"Mobile device is mandatory","ExpDateError":"Expiration date is mandatory","expDateOrIndicateError":"Expiration date Or Indicative Measure is mandatory","expDateOrIndicate":"Note : Expiration date Or Indicative Measure is mandatory","selectMobileDevice":"Select Mobile device","Mobile_checkbox":"Date AQM +10% - OK for rotation"},"TbfCible":"Target TBF","TBFSomme":"Actual TBF","Weeks":"Weeks","TBFVolume":"TBF Volume","Suivi":{"label":"Engine Follow Up","testCondition":"Test condition","pilotage":"Steering","cycle":"Cycle","Notes_on_engine_condition":"Notes on engine condition (leak, water, oil, consumption, etc.)","Engine_Hours":"Engine Hours","Comments":"Comments","Intersection_point_analysis":"Intersection point analysis","Number_of_intersection_points_made":"Number of intersection points made","Has_a_waiver_been_drafted":"Has a waiver been drafted?","Number_of_intersection_points_made_without_presence":"Number of intersection points made without presence","Remarks_on_the_points_of_intersection":"Remarks on the points of intersection (realization, analysis, analysis)","Intersection_points_validated_in_RPP":"Intersection points validated in RPP?","Partner_satisfaction_on_the_validation_of_PDRs":"Partner satisfaction on the validation of PDRs","Method_of_monitoring_measuring_equipment_validated_with_partners":"Validated Measurement Equipment Monitoring Method","Yes":"Yes","NO":"No","NC":"NC","Select":"Select","sunday":"Sunday","monday":"Monday","tuesday":"Tuesday","wednesday":"Wednesday","thursday":"Thursday","friday":"Friday","saturday":"Saturday","activity_rate":"Expected activity rate","surfee_sheet":"Associated SURFE sheets","not_concerned":"Activity rate not concerned by a SURFE sheet","exploitant":"Exploitant Remarks","partner":"Partner Remarks","available":"Bench / Engine available for tests?","summary":"Summary","Exploitant_Remarks":"Exploitant Remarks","Partner_Remarks":"Partner Remarks","Client_Satisfaction":"Client Satisfaction Lvl 0 / Lvl 1(NC)","nbHot":"Number of Hot Cycles","nbCold":"Number of Cold Cycles","BMIR_Links":"BMIR Links","BMIR_Petrol":"BMIR PDR Petrol","BMIR_Diesel":"BMIR PDR Diesel","BMIR_Waiver":"PDR waiver form"},"MQM Channels":{"Expiration date":"Expiration date","MQM Channels":"MQM Channels","Already_Exist":"This MQM Channel already exists!","Warning_Msg":"The MQM Channel is mandatory.","Mqm_checkbox":"Date AQM +10% - OK for rotation"},"analyseCampaign":{"campaignResult":"Campaign Result Analysis","Indicators":"Indicators","Objective":"Objective","Real":"Real","Comments":"Comments","Non-Rotation":"Non-Rotation Causes","Hours":"Hours"},"Next-RPP":{"Next-RPP-label":"Next RPP","Bench-opening-label":"Bench opening","Planned-absences-label":"Planned absences","Scheduled-opening":"Scheduled opening","Actual-opening":"Actual opening","Requested-opening":"Requested opening","Date":"Date","Time":"Time","Location":"Location","startDate":"Start Date","endDate":"End Date","comment":"Comment"},"AnalyseFerme":{"AnalyseFerme":"Closure Analysis","fermeCause":"Breakdown of Level 1: FERME causes","clientCause":"Breakdown of FERME: CLIENT causes","total_duration":"Total duration","hours":"Hours","PartnerValidation":"Partner Validation(s)"},"week1":{"Activities":"Activities","Exploitant Remarks":"Exploitant Remarks","Partner Remarks":"Partner Remarks","Client Satisfaction Lvl 0 / Lvl 1":"Client Satisfaction Lvl 0 / Lvl 1","Current_week's_information":"Current week's information","Exploitant_Overall_Remarks":"Exploitant Overall Remarks","Partner_Satisfaction":"Partner Satisfaction","Percentage_of_Validated_Tests":"Percentage of Validated Tests","Mandatory_msg":"The Activities is mandatory","Week1":"Current week's information","Client Satisfaction Lvl 0 / Lvl 1(NC)":"Client Satisfaction Lvl 0 / Lvl 1(NC)","Activity_already_exists":"This Activity already exists!"},"summaryImage":{"title":"BMIR Image","image":"Image","preview":"Preview","validation":"Taking into account the input / validation / deliverables of the BMIR (s) used"}},"VehicleActivity":{"date":"Date","activityType":"Activity Type","levelOne":"Level 1","levelTwo":"Level 2","operator":"Operator","duration":"Duration","commentaries":"Commentaries","testRequestNumber":"Test Request number","programLine":"Program Line","project":"Project","projectMilestone":"Project Milestone","testProcedureNumber":"Test Procedure number","logoSR":"Logo SR","ddmrsRequest":"DDMRS request","requesterDepartment":"Requester Department","vhEntity":"Entity (sch3 / RSA)","testSupportNumber":"Test support number","testStart":"Date of test start","testEnd":"Engagement Date of end test","nbofCycles":"Nb of Cycles","nbofParts":"Nb of Parts","softCalibRef":"Soft/calibration reference","preparationBox":"Preparation Box","powerTrain":"Powertrain","pollutionRegulation":"Pollution regulation","OTnumber":"OT Number","OTstatus":"OT Status","Seq_Num":"Sequence Number","Site":"Site","Mean":"Mean","Testbed":"Testbed"},"Directory":{"Title":"Directory","DirectoryIPN":"IPN","fName":"First Name","lName":"Last Name","role":"Role(s)","email":"Email","phoneNo":"Phone Number","comment":"Comment","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","Profile":"Profile","active":"Active ?"},"copy":{"singleDay":"Copy to only 1 day","title":"Copy","TargetTestbed":"Target Testbed"},"TechnicalValidation":{"Technical_Validation_Date_Mandatory":"Technical validation date is mandatory","CheckBox_Label":"Apply for all ","Testbeds":" testbeds in "},"customerPoll":{"rateApp":"Please rate the app!","rateAppMandatory":"Please enter a reason for 1 star or 2 star"},"vhActivity":{"testSupportType":"Select Test Support Type ","box":"Body","set":"Set/Piece","unit":"Unit","vehicle":"Vehicle","errmsg":"XXX_SV1234 or XXXX_SV12345"}}; /***/ }), /***/ "./src/assets/i18n/fr.json": /*!*********************************!*\ !*** ./src/assets/i18n/fr.json ***! \*********************************/ /*! exports provided: Input, ExitForms, TestMeansStatus, MPM, Administration, Help, Email_Group, Common_Buttons, Breadcrumb, Errormessage, SelectMessage, Import, Gdpr_Content, SignOutContent, Activity, FailureActivity, TuningEngActivity, EvEngine, Reliability, DeleteWarning, ExtractActivity, BulkUpdate, Choose, Org_Access, Roles_Access, RollActivity, Cancel, Remove, Autofill, BarActivity, Closure, ValidationSpecimen, Emission, Sacre, StopWarning, testbedbutton, DailyEmail, testbedslots, hazard, InstructionForms, ReportsCommonHeaders, TestSequence, ReleaseForm, OtStatus, Astraltestbed, Gpstestbed, coswin, BV, Brap, preventiveSlot, ELEC, taskReports, pems, Closure_Process, HomeScreen, CRRP, VehicleActivity, Directory, copy, TechnicalValidation, customerPoll, vhActivity, default */ /***/ (function(module) { module.exports = {"Input":{"Title":"Saisie","Activity":"Activité","Test":"Essai","ActivityTestBedTitle":"Veuillez sélectionner le banc D'essai Un TestBed","VehicleActivities":"Activités du véhicule"},"ExitForms":{"Title":"Formulaire de Sortie"},"TestMeansStatus":{"Title":"Etat Des Moyens D’Essai","Testbed_Status":{"Title":"Statut des Bancs"},"Hazardsmanagement":{"Title":"Gestion des Aléas "},"Hazardshistory":{"Title":"Historique des Aléas"}},"MPM":{"Title":"MPM","Referential":{"Title":"Référentiel","MaintenanceSuppliers":{"Title":"Fournisseurs de maintenance","MaintenanceSupplier":"Fournisseurs de maintenance","CreationDate":"Date de Création","UpdateDate":"Date de Maj","LastUpdateBy":"Dernière MAJ Par","active":"Actif ?","colour":"Coleur"},"MaintenanceTask":{"Title":"Tâche de maintenance","MaintenanceSupplier":"Fournisseurs de maintenance","Periodicity":"Periodicite","Type":"Type","Task":"Gamme","Duration":"Durée","CreationDate":"Creation Date","UpdateDate":"Update Date","LastUpdateBy":"Last Update By","active":"Active ?","selectMessage":{"duration":"Sélectionnez la durée"}},"PreventiveMaintenances":{"Title":"Maintenance préventive","PreventiveMaintenance":"Maintenance preventive","CreationDate":"Date de Création","UpdateDate":"Date de Maj","LastUpdateBy":"Dernière MAJ Par","active":"Actif ?"},"StopDuration":{"Title":"Durée de la tâche de maintenance","StopDuration":"Durée d'arrêt","CreationDate":"Date de Création","UpdateDate":"Date de Maj","LastUpdateBy":"Dernière MAJ Par","active":"Actif ?"},"PrestationCompanies":{"Title":"Compagnies de prestation","PrestationCompanies":"Compagnies de prestation","CreationDate":"Date de Création","UpdateDate":"Date de Maj","LastUpdateBy":"Dernière MAJ Par","active":"Actif ?"}},"Testbedslots":{"Title":"Créneaux Bancs"},"TaskReports":{"Title":"Rapport de Tâches"}},"Administration":{"Title":"Administration","Referential":{"Title":"Référentiel","Buildings":{"Title":"Bâtiments","Building":"Bâtiment","Site":"Site","CreationDate":"Date De Création","UpdateDate":"Date De Maj","LastUpdateBy":"Dernière Maj Par","Inactive":"Inactif ?","Warning_Msg":"Le Bâtiment est obligatoire","Already_Exist":"Ce Bâtiment existe déjà!"},"Sites":{"Title":"Sites","Site":"Site","Code":"Code Site","CreationDate":"Date De Création","UpdateDate":"Date De Maj","LastUpdateBy":"Dernière Maj Par","active":"Actif ?","Warning_Msg":"Le Site est obligatoire","Warning_Msg2":"Le code site est obligatoire.","Warning_Msg3":"Le code de site est invalide","Already_Exist":"Ce site existe déjà!","Coswin":"Coswin","linkedTestBedAlert":"Ce site contient un banc"},"Means":{"Title":"Moyens","Mean":"Moyen","Map":"Map","CreationDate":"Date De Création","UpdateDate":"Date De Maj","LastUpdateBy":"Dernière Maj Par","active":"Actif ?","Duplicate":"Cela existe déjà!","Warning_Msg":"Le moyen est obligatoire","Already_Exist":"Ce moyen existe déjà!","Warning_Msg1":"La map est obligatoire"},"Perimeters":{"Title":"Périmètres","Perimeter":"Périmètre","CreationDate":"Date De Création","UpdateDate":"Date De Maj","LastUpdateBy":"Dernière Maj Par","active":"Actif ?","Duplicate":"Cela existe déjà!","Warning_Msg":"Le périmètre est obligatoire","Already_Exist":"Ce périmètre existe déjà"},"Teams":{"Title":"UET","Team":"UET","CreationDate":"Date De Création","UpdateDate":"Date De Maj","LastUpdateBy":"Dernière Maj Par","active":"Actif ?","Duplicate":"Cette Equipe existe déjà!","Warning_Msg":"L'Equipe est obligatoire.","Already_Exist":"Cette équipe existe déjà"},"Campaigns":{"Title":"Campagnes","Campaign":"Campagne","CreationDate":"Date De Création","UpdateDate":"Date De Maj","LastUpdateBy":"Dernière Maj Par","active":"Actif ?","Warning_Msg":"La campagne est obligatoire.","Duplicate":"Cette campagne existe déjà !"},"Client_Directions":{"Title":"Service Client","Client":"Service Client","CostCenter":"Centre De Coût","CreationDate":"Date De Création","UpdateDate":"Date De Maj","LastUpdateBy":"Dernière Maj Par","active":"Actif ? ","Already_Exist":"Ce service client existe déjà !","Warning_Msg1":"Le service client est obligatoire.","Warning_Msg2":"Le centre de coût est obligatoire."},"BaR_Campaigns":{"Title":"BaR Campaigns","BaR":"Campagne","Buisness":"Code Métier","CreationDate":"Date De Création","UpdateDate":"Date De Maj","LastUpdateBy":"Dernière Maj Par","Inactive":"Inactif ?"},"BwR_Program_Lines":{"Title":" COP Lignes de programme","BwR":" COP Lignes de programme","CreationDate":"Date De Création","UpdateDate":"Date De Maj","LastUpdateBy":"Dernière Maj Par","active":"Actif ?"},"Batch":{"Title":"Lots","Batch":"Lot","CreationDate":"Date De Création","UpdateDate":"Date De Maj","LastUpdateBy":"Dernière Maj Par","active":"Actif ?","Warning_Msg":"Le lot est obligatoire","Already_Exist":"Ce lot existe déjà !"},"TestBed":{"Title":"Banc","Header_1":"Informations globales du moyen d'essai","Header_2":"Informations techniques sur la capabilité du moyen d'essai","Header_3":"Performance des moyens d'essai","Header_4":"Code Interface et Correspondance pour l'automatisation des données entre SI","Means":"Moyen","Bench":"Banc","Process":"Processus","Perimeter":"Périmètre","Team":"UET","Function":"Fonctionnement (hrs)","FSS":"VSD (vendredi / samedi / Dimanche)","Organisation":"Organisation","Brake":"Génératrice/Frein","Type":"Type technique","Power":"Puissance(Kw)/couple(Nm)/régime(Tr/min)","Start":"Démarrage par démarreur","Line":"Ligne Echappement Véhicule (non coudé)","Signature":"Signature vibratoire","Distribution":"Distribution : Flex = Essence/diesel/Ethanol 100% / Méthanol 20%","Computer":"Système de pilotage informatique","Option_Route":"Option Loi de route(Full/Light/N)","Option_Sweep":"Options : Adap OnLine / Resp controller / Flex Sweep","Option_Clutch":"Option embrayage rig clutch","Option_RTC":"Option RTC (Real Time Controlers)","Condition":"Condition de temperature cellule","Rapid":"Macération rapide de …à … (pistolet azote, souflage) ","Comburant":"Air comburant(25°/40%)","Analysis_Upstream":"Analyse des gaz amont cata 5 gaz (Nox froid)","Analysis_Upstream_CH4":"Analyse des gaz amont cata 5 gaz + CH4 (Nox froid) + CO2 EGR","Analysis_Upstream_CH4_NO2":"Analyse des gaz amont cata 5 gaz + CH4 + NO2( NOx chaud) +CO2 EGR","Analysis_Downstream_CH4":"Analyse des gaz aval cata 5 gaz + CH4 (Nox froid) + CO2 EGR","Analysis_Downstream_CH4_NO2":"Analyse des gaz aval cata 5 gaz + CH4 + NO2( NOx chaud) +CO2 EGR","Analysis_Gases":"Analyse des gaz dilués (CO+CO2+NOx+HC)","AVL":"Fumimètre AVL 415S","Opacimeter":"Opacimètre AVL 439(masse particule)","Tunnel":"Tunnel + masse + sonde PN (particule number)","HLMS":"HLMS (mesure 9 piquage gaz) selecteur de ligne chauffée","Time_Capacity":"Capabilité horraire","Index":"Index TPM","Testbed_Warning_Msg":"Banc d'essai déjà sélectionné","Designation":"Désignation","Domain_Expertise":"Domaine d'expertise","Test_Type":"Type de test","Creation_Year":"Année de création","Technical_Parameter":"Paramètre technique","CreationDate":"Date De Création","UpdateDate":"Date De Maj","LastUpdateBy":"Dernière Maj Par","active":"Actif ?","duplicate":"Dupliquer","teamNumber":"Nombre d'équipe"},"CampaignAssociation":{"Title":"Arborescence De la Campagne","Campaign":"Campagne","Site":"Site","Mean":"Moyen","CreationDate":"Date De Création","UpdateDate":"Date De Maj","LastUpdateBy":"Dernière Maj Par","Active":"Actif ?"},"Services":{"Title":"Services","Service":"Service","CreationDate":"Date De Création","UpdateDate":"Date De Maj","LastUpdateBy":"Dernière Maj Par","active":"Actif ?","Warning_Msg":"Le service est obligatoire.","Already_Exist":"Ce service existe déjà!"},"SpecimenType":{"Title":"Type de spécimen","SpecimenType":"Type de spécimen","CreationDate":"Date De Création","UpdateDate":"Date De Maj","LastUpdateBy":"Dernière Maj Par","active":"Actif ?","Warning_Msg":"Le type de spécimen est obligatoire.","Already_Exist":"Ce type de spécimen existe déjà!","Select_msg":"Select le type de spécimen"},"RsType":{"Title":"Type de RS","SpecimenType":"Type de RS","CreationDate":"Date De Création","UpdateDate":"Date De Maj","LastUpdateBy":"Dernière Maj Par","active":"Actif ?","Warning_Msg":"Le type de RS est obligatoire.","Already_Exist":"Ce type de RS existe déjà!","Select_msg":"Select le type de RS"},"MobileDevice":{"Title":"Appareils mobiles","CreationDate":"Date De Création","UpdateDate":"Date De Maj","LastUpdateBy":"Dernière Maj Par","active":"Actif ?","Warning_Msg":"Le appareils mobiles est obligatoire.","Already_Exist":"Ce appareils mobiles existe déjà!","Select_msg":"Select le appareils mobiles"},"Milestone":{"Title":"Jalons","CreationDate":"Date De Création","UpdateDate":"Date De Maj","LastUpdateBy":"Dernière Maj Par","active":"Actif ?","Warning_Msg":"Le jalons est obligatoire.","Already_Exist":"Ce jalons existe déjà!","Select_msg":"Select le jalons","Color":"Coleur","Select_msg2":"Select le coleur"},"Shifts":{"Title":"Nombres des equipes","NumberOfTeams":"Nombres des equipes","NumberOfHours":"Nombres des heures","CreationDate":"Date De Création","UpdateDate":"Date De Maj","LastUpdateBy":"Dernière Maj Par","active":"Actif ?","Warning_msg_teams":"Nombres des equipes est obligatoire","Warning_msg_hours":"Nombres des heures est obligatoire","Warning_validation_teams":"Nombres des equipes est invalide","Warning_validation_hours":"Nombres des heures est invalide","Already_Exists":"Nombres des equipes existe déjà!"},"Fuel":{"Title":"Carburant","CreationDate":"Date De Création","UpdateDate":"Date De Maj","LastUpdateBy":"Dernière Maj Par","active":"Actif ?","Already_Exists":"Ce carburant existe déjà!","Warning_Msg":"Le carburant est obligatoire"}},"LevelsReferential":{"Title":"Référentiel des Niveaux","Levels_Admin":{"Title":"Arborescence Des Niveaux","Mean":"Moyen","Type":"Type activité","Level1":"Niveau 1","Level2":"Niveau 2","CreationDate":"Date De Création","UpdateDate":"Date De Maj","LastUpdateBy":"Dernière Maj Par","active":"Actif ?"},"Level_0":{"Title":"Niveau 0","Type":"Type activité","Test":"Essai ?","Failure":"Panne ?","CreationDate":"Date De création","UpdateDate":"Date De Maj","LastUpdateBy":"Dernière Maj Par","Inactive":"Inactif ?"},"Level2":{"Title":"Niveau 2","Level2":"Niveau 2","CreationDate":"Date De Création","UpdateDate":"Date De Maj","LastUpdateBy":"Dernière Maj Par","Inactive":"Inactif ?"},"Level1":{"Title":"Niveau 1","Level1":"Niveau 1","CreationDate":"Date De Création","UpdateDate":"Date De Maj","LastUpdateBy":"Dernière Maj Par","Inactive":"Inactif ?"},"StoppageType":{"Title":"Type of Stoppage","activityType":"Activity Type","stoppage_Type":"Type d'arrêt","CreationDate":"Date De Création","UpdateDate":"Date De Maj","LastUpdateBy":"Dernière Maj Par","Inactive":"Inactif ?","stoppagemsg":"Sélectionnez le Type d'arrêt","failure":"Type de panne","failuremsg":"Sélectionnez le Type de panne"}},"Prestations_And_Procedures":{"Title":"Référentiel des Prestations et Procédure","Admin":{"Title":"Arborescence Des Prestations & Procédure","Mean":"Moyen","Procedure":"Procédure","Prestation":"Prestation","CreationDate":"Date De Création","UpdateDate":"Date De Maj","LastUpdateBy":"Dernière Maj Par","active":"Actif ?"},"Prestation":{"Title":"Prestations","Prestation":"Prestation","CreationDate":"Date De Création","UpdateDate":"Date De Maj","LastUpdateBy":"Dernière Maj Par","active":"Actif ?"},"Procedure":{"Title":"Procédures","Procedure":"Procédure","CreationDate":"Date De Création","UpdateDate":"Date De Maj","LastUpdateBy":"Dernière Maj Par","Active":"Actif ?"},"MacroActivity":{"Title":"Macro Activité","macro":"Macro Activité","CreationDate":"Date De Création","UpdateDate":"Date De Maj","LastUpdateBy":"Dernière Maj Par","Active":"Actif ?"}},"BarReferentiel":{"Title":"BàR Référentiel","BwR_Program_Lines":{"Title":"Lignes de programmes COP","BwR":"Lignes de programmes COP","CreationDate":"Date De Création","UpdateDate":"Date De Maj","LastUpdateBy":"Dernière Maj Par","active":"Actif ?"},"BWR_PreStation":{"Title":"BAR COP Prestation","BwR":"BAR COP Prestation","CreationDate":"Date de Création","UpdateDate":"Date de Maj","LastUpdateBy":"Dernière MAJ Par","active":"Actif ?"},"BarCopActivityDuration":{"Title":"Durée de l'activité BAR COP","activityType":"Type d'activité","Variant":"variante","Interpolationfamily":"Famille d'interpolation","Site":"Site","IPN":"IPN","testType":"Type de test","Duration":"Durée de l'activité","ActivityDuration":"Durée de l'activité","CreationDate":"Date de Création","UpdateDate":"Date de Maj","LastUpdateBy":"Dernière MAJ Par","message":"Cliquez ici pour voir la date incomplète","active":"Actif ?","SelectMessage":{"activityType":"Sélectionnez le type d'activité","functionality":"Sélectionnez la fonction","site":"Sélectionnez le site"},"dropdown":{"Contains":"Contient","NotEmpty":"Pas vide","Equals":"Est égal à","Beginswith":"Commence par","NotEquals":"N'est pas égal à"},"dialog":{"dataMessage":"La durée d'activité calculée est","apply":"voulez-vous postuler?"}}},"TestBedReferential":{"Title":"Banc Référentiel","Testbedtypecomplementassociations":{"Title":"Association de type de banc - complément","Testbedtype":"Type de banc","Testbedcomplement":"Type de Complément de banc","CreationDate":"Date de création","UpdateDate":"Date de MAJ","LastUpdateBy":"Dernière MAJ par","active":"Actif ?"},"Testbed_Type":{"Title":"Types de banc","Testbedtype":"Types de banc","CreationDate":"Date de Création","UpdateDate":"Date de Maj","LastUpdateBy":"Dernière MAJ Par","active":"Actif ?"},"Sectors":{"Title":"Secteur","Sector":"Secteur","CreationDate":"Date de Création","UpdateDate":"Date de Maj","LastUpdateBy":"Dernière MAJ Par","active":"Actif ?"},"Testbedcomplements":{"Title":"Complément des types de banc","Testbedcomplement":"Complément des types de banc","CreationDate":"Date de création","UpdateDate":"Date de MAJ","LastUpdateBy":"Dernière MAJ par","active":"Actif ?"},"Exploitants":{"Title":"Exploitants","Label":"Exploitants","CreationDate":"Date de création","UpdateDate":"Date de MAJ","LastUpdateBy":"Dernière MAJ par","active":"Actif ?","Color":"Coleur"},"VhTechnicalParam":{"Title":"Paramètre Technique De Véhicule","VhTechnicalParam":"Paramètre Technique De Véhicule","VhTechnicalParamT":"Paramètres Technique De Véhicule","CreationDate":"Date de Création","UpdateDate":"Date de MAJ","LastUpdateBy":"Dernière MAJ Par","active":"Actif ?"},"Intersystem":{"Title":"Les utilisations intersystèmes","Intersystem":"Les utilisations intersystème","CreationDate":"Date de Création","UpdateDate":"Date de Maj","LastUpdateBy":"Dernière MAJ Par","active":"Actif ?"},"ExternalCoswin":{"Title":"Coswin Externe","ExternalCoswin":"Coswin Externe","CreationDate":"Date de Création","UpdateDate":"Date de Maj","LastUpdateBy":"Dernière MAJ Par","active":"Actif ?"},"TestType":{"Title":"Type d'essai","CreationDate":"Date de Création","UpdateDate":"Date de Maj","LastUpdateBy":"Dernière MAJ Par","active":"Actif ?"},"OsVersion":{"Title":"Versions d'OS","osVersion":"Version d'OS","CreationDate":"Date de Création","UpdateDate":"Date de Maj","LastUpdateBy":"Dernière MAJ Par","active":"Actif ?"},"ExpertiseDomain":{"Title":"Domaine d'expertise","CreationDate":"Date de Création","UpdateDate":"Date de Maj","LastUpdateBy":"Dernière MAJ Par","active":"Actif ?"}},"HRReport":{"Title":"HR Report"},"TestBedMigration":{"Title":"Migration sur banc d'essai","sourceMean":"Source Moyen","targetMean":"Moyen cible","meanSelect":"Choisissez un Moyen","organisation":"Organisation","organisationSelect":"Choisissez un organisation"}},"Help":{"Title":"?","help":{"Title":"Aide","DocTitle":"Titre du document","Language":"La langue","Warning_Msg":"Titre du document est obligatoire.","Already_Exist":"Un fichier avec ce titre a déjà été ajouté!.","Warning_Msg_Lang":"La langue est obligatoire.","File_Invalid":"Veuillez sélectionner le fichier!.","File_Size_Invalid":"La taille maximale du fichier doit être de 10 MB!.","File_Size_Invalid_15Mb":"La taille maximale du fichier doit être de 15 MB!.","CreationDate":"Date De Création","UpdateDate":"Date De Maj","LastUpdateBy":"Dernière Maj Par","Drag_In_Title":"Importer ou faire glisser le fichier ici","Drag-Over-Title":"Déposez le fichier","Modal_Title":"Créer Votre Aide"},"Directory":{"Title":"Annuaire","DirectoryIPN":"IPN","fName":"Prenom","lName":"Nom","role":"Role(s)","email":"Email","phoneNo":"Numéro de téléphone","comment":"Commentaire","CreationDate":"Date De Création","UpdateDate":"Date De Maj","LastUpdateBy":"Dernière Maj Par","Profile":"Profile","active":"Actif ?","Search":"Chercher","Clear":"Annuler","Not_Available":"Impossible de trouver cet utilisateur","Duplicate":"Cet utilisateur est déjà dans l'annuaire","DistributionList":{"Title":"Liste de diffusion","AvailableEmailId":"Destinataires disponibles","SelectedEmailId":"Destinataires sélectionnés","AlertEmailRecipients":"Alerter les destinataires des e-mails (Les utilisateurs vérifiés recevront l'e-mail quotidien)","SearchHere":"Nom ou IPN","DailyEmailRecipients":"Destinataires quotidiens des e-mails","AvailableGroup":"Groupe Disponibles","AlertMailGroup":"Alerter Groupe des e-mails"},"Level0":{"Title":"Type d'activité","AvailableLevel0":"Activités disponibles","SelectedLevel0":"Activités choisies","Search":"Recherche d'activités"}},"Profile":{"Title":"Profils","selectType":"sélectionner le genre","exploitants":"Exploitants","prep_Instrum_planif":"Prépa, Instrum & Planif","Partner":"Partenaire","Maintenance":"Maintenance","Others":"Divers","Profile":"Profil","Type":"Type","AssociatedActivities":"Activités associées","CreationDate":"Date de creation","UpdateDate":"Date de MAJ","LastUpdateBy":"Derniere MAJ par","Active":"Actif ?","Duplicate":"Ce profil existe déjà","errorProfile":"Le profil est requis","errorType":"Le type est requis","Level0":{"Title":"Type d'activité","AvailableLevel0":"Activités disponibles","SelectedLevel0":"Activités choisies","Search":"Recherche d'activités"}},"Preference":{"Title":"Préférences","meanSelect":"Choisissez un Moyen","testbedSelect":"Choisissez un Banc","languageSelect":"Choisissez une Langue","siteSelect":"Choisissez un Site","language":"Langue","preference":"Mes Préférences","site":"Site","mean":"Moyen","testbed":"Banc","reloadHint":"Prend effet à partir de la prochaine session de connexion"}},"Email_Group":{"EmailGroup":"Groupe de messagerie","CreateGroup":"Créer","GroupName":"Nom de groupe ","addGroup":"Ajouter un groupe","Save":"Enregistrer","Delete":"Supprimer le groupe","ViewGroup":"Afficher le groupe","AddUserToGroup":"Ajouter un utilisateur","CreatedBy":"Créé par","selectGroupToAddUser":"Veuillez sélectionner un groupe pour ajouter un utilisateur au groupe","selectGroupToDelete":"Veuillez sélectionner le groupe à supprimer","GroupList":"Liste de groupe : ","groupAlreadyExist":" existe déjà .","emailGroupSelect":"Sélectionnez le groupe d'e-mails","AlertEmailRecipients":"Alerter les destinataires des e-mails","DL":"Il n'y a aucun destinataire d'e-mail pour ce groupe sélectionné. Veuillez ajouter des destinataires au groupe E-mail.","ValidGroupName":"Veuillez entrer un nom de groupe valide.","ModifyParticularGroup":"Modifier Groupe"},"Common_Buttons":{"Save":"Enregistrer","Add_Record":"Créer","Extract":"Exporter","Delete":"Supprimer","Organisation_Map":"Mapper Organisation","Cancel":"Annuler","Success":"Succès","Fail":"Échoué","Add":"Ajouter","Active":"Actif ?","Yes":"Oui","No":"Non","Update":"Modifier","Open":"Ouvrir","Ok":"Ok","Duplicate":"Dupliquer","MulitipleDuplicate":"Dupliquer Multiple","MultipleDelete":"Supprimer Multiple","Create":"Créer","Fixed":"Fixer","Release":"Libération","freezeMsg":"Êtes-vous sûr de vouloir geler la date de validation?","Remove":"Supprimer","technical_validation":"Validation Technique","slot_unavailable":"Le créneau est déjà réservé le ","Confirm":"Confirmer","Test_Sequence":"Séquences de test","Upload":"Télécharger","Present":"Mode plein écran","Restore":"Arrêtez mode plein écran","NC":"NC","SelectAll":"Tout sélectionner","CR-RPP_Extract":"Export CR-RPP","Send":"Envoyer","migrate":"Émigrer"},"Breadcrumb":{"Home":"Accueil","Administration":"Administration","Referential":"Référentiel"},"Errormessage":{"level2_mandatory":"Le niveau 2 est obligatoire.","level2_existing":"Ce niveau 2 existe déjà !","level0_mandatory":"Le type d'activité est obligatoire.","level0_existing":"Ce type d'activité existe déjà !","level1_mandatory":"Le niveau 1 est obligatoire.","level1_existing":"Ce niveau 1 existe déjà !","MandatoryErrorMsg":"Ce champ est obligatoire","IPN_FName_LName_ErrorMsg":"L'IPN ou le prénom ou le nom de famille est obligatoire.","site_mandatory":"Le site est obligatoire.","code_mandatory":"Le code site est obligatoire.","code_invalid":"Le code de site est invalide","testBed_mandatory":"L'Essai Banc est obligatoire","barprogramlines_mandatory":"La Ligne programme COP est obligatoire.","barprogramlines_existing":"Cette Ligne programme COP existe déjà !","procedure_mandatory":"La procédure est obligatoire.","procedure_existing":"Cette procédure existe déjà !","invalid_text":"Entrée invalide","mean_mandatory":"Le moyen est obligatoire.","association_exists":"Cette association existe déjà","prestation_mandatory":"La prestation est obligatoire.","prestation_existing":"Cette prestation existe déjà !","testBed_label_mandatory":"Le libellé du banc est obligatoire","means_mandatory":"Le moyen est obligatoire","building_mandatory":"La Bâtiment est obligatoire","team_mandatory":"L'équipe est obligatoire","function_mandatory":"Le fonctionnement est obligatoire","fss_mandatory":"Le VSD est obligatoire","service_mandatory":"Le service est obligatoire","organisation_mandatory":"L'organisation est obligatoire","testbed_exists":"Ce banc existe déjà !","db_common_Error_Msg":"Quelque chose s'est mal passé. Veuillez contacter l'Administrateur","extract_reduce_testbeds_Msg":"Le nombre de bancs sélectionnés / L'écart entre la date de début et la date de fin génère un volume de données trop important. Il doit être réduit","api_Unauthorize_Msg":"Délai d'expiration de Session!. Veuillez recharger l'application","campaign_mandatory":"La campagne est obligatoire","barprestationlines_mandatory":"Le prestation est obligatoire","barprestationlines_existing":"Ce prestation existe déjà!","testbedtype_mandatory":"Le type de banc est obligatoire.","testbedtype_existing":"Ce type de banc existe déjà!","exploitable_mandatory":"Le Exploitable est obligatoire.","sector_mandatory":"Le secteur est obligatoire.","sector_existing":"Ce secteur existe déjà!","testbedcomplement_mandatory":"Le complément des types de banc est obligatoire.","testbedcomplement_existing":"Ce complément des types de banc existe déjà!","common_form_invalid":"Veuillez vérifier les données","teamNumber_mandatory":"Le Nombre d'équipe est obligatoire.","engHourErrorMessage":"Doit être au format XXXX.YY","engHourKMVHErrorMessage":"Must be format of XXXXXX.YY","activeDurationErrorMessage":"Doit être au format XX.YY","InvalidHour":"Doit être au format HH.MM","maintenancesupplier_mandatory":"Le fournisseur de maintenance est obligatoire.","maintenancesupplier_existing":"Ce fournisseur de maintenance existe déjà!!","preventivemaintenance_mandatory":"Le maintenance préventive est obligatoire.","preventivemaintenance_existing":"Ce maintenance préventive existe déjà!!","validationSpecimen_mandatory":"Le spécimen de validation est obligatoire","validationSpecimen_existing":"Ce spécimen de validation existe déjà!","stopDuration_mandatory":"La Durée d'arrêt est obligatoire!","stopDuration_existing":"Cette Durée d'arrêt existe déjà!","barCopActivityDuration_existing":"Ce durée de l'activité BARCOP existe déjà","prestationCompanies_existing":"Cette compagnie de prestation existe déjà.","prestationCompanies_mandatory":"La compagnie de prestation est obligatoire.","exploitant_mandatory":"L'exploitant est obligatoire.","maintenanceTask_existing":"Cette tâche de maintenance existe déjà!","exploitant_existing":"Cet exploitant existe déjà!.","color_existing":"Cette couleur existe déjà!","color_warning":"Veuillez sélectionner une autre couleur","testBed_DD":"Choisissez la valeur dans la liste déroulante ..!","milestone_existing":"Ce jalon existe déjà","macro_mandatory":"Le macro activité est obligatoire.","macro_existing":"Ce macro activité existe déjà!","vhTechParam_mandatory":"La paramètre technique du véhicule est obligatoire !","vhTechParam_existing":"Ce paramètre technique du véhicule existe déjà !","stoppage_exist":"Ce type d'arrêt existe déjà","interSystem_mandatory":"Les utilisations intersystèmes est obligatoire","interSystem_existing":"Cet utilisations intersystèmes existe déjà!","extCoswin_mandatory":"Les Coswin Externe est obligatoire","extCoswin_existing":"Cet Coswin Externe existe déjà!","testType_mandatory":"Le type d'essai est obligatoire","testType_existing":"Ce type d'essai existe déjà!","osVersion_mandatory":"La version d'OS est obligatoire","osVersion_existing":"Cette version d'OS existe déjà!","expertiseDomain_mandatory":"Le domaine d'expertise est obligatoire","expertiseDomain_existing":"Ce domaine d'expertise existe déjà!","noCopy":"Remarque : les activités Panne ME ne seront pas copiées","noDuplicate":"Remarque : les activités de Panne ME ne seront pas dupliquées","app_migration":"Migration de l'application","app_migration_url":"L'application a migré sur un autre URL.","app_access_tpm":"Cliquez sur le lien ci-dessous pour accéder à TPM"},"SelectMessage":{"selectmap":"Sélectionner une Map","selectsite":"Sélectionner un site","selectlevel0":"Sélectionner type d'activité","selectlevel1":"Sélectionner niveau 1","selectlevel2":"Sélectionner niveau 2","selectmeans":"Sélectionner Moyen","selectprocedure":"Sélectionner Procédure","selectprestation":"Sélectionner Prestation","selectcampaign":"Sélectionner Campagne","selectTypeOfTest":"Sélectionner Type dépreuve","selectbuilding":"Sélectionner Bâtiment","selectteam":"Sélectionner UET","selectservice":"Sélectionner Service","selectperimeter":"Sélectionner Périmètre","selectlot":"Sélectionner Lot","selectlanguage":"Sélectionner Langue","selectExploitable":"Sélectionner Exploitable","selecttestbedtype":"Select Type de banc","selecttestbedcomplement":"Select Type de complement de banc","selectOrganisation":"Sélectionner Organisation","selectOrderNumb":"Select Order Number","selectExploitant":"Sélectionner Exploitant","Selectstarttime":"Heure De Début","Selectendtime":"Heure De Fin","testbedType":"Sélectionnez le Type de banc","testbedComp":"Sélectionnez le Type de Complément de banc","sector":"Sélectionnez le Secteur","Program_Line":"Select Ligne programme","Feb_Num":"Select Numéro de FEB","selectmacro":"Sélectionner Macro Activité","Shift":"Sélectionner Nombres des equipes","stoppagemsg":"Sélectionnez le Type d'arrêt"},"Import":{"Import":"Importer","LevelAdminSuccess":"Associations de niveau importées avec succès"},"Gdpr_Content":{"p1":"Conformément aux Lois de Protection des Données personnelles, RENAULT agit en qualité de responsable des traitements de Données personnelles.","p2":"Dans le cadre de l’utilisation du logiciel TPM, RENAULT est amené à collecter et traiter uniquement votre IPN, extrait du système ARCA, destiné exclusivement à la gestion et au suivi de projet des salariés Renault dans le cadre de leur mission. Les Données personnelles traitées sont exclusivement destinées à Renault.","p3":"En aucun cas, les données collectées par le logiciel TPM ne serviront de base pour un suivi individualisé du salarié travaillant sur un projet ou seront utilisées contre le salarié dans le cas d’une sanction disciplinaire.","p4":"Les données collectées via le logiciel TPM sont conservées durant la durée du projet. A la fin du projet, les données seront anonymisées. Ces données, une fois anonymisées, pourront être utilisées dans le cadre d’autres projets.","checkBox":" J’atteste avoir pris connaissance que dans le cadre de ma mission pour ce projet mes données personnelles sont collectées et ne font l’objet d’aucun suivi individualisé."},"SignOutContent":{"displayMessage":"Etes-vous sur de vouloir vous deconnecter de TPM2 ?","SignOut":"Deconnexion"},"Activity":{"Date":"Date","EngTime":"Heures moteur","Activity_Type":"Type d'activité","Activity_Duration":"Durée de l'activité","Exploitable":"Exploitable","Level_1":"Niveau 1","Level_2":"Niveau 2","Comments":"Commentaires","ActivityGreen":"Journee complete","ActivityYellow":"Duree de l'activite manquante","ActivityRed":"Journee surcharge","Hours":"Heures","essNb":"Numéro ESS","Seq_Num":"N° de séquence","BV_RLCE":"RLCE","TOH":"TOH","Procedure":"Procédure"},"FailureActivity":{"Date":"Date","EngHours":"Heures moteur","ActivityType":"Type d'activite","ActivityDuration":"Duree activite","OperatorIPN":"IPN Operateur","Level1":"Niveau 1","Level2":"Niveau 2","Enginenb":"Numero moteur","EngineDT":"D.T moteur","RStype":"Type RS","OTnumber":"Numero OT","OTstatus":"Statut OT","Pointsnumber":"Nombre de points","Calibration":"Etalonnage","Soft":"Soft","DCM":"DCM","Prestation":"Prestation","Procedures":"Procédure","Perimeter":"Périmètre","Programline":"Ligne programme","FEBnb":"Numero FEB","Campaign":"Campagne","TypeOfTest":"Type dépreuve","Customerdirection":"Service Client","Comment":"Commentaire","orderNumber":"N° ordre"},"TuningEngActivity":{"Cameo":"Essai CAMEO/TST","TestNumber":"Numéro essai"},"EvEngine":{"TestSupport":"Support essai","DI":"D.I.","VsNb":"Numero VS","RealNb":"Numéro realignement","Procedure":"Procédure/Type essai"},"Reliability":{"Enghours":"Heures moteur","Exploitable":"Exploitable","Customer_request":"Demande du client","BvRequest":"Numéro F.A / D.E","TestNumber":"Numéro essai","Procedures/Test type":"Procédure/Type essai","Programline":"Ligne programme","Realignment":"Numéro realignement","di":"D.I","perimeter":"Perimetre","calibration":"Etalonnage"},"DeleteWarning":{"message":" Etes-vous sûr que vous voulez supprimer?","deleteForDistributionList":"La Liste de diffusion est maintenant vide. Souhaitez-vous continuer?"},"ExtractActivity":{"startDate":"Date De Début","endDate":"Date De Fin","errStartDate":"la date de début est obligatoire","errEndDate":"La date de fin est obligatoire","updateWarning":"Les modifications non enregistrées seront perdues. Souhaitez-vous quitter la page?","Update_only_this":"Seules les activités de ce banc","newStartDate":"Sélectionner la date de la réunion"},"BulkUpdate":{"Bulk_Update":"Modification en masse","Choose_Date":"Choisissez une date","From":"De","To":"A","Choose_Activity_Type":"Choisissez un type d'activité","Activity_Type":"Type d'activité","Field_Modify":"Champ à modifier","Field_Name":"Nom de champ","Update_Activities":"Mettre à jour toutes les activités?","Field_Value":"Valeur du champ","campaigns":"Campaigns","Save":"Enregister","Cancel":"Annuler"},"Choose":{"message":"Êtes-vous sûr de vouloir changer le type d'activité?"},"Org_Access":{"errMsg":"Vous n'êtes pas affecté à une organisation. Veuillez contacter votre administrateur."},"Roles_Access":{"errMsg":"Vous n'êtes pas affecté à une Rôle. Veuillez contacter votre administrateur."},"RollActivity":{"Astral":"Astral Demande/ Essai N°","Vets":"Vetsone N°"},"Cancel":{"Warningmessage":"Voulez-vous supprimer vos modifications?","title":"Annuler"},"Remove":{"message":"Etes-vous sûr que vous voulez supprimer?"},"Autofill":{"Type":"Type","Wave":"Vague","Number":"Numero","Calibration":"Etalonnage","Program_Line":"Ligne programme","FEB_Number":"Numero FEB","Engine_DT":"DT Moteur","RS_Type":"Type RS","Customer_Direction":"Service Client","Prestation":"Prestation","Select_Customer":"Sélectionner Service Client","EngNumber":"Numero moteur","Auto_Engine":"Heures moteur automatique","MacroActivity":"Macro Activité","TestRequestnumber":"N° de Demande Essai","project":"Projet","projectMilestone":"Jalon Projet","procedureNumber":"N° de la Procédure d'essai","logo":"Siglage SR","ddmrsRequest":"Demande DDMRS","requesterDepartment":"Secteur Demandeur","entity":"Entité (sch3 / RSA)","startDate":"Date de début d'essai","engagementEndDate":"Date Engagement de fin d'essai","ipn":"IPN opérateur"},"BarActivity":{"Common":{"mileage":"Kilométrage VH","orderNumber":"N° ordre","vehDT":"D.T. VH","procedure":"Procédures/ Type d'essai","norm":"Norme","service":"N° Service Client","operator":"Operateur","Customer_request":"Demande du client"},"NoCOP":{"workshop":"N° Atelier","temperature":"Temperature","vehReference":"Référence VH","astralNumber":"N° Astral Demande","testNumber":"N° Astral Essai","altitude":"Altitude"},"Update_ASTRAL_tests":"MAJ les tests ASTRAL","UpdateAstralDate":"sélectionner une date","COP":{"vehReference":"Numéro de fabrication","astralNumber":"N° Astral Demande","testNumber":"N° Astral Essai","variant":"N° Variante","family":"Famille interpolation"}},"Closure":{"CloseBench":"Banc fermé","ErrSelectDate":"Veuillez choisir une date","MsgForClosure":"Banc fermé jusqu’au","OutOfOrder":"Hors Processus","BenchClosure":"Fermeture Banc","ChooseClosure":"Veuillez choisir votre type de fermeture","FermiErrMsg":"Le type d'activité 'Ferme' n'est pas disponible.","Reopen":"Rouvrir"},"ValidationSpecimen":{"Title":"Spécimen de validation","SpecimenType":"Type de spécimen","CreationDate":"Date De Création","UpdateDate":"Date De Maj","LastUpdateBy":"Dernière Maj Par","active":"Actif ?"},"Emission":{"ServiceClient":"N° service client"},"Sacre":{"ESSNotFound":"GPS ne reconnaît pas ce numéro ESS","empty":"Le numéro ESS est vide","selectActivity":"Sélectionnez le type d'activité","toolTip":"Click here to get information from GPS"},"StopWarning":{"label":"Stop Warning","stopDuration":"Durée d'arrêt","stoppage":"Type d'arrêt","stoppagemsg":"Sélectionnez le Type d'arrêt","failure":"Type de panne","failuremsg":"Sélectionnez le Type de panne","description":"Description de l'arrêt","pilot":"Pilote","actionPlan":"Plan d'action","restartDate":"Date de redémarrage","partRequest":"Demande de pièce","ot":"OT N°","epselon":"Epselon N°","save":"Sauvegarder et envoyer une alerte email pour arrêter","resend":"Envoyer la mise à jour","update":"Sauvegarder et envoyer une alerte email pour redémarrer","DL":"Il n'y a aucun destinataire d'e-mail pour ce banc. Veuillez ajouter des destinataires à la Liste de diffusion","ImproperDl":"Aucun destinataire n'est associé à ce type d'arrêt.","Engnb":"Numero moteur","summary":"Plan d'action réalisé","interventionNumber":"Numéro d'intervention"},"testbedbutton":{"Testbedactions":"Options Avancées","Autofill":"Documentation auto","Alertemail":"Email d'alerte","Instructions":"Consigne","DailyMail":"Email journailer","Group":"Groupe","ReorderDate":"Cliquez ici pour réorganiser les activités d'une date donnée","TechnicalValidation":"Cliquez ici pour choisir une date de validation technique"},"DailyEmail":{"heading":"Email journailer","send":"Envoyer","activityCarried":"Activités réalisées","planned":"Planning prévu","blocking":"Points bloquants","nonBlocking":"Points non-bloquants","crossCheck":"Penses Bêtes"},"testbedslots":{"create":"Ajouter un créneau pour un banc","testbedSelect":"Sélectionnez banc","blockSlot":"Créneau banc toute la journée (6H - 23H)?","comments":"Commentaires","changetime":"Veuillez modifier l'heure de fin après ","slot_date":"Date de créneau","startDate":"Date De Début","endDate":"Date De Fin","clearFilter":"Effacer les Filtres","search":"Chercher","testbedSlot":"Emplacement pour banc d'essai","deleteConfirm":"Voulez-vous vraiment supprimer cet créneau?","slotDetails":"Détails de l'emplacement","searchTask":"Tâches de recherche","accept":"Accepter","reject":"Rejeter","accept/reject":"Accepter / Refuser","searchTasks":"Tâches de recherche","availableTasks":"Tâches disponibles","selectedTasks":"Tâches sélectionnées"},"hazard":{"bench":"Banc / PEMS","priority":"Priorité","teamLeader":"LE","indus":"Indus / Hors Indus","suppportIdentification":"Identification support N° moteur / VEH","benchStatus":"Statut Banc","hazardType":"Type d'aléa","hazardDescription":"Description Aléa","hazardPilot":"Pilote Aléa","contributor":"Intervenant","actionPlan":"Plan d'action","completionDate":"Date fin Plan Action","reopenData":"Date redémarrage banc","firstAlertEmail":"Date et heure du 1er mail d'alerte","stopDurationInDays":"Temps d'arrêt en TT en jours","lastUpdateDate":"Date De Maj","lastUpdateBy":"Dernière Maj Par"},"InstructionForms":{"dateOfInstruction":"Date des consignes","recipient":"Destinataire","dateOfIntervention":"Date de l'intervention","instruction":"Consigne","Cameo":"Caméo","BSQcycle":"BSQ cycle","BSQcaméo":"BSQ caméo","fortheRGNtest":"Pour l'essai RGN","soft":"Soft","calib":"Calib","forthecycle":"Pour le cycle","toDoList":"To Do List","remarks":"Remarques","title":"Consign","puma":"Puma","softandCarto":"Soft & Carto","deleteConfirm":"Voulez-vous vraiment supprimer cet Consign?","instruction_existing":"Ce consign existe déjà!"},"ReportsCommonHeaders":{"CreationDate":"Date De Creation","UpdateDate":"Date De Maj","LastUpdatedBy":"Derniere Maj Par","CreatedBy":"Créé Par"},"TestSequence":{"Date":"Date","Person":"Person","ClockTime":"Heures horloge(HH.MM)","SequenceDuration":"Durée(HH.MM)","EngHours":"Heures moteur","Oil":"Réf H.mot / H.Hle","OilHours":"Heures Huile","OilChange":"Vidange Huile","OilQuantity":"Qté Hle","AirFilter":"Filtre Air","FuelFilter":"Filtre Carburant","Essai":"AV/DIT/FI/ESSAI/OT","Comments":"Remarque(s) DT spécifique","Instructions":"Passage consigne","Calibration":"Etalonnage","Level2":"Niveau 2","Back":"Retour à la liste des VS"},"ReleaseForm":{"Title":"Formulaire De Libération","btnName":"Fiches Sortie","exitFormNum":"Fiche Sortie Banc N°:","mean":"Moyen","engineType":"Type moteur","indice":"Indice","wave":"Wave","engineNumber":"Numero moteur","engineHours":"Heures moteur","benchNumOfEngRelease":"Moteur sorti du banc n° ","benchReleaseDate":"Date de sortie banc","glycolChange":"Vidange Glycol","oilChange":"Vidange Huile","testLogistPilot":"Pilote Logistique Essai","telephone":"Tèl","prvExploitant":"Dernier EXPLOITANT (Renault ou STT)","motorAssignTo":"Moteur affecté à (facultatif) ","testPilot":"Pilote d'essais","lastTestReq":"Dernier demandeur d'essais (client)","crossBenchTech":"Technicien transversal banc","engMonitorAfter":"Suivi moteur après sortie banc","observations":"Observations","motorConfigBenchOp":"Configuration moteur à la sortie banc (DT et instrumentations)","instrmentOrPreInst":"Instrumentations ou pré-instrumentations présentes","missingComp":"Composants manquants ou évolutions DT (Calculateur, injecteur, bougie, Echappement…)","engineControl":"Contrôle moteur","highlightTestCampaign":"FAITS MARQUANTS DE LA CAMPAGNE D'ESSAIS","recurringProblem":"Problème récurrent","visualCondofEng":"Etat visuel du moteur","PhotoReleaseFormBench":"PHOTOS du moteur à sa sortie du banc","formNumber":"N° Fiche","bench":"Banc","fileName":"Nom de fichier","lastUploadedDate":"Date du dernier téléchargement","lastUploadedBy":"Dernier téléchargement par","downloadConfirmMsg":"Êtes-vous sûr de vouloir télécharger le fichier?","fileErrorMsg":"Les PHOTOS du moteur sont obligatoires!!","number":"NOMBRE"},"OtStatus":{"otNumber":"Numéro OT","oTstatus":"Statut OT","equipmentName":"Equipement","otType":"Type OT","otParent":"Code parent OT","creatDate":"Date de création","ipn":"IPN opérateur","updateDate":"Date de dernière MAJ","activityDuration":"Durée totale de l'activité"},"Astraltestbed":{"Astralbancid":"Astral Banc ID","Site":"Site","Label":"Libelle","UET":"UET","Pollu":"Pollu","Number":"Nombre du places","Application":"Application","testbedId":"Banc ID","tabHeader":"D'astral"},"Gpstestbed":{"Testbedtype":"Type de banc","Testbedcomplement":"Complement de banc","Identifier":"Identifier","Ispool":"IS Pool","Defaultpool":"Pool par défaut","Externalresource":"Ressource externe","Sector":"Secteur","GpsUpdatedate":"GPS Date du MAJ","tabHeader":"De GPS"},"coswin":{"Family":"Famille","Equipmentcode":"Code de l’équipement","Equipmentlabel":"Libellé de l’équipement","Function":"Fonction","Area":"Zone","Responsible":"Responsible","Typology":"Typologie","Operatingtime":"Temps de fonctionnement","Numberofdays":"Nombre de jours","Entitycode":"Code d'entité","System":"Système","ExternalCoswin":"Coswin Externe"},"BV":{"hours":"Heures de Boite","engNum":"Nombre de Boite","engineDT":"Boite D.T"},"Brap":{"engHours":"KM VH","engNum":"Numéro QFV"},"preventiveSlot":{"plannedDate":"Date prévue","testbed":"Banc","maintenanceType":"Type De Maintenance Préventive","periodicity":"Periodicity","preventiveSlots":"Fente préventive","selectMaintenance":"Sélectionnez Maintenance préventive","alreadyExists":"Ce créneau de maintenance préventive existe déjà!","next_Maintenance":"Prochaine Maintenance Planifiée","showMaintenanceLabel":"Voir Maintenance Préventive","hideMaintenanceLabel":"Masquer la Maintenance Préventive","filter":"Filtre","clear":"Effacer"},"ELEC":{"engNum":"Numero de VS","engineDT":"VS DT"},"taskReports":{"date":"Délai prévue"},"pems":{"workshop":"Nº Atelier","regulation":"Norme","testNum":"D.I./Numéro essai","vehicleDT":"D.T. VH","vehicleRef":"Référence VH","vehicleProgram":"N° Variante","procedure":"Procédures/ Type d'essai","serviceClient":"N° service client","comments":"Commentaires"},"Closure_Process":{"Ferme":"Fermeture Banc","Banc":"Banc indisponible","Hors":"Hors Processus"},"HomeScreen":{"TestbedExtract":"Extraire les activités du banc","SpotFireReport":"Rapports Spotfire TM","ReportNotFound":"Aucun rapport trouvé","SpotFireReportTV":"Rapports Spotfire TV"},"CRRP":{"Prerequisites":"Conditions préalables","QCNumber":"Numéro de QC","FebNumber":"Numéro de FEB","Attendance":"Liste de présence","Indicators":"Indicateurs","Present":"Présent ?","Title":"Compte Rendu - Réunion Partenaire Partenaire","DesiredTBF":"TBF demandé","UtilisedTBF":"Suivi TBF","Comments":"Retour(s) Projet Partenaire(s)","TBFFollowUp":"Suivi Consommation TBF","Selectmilestone":"Sélectionnez un jalon","milestone":"Jalon","Week":"Semaine","TBFSum":"Somme TBF","TBFRemaining":"Reste a faire TBF","year":"Année","update":"MAJ les information","Plannification":"Planification Intervention Moyen Essai / Moteur","Engine Intervention":"Intervention Moteur","Test Mean Intervention":"Intervention Moyen Essai","Commercial Fuel Follow Up":"Suivi du carburant commercial","Name":"Nom","ExtractAs":"Exporter comme :","Justify":"Veuillez justifier","Next":"Prochaine","Previous":"Précédente","Voies":{"label":"Voies mesures MQM et preventifs","voiceMqmLabel":"Voies MQM","mobileDevicesLabel":"Liste des appareils mobiles","preventiveLabel":"Prochain préventif (extrait GPS)","mobileDevice":"Appareils mobiles","mobileDevice2":"Appareil mobile","ExpDate":"Date de fin de validité","indicateMeasure":"Mesure Indicative","expDateOrIndicateMeasure":"Date de fin de validitée/Mesure Indicative","mobileDeviceError":"Appareil mobiles est obligatoires","ExpDateError":"Date de fin de validité est obligatoires","expDateOrIndicateError":"Date de fin de validité Or Mesure Indicative validité est obligatoires","expDateOrIndicate":"Remarque : Date fin de validité ou Mesure Indicative","selectMobileDevice":"Sélectionnez un appareil mobile","Mobile_checkbox":"Date AQM +10% - OK pour rotation"},"TbfCible":"TBF Cible","TBFSomme":"TBF Somme","Weeks":"Semaines ","TBFVolume":"Volume de TBF","Suivi":{"label":"Suivi Moteur","testCondition":"Condition essai","pilotage":"Pilotage","cycle":"Cycle","Notes_on_engine_condition":"Remarques état du moteur (fuite, eau, huile, consommation, …)","Engine_Hours":"Heures Moteur","Comments":"Commentaires","Intersection_point_analysis":"Analyse des points de recoupement","Number_of_intersection_points_made":"Nombre de point de recoup réalisés","Has_a_waiver_been_drafted":"Une dérogation a-t-elle été rédigée ?","Number_of_intersection_points_made_without_presence":"Nombre de point de recoup réalisés hors presence","Remarks_on_the_points_of_intersection":"Remarques points de recoupement (réalisation, dépouillement, analyse)","Intersection_points_validated_in_RPP":"Points de recoup validés en RPP ?","Partner_satisfaction_on_the_validation_of_PDRs":"Satisfaction partenaire sur la validation des PDR","Method_of_monitoring_measuring_equipment_validated_with_partners":"Méthode de Surveillance des équipements de mesure validée","Yes":"Oui","NO":"Non","NC":"NC","Select":"sélectionner","sunday":"Dimanche","monday":"Lundi","tuesday":"Mardi","wednesday":"Mercredi","thursday":"Jeudi","friday":"Vendredi","saturday":"Samedi","activity_rate":"Taux d'activité prévu","surfee_sheet":"Fiches SURFE associées","not_concerned":"Taux d'activité non concernées par une Fiches SURFE","exploitant":"Remarques exploitants","partner":"Remarques partenaires","available":"Dispo. banc / moteur pour essais method?","summary":"Résumé","Exploitant_Remarks":"Remarque(s) Exploitant","Partner_Remarks":"Remarque(s) Partenaires","Client_Satisfaction":"Satisfaction client niv. 0 / niv. 1(NC)","nbHot":"Nombre de cycles chaude","nbCold":"Nombre de cycles froide","BMIR_Links":"Liens BMIR","BMIR_Petrol":"BMIR PDR Essence","BMIR_Diesel":"BMIR PDR Diesel","BMIR_Waiver":"Formulaire Dérogation PDR"},"MQM Channels":{"Expiration date":"Date de fin de validité","MQM Channels":"Voies MQM","Warning_Msg":"Voies MQM est obligatoires!","Already_Exist":"Voies MQM existe déjà!","Mqm_checkbox":"Date AQM +10% - OK pour rotation"},"analyseCampaign":{"campaignResult":"Analyse Resultat Campagne","Indicators":"Indicateurs","Objective":"Objectif","Real":"Réel","Comments":"Commentaires","Non-Rotation":"Causes de Non Rotation","Hours":"Heures"},"Next-RPP":{"Next-RPP-label":"Prochaine RPP","Bench-opening-label":"Ouverture banc","Planned-absences-label":"Absences planifiées","Scheduled-opening":"Ouverture prévue","Actual-opening":"Ouverture réalisée","Requested-opening":"Ouverture demandée","Date":"Date","Time":"Heure","Location":"Emplacement","startDate":"Date De Début","endDate":"Date De Fin","comment":"Commentaire"},"AnalyseFerme":{"AnalyseFerme":"Analysis des causes de ferme","fermeCause":"Repartition des causes de Niveau 1: FERME","clientCause":"Repartition des causes de FERME: CLIENT","total_duration":"Durée totale","hours":"Heures","PartnerValidation":"Validation partenaire(s)"},"week1":{"Activities":"Activité (s)","Exploitant Remarks":"Remarque(s) Exploitant","Partner Remarks":"Remarque(s) Partenaires","Client Satisfaction Lvl 0 / Lvl 1":"Satisfaction client niv. 0 / niv. 1","Current_week's_information":"Current week's information","Exploitant_Overall_Remarks":"Remarque(s) Exploitant","Partner_Satisfaction":"Satisfaction Partenaires","Percentage_of_Validated_Tests":"Taux d'essai Validé OK","Mandatory_msg":"Activité (s) existe déjà!","Week1":"Informations de la semaine en cours","Client Satisfaction Lvl 0 / Lvl 1(NC)":"Satisfaction client niv. 0 / niv. 1(NC)","Activity_already_exists":"Activité existe déjà!!"},"summaryImage":{"title":"BMIR Image","image":"Image","preview":"Preview","validation":"Prise en compte des entrée/validation/livrables de la (des) BMIR utilisé(e)s"}},"VehicleActivity":{"date":"Date","activityType":"Type d'activitie","levelOne":"Niveau 1","levelTwo":"Niveau 2","operator":"Opérateur","duration":"Durée d'activité","commentaries":"Commentaries","testRequestNumber":"N° de Demande Essai","programLine":"Ligne Programme","project":"Projet","projectMilestone":"Jalon Projet","testProcedureNumber":"N° de la Procédure d'essai","logoSR":"Siglage SR","ddmrsRequest":"Demande DDMRS","requesterDepartment":"Secteur Demandeur","vhEntity":"Entité (sch3 / RSA)","testSupportNumber":"N° de support d'essai","testStart":"Date de début d'essai","testEnd":"Date Engagement de fin d'essai","nbofCycles":"Nb de Cycles","nbofParts":"Nb de Pièces","softCalibRef":"Référence Soft / Calibration","preparationBox":"N° Box de préparation","powerTrain":"GMP","pollutionRegulation":"Norme de depollution","OTnumber":"Numero OT","OTstatus":"Statut OT","Seq_Num":"N° de séquence","Site":"Site","Mean":"Moyen","Testbed":"Banc"},"Directory":{"Title":"Annuaire","DirectoryIPN":"IPN","fName":"Prenom","lName":"Nom","role":"Role(s)","email":"Email","phoneNo":"Numéro de téléphone","comment":"Commentaire","CreationDate":"Date De Création","UpdateDate":"Date De Maj","LastUpdateBy":"Dernière Maj Par","Profile":"Profile","active":"Actif ?"},"copy":{"singleDay":"Copier à seulement 1 jour","title":"Copier","TargetTestbed":"Banc cible"},"TechnicalValidation":{"Technical_Validation_Date_Mandatory":"Technical validation date est obligatoires","CheckBox_Label":"Postulez pour tous les bancs ","Testbeds":" dans "},"customerPoll":{"rateApp":"Veuillez évaluer l’application!","rateAppMandatory":"Pouvez-vous nous indiquer la raison de votre mécontentement"},"vhActivity":{"testSupportType":"Type de support d'essai ","rateApp":"Type de support d'essai ","box":"Caisse","set":"Kit / Pièce","unit":"Unit","vehicle":"Vehicule","errmsg":"XXX_SV1234 or XXXX_SV12345"}}; /***/ }), /***/ "./src/environments/environment.ts": /*!*****************************************!*\ !*** ./src/environments/environment.ts ***! \*****************************************/ /*! exports provided: environment */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "environment", function() { return environment; }); // This file can be replaced during build by using the `fileReplacements` array. // `ng build --prod` replaces `environment.ts` with `environment.prod.ts`. // The list of file replacements can be found in `angular.json`. var environment = { production: false, //apiURL: 'http://localhost:8181/api', apiURL: '/api', piwikJsFile: 'piwik.js', piwikPhpFile: 'piwik.php', spotFireProdUrl: 'https://spotfire-m8.abi.ope.gcp.renault.com', spotFireQuaUrl: 'https://spotfire-m8.abi.ope.gcp.renault.com', mapEnergeticQuaUrl: 'https://spotfire-m8.abi.ope.gcp.renault.com/spotfire/wp/OpenAnalysis?file=/TP2/OPE/REPORTS/REPORT_PUBLISHED/00_RAPPORTS_TPM2/02_PERFORMANCE/02-1_MAP_NRJ/TPM_PERF_MAP_ENERGETIQUE_PROD_DONNEES_HISTO', mapMecaniqueQuaUrl: 'https://spotfire-m8.abi.ope.gcp.renault.com/spotfire/wp/OpenAnalysis?file=/TP2/OPE/REPORTS/REPORT_PUBLISHED/00_RAPPORTS_TPM2/02_PERFORMANCE/02-2_MAP_MECA/TPM_PERF_MAP_MECANIQUE_PROD_DONNEES_HISTO', mapElectriqueQuaUrl: 'https://spotfire-m8.abi.ope.gcp.renault.com/spotfire/wp/OpenAnalysis?file=/TP2/OPE/REPORTS/REPORT_PUBLISHED/00_RAPPORTS_TPM2/02_PERFORMANCE/02-3_MAP_ELEC/TPM_PERF_MAP_ELECTRIQUE_PROD_DONNEES_HISTO', nonRsGlobalQuaUrl: 'https://abidesign-m4-i0.intra.renault.fr/spotfire/wp/OpenAnalysis?file=/TP2/DESIGN/REPORTS/REPORT_IN_PROGRESS/RNTBCI_VALIDATION/new_prompt/TPM_REPORTING_FORMULES_NON_RS_Global', top3NonRsQuaUrl: 'https://abidesign-m4-i0.intra.renault.fr/spotfire/wp/OpenAnalysis?file=/TP2/DESIGN/REPORTS/REPORT_IN_PROGRESS/RNTBCI_VALIDATION/new_prompt/TPM_REPORTING_FORMULES_TOP_3_NON_RS', panneSupportClientQuaUrl: 'https://abidesign-m4-i0.intra.renault.fr/spotfire/wp/OpenAnalysis?file=/TP2/DESIGN/REPORTS/REPORT_IN_PROGRESS/RNTBCI_VALIDATION/new_prompt/TPM_REPORTING_FORMULES_Others', mapEnergeticOpeUrl: 'https://spotfire-m8.abi.ope.gcp.renault.com/spotfire/wp/OpenAnalysis?file=/TP2/OPE/REPORTS/REPORT_PUBLISHED/00_RAPPORTS_TPM2/02_PERFORMANCE/02-1_MAP_NRJ/TPM_PERF_MAP_ENERGETIQUE_PROD_DONNEES_HISTO', mapMecaniqueOpeUrl: 'https://spotfire-m8.abi.ope.gcp.renault.com/spotfire/wp/OpenAnalysis?file=/TP2/OPE/REPORTS/REPORT_PUBLISHED/00_RAPPORTS_TPM2/02_PERFORMANCE/02-2_MAP_MECA/TPM_PERF_MAP_MECANIQUE_PROD_DONNEES_HISTO', mapElectriqueOpeUrl: 'https://spotfire-m8.abi.ope.gcp.renault.com/spotfire/wp/OpenAnalysis?file=/TP2/OPE/REPORTS/REPORT_PUBLISHED/00_RAPPORTS_TPM2/02_PERFORMANCE/02-3_MAP_ELEC/TPM_PERF_MAP_ELECTRIQUE_PROD_DONNEES_HISTO', nonRsGlobalOpeUrl: 'https://spotfire-m8.abi.ope.gcp.renault.com/spotfire/wp/OpenAnalysis?file=/TP2/OPE/REPORTS/REPORT_PUBLISHED/00_RAPPORTS_TPM2/02_PERFORMANCE/02-4_NON_RS_GLOBAL/TPM_PERFORMANCE_NON_RS_GLOBAL_PROD_DONNEES_HISTO', top3NonRsOpeUrl: 'https://spotfire-m8.abi.ope.gcp.renault.com/spotfire/wp/analysis?file=/TP2/OPE/REPORTS/REPORT_PUBLISHED/00_RAPPORTS_TPM2/02_PERFORMANCE/02-4_NON_RS_GLOBAL/TPM_PERFORMANCE_NON_RS_GLOBAL_PROD_DONNEES_HISTO', panneSupportClientOpeUrl: 'https://abiope-m4-i0.intra.renault.fr/spotfire/wp/OpenAnalysis?file=/TP2/DESIGN/REPORTS/REPORT_IN_PROGRESS/RNTBCI_VALIDATION/new_prompt/TPM_REPORTING_FORMULES_Others', exploitationElectriqueOpeUrl: 'https://spotfire-m8.abi.ope.gcp.renault.com/spotfire/wp/OpenAnalysis?file=/TP2/OPE/REPORTS/REPORT_PUBLISHED/00_RAPPORTS_TPM2/01_EXPLOITATION/01-3_MAP_ELEC/TPM_EXPL_REVUE_PERF_ELEC_PROD_DONNEES', exploitationMecaniqueOpeUrl: 'https://spotfire-m8.abi.ope.gcp.renault.com/spotfire/wp/OpenAnalysis?file=/TP2/OPE/REPORTS/REPORT_PUBLISHED/00_RAPPORTS_TPM2/01_EXPLOITATION/01-2_MAP_MECA/TPM_EXPL_REVUE_PERF_MECA_PROD_DONNEES', exploitationEnergetiqueBarOpeUrl: 'https://spotfire-m8.abi.ope.gcp.renault.com/spotfire/wp/OpenAnalysis?file=/TP2/OPE/REPORTS/REPORT_PUBLISHED/00_RAPPORTS_TPM2/01_EXPLOITATION/01-1_MAP_NRJ/BAR/TPM_EXPL_BAR_CTL_RTX_PROD_DONNEES', exploitationEnergetiqueBrapOpeUrl: 'https://spotfire-m8.abi.ope.gcp.renault.com/spotfire/wp/OpenAnalysis?file=/TP2/OPE/REPORTS/REPORT_PUBLISHED/00_RAPPORTS_TPM2/01_EXPLOITATION/01-1_MAP_NRJ/BRAP/TPM_EXPL_BRAP_CTL_PROD_DONNEES', exploitationEnergetiqueBarCopOpeUrl: 'https://spotfire-m8.abi.ope.gcp.renault.com/spotfire/wp/OpenAnalysis?file=/TP2/OPE/REPORTS/REPORT_PUBLISHED/00_RAPPORTS_TPM2/01_EXPLOITATION/01-1_MAP_NRJ/BAR_COP/TPM_EXPL_BARCOP_CTL_PROD_DONNEES', exploitationEnergetiquePemsOpeUrl: 'https://spotfire-m8.abi.ope.gcp.renault.com/spotfire/wp/OpenAnalysis?file=/TP2/OPE/REPORTS/REPORT_PUBLISHED/00_RAPPORTS_TPM2/01_EXPLOITATION/01-1_MAP_NRJ/PEMS/TPM_EXPL_PEMS_CTL_RTX_PROD_DONNEES', energetiqueBancMoteurBilanExplOpeUrl: 'https://spotfire-m8.abi.ope.gcp.renault.com/spotfire/wp/OpenAnalysis?file=/TP2/OPE/REPORTS/REPORT_PUBLISHED/00_RAPPORTS_TPM2/01_EXPLOITATION/01-1_MAP_NRJ/BANCS_MOTEUR/TPM_EXPL_PERFORMANCE_PROD_DONNEES', energetiqueBancMoteurVsdAndMonitoringOpeUrl: 'https://spotfire-m8.abi.ope.gcp.renault.com/spotfire/wp/OpenAnalysis?file=/TP2/OPE/REPORTS/REPORT_PUBLISHED/00_RAPPORTS_TPM2/01_EXPLOITATION/01-1_MAP_NRJ/BANCS_MOTEUR/TPM_EXPL_SUIVI_MONITORING_VSD_PROD_DONNEES', energetiqueBancMoteurRtechOpeUrl: 'https://spotfire-m8.abi.ope.gcp.renault.com/spotfire/wp/OpenAnalysis?file=/TP2/OPE/REPORTS/REPORT_PUBLISHED/00_RAPPORTS_TPM2/01_EXPLOITATION/01-1_MAP_NRJ/BANCS_MOTEUR/TPM_EXPL_R_TECH_PROD_DONNEES', energetiqueBancMoteurReceptionUoOpeUrl: 'https://spotfire-m8.abi.ope.gcp.renault.com/spotfire/wp/OpenAnalysis?file=/TP2/OPE/REPORTS/REPORT_PUBLISHED/00_RAPPORTS_TPM2/01_EXPLOITATION/01-1_MAP_NRJ/BANCS_MOTEUR/TPM_EXPL_RECEPTION_UO_PROD_DONNEES', energetiqueBancMoteurSdaOpeUrl: 'https://spotfire-m8.abi.ope.gcp.renault.com/spotfire/wp/OpenAnalysis?file=/TP2/OPE/REPORTS/REPORT_PUBLISHED/00_RAPPORTS_TPM2/01_EXPLOITATION/01-1_MAP_NRJ/BANCS_MOTEUR/TPM_EXPL_SDA_PROD_DONNEES', maintenanceFtrOpeUrl: 'https://spotfire-m8.abi.ope.gcp.renault.com/spotfire/wp/OpenAnalysis?file=/TP2/OPE/REPORTS/REPORT_PUBLISHED/00_RAPPORTS_TPM2/04_MAINTENANCE_QUALITE/04-1_QUALITE_FTR_TNC/TPM_QUALITE_FTR_TNC_PROD_DONNEES', maintenanceMoyenOpeUrl: 'https://spotfire-m8.abi.ope.gcp.renault.com/spotfire/wp/OpenAnalysis?file=/TP2/OPE/REPORTS/REPORT_PUBLISHED/00_RAPPORTS_TPM2/04_MAINTENANCE_QUALITE/04-2_MAINTENANCE_MOYEN_ESSAIS-FOURNISSEURS/TPM_MAINT_PROD_DONNEES', maintenanceTempsOpeUrl: 'https://spotfire-m8.abi.ope.gcp.renault.com/spotfire/wp/OpenAnalysis?file=/TP2/OPE/REPORTS/REPORT_PUBLISHED/00_RAPPORTS_TPM2/04_MAINTENANCE_QUALITE/04-3_MAINTENANCE_TA/TPM_MAINT_TA_PROD_DONNEES', maintenanceLogPumaOpeUrl: 'https://spotfire-m8.abi.ope.gcp.renault.com/spotfire/wp/OpenAnalysis?file=/TP2/OPE/REPORTS/REPORT_PUBLISHED/00_RAPPORTS_TPM2/04_MAINTENANCE_QUALITE/04-4_MAINTENANCE_ANALYSE_LOG_PUMA/TPM_MAINT_ANALYSE_LOGPUMA_PROD_DONNEES', exploitationMapMechaniqueMecaOpeUrl: 'https://spotfire-m8.abi.ope.gcp.renault.com/spotfire/wp/OpenAnalysis?file=/TP2/OPE/REPORTS/REPORT_PUBLISHED/00_RAPPORTS_TPM2/01_EXPLOITATION/01-2_MAP_MECA/MECA_GMP_BO/TPM_EXPL_REVUE_PERF_MECA_PROD_DONNEES', exploitationMapMechaniqueCleonOpeUrl: 'https://spotfire-m8.abi.ope.gcp.renault.com/spotfire/wp/OpenAnalysis?file=/TP2/OPE/REPORTS/REPORT_PUBLISHED/00_RAPPORTS_TPM2/01_EXPLOITATION/01-2_MAP_MECA/CLEON/TPM_QUALITE_FTR_PROD_DONNEES', exploitationMapMechaniqueNvhOpeUrl: 'https://spotfire-m8.abi.ope.gcp.renault.com/spotfire/wp/OpenAnalysis?file=/TP2/OPE/REPORTS/REPORT_PUBLISHED/00_RAPPORTS_TPM2/01_EXPLOITATION/01-2_MAP_MECA/NVH/TPM_EXPL_REVUE_PERF_NVH_PROD_DONNEES', exploitationMapMechaniqueReceptionUoOpeUrl: 'https://spotfire-m8.abi.ope.gcp.renault.com/spotfire/wp/OpenAnalysis?file=/TP2/OPE/REPORTS/REPORT_PUBLISHED/00_RAPPORTS_TPM2/01_EXPLOITATION/01-2_MAP_MECA/RECEPTION_UO/TPM_EXPL_RECEPTION_UO_MECA_PROD_DONNEES', projectAvancementOpeUrl: 'https://spotfire-m8.abi.ope.gcp.renault.com/spotfire/wp/OpenAnalysis?file=/TP2/OPE/REPORTS/REPORT_PUBLISHED/00_RAPPORTS_TPM2/03_PROJET/AVANCEMENT_PROJET/TPM_PROJ_PERFORMANCE_PROD_DONNEES', projectPilotageBudgetaireOpeUrl: 'https://spotfire-m8.abi.ope.gcp.renault.com/spotfire/wp/OpenAnalysis?file=/TP2/OPE/REPORTS/REPORT_PUBLISHED/00_RAPPORTS_TPM2/03_PROJET/PILOTAGE_BUDGETAIRE/VERIFICATION_SAISIE_SDA_PROD_DONNEES', exploitationMapElectriqueOpeUrl: 'https://spotfire-m8.abi.ope.gcp.renault.com/spotfire/wp/analysis?file=/TP2/OPE/REPORTS/REPORT_PUBLISHED/00_RAPPORTS_TPM2/01_EXPLOITATION/01-3_MAP_ELEC/TPM_EXPL_REVUE_PERF_ELEC_PROD_DONNEES&waid=kyIesadXKEWqB31dA4VBb-24010092a4VbEX&wavid=0​', exploitationMapElectriqueUOOpeUrl: 'https://spotfire-m8.abi.ope.gcp.renault.com/spotfire/wp/OpenAnalysis?file=/TP2/OPE/REPORTS/REPORT_PUBLISHED/00_RAPPORTS_TPM2/01_EXPLOITATION/01-3_MAP_ELEC/TPM_EXPL_RECEPTION_UO_ELEC_PROD_DONNEES', authConfig: { loginUrl: 'https://int.tp2.dev.aws.renault.com/tp2/callback', redirectUri: 'https://int.tp2.dev.aws.renault.com/tp2/callback', clientId: 'irn-70003_uat_pkce_cteusgpoaijp', // scope: 'openid arca role-tp2-irn70003&acr_values=secure/name/password/uri&resourceServer=Identity Provider', scope: 'openid legacy', logoutUrl: 'https://idp2.renault.com/nidp/app/logout', }, clientsId: { 'int.tp2.dev': '18afe68c-65fe-41a4-9d95-00e6897f9788', 'qua.tp2.dev': '18afe68c-65fe-41a4-9d95-00e6897f9788', 'sta.tp2.dev': '18afe68c-65fe-41a4-9d95-00e6897f9788', 're7.tp2.re7': '1a3ca309-9b09-4622-9129-3b459a8678ab', 'ope.tp2.ope': 'e1563dfe-d9da-4d3f-aa46-fcfaba60acf1', }, redirectUrls: { 'localhost:4200': 'https://localhost:4200/callback', 'int.tp2.dev': 'https://int.tp2.dev.aws.renault.com/tp2/callback', 'qua.tp2.dev': 'https://qua.tp2.dev.aws.renault.com/tp2/callback', 'sta.tp2.dev': 'https://sta.tp2.dev.aws.renault.com/tp2/callback', 're7.tp2.re7': 'https://re7.tp2.re7.aws.renault.com/tp2/callback', 'ope.tp2.ope': 'https://ope.tp2.ope.aws.renault.com/tp2/callback', }, silentRefreshUrls: { 'localhost:4200': 'https://localhost:4200/silent-refresh.html', 'int.tp2.dev': 'https://int.tp2.dev.aws.renault.com/tp2/silent-refresh.html', 'qua.tp2.dev': 'https://qua.tp2.dev.aws.renault.com/tp2/silent-refresh.html', 'sta.tp2.dev': 'https://sta.tp2.dev.aws.renault.com/tp2/silent-refresh.html', 're7.tp2.re7': 'https://re7.tp2.re7.aws.renault.com/tp2/silent-refresh.html', 'ope.tp2.ope': 'https://ope.tp2.ope.aws.renault.com/tp2/silent-refresh.html', }, issuerUrls: { 'localhost:4200': 'https://sso-uat.renault.com/oauth2/austwoeshbCkPJyw1416', 'int.tp2.dev': 'https://sso-uat.renault.com/oauth2/austwoeshbCkPJyw1416', 'qua.tp2.dev': 'https://sso-uat.renault.com/oauth2/austwoeshbCkPJyw1416', 'sta.tp2.dev': 'https://sso-uat.renault.com/oauth2/austwoeshbCkPJyw1416', 're7.tp2.re7': 'https://sso-uat.renault.com/oauth2/austwoeshbCkPJyw1416', 'ope.tp2.ope': 'https://sso.renault.com/oauth2/aus133y6mks4ptDss417', }, loginUrls: { 'localhost:4200': 'https://sso-uat.renault.com/oauth2/austwoeshbCkPJyw1416/v1/authorize', 'int.tp2.dev': 'https://sso-uat.renault.com/oauth2/austwoeshbCkPJyw1416/v1/authorize', 'qua.tp2.dev': 'https://sso-uat.renault.com/oauth2/austwoeshbCkPJyw1416/v1/authorize', 'sta.tp2.dev': 'https://sso-uat.renault.com/oauth2/austwoeshbCkPJyw1416/v1/authorize', 're7.tp2.re7': 'https://sso-uat.renault.com/oauth2/austwoeshbCkPJyw1416/v1/authorize', 'ope.tp2.ope': 'https://sso.renault.com/oauth2/aus133y6mks4ptDss417/v1/authorize', }, userinfoEndpoints: { 'localhost:4200': 'https://sso-uat.renault.com/oauth2/austwoeshbCkPJyw1416/v1/userinfo', 'int.tp2.dev': 'https://sso-uat.renault.com/oauth2/austwoeshbCkPJyw1416/v1/userinfo', 'qua.tp2.dev': 'https://sso-uat.renault.com/oauth2/austwoeshbCkPJyw1416/v1/userinfo', 'sta.tp2.dev': 'https://sso-uat.renault.com/oauth2/austwoeshbCkPJyw1416/v1/userinfo', 're7.tp2.re7': 'https://sso-uat.renault.com/oauth2/austwoeshbCkPJyw1416/v1/userinfo', 'ope.tp2.ope': 'https://sso.renault.com/oauth2/aus133y6mks4ptDss417/v1/userinfo', }, clientIds: { 'localhost:4200': 'irn-70003_uat_pkce_cteusgpoaijp', 'int.tp2.dev': 'irn-70003_uat_pkce_cteusgpoaijp', 'qua.tp2.dev': 'irn-70003_uat_pkce_cteusgpoaijp', 'sta.tp2.dev': 'irn-70003_uat_pkce_cteusgpoaijp', 're7.tp2.re7': 'irn-70003_uat_pkce_cteusgpoaijp', 'ope.tp2.ope': 'irn-70003_ope_pkce_2deckrju8wkt', }, // Optionally you can set time for `idle`, `timeout` and `ping` in seconds. userIdleConfig: { idle: 1620, timeout: 180, ping: 60 // is 120 (2 minutes) }, oAuthEnable: true, issuer: '', loginUrl: '', userinfoEndpoint: '', clientId: '', scope: 'openid legacy apis.default', responseType: 'code', redirectUri: '', silentRefreshRedirectUri: '', useSilentRefresh: true, allowedUrls: ['https://apis.renault.com'], // Matomo/Piwik settings matomoUrl: 'https://piwik.renault-digital.com/', matomoId: 1541 }; /* * For easier debugging in development mode, you can import the following file * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`. * * This import should be commented out in production mode because it will have a negative impact * on performance if an error is thrown. */ // import 'zone.js/dist/zone-error'; // Included with Angular CLI. /***/ }), /***/ "./src/main.ts": /*!*********************!*\ !*** ./src/main.ts ***! \*********************/ /*! no exports provided */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var hammerjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! hammerjs */ "./node_modules/hammerjs/hammer.js"); /* harmony import */ var hammerjs__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(hammerjs__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js"); /* harmony import */ var _angular_platform_browser_dynamic__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/platform-browser-dynamic */ "./node_modules/@angular/platform-browser-dynamic/fesm5/platform-browser-dynamic.js"); /* harmony import */ var _app_app_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./app/app.module */ "./src/app/app.module.ts"); /* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./environments/environment */ "./src/environments/environment.ts"); if (_environments_environment__WEBPACK_IMPORTED_MODULE_4__["environment"].production) { Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["enableProdMode"])(); } Object(_angular_platform_browser_dynamic__WEBPACK_IMPORTED_MODULE_2__["platformBrowserDynamic"])().bootstrapModule(_app_app_module__WEBPACK_IMPORTED_MODULE_3__["AppModule"]) .catch(function (err) { return console.error(err); }); /***/ }), /***/ 0: /*!***************************!*\ !*** multi ./src/main.ts ***! \***************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(/*! /tp2-app/src/main.ts */"./src/main.ts"); /***/ }), /***/ 1: /*!********************!*\ !*** fs (ignored) ***! \********************/ /*! no static exports found */ /***/ (function(module, exports) { /* (ignored) */ /***/ }), /***/ 2: /*!************************!*\ !*** crypto (ignored) ***! \************************/ /*! no static exports found */ /***/ (function(module, exports) { /* (ignored) */ /***/ }), /***/ 3: /*!************************!*\ !*** stream (ignored) ***! \************************/ /*! no static exports found */ /***/ (function(module, exports) { /* (ignored) */ /***/ }) },[[0,"runtime","vendor"]]]); //# sourceMappingURL=main.js.map