(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["pages-gabinete-digital-gabinete-digital-module"],{

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/gabinete-digital/gabinete-digital.page.html":
/*!*********************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/gabinete-digital/gabinete-digital.page.html ***!
  \*********************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<ion-header>\r\n  <ion-toolbar>\r\n    <ion-title>Gabinete Digital</ion-title>\r\n  </ion-toolbar>\r\n</ion-header>\r\n\r\n<ion-content>\r\n  <ion-refresher  name=\"refresher\" slot=\"fixed\" (ionRefresh)=\"doRefresh($event)\">\r\n    <ion-progress-bar type=\"indeterminate\" *ngIf=\"showLoader\"></ion-progress-bar>\r\n    <ion-refresher-content>\r\n    </ion-refresher-content>\r\n  </ion-refresher>\r\n  <ion-card color=\"#d4d5ca\">\r\n    <ion-card-header>\r\n      <ion-card-title>Eventos para Aprovação</ion-card-title>\r\n      <ion-card-content>\r\n        <ion-item  [routerLink]=\"['/home/gabinete-digital/event-list']\">\r\n          <ion-label>Minha agenda</ion-label>\r\n          <ion-button slot=\"end\">{{count_ev_md}}</ion-button>\r\n        </ion-item>\r\n        <ion-item [routerLink]=\"['/home/gabinete-digital/event-list']\" class=\"ion-item-change-color\">\r\n          <ion-label>Agenda do Presidente</ion-label>\r\n          <ion-button slot=\"end\">{{count_ev_pr}}</ion-button>\r\n        </ion-item>\r\n      </ion-card-content>\r\n    </ion-card-header>\r\n  </ion-card>\r\n    <ion-card color=\"#d4d5ca\">\r\n  <ion-card-header>\r\n    <ion-card-title>Expediente</ion-card-title>\r\n    <ion-card-content>\r\n      <ion-item  [routerLink]=\"['/home/gabinete-digital/expediente']\">\r\n        <ion-label>Correspondência</ion-label>\r\n        <ion-button slot=\"end\">{{ count_exp_dailywork }}</ion-button>\r\n      </ion-item>\r\n      <ion-item (click)=\"notImplemented()\" class=\"ion-activated\">\r\n        <ion-label>Pedidos de parecer</ion-label>\r\n        <ion-button slot=\"end\">{{count_exp_pp}}</ion-button>\r\n      </ion-item>\r\n      <ion-item (click)=\"notImplemented()\">\r\n        <ion-label>Pedidos de deferimento</ion-label>\r\n        <ion-button slot=\"end\">{{count_exp_pd}}</ion-button>\r\n      </ion-item>\r\n    </ion-card-content>\r\n  </ion-card-header>\r\n</ion-card>\r\n<ion-card color=\"#d4d5ca\">\r\n  <ion-card-header>\r\n    <ion-card-title>Expediente para o PR</ion-card-title>\r\n    <ion-card-content>\r\n      <ion-item (click)=\"notImplemented()\" class=\"ion-item-change-color\">\r\n        <ion-label>Correspondência</ion-label>\r\n        <ion-button slot=\"end\">{{count_de_pr}}</ion-button>\r\n      </ion-item>\r\n    </ion-card-content>\r\n  </ion-card-header>\r\n</ion-card>\r\n<ion-card color=\"#d4d5ca\">\r\n  <ion-card-header>\r\n    <ion-card-title>Despachos Efectuados</ion-card-title>\r\n    <ion-card-content>\r\n      <ion-item (click)=\"notImplemented()\" class=\"ion-item-change-color\">\r\n        <ion-label>Presidente da República</ion-label>\r\n        <ion-button slot=\"end\">{{count_de_pr}}</ion-button>\r\n      </ion-item>\r\n    </ion-card-content>\r\n  </ion-card-header>\r\n</ion-card>\r\n<ion-card color=\"#d4d5ca\">\r\n  <ion-card-header>\r\n    <ion-card-title>Diplomas</ion-card-title>\r\n    <ion-card-content>\r\n      <ion-item primary (click)=\"notImplemented()\" class=\"ion-activated\">\r\n        <ion-label>Por validar (MDGPR)</ion-label>\r\n        <ion-button slot=\"end\">{{count_dip_pv}}</ion-button>\r\n      </ion-item>\r\n      <ion-item (click)=\"notImplemented()\" class=\"ion-item-change-color\">\r\n        <ion-label>Assinados pelo PR</ion-label>\r\n        <ion-button slot=\"end\">{{count_dip_apr}}</ion-button>\r\n      </ion-item>\r\n    </ion-card-content>\r\n  </ion-card-header>\r\n</ion-card>\r\n\r\n</ion-content>\r\n");

/***/ }),

