Files
doneit-web/_platforms/browser/www/2219-es5.0e7a93ec49d059333da2.js
T
tiago.kayaya 24e2a8f518 save
2021-08-18 18:58:02 +01:00

1 line
5.1 KiB
JavaScript

!function(){function n(n,t){for(var e=0;e<t.length;e++){var o=t[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(n,o.key,o)}}function t(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}(self.webpackChunkgabinete_digital=self.webpackChunkgabinete_digital||[]).push([[2219],{2219:function(n,e,o){"use strict";o.r(e),o.d(e,{SearchedDocumentOptionsPageModule:function(){return f}});var i,r=o(38583),a=o(3679),c=o(35957),u=o(39895),s=o(18057),p=o(37716),d=[{path:"",component:s.S}],l=function(){var n=function n(){t(this,n)};return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=p.oAB({type:n}),n.\u0275inj=p.cJS({imports:[[u.Bz.forChild(d)],u.Bz]}),n}(),f=((i=function n(){t(this,n)}).\u0275fac=function(n){return new(n||i)},i.\u0275mod=p.oAB({type:i}),i.\u0275inj=p.cJS({imports:[[r.ez,a.u5,c.Pc,l]]}),i)},18057:function(e,o,i){"use strict";i.d(o,{S:function(){return g}});var r=i(64762),a=i(37716),c=i(35957),u=i(96529),s=i(38583);function p(n,t){if(1&n){var e=a.EpF();a.TgZ(0,"button",6),a.NdJ("click",function(){return a.CHM(e),a.oxw().openExpedientActionsModal("0")}),a._uU(1,"Efetuar Despacho"),a.qZA()}}function d(n,t){if(1&n){var e=a.EpF();a.TgZ(0,"button",6),a.NdJ("click",function(){return a.CHM(e),a.oxw().openExpedientActionsModal("0")}),a._uU(1,"Efetuar Despacho"),a.qZA()}}function l(n,t){if(1&n){var e=a.EpF();a.TgZ(0,"button",4),a.NdJ("click",function(){return a.CHM(e),a.oxw().openExpedientActionsModal("2")}),a._uU(1,"Pedido de Deferimento"),a.qZA()}}var f=function(){return["PR"]},g=function(){var e=function(){function e(n,o,i,r){t(this,e),this.popoverController=n,this.modalController=o,this.navParams=i,this.p=r}var o,i,a;return o=e,(i=[{key:"ngOnInit",value:function(){this.task=this.navParams.get("task"),this.LoadedDocument=this.navParams.get("LoadedDocument")}},{key:"close",value:function(){this.popoverController.dismiss()}},{key:"goBack",value:function(){this.popoverController.dismiss()}},{key:"openBookMeetingModal",value:function(){return(0,r.mG)(this,void 0,void 0,regeneratorRuntime.mark(function n(){return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:this.popoverController.dismiss({component:"openBookMeetingModal",taskAction:""});case 1:case"end":return n.stop()}},n,this)}))}},{key:"openExpedientActionsModal",value:function(n){return(0,r.mG)(this,void 0,void 0,regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.popoverController.dismiss({component:"openExpedientActionsModal",taskAction:n});case 1:case"end":return t.stop()}},t,this)}))}},{key:"distartExpedientModal",value:function(n){return(0,r.mG)(this,void 0,void 0,regeneratorRuntime.mark(function n(){return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:case"end":return n.stop()}},n)}))}}])&&n(o.prototype,i),a&&n(o,a),e}();return e.\u0275fac=function(n){return new(n||e)(a.Y36(c.Dh),a.Y36(c.IN),a.Y36(c.X1),a.Y36(u.$))},e.\u0275cmp=a.Xpm({type:e,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&&(a.TgZ(0,"ion-content",0),a.TgZ(1,"div",1),a.YNc(2,p,2,0,"button",2),a.YNc(3,d,2,0,"button",2),a._UZ(4,"div",3),a.TgZ(5,"button",4),a.NdJ("click",function(){return t.openExpedientActionsModal("0")}),a._uU(6,"Solicitar Parecer"),a.qZA(),a.YNc(7,l,2,0,"button",5),a.TgZ(8,"button",4),a.NdJ("click",function(){return t.openBookMeetingModal()}),a._uU(9,"Marcar Reuni\xe3o"),a.qZA(),a.qZA(),a.qZA()),2&n&&(a.xp6(2),a.Q6J("ngIf",t.p.userRole(a.DdM(3,f))),a.xp6(1),a.Q6J("ngIf",!t.p.userRole(a.DdM(4,f))),a.xp6(4),a.Q6J("ngIf",!t.p.userRole(a.DdM(5,f))))},directives:[c.W2,s.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}"]}),e}()}}])}();