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';
|
2019-10-31 06:55:25 +01:00
|
|
|
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,
|
2019-10-31 06:55:25 +01:00
|
|
|
VbytesPipe,
|
2019-11-06 08:35:02 +01:00
|
|
|
TimeSincePipe,
|
2019-07-21 16:59:47 +02:00
|
|
|
],
|
|
|
|
exports: [
|
|
|
|
RoundPipe,
|
|
|
|
CeilPipe,
|
|
|
|
BytesPipe,
|
2019-10-31 06:55:25 +01:00
|
|
|
VbytesPipe,
|
2019-11-06 08:35:02 +01:00
|
|
|
TimeSincePipe,
|
2019-07-21 16:59:47 +02:00
|
|
|
NgbButtonsModule,
|
|
|
|
NgbModalModule,
|
|
|
|
ChartistComponent,
|
|
|
|
],
|
|
|
|
providers: [
|
2019-10-31 06:55:25 +01:00
|
|
|
BytesPipe,
|
|
|
|
VbytesPipe,
|
2019-07-21 16:59:47 +02:00
|
|
|
]
|
|
|
|
})
|
|
|
|
export class SharedModule { }
|