57 lines
2.2 KiB
TypeScript
57 lines
2.2 KiB
TypeScript
|
import { NgModule } from '@angular/core';
|
||
|
|
||
|
import { PrimeNGModules } from '../packages/commons/prime-ng/prime-ng.module';
|
||
|
import { HttpClientModule } from '@angular/common/http';
|
||
|
import { AppRoutingModule } from './app-routing.module';
|
||
|
import { AppStoreModule } from './app-store.module';
|
||
|
import { AppL10NModule } from './app-l10n.module';
|
||
|
import { AppRPCModule } from './app-rpc.module';
|
||
|
import { AppRESTModule } from './app-rest.module';
|
||
|
import { AppLoggerModule } from './app-logger.module';
|
||
|
|
||
|
import { AppComponent } from './app.component';
|
||
|
import { LocationStrategy, HashLocationStrategy } from '@angular/common';
|
||
|
|
||
|
import { CookieService } from 'ngx-cookie-service';
|
||
|
import { AuthGuard } from './commons/guard/auth.guard';
|
||
|
|
||
|
import { AppMenuComponent } from 'app/commons/component/layout/menu/app.menu.component';
|
||
|
import { AppSubMenuComponent } from 'app/commons/component/layout/menu/app.submenu.component';
|
||
|
import { AppTopbarComponent } from 'app/commons/component/layout/topbar/app.topbar.component';
|
||
|
import { AppFooterComponent } from 'app/commons/component/layout/footer/app.footer.component';
|
||
|
import { AppBreadcrumbComponent } from 'app/commons/component/layout/breadcrumb/app.breadcrumb.component';
|
||
|
import { AppRightpanelComponent } from 'app/commons/component/layout/right-panel/app.rightpanel.component';
|
||
|
import { AppInlineProfileComponent } from 'app/commons/component/layout/profile/app.profile.component';
|
||
|
import { BreadcrumbService } from 'app/commons/component/layout/breadcrumb/breadcrumb.service';
|
||
|
|
||
|
@NgModule({
|
||
|
imports: [
|
||
|
PrimeNGModules,
|
||
|
HttpClientModule,
|
||
|
AppRoutingModule,
|
||
|
AppStoreModule,
|
||
|
AppL10NModule,
|
||
|
AppRPCModule,
|
||
|
AppRESTModule,
|
||
|
AppLoggerModule,
|
||
|
],
|
||
|
declarations: [
|
||
|
AppComponent,
|
||
|
AppMenuComponent,
|
||
|
AppSubMenuComponent,
|
||
|
AppTopbarComponent,
|
||
|
AppFooterComponent,
|
||
|
AppBreadcrumbComponent,
|
||
|
AppRightpanelComponent,
|
||
|
AppInlineProfileComponent,
|
||
|
],
|
||
|
providers: [
|
||
|
{ provide: LocationStrategy, useClass: HashLocationStrategy },
|
||
|
BreadcrumbService,
|
||
|
CookieService,
|
||
|
AuthGuard,
|
||
|
],
|
||
|
bootstrap: [AppComponent]
|
||
|
})
|
||
|
export class AppModule { }
|