mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
1 line
49 KiB
JavaScript
1 line
49 KiB
JavaScript
(self.webpackChunkgabinete_digital=self.webpackChunkgabinete_digital||[]).push([[4233],{14233:function(e,t,n){"use strict";n.r(t),n.d(t,{GabineteDigitalPageModule:function(){return Te}});var i=n(38583),o=n(3679),s=n(35957),a=n(39895),r=n(64762),c=n(78814),d=n(72964),l=n(39864),p=n(30883),g=n(96975),h=n(60852),m=n(54271),f=n(8500),u=n(42764),P=n(92173),_=n(44940),x=n(37716),w=n(28621),C=n(25970),M=n(37556),O=n(96529);let v=(()=>{class e{constructor(){this.selectorString=""}selector({selector:e,callback:t}){!function n(){document.querySelector(e)?t():window.requestAnimationFrame(n)}()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=x.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var Z=n(962),b=n(1491),A=n(77449),D=n(95451),k=n(45326),T=n(84371),q=n(22841),y=n(18846),E=n(65104),U=n(39577);function I(e,t){1&e&&x._UZ(0,"ion-progress-bar",19)}function R(e,t){if(1&e){const e=x.EpF();x.TgZ(0,"button",20),x.NdJ("click",function(t){return x.CHM(e),x.oxw().doRefresh(t)}),x._UZ(1,"ion-icon",21),x.qZA()}}function N(e,t){if(1&e){const e=x.EpF();x.TgZ(0,"div",22),x.TgZ(1,"ion-segment",23),x.NdJ("ngModelChange",function(t){return x.CHM(e),x.oxw().segmentVista=t})("ionChange",function(){return x.CHM(e),x.oxw().onSegmentVistaChange()}),x.TgZ(2,"ion-segment-button",24),x._UZ(3,"fa-icon",25),x.qZA(),x.TgZ(4,"ion-segment-button",26),x._UZ(5,"fa-icon",27),x.qZA(),x.qZA(),x.qZA()}if(2&e){const e=x.oxw();x.xp6(1),x.Q6J("ngModel",e.segmentVista)}}function J(e,t){if(1&e&&(x.TgZ(0,"div",44),x._UZ(1,"ion-icon",45),x.TgZ(2,"label"),x._uU(3),x.qZA(),x.qZA()),2&e){const e=x.oxw().$implicit;x.xp6(3),x.Oqu(e.DocumentsQty)}}function j(e,t){if(1&e&&(x.TgZ(0,"div",36),x.TgZ(1,"div",37),x.TgZ(2,"ion-label"),x._uU(3),x.qZA(),x.qZA(),x.qZA()),2&e){const e=x.oxw().$implicit;x.xp6(3),x.Oqu(e.customDate)}}function F(e,t){if(1&e&&(x.TgZ(0,"ion-label"),x._uU(1),x.qZA()),2&e){const e=x.oxw(2).$implicit;x.xp6(1),x.hij(" Agenda ",e.Agenda," do Presidente da Rep\xfablica ")}}function Q(e,t){if(1&e&&(x.TgZ(0,"ion-label"),x._uU(1),x.qZA()),2&e){const e=x.oxw(2).$implicit;x.xp6(1),x.hij(" A sua agenda ",e.Agenda," ")}}function G(e,t){if(1&e&&(x.TgZ(0,"div",46),x.TgZ(1,"div",47),x.YNc(2,F,2,1,"ion-label",29),x.YNc(3,Q,2,1,"ion-label",29),x.qZA(),x.qZA()),2&e){const e=x.oxw().$implicit;x.xp6(2),x.Q6J("ngIf","Agenda Oficial PR"==e.WorkflowName||"Agenda Pessoal PR"==e.WorkflowName),x.xp6(1),x.Q6J("ngIf","Agenda Oficial MDGPR"==e.WorkflowName||"Agenda Pessoal MDGPR"==e.WorkflowName)}}function S(e,t){if(1&e){const e=x.EpF();x.TgZ(0,"div",31),x.NdJ("click",function(){const t=x.CHM(e).$implicit;return x.oxw(3).goToProcess(t.SerialNumber,t.WorkflowName,t.activityInstanceName)}),x.TgZ(1,"div",32),x.TgZ(2,"div",33),x.TgZ(3,"div",34),x.TgZ(4,"ion-label"),x._uU(5),x.qZA(),x.qZA(),x.YNc(6,J,4,1,"div",35),x.qZA(),x.TgZ(7,"div",36),x.TgZ(8,"div",37),x.TgZ(9,"ion-label"),x._uU(10),x.qZA(),x.qZA(),x.qZA(),x.YNc(11,j,4,1,"div",38),x.YNc(12,G,4,2,"div",39),x.TgZ(13,"div",40),x.TgZ(14,"div",41),x.TgZ(15,"span",42),x._uU(16),x.qZA(),x.qZA(),x.TgZ(17,"div",43),x.TgZ(18,"ion-label"),x._uU(19),x.ALo(20,"date"),x.qZA(),x.qZA(),x.qZA(),x.qZA(),x.qZA()}if(2&e){const e=t.$implicit;x.xp6(5),x.Oqu(e.Folio),x.xp6(1),x.Q6J("ngIf",0!=e.DocumentsQty),x.xp6(4),x.Oqu(e.Senders),x.xp6(1),x.Q6J("ngIf",e.Agenda),x.xp6(1),x.Q6J("ngIf",e.Agenda),x.xp6(4),x.Oqu(e.activityInstanceName),x.xp6(3),x.Oqu(x.xi3(20,7,e.CreateDate,"dd-MM-yyyy HH:mm"))}}function Y(e,t){if(1&e&&(x.TgZ(0,"ion-list"),x.YNc(1,S,21,10,"div",30),x.qZA()),2&e){const e=x.oxw(2);x.xp6(1),x.Q6J("ngForOf",e.allProcessesList)}}function z(e,t){if(1&e&&(x.TgZ(0,"div"),x.TgZ(1,"ion-item-sliding"),x.TgZ(2,"div",28),x.YNc(3,Y,2,1,"ion-list",29),x.qZA(),x.qZA(),x.qZA()),2&e){const e=x.oxw();x.xp6(3),x.Q6J("ngIf",e.allProcessesList)}}function L(e,t){if(1&e){const e=x.EpF();x.TgZ(0,"div",64),x.NdJ("click",function(){return x.CHM(e),x.oxw(2).openAllProcessesPage()}),x.TgZ(1,"div",53),x._UZ(2,"fa-icon",65),x.qZA(),x.TgZ(3,"p",62),x._uU(4,"Todas as tarefas"),x.qZA(),x.TgZ(5,"p",56),x._uU(6),x.TgZ(7,"span",58),x._uU(8,"Documentos"),x.qZA(),x.qZA(),x.qZA()}if(2&e){const e=x.oxw(2);x.ekj("active","allProcessesTag"==e.selectedElement),x.xp6(6),x.hij("",e.count_all_processes," ")}}function H(e,t){if(1&e){const e=x.EpF();x.TgZ(0,"div",64),x.NdJ("click",function(){x.CHM(e);const t=x.oxw(2);return t.openEventsToApprovePage(),t.selectedElement="approval"}),x.TgZ(1,"div",53),x._UZ(2,"ion-icon",66),x.qZA(),x.TgZ(3,"p",62),x._uU(4,"Eventos para Aprova\xe7\xe3o"),x.qZA(),x.TgZ(5,"p",56),x._uU(6),x.TgZ(7,"span",58),x._uU(8,"Documentos"),x.qZA(),x.qZA(),x.qZA()}if(2&e){const e=x.oxw(2);x.ekj("active","approval"==e.selectedElement),x.xp6(6),x.hij("",e.eventoaprovacaostore.count," ")}}function W(e,t){if(1&e){const e=x.EpF();x.TgZ(0,"div",52),x.NdJ("click",function(){x.CHM(e);const t=x.oxw(2);return t.openExpedientListPage(),t.selectedElement="Correspondence"}),x.TgZ(1,"div",53),x._UZ(2,"ion-icon",67),x.qZA(),x.TgZ(3,"p",62),x._uU(4,"Expediente"),x.qZA(),x.TgZ(5,"p",56),x._uU(6),x.TgZ(7,"span",58),x._uU(8,"Documentos"),x.qZA(),x.qZA(),x.qZA()}if(2&e){const e=x.oxw(2);x.ekj("active","Correspondence"==e.selectedElement),x.xp6(6),x.hij("",e.expedientegbstore.count," ")}}function B(e,t){1&e&&(x.TgZ(0,"p",71),x._uU(1,"Expediente Presidente"),x.qZA())}function V(e,t){1&e&&(x.TgZ(0,"p",71),x._uU(1,"Expediente"),x.qZA())}function $(e,t){if(1&e){const e=x.EpF();x.TgZ(0,"div",68),x.NdJ("click",function(){x.CHM(e);const t=x.oxw(2);return t.openExpedientesPrPage(),t.selectedElement="Expediente Presidente"}),x.TgZ(1,"div",53),x._UZ(2,"ion-icon",69),x.qZA(),x.YNc(3,B,2,0,"p",70),x.YNc(4,V,2,0,"p",70),x.TgZ(5,"p",56),x.TgZ(6,"span",57),x._uU(7),x.qZA(),x.TgZ(8,"span",58),x._uU(9,"Documentos"),x.qZA(),x.qZA(),x.qZA()}if(2&e){const e=x.oxw(2);x.ekj("active","Expediente Presidente"==e.selectedElement),x.xp6(3),x.Q6J("ngIf","MDGPR"==e.loggeduser.Profile),x.xp6(1),x.Q6J("ngIf","PR"==e.loggeduser.Profile),x.xp6(3),x.hij("",e.expedienteprstore.count," ")}}function X(e,t){1&e&&(x.TgZ(0,"p",62),x._uU(1,"Pendentes"),x.qZA())}function K(e,t){1&e&&(x.TgZ(0,"p",62),x._uU(1,"Meus Pendentes"),x.qZA())}function ee(e,t){1&e&&(x.TgZ(0,"p",62),x._uU(1,"Despacho do Presidente da Rep\xfablica"),x.qZA())}function te(e,t){1&e&&(x.TgZ(0,"p",62),x._uU(1,"Despachos criados por mim"),x.qZA())}function ne(e,t){if(1&e){const e=x.EpF();x.TgZ(0,"div",72),x.NdJ("click",function(){x.CHM(e);const t=x.oxw(2);return t.openDespachosPrPage(),t.selectedElement="DispatchesPr"}),x.TgZ(1,"div",53),x._UZ(2,"ion-icon",73),x.qZA(),x.YNc(3,ee,2,0,"p",55),x.YNc(4,te,2,0,"p",55),x.TgZ(5,"p",56),x._uU(6),x.TgZ(7,"span",58),x._uU(8,"Documentos"),x.qZA(),x.qZA(),x.qZA()}if(2&e){const e=x.oxw(2);x.ekj("active","DispatchesPr"==e.selectedElement),x.xp6(3),x.Q6J("ngIf","MDGPR"==e.loggeduser.Profile),x.xp6(1),x.Q6J("ngIf","PR"==e.loggeduser.Profile),x.xp6(2),x.hij("",e.despachoprstore.count," ")}}function ie(e,t){if(1&e){const e=x.EpF();x.TgZ(0,"div",52),x.NdJ("click",function(){x.CHM(e);const t=x.oxw(2);return t.openDespachosPage(),t.selectedElement="Dispatches"}),x.TgZ(1,"div",53),x._UZ(2,"ion-icon",73),x.qZA(),x.TgZ(3,"p",62),x._uU(4,"Despachos"),x.qZA(),x.TgZ(5,"p",56),x._uU(6),x.TgZ(7,"span",58),x._uU(8,"Documentos"),x.qZA(),x.qZA(),x.qZA()}if(2&e){const e=x.oxw(2);x.ekj("active","Dispatches"==e.selectedElement),x.xp6(6),x.hij("",e.despachoStore.count," ")}}function oe(e,t){1&e&&(x.TgZ(0,"p",62),x._uU(1,"Pedidos de Parecer"),x.qZA())}function se(e,t){1&e&&(x.TgZ(0,"p",62),x._uU(1,"Pedidos de Parecer solicitados por mim"),x.qZA())}function ae(e,t){if(1&e){const e=x.EpF();x.TgZ(0,"div",74),x.NdJ("click",function(){x.CHM(e);const t=x.oxw(2);return t.openDespachosPrPage(),t.selectedElement="showDespachosPr"}),x.TgZ(1,"div",75),x.TgZ(2,"div",76),x._UZ(3,"ion-icon",73),x.qZA(),x.TgZ(4,"div",77),x.TgZ(5,"p",71),x._uU(6,"Despacho do Presidente da Rep\xfablica"),x.qZA(),x.TgZ(7,"p",56),x._uU(8),x.TgZ(9,"span",58),x._uU(10,"Documentos"),x.qZA(),x.qZA(),x.qZA(),x.qZA(),x.qZA()}if(2&e){const e=x.oxw(2);x.ekj("active","showDespachosPr"==e.selectedElement),x.xp6(8),x.hij("",e.despachoprstore.count," ")}}function re(e,t){1&e&&(x.TgZ(0,"p",62),x._uU(1,"Diplomas por Validar"),x.qZA())}function ce(e,t){1&e&&(x.TgZ(0,"p",62),x._uU(1,"Diplomas por Assinar"),x.qZA())}function de(e,t){if(1&e){const e=x.EpF();x.TgZ(0,"div",52),x.NdJ("click",function(){x.CHM(e);const t=x.oxw(2);return t.openDiplomasPage("validar"),t.selectedElement="DiplomasPorValidar"}),x.TgZ(1,"div",53),x._UZ(2,"ion-icon",78),x.qZA(),x.YNc(3,re,2,0,"p",55),x.YNc(4,ce,2,0,"p",55),x.TgZ(5,"p",56),x._uU(6),x.TgZ(7,"span",58),x._uU(8,"Documentos"),x.qZA(),x.qZA(),x.qZA()}if(2&e){const e=x.oxw(2);x.ekj("active","DiplomasPorValidar"==e.selectedElement),x.xp6(3),x.Q6J("ngIf","MDGPR"==e.loggeduser.Profile),x.xp6(1),x.Q6J("ngIf","PR"==e.loggeduser.Profile),x.xp6(2),x.hij("",e.count_dip_pv," ")}}function le(e,t){1&e&&(x.TgZ(0,"p",62),x._uU(1,"Diplomas assinados PR"),x.qZA())}function pe(e,t){1&e&&(x.TgZ(0,"p",62),x._uU(1,"Diplomas"),x.qZA())}function ge(e,t){if(1&e){const e=x.EpF();x.TgZ(0,"div",52),x.NdJ("click",function(){x.CHM(e);const t=x.oxw(2);return t.openDiplomasPage("assinados"),t.selectedElement="DiplomasAssinados"}),x.TgZ(1,"div",53),x._UZ(2,"ion-icon",79),x.qZA(),x.YNc(3,le,2,0,"p",55),x.YNc(4,pe,2,0,"p",55),x.TgZ(5,"p",56),x._uU(6),x.TgZ(7,"span",58),x._uU(8,"Documentos"),x.qZA(),x.qZA(),x.qZA()}if(2&e){const e=x.oxw(2);x.ekj("active","DiplomasAssinados"==e.selectedElement),x.xp6(3),x.Q6J("ngIf","MDGPR"==e.loggeduser.Profile),x.xp6(1),x.Q6J("ngIf","PR"==e.loggeduser.Profile),x.xp6(2),x.hij("",e.count_dip_as_pr," ")}}function he(e,t){if(1&e){const e=x.EpF();x.TgZ(0,"div",52),x.NdJ("click",function(){x.CHM(e);const t=x.oxw(2);return t.openDiplomasAssinarPage(),t.selectedElement="DiplomasAssinar"}),x.TgZ(1,"div",53),x._UZ(2,"ion-icon",78),x.qZA(),x.TgZ(3,"p",62),x._uU(4,"Diplomas para Assinar"),x.qZA(),x.TgZ(5,"p",56),x._uU(6),x.TgZ(7,"span",58),x._uU(8,"Documentos"),x.qZA(),x.qZA(),x.qZA()}if(2&e){const e=x.oxw(2);x.ekj("active","DiplomasAssinar"==e.selectedElement),x.xp6(6),x.hij("",e.count_dip_as," ")}}function me(e,t){if(1&e){const e=x.EpF();x.TgZ(0,"div",48),x.YNc(1,L,9,3,"div",49),x.YNc(2,H,9,3,"div",49),x.YNc(3,W,9,3,"div",50),x.YNc(4,$,10,5,"div",51),x.TgZ(5,"div",52),x.NdJ("click",function(){x.CHM(e);const t=x.oxw();return t.openPendentesPage(),t.selectedElement="Pending"}),x.TgZ(6,"div",53),x._UZ(7,"ion-icon",54),x.qZA(),x.YNc(8,X,2,0,"p",55),x.YNc(9,K,2,0,"p",55),x.TgZ(10,"p",56),x.TgZ(11,"span",57),x._uU(12),x.qZA(),x.TgZ(13,"span",58),x._uU(14,"Documentos"),x.qZA(),x.qZA(),x.qZA(),x.YNc(15,ne,9,5,"div",59),x.YNc(16,ie,9,3,"div",50),x.TgZ(17,"div",52),x.NdJ("click",function(){x.CHM(e);const t=x.oxw();return t.openPedidosPage("parecer"),t.selectedElement="RequestsForOpinion"}),x.TgZ(18,"div",53),x._UZ(19,"ion-icon",60),x.qZA(),x.YNc(20,oe,2,0,"p",55),x.YNc(21,se,2,0,"p",55),x.TgZ(22,"p",56),x._uU(23),x.TgZ(24,"span",58),x._uU(25,"Documentos"),x.qZA(),x.qZA(),x.qZA(),x.TgZ(26,"div",52),x.NdJ("click",function(){x.CHM(e);const t=x.oxw();return t.openPedidosPage("deferimento"),t.selectedElement="RequestForApproval"}),x.TgZ(27,"div",53),x._UZ(28,"ion-icon",61),x.qZA(),x.TgZ(29,"p",62),x._uU(30,"Pedidos de Deferimento"),x.qZA(),x.TgZ(31,"p",56),x._uU(32),x.TgZ(33,"span",58),x._uU(34,"Documentos"),x.qZA(),x.qZA(),x.qZA(),x.YNc(35,ae,11,3,"div",63),x.YNc(36,de,9,5,"div",50),x.YNc(37,ge,9,5,"div",50),x.YNc(38,he,9,3,"div",50),x.qZA()}if(2&e){const e=x.oxw();x.xp6(1),x.Q6J("ngIf",e.hideInMobile),x.xp6(1),x.Q6J("ngIf","MDGPR"==e.loggeduser.Profile),x.xp6(1),x.Q6J("ngIf","MDGPR"==e.loggeduser.Profile),x.xp6(1),x.Q6J("ngIf","PR"==e.loggeduser.Profile),x.xp6(1),x.ekj("active",e.selectedElementF("Pending")),x.xp6(3),x.Q6J("ngIf","MDGPR"==e.loggeduser.Profile),x.xp6(1),x.Q6J("ngIf","PR"==e.loggeduser.Profile),x.xp6(3),x.hij("",e.pendentesstore.count," "),x.xp6(3),x.Q6J("ngIf","PR"==e.loggeduser.Profile),x.xp6(1),x.Q6J("ngIf","MDGPR"==e.loggeduser.Profile),x.xp6(1),x.ekj("active","RequestsForOpinion"==e.selectedElement),x.xp6(3),x.Q6J("ngIf","MDGPR"==e.loggeduser.Profile),x.xp6(1),x.Q6J("ngIf","PR"==e.loggeduser.Profile),x.xp6(2),x.hij("",e.pedidosstore.countparecer," "),x.xp6(3),x.ekj("active","RequestForApproval"==e.selectedElement),x.xp6(6),x.hij("",e.pedidosstore.countdeferimento," "),x.xp6(3),x.Q6J("ngIf","MDGPR"==e.loggeduser.Profile),x.xp6(1),x.Q6J("ngIf","MDGPR"==e.loggeduser.Profile),x.xp6(1),x.Q6J("ngIf","MDGPR"==e.loggeduser.Profile),x.xp6(1),x.Q6J("ngIf","PR"==e.loggeduser.Profile)}}const fe=[{path:"",component:(()=>{class e{constructor(e,t,n,i,o,s,a,r){this.processesbackend=e,this.modalController=t,this.alertService=n,this.activatedRoute=i,this.router=o,this.p=a,this.waitForDomService=r,this.allProcessesList=new Array,this.count_exp_dailywork=0,this.count_exp_pr=0,this.count_desp_dailywork=0,this.count_desp_pending=0,this.count_par_dailywork=0,this.count_par_pending=0,this.count_def_dailywork=0,this.count_def_pending=0,this.count_dip_as_pr=0,this.count_dip_pv=0,this.count_dip_as=0,this.count_de_pr=0,this.count_ev_apr=0,this.count_ev_md=0,this.count_total_pending=0,this.count_desp_pr_active=0,this.count_all_processes=0,this.selectedElement="",this.desktopComponent={showEventList:!1,showExpediente:!1},this.showAllProcesses=!1,this.showEventsToApprove=!1,this.showEmptyContainer=!1,this.showExpedients=!1,this.showExpedientesPr=!1,this.showPedidos=!1,this.showDespachos=!1,this.showDespachosPr=!1,this.showPendentes=!1,this.showDiplomas=!1,this.showDiplomasAssinar=!1,this.showExpedientDetail=!1,this.showSignedDiploma=!1,this.emptyTextDescription="Sem op\xe7\xe3o selecionada",this.mdgpr="MDGPR",this.pr="PR",this.hideRefreshBtn=!0,this.hideInMobile=!0,this.expedientegbstore=h.a,this.pendentesstore=m.G,this.despachoStore=p.G,this.eventoaprovacaostore=g.j,this.pedidosstore=f.d,this.expedienteprstore=u.s,this.despachoprstore=P.d,this.loggeduser=s.ValidatedUser,window.onresize=e=>{window.innerWidth<=701?(this.modalController.dismiss(),this.segmentVista="listview"):this.segmentVista="boxview"},this.checkRoutes()}ngDoCheck(){}closeAllDesktopComponent(){this.desktopComponent={showEventList:!1,showExpediente:!1}}ngOnInit(){this.segmentVista=window.innerWidth<701?"listview":"boxview";const e=window.location.pathname;this.router.events.forEach(t=>{t instanceof a.m2&&t.url==e&&this.waitForDomService.selector({selector:"app-gabinete-digital ion-content .aside-wrapper",callback:()=>{this.checkRoutes(),this.LoadCounts()}})}),this.hideRefreshButton(),this.waitForDomService.selector({selector:"app-gabinete-digital ion-content .aside-wrapper",callback:()=>{this.loadAllProcesses()}})}loadAllProcesses(){return(0,r.mG)(this,void 0,void 0,function*(){let e=yield this.processesbackend.GetTasksList("",!1).toPromise();console.log(e),this.skeletonLoader=!0,this.allProcessesList=[],e.forEach(e=>{let t=new Date(e.taskStartDate);t.setMonth(t.getMonth()+1);let n=t.getFullYear()+"-"+t.getMonth()+"-"+t.getDate()+" "+t.getHours()+":"+t.getMinutes()+":"+t.getSeconds(),i={SerialNumber:e.serialNumber,Folio:e.workflowInstanceDataFields.Subject,Senders:e.workflowInstanceDataFields.Sender,CreateDate:n,DocumentURL:e.workflowInstanceDataFields.ViewerRequest,Remetente:e.workflowInstanceDataFields.Remetente,DocumentsQty:e.totalDocuments,DocId:e.workflowInstanceDataFields.DispatchDocId,FolderID:e.workflowInstanceDataFields.FolderID,WorkflowName:e.workflowDisplayName,activityInstanceName:e.activityInstanceName,Status:e.workflowInstanceDataFields.Status,Agenda:e.workflowInstanceDataFields.Agenda,customDate:this.setFormatDate(new Date(e.workflowInstanceDataFields.StartDate),new Date(e.workflowInstanceDataFields.EndDate),e.workflowInstanceDataFields.IsAllDayEvent)};this.allProcessesList.push(i),this.allProcessesList=(0,_.removeDuplicate)(this.allProcessesList),this.allProcessesList=this.sortArrayISODate(this.allProcessesList).reverse()}),this.skeletonLoader=!1})}sortArrayISODate(e){return e.sort(function(e,t){return e.CreateDate<t.CreateDate?-1:e.CreateDate>t.CreateDate?1:0})}setFormatDate(e,t,n){let i;const o=Math.floor((t-e)/1e3),s=Math.floor(o/60),a=Math.floor(s/60);return 0==Math.floor(a/24)?n?(i=this.getCustomDate(e)+", "+this.getCustomHours(e)+" (todo dia)",console.log(i),i):(i=this.getCustomDate(e)+", "+this.getCustomHours(e)+" | "+this.getCustomHours(t),i):(i=this.getCustomDate(e)+","+this.getCustomHours(e)+" (termina:"+this.getCustomDate(t)+","+this.getCustomHours(t)+")",i)}getCustomDate(e){return e.getDay()+1+"/"+(e.getMonth()+1)+"/"+e.getFullYear()}getCustomHours(e){return e.getHours()+":"+e.getMinutes()}goToProcess(e,t,n){"Despacho"==t?"Tarefa de Despacho"==n&&this.router.navigate(["/home/gabinete-digital/despachos",e,"gabinete-digital"]):"Despacho do Presidente da Rep\xfablica"==t?"Tarefa de Despacho"==n?this.router.navigate(["/home/gabinete-digital/despachos-pr",e,"gabinete-digital"]):"Revisar Diploma"==n||"Assinar Diploma"==n?this.router.navigate(["/home/gabinete-digital/diplomas",e,"gabinete-digital"]):"Diploma Assinado"==n&&this.router.navigate(["/home/gabinete-digital/diplomas-assinar",e,"gabinete-digital"]):"Pedido de Parecer"==t||"Pedido de Deferimento"==t?this.router.navigate(["/home/gabinete-digital/pedidos",e,"gabinete-digital"]):"Expediente"==t?this.router.navigate(["/home/gabinete-digital/expediente",e,"gabinete-digital"]):"Expediente"==t&&"PR"==this.loggeduser.Profile?this.router.navigate(["/home/gabinete-digital/expedientes-pr",e,"gabinete-digital"]):"Pedido de Parecer do Presidente"==t?this.router.navigate(["/home/gabinete-digital/pedidos",e,"gabinete-digital"]):"Agenda Pessoal PR"==t||"Agenda Oficial PR"==t||"Agenda Oficial MDGPR"==t||"Agenda Pessoal MDGPR"==t?this.router.navigate(["/home/gabinete-digital/event-list/approve-event",e,"gabinete-digital"]):console.log("cant find page for this task")}onSegmentVistaChange(){}checkUser(){this.selectedElement="allProcessesTag",this.showAllProcesses=!0}hideRefreshButton(){window.onresize=e=>{window.innerWidth<701?(this.hideRefreshBtn=!1,this.hideInMobile=!1,this.segmentVista="listview"):(this.hideRefreshBtn=!0,this.hideInMobile=!0,this.segmentVista="boxview")},window.innerWidth<701?(this.hideRefreshBtn=!1,this.hideInMobile=!1,this.segmentVista="listview"):(this.hideRefreshBtn=!0,this.hideInMobile=!0,this.segmentVista="boxview")}checkRoutes(){this.closeAllDesktopComponents(),"/home/gabinete-digital?processes=true"==this.router.url&&(this.openAllProcessesPage(),this.selectedElement="allProcessesTag"),"/home/gabinete-digital?eventos=true"==this.router.url?(this.openEventsToApprovePage(),this.selectedElement="approval"):"/home/gabinete-digital?expedientes=true"==this.router.url?(this.openExpedientListPage(),this.selectedElement="MDGPR"==this.loggeduser.Profile?"Correspondence":"Expediente Presidente"):"/home/gabinete-digital?pendentes=true"==this.router.url?(this.openPendentesPage(""),this.selectedElement="Pending"):"/home/gabinete-digital?despachos=true"==this.router.url?(this.openDespachosPage(""),this.selectedElement="Dispatches"):"/home/gabinete-digital?pedidos=true"==this.router.url?(this.openPedidosPage("parecer"),this.selectedElement="RequestsForOpinion"):"/home/gabinete-digital?expedientespr=true"==this.router.url?(this.openExpedientesPrPage(),this.selectedElement="Expediente Presidente"):"/home/gabinete-digital?despachospr=true"==this.router.url?(this.openDespachosPrPage(""),this.selectedElement="DispatchesPr"):"/home/gabinete-digital?diplomas=true"==this.router.url?(this.openDiplomasPage("validar"),this.selectedElement="DiplomasPorValidar"):"/home/gabinete-digital?diplomasassinar=true"==this.router.url?(this.openDiplomasAssinarPage(),this.selectedElement="DiplomasAssinar"):"/home/gabinete-digital?parecer=true"==this.router.url?this.openPedidosPage("parecer"):"/home/gabinete-digital?deferimento=true"==this.router.url?this.openPedidosPage("deferimento"):this.checkUser()}closeAllDesktopComponents(){this.showEmptyContainer=!1,this.showAllProcesses=!1,this.showEventsToApprove=!1,this.showExpedients=!1,this.showPedidos=!1,this.showDespachos=!1,this.showDespachosPr=!1,this.showPendentes=!1,this.showDiplomas=!1,this.showDiplomasAssinar=!1,this.showExpedientesPr=!1,this.showExpedientDetail=!1,this.showSignedDiploma=!1}LoadCounts(){return(0,r.mG)(this,void 0,void 0,function*(){this.showLoader=!0;let e=yield this.processesbackend.GetTasksList("",!1).toPromise();this.count_all_processes=Object.keys(e).length;let t=yield this.processesbackend.GetTasksList("Expediente",!1).toPromise();this.count_exp_dailywork=Object.keys(t.filter(e=>"Active"==e.workflowInstanceDataFields.Status)).length,this.expedientegbstore.count=this.count_exp_dailywork;let n=yield this.processesbackend.GetTasksList("Expediente",!1).toPromise();this.count_exp_pr=Object.keys(n.filter(e=>"Active"==e.workflowInstanceDataFields.Status)).length,this.expedienteprstore.count=this.count_exp_pr;let i=yield this.processesbackend.GetTasksList("Despacho",!1).toPromise();this.count_desp_dailywork=Object.keys(i.filter(e=>"Active"==e.workflowInstanceDataFields.Status)).length,this.despachoStore.count=this.count_desp_dailywork;let o=yield this.processesbackend.GetTasksList("Pedido de Parecer",!1).toPromise(),s=yield this.processesbackend.GetTasksList("Pedido de Parecer do Presidente",!1).toPromise(),a=o.concat(s);this.count_par_dailywork=Object.keys(a.filter(e=>"Active"==e.workflowInstanceDataFields.Status)).length,this.pedidosstore.countparecer=this.count_par_dailywork;let r=yield this.processesbackend.GetTasksList("Pedido de Deferimento",!1).toPromise();this.count_def_dailywork=Object.keys(r.filter(e=>"Active"==e.workflowInstanceDataFields.Status)).length,this.pedidosstore.countdeferimento=this.count_def_dailywork;let c=yield this.processesbackend.GetPendingTasks(!1).toPromise();this.count_total_pending=Object.keys(c).length,this.pendentesstore.count=this.count_total_pending;let d,l=yield this.processesbackend.GetTasksList("Despacho do Presidente da Rep\xfablica",!1).toPromise();switch(this.loggeduser.Profile){case"MDGPR":d=l.filter(e=>"Tarefa de Despacho"==e.activityInstanceName).filter(e=>"Active"==e.workflowInstanceDataFields.Status),this.count_de_pr=Object.keys(d).length,this.despachoprstore.count=this.count_de_pr;break;case"PR":d=l.filter(e=>"Concluir Despacho"==e.activityInstanceName).filter(e=>"Active"==e.workflowInstanceDataFields.Status),this.count_de_pr=Object.keys(d).length,this.despachoprstore.count=this.count_de_pr}let p=l.filter(e=>"Revisar Diploma"==e.activityInstanceName);this.count_dip_pv=Object.keys(p).length;let g=l.filter(e=>"Assinar Diploma"==e.activityInstanceName);this.count_dip_as=Object.keys(g).length;let h=l.filter(e=>"Diploma Assinado"==e.activityInstanceName);this.count_dip_as_pr=Object.keys(h).length,this.processesbackend.GetToApprovedEvents("Agenda","true").subscribe(e=>{this.count_ev_apr=e}),this.showLoader=!1,this.count_exp_pp="-",this.count_exp_pd="-",this.count_dip_apr="-"})}doRefresh(e){console.log(e),this.LoadCounts(),e?setTimeout(()=>{e.target.complete()},2e3):console.log("null")}selectedElementF(e){return window.innerWidth>=801&&e==this.selectedElement}openAllProcessesPage(){this.closeAllDesktopComponents(),window.innerWidth<=801?this.router.navigate(["/home/gabinete-digital"]):(this.router.navigate(["/home/gabinete-digital"],{queryParams:{processes:!0}}),this.showAllProcesses=!0,this.selectedElement="allProcessesTag")}openEventsToApprovePage(){this.closeAllDesktopComponents(),window.innerWidth<=801?this.router.navigate(["/home/gabinete-digital/event-list"]):(this.router.navigate(["/home/gabinete-digital"],{queryParams:{eventos:!0}}),this.showEventsToApprove=!0)}openExpedientListPage(){switch(this.closeAllDesktopComponents(),this.loggeduser.Profile){case"MDGPR":window.innerWidth<=801?this.router.navigate(["/home/gabinete-digital/expediente"]):(this.selectedElement="Correspondence",this.router.navigate(["/home/gabinete-digital"],{queryParams:{expedientes:!0}}),this.showExpedients=!0);break;case"PR":window.innerWidth<=801?this.router.navigate(["/home/gabinete-digital/expedientes-pr"]):(this.selectedElement="ExpedientesPr",this.router.navigate(["/home/gabinete-digital"],{queryParams:{expedientes:!0}}),this.showExpedientesPr=!0)}}openPedidosPage(e){let t;this.closeAllDesktopComponents(),"deferimento"==e?(t={queryParams:{deferimento:!0}},this.segment="deferimento"):"parecer"==e&&(t={queryParams:{parecer:!0}},this.segment="parecer"),window.innerWidth<=801?this.router.navigate(["/home/gabinete-digital/pedidos"],t):(this.router.navigate(["/home/gabinete-digital"],t),this.showPedidos=!0,this.selectedElement="RequestForApproval","deferimento"==e?this.selectedElement="RequestForApproval":"parecer"==e&&(this.selectedElement="RequestsForOpinion"))}openDespachosPage(e){this.closeAllDesktopComponents(),window.innerWidth<=801?this.router.navigate(["/home/gabinete-digital/despachos"]):(this.router.navigate(["/home/gabinete-digital"],{queryParams:{despachos:!0}}),this.showDespachos=!0)}openDespachosPrPage(e){this.closeAllDesktopComponents(),window.innerWidth<=801?this.router.navigate(["/home/gabinete-digital/despachos-pr"]):(this.router.navigate(["/home/gabinete-digital"],{queryParams:{despachospr:!0}}),this.showDespachosPr=!0)}openPendentesPage(e){this.closeAllDesktopComponents(),window.innerWidth<=801?this.router.navigate(["/home/gabinete-digital/pendentes"]):(this.router.navigate(["/home/gabinete-digital"],{queryParams:{pendentes:!0}}),this.showPendentes=!0)}openExpedientesPrPage(e){this.closeAllDesktopComponents(),window.innerWidth<=801?this.router.navigate(["/home/gabinete-digital/expedientes-pr"]):(this.selectedElement="ExpedientesPr",this.router.navigate(["/home/gabinete-digital"],{queryParams:{expedientespr:!0}}),this.showExpedientesPr=!0)}openDiplomasPage(e){window.innerWidth<=801?this.router.navigate(["/home/gabinete-digital/diplomas"]):(this.closeAllDesktopComponents(),this.segment=e,this.router.navigate(["/home/gabinete-digital"],{queryParams:{diplomas:!0}}),this.showDiplomas=!0)}openDiplomasAssinarPage(){this.closeAllDesktopComponents(),window.innerWidth<=801?this.router.navigate(["/home/gabinete-digital/diplomas-assinar"]):(this.router.navigate(["/home/gabinete-digital"],{queryParams:{diplomasassinar:!0}}),this.showDiplomasAssinar=!0)}}return e.\u0275fac=function(t){return new(t||e)(x.Y36(w.$),x.Y36(s.IN),x.Y36(C.c),x.Y36(a.gz),x.Y36(a.F0),x.Y36(M.e),x.Y36(O.$),x.Y36(v))},e.\u0275cmp=x.Xpm({type:e,selectors:[["app-gabinete-digital"]],viewQuery:function(e,t){if(1&e&&(x.Gf(c.o,5),x.Gf(d.G,5),x.Gf(l.E,5)),2&e){let e;x.iGM(e=x.CRH())&&(t.expedientesPage=e.first),x.iGM(e=x.CRH())&&(t.pendentesListPage=e.first),x.iGM(e=x.CRH())&&(t.eventsToApprove=e.first)}},decls:30,vars:44,consts:[[1,"ion-no-border"],[1,"height-100"],["slot","fixed",3,"ionRefresh"],[1,"main-content","d-flex","height-100"],[1,"aside-wrapper","d-flex","flex-column","width-md-40","flex-grow-1"],["type","indeterminate",4,"ngIf"],[1,"title-container"],[1,"title"],["class","btn-no-color btn-refresh",3,"click",4,"ngIf"],["class","title-icons",4,"ngIf"],[1,"overflow-y-auto",3,"ngSwitch"],[4,"ngSwitchCase"],["class","aside overflow-y-auto d-flex flex-wrap width-100 height-100",4,"ngSwitchCase"],[1,"aside-content","d-none","flex-column","height-100"],[1,"height-100","flex-column",3,"texto"],[1,"height-100","flex-column",3,"profile"],[1,"height-100","flex-column",3,"profile","segment","serialNumber"],[1,"height-100","flex-column",3,"profile","segment","openExpedientDetail"],[1,"height-100","flex-column"],["type","indeterminate"],[1,"btn-no-color","btn-refresh",3,"click"],["name","reload-circle",1,"title-icon"],[1,"title-icons"],[3,"ngModel","ngModelChange","ionChange"],["value","listview",1,"ion-segment-button-no-border"],["icon","align-justify"],["value","boxview",1,"ion-segment-button-no-border"],["icon","th-large"],[1,"listview"],[4,"ngIf"],["class","item-wrapper ion-no-padding cursor-pointer",3,"click",4,"ngFor","ngForOf"],[1,"item-wrapper","ion-no-padding","cursor-pointer",3,"click"],[1,"item","width-100"],[1,"item-top-detail"],[1,"item-subject"],["class","item-icon",4,"ngIf"],[1,"item-middle-detail"],[1,"item-remetente"],["class","item-middle-detail",4,"ngIf"],["class","item-middle-detail-extra",4,"ngIf"],[1,"item-bottom-detail","d-flex","align-items-center"],[1,"item-workflow"],[1,"label"],[1,"item-date"],[1,"item-icon"],["src","assets/images/icons-expediente-attachment.svg"],[1,"item-middle-detail-extra"],[1,"item-middle-detail-extra-text"],[1,"aside","overflow-y-auto","d-flex","flex-wrap","width-100","height-100"],["class","exp-card d-flex flex-column",3,"active","click",4,"ngIf"],["class","exp-card d-flex flex-column justify-center",3,"active","click",4,"ngIf"],["class","exp-card d-md-flex flex-column justify-center white-background",3,"active","click",4,"ngIf"],[1,"exp-card","d-flex","flex-column","justify-center",3,"click"],[1,"d-flex","justify-center"],["src","assets/images/icons-expediente-pendente.svg"],["class","text-center exp-card-title ",4,"ngIf"],[1,"text-center","exp-card-content"],[1,"number"],[1,"title1"],["class","exp-card d-md-flex flex-column justify-center",3,"active","click",4,"ngIf"],["src","assets/images/icons-expediente-parecer.svg"],["src","assets/images/icons-expediente-deferimento.svg"],[1,"text-center","exp-card-title"],["class","exp-card-long width-100",3,"active","click",4,"ngIf"],[1,"exp-card","d-flex","flex-column",3,"click"],["icon","align-justify",1,"icon-selected"],["src","assets/images/icons-agenda.svg"],["src","assets/images/icons-correspondencia.svg"],[1,"exp-card","d-md-flex","flex-column","justify-center","white-background",3,"click"],["src","assets/images/icons-expediente-presidente.svg"],["class","exp-card-title ",4,"ngIf"],[1,"exp-card-title"],[1,"exp-card","d-md-flex","flex-column","justify-center",3,"click"],["src","assets/images/icons-despachos-presidente.svg"],[1,"exp-card-long","width-100",3,"click"],[1,"center-div"],[1,"exp-card-icon"],[1,"exp-card-text"],["src","assets/images/icons-expediente-diploma.svg"],["src","assets/images/icons-diplomas-assinados-presidente.svg"]],template:function(e,t){1&e&&(x.TgZ(0,"ion-header",0),x._UZ(1,"app-header"),x.qZA(),x.TgZ(2,"ion-content",1),x.TgZ(3,"ion-refresher",2),x.NdJ("ionRefresh",function(e){return t.doRefresh(e)}),x._UZ(4,"ion-refresher-content"),x.qZA(),x.TgZ(5,"div",3),x.TgZ(6,"div",4),x.YNc(7,I,1,0,"ion-progress-bar",5),x.TgZ(8,"div",6),x.TgZ(9,"div",7),x.TgZ(10,"ion-label"),x._uU(11,"Gabinete Digital"),x.qZA(),x.qZA(),x.YNc(12,R,2,0,"button",8),x.YNc(13,N,6,1,"div",9),x.qZA(),x.TgZ(14,"div",10),x.YNc(15,z,4,1,"div",11),x.YNc(16,me,39,23,"div",12),x.qZA(),x.qZA(),x.TgZ(17,"div",13),x._UZ(18,"app-empty-container",14),x._UZ(19,"app-all-processes",15),x._UZ(20,"app-events-to-approve",15),x._UZ(21,"app-expedients",15),x._UZ(22,"app-pedidos",16),x._UZ(23,"app-despachos",15),x._UZ(24,"app-despachos-pr",15),x._UZ(25,"app-pendentes",15),x.TgZ(26,"app-diplomas",17),x.NdJ("openExpedientDetail",function(e){return t.openExpedientesPrPage(e)}),x.qZA(),x._UZ(27,"app-diplomas-assinar",18),x._UZ(28,"app-expedientes-pr",15),x._UZ(29,"app-signed-diploma",15),x.qZA(),x.qZA(),x.qZA()),2&e&&(x.xp6(7),x.Q6J("ngIf",t.showLoader),x.xp6(5),x.Q6J("ngIf",t.hideRefreshBtn),x.xp6(1),x.Q6J("ngIf",!t.hideRefreshBtn),x.xp6(1),x.Q6J("ngSwitch",t.segmentVista),x.xp6(1),x.Q6J("ngSwitchCase","listview"),x.xp6(1),x.Q6J("ngSwitchCase","boxview"),x.xp6(2),x.Udp("display",t.showEmptyContainer?"flex":"none"),x.Q6J("texto",t.emptyTextDescription),x.xp6(1),x.Udp("display",t.showAllProcesses?"flex":"none"),x.Q6J("profile",t.profile),x.xp6(1),x.Udp("display",t.showEventsToApprove?"flex":"none"),x.Q6J("profile","MDGPR"),x.xp6(1),x.Udp("display",t.showExpedients?"flex":"none"),x.Q6J("profile",t.profile),x.xp6(1),x.Udp("display",t.showPedidos?"flex":"none"),x.Q6J("profile",t.profile)("segment",t.segment)("serialNumber",t.serialNumber),x.xp6(1),x.Udp("display",t.showDespachos?"flex":"none"),x.Q6J("profile",t.profile),x.xp6(1),x.Udp("display",t.showDespachosPr?"flex":"none"),x.Q6J("profile",t.profile),x.xp6(1),x.Udp("display",t.showPendentes?"flex":"none"),x.Q6J("profile",t.profile),x.xp6(1),x.Udp("display",t.showDiplomas?"flex":"none"),x.Q6J("profile",t.profile)("segment",t.segment),x.xp6(1),x.Udp("display",t.showDiplomasAssinar?"flex":"none"),x.xp6(1),x.Udp("display",t.showExpedientesPr?"flex":"none"),x.Q6J("profile",t.profile),x.xp6(1),x.Udp("display",t.showSignedDiploma?"flex":"none"),x.Q6J("profile",t.profile))},directives:[s.Gu,Z.E,s.W2,s.nJ,s.Wo,i.O5,s.Q$,i.RF,i.n9,b.M,A.o,l.E,c.o,D.U,k.I,T.a,d.G,q.D,y.p,E.H,s.X7,s.gu,s.cJ,s.QI,o.JJ,o.On,s.GO,U.BN,s.td,s.q_,i.sg],pipes:[i.uU],styles:["ion-content[_ngcontent-%COMP%]{--background:#ecf8ff}ion-segment[_ngcontent-%COMP%]{overflow:auto}ion-segment-button[_ngcontent-%COMP%]{margin:0 auto!important;padding:0!important;--padding-bottom:0px;--padding-top:5px;--margin-bottom:5px;--margin-top:0px;min-height:25px;min-width:25px}[_nghost-%COMP%] ion-card-title[_ngcontent-%COMP%]{text-align:center}[_nghost-%COMP%] .title-container[_ngcontent-%COMP%]{background:#ecf8ff;padding:30px 20px 15px!important;border-top-left-radius:25px;border-top-right-radius:25px}[_nghost-%COMP%] .title-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;font-size:25px!important;float:left}[_nghost-%COMP%] .title-container[_ngcontent-%COMP%] .btn-no-color[_ngcontent-%COMP%]{display:flex;float:right}[_nghost-%COMP%] .title-container[_ngcontent-%COMP%] .title-icon[_ngcontent-%COMP%]{float:right;margin-right:20px;font-size:30px;color:#42b9fe}[_nghost-%COMP%] .title-container[_ngcontent-%COMP%] .title-icons[_ngcontent-%COMP%]{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;float:right!important;align-self:baseline}[_nghost-%COMP%] .title-container[_ngcontent-%COMP%] .title-icons[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{font-size:25px!important}[_nghost-%COMP%] ion-card[_ngcontent-%COMP%]{background-color:#d4d5ca;border-radius:20px}[_nghost-%COMP%] ion-item[_ngcontent-%COMP%]{--ion-background-color:#dae3f3;margin-bottom:10px;border-radius:5px}[_nghost-%COMP%] ion-button[_ngcontent-%COMP%]{color:#000;--background:none;--border-color:none;--box-shadow:none}[_nghost-%COMP%] ion-label[_ngcontent-%COMP%]{padding:10px}.ion-item-change-color[_ngcontent-%COMP%]{--ion-background-color:#fff2cc!important;margin-bottom:10px;border-radius:5px}.div-top-header[_ngcontent-%COMP%]{width:400px;margin:0 auto;background-color:#0782c9;overflow:auto;padding-top:15px;border:0!important}.div-top-header[_ngcontent-%COMP%] .div-search[_ngcontent-%COMP%]{font-size:45px;float:left;margin:0 0 0 10px}.div-top-header[_ngcontent-%COMP%] .div-logo[_ngcontent-%COMP%]{background:transparent;width:140px;margin:5px 0 0 71px;float:left}.div-top-header[_ngcontent-%COMP%] .div-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%}.div-top-header[_ngcontent-%COMP%] .div-profile[_ngcontent-%COMP%]{font-size:45px;float:right;margin-right:10px}.main-content[_ngcontent-%COMP%]{width:100%;height:100%;font-family:Roboto;margin:0 auto;background:#ecf8ff;padding:0!important}.main-content[_ngcontent-%COMP%], .main-content[_ngcontent-%COMP%] .aside-wrapper[_ngcontent-%COMP%]{overflow:hidden}.main-content[_ngcontent-%COMP%] .aside-wrapper[_ngcontent-%COMP%] .listview[_ngcontent-%COMP%]{width:100% t;height:auto!important;padding:0 20px 15px!important;overflow:auto}.main-content[_ngcontent-%COMP%] .aside[_ngcontent-%COMP%]{align-items:center;justify-content:center}.main-content[_ngcontent-%COMP%] .aside[_ngcontent-%COMP%] .exp-card[_ngcontent-%COMP%]{width:173px;height:200px;margin:7px;padding:30px 5px;float:left}.main-content[_ngcontent-%COMP%] .aside[_ngcontent-%COMP%] .exp-card[_ngcontent-%COMP%], .main-content[_ngcontent-%COMP%] .aside[_ngcontent-%COMP%] .exp-card-long[_ngcontent-%COMP%]{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:15px;box-shadow:0 0 10px 0 rgba(0,0,0,.07);background:#fff}.main-content[_ngcontent-%COMP%] .aside[_ngcontent-%COMP%] .exp-card-long[_ngcontent-%COMP%]{width:360px;margin:7px 20px;padding:7px;border:blue!important}.main-content[_ngcontent-%COMP%] .aside[_ngcontent-%COMP%] .exp-card-long[_ngcontent-%COMP%] .center-div[_ngcontent-%COMP%]{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;margin:0 auto;overflow:auto}.main-content[_ngcontent-%COMP%] .aside[_ngcontent-%COMP%] .exp-card-long[_ngcontent-%COMP%] .center-div[_ngcontent-%COMP%] .exp-card-title[_ngcontent-%COMP%]{margin:0!important}.main-content[_ngcontent-%COMP%] .aside[_ngcontent-%COMP%] .exp-card-long[_ngcontent-%COMP%] .exp-card-icon[_ngcontent-%COMP%]{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;font-size:48px;float:left!important}.main-content[_ngcontent-%COMP%] .aside[_ngcontent-%COMP%] .exp-card-long[_ngcontent-%COMP%] .exp-card-text[_ngcontent-%COMP%]{padding:0!important;margin:0!important;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;float:left!important}.main-content[_ngcontent-%COMP%] .aside[_ngcontent-%COMP%] .exp-card-icon[_ngcontent-%COMP%]{margin:0 auto}.main-content[_ngcontent-%COMP%] .aside[_ngcontent-%COMP%] .exp-card[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{font-size:48px!important}.main-content[_ngcontent-%COMP%] .aside[_ngcontent-%COMP%] .exp-card[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{font-size:30px;padding:0 1px;margin:6px;color:#797979}.main-content[_ngcontent-%COMP%] .aside[_ngcontent-%COMP%] .exp-card-title[_ngcontent-%COMP%]{font-size:15px;font-family:Roboto;font-weight:700;font-stretch:normal;font-style:normal;color:#0d89d1;margin:15px 0 0 10px;text-align:center}.main-content[_ngcontent-%COMP%] .aside[_ngcontent-%COMP%] .exp-card-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-align:center}.main-content[_ngcontent-%COMP%] .aside[_ngcontent-%COMP%] .exp-card-content[_ngcontent-%COMP%]{font-size:13px;color:#797979;margin:11px 0 0;font-family:Roboto;font-weight:700;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:center}.title-content[_ngcontent-%COMP%]{height:auto;margin:0 auto;overflow:hidden;padding:0!important;background:transparent}.div-title[_ngcontent-%COMP%]{padding:0!important;float:left}.title[_ngcontent-%COMP%]{font-size:25px}.div-icon[_ngcontent-%COMP%]{float:right;font-size:35px;overflow:auto}ion-list[_ngcontent-%COMP%]{background:transparent}.item-wrapper[_ngcontent-%COMP%]{border-radius:15px;box-shadow:0 0 10px 0 rgba(0,0,0,.07);border:1px solid #e9e9e9!important;background-color:#fff!important;margin-bottom:10px!important;padding:15px}.item-wrapper[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{background-color:var(--white);margin:0 auto;overflow:hidden}.item-wrapper[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .item-top-detail[_ngcontent-%COMP%]{width:100%;float:left;font-family:Roboto;font-size:12pt;font-weight:700;color:#0d89d1;padding-left:3px}.item-wrapper[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .item-top-detail[_ngcontent-%COMP%] .item-subject[_ngcontent-%COMP%]{width:84%;float:left}.item-wrapper[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .item-top-detail[_ngcontent-%COMP%] .item-subject[_ngcontent-%COMP%] ion-label[_ngcontent-%COMP%]{margin:0!important;padding:2.5px 10.5px}.item-wrapper[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .item-top-detail[_ngcontent-%COMP%] .item-icon[_ngcontent-%COMP%]{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;float:right;margin:0!important;padding:0!important}.item-wrapper[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .item-top-detail[_ngcontent-%COMP%] .item-icon[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{font-size:12pt;color:#42b9fe;float:left}.item-wrapper[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .item-top-detail[_ngcontent-%COMP%] .item-icon[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:10pt}.item-wrapper[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .item-middle-detail[_ngcontent-%COMP%]{font-size:10pt;width:100%;overflow:auto;padding-left:3px;margin:0!important}.item-wrapper[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .item-middle-detail[_ngcontent-%COMP%] .item-remetente[_ngcontent-%COMP%]{font-family:Roboto;font-weight:400;color:#000;float:left}.item-wrapper[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .item-middle-detail[_ngcontent-%COMP%] .item-remetente[_ngcontent-%COMP%] ion-label[_ngcontent-%COMP%]{padding:2.5px 10.5px;margin:0!important}.item-wrapper[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .item-middle-detail-extra[_ngcontent-%COMP%]{font-size:10pt;padding-left:3px}.item-wrapper[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .item-middle-detail-extra[_ngcontent-%COMP%] .item-middle-detail-extra-text[_ngcontent-%COMP%] ion-label[_ngcontent-%COMP%]{padding:2.5px 10.5px;margin:0!important}.item-wrapper[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .item-bottom-detail[_ngcontent-%COMP%]{font-size:12pt;width:100%;overflow:auto;margin-top:10px;padding-bottom:0!important}.item-wrapper[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .item-bottom-detail[_ngcontent-%COMP%] .item-workflow[_ngcontent-%COMP%]{float:left;margin:0!important;align-self:flex-start}.item-wrapper[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .item-bottom-detail[_ngcontent-%COMP%] .item-workflow[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{border-radius:15px;background:#ffb703;float:right;padding:2.5px 13.5px;color:#fff}.item-wrapper[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .item-bottom-detail[_ngcontent-%COMP%] .item-date[_ngcontent-%COMP%]{width:auto;font-family:Roboto;font-size:10pt;font-weight:400;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;color:#797979;text-align:right;flex-grow:1}.item-wrapper[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .item-bottom-detail[_ngcontent-%COMP%] .item-date[_ngcontent-%COMP%] ion-label[_ngcontent-%COMP%]{margin:0!important;padding:0!important}.item-wrapper[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .item-bottom-detail[_ngcontent-%COMP%], .item-wrapper[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .item-middle-detail[_ngcontent-%COMP%]{margin-bottom:5px}@media only screen and (min-width: 561px){.exp-card-long[_ngcontent-%COMP%]{width:547px!important}}@media only screen and (min-width: 701px){ion-content[_ngcontent-%COMP%]{--background:transparent}.title[_ngcontent-%COMP%]{font-size:15px!important}.main-content[_ngcontent-%COMP%]{border-top-left-radius:25px;border-top-right-radius:25px;overflow:hidden}.main-content[_ngcontent-%COMP%] .aside-wrapper[_ngcontent-%COMP%]{display:flex;width:35%;justify-content:flex-start!important;border-right:1px solid #d8d8d8;overflow:hidden}.main-content[_ngcontent-%COMP%] .aside-wrapper[_ngcontent-%COMP%] .aside[_ngcontent-%COMP%]{background:transparent}.main-content[_ngcontent-%COMP%] .aside-wrapper[_ngcontent-%COMP%] .aside[_ngcontent-%COMP%] .d-none[_ngcontent-%COMP%]{display:block}.main-content[_ngcontent-%COMP%] .aside-wrapper[_ngcontent-%COMP%] .aside-title[_ngcontent-%COMP%]{font-family:Roboto;font-size:16px!important;text-align:left}.main-content[_ngcontent-%COMP%] .aside-wrapper[_ngcontent-%COMP%] .exp-card[_ngcontent-%COMP%]{width:90%!important;justify-content:flex-start!important;padding:10px!important}.main-content[_ngcontent-%COMP%] .aside-wrapper[_ngcontent-%COMP%] .exp-card[_ngcontent-%COMP%] .exp-card-title[_ngcontent-%COMP%]{text-align:left!important}.main-content[_ngcontent-%COMP%] .aside-wrapper[_ngcontent-%COMP%] .exp-card-long[_ngcontent-%COMP%]{width:100%!important;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;box-shadow:0 0 10px 0 rgba(0,0,0,.07);background:#fff}.main-content[_ngcontent-%COMP%] .aside-wrapper[_ngcontent-%COMP%] .exp-card-long[_ngcontent-%COMP%] .center-div[_ngcontent-%COMP%]{display:flex;justify-content:center;width:100%;margin:0!important}.main-content[_ngcontent-%COMP%] .aside-wrapper[_ngcontent-%COMP%] .exp-card-long[_ngcontent-%COMP%] .center-div[_ngcontent-%COMP%] .exp-card-text[_ngcontent-%COMP%]{width:calc(100% - 50px)}.main-content[_ngcontent-%COMP%] .aside-wrapper[_ngcontent-%COMP%] .exp-card-long[_ngcontent-%COMP%] .title1[_ngcontent-%COMP%]{display:none!important}.main-content[_ngcontent-%COMP%] .aside-wrapper[_ngcontent-%COMP%] .exp-card-long[_ngcontent-%COMP%] .exp-card-title[_ngcontent-%COMP%]{flex:1;float:left!important;text-align:left;padding-left:10px}.main-content[_ngcontent-%COMP%] .aside-wrapper[_ngcontent-%COMP%] .exp-card-long[_ngcontent-%COMP%] .exp-card-content[_ngcontent-%COMP%]{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;float:right}.main-content[_ngcontent-%COMP%] .aside-wrapper[_ngcontent-%COMP%] .exp-card-long[_ngcontent-%COMP%] .exp-card-text[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.main-content[_ngcontent-%COMP%] .aside-content[_ngcontent-%COMP%]{width:65%;display:flex!important;background-color:#fff}.exp-card[_ngcontent-%COMP%]{display:flex;align-items:center;margin:0 auto 15px;flex-direction:row!important;width:100%;padding:10px 17px;height:unset!important}.exp-card[_ngcontent-%COMP%] .exp-card-title[_ngcontent-%COMP%]{flex:1;text-align:left;margin-top:0!important}.exp-card[_ngcontent-%COMP%] .exp-card-content[_ngcontent-%COMP%]{margin:0!important}.exp-card[_ngcontent-%COMP%] .exp-card-content[_ngcontent-%COMP%] .title1[_ngcontent-%COMP%]{display:none;margin-top:0!important}.exp-card[_ngcontent-%COMP%] .exp-card-content[_ngcontent-%COMP%] .number[_ngcontent-%COMP%]{margin-top:0!important}}@media only screen and (min-width: 801px){.title[_ngcontent-%COMP%]{font-size:25px!important}.content[_ngcontent-%COMP%]{width:65%}.aside-right[_ngcontent-%COMP%]{width:35%}.aside-title[_ngcontent-%COMP%]{font-family:Roboto;font-size:25px;text-align:left}}@media only screen and (min-width: 1024px){.content[_ngcontent-%COMP%]{width:70%}.aside-right[_ngcontent-%COMP%]{width:30%}}@media only screen and (min-width: 1140px){.div-icon[_ngcontent-%COMP%]{display:none}.content[_ngcontent-%COMP%]{width:75%;border-right:1px solid #d8d8d8}.aside-right[_ngcontent-%COMP%]{width:25%}}.active[_ngcontent-%COMP%]{fill:#fff!important;background:#42b9fe!important;box-sizing:border-box}.active[_ngcontent-%COMP%], .active[_ngcontent-%COMP%] .exp-card-content[_ngcontent-%COMP%], .active[_ngcontent-%COMP%] .exp-card-title[_ngcontent-%COMP%], .active[_ngcontent-%COMP%] .icon-selected[_ngcontent-%COMP%]{color:#fff!important}.active[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]::part(native){color:#fff!important;fill:#fff!important}.active[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]::part(button):hover{color:#fff!important;fill:#fff!important}.active[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:#fff!important}.active[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]::part(button){color:#fff!important;fill:#fff!important}.active[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]::part(native){color:#fff!important;fill:#fff!important}.active[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{color:#fff!important;fill:red!important}"]}),e})()},{path:"expediente",loadChildren:()=>n.e(3437).then(n.bind(n,73437)).then(e=>e.ExpedientePageModule)},{path:"event-list",loadChildren:()=>Promise.all([n.e(2265),n.e(8195),n.e(3239)]).then(n.bind(n,13406)).then(e=>e.EventListPageModule)},{path:"discart-expedient-modal",loadChildren:()=>n.e(1174).then(n.bind(n,71174)).then(e=>e.DiscartExpedientModalPageModule)},{path:"despachos",loadChildren:()=>n.e(6065).then(n.bind(n,56109)).then(e=>e.DespachosPageModule)},{path:"pedidos",loadChildren:()=>n.e(3471).then(n.bind(n,73471)).then(e=>e.PedidosPageModule)},{path:"pendentes",loadChildren:()=>n.e(6204).then(n.bind(n,6204)).then(e=>e.PendentesPageModule)},{path:"despachos-pr",loadChildren:()=>Promise.all([n.e(5276),n.e(4917),n.e(497)]).then(n.bind(n,40497)).then(e=>e.DespachosPrPageModule)},{path:"diplomas",loadChildren:()=>n.e(2598).then(n.bind(n,92598)).then(e=>e.DiplomasPageModule)},{path:"expedientes-pr",loadChildren:()=>n.e(8142).then(n.bind(n,18142)).then(e=>e.ExpedientesPrPageModule)},{path:"diplomas-assinar",loadChildren:()=>n.e(8592).then(n.bind(n,54234)).then(e=>e.DiplomasAssinarPageModule)}];let ue=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=x.oAB({type:e}),e.\u0275inj=x.cJS({imports:[[a.Bz.forChild(fe)],a.Bz]}),e})();var Pe=n(66089),_e=n(28497),xe=n(65300),we=n(84780),Ce=n(88124),Me=n(40160),Oe=n(1515),ve=n(4290),Ze=n(93362),be=n(65088),Ae=n(6527),De=n(4502),ke=n(99655);let Te=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=x.oAB({type:e}),e.\u0275inj=x.cJS({imports:[[i.ez,o.u5,s.Pc,U.uH,ue,Ae.a,Pe.EmptyContainerPageModule,ke.AllProcessesPageModule,_e.EventsToApprovePageModule,xe.ExpedientsPageModule,we.PedidosPageModule,Ce.DespachosPageModule,Me.PendentesPageModule,Oe.DespachosPrPageModule,ve.DiplomasPageModule,Ze.ExpedientesPrPageModule,be.DiplomasAssinarPageModule,Pe.EmptyContainerPageModule,De.F]]}),e})()},6527:function(e,t,n){"use strict";n.d(t,{a:function(){return p}});var i=n(38583),o=n(3679),s=n(35957),a=n(39895),r=n(962),c=n(37716);const d=[{path:"",component:r.E}];let l=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c.oAB({type:e}),e.\u0275inj=c.cJS({imports:[[a.Bz.forChild(d)],a.Bz]}),e})(),p=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c.oAB({type:e}),e.\u0275inj=c.cJS({imports:[[i.ez,o.u5,s.Pc,l]]}),e})()}}]); |