Add documentation to the guards module.
@ -136,28 +136,28 @@
|
||||
<span class="coverage-count">(1/1)</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="low">
|
||||
<tr class="very-good">
|
||||
<td>
|
||||
<!-- miscellaneous -->
|
||||
<a href="./guards/AuthGuard.html">src/app/_guards/auth.guard.ts</a>
|
||||
</td>
|
||||
<td>guard</td>
|
||||
<td>AuthGuard</td>
|
||||
<td align="right" data-sort="0">
|
||||
<span class="coverage-percent">0 %</span>
|
||||
<span class="coverage-count">(0/3)</span>
|
||||
<td align="right" data-sort="100">
|
||||
<span class="coverage-percent">100 %</span>
|
||||
<span class="coverage-count">(3/3)</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="low">
|
||||
<tr class="very-good">
|
||||
<td>
|
||||
<!-- miscellaneous -->
|
||||
<a href="./guards/RoleGuard.html">src/app/_guards/role.guard.ts</a>
|
||||
</td>
|
||||
<td>guard</td>
|
||||
<td>RoleGuard</td>
|
||||
<td align="right" data-sort="0">
|
||||
<span class="coverage-percent">0 %</span>
|
||||
<span class="coverage-count">(0/3)</span>
|
||||
<td align="right" data-sort="100">
|
||||
<span class="coverage-percent">100 %</span>
|
||||
<span class="coverage-count">(3/3)</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="low">
|
||||
|
@ -61,9 +61,22 @@
|
||||
<code>src/app/_guards/auth.guard.ts</code>
|
||||
</p>
|
||||
|
||||
<p class="comment">
|
||||
<h3>Description</h3>
|
||||
</p>
|
||||
<p class="comment">
|
||||
<p>Auth guard implementation.
|
||||
Dictates access to routes depending on the authentication status.</p>
|
||||
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
<p class="comment">
|
||||
<h3>Example</h3>
|
||||
</p>
|
||||
<div class="io-description">
|
||||
</div>
|
||||
|
||||
<section>
|
||||
<h3 id="index">Index</h3>
|
||||
@ -104,12 +117,14 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="col-md-4">
|
||||
<div class="io-line">Defined in <a href="" data-line="8" class="link-to-prism">src/app/_guards/auth.guard.ts:8</a></div>
|
||||
<div class="io-line">Defined in <a href="" data-line="17" class="link-to-prism">src/app/_guards/auth.guard.ts:17</a></div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="col-md-4">
|
||||
<div class="io-description"><p>Instantiates the auth guard class.</p>
|
||||
</div>
|
||||
<div>
|
||||
<b>Parameters :</b>
|
||||
<table class="params">
|
||||
@ -118,6 +133,7 @@
|
||||
<td>Name</td>
|
||||
<td>Type</td>
|
||||
<td>Optional</td>
|
||||
<td>Description</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -132,6 +148,12 @@
|
||||
No
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<code><ul>
|
||||
<li>A service that provides navigation among views and URL manipulation capabilities.</li>
|
||||
</ul>
|
||||
</code>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -169,14 +191,17 @@
|
||||
|
||||
<tr>
|
||||
<td class="col-md-4">
|
||||
<div class="io-line">Defined in <a href="" data-line="12"
|
||||
class="link-to-prism">src/app/_guards/auth.guard.ts:12</a></div>
|
||||
<div class="io-line">Defined in <a href="" data-line="35"
|
||||
class="link-to-prism">src/app/_guards/auth.guard.ts:35</a></div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td class="col-md-4">
|
||||
<div class="io-description"><p>Returns whether navigation to a specific route is acceptable.
|
||||
Checks if the user has uploaded a private key.</p>
|
||||
</div>
|
||||
|
||||
<div class="io-description">
|
||||
<b>Parameters :</b>
|
||||
@ -186,6 +211,7 @@
|
||||
<td>Name</td>
|
||||
<td>Type</td>
|
||||
<td>Optional</td>
|
||||
<td>Description</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -200,6 +226,13 @@
|
||||
</td>
|
||||
|
||||
|
||||
<td>
|
||||
<ul>
|
||||
<li>Contains the information about a route associated with a component loaded in an outlet at a particular moment in time.
|
||||
ActivatedRouteSnapshot can also be used to traverse the router state tree.</li>
|
||||
</ul>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>state</td>
|
||||
@ -212,6 +245,12 @@
|
||||
</td>
|
||||
|
||||
|
||||
<td>
|
||||
<ul>
|
||||
<li>Represents the state of the router at a moment in time.</li>
|
||||
</ul>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -223,7 +262,8 @@
|
||||
|
||||
</div>
|
||||
<div class="io-description">
|
||||
|
||||
<p>true - If there is an active private key in the user's localStorage.</p>
|
||||
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@ -235,16 +275,38 @@
|
||||
|
||||
<div class="tab-pane fade tab-source-code" id="c-source">
|
||||
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { Injectable } from '@angular/core';
|
||||
import {CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, UrlTree, Router} from '@angular/router';
|
||||
import {ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot, UrlTree} from '@angular/router';
|
||||
|
||||
// Third party imports
|
||||
import { Observable } from 'rxjs';
|
||||
|
||||
/**
|
||||
* Auth guard implementation.
|
||||
* Dictates access to routes depending on the authentication status.
|
||||
*
|
||||
* @implements CanActivate
|
||||
*/
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
})
|
||||
export class AuthGuard implements CanActivate {
|
||||
|
||||
/**
|
||||
* Instantiates the auth guard class.
|
||||
*
|
||||
* @param router - A service that provides navigation among views and URL manipulation capabilities.
|
||||
*/
|
||||
constructor(private router: Router) {}
|
||||
|
||||
/**
|
||||
* Returns whether navigation to a specific route is acceptable.
|
||||
* Checks if the user has uploaded a private key.
|
||||
*
|
||||
* @param route - Contains the information about a route associated with a component loaded in an outlet at a particular moment in time.
|
||||
* ActivatedRouteSnapshot can also be used to traverse the router state tree.
|
||||
* @param state - Represents the state of the router at a moment in time.
|
||||
* @returns true - If there is an active private key in the user's localStorage.
|
||||
*/
|
||||
canActivate(
|
||||
route: ActivatedRouteSnapshot,
|
||||
state: RouterStateSnapshot): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree {
|
||||
|
@ -61,9 +61,22 @@
|
||||
<code>src/app/_guards/role.guard.ts</code>
|
||||
</p>
|
||||
|
||||
<p class="comment">
|
||||
<h3>Description</h3>
|
||||
</p>
|
||||
<p class="comment">
|
||||
<p>Role guard implementation.
|
||||
Dictates access to routes depending on the user's role.</p>
|
||||
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
<p class="comment">
|
||||
<h3>Example</h3>
|
||||
</p>
|
||||
<div class="io-description">
|
||||
</div>
|
||||
|
||||
<section>
|
||||
<h3 id="index">Index</h3>
|
||||
@ -104,12 +117,14 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="col-md-4">
|
||||
<div class="io-line">Defined in <a href="" data-line="8" class="link-to-prism">src/app/_guards/role.guard.ts:8</a></div>
|
||||
<div class="io-line">Defined in <a href="" data-line="17" class="link-to-prism">src/app/_guards/role.guard.ts:17</a></div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="col-md-4">
|
||||
<div class="io-description"><p>Instantiates the role guard class.</p>
|
||||
</div>
|
||||
<div>
|
||||
<b>Parameters :</b>
|
||||
<table class="params">
|
||||
@ -118,6 +133,7 @@
|
||||
<td>Name</td>
|
||||
<td>Type</td>
|
||||
<td>Optional</td>
|
||||
<td>Description</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -132,6 +148,12 @@
|
||||
No
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<code><ul>
|
||||
<li>A service that provides navigation among views and URL manipulation capabilities.</li>
|
||||
</ul>
|
||||
</code>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -169,14 +191,17 @@
|
||||
|
||||
<tr>
|
||||
<td class="col-md-4">
|
||||
<div class="io-line">Defined in <a href="" data-line="12"
|
||||
class="link-to-prism">src/app/_guards/role.guard.ts:12</a></div>
|
||||
<div class="io-line">Defined in <a href="" data-line="35"
|
||||
class="link-to-prism">src/app/_guards/role.guard.ts:35</a></div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td class="col-md-4">
|
||||
<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>
|
||||
</div>
|
||||
|
||||
<div class="io-description">
|
||||
<b>Parameters :</b>
|
||||
@ -186,6 +211,7 @@
|
||||
<td>Name</td>
|
||||
<td>Type</td>
|
||||
<td>Optional</td>
|
||||
<td>Description</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -200,6 +226,13 @@
|
||||
</td>
|
||||
|
||||
|
||||
<td>
|
||||
<ul>
|
||||
<li>Contains the information about a route associated with a component loaded in an outlet at a particular moment in time.
|
||||
ActivatedRouteSnapshot can also be used to traverse the router state tree.</li>
|
||||
</ul>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>state</td>
|
||||
@ -212,6 +245,12 @@
|
||||
</td>
|
||||
|
||||
|
||||
<td>
|
||||
<ul>
|
||||
<li>Represents the state of the router at a moment in time.</li>
|
||||
</ul>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -223,7 +262,8 @@
|
||||
|
||||
</div>
|
||||
<div class="io-description">
|
||||
|
||||
<p>true - If the user's role matches with accepted roles.</p>
|
||||
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@ -235,16 +275,38 @@
|
||||
|
||||
<div class="tab-pane fade tab-source-code" id="c-source">
|
||||
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { Injectable } from '@angular/core';
|
||||
import {CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, UrlTree, Router} from '@angular/router';
|
||||
import {ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot, UrlTree} from '@angular/router';
|
||||
|
||||
// Third party imports
|
||||
import { Observable } from 'rxjs';
|
||||
|
||||
/**
|
||||
* Role guard implementation.
|
||||
* Dictates access to routes depending on the user's role.
|
||||
*
|
||||
* @implements CanActivate
|
||||
*/
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
})
|
||||
export class RoleGuard implements CanActivate {
|
||||
|
||||
/**
|
||||
* Instantiates the role guard class.
|
||||
*
|
||||
* @param router - A service that provides navigation among views and URL manipulation capabilities.
|
||||
*/
|
||||
constructor(private router: Router) {}
|
||||
|
||||
/**
|
||||
* Returns whether navigation to a specific route is acceptable.
|
||||
* Checks if the user has the required role to access the route.
|
||||
*
|
||||
* @param route - Contains the information about a route associated with a component loaded in an outlet at a particular moment in time.
|
||||
* ActivatedRouteSnapshot can also be used to traverse the router state tree.
|
||||
* @param state - Represents the state of the router at a moment in time.
|
||||
* @returns true - If the user's role matches with accepted roles.
|
||||
*/
|
||||
canActivate(
|
||||
route: ActivatedRouteSnapshot,
|
||||
state: RouterStateSnapshot): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree {
|
||||
|
@ -4,6 +4,6 @@
|
||||
<rect id="svg_2" height="20" width="40" y="0" x="92" stroke-width="1.5" stroke="#d8604b" fill="#d8604b" rx="7" ry="7"/>
|
||||
<rect id="svg_3" height="20" width="22" y="0" x="92" stroke-width="1.5" stroke="#d8604b" fill="#d8604b"/>
|
||||
<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">6%</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">8%</text>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 893 B After Width: | Height: | Size: 893 B |
@ -65,123 +65,123 @@
|
||||
<title>cluster_AppModule</title>
|
||||
<polygon fill="none" stroke="black" stroke-dasharray="1,5" points="8,-70 8,-268 1186,-268 1186,-70 8,-70"/>
|
||||
</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="415,-78 415,-130 1178,-130 1178,-78 415,-78"/>
|
||||
</g>
|
||||
<g id="clust6" class="cluster">
|
||||
<title>cluster_AppModule_bootstrap</title>
|
||||
<polygon fill="none" stroke="black" points="447,-208 447,-260 571,-260 571,-208 447,-208"/>
|
||||
<polygon fill="none" stroke="black" points="146,-78 146,-130 909,-130 909,-78 146,-78"/>
|
||||
</g>
|
||||
<g id="clust2" class="cluster">
|
||||
<title>cluster_AppModule_declarations</title>
|
||||
<polygon fill="none" stroke="black" points="285,-78 285,-130 407,-130 407,-78 285,-78"/>
|
||||
<polygon fill="none" stroke="black" points="16,-78 16,-130 138,-130 138,-78 16,-78"/>
|
||||
</g>
|
||||
<g id="clust4" class="cluster">
|
||||
<title>cluster_AppModule_imports</title>
|
||||
<polygon fill="none" stroke="black" points="16,-78 16,-130 277,-130 277,-78 16,-78"/>
|
||||
<g id="clust6" class="cluster">
|
||||
<title>cluster_AppModule_bootstrap</title>
|
||||
<polygon fill="none" stroke="black" points="584,-208 584,-260 708,-260 708,-208 584,-208"/>
|
||||
</g>
|
||||
<!-- AppComponent -->
|
||||
<g id="node1" class="node">
|
||||
<title>AppComponent</title>
|
||||
<polygon fill="#ffffb3" stroke="black" points="398.94,-122 293.06,-122 293.06,-86 398.94,-86 398.94,-122"/>
|
||||
<text text-anchor="middle" x="346" y="-99.8" font-family="Times,serif" font-size="14.00">AppComponent</text>
|
||||
<polygon fill="#ffffb3" stroke="black" points="129.94,-122 24.06,-122 24.06,-86 129.94,-86 129.94,-122"/>
|
||||
<text text-anchor="middle" x="77" y="-99.8" font-family="Times,serif" font-size="14.00">AppComponent</text>
|
||||
</g>
|
||||
<!-- AppModule -->
|
||||
<g id="node2" class="node">
|
||||
<title>AppModule</title>
|
||||
<polygon fill="#8dd3c7" stroke="black" points="550.66,-187 547.66,-191 526.66,-191 523.66,-187 467.34,-187 467.34,-151 550.66,-151 550.66,-187"/>
|
||||
<text text-anchor="middle" x="509" y="-164.8" font-family="Times,serif" font-size="14.00">AppModule</text>
|
||||
<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"/>
|
||||
<text text-anchor="middle" x="646" y="-164.8" font-family="Times,serif" font-size="14.00">AppModule</text>
|
||||
</g>
|
||||
<!-- AppComponent->AppModule -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>AppComponent->AppModule</title>
|
||||
<path fill="none" stroke="black" d="M346,-122.03C346,-138.4 346,-160 346,-160 346,-160 457.02,-160 457.02,-160"/>
|
||||
<polygon fill="black" stroke="black" points="457.02,-163.5 467.02,-160 457.02,-156.5 457.02,-163.5"/>
|
||||
<path fill="none" stroke="black" d="M77,-122.29C77,-144.21 77,-178 77,-178 77,-178 594.16,-178 594.16,-178"/>
|
||||
<polygon fill="black" stroke="black" points="594.16,-181.5 604.16,-178 594.16,-174.5 594.16,-181.5"/>
|
||||
</g>
|
||||
<!-- AppComponent -->
|
||||
<g id="node5" class="node">
|
||||
<title>AppComponent </title>
|
||||
<polygon fill="#80b1d3" stroke="black" points="563.44,-252 454.56,-252 454.56,-216 563.44,-216 563.44,-252"/>
|
||||
<text text-anchor="middle" x="509" y="-229.8" font-family="Times,serif" font-size="14.00">AppComponent </text>
|
||||
<polygon fill="#80b1d3" stroke="black" points="700.44,-252 591.56,-252 591.56,-216 700.44,-216 700.44,-252"/>
|
||||
<text text-anchor="middle" x="646" y="-229.8" font-family="Times,serif" font-size="14.00">AppComponent </text>
|
||||
</g>
|
||||
<!-- AppModule->AppComponent -->
|
||||
<g id="edge4" class="edge">
|
||||
<title>AppModule->AppComponent </title>
|
||||
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M509,-187.11C509,-187.11 509,-205.99 509,-205.99"/>
|
||||
<polygon fill="black" stroke="black" points="505.5,-205.99 509,-215.99 512.5,-205.99 505.5,-205.99"/>
|
||||
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M646,-187.11C646,-187.11 646,-205.99 646,-205.99"/>
|
||||
<polygon fill="black" stroke="black" points="642.5,-205.99 646,-215.99 649.5,-205.99 642.5,-205.99"/>
|
||||
</g>
|
||||
<!-- AppRoutingModule -->
|
||||
<g id="node3" class="node">
|
||||
<title>AppRoutingModule</title>
|
||||
<polygon fill="#8dd3c7" stroke="black" points="269.27,-122 266.27,-126 245.27,-126 242.27,-122 140.73,-122 140.73,-86 269.27,-86 269.27,-122"/>
|
||||
<text text-anchor="middle" x="205" y="-99.8" font-family="Times,serif" font-size="14.00">AppRoutingModule</text>
|
||||
<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"/>
|
||||
<text text-anchor="middle" x="1106" y="-99.8" font-family="Times,serif" font-size="14.00">AppRoutingModule</text>
|
||||
</g>
|
||||
<!-- AppRoutingModule->AppModule -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>AppRoutingModule->AppModule</title>
|
||||
<path fill="none" stroke="black" d="M205,-122.11C205,-141.34 205,-169 205,-169 205,-169 457.05,-169 457.05,-169"/>
|
||||
<polygon fill="black" stroke="black" points="457.05,-172.5 467.05,-169 457.05,-165.5 457.05,-172.5"/>
|
||||
<path fill="none" stroke="black" d="M1106,-122.29C1106,-144.21 1106,-178 1106,-178 1106,-178 698.04,-178 698.04,-178"/>
|
||||
<polygon fill="black" stroke="black" points="698.04,-174.5 688.04,-178 698.04,-181.5 698.04,-174.5"/>
|
||||
</g>
|
||||
<!-- SharedModule -->
|
||||
<g id="node4" class="node">
|
||||
<title>SharedModule</title>
|
||||
<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="73" y="-99.8" font-family="Times,serif" font-size="14.00">SharedModule</text>
|
||||
<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"/>
|
||||
<text text-anchor="middle" x="974" y="-99.8" font-family="Times,serif" font-size="14.00">SharedModule</text>
|
||||
</g>
|
||||
<!-- SharedModule->AppModule -->
|
||||
<g id="edge3" class="edge">
|
||||
<title>SharedModule->AppModule</title>
|
||||
<path fill="none" stroke="black" d="M73,-122.29C73,-144.21 73,-178 73,-178 73,-178 457.19,-178 457.19,-178"/>
|
||||
<polygon fill="black" stroke="black" points="457.19,-181.5 467.19,-178 457.19,-174.5 457.19,-181.5"/>
|
||||
<path fill="none" stroke="black" d="M974,-122.11C974,-141.34 974,-169 974,-169 974,-169 697.87,-169 697.87,-169"/>
|
||||
<polygon fill="black" stroke="black" points="697.87,-165.5 687.87,-169 697.87,-172.5 697.87,-165.5"/>
|
||||
</g>
|
||||
<!-- ErrorInterceptor -->
|
||||
<g id="node6" class="node">
|
||||
<title>ErrorInterceptor</title>
|
||||
<ellipse fill="#fdb462" stroke="black" cx="1096" cy="-104" rx="73.53" ry="18"/>
|
||||
<text text-anchor="middle" x="1096" y="-99.8" font-family="Times,serif" font-size="14.00">ErrorInterceptor</text>
|
||||
<ellipse fill="#fdb462" stroke="black" cx="827" 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>
|
||||
</g>
|
||||
<!-- ErrorInterceptor->AppModule -->
|
||||
<g id="edge5" class="edge">
|
||||
<title>ErrorInterceptor->AppModule</title>
|
||||
<path fill="none" stroke="black" d="M1096,-122.29C1096,-144.21 1096,-178 1096,-178 1096,-178 560.75,-178 560.75,-178"/>
|
||||
<polygon fill="black" stroke="black" points="560.75,-174.5 550.75,-178 560.74,-181.5 560.75,-174.5"/>
|
||||
<path fill="none" stroke="black" d="M827,-122.03C827,-138.4 827,-160 827,-160 827,-160 697.98,-160 697.98,-160"/>
|
||||
<polygon fill="black" stroke="black" points="697.98,-156.5 687.98,-160 697.98,-163.5 697.98,-156.5"/>
|
||||
</g>
|
||||
<!-- GlobalErrorHandler -->
|
||||
<g id="node7" class="node">
|
||||
<title>GlobalErrorHandler</title>
|
||||
<ellipse fill="#fdb462" stroke="black" cx="915" cy="-104" rx="88.58" ry="18"/>
|
||||
<text text-anchor="middle" x="915" y="-99.8" font-family="Times,serif" font-size="14.00">GlobalErrorHandler</text>
|
||||
<ellipse fill="#fdb462" stroke="black" cx="646" 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>
|
||||
</g>
|
||||
<!-- GlobalErrorHandler->AppModule -->
|
||||
<g id="edge6" class="edge">
|
||||
<title>GlobalErrorHandler->AppModule</title>
|
||||
<path fill="none" stroke="black" d="M915,-122.11C915,-141.34 915,-169 915,-169 915,-169 560.92,-169 560.92,-169"/>
|
||||
<polygon fill="black" stroke="black" points="560.92,-165.5 550.92,-169 560.92,-172.5 560.92,-165.5"/>
|
||||
<path fill="none" stroke="black" d="M646,-122.11C646,-122.11 646,-140.99 646,-140.99"/>
|
||||
<polygon fill="black" stroke="black" points="642.5,-140.99 646,-150.99 649.5,-140.99 642.5,-140.99"/>
|
||||
</g>
|
||||
<!-- HttpConfigInterceptor -->
|
||||
<g id="node8" class="node">
|
||||
<title>HttpConfigInterceptor</title>
|
||||
<ellipse fill="#fdb462" stroke="black" cx="711" cy="-104" rx="97.27" ry="18"/>
|
||||
<text text-anchor="middle" x="711" y="-99.8" font-family="Times,serif" font-size="14.00">HttpConfigInterceptor</text>
|
||||
<ellipse fill="#fdb462" stroke="black" cx="442" 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>
|
||||
</g>
|
||||
<!-- HttpConfigInterceptor->AppModule -->
|
||||
<g id="edge7" class="edge">
|
||||
<title>HttpConfigInterceptor->AppModule</title>
|
||||
<path fill="none" stroke="black" d="M711,-122.03C711,-138.4 711,-160 711,-160 711,-160 560.85,-160 560.85,-160"/>
|
||||
<polygon fill="black" stroke="black" points="560.85,-156.5 550.85,-160 560.85,-163.5 560.85,-156.5"/>
|
||||
<path fill="none" stroke="black" d="M442,-122.03C442,-138.4 442,-160 442,-160 442,-160 594.23,-160 594.23,-160"/>
|
||||
<polygon fill="black" stroke="black" points="594.23,-163.5 604.23,-160 594.23,-156.5 594.23,-163.5"/>
|
||||
</g>
|
||||
<!-- LoggingInterceptor -->
|
||||
<g id="node9" class="node">
|
||||
<title>LoggingInterceptor</title>
|
||||
<ellipse fill="#fdb462" stroke="black" cx="509" cy="-104" rx="86.24" ry="18"/>
|
||||
<text text-anchor="middle" x="509" y="-99.8" font-family="Times,serif" font-size="14.00">LoggingInterceptor</text>
|
||||
<ellipse fill="#fdb462" stroke="black" cx="240" 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>
|
||||
</g>
|
||||
<!-- LoggingInterceptor->AppModule -->
|
||||
<g id="edge8" class="edge">
|
||||
<title>LoggingInterceptor->AppModule</title>
|
||||
<path fill="none" stroke="black" d="M509,-122.11C509,-122.11 509,-140.99 509,-140.99"/>
|
||||
<polygon fill="black" stroke="black" points="505.5,-140.99 509,-150.99 512.5,-140.99 505.5,-140.99"/>
|
||||
<path fill="none" stroke="black" d="M240,-122.11C240,-141.34 240,-169 240,-169 240,-169 594.08,-169 594.08,-169"/>
|
||||
<polygon fill="black" stroke="black" points="594.08,-172.5 604.08,-169 594.08,-165.5 594.08,-172.5"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
@ -24,123 +24,123 @@
|
||||
<title>cluster_AppModule</title>
|
||||
<polygon fill="none" stroke="black" stroke-dasharray="1,5" points="8,-70 8,-268 1186,-268 1186,-70 8,-70"/>
|
||||
</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="415,-78 415,-130 1178,-130 1178,-78 415,-78"/>
|
||||
</g>
|
||||
<g id="clust6" class="cluster">
|
||||
<title>cluster_AppModule_bootstrap</title>
|
||||
<polygon fill="none" stroke="black" points="447,-208 447,-260 571,-260 571,-208 447,-208"/>
|
||||
<polygon fill="none" stroke="black" points="146,-78 146,-130 909,-130 909,-78 146,-78"/>
|
||||
</g>
|
||||
<g id="clust2" class="cluster">
|
||||
<title>cluster_AppModule_declarations</title>
|
||||
<polygon fill="none" stroke="black" points="285,-78 285,-130 407,-130 407,-78 285,-78"/>
|
||||
<polygon fill="none" stroke="black" points="16,-78 16,-130 138,-130 138,-78 16,-78"/>
|
||||
</g>
|
||||
<g id="clust4" class="cluster">
|
||||
<title>cluster_AppModule_imports</title>
|
||||
<polygon fill="none" stroke="black" points="16,-78 16,-130 277,-130 277,-78 16,-78"/>
|
||||
<g id="clust6" class="cluster">
|
||||
<title>cluster_AppModule_bootstrap</title>
|
||||
<polygon fill="none" stroke="black" points="584,-208 584,-260 708,-260 708,-208 584,-208"/>
|
||||
</g>
|
||||
<!-- AppComponent -->
|
||||
<g id="node1" class="node">
|
||||
<title>AppComponent</title>
|
||||
<polygon fill="#ffffb3" stroke="black" points="398.94,-122 293.06,-122 293.06,-86 398.94,-86 398.94,-122"/>
|
||||
<text text-anchor="middle" x="346" y="-99.8" font-family="Times,serif" font-size="14.00">AppComponent</text>
|
||||
<polygon fill="#ffffb3" stroke="black" points="129.94,-122 24.06,-122 24.06,-86 129.94,-86 129.94,-122"/>
|
||||
<text text-anchor="middle" x="77" y="-99.8" font-family="Times,serif" font-size="14.00">AppComponent</text>
|
||||
</g>
|
||||
<!-- AppModule -->
|
||||
<g id="node2" class="node">
|
||||
<title>AppModule</title>
|
||||
<polygon fill="#8dd3c7" stroke="black" points="550.66,-187 547.66,-191 526.66,-191 523.66,-187 467.34,-187 467.34,-151 550.66,-151 550.66,-187"/>
|
||||
<text text-anchor="middle" x="509" y="-164.8" font-family="Times,serif" font-size="14.00">AppModule</text>
|
||||
<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"/>
|
||||
<text text-anchor="middle" x="646" y="-164.8" font-family="Times,serif" font-size="14.00">AppModule</text>
|
||||
</g>
|
||||
<!-- AppComponent->AppModule -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>AppComponent->AppModule</title>
|
||||
<path fill="none" stroke="black" d="M346,-122.03C346,-138.4 346,-160 346,-160 346,-160 457.02,-160 457.02,-160"/>
|
||||
<polygon fill="black" stroke="black" points="457.02,-163.5 467.02,-160 457.02,-156.5 457.02,-163.5"/>
|
||||
<path fill="none" stroke="black" d="M77,-122.29C77,-144.21 77,-178 77,-178 77,-178 594.16,-178 594.16,-178"/>
|
||||
<polygon fill="black" stroke="black" points="594.16,-181.5 604.16,-178 594.16,-174.5 594.16,-181.5"/>
|
||||
</g>
|
||||
<!-- AppComponent -->
|
||||
<g id="node5" class="node">
|
||||
<title>AppComponent </title>
|
||||
<polygon fill="#80b1d3" stroke="black" points="563.44,-252 454.56,-252 454.56,-216 563.44,-216 563.44,-252"/>
|
||||
<text text-anchor="middle" x="509" y="-229.8" font-family="Times,serif" font-size="14.00">AppComponent </text>
|
||||
<polygon fill="#80b1d3" stroke="black" points="700.44,-252 591.56,-252 591.56,-216 700.44,-216 700.44,-252"/>
|
||||
<text text-anchor="middle" x="646" y="-229.8" font-family="Times,serif" font-size="14.00">AppComponent </text>
|
||||
</g>
|
||||
<!-- AppModule->AppComponent -->
|
||||
<g id="edge4" class="edge">
|
||||
<title>AppModule->AppComponent </title>
|
||||
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M509,-187.11C509,-187.11 509,-205.99 509,-205.99"/>
|
||||
<polygon fill="black" stroke="black" points="505.5,-205.99 509,-215.99 512.5,-205.99 505.5,-205.99"/>
|
||||
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M646,-187.11C646,-187.11 646,-205.99 646,-205.99"/>
|
||||
<polygon fill="black" stroke="black" points="642.5,-205.99 646,-215.99 649.5,-205.99 642.5,-205.99"/>
|
||||
</g>
|
||||
<!-- AppRoutingModule -->
|
||||
<g id="node3" class="node">
|
||||
<title>AppRoutingModule</title>
|
||||
<polygon fill="#8dd3c7" stroke="black" points="269.27,-122 266.27,-126 245.27,-126 242.27,-122 140.73,-122 140.73,-86 269.27,-86 269.27,-122"/>
|
||||
<text text-anchor="middle" x="205" y="-99.8" font-family="Times,serif" font-size="14.00">AppRoutingModule</text>
|
||||
<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"/>
|
||||
<text text-anchor="middle" x="1106" y="-99.8" font-family="Times,serif" font-size="14.00">AppRoutingModule</text>
|
||||
</g>
|
||||
<!-- AppRoutingModule->AppModule -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>AppRoutingModule->AppModule</title>
|
||||
<path fill="none" stroke="black" d="M205,-122.11C205,-141.34 205,-169 205,-169 205,-169 457.05,-169 457.05,-169"/>
|
||||
<polygon fill="black" stroke="black" points="457.05,-172.5 467.05,-169 457.05,-165.5 457.05,-172.5"/>
|
||||
<path fill="none" stroke="black" d="M1106,-122.29C1106,-144.21 1106,-178 1106,-178 1106,-178 698.04,-178 698.04,-178"/>
|
||||
<polygon fill="black" stroke="black" points="698.04,-174.5 688.04,-178 698.04,-181.5 698.04,-174.5"/>
|
||||
</g>
|
||||
<!-- SharedModule -->
|
||||
<g id="node4" class="node">
|
||||
<title>SharedModule</title>
|
||||
<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="73" y="-99.8" font-family="Times,serif" font-size="14.00">SharedModule</text>
|
||||
<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"/>
|
||||
<text text-anchor="middle" x="974" y="-99.8" font-family="Times,serif" font-size="14.00">SharedModule</text>
|
||||
</g>
|
||||
<!-- SharedModule->AppModule -->
|
||||
<g id="edge3" class="edge">
|
||||
<title>SharedModule->AppModule</title>
|
||||
<path fill="none" stroke="black" d="M73,-122.29C73,-144.21 73,-178 73,-178 73,-178 457.19,-178 457.19,-178"/>
|
||||
<polygon fill="black" stroke="black" points="457.19,-181.5 467.19,-178 457.19,-174.5 457.19,-181.5"/>
|
||||
<path fill="none" stroke="black" d="M974,-122.11C974,-141.34 974,-169 974,-169 974,-169 697.87,-169 697.87,-169"/>
|
||||
<polygon fill="black" stroke="black" points="697.87,-165.5 687.87,-169 697.87,-172.5 697.87,-165.5"/>
|
||||
</g>
|
||||
<!-- ErrorInterceptor -->
|
||||
<g id="node6" class="node">
|
||||
<title>ErrorInterceptor</title>
|
||||
<ellipse fill="#fdb462" stroke="black" cx="1096" cy="-104" rx="73.53" ry="18"/>
|
||||
<text text-anchor="middle" x="1096" y="-99.8" font-family="Times,serif" font-size="14.00">ErrorInterceptor</text>
|
||||
<ellipse fill="#fdb462" stroke="black" cx="827" 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>
|
||||
</g>
|
||||
<!-- ErrorInterceptor->AppModule -->
|
||||
<g id="edge5" class="edge">
|
||||
<title>ErrorInterceptor->AppModule</title>
|
||||
<path fill="none" stroke="black" d="M1096,-122.29C1096,-144.21 1096,-178 1096,-178 1096,-178 560.75,-178 560.75,-178"/>
|
||||
<polygon fill="black" stroke="black" points="560.75,-174.5 550.75,-178 560.74,-181.5 560.75,-174.5"/>
|
||||
<path fill="none" stroke="black" d="M827,-122.03C827,-138.4 827,-160 827,-160 827,-160 697.98,-160 697.98,-160"/>
|
||||
<polygon fill="black" stroke="black" points="697.98,-156.5 687.98,-160 697.98,-163.5 697.98,-156.5"/>
|
||||
</g>
|
||||
<!-- GlobalErrorHandler -->
|
||||
<g id="node7" class="node">
|
||||
<title>GlobalErrorHandler</title>
|
||||
<ellipse fill="#fdb462" stroke="black" cx="915" cy="-104" rx="88.58" ry="18"/>
|
||||
<text text-anchor="middle" x="915" y="-99.8" font-family="Times,serif" font-size="14.00">GlobalErrorHandler</text>
|
||||
<ellipse fill="#fdb462" stroke="black" cx="646" 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>
|
||||
</g>
|
||||
<!-- GlobalErrorHandler->AppModule -->
|
||||
<g id="edge6" class="edge">
|
||||
<title>GlobalErrorHandler->AppModule</title>
|
||||
<path fill="none" stroke="black" d="M915,-122.11C915,-141.34 915,-169 915,-169 915,-169 560.92,-169 560.92,-169"/>
|
||||
<polygon fill="black" stroke="black" points="560.92,-165.5 550.92,-169 560.92,-172.5 560.92,-165.5"/>
|
||||
<path fill="none" stroke="black" d="M646,-122.11C646,-122.11 646,-140.99 646,-140.99"/>
|
||||
<polygon fill="black" stroke="black" points="642.5,-140.99 646,-150.99 649.5,-140.99 642.5,-140.99"/>
|
||||
</g>
|
||||
<!-- HttpConfigInterceptor -->
|
||||
<g id="node8" class="node">
|
||||
<title>HttpConfigInterceptor</title>
|
||||
<ellipse fill="#fdb462" stroke="black" cx="711" cy="-104" rx="97.27" ry="18"/>
|
||||
<text text-anchor="middle" x="711" y="-99.8" font-family="Times,serif" font-size="14.00">HttpConfigInterceptor</text>
|
||||
<ellipse fill="#fdb462" stroke="black" cx="442" 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>
|
||||
</g>
|
||||
<!-- HttpConfigInterceptor->AppModule -->
|
||||
<g id="edge7" class="edge">
|
||||
<title>HttpConfigInterceptor->AppModule</title>
|
||||
<path fill="none" stroke="black" d="M711,-122.03C711,-138.4 711,-160 711,-160 711,-160 560.85,-160 560.85,-160"/>
|
||||
<polygon fill="black" stroke="black" points="560.85,-156.5 550.85,-160 560.85,-163.5 560.85,-156.5"/>
|
||||
<path fill="none" stroke="black" d="M442,-122.03C442,-138.4 442,-160 442,-160 442,-160 594.23,-160 594.23,-160"/>
|
||||
<polygon fill="black" stroke="black" points="594.23,-163.5 604.23,-160 594.23,-156.5 594.23,-163.5"/>
|
||||
</g>
|
||||
<!-- LoggingInterceptor -->
|
||||
<g id="node9" class="node">
|
||||
<title>LoggingInterceptor</title>
|
||||
<ellipse fill="#fdb462" stroke="black" cx="509" cy="-104" rx="86.24" ry="18"/>
|
||||
<text text-anchor="middle" x="509" y="-99.8" font-family="Times,serif" font-size="14.00">LoggingInterceptor</text>
|
||||
<ellipse fill="#fdb462" stroke="black" cx="240" 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>
|
||||
</g>
|
||||
<!-- LoggingInterceptor->AppModule -->
|
||||
<g id="edge8" class="edge">
|
||||
<title>LoggingInterceptor->AppModule</title>
|
||||
<path fill="none" stroke="black" d="M509,-122.11C509,-122.11 509,-140.99 509,-140.99"/>
|
||||
<polygon fill="black" stroke="black" points="505.5,-140.99 509,-150.99 512.5,-140.99 505.5,-140.99"/>
|
||||
<path fill="none" stroke="black" d="M240,-122.11C240,-141.34 240,-169 240,-169 240,-169 594.08,-169 594.08,-169"/>
|
||||
<polygon fill="black" stroke="black" points="594.08,-172.5 604.08,-169 594.08,-165.5 594.08,-172.5"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 7.9 KiB After Width: | Height: | Size: 8.0 KiB |
@ -65,55 +65,55 @@
|
||||
<title>cluster_AuthModule</title>
|
||||
<polygon fill="none" stroke="black" stroke-dasharray="1,5" points="9.5,-70 9.5,-195 486.5,-195 486.5,-70 9.5,-70"/>
|
||||
</g>
|
||||
<g id="clust2" class="cluster">
|
||||
<title>cluster_AuthModule_declarations</title>
|
||||
<polygon fill="none" stroke="black" points="173.5,-78 173.5,-130 478.5,-130 478.5,-78 173.5,-78"/>
|
||||
</g>
|
||||
<g id="clust5" class="cluster">
|
||||
<title>cluster_AuthModule_imports</title>
|
||||
<polygon fill="none" stroke="black" points="17.5,-78 17.5,-130 165.5,-130 165.5,-78 17.5,-78"/>
|
||||
<polygon fill="none" stroke="black" points="330.5,-78 330.5,-130 478.5,-130 478.5,-78 330.5,-78"/>
|
||||
</g>
|
||||
<g id="clust2" class="cluster">
|
||||
<title>cluster_AuthModule_declarations</title>
|
||||
<polygon fill="none" stroke="black" points="17.5,-78 17.5,-130 322.5,-130 322.5,-78 17.5,-78"/>
|
||||
</g>
|
||||
<!-- AuthComponent -->
|
||||
<g id="node1" class="node">
|
||||
<title>AuthComponent</title>
|
||||
<polygon fill="#ffffb3" stroke="black" points="470.33,-122 360.67,-122 360.67,-86 470.33,-86 470.33,-122"/>
|
||||
<text text-anchor="middle" x="415.5" y="-99.8" font-family="Times,serif" font-size="14.00">AuthComponent</text>
|
||||
<polygon fill="#ffffb3" stroke="black" points="314.33,-122 204.67,-122 204.67,-86 314.33,-86 314.33,-122"/>
|
||||
<text text-anchor="middle" x="259.5" y="-99.8" font-family="Times,serif" font-size="14.00">AuthComponent</text>
|
||||
</g>
|
||||
<!-- AuthModule -->
|
||||
<g id="node3" class="node">
|
||||
<title>AuthModule</title>
|
||||
<polygon fill="#8dd3c7" stroke="black" points="306.05,-187 303.05,-191 282.05,-191 279.05,-187 218.95,-187 218.95,-151 306.05,-151 306.05,-187"/>
|
||||
<text text-anchor="middle" x="262.5" y="-164.8" font-family="Times,serif" font-size="14.00">AuthModule</text>
|
||||
<polygon fill="#8dd3c7" stroke="black" points="303.05,-187 300.05,-191 279.05,-191 276.05,-187 215.95,-187 215.95,-151 303.05,-151 303.05,-187"/>
|
||||
<text text-anchor="middle" x="259.5" y="-164.8" font-family="Times,serif" font-size="14.00">AuthModule</text>
|
||||
</g>
|
||||
<!-- AuthComponent->AuthModule -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>AuthComponent->AuthModule</title>
|
||||
<path fill="none" stroke="black" d="M415.5,-122.11C415.5,-141.34 415.5,-169 415.5,-169 415.5,-169 316.34,-169 316.34,-169"/>
|
||||
<polygon fill="black" stroke="black" points="316.34,-165.5 306.34,-169 316.34,-172.5 316.34,-165.5"/>
|
||||
<path fill="none" stroke="black" d="M259.5,-122.11C259.5,-122.11 259.5,-140.99 259.5,-140.99"/>
|
||||
<polygon fill="black" stroke="black" points="256,-140.99 259.5,-150.99 263,-140.99 256,-140.99"/>
|
||||
</g>
|
||||
<!-- PasswordToggleDirective -->
|
||||
<g id="node2" class="node">
|
||||
<title>PasswordToggleDirective</title>
|
||||
<polygon fill="#ffffb3" stroke="black" points="343.39,-122 181.61,-122 181.61,-86 343.39,-86 343.39,-122"/>
|
||||
<text text-anchor="middle" x="262.5" y="-99.8" font-family="Times,serif" font-size="14.00">PasswordToggleDirective</text>
|
||||
<polygon fill="#ffffb3" stroke="black" points="187.39,-122 25.61,-122 25.61,-86 187.39,-86 187.39,-122"/>
|
||||
<text text-anchor="middle" x="106.5" y="-99.8" font-family="Times,serif" font-size="14.00">PasswordToggleDirective</text>
|
||||
</g>
|
||||
<!-- PasswordToggleDirective->AuthModule -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>PasswordToggleDirective->AuthModule</title>
|
||||
<path fill="none" stroke="black" d="M262.5,-122.11C262.5,-122.11 262.5,-140.99 262.5,-140.99"/>
|
||||
<polygon fill="black" stroke="black" points="259,-140.99 262.5,-150.99 266,-140.99 259,-140.99"/>
|
||||
<path fill="none" stroke="black" d="M106.5,-122.11C106.5,-141.34 106.5,-169 106.5,-169 106.5,-169 205.66,-169 205.66,-169"/>
|
||||
<polygon fill="black" stroke="black" points="205.66,-172.5 215.66,-169 205.66,-165.5 205.66,-172.5"/>
|
||||
</g>
|
||||
<!-- AuthRoutingModule -->
|
||||
<g id="node4" class="node">
|
||||
<title>AuthRoutingModule</title>
|
||||
<polygon fill="#8dd3c7" stroke="black" points="157.67,-122 154.67,-126 133.67,-126 130.67,-122 25.33,-122 25.33,-86 157.67,-86 157.67,-122"/>
|
||||
<text text-anchor="middle" x="91.5" y="-99.8" font-family="Times,serif" font-size="14.00">AuthRoutingModule</text>
|
||||
<polygon fill="#8dd3c7" stroke="black" points="470.67,-122 467.67,-126 446.67,-126 443.67,-122 338.33,-122 338.33,-86 470.67,-86 470.67,-122"/>
|
||||
<text text-anchor="middle" x="404.5" y="-99.8" font-family="Times,serif" font-size="14.00">AuthRoutingModule</text>
|
||||
</g>
|
||||
<!-- AuthRoutingModule->AuthModule -->
|
||||
<g id="edge3" class="edge">
|
||||
<title>AuthRoutingModule->AuthModule</title>
|
||||
<path fill="none" stroke="black" d="M91.5,-122.11C91.5,-141.34 91.5,-169 91.5,-169 91.5,-169 208.91,-169 208.91,-169"/>
|
||||
<polygon fill="black" stroke="black" points="208.91,-172.5 218.91,-169 208.91,-165.5 208.91,-172.5"/>
|
||||
<path fill="none" stroke="black" d="M404.5,-122.11C404.5,-141.34 404.5,-169 404.5,-169 404.5,-169 313.4,-169 313.4,-169"/>
|
||||
<polygon fill="black" stroke="black" points="313.4,-165.5 303.4,-169 313.4,-172.5 313.4,-165.5"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
@ -24,55 +24,55 @@
|
||||
<title>cluster_AuthModule</title>
|
||||
<polygon fill="none" stroke="black" stroke-dasharray="1,5" points="9.5,-70 9.5,-195 486.5,-195 486.5,-70 9.5,-70"/>
|
||||
</g>
|
||||
<g id="clust2" class="cluster">
|
||||
<title>cluster_AuthModule_declarations</title>
|
||||
<polygon fill="none" stroke="black" points="173.5,-78 173.5,-130 478.5,-130 478.5,-78 173.5,-78"/>
|
||||
</g>
|
||||
<g id="clust5" class="cluster">
|
||||
<title>cluster_AuthModule_imports</title>
|
||||
<polygon fill="none" stroke="black" points="17.5,-78 17.5,-130 165.5,-130 165.5,-78 17.5,-78"/>
|
||||
<polygon fill="none" stroke="black" points="330.5,-78 330.5,-130 478.5,-130 478.5,-78 330.5,-78"/>
|
||||
</g>
|
||||
<g id="clust2" class="cluster">
|
||||
<title>cluster_AuthModule_declarations</title>
|
||||
<polygon fill="none" stroke="black" points="17.5,-78 17.5,-130 322.5,-130 322.5,-78 17.5,-78"/>
|
||||
</g>
|
||||
<!-- AuthComponent -->
|
||||
<g id="node1" class="node">
|
||||
<title>AuthComponent</title>
|
||||
<polygon fill="#ffffb3" stroke="black" points="470.33,-122 360.67,-122 360.67,-86 470.33,-86 470.33,-122"/>
|
||||
<text text-anchor="middle" x="415.5" y="-99.8" font-family="Times,serif" font-size="14.00">AuthComponent</text>
|
||||
<polygon fill="#ffffb3" stroke="black" points="314.33,-122 204.67,-122 204.67,-86 314.33,-86 314.33,-122"/>
|
||||
<text text-anchor="middle" x="259.5" y="-99.8" font-family="Times,serif" font-size="14.00">AuthComponent</text>
|
||||
</g>
|
||||
<!-- AuthModule -->
|
||||
<g id="node3" class="node">
|
||||
<title>AuthModule</title>
|
||||
<polygon fill="#8dd3c7" stroke="black" points="306.05,-187 303.05,-191 282.05,-191 279.05,-187 218.95,-187 218.95,-151 306.05,-151 306.05,-187"/>
|
||||
<text text-anchor="middle" x="262.5" y="-164.8" font-family="Times,serif" font-size="14.00">AuthModule</text>
|
||||
<polygon fill="#8dd3c7" stroke="black" points="303.05,-187 300.05,-191 279.05,-191 276.05,-187 215.95,-187 215.95,-151 303.05,-151 303.05,-187"/>
|
||||
<text text-anchor="middle" x="259.5" y="-164.8" font-family="Times,serif" font-size="14.00">AuthModule</text>
|
||||
</g>
|
||||
<!-- AuthComponent->AuthModule -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>AuthComponent->AuthModule</title>
|
||||
<path fill="none" stroke="black" d="M415.5,-122.11C415.5,-141.34 415.5,-169 415.5,-169 415.5,-169 316.34,-169 316.34,-169"/>
|
||||
<polygon fill="black" stroke="black" points="316.34,-165.5 306.34,-169 316.34,-172.5 316.34,-165.5"/>
|
||||
<path fill="none" stroke="black" d="M259.5,-122.11C259.5,-122.11 259.5,-140.99 259.5,-140.99"/>
|
||||
<polygon fill="black" stroke="black" points="256,-140.99 259.5,-150.99 263,-140.99 256,-140.99"/>
|
||||
</g>
|
||||
<!-- PasswordToggleDirective -->
|
||||
<g id="node2" class="node">
|
||||
<title>PasswordToggleDirective</title>
|
||||
<polygon fill="#ffffb3" stroke="black" points="343.39,-122 181.61,-122 181.61,-86 343.39,-86 343.39,-122"/>
|
||||
<text text-anchor="middle" x="262.5" y="-99.8" font-family="Times,serif" font-size="14.00">PasswordToggleDirective</text>
|
||||
<polygon fill="#ffffb3" stroke="black" points="187.39,-122 25.61,-122 25.61,-86 187.39,-86 187.39,-122"/>
|
||||
<text text-anchor="middle" x="106.5" y="-99.8" font-family="Times,serif" font-size="14.00">PasswordToggleDirective</text>
|
||||
</g>
|
||||
<!-- PasswordToggleDirective->AuthModule -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>PasswordToggleDirective->AuthModule</title>
|
||||
<path fill="none" stroke="black" d="M262.5,-122.11C262.5,-122.11 262.5,-140.99 262.5,-140.99"/>
|
||||
<polygon fill="black" stroke="black" points="259,-140.99 262.5,-150.99 266,-140.99 259,-140.99"/>
|
||||
<path fill="none" stroke="black" d="M106.5,-122.11C106.5,-141.34 106.5,-169 106.5,-169 106.5,-169 205.66,-169 205.66,-169"/>
|
||||
<polygon fill="black" stroke="black" points="205.66,-172.5 215.66,-169 205.66,-165.5 205.66,-172.5"/>
|
||||
</g>
|
||||
<!-- AuthRoutingModule -->
|
||||
<g id="node4" class="node">
|
||||
<title>AuthRoutingModule</title>
|
||||
<polygon fill="#8dd3c7" stroke="black" points="157.67,-122 154.67,-126 133.67,-126 130.67,-122 25.33,-122 25.33,-86 157.67,-86 157.67,-122"/>
|
||||
<text text-anchor="middle" x="91.5" y="-99.8" font-family="Times,serif" font-size="14.00">AuthRoutingModule</text>
|
||||
<polygon fill="#8dd3c7" stroke="black" points="470.67,-122 467.67,-126 446.67,-126 443.67,-122 338.33,-122 338.33,-86 470.67,-86 470.67,-122"/>
|
||||
<text text-anchor="middle" x="404.5" y="-99.8" font-family="Times,serif" font-size="14.00">AuthRoutingModule</text>
|
||||
</g>
|
||||
<!-- AuthRoutingModule->AuthModule -->
|
||||
<g id="edge3" class="edge">
|
||||
<title>AuthRoutingModule->AuthModule</title>
|
||||
<path fill="none" stroke="black" d="M91.5,-122.11C91.5,-141.34 91.5,-169 91.5,-169 91.5,-169 208.91,-169 208.91,-169"/>
|
||||
<polygon fill="black" stroke="black" points="208.91,-172.5 218.91,-169 208.91,-165.5 208.91,-172.5"/>
|
||||
<path fill="none" stroke="black" d="M404.5,-122.11C404.5,-141.34 404.5,-169 404.5,-169 404.5,-169 313.4,-169 313.4,-169"/>
|
||||
<polygon fill="black" stroke="black" points="313.4,-165.5 303.4,-169 313.4,-172.5 313.4,-165.5"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB |
@ -65,55 +65,55 @@
|
||||
<title>cluster_PagesModule</title>
|
||||
<polygon fill="none" stroke="black" stroke-dasharray="1,5" points="36,-70 36,-195 460,-195 460,-70 36,-70"/>
|
||||
</g>
|
||||
<g id="clust4" class="cluster">
|
||||
<title>cluster_PagesModule_imports</title>
|
||||
<polygon fill="none" stroke="black" points="182,-78 182,-130 452,-130 452,-78 182,-78"/>
|
||||
</g>
|
||||
<g id="clust2" class="cluster">
|
||||
<title>cluster_PagesModule_declarations</title>
|
||||
<polygon fill="none" stroke="black" points="44,-78 44,-130 174,-130 174,-78 44,-78"/>
|
||||
<polygon fill="none" stroke="black" points="322,-78 322,-130 452,-130 452,-78 322,-78"/>
|
||||
</g>
|
||||
<g id="clust4" class="cluster">
|
||||
<title>cluster_PagesModule_imports</title>
|
||||
<polygon fill="none" stroke="black" points="44,-78 44,-130 314,-130 314,-78 44,-78"/>
|
||||
</g>
|
||||
<!-- PagesComponent -->
|
||||
<g id="node1" class="node">
|
||||
<title>PagesComponent</title>
|
||||
<polygon fill="#ffffb3" stroke="black" points="165.99,-122 52.01,-122 52.01,-86 165.99,-86 165.99,-122"/>
|
||||
<text text-anchor="middle" x="109" y="-99.8" font-family="Times,serif" font-size="14.00">PagesComponent</text>
|
||||
<polygon fill="#ffffb3" stroke="black" points="443.99,-122 330.01,-122 330.01,-86 443.99,-86 443.99,-122"/>
|
||||
<text text-anchor="middle" x="387" y="-99.8" font-family="Times,serif" font-size="14.00">PagesComponent</text>
|
||||
</g>
|
||||
<!-- PagesModule -->
|
||||
<g id="node2" class="node">
|
||||
<title>PagesModule</title>
|
||||
<polygon fill="#8dd3c7" stroke="black" points="285.21,-187 282.21,-191 261.21,-191 258.21,-187 192.79,-187 192.79,-151 285.21,-151 285.21,-187"/>
|
||||
<text text-anchor="middle" x="239" y="-164.8" font-family="Times,serif" font-size="14.00">PagesModule</text>
|
||||
<polygon fill="#8dd3c7" stroke="black" points="283.21,-187 280.21,-191 259.21,-191 256.21,-187 190.79,-187 190.79,-151 283.21,-151 283.21,-187"/>
|
||||
<text text-anchor="middle" x="237" y="-164.8" font-family="Times,serif" font-size="14.00">PagesModule</text>
|
||||
</g>
|
||||
<!-- PagesComponent->PagesModule -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>PagesComponent->PagesModule</title>
|
||||
<path fill="none" stroke="black" d="M109,-122.11C109,-141.34 109,-169 109,-169 109,-169 182.8,-169 182.8,-169"/>
|
||||
<polygon fill="black" stroke="black" points="182.8,-172.5 192.8,-169 182.8,-165.5 182.8,-172.5"/>
|
||||
<path fill="none" stroke="black" d="M387,-122.11C387,-141.34 387,-169 387,-169 387,-169 293.23,-169 293.23,-169"/>
|
||||
<polygon fill="black" stroke="black" points="293.23,-165.5 283.23,-169 293.23,-172.5 293.23,-165.5"/>
|
||||
</g>
|
||||
<!-- PagesRoutingModule -->
|
||||
<g id="node3" class="node">
|
||||
<title>PagesRoutingModule</title>
|
||||
<polygon fill="#8dd3c7" stroke="black" points="443.82,-122 440.82,-126 419.82,-126 416.82,-122 306.18,-122 306.18,-86 443.82,-86 443.82,-122"/>
|
||||
<text text-anchor="middle" x="375" y="-99.8" font-family="Times,serif" font-size="14.00">PagesRoutingModule</text>
|
||||
<polygon fill="#8dd3c7" stroke="black" points="305.82,-122 302.82,-126 281.82,-126 278.82,-122 168.18,-122 168.18,-86 305.82,-86 305.82,-122"/>
|
||||
<text text-anchor="middle" x="237" y="-99.8" font-family="Times,serif" font-size="14.00">PagesRoutingModule</text>
|
||||
</g>
|
||||
<!-- PagesRoutingModule->PagesModule -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>PagesRoutingModule->PagesModule</title>
|
||||
<path fill="none" stroke="black" d="M375,-122.11C375,-141.34 375,-169 375,-169 375,-169 295.42,-169 295.42,-169"/>
|
||||
<polygon fill="black" stroke="black" points="295.42,-165.5 285.42,-169 295.42,-172.5 295.42,-165.5"/>
|
||||
<path fill="none" stroke="black" d="M237,-122.11C237,-122.11 237,-140.99 237,-140.99"/>
|
||||
<polygon fill="black" stroke="black" points="233.5,-140.99 237,-150.99 240.5,-140.99 233.5,-140.99"/>
|
||||
</g>
|
||||
<!-- SharedModule -->
|
||||
<g id="node4" class="node">
|
||||
<title>SharedModule</title>
|
||||
<polygon fill="#8dd3c7" stroke="black" points="288.42,-122 285.42,-126 264.42,-126 261.42,-122 189.58,-122 189.58,-86 288.42,-86 288.42,-122"/>
|
||||
<text text-anchor="middle" x="239" y="-99.8" font-family="Times,serif" font-size="14.00">SharedModule</text>
|
||||
<polygon fill="#8dd3c7" stroke="black" points="150.42,-122 147.42,-126 126.42,-126 123.42,-122 51.58,-122 51.58,-86 150.42,-86 150.42,-122"/>
|
||||
<text text-anchor="middle" x="101" y="-99.8" font-family="Times,serif" font-size="14.00">SharedModule</text>
|
||||
</g>
|
||||
<!-- SharedModule->PagesModule -->
|
||||
<g id="edge3" class="edge">
|
||||
<title>SharedModule->PagesModule</title>
|
||||
<path fill="none" stroke="black" d="M239,-122.11C239,-122.11 239,-140.99 239,-140.99"/>
|
||||
<polygon fill="black" stroke="black" points="235.5,-140.99 239,-150.99 242.5,-140.99 235.5,-140.99"/>
|
||||
<path fill="none" stroke="black" d="M101,-122.11C101,-141.34 101,-169 101,-169 101,-169 180.58,-169 180.58,-169"/>
|
||||
<polygon fill="black" stroke="black" points="180.58,-172.5 190.58,-169 180.58,-165.5 180.58,-172.5"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
@ -24,55 +24,55 @@
|
||||
<title>cluster_PagesModule</title>
|
||||
<polygon fill="none" stroke="black" stroke-dasharray="1,5" points="36,-70 36,-195 460,-195 460,-70 36,-70"/>
|
||||
</g>
|
||||
<g id="clust4" class="cluster">
|
||||
<title>cluster_PagesModule_imports</title>
|
||||
<polygon fill="none" stroke="black" points="182,-78 182,-130 452,-130 452,-78 182,-78"/>
|
||||
</g>
|
||||
<g id="clust2" class="cluster">
|
||||
<title>cluster_PagesModule_declarations</title>
|
||||
<polygon fill="none" stroke="black" points="44,-78 44,-130 174,-130 174,-78 44,-78"/>
|
||||
<polygon fill="none" stroke="black" points="322,-78 322,-130 452,-130 452,-78 322,-78"/>
|
||||
</g>
|
||||
<g id="clust4" class="cluster">
|
||||
<title>cluster_PagesModule_imports</title>
|
||||
<polygon fill="none" stroke="black" points="44,-78 44,-130 314,-130 314,-78 44,-78"/>
|
||||
</g>
|
||||
<!-- PagesComponent -->
|
||||
<g id="node1" class="node">
|
||||
<title>PagesComponent</title>
|
||||
<polygon fill="#ffffb3" stroke="black" points="165.99,-122 52.01,-122 52.01,-86 165.99,-86 165.99,-122"/>
|
||||
<text text-anchor="middle" x="109" y="-99.8" font-family="Times,serif" font-size="14.00">PagesComponent</text>
|
||||
<polygon fill="#ffffb3" stroke="black" points="443.99,-122 330.01,-122 330.01,-86 443.99,-86 443.99,-122"/>
|
||||
<text text-anchor="middle" x="387" y="-99.8" font-family="Times,serif" font-size="14.00">PagesComponent</text>
|
||||
</g>
|
||||
<!-- PagesModule -->
|
||||
<g id="node2" class="node">
|
||||
<title>PagesModule</title>
|
||||
<polygon fill="#8dd3c7" stroke="black" points="285.21,-187 282.21,-191 261.21,-191 258.21,-187 192.79,-187 192.79,-151 285.21,-151 285.21,-187"/>
|
||||
<text text-anchor="middle" x="239" y="-164.8" font-family="Times,serif" font-size="14.00">PagesModule</text>
|
||||
<polygon fill="#8dd3c7" stroke="black" points="283.21,-187 280.21,-191 259.21,-191 256.21,-187 190.79,-187 190.79,-151 283.21,-151 283.21,-187"/>
|
||||
<text text-anchor="middle" x="237" y="-164.8" font-family="Times,serif" font-size="14.00">PagesModule</text>
|
||||
</g>
|
||||
<!-- PagesComponent->PagesModule -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>PagesComponent->PagesModule</title>
|
||||
<path fill="none" stroke="black" d="M109,-122.11C109,-141.34 109,-169 109,-169 109,-169 182.8,-169 182.8,-169"/>
|
||||
<polygon fill="black" stroke="black" points="182.8,-172.5 192.8,-169 182.8,-165.5 182.8,-172.5"/>
|
||||
<path fill="none" stroke="black" d="M387,-122.11C387,-141.34 387,-169 387,-169 387,-169 293.23,-169 293.23,-169"/>
|
||||
<polygon fill="black" stroke="black" points="293.23,-165.5 283.23,-169 293.23,-172.5 293.23,-165.5"/>
|
||||
</g>
|
||||
<!-- PagesRoutingModule -->
|
||||
<g id="node3" class="node">
|
||||
<title>PagesRoutingModule</title>
|
||||
<polygon fill="#8dd3c7" stroke="black" points="443.82,-122 440.82,-126 419.82,-126 416.82,-122 306.18,-122 306.18,-86 443.82,-86 443.82,-122"/>
|
||||
<text text-anchor="middle" x="375" y="-99.8" font-family="Times,serif" font-size="14.00">PagesRoutingModule</text>
|
||||
<polygon fill="#8dd3c7" stroke="black" points="305.82,-122 302.82,-126 281.82,-126 278.82,-122 168.18,-122 168.18,-86 305.82,-86 305.82,-122"/>
|
||||
<text text-anchor="middle" x="237" y="-99.8" font-family="Times,serif" font-size="14.00">PagesRoutingModule</text>
|
||||
</g>
|
||||
<!-- PagesRoutingModule->PagesModule -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>PagesRoutingModule->PagesModule</title>
|
||||
<path fill="none" stroke="black" d="M375,-122.11C375,-141.34 375,-169 375,-169 375,-169 295.42,-169 295.42,-169"/>
|
||||
<polygon fill="black" stroke="black" points="295.42,-165.5 285.42,-169 295.42,-172.5 295.42,-165.5"/>
|
||||
<path fill="none" stroke="black" d="M237,-122.11C237,-122.11 237,-140.99 237,-140.99"/>
|
||||
<polygon fill="black" stroke="black" points="233.5,-140.99 237,-150.99 240.5,-140.99 233.5,-140.99"/>
|
||||
</g>
|
||||
<!-- SharedModule -->
|
||||
<g id="node4" class="node">
|
||||
<title>SharedModule</title>
|
||||
<polygon fill="#8dd3c7" stroke="black" points="288.42,-122 285.42,-126 264.42,-126 261.42,-122 189.58,-122 189.58,-86 288.42,-86 288.42,-122"/>
|
||||
<text text-anchor="middle" x="239" y="-99.8" font-family="Times,serif" font-size="14.00">SharedModule</text>
|
||||
<polygon fill="#8dd3c7" stroke="black" points="150.42,-122 147.42,-126 126.42,-126 123.42,-122 51.58,-122 51.58,-86 150.42,-86 150.42,-122"/>
|
||||
<text text-anchor="middle" x="101" y="-99.8" font-family="Times,serif" font-size="14.00">SharedModule</text>
|
||||
</g>
|
||||
<!-- SharedModule->PagesModule -->
|
||||
<g id="edge3" class="edge">
|
||||
<title>SharedModule->PagesModule</title>
|
||||
<path fill="none" stroke="black" d="M239,-122.11C239,-122.11 239,-140.99 239,-140.99"/>
|
||||
<polygon fill="black" stroke="black" points="235.5,-140.99 239,-150.99 242.5,-140.99 235.5,-140.99"/>
|
||||
<path fill="none" stroke="black" d="M101,-122.11C101,-141.34 101,-169 101,-169 101,-169 180.58,-169 180.58,-169"/>
|
||||
<polygon fill="black" stroke="black" points="180.58,-172.5 190.58,-169 180.58,-165.5 180.58,-172.5"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
@ -65,83 +65,83 @@
|
||||
<title>cluster_TransactionsModule</title>
|
||||
<polygon fill="none" stroke="black" stroke-dasharray="1,5" points="8,-70 8,-268 714,-268 714,-70 8,-70"/>
|
||||
</g>
|
||||
<g id="clust2" class="cluster">
|
||||
<title>cluster_TransactionsModule_declarations</title>
|
||||
<polygon fill="none" stroke="black" points="332,-78 332,-130 706,-130 706,-78 332,-78"/>
|
||||
</g>
|
||||
<g id="clust5" class="cluster">
|
||||
<title>cluster_TransactionsModule_imports</title>
|
||||
<polygon fill="none" stroke="black" points="16,-78 16,-130 324,-130 324,-78 16,-78"/>
|
||||
<polygon fill="none" stroke="black" points="398,-78 398,-130 706,-130 706,-78 398,-78"/>
|
||||
</g>
|
||||
<g id="clust6" class="cluster">
|
||||
<title>cluster_TransactionsModule_exports</title>
|
||||
<polygon fill="none" stroke="black" points="238,-208 238,-260 444,-260 444,-208 238,-208"/>
|
||||
<polygon fill="none" stroke="black" points="288,-208 288,-260 494,-260 494,-208 288,-208"/>
|
||||
</g>
|
||||
<g id="clust2" class="cluster">
|
||||
<title>cluster_TransactionsModule_declarations</title>
|
||||
<polygon fill="none" stroke="black" points="16,-78 16,-130 390,-130 390,-78 16,-78"/>
|
||||
</g>
|
||||
<!-- TransactionDetailsComponent -->
|
||||
<g id="node1" class="node">
|
||||
<title>TransactionDetailsComponent</title>
|
||||
<polygon fill="#ffffb3" stroke="black" points="697.57,-122 510.43,-122 510.43,-86 697.57,-86 697.57,-122"/>
|
||||
<text text-anchor="middle" x="604" y="-99.8" font-family="Times,serif" font-size="14.00">TransactionDetailsComponent</text>
|
||||
<polygon fill="#ffffb3" stroke="black" points="381.57,-122 194.43,-122 194.43,-86 381.57,-86 381.57,-122"/>
|
||||
<text text-anchor="middle" x="288" y="-99.8" font-family="Times,serif" font-size="14.00">TransactionDetailsComponent</text>
|
||||
</g>
|
||||
<!-- TransactionsModule -->
|
||||
<g id="node3" class="node">
|
||||
<title>TransactionsModule</title>
|
||||
<polygon fill="#8dd3c7" stroke="black" points="406.58,-187 403.58,-191 382.58,-191 379.58,-187 275.42,-187 275.42,-151 406.58,-151 406.58,-187"/>
|
||||
<text text-anchor="middle" x="341" y="-164.8" font-family="Times,serif" font-size="14.00">TransactionsModule</text>
|
||||
<polygon fill="#8dd3c7" stroke="black" points="456.58,-187 453.58,-191 432.58,-191 429.58,-187 325.42,-187 325.42,-151 456.58,-151 456.58,-187"/>
|
||||
<text text-anchor="middle" x="391" y="-164.8" font-family="Times,serif" font-size="14.00">TransactionsModule</text>
|
||||
</g>
|
||||
<!-- TransactionDetailsComponent->TransactionsModule -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>TransactionDetailsComponent->TransactionsModule</title>
|
||||
<path fill="none" stroke="black" d="M604,-122.11C604,-141.34 604,-169 604,-169 604,-169 416.69,-169 416.69,-169"/>
|
||||
<polygon fill="black" stroke="black" points="416.69,-165.5 406.69,-169 416.69,-172.5 416.69,-165.5"/>
|
||||
<path fill="none" stroke="black" d="M353.5,-122.11C353.5,-122.11 353.5,-140.99 353.5,-140.99"/>
|
||||
<polygon fill="black" stroke="black" points="350,-140.99 353.5,-150.99 357,-140.99 350,-140.99"/>
|
||||
</g>
|
||||
<!-- TransactionsComponent -->
|
||||
<g id="node2" class="node">
|
||||
<title>TransactionsComponent</title>
|
||||
<polygon fill="#ffffb3" stroke="black" points="492.36,-122 339.64,-122 339.64,-86 492.36,-86 492.36,-122"/>
|
||||
<text text-anchor="middle" x="416" y="-99.8" font-family="Times,serif" font-size="14.00">TransactionsComponent</text>
|
||||
<polygon fill="#ffffb3" stroke="black" points="176.36,-122 23.64,-122 23.64,-86 176.36,-86 176.36,-122"/>
|
||||
<text text-anchor="middle" x="100" y="-99.8" font-family="Times,serif" font-size="14.00">TransactionsComponent</text>
|
||||
</g>
|
||||
<!-- TransactionsComponent->TransactionsModule -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>TransactionsComponent->TransactionsModule</title>
|
||||
<path fill="none" stroke="black" d="M373.05,-122.11C373.05,-122.11 373.05,-140.99 373.05,-140.99"/>
|
||||
<polygon fill="black" stroke="black" points="369.55,-140.99 373.05,-150.99 376.55,-140.99 369.55,-140.99"/>
|
||||
<path fill="none" stroke="black" d="M100,-122.11C100,-141.34 100,-169 100,-169 100,-169 315.33,-169 315.33,-169"/>
|
||||
<polygon fill="black" stroke="black" points="315.33,-172.5 325.33,-169 315.33,-165.5 315.33,-172.5"/>
|
||||
</g>
|
||||
<!-- TransactionDetailsComponent -->
|
||||
<g id="node6" class="node">
|
||||
<title>TransactionDetailsComponent </title>
|
||||
<polygon fill="#fb8072" stroke="black" points="436.07,-252 245.93,-252 245.93,-216 436.07,-216 436.07,-252"/>
|
||||
<text text-anchor="middle" x="341" y="-229.8" font-family="Times,serif" font-size="14.00">TransactionDetailsComponent </text>
|
||||
<polygon fill="#fb8072" stroke="black" points="486.07,-252 295.93,-252 295.93,-216 486.07,-216 486.07,-252"/>
|
||||
<text text-anchor="middle" x="391" y="-229.8" font-family="Times,serif" font-size="14.00">TransactionDetailsComponent </text>
|
||||
</g>
|
||||
<!-- TransactionsModule->TransactionDetailsComponent -->
|
||||
<g id="edge5" class="edge">
|
||||
<title>TransactionsModule->TransactionDetailsComponent </title>
|
||||
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M341,-187.11C341,-187.11 341,-205.99 341,-205.99"/>
|
||||
<polygon fill="black" stroke="black" points="337.5,-205.99 341,-215.99 344.5,-205.99 337.5,-205.99"/>
|
||||
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M391,-187.11C391,-187.11 391,-205.99 391,-205.99"/>
|
||||
<polygon fill="black" stroke="black" points="387.5,-205.99 391,-215.99 394.5,-205.99 387.5,-205.99"/>
|
||||
</g>
|
||||
<!-- SharedModule -->
|
||||
<g id="node4" class="node">
|
||||
<title>SharedModule</title>
|
||||
<polygon fill="#8dd3c7" stroke="black" points="316.42,-122 313.42,-126 292.42,-126 289.42,-122 217.58,-122 217.58,-86 316.42,-86 316.42,-122"/>
|
||||
<text text-anchor="middle" x="267" y="-99.8" font-family="Times,serif" font-size="14.00">SharedModule</text>
|
||||
<polygon fill="#8dd3c7" stroke="black" points="698.42,-122 695.42,-126 674.42,-126 671.42,-122 599.58,-122 599.58,-86 698.42,-86 698.42,-122"/>
|
||||
<text text-anchor="middle" x="649" y="-99.8" font-family="Times,serif" font-size="14.00">SharedModule</text>
|
||||
</g>
|
||||
<!-- SharedModule->TransactionsModule -->
|
||||
<g id="edge3" class="edge">
|
||||
<title>SharedModule->TransactionsModule</title>
|
||||
<path fill="none" stroke="black" d="M295.84,-122.11C295.84,-122.11 295.84,-140.99 295.84,-140.99"/>
|
||||
<polygon fill="black" stroke="black" points="292.34,-140.99 295.84,-150.99 299.34,-140.99 292.34,-140.99"/>
|
||||
<path fill="none" stroke="black" d="M649,-122.11C649,-141.34 649,-169 649,-169 649,-169 466.77,-169 466.77,-169"/>
|
||||
<polygon fill="black" stroke="black" points="466.77,-165.5 456.77,-169 466.77,-172.5 466.77,-165.5"/>
|
||||
</g>
|
||||
<!-- TransactionsRoutingModule -->
|
||||
<g id="node5" class="node">
|
||||
<title>TransactionsRoutingModule</title>
|
||||
<polygon fill="#8dd3c7" stroke="black" points="200.2,-122 197.2,-126 176.2,-126 173.2,-122 23.8,-122 23.8,-86 200.2,-86 200.2,-122"/>
|
||||
<text text-anchor="middle" x="112" y="-99.8" font-family="Times,serif" font-size="14.00">TransactionsRoutingModule</text>
|
||||
<polygon fill="#8dd3c7" stroke="black" points="582.2,-122 579.2,-126 558.2,-126 555.2,-122 405.8,-122 405.8,-86 582.2,-86 582.2,-122"/>
|
||||
<text text-anchor="middle" x="494" y="-99.8" font-family="Times,serif" font-size="14.00">TransactionsRoutingModule</text>
|
||||
</g>
|
||||
<!-- TransactionsRoutingModule->TransactionsModule -->
|
||||
<g id="edge4" class="edge">
|
||||
<title>TransactionsRoutingModule->TransactionsModule</title>
|
||||
<path fill="none" stroke="black" d="M112,-122.11C112,-141.34 112,-169 112,-169 112,-169 265.38,-169 265.38,-169"/>
|
||||
<polygon fill="black" stroke="black" points="265.38,-172.5 275.38,-169 265.38,-165.5 265.38,-172.5"/>
|
||||
<path fill="none" stroke="black" d="M431.22,-122.11C431.22,-122.11 431.22,-140.99 431.22,-140.99"/>
|
||||
<polygon fill="black" stroke="black" points="427.72,-140.99 431.22,-150.99 434.72,-140.99 427.72,-140.99"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
@ -24,83 +24,83 @@
|
||||
<title>cluster_TransactionsModule</title>
|
||||
<polygon fill="none" stroke="black" stroke-dasharray="1,5" points="8,-70 8,-268 714,-268 714,-70 8,-70"/>
|
||||
</g>
|
||||
<g id="clust2" class="cluster">
|
||||
<title>cluster_TransactionsModule_declarations</title>
|
||||
<polygon fill="none" stroke="black" points="332,-78 332,-130 706,-130 706,-78 332,-78"/>
|
||||
</g>
|
||||
<g id="clust5" class="cluster">
|
||||
<title>cluster_TransactionsModule_imports</title>
|
||||
<polygon fill="none" stroke="black" points="16,-78 16,-130 324,-130 324,-78 16,-78"/>
|
||||
<polygon fill="none" stroke="black" points="398,-78 398,-130 706,-130 706,-78 398,-78"/>
|
||||
</g>
|
||||
<g id="clust6" class="cluster">
|
||||
<title>cluster_TransactionsModule_exports</title>
|
||||
<polygon fill="none" stroke="black" points="238,-208 238,-260 444,-260 444,-208 238,-208"/>
|
||||
<polygon fill="none" stroke="black" points="288,-208 288,-260 494,-260 494,-208 288,-208"/>
|
||||
</g>
|
||||
<g id="clust2" class="cluster">
|
||||
<title>cluster_TransactionsModule_declarations</title>
|
||||
<polygon fill="none" stroke="black" points="16,-78 16,-130 390,-130 390,-78 16,-78"/>
|
||||
</g>
|
||||
<!-- TransactionDetailsComponent -->
|
||||
<g id="node1" class="node">
|
||||
<title>TransactionDetailsComponent</title>
|
||||
<polygon fill="#ffffb3" stroke="black" points="697.57,-122 510.43,-122 510.43,-86 697.57,-86 697.57,-122"/>
|
||||
<text text-anchor="middle" x="604" y="-99.8" font-family="Times,serif" font-size="14.00">TransactionDetailsComponent</text>
|
||||
<polygon fill="#ffffb3" stroke="black" points="381.57,-122 194.43,-122 194.43,-86 381.57,-86 381.57,-122"/>
|
||||
<text text-anchor="middle" x="288" y="-99.8" font-family="Times,serif" font-size="14.00">TransactionDetailsComponent</text>
|
||||
</g>
|
||||
<!-- TransactionsModule -->
|
||||
<g id="node3" class="node">
|
||||
<title>TransactionsModule</title>
|
||||
<polygon fill="#8dd3c7" stroke="black" points="406.58,-187 403.58,-191 382.58,-191 379.58,-187 275.42,-187 275.42,-151 406.58,-151 406.58,-187"/>
|
||||
<text text-anchor="middle" x="341" y="-164.8" font-family="Times,serif" font-size="14.00">TransactionsModule</text>
|
||||
<polygon fill="#8dd3c7" stroke="black" points="456.58,-187 453.58,-191 432.58,-191 429.58,-187 325.42,-187 325.42,-151 456.58,-151 456.58,-187"/>
|
||||
<text text-anchor="middle" x="391" y="-164.8" font-family="Times,serif" font-size="14.00">TransactionsModule</text>
|
||||
</g>
|
||||
<!-- TransactionDetailsComponent->TransactionsModule -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>TransactionDetailsComponent->TransactionsModule</title>
|
||||
<path fill="none" stroke="black" d="M604,-122.11C604,-141.34 604,-169 604,-169 604,-169 416.69,-169 416.69,-169"/>
|
||||
<polygon fill="black" stroke="black" points="416.69,-165.5 406.69,-169 416.69,-172.5 416.69,-165.5"/>
|
||||
<path fill="none" stroke="black" d="M353.5,-122.11C353.5,-122.11 353.5,-140.99 353.5,-140.99"/>
|
||||
<polygon fill="black" stroke="black" points="350,-140.99 353.5,-150.99 357,-140.99 350,-140.99"/>
|
||||
</g>
|
||||
<!-- TransactionsComponent -->
|
||||
<g id="node2" class="node">
|
||||
<title>TransactionsComponent</title>
|
||||
<polygon fill="#ffffb3" stroke="black" points="492.36,-122 339.64,-122 339.64,-86 492.36,-86 492.36,-122"/>
|
||||
<text text-anchor="middle" x="416" y="-99.8" font-family="Times,serif" font-size="14.00">TransactionsComponent</text>
|
||||
<polygon fill="#ffffb3" stroke="black" points="176.36,-122 23.64,-122 23.64,-86 176.36,-86 176.36,-122"/>
|
||||
<text text-anchor="middle" x="100" y="-99.8" font-family="Times,serif" font-size="14.00">TransactionsComponent</text>
|
||||
</g>
|
||||
<!-- TransactionsComponent->TransactionsModule -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>TransactionsComponent->TransactionsModule</title>
|
||||
<path fill="none" stroke="black" d="M373.05,-122.11C373.05,-122.11 373.05,-140.99 373.05,-140.99"/>
|
||||
<polygon fill="black" stroke="black" points="369.55,-140.99 373.05,-150.99 376.55,-140.99 369.55,-140.99"/>
|
||||
<path fill="none" stroke="black" d="M100,-122.11C100,-141.34 100,-169 100,-169 100,-169 315.33,-169 315.33,-169"/>
|
||||
<polygon fill="black" stroke="black" points="315.33,-172.5 325.33,-169 315.33,-165.5 315.33,-172.5"/>
|
||||
</g>
|
||||
<!-- TransactionDetailsComponent -->
|
||||
<g id="node6" class="node">
|
||||
<title>TransactionDetailsComponent </title>
|
||||
<polygon fill="#fb8072" stroke="black" points="436.07,-252 245.93,-252 245.93,-216 436.07,-216 436.07,-252"/>
|
||||
<text text-anchor="middle" x="341" y="-229.8" font-family="Times,serif" font-size="14.00">TransactionDetailsComponent </text>
|
||||
<polygon fill="#fb8072" stroke="black" points="486.07,-252 295.93,-252 295.93,-216 486.07,-216 486.07,-252"/>
|
||||
<text text-anchor="middle" x="391" y="-229.8" font-family="Times,serif" font-size="14.00">TransactionDetailsComponent </text>
|
||||
</g>
|
||||
<!-- TransactionsModule->TransactionDetailsComponent -->
|
||||
<g id="edge5" class="edge">
|
||||
<title>TransactionsModule->TransactionDetailsComponent </title>
|
||||
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M341,-187.11C341,-187.11 341,-205.99 341,-205.99"/>
|
||||
<polygon fill="black" stroke="black" points="337.5,-205.99 341,-215.99 344.5,-205.99 337.5,-205.99"/>
|
||||
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M391,-187.11C391,-187.11 391,-205.99 391,-205.99"/>
|
||||
<polygon fill="black" stroke="black" points="387.5,-205.99 391,-215.99 394.5,-205.99 387.5,-205.99"/>
|
||||
</g>
|
||||
<!-- SharedModule -->
|
||||
<g id="node4" class="node">
|
||||
<title>SharedModule</title>
|
||||
<polygon fill="#8dd3c7" stroke="black" points="316.42,-122 313.42,-126 292.42,-126 289.42,-122 217.58,-122 217.58,-86 316.42,-86 316.42,-122"/>
|
||||
<text text-anchor="middle" x="267" y="-99.8" font-family="Times,serif" font-size="14.00">SharedModule</text>
|
||||
<polygon fill="#8dd3c7" stroke="black" points="698.42,-122 695.42,-126 674.42,-126 671.42,-122 599.58,-122 599.58,-86 698.42,-86 698.42,-122"/>
|
||||
<text text-anchor="middle" x="649" y="-99.8" font-family="Times,serif" font-size="14.00">SharedModule</text>
|
||||
</g>
|
||||
<!-- SharedModule->TransactionsModule -->
|
||||
<g id="edge3" class="edge">
|
||||
<title>SharedModule->TransactionsModule</title>
|
||||
<path fill="none" stroke="black" d="M295.84,-122.11C295.84,-122.11 295.84,-140.99 295.84,-140.99"/>
|
||||
<polygon fill="black" stroke="black" points="292.34,-140.99 295.84,-150.99 299.34,-140.99 292.34,-140.99"/>
|
||||
<path fill="none" stroke="black" d="M649,-122.11C649,-141.34 649,-169 649,-169 649,-169 466.77,-169 466.77,-169"/>
|
||||
<polygon fill="black" stroke="black" points="466.77,-165.5 456.77,-169 466.77,-172.5 466.77,-165.5"/>
|
||||
</g>
|
||||
<!-- TransactionsRoutingModule -->
|
||||
<g id="node5" class="node">
|
||||
<title>TransactionsRoutingModule</title>
|
||||
<polygon fill="#8dd3c7" stroke="black" points="200.2,-122 197.2,-126 176.2,-126 173.2,-122 23.8,-122 23.8,-86 200.2,-86 200.2,-122"/>
|
||||
<text text-anchor="middle" x="112" y="-99.8" font-family="Times,serif" font-size="14.00">TransactionsRoutingModule</text>
|
||||
<polygon fill="#8dd3c7" stroke="black" points="582.2,-122 579.2,-126 558.2,-126 555.2,-122 405.8,-122 405.8,-86 582.2,-86 582.2,-122"/>
|
||||
<text text-anchor="middle" x="494" y="-99.8" font-family="Times,serif" font-size="14.00">TransactionsRoutingModule</text>
|
||||
</g>
|
||||
<!-- TransactionsRoutingModule->TransactionsModule -->
|
||||
<g id="edge4" class="edge">
|
||||
<title>TransactionsRoutingModule->TransactionsModule</title>
|
||||
<path fill="none" stroke="black" d="M112,-122.11C112,-141.34 112,-169 112,-169 112,-169 265.38,-169 265.38,-169"/>
|
||||
<polygon fill="black" stroke="black" points="265.38,-172.5 275.38,-169 265.38,-165.5 265.38,-172.5"/>
|
||||
<path fill="none" stroke="black" d="M431.22,-122.11C431.22,-122.11 431.22,-140.99 431.22,-140.99"/>
|
||||
<polygon fill="black" stroke="black" points="427.72,-140.99 431.22,-150.99 434.72,-140.99 427.72,-140.99"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 6.3 KiB |
@ -68,6 +68,19 @@
|
||||
<div class="container container-main">
|
||||
<div class="row">
|
||||
<div class="col-8 col-content">
|
||||
<section class="tsd-panel tsd-comment">
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<div class="lead">
|
||||
<p>Auth guard implementation.
|
||||
Dictates access to routes depending on the authentication status.</p>
|
||||
</div>
|
||||
<dl class="tsd-comment-tags">
|
||||
<dt>implements</dt>
|
||||
<dd><p>CanActivate</p>
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</section>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h3>Hierarchy</h3>
|
||||
<ul class="tsd-hierarchy">
|
||||
@ -113,13 +126,21 @@
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in src/app/_guards/auth.guard.ts:8</li>
|
||||
<li>Defined in src/app/_guards/auth.guard.ts:17</li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<div class="lead">
|
||||
<p>Instantiates the auth guard class.</p>
|
||||
</div>
|
||||
</div>
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameters">
|
||||
<li>
|
||||
<h5>router: <span class="tsd-signature-type">Router</span></h5>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<p>A service that provides navigation among views and URL manipulation capabilities.</p>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<h4 class="tsd-returns-title">Returns <a href="app__guards_auth_guard.authguard.html" class="tsd-signature-type" data-tsd-kind="Class">AuthGuard</a></h4>
|
||||
@ -140,19 +161,33 @@
|
||||
<aside class="tsd-sources">
|
||||
<p>Implementation of CanActivate.canActivate</p>
|
||||
<ul>
|
||||
<li>Defined in src/app/_guards/auth.guard.ts:12</li>
|
||||
<li>Defined in src/app/_guards/auth.guard.ts:35</li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<div class="lead">
|
||||
<p>Returns whether navigation to a specific route is acceptable.
|
||||
Checks if the user has uploaded a private key.</p>
|
||||
</div>
|
||||
</div>
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameters">
|
||||
<li>
|
||||
<h5>route: <span class="tsd-signature-type">ActivatedRouteSnapshot</span></h5>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<p>Contains the information about a route associated with a component loaded in an outlet at a particular moment in time.
|
||||
ActivatedRouteSnapshot can also be used to traverse the router state tree.</p>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<h5>state: <span class="tsd-signature-type">RouterStateSnapshot</span></h5>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<p>Represents the state of the router at a moment in time.</p>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">UrlTree</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">UrlTree</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">UrlTree</span><span class="tsd-signature-symbol">></span></h4>
|
||||
<p>true - If there is an active private key in the user's localStorage.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
@ -68,6 +68,19 @@
|
||||
<div class="container container-main">
|
||||
<div class="row">
|
||||
<div class="col-8 col-content">
|
||||
<section class="tsd-panel tsd-comment">
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<div class="lead">
|
||||
<p>Role guard implementation.
|
||||
Dictates access to routes depending on the user's role.</p>
|
||||
</div>
|
||||
<dl class="tsd-comment-tags">
|
||||
<dt>implements</dt>
|
||||
<dd><p>CanActivate</p>
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</section>
|
||||
<section class="tsd-panel tsd-hierarchy">
|
||||
<h3>Hierarchy</h3>
|
||||
<ul class="tsd-hierarchy">
|
||||
@ -113,13 +126,21 @@
|
||||
<li class="tsd-description">
|
||||
<aside class="tsd-sources">
|
||||
<ul>
|
||||
<li>Defined in src/app/_guards/role.guard.ts:8</li>
|
||||
<li>Defined in src/app/_guards/role.guard.ts:17</li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<div class="lead">
|
||||
<p>Instantiates the role guard class.</p>
|
||||
</div>
|
||||
</div>
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameters">
|
||||
<li>
|
||||
<h5>router: <span class="tsd-signature-type">Router</span></h5>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<p>A service that provides navigation among views and URL manipulation capabilities.</p>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<h4 class="tsd-returns-title">Returns <a href="app__guards_role_guard.roleguard.html" class="tsd-signature-type" data-tsd-kind="Class">RoleGuard</a></h4>
|
||||
@ -140,19 +161,33 @@
|
||||
<aside class="tsd-sources">
|
||||
<p>Implementation of CanActivate.canActivate</p>
|
||||
<ul>
|
||||
<li>Defined in src/app/_guards/role.guard.ts:12</li>
|
||||
<li>Defined in src/app/_guards/role.guard.ts:35</li>
|
||||
</ul>
|
||||
</aside>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<div class="lead">
|
||||
<p>Returns whether navigation to a specific route is acceptable.
|
||||
Checks if the user has the required role to access the route.</p>
|
||||
</div>
|
||||
</div>
|
||||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||||
<ul class="tsd-parameters">
|
||||
<li>
|
||||
<h5>route: <span class="tsd-signature-type">ActivatedRouteSnapshot</span></h5>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<p>Contains the information about a route associated with a component loaded in an outlet at a particular moment in time.
|
||||
ActivatedRouteSnapshot can also be used to traverse the router state tree.</p>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<h5>state: <span class="tsd-signature-type">RouterStateSnapshot</span></h5>
|
||||
<div class="tsd-comment tsd-typography">
|
||||
<p>Represents the state of the router at a moment in time.</p>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">UrlTree</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Observable</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">UrlTree</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">UrlTree</span><span class="tsd-signature-symbol">></span></h4>
|
||||
<p>true - If the user's role matches with accepted roles.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
@ -1,5 +1,7 @@
|
||||
// Core imports
|
||||
import { TestBed } from '@angular/core/testing';
|
||||
|
||||
// Application imports
|
||||
import { AuthGuard } from '@app/_guards/auth.guard';
|
||||
|
||||
describe('AuthGuard', () => {
|
||||
|
@ -1,14 +1,37 @@
|
||||
// Core imports
|
||||
import { Injectable } from '@angular/core';
|
||||
import {CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, UrlTree, Router} from '@angular/router';
|
||||
import {ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot, UrlTree} from '@angular/router';
|
||||
|
||||
// Third party imports
|
||||
import { Observable } from 'rxjs';
|
||||
|
||||
/**
|
||||
* Auth guard implementation.
|
||||
* Dictates access to routes depending on the authentication status.
|
||||
*
|
||||
* @implements CanActivate
|
||||
*/
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
})
|
||||
export class AuthGuard implements CanActivate {
|
||||
|
||||
/**
|
||||
* Instantiates the auth guard class.
|
||||
*
|
||||
* @param router - A service that provides navigation among views and URL manipulation capabilities.
|
||||
*/
|
||||
constructor(private router: Router) {}
|
||||
|
||||
/**
|
||||
* Returns whether navigation to a specific route is acceptable.
|
||||
* Checks if the user has uploaded a private key.
|
||||
*
|
||||
* @param route - Contains the information about a route associated with a component loaded in an outlet at a particular moment in time.
|
||||
* ActivatedRouteSnapshot can also be used to traverse the router state tree.
|
||||
* @param state - Represents the state of the router at a moment in time.
|
||||
* @returns true - If there is an active private key in the user's localStorage.
|
||||
*/
|
||||
canActivate(
|
||||
route: ActivatedRouteSnapshot,
|
||||
state: RouterStateSnapshot): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree {
|
||||
|
@ -1,5 +1,7 @@
|
||||
// Core imports
|
||||
import { TestBed } from '@angular/core/testing';
|
||||
|
||||
// Application imports
|
||||
import { RoleGuard } from '@app/_guards/role.guard';
|
||||
|
||||
describe('RoleGuard', () => {
|
||||
|
@ -1,14 +1,37 @@
|
||||
// Core imports
|
||||
import { Injectable } from '@angular/core';
|
||||
import {CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, UrlTree, Router} from '@angular/router';
|
||||
import {ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot, UrlTree} from '@angular/router';
|
||||
|
||||
// Third party imports
|
||||
import { Observable } from 'rxjs';
|
||||
|
||||
/**
|
||||
* Role guard implementation.
|
||||
* Dictates access to routes depending on the user's role.
|
||||
*
|
||||
* @implements CanActivate
|
||||
*/
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
})
|
||||
export class RoleGuard implements CanActivate {
|
||||
|
||||
/**
|
||||
* Instantiates the role guard class.
|
||||
*
|
||||
* @param router - A service that provides navigation among views and URL manipulation capabilities.
|
||||
*/
|
||||
constructor(private router: Router) {}
|
||||
|
||||
/**
|
||||
* Returns whether navigation to a specific route is acceptable.
|
||||
* Checks if the user has the required role to access the route.
|
||||
*
|
||||
* @param route - Contains the information about a route associated with a component loaded in an outlet at a particular moment in time.
|
||||
* ActivatedRouteSnapshot can also be used to traverse the router state tree.
|
||||
* @param state - Represents the state of the router at a moment in time.
|
||||
* @returns true - If the user's role matches with accepted roles.
|
||||
*/
|
||||
canActivate(
|
||||
route: ActivatedRouteSnapshot,
|
||||
state: RouterStateSnapshot): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree {
|
||||
|