mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
1 line
11 KiB
JavaScript
1 line
11 KiB
JavaScript
|
|
(self.webpackChunkgabinete_digital=self.webpackChunkgabinete_digital||[]).push([[9763,6527,5763,2417,3756,6055,5457,1087,4413,5183,5802,9391,1485,9074,4176,9406],{17690:function(e,t,n){"use strict";n.d(t,{g:function(){return i}});var o=n(37716);let i=(()=>{class e{transform(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();return{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}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=o.Yjl({name:"customTask",type:e,pure:!0}),e})()},6527:function(e,t,n){"use strict";n.d(t,{a:function(){return u}});var o=n(38583),i=n(3679),c=n(35957),a=n(39895),r=n(962),s=n(37716);const l=[{path:"",component:r.E}];let d=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s.oAB({type:e}),e.\u0275inj=s.cJS({imports:[[a.Bz.forChild(l)],a.Bz]}),e})(),u=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s.oAB({type:e}),e.\u0275inj=s.cJS({imports:[[o.ez,i.u5,c.Pc,d]]}),e})()},962:function(e,t,n){"use strict";n.d(t,{E:function(){return w}});var o=n(64762),i=n(4528),c=n(33559),a=n(37716),r=n(39895),s=n(35957),l=n(37556),d=n(38583),u=n(3679);function h(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"div",21),a.TgZ(1,"div",22),a.NdJ("click",function(){return a.CHM(e),a.oxw().openSearch()}),a._UZ(2,"ion-icon",23),a.qZA(),a.qZA()}}function g(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"div",28),a.NdJ("click",function(){a.CHM(e);const t=a.oxw(2);return t.openSearch(),t.showSearch=!0}),a._UZ(1,"ion-icon",23),a.qZA()}}function p(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"button",29),a.NdJ("click",function(){a.CHM(e);const t=a.oxw(2);return t.closeSearch(),t.showSearch=!1,t.searchSubject=""}),a._UZ(1,"ion-icon",30),a.qZA()}}function f(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"div",32),a.TgZ(1,"div",33),a.NdJ("click",function(){return a.CHM(e),a.oxw(3).basicSearch()}),a._UZ(2,"ion-icon",34),a.qZA(),a.TgZ(3,"div",35),a.TgZ(4,"ion-input",36),a.NdJ("keyup.enter",function(){return a.CHM(e),a.oxw(3).basicSearch()})("ngModelChange",function(t){return a.CHM(e),a.oxw(3).searchSubject=t})("ngModelChange",function(){return a.CHM(e),a.oxw(3).dynamicSearch()}),a.qZA(),a.qZA(),a.TgZ(5,"div",33),a.NdJ("click",function(){return a.CHM(e),a.oxw(3).clearSearchInput()}),a._UZ(6,"ion-icon",37),a.qZA(),a.qZA()}if(2&e){const e=a.oxw(3);a.xp6(4),a.Q6J("ngModel",e.searchSubject)}}function m(e,t){if(1&e&&(a.TgZ(0,"div"),a.YNc(1,f,7,1,"div",31),a.qZA()),2&e){const e=a.oxw(2);a.xp6(1),a.Q6J("ngIf",e.showSearch)}}function v(e,t){if(1&e&&(a.TgZ(0,"div",24),a.YNc(1,g,2,0,"div",25),a.YNc(2,p,2,0,"button",26),a.YNc(3,m,2,1,"div",27),a.qZA()),2&e){const e=a.oxw();a.xp6(1),a.Q6J("ngIf",!e.showSearch),a.xp6(1),a.Q6J("ngIf",e.showSearch),a.xp6(1),a.Q6J("ngIf",e.showSearch)}}let w=(()=>{class e{constructor(e,t,n,o){this.router=e,this.modalController=t,this.animationController=n,this.searchSubject="",this.showSearch=!1,this.hideSearchBtn=!1,this.loggeduser=o.ValidatedUser,e.events.subscribe(e=>{this.showSearch=!1})}ngOnInit(){this.hideSearch()}hideSearch(){"/home/events"!=this.router.url&&"/home/chat"!=this.router.url||(this.hideSearchBtn=!0)}locationPathname(){return window.location.pathname}openSearch(){return(0,o.mG)(this,void 0,void 0,function*(){let e,t,n;window.innerWidth<1366?(e="modal modal-width-100",t=!0):(e="modal modal-desktop desktop-search",t=!1),window.location.pathname.startsWith("/home/agenda")?n="Agenda":window.location.pathname.startsWith("/home/gabinete-digital")?n="AccoesPresidenciais & ArquivoDespachoElect":window.location.pathname.startsWith("/home
|