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';
|
2021-05-01 01:55:02 +02:00
|
|
|
import { Decimal2HexPipe } from './pipes/decimal2hex/decimal2hex.pipe';
|
2020-11-20 20:47:39 +01:00
|
|
|
import { AsmStylerPipe } from './pipes/asm-styler/asm-styler.pipe';
|
2021-07-26 21:00:40 +02:00
|
|
|
import { AbsolutePipe } from './pipes/absolute/absolute.pipe';
|
2020-07-03 18:45:19 +02:00
|
|
|
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';
|
2021-07-17 13:58:16 +02:00
|
|
|
import { TimeUntilComponent } from '../components/time-until/time-until.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';
|
2021-06-06 22:06:56 +02:00
|
|
|
import { NgbNavModule, NgbTooltipModule, NgbButtonsModule, NgbPaginationModule, NgbDropdownModule, NgbAccordionModule } from '@ng-bootstrap/ng-bootstrap';
|
2020-07-19 09:54:42 +02:00
|
|
|
import { TxFeaturesComponent } from '../components/tx-features/tx-features.component';
|
|
|
|
import { TxFeeRatingComponent } from '../components/tx-fee-rating/tx-fee-rating.component';
|
2020-07-24 13:41:15 +02:00
|
|
|
import { ReactiveFormsModule } from '@angular/forms';
|
2021-05-12 12:51:55 +02:00
|
|
|
import { LanguageSelectorComponent } from '../components/language-selector/language-selector.component';
|
2021-05-13 17:23:43 +02:00
|
|
|
import { ColoredPriceDirective } from './directives/colored-price.directive';
|
2020-07-03 18:45:19 +02:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
declarations: [
|
2020-07-19 09:54:42 +02:00
|
|
|
ClipboardComponent,
|
|
|
|
TimeSinceComponent,
|
2021-07-17 13:58:16 +02:00
|
|
|
TimeUntilComponent,
|
2020-07-19 09:54:42 +02:00
|
|
|
QrcodeComponent,
|
|
|
|
FiatComponent,
|
|
|
|
TxFeaturesComponent,
|
|
|
|
TxFeeRatingComponent,
|
2021-05-12 12:51:55 +02:00
|
|
|
LanguageSelectorComponent,
|
2020-07-03 18:45:19 +02:00
|
|
|
ScriptpubkeyTypePipe,
|
|
|
|
RelativeUrlPipe,
|
|
|
|
Hex2asciiPipe,
|
2020-11-20 20:47:39 +01:00
|
|
|
AsmStylerPipe,
|
2021-07-26 21:00:40 +02:00
|
|
|
AbsolutePipe,
|
2020-07-03 18:45:19 +02:00
|
|
|
BytesPipe,
|
|
|
|
VbytesPipe,
|
|
|
|
WuBytesPipe,
|
|
|
|
CeilPipe,
|
|
|
|
ShortenStringPipe,
|
2021-05-01 01:55:02 +02:00
|
|
|
Decimal2HexPipe,
|
2021-05-13 17:23:43 +02:00
|
|
|
ColoredPriceDirective,
|
2020-07-03 18:45:19 +02:00
|
|
|
],
|
|
|
|
imports: [
|
|
|
|
CommonModule,
|
2020-07-24 13:41:15 +02:00
|
|
|
ReactiveFormsModule,
|
2020-07-18 07:59:12 +02:00
|
|
|
NgbNavModule,
|
2020-07-19 09:54:42 +02:00
|
|
|
NgbTooltipModule,
|
2020-07-24 13:41:15 +02:00
|
|
|
NgbButtonsModule,
|
|
|
|
NgbPaginationModule,
|
|
|
|
NgbDropdownModule,
|
2021-06-06 22:06:56 +02:00
|
|
|
NgbAccordionModule,
|
2020-07-03 18:45:19 +02:00
|
|
|
],
|
|
|
|
providers: [
|
|
|
|
VbytesPipe,
|
|
|
|
],
|
|
|
|
exports: [
|
2021-06-06 22:06:56 +02:00
|
|
|
NgbAccordionModule,
|
2020-07-18 07:59:12 +02:00
|
|
|
NgbNavModule,
|
|
|
|
CommonModule,
|
2020-07-24 13:41:15 +02:00
|
|
|
ReactiveFormsModule,
|
2020-07-19 09:54:42 +02:00
|
|
|
NgbTooltipModule,
|
2020-07-24 13:41:15 +02:00
|
|
|
NgbButtonsModule,
|
|
|
|
NgbPaginationModule,
|
|
|
|
NgbDropdownModule,
|
2020-07-19 09:54:42 +02:00
|
|
|
TimeSinceComponent,
|
2021-07-17 13:58:16 +02:00
|
|
|
TimeUntilComponent,
|
2020-07-19 09:54:42 +02:00
|
|
|
ClipboardComponent,
|
|
|
|
QrcodeComponent,
|
|
|
|
FiatComponent,
|
|
|
|
TxFeaturesComponent,
|
|
|
|
TxFeeRatingComponent,
|
2021-05-12 12:51:55 +02:00
|
|
|
LanguageSelectorComponent,
|
2020-07-03 18:45:19 +02:00
|
|
|
ScriptpubkeyTypePipe,
|
|
|
|
RelativeUrlPipe,
|
|
|
|
Hex2asciiPipe,
|
2020-11-20 20:47:39 +01:00
|
|
|
AsmStylerPipe,
|
2021-07-26 21:00:40 +02:00
|
|
|
AbsolutePipe,
|
2020-07-03 18:45:19 +02:00
|
|
|
BytesPipe,
|
|
|
|
VbytesPipe,
|
|
|
|
WuBytesPipe,
|
|
|
|
CeilPipe,
|
|
|
|
ShortenStringPipe,
|
2021-05-01 01:55:02 +02:00
|
|
|
Decimal2HexPipe,
|
2021-05-13 17:23:43 +02:00
|
|
|
ColoredPriceDirective,
|
2020-07-03 18:45:19 +02:00
|
|
|
]
|
|
|
|
})
|
2020-07-10 19:17:13 +02:00
|
|
|
export class SharedModule {}
|