mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
1 line
5.5 KiB
JavaScript
1 line
5.5 KiB
JavaScript
|
|
!function(){function n(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function t(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 e(n,e,o){return e&&t(n.prototype,e),o&&t(n,o),n}(self.webpackChunkgabinete_digital=self.webpackChunkgabinete_digital||[]).push([[6059,8442,5503,3216,1424],{9216:function(t,o,r){"use strict";r.d(o,{g:function(){return a}});var i=r(37716),a=function(){var t=function(){function t(){n(this,t)}return e(t,[{key:"transform",value:function(n,t,e){return""===t?n:(t=t.toLowerCase(),n.filter(function(n){return n[e].toLowerCase().includes(t)}))}}]),t}();return t.\u0275fac=function(n){return new(n||t)},t.\u0275pipe=i.Yjl({name:"filter",type:t,pure:!0}),t}()},35503:function(t,e,o){"use strict";o.d(e,{D:function(){return i}});var r=o(37716),i=function(){var t=function t(){n(this,t)};return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[]]}),t}()},9441:function(t,o,r){"use strict";r.d(o,{y:function(){return p}});var i=r(64762),a=r(56410),s=r(4528),c=r(92340),u=r(37716),l=r(35957),d=r(25970),p=function(){var t=function(){function t(e,o,r,i){n(this,t),this.popoverController=e,this.modalController=o,this.alertService=r,this.navParams=i,this.documents=[],this.attendees=[],this.members=this.navParams.get("members"),console.log(this.members),this.attendees=this.navParams.get("members").map(function(n){return{Name:n.name,EmailAddress:n.username+"@"+c.N.domain,IsRequired:"true"}})}return e(t,[{key:"ngOnInit",value:function(){console.log(this.attendees)}},{key:"notImplemented",value:function(){this.alertService.presentAlert("Funcionalidade em desenvolvimento")}},{key:"close",value:function(){window.innerWidth<=1024?this.popoverController.dismiss():this.modalController.dismiss()}},{key:"attachDocument",value:function(){console.log("Anexar Documento")}},{key:"getDoc",value:function(){return(0,i.mG)(this,void 0,void 0,regeneratorRuntime.mark(function n(){var t,e=this;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.modalController.create({component:s.Z,cssClass:"group-messages modal-desktop search-modal search-modal-to-desktop",componentProps:{type:"AccoesPresidenciais & ArquivoDespachoElect",select:!0,showSearchInput:!0}});case 2:return t=n.sent,n.next=5,t.present();case 5:t.onDidDismiss().then(function(n){n&&(e.documents.push(n.data.selected),console.log(n.data))});case 6:case"end":return n.stop()}},n,this)}))}},{key:"bookMeeting",value:function(){return(0,i.mG)(this,void 0,void 0,regeneratorRuntime.mark(function n(){var t;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(console.log(this.attendees),this.popoverController.dismiss(),!(window.innerWidth<=1024)){n.next=7;break}return n.next=3,this.modalController.create({component:a.h,componentProps:{attendees:this.attendees},cssClass:"modal modal-desktop",backdropDismiss:!1});case 3:return t=n.sent,n.next=6,t.present();case 6:t.onDidDismiss().then(function(n){});case 7:case"end":return n.stop()}},n,this)}))}}]),t}();return t.\u0275fac=function(n){return new(n||t)(u.Y36(l.Dh),u.Y36(l.IN),u.Y36(d.c),u.Y36(l.X1))},t.\u0275cmp=u.Xpm({type:t,selectors:[["app-chat-options-popover"]],decls:18,vars:0,consts:[[1,"container"],[1,"arrow-right"],[1,"btn-no-color",3,"click"],["slot","end","src","assets/images/icons-arrow-arrow-right.svg",1,"arrow-right-icon"],[1,"buttons"],["full","","shape","round",1,"btn-ok",3,"click"],["shape","round",1,"btn-ok",3,"click"],[1,"solid"],["full","","shape","round",1,"btn-cancel",3,"click"]],template:function(n,t){1&n&&(u.TgZ(0,"ion-content",0),u.TgZ(1,"div",1),u.TgZ(2,"button",2),u.NdJ("click",function(){return t.close()}),u._UZ(3,"ion-icon",3),u.qZA(),u.qZA(),u.TgZ(4,"div",4),u.TgZ(5,"button",5),u.NdJ("click",function(){return t.notImplemented()}),u._uU(6,"Tirar Fotografia"),u.qZA(),u.TgZ(7,"button",6),u.NdJ("click",function(){return t.notImplemented()}),u._uU(8,"Dig
|