Files
doneit-web/_platforms/browser/www/6705-es2015.9a18416e44a90b479b1f.js
T

1 line
9.4 KiB
JavaScript
Raw Normal View History

2021-08-18 18:58:02 +01:00
(self.webpackChunkgabinete_digital=self.webpackChunkgabinete_digital||[]).push([[6705],{26705:function(t,n,o){"use strict";o.r(n),o.d(n,{TaskDetailsPageModule:function(){return d}});var e=o(38583),i=o(3679),c=o(35957),a=o(39895),g=o(97998),r=o(37716);const s=[{path:"",component:g.I}];let p=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[a.Bz.forChild(s)],a.Bz]}),t})(),d=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[e.ez,i.u5,c.Pc,p]]}),t})()},97998:function(t,n,o){"use strict";o.d(n,{I:function(){return x}});var e=o(37716);class i{}class c extends class{}{}var a=o(38583),g=o(35957);function r(t,n){if(1&t){const t=e.EpF();e.TgZ(0,"ion-header",2),e.TgZ(1,"div",3),e.TgZ(2,"div",4),e.TgZ(3,"div",5),e.NdJ("click",function(){return e.CHM(t),e.oxw().goBack.emit()}),e._UZ(4,"ion-icon",6),e.qZA(),e.TgZ(5,"div",7),e.TgZ(6,"ion-label",8),e._uU(7),e.qZA(),e.qZA(),e.TgZ(8,"div",9),e.NdJ("click",function(){return e.CHM(t),e.oxw().openOptions.emit()}),e._UZ(9,"ion-icon",10),e.qZA(),e.qZA(),e.qZA(),e.TgZ(10,"div",11),e.TgZ(11,"div",12),e.TgZ(12,"ion-label"),e.TgZ(13,"p"),e.TgZ(14,"span",13),e._uU(15),e.qZA(),e.TgZ(16,"span",14),e._uU(17),e.qZA(),e.qZA(),e.TgZ(18,"p"),e.TgZ(19,"span",15),e._uU(20),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e._UZ(21,"div",16),e.qZA()}if(2&t){const t=e.oxw();e.xp6(7),e.Oqu(t.task.Folio),e.xp6(8),e.Oqu(t.customDate),e.xp6(2),e.Oqu(t.task.activityInstanceName),e.xp6(3),e.Oqu(t.fulltask.workflowInstanceDataFields.DeadlineType)}}function s(t,n){1&t&&(e.TgZ(0,"h5"),e._uU(1,"Intervenientes"),e.qZA())}function p(t,n){if(1&t&&(e.TgZ(0,"div"),e.TgZ(1,"p"),e._uU(2),e.qZA(),e.qZA()),2&t){const t=n.$implicit;e.xp6(2),e.Oqu(t.Name)}}function d(t,n){if(1&t&&(e.TgZ(0,"div"),e.TgZ(1,"p"),e._uU(2),e.qZA(),e.qZA()),2&t){const t=n.$implicit;e.xp6(2),e.Oqu(t.Name)}}function l(t,n){if(1&t&&(e.TgZ(0,"div"),e.TgZ(1,"h5"),e._uU(2,"Com conhecimento"),e.qZA(),e.TgZ(3,"ion-item",20),e.TgZ(4,"ion-label"),e.YNc(5,d,3,1,"div",21),e.qZA(),e.qZA(),e.qZA()),2&t){const t=e.oxw(2);e.xp6(5),e.Q6J("ngForOf",t.cc)}}function f(t,n){if(1&t&&(e.TgZ(0,"div"),e.TgZ(1,"h5"),e._uU(2,"Detalhes"),e.qZA(),e.TgZ(3,"ion-item",20),e._UZ(4,"p",24),e.qZA(),e.qZA()),2&t){const t=e.oxw(2);e.xp6(4),e.Q6J("innerHTML",t.fulltask.workflowInstanceDataFields.TaskMessage,e.oJD)}}function u(t,n){if(1&t){const t=e.EpF();e.TgZ(0,"ion-item",25),e.TgZ(1,"ion-label",26),e.NdJ("click",function(){const n=e.CHM(t).$implicit;return e.oxw(2).viewDocument.emit(n.DocId)}),e.TgZ(2,"p",27),e._uU(3),e.TgZ(4,"span",28),e._UZ(5,"ion-icon",29),e.qZA(),e.qZA(),e.TgZ(6,"p"),e.TgZ(7,"span",30),e._uU(8),e.qZA(),e.TgZ(9,"span",31),e._uU(10),e.ALo(11,"date"),e.qZA(),e.qZA(),e.qZA(),e.qZA()}if(2&t){const t=n.$implicit;e.xp6(3),e.Oqu(t.Assunto),e.xp6(5),e.Oqu(t.Sender),e.xp6(2),e.Oqu(e.xi3(11,3,t.DocDate,"dd/MM/yyyy HH:mm"))}}function m(t,n){if(1&t&&(e.TgZ(0,"div",17),e.TgZ(1,"div",18),e.YNc(2,s,2,0,"h5",19),e.TgZ(3,"ion-item",20),e.TgZ(4,"ion-label"),e.YNc(5,p,3,1,"div",21),e.qZA(),e.qZA(),e.YNc(6,l,6,1,"div",19),e.YNc(7,f,5,1,"div",19),e.qZA(),e.TgZ(8,"div",22),e.TgZ(9,"ion-list"),e.TgZ(10,"h5"),e._uU(11,"Documentos Anexados"),e.qZA(),e.YNc(12,u,12,6,"ion-item",23),e.qZA(),e.qZA(),e.qZA()),2&t){const t=e.oxw();e.xp6(2),e.Q6J("ngIf",t.intervenientes),e.xp6(3),e.Q6J("ngForOf",t.intervenientes),e.xp6(1),e.Q6J("ngIf",t.cc.length>0),e.xp6(1),e.Q6J("ngIf",t.fulltask.workflowInstanceDataFields.TaskMessage),e.xp6(5),e.Q6J("ngForOf",t.fulltask.Documents)}}let x=(()=>{class t{constructor(){this.task=new c,this.intervenientes=[],this.cc=[],this.customDate="",this.fulltask=new i,this.openOptions=new e.vpe,this.goBack=new e.vpe,this.viewDocument=new e.vpe}ngOnInit(){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-task-details"]],inputs:{task:"task",intervenientes:"intervenientes",cc:"cc",customDate:"customDate",fulltask:"fulltask"},outputs:{openOptions:"openOptions",goBack:"goBack",viewDocument:"viewDocument"},decls