mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
1 line
23 KiB
JavaScript
1 line
23 KiB
JavaScript
!function(){function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(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 n(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}(self.webpackChunkgabinete_digital=self.webpackChunkgabinete_digital||[]).push([[8176,6527,5763,2417,3756,6055,5457,1087,4413,5183,6379,5802,9391,1485,9074,4176,9406],{56343:function(e,i,o){"use strict";o.d(i,{i:function(){return _}});var a=o(64762),r=o(18119),c=o(45896),s=o(55199),d=o(37716),l=o(35957),u=o(39895),g=o(28621),p=o(20985),h=o(80106),f=o(25970),m=o(84465),v=o(38583),Z=o(3679),x=o(17352);function k(t,e){1&t&&(d.TgZ(0,"ion-label",30),d._uU(1,"Adicionar intervenientes"),d.qZA())}function b(t,e){if(1&t&&(d.TgZ(0,"ion-label"),d._uU(1),d.qZA()),2&t){var n=e.$implicit;d.xp6(1),d.Oqu(n.Name)}}function C(t,e){if(1&t&&(d.TgZ(0,"ion-item"),d.TgZ(1,"ion-label"),d.TgZ(2,"h4",31),d._uU(3),d.qZA(),d.TgZ(4,"p"),d.TgZ(5,"span",32),d._uU(6),d.qZA(),d.TgZ(7,"span",33),d._uU(8),d.ALo(9,"date"),d.qZA(),d.qZA(),d.qZA(),d.qZA()),2&t){var n=e.$implicit;d.xp6(3),d.Oqu(n.Description),d.xp6(3),d.Oqu(n.Stakeholders),d.xp6(2),d.hij(" ",d.xi3(9,3,n.CreateDate,"dd/MM/yyyy"),"")}}function w(t,e){if(1&t&&(d.TgZ(0,"div"),d.TgZ(1,"ion-item"),d.TgZ(2,"ion-label"),d._uU(3,"Documentos Anexados"),d.qZA(),d.qZA(),d.TgZ(4,"ion-list"),d.YNc(5,C,10,6,"ion-item",13),d.qZA(),d.qZA()),2&t){var n=d.oxw();d.xp6(5),d.Q6J("ngForOf",n.loadedAttachments)}}function P(t,e){if(1&t){var n=d.EpF();d.TgZ(0,"app-attendee-modal",34),d.NdJ("dynamicSetIntervenient",function(t){return d.CHM(n),d.oxw().dynamicSetIntervenient(t)}),d.qZA()}if(2&t){var i=d.oxw();d.Q6J("footer",!1)("taskParticipants",i.taskParticipants)("taskParticipantsCc",i.taskParticipantsCc)("adding",i.adding)}}var _=function(){var e=function(){function e(n,i,o,a,c,s,d,l,u,g){t(this,e),this.modalController=n,this.router=i,this.navParams=o,this.processes=a,this.attachmentsService=c,this.calendarService=s,this.alertController=d,this.alertService=l,this.animationController=u,this.toastService=g,this.taskParticipants=[],this.taskParticipantsCc=[],this.adding="intervenient",this.formLocationSatus=!1,this.showAttendees=!1,this.task=this.navParams.get("task"),this.postData=new r.j,this.eventBody={BodyType:"1",Text:""},this.postData.Body=this.eventBody,this.postData.Subject=this.task.Folio,this.postData.CalendarName="Oficial",new Date}return n(e,[{key:"ngOnInit",value:function(){this.adding="intervenient",console.log(this.task)}},{key:"close",value:function(){this.modalController.dismiss(null)}},{key:"cancelTask",value:function(){this.modalController.dismiss(null)}},{key:"saveTask",value:function(){return(0,a.mG)(this,void 0,void 0,regeneratorRuntime.mark(function t(){var e,n=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.taskParticipants.length<1?this.toastService.badRequest("Selecione um destinat\xe1rio"):this.taskParticipants.length>1?this.toastService.badRequest("Selecione apenas um destinat\xe1rio"):(e={SerialNumber:this.task.SerialNumber,DispatchDocId:this.task.DocId,FolderID:this.task.FolderId,Subject:this.task.Folio,Comment:this.note,DelegatedUserEmail:this.taskParticipants[0].EmailAddress},console.log(e),this.processes.DelegateTask(e).subscribe(function(t){console.log(t),n.toastService.successMessage("Processo delegado"),n.close()},function(t){n.toastService.badRequest("Processo n\xe3o delegado")}));case 1:case"end":return t.stop()}},t,this)}))}},{key:"addParticipants",value:function(){return(0,a.mG)(this,void 0,void 0,regeneratorRuntime.mark(function t(){var e,n=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.adding="intervenient",!(window.innerWidth<=800)){t.next=10;break}return this.showAttendees=!1,t.next=4,this.modalController.create({component:s.V,componentProps:{adding:this.adding,taskParticipants:this.taskParticipants,taskParticipantsCc:this.taskParticipantsCc},cssClass:"modal attendee",backdropDismiss:!1});case 4:return e=t.sent,t.next=7,e.present();case 7:e.onDidDismiss().then(function(t){if(t){var e=(t=t.data).taskParticipantsCc;n.setIntervenient(t.taskParticipants),n.setIntervenientCC(e)}}),t.next=11;break;case 10:this.showAttendees=!0;case 11:case"end":return t.stop()}},t,this)}))}},{key:"setContact",value:function(t){return(0,a.mG)(this,void 0,void 0,regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:"intervenient"==this.adding?this.taskParticipants=t:"CC"==this.adding&&(this.taskParticipantsCc=t);case 1:case"end":return e.stop()}},e,this)}))}},{key:"setIntervenient",value:function(t){return(0,a.mG)(this,void 0,void 0,regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.taskParticipants=t;case 1:case"end":return e.stop()}},e,this)}))}},{key:"setIntervenientCC",value:function(t){return(0,a.mG)(this,void 0,void 0,regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.taskParticipantsCc=t;case 1:case"end":return e.stop()}},e,this)}))}},{key:"closeComponent",value:function(){return(0,a.mG)(this,void 0,void 0,regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.showAttendees=!1;case 1:case"end":return t.stop()}},t,this)}))}},{key:"distartExpedientModal",value:function(){return(0,a.mG)(this,void 0,void 0,regeneratorRuntime.mark(function t(){var e;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.modalController.create({component:c.Q,componentProps:{serialNumber:this.task.SerialNumber},cssClass:"discart-expedient-modal",backdropDismiss:!1});case 2:return e=t.sent,t.next=5,e.present();case 5:e.onDidDismiss();case 6:case"end":return t.stop()}},t,this)}))}},{key:"validateFormInputs",value:function(){var t=this.postData.Location.trim();!this.postData.Location&&t.length<=0&&(this.formLocationSatus=!0)}},{key:"dynamicSetIntervenient",value:function(t){var e=t.taskParticipants;this.taskParticipants=e}}]),e}();return e.\u0275fac=function(t){return new(t||e)(d.Y36(l.IN),d.Y36(u.F0),d.Y36(l.X1),d.Y36(g.$),d.Y36(p.o),d.Y36(h.n),d.Y36(l.Br),d.Y36(f.c),d.Y36(l.vB),d.Y36(m.k))},e.\u0275cmp=d.Xpm({type:e,selectors:[["app-delegar"]],decls:42,vars:5,consts:[[1,"main-content","d-flex","height-100"],[1,"content","d-flex","flex-column","width-100"],[1,"header-content","pb-20"],[1,"header-title"],[1,"overflow-y-auto"],[1,"container-div"],[1,"ion-item-class-2"],[1,"ion-icon-class"],["slot","start","src","assets/images/icons-person.svg"],[1,"ion-input-class-no-height"],[1,"list-people"],["lines","none"],["class","list-people-title",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"add-people",3,"click"],["slot","start","src","assets/images/icons-arrow-forward.svg"],[1,"ion-item-class-2","d-flex"],["slot","start","src","assets/images/icons-description.svg"],[1,"ion-input-class-no-height","width-100"],["placeholder","Detalhes","rows","6","cols","20",3,"ngModel","ngModelChange"],["hidden","",1,"ion-item-container-no-border"],[1,"attach-icon"],["src","assets/images/icons-attach-doc.svg"],[1,"attach-document"],[4,"ngIf"],[1,"aside-righ","flex-grow-1"],["class"," d-flex flex-column height-100",3,"footer","taskParticipants","taskParticipantsCc","adding","dynamicSetIntervenient",4,"ngIf"],[1,"buttons"],["shape","round",1,"btn-cancel",3,"click"],["shape","round",1,"btn-ok",3,"click"],[1,"list-people-title"],[1,"attach-title-item"],[1,"span-left"],[1,"span-right"],[1,"d-flex","flex-column","height-100",3,"footer","taskParticipants","taskParticipantsCc","adding","dynamicSetIntervenient"]],template:function(t,e){1&t&&(d.TgZ(0,"ion-content"),d.TgZ(1,"div",0),d.TgZ(2,"div",1),d.TgZ(3,"div",2),d.TgZ(4,"div",3),d.TgZ(5,"label"),d._uU(6,"Delegar"),d.qZA(),d.qZA(),d.qZA(),d.TgZ(7,"div",4),d.TgZ(8,"div",5),d.TgZ(9,"div",6),d.TgZ(10,"div",7),d._UZ(11,"ion-icon",8),d.qZA(),d.TgZ(12,"div",9),d.TgZ(13,"div",10),d.TgZ(14,"ion-item",11),d.TgZ(15,"ion-list"),d.YNc(16,k,2,0,"ion-label",12),d.YNc(17,b,2,1,"ion-label",13),d.qZA(),d.qZA(),d.qZA(),d.TgZ(18,"div",14),d.NdJ("click",function(){return e.addParticipants()}),d._UZ(19,"ion-icon",15),d.qZA(),d.qZA(),d.qZA(),d.qZA(),d.TgZ(20,"div",5),d.TgZ(21,"div",16),d.TgZ(22,"div",7),d._UZ(23,"ion-icon",17),d.qZA(),d.TgZ(24,"div",18),d.TgZ(25,"ion-textarea",19),d.NdJ("ngModelChange",function(t){return e.note=t}),d.qZA(),d.qZA(),d.qZA(),d.qZA(),d.TgZ(26,"div",20),d.TgZ(27,"ion-label"),d.TgZ(28,"div",21),d._UZ(29,"ion-icon",22),d.qZA(),d.TgZ(30,"div",23),d.TgZ(31,"ion-label"),d._uU(32,"Anexar Documentos"),d.qZA(),d.qZA(),d.qZA(),d.qZA(),d.YNc(33,w,6,1,"div",24),d.qZA(),d.qZA(),d.TgZ(34,"div",25),d.YNc(35,P,1,4,"app-attendee-modal",26),d.qZA(),d.qZA(),d.qZA(),d.TgZ(36,"ion-footer"),d.TgZ(37,"div",27),d.TgZ(38,"button",28),d.NdJ("click",function(){return e.cancelTask()}),d._uU(39,"Cancelar"),d.qZA(),d.TgZ(40,"button",29),d.NdJ("click",function(){return e.saveTask()}),d._uU(41,"Gravar"),d.qZA(),d.qZA(),d.qZA()),2&t&&(d.xp6(16),d.Q6J("ngIf",(null==e.taskParticipants?null:e.taskParticipants.length)<1),d.xp6(1),d.Q6J("ngForOf",e.taskParticipants),d.xp6(8),d.Q6J("ngModel",e.note),d.xp6(8),d.Q6J("ngIf",e.loadedAttachments),d.xp6(2),d.Q6J("ngIf",e.showAttendees))},directives:[l.W2,l.gu,l.Ie,l.q_,v.O5,v.sg,l.g2,l.j9,Z.JJ,Z.On,l.Q$,l.fr,x.Y],pipes:[v.uU],styles:[".content[_ngcontent-%COMP%]{padding:30px 20px 0!important;margin:0;float:left}.content[_ngcontent-%COMP%] .header-content[_ngcontent-%COMP%]{margin-bottom:20px!important}.content[_ngcontent-%COMP%] .header-title[_ngcontent-%COMP%]{font-family:Roboto;font-size:25px;padding:0;color:#000;float:left}.content[_ngcontent-%COMP%] .ion-item-container[_ngcontent-%COMP%]{margin:15px auto;border:1px solid #ebebeb;border-radius:5px;padding-left:10px}.content[_ngcontent-%COMP%] .ion-item-container-no-border[_ngcontent-%COMP%]{margin:0 auto;padding:0!important;overflow:auto}.content[_ngcontent-%COMP%] .container-div[_ngcontent-%COMP%]{margin-bottom:15px;overflow:hidden}.content[_ngcontent-%COMP%] .ion-item-class-2[_ngcontent-%COMP%]{margin:0 auto}.content[_ngcontent-%COMP%] .ion-icon-class[_ngcontent-%COMP%]{width:45px;height:45px;float:left;padding:10px;font-size:25px}.content[_ngcontent-%COMP%] ion-select[_ngcontent-%COMP%]{padding-left:5px;margin-left:0}.content[_ngcontent-%COMP%] .ion-input-class[_ngcontent-%COMP%]{width:calc(100% - 45px);height:45px;border:1px solid #ebebeb;border-radius:5px;padding-left:5px;padding-right:10px;float:left}.content[_ngcontent-%COMP%] .ion-input-class-no-height[_ngcontent-%COMP%]{border:1px solid #ebebeb;border-radius:5px;overflow:auto}.content[_ngcontent-%COMP%] .list-people[_ngcontent-%COMP%]{width:256px;float:left}.content[_ngcontent-%COMP%] .add-people[_ngcontent-%COMP%]{width:45px;float:right;overflow:auto;font-size:25px;padding:10px}.content[_ngcontent-%COMP%] .list-people-title[_ngcontent-%COMP%]{color:#797979}.content[_ngcontent-%COMP%] .attach-document[_ngcontent-%COMP%]{font-size:15px;color:#0d89d1;margin:5px 5px 5px 10px;padding:5px;float:left}.content[_ngcontent-%COMP%] .attach-icon[_ngcontent-%COMP%]{width:37px;font-size:35px;float:left}.content[_ngcontent-%COMP%] .attach-title-item[_ngcontent-%COMP%]{width:100%;font-size:15px;color:#0d89d1}.content[_ngcontent-%COMP%] .span-left[_ngcontent-%COMP%]{float:left;font-size:15x}.content[_ngcontent-%COMP%] .span-right[_ngcontent-%COMP%]{text-align:right;float:right;font-size:13px}.container-footer[_ngcontent-%COMP%]{margin:0 auto;overflow:auto}.button-cancel[_ngcontent-%COMP%]{--background:#e0e9ee;--color:#061b52}.button-cancel[_ngcontent-%COMP%], .button-save[_ngcontent-%COMP%]{width:170px;height:44px;border-radius:22.5px;margin:10px}.button-save[_ngcontent-%COMP%]{--background:#42b9fe;--color:#fff}.text-input[_ngcontent-%COMP%]{width:100%;border:1px solid #ebebeb;margin:0 15px 15px 0;padding:0!important;border-radius:5px}.error[_ngcontent-%COMP%]{font-size:12px;font-weight:700;padding-bottom:20px}.error[_ngcontent-%COMP%], .span-color[_ngcontent-%COMP%]{color:red}.buttons[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:20px;overflow:auto}"]}),e}()},6527:function(e,n,i){"use strict";i.d(n,{a:function(){return g}});var o=i(38583),a=i(3679),r=i(35957),c=i(39895),s=i(962),d=i(37716),l=[{path:"",component:s.E}],u=function(){var e=function e(){t(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=d.oAB({type:e}),e.\u0275inj=d.cJS({imports:[[c.Bz.forChild(l)],c.Bz]}),e}(),g=function(){var e=function e(){t(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=d.oAB({type:e}),e.\u0275inj=d.cJS({imports:[[o.ez,a.u5,r.Pc,u]]}),e}()},962:function(e,i,o){"use strict";o.d(i,{E:function(){return k}});var a=o(64762),r=o(4528),c=o(33559),s=o(37716),d=o(39895),l=o(35957),u=o(37556),g=o(38583),p=o(3679);function h(t,e){if(1&t){var n=s.EpF();s.TgZ(0,"div",21),s.TgZ(1,"div",22),s.NdJ("click",function(){return s.CHM(n),s.oxw().openSearch()}),s._UZ(2,"ion-icon",23),s.qZA(),s.qZA()}}function f(t,e){if(1&t){var n=s.EpF();s.TgZ(0,"div",28),s.NdJ("click",function(){s.CHM(n);var t=s.oxw(2);return t.openSearch(),t.showSearch=!0}),s._UZ(1,"ion-icon",23),s.qZA()}}function m(t,e){if(1&t){var n=s.EpF();s.TgZ(0,"button",29),s.NdJ("click",function(){s.CHM(n);var t=s.oxw(2);return t.closeSearch(),t.showSearch=!1,t.searchSubject=""}),s._UZ(1,"ion-icon",30),s.qZA()}}function v(t,e){if(1&t){var n=s.EpF();s.TgZ(0,"div",32),s.TgZ(1,"div",33),s.NdJ("click",function(){return s.CHM(n),s.oxw(3).basicSearch()}),s._UZ(2,"ion-icon",34),s.qZA(),s.TgZ(3,"div",35),s.TgZ(4,"ion-input",36),s.NdJ("keyup.enter",function(){return s.CHM(n),s.oxw(3).basicSearch()})("ngModelChange",function(t){return s.CHM(n),s.oxw(3).searchSubject=t})("ngModelChange",function(){return s.CHM(n),s.oxw(3).dynamicSearch()}),s.qZA(),s.qZA(),s.TgZ(5,"div",33),s.NdJ("click",function(){return s.CHM(n),s.oxw(3).clearSearchInput()}),s._UZ(6,"ion-icon",37),s.qZA(),s.qZA()}if(2&t){var i=s.oxw(3);s.xp6(4),s.Q6J("ngModel",i.searchSubject)}}function Z(t,e){if(1&t&&(s.TgZ(0,"div"),s.YNc(1,v,7,1,"div",31),s.qZA()),2&t){var n=s.oxw(2);s.xp6(1),s.Q6J("ngIf",n.showSearch)}}function x(t,e){if(1&t&&(s.TgZ(0,"div",24),s.YNc(1,f,2,0,"div",25),s.YNc(2,m,2,0,"button",26),s.YNc(3,Z,2,1,"div",27),s.qZA()),2&t){var n=s.oxw();s.xp6(1),s.Q6J("ngIf",!n.showSearch),s.xp6(1),s.Q6J("ngIf",n.showSearch),s.xp6(1),s.Q6J("ngIf",n.showSearch)}}var k=function(){var e=function(){function e(n,i,o,a){var r=this;t(this,e),this.router=n,this.modalController=i,this.animationController=o,this.searchSubject="",this.showSearch=!1,this.hideSearchBtn=!1,this.loggeduser=a.ValidatedUser,n.events.subscribe(function(t){r.showSearch=!1})}return n(e,[{key:"ngOnInit",value:function(){this.hideSearch()}},{key:"hideSearch",value:function(){"/home/events"!=this.router.url&&"/home/chat"!=this.router.url||(this.hideSearchBtn=!0)}},{key:"locationPathname",value:function(){return window.location.pathname}},{key:"openSearch",value:function(){return(0,a.mG)(this,void 0,void 0,regeneratorRuntime.mark(function t(){var e,n,i,o;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return window.innerWidth<1366?(e="modal modal-width-100",n=!0):(e="modal modal-desktop desktop-search",n=!1),window.location.pathname.startsWith("/home/agenda")?i="Agenda":window.location.pathname.startsWith("/home/gabinete-digital")?i="AccoesPresidenciais & ArquivoDespachoElect":window.location.pathname.startsWith("/home/publications")&&(i="AccoesPresidenciais"),t.next=3,this.modalController.create({component:r.Z,cssClass:e,componentProps:{type:i,showSearchInput:n,select:!1}});case 3:return o=t.sent,t.next=6,o.present();case 6:return t.abrupt("return",t.sent);case 7:case"end":return t.stop()}},t,this)}))}},{key:"changeRoute",value:function(t){this.router.navigateByUrl(t)}},{key:"openProfile",value:function(){return(0,a.mG)(this,void 0,void 0,regeneratorRuntime.mark(function t(){var e,n,i=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=function(t){var e=i.animationController.create().addElement(t.querySelector("ion-backdrop")).fromTo("opacity","0.01","var(--backdrop-opacity)"),n=i.animationController.create().addElement(t.querySelector(".modal-wrapper")).keyframes([{offset:0,opacity:"1",right:"-100%"},{offset:1,opacity:"1",right:"0px"}]);return i.animationController.create().addElement(t).easing("ease-out").duration(500).addAnimation([e,n])},t.next=3,this.modalController.create({enterAnimation:e,leaveAnimation:function(t){return e(t).direction("reverse")},component:c.G,cssClass:"model profile-modal search-submodal",componentProps:{}});case 3:return n=t.sent,t.next=6,n.present();case 6:return t.abrupt("return",t.sent);case 7:case"end":return t.stop()}},t,this)}))}},{key:"dynamicSearch",value:function(){return(0,a.mG)(this,void 0,void 0,regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:window.dynamicSearch(this.searchSubject);case 1:case"end":return t.stop()}},t,this)}))}},{key:"closeSearch",value:function(){return(0,a.mG)(this,void 0,void 0,regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.modalController.dismiss();case 1:case"end":return t.stop()}},t,this)}))}},{key:"clearSearchInput",value:function(){this.searchSubject="",window.dynamicSearch(this.searchSubject)}},{key:"basicSearch",value:function(){return(0,a.mG)(this,void 0,void 0,regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:window.searchTriger();case 1:case"end":return t.stop()}},t)}))}},{key:"profileLabel",value:function(t){return"MDGPR"==t?"MD":"PR"==t?t:"UN"}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s.Y36(d.F0),s.Y36(l.IN),s.Y36(l.vB),s.Y36(u.e))},e.\u0275cmp=s.Xpm({type:e,selectors:[["app-header"]],decls:40,vars:14,consts:[[1,"pb-10","ion-toolbar","text-white"],[1,"mobile","d-flex","div-top-header","justify-space-between"],["class","div-search",4,"ngIf"],[1,"div-logo","height-fit-content"],["src","assets/images/logo-no-bg.png","alt","logo"],[1,"div-profile","cursor-pointer",3,"click"],["src","assets/images/icons-profile.svg",1,"icon"],[1,"profile-text"],[1,"desktop","mx-20"],[1,"d-flex","justify-space-between","align-center"],["tab","events",1,"div-logo","height-fit-content"],[1,"d-flex","flex-1","pr-20","pl-50"],[1,"tab","mr-20","d-flex","align-center","cursor-pointer",3,"click"],["src","assets/images/icons-nav-home-active.svg",1,"font-40"],["src","assets/images/icons-nav-agenda-inactive.svg",1,"font-40"],["src","assets/images/icons-nav-home-dk.svg",1,"font-40"],["src","assets/images/icons-nav-a-es-inactive.svg",1,"font-40"],["src","assets/images/icons-nav-grupos-inactive-dk-white.svg",1,"font-40"],[1,"header-btns","d-flex"],["class","mr-10 d-flex align-center cursor-pointer",4,"ngIf"],[1,"div-profile","d-flex","cursor-pointer",3,"click"],[1,"div-search"],[3,"click"],["src","assets/images/icons-search.svg",1,"font-45"],[1,"mr-10","d-flex","align-center","cursor-pointer"],["style","padding-top: 5px;",3,"click",4,"ngIf"],["class","btn-no-color",3,"click",4,"ngIf"],[4,"ngIf"],[2,"padding-top","5px",3,"click"],[1,"btn-no-color",3,"click"],["name","restaurant-outline","src","assets/images/icons-search-close.svg",1,"font-40"],["class","d-flex search-input-container ml-10 justify-between",4,"ngIf"],[1,"d-flex","search-input-container","ml-10","justify-between"],[1,"icon",3,"click"],["slot","end","name","search",1,"icon-z"],[1,"input-text","d-flex","ion-align-items-center"],["type","search","placeholder","Pesquisar",1,"search-input","text-black",3,"ngModel","keyup.enter","ngModelChange"],["name","restaurant-outline","src","assets/images/icons-search-close.svg"]],template:function(t,e){1&t&&(s.TgZ(0,"div",0),s.TgZ(1,"div",1),s.YNc(2,h,3,0,"div",2),s.TgZ(3,"div",3),s._UZ(4,"img",4),s.qZA(),s.TgZ(5,"div",5),s.NdJ("click",function(){return e.openProfile()}),s._UZ(6,"ion-icon",6),s.TgZ(7,"ion-label",7),s._uU(8),s.qZA(),s.qZA(),s.qZA(),s.TgZ(9,"div",8),s.TgZ(10,"div",9),s.TgZ(11,"div",10),s._UZ(12,"img",4),s.qZA(),s.TgZ(13,"div",11),s.TgZ(14,"div",12),s.NdJ("click",function(){return e.changeRoute("/home/events")}),s._UZ(15,"ion-icon",13),s.TgZ(16,"span"),s._uU(17,"In\xedcio"),s.qZA(),s.qZA(),s.TgZ(18,"div",12),s.NdJ("click",function(){return e.changeRoute("/home/agenda")}),s._UZ(19,"ion-icon",14),s.TgZ(20,"span"),s._uU(21,"Agenda"),s.qZA(),s.qZA(),s.TgZ(22,"div",12),s.NdJ("click",function(){return e.changeRoute("/home/gabinete-digital")}),s._UZ(23,"ion-icon",15),s.TgZ(24,"span"),s._uU(25,"Gabinete"),s.qZA(),s.qZA(),s.TgZ(26,"div",12),s.NdJ("click",function(){return e.changeRoute("/home/publications")}),s._UZ(27,"ion-icon",16),s.TgZ(28,"span"),s._uU(29,"Ac\xe7\xf5es"),s.qZA(),s.qZA(),s.TgZ(30,"div",12),s.NdJ("click",function(){return e.changeRoute("/home/chat")}),s._UZ(31,"ion-icon",17),s.TgZ(32,"span"),s._uU(33,"Chat"),s.qZA(),s.qZA(),s.qZA(),s.TgZ(34,"div",18),s.YNc(35,x,4,3,"div",19),s.TgZ(36,"div",20),s.NdJ("click",function(){return e.openProfile()}),s._UZ(37,"ion-icon",6),s.TgZ(38,"ion-label",7),s._uU(39),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.qZA(),s.qZA()),2&t&&(s.xp6(2),s.Q6J("ngIf",!e.hideSearchBtn),s.xp6(6),s.Oqu(e.loggeduser.Profile),s.xp6(6),s.ekj("active","/home/events"==e.locationPathname()),s.xp6(4),s.ekj("active","/home/agenda"==e.locationPathname()),s.xp6(4),s.ekj("active","/home/gabinete-digital"==e.locationPathname()),s.xp6(4),s.ekj("active","/home/publications"==e.locationPathname()),s.xp6(4),s.ekj("active","/home/chat"==e.locationPathname()),s.xp6(5),s.Q6J("ngIf",!e.hideSearchBtn),s.xp6(4),s.Oqu(e.profileLabel(e.loggeduser.Profile)))},directives:[g.O5,l.gu,l.Q$,l.pK,l.j9,p.JJ,p.On],styles:[".div-top-header[_ngcontent-%COMP%]{margin:0 1.25em;padding-top:.9375em;border:0!important}.div-logo[_ngcontent-%COMP%]{background:transparent;width:8.75em;justify-content:center;display:flex}.div-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;margin:0 auto}.header-btns[_ngcontent-%COMP%]{justify-content:center;align-items:center}.div-profile[_ngcontent-%COMP%]{width:90px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;font-size:45px;justify-content:flex-end;display:flex;background-color:transparent;justify-content:center;align-items:center;overflow:auto}.div-profile[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{position:relative;border:none!important}.div-profile[_ngcontent-%COMP%] .profile-text[_ngcontent-%COMP%]{font-size:20px;font-weight:300;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;position:absolute}.desktop[_ngcontent-%COMP%]{display:none}@media only screen and (min-width: 1366px){.mobile[_ngcontent-%COMP%]{display:none!important}.desktop[_ngcontent-%COMP%]{display:block}}.tab[_ngcontent-%COMP%]{height:65px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.active[_ngcontent-%COMP%]{border-top:7px solid #fff}.search-input-container[_ngcontent-%COMP%]{background-color:#fff;border-radius:27.5px;border:1px solid #ebebeb}.search-input-container[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{color:#797979;width:45px;height:45px;display:flex;justify-content:center;font-size:25px;align-items:center}.search-input-container[_ngcontent-%COMP%] .input-text[_ngcontent-%COMP%]{width:100%}.search-input-container[_ngcontent-%COMP%] .icon-z[_ngcontent-%COMP%]{width:20px}"]}),e}()}}])}(); |