Documentation update.

This commit is contained in:
Spencer Ofwiti 2021-09-02 23:48:41 +00:00
parent 0567b9b729
commit 33a446cfa4
133 changed files with 13908 additions and 9806 deletions

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -42,7 +43,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Classes</li> <li>Classes</li>
<li>AccountIndex</li> <li >AccountIndex</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -63,22 +64,19 @@
<code>src/app/_eth/accountIndex.ts</code> <code>src/app/_eth/accountIndex.ts</code>
</p> </p>
<p class="comment"> <p class="comment">
<h3>Description</h3> <h3>Description</h3>
</p> </p>
<p class="comment"> <p class="comment">
<p>Provides an instance of the accounts registry contract. <p>Provides an instance of the accounts registry contract.
Allows querying of accounts that have been registered as valid accounts in the network.</p> Allows querying of accounts that have been registered as valid accounts in the network.</p>
<p>This is our interface to the accounts registry contract.</p>
</p> </p>
<p class="comment">
<h3>Example</h3>
</p>
<div class="io-description">
</div>
<section> <section>
<h3 id="index">Index</h3> <h3 id="index">Index</h3>
@ -93,13 +91,13 @@ Allows querying of accounts that have been registered as valid accounts in the n
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#contract">contract</a> <a href="#contract" >contract</a>
</li> </li>
<li> <li>
<a href="#contractAddress">contractAddress</a> <a href="#contractAddress" >contractAddress</a>
</li> </li>
<li> <li>
<a href="#signerAddress">signerAddress</a> <a href="#signerAddress" >signerAddress</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -116,22 +114,22 @@ Allows querying of accounts that have been registered as valid accounts in the n
<li> <li>
<span class="modifier">Public</span> <span class="modifier">Public</span>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#addToAccountRegistry">addToAccountRegistry</a> <a href="#addToAccountRegistry" >addToAccountRegistry</a>
</li> </li>
<li> <li>
<span class="modifier">Public</span> <span class="modifier">Public</span>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#haveAccount">haveAccount</a> <a href="#haveAccount" >haveAccount</a>
</li> </li>
<li> <li>
<span class="modifier">Public</span> <span class="modifier">Public</span>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#last">last</a> <a href="#last" >last</a>
</li> </li>
<li> <li>
<span class="modifier">Public</span> <span class="modifier">Public</span>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#totalAccounts">totalAccounts</a> <a href="#totalAccounts" >totalAccounts</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -232,8 +230,7 @@ Allows querying of accounts that have been registered as valid accounts in the n
<td class="col-md-4"> <td class="col-md-4">
<a name="contract"></a> <a name="contract"></a>
<span class="name"> <span class="name">
<b> <span ><b>contract</b></span>
contract</b>
<a href="#contract"><span class="icon ion-ios-link"></span></a> <a href="#contract"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -252,7 +249,7 @@ Allows querying of accounts that have been registered as valid accounts in the n
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>The instance of the account registry contract. </p> <div class="io-description"><p>The instance of the account registry contract.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -265,8 +262,7 @@ Allows querying of accounts that have been registered as valid accounts in the n
<td class="col-md-4"> <td class="col-md-4">
<a name="contractAddress"></a> <a name="contractAddress"></a>
<span class="name"> <span class="name">
<b> <span ><b>contractAddress</b></span>
contractAddress</b>
<a href="#contractAddress"><span class="icon ion-ios-link"></span></a> <a href="#contractAddress"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -285,7 +281,7 @@ Allows querying of accounts that have been registered as valid accounts in the n
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>The deployed account registry contract&#39;s address. </p> <div class="io-description"><p>The deployed account registry contract&#39;s address.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -298,8 +294,7 @@ Allows querying of accounts that have been registered as valid accounts in the n
<td class="col-md-4"> <td class="col-md-4">
<a name="signerAddress"></a> <a name="signerAddress"></a>
<span class="name"> <span class="name">
<b> <span ><b>signerAddress</b></span>
signerAddress</b>
<a href="#signerAddress"><span class="icon ion-ios-link"></span></a> <a href="#signerAddress"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -318,7 +313,7 @@ Allows querying of accounts that have been registered as valid accounts in the n
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>The account address of the account that deployed the account registry contract. </p> <div class="io-description"><p>The account address of the account that deployed the account registry contract.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -338,11 +333,9 @@ Allows querying of accounts that have been registered as valid accounts in the n
<td class="col-md-4"> <td class="col-md-4">
<a name="addToAccountRegistry"></a> <a name="addToAccountRegistry"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Public</span> <span class="modifier">Public</span>
<span class="modifier">Async</span> <span class="modifier">Async</span>
addToAccountRegistry <span ><b>addToAccountRegistry</b></span>
</b>
<a href="#addToAccountRegistry"><span class="icon ion-ios-link"></span></a> <a href="#addToAccountRegistry"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -357,8 +350,8 @@ Allows querying of accounts that have been registered as valid accounts in the n
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="58" <div class="io-line">Defined in <a href="" data-line="61"
class="link-to-prism">src/app/_eth/accountIndex.ts:58</a></div> class="link-to-prism">src/app/_eth/accountIndex.ts:61</a></div>
</td> </td>
</tr> </tr>
@ -367,7 +360,8 @@ Allows querying of accounts that have been registered as valid accounts in the n
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Registers an account to the accounts registry. <div class="io-description"><p>Registers an account to the accounts registry.
Requires availability of the signer address.</p> Requires availability of the signer address.</p>
</div> <p>Prints &quot;true&quot; for registration of &#39;0xc0ffee254729296a45a3885639AC7E10F9d54979&#39;:</p>
<div><pre class="line-numbers"><code class="language-typescript">console.log(await addToAccountRegistry(&#39;0xc0ffee254729296a45a3885639AC7E10F9d54979&#39;));</code></pre></div></div>
<div class="io-description"> <div class="io-description">
<b>Parameters :</b> <b>Parameters :</b>
@ -406,11 +400,8 @@ Requires availability of the signer address.</p>
<b>Example :</b> <b>Example :</b>
<div> <div>
<pre class="line-numbers"><code class="language-html">Prints &amp;quot;true&amp;quot; for registration of &amp;#39;0xc0ffee254729296a45a3885639AC7E10F9d54979&amp;#39;:&lt;/p&gt; <pre class="line-numbers"><code class="language-html">Prints &amp;quot;true&amp;quot; for registration of &amp;#39;0xc0ffee254729296a45a3885639AC7E10F9d54979&amp;#39;:&lt;/p&gt;
&lt;p&gt;```typescript&lt;/p&gt; &lt;pre&gt;&lt;code class=&quot;language-typescript&quot;&gt;console.log(await addToAccountRegistry(&amp;#39;0xc0ffee254729296a45a3885639AC7E10F9d54979&amp;#39;));
&lt;ul&gt; &lt;/code&gt;&lt;/pre&gt;</code></pre>
&lt;li&gt;console.log(await addToAccountRegistry(&amp;#39;0xc0ffee254729296a45a3885639AC7E10F9d54979&amp;#39;));&lt;/li&gt;
&lt;li&gt;```&lt;/li&gt;
&lt;/ul&gt;</code></pre>
</div> </div>
</div> </div>
<div class="io-description"> <div class="io-description">
@ -431,11 +422,9 @@ Requires availability of the signer address.</p>
<td class="col-md-4"> <td class="col-md-4">
<a name="haveAccount"></a> <a name="haveAccount"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Public</span> <span class="modifier">Public</span>
<span class="modifier">Async</span> <span class="modifier">Async</span>
haveAccount <span ><b>haveAccount</b></span>
</b>
<a href="#haveAccount"><span class="icon ion-ios-link"></span></a> <a href="#haveAccount"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -450,8 +439,8 @@ Requires availability of the signer address.</p>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="79" <div class="io-line">Defined in <a href="" data-line="82"
class="link-to-prism">src/app/_eth/accountIndex.ts:79</a></div> class="link-to-prism">src/app/_eth/accountIndex.ts:82</a></div>
</td> </td>
</tr> </tr>
@ -460,7 +449,8 @@ Requires availability of the signer address.</p>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Checks whether a specific account address has been registered in the accounts registry. <div class="io-description"><p>Checks whether a specific account address has been registered in the accounts registry.
Returns &quot;true&quot; for available and &quot;false&quot; otherwise.</p> Returns &quot;true&quot; for available and &quot;false&quot; otherwise.</p>
</div> <p>Prints &quot;true&quot; or &quot;false&quot; depending on whether &#39;0xc0ffee254729296a45a3885639AC7E10F9d54979&#39; has been registered:</p>
<div><pre class="line-numbers"><code class="language-typescript">console.log(await haveAccount(&#39;0xc0ffee254729296a45a3885639AC7E10F9d54979&#39;));</code></pre></div></div>
<div class="io-description"> <div class="io-description">
<b>Parameters :</b> <b>Parameters :</b>
@ -499,11 +489,8 @@ Returns &quot;true&quot; for available and &quot;false&quot; otherwise.</p>
<b>Example :</b> <b>Example :</b>
<div> <div>
<pre class="line-numbers"><code class="language-html">Prints &amp;quot;true&amp;quot; or &amp;quot;false&amp;quot; depending on whether &amp;#39;0xc0ffee254729296a45a3885639AC7E10F9d54979&amp;#39; has been registered:&lt;/p&gt; <pre class="line-numbers"><code class="language-html">Prints &amp;quot;true&amp;quot; or &amp;quot;false&amp;quot; depending on whether &amp;#39;0xc0ffee254729296a45a3885639AC7E10F9d54979&amp;#39; has been registered:&lt;/p&gt;
&lt;p&gt;```typescript&lt;/p&gt; &lt;pre&gt;&lt;code class=&quot;language-typescript&quot;&gt;console.log(await haveAccount(&amp;#39;0xc0ffee254729296a45a3885639AC7E10F9d54979&amp;#39;));
&lt;ul&gt; &lt;/code&gt;&lt;/pre&gt;</code></pre>
&lt;li&gt;console.log(await haveAccount(&amp;#39;0xc0ffee254729296a45a3885639AC7E10F9d54979&amp;#39;));&lt;/li&gt;
&lt;li&gt;```&lt;/li&gt;
&lt;/ul&gt;</code></pre>
</div> </div>
</div> </div>
<div class="io-description"> <div class="io-description">
@ -524,11 +511,9 @@ Returns &quot;true&quot; for available and &quot;false&quot; otherwise.</p>
<td class="col-md-4"> <td class="col-md-4">
<a name="last"></a> <a name="last"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Public</span> <span class="modifier">Public</span>
<span class="modifier">Async</span> <span class="modifier">Async</span>
last <span ><b>last</b></span>
</b>
<a href="#last"><span class="icon ion-ios-link"></span></a> <a href="#last"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -543,8 +528,8 @@ Returns &quot;true&quot; for available and &quot;false&quot; otherwise.</p>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="96" <div class="io-line">Defined in <a href="" data-line="99"
class="link-to-prism">src/app/_eth/accountIndex.ts:96</a></div> class="link-to-prism">src/app/_eth/accountIndex.ts:99</a></div>
</td> </td>
</tr> </tr>
@ -552,7 +537,8 @@ Returns &quot;true&quot; for available and &quot;false&quot; otherwise.</p>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Returns a specified number of the most recently registered accounts.</p> <div class="io-description"><p>Returns a specified number of the most recently registered accounts.</p>
</div> <p>Prints an array of accounts:</p>
<div><pre class="line-numbers"><code class="language-typescript">console.log(await last(5));</code></pre></div></div>
<div class="io-description"> <div class="io-description">
<b>Parameters :</b> <b>Parameters :</b>
@ -591,11 +577,8 @@ Returns &quot;true&quot; for available and &quot;false&quot; otherwise.</p>
<b>Example :</b> <b>Example :</b>
<div> <div>
<pre class="line-numbers"><code class="language-html">Prints an array of accounts:&lt;/p&gt; <pre class="line-numbers"><code class="language-html">Prints an array of accounts:&lt;/p&gt;
&lt;p&gt;```typescript&lt;/p&gt; &lt;pre&gt;&lt;code class=&quot;language-typescript&quot;&gt;console.log(await last(5));
&lt;ul&gt; &lt;/code&gt;&lt;/pre&gt;</code></pre>
&lt;li&gt;console.log(await last(5));&lt;/li&gt;
&lt;li&gt;```&lt;/li&gt;
&lt;/ul&gt;</code></pre>
</div> </div>
</div> </div>
<div class="io-description"> <div class="io-description">
@ -616,11 +599,9 @@ Returns &quot;true&quot; for available and &quot;false&quot; otherwise.</p>
<td class="col-md-4"> <td class="col-md-4">
<a name="totalAccounts"></a> <a name="totalAccounts"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Public</span> <span class="modifier">Public</span>
<span class="modifier">Async</span> <span class="modifier">Async</span>
totalAccounts <span ><b>totalAccounts</b></span>
</b>
<a href="#totalAccounts"><span class="icon ion-ios-link"></span></a> <a href="#totalAccounts"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -635,8 +616,8 @@ Returns &quot;true&quot; for available and &quot;false&quot; otherwise.</p>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="122" <div class="io-line">Defined in <a href="" data-line="125"
class="link-to-prism">src/app/_eth/accountIndex.ts:122</a></div> class="link-to-prism">src/app/_eth/accountIndex.ts:125</a></div>
</td> </td>
</tr> </tr>
@ -644,17 +625,15 @@ Returns &quot;true&quot; for available and &quot;false&quot; otherwise.</p>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Returns the total number of accounts that have been registered in the network.</p> <div class="io-description"><p>Returns the total number of accounts that have been registered in the network.</p>
</div> <p>Prints the total number of registered accounts:</p>
<div><pre class="line-numbers"><code class="language-typescript">console.log(await totalAccounts());</code></pre></div></div>
<div> <div>
<b>Example :</b> <b>Example :</b>
<div> <div>
<pre class="line-numbers"><code class="language-html">Prints the total number of registered accounts:&lt;/p&gt; <pre class="line-numbers"><code class="language-html">Prints the total number of registered accounts:&lt;/p&gt;
&lt;p&gt;```typescript&lt;/p&gt; &lt;pre&gt;&lt;code class=&quot;language-typescript&quot;&gt;console.log(await totalAccounts());
&lt;ul&gt; &lt;/code&gt;&lt;/pre&gt;</code></pre>
&lt;li&gt;console.log(await totalAccounts());&lt;/li&gt;
&lt;li&gt;```&lt;/li&gt;
&lt;/ul&gt;</code></pre>
</div> </div>
</div> </div>
<div class="io-description"> <div class="io-description">
@ -714,6 +693,9 @@ export class AccountIndex {
constructor(contractAddress: string, signerAddress?: string) { constructor(contractAddress: string, signerAddress?: string) {
this.contractAddress &#x3D; contractAddress; this.contractAddress &#x3D; contractAddress;
this.contract &#x3D; new web3.eth.Contract(abi, this.contractAddress); this.contract &#x3D; new web3.eth.Contract(abi, this.contractAddress);
// TODO this signer logic should be part of the web3service
// if signer address is not passed (for example in user service) then
// this fallsback to a web3 wallet that is not even connected???
if (signerAddress) { if (signerAddress) {
this.signerAddress &#x3D; signerAddress; this.signerAddress &#x3D; signerAddress;
} else { } else {
@ -837,9 +819,9 @@ export class AccountIndex {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -42,7 +43,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Classes</li> <li>Classes</li>
<li>ActivatedRouteStub</li> <li >ActivatedRouteStub</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -63,6 +64,7 @@
<code>src/testing/activated-route-stub.ts</code> <code>src/testing/activated-route-stub.ts</code>
</p> </p>
<p class="comment"> <p class="comment">
<h3>Description</h3> <h3>Description</h3>
</p> </p>
@ -89,11 +91,11 @@ Use the <code>setParamMap()</code> method to add the next <code>paramMap</code>
<ul class="index-list"> <ul class="index-list">
<li> <li>
<span class="modifier">Readonly</span> <span class="modifier">Readonly</span>
<a href="#paramMap">paramMap</a> <a href="#paramMap" >paramMap</a>
</li> </li>
<li> <li>
<span class="modifier">Private</span> <span class="modifier">Private</span>
<a href="#subject">subject</a> <a href="#subject" >subject</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -108,7 +110,7 @@ Use the <code>setParamMap()</code> method to add the next <code>paramMap</code>
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#setParamMap">setParamMap</a> <a href="#setParamMap" >setParamMap</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -182,9 +184,8 @@ Use the <code>setParamMap()</code> method to add the next <code>paramMap</code>
<td class="col-md-4"> <td class="col-md-4">
<a name="paramMap"></a> <a name="paramMap"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Readonly</span> <span class="modifier">Readonly</span>
paramMap</b> <span ><b>paramMap</b></span>
<a href="#paramMap"><span class="icon ion-ios-link"></span></a> <a href="#paramMap"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -202,7 +203,7 @@ Use the <code>setParamMap()</code> method to add the next <code>paramMap</code>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>The mock paramMap observable </p> <div class="io-description"><p>The mock paramMap observable</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -215,9 +216,8 @@ Use the <code>setParamMap()</code> method to add the next <code>paramMap</code>
<td class="col-md-4"> <td class="col-md-4">
<a name="subject"></a> <a name="subject"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Private</span> <span class="modifier">Private</span>
subject</b> <span ><b>subject</b></span>
<a href="#subject"><span class="icon ion-ios-link"></span></a> <a href="#subject"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -249,9 +249,7 @@ Use the <code>setParamMap()</code> method to add the next <code>paramMap</code>
<td class="col-md-4"> <td class="col-md-4">
<a name="setParamMap"></a> <a name="setParamMap"></a>
<span class="name"> <span class="name">
<b> <span ><b>setParamMap</b></span>
setParamMap
</b>
<a href="#setParamMap"><span class="icon ion-ios-link"></span></a> <a href="#setParamMap"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -273,7 +271,7 @@ Use the <code>setParamMap()</code> method to add the next <code>paramMap</code>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Set the paramMap observables&#39;s next value </p> <div class="io-description"><p>Set the paramMap observables&#39;s next value</p>
</div> </div>
<div class="io-description"> <div class="io-description">
@ -383,9 +381,9 @@ export class ActivatedRouteStub {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -42,7 +43,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Classes</li> <li>Classes</li>
<li>CustomErrorStateMatcher</li> <li >CustomErrorStateMatcher</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -63,6 +64,7 @@
<code>src/app/_helpers/custom-error-state-matcher.ts</code> <code>src/app/_helpers/custom-error-state-matcher.ts</code>
</p> </p>
<p class="comment"> <p class="comment">
<h3>Description</h3> <h3>Description</h3>
</p> </p>
@ -94,7 +96,7 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#isErrorState">isErrorState</a> <a href="#isErrorState" >isErrorState</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -121,9 +123,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="isErrorState"></a> <a name="isErrorState"></a>
<span class="name"> <span class="name">
<b> <span ><b>isErrorState</b></span>
isErrorState
</b>
<a href="#isErrorState"><span class="icon ion-ios-link"></span></a> <a href="#isErrorState"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -277,9 +277,9 @@ export class CustomErrorStateMatcher implements ErrorStateMatcher {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -42,7 +43,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Classes</li> <li>Classes</li>
<li>CustomValidator</li> <li >CustomValidator</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -63,6 +64,7 @@
<code>src/app/_helpers/custom.validator.ts</code> <code>src/app/_helpers/custom.validator.ts</code>
</p> </p>
<p class="comment"> <p class="comment">
<h3>Description</h3> <h3>Description</h3>
</p> </p>
@ -89,11 +91,11 @@
<ul class="index-list"> <ul class="index-list">
<li> <li>
<span class="modifier">Static</span> <span class="modifier">Static</span>
<a href="#passwordMatchValidator">passwordMatchValidator</a> <a href="#passwordMatchValidator" >passwordMatchValidator</a>
</li> </li>
<li> <li>
<span class="modifier">Static</span> <span class="modifier">Static</span>
<a href="#patternValidator">patternValidator</a> <a href="#patternValidator" >patternValidator</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -120,10 +122,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="passwordMatchValidator"></a> <a name="passwordMatchValidator"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Static</span> <span class="modifier">Static</span>
passwordMatchValidator <span ><b>passwordMatchValidator</b></span>
</b>
<a href="#passwordMatchValidator"><span class="icon ion-ios-link"></span></a> <a href="#passwordMatchValidator"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -201,10 +201,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="patternValidator"></a> <a name="patternValidator"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Static</span> <span class="modifier">Static</span>
patternValidator <span ><b>patternValidator</b></span>
</b>
<a href="#patternValidator"><span class="icon ion-ios-link"></span></a> <a href="#patternValidator"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -376,9 +374,9 @@ export class CustomValidator {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -42,7 +43,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Classes</li> <li>Classes</li>
<li>HttpError</li> <li >HttpError</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -63,6 +64,7 @@
<code>src/app/_helpers/global-error-handler.ts</code> <code>src/app/_helpers/global-error-handler.ts</code>
</p> </p>
<p class="comment"> <p class="comment">
<h3>Description</h3> <h3>Description</h3>
</p> </p>
@ -79,11 +81,6 @@
</p> </p>
<p class="comment">
<h3>Example</h3>
</p>
<div class="io-description">
</div>
<section> <section>
<h3 id="index">Index</h3> <h3 id="index">Index</h3>
@ -99,7 +96,7 @@
<ul class="index-list"> <ul class="index-list">
<li> <li>
<span class="modifier">Public</span> <span class="modifier">Public</span>
<a href="#status">status</a> <a href="#status" >status</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -201,9 +198,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="status"></a> <a name="status"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Public</span> <span class="modifier">Public</span>
status</b> <span ><b>status</b></span>
<a href="#status"><span class="icon ion-ios-link"></span></a> <a href="#status"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -222,7 +218,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>The error&#39;s status code. </p> <div class="io-description"><p>The error&#39;s status code.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -415,9 +411,9 @@ export function rejectBody(error): { status: any; statusText: any } {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -42,7 +43,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Classes</li> <li>Classes</li>
<li>MutablePgpKeyStore</li> <li >MutablePgpKeyStore</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -63,11 +64,12 @@
<code>src/app/_pgp/pgp-key-store.ts</code> <code>src/app/_pgp/pgp-key-store.ts</code>
</p> </p>
<p class="comment"> <p class="comment">
<h3>Description</h3> <h3>Description</h3>
</p> </p>
<p class="comment"> <p class="comment">
<p>Provides a keyring for pgp keys. </p> <p>Provides a keyring for pgp keys.</p>
</p> </p>
@ -94,86 +96,86 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#clearKeysInKeyring">clearKeysInKeyring</a> <a href="#clearKeysInKeyring" >clearKeysInKeyring</a>
</li> </li>
<li> <li>
<a href="#getEncryptKeys">getEncryptKeys</a> <a href="#getEncryptKeys" >getEncryptKeys</a>
</li> </li>
<li> <li>
<a href="#getFingerprint">getFingerprint</a> <a href="#getFingerprint" >getFingerprint</a>
</li> </li>
<li> <li>
<a href="#getKeyId">getKeyId</a> <a href="#getKeyId" >getKeyId</a>
</li> </li>
<li> <li>
<a href="#getKeysForId">getKeysForId</a> <a href="#getKeysForId" >getKeysForId</a>
</li> </li>
<li> <li>
<a href="#getPrivateKey">getPrivateKey</a> <a href="#getPrivateKey" >getPrivateKey</a>
</li> </li>
<li> <li>
<a href="#getPrivateKeyForId">getPrivateKeyForId</a> <a href="#getPrivateKeyForId" >getPrivateKeyForId</a>
</li> </li>
<li> <li>
<a href="#getPrivateKeyId">getPrivateKeyId</a> <a href="#getPrivateKeyId" >getPrivateKeyId</a>
</li> </li>
<li> <li>
<a href="#getPrivateKeys">getPrivateKeys</a> <a href="#getPrivateKeys" >getPrivateKeys</a>
</li> </li>
<li> <li>
<a href="#getPublicKeyForId">getPublicKeyForId</a> <a href="#getPublicKeyForId" >getPublicKeyForId</a>
</li> </li>
<li> <li>
<a href="#getPublicKeyForSubkeyId">getPublicKeyForSubkeyId</a> <a href="#getPublicKeyForSubkeyId" >getPublicKeyForSubkeyId</a>
</li> </li>
<li> <li>
<a href="#getPublicKeys">getPublicKeys</a> <a href="#getPublicKeys" >getPublicKeys</a>
</li> </li>
<li> <li>
<a href="#getPublicKeysForAddress">getPublicKeysForAddress</a> <a href="#getPublicKeysForAddress" >getPublicKeysForAddress</a>
</li> </li>
<li> <li>
<a href="#getTrustedActiveKeys">getTrustedActiveKeys</a> <a href="#getTrustedActiveKeys" >getTrustedActiveKeys</a>
</li> </li>
<li> <li>
<a href="#getTrustedKeys">getTrustedKeys</a> <a href="#getTrustedKeys" >getTrustedKeys</a>
</li> </li>
<li> <li>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#importKeyPair">importKeyPair</a> <a href="#importKeyPair" >importKeyPair</a>
</li> </li>
<li> <li>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#importPrivateKey">importPrivateKey</a> <a href="#importPrivateKey" >importPrivateKey</a>
</li> </li>
<li> <li>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#importPublicKey">importPublicKey</a> <a href="#importPublicKey" >importPublicKey</a>
</li> </li>
<li> <li>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#isEncryptedPrivateKey">isEncryptedPrivateKey</a> <a href="#isEncryptedPrivateKey" >isEncryptedPrivateKey</a>
</li> </li>
<li> <li>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#isValidKey">isValidKey</a> <a href="#isValidKey" >isValidKey</a>
</li> </li>
<li> <li>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#loadKeyring">loadKeyring</a> <a href="#loadKeyring" >loadKeyring</a>
</li> </li>
<li> <li>
<a href="#removeKeysForId">removeKeysForId</a> <a href="#removeKeysForId" >removeKeysForId</a>
</li> </li>
<li> <li>
<a href="#removePublicKey">removePublicKey</a> <a href="#removePublicKey" >removePublicKey</a>
</li> </li>
<li> <li>
<a href="#removePublicKeyForId">removePublicKeyForId</a> <a href="#removePublicKeyForId" >removePublicKeyForId</a>
</li> </li>
<li> <li>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#sign">sign</a> <a href="#sign" >sign</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -200,9 +202,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="clearKeysInKeyring"></a> <a name="clearKeysInKeyring"></a>
<span class="name"> <span class="name">
<b> <span ><b>clearKeysInKeyring</b></span>
clearKeysInKeyring
</b>
<a href="#clearKeysInKeyring"><span class="icon ion-ios-link"></span></a> <a href="#clearKeysInKeyring"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -224,7 +224,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Remove all keys from the keyring. </p> <div class="io-description"><p>Remove all keys from the keyring.</p>
</div> </div>
<div class="io-description"> <div class="io-description">
@ -241,9 +241,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getEncryptKeys"></a> <a name="getEncryptKeys"></a>
<span class="name"> <span class="name">
<b> <span ><b>getEncryptKeys</b></span>
getEncryptKeys
</b>
<a href="#getEncryptKeys"><span class="icon ion-ios-link"></span></a> <a href="#getEncryptKeys"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -265,7 +263,9 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Get all the encryption keys.</p> <div class="io-description"><p>Get all the encryption keys.
Current implementation doesn&#39;t include encryption keys.
This is included to appease the implemented Keystore interface.</p>
</div> </div>
<div> <div>
@ -288,9 +288,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getFingerprint"></a> <a name="getFingerprint"></a>
<span class="name"> <span class="name">
<b> <span ><b>getFingerprint</b></span>
getFingerprint
</b>
<a href="#getFingerprint"><span class="icon ion-ios-link"></span></a> <a href="#getFingerprint"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -335,9 +333,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getKeyId"></a> <a name="getKeyId"></a>
<span class="name"> <span class="name">
<b> <span ><b>getKeyId</b></span>
getKeyId
</b>
<a href="#getKeyId"><span class="icon ion-ios-link"></span></a> <a href="#getKeyId"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -415,9 +411,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getKeysForId"></a> <a name="getKeysForId"></a>
<span class="name"> <span class="name">
<b> <span ><b>getKeysForId</b></span>
getKeysForId
</b>
<a href="#getKeysForId"><span class="icon ion-ios-link"></span></a> <a href="#getKeysForId"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -495,9 +489,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getPrivateKey"></a> <a name="getPrivateKey"></a>
<span class="name"> <span class="name">
<b> <span ><b>getPrivateKey</b></span>
getPrivateKey
</b>
<a href="#getPrivateKey"><span class="icon ion-ios-link"></span></a> <a href="#getPrivateKey"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -542,9 +534,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getPrivateKeyForId"></a> <a name="getPrivateKeyForId"></a>
<span class="name"> <span class="name">
<b> <span ><b>getPrivateKeyForId</b></span>
getPrivateKeyForId
</b>
<a href="#getPrivateKeyForId"><span class="icon ion-ios-link"></span></a> <a href="#getPrivateKeyForId"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -618,9 +608,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getPrivateKeyId"></a> <a name="getPrivateKeyId"></a>
<span class="name"> <span class="name">
<b> <span ><b>getPrivateKeyId</b></span>
getPrivateKeyId
</b>
<a href="#getPrivateKeyId"><span class="icon ion-ios-link"></span></a> <a href="#getPrivateKeyId"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -665,9 +653,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getPrivateKeys"></a> <a name="getPrivateKeys"></a>
<span class="name"> <span class="name">
<b> <span ><b>getPrivateKeys</b></span>
getPrivateKeys
</b>
<a href="#getPrivateKeys"><span class="icon ion-ios-link"></span></a> <a href="#getPrivateKeys"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -712,9 +698,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getPublicKeyForId"></a> <a name="getPublicKeyForId"></a>
<span class="name"> <span class="name">
<b> <span ><b>getPublicKeyForId</b></span>
getPublicKeyForId
</b>
<a href="#getPublicKeyForId"><span class="icon ion-ios-link"></span></a> <a href="#getPublicKeyForId"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -788,9 +772,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getPublicKeyForSubkeyId"></a> <a name="getPublicKeyForSubkeyId"></a>
<span class="name"> <span class="name">
<b> <span ><b>getPublicKeyForSubkeyId</b></span>
getPublicKeyForSubkeyId
</b>
<a href="#getPublicKeyForSubkeyId"><span class="icon ion-ios-link"></span></a> <a href="#getPublicKeyForSubkeyId"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -864,9 +846,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getPublicKeys"></a> <a name="getPublicKeys"></a>
<span class="name"> <span class="name">
<b> <span ><b>getPublicKeys</b></span>
getPublicKeys
</b>
<a href="#getPublicKeys"><span class="icon ion-ios-link"></span></a> <a href="#getPublicKeys"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -911,9 +891,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getPublicKeysForAddress"></a> <a name="getPublicKeysForAddress"></a>
<span class="name"> <span class="name">
<b> <span ><b>getPublicKeysForAddress</b></span>
getPublicKeysForAddress
</b>
<a href="#getPublicKeysForAddress"><span class="icon ion-ios-link"></span></a> <a href="#getPublicKeysForAddress"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -987,9 +965,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getTrustedActiveKeys"></a> <a name="getTrustedActiveKeys"></a>
<span class="name"> <span class="name">
<b> <span ><b>getTrustedActiveKeys</b></span>
getTrustedActiveKeys
</b>
<a href="#getTrustedActiveKeys"><span class="icon ion-ios-link"></span></a> <a href="#getTrustedActiveKeys"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1034,9 +1010,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getTrustedKeys"></a> <a name="getTrustedKeys"></a>
<span class="name"> <span class="name">
<b> <span ><b>getTrustedKeys</b></span>
getTrustedKeys
</b>
<a href="#getTrustedKeys"><span class="icon ion-ios-link"></span></a> <a href="#getTrustedKeys"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1081,10 +1055,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="importKeyPair"></a> <a name="importKeyPair"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Async</span> <span class="modifier">Async</span>
importKeyPair <span ><b>importKeyPair</b></span>
</b>
<a href="#importKeyPair"><span class="icon ion-ios-link"></span></a> <a href="#importKeyPair"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1180,10 +1152,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="importPrivateKey"></a> <a name="importPrivateKey"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Async</span> <span class="modifier">Async</span>
importPrivateKey <span ><b>importPrivateKey</b></span>
</b>
<a href="#importPrivateKey"><span class="icon ion-ios-link"></span></a> <a href="#importPrivateKey"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1261,10 +1231,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="importPublicKey"></a> <a name="importPublicKey"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Async</span> <span class="modifier">Async</span>
importPublicKey <span ><b>importPublicKey</b></span>
</b>
<a href="#importPublicKey"><span class="icon ion-ios-link"></span></a> <a href="#importPublicKey"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1342,10 +1310,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="isEncryptedPrivateKey"></a> <a name="isEncryptedPrivateKey"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Async</span> <span class="modifier">Async</span>
isEncryptedPrivateKey <span ><b>isEncryptedPrivateKey</b></span>
</b>
<a href="#isEncryptedPrivateKey"><span class="icon ion-ios-link"></span></a> <a href="#isEncryptedPrivateKey"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1424,10 +1390,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="isValidKey"></a> <a name="isValidKey"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Async</span> <span class="modifier">Async</span>
isValidKey <span ><b>isValidKey</b></span>
</b>
<a href="#isValidKey"><span class="icon ion-ios-link"></span></a> <a href="#isValidKey"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1502,10 +1466,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="loadKeyring"></a> <a name="loadKeyring"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Async</span> <span class="modifier">Async</span>
loadKeyring <span ><b>loadKeyring</b></span>
</b>
<a href="#loadKeyring"><span class="icon ion-ios-link"></span></a> <a href="#loadKeyring"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1545,9 +1507,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="removeKeysForId"></a> <a name="removeKeysForId"></a>
<span class="name"> <span class="name">
<b> <span ><b>removeKeysForId</b></span>
removeKeysForId
</b>
<a href="#removeKeysForId"><span class="icon ion-ios-link"></span></a> <a href="#removeKeysForId"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1621,9 +1581,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="removePublicKey"></a> <a name="removePublicKey"></a>
<span class="name"> <span class="name">
<b> <span ><b>removePublicKey</b></span>
removePublicKey
</b>
<a href="#removePublicKey"><span class="icon ion-ios-link"></span></a> <a href="#removePublicKey"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1701,9 +1659,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="removePublicKeyForId"></a> <a name="removePublicKeyForId"></a>
<span class="name"> <span class="name">
<b> <span ><b>removePublicKeyForId</b></span>
removePublicKeyForId
</b>
<a href="#removePublicKeyForId"><span class="icon ion-ios-link"></span></a> <a href="#removePublicKeyForId"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1777,10 +1733,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="sign"></a> <a name="sign"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Async</span> <span class="modifier">Async</span>
sign <span ><b>sign</b></span>
</b>
<a href="#sign"><span class="icon ion-ios-link"></span></a> <a href="#sign"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -2327,9 +2281,9 @@ export { MutableKeyStore, MutablePgpKeyStore };
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -42,7 +43,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Classes</li> <li>Classes</li>
<li>PGPSigner</li> <li >PGPSigner</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -63,11 +64,12 @@
<code>src/app/_pgp/pgp-signer.ts</code> <code>src/app/_pgp/pgp-signer.ts</code>
</p> </p>
<p class="comment"> <p class="comment">
<h3>Description</h3> <h3>Description</h3>
</p> </p>
<p class="comment"> <p class="comment">
<p>Provides functionality for signing and verifying signed messages. </p> <p>Provides functionality for signing and verifying signed messages.</p>
</p> </p>
@ -93,28 +95,28 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#algo">algo</a> <a href="#algo" >algo</a>
</li> </li>
<li> <li>
<a href="#dgst">dgst</a> <a href="#dgst" >dgst</a>
</li> </li>
<li> <li>
<a href="#engine">engine</a> <a href="#engine" >engine</a>
</li> </li>
<li> <li>
<a href="#keyStore">keyStore</a> <a href="#keyStore" >keyStore</a>
</li> </li>
<li> <li>
<a href="#loggingService">loggingService</a> <a href="#loggingService" >loggingService</a>
</li> </li>
<li> <li>
<a href="#onsign">onsign</a> <a href="#onsign" >onsign</a>
</li> </li>
<li> <li>
<a href="#onverify">onverify</a> <a href="#onverify" >onverify</a>
</li> </li>
<li> <li>
<a href="#signature">signature</a> <a href="#signature" >signature</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -130,20 +132,20 @@
<ul class="index-list"> <ul class="index-list">
<li> <li>
<span class="modifier">Public</span> <span class="modifier">Public</span>
<a href="#fingerprint">fingerprint</a> <a href="#fingerprint" >fingerprint</a>
</li> </li>
<li> <li>
<span class="modifier">Public</span> <span class="modifier">Public</span>
<a href="#prepare">prepare</a> <a href="#prepare" >prepare</a>
</li> </li>
<li> <li>
<span class="modifier">Public</span> <span class="modifier">Public</span>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#sign">sign</a> <a href="#sign" >sign</a>
</li> </li>
<li> <li>
<span class="modifier">Public</span> <span class="modifier">Public</span>
<a href="#verify">verify</a> <a href="#verify" >verify</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -163,7 +165,7 @@
<tbody> <tbody>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<code>constructor(keyStore: <a href="../interfaces/MutableKeyStore.html">MutableKeyStore</a>)</code> <code>constructor(keyStore: <a href="../interfaces/MutableKeyStore.html" target="_self">MutableKeyStore</a>)</code>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -226,8 +228,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="algo"></a> <a name="algo"></a>
<span class="name"> <span class="name">
<b> <span ><b>algo</b></span>
algo</b>
<a href="#algo"><span class="icon ion-ios-link"></span></a> <a href="#algo"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -251,7 +252,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Encryption algorithm used </p> <div class="io-description"><p>Encryption algorithm used</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -264,8 +265,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="dgst"></a> <a name="dgst"></a>
<span class="name"> <span class="name">
<b> <span ><b>dgst</b></span>
dgst</b>
<a href="#dgst"><span class="icon ion-ios-link"></span></a> <a href="#dgst"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -284,7 +284,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Message digest </p> <div class="io-description"><p>Message digest</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -297,8 +297,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="engine"></a> <a name="engine"></a>
<span class="name"> <span class="name">
<b> <span ><b>engine</b></span>
engine</b>
<a href="#engine"><span class="icon ion-ios-link"></span></a> <a href="#engine"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -322,7 +321,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Encryption engine used. </p> <div class="io-description"><p>Encryption engine used.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -335,8 +334,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="keyStore"></a> <a name="keyStore"></a>
<span class="name"> <span class="name">
<b> <span ><b>keyStore</b></span>
keyStore</b>
<a href="#keyStore"><span class="icon ion-ios-link"></span></a> <a href="#keyStore"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -355,7 +353,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>A keystore holding pgp keys. </p> <div class="io-description"><p>A keystore holding pgp keys.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -368,8 +366,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="loggingService"></a> <a name="loggingService"></a>
<span class="name"> <span class="name">
<b> <span ><b>loggingService</b></span>
loggingService</b>
<a href="#loggingService"><span class="icon ion-ios-link"></span></a> <a href="#loggingService"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -388,7 +385,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>A service that provides logging capabilities. </p> <div class="io-description"><p>A service that provides logging capabilities.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -401,8 +398,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="onsign"></a> <a name="onsign"></a>
<span class="name"> <span class="name">
<b> <span ><b>onsign</b></span>
onsign</b>
<a href="#onsign"><span class="icon ion-ios-link"></span></a> <a href="#onsign"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -421,7 +417,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Event triggered on successful signing of message. </p> <div class="io-description"><p>Event triggered on successful signing of message.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -434,8 +430,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="onverify"></a> <a name="onverify"></a>
<span class="name"> <span class="name">
<b> <span ><b>onverify</b></span>
onverify</b>
<a href="#onverify"><span class="icon ion-ios-link"></span></a> <a href="#onverify"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -454,7 +449,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Event triggered on successful verification of a signature. </p> <div class="io-description"><p>Event triggered on successful verification of a signature.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -467,8 +462,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="signature"></a> <a name="signature"></a>
<span class="name"> <span class="name">
<b> <span ><b>signature</b></span>
signature</b>
<a href="#signature"><span class="icon ion-ios-link"></span></a> <a href="#signature"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -487,7 +481,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Generated signature </p> <div class="io-description"><p>Generated signature</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -507,10 +501,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="fingerprint"></a> <a name="fingerprint"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Public</span> <span class="modifier">Public</span>
fingerprint <span ><b>fingerprint</b></span>
</b>
<a href="#fingerprint"><span class="icon ion-ios-link"></span></a> <a href="#fingerprint"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -556,10 +548,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="prepare"></a> <a name="prepare"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Public</span> <span class="modifier">Public</span>
prepare <span ><b>prepare</b></span>
</b>
<a href="#prepare"><span class="icon ion-ios-link"></span></a> <a href="#prepare"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -567,7 +557,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<span class="modifier-icon icon ion-ios-reset"></span> <span class="modifier-icon icon ion-ios-reset"></span>
<code>prepare(material: <a href="../interfaces/Signable.html">Signable</a>)</code> <code>prepare(material: <a href="../interfaces/Signable.html" target="_self">Signable</a>)</code>
</td> </td>
</tr> </tr>
@ -638,11 +628,9 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="sign"></a> <a name="sign"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Public</span> <span class="modifier">Public</span>
<span class="modifier">Async</span> <span class="modifier">Async</span>
sign <span ><b>sign</b></span>
</b>
<a href="#sign"><span class="icon ion-ios-link"></span></a> <a href="#sign"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -720,10 +708,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="verify"></a> <a name="verify"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Public</span> <span class="modifier">Public</span>
verify <span ><b>verify</b></span>
</b>
<a href="#verify"><span class="icon ion-ios-link"></span></a> <a href="#verify"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -731,7 +717,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<span class="modifier-icon icon ion-ios-reset"></span> <span class="modifier-icon icon ion-ios-reset"></span>
<code>verify(digest: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, signature: <a href="../interfaces/Signature.html">Signature</a>)</code> <code>verify(digest: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, signature: <a href="../interfaces/Signature.html" target="_self">Signature</a>)</code>
</td> </td>
</tr> </tr>
@ -1034,9 +1020,9 @@ export { PGPSigner, Signable, Signature, Signer };
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -42,7 +43,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Classes</li> <li>Classes</li>
<li>Settings</li> <li >Settings</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -63,11 +64,12 @@
<code>src/app/_models/settings.ts</code> <code>src/app/_models/settings.ts</code>
</p> </p>
<p class="comment"> <p class="comment">
<h3>Description</h3> <h3>Description</h3>
</p> </p>
<p class="comment"> <p class="comment">
<p>Settings class </p> <p>Settings class</p>
</p> </p>
@ -87,16 +89,16 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#registry">registry</a> <a href="#registry" >registry</a>
</li> </li>
<li> <li>
<a href="#scanFilter">scanFilter</a> <a href="#scanFilter" >scanFilter</a>
</li> </li>
<li> <li>
<a href="#txHelper">txHelper</a> <a href="#txHelper" >txHelper</a>
</li> </li>
<li> <li>
<a href="#w3">w3</a> <a href="#w3" >w3</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -180,8 +182,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="registry"></a> <a name="registry"></a>
<span class="name"> <span class="name">
<b> <span ><b>registry</b></span>
registry</b>
<a href="#registry"><span class="icon ion-ios-link"></span></a> <a href="#registry"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -200,7 +201,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>CIC Registry instance </p> <div class="io-description"><p>CIC Registry instance</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -213,8 +214,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="scanFilter"></a> <a name="scanFilter"></a>
<span class="name"> <span class="name">
<b> <span ><b>scanFilter</b></span>
scanFilter</b>
<a href="#scanFilter"><span class="icon ion-ios-link"></span></a> <a href="#scanFilter"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -233,7 +233,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>A resource for searching through blocks on the blockchain network. </p> <div class="io-description"><p>A resource for searching through blocks on the blockchain network.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -246,8 +246,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="txHelper"></a> <a name="txHelper"></a>
<span class="name"> <span class="name">
<b> <span ><b>txHelper</b></span>
txHelper</b>
<a href="#txHelper"><span class="icon ion-ios-link"></span></a> <a href="#txHelper"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -266,7 +265,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Transaction Helper instance </p> <div class="io-description"><p>Transaction Helper instance</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -279,8 +278,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="w3"></a> <a name="w3"></a>
<span class="name"> <span class="name">
<b> <span ><b>w3</b></span>
w3</b>
<a href="#w3"><span class="icon ion-ios-link"></span></a> <a href="#w3"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -307,7 +305,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Web3 Object </p> <div class="io-description"><p>Web3 Object</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -393,9 +391,9 @@ export { Settings, W3 };
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -42,7 +43,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Classes</li> <li>Classes</li>
<li>TokenRegistry</li> <li >TokenRegistry</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -63,22 +64,19 @@
<code>src/app/_eth/token-registry.ts</code> <code>src/app/_eth/token-registry.ts</code>
</p> </p>
<p class="comment"> <p class="comment">
<h3>Description</h3> <h3>Description</h3>
</p> </p>
<p class="comment"> <p class="comment">
<p>Provides an instance of the token registry contract. <p>Provides an instance of the token registry contract.
Allows querying of tokens that have been registered as valid tokens in the network.</p> Allows querying of tokens that have been registered as valid tokens in the network.</p>
<p>This is our interface to the token registry contract.</p>
</p> </p>
<p class="comment">
<h3>Example</h3>
</p>
<div class="io-description">
</div>
<section> <section>
<h3 id="index">Index</h3> <h3 id="index">Index</h3>
@ -93,13 +91,13 @@ Allows querying of tokens that have been registered as valid tokens in the netwo
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#contract">contract</a> <a href="#contract" >contract</a>
</li> </li>
<li> <li>
<a href="#contractAddress">contractAddress</a> <a href="#contractAddress" >contractAddress</a>
</li> </li>
<li> <li>
<a href="#signerAddress">signerAddress</a> <a href="#signerAddress" >signerAddress</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -116,17 +114,17 @@ Allows querying of tokens that have been registered as valid tokens in the netwo
<li> <li>
<span class="modifier">Public</span> <span class="modifier">Public</span>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#addressOf">addressOf</a> <a href="#addressOf" >addressOf</a>
</li> </li>
<li> <li>
<span class="modifier">Public</span> <span class="modifier">Public</span>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#entry">entry</a> <a href="#entry" >entry</a>
</li> </li>
<li> <li>
<span class="modifier">Public</span> <span class="modifier">Public</span>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#totalTokens">totalTokens</a> <a href="#totalTokens" >totalTokens</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -227,8 +225,7 @@ Allows querying of tokens that have been registered as valid tokens in the netwo
<td class="col-md-4"> <td class="col-md-4">
<a name="contract"></a> <a name="contract"></a>
<span class="name"> <span class="name">
<b> <span ><b>contract</b></span>
contract</b>
<a href="#contract"><span class="icon ion-ios-link"></span></a> <a href="#contract"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -247,7 +244,7 @@ Allows querying of tokens that have been registered as valid tokens in the netwo
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>The instance of the token registry contract. </p> <div class="io-description"><p>The instance of the token registry contract.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -260,8 +257,7 @@ Allows querying of tokens that have been registered as valid tokens in the netwo
<td class="col-md-4"> <td class="col-md-4">
<a name="contractAddress"></a> <a name="contractAddress"></a>
<span class="name"> <span class="name">
<b> <span ><b>contractAddress</b></span>
contractAddress</b>
<a href="#contractAddress"><span class="icon ion-ios-link"></span></a> <a href="#contractAddress"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -280,7 +276,7 @@ Allows querying of tokens that have been registered as valid tokens in the netwo
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>The deployed token registry contract&#39;s address. </p> <div class="io-description"><p>The deployed token registry contract&#39;s address.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -293,8 +289,7 @@ Allows querying of tokens that have been registered as valid tokens in the netwo
<td class="col-md-4"> <td class="col-md-4">
<a name="signerAddress"></a> <a name="signerAddress"></a>
<span class="name"> <span class="name">
<b> <span ><b>signerAddress</b></span>
signerAddress</b>
<a href="#signerAddress"><span class="icon ion-ios-link"></span></a> <a href="#signerAddress"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -313,7 +308,7 @@ Allows querying of tokens that have been registered as valid tokens in the netwo
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>The account address of the account that deployed the token registry contract. </p> <div class="io-description"><p>The account address of the account that deployed the token registry contract.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -333,11 +328,9 @@ Allows querying of tokens that have been registered as valid tokens in the netwo
<td class="col-md-4"> <td class="col-md-4">
<a name="addressOf"></a> <a name="addressOf"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Public</span> <span class="modifier">Public</span>
<span class="modifier">Async</span> <span class="modifier">Async</span>
addressOf <span ><b>addressOf</b></span>
</b>
<a href="#addressOf"><span class="icon ion-ios-link"></span></a> <a href="#addressOf"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -361,7 +354,8 @@ Allows querying of tokens that have been registered as valid tokens in the netwo
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Returns the address of the token with a given identifier.</p> <div class="io-description"><p>Returns the address of the token with a given identifier.</p>
</div> <p>Prints the address of the token with the identifier &#39;sarafu&#39;:</p>
<div><pre class="line-numbers"><code class="language-typescript">console.log(await addressOf(&#39;sarafu&#39;));</code></pre></div></div>
<div class="io-description"> <div class="io-description">
<b>Parameters :</b> <b>Parameters :</b>
@ -400,11 +394,8 @@ Allows querying of tokens that have been registered as valid tokens in the netwo
<b>Example :</b> <b>Example :</b>
<div> <div>
<pre class="line-numbers"><code class="language-html">Prints the address of the token with the identifier &amp;#39;sarafu&amp;#39;:&lt;/p&gt; <pre class="line-numbers"><code class="language-html">Prints the address of the token with the identifier &amp;#39;sarafu&amp;#39;:&lt;/p&gt;
&lt;p&gt;```typescript&lt;/p&gt; &lt;pre&gt;&lt;code class=&quot;language-typescript&quot;&gt;console.log(await addressOf(&amp;#39;sarafu&amp;#39;));
&lt;ul&gt; &lt;/code&gt;&lt;/pre&gt;</code></pre>
&lt;li&gt;console.log(await addressOf(&amp;#39;sarafu&amp;#39;));&lt;/li&gt;
&lt;li&gt;```&lt;/li&gt;
&lt;/ul&gt;</code></pre>
</div> </div>
</div> </div>
<div class="io-description"> <div class="io-description">
@ -425,11 +416,9 @@ Allows querying of tokens that have been registered as valid tokens in the netwo
<td class="col-md-4"> <td class="col-md-4">
<a name="entry"></a> <a name="entry"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Public</span> <span class="modifier">Public</span>
<span class="modifier">Async</span> <span class="modifier">Async</span>
entry <span ><b>entry</b></span>
</b>
<a href="#entry"><span class="icon ion-ios-link"></span></a> <a href="#entry"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -453,7 +442,8 @@ Allows querying of tokens that have been registered as valid tokens in the netwo
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Returns the address of a token with the given serial in the token registry.</p> <div class="io-description"><p>Returns the address of a token with the given serial in the token registry.</p>
</div> <p>Prints the address of the token with the serial &#39;2&#39;:</p>
<div><pre class="line-numbers"><code class="language-typescript">console.log(await entry(2));</code></pre></div></div>
<div class="io-description"> <div class="io-description">
<b>Parameters :</b> <b>Parameters :</b>
@ -492,11 +482,8 @@ Allows querying of tokens that have been registered as valid tokens in the netwo
<b>Example :</b> <b>Example :</b>
<div> <div>
<pre class="line-numbers"><code class="language-html">Prints the address of the token with the serial &amp;#39;2&amp;#39;:&lt;/p&gt; <pre class="line-numbers"><code class="language-html">Prints the address of the token with the serial &amp;#39;2&amp;#39;:&lt;/p&gt;
&lt;p&gt;```typescript&lt;/p&gt; &lt;pre&gt;&lt;code class=&quot;language-typescript&quot;&gt;console.log(await entry(2));
&lt;ul&gt; &lt;/code&gt;&lt;/pre&gt;</code></pre>
&lt;li&gt;console.log(await entry(2));&lt;/li&gt;
&lt;li&gt;```&lt;/li&gt;
&lt;/ul&gt;</code></pre>
</div> </div>
</div> </div>
<div class="io-description"> <div class="io-description">
@ -517,11 +504,9 @@ Allows querying of tokens that have been registered as valid tokens in the netwo
<td class="col-md-4"> <td class="col-md-4">
<a name="totalTokens"></a> <a name="totalTokens"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Public</span> <span class="modifier">Public</span>
<span class="modifier">Async</span> <span class="modifier">Async</span>
totalTokens <span ><b>totalTokens</b></span>
</b>
<a href="#totalTokens"><span class="icon ion-ios-link"></span></a> <a href="#totalTokens"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -545,17 +530,15 @@ Allows querying of tokens that have been registered as valid tokens in the netwo
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Returns the total number of tokens that have been registered in the network.</p> <div class="io-description"><p>Returns the total number of tokens that have been registered in the network.</p>
</div> <p>Prints the total number of registered tokens:</p>
<div><pre class="line-numbers"><code class="language-typescript">console.log(await totalTokens());</code></pre></div></div>
<div> <div>
<b>Example :</b> <b>Example :</b>
<div> <div>
<pre class="line-numbers"><code class="language-html">Prints the total number of registered tokens:&lt;/p&gt; <pre class="line-numbers"><code class="language-html">Prints the total number of registered tokens:&lt;/p&gt;
&lt;p&gt;```typescript&lt;/p&gt; &lt;pre&gt;&lt;code class=&quot;language-typescript&quot;&gt;console.log(await totalTokens());
&lt;ul&gt; &lt;/code&gt;&lt;/pre&gt;</code></pre>
&lt;li&gt;console.log(await totalTokens());&lt;/li&gt;
&lt;li&gt;```&lt;/li&gt;
&lt;/ul&gt;</code></pre>
</div> </div>
</div> </div>
<div class="io-description"> <div class="io-description">
@ -707,9 +690,9 @@ export class TokenRegistry {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -42,7 +43,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Classes</li> <li>Classes</li>
<li>TokenServiceStub</li> <li >TokenServiceStub</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -67,6 +68,7 @@
<section> <section>
<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">
@ -81,7 +83,7 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#getBySymbol">getBySymbol</a> <a href="#getBySymbol" >getBySymbol</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -108,9 +110,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getBySymbol"></a> <a name="getBySymbol"></a>
<span class="name"> <span class="name">
<b> <span ><b>getBySymbol</b></span>
getBySymbol
</b>
<a href="#getBySymbol"><span class="icon ion-ios-link"></span></a> <a href="#getBySymbol"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -224,9 +224,9 @@
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -42,7 +43,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Classes</li> <li>Classes</li>
<li>TransactionServiceStub</li> <li >TransactionServiceStub</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -67,6 +68,7 @@
<section> <section>
<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">
@ -81,13 +83,13 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#getAllTransactions">getAllTransactions</a> <a href="#getAllTransactions" >getAllTransactions</a>
</li> </li>
<li> <li>
<a href="#setConversion">setConversion</a> <a href="#setConversion" >setConversion</a>
</li> </li>
<li> <li>
<a href="#setTransaction">setTransaction</a> <a href="#setTransaction" >setTransaction</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -114,9 +116,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getAllTransactions"></a> <a name="getAllTransactions"></a>
<span class="name"> <span class="name">
<b> <span ><b>getAllTransactions</b></span>
getAllTransactions
</b>
<a href="#getAllTransactions"><span class="icon ion-ios-link"></span></a> <a href="#getAllTransactions"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -196,9 +196,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="setConversion"></a> <a name="setConversion"></a>
<span class="name"> <span class="name">
<b> <span ><b>setConversion</b></span>
setConversion
</b>
<a href="#setConversion"><span class="icon ion-ios-link"></span></a> <a href="#setConversion"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -266,9 +264,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="setTransaction"></a> <a name="setTransaction"></a>
<span class="name"> <span class="name">
<b> <span ><b>setTransaction</b></span>
setTransaction
</b>
<a href="#setTransaction"><span class="icon ion-ios-link"></span></a> <a href="#setTransaction"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -397,9 +393,9 @@ export class TransactionServiceStub {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -42,7 +43,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Classes</li> <li>Classes</li>
<li>UserServiceStub</li> <li >UserServiceStub</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -67,6 +68,7 @@
<section> <section>
<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">
@ -80,10 +82,10 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#actions">actions</a> <a href="#actions" >actions</a>
</li> </li>
<li> <li>
<a href="#users">users</a> <a href="#users" >users</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -98,16 +100,16 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#approveAction">approveAction</a> <a href="#approveAction" >approveAction</a>
</li> </li>
<li> <li>
<a href="#getActionById">getActionById</a> <a href="#getActionById" >getActionById</a>
</li> </li>
<li> <li>
<a href="#getUser">getUser</a> <a href="#getUser" >getUser</a>
</li> </li>
<li> <li>
<a href="#getUserById">getUserById</a> <a href="#getUserById" >getUserById</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -133,8 +135,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="actions"></a> <a name="actions"></a>
<span class="name"> <span class="name">
<b> <span ><b>actions</b></span>
actions</b>
<a href="#actions"><span class="icon ion-ios-link"></span></a> <a href="#actions"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -178,8 +179,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="users"></a> <a name="users"></a>
<span class="name"> <span class="name">
<b> <span ><b>users</b></span>
users</b>
<a href="#users"><span class="icon ion-ios-link"></span></a> <a href="#users"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -283,9 +283,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="approveAction"></a> <a name="approveAction"></a>
<span class="name"> <span class="name">
<b> <span ><b>approveAction</b></span>
approveAction
</b>
<a href="#approveAction"><span class="icon ion-ios-link"></span></a> <a href="#approveAction"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -353,9 +351,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getActionById"></a> <a name="getActionById"></a>
<span class="name"> <span class="name">
<b> <span ><b>getActionById</b></span>
getActionById
</b>
<a href="#getActionById"><span class="icon ion-ios-link"></span></a> <a href="#getActionById"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -423,9 +419,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getUser"></a> <a name="getUser"></a>
<span class="name"> <span class="name">
<b> <span ><b>getUser</b></span>
getUser
</b>
<a href="#getUser"><span class="icon ion-ios-link"></span></a> <a href="#getUser"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -493,9 +487,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getUserById"></a> <a name="getUserById"></a>
<span class="name"> <span class="name">
<b> <span ><b>getUserById</b></span>
getUserById
</b>
<a href="#getUserById"><span class="icon ion-ios-link"></span></a> <a href="#getUserById"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -744,9 +736,9 @@ export class UserServiceStub {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,619 @@
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>CICADA</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head>
<body>
<div class="navbar navbar-default navbar-fixed-top visible-xs">
<a href="../" class="navbar-brand">CICADA</a>
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
</div>
<div class="xs-menu menu" id="mobile-menu">
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu>
</div>
<div class="container-fluid main">
<div class="row main">
<div class="hidden-xs menu">
<compodoc-menu mode="normal"></compodoc-menu>
</div>
<!-- START CONTENT -->
<div class="content component">
<div class="content-data">
<ol class="breadcrumb">
<li>Components</li>
<li
>
AccountHistoryComponent</li>
</ol>
<ul class="nav nav-tabs" role="tablist">
<li class="active">
<a href="#info" role="tab" id="info-tab" data-toggle="tab" data-link="info">Info</a>
</li>
<li >
<a href="#source" role="tab" id="source-tab" data-toggle="tab" data-link="source">Source</a>
</li>
<li >
<a href="#templateData" role="tab" id="templateData-tab" data-toggle="tab" data-link="template">Template</a>
</li>
<li >
<a href="#styleData" role="tab" id="styleData-tab" data-toggle="tab" data-link="style">Styles</a>
</li>
<li >
<a href="#tree" role="tab" id="tree-tab" data-toggle="tab" data-link="dom-tree">DOM Tree</a>
</li>
</ul>
<div class="tab-content">
<div class="tab-pane fade active in" id="c-info"><p class="comment">
<h3>File</h3>
</p>
<p class="comment">
<code>src/app/pages/accounts/account-history/account-history.component.ts</code>
</p>
<p class="comment">
<h3>Implements</h3>
</p>
<p class="comment">
<code><a href="https://angular.io/api/core/OnInit" target="_blank" >OnInit</a></code>
<code><a href="https://angular.io/api/core/OnChanges" target="_blank" >OnChanges</a></code>
</p>
<section>
<h3>Metadata</h3>
<table class="table table-sm table-hover">
<tbody>
<tr>
<td class="col-md-3">changeDetection</td>
<td class="col-md-9"><code>ChangeDetectionStrategy.OnPush</code></td>
</tr>
<tr>
<td class="col-md-3">selector</td>
<td class="col-md-9"><code>app-account-history</code></td>
</tr>
<tr>
<td class="col-md-3">styleUrls</td>
<td class="col-md-9"><code>./account-history.component.scss</code></td>
</tr>
<tr>
<td class="col-md-3">templateUrl</td>
<td class="col-md-9"><code>./account-history.component.html</code></td>
</tr>
</tbody>
</table>
</section>
<section>
<h3 id="index">Index</h3>
<table class="table table-sm table-bordered index-table">
<tbody>
<tr>
<td class="col-md-4">
<h6><b>Methods</b></h6>
</td>
</tr>
<tr>
<td class="col-md-4">
<ul class="index-list">
<li>
<a href="#close" >close</a>
</li>
<li>
<a href="#ngOnChanges" >ngOnChanges</a>
</li>
<li>
<a href="#ngOnInit" >ngOnInit</a>
</li>
</ul>
</td>
</tr>
<tr>
<td class="col-md-4">
<h6><b>Inputs</b></h6>
</td>
</tr>
<tr>
<td class="col-md-4">
<ul class="index-list">
<li>
<a href="#account" >account</a>
</li>
</ul>
</td>
</tr>
<tr>
<td class="col-md-4">
<h6><b>Outputs</b></h6>
</td>
</tr>
<tr>
<td class="col-md-4">
<ul class="index-list">
<li>
<a href="#closeWindow" >closeWindow</a>
</li>
</ul>
</td>
</tr>
</tbody>
</table>
</section>
<section>
<h3 id="constructor">Constructor</h3>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<code>constructor()</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="22" class="link-to-prism">src/app/pages/accounts/account-history/account-history.component.ts:22</a></div>
</td>
</tr>
</tbody>
</table>
</section>
<section>
<h3 id="inputs">Inputs</h3>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="account"></a>
<b>account</b>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
</td>
</tr>
<tr>
<td class="col-md-2" colspan="2">
<div class="io-line">Defined in <a href="" data-line="20" class="link-to-prism">src/app/pages/accounts/account-history/account-history.component.ts:20</a></div>
</td>
</tr>
</tbody>
</table>
</section>
<section>
<h3 id="outputs">Outputs</h3>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="closeWindow"></a>
<b>closeWindow</b>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code>EventEmitter&lt;any&gt;</code>
</td>
</tr>
<tr>
<td class="col-md-2" colspan="2">
<div class="io-line">Defined in <a href="" data-line="22" class="link-to-prism">src/app/pages/accounts/account-history/account-history.component.ts:22</a></div>
</td>
</tr>
</tbody>
</table>
</section>
<section>
<h3 id="methods">
Methods
</h3>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="close"></a>
<span class="name">
<span ><b>close</b></span>
<a href="#close"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<code>close()</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="34"
class="link-to-prism">src/app/pages/accounts/account-history/account-history.component.ts:34</a></div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-description">
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
</div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="ngOnChanges"></a>
<span class="name">
<span ><b>ngOnChanges</b></span>
<a href="#ngOnChanges"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<code>ngOnChanges(changes: <a href="https://angular.io/api/core/SimpleChanges" target="_blank">SimpleChanges</a>)</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="28"
class="link-to-prism">src/app/pages/accounts/account-history/account-history.component.ts:28</a></div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-description">
<b>Parameters :</b>
<table class="params">
<thead>
<tr>
<td>Name</td>
<td>Type</td>
<td>Optional</td>
</tr>
</thead>
<tbody>
<tr>
<td>changes</td>
<td>
<code><a href="https://angular.io/api/core/SimpleChanges" target="_blank" >SimpleChanges</a></code>
</td>
<td>
No
</td>
</tr>
</tbody>
</table>
</div>
<div>
</div>
<div class="io-description">
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
</div>
<div class="io-description">
</div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="ngOnInit"></a>
<span class="name">
<span ><b>ngOnInit</b></span>
<a href="#ngOnInit"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<code>ngOnInit()</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="26"
class="link-to-prism">src/app/pages/accounts/account-history/account-history.component.ts:26</a></div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-description">
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
</div>
</td>
</tr>
</tbody>
</table>
</section>
</div>
<div class="tab-pane fade tab-source-code" id="c-source">
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
Component,
OnInit,
ChangeDetectionStrategy,
Input,
Output,
EventEmitter,
SimpleChanges,
OnChanges,
} from &#x27;@angular/core&#x27;;
const vCard &#x3D; require(&#x27;vcard-parser&#x27;);
@Component({
selector: &#x27;app-account-history&#x27;,
templateUrl: &#x27;./account-history.component.html&#x27;,
styleUrls: [&#x27;./account-history.component.scss&#x27;],
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class AccountHistoryComponent implements OnInit, OnChanges {
@Input() account;
@Output() closeWindow: EventEmitter&lt;any&gt; &#x3D; new EventEmitter&lt;any&gt;();
constructor() {}
ngOnInit(): void {}
ngOnChanges(changes: SimpleChanges): void {
if (this.account) {
this.account.vcard &#x3D; vCard.parse(atob(this.account.vcard));
}
}
close(): void {
this.account &#x3D; null;
this.closeWindow.emit(this.account);
}
}
</code></pre>
</div>
<div class="tab-pane fade " id="c-templateData">
<pre class="line-numbers"><code class="language-html">&lt;div *ngIf&#x3D;&quot;account&quot; class&#x3D;&quot;mb-3 mt-1&quot;&gt;
&lt;div class&#x3D;&quot;card text-center&quot;&gt;
&lt;mat-card-title class&#x3D;&quot;card-header&quot;&gt;
&lt;div class&#x3D;&quot;row&quot;&gt;
ACCOUNT DETAILS
&lt;button
mat-raised-button
type&#x3D;&quot;button&quot;
class&#x3D;&quot;btn btn-outline-secondary ml-auto mr-2&quot;
(click)&#x3D;&quot;close()&quot;
&gt;
CLOSE
&lt;/button&gt;
&lt;/div&gt;
&lt;/mat-card-title&gt;
&lt;div class&#x3D;&quot;card-body&quot;&gt;
&lt;div class&#x3D;&quot;row&quot;&gt;
&lt;div class&#x3D;&quot;col-md-6&quot;&gt;
&lt;ul class&#x3D;&quot;list-group list-group-flush&quot;&gt;
&lt;li class&#x3D;&quot;list-group-item&quot;&gt;
&lt;span&gt;Name: {{ account?.vcard?.fn[0].value }}&lt;/span&gt;
&lt;/li&gt;
&lt;li class&#x3D;&quot;list-group-item&quot;&gt;
&lt;span&gt;Phone Number: {{ account?.vcard?.tel[0].value }}&lt;/span&gt;
&lt;/li&gt;
&lt;li class&#x3D;&quot;list-group-item&quot;&gt;
&lt;span&gt;Account Type: {{ account?.type }}&lt;/span&gt;
&lt;/li&gt;
&lt;li class&#x3D;&quot;list-group-item&quot;&gt;
&lt;span&gt;Gender: {{ account?.gender }}&lt;/span&gt;
&lt;/li&gt;
&lt;li class&#x3D;&quot;list-group-item&quot;&gt;
&lt;span&gt;Age: {{ account?.age }}&lt;/span&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div class&#x3D;&quot;col-md-6&quot;&gt;
&lt;ul class&#x3D;&quot;list-group list-group-flush&quot;&gt;
&lt;li class&#x3D;&quot;list-group-item&quot;&gt;
&lt;span&gt;Bio: {{ account?.products }}&lt;/span&gt;
&lt;/li&gt;
&lt;li class&#x3D;&quot;list-group-item&quot;&gt;
&lt;span&gt;Business Category: {{ account?.category }}&lt;/span&gt;
&lt;/li&gt;
&lt;li class&#x3D;&quot;list-group-item&quot;&gt;
&lt;span&gt;User Location: {{ account?.location?.area_name }}&lt;/span&gt;
&lt;/li&gt;
&lt;li class&#x3D;&quot;list-group-item&quot;&gt;
&lt;span&gt;Location: {{ account?.location?.area }}&lt;/span&gt;
&lt;/li&gt;
&lt;li class&#x3D;&quot;list-group-item&quot;&gt;
&lt;span&gt;Location Type: {{ account?.location?.area_type }}&lt;/span&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</code></pre>
</div>
<div class="tab-pane fade " id="c-styleData">
<p class="comment">
<code>./account-history.component.scss</code>
</p>
<pre class="line-numbers"><code class="language-scss"></code></pre>
</div>
<div class="tab-pane fade " id="c-tree">
<div id="tree-container"></div>
<div class="tree-legend">
<div class="title">
<b>Legend</b>
</div>
<div>
<div class="color htmlelement"></div><span>Html element</span>
</div>
<div>
<div class="color component"></div><span>Component</span>
</div>
<div>
<div class="color directive"></div><span>Html element with directive</span>
</div>
</div>
</div>
</div>
<script src="../js/libs/vis.min.js"></script>
<script src="../js/libs/htmlparser.js"></script>
<script src="../js/libs/deep-iterator.js"></script>
<script>
var COMPONENT_TEMPLATE = '<div><div *ngIf="account" class="mb-3 mt-1"> <div class="card text-center"> <mat-card-title class="card-header"> <div class="row"> ACCOUNT DETAILS <button mat-raised-button type="button" class="btn btn-outline-secondary ml-auto mr-2" (click)="close()" > CLOSE </button> </div> </mat-card-title> <div class="card-body"> <div class="row"> <div class="col-md-6"> <ul class="list-group list-group-flush"> <li class="list-group-item"> <span>Name: {{ account?.vcard?.fn[0].value }}</span> </li> <li class="list-group-item"> <span>Phone Number: {{ account?.vcard?.tel[0].value }}</span> </li> <li class="list-group-item"> <span>Account Type: {{ account?.type }}</span> </li> <li class="list-group-item"> <span>Gender: {{ account?.gender }}</span> </li> <li class="list-group-item"> <span>Age: {{ account?.age }}</span> </li> </ul> </div> <div class="col-md-6"> <ul class="list-group list-group-flush"> <li class="list-group-item"> <span>Bio: {{ account?.products }}</span> </li> <li class="list-group-item"> <span>Business Category: {{ account?.category }}</span> </li> <li class="list-group-item"> <span>User Location: {{ account?.location?.area_name }}</span> </li> <li class="list-group-item"> <span>Location: {{ account?.location?.area }}</span> </li> <li class="list-group-item"> <span>Location Type: {{ account?.location?.area_type }}</span> </li> </ul> </div> </div> </div> </div></div></div>'
var COMPONENTS = [{'name': 'AccountDetailsComponent', 'selector': 'app-account-details'},{'name': 'AccountHistoryComponent', 'selector': 'app-account-history'},{'name': 'AccountsComponent', 'selector': 'app-accounts'},{'name': 'AccountSearchComponent', 'selector': 'app-account-search'},{'name': 'AdminComponent', 'selector': 'app-admin'},{'name': 'AppComponent', 'selector': 'app-root'},{'name': 'AuthComponent', 'selector': 'app-auth'},{'name': 'CreateAccountComponent', 'selector': 'app-create-account'},{'name': 'ErrorDialogComponent', 'selector': 'app-error-dialog'},{'name': 'FooterComponent', 'selector': 'app-footer'},{'name': 'FooterStubComponent', 'selector': 'app-footer'},{'name': 'NetworkStatusComponent', 'selector': 'app-network-status'},{'name': 'OrganizationComponent', 'selector': 'app-organization'},{'name': 'PagesComponent', 'selector': 'app-pages'},{'name': 'SettingsComponent', 'selector': 'app-settings'},{'name': 'SidebarComponent', 'selector': 'app-sidebar'},{'name': 'SidebarStubComponent', 'selector': 'app-sidebar'},{'name': 'TokenDetailsComponent', 'selector': 'app-token-details'},{'name': 'TokensComponent', 'selector': 'app-tokens'},{'name': 'TopbarComponent', 'selector': 'app-topbar'},{'name': 'TopbarStubComponent', 'selector': 'app-topbar'},{'name': 'TransactionDetailsComponent', 'selector': 'app-transaction-details'},{'name': 'TransactionsComponent', 'selector': 'app-transactions'}];
var DIRECTIVES = [{'name': 'MenuSelectionDirective', 'selector': '[appMenuSelection]'},{'name': 'MenuToggleDirective', 'selector': '[appMenuToggle]'},{'name': 'PasswordToggleDirective', 'selector': '[appPasswordToggle]'},{'name': 'RouterLinkDirectiveStub', 'selector': '[appRouterLink]'}];
var ACTUAL_COMPONENT = {'name': 'AccountHistoryComponent'};
</script>
<script src="../js/tree.js"></script>
</div><div class="search-results">
<div class="has-results">
<h1 class="search-results-title"><span class='search-results-count'></span> result-matching "<span class='search-query'></span>"</h1>
<ul class="search-results-list"></ul>
</div>
<div class="no-results">
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
</div>
</div>
</div>
<!-- END CONTENT -->
</div>
</div>
<script>
var COMPODOC_CURRENT_PAGE_DEPTH = 1;
var COMPODOC_CURRENT_PAGE_CONTEXT = 'component';
var COMPODOC_CURRENT_PAGE_URL = 'AccountHistoryComponent.html';
var MAX_SEARCH_RESULTS = 15;
</script>
<script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script>
<script type="module" src="../js/menu-wc.js" defer></script>
<script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script>
<script src="../js/libs/es6-shim.min.js"></script>
<script src="../js/libs/EventDispatcher.js"></script>
<script src="../js/libs/promise.min.js"></script>
<script src="../js/libs/zepto.min.js"></script>
<script src="../js/compodoc.js"></script>
<script src="../js/tabs.js"></script>
<script src="../js/menu.js"></script>
<script src="../js/libs/clipboard.min.js"></script>
<script src="../js/libs/prism.js"></script>
<script src="../js/sourceCode.js"></script>
<script src="../js/search/search.js"></script>
<script src="../js/search/lunr.min.js"></script>
<script src="../js/search/search-lunr.js"></script>
<script src="../js/search/search_index.js"></script>
<script src="../js/lazy-load-graphs.js"></script>
</body>
</html>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -35,7 +36,9 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Components</li> <li>Components</li>
<li>AccountSearchComponent</li> <li
>
AccountSearchComponent</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -66,6 +69,7 @@
<p class="comment"> <p class="comment">
<h3>Implements</h3> <h3>Implements</h3>
</p> </p>
@ -134,34 +138,25 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#addressSearchForm">addressSearchForm</a> <a href="#addressSearchForm" >addressSearchForm</a>
</li> </li>
<li> <li>
<a href="#addressSearchLoading">addressSearchLoading</a> <a href="#addressSearchLoading" >addressSearchLoading</a>
</li> </li>
<li> <li>
<a href="#addressSearchSubmitted">addressSearchSubmitted</a> <a href="#addressSearchSubmitted" >addressSearchSubmitted</a>
</li> </li>
<li> <li>
<a href="#matcher">matcher</a> <a href="#matcher" >matcher</a>
</li> </li>
<li> <li>
<a href="#nameSearchForm">nameSearchForm</a> <a href="#phoneSearchForm" >phoneSearchForm</a>
</li> </li>
<li> <li>
<a href="#nameSearchLoading">nameSearchLoading</a> <a href="#phoneSearchLoading" >phoneSearchLoading</a>
</li> </li>
<li> <li>
<a href="#nameSearchSubmitted">nameSearchSubmitted</a> <a href="#phoneSearchSubmitted" >phoneSearchSubmitted</a>
</li>
<li>
<a href="#phoneSearchForm">phoneSearchForm</a>
</li>
<li>
<a href="#phoneSearchLoading">phoneSearchLoading</a>
</li>
<li>
<a href="#phoneSearchSubmitted">phoneSearchSubmitted</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -176,19 +171,15 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<span class="modifier">Async</span> <a href="#ngOnInit" >ngOnInit</a>
<a href="#ngOnInit">ngOnInit</a>
</li> </li>
<li> <li>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#onAddressSearch">onAddressSearch</a> <a href="#onAddressSearch" >onAddressSearch</a>
</li>
<li>
<a href="#onNameSearch">onNameSearch</a>
</li> </li>
<li> <li>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#onPhoneSearch">onPhoneSearch</a> <a href="#onPhoneSearch" >onPhoneSearch</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -207,13 +198,10 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#nameSearchFormStub">nameSearchFormStub</a> <a href="#phoneSearchFormStub" >phoneSearchFormStub</a>
</li> </li>
<li> <li>
<a href="#phoneSearchFormStub">phoneSearchFormStub</a> <a href="#addressSearchFormStub" >addressSearchFormStub</a>
</li>
<li>
<a href="#addressSearchFormStub">addressSearchFormStub</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -228,12 +216,12 @@
<tbody> <tbody>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<code>constructor(formBuilder: <a href="https://angular.io/api/forms/FormBuilder" target="_blank">FormBuilder</a>, userService: <a href="../injectables/UserService.html">UserService</a>, router: <a href="https://angular.io/api/router/Router" target="_blank">Router</a>)</code> <code>constructor(formBuilder: <a href="https://angular.io/api/forms/FormBuilder" target="_blank">FormBuilder</a>, userService: <a href="../injectables/UserService.html" target="_self">UserService</a>, router: <a href="https://angular.io/api/router/Router" target="_blank">Router</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" class="link-to-prism">src/app/pages/accounts/account-search/account-search.component.ts:25</a></div> <div class="io-line">Defined in <a href="" data-line="22" class="link-to-prism">src/app/pages/accounts/account-search/account-search.component.ts:22</a></div>
</td> </td>
</tr> </tr>
@ -310,106 +298,22 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="ngOnInit"></a> <a name="ngOnInit"></a>
<span class="name"> <span class="name">
<b> <span ><b>ngOnInit</b></span>
<span class="modifier">Async</span>
ngOnInit
</b>
<a href="#ngOnInit"><span class="icon ion-ios-link"></span></a> <a href="#ngOnInit"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<span class="modifier-icon icon ion-ios-reset"></span> <code>ngOnInit()</code>
<code>ngOnInit()</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="43" <div class="io-line">Defined in <a href="" data-line="37"
class="link-to-prism">src/app/pages/accounts/account-search/account-search.component.ts:43</a></div> class="link-to-prism">src/app/pages/accounts/account-search/account-search.component.ts:37</a></div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-description">
<b>Returns : </b> <code>Promise&lt;void&gt;</code>
</div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="onAddressSearch"></a>
<span class="name">
<b>
<span class="modifier">Async</span>
onAddressSearch
</b>
<a href="#onAddressSearch"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<span class="modifier-icon icon ion-ios-reset"></span>
<code>onAddressSearch()</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="87"
class="link-to-prism">src/app/pages/accounts/account-search/account-search.component.ts:87</a></div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-description">
<b>Returns : </b> <code>Promise&lt;void&gt;</code>
</div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="onNameSearch"></a>
<span class="name">
<b>
onNameSearch
</b>
<a href="#onNameSearch"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<code>onNameSearch()</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<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:57</a></div>
</td> </td>
</tr> </tr>
@ -425,16 +329,53 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="onAddressSearch"></a>
<span class="name">
<span class="modifier">Async</span>
<span ><b>onAddressSearch</b></span>
<a href="#onAddressSearch"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<span class="modifier-icon icon ion-ios-reset"></span>
<code>onAddressSearch()</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="66"
class="link-to-prism">src/app/pages/accounts/account-search/account-search.component.ts:66</a></div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-description">
<b>Returns : </b> <code>Promise&lt;void&gt;</code>
</div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered"> <table class="table table-sm table-bordered">
<tbody> <tbody>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="onPhoneSearch"></a> <a name="onPhoneSearch"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Async</span> <span class="modifier">Async</span>
onPhoneSearch <span ><b>onPhoneSearch</b></span>
</b>
<a href="#onPhoneSearch"><span class="icon ion-ios-link"></span></a> <a href="#onPhoneSearch"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -449,8 +390,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="46"
class="link-to-prism">src/app/pages/accounts/account-search/account-search.component.ts:67</a></div> class="link-to-prism">src/app/pages/accounts/account-search/account-search.component.ts:46</a></div>
</td> </td>
</tr> </tr>
@ -478,8 +419,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="addressSearchForm"></a> <a name="addressSearchForm"></a>
<span class="name"> <span class="name">
<b> <span ><b>addressSearchForm</b></span>
addressSearchForm</b>
<a href="#addressSearchForm"><span class="icon ion-ios-link"></span></a> <a href="#addressSearchForm"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -488,220 +428,6 @@
<td class="col-md-4"> <td class="col-md-4">
<i>Type : </i> <code><a href="https://angular.io/api/forms/FormGroup" target="_blank" >FormGroup</a></code> <i>Type : </i> <code><a href="https://angular.io/api/forms/FormGroup" target="_blank" >FormGroup</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="22" class="link-to-prism">src/app/pages/accounts/account-search/account-search.component.ts:22</a></div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="addressSearchLoading"></a>
<span class="name">
<b>
addressSearchLoading</b>
<a href="#addressSearchLoading"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>false</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="24" class="link-to-prism">src/app/pages/accounts/account-search/account-search.component.ts:24</a></div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="addressSearchSubmitted"></a>
<span class="name">
<b>
addressSearchSubmitted</b>
<a href="#addressSearchSubmitted"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>false</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="23" class="link-to-prism">src/app/pages/accounts/account-search/account-search.component.ts:23</a></div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="matcher"></a>
<span class="name">
<b>
matcher</b>
<a href="#matcher"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="../classes/CustomErrorStateMatcher.html" target="_self" >CustomErrorStateMatcher</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>new CustomErrorStateMatcher()</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="25" class="link-to-prism">src/app/pages/accounts/account-search/account-search.component.ts:25</a></div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="nameSearchForm"></a>
<span class="name">
<b>
nameSearchForm</b>
<a href="#nameSearchForm"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="https://angular.io/api/forms/FormGroup" target="_blank" >FormGroup</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="16" class="link-to-prism">src/app/pages/accounts/account-search/account-search.component.ts:16</a></div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="nameSearchLoading"></a>
<span class="name">
<b>
nameSearchLoading</b>
<a href="#nameSearchLoading"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>false</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="18" class="link-to-prism">src/app/pages/accounts/account-search/account-search.component.ts:18</a></div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="nameSearchSubmitted"></a>
<span class="name">
<b>
nameSearchSubmitted</b>
<a href="#nameSearchSubmitted"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>false</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="17" class="link-to-prism">src/app/pages/accounts/account-search/account-search.component.ts:17</a></div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="phoneSearchForm"></a>
<span class="name">
<b>
phoneSearchForm</b>
<a href="#phoneSearchForm"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="https://angular.io/api/forms/FormGroup" target="_blank" >FormGroup</a></code>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -717,11 +443,10 @@
<tbody> <tbody>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="phoneSearchLoading"></a> <a name="addressSearchLoading"></a>
<span class="name"> <span class="name">
<b> <span ><b>addressSearchLoading</b></span>
phoneSearchLoading</b> <a href="#addressSearchLoading"><span class="icon ion-ios-link"></span></a>
<a href="#phoneSearchLoading"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
</tr> </tr>
@ -749,11 +474,10 @@
<tbody> <tbody>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="phoneSearchSubmitted"></a> <a name="addressSearchSubmitted"></a>
<span class="name"> <span class="name">
<b> <span ><b>addressSearchSubmitted</b></span>
phoneSearchSubmitted</b> <a href="#addressSearchSubmitted"><span class="icon ion-ios-link"></span></a>
<a href="#phoneSearchSubmitted"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
</tr> </tr>
@ -775,6 +499,125 @@
</tr> </tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="matcher"></a>
<span class="name">
<span ><b>matcher</b></span>
<a href="#matcher"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="../classes/CustomErrorStateMatcher.html" target="_self" >CustomErrorStateMatcher</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>new CustomErrorStateMatcher()</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="22" class="link-to-prism">src/app/pages/accounts/account-search/account-search.component.ts:22</a></div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="phoneSearchForm"></a>
<span class="name">
<span ><b>phoneSearchForm</b></span>
<a href="#phoneSearchForm"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="https://angular.io/api/forms/FormGroup" target="_blank" >FormGroup</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="16" class="link-to-prism">src/app/pages/accounts/account-search/account-search.component.ts:16</a></div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="phoneSearchLoading"></a>
<span class="name">
<span ><b>phoneSearchLoading</b></span>
<a href="#phoneSearchLoading"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>false</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="18" class="link-to-prism">src/app/pages/accounts/account-search/account-search.component.ts:18</a></div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="phoneSearchSubmitted"></a>
<span class="name">
<span ><b>phoneSearchSubmitted</b></span>
<a href="#phoneSearchSubmitted"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>false</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="17" class="link-to-prism">src/app/pages/accounts/account-search/account-search.component.ts:17</a></div>
</td>
</tr>
</tbody> </tbody>
</table> </table>
</section> </section>
@ -783,28 +626,6 @@
<h3 id="accessors"> <h3 id="accessors">
Accessors Accessors
</h3> </h3>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="nameSearchFormStub"></a>
<span class="name"><b>nameSearchFormStub</b><a href="#nameSearchFormStub"><span class="icon ion-ios-link"></span></a></span>
</td>
</tr>
<tr>
<td class="col-md-4">
<span class="accessor"><b>get</b><code>nameSearchFormStub()</code></span>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="47" class="link-to-prism">src/app/pages/accounts/account-search/account-search.component.ts:47</a></div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered"> <table class="table table-sm table-bordered">
<tbody> <tbody>
<tr> <tr>
@ -821,7 +642,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="50" class="link-to-prism">src/app/pages/accounts/account-search/account-search.component.ts:50</a></div> <div class="io-line">Defined in <a href="" data-line="39" class="link-to-prism">src/app/pages/accounts/account-search/account-search.component.ts:39</a></div>
</td> </td>
</tr> </tr>
@ -843,7 +664,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="53" class="link-to-prism">src/app/pages/accounts/account-search/account-search.component.ts:53</a></div> <div class="io-line">Defined in <a href="" data-line="42" class="link-to-prism">src/app/pages/accounts/account-search/account-search.component.ts:42</a></div>
</td> </td>
</tr> </tr>
@ -869,9 +690,6 @@ import { environment } from &#x27;@src/environments/environment&#x27;;
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
}) })
export class AccountSearchComponent implements OnInit { export class AccountSearchComponent implements OnInit {
nameSearchForm: FormGroup;
nameSearchSubmitted: boolean &#x3D; false;
nameSearchLoading: boolean &#x3D; false;
phoneSearchForm: FormGroup; phoneSearchForm: FormGroup;
phoneSearchSubmitted: boolean &#x3D; false; phoneSearchSubmitted: boolean &#x3D; false;
phoneSearchLoading: boolean &#x3D; false; phoneSearchLoading: boolean &#x3D; false;
@ -885,9 +703,6 @@ export class AccountSearchComponent implements OnInit {
private userService: UserService, private userService: UserService,
private router: Router private router: Router
) { ) {
this.nameSearchForm &#x3D; this.formBuilder.group({
name: [&#x27;&#x27;, Validators.required],
});
this.phoneSearchForm &#x3D; this.formBuilder.group({ this.phoneSearchForm &#x3D; this.formBuilder.group({
phoneNumber: [&#x27;&#x27;, Validators.required], phoneNumber: [&#x27;&#x27;, Validators.required],
}); });
@ -896,13 +711,8 @@ export class AccountSearchComponent implements OnInit {
}); });
} }
async ngOnInit(): Promise&lt;void&gt; { ngOnInit(): void {}
await this.userService.init();
}
get nameSearchFormStub(): any {
return this.nameSearchForm.controls;
}
get phoneSearchFormStub(): any { get phoneSearchFormStub(): any {
return this.phoneSearchForm.controls; return this.phoneSearchForm.controls;
} }
@ -910,16 +720,6 @@ export class AccountSearchComponent implements OnInit {
return this.addressSearchForm.controls; return this.addressSearchForm.controls;
} }
onNameSearch(): void {
this.nameSearchSubmitted &#x3D; true;
if (this.nameSearchForm.invalid) {
return;
}
this.nameSearchLoading &#x3D; true;
this.userService.searchAccountByName(this.nameSearchFormStub.name.value);
this.nameSearchLoading &#x3D; false;
}
async onPhoneSearch(): Promise&lt;void&gt; { async onPhoneSearch(): Promise&lt;void&gt; {
this.phoneSearchSubmitted &#x3D; true; this.phoneSearchSubmitted &#x3D; true;
if (this.phoneSearchForm.invalid) { if (this.phoneSearchForm.invalid) {
@ -1087,7 +887,7 @@ export class AccountSearchComponent implements OnInit {
<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"><a routerLink="/accounts">Accounts</a></li> <li class="breadcrumb-item active" aria-current="page">Search</li> </ol> </nav> <div class="card"> <mat-card-title class="card-header"> Accounts </mat-card-title> <div class="card-body"> <mat-tab-group> <mat-tab label="Phone Number"> <form [formGroup]="phoneSearchForm" (ngSubmit)="onPhoneSearch()"> <mat-form-field appearance="outline"> <mat-label> Search </mat-label> <input matInput type="text" placeholder="Search by phone number" formControlName="phoneNumber" [errorStateMatcher]="matcher" /> <mat-error *ngIf="phoneSearchSubmitted && phoneSearchFormStub.phoneNumber.errors" >Phone Number is required.</mat-error > <mat-icon matSuffix>phone</mat-icon> <mat-hint>Phone Number</mat-hint> </mat-form-field> <button mat-raised-button color="primary" type="submit" class="btn btn-outline-primary ml-3" > SEARCH </button> </form> </mat-tab> <mat-tab label="Account Address"> <form [formGroup]="addressSearchForm" (ngSubmit)="onAddressSearch()"> <mat-form-field appearance="outline"> <mat-label> Search </mat-label> <input matInput type="text" placeholder="Search by account address" formControlName="address" [errorStateMatcher]="matcher" /> <mat-error *ngIf="addressSearchSubmitted && addressSearchFormStub.address.errors" >Account Address is required.</mat-error > <mat-icon matSuffix>view_in_ar</mat-icon> <mat-hint>Account Address</mat-hint> </mat-form-field> <button mat-raised-button color="primary" type="submit" class="btn btn-outline-primary ml-3" > SEARCH </button> </form> </mat-tab> </mat-tab-group> </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"><a routerLink="/accounts">Accounts</a></li> <li class="breadcrumb-item active" aria-current="page">Search</li> </ol> </nav> <div class="card"> <mat-card-title class="card-header"> Accounts </mat-card-title> <div class="card-body"> <mat-tab-group> <mat-tab label="Phone Number"> <form [formGroup]="phoneSearchForm" (ngSubmit)="onPhoneSearch()"> <mat-form-field appearance="outline"> <mat-label> Search </mat-label> <input matInput type="text" placeholder="Search by phone number" formControlName="phoneNumber" [errorStateMatcher]="matcher" /> <mat-error *ngIf="phoneSearchSubmitted && phoneSearchFormStub.phoneNumber.errors" >Phone Number is required.</mat-error > <mat-icon matSuffix>phone</mat-icon> <mat-hint>Phone Number</mat-hint> </mat-form-field> <button mat-raised-button color="primary" type="submit" class="btn btn-outline-primary ml-3" > SEARCH </button> </form> </mat-tab> <mat-tab label="Account Address"> <form [formGroup]="addressSearchForm" (ngSubmit)="onAddressSearch()"> <mat-form-field appearance="outline"> <mat-label> Search </mat-label> <input matInput type="text" placeholder="Search by account address" formControlName="address" [errorStateMatcher]="matcher" /> <mat-error *ngIf="addressSearchSubmitted && addressSearchFormStub.address.errors" >Account Address is required.</mat-error > <mat-icon matSuffix>view_in_ar</mat-icon> <mat-hint>Account Address</mat-hint> </mat-form-field> <button mat-raised-button color="primary" type="submit" class="btn btn-outline-primary ml-3" > SEARCH </button> </form> </mat-tab> </mat-tab-group> </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': 'AccountHistoryComponent', 'selector': 'app-account-history'},{'name': 'AccountsComponent', 'selector': 'app-accounts'},{'name': 'AccountSearchComponent', 'selector': 'app-account-search'},{'name': 'AdminComponent', 'selector': 'app-admin'},{'name': 'AppComponent', 'selector': 'app-root'},{'name': 'AuthComponent', 'selector': 'app-auth'},{'name': 'CreateAccountComponent', 'selector': 'app-create-account'},{'name': 'ErrorDialogComponent', 'selector': 'app-error-dialog'},{'name': 'FooterComponent', 'selector': 'app-footer'},{'name': 'FooterStubComponent', 'selector': 'app-footer'},{'name': 'NetworkStatusComponent', 'selector': 'app-network-status'},{'name': 'OrganizationComponent', 'selector': 'app-organization'},{'name': 'PagesComponent', 'selector': 'app-pages'},{'name': 'SettingsComponent', 'selector': 'app-settings'},{'name': 'SidebarComponent', 'selector': 'app-sidebar'},{'name': 'SidebarStubComponent', 'selector': 'app-sidebar'},{'name': 'TokenDetailsComponent', 'selector': 'app-token-details'},{'name': 'TokensComponent', 'selector': 'app-tokens'},{'name': 'TopbarComponent', 'selector': 'app-topbar'},{'name': 'TopbarStubComponent', 'selector': 'app-topbar'},{'name': 'TransactionDetailsComponent', 'selector': 'app-transaction-details'},{'name': 'TransactionsComponent', 'selector': 'app-transactions'}];
var DIRECTIVES = [{'name': 'MenuSelectionDirective', 'selector': '[appMenuSelection]'},{'name': 'MenuToggleDirective', 'selector': '[appMenuToggle]'},{'name': 'PasswordToggleDirective', 'selector': '[appPasswordToggle]'},{'name': 'RouterLinkDirectiveStub', 'selector': '[appRouterLink]'}]; var DIRECTIVES = [{'name': 'MenuSelectionDirective', 'selector': '[appMenuSelection]'},{'name': 'MenuToggleDirective', 'selector': '[appMenuToggle]'},{'name': 'PasswordToggleDirective', 'selector': '[appPasswordToggle]'},{'name': 'RouterLinkDirectiveStub', 'selector': '[appRouterLink]'}];
var ACTUAL_COMPONENT = {'name': 'AccountSearchComponent'}; var ACTUAL_COMPONENT = {'name': 'AccountSearchComponent'};
</script> </script>
@ -1130,9 +930,9 @@ export class AccountSearchComponent implements OnInit {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -35,7 +36,9 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Components</li> <li>Components</li>
<li>AccountsComponent</li> <li
>
AccountsComponent</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -66,11 +69,13 @@
<p class="comment"> <p class="comment">
<h3>Implements</h3> <h3>Implements</h3>
</p> </p>
<p class="comment"> <p class="comment">
<code><a href="https://angular.io/api/core/OnInit" target="_blank" >OnInit</a></code> <code><a href="https://angular.io/api/core/OnInit" target="_blank" >OnInit</a></code>
<code><a href="https://angular.io/api/core/AfterViewInit" target="_blank" >AfterViewInit</a></code>
</p> </p>
@ -134,34 +139,37 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#accounts">accounts</a> <a href="#accounts" >accounts</a>
</li> </li>
<li> <li>
<a href="#accountsType">accountsType</a> <a href="#accountsType" >accountsType</a>
</li> </li>
<li> <li>
<a href="#accountTypes">accountTypes</a> <a href="#accountTypes" >accountTypes</a>
</li> </li>
<li> <li>
<a href="#dataSource">dataSource</a> <a href="#dataSource" >dataSource</a>
</li> </li>
<li> <li>
<a href="#defaultPageSize">defaultPageSize</a> <a href="#defaultPageSize" >defaultPageSize</a>
</li> </li>
<li> <li>
<a href="#displayedColumns">displayedColumns</a> <a href="#displayedColumns" >displayedColumns</a>
</li> </li>
<li> <li>
<a href="#pageSizeOptions">pageSizeOptions</a> <a href="#loading" >loading</a>
</li> </li>
<li> <li>
<a href="#paginator">paginator</a> <a href="#pageSizeOptions" >pageSizeOptions</a>
</li> </li>
<li> <li>
<a href="#sort">sort</a> <a href="#paginator" >paginator</a>
</li> </li>
<li> <li>
<a href="#tokenSymbol">tokenSymbol</a> <a href="#sort" >sort</a>
</li>
<li>
<a href="#tokenSymbol" >tokenSymbol</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -176,24 +184,27 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#doFilter">doFilter</a> <a href="#doFilter" >doFilter</a>
</li> </li>
<li> <li>
<a href="#downloadCsv">downloadCsv</a> <a href="#downloadCsv" >downloadCsv</a>
</li> </li>
<li> <li>
<a href="#filterAccounts">filterAccounts</a> <a href="#filterAccounts" >filterAccounts</a>
</li>
<li>
<a href="#ngAfterViewInit" >ngAfterViewInit</a>
</li> </li>
<li> <li>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#ngOnInit">ngOnInit</a> <a href="#ngOnInit" >ngOnInit</a>
</li> </li>
<li> <li>
<a href="#refreshPaginator">refreshPaginator</a> <a href="#refreshPaginator" >refreshPaginator</a>
</li> </li>
<li> <li>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#viewAccount">viewAccount</a> <a href="#viewAccount" >viewAccount</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -213,12 +224,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>, tokenService: <a href="../injectables/TokenService.html">TokenService</a>)</code> <code>constructor(loggingService: <a href="../injectables/LoggingService.html" target="_self">LoggingService</a>, userService: <a href="../injectables/UserService.html" target="_self">UserService</a>, router: <a href="https://angular.io/api/router/Router" target="_blank">Router</a>, tokenService: <a href="../injectables/TokenService.html" target="_self">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="30" class="link-to-prism">src/app/pages/accounts/accounts.component.ts:30</a></div> <div class="io-line">Defined in <a href="" data-line="37" class="link-to-prism">src/app/pages/accounts/accounts.component.ts:37</a></div>
</td> </td>
</tr> </tr>
@ -236,10 +247,10 @@
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td>userService</td> <td>loggingService</td>
<td> <td>
<code><a href="../injectables/UserService.html" target="_self" >UserService</a></code> <code><a href="../injectables/LoggingService.html" target="_self" >LoggingService</a></code>
</td> </td>
<td> <td>
@ -248,10 +259,10 @@
</tr> </tr>
<tr> <tr>
<td>loggingService</td> <td>userService</td>
<td> <td>
<code><a href="../injectables/LoggingService.html" target="_self" >LoggingService</a></code> <code><a href="../injectables/UserService.html" target="_self" >UserService</a></code>
</td> </td>
<td> <td>
@ -307,9 +318,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="doFilter"></a> <a name="doFilter"></a>
<span class="name"> <span class="name">
<b> <span ><b>doFilter</b></span>
doFilter
</b>
<a href="#doFilter"><span class="icon ion-ios-link"></span></a> <a href="#doFilter"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -323,8 +332,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="79"
class="link-to-prism">src/app/pages/accounts/accounts.component.ts:65</a></div> class="link-to-prism">src/app/pages/accounts/accounts.component.ts:79</a></div>
</td> </td>
</tr> </tr>
@ -377,9 +386,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="downloadCsv"></a> <a name="downloadCsv"></a>
<span class="name"> <span class="name">
<b> <span ><b>downloadCsv</b></span>
downloadCsv
</b>
<a href="#downloadCsv"><span class="icon ion-ios-link"></span></a> <a href="#downloadCsv"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -393,8 +400,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="108"
class="link-to-prism">src/app/pages/accounts/accounts.component.ts:94</a></div> class="link-to-prism">src/app/pages/accounts/accounts.component.ts:108</a></div>
</td> </td>
</tr> </tr>
@ -416,9 +423,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="filterAccounts"></a> <a name="filterAccounts"></a>
<span class="name"> <span class="name">
<b> <span ><b>filterAccounts</b></span>
filterAccounts
</b>
<a href="#filterAccounts"><span class="icon ion-ios-link"></span></a> <a href="#filterAccounts"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -432,8 +437,45 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="75" <div class="io-line">Defined in <a href="" data-line="89"
class="link-to-prism">src/app/pages/accounts/accounts.component.ts:75</a></div> class="link-to-prism">src/app/pages/accounts/accounts.component.ts:89</a></div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-description">
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
</div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="ngAfterViewInit"></a>
<span class="name">
<span ><b>ngAfterViewInit</b></span>
<a href="#ngAfterViewInit"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<code>ngAfterViewInit()</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="72"
class="link-to-prism">src/app/pages/accounts/accounts.component.ts:72</a></div>
</td> </td>
</tr> </tr>
@ -455,10 +497,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="ngOnInit"></a> <a name="ngOnInit"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Async</span> <span class="modifier">Async</span>
ngOnInit <span ><b>ngOnInit</b></span>
</b>
<a href="#ngOnInit"><span class="icon ion-ios-link"></span></a> <a href="#ngOnInit"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -473,8 +513,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="39" <div class="io-line">Defined in <a href="" data-line="46"
class="link-to-prism">src/app/pages/accounts/accounts.component.ts:39</a></div> class="link-to-prism">src/app/pages/accounts/accounts.component.ts:46</a></div>
</td> </td>
</tr> </tr>
@ -496,9 +536,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="refreshPaginator"></a> <a name="refreshPaginator"></a>
<span class="name"> <span class="name">
<b> <span ><b>refreshPaginator</b></span>
refreshPaginator
</b>
<a href="#refreshPaginator"><span class="icon ion-ios-link"></span></a> <a href="#refreshPaginator"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -512,8 +550,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="100"
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:100</a></div>
</td> </td>
</tr> </tr>
@ -535,10 +573,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="viewAccount"></a> <a name="viewAccount"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Async</span> <span class="modifier">Async</span>
viewAccount <span ><b>viewAccount</b></span>
</b>
<a href="#viewAccount"><span class="icon ion-ios-link"></span></a> <a href="#viewAccount"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -553,8 +589,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="69" <div class="io-line">Defined in <a href="" data-line="83"
class="link-to-prism">src/app/pages/accounts/accounts.component.ts:69</a></div> class="link-to-prism">src/app/pages/accounts/accounts.component.ts:83</a></div>
</td> </td>
</tr> </tr>
@ -609,8 +645,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="accounts"></a> <a name="accounts"></a>
<span class="name"> <span class="name">
<b> <span ><b>accounts</b></span>
accounts</b>
<a href="#accounts"><span class="icon ion-ios-link"></span></a> <a href="#accounts"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -628,7 +663,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/accounts.component.ts:21</a></div> <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>
@ -641,8 +676,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="accountsType"></a> <a name="accountsType"></a>
<span class="name"> <span class="name">
<b> <span ><b>accountsType</b></span>
accountsType</b>
<a href="#accountsType"><span class="icon ion-ios-link"></span></a> <a href="#accountsType"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -660,7 +694,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="25" class="link-to-prism">src/app/pages/accounts/accounts.component.ts:25</a></div> <div class="io-line">Defined in <a href="" data-line="31" class="link-to-prism">src/app/pages/accounts/accounts.component.ts:31</a></div>
</td> </td>
</tr> </tr>
@ -673,8 +707,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="accountTypes"></a> <a name="accountTypes"></a>
<span class="name"> <span class="name">
<b> <span ><b>accountTypes</b></span>
accountTypes</b>
<a href="#accountTypes"><span class="icon ion-ios-link"></span></a> <a href="#accountTypes"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -683,6 +716,32 @@
<td class="col-md-4"> <td class="col-md-4">
<i>Type : </i> <code>Array&lt;string&gt;</code> <i>Type : </i> <code>Array&lt;string&gt;</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="32" class="link-to-prism">src/app/pages/accounts/accounts.component.ts:32</a></div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="dataSource"></a>
<span class="name">
<span ><b>dataSource</b></span>
<a href="#dataSource"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code>MatTableDataSource&lt;any&gt;</code>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -692,33 +751,6 @@
</tr> </tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="dataSource"></a>
<span class="name">
<b>
dataSource</b>
<a href="#dataSource"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code>MatTableDataSource&lt;any&gt;</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="20" class="link-to-prism">src/app/pages/accounts/accounts.component.ts:20</a></div>
</td>
</tr>
</tbody> </tbody>
</table> </table>
<table class="table table-sm table-bordered"> <table class="table table-sm table-bordered">
@ -727,8 +759,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="defaultPageSize"></a> <a name="defaultPageSize"></a>
<span class="name"> <span class="name">
<b> <span ><b>defaultPageSize</b></span>
defaultPageSize</b>
<a href="#defaultPageSize"><span class="icon ion-ios-link"></span></a> <a href="#defaultPageSize"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -746,7 +777,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="23" class="link-to-prism">src/app/pages/accounts/accounts.component.ts:23</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>
@ -759,8 +790,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="displayedColumns"></a> <a name="displayedColumns"></a>
<span class="name"> <span class="name">
<b> <span ><b>displayedColumns</b></span>
displayedColumns</b>
<a href="#displayedColumns"><span class="icon ion-ios-link"></span></a> <a href="#displayedColumns"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -778,7 +808,38 @@
</tr> </tr>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="22" class="link-to-prism">src/app/pages/accounts/accounts.component.ts:22</a></div> <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>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="loading"></a>
<span class="name">
<span ><b>loading</b></span>
<a href="#loading"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>true</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="34" class="link-to-prism">src/app/pages/accounts/accounts.component.ts:34</a></div>
</td> </td>
</tr> </tr>
@ -791,8 +852,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="pageSizeOptions"></a> <a name="pageSizeOptions"></a>
<span class="name"> <span class="name">
<b> <span ><b>pageSizeOptions</b></span>
pageSizeOptions</b>
<a href="#pageSizeOptions"><span class="icon ion-ios-link"></span></a> <a href="#pageSizeOptions"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -810,7 +870,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="24" class="link-to-prism">src/app/pages/accounts/accounts.component.ts:24</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>
@ -823,8 +883,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="paginator"></a> <a name="paginator"></a>
<span class="name"> <span class="name">
<b> <span ><b>paginator</b></span>
paginator</b>
<a href="#paginator"><span class="icon ion-ios-link"></span></a> <a href="#paginator"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -846,7 +905,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="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="36" class="link-to-prism">src/app/pages/accounts/accounts.component.ts:36</a></div>
</td> </td>
</tr> </tr>
@ -859,8 +918,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="sort"></a> <a name="sort"></a>
<span class="name"> <span class="name">
<b> <span ><b>sort</b></span>
sort</b>
<a href="#sort"><span class="icon ion-ios-link"></span></a> <a href="#sort"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -882,7 +940,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="30" class="link-to-prism">src/app/pages/accounts/accounts.component.ts:30</a></div> <div class="io-line">Defined in <a href="" data-line="37" class="link-to-prism">src/app/pages/accounts/accounts.component.ts:37</a></div>
</td> </td>
</tr> </tr>
@ -895,8 +953,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="tokenSymbol"></a> <a name="tokenSymbol"></a>
<span class="name"> <span class="name">
<b> <span ><b>tokenSymbol</b></span>
tokenSymbol</b>
<a href="#tokenSymbol"><span class="icon ion-ios-link"></span></a> <a href="#tokenSymbol"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -909,7 +966,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="27" class="link-to-prism">src/app/pages/accounts/accounts.component.ts:27</a></div> <div class="io-line">Defined in <a href="" data-line="33" class="link-to-prism">src/app/pages/accounts/accounts.component.ts:33</a></div>
</td> </td>
</tr> </tr>
@ -922,7 +979,13 @@
<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, OnInit, ViewChild } from &#x27;@angular/core&#x27;; <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
AfterViewInit,
ChangeDetectionStrategy,
Component,
OnInit,
ViewChild,
} from &#x27;@angular/core&#x27;;
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;;
@ -940,7 +1003,7 @@ import { AccountDetails } from &#x27;@app/_models&#x27;;
styleUrls: [&#x27;./accounts.component.scss&#x27;], styleUrls: [&#x27;./accounts.component.scss&#x27;],
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
}) })
export class AccountsComponent implements OnInit { export class AccountsComponent implements OnInit, AfterViewInit {
dataSource: MatTableDataSource&lt;any&gt;; dataSource: MatTableDataSource&lt;any&gt;;
accounts: Array&lt;AccountDetails&gt; &#x3D; []; accounts: Array&lt;AccountDetails&gt; &#x3D; [];
displayedColumns: Array&lt;string&gt; &#x3D; [&#x27;name&#x27;, &#x27;phone&#x27;, &#x27;created&#x27;, &#x27;balance&#x27;, &#x27;location&#x27;]; displayedColumns: Array&lt;string&gt; &#x3D; [&#x27;name&#x27;, &#x27;phone&#x27;, &#x27;created&#x27;, &#x27;balance&#x27;, &#x27;location&#x27;];
@ -949,32 +1012,33 @@ export class AccountsComponent implements OnInit {
accountsType: string &#x3D; &#x27;all&#x27;; accountsType: string &#x3D; &#x27;all&#x27;;
accountTypes: Array&lt;string&gt;; accountTypes: Array&lt;string&gt;;
tokenSymbol: string; tokenSymbol: string;
loading: boolean &#x3D; true;
@ViewChild(MatPaginator) paginator: MatPaginator; @ViewChild(MatPaginator) paginator: MatPaginator;
@ViewChild(MatSort) sort: MatSort; @ViewChild(MatSort) sort: MatSort;
constructor( constructor(
private userService: UserService,
private loggingService: LoggingService, private loggingService: LoggingService,
private userService: UserService,
private router: Router, private router: Router,
private tokenService: TokenService private tokenService: TokenService
) {} ) {}
async ngOnInit(): Promise&lt;void&gt; { async ngOnInit(): Promise&lt;void&gt; {
await this.userService.init();
await this.tokenService.init();
try {
// TODO it feels like this should be in the onInit handler
await this.userService.loadAccounts(100);
} catch (error) {
this.loggingService.sendErrorLevelMessage(&#x27;Failed to load accounts&#x27;, this, { error });
}
this.userService.accountsSubject.subscribe((accounts) &#x3D;&gt; { this.userService.accountsSubject.subscribe((accounts) &#x3D;&gt; {
this.dataSource &#x3D; new MatTableDataSource&lt;any&gt;(accounts); this.dataSource &#x3D; new MatTableDataSource&lt;any&gt;(accounts);
this.dataSource.paginator &#x3D; this.paginator; this.dataSource.paginator &#x3D; this.paginator;
this.dataSource.sort &#x3D; this.sort; this.dataSource.sort &#x3D; this.sort;
this.accounts &#x3D; accounts; this.accounts &#x3D; accounts;
if (accounts.length &gt; 0) {
this.loading &#x3D; false;
}
}); });
try {
await this.userService.loadAccounts(100);
} catch (error) {
this.loggingService.sendErrorLevelMessage(&#x27;Failed to load accounts&#x27;, this, { error });
}
this.userService this.userService
.getAccountTypes() .getAccountTypes()
.pipe(first()) .pipe(first())
@ -986,6 +1050,13 @@ export class AccountsComponent implements OnInit {
}); });
} }
ngAfterViewInit(): void {
if (this.dataSource) {
this.dataSource.paginator &#x3D; this.paginator;
this.dataSource.sort &#x3D; this.sort;
}
}
doFilter(value: string): void { doFilter(value: string): void {
this.dataSource.filter &#x3D; value.trim().toLocaleLowerCase(); this.dataSource.filter &#x3D; value.trim().toLocaleLowerCase();
} }
@ -1089,6 +1160,11 @@ export class AccountsComponent implements OnInit {
&lt;mat-icon matSuffix&gt;search&lt;/mat-icon&gt; &lt;mat-icon matSuffix&gt;search&lt;/mat-icon&gt;
&lt;/mat-form-field&gt; &lt;/mat-form-field&gt;
&lt;div *ngIf&#x3D;&quot;loading&quot;&gt;
&lt;h2 class&#x3D;&quot;text-center&quot;&gt;&lt;strong&gt;Loading Accounts!&lt;/strong&gt;&lt;/h2&gt;
&lt;mat-progress-bar [mode]&#x3D;&quot;&#x27;query&#x27;&quot;&gt;&lt;/mat-progress-bar&gt;
&lt;/div&gt;
&lt;mat-table &lt;mat-table
class&#x3D;&quot;mat-elevation-z10&quot; class&#x3D;&quot;mat-elevation-z10&quot;
[dataSource]&#x3D;&quot;dataSource&quot; [dataSource]&#x3D;&quot;dataSource&quot;
@ -1181,8 +1257,8 @@ 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 }} {{ 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 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> <div *ngIf="loading"> <h2 class="text-center"><strong>Loading Accounts!</strong></h2> <mat-progress-bar [mode]="\'query\'"></mat-progress-bar> </div> <mat-table class="mat-elevation-z10" [dataSource]="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': 'AccountHistoryComponent', 'selector': 'app-account-history'},{'name': 'AccountsComponent', 'selector': 'app-accounts'},{'name': 'AccountSearchComponent', 'selector': 'app-account-search'},{'name': 'AdminComponent', 'selector': 'app-admin'},{'name': 'AppComponent', 'selector': 'app-root'},{'name': 'AuthComponent', 'selector': 'app-auth'},{'name': 'CreateAccountComponent', 'selector': 'app-create-account'},{'name': 'ErrorDialogComponent', 'selector': 'app-error-dialog'},{'name': 'FooterComponent', 'selector': 'app-footer'},{'name': 'FooterStubComponent', 'selector': 'app-footer'},{'name': 'NetworkStatusComponent', 'selector': 'app-network-status'},{'name': 'OrganizationComponent', 'selector': 'app-organization'},{'name': 'PagesComponent', 'selector': 'app-pages'},{'name': 'SettingsComponent', 'selector': 'app-settings'},{'name': 'SidebarComponent', 'selector': 'app-sidebar'},{'name': 'SidebarStubComponent', 'selector': 'app-sidebar'},{'name': 'TokenDetailsComponent', 'selector': 'app-token-details'},{'name': 'TokensComponent', 'selector': 'app-tokens'},{'name': 'TopbarComponent', 'selector': 'app-topbar'},{'name': 'TopbarStubComponent', 'selector': 'app-topbar'},{'name': 'TransactionDetailsComponent', 'selector': 'app-transaction-details'},{'name': 'TransactionsComponent', 'selector': 'app-transactions'}];
var DIRECTIVES = [{'name': 'MenuSelectionDirective', 'selector': '[appMenuSelection]'},{'name': 'MenuToggleDirective', 'selector': '[appMenuToggle]'},{'name': 'PasswordToggleDirective', 'selector': '[appPasswordToggle]'},{'name': 'RouterLinkDirectiveStub', 'selector': '[appRouterLink]'}]; var 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'};
</script> </script>
@ -1225,9 +1301,9 @@ export class AccountsComponent implements OnInit {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

File diff suppressed because one or more lines are too long

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -35,7 +36,9 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Components</li> <li>Components</li>
<li>AppComponent</li> <li
>
AppComponent</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -66,6 +69,7 @@
<p class="comment"> <p class="comment">
<h3>Implements</h3> <h3>Implements</h3>
</p> </p>
@ -134,16 +138,16 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#mediaQuery">mediaQuery</a> <a href="#accountDetailsRegex" >accountDetailsRegex</a>
</li> </li>
<li> <li>
<a href="#readyState">readyState</a> <a href="#mediaQuery" >mediaQuery</a>
</li> </li>
<li> <li>
<a href="#readyStateTarget">readyStateTarget</a> <a href="#title" >title</a>
</li> </li>
<li> <li>
<a href="#title">title</a> <a href="#url" >url</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -159,10 +163,22 @@
<ul class="index-list"> <ul class="index-list">
<li> <li>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#ngOnInit">ngOnInit</a> <a href="#cicConvert" >cicConvert</a>
</li> </li>
<li> <li>
<a href="#onResize">onResize</a> <span class="modifier">Async</span>
<a href="#cicTransfer" >cicTransfer</a>
</li>
<li>
<span class="modifier">Async</span>
<a href="#ngOnInit" >ngOnInit</a>
</li>
<li>
<a href="#onResize" >onResize</a>
</li>
<li>
<span class="modifier">Async</span>
<a href="#routeManagement" >routeManagement</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -180,10 +196,10 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#window:cic_convert">window:cic_convert</a> <a href="#window:cic_convert" >window:cic_convert</a>
</li> </li>
<li> <li>
<a href="#window:cic_transfer">window:cic_transfer</a> <a href="#window:cic_transfer" >window:cic_transfer</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -199,12 +215,12 @@
<tbody> <tbody>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<code>constructor(authService: <a href="../injectables/AuthService.html">AuthService</a>, transactionService: <a href="../injectables/TransactionService.html">TransactionService</a>, loggingService: <a href="../injectables/LoggingService.html">LoggingService</a>, errorDialogService: <a href="../injectables/ErrorDialogService.html">ErrorDialogService</a>, swUpdate: <a href="https://angular.io/api/service-worker/SwUpdate" target="_blank">SwUpdate</a>)</code> <code>constructor(authService: <a href="../injectables/AuthService.html" target="_self">AuthService</a>, blockSyncService: <a href="../injectables/BlockSyncService.html" target="_self">BlockSyncService</a>, errorDialogService: <a href="../injectables/ErrorDialogService.html" target="_self">ErrorDialogService</a>, loggingService: <a href="../injectables/LoggingService.html" target="_self">LoggingService</a>, tokenService: <a href="../injectables/TokenService.html" target="_self">TokenService</a>, transactionService: <a href="../injectables/TransactionService.html" target="_self">TransactionService</a>, userService: <a href="../injectables/UserService.html" target="_self">UserService</a>, swUpdate: <a href="https://angular.io/api/service-worker/SwUpdate" target="_blank">SwUpdate</a>, router: <a href="https://angular.io/api/router/Router" target="_blank">Router</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="21" class="link-to-prism">src/app/app.component.ts:21</a></div> <div class="io-line">Defined in <a href="" data-line="25" class="link-to-prism">src/app/app.component.ts:25</a></div>
</td> </td>
</tr> </tr>
@ -234,22 +250,10 @@
</tr> </tr>
<tr> <tr>
<td>transactionService</td> <td>blockSyncService</td>
<td> <td>
<code><a href="../injectables/TransactionService.html" target="_self" >TransactionService</a></code> <code><a href="../injectables/BlockSyncService.html" target="_self" >BlockSyncService</a></code>
</td>
<td>
No
</td>
</tr>
<tr>
<td>loggingService</td>
<td>
<code><a href="../injectables/LoggingService.html" target="_self" >LoggingService</a></code>
</td> </td>
<td> <td>
@ -268,6 +272,54 @@
No No
</td> </td>
</tr>
<tr>
<td>loggingService</td>
<td>
<code><a href="../injectables/LoggingService.html" target="_self" >LoggingService</a></code>
</td>
<td>
No
</td>
</tr>
<tr>
<td>tokenService</td>
<td>
<code><a href="../injectables/TokenService.html" target="_self" >TokenService</a></code>
</td>
<td>
No
</td>
</tr>
<tr>
<td>transactionService</td>
<td>
<code><a href="../injectables/TransactionService.html" target="_self" >TransactionService</a></code>
</td>
<td>
No
</td>
</tr>
<tr>
<td>userService</td>
<td>
<code><a href="../injectables/UserService.html" target="_self" >UserService</a></code>
</td>
<td>
No
</td>
</tr> </tr>
<tr> <tr>
<td>swUpdate</td> <td>swUpdate</td>
@ -281,6 +333,18 @@
</td> </td>
</tr> </tr>
<tr>
<td>router</td>
<td>
<code><a href="https://angular.io/api/router/Router" target="_blank" >Router</a></code>
</td>
<td>
No
</td>
</tr>
</tbody> </tbody>
</table> </table>
</div> </div>
@ -300,9 +364,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="window:cic_convert"></a> <a name="window:cic_convert"></a>
<span class="name"> <span class="name">
<b> <span ><b>window:cic_convert</b></span>
window:cic_convert
</b>
<a href="#window:cic_convert"><span class="icon ion-ios-link"></span></a> <a href="#window:cic_convert"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -321,8 +383,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="88" <div class="io-line">Defined in <a href="" data-line="99"
class="link-to-prism">src/app/app.component.ts:88</a></div> class="link-to-prism">src/app/app.component.ts:99</a></div>
</td> </td>
</tr> </tr>
@ -335,9 +397,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="window:cic_transfer"></a> <a name="window:cic_transfer"></a>
<span class="name"> <span class="name">
<b> <span ><b>window:cic_transfer</b></span>
window:cic_transfer
</b>
<a href="#window:cic_transfer"><span class="icon ion-ios-link"></span></a> <a href="#window:cic_transfer"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -356,8 +416,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="82" <div class="io-line">Defined in <a href="" data-line="93"
class="link-to-prism">src/app/app.component.ts:82</a></div> class="link-to-prism">src/app/app.component.ts:93</a></div>
</td> </td>
</tr> </tr>
@ -370,16 +430,168 @@
<h3 id="methods"> <h3 id="methods">
Methods Methods
</h3> </h3>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="cicConvert"></a>
<span class="name">
<span class="modifier">Async</span>
<span ><b>cicConvert</b></span>
<a href="#cicConvert"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<span class="modifier-icon icon ion-ios-reset"></span>
<code>cicConvert(event: CustomEvent)</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<b>Decorators : </b>
<br />
<code>@HostListener(&#x27;window:cic_convert&#x27;, [&#x27;$event&#x27;])<br /></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="99"
class="link-to-prism">src/app/app.component.ts:99</a></div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-description">
<b>Parameters :</b>
<table class="params">
<thead>
<tr>
<td>Name</td>
<td>Type</td>
<td>Optional</td>
</tr>
</thead>
<tbody>
<tr>
<td>event</td>
<td>
<code>CustomEvent</code>
</td>
<td>
No
</td>
</tr>
</tbody>
</table>
</div>
<div>
</div>
<div class="io-description">
<b>Returns : </b> <code>Promise&lt;void&gt;</code>
</div>
<div class="io-description">
</div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="cicTransfer"></a>
<span class="name">
<span class="modifier">Async</span>
<span ><b>cicTransfer</b></span>
<a href="#cicTransfer"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<span class="modifier-icon icon ion-ios-reset"></span>
<code>cicTransfer(event: CustomEvent)</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<b>Decorators : </b>
<br />
<code>@HostListener(&#x27;window:cic_transfer&#x27;, [&#x27;$event&#x27;])<br /></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="93"
class="link-to-prism">src/app/app.component.ts:93</a></div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-description">
<b>Parameters :</b>
<table class="params">
<thead>
<tr>
<td>Name</td>
<td>Type</td>
<td>Optional</td>
</tr>
</thead>
<tbody>
<tr>
<td>event</td>
<td>
<code>CustomEvent</code>
</td>
<td>
No
</td>
</tr>
</tbody>
</table>
</div>
<div>
</div>
<div class="io-description">
<b>Returns : </b> <code>Promise&lt;void&gt;</code>
</div>
<div class="io-description">
</div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered"> <table class="table table-sm table-bordered">
<tbody> <tbody>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="ngOnInit"></a> <a name="ngOnInit"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Async</span> <span class="modifier">Async</span>
ngOnInit <span ><b>ngOnInit</b></span>
</b>
<a href="#ngOnInit"><span class="icon ion-ios-link"></span></a> <a href="#ngOnInit"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -394,8 +606,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="34" <div class="io-line">Defined in <a href="" data-line="42"
class="link-to-prism">src/app/app.component.ts:34</a></div> class="link-to-prism">src/app/app.component.ts:42</a></div>
</td> </td>
</tr> </tr>
@ -417,9 +629,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="onResize"></a> <a name="onResize"></a>
<span class="name"> <span class="name">
<b> <span ><b>onResize</b></span>
onResize
</b>
<a href="#onResize"><span class="icon ion-ios-link"></span></a> <a href="#onResize"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -433,8 +643,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="68"
class="link-to-prism">src/app/app.component.ts:57</a></div> class="link-to-prism">src/app/app.component.ts:68</a></div>
</td> </td>
</tr> </tr>
@ -472,6 +682,45 @@
</div> </div>
<div class="io-description"> <div class="io-description">
</div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="routeManagement"></a>
<span class="name">
<span class="modifier">Async</span>
<span ><b>routeManagement</b></span>
<a href="#routeManagement"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<span class="modifier-icon icon ion-ios-reset"></span>
<code>routeManagement()</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="104"
class="link-to-prism">src/app/app.component.ts:104</a></div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-description">
<b>Returns : </b> <code>Promise&lt;void&gt;</code>
</div> </div>
</td> </td>
</tr> </tr>
@ -483,14 +732,44 @@
<h3 id="inputs"> <h3 id="inputs">
Properties Properties
</h3> </h3>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="accountDetailsRegex"></a>
<span class="name">
<span ><b>accountDetailsRegex</b></span>
<a href="#accountDetailsRegex"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>&#x27;/accounts/[a-z,A-Z,0-9]{40}&#x27;</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="25" class="link-to-prism">src/app/app.component.ts:25</a></div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered"> <table class="table table-sm table-bordered">
<tbody> <tbody>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="mediaQuery"></a> <a name="mediaQuery"></a>
<span class="name"> <span class="name">
<b> <span ><b>mediaQuery</b></span>
mediaQuery</b>
<a href="#mediaQuery"><span class="icon ion-ios-link"></span></a> <a href="#mediaQuery"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -508,71 +787,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/app.component.ts:21</a></div> <div class="io-line">Defined in <a href="" data-line="23" class="link-to-prism">src/app/app.component.ts:23</a></div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="readyState"></a>
<span class="name">
<b>
readyState</b>
<a href="#readyState"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>0</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="20" class="link-to-prism">src/app/app.component.ts:20</a></div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="readyStateTarget"></a>
<span class="name">
<b>
readyStateTarget</b>
<a href="#readyStateTarget"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>3</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="19" class="link-to-prism">src/app/app.component.ts:19</a></div>
</td> </td>
</tr> </tr>
@ -585,8 +800,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="title"></a> <a name="title"></a>
<span class="name"> <span class="name">
<b> <span ><b>title</b></span>
title</b>
<a href="#title"><span class="icon ion-ios-link"></span></a> <a href="#title"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -604,7 +818,33 @@
</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/app.component.ts:18</a></div> <div class="io-line">Defined in <a href="" data-line="22" class="link-to-prism">src/app/app.component.ts:22</a></div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="url"></a>
<span class="name">
<span ><b>url</b></span>
<a href="#url"><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="24" class="link-to-prism">src/app/app.component.ts:24</a></div>
</td> </td>
</tr> </tr>
@ -620,12 +860,16 @@
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { ChangeDetectionStrategy, Component, HostListener, OnInit } from &#x27;@angular/core&#x27;; <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { ChangeDetectionStrategy, Component, HostListener, OnInit } from &#x27;@angular/core&#x27;;
import { import {
AuthService, AuthService,
BlockSyncService,
ErrorDialogService, ErrorDialogService,
LoggingService, LoggingService,
TokenService,
TransactionService, TransactionService,
UserService,
} from &#x27;@app/_services&#x27;; } from &#x27;@app/_services&#x27;;
import { catchError } from &#x27;rxjs/operators&#x27;;
import { SwUpdate } from &#x27;@angular/service-worker&#x27;; import { SwUpdate } from &#x27;@angular/service-worker&#x27;;
import { NavigationEnd, Router } from &#x27;@angular/router&#x27;;
import { filter } from &#x27;rxjs/operators&#x27;;
@Component({ @Component({
selector: &#x27;app-root&#x27;, selector: &#x27;app-root&#x27;,
@ -635,16 +879,20 @@ import { SwUpdate } from &#x27;@angular/service-worker&#x27;;
}) })
export class AppComponent implements OnInit { export class AppComponent implements OnInit {
title &#x3D; &#x27;CICADA&#x27;; title &#x3D; &#x27;CICADA&#x27;;
readyStateTarget: number &#x3D; 3;
readyState: number &#x3D; 0;
mediaQuery: MediaQueryList &#x3D; window.matchMedia(&#x27;(max-width: 768px)&#x27;); mediaQuery: MediaQueryList &#x3D; window.matchMedia(&#x27;(max-width: 768px)&#x27;);
url: string;
accountDetailsRegex &#x3D; &#x27;/accounts/[a-z,A-Z,0-9]{40}&#x27;;
constructor( constructor(
private authService: AuthService, private authService: AuthService,
private transactionService: TransactionService, private blockSyncService: BlockSyncService,
private loggingService: LoggingService,
private errorDialogService: ErrorDialogService, private errorDialogService: ErrorDialogService,
private swUpdate: SwUpdate private loggingService: LoggingService,
private tokenService: TokenService,
private transactionService: TransactionService,
private userService: UserService,
private swUpdate: SwUpdate,
private router: Router
) { ) {
this.mediaQuery.addEventListener(&#x27;change&#x27;, this.onResize); this.mediaQuery.addEventListener(&#x27;change&#x27;, this.onResize);
this.onResize(this.mediaQuery); this.onResize(this.mediaQuery);
@ -652,6 +900,8 @@ export class AppComponent implements OnInit {
async ngOnInit(): Promise&lt;void&gt; { async ngOnInit(): Promise&lt;void&gt; {
await this.authService.init(); await this.authService.init();
await this.tokenService.init();
await this.userService.init();
await this.transactionService.init(); await this.transactionService.init();
try { try {
const publicKeys &#x3D; await this.authService.getPublicKeys(); const publicKeys &#x3D; await this.authService.getPublicKeys();
@ -670,6 +920,7 @@ export class AppComponent implements OnInit {
} }
}); });
} }
await this.routeManagement();
} }
// Load resize // Load resize
@ -708,6 +959,33 @@ export class AppComponent implements OnInit {
const conversion: any &#x3D; event.detail.tx; const conversion: any &#x3D; event.detail.tx;
await this.transactionService.setConversion(conversion, 100); await this.transactionService.setConversion(conversion, 100);
} }
async routeManagement(): Promise&lt;void&gt; {
await this.router.events
.pipe(filter((e) &#x3D;&gt; e instanceof NavigationEnd))
.forEach(async (routeInfo) &#x3D;&gt; {
if (routeInfo instanceof NavigationEnd) {
this.url &#x3D; routeInfo.url;
if (!this.url.match(this.accountDetailsRegex) || !this.url.includes(&#x27;tx&#x27;)) {
await this.blockSyncService.blockSync();
}
if (!this.url.includes(&#x27;accounts&#x27;)) {
try {
await this.userService.loadAccounts(100);
} catch (error) {
this.loggingService.sendErrorLevelMessage(&#x27;Failed to load accounts&#x27;, this, { error });
}
}
if (!this.url.includes(&#x27;tokens&#x27;)) {
this.tokenService.load.subscribe(async (status: boolean) &#x3D;&gt; {
if (status) {
await this.tokenService.getTokens();
}
});
}
}
});
}
} }
</code></pre> </code></pre>
</div> </div>
@ -750,7 +1028,7 @@ export class AppComponent implements OnInit {
<script src="../js/libs/deep-iterator.js"></script> <script src="../js/libs/deep-iterator.js"></script>
<script> <script>
var COMPONENT_TEMPLATE = '<div><router-outlet (activate)="onResize(mediaQuery)"></router-outlet></div>' var COMPONENT_TEMPLATE = '<div><router-outlet (activate)="onResize(mediaQuery)"></router-outlet></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': 'AccountHistoryComponent', 'selector': 'app-account-history'},{'name': 'AccountsComponent', 'selector': 'app-accounts'},{'name': 'AccountSearchComponent', 'selector': 'app-account-search'},{'name': 'AdminComponent', 'selector': 'app-admin'},{'name': 'AppComponent', 'selector': 'app-root'},{'name': 'AuthComponent', 'selector': 'app-auth'},{'name': 'CreateAccountComponent', 'selector': 'app-create-account'},{'name': 'ErrorDialogComponent', 'selector': 'app-error-dialog'},{'name': 'FooterComponent', 'selector': 'app-footer'},{'name': 'FooterStubComponent', 'selector': 'app-footer'},{'name': 'NetworkStatusComponent', 'selector': 'app-network-status'},{'name': 'OrganizationComponent', 'selector': 'app-organization'},{'name': 'PagesComponent', 'selector': 'app-pages'},{'name': 'SettingsComponent', 'selector': 'app-settings'},{'name': 'SidebarComponent', 'selector': 'app-sidebar'},{'name': 'SidebarStubComponent', 'selector': 'app-sidebar'},{'name': 'TokenDetailsComponent', 'selector': 'app-token-details'},{'name': 'TokensComponent', 'selector': 'app-tokens'},{'name': 'TopbarComponent', 'selector': 'app-topbar'},{'name': 'TopbarStubComponent', 'selector': 'app-topbar'},{'name': 'TransactionDetailsComponent', 'selector': 'app-transaction-details'},{'name': 'TransactionsComponent', 'selector': 'app-transactions'}];
var DIRECTIVES = [{'name': 'MenuSelectionDirective', 'selector': '[appMenuSelection]'},{'name': 'MenuToggleDirective', 'selector': '[appMenuToggle]'},{'name': 'PasswordToggleDirective', 'selector': '[appPasswordToggle]'},{'name': 'RouterLinkDirectiveStub', 'selector': '[appRouterLink]'}]; var DIRECTIVES = [{'name': 'MenuSelectionDirective', 'selector': '[appMenuSelection]'},{'name': 'MenuToggleDirective', 'selector': '[appMenuToggle]'},{'name': 'PasswordToggleDirective', 'selector': '[appPasswordToggle]'},{'name': 'RouterLinkDirectiveStub', 'selector': '[appRouterLink]'}];
var ACTUAL_COMPONENT = {'name': 'AppComponent'}; var ACTUAL_COMPONENT = {'name': 'AppComponent'};
</script> </script>
@ -793,9 +1071,9 @@ export class AppComponent implements OnInit {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -35,7 +36,9 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Components</li> <li>Components</li>
<li>AuthComponent</li> <li
>
AuthComponent</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -66,6 +69,7 @@
<p class="comment"> <p class="comment">
<h3>Implements</h3> <h3>Implements</h3>
</p> </p>
@ -134,16 +138,16 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#keyForm">keyForm</a> <a href="#keyForm" >keyForm</a>
</li> </li>
<li> <li>
<a href="#loading">loading</a> <a href="#loading" >loading</a>
</li> </li>
<li> <li>
<a href="#matcher">matcher</a> <a href="#matcher" >matcher</a>
</li> </li>
<li> <li>
<a href="#submitted">submitted</a> <a href="#submitted" >submitted</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -159,21 +163,20 @@
<ul class="index-list"> <ul class="index-list">
<li> <li>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#login">login</a> <a href="#login" >login</a>
</li>
<li>
<a href="#ngOnInit" >ngOnInit</a>
</li> </li>
<li> <li>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#ngOnInit">ngOnInit</a> <a href="#onSubmit" >onSubmit</a>
</li> </li>
<li> <li>
<span class="modifier">Async</span> <a href="#switchWindows" >switchWindows</a>
<a href="#onSubmit">onSubmit</a>
</li> </li>
<li> <li>
<a href="#switchWindows">switchWindows</a> <a href="#toggleDisplay" >toggleDisplay</a>
</li>
<li>
<a href="#toggleDisplay">toggleDisplay</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -192,7 +195,7 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#keyFormStub">keyFormStub</a> <a href="#keyFormStub" >keyFormStub</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -207,12 +210,12 @@
<tbody> <tbody>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<code>constructor(authService: <a href="../injectables/AuthService.html">AuthService</a>, formBuilder: <a href="https://angular.io/api/forms/FormBuilder" target="_blank">FormBuilder</a>, router: <a href="https://angular.io/api/router/Router" target="_blank">Router</a>, errorDialogService: <a href="../injectables/ErrorDialogService.html">ErrorDialogService</a>)</code> <code>constructor(authService: <a href="../injectables/AuthService.html" target="_self">AuthService</a>, formBuilder: <a href="https://angular.io/api/forms/FormBuilder" target="_blank">FormBuilder</a>, router: <a href="https://angular.io/api/router/Router" target="_blank">Router</a>, errorDialogService: <a href="../injectables/ErrorDialogService.html" target="_self">ErrorDialogService</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="19" class="link-to-prism">src/app/auth/auth.component.ts:19</a></div> <div class="io-line">Defined in <a href="" data-line="18" class="link-to-prism">src/app/auth/auth.component.ts:18</a></div>
</td> </td>
</tr> </tr>
@ -301,10 +304,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="login"></a> <a name="login"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Async</span> <span class="modifier">Async</span>
login <span ><b>login</b></span>
</b>
<a href="#login"><span class="icon ion-ios-link"></span></a> <a href="#login"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -319,8 +320,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="53" <div class="io-line">Defined in <a href="" data-line="52"
class="link-to-prism">src/app/auth/auth.component.ts:53</a></div> class="link-to-prism">src/app/auth/auth.component.ts:52</a></div>
</td> </td>
</tr> </tr>
@ -342,26 +343,22 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="ngOnInit"></a> <a name="ngOnInit"></a>
<span class="name"> <span class="name">
<b> <span ><b>ngOnInit</b></span>
<span class="modifier">Async</span>
ngOnInit
</b>
<a href="#ngOnInit"><span class="icon ion-ios-link"></span></a> <a href="#ngOnInit"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<span class="modifier-icon icon ion-ios-reset"></span> <code>ngOnInit()</code>
<code>ngOnInit()</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="28" <div class="io-line">Defined in <a href="" data-line="27"
class="link-to-prism">src/app/auth/auth.component.ts:28</a></div> class="link-to-prism">src/app/auth/auth.component.ts:27</a></div>
</td> </td>
</tr> </tr>
@ -370,7 +367,7 @@
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"> <div class="io-description">
<b>Returns : </b> <code>Promise&lt;void&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>
@ -383,10 +380,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="onSubmit"></a> <a name="onSubmit"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Async</span> <span class="modifier">Async</span>
onSubmit <span ><b>onSubmit</b></span>
</b>
<a href="#onSubmit"><span class="icon ion-ios-link"></span></a> <a href="#onSubmit"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -401,8 +396,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="41" <div class="io-line">Defined in <a href="" data-line="40"
class="link-to-prism">src/app/auth/auth.component.ts:41</a></div> class="link-to-prism">src/app/auth/auth.component.ts:40</a></div>
</td> </td>
</tr> </tr>
@ -424,9 +419,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="switchWindows"></a> <a name="switchWindows"></a>
<span class="name"> <span class="name">
<b> <span ><b>switchWindows</b></span>
switchWindows
</b>
<a href="#switchWindows"><span class="icon ion-ios-link"></span></a> <a href="#switchWindows"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -440,8 +433,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="65"
class="link-to-prism">src/app/auth/auth.component.ts:66</a></div> class="link-to-prism">src/app/auth/auth.component.ts:65</a></div>
</td> </td>
</tr> </tr>
@ -463,9 +456,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="toggleDisplay"></a> <a name="toggleDisplay"></a>
<span class="name"> <span class="name">
<b> <span ><b>toggleDisplay</b></span>
toggleDisplay
</b>
<a href="#toggleDisplay"><span class="icon ion-ios-link"></span></a> <a href="#toggleDisplay"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -479,8 +470,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/auth/auth.component.ts:73</a></div> class="link-to-prism">src/app/auth/auth.component.ts:72</a></div>
</td> </td>
</tr> </tr>
@ -539,8 +530,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="keyForm"></a> <a name="keyForm"></a>
<span class="name"> <span class="name">
<b> <span ><b>keyForm</b></span>
keyForm</b>
<a href="#keyForm"><span class="icon ion-ios-link"></span></a> <a href="#keyForm"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -553,7 +543,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/auth/auth.component.ts:16</a></div> <div class="io-line">Defined in <a href="" data-line="15" class="link-to-prism">src/app/auth/auth.component.ts:15</a></div>
</td> </td>
</tr> </tr>
@ -566,8 +556,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="loading"></a> <a name="loading"></a>
<span class="name"> <span class="name">
<b> <span ><b>loading</b></span>
loading</b>
<a href="#loading"><span class="icon ion-ios-link"></span></a> <a href="#loading"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -585,7 +574,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="18" class="link-to-prism">src/app/auth/auth.component.ts:18</a></div> <div class="io-line">Defined in <a href="" data-line="17" class="link-to-prism">src/app/auth/auth.component.ts:17</a></div>
</td> </td>
</tr> </tr>
@ -598,8 +587,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="matcher"></a> <a name="matcher"></a>
<span class="name"> <span class="name">
<b> <span ><b>matcher</b></span>
matcher</b>
<a href="#matcher"><span class="icon ion-ios-link"></span></a> <a href="#matcher"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -617,7 +605,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/auth/auth.component.ts:19</a></div> <div class="io-line">Defined in <a href="" data-line="18" class="link-to-prism">src/app/auth/auth.component.ts:18</a></div>
</td> </td>
</tr> </tr>
@ -630,8 +618,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="submitted"></a> <a name="submitted"></a>
<span class="name"> <span class="name">
<b> <span ><b>submitted</b></span>
submitted</b>
<a href="#submitted"><span class="icon ion-ios-link"></span></a> <a href="#submitted"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -649,7 +636,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/auth/auth.component.ts:17</a></div> <div class="io-line">Defined in <a href="" data-line="16" class="link-to-prism">src/app/auth/auth.component.ts:16</a></div>
</td> </td>
</tr> </tr>
@ -678,7 +665,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/auth/auth.component.ts:37</a></div> <div class="io-line">Defined in <a href="" data-line="36" class="link-to-prism">src/app/auth/auth.component.ts:36</a></div>
</td> </td>
</tr> </tr>
@ -694,7 +681,6 @@ import { FormBuilder, FormGroup, Validators } from &#x27;@angular/forms&#x27;;
import { CustomErrorStateMatcher } from &#x27;@app/_helpers&#x27;; import { CustomErrorStateMatcher } from &#x27;@app/_helpers&#x27;;
import { AuthService } from &#x27;@app/_services&#x27;; import { AuthService } from &#x27;@app/_services&#x27;;
import { ErrorDialogService } from &#x27;@app/_services/error-dialog.service&#x27;; import { ErrorDialogService } from &#x27;@app/_services/error-dialog.service&#x27;;
import { LoggingService } from &#x27;@app/_services/logging.service&#x27;;
import { Router } from &#x27;@angular/router&#x27;; import { Router } from &#x27;@angular/router&#x27;;
@Component({ @Component({
@ -716,7 +702,7 @@ export class AuthComponent implements OnInit {
private errorDialogService: ErrorDialogService private errorDialogService: ErrorDialogService
) {} ) {}
async ngOnInit(): Promise&lt;void&gt; { ngOnInit(): void {
this.keyForm &#x3D; this.formBuilder.group({ this.keyForm &#x3D; this.formBuilder.group({
key: [&#x27;&#x27;, Validators.required], key: [&#x27;&#x27;, Validators.required],
}); });
@ -749,7 +735,7 @@ export class AuthComponent implements OnInit {
} }
} catch (HttpError) { } catch (HttpError) {
this.errorDialogService.openDialog({ this.errorDialogService.openDialog({
message: HttpError.message, message: &#x27;Failed to login please try again.&#x27;,
}); });
} }
} }
@ -871,7 +857,7 @@ export class AuthComponent implements OnInit {
<script src="../js/libs/deep-iterator.js"></script> <script src="../js/libs/deep-iterator.js"></script>
<script> <script>
var COMPONENT_TEMPLATE = '<div><app-network-status></app-network-status><div class="container"> <div class="row justify-content-center mt-5 mb-5"> <div class="col-lg-6 col-md-8 col-sm-10"> <div class="card"> <mat-card-title class="card-header pt-4 pb-4 text-center background-dark"> <a routerLink="/"> <h1 class="text-white">CICADA</h1> </a> </mat-card-title> <div id="one" style="display: block" class="card-body p-4"> <div class="text-center w-75 m-auto"> <h4 class="text-dark-50 text-center font-weight-bold">Add Private Key</h4> </div> <form [formGroup]="keyForm" (ngSubmit)="onSubmit()"> <mat-form-field appearance="outline" class="full-width"> <mat-label>Private Key</mat-label> <textarea matInput style="height: 30rem" formControlName="key" placeholder="Enter your private key..." [errorStateMatcher]="matcher" ></textarea> <div *ngIf="submitted && keyFormStub.key.errors" class="invalid-feedback"> <mat-error *ngIf="keyFormStub.key.errors.required" >Private Key is required.</mat-error > </div> </mat-form-field> <button mat-raised-button matRipple color="primary" type="submit" [disabled]="loading"> <span *ngIf="loading" class="spinner-border spinner-border-sm mr-1"></span> Add Key </button> </form> </div> <div id="two" style="display: none" class="card-body p-4 align-items-center"> <div class="text-center w-75 m-auto"> <h4 id="state" class="text-dark-50 text-center font-weight-bold"></h4> <button mat-raised-button matRipple color="primary" type="submit" (click)="login()"> Login </button> </div> <div class="row mt-3"> <div class="col-12 text-center"> <p class="text-muted"> Change private key? <a (click)="switchWindows()" class="text-muted ml-1"><b>Enter private key</b></a> </p> </div> <!-- end col--> </div> <!-- end row --> </div> </div> </div> </div></div></div>' var COMPONENT_TEMPLATE = '<div><app-network-status></app-network-status><div class="container"> <div class="row justify-content-center mt-5 mb-5"> <div class="col-lg-6 col-md-8 col-sm-10"> <div class="card"> <mat-card-title class="card-header pt-4 pb-4 text-center background-dark"> <a routerLink="/"> <h1 class="text-white">CICADA</h1> </a> </mat-card-title> <div id="one" style="display: block" class="card-body p-4"> <div class="text-center w-75 m-auto"> <h4 class="text-dark-50 text-center font-weight-bold">Add Private Key</h4> </div> <form [formGroup]="keyForm" (ngSubmit)="onSubmit()"> <mat-form-field appearance="outline" class="full-width"> <mat-label>Private Key</mat-label> <textarea matInput style="height: 30rem" formControlName="key" placeholder="Enter your private key..." [errorStateMatcher]="matcher" ></textarea> <div *ngIf="submitted && keyFormStub.key.errors" class="invalid-feedback"> <mat-error *ngIf="keyFormStub.key.errors.required" >Private Key is required.</mat-error > </div> </mat-form-field> <button mat-raised-button matRipple color="primary" type="submit" [disabled]="loading"> <span *ngIf="loading" class="spinner-border spinner-border-sm mr-1"></span> Add Key </button> </form> </div> <div id="two" style="display: none" class="card-body p-4 align-items-center"> <div class="text-center w-75 m-auto"> <h4 id="state" class="text-dark-50 text-center font-weight-bold"></h4> <button mat-raised-button matRipple color="primary" type="submit" (click)="login()"> Login </button> </div> <div class="row mt-3"> <div class="col-12 text-center"> <p class="text-muted"> Change private key? <a (click)="switchWindows()" class="text-muted ml-1"><b>Enter private key</b></a> </p> </div> <!-- end col--> </div> <!-- end row --> </div> </div> </div> </div></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': 'AccountHistoryComponent', 'selector': 'app-account-history'},{'name': 'AccountsComponent', 'selector': 'app-accounts'},{'name': 'AccountSearchComponent', 'selector': 'app-account-search'},{'name': 'AdminComponent', 'selector': 'app-admin'},{'name': 'AppComponent', 'selector': 'app-root'},{'name': 'AuthComponent', 'selector': 'app-auth'},{'name': 'CreateAccountComponent', 'selector': 'app-create-account'},{'name': 'ErrorDialogComponent', 'selector': 'app-error-dialog'},{'name': 'FooterComponent', 'selector': 'app-footer'},{'name': 'FooterStubComponent', 'selector': 'app-footer'},{'name': 'NetworkStatusComponent', 'selector': 'app-network-status'},{'name': 'OrganizationComponent', 'selector': 'app-organization'},{'name': 'PagesComponent', 'selector': 'app-pages'},{'name': 'SettingsComponent', 'selector': 'app-settings'},{'name': 'SidebarComponent', 'selector': 'app-sidebar'},{'name': 'SidebarStubComponent', 'selector': 'app-sidebar'},{'name': 'TokenDetailsComponent', 'selector': 'app-token-details'},{'name': 'TokensComponent', 'selector': 'app-tokens'},{'name': 'TopbarComponent', 'selector': 'app-topbar'},{'name': 'TopbarStubComponent', 'selector': 'app-topbar'},{'name': 'TransactionDetailsComponent', 'selector': 'app-transaction-details'},{'name': 'TransactionsComponent', 'selector': 'app-transactions'}];
var DIRECTIVES = [{'name': 'MenuSelectionDirective', 'selector': '[appMenuSelection]'},{'name': 'MenuToggleDirective', 'selector': '[appMenuToggle]'},{'name': 'PasswordToggleDirective', 'selector': '[appPasswordToggle]'},{'name': 'RouterLinkDirectiveStub', 'selector': '[appRouterLink]'}]; var DIRECTIVES = [{'name': 'MenuSelectionDirective', 'selector': '[appMenuSelection]'},{'name': 'MenuToggleDirective', 'selector': '[appMenuToggle]'},{'name': 'PasswordToggleDirective', 'selector': '[appPasswordToggle]'},{'name': 'RouterLinkDirectiveStub', 'selector': '[appRouterLink]'}];
var ACTUAL_COMPONENT = {'name': 'AuthComponent'}; var ACTUAL_COMPONENT = {'name': 'AuthComponent'};
</script> </script>
@ -914,9 +900,9 @@ export class AuthComponent implements OnInit {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

File diff suppressed because one or more lines are too long

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -35,7 +36,9 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Components</li> <li>Components</li>
<li>ErrorDialogComponent</li> <li
>
ErrorDialogComponent</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -68,6 +71,7 @@
<section> <section>
<h3>Metadata</h3> <h3>Metadata</h3>
<table class="table table-sm table-hover"> <table class="table table-sm table-hover">
@ -129,7 +133,7 @@
<ul class="index-list"> <ul class="index-list">
<li> <li>
<span class="modifier">Public</span> <span class="modifier">Public</span>
<a href="#data">data</a> <a href="#data" >data</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -209,9 +213,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="data"></a> <a name="data"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Public</span> <span class="modifier">Public</span>
data</b> <span ><b>data</b></span>
<a href="#data"><span class="icon ion-ios-link"></span></a> <a href="#data"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -304,7 +307,7 @@ export class ErrorDialogComponent {
<script src="../js/libs/deep-iterator.js"></script> <script src="../js/libs/deep-iterator.js"></script>
<script> <script>
var COMPONENT_TEMPLATE = '<div><div> <div> <p>Message: {{ data.message }}</p> <p *ngIf="data.status">Status: {{ data?.status }}</p> </div></div></div>' var COMPONENT_TEMPLATE = '<div><div> <div> <p>Message: {{ data.message }}</p> <p *ngIf="data.status">Status: {{ data?.status }}</p> </div></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': 'AccountHistoryComponent', 'selector': 'app-account-history'},{'name': 'AccountsComponent', 'selector': 'app-accounts'},{'name': 'AccountSearchComponent', 'selector': 'app-account-search'},{'name': 'AdminComponent', 'selector': 'app-admin'},{'name': 'AppComponent', 'selector': 'app-root'},{'name': 'AuthComponent', 'selector': 'app-auth'},{'name': 'CreateAccountComponent', 'selector': 'app-create-account'},{'name': 'ErrorDialogComponent', 'selector': 'app-error-dialog'},{'name': 'FooterComponent', 'selector': 'app-footer'},{'name': 'FooterStubComponent', 'selector': 'app-footer'},{'name': 'NetworkStatusComponent', 'selector': 'app-network-status'},{'name': 'OrganizationComponent', 'selector': 'app-organization'},{'name': 'PagesComponent', 'selector': 'app-pages'},{'name': 'SettingsComponent', 'selector': 'app-settings'},{'name': 'SidebarComponent', 'selector': 'app-sidebar'},{'name': 'SidebarStubComponent', 'selector': 'app-sidebar'},{'name': 'TokenDetailsComponent', 'selector': 'app-token-details'},{'name': 'TokensComponent', 'selector': 'app-tokens'},{'name': 'TopbarComponent', 'selector': 'app-topbar'},{'name': 'TopbarStubComponent', 'selector': 'app-topbar'},{'name': 'TransactionDetailsComponent', 'selector': 'app-transaction-details'},{'name': 'TransactionsComponent', 'selector': 'app-transactions'}];
var DIRECTIVES = [{'name': 'MenuSelectionDirective', 'selector': '[appMenuSelection]'},{'name': 'MenuToggleDirective', 'selector': '[appMenuToggle]'},{'name': 'PasswordToggleDirective', 'selector': '[appPasswordToggle]'},{'name': 'RouterLinkDirectiveStub', 'selector': '[appRouterLink]'}]; var DIRECTIVES = [{'name': 'MenuSelectionDirective', 'selector': '[appMenuSelection]'},{'name': 'MenuToggleDirective', 'selector': '[appMenuToggle]'},{'name': 'PasswordToggleDirective', 'selector': '[appPasswordToggle]'},{'name': 'RouterLinkDirectiveStub', 'selector': '[appRouterLink]'}];
var ACTUAL_COMPONENT = {'name': 'ErrorDialogComponent'}; var ACTUAL_COMPONENT = {'name': 'ErrorDialogComponent'};
</script> </script>
@ -347,9 +350,9 @@ export class ErrorDialogComponent {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -35,7 +36,9 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Components</li> <li>Components</li>
<li>FooterComponent</li> <li
>
FooterComponent</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -66,6 +69,7 @@
<p class="comment"> <p class="comment">
<h3>Implements</h3> <h3>Implements</h3>
</p> </p>
@ -134,7 +138,7 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#currentYear">currentYear</a> <a href="#currentYear" >currentYear</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -149,7 +153,7 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#ngOnInit">ngOnInit</a> <a href="#ngOnInit" >ngOnInit</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -197,9 +201,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="ngOnInit"></a> <a name="ngOnInit"></a>
<span class="name"> <span class="name">
<b> <span ><b>ngOnInit</b></span>
ngOnInit
</b>
<a href="#ngOnInit"><span class="icon ion-ios-link"></span></a> <a href="#ngOnInit"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -242,8 +244,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="currentYear"></a> <a name="currentYear"></a>
<span class="name"> <span class="name">
<b> <span ><b>currentYear</b></span>
currentYear</b>
<a href="#currentYear"><span class="icon ion-ios-link"></span></a> <a href="#currentYear"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -332,7 +333,7 @@ export class FooterComponent implements OnInit {
<script src="../js/libs/deep-iterator.js"></script> <script src="../js/libs/deep-iterator.js"></script>
<script> <script>
var COMPONENT_TEMPLATE = '<div><!-- Footer Start --><footer class="footer"> <a target="blank" title="GPL-3" href="https://www.gnu.org/licenses/gpl-3.0.en.html"> Copyleft </a> 🄯. {{ currentYear }} <a target="blank" title="Gitlab@GrassrootsEconomics" href="https://gitlab.com/grassrootseconomics" ><u> Grassroots Economics </u></a ></footer><!-- end Footer --></div>' var COMPONENT_TEMPLATE = '<div><!-- Footer Start --><footer class="footer"> <a target="blank" title="GPL-3" href="https://www.gnu.org/licenses/gpl-3.0.en.html"> Copyleft </a> 🄯. {{ currentYear }} <a target="blank" title="Gitlab@GrassrootsEconomics" href="https://gitlab.com/grassrootseconomics" ><u> Grassroots Economics </u></a ></footer><!-- end Footer --></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': 'AccountHistoryComponent', 'selector': 'app-account-history'},{'name': 'AccountsComponent', 'selector': 'app-accounts'},{'name': 'AccountSearchComponent', 'selector': 'app-account-search'},{'name': 'AdminComponent', 'selector': 'app-admin'},{'name': 'AppComponent', 'selector': 'app-root'},{'name': 'AuthComponent', 'selector': 'app-auth'},{'name': 'CreateAccountComponent', 'selector': 'app-create-account'},{'name': 'ErrorDialogComponent', 'selector': 'app-error-dialog'},{'name': 'FooterComponent', 'selector': 'app-footer'},{'name': 'FooterStubComponent', 'selector': 'app-footer'},{'name': 'NetworkStatusComponent', 'selector': 'app-network-status'},{'name': 'OrganizationComponent', 'selector': 'app-organization'},{'name': 'PagesComponent', 'selector': 'app-pages'},{'name': 'SettingsComponent', 'selector': 'app-settings'},{'name': 'SidebarComponent', 'selector': 'app-sidebar'},{'name': 'SidebarStubComponent', 'selector': 'app-sidebar'},{'name': 'TokenDetailsComponent', 'selector': 'app-token-details'},{'name': 'TokensComponent', 'selector': 'app-tokens'},{'name': 'TopbarComponent', 'selector': 'app-topbar'},{'name': 'TopbarStubComponent', 'selector': 'app-topbar'},{'name': 'TransactionDetailsComponent', 'selector': 'app-transaction-details'},{'name': 'TransactionsComponent', 'selector': 'app-transactions'}];
var DIRECTIVES = [{'name': 'MenuSelectionDirective', 'selector': '[appMenuSelection]'},{'name': 'MenuToggleDirective', 'selector': '[appMenuToggle]'},{'name': 'PasswordToggleDirective', 'selector': '[appPasswordToggle]'},{'name': 'RouterLinkDirectiveStub', 'selector': '[appRouterLink]'}]; var DIRECTIVES = [{'name': 'MenuSelectionDirective', 'selector': '[appMenuSelection]'},{'name': 'MenuToggleDirective', 'selector': '[appMenuToggle]'},{'name': 'PasswordToggleDirective', 'selector': '[appPasswordToggle]'},{'name': 'RouterLinkDirectiveStub', 'selector': '[appRouterLink]'}];
var ACTUAL_COMPONENT = {'name': 'FooterComponent'}; var ACTUAL_COMPONENT = {'name': 'FooterComponent'};
</script> </script>
@ -375,9 +376,9 @@ export class FooterComponent implements OnInit {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -35,7 +36,9 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Components</li> <li>Components</li>
<li>FooterStubComponent</li> <li
>
FooterStubComponent</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -62,6 +65,7 @@
<section> <section>
<h3>Metadata</h3> <h3>Metadata</h3>
<table class="table table-sm table-hover"> <table class="table table-sm table-hover">
@ -150,7 +154,7 @@ export class FooterStubComponent {}
<script src="../js/libs/deep-iterator.js"></script> <script src="../js/libs/deep-iterator.js"></script>
<script> <script>
var COMPONENT_TEMPLATE = '<div></div>' var COMPONENT_TEMPLATE = '<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': 'AccountHistoryComponent', 'selector': 'app-account-history'},{'name': 'AccountsComponent', 'selector': 'app-accounts'},{'name': 'AccountSearchComponent', 'selector': 'app-account-search'},{'name': 'AdminComponent', 'selector': 'app-admin'},{'name': 'AppComponent', 'selector': 'app-root'},{'name': 'AuthComponent', 'selector': 'app-auth'},{'name': 'CreateAccountComponent', 'selector': 'app-create-account'},{'name': 'ErrorDialogComponent', 'selector': 'app-error-dialog'},{'name': 'FooterComponent', 'selector': 'app-footer'},{'name': 'FooterStubComponent', 'selector': 'app-footer'},{'name': 'NetworkStatusComponent', 'selector': 'app-network-status'},{'name': 'OrganizationComponent', 'selector': 'app-organization'},{'name': 'PagesComponent', 'selector': 'app-pages'},{'name': 'SettingsComponent', 'selector': 'app-settings'},{'name': 'SidebarComponent', 'selector': 'app-sidebar'},{'name': 'SidebarStubComponent', 'selector': 'app-sidebar'},{'name': 'TokenDetailsComponent', 'selector': 'app-token-details'},{'name': 'TokensComponent', 'selector': 'app-tokens'},{'name': 'TopbarComponent', 'selector': 'app-topbar'},{'name': 'TopbarStubComponent', 'selector': 'app-topbar'},{'name': 'TransactionDetailsComponent', 'selector': 'app-transaction-details'},{'name': 'TransactionsComponent', 'selector': 'app-transactions'}];
var DIRECTIVES = [{'name': 'MenuSelectionDirective', 'selector': '[appMenuSelection]'},{'name': 'MenuToggleDirective', 'selector': '[appMenuToggle]'},{'name': 'PasswordToggleDirective', 'selector': '[appPasswordToggle]'},{'name': 'RouterLinkDirectiveStub', 'selector': '[appRouterLink]'}]; var DIRECTIVES = [{'name': 'MenuSelectionDirective', 'selector': '[appMenuSelection]'},{'name': 'MenuToggleDirective', 'selector': '[appMenuToggle]'},{'name': 'PasswordToggleDirective', 'selector': '[appPasswordToggle]'},{'name': 'RouterLinkDirectiveStub', 'selector': '[appRouterLink]'}];
var ACTUAL_COMPONENT = {'name': 'FooterStubComponent'}; var ACTUAL_COMPONENT = {'name': 'FooterStubComponent'};
</script> </script>
@ -193,9 +197,9 @@ export class FooterStubComponent {}
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -35,7 +36,9 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Components</li> <li>Components</li>
<li>NetworkStatusComponent</li> <li
>
NetworkStatusComponent</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -66,6 +69,7 @@
<p class="comment"> <p class="comment">
<h3>Implements</h3> <h3>Implements</h3>
</p> </p>
@ -134,7 +138,7 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#noInternetConnection">noInternetConnection</a> <a href="#online" >online</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -149,10 +153,10 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#handleNetworkChange">handleNetworkChange</a> <a href="#handleNetworkChange" >handleNetworkChange</a>
</li> </li>
<li> <li>
<a href="#ngOnInit">ngOnInit</a> <a href="#ngOnInit" >ngOnInit</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -177,7 +181,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/shared/network-status/network-status.component.ts:10</a></div> <div class="io-line">Defined in <a href="" data-line="11" class="link-to-prism">src/app/shared/network-status/network-status.component.ts:11</a></div>
</td> </td>
</tr> </tr>
@ -230,9 +234,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="handleNetworkChange"></a> <a name="handleNetworkChange"></a>
<span class="name"> <span class="name">
<b> <span ><b>handleNetworkChange</b></span>
handleNetworkChange
</b>
<a href="#handleNetworkChange"><span class="icon ion-ios-link"></span></a> <a href="#handleNetworkChange"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -246,8 +248,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="18" <div class="io-line">Defined in <a href="" data-line="28"
class="link-to-prism">src/app/shared/network-status/network-status.component.ts:18</a></div> class="link-to-prism">src/app/shared/network-status/network-status.component.ts:28</a></div>
</td> </td>
</tr> </tr>
@ -269,9 +271,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="ngOnInit"></a> <a name="ngOnInit"></a>
<span class="name"> <span class="name">
<b> <span ><b>ngOnInit</b></span>
ngOnInit
</b>
<a href="#ngOnInit"><span class="icon ion-ios-link"></span></a> <a href="#ngOnInit"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -285,8 +285,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="16" <div class="io-line">Defined in <a href="" data-line="17"
class="link-to-prism">src/app/shared/network-status/network-status.component.ts:16</a></div> class="link-to-prism">src/app/shared/network-status/network-status.component.ts:17</a></div>
</td> </td>
</tr> </tr>
@ -312,11 +312,10 @@
<tbody> <tbody>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="noInternetConnection"></a> <a name="online"></a>
<span class="name"> <span class="name">
<b> <span ><b>online</b></span>
noInternetConnection</b> <a href="#online"><span class="icon ion-ios-link"></span></a>
<a href="#noInternetConnection"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
</tr> </tr>
@ -328,12 +327,12 @@
</tr> </tr>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<i>Default value : </i><code>!navigator.onLine</code> <i>Default value : </i><code>navigator.onLine</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/shared/network-status/network-status.component.ts:10</a></div> <div class="io-line">Defined in <a href="" data-line="11" class="link-to-prism">src/app/shared/network-status/network-status.component.ts:11</a></div>
</td> </td>
</tr> </tr>
@ -347,6 +346,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 { Component, OnInit, ChangeDetectionStrategy, ChangeDetectorRef } from &#x27;@angular/core&#x27;; <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { Component, OnInit, ChangeDetectionStrategy, ChangeDetectorRef } from &#x27;@angular/core&#x27;;
import { checkOnlineStatus } from &#x27;@src/app/_helpers&#x27;;
@Component({ @Component({
selector: &#x27;app-network-status&#x27;, selector: &#x27;app-network-status&#x27;,
@ -355,22 +355,31 @@
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
}) })
export class NetworkStatusComponent implements OnInit { export class NetworkStatusComponent implements OnInit {
noInternetConnection: boolean &#x3D; !navigator.onLine; online: boolean &#x3D; navigator.onLine;
constructor(private cdr: ChangeDetectorRef) { constructor(private cdr: ChangeDetectorRef) {
this.handleNetworkChange(); this.handleNetworkChange();
} }
ngOnInit(): void {} ngOnInit(): void {
window.addEventListener(&#x27;online&#x27;, (event: any) &#x3D;&gt; {
this.online &#x3D; true;
this.cdr.detectChanges();
});
window.addEventListener(&#x27;offline&#x27;, (event: any) &#x3D;&gt; {
this.online &#x3D; false;
this.cdr.detectChanges();
});
}
handleNetworkChange(): void { handleNetworkChange(): void {
setTimeout(() &#x3D;&gt; { setTimeout(async () &#x3D;&gt; {
if (!navigator.onLine !&#x3D;&#x3D; this.noInternetConnection) { if (this.online !&#x3D;&#x3D; (await checkOnlineStatus())) {
this.noInternetConnection &#x3D; !navigator.onLine; this.online &#x3D; await checkOnlineStatus();
this.cdr.detectChanges(); this.cdr.detectChanges();
} }
this.handleNetworkChange(); this.handleNetworkChange();
}, 5000); }, 3000);
} }
} }
</code></pre> </code></pre>
@ -379,7 +388,7 @@ export class NetworkStatusComponent implements OnInit {
<div class="tab-pane fade " id="c-templateData"> <div class="tab-pane fade " id="c-templateData">
<pre class="line-numbers"><code class="language-html">&lt;nav class&#x3D;&quot;navbar navbar-dark background-dark&quot;&gt; <pre class="line-numbers"><code class="language-html">&lt;nav class&#x3D;&quot;navbar navbar-dark background-dark&quot;&gt;
&lt;h1 class&#x3D;&quot;navbar-brand&quot;&gt; &lt;h1 class&#x3D;&quot;navbar-brand&quot;&gt;
&lt;div *ngIf&#x3D;&quot;noInternetConnection; then offlineBlock; else onlineBlock&quot;&gt;&lt;/div&gt; &lt;div *ngIf&#x3D;&quot;online; then onlineBlock; else offlineBlock&quot;&gt;&lt;/div&gt;
&lt;ng-template #offlineBlock&gt; &lt;ng-template #offlineBlock&gt;
&lt;strong style&#x3D;&quot;color: red&quot;&gt;OFFLINE &lt;/strong&gt; &lt;strong style&#x3D;&quot;color: red&quot;&gt;OFFLINE &lt;/strong&gt;
&lt;img width&#x3D;&quot;20rem&quot; src&#x3D;&quot;assets/images/no-wifi.svg&quot; alt&#x3D;&quot;Internet Disconnected&quot; /&gt; &lt;img width&#x3D;&quot;20rem&quot; src&#x3D;&quot;assets/images/no-wifi.svg&quot; alt&#x3D;&quot;Internet Disconnected&quot; /&gt;
@ -425,8 +434,8 @@ export class NetworkStatusComponent 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><nav class="navbar navbar-dark background-dark"> <h1 class="navbar-brand"> <div *ngIf="noInternetConnection; then offlineBlock; else onlineBlock"></div> <ng-template #offlineBlock> <strong style="color: red">OFFLINE </strong> <img width="20rem" src="assets/images/no-wifi.svg" alt="Internet Disconnected" /> </ng-template> <ng-template #onlineBlock> <strong style="color: lawngreen">ONLINE </strong> <img width="20rem" src="assets/images/wifi.svg" alt="Internet Connected" /> </ng-template> </h1></nav></div>' var COMPONENT_TEMPLATE = '<div><nav class="navbar navbar-dark background-dark"> <h1 class="navbar-brand"> <div *ngIf="online; then onlineBlock; else offlineBlock"></div> <ng-template #offlineBlock> <strong style="color: red">OFFLINE </strong> <img width="20rem" src="assets/images/no-wifi.svg" alt="Internet Disconnected" /> </ng-template> <ng-template #onlineBlock> <strong style="color: lawngreen">ONLINE </strong> <img width="20rem" src="assets/images/wifi.svg" alt="Internet Connected" /> </ng-template> </h1></nav></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': 'AccountHistoryComponent', 'selector': 'app-account-history'},{'name': 'AccountsComponent', 'selector': 'app-accounts'},{'name': 'AccountSearchComponent', 'selector': 'app-account-search'},{'name': 'AdminComponent', 'selector': 'app-admin'},{'name': 'AppComponent', 'selector': 'app-root'},{'name': 'AuthComponent', 'selector': 'app-auth'},{'name': 'CreateAccountComponent', 'selector': 'app-create-account'},{'name': 'ErrorDialogComponent', 'selector': 'app-error-dialog'},{'name': 'FooterComponent', 'selector': 'app-footer'},{'name': 'FooterStubComponent', 'selector': 'app-footer'},{'name': 'NetworkStatusComponent', 'selector': 'app-network-status'},{'name': 'OrganizationComponent', 'selector': 'app-organization'},{'name': 'PagesComponent', 'selector': 'app-pages'},{'name': 'SettingsComponent', 'selector': 'app-settings'},{'name': 'SidebarComponent', 'selector': 'app-sidebar'},{'name': 'SidebarStubComponent', 'selector': 'app-sidebar'},{'name': 'TokenDetailsComponent', 'selector': 'app-token-details'},{'name': 'TokensComponent', 'selector': 'app-tokens'},{'name': 'TopbarComponent', 'selector': 'app-topbar'},{'name': 'TopbarStubComponent', 'selector': 'app-topbar'},{'name': 'TransactionDetailsComponent', 'selector': 'app-transaction-details'},{'name': 'TransactionsComponent', 'selector': 'app-transactions'}];
var DIRECTIVES = [{'name': 'MenuSelectionDirective', 'selector': '[appMenuSelection]'},{'name': 'MenuToggleDirective', 'selector': '[appMenuToggle]'},{'name': 'PasswordToggleDirective', 'selector': '[appPasswordToggle]'},{'name': 'RouterLinkDirectiveStub', 'selector': '[appRouterLink]'}]; var DIRECTIVES = [{'name': 'MenuSelectionDirective', 'selector': '[appMenuSelection]'},{'name': 'MenuToggleDirective', 'selector': '[appMenuToggle]'},{'name': 'PasswordToggleDirective', 'selector': '[appPasswordToggle]'},{'name': 'RouterLinkDirectiveStub', 'selector': '[appRouterLink]'}];
var ACTUAL_COMPONENT = {'name': 'NetworkStatusComponent'}; var ACTUAL_COMPONENT = {'name': 'NetworkStatusComponent'};
</script> </script>
@ -469,9 +478,9 @@ export class NetworkStatusComponent implements OnInit {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -35,7 +36,9 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Components</li> <li>Components</li>
<li>OrganizationComponent</li> <li
>
OrganizationComponent</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -66,6 +69,7 @@
<p class="comment"> <p class="comment">
<h3>Implements</h3> <h3>Implements</h3>
</p> </p>
@ -134,13 +138,13 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#matcher">matcher</a> <a href="#matcher" >matcher</a>
</li> </li>
<li> <li>
<a href="#organizationForm">organizationForm</a> <a href="#organizationForm" >organizationForm</a>
</li> </li>
<li> <li>
<a href="#submitted">submitted</a> <a href="#submitted" >submitted</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -155,10 +159,10 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#ngOnInit">ngOnInit</a> <a href="#ngOnInit" >ngOnInit</a>
</li> </li>
<li> <li>
<a href="#onSubmit">onSubmit</a> <a href="#onSubmit" >onSubmit</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -177,7 +181,7 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#organizationFormStub">organizationFormStub</a> <a href="#organizationFormStub" >organizationFormStub</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -250,9 +254,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="ngOnInit"></a> <a name="ngOnInit"></a>
<span class="name"> <span class="name">
<b> <span ><b>ngOnInit</b></span>
ngOnInit
</b>
<a href="#ngOnInit"><span class="icon ion-ios-link"></span></a> <a href="#ngOnInit"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -289,9 +291,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="onSubmit"></a> <a name="onSubmit"></a>
<span class="name"> <span class="name">
<b> <span ><b>onSubmit</b></span>
onSubmit
</b>
<a href="#onSubmit"><span class="icon ion-ios-link"></span></a> <a href="#onSubmit"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -334,8 +334,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="matcher"></a> <a name="matcher"></a>
<span class="name"> <span class="name">
<b> <span ><b>matcher</b></span>
matcher</b>
<a href="#matcher"><span class="icon ion-ios-link"></span></a> <a href="#matcher"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -366,8 +365,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="organizationForm"></a> <a name="organizationForm"></a>
<span class="name"> <span class="name">
<b> <span ><b>organizationForm</b></span>
organizationForm</b>
<a href="#organizationForm"><span class="icon ion-ios-link"></span></a> <a href="#organizationForm"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -393,8 +391,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="submitted"></a> <a name="submitted"></a>
<span class="name"> <span class="name">
<b> <span ><b>submitted</b></span>
submitted</b>
<a href="#submitted"><span class="icon ion-ios-link"></span></a> <a href="#submitted"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -606,7 +603,7 @@ export class OrganizationComponent implements OnInit {
<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"><a routerLink="/settings">Settings</a></li> <li class="breadcrumb-item active" aria-current="page">Organization Settings</li> </ol> </nav> <div class="col-md-6 center-body"> <div class="card"> <mat-card-title class="card-header text-center"> DEFAULT ORGANISATION SETTINGS </mat-card-title> <div class="card-body"> <form [formGroup]="organizationForm" (ngSubmit)="onSubmit()"> <mat-form-field appearance="outline"> <mat-label>Default Disbursement *</mat-label> <input matInput type="text" id="amount" placeholder="Amount" formControlName="disbursement" [errorStateMatcher]="matcher" /> <span matSuffix>RCU</span> <mat-error *ngIf="submitted && organizationFormStub.disbursement.errors"> Default Disbursement is required. </mat-error> </mat-form-field> <div class="form-group form-check"> <mat-checkbox id="transferCard" formControlName="transfer" >Require Transfer Card *</mat-checkbox > </div> <mat-form-field appearance="outline"> <mat-label>Default Country Code *</mat-label> <mat-select id="countryCode" formControlName="countryCode" [errorStateMatcher]="matcher" > <mat-option value="KE">KE Kenya</mat-option> <mat-option value="US">US United States</mat-option> <mat-option value="ETH">ETH Ethiopia</mat-option> <mat-option value="GER">GER Germany</mat-option> <mat-option value="UG">UG Uganda</mat-option> </mat-select> <mat-error *ngIf="submitted && organizationFormStub.countryCode.errors"> Country Code is required. </mat-error> </mat-form-field ><br /> <button mat-raised-button color="primary" type="submit" class="btn btn-primary"> Submit </button> </form> </div> </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"><a routerLink="/settings">Settings</a></li> <li class="breadcrumb-item active" aria-current="page">Organization Settings</li> </ol> </nav> <div class="col-md-6 center-body"> <div class="card"> <mat-card-title class="card-header text-center"> DEFAULT ORGANISATION SETTINGS </mat-card-title> <div class="card-body"> <form [formGroup]="organizationForm" (ngSubmit)="onSubmit()"> <mat-form-field appearance="outline"> <mat-label>Default Disbursement *</mat-label> <input matInput type="text" id="amount" placeholder="Amount" formControlName="disbursement" [errorStateMatcher]="matcher" /> <span matSuffix>RCU</span> <mat-error *ngIf="submitted && organizationFormStub.disbursement.errors"> Default Disbursement is required. </mat-error> </mat-form-field> <div class="form-group form-check"> <mat-checkbox id="transferCard" formControlName="transfer" >Require Transfer Card *</mat-checkbox > </div> <mat-form-field appearance="outline"> <mat-label>Default Country Code *</mat-label> <mat-select id="countryCode" formControlName="countryCode" [errorStateMatcher]="matcher" > <mat-option value="KE">KE Kenya</mat-option> <mat-option value="US">US United States</mat-option> <mat-option value="ETH">ETH Ethiopia</mat-option> <mat-option value="GER">GER Germany</mat-option> <mat-option value="UG">UG Uganda</mat-option> </mat-select> <mat-error *ngIf="submitted && organizationFormStub.countryCode.errors"> Country Code is required. </mat-error> </mat-form-field ><br /> <button mat-raised-button color="primary" type="submit" class="btn btn-primary"> Submit </button> </form> </div> </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': 'AccountHistoryComponent', 'selector': 'app-account-history'},{'name': 'AccountsComponent', 'selector': 'app-accounts'},{'name': 'AccountSearchComponent', 'selector': 'app-account-search'},{'name': 'AdminComponent', 'selector': 'app-admin'},{'name': 'AppComponent', 'selector': 'app-root'},{'name': 'AuthComponent', 'selector': 'app-auth'},{'name': 'CreateAccountComponent', 'selector': 'app-create-account'},{'name': 'ErrorDialogComponent', 'selector': 'app-error-dialog'},{'name': 'FooterComponent', 'selector': 'app-footer'},{'name': 'FooterStubComponent', 'selector': 'app-footer'},{'name': 'NetworkStatusComponent', 'selector': 'app-network-status'},{'name': 'OrganizationComponent', 'selector': 'app-organization'},{'name': 'PagesComponent', 'selector': 'app-pages'},{'name': 'SettingsComponent', 'selector': 'app-settings'},{'name': 'SidebarComponent', 'selector': 'app-sidebar'},{'name': 'SidebarStubComponent', 'selector': 'app-sidebar'},{'name': 'TokenDetailsComponent', 'selector': 'app-token-details'},{'name': 'TokensComponent', 'selector': 'app-tokens'},{'name': 'TopbarComponent', 'selector': 'app-topbar'},{'name': 'TopbarStubComponent', 'selector': 'app-topbar'},{'name': 'TransactionDetailsComponent', 'selector': 'app-transaction-details'},{'name': 'TransactionsComponent', 'selector': 'app-transactions'}];
var DIRECTIVES = [{'name': 'MenuSelectionDirective', 'selector': '[appMenuSelection]'},{'name': 'MenuToggleDirective', 'selector': '[appMenuToggle]'},{'name': 'PasswordToggleDirective', 'selector': '[appPasswordToggle]'},{'name': 'RouterLinkDirectiveStub', 'selector': '[appRouterLink]'}]; var DIRECTIVES = [{'name': 'MenuSelectionDirective', 'selector': '[appMenuSelection]'},{'name': 'MenuToggleDirective', 'selector': '[appMenuToggle]'},{'name': 'PasswordToggleDirective', 'selector': '[appPasswordToggle]'},{'name': 'RouterLinkDirectiveStub', 'selector': '[appRouterLink]'}];
var ACTUAL_COMPONENT = {'name': 'OrganizationComponent'}; var ACTUAL_COMPONENT = {'name': 'OrganizationComponent'};
</script> </script>
@ -649,9 +646,9 @@ export class OrganizationComponent implements OnInit {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -35,7 +36,9 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Components</li> <li>Components</li>
<li>PagesComponent</li> <li
>
PagesComponent</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -68,6 +71,7 @@
<section> <section>
<h3>Metadata</h3> <h3>Metadata</h3>
<table class="table table-sm table-hover"> <table class="table table-sm table-hover">
@ -128,7 +132,7 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#url">url</a> <a href="#url" >url</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -178,8 +182,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="url"></a> <a name="url"></a>
<span class="name"> <span class="name">
<b> <span ><b>url</b></span>
url</b>
<a href="#url"><span class="icon ion-ios-link"></span></a> <a href="#url"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -302,7 +305,7 @@ export class PagesComponent {
<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 active" aria-current="page">Home</li> </ol> </nav> <div class="embed-responsive embed-responsive-16by9"> <iframe class="embed-responsive-item" [src]="url | safe" allow="fullscreen" loading="lazy" title="Community inclusion currencies dashboard" referrerpolicy="no-referrer" > <p> <a href="{{ url }}"> Your browser does not support iframes. </a> </p> </iframe> </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 active" aria-current="page">Home</li> </ol> </nav> <div class="embed-responsive embed-responsive-16by9"> <iframe class="embed-responsive-item" [src]="url | safe" allow="fullscreen" loading="lazy" title="Community inclusion currencies dashboard" referrerpolicy="no-referrer" > <p> <a href="{{ url }}"> Your browser does not support iframes. </a> </p> </iframe> </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': 'AccountHistoryComponent', 'selector': 'app-account-history'},{'name': 'AccountsComponent', 'selector': 'app-accounts'},{'name': 'AccountSearchComponent', 'selector': 'app-account-search'},{'name': 'AdminComponent', 'selector': 'app-admin'},{'name': 'AppComponent', 'selector': 'app-root'},{'name': 'AuthComponent', 'selector': 'app-auth'},{'name': 'CreateAccountComponent', 'selector': 'app-create-account'},{'name': 'ErrorDialogComponent', 'selector': 'app-error-dialog'},{'name': 'FooterComponent', 'selector': 'app-footer'},{'name': 'FooterStubComponent', 'selector': 'app-footer'},{'name': 'NetworkStatusComponent', 'selector': 'app-network-status'},{'name': 'OrganizationComponent', 'selector': 'app-organization'},{'name': 'PagesComponent', 'selector': 'app-pages'},{'name': 'SettingsComponent', 'selector': 'app-settings'},{'name': 'SidebarComponent', 'selector': 'app-sidebar'},{'name': 'SidebarStubComponent', 'selector': 'app-sidebar'},{'name': 'TokenDetailsComponent', 'selector': 'app-token-details'},{'name': 'TokensComponent', 'selector': 'app-tokens'},{'name': 'TopbarComponent', 'selector': 'app-topbar'},{'name': 'TopbarStubComponent', 'selector': 'app-topbar'},{'name': 'TransactionDetailsComponent', 'selector': 'app-transaction-details'},{'name': 'TransactionsComponent', 'selector': 'app-transactions'}];
var DIRECTIVES = [{'name': 'MenuSelectionDirective', 'selector': '[appMenuSelection]'},{'name': 'MenuToggleDirective', 'selector': '[appMenuToggle]'},{'name': 'PasswordToggleDirective', 'selector': '[appPasswordToggle]'},{'name': 'RouterLinkDirectiveStub', 'selector': '[appRouterLink]'}]; var DIRECTIVES = [{'name': 'MenuSelectionDirective', 'selector': '[appMenuSelection]'},{'name': 'MenuToggleDirective', 'selector': '[appMenuToggle]'},{'name': 'PasswordToggleDirective', 'selector': '[appPasswordToggle]'},{'name': 'RouterLinkDirectiveStub', 'selector': '[appRouterLink]'}];
var ACTUAL_COMPONENT = {'name': 'PagesComponent'}; var ACTUAL_COMPONENT = {'name': 'PagesComponent'};
</script> </script>
@ -345,9 +348,9 @@ export class PagesComponent {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -35,7 +36,9 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Components</li> <li>Components</li>
<li>SettingsComponent</li> <li
>
SettingsComponent</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -66,6 +69,7 @@
<p class="comment"> <p class="comment">
<h3>Implements</h3> <h3>Implements</h3>
</p> </p>
@ -134,25 +138,25 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#dataSource">dataSource</a> <a href="#dataSource" >dataSource</a>
</li> </li>
<li> <li>
<a href="#date">date</a> <a href="#displayedColumns" >displayedColumns</a>
</li> </li>
<li> <li>
<a href="#displayedColumns">displayedColumns</a> <a href="#loading" >loading</a>
</li> </li>
<li> <li>
<a href="#paginator">paginator</a> <a href="#paginator" >paginator</a>
</li> </li>
<li> <li>
<a href="#sort">sort</a> <a href="#sort" >sort</a>
</li> </li>
<li> <li>
<a href="#trustedUsers">trustedUsers</a> <a href="#trustedUsers" >trustedUsers</a>
</li> </li>
<li> <li>
<a href="#userInfo">userInfo</a> <a href="#userInfo" >userInfo</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -167,17 +171,16 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#doFilter">doFilter</a> <a href="#doFilter" >doFilter</a>
</li> </li>
<li> <li>
<a href="#downloadCsv">downloadCsv</a> <a href="#downloadCsv" >downloadCsv</a>
</li> </li>
<li> <li>
<a href="#logout">logout</a> <a href="#logout" >logout</a>
</li> </li>
<li> <li>
<span class="modifier">Async</span> <a href="#ngOnInit" >ngOnInit</a>
<a href="#ngOnInit">ngOnInit</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -197,7 +200,7 @@
<tbody> <tbody>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<code>constructor(authService: <a href="../injectables/AuthService.html">AuthService</a>)</code> <code>constructor(authService: <a href="../injectables/AuthService.html" target="_self">AuthService</a>)</code>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -255,9 +258,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="doFilter"></a> <a name="doFilter"></a>
<span class="name"> <span class="name">
<b> <span ><b>doFilter</b></span>
doFilter
</b>
<a href="#doFilter"><span class="icon ion-ios-link"></span></a> <a href="#doFilter"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -271,8 +272,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="38" <div class="io-line">Defined in <a href="" data-line="40"
class="link-to-prism">src/app/pages/settings/settings.component.ts:38</a></div> class="link-to-prism">src/app/pages/settings/settings.component.ts:40</a></div>
</td> </td>
</tr> </tr>
@ -325,9 +326,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="downloadCsv"></a> <a name="downloadCsv"></a>
<span class="name"> <span class="name">
<b> <span ><b>downloadCsv</b></span>
downloadCsv
</b>
<a href="#downloadCsv"><span class="icon ion-ios-link"></span></a> <a href="#downloadCsv"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -341,8 +340,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="42" <div class="io-line">Defined in <a href="" data-line="44"
class="link-to-prism">src/app/pages/settings/settings.component.ts:42</a></div> class="link-to-prism">src/app/pages/settings/settings.component.ts:44</a></div>
</td> </td>
</tr> </tr>
@ -364,9 +363,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="logout"></a> <a name="logout"></a>
<span class="name"> <span class="name">
<b> <span ><b>logout</b></span>
logout
</b>
<a href="#logout"><span class="icon ion-ios-link"></span></a> <a href="#logout"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -380,8 +377,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="48"
class="link-to-prism">src/app/pages/settings/settings.component.ts:46</a></div> class="link-to-prism">src/app/pages/settings/settings.component.ts:48</a></div>
</td> </td>
</tr> </tr>
@ -403,18 +400,14 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="ngOnInit"></a> <a name="ngOnInit"></a>
<span class="name"> <span class="name">
<b> <span ><b>ngOnInit</b></span>
<span class="modifier">Async</span>
ngOnInit
</b>
<a href="#ngOnInit"><span class="icon ion-ios-link"></span></a> <a href="#ngOnInit"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<span class="modifier-icon icon ion-ios-reset"></span> <code>ngOnInit()</code>
<code>ngOnInit()</code>
</td> </td>
</tr> </tr>
@ -431,7 +424,7 @@
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"> <div class="io-description">
<b>Returns : </b> <code>Promise&lt;void&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>
@ -450,8 +443,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="dataSource"></a> <a name="dataSource"></a>
<span class="name"> <span class="name">
<b> <span ><b>dataSource</b></span>
dataSource</b>
<a href="#dataSource"><span class="icon ion-ios-link"></span></a> <a href="#dataSource"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -460,33 +452,6 @@
<td class="col-md-4"> <td class="col-md-4">
<i>Type : </i> <code>MatTableDataSource&lt;any&gt;</code> <i>Type : </i> <code>MatTableDataSource&lt;any&gt;</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/pages/settings/settings.component.ts:17</a></div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="date"></a>
<span class="name">
<b>
date</b>
<a href="#date"><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> </td>
</tr> </tr>
<tr> <tr>
@ -504,8 +469,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="displayedColumns"></a> <a name="displayedColumns"></a>
<span class="name"> <span class="name">
<b> <span ><b>displayedColumns</b></span>
displayedColumns</b>
<a href="#displayedColumns"><span class="icon ion-ios-link"></span></a> <a href="#displayedColumns"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -523,7 +487,38 @@
</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/settings/settings.component.ts:18</a></div> <div class="io-line">Defined in <a href="" data-line="17" class="link-to-prism">src/app/pages/settings/settings.component.ts:17</a></div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="loading"></a>
<span class="name">
<span ><b>loading</b></span>
<a href="#loading"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>true</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="20" class="link-to-prism">src/app/pages/settings/settings.component.ts:20</a></div>
</td> </td>
</tr> </tr>
@ -536,8 +531,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="paginator"></a> <a name="paginator"></a>
<span class="name"> <span class="name">
<b> <span ><b>paginator</b></span>
paginator</b>
<a href="#paginator"><span class="icon ion-ios-link"></span></a> <a href="#paginator"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -572,8 +566,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="sort"></a> <a name="sort"></a>
<span class="name"> <span class="name">
<b> <span ><b>sort</b></span>
sort</b>
<a href="#sort"><span class="icon ion-ios-link"></span></a> <a href="#sort"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -608,8 +601,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="trustedUsers"></a> <a name="trustedUsers"></a>
<span class="name"> <span class="name">
<b> <span ><b>trustedUsers</b></span>
trustedUsers</b>
<a href="#trustedUsers"><span class="icon ion-ios-link"></span></a> <a href="#trustedUsers"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -622,7 +614,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/pages/settings/settings.component.ts:19</a></div> <div class="io-line">Defined in <a href="" data-line="18" class="link-to-prism">src/app/pages/settings/settings.component.ts:18</a></div>
</td> </td>
</tr> </tr>
@ -635,8 +627,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="userInfo"></a> <a name="userInfo"></a>
<span class="name"> <span class="name">
<b> <span ><b>userInfo</b></span>
userInfo</b>
<a href="#userInfo"><span class="icon ion-ios-link"></span></a> <a href="#userInfo"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -649,7 +640,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/settings/settings.component.ts:20</a></div> <div class="io-line">Defined in <a href="" data-line="19" class="link-to-prism">src/app/pages/settings/settings.component.ts:19</a></div>
</td> </td>
</tr> </tr>
@ -677,24 +668,26 @@ import { exportCsv } from &#x27;@app/_helpers&#x27;;
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
}) })
export class SettingsComponent implements OnInit { export class SettingsComponent implements OnInit {
date: string;
dataSource: MatTableDataSource&lt;any&gt;; dataSource: MatTableDataSource&lt;any&gt;;
displayedColumns: Array&lt;string&gt; &#x3D; [&#x27;name&#x27;, &#x27;email&#x27;, &#x27;userId&#x27;]; displayedColumns: Array&lt;string&gt; &#x3D; [&#x27;name&#x27;, &#x27;email&#x27;, &#x27;userId&#x27;];
trustedUsers: Array&lt;Staff&gt;; trustedUsers: Array&lt;Staff&gt;;
userInfo: Staff; userInfo: Staff;
loading: boolean &#x3D; true;
@ViewChild(MatPaginator) paginator: MatPaginator; @ViewChild(MatPaginator) paginator: MatPaginator;
@ViewChild(MatSort) sort: MatSort; @ViewChild(MatSort) sort: MatSort;
constructor(private authService: AuthService) {} constructor(private authService: AuthService) {}
async ngOnInit(): Promise&lt;void&gt; { ngOnInit(): void {
await this.authService.init();
this.authService.trustedUsersSubject.subscribe((users) &#x3D;&gt; { this.authService.trustedUsersSubject.subscribe((users) &#x3D;&gt; {
this.dataSource &#x3D; new MatTableDataSource&lt;any&gt;(users); this.dataSource &#x3D; new MatTableDataSource&lt;any&gt;(users);
this.dataSource.paginator &#x3D; this.paginator; this.dataSource.paginator &#x3D; this.paginator;
this.dataSource.sort &#x3D; this.sort; this.dataSource.sort &#x3D; this.sort;
this.trustedUsers &#x3D; users; this.trustedUsers &#x3D; users;
if (users.length &gt; 0) {
this.loading &#x3D; false;
}
}); });
this.userInfo &#x3D; this.authService.getPrivateKeyInfo(); this.userInfo &#x3D; this.authService.getPrivateKeyInfo();
} }
@ -757,6 +750,7 @@ export class SettingsComponent implements OnInit {
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class&#x3D;&quot;col-12 mb-2&quot;&gt; &lt;div class&#x3D;&quot;col-12 mb-2&quot;&gt;
&lt;div class&#x3D;&quot;card&quot;&gt; &lt;div class&#x3D;&quot;card&quot;&gt;
&lt;mat-card-title class&#x3D;&quot;card-header&quot;&gt; &lt;mat-card-title class&#x3D;&quot;card-header&quot;&gt;
@ -784,6 +778,12 @@ export class SettingsComponent implements OnInit {
/&gt; /&gt;
&lt;mat-icon matSuffix&gt;search&lt;/mat-icon&gt; &lt;mat-icon matSuffix&gt;search&lt;/mat-icon&gt;
&lt;/mat-form-field&gt; &lt;/mat-form-field&gt;
&lt;div *ngIf&#x3D;&quot;loading&quot;&gt;
&lt;h2 class&#x3D;&quot;text-center&quot;&gt;&lt;strong&gt;Loading Trusted Users!&lt;/strong&gt;&lt;/h2&gt;
&lt;mat-progress-bar [mode]&#x3D;&quot;&#x27;query&#x27;&quot;&gt;&lt;/mat-progress-bar&gt;
&lt;/div&gt;
&lt;mat-table &lt;mat-table
class&#x3D;&quot;mat-elevation-z10&quot; class&#x3D;&quot;mat-elevation-z10&quot;
[dataSource]&#x3D;&quot;dataSource&quot; [dataSource]&#x3D;&quot;dataSource&quot;
@ -862,8 +862,8 @@ export class SettingsComponent 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">Settings</li> </ol> </nav> <div class="row"> <div class="col-12 mb-2"> <div class="card"> <mat-card-title class="card-header text-center"> ACCOUNT MANAGEMENT </mat-card-title> <div class="card-body"> <h4>CICADA Admin Credentials</h4> <span><strong>UserId: </strong> {{ userInfo?.userid }} </span><br /> <span><strong>Username: </strong> {{ userInfo?.name }} </span><br /> <span><strong>Email: </strong> {{ userInfo?.email }} </span> </div> <hr /> <div class="card-body"> <button mat-raised-button color="primary" type="button" class="btn btn-outline-primary" (click)="logout()" > LOGOUT ADMIN </button> </div> </div> </div> <div class="col-12 mb-2"> <div class="card"> <mat-card-title class="card-header"> <div class="row"> TRUSTED USERS <button mat-raised-button color="primary" type="button" class="btn btn-outline-primary ml-auto mr-2" (click)="downloadCsv()" > EXPORT </button> </div> </mat-card-title> <div class="card-body"> <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="name" matSortDirection="asc" matSortDisableClear > <ng-container matColumnDef="name"> <mat-header-cell *matHeaderCellDef mat-sort-header> NAME </mat-header-cell> <mat-cell *matCellDef="let user"> {{ user.name }} </mat-cell> </ng-container> <ng-container matColumnDef="email"> <mat-header-cell *matHeaderCellDef mat-sort-header> EMAIL </mat-header-cell> <mat-cell *matCellDef="let user"> {{ user.email }} </mat-cell> </ng-container> <ng-container matColumnDef="userId"> <mat-header-cell *matHeaderCellDef mat-sort-header> USER ID </mat-header-cell> <mat-cell *matCellDef="let user"> {{ user.userid }} </mat-cell> </ng-container> <mat-header-row *matHeaderRowDef="displayedColumns"></mat-header-row> <mat-row *matRowDef="let user; columns: displayedColumns"></mat-row> </mat-table> <mat-paginator [pageSize]="5" [pageSizeOptions]="[5, 10, 20, 50, 100]" showFirstLastButtons ></mat-paginator> </div> </div> </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">Settings</li> </ol> </nav> <div class="row"> <div class="col-12 mb-2"> <div class="card"> <mat-card-title class="card-header text-center"> ACCOUNT MANAGEMENT </mat-card-title> <div class="card-body"> <h4>CICADA Admin Credentials</h4> <span><strong>UserId: </strong> {{ userInfo?.userid }} </span><br /> <span><strong>Username: </strong> {{ userInfo?.name }} </span><br /> <span><strong>Email: </strong> {{ userInfo?.email }} </span> </div> <hr /> <div class="card-body"> <button mat-raised-button color="primary" type="button" class="btn btn-outline-primary" (click)="logout()" > LOGOUT ADMIN </button> </div> </div> </div> <div class="col-12 mb-2"> <div class="card"> <mat-card-title class="card-header"> <div class="row"> TRUSTED USERS <button mat-raised-button color="primary" type="button" class="btn btn-outline-primary ml-auto mr-2" (click)="downloadCsv()" > EXPORT </button> </div> </mat-card-title> <div class="card-body"> <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> <div *ngIf="loading"> <h2 class="text-center"><strong>Loading Trusted Users!</strong></h2> <mat-progress-bar [mode]="\'query\'"></mat-progress-bar> </div> <mat-table class="mat-elevation-z10" [dataSource]="dataSource" matSort matSortActive="name" matSortDirection="asc" matSortDisableClear > <ng-container matColumnDef="name"> <mat-header-cell *matHeaderCellDef mat-sort-header> NAME </mat-header-cell> <mat-cell *matCellDef="let user"> {{ user.name }} </mat-cell> </ng-container> <ng-container matColumnDef="email"> <mat-header-cell *matHeaderCellDef mat-sort-header> EMAIL </mat-header-cell> <mat-cell *matCellDef="let user"> {{ user.email }} </mat-cell> </ng-container> <ng-container matColumnDef="userId"> <mat-header-cell *matHeaderCellDef mat-sort-header> USER ID </mat-header-cell> <mat-cell *matCellDef="let user"> {{ user.userid }} </mat-cell> </ng-container> <mat-header-row *matHeaderRowDef="displayedColumns"></mat-header-row> <mat-row *matRowDef="let user; columns: displayedColumns"></mat-row> </mat-table> <mat-paginator [pageSize]="5" [pageSizeOptions]="[5, 10, 20, 50, 100]" showFirstLastButtons ></mat-paginator> </div> </div> </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': 'AccountHistoryComponent', 'selector': 'app-account-history'},{'name': 'AccountsComponent', 'selector': 'app-accounts'},{'name': 'AccountSearchComponent', 'selector': 'app-account-search'},{'name': 'AdminComponent', 'selector': 'app-admin'},{'name': 'AppComponent', 'selector': 'app-root'},{'name': 'AuthComponent', 'selector': 'app-auth'},{'name': 'CreateAccountComponent', 'selector': 'app-create-account'},{'name': 'ErrorDialogComponent', 'selector': 'app-error-dialog'},{'name': 'FooterComponent', 'selector': 'app-footer'},{'name': 'FooterStubComponent', 'selector': 'app-footer'},{'name': 'NetworkStatusComponent', 'selector': 'app-network-status'},{'name': 'OrganizationComponent', 'selector': 'app-organization'},{'name': 'PagesComponent', 'selector': 'app-pages'},{'name': 'SettingsComponent', 'selector': 'app-settings'},{'name': 'SidebarComponent', 'selector': 'app-sidebar'},{'name': 'SidebarStubComponent', 'selector': 'app-sidebar'},{'name': 'TokenDetailsComponent', 'selector': 'app-token-details'},{'name': 'TokensComponent', 'selector': 'app-tokens'},{'name': 'TopbarComponent', 'selector': 'app-topbar'},{'name': 'TopbarStubComponent', 'selector': 'app-topbar'},{'name': 'TransactionDetailsComponent', 'selector': 'app-transaction-details'},{'name': 'TransactionsComponent', 'selector': 'app-transactions'}];
var DIRECTIVES = [{'name': 'MenuSelectionDirective', 'selector': '[appMenuSelection]'},{'name': 'MenuToggleDirective', 'selector': '[appMenuToggle]'},{'name': 'PasswordToggleDirective', 'selector': '[appPasswordToggle]'},{'name': 'RouterLinkDirectiveStub', 'selector': '[appRouterLink]'}]; var DIRECTIVES = [{'name': 'MenuSelectionDirective', 'selector': '[appMenuSelection]'},{'name': 'MenuToggleDirective', 'selector': '[appMenuToggle]'},{'name': 'PasswordToggleDirective', 'selector': '[appPasswordToggle]'},{'name': 'RouterLinkDirectiveStub', 'selector': '[appRouterLink]'}];
var ACTUAL_COMPONENT = {'name': 'SettingsComponent'}; var ACTUAL_COMPONENT = {'name': 'SettingsComponent'};
</script> </script>
@ -906,9 +906,9 @@ export class SettingsComponent implements OnInit {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -35,7 +36,9 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Components</li> <li>Components</li>
<li>SidebarComponent</li> <li
>
SidebarComponent</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -66,6 +69,7 @@
<p class="comment"> <p class="comment">
<h3>Implements</h3> <h3>Implements</h3>
</p> </p>
@ -135,7 +139,7 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#ngOnInit">ngOnInit</a> <a href="#ngOnInit" >ngOnInit</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -183,9 +187,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="ngOnInit"></a> <a name="ngOnInit"></a>
<span class="name"> <span class="name">
<b> <span ><b>ngOnInit</b></span>
ngOnInit
</b>
<a href="#ngOnInit"><span class="icon ion-ios-link"></span></a> <a href="#ngOnInit"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -327,7 +329,7 @@ export class SidebarComponent implements OnInit {
<script src="../js/libs/deep-iterator.js"></script> <script src="../js/libs/deep-iterator.js"></script>
<script> <script>
var COMPONENT_TEMPLATE = '<div><!-- ========== Left Sidebar Start ========== --><div id="sidebar"> <app-network-status></app-network-status> <nav> <div class="sidebar-header"> <h3> <img class="full-width" src="assets/images/CIC-Logo-white.png" alt="CIC Admin Dashboard" /> </h3> <strong>CICADA</strong> </div> <ul class="list-unstyled components"> <li> <a routerLink="/home" routerLinkActive="active" appMenuSelection> <i class="fa fa-home"></i> <span> Dashboard </span> </a> </li> <li> <a routerLink="/accounts" routerLinkActive="active" appMenuSelection> <i class="fa fa-users"></i> <span> Accounts </span> </a> </li> <li> <a routerLink="/tx" routerLinkActive="active" appMenuSelection> <i class="fa fa-exchange"></i> <span> Transactions </span> </a> </li> <li> <a routerLink="/tokens" routerLinkActive="active" appMenuSelection> <i class="fa fa-money"></i> <span> Tokens </span> </a> </li> <li> <a routerLink="/settings" routerLinkActive="active" appMenuSelection> <i class="fa fa-cog"></i> <span> Settings </span> </a> </li> <!-- <li>--> <!-- <a routerLink="/admin" routerLinkActive="active" appMenuSelection>--> <!-- <i class="fa fa-user-secret"></i>--> <!-- <span> Admin </span>--> <!-- </a>--> <!-- </li>--> </ul> </nav></div><!-- Left Sidebar End --></div>' var COMPONENT_TEMPLATE = '<div><!-- ========== Left Sidebar Start ========== --><div id="sidebar"> <app-network-status></app-network-status> <nav> <div class="sidebar-header"> <h3> <img class="full-width" src="assets/images/CIC-Logo-white.png" alt="CIC Admin Dashboard" /> </h3> <strong>CICADA</strong> </div> <ul class="list-unstyled components"> <li> <a routerLink="/home" routerLinkActive="active" appMenuSelection> <i class="fa fa-home"></i> <span> Dashboard </span> </a> </li> <li> <a routerLink="/accounts" routerLinkActive="active" appMenuSelection> <i class="fa fa-users"></i> <span> Accounts </span> </a> </li> <li> <a routerLink="/tx" routerLinkActive="active" appMenuSelection> <i class="fa fa-exchange"></i> <span> Transactions </span> </a> </li> <li> <a routerLink="/tokens" routerLinkActive="active" appMenuSelection> <i class="fa fa-money"></i> <span> Tokens </span> </a> </li> <li> <a routerLink="/settings" routerLinkActive="active" appMenuSelection> <i class="fa fa-cog"></i> <span> Settings </span> </a> </li> <!-- <li>--> <!-- <a routerLink="/admin" routerLinkActive="active" appMenuSelection>--> <!-- <i class="fa fa-user-secret"></i>--> <!-- <span> Admin </span>--> <!-- </a>--> <!-- </li>--> </ul> </nav></div><!-- Left Sidebar End --></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': 'AccountHistoryComponent', 'selector': 'app-account-history'},{'name': 'AccountsComponent', 'selector': 'app-accounts'},{'name': 'AccountSearchComponent', 'selector': 'app-account-search'},{'name': 'AdminComponent', 'selector': 'app-admin'},{'name': 'AppComponent', 'selector': 'app-root'},{'name': 'AuthComponent', 'selector': 'app-auth'},{'name': 'CreateAccountComponent', 'selector': 'app-create-account'},{'name': 'ErrorDialogComponent', 'selector': 'app-error-dialog'},{'name': 'FooterComponent', 'selector': 'app-footer'},{'name': 'FooterStubComponent', 'selector': 'app-footer'},{'name': 'NetworkStatusComponent', 'selector': 'app-network-status'},{'name': 'OrganizationComponent', 'selector': 'app-organization'},{'name': 'PagesComponent', 'selector': 'app-pages'},{'name': 'SettingsComponent', 'selector': 'app-settings'},{'name': 'SidebarComponent', 'selector': 'app-sidebar'},{'name': 'SidebarStubComponent', 'selector': 'app-sidebar'},{'name': 'TokenDetailsComponent', 'selector': 'app-token-details'},{'name': 'TokensComponent', 'selector': 'app-tokens'},{'name': 'TopbarComponent', 'selector': 'app-topbar'},{'name': 'TopbarStubComponent', 'selector': 'app-topbar'},{'name': 'TransactionDetailsComponent', 'selector': 'app-transaction-details'},{'name': 'TransactionsComponent', 'selector': 'app-transactions'}];
var DIRECTIVES = [{'name': 'MenuSelectionDirective', 'selector': '[appMenuSelection]'},{'name': 'MenuToggleDirective', 'selector': '[appMenuToggle]'},{'name': 'PasswordToggleDirective', 'selector': '[appPasswordToggle]'},{'name': 'RouterLinkDirectiveStub', 'selector': '[appRouterLink]'}]; var DIRECTIVES = [{'name': 'MenuSelectionDirective', 'selector': '[appMenuSelection]'},{'name': 'MenuToggleDirective', 'selector': '[appMenuToggle]'},{'name': 'PasswordToggleDirective', 'selector': '[appPasswordToggle]'},{'name': 'RouterLinkDirectiveStub', 'selector': '[appRouterLink]'}];
var ACTUAL_COMPONENT = {'name': 'SidebarComponent'}; var ACTUAL_COMPONENT = {'name': 'SidebarComponent'};
</script> </script>
@ -370,9 +372,9 @@ export class SidebarComponent implements OnInit {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -35,7 +36,9 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Components</li> <li>Components</li>
<li>SidebarStubComponent</li> <li
>
SidebarStubComponent</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -62,6 +65,7 @@
<section> <section>
<h3>Metadata</h3> <h3>Metadata</h3>
<table class="table table-sm table-hover"> <table class="table table-sm table-hover">
@ -150,7 +154,7 @@ export class FooterStubComponent {}
<script src="../js/libs/deep-iterator.js"></script> <script src="../js/libs/deep-iterator.js"></script>
<script> <script>
var COMPONENT_TEMPLATE = '<div></div>' var COMPONENT_TEMPLATE = '<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': 'AccountHistoryComponent', 'selector': 'app-account-history'},{'name': 'AccountsComponent', 'selector': 'app-accounts'},{'name': 'AccountSearchComponent', 'selector': 'app-account-search'},{'name': 'AdminComponent', 'selector': 'app-admin'},{'name': 'AppComponent', 'selector': 'app-root'},{'name': 'AuthComponent', 'selector': 'app-auth'},{'name': 'CreateAccountComponent', 'selector': 'app-create-account'},{'name': 'ErrorDialogComponent', 'selector': 'app-error-dialog'},{'name': 'FooterComponent', 'selector': 'app-footer'},{'name': 'FooterStubComponent', 'selector': 'app-footer'},{'name': 'NetworkStatusComponent', 'selector': 'app-network-status'},{'name': 'OrganizationComponent', 'selector': 'app-organization'},{'name': 'PagesComponent', 'selector': 'app-pages'},{'name': 'SettingsComponent', 'selector': 'app-settings'},{'name': 'SidebarComponent', 'selector': 'app-sidebar'},{'name': 'SidebarStubComponent', 'selector': 'app-sidebar'},{'name': 'TokenDetailsComponent', 'selector': 'app-token-details'},{'name': 'TokensComponent', 'selector': 'app-tokens'},{'name': 'TopbarComponent', 'selector': 'app-topbar'},{'name': 'TopbarStubComponent', 'selector': 'app-topbar'},{'name': 'TransactionDetailsComponent', 'selector': 'app-transaction-details'},{'name': 'TransactionsComponent', 'selector': 'app-transactions'}];
var DIRECTIVES = [{'name': 'MenuSelectionDirective', 'selector': '[appMenuSelection]'},{'name': 'MenuToggleDirective', 'selector': '[appMenuToggle]'},{'name': 'PasswordToggleDirective', 'selector': '[appPasswordToggle]'},{'name': 'RouterLinkDirectiveStub', 'selector': '[appRouterLink]'}]; var DIRECTIVES = [{'name': 'MenuSelectionDirective', 'selector': '[appMenuSelection]'},{'name': 'MenuToggleDirective', 'selector': '[appMenuToggle]'},{'name': 'PasswordToggleDirective', 'selector': '[appPasswordToggle]'},{'name': 'RouterLinkDirectiveStub', 'selector': '[appRouterLink]'}];
var ACTUAL_COMPONENT = {'name': 'SidebarStubComponent'}; var ACTUAL_COMPONENT = {'name': 'SidebarStubComponent'};
</script> </script>
@ -193,9 +197,9 @@ export class FooterStubComponent {}
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -35,7 +36,9 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Components</li> <li>Components</li>
<li>TokenDetailsComponent</li> <li
>
TokenDetailsComponent</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -66,6 +69,7 @@
<p class="comment"> <p class="comment">
<h3>Implements</h3> <h3>Implements</h3>
</p> </p>
@ -135,10 +139,10 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#close">close</a> <a href="#close" >close</a>
</li> </li>
<li> <li>
<a href="#ngOnInit">ngOnInit</a> <a href="#ngOnInit" >ngOnInit</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -153,7 +157,7 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#token">token</a> <a href="#token" >token</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -168,7 +172,7 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#closeWindow">closeWindow</a> <a href="#closeWindow" >closeWindow</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -260,9 +264,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="close"></a> <a name="close"></a>
<span class="name"> <span class="name">
<b> <span ><b>close</b></span>
close
</b>
<a href="#close"><span class="icon ion-ios-link"></span></a> <a href="#close"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -299,9 +301,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="ngOnInit"></a> <a name="ngOnInit"></a>
<span class="name"> <span class="name">
<b> <span ><b>ngOnInit</b></span>
ngOnInit
</b>
<a href="#ngOnInit"><span class="icon ion-ios-link"></span></a> <a href="#ngOnInit"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -455,7 +455,7 @@ export class TokenDetailsComponent implements OnInit {
<script src="../js/libs/deep-iterator.js"></script> <script src="../js/libs/deep-iterator.js"></script>
<script> <script>
var COMPONENT_TEMPLATE = '<div><div *ngIf="token" class="mb-3 mt-1"> <div class="card text-center"> <mat-card-title class="card-header"> <div class="row"> TOKEN DETAILS <button mat-raised-button type="button" class="btn btn-outline-secondary ml-auto mr-2" (click)="close()" > CLOSE </button> </div> </mat-card-title> <div class="card-body"> <div> <span><strong>Name:</strong> {{ token?.name }}</span> </div> <div> <span><strong>Symbol:</strong> {{ token?.symbol }}</span> </div> <div> <span><strong>Address:</strong> {{ token?.address }}</span> </div> <div> <span ><strong>Details:</strong> A community inclusive currency for trading among lower to middle income societies.</span > </div> <div> <span><strong>Supply:</strong> {{ token?.supply | tokenRatio }}</span> </div> <br /> <div> <h2>Reserve</h2> <div> <span><strong>Weight:</strong> {{ token?.reserveRatio }}</span> </div> <div> <span><strong>Owner:</strong> {{ token?.owner }}</span> </div> </div> </div> </div></div></div>' var COMPONENT_TEMPLATE = '<div><div *ngIf="token" class="mb-3 mt-1"> <div class="card text-center"> <mat-card-title class="card-header"> <div class="row"> TOKEN DETAILS <button mat-raised-button type="button" class="btn btn-outline-secondary ml-auto mr-2" (click)="close()" > CLOSE </button> </div> </mat-card-title> <div class="card-body"> <div> <span><strong>Name:</strong> {{ token?.name }}</span> </div> <div> <span><strong>Symbol:</strong> {{ token?.symbol }}</span> </div> <div> <span><strong>Address:</strong> {{ token?.address }}</span> </div> <div> <span ><strong>Details:</strong> A community inclusive currency for trading among lower to middle income societies.</span > </div> <div> <span><strong>Supply:</strong> {{ token?.supply | tokenRatio }}</span> </div> <br /> <div> <h2>Reserve</h2> <div> <span><strong>Weight:</strong> {{ token?.reserveRatio }}</span> </div> <div> <span><strong>Owner:</strong> {{ token?.owner }}</span> </div> </div> </div> </div></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': 'AccountHistoryComponent', 'selector': 'app-account-history'},{'name': 'AccountsComponent', 'selector': 'app-accounts'},{'name': 'AccountSearchComponent', 'selector': 'app-account-search'},{'name': 'AdminComponent', 'selector': 'app-admin'},{'name': 'AppComponent', 'selector': 'app-root'},{'name': 'AuthComponent', 'selector': 'app-auth'},{'name': 'CreateAccountComponent', 'selector': 'app-create-account'},{'name': 'ErrorDialogComponent', 'selector': 'app-error-dialog'},{'name': 'FooterComponent', 'selector': 'app-footer'},{'name': 'FooterStubComponent', 'selector': 'app-footer'},{'name': 'NetworkStatusComponent', 'selector': 'app-network-status'},{'name': 'OrganizationComponent', 'selector': 'app-organization'},{'name': 'PagesComponent', 'selector': 'app-pages'},{'name': 'SettingsComponent', 'selector': 'app-settings'},{'name': 'SidebarComponent', 'selector': 'app-sidebar'},{'name': 'SidebarStubComponent', 'selector': 'app-sidebar'},{'name': 'TokenDetailsComponent', 'selector': 'app-token-details'},{'name': 'TokensComponent', 'selector': 'app-tokens'},{'name': 'TopbarComponent', 'selector': 'app-topbar'},{'name': 'TopbarStubComponent', 'selector': 'app-topbar'},{'name': 'TransactionDetailsComponent', 'selector': 'app-transaction-details'},{'name': 'TransactionsComponent', 'selector': 'app-transactions'}];
var DIRECTIVES = [{'name': 'MenuSelectionDirective', 'selector': '[appMenuSelection]'},{'name': 'MenuToggleDirective', 'selector': '[appMenuToggle]'},{'name': 'PasswordToggleDirective', 'selector': '[appPasswordToggle]'},{'name': 'RouterLinkDirectiveStub', 'selector': '[appRouterLink]'}]; var DIRECTIVES = [{'name': 'MenuSelectionDirective', 'selector': '[appMenuSelection]'},{'name': 'MenuToggleDirective', 'selector': '[appMenuToggle]'},{'name': 'PasswordToggleDirective', 'selector': '[appPasswordToggle]'},{'name': 'RouterLinkDirectiveStub', 'selector': '[appRouterLink]'}];
var ACTUAL_COMPONENT = {'name': 'TokenDetailsComponent'}; var ACTUAL_COMPONENT = {'name': 'TokenDetailsComponent'};
</script> </script>
@ -498,9 +498,9 @@ export class TokenDetailsComponent implements OnInit {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -35,7 +36,9 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Components</li> <li>Components</li>
<li>TokensComponent</li> <li
>
TokensComponent</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -66,11 +69,13 @@
<p class="comment"> <p class="comment">
<h3>Implements</h3> <h3>Implements</h3>
</p> </p>
<p class="comment"> <p class="comment">
<code><a href="https://angular.io/api/core/OnInit" target="_blank" >OnInit</a></code> <code><a href="https://angular.io/api/core/OnInit" target="_blank" >OnInit</a></code>
<code><a href="https://angular.io/api/core/AfterViewInit" target="_blank" >AfterViewInit</a></code>
</p> </p>
@ -134,22 +139,25 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#columnsToDisplay">columnsToDisplay</a> <a href="#columnsToDisplay" >columnsToDisplay</a>
</li> </li>
<li> <li>
<a href="#dataSource">dataSource</a> <a href="#dataSource" >dataSource</a>
</li> </li>
<li> <li>
<a href="#paginator">paginator</a> <a href="#loading" >loading</a>
</li> </li>
<li> <li>
<a href="#sort">sort</a> <a href="#paginator" >paginator</a>
</li> </li>
<li> <li>
<a href="#token">token</a> <a href="#sort" >sort</a>
</li> </li>
<li> <li>
<a href="#tokens">tokens</a> <a href="#token" >token</a>
</li>
<li>
<a href="#tokens" >tokens</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -164,17 +172,19 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#doFilter">doFilter</a> <a href="#doFilter" >doFilter</a>
</li> </li>
<li> <li>
<a href="#downloadCsv">downloadCsv</a> <a href="#downloadCsv" >downloadCsv</a>
</li> </li>
<li> <li>
<span class="modifier">Async</span> <a href="#ngAfterViewInit" >ngAfterViewInit</a>
<a href="#ngOnInit">ngOnInit</a>
</li> </li>
<li> <li>
<a href="#viewToken">viewToken</a> <a href="#ngOnInit" >ngOnInit</a>
</li>
<li>
<a href="#viewToken" >viewToken</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -194,12 +204,12 @@
<tbody> <tbody>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<code>constructor(tokenService: <a href="../injectables/TokenService.html">TokenService</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(tokenService: <a href="../injectables/TokenService.html" target="_self">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="22" class="link-to-prism">src/app/pages/tokens/tokens.component.ts:22</a></div> <div class="io-line">Defined in <a href="" data-line="28" class="link-to-prism">src/app/pages/tokens/tokens.component.ts:28</a></div>
</td> </td>
</tr> </tr>
@ -228,30 +238,6 @@
</td> </td>
</tr> </tr>
<tr>
<td>loggingService</td>
<td>
<code><a href="../injectables/LoggingService.html" target="_self" >LoggingService</a></code>
</td>
<td>
No
</td>
</tr>
<tr>
<td>router</td>
<td>
<code><a href="https://angular.io/api/router/Router" target="_blank" >Router</a></code>
</td>
<td>
No
</td>
</tr>
</tbody> </tbody>
</table> </table>
</div> </div>
@ -276,9 +262,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="doFilter"></a> <a name="doFilter"></a>
<span class="name"> <span class="name">
<b> <span ><b>doFilter</b></span>
doFilter
</b>
<a href="#doFilter"><span class="icon ion-ios-link"></span></a> <a href="#doFilter"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -292,8 +276,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="56"
class="link-to-prism">src/app/pages/tokens/tokens.component.ts:46</a></div> class="link-to-prism">src/app/pages/tokens/tokens.component.ts:56</a></div>
</td> </td>
</tr> </tr>
@ -346,9 +330,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="downloadCsv"></a> <a name="downloadCsv"></a>
<span class="name"> <span class="name">
<b> <span ><b>downloadCsv</b></span>
downloadCsv
</b>
<a href="#downloadCsv"><span class="icon ion-ios-link"></span></a> <a href="#downloadCsv"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -362,8 +344,45 @@
<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="64"
class="link-to-prism">src/app/pages/tokens/tokens.component.ts:54</a></div> class="link-to-prism">src/app/pages/tokens/tokens.component.ts:64</a></div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-description">
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
</div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="ngAfterViewInit"></a>
<span class="name">
<span ><b>ngAfterViewInit</b></span>
<a href="#ngAfterViewInit"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<code>ngAfterViewInit()</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="49"
class="link-to-prism">src/app/pages/tokens/tokens.component.ts:49</a></div>
</td> </td>
</tr> </tr>
@ -385,26 +404,22 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="ngOnInit"></a> <a name="ngOnInit"></a>
<span class="name"> <span class="name">
<b> <span ><b>ngOnInit</b></span>
<span class="modifier">Async</span>
ngOnInit
</b>
<a href="#ngOnInit"><span class="icon ion-ios-link"></span></a> <a href="#ngOnInit"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<span class="modifier-icon icon ion-ios-reset"></span> <code>ngOnInit()</code>
<code>ngOnInit()</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="30" <div class="io-line">Defined in <a href="" data-line="32"
class="link-to-prism">src/app/pages/tokens/tokens.component.ts:30</a></div> class="link-to-prism">src/app/pages/tokens/tokens.component.ts:32</a></div>
</td> </td>
</tr> </tr>
@ -413,7 +428,7 @@
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"> <div class="io-description">
<b>Returns : </b> <code>Promise&lt;void&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>
@ -426,9 +441,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="viewToken"></a> <a name="viewToken"></a>
<span class="name"> <span class="name">
<b> <span ><b>viewToken</b></span>
viewToken
</b>
<a href="#viewToken"><span class="icon ion-ios-link"></span></a> <a href="#viewToken"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -442,8 +455,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="50" <div class="io-line">Defined in <a href="" data-line="60"
class="link-to-prism">src/app/pages/tokens/tokens.component.ts:50</a></div> class="link-to-prism">src/app/pages/tokens/tokens.component.ts:60</a></div>
</td> </td>
</tr> </tr>
@ -498,8 +511,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="columnsToDisplay"></a> <a name="columnsToDisplay"></a>
<span class="name"> <span class="name">
<b> <span ><b>columnsToDisplay</b></span>
columnsToDisplay</b>
<a href="#columnsToDisplay"><span class="icon ion-ios-link"></span></a> <a href="#columnsToDisplay"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -517,7 +529,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="18" class="link-to-prism">src/app/pages/tokens/tokens.component.ts:18</a></div> <div class="io-line">Defined in <a href="" data-line="23" class="link-to-prism">src/app/pages/tokens/tokens.component.ts:23</a></div>
</td> </td>
</tr> </tr>
@ -530,8 +542,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="dataSource"></a> <a name="dataSource"></a>
<span class="name"> <span class="name">
<b> <span ><b>dataSource</b></span>
dataSource</b>
<a href="#dataSource"><span class="icon ion-ios-link"></span></a> <a href="#dataSource"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -544,7 +555,38 @@
</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/tokens/tokens.component.ts:17</a></div> <div class="io-line">Defined in <a href="" data-line="22" class="link-to-prism">src/app/pages/tokens/tokens.component.ts:22</a></div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="loading"></a>
<span class="name">
<span ><b>loading</b></span>
<a href="#loading"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>true</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="28" class="link-to-prism">src/app/pages/tokens/tokens.component.ts:28</a></div>
</td> </td>
</tr> </tr>
@ -557,8 +599,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="paginator"></a> <a name="paginator"></a>
<span class="name"> <span class="name">
<b> <span ><b>paginator</b></span>
paginator</b>
<a href="#paginator"><span class="icon ion-ios-link"></span></a> <a href="#paginator"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -580,7 +621,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/pages/tokens/tokens.component.ts:19</a></div> <div class="io-line">Defined in <a href="" data-line="24" class="link-to-prism">src/app/pages/tokens/tokens.component.ts:24</a></div>
</td> </td>
</tr> </tr>
@ -593,8 +634,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="sort"></a> <a name="sort"></a>
<span class="name"> <span class="name">
<b> <span ><b>sort</b></span>
sort</b>
<a href="#sort"><span class="icon ion-ios-link"></span></a> <a href="#sort"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -616,7 +656,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/tokens/tokens.component.ts:20</a></div> <div class="io-line">Defined in <a href="" data-line="25" class="link-to-prism">src/app/pages/tokens/tokens.component.ts:25</a></div>
</td> </td>
</tr> </tr>
@ -629,8 +669,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="token"></a> <a name="token"></a>
<span class="name"> <span class="name">
<b> <span ><b>token</b></span>
token</b>
<a href="#token"><span class="icon ion-ios-link"></span></a> <a href="#token"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -643,7 +682,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="22" class="link-to-prism">src/app/pages/tokens/tokens.component.ts:22</a></div> <div class="io-line">Defined in <a href="" data-line="27" class="link-to-prism">src/app/pages/tokens/tokens.component.ts:27</a></div>
</td> </td>
</tr> </tr>
@ -656,8 +695,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="tokens"></a> <a name="tokens"></a>
<span class="name"> <span class="name">
<b> <span ><b>tokens</b></span>
tokens</b>
<a href="#tokens"><span class="icon ion-ios-link"></span></a> <a href="#tokens"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -670,7 +708,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/tokens/tokens.component.ts:21</a></div> <div class="io-line">Defined in <a href="" data-line="26" class="link-to-prism">src/app/pages/tokens/tokens.component.ts:26</a></div>
</td> </td>
</tr> </tr>
@ -683,12 +721,17 @@
<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, OnInit, ViewChild } from &#x27;@angular/core&#x27;; <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
AfterViewInit,
ChangeDetectionStrategy,
Component,
OnInit,
ViewChild,
} from &#x27;@angular/core&#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, TokenService } from &#x27;@app/_services&#x27;; import { TokenService } from &#x27;@app/_services&#x27;;
import { MatTableDataSource } from &#x27;@angular/material/table&#x27;; import { MatTableDataSource } from &#x27;@angular/material/table&#x27;;
import { Router } from &#x27;@angular/router&#x27;;
import { exportCsv } from &#x27;@app/_helpers&#x27;; import { exportCsv } from &#x27;@app/_helpers&#x27;;
import { Token } from &#x27;@app/_models&#x27;; import { Token } from &#x27;@app/_models&#x27;;
@ -698,36 +741,41 @@ import { Token } from &#x27;@app/_models&#x27;;
styleUrls: [&#x27;./tokens.component.scss&#x27;], styleUrls: [&#x27;./tokens.component.scss&#x27;],
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
}) })
export class TokensComponent implements OnInit { export class TokensComponent implements OnInit, AfterViewInit {
dataSource: MatTableDataSource&lt;any&gt;; dataSource: MatTableDataSource&lt;any&gt;;
columnsToDisplay: Array&lt;string&gt; &#x3D; [&#x27;name&#x27;, &#x27;symbol&#x27;, &#x27;address&#x27;, &#x27;supply&#x27;]; columnsToDisplay: Array&lt;string&gt; &#x3D; [&#x27;name&#x27;, &#x27;symbol&#x27;, &#x27;address&#x27;, &#x27;supply&#x27;];
@ViewChild(MatPaginator) paginator: MatPaginator; @ViewChild(MatPaginator) paginator: MatPaginator;
@ViewChild(MatSort) sort: MatSort; @ViewChild(MatSort) sort: MatSort;
tokens: Array&lt;Token&gt;; tokens: Array&lt;Token&gt;;
token: Token; token: Token;
loading: boolean &#x3D; true;
constructor( constructor(private tokenService: TokenService) {}
private tokenService: TokenService,
private loggingService: LoggingService,
private router: Router
) {}
async ngOnInit(): Promise&lt;void&gt; { ngOnInit(): void {
await this.tokenService.init();
this.tokenService.load.subscribe(async (status: boolean) &#x3D;&gt; { this.tokenService.load.subscribe(async (status: boolean) &#x3D;&gt; {
if (status) { if (status) {
await this.tokenService.getTokens(); await this.tokenService.getTokens();
} }
}); });
this.tokenService.tokensSubject.subscribe((tokens) &#x3D;&gt; { this.tokenService.tokensSubject.subscribe((tokens) &#x3D;&gt; {
this.loggingService.sendInfoLevelMessage(tokens);
this.dataSource &#x3D; new MatTableDataSource(tokens); this.dataSource &#x3D; new MatTableDataSource(tokens);
this.dataSource.paginator &#x3D; this.paginator; this.dataSource.paginator &#x3D; this.paginator;
this.dataSource.sort &#x3D; this.sort; this.dataSource.sort &#x3D; this.sort;
this.tokens &#x3D; tokens; this.tokens &#x3D; tokens;
if (tokens.length &gt; 0) {
this.loading &#x3D; false;
}
}); });
} }
ngAfterViewInit(): void {
if (this.dataSource) {
this.dataSource.paginator &#x3D; this.paginator;
this.dataSource.sort &#x3D; this.sort;
}
}
doFilter(value: string): void { doFilter(value: string): void {
this.dataSource.filter &#x3D; value.trim().toLocaleLowerCase(); this.dataSource.filter &#x3D; value.trim().toLocaleLowerCase();
} }
@ -791,6 +839,11 @@ export class TokensComponent implements OnInit {
&lt;mat-icon matSuffix&gt;search&lt;/mat-icon&gt; &lt;mat-icon matSuffix&gt;search&lt;/mat-icon&gt;
&lt;/mat-form-field&gt; &lt;/mat-form-field&gt;
&lt;div *ngIf&#x3D;&quot;loading&quot;&gt;
&lt;h2 class&#x3D;&quot;text-center&quot;&gt;&lt;strong&gt;Loading Tokens!&lt;/strong&gt;&lt;/h2&gt;
&lt;mat-progress-bar [mode]&#x3D;&quot;&#x27;query&#x27;&quot;&gt;&lt;/mat-progress-bar&gt;
&lt;/div&gt;
&lt;mat-table &lt;mat-table
class&#x3D;&quot;mat-elevation-z10 table-responsive&quot; class&#x3D;&quot;mat-elevation-z10 table-responsive&quot;
[dataSource]&#x3D;&quot;dataSource&quot; [dataSource]&#x3D;&quot;dataSource&quot;
@ -875,8 +928,8 @@ export class TokensComponent 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">Tokens</li> </ol> </nav> <div class="card"> <mat-card-title class="card-header"> <div class="row"> Tokens <button mat-raised-button color="primary" type="button" class="btn btn-outline-primary ml-auto mr-2" (click)="downloadCsv()" > EXPORT </button> </div> </mat-card-title> <div class="card-body"> <app-token-details [token]="token" (closeWindow)="token = $event"></app-token-details> <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 table-responsive" [dataSource]="dataSource" matSort matSortDirection="asc" matSortDisableClear > <ng-container matColumnDef="name"> <mat-header-cell *matHeaderCellDef mat-sort-header> Name </mat-header-cell> <mat-cell *matCellDef="let token"> {{ token.name }} </mat-cell> </ng-container> <ng-container matColumnDef="symbol"> <mat-header-cell *matHeaderCellDef mat-sort-header> Symbol </mat-header-cell> <mat-cell *matCellDef="let token"> {{ token.symbol }} </mat-cell> </ng-container> <ng-container matColumnDef="address"> <mat-header-cell *matHeaderCellDef mat-sort-header> Address </mat-header-cell> <mat-cell *matCellDef="let token"> {{ token.address }} </mat-cell> </ng-container> <ng-container matColumnDef="supply"> <mat-header-cell *matHeaderCellDef mat-sort-header> Supply </mat-header-cell> <mat-cell *matCellDef="let token"> {{ token.supply | tokenRatio }} </mat-cell> </ng-container> <mat-header-row *matHeaderRowDef="columnsToDisplay"></mat-header-row> <mat-row *matRowDef="let token; columns: columnsToDisplay" (click)="viewToken(token)" matRipple ></mat-row> </mat-table> <mat-paginator [pageSize]="5" [pageSizeOptions]="[5, 10, 25, 100]" 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">Tokens</li> </ol> </nav> <div class="card"> <mat-card-title class="card-header"> <div class="row"> Tokens <button mat-raised-button color="primary" type="button" class="btn btn-outline-primary ml-auto mr-2" (click)="downloadCsv()" > EXPORT </button> </div> </mat-card-title> <div class="card-body"> <app-token-details [token]="token" (closeWindow)="token = $event"></app-token-details> <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> <div *ngIf="loading"> <h2 class="text-center"><strong>Loading Tokens!</strong></h2> <mat-progress-bar [mode]="\'query\'"></mat-progress-bar> </div> <mat-table class="mat-elevation-z10 table-responsive" [dataSource]="dataSource" matSort matSortDirection="asc" matSortDisableClear > <ng-container matColumnDef="name"> <mat-header-cell *matHeaderCellDef mat-sort-header> Name </mat-header-cell> <mat-cell *matCellDef="let token"> {{ token.name }} </mat-cell> </ng-container> <ng-container matColumnDef="symbol"> <mat-header-cell *matHeaderCellDef mat-sort-header> Symbol </mat-header-cell> <mat-cell *matCellDef="let token"> {{ token.symbol }} </mat-cell> </ng-container> <ng-container matColumnDef="address"> <mat-header-cell *matHeaderCellDef mat-sort-header> Address </mat-header-cell> <mat-cell *matCellDef="let token"> {{ token.address }} </mat-cell> </ng-container> <ng-container matColumnDef="supply"> <mat-header-cell *matHeaderCellDef mat-sort-header> Supply </mat-header-cell> <mat-cell *matCellDef="let token"> {{ token.supply | tokenRatio }} </mat-cell> </ng-container> <mat-header-row *matHeaderRowDef="columnsToDisplay"></mat-header-row> <mat-row *matRowDef="let token; columns: columnsToDisplay" (click)="viewToken(token)" matRipple ></mat-row> </mat-table> <mat-paginator [pageSize]="5" [pageSizeOptions]="[5, 10, 25, 100]" 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': 'AccountHistoryComponent', 'selector': 'app-account-history'},{'name': 'AccountsComponent', 'selector': 'app-accounts'},{'name': 'AccountSearchComponent', 'selector': 'app-account-search'},{'name': 'AdminComponent', 'selector': 'app-admin'},{'name': 'AppComponent', 'selector': 'app-root'},{'name': 'AuthComponent', 'selector': 'app-auth'},{'name': 'CreateAccountComponent', 'selector': 'app-create-account'},{'name': 'ErrorDialogComponent', 'selector': 'app-error-dialog'},{'name': 'FooterComponent', 'selector': 'app-footer'},{'name': 'FooterStubComponent', 'selector': 'app-footer'},{'name': 'NetworkStatusComponent', 'selector': 'app-network-status'},{'name': 'OrganizationComponent', 'selector': 'app-organization'},{'name': 'PagesComponent', 'selector': 'app-pages'},{'name': 'SettingsComponent', 'selector': 'app-settings'},{'name': 'SidebarComponent', 'selector': 'app-sidebar'},{'name': 'SidebarStubComponent', 'selector': 'app-sidebar'},{'name': 'TokenDetailsComponent', 'selector': 'app-token-details'},{'name': 'TokensComponent', 'selector': 'app-tokens'},{'name': 'TopbarComponent', 'selector': 'app-topbar'},{'name': 'TopbarStubComponent', 'selector': 'app-topbar'},{'name': 'TransactionDetailsComponent', 'selector': 'app-transaction-details'},{'name': 'TransactionsComponent', 'selector': 'app-transactions'}];
var DIRECTIVES = [{'name': 'MenuSelectionDirective', 'selector': '[appMenuSelection]'},{'name': 'MenuToggleDirective', 'selector': '[appMenuToggle]'},{'name': 'PasswordToggleDirective', 'selector': '[appPasswordToggle]'},{'name': 'RouterLinkDirectiveStub', 'selector': '[appRouterLink]'}]; var DIRECTIVES = [{'name': 'MenuSelectionDirective', 'selector': '[appMenuSelection]'},{'name': 'MenuToggleDirective', 'selector': '[appMenuToggle]'},{'name': 'PasswordToggleDirective', 'selector': '[appPasswordToggle]'},{'name': 'RouterLinkDirectiveStub', 'selector': '[appRouterLink]'}];
var ACTUAL_COMPONENT = {'name': 'TokensComponent'}; var ACTUAL_COMPONENT = {'name': 'TokensComponent'};
</script> </script>
@ -919,9 +972,9 @@ export class TokensComponent implements OnInit {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -35,7 +36,9 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Components</li> <li>Components</li>
<li>TopbarComponent</li> <li
>
TopbarComponent</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -66,6 +69,7 @@
<p class="comment"> <p class="comment">
<h3>Implements</h3> <h3>Implements</h3>
</p> </p>
@ -135,7 +139,7 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#ngOnInit">ngOnInit</a> <a href="#ngOnInit" >ngOnInit</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -183,9 +187,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="ngOnInit"></a> <a name="ngOnInit"></a>
<span class="name"> <span class="name">
<b> <span ><b>ngOnInit</b></span>
ngOnInit
</b>
<a href="#ngOnInit"><span class="icon ion-ios-link"></span></a> <a href="#ngOnInit"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -292,7 +294,7 @@ export class TopbarComponent implements OnInit {
<script src="../js/libs/deep-iterator.js"></script> <script src="../js/libs/deep-iterator.js"></script>
<script> <script>
var COMPONENT_TEMPLATE = '<div><!-- Topbar Start --><nav class="navbar navbar-expand-lg navbar-light bg-light sticky-top"> <div class="container-fluid"> <button type="button" id="sidebarCollapse" class="navbar-btn menutoggle" aria-label="Sidebar toggle" appMenuToggle > <span></span> <span></span> <span></span> </button> </div></nav><!-- end Topbar --></div>' var COMPONENT_TEMPLATE = '<div><!-- Topbar Start --><nav class="navbar navbar-expand-lg navbar-light bg-light sticky-top"> <div class="container-fluid"> <button type="button" id="sidebarCollapse" class="navbar-btn menutoggle" aria-label="Sidebar toggle" appMenuToggle > <span></span> <span></span> <span></span> </button> </div></nav><!-- end Topbar --></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': 'AccountHistoryComponent', 'selector': 'app-account-history'},{'name': 'AccountsComponent', 'selector': 'app-accounts'},{'name': 'AccountSearchComponent', 'selector': 'app-account-search'},{'name': 'AdminComponent', 'selector': 'app-admin'},{'name': 'AppComponent', 'selector': 'app-root'},{'name': 'AuthComponent', 'selector': 'app-auth'},{'name': 'CreateAccountComponent', 'selector': 'app-create-account'},{'name': 'ErrorDialogComponent', 'selector': 'app-error-dialog'},{'name': 'FooterComponent', 'selector': 'app-footer'},{'name': 'FooterStubComponent', 'selector': 'app-footer'},{'name': 'NetworkStatusComponent', 'selector': 'app-network-status'},{'name': 'OrganizationComponent', 'selector': 'app-organization'},{'name': 'PagesComponent', 'selector': 'app-pages'},{'name': 'SettingsComponent', 'selector': 'app-settings'},{'name': 'SidebarComponent', 'selector': 'app-sidebar'},{'name': 'SidebarStubComponent', 'selector': 'app-sidebar'},{'name': 'TokenDetailsComponent', 'selector': 'app-token-details'},{'name': 'TokensComponent', 'selector': 'app-tokens'},{'name': 'TopbarComponent', 'selector': 'app-topbar'},{'name': 'TopbarStubComponent', 'selector': 'app-topbar'},{'name': 'TransactionDetailsComponent', 'selector': 'app-transaction-details'},{'name': 'TransactionsComponent', 'selector': 'app-transactions'}];
var DIRECTIVES = [{'name': 'MenuSelectionDirective', 'selector': '[appMenuSelection]'},{'name': 'MenuToggleDirective', 'selector': '[appMenuToggle]'},{'name': 'PasswordToggleDirective', 'selector': '[appPasswordToggle]'},{'name': 'RouterLinkDirectiveStub', 'selector': '[appRouterLink]'}]; var DIRECTIVES = [{'name': 'MenuSelectionDirective', 'selector': '[appMenuSelection]'},{'name': 'MenuToggleDirective', 'selector': '[appMenuToggle]'},{'name': 'PasswordToggleDirective', 'selector': '[appPasswordToggle]'},{'name': 'RouterLinkDirectiveStub', 'selector': '[appRouterLink]'}];
var ACTUAL_COMPONENT = {'name': 'TopbarComponent'}; var ACTUAL_COMPONENT = {'name': 'TopbarComponent'};
</script> </script>
@ -335,9 +337,9 @@ export class TopbarComponent implements OnInit {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -35,7 +36,9 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Components</li> <li>Components</li>
<li>TopbarStubComponent</li> <li
>
TopbarStubComponent</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -62,6 +65,7 @@
<section> <section>
<h3>Metadata</h3> <h3>Metadata</h3>
<table class="table table-sm table-hover"> <table class="table table-sm table-hover">
@ -150,7 +154,7 @@ export class FooterStubComponent {}
<script src="../js/libs/deep-iterator.js"></script> <script src="../js/libs/deep-iterator.js"></script>
<script> <script>
var COMPONENT_TEMPLATE = '<div></div>' var COMPONENT_TEMPLATE = '<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': 'AccountHistoryComponent', 'selector': 'app-account-history'},{'name': 'AccountsComponent', 'selector': 'app-accounts'},{'name': 'AccountSearchComponent', 'selector': 'app-account-search'},{'name': 'AdminComponent', 'selector': 'app-admin'},{'name': 'AppComponent', 'selector': 'app-root'},{'name': 'AuthComponent', 'selector': 'app-auth'},{'name': 'CreateAccountComponent', 'selector': 'app-create-account'},{'name': 'ErrorDialogComponent', 'selector': 'app-error-dialog'},{'name': 'FooterComponent', 'selector': 'app-footer'},{'name': 'FooterStubComponent', 'selector': 'app-footer'},{'name': 'NetworkStatusComponent', 'selector': 'app-network-status'},{'name': 'OrganizationComponent', 'selector': 'app-organization'},{'name': 'PagesComponent', 'selector': 'app-pages'},{'name': 'SettingsComponent', 'selector': 'app-settings'},{'name': 'SidebarComponent', 'selector': 'app-sidebar'},{'name': 'SidebarStubComponent', 'selector': 'app-sidebar'},{'name': 'TokenDetailsComponent', 'selector': 'app-token-details'},{'name': 'TokensComponent', 'selector': 'app-tokens'},{'name': 'TopbarComponent', 'selector': 'app-topbar'},{'name': 'TopbarStubComponent', 'selector': 'app-topbar'},{'name': 'TransactionDetailsComponent', 'selector': 'app-transaction-details'},{'name': 'TransactionsComponent', 'selector': 'app-transactions'}];
var DIRECTIVES = [{'name': 'MenuSelectionDirective', 'selector': '[appMenuSelection]'},{'name': 'MenuToggleDirective', 'selector': '[appMenuToggle]'},{'name': 'PasswordToggleDirective', 'selector': '[appPasswordToggle]'},{'name': 'RouterLinkDirectiveStub', 'selector': '[appRouterLink]'}]; var DIRECTIVES = [{'name': 'MenuSelectionDirective', 'selector': '[appMenuSelection]'},{'name': 'MenuToggleDirective', 'selector': '[appMenuToggle]'},{'name': 'PasswordToggleDirective', 'selector': '[appPasswordToggle]'},{'name': 'RouterLinkDirectiveStub', 'selector': '[appRouterLink]'}];
var ACTUAL_COMPONENT = {'name': 'TopbarStubComponent'}; var ACTUAL_COMPONENT = {'name': 'TopbarStubComponent'};
</script> </script>
@ -193,9 +197,9 @@ export class FooterStubComponent {}
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="./images/favicon.ico"> <link rel="icon" type="image/x-icon" href="./images/favicon.ico">
<link rel="stylesheet" href="./styles/style.css"> <link rel="stylesheet" href="./styles/style.css">
<link rel="stylesheet" href="./styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -163,7 +164,7 @@
<tr class="very-good"> <tr class="very-good">
<td> <td>
<!-- miscellaneous --> <!-- miscellaneous -->
<a href=".//functions.html#arraySum">src/app/_helpers/array-sum.ts</a> <a href="./miscellaneous/functions.html#arraySum">src/app/_helpers/array-sum.ts</a>
</td> </td>
<td>function</td> <td>function</td>
<td>arraySum</td> <td>arraySum</td>
@ -175,7 +176,7 @@
<tr class="very-good"> <tr class="very-good">
<td> <td>
<!-- miscellaneous --> <!-- miscellaneous -->
<a href=".//functions.html#copyToClipboard">src/app/_helpers/clipboard-copy.ts</a> <a href="./miscellaneous/functions.html#copyToClipboard">src/app/_helpers/clipboard-copy.ts</a>
</td> </td>
<td>function</td> <td>function</td>
<td>copyToClipboard</td> <td>copyToClipboard</td>
@ -211,7 +212,7 @@
<tr class="very-good"> <tr class="very-good">
<td> <td>
<!-- miscellaneous --> <!-- miscellaneous -->
<a href=".//functions.html#exportCsv">src/app/_helpers/export-csv.ts</a> <a href="./miscellaneous/functions.html#exportCsv">src/app/_helpers/export-csv.ts</a>
</td> </td>
<td>function</td> <td>function</td>
<td>exportCsv</td> <td>exportCsv</td>
@ -247,7 +248,7 @@
<tr class="low"> <tr class="low">
<td> <td>
<!-- miscellaneous --> <!-- miscellaneous -->
<a href=".//functions.html#rejectBody">src/app/_helpers/global-error-handler.ts</a> <a href="./miscellaneous/functions.html#rejectBody">src/app/_helpers/global-error-handler.ts</a>
</td> </td>
<td>function</td> <td>function</td>
<td>rejectBody</td> <td>rejectBody</td>
@ -259,7 +260,7 @@
<tr class="very-good"> <tr class="very-good">
<td> <td>
<!-- miscellaneous --> <!-- miscellaneous -->
<a href=".//functions.html#HttpGetter">src/app/_helpers/http-getter.ts</a> <a href="./miscellaneous/functions.html#HttpGetter">src/app/_helpers/http-getter.ts</a>
</td> </td>
<td>function</td> <td>function</td>
<td>HttpGetter</td> <td>HttpGetter</td>
@ -376,10 +377,34 @@
<span class="coverage-count">(1/1)</span> <span class="coverage-count">(1/1)</span>
</td> </td>
</tr> </tr>
<tr class="low">
<td>
<!-- miscellaneous -->
<a href="./miscellaneous/functions.html#checkOnlineStatus">src/app/_helpers/online-status.ts</a>
</td>
<td>function</td>
<td>checkOnlineStatus</td>
<td align="right" data-sort="0">
<span class="coverage-percent">0 %</span>
<span class="coverage-count">(0/1)</span>
</td>
</tr>
<tr class="low">
<td>
<!-- miscellaneous -->
<a href="./miscellaneous/variables.html#apiUrls">src/app/_helpers/online-status.ts</a>
</td>
<td>variable</td>
<td>apiUrls</td>
<td align="right" data-sort="0">
<span class="coverage-percent">0 %</span>
<span class="coverage-count">(0/1)</span>
</td>
</tr>
<tr class="very-good"> <tr class="very-good">
<td> <td>
<!-- miscellaneous --> <!-- miscellaneous -->
<a href=".//functions.html#parseData">src/app/_helpers/read-csv.ts</a> <a href="./miscellaneous/functions.html#parseData">src/app/_helpers/read-csv.ts</a>
</td> </td>
<td>function</td> <td>function</td>
<td>parseData</td> <td>parseData</td>
@ -391,7 +416,7 @@
<tr class="very-good"> <tr class="very-good">
<td> <td>
<!-- miscellaneous --> <!-- miscellaneous -->
<a href=".//functions.html#readCsv">src/app/_helpers/read-csv.ts</a> <a href="./miscellaneous/functions.html#readCsv">src/app/_helpers/read-csv.ts</a>
</td> </td>
<td>function</td> <td>function</td>
<td>readCsv</td> <td>readCsv</td>
@ -415,7 +440,7 @@
<tr class="very-good"> <tr class="very-good">
<td> <td>
<!-- miscellaneous --> <!-- miscellaneous -->
<a href=".//functions.html#personValidation">src/app/_helpers/schema-validation.ts</a> <a href="./miscellaneous/functions.html#personValidation">src/app/_helpers/schema-validation.ts</a>
</td> </td>
<td>function</td> <td>function</td>
<td>personValidation</td> <td>personValidation</td>
@ -427,7 +452,7 @@
<tr class="very-good"> <tr class="very-good">
<td> <td>
<!-- miscellaneous --> <!-- miscellaneous -->
<a href=".//functions.html#vcardValidation">src/app/_helpers/schema-validation.ts</a> <a href="./miscellaneous/functions.html#vcardValidation">src/app/_helpers/schema-validation.ts</a>
</td> </td>
<td>function</td> <td>function</td>
<td>vcardValidation</td> <td>vcardValidation</td>
@ -439,7 +464,7 @@
<tr class="low"> <tr class="low">
<td> <td>
<!-- miscellaneous --> <!-- miscellaneous -->
<a href=".//functions.html#updateSyncable">src/app/_helpers/sync.ts</a> <a href="./miscellaneous/functions.html#updateSyncable">src/app/_helpers/sync.ts</a>
</td> </td>
<td>function</td> <td>function</td>
<td>updateSyncable</td> <td>updateSyncable</td>
@ -448,6 +473,30 @@
<span class="coverage-count">(0/1)</span> <span class="coverage-count">(0/1)</span>
</td> </td>
</tr> </tr>
<tr class="low">
<td>
<!-- miscellaneous -->
<a href="./miscellaneous/functions.html#asciiToHex">src/app/_helpers/to-hex.ts</a>
</td>
<td>function</td>
<td>asciiToHex</td>
<td align="right" data-sort="0">
<span class="coverage-percent">0 %</span>
<span class="coverage-count">(0/1)</span>
</td>
</tr>
<tr class="very-good">
<td>
<!-- miscellaneous -->
<a href="./interceptors/ConnectionInterceptor.html">src/app/_interceptors/connection.interceptor.ts</a>
</td>
<td>interceptor</td>
<td>ConnectionInterceptor</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 -->
@ -757,7 +806,7 @@
<td>BlockSyncService</td> <td>BlockSyncService</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/10)</span> <span class="coverage-count">(0/9)</span>
</td> </td>
</tr> </tr>
<tr class="low"> <tr class="low">
@ -805,7 +854,7 @@
<td>LoggingService</td> <td>LoggingService</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/11)</span> <span class="coverage-count">(0/9)</span>
</td> </td>
</tr> </tr>
<tr class="low"> <tr class="low">
@ -817,7 +866,7 @@
<td>RegistryService</td> <td>RegistryService</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/5)</span> <span class="coverage-count">(0/8)</span>
</td> </td>
</tr> </tr>
<tr class="low"> <tr class="low">
@ -841,7 +890,7 @@
<td>TransactionService</td> <td>TransactionService</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/16)</span>
</td> </td>
</tr> </tr>
<tr class="low"> <tr class="low">
@ -865,7 +914,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/38)</span> <span class="coverage-count">(0/42)</span>
</td> </td>
</tr> </tr>
<tr class="low"> <tr class="low">
@ -892,6 +941,42 @@
<span class="coverage-count">(0/4)</span> <span class="coverage-count">(0/4)</span>
</td> </td>
</tr> </tr>
<tr class="low">
<td>
<!-- miscellaneous -->
<a href="./miscellaneous/functions.html#getAccountByAddress">src/app/_workers/fetch-accounts.worker.ts</a>
</td>
<td>function</td>
<td>getAccountByAddress</td>
<td align="right" data-sort="0">
<span class="coverage-percent">0 %</span>
<span class="coverage-count">(0/1)</span>
</td>
</tr>
<tr class="low">
<td>
<!-- miscellaneous -->
<a href="./miscellaneous/variables.html#headers">src/app/_workers/fetch-accounts.worker.ts</a>
</td>
<td>variable</td>
<td>headers</td>
<td align="right" data-sort="0">
<span class="coverage-percent">0 %</span>
<span class="coverage-count">(0/1)</span>
</td>
</tr>
<tr class="low">
<td>
<!-- miscellaneous -->
<a href="./miscellaneous/variables.html#options">src/app/_workers/fetch-accounts.worker.ts</a>
</td>
<td>variable</td>
<td>options</td>
<td align="right" data-sort="0">
<span class="coverage-percent">0 %</span>
<span class="coverage-count">(0/1)</span>
</td>
</tr>
<tr class="low"> <tr class="low">
<td> <td>
<!-- miscellaneous --> <!-- miscellaneous -->
@ -901,7 +986,7 @@
<td>AppComponent</td> <td>AppComponent</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/10)</span> <span class="coverage-count">(0/13)</span>
</td> </td>
</tr> </tr>
<tr class="very-good"> <tr class="very-good">
@ -937,7 +1022,31 @@
<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/47)</span> <span class="coverage-count">(0/67)</span>
</td>
</tr>
<tr class="low">
<td>
<!-- miscellaneous -->
<a href="./components/AccountHistoryComponent.html">src/app/pages/accounts/account-history/account-history.component.ts</a>
</td>
<td>component</td>
<td>AccountHistoryComponent</td>
<td align="right" data-sort="0">
<span class="coverage-percent">0 %</span>
<span class="coverage-count">(0/7)</span>
</td>
</tr>
<tr class="low">
<td>
<!-- miscellaneous -->
<a href="./miscellaneous/variables.html#vCard">src/app/pages/accounts/account-history/account-history.component.ts</a>
</td>
<td>variable</td>
<td>vCard</td>
<td align="right" data-sort="0">
<span class="coverage-percent">0 %</span>
<span class="coverage-count">(0/1)</span>
</td> </td>
</tr> </tr>
<tr class="low"> <tr class="low">
@ -949,7 +1058,7 @@
<td>AccountSearchComponent</td> <td>AccountSearchComponent</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/16)</span> <span class="coverage-count">(0/12)</span>
</td> </td>
</tr> </tr>
<tr class="low"> <tr class="low">
@ -961,7 +1070,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/18)</span> <span class="coverage-count">(0/20)</span>
</td> </td>
</tr> </tr>
<tr class="low"> <tr class="low">
@ -973,7 +1082,7 @@
<td>CreateAccountComponent</td> <td>CreateAccountComponent</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/11)</span> <span class="coverage-count">(0/12)</span>
</td> </td>
</tr> </tr>
<tr class="low"> <tr class="low">
@ -985,7 +1094,7 @@
<td>AdminComponent</td> <td>AdminComponent</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/15)</span> <span class="coverage-count">(0/16)</span>
</td> </td>
</tr> </tr>
<tr class="low"> <tr class="low">
@ -1045,7 +1154,7 @@
<td>TokensComponent</td> <td>TokensComponent</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/12)</span> <span class="coverage-count">(0/14)</span>
</td> </td>
</tr> </tr>
<tr class="low"> <tr class="low">
@ -1069,7 +1178,7 @@
<td>TransactionsComponent</td> <td>TransactionsComponent</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/19)</span> <span class="coverage-count">(0/20)</span>
</td> </td>
</tr> </tr>
<tr class="very-good"> <tr class="very-good">
@ -1108,6 +1217,18 @@
<span class="coverage-count">(0/1)</span> <span class="coverage-count">(0/1)</span>
</td> </td>
</tr> </tr>
<tr class="low">
<td>
<!-- miscellaneous -->
<a href="./pipes/SignatureUserPipe.html">src/app/shared/_pipes/signature-user.pipe.ts</a>
</td>
<td>pipe</td>
<td>SignatureUserPipe</td>
<td align="right" data-sort="0">
<span class="coverage-percent">0 %</span>
<span class="coverage-count">(0/1)</span>
</td>
</tr>
<tr class="low"> <tr class="low">
<td> <td>
<!-- miscellaneous --> <!-- miscellaneous -->
@ -1249,7 +1370,7 @@
<td>RouterLinkDirectiveStub</td> <td>RouterLinkDirectiveStub</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/4)</span> <span class="coverage-count">(0/5)</span>
</td> </td>
</tr> </tr>
<tr class="low"> <tr class="low">
@ -1356,9 +1477,9 @@
<script src="./js/libs/custom-elements.min.js"></script> <script src="./js/libs/custom-elements.min.js"></script>
<script src="./js/libs/lit-html.js"></script> <script src="./js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="./js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="./js/menu-wc.js" defer></script>
<script src="./js/menu-wc.js" defer></script> <script nomodule src="./js/menu-wc_es5.js" defer></script>
<script src="./js/libs/bootstrap-native.js"></script> <script src="./js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="./images/favicon.ico"> <link rel="icon" type="image/x-icon" href="./images/favicon.ico">
<link rel="stylesheet" href="./styles/style.css"> <link rel="stylesheet" href="./styles/style.css">
<link rel="stylesheet" href="./styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -129,9 +130,9 @@
<script src="./js/libs/custom-elements.min.js"></script> <script src="./js/libs/custom-elements.min.js"></script>
<script src="./js/libs/lit-html.js"></script> <script src="./js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="./js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="./js/menu-wc.js" defer></script>
<script src="./js/menu-wc.js" defer></script> <script nomodule src="./js/menu-wc_es5.js" defer></script>
<script src="./js/libs/bootstrap-native.js"></script> <script src="./js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -37,7 +38,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Directives</li> <li>Directives</li>
<li>MenuSelectionDirective</li> <li >MenuSelectionDirective</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -58,11 +59,12 @@
<code>src/app/shared/_directives/menu-selection.directive.ts</code> <code>src/app/shared/_directives/menu-selection.directive.ts</code>
</p> </p>
<p class="comment"> <p class="comment">
<h3>Description</h3> <h3>Description</h3>
</p> </p>
<p class="comment"> <p class="comment">
<p>Toggle availability of sidebar on menu item selection. </p> <p>Toggle availability of sidebar on menu item selection.</p>
</p> </p>
@ -96,7 +98,7 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#onMenuSelect">onMenuSelect</a> <a href="#onMenuSelect" >onMenuSelect</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -201,9 +203,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="onMenuSelect"></a> <a name="onMenuSelect"></a>
<span class="name"> <span class="name">
<b> <span ><b>onMenuSelect</b></span>
onMenuSelect
</b>
<a href="#onMenuSelect"><span class="icon ion-ios-link"></span></a> <a href="#onMenuSelect"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -225,7 +225,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Toggle the availability of the sidebar. </p> <div class="io-description"><p>Toggle the availability of the sidebar.</p>
</div> </div>
<div class="io-description"> <div class="io-description">
@ -321,9 +321,9 @@ export class MenuSelectionDirective {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -37,7 +38,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Directives</li> <li>Directives</li>
<li>MenuToggleDirective</li> <li >MenuToggleDirective</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -58,11 +59,12 @@
<code>src/app/shared/_directives/menu-toggle.directive.ts</code> <code>src/app/shared/_directives/menu-toggle.directive.ts</code>
</p> </p>
<p class="comment"> <p class="comment">
<h3>Description</h3> <h3>Description</h3>
</p> </p>
<p class="comment"> <p class="comment">
<p>Toggle availability of sidebar on menu toggle click. </p> <p>Toggle availability of sidebar on menu toggle click.</p>
</p> </p>
@ -96,7 +98,7 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#onMenuToggle">onMenuToggle</a> <a href="#onMenuToggle" >onMenuToggle</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -201,9 +203,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="onMenuToggle"></a> <a name="onMenuToggle"></a>
<span class="name"> <span class="name">
<b> <span ><b>onMenuToggle</b></span>
onMenuToggle
</b>
<a href="#onMenuToggle"><span class="icon ion-ios-link"></span></a> <a href="#onMenuToggle"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -225,7 +225,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Toggle the availability of the sidebar. </p> <div class="io-description"><p>Toggle the availability of the sidebar.</p>
</div> </div>
<div class="io-description"> <div class="io-description">
@ -312,9 +312,9 @@ export class MenuToggleDirective {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -37,7 +38,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Directives</li> <li>Directives</li>
<li>PasswordToggleDirective</li> <li >PasswordToggleDirective</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -58,11 +59,12 @@
<code>src/app/auth/_directives/password-toggle.directive.ts</code> <code>src/app/auth/_directives/password-toggle.directive.ts</code>
</p> </p>
<p class="comment"> <p class="comment">
<h3>Description</h3> <h3>Description</h3>
</p> </p>
<p class="comment"> <p class="comment">
<p>Toggle password form field input visibility </p> <p>Toggle password form field input visibility</p>
</p> </p>
@ -96,7 +98,7 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#togglePasswordVisibility">togglePasswordVisibility</a> <a href="#togglePasswordVisibility" >togglePasswordVisibility</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -111,10 +113,10 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#iconId">iconId</a> <a href="#iconId" >iconId</a>
</li> </li>
<li> <li>
<a href="#id">id</a> <a href="#id" >id</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -226,7 +228,7 @@
</tr> </tr>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>The password form field icon id </p> <div class="io-description"><p>The password form field icon id</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -253,7 +255,7 @@
</tr> </tr>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>The password form field id </p> <div class="io-description"><p>The password form field id</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -274,9 +276,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="togglePasswordVisibility"></a> <a name="togglePasswordVisibility"></a>
<span class="name"> <span class="name">
<b> <span ><b>togglePasswordVisibility</b></span>
togglePasswordVisibility
</b>
<a href="#togglePasswordVisibility"><span class="icon ion-ios-link"></span></a> <a href="#togglePasswordVisibility"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -298,7 +298,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Toggle the visibility of the password input field value and accompanying icon. </p> <div class="io-description"><p>Toggle the visibility of the password input field value and accompanying icon.</p>
</div> </div>
<div class="io-description"> <div class="io-description">
@ -401,9 +401,9 @@ export class PasswordToggleDirective {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -37,7 +38,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Directives</li> <li>Directives</li>
<li>RouterLinkDirectiveStub</li> <li >RouterLinkDirectiveStub</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -61,6 +62,7 @@
<section> <section>
<h3>Metadata</h3> <h3>Metadata</h3>
<table class="table table-sm table-hover"> <table class="table table-sm table-hover">
@ -88,12 +90,26 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#navigatedTo">navigatedTo</a> <a href="#navigatedTo" >navigatedTo</a>
</li> </li>
</ul> </ul>
</td> </td>
</tr> </tr>
<tr>
<td class="col-md-4">
<h6><b>Methods</b></h6>
</td>
</tr>
<tr>
<td class="col-md-4">
<ul class="index-list">
<li>
<a href="#onClick" >onClick</a>
</li>
</ul>
</td>
</tr>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
@ -104,7 +120,7 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#routerLink">routerLink</a> <a href="#routerLink" >routerLink</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -121,7 +137,7 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#click">click</a> <a href="#click" >click</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -172,11 +188,6 @@
</span> </span>
</td> </td>
</tr> </tr>
<tr>
<td class="col-md-4">
<code>click()</code>
</td>
</tr>
<tr> <tr>
@ -190,7 +201,56 @@
</tbody> </tbody>
</table> </table>
</section> </section>
<section>
<h3 id="methods">
Methods
</h3>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="onClick"></a>
<span class="name">
<span ><b>onClick</b></span>
<a href="#onClick"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<code>onClick()</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<b>Decorators : </b>
<br />
<code>@HostListener(&#x27;click&#x27;)<br /></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/testing/router-link-directive-stub.ts:13</a></div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-description">
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
</div>
</td>
</tr>
</tbody>
</table>
</section>
<section> <section>
<h3 id="inputs"> <h3 id="inputs">
@ -202,8 +262,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="navigatedTo"></a> <a name="navigatedTo"></a>
<span class="name"> <span class="name">
<b> <span ><b>navigatedTo</b></span>
navigatedTo</b>
<a href="#navigatedTo"><span class="icon ion-ios-link"></span></a> <a href="#navigatedTo"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -291,9 +350,9 @@ export class RouterLinkDirectiveStub {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 50 KiB

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -40,7 +41,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Guards</li> <li>Guards</li>
<li>AuthGuard</li> <li >AuthGuard</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -61,6 +62,7 @@
<code>src/app/_guards/auth.guard.ts</code> <code>src/app/_guards/auth.guard.ts</code>
</p> </p>
<p class="comment"> <p class="comment">
<h3>Description</h3> <h3>Description</h3>
</p> </p>
@ -87,7 +89,7 @@ Dictates access to routes depending on the authentication status.</p>
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#canActivate">canActivate</a> <a href="#canActivate" >canActivate</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -170,9 +172,7 @@ Dictates access to routes depending on the authentication status.</p>
<td class="col-md-4"> <td class="col-md-4">
<a name="canActivate"></a> <a name="canActivate"></a>
<span class="name"> <span class="name">
<b> <span ><b>canActivate</b></span>
canActivate
</b>
<a href="#canActivate"><span class="icon ion-ios-link"></span></a> <a href="#canActivate"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -196,6 +196,7 @@ Dictates access to routes depending on the authentication status.</p>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Returns whether navigation to a specific route is acceptable. <div class="io-description"><p>Returns whether navigation to a specific route is acceptable.
Checks if the user has uploaded a private key.</p> Checks if the user has uploaded a private key.</p>
<p>ActivatedRouteSnapshot can also be used to traverse the router state tree.</p>
</div> </div>
<div class="io-description"> <div class="io-description">
@ -309,7 +310,7 @@ export class AuthGuard implements CanActivate {
route: ActivatedRouteSnapshot, route: ActivatedRouteSnapshot,
state: RouterStateSnapshot state: RouterStateSnapshot
): Observable&lt;boolean | UrlTree&gt; | Promise&lt;boolean | UrlTree&gt; | boolean | UrlTree { ): Observable&lt;boolean | UrlTree&gt; | Promise&lt;boolean | UrlTree&gt; | boolean | UrlTree {
if (localStorage.getItem(btoa(&#x27;CICADA_PRIVATE_KEY&#x27;))) { if (sessionStorage.getItem(btoa(&#x27;CICADA_SESSION_TOKEN&#x27;))) {
return true; return true;
} }
this.router.navigate([&#x27;/auth&#x27;]); this.router.navigate([&#x27;/auth&#x27;]);
@ -352,9 +353,9 @@ export class AuthGuard implements CanActivate {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -40,7 +41,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Guards</li> <li>Guards</li>
<li>RoleGuard</li> <li >RoleGuard</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -61,6 +62,7 @@
<code>src/app/_guards/role.guard.ts</code> <code>src/app/_guards/role.guard.ts</code>
</p> </p>
<p class="comment"> <p class="comment">
<h3>Description</h3> <h3>Description</h3>
</p> </p>
@ -87,7 +89,7 @@ Dictates access to routes depending on the user&#39;s role.</p>
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#canActivate">canActivate</a> <a href="#canActivate" >canActivate</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -170,9 +172,7 @@ Dictates access to routes depending on the user&#39;s role.</p>
<td class="col-md-4"> <td class="col-md-4">
<a name="canActivate"></a> <a name="canActivate"></a>
<span class="name"> <span class="name">
<b> <span ><b>canActivate</b></span>
canActivate
</b>
<a href="#canActivate"><span class="icon ion-ios-link"></span></a> <a href="#canActivate"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -196,6 +196,7 @@ Dictates access to routes depending on the user&#39;s role.</p>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Returns whether navigation to a specific route is acceptable. <div class="io-description"><p>Returns whether navigation to a specific route is acceptable.
Checks if the user has the required role to access the route.</p> Checks if the user has the required role to access the route.</p>
<p>ActivatedRouteSnapshot can also be used to traverse the router state tree.</p>
</div> </div>
<div class="io-description"> <div class="io-description">
@ -358,9 +359,9 @@ export class RoleGuard implements CanActivate {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -1,9 +1,9 @@
<svg width="135" height="20" xmlns="http://www.w3.org/2000/svg"> <svg width="135" height="20" xmlns="http://www.w3.org/2000/svg">
<g> <g>
<rect id="svg_1" height="20" width="130" y="0" x="0" stroke-width="1.5" stroke="#5d5d5d" fill="#5d5d5d" rx="7" ry="7"/> <rect id="svg_1" height="20" width="130" y="0" x="0" stroke-width="1.5" stroke="#5d5d5d" fill="#5d5d5d" 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_2" height="20" width="40" y="0" x="92" stroke-width="1.5" stroke="#dab226" fill="#dab226" 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="#dab226" fill="#dab226"/>
<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">53%</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">50%</text>
</g> </g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 894 B

After

Width:  |  Height:  |  Size: 894 B

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="./images/favicon.ico"> <link rel="icon" type="image/x-icon" href="./images/favicon.ico">
<link rel="stylesheet" href="./styles/style.css"> <link rel="stylesheet" href="./styles/style.css">
<link rel="stylesheet" href="./styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -108,9 +109,9 @@ To view the styling rules set, check out <code>.prettierrc</code> and <code>tsli
<script src="./js/libs/custom-elements.min.js"></script> <script src="./js/libs/custom-elements.min.js"></script>
<script src="./js/libs/lit-html.js"></script> <script src="./js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="./js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="./js/menu-wc.js" defer></script>
<script src="./js/menu-wc.js" defer></script> <script nomodule src="./js/menu-wc_es5.js" defer></script>
<script src="./js/libs/bootstrap-native.js"></script> <script src="./js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -38,7 +39,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Injectables</li> <li>Injectables</li>
<li>AuthService</li> <li >AuthService</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -62,6 +63,7 @@
<section> <section>
<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">
@ -75,17 +77,17 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#mutableKeyStore">mutableKeyStore</a> <a href="#mutableKeyStore" >mutableKeyStore</a>
</li> </li>
<li> <li>
<a href="#trustedUsers">trustedUsers</a> <a href="#trustedUsers" >trustedUsers</a>
</li> </li>
<li> <li>
<span class="modifier">Private</span> <span class="modifier">Private</span>
<a href="#trustedUsersList">trustedUsersList</a> <a href="#trustedUsersList" >trustedUsersList</a>
</li> </li>
<li> <li>
<a href="#trustedUsersSubject">trustedUsersSubject</a> <a href="#trustedUsersSubject" >trustedUsersSubject</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -100,56 +102,56 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#addTrustedUser">addTrustedUser</a> <a href="#addTrustedUser" >addTrustedUser</a>
</li> </li>
<li> <li>
<a href="#getChallenge">getChallenge</a> <a href="#getChallenge" >getChallenge</a>
</li> </li>
<li> <li>
<a href="#getPrivateKey">getPrivateKey</a> <a href="#getPrivateKey" >getPrivateKey</a>
</li> </li>
<li> <li>
<a href="#getPrivateKeyInfo">getPrivateKeyInfo</a> <a href="#getPrivateKeyInfo" >getPrivateKeyInfo</a>
</li> </li>
<li> <li>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#getPublicKeys">getPublicKeys</a> <a href="#getPublicKeys" >getPublicKeys</a>
</li> </li>
<li> <li>
<a href="#getSessionToken">getSessionToken</a> <a href="#getSessionToken" >getSessionToken</a>
</li> </li>
<li> <li>
<a href="#getTrustedUsers">getTrustedUsers</a> <a href="#getTrustedUsers" >getTrustedUsers</a>
</li> </li>
<li> <li>
<a href="#getWithToken">getWithToken</a> <a href="#getWithToken" >getWithToken</a>
</li> </li>
<li> <li>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#init">init</a> <a href="#init" >init</a>
</li> </li>
<li> <li>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#login">login</a> <a href="#login" >login</a>
</li> </li>
<li> <li>
<a href="#loginView">loginView</a> <a href="#loginView" >loginView</a>
</li> </li>
<li> <li>
<a href="#logout">logout</a> <a href="#logout" >logout</a>
</li> </li>
<li> <li>
<a href="#sendSignedChallenge">sendSignedChallenge</a> <a href="#sendSignedChallenge" >sendSignedChallenge</a>
</li> </li>
<li> <li>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#setKey">setKey</a> <a href="#setKey" >setKey</a>
</li> </li>
<li> <li>
<a href="#setSessionToken">setSessionToken</a> <a href="#setSessionToken" >setSessionToken</a>
</li> </li>
<li> <li>
<a href="#setState">setState</a> <a href="#setState" >setState</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -169,12 +171,12 @@
<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>, loggingService: <a href="../injectables/LoggingService.html">LoggingService</a>, errorDialogService: <a href="../injectables/ErrorDialogService.html">ErrorDialogService</a>)</code> <code>constructor(loggingService: <a href="../injectables/LoggingService.html" target="_self">LoggingService</a>, errorDialogService: <a href="../injectables/ErrorDialogService.html" target="_self">ErrorDialogService</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="23" class="link-to-prism">src/app/_services/auth.service.ts:23</a></div> <div class="io-line">Defined in <a href="" data-line="22" class="link-to-prism">src/app/_services/auth.service.ts:22</a></div>
</td> </td>
</tr> </tr>
@ -191,18 +193,6 @@
</tr> </tr>
</thead> </thead>
<tbody> <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>
<tr> <tr>
<td>loggingService</td> <td>loggingService</td>
@ -247,24 +237,22 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="addTrustedUser"></a> <a name="addTrustedUser"></a>
<span class="name"> <span class="name">
<b> <span ><b>addTrustedUser</b></span>
addTrustedUser
</b>
<a href="#addTrustedUser"><span class="icon ion-ios-link"></span></a> <a href="#addTrustedUser"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<code>addTrustedUser(user: <a href="../interfaces/Staff.html">Staff</a>)</code> <code>addTrustedUser(user: <a href="../interfaces/Staff.html" target="_self">Staff</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="172" <div class="io-line">Defined in <a href="" data-line="170"
class="link-to-prism">src/app/_services/auth.service.ts:172</a></div> class="link-to-prism">src/app/_services/auth.service.ts:170</a></div>
</td> </td>
</tr> </tr>
@ -317,9 +305,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getChallenge"></a> <a name="getChallenge"></a>
<span class="name"> <span class="name">
<b> <span ><b>getChallenge</b></span>
getChallenge
</b>
<a href="#getChallenge"><span class="icon ion-ios-link"></span></a> <a href="#getChallenge"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -333,8 +319,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="84" <div class="io-line">Defined in <a href="" data-line="83"
class="link-to-prism">src/app/_services/auth.service.ts:84</a></div> class="link-to-prism">src/app/_services/auth.service.ts:83</a></div>
</td> </td>
</tr> </tr>
@ -356,9 +342,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getPrivateKey"></a> <a name="getPrivateKey"></a>
<span class="name"> <span class="name">
<b> <span ><b>getPrivateKey</b></span>
getPrivateKey
</b>
<a href="#getPrivateKey"><span class="icon ion-ios-link"></span></a> <a href="#getPrivateKey"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -372,8 +356,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="202" <div class="io-line">Defined in <a href="" data-line="200"
class="link-to-prism">src/app/_services/auth.service.ts:202</a></div> class="link-to-prism">src/app/_services/auth.service.ts:200</a></div>
</td> </td>
</tr> </tr>
@ -395,9 +379,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getPrivateKeyInfo"></a> <a name="getPrivateKeyInfo"></a>
<span class="name"> <span class="name">
<b> <span ><b>getPrivateKeyInfo</b></span>
getPrivateKeyInfo
</b>
<a href="#getPrivateKeyInfo"><span class="icon ion-ios-link"></span></a> <a href="#getPrivateKeyInfo"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -411,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="206" <div class="io-line">Defined in <a href="" data-line="204"
class="link-to-prism">src/app/_services/auth.service.ts:206</a></div> class="link-to-prism">src/app/_services/auth.service.ts:204</a></div>
</td> </td>
</tr> </tr>
@ -434,10 +416,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getPublicKeys"></a> <a name="getPublicKeys"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Async</span> <span class="modifier">Async</span>
getPublicKeys <span ><b>getPublicKeys</b></span>
</b>
<a href="#getPublicKeys"><span class="icon ion-ios-link"></span></a> <a href="#getPublicKeys"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -452,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="190" <div class="io-line">Defined in <a href="" data-line="188"
class="link-to-prism">src/app/_services/auth.service.ts:190</a></div> class="link-to-prism">src/app/_services/auth.service.ts:188</a></div>
</td> </td>
</tr> </tr>
@ -475,9 +455,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getSessionToken"></a> <a name="getSessionToken"></a>
<span class="name"> <span class="name">
<b> <span ><b>getSessionToken</b></span>
getSessionToken
</b>
<a href="#getSessionToken"><span class="icon ion-ios-link"></span></a> <a href="#getSessionToken"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -491,8 +469,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="38" <div class="io-line">Defined in <a href="" data-line="36"
class="link-to-prism">src/app/_services/auth.service.ts:38</a></div> class="link-to-prism">src/app/_services/auth.service.ts:36</a></div>
</td> </td>
</tr> </tr>
@ -514,9 +492,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getTrustedUsers"></a> <a name="getTrustedUsers"></a>
<span class="name"> <span class="name">
<b> <span ><b>getTrustedUsers</b></span>
getTrustedUsers
</b>
<a href="#getTrustedUsers"><span class="icon ion-ios-link"></span></a> <a href="#getTrustedUsers"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -530,8 +506,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="184" <div class="io-line">Defined in <a href="" data-line="182"
class="link-to-prism">src/app/_services/auth.service.ts:184</a></div> class="link-to-prism">src/app/_services/auth.service.ts:182</a></div>
</td> </td>
</tr> </tr>
@ -553,9 +529,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getWithToken"></a> <a name="getWithToken"></a>
<span class="name"> <span class="name">
<b> <span ><b>getWithToken</b></span>
getWithToken
</b>
<a href="#getWithToken"><span class="icon ion-ios-link"></span></a> <a href="#getWithToken"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -569,8 +543,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="50" <div class="io-line">Defined in <a href="" data-line="48"
class="link-to-prism">src/app/_services/auth.service.ts:50</a></div> class="link-to-prism">src/app/_services/auth.service.ts:48</a></div>
</td> </td>
</tr> </tr>
@ -592,10 +566,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="init"></a> <a name="init"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Async</span> <span class="modifier">Async</span>
init <span ><b>init</b></span>
</b>
<a href="#init"><span class="icon ion-ios-link"></span></a> <a href="#init"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -610,8 +582,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="31" <div class="io-line">Defined in <a href="" data-line="29"
class="link-to-prism">src/app/_services/auth.service.ts:31</a></div> class="link-to-prism">src/app/_services/auth.service.ts:29</a></div>
</td> </td>
</tr> </tr>
@ -633,10 +605,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="login"></a> <a name="login"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Async</span> <span class="modifier">Async</span>
login <span ><b>login</b></span>
</b>
<a href="#login"><span class="icon ion-ios-link"></span></a> <a href="#login"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -651,8 +621,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="93" <div class="io-line">Defined in <a href="" data-line="92"
class="link-to-prism">src/app/_services/auth.service.ts:93</a></div> class="link-to-prism">src/app/_services/auth.service.ts:92</a></div>
</td> </td>
</tr> </tr>
@ -674,9 +644,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="loginView"></a> <a name="loginView"></a>
<span class="name"> <span class="name">
<b> <span ><b>loginView</b></span>
loginView
</b>
<a href="#loginView"><span class="icon ion-ios-link"></span></a> <a href="#loginView"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -690,8 +658,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="128" <div class="io-line">Defined in <a href="" data-line="126"
class="link-to-prism">src/app/_services/auth.service.ts:128</a></div> class="link-to-prism">src/app/_services/auth.service.ts:126</a></div>
</td> </td>
</tr> </tr>
@ -713,9 +681,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="logout"></a> <a name="logout"></a>
<span class="name"> <span class="name">
<b> <span ><b>logout</b></span>
logout
</b>
<a href="#logout"><span class="icon ion-ios-link"></span></a> <a href="#logout"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -729,8 +695,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="166" <div class="io-line">Defined in <a href="" data-line="164"
class="link-to-prism">src/app/_services/auth.service.ts:166</a></div> class="link-to-prism">src/app/_services/auth.service.ts:164</a></div>
</td> </td>
</tr> </tr>
@ -752,9 +718,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="sendSignedChallenge"></a> <a name="sendSignedChallenge"></a>
<span class="name"> <span class="name">
<b> <span ><b>sendSignedChallenge</b></span>
sendSignedChallenge
</b>
<a href="#sendSignedChallenge"><span class="icon ion-ios-link"></span></a> <a href="#sendSignedChallenge"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -768,8 +732,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="72" <div class="io-line">Defined in <a href="" data-line="71"
class="link-to-prism">src/app/_services/auth.service.ts:72</a></div> class="link-to-prism">src/app/_services/auth.service.ts:71</a></div>
</td> </td>
</tr> </tr>
@ -822,10 +786,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="setKey"></a> <a name="setKey"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Async</span> <span class="modifier">Async</span>
setKey <span ><b>setKey</b></span>
</b>
<a href="#setKey"><span class="icon ion-ios-link"></span></a> <a href="#setKey"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -840,8 +802,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="138" <div class="io-line">Defined in <a href="" data-line="136"
class="link-to-prism">src/app/_services/auth.service.ts:138</a></div> class="link-to-prism">src/app/_services/auth.service.ts:136</a></div>
</td> </td>
</tr> </tr>
@ -897,9 +859,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="setSessionToken"></a> <a name="setSessionToken"></a>
<span class="name"> <span class="name">
<b> <span ><b>setSessionToken</b></span>
setSessionToken
</b>
<a href="#setSessionToken"><span class="icon ion-ios-link"></span></a> <a href="#setSessionToken"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -913,8 +873,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="42" <div class="io-line">Defined in <a href="" data-line="40"
class="link-to-prism">src/app/_services/auth.service.ts:42</a></div> class="link-to-prism">src/app/_services/auth.service.ts:40</a></div>
</td> </td>
</tr> </tr>
@ -963,9 +923,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="setState"></a> <a name="setState"></a>
<span class="name"> <span class="name">
<b> <span ><b>setState</b></span>
setState
</b>
<a href="#setState"><span class="icon ion-ios-link"></span></a> <a href="#setState"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -979,8 +937,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="44"
class="link-to-prism">src/app/_services/auth.service.ts:46</a></div> class="link-to-prism">src/app/_services/auth.service.ts:44</a></div>
</td> </td>
</tr> </tr>
@ -1035,8 +993,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="mutableKeyStore"></a> <a name="mutableKeyStore"></a>
<span class="name"> <span class="name">
<b> <span ><b>mutableKeyStore</b></span>
mutableKeyStore</b>
<a href="#mutableKeyStore"><span class="icon ion-ios-link"></span></a> <a href="#mutableKeyStore"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1049,7 +1006,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="18" class="link-to-prism">src/app/_services/auth.service.ts:18</a></div> <div class="io-line">Defined in <a href="" data-line="17" class="link-to-prism">src/app/_services/auth.service.ts:17</a></div>
</td> </td>
</tr> </tr>
@ -1062,8 +1019,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="trustedUsers"></a> <a name="trustedUsers"></a>
<span class="name"> <span class="name">
<b> <span ><b>trustedUsers</b></span>
trustedUsers</b>
<a href="#trustedUsers"><span class="icon ion-ios-link"></span></a> <a href="#trustedUsers"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1081,7 +1037,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/auth.service.ts:19</a></div> <div class="io-line">Defined in <a href="" data-line="18" class="link-to-prism">src/app/_services/auth.service.ts:18</a></div>
</td> </td>
</tr> </tr>
@ -1094,9 +1050,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="trustedUsersList"></a> <a name="trustedUsersList"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Private</span> <span class="modifier">Private</span>
trustedUsersList</b> <span ><b>trustedUsersList</b></span>
<a href="#trustedUsersList"><span class="icon ion-ios-link"></span></a> <a href="#trustedUsersList"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1116,7 +1071,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/auth.service.ts:20</a></div> <div class="io-line">Defined in <a href="" data-line="19" class="link-to-prism">src/app/_services/auth.service.ts:19</a></div>
</td> </td>
</tr> </tr>
@ -1129,8 +1084,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="trustedUsersSubject"></a> <a name="trustedUsersSubject"></a>
<span class="name"> <span class="name">
<b> <span ><b>trustedUsersSubject</b></span>
trustedUsersSubject</b>
<a href="#trustedUsersSubject"><span class="icon ion-ios-link"></span></a> <a href="#trustedUsersSubject"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1148,7 +1102,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="23" class="link-to-prism">src/app/_services/auth.service.ts:23</a></div> <div class="io-line">Defined in <a href="" data-line="22" class="link-to-prism">src/app/_services/auth.service.ts:22</a></div>
</td> </td>
</tr> </tr>
@ -1168,7 +1122,6 @@ import { environment } from &#x27;@src/environments/environment&#x27;;
import { LoggingService } from &#x27;@app/_services/logging.service&#x27;; import { LoggingService } from &#x27;@app/_services/logging.service&#x27;;
import { MutableKeyStore } from &#x27;@app/_pgp&#x27;; import { MutableKeyStore } from &#x27;@app/_pgp&#x27;;
import { ErrorDialogService } from &#x27;@app/_services/error-dialog.service&#x27;; import { ErrorDialogService } from &#x27;@app/_services/error-dialog.service&#x27;;
import { HttpClient } from &#x27;@angular/common/http&#x27;;
import { HttpError, rejectBody } from &#x27;@app/_helpers/global-error-handler&#x27;; import { HttpError, rejectBody } from &#x27;@app/_helpers/global-error-handler&#x27;;
import { Staff } from &#x27;@app/_models&#x27;; import { Staff } from &#x27;@app/_models&#x27;;
import { BehaviorSubject, Observable } from &#x27;rxjs&#x27;; import { BehaviorSubject, Observable } from &#x27;rxjs&#x27;;
@ -1186,7 +1139,6 @@ export class AuthService {
trustedUsersSubject: Observable&lt;Array&lt;Staff&gt;&gt; &#x3D; this.trustedUsersList.asObservable(); trustedUsersSubject: Observable&lt;Array&lt;Staff&gt;&gt; &#x3D; this.trustedUsersList.asObservable();
constructor( constructor(
private httpClient: HttpClient,
private loggingService: LoggingService, private loggingService: LoggingService,
private errorDialogService: ErrorDialogService private errorDialogService: ErrorDialogService
) {} ) {}
@ -1211,8 +1163,9 @@ export class AuthService {
} }
getWithToken(): Promise&lt;boolean&gt; { getWithToken(): Promise&lt;boolean&gt; {
const sessionToken &#x3D; this.getSessionToken();
const headers &#x3D; { const headers &#x3D; {
Authorization: &#x27;Bearer &#x27; + this.getSessionToken, Authorization: &#x27;Bearer &#x27; + sessionToken,
&#x27;Content-Type&#x27;: &#x27;application/json;charset&#x3D;utf-8&#x27;, &#x27;Content-Type&#x27;: &#x27;application/json;charset&#x3D;utf-8&#x27;,
&#x27;x-cic-automerge&#x27;: &#x27;none&#x27;, &#x27;x-cic-automerge&#x27;: &#x27;none&#x27;,
}; };
@ -1256,7 +1209,7 @@ export class AuthService {
async login(): Promise&lt;boolean&gt; { async login(): Promise&lt;boolean&gt; {
if (this.getSessionToken()) { if (this.getSessionToken()) {
sessionStorage.removeItem(btoa(&#x27;CICADA_SESSION_TOKEN&#x27;)); sessionStorage.removeItem(btoa(&#x27;CICADA_SESSION_TOKEN&#x27;));
} else { }
const o &#x3D; await this.getChallenge(); const o &#x3D; await this.getChallenge();
const r &#x3D; await signChallenge( const r &#x3D; await signChallenge(
@ -1281,12 +1234,11 @@ export class AuthService {
if (tokenResponse) { if (tokenResponse) {
this.setSessionToken(tokenResponse); this.setSessionToken(tokenResponse);
this.setState(&#x27;Click button to log in&#x27;); // this.setState(&#x27;Click button to log in&#x27;);
return true; return true;
} }
return false; return false;
} }
}
loginView(): void { loginView(): void {
document.getElementById(&#x27;one&#x27;).style.display &#x3D; &#x27;none&#x27;; document.getElementById(&#x27;one&#x27;).style.display &#x3D; &#x27;none&#x27;;
@ -1409,9 +1361,9 @@ export class AuthService {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -38,7 +39,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Injectables</li> <li>Injectables</li>
<li>BlockSyncService</li> <li >BlockSyncService</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -62,6 +63,7 @@
<section> <section>
<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">
@ -75,10 +77,10 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#readyState">readyState</a> <a href="#readyState" >readyState</a>
</li> </li>
<li> <li>
<a href="#readyStateTarget">readyStateTarget</a> <a href="#readyStateTarget" >readyStateTarget</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -94,24 +96,20 @@
<ul class="index-list"> <ul class="index-list">
<li> <li>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#blockSync">blockSync</a> <a href="#blockSync" >blockSync</a>
</li> </li>
<li> <li>
<a href="#fetcher">fetcher</a> <a href="#fetcher" >fetcher</a>
</li>
<li>
<a href="#newEvent" >newEvent</a>
</li>
<li>
<a href="#readyStateProcessor" >readyStateProcessor</a>
</li> </li>
<li> <li>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#init">init</a> <a href="#scan" >scan</a>
</li>
<li>
<a href="#newEvent">newEvent</a>
</li>
<li>
<a href="#readyStateProcessor">readyStateProcessor</a>
</li>
<li>
<span class="modifier">Async</span>
<a href="#scan">scan</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -131,12 +129,12 @@
<tbody> <tbody>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<code>constructor(transactionService: <a href="../injectables/TransactionService.html">TransactionService</a>, loggingService: <a href="../injectables/LoggingService.html">LoggingService</a>)</code> <code>constructor(transactionService: <a href="../injectables/TransactionService.html" target="_self">TransactionService</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="16" class="link-to-prism">src/app/_services/block-sync.service.ts:16</a></div> <div class="io-line">Defined in <a href="" data-line="15" class="link-to-prism">src/app/_services/block-sync.service.ts:15</a></div>
</td> </td>
</tr> </tr>
@ -165,18 +163,6 @@
</td> </td>
</tr> </tr>
<tr>
<td>loggingService</td>
<td>
<code><a href="../injectables/LoggingService.html" target="_self" >LoggingService</a></code>
</td>
<td>
No
</td>
</tr>
</tbody> </tbody>
</table> </table>
</div> </div>
@ -197,10 +183,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="blockSync"></a> <a name="blockSync"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Async</span> <span class="modifier">Async</span>
blockSync <span ><b>blockSync</b></span>
</b>
<a href="#blockSync"><span class="icon ion-ios-link"></span></a> <a href="#blockSync"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -215,8 +199,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="27" <div class="io-line">Defined in <a href="" data-line="19"
class="link-to-prism">src/app/_services/block-sync.service.ts:27</a></div> class="link-to-prism">src/app/_services/block-sync.service.ts:19</a></div>
</td> </td>
</tr> </tr>
@ -303,24 +287,22 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="fetcher"></a> <a name="fetcher"></a>
<span class="name"> <span class="name">
<b> <span ><b>fetcher</b></span>
fetcher
</b>
<a href="#fetcher"><span class="icon ion-ios-link"></span></a> <a href="#fetcher"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<code>fetcher(settings: <a href="../classes/Settings.html">Settings</a>, transactionsInfo: <a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank">any</a>)</code> <code>fetcher(settings: <a href="../classes/Settings.html" target="_self">Settings</a>, transactionsInfo: <a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank">any</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="109" <div class="io-line">Defined in <a href="" data-line="100"
class="link-to-prism">src/app/_services/block-sync.service.ts:109</a></div> class="link-to-prism">src/app/_services/block-sync.service.ts:100</a></div>
</td> </td>
</tr> </tr>
@ -379,56 +361,13 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="init"></a>
<span class="name">
<b>
<span class="modifier">Async</span>
init
</b>
<a href="#init"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<span class="modifier-icon icon ion-ios-reset"></span>
<code>init()</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="23"
class="link-to-prism">src/app/_services/block-sync.service.ts:23</a></div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-description">
<b>Returns : </b> <code>Promise&lt;void&gt;</code>
</div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered"> <table class="table table-sm table-bordered">
<tbody> <tbody>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="newEvent"></a> <a name="newEvent"></a>
<span class="name"> <span class="name">
<b> <span ><b>newEvent</b></span>
newEvent
</b>
<a href="#newEvent"><span class="icon ion-ios-link"></span></a> <a href="#newEvent"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -442,8 +381,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="80" <div class="io-line">Defined in <a href="" data-line="71"
class="link-to-prism">src/app/_services/block-sync.service.ts:80</a></div> class="link-to-prism">src/app/_services/block-sync.service.ts:71</a></div>
</td> </td>
</tr> </tr>
@ -508,24 +447,22 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="readyStateProcessor"></a> <a name="readyStateProcessor"></a>
<span class="name"> <span class="name">
<b> <span ><b>readyStateProcessor</b></span>
readyStateProcessor
</b>
<a href="#readyStateProcessor"><span class="icon ion-ios-link"></span></a> <a href="#readyStateProcessor"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<code>readyStateProcessor(settings: <a href="../classes/Settings.html">Settings</a>, bit: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank">number</a>, address: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, offset: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank">number</a>, limit: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank">number</a>)</code> <code>readyStateProcessor(settings: <a href="../classes/Settings.html" target="_self">Settings</a>, bit: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank">number</a>, address: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, offset: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank">number</a>, limit: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank">number</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="45" <div class="io-line">Defined in <a href="" data-line="36"
class="link-to-prism">src/app/_services/block-sync.service.ts:45</a></div> class="link-to-prism">src/app/_services/block-sync.service.ts:36</a></div>
</td> </td>
</tr> </tr>
@ -626,10 +563,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="scan"></a> <a name="scan"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Async</span> <span class="modifier">Async</span>
scan <span ><b>scan</b></span>
</b>
<a href="#scan"><span class="icon ion-ios-link"></span></a> <a href="#scan"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -637,15 +572,15 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<span class="modifier-icon icon ion-ios-reset"></span> <span class="modifier-icon icon ion-ios-reset"></span>
<code>scan(settings: <a href="../classes/Settings.html">Settings</a>, lo: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank">number</a>, hi: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank">number</a>, bloomBlockBytes: Uint8Array, bloomBlocktxBytes: Uint8Array, bloomRounds: <a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank">any</a>)</code> <code>scan(settings: <a href="../classes/Settings.html" target="_self">Settings</a>, lo: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank">number</a>, hi: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank">number</a>, bloomBlockBytes: Uint8Array, bloomBlocktxBytes: Uint8Array, bloomRounds: <a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank">any</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="88" <div class="io-line">Defined in <a href="" data-line="79"
class="link-to-prism">src/app/_services/block-sync.service.ts:88</a></div> class="link-to-prism">src/app/_services/block-sync.service.ts:79</a></div>
</td> </td>
</tr> </tr>
@ -764,8 +699,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="readyState"></a> <a name="readyState"></a>
<span class="name"> <span class="name">
<b> <span ><b>readyState</b></span>
readyState</b>
<a href="#readyState"><span class="icon ion-ios-link"></span></a> <a href="#readyState"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -783,7 +717,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/block-sync.service.ts:16</a></div> <div class="io-line">Defined in <a href="" data-line="15" class="link-to-prism">src/app/_services/block-sync.service.ts:15</a></div>
</td> </td>
</tr> </tr>
@ -796,8 +730,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="readyStateTarget"></a> <a name="readyStateTarget"></a>
<span class="name"> <span class="name">
<b> <span ><b>readyStateTarget</b></span>
readyStateTarget</b>
<a href="#readyStateTarget"><span class="icon ion-ios-link"></span></a> <a href="#readyStateTarget"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -815,7 +748,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/block-sync.service.ts:15</a></div> <div class="io-line">Defined in <a href="" data-line="14" class="link-to-prism">src/app/_services/block-sync.service.ts:14</a></div>
</td> </td>
</tr> </tr>
@ -834,7 +767,6 @@ import { TransactionHelper } from &#x27;@cicnet/cic-client&#x27;;
import { first } from &#x27;rxjs/operators&#x27;; import { first } from &#x27;rxjs/operators&#x27;;
import { TransactionService } from &#x27;@app/_services/transaction.service&#x27;; import { TransactionService } from &#x27;@app/_services/transaction.service&#x27;;
import { environment } from &#x27;@src/environments/environment&#x27;; import { environment } from &#x27;@src/environments/environment&#x27;;
import { LoggingService } from &#x27;@app/_services/logging.service&#x27;;
import { RegistryService } from &#x27;@app/_services/registry.service&#x27;; import { RegistryService } from &#x27;@app/_services/registry.service&#x27;;
import { Web3Service } from &#x27;@app/_services/web3.service&#x27;; import { Web3Service } from &#x27;@app/_services/web3.service&#x27;;
@ -845,17 +777,9 @@ export class BlockSyncService {
readyStateTarget: number &#x3D; 2; readyStateTarget: number &#x3D; 2;
readyState: number &#x3D; 0; readyState: number &#x3D; 0;
constructor( constructor(private transactionService: TransactionService) {}
private transactionService: TransactionService,
private loggingService: LoggingService
) {}
async init(): Promise&lt;void&gt; {
await this.transactionService.init();
}
async blockSync(address: string &#x3D; null, offset: number &#x3D; 0, limit: number &#x3D; 100): Promise&lt;void&gt; { async blockSync(address: string &#x3D; null, offset: number &#x3D; 0, limit: number &#x3D; 100): Promise&lt;void&gt; {
this.transactionService.resetTransactionsList();
const settings: Settings &#x3D; new Settings(this.scan); const settings: Settings &#x3D; new Settings(this.scan);
const readyStateElements: { network: number } &#x3D; { network: 2 }; const readyStateElements: { network: number } &#x3D; { network: 2 };
settings.w3.provider &#x3D; environment.web3Provider; settings.w3.provider &#x3D; environment.web3Provider;
@ -994,9 +918,9 @@ export class BlockSyncService {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -38,7 +39,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Injectables</li> <li>Injectables</li>
<li>ErrorDialogService</li> <li >ErrorDialogService</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -62,6 +63,7 @@
<section> <section>
<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">
@ -76,11 +78,11 @@
<ul class="index-list"> <ul class="index-list">
<li> <li>
<span class="modifier">Public</span> <span class="modifier">Public</span>
<a href="#dialog">dialog</a> <a href="#dialog" >dialog</a>
</li> </li>
<li> <li>
<span class="modifier">Public</span> <span class="modifier">Public</span>
<a href="#isDialogOpen">isDialogOpen</a> <a href="#isDialogOpen" >isDialogOpen</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -95,7 +97,7 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#openDialog">openDialog</a> <a href="#openDialog" >openDialog</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -169,9 +171,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="openDialog"></a> <a name="openDialog"></a>
<span class="name"> <span class="name">
<b> <span ><b>openDialog</b></span>
openDialog
</b>
<a href="#openDialog"><span class="icon ion-ios-link"></span></a> <a href="#openDialog"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -241,9 +241,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="dialog"></a> <a name="dialog"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Public</span> <span class="modifier">Public</span>
dialog</b> <span ><b>dialog</b></span>
<a href="#dialog"><span class="icon ion-ios-link"></span></a> <a href="#dialog"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -269,9 +268,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="isDialogOpen"></a> <a name="isDialogOpen"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Public</span> <span class="modifier">Public</span>
isDialogOpen</b> <span ><b>isDialogOpen</b></span>
<a href="#isDialogOpen"><span class="icon ion-ios-link"></span></a> <a href="#isDialogOpen"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -366,9 +364,9 @@ export class ErrorDialogService {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -38,7 +39,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Injectables</li> <li>Injectables</li>
<li>GlobalErrorHandler</li> <li >GlobalErrorHandler</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -59,6 +60,7 @@
<code>src/app/_helpers/global-error-handler.ts</code> <code>src/app/_helpers/global-error-handler.ts</code>
</p> </p>
<p class="comment"> <p class="comment">
<h3>Description</h3> <h3>Description</h3>
</p> </p>
@ -74,11 +76,6 @@
<code><a href="https://angular.io/api/core/ErrorHandler" target="_blank" >ErrorHandler</a></code> <code><a href="https://angular.io/api/core/ErrorHandler" target="_blank" >ErrorHandler</a></code>
</p> </p>
<p class="comment">
<h3>Example</h3>
</p>
<div class="io-description">
</div>
<section> <section>
<h3 id="index">Index</h3> <h3 id="index">Index</h3>
@ -94,7 +91,7 @@
<ul class="index-list"> <ul class="index-list">
<li> <li>
<span class="modifier">Private</span> <span class="modifier">Private</span>
<a href="#sentencesForWarningLogging">sentencesForWarningLogging</a> <a href="#sentencesForWarningLogging" >sentencesForWarningLogging</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -109,14 +106,14 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#handleError">handleError</a> <a href="#handleError" >handleError</a>
</li> </li>
<li> <li>
<span class="modifier">Private</span> <span class="modifier">Private</span>
<a href="#isWarning">isWarning</a> <a href="#isWarning" >isWarning</a>
</li> </li>
<li> <li>
<a href="#logError">logError</a> <a href="#logError" >logError</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -136,7 +133,7 @@
<tbody> <tbody>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<code>constructor(loggingService: <a href="../injectables/LoggingService.html">LoggingService</a>, router: <a href="https://angular.io/api/router/Router" target="_blank">Router</a>)</code> <code>constructor(loggingService: <a href="../injectables/LoggingService.html" target="_self">LoggingService</a>, router: <a href="https://angular.io/api/router/Router" target="_blank">Router</a>)</code>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -217,9 +214,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="handleError"></a> <a name="handleError"></a>
<span class="name"> <span class="name">
<b> <span ><b>handleError</b></span>
handleError
</b>
<a href="#handleError"><span class="icon ion-ios-link"></span></a> <a href="#handleError"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -296,10 +291,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="isWarning"></a> <a name="isWarning"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Private</span> <span class="modifier">Private</span>
isWarning <span ><b>isWarning</b></span>
</b>
<a href="#isWarning"><span class="icon ion-ios-link"></span></a> <a href="#isWarning"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -378,9 +371,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="logError"></a> <a name="logError"></a>
<span class="name"> <span class="name">
<b> <span ><b>logError</b></span>
logError
</b>
<a href="#logError"><span class="icon ion-ios-link"></span></a> <a href="#logError"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -463,9 +454,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="sentencesForWarningLogging"></a> <a name="sentencesForWarningLogging"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Private</span> <span class="modifier">Private</span>
sentencesForWarningLogging</b> <span ><b>sentencesForWarningLogging</b></span>
<a href="#sentencesForWarningLogging"><span class="icon ion-ios-link"></span></a> <a href="#sentencesForWarningLogging"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -681,9 +671,9 @@ export function rejectBody(error): { status: any; statusText: any } {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -38,7 +39,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Injectables</li> <li>Injectables</li>
<li>KeystoreService</li> <li >KeystoreService</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -62,6 +63,7 @@
<section> <section>
<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">
@ -77,7 +79,7 @@
<li> <li>
<span class="modifier">Private</span> <span class="modifier">Private</span>
<span class="modifier">Static</span> <span class="modifier">Static</span>
<a href="#mutableKeyStore">mutableKeyStore</a> <a href="#mutableKeyStore" >mutableKeyStore</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -94,7 +96,7 @@
<li> <li>
<span class="modifier">Static</span> <span class="modifier">Static</span>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#getKeystore">getKeystore</a> <a href="#getKeystore" >getKeystore</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -138,11 +140,9 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getKeystore"></a> <a name="getKeystore"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Static</span> <span class="modifier">Static</span>
<span class="modifier">Async</span> <span class="modifier">Async</span>
getKeystore <span ><b>getKeystore</b></span>
</b>
<a href="#getKeystore"><span class="icon ion-ios-link"></span></a> <a href="#getKeystore"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -186,10 +186,9 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="mutableKeyStore"></a> <a name="mutableKeyStore"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Private</span> <span class="modifier">Private</span>
<span class="modifier">Static</span> <span class="modifier">Static</span>
mutableKeyStore</b> <span ><b>mutableKeyStore</b></span>
<a href="#mutableKeyStore"><span class="icon ion-ios-link"></span></a> <a href="#mutableKeyStore"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -276,9 +275,9 @@ export class KeystoreService {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -38,7 +39,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Injectables</li> <li>Injectables</li>
<li>LocationService</li> <li >LocationService</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -62,6 +63,7 @@
<section> <section>
<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">
@ -75,24 +77,24 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#areaNames">areaNames</a> <a href="#areaNames" >areaNames</a>
</li> </li>
<li> <li>
<span class="modifier">Private</span> <span class="modifier">Private</span>
<a href="#areaNamesList">areaNamesList</a> <a href="#areaNamesList" >areaNamesList</a>
</li> </li>
<li> <li>
<a href="#areaNamesSubject">areaNamesSubject</a> <a href="#areaNamesSubject" >areaNamesSubject</a>
</li> </li>
<li> <li>
<a href="#areaTypes">areaTypes</a> <a href="#areaTypes" >areaTypes</a>
</li> </li>
<li> <li>
<span class="modifier">Private</span> <span class="modifier">Private</span>
<a href="#areaTypesList">areaTypesList</a> <a href="#areaTypesList" >areaTypesList</a>
</li> </li>
<li> <li>
<a href="#areaTypesSubject">areaTypesSubject</a> <a href="#areaTypesSubject" >areaTypesSubject</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -107,16 +109,16 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#getAreaNameByLocation">getAreaNameByLocation</a> <a href="#getAreaNameByLocation" >getAreaNameByLocation</a>
</li> </li>
<li> <li>
<a href="#getAreaNames">getAreaNames</a> <a href="#getAreaNames" >getAreaNames</a>
</li> </li>
<li> <li>
<a href="#getAreaTypeByArea">getAreaTypeByArea</a> <a href="#getAreaTypeByArea" >getAreaTypeByArea</a>
</li> </li>
<li> <li>
<a href="#getAreaTypes">getAreaTypes</a> <a href="#getAreaTypes" >getAreaTypes</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -190,9 +192,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getAreaNameByLocation"></a> <a name="getAreaNameByLocation"></a>
<span class="name"> <span class="name">
<b> <span ><b>getAreaNameByLocation</b></span>
getAreaNameByLocation
</b>
<a href="#getAreaNameByLocation"><span class="icon ion-ios-link"></span></a> <a href="#getAreaNameByLocation"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -272,9 +272,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getAreaNames"></a> <a name="getAreaNames"></a>
<span class="name"> <span class="name">
<b> <span ><b>getAreaNames</b></span>
getAreaNames
</b>
<a href="#getAreaNames"><span class="icon ion-ios-link"></span></a> <a href="#getAreaNames"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -311,9 +309,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getAreaTypeByArea"></a> <a name="getAreaTypeByArea"></a>
<span class="name"> <span class="name">
<b> <span ><b>getAreaTypeByArea</b></span>
getAreaTypeByArea
</b>
<a href="#getAreaTypeByArea"><span class="icon ion-ios-link"></span></a> <a href="#getAreaTypeByArea"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -327,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="47" <div class="io-line">Defined in <a href="" data-line="48"
class="link-to-prism">src/app/_services/location.service.ts:47</a></div> class="link-to-prism">src/app/_services/location.service.ts:48</a></div>
</td> </td>
</tr> </tr>
@ -393,9 +389,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getAreaTypes"></a> <a name="getAreaTypes"></a>
<span class="name"> <span class="name">
<b> <span ><b>getAreaTypes</b></span>
getAreaTypes
</b>
<a href="#getAreaTypes"><span class="icon ion-ios-link"></span></a> <a href="#getAreaTypes"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -409,8 +403,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="40" <div class="io-line">Defined in <a href="" data-line="41"
class="link-to-prism">src/app/_services/location.service.ts:40</a></div> class="link-to-prism">src/app/_services/location.service.ts:41</a></div>
</td> </td>
</tr> </tr>
@ -438,8 +432,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="areaNames"></a> <a name="areaNames"></a>
<span class="name"> <span class="name">
<b> <span ><b>areaNames</b></span>
areaNames</b>
<a href="#areaNames"><span class="icon ion-ios-link"></span></a> <a href="#areaNames"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -470,9 +463,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="areaNamesList"></a> <a name="areaNamesList"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Private</span> <span class="modifier">Private</span>
areaNamesList</b> <span ><b>areaNamesList</b></span>
<a href="#areaNamesList"><span class="icon ion-ios-link"></span></a> <a href="#areaNamesList"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -503,8 +495,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="areaNamesSubject"></a> <a name="areaNamesSubject"></a>
<span class="name"> <span class="name">
<b> <span ><b>areaNamesSubject</b></span>
areaNamesSubject</b>
<a href="#areaNamesSubject"><span class="icon ion-ios-link"></span></a> <a href="#areaNamesSubject"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -535,8 +526,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="areaTypes"></a> <a name="areaTypes"></a>
<span class="name"> <span class="name">
<b> <span ><b>areaTypes</b></span>
areaTypes</b>
<a href="#areaTypes"><span class="icon ion-ios-link"></span></a> <a href="#areaTypes"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -567,9 +557,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="areaTypesList"></a> <a name="areaTypesList"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Private</span> <span class="modifier">Private</span>
areaTypesList</b> <span ><b>areaTypesList</b></span>
<a href="#areaTypesList"><span class="icon ion-ios-link"></span></a> <a href="#areaTypesList"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -600,8 +589,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="areaTypesSubject"></a> <a name="areaTypesSubject"></a>
<span class="name"> <span class="name">
<b> <span ><b>areaTypesSubject</b></span>
areaTypesSubject</b>
<a href="#areaTypesSubject"><span class="icon ion-ios-link"></span></a> <a href="#areaTypesSubject"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -669,6 +657,7 @@ export class LocationService {
return queriedAreaName; return queriedAreaName;
} }
} }
return &#x27;other&#x27;;
} }
getAreaTypes(): void { getAreaTypes(): void {
@ -688,6 +677,7 @@ export class LocationService {
return queriedAreaType; return queriedAreaType;
} }
} }
return &#x27;other&#x27;;
} }
} }
</code></pre> </code></pre>
@ -729,9 +719,9 @@ export class LocationService {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -38,7 +39,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Injectables</li> <li>Injectables</li>
<li>LoggingService</li> <li >LoggingService</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -62,27 +63,11 @@
<section> <section>
<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="#canDebug">canDebug</a>
</li>
<li>
<a href="#env">env</a>
</li>
</ul>
</td>
</tr>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
@ -93,25 +78,25 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#sendDebugLevelMessage">sendDebugLevelMessage</a> <a href="#sendDebugLevelMessage" >sendDebugLevelMessage</a>
</li> </li>
<li> <li>
<a href="#sendErrorLevelMessage">sendErrorLevelMessage</a> <a href="#sendErrorLevelMessage" >sendErrorLevelMessage</a>
</li> </li>
<li> <li>
<a href="#sendFatalLevelMessage">sendFatalLevelMessage</a> <a href="#sendFatalLevelMessage" >sendFatalLevelMessage</a>
</li> </li>
<li> <li>
<a href="#sendInfoLevelMessage">sendInfoLevelMessage</a> <a href="#sendInfoLevelMessage" >sendInfoLevelMessage</a>
</li> </li>
<li> <li>
<a href="#sendLogLevelMessage">sendLogLevelMessage</a> <a href="#sendLogLevelMessage" >sendLogLevelMessage</a>
</li> </li>
<li> <li>
<a href="#sendTraceLevelMessage">sendTraceLevelMessage</a> <a href="#sendTraceLevelMessage" >sendTraceLevelMessage</a>
</li> </li>
<li> <li>
<a href="#sendWarnLevelMessage">sendWarnLevelMessage</a> <a href="#sendWarnLevelMessage" >sendWarnLevelMessage</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -136,7 +121,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="9" class="link-to-prism">src/app/_services/logging.service.ts:9</a></div> <div class="io-line">Defined in <a href="" data-line="7" class="link-to-prism">src/app/_services/logging.service.ts:7</a></div>
</td> </td>
</tr> </tr>
@ -185,9 +170,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="sendDebugLevelMessage"></a> <a name="sendDebugLevelMessage"></a>
<span class="name"> <span class="name">
<b> <span ><b>sendDebugLevelMessage</b></span>
sendDebugLevelMessage
</b>
<a href="#sendDebugLevelMessage"><span class="icon ion-ios-link"></span></a> <a href="#sendDebugLevelMessage"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -201,8 +184,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="22" <div class="io-line">Defined in <a href="" data-line="19"
class="link-to-prism">src/app/_services/logging.service.ts:22</a></div> class="link-to-prism">src/app/_services/logging.service.ts:19</a></div>
</td> </td>
</tr> </tr>
@ -279,9 +262,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="sendErrorLevelMessage"></a> <a name="sendErrorLevelMessage"></a>
<span class="name"> <span class="name">
<b> <span ><b>sendErrorLevelMessage</b></span>
sendErrorLevelMessage
</b>
<a href="#sendErrorLevelMessage"><span class="icon ion-ios-link"></span></a> <a href="#sendErrorLevelMessage"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -295,8 +276,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="38" <div class="io-line">Defined in <a href="" data-line="35"
class="link-to-prism">src/app/_services/logging.service.ts:38</a></div> class="link-to-prism">src/app/_services/logging.service.ts:35</a></div>
</td> </td>
</tr> </tr>
@ -373,9 +354,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="sendFatalLevelMessage"></a> <a name="sendFatalLevelMessage"></a>
<span class="name"> <span class="name">
<b> <span ><b>sendFatalLevelMessage</b></span>
sendFatalLevelMessage
</b>
<a href="#sendFatalLevelMessage"><span class="icon ion-ios-link"></span></a> <a href="#sendFatalLevelMessage"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -389,8 +368,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="42" <div class="io-line">Defined in <a href="" data-line="39"
class="link-to-prism">src/app/_services/logging.service.ts:42</a></div> class="link-to-prism">src/app/_services/logging.service.ts:39</a></div>
</td> </td>
</tr> </tr>
@ -467,9 +446,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="sendInfoLevelMessage"></a> <a name="sendInfoLevelMessage"></a>
<span class="name"> <span class="name">
<b> <span ><b>sendInfoLevelMessage</b></span>
sendInfoLevelMessage
</b>
<a href="#sendInfoLevelMessage"><span class="icon ion-ios-link"></span></a> <a href="#sendInfoLevelMessage"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -483,8 +460,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="26" <div class="io-line">Defined in <a href="" data-line="23"
class="link-to-prism">src/app/_services/logging.service.ts:26</a></div> class="link-to-prism">src/app/_services/logging.service.ts:23</a></div>
</td> </td>
</tr> </tr>
@ -537,9 +514,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="sendLogLevelMessage"></a> <a name="sendLogLevelMessage"></a>
<span class="name"> <span class="name">
<b> <span ><b>sendLogLevelMessage</b></span>
sendLogLevelMessage
</b>
<a href="#sendLogLevelMessage"><span class="icon ion-ios-link"></span></a> <a href="#sendLogLevelMessage"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -553,8 +528,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="30" <div class="io-line">Defined in <a href="" data-line="27"
class="link-to-prism">src/app/_services/logging.service.ts:30</a></div> class="link-to-prism">src/app/_services/logging.service.ts:27</a></div>
</td> </td>
</tr> </tr>
@ -631,9 +606,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="sendTraceLevelMessage"></a> <a name="sendTraceLevelMessage"></a>
<span class="name"> <span class="name">
<b> <span ><b>sendTraceLevelMessage</b></span>
sendTraceLevelMessage
</b>
<a href="#sendTraceLevelMessage"><span class="icon ion-ios-link"></span></a> <a href="#sendTraceLevelMessage"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -647,8 +620,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="18" <div class="io-line">Defined in <a href="" data-line="15"
class="link-to-prism">src/app/_services/logging.service.ts:18</a></div> class="link-to-prism">src/app/_services/logging.service.ts:15</a></div>
</td> </td>
</tr> </tr>
@ -725,9 +698,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="sendWarnLevelMessage"></a> <a name="sendWarnLevelMessage"></a>
<span class="name"> <span class="name">
<b> <span ><b>sendWarnLevelMessage</b></span>
sendWarnLevelMessage
</b>
<a href="#sendWarnLevelMessage"><span class="icon ion-ios-link"></span></a> <a href="#sendWarnLevelMessage"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -741,8 +712,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="34" <div class="io-line">Defined in <a href="" data-line="31"
class="link-to-prism">src/app/_services/logging.service.ts:34</a></div> class="link-to-prism">src/app/_services/logging.service.ts:31</a></div>
</td> </td>
</tr> </tr>
@ -802,66 +773,6 @@
</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="canDebug"></a>
<span class="name">
<b>
canDebug</b>
<a href="#canDebug"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="9" class="link-to-prism">src/app/_services/logging.service.ts:9</a></div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="env"></a>
<span class="name">
<b>
env</b>
<a href="#env"><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="8" class="link-to-prism">src/app/_services/logging.service.ts:8</a></div>
</td>
</tr>
</tbody>
</table>
</section>
</div> </div>
@ -874,9 +785,6 @@ import { NGXLogger } from &#x27;ngx-logger&#x27;;
providedIn: &#x27;root&#x27;, providedIn: &#x27;root&#x27;,
}) })
export class LoggingService { export class LoggingService {
env: string;
canDebug: boolean;
constructor(private logger: NGXLogger) { constructor(private logger: NGXLogger) {
// TRACE|DEBUG|INFO|LOG|WARN|ERROR|FATAL|OFF // TRACE|DEBUG|INFO|LOG|WARN|ERROR|FATAL|OFF
if (isDevMode()) { if (isDevMode()) {
@ -951,9 +859,9 @@ export class LoggingService {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -38,7 +39,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Injectables</li> <li>Injectables</li>
<li>RegistryService</li> <li >RegistryService</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -62,6 +63,7 @@
<section> <section>
<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">
@ -75,13 +77,23 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<span class="modifier">Private</span>
<span class="modifier">Static</span> <span class="modifier">Static</span>
<a href="#fileGetter">fileGetter</a> <a href="#accountRegistry" >accountRegistry</a>
</li>
<li>
<span class="modifier">Static</span>
<a href="#fileGetter" >fileGetter</a>
</li> </li>
<li> <li>
<span class="modifier">Private</span> <span class="modifier">Private</span>
<span class="modifier">Static</span> <span class="modifier">Static</span>
<a href="#registry">registry</a> <a href="#registry" >registry</a>
</li>
<li>
<span class="modifier">Private</span>
<span class="modifier">Static</span>
<a href="#tokenRegistry" >tokenRegistry</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -98,7 +110,17 @@
<li> <li>
<span class="modifier">Static</span> <span class="modifier">Static</span>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#getRegistry">getRegistry</a> <a href="#getAccountRegistry" >getAccountRegistry</a>
</li>
<li>
<span class="modifier">Static</span>
<span class="modifier">Async</span>
<a href="#getRegistry" >getRegistry</a>
</li>
<li>
<span class="modifier">Static</span>
<span class="modifier">Async</span>
<a href="#getTokenRegistry" >getTokenRegistry</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -112,24 +134,6 @@
</table> </table>
</section> </section>
<section>
<h3 id="constructor">Constructor</h3>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<code>constructor()</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/registry.service.ts:12</a></div>
</td>
</tr>
</tbody>
</table>
</section>
<section> <section>
@ -140,13 +144,51 @@
<tbody> <tbody>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="getRegistry"></a> <a name="getAccountRegistry"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Static</span> <span class="modifier">Static</span>
<span class="modifier">Async</span> <span class="modifier">Async</span>
getRegistry <span ><b>getAccountRegistry</b></span>
</b> <a href="#getAccountRegistry"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<span class="modifier-icon icon ion-ios-reset"></span>
<code>getAccountRegistry()</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="50"
class="link-to-prism">src/app/_services/registry.service.ts:50</a></div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-description">
<b>Returns : </b> <code><a href="../classes/AccountIndex.html" target="_self" >Promise&lt;AccountIndex&gt;</a></code>
</div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="getRegistry"></a>
<span class="name">
<span class="modifier">Static</span>
<span class="modifier">Async</span>
<span ><b>getRegistry</b></span>
<a href="#getRegistry"><span class="icon ion-ios-link"></span></a> <a href="#getRegistry"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -161,8 +203,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="16" <div class="io-line">Defined in <a href="" data-line="17"
class="link-to-prism">src/app/_services/registry.service.ts:16</a></div> class="link-to-prism">src/app/_services/registry.service.ts:17</a></div>
</td> </td>
</tr> </tr>
@ -178,21 +220,88 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="getTokenRegistry"></a>
<span class="name">
<span class="modifier">Static</span>
<span class="modifier">Async</span>
<span ><b>getTokenRegistry</b></span>
<a href="#getTokenRegistry"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<span class="modifier-icon icon ion-ios-reset"></span>
<code>getTokenRegistry()</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="35"
class="link-to-prism">src/app/_services/registry.service.ts:35</a></div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-description">
<b>Returns : </b> <code><a href="../interfaces/Token.html" target="_self" >Promise&lt;TokenRegistry&gt;</a></code>
</div>
</td>
</tr>
</tbody>
</table>
</section> </section>
<section> <section>
<h3 id="inputs"> <h3 id="inputs">
Properties Properties
</h3> </h3>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="accountRegistry"></a>
<span class="name">
<span class="modifier">Private</span>
<span class="modifier">Static</span>
<span ><b>accountRegistry</b></span>
<a href="#accountRegistry"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="../classes/AccountIndex.html" target="_self" >AccountIndex</a></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/registry.service.ts:15</a></div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered"> <table class="table table-sm table-bordered">
<tbody> <tbody>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="fileGetter"></a> <a name="fileGetter"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Static</span> <span class="modifier">Static</span>
fileGetter</b> <span ><b>fileGetter</b></span>
<a href="#fileGetter"><span class="icon ion-ios-link"></span></a> <a href="#fileGetter"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -210,7 +319,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="11" class="link-to-prism">src/app/_services/registry.service.ts:11</a></div> <div class="io-line">Defined in <a href="" data-line="12" class="link-to-prism">src/app/_services/registry.service.ts:12</a></div>
</td> </td>
</tr> </tr>
@ -223,10 +332,9 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="registry"></a> <a name="registry"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Private</span> <span class="modifier">Private</span>
<span class="modifier">Static</span> <span class="modifier">Static</span>
registry</b> <span ><b>registry</b></span>
<a href="#registry"><span class="icon ion-ios-link"></span></a> <a href="#registry"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -239,7 +347,35 @@
</tr> </tr>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="12" class="link-to-prism">src/app/_services/registry.service.ts:12</a></div> <div class="io-line">Defined in <a href="" data-line="13" class="link-to-prism">src/app/_services/registry.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="tokenRegistry"></a>
<span class="name">
<span class="modifier">Private</span>
<span class="modifier">Static</span>
<span ><b>tokenRegistry</b></span>
<a href="#tokenRegistry"><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" >TokenRegistry</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="14" class="link-to-prism">src/app/_services/registry.service.ts:14</a></div>
</td> </td>
</tr> </tr>
@ -255,6 +391,7 @@
<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 { environment } from &#x27;@src/environments/environment&#x27;; import { environment } from &#x27;@src/environments/environment&#x27;;
import { CICRegistry, FileGetter } from &#x27;@cicnet/cic-client&#x27;; import { CICRegistry, FileGetter } from &#x27;@cicnet/cic-client&#x27;;
import { TokenRegistry, AccountIndex } from &#x27;@app/_eth&#x27;;
import { HttpGetter } from &#x27;@app/_helpers&#x27;; import { HttpGetter } from &#x27;@app/_helpers&#x27;;
import { Web3Service } from &#x27;@app/_services/web3.service&#x27;; import { Web3Service } from &#x27;@app/_services/web3.service&#x27;;
@ -264,10 +401,11 @@ import { Web3Service } from &#x27;@app/_services/web3.service&#x27;;
export class RegistryService { export class RegistryService {
static fileGetter: FileGetter &#x3D; new HttpGetter(); static fileGetter: FileGetter &#x3D; new HttpGetter();
private static registry: CICRegistry; private static registry: CICRegistry;
private static tokenRegistry: TokenRegistry;
constructor() {} private static accountRegistry: AccountIndex;
public static async getRegistry(): Promise&lt;CICRegistry&gt; { public static async getRegistry(): Promise&lt;CICRegistry&gt; {
return new Promise(async (resolve, reject) &#x3D;&gt; {
if (!RegistryService.registry) { if (!RegistryService.registry) {
RegistryService.registry &#x3D; new CICRegistry( RegistryService.registry &#x3D; new CICRegistry(
Web3Service.getInstance(), Web3Service.getInstance(),
@ -278,8 +416,41 @@ export class RegistryService {
); );
RegistryService.registry.declaratorHelper.addTrust(environment.trustedDeclaratorAddress); RegistryService.registry.declaratorHelper.addTrust(environment.trustedDeclaratorAddress);
await RegistryService.registry.load(); await RegistryService.registry.load();
return resolve(RegistryService.registry);
} }
return RegistryService.registry; return resolve(RegistryService.registry);
});
}
public static async getTokenRegistry(): Promise&lt;TokenRegistry&gt; {
return new Promise(async (resolve, reject) &#x3D;&gt; {
if (!RegistryService.tokenRegistry) {
const registry &#x3D; await RegistryService.getRegistry();
const tokenRegistryAddress &#x3D; await registry.getContractAddressByName(&#x27;TokenRegistry&#x27;);
if (!tokenRegistryAddress) {
return reject(&#x27;Unable to initialize Token Registry&#x27;);
}
RegistryService.tokenRegistry &#x3D; new TokenRegistry(tokenRegistryAddress);
return resolve(RegistryService.tokenRegistry);
}
return resolve(RegistryService.tokenRegistry);
});
}
public static async getAccountRegistry(): Promise&lt;AccountIndex&gt; {
return new Promise(async (resolve, reject) &#x3D;&gt; {
if (!RegistryService.accountRegistry) {
const registry &#x3D; await RegistryService.getRegistry();
const accountRegistryAddress &#x3D; await registry.getContractAddressByName(&#x27;AccountRegistry&#x27;);
if (!accountRegistryAddress) {
return reject(&#x27;Unable to initialize Account Registry&#x27;);
}
RegistryService.accountRegistry &#x3D; new AccountIndex(accountRegistryAddress);
return resolve(RegistryService.accountRegistry);
}
return resolve(RegistryService.accountRegistry);
});
} }
} }
</code></pre> </code></pre>
@ -321,9 +492,9 @@ export class RegistryService {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -38,7 +39,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Injectables</li> <li>Injectables</li>
<li>TokenService</li> <li >TokenService</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -62,6 +63,7 @@
<section> <section>
<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">
@ -75,23 +77,23 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#load">load</a> <a href="#load" >load</a>
</li> </li>
<li> <li>
<a href="#registry">registry</a> <a href="#registry" >registry</a>
</li> </li>
<li> <li>
<a href="#tokenRegistry">tokenRegistry</a> <a href="#tokenRegistry" >tokenRegistry</a>
</li> </li>
<li> <li>
<a href="#tokens">tokens</a> <a href="#tokens" >tokens</a>
</li> </li>
<li> <li>
<span class="modifier">Private</span> <span class="modifier">Private</span>
<a href="#tokensList">tokensList</a> <a href="#tokensList" >tokensList</a>
</li> </li>
<li> <li>
<a href="#tokensSubject">tokensSubject</a> <a href="#tokensSubject" >tokensSubject</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -106,35 +108,35 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#addToken">addToken</a> <a href="#addToken" >addToken</a>
</li> </li>
<li> <li>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#getTokenBalance">getTokenBalance</a> <a href="#getTokenBalance" >getTokenBalance</a>
</li> </li>
<li> <li>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#getTokenByAddress">getTokenByAddress</a> <a href="#getTokenByAddress" >getTokenByAddress</a>
</li> </li>
<li> <li>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#getTokenBySymbol">getTokenBySymbol</a> <a href="#getTokenBySymbol" >getTokenBySymbol</a>
</li> </li>
<li> <li>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#getTokenName">getTokenName</a> <a href="#getTokenName" >getTokenName</a>
</li> </li>
<li> <li>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#getTokens">getTokens</a> <a href="#getTokens" >getTokens</a>
</li> </li>
<li> <li>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#getTokenSymbol">getTokenSymbol</a> <a href="#getTokenSymbol" >getTokenSymbol</a>
</li> </li>
<li> <li>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#init">init</a> <a href="#init" >init</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -178,24 +180,22 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="addToken"></a> <a name="addToken"></a>
<span class="name"> <span class="name">
<b> <span ><b>addToken</b></span>
addToken
</b>
<a href="#addToken"><span class="icon ion-ios-link"></span></a> <a href="#addToken"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<code>addToken(token: <a href="../interfaces/Token.html">Token</a>)</code> <code>addToken(token: <a href="../interfaces/Token.html" target="_self">Token</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="31" <div class="io-line">Defined in <a href="" data-line="29"
class="link-to-prism">src/app/_services/token.service.ts:31</a></div> class="link-to-prism">src/app/_services/token.service.ts:29</a></div>
</td> </td>
</tr> </tr>
@ -248,10 +248,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getTokenBalance"></a> <a name="getTokenBalance"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Async</span> <span class="modifier">Async</span>
getTokenBalance <span ><b>getTokenBalance</b></span>
</b>
<a href="#getTokenBalance"><span class="icon ion-ios-link"></span></a> <a href="#getTokenBalance"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -266,8 +264,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="72" <div class="io-line">Defined in <a href="" data-line="70"
class="link-to-prism">src/app/_services/token.service.ts:72</a></div> class="link-to-prism">src/app/_services/token.service.ts:70</a></div>
</td> </td>
</tr> </tr>
@ -320,10 +318,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getTokenByAddress"></a> <a name="getTokenByAddress"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Async</span> <span class="modifier">Async</span>
getTokenByAddress <span ><b>getTokenByAddress</b></span>
</b>
<a href="#getTokenByAddress"><span class="icon ion-ios-link"></span></a> <a href="#getTokenByAddress"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -338,8 +334,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="51" <div class="io-line">Defined in <a href="" data-line="49"
class="link-to-prism">src/app/_services/token.service.ts:51</a></div> class="link-to-prism">src/app/_services/token.service.ts:49</a></div>
</td> </td>
</tr> </tr>
@ -392,10 +388,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getTokenBySymbol"></a> <a name="getTokenBySymbol"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Async</span> <span class="modifier">Async</span>
getTokenBySymbol <span ><b>getTokenBySymbol</b></span>
</b>
<a href="#getTokenBySymbol"><span class="icon ion-ios-link"></span></a> <a href="#getTokenBySymbol"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -410,8 +404,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="62" <div class="io-line">Defined in <a href="" data-line="60"
class="link-to-prism">src/app/_services/token.service.ts:62</a></div> class="link-to-prism">src/app/_services/token.service.ts:60</a></div>
</td> </td>
</tr> </tr>
@ -464,10 +458,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getTokenName"></a> <a name="getTokenName"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Async</span> <span class="modifier">Async</span>
getTokenName <span ><b>getTokenName</b></span>
</b>
<a href="#getTokenName"><span class="icon ion-ios-link"></span></a> <a href="#getTokenName"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -482,8 +474,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="77" <div class="io-line">Defined in <a href="" data-line="75"
class="link-to-prism">src/app/_services/token.service.ts:77</a></div> class="link-to-prism">src/app/_services/token.service.ts:75</a></div>
</td> </td>
</tr> </tr>
@ -505,10 +497,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getTokens"></a> <a name="getTokens"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Async</span> <span class="modifier">Async</span>
getTokens <span ><b>getTokens</b></span>
</b>
<a href="#getTokens"><span class="icon ion-ios-link"></span></a> <a href="#getTokens"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -523,8 +513,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="43" <div class="io-line">Defined in <a href="" data-line="41"
class="link-to-prism">src/app/_services/token.service.ts:43</a></div> class="link-to-prism">src/app/_services/token.service.ts:41</a></div>
</td> </td>
</tr> </tr>
@ -546,10 +536,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getTokenSymbol"></a> <a name="getTokenSymbol"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Async</span> <span class="modifier">Async</span>
getTokenSymbol <span ><b>getTokenSymbol</b></span>
</b>
<a href="#getTokenSymbol"><span class="icon ion-ios-link"></span></a> <a href="#getTokenSymbol"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -564,8 +552,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="82" <div class="io-line">Defined in <a href="" data-line="80"
class="link-to-prism">src/app/_services/token.service.ts:82</a></div> class="link-to-prism">src/app/_services/token.service.ts:80</a></div>
</td> </td>
</tr> </tr>
@ -587,10 +575,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="init"></a> <a name="init"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Async</span> <span class="modifier">Async</span>
init <span ><b>init</b></span>
</b>
<a href="#init"><span class="icon ion-ios-link"></span></a> <a href="#init"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -634,8 +620,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="load"></a> <a name="load"></a>
<span class="name"> <span class="name">
<b> <span ><b>load</b></span>
load</b>
<a href="#load"><span class="icon ion-ios-link"></span></a> <a href="#load"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -666,8 +651,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="registry"></a> <a name="registry"></a>
<span class="name"> <span class="name">
<b> <span ><b>registry</b></span>
registry</b>
<a href="#registry"><span class="icon ion-ios-link"></span></a> <a href="#registry"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -693,8 +677,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="tokenRegistry"></a> <a name="tokenRegistry"></a>
<span class="name"> <span class="name">
<b> <span ><b>tokenRegistry</b></span>
tokenRegistry</b>
<a href="#tokenRegistry"><span class="icon ion-ios-link"></span></a> <a href="#tokenRegistry"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -720,8 +703,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="tokens"></a> <a name="tokens"></a>
<span class="name"> <span class="name">
<b> <span ><b>tokens</b></span>
tokens</b>
<a href="#tokens"><span class="icon ion-ios-link"></span></a> <a href="#tokens"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -752,9 +734,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="tokensList"></a> <a name="tokensList"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Private</span> <span class="modifier">Private</span>
tokensList</b> <span ><b>tokensList</b></span>
<a href="#tokensList"><span class="icon ion-ios-link"></span></a> <a href="#tokensList"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -787,8 +768,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="tokensSubject"></a> <a name="tokensSubject"></a>
<span class="name"> <span class="name">
<b> <span ><b>tokensSubject</b></span>
tokensSubject</b>
<a href="#tokensSubject"><span class="icon ion-ios-link"></span></a> <a href="#tokensSubject"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -843,9 +823,7 @@ export class TokenService {
async init(): Promise&lt;void&gt; { async init(): Promise&lt;void&gt; {
this.registry &#x3D; await RegistryService.getRegistry(); this.registry &#x3D; await RegistryService.getRegistry();
this.tokenRegistry &#x3D; new TokenRegistry( this.tokenRegistry &#x3D; await RegistryService.getTokenRegistry();
await this.registry.getContractAddressByName(&#x27;TokenRegistry&#x27;)
);
this.load.next(true); this.load.next(true);
} }
@ -944,9 +922,9 @@ export class TokenService {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -38,7 +39,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Injectables</li> <li>Injectables</li>
<li>TransactionService</li> <li >TransactionService</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -62,6 +63,7 @@
<section> <section>
<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">
@ -75,23 +77,20 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#registry">registry</a> <a href="#registry" >registry</a>
</li> </li>
<li> <li>
<span class="modifier">Private</span> <span class="modifier">Private</span>
<a href="#transactionList">transactionList</a> <a href="#transactionList" >transactionList</a>
</li> </li>
<li> <li>
<a href="#transactions">transactions</a> <a href="#transactions" >transactions</a>
</li> </li>
<li> <li>
<a href="#transactionsSubject">transactionsSubject</a> <a href="#transactionsSubject" >transactionsSubject</a>
</li> </li>
<li> <li>
<a href="#userInfo">userInfo</a> <a href="#web3" >web3</a>
</li>
<li>
<a href="#web3">web3</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -106,35 +105,35 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#addTransaction">addTransaction</a> <a href="#addTransaction" >addTransaction</a>
</li> </li>
<li> <li>
<a href="#getAccountInfo">getAccountInfo</a> <a href="#getAccountInfo" >getAccountInfo</a>
</li> </li>
<li> <li>
<a href="#getAddressTransactions">getAddressTransactions</a> <a href="#getAddressTransactions" >getAddressTransactions</a>
</li> </li>
<li> <li>
<a href="#getAllTransactions">getAllTransactions</a> <a href="#getAllTransactions" >getAllTransactions</a>
</li> </li>
<li> <li>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#init">init</a> <a href="#init" >init</a>
</li> </li>
<li> <li>
<a href="#resetTransactionsList">resetTransactionsList</a> <a href="#resetTransactionsList" >resetTransactionsList</a>
</li> </li>
<li> <li>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#setConversion">setConversion</a> <a href="#setConversion" >setConversion</a>
</li> </li>
<li> <li>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#setTransaction">setTransaction</a> <a href="#setTransaction" >setTransaction</a>
</li> </li>
<li> <li>
<span class="modifier">Async</span> <span class="modifier">Async</span>
<a href="#transferRequest">transferRequest</a> <a href="#transferRequest" >transferRequest</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -154,12 +153,12 @@
<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>, authService: <a href="../injectables/AuthService.html">AuthService</a>, userService: <a href="../injectables/UserService.html">UserService</a>, loggingService: <a href="../injectables/LoggingService.html">LoggingService</a>)</code> <code>constructor(httpClient: <a href="https://angular.io/api/common/http/HttpClient" target="_blank">HttpClient</a>, userService: <a href="../injectables/UserService.html" target="_self">UserService</a>, loggingService: <a href="../injectables/LoggingService.html" target="_self">LoggingService</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="33" class="link-to-prism">src/app/_services/transaction.service.ts:33</a></div> <div class="io-line">Defined in <a href="" data-line="31" class="link-to-prism">src/app/_services/transaction.service.ts:31</a></div>
</td> </td>
</tr> </tr>
@ -187,18 +186,6 @@
No No
</td> </td>
</tr>
<tr>
<td>authService</td>
<td>
<code><a href="../injectables/AuthService.html" target="_self" >AuthService</a></code>
</td>
<td>
No
</td>
</tr> </tr>
<tr> <tr>
<td>userService</td> <td>userService</td>
@ -244,9 +231,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="addTransaction"></a> <a name="addTransaction"></a>
<span class="name"> <span class="name">
<b> <span ><b>addTransaction</b></span>
addTransaction
</b>
<a href="#addTransaction"><span class="icon ion-ios-link"></span></a> <a href="#addTransaction"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -260,8 +245,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="143" <div class="io-line">Defined in <a href="" data-line="138"
class="link-to-prism">src/app/_services/transaction.service.ts:143</a></div> class="link-to-prism">src/app/_services/transaction.service.ts:138</a></div>
</td> </td>
</tr> </tr>
@ -325,9 +310,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getAccountInfo"></a> <a name="getAccountInfo"></a>
<span class="name"> <span class="name">
<b> <span ><b>getAccountInfo</b></span>
getAccountInfo
</b>
<a href="#getAccountInfo"><span class="icon ion-ios-link"></span></a> <a href="#getAccountInfo"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -341,8 +324,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="158"
class="link-to-prism">src/app/_services/transaction.service.ts:163</a></div> class="link-to-prism">src/app/_services/transaction.service.ts:158</a></div>
</td> </td>
</tr> </tr>
@ -413,9 +396,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getAddressTransactions"></a> <a name="getAddressTransactions"></a>
<span class="name"> <span class="name">
<b> <span ><b>getAddressTransactions</b></span>
getAddressTransactions
</b>
<a href="#getAddressTransactions"><span class="icon ion-ios-link"></span></a> <a href="#getAddressTransactions"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -429,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="54" <div class="io-line">Defined in <a href="" data-line="49"
class="link-to-prism">src/app/_services/transaction.service.ts:54</a></div> class="link-to-prism">src/app/_services/transaction.service.ts:49</a></div>
</td> </td>
</tr> </tr>
@ -507,9 +488,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getAllTransactions"></a> <a name="getAllTransactions"></a>
<span class="name"> <span class="name">
<b> <span ><b>getAllTransactions</b></span>
getAllTransactions
</b>
<a href="#getAllTransactions"><span class="icon ion-ios-link"></span></a> <a href="#getAllTransactions"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -523,8 +502,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="50" <div class="io-line">Defined in <a href="" data-line="45"
class="link-to-prism">src/app/_services/transaction.service.ts:50</a></div> class="link-to-prism">src/app/_services/transaction.service.ts:45</a></div>
</td> </td>
</tr> </tr>
@ -589,10 +568,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="init"></a> <a name="init"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Async</span> <span class="modifier">Async</span>
init <span ><b>init</b></span>
</b>
<a href="#init"><span class="icon ion-ios-link"></span></a> <a href="#init"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -607,8 +584,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="41"
class="link-to-prism">src/app/_services/transaction.service.ts:44</a></div> class="link-to-prism">src/app/_services/transaction.service.ts:41</a></div>
</td> </td>
</tr> </tr>
@ -630,9 +607,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="resetTransactionsList"></a> <a name="resetTransactionsList"></a>
<span class="name"> <span class="name">
<b> <span ><b>resetTransactionsList</b></span>
resetTransactionsList
</b>
<a href="#resetTransactionsList"><span class="icon ion-ios-link"></span></a> <a href="#resetTransactionsList"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -646,8 +621,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="158" <div class="io-line">Defined in <a href="" data-line="153"
class="link-to-prism">src/app/_services/transaction.service.ts:158</a></div> class="link-to-prism">src/app/_services/transaction.service.ts:153</a></div>
</td> </td>
</tr> </tr>
@ -669,10 +644,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="setConversion"></a> <a name="setConversion"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Async</span> <span class="modifier">Async</span>
setConversion <span ><b>setConversion</b></span>
</b>
<a href="#setConversion"><span class="icon ion-ios-link"></span></a> <a href="#setConversion"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -687,8 +660,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="110" <div class="io-line">Defined in <a href="" data-line="105"
class="link-to-prism">src/app/_services/transaction.service.ts:110</a></div> class="link-to-prism">src/app/_services/transaction.service.ts:105</a></div>
</td> </td>
</tr> </tr>
@ -746,10 +719,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="setTransaction"></a> <a name="setTransaction"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Async</span> <span class="modifier">Async</span>
setTransaction <span ><b>setTransaction</b></span>
</b>
<a href="#setTransaction"><span class="icon ion-ios-link"></span></a> <a href="#setTransaction"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -764,8 +735,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="58" <div class="io-line">Defined in <a href="" data-line="53"
class="link-to-prism">src/app/_services/transaction.service.ts:58</a></div> class="link-to-prism">src/app/_services/transaction.service.ts:53</a></div>
</td> </td>
</tr> </tr>
@ -829,10 +800,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="transferRequest"></a> <a name="transferRequest"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Async</span> <span class="modifier">Async</span>
transferRequest <span ><b>transferRequest</b></span>
</b>
<a href="#transferRequest"><span class="icon ion-ios-link"></span></a> <a href="#transferRequest"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -847,8 +816,8 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="170" <div class="io-line">Defined in <a href="" data-line="165"
class="link-to-prism">src/app/_services/transaction.service.ts:170</a></div> class="link-to-prism">src/app/_services/transaction.service.ts:165</a></div>
</td> </td>
</tr> </tr>
@ -943,8 +912,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="registry"></a> <a name="registry"></a>
<span class="name"> <span class="name">
<b> <span ><b>registry</b></span>
registry</b>
<a href="#registry"><span class="icon ion-ios-link"></span></a> <a href="#registry"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -957,7 +925,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="33" class="link-to-prism">src/app/_services/transaction.service.ts:33</a></div> <div class="io-line">Defined in <a href="" data-line="31" class="link-to-prism">src/app/_services/transaction.service.ts:31</a></div>
</td> </td>
</tr> </tr>
@ -970,9 +938,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="transactionList"></a> <a name="transactionList"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Private</span> <span class="modifier">Private</span>
transactionList</b> <span ><b>transactionList</b></span>
<a href="#transactionList"><span class="icon ion-ios-link"></span></a> <a href="#transactionList"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -984,7 +951,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="29" class="link-to-prism">src/app/_services/transaction.service.ts:29</a></div> <div class="io-line">Defined in <a href="" data-line="28" class="link-to-prism">src/app/_services/transaction.service.ts:28</a></div>
</td> </td>
</tr> </tr>
@ -997,8 +964,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="transactions"></a> <a name="transactions"></a>
<span class="name"> <span class="name">
<b> <span ><b>transactions</b></span>
transactions</b>
<a href="#transactions"><span class="icon ion-ios-link"></span></a> <a href="#transactions"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1016,7 +982,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/_services/transaction.service.ts:28</a></div> <div class="io-line">Defined in <a href="" data-line="27" class="link-to-prism">src/app/_services/transaction.service.ts:27</a></div>
</td> </td>
</tr> </tr>
@ -1029,8 +995,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="transactionsSubject"></a> <a name="transactionsSubject"></a>
<span class="name"> <span class="name">
<b> <span ><b>transactionsSubject</b></span>
transactionsSubject</b>
<a href="#transactionsSubject"><span class="icon ion-ios-link"></span></a> <a href="#transactionsSubject"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1042,34 +1007,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="30" class="link-to-prism">src/app/_services/transaction.service.ts:30</a></div> <div class="io-line">Defined in <a href="" data-line="29" class="link-to-prism">src/app/_services/transaction.service.ts:29</a></div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="userInfo"></a>
<span class="name">
<b>
userInfo</b>
<a href="#userInfo"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="31" class="link-to-prism">src/app/_services/transaction.service.ts:31</a></div>
</td> </td>
</tr> </tr>
@ -1082,8 +1020,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="web3"></a> <a name="web3"></a>
<span class="name"> <span class="name">
<b> <span ><b>web3</b></span>
web3</b>
<a href="#web3"><span class="icon ion-ios-link"></span></a> <a href="#web3"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1096,7 +1033,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="32" class="link-to-prism">src/app/_services/transaction.service.ts:32</a></div> <div class="io-line">Defined in <a href="" data-line="30" class="link-to-prism">src/app/_services/transaction.service.ts:30</a></div>
</td> </td>
</tr> </tr>
@ -1121,7 +1058,6 @@ import { add0x, fromHex, strip0x, toHex } from &#x27;@src/assets/js/ethtx/dist/h
import { Tx } from &#x27;@src/assets/js/ethtx/dist&#x27;; import { Tx } from &#x27;@src/assets/js/ethtx/dist&#x27;;
import { toValue } from &#x27;@src/assets/js/ethtx/dist/tx&#x27;; import { toValue } from &#x27;@src/assets/js/ethtx/dist/tx&#x27;;
import * as secp256k1 from &#x27;secp256k1&#x27;; import * as secp256k1 from &#x27;secp256k1&#x27;;
import { AuthService } from &#x27;@app/_services/auth.service&#x27;;
import { defaultAccount } from &#x27;@app/_models&#x27;; import { defaultAccount } from &#x27;@app/_models&#x27;;
import { LoggingService } from &#x27;@app/_services/logging.service&#x27;; import { LoggingService } from &#x27;@app/_services/logging.service&#x27;;
import { HttpClient } from &#x27;@angular/common/http&#x27;; import { HttpClient } from &#x27;@angular/common/http&#x27;;
@ -1139,13 +1075,11 @@ export class TransactionService {
transactions: any[] &#x3D; []; transactions: any[] &#x3D; [];
private transactionList &#x3D; new BehaviorSubject&lt;any[]&gt;(this.transactions); private transactionList &#x3D; new BehaviorSubject&lt;any[]&gt;(this.transactions);
transactionsSubject &#x3D; this.transactionList.asObservable(); transactionsSubject &#x3D; this.transactionList.asObservable();
userInfo: any;
web3: Web3; web3: Web3;
registry: CICRegistry; registry: CICRegistry;
constructor( constructor(
private httpClient: HttpClient, private httpClient: HttpClient,
private authService: AuthService,
private userService: UserService, private userService: UserService,
private loggingService: LoggingService private loggingService: LoggingService
) { ) {
@ -1153,8 +1087,6 @@ export class TransactionService {
} }
async init(): Promise&lt;void&gt; { async init(): Promise&lt;void&gt; {
await this.authService.init();
await this.userService.init();
this.registry &#x3D; await RegistryService.getRegistry(); this.registry &#x3D; await RegistryService.getRegistry();
} }
@ -1292,7 +1224,7 @@ export class TransactionService {
const hash &#x3D; hashFunction.digest(); const hash &#x3D; hashFunction.digest();
const methodSignature &#x3D; hash.toString(&#x27;hex&#x27;).substring(0, 8); const methodSignature &#x3D; hash.toString(&#x27;hex&#x27;).substring(0, 8);
const abiCoder &#x3D; new utils.AbiCoder(); const abiCoder &#x3D; new utils.AbiCoder();
const abi &#x3D; await abiCoder.encode( const abi &#x3D; abiCoder.encode(
[&#x27;address&#x27;, &#x27;address&#x27;, &#x27;address&#x27;, &#x27;uint256&#x27;], [&#x27;address&#x27;, &#x27;address&#x27;, &#x27;address&#x27;, &#x27;uint256&#x27;],
[senderAddress, recipientAddress, tokenAddress, value] [senderAddress, recipientAddress, tokenAddress, value]
); );
@ -1362,9 +1294,9 @@ export class TransactionService {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

File diff suppressed because it is too large Load Diff

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -38,7 +39,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Injectables</li> <li>Injectables</li>
<li>Web3Service</li> <li >Web3Service</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -62,6 +63,7 @@
<section> <section>
<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">
@ -77,7 +79,7 @@
<li> <li>
<span class="modifier">Private</span> <span class="modifier">Private</span>
<span class="modifier">Static</span> <span class="modifier">Static</span>
<a href="#web3">web3</a> <a href="#web3" >web3</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -93,7 +95,7 @@
<ul class="index-list"> <ul class="index-list">
<li> <li>
<span class="modifier">Static</span> <span class="modifier">Static</span>
<a href="#getInstance">getInstance</a> <a href="#getInstance" >getInstance</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -137,10 +139,8 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getInstance"></a> <a name="getInstance"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Static</span> <span class="modifier">Static</span>
getInstance <span ><b>getInstance</b></span>
</b>
<a href="#getInstance"><span class="icon ion-ios-link"></span></a> <a href="#getInstance"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -184,10 +184,9 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="web3"></a> <a name="web3"></a>
<span class="name"> <span class="name">
<b>
<span class="modifier">Private</span> <span class="modifier">Private</span>
<span class="modifier">Static</span> <span class="modifier">Static</span>
web3</b> <span ><b>web3</b></span>
<a href="#web3"><span class="icon ion-ios-link"></span></a> <a href="#web3"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -271,9 +270,9 @@ export class Web3Service {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -39,7 +40,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Interceptors</li> <li>Interceptors</li>
<li>ConnectionInterceptor</li> <li >ConnectionInterceptor</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -60,11 +61,12 @@
<code>src/app/_interceptors/connection.interceptor.ts</code> <code>src/app/_interceptors/connection.interceptor.ts</code>
</p> </p>
<p class="comment"> <p class="comment">
<h3>Description</h3> <h3>Description</h3>
</p> </p>
<p class="comment"> <p class="comment">
<p>Intercepts and handles of events from outgoing HTTP request. </p> <p>Intercepts and handles of events from outgoing HTTP request.</p>
</p> </p>
@ -83,7 +85,7 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#intercept">intercept</a> <a href="#intercept" >intercept</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -103,7 +105,7 @@
<tbody> <tbody>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<code>constructor(loggingService: <a href="../injectables/LoggingService.html">LoggingService</a>)</code> <code>constructor(loggingService: <a href="../injectables/LoggingService.html" target="_self">LoggingService</a>)</code>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -166,16 +168,14 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="intercept"></a> <a name="intercept"></a>
<span class="name"> <span class="name">
<b> <span ><b>intercept</b></span>
intercept
</b>
<a href="#intercept"><span class="icon ion-ios-link"></span></a> <a href="#intercept"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<code>intercept(request: HttpRequest<unknown>, next: <a href="https://angular.io/api/common/http/HttpHandler" target="_blank">HttpHandler</a>)</code> <code>intercept(request: HttpRequest<>, next: <a href="https://angular.io/api/common/http/HttpHandler" target="_blank">HttpHandler</a>)</code>
</td> </td>
</tr> </tr>
@ -208,7 +208,7 @@
<tr> <tr>
<td>request</td> <td>request</td>
<td> <td>
<code>HttpRequest&lt;unknown&gt;</code> <code>HttpRequest&lt;&gt;</code>
</td> </td>
<td> <td>
@ -247,7 +247,7 @@
<div> <div>
</div> </div>
<div class="io-description"> <div class="io-description">
<b>Returns : </b> <code>Observable&lt;HttpEvent&lt;unknown&gt;&gt;</code> <b>Returns : </b> <code>Observable&lt;HttpEvent&lt;&gt;&gt;</code>
</div> </div>
<div class="io-description"> <div class="io-description">
@ -342,9 +342,9 @@ export class ConnectionInterceptor implements HttpInterceptor {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -39,7 +40,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Interceptors</li> <li>Interceptors</li>
<li>ErrorInterceptor</li> <li >ErrorInterceptor</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -60,11 +61,12 @@
<code>src/app/_interceptors/error.interceptor.ts</code> <code>src/app/_interceptors/error.interceptor.ts</code>
</p> </p>
<p class="comment"> <p class="comment">
<h3>Description</h3> <h3>Description</h3>
</p> </p>
<p class="comment"> <p class="comment">
<p>Intercepts and handles errors from outgoing HTTP request. </p> <p>Intercepts and handles errors from outgoing HTTP request.</p>
</p> </p>
@ -83,7 +85,7 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#intercept">intercept</a> <a href="#intercept" >intercept</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -103,7 +105,7 @@
<tbody> <tbody>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<code>constructor(errorDialogService: <a href="../injectables/ErrorDialogService.html">ErrorDialogService</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(errorDialogService: <a href="../injectables/ErrorDialogService.html" target="_self">ErrorDialogService</a>, loggingService: <a href="../injectables/LoggingService.html" target="_self">LoggingService</a>, router: <a href="https://angular.io/api/router/Router" target="_blank">Router</a>)</code>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -202,16 +204,14 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="intercept"></a> <a name="intercept"></a>
<span class="name"> <span class="name">
<b> <span ><b>intercept</b></span>
intercept
</b>
<a href="#intercept"><span class="icon ion-ios-link"></span></a> <a href="#intercept"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<code>intercept(request: HttpRequest<unknown>, next: <a href="https://angular.io/api/common/http/HttpHandler" target="_blank">HttpHandler</a>)</code> <code>intercept(request: HttpRequest<>, next: <a href="https://angular.io/api/common/http/HttpHandler" target="_blank">HttpHandler</a>)</code>
</td> </td>
</tr> </tr>
@ -244,7 +244,7 @@
<tr> <tr>
<td>request</td> <td>request</td>
<td> <td>
<code>HttpRequest&lt;unknown&gt;</code> <code>HttpRequest&lt;&gt;</code>
</td> </td>
<td> <td>
@ -283,7 +283,7 @@
<div> <div>
</div> </div>
<div class="io-description"> <div class="io-description">
<b>Returns : </b> <code>Observable&lt;HttpEvent&lt;unknown&gt;&gt;</code> <b>Returns : </b> <code>Observable&lt;HttpEvent&lt;&gt;&gt;</code>
</div> </div>
<div class="io-description"> <div class="io-description">
@ -360,7 +360,10 @@ export class ErrorInterceptor implements HttpInterceptor {
this.router.navigateByUrl(&#x27;/auth&#x27;).then(); this.router.navigateByUrl(&#x27;/auth&#x27;).then();
break; break;
case 403: // forbidden case 403: // forbidden
alert(&#x27;Access to resource is not allowed!&#x27;); this.errorDialogService.openDialog({
message: &#x27;Access to resource is not allowed (Error 403)&#x27;,
});
// alert(&#x27;Access to resource is not allowed!&#x27;);
break; break;
} }
// Return an observable with a user-facing error message. // Return an observable with a user-facing error message.
@ -406,9 +409,9 @@ export class ErrorInterceptor implements HttpInterceptor {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -39,7 +40,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Interceptors</li> <li>Interceptors</li>
<li>HttpConfigInterceptor</li> <li >HttpConfigInterceptor</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -60,11 +61,12 @@
<code>src/app/_interceptors/http-config.interceptor.ts</code> <code>src/app/_interceptors/http-config.interceptor.ts</code>
</p> </p>
<p class="comment"> <p class="comment">
<h3>Description</h3> <h3>Description</h3>
</p> </p>
<p class="comment"> <p class="comment">
<p>Intercepts and handles setting of configurations to outgoing HTTP request. </p> <p>Intercepts and handles setting of configurations to outgoing HTTP request.</p>
</p> </p>
@ -83,7 +85,7 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#intercept">intercept</a> <a href="#intercept" >intercept</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -108,13 +110,13 @@
</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/_interceptors/http-config.interceptor.ts:10</a></div> <div class="io-line">Defined in <a href="" data-line="11" class="link-to-prism">src/app/_interceptors/http-config.interceptor.ts:11</a></div>
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Initialization of http config interceptor. </p> <div class="io-description"><p>Initialization of http config interceptor.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -133,24 +135,22 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="intercept"></a> <a name="intercept"></a>
<span class="name"> <span class="name">
<b> <span ><b>intercept</b></span>
intercept
</b>
<a href="#intercept"><span class="icon ion-ios-link"></span></a> <a href="#intercept"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<code>intercept(request: HttpRequest<unknown>, next: <a href="https://angular.io/api/common/http/HttpHandler" target="_blank">HttpHandler</a>)</code> <code>intercept(request: HttpRequest<>, next: <a href="https://angular.io/api/common/http/HttpHandler" target="_blank">HttpHandler</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="21" <div class="io-line">Defined in <a href="" data-line="22"
class="link-to-prism">src/app/_interceptors/http-config.interceptor.ts:21</a></div> class="link-to-prism">src/app/_interceptors/http-config.interceptor.ts:22</a></div>
</td> </td>
</tr> </tr>
@ -175,7 +175,7 @@
<tr> <tr>
<td>request</td> <td>request</td>
<td> <td>
<code>HttpRequest&lt;unknown&gt;</code> <code>HttpRequest&lt;&gt;</code>
</td> </td>
<td> <td>
@ -214,7 +214,7 @@
<div> <div>
</div> </div>
<div class="io-description"> <div class="io-description">
<b>Returns : </b> <code>Observable&lt;HttpEvent&lt;unknown&gt;&gt;</code> <b>Returns : </b> <code>Observable&lt;HttpEvent&lt;&gt;&gt;</code>
</div> </div>
<div class="io-description"> <div class="io-description">
@ -236,6 +236,7 @@ import { Injectable } from &#x27;@angular/core&#x27;;
// Third party imports // Third party imports
import { Observable } from &#x27;rxjs&#x27;; import { Observable } from &#x27;rxjs&#x27;;
import { environment } from &#x27;@src/environments/environment&#x27;;
/** Intercepts and handles setting of configurations to outgoing HTTP request. */ /** Intercepts and handles setting of configurations to outgoing HTTP request. */
@Injectable() @Injectable()
@ -251,11 +252,18 @@ export class HttpConfigInterceptor implements HttpInterceptor {
* @returns The forwarded request. * @returns The forwarded request.
*/ */
intercept(request: HttpRequest&lt;unknown&gt;, next: HttpHandler): Observable&lt;HttpEvent&lt;unknown&gt;&gt; { intercept(request: HttpRequest&lt;unknown&gt;, next: HttpHandler): Observable&lt;HttpEvent&lt;unknown&gt;&gt; {
// const token: string &#x3D; sessionStorage.getItem(btoa(&#x27;CICADA_SESSION_TOKEN&#x27;)); if (
request.url.startsWith(environment.cicMetaUrl) ||
request.url.startsWith(environment.cicUssdUrl)
) {
const token: string &#x3D; sessionStorage.getItem(btoa(&#x27;CICADA_SESSION_TOKEN&#x27;));
// if (token) { if (token) {
// request &#x3D; request.clone({headers: request.headers.set(&#x27;Authorization&#x27;, &#x27;Bearer &#x27; + token)}); request &#x3D; request.clone({
// } headers: request.headers.set(&#x27;Authorization&#x27;, &#x27;Bearer &#x27; + token),
});
}
}
return next.handle(request); return next.handle(request);
} }
@ -297,9 +305,9 @@ export class HttpConfigInterceptor implements HttpInterceptor {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -39,7 +40,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Interceptors</li> <li>Interceptors</li>
<li>LoggingInterceptor</li> <li >LoggingInterceptor</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -60,11 +61,12 @@
<code>src/app/_interceptors/logging.interceptor.ts</code> <code>src/app/_interceptors/logging.interceptor.ts</code>
</p> </p>
<p class="comment"> <p class="comment">
<h3>Description</h3> <h3>Description</h3>
</p> </p>
<p class="comment"> <p class="comment">
<p>Intercepts and handles of events from outgoing HTTP request. </p> <p>Intercepts and handles of events from outgoing HTTP request.</p>
</p> </p>
@ -83,7 +85,7 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#intercept">intercept</a> <a href="#intercept" >intercept</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -103,7 +105,7 @@
<tbody> <tbody>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<code>constructor(loggingService: <a href="../injectables/LoggingService.html">LoggingService</a>)</code> <code>constructor(loggingService: <a href="../injectables/LoggingService.html" target="_self">LoggingService</a>)</code>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -166,16 +168,14 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="intercept"></a> <a name="intercept"></a>
<span class="name"> <span class="name">
<b> <span ><b>intercept</b></span>
intercept
</b>
<a href="#intercept"><span class="icon ion-ios-link"></span></a> <a href="#intercept"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<code>intercept(request: HttpRequest<unknown>, next: <a href="https://angular.io/api/common/http/HttpHandler" target="_blank">HttpHandler</a>)</code> <code>intercept(request: HttpRequest<>, next: <a href="https://angular.io/api/common/http/HttpHandler" target="_blank">HttpHandler</a>)</code>
</td> </td>
</tr> </tr>
@ -208,7 +208,7 @@
<tr> <tr>
<td>request</td> <td>request</td>
<td> <td>
<code>HttpRequest&lt;unknown&gt;</code> <code>HttpRequest&lt;&gt;</code>
</td> </td>
<td> <td>
@ -247,7 +247,7 @@
<div> <div>
</div> </div>
<div class="io-description"> <div class="io-description">
<b>Returns : </b> <code>Observable&lt;HttpEvent&lt;unknown&gt;&gt;</code> <b>Returns : </b> <code>Observable&lt;HttpEvent&lt;&gt;&gt;</code>
</div> </div>
<div class="io-description"> <div class="io-description">
@ -353,9 +353,9 @@ export class LoggingInterceptor implements HttpInterceptor {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -39,7 +40,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Interceptors</li> <li>Interceptors</li>
<li>MockBackendInterceptor</li> <li >MockBackendInterceptor</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -60,6 +61,7 @@
<code>src/app/_helpers/mock-backend.ts</code> <code>src/app/_helpers/mock-backend.ts</code>
</p> </p>
<p class="comment"> <p class="comment">
<h3>Description</h3> <h3>Description</h3>
</p> </p>
@ -84,7 +86,7 @@ Provides a backend that can handle requests for certain data items.</p>
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#intercept">intercept</a> <a href="#intercept" >intercept</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -110,9 +112,7 @@ Provides a backend that can handle requests for certain data items.</p>
<td class="col-md-4"> <td class="col-md-4">
<a name="intercept"></a> <a name="intercept"></a>
<span class="name"> <span class="name">
<b> <span ><b>intercept</b></span>
intercept
</b>
<a href="#intercept"><span class="icon ion-ios-link"></span></a> <a href="#intercept"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1287,9 +1287,9 @@ export const MockBackendProvider &#x3D; {
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -43,7 +44,9 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Interfaces</li> <li>Interfaces</li>
<li>AccountDetails</li> <li
>
AccountDetails</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -64,11 +67,12 @@
<code>src/app/_models/account.ts</code> <code>src/app/_models/account.ts</code>
</p> </p>
<p class="comment"> <p class="comment">
<h3>Description</h3> <h3>Description</h3>
</p> </p>
<p class="comment"> <p class="comment">
<p>Account data interface </p> <p>Account data interface</p>
</p> </p>
@ -87,37 +91,67 @@
<ul class="index-list"> <ul class="index-list">
<li> <li>
<span class="modifier">Optional</span> <span class="modifier">Optional</span>
<a href="#age">age</a> <a href="#age"
>
age
</a>
</li> </li>
<li> <li>
<span class="modifier">Optional</span> <span class="modifier">Optional</span>
<a href="#balance">balance</a> <a href="#balance"
>
balance
</a>
</li> </li>
<li> <li>
<span class="modifier">Optional</span> <span class="modifier">Optional</span>
<a href="#category">category</a> <a href="#category"
>
category
</a>
</li> </li>
<li> <li>
<a href="#date_registered">date_registered</a> <a href="#date_registered"
>
date_registered
</a>
</li> </li>
<li> <li>
<a href="#gender">gender</a> <a href="#gender"
>
gender
</a>
</li> </li>
<li> <li>
<a href="#identities">identities</a> <a href="#identities"
>
identities
</a>
</li> </li>
<li> <li>
<a href="#location">location</a> <a href="#location"
>
location
</a>
</li> </li>
<li> <li>
<a href="#products">products</a> <a href="#products"
>
products
</a>
</li> </li>
<li> <li>
<span class="modifier">Optional</span> <span class="modifier">Optional</span>
<a href="#type">type</a> <a href="#type"
>
type
</a>
</li> </li>
<li> <li>
<a href="#vcard">vcard</a> <a href="#vcard"
>
vcard
</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -135,7 +169,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="age"></a> <a name="age"></a>
<span class="name"><b>age</b><a href="#age"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>age</b>
<a href="#age">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -164,7 +202,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Age of user </p> <div class="io-description"><p>Age of user</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -175,7 +213,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="balance"></a> <a name="balance"></a>
<span class="name"><b>balance</b><a href="#balance"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>balance</b>
<a href="#balance">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -204,7 +246,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Token balance on account </p> <div class="io-description"><p>Token balance on account</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -215,7 +257,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="category"></a> <a name="category"></a>
<span class="name"><b>category</b><a href="#category"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>category</b>
<a href="#category">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -244,7 +290,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Business category of user. </p> <div class="io-description"><p>Business category of user.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -255,7 +301,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="date_registered"></a> <a name="date_registered"></a>
<span class="name"><b>date_registered</b><a href="#date_registered"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>date_registered</b>
<a href="#date_registered">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -279,7 +329,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Account registration day </p> <div class="io-description"><p>Account registration day</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -290,7 +340,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="gender"></a> <a name="gender"></a>
<span class="name"><b>gender</b><a href="#gender"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>gender</b>
<a href="#gender">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -314,7 +368,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>User&#39;s gender </p> <div class="io-description"><p>User&#39;s gender</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -325,7 +379,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="identities"></a> <a name="identities"></a>
<span class="name"><b>identities</b><a href="#identities"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>identities</b>
<a href="#identities">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -349,7 +407,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Account identifiers </p> <div class="io-description"><p>Account identifiers</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -360,7 +418,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="location"></a> <a name="location"></a>
<span class="name"><b>location</b><a href="#location"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>location</b>
<a href="#location">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -384,7 +446,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>User&#39;s location </p> <div class="io-description"><p>User&#39;s location</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -395,7 +457,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="products"></a> <a name="products"></a>
<span class="name"><b>products</b><a href="#products"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>products</b>
<a href="#products">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -419,7 +485,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Products or services provided by user. </p> <div class="io-description"><p>Products or services provided by user.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -430,7 +496,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="type"></a> <a name="type"></a>
<span class="name"><b>type</b><a href="#type"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>type</b>
<a href="#type">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -459,7 +529,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Type of account </p> <div class="io-description"><p>Type of account</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -470,7 +540,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="vcard"></a> <a name="vcard"></a>
<span class="name"><b>vcard</b><a href="#vcard"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>vcard</b>
<a href="#vcard">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -494,7 +568,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Personal identifying information of user </p> <div class="io-description"><p>Personal identifying information of user</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -681,9 +755,9 @@ export { AccountDetails, Meta, MetaResponse, Signature, defaultAccount };
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -43,7 +44,9 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Interfaces</li> <li>Interfaces</li>
<li>Action</li> <li
>
Action</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -64,11 +67,12 @@
<code>src/app/_models/mappings.ts</code> <code>src/app/_models/mappings.ts</code>
</p> </p>
<p class="comment"> <p class="comment">
<h3>Description</h3> <h3>Description</h3>
</p> </p>
<p class="comment"> <p class="comment">
<p>Action object interface </p> <p>Action object interface</p>
</p> </p>
@ -86,19 +90,34 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#action">action</a> <a href="#action"
>
action
</a>
</li> </li>
<li> <li>
<a href="#approval">approval</a> <a href="#approval"
>
approval
</a>
</li> </li>
<li> <li>
<a href="#id">id</a> <a href="#id"
>
id
</a>
</li> </li>
<li> <li>
<a href="#role">role</a> <a href="#role"
>
role
</a>
</li> </li>
<li> <li>
<a href="#user">user</a> <a href="#user"
>
user
</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -116,7 +135,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="action"></a> <a name="action"></a>
<span class="name"><b>action</b><a href="#action"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>action</b>
<a href="#action">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -140,7 +163,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Action performed </p> <div class="io-description"><p>Action performed</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -151,7 +174,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="approval"></a> <a name="approval"></a>
<span class="name"><b>approval</b><a href="#approval"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>approval</b>
<a href="#approval">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -175,7 +202,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Action approval status. </p> <div class="io-description"><p>Action approval status.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -186,7 +213,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="id"></a> <a name="id"></a>
<span class="name"><b>id</b><a href="#id"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>id</b>
<a href="#id">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -210,7 +241,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Action ID </p> <div class="io-description"><p>Action ID</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -221,7 +252,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="role"></a> <a name="role"></a>
<span class="name"><b>role</b><a href="#role"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>role</b>
<a href="#role">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -245,7 +280,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Admin&#39;s role in the system </p> <div class="io-description"><p>Admin&#39;s role in the system</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -256,7 +291,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="user"></a> <a name="user"></a>
<span class="name"><b>user</b><a href="#user"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>user</b>
<a href="#user">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -280,7 +319,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Admin who initialized the action. </p> <div class="io-description"><p>Admin who initialized the action.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -339,9 +378,9 @@ export { Action };
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -43,7 +44,9 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Interfaces</li> <li>Interfaces</li>
<li>Conversion</li> <li
>
Conversion</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -64,11 +67,12 @@
<code>src/app/_models/transaction.ts</code> <code>src/app/_models/transaction.ts</code>
</p> </p>
<p class="comment"> <p class="comment">
<h3>Description</h3> <h3>Description</h3>
</p> </p>
<p class="comment"> <p class="comment">
<p>Conversion object interface </p> <p>Conversion object interface</p>
</p> </p>
@ -86,25 +90,46 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#destinationToken">destinationToken</a> <a href="#destinationToken"
>
destinationToken
</a>
</li> </li>
<li> <li>
<a href="#fromValue">fromValue</a> <a href="#fromValue"
>
fromValue
</a>
</li> </li>
<li> <li>
<a href="#sourceToken">sourceToken</a> <a href="#sourceToken"
>
sourceToken
</a>
</li> </li>
<li> <li>
<a href="#toValue">toValue</a> <a href="#toValue"
>
toValue
</a>
</li> </li>
<li> <li>
<a href="#trader">trader</a> <a href="#trader"
>
trader
</a>
</li> </li>
<li> <li>
<a href="#tx">tx</a> <a href="#tx"
>
tx
</a>
</li> </li>
<li> <li>
<a href="#user">user</a> <a href="#user"
>
user
</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -122,7 +147,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="destinationToken"></a> <a name="destinationToken"></a>
<span class="name"><b>destinationToken</b><a href="#destinationToken"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>destinationToken</b>
<a href="#destinationToken">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -146,7 +175,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Final transaction token information. </p> <div class="io-description"><p>Final transaction token information.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -157,7 +186,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="fromValue"></a> <a name="fromValue"></a>
<span class="name"><b>fromValue</b><a href="#fromValue"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>fromValue</b>
<a href="#fromValue">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -181,7 +214,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Initial transaction token amount. </p> <div class="io-description"><p>Initial transaction token amount.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -192,7 +225,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="sourceToken"></a> <a name="sourceToken"></a>
<span class="name"><b>sourceToken</b><a href="#sourceToken"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>sourceToken</b>
<a href="#sourceToken">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -216,7 +253,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Initial transaction token information. </p> <div class="io-description"><p>Initial transaction token information.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -227,7 +264,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="toValue"></a> <a name="toValue"></a>
<span class="name"><b>toValue</b><a href="#toValue"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>toValue</b>
<a href="#toValue">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -251,7 +292,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Final transaction token amount. </p> <div class="io-description"><p>Final transaction token amount.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -262,7 +303,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="trader"></a> <a name="trader"></a>
<span class="name"><b>trader</b><a href="#trader"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>trader</b>
<a href="#trader">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -286,7 +331,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Address of the initiator of the conversion. </p> <div class="io-description"><p>Address of the initiator of the conversion.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -297,7 +342,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="tx"></a> <a name="tx"></a>
<span class="name"><b>tx</b><a href="#tx"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>tx</b>
<a href="#tx">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -321,7 +370,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Conversion mining information. </p> <div class="io-description"><p>Conversion mining information.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -332,7 +381,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="user"></a> <a name="user"></a>
<span class="name"><b>user</b><a href="#user"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>user</b>
<a href="#user">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -356,7 +409,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Account information of the initiator of the conversion. </p> <div class="io-description"><p>Account information of the initiator of the conversion.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -466,9 +519,9 @@ export { Conversion, Transaction, Tx, TxToken };
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -43,7 +44,9 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Interfaces</li> <li>Interfaces</li>
<li>Meta</li> <li
>
Meta</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -64,11 +67,12 @@
<code>src/app/_models/account.ts</code> <code>src/app/_models/account.ts</code>
</p> </p>
<p class="comment"> <p class="comment">
<h3>Description</h3> <h3>Description</h3>
</p> </p>
<p class="comment"> <p class="comment">
<p>Meta object interface </p> <p>Meta object interface</p>
</p> </p>
@ -86,13 +90,22 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#data">data</a> <a href="#data"
>
data
</a>
</li> </li>
<li> <li>
<a href="#id">id</a> <a href="#id"
>
id
</a>
</li> </li>
<li> <li>
<a href="#signature">signature</a> <a href="#signature"
>
signature
</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -110,7 +123,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="data"></a> <a name="data"></a>
<span class="name"><b>data</b><a href="#data"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>data</b>
<a href="#data">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -134,7 +151,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Account details </p> <div class="io-description"><p>Account details</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -145,7 +162,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="id"></a> <a name="id"></a>
<span class="name"><b>id</b><a href="#id"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>id</b>
<a href="#id">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -169,7 +190,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Meta store id </p> <div class="io-description"><p>Meta store id</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -180,7 +201,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="signature"></a> <a name="signature"></a>
<span class="name"><b>signature</b><a href="#signature"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>signature</b>
<a href="#signature">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -204,7 +229,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Signature used during write. </p> <div class="io-description"><p>Signature used during write.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -391,9 +416,9 @@ export { AccountDetails, Meta, MetaResponse, Signature, defaultAccount };
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -43,7 +44,9 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Interfaces</li> <li>Interfaces</li>
<li>MetaResponse</li> <li
>
MetaResponse</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -64,11 +67,12 @@
<code>src/app/_models/account.ts</code> <code>src/app/_models/account.ts</code>
</p> </p>
<p class="comment"> <p class="comment">
<h3>Description</h3> <h3>Description</h3>
</p> </p>
<p class="comment"> <p class="comment">
<p>Meta response interface </p> <p>Meta response interface</p>
</p> </p>
@ -86,10 +90,16 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#id">id</a> <a href="#id"
>
id
</a>
</li> </li>
<li> <li>
<a href="#m">m</a> <a href="#m"
>
m
</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -107,7 +117,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="id"></a> <a name="id"></a>
<span class="name"><b>id</b><a href="#id"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>id</b>
<a href="#id">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -131,7 +145,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Meta store id </p> <div class="io-description"><p>Meta store id</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -142,7 +156,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="m"></a> <a name="m"></a>
<span class="name"><b>m</b><a href="#m"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>m</b>
<a href="#m">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -166,7 +184,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Meta object </p> <div class="io-description"><p>Meta object</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -353,9 +371,9 @@ export { AccountDetails, Meta, MetaResponse, Signature, defaultAccount };
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -43,7 +44,9 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Interfaces</li> <li>Interfaces</li>
<li>MutableKeyStore</li> <li
>
MutableKeyStore</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -64,6 +67,7 @@
<code>src/app/_pgp/pgp-key-store.ts</code> <code>src/app/_pgp/pgp-key-store.ts</code>
</p> </p>
<p class="comment"> <p class="comment">
<h3>Description</h3> <h3>Description</h3>
</p> </p>
@ -92,79 +96,154 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#clearKeysInKeyring">clearKeysInKeyring</a> <a href="#clearKeysInKeyring"
>
clearKeysInKeyring
</a>
</li> </li>
<li> <li>
<a href="#getEncryptKeys">getEncryptKeys</a> <a href="#getEncryptKeys"
>
getEncryptKeys
</a>
</li> </li>
<li> <li>
<a href="#getFingerprint">getFingerprint</a> <a href="#getFingerprint"
>
getFingerprint
</a>
</li> </li>
<li> <li>
<a href="#getKeyId">getKeyId</a> <a href="#getKeyId"
>
getKeyId
</a>
</li> </li>
<li> <li>
<a href="#getKeysForId">getKeysForId</a> <a href="#getKeysForId"
>
getKeysForId
</a>
</li> </li>
<li> <li>
<a href="#getPrivateKey">getPrivateKey</a> <a href="#getPrivateKey"
>
getPrivateKey
</a>
</li> </li>
<li> <li>
<a href="#getPrivateKeyForId">getPrivateKeyForId</a> <a href="#getPrivateKeyForId"
>
getPrivateKeyForId
</a>
</li> </li>
<li> <li>
<a href="#getPrivateKeyId">getPrivateKeyId</a> <a href="#getPrivateKeyId"
>
getPrivateKeyId
</a>
</li> </li>
<li> <li>
<a href="#getPrivateKeys">getPrivateKeys</a> <a href="#getPrivateKeys"
>
getPrivateKeys
</a>
</li> </li>
<li> <li>
<a href="#getPublicKeyForId">getPublicKeyForId</a> <a href="#getPublicKeyForId"
>
getPublicKeyForId
</a>
</li> </li>
<li> <li>
<a href="#getPublicKeyForSubkeyId">getPublicKeyForSubkeyId</a> <a href="#getPublicKeyForSubkeyId"
>
getPublicKeyForSubkeyId
</a>
</li> </li>
<li> <li>
<a href="#getPublicKeys">getPublicKeys</a> <a href="#getPublicKeys"
>
getPublicKeys
</a>
</li> </li>
<li> <li>
<a href="#getPublicKeysForAddress">getPublicKeysForAddress</a> <a href="#getPublicKeysForAddress"
>
getPublicKeysForAddress
</a>
</li> </li>
<li> <li>
<a href="#getTrustedActiveKeys">getTrustedActiveKeys</a> <a href="#getTrustedActiveKeys"
>
getTrustedActiveKeys
</a>
</li> </li>
<li> <li>
<a href="#getTrustedKeys">getTrustedKeys</a> <a href="#getTrustedKeys"
>
getTrustedKeys
</a>
</li> </li>
<li> <li>
<a href="#importKeyPair">importKeyPair</a> <a href="#importKeyPair"
>
importKeyPair
</a>
</li> </li>
<li> <li>
<a href="#importPrivateKey">importPrivateKey</a> <a href="#importPrivateKey"
>
importPrivateKey
</a>
</li> </li>
<li> <li>
<a href="#importPublicKey">importPublicKey</a> <a href="#importPublicKey"
>
importPublicKey
</a>
</li> </li>
<li> <li>
<a href="#isEncryptedPrivateKey">isEncryptedPrivateKey</a> <a href="#isEncryptedPrivateKey"
>
isEncryptedPrivateKey
</a>
</li> </li>
<li> <li>
<a href="#isValidKey">isValidKey</a> <a href="#isValidKey"
>
isValidKey
</a>
</li> </li>
<li> <li>
<a href="#loadKeyring">loadKeyring</a> <a href="#loadKeyring"
>
loadKeyring
</a>
</li> </li>
<li> <li>
<a href="#removeKeysForId">removeKeysForId</a> <a href="#removeKeysForId"
>
removeKeysForId
</a>
</li> </li>
<li> <li>
<a href="#removePublicKey">removePublicKey</a> <a href="#removePublicKey"
>
removePublicKey
</a>
</li> </li>
<li> <li>
<a href="#removePublicKeyForId">removePublicKeyForId</a> <a href="#removePublicKeyForId"
>
removePublicKeyForId
</a>
</li> </li>
<li> <li>
<a href="#sign">sign</a> <a href="#sign"
>
sign
</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -184,9 +263,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="clearKeysInKeyring"></a> <a name="clearKeysInKeyring"></a>
<span class="name"> <span class="name">
<b> <span ><b>clearKeysInKeyring</b></span>
clearKeysInKeyring
</b>
<a href="#clearKeysInKeyring"><span class="icon ion-ios-link"></span></a> <a href="#clearKeysInKeyring"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -208,7 +285,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Remove all keys from the keyring. </p> <div class="io-description"><p>Remove all keys from the keyring.</p>
</div> </div>
<div class="io-description"> <div class="io-description">
@ -225,9 +302,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getEncryptKeys"></a> <a name="getEncryptKeys"></a>
<span class="name"> <span class="name">
<b> <span ><b>getEncryptKeys</b></span>
getEncryptKeys
</b>
<a href="#getEncryptKeys"><span class="icon ion-ios-link"></span></a> <a href="#getEncryptKeys"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -249,7 +324,9 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Get all the encryption keys.</p> <div class="io-description"><p>Get all the encryption keys.
Current implementation doesn&#39;t include encryption keys.
This is included to appease the implemented Keystore interface.</p>
</div> </div>
<div> <div>
@ -272,9 +349,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getFingerprint"></a> <a name="getFingerprint"></a>
<span class="name"> <span class="name">
<b> <span ><b>getFingerprint</b></span>
getFingerprint
</b>
<a href="#getFingerprint"><span class="icon ion-ios-link"></span></a> <a href="#getFingerprint"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -319,9 +394,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getKeyId"></a> <a name="getKeyId"></a>
<span class="name"> <span class="name">
<b> <span ><b>getKeyId</b></span>
getKeyId
</b>
<a href="#getKeyId"><span class="icon ion-ios-link"></span></a> <a href="#getKeyId"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -399,9 +472,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getKeysForId"></a> <a name="getKeysForId"></a>
<span class="name"> <span class="name">
<b> <span ><b>getKeysForId</b></span>
getKeysForId
</b>
<a href="#getKeysForId"><span class="icon ion-ios-link"></span></a> <a href="#getKeysForId"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -479,9 +550,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getPrivateKey"></a> <a name="getPrivateKey"></a>
<span class="name"> <span class="name">
<b> <span ><b>getPrivateKey</b></span>
getPrivateKey
</b>
<a href="#getPrivateKey"><span class="icon ion-ios-link"></span></a> <a href="#getPrivateKey"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -526,9 +595,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getPrivateKeyForId"></a> <a name="getPrivateKeyForId"></a>
<span class="name"> <span class="name">
<b> <span ><b>getPrivateKeyForId</b></span>
getPrivateKeyForId
</b>
<a href="#getPrivateKeyForId"><span class="icon ion-ios-link"></span></a> <a href="#getPrivateKeyForId"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -606,9 +673,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getPrivateKeyId"></a> <a name="getPrivateKeyId"></a>
<span class="name"> <span class="name">
<b> <span ><b>getPrivateKeyId</b></span>
getPrivateKeyId
</b>
<a href="#getPrivateKeyId"><span class="icon ion-ios-link"></span></a> <a href="#getPrivateKeyId"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -653,9 +718,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getPrivateKeys"></a> <a name="getPrivateKeys"></a>
<span class="name"> <span class="name">
<b> <span ><b>getPrivateKeys</b></span>
getPrivateKeys
</b>
<a href="#getPrivateKeys"><span class="icon ion-ios-link"></span></a> <a href="#getPrivateKeys"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -700,9 +763,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getPublicKeyForId"></a> <a name="getPublicKeyForId"></a>
<span class="name"> <span class="name">
<b> <span ><b>getPublicKeyForId</b></span>
getPublicKeyForId
</b>
<a href="#getPublicKeyForId"><span class="icon ion-ios-link"></span></a> <a href="#getPublicKeyForId"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -780,9 +841,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getPublicKeyForSubkeyId"></a> <a name="getPublicKeyForSubkeyId"></a>
<span class="name"> <span class="name">
<b> <span ><b>getPublicKeyForSubkeyId</b></span>
getPublicKeyForSubkeyId
</b>
<a href="#getPublicKeyForSubkeyId"><span class="icon ion-ios-link"></span></a> <a href="#getPublicKeyForSubkeyId"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -860,9 +919,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getPublicKeys"></a> <a name="getPublicKeys"></a>
<span class="name"> <span class="name">
<b> <span ><b>getPublicKeys</b></span>
getPublicKeys
</b>
<a href="#getPublicKeys"><span class="icon ion-ios-link"></span></a> <a href="#getPublicKeys"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -907,9 +964,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getPublicKeysForAddress"></a> <a name="getPublicKeysForAddress"></a>
<span class="name"> <span class="name">
<b> <span ><b>getPublicKeysForAddress</b></span>
getPublicKeysForAddress
</b>
<a href="#getPublicKeysForAddress"><span class="icon ion-ios-link"></span></a> <a href="#getPublicKeysForAddress"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -987,9 +1042,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getTrustedActiveKeys"></a> <a name="getTrustedActiveKeys"></a>
<span class="name"> <span class="name">
<b> <span ><b>getTrustedActiveKeys</b></span>
getTrustedActiveKeys
</b>
<a href="#getTrustedActiveKeys"><span class="icon ion-ios-link"></span></a> <a href="#getTrustedActiveKeys"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1034,9 +1087,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="getTrustedKeys"></a> <a name="getTrustedKeys"></a>
<span class="name"> <span class="name">
<b> <span ><b>getTrustedKeys</b></span>
getTrustedKeys
</b>
<a href="#getTrustedKeys"><span class="icon ion-ios-link"></span></a> <a href="#getTrustedKeys"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1081,9 +1132,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="importKeyPair"></a> <a name="importKeyPair"></a>
<span class="name"> <span class="name">
<b> <span ><b>importKeyPair</b></span>
importKeyPair
</b>
<a href="#importKeyPair"><span class="icon ion-ios-link"></span></a> <a href="#importKeyPair"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1178,9 +1227,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="importPrivateKey"></a> <a name="importPrivateKey"></a>
<span class="name"> <span class="name">
<b> <span ><b>importPrivateKey</b></span>
importPrivateKey
</b>
<a href="#importPrivateKey"><span class="icon ion-ios-link"></span></a> <a href="#importPrivateKey"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1257,9 +1304,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="importPublicKey"></a> <a name="importPublicKey"></a>
<span class="name"> <span class="name">
<b> <span ><b>importPublicKey</b></span>
importPublicKey
</b>
<a href="#importPublicKey"><span class="icon ion-ios-link"></span></a> <a href="#importPublicKey"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1336,9 +1381,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="isEncryptedPrivateKey"></a> <a name="isEncryptedPrivateKey"></a>
<span class="name"> <span class="name">
<b> <span ><b>isEncryptedPrivateKey</b></span>
isEncryptedPrivateKey
</b>
<a href="#isEncryptedPrivateKey"><span class="icon ion-ios-link"></span></a> <a href="#isEncryptedPrivateKey"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1416,9 +1459,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="isValidKey"></a> <a name="isValidKey"></a>
<span class="name"> <span class="name">
<b> <span ><b>isValidKey</b></span>
isValidKey
</b>
<a href="#isValidKey"><span class="icon ion-ios-link"></span></a> <a href="#isValidKey"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1496,9 +1537,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="loadKeyring"></a> <a name="loadKeyring"></a>
<span class="name"> <span class="name">
<b> <span ><b>loadKeyring</b></span>
loadKeyring
</b>
<a href="#loadKeyring"><span class="icon ion-ios-link"></span></a> <a href="#loadKeyring"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1537,9 +1576,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="removeKeysForId"></a> <a name="removeKeysForId"></a>
<span class="name"> <span class="name">
<b> <span ><b>removeKeysForId</b></span>
removeKeysForId
</b>
<a href="#removeKeysForId"><span class="icon ion-ios-link"></span></a> <a href="#removeKeysForId"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1617,9 +1654,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="removePublicKey"></a> <a name="removePublicKey"></a>
<span class="name"> <span class="name">
<b> <span ><b>removePublicKey</b></span>
removePublicKey
</b>
<a href="#removePublicKey"><span class="icon ion-ios-link"></span></a> <a href="#removePublicKey"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1697,9 +1732,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="removePublicKeyForId"></a> <a name="removePublicKeyForId"></a>
<span class="name"> <span class="name">
<b> <span ><b>removePublicKeyForId</b></span>
removePublicKeyForId
</b>
<a href="#removePublicKeyForId"><span class="icon ion-ios-link"></span></a> <a href="#removePublicKeyForId"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1777,9 +1810,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="sign"></a> <a name="sign"></a>
<span class="name"> <span class="name">
<b> <span ><b>sign</b></span>
sign
</b>
<a href="#sign"><span class="icon ion-ios-link"></span></a> <a href="#sign"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -2324,9 +2355,9 @@ export { MutableKeyStore, MutablePgpKeyStore };
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -43,7 +44,9 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Interfaces</li> <li>Interfaces</li>
<li>Signable</li> <li
>
Signable</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -64,11 +67,12 @@
<code>src/app/_pgp/pgp-signer.ts</code> <code>src/app/_pgp/pgp-signer.ts</code>
</p> </p>
<p class="comment"> <p class="comment">
<h3>Description</h3> <h3>Description</h3>
</p> </p>
<p class="comment"> <p class="comment">
<p>Signable object interface </p> <p>Signable object interface</p>
</p> </p>
@ -86,7 +90,10 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#digest">digest</a> <a href="#digest"
>
digest
</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -106,9 +113,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="digest"></a> <a name="digest"></a>
<span class="name"> <span class="name">
<b> <span ><b>digest</b></span>
digest
</b>
<a href="#digest"><span class="icon ion-ios-link"></span></a> <a href="#digest"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -130,7 +135,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>The message to be signed. </p> <div class="io-description"><p>The message to be signed.</p>
</div> </div>
<div class="io-description"> <div class="io-description">
@ -357,9 +362,9 @@ export { PGPSigner, Signable, Signature, Signer };
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -43,7 +44,9 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Interfaces</li> <li>Interfaces</li>
<li>Signature</li> <li
>
Signature</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -64,11 +67,12 @@
<code>src/app/_pgp/pgp-signer.ts</code> <code>src/app/_pgp/pgp-signer.ts</code>
</p> </p>
<p class="comment"> <p class="comment">
<h3>Description</h3> <h3>Description</h3>
</p> </p>
<p class="comment"> <p class="comment">
<p>Signature object interface </p> <p>Signature object interface</p>
</p> </p>
@ -86,16 +90,28 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#algo">algo</a> <a href="#algo"
>
algo
</a>
</li> </li>
<li> <li>
<a href="#data">data</a> <a href="#data"
>
data
</a>
</li> </li>
<li> <li>
<a href="#digest">digest</a> <a href="#digest"
>
digest
</a>
</li> </li>
<li> <li>
<a href="#engine">engine</a> <a href="#engine"
>
engine
</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -113,7 +129,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="algo"></a> <a name="algo"></a>
<span class="name"><b>algo</b><a href="#algo"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>algo</b>
<a href="#algo">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -137,7 +157,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Encryption algorithm used </p> <div class="io-description"><p>Encryption algorithm used</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -148,7 +168,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="data"></a> <a name="data"></a>
<span class="name"><b>data</b><a href="#data"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>data</b>
<a href="#data">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -172,7 +196,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Data to be signed. </p> <div class="io-description"><p>Data to be signed.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -183,7 +207,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="digest"></a> <a name="digest"></a>
<span class="name"><b>digest</b><a href="#digest"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>digest</b>
<a href="#digest">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -207,7 +235,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Message digest </p> <div class="io-description"><p>Message digest</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -218,7 +246,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="engine"></a> <a name="engine"></a>
<span class="name"><b>engine</b><a href="#engine"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>engine</b>
<a href="#engine">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -242,7 +274,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Encryption engine used. </p> <div class="io-description"><p>Encryption engine used.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -463,9 +495,9 @@ export { PGPSigner, Signable, Signature, Signer };
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -43,7 +44,9 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Interfaces</li> <li>Interfaces</li>
<li>Signature</li> <li
>
Signature</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -64,11 +67,12 @@
<code>src/app/_models/account.ts</code> <code>src/app/_models/account.ts</code>
</p> </p>
<p class="comment"> <p class="comment">
<h3>Description</h3> <h3>Description</h3>
</p> </p>
<p class="comment"> <p class="comment">
<p>Meta signature interface </p> <p>Meta signature interface</p>
</p> </p>
@ -86,16 +90,28 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#algo">algo</a> <a href="#algo"
>
algo
</a>
</li> </li>
<li> <li>
<a href="#data">data</a> <a href="#data"
>
data
</a>
</li> </li>
<li> <li>
<a href="#digest">digest</a> <a href="#digest"
>
digest
</a>
</li> </li>
<li> <li>
<a href="#engine">engine</a> <a href="#engine"
>
engine
</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -113,7 +129,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="algo"></a> <a name="algo"></a>
<span class="name"><b>algo</b><a href="#algo"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>algo</b>
<a href="#algo">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -137,7 +157,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Algorithm used </p> <div class="io-description"><p>Algorithm used</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -148,7 +168,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="data"></a> <a name="data"></a>
<span class="name"><b>data</b><a href="#data"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>data</b>
<a href="#data">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -172,7 +196,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Data that was signed. </p> <div class="io-description"><p>Data that was signed.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -183,7 +207,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="digest"></a> <a name="digest"></a>
<span class="name"><b>digest</b><a href="#digest"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>digest</b>
<a href="#digest">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -207,7 +235,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Message digest </p> <div class="io-description"><p>Message digest</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -218,7 +246,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="engine"></a> <a name="engine"></a>
<span class="name"><b>engine</b><a href="#engine"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>engine</b>
<a href="#engine">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -242,7 +274,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Encryption engine used. </p> <div class="io-description"><p>Encryption engine used.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -429,9 +461,9 @@ export { AccountDetails, Meta, MetaResponse, Signature, defaultAccount };
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -43,7 +44,9 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Interfaces</li> <li>Interfaces</li>
<li>Signer</li> <li
>
Signer</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -64,11 +67,12 @@
<code>src/app/_pgp/pgp-signer.ts</code> <code>src/app/_pgp/pgp-signer.ts</code>
</p> </p>
<p class="comment"> <p class="comment">
<h3>Description</h3> <h3>Description</h3>
</p> </p>
<p class="comment"> <p class="comment">
<p>Signer interface </p> <p>Signer interface</p>
</p> </p>
@ -86,22 +90,40 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#fingerprint">fingerprint</a> <a href="#fingerprint"
>
fingerprint
</a>
</li> </li>
<li> <li>
<a href="#onsign">onsign</a> <a href="#onsign"
>
onsign
</a>
</li> </li>
<li> <li>
<a href="#onverify">onverify</a> <a href="#onverify"
>
onverify
</a>
</li> </li>
<li> <li>
<a href="#prepare">prepare</a> <a href="#prepare"
>
prepare
</a>
</li> </li>
<li> <li>
<a href="#sign">sign</a> <a href="#sign"
>
sign
</a>
</li> </li>
<li> <li>
<a href="#verify">verify</a> <a href="#verify"
>
verify
</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -121,9 +143,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="fingerprint"></a> <a name="fingerprint"></a>
<span class="name"> <span class="name">
<b> <span ><b>fingerprint</b></span>
fingerprint
</b>
<a href="#fingerprint"><span class="icon ion-ios-link"></span></a> <a href="#fingerprint"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -168,16 +188,14 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="onsign"></a> <a name="onsign"></a>
<span class="name"> <span class="name">
<b> <span ><b>onsign</b></span>
onsign
</b>
<a href="#onsign"><span class="icon ion-ios-link"></span></a> <a href="#onsign"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<code>onsign(signature: <a href="../interfaces/Signature.html">Signature</a>)</code> <code>onsign(signature: <a href="../interfaces/Signature.html" target="_self">Signature</a>)</code>
</td> </td>
</tr> </tr>
@ -192,7 +210,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Event triggered on successful signing of message. </p> <div class="io-description"><p>Event triggered on successful signing of message.</p>
</div> </div>
<div class="io-description"> <div class="io-description">
@ -240,9 +258,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="onverify"></a> <a name="onverify"></a>
<span class="name"> <span class="name">
<b> <span ><b>onverify</b></span>
onverify
</b>
<a href="#onverify"><span class="icon ion-ios-link"></span></a> <a href="#onverify"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -264,7 +280,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Event triggered on successful verification of a signature. </p> <div class="io-description"><p>Event triggered on successful verification of a signature.</p>
</div> </div>
<div class="io-description"> <div class="io-description">
@ -312,16 +328,14 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="prepare"></a> <a name="prepare"></a>
<span class="name"> <span class="name">
<b> <span ><b>prepare</b></span>
prepare
</b>
<a href="#prepare"><span class="icon ion-ios-link"></span></a> <a href="#prepare"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<code>prepare(material: <a href="../interfaces/Signable.html">Signable</a>)</code> <code>prepare(material: <a href="../interfaces/Signable.html" target="_self">Signable</a>)</code>
</td> </td>
</tr> </tr>
@ -392,9 +406,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="sign"></a> <a name="sign"></a>
<span class="name"> <span class="name">
<b> <span ><b>sign</b></span>
sign
</b>
<a href="#sign"><span class="icon ion-ios-link"></span></a> <a href="#sign"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -471,16 +483,14 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="verify"></a> <a name="verify"></a>
<span class="name"> <span class="name">
<b> <span ><b>verify</b></span>
verify
</b>
<a href="#verify"><span class="icon ion-ios-link"></span></a> <a href="#verify"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<code>verify(digest: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, signature: <a href="../interfaces/Signature.html">Signature</a>)</code> <code>verify(digest: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, signature: <a href="../interfaces/Signature.html" target="_self">Signature</a>)</code>
</td> </td>
</tr> </tr>
@ -778,9 +788,9 @@ export { PGPSigner, Signable, Signature, Signer };
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -43,7 +44,9 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Interfaces</li> <li>Interfaces</li>
<li>Staff</li> <li
>
Staff</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -64,11 +67,12 @@
<code>src/app/_models/staff.ts</code> <code>src/app/_models/staff.ts</code>
</p> </p>
<p class="comment"> <p class="comment">
<h3>Description</h3> <h3>Description</h3>
</p> </p>
<p class="comment"> <p class="comment">
<p>Staff object interface </p> <p>Staff object interface</p>
</p> </p>
@ -86,19 +90,34 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#comment">comment</a> <a href="#comment"
>
comment
</a>
</li> </li>
<li> <li>
<a href="#email">email</a> <a href="#email"
>
email
</a>
</li> </li>
<li> <li>
<a href="#name">name</a> <a href="#name"
>
name
</a>
</li> </li>
<li> <li>
<a href="#tag">tag</a> <a href="#tag"
>
tag
</a>
</li> </li>
<li> <li>
<a href="#userid">userid</a> <a href="#userid"
>
userid
</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -116,7 +135,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="comment"></a> <a name="comment"></a>
<span class="name"><b>comment</b><a href="#comment"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>comment</b>
<a href="#comment">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -140,7 +163,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Comment made on the public key. </p> <div class="io-description"><p>Comment made on the public key.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -151,7 +174,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="email"></a> <a name="email"></a>
<span class="name"><b>email</b><a href="#email"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>email</b>
<a href="#email">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -175,7 +202,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Email used to create the public key. </p> <div class="io-description"><p>Email used to create the public key.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -186,7 +213,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="name"></a> <a name="name"></a>
<span class="name"><b>name</b><a href="#name"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>name</b>
<a href="#name">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -210,7 +241,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Name of the owner of the public key </p> <div class="io-description"><p>Name of the owner of the public key</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -221,7 +252,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="tag"></a> <a name="tag"></a>
<span class="name"><b>tag</b><a href="#tag"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>tag</b>
<a href="#tag">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -245,7 +280,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Tags added to the public key. </p> <div class="io-description"><p>Tags added to the public key.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -256,7 +291,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="userid"></a> <a name="userid"></a>
<span class="name"><b>userid</b><a href="#userid"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>userid</b>
<a href="#userid">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -280,7 +319,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>User ID of the owner of the public key. </p> <div class="io-description"><p>User ID of the owner of the public key.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -339,9 +378,9 @@ export { Staff };
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -43,7 +44,9 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Interfaces</li> <li>Interfaces</li>
<li>Token</li> <li
>
Token</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -64,11 +67,12 @@
<code>src/app/_models/token.ts</code> <code>src/app/_models/token.ts</code>
</p> </p>
<p class="comment"> <p class="comment">
<h3>Description</h3> <h3>Description</h3>
</p> </p>
<p class="comment"> <p class="comment">
<p>Token object interface </p> <p>Token object interface</p>
</p> </p>
@ -86,31 +90,55 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#address">address</a> <a href="#address"
>
address
</a>
</li> </li>
<li> <li>
<a href="#decimals">decimals</a> <a href="#decimals"
>
decimals
</a>
</li> </li>
<li> <li>
<a href="#name">name</a> <a href="#name"
>
name
</a>
</li> </li>
<li> <li>
<span class="modifier">Optional</span> <span class="modifier">Optional</span>
<a href="#owner">owner</a> <a href="#owner"
>
owner
</a>
</li> </li>
<li> <li>
<span class="modifier">Optional</span> <span class="modifier">Optional</span>
<a href="#reserveRatio">reserveRatio</a> <a href="#reserveRatio"
>
reserveRatio
</a>
</li> </li>
<li> <li>
<span class="modifier">Optional</span> <span class="modifier">Optional</span>
<a href="#reserves">reserves</a> <a href="#reserves"
>
reserves
</a>
</li> </li>
<li> <li>
<a href="#supply">supply</a> <a href="#supply"
>
supply
</a>
</li> </li>
<li> <li>
<a href="#symbol">symbol</a> <a href="#symbol"
>
symbol
</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -128,7 +156,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="address"></a> <a name="address"></a>
<span class="name"><b>address</b><a href="#address"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>address</b>
<a href="#address">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -152,7 +184,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Address of the deployed token contract. </p> <div class="io-description"><p>Address of the deployed token contract.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -163,7 +195,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="decimals"></a> <a name="decimals"></a>
<span class="name"><b>decimals</b><a href="#decimals"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>decimals</b>
<a href="#decimals">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -187,7 +223,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Number of decimals to convert to smallest denomination of the token. </p> <div class="io-description"><p>Number of decimals to convert to smallest denomination of the token.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -198,7 +234,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="name"></a> <a name="name"></a>
<span class="name"><b>name</b><a href="#name"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>name</b>
<a href="#name">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -222,7 +262,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Name of the token. </p> <div class="io-description"><p>Name of the token.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -233,7 +273,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="owner"></a> <a name="owner"></a>
<span class="name"><b>owner</b><a href="#owner"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>owner</b>
<a href="#owner">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -262,7 +306,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Address of account that deployed token. </p> <div class="io-description"><p>Address of account that deployed token.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -273,7 +317,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="reserveRatio"></a> <a name="reserveRatio"></a>
<span class="name"><b>reserveRatio</b><a href="#reserveRatio"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>reserveRatio</b>
<a href="#reserveRatio">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -302,7 +350,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Token reserve to token minting ratio. </p> <div class="io-description"><p>Token reserve to token minting ratio.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -313,7 +361,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="reserves"></a> <a name="reserves"></a>
<span class="name"><b>reserves</b><a href="#reserves"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>reserves</b>
<a href="#reserves">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -342,7 +394,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Token reserve information </p> <div class="io-description"><p>Token reserve information</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -353,7 +405,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="supply"></a> <a name="supply"></a>
<span class="name"><b>supply</b><a href="#supply"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>supply</b>
<a href="#supply">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -377,7 +433,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Total token supply. </p> <div class="io-description"><p>Total token supply.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -388,7 +444,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="symbol"></a> <a name="symbol"></a>
<span class="name"><b>symbol</b><a href="#symbol"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>symbol</b>
<a href="#symbol">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -412,7 +472,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>The unique token symbol. </p> <div class="io-description"><p>The unique token symbol.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -482,9 +542,9 @@ export { Token };
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -43,7 +44,9 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Interfaces</li> <li>Interfaces</li>
<li>Transaction</li> <li
>
Transaction</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -64,11 +67,12 @@
<code>src/app/_models/transaction.ts</code> <code>src/app/_models/transaction.ts</code>
</p> </p>
<p class="comment"> <p class="comment">
<h3>Description</h3> <h3>Description</h3>
</p> </p>
<p class="comment"> <p class="comment">
<p>Transaction object interface </p> <p>Transaction object interface</p>
</p> </p>
@ -86,29 +90,53 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#from">from</a> <a href="#from"
>
from
</a>
</li> </li>
<li> <li>
<a href="#recipient">recipient</a> <a href="#recipient"
>
recipient
</a>
</li> </li>
<li> <li>
<a href="#sender">sender</a> <a href="#sender"
>
sender
</a>
</li> </li>
<li> <li>
<a href="#to">to</a> <a href="#to"
>
to
</a>
</li> </li>
<li> <li>
<a href="#token">token</a> <a href="#token"
>
token
</a>
</li> </li>
<li> <li>
<a href="#tx">tx</a> <a href="#tx"
>
tx
</a>
</li> </li>
<li> <li>
<span class="modifier">Optional</span> <span class="modifier">Optional</span>
<a href="#type">type</a> <a href="#type"
>
type
</a>
</li> </li>
<li> <li>
<a href="#value">value</a> <a href="#value"
>
value
</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -126,7 +154,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="from"></a> <a name="from"></a>
<span class="name"><b>from</b><a href="#from"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>from</b>
<a href="#from">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -150,7 +182,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Address of the transaction sender. </p> <div class="io-description"><p>Address of the transaction sender.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -161,7 +193,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="recipient"></a> <a name="recipient"></a>
<span class="name"><b>recipient</b><a href="#recipient"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>recipient</b>
<a href="#recipient">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -185,7 +221,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Account information of the transaction recipient. </p> <div class="io-description"><p>Account information of the transaction recipient.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -196,7 +232,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="sender"></a> <a name="sender"></a>
<span class="name"><b>sender</b><a href="#sender"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>sender</b>
<a href="#sender">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -220,7 +260,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Account information of the transaction sender. </p> <div class="io-description"><p>Account information of the transaction sender.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -231,7 +271,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="to"></a> <a name="to"></a>
<span class="name"><b>to</b><a href="#to"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>to</b>
<a href="#to">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -255,7 +299,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Address of the transaction recipient. </p> <div class="io-description"><p>Address of the transaction recipient.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -266,7 +310,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="token"></a> <a name="token"></a>
<span class="name"><b>token</b><a href="#token"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>token</b>
<a href="#token">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -290,7 +338,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Transaction token information. </p> <div class="io-description"><p>Transaction token information.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -301,7 +349,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="tx"></a> <a name="tx"></a>
<span class="name"><b>tx</b><a href="#tx"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>tx</b>
<a href="#tx">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -325,7 +377,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Transaction mining information. </p> <div class="io-description"><p>Transaction mining information.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -336,7 +388,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="type"></a> <a name="type"></a>
<span class="name"><b>type</b><a href="#type"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>type</b>
<a href="#type">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -365,7 +421,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Type of transaction. </p> <div class="io-description"><p>Type of transaction.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -376,7 +432,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="value"></a> <a name="value"></a>
<span class="name"><b>value</b><a href="#value"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>value</b>
<a href="#value">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -400,7 +460,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Amount of tokens transacted. </p> <div class="io-description"><p>Amount of tokens transacted.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -510,9 +570,9 @@ export { Conversion, Transaction, Tx, TxToken };
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -43,7 +44,9 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Interfaces</li> <li>Interfaces</li>
<li>Tx</li> <li
>
Tx</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -64,11 +67,12 @@
<code>src/app/_models/transaction.ts</code> <code>src/app/_models/transaction.ts</code>
</p> </p>
<p class="comment"> <p class="comment">
<h3>Description</h3> <h3>Description</h3>
</p> </p>
<p class="comment"> <p class="comment">
<p>Transaction data interface </p> <p>Transaction data interface</p>
</p> </p>
@ -86,19 +90,34 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#block">block</a> <a href="#block"
>
block
</a>
</li> </li>
<li> <li>
<a href="#success">success</a> <a href="#success"
>
success
</a>
</li> </li>
<li> <li>
<a href="#timestamp">timestamp</a> <a href="#timestamp"
>
timestamp
</a>
</li> </li>
<li> <li>
<a href="#txHash">txHash</a> <a href="#txHash"
>
txHash
</a>
</li> </li>
<li> <li>
<a href="#txIndex">txIndex</a> <a href="#txIndex"
>
txIndex
</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -116,7 +135,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="block"></a> <a name="block"></a>
<span class="name"><b>block</b><a href="#block"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>block</b>
<a href="#block">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -140,7 +163,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Transaction block number. </p> <div class="io-description"><p>Transaction block number.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -151,7 +174,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="success"></a> <a name="success"></a>
<span class="name"><b>success</b><a href="#success"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>success</b>
<a href="#success">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -175,7 +202,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Transaction mining status. </p> <div class="io-description"><p>Transaction mining status.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -186,7 +213,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="timestamp"></a> <a name="timestamp"></a>
<span class="name"><b>timestamp</b><a href="#timestamp"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>timestamp</b>
<a href="#timestamp">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -210,7 +241,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Time transaction was mined. </p> <div class="io-description"><p>Time transaction was mined.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -221,7 +252,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="txHash"></a> <a name="txHash"></a>
<span class="name"><b>txHash</b><a href="#txHash"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>txHash</b>
<a href="#txHash">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -245,7 +280,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Hash generated by transaction. </p> <div class="io-description"><p>Hash generated by transaction.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -256,7 +291,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="txIndex"></a> <a name="txIndex"></a>
<span class="name"><b>txIndex</b><a href="#txIndex"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>txIndex</b>
<a href="#txIndex">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -280,7 +319,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Index of transaction in block. </p> <div class="io-description"><p>Index of transaction in block.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -390,9 +429,9 @@ export { Conversion, Transaction, Tx, TxToken };
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -43,7 +44,9 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Interfaces</li> <li>Interfaces</li>
<li>TxToken</li> <li
>
TxToken</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -64,11 +67,12 @@
<code>src/app/_models/transaction.ts</code> <code>src/app/_models/transaction.ts</code>
</p> </p>
<p class="comment"> <p class="comment">
<h3>Description</h3> <h3>Description</h3>
</p> </p>
<p class="comment"> <p class="comment">
<p>Transaction token object interface </p> <p>Transaction token object interface</p>
</p> </p>
@ -86,13 +90,22 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#address">address</a> <a href="#address"
>
address
</a>
</li> </li>
<li> <li>
<a href="#name">name</a> <a href="#name"
>
name
</a>
</li> </li>
<li> <li>
<a href="#symbol">symbol</a> <a href="#symbol"
>
symbol
</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -110,7 +123,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="address"></a> <a name="address"></a>
<span class="name"><b>address</b><a href="#address"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>address</b>
<a href="#address">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -134,7 +151,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Address of the deployed token contract. </p> <div class="io-description"><p>Address of the deployed token contract.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -145,7 +162,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="name"></a> <a name="name"></a>
<span class="name"><b>name</b><a href="#name"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>name</b>
<a href="#name">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -169,7 +190,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Name of the token. </p> <div class="io-description"><p>Name of the token.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -180,7 +201,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="symbol"></a> <a name="symbol"></a>
<span class="name"><b>symbol</b><a href="#symbol"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>symbol</b>
<a href="#symbol">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -204,7 +229,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>The unique token symbol. </p> <div class="io-description"><p>The unique token symbol.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -314,9 +339,9 @@ export { Conversion, Transaction, Tx, TxToken };
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -43,7 +44,9 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Interfaces</li> <li>Interfaces</li>
<li>W3</li> <li
>
W3</li>
</ol> </ol>
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
@ -64,11 +67,12 @@
<code>src/app/_models/settings.ts</code> <code>src/app/_models/settings.ts</code>
</p> </p>
<p class="comment"> <p class="comment">
<h3>Description</h3> <h3>Description</h3>
</p> </p>
<p class="comment"> <p class="comment">
<p>Web3 object interface </p> <p>Web3 object interface</p>
</p> </p>
@ -86,10 +90,16 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#engine">engine</a> <a href="#engine"
>
engine
</a>
</li> </li>
<li> <li>
<a href="#provider">provider</a> <a href="#provider"
>
provider
</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -107,7 +117,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="engine"></a> <a name="engine"></a>
<span class="name"><b>engine</b><a href="#engine"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>engine</b>
<a href="#engine">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -131,7 +145,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>An active web3 instance connected to the blockchain network. </p> <div class="io-description"><p>An active web3 instance connected to the blockchain network.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -142,7 +156,11 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<a name="provider"></a> <a name="provider"></a>
<span class="name"><b>provider</b><a href="#provider"><span class="icon ion-ios-link"></span></a></span> <span class="name "><b>provider</b>
<a href="#provider">
<span class="icon ion-ios-link"></span>
</a>
</span>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -166,7 +184,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>The connection socket to the blockchain network. </p> <div class="io-description"><p>The connection socket to the blockchain network.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -243,9 +261,9 @@ export { Settings, W3 };
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

File diff suppressed because one or more lines are too long

View File

@ -57,97 +57,93 @@ customElements.define('compodoc-menu', class extends HTMLElement {
</a> </a>
<ul class="links collapse " ${ isNormalMode ? 'id="modules-links"' : 'id="xs-modules-links"' }> <ul class="links collapse " ${ isNormalMode ? 'id="modules-links"' : 'id="xs-modules-links"' }>
<li class="link"> <li class="link">
<a href="modules/AccountsModule.html" data-type="entity-link">AccountsModule</a> <a href="modules/AccountsModule.html" data-type="entity-link" >AccountsModule</a>
<li class="chapter inner"> <li class="chapter inner">
<div class="simple menu-toggler" data-toggle="collapse" ${ isNormalMode ? <div class="simple menu-toggler" data-toggle="collapse" ${ isNormalMode ?
'data-target="#components-links-module-AccountsModule-1a1e33fcf3e34d5cc3aaa35d56c0aa4c"' : 'data-target="#xs-components-links-module-AccountsModule-1a1e33fcf3e34d5cc3aaa35d56c0aa4c"' }> 'data-target="#components-links-module-AccountsModule-9e1c56eb36994279b344439eab913443"' : 'data-target="#xs-components-links-module-AccountsModule-9e1c56eb36994279b344439eab913443"' }>
<span class="icon ion-md-cog"></span> <span class="icon ion-md-cog"></span>
<span>Components</span> <span>Components</span>
<span class="icon ion-ios-arrow-down"></span> <span class="icon ion-ios-arrow-down"></span>
</div> </div>
<ul class="links collapse" ${ isNormalMode ? 'id="components-links-module-AccountsModule-1a1e33fcf3e34d5cc3aaa35d56c0aa4c"' : <ul class="links collapse" ${ isNormalMode ? 'id="components-links-module-AccountsModule-9e1c56eb36994279b344439eab913443"' :
'id="xs-components-links-module-AccountsModule-1a1e33fcf3e34d5cc3aaa35d56c0aa4c"' }> 'id="xs-components-links-module-AccountsModule-9e1c56eb36994279b344439eab913443"' }>
<li class="link"> <li class="link">
<a href="components/AccountDetailsComponent.html" <a href="components/AccountDetailsComponent.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules" >AccountDetailsComponent</a>
data-type="entity-link" data-context="sub-entity" data-context-id="modules">AccountDetailsComponent</a>
</li> </li>
<li class="link"> <li class="link">
<a href="components/AccountSearchComponent.html" <a href="components/AccountHistoryComponent.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules" >AccountHistoryComponent</a>
data-type="entity-link" data-context="sub-entity" data-context-id="modules">AccountSearchComponent</a>
</li> </li>
<li class="link"> <li class="link">
<a href="components/AccountsComponent.html" <a href="components/AccountSearchComponent.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules" >AccountSearchComponent</a>
data-type="entity-link" data-context="sub-entity" data-context-id="modules">AccountsComponent</a>
</li> </li>
<li class="link"> <li class="link">
<a href="components/CreateAccountComponent.html" <a href="components/AccountsComponent.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules" >AccountsComponent</a>
data-type="entity-link" data-context="sub-entity" data-context-id="modules">CreateAccountComponent</a> </li>
<li class="link">
<a href="components/CreateAccountComponent.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules" >CreateAccountComponent</a>
</li> </li>
</ul> </ul>
</li> </li>
</li> </li>
<li class="link"> <li class="link">
<a href="modules/AccountsRoutingModule.html" data-type="entity-link">AccountsRoutingModule</a> <a href="modules/AccountsRoutingModule.html" data-type="entity-link" >AccountsRoutingModule</a>
</li> </li>
<li class="link"> <li class="link">
<a href="modules/AdminModule.html" data-type="entity-link">AdminModule</a> <a href="modules/AdminModule.html" data-type="entity-link" >AdminModule</a>
<li class="chapter inner"> <li class="chapter inner">
<div class="simple menu-toggler" data-toggle="collapse" ${ isNormalMode ? <div class="simple menu-toggler" data-toggle="collapse" ${ isNormalMode ?
'data-target="#components-links-module-AdminModule-bf625bdb8aefe13672d7b39813a7c308"' : 'data-target="#xs-components-links-module-AdminModule-bf625bdb8aefe13672d7b39813a7c308"' }> 'data-target="#components-links-module-AdminModule-39a44c4ebbd930099ac8f91230546ab6"' : 'data-target="#xs-components-links-module-AdminModule-39a44c4ebbd930099ac8f91230546ab6"' }>
<span class="icon ion-md-cog"></span> <span class="icon ion-md-cog"></span>
<span>Components</span> <span>Components</span>
<span class="icon ion-ios-arrow-down"></span> <span class="icon ion-ios-arrow-down"></span>
</div> </div>
<ul class="links collapse" ${ isNormalMode ? 'id="components-links-module-AdminModule-bf625bdb8aefe13672d7b39813a7c308"' : <ul class="links collapse" ${ isNormalMode ? 'id="components-links-module-AdminModule-39a44c4ebbd930099ac8f91230546ab6"' :
'id="xs-components-links-module-AdminModule-bf625bdb8aefe13672d7b39813a7c308"' }> 'id="xs-components-links-module-AdminModule-39a44c4ebbd930099ac8f91230546ab6"' }>
<li class="link"> <li class="link">
<a href="components/AdminComponent.html" <a href="components/AdminComponent.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules" >AdminComponent</a>
data-type="entity-link" data-context="sub-entity" data-context-id="modules">AdminComponent</a>
</li> </li>
</ul> </ul>
</li> </li>
</li> </li>
<li class="link"> <li class="link">
<a href="modules/AdminRoutingModule.html" data-type="entity-link">AdminRoutingModule</a> <a href="modules/AdminRoutingModule.html" data-type="entity-link" >AdminRoutingModule</a>
</li> </li>
<li class="link"> <li class="link">
<a href="modules/AppModule.html" data-type="entity-link">AppModule</a> <a href="modules/AppModule.html" data-type="entity-link" >AppModule</a>
<li class="chapter inner"> <li class="chapter inner">
<div class="simple menu-toggler" data-toggle="collapse" ${ isNormalMode ? <div class="simple menu-toggler" data-toggle="collapse" ${ isNormalMode ?
'data-target="#components-links-module-AppModule-76194cd3efb2efcb11dc0e91210acb63"' : 'data-target="#xs-components-links-module-AppModule-76194cd3efb2efcb11dc0e91210acb63"' }> 'data-target="#components-links-module-AppModule-766d89157b0bb6b6616419de3737644b"' : 'data-target="#xs-components-links-module-AppModule-766d89157b0bb6b6616419de3737644b"' }>
<span class="icon ion-md-cog"></span> <span class="icon ion-md-cog"></span>
<span>Components</span> <span>Components</span>
<span class="icon ion-ios-arrow-down"></span> <span class="icon ion-ios-arrow-down"></span>
</div> </div>
<ul class="links collapse" ${ isNormalMode ? 'id="components-links-module-AppModule-76194cd3efb2efcb11dc0e91210acb63"' : <ul class="links collapse" ${ isNormalMode ? 'id="components-links-module-AppModule-766d89157b0bb6b6616419de3737644b"' :
'id="xs-components-links-module-AppModule-76194cd3efb2efcb11dc0e91210acb63"' }> 'id="xs-components-links-module-AppModule-766d89157b0bb6b6616419de3737644b"' }>
<li class="link"> <li class="link">
<a href="components/AppComponent.html" <a href="components/AppComponent.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules" >AppComponent</a>
data-type="entity-link" data-context="sub-entity" data-context-id="modules">AppComponent</a>
</li> </li>
</ul> </ul>
</li> </li>
<li class="chapter inner"> <li class="chapter inner">
<div class="simple menu-toggler" data-toggle="collapse" ${ isNormalMode ? <div class="simple menu-toggler" data-toggle="collapse" ${ isNormalMode ?
'data-target="#injectables-links-module-AppModule-76194cd3efb2efcb11dc0e91210acb63"' : 'data-target="#xs-injectables-links-module-AppModule-76194cd3efb2efcb11dc0e91210acb63"' }> 'data-target="#injectables-links-module-AppModule-766d89157b0bb6b6616419de3737644b"' : 'data-target="#xs-injectables-links-module-AppModule-766d89157b0bb6b6616419de3737644b"' }>
<span class="icon ion-md-arrow-round-down"></span> <span class="icon ion-md-arrow-round-down"></span>
<span>Injectables</span> <span>Injectables</span>
<span class="icon ion-ios-arrow-down"></span> <span class="icon ion-ios-arrow-down"></span>
</div> </div>
<ul class="links collapse" ${ isNormalMode ? 'id="injectables-links-module-AppModule-76194cd3efb2efcb11dc0e91210acb63"' : <ul class="links collapse" ${ isNormalMode ? 'id="injectables-links-module-AppModule-766d89157b0bb6b6616419de3737644b"' :
'id="xs-injectables-links-module-AppModule-76194cd3efb2efcb11dc0e91210acb63"' }> 'id="xs-injectables-links-module-AppModule-766d89157b0bb6b6616419de3737644b"' }>
<li class="link"> <li class="link">
<a href="injectables/GlobalErrorHandler.html" <a href="injectables/GlobalErrorHandler.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules" >GlobalErrorHandler</a>
data-type="entity-link" data-context="sub-entity" data-context-id="modules" }>GlobalErrorHandler</a>
</li> </li>
</ul> </ul>
</li> </li>
</li> </li>
<li class="link"> <li class="link">
<a href="modules/AppRoutingModule.html" data-type="entity-link">AppRoutingModule</a> <a href="modules/AppRoutingModule.html" data-type="entity-link" >AppRoutingModule</a>
</li> </li>
<li class="link"> <li class="link">
<a href="modules/AuthModule.html" data-type="entity-link">AuthModule</a> <a href="modules/AuthModule.html" data-type="entity-link" >AuthModule</a>
<li class="chapter inner"> <li class="chapter inner">
<div class="simple menu-toggler" data-toggle="collapse" ${ isNormalMode ? <div class="simple menu-toggler" data-toggle="collapse" ${ isNormalMode ?
'data-target="#components-links-module-AuthModule-21adac75fe3c63a79af20c68295f3af3"' : 'data-target="#xs-components-links-module-AuthModule-21adac75fe3c63a79af20c68295f3af3"' }> 'data-target="#components-links-module-AuthModule-21adac75fe3c63a79af20c68295f3af3"' : 'data-target="#xs-components-links-module-AuthModule-21adac75fe3c63a79af20c68295f3af3"' }>
@ -158,8 +154,7 @@ customElements.define('compodoc-menu', class extends HTMLElement {
<ul class="links collapse" ${ isNormalMode ? 'id="components-links-module-AuthModule-21adac75fe3c63a79af20c68295f3af3"' : <ul class="links collapse" ${ isNormalMode ? 'id="components-links-module-AuthModule-21adac75fe3c63a79af20c68295f3af3"' :
'id="xs-components-links-module-AuthModule-21adac75fe3c63a79af20c68295f3af3"' }> 'id="xs-components-links-module-AuthModule-21adac75fe3c63a79af20c68295f3af3"' }>
<li class="link"> <li class="link">
<a href="components/AuthComponent.html" <a href="components/AuthComponent.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules" >AuthComponent</a>
data-type="entity-link" data-context="sub-entity" data-context-id="modules">AuthComponent</a>
</li> </li>
</ul> </ul>
</li> </li>
@ -173,17 +168,16 @@ customElements.define('compodoc-menu', class extends HTMLElement {
<ul class="links collapse" ${ isNormalMode ? 'id="directives-links-module-AuthModule-21adac75fe3c63a79af20c68295f3af3"' : <ul class="links collapse" ${ isNormalMode ? 'id="directives-links-module-AuthModule-21adac75fe3c63a79af20c68295f3af3"' :
'id="xs-directives-links-module-AuthModule-21adac75fe3c63a79af20c68295f3af3"' }> 'id="xs-directives-links-module-AuthModule-21adac75fe3c63a79af20c68295f3af3"' }>
<li class="link"> <li class="link">
<a href="directives/PasswordToggleDirective.html" <a href="directives/PasswordToggleDirective.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules" >PasswordToggleDirective</a>
data-type="entity-link" data-context="sub-entity" data-context-id="modules">PasswordToggleDirective</a>
</li> </li>
</ul> </ul>
</li> </li>
</li> </li>
<li class="link"> <li class="link">
<a href="modules/AuthRoutingModule.html" data-type="entity-link">AuthRoutingModule</a> <a href="modules/AuthRoutingModule.html" data-type="entity-link" >AuthRoutingModule</a>
</li> </li>
<li class="link"> <li class="link">
<a href="modules/PagesModule.html" data-type="entity-link">PagesModule</a> <a href="modules/PagesModule.html" data-type="entity-link" >PagesModule</a>
<li class="chapter inner"> <li class="chapter inner">
<div class="simple menu-toggler" data-toggle="collapse" ${ isNormalMode ? <div class="simple menu-toggler" data-toggle="collapse" ${ isNormalMode ?
'data-target="#components-links-module-PagesModule-4cd3582cec47ee4784a648a95d374033"' : 'data-target="#xs-components-links-module-PagesModule-4cd3582cec47ee4784a648a95d374033"' }> 'data-target="#components-links-module-PagesModule-4cd3582cec47ee4784a648a95d374033"' : 'data-target="#xs-components-links-module-PagesModule-4cd3582cec47ee4784a648a95d374033"' }>
@ -194,165 +188,151 @@ customElements.define('compodoc-menu', class extends HTMLElement {
<ul class="links collapse" ${ isNormalMode ? 'id="components-links-module-PagesModule-4cd3582cec47ee4784a648a95d374033"' : <ul class="links collapse" ${ isNormalMode ? 'id="components-links-module-PagesModule-4cd3582cec47ee4784a648a95d374033"' :
'id="xs-components-links-module-PagesModule-4cd3582cec47ee4784a648a95d374033"' }> 'id="xs-components-links-module-PagesModule-4cd3582cec47ee4784a648a95d374033"' }>
<li class="link"> <li class="link">
<a href="components/PagesComponent.html" <a href="components/PagesComponent.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules" >PagesComponent</a>
data-type="entity-link" data-context="sub-entity" data-context-id="modules">PagesComponent</a>
</li> </li>
</ul> </ul>
</li> </li>
</li> </li>
<li class="link"> <li class="link">
<a href="modules/PagesRoutingModule.html" data-type="entity-link">PagesRoutingModule</a> <a href="modules/PagesRoutingModule.html" data-type="entity-link" >PagesRoutingModule</a>
</li> </li>
<li class="link"> <li class="link">
<a href="modules/SettingsModule.html" data-type="entity-link">SettingsModule</a> <a href="modules/SettingsModule.html" data-type="entity-link" >SettingsModule</a>
<li class="chapter inner"> <li class="chapter inner">
<div class="simple menu-toggler" data-toggle="collapse" ${ isNormalMode ? <div class="simple menu-toggler" data-toggle="collapse" ${ isNormalMode ?
'data-target="#components-links-module-SettingsModule-5044f5da70b3cb7481119034e269a4c0"' : 'data-target="#xs-components-links-module-SettingsModule-5044f5da70b3cb7481119034e269a4c0"' }> 'data-target="#components-links-module-SettingsModule-7dd8a1bd4b8bede82e9785457505b073"' : 'data-target="#xs-components-links-module-SettingsModule-7dd8a1bd4b8bede82e9785457505b073"' }>
<span class="icon ion-md-cog"></span> <span class="icon ion-md-cog"></span>
<span>Components</span> <span>Components</span>
<span class="icon ion-ios-arrow-down"></span> <span class="icon ion-ios-arrow-down"></span>
</div> </div>
<ul class="links collapse" ${ isNormalMode ? 'id="components-links-module-SettingsModule-5044f5da70b3cb7481119034e269a4c0"' : <ul class="links collapse" ${ isNormalMode ? 'id="components-links-module-SettingsModule-7dd8a1bd4b8bede82e9785457505b073"' :
'id="xs-components-links-module-SettingsModule-5044f5da70b3cb7481119034e269a4c0"' }> 'id="xs-components-links-module-SettingsModule-7dd8a1bd4b8bede82e9785457505b073"' }>
<li class="link"> <li class="link">
<a href="components/OrganizationComponent.html" <a href="components/OrganizationComponent.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules" >OrganizationComponent</a>
data-type="entity-link" data-context="sub-entity" data-context-id="modules">OrganizationComponent</a>
</li> </li>
<li class="link"> <li class="link">
<a href="components/SettingsComponent.html" <a href="components/SettingsComponent.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules" >SettingsComponent</a>
data-type="entity-link" data-context="sub-entity" data-context-id="modules">SettingsComponent</a>
</li> </li>
</ul> </ul>
</li> </li>
</li> </li>
<li class="link"> <li class="link">
<a href="modules/SettingsRoutingModule.html" data-type="entity-link">SettingsRoutingModule</a> <a href="modules/SettingsRoutingModule.html" data-type="entity-link" >SettingsRoutingModule</a>
</li> </li>
<li class="link"> <li class="link">
<a href="modules/SharedModule.html" data-type="entity-link">SharedModule</a> <a href="modules/SharedModule.html" data-type="entity-link" >SharedModule</a>
<li class="chapter inner"> <li class="chapter inner">
<div class="simple menu-toggler" data-toggle="collapse" ${ isNormalMode ? <div class="simple menu-toggler" data-toggle="collapse" ${ isNormalMode ?
'data-target="#components-links-module-SharedModule-3e576a8c748d27f7146572ab7c6213b0"' : 'data-target="#xs-components-links-module-SharedModule-3e576a8c748d27f7146572ab7c6213b0"' }> 'data-target="#components-links-module-SharedModule-8cf929cd015865bc240db7d04e6481ac"' : 'data-target="#xs-components-links-module-SharedModule-8cf929cd015865bc240db7d04e6481ac"' }>
<span class="icon ion-md-cog"></span> <span class="icon ion-md-cog"></span>
<span>Components</span> <span>Components</span>
<span class="icon ion-ios-arrow-down"></span> <span class="icon ion-ios-arrow-down"></span>
</div> </div>
<ul class="links collapse" ${ isNormalMode ? 'id="components-links-module-SharedModule-3e576a8c748d27f7146572ab7c6213b0"' : <ul class="links collapse" ${ isNormalMode ? 'id="components-links-module-SharedModule-8cf929cd015865bc240db7d04e6481ac"' :
'id="xs-components-links-module-SharedModule-3e576a8c748d27f7146572ab7c6213b0"' }> 'id="xs-components-links-module-SharedModule-8cf929cd015865bc240db7d04e6481ac"' }>
<li class="link"> <li class="link">
<a href="components/ErrorDialogComponent.html" <a href="components/ErrorDialogComponent.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules" >ErrorDialogComponent</a>
data-type="entity-link" data-context="sub-entity" data-context-id="modules">ErrorDialogComponent</a>
</li> </li>
<li class="link"> <li class="link">
<a href="components/FooterComponent.html" <a href="components/FooterComponent.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules" >FooterComponent</a>
data-type="entity-link" data-context="sub-entity" data-context-id="modules">FooterComponent</a>
</li> </li>
<li class="link"> <li class="link">
<a href="components/NetworkStatusComponent.html" <a href="components/NetworkStatusComponent.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules" >NetworkStatusComponent</a>
data-type="entity-link" data-context="sub-entity" data-context-id="modules">NetworkStatusComponent</a>
</li> </li>
<li class="link"> <li class="link">
<a href="components/SidebarComponent.html" <a href="components/SidebarComponent.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules" >SidebarComponent</a>
data-type="entity-link" data-context="sub-entity" data-context-id="modules">SidebarComponent</a>
</li> </li>
<li class="link"> <li class="link">
<a href="components/TopbarComponent.html" <a href="components/TopbarComponent.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules" >TopbarComponent</a>
data-type="entity-link" data-context="sub-entity" data-context-id="modules">TopbarComponent</a>
</li> </li>
</ul> </ul>
</li> </li>
<li class="chapter inner"> <li class="chapter inner">
<div class="simple menu-toggler" data-toggle="collapse" ${ isNormalMode ? <div class="simple menu-toggler" data-toggle="collapse" ${ isNormalMode ?
'data-target="#directives-links-module-SharedModule-3e576a8c748d27f7146572ab7c6213b0"' : 'data-target="#xs-directives-links-module-SharedModule-3e576a8c748d27f7146572ab7c6213b0"' }> 'data-target="#directives-links-module-SharedModule-8cf929cd015865bc240db7d04e6481ac"' : 'data-target="#xs-directives-links-module-SharedModule-8cf929cd015865bc240db7d04e6481ac"' }>
<span class="icon ion-md-code-working"></span> <span class="icon ion-md-code-working"></span>
<span>Directives</span> <span>Directives</span>
<span class="icon ion-ios-arrow-down"></span> <span class="icon ion-ios-arrow-down"></span>
</div> </div>
<ul class="links collapse" ${ isNormalMode ? 'id="directives-links-module-SharedModule-3e576a8c748d27f7146572ab7c6213b0"' : <ul class="links collapse" ${ isNormalMode ? 'id="directives-links-module-SharedModule-8cf929cd015865bc240db7d04e6481ac"' :
'id="xs-directives-links-module-SharedModule-3e576a8c748d27f7146572ab7c6213b0"' }> 'id="xs-directives-links-module-SharedModule-8cf929cd015865bc240db7d04e6481ac"' }>
<li class="link"> <li class="link">
<a href="directives/MenuSelectionDirective.html" <a href="directives/MenuSelectionDirective.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules" >MenuSelectionDirective</a>
data-type="entity-link" data-context="sub-entity" data-context-id="modules">MenuSelectionDirective</a>
</li> </li>
<li class="link"> <li class="link">
<a href="directives/MenuToggleDirective.html" <a href="directives/MenuToggleDirective.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules" >MenuToggleDirective</a>
data-type="entity-link" data-context="sub-entity" data-context-id="modules">MenuToggleDirective</a>
</li> </li>
</ul> </ul>
</li> </li>
<li class="chapter inner"> <li class="chapter inner">
<div class="simple menu-toggler" data-toggle="collapse" ${ isNormalMode ? <div class="simple menu-toggler" data-toggle="collapse" ${ isNormalMode ?
'data-target="#pipes-links-module-SharedModule-3e576a8c748d27f7146572ab7c6213b0"' : 'data-target="#xs-pipes-links-module-SharedModule-3e576a8c748d27f7146572ab7c6213b0"' }> 'data-target="#pipes-links-module-SharedModule-8cf929cd015865bc240db7d04e6481ac"' : 'data-target="#xs-pipes-links-module-SharedModule-8cf929cd015865bc240db7d04e6481ac"' }>
<span class="icon ion-md-add"></span> <span class="icon ion-md-add"></span>
<span>Pipes</span> <span>Pipes</span>
<span class="icon ion-ios-arrow-down"></span> <span class="icon ion-ios-arrow-down"></span>
</div> </div>
<ul class="links collapse" ${ isNormalMode ? 'id="pipes-links-module-SharedModule-3e576a8c748d27f7146572ab7c6213b0"' : <ul class="links collapse" ${ isNormalMode ? 'id="pipes-links-module-SharedModule-8cf929cd015865bc240db7d04e6481ac"' :
'id="xs-pipes-links-module-SharedModule-3e576a8c748d27f7146572ab7c6213b0"' }> 'id="xs-pipes-links-module-SharedModule-8cf929cd015865bc240db7d04e6481ac"' }>
<li class="link"> <li class="link">
<a href="pipes/SafePipe.html" <a href="pipes/SafePipe.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules" >SafePipe</a>
data-type="entity-link" data-context="sub-entity" data-context-id="modules">SafePipe</a>
</li> </li>
<li class="link"> <li class="link">
<a href="pipes/TokenRatioPipe.html" <a href="pipes/SignatureUserPipe.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules" >SignatureUserPipe</a>
data-type="entity-link" data-context="sub-entity" data-context-id="modules">TokenRatioPipe</a>
</li> </li>
<li class="link"> <li class="link">
<a href="pipes/UnixDatePipe.html" <a href="pipes/TokenRatioPipe.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules" >TokenRatioPipe</a>
data-type="entity-link" data-context="sub-entity" data-context-id="modules">UnixDatePipe</a> </li>
<li class="link">
<a href="pipes/UnixDatePipe.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules" >UnixDatePipe</a>
</li> </li>
</ul> </ul>
</li> </li>
</li> </li>
<li class="link"> <li class="link">
<a href="modules/TokensModule.html" data-type="entity-link">TokensModule</a> <a href="modules/TokensModule.html" data-type="entity-link" >TokensModule</a>
<li class="chapter inner"> <li class="chapter inner">
<div class="simple menu-toggler" data-toggle="collapse" ${ isNormalMode ? <div class="simple menu-toggler" data-toggle="collapse" ${ isNormalMode ?
'data-target="#components-links-module-TokensModule-4cd6c9f8281377a062841d33114ab4d6"' : 'data-target="#xs-components-links-module-TokensModule-4cd6c9f8281377a062841d33114ab4d6"' }> 'data-target="#components-links-module-TokensModule-c069fb4fe5504f32a0c0e96f419b2cd3"' : 'data-target="#xs-components-links-module-TokensModule-c069fb4fe5504f32a0c0e96f419b2cd3"' }>
<span class="icon ion-md-cog"></span> <span class="icon ion-md-cog"></span>
<span>Components</span> <span>Components</span>
<span class="icon ion-ios-arrow-down"></span> <span class="icon ion-ios-arrow-down"></span>
</div> </div>
<ul class="links collapse" ${ isNormalMode ? 'id="components-links-module-TokensModule-4cd6c9f8281377a062841d33114ab4d6"' : <ul class="links collapse" ${ isNormalMode ? 'id="components-links-module-TokensModule-c069fb4fe5504f32a0c0e96f419b2cd3"' :
'id="xs-components-links-module-TokensModule-4cd6c9f8281377a062841d33114ab4d6"' }> 'id="xs-components-links-module-TokensModule-c069fb4fe5504f32a0c0e96f419b2cd3"' }>
<li class="link"> <li class="link">
<a href="components/TokenDetailsComponent.html" <a href="components/TokenDetailsComponent.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules" >TokenDetailsComponent</a>
data-type="entity-link" data-context="sub-entity" data-context-id="modules">TokenDetailsComponent</a>
</li> </li>
<li class="link"> <li class="link">
<a href="components/TokensComponent.html" <a href="components/TokensComponent.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules" >TokensComponent</a>
data-type="entity-link" data-context="sub-entity" data-context-id="modules">TokensComponent</a>
</li> </li>
</ul> </ul>
</li> </li>
</li> </li>
<li class="link"> <li class="link">
<a href="modules/TokensRoutingModule.html" data-type="entity-link">TokensRoutingModule</a> <a href="modules/TokensRoutingModule.html" data-type="entity-link" >TokensRoutingModule</a>
</li> </li>
<li class="link"> <li class="link">
<a href="modules/TransactionsModule.html" data-type="entity-link">TransactionsModule</a> <a href="modules/TransactionsModule.html" data-type="entity-link" >TransactionsModule</a>
<li class="chapter inner"> <li class="chapter inner">
<div class="simple menu-toggler" data-toggle="collapse" ${ isNormalMode ? <div class="simple menu-toggler" data-toggle="collapse" ${ isNormalMode ?
'data-target="#components-links-module-TransactionsModule-7e4ae7b28baa579581c11fbb444cc24a"' : 'data-target="#xs-components-links-module-TransactionsModule-7e4ae7b28baa579581c11fbb444cc24a"' }> 'data-target="#components-links-module-TransactionsModule-de934b87acdc180b1d34aee641ede962"' : 'data-target="#xs-components-links-module-TransactionsModule-de934b87acdc180b1d34aee641ede962"' }>
<span class="icon ion-md-cog"></span> <span class="icon ion-md-cog"></span>
<span>Components</span> <span>Components</span>
<span class="icon ion-ios-arrow-down"></span> <span class="icon ion-ios-arrow-down"></span>
</div> </div>
<ul class="links collapse" ${ isNormalMode ? 'id="components-links-module-TransactionsModule-7e4ae7b28baa579581c11fbb444cc24a"' : <ul class="links collapse" ${ isNormalMode ? 'id="components-links-module-TransactionsModule-de934b87acdc180b1d34aee641ede962"' :
'id="xs-components-links-module-TransactionsModule-7e4ae7b28baa579581c11fbb444cc24a"' }> 'id="xs-components-links-module-TransactionsModule-de934b87acdc180b1d34aee641ede962"' }>
<li class="link"> <li class="link">
<a href="components/TransactionDetailsComponent.html" <a href="components/TransactionDetailsComponent.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules" >TransactionDetailsComponent</a>
data-type="entity-link" data-context="sub-entity" data-context-id="modules">TransactionDetailsComponent</a>
</li> </li>
<li class="link"> <li class="link">
<a href="components/TransactionsComponent.html" <a href="components/TransactionsComponent.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules" >TransactionsComponent</a>
data-type="entity-link" data-context="sub-entity" data-context-id="modules">TransactionsComponent</a>
</li> </li>
</ul> </ul>
</li> </li>
</li> </li>
<li class="link"> <li class="link">
<a href="modules/TransactionsRoutingModule.html" data-type="entity-link">TransactionsRoutingModule</a> <a href="modules/TransactionsRoutingModule.html" data-type="entity-link" >TransactionsRoutingModule</a>
</li> </li>
</ul> </ul>
</li> </li>
@ -365,40 +345,40 @@ customElements.define('compodoc-menu', class extends HTMLElement {
</div> </div>
<ul class="links collapse " ${ isNormalMode ? 'id="components-links"' : 'id="xs-components-links"' }> <ul class="links collapse " ${ isNormalMode ? 'id="components-links"' : 'id="xs-components-links"' }>
<li class="link"> <li class="link">
<a href="components/AccountDetailsComponent.html" data-type="entity-link">AccountDetailsComponent</a> <a href="components/AccountDetailsComponent.html" data-type="entity-link" >AccountDetailsComponent</a>
</li> </li>
<li class="link"> <li class="link">
<a href="components/CreateAccountComponent.html" data-type="entity-link">CreateAccountComponent</a> <a href="components/CreateAccountComponent.html" data-type="entity-link" >CreateAccountComponent</a>
</li> </li>
<li class="link"> <li class="link">
<a href="components/ErrorDialogComponent.html" data-type="entity-link">ErrorDialogComponent</a> <a href="components/ErrorDialogComponent.html" data-type="entity-link" >ErrorDialogComponent</a>
</li> </li>
<li class="link"> <li class="link">
<a href="components/FooterComponent.html" data-type="entity-link">FooterComponent</a> <a href="components/FooterComponent.html" data-type="entity-link" >FooterComponent</a>
</li> </li>
<li class="link"> <li class="link">
<a href="components/FooterStubComponent.html" data-type="entity-link">FooterStubComponent</a> <a href="components/FooterStubComponent.html" data-type="entity-link" >FooterStubComponent</a>
</li> </li>
<li class="link"> <li class="link">
<a href="components/OrganizationComponent.html" data-type="entity-link">OrganizationComponent</a> <a href="components/OrganizationComponent.html" data-type="entity-link" >OrganizationComponent</a>
</li> </li>
<li class="link"> <li class="link">
<a href="components/SidebarComponent.html" data-type="entity-link">SidebarComponent</a> <a href="components/SidebarComponent.html" data-type="entity-link" >SidebarComponent</a>
</li> </li>
<li class="link"> <li class="link">
<a href="components/SidebarStubComponent.html" data-type="entity-link">SidebarStubComponent</a> <a href="components/SidebarStubComponent.html" data-type="entity-link" >SidebarStubComponent</a>
</li> </li>
<li class="link"> <li class="link">
<a href="components/TokenDetailsComponent.html" data-type="entity-link">TokenDetailsComponent</a> <a href="components/TokenDetailsComponent.html" data-type="entity-link" >TokenDetailsComponent</a>
</li> </li>
<li class="link"> <li class="link">
<a href="components/TopbarComponent.html" data-type="entity-link">TopbarComponent</a> <a href="components/TopbarComponent.html" data-type="entity-link" >TopbarComponent</a>
</li> </li>
<li class="link"> <li class="link">
<a href="components/TopbarStubComponent.html" data-type="entity-link">TopbarStubComponent</a> <a href="components/TopbarStubComponent.html" data-type="entity-link" >TopbarStubComponent</a>
</li> </li>
<li class="link"> <li class="link">
<a href="components/TransactionDetailsComponent.html" data-type="entity-link">TransactionDetailsComponent</a> <a href="components/TransactionDetailsComponent.html" data-type="entity-link" >TransactionDetailsComponent</a>
</li> </li>
</ul> </ul>
</li> </li>
@ -411,16 +391,16 @@ customElements.define('compodoc-menu', class extends HTMLElement {
</div> </div>
<ul class="links collapse " ${ isNormalMode ? 'id="directives-links"' : 'id="xs-directives-links"' }> <ul class="links collapse " ${ isNormalMode ? 'id="directives-links"' : 'id="xs-directives-links"' }>
<li class="link"> <li class="link">
<a href="directives/MenuSelectionDirective.html" data-type="entity-link">MenuSelectionDirective</a> <a href="directives/MenuSelectionDirective.html" data-type="entity-link" >MenuSelectionDirective</a>
</li> </li>
<li class="link"> <li class="link">
<a href="directives/MenuToggleDirective.html" data-type="entity-link">MenuToggleDirective</a> <a href="directives/MenuToggleDirective.html" data-type="entity-link" >MenuToggleDirective</a>
</li> </li>
<li class="link"> <li class="link">
<a href="directives/PasswordToggleDirective.html" data-type="entity-link">PasswordToggleDirective</a> <a href="directives/PasswordToggleDirective.html" data-type="entity-link" >PasswordToggleDirective</a>
</li> </li>
<li class="link"> <li class="link">
<a href="directives/RouterLinkDirectiveStub.html" data-type="entity-link">RouterLinkDirectiveStub</a> <a href="directives/RouterLinkDirectiveStub.html" data-type="entity-link" >RouterLinkDirectiveStub</a>
</li> </li>
</ul> </ul>
</li> </li>
@ -433,40 +413,40 @@ customElements.define('compodoc-menu', class extends HTMLElement {
</div> </div>
<ul class="links collapse " ${ isNormalMode ? 'id="classes-links"' : 'id="xs-classes-links"' }> <ul class="links collapse " ${ isNormalMode ? 'id="classes-links"' : 'id="xs-classes-links"' }>
<li class="link"> <li class="link">
<a href="classes/AccountIndex.html" data-type="entity-link">AccountIndex</a> <a href="classes/AccountIndex.html" data-type="entity-link" >AccountIndex</a>
</li> </li>
<li class="link"> <li class="link">
<a href="classes/ActivatedRouteStub.html" data-type="entity-link">ActivatedRouteStub</a> <a href="classes/ActivatedRouteStub.html" data-type="entity-link" >ActivatedRouteStub</a>
</li> </li>
<li class="link"> <li class="link">
<a href="classes/CustomErrorStateMatcher.html" data-type="entity-link">CustomErrorStateMatcher</a> <a href="classes/CustomErrorStateMatcher.html" data-type="entity-link" >CustomErrorStateMatcher</a>
</li> </li>
<li class="link"> <li class="link">
<a href="classes/CustomValidator.html" data-type="entity-link">CustomValidator</a> <a href="classes/CustomValidator.html" data-type="entity-link" >CustomValidator</a>
</li> </li>
<li class="link"> <li class="link">
<a href="classes/HttpError.html" data-type="entity-link">HttpError</a> <a href="classes/HttpError.html" data-type="entity-link" >HttpError</a>
</li> </li>
<li class="link"> <li class="link">
<a href="classes/MutablePgpKeyStore.html" data-type="entity-link">MutablePgpKeyStore</a> <a href="classes/MutablePgpKeyStore.html" data-type="entity-link" >MutablePgpKeyStore</a>
</li> </li>
<li class="link"> <li class="link">
<a href="classes/PGPSigner.html" data-type="entity-link">PGPSigner</a> <a href="classes/PGPSigner.html" data-type="entity-link" >PGPSigner</a>
</li> </li>
<li class="link"> <li class="link">
<a href="classes/Settings.html" data-type="entity-link">Settings</a> <a href="classes/Settings.html" data-type="entity-link" >Settings</a>
</li> </li>
<li class="link"> <li class="link">
<a href="classes/TokenRegistry.html" data-type="entity-link">TokenRegistry</a> <a href="classes/TokenRegistry.html" data-type="entity-link" >TokenRegistry</a>
</li> </li>
<li class="link"> <li class="link">
<a href="classes/TokenServiceStub.html" data-type="entity-link">TokenServiceStub</a> <a href="classes/TokenServiceStub.html" data-type="entity-link" >TokenServiceStub</a>
</li> </li>
<li class="link"> <li class="link">
<a href="classes/TransactionServiceStub.html" data-type="entity-link">TransactionServiceStub</a> <a href="classes/TransactionServiceStub.html" data-type="entity-link" >TransactionServiceStub</a>
</li> </li>
<li class="link"> <li class="link">
<a href="classes/UserServiceStub.html" data-type="entity-link">UserServiceStub</a> <a href="classes/UserServiceStub.html" data-type="entity-link" >UserServiceStub</a>
</li> </li>
</ul> </ul>
</li> </li>
@ -479,40 +459,40 @@ customElements.define('compodoc-menu', class extends HTMLElement {
</div> </div>
<ul class="links collapse " ${ isNormalMode ? 'id="injectables-links"' : 'id="xs-injectables-links"' }> <ul class="links collapse " ${ isNormalMode ? 'id="injectables-links"' : 'id="xs-injectables-links"' }>
<li class="link"> <li class="link">
<a href="injectables/AuthService.html" data-type="entity-link">AuthService</a> <a href="injectables/AuthService.html" data-type="entity-link" >AuthService</a>
</li> </li>
<li class="link"> <li class="link">
<a href="injectables/BlockSyncService.html" data-type="entity-link">BlockSyncService</a> <a href="injectables/BlockSyncService.html" data-type="entity-link" >BlockSyncService</a>
</li> </li>
<li class="link"> <li class="link">
<a href="injectables/ErrorDialogService.html" data-type="entity-link">ErrorDialogService</a> <a href="injectables/ErrorDialogService.html" data-type="entity-link" >ErrorDialogService</a>
</li> </li>
<li class="link"> <li class="link">
<a href="injectables/GlobalErrorHandler.html" data-type="entity-link">GlobalErrorHandler</a> <a href="injectables/GlobalErrorHandler.html" data-type="entity-link" >GlobalErrorHandler</a>
</li> </li>
<li class="link"> <li class="link">
<a href="injectables/KeystoreService.html" data-type="entity-link">KeystoreService</a> <a href="injectables/KeystoreService.html" data-type="entity-link" >KeystoreService</a>
</li> </li>
<li class="link"> <li class="link">
<a href="injectables/LocationService.html" data-type="entity-link">LocationService</a> <a href="injectables/LocationService.html" data-type="entity-link" >LocationService</a>
</li> </li>
<li class="link"> <li class="link">
<a href="injectables/LoggingService.html" data-type="entity-link">LoggingService</a> <a href="injectables/LoggingService.html" data-type="entity-link" >LoggingService</a>
</li> </li>
<li class="link"> <li class="link">
<a href="injectables/RegistryService.html" data-type="entity-link">RegistryService</a> <a href="injectables/RegistryService.html" data-type="entity-link" >RegistryService</a>
</li> </li>
<li class="link"> <li class="link">
<a href="injectables/TokenService.html" data-type="entity-link">TokenService</a> <a href="injectables/TokenService.html" data-type="entity-link" >TokenService</a>
</li> </li>
<li class="link"> <li class="link">
<a href="injectables/TransactionService.html" data-type="entity-link">TransactionService</a> <a href="injectables/TransactionService.html" data-type="entity-link" >TransactionService</a>
</li> </li>
<li class="link"> <li class="link">
<a href="injectables/UserService.html" data-type="entity-link">UserService</a> <a href="injectables/UserService.html" data-type="entity-link" >UserService</a>
</li> </li>
<li class="link"> <li class="link">
<a href="injectables/Web3Service.html" data-type="entity-link">Web3Service</a> <a href="injectables/Web3Service.html" data-type="entity-link" >Web3Service</a>
</li> </li>
</ul> </ul>
</li> </li>
@ -525,16 +505,19 @@ customElements.define('compodoc-menu', class extends HTMLElement {
</div> </div>
<ul class="links collapse " ${ isNormalMode ? 'id="interceptors-links"' : 'id="xs-interceptors-links"' }> <ul class="links collapse " ${ isNormalMode ? 'id="interceptors-links"' : 'id="xs-interceptors-links"' }>
<li class="link"> <li class="link">
<a href="interceptors/ErrorInterceptor.html" data-type="entity-link">ErrorInterceptor</a> <a href="interceptors/ConnectionInterceptor.html" data-type="entity-link" >ConnectionInterceptor</a>
</li> </li>
<li class="link"> <li class="link">
<a href="interceptors/HttpConfigInterceptor.html" data-type="entity-link">HttpConfigInterceptor</a> <a href="interceptors/ErrorInterceptor.html" data-type="entity-link" >ErrorInterceptor</a>
</li> </li>
<li class="link"> <li class="link">
<a href="interceptors/LoggingInterceptor.html" data-type="entity-link">LoggingInterceptor</a> <a href="interceptors/HttpConfigInterceptor.html" data-type="entity-link" >HttpConfigInterceptor</a>
</li> </li>
<li class="link"> <li class="link">
<a href="interceptors/MockBackendInterceptor.html" data-type="entity-link">MockBackendInterceptor</a> <a href="interceptors/LoggingInterceptor.html" data-type="entity-link" >LoggingInterceptor</a>
</li>
<li class="link">
<a href="interceptors/MockBackendInterceptor.html" data-type="entity-link" >MockBackendInterceptor</a>
</li> </li>
</ul> </ul>
</li> </li>
@ -547,10 +530,10 @@ customElements.define('compodoc-menu', class extends HTMLElement {
</div> </div>
<ul class="links collapse " ${ isNormalMode ? 'id="guards-links"' : 'id="xs-guards-links"' }> <ul class="links collapse " ${ isNormalMode ? 'id="guards-links"' : 'id="xs-guards-links"' }>
<li class="link"> <li class="link">
<a href="guards/AuthGuard.html" data-type="entity-link">AuthGuard</a> <a href="guards/AuthGuard.html" data-type="entity-link" >AuthGuard</a>
</li> </li>
<li class="link"> <li class="link">
<a href="guards/RoleGuard.html" data-type="entity-link">RoleGuard</a> <a href="guards/RoleGuard.html" data-type="entity-link" >RoleGuard</a>
</li> </li>
</ul> </ul>
</li> </li>
@ -563,52 +546,52 @@ customElements.define('compodoc-menu', class extends HTMLElement {
</div> </div>
<ul class="links collapse " ${ isNormalMode ? ' id="interfaces-links"' : 'id="xs-interfaces-links"' }> <ul class="links collapse " ${ isNormalMode ? ' id="interfaces-links"' : 'id="xs-interfaces-links"' }>
<li class="link"> <li class="link">
<a href="interfaces/AccountDetails.html" data-type="entity-link">AccountDetails</a> <a href="interfaces/AccountDetails.html" data-type="entity-link" >AccountDetails</a>
</li> </li>
<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"> <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>
<li class="link"> <li class="link">
<a href="interfaces/Meta.html" data-type="entity-link">Meta</a> <a href="interfaces/Meta.html" data-type="entity-link" >Meta</a>
</li> </li>
<li class="link"> <li class="link">
<a href="interfaces/MetaResponse.html" data-type="entity-link">MetaResponse</a> <a href="interfaces/MetaResponse.html" data-type="entity-link" >MetaResponse</a>
</li> </li>
<li class="link"> <li class="link">
<a href="interfaces/MutableKeyStore.html" data-type="entity-link">MutableKeyStore</a> <a href="interfaces/MutableKeyStore.html" data-type="entity-link" >MutableKeyStore</a>
</li> </li>
<li class="link"> <li class="link">
<a href="interfaces/Signable.html" data-type="entity-link">Signable</a> <a href="interfaces/Signable.html" data-type="entity-link" >Signable</a>
</li> </li>
<li class="link"> <li class="link">
<a href="interfaces/Signature.html" data-type="entity-link">Signature</a> <a href="interfaces/Signature.html" data-type="entity-link" >Signature</a>
</li> </li>
<li class="link"> <li class="link">
<a href="interfaces/Signature-1.html" data-type="entity-link">Signature</a> <a href="interfaces/Signature-1.html" data-type="entity-link" >Signature</a>
</li> </li>
<li class="link"> <li class="link">
<a href="interfaces/Signer.html" data-type="entity-link">Signer</a> <a href="interfaces/Signer.html" data-type="entity-link" >Signer</a>
</li> </li>
<li class="link"> <li class="link">
<a href="interfaces/Staff.html" data-type="entity-link">Staff</a> <a href="interfaces/Staff.html" data-type="entity-link" >Staff</a>
</li> </li>
<li class="link"> <li class="link">
<a href="interfaces/Token.html" data-type="entity-link">Token</a> <a href="interfaces/Token.html" data-type="entity-link" >Token</a>
</li> </li>
<li class="link"> <li class="link">
<a href="interfaces/Transaction.html" data-type="entity-link">Transaction</a> <a href="interfaces/Transaction.html" data-type="entity-link" >Transaction</a>
</li> </li>
<li class="link"> <li class="link">
<a href="interfaces/Tx.html" data-type="entity-link">Tx</a> <a href="interfaces/Tx.html" data-type="entity-link" >Tx</a>
</li> </li>
<li class="link"> <li class="link">
<a href="interfaces/TxToken.html" data-type="entity-link">TxToken</a> <a href="interfaces/TxToken.html" data-type="entity-link" >TxToken</a>
</li> </li>
<li class="link"> <li class="link">
<a href="interfaces/W3.html" data-type="entity-link">W3</a> <a href="interfaces/W3.html" data-type="entity-link" >W3</a>
</li> </li>
</ul> </ul>
</li> </li>
@ -621,10 +604,10 @@ customElements.define('compodoc-menu', class extends HTMLElement {
</div> </div>
<ul class="links collapse " ${ isNormalMode ? 'id="pipes-links"' : 'id="xs-pipes-links"' }> <ul class="links collapse " ${ isNormalMode ? 'id="pipes-links"' : 'id="xs-pipes-links"' }>
<li class="link"> <li class="link">
<a href="pipes/SafePipe.html" data-type="entity-link">SafePipe</a> <a href="pipes/SafePipe.html" data-type="entity-link" >SafePipe</a>
</li> </li>
<li class="link"> <li class="link">
<a href="pipes/TokenRatioPipe.html" data-type="entity-link">TokenRatioPipe</a> <a href="pipes/TokenRatioPipe.html" data-type="entity-link" >TokenRatioPipe</a>
</li> </li>
</ul> </ul>
</li> </li>

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
document.addEventListener('DOMContentLoaded', function() { document.addEventListener('DOMContentLoaded', function () {
var menuCollapsed = false, var menuCollapsed = false,
mobileMenu = document.getElementById('mobile-menu'); mobileMenu = document.getElementById('mobile-menu');
@ -27,7 +27,7 @@ document.addEventListener('DOMContentLoaded', function() {
return el.className && new RegExp('(\\s|^)' + cls + '(\\s|$)').test(el.className); return el.className && new RegExp('(\\s|^)' + cls + '(\\s|$)').test(el.className);
} }
var processLink = function(link, url) { var processLink = function (link, url) {
if (url.charAt(0) !== '.') { if (url.charAt(0) !== '.') {
var prefix = ''; var prefix = '';
switch (COMPODOC_CURRENT_PAGE_DEPTH) { switch (COMPODOC_CURRENT_PAGE_DEPTH) {
@ -54,7 +54,7 @@ document.addEventListener('DOMContentLoaded', function() {
} }
}; };
var processMenuLinks = function(links, dontAddClass) { var processMenuLinks = function (links, dontAddClass) {
for (var i = 0; i < links.length; i++) { for (var i = 0; i < links.length; i++) {
var link = links[i]; var link = links[i];
var linkHref = link.getAttribute('href'); var linkHref = link.getAttribute('href');
@ -79,11 +79,16 @@ document.addEventListener('DOMContentLoaded', function() {
var indexLinks = document.querySelectorAll('[data-type="index-link"]'); var indexLinks = document.querySelectorAll('[data-type="index-link"]');
processMenuLinks(indexLinks, true); processMenuLinks(indexLinks, true);
var entityLogos = document.querySelectorAll('[data-type="compodoc-logo"]'); var entityLogos = document.querySelectorAll('[data-type="compodoc-logo"]');
var processLogos = function(entityLogo) { var processLogos = function (entityLogo) {
for (var i = 0; i < entityLogos.length; i++) { for (var i = 0; i < entityLogos.length; i++) {
var entityLogo = entityLogos[i]; var entityLogo = entityLogos[i];
if (entityLogo) { if (entityLogo) {
var url = entityLogo.getAttribute('data-src'); var url = entityLogo.getAttribute('data-src');
// Dark mode + logo
let isDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches;
if (isDarkMode) {
url = 'images/compodoc-vectorise-inverted.png';
}
if (url.charAt(0) !== '.') { if (url.charAt(0) !== '.') {
var prefix = ''; var prefix = '';
switch (COMPODOC_CURRENT_PAGE_DEPTH) { switch (COMPODOC_CURRENT_PAGE_DEPTH) {
@ -113,8 +118,8 @@ document.addEventListener('DOMContentLoaded', function() {
}; };
processLogos(entityLogos); processLogos(entityLogos);
setTimeout(function() { setTimeout(function () {
document.getElementById('btn-menu').addEventListener('click', function() { document.getElementById('btn-menu').addEventListener('click', function () {
if (menuCollapsed) { if (menuCollapsed) {
mobileMenu.style.display = 'none'; mobileMenu.style.display = 'none';
} else { } else {
@ -139,7 +144,7 @@ document.addEventListener('DOMContentLoaded', function() {
var classnameMenuToggler = document.getElementsByClassName('menu-toggler'), var classnameMenuToggler = document.getElementsByClassName('menu-toggler'),
faAngleUpClass = 'ion-ios-arrow-up', faAngleUpClass = 'ion-ios-arrow-up',
faAngleDownClass = 'ion-ios-arrow-down', faAngleDownClass = 'ion-ios-arrow-down',
toggleItemMenu = function(e) { toggleItemMenu = function (e) {
var element = $(e.target), var element = $(e.target),
parent = element[0].parentNode, parent = element[0].parentNode,
parentLink, parentLink,
@ -204,9 +209,8 @@ document.addEventListener('DOMContentLoaded', function() {
parentChapterMenu = parentUl.parentNode; parentChapterMenu = parentUl.parentNode;
if (parentChapterMenu) { if (parentChapterMenu) {
var toggler = parentChapterMenu.querySelector('.menu-toggler'), var toggler = parentChapterMenu.querySelector('.menu-toggler'),
elementIconChild = toggler.getElementsByClassName( elementIconChild =
faAngleUpClass toggler.getElementsByClassName(faAngleUpClass)[0];
)[0];
if (toggler && !elementIconChild) { if (toggler && !elementIconChild) {
toggler.click(); toggler.click();
} }
@ -246,7 +250,7 @@ document.addEventListener('DOMContentLoaded', function() {
} }
} }
} }
setTimeout(function() { setTimeout(function () {
activeMenu.scrollTop = activeLink.offsetTop; activeMenu.scrollTop = activeLink.offsetTop;
if ( if (
activeLink.innerHTML.toLowerCase().indexOf('readme') != -1 || activeLink.innerHTML.toLowerCase().indexOf('readme') != -1 ||

View File

@ -1 +1 @@
var ROUTES_INDEX = {"name":"<root>","kind":"module","className":"AppModule","children":[{"name":"routes","filename":"src/app/app-routing.module.ts","module":"AppRoutingModule","kind":"module"}]} var ROUTES_INDEX = {"name":"<root>","kind":"module","className":"AppModule","children":[{"name":"routes","filename":"src/app/app-routing.module.ts","module":"AppRoutingModule","children":[{"path":"auth","loadChildren":"@app/auth/auth.module#AuthModule","children":[{"kind":"module","children":[{"name":"routes","filename":"src/app/auth/auth-routing.module.ts","module":"AuthRoutingModule","children":[{"path":"","component":"AuthComponent"},{"path":"**","redirectTo":"","pathMatch":"full"}],"kind":"module"}],"module":"AuthModule"}]},{"path":"","loadChildren":"@pages/pages.module#PagesModule","canActivate":["AuthGuard"],"children":[{"kind":"module","children":[{"name":"routes","filename":"src/app/pages/pages-routing.module.ts","module":"PagesRoutingModule","children":[{"path":"home","component":"PagesComponent"},{"path":"tx","loadChildren":"@pages/transactions/transactions.module#TransactionsModule"},{"path":"settings","loadChildren":"@pages/settings/settings.module#SettingsModule","children":[{"kind":"module","children":[{"name":"routes","filename":"src/app/pages/settings/settings-routing.module.ts","module":"SettingsRoutingModule","children":[{"path":"","component":"SettingsComponent"},{"path":"organization","component":"OrganizationComponent"},{"path":"**","redirectTo":"","pathMatch":"full"}],"kind":"module"}],"module":"SettingsModule"}]},{"path":"accounts","loadChildren":"@pages/accounts/accounts.module#AccountsModule","children":[{"kind":"module","children":[{"name":"routes","filename":"src/app/pages/accounts/accounts-routing.module.ts","module":"AccountsRoutingModule","children":[{"path":"","component":"AccountsComponent"},{"path":"search","component":"AccountSearchComponent"},{"path":":id","component":"AccountDetailsComponent"},{"path":"**","redirectTo":"","pathMatch":"full"}],"kind":"module"}],"module":"AccountsModule"}]},{"path":"tokens","loadChildren":"@pages/tokens/tokens.module#TokensModule","children":[{"kind":"module","children":[{"name":"routes","filename":"src/app/pages/tokens/tokens-routing.module.ts","module":"TokensRoutingModule","children":[{"path":"","component":"TokensComponent"},{"path":":id","component":"TokenDetailsComponent"}],"kind":"module"}],"module":"TokensModule"}]},{"path":"**","redirectTo":"home","pathMatch":"full"}],"kind":"module"}],"module":"PagesModule"}]},{"path":"**","redirectTo":"","pathMatch":"full"}],"kind":"module"}]}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="./images/favicon.ico"> <link rel="icon" type="image/x-icon" href="./images/favicon.ico">
<link rel="stylesheet" href="./styles/style.css"> <link rel="stylesheet" href="./styles/style.css">
<link rel="stylesheet" href="./styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -86,29 +87,30 @@ patents cannot be used to render the program non-free.</p>
<p> The precise terms and conditions for copying, distribution and <p> The precise terms and conditions for copying, distribution and
modification follow.</p> modification follow.</p>
<div><pre class="line-numbers"><code class="language-none"> TERMS AND CONDITIONS</code></pre></div><ol start="0"> <div><pre class="line-numbers"><code class="language-none"> TERMS AND CONDITIONS</code></pre></div><ol start="0">
<li><p>Definitions.</p> <li>Definitions.</li>
<p>&quot;This License&quot; refers to version 3 of the GNU General Public License.</p> </ol>
<p>&quot;Copyright&quot; also means copyright-like laws that apply to other kinds of <p> &quot;This License&quot; refers to version 3 of the GNU General Public License.</p>
<p> &quot;Copyright&quot; also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.</p> works, such as semiconductor masks.</p>
<p>&quot;The Program&quot; refers to any copyrightable work licensed under this <p> &quot;The Program&quot; refers to any copyrightable work licensed under this
License. Each licensee is addressed as &quot;you&quot;. &quot;Licensees&quot; and License. Each licensee is addressed as &quot;you&quot;. &quot;Licensees&quot; and
&quot;recipients&quot; may be individuals or organizations.</p> &quot;recipients&quot; may be individuals or organizations.</p>
<p>To &quot;modify&quot; a work means to copy from or adapt all or part of the work <p> To &quot;modify&quot; a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a &quot;modified version&quot; of the exact copy. The resulting work is called a &quot;modified version&quot; of the
earlier work or a work &quot;based on&quot; the earlier work.</p> earlier work or a work &quot;based on&quot; the earlier work.</p>
<p>A &quot;covered work&quot; means either the unmodified Program or a work based <p> A &quot;covered work&quot; means either the unmodified Program or a work based
on the Program.</p> on the Program.</p>
<p>To &quot;propagate&quot; a work means to do anything with it that, without <p> To &quot;propagate&quot; a work means to do anything with it that, without
permission, would make you directly or secondarily liable for permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying, computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the distribution (with or without modification), making available to the
public, and in some countries other activities as well.</p> public, and in some countries other activities as well.</p>
<p>To &quot;convey&quot; a work means any kind of propagation that enables other <p> To &quot;convey&quot; a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.</p> a computer network, with no transfer of a copy, is not conveying.</p>
<p>An interactive user interface displays &quot;Appropriate Legal Notices&quot; <p> An interactive user interface displays &quot;Appropriate Legal Notices&quot;
to the extent that it includes a convenient and prominently visible to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2) feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the tells the user that there is no warranty for the work (except to the
@ -116,16 +118,17 @@ extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.</p> menu, a prominent item in the list meets this criterion.</p>
</li> <ol>
<li><p>Source Code.</p> <li>Source Code.</li>
<p>The &quot;source code&quot; for a work means the preferred form of the work </ol>
<p> The &quot;source code&quot; for a work means the preferred form of the work
for making modifications to it. &quot;Object code&quot; means any non-source for making modifications to it. &quot;Object code&quot; means any non-source
form of a work.</p> form of a work.</p>
<p>A &quot;Standard Interface&quot; means an interface that either is an official <p> A &quot;Standard Interface&quot; means an interface that either is an official
standard defined by a recognized standards body, or, in the case of standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that interfaces specified for a particular programming language, one that
is widely used among developers working in that language.</p> is widely used among developers working in that language.</p>
<p>The &quot;System Libraries&quot; of an executable work include anything, other <p> The &quot;System Libraries&quot; of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that Component, and (b) serves only to enable use of the work with that
@ -135,7 +138,7 @@ implementation is available to the public in source code form. A
(kernel, window system, and so on) of the specific operating system (kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to (if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.</p> produce the work, or an object code interpreter used to run it.</p>
<p>The &quot;Corresponding Source&quot; for a work in object code form means all <p> The &quot;Corresponding Source&quot; for a work in object code form means all
the source code needed to generate, install, and (for an executable the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work&#39;s control those activities. However, it does not include the work&#39;s
@ -147,21 +150,22 @@ the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require, linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those such as by intimate data communication or control flow between those
subprograms and other parts of the work.</p> subprograms and other parts of the work.</p>
<p>The Corresponding Source need not include anything that users <p> The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding can regenerate automatically from other parts of the Corresponding
Source.</p> Source.</p>
<p>The Corresponding Source for a work in source code form is that <p> The Corresponding Source for a work in source code form is that
same work.</p> same work.</p>
</li> <ol start="2">
<li><p>Basic Permissions.</p> <li>Basic Permissions.</li>
<p>All rights granted under this License are granted for the term of </ol>
<p> All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.</p> rights of fair use or other equivalent, as provided by copyright law.</p>
<p>You may make, run and propagate covered works that you do not <p> You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you of having them make modifications exclusively for you, or provide you
@ -171,59 +175,62 @@ not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.</p> your copyrighted material outside their relationship with you.</p>
<p>Conveying under any other circumstances is permitted solely under <p> Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10 the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.</p> makes it unnecessary.</p>
</li> <ol start="3">
<li><p>Protecting Users&#39; Legal Rights From Anti-Circumvention Law.</p> <li>Protecting Users&#39; Legal Rights From Anti-Circumvention Law.</li>
<p>No covered work shall be deemed part of an effective technological </ol>
<p> No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or 11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such similar laws prohibiting or restricting circumvention of such
measures.</p> measures.</p>
<p>When you convey a covered work, you waive any legal power to forbid <p> When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work&#39;s modification of the work as a means of enforcing, against the work&#39;s
users, your or third parties&#39; legal rights to forbid circumvention of users, your or third parties&#39; legal rights to forbid circumvention of
technological measures.</p> technological measures.</p>
</li> <ol start="4">
<li><p>Conveying Verbatim Copies.</p> <li>Conveying Verbatim Copies.</li>
<p>You may convey verbatim copies of the Program&#39;s source code as you </ol>
<p> You may convey verbatim copies of the Program&#39;s source code as you
receive it, in any medium, provided that you conspicuously and receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice; appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code; non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.</p> recipients a copy of this License along with the Program.</p>
<p>You may charge any price or no price for each copy that you convey, <p> You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.</p> and you may offer support or warranty protection for a fee.</p>
</li> <ol start="5">
<li><p>Conveying Modified Source Versions.</p> <li>Conveying Modified Source Versions.</li>
<p>You may convey a work based on the Program, or the modifications to </ol>
<p> You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:</p> terms of section 4, provided that you also meet all of these conditions:</p>
<p>a) The work must carry prominent notices stating that you modified <div><pre class="line-numbers"><code class="language-none">a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.</p> it, and giving a relevant date.
<p>b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section</p> b) The work must carry prominent notices stating that it is
<ol start="7"> released under this License and any conditions added under section
<li>This requirement modifies the requirement in section 4 to 7. This requirement modifies the requirement in section 4 to
&quot;keep intact all notices&quot;.</li> &quot;keep intact all notices&quot;.
</ol>
<p>c) You must license the entire work, as a whole, under this c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7 License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts, additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.</p> invalidate such permission if you have separately received it.
<p>d) If the work has interactive user interfaces, each must display
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.</p> work need not make them do so.</code></pre></div><p> A compilation of a covered work with other separate and independent
<p>A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work, works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program, and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an in or on a volume of a storage or distribution medium, is called an
@ -232,17 +239,19 @@ used to limit the access or legal rights of the compilation&#39;s users
beyond what the individual works permit. Inclusion of a covered work beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other in an aggregate does not cause this License to apply to the other
parts of the aggregate.</p> parts of the aggregate.</p>
</li> <ol start="6">
<li><p>Conveying Non-Source Forms.</p> <li>Conveying Non-Source Forms.</li>
<p>You may convey a covered work in object code form under the terms </ol>
<p> You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License, machine-readable Corresponding Source under the terms of this License,
in one of these ways:</p> in one of these ways:</p>
<p>a) Convey the object code in, or embodied in, a physical product <div><pre class="line-numbers"><code class="language-none">a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the (including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium Corresponding Source fixed on a durable physical medium
customarily used for software interchange.</p> customarily used for software interchange.
<p>b) Convey the object code in, or embodied in, a physical product
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a (including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product long as you offer spare parts or customer support for that product
@ -252,13 +261,15 @@ product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.</p> Corresponding Source from a network server at no charge.
<p>c) Convey individual copies of the object code with a copy of the
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord only if you received the object code with such an offer, in accord
with subsection 6b.</p> with subsection 6b.
<p>d) Convey the object code by offering access from a designated
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the further charge. You need not require recipients to copy the
@ -269,15 +280,15 @@ that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.</p> available for as long as needed to satisfy these requirements.
<p>e) Convey the object code using peer-to-peer transmission, provided
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no Source of the work are being offered to the general public at no
charge under subsection 6d.</p> charge under subsection 6d.</code></pre></div><p> A separable portion of the object code, whose source code is excluded
<p>A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be from the Corresponding Source as a System Library, need not be
included in conveying the object code work.</p> included in conveying the object code work.</p>
<p>A &quot;User Product&quot; is either (1) a &quot;consumer product&quot;, which means any <p> A &quot;User Product&quot; is either (1) a &quot;consumer product&quot;, which means any
tangible personal property which is normally used for personal, family, tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product, into a dwelling. In determining whether a product is a consumer product,
@ -289,14 +300,14 @@ actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.</p> the only significant mode of use of the product.</p>
<p>&quot;Installation Information&quot; for a User Product means any methods, <p> &quot;Installation Information&quot; for a User Product means any methods,
procedures, authorization keys, or other information required to install procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because code is in no case prevented or interfered with solely because
modification has been made.</p> modification has been made.</p>
<p>If you convey an object code work under this section in, or with, or <p> If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a User Product is transferred to the recipient in perpetuity or for a
@ -306,21 +317,22 @@ by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has modified object code on the User Product (for example, the work has
been installed in ROM).</p> been installed in ROM).</p>
<p>The requirement to provide Installation Information does not include a <p> The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and adversely affects the operation of the network or violates the rules and
protocols for communication across the network.</p> protocols for communication across the network.</p>
<p>Corresponding Source conveyed, and Installation Information provided, <p> Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in documented (and with an implementation available to the public in
source code form), and must require no special password or key for source code form), and must require no special password or key for
unpacking, reading or copying.</p> unpacking, reading or copying.</p>
</li> <ol start="7">
<li><p>Additional Terms.</p> <li>Additional Terms.</li>
<p>&quot;Additional permissions&quot; are terms that supplement the terms of this </ol>
<p> &quot;Additional permissions&quot; are terms that supplement the terms of this
License by making exceptions from one or more of its conditions. License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent be treated as though they were included in this License, to the extent
@ -328,33 +340,37 @@ that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.</p> this License without regard to the additional permissions.</p>
<p>When you convey a copy of a covered work, you may at your option <p> When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work, additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.</p> for which you have or can give appropriate copyright permission.</p>
<p>Notwithstanding any other provision of this License, for material you <p> Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:</p> that material) supplement the terms of this License with terms:</p>
<p>a) Disclaiming warranty or limiting liability differently from the <div><pre class="line-numbers"><code class="language-none">a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or</p> terms of sections 15 and 16 of this License; or
<p>b) Requiring preservation of specified reasonable legal notices or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or</p> Notices displayed by works containing it; or
<p>c) Prohibiting misrepresentation of the origin of that material, or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or</p> reasonable ways as different from the original version; or
<p>d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or</p> d) Limiting the use for publicity purposes of names of licensors or
<p>e) Declining to grant rights under trademark law for use of some authors of the material; or
trade names, trademarks, or service marks; or</p>
<p>f) Requiring indemnification of licensors and authors of that e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on any liability that these contractual assumptions directly impose on
those licensors and authors.</p> those licensors and authors.</code></pre></div><p> All other non-permissive additional terms are considered &quot;further
<p>All other non-permissive additional terms are considered &quot;further
restrictions&quot; within the meaning of section 10. If the Program as you restrictions&quot; within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further governed by this License along with a term that is a further
@ -363,40 +379,42 @@ a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does of that license document, provided that the further restriction does
not survive such relicensing or conveying.</p> not survive such relicensing or conveying.</p>
<p>If you add terms to a covered work in accord with this section, you <p> If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating additional terms that apply to those files, or a notice indicating
where to find the applicable terms.</p> where to find the applicable terms.</p>
<p>Additional terms, permissive or non-permissive, may be stated in the <p> Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions; form of a separately written license, or stated as exceptions;
the above requirements apply either way.</p> the above requirements apply either way.</p>
</li> <ol start="8">
<li><p>Termination.</p> <li>Termination.</li>
<p>You may not propagate or modify a covered work except as expressly </ol>
<p> You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third this License (including any patent licenses granted under the third
paragraph of section 11).</p> paragraph of section 11).</p>
<p>However, if you cease all violation of this License, then your <p> However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a) license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.</p> prior to 60 days after the cessation.</p>
<p>Moreover, your license from a particular copyright holder is <p> Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.</p> your receipt of the notice.</p>
<p>Termination of your rights under this section does not terminate the <p> Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same reinstated, you do not qualify to receive new licenses for the same
material under section 10.</p> material under section 10.</p>
</li> <ol start="9">
<li><p>Acceptance Not Required for Having Copies.</p> <li>Acceptance Not Required for Having Copies.</li>
<p>You are not required to accept this License in order to receive or </ol>
<p> You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However, to receive a copy likewise does not require acceptance. However,
@ -404,13 +422,14 @@ nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.</p> covered work, you indicate your acceptance of this License to do so.</p>
</li> <ol start="10">
<li><p>Automatic Licensing of Downstream Recipients.</p> <li>Automatic Licensing of Downstream Recipients.</li>
<p>Each time you convey a covered work, the recipient automatically </ol>
<p> Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.</p> for enforcing compliance by third parties with this License.</p>
<p>An &quot;entity transaction&quot; is a transaction transferring control of an <p> An &quot;entity transaction&quot; is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that work results from an entity transaction, each party to that
@ -419,19 +438,20 @@ licenses to the work the party&#39;s predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.</p> the predecessor has it or can get it with reasonable efforts.</p>
<p>You may not impose any further restrictions on the exercise of the <p> You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that (including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.</p> sale, or importing the Program or any portion of it.</p>
</li> <ol start="11">
<li><p>Patents.</p> <li>Patents.</li>
<p>A &quot;contributor&quot; is a copyright holder who authorizes use under this </ol>
<p> A &quot;contributor&quot; is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor&#39;s &quot;contributor version&quot;.</p> work thus licensed is called the contributor&#39;s &quot;contributor version&quot;.</p>
<p>A contributor&#39;s &quot;essential patent claims&quot; are all patent claims <p> A contributor&#39;s &quot;essential patent claims&quot; are all patent claims
owned or controlled by the contributor, whether already acquired or owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version, by this License, of making, using, or selling its contributor version,
@ -440,17 +460,17 @@ consequence of further modification of the contributor version. For
purposes of this definition, &quot;control&quot; includes the right to grant purposes of this definition, &quot;control&quot; includes the right to grant
patent sublicenses in a manner consistent with the requirements of patent sublicenses in a manner consistent with the requirements of
this License.</p> this License.</p>
<p>Each contributor grants you a non-exclusive, worldwide, royalty-free <p> Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor&#39;s essential patent claims, to patent license under the contributor&#39;s essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.</p> propagate the contents of its contributor version.</p>
<p>In the following three paragraphs, a &quot;patent license&quot; is any express <p> In the following three paragraphs, a &quot;patent license&quot; is any express
agreement or commitment, however denominated, not to enforce a patent agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to (such as an express permission to practice a patent or covenant not to
sue for patent infringement). To &quot;grant&quot; such a patent license to a sue for patent infringement). To &quot;grant&quot; such a patent license to a
party means to make such an agreement or commitment not to enforce a party means to make such an agreement or commitment not to enforce a
patent against the party.</p> patent against the party.</p>
<p>If you convey a covered work, knowingly relying on a patent license, <p> If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means, publicly available network server or other readily accessible means,
@ -463,14 +483,14 @@ actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient&#39;s use of the covered work covered work in a country, or your recipient&#39;s use of the covered work
in a country, would infringe one or more identifiable patents in that in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.</p> country that you have reason to believe are valid.</p>
<p>If, pursuant to or in connection with a single transaction or <p> If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered you grant is automatically extended to all recipients of the covered
work and works based on it.</p> work and works based on it.</p>
<p>A patent license is &quot;discriminatory&quot; if it does not include within <p> A patent license is &quot;discriminatory&quot; if it does not include within
the scope of its coverage, prohibits the exercise of, or is the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered specifically granted under this License. You may not convey a covered
@ -484,12 +504,13 @@ conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement, contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.</p> or that patent license was granted, prior to 28 March 2007.</p>
<p>Nothing in this License shall be construed as excluding or limiting <p> Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.</p> otherwise be available to you under applicable patent law.</p>
</li> <ol start="12">
<li><p>No Surrender of Others&#39; Freedom.</p> <li>No Surrender of Others&#39; Freedom.</li>
<p>If conditions are imposed on you (whether by court order, agreement or </ol>
<p> If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this covered work so as to satisfy simultaneously your obligations under this
@ -498,9 +519,10 @@ not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.</p> License would be to refrain entirely from conveying the Program.</p>
</li> <ol start="13">
<li><p>Use with the GNU Affero General Public License.</p> <li>Use with the GNU Affero General Public License.</li>
<p>Notwithstanding any other provision of this License, you have </ol>
<p> Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this combined work, and to convey the resulting work. The terms of this
@ -508,13 +530,14 @@ License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License, but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the section 13, concerning interaction through a network will apply to the
combination as such.</p> combination as such.</p>
</li> <ol start="14">
<li><p>Revised Versions of this License.</p> <li>Revised Versions of this License.</li>
<p>The Free Software Foundation may publish revised and/or new versions of </ol>
<p> The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.</p> address new problems or concerns.</p>
<p>Each version is given a distinguishing version number. If the <p> Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General Program specifies that a certain numbered version of the GNU General
Public License &quot;or any later version&quot; applies to it, you have the Public License &quot;or any later version&quot; applies to it, you have the
option of following the terms and conditions either of that numbered option of following the terms and conditions either of that numbered
@ -522,17 +545,18 @@ version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published GNU General Public License, you may choose any version ever published
by the Free Software Foundation.</p> by the Free Software Foundation.</p>
<p>If the Program specifies that a proxy can decide which future <p> If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy&#39;s versions of the GNU General Public License can be used, that proxy&#39;s
public statement of acceptance of a version permanently authorizes you public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.</p> to choose that version for the Program.</p>
<p>Later license versions may give you additional or different <p> Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a author or copyright holder as a result of your choosing to follow a
later version.</p> later version.</p>
</li> <ol start="15">
<li><p>Disclaimer of Warranty.</p> <li>Disclaimer of Warranty.</li>
<p>THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY </ol>
<p> THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM &quot;AS IS&quot; WITHOUT WARRANTY HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM &quot;AS IS&quot; WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
@ -540,9 +564,10 @@ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.</p> ALL NECESSARY SERVICING, REPAIR OR CORRECTION.</p>
</li> <ol start="16">
<li><p>Limitation of Liability.</p> <li>Limitation of Liability.</li>
<p>IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING </ol>
<p> IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
@ -551,9 +576,10 @@ DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.</p> SUCH DAMAGES.</p>
</li> <ol start="17">
<li><p>Interpretation of Sections 15 and 16.</p> <li>Interpretation of Sections 15 and 16.</li>
<p>If the disclaimer of warranty and limitation of liability provided </ol>
<p> If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms, above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the an absolute waiver of all civil liability in connection with the
@ -561,34 +587,34 @@ Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.</p> copy of the Program in return for a fee.</p>
<div><pre class="line-numbers"><code class="language-none"> END OF TERMS AND CONDITIONS <div><pre class="line-numbers"><code class="language-none"> END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs</code></pre></div><p>If you develop a new program, and you want it to be of the greatest How to Apply These Terms to Your New Programs</code></pre></div><p> If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.</p> free software which everyone can redistribute and change under these terms.</p>
<p>To do so, attach the following notices to the program. It is safest <p> To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least state the exclusion of warranty; and each file should have at least
the &quot;copyright&quot; line and a pointer to where the full notice is found.</p> the &quot;copyright&quot; line and a pointer to where the full notice is found.</p>
<p>CIC Staff Client <div><pre class="line-numbers"><code class="language-none">CIC Staff Client
Copyright (C) 2021 Grassroots Economics</p> Copyright (C) 2021 Grassroots Economics
<p>This program is free software: you can redistribute it and/or modify
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.</p> (at your option) any later version.
<p>This program is distributed in the hope that it will be useful,
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.</p> GNU General Public License for more details.
<p>You should have received a copy of the GNU General Public License
along with this program. If not, see <a href="https://www.gnu.org/licenses/">https://www.gnu.org/licenses/</a>.</p> You should have received a copy of the GNU General Public License
</li> along with this program. If not, see &lt;https://www.gnu.org/licenses/&gt;.</code></pre></div><p>Also add information on how to contact you by electronic and paper mail.</p>
</ol>
<p>Also add information on how to contact you by electronic and paper mail.</p>
<p> If the program does terminal interaction, make it output a short <p> If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:</p> notice like this when it starts in an interactive mode:</p>
<div><pre class="line-numbers"><code class="language-none">&lt;program&gt; Copyright (C) 2021 Grassroots Economics <div><pre class="line-numbers"><code class="language-none">&lt;program&gt; Copyright (C) 2021 Grassroots Economics
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w&#39;. This program comes with ABSOLUTELY NO WARRANTY; for details type `show w&#39;.
This is free software, and you are welcome to redistribute it This is free software, and you are welcome to redistribute it
under certain conditions; type `show c&#39; for details.</code></pre></div><p>The hypothetical commands <code>show w&#39; and</code>show c&#39; should show the appropriate under certain conditions; type `show c&#39; for details.</code></pre></div><p>The hypothetical commands <code>show w&#39; and </code>show c&#39; should show the appropriate
parts of the General Public License. Of course, your program&#39;s commands parts of the General Public License. Of course, your program&#39;s commands
might be different; for a GUI interface, you would use an &quot;about box&quot;.</p> might be different; for a GUI interface, you would use an &quot;about box&quot;.</p>
<p> You should also get your employer (if you work as a programmer) or school, <p> You should also get your employer (if you work as a programmer) or school,
@ -643,9 +669,9 @@ Public License instead of this License. But first, please read
<script src="./js/libs/custom-elements.min.js"></script> <script src="./js/libs/custom-elements.min.js"></script>
<script src="./js/libs/lit-html.js"></script> <script src="./js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="./js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="./js/menu-wc.js" defer></script>
<script src="./js/menu-wc.js" defer></script> <script nomodule src="./js/menu-wc_es5.js" defer></script>
<script src="./js/libs/bootstrap-native.js"></script> <script src="./js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -58,34 +59,43 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#arraySum" title="src/app/_helpers/array-sum.ts"><b>arraySum</b>&nbsp;&nbsp;&nbsp;(src/.../array-sum.ts)</a> <a href="#arraySum" title="src/app/_helpers/array-sum.ts" ><b>arraySum</b>&nbsp;&nbsp;&nbsp;(src/.../array-sum.ts)</a>
</li> </li>
<li> <li>
<a href="#copyToClipboard" title="src/app/_helpers/clipboard-copy.ts"><b>copyToClipboard</b>&nbsp;&nbsp;&nbsp;(src/.../clipboard-copy.ts)</a> <a href="#asciiToHex" title="src/app/_helpers/to-hex.ts" ><b>asciiToHex</b>&nbsp;&nbsp;&nbsp;(src/.../to-hex.ts)</a>
</li> </li>
<li> <li>
<a href="#exportCsv" title="src/app/_helpers/export-csv.ts"><b>exportCsv</b>&nbsp;&nbsp;&nbsp;(src/.../export-csv.ts)</a> <a href="#checkOnlineStatus" title="src/app/_helpers/online-status.ts" ><b>checkOnlineStatus</b>&nbsp;&nbsp;&nbsp;(src/.../online-status.ts)</a>
</li> </li>
<li> <li>
<a href="#HttpGetter" title="src/app/_helpers/http-getter.ts"><b>HttpGetter</b>&nbsp;&nbsp;&nbsp;(src/.../http-getter.ts)</a> <a href="#copyToClipboard" title="src/app/_helpers/clipboard-copy.ts" ><b>copyToClipboard</b>&nbsp;&nbsp;&nbsp;(src/.../clipboard-copy.ts)</a>
</li> </li>
<li> <li>
<a href="#parseData" title="src/app/_helpers/read-csv.ts"><b>parseData</b>&nbsp;&nbsp;&nbsp;(src/.../read-csv.ts)</a> <a href="#exportCsv" title="src/app/_helpers/export-csv.ts" ><b>exportCsv</b>&nbsp;&nbsp;&nbsp;(src/.../export-csv.ts)</a>
</li> </li>
<li> <li>
<a href="#personValidation" title="src/app/_helpers/schema-validation.ts"><b>personValidation</b>&nbsp;&nbsp;&nbsp;(src/.../schema-validation.ts)</a> <a href="#getAccountByAddress" title="src/app/_workers/fetch-accounts.worker.ts" ><b>getAccountByAddress</b>&nbsp;&nbsp;&nbsp;(src/.../fetch-accounts.worker.ts)</a>
</li> </li>
<li> <li>
<a href="#readCsv" title="src/app/_helpers/read-csv.ts"><b>readCsv</b>&nbsp;&nbsp;&nbsp;(src/.../read-csv.ts)</a> <a href="#HttpGetter" title="src/app/_helpers/http-getter.ts" ><b>HttpGetter</b>&nbsp;&nbsp;&nbsp;(src/.../http-getter.ts)</a>
</li> </li>
<li> <li>
<a href="#rejectBody" title="src/app/_helpers/global-error-handler.ts"><b>rejectBody</b>&nbsp;&nbsp;&nbsp;(src/.../global-error-handler.ts)</a> <a href="#parseData" title="src/app/_helpers/read-csv.ts" ><b>parseData</b>&nbsp;&nbsp;&nbsp;(src/.../read-csv.ts)</a>
</li> </li>
<li> <li>
<a href="#updateSyncable" title="src/app/_helpers/sync.ts"><b>updateSyncable</b>&nbsp;&nbsp;&nbsp;(src/.../sync.ts)</a> <a href="#personValidation" title="src/app/_helpers/schema-validation.ts" ><b>personValidation</b>&nbsp;&nbsp;&nbsp;(src/.../schema-validation.ts)</a>
</li> </li>
<li> <li>
<a href="#vcardValidation" title="src/app/_helpers/schema-validation.ts"><b>vcardValidation</b>&nbsp;&nbsp;&nbsp;(src/.../schema-validation.ts)</a> <a href="#readCsv" title="src/app/_helpers/read-csv.ts" ><b>readCsv</b>&nbsp;&nbsp;&nbsp;(src/.../read-csv.ts)</a>
</li>
<li>
<a href="#rejectBody" title="src/app/_helpers/global-error-handler.ts" ><b>rejectBody</b>&nbsp;&nbsp;&nbsp;(src/.../global-error-handler.ts)</a>
</li>
<li>
<a href="#updateSyncable" title="src/app/_helpers/sync.ts" ><b>updateSyncable</b>&nbsp;&nbsp;&nbsp;(src/.../sync.ts)</a>
</li>
<li>
<a href="#vcardValidation" title="src/app/_helpers/schema-validation.ts" ><b>vcardValidation</b>&nbsp;&nbsp;&nbsp;(src/.../schema-validation.ts)</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -102,9 +112,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="arraySum"></a> <a name="arraySum"></a>
<span class="name"> <span class="name">
<b> <span ><b>arraySum</b></span>
arraySum
</b>
<a href="#arraySum"><span class="icon ion-ios-link"></span></a> <a href="#arraySum"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -156,11 +164,8 @@
<b>Example :</b> <b>Example :</b>
<div> <div>
<pre class="line-numbers"><code class="language-html">Prints 6 for the array [1, 2, 3]:&lt;/p&gt; <pre class="line-numbers"><code class="language-html">Prints 6 for the array [1, 2, 3]:&lt;/p&gt;
&lt;p&gt;```typescript&lt;/p&gt; &lt;pre&gt;&lt;code class=&quot;language-typescript&quot;&gt;console.log(arraySum([1, 2, 3]));
&lt;ul&gt; &lt;/code&gt;&lt;/pre&gt;</code></pre>
&lt;li&gt;console.log(arraySum([1, 2, 3]));&lt;/li&gt;
&lt;li&gt;```&lt;/li&gt;
&lt;/ul&gt;</code></pre>
</div> </div>
</div> </div>
<div class="io-description"> <div class="io-description">
@ -170,6 +175,99 @@
<div class="io-description"> <div class="io-description">
<p>The sum of all values in the array.</p> <p>The sum of all values in the array.</p>
</div>
</td>
</tr>
</tbody>
</table>
</section> <h3>src/app/_helpers/to-hex.ts</h3>
<section>
<h3></h3> <table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="asciiToHex"></a>
<span class="name">
<span ><b>asciiToHex</b></span>
<a href="#asciiToHex"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<code>asciiToHex(str)</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-description">
<b>Parameters :</b>
<table class="params">
<thead>
<tr>
<td>Name</td>
<td>Optional</td>
</tr>
</thead>
<tbody>
<tr>
<td>str</td>
<td>
No
</td>
</tr>
</tbody>
</table>
</div>
<div>
</div>
<div class="io-description">
<b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
</div>
<div class="io-description">
</div>
</td>
</tr>
</tbody>
</table>
</section> <h3>src/app/_helpers/online-status.ts</h3>
<section>
<h3></h3> <table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="checkOnlineStatus"></a>
<span class="name">
<span ><b>checkOnlineStatus</b></span>
<a href="#checkOnlineStatus"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<code>checkOnlineStatus()</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-description">
<b>Returns : </b> <code>Promise&lt;boolean&gt;</code>
</div> </div>
</td> </td>
</tr> </tr>
@ -183,16 +281,14 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="copyToClipboard"></a> <a name="copyToClipboard"></a>
<span class="name"> <span class="name">
<b> <span ><b>copyToClipboard</b></span>
copyToClipboard
</b>
<a href="#copyToClipboard"><span class="icon ion-ios-link"></span></a> <a href="#copyToClipboard"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<code>copyToClipboard(text: <a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank">any</a>)</code> <code>copyToClipboard(text)</code>
</td> </td>
</tr> </tr>
@ -210,7 +306,6 @@
<thead> <thead>
<tr> <tr>
<td>Name</td> <td>Name</td>
<td>Type</td>
<td>Optional</td> <td>Optional</td>
<td>Description</td> <td>Description</td>
</tr> </tr>
@ -218,9 +313,6 @@
<tbody> <tbody>
<tr> <tr>
<td>text</td> <td>text</td>
<td>
<code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
</td>
<td> <td>
No No
@ -241,11 +333,8 @@
<b>Example :</b> <b>Example :</b>
<div> <div>
<pre class="line-numbers"><code class="language-html">copies &amp;#39;Hello World!&amp;#39; to the clipboard and prints &amp;quot;true&amp;quot;:&lt;/p&gt; <pre class="line-numbers"><code class="language-html">copies &amp;#39;Hello World!&amp;#39; to the clipboard and prints &amp;quot;true&amp;quot;:&lt;/p&gt;
&lt;p&gt;```typescript&lt;/p&gt; &lt;pre&gt;&lt;code class=&quot;language-typescript&quot;&gt;console.log(copyToClipboard(&amp;#39;Hello World!&amp;#39;));
&lt;ul&gt; &lt;/code&gt;&lt;/pre&gt;</code></pre>
&lt;li&gt;console.log(copyToClipboard(&amp;#39;Hello World!&amp;#39;));&lt;/li&gt;
&lt;li&gt;```&lt;/li&gt;
&lt;/ul&gt;</code></pre>
</div> </div>
</div> </div>
<div class="io-description"> <div class="io-description">
@ -268,9 +357,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="exportCsv"></a> <a name="exportCsv"></a>
<span class="name"> <span class="name">
<b> <span ><b>exportCsv</b></span>
exportCsv
</b>
<a href="#exportCsv"><span class="icon ion-ios-link"></span></a> <a href="#exportCsv"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -357,6 +444,84 @@ Defaults to commas.</li>
</div> </div>
<div class="io-description"> <div class="io-description">
</div>
</td>
</tr>
</tbody>
</table>
</section> <h3>src/app/_workers/fetch-accounts.worker.ts</h3>
<section>
<h3></h3> <table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="getAccountByAddress"></a>
<span class="name">
<span ><b>getAccountByAddress</b></span>
<a href="#getAccountByAddress"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<code>getAccountByAddress(accountAddress, metaUrl, token)</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-description">
<b>Parameters :</b>
<table class="params">
<thead>
<tr>
<td>Name</td>
<td>Optional</td>
</tr>
</thead>
<tbody>
<tr>
<td>accountAddress</td>
<td>
No
</td>
</tr>
<tr>
<td>metaUrl</td>
<td>
No
</td>
</tr>
<tr>
<td>token</td>
<td>
No
</td>
</tr>
</tbody>
</table>
</div>
<div>
</div>
<div class="io-description">
<b>Returns : </b> <code>Promise&lt;any&gt;</code>
</div>
<div class="io-description">
</div> </div>
</td> </td>
</tr> </tr>
@ -370,9 +535,7 @@ Defaults to commas.</li>
<td class="col-md-4"> <td class="col-md-4">
<a name="HttpGetter"></a> <a name="HttpGetter"></a>
<span class="name"> <span class="name">
<b> <span ><b>HttpGetter</b></span>
HttpGetter
</b>
<a href="#HttpGetter"><span class="icon ion-ios-link"></span></a> <a href="#HttpGetter"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -388,7 +551,7 @@ Defaults to commas.</li>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Provides an avenue of fetching resources via HTTP calls. </p> <div class="io-description"><p>Provides an avenue of fetching resources via HTTP calls.</p>
</div> </div>
<div class="io-description"> <div class="io-description">
@ -407,16 +570,14 @@ Defaults to commas.</li>
<td class="col-md-4"> <td class="col-md-4">
<a name="parseData"></a> <a name="parseData"></a>
<span class="name"> <span class="name">
<b> <span ><b>parseData</b></span>
parseData
</b>
<a href="#parseData"><span class="icon ion-ios-link"></span></a> <a href="#parseData"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<code>parseData(data: <a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank">any</a>)</code> <code>parseData(data)</code>
</td> </td>
</tr> </tr>
@ -434,7 +595,6 @@ Defaults to commas.</li>
<thead> <thead>
<tr> <tr>
<td>Name</td> <td>Name</td>
<td>Type</td>
<td>Optional</td> <td>Optional</td>
<td>Description</td> <td>Description</td>
</tr> </tr>
@ -442,9 +602,6 @@ Defaults to commas.</li>
<tbody> <tbody>
<tr> <tr>
<td>data</td> <td>data</td>
<td>
<code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
</td>
<td> <td>
No No
@ -481,16 +638,14 @@ Defaults to commas.</li>
<td class="col-md-4"> <td class="col-md-4">
<a name="readCsv"></a> <a name="readCsv"></a>
<span class="name"> <span class="name">
<b> <span ><b>readCsv</b></span>
readCsv
</b>
<a href="#readCsv"><span class="icon ion-ios-link"></span></a> <a href="#readCsv"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<code>readCsv(input: <a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank">any</a>)</code> <code>readCsv(input)</code>
</td> </td>
</tr> </tr>
@ -508,7 +663,6 @@ Defaults to commas.</li>
<thead> <thead>
<tr> <tr>
<td>Name</td> <td>Name</td>
<td>Type</td>
<td>Optional</td> <td>Optional</td>
<td>Description</td> <td>Description</td>
</tr> </tr>
@ -516,9 +670,6 @@ Defaults to commas.</li>
<tbody> <tbody>
<tr> <tr>
<td>input</td> <td>input</td>
<td>
<code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
</td>
<td> <td>
No No
@ -557,16 +708,14 @@ Defaults to commas.</li>
<td class="col-md-4"> <td class="col-md-4">
<a name="personValidation"></a> <a name="personValidation"></a>
<span class="name"> <span class="name">
<b> <span ><b>personValidation</b></span>
personValidation
</b>
<a href="#personValidation"><span class="icon ion-ios-link"></span></a> <a href="#personValidation"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<code>personValidation(person: <a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank">any</a>)</code> <code>personValidation(person)</code>
</td> </td>
</tr> </tr>
@ -584,7 +733,6 @@ Defaults to commas.</li>
<thead> <thead>
<tr> <tr>
<td>Name</td> <td>Name</td>
<td>Type</td>
<td>Optional</td> <td>Optional</td>
<td>Description</td> <td>Description</td>
</tr> </tr>
@ -592,9 +740,6 @@ Defaults to commas.</li>
<tbody> <tbody>
<tr> <tr>
<td>person</td> <td>person</td>
<td>
<code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
</td>
<td> <td>
No No
@ -630,16 +775,14 @@ Defaults to commas.</li>
<td class="col-md-4"> <td class="col-md-4">
<a name="vcardValidation"></a> <a name="vcardValidation"></a>
<span class="name"> <span class="name">
<b> <span ><b>vcardValidation</b></span>
vcardValidation
</b>
<a href="#vcardValidation"><span class="icon ion-ios-link"></span></a> <a href="#vcardValidation"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<code>vcardValidation(vcard: <a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank">any</a>)</code> <code>vcardValidation(vcard)</code>
</td> </td>
</tr> </tr>
@ -657,7 +800,6 @@ Defaults to commas.</li>
<thead> <thead>
<tr> <tr>
<td>Name</td> <td>Name</td>
<td>Type</td>
<td>Optional</td> <td>Optional</td>
<td>Description</td> <td>Description</td>
</tr> </tr>
@ -665,9 +807,6 @@ Defaults to commas.</li>
<tbody> <tbody>
<tr> <tr>
<td>vcard</td> <td>vcard</td>
<td>
<code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
</td>
<td> <td>
No No
@ -705,9 +844,7 @@ Defaults to commas.</li>
<td class="col-md-4"> <td class="col-md-4">
<a name="rejectBody"></a> <a name="rejectBody"></a>
<span class="name"> <span class="name">
<b> <span ><b>rejectBody</b></span>
rejectBody
</b>
<a href="#rejectBody"><span class="icon ion-ios-link"></span></a> <a href="#rejectBody"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -767,9 +904,7 @@ Defaults to commas.</li>
<td class="col-md-4"> <td class="col-md-4">
<a name="updateSyncable"></a> <a name="updateSyncable"></a>
<span class="name"> <span class="name">
<b> <span ><b>updateSyncable</b></span>
updateSyncable
</b>
<a href="#updateSyncable"><span class="icon ion-ios-link"></span></a> <a href="#updateSyncable"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -865,9 +1000,9 @@ Defaults to commas.</li>
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -58,64 +59,76 @@
<td class="col-md-4"> <td class="col-md-4">
<ul class="index-list"> <ul class="index-list">
<li> <li>
<a href="#abi" title="src/app/_eth/accountIndex.ts"><b>abi</b>&nbsp;&nbsp;&nbsp;(src/.../accountIndex.ts)</a> <a href="#abi" title="src/app/_eth/accountIndex.ts" ><b>abi</b>&nbsp;&nbsp;&nbsp;(src/.../accountIndex.ts)</a>
</li> </li>
<li> <li>
<a href="#abi" title="src/app/_eth/token-registry.ts"><b>abi</b>&nbsp;&nbsp;&nbsp;(src/.../token-registry.ts)</a> <a href="#abi" title="src/app/_eth/token-registry.ts" ><b>abi</b>&nbsp;&nbsp;&nbsp;(src/.../token-registry.ts)</a>
</li> </li>
<li> <li>
<a href="#accountTypes" title="src/app/_helpers/mock-backend.ts"><b>accountTypes</b>&nbsp;&nbsp;&nbsp;(src/.../mock-backend.ts)</a> <a href="#accountTypes" title="src/app/_helpers/mock-backend.ts" ><b>accountTypes</b>&nbsp;&nbsp;&nbsp;(src/.../mock-backend.ts)</a>
</li> </li>
<li> <li>
<a href="#actions" title="src/app/_helpers/mock-backend.ts"><b>actions</b>&nbsp;&nbsp;&nbsp;(src/.../mock-backend.ts)</a> <a href="#actions" title="src/app/_helpers/mock-backend.ts" ><b>actions</b>&nbsp;&nbsp;&nbsp;(src/.../mock-backend.ts)</a>
</li> </li>
<li> <li>
<a href="#areaNames" title="src/app/_helpers/mock-backend.ts"><b>areaNames</b>&nbsp;&nbsp;&nbsp;(src/.../mock-backend.ts)</a> <a href="#apiUrls" title="src/app/_helpers/online-status.ts" ><b>apiUrls</b>&nbsp;&nbsp;&nbsp;(src/.../online-status.ts)</a>
</li> </li>
<li> <li>
<a href="#areaTypes" title="src/app/_helpers/mock-backend.ts"><b>areaTypes</b>&nbsp;&nbsp;&nbsp;(src/.../mock-backend.ts)</a> <a href="#areaNames" title="src/app/_helpers/mock-backend.ts" ><b>areaNames</b>&nbsp;&nbsp;&nbsp;(src/.../mock-backend.ts)</a>
</li> </li>
<li> <li>
<a href="#categories" title="src/app/_helpers/mock-backend.ts"><b>categories</b>&nbsp;&nbsp;&nbsp;(src/.../mock-backend.ts)</a> <a href="#areaTypes" title="src/app/_helpers/mock-backend.ts" ><b>areaTypes</b>&nbsp;&nbsp;&nbsp;(src/.../mock-backend.ts)</a>
</li> </li>
<li> <li>
<a href="#defaultAccount" title="src/app/_models/account.ts"><b>defaultAccount</b>&nbsp;&nbsp;&nbsp;(src/.../account.ts)</a> <a href="#categories" title="src/app/_helpers/mock-backend.ts" ><b>categories</b>&nbsp;&nbsp;&nbsp;(src/.../mock-backend.ts)</a>
</li> </li>
<li> <li>
<a href="#environment" title="src/environments/environment.dev.ts"><b>environment</b>&nbsp;&nbsp;&nbsp;(src/.../environment.dev.ts)</a> <a href="#defaultAccount" title="src/app/_models/account.ts" ><b>defaultAccount</b>&nbsp;&nbsp;&nbsp;(src/.../account.ts)</a>
</li> </li>
<li> <li>
<a href="#environment" title="src/environments/environment.prod.ts"><b>environment</b>&nbsp;&nbsp;&nbsp;(src/.../environment.prod.ts)</a> <a href="#environment" title="src/environments/environment.dev.ts" ><b>environment</b>&nbsp;&nbsp;&nbsp;(src/.../environment.dev.ts)</a>
</li> </li>
<li> <li>
<a href="#environment" title="src/environments/environment.ts"><b>environment</b>&nbsp;&nbsp;&nbsp;(src/.../environment.ts)</a> <a href="#environment" title="src/environments/environment.prod.ts" ><b>environment</b>&nbsp;&nbsp;&nbsp;(src/.../environment.prod.ts)</a>
</li> </li>
<li> <li>
<a href="#genders" title="src/app/_helpers/mock-backend.ts"><b>genders</b>&nbsp;&nbsp;&nbsp;(src/.../mock-backend.ts)</a> <a href="#environment" title="src/environments/environment.ts" ><b>environment</b>&nbsp;&nbsp;&nbsp;(src/.../environment.ts)</a>
</li> </li>
<li> <li>
<a href="#keyring" title="src/app/_pgp/pgp-key-store.ts"><b>keyring</b>&nbsp;&nbsp;&nbsp;(src/.../pgp-key-store.ts)</a> <a href="#genders" title="src/app/_helpers/mock-backend.ts" ><b>genders</b>&nbsp;&nbsp;&nbsp;(src/.../mock-backend.ts)</a>
</li> </li>
<li> <li>
<a href="#MockBackendProvider" title="src/app/_helpers/mock-backend.ts"><b>MockBackendProvider</b>&nbsp;&nbsp;&nbsp;(src/.../mock-backend.ts)</a> <a href="#headers" title="src/app/_workers/fetch-accounts.worker.ts" ><b>headers</b>&nbsp;&nbsp;&nbsp;(src/.../fetch-accounts.worker.ts)</a>
</li> </li>
<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="#keyring" title="src/app/_pgp/pgp-key-store.ts" ><b>keyring</b>&nbsp;&nbsp;&nbsp;(src/.../pgp-key-store.ts)</a>
</li> </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="#MockBackendProvider" title="src/app/_helpers/mock-backend.ts" ><b>MockBackendProvider</b>&nbsp;&nbsp;&nbsp;(src/.../mock-backend.ts)</a>
</li> </li>
<li> <li>
<a href="#vCard" title="src/app/_services/transaction.service.ts"><b>vCard</b>&nbsp;&nbsp;&nbsp;(src/.../transaction.service.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> <li>
<a href="#vCard" title="src/app/_services/user.service.ts"><b>vCard</b>&nbsp;&nbsp;&nbsp;(src/.../user.service.ts)</a> <a href="#options" title="src/app/_workers/fetch-accounts.worker.ts" ><b>options</b>&nbsp;&nbsp;&nbsp;(src/.../fetch-accounts.worker.ts)</a>
</li> </li>
<li> <li>
<a href="#web3" title="src/app/_eth/accountIndex.ts"><b>web3</b>&nbsp;&nbsp;&nbsp;(src/.../accountIndex.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>
<li> <li>
<a href="#web3" title="src/app/_eth/token-registry.ts"><b>web3</b>&nbsp;&nbsp;&nbsp;(src/.../token-registry.ts)</a> <a href="#vCard" title="src/app/_services/transaction.service.ts" ><b>vCard</b>&nbsp;&nbsp;&nbsp;(src/.../transaction.service.ts)</a>
</li>
<li>
<a href="#vCard" title="src/app/_services/user.service.ts" ><b>vCard</b>&nbsp;&nbsp;&nbsp;(src/.../user.service.ts)</a>
</li>
<li>
<a href="#vCard" title="src/app/pages/accounts/account-history/account-history.component.ts" ><b>vCard</b>&nbsp;&nbsp;&nbsp;(src/.../account-history.component.ts)</a>
</li>
<li>
<a href="#web3" title="src/app/_eth/accountIndex.ts" ><b>web3</b>&nbsp;&nbsp;&nbsp;(src/.../accountIndex.ts)</a>
</li>
<li>
<a href="#web3" title="src/app/_eth/token-registry.ts" ><b>web3</b>&nbsp;&nbsp;&nbsp;(src/.../token-registry.ts)</a>
</li> </li>
</ul> </ul>
</td> </td>
@ -132,8 +145,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="abi"></a> <a name="abi"></a>
<span class="name"> <span class="name">
<b> <span ><b>abi</b></span>
abi</b>
<a href="#abi"><span class="icon ion-ios-link"></span></a> <a href="#abi"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -152,7 +164,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Fetch the account registry contract&#39;s ABI. </p> <div class="io-description"><p>Fetch the account registry contract&#39;s ABI.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -165,8 +177,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="web3"></a> <a name="web3"></a>
<span class="name"> <span class="name">
<b> <span ><b>web3</b></span>
web3</b>
<a href="#web3"><span class="icon ion-ios-link"></span></a> <a href="#web3"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -185,7 +196,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Establish a connection to the blockchain network. </p> <div class="io-description"><p>Establish a connection to the blockchain network.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -201,8 +212,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="abi"></a> <a name="abi"></a>
<span class="name"> <span class="name">
<b> <span ><b>abi</b></span>
abi</b>
<a href="#abi"><span class="icon ion-ios-link"></span></a> <a href="#abi"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -221,7 +231,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Fetch the token registry contract&#39;s ABI. </p> <div class="io-description"><p>Fetch the token registry contract&#39;s ABI.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -234,8 +244,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="web3"></a> <a name="web3"></a>
<span class="name"> <span class="name">
<b> <span ><b>web3</b></span>
web3</b>
<a href="#web3"><span class="icon ion-ios-link"></span></a> <a href="#web3"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -254,7 +263,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Establish a connection to the blockchain network. </p> <div class="io-description"><p>Establish a connection to the blockchain network.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -270,8 +279,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="accountTypes"></a> <a name="accountTypes"></a>
<span class="name"> <span class="name">
<b> <span ><b>accountTypes</b></span>
accountTypes</b>
<a href="#accountTypes"><span class="icon ion-ios-link"></span></a> <a href="#accountTypes"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -290,7 +298,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>A mock of the curated account types. </p> <div class="io-description"><p>A mock of the curated account types.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -303,8 +311,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="actions"></a> <a name="actions"></a>
<span class="name"> <span class="name">
<b> <span ><b>actions</b></span>
actions</b>
<a href="#actions"><span class="icon ion-ios-link"></span></a> <a href="#actions"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -330,7 +337,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>A mock of actions made by the admin staff. </p> <div class="io-description"><p>A mock of actions made by the admin staff.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -343,8 +350,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="areaNames"></a> <a name="areaNames"></a>
<span class="name"> <span class="name">
<b> <span ><b>areaNames</b></span>
areaNames</b>
<a href="#areaNames"><span class="icon ion-ios-link"></span></a> <a href="#areaNames"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -645,7 +651,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>A mock of curated area names. </p> <div class="io-description"><p>A mock of curated area names.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -658,8 +664,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="areaTypes"></a> <a name="areaTypes"></a>
<span class="name"> <span class="name">
<b> <span ><b>areaTypes</b></span>
areaTypes</b>
<a href="#areaTypes"><span class="icon ion-ios-link"></span></a> <a href="#areaTypes"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -690,8 +695,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="categories"></a> <a name="categories"></a>
<span class="name"> <span class="name">
<b> <span ><b>categories</b></span>
categories</b>
<a href="#categories"><span class="icon ion-ios-link"></span></a> <a href="#categories"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1294,7 +1298,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>A mock of the user&#39;s business categories </p> <div class="io-description"><p>A mock of the user&#39;s business categories</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -1307,8 +1311,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="genders"></a> <a name="genders"></a>
<span class="name"> <span class="name">
<b> <span ><b>genders</b></span>
genders</b>
<a href="#genders"><span class="icon ion-ios-link"></span></a> <a href="#genders"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1327,7 +1330,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>A mock of curated genders </p> <div class="io-description"><p>A mock of curated genders</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -1340,8 +1343,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="MockBackendProvider"></a> <a name="MockBackendProvider"></a>
<span class="name"> <span class="name">
<b> <span ><b>MockBackendProvider</b></span>
MockBackendProvider</b>
<a href="#MockBackendProvider"><span class="icon ion-ios-link"></span></a> <a href="#MockBackendProvider"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1364,7 +1366,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Exports the MockBackendInterceptor as an Angular provider. </p> <div class="io-description"><p>Exports the MockBackendInterceptor as an Angular provider.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -1377,8 +1379,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="transactionTypes"></a> <a name="transactionTypes"></a>
<span class="name"> <span class="name">
<b> <span ><b>transactionTypes</b></span>
transactionTypes</b>
<a href="#transactionTypes"><span class="icon ion-ios-link"></span></a> <a href="#transactionTypes"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1403,7 +1404,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>A mock of curated transaction types. </p> <div class="io-description"><p>A mock of curated transaction types.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -1411,6 +1412,38 @@
</tbody> </tbody>
</table> </table>
</section> </section>
<h3>src/app/_helpers/online-status.ts</h3>
<section>
<h3></h3> <table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="apiUrls"></a>
<span class="name">
<span ><b>apiUrls</b></span>
<a href="#apiUrls"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code>[]</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>[
&#x27;https://api.coindesk.com/v1/bpi/currentprice.json&#x27;,
&#x27;https://dog.ceo/api/breeds/image/random&#x27;,
]</code>
</td>
</tr>
</tbody>
</table>
</section>
<h3>src/app/_models/account.ts</h3> <h3>src/app/_models/account.ts</h3>
<section> <section>
<h3></h3> <table class="table table-sm table-bordered"> <h3></h3> <table class="table table-sm table-bordered">
@ -1419,8 +1452,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="defaultAccount"></a> <a name="defaultAccount"></a>
<span class="name"> <span class="name">
<b> <span ><b>defaultAccount</b></span>
defaultAccount</b>
<a href="#defaultAccount"><span class="icon ion-ios-link"></span></a> <a href="#defaultAccount"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1484,7 +1516,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>Default account data object </p> <div class="io-description"><p>Default account data object</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -1500,8 +1532,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="environment"></a> <a name="environment"></a>
<span class="name"> <span class="name">
<b> <span ><b>environment</b></span>
environment</b>
<a href="#environment"><span class="icon ion-ios-link"></span></a> <a href="#environment"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1517,10 +1548,10 @@
<i>Default value : </i><code>{ <i>Default value : </i><code>{
production: false, production: false,
bloxbergChainId: 8996, bloxbergChainId: 8996,
logLevel: NgxLoggerLevel.ERROR, logLevel: NgxLoggerLevel.DEBUG,
serverLogLevel: NgxLoggerLevel.OFF, serverLogLevel: NgxLoggerLevel.OFF,
loggingUrl: &#x27;&#x27;, loggingUrl: &#x27;&#x27;,
cicMetaUrl: &#x27;https://meta-auth.dev.grassrootseconomics.net&#x27;, cicMetaUrl: &#x27;https://meta-auth.dev.grassrootseconomics.net:443&#x27;,
publicKeysUrl: &#x27;https://dev.grassrootseconomics.net/.well-known/publickeys/&#x27;, publicKeysUrl: &#x27;https://dev.grassrootseconomics.net/.well-known/publickeys/&#x27;,
cicCacheUrl: &#x27;https://cache.dev.grassrootseconomics.net&#x27;, cicCacheUrl: &#x27;https://cache.dev.grassrootseconomics.net&#x27;,
web3Provider: &#x27;wss://bloxberg-ws.dev.grassrootseconomics.net&#x27;, web3Provider: &#x27;wss://bloxberg-ws.dev.grassrootseconomics.net&#x27;,
@ -1544,8 +1575,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="environment"></a> <a name="environment"></a>
<span class="name"> <span class="name">
<b> <span ><b>environment</b></span>
environment</b>
<a href="#environment"><span class="icon ion-ios-link"></span></a> <a href="#environment"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1588,8 +1618,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="environment"></a> <a name="environment"></a>
<span class="name"> <span class="name">
<b> <span ><b>environment</b></span>
environment</b>
<a href="#environment"><span class="icon ion-ios-link"></span></a> <a href="#environment"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1621,6 +1650,65 @@
</tr> </tr>
</tbody>
</table>
</section>
<h3>src/app/_workers/fetch-accounts.worker.ts</h3>
<section>
<h3></h3> <table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="headers"></a>
<span class="name">
<span ><b>headers</b></span>
<a href="#headers"><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>{
&#x27;x-cic-automerge&#x27;: &#x27;client&#x27;,
}</code>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="options"></a>
<span class="name">
<span ><b>options</b></span>
<a href="#options"><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>{
headers,
}</code>
</td>
</tr>
</tbody> </tbody>
</table> </table>
</section> </section>
@ -1632,8 +1720,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="keyring"></a> <a name="keyring"></a>
<span class="name"> <span class="name">
<b> <span ><b>keyring</b></span>
keyring</b>
<a href="#keyring"><span class="icon ion-ios-link"></span></a> <a href="#keyring"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1646,7 +1733,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>An openpgp Keyring instance. </p> <div class="io-description"><p>An openpgp Keyring instance.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -1662,8 +1749,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="objCsv"></a> <a name="objCsv"></a>
<span class="name"> <span class="name">
<b> <span ><b>objCsv</b></span>
objCsv</b>
<a href="#objCsv"><span class="icon ion-ios-link"></span></a> <a href="#objCsv"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1685,7 +1771,7 @@
<tr> <tr>
<td class="col-md-4"> <td class="col-md-4">
<div class="io-description"><p>An object defining the properties of the data read. </p> <div class="io-description"><p>An object defining the properties of the data read.</p>
</div> </div>
</td> </td>
</tr> </tr>
@ -1701,8 +1787,7 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="vCard"></a> <a name="vCard"></a>
<span class="name"> <span class="name">
<b> <span ><b>vCard</b></span>
vCard</b>
<a href="#vCard"><span class="icon ion-ios-link"></span></a> <a href="#vCard"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1725,8 +1810,30 @@
<td class="col-md-4"> <td class="col-md-4">
<a name="vCard"></a> <a name="vCard"></a>
<span class="name"> <span class="name">
<b> <span ><b>vCard</b></span>
vCard</b> <a href="#vCard"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>require(&#x27;vcard-parser&#x27;)</code>
</td>
</tr>
</tbody>
</table>
</section>
<h3>src/app/pages/accounts/account-history/account-history.component.ts</h3>
<section>
<h3></h3> <table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="vCard"></a>
<span class="name">
<span ><b>vCard</b></span>
<a href="#vCard"><span class="icon ion-ios-link"></span></a> <a href="#vCard"><span class="icon ion-ios-link"></span></a>
</span> </span>
</td> </td>
@ -1767,9 +1874,9 @@
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="./images/favicon.ico"> <link rel="icon" type="image/x-icon" href="./images/favicon.ico">
<link rel="stylesheet" href="./styles/style.css"> <link rel="stylesheet" href="./styles/style.css">
<link rel="stylesheet" href="./styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -351,9 +352,9 @@
<script src="./js/libs/custom-elements.min.js"></script> <script src="./js/libs/custom-elements.min.js"></script>
<script src="./js/libs/lit-html.js"></script> <script src="./js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="./js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="./js/menu-wc.js" defer></script>
<script src="./js/menu-wc.js" defer></script> <script nomodule src="./js/menu-wc_es5.js" defer></script>
<script src="./js/libs/bootstrap-native.js"></script> <script src="./js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -34,7 +35,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Modules</li> <li>Modules</li>
<li>AccountsModule</li> <li >AccountsModule</li>
</ol> </ol>
<div class="text-center module-graph-container"> <div class="text-center module-graph-container">
@ -45,130 +46,158 @@
<!-- Generated by graphviz version 2.47.0 (20210316.0004) <!-- Generated by graphviz version 2.47.0 (20210316.0004)
--> -->
<!-- Title: dependencies Pages: 1 --> <!-- Title: dependencies Pages: 1 -->
<svg width="1194pt" height="211pt" <svg width="1383pt" height="284pt"
viewBox="0.00 0.00 1194.00 211.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> viewBox="0.00 0.00 1383.00 284.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 207)"> <g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 280)">
<title>dependencies</title> <title>dependencies</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-207 1190,-207 1190,4 -4,4"/> <polygon fill="white" stroke="transparent" points="-4,4 -4,-280 1379,-280 1379,4 -4,4"/>
<text text-anchor="start" x="572.01" y="-42.4" font-family="sans-serif" font-weight="bold" font-size="14.00">Legend</text> <text text-anchor="start" x="666.51" y="-42.4" font-family="sans-serif" font-weight="bold" font-size="14.00">Legend</text>
<polygon fill="#ffffb3" stroke="transparent" points="359,-10 359,-30 379,-30 379,-10 359,-10"/> <polygon fill="#ffffb3" stroke="transparent" points="453.5,-10 453.5,-30 473.5,-30 473.5,-10 453.5,-10"/>
<text text-anchor="start" x="382.63" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Declarations</text> <text text-anchor="start" x="477.13" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Declarations</text>
<polygon fill="#8dd3c7" stroke="transparent" points="472,-10 472,-30 492,-30 492,-10 472,-10"/> <polygon fill="#8dd3c7" stroke="transparent" points="566.5,-10 566.5,-30 586.5,-30 586.5,-10 566.5,-10"/>
<text text-anchor="start" x="495.73" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Module</text> <text text-anchor="start" x="590.23" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Module</text>
<polygon fill="#80b1d3" stroke="transparent" points="558,-10 558,-30 578,-30 578,-10 558,-10"/> <polygon fill="#80b1d3" stroke="transparent" points="652.5,-10 652.5,-30 672.5,-30 672.5,-10 652.5,-10"/>
<text text-anchor="start" x="581.78" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Bootstrap</text> <text text-anchor="start" x="676.28" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Bootstrap</text>
<polygon fill="#fdb462" stroke="transparent" points="655,-10 655,-30 675,-30 675,-10 655,-10"/> <polygon fill="#fdb462" stroke="transparent" points="749.5,-10 749.5,-30 769.5,-30 769.5,-10 749.5,-10"/>
<text text-anchor="start" x="678.67" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Providers</text> <text text-anchor="start" x="773.17" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Providers</text>
<polygon fill="#fb8072" stroke="transparent" points="751,-10 751,-30 771,-30 771,-10 751,-10"/> <polygon fill="#fb8072" stroke="transparent" points="845.5,-10 845.5,-30 865.5,-30 865.5,-10 845.5,-10"/>
<text text-anchor="start" x="774.73" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Exports</text> <text text-anchor="start" x="869.23" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Exports</text>
<g id="clust1" class="cluster"> <g id="clust1" class="cluster">
<title>cluster_AccountsModule</title> <title>cluster_AccountsModule</title>
<polygon fill="none" stroke="black" stroke-dasharray="1,5" points="8,-70 8,-195 1178,-195 1178,-70 8,-70"/> <polygon fill="none" stroke="black" stroke-dasharray="1,5" points="8,-70 8,-268 1367,-268 1367,-70 8,-70"/>
</g> </g>
<g id="clust7" class="cluster"> <g id="clust9" class="cluster">
<title>cluster_AccountsModule_imports</title> <title>cluster_AccountsModule_exports</title>
<polygon fill="none" stroke="black" points="730,-78 730,-130 1170,-130 1170,-78 730,-78"/> <polygon fill="none" stroke="black" points="544,-208 544,-260 734,-260 734,-208 544,-208"/>
</g> </g>
<g id="clust2" class="cluster"> <g id="clust2" class="cluster">
<title>cluster_AccountsModule_declarations</title> <title>cluster_AccountsModule_declarations</title>
<polygon fill="none" stroke="black" points="16,-78 16,-130 722,-130 722,-78 16,-78"/> <polygon fill="none" stroke="black" points="464,-78 464,-130 1359,-130 1359,-78 464,-78"/>
</g>
<g id="clust8" class="cluster">
<title>cluster_AccountsModule_imports</title>
<polygon fill="none" stroke="black" points="16,-78 16,-130 456,-130 456,-78 16,-78"/>
</g> </g>
<!-- AccountDetailsComponent --> <!-- AccountDetailsComponent -->
<g id="node1" class="node"> <g id="node1" class="node">
<title>AccountDetailsComponent</title> <title>AccountDetailsComponent</title>
<polygon fill="#ffffb3" stroke="black" points="714.41,-122 545.59,-122 545.59,-86 714.41,-86 714.41,-122"/> <polygon fill="#ffffb3" stroke="black" points="1351.41,-122 1182.59,-122 1182.59,-86 1351.41,-86 1351.41,-122"/>
<text text-anchor="middle" x="630" y="-99.8" font-family="Times,serif" font-size="14.00">AccountDetailsComponent</text> <text text-anchor="middle" x="1267" y="-99.8" font-family="Times,serif" font-size="14.00">AccountDetailsComponent</text>
</g> </g>
<!-- AccountsModule --> <!-- AccountsModule -->
<g id="node5" class="node"> <g id="node6" class="node">
<title>AccountsModule</title> <title>AccountsModule</title>
<polygon fill="#8dd3c7" stroke="black" points="686.42,-187 683.42,-191 662.42,-191 659.42,-187 573.58,-187 573.58,-151 686.42,-151 686.42,-187"/> <polygon fill="#8dd3c7" stroke="black" points="695.42,-187 692.42,-191 671.42,-191 668.42,-187 582.58,-187 582.58,-151 695.42,-151 695.42,-187"/>
<text text-anchor="middle" x="630" y="-164.8" font-family="Times,serif" font-size="14.00">AccountsModule</text> <text text-anchor="middle" x="639" y="-164.8" font-family="Times,serif" font-size="14.00">AccountsModule</text>
</g> </g>
<!-- AccountDetailsComponent&#45;&gt;AccountsModule --> <!-- AccountDetailsComponent&#45;&gt;AccountsModule -->
<g id="edge1" class="edge"> <g id="edge1" class="edge">
<title>AccountDetailsComponent&#45;&gt;AccountsModule</title> <title>AccountDetailsComponent&#45;&gt;AccountsModule</title>
<path fill="none" stroke="black" d="M630,-122.11C630,-122.11 630,-140.99 630,-140.99"/> <path fill="none" stroke="black" d="M1267,-122.29C1267,-144.21 1267,-178 1267,-178 1267,-178 705.28,-178 705.28,-178"/>
<polygon fill="black" stroke="black" points="626.5,-140.99 630,-150.99 633.5,-140.99 626.5,-140.99"/> <polygon fill="black" stroke="black" points="705.28,-174.5 695.28,-178 705.28,-181.5 705.28,-174.5"/>
</g>
<!-- AccountHistoryComponent -->
<g id="node2" class="node">
<title>AccountHistoryComponent</title>
<polygon fill="#ffffb3" stroke="black" points="1164.25,-122 993.75,-122 993.75,-86 1164.25,-86 1164.25,-122"/>
<text text-anchor="middle" x="1079" y="-99.8" font-family="Times,serif" font-size="14.00">AccountHistoryComponent</text>
</g>
<!-- AccountHistoryComponent&#45;&gt;AccountsModule -->
<g id="edge2" class="edge">
<title>AccountHistoryComponent&#45;&gt;AccountsModule</title>
<path fill="none" stroke="black" d="M1079,-122.11C1079,-141.34 1079,-169 1079,-169 1079,-169 705.62,-169 705.62,-169"/>
<polygon fill="black" stroke="black" points="705.62,-165.5 695.62,-169 705.62,-172.5 705.62,-165.5"/>
</g> </g>
<!-- AccountSearchComponent --> <!-- AccountSearchComponent -->
<g id="node2" class="node"> <g id="node3" class="node">
<title>AccountSearchComponent</title> <title>AccountSearchComponent</title>
<polygon fill="#ffffb3" stroke="black" points="527.35,-122 360.65,-122 360.65,-86 527.35,-86 527.35,-122"/> <polygon fill="#ffffb3" stroke="black" points="975.35,-122 808.65,-122 808.65,-86 975.35,-86 975.35,-122"/>
<text text-anchor="middle" x="444" y="-99.8" font-family="Times,serif" font-size="14.00">AccountSearchComponent</text> <text text-anchor="middle" x="892" y="-99.8" font-family="Times,serif" font-size="14.00">AccountSearchComponent</text>
</g> </g>
<!-- AccountSearchComponent&#45;&gt;AccountsModule --> <!-- AccountSearchComponent&#45;&gt;AccountsModule -->
<g id="edge2" class="edge"> <g id="edge3" class="edge">
<title>AccountSearchComponent&#45;&gt;AccountsModule</title> <title>AccountSearchComponent&#45;&gt;AccountsModule</title>
<path fill="none" stroke="black" d="M444,-122.03C444,-138.4 444,-160 444,-160 444,-160 563.69,-160 563.69,-160"/> <path fill="none" stroke="black" d="M892,-122.03C892,-138.4 892,-160 892,-160 892,-160 705.46,-160 705.46,-160"/>
<polygon fill="black" stroke="black" points="563.69,-163.5 573.69,-160 563.69,-156.5 563.69,-163.5"/> <polygon fill="black" stroke="black" points="705.46,-156.5 695.46,-160 705.46,-163.5 705.46,-156.5"/>
</g> </g>
<!-- AccountsComponent --> <!-- AccountsComponent -->
<g id="node3" class="node"> <g id="node4" class="node">
<title>AccountsComponent</title> <title>AccountsComponent</title>
<polygon fill="#ffffb3" stroke="black" points="342.2,-122 207.8,-122 207.8,-86 342.2,-86 342.2,-122"/> <polygon fill="#ffffb3" stroke="black" points="790.2,-122 655.8,-122 655.8,-86 790.2,-86 790.2,-122"/>
<text text-anchor="middle" x="275" y="-99.8" font-family="Times,serif" font-size="14.00">AccountsComponent</text> <text text-anchor="middle" x="723" y="-99.8" font-family="Times,serif" font-size="14.00">AccountsComponent</text>
</g> </g>
<!-- AccountsComponent&#45;&gt;AccountsModule --> <!-- AccountsComponent&#45;&gt;AccountsModule -->
<g id="edge3" class="edge"> <g id="edge4" class="edge">
<title>AccountsComponent&#45;&gt;AccountsModule</title> <title>AccountsComponent&#45;&gt;AccountsModule</title>
<path fill="none" stroke="black" d="M275,-122.11C275,-141.34 275,-169 275,-169 275,-169 563.75,-169 563.75,-169"/> <path fill="none" stroke="black" d="M675.55,-122.11C675.55,-122.11 675.55,-140.99 675.55,-140.99"/>
<polygon fill="black" stroke="black" points="563.75,-172.5 573.75,-169 563.75,-165.5 563.75,-172.5"/> <polygon fill="black" stroke="black" points="672.05,-140.99 675.55,-150.99 679.05,-140.99 672.05,-140.99"/>
</g> </g>
<!-- CreateAccountComponent --> <!-- CreateAccountComponent -->
<g id="node4" class="node"> <g id="node5" class="node">
<title>CreateAccountComponent</title> <title>CreateAccountComponent</title>
<polygon fill="#ffffb3" stroke="black" points="189.79,-122 24.21,-122 24.21,-86 189.79,-86 189.79,-122"/> <polygon fill="#ffffb3" stroke="black" points="637.79,-122 472.21,-122 472.21,-86 637.79,-86 637.79,-122"/>
<text text-anchor="middle" x="107" y="-99.8" font-family="Times,serif" font-size="14.00">CreateAccountComponent</text> <text text-anchor="middle" x="555" y="-99.8" font-family="Times,serif" font-size="14.00">CreateAccountComponent</text>
</g> </g>
<!-- CreateAccountComponent&#45;&gt;AccountsModule --> <!-- CreateAccountComponent&#45;&gt;AccountsModule -->
<g id="edge4" class="edge"> <g id="edge5" class="edge">
<title>CreateAccountComponent&#45;&gt;AccountsModule</title> <title>CreateAccountComponent&#45;&gt;AccountsModule</title>
<path fill="none" stroke="black" d="M107,-122.29C107,-144.21 107,-178 107,-178 107,-178 563.53,-178 563.53,-178"/> <path fill="none" stroke="black" d="M610.22,-122.11C610.22,-122.11 610.22,-140.99 610.22,-140.99"/>
<polygon fill="black" stroke="black" points="563.53,-181.5 573.53,-178 563.53,-174.5 563.53,-181.5"/> <polygon fill="black" stroke="black" points="606.72,-140.99 610.22,-150.99 613.72,-140.99 606.72,-140.99"/>
</g>
<!-- AccountHistoryComponent -->
<g id="node10" class="node">
<title>AccountHistoryComponent </title>
<polygon fill="#fb8072" stroke="black" points="726.25,-252 551.75,-252 551.75,-216 726.25,-216 726.25,-252"/>
<text text-anchor="middle" x="639" y="-229.8" font-family="Times,serif" font-size="14.00">AccountHistoryComponent </text>
</g>
<!-- AccountsModule&#45;&gt;AccountHistoryComponent -->
<g id="edge9" class="edge">
<title>AccountsModule&#45;&gt;AccountHistoryComponent </title>
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M639,-187.11C639,-187.11 639,-205.99 639,-205.99"/>
<polygon fill="black" stroke="black" points="635.5,-205.99 639,-215.99 642.5,-205.99 635.5,-205.99"/>
</g> </g>
<!-- AccountsRoutingModule --> <!-- AccountsRoutingModule -->
<g id="node6" class="node"> <g id="node7" class="node">
<title>AccountsRoutingModule</title> <title>AccountsRoutingModule</title>
<polygon fill="#8dd3c7" stroke="black" points="1161.54,-122 1158.54,-126 1137.54,-126 1134.54,-122 1004.46,-122 1004.46,-86 1161.54,-86 1161.54,-122"/> <polygon fill="#8dd3c7" stroke="black" points="447.54,-122 444.54,-126 423.54,-126 420.54,-122 290.46,-122 290.46,-86 447.54,-86 447.54,-122"/>
<text text-anchor="middle" x="1083" y="-99.8" font-family="Times,serif" font-size="14.00">AccountsRoutingModule</text> <text text-anchor="middle" x="369" y="-99.8" font-family="Times,serif" font-size="14.00">AccountsRoutingModule</text>
</g> </g>
<!-- AccountsRoutingModule&#45;&gt;AccountsModule --> <!-- AccountsRoutingModule&#45;&gt;AccountsModule -->
<g id="edge5" class="edge"> <g id="edge6" class="edge">
<title>AccountsRoutingModule&#45;&gt;AccountsModule</title> <title>AccountsRoutingModule&#45;&gt;AccountsModule</title>
<path fill="none" stroke="black" d="M1083,-122.29C1083,-144.21 1083,-178 1083,-178 1083,-178 696.46,-178 696.46,-178"/> <path fill="none" stroke="black" d="M369,-122.03C369,-138.4 369,-160 369,-160 369,-160 572.73,-160 572.73,-160"/>
<polygon fill="black" stroke="black" points="696.46,-174.5 686.46,-178 696.46,-181.5 696.46,-174.5"/> <polygon fill="black" stroke="black" points="572.73,-163.5 582.73,-160 572.73,-156.5 572.73,-163.5"/>
</g> </g>
<!-- SharedModule --> <!-- SharedModule -->
<g id="node7" class="node"> <g id="node8" class="node">
<title>SharedModule</title> <title>SharedModule</title>
<polygon fill="#8dd3c7" stroke="black" points="986.42,-122 983.42,-126 962.42,-126 959.42,-122 887.58,-122 887.58,-86 986.42,-86 986.42,-122"/> <polygon fill="#8dd3c7" stroke="black" points="272.42,-122 269.42,-126 248.42,-126 245.42,-122 173.58,-122 173.58,-86 272.42,-86 272.42,-122"/>
<text text-anchor="middle" x="937" y="-99.8" font-family="Times,serif" font-size="14.00">SharedModule</text> <text text-anchor="middle" x="223" y="-99.8" font-family="Times,serif" font-size="14.00">SharedModule</text>
</g> </g>
<!-- SharedModule&#45;&gt;AccountsModule --> <!-- SharedModule&#45;&gt;AccountsModule -->
<g id="edge6" class="edge"> <g id="edge7" class="edge">
<title>SharedModule&#45;&gt;AccountsModule</title> <title>SharedModule&#45;&gt;AccountsModule</title>
<path fill="none" stroke="black" d="M937,-122.11C937,-141.34 937,-169 937,-169 937,-169 696.31,-169 696.31,-169"/> <path fill="none" stroke="black" d="M223,-122.11C223,-141.34 223,-169 223,-169 223,-169 572.46,-169 572.46,-169"/>
<polygon fill="black" stroke="black" points="696.31,-165.5 686.31,-169 696.31,-172.5 696.31,-165.5"/> <polygon fill="black" stroke="black" points="572.46,-172.5 582.46,-169 572.46,-165.5 572.46,-172.5"/>
</g> </g>
<!-- TransactionsModule --> <!-- TransactionsModule -->
<g id="node8" class="node"> <g id="node9" class="node">
<title>TransactionsModule</title> <title>TransactionsModule</title>
<polygon fill="#8dd3c7" stroke="black" points="869.58,-122 866.58,-126 845.58,-126 842.58,-122 738.42,-122 738.42,-86 869.58,-86 869.58,-122"/> <polygon fill="#8dd3c7" stroke="black" points="155.58,-122 152.58,-126 131.58,-126 128.58,-122 24.42,-122 24.42,-86 155.58,-86 155.58,-122"/>
<text text-anchor="middle" x="804" y="-99.8" font-family="Times,serif" font-size="14.00">TransactionsModule</text> <text text-anchor="middle" x="90" y="-99.8" font-family="Times,serif" font-size="14.00">TransactionsModule</text>
</g> </g>
<!-- TransactionsModule&#45;&gt;AccountsModule --> <!-- TransactionsModule&#45;&gt;AccountsModule -->
<g id="edge7" class="edge"> <g id="edge8" class="edge">
<title>TransactionsModule&#45;&gt;AccountsModule</title> <title>TransactionsModule&#45;&gt;AccountsModule</title>
<path fill="none" stroke="black" d="M804,-122.03C804,-138.4 804,-160 804,-160 804,-160 696.49,-160 696.49,-160"/> <path fill="none" stroke="black" d="M90,-122.29C90,-144.21 90,-178 90,-178 90,-178 572.57,-178 572.57,-178"/>
<polygon fill="black" stroke="black" points="696.49,-156.5 686.49,-160 696.49,-163.5 696.49,-156.5"/> <polygon fill="black" stroke="black" points="572.57,-181.5 582.57,-178 572.57,-174.5 572.57,-181.5"/>
</g> </g>
</g> </g>
</svg> </svg>
</div> </div>
<i id="fullscreen" class="icon ion-ios-resize module-graph-fullscreen-btn" aria-hidden="true"></i> <i id="fullscreen" class="icon ion-ios-resize module-graph-fullscreen-btn" aria-hidden="true"></i>
<div class="btn-group"> <div class="btn-group size-buttons">
<button id="zoom-in" class="btn btn-default btn-sm">Zoom in</button> <button id="zoom-in" class="btn btn-default btn-sm">Zoom in</button>
<button id="reset" class="btn btn-default btn-sm">Reset</button> <button id="reset" class="btn btn-default btn-sm">Reset</button>
<button id="zoom-out" class="btn btn-default btn-sm">Zoom out</button> <button id="zoom-out" class="btn btn-default btn-sm">Zoom out</button>
@ -199,6 +228,7 @@
<div class="container-fluid module"> <div class="container-fluid module">
<div class="row"> <div class="row">
<div class="col-sm-3"> <div class="col-sm-3">
@ -208,6 +238,9 @@
<li class="list-group-item"> <li class="list-group-item">
<a href="../components/AccountDetailsComponent.html">AccountDetailsComponent</a> <a href="../components/AccountDetailsComponent.html">AccountDetailsComponent</a>
</li> </li>
<li class="list-group-item">
<a href="../components/AccountHistoryComponent.html">AccountHistoryComponent</a>
</li>
<li class="list-group-item"> <li class="list-group-item">
<a href="../components/AccountSearchComponent.html">AccountSearchComponent</a> <a href="../components/AccountSearchComponent.html">AccountSearchComponent</a>
</li> </li>
@ -234,6 +267,15 @@
</li> </li>
</ul> </ul>
</div> </div>
<div class="col-sm-3">
<h3>Exports<a href="https://angular.io/api/core/NgModule#exports" target="_blank" title="Official documentation about module exports"><span
class="icon ion-ios-information-circle-outline"></a></h3>
<ul class="list-group">
<li class="list-group-item">
<a href="../components/AccountHistoryComponent.html">AccountHistoryComponent</a>
</li>
</ul>
</div>
</div> </div>
</div> </div>
@ -267,6 +309,8 @@ import { MatProgressSpinnerModule } from &#x27;@angular/material/progress-spinne
import { ReactiveFormsModule } from &#x27;@angular/forms&#x27;; import { ReactiveFormsModule } from &#x27;@angular/forms&#x27;;
import { AccountSearchComponent } from &#x27;./account-search/account-search.component&#x27;; import { AccountSearchComponent } from &#x27;./account-search/account-search.component&#x27;;
import { MatSnackBarModule } from &#x27;@angular/material/snack-bar&#x27;; import { MatSnackBarModule } from &#x27;@angular/material/snack-bar&#x27;;
import { MatProgressBarModule } from &#x27;@angular/material/progress-bar&#x27;;
import { AccountHistoryComponent } from &#x27;./account-history/account-history.component&#x27;;
@NgModule({ @NgModule({
declarations: [ declarations: [
@ -274,7 +318,9 @@ import { MatSnackBarModule } from &#x27;@angular/material/snack-bar&#x27;;
AccountDetailsComponent, AccountDetailsComponent,
CreateAccountComponent, CreateAccountComponent,
AccountSearchComponent, AccountSearchComponent,
AccountHistoryComponent,
], ],
exports: [AccountHistoryComponent],
imports: [ imports: [
CommonModule, CommonModule,
AccountsRoutingModule, AccountsRoutingModule,
@ -295,6 +341,7 @@ import { MatSnackBarModule } from &#x27;@angular/material/snack-bar&#x27;;
MatProgressSpinnerModule, MatProgressSpinnerModule,
ReactiveFormsModule, ReactiveFormsModule,
MatSnackBarModule, MatSnackBarModule,
MatProgressBarModule,
], ],
}) })
export class AccountsModule {} export class AccountsModule {}
@ -339,9 +386,9 @@ export class AccountsModule {}
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -4,123 +4,151 @@
<!-- Generated by graphviz version 2.47.0 (20210316.0004) <!-- Generated by graphviz version 2.47.0 (20210316.0004)
--> -->
<!-- Title: dependencies Pages: 1 --> <!-- Title: dependencies Pages: 1 -->
<svg width="1194pt" height="211pt" <svg width="1383pt" height="284pt"
viewBox="0.00 0.00 1194.00 211.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> viewBox="0.00 0.00 1383.00 284.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 207)"> <g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 280)">
<title>dependencies</title> <title>dependencies</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-207 1190,-207 1190,4 -4,4"/> <polygon fill="white" stroke="transparent" points="-4,4 -4,-280 1379,-280 1379,4 -4,4"/>
<text text-anchor="start" x="572.01" y="-42.4" font-family="sans-serif" font-weight="bold" font-size="14.00">Legend</text> <text text-anchor="start" x="666.51" y="-42.4" font-family="sans-serif" font-weight="bold" font-size="14.00">Legend</text>
<polygon fill="#ffffb3" stroke="transparent" points="359,-10 359,-30 379,-30 379,-10 359,-10"/> <polygon fill="#ffffb3" stroke="transparent" points="453.5,-10 453.5,-30 473.5,-30 473.5,-10 453.5,-10"/>
<text text-anchor="start" x="382.63" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Declarations</text> <text text-anchor="start" x="477.13" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Declarations</text>
<polygon fill="#8dd3c7" stroke="transparent" points="472,-10 472,-30 492,-30 492,-10 472,-10"/> <polygon fill="#8dd3c7" stroke="transparent" points="566.5,-10 566.5,-30 586.5,-30 586.5,-10 566.5,-10"/>
<text text-anchor="start" x="495.73" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Module</text> <text text-anchor="start" x="590.23" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Module</text>
<polygon fill="#80b1d3" stroke="transparent" points="558,-10 558,-30 578,-30 578,-10 558,-10"/> <polygon fill="#80b1d3" stroke="transparent" points="652.5,-10 652.5,-30 672.5,-30 672.5,-10 652.5,-10"/>
<text text-anchor="start" x="581.78" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Bootstrap</text> <text text-anchor="start" x="676.28" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Bootstrap</text>
<polygon fill="#fdb462" stroke="transparent" points="655,-10 655,-30 675,-30 675,-10 655,-10"/> <polygon fill="#fdb462" stroke="transparent" points="749.5,-10 749.5,-30 769.5,-30 769.5,-10 749.5,-10"/>
<text text-anchor="start" x="678.67" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Providers</text> <text text-anchor="start" x="773.17" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Providers</text>
<polygon fill="#fb8072" stroke="transparent" points="751,-10 751,-30 771,-30 771,-10 751,-10"/> <polygon fill="#fb8072" stroke="transparent" points="845.5,-10 845.5,-30 865.5,-30 865.5,-10 845.5,-10"/>
<text text-anchor="start" x="774.73" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Exports</text> <text text-anchor="start" x="869.23" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Exports</text>
<g id="clust1" class="cluster"> <g id="clust1" class="cluster">
<title>cluster_AccountsModule</title> <title>cluster_AccountsModule</title>
<polygon fill="none" stroke="black" stroke-dasharray="1,5" points="8,-70 8,-195 1178,-195 1178,-70 8,-70"/> <polygon fill="none" stroke="black" stroke-dasharray="1,5" points="8,-70 8,-268 1367,-268 1367,-70 8,-70"/>
</g> </g>
<g id="clust7" class="cluster"> <g id="clust9" class="cluster">
<title>cluster_AccountsModule_imports</title> <title>cluster_AccountsModule_exports</title>
<polygon fill="none" stroke="black" points="730,-78 730,-130 1170,-130 1170,-78 730,-78"/> <polygon fill="none" stroke="black" points="544,-208 544,-260 734,-260 734,-208 544,-208"/>
</g> </g>
<g id="clust2" class="cluster"> <g id="clust2" class="cluster">
<title>cluster_AccountsModule_declarations</title> <title>cluster_AccountsModule_declarations</title>
<polygon fill="none" stroke="black" points="16,-78 16,-130 722,-130 722,-78 16,-78"/> <polygon fill="none" stroke="black" points="464,-78 464,-130 1359,-130 1359,-78 464,-78"/>
</g>
<g id="clust8" class="cluster">
<title>cluster_AccountsModule_imports</title>
<polygon fill="none" stroke="black" points="16,-78 16,-130 456,-130 456,-78 16,-78"/>
</g> </g>
<!-- AccountDetailsComponent --> <!-- AccountDetailsComponent -->
<g id="node1" class="node"> <g id="node1" class="node">
<title>AccountDetailsComponent</title> <title>AccountDetailsComponent</title>
<polygon fill="#ffffb3" stroke="black" points="714.41,-122 545.59,-122 545.59,-86 714.41,-86 714.41,-122"/> <polygon fill="#ffffb3" stroke="black" points="1351.41,-122 1182.59,-122 1182.59,-86 1351.41,-86 1351.41,-122"/>
<text text-anchor="middle" x="630" y="-99.8" font-family="Times,serif" font-size="14.00">AccountDetailsComponent</text> <text text-anchor="middle" x="1267" y="-99.8" font-family="Times,serif" font-size="14.00">AccountDetailsComponent</text>
</g> </g>
<!-- AccountsModule --> <!-- AccountsModule -->
<g id="node5" class="node"> <g id="node6" class="node">
<title>AccountsModule</title> <title>AccountsModule</title>
<polygon fill="#8dd3c7" stroke="black" points="686.42,-187 683.42,-191 662.42,-191 659.42,-187 573.58,-187 573.58,-151 686.42,-151 686.42,-187"/> <polygon fill="#8dd3c7" stroke="black" points="695.42,-187 692.42,-191 671.42,-191 668.42,-187 582.58,-187 582.58,-151 695.42,-151 695.42,-187"/>
<text text-anchor="middle" x="630" y="-164.8" font-family="Times,serif" font-size="14.00">AccountsModule</text> <text text-anchor="middle" x="639" y="-164.8" font-family="Times,serif" font-size="14.00">AccountsModule</text>
</g> </g>
<!-- AccountDetailsComponent&#45;&gt;AccountsModule --> <!-- AccountDetailsComponent&#45;&gt;AccountsModule -->
<g id="edge1" class="edge"> <g id="edge1" class="edge">
<title>AccountDetailsComponent&#45;&gt;AccountsModule</title> <title>AccountDetailsComponent&#45;&gt;AccountsModule</title>
<path fill="none" stroke="black" d="M630,-122.11C630,-122.11 630,-140.99 630,-140.99"/> <path fill="none" stroke="black" d="M1267,-122.29C1267,-144.21 1267,-178 1267,-178 1267,-178 705.28,-178 705.28,-178"/>
<polygon fill="black" stroke="black" points="626.5,-140.99 630,-150.99 633.5,-140.99 626.5,-140.99"/> <polygon fill="black" stroke="black" points="705.28,-174.5 695.28,-178 705.28,-181.5 705.28,-174.5"/>
</g>
<!-- AccountHistoryComponent -->
<g id="node2" class="node">
<title>AccountHistoryComponent</title>
<polygon fill="#ffffb3" stroke="black" points="1164.25,-122 993.75,-122 993.75,-86 1164.25,-86 1164.25,-122"/>
<text text-anchor="middle" x="1079" y="-99.8" font-family="Times,serif" font-size="14.00">AccountHistoryComponent</text>
</g>
<!-- AccountHistoryComponent&#45;&gt;AccountsModule -->
<g id="edge2" class="edge">
<title>AccountHistoryComponent&#45;&gt;AccountsModule</title>
<path fill="none" stroke="black" d="M1079,-122.11C1079,-141.34 1079,-169 1079,-169 1079,-169 705.62,-169 705.62,-169"/>
<polygon fill="black" stroke="black" points="705.62,-165.5 695.62,-169 705.62,-172.5 705.62,-165.5"/>
</g> </g>
<!-- AccountSearchComponent --> <!-- AccountSearchComponent -->
<g id="node2" class="node"> <g id="node3" class="node">
<title>AccountSearchComponent</title> <title>AccountSearchComponent</title>
<polygon fill="#ffffb3" stroke="black" points="527.35,-122 360.65,-122 360.65,-86 527.35,-86 527.35,-122"/> <polygon fill="#ffffb3" stroke="black" points="975.35,-122 808.65,-122 808.65,-86 975.35,-86 975.35,-122"/>
<text text-anchor="middle" x="444" y="-99.8" font-family="Times,serif" font-size="14.00">AccountSearchComponent</text> <text text-anchor="middle" x="892" y="-99.8" font-family="Times,serif" font-size="14.00">AccountSearchComponent</text>
</g> </g>
<!-- AccountSearchComponent&#45;&gt;AccountsModule --> <!-- AccountSearchComponent&#45;&gt;AccountsModule -->
<g id="edge2" class="edge"> <g id="edge3" class="edge">
<title>AccountSearchComponent&#45;&gt;AccountsModule</title> <title>AccountSearchComponent&#45;&gt;AccountsModule</title>
<path fill="none" stroke="black" d="M444,-122.03C444,-138.4 444,-160 444,-160 444,-160 563.69,-160 563.69,-160"/> <path fill="none" stroke="black" d="M892,-122.03C892,-138.4 892,-160 892,-160 892,-160 705.46,-160 705.46,-160"/>
<polygon fill="black" stroke="black" points="563.69,-163.5 573.69,-160 563.69,-156.5 563.69,-163.5"/> <polygon fill="black" stroke="black" points="705.46,-156.5 695.46,-160 705.46,-163.5 705.46,-156.5"/>
</g> </g>
<!-- AccountsComponent --> <!-- AccountsComponent -->
<g id="node3" class="node"> <g id="node4" class="node">
<title>AccountsComponent</title> <title>AccountsComponent</title>
<polygon fill="#ffffb3" stroke="black" points="342.2,-122 207.8,-122 207.8,-86 342.2,-86 342.2,-122"/> <polygon fill="#ffffb3" stroke="black" points="790.2,-122 655.8,-122 655.8,-86 790.2,-86 790.2,-122"/>
<text text-anchor="middle" x="275" y="-99.8" font-family="Times,serif" font-size="14.00">AccountsComponent</text> <text text-anchor="middle" x="723" y="-99.8" font-family="Times,serif" font-size="14.00">AccountsComponent</text>
</g> </g>
<!-- AccountsComponent&#45;&gt;AccountsModule --> <!-- AccountsComponent&#45;&gt;AccountsModule -->
<g id="edge3" class="edge"> <g id="edge4" class="edge">
<title>AccountsComponent&#45;&gt;AccountsModule</title> <title>AccountsComponent&#45;&gt;AccountsModule</title>
<path fill="none" stroke="black" d="M275,-122.11C275,-141.34 275,-169 275,-169 275,-169 563.75,-169 563.75,-169"/> <path fill="none" stroke="black" d="M675.55,-122.11C675.55,-122.11 675.55,-140.99 675.55,-140.99"/>
<polygon fill="black" stroke="black" points="563.75,-172.5 573.75,-169 563.75,-165.5 563.75,-172.5"/> <polygon fill="black" stroke="black" points="672.05,-140.99 675.55,-150.99 679.05,-140.99 672.05,-140.99"/>
</g> </g>
<!-- CreateAccountComponent --> <!-- CreateAccountComponent -->
<g id="node4" class="node"> <g id="node5" class="node">
<title>CreateAccountComponent</title> <title>CreateAccountComponent</title>
<polygon fill="#ffffb3" stroke="black" points="189.79,-122 24.21,-122 24.21,-86 189.79,-86 189.79,-122"/> <polygon fill="#ffffb3" stroke="black" points="637.79,-122 472.21,-122 472.21,-86 637.79,-86 637.79,-122"/>
<text text-anchor="middle" x="107" y="-99.8" font-family="Times,serif" font-size="14.00">CreateAccountComponent</text> <text text-anchor="middle" x="555" y="-99.8" font-family="Times,serif" font-size="14.00">CreateAccountComponent</text>
</g> </g>
<!-- CreateAccountComponent&#45;&gt;AccountsModule --> <!-- CreateAccountComponent&#45;&gt;AccountsModule -->
<g id="edge4" class="edge"> <g id="edge5" class="edge">
<title>CreateAccountComponent&#45;&gt;AccountsModule</title> <title>CreateAccountComponent&#45;&gt;AccountsModule</title>
<path fill="none" stroke="black" d="M107,-122.29C107,-144.21 107,-178 107,-178 107,-178 563.53,-178 563.53,-178"/> <path fill="none" stroke="black" d="M610.22,-122.11C610.22,-122.11 610.22,-140.99 610.22,-140.99"/>
<polygon fill="black" stroke="black" points="563.53,-181.5 573.53,-178 563.53,-174.5 563.53,-181.5"/> <polygon fill="black" stroke="black" points="606.72,-140.99 610.22,-150.99 613.72,-140.99 606.72,-140.99"/>
</g>
<!-- AccountHistoryComponent -->
<g id="node10" class="node">
<title>AccountHistoryComponent </title>
<polygon fill="#fb8072" stroke="black" points="726.25,-252 551.75,-252 551.75,-216 726.25,-216 726.25,-252"/>
<text text-anchor="middle" x="639" y="-229.8" font-family="Times,serif" font-size="14.00">AccountHistoryComponent </text>
</g>
<!-- AccountsModule&#45;&gt;AccountHistoryComponent -->
<g id="edge9" class="edge">
<title>AccountsModule&#45;&gt;AccountHistoryComponent </title>
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M639,-187.11C639,-187.11 639,-205.99 639,-205.99"/>
<polygon fill="black" stroke="black" points="635.5,-205.99 639,-215.99 642.5,-205.99 635.5,-205.99"/>
</g> </g>
<!-- AccountsRoutingModule --> <!-- AccountsRoutingModule -->
<g id="node6" class="node"> <g id="node7" class="node">
<title>AccountsRoutingModule</title> <title>AccountsRoutingModule</title>
<polygon fill="#8dd3c7" stroke="black" points="1161.54,-122 1158.54,-126 1137.54,-126 1134.54,-122 1004.46,-122 1004.46,-86 1161.54,-86 1161.54,-122"/> <polygon fill="#8dd3c7" stroke="black" points="447.54,-122 444.54,-126 423.54,-126 420.54,-122 290.46,-122 290.46,-86 447.54,-86 447.54,-122"/>
<text text-anchor="middle" x="1083" y="-99.8" font-family="Times,serif" font-size="14.00">AccountsRoutingModule</text> <text text-anchor="middle" x="369" y="-99.8" font-family="Times,serif" font-size="14.00">AccountsRoutingModule</text>
</g> </g>
<!-- AccountsRoutingModule&#45;&gt;AccountsModule --> <!-- AccountsRoutingModule&#45;&gt;AccountsModule -->
<g id="edge5" class="edge"> <g id="edge6" class="edge">
<title>AccountsRoutingModule&#45;&gt;AccountsModule</title> <title>AccountsRoutingModule&#45;&gt;AccountsModule</title>
<path fill="none" stroke="black" d="M1083,-122.29C1083,-144.21 1083,-178 1083,-178 1083,-178 696.46,-178 696.46,-178"/> <path fill="none" stroke="black" d="M369,-122.03C369,-138.4 369,-160 369,-160 369,-160 572.73,-160 572.73,-160"/>
<polygon fill="black" stroke="black" points="696.46,-174.5 686.46,-178 696.46,-181.5 696.46,-174.5"/> <polygon fill="black" stroke="black" points="572.73,-163.5 582.73,-160 572.73,-156.5 572.73,-163.5"/>
</g> </g>
<!-- SharedModule --> <!-- SharedModule -->
<g id="node7" class="node"> <g id="node8" class="node">
<title>SharedModule</title> <title>SharedModule</title>
<polygon fill="#8dd3c7" stroke="black" points="986.42,-122 983.42,-126 962.42,-126 959.42,-122 887.58,-122 887.58,-86 986.42,-86 986.42,-122"/> <polygon fill="#8dd3c7" stroke="black" points="272.42,-122 269.42,-126 248.42,-126 245.42,-122 173.58,-122 173.58,-86 272.42,-86 272.42,-122"/>
<text text-anchor="middle" x="937" y="-99.8" font-family="Times,serif" font-size="14.00">SharedModule</text> <text text-anchor="middle" x="223" y="-99.8" font-family="Times,serif" font-size="14.00">SharedModule</text>
</g> </g>
<!-- SharedModule&#45;&gt;AccountsModule --> <!-- SharedModule&#45;&gt;AccountsModule -->
<g id="edge6" class="edge"> <g id="edge7" class="edge">
<title>SharedModule&#45;&gt;AccountsModule</title> <title>SharedModule&#45;&gt;AccountsModule</title>
<path fill="none" stroke="black" d="M937,-122.11C937,-141.34 937,-169 937,-169 937,-169 696.31,-169 696.31,-169"/> <path fill="none" stroke="black" d="M223,-122.11C223,-141.34 223,-169 223,-169 223,-169 572.46,-169 572.46,-169"/>
<polygon fill="black" stroke="black" points="696.31,-165.5 686.31,-169 696.31,-172.5 696.31,-165.5"/> <polygon fill="black" stroke="black" points="572.46,-172.5 582.46,-169 572.46,-165.5 572.46,-172.5"/>
</g> </g>
<!-- TransactionsModule --> <!-- TransactionsModule -->
<g id="node8" class="node"> <g id="node9" class="node">
<title>TransactionsModule</title> <title>TransactionsModule</title>
<polygon fill="#8dd3c7" stroke="black" points="869.58,-122 866.58,-126 845.58,-126 842.58,-122 738.42,-122 738.42,-86 869.58,-86 869.58,-122"/> <polygon fill="#8dd3c7" stroke="black" points="155.58,-122 152.58,-126 131.58,-126 128.58,-122 24.42,-122 24.42,-86 155.58,-86 155.58,-122"/>
<text text-anchor="middle" x="804" y="-99.8" font-family="Times,serif" font-size="14.00">TransactionsModule</text> <text text-anchor="middle" x="90" y="-99.8" font-family="Times,serif" font-size="14.00">TransactionsModule</text>
</g> </g>
<!-- TransactionsModule&#45;&gt;AccountsModule --> <!-- TransactionsModule&#45;&gt;AccountsModule -->
<g id="edge7" class="edge"> <g id="edge8" class="edge">
<title>TransactionsModule&#45;&gt;AccountsModule</title> <title>TransactionsModule&#45;&gt;AccountsModule</title>
<path fill="none" stroke="black" d="M804,-122.03C804,-138.4 804,-160 804,-160 804,-160 696.49,-160 696.49,-160"/> <path fill="none" stroke="black" d="M90,-122.29C90,-144.21 90,-178 90,-178 90,-178 572.57,-178 572.57,-178"/>
<polygon fill="black" stroke="black" points="696.49,-156.5 686.49,-160 696.49,-163.5 696.49,-156.5"/> <polygon fill="black" stroke="black" points="572.57,-181.5 582.57,-178 572.57,-174.5 572.57,-181.5"/>
</g> </g>
</g> </g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 9.0 KiB

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -34,7 +35,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Modules</li> <li>Modules</li>
<li>AccountsRoutingModule</li> <li >AccountsRoutingModule</li>
</ol> </ol>
@ -60,6 +61,7 @@
<div class="container-fluid module"> <div class="container-fluid module">
<div class="row"> <div class="row">
</div> </div>
@ -132,9 +134,9 @@ export class AccountsRoutingModule {}
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -34,7 +35,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Modules</li> <li>Modules</li>
<li>AdminModule</li> <li >AdminModule</li>
</ol> </ol>
<div class="text-center module-graph-container"> <div class="text-center module-graph-container">
@ -120,7 +121,7 @@
</div> </div>
<i id="fullscreen" class="icon ion-ios-resize module-graph-fullscreen-btn" aria-hidden="true"></i> <i id="fullscreen" class="icon ion-ios-resize module-graph-fullscreen-btn" aria-hidden="true"></i>
<div class="btn-group"> <div class="btn-group size-buttons">
<button id="zoom-in" class="btn btn-default btn-sm">Zoom in</button> <button id="zoom-in" class="btn btn-default btn-sm">Zoom in</button>
<button id="reset" class="btn btn-default btn-sm">Reset</button> <button id="reset" class="btn btn-default btn-sm">Reset</button>
<button id="zoom-out" class="btn btn-default btn-sm">Zoom out</button> <button id="zoom-out" class="btn btn-default btn-sm">Zoom out</button>
@ -151,6 +152,7 @@
<div class="container-fluid module"> <div class="container-fluid module">
<div class="row"> <div class="row">
<div class="col-sm-3"> <div class="col-sm-3">
@ -197,6 +199,7 @@ import { MatSortModule } from &#x27;@angular/material/sort&#x27;;
import { MatPaginatorModule } from &#x27;@angular/material/paginator&#x27;; import { MatPaginatorModule } from &#x27;@angular/material/paginator&#x27;;
import { MatButtonModule } from &#x27;@angular/material/button&#x27;; import { MatButtonModule } from &#x27;@angular/material/button&#x27;;
import { MatRippleModule } from &#x27;@angular/material/core&#x27;; import { MatRippleModule } from &#x27;@angular/material/core&#x27;;
import { MatProgressBarModule } from &#x27;@angular/material/progress-bar&#x27;;
@NgModule({ @NgModule({
declarations: [AdminComponent], declarations: [AdminComponent],
@ -213,6 +216,7 @@ import { MatRippleModule } from &#x27;@angular/material/core&#x27;;
MatPaginatorModule, MatPaginatorModule,
MatButtonModule, MatButtonModule,
MatRippleModule, MatRippleModule,
MatProgressBarModule,
], ],
}) })
export class AdminModule {} export class AdminModule {}
@ -257,9 +261,9 @@ export class AdminModule {}
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -34,7 +35,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Modules</li> <li>Modules</li>
<li>AdminRoutingModule</li> <li >AdminRoutingModule</li>
</ol> </ol>
@ -60,6 +61,7 @@
<div class="container-fluid module"> <div class="container-fluid module">
<div class="row"> <div class="row">
</div> </div>
@ -123,9 +125,9 @@ export class AdminRoutingModule {}
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -34,7 +35,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Modules</li> <li>Modules</li>
<li>AppModule</li> <li >AppModule</li>
</ol> </ol>
<div class="text-center module-graph-container"> <div class="text-center module-graph-container">
@ -45,150 +46,162 @@
<!-- Generated by graphviz version 2.47.0 (20210316.0004) <!-- Generated by graphviz version 2.47.0 (20210316.0004)
--> -->
<!-- Title: dependencies Pages: 1 --> <!-- Title: dependencies Pages: 1 -->
<svg width="1202pt" height="284pt" <svg width="1416pt" height="284pt"
viewBox="0.00 0.00 1202.00 284.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> viewBox="0.00 0.00 1416.00 284.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 280)"> <g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 280)">
<title>dependencies</title> <title>dependencies</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-280 1198,-280 1198,4 -4,4"/> <polygon fill="white" stroke="transparent" points="-4,4 -4,-280 1412,-280 1412,4 -4,4"/>
<text text-anchor="start" x="576.01" y="-42.4" font-family="sans-serif" font-weight="bold" font-size="14.00">Legend</text> <text text-anchor="start" x="683.01" y="-42.4" font-family="sans-serif" font-weight="bold" font-size="14.00">Legend</text>
<polygon fill="#ffffb3" stroke="transparent" points="363,-10 363,-30 383,-30 383,-10 363,-10"/> <polygon fill="#ffffb3" stroke="transparent" points="470,-10 470,-30 490,-30 490,-10 470,-10"/>
<text text-anchor="start" x="386.63" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Declarations</text> <text text-anchor="start" x="493.63" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Declarations</text>
<polygon fill="#8dd3c7" stroke="transparent" points="476,-10 476,-30 496,-30 496,-10 476,-10"/> <polygon fill="#8dd3c7" stroke="transparent" points="583,-10 583,-30 603,-30 603,-10 583,-10"/>
<text text-anchor="start" x="499.73" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Module</text> <text text-anchor="start" x="606.73" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Module</text>
<polygon fill="#80b1d3" stroke="transparent" points="562,-10 562,-30 582,-30 582,-10 562,-10"/> <polygon fill="#80b1d3" stroke="transparent" points="669,-10 669,-30 689,-30 689,-10 669,-10"/>
<text text-anchor="start" x="585.78" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Bootstrap</text> <text text-anchor="start" x="692.78" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Bootstrap</text>
<polygon fill="#fdb462" stroke="transparent" points="659,-10 659,-30 679,-30 679,-10 659,-10"/> <polygon fill="#fdb462" stroke="transparent" points="766,-10 766,-30 786,-30 786,-10 766,-10"/>
<text text-anchor="start" x="682.67" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Providers</text> <text text-anchor="start" x="789.67" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Providers</text>
<polygon fill="#fb8072" stroke="transparent" points="755,-10 755,-30 775,-30 775,-10 755,-10"/> <polygon fill="#fb8072" stroke="transparent" points="862,-10 862,-30 882,-30 882,-10 862,-10"/>
<text text-anchor="start" x="778.73" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Exports</text> <text text-anchor="start" x="885.73" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Exports</text>
<g id="clust1" class="cluster"> <g id="clust1" class="cluster">
<title>cluster_AppModule</title> <title>cluster_AppModule</title>
<polygon fill="none" stroke="black" stroke-dasharray="1,5" points="8,-70 8,-268 1186,-268 1186,-70 8,-70"/> <polygon fill="none" stroke="black" stroke-dasharray="1,5" points="8,-70 8,-268 1400,-268 1400,-70 8,-70"/>
</g> </g>
<g id="clust6" class="cluster"> <g id="clust6" class="cluster">
<title>cluster_AppModule_bootstrap</title> <title>cluster_AppModule_bootstrap</title>
<polygon fill="none" stroke="black" points="584,-208 584,-260 708,-260 708,-208 584,-208"/> <polygon fill="none" stroke="black" points="730,-208 730,-260 854,-260 854,-208 730,-208"/>
</g>
<g id="clust4" class="cluster">
<title>cluster_AppModule_imports</title>
<polygon fill="none" stroke="black" points="917,-78 917,-130 1178,-130 1178,-78 917,-78"/>
</g>
<g id="clust7" class="cluster">
<title>cluster_AppModule_providers</title>
<polygon fill="none" stroke="black" points="146,-78 146,-130 909,-130 909,-78 146,-78"/>
</g> </g>
<g id="clust2" class="cluster"> <g id="clust2" class="cluster">
<title>cluster_AppModule_declarations</title> <title>cluster_AppModule_declarations</title>
<polygon fill="none" stroke="black" points="16,-78 16,-130 138,-130 138,-78 16,-78"/> <polygon fill="none" stroke="black" points="1270,-78 1270,-130 1392,-130 1392,-78 1270,-78"/>
</g>
<g id="clust4" class="cluster">
<title>cluster_AppModule_imports</title>
<polygon fill="none" stroke="black" points="1001,-78 1001,-130 1262,-130 1262,-78 1001,-78"/>
</g>
<g id="clust7" class="cluster">
<title>cluster_AppModule_providers</title>
<polygon fill="none" stroke="black" points="16,-78 16,-130 993,-130 993,-78 16,-78"/>
</g> </g>
<!-- AppComponent --> <!-- AppComponent -->
<g id="node1" class="node"> <g id="node1" class="node">
<title>AppComponent</title> <title>AppComponent</title>
<polygon fill="#ffffb3" stroke="black" points="129.94,-122 24.06,-122 24.06,-86 129.94,-86 129.94,-122"/> <polygon fill="#ffffb3" stroke="black" points="1383.94,-122 1278.06,-122 1278.06,-86 1383.94,-86 1383.94,-122"/>
<text text-anchor="middle" x="77" y="-99.8" font-family="Times,serif" font-size="14.00">AppComponent</text> <text text-anchor="middle" x="1331" y="-99.8" font-family="Times,serif" font-size="14.00">AppComponent</text>
</g> </g>
<!-- AppModule --> <!-- AppModule -->
<g id="node2" class="node"> <g id="node2" class="node">
<title>AppModule</title> <title>AppModule</title>
<polygon fill="#8dd3c7" stroke="black" points="687.66,-187 684.66,-191 663.66,-191 660.66,-187 604.34,-187 604.34,-151 687.66,-151 687.66,-187"/> <polygon fill="#8dd3c7" stroke="black" points="833.66,-187 830.66,-191 809.66,-191 806.66,-187 750.34,-187 750.34,-151 833.66,-151 833.66,-187"/>
<text text-anchor="middle" x="646" y="-164.8" font-family="Times,serif" font-size="14.00">AppModule</text> <text text-anchor="middle" x="792" y="-164.8" font-family="Times,serif" font-size="14.00">AppModule</text>
</g> </g>
<!-- AppComponent&#45;&gt;AppModule --> <!-- AppComponent&#45;&gt;AppModule -->
<g id="edge1" class="edge"> <g id="edge1" class="edge">
<title>AppComponent&#45;&gt;AppModule</title> <title>AppComponent&#45;&gt;AppModule</title>
<path fill="none" stroke="black" d="M77,-122.29C77,-144.21 77,-178 77,-178 77,-178 594.16,-178 594.16,-178"/> <path fill="none" stroke="black" d="M1331,-122.29C1331,-144.21 1331,-178 1331,-178 1331,-178 843.85,-178 843.85,-178"/>
<polygon fill="black" stroke="black" points="594.16,-181.5 604.16,-178 594.16,-174.5 594.16,-181.5"/> <polygon fill="black" stroke="black" points="843.85,-174.5 833.85,-178 843.85,-181.5 843.85,-174.5"/>
</g> </g>
<!-- AppComponent --> <!-- AppComponent -->
<g id="node5" class="node"> <g id="node5" class="node">
<title>AppComponent </title> <title>AppComponent </title>
<polygon fill="#80b1d3" stroke="black" points="700.44,-252 591.56,-252 591.56,-216 700.44,-216 700.44,-252"/> <polygon fill="#80b1d3" stroke="black" points="846.44,-252 737.56,-252 737.56,-216 846.44,-216 846.44,-252"/>
<text text-anchor="middle" x="646" y="-229.8" font-family="Times,serif" font-size="14.00">AppComponent </text> <text text-anchor="middle" x="792" y="-229.8" font-family="Times,serif" font-size="14.00">AppComponent </text>
</g> </g>
<!-- AppModule&#45;&gt;AppComponent --> <!-- AppModule&#45;&gt;AppComponent -->
<g id="edge4" class="edge"> <g id="edge4" class="edge">
<title>AppModule&#45;&gt;AppComponent </title> <title>AppModule&#45;&gt;AppComponent </title>
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M646,-187.11C646,-187.11 646,-205.99 646,-205.99"/> <path fill="none" stroke="black" stroke-dasharray="1,5" d="M792,-187.11C792,-187.11 792,-205.99 792,-205.99"/>
<polygon fill="black" stroke="black" points="642.5,-205.99 646,-215.99 649.5,-205.99 642.5,-205.99"/> <polygon fill="black" stroke="black" points="788.5,-205.99 792,-215.99 795.5,-205.99 788.5,-205.99"/>
</g> </g>
<!-- AppRoutingModule --> <!-- AppRoutingModule -->
<g id="node3" class="node"> <g id="node3" class="node">
<title>AppRoutingModule</title> <title>AppRoutingModule</title>
<polygon fill="#8dd3c7" stroke="black" points="1170.27,-122 1167.27,-126 1146.27,-126 1143.27,-122 1041.73,-122 1041.73,-86 1170.27,-86 1170.27,-122"/> <polygon fill="#8dd3c7" stroke="black" points="1254.27,-122 1251.27,-126 1230.27,-126 1227.27,-122 1125.73,-122 1125.73,-86 1254.27,-86 1254.27,-122"/>
<text text-anchor="middle" x="1106" y="-99.8" font-family="Times,serif" font-size="14.00">AppRoutingModule</text> <text text-anchor="middle" x="1190" y="-99.8" font-family="Times,serif" font-size="14.00">AppRoutingModule</text>
</g> </g>
<!-- AppRoutingModule&#45;&gt;AppModule --> <!-- AppRoutingModule&#45;&gt;AppModule -->
<g id="edge2" class="edge"> <g id="edge2" class="edge">
<title>AppRoutingModule&#45;&gt;AppModule</title> <title>AppRoutingModule&#45;&gt;AppModule</title>
<path fill="none" stroke="black" d="M1106,-122.29C1106,-144.21 1106,-178 1106,-178 1106,-178 698.04,-178 698.04,-178"/> <path fill="none" stroke="black" d="M1190,-122.11C1190,-141.34 1190,-169 1190,-169 1190,-169 843.84,-169 843.84,-169"/>
<polygon fill="black" stroke="black" points="698.04,-174.5 688.04,-178 698.04,-181.5 698.04,-174.5"/> <polygon fill="black" stroke="black" points="843.84,-165.5 833.84,-169 843.84,-172.5 843.84,-165.5"/>
</g> </g>
<!-- SharedModule --> <!-- SharedModule -->
<g id="node4" class="node"> <g id="node4" class="node">
<title>SharedModule</title> <title>SharedModule</title>
<polygon fill="#8dd3c7" stroke="black" points="1023.42,-122 1020.42,-126 999.42,-126 996.42,-122 924.58,-122 924.58,-86 1023.42,-86 1023.42,-122"/> <polygon fill="#8dd3c7" stroke="black" points="1107.42,-122 1104.42,-126 1083.42,-126 1080.42,-122 1008.58,-122 1008.58,-86 1107.42,-86 1107.42,-122"/>
<text text-anchor="middle" x="974" y="-99.8" font-family="Times,serif" font-size="14.00">SharedModule</text> <text text-anchor="middle" x="1058" y="-99.8" font-family="Times,serif" font-size="14.00">SharedModule</text>
</g> </g>
<!-- SharedModule&#45;&gt;AppModule --> <!-- SharedModule&#45;&gt;AppModule -->
<g id="edge3" class="edge"> <g id="edge3" class="edge">
<title>SharedModule&#45;&gt;AppModule</title> <title>SharedModule&#45;&gt;AppModule</title>
<path fill="none" stroke="black" d="M974,-122.11C974,-141.34 974,-169 974,-169 974,-169 697.87,-169 697.87,-169"/> <path fill="none" stroke="black" d="M1058,-122.03C1058,-138.4 1058,-160 1058,-160 1058,-160 843.86,-160 843.86,-160"/>
<polygon fill="black" stroke="black" points="697.87,-165.5 687.87,-169 697.87,-172.5 697.87,-165.5"/> <polygon fill="black" stroke="black" points="843.86,-156.5 833.86,-160 843.86,-163.5 843.86,-156.5"/>
</g>
<!-- ConnectionInterceptor -->
<g id="node6" class="node">
<title>ConnectionInterceptor</title>
<ellipse fill="#fdb462" stroke="black" cx="887" cy="-104" rx="97.83" ry="18"/>
<text text-anchor="middle" x="887" y="-99.8" font-family="Times,serif" font-size="14.00">ConnectionInterceptor</text>
</g>
<!-- ConnectionInterceptor&#45;&gt;AppModule -->
<g id="edge5" class="edge">
<title>ConnectionInterceptor&#45;&gt;AppModule</title>
<path fill="none" stroke="black" d="M811.46,-115.62C811.46,-115.62 811.46,-140.85 811.46,-140.85"/>
<polygon fill="black" stroke="black" points="807.96,-140.85 811.46,-150.85 814.96,-140.85 807.96,-140.85"/>
</g> </g>
<!-- ErrorInterceptor --> <!-- ErrorInterceptor -->
<g id="node6" class="node"> <g id="node7" class="node">
<title>ErrorInterceptor</title> <title>ErrorInterceptor</title>
<ellipse fill="#fdb462" stroke="black" cx="827" cy="-104" rx="73.53" ry="18"/> <ellipse fill="#fdb462" stroke="black" cx="697" cy="-104" rx="73.53" ry="18"/>
<text text-anchor="middle" x="827" y="-99.8" font-family="Times,serif" font-size="14.00">ErrorInterceptor</text> <text text-anchor="middle" x="697" y="-99.8" font-family="Times,serif" font-size="14.00">ErrorInterceptor</text>
</g> </g>
<!-- ErrorInterceptor&#45;&gt;AppModule --> <!-- ErrorInterceptor&#45;&gt;AppModule -->
<g id="edge5" class="edge"> <g id="edge6" class="edge">
<title>ErrorInterceptor&#45;&gt;AppModule</title> <title>ErrorInterceptor&#45;&gt;AppModule</title>
<path fill="none" stroke="black" d="M827,-122.03C827,-138.4 827,-160 827,-160 827,-160 697.98,-160 697.98,-160"/> <path fill="none" stroke="black" d="M760.47,-113.31C760.47,-113.31 760.47,-140.85 760.47,-140.85"/>
<polygon fill="black" stroke="black" points="697.98,-156.5 687.98,-160 697.98,-163.5 697.98,-156.5"/> <polygon fill="black" stroke="black" points="756.97,-140.85 760.47,-150.85 763.97,-140.85 756.97,-140.85"/>
</g> </g>
<!-- GlobalErrorHandler --> <!-- GlobalErrorHandler -->
<g id="node7" class="node"> <g id="node8" class="node">
<title>GlobalErrorHandler</title> <title>GlobalErrorHandler</title>
<ellipse fill="#fdb462" stroke="black" cx="646" cy="-104" rx="88.58" ry="18"/> <ellipse fill="#fdb462" stroke="black" cx="516" cy="-104" rx="88.58" ry="18"/>
<text text-anchor="middle" x="646" y="-99.8" font-family="Times,serif" font-size="14.00">GlobalErrorHandler</text> <text text-anchor="middle" x="516" y="-99.8" font-family="Times,serif" font-size="14.00">GlobalErrorHandler</text>
</g> </g>
<!-- GlobalErrorHandler&#45;&gt;AppModule --> <!-- GlobalErrorHandler&#45;&gt;AppModule -->
<g id="edge6" class="edge"> <g id="edge7" class="edge">
<title>GlobalErrorHandler&#45;&gt;AppModule</title> <title>GlobalErrorHandler&#45;&gt;AppModule</title>
<path fill="none" stroke="black" d="M646,-122.11C646,-122.11 646,-140.99 646,-140.99"/> <path fill="none" stroke="black" d="M516,-122.03C516,-138.4 516,-160 516,-160 516,-160 740.08,-160 740.08,-160"/>
<polygon fill="black" stroke="black" points="642.5,-140.99 646,-150.99 649.5,-140.99 642.5,-140.99"/> <polygon fill="black" stroke="black" points="740.08,-163.5 750.08,-160 740.08,-156.5 740.08,-163.5"/>
</g> </g>
<!-- HttpConfigInterceptor --> <!-- HttpConfigInterceptor -->
<g id="node8" class="node"> <g id="node9" class="node">
<title>HttpConfigInterceptor</title> <title>HttpConfigInterceptor</title>
<ellipse fill="#fdb462" stroke="black" cx="442" cy="-104" rx="97.27" ry="18"/> <ellipse fill="#fdb462" stroke="black" cx="312" cy="-104" rx="97.27" ry="18"/>
<text text-anchor="middle" x="442" y="-99.8" font-family="Times,serif" font-size="14.00">HttpConfigInterceptor</text> <text text-anchor="middle" x="312" y="-99.8" font-family="Times,serif" font-size="14.00">HttpConfigInterceptor</text>
</g> </g>
<!-- HttpConfigInterceptor&#45;&gt;AppModule --> <!-- HttpConfigInterceptor&#45;&gt;AppModule -->
<g id="edge7" class="edge"> <g id="edge8" class="edge">
<title>HttpConfigInterceptor&#45;&gt;AppModule</title> <title>HttpConfigInterceptor&#45;&gt;AppModule</title>
<path fill="none" stroke="black" d="M442,-122.03C442,-138.4 442,-160 442,-160 442,-160 594.23,-160 594.23,-160"/> <path fill="none" stroke="black" d="M312,-122.11C312,-141.34 312,-169 312,-169 312,-169 740.24,-169 740.24,-169"/>
<polygon fill="black" stroke="black" points="594.23,-163.5 604.23,-160 594.23,-156.5 594.23,-163.5"/> <polygon fill="black" stroke="black" points="740.24,-172.5 750.24,-169 740.24,-165.5 740.24,-172.5"/>
</g> </g>
<!-- LoggingInterceptor --> <!-- LoggingInterceptor -->
<g id="node9" class="node"> <g id="node10" class="node">
<title>LoggingInterceptor</title> <title>LoggingInterceptor</title>
<ellipse fill="#fdb462" stroke="black" cx="240" cy="-104" rx="86.24" ry="18"/> <ellipse fill="#fdb462" stroke="black" cx="110" cy="-104" rx="86.24" ry="18"/>
<text text-anchor="middle" x="240" y="-99.8" font-family="Times,serif" font-size="14.00">LoggingInterceptor</text> <text text-anchor="middle" x="110" y="-99.8" font-family="Times,serif" font-size="14.00">LoggingInterceptor</text>
</g> </g>
<!-- LoggingInterceptor&#45;&gt;AppModule --> <!-- LoggingInterceptor&#45;&gt;AppModule -->
<g id="edge8" class="edge"> <g id="edge9" class="edge">
<title>LoggingInterceptor&#45;&gt;AppModule</title> <title>LoggingInterceptor&#45;&gt;AppModule</title>
<path fill="none" stroke="black" d="M240,-122.11C240,-141.34 240,-169 240,-169 240,-169 594.08,-169 594.08,-169"/> <path fill="none" stroke="black" d="M110,-122.29C110,-144.21 110,-178 110,-178 110,-178 740.11,-178 740.11,-178"/>
<polygon fill="black" stroke="black" points="594.08,-172.5 604.08,-169 594.08,-165.5 594.08,-172.5"/> <polygon fill="black" stroke="black" points="740.11,-181.5 750.11,-178 740.11,-174.5 740.11,-181.5"/>
</g> </g>
</g> </g>
</svg> </svg>
</div> </div>
<i id="fullscreen" class="icon ion-ios-resize module-graph-fullscreen-btn" aria-hidden="true"></i> <i id="fullscreen" class="icon ion-ios-resize module-graph-fullscreen-btn" aria-hidden="true"></i>
<div class="btn-group"> <div class="btn-group size-buttons">
<button id="zoom-in" class="btn btn-default btn-sm">Zoom in</button> <button id="zoom-in" class="btn btn-default btn-sm">Zoom in</button>
<button id="reset" class="btn btn-default btn-sm">Reset</button> <button id="reset" class="btn btn-default btn-sm">Reset</button>
<button id="zoom-out" class="btn btn-default btn-sm">Zoom out</button> <button id="zoom-out" class="btn btn-default btn-sm">Zoom out</button>
@ -219,6 +232,7 @@
<div class="container-fluid module"> <div class="container-fluid module">
<div class="row"> <div class="row">
<div class="col-sm-3"> <div class="col-sm-3">
@ -234,6 +248,9 @@
<h3>Providers<a href="https://angular.io/api/core/NgModule#providers" target="_blank" <h3>Providers<a href="https://angular.io/api/core/NgModule#providers" target="_blank"
title="Official documentation about module providers"><span class="icon ion-ios-information-circle-outline"></a></h3> title="Official documentation about module providers"><span class="icon ion-ios-information-circle-outline"></a></h3>
<ul class="list-group"> <ul class="list-group">
<li class="list-group-item">
<a href="../interceptors/ConnectionInterceptor.html">ConnectionInterceptor</a>
</li>
<li class="list-group-item"> <li class="list-group-item">
<a href="../interceptors/ErrorInterceptor.html">ErrorInterceptor</a> <a href="../interceptors/ErrorInterceptor.html">ErrorInterceptor</a>
</li> </li>
@ -290,7 +307,12 @@ import { MatTableModule } from &#x27;@angular/material/table&#x27;;
import { AuthGuard } from &#x27;@app/_guards&#x27;; import { AuthGuard } from &#x27;@app/_guards&#x27;;
import { LoggerModule } from &#x27;ngx-logger&#x27;; import { LoggerModule } from &#x27;ngx-logger&#x27;;
import { environment } from &#x27;@src/environments/environment&#x27;; import { environment } from &#x27;@src/environments/environment&#x27;;
import { ErrorInterceptor, HttpConfigInterceptor, LoggingInterceptor } from &#x27;@app/_interceptors&#x27;; import {
ConnectionInterceptor,
ErrorInterceptor,
HttpConfigInterceptor,
LoggingInterceptor,
} from &#x27;@app/_interceptors&#x27;;
import { MutablePgpKeyStore } from &#x27;@app/_pgp&#x27;; import { MutablePgpKeyStore } from &#x27;@app/_pgp&#x27;;
import { ServiceWorkerModule } from &#x27;@angular/service-worker&#x27;; import { ServiceWorkerModule } from &#x27;@angular/service-worker&#x27;;
@ -317,6 +339,7 @@ import { ServiceWorkerModule } from &#x27;@angular/service-worker&#x27;;
MockBackendProvider, MockBackendProvider,
GlobalErrorHandler, GlobalErrorHandler,
{ provide: ErrorHandler, useClass: GlobalErrorHandler }, { provide: ErrorHandler, useClass: GlobalErrorHandler },
{ provide: HTTP_INTERCEPTORS, useClass: ConnectionInterceptor, multi: true },
{ provide: HTTP_INTERCEPTORS, useClass: HttpConfigInterceptor, multi: true }, { provide: HTTP_INTERCEPTORS, useClass: HttpConfigInterceptor, multi: true },
{ provide: HTTP_INTERCEPTORS, useClass: ErrorInterceptor, multi: true }, { provide: HTTP_INTERCEPTORS, useClass: ErrorInterceptor, multi: true },
{ provide: HTTP_INTERCEPTORS, useClass: LoggingInterceptor, multi: true }, { provide: HTTP_INTERCEPTORS, useClass: LoggingInterceptor, multi: true },
@ -365,9 +388,9 @@ export class AppModule {}
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -4,143 +4,155 @@
<!-- Generated by graphviz version 2.47.0 (20210316.0004) <!-- Generated by graphviz version 2.47.0 (20210316.0004)
--> -->
<!-- Title: dependencies Pages: 1 --> <!-- Title: dependencies Pages: 1 -->
<svg width="1202pt" height="284pt" <svg width="1416pt" height="284pt"
viewBox="0.00 0.00 1202.00 284.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> viewBox="0.00 0.00 1416.00 284.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 280)"> <g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 280)">
<title>dependencies</title> <title>dependencies</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-280 1198,-280 1198,4 -4,4"/> <polygon fill="white" stroke="transparent" points="-4,4 -4,-280 1412,-280 1412,4 -4,4"/>
<text text-anchor="start" x="576.01" y="-42.4" font-family="sans-serif" font-weight="bold" font-size="14.00">Legend</text> <text text-anchor="start" x="683.01" y="-42.4" font-family="sans-serif" font-weight="bold" font-size="14.00">Legend</text>
<polygon fill="#ffffb3" stroke="transparent" points="363,-10 363,-30 383,-30 383,-10 363,-10"/> <polygon fill="#ffffb3" stroke="transparent" points="470,-10 470,-30 490,-30 490,-10 470,-10"/>
<text text-anchor="start" x="386.63" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Declarations</text> <text text-anchor="start" x="493.63" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Declarations</text>
<polygon fill="#8dd3c7" stroke="transparent" points="476,-10 476,-30 496,-30 496,-10 476,-10"/> <polygon fill="#8dd3c7" stroke="transparent" points="583,-10 583,-30 603,-30 603,-10 583,-10"/>
<text text-anchor="start" x="499.73" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Module</text> <text text-anchor="start" x="606.73" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Module</text>
<polygon fill="#80b1d3" stroke="transparent" points="562,-10 562,-30 582,-30 582,-10 562,-10"/> <polygon fill="#80b1d3" stroke="transparent" points="669,-10 669,-30 689,-30 689,-10 669,-10"/>
<text text-anchor="start" x="585.78" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Bootstrap</text> <text text-anchor="start" x="692.78" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Bootstrap</text>
<polygon fill="#fdb462" stroke="transparent" points="659,-10 659,-30 679,-30 679,-10 659,-10"/> <polygon fill="#fdb462" stroke="transparent" points="766,-10 766,-30 786,-30 786,-10 766,-10"/>
<text text-anchor="start" x="682.67" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Providers</text> <text text-anchor="start" x="789.67" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Providers</text>
<polygon fill="#fb8072" stroke="transparent" points="755,-10 755,-30 775,-30 775,-10 755,-10"/> <polygon fill="#fb8072" stroke="transparent" points="862,-10 862,-30 882,-30 882,-10 862,-10"/>
<text text-anchor="start" x="778.73" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Exports</text> <text text-anchor="start" x="885.73" y="-15.4" font-family="sans-serif" font-size="14.00"> &#160;Exports</text>
<g id="clust1" class="cluster"> <g id="clust1" class="cluster">
<title>cluster_AppModule</title> <title>cluster_AppModule</title>
<polygon fill="none" stroke="black" stroke-dasharray="1,5" points="8,-70 8,-268 1186,-268 1186,-70 8,-70"/> <polygon fill="none" stroke="black" stroke-dasharray="1,5" points="8,-70 8,-268 1400,-268 1400,-70 8,-70"/>
</g> </g>
<g id="clust6" class="cluster"> <g id="clust6" class="cluster">
<title>cluster_AppModule_bootstrap</title> <title>cluster_AppModule_bootstrap</title>
<polygon fill="none" stroke="black" points="584,-208 584,-260 708,-260 708,-208 584,-208"/> <polygon fill="none" stroke="black" points="730,-208 730,-260 854,-260 854,-208 730,-208"/>
</g>
<g id="clust4" class="cluster">
<title>cluster_AppModule_imports</title>
<polygon fill="none" stroke="black" points="917,-78 917,-130 1178,-130 1178,-78 917,-78"/>
</g>
<g id="clust7" class="cluster">
<title>cluster_AppModule_providers</title>
<polygon fill="none" stroke="black" points="146,-78 146,-130 909,-130 909,-78 146,-78"/>
</g> </g>
<g id="clust2" class="cluster"> <g id="clust2" class="cluster">
<title>cluster_AppModule_declarations</title> <title>cluster_AppModule_declarations</title>
<polygon fill="none" stroke="black" points="16,-78 16,-130 138,-130 138,-78 16,-78"/> <polygon fill="none" stroke="black" points="1270,-78 1270,-130 1392,-130 1392,-78 1270,-78"/>
</g>
<g id="clust4" class="cluster">
<title>cluster_AppModule_imports</title>
<polygon fill="none" stroke="black" points="1001,-78 1001,-130 1262,-130 1262,-78 1001,-78"/>
</g>
<g id="clust7" class="cluster">
<title>cluster_AppModule_providers</title>
<polygon fill="none" stroke="black" points="16,-78 16,-130 993,-130 993,-78 16,-78"/>
</g> </g>
<!-- AppComponent --> <!-- AppComponent -->
<g id="node1" class="node"> <g id="node1" class="node">
<title>AppComponent</title> <title>AppComponent</title>
<polygon fill="#ffffb3" stroke="black" points="129.94,-122 24.06,-122 24.06,-86 129.94,-86 129.94,-122"/> <polygon fill="#ffffb3" stroke="black" points="1383.94,-122 1278.06,-122 1278.06,-86 1383.94,-86 1383.94,-122"/>
<text text-anchor="middle" x="77" y="-99.8" font-family="Times,serif" font-size="14.00">AppComponent</text> <text text-anchor="middle" x="1331" y="-99.8" font-family="Times,serif" font-size="14.00">AppComponent</text>
</g> </g>
<!-- AppModule --> <!-- AppModule -->
<g id="node2" class="node"> <g id="node2" class="node">
<title>AppModule</title> <title>AppModule</title>
<polygon fill="#8dd3c7" stroke="black" points="687.66,-187 684.66,-191 663.66,-191 660.66,-187 604.34,-187 604.34,-151 687.66,-151 687.66,-187"/> <polygon fill="#8dd3c7" stroke="black" points="833.66,-187 830.66,-191 809.66,-191 806.66,-187 750.34,-187 750.34,-151 833.66,-151 833.66,-187"/>
<text text-anchor="middle" x="646" y="-164.8" font-family="Times,serif" font-size="14.00">AppModule</text> <text text-anchor="middle" x="792" y="-164.8" font-family="Times,serif" font-size="14.00">AppModule</text>
</g> </g>
<!-- AppComponent&#45;&gt;AppModule --> <!-- AppComponent&#45;&gt;AppModule -->
<g id="edge1" class="edge"> <g id="edge1" class="edge">
<title>AppComponent&#45;&gt;AppModule</title> <title>AppComponent&#45;&gt;AppModule</title>
<path fill="none" stroke="black" d="M77,-122.29C77,-144.21 77,-178 77,-178 77,-178 594.16,-178 594.16,-178"/> <path fill="none" stroke="black" d="M1331,-122.29C1331,-144.21 1331,-178 1331,-178 1331,-178 843.85,-178 843.85,-178"/>
<polygon fill="black" stroke="black" points="594.16,-181.5 604.16,-178 594.16,-174.5 594.16,-181.5"/> <polygon fill="black" stroke="black" points="843.85,-174.5 833.85,-178 843.85,-181.5 843.85,-174.5"/>
</g> </g>
<!-- AppComponent --> <!-- AppComponent -->
<g id="node5" class="node"> <g id="node5" class="node">
<title>AppComponent </title> <title>AppComponent </title>
<polygon fill="#80b1d3" stroke="black" points="700.44,-252 591.56,-252 591.56,-216 700.44,-216 700.44,-252"/> <polygon fill="#80b1d3" stroke="black" points="846.44,-252 737.56,-252 737.56,-216 846.44,-216 846.44,-252"/>
<text text-anchor="middle" x="646" y="-229.8" font-family="Times,serif" font-size="14.00">AppComponent </text> <text text-anchor="middle" x="792" y="-229.8" font-family="Times,serif" font-size="14.00">AppComponent </text>
</g> </g>
<!-- AppModule&#45;&gt;AppComponent --> <!-- AppModule&#45;&gt;AppComponent -->
<g id="edge4" class="edge"> <g id="edge4" class="edge">
<title>AppModule&#45;&gt;AppComponent </title> <title>AppModule&#45;&gt;AppComponent </title>
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M646,-187.11C646,-187.11 646,-205.99 646,-205.99"/> <path fill="none" stroke="black" stroke-dasharray="1,5" d="M792,-187.11C792,-187.11 792,-205.99 792,-205.99"/>
<polygon fill="black" stroke="black" points="642.5,-205.99 646,-215.99 649.5,-205.99 642.5,-205.99"/> <polygon fill="black" stroke="black" points="788.5,-205.99 792,-215.99 795.5,-205.99 788.5,-205.99"/>
</g> </g>
<!-- AppRoutingModule --> <!-- AppRoutingModule -->
<g id="node3" class="node"> <g id="node3" class="node">
<title>AppRoutingModule</title> <title>AppRoutingModule</title>
<polygon fill="#8dd3c7" stroke="black" points="1170.27,-122 1167.27,-126 1146.27,-126 1143.27,-122 1041.73,-122 1041.73,-86 1170.27,-86 1170.27,-122"/> <polygon fill="#8dd3c7" stroke="black" points="1254.27,-122 1251.27,-126 1230.27,-126 1227.27,-122 1125.73,-122 1125.73,-86 1254.27,-86 1254.27,-122"/>
<text text-anchor="middle" x="1106" y="-99.8" font-family="Times,serif" font-size="14.00">AppRoutingModule</text> <text text-anchor="middle" x="1190" y="-99.8" font-family="Times,serif" font-size="14.00">AppRoutingModule</text>
</g> </g>
<!-- AppRoutingModule&#45;&gt;AppModule --> <!-- AppRoutingModule&#45;&gt;AppModule -->
<g id="edge2" class="edge"> <g id="edge2" class="edge">
<title>AppRoutingModule&#45;&gt;AppModule</title> <title>AppRoutingModule&#45;&gt;AppModule</title>
<path fill="none" stroke="black" d="M1106,-122.29C1106,-144.21 1106,-178 1106,-178 1106,-178 698.04,-178 698.04,-178"/> <path fill="none" stroke="black" d="M1190,-122.11C1190,-141.34 1190,-169 1190,-169 1190,-169 843.84,-169 843.84,-169"/>
<polygon fill="black" stroke="black" points="698.04,-174.5 688.04,-178 698.04,-181.5 698.04,-174.5"/> <polygon fill="black" stroke="black" points="843.84,-165.5 833.84,-169 843.84,-172.5 843.84,-165.5"/>
</g> </g>
<!-- SharedModule --> <!-- SharedModule -->
<g id="node4" class="node"> <g id="node4" class="node">
<title>SharedModule</title> <title>SharedModule</title>
<polygon fill="#8dd3c7" stroke="black" points="1023.42,-122 1020.42,-126 999.42,-126 996.42,-122 924.58,-122 924.58,-86 1023.42,-86 1023.42,-122"/> <polygon fill="#8dd3c7" stroke="black" points="1107.42,-122 1104.42,-126 1083.42,-126 1080.42,-122 1008.58,-122 1008.58,-86 1107.42,-86 1107.42,-122"/>
<text text-anchor="middle" x="974" y="-99.8" font-family="Times,serif" font-size="14.00">SharedModule</text> <text text-anchor="middle" x="1058" y="-99.8" font-family="Times,serif" font-size="14.00">SharedModule</text>
</g> </g>
<!-- SharedModule&#45;&gt;AppModule --> <!-- SharedModule&#45;&gt;AppModule -->
<g id="edge3" class="edge"> <g id="edge3" class="edge">
<title>SharedModule&#45;&gt;AppModule</title> <title>SharedModule&#45;&gt;AppModule</title>
<path fill="none" stroke="black" d="M974,-122.11C974,-141.34 974,-169 974,-169 974,-169 697.87,-169 697.87,-169"/> <path fill="none" stroke="black" d="M1058,-122.03C1058,-138.4 1058,-160 1058,-160 1058,-160 843.86,-160 843.86,-160"/>
<polygon fill="black" stroke="black" points="697.87,-165.5 687.87,-169 697.87,-172.5 697.87,-165.5"/> <polygon fill="black" stroke="black" points="843.86,-156.5 833.86,-160 843.86,-163.5 843.86,-156.5"/>
</g>
<!-- ConnectionInterceptor -->
<g id="node6" class="node">
<title>ConnectionInterceptor</title>
<ellipse fill="#fdb462" stroke="black" cx="887" cy="-104" rx="97.83" ry="18"/>
<text text-anchor="middle" x="887" y="-99.8" font-family="Times,serif" font-size="14.00">ConnectionInterceptor</text>
</g>
<!-- ConnectionInterceptor&#45;&gt;AppModule -->
<g id="edge5" class="edge">
<title>ConnectionInterceptor&#45;&gt;AppModule</title>
<path fill="none" stroke="black" d="M811.46,-115.62C811.46,-115.62 811.46,-140.85 811.46,-140.85"/>
<polygon fill="black" stroke="black" points="807.96,-140.85 811.46,-150.85 814.96,-140.85 807.96,-140.85"/>
</g> </g>
<!-- ErrorInterceptor --> <!-- ErrorInterceptor -->
<g id="node6" class="node"> <g id="node7" class="node">
<title>ErrorInterceptor</title> <title>ErrorInterceptor</title>
<ellipse fill="#fdb462" stroke="black" cx="827" cy="-104" rx="73.53" ry="18"/> <ellipse fill="#fdb462" stroke="black" cx="697" cy="-104" rx="73.53" ry="18"/>
<text text-anchor="middle" x="827" y="-99.8" font-family="Times,serif" font-size="14.00">ErrorInterceptor</text> <text text-anchor="middle" x="697" y="-99.8" font-family="Times,serif" font-size="14.00">ErrorInterceptor</text>
</g> </g>
<!-- ErrorInterceptor&#45;&gt;AppModule --> <!-- ErrorInterceptor&#45;&gt;AppModule -->
<g id="edge5" class="edge"> <g id="edge6" class="edge">
<title>ErrorInterceptor&#45;&gt;AppModule</title> <title>ErrorInterceptor&#45;&gt;AppModule</title>
<path fill="none" stroke="black" d="M827,-122.03C827,-138.4 827,-160 827,-160 827,-160 697.98,-160 697.98,-160"/> <path fill="none" stroke="black" d="M760.47,-113.31C760.47,-113.31 760.47,-140.85 760.47,-140.85"/>
<polygon fill="black" stroke="black" points="697.98,-156.5 687.98,-160 697.98,-163.5 697.98,-156.5"/> <polygon fill="black" stroke="black" points="756.97,-140.85 760.47,-150.85 763.97,-140.85 756.97,-140.85"/>
</g> </g>
<!-- GlobalErrorHandler --> <!-- GlobalErrorHandler -->
<g id="node7" class="node"> <g id="node8" class="node">
<title>GlobalErrorHandler</title> <title>GlobalErrorHandler</title>
<ellipse fill="#fdb462" stroke="black" cx="646" cy="-104" rx="88.58" ry="18"/> <ellipse fill="#fdb462" stroke="black" cx="516" cy="-104" rx="88.58" ry="18"/>
<text text-anchor="middle" x="646" y="-99.8" font-family="Times,serif" font-size="14.00">GlobalErrorHandler</text> <text text-anchor="middle" x="516" y="-99.8" font-family="Times,serif" font-size="14.00">GlobalErrorHandler</text>
</g> </g>
<!-- GlobalErrorHandler&#45;&gt;AppModule --> <!-- GlobalErrorHandler&#45;&gt;AppModule -->
<g id="edge6" class="edge"> <g id="edge7" class="edge">
<title>GlobalErrorHandler&#45;&gt;AppModule</title> <title>GlobalErrorHandler&#45;&gt;AppModule</title>
<path fill="none" stroke="black" d="M646,-122.11C646,-122.11 646,-140.99 646,-140.99"/> <path fill="none" stroke="black" d="M516,-122.03C516,-138.4 516,-160 516,-160 516,-160 740.08,-160 740.08,-160"/>
<polygon fill="black" stroke="black" points="642.5,-140.99 646,-150.99 649.5,-140.99 642.5,-140.99"/> <polygon fill="black" stroke="black" points="740.08,-163.5 750.08,-160 740.08,-156.5 740.08,-163.5"/>
</g> </g>
<!-- HttpConfigInterceptor --> <!-- HttpConfigInterceptor -->
<g id="node8" class="node"> <g id="node9" class="node">
<title>HttpConfigInterceptor</title> <title>HttpConfigInterceptor</title>
<ellipse fill="#fdb462" stroke="black" cx="442" cy="-104" rx="97.27" ry="18"/> <ellipse fill="#fdb462" stroke="black" cx="312" cy="-104" rx="97.27" ry="18"/>
<text text-anchor="middle" x="442" y="-99.8" font-family="Times,serif" font-size="14.00">HttpConfigInterceptor</text> <text text-anchor="middle" x="312" y="-99.8" font-family="Times,serif" font-size="14.00">HttpConfigInterceptor</text>
</g> </g>
<!-- HttpConfigInterceptor&#45;&gt;AppModule --> <!-- HttpConfigInterceptor&#45;&gt;AppModule -->
<g id="edge7" class="edge"> <g id="edge8" class="edge">
<title>HttpConfigInterceptor&#45;&gt;AppModule</title> <title>HttpConfigInterceptor&#45;&gt;AppModule</title>
<path fill="none" stroke="black" d="M442,-122.03C442,-138.4 442,-160 442,-160 442,-160 594.23,-160 594.23,-160"/> <path fill="none" stroke="black" d="M312,-122.11C312,-141.34 312,-169 312,-169 312,-169 740.24,-169 740.24,-169"/>
<polygon fill="black" stroke="black" points="594.23,-163.5 604.23,-160 594.23,-156.5 594.23,-163.5"/> <polygon fill="black" stroke="black" points="740.24,-172.5 750.24,-169 740.24,-165.5 740.24,-172.5"/>
</g> </g>
<!-- LoggingInterceptor --> <!-- LoggingInterceptor -->
<g id="node9" class="node"> <g id="node10" class="node">
<title>LoggingInterceptor</title> <title>LoggingInterceptor</title>
<ellipse fill="#fdb462" stroke="black" cx="240" cy="-104" rx="86.24" ry="18"/> <ellipse fill="#fdb462" stroke="black" cx="110" cy="-104" rx="86.24" ry="18"/>
<text text-anchor="middle" x="240" y="-99.8" font-family="Times,serif" font-size="14.00">LoggingInterceptor</text> <text text-anchor="middle" x="110" y="-99.8" font-family="Times,serif" font-size="14.00">LoggingInterceptor</text>
</g> </g>
<!-- LoggingInterceptor&#45;&gt;AppModule --> <!-- LoggingInterceptor&#45;&gt;AppModule -->
<g id="edge8" class="edge"> <g id="edge9" class="edge">
<title>LoggingInterceptor&#45;&gt;AppModule</title> <title>LoggingInterceptor&#45;&gt;AppModule</title>
<path fill="none" stroke="black" d="M240,-122.11C240,-141.34 240,-169 240,-169 240,-169 594.08,-169 594.08,-169"/> <path fill="none" stroke="black" d="M110,-122.29C110,-144.21 110,-178 110,-178 110,-178 740.11,-178 740.11,-178"/>
<polygon fill="black" stroke="black" points="594.08,-172.5 604.08,-169 594.08,-165.5 594.08,-172.5"/> <polygon fill="black" stroke="black" points="740.11,-181.5 750.11,-178 740.11,-174.5 740.11,-181.5"/>
</g> </g>
</g> </g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 8.0 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -34,7 +35,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Modules</li> <li>Modules</li>
<li>AppRoutingModule</li> <li >AppRoutingModule</li>
</ol> </ol>
@ -60,6 +61,7 @@
<div class="container-fluid module"> <div class="container-fluid module">
<div class="row"> <div class="row">
</div> </div>
@ -135,9 +137,9 @@ export class AppRoutingModule {}
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -9,6 +9,7 @@
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css"> <link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)">
</head> </head>
<body> <body>
@ -34,7 +35,7 @@
<ol class="breadcrumb"> <ol class="breadcrumb">
<li>Modules</li> <li>Modules</li>
<li>AuthModule</li> <li >AuthModule</li>
</ol> </ol>
<div class="text-center module-graph-container"> <div class="text-center module-graph-container">
@ -65,74 +66,74 @@
<title>cluster_AuthModule</title> <title>cluster_AuthModule</title>
<polygon fill="none" stroke="black" stroke-dasharray="1,5" points="8,-70 8,-195 602,-195 602,-70 8,-70"/> <polygon fill="none" stroke="black" stroke-dasharray="1,5" points="8,-70 8,-195 602,-195 602,-70 8,-70"/>
</g> </g>
<g id="clust5" class="cluster">
<title>cluster_AuthModule_imports</title>
<polygon fill="none" stroke="black" points="329,-78 329,-130 594,-130 594,-78 329,-78"/>
</g>
<g id="clust2" class="cluster"> <g id="clust2" class="cluster">
<title>cluster_AuthModule_declarations</title> <title>cluster_AuthModule_declarations</title>
<polygon fill="none" stroke="black" points="16,-78 16,-130 321,-130 321,-78 16,-78"/> <polygon fill="none" stroke="black" points="289,-78 289,-130 594,-130 594,-78 289,-78"/>
</g>
<g id="clust5" class="cluster">
<title>cluster_AuthModule_imports</title>
<polygon fill="none" stroke="black" points="16,-78 16,-130 281,-130 281,-78 16,-78"/>
</g> </g>
<!-- AuthComponent --> <!-- AuthComponent -->
<g id="node1" class="node"> <g id="node1" class="node">
<title>AuthComponent</title> <title>AuthComponent</title>
<polygon fill="#ffffb3" stroke="black" points="312.83,-122 203.17,-122 203.17,-86 312.83,-86 312.83,-122"/> <polygon fill="#ffffb3" stroke="black" points="585.83,-122 476.17,-122 476.17,-86 585.83,-86 585.83,-122"/>
<text text-anchor="middle" x="258" y="-99.8" font-family="Times,serif" font-size="14.00">AuthComponent</text> <text text-anchor="middle" x="531" y="-99.8" font-family="Times,serif" font-size="14.00">AuthComponent</text>
</g> </g>
<!-- AuthModule --> <!-- AuthModule -->
<g id="node3" class="node"> <g id="node3" class="node">
<title>AuthModule</title> <title>AuthModule</title>
<polygon fill="#8dd3c7" stroke="black" points="365.55,-187 362.55,-191 341.55,-191 338.55,-187 278.45,-187 278.45,-151 365.55,-151 365.55,-187"/> <polygon fill="#8dd3c7" stroke="black" points="335.55,-187 332.55,-191 311.55,-191 308.55,-187 248.45,-187 248.45,-151 335.55,-151 335.55,-187"/>
<text text-anchor="middle" x="322" y="-164.8" font-family="Times,serif" font-size="14.00">AuthModule</text> <text text-anchor="middle" x="292" y="-164.8" font-family="Times,serif" font-size="14.00">AuthModule</text>
</g> </g>
<!-- AuthComponent&#45;&gt;AuthModule --> <!-- AuthComponent&#45;&gt;AuthModule -->
<g id="edge1" class="edge"> <g id="edge1" class="edge">
<title>AuthComponent&#45;&gt;AuthModule</title> <title>AuthComponent&#45;&gt;AuthModule</title>
<path fill="none" stroke="black" d="M295.45,-122.11C295.45,-122.11 295.45,-140.99 295.45,-140.99"/> <path fill="none" stroke="black" d="M531,-122.11C531,-141.34 531,-169 531,-169 531,-169 345.56,-169 345.56,-169"/>
<polygon fill="black" stroke="black" points="291.95,-140.99 295.45,-150.99 298.95,-140.99 291.95,-140.99"/> <polygon fill="black" stroke="black" points="345.56,-165.5 335.56,-169 345.56,-172.5 345.56,-165.5"/>
</g> </g>
<!-- PasswordToggleDirective --> <!-- PasswordToggleDirective -->
<g id="node2" class="node"> <g id="node2" class="node">
<title>PasswordToggleDirective</title> <title>PasswordToggleDirective</title>
<polygon fill="#ffffb3" stroke="black" points="185.89,-122 24.11,-122 24.11,-86 185.89,-86 185.89,-122"/> <polygon fill="#ffffb3" stroke="black" points="458.89,-122 297.11,-122 297.11,-86 458.89,-86 458.89,-122"/>
<text text-anchor="middle" x="105" y="-99.8" font-family="Times,serif" font-size="14.00">PasswordToggleDirective</text> <text text-anchor="middle" x="378" y="-99.8" font-family="Times,serif" font-size="14.00">PasswordToggleDirective</text>
</g> </g>
<!-- PasswordToggleDirective&#45;&gt;AuthModule --> <!-- PasswordToggleDirective&#45;&gt;AuthModule -->
<g id="edge2" class="edge"> <g id="edge2" class="edge">
<title>PasswordToggleDirective&#45;&gt;AuthModule</title> <title>PasswordToggleDirective&#45;&gt;AuthModule</title>
<path fill="none" stroke="black" d="M105,-122.11C105,-141.34 105,-169 105,-169 105,-169 268.35,-169 268.35,-169"/> <path fill="none" stroke="black" d="M316.54,-122.11C316.54,-122.11 316.54,-140.99 316.54,-140.99"/>
<polygon fill="black" stroke="black" points="268.35,-172.5 278.35,-169 268.35,-165.5 268.35,-172.5"/> <polygon fill="black" stroke="black" points="313.04,-140.99 316.54,-150.99 320.04,-140.99 313.04,-140.99"/>
</g> </g>
<!-- AuthRoutingModule --> <!-- AuthRoutingModule -->
<g id="node4" class="node"> <g id="node4" class="node">
<title>AuthRoutingModule</title> <title>AuthRoutingModule</title>
<polygon fill="#8dd3c7" stroke="black" points="586.17,-122 583.17,-126 562.17,-126 559.17,-122 453.83,-122 453.83,-86 586.17,-86 586.17,-122"/> <polygon fill="#8dd3c7" stroke="black" points="273.17,-122 270.17,-126 249.17,-126 246.17,-122 140.83,-122 140.83,-86 273.17,-86 273.17,-122"/>
<text text-anchor="middle" x="520" y="-99.8" font-family="Times,serif" font-size="14.00">AuthRoutingModule</text> <text text-anchor="middle" x="207" y="-99.8" font-family="Times,serif" font-size="14.00">AuthRoutingModule</text>
</g> </g>
<!-- AuthRoutingModule&#45;&gt;AuthModule --> <!-- AuthRoutingModule&#45;&gt;AuthModule -->
<g id="edge3" class="edge"> <g id="edge3" class="edge">
<title>AuthRoutingModule&#45;&gt;AuthModule</title> <title>AuthRoutingModule&#45;&gt;AuthModule</title>
<path fill="none" stroke="black" d="M520,-122.11C520,-141.34 520,-169 520,-169 520,-169 375.94,-169 375.94,-169"/> <path fill="none" stroke="black" d="M260.78,-122.11C260.78,-122.11 260.78,-140.99 260.78,-140.99"/>
<polygon fill="black" stroke="black" points="375.94,-165.5 365.94,-169 375.94,-172.5 375.94,-165.5"/> <polygon fill="black" stroke="black" points="257.28,-140.99 260.78,-150.99 264.28,-140.99 257.28,-140.99"/>
</g> </g>
<!-- SharedModule --> <!-- SharedModule -->
<g id="node5" class="node"> <g id="node5" class="node">
<title>SharedModule</title> <title>SharedModule</title>
<polygon fill="#8dd3c7" stroke="black" points="435.42,-122 432.42,-126 411.42,-126 408.42,-122 336.58,-122 336.58,-86 435.42,-86 435.42,-122"/> <polygon fill="#8dd3c7" stroke="black" points="122.42,-122 119.42,-126 98.42,-126 95.42,-122 23.58,-122 23.58,-86 122.42,-86 122.42,-122"/>
<text text-anchor="middle" x="386" y="-99.8" font-family="Times,serif" font-size="14.00">SharedModule</text> <text text-anchor="middle" x="73" y="-99.8" font-family="Times,serif" font-size="14.00">SharedModule</text>
</g> </g>
<!-- SharedModule&#45;&gt;AuthModule --> <!-- SharedModule&#45;&gt;AuthModule -->
<g id="edge4" class="edge"> <g id="edge4" class="edge">
<title>SharedModule&#45;&gt;AuthModule</title> <title>SharedModule&#45;&gt;AuthModule</title>
<path fill="none" stroke="black" d="M351.28,-122.11C351.28,-122.11 351.28,-140.99 351.28,-140.99"/> <path fill="none" stroke="black" d="M73,-122.11C73,-141.34 73,-169 73,-169 73,-169 238.21,-169 238.21,-169"/>
<polygon fill="black" stroke="black" points="347.78,-140.99 351.28,-150.99 354.78,-140.99 347.78,-140.99"/> <polygon fill="black" stroke="black" points="238.21,-172.5 248.21,-169 238.21,-165.5 238.21,-172.5"/>
</g> </g>
</g> </g>
</svg> </svg>
</div> </div>
<i id="fullscreen" class="icon ion-ios-resize module-graph-fullscreen-btn" aria-hidden="true"></i> <i id="fullscreen" class="icon ion-ios-resize module-graph-fullscreen-btn" aria-hidden="true"></i>
<div class="btn-group"> <div class="btn-group size-buttons">
<button id="zoom-in" class="btn btn-default btn-sm">Zoom in</button> <button id="zoom-in" class="btn btn-default btn-sm">Zoom in</button>
<button id="reset" class="btn btn-default btn-sm">Reset</button> <button id="reset" class="btn btn-default btn-sm">Reset</button>
<button id="zoom-out" class="btn btn-default btn-sm">Zoom out</button> <button id="zoom-out" class="btn btn-default btn-sm">Zoom out</button>
@ -163,6 +164,7 @@
<div class="container-fluid module"> <div class="container-fluid module">
<div class="row"> <div class="row">
<div class="col-sm-3"> <div class="col-sm-3">
@ -267,9 +269,9 @@ export class AuthModule {}
<script src="../js/libs/custom-elements.min.js"></script> <script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script> <script src="../js/libs/lit-html.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script> <script type="module" src="../js/menu-wc.js" defer></script>
<script src="../js/menu-wc.js" defer></script> <script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script> <script src="../js/libs/bootstrap-native.js"></script>

View File

@ -24,67 +24,67 @@
<title>cluster_AuthModule</title> <title>cluster_AuthModule</title>
<polygon fill="none" stroke="black" stroke-dasharray="1,5" points="8,-70 8,-195 602,-195 602,-70 8,-70"/> <polygon fill="none" stroke="black" stroke-dasharray="1,5" points="8,-70 8,-195 602,-195 602,-70 8,-70"/>
</g> </g>
<g id="clust5" class="cluster">
<title>cluster_AuthModule_imports</title>
<polygon fill="none" stroke="black" points="329,-78 329,-130 594,-130 594,-78 329,-78"/>
</g>
<g id="clust2" class="cluster"> <g id="clust2" class="cluster">
<title>cluster_AuthModule_declarations</title> <title>cluster_AuthModule_declarations</title>
<polygon fill="none" stroke="black" points="16,-78 16,-130 321,-130 321,-78 16,-78"/> <polygon fill="none" stroke="black" points="289,-78 289,-130 594,-130 594,-78 289,-78"/>
</g>
<g id="clust5" class="cluster">
<title>cluster_AuthModule_imports</title>
<polygon fill="none" stroke="black" points="16,-78 16,-130 281,-130 281,-78 16,-78"/>
</g> </g>
<!-- AuthComponent --> <!-- AuthComponent -->
<g id="node1" class="node"> <g id="node1" class="node">
<title>AuthComponent</title> <title>AuthComponent</title>
<polygon fill="#ffffb3" stroke="black" points="312.83,-122 203.17,-122 203.17,-86 312.83,-86 312.83,-122"/> <polygon fill="#ffffb3" stroke="black" points="585.83,-122 476.17,-122 476.17,-86 585.83,-86 585.83,-122"/>
<text text-anchor="middle" x="258" y="-99.8" font-family="Times,serif" font-size="14.00">AuthComponent</text> <text text-anchor="middle" x="531" y="-99.8" font-family="Times,serif" font-size="14.00">AuthComponent</text>
</g> </g>
<!-- AuthModule --> <!-- AuthModule -->
<g id="node3" class="node"> <g id="node3" class="node">
<title>AuthModule</title> <title>AuthModule</title>
<polygon fill="#8dd3c7" stroke="black" points="365.55,-187 362.55,-191 341.55,-191 338.55,-187 278.45,-187 278.45,-151 365.55,-151 365.55,-187"/> <polygon fill="#8dd3c7" stroke="black" points="335.55,-187 332.55,-191 311.55,-191 308.55,-187 248.45,-187 248.45,-151 335.55,-151 335.55,-187"/>
<text text-anchor="middle" x="322" y="-164.8" font-family="Times,serif" font-size="14.00">AuthModule</text> <text text-anchor="middle" x="292" y="-164.8" font-family="Times,serif" font-size="14.00">AuthModule</text>
</g> </g>
<!-- AuthComponent&#45;&gt;AuthModule --> <!-- AuthComponent&#45;&gt;AuthModule -->
<g id="edge1" class="edge"> <g id="edge1" class="edge">
<title>AuthComponent&#45;&gt;AuthModule</title> <title>AuthComponent&#45;&gt;AuthModule</title>
<path fill="none" stroke="black" d="M295.45,-122.11C295.45,-122.11 295.45,-140.99 295.45,-140.99"/> <path fill="none" stroke="black" d="M531,-122.11C531,-141.34 531,-169 531,-169 531,-169 345.56,-169 345.56,-169"/>
<polygon fill="black" stroke="black" points="291.95,-140.99 295.45,-150.99 298.95,-140.99 291.95,-140.99"/> <polygon fill="black" stroke="black" points="345.56,-165.5 335.56,-169 345.56,-172.5 345.56,-165.5"/>
</g> </g>
<!-- PasswordToggleDirective --> <!-- PasswordToggleDirective -->
<g id="node2" class="node"> <g id="node2" class="node">
<title>PasswordToggleDirective</title> <title>PasswordToggleDirective</title>
<polygon fill="#ffffb3" stroke="black" points="185.89,-122 24.11,-122 24.11,-86 185.89,-86 185.89,-122"/> <polygon fill="#ffffb3" stroke="black" points="458.89,-122 297.11,-122 297.11,-86 458.89,-86 458.89,-122"/>
<text text-anchor="middle" x="105" y="-99.8" font-family="Times,serif" font-size="14.00">PasswordToggleDirective</text> <text text-anchor="middle" x="378" y="-99.8" font-family="Times,serif" font-size="14.00">PasswordToggleDirective</text>
</g> </g>
<!-- PasswordToggleDirective&#45;&gt;AuthModule --> <!-- PasswordToggleDirective&#45;&gt;AuthModule -->
<g id="edge2" class="edge"> <g id="edge2" class="edge">
<title>PasswordToggleDirective&#45;&gt;AuthModule</title> <title>PasswordToggleDirective&#45;&gt;AuthModule</title>
<path fill="none" stroke="black" d="M105,-122.11C105,-141.34 105,-169 105,-169 105,-169 268.35,-169 268.35,-169"/> <path fill="none" stroke="black" d="M316.54,-122.11C316.54,-122.11 316.54,-140.99 316.54,-140.99"/>
<polygon fill="black" stroke="black" points="268.35,-172.5 278.35,-169 268.35,-165.5 268.35,-172.5"/> <polygon fill="black" stroke="black" points="313.04,-140.99 316.54,-150.99 320.04,-140.99 313.04,-140.99"/>
</g> </g>
<!-- AuthRoutingModule --> <!-- AuthRoutingModule -->
<g id="node4" class="node"> <g id="node4" class="node">
<title>AuthRoutingModule</title> <title>AuthRoutingModule</title>
<polygon fill="#8dd3c7" stroke="black" points="586.17,-122 583.17,-126 562.17,-126 559.17,-122 453.83,-122 453.83,-86 586.17,-86 586.17,-122"/> <polygon fill="#8dd3c7" stroke="black" points="273.17,-122 270.17,-126 249.17,-126 246.17,-122 140.83,-122 140.83,-86 273.17,-86 273.17,-122"/>
<text text-anchor="middle" x="520" y="-99.8" font-family="Times,serif" font-size="14.00">AuthRoutingModule</text> <text text-anchor="middle" x="207" y="-99.8" font-family="Times,serif" font-size="14.00">AuthRoutingModule</text>
</g> </g>
<!-- AuthRoutingModule&#45;&gt;AuthModule --> <!-- AuthRoutingModule&#45;&gt;AuthModule -->
<g id="edge3" class="edge"> <g id="edge3" class="edge">
<title>AuthRoutingModule&#45;&gt;AuthModule</title> <title>AuthRoutingModule&#45;&gt;AuthModule</title>
<path fill="none" stroke="black" d="M520,-122.11C520,-141.34 520,-169 520,-169 520,-169 375.94,-169 375.94,-169"/> <path fill="none" stroke="black" d="M260.78,-122.11C260.78,-122.11 260.78,-140.99 260.78,-140.99"/>
<polygon fill="black" stroke="black" points="375.94,-165.5 365.94,-169 375.94,-172.5 375.94,-165.5"/> <polygon fill="black" stroke="black" points="257.28,-140.99 260.78,-150.99 264.28,-140.99 257.28,-140.99"/>
</g> </g>
<!-- SharedModule --> <!-- SharedModule -->
<g id="node5" class="node"> <g id="node5" class="node">
<title>SharedModule</title> <title>SharedModule</title>
<polygon fill="#8dd3c7" stroke="black" points="435.42,-122 432.42,-126 411.42,-126 408.42,-122 336.58,-122 336.58,-86 435.42,-86 435.42,-122"/> <polygon fill="#8dd3c7" stroke="black" points="122.42,-122 119.42,-126 98.42,-126 95.42,-122 23.58,-122 23.58,-86 122.42,-86 122.42,-122"/>
<text text-anchor="middle" x="386" y="-99.8" font-family="Times,serif" font-size="14.00">SharedModule</text> <text text-anchor="middle" x="73" y="-99.8" font-family="Times,serif" font-size="14.00">SharedModule</text>
</g> </g>
<!-- SharedModule&#45;&gt;AuthModule --> <!-- SharedModule&#45;&gt;AuthModule -->
<g id="edge4" class="edge"> <g id="edge4" class="edge">
<title>SharedModule&#45;&gt;AuthModule</title> <title>SharedModule&#45;&gt;AuthModule</title>
<path fill="none" stroke="black" d="M351.28,-122.11C351.28,-122.11 351.28,-140.99 351.28,-140.99"/> <path fill="none" stroke="black" d="M73,-122.11C73,-141.34 73,-169 73,-169 73,-169 238.21,-169 238.21,-169"/>
<polygon fill="black" stroke="black" points="347.78,-140.99 351.28,-150.99 354.78,-140.99 347.78,-140.99"/> <polygon fill="black" stroke="black" points="238.21,-172.5 248.21,-169 238.21,-165.5 238.21,-172.5"/>
</g> </g>
</g> </g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

Some files were not shown because too many files have changed in this diff Show More