mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
1 line
16 KiB
JavaScript
1 line
16 KiB
JavaScript
|
|
!function(){function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}(self.webpackChunkgabinete_digital=self.webpackChunkgabinete_digital||[]).push([[497],{40497:function(n,o,i){"use strict";i.r(o),i.d(o,{DespachosPrPageModule:function(){return N}});var a=i(38583),r=i(3679),s=i(35957),c=i(39895),d=i(64762),l=i(87732),p=i(32379),g=i(83189),f=i(45896),u=i(84917),h=i(92173),m=i(37716),x=i(28621),v=i(25970),Z=i(37556),w=i(962),b=i(23890);function C(t,e){1&t&&(m.TgZ(0,"ion-label"),m._uU(1,"Despachos Presidenciais"),m.qZA())}function P(t,e){1&t&&(m.TgZ(0,"ion-label"),m._uU(1,"Despachos"),m.qZA())}function k(t,e){1&t&&(m.TgZ(0,"div",16),m.TgZ(1,"h3",17),m._uU(2,"Presidente da Rep\xfablica"),m.qZA(),m.qZA())}function _(t,e){1&t&&m._UZ(0,"ion-progress-bar",18)}function M(t,e){if(1&t&&(m.TgZ(0,"label"),m._uU(1),m.qZA()),2&t){var n=m.oxw().$implicit;m.xp6(1),m.Oqu(n.DocumentsQty)}}function O(t,e){if(1&t){var n=m.EpF();m.TgZ(0,"div",19),m.NdJ("click",function(){var t=m.CHM(n).$implicit;return m.oxw().goToDespachoPr(t.SerialNumber)}),m.TgZ(1,"div",20),m.TgZ(2,"div",21),m.TgZ(3,"div",22),m.TgZ(4,"ion-label"),m._uU(5),m.qZA(),m.qZA(),m.TgZ(6,"div",23),m._UZ(7,"ion-icon",24),m.YNc(8,M,2,1,"label",5),m.qZA(),m.qZA(),m.TgZ(9,"div",25),m.TgZ(10,"div",26),m.TgZ(11,"ion-label"),m._uU(12),m.qZA(),m.qZA(),m.qZA(),m.TgZ(13,"div",27),m.TgZ(14,"div",28),m.TgZ(15,"span",29),m._uU(16),m.qZA(),m.qZA(),m.TgZ(17,"div",30),m.TgZ(18,"ion-label"),m._uU(19),m.ALo(20,"date"),m.qZA(),m.qZA(),m.qZA(),m.qZA(),m.qZA()}if(2&t){var o=e.$implicit;m.xp6(5),m.Oqu(o.Folio),m.xp6(3),m.Q6J("ngIf",0!=o.DocumentsQty),m.xp6(4),m.Oqu(o.Senders),m.xp6(4),m.Oqu(o.activityInstanceName),m.xp6(3),m.Oqu(m.xi3(20,5,o.CreateDate,"dd-MM-yyyy HH:mm"))}}function A(t,e){1&t&&(m.TgZ(0,"div",31),m.TgZ(1,"span"),m._uU(2,"Lista vazia"),m.qZA(),m.qZA())}function D(t,e){1&t&&(m.TgZ(0,"div"),m.TgZ(1,"ion-list"),m.TgZ(2,"ion-item"),m.TgZ(3,"ion-thumbnail",32),m._UZ(4,"ion-skeleton-text",33),m.qZA(),m.TgZ(5,"ion-label"),m.TgZ(6,"h3"),m._UZ(7,"ion-skeleton-text",34),m.qZA(),m.TgZ(8,"p"),m._UZ(9,"ion-skeleton-text",35),m.qZA(),m.TgZ(10,"p"),m._UZ(11,"ion-skeleton-text",36),m.qZA(),m.qZA(),m.qZA(),m.TgZ(12,"ion-item"),m.TgZ(13,"ion-thumbnail",32),m._UZ(14,"ion-skeleton-text",33),m.qZA(),m.TgZ(15,"ion-label"),m.TgZ(16,"h3"),m._UZ(17,"ion-skeleton-text",34),m.qZA(),m.TgZ(18,"p"),m._UZ(19,"ion-skeleton-text",35),m.qZA(),m.TgZ(20,"p"),m._UZ(21,"ion-skeleton-text",36),m.qZA(),m.qZA(),m.qZA(),m.qZA(),m.qZA())}var T,q,y=[{path:"",component:(T=function(){function n(e,o,i,a,r){t(this,n),this.processes=e,this.modalController=o,this.alertService=i,this.authService=a,this.router=r,this.taskslist=[],this.despachoList=[],this.deferimentoList=[],this.taskList=[],this.dicIndex=0,this.inicial=!1,this.skeletonLoader=!0,this.despachoprstore=h.d,this.loggeduser=a.ValidatedUser,this.profile="mdgpr"}var o,i,a;return o=n,(i=[{key:"ngOnInit",value:function(){var t=this;this.segment="despachos";var e=window.location,n=e.pathname+e.search;this.LoadList(),this.router.events.forEach(function(e){e instanceof c.OD&&e.url.startsWith(n)&&(window.location.pathname.split("/").length>=4&&window.location.pathname.startsWith("/home/gabinete-digital")?t.doRefresh():t.LoadList())})}},{key:"segmentChanged",value:function(t){this.LoadList()}},{key:"goToDespachoPr",value:function(t){this.router.navigate(["/home/gabinete-digital/despachos-pr",t,"gabinete-digital"])}},{key:"notImplemented",value:function(){this.alertService.presentAlert("Funcionalidade em desenvolvimento")}},{key:"openExpedientDetailPage",value:function(t){console.log(t)}},{key:"LoadList",value:function(){return(0,d.mG)(this,void 0,void 0,regeneratorRuntime.mark(function t(){var e,n,o=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.skeletonLoader=!0,t.next=3,this.processes.GetTasksList("Despacho do Presidente da Rep\xfablica
|