mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
1 line
40 KiB
JavaScript
1 line
40 KiB
JavaScript
|
|
(self.webpackChunkgabinete_digital=self.webpackChunkgabinete_digital||[]).push([[265,5503,3216,1424],{65078:function(e,t,n){"use strict";n.d(t,{b:function(){return d}});var o=n(64762),i=n(56410),s=n(4528),r=n(92340),a=n(37716),c=n(35957),l=n(25970);let d=(()=>{class e{constructor(e,t,n,o){this.popoverController=e,this.modalController=t,this.alertService=n,this.navParams=o,this.documents=[],this.attendees=[],this.members=this.navParams.get("members"),console.log(this.members),this.attendees=this.members.map(e=>({Name:e.name,EmailAddress:e.username+"@"+r.N.domain,IsRequired:"true"}))}ngOnInit(){console.log(this.attendees)}notImplemented(){this.alertService.presentAlert("Funcionalidade em desenvolvimento")}close(){window.innerWidth<=1024?this.popoverController.dismiss():this.modalController.dismiss()}attachDocument(){console.log("Anexar Documento")}getDoc(){return(0,o.mG)(this,void 0,void 0,function*(){const e=yield 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}});yield e.present(),e.onDidDismiss().then(e=>{e&&(this.documents.push(e.data.selected),console.log(e.data))})})}bookMeeting(){return(0,o.mG)(this,void 0,void 0,function*(){if(console.log(this.attendees),window.innerWidth<=800){this.popoverController.dismiss();const e=yield this.modalController.create({component:i.h,componentProps:{attendees:this.attendees},cssClass:"modal modal-desktop",backdropDismiss:!1});yield e.present(),e.onDidDismiss().then(e=>{})}else this.modalController.dismiss("meeting")})}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(c.Dh),a.Y36(c.IN),a.Y36(l.c),a.Y36(c.X1))},e.\u0275cmp=a.Xpm({type:e,selectors:[["app-chat-options-features"]],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-cancel",3,"click"],["shape","round",1,"btn-cancel",3,"click"],[1,"solid"],["full","","shape","round",1,"btn-cancel","mobile-only",3,"click"]],template:function(e,t){1&e&&(a.TgZ(0,"ion-content",0),a.TgZ(1,"div",1),a.TgZ(2,"button",2),a.NdJ("click",function(){return t.close()}),a._UZ(3,"ion-icon",3),a.qZA(),a.qZA(),a.TgZ(4,"div",4),a.TgZ(5,"button",5),a.NdJ("click",function(){return t.notImplemented()}),a._uU(6,"Tirar Fotografia"),a.qZA(),a.TgZ(7,"button",6),a.NdJ("click",function(){return t.notImplemented()}),a._uU(8,"Digitalizar Documento"),a.qZA(),a.TgZ(9,"button",5),a.NdJ("click",function(){return t.notImplemented()}),a._uU(10,"Anexar Fotografia"),a.qZA(),a.TgZ(11,"button",6),a.NdJ("click",function(){return t.getDoc()}),a._uU(12,"Anexar Documento"),a.qZA(),a._UZ(13,"div",7),a.TgZ(14,"button",6),a.NdJ("click",function(){return t.bookMeeting()}),a._uU(15,"Marcar reuni\xe3o"),a.qZA(),a.TgZ(16,"button",8),a.NdJ("click",function(){return t.close()}),a._uU(17,"Cancelar"),a.qZA(),a.qZA(),a.qZA())},directives:[c.W2,c.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%]{width:100%!important}.btn-cancel[_ngcontent-%COMP%]:hover{background-color:#42b9fe}.mobile-only[_ngcontent-%COMP%]{displa
|