(self.webpackChunkgabinete_digital=self.webpackChunkgabinete_digital||[]).push([[2219],{2219:function(n,t,o){"use strict";o.r(t),o.d(t,{SearchedDocumentOptionsPageModule:function(){return l}});var e=o(38583),i=o(3679),c=o(35957),r=o(39895),a=o(18057),s=o(37716);const d=[{path:"",component:a.S}];let p=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=s.oAB({type:n}),n.\u0275inj=s.cJS({imports:[[r.Bz.forChild(d)],r.Bz]}),n})(),l=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=s.oAB({type:n}),n.\u0275inj=s.cJS({imports:[[e.ez,i.u5,c.Pc,p]]}),n})()},18057:function(n,t,o){"use strict";o.d(t,{S:function(){return u}});var e=o(64762),i=o(37716),c=o(35957),r=o(96529),a=o(38583);function s(n,t){if(1&n){const n=i.EpF();i.TgZ(0,"button",6),i.NdJ("click",function(){return i.CHM(n),i.oxw().openExpedientActionsModal("0")}),i._uU(1,"Efetuar Despacho"),i.qZA()}}function d(n,t){if(1&n){const n=i.EpF();i.TgZ(0,"button",6),i.NdJ("click",function(){return i.CHM(n),i.oxw().openExpedientActionsModal("0")}),i._uU(1,"Efetuar Despacho"),i.qZA()}}function p(n,t){if(1&n){const n=i.EpF();i.TgZ(0,"button",4),i.NdJ("click",function(){return i.CHM(n),i.oxw().openExpedientActionsModal("2")}),i._uU(1,"Pedido de Deferimento"),i.qZA()}}const l=function(){return["PR"]};let u=(()=>{class n{constructor(n,t,o,e){this.popoverController=n,this.modalController=t,this.navParams=o,this.p=e}ngOnInit(){this.task=this.navParams.get("task"),this.LoadedDocument=this.navParams.get("LoadedDocument")}close(){this.popoverController.dismiss()}goBack(){this.popoverController.dismiss()}openBookMeetingModal(){return(0,e.mG)(this,void 0,void 0,function*(){this.popoverController.dismiss({component:"openBookMeetingModal",taskAction:""})})}openExpedientActionsModal(n){return(0,e.mG)(this,void 0,void 0,function*(){this.popoverController.dismiss({component:"openExpedientActionsModal",taskAction:n})})}distartExpedientModal(n){return(0,e.mG)(this,void 0,void 0,function*(){})}}return n.\u0275fac=function(t){return new(t||n)(i.Y36(c.Dh),i.Y36(c.IN),i.Y36(c.X1),i.Y36(r.$))},n.\u0275cmp=i.Xpm({type:n,selectors:[["app-searched-document-options"]],decls:10,vars:6,consts:[[1,"container","width-100"],[1,"buttons"],["class","btn-ok","shape","round",3,"click",4,"ngIf"],[1,"solid"],["shape","round",1,"btn-cancel",3,"click"],["class","btn-cancel","shape","round",3,"click",4,"ngIf"],["shape","round",1,"btn-ok",3,"click"]],template:function(n,t){1&n&&(i.TgZ(0,"ion-content",0),i.TgZ(1,"div",1),i.YNc(2,s,2,0,"button",2),i.YNc(3,d,2,0,"button",2),i._UZ(4,"div",3),i.TgZ(5,"button",4),i.NdJ("click",function(){return t.openExpedientActionsModal("0")}),i._uU(6,"Solicitar Parecer"),i.qZA(),i.YNc(7,p,2,0,"button",5),i.TgZ(8,"button",4),i.NdJ("click",function(){return t.openBookMeetingModal()}),i._uU(9,"Marcar Reuni\xe3o"),i.qZA(),i.qZA(),i.qZA()),2&n&&(i.xp6(2),i.Q6J("ngIf",t.p.userRole(i.DdM(3,l))),i.xp6(1),i.Q6J("ngIf",!t.p.userRole(i.DdM(4,l))),i.xp6(4),i.Q6J("ngIf",!t.p.userRole(i.DdM(5,l))))},directives:[c.W2,a.O5],styles:[".container[_ngcontent-%COMP%]{--padding-top:20px!important;--padding-bottom:20px!important;--padding-start:20px!important;--padding-end:20px!important;width:100%}.arrow-right[_ngcontent-%COMP%]{display:none;margin-bottom:20px}.arrow-right[_ngcontent-%COMP%] .arrow-right-icon[_ngcontent-%COMP%]{width:37px;float:right;font-size:35px;overflow:hidden}.buttons[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:space-around}.solid[_ngcontent-%COMP%]{display:none;width:90%;border-top:1px solid #bbb;margin:0 auto!important}.btn-cancel[_ngcontent-%COMP%], .btn-ok[_ngcontent-%COMP%]{margin-bottom:5px!important;margin-top:5px!important}@media only screen and (max-width: 800px){.btn-cancel[_ngcontent-%COMP%], .btn-delete[_ngcontent-%COMP%], .btn-ok[_ngcontent-%COMP%]{width:100%!important}}@media only screen and (min-width: 1024px){.arrow-right[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.btn-cancel[_ngcontent-%COMP%]{display:none}.btn-cancel[_ngcontent-%COMP%], .btn-delete[_ngcontent-%COMP%], .btn-ok[_ngcontent-%COMP%]{width:100%!important;margin-bottom:10px!important}.btn-delete[_ngcontent-%COMP%], .btn-ok[_ngcontent-%COMP%]{margin-top:10px!important}}.desk[_ngcontent-%COMP%]{text-align:left;background-color:#fff}"]}),n})()}}]);