2020-07-03 18:45:19 +02:00
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { CommonModule } from '@angular/common';
|
|
|
|
import { BisqRoutingModule } from './bisq.routing.module';
|
|
|
|
import { SharedModule } from '../shared/shared.module';
|
|
|
|
import { BisqTransactionsComponent } from './bisq-transactions/bisq-transactions.component';
|
|
|
|
import { NgbPaginationModule } from '@ng-bootstrap/ng-bootstrap';
|
2020-07-10 19:17:13 +02:00
|
|
|
import { BisqTransactionComponent } from './bisq-transaction/bisq-transaction.component';
|
|
|
|
import { BisqBlockComponent } from './bisq-block/bisq-block.component';
|
|
|
|
import { BisqIconComponent } from './bisq-icon/bisq-icon.component';
|
|
|
|
import { BisqTransactionDetailsComponent } from './bisq-transaction-details/bisq-transaction-details.component';
|
|
|
|
import { BisqTransfersComponent } from './bisq-transfers/bisq-transfers.component';
|
|
|
|
import { FontAwesomeModule, FaIconLibrary } from '@fortawesome/angular-fontawesome';
|
|
|
|
import { faLeaf, faQuestion, faExclamationTriangle, faRocket, faRetweet, faFileAlt, faMoneyBill,
|
|
|
|
faEye, faEyeSlash, faLock, faLockOpen } from '@fortawesome/free-solid-svg-icons';
|
|
|
|
import { BisqBlocksComponent } from './bisq-blocks/bisq-blocks.component';
|
|
|
|
import { BisqExplorerComponent } from './bisq-explorer/bisq-explorer.component';
|
2020-07-13 10:16:12 +02:00
|
|
|
import { BisqApiService } from './bisq-api.service';
|
2020-07-13 16:46:25 +02:00
|
|
|
import { BisqAddressComponent } from './bisq-address/bisq-address.component';
|
2020-07-03 18:45:19 +02:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
declarations: [
|
|
|
|
BisqTransactionsComponent,
|
2020-07-10 19:17:13 +02:00
|
|
|
BisqTransactionComponent,
|
|
|
|
BisqBlockComponent,
|
|
|
|
BisqTransactionComponent,
|
|
|
|
BisqIconComponent,
|
|
|
|
BisqTransactionDetailsComponent,
|
|
|
|
BisqTransfersComponent,
|
|
|
|
BisqBlocksComponent,
|
|
|
|
BisqExplorerComponent,
|
2020-07-13 16:46:25 +02:00
|
|
|
BisqAddressComponent,
|
2020-07-03 18:45:19 +02:00
|
|
|
],
|
|
|
|
imports: [
|
|
|
|
CommonModule,
|
|
|
|
BisqRoutingModule,
|
|
|
|
SharedModule,
|
|
|
|
NgbPaginationModule,
|
2020-07-10 19:17:13 +02:00
|
|
|
FontAwesomeModule,
|
2020-07-03 18:45:19 +02:00
|
|
|
],
|
2020-07-13 10:16:12 +02:00
|
|
|
providers: [
|
|
|
|
BisqApiService,
|
|
|
|
]
|
2020-07-03 18:45:19 +02:00
|
|
|
})
|
2020-07-10 19:17:13 +02:00
|
|
|
export class BisqModule {
|
|
|
|
constructor(library: FaIconLibrary) {
|
|
|
|
library.addIcons(faQuestion);
|
|
|
|
library.addIcons(faExclamationTriangle);
|
|
|
|
library.addIcons(faRocket);
|
|
|
|
library.addIcons(faRetweet);
|
|
|
|
library.addIcons(faLeaf);
|
|
|
|
library.addIcons(faFileAlt);
|
|
|
|
library.addIcons(faMoneyBill);
|
|
|
|
library.addIcons(faEye);
|
|
|
|
library.addIcons(faEyeSlash);
|
|
|
|
library.addIcons(faLock);
|
|
|
|
library.addIcons(faLockOpen);
|
|
|
|
}
|
|
|
|
}
|