mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 21:35:50 +00:00
1 line
43 KiB
JSON
1 line
43 KiB
JSON
|
|
{"ast":null,"code":"import _asyncToGenerator from \"C:/Users/eudes.inacio/GabineteDigital/gabinete-digital-fo/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js\";\nimport { __decorate } from \"tslib\";\nimport __NG_CLI_RESOURCE__0 from \"./document-set-up-meeting.page.html?ngResource\";\nimport __NG_CLI_RESOURCE__1 from \"./document-set-up-meeting.page.scss?ngResource\";\nimport { Component, ViewChild } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { ModalController, NavParams } from '@ionic/angular';\nimport { Event } from 'src/app/models/event.model';\nimport { SearchPage } from 'src/app/pages/search/search.page';\nimport { AuthService } from 'src/app/services/auth.service';\nimport { AttendeesPageModal } from 'src/app/pages/events/attendees/attendees.page';\nimport { ToastService } from 'src/app/services/toast.service';\nimport { UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms';\nimport { NGX_MAT_DATE_FORMATS } from '@angular-material-components/datetime-picker';\nimport { EventsService } from 'src/app/services/events.service';\nimport { EventService } from 'src/app/services/rules/event.service';\nimport { EventPipe } from 'src/app/pipes/event.pipe';\nimport { ThemeService } from 'src/app/services/theme.service';\nimport { SessionStore } from 'src/app/store/session.service';\nimport { HttpErrorHandle } from 'src/app/services/http-error-handle.service';\nimport { environment } from 'src/environments/environment';\nconst CUSTOM_DATE_FORMATS = {\n parse: {\n dateInput: \"YYYY-MMMM-DD HH:mm\"\n },\n display: {\n dateInput: \"DD MMM YYYY H:mm\",\n monthYearLabel: \"MMM YYYY\",\n dateA11yLabel: \"LL\",\n monthYearA11yLabel: \"MMMM YYYY\"\n }\n};\nlet DocumentSetUpMeetingPage = class DocumentSetUpMeetingPage {\n constructor(modalController, router, navParams, authService, toastService, calendarService, eventService, ThemeService, _eventService, httpErroHandle) {\n this.modalController = modalController;\n this.router = router;\n this.navParams = navParams;\n this.toastService = toastService;\n this.calendarService = calendarService;\n this.eventService = eventService;\n this.ThemeService = ThemeService;\n this._eventService = _eventService;\n this.httpErroHandle = httpErroHandle;\n this.disabled = false;\n this.showSpinners = true;\n this.showSeconds = false;\n this.touchUi = false;\n this.enableMeridian = false;\n this.minDate = new Date();\n this.stepHour = 1;\n this.stepMinute = 15;\n this.stepSecond = 5;\n this.p = {};\n this.validateFrom = false;\n this.recurringTypes = [];\n this.Occurrence = new Date();\n this.EventRecurrenceType = '-1';\n this.showLoader = false;\n this.taskParticipants = [];\n this.taskParticipantsCc = [];\n this.attachments = [];\n this.adding = \"intervenient\";\n this.formLocationSatus = false;\n this.showAttendees = false;\n this.emptyTextDescription = \"Sem intervenientes selecionados\";\n this.docs = [];\n this.eventPipe = new EventPipe();\n this.CalendarNameShow = true;\n this.testeFormDefaul = \"Eudes\";\n this.environment = environment;\n this.loggeduser = SessionStore.user;\n this.document = this.navParams.get('document');\n this.subject = this.navParams.get('subject');\n this.postData = new Event();\n this.postData.Body = {\n BodyType: \"1\",\n Text: \"\"\n };\n this.postData.Subject = this.subject;\n this.postData.CalendarName = \"Oficial\";\n this.postData.Category = 'Reunião';\n if (!this.CalendarName) {\n if (this._eventService.calendarNamesAry.includes('Meu calendario')) {\n this.CalendarName = 'Meu calendario';\n } else {\n this.CalendarName = this._eventService.calendarNamesAry[0];\n }\n }\n if (this.taskParticipants.length == 0) {\n this.taskParticipants = [{\n EmailAddress: SessionStore.user.Email,\n IsRequired: true,\n Name: SessionStore.user.FullName\n }];\n }\n }\n ngOnInit() {\n
|