Refactor mapping of curated options from meta.

This commit is contained in:
Spencer Ofwiti 2021-06-23 07:18:28 +00:00
parent a69213dab2
commit 5e8e0f7209
62 changed files with 4228 additions and 4702 deletions

File diff suppressed because one or more lines are too long

View File

@ -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&lt;void&gt; {
await this.userService.init();
this.nameSearchForm &#x3D; this.formBuilder.group({ this.nameSearchForm &#x3D; this.formBuilder.group({
name: [&#x27;&#x27;, Validators.required], name: [&#x27;&#x27;, Validators.required],
}); });
@ -899,6 +896,10 @@ export class AccountSearchComponent implements OnInit {
}); });
} }
async ngOnInit(): Promise&lt;void&gt; {
await this.userService.init();
}
get nameSearchFormStub(): any { get nameSearchFormStub(): any {
return this.nameSearchForm.controls; return this.nameSearchForm.controls;
} }

View File

@ -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 &#x27;@angular/material/table&#x27;; import { MatTableDataSource } from &#x27;@angular/material/table&#x27;;
import { MatPaginator } from &#x27;@angular/material/paginator&#x27;; import { MatPaginator } from &#x27;@angular/material/paginator&#x27;;
import { MatSort } from &#x27;@angular/material/sort&#x27;; import { MatSort } from &#x27;@angular/material/sort&#x27;;
import { LoggingService, UserService } from &#x27;@app/_services&#x27;; import { LoggingService, TokenService, UserService } from &#x27;@app/_services&#x27;;
import { Router } from &#x27;@angular/router&#x27;; import { Router } from &#x27;@angular/router&#x27;;
import { exportCsv } from &#x27;@app/_helpers&#x27;; import { exportCsv } from &#x27;@app/_helpers&#x27;;
import { strip0x } from &#x27;@src/assets/js/ethtx/dist/hex&#x27;; import { strip0x } from &#x27;@src/assets/js/ethtx/dist/hex&#x27;;
@ -906,6 +948,7 @@ export class AccountsComponent implements OnInit {
pageSizeOptions: Array&lt;number&gt; &#x3D; [10, 20, 50, 100]; pageSizeOptions: Array&lt;number&gt; &#x3D; [10, 20, 50, 100];
accountsType: string &#x3D; &#x27;all&#x27;; accountsType: string &#x3D; &#x27;all&#x27;;
accountTypes: Array&lt;string&gt;; accountTypes: Array&lt;string&gt;;
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&lt;void&gt; { async ngOnInit(): Promise&lt;void&gt; {
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) &#x3D;&gt; (this.accountTypes &#x3D; res)); .subscribe((res) &#x3D;&gt; (this.accountTypes &#x3D; res));
this.tokenService.load.subscribe(async (status: boolean) &#x3D;&gt; {
if (status) {
this.tokenSymbol &#x3D; await this.tokenService.getTokenSymbol();
}
});
} }
doFilter(value: string): void { doFilter(value: string): void {
@ -1064,7 +1114,9 @@ export class AccountsComponent implements OnInit {
&lt;ng-container matColumnDef&#x3D;&quot;balance&quot;&gt; &lt;ng-container matColumnDef&#x3D;&quot;balance&quot;&gt;
&lt;mat-header-cell *matHeaderCellDef mat-sort-header&gt; BALANCE &lt;/mat-header-cell&gt; &lt;mat-header-cell *matHeaderCellDef mat-sort-header&gt; BALANCE &lt;/mat-header-cell&gt;
&lt;mat-cell *matCellDef&#x3D;&quot;let user&quot;&gt; {{ user?.balance | tokenRatio }} &lt;/mat-cell&gt; &lt;mat-cell *matCellDef&#x3D;&quot;let user&quot;&gt;
{{ user?.balance | tokenRatio }} {{ tokenSymbol | uppercase }}
&lt;/mat-cell&gt;
&lt;/ng-container&gt; &lt;/ng-container&gt;
&lt;ng-container matColumnDef&#x3D;&quot;location&quot;&gt; &lt;ng-container matColumnDef&#x3D;&quot;location&quot;&gt;
@ -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'};

View File

@ -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&lt;AreaName&gt;</a></code> <i>Type : </i> <code>Array&lt;string&gt;</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&lt;Category&gt;</a></code> <i>Type : </i> <code>Array&lt;string&gt;</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 &#x27;@angular/forms&#x27;;
import { LocationService, UserService } from &#x27;@app/_services&#x27;; import { LocationService, UserService } from &#x27;@app/_services&#x27;;
import { CustomErrorStateMatcher } from &#x27;@app/_helpers&#x27;; import { CustomErrorStateMatcher } from &#x27;@app/_helpers&#x27;;
import { first } from &#x27;rxjs/operators&#x27;; import { first } from &#x27;rxjs/operators&#x27;;
import { AreaName, Category } from &#x27;@app/_models&#x27;;
@Component({ @Component({
selector: &#x27;app-create-account&#x27;, selector: &#x27;app-create-account&#x27;,
@ -616,8 +615,8 @@ export class CreateAccountComponent implements OnInit {
createForm: FormGroup; createForm: FormGroup;
matcher: CustomErrorStateMatcher &#x3D; new CustomErrorStateMatcher(); matcher: CustomErrorStateMatcher &#x3D; new CustomErrorStateMatcher();
submitted: boolean &#x3D; false; submitted: boolean &#x3D; false;
categories: Array&lt;Category&gt;; categories: Array&lt;string&gt;;
areaNames: Array&lt;AreaName&gt;; areaNames: Array&lt;string&gt;;
accountTypes: Array&lt;string&gt;; accountTypes: Array&lt;string&gt;;
genders: Array&lt;string&gt;; genders: Array&lt;string&gt;;
@ -641,14 +640,14 @@ export class CreateAccountComponent implements OnInit {
referrer: [&#x27;&#x27;, Validators.required], referrer: [&#x27;&#x27;, Validators.required],
businessCategory: [&#x27;&#x27;, Validators.required], businessCategory: [&#x27;&#x27;, Validators.required],
}); });
this.userService this.userService.getCategories();
.getCategories() this.userService.categoriesSubject.subscribe((res) &#x3D;&gt; {
.pipe(first()) this.categories &#x3D; Object.keys(res);
.subscribe((res) &#x3D;&gt; (this.categories &#x3D; res)); });
this.locationService this.locationService.getAreaNames();
.getAreaNames() this.locationService.areaNamesSubject.subscribe((res) &#x3D;&gt; {
.pipe(first()) this.areaNames &#x3D; Object.keys(res);
.subscribe((res) &#x3D;&gt; (this.areaNames &#x3D; res)); });
this.userService this.userService
.getAccountTypes() .getAccountTypes()
.pipe(first()) .pipe(first())

View File

@ -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>&#x27;https://dashboard.sarafu.network/&#x27;</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 &#x27;@angular/core&#x27;; <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { ChangeDetectionStrategy, Component } from &#x27;@angular/core&#x27;;
import { environment } from &#x27;@src/environments/environment&#x27;;
@Component({ @Component({
selector: &#x27;app-pages&#x27;, selector: &#x27;app-pages&#x27;,
@ -219,7 +220,7 @@
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
}) })
export class PagesComponent { export class PagesComponent {
url: string &#x3D; &#x27;https://dashboard.sarafu.network/&#x27;; url: string &#x3D; environment.dashboardUrl;
constructor() {} constructor() {}
} }

View File

@ -1037,7 +1037,7 @@ export class TransactionsComponent implements OnInit, AfterViewInit {
}); });
} else { } else {
this.transactionDataSource.data &#x3D; this.transactions.filter( this.transactionDataSource.data &#x3D; this.transactions.filter(
(transaction) &#x3D;&gt; transaction.type &#x3D;&#x3D;&#x3D; this.transactionsType (transaction) &#x3D;&gt; transaction.type + &#x27;s&#x27; &#x3D;&#x3D;&#x3D; this.transactionsType
); );
} }
} }

View File

@ -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">

View File

@ -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

View File

@ -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&lt;any&gt;</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&lt;any&gt;</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&lt;any&gt;</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&lt;any&gt;</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&lt;object&gt;</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>new BehaviorSubject&lt;object&gt;(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&lt;object&gt;</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&lt;object&gt;</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>new BehaviorSubject&lt;object&gt;(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&lt;object&gt;</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 &#x27;@angular/core&#x27;; <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { Injectable } from &#x27;@angular/core&#x27;;
import { Observable } from &#x27;rxjs&#x27;; import { BehaviorSubject, Observable } from &#x27;rxjs&#x27;;
import { environment } from &#x27;@src/environments/environment&#x27;; import { environment } from &#x27;@src/environments/environment&#x27;;
import { first } from &#x27;rxjs/operators&#x27;; import { first } from &#x27;rxjs/operators&#x27;;
import { HttpClient } from &#x27;@angular/common/http&#x27;; import { HttpClient } from &#x27;@angular/common/http&#x27;;
@ -387,24 +642,52 @@ import { HttpClient } from &#x27;@angular/common/http&#x27;;
providedIn: &#x27;root&#x27;, providedIn: &#x27;root&#x27;,
}) })
export class LocationService { export class LocationService {
areaNames: object &#x3D; {};
private areaNamesList: BehaviorSubject&lt;object&gt; &#x3D; new BehaviorSubject&lt;object&gt;(this.areaNames);
areaNamesSubject: Observable&lt;object&gt; &#x3D; this.areaNamesList.asObservable();
areaTypes: object &#x3D; {};
private areaTypesList: BehaviorSubject&lt;object&gt; &#x3D; new BehaviorSubject&lt;object&gt;(this.areaTypes);
areaTypesSubject: Observable&lt;object&gt; &#x3D; this.areaTypesList.asObservable();
constructor(private httpClient: HttpClient) {} constructor(private httpClient: HttpClient) {}
getAreaNames(): Observable&lt;any&gt; { getAreaNames(): void {
return this.httpClient.get(&#x60;${environment.cicMetaUrl}/areanames&#x60;); this.httpClient
.get(&#x60;${environment.cicMetaUrl}/areanames&#x60;)
.pipe(first())
.subscribe((res: object) &#x3D;&gt; this.areaNamesList.next(res));
} }
getAreaNameByLocation(location: string): Observable&lt;any&gt; { getAreaNameByLocation(location: string, areaNames: object): string {
return this.httpClient.get(&#x60;${environment.cicMetaUrl}/areanames/${location.toLowerCase()}&#x60;); const keywords &#x3D; location.toLowerCase().split(&#x27; &#x27;);
for (const keyword of keywords) {
const queriedAreaName: string &#x3D; Object.keys(areaNames).find((key) &#x3D;&gt;
areaNames[key].includes(keyword)
);
if (queriedAreaName) {
return queriedAreaName;
}
}
} }
getAreaTypes(): Observable&lt;any&gt; { getAreaTypes(): void {
return this.httpClient.get(&#x60;${environment.cicMetaUrl}/areatypes&#x60;).pipe(first()); this.httpClient
.get(&#x60;${environment.cicMetaUrl}/areatypes&#x60;)
.pipe(first())
.subscribe((res: object) &#x3D;&gt; this.areaTypesList.next(res));
} }
getAreaTypeByArea(area: string): Observable&lt;any&gt; { getAreaTypeByArea(area: string, areaTypes: object): string {
return this.httpClient const keywords &#x3D; area.toLowerCase().split(&#x27; &#x27;);
.get(&#x60;${environment.cicMetaUrl}/areatypes/${area.toLowerCase()}&#x60;) for (const keyword of keywords) {
.pipe(first()); const queriedAreaType: string &#x3D; Object.keys(areaTypes).find((key) &#x3D;&gt;
areaTypes[key].includes(keyword)
);
if (queriedAreaType) {
return queriedAreaType;
}
}
} }
} }
</code></pre> </code></pre>

View File

@ -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 &#x27;@angular/core&#x27;; <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { Injectable } from &#x27;@angular/core&#x27;;
import { CICRegistry } from &#x27;@cicnet/cic-client&#x27;; import { CICRegistry } from &#x27;@cicnet/cic-client&#x27;;
import { TokenRegistry } from &#x27;@app/_eth&#x27;; import { TokenRegistry } from &#x27;@app/_eth&#x27;;
import { HttpClient } from &#x27;@angular/common/http&#x27;;
import { RegistryService } from &#x27;@app/_services/registry.service&#x27;; import { RegistryService } from &#x27;@app/_services/registry.service&#x27;;
import { Token } from &#x27;@app/_models&#x27;; import { Token } from &#x27;@app/_models&#x27;;
import { BehaviorSubject, Observable, Subject } from &#x27;rxjs&#x27;; import { BehaviorSubject, Observable, Subject } from &#x27;rxjs&#x27;;
@ -870,7 +839,7 @@ export class TokenService {
tokensSubject: Observable&lt;Array&lt;Token&gt;&gt; &#x3D; this.tokensList.asObservable(); tokensSubject: Observable&lt;Array&lt;Token&gt;&gt; &#x3D; this.tokensList.asObservable();
load: BehaviorSubject&lt;any&gt; &#x3D; new BehaviorSubject&lt;any&gt;(false); load: BehaviorSubject&lt;any&gt; &#x3D; new BehaviorSubject&lt;any&gt;(false);
constructor(private httpClient: HttpClient) {} constructor() {}
async init(): Promise&lt;void&gt; { async init(): Promise&lt;void&gt; {
this.registry &#x3D; await RegistryService.getRegistry(); this.registry &#x3D; await RegistryService.getRegistry();

View File

@ -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,6 +1173,10 @@ export class TransactionService {
transaction.value &#x3D; Number(transaction.value); transaction.value &#x3D; Number(transaction.value);
transaction.type &#x3D; &#x27;transaction&#x27;; transaction.type &#x3D; &#x27;transaction&#x27;;
try { try {
if (transaction.from &#x3D;&#x3D;&#x3D; environment.trustedDeclaratorAddress) {
transaction.sender &#x3D; defaultAccount;
this.userService.addAccount(defaultAccount, cacheSize);
} else {
this.userService this.userService
.getAccountDetailsFromMeta(await User.toKey(transaction.from)) .getAccountDetailsFromMeta(await User.toKey(transaction.from))
.pipe(first()) .pipe(first())
@ -1181,10 +1185,18 @@ export class TransactionService {
transaction.sender &#x3D; this.getAccountInfo(res, cacheSize); transaction.sender &#x3D; this.getAccountInfo(res, cacheSize);
}, },
(error) &#x3D;&gt; { (error) &#x3D;&gt; {
transaction.sender &#x3D; defaultAccount; this.loggingService.sendErrorLevelMessage(
this.userService.addAccount(defaultAccount, cacheSize); &#x60;Account with address ${transaction.from} not found&#x60;,
this,
{ error }
);
} }
); );
}
if (transaction.to &#x3D;&#x3D;&#x3D; environment.trustedDeclaratorAddress) {
transaction.recipient &#x3D; defaultAccount;
this.userService.addAccount(defaultAccount, cacheSize);
} else {
this.userService this.userService
.getAccountDetailsFromMeta(await User.toKey(transaction.to)) .getAccountDetailsFromMeta(await User.toKey(transaction.to))
.pipe(first()) .pipe(first())
@ -1193,10 +1205,14 @@ export class TransactionService {
transaction.recipient &#x3D; this.getAccountInfo(res, cacheSize); transaction.recipient &#x3D; this.getAccountInfo(res, cacheSize);
}, },
(error) &#x3D;&gt; { (error) &#x3D;&gt; {
transaction.recipient &#x3D; defaultAccount; this.loggingService.sendErrorLevelMessage(
this.userService.addAccount(defaultAccount, cacheSize); &#x60;Account with address ${transaction.to} not found&#x60;,
this,
{ error }
);
} }
); );
}
} finally { } finally {
this.addTransaction(transaction, cacheSize); this.addTransaction(transaction, cacheSize);
} }
@ -1210,6 +1226,10 @@ export class TransactionService {
conversion.fromValue &#x3D; Number(conversion.fromValue); conversion.fromValue &#x3D; Number(conversion.fromValue);
conversion.toValue &#x3D; Number(conversion.toValue); conversion.toValue &#x3D; Number(conversion.toValue);
try { try {
if (conversion.trader &#x3D;&#x3D;&#x3D; environment.trustedDeclaratorAddress) {
conversion.sender &#x3D; conversion.recipient &#x3D; defaultAccount;
this.userService.addAccount(defaultAccount, cacheSize);
} else {
this.userService this.userService
.getAccountDetailsFromMeta(await User.toKey(conversion.trader)) .getAccountDetailsFromMeta(await User.toKey(conversion.trader))
.pipe(first()) .pipe(first())
@ -1218,10 +1238,14 @@ export class TransactionService {
conversion.sender &#x3D; conversion.recipient &#x3D; this.getAccountInfo(res); conversion.sender &#x3D; conversion.recipient &#x3D; this.getAccountInfo(res);
}, },
(error) &#x3D;&gt; { (error) &#x3D;&gt; {
conversion.sender &#x3D; conversion.recipient &#x3D; defaultAccount; this.loggingService.sendErrorLevelMessage(
this.userService.addAccount(defaultAccount, cacheSize); &#x60;Account with address ${conversion.trader} not found&#x60;,
this,
{ error }
);
} }
); );
}
} finally { } finally {
this.addTransaction(conversion, cacheSize); this.addTransaction(conversion, cacheSize);
} }

