mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
Merge with developer brunch
This commit is contained in:
-83
@@ -1,83 +0,0 @@
|
||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["approve-event-modal-approve-event-modal-module"],{
|
||||
|
||||
/***/ "./src/app/pages/agenda/approve-event-modal/approve-event-modal-routing.module.ts":
|
||||
/*!****************************************************************************************!*\
|
||||
!*** ./src/app/pages/agenda/approve-event-modal/approve-event-modal-routing.module.ts ***!
|
||||
\****************************************************************************************/
|
||||
/*! exports provided: ApproveEventModalPageRoutingModule */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ApproveEventModalPageRoutingModule", function() { return ApproveEventModalPageRoutingModule; });
|
||||
/* 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 _approve_event_modal_page__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./approve-event-modal.page */ "./src/app/pages/agenda/approve-event-modal/approve-event-modal.page.ts");
|
||||
|
||||
|
||||
|
||||
|
||||
const routes = [
|
||||
{
|
||||
path: '',
|
||||
component: _approve_event_modal_page__WEBPACK_IMPORTED_MODULE_3__["ApproveEventModalPage"]
|
||||
}
|
||||
];
|
||||
let ApproveEventModalPageRoutingModule = class ApproveEventModalPageRoutingModule {
|
||||
};
|
||||
ApproveEventModalPageRoutingModule = 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"]],
|
||||
})
|
||||
], ApproveEventModalPageRoutingModule);
|
||||
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./src/app/pages/agenda/approve-event-modal/approve-event-modal.module.ts":
|
||||
/*!********************************************************************************!*\
|
||||
!*** ./src/app/pages/agenda/approve-event-modal/approve-event-modal.module.ts ***!
|
||||
\********************************************************************************/
|
||||
/*! exports provided: ApproveEventModalPageModule */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ApproveEventModalPageModule", function() { return ApproveEventModalPageModule; });
|
||||
/* 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 _approve_event_modal_routing_module__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./approve-event-modal-routing.module */ "./src/app/pages/agenda/approve-event-modal/approve-event-modal-routing.module.ts");
|
||||
/* harmony import */ var _approve_event_modal_page__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./approve-event-modal.page */ "./src/app/pages/agenda/approve-event-modal/approve-event-modal.page.ts");
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
let ApproveEventModalPageModule = class ApproveEventModalPageModule {
|
||||
};
|
||||
ApproveEventModalPageModule = 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"],
|
||||
_approve_event_modal_routing_module__WEBPACK_IMPORTED_MODULE_5__["ApproveEventModalPageRoutingModule"]
|
||||
],
|
||||
declarations: [_approve_event_modal_page__WEBPACK_IMPORTED_MODULE_6__["ApproveEventModalPage"]]
|
||||
})
|
||||
], ApproveEventModalPageModule);
|
||||
|
||||
|
||||
|
||||
/***/ })
|
||||
|
||||
}]);
|
||||
//# sourceMappingURL=approve-event-modal-approve-event-modal-module-es2015.js.map
|
||||
-1
@@ -1 +0,0 @@
|
||||
{"version":3,"sources":["./src/app/pages/agenda/approve-event-modal/approve-event-modal-routing.module.ts","./src/app/pages/agenda/approve-event-modal/approve-event-modal.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACc;AAEY;AAEnE,MAAM,MAAM,GAAW;IACrB;QACE,IAAI,EAAE,EAAE;QACR,SAAS,EAAE,+EAAqB;KACjC;CACF,CAAC;AAMF,IAAa,kCAAkC,GAA/C,MAAa,kCAAkC;CAAG;AAArC,kCAAkC;IAJ9C,8DAAQ,CAAC;QACR,OAAO,EAAE,CAAC,4DAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;QACxC,OAAO,EAAE,CAAC,4DAAY,CAAC;KACxB,CAAC;GACW,kCAAkC,CAAG;AAAH;;;;;;;;;;;;;;;;;;;;;;;AChBN;AACM;AACF;AAEA;AAE6C;AAEvB;AAWnE,IAAa,2BAA2B,GAAxC,MAAa,2BAA2B;CAAG;AAA9B,2BAA2B;IATvC,8DAAQ,CAAC;QACR,OAAO,EAAE;YACP,4DAAY;YACZ,0DAAW;YACX,0DAAW;YACX,sGAAkC;SACnC;QACD,YAAY,EAAE,CAAC,+EAAqB,CAAC;KACtC,CAAC;GACW,2BAA2B,CAAG;AAAH","file":"approve-event-modal-approve-event-modal-module-es2015.js","sourcesContent":["import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\n\r\nimport { ApproveEventModalPage } from './approve-event-modal.page';\r\n\r\nconst routes: Routes = [\r\n {\r\n path: '',\r\n component: ApproveEventModalPage\r\n }\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule],\r\n})\r\nexport class ApproveEventModalPageRoutingModule {}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormsModule } from '@angular/forms';\r\n\r\nimport { IonicModule } from '@ionic/angular';\r\n\r\nimport { ApproveEventModalPageRoutingModule } from './approve-event-modal-routing.module';\r\n\r\nimport { ApproveEventModalPage } from './approve-event-modal.page';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n FormsModule,\r\n IonicModule,\r\n ApproveEventModalPageRoutingModule\r\n ],\r\n declarations: [ApproveEventModalPage]\r\n})\r\nexport class ApproveEventModalPageModule {}\r\n"],"sourceRoot":"webpack:///"}
|
||||
-137
@@ -1,137 +0,0 @@
|
||||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
||||
|
||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["approve-event-modal-approve-event-modal-module"], {
|
||||
/***/
|
||||
"./src/app/pages/agenda/approve-event-modal/approve-event-modal-routing.module.ts":
|
||||
/*!****************************************************************************************!*\
|
||||
!*** ./src/app/pages/agenda/approve-event-modal/approve-event-modal-routing.module.ts ***!
|
||||
\****************************************************************************************/
|
||||
|
||||
/*! exports provided: ApproveEventModalPageRoutingModule */
|
||||
|
||||
/***/
|
||||
function srcAppPagesAgendaApproveEventModalApproveEventModalRoutingModuleTs(module, __webpack_exports__, __webpack_require__) {
|
||||
"use strict";
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony export (binding) */
|
||||
|
||||
|
||||
__webpack_require__.d(__webpack_exports__, "ApproveEventModalPageRoutingModule", function () {
|
||||
return ApproveEventModalPageRoutingModule;
|
||||
});
|
||||
/* 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 _approve_event_modal_page__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
||||
/*! ./approve-event-modal.page */
|
||||
"./src/app/pages/agenda/approve-event-modal/approve-event-modal.page.ts");
|
||||
|
||||
var routes = [{
|
||||
path: '',
|
||||
component: _approve_event_modal_page__WEBPACK_IMPORTED_MODULE_3__["ApproveEventModalPage"]
|
||||
}];
|
||||
|
||||
var ApproveEventModalPageRoutingModule = function ApproveEventModalPageRoutingModule() {
|
||||
_classCallCheck(this, ApproveEventModalPageRoutingModule);
|
||||
};
|
||||
|
||||
ApproveEventModalPageRoutingModule = 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"]]
|
||||
})], ApproveEventModalPageRoutingModule);
|
||||
/***/
|
||||
},
|
||||
|
||||
/***/
|
||||
"./src/app/pages/agenda/approve-event-modal/approve-event-modal.module.ts":
|
||||
/*!********************************************************************************!*\
|
||||
!*** ./src/app/pages/agenda/approve-event-modal/approve-event-modal.module.ts ***!
|
||||
\********************************************************************************/
|
||||
|
||||
/*! exports provided: ApproveEventModalPageModule */
|
||||
|
||||
/***/
|
||||
function srcAppPagesAgendaApproveEventModalApproveEventModalModuleTs(module, __webpack_exports__, __webpack_require__) {
|
||||
"use strict";
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony export (binding) */
|
||||
|
||||
|
||||
__webpack_require__.d(__webpack_exports__, "ApproveEventModalPageModule", function () {
|
||||
return ApproveEventModalPageModule;
|
||||
});
|
||||
/* 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 _approve_event_modal_routing_module__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
||||
/*! ./approve-event-modal-routing.module */
|
||||
"./src/app/pages/agenda/approve-event-modal/approve-event-modal-routing.module.ts");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _approve_event_modal_page__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
||||
/*! ./approve-event-modal.page */
|
||||
"./src/app/pages/agenda/approve-event-modal/approve-event-modal.page.ts");
|
||||
|
||||
var ApproveEventModalPageModule = function ApproveEventModalPageModule() {
|
||||
_classCallCheck(this, ApproveEventModalPageModule);
|
||||
};
|
||||
|
||||
ApproveEventModalPageModule = 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"], _approve_event_modal_routing_module__WEBPACK_IMPORTED_MODULE_5__["ApproveEventModalPageRoutingModule"]],
|
||||
declarations: [_approve_event_modal_page__WEBPACK_IMPORTED_MODULE_6__["ApproveEventModalPage"]]
|
||||
})], ApproveEventModalPageModule);
|
||||
/***/
|
||||
}
|
||||
}]);
|
||||
//# sourceMappingURL=approve-event-modal-approve-event-modal-module-es5.js.map
|
||||
-1
@@ -1 +0,0 @@
|
||||
{"version":3,"sources":["webpack:///src/app/pages/agenda/approve-event-modal/approve-event-modal-routing.module.ts","webpack:///src/app/pages/agenda/approve-event-modal/approve-event-modal.module.ts"],"names":["routes","path","component","ApproveEventModalPageRoutingModule","imports","forChild","exports","ApproveEventModalPageModule","declarations"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,QAAMA,MAAM,GAAW,CACrB;AACEC,UAAI,EAAE,EADR;AAEEC,eAAS,EAAE;AAFb,KADqB,CAAvB;;AAWA,QAAaC,kCAAkC;AAAA;AAAA,KAA/C;;AAAaA,sCAAkC,6DAJ9C,+DAAS;AACRC,aAAO,EAAE,CAAC,6DAAaC,QAAb,CAAsBL,MAAtB,CAAD,CADD;AAERM,aAAO,EAAE,CAAC,4DAAD;AAFD,KAAT,CAI8C,GAAlCH,kCAAkC,CAAlC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACGb,QAAaI,2BAA2B;AAAA;AAAA,KAAxC;;AAAaA,+BAA2B,6DATvC,+DAAS;AACRH,aAAO,EAAE,CACP,4DADO,EAEP,0DAFO,EAGP,0DAHO,EAIP,sGAJO,CADD;AAORI,kBAAY,EAAE,CAAC,+EAAD;AAPN,KAAT,CASuC,GAA3BD,2BAA2B,CAA3B","file":"approve-event-modal-approve-event-modal-module-es5.js","sourcesContent":["import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\n\r\nimport { ApproveEventModalPage } from './approve-event-modal.page';\r\n\r\nconst routes: Routes = [\r\n {\r\n path: '',\r\n component: ApproveEventModalPage\r\n }\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule],\r\n})\r\nexport class ApproveEventModalPageRoutingModule {}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormsModule } from '@angular/forms';\r\n\r\nimport { IonicModule } from '@ionic/angular';\r\n\r\nimport { ApproveEventModalPageRoutingModule } from './approve-event-modal-routing.module';\r\n\r\nimport { ApproveEventModalPage } from './approve-event-modal.page';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n FormsModule,\r\n IonicModule,\r\n ApproveEventModalPageRoutingModule\r\n ],\r\n declarations: [ApproveEventModalPage]\r\n})\r\nexport class ApproveEventModalPageModule {}\r\n"]}
|
||||
@@ -657,6 +657,10 @@ const routes = [
|
||||
{
|
||||
path: '',
|
||||
component: _event_list_page__WEBPACK_IMPORTED_MODULE_3__["EventListPage"]
|
||||
},
|
||||
{
|
||||
path: 'approve-event',
|
||||
loadChildren: () => __webpack_require__.e(/*! import() | approve-event-approve-event-module */ "approve-event-approve-event-module").then(__webpack_require__.bind(null, /*! ./approve-event/approve-event.module */ "./src/app/pages/gabinete-digital/event-list/approve-event/approve-event.module.ts")).then(m => m.ApproveEventPageModule)
|
||||
}
|
||||
];
|
||||
let EventListPageRoutingModule = class EventListPageRoutingModule {
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1035,6 +1035,17 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
|
||||
var routes = [{
|
||||
path: '',
|
||||
component: _event_list_page__WEBPACK_IMPORTED_MODULE_3__["EventListPage"]
|
||||
}, {
|
||||
path: 'approve-event',
|
||||
loadChildren: function loadChildren() {
|
||||
return __webpack_require__.e(
|
||||
/*! import() | approve-event-approve-event-module */
|
||||
"approve-event-approve-event-module").then(__webpack_require__.bind(null,
|
||||
/*! ./approve-event/approve-event.module */
|
||||
"./src/app/pages/gabinete-digital/event-list/approve-event/approve-event.module.ts")).then(function (m) {
|
||||
return m.ApproveEventPageModule;
|
||||
});
|
||||
}
|
||||
}];
|
||||
|
||||
var EventListPageRoutingModule = function EventListPageRoutingModule() {
|
||||
|
||||
File diff suppressed because one or more lines are too long
+1
-1
@@ -22,7 +22,7 @@ __webpack_require__.r(__webpack_exports__);
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony default export */ __webpack_exports__["default"] = ("<ion-header class=\"ion-no-border\">\r\n <ion-toolbar class=\"header-toolbar\">\r\n <div class=\"main-header\">\r\n <div class=\"title-content\">\r\n <div class=\"left\">\r\n <ion-icon (click)=\"close()\" slot=\"end\" src='assets/images/icons-arrow-arrow-left.svg'></ion-icon>\r\n </div>\r\n <div class=\"middle\">\r\n <ion-label class=\"title\">{{loadedEvent.Subject}}</ion-label>\r\n </div>\r\n <div class=\"div-icon\">\r\n <ion-icon class=\"edit\" (click)=\"editEvent()\" slot=\"end\" src=\"assets/images/icons-edit.svg\" ></ion-icon>\r\n <ion-icon class=\"delete\" (click)=\"deleteEvent()\" name=\"trash-sharp\"></ion-icon> \r\n </div>\r\n </div>\r\n </div>\r\n </ion-toolbar>\r\n</ion-header>\r\n\r\n<ion-content>\r\n <div class=\"main-content\">\r\n <div class=\"upper-content\">\r\n <div class=\"content-location\">\r\n <div class=\"location-detail\">\r\n <ion-label >{{loadedEvent.Location}}</ion-label>\r\n </div>\r\n <div class=\"button-{{profile}}-{{loadedEvent.CalendarName}}\">\r\n <ion-button class=\"button-{{profile}}-{{loadedEvent.CalendarName}}\" slot=\"end\">{{loadedEvent.CalendarName}}</ion-button>\r\n </div>\r\n </div>\r\n <div class=\"content-details\">\r\n <ion-label>\r\n <p>{{customDate}}</p>\r\n <p>das {{loadedEvent.StartDate | date: 'hh:mm'}} às {{loadedEvent.EndDate | date: 'hh:mm'}}</p>\r\n <p *ngIf=\"!loadedEvent.IsRecurring\">(Não se repete)</p>\r\n <p *ngIf=\"loadedEvent.IsRecurring\">Repete</p>\r\n </ion-label>\r\n </div>\r\n </div>\r\n <div class=\"middle-content\">\r\n <ion-item class=\"ion-no-margin ion-no-padding\">\r\n <ion-label>\r\n <h3>Intervenientes</h3>\r\n <div *ngFor=\"let attendee of loadedEvent.Attendees\">\r\n <p>{{attendee.Name}}</p>\r\n </div>\r\n </ion-label>\r\n </ion-item>\r\n <ion-item class=\"ion-no-margin ion-no-padding\">\r\n <ion-label>\r\n <h3>Detalhes</h3>\r\n <p>{{loadedEvent.Body.Text}}</p>\r\n </ion-label>\r\n </ion-item>\r\n </div>\r\n \r\n <div *ngIf=\"loadedAttachments\" class=\"bottom-content\">\r\n <ion-list>\r\n <h3>Documentos Anexados</h3>\r\n <ion-item class=\"ion-no-margin ion-no-padding\">\r\n <ion-label *ngFor=\"let attach of loadedAttachments\"\r\n (click)=\"viewDocument()\">\r\n <p class=\"attach-title-item\">{{attach.SourceName}}</p>\r\n <p><span class=\"span-left\">{{attach.Stakeholders}}</span><span class=\"span-right\">{{ attach.CreateDate | date: 'dd-MM-yy' }}</span></p>\r\n </ion-label>\r\n </ion-item>\r\n </ion-list>\r\n </div>\r\n </div> \r\n</ion-content>");
|
||||
/* harmony default export */ __webpack_exports__["default"] = ("<ion-header class=\"ion-no-border\">\r\n <ion-toolbar class=\"header-toolbar\">\r\n <div class=\"main-header\">\r\n <div class=\"title-content\">\r\n <div class=\"left\">\r\n <ion-icon (click)=\"close()\" slot=\"end\" src='assets/images/icons-arrow-arrow-left.svg'></ion-icon>\r\n </div>\r\n <div class=\"middle\">\r\n <ion-label class=\"title\">{{loadedEvent.Subject}}</ion-label>\r\n </div>\r\n <div class=\"div-icon\">\r\n <ion-icon class=\"edit\" (click)=\"editEvent()\" slot=\"end\" src=\"assets/images/icons-edit.svg\" ></ion-icon>\r\n <ion-icon class=\"delete\" (click)=\"deleteEvent()\" name=\"trash-sharp\"></ion-icon> \r\n </div>\r\n </div>\r\n </div>\r\n </ion-toolbar>\r\n</ion-header>\r\n\r\n<ion-content>\r\n <div class=\"main-content\">\r\n <div class=\"upper-content\">\r\n <div class=\"content-location\">\r\n <div class=\"location-detail\">\r\n <ion-label >{{loadedEvent.Location}}</ion-label>\r\n </div>\r\n <div class=\"button-{{profile}}-{{loadedEvent.CalendarName}}\">\r\n <ion-button class=\"button-{{profile}}-{{loadedEvent.CalendarName}}\" slot=\"end\">{{loadedEvent.CalendarName}}</ion-button>\r\n </div>\r\n </div>\r\n <div class=\"content-details\">\r\n <ion-label>\r\n <p>{{customDate}}</p>\r\n <p>das {{loadedEvent.StartDate | date: 'HH:mm'}} às {{loadedEvent.EndDate | date: 'HH:mm'}}</p>\r\n <p *ngIf=\"!loadedEvent.IsRecurring\">(Não se repete)</p>\r\n <p *ngIf=\"loadedEvent.IsRecurring\">Repete</p>\r\n </ion-label>\r\n </div>\r\n </div>\r\n <div class=\"middle-content\">\r\n <ion-item class=\"ion-no-margin ion-no-padding\">\r\n <ion-label>\r\n <h3>Intervenientes</h3>\r\n <div *ngFor=\"let attendee of loadedEvent.Attendees\">\r\n <p>{{attendee.Name}}</p>\r\n </div>\r\n </ion-label>\r\n </ion-item>\r\n <ion-item class=\"ion-no-margin ion-no-padding\">\r\n <ion-label>\r\n <h3>Detalhes</h3>\r\n <p>{{loadedEvent.Body.Text}}</p>\r\n </ion-label>\r\n </ion-item>\r\n </div>\r\n \r\n <div *ngIf=\"loadedAttachments\" class=\"bottom-content\">\r\n <ion-list>\r\n <h3>Documentos Anexados</h3>\r\n <ion-item class=\"ion-no-margin ion-no-padding\">\r\n <ion-label *ngFor=\"let attach of loadedAttachments\"\r\n (click)=\"viewDocument()\">\r\n <p class=\"attach-title-item\">{{attach.SourceName}}</p>\r\n <p><span class=\"span-left\">{{attach.Stakeholders}}</span><span class=\"span-right\">{{ attach.CreateDate | date: 'dd-MM-yy' }}</span></p>\r\n </ion-label>\r\n </ion-item>\r\n </ion-list>\r\n </div>\r\n </div> \r\n</ion-content>");
|
||||
|
||||
/***/ }),
|
||||
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -41,7 +41,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
||||
/* harmony default export */
|
||||
|
||||
|
||||
__webpack_exports__["default"] = "<ion-header class=\"ion-no-border\">\r\n <ion-toolbar class=\"header-toolbar\">\r\n <div class=\"main-header\">\r\n <div class=\"title-content\">\r\n <div class=\"left\">\r\n <ion-icon (click)=\"close()\" slot=\"end\" src='assets/images/icons-arrow-arrow-left.svg'></ion-icon>\r\n </div>\r\n <div class=\"middle\">\r\n <ion-label class=\"title\">{{loadedEvent.Subject}}</ion-label>\r\n </div>\r\n <div class=\"div-icon\">\r\n <ion-icon class=\"edit\" (click)=\"editEvent()\" slot=\"end\" src=\"assets/images/icons-edit.svg\" ></ion-icon>\r\n <ion-icon class=\"delete\" (click)=\"deleteEvent()\" name=\"trash-sharp\"></ion-icon> \r\n </div>\r\n </div>\r\n </div>\r\n </ion-toolbar>\r\n</ion-header>\r\n\r\n<ion-content>\r\n <div class=\"main-content\">\r\n <div class=\"upper-content\">\r\n <div class=\"content-location\">\r\n <div class=\"location-detail\">\r\n <ion-label >{{loadedEvent.Location}}</ion-label>\r\n </div>\r\n <div class=\"button-{{profile}}-{{loadedEvent.CalendarName}}\">\r\n <ion-button class=\"button-{{profile}}-{{loadedEvent.CalendarName}}\" slot=\"end\">{{loadedEvent.CalendarName}}</ion-button>\r\n </div>\r\n </div>\r\n <div class=\"content-details\">\r\n <ion-label>\r\n <p>{{customDate}}</p>\r\n <p>das {{loadedEvent.StartDate | date: 'hh:mm'}} às {{loadedEvent.EndDate | date: 'hh:mm'}}</p>\r\n <p *ngIf=\"!loadedEvent.IsRecurring\">(Não se repete)</p>\r\n <p *ngIf=\"loadedEvent.IsRecurring\">Repete</p>\r\n </ion-label>\r\n </div>\r\n </div>\r\n <div class=\"middle-content\">\r\n <ion-item class=\"ion-no-margin ion-no-padding\">\r\n <ion-label>\r\n <h3>Intervenientes</h3>\r\n <div *ngFor=\"let attendee of loadedEvent.Attendees\">\r\n <p>{{attendee.Name}}</p>\r\n </div>\r\n </ion-label>\r\n </ion-item>\r\n <ion-item class=\"ion-no-margin ion-no-padding\">\r\n <ion-label>\r\n <h3>Detalhes</h3>\r\n <p>{{loadedEvent.Body.Text}}</p>\r\n </ion-label>\r\n </ion-item>\r\n </div>\r\n \r\n <div *ngIf=\"loadedAttachments\" class=\"bottom-content\">\r\n <ion-list>\r\n <h3>Documentos Anexados</h3>\r\n <ion-item class=\"ion-no-margin ion-no-padding\">\r\n <ion-label *ngFor=\"let attach of loadedAttachments\"\r\n (click)=\"viewDocument()\">\r\n <p class=\"attach-title-item\">{{attach.SourceName}}</p>\r\n <p><span class=\"span-left\">{{attach.Stakeholders}}</span><span class=\"span-right\">{{ attach.CreateDate | date: 'dd-MM-yy' }}</span></p>\r\n </ion-label>\r\n </ion-item>\r\n </ion-list>\r\n </div>\r\n </div> \r\n</ion-content>";
|
||||
__webpack_exports__["default"] = "<ion-header class=\"ion-no-border\">\r\n <ion-toolbar class=\"header-toolbar\">\r\n <div class=\"main-header\">\r\n <div class=\"title-content\">\r\n <div class=\"left\">\r\n <ion-icon (click)=\"close()\" slot=\"end\" src='assets/images/icons-arrow-arrow-left.svg'></ion-icon>\r\n </div>\r\n <div class=\"middle\">\r\n <ion-label class=\"title\">{{loadedEvent.Subject}}</ion-label>\r\n </div>\r\n <div class=\"div-icon\">\r\n <ion-icon class=\"edit\" (click)=\"editEvent()\" slot=\"end\" src=\"assets/images/icons-edit.svg\" ></ion-icon>\r\n <ion-icon class=\"delete\" (click)=\"deleteEvent()\" name=\"trash-sharp\"></ion-icon> \r\n </div>\r\n </div>\r\n </div>\r\n </ion-toolbar>\r\n</ion-header>\r\n\r\n<ion-content>\r\n <div class=\"main-content\">\r\n <div class=\"upper-content\">\r\n <div class=\"content-location\">\r\n <div class=\"location-detail\">\r\n <ion-label >{{loadedEvent.Location}}</ion-label>\r\n </div>\r\n <div class=\"button-{{profile}}-{{loadedEvent.CalendarName}}\">\r\n <ion-button class=\"button-{{profile}}-{{loadedEvent.CalendarName}}\" slot=\"end\">{{loadedEvent.CalendarName}}</ion-button>\r\n </div>\r\n </div>\r\n <div class=\"content-details\">\r\n <ion-label>\r\n <p>{{customDate}}</p>\r\n <p>das {{loadedEvent.StartDate | date: 'HH:mm'}} às {{loadedEvent.EndDate | date: 'HH:mm'}}</p>\r\n <p *ngIf=\"!loadedEvent.IsRecurring\">(Não se repete)</p>\r\n <p *ngIf=\"loadedEvent.IsRecurring\">Repete</p>\r\n </ion-label>\r\n </div>\r\n </div>\r\n <div class=\"middle-content\">\r\n <ion-item class=\"ion-no-margin ion-no-padding\">\r\n <ion-label>\r\n <h3>Intervenientes</h3>\r\n <div *ngFor=\"let attendee of loadedEvent.Attendees\">\r\n <p>{{attendee.Name}}</p>\r\n </div>\r\n </ion-label>\r\n </ion-item>\r\n <ion-item class=\"ion-no-margin ion-no-padding\">\r\n <ion-label>\r\n <h3>Detalhes</h3>\r\n <p>{{loadedEvent.Body.Text}}</p>\r\n </ion-label>\r\n </ion-item>\r\n </div>\r\n \r\n <div *ngIf=\"loadedAttachments\" class=\"bottom-content\">\r\n <ion-list>\r\n <h3>Documentos Anexados</h3>\r\n <ion-item class=\"ion-no-margin ion-no-padding\">\r\n <ion-label *ngFor=\"let attach of loadedAttachments\"\r\n (click)=\"viewDocument()\">\r\n <p class=\"attach-title-item\">{{attach.SourceName}}</p>\r\n <p><span class=\"span-left\">{{attach.Stakeholders}}</span><span class=\"span-right\">{{ attach.CreateDate | date: 'dd-MM-yy' }}</span></p>\r\n </ion-label>\r\n </ion-item>\r\n </ion-list>\r\n </div>\r\n </div> \r\n</ion-content>";
|
||||
/***/
|
||||
},
|
||||
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -444,31 +444,26 @@ __webpack_require__.r(__webpack_exports__);
|
||||
/* 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 _ionic_native_splash_screen_ngx__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ionic-native/splash-screen/ngx */ "./node_modules/@ionic-native/splash-screen/__ivy_ngcc__/ngx/index.js");
|
||||
/* harmony import */ var _ionic_native_status_bar_ngx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @ionic-native/status-bar/ngx */ "./node_modules/@ionic-native/status-bar/__ivy_ngcc__/ngx/index.js");
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* import { SplashScreen } from '@ionic-native/splash-screen/ngx';
|
||||
import { StatusBar } from '@ionic-native/status-bar/ngx';
|
||||
*/
|
||||
let AppComponent = class AppComponent {
|
||||
constructor(platform, splashScreen, statusBar) {
|
||||
constructor(platform) {
|
||||
this.platform = platform;
|
||||
this.splashScreen = splashScreen;
|
||||
this.statusBar = statusBar;
|
||||
this.initializeApp();
|
||||
}
|
||||
initializeApp() {
|
||||
this.platform.ready().then(() => {
|
||||
this.statusBar.styleDefault();
|
||||
this.splashScreen.hide();
|
||||
/* this.statusBar.styleDefault();
|
||||
this.splashScreen.hide(); */
|
||||
});
|
||||
}
|
||||
};
|
||||
AppComponent.ctorParameters = () => [
|
||||
{ type: _ionic_angular__WEBPACK_IMPORTED_MODULE_2__["Platform"] },
|
||||
{ type: _ionic_native_splash_screen_ngx__WEBPACK_IMPORTED_MODULE_3__["SplashScreen"] },
|
||||
{ type: _ionic_native_status_bar_ngx__WEBPACK_IMPORTED_MODULE_4__["StatusBar"] }
|
||||
{ type: _ionic_angular__WEBPACK_IMPORTED_MODULE_2__["Platform"] }
|
||||
];
|
||||
AppComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
|
||||
Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({
|
||||
@@ -497,14 +492,14 @@ __webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/platform-browser */ "./node_modules/@angular/platform-browser/__ivy_ngcc__/fesm2015/platform-browser.js");
|
||||
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.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 _ionic_native_splash_screen_ngx__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ionic-native/splash-screen/ngx */ "./node_modules/@ionic-native/splash-screen/__ivy_ngcc__/ngx/index.js");
|
||||
/* harmony import */ var _ionic_native_status_bar_ngx__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @ionic-native/status-bar/ngx */ "./node_modules/@ionic-native/status-bar/__ivy_ngcc__/ngx/index.js");
|
||||
/* harmony import */ var _app_routing_module__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./app-routing.module */ "./src/app/app-routing.module.ts");
|
||||
/* harmony import */ var _app_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./app.component */ "./src/app/app.component.ts");
|
||||
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/http.js");
|
||||
/* harmony import */ var _ionic_native_in_app_browser_ngx__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @ionic-native/in-app-browser/ngx */ "./node_modules/@ionic-native/in-app-browser/__ivy_ngcc__/ngx/index.js");
|
||||
/* harmony import */ var _ionic_native_ionic_webview_ngx__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @ionic-native/ionic-webview/ngx */ "./node_modules/@ionic-native/ionic-webview/__ivy_ngcc__/ngx/index.js");
|
||||
/* harmony import */ var _ionic_native_file_path_ngx__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @ionic-native/file-path/ngx */ "./node_modules/@ionic-native/file-path/__ivy_ngcc__/ngx/index.js");
|
||||
/* harmony import */ var _app_routing_module__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./app-routing.module */ "./src/app/app-routing.module.ts");
|
||||
/* harmony import */ var _app_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./app.component */ "./src/app/app.component.ts");
|
||||
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/http.js");
|
||||
/* harmony import */ var _ionic_native_in_app_browser_ngx__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @ionic-native/in-app-browser/ngx */ "./node_modules/@ionic-native/in-app-browser/__ivy_ngcc__/ngx/index.js");
|
||||
/* harmony import */ var _ionic_native_File_ngx__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @ionic-native/File/ngx */ "./node_modules/@ionic-native/File/__ivy_ngcc__/ngx/index.js");
|
||||
/* harmony import */ var _ionic_native_ionic_webview_ngx__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @ionic-native/ionic-webview/ngx */ "./node_modules/@ionic-native/ionic-webview/__ivy_ngcc__/ngx/index.js");
|
||||
/* harmony import */ var _ionic_native_file_path_ngx__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @ionic-native/file-path/ngx */ "./node_modules/@ionic-native/file-path/__ivy_ngcc__/ngx/index.js");
|
||||
/* harmony import */ var _ionic_native_camera_ngx__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @ionic-native/camera/ngx */ "./node_modules/@ionic-native/camera/__ivy_ngcc__/ngx/index.js");
|
||||
/* harmony import */ var _ionic_storage__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @ionic/storage */ "./node_modules/@ionic/storage/__ivy_ngcc__/fesm2015/ionic-storage.js");
|
||||
/* harmony import */ var _pipes_pipes_module__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./pipes/pipes.module */ "./src/app/pipes/pipes.module.ts");
|
||||
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
|
||||
@@ -516,16 +511,16 @@ __webpack_require__.r(__webpack_exports__);
|
||||
|
||||
|
||||
|
||||
/* import { SplashScreen } from '@ionic-native/splash-screen/ngx';
|
||||
import { StatusBar } from '@ionic-native/status-bar/ngx'; */
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//import { File } from '@ionic-native/File/ngx';
|
||||
|
||||
|
||||
/* import { Camera } from '@ionic-native/camera/ngx'; */
|
||||
|
||||
|
||||
//
|
||||
@@ -537,7 +532,7 @@ let AppModule = class AppModule {
|
||||
};
|
||||
AppModule = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
|
||||
Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"])({
|
||||
declarations: [_app_component__WEBPACK_IMPORTED_MODULE_8__["AppComponent"]],
|
||||
declarations: [_app_component__WEBPACK_IMPORTED_MODULE_6__["AppComponent"]],
|
||||
entryComponents: [],
|
||||
imports: [_angular_platform_browser__WEBPACK_IMPORTED_MODULE_2__["BrowserModule"],
|
||||
_angular_common__WEBPACK_IMPORTED_MODULE_15__["CommonModule"],
|
||||
@@ -548,22 +543,22 @@ AppModule = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
|
||||
}),
|
||||
_ionic_angular__WEBPACK_IMPORTED_MODULE_4__["IonicModule"].forRoot(),
|
||||
_ionic_storage__WEBPACK_IMPORTED_MODULE_13__["IonicStorageModule"].forRoot(),
|
||||
_app_routing_module__WEBPACK_IMPORTED_MODULE_7__["AppRoutingModule"],
|
||||
_app_routing_module__WEBPACK_IMPORTED_MODULE_5__["AppRoutingModule"],
|
||||
_pipes_pipes_module__WEBPACK_IMPORTED_MODULE_14__["PipesModule"],
|
||||
_angular_common_http__WEBPACK_IMPORTED_MODULE_9__["HttpClientModule"],
|
||||
_angular_common_http__WEBPACK_IMPORTED_MODULE_7__["HttpClientModule"],
|
||||
],
|
||||
providers: [
|
||||
_ionic_native_status_bar_ngx__WEBPACK_IMPORTED_MODULE_6__["StatusBar"],
|
||||
_ionic_native_splash_screen_ngx__WEBPACK_IMPORTED_MODULE_5__["SplashScreen"],
|
||||
_angular_common_http__WEBPACK_IMPORTED_MODULE_9__["HttpClientModule"],
|
||||
/* StatusBar,
|
||||
SplashScreen, */
|
||||
_angular_common_http__WEBPACK_IMPORTED_MODULE_7__["HttpClientModule"],
|
||||
{ provide: _angular_router__WEBPACK_IMPORTED_MODULE_3__["RouteReuseStrategy"], useClass: _ionic_angular__WEBPACK_IMPORTED_MODULE_4__["IonicRouteStrategy"] },
|
||||
_ionic_native_in_app_browser_ngx__WEBPACK_IMPORTED_MODULE_10__["InAppBrowser"],
|
||||
/* Camera, */
|
||||
//File,
|
||||
_ionic_native_ionic_webview_ngx__WEBPACK_IMPORTED_MODULE_11__["WebView"],
|
||||
_ionic_native_file_path_ngx__WEBPACK_IMPORTED_MODULE_12__["FilePath"],
|
||||
_ionic_native_in_app_browser_ngx__WEBPACK_IMPORTED_MODULE_8__["InAppBrowser"],
|
||||
_ionic_native_camera_ngx__WEBPACK_IMPORTED_MODULE_12__["Camera"],
|
||||
_ionic_native_File_ngx__WEBPACK_IMPORTED_MODULE_9__["File"],
|
||||
_ionic_native_ionic_webview_ngx__WEBPACK_IMPORTED_MODULE_10__["WebView"],
|
||||
_ionic_native_file_path_ngx__WEBPACK_IMPORTED_MODULE_11__["FilePath"],
|
||||
],
|
||||
bootstrap: [_app_component__WEBPACK_IMPORTED_MODULE_8__["AppComponent"]],
|
||||
bootstrap: [_app_component__WEBPACK_IMPORTED_MODULE_6__["AppComponent"]],
|
||||
schemas: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["CUSTOM_ELEMENTS_SCHEMA"]]
|
||||
})
|
||||
], AppModule);
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -454,38 +454,25 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
||||
var _ionic_angular__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
||||
/*! @ionic/angular */
|
||||
"./node_modules/@ionic/angular/__ivy_ngcc__/fesm2015/ionic-angular.js");
|
||||
/* harmony import */
|
||||
/* import { SplashScreen } from '@ionic-native/splash-screen/ngx';
|
||||
import { StatusBar } from '@ionic-native/status-bar/ngx';
|
||||
*/
|
||||
|
||||
|
||||
var _ionic_native_splash_screen_ngx__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
||||
/*! @ionic-native/splash-screen/ngx */
|
||||
"./node_modules/@ionic-native/splash-screen/__ivy_ngcc__/ngx/index.js");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _ionic_native_status_bar_ngx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
||||
/*! @ionic-native/status-bar/ngx */
|
||||
"./node_modules/@ionic-native/status-bar/__ivy_ngcc__/ngx/index.js");
|
||||
|
||||
var AppComponent = /*#__PURE__*/function () {
|
||||
function AppComponent(platform, splashScreen, statusBar) {
|
||||
function AppComponent(platform) {
|
||||
_classCallCheck(this, AppComponent);
|
||||
|
||||
this.platform = platform;
|
||||
this.splashScreen = splashScreen;
|
||||
this.statusBar = statusBar;
|
||||
this.initializeApp();
|
||||
}
|
||||
|
||||
_createClass(AppComponent, [{
|
||||
key: "initializeApp",
|
||||
value: function initializeApp() {
|
||||
var _this = this;
|
||||
|
||||
this.platform.ready().then(function () {
|
||||
_this.statusBar.styleDefault();
|
||||
|
||||
_this.splashScreen.hide();
|
||||
/* this.statusBar.styleDefault();
|
||||
this.splashScreen.hide(); */
|
||||
});
|
||||
}
|
||||
}]);
|
||||
@@ -496,10 +483,6 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
||||
AppComponent.ctorParameters = function () {
|
||||
return [{
|
||||
type: _ionic_angular__WEBPACK_IMPORTED_MODULE_2__["Platform"]
|
||||
}, {
|
||||
type: _ionic_native_splash_screen_ngx__WEBPACK_IMPORTED_MODULE_3__["SplashScreen"]
|
||||
}, {
|
||||
type: _ionic_native_status_bar_ngx__WEBPACK_IMPORTED_MODULE_4__["StatusBar"]
|
||||
}];
|
||||
};
|
||||
|
||||
@@ -567,54 +550,54 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _ionic_native_splash_screen_ngx__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
||||
/*! @ionic-native/splash-screen/ngx */
|
||||
"./node_modules/@ionic-native/splash-screen/__ivy_ngcc__/ngx/index.js");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _ionic_native_status_bar_ngx__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
||||
/*! @ionic-native/status-bar/ngx */
|
||||
"./node_modules/@ionic-native/status-bar/__ivy_ngcc__/ngx/index.js");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _app_routing_module__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
||||
var _app_routing_module__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
||||
/*! ./app-routing.module */
|
||||
"./src/app/app-routing.module.ts");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _app_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
||||
var _app_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
||||
/*! ./app.component */
|
||||
"./src/app/app.component.ts");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _angular_common_http__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
|
||||
var _angular_common_http__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
||||
/*! @angular/common/http */
|
||||
"./node_modules/@angular/common/__ivy_ngcc__/fesm2015/http.js");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _ionic_native_in_app_browser_ngx__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
|
||||
var _ionic_native_in_app_browser_ngx__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
||||
/*! @ionic-native/in-app-browser/ngx */
|
||||
"./node_modules/@ionic-native/in-app-browser/__ivy_ngcc__/ngx/index.js");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _ionic_native_ionic_webview_ngx__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
|
||||
var _ionic_native_File_ngx__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
|
||||
/*! @ionic-native/File/ngx */
|
||||
"./node_modules/@ionic-native/File/__ivy_ngcc__/ngx/index.js");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _ionic_native_ionic_webview_ngx__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
|
||||
/*! @ionic-native/ionic-webview/ngx */
|
||||
"./node_modules/@ionic-native/ionic-webview/__ivy_ngcc__/ngx/index.js");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _ionic_native_file_path_ngx__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
|
||||
var _ionic_native_file_path_ngx__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
|
||||
/*! @ionic-native/file-path/ngx */
|
||||
"./node_modules/@ionic-native/file-path/__ivy_ngcc__/ngx/index.js");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _ionic_native_camera_ngx__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
|
||||
/*! @ionic-native/camera/ngx */
|
||||
"./node_modules/@ionic-native/camera/__ivy_ngcc__/ngx/index.js");
|
||||
/* harmony import */
|
||||
|
||||
|
||||
var _ionic_storage__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
|
||||
/*! @ionic/storage */
|
||||
"./node_modules/@ionic/storage/__ivy_ngcc__/fesm2015/ionic-storage.js");
|
||||
@@ -647,9 +630,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
||||
|
||||
var angular_calendar_date_adapters_date_fns__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(
|
||||
/*! angular-calendar/date-adapters/date-fns */
|
||||
"./node_modules/angular-calendar/date-adapters/esm/date-fns/index.js"); //import { File } from '@ionic-native/File/ngx';
|
||||
|
||||
/* import { Camera } from '@ionic-native/camera/ngx'; */
|
||||
"./node_modules/angular-calendar/date-adapters/esm/date-fns/index.js");
|
||||
/* import { SplashScreen } from '@ionic-native/splash-screen/ngx';
|
||||
import { StatusBar } from '@ionic-native/status-bar/ngx'; */
|
||||
//
|
||||
|
||||
|
||||
@@ -658,20 +641,20 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
||||
};
|
||||
|
||||
AppModule = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"])({
|
||||
declarations: [_app_component__WEBPACK_IMPORTED_MODULE_8__["AppComponent"]],
|
||||
declarations: [_app_component__WEBPACK_IMPORTED_MODULE_6__["AppComponent"]],
|
||||
entryComponents: [],
|
||||
imports: [_angular_platform_browser__WEBPACK_IMPORTED_MODULE_2__["BrowserModule"], _angular_common__WEBPACK_IMPORTED_MODULE_15__["CommonModule"], _angular_forms__WEBPACK_IMPORTED_MODULE_16__["FormsModule"], angular_calendar__WEBPACK_IMPORTED_MODULE_17__["CalendarModule"].forRoot({
|
||||
provide: angular_calendar__WEBPACK_IMPORTED_MODULE_17__["DateAdapter"],
|
||||
useFactory: angular_calendar_date_adapters_date_fns__WEBPACK_IMPORTED_MODULE_18__["adapterFactory"]
|
||||
}), _ionic_angular__WEBPACK_IMPORTED_MODULE_4__["IonicModule"].forRoot(), _ionic_storage__WEBPACK_IMPORTED_MODULE_13__["IonicStorageModule"].forRoot(), _app_routing_module__WEBPACK_IMPORTED_MODULE_7__["AppRoutingModule"], _pipes_pipes_module__WEBPACK_IMPORTED_MODULE_14__["PipesModule"], _angular_common_http__WEBPACK_IMPORTED_MODULE_9__["HttpClientModule"]],
|
||||
providers: [_ionic_native_status_bar_ngx__WEBPACK_IMPORTED_MODULE_6__["StatusBar"], _ionic_native_splash_screen_ngx__WEBPACK_IMPORTED_MODULE_5__["SplashScreen"], _angular_common_http__WEBPACK_IMPORTED_MODULE_9__["HttpClientModule"], {
|
||||
}), _ionic_angular__WEBPACK_IMPORTED_MODULE_4__["IonicModule"].forRoot(), _ionic_storage__WEBPACK_IMPORTED_MODULE_13__["IonicStorageModule"].forRoot(), _app_routing_module__WEBPACK_IMPORTED_MODULE_5__["AppRoutingModule"], _pipes_pipes_module__WEBPACK_IMPORTED_MODULE_14__["PipesModule"], _angular_common_http__WEBPACK_IMPORTED_MODULE_7__["HttpClientModule"]],
|
||||
providers: [
|
||||
/* StatusBar,
|
||||
SplashScreen, */
|
||||
_angular_common_http__WEBPACK_IMPORTED_MODULE_7__["HttpClientModule"], {
|
||||
provide: _angular_router__WEBPACK_IMPORTED_MODULE_3__["RouteReuseStrategy"],
|
||||
useClass: _ionic_angular__WEBPACK_IMPORTED_MODULE_4__["IonicRouteStrategy"]
|
||||
}, _ionic_native_in_app_browser_ngx__WEBPACK_IMPORTED_MODULE_10__["InAppBrowser"],
|
||||
/* Camera, */
|
||||
//File,
|
||||
_ionic_native_ionic_webview_ngx__WEBPACK_IMPORTED_MODULE_11__["WebView"], _ionic_native_file_path_ngx__WEBPACK_IMPORTED_MODULE_12__["FilePath"]],
|
||||
bootstrap: [_app_component__WEBPACK_IMPORTED_MODULE_8__["AppComponent"]],
|
||||
}, _ionic_native_in_app_browser_ngx__WEBPACK_IMPORTED_MODULE_8__["InAppBrowser"], _ionic_native_camera_ngx__WEBPACK_IMPORTED_MODULE_12__["Camera"], _ionic_native_File_ngx__WEBPACK_IMPORTED_MODULE_9__["File"], _ionic_native_ionic_webview_ngx__WEBPACK_IMPORTED_MODULE_10__["WebView"], _ionic_native_file_path_ngx__WEBPACK_IMPORTED_MODULE_11__["FilePath"]],
|
||||
bootstrap: [_app_component__WEBPACK_IMPORTED_MODULE_6__["AppComponent"]],
|
||||
schemas: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["CUSTOM_ELEMENTS_SCHEMA"]]
|
||||
})], AppModule);
|
||||
/***/
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -22,7 +22,7 @@ __webpack_require__.r(__webpack_exports__);
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony default export */ __webpack_exports__["default"] = ("<ion-header class=\"ion-no-border\">\r\n <app-header-no-search></app-header-no-search>\r\n</ion-header>\r\n\r\n<!-- Default Refresher -->\r\n\r\n<ion-content class=\"main bg-blue\" ng-controller=\"AppController\">\r\n <ion-refresher slot=\"fixed\" (ionRefresh)=\"doRefresh($event)\">\r\n <ion-refresher-content>\r\n </ion-refresher-content>\r\n </ion-refresher>\r\n \r\n <ion-progress-bar type=\"indeterminate\" *ngIf=\"showLoader\"></ion-progress-bar>\r\n \r\n <ion-label>\r\n <p class=\"time ion-text-center\">{{customDate}}</p>\r\n </ion-label>\r\n <ion-label>\r\n <p class=\"event-number p-small ion-text-center\"> <strong>{{totalEvent}}</strong> eventos agendados para hoje</p>\r\n </ion-label>\r\n\r\n <div class=\"next-meeting\">\r\n <div class=\"meeting-time\">{{hoursMinutes}}</div>\r\n <div class=\"meeting-description\"> \"{{currentEvent}}\"</div>\r\n </div>\r\n\r\n <div class=\"conteiner-box\" ng-swipe-up=\"swipe($event)\">\r\n <div class=\"schedule\">\r\n <div class=\"schedule-header\">\r\n <div class=\"title\">\r\n <ion-icon class=\"icon\" slot=\"end\" src=\"assets/images/icons-default-agenda.svg\" ></ion-icon>\r\n <div class=\"text\">A sua Agenda</div>\r\n </div>\r\n <ion-icon class=\"icon-next\" slot=\"end\" src=\"assets/images/icons-arrow-circle-arrow-right.svg\" ></ion-icon>\r\n \r\n </div>\r\n <div class=\"content\">\r\n <ul>\r\n <li *ngFor=\"let event of eventsList\"\r\n (click)=\"viewEventDetail(event.EventId)\">\r\n <div class=\"d-flex content-{{profile}}-{{event.CalendarName}}\">\r\n <div class=\"schedule-time\">\r\n <div class=\"time-start\">{{event.StartDate | date: 'hh:mm'}}</div>\r\n <div class=\"time-end\">{{event.EndDate | date: 'hh:mm'}}</div>\r\n </div>\r\n <div class=\"schedule-details\">\r\n <div class=\"location\">{{event.Location}}</div>\r\n <div class=\"description\">{{event.Subject}}</div>\r\n </div>\r\n </div>\r\n </li>\r\n\r\n </ul>\r\n <!-- \r\n <div class=\"resume\">\r\n <div class=\"title\">\r\n Resumo para Amnahã\r\n </div>\r\n <div class=\"event-num\">4 eventos ageandados para amanhã</div>\r\n <div class=\"first-event-time\">08:30 \"Reunião Staff\" no Palácio Presidencial</div>\r\n </div>\r\n -->\r\n </div>\r\n </div>\r\n \r\n <div class=\"schedule\">\r\n <div class=\"schedule-header\">\r\n <div class=\"title\">\r\n <ion-icon class=\"icon\" slot=\"end\" src=\"assets/images/icons-correspondencias.svg\"></ion-icon>\r\n <div class=\"text\">Correspondência por ler</div>\r\n </div>\r\n <ion-icon class=\"icon-next\" slot=\"end\" src=\"assets/images/icons-arrow-circle-arrow-right.svg\" ></ion-icon>\r\n \r\n </div>\r\n <div class=\"content\">\r\n <ul>\r\n <li *ngFor = \"let task of taskslist\"\r\n (click)=\"viewExpedientDetail(task.SerialNumber)\">\r\n <!-- [routerLink]=\"['/home/gabinete-digital/expediente',task.SerialNumber]\" -->\r\n >\r\n <div class=\"d-flex\">\r\n <div class=\"schedule-date\">\r\n <div class=\"time-end\">{{task.CreateDate | date: 'd/M/yy'}}</div>\r\n <div class=\"time-start\">{{task.CreateDate | date: 'hh:mm'}}</div>\r\n </div>\r\n <div class=\"schedule-details pointer\">\r\n <div class=\"description\">{{ task.Folio }}</div>\r\n <div class=\"location\">{{ task.Remetente }}</div>\r\n </div>\r\n </div>\r\n </li>\r\n\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n\r\n</ion-content>");
|
||||
/* harmony default export */ __webpack_exports__["default"] = ("<ion-header class=\"ion-no-border\">\r\n <app-header-no-search></app-header-no-search>\r\n</ion-header>\r\n\r\n<!-- Default Refresher -->\r\n\r\n<ion-content class=\"main bg-blue\" ng-controller=\"AppController\">\r\n <ion-refresher slot=\"fixed\" (ionRefresh)=\"doRefresh($event)\">\r\n <ion-refresher-content>\r\n </ion-refresher-content>\r\n </ion-refresher>\r\n \r\n <ion-progress-bar type=\"indeterminate\" *ngIf=\"showLoader\"></ion-progress-bar>\r\n \r\n <ion-label>\r\n <p class=\"time ion-text-center\">{{customDate}}</p>\r\n </ion-label>\r\n <ion-label>\r\n <p class=\"event-number p-small ion-text-center\"> <strong>{{totalEvent}}</strong> eventos agendados para hoje</p>\r\n </ion-label>\r\n\r\n <div class=\"next-meeting\">\r\n <div class=\"meeting-time\">{{currentHoursMinutes | date: 'HH:mm'}}</div>\r\n <div class=\"meeting-description\"> \"{{currentEvent}}\"</div>\r\n </div>\r\n\r\n <div class=\"conteiner-box\" ng-swipe-up=\"swipe($event)\">\r\n <div class=\"schedule\">\r\n <div class=\"schedule-header\">\r\n <div class=\"title\">\r\n <ion-icon class=\"icon\" slot=\"end\" src=\"assets/images/icons-default-agenda.svg\" ></ion-icon>\r\n <div class=\"text\">A sua Agenda</div>\r\n </div>\r\n <ion-icon class=\"icon-next\" slot=\"end\" src=\"assets/images/icons-arrow-circle-arrow-right.svg\" ></ion-icon>\r\n \r\n </div>\r\n <div class=\"content\">\r\n <ul>\r\n <li *ngFor=\"let event of eventsList\"\r\n (click)=\"viewEventDetail(event.EventId)\">\r\n <div class=\"d-flex content-{{profile}}-{{event.CalendarName}}\">\r\n <div class=\"schedule-time\">\r\n <div class=\"time-start\">{{event.StartDate | date: 'HH:mm'}}</div>\r\n <div class=\"time-end\">{{event.EndDate | date: 'HH:mm'}}</div>\r\n </div>\r\n <div class=\"schedule-details\">\r\n <div class=\"location\">{{event.Location}}</div>\r\n <div class=\"description\">{{event.Subject}}</div>\r\n </div>\r\n </div>\r\n </li>\r\n\r\n </ul>\r\n <!-- \r\n <div class=\"resume\">\r\n <div class=\"title\">\r\n Resumo para Amnahã\r\n </div>\r\n <div class=\"event-num\">4 eventos ageandados para amanhã</div>\r\n <div class=\"first-event-time\">08:30 \"Reunião Staff\" no Palácio Presidencial</div>\r\n </div>\r\n -->\r\n </div>\r\n </div>\r\n \r\n <div class=\"schedule\">\r\n <div class=\"schedule-header\">\r\n <div class=\"title\">\r\n <ion-icon class=\"icon\" slot=\"end\" src=\"assets/images/icons-correspondencias.svg\"></ion-icon>\r\n <div class=\"text\">Correspondência por ler</div>\r\n </div>\r\n <ion-icon class=\"icon-next\" slot=\"end\" src=\"assets/images/icons-arrow-circle-arrow-right.svg\" ></ion-icon>\r\n \r\n </div>\r\n <div class=\"content\">\r\n <ul>\r\n <li *ngFor = \"let task of taskslist\"\r\n (click)=\"viewExpedientDetail(task.SerialNumber)\">\r\n <!-- [routerLink]=\"['/home/gabinete-digital/expediente',task.SerialNumber]\" -->\r\n >\r\n <div class=\"d-flex\">\r\n <div class=\"schedule-date\">\r\n <div class=\"time-end\">{{task.CreateDate | date: 'd/M/yy'}}</div>\r\n <div class=\"time-start\">{{task.CreateDate | date: 'HH:mm'}}</div>\r\n </div>\r\n <div class=\"schedule-details pointer\">\r\n <div class=\"description\">{{ task.Folio }}</div>\r\n <div class=\"location\">{{ task.Remetente }}</div>\r\n </div>\r\n </div>\r\n </li>\r\n\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n\r\n</ion-content>");
|
||||
|
||||
/***/ }),
|
||||
|
||||
@@ -442,10 +442,6 @@ let EventsPage = class EventsPage {
|
||||
this.customText = false;
|
||||
this.totalEvent = 0;
|
||||
this.prEventList = null;
|
||||
// update hours and minutes
|
||||
setInterval(() => {
|
||||
this.currentHoursMinutes = Object(_angular_common__WEBPACK_IMPORTED_MODULE_4__["formatDate"])(new Date(), 'HH:MM', 'pt');
|
||||
}, 1000);
|
||||
// list
|
||||
this.LoadList();
|
||||
}
|
||||
@@ -458,21 +454,6 @@ let EventsPage = class EventsPage {
|
||||
//Initialize profile as mdgpr
|
||||
this.profile = "mdgpr";
|
||||
console.log(this.profile);
|
||||
// set event list
|
||||
/* if(this.profile == "mdgpr"){
|
||||
this.eventService.getAllMdEvents(formatDate(new Date(), 'yyyy-MM-dd HH:mm:ss', 'pt'), formatDate(new Date(), 'yyyy-MM-dd', 'pt') + ' 23:59:59').subscribe(res => {
|
||||
this.eventsList = res;
|
||||
console.log(this.eventsList);
|
||||
this.totalEvent = this.eventsList.length;
|
||||
});
|
||||
}
|
||||
else{
|
||||
this.eventService.getAllPrEvents(formatDate(new Date(), 'yyyy-MM-dd HH:mm:ss', 'pt'), formatDate(new Date(), 'yyyy-MM-dd', 'pt') + ' 23:59:59').subscribe(res => {
|
||||
this.eventsList = res;
|
||||
this.totalEvent = this.eventsList.length;
|
||||
});
|
||||
|
||||
} */
|
||||
this.storageService.get(src_app_config_auth_constants__WEBPACK_IMPORTED_MODULE_8__["AuthConnstants"].USER).then(res => {
|
||||
console.log(res);
|
||||
});
|
||||
@@ -495,25 +476,33 @@ let EventsPage = class EventsPage {
|
||||
}
|
||||
RefreshEvents() {
|
||||
this.showLoader = true;
|
||||
let date = new Date();
|
||||
date.setMonth(date.getMonth() + 1);
|
||||
let start = date.getFullYear() + "-" + date.getMonth() + "-" + date.getDate() + " " + date.getHours() + ":" + date.getMinutes() + ":" + date.getSeconds();
|
||||
let end = date.getFullYear() + "-" + date.getMonth() + "-" + date.getDate() + " 23:59:59";
|
||||
switch (this.segment) {
|
||||
case "Combinada":
|
||||
if (this.profile == "mdgpr") {
|
||||
this.eventService.getAllMdEvents(Object(_angular_common__WEBPACK_IMPORTED_MODULE_4__["formatDate"])(new Date(), 'yyyy-MM-dd HH:mm:ss', 'pt') /* + ' 00:00:00' */, Object(_angular_common__WEBPACK_IMPORTED_MODULE_4__["formatDate"])(new Date(), 'yyyy-MM-dd', 'pt') + ' 23:59:59').subscribe(res => {
|
||||
this.eventService.getAllMdEvents(start, end).subscribe(res => {
|
||||
this.eventsList = res;
|
||||
if (res.length > 0) {
|
||||
this.currentEvent = res[0].Subject;
|
||||
this.currentHoursMinutes = res[0].StartDate;
|
||||
}
|
||||
this.totalEvent = this.eventsList.length;
|
||||
this.showLoader = false;
|
||||
});
|
||||
}
|
||||
else {
|
||||
this.eventService.getAllPrEvents(Object(_angular_common__WEBPACK_IMPORTED_MODULE_4__["formatDate"])(new Date(), 'yyyy-MM-dd', 'pt') + ' 00:00:00', Object(_angular_common__WEBPACK_IMPORTED_MODULE_4__["formatDate"])(new Date(), 'yyyy-MM-dd', 'pt') + ' 23:59:59').subscribe(res => {
|
||||
this.eventService.getAllPrEvents(start, end).subscribe(res => {
|
||||
this.eventsList = res;
|
||||
console.log(this.eventsList);
|
||||
console.log(res);
|
||||
console.log(res[0]);
|
||||
this.currentEvent = res[0].Subject;
|
||||
if (res.length > 0) {
|
||||
this.currentEvent = res[0].Subject;
|
||||
this.currentHoursMinutes = res[0].StartDate;
|
||||
}
|
||||
this.totalEvent = this.eventsList.length;
|
||||
this.showLoader = false;
|
||||
});
|
||||
@@ -521,13 +510,13 @@ let EventsPage = class EventsPage {
|
||||
break;
|
||||
case "Pessoal":
|
||||
if (this.profile == "mdgpr") {
|
||||
this.eventService.getAllMdEvents(Object(_angular_common__WEBPACK_IMPORTED_MODULE_4__["formatDate"])(new Date(), 'yyyy-MM-dd', 'pt') + ' 00:00:00', Object(_angular_common__WEBPACK_IMPORTED_MODULE_4__["formatDate"])(new Date(), 'yyyy-MM-dd', 'pt') + ' 23:59:59').subscribe(res => {
|
||||
this.eventService.getAllMdEvents(start, end).subscribe(res => {
|
||||
this.personaleventsList = res.filter(data => data.CalendarName == "Pessoal");
|
||||
this.showLoader = false;
|
||||
});
|
||||
}
|
||||
else {
|
||||
this.eventService.getAllPrEvents(Object(_angular_common__WEBPACK_IMPORTED_MODULE_4__["formatDate"])(new Date(), 'yyyy-MM-dd', 'pt') + ' 00:00:00', Object(_angular_common__WEBPACK_IMPORTED_MODULE_4__["formatDate"])(new Date(), 'yyyy-MM-dd', 'pt') + ' 23:59:59').subscribe(res => {
|
||||
this.eventService.getAllPrEvents(start, end).subscribe(res => {
|
||||
this.personaleventsList = res.filter(data => data.CalendarName == "Pessoal");
|
||||
this.showLoader = false;
|
||||
});
|
||||
@@ -535,14 +524,14 @@ let EventsPage = class EventsPage {
|
||||
break;
|
||||
case "Oficial":
|
||||
if (this.profile == "mdgpr") {
|
||||
this.eventService.getAllMdEvents(Object(_angular_common__WEBPACK_IMPORTED_MODULE_4__["formatDate"])(new Date(), 'yyyy-MM-dd', 'pt') + ' 00:00:00', Object(_angular_common__WEBPACK_IMPORTED_MODULE_4__["formatDate"])(new Date(), 'yyyy-MM-dd', 'pt') + ' 23:59:59').subscribe(res => {
|
||||
this.eventService.getAllMdEvents(start, end).subscribe(res => {
|
||||
this.officialeventsList = res.filter(data => data.CalendarName == "Oficial");
|
||||
;
|
||||
this.showLoader = false;
|
||||
});
|
||||
}
|
||||
else {
|
||||
this.eventService.getAllPrEvents(Object(_angular_common__WEBPACK_IMPORTED_MODULE_4__["formatDate"])(new Date(), 'yyyy-MM-dd', 'pt') + ' 00:00:00', Object(_angular_common__WEBPACK_IMPORTED_MODULE_4__["formatDate"])(new Date(), 'yyyy-MM-dd', 'pt') + ' 23:59:59').subscribe(res => {
|
||||
this.eventService.getAllPrEvents(start, end).subscribe(res => {
|
||||
this.officialeventsList = res.filter(data => data.CalendarName == "Oficial");
|
||||
;
|
||||
this.showLoader = false;
|
||||
@@ -608,12 +597,6 @@ let EventsPage = class EventsPage {
|
||||
return yield modal.present();
|
||||
});
|
||||
}
|
||||
/**
|
||||
* @returns time in format HH:MM
|
||||
*/
|
||||
get hoursMinutes() {
|
||||
return this.currentHoursMinutes;
|
||||
}
|
||||
LoadList() {
|
||||
this.processes.GetTasksList("Expediente", false).subscribe(result => {
|
||||
const AllResult = new Array();
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -41,7 +41,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
/* harmony default export */
|
||||
|
||||
|
||||
__webpack_exports__["default"] = "<ion-header class=\"ion-no-border\">\r\n <app-header-no-search></app-header-no-search>\r\n</ion-header>\r\n\r\n<!-- Default Refresher -->\r\n\r\n<ion-content class=\"main bg-blue\" ng-controller=\"AppController\">\r\n <ion-refresher slot=\"fixed\" (ionRefresh)=\"doRefresh($event)\">\r\n <ion-refresher-content>\r\n </ion-refresher-content>\r\n </ion-refresher>\r\n \r\n <ion-progress-bar type=\"indeterminate\" *ngIf=\"showLoader\"></ion-progress-bar>\r\n \r\n <ion-label>\r\n <p class=\"time ion-text-center\">{{customDate}}</p>\r\n </ion-label>\r\n <ion-label>\r\n <p class=\"event-number p-small ion-text-center\"> <strong>{{totalEvent}}</strong> eventos agendados para hoje</p>\r\n </ion-label>\r\n\r\n <div class=\"next-meeting\">\r\n <div class=\"meeting-time\">{{hoursMinutes}}</div>\r\n <div class=\"meeting-description\"> \"{{currentEvent}}\"</div>\r\n </div>\r\n\r\n <div class=\"conteiner-box\" ng-swipe-up=\"swipe($event)\">\r\n <div class=\"schedule\">\r\n <div class=\"schedule-header\">\r\n <div class=\"title\">\r\n <ion-icon class=\"icon\" slot=\"end\" src=\"assets/images/icons-default-agenda.svg\" ></ion-icon>\r\n <div class=\"text\">A sua Agenda</div>\r\n </div>\r\n <ion-icon class=\"icon-next\" slot=\"end\" src=\"assets/images/icons-arrow-circle-arrow-right.svg\" ></ion-icon>\r\n \r\n </div>\r\n <div class=\"content\">\r\n <ul>\r\n <li *ngFor=\"let event of eventsList\"\r\n (click)=\"viewEventDetail(event.EventId)\">\r\n <div class=\"d-flex content-{{profile}}-{{event.CalendarName}}\">\r\n <div class=\"schedule-time\">\r\n <div class=\"time-start\">{{event.StartDate | date: 'hh:mm'}}</div>\r\n <div class=\"time-end\">{{event.EndDate | date: 'hh:mm'}}</div>\r\n </div>\r\n <div class=\"schedule-details\">\r\n <div class=\"location\">{{event.Location}}</div>\r\n <div class=\"description\">{{event.Subject}}</div>\r\n </div>\r\n </div>\r\n </li>\r\n\r\n </ul>\r\n <!-- \r\n <div class=\"resume\">\r\n <div class=\"title\">\r\n Resumo para Amnahã\r\n </div>\r\n <div class=\"event-num\">4 eventos ageandados para amanhã</div>\r\n <div class=\"first-event-time\">08:30 \"Reunião Staff\" no Palácio Presidencial</div>\r\n </div>\r\n -->\r\n </div>\r\n </div>\r\n \r\n <div class=\"schedule\">\r\n <div class=\"schedule-header\">\r\n <div class=\"title\">\r\n <ion-icon class=\"icon\" slot=\"end\" src=\"assets/images/icons-correspondencias.svg\"></ion-icon>\r\n <div class=\"text\">Correspondência por ler</div>\r\n </div>\r\n <ion-icon class=\"icon-next\" slot=\"end\" src=\"assets/images/icons-arrow-circle-arrow-right.svg\" ></ion-icon>\r\n \r\n </div>\r\n <div class=\"content\">\r\n <ul>\r\n <li *ngFor = \"let task of taskslist\"\r\n (click)=\"viewExpedientDetail(task.SerialNumber)\">\r\n <!-- [routerLink]=\"['/home/gabinete-digital/expediente',task.SerialNumber]\" -->\r\n >\r\n <div class=\"d-flex\">\r\n <div class=\"schedule-date\">\r\n <div class=\"time-end\">{{task.CreateDate | date: 'd/M/yy'}}</div>\r\n <div class=\"time-start\">{{task.CreateDate | date: 'hh:mm'}}</div>\r\n </div>\r\n <div class=\"schedule-details pointer\">\r\n <div class=\"description\">{{ task.Folio }}</div>\r\n <div class=\"location\">{{ task.Remetente }}</div>\r\n </div>\r\n </div>\r\n </li>\r\n\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n\r\n</ion-content>";
|
||||
__webpack_exports__["default"] = "<ion-header class=\"ion-no-border\">\r\n <app-header-no-search></app-header-no-search>\r\n</ion-header>\r\n\r\n<!-- Default Refresher -->\r\n\r\n<ion-content class=\"main bg-blue\" ng-controller=\"AppController\">\r\n <ion-refresher slot=\"fixed\" (ionRefresh)=\"doRefresh($event)\">\r\n <ion-refresher-content>\r\n </ion-refresher-content>\r\n </ion-refresher>\r\n \r\n <ion-progress-bar type=\"indeterminate\" *ngIf=\"showLoader\"></ion-progress-bar>\r\n \r\n <ion-label>\r\n <p class=\"time ion-text-center\">{{customDate}}</p>\r\n </ion-label>\r\n <ion-label>\r\n <p class=\"event-number p-small ion-text-center\"> <strong>{{totalEvent}}</strong> eventos agendados para hoje</p>\r\n </ion-label>\r\n\r\n <div class=\"next-meeting\">\r\n <div class=\"meeting-time\">{{currentHoursMinutes | date: 'HH:mm'}}</div>\r\n <div class=\"meeting-description\"> \"{{currentEvent}}\"</div>\r\n </div>\r\n\r\n <div class=\"conteiner-box\" ng-swipe-up=\"swipe($event)\">\r\n <div class=\"schedule\">\r\n <div class=\"schedule-header\">\r\n <div class=\"title\">\r\n <ion-icon class=\"icon\" slot=\"end\" src=\"assets/images/icons-default-agenda.svg\" ></ion-icon>\r\n <div class=\"text\">A sua Agenda</div>\r\n </div>\r\n <ion-icon class=\"icon-next\" slot=\"end\" src=\"assets/images/icons-arrow-circle-arrow-right.svg\" ></ion-icon>\r\n \r\n </div>\r\n <div class=\"content\">\r\n <ul>\r\n <li *ngFor=\"let event of eventsList\"\r\n (click)=\"viewEventDetail(event.EventId)\">\r\n <div class=\"d-flex content-{{profile}}-{{event.CalendarName}}\">\r\n <div class=\"schedule-time\">\r\n <div class=\"time-start\">{{event.StartDate | date: 'HH:mm'}}</div>\r\n <div class=\"time-end\">{{event.EndDate | date: 'HH:mm'}}</div>\r\n </div>\r\n <div class=\"schedule-details\">\r\n <div class=\"location\">{{event.Location}}</div>\r\n <div class=\"description\">{{event.Subject}}</div>\r\n </div>\r\n </div>\r\n </li>\r\n\r\n </ul>\r\n <!-- \r\n <div class=\"resume\">\r\n <div class=\"title\">\r\n Resumo para Amnahã\r\n </div>\r\n <div class=\"event-num\">4 eventos ageandados para amanhã</div>\r\n <div class=\"first-event-time\">08:30 \"Reunião Staff\" no Palácio Presidencial</div>\r\n </div>\r\n -->\r\n </div>\r\n </div>\r\n \r\n <div class=\"schedule\">\r\n <div class=\"schedule-header\">\r\n <div class=\"title\">\r\n <ion-icon class=\"icon\" slot=\"end\" src=\"assets/images/icons-correspondencias.svg\"></ion-icon>\r\n <div class=\"text\">Correspondência por ler</div>\r\n </div>\r\n <ion-icon class=\"icon-next\" slot=\"end\" src=\"assets/images/icons-arrow-circle-arrow-right.svg\" ></ion-icon>\r\n \r\n </div>\r\n <div class=\"content\">\r\n <ul>\r\n <li *ngFor = \"let task of taskslist\"\r\n (click)=\"viewExpedientDetail(task.SerialNumber)\">\r\n <!-- [routerLink]=\"['/home/gabinete-digital/expediente',task.SerialNumber]\" -->\r\n >\r\n <div class=\"d-flex\">\r\n <div class=\"schedule-date\">\r\n <div class=\"time-end\">{{task.CreateDate | date: 'd/M/yy'}}</div>\r\n <div class=\"time-start\">{{task.CreateDate | date: 'HH:mm'}}</div>\r\n </div>\r\n <div class=\"schedule-details pointer\">\r\n <div class=\"description\">{{ task.Folio }}</div>\r\n <div class=\"location\">{{ task.Remetente }}</div>\r\n </div>\r\n </div>\r\n </li>\r\n\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n\r\n</ion-content>";
|
||||
/***/
|
||||
},
|
||||
|
||||
@@ -840,8 +840,6 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
|
||||
var EventsPage = /*#__PURE__*/function () {
|
||||
function EventsPage(eventService, router, storageService, activatedRoute, alertController, modalController, authService, processes) {
|
||||
var _this7 = this;
|
||||
|
||||
_classCallCheck(this, EventsPage);
|
||||
|
||||
this.eventService = eventService;
|
||||
@@ -865,11 +863,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
this.timeDate = this.today.getHours() + ":" + this.today.getMinutes();
|
||||
this.customText = false;
|
||||
this.totalEvent = 0;
|
||||
this.prEventList = null; // update hours and minutes
|
||||
|
||||
setInterval(function () {
|
||||
_this7.currentHoursMinutes = Object(_angular_common__WEBPACK_IMPORTED_MODULE_4__["formatDate"])(new Date(), 'HH:MM', 'pt');
|
||||
}, 1000); // list
|
||||
this.prEventList = null; // list
|
||||
|
||||
this.LoadList();
|
||||
}
|
||||
@@ -882,35 +876,20 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
}, {
|
||||
key: "ngOnInit",
|
||||
value: function ngOnInit() {
|
||||
var _this8 = this;
|
||||
var _this7 = this;
|
||||
|
||||
//Inicializar segment
|
||||
this.segment = "Combinada"; //Initialize profile as mdgpr
|
||||
|
||||
this.profile = "mdgpr";
|
||||
console.log(this.profile); // set event list
|
||||
|
||||
/* if(this.profile == "mdgpr"){
|
||||
this.eventService.getAllMdEvents(formatDate(new Date(), 'yyyy-MM-dd HH:mm:ss', 'pt'), formatDate(new Date(), 'yyyy-MM-dd', 'pt') + ' 23:59:59').subscribe(res => {
|
||||
this.eventsList = res;
|
||||
console.log(this.eventsList);
|
||||
this.totalEvent = this.eventsList.length;
|
||||
});
|
||||
}
|
||||
else{
|
||||
this.eventService.getAllPrEvents(formatDate(new Date(), 'yyyy-MM-dd HH:mm:ss', 'pt'), formatDate(new Date(), 'yyyy-MM-dd', 'pt') + ' 23:59:59').subscribe(res => {
|
||||
this.eventsList = res;
|
||||
this.totalEvent = this.eventsList.length;
|
||||
});
|
||||
} */
|
||||
|
||||
console.log(this.profile);
|
||||
this.storageService.get(src_app_config_auth_constants__WEBPACK_IMPORTED_MODULE_8__["AuthConnstants"].USER).then(function (res) {
|
||||
console.log(res);
|
||||
});
|
||||
this.showGreeting();
|
||||
this.router.events.forEach(function (event) {
|
||||
if (event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_3__["NavigationEnd"] && event.url == _this8.router.url) {
|
||||
_this8.RefreshEvents();
|
||||
if (event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_3__["NavigationEnd"] && event.url == _this7.router.url) {
|
||||
_this7.RefreshEvents();
|
||||
}
|
||||
});
|
||||
/* this.storageService.get(AuthConnstants.PROFILE).then(res=>{
|
||||
@@ -931,34 +910,42 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
}, {
|
||||
key: "RefreshEvents",
|
||||
value: function RefreshEvents() {
|
||||
var _this9 = this;
|
||||
var _this8 = this;
|
||||
|
||||
this.showLoader = true;
|
||||
var date = new Date();
|
||||
date.setMonth(date.getMonth() + 1);
|
||||
var start = date.getFullYear() + "-" + date.getMonth() + "-" + date.getDate() + " " + date.getHours() + ":" + date.getMinutes() + ":" + date.getSeconds();
|
||||
var end = date.getFullYear() + "-" + date.getMonth() + "-" + date.getDate() + " 23:59:59";
|
||||
|
||||
switch (this.segment) {
|
||||
case "Combinada":
|
||||
if (this.profile == "mdgpr") {
|
||||
this.eventService.getAllMdEvents(Object(_angular_common__WEBPACK_IMPORTED_MODULE_4__["formatDate"])(new Date(), 'yyyy-MM-dd HH:mm:ss', 'pt')
|
||||
/* + ' 00:00:00' */
|
||||
, Object(_angular_common__WEBPACK_IMPORTED_MODULE_4__["formatDate"])(new Date(), 'yyyy-MM-dd', 'pt') + ' 23:59:59').subscribe(function (res) {
|
||||
_this9.eventsList = res;
|
||||
this.eventService.getAllMdEvents(start, end).subscribe(function (res) {
|
||||
_this8.eventsList = res;
|
||||
|
||||
if (res.length > 0) {
|
||||
_this9.currentEvent = res[0].Subject;
|
||||
_this8.currentEvent = res[0].Subject;
|
||||
_this8.currentHoursMinutes = res[0].StartDate;
|
||||
}
|
||||
|
||||
_this9.totalEvent = _this9.eventsList.length;
|
||||
_this9.showLoader = false;
|
||||
_this8.totalEvent = _this8.eventsList.length;
|
||||
_this8.showLoader = false;
|
||||
});
|
||||
} else {
|
||||
this.eventService.getAllPrEvents(Object(_angular_common__WEBPACK_IMPORTED_MODULE_4__["formatDate"])(new Date(), 'yyyy-MM-dd', 'pt') + ' 00:00:00', Object(_angular_common__WEBPACK_IMPORTED_MODULE_4__["formatDate"])(new Date(), 'yyyy-MM-dd', 'pt') + ' 23:59:59').subscribe(function (res) {
|
||||
_this9.eventsList = res;
|
||||
console.log(_this9.eventsList);
|
||||
this.eventService.getAllPrEvents(start, end).subscribe(function (res) {
|
||||
_this8.eventsList = res;
|
||||
console.log(_this8.eventsList);
|
||||
console.log(res);
|
||||
console.log(res[0]);
|
||||
_this9.currentEvent = res[0].Subject;
|
||||
_this9.totalEvent = _this9.eventsList.length;
|
||||
_this9.showLoader = false;
|
||||
|
||||
if (res.length > 0) {
|
||||
_this8.currentEvent = res[0].Subject;
|
||||
_this8.currentHoursMinutes = res[0].StartDate;
|
||||
}
|
||||
|
||||
_this8.totalEvent = _this8.eventsList.length;
|
||||
_this8.showLoader = false;
|
||||
});
|
||||
}
|
||||
|
||||
@@ -966,18 +953,18 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
|
||||
case "Pessoal":
|
||||
if (this.profile == "mdgpr") {
|
||||
this.eventService.getAllMdEvents(Object(_angular_common__WEBPACK_IMPORTED_MODULE_4__["formatDate"])(new Date(), 'yyyy-MM-dd', 'pt') + ' 00:00:00', Object(_angular_common__WEBPACK_IMPORTED_MODULE_4__["formatDate"])(new Date(), 'yyyy-MM-dd', 'pt') + ' 23:59:59').subscribe(function (res) {
|
||||
_this9.personaleventsList = res.filter(function (data) {
|
||||
this.eventService.getAllMdEvents(start, end).subscribe(function (res) {
|
||||
_this8.personaleventsList = res.filter(function (data) {
|
||||
return data.CalendarName == "Pessoal";
|
||||
});
|
||||
_this9.showLoader = false;
|
||||
_this8.showLoader = false;
|
||||
});
|
||||
} else {
|
||||
this.eventService.getAllPrEvents(Object(_angular_common__WEBPACK_IMPORTED_MODULE_4__["formatDate"])(new Date(), 'yyyy-MM-dd', 'pt') + ' 00:00:00', Object(_angular_common__WEBPACK_IMPORTED_MODULE_4__["formatDate"])(new Date(), 'yyyy-MM-dd', 'pt') + ' 23:59:59').subscribe(function (res) {
|
||||
_this9.personaleventsList = res.filter(function (data) {
|
||||
this.eventService.getAllPrEvents(start, end).subscribe(function (res) {
|
||||
_this8.personaleventsList = res.filter(function (data) {
|
||||
return data.CalendarName == "Pessoal";
|
||||
});
|
||||
_this9.showLoader = false;
|
||||
_this8.showLoader = false;
|
||||
});
|
||||
}
|
||||
|
||||
@@ -985,20 +972,20 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
|
||||
case "Oficial":
|
||||
if (this.profile == "mdgpr") {
|
||||
this.eventService.getAllMdEvents(Object(_angular_common__WEBPACK_IMPORTED_MODULE_4__["formatDate"])(new Date(), 'yyyy-MM-dd', 'pt') + ' 00:00:00', Object(_angular_common__WEBPACK_IMPORTED_MODULE_4__["formatDate"])(new Date(), 'yyyy-MM-dd', 'pt') + ' 23:59:59').subscribe(function (res) {
|
||||
_this9.officialeventsList = res.filter(function (data) {
|
||||
this.eventService.getAllMdEvents(start, end).subscribe(function (res) {
|
||||
_this8.officialeventsList = res.filter(function (data) {
|
||||
return data.CalendarName == "Oficial";
|
||||
});
|
||||
;
|
||||
_this9.showLoader = false;
|
||||
_this8.showLoader = false;
|
||||
});
|
||||
} else {
|
||||
this.eventService.getAllPrEvents(Object(_angular_common__WEBPACK_IMPORTED_MODULE_4__["formatDate"])(new Date(), 'yyyy-MM-dd', 'pt') + ' 00:00:00', Object(_angular_common__WEBPACK_IMPORTED_MODULE_4__["formatDate"])(new Date(), 'yyyy-MM-dd', 'pt') + ' 23:59:59').subscribe(function (res) {
|
||||
_this9.officialeventsList = res.filter(function (data) {
|
||||
this.eventService.getAllPrEvents(start, end).subscribe(function (res) {
|
||||
_this8.officialeventsList = res.filter(function (data) {
|
||||
return data.CalendarName == "Oficial";
|
||||
});
|
||||
;
|
||||
_this9.showLoader = false;
|
||||
_this8.showLoader = false;
|
||||
});
|
||||
}
|
||||
|
||||
@@ -1112,14 +1099,10 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
}, _callee8, this);
|
||||
}));
|
||||
}
|
||||
/**
|
||||
* @returns time in format HH:MM
|
||||
*/
|
||||
|
||||
}, {
|
||||
key: "LoadList",
|
||||
value: function LoadList() {
|
||||
var _this10 = this;
|
||||
var _this9 = this;
|
||||
|
||||
this.processes.GetTasksList("Expediente", false).subscribe(function (result) {
|
||||
var AllResult = new Array();
|
||||
@@ -1136,7 +1119,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
AllResult.push(task);
|
||||
});
|
||||
console.log(AllResult);
|
||||
_this10.taskslist = _this10.sortArrayISODate(AllResult).reverse();
|
||||
_this9.taskslist = _this9.sortArrayISODate(AllResult).reverse();
|
||||
});
|
||||
}
|
||||
}, {
|
||||
@@ -1150,7 +1133,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
key: "viewEventDetail",
|
||||
value: function viewEventDetail(eventId) {
|
||||
return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, /*#__PURE__*/regeneratorRuntime.mark(function _callee9() {
|
||||
var _this11 = this;
|
||||
var _this10 = this;
|
||||
|
||||
var modal;
|
||||
return regeneratorRuntime.wrap(function _callee9$(_context9) {
|
||||
@@ -1179,7 +1162,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
if (res) {
|
||||
console.log(res);
|
||||
|
||||
_this11.RefreshEvents();
|
||||
_this10.RefreshEvents();
|
||||
}
|
||||
});
|
||||
|
||||
@@ -1195,7 +1178,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
key: "viewExpedientDetail",
|
||||
value: function viewExpedientDetail(serialNumber) {
|
||||
return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, /*#__PURE__*/regeneratorRuntime.mark(function _callee10() {
|
||||
var _this12 = this;
|
||||
var _this11 = this;
|
||||
|
||||
var modal;
|
||||
return regeneratorRuntime.wrap(function _callee10$(_context10) {
|
||||
@@ -1224,7 +1207,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
if (res) {
|
||||
console.log(res);
|
||||
|
||||
_this12.RefreshEvents();
|
||||
_this11.RefreshEvents();
|
||||
}
|
||||
});
|
||||
|
||||
@@ -1236,11 +1219,6 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
||||
}, _callee10, this);
|
||||
}));
|
||||
}
|
||||
}, {
|
||||
key: "hoursMinutes",
|
||||
get: function get() {
|
||||
return this.currentHoursMinutes;
|
||||
}
|
||||
}]);
|
||||
|
||||
return EventsPage;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -128,6 +128,7 @@ __webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var src_app_services_photo_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! src/app/services/photo.service */ "./src/app/services/photo.service.ts");
|
||||
/* harmony import */ var src_app_services_notifications_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! src/app/services/notifications.service */ "./src/app/services/notifications.service.ts");
|
||||
/* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/http.js");
|
||||
/* harmony import */ var _capacitor_core__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @capacitor/core */ "./node_modules/@capacitor/core/dist/esm/index.js");
|
||||
|
||||
|
||||
|
||||
@@ -140,10 +141,8 @@ __webpack_require__.r(__webpack_exports__);
|
||||
|
||||
|
||||
|
||||
/* import { Plugins, PushNotification, PushNotificationToken, PushNotificationActionPerformed } from '@capacitor/core';
|
||||
*/
|
||||
/* const { PushNotifications } = Plugins;
|
||||
*/
|
||||
|
||||
const { PushNotifications } = _capacitor_core__WEBPACK_IMPORTED_MODULE_12__["Plugins"];
|
||||
let LoginPage = class LoginPage {
|
||||
constructor(http, notificatinsservice, router, authService, storageService, toastService, photoService, alertController) {
|
||||
this.http = http;
|
||||
@@ -175,10 +174,10 @@ let LoginPage = class LoginPage {
|
||||
yield alert.present();
|
||||
});
|
||||
}
|
||||
loginRocketChat(user) {
|
||||
loginRocketChat() {
|
||||
let postData = {
|
||||
"user": user.username,
|
||||
"password": user.password,
|
||||
"user": this.username,
|
||||
"password": this.password,
|
||||
};
|
||||
this.authService.loginChat(postData).subscribe((res) => {
|
||||
console.log(res.data);
|
||||
@@ -190,37 +189,32 @@ let LoginPage = class LoginPage {
|
||||
});
|
||||
}
|
||||
storeUserIdANdToken() {
|
||||
/* (PushNotifications as any).requestPermission().then(result => {
|
||||
PushNotifications.register();
|
||||
});
|
||||
|
||||
PushNotifications.addListener(
|
||||
'registration',
|
||||
(token: PushNotificationToken) => {
|
||||
console.log('FIREBASE TOKEN', token.value)
|
||||
this.storageService.store(this.username, token.value);
|
||||
this.storageService.get(this.username).then(value => {
|
||||
console.log('STORAGE TOKEN', value)
|
||||
this.storageService.get(AuthConnstants.USER).then(res => {
|
||||
console.log('USERID', res);
|
||||
const headers = { 'Authorization': 'Basic cGF1bG8ucGludG9AZ2FiaW5ldGVkaWdpdGFsLmxvY2FsOnRhYnRlc3RlQDAwNg==' };
|
||||
const body = { UserId: res,
|
||||
TokenId: token.value,
|
||||
Status: 1,
|
||||
Service: 1 };
|
||||
|
||||
this.http.post<Token>('https://equilibrium.dyndns.info/GabineteDigital.Services/V4/api/notifications/token', body,{headers}).subscribe(data => {
|
||||
console.log('TOKEN USER MIDLE', data);
|
||||
})
|
||||
/*this.http.get<Token>('http://gpr-dev-01.gabinetedigital.local/GabineteDigital.Services/V4/api/notifications/user/'+res).subscribe(data => {
|
||||
console.log('TOKEN USER MIDLE',data);
|
||||
})*/
|
||||
/* });
|
||||
|
||||
});
|
||||
|
||||
},
|
||||
); */
|
||||
PushNotifications.requestPermission().then(result => {
|
||||
PushNotifications.register();
|
||||
});
|
||||
PushNotifications.addListener('registration', (token) => {
|
||||
console.log('FIREBASE TOKEN', token.value);
|
||||
this.storageService.store(this.username, token.value);
|
||||
this.storageService.get(this.username).then(value => {
|
||||
console.log('STORAGE TOKEN', value);
|
||||
this.storageService.get(src_app_config_auth_constants__WEBPACK_IMPORTED_MODULE_8__["AuthConnstants"].USER).then(res => {
|
||||
console.log('USERID', res);
|
||||
const headers = { 'Authorization': 'Basic cGF1bG8ucGludG9AZ2FiaW5ldGVkaWdpdGFsLmxvY2FsOnRhYnRlc3RlQDAwNg==' };
|
||||
const body = {
|
||||
UserId: res,
|
||||
TokenId: token.value,
|
||||
Status: 1,
|
||||
Service: 1
|
||||
};
|
||||
this.http.post('https://equilibrium.dyndns.info/GabineteDigital.Services/V4/api/notifications/token', body, { headers }).subscribe(data => {
|
||||
console.log('TOKEN USER MIDLE', data);
|
||||
});
|
||||
/*this.http.get<Token>('http://gpr-dev-01.gabinetedigital.local/GabineteDigital.Services/V4/api/notifications/user/'+res).subscribe(data => {
|
||||
console.log('TOKEN USER MIDLE',data);
|
||||
})*/
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
;
|
||||
Login() {
|
||||
@@ -236,7 +230,7 @@ let LoginPage = class LoginPage {
|
||||
BasicAuthKey: ""
|
||||
};
|
||||
if (yield this.authService.login(this.userattempt)) {
|
||||
/* this.loginRocketChat(); */
|
||||
this.loginRocketChat();
|
||||
this.storeUserIdANdToken();
|
||||
this.router.navigate(['/home/events']);
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -270,12 +270,14 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
||||
var _angular_common_http__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
|
||||
/*! @angular/common/http */
|
||||
"./node_modules/@angular/common/__ivy_ngcc__/fesm2015/http.js");
|
||||
/* import { Plugins, PushNotification, PushNotificationToken, PushNotificationActionPerformed } from '@capacitor/core';
|
||||
*/
|
||||
/* harmony import */
|
||||
|
||||
/* const { PushNotifications } = Plugins;
|
||||
*/
|
||||
|
||||
var _capacitor_core__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
|
||||
/*! @capacitor/core */
|
||||
"./node_modules/@capacitor/core/dist/esm/index.js");
|
||||
|
||||
var PushNotifications = _capacitor_core__WEBPACK_IMPORTED_MODULE_12__["Plugins"].PushNotifications;
|
||||
|
||||
var LoginPage = /*#__PURE__*/function () {
|
||||
function LoginPage(http, notificatinsservice, router, authService, storageService, toastService, photoService, alertController) {
|
||||
@@ -334,12 +336,12 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
||||
}
|
||||
}, {
|
||||
key: "loginRocketChat",
|
||||
value: function loginRocketChat(user) {
|
||||
value: function loginRocketChat() {
|
||||
var _this = this;
|
||||
|
||||
var postData = {
|
||||
"user": user.username,
|
||||
"password": user.password
|
||||
"user": this.username,
|
||||
"password": this.password
|
||||
};
|
||||
this.authService.loginChat(postData).subscribe(function (res) {
|
||||
console.log(res.data);
|
||||
@@ -356,36 +358,43 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
||||
}, {
|
||||
key: "storeUserIdANdToken",
|
||||
value: function storeUserIdANdToken() {
|
||||
/* (PushNotifications as any).requestPermission().then(result => {
|
||||
PushNotifications.register();
|
||||
});
|
||||
PushNotifications.addListener(
|
||||
'registration',
|
||||
(token: PushNotificationToken) => {
|
||||
console.log('FIREBASE TOKEN', token.value)
|
||||
this.storageService.store(this.username, token.value);
|
||||
this.storageService.get(this.username).then(value => {
|
||||
console.log('STORAGE TOKEN', value)
|
||||
this.storageService.get(AuthConnstants.USER).then(res => {
|
||||
console.log('USERID', res);
|
||||
const headers = { 'Authorization': 'Basic cGF1bG8ucGludG9AZ2FiaW5ldGVkaWdpdGFsLmxvY2FsOnRhYnRlc3RlQDAwNg==' };
|
||||
const body = { UserId: res,
|
||||
TokenId: token.value,
|
||||
Status: 1,
|
||||
Service: 1 };
|
||||
this.http.post<Token>('https://equilibrium.dyndns.info/GabineteDigital.Services/V4/api/notifications/token', body,{headers}).subscribe(data => {
|
||||
console.log('TOKEN USER MIDLE', data);
|
||||
})
|
||||
/*this.http.get<Token>('http://gpr-dev-01.gabinetedigital.local/GabineteDigital.Services/V4/api/notifications/user/'+res).subscribe(data => {
|
||||
console.log('TOKEN USER MIDLE',data);
|
||||
})*/
|
||||
var _this2 = this;
|
||||
|
||||
/* });
|
||||
|
||||
});
|
||||
|
||||
},
|
||||
); */
|
||||
PushNotifications.requestPermission().then(function (result) {
|
||||
PushNotifications.register();
|
||||
});
|
||||
PushNotifications.addListener('registration', function (token) {
|
||||
console.log('FIREBASE TOKEN', token.value);
|
||||
|
||||
_this2.storageService.store(_this2.username, token.value);
|
||||
|
||||
_this2.storageService.get(_this2.username).then(function (value) {
|
||||
console.log('STORAGE TOKEN', value);
|
||||
|
||||
_this2.storageService.get(src_app_config_auth_constants__WEBPACK_IMPORTED_MODULE_8__["AuthConnstants"].USER).then(function (res) {
|
||||
console.log('USERID', res);
|
||||
var headers = {
|
||||
'Authorization': 'Basic cGF1bG8ucGludG9AZ2FiaW5ldGVkaWdpdGFsLmxvY2FsOnRhYnRlc3RlQDAwNg=='
|
||||
};
|
||||
var body = {
|
||||
UserId: res,
|
||||
TokenId: token.value,
|
||||
Status: 1,
|
||||
Service: 1
|
||||
};
|
||||
|
||||
_this2.http.post('https://equilibrium.dyndns.info/GabineteDigital.Services/V4/api/notifications/token', body, {
|
||||
headers: headers
|
||||
}).subscribe(function (data) {
|
||||
console.log('TOKEN USER MIDLE', data);
|
||||
});
|
||||
/*this.http.get<Token>('http://gpr-dev-01.gabinetedigital.local/GabineteDigital.Services/V4/api/notifications/user/'+res).subscribe(data => {
|
||||
console.log('TOKEN USER MIDLE',data);
|
||||
})*/
|
||||
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
}, {
|
||||
key: "Login",
|
||||
@@ -396,7 +405,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
||||
switch (_context2.prev = _context2.next) {
|
||||
case 0:
|
||||
if (!this.validateInput()) {
|
||||
_context2.next = 12;
|
||||
_context2.next = 13;
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -411,29 +420,29 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
||||
|
||||
case 4:
|
||||
if (!_context2.sent) {
|
||||
_context2.next = 9;
|
||||
_context2.next = 10;
|
||||
break;
|
||||
}
|
||||
|
||||
/* this.loginRocketChat(); */
|
||||
this.loginRocketChat();
|
||||
this.storeUserIdANdToken();
|
||||
this.router.navigate(['/home/events']);
|
||||
_context2.next = 10;
|
||||
_context2.next = 11;
|
||||
break;
|
||||
|
||||
case 9:
|
||||
case 10:
|
||||
//this.toastService.presentToast('Não foi possível fazer login"');
|
||||
this.presentAlert('O nome de utilizador e palavra-passe estão incorretas ou verifique a sua conexão com a internet e volte a tentar.');
|
||||
|
||||
case 10:
|
||||
_context2.next = 13;
|
||||
case 11:
|
||||
_context2.next = 14;
|
||||
break;
|
||||
|
||||
case 12:
|
||||
case 13:
|
||||
//this.toastService.presentToast('Preencha todos campos');
|
||||
this.presentAlert('Por favor, insira o seu nome de utilizador e palavra-passe.');
|
||||
|
||||
case 13:
|
||||
case 14:
|
||||
case "end":
|
||||
return _context2.stop();
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user