mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
84 lines
2.5 KiB
TypeScript
84 lines
2.5 KiB
TypeScript
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
import { RouteReuseStrategy } from '@angular/router';
|
|
|
|
import { IonicModule, IonicRouteStrategy } from '@ionic/angular';
|
|
// import { SplashScreen } from '@ionic-native/splash-screen/ngx';
|
|
import { StatusBar } from '@ionic-native/status-bar/ngx';
|
|
|
|
import { AppRoutingModule } from './app-routing.module';
|
|
import { AppComponent } from './app.component';
|
|
import { HttpClientModule } from '@angular/common/http';
|
|
|
|
import { InAppBrowser } from '@ionic-native/in-app-browser/ngx';
|
|
|
|
|
|
//import { File } from '@ionic-native/File/ngx';
|
|
import { WebView } from '@ionic-native/ionic-webview/ngx';
|
|
import { FilePath } from '@ionic-native/file-path/ngx';
|
|
import { Camera } from '@ionic-native/camera/ngx';
|
|
import { IonicStorageModule } from '@ionic/storage';
|
|
//
|
|
|
|
import { CommonModule } from '@angular/common';
|
|
import { FormsModule } from '@angular/forms';
|
|
|
|
|
|
import { CalendarModule, DateAdapter } from 'angular-calendar';
|
|
import { adapterFactory } from 'angular-calendar/date-adapters/date-fns';
|
|
import { BrowserAnimationsModule, NoopAnimationsModule } from '@angular/platform-browser/animations';
|
|
import { MessagesPage } from './pages/chat/messages/messages.page';
|
|
import { WebsocketService } from './services/websocket.service'
|
|
import { ChatService } from './services/chat.service';
|
|
import {MatDatepickerModule} from '@angular/material/datepicker';
|
|
// import { FCM } from 'cordova-plugin-fcm-with-dependecy-updated/ionic/ngx';
|
|
|
|
import {
|
|
NgxMatDatetimePickerModule,
|
|
NgxMatNativeDateModule,
|
|
NgxMatTimepickerModule
|
|
} from '@angular-material-components/datetime-picker';
|
|
|
|
|
|
@NgModule({
|
|
declarations: [AppComponent],
|
|
entryComponents: [],
|
|
imports: [BrowserModule,
|
|
CommonModule,
|
|
FormsModule,
|
|
CalendarModule.forRoot({
|
|
provide: DateAdapter,
|
|
useFactory: adapterFactory
|
|
}),
|
|
IonicModule.forRoot(),
|
|
IonicStorageModule.forRoot(),
|
|
AppRoutingModule,
|
|
HttpClientModule,
|
|
// NgbModule,
|
|
NoopAnimationsModule,
|
|
MatDatepickerModule,
|
|
|
|
//
|
|
NgxMatDatetimePickerModule,
|
|
NgxMatTimepickerModule,
|
|
NgxMatNativeDateModule
|
|
],
|
|
providers: [
|
|
StatusBar,
|
|
//SplashScreen,
|
|
HttpClientModule,
|
|
{ provide: RouteReuseStrategy, useClass: IonicRouteStrategy },
|
|
InAppBrowser,
|
|
Camera,
|
|
//File,
|
|
WebView,
|
|
FilePath,
|
|
//FCM,
|
|
WebsocketService,
|
|
ChatService,
|
|
],
|
|
bootstrap: [AppComponent],
|
|
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
})
|
|
export class AppModule {}
|