2020-07-03 23:45:19 +07: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 03:55:02 +04:00
|
|
|
import { Decimal2HexPipe } from './pipes/decimal2hex/decimal2hex.pipe';
|
2021-08-18 18:57:35 +05:30
|
|
|
import { FeeRoundingPipe } from './pipes/fee-rounding/fee-rounding.pipe';
|
2020-11-21 04:47:39 +09:00
|
|
|
import { AsmStylerPipe } from './pipes/asm-styler/asm-styler.pipe';
|
2021-07-26 16:00:40 -03:00
|
|
|
import { AbsolutePipe } from './pipes/absolute/absolute.pipe';
|
2020-07-03 23:45:19 +07: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';
|
2022-04-24 22:53:27 +04:00
|
|
|
import { BlockchainComponent } from '../components/blockchain/blockchain.component';
|
2020-07-11 00:17:13 +07:00
|
|
|
import { TimeSinceComponent } from '../components/time-since/time-since.component';
|
2021-07-17 08:58:16 -03:00
|
|
|
import { TimeUntilComponent } from '../components/time-until/time-until.component';
|
2020-07-13 15:16:12 +07:00
|
|
|
import { ClipboardComponent } from '../components/clipboard/clipboard.component';
|
2020-07-13 21:46:25 +07:00
|
|
|
import { QrcodeComponent } from '../components/qrcode/qrcode.component';
|
2020-07-14 21:26:02 +07:00
|
|
|
import { FiatComponent } from '../fiat/fiat.component';
|
2021-06-06 17:06:56 -03:00
|
|
|
import { NgbNavModule, NgbTooltipModule, NgbButtonsModule, NgbPaginationModule, NgbDropdownModule, NgbAccordionModule } from '@ng-bootstrap/ng-bootstrap';
|
2020-07-19 14:54:42 +07:00
|
|
|
import { TxFeaturesComponent } from '../components/tx-features/tx-features.component';
|
|
|
|
import { TxFeeRatingComponent } from '../components/tx-fee-rating/tx-fee-rating.component';
|
2020-07-24 18:41:15 +07:00
|
|
|
import { ReactiveFormsModule } from '@angular/forms';
|
2021-05-12 14:51:55 +04:00
|
|
|
import { LanguageSelectorComponent } from '../components/language-selector/language-selector.component';
|
2021-05-13 19:23:43 +04:00
|
|
|
import { ColoredPriceDirective } from './directives/colored-price.directive';
|
2022-04-24 22:53:27 +04:00
|
|
|
import { NoSanitizePipe } from './pipes/no-sanitize.pipe';
|
|
|
|
import { MempoolBlocksComponent } from '../components/mempool-blocks/mempool-blocks.component';
|
|
|
|
import { BlockchainBlocksComponent } from '../components/blockchain-blocks/blockchain-blocks.component';
|
|
|
|
import { AmountComponent } from '../components/amount/amount.component';
|
|
|
|
import { RouterModule } from '@angular/router';
|
2020-07-03 23:45:19 +07:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
declarations: [
|
2020-07-19 14:54:42 +07:00
|
|
|
ClipboardComponent,
|
|
|
|
TimeSinceComponent,
|
2021-07-17 08:58:16 -03:00
|
|
|
TimeUntilComponent,
|
2020-07-19 14:54:42 +07:00
|
|
|
QrcodeComponent,
|
|
|
|
FiatComponent,
|
|
|
|
TxFeaturesComponent,
|
|
|
|
TxFeeRatingComponent,
|
2021-05-12 14:51:55 +04:00
|
|
|
LanguageSelectorComponent,
|
2020-07-03 23:45:19 +07:00
|
|
|
ScriptpubkeyTypePipe,
|
|
|
|
RelativeUrlPipe,
|
2022-04-24 22:53:27 +04:00
|
|
|
NoSanitizePipe,
|
2020-07-03 23:45:19 +07:00
|
|
|
Hex2asciiPipe,
|
2020-11-21 04:47:39 +09:00
|
|
|
AsmStylerPipe,
|
2021-07-26 16:00:40 -03:00
|
|
|
AbsolutePipe,
|
2020-07-03 23:45:19 +07:00
|
|
|
BytesPipe,
|
|
|
|
VbytesPipe,
|
|
|
|
WuBytesPipe,
|
|
|
|
CeilPipe,
|
|
|
|
ShortenStringPipe,
|
2021-05-01 03:55:02 +04:00
|
|
|
Decimal2HexPipe,
|
2021-08-18 18:57:35 +05:30
|
|
|
FeeRoundingPipe,
|
2021-05-13 19:23:43 +04:00
|
|
|
ColoredPriceDirective,
|
2022-04-24 22:53:27 +04:00
|
|
|
BlockchainComponent,
|
|
|
|
MempoolBlocksComponent,
|
|
|
|
BlockchainBlocksComponent,
|
|
|
|
AmountComponent,
|
2020-07-03 23:45:19 +07:00
|
|
|
],
|
|
|
|
imports: [
|
|
|
|
CommonModule,
|
2022-04-24 22:53:27 +04:00
|
|
|
RouterModule,
|
2020-07-24 18:41:15 +07:00
|
|
|
ReactiveFormsModule,
|
2020-07-18 12:59:12 +07:00
|
|
|
NgbNavModule,
|
2020-07-19 14:54:42 +07:00
|
|
|
NgbTooltipModule,
|
2020-07-24 18:41:15 +07:00
|
|
|
NgbButtonsModule,
|
|
|
|
NgbPaginationModule,
|
|
|
|
NgbDropdownModule,
|
2021-06-06 17:06:56 -03:00
|
|
|
NgbAccordionModule,
|
2020-07-03 23:45:19 +07:00
|
|
|
],
|
|
|
|
providers: [
|
|
|
|
VbytesPipe,
|
2022-01-10 15:50:21 +04:00
|
|
|
RelativeUrlPipe,
|
2022-04-24 22:53:27 +04:00
|
|
|
NoSanitizePipe,
|
2020-07-03 23:45:19 +07:00
|
|
|
],
|
|
|
|
exports: [
|
2022-04-24 22:53:27 +04:00
|
|
|
RouterModule,
|
2021-06-06 17:06:56 -03:00
|
|
|
NgbAccordionModule,
|
2020-07-18 12:59:12 +07:00
|
|
|
NgbNavModule,
|
|
|
|
CommonModule,
|
2020-07-24 18:41:15 +07:00
|
|
|
ReactiveFormsModule,
|
2020-07-19 14:54:42 +07:00
|
|
|
NgbTooltipModule,
|
2020-07-24 18:41:15 +07:00
|
|
|
NgbButtonsModule,
|
|
|
|
NgbPaginationModule,
|
|
|
|
NgbDropdownModule,
|
2020-07-19 14:54:42 +07:00
|
|
|
TimeSinceComponent,
|
2021-07-17 08:58:16 -03:00
|
|
|
TimeUntilComponent,
|
2020-07-19 14:54:42 +07:00
|
|
|
ClipboardComponent,
|
|
|
|
QrcodeComponent,
|
|
|
|
FiatComponent,
|
|
|
|
TxFeaturesComponent,
|
|
|
|
TxFeeRatingComponent,
|
2021-05-12 14:51:55 +04:00
|
|
|
LanguageSelectorComponent,
|
2020-07-03 23:45:19 +07:00
|
|
|
ScriptpubkeyTypePipe,
|
|
|
|
RelativeUrlPipe,
|
|
|
|
Hex2asciiPipe,
|
2020-11-21 04:47:39 +09:00
|
|
|
AsmStylerPipe,
|
2021-07-26 16:00:40 -03:00
|
|
|
AbsolutePipe,
|
2020-07-03 23:45:19 +07:00
|
|
|
BytesPipe,
|
|
|
|
VbytesPipe,
|
|
|
|
WuBytesPipe,
|
|
|
|
CeilPipe,
|
|
|
|
ShortenStringPipe,
|
2021-05-01 03:55:02 +04:00
|
|
|
Decimal2HexPipe,
|
2021-08-18 18:57:35 +05:30
|
|
|
FeeRoundingPipe,
|
2021-05-13 19:23:43 +04:00
|
|
|
ColoredPriceDirective,
|
2022-04-24 22:53:27 +04:00
|
|
|
NoSanitizePipe,
|
|
|
|
BlockchainComponent,
|
|
|
|
MempoolBlocksComponent,
|
|
|
|
BlockchainBlocksComponent,
|
|
|
|
AmountComponent,
|
2020-07-03 23:45:19 +07:00
|
|
|
]
|
|
|
|
})
|
2020-07-11 00:17:13 +07:00
|
|
|
export class SharedModule {}
|