/***/ "./src/app/pages/gabinete-digital/gabinete-digital-routing.module.ts":
/*!***************************************************************************!*\
  !*** ./src/app/pages/gabinete-digital/gabinete-digital-routing.module.ts ***!
  \***************************************************************************/
/*! exports provided: GabineteDigitalPageRoutingModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GabineteDigitalPageRoutingModule", function() { return GabineteDigitalPageRoutingModule; });
/* 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 _gabinete_digital_page__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./gabinete-digital.page */ "./src/app/pages/gabinete-digital/gabinete-digital.page.ts");




const routes = [
    {
        path: '',
        component: _gabinete_digital_page__WEBPACK_IMPORTED_MODULE_3__["GabineteDigitalPage"]
    },
    {
        path: 'expediente',
        loadChildren: () => Promise.all(/*! import() | expediente-expediente-module */[__webpack_require__.e("default~expediente-expediente-module~pages-agenda-agenda-module"), __webpack_require__.e("expediente-expediente-module")]).then(__webpack_require__.bind(null, /*! ./expediente/expediente.module */ "./src/app/pages/gabinete-digital/expediente/expediente.module.ts")).then(m => m.ExpedientePageModule)
    },
    {
        path: 'event-list',
        loadChildren: () => Promise.all(/*! import() | event-list-event-list-module */[__webpack_require__.e("common"), __webpack_require__.e("event-list-event-list-module")]).then(__webpack_require__.bind(null, /*! ./event-list/event-list.module */ "./src/app/pages/gabinete-digital/event-list/event-list.module.ts")).then(m => m.EventListPageModule)
    },
    {
        path: 'event-list-pr',
        loadChildren: () => __webpack_require__.e(/*! import() | event-list-pr-event-list-pr-module */ "event-list-pr-event-list-pr-module").then(__webpack_require__.bind(null, /*! ./event-list-pr/event-list-pr.module */ "./src/app/pages/gabinete-digital/event-list-pr/event-list-pr.module.ts")).then(m => m.EventListPrPageModule)
    }
];
let GabineteDigitalPageRoutingModule = class GabineteDigitalPageRoutingModule {
};
GabineteDigitalPageRoutingModule = 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"]],
    })
], GabineteDigitalPageRoutingModule);



/***/ }),

/***/ "./src/app/pages/gabinete-digital/gabinete-digital.module.ts":
/*!*******************************************************************!*\
  !*** ./src/app/pages/gabinete-digital/gabinete-digital.module.ts ***!
  \*******************************************************************/
/*! exports provided: GabineteDigitalPageModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GabineteDigitalPageModule", function() { return GabineteDigitalPageModule; });
/* 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 _gabinete_digital_routing_module__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./gabinete-digital-routing.module */ "./src/app/pages/gabinete-digital/gabinete-digital-routing.module.ts");
/* harmony import */ var _gabinete_digital_page__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./gabinete-digital.page */ "./src/app/pages/gabinete-digital/gabinete-digital.page.ts");







/*  */
let GabineteDigitalPageModule = class GabineteDigitalPageModule {
};
GabineteDigitalPageModule = 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"],
            /*  */
            _gabinete_digital_routing_module__WEBPACK_IMPORTED_MODULE_5__["GabineteDigitalPageRoutingModule"]
        ],
        declarations: [_gabinete_digital_page__WEBPACK_IMPORTED_MODULE_6__["GabineteDigitalPage"]],
        schemas: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["CUSTOM_ELEMENTS_SCHEMA"]]
    })
], GabineteDigitalPageModule);



/***/ }),

