@rxap/ngx-material-authentication 18.0.2-dev.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 +8 -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,571 @@
|
|
|
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
|
+
ResetPasswordComponent</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/reset-password/reset-password.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#ResetPasswordFormProviders" target="_self" >ResetPasswordFormProviders</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-reset-password</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>FormControlMarkDirtyDirective</code>
|
|
181
|
+
<code>FormSubmitFailedDirective</code>
|
|
182
|
+
<code>FormSubmittingDirective</code>
|
|
183
|
+
<code>MatProgressBarModule</code>
|
|
184
|
+
<code>MatSnackBarModule</code>
|
|
185
|
+
<code>ControlErrorDirective</code>
|
|
186
|
+
</td>
|
|
187
|
+
</tr>
|
|
188
|
+
|
|
189
|
+
<tr>
|
|
190
|
+
<td class="col-md-3">styleUrls</td>
|
|
191
|
+
<td class="col-md-9"><code>./reset-password.component.scss</code></td>
|
|
192
|
+
</tr>
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
<tr>
|
|
197
|
+
<td class="col-md-3">templateUrl</td>
|
|
198
|
+
<td class="col-md-9"><code>./reset-password.component.html</code></td>
|
|
199
|
+
</tr>
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
</tbody>
|
|
209
|
+
</table>
|
|
210
|
+
</section>
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
</div>
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
<div class="tab-pane fade tab-source-code" id="source">
|
|
224
|
+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { NgIf } from '@angular/common';
|
|
225
|
+
import {
|
|
226
|
+
ChangeDetectionStrategy,
|
|
227
|
+
Component,
|
|
228
|
+
} from '@angular/core';
|
|
229
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
|
230
|
+
import { MatButtonModule } from '@angular/material/button';
|
|
231
|
+
import {
|
|
232
|
+
ErrorStateMatcher,
|
|
233
|
+
ShowOnDirtyErrorStateMatcher,
|
|
234
|
+
} from '@angular/material/core';
|
|
235
|
+
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
236
|
+
import { MatIconModule } from '@angular/material/icon';
|
|
237
|
+
import { MatInputModule } from '@angular/material/input';
|
|
238
|
+
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
|
239
|
+
import { MatSnackBarModule } from '@angular/material/snack-bar';
|
|
240
|
+
import {
|
|
241
|
+
FormControlMarkDirtyDirective,
|
|
242
|
+
FormDirective,
|
|
243
|
+
FormSubmitFailedDirective,
|
|
244
|
+
FormSubmittingDirective,
|
|
245
|
+
} from '@rxap/forms';
|
|
246
|
+
import { ControlErrorDirective } from '@rxap/material-form-system';
|
|
247
|
+
import { fadeAnimation } from '../fade-animation';
|
|
248
|
+
import { ResetPasswordFormProviders } from './reset-password.form';
|
|
249
|
+
|
|
250
|
+
@Component({
|
|
251
|
+
selector: 'rxap-reset-password',
|
|
252
|
+
templateUrl: './reset-password.component.html',
|
|
253
|
+
styleUrls: [ './reset-password.component.scss' ],
|
|
254
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
255
|
+
providers: [
|
|
256
|
+
ResetPasswordFormProviders,
|
|
257
|
+
{
|
|
258
|
+
provide: ErrorStateMatcher,
|
|
259
|
+
useClass: ShowOnDirtyErrorStateMatcher,
|
|
260
|
+
},
|
|
261
|
+
],
|
|
262
|
+
animations: [
|
|
263
|
+
fadeAnimation,
|
|
264
|
+
],
|
|
265
|
+
standalone: true,
|
|
266
|
+
imports: [
|
|
267
|
+
ReactiveFormsModule,
|
|
268
|
+
FormDirective,
|
|
269
|
+
MatIconModule,
|
|
270
|
+
MatFormFieldModule,
|
|
271
|
+
MatInputModule,
|
|
272
|
+
NgIf,
|
|
273
|
+
MatButtonModule,
|
|
274
|
+
FormControlMarkDirtyDirective,
|
|
275
|
+
FormSubmitFailedDirective,
|
|
276
|
+
FormSubmittingDirective,
|
|
277
|
+
MatProgressBarModule,
|
|
278
|
+
MatSnackBarModule,
|
|
279
|
+
ControlErrorDirective,
|
|
280
|
+
],
|
|
281
|
+
})
|
|
282
|
+
export class ResetPasswordComponent {
|
|
283
|
+
}
|
|
284
|
+
</code></pre>
|
|
285
|
+
</div>
|
|
286
|
+
|
|
287
|
+
<div class="tab-pane fade " id="templateData">
|
|
288
|
+
<pre class="line-numbers"><code class="language-html"><form #form="rxapForm" [@fadeAnimation]="'in'"
|
|
289
|
+
class="inner mat-elevation-z5 flex flex-col items-center justify-center gap-4"
|
|
290
|
+
novalidate
|
|
291
|
+
rxapForm>
|
|
292
|
+
|
|
293
|
+
<div class="header grow-0 flex flex-col items-center justify-center">
|
|
294
|
+
|
|
295
|
+
<mat-icon class="avatar-icon grow-0" color="primary">vpn_key</mat-icon>
|
|
296
|
+
|
|
297
|
+
</div>
|
|
298
|
+
|
|
299
|
+
<div class="content flex flex-col gap-4">
|
|
300
|
+
|
|
301
|
+
<div class="flex flex-col">
|
|
302
|
+
|
|
303
|
+
<mat-form-field class="password-input">
|
|
304
|
+
<mat-icon inline matPrefix>vpn_key</mat-icon>
|
|
305
|
+
<mat-label i18n>New password</mat-label>
|
|
306
|
+
<input #passwordInput
|
|
307
|
+
formControlName="password"
|
|
308
|
+
i18n-placeholder
|
|
309
|
+
matInput
|
|
310
|
+
placeholder="Enter your new password"
|
|
311
|
+
type="password">
|
|
312
|
+
<mat-error *rxapControlError="let error key 'required'">
|
|
313
|
+
Password is <strong>required</strong>
|
|
314
|
+
</mat-error>
|
|
315
|
+
<button (click)="passwordInput.type = 'text'" *ngIf="passwordInput.type === 'password'" mat-icon-button
|
|
316
|
+
matSuffix tabIndex="-1"
|
|
317
|
+
type="button">
|
|
318
|
+
<mat-icon>visibility</mat-icon>
|
|
319
|
+
</button>
|
|
320
|
+
<button (click)="passwordInput.type = 'password'" *ngIf="passwordInput.type === 'text'" mat-icon-button
|
|
321
|
+
matSuffix tabIndex="-1"
|
|
322
|
+
type="button">
|
|
323
|
+
<mat-icon>visibility_off</mat-icon>
|
|
324
|
+
</button>
|
|
325
|
+
</mat-form-field>
|
|
326
|
+
|
|
327
|
+
<mat-form-field class="password-input">
|
|
328
|
+
<mat-icon inline matPrefix>vpn_key</mat-icon>
|
|
329
|
+
<mat-label i18n>Repeat password</mat-label>
|
|
330
|
+
<input #passwordRepeatInput
|
|
331
|
+
formControlName="passwordRepeat"
|
|
332
|
+
i18n-placeholder
|
|
333
|
+
matInput
|
|
334
|
+
placeholder="Enter your new password again"
|
|
335
|
+
type="password">
|
|
336
|
+
<mat-error *rxapControlError="let error key 'required'">
|
|
337
|
+
Password is <strong>required</strong>
|
|
338
|
+
</mat-error>
|
|
339
|
+
<mat-error *rxapControlError="let error key 'equal'">
|
|
340
|
+
Entered password are <strong>not equal</strong>
|
|
341
|
+
</mat-error>
|
|
342
|
+
<button (click)="passwordRepeatInput.type = 'text'"
|
|
343
|
+
*ngIf="passwordRepeatInput.type === 'password'"
|
|
344
|
+
mat-icon-button
|
|
345
|
+
matSuffix
|
|
346
|
+
tabIndex="-1"
|
|
347
|
+
type="button">
|
|
348
|
+
<mat-icon>visibility</mat-icon>
|
|
349
|
+
</button>
|
|
350
|
+
<button (click)="passwordRepeatInput.type = 'password'"
|
|
351
|
+
*ngIf="passwordRepeatInput.type === 'text'"
|
|
352
|
+
mat-icon-button
|
|
353
|
+
matSuffix
|
|
354
|
+
tabIndex="-1"
|
|
355
|
+
type="button">
|
|
356
|
+
<mat-icon>visibility_off</mat-icon>
|
|
357
|
+
</button>
|
|
358
|
+
</mat-form-field>
|
|
359
|
+
|
|
360
|
+
</div>
|
|
361
|
+
|
|
362
|
+
<div class="grow-0 flex flex-row justify-center items-center">
|
|
363
|
+
|
|
364
|
+
<div class="grow-0">
|
|
365
|
+
<button color="primary" mat-raised-button rxapFormControlMarkDirty type="submit">
|
|
366
|
+
<ng-container i18n>Reset password</ng-container>
|
|
367
|
+
</button>
|
|
368
|
+
</div>
|
|
369
|
+
|
|
370
|
+
</div>
|
|
371
|
+
|
|
372
|
+
</div>
|
|
373
|
+
|
|
374
|
+
<div *rxapFormSubmitFailed="let error" class="flex flex-row items-center justify-center">
|
|
375
|
+
<mat-error>{{ error.message }}</mat-error>
|
|
376
|
+
</div>
|
|
377
|
+
|
|
378
|
+
<mat-progress-bar *rxapFormSubmitting class="loading-bar" mode="indeterminate"></mat-progress-bar>
|
|
379
|
+
|
|
380
|
+
</form>
|
|
381
|
+
</code></pre>
|
|
382
|
+
</div>
|
|
383
|
+
|
|
384
|
+
<div class="tab-pane fade " id="styleData">
|
|
385
|
+
<p class="comment">
|
|
386
|
+
<code>./reset-password.component.scss</code>
|
|
387
|
+
</p>
|
|
388
|
+
<pre class="line-numbers"><code class="language-scss">$padding: 48px;
|
|
389
|
+
|
|
390
|
+
.inner {
|
|
391
|
+
padding: $padding;
|
|
392
|
+
position: relative;
|
|
393
|
+
margin: 16px 0;
|
|
394
|
+
background-color: var(--background-color);
|
|
395
|
+
|
|
396
|
+
::ng-deep .mat-mdc-form-field-icon-prefix, ::ng-deep .mat-mdc-form-field-icon-suffix {
|
|
397
|
+
color: var(--hint-text-color, gray);
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
.header {
|
|
401
|
+
|
|
402
|
+
.avatar-icon {
|
|
403
|
+
width: 100px;
|
|
404
|
+
height: 100px;
|
|
405
|
+
font-size: 100px;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
.content {
|
|
411
|
+
width: 256px + $padding;
|
|
412
|
+
max-width: calc(100vw - #{$padding * 2} - 16px);
|
|
413
|
+
|
|
414
|
+
.password-input {
|
|
415
|
+
width: 100%;
|
|
416
|
+
|
|
417
|
+
.prefix-icon {
|
|
418
|
+
width: 24px;
|
|
419
|
+
height: 24px;
|
|
420
|
+
display: flex;
|
|
421
|
+
justify-content: center;
|
|
422
|
+
align-items: center;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
|
|
426
|
+
::ng-deep .mat-form-field-prefix {
|
|
427
|
+
align-self: flex-end;
|
|
428
|
+
margin: 4px;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
[type="submit"] {
|
|
434
|
+
width: 256px;
|
|
435
|
+
text-transform: uppercase;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
.loading-bar {
|
|
441
|
+
position: absolute;
|
|
442
|
+
bottom: 0;
|
|
443
|
+
left: 0;
|
|
444
|
+
right: 0;
|
|
445
|
+
top: auto;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
}
|
|
449
|
+
</code></pre>
|
|
450
|
+
</div>
|
|
451
|
+
|
|
452
|
+
<div class="tab-pane fade " id="tree">
|
|
453
|
+
<div id="tree-container"></div>
|
|
454
|
+
<div class="tree-legend">
|
|
455
|
+
<div class="title">
|
|
456
|
+
<b>Legend</b>
|
|
457
|
+
</div>
|
|
458
|
+
<div>
|
|
459
|
+
<div class="color htmlelement"></div><span>Html element</span>
|
|
460
|
+
</div>
|
|
461
|
+
<div>
|
|
462
|
+
<div class="color component"></div><span>Component</span>
|
|
463
|
+
</div>
|
|
464
|
+
<div>
|
|
465
|
+
<div class="color directive"></div><span>Html element with directive</span>
|
|
466
|
+
</div>
|
|
467
|
+
</div>
|
|
468
|
+
</div>
|
|
469
|
+
|
|
470
|
+
|
|
471
|
+
</div>
|
|
472
|
+
|
|
473
|
+
<script src="../js/libs/vis.min.js"></script>
|
|
474
|
+
<script src="../js/libs/htmlparser.js"></script>
|
|
475
|
+
<script src="../js/libs/deep-iterator.js"></script>
|
|
476
|
+
<script>
|
|
477
|
+
var COMPONENT_TEMPLATE = '<div><form #form="rxapForm" [@fadeAnimation]="\'in\'" class="inner mat-elevation-z5 flex flex-col items-center justify-center gap-4" novalidate rxapForm> <div class="header grow-0 flex flex-col items-center justify-center"> <mat-icon class="avatar-icon grow-0" color="primary">vpn_key</mat-icon> </div> <div class="content flex flex-col gap-4"> <div class="flex flex-col"> <mat-form-field class="password-input"> <mat-icon inline matPrefix>vpn_key</mat-icon> <mat-label i18n>New password</mat-label> <input #passwordInput formControlName="password" i18n-placeholder matInput placeholder="Enter your new password" type="password"> <mat-error *rxapControlError="let error key \'required\'"> Password is <strong>required</strong> </mat-error> <button (click)="passwordInput.type = \'text\'" *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> <mat-form-field class="password-input"> <mat-icon inline matPrefix>vpn_key</mat-icon> <mat-label i18n>Repeat password</mat-label> <input #passwordRepeatInput formControlName="passwordRepeat" i18n-placeholder matInput placeholder="Enter your new password again" type="password"> <mat-error *rxapControlError="let error key \'required\'"> Password is <strong>required</strong> </mat-error> <mat-error *rxapControlError="let error key \'equal\'"> Entered password are <strong>not equal</strong> </mat-error> <button (click)="passwordRepeatInput.type = \'text\'" *ngIf="passwordRepeatInput.type === \'password\'" mat-icon-button matSuffix tabIndex="-1" type="button"> <mat-icon>visibility</mat-icon> </button> <button (click)="passwordRepeatInput.type = \'password\'" *ngIf="passwordRepeatInput.type === \'text\'" mat-icon-button matSuffix tabIndex="-1" type="button"> <mat-icon>visibility_off</mat-icon> </button> </mat-form-field> </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"> <ng-container i18n>Reset password</ng-container> </button> </div> </div> </div> <div *rxapFormSubmitFailed="let error" class="flex flex-row items-center justify-center"> <mat-error>{{ error.message }}</mat-error> </div> <mat-progress-bar *rxapFormSubmitting class="loading-bar" mode="indeterminate"></mat-progress-bar></form></div>'
|
|
478
|
+
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'}];
|
|
479
|
+
var DIRECTIVES = [];
|
|
480
|
+
var ACTUAL_COMPONENT = {'name': 'ResetPasswordComponent'};
|
|
481
|
+
</script>
|
|
482
|
+
<script src="../js/tree.js"></script>
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
|
|
500
|
+
</div><div class="search-results">
|
|
501
|
+
<div class="has-results">
|
|
502
|
+
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
|
|
503
|
+
<ul class="search-results-list"></ul>
|
|
504
|
+
</div>
|
|
505
|
+
<div class="no-results">
|
|
506
|
+
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
|
|
507
|
+
</div>
|
|
508
|
+
</div>
|
|
509
|
+
</div>
|
|
510
|
+
<!-- END CONTENT -->
|
|
511
|
+
</div>
|
|
512
|
+
</div>
|
|
513
|
+
|
|
514
|
+
<label class="dark-mode-switch">
|
|
515
|
+
<input type="checkbox">
|
|
516
|
+
<span class="slider">
|
|
517
|
+
<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">
|
|
518
|
+
<path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"></path>
|
|
519
|
+
</svg>
|
|
520
|
+
</span>
|
|
521
|
+
</label>
|
|
522
|
+
|
|
523
|
+
<script>
|
|
524
|
+
var COMPODOC_CURRENT_PAGE_DEPTH = 1;
|
|
525
|
+
var COMPODOC_CURRENT_PAGE_CONTEXT = 'component';
|
|
526
|
+
var COMPODOC_CURRENT_PAGE_URL = 'ResetPasswordComponent.html';
|
|
527
|
+
var MAX_SEARCH_RESULTS = 15;
|
|
528
|
+
</script>
|
|
529
|
+
|
|
530
|
+
<script>
|
|
531
|
+
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
532
|
+
checkToggle(darkModeState);
|
|
533
|
+
if ($darkModeToggleSwitchers.length > 0) {
|
|
534
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
535
|
+
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
|
|
536
|
+
darkModeState = !darkModeState;
|
|
537
|
+
toggleDarkMode(darkModeState);
|
|
538
|
+
});
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
</script>
|
|
542
|
+
|
|
543
|
+
<script src="../js/libs/custom-elements.min.js"></script>
|
|
544
|
+
<script src="../js/libs/lit-html.js"></script>
|
|
545
|
+
|
|
546
|
+
<script src="../js/menu-wc.js" defer></script>
|
|
547
|
+
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
548
|
+
|
|
549
|
+
<script src="../js/libs/bootstrap-native.js"></script>
|
|
550
|
+
|
|
551
|
+
<script src="../js/libs/es6-shim.min.js"></script>
|
|
552
|
+
<script src="../js/libs/EventDispatcher.js"></script>
|
|
553
|
+
<script src="../js/libs/promise.min.js"></script>
|
|
554
|
+
<script src="../js/libs/zepto.min.js"></script>
|
|
555
|
+
|
|
556
|
+
<script src="../js/compodoc.js"></script>
|
|
557
|
+
|
|
558
|
+
<script src="../js/tabs.js"></script>
|
|
559
|
+
<script src="../js/menu.js"></script>
|
|
560
|
+
<script src="../js/libs/clipboard.min.js"></script>
|
|
561
|
+
<script src="../js/libs/prism.js"></script>
|
|
562
|
+
<script src="../js/sourceCode.js"></script>
|
|
563
|
+
<script src="../js/search/search.js"></script>
|
|
564
|
+
<script src="../js/search/lunr.min.js"></script>
|
|
565
|
+
<script src="../js/search/search-lunr.js"></script>
|
|
566
|
+
<script src="../js/search/search_index.js"></script>
|
|
567
|
+
<script src="../js/lazy-load-graphs.js"></script>
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
</body>
|
|
571
|
+
</html>
|