mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
1 line
102 KiB
JSON
1 line
102 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 \"./messages.page.html?ngResource\";\nimport __NG_CLI_RESOURCE__1 from \"./messages.page.scss?ngResource\";\nimport { Component, ElementRef, ViewChild } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { GestureController, ModalController, NavParams, PopoverController, Platform } from '@ionic/angular';\nimport { ViewDocumentPage } from 'src/app/modals/view-document/view-document.page';\nimport { ContactsPage } from 'src/app/pages/chat/messages/contacts/contacts.page';\nimport { AlertService } from 'src/app/services/alert.service';\nimport { FileService } from 'src/app/services/functions/file.service';\nimport { ToastService } from 'src/app/services/toast.service';\nimport { ChatOptionsPopoverPage } from 'src/app/shared/popover/chat-options-popover/chat-options-popover.page';\nimport { MessagesOptionsPage } from 'src/app/shared/popover/messages-options/messages-options.page';\nimport { ChatMessageStore } from 'src/app/store/chat/chat-message.service';\nimport { ChatUserStorage } from 'src/app/store/chat/chat-user.service';\nimport { environment } from 'src/environments/environment';\nimport { ThemeService } from 'src/app/services/theme.service';\nimport { VoiceRecorder } from 'capacitor-voice-recorder';\nimport { Haptics, ImpactStyle } from '@capacitor/haptics';\nimport { SqliteService } from 'src/app/services/sqlite.service';\nimport { ViewEventPage } from 'src/app/modals/view-event/view-event.page';\nimport { ChatSystemService } from 'src/app/services/chat/chat-system.service';\nimport { CameraService } from 'src/app/services/camera.service';\nimport { SearchPage } from 'src/app/pages/search/search.page';\nimport { Storage } from '@ionic/storage';\nimport { Camera, CameraResultType, CameraSource } from '@capacitor/camera';\nimport { DomSanitizer } from '@angular/platform-browser';\nimport { SessionStore } from 'src/app/store/session.service';\nimport { ViewMediaPage } from 'src/app/modals/view-media/view-media.page';\nimport { File } from '@awesome-cordova-plugins/file/ngx';\nimport { FileOpener } from '@awesome-cordova-plugins/file-opener/ngx';\nimport { Filesystem, Directory } from '@capacitor/filesystem';\nimport { NewEventPage } from '../../agenda/new-event/new-event.page';\nimport { NotificationsService } from 'src/app/services/notifications.service';\nconst IMAGE_DIR = 'stored-images';\nlet MessagesPage = class MessagesPage {\n constructor(popoverController, modalController, navParams, alertService, toastService, fileService, gestureController, ThemeService, platform, sqlservice, ChatSystemService, CameraService, storage,\n //private fileOpener: FileOpener,\n sanitiser,\n // private document: DocumentViewer\n file, fileOpener, notificationService, router) {\n this.popoverController = popoverController;\n this.modalController = modalController;\n this.navParams = navParams;\n this.alertService = alertService;\n this.toastService = toastService;\n this.fileService = fileService;\n this.gestureController = gestureController;\n this.ThemeService = ThemeService;\n this.platform = platform;\n this.sqlservice = sqlservice;\n this.ChatSystemService = ChatSystemService;\n this.CameraService = CameraService;\n this.storage = storage;\n this.sanitiser = sanitiser;\n this.file = file;\n this.fileOpener = fileOpener;\n this.notificationService = notificationService;\n this.router = router;\n this.userPresence = '';\n this.scrollingOnce = true;\n this.chatMessageStore = ChatMessageStore;\n this.chatUserStorage = ChatUserStorage;\n this.scrollToBottomBtn = false;\n this.attendees = [];\n this.longPressActive = false;\n this.showMessageOptions = false;\n this.dicIndex = 0;\n this.LoadedDocument = null;\n this.recording = false;\n this.allowTyping = true;\n this.stored
|