core.module.ts 1.5 KB

1234567891011121314151617181920212223242526272829303132333435
  1. import { NgModule } from '@angular/core';
  2. import { DataModule } from '../data/data.module';
  3. import { SharedModule } from '../shared/shared.module';
  4. import { AppShellComponent } from './components/app-shell/app-shell.component';
  5. import { BreadcrumbComponent } from './components/breadcrumb/breadcrumb.component';
  6. import { MainNavComponent } from './components/main-nav/main-nav.component';
  7. import { NotificationComponent } from './components/notification/notification.component';
  8. import { OverlayHostComponent } from './components/overlay-host/overlay-host.component';
  9. import { UserMenuComponent } from './components/user-menu/user-menu.component';
  10. import { AuthService } from './providers/auth/auth.service';
  11. import { AuthGuard } from './providers/guard/auth.guard';
  12. import { LocalStorageService } from './providers/local-storage/local-storage.service';
  13. import { NotificationService } from './providers/notification/notification.service';
  14. import { OverlayHostService } from './providers/overlay-host/overlay-host.service';
  15. @NgModule({
  16. imports: [
  17. DataModule,
  18. SharedModule,
  19. ],
  20. exports: [
  21. SharedModule,
  22. OverlayHostComponent,
  23. ],
  24. providers: [
  25. LocalStorageService,
  26. AuthGuard,
  27. AuthService,
  28. OverlayHostService,
  29. NotificationService,
  30. ],
  31. declarations: [AppShellComponent, UserMenuComponent, MainNavComponent, BreadcrumbComponent, OverlayHostComponent, NotificationComponent],
  32. entryComponents: [NotificationComponent],
  33. })
  34. export class CoreModule {}