@rxap/ngx-material-authentication 19.0.5 → 21.0.1-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 +20 -0
- package/compodoc/changelog.html +19 -0
- package/compodoc/components/LoginComponent.html +65 -64
- package/compodoc/components/ResetPasswordComponent.html +60 -57
- package/compodoc/dependencies.html +15 -15
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +111 -111
- package/docs/html/classes/AuthenticationContainerComponent.html +2 -2
- package/docs/html/classes/LoadingComponent.html +4 -4
- package/docs/html/classes/LoginComponent.html +2 -2
- package/docs/html/classes/LoginForm.html +2 -2
- package/docs/html/classes/LoginFormSubmitMethod.html +2 -2
- package/docs/html/classes/LoginFormSubmitSuccessful.html +2 -2
- package/docs/html/classes/RequestResetPasswordMethod.html +2 -2
- package/docs/html/classes/ResetPasswordComponent.html +2 -2
- package/docs/html/classes/ResetPasswordForm.html +2 -2
- package/docs/html/classes/ResetPasswordFormSubmitMethod.html +2 -2
- package/docs/html/classes/SetNewPasswordWithResetTokenMethod.html +2 -2
- package/docs/html/classes/SignInWithEmailAndPasswordMethod.html +2 -2
- package/docs/html/index.html +2 -2
- package/docs/html/interfaces/ILoginForm.html +2 -2
- package/docs/html/interfaces/IResetPasswordForm.html +2 -2
- package/docs/html/interfaces/RequestResetPasswordMethodParameters.html +2 -2
- package/docs/html/interfaces/SetNewPasswordWithResetTokenMethodParameters.html +2 -2
- package/docs/html/interfaces/SignInWithEmailAndPasswordMethodParameters.html +2 -2
- package/docs/html/modules.html +1 -1
- package/docs/html/variables/AUTHENTICATION_ROUTE.html +1 -1
- package/docs/html/variables/LoginFormProviders.html +1 -1
- package/docs/html/variables/RXAP_RESET_PASSWORD_FORM.html +1 -1
- package/docs/html/variables/ResetPasswordFormProviders.html +1 -1
- package/docs/html/variables/fadeAnimation.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/AuthenticationContainerComponent.md +2 -2
- package/docs/markdown/classes/LoadingComponent.md +8 -8
- package/docs/markdown/classes/LoginComponent.md +5 -5
- package/docs/markdown/classes/LoginForm.md +11 -11
- package/docs/markdown/classes/LoginFormSubmitMethod.md +4 -4
- package/docs/markdown/classes/LoginFormSubmitSuccessful.md +4 -4
- package/docs/markdown/classes/RequestResetPasswordMethod.md +3 -3
- package/docs/markdown/classes/ResetPasswordComponent.md +2 -2
- package/docs/markdown/classes/ResetPasswordForm.md +7 -7
- package/docs/markdown/classes/ResetPasswordFormSubmitMethod.md +4 -4
- package/docs/markdown/classes/SetNewPasswordWithResetTokenMethod.md +3 -3
- package/docs/markdown/classes/SignInWithEmailAndPasswordMethod.md +3 -3
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/interfaces/ILoginForm.md +4 -4
- package/docs/markdown/interfaces/IResetPasswordForm.md +4 -4
- package/docs/markdown/interfaces/RequestResetPasswordMethodParameters.md +3 -3
- package/docs/markdown/interfaces/SetNewPasswordWithResetTokenMethodParameters.md +4 -4
- package/docs/markdown/interfaces/SignInWithEmailAndPasswordMethodParameters.md +5 -5
- package/docs/markdown/variables/AUTHENTICATION_ROUTE.md +2 -2
- package/docs/markdown/variables/LoginFormProviders.md +2 -2
- package/docs/markdown/variables/RXAP_RESET_PASSWORD_FORM.md +2 -2
- package/docs/markdown/variables/ResetPasswordFormProviders.md +2 -2
- package/docs/markdown/variables/fadeAnimation.md +2 -2
- package/docs/wiki/Class.AuthenticationContainerComponent.md +1 -1
- package/docs/wiki/Class.LoadingComponent.md +7 -7
- package/docs/wiki/Class.LoginComponent.md +4 -4
- package/docs/wiki/Class.LoginForm.md +10 -10
- package/docs/wiki/Class.LoginFormSubmitMethod.md +3 -3
- package/docs/wiki/Class.LoginFormSubmitSuccessful.md +3 -3
- package/docs/wiki/Class.RequestResetPasswordMethod.md +2 -2
- package/docs/wiki/Class.ResetPasswordComponent.md +1 -1
- package/docs/wiki/Class.ResetPasswordForm.md +6 -6
- package/docs/wiki/Class.ResetPasswordFormSubmitMethod.md +3 -3
- package/docs/wiki/Class.SetNewPasswordWithResetTokenMethod.md +2 -2
- package/docs/wiki/Class.SignInWithEmailAndPasswordMethod.md +2 -2
- package/docs/wiki/Interface.ILoginForm.md +3 -3
- package/docs/wiki/Interface.IResetPasswordForm.md +3 -3
- package/docs/wiki/Interface.RequestResetPasswordMethodParameters.md +2 -2
- package/docs/wiki/Interface.SetNewPasswordWithResetTokenMethodParameters.md +3 -3
- package/docs/wiki/Interface.SignInWithEmailAndPasswordMethodParameters.md +4 -4
- package/docs/wiki/Variable.AUTHENTICATION_ROUTE.md +1 -1
- package/docs/wiki/Variable.LoginFormProviders.md +1 -1
- package/docs/wiki/Variable.RXAP_RESET_PASSWORD_FORM.md +1 -1
- package/docs/wiki/Variable.ResetPasswordFormProviders.md +1 -1
- package/docs/wiki/Variable.fadeAnimation.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-ngx-material-authentication.mjs +46 -48
- package/fesm2022/rxap-ngx-material-authentication.mjs.map +1 -1
- package/package.json +47 -46
- package/types/rxap-ngx-material-authentication.d.ts +148 -0
- package/index.d.ts +0 -11
- package/lib/authentication-container/authentication-container.component.d.ts +0 -5
- package/lib/fade-animation.d.ts +0 -1
- package/lib/loading/loading.component.d.ts +0 -15
- package/lib/login/login.component.d.ts +0 -14
- package/lib/login/login.form.d.ts +0 -43
- package/lib/login/request-reset-password.method.d.ts +0 -10
- package/lib/login/sign-in-with-email-and-password.method.d.ts +0 -12
- package/lib/reset-password/reset-password.component.d.ts +0 -5
- package/lib/reset-password/reset-password.form.d.ts +0 -35
- package/lib/reset-password/set-new-password-with-reset-token.method.d.ts +0 -11
- package/lib/routes.d.ts +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,23 @@
|
|
|
1
|
+
## 21.0.1-dev.0 (2026-11-20)
|
|
2
|
+
|
|
3
|
+
### 🩹 Fixes
|
|
4
|
+
|
|
5
|
+
- **upgrade:** TestBed.get->inject (removed in angular) + dedupe rxjs to single version
|
|
6
|
+
|
|
7
|
+
### 🧱 Updated Dependencies
|
|
8
|
+
|
|
9
|
+
- Updated angular-material-form-system to 21.0.1-dev.0
|
|
10
|
+
- Updated angular-authentication to 21.0.1-dev.0
|
|
11
|
+
- Updated angular-config to 21.0.1-dev.0
|
|
12
|
+
- Updated angular-forms to 21.0.1-dev.0
|
|
13
|
+
- Updated utilities to 16.5.2-dev.0
|
|
14
|
+
- Updated pattern to 1.1.16-dev.0
|
|
15
|
+
- Updated rxjs to 1.1.18-dev.0
|
|
16
|
+
|
|
17
|
+
### ❤️ Thank You
|
|
18
|
+
|
|
19
|
+
- Merzough Münker
|
|
20
|
+
|
|
1
21
|
## 19.0.5 (2026-11-20)
|
|
2
22
|
|
|
3
23
|
This was a version bump only for angular-material-authentication to align it with other projects, there were no code changes.
|
package/compodoc/changelog.html
CHANGED
|
@@ -82,6 +82,25 @@
|
|
|
82
82
|
<div class="content getting-started">
|
|
83
83
|
<div class="content-data">
|
|
84
84
|
|
|
85
|
+
<h2>21.0.1-dev.0 (2026-11-20)</h2>
|
|
86
|
+
<h3>🩹 Fixes</h3>
|
|
87
|
+
<ul>
|
|
88
|
+
<li><strong>upgrade:</strong> TestBed.get->inject (removed in angular) + dedupe rxjs to single version</li>
|
|
89
|
+
</ul>
|
|
90
|
+
<h3>🧱 Updated Dependencies</h3>
|
|
91
|
+
<ul>
|
|
92
|
+
<li>Updated angular-material-form-system to 21.0.1-dev.0</li>
|
|
93
|
+
<li>Updated angular-authentication to 21.0.1-dev.0</li>
|
|
94
|
+
<li>Updated angular-config to 21.0.1-dev.0</li>
|
|
95
|
+
<li>Updated angular-forms to 21.0.1-dev.0</li>
|
|
96
|
+
<li>Updated utilities to 16.5.2-dev.0</li>
|
|
97
|
+
<li>Updated pattern to 1.1.16-dev.0</li>
|
|
98
|
+
<li>Updated rxjs to 1.1.18-dev.0</li>
|
|
99
|
+
</ul>
|
|
100
|
+
<h3>❤️ Thank You</h3>
|
|
101
|
+
<ul>
|
|
102
|
+
<li>Merzough Münker</li>
|
|
103
|
+
</ul>
|
|
85
104
|
<h2>19.0.5 (2026-11-20)</h2>
|
|
86
105
|
<p>This was a version bump only for angular-material-authentication to align it with other projects, there were no code changes.</p>
|
|
87
106
|
<h2>19.0.5-dev.0 (2026-06-19)</h2>
|
|
@@ -171,7 +171,6 @@
|
|
|
171
171
|
<code>MatIconModule</code>
|
|
172
172
|
<code>MatFormFieldModule</code>
|
|
173
173
|
<code>MatInputModule</code>
|
|
174
|
-
<code>NgIf</code>
|
|
175
174
|
<code>MatButtonModule</code>
|
|
176
175
|
<code>MatCheckboxModule</code>
|
|
177
176
|
<code>MatTooltipModule</code>
|
|
@@ -266,7 +265,7 @@
|
|
|
266
265
|
</tr>
|
|
267
266
|
<tr>
|
|
268
267
|
<td class="col-md-4">
|
|
269
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
268
|
+
<div class="io-line">Defined in <a href="" data-line="76" class="link-to-prism">src/lib/login/login.component.ts:76</a></div>
|
|
270
269
|
</td>
|
|
271
270
|
</tr>
|
|
272
271
|
|
|
@@ -348,8 +347,8 @@
|
|
|
348
347
|
|
|
349
348
|
<tr>
|
|
350
349
|
<td class="col-md-4">
|
|
351
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
352
|
-
class="link-to-prism">src/lib/login/login.component.ts:
|
|
350
|
+
<div class="io-line">Defined in <a href="" data-line="86"
|
|
351
|
+
class="link-to-prism">src/lib/login/login.component.ts:86</a></div>
|
|
353
352
|
</td>
|
|
354
353
|
</tr>
|
|
355
354
|
|
|
@@ -421,7 +420,7 @@
|
|
|
421
420
|
</tr>
|
|
422
421
|
<tr>
|
|
423
422
|
<td class="col-md-4">
|
|
424
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
423
|
+
<div class="io-line">Defined in <a href="" data-line="74" class="link-to-prism">src/lib/login/login.component.ts:74</a></div>
|
|
425
424
|
</td>
|
|
426
425
|
</tr>
|
|
427
426
|
|
|
@@ -434,10 +433,7 @@
|
|
|
434
433
|
|
|
435
434
|
|
|
436
435
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
437
|
-
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
438
|
-
AsyncPipe,
|
|
439
|
-
NgIf,
|
|
440
|
-
} from '@angular/common';
|
|
436
|
+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { AsyncPipe } from '@angular/common';
|
|
441
437
|
import {
|
|
442
438
|
ChangeDetectionStrategy,
|
|
443
439
|
Component,
|
|
@@ -490,24 +486,23 @@ import { RequestResetPasswordMethod } from './request-reset-password.method
|
|
|
490
486
|
fadeAnimation,
|
|
491
487
|
],
|
|
492
488
|
imports: [
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
]
|
|
489
|
+
ReactiveFormsModule,
|
|
490
|
+
FormDirective,
|
|
491
|
+
MatIconModule,
|
|
492
|
+
MatFormFieldModule,
|
|
493
|
+
MatInputModule,
|
|
494
|
+
MatButtonModule,
|
|
495
|
+
MatCheckboxModule,
|
|
496
|
+
MatTooltipModule,
|
|
497
|
+
MatProgressSpinnerModule,
|
|
498
|
+
FormControlMarkDirtyDirective,
|
|
499
|
+
FormSubmitFailedDirective,
|
|
500
|
+
FormSubmittingDirective,
|
|
501
|
+
MatProgressBarModule,
|
|
502
|
+
AsyncPipe,
|
|
503
|
+
MatSnackBarModule,
|
|
504
|
+
ControlErrorDirective
|
|
505
|
+
]
|
|
511
506
|
})
|
|
512
507
|
export class LoginComponent {
|
|
513
508
|
|
|
@@ -567,9 +562,9 @@ export class LoginComponent {
|
|
|
567
562
|
|
|
568
563
|
<div class="tab-pane fade " id="templateData">
|
|
569
564
|
<pre class="line-numbers"><code class="language-html"><form #form="rxapForm" [@fadeAnimation]="'in'"
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
565
|
+
class="inner mat-elevation-z5 flex flex-col justify-center items-center gap-4"
|
|
566
|
+
novalidate
|
|
567
|
+
rxapForm>
|
|
573
568
|
|
|
574
569
|
<div class="header flex flex-col items-center justify-center grow-0">
|
|
575
570
|
|
|
@@ -585,11 +580,11 @@ export class LoginComponent {
|
|
|
585
580
|
<mat-icon inline matPrefix>email</mat-icon>
|
|
586
581
|
<mat-label i18n>Email</mat-label>
|
|
587
582
|
<input formControlName="email"
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
583
|
+
i18n-placeholder
|
|
584
|
+
matInput
|
|
585
|
+
name="email"
|
|
586
|
+
placeholder="Enter your email address"
|
|
587
|
+
type="email">
|
|
593
588
|
<mat-error *rxapControlError="let error key 'required'">
|
|
594
589
|
Email is <strong>required</strong>
|
|
595
590
|
</mat-error>
|
|
@@ -602,25 +597,29 @@ export class LoginComponent {
|
|
|
602
597
|
<mat-icon inline matPrefix>vpn_key</mat-icon>
|
|
603
598
|
<mat-label i18n>Password</mat-label>
|
|
604
599
|
<input #passwordInput
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
600
|
+
formControlName="password"
|
|
601
|
+
i18n-placeholder
|
|
602
|
+
matInput
|
|
603
|
+
name="password"
|
|
604
|
+
placeholder="Enter your password"
|
|
605
|
+
type="password">
|
|
611
606
|
<mat-error *rxapControlError="let error key 'required'">
|
|
612
607
|
Password is <strong>required</strong>
|
|
613
608
|
</mat-error>
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
<mat-icon
|
|
623
|
-
|
|
609
|
+
@if (passwordInput.type === 'password') {
|
|
610
|
+
<button (click)="passwordInput.type = 'test'" mat-icon-button
|
|
611
|
+
matSuffix tabIndex="-1"
|
|
612
|
+
type="button">
|
|
613
|
+
<mat-icon>visibility</mat-icon>
|
|
614
|
+
</button>
|
|
615
|
+
}
|
|
616
|
+
@if (passwordInput.type === 'text') {
|
|
617
|
+
<button (click)="passwordInput.type = 'password'" mat-icon-button
|
|
618
|
+
matSuffix tabIndex="-1"
|
|
619
|
+
type="button">
|
|
620
|
+
<mat-icon>visibility_off</mat-icon>
|
|
621
|
+
</button>
|
|
622
|
+
}
|
|
624
623
|
</mat-form-field>
|
|
625
624
|
|
|
626
625
|
</div>
|
|
@@ -630,19 +629,21 @@ export class LoginComponent {
|
|
|
630
629
|
<mat-checkbox class="remember-input grow-0" formControlName="remember">Remember me</mat-checkbox>
|
|
631
630
|
|
|
632
631
|
<div [matTooltipDisabled]="form.control.controls['email'].valid"
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
632
|
+
class="grow-0"
|
|
633
|
+
matTooltip="Please enter a valid email address"
|
|
634
|
+
matTooltipPosition="above">
|
|
636
635
|
<button (click)="requestPasswordReset(form.value.email)"
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
636
|
+
[disabled]="!form.value.email || form.control.controls['email'].hasError('email')"
|
|
637
|
+
color="accent"
|
|
638
|
+
mat-button
|
|
639
|
+
type="button">
|
|
640
|
+
<span class="flex flex-row justify-between items-center gap-2">
|
|
641
|
+
@if (requestingPasswordReset$ | async) {
|
|
642
|
+
<mat-progress-spinner [diameter]="15"
|
|
643
|
+
mode="indeterminate"></mat-progress-spinner>
|
|
644
|
+
}
|
|
645
|
+
<span class="grow-0">Password forgotten</span>
|
|
646
|
+
</span>
|
|
646
647
|
</button>
|
|
647
648
|
</div>
|
|
648
649
|
|
|
@@ -770,7 +771,7 @@ export class LoginComponent {
|
|
|
770
771
|
<script src="../js/libs/htmlparser.js"></script>
|
|
771
772
|
<script src="../js/libs/deep-iterator.js"></script>
|
|
772
773
|
<script>
|
|
773
|
-
var COMPONENT_TEMPLATE = '<div><form #form="rxapForm" [@fadeAnimation]="\'in\'"
|
|
774
|
+
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> @if (passwordInput.type === \'password\') { <button (click)="passwordInput.type = \'test\'" mat-icon-button matSuffix tabIndex="-1" type="button"> <mat-icon>visibility</mat-icon> </button> } @if (passwordInput.type === \'text\') { <button (click)="passwordInput.type = \'password\'" 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"> @if (requestingPasswordReset$ | async) { <mat-progress-spinner [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>'
|
|
774
775
|
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'}];
|
|
775
776
|
var DIRECTIVES = [];
|
|
776
777
|
var ACTUAL_COMPONENT = {'name': 'LoginComponent'};
|
|
@@ -171,7 +171,6 @@
|
|
|
171
171
|
<code>MatIconModule</code>
|
|
172
172
|
<code>MatFormFieldModule</code>
|
|
173
173
|
<code>MatInputModule</code>
|
|
174
|
-
<code>NgIf</code>
|
|
175
174
|
<code>MatButtonModule</code>
|
|
176
175
|
<code>FormControlMarkDirtyDirective</code>
|
|
177
176
|
<code>FormSubmitFailedDirective</code>
|
|
@@ -217,8 +216,7 @@
|
|
|
217
216
|
|
|
218
217
|
|
|
219
218
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
220
|
-
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
221
|
-
import {
|
|
219
|
+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
222
220
|
ChangeDetectionStrategy,
|
|
223
221
|
Component,
|
|
224
222
|
} from '@angular/core';
|
|
@@ -259,20 +257,19 @@ import { ResetPasswordFormProviders } from './reset-password.form';
|
|
|
259
257
|
fadeAnimation,
|
|
260
258
|
],
|
|
261
259
|
imports: [
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
]
|
|
260
|
+
ReactiveFormsModule,
|
|
261
|
+
FormDirective,
|
|
262
|
+
MatIconModule,
|
|
263
|
+
MatFormFieldModule,
|
|
264
|
+
MatInputModule,
|
|
265
|
+
MatButtonModule,
|
|
266
|
+
FormControlMarkDirtyDirective,
|
|
267
|
+
FormSubmitFailedDirective,
|
|
268
|
+
FormSubmittingDirective,
|
|
269
|
+
MatProgressBarModule,
|
|
270
|
+
MatSnackBarModule,
|
|
271
|
+
ControlErrorDirective
|
|
272
|
+
]
|
|
276
273
|
})
|
|
277
274
|
export class ResetPasswordComponent {
|
|
278
275
|
}
|
|
@@ -281,9 +278,9 @@ export class ResetPasswordComponent {
|
|
|
281
278
|
|
|
282
279
|
<div class="tab-pane fade " id="templateData">
|
|
283
280
|
<pre class="line-numbers"><code class="language-html"><form #form="rxapForm" [@fadeAnimation]="'in'"
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
281
|
+
class="inner mat-elevation-z5 flex flex-col items-center justify-center gap-4"
|
|
282
|
+
novalidate
|
|
283
|
+
rxapForm>
|
|
287
284
|
|
|
288
285
|
<div class="header grow-0 flex flex-col items-center justify-center">
|
|
289
286
|
|
|
@@ -299,57 +296,63 @@ export class ResetPasswordComponent {
|
|
|
299
296
|
<mat-icon inline matPrefix>vpn_key</mat-icon>
|
|
300
297
|
<mat-label i18n>New password</mat-label>
|
|
301
298
|
<input #passwordInput
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
299
|
+
formControlName="password"
|
|
300
|
+
i18n-placeholder
|
|
301
|
+
matInput
|
|
302
|
+
placeholder="Enter your new password"
|
|
303
|
+
type="password">
|
|
307
304
|
<mat-error *rxapControlError="let error key 'required'">
|
|
308
305
|
Password is <strong>required</strong>
|
|
309
306
|
</mat-error>
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
<mat-icon
|
|
319
|
-
|
|
307
|
+
@if (passwordInput.type === 'password') {
|
|
308
|
+
<button (click)="passwordInput.type = 'text'" mat-icon-button
|
|
309
|
+
matSuffix tabIndex="-1"
|
|
310
|
+
type="button">
|
|
311
|
+
<mat-icon>visibility</mat-icon>
|
|
312
|
+
</button>
|
|
313
|
+
}
|
|
314
|
+
@if (passwordInput.type === 'text') {
|
|
315
|
+
<button (click)="passwordInput.type = 'password'" mat-icon-button
|
|
316
|
+
matSuffix tabIndex="-1"
|
|
317
|
+
type="button">
|
|
318
|
+
<mat-icon>visibility_off</mat-icon>
|
|
319
|
+
</button>
|
|
320
|
+
}
|
|
320
321
|
</mat-form-field>
|
|
321
322
|
|
|
322
323
|
<mat-form-field class="password-input">
|
|
323
324
|
<mat-icon inline matPrefix>vpn_key</mat-icon>
|
|
324
325
|
<mat-label i18n>Repeat password</mat-label>
|
|
325
326
|
<input #passwordRepeatInput
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
327
|
+
formControlName="passwordRepeat"
|
|
328
|
+
i18n-placeholder
|
|
329
|
+
matInput
|
|
330
|
+
placeholder="Enter your new password again"
|
|
331
|
+
type="password">
|
|
331
332
|
<mat-error *rxapControlError="let error key 'required'">
|
|
332
333
|
Password is <strong>required</strong>
|
|
333
334
|
</mat-error>
|
|
334
335
|
<mat-error *rxapControlError="let error key 'equal'">
|
|
335
336
|
Entered password are <strong>not equal</strong>
|
|
336
337
|
</mat-error>
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
338
|
+
@if (passwordRepeatInput.type === 'password') {
|
|
339
|
+
<button (click)="passwordRepeatInput.type = 'text'"
|
|
340
|
+
mat-icon-button
|
|
341
|
+
matSuffix
|
|
342
|
+
tabIndex="-1"
|
|
343
|
+
type="button">
|
|
344
|
+
<mat-icon>visibility</mat-icon>
|
|
345
|
+
</button>
|
|
346
|
+
}
|
|
347
|
+
@if (passwordRepeatInput.type === 'text') {
|
|
348
|
+
<button (click)="passwordRepeatInput.type = 'password'"
|
|
349
|
+
mat-icon-button
|
|
350
|
+
matSuffix
|
|
351
|
+
tabIndex="-1"
|
|
352
|
+
type="button">
|
|
353
|
+
<mat-icon>visibility_off</mat-icon>
|
|
354
|
+
</button>
|
|
355
|
+
}
|
|
353
356
|
</mat-form-field>
|
|
354
357
|
|
|
355
358
|
</div>
|
|
@@ -469,7 +472,7 @@ export class ResetPasswordComponent {
|
|
|
469
472
|
<script src="../js/libs/htmlparser.js"></script>
|
|
470
473
|
<script src="../js/libs/deep-iterator.js"></script>
|
|
471
474
|
<script>
|
|
472
|
-
var COMPONENT_TEMPLATE = '<div><form #form="rxapForm" [@fadeAnimation]="\'in\'"
|
|
475
|
+
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> @if (passwordInput.type === \'password\') { <button (click)="passwordInput.type = \'text\'" mat-icon-button matSuffix tabIndex="-1" type="button"> <mat-icon>visibility</mat-icon> </button> } @if (passwordInput.type === \'text\') { <button (click)="passwordInput.type = \'password\'" 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> @if (passwordRepeatInput.type === \'password\') { <button (click)="passwordRepeatInput.type = \'text\'" mat-icon-button matSuffix tabIndex="-1" type="button"> <mat-icon>visibility</mat-icon> </button> } @if (passwordRepeatInput.type === \'text\') { <button (click)="passwordRepeatInput.type = \'password\'" 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>'
|
|
473
476
|
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'}];
|
|
474
477
|
var DIRECTIVES = [];
|
|
475
478
|
var ACTUAL_COMPONENT = {'name': 'ResetPasswordComponent'};
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
</ol>
|
|
102
102
|
<ul class="dependencies-list">
|
|
103
103
|
<li>
|
|
104
|
-
<b>@nx/devkit</b> :
|
|
104
|
+
<b>@nx/devkit</b> : 22.7.5</li>
|
|
105
105
|
<li>
|
|
106
106
|
<b>tslib</b> : 2.6.2</li>
|
|
107
107
|
</ul>
|
|
@@ -113,33 +113,33 @@
|
|
|
113
113
|
</ol>
|
|
114
114
|
<ul class="dependencies-list">
|
|
115
115
|
<li>
|
|
116
|
-
<b>@angular/animations</b> : ^
|
|
116
|
+
<b>@angular/animations</b> : ^21.2.9</li>
|
|
117
117
|
<li>
|
|
118
|
-
<b>@angular/common</b> : ^
|
|
118
|
+
<b>@angular/common</b> : ^21.2.9</li>
|
|
119
119
|
<li>
|
|
120
|
-
<b>@angular/core</b> : ^
|
|
120
|
+
<b>@angular/core</b> : ^21.2.9</li>
|
|
121
121
|
<li>
|
|
122
|
-
<b>@angular/forms</b> : ^
|
|
122
|
+
<b>@angular/forms</b> : ^21.2.9</li>
|
|
123
123
|
<li>
|
|
124
|
-
<b>@angular/material</b> : ^
|
|
124
|
+
<b>@angular/material</b> : ^21.2.9</li>
|
|
125
125
|
<li>
|
|
126
|
-
<b>@angular/router</b> : ^
|
|
126
|
+
<b>@angular/router</b> : ^21.2.9</li>
|
|
127
127
|
<li>
|
|
128
|
-
<b>@rxap/authentication</b> : ^
|
|
128
|
+
<b>@rxap/authentication</b> : ^21.0.1-dev.0</li>
|
|
129
129
|
<li>
|
|
130
|
-
<b>@rxap/config</b> : ^
|
|
130
|
+
<b>@rxap/config</b> : ^21.0.1-dev.0</li>
|
|
131
131
|
<li>
|
|
132
|
-
<b>@rxap/forms</b> : ^
|
|
132
|
+
<b>@rxap/forms</b> : ^21.0.1-dev.0</li>
|
|
133
133
|
<li>
|
|
134
|
-
<b>@rxap/material-form-system</b> : ^
|
|
134
|
+
<b>@rxap/material-form-system</b> : ^21.0.1-dev.0</li>
|
|
135
135
|
<li>
|
|
136
|
-
<b>@rxap/pattern</b> : ^1.1.
|
|
136
|
+
<b>@rxap/pattern</b> : ^1.1.16-dev.0</li>
|
|
137
137
|
<li>
|
|
138
|
-
<b>@rxap/rxjs</b> : ^1.1.
|
|
138
|
+
<b>@rxap/rxjs</b> : ^1.1.18-dev.0</li>
|
|
139
139
|
<li>
|
|
140
|
-
<b>@rxap/utilities</b> : ^16.5.
|
|
140
|
+
<b>@rxap/utilities</b> : ^16.5.2-dev.0</li>
|
|
141
141
|
<li>
|
|
142
|
-
<b>rxjs</b> : ^7.8.
|
|
142
|
+
<b>rxjs</b> : ^7.8.2</li>
|
|
143
143
|
</ul>
|
|
144
144
|
|
|
145
145
|
|