mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 21:35:50 +00:00
save
This commit is contained in:
+880
@@ -0,0 +1,880 @@
|
||||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
||||
|
||||
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
||||
|
||||
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
||||
|
||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["expedient-task-modal-expedient-task-modal-module"], {
|
||||
/***/
|
||||
"./node_modules/raw-loader/dist/cjs.js!./src/app/pages/gabinete-digital/discart-expedient-modal/discart-expedient-modal.page.html":
|
||||
/*!****************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/gabinete-digital/discart-expedient-modal/discart-expedient-modal.page.html ***!
|
||||
\****************************************************************************************************************************************/
|
||||
|
||||
/*! exports provided: default */
|
||||
|
||||
/***/
|
||||
function node_modulesRawLoaderDistCjsJsSrcAppPagesGabineteDigitalDiscartExpedientModalDiscartExpedientModalPageHtml(module, __webpack_exports__, __webpack_require__) {
|
||||
"use strict";
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony default export */
|
||||
|
||||
|
||||
__webpack_exports__["default"] = "<ion-header class=\"ion-no-border\">\r\n <div class=\"header-content\">\r\n <div class=\"header-title\">\r\n <label>Deseja eliminar este espediente?</label>\r\n </div>\r\n <div class=\"header-icon-left\">\r\n <ion-icon (click)=\"close()\" name=\"close-outline\"></ion-icon>\r\n <!-- <ion-icon (click)=\"close()\" src=\"assets/images/icons-arrow-arrow-left.svg\"></ion-icon> -->\r\n </div>\r\n </div>\r\n</ion-header>\r\n\r\n<ion-content>\r\n</ion-content>\r\n<ion-footer>\r\n <ion-toolbar>\r\n <div class=\"buttons\">\r\n <ion-item lines=\"none\">\r\n <ion-button class=\"button-reject\" shape=\"round\" (click)=\"close()\">Não</ion-button>\r\n <ion-button class=\"button-approve\" shape=\"round\" (click)=\"save()\">Sim</ion-button>\r\n </ion-item>\r\n </div>\r\n </ion-toolbar>\r\n</ion-footer>\r\n";
|
||||
/***/
|
||||
},
|
||||
|
||||
/***/
|
||||
"./node_modules/raw-loader/dist/cjs.js!./src/app/pages/gabinete-digital/expediente/add-participants-cc-modal/add-participants-cc-modal.page.html":
|
||||
/*!*******************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/gabinete-digital/expediente/add-participants-cc-modal/add-participants-cc-modal.page.html ***!
|
||||
\*******************************************************************************************************************************************************/
|
||||
|
||||
/*! exports provided: default */
|
||||
|
||||
/***/
|
||||
function node_modulesRawLoaderDistCjsJsSrcAppPagesGabineteDigitalExpedienteAddParticipantsCcModalAddParticipantsCcModalPageHtml(module, __webpack_exports__, __webpack_require__) {
|
||||
"use strict";
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony default export */
|
||||
|
||||
|
||||
__webpack_exports__["default"] = "<ion-header class=\"ion-no-border\">\r\n <h4>Com conhecimento</h4>\r\n <ion-searchbar (ionChange)=\"onChange($event)\" placeholder=\"Pesquisar\"></ion-searchbar>\r\n <ion-progress-bar type=\"indeterminate\" *ngIf=\"showLoader\"></ion-progress-bar>\r\n</ion-header>\r\n\r\n<ion-content>\r\n <ion-item-group>\r\n <ion-list>\r\n <ion-item-sliding>\r\n <ion-item *ngFor=\"let attendee of contacts\">\r\n <ion-checkbox slot=\"end\" [disabled]=\"isCheckboxDisabled\" (ionChange)=\"selectContact(attendee)\"></ion-checkbox>\r\n <ion-label>\r\n <h3>{{ attendee.Name }}</h3>\r\n <p>{{ attendee.EmailAddress }}</p>\r\n </ion-label>\r\n </ion-item>\r\n </ion-item-sliding>\r\n </ion-list>\r\n </ion-item-group>\r\n\r\n</ion-content>\r\n<ion-footer>\r\n <ion-toolbar>\r\n <ion-item lines=\"none\">\r\n <p>\r\n <ion-button class=\"button-cancel\" shape=\"round\" (click)=\"cancelTask()\">Cancelar</ion-button>\r\n </p>\r\n <p>\r\n <ion-button class=\"button-save\" shape=\"round\" (click)=\"saveTask()\">Gravar</ion-button>\r\n </p>\r\n </ion-item>\r\n </ion-toolbar>\r\n</ion-footer>\r\n\r\n";
|
||||
/***/
|
||||
},
|
||||
|
||||
/***/
|
||||
"./node_modules/raw-loader/dist/cjs.js!./src/app/pages/gabinete-digital/expediente/add-participants-modal/add-participants-modal.page.html":
|
||||
/*!*************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/gabinete-digital/expediente/add-participants-modal/add-participants-modal.page.html ***!
|
||||
\*************************************************************************************************************************************************/
|
||||
|
||||
/*! exports provided: default */
|
||||
|
||||
/***/
|
||||
function node_modulesRawLoaderDistCjsJsSrcAppPagesGabineteDigitalExpedienteAddParticipantsModalAddParticipantsModalPageHtml(module, __webpack_exports__, __webpack_require__) {
|
||||
"use strict";
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony default export */
|
||||
|
||||
|
||||
__webpack_exports__["default"] = "<ion-header class=\"ion-no-border\">\r\n <h4>Adicionar Intervenientes</h4>\r\n <ion-searchbar (ionChange)=\"onChange($event)\" placeholder=\"Pesquisar\"></ion-searchbar>\r\n <ion-progress-bar type=\"indeterminate\" *ngIf=\"showLoader\"></ion-progress-bar>\r\n</ion-header>\r\n\r\n<ion-content>\r\n <ion-item-group>\r\n <ion-list>\r\n <ion-item-sliding>\r\n <ion-item *ngFor=\"let attendee of contacts\">\r\n <ion-checkbox slot=\"end\" [disabled]=\"isCheckboxDisabled\" (ionChange)=\"selectContact(attendee)\"></ion-checkbox>\r\n <!-- <div *ngFor=\"let part of participantsAdded\"> -->\r\n <ion-label>\r\n <h3>{{ attendee.Name }}</h3>\r\n <p>{{ attendee.EmailAddress }}</p>\r\n </ion-label>\r\n <!-- </div> -->\r\n </ion-item>\r\n </ion-item-sliding>\r\n </ion-list>\r\n </ion-item-group>\r\n\r\n</ion-content>\r\n<ion-footer>\r\n <ion-toolbar>\r\n <ion-item lines=\"none\">\r\n <p>\r\n <ion-button class=\"button-cancel\" shape=\"round\" (click)=\"cancelTask()\">Cancelar</ion-button>\r\n </p>\r\n <p>\r\n <ion-button class=\"button-save\" shape=\"round\" (click)=\"saveTask()\">Gravar</ion-button>\r\n </p>\r\n </ion-item>\r\n </ion-toolbar>\r\n</ion-footer>\r\n";
|
||||
/***/
|
||||
},
|
||||
|
||||
/***/
|
||||
"./src/app/pages/gabinete-digital/discart-expedient-modal/discart-expedient-modal.page.scss":
|
||||
/*!**************************************************************************************************!*\
|
||||
!*** ./src/app/pages/gabinete-digital/discart-expedient-modal/discart-expedient-modal.page.scss ***!
|
||||
\**************************************************************************************************/
|
||||
|
||||
/*! exports provided: default */
|
||||
|
||||
/***/
|
||||
function srcAppPagesGabineteDigitalDiscartExpedientModalDiscartExpedientModalPageScss(module, __webpack_exports__, __webpack_require__) {
|
||||
"use strict";
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony default export */
|
||||
|
||||
|
||||
__webpack_exports__["default"] = ".header-content {\n width: 360px;\n overflow: auto;\n margin: 0 auto;\n padding: 25px;\n}\n\n.header-icon-left {\n width: 36px;\n font-size: 33px;\n color: #42b9fe;\n float: right;\n}\n\n.header-title {\n width: 264px;\n font-family: Roboto;\n font-size: 25px;\n margin: 0 5px 0 5px;\n color: #000;\n float: left;\n}\n\n.buttons {\n width: 320px;\n margin: 0 auto;\n padding: 5px 0 5px 0;\n}\n\n.button-reject {\n width: 130px;\n height: 44px;\n --color: #d30a0a;\n border-radius: 22.5px;\n --background: #ffe0e0;\n margin: 0 12px 0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7XG4gIG1hcmdpbjogMCAwcHggMCAxMnB4O1xufSJdfQ== */";
|
||||
/***/
|
||||
},
|
||||
|
||||
/***/
|
||||
"./src/app/pages/gabinete-digital/discart-expedient-modal/discart-expedient-modal.page.ts":
|
||||
/*!************************************************************************************************!*\
|
||||
!*** ./src/app/pages/gabinete-digital/discart-expedient-modal/discart-expedient-modal.page.ts ***!
|
||||
\************************************************************************************************/
|
||||
|
||||
/*! exports provided: DiscartExpedientModalPage */
|
||||
|
||||
/***/
|
||||
function srcAppPagesGabineteDigitalDiscartExpedientModalDiscartExpedientModalPageTs(module, __webpack_exports__, __webpack_require__) {
|
||||
"use strict";
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony export (binding) */
|
||||
|
||||
|
||||
__webpack_require__.d(__webpack_exports__, "DiscartExpedientModalPage", function () {
|
||||
return DiscartExpedientModalPage;
|
||||
});
|
||||
/* 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/__ivy_ngcc__/fesm2015/core.js");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
||||
/*! @angular/router */
|
||||
"./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _ionic_angular__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
||||
/*! @ionic/angular */
|
||||
"./node_modules/@ionic/angular/__ivy_ngcc__/fesm2015/ionic-angular.js");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var src_app_services_processes_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
||||
/*! src/app/services/processes.service */
|
||||
"./src/app/services/processes.service.ts");
|
||||
|
||||
var DiscartExpedientModalPage = /*#__PURE__*/function () {
|
||||
function DiscartExpedientModalPage(modalController, processes, router, navParams) {
|
||||
_classCallCheck(this, DiscartExpedientModalPage);
|
||||
|
||||
this.modalController = modalController;
|
||||
this.processes = processes;
|
||||
this.router = router;
|
||||
this.navParams = navParams;
|
||||
this.serialNumber = this.navParams.get('serialNumber');
|
||||
}
|
||||
|
||||
_createClass(DiscartExpedientModalPage, [{
|
||||
key: "ngOnInit",
|
||||
value: function ngOnInit() {
|
||||
console.log(this.serialNumber);
|
||||
}
|
||||
}, {
|
||||
key: "close",
|
||||
value: function close() {
|
||||
this.modalController.dismiss();
|
||||
}
|
||||
/* notDelete(){
|
||||
} */
|
||||
|
||||
}, {
|
||||
key: "save",
|
||||
value: function save() {
|
||||
var body = {
|
||||
"serialNumber": this.serialNumber,
|
||||
"action": "Task Completed"
|
||||
};
|
||||
console.log(body);
|
||||
this.processes.PostTaskAction(body);
|
||||
this.router.navigate(['/home/gabinete-digital/expediente']);
|
||||
this.modalController.dismiss();
|
||||
}
|
||||
}]);
|
||||
|
||||
return DiscartExpedientModalPage;
|
||||
}();
|
||||
|
||||
DiscartExpedientModalPage.ctorParameters = function () {
|
||||
return [{
|
||||
type: _ionic_angular__WEBPACK_IMPORTED_MODULE_3__["ModalController"]
|
||||
}, {
|
||||
type: src_app_services_processes_service__WEBPACK_IMPORTED_MODULE_4__["ProcessesService"]
|
||||
}, {
|
||||
type: _angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"]
|
||||
}, {
|
||||
type: _ionic_angular__WEBPACK_IMPORTED_MODULE_3__["NavParams"]
|
||||
}];
|
||||
};
|
||||
|
||||
DiscartExpedientModalPage = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({
|
||||
selector: 'app-discart-expedient-modal',
|
||||
template: Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__importDefault"])(__webpack_require__(
|
||||
/*! raw-loader!./discart-expedient-modal.page.html */
|
||||
"./node_modules/raw-loader/dist/cjs.js!./src/app/pages/gabinete-digital/discart-expedient-modal/discart-expedient-modal.page.html"))["default"],
|
||||
styles: [Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__importDefault"])(__webpack_require__(
|
||||
/*! ./discart-expedient-modal.page.scss */
|
||||
"./src/app/pages/gabinete-digital/discart-expedient-modal/discart-expedient-modal.page.scss"))["default"]]
|
||||
})], DiscartExpedientModalPage);
|
||||
/***/
|
||||
},
|
||||
|
||||
/***/
|
||||
"./src/app/pages/gabinete-digital/expediente/add-participants-cc-modal/add-participants-cc-modal.page.scss":
|
||||
/*!*****************************************************************************************************************!*\
|
||||
!*** ./src/app/pages/gabinete-digital/expediente/add-participants-cc-modal/add-participants-cc-modal.page.scss ***!
|
||||
\*****************************************************************************************************************/
|
||||
|
||||
/*! exports provided: default */
|
||||
|
||||
/***/
|
||||
function srcAppPagesGabineteDigitalExpedienteAddParticipantsCcModalAddParticipantsCcModalPageScss(module, __webpack_exports__, __webpack_require__) {
|
||||
"use strict";
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony default export */
|
||||
|
||||
|
||||
__webpack_exports__["default"] = "ion-header {\n padding: 20px 20px 0px 20px;\n}\n\nion-content {\n --padding-top: 20px;\n --padding-start: 15px;\n --padding-end: 20px;\n}\n\n.container-footer {\n margin: 0 auto;\n overflow: auto;\n}\n\n.button-cancel {\n width: 170px;\n height: 44px;\n border-radius: 22.5px;\n --background: #e0e9ee;\n --color: #061b52;\n margin: 10px;\n}\n\n.button-save {\n width: 170px;\n height: 44px;\n border-radius: 22.5px;\n --background: #42b9fe;\n --color:#ffffff;\n margin: 10px;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvcGFnZXMvZ2FiaW5ldGUtZGlnaXRhbC9leHBl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S1jb2xvcjogIzA2MWI1MjtcbiAgbWFyZ2luOiAxMHB4O1xufVxuXG4uYnV0dG9uLXNhdmUge1xuICB3aWR0aDogMTcwcHg7XG4gIGhlaWdodDogNDRweDtcbiAgYm9yZGVyLXJhZGl1czogMjIuNXB4O1xuICAtLWJhY2tncm91bmQ6ICM0MmI5ZmU7XG4gIC0tY29sb3I6I2ZmZmZmZjtcbiAgbWFyZ2luOiAxMHB4O1xufSJdfQ== */";
|
||||
/***/
|
||||
},
|
||||
|
||||
/***/
|
||||
"./src/app/pages/gabinete-digital/expediente/add-participants-cc-modal/add-participants-cc-modal.page.ts":
|
||||
/*!***************************************************************************************************************!*\
|
||||
!*** ./src/app/pages/gabinete-digital/expediente/add-participants-cc-modal/add-participants-cc-modal.page.ts ***!
|
||||
\***************************************************************************************************************/
|
||||
|
||||
/*! exports provided: AddParticipantsCcModalPage */
|
||||
|
||||
/***/
|
||||
function srcAppPagesGabineteDigitalExpedienteAddParticipantsCcModalAddParticipantsCcModalPageTs(module, __webpack_exports__, __webpack_require__) {
|
||||
"use strict";
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony export (binding) */
|
||||
|
||||
|
||||
__webpack_require__.d(__webpack_exports__, "AddParticipantsCcModalPage", function () {
|
||||
return AddParticipantsCcModalPage;
|
||||
});
|
||||
/* 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/__ivy_ngcc__/fesm2015/core.js");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _ionic_angular__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
||||
/*! @ionic/angular */
|
||||
"./node_modules/@ionic/angular/__ivy_ngcc__/fesm2015/ionic-angular.js");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var src_app_services_contacts_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
||||
/*! src/app/services/contacts.service */
|
||||
"./src/app/services/contacts.service.ts");
|
||||
|
||||
var AddParticipantsCcModalPage = /*#__PURE__*/function () {
|
||||
function AddParticipantsCcModalPage(modalController, contactsService, navParams) {
|
||||
_classCallCheck(this, AddParticipantsCcModalPage);
|
||||
|
||||
this.modalController = modalController;
|
||||
this.contactsService = contactsService;
|
||||
this.navParams = navParams;
|
||||
this.showLoader = false;
|
||||
this.participantsAdded = this.navParams.get('eventPersons');
|
||||
}
|
||||
|
||||
_createClass(AddParticipantsCcModalPage, [{
|
||||
key: "ngOnInit",
|
||||
value: function ngOnInit() {
|
||||
this.fetchContacts("");
|
||||
}
|
||||
}, {
|
||||
key: "onChange",
|
||||
value: function onChange(evt) {
|
||||
this.fetchContacts(evt.detail.value);
|
||||
}
|
||||
}, {
|
||||
key: "selectContact",
|
||||
value: function selectContact(itm) {
|
||||
itm.IsRequired = !itm.IsRequired;
|
||||
}
|
||||
}, {
|
||||
key: "fetchContacts",
|
||||
value: function fetchContacts(filter) {
|
||||
return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
var _this = this;
|
||||
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
this.showLoader = true;
|
||||
this.contactsService.getContacts(filter).subscribe(function (result) {
|
||||
if (_this.participantsAdded != null) {
|
||||
_this.participantsAdded.forEach(function (attendee) {
|
||||
var index = result.findIndex(function (cont) {
|
||||
return cont.EmailAddress == attendee.UserId;
|
||||
});
|
||||
result.splice(index, 1);
|
||||
});
|
||||
}
|
||||
|
||||
_this.contacts = result;
|
||||
_this.showLoader = false;
|
||||
});
|
||||
|
||||
case 2:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}
|
||||
}, _callee, this);
|
||||
}));
|
||||
}
|
||||
}, {
|
||||
key: "cancelTask",
|
||||
value: function cancelTask() {
|
||||
this.modalController.dismiss(null);
|
||||
}
|
||||
}, {
|
||||
key: "saveTask",
|
||||
value: function saveTask() {
|
||||
this.modalController.dismiss(this.contacts.filter(function (contact) {
|
||||
if (contact.IsRequired) {
|
||||
/* console.log(contact); */
|
||||
}
|
||||
|
||||
return contact.IsRequired == true;
|
||||
}));
|
||||
}
|
||||
}]);
|
||||
|
||||
return AddParticipantsCcModalPage;
|
||||
}();
|
||||
|
||||
AddParticipantsCcModalPage.ctorParameters = function () {
|
||||
return [{
|
||||
type: _ionic_angular__WEBPACK_IMPORTED_MODULE_2__["ModalController"]
|
||||
}, {
|
||||
type: src_app_services_contacts_service__WEBPACK_IMPORTED_MODULE_3__["ContactsService"]
|
||||
}, {
|
||||
type: _ionic_angular__WEBPACK_IMPORTED_MODULE_2__["NavParams"]
|
||||
}];
|
||||
};
|
||||
|
||||
AddParticipantsCcModalPage = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({
|
||||
selector: 'app-add-participants-cc-modal',
|
||||
template: Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__importDefault"])(__webpack_require__(
|
||||
/*! raw-loader!./add-participants-cc-modal.page.html */
|
||||
"./node_modules/raw-loader/dist/cjs.js!./src/app/pages/gabinete-digital/expediente/add-participants-cc-modal/add-participants-cc-modal.page.html"))["default"],
|
||||
styles: [Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__importDefault"])(__webpack_require__(
|
||||
/*! ./add-participants-cc-modal.page.scss */
|
||||
"./src/app/pages/gabinete-digital/expediente/add-participants-cc-modal/add-participants-cc-modal.page.scss"))["default"]]
|
||||
})], AddParticipantsCcModalPage);
|
||||
/***/
|
||||
},
|
||||
|
||||
/***/
|
||||
"./src/app/pages/gabinete-digital/expediente/add-participants-modal/add-participants-modal.page.scss":
|
||||
/*!***********************************************************************************************************!*\
|
||||
!*** ./src/app/pages/gabinete-digital/expediente/add-participants-modal/add-participants-modal.page.scss ***!
|
||||
\***********************************************************************************************************/
|
||||
|
||||
/*! exports provided: default */
|
||||
|
||||
/***/
|
||||
function srcAppPagesGabineteDigitalExpedienteAddParticipantsModalAddParticipantsModalPageScss(module, __webpack_exports__, __webpack_require__) {
|
||||
"use strict";
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony default export */
|
||||
|
||||
|
||||
__webpack_exports__["default"] = "ion-header {\n padding: 20px 20px 0px 20px;\n}\n\nion-content {\n --padding-top: 20px;\n --padding-start: 15px;\n --padding-end: 20px;\n}\n\n.container-footer {\n margin: 0 auto;\n overflow: auto;\n}\n\n.button-cancel {\n width: 170px;\n height: 44px;\n border-radius: 22.5px;\n --background: #e0e9ee;\n --color: #061b52;\n margin: 10px;\n}\n\n.button-save {\n width: 170px;\n height: 44px;\n border-radius: 22.5px;\n --background: #42b9fe;\n --color:#ffffff;\n margin: 10px;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvcGFnZXMvZ2FiaW5ldGUtZGlnaXRhbC9leHBlZGllbnRlL2FkZC1wYXJ0aWNpcGFudHMtbW9kYWwvQzpcXFVzZXJzXFx0aWFnby5rYXlheWFcXGRldmVsb3BtZW50XFxnYWJpbmV0ZS1kaWdpdGFsL3NyY1xcYXBwXFxwYWdlc1xcZ2FiaW5ldGUtZGlnaXRhbFxcZXhwZWRpZW50ZVxcYWRkLXBhcnRpY2lwYW50cy1tb2RhbFxcYWRkLXBhcnRpY2lwYW50cy1tb2RhbC5wYWdlLnNjc3MiLCJzcmMvYXBwL3BhZ2VzL2dhYmluZXRlLWRpZ2l0YWwvZXhwZWRpZW50ZS9hZGQtcGFydGljaXBhbnRzLW1vZGFsL2FkZC1w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O1xyXG4gICAgbWFyZ2luOjEwcHg7XHJcbiAgfVxyXG4gIC5idXR0b24tc2F2ZSB7XHJcbiAgICB3aWR0aDogMTcwcHg7XHJcbiAgICBoZWlnaHQ6IDQ0cHg7XHJcbiAgICBib3JkZXItcmFkaXVzOiAyMi41cHg7XHJcbiAgICAtLWJhY2tncm91bmQ6ICM0MmI5ZmU7XHJcbiAgICAtLWNvbG9yOiNmZmZmZmY7XHJcbiAgICBtYXJnaW46MTBweDtcclxuICB9IiwiaW9uLWhlYWRlciB7XG4gIHBhZGRpbmc6IDIwcHggMjBweCAwcHggMjBweDtcbn1cblxuaW9uLWNvbnRlbnQge1xuICAtLXBhZGRpbmctdG9wOiAyMHB4O1xuICAtLXBhZGRpbmctc3RhcnQ6IDE1cHg7XG4gIC0tcGFkZGluZy1lbmQ6IDIwcHg7XG59XG5cbi5jb250YWluZXItZm9vdGVyIHtcbiAgbWFyZ2luOiAwIGF1dG87XG4gIG92ZXJmbG93OiBhdXRvO1xufVxuXG4uYnV0dG9uLWNhbmNlbCB7XG4gIHdpZHRoOiAxNzBweDtcbiAgaGVpZ2h0OiA0NHB4O1xuICBib3JkZXItcmFkaXVzOiAyMi41cHg7XG4gIC0tYmFja2dyb3VuZDogI2UwZTllZTtcbiAgLS1jb2xvcjogIzA2MWI1MjtcbiAgbWFyZ2luOiAxMHB4O1xufVxuXG4uYnV0dG9uLXNhdmUge1xuICB3aWR0aDogMTcwcHg7XG4gIGhlaWdodDogNDRweDtcbiAgYm9yZGVyLXJhZGl1czogMjIuNXB4O1xuICAtLWJhY2tncm91bmQ6ICM0MmI5ZmU7XG4gIC0tY29sb3I6I2ZmZmZmZjtcbiAgbWFyZ2luOiAxMHB4O1xufSJdfQ== */";
|
||||
/***/
|
||||
},
|
||||
|
||||
/***/
|
||||
"./src/app/pages/gabinete-digital/expediente/add-participants-modal/add-participants-modal.page.ts":
|
||||
/*!*********************************************************************************************************!*\
|
||||
!*** ./src/app/pages/gabinete-digital/expediente/add-participants-modal/add-participants-modal.page.ts ***!
|
||||
\*********************************************************************************************************/
|
||||
|
||||
/*! exports provided: AddParticipantsModalPage */
|
||||
|
||||
/***/
|
||||
function srcAppPagesGabineteDigitalExpedienteAddParticipantsModalAddParticipantsModalPageTs(module, __webpack_exports__, __webpack_require__) {
|
||||
"use strict";
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony export (binding) */
|
||||
|
||||
|
||||
__webpack_require__.d(__webpack_exports__, "AddParticipantsModalPage", function () {
|
||||
return AddParticipantsModalPage;
|
||||
});
|
||||
/* 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/__ivy_ngcc__/fesm2015/core.js");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _ionic_angular__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
||||
/*! @ionic/angular */
|
||||
"./node_modules/@ionic/angular/__ivy_ngcc__/fesm2015/ionic-angular.js");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var src_app_services_contacts_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
||||
/*! src/app/services/contacts.service */
|
||||
"./src/app/services/contacts.service.ts");
|
||||
|
||||
var AddParticipantsModalPage = /*#__PURE__*/function () {
|
||||
function AddParticipantsModalPage(modalController, contactsService, navParams) {
|
||||
_classCallCheck(this, AddParticipantsModalPage);
|
||||
|
||||
this.modalController = modalController;
|
||||
this.contactsService = contactsService;
|
||||
this.navParams = navParams;
|
||||
this.showLoader = false;
|
||||
}
|
||||
|
||||
_createClass(AddParticipantsModalPage, [{
|
||||
key: "ngOnInit",
|
||||
value: function ngOnInit() {
|
||||
this.fetchContacts("");
|
||||
this.participantsAdded = this.navParams.get('eventPersons');
|
||||
}
|
||||
}, {
|
||||
key: "fetchContacts",
|
||||
value: function fetchContacts(filter) {
|
||||
return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
||||
var _this2 = this;
|
||||
|
||||
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
||||
while (1) {
|
||||
switch (_context2.prev = _context2.next) {
|
||||
case 0:
|
||||
this.showLoader = true;
|
||||
this.contactsService.getContacts(filter).subscribe(function (result) {
|
||||
if (_this2.participantsAdded != null) {
|
||||
_this2.participantsAdded.forEach(function (attendee) {
|
||||
var index = result.findIndex(function (cont) {
|
||||
return cont.EmailAddress == attendee.UserId;
|
||||
});
|
||||
result.splice(index, 1);
|
||||
});
|
||||
}
|
||||
|
||||
_this2.contacts = result;
|
||||
_this2.showLoader = false;
|
||||
});
|
||||
|
||||
case 2:
|
||||
case "end":
|
||||
return _context2.stop();
|
||||
}
|
||||
}
|
||||
}, _callee2, this);
|
||||
}));
|
||||
}
|
||||
}, {
|
||||
key: "onChange",
|
||||
value: function onChange(evt) {
|
||||
this.fetchContacts(evt.detail.value);
|
||||
}
|
||||
}, {
|
||||
key: "selectContact",
|
||||
value: function selectContact(itm) {
|
||||
itm.IsRequired = !itm.IsRequired;
|
||||
}
|
||||
}, {
|
||||
key: "cancelTask",
|
||||
value: function cancelTask() {
|
||||
this.modalController.dismiss(null);
|
||||
}
|
||||
}, {
|
||||
key: "saveTask",
|
||||
value: function saveTask() {
|
||||
this.modalController.dismiss(this.contacts.filter(function (contact) {
|
||||
if (contact.IsRequired) {
|
||||
/* console.log(contact); */
|
||||
}
|
||||
|
||||
return contact.IsRequired == true;
|
||||
}));
|
||||
}
|
||||
}]);
|
||||
|
||||
return AddParticipantsModalPage;
|
||||
}();
|
||||
|
||||
AddParticipantsModalPage.ctorParameters = function () {
|
||||
return [{
|
||||
type: _ionic_angular__WEBPACK_IMPORTED_MODULE_2__["ModalController"]
|
||||
}, {
|
||||
type: src_app_services_contacts_service__WEBPACK_IMPORTED_MODULE_3__["ContactsService"]
|
||||
}, {
|
||||
type: _ionic_angular__WEBPACK_IMPORTED_MODULE_2__["NavParams"]
|
||||
}];
|
||||
};
|
||||
|
||||
AddParticipantsModalPage = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({
|
||||
selector: 'app-add-participants-modal',
|
||||
template: Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__importDefault"])(__webpack_require__(
|
||||
/*! raw-loader!./add-participants-modal.page.html */
|
||||
"./node_modules/raw-loader/dist/cjs.js!./src/app/pages/gabinete-digital/expediente/add-participants-modal/add-participants-modal.page.html"))["default"],
|
||||
styles: [Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__importDefault"])(__webpack_require__(
|
||||
/*! ./add-participants-modal.page.scss */
|
||||
"./src/app/pages/gabinete-digital/expediente/add-participants-modal/add-participants-modal.page.scss"))["default"]]
|
||||
})], AddParticipantsModalPage);
|
||||
/***/
|
||||
},
|
||||
|
||||
/***/
|
||||
"./src/app/pages/gabinete-digital/expediente/expedient-task-modal/expedient-task-modal-routing.module.ts":
|
||||
/*!***************************************************************************************************************!*\
|
||||
!*** ./src/app/pages/gabinete-digital/expediente/expedient-task-modal/expedient-task-modal-routing.module.ts ***!
|
||||
\***************************************************************************************************************/
|
||||
|
||||
/*! exports provided: ExpedientTaskModalPageRoutingModule */
|
||||
|
||||
/***/
|
||||
function srcAppPagesGabineteDigitalExpedienteExpedientTaskModalExpedientTaskModalRoutingModuleTs(module, __webpack_exports__, __webpack_require__) {
|
||||
"use strict";
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony export (binding) */
|
||||
|
||||
|
||||
__webpack_require__.d(__webpack_exports__, "ExpedientTaskModalPageRoutingModule", function () {
|
||||
return ExpedientTaskModalPageRoutingModule;
|
||||
});
|
||||
/* 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/__ivy_ngcc__/fesm2015/core.js");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
||||
/*! @angular/router */
|
||||
"./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _expedient_task_modal_page__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
||||
/*! ./expedient-task-modal.page */
|
||||
"./src/app/pages/gabinete-digital/expediente/expedient-task-modal/expedient-task-modal.page.ts");
|
||||
|
||||
var routes = [{
|
||||
path: '',
|
||||
component: _expedient_task_modal_page__WEBPACK_IMPORTED_MODULE_3__["ExpedientTaskModalPage"]
|
||||
}];
|
||||
|
||||
var ExpedientTaskModalPageRoutingModule = function ExpedientTaskModalPageRoutingModule() {
|
||||
_classCallCheck(this, ExpedientTaskModalPageRoutingModule);
|
||||
};
|
||||
|
||||
ExpedientTaskModalPageRoutingModule = Object(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"]]
|
||||
})], ExpedientTaskModalPageRoutingModule);
|
||||
/***/
|
||||
},
|
||||
|
||||
/***/
|
||||
"./src/app/pages/gabinete-digital/expediente/expedient-task-modal/expedient-task-modal.module.ts":
|
||||
/*!*******************************************************************************************************!*\
|
||||
!*** ./src/app/pages/gabinete-digital/expediente/expedient-task-modal/expedient-task-modal.module.ts ***!
|
||||
\*******************************************************************************************************/
|
||||
|
||||
/*! exports provided: ExpedientTaskModalPageModule */
|
||||
|
||||
/***/
|
||||
function srcAppPagesGabineteDigitalExpedienteExpedientTaskModalExpedientTaskModalModuleTs(module, __webpack_exports__, __webpack_require__) {
|
||||
"use strict";
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony export (binding) */
|
||||
|
||||
|
||||
__webpack_require__.d(__webpack_exports__, "ExpedientTaskModalPageModule", function () {
|
||||
return ExpedientTaskModalPageModule;
|
||||
});
|
||||
/* 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/__ivy_ngcc__/fesm2015/core.js");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
||||
/*! @angular/common */
|
||||
"./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _angular_forms__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
||||
/*! @angular/forms */
|
||||
"./node_modules/@angular/forms/__ivy_ngcc__/fesm2015/forms.js");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _ionic_angular__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
||||
/*! @ionic/angular */
|
||||
"./node_modules/@ionic/angular/__ivy_ngcc__/fesm2015/ionic-angular.js");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _expedient_task_modal_routing_module__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
||||
/*! ./expedient-task-modal-routing.module */
|
||||
"./src/app/pages/gabinete-digital/expediente/expedient-task-modal/expedient-task-modal-routing.module.ts");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _expedient_task_modal_page__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
||||
/*! ./expedient-task-modal.page */
|
||||
"./src/app/pages/gabinete-digital/expediente/expedient-task-modal/expedient-task-modal.page.ts");
|
||||
|
||||
var ExpedientTaskModalPageModule = function ExpedientTaskModalPageModule() {
|
||||
_classCallCheck(this, ExpedientTaskModalPageModule);
|
||||
};
|
||||
|
||||
ExpedientTaskModalPageModule = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"])({
|
||||
imports: [_angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], _angular_forms__WEBPACK_IMPORTED_MODULE_3__["FormsModule"], _ionic_angular__WEBPACK_IMPORTED_MODULE_4__["IonicModule"], _expedient_task_modal_routing_module__WEBPACK_IMPORTED_MODULE_5__["ExpedientTaskModalPageRoutingModule"]],
|
||||
declarations: [_expedient_task_modal_page__WEBPACK_IMPORTED_MODULE_6__["ExpedientTaskModalPage"]]
|
||||
})], ExpedientTaskModalPageModule);
|
||||
/***/
|
||||
},
|
||||
|
||||
/***/
|
||||
"./src/app/services/attachments.service.ts":
|
||||
/*!*************************************************!*\
|
||||
!*** ./src/app/services/attachments.service.ts ***!
|
||||
\*************************************************/
|
||||
|
||||
/*! exports provided: AttachmentsService */
|
||||
|
||||
/***/
|
||||
function srcAppServicesAttachmentsServiceTs(module, __webpack_exports__, __webpack_require__) {
|
||||
"use strict";
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony export (binding) */
|
||||
|
||||
|
||||
__webpack_require__.d(__webpack_exports__, "AttachmentsService", function () {
|
||||
return AttachmentsService;
|
||||
});
|
||||
/* 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/__ivy_ngcc__/fesm2015/core.js");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
||||
/*! @angular/common/http */
|
||||
"./node_modules/@angular/common/__ivy_ngcc__/fesm2015/http.js");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var src_environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
||||
/*! src/environments/environment */
|
||||
"./src/environments/environment.ts");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _services_auth_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
||||
/*! ../services/auth.service */
|
||||
"./src/app/services/auth.service.ts");
|
||||
|
||||
var AttachmentsService = /*#__PURE__*/function () {
|
||||
function AttachmentsService(http, user) {
|
||||
_classCallCheck(this, AttachmentsService);
|
||||
|
||||
this.http = http;
|
||||
this.loggeduser = user.ValidatedUser;
|
||||
this.headers = new _angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpHeaders"]();
|
||||
this.headers = this.headers.set('Authorization', this.loggeduser.BasicAuthKey);
|
||||
}
|
||||
|
||||
_createClass(AttachmentsService, [{
|
||||
key: "getAttachmentsBySerial",
|
||||
value: function getAttachmentsBySerial(serialNumber) {
|
||||
var geturl = src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].apiURL + 'attachments/GetAttachments';
|
||||
var params = new _angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpParams"]();
|
||||
params = params.set("SerialNumber", serialNumber);
|
||||
var options = {
|
||||
headers: this.headers,
|
||||
params: params
|
||||
};
|
||||
return this.http.get("".concat(geturl), options);
|
||||
}
|
||||
}, {
|
||||
key: "getAttachments",
|
||||
value: function getAttachments(source, sourceid) {
|
||||
var geturl = src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].apiURL + 'attachments/GetSourceName';
|
||||
var params = new _angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpParams"]();
|
||||
params = params.set("Source", source.toString());
|
||||
/* params = params.set("SourceId", sourceid); */
|
||||
|
||||
var options = {
|
||||
headers: this.headers,
|
||||
params: params
|
||||
};
|
||||
return this.http.get("".concat(geturl), options);
|
||||
}
|
||||
}, {
|
||||
key: "getAttachmentsById",
|
||||
value: function getAttachmentsById(eventId) {
|
||||
var geturl = src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].apiURL + 'attachments/GetAttachmentsByEventId';
|
||||
var params = new _angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpParams"]();
|
||||
params = params.set("ParentId", eventId);
|
||||
/* params = params.set("SourceId", sourceid); */
|
||||
|
||||
var options = {
|
||||
headers: this.headers,
|
||||
params: params
|
||||
};
|
||||
return this.http.get("".concat(geturl), options);
|
||||
}
|
||||
}]);
|
||||
|
||||
return AttachmentsService;
|
||||
}();
|
||||
|
||||
AttachmentsService.ctorParameters = function () {
|
||||
return [{
|
||||
type: _angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]
|
||||
}, {
|
||||
type: _services_auth_service__WEBPACK_IMPORTED_MODULE_4__["AuthService"]
|
||||
}];
|
||||
};
|
||||
|
||||
AttachmentsService = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({
|
||||
providedIn: 'root'
|
||||
})], AttachmentsService);
|
||||
/***/
|
||||
},
|
||||
|
||||
/***/
|
||||
"./src/app/services/contacts.service.ts":
|
||||
/*!**********************************************!*\
|
||||
!*** ./src/app/services/contacts.service.ts ***!
|
||||
\**********************************************/
|
||||
|
||||
/*! exports provided: ContactsService */
|
||||
|
||||
/***/
|
||||
function srcAppServicesContactsServiceTs(module, __webpack_exports__, __webpack_require__) {
|
||||
"use strict";
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony export (binding) */
|
||||
|
||||
|
||||
__webpack_require__.d(__webpack_exports__, "ContactsService", function () {
|
||||
return ContactsService;
|
||||
});
|
||||
/* 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/__ivy_ngcc__/fesm2015/core.js");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
||||
/*! @angular/common/http */
|
||||
"./node_modules/@angular/common/__ivy_ngcc__/fesm2015/http.js");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var src_environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
||||
/*! src/environments/environment */
|
||||
"./src/environments/environment.ts");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _services_auth_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
||||
/*! ../services/auth.service */
|
||||
"./src/app/services/auth.service.ts");
|
||||
|
||||
var ContactsService = /*#__PURE__*/function () {
|
||||
function ContactsService(http, user) {
|
||||
_classCallCheck(this, ContactsService);
|
||||
|
||||
this.http = http;
|
||||
this.authheader = {};
|
||||
this.loggeduser = user.ValidatedUser;
|
||||
this.headers = new _angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpHeaders"]();
|
||||
this.headers = this.headers.set('Authorization', this.loggeduser.BasicAuthKey);
|
||||
}
|
||||
|
||||
_createClass(ContactsService, [{
|
||||
key: "getContacts",
|
||||
value: function getContacts(namefilter) {
|
||||
var geturl = src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].apiURL + 'contacts/get';
|
||||
var params = new _angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpParams"]();
|
||||
params = params.set("namefilter", namefilter);
|
||||
params = params.set("domain", src_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].domain);
|
||||
var options = {
|
||||
headers: this.headers,
|
||||
params: params
|
||||
};
|
||||
return this.http.get("".concat(geturl), options);
|
||||
}
|
||||
}]);
|
||||
|
||||
return ContactsService;
|
||||
}();
|
||||
|
||||
ContactsService.ctorParameters = function () {
|
||||
return [{
|
||||
type: _angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]
|
||||
}, {
|
||||
type: _services_auth_service__WEBPACK_IMPORTED_MODULE_4__["AuthService"]
|
||||
}];
|
||||
};
|
||||
|
||||
ContactsService = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({
|
||||
providedIn: 'root'
|
||||
})], ContactsService);
|
||||
/***/
|
||||
}
|
||||
}]);
|
||||
//# sourceMappingURL=expedient-task-modal-expedient-task-modal-module-es5.js.map
|
||||
Reference in New Issue
Block a user