@rxap/ngx-material-authentication 18.0.2 → 18.0.3-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/README.md +1 -1
- package/compodoc/changelog.html +216 -0
- package/compodoc/components/AuthenticationContainerComponent.html +375 -0
- package/compodoc/components/LoadingComponent.html +613 -0
- package/compodoc/components/LoginComponent.html +872 -0
- package/compodoc/components/ResetPasswordComponent.html +571 -0
- package/compodoc/dependencies.html +219 -0
- package/compodoc/fonts/ionicons.eot +0 -0
- package/compodoc/fonts/ionicons.svg +2090 -0
- package/compodoc/fonts/ionicons.ttf +0 -0
- package/compodoc/fonts/ionicons.woff +0 -0
- package/compodoc/fonts/ionicons.woff2 +0 -0
- package/compodoc/fonts/roboto-v15-latin-300.eot +0 -0
- package/compodoc/fonts/roboto-v15-latin-300.svg +314 -0
- package/compodoc/fonts/roboto-v15-latin-300.ttf +0 -0
- package/compodoc/fonts/roboto-v15-latin-300.woff +0 -0
- package/compodoc/fonts/roboto-v15-latin-300.woff2 +0 -0
- package/compodoc/fonts/roboto-v15-latin-700.eot +0 -0
- package/compodoc/fonts/roboto-v15-latin-700.svg +310 -0
- package/compodoc/fonts/roboto-v15-latin-700.ttf +0 -0
- package/compodoc/fonts/roboto-v15-latin-700.woff +0 -0
- package/compodoc/fonts/roboto-v15-latin-700.woff2 +0 -0
- package/compodoc/fonts/roboto-v15-latin-italic.eot +0 -0
- package/compodoc/fonts/roboto-v15-latin-italic.svg +323 -0
- package/compodoc/fonts/roboto-v15-latin-italic.ttf +0 -0
- package/compodoc/fonts/roboto-v15-latin-italic.woff +0 -0
- package/compodoc/fonts/roboto-v15-latin-italic.woff2 +0 -0
- package/compodoc/fonts/roboto-v15-latin-regular.eot +0 -0
- package/compodoc/fonts/roboto-v15-latin-regular.svg +308 -0
- package/compodoc/fonts/roboto-v15-latin-regular.ttf +0 -0
- package/compodoc/fonts/roboto-v15-latin-regular.woff +0 -0
- package/compodoc/fonts/roboto-v15-latin-regular.woff2 +0 -0
- package/compodoc/graph/dependencies.svg +24 -0
- package/compodoc/images/compodoc-vectorise-inverted.png +0 -0
- package/compodoc/images/compodoc-vectorise-inverted.svg +201 -0
- package/compodoc/images/compodoc-vectorise.png +0 -0
- package/compodoc/images/compodoc-vectorise.svg +201 -0
- package/compodoc/images/favicon.ico +0 -0
- package/compodoc/index.html +190 -0
- package/compodoc/injectables/LoginForm.html +734 -0
- package/compodoc/injectables/LoginFormSubmitMethod.html +497 -0
- package/compodoc/injectables/LoginFormSubmitSuccessful.html +467 -0
- package/compodoc/injectables/RequestResetPasswordMethod.html +335 -0
- package/compodoc/injectables/ResetPasswordForm.html +656 -0
- package/compodoc/injectables/ResetPasswordFormSubmitMethod.html +547 -0
- package/compodoc/injectables/SetNewPasswordWithResetTokenMethod.html +339 -0
- package/compodoc/injectables/SignInWithEmailAndPasswordMethod.html +337 -0
- package/compodoc/interfaces/ILoginForm.html +445 -0
- package/compodoc/interfaces/IResetPasswordForm.html +459 -0
- package/compodoc/interfaces/RequestResetPasswordMethodParameters.html +295 -0
- package/compodoc/interfaces/SetNewPasswordWithResetTokenMethodParameters.html +335 -0
- package/compodoc/interfaces/SignInWithEmailAndPasswordMethodParameters.html +381 -0
- package/compodoc/js/compodoc.js +14 -0
- package/compodoc/js/lazy-load-graphs.js +44 -0
- package/compodoc/js/libs/EventDispatcher.js +5 -0
- package/compodoc/js/libs/bootstrap-native.js +2 -0
- package/compodoc/js/libs/clipboard.min.js +7 -0
- package/compodoc/js/libs/custom-elements-es5-adapter.js +15 -0
- package/compodoc/js/libs/custom-elements.min.js +38 -0
- package/compodoc/js/libs/d3.v3.min.js +2 -0
- package/compodoc/js/libs/deep-iterator.js +2 -0
- package/compodoc/js/libs/es6-shim.min.js +12 -0
- package/compodoc/js/libs/htmlparser.js +23 -0
- package/compodoc/js/libs/innersvg.js +9 -0
- package/compodoc/js/libs/lit-html.js +1 -0
- package/compodoc/js/libs/prism.js +46 -0
- package/compodoc/js/libs/promise.min.js +6 -0
- package/compodoc/js/libs/svg-pan-zoom.min.js +3 -0
- package/compodoc/js/libs/tablesort.min.js +6 -0
- package/compodoc/js/libs/tablesort.number.min.js +6 -0
- package/compodoc/js/libs/vis.min.js +47 -0
- package/compodoc/js/libs/zepto.min.js +2 -0
- package/compodoc/js/menu-wc.js +163 -0
- package/compodoc/js/menu-wc_es5.js +40 -0
- package/compodoc/js/menu.js +270 -0
- package/compodoc/js/routes.js +301 -0
- package/compodoc/js/search/lunr.min.js +6 -0
- package/compodoc/js/search/search-lunr.js +67 -0
- package/compodoc/js/search/search.js +283 -0
- package/compodoc/js/search/search_index.js +4 -0
- package/compodoc/js/sourceCode.js +58 -0
- package/compodoc/js/svg-pan-zoom.controls.js +53 -0
- package/compodoc/js/tabs.js +21 -0
- package/compodoc/js/tree.js +147 -0
- package/compodoc/license.html +731 -0
- package/compodoc/miscellaneous/variables.html +369 -0
- package/compodoc/modules.html +183 -0
- package/compodoc/overview.html +209 -0
- package/compodoc/properties.html +195 -0
- package/compodoc/styles/bootstrap-card.css +219 -0
- package/compodoc/styles/bootstrap.min.css +6 -0
- package/compodoc/styles/compodoc.css +1124 -0
- package/compodoc/styles/dark.css +121 -0
- package/compodoc/styles/ionicons.min.css +11 -0
- package/compodoc/styles/laravel.css +113 -0
- package/compodoc/styles/material.css +131 -0
- package/compodoc/styles/original.css +51 -0
- package/compodoc/styles/postmark.css +238 -0
- package/compodoc/styles/prism.css +301 -0
- package/compodoc/styles/readthedocs.css +117 -0
- package/compodoc/styles/reset.css +129 -0
- package/compodoc/styles/stripe.css +106 -0
- package/compodoc/styles/style.css +7 -0
- package/compodoc/styles/tablesort.css +33 -0
- package/compodoc/styles/vagrant.css +130 -0
- package/docs/.nojekyll +1 -0
- package/docs/assets/highlight.css +43 -0
- package/docs/assets/icons.js +15 -0
- package/docs/assets/icons.svg +1 -0
- package/docs/assets/main.js +59 -0
- package/docs/assets/navigation.js +1 -0
- package/docs/assets/search.js +1 -0
- package/docs/assets/style.css +1412 -0
- package/docs/classes/AuthenticationContainerComponent.html +2 -0
- package/docs/classes/LoadingComponent.html +7 -0
- package/docs/classes/LoginComponent.html +7 -0
- package/docs/classes/LoginForm.html +10 -0
- package/docs/classes/LoginFormSubmitMethod.html +4 -0
- package/docs/classes/LoginFormSubmitSuccessful.html +4 -0
- package/docs/classes/RequestResetPasswordMethod.html +3 -0
- package/docs/classes/ResetPasswordComponent.html +2 -0
- package/docs/classes/ResetPasswordForm.html +7 -0
- package/docs/classes/ResetPasswordFormSubmitMethod.html +7 -0
- package/docs/classes/SetNewPasswordWithResetTokenMethod.html +3 -0
- package/docs/classes/SignInWithEmailAndPasswordMethod.html +3 -0
- package/docs/documentation.json +3744 -0
- package/docs/index.html +16 -0
- package/docs/interfaces/ILoginForm.html +3 -0
- package/docs/interfaces/IResetPasswordForm.html +3 -0
- package/docs/interfaces/RequestResetPasswordMethodParameters.html +2 -0
- package/docs/interfaces/SetNewPasswordWithResetTokenMethodParameters.html +3 -0
- package/docs/interfaces/SignInWithEmailAndPasswordMethodParameters.html +4 -0
- package/docs/modules.html +23 -0
- package/docs/variables/AUTHENTICATION_ROUTE.html +1 -0
- package/docs/variables/LoginFormProviders.html +1 -0
- package/docs/variables/RXAP_RESET_PASSWORD_FORM.html +1 -0
- package/docs/variables/ResetPasswordFormProviders.html +1 -0
- package/docs/variables/fadeAnimation.html +1 -0
- package/package.json +28 -28
|
@@ -0,0 +1,872 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html class="no-js" lang="">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
|
6
|
+
<title>angular-material-authentication</title>
|
|
7
|
+
<meta name="description" content="">
|
|
8
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
|
+
|
|
10
|
+
<link rel="icon" type="image/x-icon" href="../images/favicon.ico">
|
|
11
|
+
<link rel="stylesheet" href="../styles/style.css">
|
|
12
|
+
<link rel="stylesheet" href="../styles/dark.css">
|
|
13
|
+
</head>
|
|
14
|
+
<body>
|
|
15
|
+
<script>
|
|
16
|
+
// Blocking script to avoid flickering dark mode
|
|
17
|
+
// Dark mode toggle button
|
|
18
|
+
var useDark = window.matchMedia('(prefers-color-scheme: dark)');
|
|
19
|
+
var darkModeState = useDark.matches;
|
|
20
|
+
var $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
21
|
+
var $darkModeToggles = document.querySelectorAll('.dark-mode-switch');
|
|
22
|
+
var darkModeStateLocal = localStorage.getItem('compodoc_darkmode-state');
|
|
23
|
+
|
|
24
|
+
function checkToggle(check) {
|
|
25
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
26
|
+
$darkModeToggleSwitchers[i].checked = check;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
function toggleDarkMode(state) {
|
|
31
|
+
if (window.localStorage) {
|
|
32
|
+
localStorage.setItem('compodoc_darkmode-state', state);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
checkToggle(state);
|
|
36
|
+
|
|
37
|
+
const hasClass = document.body.classList.contains('dark');
|
|
38
|
+
|
|
39
|
+
if (state) {
|
|
40
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
41
|
+
$darkModeToggles[i].classList.add('dark');
|
|
42
|
+
}
|
|
43
|
+
if (!hasClass) {
|
|
44
|
+
document.body.classList.add('dark');
|
|
45
|
+
}
|
|
46
|
+
} else {
|
|
47
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
48
|
+
$darkModeToggles[i].classList.remove('dark');
|
|
49
|
+
}
|
|
50
|
+
if (hasClass) {
|
|
51
|
+
document.body.classList.remove('dark');
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
useDark.addEventListener('change', function (evt) {
|
|
57
|
+
toggleDarkMode(evt.matches);
|
|
58
|
+
});
|
|
59
|
+
if (darkModeStateLocal) {
|
|
60
|
+
darkModeState = darkModeStateLocal === 'true';
|
|
61
|
+
}
|
|
62
|
+
toggleDarkMode(darkModeState);
|
|
63
|
+
</script>
|
|
64
|
+
|
|
65
|
+
<div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
|
|
66
|
+
<div class="d-flex">
|
|
67
|
+
<a href="../" class="navbar-brand">angular-material-authentication</a>
|
|
68
|
+
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
71
|
+
|
|
72
|
+
<div class="xs-menu menu" id="mobile-menu">
|
|
73
|
+
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu>
|
|
74
|
+
</div>
|
|
75
|
+
|
|
76
|
+
<div class="container-fluid main">
|
|
77
|
+
<div class="row main">
|
|
78
|
+
<div class="d-none d-md-block menu">
|
|
79
|
+
<compodoc-menu mode="normal"></compodoc-menu>
|
|
80
|
+
</div>
|
|
81
|
+
<!-- START CONTENT -->
|
|
82
|
+
<div class="content component">
|
|
83
|
+
<div class="content-data">
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
<ol class="breadcrumb">
|
|
89
|
+
<li class="breadcrumb-item">Components</li>
|
|
90
|
+
<li class="breadcrumb-item"
|
|
91
|
+
>
|
|
92
|
+
LoginComponent</li>
|
|
93
|
+
</ol>
|
|
94
|
+
|
|
95
|
+
<ul class="nav nav-tabs" role="tablist">
|
|
96
|
+
<li class="nav-item">
|
|
97
|
+
<a href="#info" class="nav-link active"
|
|
98
|
+
role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
|
|
99
|
+
</li>
|
|
100
|
+
<li class="nav-item">
|
|
101
|
+
<a href="#source" class="nav-link"
|
|
102
|
+
role="tab" id="source-tab" data-bs-toggle="tab" data-link="source">Source</a>
|
|
103
|
+
</li>
|
|
104
|
+
<li class="nav-item">
|
|
105
|
+
<a href="#templateData" class="nav-link"
|
|
106
|
+
role="tab" id="templateData-tab" data-bs-toggle="tab" data-link="template">Template</a>
|
|
107
|
+
</li>
|
|
108
|
+
<li class="nav-item">
|
|
109
|
+
<a href="#styleData" class="nav-link"
|
|
110
|
+
role="tab" id="styleData-tab" data-bs-toggle="tab" data-link="style">Styles</a>
|
|
111
|
+
</li>
|
|
112
|
+
<li class="nav-item">
|
|
113
|
+
<a href="#tree" class="nav-link"
|
|
114
|
+
role="tab" id="tree-tab" data-bs-toggle="tab" data-link="dom-tree">DOM Tree</a>
|
|
115
|
+
</li>
|
|
116
|
+
</ul>
|
|
117
|
+
|
|
118
|
+
<div class="tab-content">
|
|
119
|
+
<div class="tab-pane fade active in" id="info"><p class="comment">
|
|
120
|
+
<h3>File</h3>
|
|
121
|
+
</p>
|
|
122
|
+
<p class="comment">
|
|
123
|
+
<code>src/lib/login/login.component.ts</code>
|
|
124
|
+
</p>
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
<section data-compodoc="block-metadata">
|
|
132
|
+
<h3>Metadata</h3>
|
|
133
|
+
<table class="table table-sm table-hover metadata">
|
|
134
|
+
<tbody>
|
|
135
|
+
|
|
136
|
+
<tr>
|
|
137
|
+
<td class="col-md-3">changeDetection</td>
|
|
138
|
+
<td class="col-md-9"><code>ChangeDetectionStrategy.OnPush</code></td>
|
|
139
|
+
</tr>
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
<tr>
|
|
150
|
+
<td class="col-md-3">providers</td>
|
|
151
|
+
<td class="col-md-9">
|
|
152
|
+
<code><a href="../miscellaneous/variables.html#LoginFormProviders" target="_self" >LoginFormProviders</a></code>
|
|
153
|
+
<code>{
|
|
154
|
+
provide: ErrorStateMatcher, useClass: ShowOnDirtyErrorStateMatcher,
|
|
155
|
+
}</code>
|
|
156
|
+
</td>
|
|
157
|
+
</tr>
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
<tr>
|
|
161
|
+
<td class="col-md-3">selector</td>
|
|
162
|
+
<td class="col-md-9"><code>rxap-login</code></td>
|
|
163
|
+
</tr>
|
|
164
|
+
|
|
165
|
+
<tr>
|
|
166
|
+
<td class="col-md-3">standalone</td>
|
|
167
|
+
<td class="col-md-9"><code>true</code></td>
|
|
168
|
+
</tr>
|
|
169
|
+
|
|
170
|
+
<tr>
|
|
171
|
+
<td class="col-md-3">imports</td>
|
|
172
|
+
<td class="col-md-9">
|
|
173
|
+
<code>ReactiveFormsModule</code>
|
|
174
|
+
<code>FormDirective</code>
|
|
175
|
+
<code>MatIconModule</code>
|
|
176
|
+
<code>MatFormFieldModule</code>
|
|
177
|
+
<code>MatInputModule</code>
|
|
178
|
+
<code>NgIf</code>
|
|
179
|
+
<code>MatButtonModule</code>
|
|
180
|
+
<code>MatCheckboxModule</code>
|
|
181
|
+
<code>MatTooltipModule</code>
|
|
182
|
+
<code>MatProgressSpinnerModule</code>
|
|
183
|
+
<code>FormControlMarkDirtyDirective</code>
|
|
184
|
+
<code>FormSubmitFailedDirective</code>
|
|
185
|
+
<code>FormSubmittingDirective</code>
|
|
186
|
+
<code>MatProgressBarModule</code>
|
|
187
|
+
<code>AsyncPipe</code>
|
|
188
|
+
<code>MatSnackBarModule</code>
|
|
189
|
+
<code>ControlErrorDirective</code>
|
|
190
|
+
</td>
|
|
191
|
+
</tr>
|
|
192
|
+
|
|
193
|
+
<tr>
|
|
194
|
+
<td class="col-md-3">styleUrls</td>
|
|
195
|
+
<td class="col-md-9"><code>./login.component.scss</code></td>
|
|
196
|
+
</tr>
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
<tr>
|
|
201
|
+
<td class="col-md-3">templateUrl</td>
|
|
202
|
+
<td class="col-md-9"><code>./login.component.html</code></td>
|
|
203
|
+
</tr>
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
</tbody>
|
|
213
|
+
</table>
|
|
214
|
+
</section>
|
|
215
|
+
|
|
216
|
+
<section data-compodoc="block-index">
|
|
217
|
+
<h3 id="index">Index</h3>
|
|
218
|
+
<table class="table table-sm table-bordered index-table">
|
|
219
|
+
<tbody>
|
|
220
|
+
<tr>
|
|
221
|
+
<td class="col-md-4">
|
|
222
|
+
<h6><b>Properties</b></h6>
|
|
223
|
+
</td>
|
|
224
|
+
</tr>
|
|
225
|
+
<tr>
|
|
226
|
+
<td class="col-md-4">
|
|
227
|
+
<ul class="index-list">
|
|
228
|
+
<li>
|
|
229
|
+
<span class="modifier">Public</span>
|
|
230
|
+
<span class="modifier">Readonly</span>
|
|
231
|
+
<a href="#requestingPasswordReset$" >requestingPasswordReset$</a>
|
|
232
|
+
</li>
|
|
233
|
+
</ul>
|
|
234
|
+
</td>
|
|
235
|
+
</tr>
|
|
236
|
+
|
|
237
|
+
<tr>
|
|
238
|
+
<td class="col-md-4">
|
|
239
|
+
<h6><b>Methods</b></h6>
|
|
240
|
+
</td>
|
|
241
|
+
</tr>
|
|
242
|
+
<tr>
|
|
243
|
+
<td class="col-md-4">
|
|
244
|
+
<ul class="index-list">
|
|
245
|
+
<li>
|
|
246
|
+
<span class="modifier">Public</span>
|
|
247
|
+
<span class="modifier">Async</span>
|
|
248
|
+
<a href="#requestPasswordReset" >requestPasswordReset</a>
|
|
249
|
+
</li>
|
|
250
|
+
</ul>
|
|
251
|
+
</td>
|
|
252
|
+
</tr>
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
</tbody>
|
|
259
|
+
</table>
|
|
260
|
+
</section>
|
|
261
|
+
|
|
262
|
+
<section data-compodoc="block-constructor">
|
|
263
|
+
<h3 id="constructor">Constructor</h3>
|
|
264
|
+
<table class="table table-sm table-bordered">
|
|
265
|
+
<tbody>
|
|
266
|
+
<tr>
|
|
267
|
+
<td class="col-md-4">
|
|
268
|
+
<code>constructor(authentication: RxapAuthenticationService, snackBar: MatSnackBar)</code>
|
|
269
|
+
</td>
|
|
270
|
+
</tr>
|
|
271
|
+
<tr>
|
|
272
|
+
<td class="col-md-4">
|
|
273
|
+
<div class="io-line">Defined in <a href="" data-line="81" class="link-to-prism">src/lib/login/login.component.ts:81</a></div>
|
|
274
|
+
</td>
|
|
275
|
+
</tr>
|
|
276
|
+
|
|
277
|
+
<tr>
|
|
278
|
+
<td class="col-md-4">
|
|
279
|
+
<div>
|
|
280
|
+
<b>Parameters :</b>
|
|
281
|
+
<table class="params">
|
|
282
|
+
<thead>
|
|
283
|
+
<tr>
|
|
284
|
+
<td>Name</td>
|
|
285
|
+
<td>Type</td>
|
|
286
|
+
<td>Optional</td>
|
|
287
|
+
</tr>
|
|
288
|
+
</thead>
|
|
289
|
+
<tbody>
|
|
290
|
+
<tr>
|
|
291
|
+
<td>authentication</td>
|
|
292
|
+
|
|
293
|
+
<td>
|
|
294
|
+
<code>RxapAuthenticationService</code>
|
|
295
|
+
</td>
|
|
296
|
+
|
|
297
|
+
<td>
|
|
298
|
+
No
|
|
299
|
+
</td>
|
|
300
|
+
|
|
301
|
+
</tr>
|
|
302
|
+
<tr>
|
|
303
|
+
<td>snackBar</td>
|
|
304
|
+
|
|
305
|
+
<td>
|
|
306
|
+
<code>MatSnackBar</code>
|
|
307
|
+
</td>
|
|
308
|
+
|
|
309
|
+
<td>
|
|
310
|
+
No
|
|
311
|
+
</td>
|
|
312
|
+
|
|
313
|
+
</tr>
|
|
314
|
+
</tbody>
|
|
315
|
+
</table>
|
|
316
|
+
</div>
|
|
317
|
+
</td>
|
|
318
|
+
</tr>
|
|
319
|
+
</tbody>
|
|
320
|
+
</table>
|
|
321
|
+
</section>
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
<section data-compodoc="block-methods">
|
|
328
|
+
|
|
329
|
+
<h3 id="methods">
|
|
330
|
+
Methods
|
|
331
|
+
</h3>
|
|
332
|
+
<table class="table table-sm table-bordered">
|
|
333
|
+
<tbody>
|
|
334
|
+
<tr>
|
|
335
|
+
<td class="col-md-4">
|
|
336
|
+
<a name="requestPasswordReset"></a>
|
|
337
|
+
<span class="name">
|
|
338
|
+
<span class="modifier">Public</span>
|
|
339
|
+
<span class="modifier">Async</span>
|
|
340
|
+
<span ><b>requestPasswordReset</b></span>
|
|
341
|
+
<a href="#requestPasswordReset"><span class="icon ion-ios-link"></span></a>
|
|
342
|
+
</span>
|
|
343
|
+
</td>
|
|
344
|
+
</tr>
|
|
345
|
+
<tr>
|
|
346
|
+
<td class="col-md-4">
|
|
347
|
+
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
348
|
+
<code>requestPasswordReset(email: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>)</code>
|
|
349
|
+
</td>
|
|
350
|
+
</tr>
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
<tr>
|
|
354
|
+
<td class="col-md-4">
|
|
355
|
+
<div class="io-line">Defined in <a href="" data-line="91"
|
|
356
|
+
class="link-to-prism">src/lib/login/login.component.ts:91</a></div>
|
|
357
|
+
</td>
|
|
358
|
+
</tr>
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
<tr>
|
|
362
|
+
<td class="col-md-4">
|
|
363
|
+
|
|
364
|
+
<div class="io-description">
|
|
365
|
+
<b>Parameters :</b>
|
|
366
|
+
|
|
367
|
+
<table class="params">
|
|
368
|
+
<thead>
|
|
369
|
+
<tr>
|
|
370
|
+
<td>Name</td>
|
|
371
|
+
<td>Type</td>
|
|
372
|
+
<td>Optional</td>
|
|
373
|
+
</tr>
|
|
374
|
+
</thead>
|
|
375
|
+
<tbody>
|
|
376
|
+
<tr>
|
|
377
|
+
<td>email</td>
|
|
378
|
+
<td>
|
|
379
|
+
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
380
|
+
</td>
|
|
381
|
+
|
|
382
|
+
<td>
|
|
383
|
+
No
|
|
384
|
+
</td>
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
</tr>
|
|
388
|
+
</tbody>
|
|
389
|
+
</table>
|
|
390
|
+
</div>
|
|
391
|
+
<div class="io-description">
|
|
392
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
|
|
393
|
+
|
|
394
|
+
</div>
|
|
395
|
+
<div class="io-description">
|
|
396
|
+
|
|
397
|
+
</div>
|
|
398
|
+
</td>
|
|
399
|
+
</tr>
|
|
400
|
+
</tbody>
|
|
401
|
+
</table>
|
|
402
|
+
</section>
|
|
403
|
+
<section data-compodoc="block-properties">
|
|
404
|
+
|
|
405
|
+
<h3 id="inputs">
|
|
406
|
+
Properties
|
|
407
|
+
</h3>
|
|
408
|
+
<table class="table table-sm table-bordered">
|
|
409
|
+
<tbody>
|
|
410
|
+
<tr>
|
|
411
|
+
<td class="col-md-4">
|
|
412
|
+
<a name="requestingPasswordReset$"></a>
|
|
413
|
+
<span class="name">
|
|
414
|
+
<span class="modifier">Public</span>
|
|
415
|
+
<span class="modifier">Readonly</span>
|
|
416
|
+
<span ><b>requestingPasswordReset$</b></span>
|
|
417
|
+
<a href="#requestingPasswordReset$"><span class="icon ion-ios-link"></span></a>
|
|
418
|
+
</span>
|
|
419
|
+
</td>
|
|
420
|
+
</tr>
|
|
421
|
+
<tr>
|
|
422
|
+
<td class="col-md-4">
|
|
423
|
+
<i>Default value : </i><code>new ToggleSubject()</code>
|
|
424
|
+
</td>
|
|
425
|
+
</tr>
|
|
426
|
+
<tr>
|
|
427
|
+
<td class="col-md-4">
|
|
428
|
+
<div class="io-line">Defined in <a href="" data-line="79" class="link-to-prism">src/lib/login/login.component.ts:79</a></div>
|
|
429
|
+
</td>
|
|
430
|
+
</tr>
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
</tbody>
|
|
434
|
+
</table>
|
|
435
|
+
</section>
|
|
436
|
+
|
|
437
|
+
</div>
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
<div class="tab-pane fade tab-source-code" id="source">
|
|
441
|
+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
442
|
+
AsyncPipe,
|
|
443
|
+
NgIf,
|
|
444
|
+
} from '@angular/common';
|
|
445
|
+
import {
|
|
446
|
+
ChangeDetectionStrategy,
|
|
447
|
+
Component,
|
|
448
|
+
inject,
|
|
449
|
+
Inject,
|
|
450
|
+
} from '@angular/core';
|
|
451
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
|
452
|
+
import { MatButtonModule } from '@angular/material/button';
|
|
453
|
+
import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
454
|
+
import {
|
|
455
|
+
ErrorStateMatcher,
|
|
456
|
+
ShowOnDirtyErrorStateMatcher,
|
|
457
|
+
} from '@angular/material/core';
|
|
458
|
+
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
459
|
+
import { MatIconModule } from '@angular/material/icon';
|
|
460
|
+
import { MatInputModule } from '@angular/material/input';
|
|
461
|
+
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
|
462
|
+
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
463
|
+
import {
|
|
464
|
+
MatSnackBar,
|
|
465
|
+
MatSnackBarModule,
|
|
466
|
+
} from '@angular/material/snack-bar';
|
|
467
|
+
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
468
|
+
import { RxapAuthenticationService } from '@rxap/authentication';
|
|
469
|
+
import {
|
|
470
|
+
FormControlMarkDirtyDirective,
|
|
471
|
+
FormDirective,
|
|
472
|
+
FormSubmitFailedDirective,
|
|
473
|
+
FormSubmittingDirective,
|
|
474
|
+
} from '@rxap/forms';
|
|
475
|
+
import { ControlErrorDirective } from '@rxap/material-form-system';
|
|
476
|
+
import { ToggleSubject } from '@rxap/rxjs';
|
|
477
|
+
import { fadeAnimation } from '../fade-animation';
|
|
478
|
+
import { LoginFormProviders } from './login.form';
|
|
479
|
+
import { RequestResetPasswordMethod } from './request-reset-password.method';
|
|
480
|
+
|
|
481
|
+
@Component({
|
|
482
|
+
selector: 'rxap-login',
|
|
483
|
+
templateUrl: './login.component.html',
|
|
484
|
+
styleUrls: [ './login.component.scss' ],
|
|
485
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
486
|
+
providers: [
|
|
487
|
+
LoginFormProviders,
|
|
488
|
+
{
|
|
489
|
+
provide: ErrorStateMatcher,
|
|
490
|
+
useClass: ShowOnDirtyErrorStateMatcher,
|
|
491
|
+
},
|
|
492
|
+
],
|
|
493
|
+
animations: [
|
|
494
|
+
fadeAnimation,
|
|
495
|
+
],
|
|
496
|
+
standalone: true,
|
|
497
|
+
imports: [
|
|
498
|
+
ReactiveFormsModule,
|
|
499
|
+
FormDirective,
|
|
500
|
+
MatIconModule,
|
|
501
|
+
MatFormFieldModule,
|
|
502
|
+
MatInputModule,
|
|
503
|
+
NgIf,
|
|
504
|
+
MatButtonModule,
|
|
505
|
+
MatCheckboxModule,
|
|
506
|
+
MatTooltipModule,
|
|
507
|
+
MatProgressSpinnerModule,
|
|
508
|
+
FormControlMarkDirtyDirective,
|
|
509
|
+
FormSubmitFailedDirective,
|
|
510
|
+
FormSubmittingDirective,
|
|
511
|
+
MatProgressBarModule,
|
|
512
|
+
AsyncPipe,
|
|
513
|
+
MatSnackBarModule,
|
|
514
|
+
ControlErrorDirective,
|
|
515
|
+
],
|
|
516
|
+
})
|
|
517
|
+
export class LoginComponent {
|
|
518
|
+
|
|
519
|
+
public readonly requestingPasswordReset$ = new ToggleSubject();
|
|
520
|
+
|
|
521
|
+
private readonly requestPasswordResetMethod = inject(RequestResetPasswordMethod);
|
|
522
|
+
|
|
523
|
+
constructor(
|
|
524
|
+
@Inject(RxapAuthenticationService)
|
|
525
|
+
private readonly authentication: RxapAuthenticationService,
|
|
526
|
+
@Inject(MatSnackBar)
|
|
527
|
+
private readonly snackBar: MatSnackBar,
|
|
528
|
+
) {
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
public async requestPasswordReset(email: string) {
|
|
532
|
+
this.requestingPasswordReset$.enable();
|
|
533
|
+
try {
|
|
534
|
+
const result = await this.requestPasswordResetMethod.call({ email });
|
|
535
|
+
|
|
536
|
+
if (!result) {
|
|
537
|
+
this.snackBar.open(
|
|
538
|
+
'The password reset request result is falsy',
|
|
539
|
+
undefined,
|
|
540
|
+
{
|
|
541
|
+
duration: 5000,
|
|
542
|
+
panelClass: 'error',
|
|
543
|
+
},
|
|
544
|
+
);
|
|
545
|
+
} else {
|
|
546
|
+
this.snackBar.open(
|
|
547
|
+
'The password reset request was successful',
|
|
548
|
+
undefined,
|
|
549
|
+
{
|
|
550
|
+
duration: 3000,
|
|
551
|
+
},
|
|
552
|
+
);
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
} catch (e: any) {
|
|
556
|
+
this.snackBar.open(
|
|
557
|
+
e.message,
|
|
558
|
+
undefined,
|
|
559
|
+
{
|
|
560
|
+
duration: 3000,
|
|
561
|
+
panelClass: 'error',
|
|
562
|
+
},
|
|
563
|
+
);
|
|
564
|
+
} finally {
|
|
565
|
+
this.requestingPasswordReset$.disable();
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
</code></pre>
|
|
571
|
+
</div>
|
|
572
|
+
|
|
573
|
+
<div class="tab-pane fade " id="templateData">
|
|
574
|
+
<pre class="line-numbers"><code class="language-html"><form #form="rxapForm" [@fadeAnimation]="'in'"
|
|
575
|
+
class="inner mat-elevation-z5 flex flex-col justify-center items-center gap-4"
|
|
576
|
+
novalidate
|
|
577
|
+
rxapForm>
|
|
578
|
+
|
|
579
|
+
<div class="header flex flex-col items-center justify-center grow-0">
|
|
580
|
+
|
|
581
|
+
<mat-icon class="avatar-icon grow-0" color="primary">account_circle</mat-icon>
|
|
582
|
+
|
|
583
|
+
</div>
|
|
584
|
+
|
|
585
|
+
<div class="content flex flex-col gap-8">
|
|
586
|
+
|
|
587
|
+
<div class="flex flex-col">
|
|
588
|
+
|
|
589
|
+
<mat-form-field class="email-input">
|
|
590
|
+
<mat-icon inline matPrefix>email</mat-icon>
|
|
591
|
+
<mat-label i18n>Email</mat-label>
|
|
592
|
+
<input formControlName="email"
|
|
593
|
+
i18n-placeholder
|
|
594
|
+
matInput
|
|
595
|
+
name="email"
|
|
596
|
+
placeholder="Enter your email address"
|
|
597
|
+
type="email">
|
|
598
|
+
<mat-error *rxapControlError="let error key 'required'">
|
|
599
|
+
Email is <strong>required</strong>
|
|
600
|
+
</mat-error>
|
|
601
|
+
<mat-error *rxapControlError="let error key 'email'">
|
|
602
|
+
Please enter a valid email address
|
|
603
|
+
</mat-error>
|
|
604
|
+
</mat-form-field>
|
|
605
|
+
|
|
606
|
+
<mat-form-field class="password-input">
|
|
607
|
+
<mat-icon inline matPrefix>vpn_key</mat-icon>
|
|
608
|
+
<mat-label i18n>Password</mat-label>
|
|
609
|
+
<input #passwordInput
|
|
610
|
+
formControlName="password"
|
|
611
|
+
i18n-placeholder
|
|
612
|
+
matInput
|
|
613
|
+
name="password"
|
|
614
|
+
placeholder="Enter your password"
|
|
615
|
+
type="password">
|
|
616
|
+
<mat-error *rxapControlError="let error key 'required'">
|
|
617
|
+
Password is <strong>required</strong>
|
|
618
|
+
</mat-error>
|
|
619
|
+
<button (click)="passwordInput.type = 'test'" *ngIf="passwordInput.type === 'password'" mat-icon-button
|
|
620
|
+
matSuffix tabIndex="-1"
|
|
621
|
+
type="button">
|
|
622
|
+
<mat-icon>visibility</mat-icon>
|
|
623
|
+
</button>
|
|
624
|
+
<button (click)="passwordInput.type = 'password'" *ngIf="passwordInput.type === 'text'" mat-icon-button
|
|
625
|
+
matSuffix tabIndex="-1"
|
|
626
|
+
type="button">
|
|
627
|
+
<mat-icon>visibility_off</mat-icon>
|
|
628
|
+
</button>
|
|
629
|
+
</mat-form-field>
|
|
630
|
+
|
|
631
|
+
</div>
|
|
632
|
+
|
|
633
|
+
<div class="sub-controls flex flex-row flex-wrap justify-between items-center gap-4">
|
|
634
|
+
|
|
635
|
+
<mat-checkbox class="remember-input grow-0" formControlName="remember">Remember me</mat-checkbox>
|
|
636
|
+
|
|
637
|
+
<div [matTooltipDisabled]="form.control.controls['email'].valid"
|
|
638
|
+
class="grow-0"
|
|
639
|
+
matTooltip="Please enter a valid email address"
|
|
640
|
+
matTooltipPosition="above">
|
|
641
|
+
<button (click)="requestPasswordReset(form.value.email)"
|
|
642
|
+
[disabled]="!form.value.email || form.control.controls['email'].hasError('email')"
|
|
643
|
+
color="accent"
|
|
644
|
+
mat-button
|
|
645
|
+
type="button">
|
|
646
|
+
<span class="flex flex-row justify-between items-center gap-2">
|
|
647
|
+
<mat-progress-spinner *ngIf="requestingPasswordReset$ | async" [diameter]="15"
|
|
648
|
+
mode="indeterminate"></mat-progress-spinner>
|
|
649
|
+
<span class="grow-0">Password forgotten</span>
|
|
650
|
+
</span>
|
|
651
|
+
</button>
|
|
652
|
+
</div>
|
|
653
|
+
|
|
654
|
+
</div>
|
|
655
|
+
|
|
656
|
+
<div class="grow-0 flex flex-row justify-center items-center">
|
|
657
|
+
|
|
658
|
+
<div class="grow-0">
|
|
659
|
+
<button color="primary" mat-raised-button rxapFormControlMarkDirty type="submit">Login</button>
|
|
660
|
+
</div>
|
|
661
|
+
|
|
662
|
+
</div>
|
|
663
|
+
|
|
664
|
+
</div>
|
|
665
|
+
|
|
666
|
+
<div *rxapFormSubmitFailed="let error" class="flex flex-row justify-center items-center">
|
|
667
|
+
<mat-error>{{ error.message }}</mat-error>
|
|
668
|
+
</div>
|
|
669
|
+
|
|
670
|
+
<mat-progress-bar *rxapFormSubmitting class="loading-bar" mode="indeterminate"></mat-progress-bar>
|
|
671
|
+
|
|
672
|
+
</form>
|
|
673
|
+
</code></pre>
|
|
674
|
+
</div>
|
|
675
|
+
|
|
676
|
+
<div class="tab-pane fade " id="styleData">
|
|
677
|
+
<p class="comment">
|
|
678
|
+
<code>./login.component.scss</code>
|
|
679
|
+
</p>
|
|
680
|
+
<pre class="line-numbers"><code class="language-scss">$padding: 48px;
|
|
681
|
+
|
|
682
|
+
::ng-deep .mat-mdc-snack-bar-container.error {
|
|
683
|
+
background-color: var(--warn-500);
|
|
684
|
+
color: var(--foreground-color);
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
.inner {
|
|
688
|
+
padding: $padding;
|
|
689
|
+
position: relative;
|
|
690
|
+
margin: 16px 0;
|
|
691
|
+
background-color: var(--background-color);
|
|
692
|
+
|
|
693
|
+
::ng-deep .mat-mdc-form-field-icon-prefix, ::ng-deep .mat-mdc-form-field-icon-suffix {
|
|
694
|
+
color: var(--hint-text-color, gray);
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
.header {
|
|
698
|
+
|
|
699
|
+
.avatar-icon {
|
|
700
|
+
width: 100px;
|
|
701
|
+
height: 100px;
|
|
702
|
+
font-size: 100px;
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
.content {
|
|
708
|
+
width: 256px + $padding;
|
|
709
|
+
max-width: calc(100vw - #{$padding * 2} - 16px);
|
|
710
|
+
|
|
711
|
+
.email-input, .password-input {
|
|
712
|
+
width: 100%;
|
|
713
|
+
|
|
714
|
+
.prefix-icon {
|
|
715
|
+
width: 24px;
|
|
716
|
+
height: 24px;
|
|
717
|
+
display: flex;
|
|
718
|
+
justify-content: center;
|
|
719
|
+
align-items: center;
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
|
|
723
|
+
::ng-deep .mat-form-field-prefix {
|
|
724
|
+
align-self: flex-end;
|
|
725
|
+
margin: 4px;
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
[type="submit"] {
|
|
731
|
+
width: 128px;
|
|
732
|
+
text-transform: uppercase;
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
.sub-controls > * {
|
|
738
|
+
margin-bottom: 8px;
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
.loading-bar {
|
|
742
|
+
position: absolute;
|
|
743
|
+
bottom: 0;
|
|
744
|
+
left: 0;
|
|
745
|
+
right: 0;
|
|
746
|
+
top: auto;
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
}
|
|
750
|
+
</code></pre>
|
|
751
|
+
</div>
|
|
752
|
+
|
|
753
|
+
<div class="tab-pane fade " id="tree">
|
|
754
|
+
<div id="tree-container"></div>
|
|
755
|
+
<div class="tree-legend">
|
|
756
|
+
<div class="title">
|
|
757
|
+
<b>Legend</b>
|
|
758
|
+
</div>
|
|
759
|
+
<div>
|
|
760
|
+
<div class="color htmlelement"></div><span>Html element</span>
|
|
761
|
+
</div>
|
|
762
|
+
<div>
|
|
763
|
+
<div class="color component"></div><span>Component</span>
|
|
764
|
+
</div>
|
|
765
|
+
<div>
|
|
766
|
+
<div class="color directive"></div><span>Html element with directive</span>
|
|
767
|
+
</div>
|
|
768
|
+
</div>
|
|
769
|
+
</div>
|
|
770
|
+
|
|
771
|
+
|
|
772
|
+
</div>
|
|
773
|
+
|
|
774
|
+
<script src="../js/libs/vis.min.js"></script>
|
|
775
|
+
<script src="../js/libs/htmlparser.js"></script>
|
|
776
|
+
<script src="../js/libs/deep-iterator.js"></script>
|
|
777
|
+
<script>
|
|
778
|
+
var COMPONENT_TEMPLATE = '<div><form #form="rxapForm" [@fadeAnimation]="\'in\'" class="inner mat-elevation-z5 flex flex-col justify-center items-center gap-4" novalidate rxapForm> <div class="header flex flex-col items-center justify-center grow-0"> <mat-icon class="avatar-icon grow-0" color="primary">account_circle</mat-icon> </div> <div class="content flex flex-col gap-8"> <div class="flex flex-col"> <mat-form-field class="email-input"> <mat-icon inline matPrefix>email</mat-icon> <mat-label i18n>Email</mat-label> <input formControlName="email" i18n-placeholder matInput name="email" placeholder="Enter your email address" type="email"> <mat-error *rxapControlError="let error key \'required\'"> Email is <strong>required</strong> </mat-error> <mat-error *rxapControlError="let error key \'email\'"> Please enter a valid email address </mat-error> </mat-form-field> <mat-form-field class="password-input"> <mat-icon inline matPrefix>vpn_key</mat-icon> <mat-label i18n>Password</mat-label> <input #passwordInput formControlName="password" i18n-placeholder matInput name="password" placeholder="Enter your password" type="password"> <mat-error *rxapControlError="let error key \'required\'"> Password is <strong>required</strong> </mat-error> <button (click)="passwordInput.type = \'test\'" *ngIf="passwordInput.type === \'password\'" mat-icon-button matSuffix tabIndex="-1" type="button"> <mat-icon>visibility</mat-icon> </button> <button (click)="passwordInput.type = \'password\'" *ngIf="passwordInput.type === \'text\'" mat-icon-button matSuffix tabIndex="-1" type="button"> <mat-icon>visibility_off</mat-icon> </button> </mat-form-field> </div> <div class="sub-controls flex flex-row flex-wrap justify-between items-center gap-4"> <mat-checkbox class="remember-input grow-0" formControlName="remember">Remember me</mat-checkbox> <div [matTooltipDisabled]="form.control.controls[\'email\'].valid" class="grow-0" matTooltip="Please enter a valid email address" matTooltipPosition="above"> <button (click)="requestPasswordReset(form.value.email)" [disabled]="!form.value.email || form.control.controls[\'email\'].hasError(\'email\')" color="accent" mat-button type="button"> <span class="flex flex-row justify-between items-center gap-2"> <mat-progress-spinner *ngIf="requestingPasswordReset$ | async" [diameter]="15" mode="indeterminate"></mat-progress-spinner> <span class="grow-0">Password forgotten</span> </span> </button> </div> </div> <div class="grow-0 flex flex-row justify-center items-center"> <div class="grow-0"> <button color="primary" mat-raised-button rxapFormControlMarkDirty type="submit">Login</button> </div> </div> </div> <div *rxapFormSubmitFailed="let error" class="flex flex-row justify-center items-center"> <mat-error>{{ error.message }}</mat-error> </div> <mat-progress-bar *rxapFormSubmitting class="loading-bar" mode="indeterminate"></mat-progress-bar></form></div>'
|
|
779
|
+
var COMPONENTS = [{'name': 'AuthenticationContainerComponent', 'selector': 'rxap-authentication-container'},{'name': 'LoadingComponent', 'selector': 'rxap-auth-loading'},{'name': 'LoginComponent', 'selector': 'rxap-login'},{'name': 'ResetPasswordComponent', 'selector': 'rxap-reset-password'}];
|
|
780
|
+
var DIRECTIVES = [];
|
|
781
|
+
var ACTUAL_COMPONENT = {'name': 'LoginComponent'};
|
|
782
|
+
</script>
|
|
783
|
+
<script src="../js/tree.js"></script>
|
|
784
|
+
|
|
785
|
+
|
|
786
|
+
|
|
787
|
+
|
|
788
|
+
|
|
789
|
+
|
|
790
|
+
|
|
791
|
+
|
|
792
|
+
|
|
793
|
+
|
|
794
|
+
|
|
795
|
+
|
|
796
|
+
|
|
797
|
+
|
|
798
|
+
|
|
799
|
+
|
|
800
|
+
|
|
801
|
+
</div><div class="search-results">
|
|
802
|
+
<div class="has-results">
|
|
803
|
+
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
|
|
804
|
+
<ul class="search-results-list"></ul>
|
|
805
|
+
</div>
|
|
806
|
+
<div class="no-results">
|
|
807
|
+
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
|
|
808
|
+
</div>
|
|
809
|
+
</div>
|
|
810
|
+
</div>
|
|
811
|
+
<!-- END CONTENT -->
|
|
812
|
+
</div>
|
|
813
|
+
</div>
|
|
814
|
+
|
|
815
|
+
<label class="dark-mode-switch">
|
|
816
|
+
<input type="checkbox">
|
|
817
|
+
<span class="slider">
|
|
818
|
+
<svg class="slider-icon" viewBox="0 0 24 24" fill="none" height="20" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" width="20" xmlns="http://www.w3.org/2000/svg">
|
|
819
|
+
<path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"></path>
|
|
820
|
+
</svg>
|
|
821
|
+
</span>
|
|
822
|
+
</label>
|
|
823
|
+
|
|
824
|
+
<script>
|
|
825
|
+
var COMPODOC_CURRENT_PAGE_DEPTH = 1;
|
|
826
|
+
var COMPODOC_CURRENT_PAGE_CONTEXT = 'component';
|
|
827
|
+
var COMPODOC_CURRENT_PAGE_URL = 'LoginComponent.html';
|
|
828
|
+
var MAX_SEARCH_RESULTS = 15;
|
|
829
|
+
</script>
|
|
830
|
+
|
|
831
|
+
<script>
|
|
832
|
+
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
833
|
+
checkToggle(darkModeState);
|
|
834
|
+
if ($darkModeToggleSwitchers.length > 0) {
|
|
835
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
836
|
+
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
|
|
837
|
+
darkModeState = !darkModeState;
|
|
838
|
+
toggleDarkMode(darkModeState);
|
|
839
|
+
});
|
|
840
|
+
}
|
|
841
|
+
}
|
|
842
|
+
</script>
|
|
843
|
+
|
|
844
|
+
<script src="../js/libs/custom-elements.min.js"></script>
|
|
845
|
+
<script src="../js/libs/lit-html.js"></script>
|
|
846
|
+
|
|
847
|
+
<script src="../js/menu-wc.js" defer></script>
|
|
848
|
+
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
849
|
+
|
|
850
|
+
<script src="../js/libs/bootstrap-native.js"></script>
|
|
851
|
+
|
|
852
|
+
<script src="../js/libs/es6-shim.min.js"></script>
|
|
853
|
+
<script src="../js/libs/EventDispatcher.js"></script>
|
|
854
|
+
<script src="../js/libs/promise.min.js"></script>
|
|
855
|
+
<script src="../js/libs/zepto.min.js"></script>
|
|
856
|
+
|
|
857
|
+
<script src="../js/compodoc.js"></script>
|
|
858
|
+
|
|
859
|
+
<script src="../js/tabs.js"></script>
|
|
860
|
+
<script src="../js/menu.js"></script>
|
|
861
|
+
<script src="../js/libs/clipboard.min.js"></script>
|
|
862
|
+
<script src="../js/libs/prism.js"></script>
|
|
863
|
+
<script src="../js/sourceCode.js"></script>
|
|
864
|
+
<script src="../js/search/search.js"></script>
|
|
865
|
+
<script src="../js/search/lunr.min.js"></script>
|
|
866
|
+
<script src="../js/search/search-lunr.js"></script>
|
|
867
|
+
<script src="../js/search/search_index.js"></script>
|
|
868
|
+
<script src="../js/lazy-load-graphs.js"></script>
|
|
869
|
+
|
|
870
|
+
|
|
871
|
+
</body>
|
|
872
|
+
</html>
|