Files
doneit-web/_platforms/browser/www/3416-es5.bb83bec1c42c9ace1613.js
T

1 line
16 KiB
JavaScript
Raw Normal View History

2021-08-18 18:58:02 +01:00
!function(){function t(t){return function(t){if(Array.isArray(t))return e(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,n){if(!t)return;if("string"==typeof t)return e(t,n);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return e(t,n)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function a(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}(self.webpackChunkgabinete_digital=self.webpackChunkgabinete_digital||[]).push([[3416,8621,5361,9492],{45896:function(t,e,i){"use strict";i.d(e,{Q:function(){return u}});var s=i(37716),r=i(35957),o=i(28621),c=i(39895),u=function(){var t=function(){function t(e,i,a){n(this,t),this.modalController=e,this.processes=i,this.router=a}return a(t,[{key:"ngOnInit",value:function(){}},{key:"close",value:function(){this.modalController.dismiss("No")}},{key:"save",value:function(){this.modalController.dismiss("Yes")}}]),t}();return t.\u0275fac=function(e){return new(e||t)(s.Y36(r.IN),s.Y36(o.$),s.Y36(c.F0))},t.\u0275cmp=s.Xpm({type:t,selectors:[["app-discart-expedient-modal"]],decls:15,vars:0,consts:[[1,"ion-no-border"],[1,"header-content","width-100"],[1,"header-title","d-flex","width-100"],[1,"header-body","width-100"],[1,"buttons","width-100"],["shape","round",1,"btn-ok-medium",3,"click"],["shape","round",1,"btn-delete-medium",3,"click"]],template:function(t,e){1&t&&(s._UZ(0,"ion-header",0),s.TgZ(1,"ion-content"),s.TgZ(2,"div",1),s.TgZ(3,"div",2),s.TgZ(4,"h3"),s._uU(5,"Deseja retirar este expediente da sua caixa de correspond\xeancia?"),s.qZA(),s.qZA(),s.qZA(),s.TgZ(6,"div",3),s.TgZ(7,"p"),s._uU(8,"Nota: Ao Efetuar esta opera\xe7\xe3o, o tratamento deste expediente n\xe3o poder\xe1 ser realizado a partir da caixa de correspond\xeancia"),s.qZA(),s.qZA(),s.qZA(),s.TgZ(9,"ion-footer"),s.TgZ(10,"div",4),s.TgZ(11,"button",5),s.NdJ("click",function(){return e.close()}),s._uU(12,"N\xe3o"),s.qZA(),s.TgZ(13,"button",6),s.NdJ("click",function(){return e.save()}),s._uU(14,"Sim"),s.qZA(),s.qZA(),s.qZA())},directives:[r.Gu,r.W2,r.fr],styles:["ion-content[_ngcontent-%COMP%]{--padding-top:15px;--padding-start:15px;--padding-end:15px}.header-content[_ngcontent-%COMP%]{overflow:hidden;margin:0 auto;align-items:center;justify-content:center}.header-title[_ngcontent-%COMP%]{font-family:Roboto;font-size:20px;color:#000;margin:0 5px}.header-body[_ngcontent-%COMP%]{margin:0 5px}.buttons[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:15px 0}"]}),t}()},28621:function(t,e,i){"use strict";i.d(e,{$:function(){return u}});var s=i(91841),r=i(92340),o=i(37716),c=i(37556),u=function(){var t=function(){function t(e,i){n(this,t),this.http=e,this.authheader={},this.loggeduser=i.ValidatedUser,this.headers=new s.WM,this.headers=this.headers.set("Authorization",this.loggeduser.BasicAuthKey)}return a(t,[{key:"GetTasksList",value:function(t,e){var n=r.N.apiURL+"tasks/List",i=new s.LE;return i=(i=i.set("ProcessName",t)).set("OnlyCount",e.toString()),this.http.get("".concat(n),{headers:this.headers,params:i})}},{key:"GetTask",value:function(t){var e=r.N.apiURL+"Tasks/FindTask",n=new s.LE;return n=n.set("serialNumber",t),this.http.get("".concat(e),{headers:this.headers,params:n})}},{key:"SetTaskToPending",value:function(t){var e=r.N.apiURL+"Tasks/SetTaskPending",n=new s.LE;return n=n.set("serialNumber",t),this.http.post("".concat(e),"",{headers:this.headers,params:n})}},{key