|
|
|
@ -1,21 +1,21 @@ |
|
|
|
import { NgModule } from '@angular/core'; |
|
|
|
import { BrowserModule } from '@angular/platform-browser'; |
|
|
|
import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; |
|
|
|
import { CoreModule, provideCoreModule } from '@abp/ng.core'; |
|
|
|
import { CoreModule, provideCoreModuleConfig } from '@abp/ng.core'; |
|
|
|
import { registerLocale } from '@abp/ng.core/locale'; |
|
|
|
import { |
|
|
|
InternetConnectionStatusComponent, |
|
|
|
ThemeSharedModule, |
|
|
|
provideThemeShared, |
|
|
|
provideThemeSharedConfig, |
|
|
|
} from '@abp/ng.theme.shared'; |
|
|
|
import { ThemeLeptonXModule } from '@abp/ng.theme.lepton-x'; |
|
|
|
import { SideMenuLayoutModule } from '@abp/ng.theme.lepton-x/layouts'; |
|
|
|
import { provideAbpOAuth } from '@abp/ng.oauth'; |
|
|
|
import { provideAbpOAuthConfig } from '@abp/ng.oauth'; |
|
|
|
import { provideSettingManagementConfig } from '@abp/ng.setting-management/config'; |
|
|
|
import { provideAccountConfig } from '@abp/ng.account/config'; |
|
|
|
import { provideIdentityConfig } from '@abp/ng.identity/config'; |
|
|
|
import { provideTenantManagementConfig } from '@abp/ng.tenant-management/config'; |
|
|
|
import { provideFeatureManagement } from '@abp/ng.feature-management'; |
|
|
|
import { provideFeatureManagementConfig } from '@abp/ng.feature-management'; |
|
|
|
import { AccountLayoutModule } from '@abp/ng.theme.lepton-x/account'; |
|
|
|
import { environment } from '../environments/environment'; |
|
|
|
import { AppRoutingModule } from './app-routing.module'; |
|
|
|
@ -36,19 +36,19 @@ import { APP_ROUTE_PROVIDER } from './route.provider'; |
|
|
|
], |
|
|
|
providers: [ |
|
|
|
APP_ROUTE_PROVIDER, |
|
|
|
provideCoreModule({ |
|
|
|
provideCoreModuleConfig({ |
|
|
|
environment, |
|
|
|
registerLocaleFn: registerLocale(), |
|
|
|
sendNullsAsQueryParam: false, |
|
|
|
skipGetAppConfiguration: false, |
|
|
|
}), |
|
|
|
provideAbpOAuth(), |
|
|
|
provideThemeShared(), |
|
|
|
provideAbpOAuthConfig(), |
|
|
|
provideThemeSharedConfig(), |
|
|
|
provideSettingManagementConfig(), |
|
|
|
provideAccountConfig(), |
|
|
|
provideIdentityConfig(), |
|
|
|
provideTenantManagementConfig(), |
|
|
|
provideFeatureManagement(), |
|
|
|
provideFeatureManagementConfig(), |
|
|
|
], |
|
|
|
declarations: [AppComponent], |
|
|
|
bootstrap: [AppComponent], |
|
|
|
|