mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
1 line
33 KiB
JSON
1 line
33 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 \"./profile.page.html?ngResource\";\nimport __NG_CLI_RESOURCE__1 from \"./profile.page.scss?ngResource\";\nimport { Component, NgZone } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { AnimationController, ModalController, Platform } from '@ionic/angular';\nimport { EditProfilePage } from './edit-profile/edit-profile.page';\nimport { StorageService } from '../../services/storage.service';\nimport { NotificationsService } from '../../services/notifications.service';\nimport { SessionStore } from 'src/app/store/session.service';\nimport { EventTrigger } from '../../services/eventTrigger.service';\nimport { ThemeService } from 'src/app/services/theme.service';\nimport { environment } from 'src/environments/environment';\nlet ProfilePage = class ProfilePage {\n constructor(modalController, animationController, router, storageservice, zone, platform, eventTriger, ThemeService, notificationService) {\n this.modalController = modalController;\n this.animationController = animationController;\n this.router = router;\n this.storageservice = storageservice;\n this.zone = zone;\n this.platform = platform;\n this.eventTriger = eventTriger;\n this.ThemeService = ThemeService;\n this.notificationService = notificationService;\n this.userLoginPreference = '';\n this.notificationdata = [];\n this.DataArray = [];\n this.isProfileOpen = false;\n this.hideImage = false;\n this.logoutOut = false;\n this.notificationStatus = '';\n this.environment = environment;\n this.SessionStore = SessionStore;\n this.notificatinsRoutes = (index, Service, Object, IdObject, FolderId) => {\n if (Service === \"agenda\" && IdObject.length > 10) {\n this.zone.run(() => this.router.navigate(['/home/agenda', IdObject, 'agenda']));\n } else if (Service === \"gabinete-digital\" && Object === \"expediente\") {\n this.zone.run(() => this.router.navigate(['/home/gabinete-digital/expediente', IdObject, 'gabinete-digital']));\n } else if (Service === \"agenda\" && Object === \"event-list\") {\n //this.zone.run(() => this.router.navigate(['/home/gabinete-digital/event-list/approve-event',IdObject, 'agenda']));\n this.zone.run(() => this.router.navigate(['/home/agenda/event-list/approve-event', IdObject, 'agenda']));\n } else if (Service === \"gabinete-digital\" && Object === \"despachos\") {\n this.zone.run(() => this.router.navigate(['/home/gabinete-digital/despachos', IdObject, 'gabinete-digital'], {\n replaceUrl: true\n }));\n } else if (Service === \"gabinete-digital\" && Object === \"parecer\") {\n this.zone.run(() => this.router.navigate(['/home/gabinete-digital/pedidos', IdObject, 'gabinete-digital']));\n } else if (Service === \"gabinete-digital\" && Object === \"deferimento\") {\n this.zone.run(() => this.router.navigate(['/home/gabinete-digital/pedidos', IdObject, 'gabinete-digital']));\n } else if (Service === \"gabinete-digital\" && Object === \"despachos-pr\") {\n this.zone.run(() => this.router.navigate(['/home/gabinete-digital/despachos-pr', IdObject, 'gabinete-digital']));\n } else if (Service === \"accoes\" && Object === \"accao\") {\n this.zone.run(() => this.router.navigate(['/home/publications', IdObject]));\n } else if (Service === \"accoes\" && Object === \"publicacao\") {\n this.zone.run(() => this.router.navigate(['/home/publications/view-publications', FolderId, IdObject]));\n } else if (Service === \"gabinete-digital\" && Object === \"diplomas\") {\n this.zone.run(() => this.router.navigate(['/home/gabinete-digital/diplomas', IdObject, 'gabinete-digital']));\n } else if (Service === \"gabinete-digital\" && Object === \"diplomas-assinar\") {\n this.zone.run(() => this.
|