mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
1 line
5.3 KiB
JavaScript
1 line
5.3 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([[8442],{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}()},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,"Digitalizar Documento"),u.qZA(),u.TgZ(9,"button",5),u.NdJ("click",function(){return t.notImplemented()}),u._uU(10,"Anexar Fotografia"),u.qZA(),u.TgZ(11,"button",6),u.NdJ("click",function(){return t.getDoc()}),u._uU(12,"Anexar Documento"),u.qZA(),u._UZ(13,"div",7),u.TgZ(14,"button",6),u.NdJ("click",function(){return t.bookMeeting()}),u._uU(15,"Marcar reuni\xe3o"),u.qZA(),u.TgZ(16,"button",8),u.NdJ("click",function(){return t.close()}),u._uU(17,"Cancelar"),u.qZA(),u.qZA(),u.qZA())},directives:[l.W2,l.gu],styles:[".container[_ngcontent-%COMP%]{--padding-top:20px!important;--padding-bottom:20px!important;--padding-start:20px!important;--padding-end:20px!important}.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-between}.buttons[_ngcontent-%COMP%] .btn-cancel[_ngcontent-%COMP%], .buttons[_ngcontent-%COMP%] .btn-delete[_ngcontent-%COMP%], .buttons[_ngcontent-%COMP%] .btn-ok[_ngcontent-%COMP%]{margin-bottom:10px!important}.solid[_ngcontent-%COMP%]{display:none;width:90%;border-top:1px solid #bbb;margin:0 auto!important;margin-bottom:10px}@media only screen and (min-width: 1024px){.arrow-right[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.btn-cancel[_ngcontent-%COMP%]{display:none}.btn-ok[_ngcontent-%COMP%]{width:100%!important}.mobile-only[_ngcontent-%COMP%]{display:none!important}}"]}),t}()}}])}(); |