2019-07-21 16:59:47 +02:00
|
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { HttpClientModule } from '@angular/common/http';
|
|
|
|
import { ReactiveFormsModule } from '@angular/forms';
|
2020-02-16 16:15:07 +01:00
|
|
|
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
|
|
import { NgbButtonsModule } from '@ng-bootstrap/ng-bootstrap';
|
|
|
|
|
|
|
|
import { AppRoutingModule } from './app-routing.module';
|
|
|
|
import { AppComponent } from './components/app/app.component';
|
|
|
|
|
|
|
|
import { StartComponent } from './components/start/start.component';
|
|
|
|
import { ElectrsApiService } from './services/electrs-api.service';
|
|
|
|
import { BytesPipe } from './pipes/bytes-pipe/bytes.pipe';
|
|
|
|
import { VbytesPipe } from './pipes/bytes-pipe/vbytes.pipe';
|
|
|
|
import { WuBytesPipe } from './pipes/bytes-pipe/wubytes.pipe';
|
|
|
|
import { TransactionComponent } from './components/transaction/transaction.component';
|
|
|
|
import { TransactionsListComponent } from './components/transactions-list/transactions-list.component';
|
|
|
|
import { AmountComponent } from './components/amount/amount.component';
|
|
|
|
import { StateService } from './services/state.service';
|
|
|
|
import { BlockComponent } from './components/block/block.component';
|
|
|
|
import { ShortenStringPipe } from './pipes/shorten-string-pipe/shorten-string.pipe';
|
|
|
|
import { AddressComponent } from './components/address/address.component';
|
|
|
|
import { SearchFormComponent } from './components/search-form/search-form.component';
|
|
|
|
import { LatestBlocksComponent } from './components/latest-blocks/latest-blocks.component';
|
|
|
|
import { WebsocketService } from './services/websocket.service';
|
|
|
|
import { TimeSinceComponent } from './components/time-since/time-since.component';
|
|
|
|
import { AddressLabelsComponent } from './components/address-labels/address-labels.component';
|
|
|
|
import { MempoolBlocksComponent } from './components/mempool-blocks/mempool-blocks.component';
|
|
|
|
import { CeilPipe } from './pipes/math-ceil/math-ceil.pipe';
|
|
|
|
import { LatestTransactionsComponent } from './components/latest-transactions/latest-transactions.component';
|
|
|
|
import { QrcodeComponent } from './components/qrcode/qrcode.component';
|
|
|
|
import { ClipboardComponent } from './components/clipboard/clipboard.component';
|
|
|
|
import { MasterPageComponent } from './components/master-page/master-page.component';
|
|
|
|
import { AboutComponent } from './components/about/about.component';
|
|
|
|
import { TelevisionComponent } from './components/television/television.component';
|
|
|
|
import { StatisticsComponent } from './components/statistics/statistics.component';
|
|
|
|
import { ChartistComponent } from './components/statistics/chartist.component';
|
|
|
|
import { BlockchainBlocksComponent } from './components/blockchain-blocks/blockchain-blocks.component';
|
|
|
|
import { BlockchainComponent } from './components/blockchain/blockchain.component';
|
2020-02-17 14:39:20 +01:00
|
|
|
import { FooterComponent } from './components/footer/footer.component';
|
|
|
|
import { ExplorerComponent } from './components/explorer/explorer.component';
|
2020-02-25 22:29:57 +01:00
|
|
|
import { AudioService } from './services/audio.service';
|
2019-07-21 16:59:47 +02:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
declarations: [
|
|
|
|
AppComponent,
|
|
|
|
AboutComponent,
|
2020-02-16 16:15:07 +01:00
|
|
|
MasterPageComponent,
|
2019-07-27 17:43:17 +02:00
|
|
|
TelevisionComponent,
|
2020-02-16 16:15:07 +01:00
|
|
|
BlockchainComponent,
|
|
|
|
StartComponent,
|
2019-07-23 17:13:36 +02:00
|
|
|
BlockchainBlocksComponent,
|
2020-02-16 16:15:07 +01:00
|
|
|
StatisticsComponent,
|
|
|
|
TransactionComponent,
|
|
|
|
BlockComponent,
|
|
|
|
TransactionsListComponent,
|
|
|
|
BytesPipe,
|
|
|
|
VbytesPipe,
|
|
|
|
WuBytesPipe,
|
|
|
|
CeilPipe,
|
|
|
|
ShortenStringPipe,
|
|
|
|
AddressComponent,
|
|
|
|
AmountComponent,
|
|
|
|
SearchFormComponent,
|
|
|
|
LatestBlocksComponent,
|
|
|
|
TimeSinceComponent,
|
|
|
|
AddressLabelsComponent,
|
|
|
|
MempoolBlocksComponent,
|
|
|
|
LatestTransactionsComponent,
|
|
|
|
QrcodeComponent,
|
|
|
|
ClipboardComponent,
|
2020-02-17 14:39:20 +01:00
|
|
|
ExplorerComponent,
|
2020-02-16 16:15:07 +01:00
|
|
|
ChartistComponent,
|
2020-02-17 14:39:20 +01:00
|
|
|
FooterComponent,
|
2019-07-21 16:59:47 +02:00
|
|
|
],
|
|
|
|
imports: [
|
|
|
|
BrowserModule,
|
|
|
|
AppRoutingModule,
|
2020-02-16 16:15:07 +01:00
|
|
|
HttpClientModule,
|
|
|
|
ReactiveFormsModule,
|
|
|
|
BrowserAnimationsModule,
|
|
|
|
NgbButtonsModule,
|
2019-07-21 16:59:47 +02:00
|
|
|
],
|
|
|
|
providers: [
|
2020-02-16 16:15:07 +01:00
|
|
|
ElectrsApiService,
|
|
|
|
StateService,
|
|
|
|
WebsocketService,
|
|
|
|
VbytesPipe,
|
2020-02-25 22:29:57 +01:00
|
|
|
AudioService,
|
2019-07-21 16:59:47 +02:00
|
|
|
],
|
|
|
|
bootstrap: [AppComponent]
|
|
|
|
})
|
|
|
|
export class AppModule { }
|