cic-staff-client/src/app/shared/shared.module.ts

43 lines
1.5 KiB
TypeScript
Raw Normal View History

import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { TopbarComponent } from '@app/shared/topbar/topbar.component';
import { FooterComponent } from '@app/shared/footer/footer.component';
import { SidebarComponent } from '@app/shared/sidebar/sidebar.component';
import { MenuSelectionDirective } from '@app/shared/_directives/menu-selection.directive';
import { MenuToggleDirective } from '@app/shared/_directives/menu-toggle.directive';
2021-05-10 18:15:25 +02:00
import { RouterModule } from '@angular/router';
import { MatIconModule } from '@angular/material/icon';
import { TokenRatioPipe } from '@app/shared/_pipes/token-ratio.pipe';
2021-04-27 15:45:40 +02:00
import { ErrorDialogComponent } from '@app/shared/error-dialog/error-dialog.component';
2021-05-10 18:15:25 +02:00
import { MatDialogModule } from '@angular/material/dialog';
2021-04-27 15:45:40 +02:00
import { SafePipe } from '@app/shared/_pipes/safe.pipe';
import { NetworkStatusComponent } from './network-status/network-status.component';
2021-05-19 14:35:28 +02:00
import { UnixDatePipe } from './_pipes/unix-date.pipe';
@NgModule({
declarations: [
TopbarComponent,
FooterComponent,
SidebarComponent,
MenuSelectionDirective,
MenuToggleDirective,
TokenRatioPipe,
2021-04-27 15:45:40 +02:00
ErrorDialogComponent,
2021-05-10 18:15:25 +02:00
SafePipe,
2021-05-11 19:09:25 +02:00
NetworkStatusComponent,
2021-05-19 14:35:28 +02:00
UnixDatePipe,
],
exports: [
TopbarComponent,
FooterComponent,
SidebarComponent,
MenuSelectionDirective,
2021-04-27 15:45:40 +02:00
TokenRatioPipe,
2021-05-10 18:15:25 +02:00
SafePipe,
2021-05-11 19:09:25 +02:00
NetworkStatusComponent,
2021-05-19 14:35:28 +02:00
UnixDatePipe,
],
2021-05-10 18:15:25 +02:00
imports: [CommonModule, RouterModule, MatIconModule, MatDialogModule],
})
2021-05-10 18:15:25 +02:00
export class SharedModule {}