mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
1 line
22 KiB
JavaScript
1 line
22 KiB
JavaScript
|
|
!function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(self.webpackChunkgabinete_digital=self.webpackChunkgabinete_digital||[]).push([[6410],{56410:function(t,n,i){"use strict";i.d(n,{h:function(){return M}});var o=i(64762),a=i(18119),r=i(55199),s=i(4528),c=i(3679),l=i(37716),d=i(35957),g=i(80106),u=i(20985),p=i(84465),v=i(37556),h=i(38583);function m(e,t){if(1&e&&(l.TgZ(0,"ion-select-option",53),l._uU(1),l.qZA()),2&e){var n=t.$implicit;l.s9C("value",n.Code),l.xp6(1),l.Oqu(n.Description)}}function Z(e,t){if(1&e){var n=l.EpF();l.TgZ(0,"div",27),l.TgZ(1,"div",10),l.TgZ(2,"div",11),l._UZ(3,"ion-icon",15),l.qZA(),l.TgZ(4,"div",13),l.TgZ(5,"ion-datetime",54),l.NdJ("ngModelChange",function(e){return l.CHM(n),l.oxw().postEvent.EventRecurrence.LastOccurrence=e}),l.qZA(),l.qZA(),l.qZA(),l.qZA()}if(2&e){var i=l.oxw();l.xp6(5),l.Q6J("ngModel",i.postEvent.EventRecurrence.LastOccurrence)}}function f(e,t){1&e&&(l.TgZ(0,"ion-label",55),l._uU(1,"Adicionar intervenientes*"),l.qZA())}function C(e,t){if(1&e&&(l.TgZ(0,"ion-label"),l._uU(1),l.qZA()),2&e){var n=t.$implicit;l.xp6(1),l.Oqu(n.Name)}}function A(e,t){1&e&&(l.TgZ(0,"ion-label",55),l._uU(1,"Com conhecimento"),l.qZA())}function T(e,t){if(1&e&&(l.TgZ(0,"ion-label"),l._uU(1),l.qZA()),2&e){var n=t.$implicit;l.xp6(1),l.Oqu(n.Name)}}function x(e,t){if(1&e){var n=l.EpF();l.TgZ(0,"div"),l.TgZ(1,"ion-list",56),l.TgZ(2,"ion-item"),l.TgZ(3,"ion-label"),l.TgZ(4,"p",57),l.TgZ(5,"span",58),l._uU(6),l.qZA(),l.TgZ(7,"span",59),l._uU(8),l.qZA(),l.TgZ(9,"span",60),l.NdJ("click",function(){var e=l.CHM(n).index;return l.oxw().removeAttachment(e)}),l._UZ(10,"ion-icon",61),l.qZA(),l.qZA(),l.TgZ(11,"p"),l.TgZ(12,"span",62),l._uU(13),l.qZA(),l.TgZ(14,"span",63),l._uU(15),l.ALo(16,"date"),l.qZA(),l.qZA(),l.qZA(),l.qZA(),l.qZA(),l.qZA()}if(2&e){var i=t.$implicit;l.xp6(6),l.Oqu(i.Assunto),l.xp6(2),l.Oqu(i.appName),l.xp6(5),l.Oqu(i.EntidadeOrganicaNome),l.xp6(2),l.hij(" ",l.xi3(16,4,i.Data,"dd-MM-yyyy HH:mm")," ")}}var M=function(){var t=function(){function t(e,n,i,o,r,s,c){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.modalController=e,this.navParams=n,this.eventService=i,this.attachmentsService=o,this.animationController=r,this.toastService=s,this.disabled=!1,this.showSpinners=!0,this.showSeconds=!1,this.touchUi=!1,this.enableMeridian=!1,this.minDate=(new Date).toISOString().slice(0,10),this.endMinDate=new Date((new Date).getTime()+9e5),this.stepHour=1,this.stepMinute=5,this.stepSecond=5,this.color="primary",this.validateFrom=!1,this.segment="true",this.taskParticipants=[],this.taskParticipantsCc=[],this.documents=[],this.loggeduser=c.ValidatedUser,this.postEvent=new a.j,this.postEvent.EventRecurrence={Type:"-1"},this.eventBody={BodyType:"1",Text:""},this.postEvent.Body=this.eventBody,this.selectedSegment=this.navParams.get("segment"),this.selectedDate=this.navParams.get("eventSelectedDate"),this.taskParticipants=this.navParams.get("attendees"),console.log(this.taskParticipants),this.postEvent.StartDate=new Date,this.postEvent.EndDate=new Date((new Date).getTime()+9e5)}var n,i,l;return n=t,(i=[{key:"ngOnInit",value:function(){var e=this;this.selectedRecurringType="-1",console.log(this.postEvent),this.getRecurrenceTypes();var t=this.selectedDate,n=new Date(this.selectedDate);n.setMinutes(this.selectedDate.getMinutes()+30),this.postEvent="Combinada"!=this.selectedSegment?{EventId:"",Subject:"",Body:this.eventBody,Location:"",CalendarId:"",CalendarName:"",StartDate:t,EndDate:new Date(n),EventType:"Reuni\xe3o",Attendees:null,IsMeeting:!1,IsRecurring:!1,AppointmentState:0,TimeZone:"",Organizer:"",Category:"Reuni\xe3o",HasAttachments:!1,EventRecurrence:{Type:"-1"}}:{EventId:"",Subject:"",Body:this.eventBody,Location:"",CalendarId:"",CalendarName:"Oficial",StartDate:t,EndDate:new Date(n),EventType:"Reuni\xe3o",Attendees:null,IsMeeting:!1,IsRecurring:!1,AppointmentState:0,TimeZone:"",Organizer:"",Category:"Reuni\xe3o",HasAttachments:
|