2020-07-03 18:45:19 +02:00
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { CommonModule } from '@angular/common';
|
|
|
|
import { VbytesPipe } from './pipes/bytes-pipe/vbytes.pipe';
|
|
|
|
import { ShortenStringPipe } from './pipes/shorten-string-pipe/shorten-string.pipe';
|
|
|
|
import { CeilPipe } from './pipes/math-ceil/math-ceil.pipe';
|
|
|
|
import { Hex2asciiPipe } from './pipes/hex2ascii/hex2ascii.pipe';
|
|
|
|
import { RelativeUrlPipe } from './pipes/relative-url/relative-url.pipe';
|
|
|
|
import { ScriptpubkeyTypePipe } from './pipes/scriptpubkey-type-pipe/scriptpubkey-type.pipe';
|
|
|
|
import { BytesPipe } from './pipes/bytes-pipe/bytes.pipe';
|
|
|
|
import { WuBytesPipe } from './pipes/bytes-pipe/wubytes.pipe';
|
2020-07-10 19:17:13 +02:00
|
|
|
import { TimeSinceComponent } from '../components/time-since/time-since.component';
|
2020-07-13 10:16:12 +02:00
|
|
|
import { ClipboardComponent } from '../components/clipboard/clipboard.component';
|
2020-07-13 16:46:25 +02:00
|
|
|
import { QrcodeComponent } from '../components/qrcode/qrcode.component';
|
2020-07-14 16:26:02 +02:00
|
|
|
import { FiatComponent } from '../fiat/fiat.component';
|
2020-07-03 18:45:19 +02:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
declarations: [
|
|
|
|
ScriptpubkeyTypePipe,
|
|
|
|
RelativeUrlPipe,
|
|
|
|
Hex2asciiPipe,
|
|
|
|
BytesPipe,
|
|
|
|
VbytesPipe,
|
|
|
|
WuBytesPipe,
|
|
|
|
CeilPipe,
|
|
|
|
ShortenStringPipe,
|
2020-07-13 10:16:12 +02:00
|
|
|
ClipboardComponent,
|
2020-07-10 19:17:13 +02:00
|
|
|
TimeSinceComponent,
|
2020-07-13 16:46:25 +02:00
|
|
|
QrcodeComponent,
|
2020-07-14 16:26:02 +02:00
|
|
|
FiatComponent,
|
2020-07-03 18:45:19 +02:00
|
|
|
],
|
|
|
|
imports: [
|
|
|
|
CommonModule,
|
|
|
|
],
|
|
|
|
providers: [
|
|
|
|
VbytesPipe,
|
|
|
|
],
|
|
|
|
exports: [
|
|
|
|
ScriptpubkeyTypePipe,
|
|
|
|
RelativeUrlPipe,
|
|
|
|
Hex2asciiPipe,
|
|
|
|
BytesPipe,
|
|
|
|
VbytesPipe,
|
|
|
|
WuBytesPipe,
|
|
|
|
CeilPipe,
|
|
|
|
ShortenStringPipe,
|
2020-07-10 19:17:13 +02:00
|
|
|
TimeSinceComponent,
|
2020-07-13 16:46:25 +02:00
|
|
|
ClipboardComponent,
|
|
|
|
QrcodeComponent,
|
2020-07-14 16:26:02 +02:00
|
|
|
FiatComponent,
|
2020-07-03 18:45:19 +02:00
|
|
|
]
|
|
|
|
})
|
2020-07-10 19:17:13 +02:00
|
|
|
export class SharedModule {}
|