/***/ "./src/app/pages/gabinete-digital/gabinete-digital.page.scss":
/*!*******************************************************************!*\
  !*** ./src/app/pages/gabinete-digital/gabinete-digital.page.scss ***!
  \*******************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = (":host ion-card-title {\n  text-align: center;\n}\n:host ion-card {\n  background-color: #d4d5ca;\n  border-radius: 20px;\n}\n:host ion-item {\n  --ion-background-color:#dae3f3;\n  margin-bottom: 10px;\n  border-radius: 5px;\n}\n:host ion-button {\n  color: #000;\n  --background:none;\n  --border-color: none;\n  --box-shadow:none;\n}\n:host ion-label {\n  padding: 10px;\n}\n.ion-item-change-color {\n  --ion-background-color:#fff2cc !important;\n  margin-bottom: 10px;\n  border-radius: 5px;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvcGFnZXMvZ2FiaW5ldGUtZGlnaXRhbC9DOlxcVXNlcnNcXHRpYWdvLmtheWF5YVxcZGV2ZWxvcG1lbnRcXGdhYmluZXRlLWRpZ2l0YWwvc3JjXFxhcHBcXHBhZ2VzXFxnYWJpbmV0ZS1kaWdpdGFsXFxnYWJpbmV0ZS1kaWdpdGFsLnBhZ2Uuc2NzcyIsInNyYy9hcHAvcGFnZXMvZ2FiaW5ldGUtZGlnaXRhbC9nYWJpbmV0ZS1kaWdpdGFsLnBhZ2Uuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDRTtFQUNJLGtCQUFBO0FDQU47QURHQTtFQUNFLHlCQUFBO0VBQ0EsbUJBQUE7QUNERjtBREdBO0VBQ0UsOEJBQUE7RUFDQSxtQkFBQTtFQUNBLGtCQUFBO0FDREY7QURHQTtFQUNHLFdBQUE7RUFDRCxpQkFBQTtFQUNBLG9CQUFBO0VBQ0EsaUJBQUE7QUNERjtBREdBO0VBQ0csYUFBQTtBQ0RIO0FESUE7RUFDRSx5Q0FBQTtFQUNBLG1CQUFBO0VBQ0Esa0JBQUE7QUNERiIsImZpbGUiOiJzcmMvYXBwL3BhZ2VzL2dhYmluZXRlLWRpZ2l0YWwvZ2FiaW5ldGUtZGlnaXRhbC5wYWdlLnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyI6aG9zdHtcclxuICBpb24tY2FyZC10aXRsZXtcclxuICAgICAgdGV4dC1hbGlnbjogY2VudGVyO1xyXG4gIH1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1cbjpob3N0IGlvbi1sYWJlbCB7XG4gIHBhZGRpbmc6IDEwcHg7XG59XG5cbi5pb24taXRlbS1jaGFuZ2UtY29sb3Ige1xuICAtLWlvbi1iYWNrZ3JvdW5kLWNvbG9yOiNmZmYyY2MgIWltcG9ydGFudDtcbiAgbWFyZ2luLWJvdHRvbTogMTBweDtcbiAgYm9yZGVyLXJhZGl1czogNXB4O1xufSJdfQ== */");

/***/ }),

/***/ "./src/app/pages/gabinete-digital/gabinete-digital.page.ts":
/*!*****************************************************************!*\
  !*** ./src/app/pages/gabinete-digital/gabinete-digital.page.ts ***!
  \*****************************************************************/
/*! exports provided: GabineteDigitalPage */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GabineteDigitalPage", function() { return GabineteDigitalPage; });
/* 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 src_app_services_processes_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/app/services/processes.service */ "./src/app/services/processes.service.ts");
/* harmony import */ var src_app_services_alert_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/services/alert.service */ "./src/app/services/alert.service.ts");




let GabineteDigitalPage = class GabineteDigitalPage {
    constructor(processesbackend, alertService) {
        this.processesbackend = processesbackend;
        this.alertService = alertService;
    }
    ngOnInit() {
        this.LoadCounts();
        console.log('cheguei');
    }
    LoadCounts() {
        this.showLoader = true;
        this.processesbackend.GetTasksList("Expediente", true).subscribe(result => {
            this.showLoader = false;
            this.count_exp_dailywork = result;
        });
        this.processesbackend.GetToApprovedEvents('PR', 'true').subscribe(res => {
            this.count_ev_pr = res;
        });
        this.processesbackend.GetToApprovedEvents('MDGPR', 'true').subscribe(res => {
            this.count_ev_md = res;
        });
        this.count_exp_pp = "-";
        this.count_exp_pd = "-";
        this.count_dip_apr = "-";
        this.count_dip_pv = "-";
        this.count_de_pr = "-";
        this.count_ev_md = '-';
    }
    doRefresh(event) {
        this.LoadCounts();
        setTimeout(() => {
            event.target.complete();
        }, 2000);
    }
    notImplemented() {
        this.alertService.presentAlert('Funcionalidade em desenvolvimento');
    }
};
GabineteDigitalPage.ctorParameters = () => [
    { type: src_app_services_processes_service__WEBPACK_IMPORTED_MODULE_2__["ProcessesService"] },
    { type: src_app_services_alert_service__WEBPACK_IMPORTED_MODULE_3__["AlertService"] }
];
GabineteDigitalPage = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({
        selector: 'app-gabinete-digital',
        template: Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__importDefault"])(__webpack_require__(/*! raw-loader!./gabinete-digital.page.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/gabinete-digital/gabinete-digital.page.html")).default,
        styles: [Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__importDefault"])(__webpack_require__(/*! ./gabinete-digital.page.scss */ "./src/app/pages/gabinete-digital/gabinete-digital.page.scss")).default]
    })
], GabineteDigitalPage);



/***/ })

}]);
//# sourceMappingURL=pages-gabinete-digital-gabinete-digital-module.js.map
