mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
1 line
40 KiB
JSON
1 line
40 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 \"./opts-expediente.page.html?ngResource\";\nimport __NG_CLI_RESOURCE__1 from \"./opts-expediente.page.scss?ngResource\";\nimport { Component } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { ModalController, NavParams, PopoverController } from '@ionic/angular';\nimport { AddNotePage } from 'src/app/modals/add-note/add-note.page';\nimport { DiscartExpedientModalPage } from 'src/app/pages/gabinete-digital/discart-expedient-modal/discart-expedient-modal.page';\nimport { BookMeetingModalPage } from 'src/app/pages/gabinete-digital/expediente/book-meeting-modal/book-meeting-modal.page';\nimport { ExpedientTaskModalPage } from 'src/app/pages/gabinete-digital/expediente/expedient-task-modal/expedient-task-modal.page';\nimport { SearchPage } from 'src/app/pages/search/search.page';\nimport { SearchDocumentPipe } from 'src/app/pipes/search-document.pipe';\nimport { AttachmentsService } from 'src/app/services/attachments.service';\nimport { ProcessesService } from 'src/app/services/processes.service';\nimport { ToastService } from 'src/app/services/toast.service';\nimport { ExpedienteService } from 'src/app/Rules/expediente.service';\nimport { PermissionService } from 'src/app/services/permission.service';\nimport { ThemeService } from 'src/app/services/theme.service';\nimport { NewGroupPage } from 'src/app/pages/chat/new-group/new-group.page';\nimport { RouteService } from 'src/app/services/route.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';\nimport { TaskService } from 'src/app/services/task.service';\nlet OptsExpedientePage = class OptsExpedientePage {\n constructor(popoverController, modalController, navParams, processes, toastService, router, p, attachmentsService, RouteService, expedienteService, ThemeService, httpErrorHanlde, TaskService) {\n this.popoverController = popoverController;\n this.modalController = modalController;\n this.navParams = navParams;\n this.processes = processes;\n this.toastService = toastService;\n this.router = router;\n this.p = p;\n this.attachmentsService = attachmentsService;\n this.RouteService = RouteService;\n this.expedienteService = expedienteService;\n this.ThemeService = ThemeService;\n this.httpErrorHanlde = httpErrorHanlde;\n this.TaskService = TaskService;\n this.showEnviarPendentes = false;\n this.searchDocumentPipe = new SearchDocumentPipe();\n this.documents = [];\n this.SessionStore = SessionStore;\n this.environment = environment;\n }\n ngOnInit() {}\n openNewGroupPage() {\n var _this = this;\n return _asyncToGenerator(function* () {\n const modal = yield _this.modalController.create({\n component: NewGroupPage,\n cssClass: 'modal modal-desktop',\n componentProps: {\n name: _this.task.Folio,\n task: _this.task,\n documents: _this.fulltask.Documents\n }\n });\n yield modal.present();\n modal.onDidDismiss();\n })();\n }\n close() {\n if (window.innerWidth < 801) {\n this.popoverController.dismiss();\n } else {\n this.popoverController.dismiss();\n }\n }\n goBack() {\n this.TaskService.loadExpedientes();\n this.RouteService.goBack();\n }\n attachDocument() {\n this.getDoc();\n }\n getDoc() {\n var _this2 = this;\n return _asyncToGenerator(function* () {\n const modal = yield _this2.modalController.create({\n component: SearchPage,\n cssClass: 'modal-width-100-width-background modal',\n componentProps: {\n type: 'AccoesPresidenciais & ArquivoDespachoElect',\n showSearchInput: true,\n select: true\n }\n });\
|