mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
1 line
21 KiB
JavaScript
1 line
21 KiB
JavaScript
!function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function t(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(self.webpackChunkgabinete_digital=self.webpackChunkgabinete_digital||[]).push([[989],{52724:function(e,t,o){"use strict";o.d(t,{n:function(){return i}});var i=function e(){n(this,e)}},94594:function(e,o,i){"use strict";i.d(o,{j:function(){return v}});var a=i(64762),r=i(37716),c=i(20985),s=i(53760),l=i(35957),d=i(38583);function u(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"ion-item",4),r.NdJ("click",function(){var e=r.CHM(n).$implicit;return r.oxw(2).viewDocument(e.Link)}),r._UZ(1,"ion-icon",5),r.TgZ(2,"ion-label",6),r.TgZ(3,"h3",7),r._uU(4),r.qZA(),r.TgZ(5,"p"),r._uU(6),r.qZA(),r.TgZ(7,"p"),r._uU(8),r.qZA(),r.TgZ(9,"p",8),r._uU(10),r.qZA(),r.qZA(),r.qZA()}if(2&e){var o=t.$implicit;r.xp6(4),r.Oqu(o.SourceName),r.xp6(2),r.Oqu(o.Description),r.xp6(2),r.Oqu(o.CreateDate),r.xp6(2),r.Oqu(o.Stakeholders)}}function g(e,t){if(1&e&&(r.TgZ(0,"div"),r.TgZ(1,"ion-list"),r.TgZ(2,"ion-item-sliding"),r.YNc(3,u,11,4,"ion-item",3),r.qZA(),r.qZA(),r.qZA()),2&e){var n=r.oxw();r.xp6(3),r.Q6J("ngForOf",n.loadedEventAttachments)}}function Z(e,t){1&e&&(r.TgZ(0,"div"),r.TgZ(1,"ion-list"),r.TgZ(2,"ion-item"),r.TgZ(3,"ion-avatar",0),r._UZ(4,"ion-skeleton-text",9),r.qZA(),r.TgZ(5,"ion-label"),r.TgZ(6,"h3"),r._UZ(7,"ion-skeleton-text",10),r.qZA(),r.TgZ(8,"p"),r._UZ(9,"ion-skeleton-text",11),r.qZA(),r.TgZ(10,"p"),r._UZ(11,"ion-skeleton-text",12),r.qZA(),r.qZA(),r.qZA(),r.TgZ(12,"ion-item"),r.TgZ(13,"ion-avatar",0),r._UZ(14,"ion-skeleton-text",9),r.qZA(),r.TgZ(15,"ion-label"),r.TgZ(16,"h3"),r._UZ(17,"ion-skeleton-text",10),r.qZA(),r.TgZ(18,"p"),r._UZ(19,"ion-skeleton-text",11),r.qZA(),r.TgZ(20,"p"),r._UZ(21,"ion-skeleton-text",12),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.qZA())}var v=function(){var e=function(){function e(t,o,i,a){n(this,e),this.attachamentsService=t,this.iab=o,this.modalCtrl=i,this.navParams=a}return t(e,[{key:"ngOnInit",value:function(){this.loadAttachments(this.navParams.get("eventId"))}},{key:"loadAttachments",value:function(e){var t=this;this.attachamentsService.getAttachmentsById(e).subscribe(function(n){t.loadedEventAttachments=n,t.pageId=e})}},{key:"viewDocument",value:function(e){return(0,a.mG)(this,void 0,void 0,regeneratorRuntime.mark(function t(){var n;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n=e.replace("webTRIX.Viewer","webTRIX.Viewer.Branch1"),this.iab.create(n,"_blank").show();case 2:case"end":return t.stop()}},t,this)}))}},{key:"close",value:function(){this.modalCtrl.dismiss(null)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(c.o),r.Y36(s.i),r.Y36(l.IN),r.Y36(l.X1))},e.\u0275cmp=r.Xpm({type:e,selectors:[["app-attachments"]],decls:9,vars:2,consts:[["slot","start"],["defaultHref","","icon","chevron-back",3,"click"],[4,"ngIf"],["class","main-item","lines","none",3,"click",4,"ngFor","ngForOf"],["lines","none",1,"main-item",3,"click"],["name","attach",1,"ion-icon-attach",2,"zoom","1.5"],[1,"div-content-attachment"],[1,"h3"],[1,"item-list-small"],["animated",""],["animated","",2,"width","50%"],["animated","",2,"width","80%"],["animated","",2,"width","60%"]],template:function(e,t){1&e&&(r.TgZ(0,"ion-header"),r.TgZ(1,"ion-toolbar"),r.TgZ(2,"ion-buttons",0),r.TgZ(3,"ion-back-button",1),r.NdJ("click",function(){return t.close()}),r.qZA(),r.qZA(),r.TgZ(4,"ion-title"),r._uU(5,"Anexos do evento"),r.qZA(),r.qZA(),r.qZA(),r.TgZ(6,"ion-content"),r.YNc(7,g,4,1,"div",2),r.YNc(8,Z,22,0,"div",2),r.qZA()),2&e&&(r.xp6(7),r.Q6J("ngIf",t.loadedEventAttachments),r.xp6(1),r.Q6J("ngIf",!t.loadedEventAttachments))},directives:[l.Gu,l.sr,l.Sm,l.oU,l.cs,l.wd,l.W2,d.O5,l.q_,l.td,d.sg,l.Ie,l.gu,l.Q$,l.BJ,l.CK],styles:["ion-back-button[_ngcontent-%COMP%]{display:block}ion-content[_ngcontent-%COMP%]{--background:#f2f2f2}.div-attach-results[_ngcontent-%COMP%], ion-item-sliding[_ngcontent-%COMP%], ion-list[_ngcontent-%COMP%]{background:none}.item-list-small[_ngcontent-%COMP%]{font-size:14px;overflow:auto}.ion-item-class[_ngcontent-%COMP%]{padding:0}.label-text[_ngcontent-%COMP%]{width:100%;padding:0;margin:0}.main-item[_ngcontent-%COMP%]{margin:15px;border-radius:5px;box-shadow:0 4px 8px 0 #ccc,0 6px 20px 0 #f2f2f2}.div-content-attachment[_ngcontent-%COMP%]{margin:0;padding:10px}.div-content-attachment[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:18px;font-weight:700;padding-bottom:5px}ion-item[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{--border-color:red}.custom-skeleton[_ngcontent-%COMP%] ion-skeleton-text[_ngcontent-%COMP%]{line-height:13px}.custom-skeleton[_ngcontent-%COMP%] ion-skeleton-text[_ngcontent-%COMP%]:last-child{margin-bottom:5px}"]}),e}()},47352:function(e,o,i){"use strict";i.d(o,{W:function(){return y}});var a=i(64762),r=i(18119),c=i(52724),s=i(55199),l=i(3679),d=i(94594),u=i(37716),g=i(35957),Z=i(39895),v=i(80106),m=i(25970),p=i(20985),f=i(53760),h=i(38583);function A(e,t){1&e&&(u.TgZ(0,"span",29),u._uU(1," Campo obrigat\xf3rio "),u.qZA())}function x(e,t){if(1&e&&(u.TgZ(0,"div"),u.TgZ(1,"ion-list"),u.TgZ(2,"ion-item",31),u._UZ(3,"ion-icon",32),u.TgZ(4,"ion-label",33),u._uU(5),u.qZA(),u.qZA(),u.qZA(),u.qZA()),2&e){var n=u.oxw().$implicit;u.xp6(5),u.Oqu(n.Name)}}function T(e,t){if(1&e&&(u.TgZ(0,"div"),u.YNc(1,x,6,1,"div",7),u.qZA()),2&e){var n=t.index;u.xp6(1),u.Q6J("ngIf",n<1)}}function q(e,t){if(1&e){var n=u.EpF();u.TgZ(0,"div"),u.TgZ(1,"ion-button",34),u.NdJ("click",function(){return u.CHM(n),u.oxw(3).openAttendees()}),u.TgZ(2,"ion-label",27),u._uU(3,"Ver mais..."),u.qZA(),u.qZA(),u.qZA()}}function b(e,t){if(1&e&&(u.TgZ(0,"div"),u.YNc(1,T,2,1,"div",30),u.YNc(2,q,4,0,"div",7),u.qZA()),2&e){var n=u.oxw(2);u.xp6(1),u.Q6J("ngForOf",n.loadedEvent.Attendees),u.xp6(1),u.Q6J("ngIf",n.loadedEvent.Attendees.length>1)}}function _(e,t){1&e&&u._UZ(0,"ion-progress-bar",38)}function C(e,t){if(1&e){var n=u.EpF();u.TgZ(0,"ion-list"),u.YNc(1,_,1,0,"ion-progress-bar",35),u.TgZ(2,"ion-item",36),u.NdJ("click",function(){u.CHM(n);var e=u.oxw(2).$implicit;return u.oxw(3).viewDocument(e.Link)}),u._UZ(3,"ion-icon",37),u.TgZ(4,"ion-label"),u.TgZ(5,"p"),u._uU(6),u.qZA(),u.TgZ(7,"p"),u._uU(8),u.qZA(),u.qZA(),u.qZA(),u.qZA()}if(2&e){var o=u.oxw(2).$implicit,i=u.oxw(3);u.xp6(1),u.Q6J("ngIf",i.showLoader),u.xp6(5),u.Oqu(o.Description),u.xp6(2),u.Oqu(o.CreateDate)}}function k(e,t){if(1&e&&(u.TgZ(0,"div"),u.YNc(1,C,9,3,"ion-list",7),u.qZA()),2&e){var n=u.oxw(4);u.xp6(1),u.Q6J("ngIf",n.loadedEvent.HasAttachments)}}function w(e,t){if(1&e&&(u.TgZ(0,"div"),u.YNc(1,k,2,1,"div",7),u.qZA()),2&e){var n=t.index;u.xp6(1),u.Q6J("ngIf",n<2)}}function M(e,t){if(1&e){var n=u.EpF();u.TgZ(0,"div"),u.TgZ(1,"ion-button",34),u.NdJ("click",function(){return u.CHM(n),u.oxw(3).openAttachments()}),u.TgZ(2,"ion-label",27),u._uU(3,"Ver mais..."),u.qZA(),u.qZA(),u.qZA()}}function E(e,t){if(1&e&&(u.TgZ(0,"div"),u.YNc(1,w,2,1,"div",30),u.YNc(2,M,4,0,"div",7),u.qZA()),2&e){var n=u.oxw(2);u.xp6(1),u.Q6J("ngForOf",n.loadedEventAttachments),u.xp6(1),u.Q6J("ngIf",n.loadedEventAttachments.length>1)}}function U(e,t){1&e&&(u.TgZ(0,"ion-list"),u.TgZ(1,"ion-item",39),u.TgZ(2,"ion-label"),u._uU(3," Sem anexos "),u.qZA(),u.qZA(),u.qZA())}function O(e,t){if(1&e){var n=u.EpF();u.TgZ(0,"div"),u.TgZ(1,"ion-item-group"),u.TgZ(2,"ion-item-sliding"),u.TgZ(3,"form",10),u.TgZ(4,"ion-item"),u.TgZ(5,"ion-label",11),u._uU(6,"Assunto"),u.qZA(),u.TgZ(7,"ion-input",12),u.NdJ("ngModelChange",function(e){return u.CHM(n),u.oxw().loadedEvent.Subject=e}),u.qZA(),u.qZA(),u.YNc(8,A,2,0,"span",13),u.qZA(),u.TgZ(9,"ion-item"),u.TgZ(10,"ion-label",14),u._uU(11,"Descri\xe7\xe3o"),u.qZA(),u.TgZ(12,"ion-input",15),u.NdJ("ngModelChange",function(e){return u.CHM(n),u.oxw().loadedEvent.Body.Text=e}),u.qZA(),u.qZA(),u.TgZ(13,"ion-item"),u.TgZ(14,"ion-label",14),u._uU(15,"Localiza\xe7\xe3o"),u.qZA(),u.TgZ(16,"ion-input",15),u.NdJ("ngModelChange",function(e){return u.CHM(n),u.oxw().loadedEvent.Location=e}),u.qZA(),u.qZA(),u.TgZ(17,"ion-item"),u.TgZ(18,"ion-label",14),u._uU(19,"Calend\xe1rio"),u.qZA(),u.TgZ(20,"ion-select",16),u.NdJ("ngModelChange",function(e){return u.CHM(n),u.oxw().loadedEvent.CalendarName=e}),u.TgZ(21,"ion-select-option",17),u._uU(22,"Pessoal"),u.qZA(),u.TgZ(23,"ion-select-option",18),u._uU(24,"Oficial"),u.qZA(),u.qZA(),u.qZA(),u.TgZ(25,"ion-item"),u.TgZ(26,"ion-label",14),u._uU(27,"Tipo do evento"),u.qZA(),u.TgZ(28,"ion-select",16),u.NdJ("ngModelChange",function(e){return u.CHM(n),u.oxw().loadedEvent.EventType=e}),u.TgZ(29,"ion-select-option",19),u._uU(30,"Reuni\xe3o"),u.qZA(),u.TgZ(31,"ion-select-option",20),u._uU(32,"Viagem"),u.qZA(),u.TgZ(33,"ion-select-option",21),u._uU(34,"Confer\xeancia"),u.qZA(),u.TgZ(35,"ion-select-option",22),u._uU(36,"Encontro"),u.qZA(),u.qZA(),u.qZA(),u.TgZ(37,"ion-item"),u.TgZ(38,"ion-label",14),u._uU(39,"Data In\xedcio"),u.qZA(),u.TgZ(40,"ion-datetime",23),u.NdJ("ngModelChange",function(e){return u.CHM(n),u.oxw().loadedEvent.StartDate=e}),u.qZA(),u.qZA(),u.TgZ(41,"ion-item"),u.TgZ(42,"ion-label",14),u._uU(43,"Data Fim"),u.qZA(),u.TgZ(44,"ion-datetime",24),u.NdJ("ngModelChange",function(e){return u.CHM(n),u.oxw().loadedEvent.EndDate=e}),u.qZA(),u.qZA(),u.TgZ(45,"div",25),u.TgZ(46,"ion-item"),u.TgZ(47,"ion-buttons",26),u.NdJ("click",function(){return u.CHM(n),u.oxw().openAttendees()}),u.TgZ(48,"ion-label",27),u._uU(49,"Editar"),u.qZA(),u.qZA(),u.TgZ(50,"ion-label",28),u._uU(51,"Participantes"),u.qZA(),u.qZA(),u.YNc(52,b,3,2,"div",7),u.qZA(),u.TgZ(53,"div",25),u.TgZ(54,"ion-item"),u.TgZ(55,"ion-buttons",26),u.NdJ("click",function(){return u.CHM(n),u.oxw().showAlert()}),u.TgZ(56,"ion-label",27),u._uU(57,"Editar"),u.qZA(),u.qZA(),u.TgZ(58,"ion-label",28),u._uU(59,"Anexos"),u.qZA(),u.qZA(),u.YNc(60,E,3,2,"div",7),u.YNc(61,U,4,0,"ion-list",7),u.qZA(),u.qZA(),u.qZA(),u.qZA()}if(2&e){var o=u.oxw();u.xp6(3),u.Q6J("formGroup",o.ionicForm),u.xp6(4),u.Q6J("ngModel",o.loadedEvent.Subject),u.xp6(1),u.Q6J("ngIf",null==o.errorControl.subject.errors?null:o.errorControl.subject.errors.required),u.xp6(4),u.Q6J("ngModel",o.loadedEvent.Body.Text),u.xp6(4),u.Q6J("ngModel",o.loadedEvent.Location),u.xp6(4),u.s9C("placeholder",o.loadedEvent.CalendarName),u.Q6J("ngModel",o.loadedEvent.CalendarName),u.xp6(8),u.s9C("placeholder",o.loadedEvent.EventType),u.Q6J("ngModel",o.loadedEvent.EventType),u.xp6(12),u.s9C("value",o.loadedEvent.StartDate),u.Q6J("ngModel",o.loadedEvent.StartDate),u.xp6(4),u.s9C("value",o.loadedEvent.EndDate),u.Q6J("ngModel",o.loadedEvent.EndDate),u.xp6(8),u.Q6J("ngIf",o.loadedEvent.Attendees),u.xp6(8),u.Q6J("ngIf",o.loadedEventAttachments),u.xp6(1),u.Q6J("ngIf",!o.loadedEvent.HasAttachments)}}function J(e,t){1&e&&(u.TgZ(0,"div"),u.TgZ(1,"div",40),u._UZ(2,"ion-skeleton-text",41),u._UZ(3,"ion-skeleton-text",42),u._UZ(4,"ion-skeleton-text",43),u._UZ(5,"ion-skeleton-text",44),u._UZ(6,"ion-skeleton-text",41),u.qZA(),u.TgZ(7,"ion-list"),u.TgZ(8,"ion-list-header"),u.TgZ(9,"ion-label"),u._UZ(10,"ion-skeleton-text",45),u.qZA(),u.qZA(),u.TgZ(11,"ion-item"),u.TgZ(12,"ion-avatar",0),u._UZ(13,"ion-skeleton-text",42),u.qZA(),u.TgZ(14,"ion-label"),u.TgZ(15,"h3"),u._UZ(16,"ion-skeleton-text",46),u.qZA(),u.TgZ(17,"p"),u._UZ(18,"ion-skeleton-text",47),u.qZA(),u.TgZ(19,"p"),u._UZ(20,"ion-skeleton-text",41),u.qZA(),u.qZA(),u.qZA(),u.TgZ(21,"ion-item"),u.TgZ(22,"ion-thumbnail",0),u._UZ(23,"ion-skeleton-text",42),u.qZA(),u.TgZ(24,"ion-label"),u.TgZ(25,"h3"),u._UZ(26,"ion-skeleton-text",46),u.qZA(),u.TgZ(27,"p"),u._UZ(28,"ion-skeleton-text",47),u.qZA(),u.TgZ(29,"p"),u._UZ(30,"ion-skeleton-text",41),u.qZA(),u.qZA(),u.qZA(),u.TgZ(31,"ion-item"),u._UZ(32,"ion-skeleton-text",48),u.TgZ(33,"ion-label"),u.TgZ(34,"h3"),u._UZ(35,"ion-skeleton-text",46),u.qZA(),u.TgZ(36,"p"),u._UZ(37,"ion-skeleton-text",47),u.qZA(),u.TgZ(38,"p"),u._UZ(39,"ion-skeleton-text",41),u.qZA(),u.qZA(),u.qZA(),u.qZA(),u.qZA())}var y=function(){var e=function(){function e(t,o,i,a,s,l,d,u,g,Z){n(this,e),this.formBuilder=t,this.alertController=o,this.router=i,this.activatedRoute=a,this.eventsService=s,this.modalCtrl=l,this.alertService=d,this.attachamentsService=u,this.route=g,this.iab=Z,this.isSubmitted=!1,this.loadedEvent=new r.j,this.loadedEvent.Body=new c.n}return t(e,[{key:"ngOnInit",value:function(){this.loadEvent(),this.loadAttachments(),this.ionicForm=this.formBuilder.group({subject:["",[l.kI.required]]})}},{key:"errorControl",get:function(){return this.ionicForm.controls}},{key:"loadEvent",value:function(){var e,t=this;this.activatedRoute.paramMap.subscribe(function(n){n.has("eventId")&&(t.pageId=n.get("eventId"),e=n.get("eventId"),console.log(e),n.has("caller")&&(t.backURL="/home/"+n.get("caller")))}),this.eventsService.getEvent(e).subscribe(function(e){t.loadedEvent=e})}},{key:"openAttendees",value:function(){return(0,a.mG)(this,void 0,void 0,regeneratorRuntime.mark(function e(){var t,n=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.modalCtrl.create({component:s.V,componentProps:{eventAttendees:this.loadedEvent.Attendees},cssClass:"attendee",backdropDismiss:!1});case 2:return t=e.sent,e.next=5,t.present();case 5:t.onDidDismiss().then(function(e){null!=e.data&&(n.loadedEvent.Attendees=e.data)});case 6:case"end":return e.stop()}},e,this)}))}},{key:"getEventAttendees",value:function(){return this.loadedEvent.Attendees}},{key:"setEventAttendees",value:function(e){this.loadedEvent.Attendees=e}},{key:"deleteConfirm",value:function(){return(0,a.mG)(this,void 0,void 0,regeneratorRuntime.mark(function e(){var t,n=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.alertController.create({cssClass:"my-custom-class",header:"Apagar evento!",message:"Deseja <strong>apagar</strong> o evento da agenda "+this.loadedEvent.CalendarName+"?",buttons:[{text:"N\xe3o",role:"cancel",cssClass:"secondary",handler:function(){}},{text:"Sim",handler:function(){n.Delete()}}]});case 2:return t=e.sent,e.next=5,t.present();case 5:case"end":return e.stop()}},e,this)}))}},{key:"Delete",value:function(){var e=this;this.eventsService.deleteEvent(this.loadedEvent.EventId,0).subscribe(function(){return(0,a.mG)(e,void 0,void 0,regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.router.navigate(["/home/events"]);case 1:case"end":return e.stop()}},e,this)}))})}},{key:"Save",value:function(){var e=this;this.ionicForm.valid&&(this.activatedRoute.paramMap.subscribe(function(e){e.has("profile")&&console.log(e.get("profile"))}),this.eventsService.editEvent(this.loadedEvent,2,3).subscribe(function(){return(0,a.mG)(e,void 0,void 0,regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.alertController.create({cssClass:"my-custom-class",header:"Evento actualizado",buttons:["OK"]});case 2:t=e.sent,setTimeout(function(){t.dismiss()},1500);case 4:case"end":return e.stop()}},e,this)}))}))}},{key:"showAlert",value:function(){this.alertService.presentAlert("Funcionalidade em desenvolvimento")}},{key:"loadAttachments",value:function(){var e=this;this.attachamentsService.getAttachmentsById(this.pageId).subscribe(function(t){e.loadedEventAttachments=t,console.log(t)})}},{key:"viewDocument",value:function(e){return(0,a.mG)(this,void 0,void 0,regeneratorRuntime.mark(function t(){var n;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n=e.replace("webTRIX.Viewer","webTRIX.Viewer.Branch1"),this.iab.create(n,"_blank").show();case 2:case"end":return t.stop()}},t,this)}))}},{key:"back",value:function(){}},{key:"doRefresh",value:function(e){e.target.complete(),setTimeout(function(){e.target.complete()},2e3)}},{key:"navigateTo",value:function(e){this.route.navigate(["/home/events",e])}},{key:"openAttachments",value:function(){return(0,a.mG)(this,void 0,void 0,regeneratorRuntime.mark(function e(){var t,n=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.modalCtrl.create({component:d.j,componentProps:{eventId:this.pageId,attachments:this.loadedEventAttachments},cssClass:"attachments",backdropDismiss:!1});case 2:return t=e.sent,e.next=5,t.present();case 5:t.onDidDismiss().then(function(e){null!=e.data&&(n.loadedEvent.Attendees=e.data)});case 6:case"end":return e.stop()}},e,this)}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.Y36(l.qu),u.Y36(g.Br),u.Y36(Z.F0),u.Y36(Z.gz),u.Y36(v.n),u.Y36(g.IN),u.Y36(m.c),u.Y36(p.o),u.Y36(Z.F0),u.Y36(f.i))},e.\u0275cmp=u.Xpm({type:e,selectors:[["app-event-detail"]],decls:17,vars:3,consts:[["slot","start"],[3,"defaultHref"],[1,"header-title"],["slot","end"],[1,"ion-icon-delete",3,"click"],["name","trash"],["padding",""],[4,"ngIf"],[1,"event-detail-buttons"],["fill","clear","color","#fff","shape","round",1,"btn-ok",3,"click"],["novalidate","",3,"formGroup"],["position","stacked",1,"capitalizeText"],["formControlName","subject","type","text","required","",1,"capitalizeText",3,"ngModel","ngModelChange"],["class","error ion-padding",4,"ngIf"],["position","stacked"],[1,"capitalizeText",3,"ngModel","ngModelChange"],["interface","action-sheet","Cancel-text","Cancelar",1,"custom-options",3,"placeholder","ngModel","ngModelChange"],["Pessoal","Reuni\xe3o"],["Oficial","Viagem"],["value","Reuni\xe3o"],["value","Viagem"],["value","Confer\xeancia"],["value","Encontro"],["min","2020","max","2100","displayFormat","D MMM YYYY H:mm","minuteValues","0,15,30,45","monthShortNames","Jan, Fev, Mar, Abr, Mai, Jun, Jul, Aug, Sep, Out, Nov, Dez",3,"value","ngModel","ngModelChange"],["min","2020","max","2100","displayFormat","D MMM YYYY HH:mm","minuteValues","0,15,30,45","monthShortNames","Jan, Fev, Mar, Abr, Mai, Jun, Jul, Aug, Sep, Out, Nov, Dez",3,"value","ngModel","ngModelChange"],[1,"div-attach"],["slot","end",3,"click"],["color","secondary"],[1,"attach-label"],[1,"error","ion-padding"],[4,"ngFor","ngForOf"],["lines","none",1,"attendees"],["name","person","slot","start",1,"attendees-icon"],[1,"attendees-list"],["fill","none","shape","round",1,"see-more-button",3,"click"],["type","indeterminate",4,"ngIf"],["lines","none",3,"click"],["name","attach","slot","start"],["type","indeterminate"],["lines","none"],[1,"ion-padding","custom-skeleton"],["animated","",2,"width","60%"],["animated",""],["animated","",2,"width","88%"],["animated","",2,"width","70%"],["animated","",2,"width","20%"],["animated","",2,"width","50%"],["animated","",2,"width","80%"],["animated","","slot","start",2,"width","27px","height","27px"]],template:function(e,t){1&e&&(u.TgZ(0,"ion-header"),u.TgZ(1,"ion-toolbar"),u.TgZ(2,"ion-buttons",0),u._UZ(3,"ion-back-button",1),u.qZA(),u.TgZ(4,"ion-title",2),u._uU(5,"Visualizar Evento"),u.qZA(),u.TgZ(6,"ion-buttons",3),u.TgZ(7,"button",4),u.NdJ("click",function(){return t.deleteConfirm()}),u._UZ(8,"ion-icon",5),u.qZA(),u.qZA(),u.qZA(),u.qZA(),u.TgZ(9,"ion-content",6),u.YNc(10,O,62,16,"div",7),u.YNc(11,J,40,0,"div",7),u.qZA(),u.TgZ(12,"ion-footer"),u.TgZ(13,"ion-toolbar"),u.TgZ(14,"div",8),u.TgZ(15,"ion-button",9),u.NdJ("click",function(){return t.Save()}),u._uU(16,"Gravar"),u.qZA(),u.qZA(),u.qZA(),u.qZA()),2&e&&(u.xp6(3),u.s9C("defaultHref",t.backURL),u.xp6(7),u.Q6J("ngIf",t.loadedEvent),u.xp6(1),u.Q6J("ngIf",!t.loadedEvent))},directives:[g.Gu,g.sr,g.Sm,g.oU,g.cs,g.wd,g.gu,g.W2,h.O5,g.fr,g.YG,g.Ub,g.td,l._Y,l.JL,l.sg,g.Ie,g.Q$,g.pK,g.j9,l.JJ,l.u,l.Q7,l.On,g.t9,g.QI,g.n0,g.x4,h.sg,g.q_,g.X7,g.CK,g.yh,g.BJ,g.Bs],styles:["ion-item-group[_ngcontent-%COMP%]{margin:15px}.div-item[_ngcontent-%COMP%]{border-bottom:1px solid #ccc;margin:10px 0 5px}.div-item[_ngcontent-%COMP%], .div-up[_ngcontent-%COMP%]{width:100%;overflow:auto}.div-up[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;padding:0;font-size:17px;width:100%}.div-icon[_ngcontent-%COMP%]{width:10%;font-size:22px;float:left;color:grey}.div-icon[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{display:block;margin:0 auto}.div-content-attachment[_ngcontent-%COMP%]{width:85%;float:left;padding:0 0 0 12px}.ion-icon-attach[_ngcontent-%COMP%]{color:#666;font-size:20px}.btn-attach[_ngcontent-%COMP%]{margin:15px 0 0;--color:#333;--border-color:#333}.div-card-button[_ngcontent-%COMP%]{width:100%;overflow:auto;padding:0!important}ion-card[_ngcontent-%COMP%]{margin:2.5%!important;width:45%;float:left}.center[_ngcontent-%COMP%]{text-align:center;float:center}.event-detail-buttons[_ngcontent-%COMP%]{width:90%;margin:10px auto}.event-detail-buttons[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%]{width:90%;display:block;margin:0 auto 25px}.ion-icon-delete[_ngcontent-%COMP%]{font-size:22px;color:red;background-color:#fff;padding-right:5px}.error[_ngcontent-%COMP%]{color:red;font-size:12px;font-weight:700;padding-bottom:20px}.attendees-icon[_ngcontent-%COMP%]{font-size:14px}.see-more-button[_ngcontent-%COMP%]{text-transform:none;font-size:16px}.header-content[_ngcontent-%COMP%]{overflow:auto;margin:0 auto;padding-top:25px}.header-icon-left[_ngcontent-%COMP%]{width:36px;font-size:33px;color:#42b9fe;float:left;border:1px solid red}.header-title[_ngcontent-%COMP%]{width:300px;font-family:Roboto;font-size:25px;margin:0 5px;padding:0;color:#000;float:left}"]}),e}()}}])}(); |