View File

@ -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&lt;any&gt;</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&lt;any&gt;</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&lt;object&gt;</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>new BehaviorSubject&lt;object&gt;(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&lt;object&gt;</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&lt;any&gt; &#x3D; new BehaviorSubject&lt;any&gt;(this.actions); private actionsList: BehaviorSubject&lt;any&gt; &#x3D; new BehaviorSubject&lt;any&gt;(this.actions);
actionsSubject: Observable&lt;Array&lt;any&gt;&gt; &#x3D; this.actionsList.asObservable(); actionsSubject: Observable&lt;Array&lt;any&gt;&gt; &#x3D; this.actionsList.asObservable();
categories: object &#x3D; {};
private categoriesList: BehaviorSubject&lt;object&gt; &#x3D; new BehaviorSubject&lt;object&gt;(this.categories);
categoriesSubject: Observable&lt;object&gt; &#x3D; 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: {},
}; };
if (name) {
accountInfo.vcard.fn[0].value &#x3D; name; accountInfo.vcard.fn[0].value &#x3D; name;
accountInfo.vcard.n[0].value &#x3D; name.split(&#x27; &#x27;); accountInfo.vcard.n[0].value &#x3D; name.split(&#x27; &#x27;);
}
if (phoneNumber) {
accountInfo.vcard.tel[0].value &#x3D; phoneNumber; accountInfo.vcard.tel[0].value &#x3D; phoneNumber;
}
if (bio) {
accountInfo.products &#x3D; [bio]; accountInfo.products &#x3D; [bio];
}
if (gender) {
accountInfo.gender &#x3D; gender; accountInfo.gender &#x3D; gender;
}
if (age) {
accountInfo.age &#x3D; age; accountInfo.age &#x3D; age;
}
if (type) {
accountInfo.type &#x3D; type; accountInfo.type &#x3D; type;
}
if (businessCategory) {
accountInfo.category &#x3D; businessCategory; accountInfo.category &#x3D; businessCategory;
}
if (location) {
accountInfo.location.area &#x3D; location; accountInfo.location.area &#x3D; location;
}
if (userLocation) {
accountInfo.location.area_name &#x3D; userLocation; accountInfo.location.area_name &#x3D; userLocation;
}
if (locationType) {
accountInfo.location.area_type &#x3D; locationType; accountInfo.location.area_type &#x3D; locationType;
}
await vcardValidation(accountInfo.vcard); await vcardValidation(accountInfo.vcard);
accountInfo.vcard &#x3D; btoa(vCard.generate(accountInfo.vcard)); accountInfo.vcard &#x3D; btoa(vCard.generate(accountInfo.vcard));
const accountKey: string &#x3D; await User.toKey(address); const accountKey: string &#x3D; await User.toKey(address);
@ -2502,12 +2645,23 @@ export class UserService {
return; return;
} }
getCategories(): Observable&lt;any&gt; { getCategories(): void {
return this.httpClient.get(&#x60;${environment.cicMetaUrl}/categories&#x60;); this.httpClient
.get(&#x60;${environment.cicMetaUrl}/categories&#x60;)
.pipe(first())
.subscribe((res: object) &#x3D;&gt; this.categoriesList.next(res));
} }
getCategoryByProduct(product: string): Observable&lt;any&gt; { getCategoryByProduct(product: string, categories: object): string {
return this.httpClient.get(&#x60;${environment.cicMetaUrl}/categories/${product.toLowerCase()}&#x60;); const keywords &#x3D; product.toLowerCase().split(&#x27; &#x27;);
for (const keyword of keywords) {
const queriedCategory: string &#x3D; Object.keys(categories).find((key) &#x3D;&gt;
categories[key].includes(keyword)
);
if (queriedCategory) {
return queriedCategory;
}
}
} }
getAccountTypes(): Observable&lt;any&gt; { getAccountTypes(): Observable&lt;any&gt; {

View File

@ -126,8 +126,8 @@ Provides a backend that can handle requests for certain data items.</p>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="1097" <div class="io-line">Defined in <a href="" data-line="936"
class="link-to-prism">src/app/_helpers/mock-backend.ts:1097</a></div> class="link-to-prism">src/app/_helpers/mock-backend.ts:936</a></div>
</td> </td>
</tr> </tr>
@ -223,7 +223,7 @@ import { Observable, of, throwError } from &#x27;rxjs&#x27;;
import { delay, dematerialize, materialize, mergeMap } from &#x27;rxjs/operators&#x27;; import { delay, dematerialize, materialize, mergeMap } from &#x27;rxjs/operators&#x27;;
// Application imports // Application imports
import { Action, AreaName, AreaType, Category, Token } from &#x27;@app/_models&#x27;; import { Action } from &#x27;@app/_models&#x27;;
/** A mock of the curated account types. */ /** A mock of the curated account types. */
const accountTypes: Array&lt;string&gt; &#x3D; [&#x27;user&#x27;, &#x27;cashier&#x27;, &#x27;vendor&#x27;, &#x27;tokenagent&#x27;, &#x27;group&#x27;]; const accountTypes: Array&lt;string&gt; &#x3D; [&#x27;user&#x27;, &#x27;cashier&#x27;, &#x27;vendor&#x27;, &#x27;tokenagent&#x27;, &#x27;group&#x27;];
@ -239,10 +239,8 @@ const actions: Array&lt;Action&gt; &#x3D; [
]; ];
/** A mock of curated area names. */ /** A mock of curated area names. */
const areaNames: Array&lt;AreaName&gt; &#x3D; [ const areaNames: object &#x3D; {
{ &#x27;Mukuru Nairobi&#x27;: [
name: &#x27;Mukuru Nairobi&#x27;,
locations: [
&#x27;kayaba&#x27;, &#x27;kayaba&#x27;,
&#x27;kayba&#x27;, &#x27;kayba&#x27;,
&#x27;kambi&#x27;, &#x27;kambi&#x27;,
@ -266,10 +264,7 @@ const areaNames: Array&lt;AreaName&gt; &#x3D; [
&#x27;owino road&#x27;, &#x27;owino road&#x27;,
&#x27;seigei&#x27;, &#x27;seigei&#x27;,
], ],
}, &#x27;Kinango Kwale&#x27;: [
{
name: &#x27;Kinango Kwale&#x27;,
locations: [
&#x27;amani&#x27;, &#x27;amani&#x27;,
&#x27;bofu&#x27;, &#x27;bofu&#x27;,
&#x27;chibuga&#x27;, &#x27;chibuga&#x27;,
@ -361,10 +356,7 @@ const areaNames: Array&lt;AreaName&gt; &#x3D; [
&#x27;kokotoni&#x27;, &#x27;kokotoni&#x27;,
&#x27;mikindani&#x27;, &#x27;mikindani&#x27;,
], ],
}, &#x27;Misc Nairobi&#x27;: [
{
name: &#x27;Misc Nairobi&#x27;,
locations: [
&#x27;nairobi&#x27;, &#x27;nairobi&#x27;,
&#x27;west&#x27;, &#x27;west&#x27;,
&#x27;lindi&#x27;, &#x27;lindi&#x27;,
@ -431,10 +423,33 @@ const areaNames: Array&lt;AreaName&gt; &#x3D; [
&#x27;mwiki&#x27;, &#x27;mwiki&#x27;,
&#x27;toi market&#x27;, &#x27;toi market&#x27;,
], ],
}, &#x27;Kisauni Mombasa&#x27;: [
{ &#x27;bamburi&#x27;,
name: &#x27;Misc Mombasa&#x27;, &#x27;mnyuchi&#x27;,
locations: [ &#x27;kisauni&#x27;,
&#x27;kasauni&#x27;,
&#x27;mworoni&#x27;,
&#x27;nyali&#x27;,
&#x27;falcon&#x27;,
&#x27;shanzu&#x27;,
&#x27;bombolulu&#x27;,
&#x27;kandongo&#x27;,
&#x27;kadongo&#x27;,
&#x27;mshomoro&#x27;,
&#x27;mtopanga&#x27;,
&#x27;mjambere&#x27;,
&#x27;majaoni&#x27;,
&#x27;manyani&#x27;,
&#x27;magogoni&#x27;,
&#x27;magongoni&#x27;,
&#x27;junda&#x27;,
&#x27;mwakirunge&#x27;,
&#x27;mshomoroni&#x27;,
&#x27;mjinga&#x27;,
&#x27;mlaleo&#x27;,
&#x27;utange&#x27;,
],
&#x27;Misc Mombasa&#x27;: [
&#x27;mombasa&#x27;, &#x27;mombasa&#x27;,
&#x27;likoni&#x27;, &#x27;likoni&#x27;,
&#x27;bangla&#x27;, &#x27;bangla&#x27;,
@ -454,29 +469,7 @@ const areaNames: Array&lt;AreaName&gt; &#x3D; [
&#x27;tudor&#x27;, &#x27;tudor&#x27;,
&#x27;diani&#x27;, &#x27;diani&#x27;,
], ],
}, Kilifi: [
{
name: &#x27;Kisauni&#x27;,
locations: [
&#x27;bamburi&#x27;,
&#x27;kisauni&#x27;,
&#x27;mworoni&#x27;,
&#x27;nyali&#x27;,
&#x27;shanzu&#x27;,
&#x27;bombolulu&#x27;,
&#x27;mtopanga&#x27;,
&#x27;mjambere&#x27;,
&#x27;majaoni&#x27;,
&#x27;manyani&#x27;,
&#x27;magogoni&#x27;,
&#x27;junda&#x27;,
&#x27;mwakirunge&#x27;,
&#x27;mshomoroni&#x27;,
],
},
{
name: &#x27;Kilifi&#x27;,
locations: [
&#x27;kilfi&#x27;, &#x27;kilfi&#x27;,
&#x27;kilifi&#x27;, &#x27;kilifi&#x27;,
&#x27;mtwapa&#x27;, &#x27;mtwapa&#x27;,
@ -490,18 +483,9 @@ const areaNames: Array&lt;AreaName&gt; &#x3D; [
&#x27;raibai&#x27;, &#x27;raibai&#x27;,
&#x27;ribe&#x27;, &#x27;ribe&#x27;,
], ],
}, Kakuma: [&#x27;kakuma&#x27;],
{ Kitui: [&#x27;kitui&#x27;, &#x27;mwingi&#x27;],
name: &#x27;Kakuma&#x27;, Nyanza: [
locations: [&#x27;kakuma&#x27;],
},
{
name: &#x27;Kitui&#x27;,
locations: [&#x27;kitui&#x27;, &#x27;mwingi&#x27;],
},
{
name: &#x27;Nyanza&#x27;,
locations: [
&#x27;busia&#x27;, &#x27;busia&#x27;,
&#x27;nyalgunga&#x27;, &#x27;nyalgunga&#x27;,
&#x27;mbita&#x27;, &#x27;mbita&#x27;,
@ -517,10 +501,7 @@ const areaNames: Array&lt;AreaName&gt; &#x3D; [
&#x27;migori&#x27;, &#x27;migori&#x27;,
&#x27;kusumu&#x27;, &#x27;kusumu&#x27;,
], ],
}, &#x27;Misc Rural Counties&#x27;: [
{
name: &#x27;Misc Rural Counties&#x27;,
locations: [
&#x27;makueni&#x27;, &#x27;makueni&#x27;,
&#x27;meru&#x27;, &#x27;meru&#x27;,
&#x27;kisii&#x27;, &#x27;kisii&#x27;,
@ -539,42 +520,20 @@ const areaNames: Array&lt;AreaName&gt; &#x3D; [
&#x27;nakuru&#x27;, &#x27;nakuru&#x27;,
&#x27;narok&#x27;, &#x27;narok&#x27;,
], ],
}, other: [&#x27;other&#x27;, &#x27;none&#x27;, &#x27;unknown&#x27;],
{ };
name: &#x27;other&#x27;,
locations: [&#x27;other&#x27;, &#x27;none&#x27;, &#x27;unknown&#x27;],
},
];
/** A mock of curated area types. */ const areaTypes: object &#x3D; {
const areaTypes: Array&lt;AreaType&gt; &#x3D; [ urban: [&#x27;urban&#x27;, &#x27;nairobi&#x27;, &#x27;mombasa&#x27;, &#x27;kisauni&#x27;],
{ rural: [&#x27;rural&#x27;, &#x27;kakuma&#x27;, &#x27;kwale&#x27;, &#x27;kinango&#x27;, &#x27;kitui&#x27;, &#x27;nyanza&#x27;],
name: &#x27;urban&#x27;, periurban: [&#x27;kilifi&#x27;, &#x27;periurban&#x27;],
area: [&#x27;urban&#x27;, &#x27;nairobi&#x27;, &#x27;mombasa&#x27;], other: [&#x27;other&#x27;],
}, };
{
name: &#x27;rural&#x27;,
area: [&#x27;rural&#x27;, &#x27;kakuma&#x27;, &#x27;kwale&#x27;, &#x27;kinango&#x27;, &#x27;kitui&#x27;, &#x27;nyanza&#x27;],
},
{
name: &#x27;periurban&#x27;,
area: [&#x27;kilifi&#x27;, &#x27;periurban&#x27;],
},
{
name: &#x27;other&#x27;,
area: [&#x27;other&#x27;],
},
];
/** A mock of the user&#x27;s business categories */ /** A mock of the user&#x27;s business categories */
const categories: Array&lt;Category&gt; &#x3D; [ const categories: object &#x3D; {
{ system: [&#x27;system&#x27;, &#x27;office main&#x27;, &#x27;office main phone&#x27;],
name: &#x27;system&#x27;, education: [
products: [&#x27;system&#x27;, &#x27;office main&#x27;, &#x27;office main phone&#x27;],
},
{
name: &#x27;education&#x27;,
products: [
&#x27;book&#x27;, &#x27;book&#x27;,
&#x27;coach&#x27;, &#x27;coach&#x27;,
&#x27;teacher&#x27;, &#x27;teacher&#x27;,
@ -612,7 +571,6 @@ const categories: Array&lt;Category&gt; &#x3D; [
&#x27;demo&#x27;, &#x27;demo&#x27;,
&#x27;expert&#x27;, &#x27;expert&#x27;,
&#x27;tution&#x27;, &#x27;tution&#x27;,
&#x27;tuition&#x27;,
&#x27;children&#x27;, &#x27;children&#x27;,
&#x27;headmaster&#x27;, &#x27;headmaster&#x27;,
&#x27;educator&#x27;, &#x27;educator&#x27;,
@ -631,10 +589,7 @@ const categories: Array&lt;Category&gt; &#x3D; [
&#x27;vitabu&#x27;, &#x27;vitabu&#x27;,
&#x27;kitabu&#x27;, &#x27;kitabu&#x27;,
], ],
}, faith: [
{
name: &#x27;faith&#x27;,
products: [
&#x27;pastor&#x27;, &#x27;pastor&#x27;,
&#x27;imam&#x27;, &#x27;imam&#x27;,
&#x27;madrasa&#x27;, &#x27;madrasa&#x27;,
@ -649,10 +604,7 @@ const categories: Array&lt;Category&gt; &#x3D; [
&#x27;mksiti&#x27;, &#x27;mksiti&#x27;,
&#x27;donor&#x27;, &#x27;donor&#x27;,
], ],
}, government: [
{
name: &#x27;government&#x27;,
products: [
&#x27;elder&#x27;, &#x27;elder&#x27;,
&#x27;chief&#x27;, &#x27;chief&#x27;,
&#x27;police&#x27;, &#x27;police&#x27;,
@ -666,12 +618,8 @@ const categories: Array&lt;Category&gt; &#x3D; [
&#x27;kra&#x27;, &#x27;kra&#x27;,
&#x27;mailman&#x27;, &#x27;mailman&#x27;,
&#x27;immagration&#x27;, &#x27;immagration&#x27;,
&#x27;immigration&#x27;,
], ],
}, environment: [
{
name: &#x27;environment&#x27;,
products: [
&#x27;conservation&#x27;, &#x27;conservation&#x27;,
&#x27;toilet&#x27;, &#x27;toilet&#x27;,
&#x27;choo&#x27;, &#x27;choo&#x27;,
@ -695,10 +643,7 @@ const categories: Array&lt;Category&gt; &#x3D; [
&#x27;seedlings&#x27;, &#x27;seedlings&#x27;,
&#x27;recycling&#x27;, &#x27;recycling&#x27;,
], ],
}, farming: [
{
name: &#x27;farming&#x27;,
products: [
&#x27;farm&#x27;, &#x27;farm&#x27;,
&#x27;farmer&#x27;, &#x27;farmer&#x27;,
&#x27;farming&#x27;, &#x27;farming&#x27;,
@ -709,10 +654,7 @@ const categories: Array&lt;Category&gt; &#x3D; [
&#x27;jembe&#x27;, &#x27;jembe&#x27;,
&#x27;shamba&#x27;, &#x27;shamba&#x27;,
], ],
}, labour: [
{
name: &#x27;labour&#x27;,
products: [
&#x27;artist&#x27;, &#x27;artist&#x27;,
&#x27;agent&#x27;, &#x27;agent&#x27;,
&#x27;guard&#x27;, &#x27;guard&#x27;,
@ -844,10 +786,7 @@ const categories: Array&lt;Category&gt; &#x3D; [
&#x27;law firm&#x27;, &#x27;law firm&#x27;,
&#x27;brewer&#x27;, &#x27;brewer&#x27;,
], ],
}, food: [
{
name: &#x27;food&#x27;,
products: [
&#x27;avocado&#x27;, &#x27;avocado&#x27;,
&#x27;bhajia&#x27;, &#x27;bhajia&#x27;,
&#x27;bajia&#x27;, &#x27;bajia&#x27;,
@ -1006,14 +945,8 @@ const categories: Array&lt;Category&gt; &#x3D; [
&#x27;barafu&#x27;, &#x27;barafu&#x27;,
&#x27;juice&#x27;, &#x27;juice&#x27;,
], ],
}, water: [&#x27;maji&#x27;, &#x27;water&#x27;],
{ health: [
name: &#x27;water&#x27;,
products: [&#x27;maji&#x27;, &#x27;water&#x27;],
},
{
name: &#x27;health&#x27;,
products: [
&#x27;agrovet&#x27;, &#x27;agrovet&#x27;,
&#x27;dispensary&#x27;, &#x27;dispensary&#x27;,
&#x27;barakoa&#x27;, &#x27;barakoa&#x27;,
@ -1044,14 +977,8 @@ const categories: Array&lt;Category&gt; &#x3D; [
&#x27;emergency response&#x27;, &#x27;emergency response&#x27;,
&#x27;emergency&#x27;, &#x27;emergency&#x27;,
], ],
}, savings: [&#x27;chama&#x27;, &#x27;group&#x27;, &#x27;savings&#x27;, &#x27;loan&#x27;, &#x27;silc&#x27;, &#x27;vsla&#x27;, &#x27;credit&#x27;, &#x27;finance&#x27;],
{ shop: [
name: &#x27;savings&#x27;,
products: [&#x27;chama&#x27;, &#x27;group&#x27;, &#x27;savings&#x27;, &#x27;loan&#x27;, &#x27;silc&#x27;, &#x27;vsla&#x27;, &#x27;credit&#x27;, &#x27;finance&#x27;],
},
{
name: &#x27;shop&#x27;,
products: [
&#x27;bag&#x27;, &#x27;bag&#x27;,
&#x27;bead&#x27;, &#x27;bead&#x27;,
&#x27;belt&#x27;, &#x27;belt&#x27;,
@ -1123,10 +1050,7 @@ const categories: Array&lt;Category&gt; &#x3D; [
&#x27;m-pesa&#x27;, &#x27;m-pesa&#x27;,
&#x27;vyombo&#x27;, &#x27;vyombo&#x27;,
], ],
}, transport: [
{
name: &#x27;transport&#x27;,
products: [
&#x27;kebeba&#x27;, &#x27;kebeba&#x27;,
&#x27;beba&#x27;, &#x27;beba&#x27;,
&#x27;bebabeba&#x27;, &#x27;bebabeba&#x27;,
@ -1161,10 +1085,7 @@ const categories: Array&lt;Category&gt; &#x3D; [
&#x27;makanga&#x27;, &#x27;makanga&#x27;,
&#x27;car&#x27;, &#x27;car&#x27;,
], ],
}, &#x27;fuel/energy&#x27;: [
{
name: &#x27;fuel/energy&#x27;,
products: [
&#x27;timber&#x27;, &#x27;timber&#x27;,
&#x27;timberyard&#x27;, &#x27;timberyard&#x27;,
&#x27;biogas&#x27;, &#x27;biogas&#x27;,
@ -1193,101 +1114,19 @@ const categories: Array&lt;Category&gt; &#x3D; [
&#x27;kerosene&#x27;, &#x27;kerosene&#x27;,
&#x27;diesel&#x27;, &#x27;diesel&#x27;,
], ],
}, other: [&#x27;other&#x27;, &#x27;none&#x27;, &#x27;unknown&#x27;, &#x27;none&#x27;],
{ };
name: &#x27;other&#x27;,
products: [&#x27;other&#x27;, &#x27;none&#x27;, &#x27;unknown&#x27;, &#x27;none&#x27;],
},
];
/** A mock of curated genders */ /** A mock of curated genders */
const genders: Array&lt;string&gt; &#x3D; [&#x27;male&#x27;, &#x27;female&#x27;, &#x27;other&#x27;]; const genders: Array&lt;string&gt; &#x3D; [&#x27;male&#x27;, &#x27;female&#x27;, &#x27;other&#x27;];
/** A mock of the tokens in the system. */
const tokens: Array&lt;Token&gt; &#x3D; [
{
name: &#x27;Giftable Reserve&#x27;,
symbol: &#x27;GRZ&#x27;,
address: &#x27;0xa686005CE37Dce7738436256982C3903f2E4ea8E&#x27;,
supply: &#x27;1000000001000000000000000000&#x27;,
decimals: &#x27;18&#x27;,
reserves: {},
},
{
name: &#x27;Demo Token&#x27;,
symbol: &#x27;DEMO&#x27;,
address: &#x27;0xc80D6aFF8194114c52AEcD84c9f15fd5c8abb187&#x27;,
supply: &#x27;99999999999999998976&#x27;,
decimals: &#x27;18&#x27;,
reserves: {
&#x27;0xa686005CE37Dce7738436256982C3903f2E4ea8E&#x27;: {
weight: &#x27;1000000&#x27;,
balance: &#x27;99999999999999998976&#x27;,
},
},
reserveRatio: &#x27;1000000&#x27;,
owner: &#x27;0x3Da99AAD2D9CA01D131eFc3B17444b832B31Ff4a&#x27;,
},
{
name: &#x27;Foo Token&#x27;,
symbol: &#x27;FOO&#x27;,
address: &#x27;0x9ceD86089f7aBB5A97B40eb0E7521e7aa308d354&#x27;,
supply: &#x27;1000000000000000001014&#x27;,
decimals: &#x27;18&#x27;,
reserves: {
&#x27;0xa686005CE37Dce7738436256982C3903f2E4ea8E&#x27;: {
weight: &#x27;1000000&#x27;,
balance: &#x27;1000000000000000001014&#x27;,
},
},
reserveRatio: &#x27;1000000&#x27;,
owner: &#x27;0x3Da99AAD2D9CA01D131eFc3B17444b832B31Ff4a&#x27;,
},
{
name: &#x27;testb&#x27;,
symbol: &#x27;tstb&#x27;,
address: &#x27;0xC63cFA91A3BFf41cE31Ff436f67D3ACBC977DB95&#x27;,
supply: &#x27;99000&#x27;,
decimals: &#x27;18&#x27;,
reserves: {
&#x27;0xa686005CE37Dce7738436256982C3903f2E4ea8E&#x27;: { weight: &#x27;1000000&#x27;, balance: &#x27;99000&#x27; },
},
reserveRatio: &#x27;1000000&#x27;,
owner: &#x27;0x3Da99AAD2D9CA01D131eFc3B17444b832B31Ff4a&#x27;,
},
{
name: &#x27;testa&#x27;,
symbol: &#x27;tsta&#x27;,
address: &#x27;0x8fA4101ef19D0a078239d035659e92b278bD083C&#x27;,
supply: &#x27;9981&#x27;,
decimals: &#x27;18&#x27;,
reserves: {
&#x27;0xa686005CE37Dce7738436256982C3903f2E4ea8E&#x27;: { weight: &#x27;1000000&#x27;, balance: &#x27;9981&#x27; },
},
reserveRatio: &#x27;1000000&#x27;,
owner: &#x27;0x3Da99AAD2D9CA01D131eFc3B17444b832B31Ff4a&#x27;,
},
{
name: &#x27;testc&#x27;,
symbol: &#x27;tstc&#x27;,
address: &#x27;0x4A6fA6bc3BfE4C9661bC692D9798425350C9e3D4&#x27;,
supply: &#x27;100990&#x27;,
decimals: &#x27;18&#x27;,
reserves: {
&#x27;0xa686005CE37Dce7738436256982C3903f2E4ea8E&#x27;: { weight: &#x27;1000000&#x27;, balance: &#x27;100990&#x27; },
},
reserveRatio: &#x27;1000000&#x27;,
owner: &#x27;0x3Da99AAD2D9CA01D131eFc3B17444b832B31Ff4a&#x27;,
},
];
/** A mock of curated transaction types. */ /** A mock of curated transaction types. */
const transactionTypes: Array&lt;string&gt; &#x3D; [ const transactionTypes: Array&lt;string&gt; &#x3D; [
&#x27;transactions&#x27;, &#x27;transactions&#x27;,
&#x27;conversions&#x27;, &#x27;conversions&#x27;,
&#x27;disbursements&#x27;, &#x27;disbursements&#x27;,
&#x27;rewards&#x27;, &#x27;rewards&#x27;,
&#x27;reclamation&#x27;, &#x27;reclamations&#x27;,
]; ];
/** /**
@ -1327,22 +1166,12 @@ export class MockBackendInterceptor implements HttpInterceptor {
return approveAction(); return approveAction();
case url.endsWith(&#x27;/areanames&#x27;) &amp;&amp; method &#x3D;&#x3D;&#x3D; &#x27;GET&#x27;: case url.endsWith(&#x27;/areanames&#x27;) &amp;&amp; method &#x3D;&#x3D;&#x3D; &#x27;GET&#x27;:
return getAreaNames(); return getAreaNames();
case url.match(/\/areanames\/\w+$/) &amp;&amp; method &#x3D;&#x3D;&#x3D; &#x27;GET&#x27;:
return getAreaNameByLocation();
case url.endsWith(&#x27;/areatypes&#x27;) &amp;&amp; method &#x3D;&#x3D;&#x3D; &#x27;GET&#x27;: case url.endsWith(&#x27;/areatypes&#x27;) &amp;&amp; method &#x3D;&#x3D;&#x3D; &#x27;GET&#x27;:
return getAreaTypes(); return getAreaTypes();
case url.match(/\/areatypes\/\w+$/) &amp;&amp; method &#x3D;&#x3D;&#x3D; &#x27;GET&#x27;:
return getAreaTypeByArea();
case url.endsWith(&#x27;/categories&#x27;) &amp;&amp; method &#x3D;&#x3D;&#x3D; &#x27;GET&#x27;: case url.endsWith(&#x27;/categories&#x27;) &amp;&amp; method &#x3D;&#x3D;&#x3D; &#x27;GET&#x27;:
return getCategories(); return getCategories();
case url.match(/\/categories\/\w+$/) &amp;&amp; method &#x3D;&#x3D;&#x3D; &#x27;GET&#x27;:
return getCategoryByProduct();
case url.endsWith(&#x27;/genders&#x27;) &amp;&amp; method &#x3D;&#x3D;&#x3D; &#x27;GET&#x27;: case url.endsWith(&#x27;/genders&#x27;) &amp;&amp; method &#x3D;&#x3D;&#x3D; &#x27;GET&#x27;:
return getGenders(); return getGenders();
case url.endsWith(&#x27;/tokens&#x27;) &amp;&amp; method &#x3D;&#x3D;&#x3D; &#x27;GET&#x27;:
return getTokens();
case url.match(/\/tokens\/\w+$/) &amp;&amp; method &#x3D;&#x3D;&#x3D; &#x27;GET&#x27;:
return getTokenBySymbol();
case url.endsWith(&#x27;/transactiontypes&#x27;) &amp;&amp; method &#x3D;&#x3D;&#x3D; &#x27;GET&#x27;: case url.endsWith(&#x27;/transactiontypes&#x27;) &amp;&amp; method &#x3D;&#x3D;&#x3D; &#x27;GET&#x27;:
return getTransactionTypes(); return getTransactionTypes();
default: default:
@ -1374,54 +1203,21 @@ export class MockBackendInterceptor implements HttpInterceptor {
} }
function getAreaNames(): Observable&lt;HttpResponse&lt;any&gt;&gt; { function getAreaNames(): Observable&lt;HttpResponse&lt;any&gt;&gt; {
const areaNameList: Array&lt;string&gt; &#x3D; areaNames.map((areaName) &#x3D;&gt; areaName.name); return ok(areaNames);
return ok(areaNameList);
}
function getAreaNameByLocation(): Observable&lt;HttpResponse&lt;any&gt;&gt; {
const queriedAreaName: AreaName &#x3D; areaNames.find((areaName) &#x3D;&gt;
areaName.locations.includes(stringFromUrl())
);
return ok(queriedAreaName.name || &#x27;other&#x27;);
} }
function getAreaTypes(): Observable&lt;HttpResponse&lt;any&gt;&gt; { function getAreaTypes(): Observable&lt;HttpResponse&lt;any&gt;&gt; {
const areaTypeList: Array&lt;string&gt; &#x3D; areaTypes.map((areaType) &#x3D;&gt; areaType.name); return ok(areaTypes);
return ok(areaTypeList);
}
function getAreaTypeByArea(): Observable&lt;HttpResponse&lt;any&gt;&gt; {
const queriedAreaType: AreaType &#x3D; areaTypes.find((areaType) &#x3D;&gt;
areaType.area.includes(stringFromUrl())
);
return ok(queriedAreaType.name || &#x27;other&#x27;);
} }
function getCategories(): Observable&lt;HttpResponse&lt;any&gt;&gt; { function getCategories(): Observable&lt;HttpResponse&lt;any&gt;&gt; {
const categoryList: Array&lt;string&gt; &#x3D; categories.map((category) &#x3D;&gt; category.name); return ok(categories);
return ok(categoryList);
}
function getCategoryByProduct(): Observable&lt;HttpResponse&lt;any&gt;&gt; {
const queriedCategory: Category &#x3D; categories.find((category) &#x3D;&gt;
category.products.includes(stringFromUrl())
);
return ok(queriedCategory.name || &#x27;other&#x27;);
} }
function getGenders(): Observable&lt;HttpResponse&lt;any&gt;&gt; { function getGenders(): Observable&lt;HttpResponse&lt;any&gt;&gt; {
return ok(genders); return ok(genders);
} }
function getTokens(): Observable&lt;HttpResponse&lt;any&gt;&gt; {
return ok(tokens);
}
function getTokenBySymbol(): Observable&lt;HttpResponse&lt;any&gt;&gt; {
const queriedToken: Token &#x3D; tokens.find((token) &#x3D;&gt; token.symbol &#x3D;&#x3D;&#x3D; stringFromUrl());
return ok(queriedToken);
}
function getTransactionTypes(): Observable&lt;HttpResponse&lt;any&gt;&gt; { function getTransactionTypes(): Observable&lt;HttpResponse&lt;any&gt;&gt; {
return ok(transactionTypes); return ok(transactionTypes);
} }

View File

@ -635,7 +635,7 @@ const defaultAccount: AccountDetails &#x3D; {
meta: { meta: {
TYP: [], TYP: [],
}, },
value: &#x27;&#x27;, value: &#x27;+254700000000&#x27;,
}, },
], ],
version: [ version: [

View File

@ -304,32 +304,8 @@
user: string; user: string;
} }
/** Area name object interface */
interface AreaName {
/** Locations that map to that area name. */
locations: Array&lt;string&gt;;
/** Name of area */
name: string;
}
/** Area type object interface */
interface AreaType {
/** Areas that map to that area type. */
area: Array&lt;string&gt;;
/** Type of area */
name: string;
}
/** Category object interface */
interface Category {
/** Business category */
name: string;
/** Products that map to that category. */
products: Array&lt;string&gt;;
}
/** @exports */ /** @exports */
export { Action, AreaName, AreaType, Category }; export { Action };
</code></pre> </code></pre>
</div> </div>
</div> </div>

View File

@ -345,7 +345,7 @@ const defaultAccount: AccountDetails &#x3D; {
meta: { meta: {
TYP: [], TYP: [],
}, },
value: &#x27;&#x27;, value: &#x27;+254700000000&#x27;,
}, },
], ],
version: [ version: [

View File

@ -307,7 +307,7 @@ const defaultAccount: AccountDetails &#x3D; {
meta: { meta: {
TYP: [], TYP: [],
}, },
value: &#x27;&#x27;, value: &#x27;+254700000000&#x27;,
}, },
], ],
version: [ version: [

View File

@ -383,7 +383,7 @@ const defaultAccount: AccountDetails &#x3D; {
meta: { meta: {
TYP: [], TYP: [],
}, },
value: &#x27;&#x27;, value: &#x27;+254700000000&#x27;,
}, },
], ],
version: [ version: [

View File

@ -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

View File

@ -102,9 +102,6 @@
<li> <li>
<a href="#objCsv" title="src/app/_helpers/read-csv.ts"><b>objCsv</b>&nbsp;&nbsp;&nbsp;(src/.../read-csv.ts)</a> <a href="#objCsv" title="src/app/_helpers/read-csv.ts"><b>objCsv</b>&nbsp;&nbsp;&nbsp;(src/.../read-csv.ts)</a>
</li> </li>
<li>
<a href="#tokens" title="src/app/_helpers/mock-backend.ts"><b>tokens</b>&nbsp;&nbsp;&nbsp;(src/.../mock-backend.ts)</a>
</li>
<li> <li>
<a href="#transactionTypes" title="src/app/_helpers/mock-backend.ts"><b>transactionTypes</b>&nbsp;&nbsp;&nbsp;(src/.../mock-backend.ts)</a> <a href="#transactionTypes" title="src/app/_helpers/mock-backend.ts"><b>transactionTypes</b>&nbsp;&nbsp;&nbsp;(src/.../mock-backend.ts)</a>
</li> </li>
@ -354,16 +351,14 @@
</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&lt;AreaName&gt;</a></code> <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> </td>
</tr> </tr>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<i>Default value : </i><code>[ <i>Default value : </i><code>{
{ &#x27;Mukuru Nairobi&#x27;: [
name: &#x27;Mukuru Nairobi&#x27;,
locations: [
&#x27;kayaba&#x27;, &#x27;kayaba&#x27;,
&#x27;kayba&#x27;, &#x27;kayba&#x27;,
&#x27;kambi&#x27;, &#x27;kambi&#x27;,
@ -387,10 +382,7 @@
&#x27;owino road&#x27;, &#x27;owino road&#x27;,
&#x27;seigei&#x27;, &#x27;seigei&#x27;,
], ],
}, &#x27;Kinango Kwale&#x27;: [
{
name: &#x27;Kinango Kwale&#x27;,
locations: [
&#x27;amani&#x27;, &#x27;amani&#x27;,
&#x27;bofu&#x27;, &#x27;bofu&#x27;,
&#x27;chibuga&#x27;, &#x27;chibuga&#x27;,
@ -482,10 +474,7 @@
&#x27;kokotoni&#x27;, &#x27;kokotoni&#x27;,
&#x27;mikindani&#x27;, &#x27;mikindani&#x27;,
], ],
}, &#x27;Misc Nairobi&#x27;: [
{
name: &#x27;Misc Nairobi&#x27;,
locations: [
&#x27;nairobi&#x27;, &#x27;nairobi&#x27;,
&#x27;west&#x27;, &#x27;west&#x27;,
&#x27;lindi&#x27;, &#x27;lindi&#x27;,
@ -552,10 +541,33 @@
&#x27;mwiki&#x27;, &#x27;mwiki&#x27;,
&#x27;toi market&#x27;, &#x27;toi market&#x27;,
], ],
}, &#x27;Kisauni Mombasa&#x27;: [
{ &#x27;bamburi&#x27;,
name: &#x27;Misc Mombasa&#x27;, &#x27;mnyuchi&#x27;,
locations: [ &#x27;kisauni&#x27;,
&#x27;kasauni&#x27;,
&#x27;mworoni&#x27;,
&#x27;nyali&#x27;,
&#x27;falcon&#x27;,
&#x27;shanzu&#x27;,
&#x27;bombolulu&#x27;,
&#x27;kandongo&#x27;,
&#x27;kadongo&#x27;,
&#x27;mshomoro&#x27;,
&#x27;mtopanga&#x27;,
&#x27;mjambere&#x27;,
&#x27;majaoni&#x27;,
&#x27;manyani&#x27;,
&#x27;magogoni&#x27;,
&#x27;magongoni&#x27;,
&#x27;junda&#x27;,
&#x27;mwakirunge&#x27;,
&#x27;mshomoroni&#x27;,
&#x27;mjinga&#x27;,
&#x27;mlaleo&#x27;,
&#x27;utange&#x27;,
],
&#x27;Misc Mombasa&#x27;: [
&#x27;mombasa&#x27;, &#x27;mombasa&#x27;,
&#x27;likoni&#x27;, &#x27;likoni&#x27;,
&#x27;bangla&#x27;, &#x27;bangla&#x27;,
@ -575,29 +587,7 @@
&#x27;tudor&#x27;, &#x27;tudor&#x27;,
&#x27;diani&#x27;, &#x27;diani&#x27;,
], ],
}, Kilifi: [
{
name: &#x27;Kisauni&#x27;,
locations: [
&#x27;bamburi&#x27;,
&#x27;kisauni&#x27;,
&#x27;mworoni&#x27;,
&#x27;nyali&#x27;,
&#x27;shanzu&#x27;,
&#x27;bombolulu&#x27;,
&#x27;mtopanga&#x27;,
&#x27;mjambere&#x27;,
&#x27;majaoni&#x27;,
&#x27;manyani&#x27;,
&#x27;magogoni&#x27;,
&#x27;junda&#x27;,
&#x27;mwakirunge&#x27;,
&#x27;mshomoroni&#x27;,
],
},
{
name: &#x27;Kilifi&#x27;,
locations: [
&#x27;kilfi&#x27;, &#x27;kilfi&#x27;,
&#x27;kilifi&#x27;, &#x27;kilifi&#x27;,
&#x27;mtwapa&#x27;, &#x27;mtwapa&#x27;,
@ -611,18 +601,9 @@
&#x27;raibai&#x27;, &#x27;raibai&#x27;,
&#x27;ribe&#x27;, &#x27;ribe&#x27;,
], ],
}, Kakuma: [&#x27;kakuma&#x27;],
{ Kitui: [&#x27;kitui&#x27;, &#x27;mwingi&#x27;],
name: &#x27;Kakuma&#x27;, Nyanza: [
locations: [&#x27;kakuma&#x27;],
},
{
name: &#x27;Kitui&#x27;,
locations: [&#x27;kitui&#x27;, &#x27;mwingi&#x27;],
},
{
name: &#x27;Nyanza&#x27;,
locations: [
&#x27;busia&#x27;, &#x27;busia&#x27;,
&#x27;nyalgunga&#x27;, &#x27;nyalgunga&#x27;,
&#x27;mbita&#x27;, &#x27;mbita&#x27;,
@ -638,10 +619,7 @@
&#x27;migori&#x27;, &#x27;migori&#x27;,
&#x27;kusumu&#x27;, &#x27;kusumu&#x27;,
], ],
}, &#x27;Misc Rural Counties&#x27;: [
{
name: &#x27;Misc Rural Counties&#x27;,
locations: [
&#x27;makueni&#x27;, &#x27;makueni&#x27;,
&#x27;meru&#x27;, &#x27;meru&#x27;,
&#x27;kisii&#x27;, &#x27;kisii&#x27;,
@ -660,12 +638,8 @@
&#x27;nakuru&#x27;, &#x27;nakuru&#x27;,
&#x27;narok&#x27;, &#x27;narok&#x27;,
], ],
}, other: [&#x27;other&#x27;, &#x27;none&#x27;, &#x27;unknown&#x27;],
{ }</code>
name: &#x27;other&#x27;,
locations: [&#x27;other&#x27;, &#x27;none&#x27;, &#x27;unknown&#x27;],
},
]</code>
</td> </td>
</tr> </tr>
@ -692,39 +666,21 @@
</tr> </tr>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<i>Type : </i> <code><a href="../interfaces/AreaType.html" target="_self" >Array&lt;AreaType&gt;</a></code> <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> </td>
</tr> </tr>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<i>Default value : </i><code>[ <i>Default value : </i><code>{
{ urban: [&#x27;urban&#x27;, &#x27;nairobi&#x27;, &#x27;mombasa&#x27;, &#x27;kisauni&#x27;],
name: &#x27;urban&#x27;, rural: [&#x27;rural&#x27;, &#x27;kakuma&#x27;, &#x27;kwale&#x27;, &#x27;kinango&#x27;, &#x27;kitui&#x27;, &#x27;nyanza&#x27;],
area: [&#x27;urban&#x27;, &#x27;nairobi&#x27;, &#x27;mombasa&#x27;], periurban: [&#x27;kilifi&#x27;, &#x27;periurban&#x27;],
}, other: [&#x27;other&#x27;],
{ }</code>
name: &#x27;rural&#x27;,
area: [&#x27;rural&#x27;, &#x27;kakuma&#x27;, &#x27;kwale&#x27;, &#x27;kinango&#x27;, &#x27;kitui&#x27;, &#x27;nyanza&#x27;],
},
{
name: &#x27;periurban&#x27;,
area: [&#x27;kilifi&#x27;, &#x27;periurban&#x27;],
},
{
name: &#x27;other&#x27;,
area: [&#x27;other&#x27;],
},
]</code>
</td> </td>
</tr> </tr>
<tr>
<td class="col-md-4">
<div class="io-description"><p>A mock of curated area types. </p>
</div>
</td>
</tr>
</tbody> </tbody>
</table> </table>
@ -742,20 +698,15 @@
</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&lt;Category&gt;</a></code> <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> </td>
</tr> </tr>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<i>Default value : </i><code>[ <i>Default value : </i><code>{
{ system: [&#x27;system&#x27;, &#x27;office main&#x27;, &#x27;office main phone&#x27;],
name: &#x27;system&#x27;, education: [
products: [&#x27;system&#x27;, &#x27;office main&#x27;, &#x27;office main phone&#x27;],
},
{
name: &#x27;education&#x27;,
products: [
&#x27;book&#x27;, &#x27;book&#x27;,
&#x27;coach&#x27;, &#x27;coach&#x27;,
&#x27;teacher&#x27;, &#x27;teacher&#x27;,
@ -793,7 +744,6 @@
&#x27;demo&#x27;, &#x27;demo&#x27;,
&#x27;expert&#x27;, &#x27;expert&#x27;,
&#x27;tution&#x27;, &#x27;tution&#x27;,
&#x27;tuition&#x27;,
&#x27;children&#x27;, &#x27;children&#x27;,
&#x27;headmaster&#x27;, &#x27;headmaster&#x27;,
&#x27;educator&#x27;, &#x27;educator&#x27;,
@ -812,10 +762,7 @@
&#x27;vitabu&#x27;, &#x27;vitabu&#x27;,
&#x27;kitabu&#x27;, &#x27;kitabu&#x27;,
], ],
}, faith: [
{
name: &#x27;faith&#x27;,
products: [
&#x27;pastor&#x27;, &#x27;pastor&#x27;,
&#x27;imam&#x27;, &#x27;imam&#x27;,
&#x27;madrasa&#x27;, &#x27;madrasa&#x27;,
@ -830,10 +777,7 @@
&#x27;mksiti&#x27;, &#x27;mksiti&#x27;,
&#x27;donor&#x27;, &#x27;donor&#x27;,
], ],
}, government: [
{
name: &#x27;government&#x27;,
products: [
&#x27;elder&#x27;, &#x27;elder&#x27;,
&#x27;chief&#x27;, &#x27;chief&#x27;,
&#x27;police&#x27;, &#x27;police&#x27;,
@ -847,12 +791,8 @@
&#x27;kra&#x27;, &#x27;kra&#x27;,
&#x27;mailman&#x27;, &#x27;mailman&#x27;,
&#x27;immagration&#x27;, &#x27;immagration&#x27;,
&#x27;immigration&#x27;,
], ],
}, environment: [
{
name: &#x27;environment&#x27;,
products: [
&#x27;conservation&#x27;, &#x27;conservation&#x27;,
&#x27;toilet&#x27;, &#x27;toilet&#x27;,
&#x27;choo&#x27;, &#x27;choo&#x27;,
@ -876,10 +816,7 @@
&#x27;seedlings&#x27;, &#x27;seedlings&#x27;,
&#x27;recycling&#x27;, &#x27;recycling&#x27;,
], ],
}, farming: [
{
name: &#x27;farming&#x27;,
products: [
&#x27;farm&#x27;, &#x27;farm&#x27;,
&#x27;farmer&#x27;, &#x27;farmer&#x27;,
&#x27;farming&#x27;, &#x27;farming&#x27;,
@ -890,10 +827,7 @@
&#x27;jembe&#x27;, &#x27;jembe&#x27;,
&#x27;shamba&#x27;, &#x27;shamba&#x27;,
], ],
}, labour: [
{
name: &#x27;labour&#x27;,
products: [
&#x27;artist&#x27;, &#x27;artist&#x27;,
&#x27;agent&#x27;, &#x27;agent&#x27;,
&#x27;guard&#x27;, &#x27;guard&#x27;,
@ -1025,10 +959,7 @@
&#x27;law firm&#x27;, &#x27;law firm&#x27;,
&#x27;brewer&#x27;, &#x27;brewer&#x27;,
], ],
}, food: [
{
name: &#x27;food&#x27;,
products: [
&#x27;avocado&#x27;, &#x27;avocado&#x27;,
&#x27;bhajia&#x27;, &#x27;bhajia&#x27;,
&#x27;bajia&#x27;, &#x27;bajia&#x27;,
@ -1187,14 +1118,8 @@
&#x27;barafu&#x27;, &#x27;barafu&#x27;,
&#x27;juice&#x27;, &#x27;juice&#x27;,
], ],
}, water: [&#x27;maji&#x27;, &#x27;water&#x27;],
{ health: [
name: &#x27;water&#x27;,
products: [&#x27;maji&#x27;, &#x27;water&#x27;],
},
{
name: &#x27;health&#x27;,
products: [
&#x27;agrovet&#x27;, &#x27;agrovet&#x27;,
&#x27;dispensary&#x27;, &#x27;dispensary&#x27;,
&#x27;barakoa&#x27;, &#x27;barakoa&#x27;,
@ -1225,14 +1150,8 @@
&#x27;emergency response&#x27;, &#x27;emergency response&#x27;,
&#x27;emergency&#x27;, &#x27;emergency&#x27;,
], ],
}, savings: [&#x27;chama&#x27;, &#x27;group&#x27;, &#x27;savings&#x27;, &#x27;loan&#x27;, &#x27;silc&#x27;, &#x27;vsla&#x27;, &#x27;credit&#x27;, &#x27;finance&#x27;],
{ shop: [
name: &#x27;savings&#x27;,
products: [&#x27;chama&#x27;, &#x27;group&#x27;, &#x27;savings&#x27;, &#x27;loan&#x27;, &#x27;silc&#x27;, &#x27;vsla&#x27;, &#x27;credit&#x27;, &#x27;finance&#x27;],
},
{
name: &#x27;shop&#x27;,
products: [
&#x27;bag&#x27;, &#x27;bag&#x27;,
&#x27;bead&#x27;, &#x27;bead&#x27;,
&#x27;belt&#x27;, &#x27;belt&#x27;,
@ -1304,10 +1223,7 @@
&#x27;m-pesa&#x27;, &#x27;m-pesa&#x27;,
&#x27;vyombo&#x27;, &#x27;vyombo&#x27;,
], ],
}, transport: [
{
name: &#x27;transport&#x27;,
products: [
&#x27;kebeba&#x27;, &#x27;kebeba&#x27;,
&#x27;beba&#x27;, &#x27;beba&#x27;,
&#x27;bebabeba&#x27;, &#x27;bebabeba&#x27;,
@ -1342,10 +1258,7 @@
&#x27;makanga&#x27;, &#x27;makanga&#x27;,
&#x27;car&#x27;, &#x27;car&#x27;,
], ],
}, &#x27;fuel/energy&#x27;: [
{
name: &#x27;fuel/energy&#x27;,
products: [
&#x27;timber&#x27;, &#x27;timber&#x27;,
&#x27;timberyard&#x27;, &#x27;timberyard&#x27;,
&#x27;biogas&#x27;, &#x27;biogas&#x27;,
@ -1374,12 +1287,8 @@
&#x27;kerosene&#x27;, &#x27;kerosene&#x27;,
&#x27;diesel&#x27;, &#x27;diesel&#x27;,
], ],
}, other: [&#x27;other&#x27;, &#x27;none&#x27;, &#x27;unknown&#x27;, &#x27;none&#x27;],
{ }</code>
name: &#x27;other&#x27;,
products: [&#x27;other&#x27;, &#x27;none&#x27;, &#x27;unknown&#x27;, &#x27;none&#x27;],
},
]</code>
</td> </td>
</tr> </tr>
@ -1462,114 +1371,6 @@
</tbody> </tbody>
</table> </table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="tokens"></a>
<span class="name">
<b>
tokens</b>
<a href="#tokens"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="../interfaces/Token.html" target="_self" >Array&lt;Token&gt;</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>[
{
name: &#x27;Giftable Reserve&#x27;,
symbol: &#x27;GRZ&#x27;,
address: &#x27;0xa686005CE37Dce7738436256982C3903f2E4ea8E&#x27;,
supply: &#x27;1000000001000000000000000000&#x27;,
decimals: &#x27;18&#x27;,
reserves: {},
},
{
name: &#x27;Demo Token&#x27;,
symbol: &#x27;DEMO&#x27;,
address: &#x27;0xc80D6aFF8194114c52AEcD84c9f15fd5c8abb187&#x27;,
supply: &#x27;99999999999999998976&#x27;,
decimals: &#x27;18&#x27;,
reserves: {
&#x27;0xa686005CE37Dce7738436256982C3903f2E4ea8E&#x27;: {
weight: &#x27;1000000&#x27;,
balance: &#x27;99999999999999998976&#x27;,
},
},
reserveRatio: &#x27;1000000&#x27;,
owner: &#x27;0x3Da99AAD2D9CA01D131eFc3B17444b832B31Ff4a&#x27;,
},
{
name: &#x27;Foo Token&#x27;,
symbol: &#x27;FOO&#x27;,
address: &#x27;0x9ceD86089f7aBB5A97B40eb0E7521e7aa308d354&#x27;,
supply: &#x27;1000000000000000001014&#x27;,
decimals: &#x27;18&#x27;,
reserves: {
&#x27;0xa686005CE37Dce7738436256982C3903f2E4ea8E&#x27;: {
weight: &#x27;1000000&#x27;,
balance: &#x27;1000000000000000001014&#x27;,
},
},
reserveRatio: &#x27;1000000&#x27;,
owner: &#x27;0x3Da99AAD2D9CA01D131eFc3B17444b832B31Ff4a&#x27;,
},
{
name: &#x27;testb&#x27;,
symbol: &#x27;tstb&#x27;,
address: &#x27;0xC63cFA91A3BFf41cE31Ff436f67D3ACBC977DB95&#x27;,
supply: &#x27;99000&#x27;,
decimals: &#x27;18&#x27;,
reserves: {
&#x27;0xa686005CE37Dce7738436256982C3903f2E4ea8E&#x27;: { weight: &#x27;1000000&#x27;, balance: &#x27;99000&#x27; },
},
reserveRatio: &#x27;1000000&#x27;,
owner: &#x27;0x3Da99AAD2D9CA01D131eFc3B17444b832B31Ff4a&#x27;,
},
{
name: &#x27;testa&#x27;,
symbol: &#x27;tsta&#x27;,
address: &#x27;0x8fA4101ef19D0a078239d035659e92b278bD083C&#x27;,
supply: &#x27;9981&#x27;,
decimals: &#x27;18&#x27;,
reserves: {
&#x27;0xa686005CE37Dce7738436256982C3903f2E4ea8E&#x27;: { weight: &#x27;1000000&#x27;, balance: &#x27;9981&#x27; },
},
reserveRatio: &#x27;1000000&#x27;,
owner: &#x27;0x3Da99AAD2D9CA01D131eFc3B17444b832B31Ff4a&#x27;,
},
{
name: &#x27;testc&#x27;,
symbol: &#x27;tstc&#x27;,
address: &#x27;0x4A6fA6bc3BfE4C9661bC692D9798425350C9e3D4&#x27;,
supply: &#x27;100990&#x27;,
decimals: &#x27;18&#x27;,
reserves: {
&#x27;0xa686005CE37Dce7738436256982C3903f2E4ea8E&#x27;: { weight: &#x27;1000000&#x27;, balance: &#x27;100990&#x27; },
},
reserveRatio: &#x27;1000000&#x27;,
owner: &#x27;0x3Da99AAD2D9CA01D131eFc3B17444b832B31Ff4a&#x27;,
},
]</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-description"><p>A mock of the tokens in the system. </p>
</div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered"> <table class="table table-sm table-bordered">
<tbody> <tbody>
<tr> <tr>
@ -1595,7 +1396,7 @@
&#x27;conversions&#x27;, &#x27;conversions&#x27;,
&#x27;disbursements&#x27;, &#x27;disbursements&#x27;,
&#x27;rewards&#x27;, &#x27;rewards&#x27;,
&#x27;reclamation&#x27;, &#x27;reclamations&#x27;,
]</code> ]</code>
</td> </td>
</tr> </tr>
@ -1668,7 +1469,7 @@
meta: { meta: {
TYP: [], TYP: [],
}, },
value: &#x27;&#x27;, value: &#x27;+254700000000&#x27;,
}, },
], ],
version: [ version: [
@ -1726,6 +1527,7 @@
cicUssdUrl: &#x27;https://user.dev.grassrootseconomics.net&#x27;, cicUssdUrl: &#x27;https://user.dev.grassrootseconomics.net&#x27;,
registryAddress: &#x27;0xea6225212005e86a4490018ded4bf37f3e772161&#x27;, registryAddress: &#x27;0xea6225212005e86a4490018ded4bf37f3e772161&#x27;,
trustedDeclaratorAddress: &#x27;0xEb3907eCad74a0013c259D5874AE7f22DcBcC95C&#x27;, trustedDeclaratorAddress: &#x27;0xEb3907eCad74a0013c259D5874AE7f22DcBcC95C&#x27;,
dashboardUrl: &#x27;https://dashboard.sarafu.network/&#x27;,
}</code> }</code>
</td> </td>
</tr> </tr>
@ -1769,6 +1571,7 @@
cicUssdUrl: &#x27;https://user.dev.grassrootseconomics.net&#x27;, cicUssdUrl: &#x27;https://user.dev.grassrootseconomics.net&#x27;,
registryAddress: &#x27;0xea6225212005e86a4490018ded4bf37f3e772161&#x27;, registryAddress: &#x27;0xea6225212005e86a4490018ded4bf37f3e772161&#x27;,
trustedDeclaratorAddress: &#x27;0xEb3907eCad74a0013c259D5874AE7f22DcBcC95C&#x27;, trustedDeclaratorAddress: &#x27;0xEb3907eCad74a0013c259D5874AE7f22DcBcC95C&#x27;,
dashboardUrl: &#x27;https://dashboard.sarafu.network/&#x27;,
}</code> }</code>
</td> </td>
</tr> </tr>
@ -1812,6 +1615,7 @@
cicUssdUrl: &#x27;https://user.dev.grassrootseconomics.net&#x27;, cicUssdUrl: &#x27;https://user.dev.grassrootseconomics.net&#x27;,
registryAddress: &#x27;0xea6225212005e86a4490018ded4bf37f3e772161&#x27;, registryAddress: &#x27;0xea6225212005e86a4490018ded4bf37f3e772161&#x27;,
trustedDeclaratorAddress: &#x27;0xEb3907eCad74a0013c259D5874AE7f22DcBcC95C&#x27;, trustedDeclaratorAddress: &#x27;0xEb3907eCad74a0013c259D5874AE7f22DcBcC95C&#x27;,
dashboardUrl: &#x27;https://dashboard.sarafu.network/&#x27;,
}</code> }</code>
</td> </td>
</tr> </tr>

View File

@ -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

View File

@ -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">

View File

@ -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">&lt;</span><span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">&gt;</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">&lt;</span><span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">&gt;</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">&lt;</span><span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">&gt;</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">&lt;</span><span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">&gt;</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">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</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">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</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">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</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">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</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">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</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">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</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">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</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">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</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>

View File

@ -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">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</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">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</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">&lt;</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">&gt;</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">&lt;</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">&gt;</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">&lt;</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">&gt;</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">&lt;</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">&gt;</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">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</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">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</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">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</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">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>

View File

@ -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>

View File

@ -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">&lt;</span><span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">&gt;</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">&lt;</span><span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">&gt;</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">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></h4> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</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">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</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">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</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">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</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">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</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">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></h4> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</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">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></h4> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</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">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</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>

View File

@ -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">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</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">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</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>

View File

@ -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">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</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">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</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">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>

View File

@ -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">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</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>

View File

@ -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">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</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>

View File

@ -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"> = &#x27;https://dashboard.sarafu.network/&#x27;</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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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">&lt;</span><span class="tsd-signature-type">HttpInterceptor</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</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">&lt;</span><span class="tsd-signature-type">HttpInterceptor</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</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">

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -14,7 +14,7 @@ import { Observable, of, throwError } from 'rxjs';
import { delay, dematerialize, materialize, mergeMap } from 'rxjs/operators'; import { delay, dematerialize, materialize, mergeMap } from 'rxjs/operators';
// Application imports // Application imports
import { Action, AreaName, AreaType, Category, Token } from '@app/_models'; import { Action } from '@app/_models';
/** A mock of the curated account types. */ /** A mock of the curated account types. */
const accountTypes: Array<string> = ['user', 'cashier', 'vendor', 'tokenagent', 'group']; const accountTypes: Array<string> = ['user', 'cashier', 'vendor', 'tokenagent', 'group'];
@ -30,10 +30,8 @@ const actions: Array<Action> = [
]; ];
/** A mock of curated area names. */ /** A mock of curated area names. */
const areaNames: Array<AreaName> = [ const areaNames: object = {
{ 'Mukuru Nairobi': [
name: 'Mukuru Nairobi',
locations: [
'kayaba', 'kayaba',
'kayba', 'kayba',
'kambi', 'kambi',
@ -57,10 +55,7 @@ const areaNames: Array<AreaName> = [
'owino road', 'owino road',
'seigei', 'seigei',
], ],
}, 'Kinango Kwale': [
{
name: 'Kinango Kwale',
locations: [
'amani', 'amani',
'bofu', 'bofu',
'chibuga', 'chibuga',
@ -152,10 +147,7 @@ const areaNames: Array<AreaName> = [
'kokotoni', 'kokotoni',
'mikindani', 'mikindani',
], ],
}, 'Misc Nairobi': [
{
name: 'Misc Nairobi',
locations: [
'nairobi', 'nairobi',
'west', 'west',
'lindi', 'lindi',
@ -222,10 +214,33 @@ const areaNames: Array<AreaName> = [
'mwiki', 'mwiki',
'toi market', 'toi market',
], ],
}, 'Kisauni Mombasa': [
{ 'bamburi',
name: 'Misc Mombasa', 'mnyuchi',
locations: [ 'kisauni',
'kasauni',
'mworoni',
'nyali',
'falcon',
'shanzu',
'bombolulu',
'kandongo',
'kadongo',
'mshomoro',
'mtopanga',
'mjambere',
'majaoni',
'manyani',
'magogoni',
'magongoni',
'junda',
'mwakirunge',
'mshomoroni',
'mjinga',
'mlaleo',
'utange',
],
'Misc Mombasa': [
'mombasa', 'mombasa',
'likoni', 'likoni',
'bangla', 'bangla',
@ -245,29 +260,7 @@ const areaNames: Array<AreaName> = [
'tudor', 'tudor',
'diani', 'diani',
], ],
}, Kilifi: [
{
name: 'Kisauni',
locations: [
'bamburi',
'kisauni',
'mworoni',
'nyali',
'shanzu',
'bombolulu',
'mtopanga',
'mjambere',
'majaoni',
'manyani',
'magogoni',
'junda',
'mwakirunge',
'mshomoroni',
],
},
{
name: 'Kilifi',
locations: [
'kilfi', 'kilfi',
'kilifi', 'kilifi',
'mtwapa', 'mtwapa',
@ -281,18 +274,9 @@ const areaNames: Array<AreaName> = [
'raibai', 'raibai',
'ribe', 'ribe',
], ],
}, Kakuma: ['kakuma'],
{ Kitui: ['kitui', 'mwingi'],
name: 'Kakuma', Nyanza: [
locations: ['kakuma'],
},
{
name: 'Kitui',
locations: ['kitui', 'mwingi'],
},
{
name: 'Nyanza',
locations: [
'busia', 'busia',
'nyalgunga', 'nyalgunga',
'mbita', 'mbita',
@ -308,10 +292,7 @@ const areaNames: Array<AreaName> = [
'migori', 'migori',
'kusumu', 'kusumu',
], ],
}, 'Misc Rural Counties': [
{
name: 'Misc Rural Counties',
locations: [
'makueni', 'makueni',
'meru', 'meru',
'kisii', 'kisii',
@ -330,42 +311,20 @@ const areaNames: Array<AreaName> = [
'nakuru', 'nakuru',
'narok', 'narok',
], ],
}, other: ['other', 'none', 'unknown'],
{ };
name: 'other',
locations: ['other', 'none', 'unknown'],
},
];
/** A mock of curated area types. */ const areaTypes: object = {
const areaTypes: Array<AreaType> = [ urban: ['urban', 'nairobi', 'mombasa', 'kisauni'],
{ rural: ['rural', 'kakuma', 'kwale', 'kinango', 'kitui', 'nyanza'],
name: 'urban', periurban: ['kilifi', 'periurban'],
area: ['urban', 'nairobi', 'mombasa'], other: ['other'],
}, };
{
name: 'rural',
area: ['rural', 'kakuma', 'kwale', 'kinango', 'kitui', 'nyanza'],
},
{
name: 'periurban',
area: ['kilifi', 'periurban'],
},
{
name: 'other',
area: ['other'],
},
];
/** A mock of the user's business categories */ /** A mock of the user's business categories */
const categories: Array<Category> = [ const categories: object = {
{ system: ['system', 'office main', 'office main phone'],
name: 'system', education: [
products: ['system', 'office main', 'office main phone'],
},
{
name: 'education',
products: [
'book', 'book',
'coach', 'coach',
'teacher', 'teacher',
@ -403,7 +362,6 @@ const categories: Array<Category> = [
'demo', 'demo',
'expert', 'expert',
'tution', 'tution',
'tuition',
'children', 'children',
'headmaster', 'headmaster',
'educator', 'educator',
@ -422,10 +380,7 @@ const categories: Array<Category> = [
'vitabu', 'vitabu',
'kitabu', 'kitabu',
], ],
}, faith: [
{
name: 'faith',
products: [
'pastor', 'pastor',
'imam', 'imam',
'madrasa', 'madrasa',
@ -440,10 +395,7 @@ const categories: Array<Category> = [
'mksiti', 'mksiti',
'donor', 'donor',
], ],
}, government: [
{
name: 'government',
products: [
'elder', 'elder',
'chief', 'chief',
'police', 'police',
@ -457,12 +409,8 @@ const categories: Array<Category> = [
'kra', 'kra',
'mailman', 'mailman',
'immagration', 'immagration',
'immigration',
], ],
}, environment: [
{
name: 'environment',
products: [
'conservation', 'conservation',
'toilet', 'toilet',
'choo', 'choo',
@ -486,10 +434,7 @@ const categories: Array<Category> = [
'seedlings', 'seedlings',
'recycling', 'recycling',
], ],
}, farming: [
{
name: 'farming',
products: [
'farm', 'farm',
'farmer', 'farmer',
'farming', 'farming',
@ -500,10 +445,7 @@ const categories: Array<Category> = [
'jembe', 'jembe',
'shamba', 'shamba',
], ],
}, labour: [
{
name: 'labour',
products: [
'artist', 'artist',
'agent', 'agent',
'guard', 'guard',
@ -635,10 +577,7 @@ const categories: Array<Category> = [
'law firm', 'law firm',
'brewer', 'brewer',
], ],
}, food: [
{
name: 'food',
products: [
'avocado', 'avocado',
'bhajia', 'bhajia',
'bajia', 'bajia',
@ -797,14 +736,8 @@ const categories: Array<Category> = [
'barafu', 'barafu',
'juice', 'juice',
], ],
}, water: ['maji', 'water'],
{ health: [
name: 'water',
products: ['maji', 'water'],
},
{
name: 'health',
products: [
'agrovet', 'agrovet',
'dispensary', 'dispensary',
'barakoa', 'barakoa',
@ -835,14 +768,8 @@ const categories: Array<Category> = [
'emergency response', 'emergency response',
'emergency', 'emergency',
], ],
}, savings: ['chama', 'group', 'savings', 'loan', 'silc', 'vsla', 'credit', 'finance'],
{ shop: [
name: 'savings',
products: ['chama', 'group', 'savings', 'loan', 'silc', 'vsla', 'credit', 'finance'],
},
{
name: 'shop',
products: [
'bag', 'bag',
'bead', 'bead',
'belt', 'belt',
@ -914,10 +841,7 @@ const categories: Array<Category> = [
'm-pesa', 'm-pesa',
'vyombo', 'vyombo',
], ],
}, transport: [
{
name: 'transport',
products: [
'kebeba', 'kebeba',
'beba', 'beba',
'bebabeba', 'bebabeba',
@ -952,10 +876,7 @@ const categories: Array<Category> = [
'makanga', 'makanga',
'car', 'car',
], ],
}, 'fuel/energy': [
{
name: 'fuel/energy',
products: [
'timber', 'timber',
'timberyard', 'timberyard',
'biogas', 'biogas',
@ -984,101 +905,19 @@ const categories: Array<Category> = [
'kerosene', 'kerosene',
'diesel', 'diesel',
], ],
}, other: ['other', 'none', 'unknown', 'none'],
{ };
name: 'other',
products: ['other', 'none', 'unknown', 'none'],
},
];
/** A mock of curated genders */ /** A mock of curated genders */
const genders: Array<string> = ['male', 'female', 'other']; const genders: Array<string> = ['male', 'female', 'other'];
/** A mock of the tokens in the system. */
const tokens: Array<Token> = [
{
name: 'Giftable Reserve',
symbol: 'GRZ',
address: '0xa686005CE37Dce7738436256982C3903f2E4ea8E',
supply: '1000000001000000000000000000',
decimals: '18',
reserves: {},
},
{
name: 'Demo Token',
symbol: 'DEMO',
address: '0xc80D6aFF8194114c52AEcD84c9f15fd5c8abb187',
supply: '99999999999999998976',
decimals: '18',
reserves: {
'0xa686005CE37Dce7738436256982C3903f2E4ea8E': {
weight: '1000000',
balance: '99999999999999998976',
},
},
reserveRatio: '1000000',
owner: '0x3Da99AAD2D9CA01D131eFc3B17444b832B31Ff4a',
},
{
name: 'Foo Token',
symbol: 'FOO',
address: '0x9ceD86089f7aBB5A97B40eb0E7521e7aa308d354',
supply: '1000000000000000001014',
decimals: '18',
reserves: {
'0xa686005CE37Dce7738436256982C3903f2E4ea8E': {
weight: '1000000',
balance: '1000000000000000001014',
},
},
reserveRatio: '1000000',
owner: '0x3Da99AAD2D9CA01D131eFc3B17444b832B31Ff4a',
},
{
name: 'testb',
symbol: 'tstb',
address: '0xC63cFA91A3BFf41cE31Ff436f67D3ACBC977DB95',
supply: '99000',
decimals: '18',
reserves: {
'0xa686005CE37Dce7738436256982C3903f2E4ea8E': { weight: '1000000', balance: '99000' },
},
reserveRatio: '1000000',
owner: '0x3Da99AAD2D9CA01D131eFc3B17444b832B31Ff4a',
},
{
name: 'testa',
symbol: 'tsta',
address: '0x8fA4101ef19D0a078239d035659e92b278bD083C',
supply: '9981',
decimals: '18',
reserves: {
'0xa686005CE37Dce7738436256982C3903f2E4ea8E': { weight: '1000000', balance: '9981' },
},
reserveRatio: '1000000',
owner: '0x3Da99AAD2D9CA01D131eFc3B17444b832B31Ff4a',
},
{
name: 'testc',
symbol: 'tstc',
address: '0x4A6fA6bc3BfE4C9661bC692D9798425350C9e3D4',
supply: '100990',
decimals: '18',
reserves: {
'0xa686005CE37Dce7738436256982C3903f2E4ea8E': { weight: '1000000', balance: '100990' },
},
reserveRatio: '1000000',
owner: '0x3Da99AAD2D9CA01D131eFc3B17444b832B31Ff4a',
},
];
/** A mock of curated transaction types. */ /** A mock of curated transaction types. */
const transactionTypes: Array<string> = [ const transactionTypes: Array<string> = [
'transactions', 'transactions',
'conversions', 'conversions',
'disbursements', 'disbursements',
'rewards', 'rewards',
'reclamation', 'reclamations',
]; ];
/** /**
@ -1118,22 +957,12 @@ export class MockBackendInterceptor implements HttpInterceptor {
return approveAction(); return approveAction();
case url.endsWith('/areanames') && method === 'GET': case url.endsWith('/areanames') && method === 'GET':
return getAreaNames(); return getAreaNames();
case url.match(/\/areanames\/\w+$/) && method === 'GET':
return getAreaNameByLocation();
case url.endsWith('/areatypes') && method === 'GET': case url.endsWith('/areatypes') && method === 'GET':
return getAreaTypes(); return getAreaTypes();
case url.match(/\/areatypes\/\w+$/) && method === 'GET':
return getAreaTypeByArea();
case url.endsWith('/categories') && method === 'GET': case url.endsWith('/categories') && method === 'GET':
return getCategories(); return getCategories();
case url.match(/\/categories\/\w+$/) && method === 'GET':
return getCategoryByProduct();
case url.endsWith('/genders') && method === 'GET': case url.endsWith('/genders') && method === 'GET':
return getGenders(); return getGenders();
case url.endsWith('/tokens') && method === 'GET':
return getTokens();
case url.match(/\/tokens\/\w+$/) && method === 'GET':
return getTokenBySymbol();
case url.endsWith('/transactiontypes') && method === 'GET': case url.endsWith('/transactiontypes') && method === 'GET':
return getTransactionTypes(); return getTransactionTypes();
default: default:
@ -1165,54 +994,21 @@ export class MockBackendInterceptor implements HttpInterceptor {
} }
function getAreaNames(): Observable<HttpResponse<any>> { function getAreaNames(): Observable<HttpResponse<any>> {
const areaNameList: Array<string> = areaNames.map((areaName) => areaName.name); return ok(areaNames);
return ok(areaNameList);
}
function getAreaNameByLocation(): Observable<HttpResponse<any>> {
const queriedAreaName: AreaName = areaNames.find((areaName) =>
areaName.locations.includes(stringFromUrl())
);
return ok(queriedAreaName.name || 'other');
} }
function getAreaTypes(): Observable<HttpResponse<any>> { function getAreaTypes(): Observable<HttpResponse<any>> {
const areaTypeList: Array<string> = areaTypes.map((areaType) => areaType.name); return ok(areaTypes);
return ok(areaTypeList);
}
function getAreaTypeByArea(): Observable<HttpResponse<any>> {
const queriedAreaType: AreaType = areaTypes.find((areaType) =>
areaType.area.includes(stringFromUrl())
);
return ok(queriedAreaType.name || 'other');
} }
function getCategories(): Observable<HttpResponse<any>> { function getCategories(): Observable<HttpResponse<any>> {
const categoryList: Array<string> = categories.map((category) => category.name); return ok(categories);
return ok(categoryList);
}
function getCategoryByProduct(): Observable<HttpResponse<any>> {
const queriedCategory: Category = categories.find((category) =>
category.products.includes(stringFromUrl())
);
return ok(queriedCategory.name || 'other');
} }
function getGenders(): Observable<HttpResponse<any>> { function getGenders(): Observable<HttpResponse<any>> {
return ok(genders); return ok(genders);
} }
function getTokens(): Observable<HttpResponse<any>> {
return ok(tokens);
}
function getTokenBySymbol(): Observable<HttpResponse<any>> {
const queriedToken: Token = tokens.find((token) => token.symbol === stringFromUrl());
return ok(queriedToken);
}
function getTransactionTypes(): Observable<HttpResponse<any>> { function getTransactionTypes(): Observable<HttpResponse<any>> {
return ok(transactionTypes); return ok(transactionTypes);
} }

View File

@ -129,7 +129,7 @@ const defaultAccount: AccountDetails = {
meta: { meta: {
TYP: [], TYP: [],
}, },
value: '', value: '+254700000000',
}, },
], ],
version: [ version: [

View File

@ -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 };

View File

@ -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;
}
}
} }
} }

View File

@ -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();

View File

@ -62,6 +62,10 @@ export class TransactionService {
transaction.value = Number(transaction.value); transaction.value = Number(transaction.value);
transaction.type = 'transaction'; transaction.type = 'transaction';
try { try {
if (transaction.from === environment.trustedDeclaratorAddress) {
transaction.sender = defaultAccount;
this.userService.addAccount(defaultAccount, cacheSize);
} else {
this.userService this.userService
.getAccountDetailsFromMeta(await User.toKey(transaction.from)) .getAccountDetailsFromMeta(await User.toKey(transaction.from))
.pipe(first()) .pipe(first())
@ -70,10 +74,18 @@ export class TransactionService {
transaction.sender = this.getAccountInfo(res, cacheSize); transaction.sender = this.getAccountInfo(res, cacheSize);
}, },
(error) => { (error) => {
transaction.sender = defaultAccount; this.loggingService.sendErrorLevelMessage(
this.userService.addAccount(defaultAccount, cacheSize); `Account with address ${transaction.from} not found`,
this,
{ error }
);
} }
); );
}
if (transaction.to === environment.trustedDeclaratorAddress) {
transaction.recipient = defaultAccount;
this.userService.addAccount(defaultAccount, cacheSize);
} else {
this.userService this.userService
.getAccountDetailsFromMeta(await User.toKey(transaction.to)) .getAccountDetailsFromMeta(await User.toKey(transaction.to))
.pipe(first()) .pipe(first())
@ -82,10 +94,14 @@ export class TransactionService {
transaction.recipient = this.getAccountInfo(res, cacheSize); transaction.recipient = this.getAccountInfo(res, cacheSize);
}, },
(error) => { (error) => {
transaction.recipient = defaultAccount; this.loggingService.sendErrorLevelMessage(
this.userService.addAccount(defaultAccount, cacheSize); `Account with address ${transaction.to} not found`,
this,
{ error }
);
} }
); );
}
} finally { } finally {
this.addTransaction(transaction, cacheSize); this.addTransaction(transaction, cacheSize);
} }
@ -99,6 +115,10 @@ 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 {
if (conversion.trader === environment.trustedDeclaratorAddress) {
conversion.sender = conversion.recipient = defaultAccount;
this.userService.addAccount(defaultAccount, cacheSize);
} else {
this.userService this.userService
.getAccountDetailsFromMeta(await User.toKey(conversion.trader)) .getAccountDetailsFromMeta(await User.toKey(conversion.trader))
.pipe(first()) .pipe(first())
@ -107,10 +127,14 @@ export class TransactionService {
conversion.sender = conversion.recipient = this.getAccountInfo(res); conversion.sender = conversion.recipient = this.getAccountInfo(res);
}, },
(error) => { (error) => {
conversion.sender = conversion.recipient = defaultAccount; this.loggingService.sendErrorLevelMessage(
this.userService.addAccount(defaultAccount, cacheSize); `Account with address ${conversion.trader} not found`,
this,
{ error }
);
} }
); );
}
} finally { } finally {
this.addTransaction(conversion, cacheSize); this.addTransaction(conversion, cacheSize);
} }

View File

@ -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: {},
}; };
if (name) {
accountInfo.vcard.fn[0].value = name; accountInfo.vcard.fn[0].value = name;
accountInfo.vcard.n[0].value = name.split(' '); accountInfo.vcard.n[0].value = name.split(' ');
}
if (phoneNumber) {
accountInfo.vcard.tel[0].value = phoneNumber; accountInfo.vcard.tel[0].value = phoneNumber;
}
if (bio) {
accountInfo.products = [bio]; accountInfo.products = [bio];
}
if (gender) {
accountInfo.gender = gender; accountInfo.gender = gender;
}
if (age) {
accountInfo.age = age; accountInfo.age = age;
}
if (type) {
accountInfo.type = type; accountInfo.type = type;
}
if (businessCategory) {
accountInfo.category = businessCategory; accountInfo.category = businessCategory;
}
if (location) {
accountInfo.location.area = location; accountInfo.location.area = location;
}
if (userLocation) {
accountInfo.location.area_name = userLocation; accountInfo.location.area_name = userLocation;
}
if (locationType) {
accountInfo.location.area_type = 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> {

View File

@ -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"
> >

View File

@ -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
); );
} }
} }

View File

@ -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;
} }

View File

@ -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">

View File

@ -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 {

View File

@ -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())

View File

@ -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() {}
} }

View File

@ -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
); );
} }
} }

View File

@ -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/',
}; };

View File

@ -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/',
}; };

View File

@ -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/',
}; };

View File

@ -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;