mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
1 line
37 KiB
JSON
1 line
37 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 \"./events.page.html?ngResource\";\nimport __NG_CLI_RESOURCE__1 from \"./events.page.scss?ngResource\";\nimport { Component, EventEmitter, Output } from '@angular/core';\nimport { EventsService } from 'src/app/services/events.service';\nimport { Router } from '@angular/router';\nimport { ActivatedRoute, NavigationEnd } from '@angular/router';\nimport { ModalController, Platform } from '@ionic/angular';\nimport { EventDetailPage } from './event-detail/event-detail.page';\nimport { ProcessesService } from '../../services/processes.service';\nimport { ToDayEventStorage } from 'src/app/store/to-day-event-storage.service';\nimport { ExpedienteTaskPipe } from 'src/app/pipes/expediente-task.pipe';\nimport { ExpedienteGdStore } from 'src/app/store/expedientegd-store.service';\nimport { BackgroundService } from 'src/app/services/background.service';\nimport { ThemeService } from 'src/app/services/theme.service';\nimport { Storage } from '@ionic/storage';\nimport { PermissionService } from 'src/app/services/permission.service';\nimport { ViewEventPage } from 'src/app/modals/view-event/view-event.page';\nimport { ChangeProfileService } from 'src/app/services/change-profile.service';\nimport { SessionStore } from 'src/app/store/session.service';\nimport { TaskService } from 'src/app/services/task.service';\nlet EventsPage = class EventsPage {\n constructor(eventService, router, activatedRoute, processes, modalController, platform, backgroundservice, ThemeService, storage, p, changeProfileService, TaskService) {\n this.eventService = eventService;\n this.router = router;\n this.activatedRoute = activatedRoute;\n this.processes = processes;\n this.modalController = modalController;\n this.platform = platform;\n this.backgroundservice = backgroundservice;\n this.ThemeService = ThemeService;\n this.storage = storage;\n this.p = p;\n this.changeProfileService = changeProfileService;\n this.TaskService = TaskService;\n this.today = new Date();\n this.months = [\"Janeiro\", \"Fevereiro\", \"Março\", \"Abril\", \"Maio\", \"Junho\", \"Julho\", \"Agosto\", \"Setembro\", \"Outubro\", \"Novembro\", \"Dezembro\"];\n this.days = [\"Domingo\", \"Segunda-feira\", \"Terça-feira\", \"Quarta-feira\", \"Quinta-feira\", \"Sexta-feira\", \"Sábado\"];\n this.customDate = this.days[this.today.getDay()] + \", \" + this.today.getDate() + \" de \" + this.months[this.today.getMonth()];\n this.grettings = [\"Bom dia\", \"Boa tarde\", \"Boa noite\"];\n this.greetting = '';\n this.timeDate = this.today.getHours() + \":\" + this.today.getMinutes();\n this.maxSubjectLength = 30;\n this.customText = false;\n this.totalEvent = 0;\n this.hideSearchBtn = false;\n // shared data\n this.toDayEventStorage = ToDayEventStorage;\n this.expedienteGdStore = ExpedienteGdStore;\n this.listToPresent = [];\n this.listToPresentexpediente = [];\n this.expedienteTaskPipe = new ExpedienteTaskPipe();\n this.openExpedientListPage = new EventEmitter();\n this.sessoStore = SessionStore;\n this.showAgendaLoader = false;\n this.showCorrespondenciasLoader = false;\n this.loadingAllTask = false;\n this.filterName = 'Não lidos';\n this.showSearch = true;\n this.searchSubject = '';\n this.AllProcess = [];\n this.ordinance = 'old';\n this.firstEnter = false;\n window['zipPhoneCallback'] = function (zipphone) {\n var frame = document.getElementById('home-iframe');\n if (frame) {\n frame['contentWindow']['postMessage']({\n call: 'cookies',\n value: {\n cookies: {}\n }\n });\n }\n };\n this.changeProfileService.registerCallback(() => {\n this.listToPresent = [];\n this.listToPresentexpediente = [];\n });\n }\n ngAfterViewInit() {\n this.load
|