Refactor mapping of curated options from meta.
This commit is contained in:
parent
a69213dab2
commit
5e8e0f7209
File diff suppressed because one or more lines are too long
@ -328,8 +328,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="33"
|
<div class="io-line">Defined in <a href="" data-line="43"
|
||||||
class="link-to-prism">src/app/pages/accounts/account-search/account-search.component.ts:33</a></div>
|
class="link-to-prism">src/app/pages/accounts/account-search/account-search.component.ts:43</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -369,8 +369,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="86"
|
<div class="io-line">Defined in <a href="" data-line="87"
|
||||||
class="link-to-prism">src/app/pages/accounts/account-search/account-search.component.ts:86</a></div>
|
class="link-to-prism">src/app/pages/accounts/account-search/account-search.component.ts:87</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -408,8 +408,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="56"
|
<div class="io-line">Defined in <a href="" data-line="57"
|
||||||
class="link-to-prism">src/app/pages/accounts/account-search/account-search.component.ts:56</a></div>
|
class="link-to-prism">src/app/pages/accounts/account-search/account-search.component.ts:57</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -449,8 +449,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="66"
|
<div class="io-line">Defined in <a href="" data-line="67"
|
||||||
class="link-to-prism">src/app/pages/accounts/account-search/account-search.component.ts:66</a></div>
|
class="link-to-prism">src/app/pages/accounts/account-search/account-search.component.ts:67</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -799,7 +799,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<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-search/account-search.component.ts:46</a></div>
|
<div class="io-line">Defined in <a href="" data-line="47" class="link-to-prism">src/app/pages/accounts/account-search/account-search.component.ts:47</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -821,7 +821,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="49" class="link-to-prism">src/app/pages/accounts/account-search/account-search.component.ts:49</a></div>
|
<div class="io-line">Defined in <a href="" data-line="50" class="link-to-prism">src/app/pages/accounts/account-search/account-search.component.ts:50</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -843,7 +843,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="52" class="link-to-prism">src/app/pages/accounts/account-search/account-search.component.ts:52</a></div>
|
<div class="io-line">Defined in <a href="" data-line="53" class="link-to-prism">src/app/pages/accounts/account-search/account-search.component.ts:53</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -884,10 +884,7 @@ export class AccountSearchComponent implements OnInit {
|
|||||||
private formBuilder: FormBuilder,
|
private formBuilder: FormBuilder,
|
||||||
private userService: UserService,
|
private userService: UserService,
|
||||||
private router: Router
|
private router: Router
|
||||||
) {}
|
) {
|
||||||
|
|
||||||
async ngOnInit(): Promise<void> {
|
|
||||||
await this.userService.init();
|
|
||||||
this.nameSearchForm = this.formBuilder.group({
|
this.nameSearchForm = this.formBuilder.group({
|
||||||
name: ['', Validators.required],
|
name: ['', Validators.required],
|
||||||
});
|
});
|
||||||
@ -899,6 +896,10 @@ export class AccountSearchComponent implements OnInit {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async ngOnInit(): Promise<void> {
|
||||||
|
await this.userService.init();
|
||||||
|
}
|
||||||
|
|
||||||
get nameSearchFormStub(): any {
|
get nameSearchFormStub(): any {
|
||||||
return this.nameSearchForm.controls;
|
return this.nameSearchForm.controls;
|
||||||
}
|
}
|
||||||
|
@ -160,6 +160,9 @@
|
|||||||
<li>
|
<li>
|
||||||
<a href="#sort">sort</a>
|
<a href="#sort">sort</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#tokenSymbol">tokenSymbol</a>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -210,12 +213,12 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<code>constructor(userService: <a href="../injectables/UserService.html">UserService</a>, loggingService: <a href="../injectables/LoggingService.html">LoggingService</a>, router: <a href="https://angular.io/api/router/Router" target="_blank">Router</a>)</code>
|
<code>constructor(userService: <a href="../injectables/UserService.html">UserService</a>, loggingService: <a href="../injectables/LoggingService.html">LoggingService</a>, router: <a href="https://angular.io/api/router/Router" target="_blank">Router</a>, tokenService: <a href="../injectables/TokenService.html">TokenService</a>)</code>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="29" class="link-to-prism">src/app/pages/accounts/accounts.component.ts:29</a></div>
|
<div class="io-line">Defined in <a href="" data-line="30" class="link-to-prism">src/app/pages/accounts/accounts.component.ts:30</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -268,6 +271,18 @@
|
|||||||
</td>
|
</td>
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>tokenService</td>
|
||||||
|
|
||||||
|
<td>
|
||||||
|
<code><a href="../injectables/TokenService.html" target="_self" >TokenService</a></code>
|
||||||
|
</td>
|
||||||
|
|
||||||
|
<td>
|
||||||
|
No
|
||||||
|
</td>
|
||||||
|
|
||||||
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
@ -308,8 +323,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="57"
|
<div class="io-line">Defined in <a href="" data-line="65"
|
||||||
class="link-to-prism">src/app/pages/accounts/accounts.component.ts:57</a></div>
|
class="link-to-prism">src/app/pages/accounts/accounts.component.ts:65</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -378,8 +393,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="86"
|
<div class="io-line">Defined in <a href="" data-line="94"
|
||||||
class="link-to-prism">src/app/pages/accounts/accounts.component.ts:86</a></div>
|
class="link-to-prism">src/app/pages/accounts/accounts.component.ts:94</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -417,8 +432,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="67"
|
<div class="io-line">Defined in <a href="" data-line="75"
|
||||||
class="link-to-prism">src/app/pages/accounts/accounts.component.ts:67</a></div>
|
class="link-to-prism">src/app/pages/accounts/accounts.component.ts:75</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -458,8 +473,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="37"
|
<div class="io-line">Defined in <a href="" data-line="39"
|
||||||
class="link-to-prism">src/app/pages/accounts/accounts.component.ts:37</a></div>
|
class="link-to-prism">src/app/pages/accounts/accounts.component.ts:39</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -497,8 +512,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="78"
|
<div class="io-line">Defined in <a href="" data-line="86"
|
||||||
class="link-to-prism">src/app/pages/accounts/accounts.component.ts:78</a></div>
|
class="link-to-prism">src/app/pages/accounts/accounts.component.ts:86</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -538,8 +553,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="61"
|
<div class="io-line">Defined in <a href="" data-line="69"
|
||||||
class="link-to-prism">src/app/pages/accounts/accounts.component.ts:61</a></div>
|
class="link-to-prism">src/app/pages/accounts/accounts.component.ts:69</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -831,7 +846,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="28" class="link-to-prism">src/app/pages/accounts/accounts.component.ts:28</a></div>
|
<div class="io-line">Defined in <a href="" data-line="29" class="link-to-prism">src/app/pages/accounts/accounts.component.ts:29</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -867,7 +882,34 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="29" class="link-to-prism">src/app/pages/accounts/accounts.component.ts:29</a></div>
|
<div class="io-line">Defined in <a href="" data-line="30" class="link-to-prism">src/app/pages/accounts/accounts.component.ts:30</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">
|
||||||
|
<b>
|
||||||
|
tokenSymbol</b>
|
||||||
|
<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="27" class="link-to-prism">src/app/pages/accounts/accounts.component.ts:27</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -884,7 +926,7 @@
|
|||||||
import { MatTableDataSource } from '@angular/material/table';
|
import { MatTableDataSource } from '@angular/material/table';
|
||||||
import { MatPaginator } from '@angular/material/paginator';
|
import { MatPaginator } from '@angular/material/paginator';
|
||||||
import { MatSort } from '@angular/material/sort';
|
import { MatSort } from '@angular/material/sort';
|
||||||
import { LoggingService, UserService } from '@app/_services';
|
import { LoggingService, TokenService, UserService } from '@app/_services';
|
||||||
import { Router } from '@angular/router';
|
import { Router } from '@angular/router';
|
||||||
import { exportCsv } from '@app/_helpers';
|
import { exportCsv } from '@app/_helpers';
|
||||||
import { strip0x } from '@src/assets/js/ethtx/dist/hex';
|
import { strip0x } from '@src/assets/js/ethtx/dist/hex';
|
||||||
@ -906,6 +948,7 @@ export class AccountsComponent implements OnInit {
|
|||||||
pageSizeOptions: Array<number> = [10, 20, 50, 100];
|
pageSizeOptions: Array<number> = [10, 20, 50, 100];
|
||||||
accountsType: string = 'all';
|
accountsType: string = 'all';
|
||||||
accountTypes: Array<string>;
|
accountTypes: Array<string>;
|
||||||
|
tokenSymbol: string;
|
||||||
|
|
||||||
@ViewChild(MatPaginator) paginator: MatPaginator;
|
@ViewChild(MatPaginator) paginator: MatPaginator;
|
||||||
@ViewChild(MatSort) sort: MatSort;
|
@ViewChild(MatSort) sort: MatSort;
|
||||||
@ -913,11 +956,13 @@ export class AccountsComponent implements OnInit {
|
|||||||
constructor(
|
constructor(
|
||||||
private userService: UserService,
|
private userService: UserService,
|
||||||
private loggingService: LoggingService,
|
private loggingService: LoggingService,
|
||||||
private router: Router
|
private router: Router,
|
||||||
|
private tokenService: TokenService
|
||||||
) {}
|
) {}
|
||||||
|
|
||||||
async ngOnInit(): Promise<void> {
|
async ngOnInit(): Promise<void> {
|
||||||
await this.userService.init();
|
await this.userService.init();
|
||||||
|
await this.tokenService.init();
|
||||||
try {
|
try {
|
||||||
// TODO it feels like this should be in the onInit handler
|
// TODO it feels like this should be in the onInit handler
|
||||||
await this.userService.loadAccounts(100);
|
await this.userService.loadAccounts(100);
|
||||||
@ -934,6 +979,11 @@ export class AccountsComponent implements OnInit {
|
|||||||
.getAccountTypes()
|
.getAccountTypes()
|
||||||
.pipe(first())
|
.pipe(first())
|
||||||
.subscribe((res) => (this.accountTypes = res));
|
.subscribe((res) => (this.accountTypes = res));
|
||||||
|
this.tokenService.load.subscribe(async (status: boolean) => {
|
||||||
|
if (status) {
|
||||||
|
this.tokenSymbol = await this.tokenService.getTokenSymbol();
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
doFilter(value: string): void {
|
doFilter(value: string): void {
|
||||||
@ -1064,7 +1114,9 @@ export class AccountsComponent implements OnInit {
|
|||||||
|
|
||||||
<ng-container matColumnDef="balance">
|
<ng-container matColumnDef="balance">
|
||||||
<mat-header-cell *matHeaderCellDef mat-sort-header> BALANCE </mat-header-cell>
|
<mat-header-cell *matHeaderCellDef mat-sort-header> BALANCE </mat-header-cell>
|
||||||
<mat-cell *matCellDef="let user"> {{ user?.balance | tokenRatio }} </mat-cell>
|
<mat-cell *matCellDef="let user">
|
||||||
|
{{ user?.balance | tokenRatio }} {{ tokenSymbol | uppercase }}
|
||||||
|
</mat-cell>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
|
||||||
<ng-container matColumnDef="location">
|
<ng-container matColumnDef="location">
|
||||||
@ -1129,7 +1181,7 @@ export class AccountsComponent implements OnInit {
|
|||||||
<script src="../js/libs/htmlparser.js"></script>
|
<script src="../js/libs/htmlparser.js"></script>
|
||||||
<script src="../js/libs/deep-iterator.js"></script>
|
<script src="../js/libs/deep-iterator.js"></script>
|
||||||
<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 active" aria-current="page">Accounts</li> </ol> </nav> <div class="card"> <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" routerLink="/accounts/search" > SEARCH </button> <button mat-raised-button color="primary" type="button" class="btn btn-outline-primary mr-2" (click)="downloadCsv()" > EXPORT </button> </div> <mat-form-field appearance="outline"> <mat-label> Filter </mat-label> <input matInput type="text" (keyup)="doFilter($event.target.value)" placeholder="Filter" /> <mat-icon matSuffix>search</mat-icon> </mat-form-field> <mat-table class="mat-elevation-z10" [dataSource]="dataSource" 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 }} </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="displayedColumns"></mat-header-row> <mat-row *matRowDef="let account; columns: displayedColumns" (click)="viewAccount(account)" matRipple ></mat-row> </mat-table> <mat-paginator [pageSize]="defaultPageSize" [pageSizeOptions]="pageSizeOptions" showFirstLastButtons ></mat-paginator> </div> </div> </div> <app-footer appMenuSelection></app-footer> </div> <!-- ============================================================== --> <!-- End Page content --> <!-- ============================================================== --></div></div>'
|
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 active" aria-current="page">Accounts</li> </ol> </nav> <div class="card"> <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" routerLink="/accounts/search" > SEARCH </button> <button mat-raised-button color="primary" type="button" class="btn btn-outline-primary mr-2" (click)="downloadCsv()" > EXPORT </button> </div> <mat-form-field appearance="outline"> <mat-label> Filter </mat-label> <input matInput type="text" (keyup)="doFilter($event.target.value)" placeholder="Filter" /> <mat-icon matSuffix>search</mat-icon> </mat-form-field> <mat-table class="mat-elevation-z10" [dataSource]="dataSource" 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="displayedColumns"></mat-header-row> <mat-row *matRowDef="let account; columns: displayedColumns" (click)="viewAccount(account)" matRipple ></mat-row> </mat-table> <mat-paginator [pageSize]="defaultPageSize" [pageSizeOptions]="pageSizeOptions" showFirstLastButtons ></mat-paginator> </div> </div> </div> <app-footer appMenuSelection></app-footer> </div> <!-- ============================================================== --> <!-- End Page content --> <!-- ============================================================== --></div></div>'
|
||||||
var COMPONENTS = [{'name': 'AccountDetailsComponent', 'selector': 'app-account-details'},{'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 COMPONENTS = [{'name': 'AccountDetailsComponent', 'selector': 'app-account-details'},{'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 DIRECTIVES = [{'name': 'MenuSelectionDirective', 'selector': '[appMenuSelection]'},{'name': 'MenuToggleDirective', 'selector': '[appMenuToggle]'},{'name': 'PasswordToggleDirective', 'selector': '[appPasswordToggle]'},{'name': 'RouterLinkDirectiveStub', 'selector': '[appRouterLink]'}];
|
||||||
var ACTUAL_COMPONENT = {'name': 'AccountsComponent'};
|
var ACTUAL_COMPONENT = {'name': 'AccountsComponent'};
|
||||||
|
@ -210,7 +210,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="21" class="link-to-prism">src/app/pages/accounts/create-account/create-account.component.ts:21</a></div>
|
<div class="io-line">Defined in <a href="" data-line="20" class="link-to-prism">src/app/pages/accounts/create-account/create-account.component.ts:20</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -305,8 +305,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="29"
|
<div class="io-line">Defined in <a href="" data-line="28"
|
||||||
class="link-to-prism">src/app/pages/accounts/create-account/create-account.component.ts:29</a></div>
|
class="link-to-prism">src/app/pages/accounts/create-account/create-account.component.ts:28</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -344,8 +344,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="65"
|
<div class="io-line">Defined in <a href="" data-line="64"
|
||||||
class="link-to-prism">src/app/pages/accounts/create-account/create-account.component.ts:65</a></div>
|
class="link-to-prism">src/app/pages/accounts/create-account/create-account.component.ts:64</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -387,7 +387,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="20" class="link-to-prism">src/app/pages/accounts/create-account/create-account.component.ts:20</a></div>
|
<div class="io-line">Defined in <a href="" data-line="19" class="link-to-prism">src/app/pages/accounts/create-account/create-account.component.ts:19</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -408,13 +408,13 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<i>Type : </i> <code><a href="../interfaces/AreaName.html" target="_self" >Array<AreaName></a></code>
|
<i>Type : </i> <code>Array<string></code>
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="19" class="link-to-prism">src/app/pages/accounts/create-account/create-account.component.ts:19</a></div>
|
<div class="io-line">Defined in <a href="" data-line="18" class="link-to-prism">src/app/pages/accounts/create-account/create-account.component.ts:18</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -435,13 +435,13 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<i>Type : </i> <code><a href="../interfaces/Category.html" target="_self" >Array<Category></a></code>
|
<i>Type : </i> <code>Array<string></code>
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="18" class="link-to-prism">src/app/pages/accounts/create-account/create-account.component.ts:18</a></div>
|
<div class="io-line">Defined in <a href="" data-line="17" class="link-to-prism">src/app/pages/accounts/create-account/create-account.component.ts:17</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -468,7 +468,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="15" class="link-to-prism">src/app/pages/accounts/create-account/create-account.component.ts:15</a></div>
|
<div class="io-line">Defined in <a href="" data-line="14" class="link-to-prism">src/app/pages/accounts/create-account/create-account.component.ts:14</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -495,7 +495,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="21" class="link-to-prism">src/app/pages/accounts/create-account/create-account.component.ts:21</a></div>
|
<div class="io-line">Defined in <a href="" data-line="20" class="link-to-prism">src/app/pages/accounts/create-account/create-account.component.ts:20</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -527,7 +527,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="16" class="link-to-prism">src/app/pages/accounts/create-account/create-account.component.ts:16</a></div>
|
<div class="io-line">Defined in <a href="" data-line="15" class="link-to-prism">src/app/pages/accounts/create-account/create-account.component.ts:15</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -559,7 +559,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="17" class="link-to-prism">src/app/pages/accounts/create-account/create-account.component.ts:17</a></div>
|
<div class="io-line">Defined in <a href="" data-line="16" class="link-to-prism">src/app/pages/accounts/create-account/create-account.component.ts:16</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -588,7 +588,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="61" class="link-to-prism">src/app/pages/accounts/create-account/create-account.component.ts:61</a></div>
|
<div class="io-line">Defined in <a href="" data-line="60" class="link-to-prism">src/app/pages/accounts/create-account/create-account.component.ts:60</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -604,7 +604,6 @@ import { FormBuilder, FormGroup, Validators } from '@angular/forms';
|
|||||||
import { LocationService, UserService } from '@app/_services';
|
import { LocationService, UserService } from '@app/_services';
|
||||||
import { CustomErrorStateMatcher } from '@app/_helpers';
|
import { CustomErrorStateMatcher } from '@app/_helpers';
|
||||||
import { first } from 'rxjs/operators';
|
import { first } from 'rxjs/operators';
|
||||||
import { AreaName, Category } from '@app/_models';
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-create-account',
|
selector: 'app-create-account',
|
||||||
@ -616,8 +615,8 @@ export class CreateAccountComponent implements OnInit {
|
|||||||
createForm: FormGroup;
|
createForm: FormGroup;
|
||||||
matcher: CustomErrorStateMatcher = new CustomErrorStateMatcher();
|
matcher: CustomErrorStateMatcher = new CustomErrorStateMatcher();
|
||||||
submitted: boolean = false;
|
submitted: boolean = false;
|
||||||
categories: Array<Category>;
|
categories: Array<string>;
|
||||||
areaNames: Array<AreaName>;
|
areaNames: Array<string>;
|
||||||
accountTypes: Array<string>;
|
accountTypes: Array<string>;
|
||||||
genders: Array<string>;
|
genders: Array<string>;
|
||||||
|
|
||||||
@ -641,14 +640,14 @@ export class CreateAccountComponent implements OnInit {
|
|||||||
referrer: ['', Validators.required],
|
referrer: ['', Validators.required],
|
||||||
businessCategory: ['', Validators.required],
|
businessCategory: ['', Validators.required],
|
||||||
});
|
});
|
||||||
this.userService
|
this.userService.getCategories();
|
||||||
.getCategories()
|
this.userService.categoriesSubject.subscribe((res) => {
|
||||||
.pipe(first())
|
this.categories = Object.keys(res);
|
||||||
.subscribe((res) => (this.categories = res));
|
});
|
||||||
this.locationService
|
this.locationService.getAreaNames();
|
||||||
.getAreaNames()
|
this.locationService.areaNamesSubject.subscribe((res) => {
|
||||||
.pipe(first())
|
this.areaNames = Object.keys(res);
|
||||||
.subscribe((res) => (this.areaNames = res));
|
});
|
||||||
this.userService
|
this.userService
|
||||||
.getAccountTypes()
|
.getAccountTypes()
|
||||||
.pipe(first())
|
.pipe(first())
|
||||||
|
@ -154,7 +154,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="10" class="link-to-prism">src/app/pages/pages.component.ts:10</a></div>
|
<div class="io-line">Defined in <a href="" data-line="11" class="link-to-prism">src/app/pages/pages.component.ts:11</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -192,12 +192,12 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<i>Default value : </i><code>'https://dashboard.sarafu.network/'</code>
|
<i>Default value : </i><code>environment.dashboardUrl</code>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="10" class="link-to-prism">src/app/pages/pages.component.ts:10</a></div>
|
<div class="io-line">Defined in <a href="" data-line="11" class="link-to-prism">src/app/pages/pages.component.ts:11</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -211,6 +211,7 @@
|
|||||||
|
|
||||||
<div class="tab-pane fade tab-source-code" id="c-source">
|
<div class="tab-pane fade tab-source-code" id="c-source">
|
||||||
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { ChangeDetectionStrategy, Component } from '@angular/core';
|
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { ChangeDetectionStrategy, Component } from '@angular/core';
|
||||||
|
import { environment } from '@src/environments/environment';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-pages',
|
selector: 'app-pages',
|
||||||
@ -219,7 +220,7 @@
|
|||||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||||
})
|
})
|
||||||
export class PagesComponent {
|
export class PagesComponent {
|
||||||
url: string = 'https://dashboard.sarafu.network/';
|
url: string = environment.dashboardUrl;
|
||||||
|
|
||||||
constructor() {}
|
constructor() {}
|
||||||
}
|
}
|
||||||
|
@ -1037,7 +1037,7 @@ export class TransactionsComponent implements OnInit, AfterViewInit {
|
|||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
this.transactionDataSource.data = this.transactions.filter(
|
this.transactionDataSource.data = this.transactions.filter(
|
||||||
(transaction) => transaction.type === this.transactionsType
|
(transaction) => transaction.type + 's' === this.transactionsType
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -316,16 +316,16 @@
|
|||||||
<span class="coverage-count">(1/1)</span>
|
<span class="coverage-count">(1/1)</span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="very-good">
|
<tr class="low">
|
||||||
<td>
|
<td>
|
||||||
<!-- miscellaneous -->
|
<!-- miscellaneous -->
|
||||||
<a href="./miscellaneous/variables.html#areaTypes">src/app/_helpers/mock-backend.ts</a>
|
<a href="./miscellaneous/variables.html#areaTypes">src/app/_helpers/mock-backend.ts</a>
|
||||||
</td>
|
</td>
|
||||||
<td>variable</td>
|
<td>variable</td>
|
||||||
<td>areaTypes</td>
|
<td>areaTypes</td>
|
||||||
<td align="right" data-sort="100">
|
<td align="right" data-sort="0">
|
||||||
<span class="coverage-percent">100 %</span>
|
<span class="coverage-percent">0 %</span>
|
||||||
<span class="coverage-count">(1/1)</span>
|
<span class="coverage-count">(0/1)</span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="very-good">
|
<tr class="very-good">
|
||||||
@ -364,18 +364,6 @@
|
|||||||
<span class="coverage-count">(1/1)</span>
|
<span class="coverage-count">(1/1)</span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="very-good">
|
|
||||||
<td>
|
|
||||||
<!-- miscellaneous -->
|
|
||||||
<a href="./miscellaneous/variables.html#tokens">src/app/_helpers/mock-backend.ts</a>
|
|
||||||
</td>
|
|
||||||
<td>variable</td>
|
|
||||||
<td>tokens</td>
|
|
||||||
<td align="right" data-sort="100">
|
|
||||||
<span class="coverage-percent">100 %</span>
|
|
||||||
<span class="coverage-count">(1/1)</span>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="very-good">
|
<tr class="very-good">
|
||||||
<td>
|
<td>
|
||||||
<!-- miscellaneous -->
|
<!-- miscellaneous -->
|
||||||
@ -568,42 +556,6 @@
|
|||||||
<span class="coverage-count">(6/6)</span>
|
<span class="coverage-count">(6/6)</span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="very-good">
|
|
||||||
<td>
|
|
||||||
<!-- miscellaneous -->
|
|
||||||
<a href="./interfaces/AreaName.html">src/app/_models/mappings.ts</a>
|
|
||||||
</td>
|
|
||||||
<td>interface</td>
|
|
||||||
<td>AreaName</td>
|
|
||||||
<td align="right" data-sort="100">
|
|
||||||
<span class="coverage-percent">100 %</span>
|
|
||||||
<span class="coverage-count">(3/3)</span>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="very-good">
|
|
||||||
<td>
|
|
||||||
<!-- miscellaneous -->
|
|
||||||
<a href="./interfaces/AreaType.html">src/app/_models/mappings.ts</a>
|
|
||||||
</td>
|
|
||||||
<td>interface</td>
|
|
||||||
<td>AreaType</td>
|
|
||||||
<td align="right" data-sort="100">
|
|
||||||
<span class="coverage-percent">100 %</span>
|
|
||||||
<span class="coverage-count">(3/3)</span>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="very-good">
|
|
||||||
<td>
|
|
||||||
<!-- miscellaneous -->
|
|
||||||
<a href="./interfaces/Category.html">src/app/_models/mappings.ts</a>
|
|
||||||
</td>
|
|
||||||
<td>interface</td>
|
|
||||||
<td>Category</td>
|
|
||||||
<td align="right" data-sort="100">
|
|
||||||
<span class="coverage-percent">100 %</span>
|
|
||||||
<span class="coverage-count">(3/3)</span>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="very-good">
|
<tr class="very-good">
|
||||||
<td>
|
<td>
|
||||||
<!-- miscellaneous -->
|
<!-- miscellaneous -->
|
||||||
@ -841,7 +793,7 @@
|
|||||||
<td>LocationService</td>
|
<td>LocationService</td>
|
||||||
<td align="right" data-sort="0">
|
<td align="right" data-sort="0">
|
||||||
<span class="coverage-percent">0 %</span>
|
<span class="coverage-percent">0 %</span>
|
||||||
<span class="coverage-count">(0/6)</span>
|
<span class="coverage-count">(0/12)</span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="low">
|
<tr class="low">
|
||||||
@ -913,7 +865,7 @@
|
|||||||
<td>UserService</td>
|
<td>UserService</td>
|
||||||
<td align="right" data-sort="0">
|
<td align="right" data-sort="0">
|
||||||
<span class="coverage-percent">0 %</span>
|
<span class="coverage-percent">0 %</span>
|
||||||
<span class="coverage-count">(0/35)</span>
|
<span class="coverage-count">(0/38)</span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="low">
|
<tr class="low">
|
||||||
@ -985,7 +937,7 @@
|
|||||||
<td>AccountDetailsComponent</td>
|
<td>AccountDetailsComponent</td>
|
||||||
<td align="right" data-sort="0">
|
<td align="right" data-sort="0">
|
||||||
<span class="coverage-percent">0 %</span>
|
<span class="coverage-percent">0 %</span>
|
||||||
<span class="coverage-count">(0/44)</span>
|
<span class="coverage-count">(0/47)</span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="low">
|
<tr class="low">
|
||||||
@ -1009,7 +961,7 @@
|
|||||||
<td>AccountsComponent</td>
|
<td>AccountsComponent</td>
|
||||||
<td align="right" data-sort="0">
|
<td align="right" data-sort="0">
|
||||||
<span class="coverage-percent">0 %</span>
|
<span class="coverage-percent">0 %</span>
|
||||||
<span class="coverage-count">(0/17)</span>
|
<span class="coverage-count">(0/18)</span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="low">
|
<tr class="low">
|
||||||
|
@ -4,6 +4,6 @@
|
|||||||
<rect id="svg_2" height="20" width="40" y="0" x="92" stroke-width="1.5" stroke="#8fbd08" fill="#8fbd08" rx="7" ry="7"/>
|
<rect id="svg_2" height="20" width="40" y="0" x="92" stroke-width="1.5" stroke="#8fbd08" fill="#8fbd08" rx="7" ry="7"/>
|
||||||
<rect id="svg_3" height="20" width="22" y="0" x="92" stroke-width="1.5" stroke="#8fbd08" fill="#8fbd08"/>
|
<rect id="svg_3" height="20" width="22" y="0" x="92" stroke-width="1.5" stroke="#8fbd08" fill="#8fbd08"/>
|
||||||
<text xml:space="preserve" text-anchor="start" font-family="Helvetica, Arial, sans-serif" font-size="12" id="svg_4" y="14" x="6" stroke-width="0" stroke="#5d5d5d" fill="#ffffff">documentation</text>
|
<text xml:space="preserve" text-anchor="start" font-family="Helvetica, Arial, sans-serif" font-size="12" id="svg_4" y="14" x="6" stroke-width="0" stroke="#5d5d5d" fill="#ffffff">documentation</text>
|
||||||
<text xml:space="preserve" text-anchor="middle" font-family="Helvetica, Arial, sans-serif" font-size="12" id="svg_5" y="14" x="112" stroke-width="0" stroke="#5d5d5d" fill="#ffffff" style="text-anchor: middle">56%</text>
|
<text xml:space="preserve" text-anchor="middle" font-family="Helvetica, Arial, sans-serif" font-size="12" id="svg_5" y="14" x="112" stroke-width="0" stroke="#5d5d5d" fill="#ffffff" style="text-anchor: middle">53%</text>
|
||||||
</g>
|
</g>
|
||||||
</svg>
|
</svg>
|
||||||
|
Before Width: | Height: | Size: 894 B After Width: | Height: | Size: 894 B |
@ -66,6 +66,37 @@
|
|||||||
<h3 id="index">Index</h3>
|
<h3 id="index">Index</h3>
|
||||||
<table class="table table-sm table-bordered index-table">
|
<table class="table table-sm table-bordered index-table">
|
||||||
<tbody>
|
<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="#areaNames">areaNames</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<span class="modifier">Private</span>
|
||||||
|
<a href="#areaNamesList">areaNamesList</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#areaNamesSubject">areaNamesSubject</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#areaTypes">areaTypes</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<span class="modifier">Private</span>
|
||||||
|
<a href="#areaTypesList">areaTypesList</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#areaTypesSubject">areaTypesSubject</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
@ -110,7 +141,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="10" class="link-to-prism">src/app/_services/location.service.ts:10</a></div>
|
<div class="io-line">Defined in <a href="" data-line="17" class="link-to-prism">src/app/_services/location.service.ts:17</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -168,15 +199,15 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<code>getAreaNameByLocation(location: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>)</code>
|
<code>getAreaNameByLocation(location: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, areaNames: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object" target="_blank">object</a>)</code>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="17"
|
<div class="io-line">Defined in <a href="" data-line="28"
|
||||||
class="link-to-prism">src/app/_services/location.service.ts:17</a></div>
|
class="link-to-prism">src/app/_services/location.service.ts:28</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -206,6 +237,18 @@
|
|||||||
</td>
|
</td>
|
||||||
|
|
||||||
|
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>areaNames</td>
|
||||||
|
<td>
|
||||||
|
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object" target="_blank" >object</a></code>
|
||||||
|
</td>
|
||||||
|
|
||||||
|
<td>
|
||||||
|
No
|
||||||
|
</td>
|
||||||
|
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@ -213,7 +256,7 @@
|
|||||||
<div>
|
<div>
|
||||||
</div>
|
</div>
|
||||||
<div class="io-description">
|
<div class="io-description">
|
||||||
<b>Returns : </b> <code>Observable<any></code>
|
<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>
|
||||||
<div class="io-description">
|
<div class="io-description">
|
||||||
@ -245,8 +288,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="13"
|
<div class="io-line">Defined in <a href="" data-line="21"
|
||||||
class="link-to-prism">src/app/_services/location.service.ts:13</a></div>
|
class="link-to-prism">src/app/_services/location.service.ts:21</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -255,7 +298,7 @@
|
|||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
|
|
||||||
<div class="io-description">
|
<div class="io-description">
|
||||||
<b>Returns : </b> <code>Observable<any></code>
|
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
@ -277,15 +320,15 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<code>getAreaTypeByArea(area: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>)</code>
|
<code>getAreaTypeByArea(area: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, areaTypes: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object" target="_blank">object</a>)</code>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="25"
|
<div class="io-line">Defined in <a href="" data-line="47"
|
||||||
class="link-to-prism">src/app/_services/location.service.ts:25</a></div>
|
class="link-to-prism">src/app/_services/location.service.ts:47</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -315,6 +358,18 @@
|
|||||||
</td>
|
</td>
|
||||||
|
|
||||||
|
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>areaTypes</td>
|
||||||
|
<td>
|
||||||
|
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object" target="_blank" >object</a></code>
|
||||||
|
</td>
|
||||||
|
|
||||||
|
<td>
|
||||||
|
No
|
||||||
|
</td>
|
||||||
|
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@ -322,7 +377,7 @@
|
|||||||
<div>
|
<div>
|
||||||
</div>
|
</div>
|
||||||
<div class="io-description">
|
<div class="io-description">
|
||||||
<b>Returns : </b> <code>Observable<any></code>
|
<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>
|
||||||
<div class="io-description">
|
<div class="io-description">
|
||||||
@ -354,8 +409,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="21"
|
<div class="io-line">Defined in <a href="" data-line="40"
|
||||||
class="link-to-prism">src/app/_services/location.service.ts:21</a></div>
|
class="link-to-prism">src/app/_services/location.service.ts:40</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -364,7 +419,7 @@
|
|||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
|
|
||||||
<div class="io-description">
|
<div class="io-description">
|
||||||
<b>Returns : </b> <code>Observable<any></code>
|
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
@ -372,13 +427,213 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</section>
|
</section>
|
||||||
|
<section>
|
||||||
|
|
||||||
|
<h3 id="inputs">
|
||||||
|
Properties
|
||||||
|
</h3>
|
||||||
|
<table class="table table-sm table-bordered">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td class="col-md-4">
|
||||||
|
<a name="areaNames"></a>
|
||||||
|
<span class="name">
|
||||||
|
<b>
|
||||||
|
areaNames</b>
|
||||||
|
<a href="#areaNames"><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/object" target="_blank" >object</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="11" class="link-to-prism">src/app/_services/location.service.ts:11</a></div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<table class="table table-sm table-bordered">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td class="col-md-4">
|
||||||
|
<a name="areaNamesList"></a>
|
||||||
|
<span class="name">
|
||||||
|
<b>
|
||||||
|
<span class="modifier">Private</span>
|
||||||
|
areaNamesList</b>
|
||||||
|
<a href="#areaNamesList"><span class="icon ion-ios-link"></span></a>
|
||||||
|
</span>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="col-md-4">
|
||||||
|
<i>Type : </i> <code>BehaviorSubject<object></code>
|
||||||
|
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="col-md-4">
|
||||||
|
<i>Default value : </i><code>new BehaviorSubject<object>(this.areaNames)</code>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="col-md-4">
|
||||||
|
<div class="io-line">Defined in <a href="" data-line="12" class="link-to-prism">src/app/_services/location.service.ts:12</a></div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<table class="table table-sm table-bordered">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td class="col-md-4">
|
||||||
|
<a name="areaNamesSubject"></a>
|
||||||
|
<span class="name">
|
||||||
|
<b>
|
||||||
|
areaNamesSubject</b>
|
||||||
|
<a href="#areaNamesSubject"><span class="icon ion-ios-link"></span></a>
|
||||||
|
</span>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="col-md-4">
|
||||||
|
<i>Type : </i> <code>Observable<object></code>
|
||||||
|
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="col-md-4">
|
||||||
|
<i>Default value : </i><code>this.areaNamesList.asObservable()</code>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="col-md-4">
|
||||||
|
<div class="io-line">Defined in <a href="" data-line="13" class="link-to-prism">src/app/_services/location.service.ts:13</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">
|
||||||
|
<b>
|
||||||
|
areaTypes</b>
|
||||||
|
<a href="#areaTypes"><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/object" target="_blank" >object</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="15" class="link-to-prism">src/app/_services/location.service.ts:15</a></div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<table class="table table-sm table-bordered">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td class="col-md-4">
|
||||||
|
<a name="areaTypesList"></a>
|
||||||
|
<span class="name">
|
||||||
|
<b>
|
||||||
|
<span class="modifier">Private</span>
|
||||||
|
areaTypesList</b>
|
||||||
|
<a href="#areaTypesList"><span class="icon ion-ios-link"></span></a>
|
||||||
|
</span>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="col-md-4">
|
||||||
|
<i>Type : </i> <code>BehaviorSubject<object></code>
|
||||||
|
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="col-md-4">
|
||||||
|
<i>Default value : </i><code>new BehaviorSubject<object>(this.areaTypes)</code>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="col-md-4">
|
||||||
|
<div class="io-line">Defined in <a href="" data-line="16" class="link-to-prism">src/app/_services/location.service.ts:16</a></div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<table class="table table-sm table-bordered">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td class="col-md-4">
|
||||||
|
<a name="areaTypesSubject"></a>
|
||||||
|
<span class="name">
|
||||||
|
<b>
|
||||||
|
areaTypesSubject</b>
|
||||||
|
<a href="#areaTypesSubject"><span class="icon ion-ios-link"></span></a>
|
||||||
|
</span>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="col-md-4">
|
||||||
|
<i>Type : </i> <code>Observable<object></code>
|
||||||
|
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="col-md-4">
|
||||||
|
<i>Default value : </i><code>this.areaTypesList.asObservable()</code>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="col-md-4">
|
||||||
|
<div class="io-line">Defined in <a href="" data-line="17" class="link-to-prism">src/app/_services/location.service.ts:17</a></div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</section>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="tab-pane fade tab-source-code" id="c-source">
|
<div class="tab-pane fade tab-source-code" id="c-source">
|
||||||
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { Injectable } from '@angular/core';
|
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { Injectable } from '@angular/core';
|
||||||
import { Observable } from 'rxjs';
|
import { BehaviorSubject, Observable } from 'rxjs';
|
||||||
import { environment } from '@src/environments/environment';
|
import { environment } from '@src/environments/environment';
|
||||||
import { first } from 'rxjs/operators';
|
import { first } from 'rxjs/operators';
|
||||||
import { HttpClient } from '@angular/common/http';
|
import { HttpClient } from '@angular/common/http';
|
||||||
@ -387,24 +642,52 @@ import { HttpClient } from '@angular/common/http';
|
|||||||
providedIn: 'root',
|
providedIn: 'root',
|
||||||
})
|
})
|
||||||
export class LocationService {
|
export class LocationService {
|
||||||
|
areaNames: object = {};
|
||||||
|
private areaNamesList: BehaviorSubject<object> = new BehaviorSubject<object>(this.areaNames);
|
||||||
|
areaNamesSubject: Observable<object> = this.areaNamesList.asObservable();
|
||||||
|
|
||||||
|
areaTypes: object = {};
|
||||||
|
private areaTypesList: BehaviorSubject<object> = new BehaviorSubject<object>(this.areaTypes);
|
||||||
|
areaTypesSubject: Observable<object> = this.areaTypesList.asObservable();
|
||||||
|
|
||||||
constructor(private httpClient: HttpClient) {}
|
constructor(private httpClient: HttpClient) {}
|
||||||
|
|
||||||
getAreaNames(): Observable<any> {
|
getAreaNames(): void {
|
||||||
return this.httpClient.get(`${environment.cicMetaUrl}/areanames`);
|
this.httpClient
|
||||||
|
.get(`${environment.cicMetaUrl}/areanames`)
|
||||||
|
.pipe(first())
|
||||||
|
.subscribe((res: object) => this.areaNamesList.next(res));
|
||||||
}
|
}
|
||||||
|
|
||||||
getAreaNameByLocation(location: string): Observable<any> {
|
getAreaNameByLocation(location: string, areaNames: object): string {
|
||||||
return this.httpClient.get(`${environment.cicMetaUrl}/areanames/${location.toLowerCase()}`);
|
const keywords = location.toLowerCase().split(' ');
|
||||||
|
for (const keyword of keywords) {
|
||||||
|
const queriedAreaName: string = Object.keys(areaNames).find((key) =>
|
||||||
|
areaNames[key].includes(keyword)
|
||||||
|
);
|
||||||
|
if (queriedAreaName) {
|
||||||
|
return queriedAreaName;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getAreaTypes(): Observable<any> {
|
getAreaTypes(): void {
|
||||||
return this.httpClient.get(`${environment.cicMetaUrl}/areatypes`).pipe(first());
|
this.httpClient
|
||||||
|
.get(`${environment.cicMetaUrl}/areatypes`)
|
||||||
|
.pipe(first())
|
||||||
|
.subscribe((res: object) => this.areaTypesList.next(res));
|
||||||
}
|
}
|
||||||
|
|
||||||
getAreaTypeByArea(area: string): Observable<any> {
|
getAreaTypeByArea(area: string, areaTypes: object): string {
|
||||||
return this.httpClient
|
const keywords = area.toLowerCase().split(' ');
|
||||||
.get(`${environment.cicMetaUrl}/areatypes/${area.toLowerCase()}`)
|
for (const keyword of keywords) {
|
||||||
.pipe(first());
|
const queriedAreaType: string = Object.keys(areaTypes).find((key) =>
|
||||||
|
areaTypes[key].includes(keyword)
|
||||||
|
);
|
||||||
|
if (queriedAreaType) {
|
||||||
|
return queriedAreaType;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
@ -154,45 +154,15 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<code>constructor(httpClient: <a href="https://angular.io/api/common/http/HttpClient" target="_blank">HttpClient</a>)</code>
|
<code>constructor()</code>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="20" class="link-to-prism">src/app/_services/token.service.ts:20</a></div>
|
<div class="io-line">Defined in <a href="" data-line="19" class="link-to-prism">src/app/_services/token.service.ts:19</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</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>httpClient</td>
|
|
||||||
|
|
||||||
<td>
|
|
||||||
<code><a href="https://angular.io/api/common/http/HttpClient" target="_blank" >HttpClient</a></code>
|
|
||||||
</td>
|
|
||||||
|
|
||||||
<td>
|
|
||||||
No
|
|
||||||
</td>
|
|
||||||
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</section>
|
</section>
|
||||||
@ -224,8 +194,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="32"
|
<div class="io-line">Defined in <a href="" data-line="31"
|
||||||
class="link-to-prism">src/app/_services/token.service.ts:32</a></div>
|
class="link-to-prism">src/app/_services/token.service.ts:31</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -296,8 +266,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="73"
|
<div class="io-line">Defined in <a href="" data-line="72"
|
||||||
class="link-to-prism">src/app/_services/token.service.ts:73</a></div>
|
class="link-to-prism">src/app/_services/token.service.ts:72</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -368,8 +338,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="52"
|
<div class="io-line">Defined in <a href="" data-line="51"
|
||||||
class="link-to-prism">src/app/_services/token.service.ts:52</a></div>
|
class="link-to-prism">src/app/_services/token.service.ts:51</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -440,8 +410,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="63"
|
<div class="io-line">Defined in <a href="" data-line="62"
|
||||||
class="link-to-prism">src/app/_services/token.service.ts:63</a></div>
|
class="link-to-prism">src/app/_services/token.service.ts:62</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -512,8 +482,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="78"
|
<div class="io-line">Defined in <a href="" data-line="77"
|
||||||
class="link-to-prism">src/app/_services/token.service.ts:78</a></div>
|
class="link-to-prism">src/app/_services/token.service.ts:77</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -553,8 +523,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="44"
|
<div class="io-line">Defined in <a href="" data-line="43"
|
||||||
class="link-to-prism">src/app/_services/token.service.ts:44</a></div>
|
class="link-to-prism">src/app/_services/token.service.ts:43</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -594,8 +564,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="83"
|
<div class="io-line">Defined in <a href="" data-line="82"
|
||||||
class="link-to-prism">src/app/_services/token.service.ts:83</a></div>
|
class="link-to-prism">src/app/_services/token.service.ts:82</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -635,8 +605,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="24"
|
<div class="io-line">Defined in <a href="" data-line="23"
|
||||||
class="link-to-prism">src/app/_services/token.service.ts:24</a></div>
|
class="link-to-prism">src/app/_services/token.service.ts:23</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -683,7 +653,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="20" class="link-to-prism">src/app/_services/token.service.ts:20</a></div>
|
<div class="io-line">Defined in <a href="" data-line="19" class="link-to-prism">src/app/_services/token.service.ts:19</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -710,7 +680,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="13" class="link-to-prism">src/app/_services/token.service.ts:13</a></div>
|
<div class="io-line">Defined in <a href="" data-line="12" class="link-to-prism">src/app/_services/token.service.ts:12</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -737,7 +707,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="14" class="link-to-prism">src/app/_services/token.service.ts:14</a></div>
|
<div class="io-line">Defined in <a href="" data-line="13" class="link-to-prism">src/app/_services/token.service.ts:13</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -769,7 +739,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="15" class="link-to-prism">src/app/_services/token.service.ts:15</a></div>
|
<div class="io-line">Defined in <a href="" data-line="14" class="link-to-prism">src/app/_services/token.service.ts:14</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -804,7 +774,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="16" class="link-to-prism">src/app/_services/token.service.ts:16</a></div>
|
<div class="io-line">Defined in <a href="" data-line="15" class="link-to-prism">src/app/_services/token.service.ts:15</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -836,7 +806,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="19" class="link-to-prism">src/app/_services/token.service.ts:19</a></div>
|
<div class="io-line">Defined in <a href="" data-line="18" class="link-to-prism">src/app/_services/token.service.ts:18</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -852,7 +822,6 @@
|
|||||||
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { Injectable } from '@angular/core';
|
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { Injectable } from '@angular/core';
|
||||||
import { CICRegistry } from '@cicnet/cic-client';
|
import { CICRegistry } from '@cicnet/cic-client';
|
||||||
import { TokenRegistry } from '@app/_eth';
|
import { TokenRegistry } from '@app/_eth';
|
||||||
import { HttpClient } from '@angular/common/http';
|
|
||||||
import { RegistryService } from '@app/_services/registry.service';
|
import { RegistryService } from '@app/_services/registry.service';
|
||||||
import { Token } from '@app/_models';
|
import { Token } from '@app/_models';
|
||||||
import { BehaviorSubject, Observable, Subject } from 'rxjs';
|
import { BehaviorSubject, Observable, Subject } from 'rxjs';
|
||||||
@ -870,7 +839,7 @@ export class TokenService {
|
|||||||
tokensSubject: Observable<Array<Token>> = this.tokensList.asObservable();
|
tokensSubject: Observable<Array<Token>> = this.tokensList.asObservable();
|
||||||
load: BehaviorSubject<any> = new BehaviorSubject<any>(false);
|
load: BehaviorSubject<any> = new BehaviorSubject<any>(false);
|
||||||
|
|
||||||
constructor(private httpClient: HttpClient) {}
|
constructor() {}
|
||||||
|
|
||||||
async init(): Promise<void> {
|
async init(): Promise<void> {
|
||||||
this.registry = await RegistryService.getRegistry();
|
this.registry = await RegistryService.getRegistry();
|
||||||
|
@ -260,8 +260,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="119"
|
<div class="io-line">Defined in <a href="" data-line="143"
|
||||||
class="link-to-prism">src/app/_services/transaction.service.ts:119</a></div>
|
class="link-to-prism">src/app/_services/transaction.service.ts:143</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -341,8 +341,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="139"
|
<div class="io-line">Defined in <a href="" data-line="163"
|
||||||
class="link-to-prism">src/app/_services/transaction.service.ts:139</a></div>
|
class="link-to-prism">src/app/_services/transaction.service.ts:163</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -646,8 +646,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="134"
|
<div class="io-line">Defined in <a href="" data-line="158"
|
||||||
class="link-to-prism">src/app/_services/transaction.service.ts:134</a></div>
|
class="link-to-prism">src/app/_services/transaction.service.ts:158</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -687,8 +687,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="94"
|
<div class="io-line">Defined in <a href="" data-line="110"
|
||||||
class="link-to-prism">src/app/_services/transaction.service.ts:94</a></div>
|
class="link-to-prism">src/app/_services/transaction.service.ts:110</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -847,8 +847,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="146"
|
<div class="io-line">Defined in <a href="" data-line="170"
|
||||||
class="link-to-prism">src/app/_services/transaction.service.ts:146</a></div>
|
class="link-to-prism">src/app/_services/transaction.service.ts:170</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -1173,30 +1173,46 @@ export class TransactionService {
|
|||||||
transaction.value = Number(transaction.value);
|
transaction.value = Number(transaction.value);
|
||||||
transaction.type = 'transaction';
|
transaction.type = 'transaction';
|
||||||
try {
|
try {
|
||||||
this.userService
|
if (transaction.from === environment.trustedDeclaratorAddress) {
|
||||||
.getAccountDetailsFromMeta(await User.toKey(transaction.from))
|
transaction.sender = defaultAccount;
|
||||||
.pipe(first())
|
this.userService.addAccount(defaultAccount, cacheSize);
|
||||||
.subscribe(
|
} else {
|
||||||
(res) => {
|
this.userService
|
||||||
transaction.sender = this.getAccountInfo(res, cacheSize);
|
.getAccountDetailsFromMeta(await User.toKey(transaction.from))
|
||||||
},
|
.pipe(first())
|
||||||
(error) => {
|
.subscribe(
|
||||||
transaction.sender = defaultAccount;
|
(res) => {
|
||||||
this.userService.addAccount(defaultAccount, cacheSize);
|
transaction.sender = this.getAccountInfo(res, cacheSize);
|
||||||
}
|
},
|
||||||
);
|
(error) => {
|
||||||
this.userService
|
this.loggingService.sendErrorLevelMessage(
|
||||||
.getAccountDetailsFromMeta(await User.toKey(transaction.to))
|
`Account with address ${transaction.from} not found`,
|
||||||
.pipe(first())
|
this,
|
||||||
.subscribe(
|
{ error }
|
||||||
(res) => {
|
);
|
||||||
transaction.recipient = this.getAccountInfo(res, cacheSize);
|
}
|
||||||
},
|
);
|
||||||
(error) => {
|
}
|
||||||
transaction.recipient = defaultAccount;
|
if (transaction.to === environment.trustedDeclaratorAddress) {
|
||||||
this.userService.addAccount(defaultAccount, cacheSize);
|
transaction.recipient = defaultAccount;
|
||||||
}
|
this.userService.addAccount(defaultAccount, cacheSize);
|
||||||
);
|
} else {
|
||||||
|
this.userService
|
||||||
|
.getAccountDetailsFromMeta(await User.toKey(transaction.to))
|
||||||
|
.pipe(first())
|
||||||
|
.subscribe(
|
||||||
|
(res) => {
|
||||||
|
transaction.recipient = this.getAccountInfo(res, cacheSize);
|
||||||
|
},
|
||||||
|
(error) => {
|
||||||
|
this.loggingService.sendErrorLevelMessage(
|
||||||
|
`Account with address ${transaction.to} not found`,
|
||||||
|
this,
|
||||||
|
{ error }
|
||||||
|
);
|
||||||
|
}
|
||||||
|
);
|
||||||
|
}
|
||||||
} finally {
|
} finally {
|
||||||
this.addTransaction(transaction, cacheSize);
|
this.addTransaction(transaction, cacheSize);
|
||||||
}
|
}
|
||||||
@ -1210,18 +1226,26 @@ export class TransactionService {
|
|||||||
conversion.fromValue = Number(conversion.fromValue);
|
conversion.fromValue = Number(conversion.fromValue);
|
||||||
conversion.toValue = Number(conversion.toValue);
|
conversion.toValue = Number(conversion.toValue);
|
||||||
try {
|
try {
|
||||||
this.userService
|
if (conversion.trader === environment.trustedDeclaratorAddress) {
|
||||||
.getAccountDetailsFromMeta(await User.toKey(conversion.trader))
|
conversion.sender = conversion.recipient = defaultAccount;
|
||||||
.pipe(first())
|
this.userService.addAccount(defaultAccount, cacheSize);
|
||||||
.subscribe(
|
} else {
|
||||||
(res) => {
|
this.userService
|
||||||
conversion.sender = conversion.recipient = this.getAccountInfo(res);
|
.getAccountDetailsFromMeta(await User.toKey(conversion.trader))
|
||||||
},
|
.pipe(first())
|
||||||
(error) => {
|
.subscribe(
|
||||||
conversion.sender = conversion.recipient = defaultAccount;
|
(res) => {
|
||||||
this.userService.addAccount(defaultAccount, cacheSize);
|
conversion.sender = conversion.recipient = this.getAccountInfo(res);
|
||||||
}
|
},
|
||||||
);
|
(error) => {
|
||||||
|
this.loggingService.sendErrorLevelMessage(
|
||||||
|
`Account with address ${conversion.trader} not found`,
|
||||||
|
this,
|
||||||
|
{ error }
|
||||||
|
);
|
||||||
|
}
|
||||||
|
);
|
||||||
|
}
|
||||||
} finally {
|
} finally {
|
||||||
this.addTransaction(conversion, cacheSize);
|
this.addTransaction(conversion, cacheSize);
|
||||||
}
|
}
|
||||||
|
@ -94,6 +94,16 @@
|
|||||||
<li>
|
<li>
|
||||||
<a href="#actionsSubject">actionsSubject</a>
|
<a href="#actionsSubject">actionsSubject</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#categories">categories</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<span class="modifier">Private</span>
|
||||||
|
<a href="#categoriesList">categoriesList</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#categoriesSubject">categoriesSubject</a>
|
||||||
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="#headers">headers</a>
|
<a href="#headers">headers</a>
|
||||||
</li>
|
</li>
|
||||||
@ -216,7 +226,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="37" class="link-to-prism">src/app/_services/user.service.ts:37</a></div>
|
<div class="io-line">Defined in <a href="" data-line="41" class="link-to-prism">src/app/_services/user.service.ts:41</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -317,8 +327,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="267"
|
<div class="io-line">Defined in <a href="" data-line="302"
|
||||||
class="link-to-prism">src/app/_services/user.service.ts:267</a></div>
|
class="link-to-prism">src/app/_services/user.service.ts:302</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -399,8 +409,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="155"
|
<div class="io-line">Defined in <a href="" data-line="179"
|
||||||
class="link-to-prism">src/app/_services/user.service.ts:155</a></div>
|
class="link-to-prism">src/app/_services/user.service.ts:179</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -471,8 +481,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="68"
|
<div class="io-line">Defined in <a href="" data-line="72"
|
||||||
class="link-to-prism">src/app/_services/user.service.ts:68</a></div>
|
class="link-to-prism">src/app/_services/user.service.ts:72</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -663,8 +673,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="194"
|
<div class="io-line">Defined in <a href="" data-line="218"
|
||||||
class="link-to-prism">src/app/_services/user.service.ts:194</a></div>
|
class="link-to-prism">src/app/_services/user.service.ts:218</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -753,8 +763,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="220"
|
<div class="io-line">Defined in <a href="" data-line="244"
|
||||||
class="link-to-prism">src/app/_services/user.service.ts:220</a></div>
|
class="link-to-prism">src/app/_services/user.service.ts:244</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -841,8 +851,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="163"
|
<div class="io-line">Defined in <a href="" data-line="187"
|
||||||
class="link-to-prism">src/app/_services/user.service.ts:163</a></div>
|
class="link-to-prism">src/app/_services/user.service.ts:187</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -911,8 +921,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="59"
|
<div class="io-line">Defined in <a href="" data-line="63"
|
||||||
class="link-to-prism">src/app/_services/user.service.ts:59</a></div>
|
class="link-to-prism">src/app/_services/user.service.ts:63</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -981,8 +991,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="255"
|
<div class="io-line">Defined in <a href="" data-line="290"
|
||||||
class="link-to-prism">src/app/_services/user.service.ts:255</a></div>
|
class="link-to-prism">src/app/_services/user.service.ts:290</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -1020,8 +1030,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="151"
|
<div class="io-line">Defined in <a href="" data-line="175"
|
||||||
class="link-to-prism">src/app/_services/user.service.ts:151</a></div>
|
class="link-to-prism">src/app/_services/user.service.ts:175</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -1090,8 +1100,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="144"
|
<div class="io-line">Defined in <a href="" data-line="168"
|
||||||
class="link-to-prism">src/app/_services/user.service.ts:144</a></div>
|
class="link-to-prism">src/app/_services/user.service.ts:168</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -1129,8 +1139,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="247"
|
<div class="io-line">Defined in <a href="" data-line="271"
|
||||||
class="link-to-prism">src/app/_services/user.service.ts:247</a></div>
|
class="link-to-prism">src/app/_services/user.service.ts:271</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -1139,7 +1149,7 @@
|
|||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
|
|
||||||
<div class="io-description">
|
<div class="io-description">
|
||||||
<b>Returns : </b> <code>Observable<any></code>
|
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
@ -1161,15 +1171,15 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<code>getCategoryByProduct(product: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>)</code>
|
<code>getCategoryByProduct(product: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, categories: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object" target="_blank">object</a>)</code>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="251"
|
<div class="io-line">Defined in <a href="" data-line="278"
|
||||||
class="link-to-prism">src/app/_services/user.service.ts:251</a></div>
|
class="link-to-prism">src/app/_services/user.service.ts:278</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -1199,6 +1209,18 @@
|
|||||||
</td>
|
</td>
|
||||||
|
|
||||||
|
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>categories</td>
|
||||||
|
<td>
|
||||||
|
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object" target="_blank" >object</a></code>
|
||||||
|
</td>
|
||||||
|
|
||||||
|
<td>
|
||||||
|
No
|
||||||
|
</td>
|
||||||
|
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@ -1206,7 +1228,7 @@
|
|||||||
<div>
|
<div>
|
||||||
</div>
|
</div>
|
||||||
<div class="io-description">
|
<div class="io-description">
|
||||||
<b>Returns : </b> <code>Observable<any></code>
|
<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>
|
||||||
<div class="io-description">
|
<div class="io-description">
|
||||||
@ -1238,8 +1260,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="263"
|
<div class="io-line">Defined in <a href="" data-line="298"
|
||||||
class="link-to-prism">src/app/_services/user.service.ts:263</a></div>
|
class="link-to-prism">src/app/_services/user.service.ts:298</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -1277,8 +1299,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="64"
|
<div class="io-line">Defined in <a href="" data-line="68"
|
||||||
class="link-to-prism">src/app/_services/user.service.ts:64</a></div>
|
class="link-to-prism">src/app/_services/user.service.ts:68</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -1359,8 +1381,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="259"
|
<div class="io-line">Defined in <a href="" data-line="294"
|
||||||
class="link-to-prism">src/app/_services/user.service.ts:259</a></div>
|
class="link-to-prism">src/app/_services/user.service.ts:294</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -1400,8 +1422,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="46"
|
<div class="io-line">Defined in <a href="" data-line="50"
|
||||||
class="link-to-prism">src/app/_services/user.service.ts:46</a></div>
|
class="link-to-prism">src/app/_services/user.service.ts:50</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -1441,8 +1463,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="181"
|
<div class="io-line">Defined in <a href="" data-line="205"
|
||||||
class="link-to-prism">src/app/_services/user.service.ts:181</a></div>
|
class="link-to-prism">src/app/_services/user.service.ts:205</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -1530,8 +1552,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="238"
|
<div class="io-line">Defined in <a href="" data-line="262"
|
||||||
class="link-to-prism">src/app/_services/user.service.ts:238</a></div>
|
class="link-to-prism">src/app/_services/user.service.ts:262</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -1569,8 +1591,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="54"
|
<div class="io-line">Defined in <a href="" data-line="58"
|
||||||
class="link-to-prism">src/app/_services/user.service.ts:54</a></div>
|
class="link-to-prism">src/app/_services/user.service.ts:58</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -1639,8 +1661,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="159"
|
<div class="io-line">Defined in <a href="" data-line="183"
|
||||||
class="link-to-prism">src/app/_services/user.service.ts:159</a></div>
|
class="link-to-prism">src/app/_services/user.service.ts:183</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -1709,8 +1731,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="243"
|
<div class="io-line">Defined in <a href="" data-line="267"
|
||||||
class="link-to-prism">src/app/_services/user.service.ts:243</a></div>
|
class="link-to-prism">src/app/_services/user.service.ts:267</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -1781,8 +1803,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="129"
|
<div class="io-line">Defined in <a href="" data-line="153"
|
||||||
class="link-to-prism">src/app/_services/user.service.ts:129</a></div>
|
class="link-to-prism">src/app/_services/user.service.ts:153</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -1875,8 +1897,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="col-md-4">
|
<td class="col-md-4">
|
||||||
<div class="io-line">Defined in <a href="" data-line="167"
|
<div class="io-line">Defined in <a href="" data-line="191"
|
||||||
class="link-to-prism">src/app/_services/user.service.ts:167</a></div>
|
class="link-to-prism">src/app/_services/user.service.ts:191</a></div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -2135,6 +2157,103 @@
|
|||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<table class="table table-sm table-bordered">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td class="col-md-4">
|
||||||
|
<a name="categories"></a>
|
||||||
|
<span class="name">
|
||||||
|
<b>
|
||||||
|
categories</b>
|
||||||
|
<a href="#categories"><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/object" target="_blank" >object</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="39" class="link-to-prism">src/app/_services/user.service.ts:39</a></div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<table class="table table-sm table-bordered">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td class="col-md-4">
|
||||||
|
<a name="categoriesList"></a>
|
||||||
|
<span class="name">
|
||||||
|
<b>
|
||||||
|
<span class="modifier">Private</span>
|
||||||
|
categoriesList</b>
|
||||||
|
<a href="#categoriesList"><span class="icon ion-ios-link"></span></a>
|
||||||
|
</span>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="col-md-4">
|
||||||
|
<i>Type : </i> <code>BehaviorSubject<object></code>
|
||||||
|
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="col-md-4">
|
||||||
|
<i>Default value : </i><code>new BehaviorSubject<object>(this.categories)</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/_services/user.service.ts:40</a></div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<table class="table table-sm table-bordered">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td class="col-md-4">
|
||||||
|
<a name="categoriesSubject"></a>
|
||||||
|
<span class="name">
|
||||||
|
<b>
|
||||||
|
categoriesSubject</b>
|
||||||
|
<a href="#categoriesSubject"><span class="icon ion-ios-link"></span></a>
|
||||||
|
</span>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="col-md-4">
|
||||||
|
<i>Type : </i> <code>Observable<object></code>
|
||||||
|
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="col-md-4">
|
||||||
|
<i>Default value : </i><code>this.categoriesList.asObservable()</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/_services/user.service.ts:41</a></div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<table class="table table-sm table-bordered">
|
<table class="table table-sm table-bordered">
|
||||||
@ -2294,6 +2413,10 @@ export class UserService {
|
|||||||
private actionsList: BehaviorSubject<any> = new BehaviorSubject<any>(this.actions);
|
private actionsList: BehaviorSubject<any> = new BehaviorSubject<any>(this.actions);
|
||||||
actionsSubject: Observable<Array<any>> = this.actionsList.asObservable();
|
actionsSubject: Observable<Array<any>> = this.actionsList.asObservable();
|
||||||
|
|
||||||
|
categories: object = {};
|
||||||
|
private categoriesList: BehaviorSubject<object> = new BehaviorSubject<object>(this.categories);
|
||||||
|
categoriesSubject: Observable<object> = this.categoriesList.asObservable();
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private httpClient: HttpClient,
|
private httpClient: HttpClient,
|
||||||
private loggingService: LoggingService,
|
private loggingService: LoggingService,
|
||||||
@ -2344,17 +2467,37 @@ export class UserService {
|
|||||||
},
|
},
|
||||||
location: {},
|
location: {},
|
||||||
};
|
};
|
||||||
accountInfo.vcard.fn[0].value = name;
|
if (name) {
|
||||||
accountInfo.vcard.n[0].value = name.split(' ');
|
accountInfo.vcard.fn[0].value = name;
|
||||||
accountInfo.vcard.tel[0].value = phoneNumber;
|
accountInfo.vcard.n[0].value = name.split(' ');
|
||||||
accountInfo.products = [bio];
|
}
|
||||||
accountInfo.gender = gender;
|
if (phoneNumber) {
|
||||||
accountInfo.age = age;
|
accountInfo.vcard.tel[0].value = phoneNumber;
|
||||||
accountInfo.type = type;
|
}
|
||||||
accountInfo.category = businessCategory;
|
if (bio) {
|
||||||
accountInfo.location.area = location;
|
accountInfo.products = [bio];
|
||||||
accountInfo.location.area_name = userLocation;
|
}
|
||||||
accountInfo.location.area_type = locationType;
|
if (gender) {
|
||||||
|
accountInfo.gender = gender;
|
||||||
|
}
|
||||||
|
if (age) {
|
||||||
|
accountInfo.age = age;
|
||||||
|
}
|
||||||
|
if (type) {
|
||||||
|
accountInfo.type = type;
|
||||||
|
}
|
||||||
|
if (businessCategory) {
|
||||||
|
accountInfo.category = businessCategory;
|
||||||
|
}
|
||||||
|
if (location) {
|
||||||
|
accountInfo.location.area = location;
|
||||||
|
}
|
||||||
|
if (userLocation) {
|
||||||
|
accountInfo.location.area_name = userLocation;
|
||||||
|
}
|
||||||
|
if (locationType) {
|
||||||
|
accountInfo.location.area_type = locationType;
|
||||||
|
}
|
||||||
await vcardValidation(accountInfo.vcard);
|
await vcardValidation(accountInfo.vcard);
|
||||||
accountInfo.vcard = btoa(vCard.generate(accountInfo.vcard));
|
accountInfo.vcard = btoa(vCard.generate(accountInfo.vcard));
|
||||||
const accountKey: string = await User.toKey(address);
|
const accountKey: string = await User.toKey(address);
|
||||||
@ -2502,12 +2645,23 @@ export class UserService {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
getCategories(): Observable<any> {
|
getCategories(): void {
|
||||||
return this.httpClient.get(`${environment.cicMetaUrl}/categories`);
|
this.httpClient
|
||||||
|
.get(`${environment.cicMetaUrl}/categories`)
|
||||||
|
.pipe(first())
|
||||||
|
.subscribe((res: object) => this.categoriesList.next(res));
|
||||||
}
|
}
|
||||||
|
|
||||||
getCategoryByProduct(product: string): Observable<any> {
|
getCategoryByProduct(product: string, categories: object): string {
|
||||||
return this.httpClient.get(`${environment.cicMetaUrl}/categories/${product.toLowerCase()}`);
|
const keywords = product.toLowerCase().split(' ');
|
||||||
|
for (const keyword of keywords) {
|
||||||
|
const queriedCategory: string = Object.keys(categories).find((key) =>
|
||||||
|
categories[key].includes(keyword)
|
||||||
|
);
|
||||||
|
if (queriedCategory) {
|
||||||
|
return queriedCategory;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getAccountTypes(): Observable<any> {
|
getAccountTypes(): Observable<any> {
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -635,7 +635,7 @@ const defaultAccount: AccountDetails = {
|
|||||||
meta: {
|
meta: {
|
||||||
TYP: [],
|
TYP: [],
|
||||||
},
|
},
|
||||||
value: '',
|
value: '+254700000000',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
version: [
|
version: [
|
||||||
|
@ -304,32 +304,8 @@
|
|||||||
user: string;
|
user: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Area name object interface */
|
|
||||||
interface AreaName {
|
|
||||||
/** Locations that map to that area name. */
|
|
||||||
locations: Array<string>;
|
|
||||||
/** Name of area */
|
|
||||||
name: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Area type object interface */
|
|
||||||
interface AreaType {
|
|
||||||
/** Areas that map to that area type. */
|
|
||||||
area: Array<string>;
|
|
||||||
/** Type of area */
|
|
||||||
name: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Category object interface */
|
|
||||||
interface Category {
|
|
||||||
/** Business category */
|
|
||||||
name: string;
|
|
||||||
/** Products that map to that category. */
|
|
||||||
products: Array<string>;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** @exports */
|
/** @exports */
|
||||||
export { Action, AreaName, AreaType, Category };
|
export { Action };
|
||||||
</code></pre>
|
</code></pre>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -345,7 +345,7 @@ const defaultAccount: AccountDetails = {
|
|||||||
meta: {
|
meta: {
|
||||||
TYP: [],
|
TYP: [],
|
||||||
},
|
},
|
||||||
value: '',
|
value: '+254700000000',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
version: [
|
version: [
|
||||||
|
@ -307,7 +307,7 @@ const defaultAccount: AccountDetails = {
|
|||||||
meta: {
|
meta: {
|
||||||
TYP: [],
|
TYP: [],
|
||||||
},
|
},
|
||||||
value: '',
|
value: '+254700000000',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
version: [
|
version: [
|
||||||
|
@ -383,7 +383,7 @@ const defaultAccount: AccountDetails = {
|
|||||||
meta: {
|
meta: {
|
||||||
TYP: [],
|
TYP: [],
|
||||||
},
|
},
|
||||||
value: '',
|
value: '+254700000000',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
version: [
|
version: [
|
||||||
|
@ -568,15 +568,6 @@ customElements.define('compodoc-menu', class extends HTMLElement {
|
|||||||
<li class="link">
|
<li class="link">
|
||||||
<a href="interfaces/Action.html" data-type="entity-link">Action</a>
|
<a href="interfaces/Action.html" data-type="entity-link">Action</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="link">
|
|
||||||
<a href="interfaces/AreaName.html" data-type="entity-link">AreaName</a>
|
|
||||||
</li>
|
|
||||||
<li class="link">
|
|
||||||
<a href="interfaces/AreaType.html" data-type="entity-link">AreaType</a>
|
|
||||||
</li>
|
|
||||||
<li class="link">
|
|
||||||
<a href="interfaces/Category.html" data-type="entity-link">Category</a>
|
|
||||||
</li>
|
|
||||||
<li class="link">
|
<li class="link">
|
||||||
<a href="interfaces/Conversion.html" data-type="entity-link">Conversion</a>
|
<a href="interfaces/Conversion.html" data-type="entity-link">Conversion</a>
|
||||||
</li>
|
</li>
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@ -927,7 +927,7 @@
|
|||||||
<div class="card text-center">
|
<div class="card text-center">
|
||||||
<div class="card-block">
|
<div class="card-block">
|
||||||
<h4 class="card-title"><span class="icon ion-md-information-circle-outline"></span></h4>
|
<h4 class="card-title"><span class="icon ion-md-information-circle-outline"></span></h4>
|
||||||
<p class="card-text">19 Interfaces</p>
|
<p class="card-text">16 Interfaces</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
File diff suppressed because one or more lines are too long
@ -139,7 +139,7 @@
|
|||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<p>Implementation of HttpInterceptor.intercept</p>
|
<p>Implementation of HttpInterceptor.intercept</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_helpers/mock-backend.ts:1097</li>
|
<li>Defined in src/app/_helpers/mock-backend.ts:936</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<div class="tsd-comment tsd-typography">
|
<div class="tsd-comment tsd-typography">
|
||||||
|
@ -86,6 +86,17 @@
|
|||||||
<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="app__services_location_service.locationservice.html#constructor" class="tsd-kind-icon">constructor</a></li>
|
<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="app__services_location_service.locationservice.html#constructor" class="tsd-kind-icon">constructor</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
|
<section class="tsd-index-section ">
|
||||||
|
<h3>Properties</h3>
|
||||||
|
<ul class="tsd-index-list">
|
||||||
|
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app__services_location_service.locationservice.html#areanames" class="tsd-kind-icon">area<wbr>Names</a></li>
|
||||||
|
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="app__services_location_service.locationservice.html#areanameslist" class="tsd-kind-icon">area<wbr>Names<wbr>List</a></li>
|
||||||
|
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app__services_location_service.locationservice.html#areanamessubject" class="tsd-kind-icon">area<wbr>Names<wbr>Subject</a></li>
|
||||||
|
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app__services_location_service.locationservice.html#areatypes" class="tsd-kind-icon">area<wbr>Types</a></li>
|
||||||
|
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="app__services_location_service.locationservice.html#areatypeslist" class="tsd-kind-icon">area<wbr>Types<wbr>List</a></li>
|
||||||
|
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app__services_location_service.locationservice.html#areatypessubject" class="tsd-kind-icon">area<wbr>Types<wbr>Subject</a></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
<section class="tsd-index-section ">
|
<section class="tsd-index-section ">
|
||||||
<h3>Methods</h3>
|
<h3>Methods</h3>
|
||||||
<ul class="tsd-index-list">
|
<ul class="tsd-index-list">
|
||||||
@ -110,7 +121,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/location.service.ts:10</li>
|
<li>Defined in src/app/_services/location.service.ts:17</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||||
@ -124,19 +135,82 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
|
<section class="tsd-panel-group tsd-member-group ">
|
||||||
|
<h2>Properties</h2>
|
||||||
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
||||||
|
<a name="areanames" class="tsd-anchor"></a>
|
||||||
|
<h3>area<wbr>Names</h3>
|
||||||
|
<div class="tsd-signature tsd-kind-icon">area<wbr>Names<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span><span class="tsd-signature-symbol"> = {}</span></div>
|
||||||
|
<aside class="tsd-sources">
|
||||||
|
<ul>
|
||||||
|
<li>Defined in src/app/_services/location.service.ts:11</li>
|
||||||
|
</ul>
|
||||||
|
</aside>
|
||||||
|
</section>
|
||||||
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private">
|
||||||
|
<a name="areanameslist" class="tsd-anchor"></a>
|
||||||
|
<h3><span class="tsd-flag ts-flagPrivate">Private</span> area<wbr>Names<wbr>List</h3>
|
||||||
|
<div class="tsd-signature tsd-kind-icon">area<wbr>Names<wbr>List<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">BehaviorSubject</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
||||||
|
<aside class="tsd-sources">
|
||||||
|
<ul>
|
||||||
|
<li>Defined in src/app/_services/location.service.ts:12</li>
|
||||||
|
</ul>
|
||||||
|
</aside>
|
||||||
|
</section>
|
||||||
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
||||||
|
<a name="areanamessubject" class="tsd-anchor"></a>
|
||||||
|
<h3>area<wbr>Names<wbr>Subject</h3>
|
||||||
|
<div class="tsd-signature tsd-kind-icon">area<wbr>Names<wbr>Subject<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
||||||
|
<aside class="tsd-sources">
|
||||||
|
<ul>
|
||||||
|
<li>Defined in src/app/_services/location.service.ts:13</li>
|
||||||
|
</ul>
|
||||||
|
</aside>
|
||||||
|
</section>
|
||||||
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
||||||
|
<a name="areatypes" class="tsd-anchor"></a>
|
||||||
|
<h3>area<wbr>Types</h3>
|
||||||
|
<div class="tsd-signature tsd-kind-icon">area<wbr>Types<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span><span class="tsd-signature-symbol"> = {}</span></div>
|
||||||
|
<aside class="tsd-sources">
|
||||||
|
<ul>
|
||||||
|
<li>Defined in src/app/_services/location.service.ts:15</li>
|
||||||
|
</ul>
|
||||||
|
</aside>
|
||||||
|
</section>
|
||||||
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private">
|
||||||
|
<a name="areatypeslist" class="tsd-anchor"></a>
|
||||||
|
<h3><span class="tsd-flag ts-flagPrivate">Private</span> area<wbr>Types<wbr>List</h3>
|
||||||
|
<div class="tsd-signature tsd-kind-icon">area<wbr>Types<wbr>List<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">BehaviorSubject</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
||||||
|
<aside class="tsd-sources">
|
||||||
|
<ul>
|
||||||
|
<li>Defined in src/app/_services/location.service.ts:16</li>
|
||||||
|
</ul>
|
||||||
|
</aside>
|
||||||
|
</section>
|
||||||
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
||||||
|
<a name="areatypessubject" class="tsd-anchor"></a>
|
||||||
|
<h3>area<wbr>Types<wbr>Subject</h3>
|
||||||
|
<div class="tsd-signature tsd-kind-icon">area<wbr>Types<wbr>Subject<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
||||||
|
<aside class="tsd-sources">
|
||||||
|
<ul>
|
||||||
|
<li>Defined in src/app/_services/location.service.ts:17</li>
|
||||||
|
</ul>
|
||||||
|
</aside>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
<section class="tsd-panel-group tsd-member-group ">
|
<section class="tsd-panel-group tsd-member-group ">
|
||||||
<h2>Methods</h2>
|
<h2>Methods</h2>
|
||||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
||||||
<a name="getareanamebylocation" class="tsd-anchor"></a>
|
<a name="getareanamebylocation" class="tsd-anchor"></a>
|
||||||
<h3>get<wbr>Area<wbr>Name<wbr>ByLocation</h3>
|
<h3>get<wbr>Area<wbr>Name<wbr>ByLocation</h3>
|
||||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||||
<li class="tsd-signature tsd-kind-icon">get<wbr>Area<wbr>Name<wbr>ByLocation<span class="tsd-signature-symbol">(</span>location<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></li>
|
<li class="tsd-signature tsd-kind-icon">get<wbr>Area<wbr>Name<wbr>ByLocation<span class="tsd-signature-symbol">(</span>location<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, areaNames<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
|
||||||
</ul>
|
</ul>
|
||||||
<ul class="tsd-descriptions">
|
<ul class="tsd-descriptions">
|
||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/location.service.ts:17</li>
|
<li>Defined in src/app/_services/location.service.ts:28</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||||
@ -144,8 +218,11 @@
|
|||||||
<li>
|
<li>
|
||||||
<h5>location: <span class="tsd-signature-type">string</span></h5>
|
<h5>location: <span class="tsd-signature-type">string</span></h5>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<h5>areaNames: <span class="tsd-signature-type">object</span></h5>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h4>
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
@ -153,47 +230,7 @@
|
|||||||
<a name="getareanames" class="tsd-anchor"></a>
|
<a name="getareanames" class="tsd-anchor"></a>
|
||||||
<h3>get<wbr>Area<wbr>Names</h3>
|
<h3>get<wbr>Area<wbr>Names</h3>
|
||||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||||
<li class="tsd-signature tsd-kind-icon">get<wbr>Area<wbr>Names<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></li>
|
<li class="tsd-signature tsd-kind-icon">get<wbr>Area<wbr>Names<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
||||||
</ul>
|
|
||||||
<ul class="tsd-descriptions">
|
|
||||||
<li class="tsd-description">
|
|
||||||
<aside class="tsd-sources">
|
|
||||||
<ul>
|
|
||||||
<li>Defined in src/app/_services/location.service.ts:13</li>
|
|
||||||
</ul>
|
|
||||||
</aside>
|
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h4>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</section>
|
|
||||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
||||||
<a name="getareatypebyarea" class="tsd-anchor"></a>
|
|
||||||
<h3>get<wbr>Area<wbr>Type<wbr>ByArea</h3>
|
|
||||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
||||||
<li class="tsd-signature tsd-kind-icon">get<wbr>Area<wbr>Type<wbr>ByArea<span class="tsd-signature-symbol">(</span>area<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></li>
|
|
||||||
</ul>
|
|
||||||
<ul class="tsd-descriptions">
|
|
||||||
<li class="tsd-description">
|
|
||||||
<aside class="tsd-sources">
|
|
||||||
<ul>
|
|
||||||
<li>Defined in src/app/_services/location.service.ts:25</li>
|
|
||||||
</ul>
|
|
||||||
</aside>
|
|
||||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
||||||
<ul class="tsd-parameters">
|
|
||||||
<li>
|
|
||||||
<h5>area: <span class="tsd-signature-type">string</span></h5>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h4>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</section>
|
|
||||||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
||||||
<a name="getareatypes" class="tsd-anchor"></a>
|
|
||||||
<h3>get<wbr>Area<wbr>Types</h3>
|
|
||||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
||||||
<li class="tsd-signature tsd-kind-icon">get<wbr>Area<wbr>Types<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
<ul class="tsd-descriptions">
|
<ul class="tsd-descriptions">
|
||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
@ -202,7 +239,50 @@
|
|||||||
<li>Defined in src/app/_services/location.service.ts:21</li>
|
<li>Defined in src/app/_services/location.service.ts:21</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h4>
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
||||||
|
<a name="getareatypebyarea" class="tsd-anchor"></a>
|
||||||
|
<h3>get<wbr>Area<wbr>Type<wbr>ByArea</h3>
|
||||||
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||||
|
<li class="tsd-signature tsd-kind-icon">get<wbr>Area<wbr>Type<wbr>ByArea<span class="tsd-signature-symbol">(</span>area<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, areaTypes<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
|
||||||
|
</ul>
|
||||||
|
<ul class="tsd-descriptions">
|
||||||
|
<li class="tsd-description">
|
||||||
|
<aside class="tsd-sources">
|
||||||
|
<ul>
|
||||||
|
<li>Defined in src/app/_services/location.service.ts:47</li>
|
||||||
|
</ul>
|
||||||
|
</aside>
|
||||||
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||||
|
<ul class="tsd-parameters">
|
||||||
|
<li>
|
||||||
|
<h5>area: <span class="tsd-signature-type">string</span></h5>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<h5>areaTypes: <span class="tsd-signature-type">object</span></h5>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
||||||
|
<a name="getareatypes" class="tsd-anchor"></a>
|
||||||
|
<h3>get<wbr>Area<wbr>Types</h3>
|
||||||
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||||
|
<li class="tsd-signature tsd-kind-icon">get<wbr>Area<wbr>Types<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
||||||
|
</ul>
|
||||||
|
<ul class="tsd-descriptions">
|
||||||
|
<li class="tsd-description">
|
||||||
|
<aside class="tsd-sources">
|
||||||
|
<ul>
|
||||||
|
<li>Defined in src/app/_services/location.service.ts:40</li>
|
||||||
|
</ul>
|
||||||
|
</aside>
|
||||||
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
@ -229,6 +309,24 @@
|
|||||||
<li class=" tsd-kind-constructor tsd-parent-kind-class">
|
<li class=" tsd-kind-constructor tsd-parent-kind-class">
|
||||||
<a href="app__services_location_service.locationservice.html#constructor" class="tsd-kind-icon">constructor</a>
|
<a href="app__services_location_service.locationservice.html#constructor" class="tsd-kind-icon">constructor</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li class=" tsd-kind-property tsd-parent-kind-class">
|
||||||
|
<a href="app__services_location_service.locationservice.html#areanames" class="tsd-kind-icon">area<wbr>Names</a>
|
||||||
|
</li>
|
||||||
|
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private">
|
||||||
|
<a href="app__services_location_service.locationservice.html#areanameslist" class="tsd-kind-icon">area<wbr>Names<wbr>List</a>
|
||||||
|
</li>
|
||||||
|
<li class=" tsd-kind-property tsd-parent-kind-class">
|
||||||
|
<a href="app__services_location_service.locationservice.html#areanamessubject" class="tsd-kind-icon">area<wbr>Names<wbr>Subject</a>
|
||||||
|
</li>
|
||||||
|
<li class=" tsd-kind-property tsd-parent-kind-class">
|
||||||
|
<a href="app__services_location_service.locationservice.html#areatypes" class="tsd-kind-icon">area<wbr>Types</a>
|
||||||
|
</li>
|
||||||
|
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private">
|
||||||
|
<a href="app__services_location_service.locationservice.html#areatypeslist" class="tsd-kind-icon">area<wbr>Types<wbr>List</a>
|
||||||
|
</li>
|
||||||
|
<li class=" tsd-kind-property tsd-parent-kind-class">
|
||||||
|
<a href="app__services_location_service.locationservice.html#areatypessubject" class="tsd-kind-icon">area<wbr>Types<wbr>Subject</a>
|
||||||
|
</li>
|
||||||
<li class=" tsd-kind-method tsd-parent-kind-class">
|
<li class=" tsd-kind-method tsd-parent-kind-class">
|
||||||
<a href="app__services_location_service.locationservice.html#getareanamebylocation" class="tsd-kind-icon">get<wbr>Area<wbr>Name<wbr>ByLocation</a>
|
<a href="app__services_location_service.locationservice.html#getareanamebylocation" class="tsd-kind-icon">get<wbr>Area<wbr>Name<wbr>ByLocation</a>
|
||||||
</li>
|
</li>
|
||||||
@ -257,6 +355,7 @@
|
|||||||
<ul class="tsd-legend">
|
<ul class="tsd-legend">
|
||||||
<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
|
<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
|
||||||
<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
|
<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
|
||||||
|
<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
|
||||||
<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
|
<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
|
||||||
</ul>
|
</ul>
|
||||||
<ul class="tsd-legend">
|
<ul class="tsd-legend">
|
||||||
@ -266,6 +365,9 @@
|
|||||||
<ul class="tsd-legend">
|
<ul class="tsd-legend">
|
||||||
<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
|
<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<ul class="tsd-legend">
|
||||||
|
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
@ -119,21 +119,15 @@
|
|||||||
<a name="constructor" class="tsd-anchor"></a>
|
<a name="constructor" class="tsd-anchor"></a>
|
||||||
<h3>constructor</h3>
|
<h3>constructor</h3>
|
||||||
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
|
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
|
||||||
<li class="tsd-signature tsd-kind-icon">new <wbr>Token<wbr>Service<span class="tsd-signature-symbol">(</span>httpClient<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HttpClient</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="app__services_token_service.tokenservice.html" class="tsd-signature-type" data-tsd-kind="Class">TokenService</a></li>
|
<li class="tsd-signature tsd-kind-icon">new <wbr>Token<wbr>Service<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="app__services_token_service.tokenservice.html" class="tsd-signature-type" data-tsd-kind="Class">TokenService</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<ul class="tsd-descriptions">
|
<ul class="tsd-descriptions">
|
||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/token.service.ts:20</li>
|
<li>Defined in src/app/_services/token.service.ts:19</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
||||||
<ul class="tsd-parameters">
|
|
||||||
<li>
|
|
||||||
<h5>httpClient: <span class="tsd-signature-type">HttpClient</span></h5>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<h4 class="tsd-returns-title">Returns <a href="app__services_token_service.tokenservice.html" class="tsd-signature-type" data-tsd-kind="Class">TokenService</a></h4>
|
<h4 class="tsd-returns-title">Returns <a href="app__services_token_service.tokenservice.html" class="tsd-signature-type" data-tsd-kind="Class">TokenService</a></h4>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -147,7 +141,7 @@
|
|||||||
<div class="tsd-signature tsd-kind-icon">load<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">BehaviorSubject</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
<div class="tsd-signature tsd-kind-icon">load<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">BehaviorSubject</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/token.service.ts:20</li>
|
<li>Defined in src/app/_services/token.service.ts:19</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
</section>
|
</section>
|
||||||
@ -157,7 +151,7 @@
|
|||||||
<div class="tsd-signature tsd-kind-icon">registry<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">CICRegistry</span></div>
|
<div class="tsd-signature tsd-kind-icon">registry<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">CICRegistry</span></div>
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/token.service.ts:13</li>
|
<li>Defined in src/app/_services/token.service.ts:12</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
</section>
|
</section>
|
||||||
@ -167,7 +161,7 @@
|
|||||||
<div class="tsd-signature tsd-kind-icon">token<wbr>Registry<span class="tsd-signature-symbol">:</span> <a href="app__eth_token_registry.tokenregistry.html" class="tsd-signature-type" data-tsd-kind="Class">TokenRegistry</a></div>
|
<div class="tsd-signature tsd-kind-icon">token<wbr>Registry<span class="tsd-signature-symbol">:</span> <a href="app__eth_token_registry.tokenregistry.html" class="tsd-signature-type" data-tsd-kind="Class">TokenRegistry</a></div>
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/token.service.ts:14</li>
|
<li>Defined in src/app/_services/token.service.ts:13</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
</section>
|
</section>
|
||||||
@ -177,7 +171,7 @@
|
|||||||
<div class="tsd-signature tsd-kind-icon">tokens<span class="tsd-signature-symbol">:</span> <a href="../interfaces/app__models_token.token.html" class="tsd-signature-type" data-tsd-kind="Interface">Token</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div>
|
<div class="tsd-signature tsd-kind-icon">tokens<span class="tsd-signature-symbol">:</span> <a href="../interfaces/app__models_token.token.html" class="tsd-signature-type" data-tsd-kind="Interface">Token</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div>
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/token.service.ts:15</li>
|
<li>Defined in src/app/_services/token.service.ts:14</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
</section>
|
</section>
|
||||||
@ -187,7 +181,7 @@
|
|||||||
<div class="tsd-signature tsd-kind-icon">tokens<wbr>List<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">BehaviorSubject</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/app__models_token.token.html" class="tsd-signature-type" data-tsd-kind="Interface">Token</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
<div class="tsd-signature tsd-kind-icon">tokens<wbr>List<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">BehaviorSubject</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/app__models_token.token.html" class="tsd-signature-type" data-tsd-kind="Interface">Token</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/token.service.ts:16</li>
|
<li>Defined in src/app/_services/token.service.ts:15</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
</section>
|
</section>
|
||||||
@ -197,7 +191,7 @@
|
|||||||
<div class="tsd-signature tsd-kind-icon">tokens<wbr>Subject<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/app__models_token.token.html" class="tsd-signature-type" data-tsd-kind="Interface">Token</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
<div class="tsd-signature tsd-kind-icon">tokens<wbr>Subject<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/app__models_token.token.html" class="tsd-signature-type" data-tsd-kind="Interface">Token</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/token.service.ts:19</li>
|
<li>Defined in src/app/_services/token.service.ts:18</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
</section>
|
</section>
|
||||||
@ -214,7 +208,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/token.service.ts:32</li>
|
<li>Defined in src/app/_services/token.service.ts:31</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||||
@ -237,7 +231,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/token.service.ts:73</li>
|
<li>Defined in src/app/_services/token.service.ts:72</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||||
@ -260,7 +254,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/token.service.ts:52</li>
|
<li>Defined in src/app/_services/token.service.ts:51</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||||
@ -283,7 +277,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/token.service.ts:63</li>
|
<li>Defined in src/app/_services/token.service.ts:62</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||||
@ -306,7 +300,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/token.service.ts:78</li>
|
<li>Defined in src/app/_services/token.service.ts:77</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4>
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4>
|
||||||
@ -323,7 +317,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/token.service.ts:83</li>
|
<li>Defined in src/app/_services/token.service.ts:82</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4>
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4>
|
||||||
@ -340,7 +334,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/token.service.ts:44</li>
|
<li>Defined in src/app/_services/token.service.ts:43</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4>
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4>
|
||||||
@ -357,7 +351,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/token.service.ts:24</li>
|
<li>Defined in src/app/_services/token.service.ts:23</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4>
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4>
|
||||||
|
@ -224,7 +224,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/transaction.service.ts:119</li>
|
<li>Defined in src/app/_services/transaction.service.ts:143</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||||
@ -250,7 +250,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/transaction.service.ts:139</li>
|
<li>Defined in src/app/_services/transaction.service.ts:163</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||||
@ -348,7 +348,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/transaction.service.ts:134</li>
|
<li>Defined in src/app/_services/transaction.service.ts:158</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||||||
@ -365,7 +365,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/transaction.service.ts:94</li>
|
<li>Defined in src/app/_services/transaction.service.ts:110</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||||
@ -417,7 +417,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/transaction.service.ts:146</li>
|
<li>Defined in src/app/_services/transaction.service.ts:170</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||||
|
@ -95,6 +95,9 @@
|
|||||||
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app__services_user_service.userservice.html#actions" class="tsd-kind-icon">actions</a></li>
|
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app__services_user_service.userservice.html#actions" class="tsd-kind-icon">actions</a></li>
|
||||||
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="app__services_user_service.userservice.html#actionslist" class="tsd-kind-icon">actions<wbr>List</a></li>
|
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="app__services_user_service.userservice.html#actionslist" class="tsd-kind-icon">actions<wbr>List</a></li>
|
||||||
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app__services_user_service.userservice.html#actionssubject" class="tsd-kind-icon">actions<wbr>Subject</a></li>
|
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app__services_user_service.userservice.html#actionssubject" class="tsd-kind-icon">actions<wbr>Subject</a></li>
|
||||||
|
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app__services_user_service.userservice.html#categories" class="tsd-kind-icon">categories</a></li>
|
||||||
|
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="app__services_user_service.userservice.html#categorieslist" class="tsd-kind-icon">categories<wbr>List</a></li>
|
||||||
|
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app__services_user_service.userservice.html#categoriessubject" class="tsd-kind-icon">categories<wbr>Subject</a></li>
|
||||||
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app__services_user_service.userservice.html#headers" class="tsd-kind-icon">headers</a></li>
|
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app__services_user_service.userservice.html#headers" class="tsd-kind-icon">headers</a></li>
|
||||||
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app__services_user_service.userservice.html#keystore" class="tsd-kind-icon">keystore</a></li>
|
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app__services_user_service.userservice.html#keystore" class="tsd-kind-icon">keystore</a></li>
|
||||||
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app__services_user_service.userservice.html#registry" class="tsd-kind-icon">registry</a></li>
|
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app__services_user_service.userservice.html#registry" class="tsd-kind-icon">registry</a></li>
|
||||||
@ -144,7 +147,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/user.service.ts:37</li>
|
<li>Defined in src/app/_services/user.service.ts:41</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||||
@ -229,6 +232,36 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
</section>
|
</section>
|
||||||
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
||||||
|
<a name="categories" class="tsd-anchor"></a>
|
||||||
|
<h3>categories</h3>
|
||||||
|
<div class="tsd-signature tsd-kind-icon">categories<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span><span class="tsd-signature-symbol"> = {}</span></div>
|
||||||
|
<aside class="tsd-sources">
|
||||||
|
<ul>
|
||||||
|
<li>Defined in src/app/_services/user.service.ts:39</li>
|
||||||
|
</ul>
|
||||||
|
</aside>
|
||||||
|
</section>
|
||||||
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private">
|
||||||
|
<a name="categorieslist" class="tsd-anchor"></a>
|
||||||
|
<h3><span class="tsd-flag ts-flagPrivate">Private</span> categories<wbr>List</h3>
|
||||||
|
<div class="tsd-signature tsd-kind-icon">categories<wbr>List<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">BehaviorSubject</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
||||||
|
<aside class="tsd-sources">
|
||||||
|
<ul>
|
||||||
|
<li>Defined in src/app/_services/user.service.ts:40</li>
|
||||||
|
</ul>
|
||||||
|
</aside>
|
||||||
|
</section>
|
||||||
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
||||||
|
<a name="categoriessubject" class="tsd-anchor"></a>
|
||||||
|
<h3>categories<wbr>Subject</h3>
|
||||||
|
<div class="tsd-signature tsd-kind-icon">categories<wbr>Subject<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
||||||
|
<aside class="tsd-sources">
|
||||||
|
<ul>
|
||||||
|
<li>Defined in src/app/_services/user.service.ts:41</li>
|
||||||
|
</ul>
|
||||||
|
</aside>
|
||||||
|
</section>
|
||||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
||||||
<a name="headers" class="tsd-anchor"></a>
|
<a name="headers" class="tsd-anchor"></a>
|
||||||
<h3>headers</h3>
|
<h3>headers</h3>
|
||||||
@ -282,7 +315,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/user.service.ts:267</li>
|
<li>Defined in src/app/_services/user.service.ts:302</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||||
@ -308,7 +341,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/user.service.ts:155</li>
|
<li>Defined in src/app/_services/user.service.ts:179</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||||
@ -331,7 +364,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/user.service.ts:68</li>
|
<li>Defined in src/app/_services/user.service.ts:72</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||||
@ -384,7 +417,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/user.service.ts:194</li>
|
<li>Defined in src/app/_services/user.service.ts:218</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||||
@ -410,7 +443,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/user.service.ts:220</li>
|
<li>Defined in src/app/_services/user.service.ts:244</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||||
@ -436,7 +469,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/user.service.ts:163</li>
|
<li>Defined in src/app/_services/user.service.ts:187</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||||
@ -459,7 +492,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/user.service.ts:59</li>
|
<li>Defined in src/app/_services/user.service.ts:63</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||||
@ -482,7 +515,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/user.service.ts:255</li>
|
<li>Defined in src/app/_services/user.service.ts:290</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h4>
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h4>
|
||||||
@ -499,7 +532,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/user.service.ts:151</li>
|
<li>Defined in src/app/_services/user.service.ts:175</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||||
@ -522,7 +555,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/user.service.ts:144</li>
|
<li>Defined in src/app/_services/user.service.ts:168</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||||||
@ -533,16 +566,16 @@
|
|||||||
<a name="getcategories" class="tsd-anchor"></a>
|
<a name="getcategories" class="tsd-anchor"></a>
|
||||||
<h3>get<wbr>Categories</h3>
|
<h3>get<wbr>Categories</h3>
|
||||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||||
<li class="tsd-signature tsd-kind-icon">get<wbr>Categories<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></li>
|
<li class="tsd-signature tsd-kind-icon">get<wbr>Categories<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
||||||
</ul>
|
</ul>
|
||||||
<ul class="tsd-descriptions">
|
<ul class="tsd-descriptions">
|
||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/user.service.ts:247</li>
|
<li>Defined in src/app/_services/user.service.ts:271</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h4>
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
@ -550,13 +583,13 @@
|
|||||||
<a name="getcategorybyproduct" class="tsd-anchor"></a>
|
<a name="getcategorybyproduct" class="tsd-anchor"></a>
|
||||||
<h3>get<wbr>Category<wbr>ByProduct</h3>
|
<h3>get<wbr>Category<wbr>ByProduct</h3>
|
||||||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||||||
<li class="tsd-signature tsd-kind-icon">get<wbr>Category<wbr>ByProduct<span class="tsd-signature-symbol">(</span>product<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></li>
|
<li class="tsd-signature tsd-kind-icon">get<wbr>Category<wbr>ByProduct<span class="tsd-signature-symbol">(</span>product<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, categories<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
|
||||||
</ul>
|
</ul>
|
||||||
<ul class="tsd-descriptions">
|
<ul class="tsd-descriptions">
|
||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/user.service.ts:251</li>
|
<li>Defined in src/app/_services/user.service.ts:278</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||||
@ -564,8 +597,11 @@
|
|||||||
<li>
|
<li>
|
||||||
<h5>product: <span class="tsd-signature-type">string</span></h5>
|
<h5>product: <span class="tsd-signature-type">string</span></h5>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<h5>categories: <span class="tsd-signature-type">object</span></h5>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h4>
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
@ -579,7 +615,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/user.service.ts:263</li>
|
<li>Defined in src/app/_services/user.service.ts:298</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h4>
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h4>
|
||||||
@ -596,7 +632,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/user.service.ts:64</li>
|
<li>Defined in src/app/_services/user.service.ts:68</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||||
@ -622,7 +658,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/user.service.ts:259</li>
|
<li>Defined in src/app/_services/user.service.ts:294</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h4>
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h4>
|
||||||
@ -639,7 +675,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/user.service.ts:46</li>
|
<li>Defined in src/app/_services/user.service.ts:50</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4>
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4>
|
||||||
@ -656,7 +692,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/user.service.ts:181</li>
|
<li>Defined in src/app/_services/user.service.ts:205</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||||
@ -682,7 +718,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/user.service.ts:238</li>
|
<li>Defined in src/app/_services/user.service.ts:262</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||||||
@ -699,7 +735,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/user.service.ts:54</li>
|
<li>Defined in src/app/_services/user.service.ts:58</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||||
@ -722,7 +758,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/user.service.ts:159</li>
|
<li>Defined in src/app/_services/user.service.ts:183</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||||
@ -745,7 +781,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/user.service.ts:243</li>
|
<li>Defined in src/app/_services/user.service.ts:267</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||||
@ -768,7 +804,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/user.service.ts:129</li>
|
<li>Defined in src/app/_services/user.service.ts:153</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||||
@ -797,7 +833,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_services/user.service.ts:167</li>
|
<li>Defined in src/app/_services/user.service.ts:191</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||||
@ -854,6 +890,15 @@
|
|||||||
<li class=" tsd-kind-property tsd-parent-kind-class">
|
<li class=" tsd-kind-property tsd-parent-kind-class">
|
||||||
<a href="app__services_user_service.userservice.html#actionssubject" class="tsd-kind-icon">actions<wbr>Subject</a>
|
<a href="app__services_user_service.userservice.html#actionssubject" class="tsd-kind-icon">actions<wbr>Subject</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li class=" tsd-kind-property tsd-parent-kind-class">
|
||||||
|
<a href="app__services_user_service.userservice.html#categories" class="tsd-kind-icon">categories</a>
|
||||||
|
</li>
|
||||||
|
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private">
|
||||||
|
<a href="app__services_user_service.userservice.html#categorieslist" class="tsd-kind-icon">categories<wbr>List</a>
|
||||||
|
</li>
|
||||||
|
<li class=" tsd-kind-property tsd-parent-kind-class">
|
||||||
|
<a href="app__services_user_service.userservice.html#categoriessubject" class="tsd-kind-icon">categories<wbr>Subject</a>
|
||||||
|
</li>
|
||||||
<li class=" tsd-kind-property tsd-parent-kind-class">
|
<li class=" tsd-kind-property tsd-parent-kind-class">
|
||||||
<a href="app__services_user_service.userservice.html#headers" class="tsd-kind-icon">headers</a>
|
<a href="app__services_user_service.userservice.html#headers" class="tsd-kind-icon">headers</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -102,10 +102,13 @@
|
|||||||
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app_pages_accounts_account_details_account_details_component.accountdetailscomponent.html#accounttypes" class="tsd-kind-icon">account<wbr>Types</a></li>
|
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app_pages_accounts_account_details_account_details_component.accountdetailscomponent.html#accounttypes" class="tsd-kind-icon">account<wbr>Types</a></li>
|
||||||
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app_pages_accounts_account_details_account_details_component.accountdetailscomponent.html#accounts" class="tsd-kind-icon">accounts</a></li>
|
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app_pages_accounts_account_details_account_details_component.accountdetailscomponent.html#accounts" class="tsd-kind-icon">accounts</a></li>
|
||||||
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app_pages_accounts_account_details_account_details_component.accountdetailscomponent.html#accountstype" class="tsd-kind-icon">accounts<wbr>Type</a></li>
|
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app_pages_accounts_account_details_account_details_component.accountdetailscomponent.html#accountstype" class="tsd-kind-icon">accounts<wbr>Type</a></li>
|
||||||
|
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app_pages_accounts_account_details_account_details_component.accountdetailscomponent.html#area" class="tsd-kind-icon">area</a></li>
|
||||||
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app_pages_accounts_account_details_account_details_component.accountdetailscomponent.html#areanames" class="tsd-kind-icon">area<wbr>Names</a></li>
|
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app_pages_accounts_account_details_account_details_component.accountdetailscomponent.html#areanames" class="tsd-kind-icon">area<wbr>Names</a></li>
|
||||||
|
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app_pages_accounts_account_details_account_details_component.accountdetailscomponent.html#areatype" class="tsd-kind-icon">area<wbr>Type</a></li>
|
||||||
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app_pages_accounts_account_details_account_details_component.accountdetailscomponent.html#areatypes" class="tsd-kind-icon">area<wbr>Types</a></li>
|
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app_pages_accounts_account_details_account_details_component.accountdetailscomponent.html#areatypes" class="tsd-kind-icon">area<wbr>Types</a></li>
|
||||||
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app_pages_accounts_account_details_account_details_component.accountdetailscomponent.html#bloxberglink" class="tsd-kind-icon">bloxberg<wbr>Link</a></li>
|
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app_pages_accounts_account_details_account_details_component.accountdetailscomponent.html#bloxberglink" class="tsd-kind-icon">bloxberg<wbr>Link</a></li>
|
||||||
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app_pages_accounts_account_details_account_details_component.accountdetailscomponent.html#categories" class="tsd-kind-icon">categories</a></li>
|
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app_pages_accounts_account_details_account_details_component.accountdetailscomponent.html#categories" class="tsd-kind-icon">categories</a></li>
|
||||||
|
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app_pages_accounts_account_details_account_details_component.accountdetailscomponent.html#category" class="tsd-kind-icon">category</a></li>
|
||||||
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app_pages_accounts_account_details_account_details_component.accountdetailscomponent.html#genders" class="tsd-kind-icon">genders</a></li>
|
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app_pages_accounts_account_details_account_details_component.accountdetailscomponent.html#genders" class="tsd-kind-icon">genders</a></li>
|
||||||
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app_pages_accounts_account_details_account_details_component.accountdetailscomponent.html#matcher" class="tsd-kind-icon">matcher</a></li>
|
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app_pages_accounts_account_details_account_details_component.accountdetailscomponent.html#matcher" class="tsd-kind-icon">matcher</a></li>
|
||||||
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app_pages_accounts_account_details_account_details_component.accountdetailscomponent.html#submitted" class="tsd-kind-icon">submitted</a></li>
|
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app_pages_accounts_account_details_account_details_component.accountdetailscomponent.html#submitted" class="tsd-kind-icon">submitted</a></li>
|
||||||
@ -165,7 +168,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/account-details/account-details.component.ts:67</li>
|
<li>Defined in src/app/pages/accounts/account-details/account-details.component.ts:70</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||||
@ -281,20 +284,40 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
</section>
|
</section>
|
||||||
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
||||||
|
<a name="area" class="tsd-anchor"></a>
|
||||||
|
<h3>area</h3>
|
||||||
|
<div class="tsd-signature tsd-kind-icon">area<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
||||||
|
<aside class="tsd-sources">
|
||||||
|
<ul>
|
||||||
|
<li>Defined in src/app/pages/accounts/account-details/account-details.component.ts:69</li>
|
||||||
|
</ul>
|
||||||
|
</aside>
|
||||||
|
</section>
|
||||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
||||||
<a name="areanames" class="tsd-anchor"></a>
|
<a name="areanames" class="tsd-anchor"></a>
|
||||||
<h3>area<wbr>Names</h3>
|
<h3>area<wbr>Names</h3>
|
||||||
<div class="tsd-signature tsd-kind-icon">area<wbr>Names<span class="tsd-signature-symbol">:</span> <a href="../interfaces/app__models_mappings.areaname.html" class="tsd-signature-type" data-tsd-kind="Interface">AreaName</a><span class="tsd-signature-symbol">[]</span></div>
|
<div class="tsd-signature tsd-kind-icon">area<wbr>Names<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/account-details/account-details.component.ts:56</li>
|
<li>Defined in src/app/pages/accounts/account-details/account-details.component.ts:56</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
</section>
|
</section>
|
||||||
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
||||||
|
<a name="areatype" class="tsd-anchor"></a>
|
||||||
|
<h3>area<wbr>Type</h3>
|
||||||
|
<div class="tsd-signature tsd-kind-icon">area<wbr>Type<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
||||||
|
<aside class="tsd-sources">
|
||||||
|
<ul>
|
||||||
|
<li>Defined in src/app/pages/accounts/account-details/account-details.component.ts:70</li>
|
||||||
|
</ul>
|
||||||
|
</aside>
|
||||||
|
</section>
|
||||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
||||||
<a name="areatypes" class="tsd-anchor"></a>
|
<a name="areatypes" class="tsd-anchor"></a>
|
||||||
<h3>area<wbr>Types</h3>
|
<h3>area<wbr>Types</h3>
|
||||||
<div class="tsd-signature tsd-kind-icon">area<wbr>Types<span class="tsd-signature-symbol">:</span> <a href="../interfaces/app__models_mappings.areatype.html" class="tsd-signature-type" data-tsd-kind="Interface">AreaType</a><span class="tsd-signature-symbol">[]</span></div>
|
<div class="tsd-signature tsd-kind-icon">area<wbr>Types<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/account-details/account-details.component.ts:57</li>
|
<li>Defined in src/app/pages/accounts/account-details/account-details.component.ts:57</li>
|
||||||
@ -314,13 +337,23 @@
|
|||||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
||||||
<a name="categories" class="tsd-anchor"></a>
|
<a name="categories" class="tsd-anchor"></a>
|
||||||
<h3>categories</h3>
|
<h3>categories</h3>
|
||||||
<div class="tsd-signature tsd-kind-icon">categories<span class="tsd-signature-symbol">:</span> <a href="../interfaces/app__models_mappings.category.html" class="tsd-signature-type" data-tsd-kind="Interface">Category</a><span class="tsd-signature-symbol">[]</span></div>
|
<div class="tsd-signature tsd-kind-icon">categories<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/account-details/account-details.component.ts:55</li>
|
<li>Defined in src/app/pages/accounts/account-details/account-details.component.ts:55</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
</section>
|
</section>
|
||||||
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
||||||
|
<a name="category" class="tsd-anchor"></a>
|
||||||
|
<h3>category</h3>
|
||||||
|
<div class="tsd-signature tsd-kind-icon">category<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
||||||
|
<aside class="tsd-sources">
|
||||||
|
<ul>
|
||||||
|
<li>Defined in src/app/pages/accounts/account-details/account-details.component.ts:68</li>
|
||||||
|
</ul>
|
||||||
|
</aside>
|
||||||
|
</section>
|
||||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
||||||
<a name="genders" class="tsd-anchor"></a>
|
<a name="genders" class="tsd-anchor"></a>
|
||||||
<h3>genders</h3>
|
<h3>genders</h3>
|
||||||
@ -534,7 +567,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/account-details/account-details.component.ts:218</li>
|
<li>Defined in src/app/pages/accounts/account-details/account-details.component.ts:220</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4>
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4>
|
||||||
@ -554,7 +587,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/account-details/account-details.component.ts:285</li>
|
<li>Defined in src/app/pages/accounts/account-details/account-details.component.ts:287</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||||||
@ -571,7 +604,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/account-details/account-details.component.ts:200</li>
|
<li>Defined in src/app/pages/accounts/account-details/account-details.component.ts:202</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||||
@ -594,7 +627,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/account-details/account-details.component.ts:204</li>
|
<li>Defined in src/app/pages/accounts/account-details/account-details.component.ts:206</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||||
@ -617,7 +650,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/account-details/account-details.component.ts:281</li>
|
<li>Defined in src/app/pages/accounts/account-details/account-details.component.ts:283</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||||
@ -643,7 +676,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/account-details/account-details.component.ts:243</li>
|
<li>Defined in src/app/pages/accounts/account-details/account-details.component.ts:245</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||||||
@ -660,7 +693,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/account-details/account-details.component.ts:256</li>
|
<li>Defined in src/app/pages/accounts/account-details/account-details.component.ts:258</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||||||
@ -678,7 +711,7 @@
|
|||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<p>Implementation of OnInit.ngOnInit</p>
|
<p>Implementation of OnInit.ngOnInit</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/account-details/account-details.component.ts:89</li>
|
<li>Defined in src/app/pages/accounts/account-details/account-details.component.ts:92</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4>
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4>
|
||||||
@ -695,7 +728,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/account-details/account-details.component.ts:269</li>
|
<li>Defined in src/app/pages/accounts/account-details/account-details.component.ts:271</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||||||
@ -712,7 +745,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/account-details/account-details.component.ts:222</li>
|
<li>Defined in src/app/pages/accounts/account-details/account-details.component.ts:224</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4>
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4>
|
||||||
@ -729,7 +762,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/account-details/account-details.component.ts:212</li>
|
<li>Defined in src/app/pages/accounts/account-details/account-details.component.ts:214</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||||
@ -752,7 +785,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/account-details/account-details.component.ts:208</li>
|
<li>Defined in src/app/pages/accounts/account-details/account-details.component.ts:210</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||||
@ -809,9 +842,15 @@
|
|||||||
<li class=" tsd-kind-property tsd-parent-kind-class">
|
<li class=" tsd-kind-property tsd-parent-kind-class">
|
||||||
<a href="app_pages_accounts_account_details_account_details_component.accountdetailscomponent.html#accountstype" class="tsd-kind-icon">accounts<wbr>Type</a>
|
<a href="app_pages_accounts_account_details_account_details_component.accountdetailscomponent.html#accountstype" class="tsd-kind-icon">accounts<wbr>Type</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li class=" tsd-kind-property tsd-parent-kind-class">
|
||||||
|
<a href="app_pages_accounts_account_details_account_details_component.accountdetailscomponent.html#area" class="tsd-kind-icon">area</a>
|
||||||
|
</li>
|
||||||
<li class=" tsd-kind-property tsd-parent-kind-class">
|
<li class=" tsd-kind-property tsd-parent-kind-class">
|
||||||
<a href="app_pages_accounts_account_details_account_details_component.accountdetailscomponent.html#areanames" class="tsd-kind-icon">area<wbr>Names</a>
|
<a href="app_pages_accounts_account_details_account_details_component.accountdetailscomponent.html#areanames" class="tsd-kind-icon">area<wbr>Names</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li class=" tsd-kind-property tsd-parent-kind-class">
|
||||||
|
<a href="app_pages_accounts_account_details_account_details_component.accountdetailscomponent.html#areatype" class="tsd-kind-icon">area<wbr>Type</a>
|
||||||
|
</li>
|
||||||
<li class=" tsd-kind-property tsd-parent-kind-class">
|
<li class=" tsd-kind-property tsd-parent-kind-class">
|
||||||
<a href="app_pages_accounts_account_details_account_details_component.accountdetailscomponent.html#areatypes" class="tsd-kind-icon">area<wbr>Types</a>
|
<a href="app_pages_accounts_account_details_account_details_component.accountdetailscomponent.html#areatypes" class="tsd-kind-icon">area<wbr>Types</a>
|
||||||
</li>
|
</li>
|
||||||
@ -821,6 +860,9 @@
|
|||||||
<li class=" tsd-kind-property tsd-parent-kind-class">
|
<li class=" tsd-kind-property tsd-parent-kind-class">
|
||||||
<a href="app_pages_accounts_account_details_account_details_component.accountdetailscomponent.html#categories" class="tsd-kind-icon">categories</a>
|
<a href="app_pages_accounts_account_details_account_details_component.accountdetailscomponent.html#categories" class="tsd-kind-icon">categories</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li class=" tsd-kind-property tsd-parent-kind-class">
|
||||||
|
<a href="app_pages_accounts_account_details_account_details_component.accountdetailscomponent.html#category" class="tsd-kind-icon">category</a>
|
||||||
|
</li>
|
||||||
<li class=" tsd-kind-property tsd-parent-kind-class">
|
<li class=" tsd-kind-property tsd-parent-kind-class">
|
||||||
<a href="app_pages_accounts_account_details_account_details_component.accountdetailscomponent.html#genders" class="tsd-kind-icon">genders</a>
|
<a href="app_pages_accounts_account_details_account_details_component.accountdetailscomponent.html#genders" class="tsd-kind-icon">genders</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -274,7 +274,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/account-search/account-search.component.ts:52</li>
|
<li>Defined in src/app/pages/accounts/account-search/account-search.component.ts:53</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4>
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4>
|
||||||
@ -291,7 +291,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/account-search/account-search.component.ts:46</li>
|
<li>Defined in src/app/pages/accounts/account-search/account-search.component.ts:47</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4>
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4>
|
||||||
@ -308,7 +308,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/account-search/account-search.component.ts:49</li>
|
<li>Defined in src/app/pages/accounts/account-search/account-search.component.ts:50</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4>
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4>
|
||||||
@ -329,7 +329,7 @@
|
|||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<p>Implementation of OnInit.ngOnInit</p>
|
<p>Implementation of OnInit.ngOnInit</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/account-search/account-search.component.ts:33</li>
|
<li>Defined in src/app/pages/accounts/account-search/account-search.component.ts:43</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4>
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4>
|
||||||
@ -346,7 +346,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/account-search/account-search.component.ts:86</li>
|
<li>Defined in src/app/pages/accounts/account-search/account-search.component.ts:87</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4>
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4>
|
||||||
@ -363,7 +363,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/account-search/account-search.component.ts:56</li>
|
<li>Defined in src/app/pages/accounts/account-search/account-search.component.ts:57</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||||||
@ -380,7 +380,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/account-search/account-search.component.ts:66</li>
|
<li>Defined in src/app/pages/accounts/account-search/account-search.component.ts:67</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4>
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4>
|
||||||
|
@ -104,6 +104,7 @@
|
|||||||
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app_pages_accounts_accounts_component.accountscomponent.html#pagesizeoptions" class="tsd-kind-icon">page<wbr>Size<wbr>Options</a></li>
|
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app_pages_accounts_accounts_component.accountscomponent.html#pagesizeoptions" class="tsd-kind-icon">page<wbr>Size<wbr>Options</a></li>
|
||||||
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app_pages_accounts_accounts_component.accountscomponent.html#paginator" class="tsd-kind-icon">paginator</a></li>
|
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app_pages_accounts_accounts_component.accountscomponent.html#paginator" class="tsd-kind-icon">paginator</a></li>
|
||||||
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app_pages_accounts_accounts_component.accountscomponent.html#sort" class="tsd-kind-icon">sort</a></li>
|
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app_pages_accounts_accounts_component.accountscomponent.html#sort" class="tsd-kind-icon">sort</a></li>
|
||||||
|
<li class="tsd-kind-property tsd-parent-kind-class"><a href="app_pages_accounts_accounts_component.accountscomponent.html#tokensymbol" class="tsd-kind-icon">token<wbr>Symbol</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
<section class="tsd-index-section ">
|
<section class="tsd-index-section ">
|
||||||
@ -126,13 +127,13 @@
|
|||||||
<a name="constructor" class="tsd-anchor"></a>
|
<a name="constructor" class="tsd-anchor"></a>
|
||||||
<h3>constructor</h3>
|
<h3>constructor</h3>
|
||||||
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
|
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
|
||||||
<li class="tsd-signature tsd-kind-icon">new <wbr>Accounts<wbr>Component<span class="tsd-signature-symbol">(</span>userService<span class="tsd-signature-symbol">: </span><a href="app__services_user_service.userservice.html" class="tsd-signature-type" data-tsd-kind="Class">UserService</a>, loggingService<span class="tsd-signature-symbol">: </span><a href="app__services_logging_service.loggingservice.html" class="tsd-signature-type" data-tsd-kind="Class">LoggingService</a>, router<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Router</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="app_pages_accounts_accounts_component.accountscomponent.html" class="tsd-signature-type" data-tsd-kind="Class">AccountsComponent</a></li>
|
<li class="tsd-signature tsd-kind-icon">new <wbr>Accounts<wbr>Component<span class="tsd-signature-symbol">(</span>userService<span class="tsd-signature-symbol">: </span><a href="app__services_user_service.userservice.html" class="tsd-signature-type" data-tsd-kind="Class">UserService</a>, loggingService<span class="tsd-signature-symbol">: </span><a href="app__services_logging_service.loggingservice.html" class="tsd-signature-type" data-tsd-kind="Class">LoggingService</a>, router<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Router</span>, tokenService<span class="tsd-signature-symbol">: </span><a href="app__services_token_service.tokenservice.html" class="tsd-signature-type" data-tsd-kind="Class">TokenService</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="app_pages_accounts_accounts_component.accountscomponent.html" class="tsd-signature-type" data-tsd-kind="Class">AccountsComponent</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<ul class="tsd-descriptions">
|
<ul class="tsd-descriptions">
|
||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/accounts.component.ts:29</li>
|
<li>Defined in src/app/pages/accounts/accounts.component.ts:30</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||||
@ -146,6 +147,9 @@
|
|||||||
<li>
|
<li>
|
||||||
<h5>router: <span class="tsd-signature-type">Router</span></h5>
|
<h5>router: <span class="tsd-signature-type">Router</span></h5>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<h5>tokenService: <a href="app__services_token_service.tokenservice.html" class="tsd-signature-type" data-tsd-kind="Class">TokenService</a></h5>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<h4 class="tsd-returns-title">Returns <a href="app_pages_accounts_accounts_component.accountscomponent.html" class="tsd-signature-type" data-tsd-kind="Class">AccountsComponent</a></h4>
|
<h4 class="tsd-returns-title">Returns <a href="app_pages_accounts_accounts_component.accountscomponent.html" class="tsd-signature-type" data-tsd-kind="Class">AccountsComponent</a></h4>
|
||||||
</li>
|
</li>
|
||||||
@ -230,7 +234,7 @@
|
|||||||
<div class="tsd-signature tsd-kind-icon">paginator<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">MatPaginator</span></div>
|
<div class="tsd-signature tsd-kind-icon">paginator<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">MatPaginator</span></div>
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/accounts.component.ts:28</li>
|
<li>Defined in src/app/pages/accounts/accounts.component.ts:29</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
</section>
|
</section>
|
||||||
@ -240,7 +244,17 @@
|
|||||||
<div class="tsd-signature tsd-kind-icon">sort<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">MatSort</span></div>
|
<div class="tsd-signature tsd-kind-icon">sort<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">MatSort</span></div>
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/accounts.component.ts:29</li>
|
<li>Defined in src/app/pages/accounts/accounts.component.ts:30</li>
|
||||||
|
</ul>
|
||||||
|
</aside>
|
||||||
|
</section>
|
||||||
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
||||||
|
<a name="tokensymbol" class="tsd-anchor"></a>
|
||||||
|
<h3>token<wbr>Symbol</h3>
|
||||||
|
<div class="tsd-signature tsd-kind-icon">token<wbr>Symbol<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
||||||
|
<aside class="tsd-sources">
|
||||||
|
<ul>
|
||||||
|
<li>Defined in src/app/pages/accounts/accounts.component.ts:27</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
</section>
|
</section>
|
||||||
@ -257,7 +271,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/accounts.component.ts:57</li>
|
<li>Defined in src/app/pages/accounts/accounts.component.ts:65</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||||
@ -280,7 +294,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/accounts.component.ts:86</li>
|
<li>Defined in src/app/pages/accounts/accounts.component.ts:94</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||||||
@ -297,7 +311,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/accounts.component.ts:67</li>
|
<li>Defined in src/app/pages/accounts/accounts.component.ts:75</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||||||
@ -315,7 +329,7 @@
|
|||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<p>Implementation of OnInit.ngOnInit</p>
|
<p>Implementation of OnInit.ngOnInit</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/accounts.component.ts:37</li>
|
<li>Defined in src/app/pages/accounts/accounts.component.ts:39</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4>
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4>
|
||||||
@ -332,7 +346,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/accounts.component.ts:78</li>
|
<li>Defined in src/app/pages/accounts/accounts.component.ts:86</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||||||
@ -349,7 +363,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/accounts.component.ts:61</li>
|
<li>Defined in src/app/pages/accounts/accounts.component.ts:69</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||||
@ -412,6 +426,9 @@
|
|||||||
<li class=" tsd-kind-property tsd-parent-kind-class">
|
<li class=" tsd-kind-property tsd-parent-kind-class">
|
||||||
<a href="app_pages_accounts_accounts_component.accountscomponent.html#sort" class="tsd-kind-icon">sort</a>
|
<a href="app_pages_accounts_accounts_component.accountscomponent.html#sort" class="tsd-kind-icon">sort</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li class=" tsd-kind-property tsd-parent-kind-class">
|
||||||
|
<a href="app_pages_accounts_accounts_component.accountscomponent.html#tokensymbol" class="tsd-kind-icon">token<wbr>Symbol</a>
|
||||||
|
</li>
|
||||||
<li class=" tsd-kind-method tsd-parent-kind-class">
|
<li class=" tsd-kind-method tsd-parent-kind-class">
|
||||||
<a href="app_pages_accounts_accounts_component.accountscomponent.html#dofilter" class="tsd-kind-icon">do<wbr>Filter</a>
|
<a href="app_pages_accounts_accounts_component.accountscomponent.html#dofilter" class="tsd-kind-icon">do<wbr>Filter</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -132,7 +132,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/create-account/create-account.component.ts:21</li>
|
<li>Defined in src/app/pages/accounts/create-account/create-account.component.ts:20</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||||
@ -160,27 +160,27 @@
|
|||||||
<div class="tsd-signature tsd-kind-icon">account<wbr>Types<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
|
<div class="tsd-signature tsd-kind-icon">account<wbr>Types<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/create-account/create-account.component.ts:20</li>
|
<li>Defined in src/app/pages/accounts/create-account/create-account.component.ts:19</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
</section>
|
</section>
|
||||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
||||||
<a name="areanames" class="tsd-anchor"></a>
|
<a name="areanames" class="tsd-anchor"></a>
|
||||||
<h3>area<wbr>Names</h3>
|
<h3>area<wbr>Names</h3>
|
||||||
<div class="tsd-signature tsd-kind-icon">area<wbr>Names<span class="tsd-signature-symbol">:</span> <a href="../interfaces/app__models_mappings.areaname.html" class="tsd-signature-type" data-tsd-kind="Interface">AreaName</a><span class="tsd-signature-symbol">[]</span></div>
|
<div class="tsd-signature tsd-kind-icon">area<wbr>Names<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/create-account/create-account.component.ts:19</li>
|
<li>Defined in src/app/pages/accounts/create-account/create-account.component.ts:18</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
</section>
|
</section>
|
||||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
||||||
<a name="categories" class="tsd-anchor"></a>
|
<a name="categories" class="tsd-anchor"></a>
|
||||||
<h3>categories</h3>
|
<h3>categories</h3>
|
||||||
<div class="tsd-signature tsd-kind-icon">categories<span class="tsd-signature-symbol">:</span> <a href="../interfaces/app__models_mappings.category.html" class="tsd-signature-type" data-tsd-kind="Interface">Category</a><span class="tsd-signature-symbol">[]</span></div>
|
<div class="tsd-signature tsd-kind-icon">categories<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/create-account/create-account.component.ts:18</li>
|
<li>Defined in src/app/pages/accounts/create-account/create-account.component.ts:17</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
</section>
|
</section>
|
||||||
@ -190,7 +190,7 @@
|
|||||||
<div class="tsd-signature tsd-kind-icon">create<wbr>Form<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">FormGroup</span></div>
|
<div class="tsd-signature tsd-kind-icon">create<wbr>Form<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">FormGroup</span></div>
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/create-account/create-account.component.ts:15</li>
|
<li>Defined in src/app/pages/accounts/create-account/create-account.component.ts:14</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
</section>
|
</section>
|
||||||
@ -200,7 +200,7 @@
|
|||||||
<div class="tsd-signature tsd-kind-icon">genders<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
|
<div class="tsd-signature tsd-kind-icon">genders<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/create-account/create-account.component.ts:21</li>
|
<li>Defined in src/app/pages/accounts/create-account/create-account.component.ts:20</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
</section>
|
</section>
|
||||||
@ -210,7 +210,7 @@
|
|||||||
<div class="tsd-signature tsd-kind-icon">matcher<span class="tsd-signature-symbol">:</span> <a href="app__helpers_custom_error_state_matcher.customerrorstatematcher.html" class="tsd-signature-type" data-tsd-kind="Class">CustomErrorStateMatcher</a><span class="tsd-signature-symbol"> = ...</span></div>
|
<div class="tsd-signature tsd-kind-icon">matcher<span class="tsd-signature-symbol">:</span> <a href="app__helpers_custom_error_state_matcher.customerrorstatematcher.html" class="tsd-signature-type" data-tsd-kind="Class">CustomErrorStateMatcher</a><span class="tsd-signature-symbol"> = ...</span></div>
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/create-account/create-account.component.ts:16</li>
|
<li>Defined in src/app/pages/accounts/create-account/create-account.component.ts:15</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
</section>
|
</section>
|
||||||
@ -220,7 +220,7 @@
|
|||||||
<div class="tsd-signature tsd-kind-icon">submitted<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div>
|
<div class="tsd-signature tsd-kind-icon">submitted<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div>
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/create-account/create-account.component.ts:17</li>
|
<li>Defined in src/app/pages/accounts/create-account/create-account.component.ts:16</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
</section>
|
</section>
|
||||||
@ -237,7 +237,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/create-account/create-account.component.ts:61</li>
|
<li>Defined in src/app/pages/accounts/create-account/create-account.component.ts:60</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4>
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4>
|
||||||
@ -258,7 +258,7 @@
|
|||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<p>Implementation of OnInit.ngOnInit</p>
|
<p>Implementation of OnInit.ngOnInit</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/create-account/create-account.component.ts:29</li>
|
<li>Defined in src/app/pages/accounts/create-account/create-account.component.ts:28</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4>
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4>
|
||||||
@ -275,7 +275,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/accounts/create-account/create-account.component.ts:65</li>
|
<li>Defined in src/app/pages/accounts/create-account/create-account.component.ts:64</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||||||
|
@ -107,7 +107,7 @@
|
|||||||
<li class="tsd-description">
|
<li class="tsd-description">
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/pages.component.ts:10</li>
|
<li>Defined in src/app/pages/pages.component.ts:11</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<h4 class="tsd-returns-title">Returns <a href="app_pages_pages_component.pagescomponent.html" class="tsd-signature-type" data-tsd-kind="Class">PagesComponent</a></h4>
|
<h4 class="tsd-returns-title">Returns <a href="app_pages_pages_component.pagescomponent.html" class="tsd-signature-type" data-tsd-kind="Class">PagesComponent</a></h4>
|
||||||
@ -120,10 +120,10 @@
|
|||||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
||||||
<a name="url" class="tsd-anchor"></a>
|
<a name="url" class="tsd-anchor"></a>
|
||||||
<h3>url</h3>
|
<h3>url</h3>
|
||||||
<div class="tsd-signature tsd-kind-icon">url<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = 'https://dashboard.sarafu.network/'</span></div>
|
<div class="tsd-signature tsd-kind-icon">url<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = ...</span></div>
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/pages/pages.component.ts:10</li>
|
<li>Defined in src/app/pages/pages.component.ts:11</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
</section>
|
</section>
|
||||||
|
@ -217,15 +217,6 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<ul class="after-current">
|
<ul class="after-current">
|
||||||
<li class=" tsd-kind-interface tsd-parent-kind-module">
|
|
||||||
<a href="app__models_mappings.areaname.html" class="tsd-kind-icon">Area<wbr>Name</a>
|
|
||||||
</li>
|
|
||||||
<li class=" tsd-kind-interface tsd-parent-kind-module">
|
|
||||||
<a href="app__models_mappings.areatype.html" class="tsd-kind-icon">Area<wbr>Type</a>
|
|
||||||
</li>
|
|
||||||
<li class=" tsd-kind-interface tsd-parent-kind-module">
|
|
||||||
<a href="app__models_mappings.category.html" class="tsd-kind-icon">Category</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,201 +0,0 @@
|
|||||||
<!doctype html>
|
|
||||||
<html class="default no-js">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
||||||
<title>AreaName | CICADA</title>
|
|
||||||
<meta name="description" content="Documentation for CICADA">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
<link rel="stylesheet" href="../assets/css/main.css">
|
|
||||||
<script async src="../assets/js/search.js" id="search-script"></script>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<header>
|
|
||||||
<div class="tsd-page-toolbar">
|
|
||||||
<div class="container">
|
|
||||||
<div class="table-wrap">
|
|
||||||
<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
|
|
||||||
<div class="field">
|
|
||||||
<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
|
|
||||||
<input id="tsd-search-field" type="text" />
|
|
||||||
</div>
|
|
||||||
<ul class="results">
|
|
||||||
<li class="state loading">Preparing search index...</li>
|
|
||||||
<li class="state failure">The search index is not available</li>
|
|
||||||
</ul>
|
|
||||||
<a href="../index.html" class="title">CICADA</a>
|
|
||||||
</div>
|
|
||||||
<div class="table-cell" id="tsd-widgets">
|
|
||||||
<div id="tsd-filter">
|
|
||||||
<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
|
|
||||||
<div class="tsd-filter-group">
|
|
||||||
<div class="tsd-select" id="tsd-filter-visibility">
|
|
||||||
<span class="tsd-select-label">All</span>
|
|
||||||
<ul class="tsd-select-list">
|
|
||||||
<li data-value="public">Public</li>
|
|
||||||
<li data-value="protected">Public/Protected</li>
|
|
||||||
<li data-value="private" class="selected">All</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<input type="checkbox" id="tsd-filter-inherited" checked />
|
|
||||||
<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
|
|
||||||
<input type="checkbox" id="tsd-filter-externals" checked />
|
|
||||||
<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="tsd-page-title">
|
|
||||||
<div class="container">
|
|
||||||
<ul class="tsd-breadcrumb">
|
|
||||||
<li>
|
|
||||||
<a href="../modules.html">CICADA</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="../modules/app__models_mappings.html">app/_models/mappings</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="app__models_mappings.areaname.html">AreaName</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<h1>Interface AreaName</h1>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
<div class="container container-main">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-8 col-content">
|
|
||||||
<section class="tsd-panel tsd-comment">
|
|
||||||
<div class="tsd-comment tsd-typography">
|
|
||||||
<dl class="tsd-comment-tags">
|
|
||||||
<dt>exports</dt>
|
|
||||||
<dd></dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
<section class="tsd-panel tsd-hierarchy">
|
|
||||||
<h3>Hierarchy</h3>
|
|
||||||
<ul class="tsd-hierarchy">
|
|
||||||
<li>
|
|
||||||
<span class="target">AreaName</span>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</section>
|
|
||||||
<section class="tsd-panel-group tsd-index-group">
|
|
||||||
<h2>Index</h2>
|
|
||||||
<section class="tsd-panel tsd-index-panel">
|
|
||||||
<div class="tsd-index-content">
|
|
||||||
<section class="tsd-index-section ">
|
|
||||||
<h3>Properties</h3>
|
|
||||||
<ul class="tsd-index-list">
|
|
||||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="app__models_mappings.areaname.html#locations" class="tsd-kind-icon">locations</a></li>
|
|
||||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="app__models_mappings.areaname.html#name" class="tsd-kind-icon">name</a></li>
|
|
||||||
</ul>
|
|
||||||
</section>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
</section>
|
|
||||||
<section class="tsd-panel-group tsd-member-group ">
|
|
||||||
<h2>Properties</h2>
|
|
||||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
|
|
||||||
<a name="locations" class="tsd-anchor"></a>
|
|
||||||
<h3>locations</h3>
|
|
||||||
<div class="tsd-signature tsd-kind-icon">locations<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
|
|
||||||
<aside class="tsd-sources">
|
|
||||||
<ul>
|
|
||||||
<li>Defined in src/app/_models/mappings.ts:18</li>
|
|
||||||
</ul>
|
|
||||||
</aside>
|
|
||||||
<div class="tsd-comment tsd-typography">
|
|
||||||
<div class="lead">
|
|
||||||
<p>Locations that map to that area name.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
|
|
||||||
<a name="name" class="tsd-anchor"></a>
|
|
||||||
<h3>name</h3>
|
|
||||||
<div class="tsd-signature tsd-kind-icon">name<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
||||||
<aside class="tsd-sources">
|
|
||||||
<ul>
|
|
||||||
<li>Defined in src/app/_models/mappings.ts:20</li>
|
|
||||||
</ul>
|
|
||||||
</aside>
|
|
||||||
<div class="tsd-comment tsd-typography">
|
|
||||||
<div class="lead">
|
|
||||||
<p>Name of area</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
</section>
|
|
||||||
</div>
|
|
||||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
||||||
<nav class="tsd-navigation primary">
|
|
||||||
<ul>
|
|
||||||
<li class=" ">
|
|
||||||
<a href="../modules.html">Exports</a>
|
|
||||||
</li>
|
|
||||||
<li class="current tsd-kind-module">
|
|
||||||
<a href="../modules/app__models_mappings.html">app/_<wbr>models/mappings</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
<nav class="tsd-navigation secondary menu-sticky">
|
|
||||||
<ul class="before-current">
|
|
||||||
<li class=" tsd-kind-interface tsd-parent-kind-module">
|
|
||||||
<a href="app__models_mappings.action.html" class="tsd-kind-icon">Action</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<ul class="current">
|
|
||||||
<li class="current tsd-kind-interface tsd-parent-kind-module">
|
|
||||||
<a href="app__models_mappings.areaname.html" class="tsd-kind-icon">Area<wbr>Name</a>
|
|
||||||
<ul>
|
|
||||||
<li class=" tsd-kind-property tsd-parent-kind-interface">
|
|
||||||
<a href="app__models_mappings.areaname.html#locations" class="tsd-kind-icon">locations</a>
|
|
||||||
</li>
|
|
||||||
<li class=" tsd-kind-property tsd-parent-kind-interface">
|
|
||||||
<a href="app__models_mappings.areaname.html#name" class="tsd-kind-icon">name</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<ul class="after-current">
|
|
||||||
<li class=" tsd-kind-interface tsd-parent-kind-module">
|
|
||||||
<a href="app__models_mappings.areatype.html" class="tsd-kind-icon">Area<wbr>Type</a>
|
|
||||||
</li>
|
|
||||||
<li class=" tsd-kind-interface tsd-parent-kind-module">
|
|
||||||
<a href="app__models_mappings.category.html" class="tsd-kind-icon">Category</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<footer class="with-border-bottom">
|
|
||||||
<div class="container">
|
|
||||||
<h2>Legend</h2>
|
|
||||||
<div class="tsd-legend-group">
|
|
||||||
<ul class="tsd-legend">
|
|
||||||
<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
|
|
||||||
<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
|
|
||||||
</ul>
|
|
||||||
<ul class="tsd-legend">
|
|
||||||
<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
|
|
||||||
<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
|
|
||||||
</ul>
|
|
||||||
<ul class="tsd-legend">
|
|
||||||
<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
<div class="container tsd-generator">
|
|
||||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
|
|
||||||
</div>
|
|
||||||
<div class="overlay"></div>
|
|
||||||
<script src="../assets/js/main.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,201 +0,0 @@
|
|||||||
<!doctype html>
|
|
||||||
<html class="default no-js">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
||||||
<title>AreaType | CICADA</title>
|
|
||||||
<meta name="description" content="Documentation for CICADA">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
<link rel="stylesheet" href="../assets/css/main.css">
|
|
||||||
<script async src="../assets/js/search.js" id="search-script"></script>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<header>
|
|
||||||
<div class="tsd-page-toolbar">
|
|
||||||
<div class="container">
|
|
||||||
<div class="table-wrap">
|
|
||||||
<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
|
|
||||||
<div class="field">
|
|
||||||
<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
|
|
||||||
<input id="tsd-search-field" type="text" />
|
|
||||||
</div>
|
|
||||||
<ul class="results">
|
|
||||||
<li class="state loading">Preparing search index...</li>
|
|
||||||
<li class="state failure">The search index is not available</li>
|
|
||||||
</ul>
|
|
||||||
<a href="../index.html" class="title">CICADA</a>
|
|
||||||
</div>
|
|
||||||
<div class="table-cell" id="tsd-widgets">
|
|
||||||
<div id="tsd-filter">
|
|
||||||
<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
|
|
||||||
<div class="tsd-filter-group">
|
|
||||||
<div class="tsd-select" id="tsd-filter-visibility">
|
|
||||||
<span class="tsd-select-label">All</span>
|
|
||||||
<ul class="tsd-select-list">
|
|
||||||
<li data-value="public">Public</li>
|
|
||||||
<li data-value="protected">Public/Protected</li>
|
|
||||||
<li data-value="private" class="selected">All</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<input type="checkbox" id="tsd-filter-inherited" checked />
|
|
||||||
<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
|
|
||||||
<input type="checkbox" id="tsd-filter-externals" checked />
|
|
||||||
<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="tsd-page-title">
|
|
||||||
<div class="container">
|
|
||||||
<ul class="tsd-breadcrumb">
|
|
||||||
<li>
|
|
||||||
<a href="../modules.html">CICADA</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="../modules/app__models_mappings.html">app/_models/mappings</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="app__models_mappings.areatype.html">AreaType</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<h1>Interface AreaType</h1>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
<div class="container container-main">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-8 col-content">
|
|
||||||
<section class="tsd-panel tsd-comment">
|
|
||||||
<div class="tsd-comment tsd-typography">
|
|
||||||
<dl class="tsd-comment-tags">
|
|
||||||
<dt>exports</dt>
|
|
||||||
<dd></dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
<section class="tsd-panel tsd-hierarchy">
|
|
||||||
<h3>Hierarchy</h3>
|
|
||||||
<ul class="tsd-hierarchy">
|
|
||||||
<li>
|
|
||||||
<span class="target">AreaType</span>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</section>
|
|
||||||
<section class="tsd-panel-group tsd-index-group">
|
|
||||||
<h2>Index</h2>
|
|
||||||
<section class="tsd-panel tsd-index-panel">
|
|
||||||
<div class="tsd-index-content">
|
|
||||||
<section class="tsd-index-section ">
|
|
||||||
<h3>Properties</h3>
|
|
||||||
<ul class="tsd-index-list">
|
|
||||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="app__models_mappings.areatype.html#area" class="tsd-kind-icon">area</a></li>
|
|
||||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="app__models_mappings.areatype.html#name" class="tsd-kind-icon">name</a></li>
|
|
||||||
</ul>
|
|
||||||
</section>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
</section>
|
|
||||||
<section class="tsd-panel-group tsd-member-group ">
|
|
||||||
<h2>Properties</h2>
|
|
||||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
|
|
||||||
<a name="area" class="tsd-anchor"></a>
|
|
||||||
<h3>area</h3>
|
|
||||||
<div class="tsd-signature tsd-kind-icon">area<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
|
|
||||||
<aside class="tsd-sources">
|
|
||||||
<ul>
|
|
||||||
<li>Defined in src/app/_models/mappings.ts:26</li>
|
|
||||||
</ul>
|
|
||||||
</aside>
|
|
||||||
<div class="tsd-comment tsd-typography">
|
|
||||||
<div class="lead">
|
|
||||||
<p>Areas that map to that area type.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
|
|
||||||
<a name="name" class="tsd-anchor"></a>
|
|
||||||
<h3>name</h3>
|
|
||||||
<div class="tsd-signature tsd-kind-icon">name<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
||||||
<aside class="tsd-sources">
|
|
||||||
<ul>
|
|
||||||
<li>Defined in src/app/_models/mappings.ts:28</li>
|
|
||||||
</ul>
|
|
||||||
</aside>
|
|
||||||
<div class="tsd-comment tsd-typography">
|
|
||||||
<div class="lead">
|
|
||||||
<p>Type of area</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
</section>
|
|
||||||
</div>
|
|
||||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
||||||
<nav class="tsd-navigation primary">
|
|
||||||
<ul>
|
|
||||||
<li class=" ">
|
|
||||||
<a href="../modules.html">Exports</a>
|
|
||||||
</li>
|
|
||||||
<li class="current tsd-kind-module">
|
|
||||||
<a href="../modules/app__models_mappings.html">app/_<wbr>models/mappings</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
<nav class="tsd-navigation secondary menu-sticky">
|
|
||||||
<ul class="before-current">
|
|
||||||
<li class=" tsd-kind-interface tsd-parent-kind-module">
|
|
||||||
<a href="app__models_mappings.action.html" class="tsd-kind-icon">Action</a>
|
|
||||||
</li>
|
|
||||||
<li class=" tsd-kind-interface tsd-parent-kind-module">
|
|
||||||
<a href="app__models_mappings.areaname.html" class="tsd-kind-icon">Area<wbr>Name</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<ul class="current">
|
|
||||||
<li class="current tsd-kind-interface tsd-parent-kind-module">
|
|
||||||
<a href="app__models_mappings.areatype.html" class="tsd-kind-icon">Area<wbr>Type</a>
|
|
||||||
<ul>
|
|
||||||
<li class=" tsd-kind-property tsd-parent-kind-interface">
|
|
||||||
<a href="app__models_mappings.areatype.html#area" class="tsd-kind-icon">area</a>
|
|
||||||
</li>
|
|
||||||
<li class=" tsd-kind-property tsd-parent-kind-interface">
|
|
||||||
<a href="app__models_mappings.areatype.html#name" class="tsd-kind-icon">name</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<ul class="after-current">
|
|
||||||
<li class=" tsd-kind-interface tsd-parent-kind-module">
|
|
||||||
<a href="app__models_mappings.category.html" class="tsd-kind-icon">Category</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<footer class="with-border-bottom">
|
|
||||||
<div class="container">
|
|
||||||
<h2>Legend</h2>
|
|
||||||
<div class="tsd-legend-group">
|
|
||||||
<ul class="tsd-legend">
|
|
||||||
<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
|
|
||||||
<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
|
|
||||||
</ul>
|
|
||||||
<ul class="tsd-legend">
|
|
||||||
<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
|
|
||||||
<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
|
|
||||||
</ul>
|
|
||||||
<ul class="tsd-legend">
|
|
||||||
<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
<div class="container tsd-generator">
|
|
||||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
|
|
||||||
</div>
|
|
||||||
<div class="overlay"></div>
|
|
||||||
<script src="../assets/js/main.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,201 +0,0 @@
|
|||||||
<!doctype html>
|
|
||||||
<html class="default no-js">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
||||||
<title>Category | CICADA</title>
|
|
||||||
<meta name="description" content="Documentation for CICADA">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
<link rel="stylesheet" href="../assets/css/main.css">
|
|
||||||
<script async src="../assets/js/search.js" id="search-script"></script>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<header>
|
|
||||||
<div class="tsd-page-toolbar">
|
|
||||||
<div class="container">
|
|
||||||
<div class="table-wrap">
|
|
||||||
<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
|
|
||||||
<div class="field">
|
|
||||||
<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
|
|
||||||
<input id="tsd-search-field" type="text" />
|
|
||||||
</div>
|
|
||||||
<ul class="results">
|
|
||||||
<li class="state loading">Preparing search index...</li>
|
|
||||||
<li class="state failure">The search index is not available</li>
|
|
||||||
</ul>
|
|
||||||
<a href="../index.html" class="title">CICADA</a>
|
|
||||||
</div>
|
|
||||||
<div class="table-cell" id="tsd-widgets">
|
|
||||||
<div id="tsd-filter">
|
|
||||||
<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
|
|
||||||
<div class="tsd-filter-group">
|
|
||||||
<div class="tsd-select" id="tsd-filter-visibility">
|
|
||||||
<span class="tsd-select-label">All</span>
|
|
||||||
<ul class="tsd-select-list">
|
|
||||||
<li data-value="public">Public</li>
|
|
||||||
<li data-value="protected">Public/Protected</li>
|
|
||||||
<li data-value="private" class="selected">All</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<input type="checkbox" id="tsd-filter-inherited" checked />
|
|
||||||
<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
|
|
||||||
<input type="checkbox" id="tsd-filter-externals" checked />
|
|
||||||
<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="tsd-page-title">
|
|
||||||
<div class="container">
|
|
||||||
<ul class="tsd-breadcrumb">
|
|
||||||
<li>
|
|
||||||
<a href="../modules.html">CICADA</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="../modules/app__models_mappings.html">app/_models/mappings</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="app__models_mappings.category.html">Category</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<h1>Interface Category</h1>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
<div class="container container-main">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-8 col-content">
|
|
||||||
<section class="tsd-panel tsd-comment">
|
|
||||||
<div class="tsd-comment tsd-typography">
|
|
||||||
<dl class="tsd-comment-tags">
|
|
||||||
<dt>exports</dt>
|
|
||||||
<dd></dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
<section class="tsd-panel tsd-hierarchy">
|
|
||||||
<h3>Hierarchy</h3>
|
|
||||||
<ul class="tsd-hierarchy">
|
|
||||||
<li>
|
|
||||||
<span class="target">Category</span>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</section>
|
|
||||||
<section class="tsd-panel-group tsd-index-group">
|
|
||||||
<h2>Index</h2>
|
|
||||||
<section class="tsd-panel tsd-index-panel">
|
|
||||||
<div class="tsd-index-content">
|
|
||||||
<section class="tsd-index-section ">
|
|
||||||
<h3>Properties</h3>
|
|
||||||
<ul class="tsd-index-list">
|
|
||||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="app__models_mappings.category.html#name" class="tsd-kind-icon">name</a></li>
|
|
||||||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="app__models_mappings.category.html#products" class="tsd-kind-icon">products</a></li>
|
|
||||||
</ul>
|
|
||||||
</section>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
</section>
|
|
||||||
<section class="tsd-panel-group tsd-member-group ">
|
|
||||||
<h2>Properties</h2>
|
|
||||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
|
|
||||||
<a name="name" class="tsd-anchor"></a>
|
|
||||||
<h3>name</h3>
|
|
||||||
<div class="tsd-signature tsd-kind-icon">name<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
||||||
<aside class="tsd-sources">
|
|
||||||
<ul>
|
|
||||||
<li>Defined in src/app/_models/mappings.ts:34</li>
|
|
||||||
</ul>
|
|
||||||
</aside>
|
|
||||||
<div class="tsd-comment tsd-typography">
|
|
||||||
<div class="lead">
|
|
||||||
<p>Business category</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
|
|
||||||
<a name="products" class="tsd-anchor"></a>
|
|
||||||
<h3>products</h3>
|
|
||||||
<div class="tsd-signature tsd-kind-icon">products<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
|
|
||||||
<aside class="tsd-sources">
|
|
||||||
<ul>
|
|
||||||
<li>Defined in src/app/_models/mappings.ts:36</li>
|
|
||||||
</ul>
|
|
||||||
</aside>
|
|
||||||
<div class="tsd-comment tsd-typography">
|
|
||||||
<div class="lead">
|
|
||||||
<p>Products that map to that category.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
</section>
|
|
||||||
</div>
|
|
||||||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
||||||
<nav class="tsd-navigation primary">
|
|
||||||
<ul>
|
|
||||||
<li class=" ">
|
|
||||||
<a href="../modules.html">Exports</a>
|
|
||||||
</li>
|
|
||||||
<li class="current tsd-kind-module">
|
|
||||||
<a href="../modules/app__models_mappings.html">app/_<wbr>models/mappings</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
<nav class="tsd-navigation secondary menu-sticky">
|
|
||||||
<ul class="before-current">
|
|
||||||
<li class=" tsd-kind-interface tsd-parent-kind-module">
|
|
||||||
<a href="app__models_mappings.action.html" class="tsd-kind-icon">Action</a>
|
|
||||||
</li>
|
|
||||||
<li class=" tsd-kind-interface tsd-parent-kind-module">
|
|
||||||
<a href="app__models_mappings.areaname.html" class="tsd-kind-icon">Area<wbr>Name</a>
|
|
||||||
</li>
|
|
||||||
<li class=" tsd-kind-interface tsd-parent-kind-module">
|
|
||||||
<a href="app__models_mappings.areatype.html" class="tsd-kind-icon">Area<wbr>Type</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<ul class="current">
|
|
||||||
<li class="current tsd-kind-interface tsd-parent-kind-module">
|
|
||||||
<a href="app__models_mappings.category.html" class="tsd-kind-icon">Category</a>
|
|
||||||
<ul>
|
|
||||||
<li class=" tsd-kind-property tsd-parent-kind-interface">
|
|
||||||
<a href="app__models_mappings.category.html#name" class="tsd-kind-icon">name</a>
|
|
||||||
</li>
|
|
||||||
<li class=" tsd-kind-property tsd-parent-kind-interface">
|
|
||||||
<a href="app__models_mappings.category.html#products" class="tsd-kind-icon">products</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<ul class="after-current">
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<footer class="with-border-bottom">
|
|
||||||
<div class="container">
|
|
||||||
<h2>Legend</h2>
|
|
||||||
<div class="tsd-legend-group">
|
|
||||||
<ul class="tsd-legend">
|
|
||||||
<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
|
|
||||||
<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
|
|
||||||
</ul>
|
|
||||||
<ul class="tsd-legend">
|
|
||||||
<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
|
|
||||||
<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
|
|
||||||
</ul>
|
|
||||||
<ul class="tsd-legend">
|
|
||||||
<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
<div class="container tsd-generator">
|
|
||||||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
|
|
||||||
</div>
|
|
||||||
<div class="overlay"></div>
|
|
||||||
<script src="../assets/js/main.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -92,7 +92,7 @@
|
|||||||
<div class="tsd-signature tsd-kind-icon">Mock<wbr>Backend<wbr>Provider<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>multi<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span>provide<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">InjectionToken</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">HttpInterceptor</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span>useClass<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">typeof </span><a href="../classes/app__helpers_mock_backend.mockbackendinterceptor.html" class="tsd-signature-type" data-tsd-kind="Class">MockBackendInterceptor</a><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> = ...</span></div>
|
<div class="tsd-signature tsd-kind-icon">Mock<wbr>Backend<wbr>Provider<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>multi<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span>provide<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">InjectionToken</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">HttpInterceptor</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span>useClass<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">typeof </span><a href="../classes/app__helpers_mock_backend.mockbackendinterceptor.html" class="tsd-signature-type" data-tsd-kind="Class">MockBackendInterceptor</a><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> = ...</span></div>
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/app/_helpers/mock-backend.ts:1243</li>
|
<li>Defined in src/app/_helpers/mock-backend.ts:1039</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
<div class="tsd-comment tsd-typography">
|
<div class="tsd-comment tsd-typography">
|
||||||
|
@ -74,9 +74,6 @@
|
|||||||
<ul class="tsd-index-list">
|
<ul class="tsd-index-list">
|
||||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="app__models.html#accountdetails" class="tsd-kind-icon">Account<wbr>Details</a></li>
|
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="app__models.html#accountdetails" class="tsd-kind-icon">Account<wbr>Details</a></li>
|
||||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="app__models.html#action" class="tsd-kind-icon">Action</a></li>
|
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="app__models.html#action" class="tsd-kind-icon">Action</a></li>
|
||||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="app__models.html#areaname" class="tsd-kind-icon">Area<wbr>Name</a></li>
|
|
||||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="app__models.html#areatype" class="tsd-kind-icon">Area<wbr>Type</a></li>
|
|
||||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="app__models.html#category" class="tsd-kind-icon">Category</a></li>
|
|
||||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="app__models.html#conversion" class="tsd-kind-icon">Conversion</a></li>
|
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="app__models.html#conversion" class="tsd-kind-icon">Conversion</a></li>
|
||||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="app__models.html#meta" class="tsd-kind-icon">Meta</a></li>
|
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="app__models.html#meta" class="tsd-kind-icon">Meta</a></li>
|
||||||
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="app__models.html#metaresponse" class="tsd-kind-icon">Meta<wbr>Response</a></li>
|
<li class="tsd-kind-reference tsd-parent-kind-module"><a href="app__models.html#metaresponse" class="tsd-kind-icon">Meta<wbr>Response</a></li>
|
||||||
@ -106,21 +103,6 @@
|
|||||||
<h3>Action</h3>
|
<h3>Action</h3>
|
||||||
Re-exports <a href="../interfaces/app__models_mappings.action.html">Action</a>
|
Re-exports <a href="../interfaces/app__models_mappings.action.html">Action</a>
|
||||||
</section>
|
</section>
|
||||||
<section class="tsd-panel tsd-member tsd-kind-reference tsd-parent-kind-module">
|
|
||||||
<a name="areaname" class="tsd-anchor"></a>
|
|
||||||
<h3>Area<wbr>Name</h3>
|
|
||||||
Re-exports <a href="../interfaces/app__models_mappings.areaname.html">AreaName</a>
|
|
||||||
</section>
|
|
||||||
<section class="tsd-panel tsd-member tsd-kind-reference tsd-parent-kind-module">
|
|
||||||
<a name="areatype" class="tsd-anchor"></a>
|
|
||||||
<h3>Area<wbr>Type</h3>
|
|
||||||
Re-exports <a href="../interfaces/app__models_mappings.areatype.html">AreaType</a>
|
|
||||||
</section>
|
|
||||||
<section class="tsd-panel tsd-member tsd-kind-reference tsd-parent-kind-module">
|
|
||||||
<a name="category" class="tsd-anchor"></a>
|
|
||||||
<h3>Category</h3>
|
|
||||||
Re-exports <a href="../interfaces/app__models_mappings.category.html">Category</a>
|
|
||||||
</section>
|
|
||||||
<section class="tsd-panel tsd-member tsd-kind-reference tsd-parent-kind-module">
|
<section class="tsd-panel tsd-member tsd-kind-reference tsd-parent-kind-module">
|
||||||
<a name="conversion" class="tsd-anchor"></a>
|
<a name="conversion" class="tsd-anchor"></a>
|
||||||
<h3>Conversion</h3>
|
<h3>Conversion</h3>
|
||||||
@ -202,15 +184,6 @@
|
|||||||
<li class=" tsd-kind-reference tsd-parent-kind-module">
|
<li class=" tsd-kind-reference tsd-parent-kind-module">
|
||||||
<a href="app__models.html#action" class="tsd-kind-icon">Action</a>
|
<a href="app__models.html#action" class="tsd-kind-icon">Action</a>
|
||||||
</li>
|
</li>
|
||||||
<li class=" tsd-kind-reference tsd-parent-kind-module">
|
|
||||||
<a href="app__models.html#areaname" class="tsd-kind-icon">Area<wbr>Name</a>
|
|
||||||
</li>
|
|
||||||
<li class=" tsd-kind-reference tsd-parent-kind-module">
|
|
||||||
<a href="app__models.html#areatype" class="tsd-kind-icon">Area<wbr>Type</a>
|
|
||||||
</li>
|
|
||||||
<li class=" tsd-kind-reference tsd-parent-kind-module">
|
|
||||||
<a href="app__models.html#category" class="tsd-kind-icon">Category</a>
|
|
||||||
</li>
|
|
||||||
<li class=" tsd-kind-reference tsd-parent-kind-module">
|
<li class=" tsd-kind-reference tsd-parent-kind-module">
|
||||||
<a href="app__models.html#conversion" class="tsd-kind-icon">Conversion</a>
|
<a href="app__models.html#conversion" class="tsd-kind-icon">Conversion</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -73,9 +73,6 @@
|
|||||||
<h3>Interfaces</h3>
|
<h3>Interfaces</h3>
|
||||||
<ul class="tsd-index-list">
|
<ul class="tsd-index-list">
|
||||||
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/app__models_mappings.action.html" class="tsd-kind-icon">Action</a></li>
|
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/app__models_mappings.action.html" class="tsd-kind-icon">Action</a></li>
|
||||||
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/app__models_mappings.areaname.html" class="tsd-kind-icon">Area<wbr>Name</a></li>
|
|
||||||
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/app__models_mappings.areatype.html" class="tsd-kind-icon">Area<wbr>Type</a></li>
|
|
||||||
<li class="tsd-kind-interface tsd-parent-kind-module"><a href="../interfaces/app__models_mappings.category.html" class="tsd-kind-icon">Category</a></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
@ -98,15 +95,6 @@
|
|||||||
<li class=" tsd-kind-interface tsd-parent-kind-module">
|
<li class=" tsd-kind-interface tsd-parent-kind-module">
|
||||||
<a href="../interfaces/app__models_mappings.action.html" class="tsd-kind-icon">Action</a>
|
<a href="../interfaces/app__models_mappings.action.html" class="tsd-kind-icon">Action</a>
|
||||||
</li>
|
</li>
|
||||||
<li class=" tsd-kind-interface tsd-parent-kind-module">
|
|
||||||
<a href="../interfaces/app__models_mappings.areaname.html" class="tsd-kind-icon">Area<wbr>Name</a>
|
|
||||||
</li>
|
|
||||||
<li class=" tsd-kind-interface tsd-parent-kind-module">
|
|
||||||
<a href="../interfaces/app__models_mappings.areatype.html" class="tsd-kind-icon">Area<wbr>Type</a>
|
|
||||||
</li>
|
|
||||||
<li class=" tsd-kind-interface tsd-parent-kind-module">
|
|
||||||
<a href="../interfaces/app__models_mappings.category.html" class="tsd-kind-icon">Category</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
|
@ -83,7 +83,7 @@
|
|||||||
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module">
|
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module">
|
||||||
<a name="environment" class="tsd-anchor"></a>
|
<a name="environment" class="tsd-anchor"></a>
|
||||||
<h3><span class="tsd-flag ts-flagConst">Const</span> environment</h3>
|
<h3><span class="tsd-flag ts-flagConst">Const</span> environment</h3>
|
||||||
<div class="tsd-signature tsd-kind-icon">environment<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>bloxbergChainId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>cicCacheUrl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>cicMetaUrl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>cicUssdUrl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>logLevel<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">NgxLoggerLevel</span><span class="tsd-signature-symbol">; </span>loggingUrl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>production<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span>publicKeysUrl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>registryAddress<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>serverLogLevel<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">NgxLoggerLevel</span><span class="tsd-signature-symbol">; </span>trustedDeclaratorAddress<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>web3Provider<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> = ...</span></div>
|
<div class="tsd-signature tsd-kind-icon">environment<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>bloxbergChainId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>cicCacheUrl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>cicMetaUrl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>cicUssdUrl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>dashboardUrl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>logLevel<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">NgxLoggerLevel</span><span class="tsd-signature-symbol">; </span>loggingUrl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>production<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span>publicKeysUrl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>registryAddress<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>serverLogLevel<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">NgxLoggerLevel</span><span class="tsd-signature-symbol">; </span>trustedDeclaratorAddress<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>web3Provider<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> = ...</span></div>
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/environments/environment.ts:3</li>
|
<li>Defined in src/environments/environment.ts:3</li>
|
||||||
@ -104,6 +104,9 @@
|
|||||||
<li class="tsd-parameter">
|
<li class="tsd-parameter">
|
||||||
<h5>cic<wbr>Ussd<wbr>Url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
|
<h5>cic<wbr>Ussd<wbr>Url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
|
||||||
</li>
|
</li>
|
||||||
|
<li class="tsd-parameter">
|
||||||
|
<h5>dashboard<wbr>Url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
|
||||||
|
</li>
|
||||||
<li class="tsd-parameter">
|
<li class="tsd-parameter">
|
||||||
<h5>log<wbr>Level<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">NgxLoggerLevel</span></h5>
|
<h5>log<wbr>Level<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">NgxLoggerLevel</span></h5>
|
||||||
</li>
|
</li>
|
||||||
|
@ -83,7 +83,7 @@
|
|||||||
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module">
|
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module">
|
||||||
<a name="environment" class="tsd-anchor"></a>
|
<a name="environment" class="tsd-anchor"></a>
|
||||||
<h3><span class="tsd-flag ts-flagConst">Const</span> environment</h3>
|
<h3><span class="tsd-flag ts-flagConst">Const</span> environment</h3>
|
||||||
<div class="tsd-signature tsd-kind-icon">environment<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>bloxbergChainId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>cicCacheUrl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>cicMetaUrl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>cicUssdUrl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>logLevel<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">NgxLoggerLevel</span><span class="tsd-signature-symbol">; </span>loggingUrl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>production<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span>publicKeysUrl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>registryAddress<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>serverLogLevel<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">NgxLoggerLevel</span><span class="tsd-signature-symbol">; </span>trustedDeclaratorAddress<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>web3Provider<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> = ...</span></div>
|
<div class="tsd-signature tsd-kind-icon">environment<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>bloxbergChainId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>cicCacheUrl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>cicMetaUrl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>cicUssdUrl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>dashboardUrl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>logLevel<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">NgxLoggerLevel</span><span class="tsd-signature-symbol">; </span>loggingUrl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>production<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span>publicKeysUrl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>registryAddress<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>serverLogLevel<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">NgxLoggerLevel</span><span class="tsd-signature-symbol">; </span>trustedDeclaratorAddress<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>web3Provider<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> = ...</span></div>
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/environments/environment.dev.ts:3</li>
|
<li>Defined in src/environments/environment.dev.ts:3</li>
|
||||||
@ -104,6 +104,9 @@
|
|||||||
<li class="tsd-parameter">
|
<li class="tsd-parameter">
|
||||||
<h5>cic<wbr>Ussd<wbr>Url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
|
<h5>cic<wbr>Ussd<wbr>Url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
|
||||||
</li>
|
</li>
|
||||||
|
<li class="tsd-parameter">
|
||||||
|
<h5>dashboard<wbr>Url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
|
||||||
|
</li>
|
||||||
<li class="tsd-parameter">
|
<li class="tsd-parameter">
|
||||||
<h5>log<wbr>Level<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">NgxLoggerLevel</span></h5>
|
<h5>log<wbr>Level<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">NgxLoggerLevel</span></h5>
|
||||||
</li>
|
</li>
|
||||||
|
@ -83,7 +83,7 @@
|
|||||||
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module">
|
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module">
|
||||||
<a name="environment" class="tsd-anchor"></a>
|
<a name="environment" class="tsd-anchor"></a>
|
||||||
<h3><span class="tsd-flag ts-flagConst">Const</span> environment</h3>
|
<h3><span class="tsd-flag ts-flagConst">Const</span> environment</h3>
|
||||||
<div class="tsd-signature tsd-kind-icon">environment<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>bloxbergChainId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>cicCacheUrl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>cicMetaUrl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>cicUssdUrl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>logLevel<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">NgxLoggerLevel</span><span class="tsd-signature-symbol">; </span>loggingUrl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>production<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span>publicKeysUrl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>registryAddress<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>serverLogLevel<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">NgxLoggerLevel</span><span class="tsd-signature-symbol">; </span>trustedDeclaratorAddress<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>web3Provider<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> = ...</span></div>
|
<div class="tsd-signature tsd-kind-icon">environment<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>bloxbergChainId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>cicCacheUrl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>cicMetaUrl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>cicUssdUrl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>dashboardUrl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>logLevel<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">NgxLoggerLevel</span><span class="tsd-signature-symbol">; </span>loggingUrl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>production<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span>publicKeysUrl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>registryAddress<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>serverLogLevel<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">NgxLoggerLevel</span><span class="tsd-signature-symbol">; </span>trustedDeclaratorAddress<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>web3Provider<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> = ...</span></div>
|
||||||
<aside class="tsd-sources">
|
<aside class="tsd-sources">
|
||||||
<ul>
|
<ul>
|
||||||
<li>Defined in src/environments/environment.prod.ts:3</li>
|
<li>Defined in src/environments/environment.prod.ts:3</li>
|
||||||
@ -104,6 +104,9 @@
|
|||||||
<li class="tsd-parameter">
|
<li class="tsd-parameter">
|
||||||
<h5>cic<wbr>Ussd<wbr>Url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
|
<h5>cic<wbr>Ussd<wbr>Url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
|
||||||
</li>
|
</li>
|
||||||
|
<li class="tsd-parameter">
|
||||||
|
<h5>dashboard<wbr>Url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5>
|
||||||
|
</li>
|
||||||
<li class="tsd-parameter">
|
<li class="tsd-parameter">
|
||||||
<h5>log<wbr>Level<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">NgxLoggerLevel</span></h5>
|
<h5>log<wbr>Level<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">NgxLoggerLevel</span></h5>
|
||||||
</li>
|
</li>
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -129,7 +129,7 @@ const defaultAccount: AccountDetails = {
|
|||||||
meta: {
|
meta: {
|
||||||
TYP: [],
|
TYP: [],
|
||||||
},
|
},
|
||||||
value: '',
|
value: '+254700000000',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
version: [
|
version: [
|
||||||
|
@ -12,29 +12,5 @@ interface Action {
|
|||||||
user: string;
|
user: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Area name object interface */
|
|
||||||
interface AreaName {
|
|
||||||
/** Locations that map to that area name. */
|
|
||||||
locations: Array<string>;
|
|
||||||
/** Name of area */
|
|
||||||
name: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Area type object interface */
|
|
||||||
interface AreaType {
|
|
||||||
/** Areas that map to that area type. */
|
|
||||||
area: Array<string>;
|
|
||||||
/** Type of area */
|
|
||||||
name: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Category object interface */
|
|
||||||
interface Category {
|
|
||||||
/** Business category */
|
|
||||||
name: string;
|
|
||||||
/** Products that map to that category. */
|
|
||||||
products: Array<string>;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** @exports */
|
/** @exports */
|
||||||
export { Action, AreaName, AreaType, Category };
|
export { Action };
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { Injectable } from '@angular/core';
|
import { Injectable } from '@angular/core';
|
||||||
import { Observable } from 'rxjs';
|
import { BehaviorSubject, Observable } from 'rxjs';
|
||||||
import { environment } from '@src/environments/environment';
|
import { environment } from '@src/environments/environment';
|
||||||
import { first } from 'rxjs/operators';
|
import { first } from 'rxjs/operators';
|
||||||
import { HttpClient } from '@angular/common/http';
|
import { HttpClient } from '@angular/common/http';
|
||||||
@ -8,23 +8,51 @@ import { HttpClient } from '@angular/common/http';
|
|||||||
providedIn: 'root',
|
providedIn: 'root',
|
||||||
})
|
})
|
||||||
export class LocationService {
|
export class LocationService {
|
||||||
|
areaNames: object = {};
|
||||||
|
private areaNamesList: BehaviorSubject<object> = new BehaviorSubject<object>(this.areaNames);
|
||||||
|
areaNamesSubject: Observable<object> = this.areaNamesList.asObservable();
|
||||||
|
|
||||||
|
areaTypes: object = {};
|
||||||
|
private areaTypesList: BehaviorSubject<object> = new BehaviorSubject<object>(this.areaTypes);
|
||||||
|
areaTypesSubject: Observable<object> = this.areaTypesList.asObservable();
|
||||||
|
|
||||||
constructor(private httpClient: HttpClient) {}
|
constructor(private httpClient: HttpClient) {}
|
||||||
|
|
||||||
getAreaNames(): Observable<any> {
|
getAreaNames(): void {
|
||||||
return this.httpClient.get(`${environment.cicMetaUrl}/areanames`);
|
this.httpClient
|
||||||
|
.get(`${environment.cicMetaUrl}/areanames`)
|
||||||
|
.pipe(first())
|
||||||
|
.subscribe((res: object) => this.areaNamesList.next(res));
|
||||||
}
|
}
|
||||||
|
|
||||||
getAreaNameByLocation(location: string): Observable<any> {
|
getAreaNameByLocation(location: string, areaNames: object): string {
|
||||||
return this.httpClient.get(`${environment.cicMetaUrl}/areanames/${location.toLowerCase()}`);
|
const keywords = location.toLowerCase().split(' ');
|
||||||
|
for (const keyword of keywords) {
|
||||||
|
const queriedAreaName: string = Object.keys(areaNames).find((key) =>
|
||||||
|
areaNames[key].includes(keyword)
|
||||||
|
);
|
||||||
|
if (queriedAreaName) {
|
||||||
|
return queriedAreaName;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getAreaTypes(): Observable<any> {
|
getAreaTypes(): void {
|
||||||
return this.httpClient.get(`${environment.cicMetaUrl}/areatypes`).pipe(first());
|
this.httpClient
|
||||||
|
.get(`${environment.cicMetaUrl}/areatypes`)
|
||||||
|
.pipe(first())
|
||||||
|
.subscribe((res: object) => this.areaTypesList.next(res));
|
||||||
}
|
}
|
||||||
|
|
||||||
getAreaTypeByArea(area: string): Observable<any> {
|
getAreaTypeByArea(area: string, areaTypes: object): string {
|
||||||
return this.httpClient
|
const keywords = area.toLowerCase().split(' ');
|
||||||
.get(`${environment.cicMetaUrl}/areatypes/${area.toLowerCase()}`)
|
for (const keyword of keywords) {
|
||||||
.pipe(first());
|
const queriedAreaType: string = Object.keys(areaTypes).find((key) =>
|
||||||
|
areaTypes[key].includes(keyword)
|
||||||
|
);
|
||||||
|
if (queriedAreaType) {
|
||||||
|
return queriedAreaType;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
import { Injectable } from '@angular/core';
|
import { Injectable } from '@angular/core';
|
||||||
import { CICRegistry } from '@cicnet/cic-client';
|
import { CICRegistry } from '@cicnet/cic-client';
|
||||||
import { TokenRegistry } from '@app/_eth';
|
import { TokenRegistry } from '@app/_eth';
|
||||||
import { HttpClient } from '@angular/common/http';
|
|
||||||
import { RegistryService } from '@app/_services/registry.service';
|
import { RegistryService } from '@app/_services/registry.service';
|
||||||
import { Token } from '@app/_models';
|
import { Token } from '@app/_models';
|
||||||
import { BehaviorSubject, Observable, Subject } from 'rxjs';
|
import { BehaviorSubject, Observable, Subject } from 'rxjs';
|
||||||
@ -19,7 +18,7 @@ export class TokenService {
|
|||||||
tokensSubject: Observable<Array<Token>> = this.tokensList.asObservable();
|
tokensSubject: Observable<Array<Token>> = this.tokensList.asObservable();
|
||||||
load: BehaviorSubject<any> = new BehaviorSubject<any>(false);
|
load: BehaviorSubject<any> = new BehaviorSubject<any>(false);
|
||||||
|
|
||||||
constructor(private httpClient: HttpClient) {}
|
constructor() {}
|
||||||
|
|
||||||
async init(): Promise<void> {
|
async init(): Promise<void> {
|
||||||
this.registry = await RegistryService.getRegistry();
|
this.registry = await RegistryService.getRegistry();
|
||||||
|
@ -62,30 +62,46 @@ export class TransactionService {
|
|||||||
transaction.value = Number(transaction.value);
|
transaction.value = Number(transaction.value);
|
||||||
transaction.type = 'transaction';
|
transaction.type = 'transaction';
|
||||||
try {
|
try {
|
||||||
this.userService
|
if (transaction.from === environment.trustedDeclaratorAddress) {
|
||||||
.getAccountDetailsFromMeta(await User.toKey(transaction.from))
|
transaction.sender = defaultAccount;
|
||||||
.pipe(first())
|
this.userService.addAccount(defaultAccount, cacheSize);
|
||||||
.subscribe(
|
} else {
|
||||||
(res) => {
|
this.userService
|
||||||
transaction.sender = this.getAccountInfo(res, cacheSize);
|
.getAccountDetailsFromMeta(await User.toKey(transaction.from))
|
||||||
},
|
.pipe(first())
|
||||||
(error) => {
|
.subscribe(
|
||||||
transaction.sender = defaultAccount;
|
(res) => {
|
||||||
this.userService.addAccount(defaultAccount, cacheSize);
|
transaction.sender = this.getAccountInfo(res, cacheSize);
|
||||||
}
|
},
|
||||||
);
|
(error) => {
|
||||||
this.userService
|
this.loggingService.sendErrorLevelMessage(
|
||||||
.getAccountDetailsFromMeta(await User.toKey(transaction.to))
|
`Account with address ${transaction.from} not found`,
|
||||||
.pipe(first())
|
this,
|
||||||
.subscribe(
|
{ error }
|
||||||
(res) => {
|
);
|
||||||
transaction.recipient = this.getAccountInfo(res, cacheSize);
|
}
|
||||||
},
|
);
|
||||||
(error) => {
|
}
|
||||||
transaction.recipient = defaultAccount;
|
if (transaction.to === environment.trustedDeclaratorAddress) {
|
||||||
this.userService.addAccount(defaultAccount, cacheSize);
|
transaction.recipient = defaultAccount;
|
||||||
}
|
this.userService.addAccount(defaultAccount, cacheSize);
|
||||||
);
|
} else {
|
||||||
|
this.userService
|
||||||
|
.getAccountDetailsFromMeta(await User.toKey(transaction.to))
|
||||||
|
.pipe(first())
|
||||||
|
.subscribe(
|
||||||
|
(res) => {
|
||||||
|
transaction.recipient = this.getAccountInfo(res, cacheSize);
|
||||||
|
},
|
||||||
|
(error) => {
|
||||||
|
this.loggingService.sendErrorLevelMessage(
|
||||||
|
`Account with address ${transaction.to} not found`,
|
||||||
|
this,
|
||||||
|
{ error }
|
||||||
|
);
|
||||||
|
}
|
||||||
|
);
|
||||||
|
}
|
||||||
} finally {
|
} finally {
|
||||||
this.addTransaction(transaction, cacheSize);
|
this.addTransaction(transaction, cacheSize);
|
||||||
}
|
}
|
||||||
@ -99,18 +115,26 @@ export class TransactionService {
|
|||||||
conversion.fromValue = Number(conversion.fromValue);
|
conversion.fromValue = Number(conversion.fromValue);
|
||||||
conversion.toValue = Number(conversion.toValue);
|
conversion.toValue = Number(conversion.toValue);
|
||||||
try {
|
try {
|
||||||
this.userService
|
if (conversion.trader === environment.trustedDeclaratorAddress) {
|
||||||
.getAccountDetailsFromMeta(await User.toKey(conversion.trader))
|
conversion.sender = conversion.recipient = defaultAccount;
|
||||||
.pipe(first())
|
this.userService.addAccount(defaultAccount, cacheSize);
|
||||||
.subscribe(
|
} else {
|
||||||
(res) => {
|
this.userService
|
||||||
conversion.sender = conversion.recipient = this.getAccountInfo(res);
|
.getAccountDetailsFromMeta(await User.toKey(conversion.trader))
|
||||||
},
|
.pipe(first())
|
||||||
(error) => {
|
.subscribe(
|
||||||
conversion.sender = conversion.recipient = defaultAccount;
|
(res) => {
|
||||||
this.userService.addAccount(defaultAccount, cacheSize);
|
conversion.sender = conversion.recipient = this.getAccountInfo(res);
|
||||||
}
|
},
|
||||||
);
|
(error) => {
|
||||||
|
this.loggingService.sendErrorLevelMessage(
|
||||||
|
`Account with address ${conversion.trader} not found`,
|
||||||
|
this,
|
||||||
|
{ error }
|
||||||
|
);
|
||||||
|
}
|
||||||
|
);
|
||||||
|
}
|
||||||
} finally {
|
} finally {
|
||||||
this.addTransaction(conversion, cacheSize);
|
this.addTransaction(conversion, cacheSize);
|
||||||
}
|
}
|
||||||
|
@ -36,6 +36,10 @@ export class UserService {
|
|||||||
private actionsList: BehaviorSubject<any> = new BehaviorSubject<any>(this.actions);
|
private actionsList: BehaviorSubject<any> = new BehaviorSubject<any>(this.actions);
|
||||||
actionsSubject: Observable<Array<any>> = this.actionsList.asObservable();
|
actionsSubject: Observable<Array<any>> = this.actionsList.asObservable();
|
||||||
|
|
||||||
|
categories: object = {};
|
||||||
|
private categoriesList: BehaviorSubject<object> = new BehaviorSubject<object>(this.categories);
|
||||||
|
categoriesSubject: Observable<object> = this.categoriesList.asObservable();
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private httpClient: HttpClient,
|
private httpClient: HttpClient,
|
||||||
private loggingService: LoggingService,
|
private loggingService: LoggingService,
|
||||||
@ -86,17 +90,37 @@ export class UserService {
|
|||||||
},
|
},
|
||||||
location: {},
|
location: {},
|
||||||
};
|
};
|
||||||
accountInfo.vcard.fn[0].value = name;
|
if (name) {
|
||||||
accountInfo.vcard.n[0].value = name.split(' ');
|
accountInfo.vcard.fn[0].value = name;
|
||||||
accountInfo.vcard.tel[0].value = phoneNumber;
|
accountInfo.vcard.n[0].value = name.split(' ');
|
||||||
accountInfo.products = [bio];
|
}
|
||||||
accountInfo.gender = gender;
|
if (phoneNumber) {
|
||||||
accountInfo.age = age;
|
accountInfo.vcard.tel[0].value = phoneNumber;
|
||||||
accountInfo.type = type;
|
}
|
||||||
accountInfo.category = businessCategory;
|
if (bio) {
|
||||||
accountInfo.location.area = location;
|
accountInfo.products = [bio];
|
||||||
accountInfo.location.area_name = userLocation;
|
}
|
||||||
accountInfo.location.area_type = locationType;
|
if (gender) {
|
||||||
|
accountInfo.gender = gender;
|
||||||
|
}
|
||||||
|
if (age) {
|
||||||
|
accountInfo.age = age;
|
||||||
|
}
|
||||||
|
if (type) {
|
||||||
|
accountInfo.type = type;
|
||||||
|
}
|
||||||
|
if (businessCategory) {
|
||||||
|
accountInfo.category = businessCategory;
|
||||||
|
}
|
||||||
|
if (location) {
|
||||||
|
accountInfo.location.area = location;
|
||||||
|
}
|
||||||
|
if (userLocation) {
|
||||||
|
accountInfo.location.area_name = userLocation;
|
||||||
|
}
|
||||||
|
if (locationType) {
|
||||||
|
accountInfo.location.area_type = locationType;
|
||||||
|
}
|
||||||
await vcardValidation(accountInfo.vcard);
|
await vcardValidation(accountInfo.vcard);
|
||||||
accountInfo.vcard = btoa(vCard.generate(accountInfo.vcard));
|
accountInfo.vcard = btoa(vCard.generate(accountInfo.vcard));
|
||||||
const accountKey: string = await User.toKey(address);
|
const accountKey: string = await User.toKey(address);
|
||||||
@ -251,12 +275,23 @@ export class UserService {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
getCategories(): Observable<any> {
|
getCategories(): void {
|
||||||
return this.httpClient.get(`${environment.cicMetaUrl}/categories`);
|
this.httpClient
|
||||||
|
.get(`${environment.cicMetaUrl}/categories`)
|
||||||
|
.pipe(first())
|
||||||
|
.subscribe((res: object) => this.categoriesList.next(res));
|
||||||
}
|
}
|
||||||
|
|
||||||
getCategoryByProduct(product: string): Observable<any> {
|
getCategoryByProduct(product: string, categories: object): string {
|
||||||
return this.httpClient.get(`${environment.cicMetaUrl}/categories/${product.toLowerCase()}`);
|
const keywords = product.toLowerCase().split(' ');
|
||||||
|
for (const keyword of keywords) {
|
||||||
|
const queriedCategory: string = Object.keys(categories).find((key) =>
|
||||||
|
categories[key].includes(keyword)
|
||||||
|
);
|
||||||
|
if (queriedCategory) {
|
||||||
|
return queriedCategory;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getAccountTypes(): Observable<any> {
|
getAccountTypes(): Observable<any> {
|
||||||
|
@ -113,24 +113,6 @@
|
|||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
</div>
|
</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">
|
<div class="col-md-6 col-lg-4">
|
||||||
<mat-form-field appearance="outline">
|
<mat-form-field appearance="outline">
|
||||||
<mat-label> ACCOUNT TYPE: </mat-label>
|
<mat-label> ACCOUNT TYPE: </mat-label>
|
||||||
@ -150,24 +132,6 @@
|
|||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
</div>
|
</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">
|
<div class="col-md-6 col-lg-4">
|
||||||
<mat-form-field appearance="outline">
|
<mat-form-field appearance="outline">
|
||||||
<mat-label> GENDER: </mat-label>
|
<mat-label> GENDER: </mat-label>
|
||||||
@ -187,12 +151,48 @@
|
|||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
</div>
|
</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">
|
<div class="col-md-6 col-lg-4">
|
||||||
<mat-form-field appearance="outline">
|
<mat-form-field appearance="outline">
|
||||||
<mat-label> BUSINESS CATEGORY: </mat-label>
|
<mat-label> BUSINESS CATEGORY: </mat-label>
|
||||||
<mat-select
|
<mat-select
|
||||||
id="businessCategory"
|
id="businessCategory"
|
||||||
[(value)]="account.category"
|
[(value)]="category"
|
||||||
formControlName="businessCategory"
|
formControlName="businessCategory"
|
||||||
[errorStateMatcher]="matcher"
|
[errorStateMatcher]="matcher"
|
||||||
>
|
>
|
||||||
@ -229,7 +229,7 @@
|
|||||||
<mat-label> LOCATION: </mat-label>
|
<mat-label> LOCATION: </mat-label>
|
||||||
<mat-select
|
<mat-select
|
||||||
id="location"
|
id="location"
|
||||||
[(value)]="account.location.area"
|
[(value)]="area"
|
||||||
formControlName="location"
|
formControlName="location"
|
||||||
[errorStateMatcher]="matcher"
|
[errorStateMatcher]="matcher"
|
||||||
>
|
>
|
||||||
@ -248,7 +248,7 @@
|
|||||||
<mat-label> LOCATION TYPE: </mat-label>
|
<mat-label> LOCATION TYPE: </mat-label>
|
||||||
<mat-select
|
<mat-select
|
||||||
id="locationType"
|
id="locationType"
|
||||||
[(value)]="account.location.area_type"
|
[(value)]="areaType"
|
||||||
formControlName="locationType"
|
formControlName="locationType"
|
||||||
[errorStateMatcher]="matcher"
|
[errorStateMatcher]="matcher"
|
||||||
>
|
>
|
||||||
|
@ -23,7 +23,7 @@ import { copyToClipboard, CustomErrorStateMatcher, exportCsv } from '@app/_helpe
|
|||||||
import { MatSnackBar } from '@angular/material/snack-bar';
|
import { MatSnackBar } from '@angular/material/snack-bar';
|
||||||
import { add0x, strip0x } from '@src/assets/js/ethtx/dist/hex';
|
import { add0x, strip0x } from '@src/assets/js/ethtx/dist/hex';
|
||||||
import { environment } from '@src/environments/environment';
|
import { environment } from '@src/environments/environment';
|
||||||
import { AccountDetails, AreaName, AreaType, Category, Transaction } from '@app/_models';
|
import { AccountDetails, Transaction } from '@app/_models';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-account-details',
|
selector: 'app-account-details',
|
||||||
@ -52,9 +52,9 @@ export class AccountDetailsComponent implements OnInit {
|
|||||||
accountStatus: any;
|
accountStatus: any;
|
||||||
accounts: Array<AccountDetails> = [];
|
accounts: Array<AccountDetails> = [];
|
||||||
accountsType: string = 'all';
|
accountsType: string = 'all';
|
||||||
categories: Array<Category>;
|
categories: Array<string>;
|
||||||
areaNames: Array<AreaName>;
|
areaNames: Array<string>;
|
||||||
areaTypes: Array<AreaType>;
|
areaTypes: Array<string>;
|
||||||
transaction: any;
|
transaction: any;
|
||||||
transactions: Array<Transaction>;
|
transactions: Array<Transaction>;
|
||||||
transactionsType: string = 'all';
|
transactionsType: string = 'all';
|
||||||
@ -65,6 +65,9 @@ export class AccountDetailsComponent implements OnInit {
|
|||||||
submitted: boolean = false;
|
submitted: boolean = false;
|
||||||
bloxbergLink: string;
|
bloxbergLink: string;
|
||||||
tokenSymbol: string;
|
tokenSymbol: string;
|
||||||
|
category: string;
|
||||||
|
area: string;
|
||||||
|
areaType: string;
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private formBuilder: FormBuilder,
|
private formBuilder: FormBuilder,
|
||||||
@ -91,7 +94,7 @@ export class AccountDetailsComponent implements OnInit {
|
|||||||
firstName: ['', Validators.required],
|
firstName: ['', Validators.required],
|
||||||
lastName: ['', Validators.required],
|
lastName: ['', Validators.required],
|
||||||
phoneNumber: ['', Validators.required],
|
phoneNumber: ['', Validators.required],
|
||||||
age: ['', Validators.required],
|
age: [''],
|
||||||
type: ['', Validators.required],
|
type: ['', Validators.required],
|
||||||
bio: ['', Validators.required],
|
bio: ['', Validators.required],
|
||||||
gender: ['', Validators.required],
|
gender: ['', Validators.required],
|
||||||
@ -112,6 +115,21 @@ export class AccountDetailsComponent implements OnInit {
|
|||||||
this.account = res;
|
this.account = res;
|
||||||
this.cdr.detectChanges();
|
this.cdr.detectChanges();
|
||||||
this.loggingService.sendInfoLevelMessage(this.account);
|
this.loggingService.sendInfoLevelMessage(this.account);
|
||||||
|
this.locationService.areaNamesSubject.subscribe((response) => {
|
||||||
|
this.area = this.locationService.getAreaNameByLocation(
|
||||||
|
this.account.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(this.account.products[0], result);
|
||||||
|
this.cdr.detectChanges();
|
||||||
|
});
|
||||||
const fullName = this.account.vcard?.fn[0].value.split(' ');
|
const fullName = this.account.vcard?.fn[0].value.split(' ');
|
||||||
this.accountInfoForm.patchValue({
|
this.accountInfoForm.patchValue({
|
||||||
firstName: fullName[0].split(',')[0],
|
firstName: fullName[0].split(',')[0],
|
||||||
@ -121,26 +139,10 @@ export class AccountDetailsComponent implements OnInit {
|
|||||||
type: this.account.type,
|
type: this.account.type,
|
||||||
bio: this.account.products,
|
bio: this.account.products,
|
||||||
gender: this.account.gender,
|
gender: this.account.gender,
|
||||||
businessCategory:
|
businessCategory: this.account.category || this.category || 'other',
|
||||||
this.account.category ||
|
|
||||||
this.userService.getCategoryByProduct(this.account.products[0]),
|
|
||||||
userLocation: this.account.location.area_name,
|
userLocation: this.account.location.area_name,
|
||||||
location:
|
location: this.account.location.area || this.area || 'other',
|
||||||
this.account.location.area ||
|
locationType: this.account.location.area_type || this.areaType || 'other',
|
||||||
this.locationService
|
|
||||||
.getAreaNameByLocation(this.account.location.area_name)
|
|
||||||
.pipe(first())
|
|
||||||
.subscribe((response) => {
|
|
||||||
return response;
|
|
||||||
}),
|
|
||||||
locationType:
|
|
||||||
this.account.location.area_type ||
|
|
||||||
this.locationService
|
|
||||||
.getAreaTypeByArea(this.accountInfoFormStub.location.value)
|
|
||||||
.pipe(first())
|
|
||||||
.subscribe((response) => {
|
|
||||||
return response;
|
|
||||||
}),
|
|
||||||
});
|
});
|
||||||
this.userService
|
this.userService
|
||||||
.getAccountStatus(this.account.vcard?.tel[0].value)
|
.getAccountStatus(this.account.vcard?.tel[0].value)
|
||||||
@ -166,18 +168,18 @@ export class AccountDetailsComponent implements OnInit {
|
|||||||
this.transactions = transactions;
|
this.transactions = transactions;
|
||||||
this.cdr.detectChanges();
|
this.cdr.detectChanges();
|
||||||
});
|
});
|
||||||
this.userService
|
this.userService.getCategories();
|
||||||
.getCategories()
|
this.userService.categoriesSubject.subscribe((res) => {
|
||||||
.pipe(first())
|
this.categories = Object.keys(res);
|
||||||
.subscribe((res) => (this.categories = res));
|
});
|
||||||
this.locationService
|
this.locationService.getAreaNames();
|
||||||
.getAreaNames()
|
this.locationService.areaNamesSubject.subscribe((res) => {
|
||||||
.pipe(first())
|
this.areaNames = Object.keys(res);
|
||||||
.subscribe((res) => (this.areaNames = res));
|
});
|
||||||
this.locationService
|
this.locationService.getAreaTypes();
|
||||||
.getAreaTypes()
|
this.locationService.areaTypesSubject.subscribe((res) => {
|
||||||
.pipe(first())
|
this.areaTypes = Object.keys(res);
|
||||||
.subscribe((res) => (this.areaTypes = res));
|
});
|
||||||
this.userService
|
this.userService
|
||||||
.getAccountTypes()
|
.getAccountTypes()
|
||||||
.pipe(first())
|
.pipe(first())
|
||||||
@ -261,7 +263,7 @@ export class AccountDetailsComponent implements OnInit {
|
|||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
this.transactionsDataSource.data = this.transactions.filter(
|
this.transactionsDataSource.data = this.transactions.filter(
|
||||||
(transaction) => transaction.type === this.transactionsType
|
(transaction) => transaction.type + 's' === this.transactionsType
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -28,10 +28,7 @@ export class AccountSearchComponent implements OnInit {
|
|||||||
private formBuilder: FormBuilder,
|
private formBuilder: FormBuilder,
|
||||||
private userService: UserService,
|
private userService: UserService,
|
||||||
private router: Router
|
private router: Router
|
||||||
) {}
|
) {
|
||||||
|
|
||||||
async ngOnInit(): Promise<void> {
|
|
||||||
await this.userService.init();
|
|
||||||
this.nameSearchForm = this.formBuilder.group({
|
this.nameSearchForm = this.formBuilder.group({
|
||||||
name: ['', Validators.required],
|
name: ['', Validators.required],
|
||||||
});
|
});
|
||||||
@ -43,6 +40,10 @@ export class AccountSearchComponent implements OnInit {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async ngOnInit(): Promise<void> {
|
||||||
|
await this.userService.init();
|
||||||
|
}
|
||||||
|
|
||||||
get nameSearchFormStub(): any {
|
get nameSearchFormStub(): any {
|
||||||
return this.nameSearchForm.controls;
|
return this.nameSearchForm.controls;
|
||||||
}
|
}
|
||||||
|
@ -89,7 +89,9 @@
|
|||||||
|
|
||||||
<ng-container matColumnDef="balance">
|
<ng-container matColumnDef="balance">
|
||||||
<mat-header-cell *matHeaderCellDef mat-sort-header> BALANCE </mat-header-cell>
|
<mat-header-cell *matHeaderCellDef mat-sort-header> BALANCE </mat-header-cell>
|
||||||
<mat-cell *matCellDef="let user"> {{ user?.balance | tokenRatio }} </mat-cell>
|
<mat-cell *matCellDef="let user">
|
||||||
|
{{ user?.balance | tokenRatio }} {{ tokenSymbol | uppercase }}
|
||||||
|
</mat-cell>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
|
||||||
<ng-container matColumnDef="location">
|
<ng-container matColumnDef="location">
|
||||||
|
@ -2,7 +2,7 @@ import { ChangeDetectionStrategy, Component, OnInit, ViewChild } from '@angular/
|
|||||||
import { MatTableDataSource } from '@angular/material/table';
|
import { MatTableDataSource } from '@angular/material/table';
|
||||||
import { MatPaginator } from '@angular/material/paginator';
|
import { MatPaginator } from '@angular/material/paginator';
|
||||||
import { MatSort } from '@angular/material/sort';
|
import { MatSort } from '@angular/material/sort';
|
||||||
import { LoggingService, UserService } from '@app/_services';
|
import { LoggingService, TokenService, UserService } from '@app/_services';
|
||||||
import { Router } from '@angular/router';
|
import { Router } from '@angular/router';
|
||||||
import { exportCsv } from '@app/_helpers';
|
import { exportCsv } from '@app/_helpers';
|
||||||
import { strip0x } from '@src/assets/js/ethtx/dist/hex';
|
import { strip0x } from '@src/assets/js/ethtx/dist/hex';
|
||||||
@ -24,6 +24,7 @@ export class AccountsComponent implements OnInit {
|
|||||||
pageSizeOptions: Array<number> = [10, 20, 50, 100];
|
pageSizeOptions: Array<number> = [10, 20, 50, 100];
|
||||||
accountsType: string = 'all';
|
accountsType: string = 'all';
|
||||||
accountTypes: Array<string>;
|
accountTypes: Array<string>;
|
||||||
|
tokenSymbol: string;
|
||||||
|
|
||||||
@ViewChild(MatPaginator) paginator: MatPaginator;
|
@ViewChild(MatPaginator) paginator: MatPaginator;
|
||||||
@ViewChild(MatSort) sort: MatSort;
|
@ViewChild(MatSort) sort: MatSort;
|
||||||
@ -31,11 +32,13 @@ export class AccountsComponent implements OnInit {
|
|||||||
constructor(
|
constructor(
|
||||||
private userService: UserService,
|
private userService: UserService,
|
||||||
private loggingService: LoggingService,
|
private loggingService: LoggingService,
|
||||||
private router: Router
|
private router: Router,
|
||||||
|
private tokenService: TokenService
|
||||||
) {}
|
) {}
|
||||||
|
|
||||||
async ngOnInit(): Promise<void> {
|
async ngOnInit(): Promise<void> {
|
||||||
await this.userService.init();
|
await this.userService.init();
|
||||||
|
await this.tokenService.init();
|
||||||
try {
|
try {
|
||||||
// TODO it feels like this should be in the onInit handler
|
// TODO it feels like this should be in the onInit handler
|
||||||
await this.userService.loadAccounts(100);
|
await this.userService.loadAccounts(100);
|
||||||
@ -52,6 +55,11 @@ export class AccountsComponent implements OnInit {
|
|||||||
.getAccountTypes()
|
.getAccountTypes()
|
||||||
.pipe(first())
|
.pipe(first())
|
||||||
.subscribe((res) => (this.accountTypes = res));
|
.subscribe((res) => (this.accountTypes = res));
|
||||||
|
this.tokenService.load.subscribe(async (status: boolean) => {
|
||||||
|
if (status) {
|
||||||
|
this.tokenSymbol = await this.tokenService.getTokenSymbol();
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
doFilter(value: string): void {
|
doFilter(value: string): void {
|
||||||
|
@ -3,7 +3,6 @@ import { FormBuilder, FormGroup, Validators } from '@angular/forms';
|
|||||||
import { LocationService, UserService } from '@app/_services';
|
import { LocationService, UserService } from '@app/_services';
|
||||||
import { CustomErrorStateMatcher } from '@app/_helpers';
|
import { CustomErrorStateMatcher } from '@app/_helpers';
|
||||||
import { first } from 'rxjs/operators';
|
import { first } from 'rxjs/operators';
|
||||||
import { AreaName, Category } from '@app/_models';
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-create-account',
|
selector: 'app-create-account',
|
||||||
@ -15,8 +14,8 @@ export class CreateAccountComponent implements OnInit {
|
|||||||
createForm: FormGroup;
|
createForm: FormGroup;
|
||||||
matcher: CustomErrorStateMatcher = new CustomErrorStateMatcher();
|
matcher: CustomErrorStateMatcher = new CustomErrorStateMatcher();
|
||||||
submitted: boolean = false;
|
submitted: boolean = false;
|
||||||
categories: Array<Category>;
|
categories: Array<string>;
|
||||||
areaNames: Array<AreaName>;
|
areaNames: Array<string>;
|
||||||
accountTypes: Array<string>;
|
accountTypes: Array<string>;
|
||||||
genders: Array<string>;
|
genders: Array<string>;
|
||||||
|
|
||||||
@ -40,14 +39,14 @@ export class CreateAccountComponent implements OnInit {
|
|||||||
referrer: ['', Validators.required],
|
referrer: ['', Validators.required],
|
||||||
businessCategory: ['', Validators.required],
|
businessCategory: ['', Validators.required],
|
||||||
});
|
});
|
||||||
this.userService
|
this.userService.getCategories();
|
||||||
.getCategories()
|
this.userService.categoriesSubject.subscribe((res) => {
|
||||||
.pipe(first())
|
this.categories = Object.keys(res);
|
||||||
.subscribe((res) => (this.categories = res));
|
});
|
||||||
this.locationService
|
this.locationService.getAreaNames();
|
||||||
.getAreaNames()
|
this.locationService.areaNamesSubject.subscribe((res) => {
|
||||||
.pipe(first())
|
this.areaNames = Object.keys(res);
|
||||||
.subscribe((res) => (this.areaNames = res));
|
});
|
||||||
this.userService
|
this.userService
|
||||||
.getAccountTypes()
|
.getAccountTypes()
|
||||||
.pipe(first())
|
.pipe(first())
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
||||||
|
import { environment } from '@src/environments/environment';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-pages',
|
selector: 'app-pages',
|
||||||
@ -7,7 +8,7 @@ import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|||||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||||
})
|
})
|
||||||
export class PagesComponent {
|
export class PagesComponent {
|
||||||
url: string = 'https://dashboard.sarafu.network/';
|
url: string = environment.dashboardUrl;
|
||||||
|
|
||||||
constructor() {}
|
constructor() {}
|
||||||
}
|
}
|
||||||
|
@ -79,7 +79,7 @@ export class TransactionsComponent implements OnInit, AfterViewInit {
|
|||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
this.transactionDataSource.data = this.transactions.filter(
|
this.transactionDataSource.data = this.transactions.filter(
|
||||||
(transaction) => transaction.type === this.transactionsType
|
(transaction) => transaction.type + 's' === this.transactionsType
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -13,4 +13,5 @@ export const environment = {
|
|||||||
cicUssdUrl: 'https://user.dev.grassrootseconomics.net',
|
cicUssdUrl: 'https://user.dev.grassrootseconomics.net',
|
||||||
registryAddress: '0xea6225212005e86a4490018ded4bf37f3e772161',
|
registryAddress: '0xea6225212005e86a4490018ded4bf37f3e772161',
|
||||||
trustedDeclaratorAddress: '0xEb3907eCad74a0013c259D5874AE7f22DcBcC95C',
|
trustedDeclaratorAddress: '0xEb3907eCad74a0013c259D5874AE7f22DcBcC95C',
|
||||||
|
dashboardUrl: 'https://dashboard.sarafu.network/',
|
||||||
};
|
};
|
||||||
|
@ -13,4 +13,5 @@ export const environment = {
|
|||||||
cicUssdUrl: 'https://user.dev.grassrootseconomics.net',
|
cicUssdUrl: 'https://user.dev.grassrootseconomics.net',
|
||||||
registryAddress: '0xea6225212005e86a4490018ded4bf37f3e772161',
|
registryAddress: '0xea6225212005e86a4490018ded4bf37f3e772161',
|
||||||
trustedDeclaratorAddress: '0xEb3907eCad74a0013c259D5874AE7f22DcBcC95C',
|
trustedDeclaratorAddress: '0xEb3907eCad74a0013c259D5874AE7f22DcBcC95C',
|
||||||
|
dashboardUrl: 'https://dashboard.sarafu.network/',
|
||||||
};
|
};
|
||||||
|
@ -13,4 +13,5 @@ export const environment = {
|
|||||||
cicUssdUrl: 'https://user.dev.grassrootseconomics.net',
|
cicUssdUrl: 'https://user.dev.grassrootseconomics.net',
|
||||||
registryAddress: '0xea6225212005e86a4490018ded4bf37f3e772161',
|
registryAddress: '0xea6225212005e86a4490018ded4bf37f3e772161',
|
||||||
trustedDeclaratorAddress: '0xEb3907eCad74a0013c259D5874AE7f22DcBcC95C',
|
trustedDeclaratorAddress: '0xEb3907eCad74a0013c259D5874AE7f22DcBcC95C',
|
||||||
|
dashboardUrl: 'https://dashboard.sarafu.network/',
|
||||||
};
|
};
|
||||||
|
@ -77,8 +77,8 @@ footer.footer {
|
|||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
z-index: 9999;
|
z-index: 9999;
|
||||||
min-width: 250px;
|
min-width: 200px;
|
||||||
max-width: 250px;
|
max-width: 200px;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
background: #313a46;
|
background: #313a46;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
Loading…
Reference in New Issue
Block a user