(self.webpackChunkgabinete_digital=self.webpackChunkgabinete_digital||[]).push([[4747],{84747:function(t,n,e){"use strict";e.r(n),e.d(n,{TaskListPageModule:function(){return s}});var o=e(38583),i=e(3679),a=e(35957),l=e(39895),g=e(95526),c=e(37716);const p=[{path:"",component:g.V}];let d=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=c.oAB({type:t}),t.\u0275inj=c.cJS({imports:[[l.Bz.forChild(p)],l.Bz]}),t})(),s=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=c.oAB({type:t}),t.\u0275inj=c.cJS({imports:[[o.ez,i.u5,a.Pc,d]]}),t})()},95526:function(t,n,e){"use strict";e.d(n,{V:function(){return r}});var o=e(37716),i=e(35957),a=e(38583);function l(t,n){1&t&&o._UZ(0,"ion-progress-bar",4)}function g(t,n){if(1&t&&(o.TgZ(0,"label"),o._uU(1),o.qZA()),2&t){const t=o.oxw().$implicit;o.xp6(1),o.Oqu(t.DocumentsQty)}}function c(t,n){if(1&t){const t=o.EpF();o.TgZ(0,"div",7),o.NdJ("click",function(){const n=o.CHM(t).$implicit;return o.oxw(2).viewTaskDetail.emit(n)}),o.TgZ(1,"div",8),o.TgZ(2,"div",9),o.TgZ(3,"div",10),o.TgZ(4,"ion-label"),o._uU(5),o.qZA(),o.qZA(),o.TgZ(6,"div",11),o._UZ(7,"ion-icon",12),o.YNc(8,g,2,1,"label",2),o.qZA(),o.qZA(),o.TgZ(9,"div",13),o.TgZ(10,"div",14),o.TgZ(11,"ion-label"),o._uU(12),o.qZA(),o.qZA(),o.qZA(),o.TgZ(13,"div",15),o.TgZ(14,"div",16),o.TgZ(15,"span",17),o._uU(16),o.qZA(),o.qZA(),o.TgZ(17,"div",18),o.TgZ(18,"ion-label"),o._uU(19),o.ALo(20,"date"),o.qZA(),o.qZA(),o.qZA(),o.qZA(),o.qZA()}if(2&t){const t=n.$implicit;o.xp6(5),o.Oqu(t.Folio),o.xp6(3),o.Q6J("ngIf",0!=t.DocumentsQty),o.xp6(4),o.Oqu(t.Senders),o.xp6(4),o.Oqu(t.activityInstanceName),o.xp6(3),o.Oqu(o.xi3(20,5,t.CreateDate,"dd-MM-yyyy HH:mm"))}}function p(t,n){if(1&t&&(o.TgZ(0,"div"),o.TgZ(1,"ion-list",5),o.YNc(2,c,21,8,"div",6),o.qZA(),o.qZA()),2&t){const t=o.oxw();o.xp6(2),o.Q6J("ngForOf",t.taskList)}}function d(t,n){1&t&&(o.TgZ(0,"div",19),o.TgZ(1,"span"),o._uU(2,"Lista vazia"),o.qZA(),o.qZA())}function s(t,n){1&t&&(o.TgZ(0,"div"),o.TgZ(1,"ion-list"),o.TgZ(2,"ion-item"),o.TgZ(3,"ion-thumbnail",20),o._UZ(4,"ion-skeleton-text",21),o.qZA(),o.TgZ(5,"ion-label"),o.TgZ(6,"h3"),o._UZ(7,"ion-skeleton-text",22),o.qZA(),o.TgZ(8,"p"),o._UZ(9,"ion-skeleton-text",23),o.qZA(),o.TgZ(10,"p"),o._UZ(11,"ion-skeleton-text",24),o.qZA(),o.qZA(),o.qZA(),o.TgZ(12,"ion-item"),o.TgZ(13,"ion-thumbnail",20),o._UZ(14,"ion-skeleton-text",21),o.qZA(),o.TgZ(15,"ion-label"),o.TgZ(16,"h3"),o._UZ(17,"ion-skeleton-text",22),o.qZA(),o.TgZ(18,"p"),o._UZ(19,"ion-skeleton-text",23),o.qZA(),o.TgZ(20,"p"),o._UZ(21,"ion-skeleton-text",24),o.qZA(),o.qZA(),o.qZA(),o.qZA(),o.qZA())}let r=(()=>{class t{constructor(){this.taskList=[],this.skeletonLoader=!1,this.viewTaskDetail=new o.vpe,console.log("taskList",this.taskList)}ngOnInit(){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["app-task-list"]],inputs:{taskList:"taskList",skeletonLoader:"skeletonLoader"},outputs:{viewTaskDetail:"viewTaskDetail"},decls:6,vars:4,consts:[[1,"overflow-y-auto","height-100","width-100","px-20"],["type","indeterminate",4,"ngIf"],[4,"ngIf"],["class","empty-list d-flex height-100 align-center justify-content-center",4,"ngIf"],["type","indeterminate"],["part","divo"],["class","expediente ion-no-padding ion-no-margin cursor-pointer",3,"click",4,"ngFor","ngForOf"],[1,"expediente","ion-no-padding","ion-no-margin","cursor-pointer",3,"click"],[1,"item","width-100"],[1,"exp-top-detail"],[1,"subject"],[1,"exp-icon"],["src","assets/images/icons-expediente-attachment.svg"],[1,"exp-bottom-detail"],[1,"exp-remetente"],[1,"exp-middle-detail"],[1,"exp-workflow"],[1,"label"],[1,"exp-date"],[1,"empty-list","d-flex","height-100","align-center","justify-content-center"],["slot","end"],["animated",""],["animated","",2,"width","50%"],["animated","",2,"width","80%"],["animated","",2,"width","60%"]],template:function(t,n){1&t&&(o.TgZ(0,"ion-content"),o.TgZ(1,"div",0),o.YNc(2,l,1,0,"ion-progress-bar",1),o.YNc(3,p,3,1,"div",2),o.YNc(4,d,3,0,"div",3),o.YNc(5,s,22,0,"div",2),o.qZA(),o.qZA()),2&t&&(o.xp6(2),o.Q6J("ngIf",n.skeletonLoader),o.xp6(1),o.Q6J("ngIf",n.taskList.length>=0),o.xp6(1),o.Q6J("ngIf",!n.skeletonLoader&&0==n.taskList.length),o.xp6(1),o.Q6J("ngIf",n.skeletonLoader&&0==n.taskList.length))},directives:[i.W2,a.O5,i.X7,i.q_,a.sg,i.Q$,i.gu,i.Ie,i.Bs,i.CK],pipes:[a.uU],styles:[".expediente[_ngcontent-%COMP%]{border-radius:15px;box-shadow:0 0 10px 0 rgba(0,0,0,.07);border:1px solid #e9e9e9!important;background-color:var(--white);margin-bottom:10px!important;padding:15px}.exp-list-item[_ngcontent-%COMP%]{overflow:auto;margin:10px auto}.exp-top-detail[_ngcontent-%COMP%]{width:100%;float:left;font-family:Roboto;font-size:12pt;font-weight:700;color:#0d89d1;padding-left:3px}.exp-top-detail[_ngcontent-%COMP%] .subject[_ngcontent-%COMP%]{width:84%;float:left}.exp-top-detail[_ngcontent-%COMP%] .exp-icon[_ngcontent-%COMP%]{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;float:right;margin:0!important;padding:0!important}.exp-top-detail[_ngcontent-%COMP%] .exp-icon[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{font-size:12pt;color:#42b9fe;float:left}.exp-top-detail[_ngcontent-%COMP%] .exp-icon[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:10pt}.exp-bottom-detail[_ngcontent-%COMP%], .exp-middle-detail[_ngcontent-%COMP%]{margin-bottom:5px}.exp-middle-detail[_ngcontent-%COMP%]{font-size:12pt;width:100%;overflow:auto}.exp-middle-detail[_ngcontent-%COMP%] .exp-workflow[_ngcontent-%COMP%]{float:left;margin:0!important}.exp-middle-detail[_ngcontent-%COMP%] .exp-workflow[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{border-radius:15px;background:#ffb703;float:right;padding:2.5px 13.5px;color:#fff}.exp-middle-detail[_ngcontent-%COMP%] .exp-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;float:right}.exp-bottom-detail[_ngcontent-%COMP%]{font-size:8pt;width:100%;overflow:auto;padding-left:3px}.exp-bottom-detail[_ngcontent-%COMP%] .exp-remetente[_ngcontent-%COMP%]{font-family:Roboto;font-weight:400;color:#000;float:left}.div-top-header[_ngcontent-%COMP%]{width:400px;margin:6px auto;background-color:#0782c9;overflow:auto}.div-search[_ngcontent-%COMP%]{font-size:45px;float:left;margin:0 0 0 10px}.div-logo[_ngcontent-%COMP%]{background:transparent;width:150px;margin:2.5px 0 2.5px 71px;float:left}.div-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%}.div-profile[_ngcontent-%COMP%]{font-size:45px;float:right;margin-right:10px}"]}),t})()}}]);