mempool/frontend/src/app/shared/shared.module.ts

42 lines
1019 B
TypeScript
Raw Normal View History

2019-07-21 16:59:47 +02:00
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { NgbButtonsModule, NgbModalModule } from '@ng-bootstrap/ng-bootstrap';
import { BytesPipe } from './pipes/bytes-pipe/bytes.pipe';
import { VbytesPipe } from './pipes/bytes-pipe/vbytes.pipe';
2019-07-21 16:59:47 +02:00
import { RoundPipe } from './pipes/math-round-pipe/math-round.pipe';
import { CeilPipe } from './pipes/math-ceil/math-ceil.pipe';
import { ChartistComponent } from '../statistics/chartist.component';
2019-11-06 08:35:02 +01:00
import { TimeSincePipe } from './pipes/time-since/time-since.pipe';
2019-07-21 16:59:47 +02:00
@NgModule({
imports: [
CommonModule,
2019-10-22 11:28:37 +02:00
NgbButtonsModule,
NgbModalModule,
2019-07-21 16:59:47 +02:00
],
declarations: [
ChartistComponent,
RoundPipe,
CeilPipe,
BytesPipe,
VbytesPipe,
2019-11-06 08:35:02 +01:00
TimeSincePipe,
2019-07-21 16:59:47 +02:00
],
exports: [
RoundPipe,
CeilPipe,
BytesPipe,
VbytesPipe,
2019-11-06 08:35:02 +01:00
TimeSincePipe,
2019-07-21 16:59:47 +02:00
NgbButtonsModule,
NgbModalModule,
ChartistComponent,
],
providers: [
BytesPipe,
VbytesPipe,
2019-07-21 16:59:47 +02:00
]
})
export class SharedModule { }