4083 lines
190 KiB
HTML
4083 lines
190 KiB
HTML
<!doctype html>
|
|
<html class="no-js" lang="">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
|
<title>CICADA</title>
|
|
<meta name="description" content="">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<link rel="icon" type="image/x-icon" href="../images/favicon.ico">
|
|
<link rel="stylesheet" href="../styles/style.css">
|
|
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
|
|
</head>
|
|
<body>
|
|
|
|
<div class="navbar navbar-default navbar-fixed-top visible-xs">
|
|
<a href="../" class="navbar-brand">CICADA</a>
|
|
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
|
|
</div>
|
|
|
|
<div class="xs-menu menu" id="mobile-menu">
|
|
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu>
|
|
</div>
|
|
|
|
<div class="container-fluid main">
|
|
<div class="row main">
|
|
<div class="hidden-xs menu">
|
|
<compodoc-menu mode="normal"></compodoc-menu>
|
|
</div>
|
|
<!-- START CONTENT -->
|
|
<div class="content component">
|
|
<div class="content-data">
|
|
|
|
|
|
|
|
|
|
<ol class="breadcrumb">
|
|
<li>Components</li>
|
|
<li
|
|
>
|
|
AccountDetailsComponent</li>
|
|
</ol>
|
|
|
|
<ul class="nav nav-tabs" role="tablist">
|
|
<li class="active">
|
|
<a href="#info" role="tab" id="info-tab" data-toggle="tab" data-link="info">Info</a>
|
|
</li>
|
|
<li >
|
|
<a href="#source" role="tab" id="source-tab" data-toggle="tab" data-link="source">Source</a>
|
|
</li>
|
|
<li >
|
|
<a href="#templateData" role="tab" id="templateData-tab" data-toggle="tab" data-link="template">Template</a>
|
|
</li>
|
|
<li >
|
|
<a href="#styleData" role="tab" id="styleData-tab" data-toggle="tab" data-link="style">Styles</a>
|
|
</li>
|
|
<li >
|
|
<a href="#tree" role="tab" id="tree-tab" data-toggle="tab" data-link="dom-tree">DOM Tree</a>
|
|
</li>
|
|
</ul>
|
|
|
|
<div class="tab-content">
|
|
<div class="tab-pane fade active in" id="c-info"><p class="comment">
|
|
<h3>File</h3>
|
|
</p>
|
|
<p class="comment">
|
|
<code>src/app/pages/accounts/account-details/account-details.component.ts</code>
|
|
</p>
|
|
|
|
|
|
|
|
|
|
<p class="comment">
|
|
<h3>Implements</h3>
|
|
</p>
|
|
<p class="comment">
|
|
<code><a href="https://angular.io/api/core/OnInit" target="_blank" >OnInit</a></code>
|
|
<code><a href="https://angular.io/api/core/AfterViewInit" target="_blank" >AfterViewInit</a></code>
|
|
</p>
|
|
|
|
|
|
<section>
|
|
<h3>Metadata</h3>
|
|
<table class="table table-sm table-hover">
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td class="col-md-3">changeDetection</td>
|
|
<td class="col-md-9"><code>ChangeDetectionStrategy.OnPush</code></td>
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-3">selector</td>
|
|
<td class="col-md-9"><code>app-account-details</code></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="col-md-3">styleUrls</td>
|
|
<td class="col-md-9"><code>./account-details.component.scss</code></td>
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-3">templateUrl</td>
|
|
<td class="col-md-9"><code>./account-details.component.html</code></td>
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
</section>
|
|
|
|
<section>
|
|
<h3 id="index">Index</h3>
|
|
<table class="table table-sm table-bordered index-table">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<h6><b>Properties</b></h6>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<ul class="index-list">
|
|
<li>
|
|
<a href="#account" >account</a>
|
|
</li>
|
|
<li>
|
|
<a href="#accountAddress" >accountAddress</a>
|
|
</li>
|
|
<li>
|
|
<a href="#accountInfoForm" >accountInfoForm</a>
|
|
</li>
|
|
<li>
|
|
<a href="#accounts" >accounts</a>
|
|
</li>
|
|
<li>
|
|
<a href="#accountsLoading" >accountsLoading</a>
|
|
</li>
|
|
<li>
|
|
<a href="#accountStatus" >accountStatus</a>
|
|
</li>
|
|
<li>
|
|
<a href="#accountsType" >accountsType</a>
|
|
</li>
|
|
<li>
|
|
<a href="#accountTypes" >accountTypes</a>
|
|
</li>
|
|
<li>
|
|
<a href="#area" >area</a>
|
|
</li>
|
|
<li>
|
|
<a href="#areaNames" >areaNames</a>
|
|
</li>
|
|
<li>
|
|
<a href="#areaType" >areaType</a>
|
|
</li>
|
|
<li>
|
|
<a href="#areaTypes" >areaTypes</a>
|
|
</li>
|
|
<li>
|
|
<a href="#bloxbergLink" >bloxbergLink</a>
|
|
</li>
|
|
<li>
|
|
<a href="#categories" >categories</a>
|
|
</li>
|
|
<li>
|
|
<a href="#category" >category</a>
|
|
</li>
|
|
<li>
|
|
<a href="#genders" >genders</a>
|
|
</li>
|
|
<li>
|
|
<a href="#histories" >histories</a>
|
|
</li>
|
|
<li>
|
|
<a href="#history" >history</a>
|
|
</li>
|
|
<li>
|
|
<a href="#historyDataSource" >historyDataSource</a>
|
|
</li>
|
|
<li>
|
|
<a href="#historyDefaultPageSize" >historyDefaultPageSize</a>
|
|
</li>
|
|
<li>
|
|
<a href="#historyDisplayedColumns" >historyDisplayedColumns</a>
|
|
</li>
|
|
<li>
|
|
<a href="#historyLoading" >historyLoading</a>
|
|
</li>
|
|
<li>
|
|
<a href="#historyPageSizeOptions" >historyPageSizeOptions</a>
|
|
</li>
|
|
<li>
|
|
<a href="#historyTablePaginator" >historyTablePaginator</a>
|
|
</li>
|
|
<li>
|
|
<a href="#historyTableSort" >historyTableSort</a>
|
|
</li>
|
|
<li>
|
|
<a href="#matcher" >matcher</a>
|
|
</li>
|
|
<li>
|
|
<a href="#submitted" >submitted</a>
|
|
</li>
|
|
<li>
|
|
<a href="#tokenSymbol" >tokenSymbol</a>
|
|
</li>
|
|
<li>
|
|
<a href="#transaction" >transaction</a>
|
|
</li>
|
|
<li>
|
|
<a href="#transactions" >transactions</a>
|
|
</li>
|
|
<li>
|
|
<a href="#transactionsDataSource" >transactionsDataSource</a>
|
|
</li>
|
|
<li>
|
|
<a href="#transactionsDefaultPageSize" >transactionsDefaultPageSize</a>
|
|
</li>
|
|
<li>
|
|
<a href="#transactionsDisplayedColumns" >transactionsDisplayedColumns</a>
|
|
</li>
|
|
<li>
|
|
<a href="#transactionsLoading" >transactionsLoading</a>
|
|
</li>
|
|
<li>
|
|
<a href="#transactionsPageSizeOptions" >transactionsPageSizeOptions</a>
|
|
</li>
|
|
<li>
|
|
<a href="#transactionsType" >transactionsType</a>
|
|
</li>
|
|
<li>
|
|
<a href="#transactionsTypes" >transactionsTypes</a>
|
|
</li>
|
|
<li>
|
|
<a href="#transactionTablePaginator" >transactionTablePaginator</a>
|
|
</li>
|
|
<li>
|
|
<a href="#transactionTableSort" >transactionTableSort</a>
|
|
</li>
|
|
<li>
|
|
<a href="#userDataSource" >userDataSource</a>
|
|
</li>
|
|
<li>
|
|
<a href="#userDisplayedColumns" >userDisplayedColumns</a>
|
|
</li>
|
|
<li>
|
|
<a href="#usersDefaultPageSize" >usersDefaultPageSize</a>
|
|
</li>
|
|
<li>
|
|
<a href="#usersPageSizeOptions" >usersPageSizeOptions</a>
|
|
</li>
|
|
<li>
|
|
<a href="#userTablePaginator" >userTablePaginator</a>
|
|
</li>
|
|
<li>
|
|
<a href="#userTableSort" >userTableSort</a>
|
|
</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<h6><b>Methods</b></h6>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<ul class="index-list">
|
|
<li>
|
|
<a href="#buildAccountsInfoForm" >buildAccountsInfoForm</a>
|
|
</li>
|
|
<li>
|
|
<a href="#copyAddress" >copyAddress</a>
|
|
</li>
|
|
<li>
|
|
<a href="#doTransactionFilter" >doTransactionFilter</a>
|
|
</li>
|
|
<li>
|
|
<a href="#doUserFilter" >doUserFilter</a>
|
|
</li>
|
|
<li>
|
|
<a href="#downloadCsv" >downloadCsv</a>
|
|
</li>
|
|
<li>
|
|
<a href="#filterAccounts" >filterAccounts</a>
|
|
</li>
|
|
<li>
|
|
<a href="#filterTransactions" >filterTransactions</a>
|
|
</li>
|
|
<li>
|
|
<a href="#getKeyValue" >getKeyValue</a>
|
|
</li>
|
|
<li>
|
|
<span class="modifier">Async</span>
|
|
<a href="#loadAccount" >loadAccount</a>
|
|
</li>
|
|
<li>
|
|
<a href="#loadSearchData" >loadSearchData</a>
|
|
</li>
|
|
<li>
|
|
<a href="#ngAfterViewInit" >ngAfterViewInit</a>
|
|
</li>
|
|
<li>
|
|
<span class="modifier">Async</span>
|
|
<a href="#ngOnInit" >ngOnInit</a>
|
|
</li>
|
|
<li>
|
|
<a href="#populateAccountsInfoForm" >populateAccountsInfoForm</a>
|
|
</li>
|
|
<li>
|
|
<a href="#populateDataTables" >populateDataTables</a>
|
|
</li>
|
|
<li>
|
|
<a href="#queryLocationAndCategory" >queryLocationAndCategory</a>
|
|
</li>
|
|
<li>
|
|
<a href="#resetPin" >resetPin</a>
|
|
</li>
|
|
<li>
|
|
<span class="modifier">Async</span>
|
|
<a href="#saveInfo" >saveInfo</a>
|
|
</li>
|
|
<li>
|
|
<a href="#viewAccount" >viewAccount</a>
|
|
</li>
|
|
<li>
|
|
<a href="#viewHistory" >viewHistory</a>
|
|
</li>
|
|
<li>
|
|
<a href="#viewTransaction" >viewTransaction</a>
|
|
</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<h6><b>Accessors</b></h6>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<ul class="index-list">
|
|
<li>
|
|
<a href="#accountInfoFormStub" >accountInfoFormStub</a>
|
|
</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</section>
|
|
|
|
<section>
|
|
<h3 id="constructor">Constructor</h3>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<code>constructor(formBuilder: <a href="https://angular.io/api/forms/FormBuilder" target="_blank">FormBuilder</a>, locationService: <a href="../injectables/LocationService.html" target="_self">LocationService</a>, transactionService: <a href="../injectables/TransactionService.html" target="_self">TransactionService</a>, userService: <a href="../injectables/UserService.html" target="_self">UserService</a>, route: <a href="https://angular.io/api/router/ActivatedRoute" target="_blank">ActivatedRoute</a>, router: <a href="https://angular.io/api/router/Router" target="_blank">Router</a>, tokenService: <a href="../injectables/TokenService.html" target="_self">TokenService</a>, loggingService: <a href="../injectables/LoggingService.html" target="_self">LoggingService</a>, blockSyncService: <a href="../injectables/BlockSyncService.html" target="_self">BlockSyncService</a>, cdr: <a href="https://angular.io/api/core/ChangeDetectorRef" target="_blank">ChangeDetectorRef</a>, snackBar: MatSnackBar)</code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="90" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:90</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div>
|
|
<b>Parameters :</b>
|
|
<table class="params">
|
|
<thead>
|
|
<tr>
|
|
<td>Name</td>
|
|
<td>Type</td>
|
|
<td>Optional</td>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>formBuilder</td>
|
|
|
|
<td>
|
|
<code><a href="https://angular.io/api/forms/FormBuilder" target="_blank" >FormBuilder</a></code>
|
|
</td>
|
|
|
|
<td>
|
|
No
|
|
</td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td>locationService</td>
|
|
|
|
<td>
|
|
<code><a href="../injectables/LocationService.html" target="_self" >LocationService</a></code>
|
|
</td>
|
|
|
|
<td>
|
|
No
|
|
</td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td>transactionService</td>
|
|
|
|
<td>
|
|
<code><a href="../injectables/TransactionService.html" target="_self" >TransactionService</a></code>
|
|
</td>
|
|
|
|
<td>
|
|
No
|
|
</td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td>userService</td>
|
|
|
|
<td>
|
|
<code><a href="../injectables/UserService.html" target="_self" >UserService</a></code>
|
|
</td>
|
|
|
|
<td>
|
|
No
|
|
</td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td>route</td>
|
|
|
|
<td>
|
|
<code><a href="https://angular.io/api/router/ActivatedRoute" target="_blank" >ActivatedRoute</a></code>
|
|
</td>
|
|
|
|
<td>
|
|
No
|
|
</td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td>router</td>
|
|
|
|
<td>
|
|
<code><a href="https://angular.io/api/router/Router" target="_blank" >Router</a></code>
|
|
</td>
|
|
|
|
<td>
|
|
No
|
|
</td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td>tokenService</td>
|
|
|
|
<td>
|
|
<code><a href="../injectables/TokenService.html" target="_self" >TokenService</a></code>
|
|
</td>
|
|
|
|
<td>
|
|
No
|
|
</td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td>loggingService</td>
|
|
|
|
<td>
|
|
<code><a href="../injectables/LoggingService.html" target="_self" >LoggingService</a></code>
|
|
</td>
|
|
|
|
<td>
|
|
No
|
|
</td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td>blockSyncService</td>
|
|
|
|
<td>
|
|
<code><a href="../injectables/BlockSyncService.html" target="_self" >BlockSyncService</a></code>
|
|
</td>
|
|
|
|
<td>
|
|
No
|
|
</td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td>cdr</td>
|
|
|
|
<td>
|
|
<code><a href="https://angular.io/api/core/ChangeDetectorRef" target="_blank" >ChangeDetectorRef</a></code>
|
|
</td>
|
|
|
|
<td>
|
|
No
|
|
</td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td>snackBar</td>
|
|
|
|
<td>
|
|
<code>MatSnackBar</code>
|
|
</td>
|
|
|
|
<td>
|
|
No
|
|
</td>
|
|
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
|
|
<h3 id="methods">
|
|
Methods
|
|
</h3>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="buildAccountsInfoForm"></a>
|
|
<span class="name">
|
|
<span ><b>buildAccountsInfoForm</b></span>
|
|
<a href="#buildAccountsInfoForm"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<code>buildAccountsInfoForm()</code>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="253"
|
|
class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:253</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
|
|
<div class="io-description">
|
|
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="copyAddress"></a>
|
|
<span class="name">
|
|
<span ><b>copyAddress</b></span>
|
|
<a href="#copyAddress"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<code>copyAddress()</code>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="235"
|
|
class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:235</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
|
|
<div class="io-description">
|
|
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="doTransactionFilter"></a>
|
|
<span class="name">
|
|
<span ><b>doTransactionFilter</b></span>
|
|
<a href="#doTransactionFilter"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<code>doTransactionFilter(value: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>)</code>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="142"
|
|
class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:142</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
|
|
<div class="io-description">
|
|
<b>Parameters :</b>
|
|
<table class="params">
|
|
<thead>
|
|
<tr>
|
|
<td>Name</td>
|
|
<td>Type</td>
|
|
<td>Optional</td>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>value</td>
|
|
<td>
|
|
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
</td>
|
|
|
|
<td>
|
|
No
|
|
</td>
|
|
|
|
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div>
|
|
</div>
|
|
<div class="io-description">
|
|
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
|
|
</div>
|
|
<div class="io-description">
|
|
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="doUserFilter"></a>
|
|
<span class="name">
|
|
<span ><b>doUserFilter</b></span>
|
|
<a href="#doUserFilter"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<code>doUserFilter(value: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>)</code>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="146"
|
|
class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:146</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
|
|
<div class="io-description">
|
|
<b>Parameters :</b>
|
|
<table class="params">
|
|
<thead>
|
|
<tr>
|
|
<td>Name</td>
|
|
<td>Type</td>
|
|
<td>Optional</td>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>value</td>
|
|
<td>
|
|
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
</td>
|
|
|
|
<td>
|
|
No
|
|
</td>
|
|
|
|
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div>
|
|
</div>
|
|
<div class="io-description">
|
|
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
|
|
</div>
|
|
<div class="io-description">
|
|
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="downloadCsv"></a>
|
|
<span class="name">
|
|
<span ><b>downloadCsv</b></span>
|
|
<a href="#downloadCsv"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<code>downloadCsv(data: <a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank">any</a>, filename: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>)</code>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="231"
|
|
class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:231</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
|
|
<div class="io-description">
|
|
<b>Parameters :</b>
|
|
<table class="params">
|
|
<thead>
|
|
<tr>
|
|
<td>Name</td>
|
|
<td>Type</td>
|
|
<td>Optional</td>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>data</td>
|
|
<td>
|
|
<code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
|
|
</td>
|
|
|
|
<td>
|
|
No
|
|
</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td>filename</td>
|
|
<td>
|
|
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
</td>
|
|
|
|
<td>
|
|
No
|
|
</td>
|
|
|
|
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div>
|
|
</div>
|
|
<div class="io-description">
|
|
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
|
|
</div>
|
|
<div class="io-description">
|
|
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="filterAccounts"></a>
|
|
<span class="name">
|
|
<span ><b>filterAccounts</b></span>
|
|
<a href="#filterAccounts"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<code>filterAccounts()</code>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="193"
|
|
class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:193</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
|
|
<div class="io-description">
|
|
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="filterTransactions"></a>
|
|
<span class="name">
|
|
<span ><b>filterTransactions</b></span>
|
|
<a href="#filterTransactions"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<code>filterTransactions()</code>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="206"
|
|
class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:206</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
|
|
<div class="io-description">
|
|
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="getKeyValue"></a>
|
|
<span class="name">
|
|
<span ><b>getKeyValue</b></span>
|
|
<a href="#getKeyValue"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<code>getKeyValue(obj: <a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank">any</a>)</code>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="243"
|
|
class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:243</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
|
|
<div class="io-description">
|
|
<b>Parameters :</b>
|
|
<table class="params">
|
|
<thead>
|
|
<tr>
|
|
<td>Name</td>
|
|
<td>Type</td>
|
|
<td>Optional</td>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>obj</td>
|
|
<td>
|
|
<code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
|
|
</td>
|
|
|
|
<td>
|
|
No
|
|
</td>
|
|
|
|
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div>
|
|
</div>
|
|
<div class="io-description">
|
|
<b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
|
|
</div>
|
|
<div class="io-description">
|
|
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="loadAccount"></a>
|
|
<span class="name">
|
|
<span class="modifier">Async</span>
|
|
<span ><b>loadAccount</b></span>
|
|
<a href="#loadAccount"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
<code>loadAccount()</code>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="366"
|
|
class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:366</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
|
|
<div class="io-description">
|
|
<b>Returns : </b> <code>Promise<void></code>
|
|
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="loadSearchData"></a>
|
|
<span class="name">
|
|
<span ><b>loadSearchData</b></span>
|
|
<a href="#loadSearchData"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<code>loadSearchData()</code>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="339"
|
|
class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:339</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
|
|
<div class="io-description">
|
|
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="ngAfterViewInit"></a>
|
|
<span class="name">
|
|
<span ><b>ngAfterViewInit</b></span>
|
|
<a href="#ngAfterViewInit"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<code>ngAfterViewInit()</code>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="127"
|
|
class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:127</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
|
|
<div class="io-description">
|
|
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="ngOnInit"></a>
|
|
<span class="name">
|
|
<span class="modifier">Async</span>
|
|
<span ><b>ngOnInit</b></span>
|
|
<a href="#ngOnInit"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
<code>ngOnInit()</code>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="112"
|
|
class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:112</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
|
|
<div class="io-description">
|
|
<b>Returns : </b> <code>Promise<void></code>
|
|
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="populateAccountsInfoForm"></a>
|
|
<span class="name">
|
|
<span ><b>populateAccountsInfoForm</b></span>
|
|
<a href="#populateAccountsInfoForm"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<code>populateAccountsInfoForm(accountInfo: <a href="../interfaces/AccountDetails.html" target="_self">AccountDetails</a>)</code>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="269"
|
|
class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:269</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
|
|
<div class="io-description">
|
|
<b>Parameters :</b>
|
|
<table class="params">
|
|
<thead>
|
|
<tr>
|
|
<td>Name</td>
|
|
<td>Type</td>
|
|
<td>Optional</td>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>accountInfo</td>
|
|
<td>
|
|
<code><a href="../interfaces/AccountDetails.html" target="_self" >AccountDetails</a></code>
|
|
</td>
|
|
|
|
<td>
|
|
No
|
|
</td>
|
|
|
|
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div>
|
|
</div>
|
|
<div class="io-description">
|
|
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
|
|
</div>
|
|
<div class="io-description">
|
|
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="populateDataTables"></a>
|
|
<span class="name">
|
|
<span ><b>populateDataTables</b></span>
|
|
<a href="#populateDataTables"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<code>populateDataTables()</code>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="286"
|
|
class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:286</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
|
|
<div class="io-description">
|
|
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="queryLocationAndCategory"></a>
|
|
<span class="name">
|
|
<span ><b>queryLocationAndCategory</b></span>
|
|
<a href="#queryLocationAndCategory"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<code>queryLocationAndCategory(accountInfo: <a href="../interfaces/AccountDetails.html" target="_self">AccountDetails</a>)</code>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="321"
|
|
class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:321</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
|
|
<div class="io-description">
|
|
<b>Parameters :</b>
|
|
<table class="params">
|
|
<thead>
|
|
<tr>
|
|
<td>Name</td>
|
|
<td>Type</td>
|
|
<td>Optional</td>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>accountInfo</td>
|
|
<td>
|
|
<code><a href="../interfaces/AccountDetails.html" target="_self" >AccountDetails</a></code>
|
|
</td>
|
|
|
|
<td>
|
|
No
|
|
</td>
|
|
|
|
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div>
|
|
</div>
|
|
<div class="io-description">
|
|
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
|
|
</div>
|
|
<div class="io-description">
|
|
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="resetPin"></a>
|
|
<span class="name">
|
|
<span ><b>resetPin</b></span>
|
|
<a href="#resetPin"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<code>resetPin()</code>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="219"
|
|
class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:219</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
|
|
<div class="io-description">
|
|
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="saveInfo"></a>
|
|
<span class="name">
|
|
<span class="modifier">Async</span>
|
|
<span ><b>saveInfo</b></span>
|
|
<a href="#saveInfo"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
<code>saveInfo()</code>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="168"
|
|
class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:168</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
|
|
<div class="io-description">
|
|
<b>Returns : </b> <code>Promise<void></code>
|
|
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="viewAccount"></a>
|
|
<span class="name">
|
|
<span ><b>viewAccount</b></span>
|
|
<a href="#viewAccount"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<code>viewAccount(account)</code>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="158"
|
|
class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:158</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
|
|
<div class="io-description">
|
|
<b>Parameters :</b>
|
|
<table class="params">
|
|
<thead>
|
|
<tr>
|
|
<td>Name</td>
|
|
<td>Optional</td>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>account</td>
|
|
|
|
<td>
|
|
No
|
|
</td>
|
|
|
|
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div>
|
|
</div>
|
|
<div class="io-description">
|
|
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
|
|
</div>
|
|
<div class="io-description">
|
|
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="viewHistory"></a>
|
|
<span class="name">
|
|
<span ><b>viewHistory</b></span>
|
|
<a href="#viewHistory"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<code>viewHistory(history)</code>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="154"
|
|
class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:154</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
|
|
<div class="io-description">
|
|
<b>Parameters :</b>
|
|
<table class="params">
|
|
<thead>
|
|
<tr>
|
|
<td>Name</td>
|
|
<td>Optional</td>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>history</td>
|
|
|
|
<td>
|
|
No
|
|
</td>
|
|
|
|
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div>
|
|
</div>
|
|
<div class="io-description">
|
|
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
|
|
</div>
|
|
<div class="io-description">
|
|
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="viewTransaction"></a>
|
|
<span class="name">
|
|
<span ><b>viewTransaction</b></span>
|
|
<a href="#viewTransaction"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<code>viewTransaction(transaction)</code>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="150"
|
|
class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:150</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
|
|
<div class="io-description">
|
|
<b>Parameters :</b>
|
|
<table class="params">
|
|
<thead>
|
|
<tr>
|
|
<td>Name</td>
|
|
<td>Optional</td>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>transaction</td>
|
|
|
|
<td>
|
|
No
|
|
</td>
|
|
|
|
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div>
|
|
</div>
|
|
<div class="io-description">
|
|
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
|
|
</div>
|
|
<div class="io-description">
|
|
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</section>
|
|
<section>
|
|
|
|
<h3 id="inputs">
|
|
Properties
|
|
</h3>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="account"></a>
|
|
<span class="name">
|
|
<span ><b>account</b></span>
|
|
<a href="#account"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code><a href="../interfaces/AccountDetails.html" target="_self" >AccountDetails</a></code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="65" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:65</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="accountAddress"></a>
|
|
<span class="name">
|
|
<span ><b>accountAddress</b></span>
|
|
<a href="#accountAddress"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="66" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:66</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="accountInfoForm"></a>
|
|
<span class="name">
|
|
<span ><b>accountInfoForm</b></span>
|
|
<a href="#accountInfoForm"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code><a href="https://angular.io/api/forms/FormGroup" target="_blank" >FormGroup</a></code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="64" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:64</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="accounts"></a>
|
|
<span class="name">
|
|
<span ><b>accounts</b></span>
|
|
<a href="#accounts"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code><a href="../interfaces/AccountDetails.html" target="_self" >Array<AccountDetails></a></code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Default value : </i><code>[]</code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="68" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:68</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="accountsLoading"></a>
|
|
<span class="name">
|
|
<span ><b>accountsLoading</b></span>
|
|
<a href="#accountsLoading"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Default value : </i><code>true</code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="86" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:86</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="accountStatus"></a>
|
|
<span class="name">
|
|
<span ><b>accountStatus</b></span>
|
|
<a href="#accountStatus"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="67" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:67</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="accountsType"></a>
|
|
<span class="name">
|
|
<span ><b>accountsType</b></span>
|
|
<a href="#accountsType"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Default value : </i><code>'all'</code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="69" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:69</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="accountTypes"></a>
|
|
<span class="name">
|
|
<span ><b>accountTypes</b></span>
|
|
<a href="#accountTypes"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code>Array<string></code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="76" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:76</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="area"></a>
|
|
<span class="name">
|
|
<span ><b>area</b></span>
|
|
<a href="#area"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="84" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:84</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="areaNames"></a>
|
|
<span class="name">
|
|
<span ><b>areaNames</b></span>
|
|
<a href="#areaNames"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code>Array<string></code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="71" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:71</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="areaType"></a>
|
|
<span class="name">
|
|
<span ><b>areaType</b></span>
|
|
<a href="#areaType"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="85" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:85</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="areaTypes"></a>
|
|
<span class="name">
|
|
<span ><b>areaTypes</b></span>
|
|
<a href="#areaTypes"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code>Array<string></code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="72" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:72</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="bloxbergLink"></a>
|
|
<span class="name">
|
|
<span ><b>bloxbergLink</b></span>
|
|
<a href="#bloxbergLink"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="81" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:81</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="categories"></a>
|
|
<span class="name">
|
|
<span ><b>categories</b></span>
|
|
<a href="#categories"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code>Array<string></code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="70" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:70</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="category"></a>
|
|
<span class="name">
|
|
<span ><b>category</b></span>
|
|
<a href="#category"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="83" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:83</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="genders"></a>
|
|
<span class="name">
|
|
<span ><b>genders</b></span>
|
|
<a href="#genders"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code>Array<string></code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="78" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:78</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="histories"></a>
|
|
<span class="name">
|
|
<span ><b>histories</b></span>
|
|
<a href="#histories"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code>Array<any></code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Default value : </i><code>[]</code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="88" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:88</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="history"></a>
|
|
<span class="name">
|
|
<span ><b>history</b></span>
|
|
<a href="#history"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="89" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:89</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="historyDataSource"></a>
|
|
<span class="name">
|
|
<span ><b>historyDataSource</b></span>
|
|
<a href="#historyDataSource"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code>MatTableDataSource<any></code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="50" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:50</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="historyDefaultPageSize"></a>
|
|
<span class="name">
|
|
<span ><b>historyDefaultPageSize</b></span>
|
|
<a href="#historyDefaultPageSize"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Default value : </i><code>5</code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="59" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:59</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="historyDisplayedColumns"></a>
|
|
<span class="name">
|
|
<span ><b>historyDisplayedColumns</b></span>
|
|
<a href="#historyDisplayedColumns"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code>Array<string></code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Default value : </i><code>[
|
|
'actor',
|
|
'signer',
|
|
'message',
|
|
'sequence',
|
|
'dependencies',
|
|
'timestamp',
|
|
]</code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="51" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:51</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="historyLoading"></a>
|
|
<span class="name">
|
|
<span ><b>historyLoading</b></span>
|
|
<a href="#historyLoading"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Default value : </i><code>true</code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="90" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:90</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="historyPageSizeOptions"></a>
|
|
<span class="name">
|
|
<span ><b>historyPageSizeOptions</b></span>
|
|
<a href="#historyPageSizeOptions"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code>Array<number></code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Default value : </i><code>[5, 10, 20, 50, 100]</code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="60" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:60</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="historyTablePaginator"></a>
|
|
<span class="name">
|
|
<span ><b>historyTablePaginator</b></span>
|
|
<a href="#historyTablePaginator"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code>MatPaginator</code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<b>Decorators : </b>
|
|
<br />
|
|
<code>
|
|
@ViewChild('HistoryTablePaginator', {static: true})<br />
|
|
</code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="61" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:61</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="historyTableSort"></a>
|
|
<span class="name">
|
|
<span ><b>historyTableSort</b></span>
|
|
<a href="#historyTableSort"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code>MatSort</code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<b>Decorators : </b>
|
|
<br />
|
|
<code>
|
|
@ViewChild('HistoryTableSort', {static: true})<br />
|
|
</code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="62" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:62</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="matcher"></a>
|
|
<span class="name">
|
|
<span ><b>matcher</b></span>
|
|
<a href="#matcher"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code><a href="../classes/CustomErrorStateMatcher.html" target="_self" >CustomErrorStateMatcher</a></code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Default value : </i><code>new CustomErrorStateMatcher()</code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="79" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:79</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="submitted"></a>
|
|
<span class="name">
|
|
<span ><b>submitted</b></span>
|
|
<a href="#submitted"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Default value : </i><code>false</code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="80" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:80</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="tokenSymbol"></a>
|
|
<span class="name">
|
|
<span ><b>tokenSymbol</b></span>
|
|
<a href="#tokenSymbol"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="82" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:82</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="transaction"></a>
|
|
<span class="name">
|
|
<span ><b>transaction</b></span>
|
|
<a href="#transaction"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="73" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:73</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="transactions"></a>
|
|
<span class="name">
|
|
<span ><b>transactions</b></span>
|
|
<a href="#transactions"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code><a href="../interfaces/Transaction.html" target="_self" >Array<Transaction></a></code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="74" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:74</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="transactionsDataSource"></a>
|
|
<span class="name">
|
|
<span ><b>transactionsDataSource</b></span>
|
|
<a href="#transactionsDataSource"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code>MatTableDataSource<any></code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="36" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:36</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="transactionsDefaultPageSize"></a>
|
|
<span class="name">
|
|
<span ><b>transactionsDefaultPageSize</b></span>
|
|
<a href="#transactionsDefaultPageSize"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Default value : </i><code>10</code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="38" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:38</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="transactionsDisplayedColumns"></a>
|
|
<span class="name">
|
|
<span ><b>transactionsDisplayedColumns</b></span>
|
|
<a href="#transactionsDisplayedColumns"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code>Array<string></code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Default value : </i><code>['sender', 'recipient', 'value', 'created', 'type']</code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="37" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:37</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="transactionsLoading"></a>
|
|
<span class="name">
|
|
<span ><b>transactionsLoading</b></span>
|
|
<a href="#transactionsLoading"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Default value : </i><code>true</code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="87" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:87</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="transactionsPageSizeOptions"></a>
|
|
<span class="name">
|
|
<span ><b>transactionsPageSizeOptions</b></span>
|
|
<a href="#transactionsPageSizeOptions"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code>Array<number></code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Default value : </i><code>[10, 20, 50, 100]</code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="39" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:39</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="transactionsType"></a>
|
|
<span class="name">
|
|
<span ><b>transactionsType</b></span>
|
|
<a href="#transactionsType"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Default value : </i><code>'all'</code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="75" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:75</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="transactionsTypes"></a>
|
|
<span class="name">
|
|
<span ><b>transactionsTypes</b></span>
|
|
<a href="#transactionsTypes"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code>Array<string></code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="77" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:77</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="transactionTablePaginator"></a>
|
|
<span class="name">
|
|
<span ><b>transactionTablePaginator</b></span>
|
|
<a href="#transactionTablePaginator"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code>MatPaginator</code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<b>Decorators : </b>
|
|
<br />
|
|
<code>
|
|
@ViewChild('TransactionTablePaginator', {static: true})<br />
|
|
</code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="40" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:40</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="transactionTableSort"></a>
|
|
<span class="name">
|
|
<span ><b>transactionTableSort</b></span>
|
|
<a href="#transactionTableSort"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code>MatSort</code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<b>Decorators : </b>
|
|
<br />
|
|
<code>
|
|
@ViewChild('TransactionTableSort', {static: true})<br />
|
|
</code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="41" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:41</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="userDataSource"></a>
|
|
<span class="name">
|
|
<span ><b>userDataSource</b></span>
|
|
<a href="#userDataSource"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code>MatTableDataSource<any></code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="43" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:43</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="userDisplayedColumns"></a>
|
|
<span class="name">
|
|
<span ><b>userDisplayedColumns</b></span>
|
|
<a href="#userDisplayedColumns"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code>Array<string></code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Default value : </i><code>['name', 'phone', 'created', 'balance', 'location']</code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="44" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:44</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="usersDefaultPageSize"></a>
|
|
<span class="name">
|
|
<span ><b>usersDefaultPageSize</b></span>
|
|
<a href="#usersDefaultPageSize"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Default value : </i><code>10</code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="45" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:45</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="usersPageSizeOptions"></a>
|
|
<span class="name">
|
|
<span ><b>usersPageSizeOptions</b></span>
|
|
<a href="#usersPageSizeOptions"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code>Array<number></code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Default value : </i><code>[10, 20, 50, 100]</code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="46" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:46</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="userTablePaginator"></a>
|
|
<span class="name">
|
|
<span ><b>userTablePaginator</b></span>
|
|
<a href="#userTablePaginator"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code>MatPaginator</code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<b>Decorators : </b>
|
|
<br />
|
|
<code>
|
|
@ViewChild('UserTablePaginator', {static: true})<br />
|
|
</code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="47" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:47</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="userTableSort"></a>
|
|
<span class="name">
|
|
<span ><b>userTableSort</b></span>
|
|
<a href="#userTableSort"><span class="icon ion-ios-link"></span></a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<i>Type : </i> <code>MatSort</code>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<b>Decorators : </b>
|
|
<br />
|
|
<code>
|
|
@ViewChild('UserTableSort', {static: true})<br />
|
|
</code>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="48" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:48</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
</section>
|
|
|
|
<section>
|
|
<h3 id="accessors">
|
|
Accessors
|
|
</h3>
|
|
<table class="table table-sm table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<a name="accountInfoFormStub"></a>
|
|
<span class="name"><b>accountInfoFormStub</b><a href="#accountInfoFormStub"><span class="icon ion-ios-link"></span></a></span>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<span class="accessor"><b>get</b><code>accountInfoFormStub()</code></span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="col-md-4">
|
|
<div class="io-line">Defined in <a href="" data-line="164" class="link-to-prism">src/app/pages/accounts/account-details/account-details.component.ts:164</a></div>
|
|
</td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
|
|
|
|
<div class="tab-pane fade tab-source-code" id="c-source">
|
|
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
AfterViewInit,
|
|
ChangeDetectionStrategy,
|
|
ChangeDetectorRef,
|
|
Component,
|
|
OnInit,
|
|
ViewChild,
|
|
} from '@angular/core';
|
|
import { MatTableDataSource } from '@angular/material/table';
|
|
import { MatPaginator } from '@angular/material/paginator';
|
|
import { MatSort } from '@angular/material/sort';
|
|
import {
|
|
BlockSyncService,
|
|
LocationService,
|
|
LoggingService,
|
|
TokenService,
|
|
TransactionService,
|
|
UserService,
|
|
} from '@app/_services';
|
|
import { ActivatedRoute, Params, Router } from '@angular/router';
|
|
import { first } from 'rxjs/operators';
|
|
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
|
|
import { copyToClipboard, CustomErrorStateMatcher, exportCsv } from '@app/_helpers';
|
|
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
import { add0x, strip0x } from '@src/assets/js/ethtx/dist/hex';
|
|
import { environment } from '@src/environments/environment';
|
|
import { AccountDetails, Transaction } from '@app/_models';
|
|
|
|
@Component({
|
|
selector: 'app-account-details',
|
|
templateUrl: './account-details.component.html',
|
|
styleUrls: ['./account-details.component.scss'],
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
})
|
|
export class AccountDetailsComponent implements OnInit, AfterViewInit {
|
|
transactionsDataSource: MatTableDataSource<any>;
|
|
transactionsDisplayedColumns: Array<string> = ['sender', 'recipient', 'value', 'created', 'type'];
|
|
transactionsDefaultPageSize: number = 10;
|
|
transactionsPageSizeOptions: Array<number> = [10, 20, 50, 100];
|
|
@ViewChild('TransactionTablePaginator', { static: true }) transactionTablePaginator: MatPaginator;
|
|
@ViewChild('TransactionTableSort', { static: true }) transactionTableSort: MatSort;
|
|
|
|
userDataSource: MatTableDataSource<any>;
|
|
userDisplayedColumns: Array<string> = ['name', 'phone', 'created', 'balance', 'location'];
|
|
usersDefaultPageSize: number = 10;
|
|
usersPageSizeOptions: Array<number> = [10, 20, 50, 100];
|
|
@ViewChild('UserTablePaginator', { static: true }) userTablePaginator: MatPaginator;
|
|
@ViewChild('UserTableSort', { static: true }) userTableSort: MatSort;
|
|
|
|
historyDataSource: MatTableDataSource<any>;
|
|
historyDisplayedColumns: Array<string> = [
|
|
'actor',
|
|
'signer',
|
|
'message',
|
|
'sequence',
|
|
'dependencies',
|
|
'timestamp',
|
|
];
|
|
historyDefaultPageSize: number = 5;
|
|
historyPageSizeOptions: Array<number> = [5, 10, 20, 50, 100];
|
|
@ViewChild('HistoryTablePaginator', { static: true }) historyTablePaginator: MatPaginator;
|
|
@ViewChild('HistoryTableSort', { static: true }) historyTableSort: MatSort;
|
|
|
|
accountInfoForm: FormGroup;
|
|
account: AccountDetails;
|
|
accountAddress: string;
|
|
accountStatus: any;
|
|
accounts: Array<AccountDetails> = [];
|
|
accountsType: string = 'all';
|
|
categories: Array<string>;
|
|
areaNames: Array<string>;
|
|
areaTypes: Array<string>;
|
|
transaction: any;
|
|
transactions: Array<Transaction>;
|
|
transactionsType: string = 'all';
|
|
accountTypes: Array<string>;
|
|
transactionsTypes: Array<string>;
|
|
genders: Array<string>;
|
|
matcher: CustomErrorStateMatcher = new CustomErrorStateMatcher();
|
|
submitted: boolean = false;
|
|
bloxbergLink: string;
|
|
tokenSymbol: string;
|
|
category: string;
|
|
area: string;
|
|
areaType: string;
|
|
accountsLoading: boolean = true;
|
|
transactionsLoading: boolean = true;
|
|
histories: Array<any> = [];
|
|
history: any;
|
|
historyLoading: boolean = true;
|
|
|
|
constructor(
|
|
private formBuilder: FormBuilder,
|
|
private locationService: LocationService,
|
|
private transactionService: TransactionService,
|
|
private userService: UserService,
|
|
private route: ActivatedRoute,
|
|
private router: Router,
|
|
private tokenService: TokenService,
|
|
private loggingService: LoggingService,
|
|
private blockSyncService: BlockSyncService,
|
|
private cdr: ChangeDetectorRef,
|
|
private snackBar: MatSnackBar
|
|
) {
|
|
this.route.paramMap.subscribe((params: Params) => {
|
|
this.accountAddress = add0x(params.get('id'));
|
|
this.bloxbergLink =
|
|
'https://blockexplorer.bloxberg.org/address/' + this.accountAddress + '/transactions';
|
|
});
|
|
}
|
|
|
|
async ngOnInit(): Promise<void> {
|
|
this.buildAccountsInfoForm();
|
|
this.transactionService.resetTransactionsList();
|
|
await this.blockSyncService.blockSync(this.accountAddress);
|
|
this.userService.resetAccountsList();
|
|
await this.loadAccount();
|
|
this.populateDataTables();
|
|
this.loadSearchData();
|
|
this.tokenService.load.subscribe(async (status: boolean) => {
|
|
if (status) {
|
|
this.tokenSymbol = await this.tokenService.getTokenSymbol();
|
|
}
|
|
});
|
|
}
|
|
|
|
ngAfterViewInit(): void {
|
|
if (this.userDataSource) {
|
|
this.userDataSource.paginator = this.userTablePaginator;
|
|
this.userDataSource.sort = this.userTableSort;
|
|
}
|
|
if (this.transactionsDataSource) {
|
|
this.transactionsDataSource.paginator = this.transactionTablePaginator;
|
|
this.transactionsDataSource.sort = this.transactionTableSort;
|
|
}
|
|
if (this.historyDataSource) {
|
|
this.historyDataSource.paginator = this.historyTablePaginator;
|
|
this.historyDataSource.sort = this.historyTableSort;
|
|
}
|
|
}
|
|
|
|
doTransactionFilter(value: string): void {
|
|
this.transactionsDataSource.filter = value.trim().toLocaleLowerCase();
|
|
}
|
|
|
|
doUserFilter(value: string): void {
|
|
this.userDataSource.filter = value.trim().toLocaleLowerCase();
|
|
}
|
|
|
|
viewTransaction(transaction): void {
|
|
this.transaction = transaction;
|
|
}
|
|
|
|
viewHistory(history): void {
|
|
this.history = history;
|
|
}
|
|
|
|
viewAccount(account): void {
|
|
this.router.navigateByUrl(
|
|
`/accounts/${strip0x(account.identities.evm[`bloxberg:${environment.bloxbergChainId}`][0])}`
|
|
);
|
|
}
|
|
|
|
get accountInfoFormStub(): any {
|
|
return this.accountInfoForm.controls;
|
|
}
|
|
|
|
async saveInfo(): Promise<void> {
|
|
this.submitted = true;
|
|
if (this.accountInfoForm.invalid || !confirm(`Change user's profile information?`)) {
|
|
return;
|
|
}
|
|
const status = await this.userService.changeAccountInfo(
|
|
this.accountAddress,
|
|
this.accountInfoFormStub.firstName.value + ', ' + this.accountInfoFormStub.lastName.value,
|
|
this.accountInfoFormStub.phoneNumber.value,
|
|
this.accountInfoFormStub.age.value,
|
|
this.accountInfoFormStub.type.value,
|
|
this.accountInfoFormStub.bio.value,
|
|
this.accountInfoFormStub.gender.value,
|
|
this.accountInfoFormStub.businessCategory.value,
|
|
this.accountInfoFormStub.userLocation.value,
|
|
this.accountInfoFormStub.location.value,
|
|
this.accountInfoFormStub.locationType.value,
|
|
this.account.vcard?.tel[0].value
|
|
);
|
|
if (status) {
|
|
await this.loadAccount();
|
|
}
|
|
this.submitted = false;
|
|
}
|
|
|
|
filterAccounts(): void {
|
|
if (this.accountsType === 'all') {
|
|
this.userService.accountsSubject.subscribe((accounts) => {
|
|
this.userDataSource.data = accounts;
|
|
this.accounts = accounts;
|
|
});
|
|
} else {
|
|
this.userDataSource.data = this.accounts.filter(
|
|
(account) => account.type === this.accountsType
|
|
);
|
|
}
|
|
}
|
|
|
|
filterTransactions(): void {
|
|
if (this.transactionsType === 'all') {
|
|
this.transactionService.transactionsSubject.subscribe((transactions) => {
|
|
this.transactionsDataSource.data = transactions;
|
|
this.transactions = transactions;
|
|
});
|
|
} else {
|
|
this.transactionsDataSource.data = this.transactions.filter(
|
|
(transaction) => transaction.type + 's' === this.transactionsType
|
|
);
|
|
}
|
|
}
|
|
|
|
resetPin(): void {
|
|
if (!confirm(`Reset user's pin?`)) {
|
|
return;
|
|
}
|
|
this.userService
|
|
.resetPin(this.account.vcard.tel[0].value)
|
|
.pipe(first())
|
|
.subscribe((res) => {
|
|
this.loggingService.sendInfoLevelMessage(`Response: ${res}`);
|
|
});
|
|
}
|
|
|
|
downloadCsv(data: any, filename: string): void {
|
|
exportCsv(data, filename);
|
|
}
|
|
|
|
copyAddress(): void {
|
|
if (copyToClipboard(this.accountAddress)) {
|
|
this.snackBar.open(this.accountAddress + ' copied successfully!', 'Close', {
|
|
duration: 3000,
|
|
});
|
|
}
|
|
}
|
|
|
|
getKeyValue(obj: any): string {
|
|
let str = '';
|
|
if (obj instanceof Object) {
|
|
for (const [key, value] of Object.entries(obj)) {
|
|
str += `${key}: ${value} `;
|
|
}
|
|
}
|
|
return str;
|
|
}
|
|
|
|
buildAccountsInfoForm(): void {
|
|
this.accountInfoForm = this.formBuilder.group({
|
|
firstName: ['', Validators.required],
|
|
lastName: ['', Validators.required],
|
|
phoneNumber: ['', Validators.required],
|
|
age: [''],
|
|
type: ['', Validators.required],
|
|
bio: ['', Validators.required],
|
|
gender: ['', Validators.required],
|
|
businessCategory: ['', Validators.required],
|
|
userLocation: ['', Validators.required],
|
|
location: ['', Validators.required],
|
|
locationType: ['', Validators.required],
|
|
});
|
|
}
|
|
|
|
populateAccountsInfoForm(accountInfo: AccountDetails): void {
|
|
const fullName = accountInfo.vcard?.fn[0].value.split(' ');
|
|
this.accountInfoForm.patchValue({
|
|
firstName: fullName[0].split(',')[0],
|
|
lastName: fullName.slice(1).join(' '),
|
|
phoneNumber: accountInfo.vcard?.tel[0].value,
|
|
age: accountInfo.age,
|
|
type: accountInfo.type,
|
|
bio: accountInfo.products,
|
|
gender: accountInfo.gender,
|
|
businessCategory: accountInfo.category || this.category || 'other',
|
|
userLocation: accountInfo.location.area_name,
|
|
location: accountInfo.location.area || this.area || 'other',
|
|
locationType: accountInfo.location.area_type || this.areaType || 'other',
|
|
});
|
|
}
|
|
|
|
populateDataTables(): void {
|
|
this.userService.accountsSubject.subscribe((accounts) => {
|
|
this.userDataSource = new MatTableDataSource<any>(accounts);
|
|
this.userDataSource.paginator = this.userTablePaginator;
|
|
this.userDataSource.sort = this.userTableSort;
|
|
this.accounts = accounts;
|
|
if (accounts.length > 0) {
|
|
this.accountsLoading = false;
|
|
}
|
|
this.cdr.detectChanges();
|
|
});
|
|
|
|
this.transactionService.transactionsSubject.subscribe((transactions) => {
|
|
this.transactionsDataSource = new MatTableDataSource<any>(transactions);
|
|
this.transactionsDataSource.paginator = this.transactionTablePaginator;
|
|
this.transactionsDataSource.sort = this.transactionTableSort;
|
|
this.transactions = transactions;
|
|
if (transactions.length > 0) {
|
|
this.transactionsLoading = false;
|
|
}
|
|
this.cdr.detectChanges();
|
|
});
|
|
|
|
this.userService.historySubject.subscribe(async (histories) => {
|
|
this.historyDataSource = new MatTableDataSource<any>(histories);
|
|
this.historyDataSource.paginator = this.historyTablePaginator;
|
|
this.historyDataSource.sort = this.historyTableSort;
|
|
this.histories = histories;
|
|
if (histories.length > 0) {
|
|
this.historyLoading = false;
|
|
}
|
|
this.cdr.detectChanges();
|
|
});
|
|
}
|
|
|
|
queryLocationAndCategory(accountInfo: AccountDetails): void {
|
|
this.locationService.areaNamesSubject.subscribe((response) => {
|
|
this.area = this.locationService.getAreaNameByLocation(
|
|
accountInfo.location.area_name,
|
|
response
|
|
);
|
|
this.cdr.detectChanges();
|
|
this.locationService.areaTypesSubject.subscribe((result) => {
|
|
this.areaType = this.locationService.getAreaTypeByArea(this.area, result);
|
|
this.cdr.detectChanges();
|
|
});
|
|
});
|
|
this.userService.categoriesSubject.subscribe((result) => {
|
|
this.category = this.userService.getCategoryByProduct(accountInfo.products[0], result);
|
|
this.cdr.detectChanges();
|
|
});
|
|
}
|
|
|
|
loadSearchData(): void {
|
|
this.userService.getCategories();
|
|
this.userService.categoriesSubject.subscribe((res) => {
|
|
this.categories = Object.keys(res);
|
|
});
|
|
this.locationService.getAreaNames();
|
|
this.locationService.areaNamesSubject.subscribe((res) => {
|
|
this.areaNames = Object.keys(res);
|
|
});
|
|
this.locationService.getAreaTypes();
|
|
this.locationService.areaTypesSubject.subscribe((res) => {
|
|
this.areaTypes = Object.keys(res);
|
|
});
|
|
this.userService
|
|
.getAccountTypes()
|
|
.pipe(first())
|
|
.subscribe((res) => (this.accountTypes = res));
|
|
this.userService
|
|
.getTransactionTypes()
|
|
.pipe(first())
|
|
.subscribe((res) => (this.transactionsTypes = res));
|
|
this.userService
|
|
.getGenders()
|
|
.pipe(first())
|
|
.subscribe((res) => (this.genders = res));
|
|
}
|
|
|
|
async loadAccount(): Promise<void> {
|
|
(await this.userService.getAccountByAddress(this.accountAddress, 100, true)).subscribe(
|
|
async (res) => {
|
|
if (res !== undefined) {
|
|
this.account = res;
|
|
this.cdr.detectChanges();
|
|
this.queryLocationAndCategory(this.account);
|
|
this.populateAccountsInfoForm(this.account);
|
|
this.userService
|
|
.getAccountStatus(this.account.vcard?.tel[0].value)
|
|
.pipe(first())
|
|
.subscribe((response) => (this.accountStatus = response.status));
|
|
} else {
|
|
alert('Account not found!');
|
|
}
|
|
}
|
|
);
|
|
}
|
|
}
|
|
</code></pre>
|
|
</div>
|
|
|
|
<div class="tab-pane fade " id="c-templateData">
|
|
<pre class="line-numbers"><code class="language-html"><!-- Begin page -->
|
|
<div class="wrapper">
|
|
<app-sidebar></app-sidebar>
|
|
|
|
<!-- ============================================================== -->
|
|
<!-- Start Page Content here -->
|
|
<!-- ============================================================== -->
|
|
|
|
<div id="content">
|
|
<app-topbar></app-topbar>
|
|
<!-- Start Content-->
|
|
<div class="container-fluid" appMenuSelection>
|
|
<nav aria-label="breadcrumb">
|
|
<ol class="breadcrumb">
|
|
<li class="breadcrumb-item"><a routerLink="/home">Home</a></li>
|
|
<li class="breadcrumb-item"><a routerLink="/accounts">Accounts</a></li>
|
|
<li *ngIf="account" class="breadcrumb-item active" aria-current="page">
|
|
{{ account?.vcard?.fn[0].value }}
|
|
</li>
|
|
</ol>
|
|
</nav>
|
|
<div *ngIf="!account" class="text-center">
|
|
<div class="spinner-grow text-primary m-1" role="status" style="width: 3rem; height: 3rem">
|
|
<span class="sr-only">Loading...</span>
|
|
</div>
|
|
<div class="spinner-grow text-primary m-1" role="status" style="width: 3rem; height: 3rem">
|
|
<span class="sr-only">Loading...</span>
|
|
</div>
|
|
<div class="spinner-grow text-primary m-1" role="status" style="width: 3rem; height: 3rem">
|
|
<span class="sr-only">Loading...</span>
|
|
</div>
|
|
</div>
|
|
<div *ngIf="account" class="card mb-3">
|
|
<div class="row card-body">
|
|
<h3>
|
|
<strong> {{ account?.vcard?.fn[0].value }} </strong>
|
|
</h3>
|
|
<span class="ml-auto"
|
|
><strong>Balance:</strong> {{ account?.balance | tokenRatio }}
|
|
{{ tokenSymbol | uppercase }}</span
|
|
>
|
|
<span class="ml-2"
|
|
><strong>Created:</strong> {{ account?.date_registered | unixDate }}</span
|
|
>
|
|
<span class="ml-2"
|
|
><strong>Address:</strong>
|
|
<a href="{{ bloxbergLink }}" target="_blank"> {{ accountAddress }} </a>
|
|
<img
|
|
src="assets/images/checklist.svg"
|
|
class="ml-2"
|
|
height="20rem"
|
|
(click)="copyAddress()"
|
|
alt="Copy"
|
|
/>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<div *ngIf="account" class="card mt-3 mb-3">
|
|
<div class="card-body">
|
|
<form [formGroup]="accountInfoForm" (ngSubmit)="saveInfo()">
|
|
<div class="row form-inline">
|
|
<div class="col-md-6 col-lg-4">
|
|
<mat-form-field appearance="outline">
|
|
<mat-label>First Name: *</mat-label>
|
|
<input
|
|
matInput
|
|
type="text"
|
|
id="firstName"
|
|
placeholder="{{ account?.vcard?.fn[0].value.split(' ')[0] }}"
|
|
value="{{ account?.vcard?.fn[0].value.split(' ')[0] }}"
|
|
formControlName="firstName"
|
|
[errorStateMatcher]="matcher"
|
|
/>
|
|
<mat-error *ngIf="submitted && accountInfoFormStub.firstName.errors"
|
|
>First Name is required.</mat-error
|
|
>
|
|
</mat-form-field>
|
|
</div>
|
|
|
|
<div class="col-md-6 col-lg-4">
|
|
<mat-form-field appearance="outline">
|
|
<mat-label>Last Name(s): *</mat-label>
|
|
<input
|
|
matInput
|
|
type="text"
|
|
id="lastName"
|
|
placeholder="{{ account?.vcard?.fn[0].value.split(' ').slice(1).join(' ') }}"
|
|
value="{{ account?.vcard?.fn[0].value.split(' ').slice(1).join(' ') }}"
|
|
formControlName="lastName"
|
|
[errorStateMatcher]="matcher"
|
|
/>
|
|
<mat-error *ngIf="submitted && accountInfoFormStub.lastName.errors"
|
|
>Last Name is required.</mat-error
|
|
>
|
|
</mat-form-field>
|
|
</div>
|
|
|
|
<div class="col-md-6 col-lg-4">
|
|
<mat-form-field appearance="outline">
|
|
<mat-label>Phone Number: </mat-label>
|
|
<input
|
|
matInput
|
|
type="text"
|
|
id="phoneNumber"
|
|
placeholder="{{ account?.vcard?.tel[0].value }}"
|
|
value="{{ account?.vcard?.tel[0].value }}"
|
|
formControlName="phoneNumber"
|
|
[errorStateMatcher]="matcher"
|
|
/>
|
|
<mat-error *ngIf="submitted && accountInfoFormStub.phoneNumber.errors"
|
|
>Phone Number is required.</mat-error
|
|
>
|
|
</mat-form-field>
|
|
</div>
|
|
|
|
<div class="col-md-6 col-lg-4">
|
|
<mat-form-field appearance="outline">
|
|
<mat-label> ACCOUNT TYPE: </mat-label>
|
|
<mat-select
|
|
id="accountType"
|
|
[(value)]="account.type"
|
|
formControlName="type"
|
|
[errorStateMatcher]="matcher"
|
|
>
|
|
<mat-option *ngFor="let accountType of accountTypes" [value]="accountType">
|
|
{{ accountType | uppercase }}
|
|
</mat-option>
|
|
</mat-select>
|
|
<mat-error *ngIf="submitted && accountInfoFormStub.type.errors"
|
|
>Type is required.</mat-error
|
|
>
|
|
</mat-form-field>
|
|
</div>
|
|
|
|
<div class="col-md-6 col-lg-4">
|
|
<mat-form-field appearance="outline">
|
|
<mat-label> GENDER: </mat-label>
|
|
<mat-select
|
|
id="gender"
|
|
[(value)]="account.gender"
|
|
formControlName="gender"
|
|
[errorStateMatcher]="matcher"
|
|
>
|
|
<mat-option *ngFor="let gender of genders" [value]="gender">
|
|
{{ gender | uppercase }}
|
|
</mat-option>
|
|
</mat-select>
|
|
<mat-error *ngIf="submitted && accountInfoFormStub.gender.errors"
|
|
>Gender is required.</mat-error
|
|
>
|
|
</mat-form-field>
|
|
</div>
|
|
|
|
<div class="col-md-6 col-lg-4">
|
|
<mat-form-field appearance="outline">
|
|
<mat-label>Age: </mat-label>
|
|
<input
|
|
matInput
|
|
type="text"
|
|
id="age"
|
|
placeholder="{{ account?.age }}"
|
|
value="{{ account?.age }}"
|
|
formControlName="age"
|
|
[errorStateMatcher]="matcher"
|
|
/>
|
|
<mat-error *ngIf="submitted && accountInfoFormStub.age.errors"
|
|
>Age is required.</mat-error
|
|
>
|
|
</mat-form-field>
|
|
</div>
|
|
|
|
<div class="col-md-6 col-lg-4">
|
|
<mat-form-field appearance="outline">
|
|
<mat-label>Bio: </mat-label>
|
|
<input
|
|
matInput
|
|
type="text"
|
|
id="bio"
|
|
placeholder="{{ account?.products }}"
|
|
value="{{ account?.products }}"
|
|
formControlName="bio"
|
|
[errorStateMatcher]="matcher"
|
|
/>
|
|
<mat-error *ngIf="submitted && accountInfoFormStub.bio.errors"
|
|
>Bio is required.</mat-error
|
|
>
|
|
</mat-form-field>
|
|
</div>
|
|
|
|
<div class="col-md-6 col-lg-4">
|
|
<mat-form-field appearance="outline">
|
|
<mat-label> BUSINESS CATEGORY: </mat-label>
|
|
<mat-select
|
|
id="businessCategory"
|
|
[(value)]="category"
|
|
formControlName="businessCategory"
|
|
[errorStateMatcher]="matcher"
|
|
>
|
|
<mat-option *ngFor="let category of categories" [value]="category">
|
|
{{ category | titlecase }}
|
|
</mat-option>
|
|
</mat-select>
|
|
<mat-error *ngIf="submitted && accountInfoFormStub.businessCategory.errors">
|
|
Category is required.
|
|
</mat-error>
|
|
</mat-form-field>
|
|
</div>
|
|
|
|
<div class="col-md-6 col-lg-4">
|
|
<mat-form-field appearance="outline">
|
|
<mat-label>User Location: </mat-label>
|
|
<input
|
|
matInput
|
|
type="text"
|
|
id="userLocation"
|
|
placeholder="{{ account?.location.area_name }}"
|
|
value="{{ account?.location.area_name }}"
|
|
formControlName="userLocation"
|
|
[errorStateMatcher]="matcher"
|
|
/>
|
|
<mat-error *ngIf="submitted && accountInfoFormStub.userLocation.errors">
|
|
User Location is required.
|
|
</mat-error>
|
|
</mat-form-field>
|
|
</div>
|
|
|
|
<div class="col-md-6 col-lg-4">
|
|
<mat-form-field appearance="outline">
|
|
<mat-label> LOCATION: </mat-label>
|
|
<mat-select
|
|
id="location"
|
|
[(value)]="area"
|
|
formControlName="location"
|
|
[errorStateMatcher]="matcher"
|
|
>
|
|
<mat-option *ngFor="let area of areaNames" [value]="area">
|
|
{{ area | uppercase }}
|
|
</mat-option>
|
|
</mat-select>
|
|
<mat-error *ngIf="submitted && accountInfoFormStub.location.errors"
|
|
>Location is required.</mat-error
|
|
>
|
|
</mat-form-field>
|
|
</div>
|
|
|
|
<div class="col-md-6 col-lg-4">
|
|
<mat-form-field appearance="outline">
|
|
<mat-label> LOCATION TYPE: </mat-label>
|
|
<mat-select
|
|
id="locationType"
|
|
[(value)]="areaType"
|
|
formControlName="locationType"
|
|
[errorStateMatcher]="matcher"
|
|
>
|
|
<mat-option *ngFor="let type of areaTypes" [value]="type">
|
|
{{ type | uppercase }}
|
|
</mat-option>
|
|
</mat-select>
|
|
<mat-error *ngIf="submitted && accountInfoFormStub.locationType.errors"
|
|
>Location Type is required.</mat-error
|
|
>
|
|
</mat-form-field>
|
|
</div>
|
|
|
|
<div class="col-md-6 col-lg-4">
|
|
<button
|
|
mat-raised-button
|
|
color="primary"
|
|
type="button"
|
|
class="btn btn-outline-success mb-3"
|
|
(click)="resetPin()"
|
|
>
|
|
Reset Pin
|
|
</button>
|
|
</div>
|
|
|
|
<div class="col-md-6 col-lg-4">
|
|
<button
|
|
mat-raised-button
|
|
color="warn"
|
|
type="button"
|
|
class="btn btn-outline-danger mb-3"
|
|
>
|
|
Delete User
|
|
</button>
|
|
</div>
|
|
|
|
<div class="col-md-6 col-lg-4">
|
|
<button
|
|
mat-raised-button
|
|
color="primary"
|
|
type="submit"
|
|
class="btn btn-outline-primary"
|
|
>
|
|
SAVE DETAILS
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="card mb-3">
|
|
<mat-card-title class="card-header"> USER </mat-card-title>
|
|
<div class="card-body">
|
|
<div class="table-responsive">
|
|
<table class="table table-striped table-bordered table-hover">
|
|
<caption>
|
|
1 user
|
|
</caption>
|
|
<thead class="thead-dark">
|
|
<tr>
|
|
<th scope="col">NAME</th>
|
|
<th scope="col">BALANCE</th>
|
|
<th scope="col">CREATED</th>
|
|
<th scope="col">STATUS</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>{{ account?.vcard?.fn[0].value || accountAddress }}</td>
|
|
<td>{{ account?.balance | tokenRatio }} {{ tokenSymbol | uppercase }}</td>
|
|
<td>{{ account?.date_registered | unixDate }}</td>
|
|
<td>
|
|
<span class="badge badge-success badge-pill">
|
|
{{ accountStatus }}
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="card mt-1">
|
|
<app-account-history
|
|
*ngIf="history"
|
|
[account]="history?.snapshot.data"
|
|
(closeWindow)="history = $event"
|
|
></app-account-history>
|
|
<mat-card-title class="card-header"> HISTORY </mat-card-title>
|
|
<div class="card-body">
|
|
<div *ngIf="historyLoading">
|
|
<h2 class="text-center"><strong>Loading History!</strong></h2>
|
|
<mat-progress-bar [mode]="'query'"></mat-progress-bar>
|
|
</div>
|
|
|
|
<mat-table
|
|
class="mat-elevation-z10"
|
|
[dataSource]="historyDataSource"
|
|
matSort
|
|
matSortActive="timestamp"
|
|
#HistoryTableSort="matSort"
|
|
matSortDirection="asc"
|
|
matSortDisableClear
|
|
>
|
|
<ng-container matColumnDef="actor">
|
|
<mat-header-cell *matHeaderCellDef mat-sort-header>Actor</mat-header-cell>
|
|
<mat-cell *matCellDef="let history">
|
|
{{ history?.change.actor }}
|
|
</mat-cell>
|
|
</ng-container>
|
|
|
|
<ng-container matColumnDef="signer">
|
|
<mat-header-cell *matHeaderCellDef mat-sort-header>Signer</mat-header-cell>
|
|
<mat-cell *matCellDef="let history">
|
|
{{ history?.snapshot.signature?.data | signatureUser | async }}
|
|
</mat-cell>
|
|
</ng-container>
|
|
|
|
<ng-container matColumnDef="message">
|
|
<mat-header-cell *matHeaderCellDef mat-sort-header>Message</mat-header-cell>
|
|
<mat-cell *matCellDef="let history">
|
|
{{ history?.change.message }}
|
|
</mat-cell>
|
|
</ng-container>
|
|
|
|
<ng-container matColumnDef="sequence">
|
|
<mat-header-cell *matHeaderCellDef mat-sort-header>Sequence</mat-header-cell>
|
|
<mat-cell *matCellDef="let history">
|
|
{{ history?.change.seq }}
|
|
</mat-cell>
|
|
</ng-container>
|
|
|
|
<ng-container matColumnDef="dependencies">
|
|
<mat-header-cell *matHeaderCellDef mat-sort-header>Dependencies</mat-header-cell>
|
|
<mat-cell *matCellDef="let history">
|
|
{{ getKeyValue(history?.change.deps) }}
|
|
</mat-cell>
|
|
</ng-container>
|
|
|
|
<ng-container matColumnDef="timestamp">
|
|
<mat-header-cell *matHeaderCellDef mat-sort-header>ChangedAt</mat-header-cell>
|
|
<mat-cell *matCellDef="let history">
|
|
{{ history?.snapshot.timestamp | unixDate }}
|
|
</mat-cell>
|
|
</ng-container>
|
|
|
|
<mat-header-row *matHeaderRowDef="historyDisplayedColumns"></mat-header-row>
|
|
<mat-row
|
|
*matRowDef="let history; columns: historyDisplayedColumns"
|
|
(click)="viewHistory(history)"
|
|
matRipple
|
|
></mat-row>
|
|
</mat-table>
|
|
|
|
<mat-paginator
|
|
#HistoryTablePaginator="matPaginator"
|
|
[pageSize]="historyDefaultPageSize"
|
|
[pageSizeOptions]="historyPageSizeOptions"
|
|
showFirstLastButtons
|
|
></mat-paginator>
|
|
</div>
|
|
</div>
|
|
|
|
<mat-tab-group dynamicHeight mat-align-tabs="start">
|
|
<mat-tab label="Transactions">
|
|
<app-transaction-details
|
|
[transaction]="transaction"
|
|
(closeWindow)="transaction = $event"
|
|
></app-transaction-details>
|
|
<div class="card mt-1">
|
|
<div class="card-header">
|
|
<div class="row">
|
|
<mat-form-field appearance="outline">
|
|
<mat-label> TRANSACTION TYPE </mat-label>
|
|
<mat-select
|
|
id="transferSelect"
|
|
[(value)]="transactionsType"
|
|
(selectionChange)="filterTransactions()"
|
|
>
|
|
<mat-option value="all">ALL TRANSFERS</mat-option>
|
|
<mat-option
|
|
*ngFor="let transactionType of transactionsTypes"
|
|
[value]="transactionType"
|
|
>
|
|
{{ transactionType | uppercase }}
|
|
</mat-option>
|
|
</mat-select>
|
|
</mat-form-field>
|
|
<button
|
|
mat-raised-button
|
|
color="primary"
|
|
type="button"
|
|
class="btn btn-outline-primary ml-auto mr-2"
|
|
(click)="downloadCsv(transactions, 'transactions')"
|
|
>
|
|
EXPORT
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="card-body">
|
|
<mat-form-field appearance="outline">
|
|
<mat-label> Filter </mat-label>
|
|
<input
|
|
matInput
|
|
type="text"
|
|
(keyup)="doTransactionFilter($event.target.value)"
|
|
placeholder="Filter"
|
|
/>
|
|
<mat-icon matSuffix>search</mat-icon>
|
|
</mat-form-field>
|
|
|
|
<div *ngIf="transactionsLoading">
|
|
<h2 class="text-center"><strong>Loading Transactions!</strong></h2>
|
|
<mat-progress-bar [mode]="'query'"></mat-progress-bar>
|
|
</div>
|
|
|
|
<table
|
|
mat-table
|
|
class="mat-elevation-z10"
|
|
[dataSource]="transactionsDataSource"
|
|
matSort
|
|
matSortActive="created"
|
|
#TransactionTableSort="matSort"
|
|
matSortDirection="asc"
|
|
matSortDisableClear
|
|
>
|
|
<ng-container matColumnDef="sender">
|
|
<th mat-header-cell *matHeaderCellDef mat-sort-header>Sender</th>
|
|
<td mat-cell *matCellDef="let transaction">
|
|
{{ transaction?.sender?.vcard.fn[0].value || transaction.from }}
|
|
</td>
|
|
</ng-container>
|
|
|
|
<ng-container matColumnDef="recipient">
|
|
<th mat-header-cell *matHeaderCellDef mat-sort-header>Recipient</th>
|
|
<td mat-cell *matCellDef="let transaction">
|
|
{{ transaction?.recipient?.vcard.fn[0].value || transaction.to }}
|
|
</td>
|
|
</ng-container>
|
|
|
|
<ng-container matColumnDef="value">
|
|
<th mat-header-cell *matHeaderCellDef mat-sort-header>Value</th>
|
|
<td mat-cell *matCellDef="let transaction">
|
|
<span *ngIf="transaction.type == 'transaction'"
|
|
>{{ transaction?.value | tokenRatio }} {{ tokenSymbol | uppercase }}</span
|
|
>
|
|
<span *ngIf="transaction.type == 'conversion'"
|
|
>{{ transaction?.toValue | tokenRatio }} {{ tokenSymbol | uppercase }}</span
|
|
>
|
|
</td>
|
|
</ng-container>
|
|
|
|
<ng-container matColumnDef="created">
|
|
<th mat-header-cell *matHeaderCellDef mat-sort-header>Created</th>
|
|
<td mat-cell *matCellDef="let transaction">
|
|
{{ transaction?.tx.timestamp | unixDate }}
|
|
</td>
|
|
</ng-container>
|
|
|
|
<ng-container matColumnDef="type">
|
|
<th mat-header-cell *matHeaderCellDef mat-sort-header>TYPE</th>
|
|
<td mat-cell *matCellDef="let transaction">
|
|
<span class="badge badge-success badge-pill"> {{ transaction?.type }} </span>
|
|
</td>
|
|
</ng-container>
|
|
|
|
<tr mat-header-row *matHeaderRowDef="transactionsDisplayedColumns"></tr>
|
|
<tr
|
|
mat-row
|
|
*matRowDef="let transaction; columns: transactionsDisplayedColumns"
|
|
matRipple
|
|
(click)="viewTransaction(transaction)"
|
|
></tr>
|
|
</table>
|
|
|
|
<mat-paginator
|
|
#TransactionTablePaginator="matPaginator"
|
|
[pageSize]="transactionsDefaultPageSize"
|
|
[pageSizeOptions]="transactionsPageSizeOptions"
|
|
showFirstLastButtons
|
|
></mat-paginator>
|
|
</div>
|
|
</div>
|
|
</mat-tab>
|
|
|
|
<mat-tab label="Users">
|
|
<div class="card mt-1">
|
|
<mat-card-title class="card-header"> Accounts </mat-card-title>
|
|
<div class="card-body">
|
|
<div class="row card-header">
|
|
<mat-form-field appearance="outline">
|
|
<mat-label> ACCOUNT TYPE </mat-label>
|
|
<mat-select
|
|
id="typeSelect"
|
|
[(value)]="accountsType"
|
|
(selectionChange)="filterAccounts()"
|
|
>
|
|
<mat-option value="all">ALL</mat-option>
|
|
<mat-option *ngFor="let accountType of accountTypes" [value]="accountType">
|
|
{{ accountType | uppercase }}
|
|
</mat-option>
|
|
</mat-select>
|
|
</mat-form-field>
|
|
<button
|
|
mat-raised-button
|
|
color="primary"
|
|
type="button"
|
|
class="btn btn-outline-primary ml-auto mr-2"
|
|
(click)="downloadCsv(accounts, 'accounts')"
|
|
>
|
|
EXPORT
|
|
</button>
|
|
</div>
|
|
|
|
<mat-form-field appearance="outline">
|
|
<mat-label> Filter </mat-label>
|
|
<input
|
|
matInput
|
|
type="text"
|
|
(keyup)="doUserFilter($event.target.value)"
|
|
placeholder="Filter"
|
|
/>
|
|
<mat-icon matSuffix>search</mat-icon>
|
|
</mat-form-field>
|
|
|
|
<div *ngIf="accountsLoading">
|
|
<h2 class="text-center"><strong>Loading Accounts!</strong></h2>
|
|
<mat-progress-bar [mode]="'query'"></mat-progress-bar>
|
|
</div>
|
|
|
|
<mat-table
|
|
class="mat-elevation-z10"
|
|
[dataSource]="userDataSource"
|
|
matSort
|
|
#UserTableSort="matSort"
|
|
matSortActive="created"
|
|
matSortDirection="desc"
|
|
matSortDisableClear
|
|
>
|
|
<ng-container matColumnDef="name">
|
|
<mat-header-cell *matHeaderCellDef mat-sort-header> NAME </mat-header-cell>
|
|
<mat-cell *matCellDef="let user"> {{ user?.vcard.fn[0].value }} </mat-cell>
|
|
</ng-container>
|
|
|
|
<ng-container matColumnDef="phone">
|
|
<mat-header-cell *matHeaderCellDef mat-sort-header>
|
|
PHONE NUMBER
|
|
</mat-header-cell>
|
|
<mat-cell *matCellDef="let user"> {{ user?.vcard.tel[0].value }} </mat-cell>
|
|
</ng-container>
|
|
|
|
<ng-container matColumnDef="created">
|
|
<mat-header-cell *matHeaderCellDef mat-sort-header> CREATED </mat-header-cell>
|
|
<mat-cell *matCellDef="let user">
|
|
{{ user?.date_registered | unixDate }}
|
|
</mat-cell>
|
|
</ng-container>
|
|
|
|
<ng-container matColumnDef="balance">
|
|
<mat-header-cell *matHeaderCellDef mat-sort-header> BALANCE </mat-header-cell>
|
|
<mat-cell *matCellDef="let user">
|
|
{{ user?.balance | tokenRatio }} {{ tokenSymbol | uppercase }}
|
|
</mat-cell>
|
|
</ng-container>
|
|
|
|
<ng-container matColumnDef="location">
|
|
<mat-header-cell *matHeaderCellDef mat-sort-header> LOCATION </mat-header-cell>
|
|
<mat-cell *matCellDef="let user"> {{ user?.location.area_name }} </mat-cell>
|
|
</ng-container>
|
|
|
|
<mat-header-row *matHeaderRowDef="userDisplayedColumns"></mat-header-row>
|
|
<mat-row
|
|
*matRowDef="let account; columns: userDisplayedColumns"
|
|
(click)="viewAccount(account)"
|
|
matRipple
|
|
></mat-row>
|
|
</mat-table>
|
|
|
|
<mat-paginator
|
|
#UserTablePaginator="matPaginator"
|
|
[pageSize]="usersDefaultPageSize"
|
|
[pageSizeOptions]="usersPageSizeOptions"
|
|
showFirstLastButtons
|
|
></mat-paginator>
|
|
</div>
|
|
</div>
|
|
</mat-tab>
|
|
</mat-tab-group>
|
|
</div>
|
|
<app-footer appMenuSelection></app-footer>
|
|
</div>
|
|
<!-- ============================================================== -->
|
|
<!-- End Page content -->
|
|
<!-- ============================================================== -->
|
|
</div>
|
|
</code></pre>
|
|
</div>
|
|
|
|
<div class="tab-pane fade " id="c-styleData">
|
|
<p class="comment">
|
|
<code>./account-details.component.scss</code>
|
|
</p>
|
|
<pre class="line-numbers"><code class="language-scss"></code></pre>
|
|
</div>
|
|
|
|
<div class="tab-pane fade " id="c-tree">
|
|
<div id="tree-container"></div>
|
|
<div class="tree-legend">
|
|
<div class="title">
|
|
<b>Legend</b>
|
|
</div>
|
|
<div>
|
|
<div class="color htmlelement"></div><span>Html element</span>
|
|
</div>
|
|
<div>
|
|
<div class="color component"></div><span>Component</span>
|
|
</div>
|
|
<div>
|
|
<div class="color directive"></div><span>Html element with directive</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
<script src="../js/libs/vis.min.js"></script>
|
|
<script src="../js/libs/htmlparser.js"></script>
|
|
<script src="../js/libs/deep-iterator.js"></script>
|
|
<script>
|
|
var COMPONENT_TEMPLATE = '<div><!-- Begin page --><div class="wrapper"> <app-sidebar></app-sidebar> <!-- ============================================================== --> <!-- Start Page Content here --> <!-- ============================================================== --> <div id="content"> <app-topbar></app-topbar> <!-- Start Content--> <div class="container-fluid" appMenuSelection> <nav aria-label="breadcrumb"> <ol class="breadcrumb"> <li class="breadcrumb-item"><a routerLink="/home">Home</a></li> <li class="breadcrumb-item"><a routerLink="/accounts">Accounts</a></li> <li *ngIf="account" class="breadcrumb-item active" aria-current="page"> {{ account?.vcard?.fn[0].value }} </li> </ol> </nav> <div *ngIf="!account" class="text-center"> <div class="spinner-grow text-primary m-1" role="status" style="width: 3rem; height: 3rem"> <span class="sr-only">Loading...</span> </div> <div class="spinner-grow text-primary m-1" role="status" style="width: 3rem; height: 3rem"> <span class="sr-only">Loading...</span> </div> <div class="spinner-grow text-primary m-1" role="status" style="width: 3rem; height: 3rem"> <span class="sr-only">Loading...</span> </div> </div> <div *ngIf="account" class="card mb-3"> <div class="row card-body"> <h3> <strong> {{ account?.vcard?.fn[0].value }} </strong> </h3> <span class="ml-auto" ><strong>Balance:</strong> {{ account?.balance | tokenRatio }} {{ tokenSymbol | uppercase }}</span > <span class="ml-2" ><strong>Created:</strong> {{ account?.date_registered | unixDate }}</span > <span class="ml-2" ><strong>Address:</strong> <a href="{{ bloxbergLink }}" target="_blank"> {{ accountAddress }} </a> <img src="assets/images/checklist.svg" class="ml-2" height="20rem" (click)="copyAddress()" alt="Copy" /> </span> </div> </div> <div *ngIf="account" class="card mt-3 mb-3"> <div class="card-body"> <form [formGroup]="accountInfoForm" (ngSubmit)="saveInfo()"> <div class="row form-inline"> <div class="col-md-6 col-lg-4"> <mat-form-field appearance="outline"> <mat-label>First Name: *</mat-label> <input matInput type="text" id="firstName" placeholder="{{ account?.vcard?.fn[0].value.split(\' \')[0] }}" value="{{ account?.vcard?.fn[0].value.split(\' \')[0] }}" formControlName="firstName" [errorStateMatcher]="matcher" /> <mat-error *ngIf="submitted && accountInfoFormStub.firstName.errors" >First Name is required.</mat-error > </mat-form-field> </div> <div class="col-md-6 col-lg-4"> <mat-form-field appearance="outline"> <mat-label>Last Name(s): *</mat-label> <input matInput type="text" id="lastName" placeholder="{{ account?.vcard?.fn[0].value.split(\' \').slice(1).join(\' \') }}" value="{{ account?.vcard?.fn[0].value.split(\' \').slice(1).join(\' \') }}" formControlName="lastName" [errorStateMatcher]="matcher" /> <mat-error *ngIf="submitted && accountInfoFormStub.lastName.errors" >Last Name is required.</mat-error > </mat-form-field> </div> <div class="col-md-6 col-lg-4"> <mat-form-field appearance="outline"> <mat-label>Phone Number: </mat-label> <input matInput type="text" id="phoneNumber" placeholder="{{ account?.vcard?.tel[0].value }}" value="{{ account?.vcard?.tel[0].value }}" formControlName="phoneNumber" [errorStateMatcher]="matcher" /> <mat-error *ngIf="submitted && accountInfoFormStub.phoneNumber.errors" >Phone Number is required.</mat-error > </mat-form-field> </div> <div class="col-md-6 col-lg-4"> <mat-form-field appearance="outline"> <mat-label> ACCOUNT TYPE: </mat-label> <mat-select id="accountType" [(value)]="account.type" formControlName="type" [errorStateMatcher]="matcher" > <mat-option *ngFor="let accountType of accountTypes" [value]="accountType"> {{ accountType | uppercase }} </mat-option> </mat-select> <mat-error *ngIf="submitted && accountInfoFormStub.type.errors" >Type is required.</mat-error > </mat-form-field> </div> <div class="col-md-6 col-lg-4"> <mat-form-field appearance="outline"> <mat-label> GENDER: </mat-label> <mat-select id="gender" [(value)]="account.gender" formControlName="gender" [errorStateMatcher]="matcher" > <mat-option *ngFor="let gender of genders" [value]="gender"> {{ gender | uppercase }} </mat-option> </mat-select> <mat-error *ngIf="submitted && accountInfoFormStub.gender.errors" >Gender is required.</mat-error > </mat-form-field> </div> <div class="col-md-6 col-lg-4"> <mat-form-field appearance="outline"> <mat-label>Age: </mat-label> <input matInput type="text" id="age" placeholder="{{ account?.age }}" value="{{ account?.age }}" formControlName="age" [errorStateMatcher]="matcher" /> <mat-error *ngIf="submitted && accountInfoFormStub.age.errors" >Age is required.</mat-error > </mat-form-field> </div> <div class="col-md-6 col-lg-4"> <mat-form-field appearance="outline"> <mat-label>Bio: </mat-label> <input matInput type="text" id="bio" placeholder="{{ account?.products }}" value="{{ account?.products }}" formControlName="bio" [errorStateMatcher]="matcher" /> <mat-error *ngIf="submitted && accountInfoFormStub.bio.errors" >Bio is required.</mat-error > </mat-form-field> </div> <div class="col-md-6 col-lg-4"> <mat-form-field appearance="outline"> <mat-label> BUSINESS CATEGORY: </mat-label> <mat-select id="businessCategory" [(value)]="category" formControlName="businessCategory" [errorStateMatcher]="matcher" > <mat-option *ngFor="let category of categories" [value]="category"> {{ category | titlecase }} </mat-option> </mat-select> <mat-error *ngIf="submitted && accountInfoFormStub.businessCategory.errors"> Category is required. </mat-error> </mat-form-field> </div> <div class="col-md-6 col-lg-4"> <mat-form-field appearance="outline"> <mat-label>User Location: </mat-label> <input matInput type="text" id="userLocation" placeholder="{{ account?.location.area_name }}" value="{{ account?.location.area_name }}" formControlName="userLocation" [errorStateMatcher]="matcher" /> <mat-error *ngIf="submitted && accountInfoFormStub.userLocation.errors"> User Location is required. </mat-error> </mat-form-field> </div> <div class="col-md-6 col-lg-4"> <mat-form-field appearance="outline"> <mat-label> LOCATION: </mat-label> <mat-select id="location" [(value)]="area" formControlName="location" [errorStateMatcher]="matcher" > <mat-option *ngFor="let area of areaNames" [value]="area"> {{ area | uppercase }} </mat-option> </mat-select> <mat-error *ngIf="submitted && accountInfoFormStub.location.errors" >Location is required.</mat-error > </mat-form-field> </div> <div class="col-md-6 col-lg-4"> <mat-form-field appearance="outline"> <mat-label> LOCATION TYPE: </mat-label> <mat-select id="locationType" [(value)]="areaType" formControlName="locationType" [errorStateMatcher]="matcher" > <mat-option *ngFor="let type of areaTypes" [value]="type"> {{ type | uppercase }} </mat-option> </mat-select> <mat-error *ngIf="submitted && accountInfoFormStub.locationType.errors" >Location Type is required.</mat-error > </mat-form-field> </div> <div class="col-md-6 col-lg-4"> <button mat-raised-button color="primary" type="button" class="btn btn-outline-success mb-3" (click)="resetPin()" > Reset Pin </button> </div> <div class="col-md-6 col-lg-4"> <button mat-raised-button color="warn" type="button" class="btn btn-outline-danger mb-3" > Delete User </button> </div> <div class="col-md-6 col-lg-4"> <button mat-raised-button color="primary" type="submit" class="btn btn-outline-primary" > SAVE DETAILS </button> </div> </div> </form> </div> </div> <div class="card mb-3"> <mat-card-title class="card-header"> USER </mat-card-title> <div class="card-body"> <div class="table-responsive"> <table class="table table-striped table-bordered table-hover"> <caption> 1 user </caption> <thead class="thead-dark"> <tr> <th scope="col">NAME</th> <th scope="col">BALANCE</th> <th scope="col">CREATED</th> <th scope="col">STATUS</th> </tr> </thead> <tbody> <tr> <td>{{ account?.vcard?.fn[0].value || accountAddress }}</td> <td>{{ account?.balance | tokenRatio }} {{ tokenSymbol | uppercase }}</td> <td>{{ account?.date_registered | unixDate }}</td> <td> <span class="badge badge-success badge-pill"> {{ accountStatus }} </span> </td> </tr> </tbody> </table> </div> </div> </div> <div class="card mt-1"> <app-account-history *ngIf="history" [account]="history?.snapshot.data" (closeWindow)="history = $event" ></app-account-history> <mat-card-title class="card-header"> HISTORY </mat-card-title> <div class="card-body"> <div *ngIf="historyLoading"> <h2 class="text-center"><strong>Loading History!</strong></h2> <mat-progress-bar [mode]="\'query\'"></mat-progress-bar> </div> <mat-table class="mat-elevation-z10" [dataSource]="historyDataSource" matSort matSortActive="timestamp" #HistoryTableSort="matSort" matSortDirection="asc" matSortDisableClear > <ng-container matColumnDef="actor"> <mat-header-cell *matHeaderCellDef mat-sort-header>Actor</mat-header-cell> <mat-cell *matCellDef="let history"> {{ history?.change.actor }} </mat-cell> </ng-container> <ng-container matColumnDef="signer"> <mat-header-cell *matHeaderCellDef mat-sort-header>Signer</mat-header-cell> <mat-cell *matCellDef="let history"> {{ history?.snapshot.signature?.data | signatureUser | async }} </mat-cell> </ng-container> <ng-container matColumnDef="message"> <mat-header-cell *matHeaderCellDef mat-sort-header>Message</mat-header-cell> <mat-cell *matCellDef="let history"> {{ history?.change.message }} </mat-cell> </ng-container> <ng-container matColumnDef="sequence"> <mat-header-cell *matHeaderCellDef mat-sort-header>Sequence</mat-header-cell> <mat-cell *matCellDef="let history"> {{ history?.change.seq }} </mat-cell> </ng-container> <ng-container matColumnDef="dependencies"> <mat-header-cell *matHeaderCellDef mat-sort-header>Dependencies</mat-header-cell> <mat-cell *matCellDef="let history"> {{ getKeyValue(history?.change.deps) }} </mat-cell> </ng-container> <ng-container matColumnDef="timestamp"> <mat-header-cell *matHeaderCellDef mat-sort-header>ChangedAt</mat-header-cell> <mat-cell *matCellDef="let history"> {{ history?.snapshot.timestamp | unixDate }} </mat-cell> </ng-container> <mat-header-row *matHeaderRowDef="historyDisplayedColumns"></mat-header-row> <mat-row *matRowDef="let history; columns: historyDisplayedColumns" (click)="viewHistory(history)" matRipple ></mat-row> </mat-table> <mat-paginator #HistoryTablePaginator="matPaginator" [pageSize]="historyDefaultPageSize" [pageSizeOptions]="historyPageSizeOptions" showFirstLastButtons ></mat-paginator> </div> </div> <mat-tab-group dynamicHeight mat-align-tabs="start"> <mat-tab label="Transactions"> <app-transaction-details [transaction]="transaction" (closeWindow)="transaction = $event" ></app-transaction-details> <div class="card mt-1"> <div class="card-header"> <div class="row"> <mat-form-field appearance="outline"> <mat-label> TRANSACTION TYPE </mat-label> <mat-select id="transferSelect" [(value)]="transactionsType" (selectionChange)="filterTransactions()" > <mat-option value="all">ALL TRANSFERS</mat-option> <mat-option *ngFor="let transactionType of transactionsTypes" [value]="transactionType" > {{ transactionType | uppercase }} </mat-option> </mat-select> </mat-form-field> <button mat-raised-button color="primary" type="button" class="btn btn-outline-primary ml-auto mr-2" (click)="downloadCsv(transactions, \'transactions\')" > EXPORT </button> </div> </div> <div class="card-body"> <mat-form-field appearance="outline"> <mat-label> Filter </mat-label> <input matInput type="text" (keyup)="doTransactionFilter($event.target.value)" placeholder="Filter" /> <mat-icon matSuffix>search</mat-icon> </mat-form-field> <div *ngIf="transactionsLoading"> <h2 class="text-center"><strong>Loading Transactions!</strong></h2> <mat-progress-bar [mode]="\'query\'"></mat-progress-bar> </div> <table mat-table class="mat-elevation-z10" [dataSource]="transactionsDataSource" matSort matSortActive="created" #TransactionTableSort="matSort" matSortDirection="asc" matSortDisableClear > <ng-container matColumnDef="sender"> <th mat-header-cell *matHeaderCellDef mat-sort-header>Sender</th> <td mat-cell *matCellDef="let transaction"> {{ transaction?.sender?.vcard.fn[0].value || transaction.from }} </td> </ng-container> <ng-container matColumnDef="recipient"> <th mat-header-cell *matHeaderCellDef mat-sort-header>Recipient</th> <td mat-cell *matCellDef="let transaction"> {{ transaction?.recipient?.vcard.fn[0].value || transaction.to }} </td> </ng-container> <ng-container matColumnDef="value"> <th mat-header-cell *matHeaderCellDef mat-sort-header>Value</th> <td mat-cell *matCellDef="let transaction"> <span *ngIf="transaction.type == \'transaction\'" >{{ transaction?.value | tokenRatio }} {{ tokenSymbol | uppercase }}</span > <span *ngIf="transaction.type == \'conversion\'" >{{ transaction?.toValue | tokenRatio }} {{ tokenSymbol | uppercase }}</span > </td> </ng-container> <ng-container matColumnDef="created"> <th mat-header-cell *matHeaderCellDef mat-sort-header>Created</th> <td mat-cell *matCellDef="let transaction"> {{ transaction?.tx.timestamp | unixDate }} </td> </ng-container> <ng-container matColumnDef="type"> <th mat-header-cell *matHeaderCellDef mat-sort-header>TYPE</th> <td mat-cell *matCellDef="let transaction"> <span class="badge badge-success badge-pill"> {{ transaction?.type }} </span> </td> </ng-container> <tr mat-header-row *matHeaderRowDef="transactionsDisplayedColumns"></tr> <tr mat-row *matRowDef="let transaction; columns: transactionsDisplayedColumns" matRipple (click)="viewTransaction(transaction)" ></tr> </table> <mat-paginator #TransactionTablePaginator="matPaginator" [pageSize]="transactionsDefaultPageSize" [pageSizeOptions]="transactionsPageSizeOptions" showFirstLastButtons ></mat-paginator> </div> </div> </mat-tab> <mat-tab label="Users"> <div class="card mt-1"> <mat-card-title class="card-header"> Accounts </mat-card-title> <div class="card-body"> <div class="row card-header"> <mat-form-field appearance="outline"> <mat-label> ACCOUNT TYPE </mat-label> <mat-select id="typeSelect" [(value)]="accountsType" (selectionChange)="filterAccounts()" > <mat-option value="all">ALL</mat-option> <mat-option *ngFor="let accountType of accountTypes" [value]="accountType"> {{ accountType | uppercase }} </mat-option> </mat-select> </mat-form-field> <button mat-raised-button color="primary" type="button" class="btn btn-outline-primary ml-auto mr-2" (click)="downloadCsv(accounts, \'accounts\')" > EXPORT </button> </div> <mat-form-field appearance="outline"> <mat-label> Filter </mat-label> <input matInput type="text" (keyup)="doUserFilter($event.target.value)" placeholder="Filter" /> <mat-icon matSuffix>search</mat-icon> </mat-form-field> <div *ngIf="accountsLoading"> <h2 class="text-center"><strong>Loading Accounts!</strong></h2> <mat-progress-bar [mode]="\'query\'"></mat-progress-bar> </div> <mat-table class="mat-elevation-z10" [dataSource]="userDataSource" matSort #UserTableSort="matSort" matSortActive="created" matSortDirection="desc" matSortDisableClear > <ng-container matColumnDef="name"> <mat-header-cell *matHeaderCellDef mat-sort-header> NAME </mat-header-cell> <mat-cell *matCellDef="let user"> {{ user?.vcard.fn[0].value }} </mat-cell> </ng-container> <ng-container matColumnDef="phone"> <mat-header-cell *matHeaderCellDef mat-sort-header> PHONE NUMBER </mat-header-cell> <mat-cell *matCellDef="let user"> {{ user?.vcard.tel[0].value }} </mat-cell> </ng-container> <ng-container matColumnDef="created"> <mat-header-cell *matHeaderCellDef mat-sort-header> CREATED </mat-header-cell> <mat-cell *matCellDef="let user"> {{ user?.date_registered | unixDate }} </mat-cell> </ng-container> <ng-container matColumnDef="balance"> <mat-header-cell *matHeaderCellDef mat-sort-header> BALANCE </mat-header-cell> <mat-cell *matCellDef="let user"> {{ user?.balance | tokenRatio }} {{ tokenSymbol | uppercase }} </mat-cell> </ng-container> <ng-container matColumnDef="location"> <mat-header-cell *matHeaderCellDef mat-sort-header> LOCATION </mat-header-cell> <mat-cell *matCellDef="let user"> {{ user?.location.area_name }} </mat-cell> </ng-container> <mat-header-row *matHeaderRowDef="userDisplayedColumns"></mat-header-row> <mat-row *matRowDef="let account; columns: userDisplayedColumns" (click)="viewAccount(account)" matRipple ></mat-row> </mat-table> <mat-paginator #UserTablePaginator="matPaginator" [pageSize]="usersDefaultPageSize" [pageSizeOptions]="usersPageSizeOptions" showFirstLastButtons ></mat-paginator> </div> </div> </mat-tab> </mat-tab-group> </div> <app-footer appMenuSelection></app-footer> </div> <!-- ============================================================== --> <!-- End Page content --> <!-- ============================================================== --></div></div>'
|
|
var COMPONENTS = [{'name': 'AccountDetailsComponent', 'selector': 'app-account-details'},{'name': 'AccountHistoryComponent', 'selector': 'app-account-history'},{'name': 'AccountsComponent', 'selector': 'app-accounts'},{'name': 'AccountSearchComponent', 'selector': 'app-account-search'},{'name': 'AdminComponent', 'selector': 'app-admin'},{'name': 'AppComponent', 'selector': 'app-root'},{'name': 'AuthComponent', 'selector': 'app-auth'},{'name': 'CreateAccountComponent', 'selector': 'app-create-account'},{'name': 'ErrorDialogComponent', 'selector': 'app-error-dialog'},{'name': 'FooterComponent', 'selector': 'app-footer'},{'name': 'FooterStubComponent', 'selector': 'app-footer'},{'name': 'NetworkStatusComponent', 'selector': 'app-network-status'},{'name': 'OrganizationComponent', 'selector': 'app-organization'},{'name': 'PagesComponent', 'selector': 'app-pages'},{'name': 'SettingsComponent', 'selector': 'app-settings'},{'name': 'SidebarComponent', 'selector': 'app-sidebar'},{'name': 'SidebarStubComponent', 'selector': 'app-sidebar'},{'name': 'TokenDetailsComponent', 'selector': 'app-token-details'},{'name': 'TokensComponent', 'selector': 'app-tokens'},{'name': 'TopbarComponent', 'selector': 'app-topbar'},{'name': 'TopbarStubComponent', 'selector': 'app-topbar'},{'name': 'TransactionDetailsComponent', 'selector': 'app-transaction-details'},{'name': 'TransactionsComponent', 'selector': 'app-transactions'}];
|
|
var DIRECTIVES = [{'name': 'MenuSelectionDirective', 'selector': '[appMenuSelection]'},{'name': 'MenuToggleDirective', 'selector': '[appMenuToggle]'},{'name': 'PasswordToggleDirective', 'selector': '[appPasswordToggle]'},{'name': 'RouterLinkDirectiveStub', 'selector': '[appRouterLink]'}];
|
|
var ACTUAL_COMPONENT = {'name': 'AccountDetailsComponent'};
|
|
</script>
|
|
<script src="../js/tree.js"></script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div><div class="search-results">
|
|
<div class="has-results">
|
|
<h1 class="search-results-title"><span class='search-results-count'></span> result-matching "<span class='search-query'></span>"</h1>
|
|
<ul class="search-results-list"></ul>
|
|
</div>
|
|
<div class="no-results">
|
|
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- END CONTENT -->
|
|
</div>
|
|
</div>
|
|
|
|
<script>
|
|
var COMPODOC_CURRENT_PAGE_DEPTH = 1;
|
|
var COMPODOC_CURRENT_PAGE_CONTEXT = 'component';
|
|
var COMPODOC_CURRENT_PAGE_URL = 'AccountDetailsComponent.html';
|
|
var MAX_SEARCH_RESULTS = 15;
|
|
</script>
|
|
|
|
<script src="../js/libs/custom-elements.min.js"></script>
|
|
<script src="../js/libs/lit-html.js"></script>
|
|
|
|
<script type="module" src="../js/menu-wc.js" defer></script>
|
|
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
|
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
|
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
<script src="../js/libs/promise.min.js"></script>
|
|
<script src="../js/libs/zepto.min.js"></script>
|
|
|
|
<script src="../js/compodoc.js"></script>
|
|
|
|
<script src="../js/tabs.js"></script>
|
|
<script src="../js/menu.js"></script>
|
|
<script src="../js/libs/clipboard.min.js"></script>
|
|
<script src="../js/libs/prism.js"></script>
|
|
<script src="../js/sourceCode.js"></script>
|
|
<script src="../js/search/search.js"></script>
|
|
<script src="../js/search/lunr.min.js"></script>
|
|
<script src="../js/search/search-lunr.js"></script>
|
|
<script src="../js/search/search_index.js"></script>
|
|
<script src="../js/lazy-load-graphs.js"></script>
|
|
|
|
|
|
</body>
|
|
</html>
|