Files
doneit-web/_platforms/browser/www/6176-es2015.d91ba96211f0d64dd0f5.js
T
tiago.kayaya 24e2a8f518 save
2021-08-18 18:58:02 +01:00

1 line
37 KiB
JavaScript

(self.webpackChunkgabinete_digital=self.webpackChunkgabinete_digital||[]).push([[6176],{45917:function(t,n,e){"use strict";e.d(n,{U:function(){return w}});var o=e(64762),i=e(18119),s=e(4528),a=e(55199),c=e(37716),r=e(35957),d=e(39895),l=e(28621),p=e(20985),u=e(80106),g=e(25970),f=e(84465),m=e(38583),h=e(3679),Z=e(17352);function k(t,n){1&t&&(c.TgZ(0,"ion-label",30),c._uU(1,"Adicionar intervenientes"),c.qZA())}function x(t,n){if(1&t&&(c.TgZ(0,"ion-label"),c._uU(1),c.qZA()),2&t){const t=n.$implicit;c.xp6(1),c.Oqu(t.Name)}}function v(t,n){if(1&t&&(c.TgZ(0,"ion-item"),c.TgZ(1,"ion-label"),c.TgZ(2,"h4",31),c._uU(3),c.qZA(),c.TgZ(4,"p"),c.TgZ(5,"span",32),c._uU(6),c.qZA(),c.TgZ(7,"span",33),c._uU(8),c.ALo(9,"date"),c.qZA(),c.qZA(),c.qZA(),c.qZA()),2&t){const t=n.$implicit;c.xp6(3),c.Oqu(t.Description),c.xp6(3),c.Oqu(t.Stakeholders),c.xp6(2),c.hij(" ",c.xi3(9,3,t.CreateDate,"dd/MM/yyyy"),"")}}function b(t,n){if(1&t&&(c.TgZ(0,"div"),c.TgZ(1,"ion-item"),c.TgZ(2,"ion-label"),c._uU(3,"Documentos Anexados"),c.qZA(),c.qZA(),c.TgZ(4,"ion-list"),c.YNc(5,v,10,6,"ion-item",13),c.qZA(),c.qZA()),2&t){const t=c.oxw();c.xp6(5),c.Q6J("ngForOf",t.loadedAttachments)}}function M(t,n){if(1&t){const t=c.EpF();c.TgZ(0,"app-attendee-modal",34),c.NdJ("dynamicSetIntervenient",function(n){return c.CHM(t),c.oxw().dynamicSetIntervenient(n)}),c.qZA()}if(2&t){const t=c.oxw();c.Q6J("footer",!1)("taskParticipants",t.taskParticipants)("taskParticipantsCc",t.taskParticipantsCc)("adding",t.adding)}}let w=(()=>{class t{constructor(t,n,e,o,s,a,c,r,d,l){this.modalController=t,this.router=n,this.navParams=e,this.processes=o,this.attachmentsService=s,this.calendarService=a,this.alertController=c,this.alertService=r,this.animationController=d,this.toastService=l,this.taskParticipants=[],this.taskParticipantsCc=[],this.adding="intervenient",this.formLocationSatus=!1,this.showAttendees=!1,this.documents=[],this.task=this.navParams.get("task"),this.postData=new i.j,this.eventBody={BodyType:"1",Text:""},this.postData.Body=this.eventBody,this.postData.Subject=this.task.Folio,this.postData.CalendarName="Oficial",new Date}ngOnInit(){this.adding="intervenient",console.log(this.task)}close(){this.router.navigate(["/home/gabinete-digital/expediente"]),this.modalController.dismiss(null)}cancelTask(){this.modalController.dismiss(null)}goBack(){this.modalController.dismiss(null),window.innerWidth<=800?this.router.navigate(["/home/gabinete-digital/pedidos"]):this.router.navigate(["/home/gabinete-digital"],{queryParams:{pedidos:!0}})}assignar(t,n){return(0,o.mG)(this,void 0,void 0,function*(){})}notImplemented(){this.alertService.presentAlert("Funcionalidade em desenvolvimento")}saveTask(){return(0,o.mG)(this,void 0,void 0,function*(){let t={ProcessInstanceID:"",Attachments:this.documents.map(t=>({ApplicationId:t.ApplicationType,SourceId:t.Id}))};if(this.taskParticipants.length<1)this.toastService.badRequest("Selecione um destinat\xe1rio");else{let n=this.taskParticipants.concat(this.taskParticipantsCc);n=n.map(function(t){return{UserEmail:t.EmailAddress,UserType:t.IsRequired?"I":"CC"}});let e={usersSelected:n,serialNumber:this.task.SerialNumber,action:"Reencaminhar",actionTypeId:98,dataFields:{ReviewUserComment:this.note},FolderId:this.task.FolderId,AttachmentList:t};console.log(e),this.processes.CompleteParecerPrTask(e).subscribe(t=>{console.log(t),this.toastService.successMessage("Processo delegado"),this.goBack()},t=>{this.toastService.badRequest("Processo n\xe3o delegado")})}})}addParticipants(){return(0,o.mG)(this,void 0,void 0,function*(){if(this.adding="intervenient",window.innerWidth<=800){this.showAttendees=!1;const t=yield this.modalController.create({component:a.V,componentProps:{adding:this.adding,taskParticipants:this.taskParticipants,taskParticipantsCc:this.taskParticipantsCc},cssClass:"modal attendee",backdropDismiss:!1});yield t.present(),t.onDidDismiss().then(t=>{if(t){const n=(t=t.data).taskParticipantsCc;this.setIntervenient(t.taskParticipants),this.setIntervenientCC(n)}})}else this.showAttendees=!0})}setIntervenient(t){return(0,o.mG)(this,void 0,void 0,function*(){this.taskParticipants=t})}setIntervenientCC(t){return(0,o.mG)(this,void 0,void 0,function*(){this.taskParticipantsCc=t})}validateFormInputs(){let t=this.postData.Location.trim();!this.postData.Location&&t.length<=0&&(this.formLocationSatus=!0)}dynamicSetIntervenient({taskParticipants:t}){this.taskParticipants=t}getDoc(){return(0,o.mG)(this,void 0,void 0,function*(){const t=yield this.modalController.create({component:s.Z,cssClass:"modal-width-100-width-background modal",componentProps:{type:"AccoesPresidenciais & ArquivoDespachoElect",showSearchInput:!0,select:!0}});yield t.present(),t.onDidDismiss().then(t=>{t&&this.documents.push(t.data.selected)})})}removeAttachment(t){this.documents=this.documents.filter((n,e)=>t!=e)}}return t.\u0275fac=function(n){return new(n||t)(c.Y36(r.IN),c.Y36(d.F0),c.Y36(r.X1),c.Y36(l.$),c.Y36(p.o),c.Y36(u.n),c.Y36(r.Br),c.Y36(g.c),c.Y36(r.vB),c.Y36(f.k))},t.\u0275cmp=c.Xpm({type:t,selectors:[["app-forward"]],decls:42,vars:5,consts:[[1,"main-content","d-flex","height-100"],[1,"content","d-flex","flex-column","width-100"],[1,"header-content","pb-20"],[1,"header-title"],[1,"overflow-y-auto"],[1,"container-div"],[1,"ion-item-class-2"],[1,"ion-icon-class"],["slot","start","src","assets/images/icons-person.svg"],[1,"ion-input-class-no-height"],[1,"list-people"],["lines","none"],["class","list-people-title",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"add-people",3,"click"],["slot","start","src","assets/images/icons-arrow-forward.svg"],[1,"ion-item-class-2","d-flex"],["slot","start","src","assets/images/icons-description.svg"],[1,"ion-input-class-no-height","width-100"],["placeholder","Detalhes","rows","6","cols","20",3,"ngModel","ngModelChange"],["hidden","",1,"ion-item-container-no-border"],[1,"attach-icon"],["src","assets/images/icons-attach-doc.svg"],[1,"attach-document"],[4,"ngIf"],[1,"aside-righ","flex-grow-1"],["class"," d-flex flex-column height-100",3,"footer","taskParticipants","taskParticipantsCc","adding","dynamicSetIntervenient",4,"ngIf"],[1,"buttons"],["shape","round",1,"btn-cancel",3,"click"],["shape","round",1,"btn-ok",3,"click"],[1,"list-people-title"],[1,"attach-title-item"],[1,"span-left"],[1,"span-right"],[1,"d-flex","flex-column","height-100",3,"footer","taskParticipants","taskParticipantsCc","adding","dynamicSetIntervenient"]],template:function(t,n){1&t&&(c.TgZ(0,"ion-content"),c.TgZ(1,"div",0),c.TgZ(2,"div",1),c.TgZ(3,"div",2),c.TgZ(4,"div",3),c.TgZ(5,"label"),c._uU(6,"Reencaminhar"),c.qZA(),c.qZA(),c.qZA(),c.TgZ(7,"div",4),c.TgZ(8,"div",5),c.TgZ(9,"div",6),c.TgZ(10,"div",7),c._UZ(11,"ion-icon",8),c.qZA(),c.TgZ(12,"div",9),c.TgZ(13,"div",10),c.TgZ(14,"ion-item",11),c.TgZ(15,"ion-list"),c.YNc(16,k,2,0,"ion-label",12),c.YNc(17,x,2,1,"ion-label",13),c.qZA(),c.qZA(),c.qZA(),c.TgZ(18,"div",14),c.NdJ("click",function(){return n.addParticipants()}),c._UZ(19,"ion-icon",15),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.TgZ(20,"div",5),c.TgZ(21,"div",16),c.TgZ(22,"div",7),c._UZ(23,"ion-icon",17),c.qZA(),c.TgZ(24,"div",18),c.TgZ(25,"ion-textarea",19),c.NdJ("ngModelChange",function(t){return n.note=t}),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.TgZ(26,"div",20),c.TgZ(27,"ion-label"),c.TgZ(28,"div",21),c._UZ(29,"ion-icon",22),c.qZA(),c.TgZ(30,"div",23),c.TgZ(31,"ion-label"),c._uU(32,"Anexar Documentos"),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.YNc(33,b,6,1,"div",24),c.qZA(),c.qZA(),c.TgZ(34,"div",25),c.YNc(35,M,1,4,"app-attendee-modal",26),c.qZA(),c.qZA(),c.qZA(),c.TgZ(36,"ion-footer"),c.TgZ(37,"div",27),c.TgZ(38,"button",28),c.NdJ("click",function(){return n.cancelTask()}),c._uU(39,"Cancelar"),c.qZA(),c.TgZ(40,"button",29),c.NdJ("click",function(){return n.saveTask()}),c._uU(41,"Gravar"),c.qZA(),c.qZA(),c.qZA()),2&t&&(c.xp6(16),c.Q6J("ngIf",(null==n.taskParticipants?null:n.taskParticipants.length)<1),c.xp6(1),c.Q6J("ngForOf",n.taskParticipants),c.xp6(8),c.Q6J("ngModel",n.note),c.xp6(8),c.Q6J("ngIf",n.loadedAttachments),c.xp6(2),c.Q6J("ngIf",n.showAttendees))},directives:[r.W2,r.gu,r.Ie,r.q_,m.O5,m.sg,r.g2,r.j9,h.JJ,h.On,r.Q$,r.fr,Z.Y],pipes:[m.uU],styles:[".content[_ngcontent-%COMP%]{padding:30px 20px 0!important;margin:0;float:left}.content[_ngcontent-%COMP%] .header-content[_ngcontent-%COMP%]{margin-bottom:20px!important}.content[_ngcontent-%COMP%] .header-title[_ngcontent-%COMP%]{font-family:Roboto;font-size:25px;padding:0;color:#000;float:left}.content[_ngcontent-%COMP%] .ion-item-container[_ngcontent-%COMP%]{margin:15px auto;border:1px solid #ebebeb;border-radius:5px;padding-left:10px}.content[_ngcontent-%COMP%] .ion-item-container-no-border[_ngcontent-%COMP%]{margin:0 auto;padding:0!important;overflow:auto}.content[_ngcontent-%COMP%] .container-div[_ngcontent-%COMP%]{margin-bottom:15px;overflow:hidden}.content[_ngcontent-%COMP%] .ion-item-class-2[_ngcontent-%COMP%]{margin:0 auto}.content[_ngcontent-%COMP%] .ion-icon-class[_ngcontent-%COMP%]{width:45px;height:45px;float:left;padding:10px;font-size:25px}.content[_ngcontent-%COMP%] ion-select[_ngcontent-%COMP%]{padding-left:5px;margin-left:0}.content[_ngcontent-%COMP%] .ion-input-class[_ngcontent-%COMP%]{width:calc(100% - 45px);height:45px;border:1px solid #ebebeb;border-radius:5px;padding-left:5px;padding-right:10px;float:left}.content[_ngcontent-%COMP%] .ion-input-class-no-height[_ngcontent-%COMP%]{border:1px solid #ebebeb;border-radius:5px;overflow:auto}.content[_ngcontent-%COMP%] .list-people[_ngcontent-%COMP%]{width:256px;float:left}.content[_ngcontent-%COMP%] .add-people[_ngcontent-%COMP%]{width:45px;float:right;overflow:auto;font-size:25px;padding:10px}.content[_ngcontent-%COMP%] .list-people-title[_ngcontent-%COMP%]{color:#797979}.content[_ngcontent-%COMP%] .attach-document[_ngcontent-%COMP%]{font-size:15px;color:#0d89d1;margin:5px 5px 5px 10px;padding:5px;float:left}.content[_ngcontent-%COMP%] .attach-icon[_ngcontent-%COMP%]{width:37px;font-size:35px;float:left}.content[_ngcontent-%COMP%] .attach-title-item[_ngcontent-%COMP%]{width:100%;font-size:15px;color:#0d89d1}.content[_ngcontent-%COMP%] .span-left[_ngcontent-%COMP%]{float:left;font-size:15x}.content[_ngcontent-%COMP%] .span-right[_ngcontent-%COMP%]{text-align:right;float:right;font-size:13px}.container-footer[_ngcontent-%COMP%]{margin:0 auto;overflow:auto}.button-cancel[_ngcontent-%COMP%]{--background:#e0e9ee;--color:#061b52}.button-cancel[_ngcontent-%COMP%], .button-save[_ngcontent-%COMP%]{width:170px;height:44px;border-radius:22.5px;margin:10px}.button-save[_ngcontent-%COMP%]{--background:#42b9fe;--color:#fff}.text-input[_ngcontent-%COMP%]{width:100%;border:1px solid #ebebeb;margin:0 15px 15px 0;padding:0!important;border-radius:5px}.error[_ngcontent-%COMP%]{font-size:12px;font-weight:700;padding-bottom:20px}.error[_ngcontent-%COMP%], .span-color[_ngcontent-%COMP%]{color:red}.buttons[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:20px;overflow:auto}"]}),t})()},46176:function(t,n,e){"use strict";e.d(n,{k:function(){return rt}});var o=e(64762),i=e(75008),s=e(45896),a=e(83189),c=e(90562),r=e(56343),d=e(74097),l=e(320),p=e(80675),u=e(45917),g=e(37716),f=e(39895),m=e(28621),h=e(53760),Z=e(20985),k=e(80106),x=e(35957),v=e(25970),b=e(37556),M=e(84465),w=e(96529),P=e(38583),C=e(962);function A(t,n){1&t&&(g.TgZ(0,"h5"),g._uU(1,"Intervenientes"),g.qZA())}function _(t,n){if(1&t&&(g.TgZ(0,"div"),g.TgZ(1,"p"),g._uU(2),g.qZA(),g.qZA()),2&t){const t=n.$implicit;g.xp6(2),g.Oqu(t.Name)}}function T(t,n){if(1&t&&(g.TgZ(0,"div"),g.TgZ(1,"p"),g._uU(2),g.qZA(),g.qZA()),2&t){const t=n.$implicit;g.xp6(2),g.Oqu(t.Name)}}function D(t,n){if(1&t&&(g.TgZ(0,"div"),g.TgZ(1,"h5"),g._uU(2,"Com conhecimento"),g.qZA(),g.TgZ(3,"ion-item",23),g.TgZ(4,"ion-label"),g.YNc(5,T,3,1,"div",24),g.qZA(),g.qZA(),g.qZA()),2&t){const t=g.oxw(2);g.xp6(5),g.Q6J("ngForOf",t.cc)}}function q(t,n){if(1&t&&(g.TgZ(0,"div"),g.TgZ(1,"h5"),g._uU(2,"Detalhes"),g.qZA(),g.TgZ(3,"ion-item",23),g._UZ(4,"p",27),g.qZA(),g.qZA()),2&t){const t=g.oxw(2);g.xp6(4),g.Q6J("innerHTML",t.task.Note,g.oJD)}}function O(t,n){if(1&t&&(g.TgZ(0,"p",33),g._uU(1),g.TgZ(2,"span",34),g._UZ(3,"ion-icon",35),g.qZA(),g.qZA()),2&t){const t=g.oxw().$implicit;g.xp6(1),g.Oqu(t.Assunto)}}function I(t,n){if(1&t&&(g.TgZ(0,"p",33),g._uU(1),g.TgZ(2,"span",34),g._UZ(3,"ion-icon",35),g.qZA(),g.qZA()),2&t){const t=g.oxw().$implicit;g.xp6(1),g.Oqu(t.DocNumber)}}function N(t,n){if(1&t){const t=g.EpF();g.TgZ(0,"ion-item",28),g.TgZ(1,"ion-label",29),g.NdJ("click",function(){const n=g.CHM(t).$implicit;return g.oxw(2).viewDocument(n.DocId)}),g.YNc(2,O,4,1,"p",30),g.YNc(3,I,4,1,"p",30),g.TgZ(4,"p"),g.TgZ(5,"span",31),g._uU(6),g.qZA(),g.TgZ(7,"span",32),g._uU(8),g.ALo(9,"date"),g.qZA(),g.qZA(),g.qZA(),g.qZA()}if(2&t){const t=n.$implicit;g.xp6(2),g.Q6J("ngIf",t.Assunto),g.xp6(1),g.Q6J("ngIf",!t.Assunto),g.xp6(3),g.Oqu(t.Sender),g.xp6(2),g.Oqu(g.xi3(9,4,t.DocDate,"dd/MM/yy"))}}function y(t,n){if(1&t){const t=g.EpF();g.TgZ(0,"div",4),g.TgZ(1,"div",5),g.TgZ(2,"div",6),g.TgZ(3,"div",7),g.NdJ("click",function(){return g.CHM(t),g.oxw().goBack()}),g._UZ(4,"ion-icon",8),g.qZA(),g.TgZ(5,"div",9),g.TgZ(6,"ion-label",10),g._uU(7),g.qZA(),g.qZA(),g.TgZ(8,"div",11),g.TgZ(9,"div",12),g.NdJ("click",function(){return g.CHM(t),g.oxw().openOptions()}),g._UZ(10,"ion-icon",13),g.qZA(),g.qZA(),g.qZA(),g.qZA(),g.TgZ(11,"div",14),g.TgZ(12,"div",15),g.TgZ(13,"ion-label"),g.TgZ(14,"p"),g.TgZ(15,"span",16),g._uU(16),g.qZA(),g.TgZ(17,"span",17),g._uU(18),g.qZA(),g.qZA(),g.TgZ(19,"p"),g.TgZ(20,"span",18),g._uU(21),g.qZA(),g.qZA(),g.qZA(),g.qZA(),g.qZA(),g._UZ(22,"div",19),g.TgZ(23,"div",20),g.TgZ(24,"div",21),g.YNc(25,A,2,0,"h5",22),g.TgZ(26,"ion-item",23),g.TgZ(27,"ion-label"),g.YNc(28,_,3,1,"div",24),g.qZA(),g.qZA(),g.YNc(29,D,6,1,"div",22),g.YNc(30,q,5,1,"div",22),g.qZA(),g.TgZ(31,"div",25),g.TgZ(32,"ion-list"),g.TgZ(33,"h5"),g._uU(34,"Documentos Anexados"),g.qZA(),g.YNc(35,N,10,7,"ion-item",26),g.qZA(),g.qZA(),g.qZA(),g.qZA()}if(2&t){const t=g.oxw();g.xp6(7),g.Oqu(t.task.Folio),g.xp6(9),g.Oqu(t.customDate),g.xp6(2),g.Oqu(t.task.activityInstanceName),g.xp6(3),g.Oqu(t.task.DeadlineType),g.xp6(4),g.Q6J("ngIf",t.intervenientes),g.xp6(3),g.Q6J("ngForOf",t.intervenientes),g.xp6(1),g.Q6J("ngIf",t.cc.length>0),g.xp6(1),g.Q6J("ngIf",t.task.Note),g.xp6(5),g.Q6J("ngForOf",t.attachments)}}function J(t,n){if(1&t){const t=g.EpF();g.TgZ(0,"button",43),g.NdJ("click",function(){g.CHM(t);const n=g.oxw(4);return n.openExpedientActionsModal("0",n.fulltask)}),g._uU(1,"Efetuar Despacho"),g.qZA()}}function F(t,n){if(1&t){const t=g.EpF();g.TgZ(0,"button",43),g.NdJ("click",function(){g.CHM(t);const n=g.oxw(4);return n.openExpedientActionsModal("0",n.fulltask)}),g._uU(1,"Efetuar Despacho"),g.qZA()}}function U(t,n){if(1&t){const t=g.EpF();g.TgZ(0,"button",39),g.NdJ("click",function(){g.CHM(t);const n=g.oxw(4);return n.openExpedientActionsModal("2",n.fulltask)}),g._uU(1,"Pedido de Deferimento"),g.qZA()}}function S(t,n){if(1&t){const t=g.EpF();g.TgZ(0,"button",39),g.NdJ("click",function(){return g.CHM(t),g.oxw(4).sendExpedienteToPending()}),g._uU(1,"Enviar para Pendentes"),g.qZA()}}const Y=function(){return["MDGPR"]},E=function(){return["PR"]};function R(t,n){if(1&t){const t=g.EpF();g.TgZ(0,"div",38),g.TgZ(1,"button",39),g.NdJ("click",function(){return g.CHM(t),g.oxw(3).openAddNoteModal("Arquivar")}),g._uU(2,"Arquivar"),g.qZA(),g.TgZ(3,"button",39),g.NdJ("click",function(){g.CHM(t);const n=g.oxw(3);return n.openDelegarModal(n.task)}),g._uU(4,"Delegar"),g.qZA(),g._UZ(5,"div",40),g.YNc(6,J,2,0,"button",41),g.YNc(7,F,2,0,"button",41),g.YNc(8,U,2,0,"button",42),g.TgZ(9,"button",39),g.NdJ("click",function(){g.CHM(t);const n=g.oxw(3);return n.openBookMeetingModal(n.task)}),g._uU(10,"Marcar Reuni\xe3o"),g.qZA(),g.YNc(11,S,2,0,"button",42),g.qZA()}if(2&t){const t=g.oxw(3);g.xp6(6),g.Q6J("ngIf",t.p.userRole(g.DdM(4,Y))),g.xp6(1),g.Q6J("ngIf",t.p.userRole(g.DdM(5,E))),g.xp6(1),g.Q6J("ngIf","MDGPR"==t.loggeduser.Profile),g.xp6(3),g.Q6J("ngIf","Pending"!=t.task.Status)}}function Q(t,n){if(1&t){const t=g.EpF();g.TgZ(0,"button",43),g.NdJ("click",function(){g.CHM(t);const n=g.oxw(4);return n.openExpedientActionsModal("0",n.fulltask)}),g._uU(1,"Efetuar Despacho"),g.qZA()}}function H(t,n){if(1&t){const t=g.EpF();g.TgZ(0,"button",43),g.NdJ("click",function(){g.CHM(t);const n=g.oxw(4);return n.openExpedientActionsModal("0",n.fulltask)}),g._uU(1,"Efetuar Despacho"),g.qZA()}}function G(t,n){if(1&t){const t=g.EpF();g.TgZ(0,"button",39),g.NdJ("click",function(){g.CHM(t);const n=g.oxw(4);return n.openExpedientActionsModal("2",n.fulltask)}),g._uU(1,"Pedido de Deferimento"),g.qZA()}}function z(t,n){if(1&t){const t=g.EpF();g.TgZ(0,"button",39),g.NdJ("click",function(){return g.CHM(t),g.oxw(4).sendExpedienteToPending()}),g._uU(1,"Enviar para Pendentes"),g.qZA()}}function B(t,n){if(1&t){const t=g.EpF();g.TgZ(0,"div",38),g.TgZ(1,"button",39),g.NdJ("click",function(){return g.CHM(t),g.oxw(3).openAddNoteModal("Arquivar")}),g._uU(2,"Arquivar"),g.qZA(),g.TgZ(3,"button",39),g.NdJ("click",function(){g.CHM(t);const n=g.oxw(3);return n.openDelegarModal(n.task)}),g._uU(4,"Delegar"),g.qZA(),g._UZ(5,"div",40),g.YNc(6,Q,2,0,"button",41),g.YNc(7,H,2,0,"button",41),g.YNc(8,G,2,0,"button",42),g.TgZ(9,"button",39),g.NdJ("click",function(){g.CHM(t);const n=g.oxw(3);return n.openBookMeetingModal(n.task)}),g._uU(10,"Marcar Reuni\xe3o"),g.qZA(),g.YNc(11,z,2,0,"button",42),g.qZA()}if(2&t){const t=g.oxw(3);g.xp6(6),g.Q6J("ngIf",t.p.userRole(g.DdM(4,Y))),g.xp6(1),g.Q6J("ngIf",t.p.userRole(g.DdM(5,E))),g.xp6(1),g.Q6J("ngIf","MDGPR"==t.loggeduser.Profile),g.xp6(3),g.Q6J("ngIf","Pending"!=t.task.Status)}}function L(t,n){if(1&t){const t=g.EpF();g.TgZ(0,"button",43),g.NdJ("click",function(){g.CHM(t);const n=g.oxw(4);return n.openExpedientActionsModal("0",n.fulltask)}),g._uU(1,"Efetuar Despacho"),g.qZA()}}function W(t,n){if(1&t){const t=g.EpF();g.TgZ(0,"button",43),g.NdJ("click",function(){g.CHM(t);const n=g.oxw(4);return n.openExpedientActionsModal("0",n.fulltask)}),g._uU(1,"Efetuar Despacho"),g.qZA()}}function $(t,n){if(1&t){const t=g.EpF();g.TgZ(0,"button",39),g.NdJ("click",function(){return g.CHM(t),g.oxw(4).sendExpedienteToPending()}),g._uU(1,"Enviar para Pendentes"),g.qZA()}}function j(t,n){if(1&t){const t=g.EpF();g.TgZ(0,"div",38),g.TgZ(1,"button",39),g.NdJ("click",function(){return g.CHM(t),g.oxw(3).openAddNoteModal("Arquivar")}),g._uU(2,"Arquivar"),g.qZA(),g.TgZ(3,"button",39),g.NdJ("click",function(){g.CHM(t);const n=g.oxw(3);return n.openDelegarModal(n.task)}),g._uU(4,"Delegar"),g.qZA(),g._UZ(5,"div",40),g.YNc(6,L,2,0,"button",41),g.YNc(7,W,2,0,"button",41),g.TgZ(8,"button",44),g.NdJ("click",function(){g.CHM(t);const n=g.oxw(3);return n.openExpedientActionsModal("1",n.fulltask)}),g._uU(9,"Solicitar Parecer"),g.qZA(),g.TgZ(10,"button",39),g.NdJ("click",function(){return g.CHM(t),g.oxw(3).openAddNoteModal("Solicitar Reaprecia\xe7\xe3o")}),g._uU(11,"Solicitar Reaprecia\xe7\xe3o"),g.qZA(),g.TgZ(12,"button",39),g.NdJ("click",function(){g.CHM(t);const n=g.oxw(3);return n.openBookMeetingModal(n.task)}),g._uU(13,"Marcar Reuni\xe3o"),g.qZA(),g.YNc(14,$,2,0,"button",42),g.qZA()}if(2&t){const t=g.oxw(3);g.xp6(6),g.Q6J("ngIf",t.p.userRole(g.DdM(3,Y))),g.xp6(1),g.Q6J("ngIf",t.p.userRole(g.DdM(4,E))),g.xp6(7),g.Q6J("ngIf","Pending"!=t.task.Status)}}function V(t,n){if(1&t&&(g.TgZ(0,"div"),g.YNc(1,R,12,6,"div",37),g.YNc(2,B,12,6,"div",37),g.YNc(3,j,15,5,"div",37),g.qZA()),2&t){const t=g.oxw(2);g.xp6(1),g.Q6J("ngIf","Tarefa de Deferimento"==t.task.activityInstanceName),g.xp6(1),g.Q6J("ngIf","Reapreciar Deferimento"==t.task.activityInstanceName),g.xp6(1),g.Q6J("ngIf","Concluir Deferimento"==t.task.activityInstanceName)}}function X(t,n){if(1&t){const t=g.EpF();g.TgZ(0,"button",39),g.NdJ("click",function(){g.CHM(t);const n=g.oxw(4);return n.openForwardModal(n.task)}),g._uU(1,"Reencaminhar"),g.qZA()}}function K(t,n){if(1&t){const t=g.EpF();g.TgZ(0,"button",39),g.NdJ("click",function(){return g.CHM(t),g.oxw(4).sendExpedienteToPending()}),g._uU(1,"Enviar para Pendentes"),g.qZA()}}function tt(t,n){if(1&t){const t=g.EpF();g.TgZ(0,"div",38),g.TgZ(1,"button",39),g.NdJ("click",function(){g.CHM(t);const n=g.oxw(3);return n.openDarParecer(n.task)}),g._uU(2,"Dar o meu Parecer"),g.qZA(),g.TgZ(3,"button",39),g.NdJ("click",function(){g.CHM(t);const n=g.oxw(3);return n.openBookMeetingModal(n.task)}),g._uU(4,"Marcar Reuni\xe3o"),g.qZA(),g.YNc(5,X,2,0,"button",42),g.YNc(6,K,2,0,"button",42),g.qZA()}if(2&t){const t=g.oxw(3);g.xp6(5),g.Q6J("ngIf","Pedido de Parecer do Presidente"==t.task.WorkflowName),g.xp6(1),g.Q6J("ngIf","Pending"!=t.task.Status)}}function nt(t,n){if(1&t){const t=g.EpF();g.TgZ(0,"button",43),g.NdJ("click",function(){g.CHM(t);const n=g.oxw(4);return n.openExpedientActionsModal("0",n.fulltask)}),g._uU(1,"Efetuar Despacho"),g.qZA()}}function et(t,n){if(1&t){const t=g.EpF();g.TgZ(0,"button",43),g.NdJ("click",function(){g.CHM(t);const n=g.oxw(4);return n.openExpedientActionsModal("0",n.fulltask)}),g._uU(1,"Efetuar Despacho"),g.qZA()}}function ot(t,n){if(1&t){const t=g.EpF();g.TgZ(0,"button",39),g.NdJ("click",function(){g.CHM(t);const n=g.oxw(4);return n.openExpedientActionsModal("2",n.fulltask)}),g._uU(1,"Pedido de Deferimento"),g.qZA()}}function it(t,n){if(1&t){const t=g.EpF();g.TgZ(0,"button",39),g.NdJ("click",function(){return g.CHM(t),g.oxw(4).sendExpedienteToPending()}),g._uU(1,"Enviar para Pendentes"),g.qZA()}}function st(t,n){if(1&t){const t=g.EpF();g.TgZ(0,"div",38),g.TgZ(1,"button",39),g.NdJ("click",function(){return g.CHM(t),g.oxw(3).openAddNoteModal("Arquivar")}),g._uU(2,"Arquivar"),g.qZA(),g.YNc(3,nt,2,0,"button",41),g.YNc(4,et,2,0,"button",41),g.TgZ(5,"button",39),g.NdJ("click",function(){g.CHM(t);const n=g.oxw(3);return n.openExpedientActionsModal("1",n.fulltask)}),g._uU(6,"Solicitar Parecer"),g.qZA(),g.YNc(7,ot,2,0,"button",42),g.TgZ(8,"button",39),g.NdJ("click",function(){g.CHM(t);const n=g.oxw(3);return n.openBookMeetingModal(n.task)}),g._uU(9,"Marcar Reuni\xe3o"),g.qZA(),g.YNc(10,it,2,0,"button",42),g.qZA()}if(2&t){const t=g.oxw(3);g.xp6(3),g.Q6J("ngIf",t.p.userRole(g.DdM(4,Y))),g.xp6(1),g.Q6J("ngIf",t.p.userRole(g.DdM(5,E))),g.xp6(3),g.Q6J("ngIf","MDGPR"==t.loggeduser.Profile),g.xp6(3),g.Q6J("ngIf","Pending"!=t.task.Status)}}function at(t,n){if(1&t&&(g.TgZ(0,"div"),g.YNc(1,tt,7,2,"div",37),g.YNc(2,st,11,6,"div",37),g.qZA()),2&t){const t=g.oxw(2);g.xp6(1),g.Q6J("ngIf","Tarefa de Parecer"==t.task.activityInstanceName),g.xp6(1),g.Q6J("ngIf","Concluir Parecer"==t.task.activityInstanceName)}}function ct(t,n){if(1&t&&(g.TgZ(0,"div",36),g.YNc(1,V,4,3,"div",22),g.YNc(2,at,3,2,"div",22),g.qZA()),2&t){const t=g.oxw();g.xp6(1),g.Q6J("ngIf","Pedido de Deferimento"==t.task.WorkflowName),g.xp6(1),g.Q6J("ngIf","Pedido de Parecer"==t.task.WorkflowName||"Pedido de Parecer do Presidente"==t.task.WorkflowName)}}let rt=(()=>{class t{constructor(t,n,e,o,i,s,a,c,r,d,l,p,u,g,f){this.activatedRoute=t,this.processes=n,this.iab=e,this.attachmentsService=o,this.events=i,this.menu=s,this.router=a,this.modalController=c,this.alertService=r,this.popoverController=d,this.animationController=p,this.toastService=u,this.p=g,this.location=f,this.months=["Janeiro","Fevereiro","Mar\xe7o","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],this.days=["Domingo","Segunda-feira","Ter\xe7a-feira","Quarta-feira","Quinta-feira","Sexta-feira","S\xe1bado"],this.cc=[],this.fromPeddingList=!1,this.loggeduser=l.ValidatedUser,this.activatedRoute.paramMap.subscribe(t=>{console.log(t.params),t.params.SerialNumber&&(this.serialnumber=t.params.SerialNumber),t.params.caller&&(this.caller=t.params.caller)})}ngOnInit(){this.LoadTaskDetail(this.serialnumber)}close(){this.modalController.dismiss()}notImplemented(){this.alertService.presentAlert("Funcionalidade em desenvolvimento")}toDateString(t){return new Date(t).toDateString()}LoadTaskDetail(t){return(0,o.mG)(this,void 0,void 0,function*(){this.processes.GetTask(this.serialnumber).subscribe(t=>{if(this.fulltask=t,"Pedido de Parecer"==t.workflowDisplayName||"Pedido de Parecer do Presidente"==t.workflowDisplayName){let n=new Date(t.taskStartDate);n.setMonth(n.getMonth()+1);let e=n.getFullYear()+"-"+n.getMonth()+"-"+n.getDate()+" "+n.getHours()+":"+n.getMinutes()+":"+n.getSeconds();this.task={SerialNumber:t.serialNumber,Folio:t.workflowInstanceDataFields.Subject,Senders:t.workflowInstanceDataFields.Sender,CreateDate:e,DocumentURL:t.workflowInstanceDataFields.ViewerRequest,Remetente:t.workflowInstanceDataFields.Sender,Note:t.workflowInstanceDataFields.TaskMessage,FolderId:t.workflowInstanceDataFields.FolderID,FsId:"361",DocId:t.workflowInstanceDataFields.ParecerDocId,WorkflowName:t.workflowDisplayName,DeadlineType:t.workflowInstanceDataFields.DeadlineType,ProcessInstanceID:t.workflowInstanceDataFields.InstanceID,activityInstanceName:t.activityInstanceName,Status:t.workflowInstanceDataFields.Status},console.log(this.task)}else if("Pedido de Deferimento"==t.workflowDisplayName){let n=new Date(t.taskStartDate);n.setMonth(n.getMonth()+1);let e=n.getFullYear()+"-"+n.getMonth()+"-"+n.getDate()+" "+n.getHours()+":"+n.getMinutes()+":"+n.getSeconds();this.task={SerialNumber:t.serialNumber,Folio:t.workflowInstanceDataFields.Subject,Senders:t.workflowInstanceDataFields.Sender,CreateDate:e,DocumentURL:t.workflowInstanceDataFields.ViewerRequest,Remetente:t.workflowInstanceDataFields.Sender,Note:t.workflowInstanceDataFields.TaskMessage,FolderId:t.workflowInstanceDataFields.FolderID,FsId:"361",DocId:t.workflowInstanceDataFields.DocIdDeferimento,WorkflowName:t.workflowDisplayName,DeadlineType:t.workflowInstanceDataFields.DeadlineType,ProcessInstanceID:t.workflowInstanceDataFields.InstanceID,activityInstanceName:t.activityInstanceName,Status:t.workflowInstanceDataFields.Status}}let n=new Date(t.taskStartDate);this.customDate=this.days[n.getDay()]+", "+n.getDate()+" de "+this.months[n.getMonth()],this.processes.GetTaskParticipants(t.workflowInstanceDataFields.FolderID).subscribe(t=>{this.intervenientes=t.filter(t=>"I"==t.Type),this.cc=t.filter(t=>"CC"==t.Type)}),this.getDocumentDetails(t.workflowInstanceDataFields.FolderID,"361")},t=>{try{this.goBack(),this.close()}catch(n){window.history.back()}finally{this.toastService.badRequest(0==t.status?"N\xe3o \xe9 poss\xedvel visualizar este processo no modo offline":"Processo n\xe3o encontrado")}})})}getDocumentDetails(t,n){this.processes.GetDocumentDetails(t,n).subscribe(t=>{this.attachments=t.Documents})}viewDocument(t){this.processes.GetDocumentUrl(t,"361").subscribe(t=>{const n=t.replace("webTRIX.Viewer","webTRIX.Viewer.Branch1");this.iab.create(n,"_blank").show()})}openMenu(){this.menu.open(),this.modalController.dismiss()}openOptions(t){return(0,o.mG)(this,void 0,void 0,function*(){const n=yield this.popoverController.create({component:p.G,cssClass:"exp-options",componentProps:{task:this.task,serialNumber:this.task.SerialNumber,fulltask:this.fulltask,taskAction:t,showEnviarPendentes:!1},translucent:!0});yield n.present(),n.onDidDismiss().then(t=>{"close"==t.data&&this.goBack()})})}repreciar(t,n){return(0,o.mG)(this,void 0,void 0,function*(){let e={serialNumber:this.serialnumber,action:"Reaprecia\xe7\xe3o",ActionTypeId:100000009,dataFields:{ReviewUserComment:t},AttachmentList:n};const o=this.toastService.loading();try{yield this.processes.CompleteTask(e).toPromise(),this.toastService.successMessage(),this.close()}catch(i){this.toastService.badRequest()}finally{o.remove()}})}arquivar(t,n){return(0,o.mG)(this,void 0,void 0,function*(){let e={serialNumber:this.serialnumber,action:"Arquivo",ActionTypeId:95,dataFields:{ReviewUserComment:t},AttachmentList:n};const o=this.toastService.loading();try{yield this.processes.CompleteTask(e).toPromise(),this.toastService.successMessage("Processo arquivado"),this.close()}catch(i){this.toastService.badRequest()}finally{o.remove()}})}assignar(t,n){return(0,o.mG)(this,void 0,void 0,function*(){let e={serialNumber:this.serialnumber,action:"Reencaminhar",ActionTypeId:98,dataFields:{ReviewUserComment:t},AttachmentList:n};const o=this.toastService.loading();try{yield this.processes.CompleteTask(e).toPromise(),this.toastService.successMessage("Processo arquivado"),this.close()}catch(i){this.toastService.badRequest()}finally{o.remove()}})}sendExpedienteToPending(){this.processes.SetTaskToPending(this.serialnumber).subscribe(t=>{this.goBack()},()=>{this.toastService.badRequest("Processo n\xe3o encontrado")})}openExpedientActionsModal(t,n){return(0,o.mG)(this,void 0,void 0,function*(){let n;n=window.innerWidth<=800?"modal modal-desktop":"modal modal-desktop showAsideOptions";const e=yield this.modalController.create({component:c.A,componentProps:{taskAction:t,task:this.fulltask,fulltask:this.fulltask},cssClass:n});yield e.present(),e.onDidDismiss().then(t=>{console.log("Modal closed"),this.goBack()})})}openBookMeetingModal(t){return(0,o.mG)(this,void 0,void 0,function*(){let n;n=window.innerWidth<=800?"book-meeting-modal modal modal-desktop":"modal modal-desktop showAsideOptions";const e=yield this.modalController.create({component:a.k,componentProps:{task:t},cssClass:n,backdropDismiss:!1});yield e.present(),e.onDidDismiss()})}viewEventDetail(t){return(0,o.mG)(this,void 0,void 0,function*(){const n=yield this.modalController.create({component:i.u,componentProps:{eventId:t},cssClass:"modal modal-desktop",backdropDismiss:!1});yield n.present(),n.onDidDismiss().then(t=>{})})}distartExpedientModal(){return(0,o.mG)(this,void 0,void 0,function*(){console.log(this.fulltask);const t=yield this.modalController.create({component:s.Q,componentProps:{serialNumber:this.fulltask.SerialNumber,folderId:this.fulltask.workflowInstanceDataFields.FolderID,action:"complete"},cssClass:"discart-expedient-modal",backdropDismiss:!1});yield t.present(),t.onDidDismiss().then(t=>{"close"==t.data&&this.close()})})}openDelegarModal(t){return(0,o.mG)(this,void 0,void 0,function*(){let n;console.log(t),n=window.innerWidth<=800?"book-meeting-modal modal modal-desktop":"modal modal-desktop showAsideOptions";const e=yield this.modalController.create({component:r.i,componentProps:{task:this.task},cssClass:n,backdropDismiss:!1});yield e.present(),e.onDidDismiss()})}openForwardModal(t){return(0,o.mG)(this,void 0,void 0,function*(){let n;console.log(t),n=window.innerWidth<=800?"book-meeting-modal modal modal-desktop":"modal modal-desktop showAsideOptions";const e=yield this.modalController.create({component:u.U,componentProps:{task:this.task},cssClass:n,backdropDismiss:!1});yield e.present(),e.onDidDismiss()})}openDarParecer(t){return(0,o.mG)(this,void 0,void 0,function*(){let n;console.log(t),n=window.innerWidth<=800?"book-meeting-modal modal modal-desktop":"add-note-modal-no-height showAsideOptions";const e=yield this.modalController.create({component:d.C,componentProps:{serialNumber:this.task.SerialNumber,ProcessInstanceID:this.task.ProcessInstanceID},cssClass:n,backdropDismiss:!1});yield e.present(),e.onDidDismiss().then(t=>{this.goBack()})})}openAddNoteModal(t){return(0,o.mG)(this,void 0,void 0,function*(){let n;n=window.innerWidth<=800?"modal modal-desktop":"add-note-modal-no-height";const e=yield this.modalController.create({component:l.C,componentProps:{showAttachmentBtn:!0},cssClass:n,backdropDismiss:!0});yield e.present(),e.onDidDismiss().then(n=>(0,o.mG)(this,void 0,void 0,function*(){let e={ProcessInstanceID:"",Attachments:yield n.data.documents.map(t=>(0,o.mG)(this,void 0,void 0,function*(){return{ApplicationId:t.ApplicationType,SourceId:t.Id}}))};n.data&&("Solicitar Reaprecia\xe7\xe3o"==t?(yield this.repreciar(n.data.note,e),this.goBack()):"Arquivar"==t?(yield this.arquivar(n.data.note,e),this.goBack()):"Assignar"==t&&(yield this.assignar(n.data.note,e)))}))})}goBack(){this.location.back()}}return t.\u0275fac=function(n){return new(n||t)(g.Y36(f.gz),g.Y36(m.$),g.Y36(h.i),g.Y36(Z.o),g.Y36(k.n),g.Y36(x._q),g.Y36(f.F0),g.Y36(x.IN),g.Y36(v.c),g.Y36(x.Dh),g.Y36(b.e),g.Y36(x.vB),g.Y36(M.k),g.Y36(w.$),g.Y36(P.Ye))},t.\u0275cmp=g.Xpm({type:t,selectors:[["app-pedido"]],decls:6,vars:2,consts:[[1,"ion-no-border"],[1,"main-content","d-flex","height-100"],["class","content d-flex flex-column",4,"ngIf"],["class","aside-right flex-column height-100",4,"ngIf"],[1,"content","d-flex","flex-column"],[1,"main-header"],[1,"title-content","width-100","d-flex","justify-space-between"],["defaultHref","#",1,"font-30","cursor-pointer",3,"click"],["slot","end","src","assets/images/icons-arrow-arrow-left.svg"],[1,"middle","flex-grow-1"],[1,"title"],[1,"div-icon"],["autoHide","false",1,"d-flex",3,"click"],["src","assets/images/icons-menu.svg",1,"font-30","cursor-pointer"],[1,"upper-content"],[1,"content-details"],[1,"date"],[1,"label"],[1,"color-red"],[1,"line"],[1,"overflow-y-auto"],[1,"middle-content"],[4,"ngIf"],[1,"ion-no-margin","ion-no-padding"],[4,"ngFor","ngForOf"],[1,"bottom-content","width-100"],["class","ion-no-margin ion-no-padding cursor-pointer",4,"ngFor","ngForOf"],[3,"innerHTML"],[1,"ion-no-margin","ion-no-padding","cursor-pointer"],[3,"click"],["class","attach-title-item",4,"ngIf"],[1,"span-left"],[1,"span-right"],[1,"attach-title-item"],[1,"span-right","color-red","btn-size"],["hidden","","name","close"],[1,"aside-right","flex-column","height-100"],["class","buttons",4,"ngIf"],[1,"buttons"],["shape","round",1,"btn-cancel",3,"click"],[1,"solid"],["class","btn-ok","shape","round",3,"click",4,"ngIf"],["class","btn-cancel","shape","round",3,"click",4,"ngIf"],["shape","round",1,"btn-ok",3,"click"],["hidden","","shape","round",1,"btn-cancel",3,"click"]],template:function(t,n){1&t&&(g.TgZ(0,"ion-header",0),g._UZ(1,"app-header"),g.qZA(),g.TgZ(2,"ion-content"),g.TgZ(3,"div",1),g.YNc(4,y,36,9,"div",2),g.YNc(5,ct,3,2,"div",3),g.qZA(),g.qZA()),2&t&&(g.xp6(4),g.Q6J("ngIf",n.task),g.xp6(1),g.Q6J("ngIf",n.task))},directives:[x.Gu,C.E,x.W2,P.O5,x.gu,x.Q$,x.Ie,P.sg,x.q_],pipes:[P.uU],styles:[".main-content[_ngcontent-%COMP%]{background-color:#fff!important;border-top-left-radius:25px;border-top-right-radius:25px}.content[_ngcontent-%COMP%]{padding:30px 20px 0!important;margin:0;float:left}.color-red[_ngcontent-%COMP%]{font-weight:500;color:#d30a0a!important}.btn-size[_ngcontent-%COMP%]{font-size:18px!important}.main-header[_ngcontent-%COMP%]{display:flex;font-family:Roboto;background-color:#fff;color:#000;transform:translate3d(0,1px,0)}.main-header[_ngcontent-%COMP%] .title-content[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:flex-start!important;border-radius:0!important}.main-header[_ngcontent-%COMP%] .title-content[_ngcontent-%COMP%] .middle[_ngcontent-%COMP%]{overflow:auto}.main-header[_ngcontent-%COMP%] .title-content[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;height:auto;font-size:25px;overflow:auto;float:left;padding-left:5px}.main-header[_ngcontent-%COMP%] .title-content[_ngcontent-%COMP%] .div-icon[_ngcontent-%COMP%]{width:37px!important;font-size:35px!important;padding:1px;right:0!important}ion-item-group[_ngcontent-%COMP%]{margin:15px}ion-button[_ngcontent-%COMP%]{display:block;width:80%;margin:20px auto}.upper-content[_ngcontent-%COMP%]{font-family:Roboto;margin-left:41px;font-size:18px}.upper-content[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{border-radius:20px;background:#ffb703;float:right;padding:5px 13.5px;color:#fff}.upper-content[_ngcontent-%COMP%] .button-calendar-type[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%]{height:25px}.upper-content[_ngcontent-%COMP%] .content-details[_ngcontent-%COMP%]{font-size:17px}.upper-content[_ngcontent-%COMP%] .content-details[_ngcontent-%COMP%] .date[_ngcontent-%COMP%]{color:#797979}.middle-conten[_ngcontent-%COMP%] .middle-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:16px}.bottom-content[_ngcontent-%COMP%]{margin:0 auto}.bottom-content[_ngcontent-%COMP%] .bottom-content[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:16px;margin:0 0 0 10px}.bottom-content[_ngcontent-%COMP%] .attach-document[_ngcontent-%COMP%]{font-size:15px;color:#0d89d1;margin:5px 5px 5px 10px;padding:5px;float:left}.bottom-content[_ngcontent-%COMP%] .attach-icon[_ngcontent-%COMP%]{width:37px;font-size:35px;float:left}.bottom-content[_ngcontent-%COMP%] .attach-title-item[_ngcontent-%COMP%]{font-size:18px;width:100%;color:#0d89d1;padding-bottom:5px}.bottom-content[_ngcontent-%COMP%] .span-left[_ngcontent-%COMP%]{float:left;font-size:15x}.bottom-content[_ngcontent-%COMP%] .span-right[_ngcontent-%COMP%]{text-align:right;float:right;font-size:13px}.aside-right[_ngcontent-%COMP%]{padding:30px 20px 0!important}.aside-right[_ngcontent-%COMP%] .arrow-right[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;margin-bottom:20px}.aside-right[_ngcontent-%COMP%] .arrow-right[_ngcontent-%COMP%] .arrow-right-icon[_ngcontent-%COMP%]{width:37px;float:right;font-size:35px;overflow:hidden}.aside-right[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:space-between}.aside-right[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%] .btn-cancel[_ngcontent-%COMP%], .aside-right[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%] .btn-delete[_ngcontent-%COMP%], .aside-right[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%] .btn-ok[_ngcontent-%COMP%]{height:auto!important;font-size:16px!important;font-weight:600!important;width:100%!important;margin-bottom:10px!important;padding:15px!important}.aside-right[_ngcontent-%COMP%] .solid[_ngcontent-%COMP%]{display:block;width:90%;border-top:1px solid #ebebeb;margin:0 auto 10px!important}@media only screen and (max-width: 800px){.content[_ngcontent-%COMP%]{width:100%!important}.aside-right[_ngcontent-%COMP%]{display:none}}@media only screen and (min-width: 801px){.div-icon[_ngcontent-%COMP%]{display:none}.content[_ngcontent-%COMP%]{width:65%;border-right:1px solid #d8d8d8}.aside-right[_ngcontent-%COMP%]{width:35%}}@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){.content[_ngcontent-%COMP%]{width:75%}.aside-right[_ngcontent-%COMP%]{width:25%}}"]}),t})()}}]);