2019-09-18 06:02:21 +00:00
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
|
|
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
|
|
import { HttpClientModule } from '@angular/common/http';
|
|
|
|
|
|
|
|
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
|
|
|
|
2019-10-28 07:45:07 +00:00
|
|
|
import { PerfectScrollbarModule } from 'ngx-perfect-scrollbar';
|
|
|
|
|
2019-11-12 09:54:21 +00:00
|
|
|
import { UCapUiModule } from '@ucap-webmessenger/ui';
|
|
|
|
import { UCapUiAccountModule } from '@ucap-webmessenger/ui-account';
|
|
|
|
|
|
|
|
import { UCapWebStorageModule } from '@ucap-webmessenger/web-storage';
|
|
|
|
|
|
|
|
import { UCapUtilModule } from '@ucap-webmessenger/util';
|
|
|
|
|
2019-09-18 06:02:21 +00:00
|
|
|
import { UCapCommonApiModule } from '@ucap-webmessenger/api-common';
|
|
|
|
import { UCapExternalApiModule } from '@ucap-webmessenger/api-external';
|
2019-11-13 06:42:30 +00:00
|
|
|
import { UCapMessageApiModule } from '@ucap-webmessenger/api-message';
|
2019-09-18 06:02:21 +00:00
|
|
|
import { UCapPublicApiModule } from '@ucap-webmessenger/api-public';
|
2019-12-16 08:42:49 +00:00
|
|
|
import { UCapPromptApiModule } from '@ucap-webmessenger/api-prompt';
|
2019-09-18 06:02:21 +00:00
|
|
|
|
|
|
|
import { UCapPiModule } from '@ucap-webmessenger/pi';
|
|
|
|
|
2019-09-19 01:40:16 +00:00
|
|
|
import { UCapProtocolModule } from '@ucap-webmessenger/protocol';
|
|
|
|
import { UCapAuthenticationProtocolModule } from '@ucap-webmessenger/protocol-authentication';
|
2019-10-10 01:57:24 +00:00
|
|
|
import { UCapEventProtocolModule } from '@ucap-webmessenger/protocol-event';
|
2019-10-25 00:46:05 +00:00
|
|
|
import { UCapGroupProtocolModule } from '@ucap-webmessenger/protocol-group';
|
2019-10-10 01:57:24 +00:00
|
|
|
import { UCapInfoProtocolModule } from '@ucap-webmessenger/protocol-info';
|
2019-09-19 05:15:43 +00:00
|
|
|
import { UCapInnerProtocolModule } from '@ucap-webmessenger/protocol-inner';
|
2019-09-25 02:47:51 +00:00
|
|
|
import { UCapOptionProtocolModule } from '@ucap-webmessenger/protocol-option';
|
2019-10-10 01:57:24 +00:00
|
|
|
import { UCapRoomProtocolModule } from '@ucap-webmessenger/protocol-room';
|
2019-10-04 01:19:55 +00:00
|
|
|
import { UCapServiceProtocolModule } from '@ucap-webmessenger/protocol-service';
|
2019-10-10 01:57:24 +00:00
|
|
|
import { UCapStatusProtocolModule } from '@ucap-webmessenger/protocol-status';
|
2019-09-25 08:26:19 +00:00
|
|
|
import { UCapSyncProtocolModule } from '@ucap-webmessenger/protocol-sync';
|
2019-09-19 01:40:16 +00:00
|
|
|
|
2019-12-15 09:07:25 +00:00
|
|
|
import { UCapDaesangModule } from '@ucap-webmessenger/daesang';
|
|
|
|
|
2019-09-26 02:11:22 +00:00
|
|
|
import { LoggerModule, NgxLoggerLevel } from 'ngx-logger';
|
|
|
|
|
2019-09-18 06:02:21 +00:00
|
|
|
import { AppProviderModule } from './app-provider.module';
|
|
|
|
import { AppRoutingModule } from './app-routing.module';
|
|
|
|
import { AppStoreModule } from './app-store.module';
|
|
|
|
import { AppTranslateModule } from './app-translate.module';
|
|
|
|
|
|
|
|
import { AppComponent } from './app.component';
|
|
|
|
|
|
|
|
import { GUARDS } from './guards';
|
2019-10-08 00:18:40 +00:00
|
|
|
import { AppMessengerLayoutModule } from './layouts/messenger/messenger.layout.module';
|
2019-10-24 06:37:33 +00:00
|
|
|
import { AppNativeLayoutModule } from './layouts/native/native.layout.module';
|
2019-09-18 06:02:21 +00:00
|
|
|
|
2019-11-12 09:54:21 +00:00
|
|
|
import { environment } from '../environments/environment';
|
|
|
|
|
2019-09-18 06:02:21 +00:00
|
|
|
@NgModule({
|
|
|
|
imports: [
|
|
|
|
BrowserModule,
|
|
|
|
BrowserAnimationsModule,
|
|
|
|
|
|
|
|
HttpClientModule,
|
|
|
|
|
|
|
|
MatProgressBarModule,
|
|
|
|
|
2019-10-28 07:45:07 +00:00
|
|
|
PerfectScrollbarModule,
|
|
|
|
|
2019-11-12 09:54:21 +00:00
|
|
|
UCapCommonApiModule.forRoot(environment.commonApiModuleConfig),
|
2019-09-18 06:02:21 +00:00
|
|
|
|
2019-11-12 09:54:21 +00:00
|
|
|
UCapPublicApiModule.forRoot(environment.publicApiModuleConfig),
|
|
|
|
UCapExternalApiModule.forRoot(environment.externalApiModuleConfig),
|
2019-11-13 06:42:30 +00:00
|
|
|
UCapMessageApiModule.forRoot(environment.messageApiModuleConfig),
|
2019-12-16 08:42:49 +00:00
|
|
|
UCapPromptApiModule.forRoot(environment.promptApiModuleConfig),
|
2019-09-18 06:02:21 +00:00
|
|
|
|
2019-11-12 09:54:21 +00:00
|
|
|
UCapPiModule.forRoot(environment.piModuleConfig),
|
2019-09-18 06:02:21 +00:00
|
|
|
|
2019-11-12 09:54:21 +00:00
|
|
|
UCapProtocolModule.forRoot(environment.protocolModuleConfig),
|
2019-09-19 01:40:16 +00:00
|
|
|
UCapAuthenticationProtocolModule.forRoot(),
|
2019-10-10 01:57:24 +00:00
|
|
|
UCapEventProtocolModule.forRoot(),
|
2019-10-25 00:46:05 +00:00
|
|
|
UCapGroupProtocolModule.forRoot(),
|
2019-10-10 01:57:24 +00:00
|
|
|
UCapInfoProtocolModule.forRoot(),
|
2019-09-19 05:15:43 +00:00
|
|
|
UCapInnerProtocolModule.forRoot(),
|
2019-09-25 02:47:51 +00:00
|
|
|
UCapOptionProtocolModule.forRoot(),
|
2019-10-10 01:57:24 +00:00
|
|
|
UCapRoomProtocolModule.forRoot(),
|
2019-10-04 01:19:55 +00:00
|
|
|
UCapServiceProtocolModule.forRoot(),
|
2019-10-10 01:57:24 +00:00
|
|
|
UCapStatusProtocolModule.forRoot(),
|
2019-09-25 08:26:19 +00:00
|
|
|
UCapSyncProtocolModule.forRoot(),
|
2019-09-19 01:40:16 +00:00
|
|
|
|
2019-12-15 09:07:25 +00:00
|
|
|
UCapDaesangModule.forRoot(),
|
|
|
|
|
2019-09-18 06:02:21 +00:00
|
|
|
UCapUiModule.forRoot(),
|
|
|
|
UCapUiAccountModule.forRoot(),
|
|
|
|
|
|
|
|
UCapWebStorageModule.forRoot(),
|
|
|
|
|
2019-09-19 01:40:16 +00:00
|
|
|
UCapUtilModule.forRoot(),
|
|
|
|
|
2019-09-18 06:02:21 +00:00
|
|
|
AppProviderModule,
|
|
|
|
AppRoutingModule,
|
|
|
|
AppStoreModule,
|
2019-09-26 02:11:22 +00:00
|
|
|
AppTranslateModule,
|
|
|
|
|
2019-10-08 00:18:40 +00:00
|
|
|
AppMessengerLayoutModule,
|
2019-10-24 06:37:33 +00:00
|
|
|
AppNativeLayoutModule,
|
2019-10-08 00:18:40 +00:00
|
|
|
|
2019-09-26 02:11:22 +00:00
|
|
|
LoggerModule.forRoot({
|
2019-11-13 06:42:30 +00:00
|
|
|
level: NgxLoggerLevel.DEBUG
|
|
|
|
})
|
2019-09-18 06:02:21 +00:00
|
|
|
],
|
|
|
|
providers: [...GUARDS],
|
|
|
|
declarations: [AppComponent],
|
|
|
|
bootstrap: [AppComponent],
|
2019-11-13 06:42:30 +00:00
|
|
|
entryComponents: []
|
2019-09-18 06:02:21 +00:00
|
|
|
})
|
|
|
|
export class AppModule {}
|