@rxap/ngx-material-authentication 21.0.1-dev.0 → 21.0.1

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.
Files changed (92) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/compodoc/changelog.html +46 -0
  3. package/compodoc/components/LoadingComponent.html +9 -108
  4. package/compodoc/components/LoginComponent.html +9 -79
  5. package/compodoc/components/ResetPasswordComponent.html +11 -1
  6. package/compodoc/dependencies.html +7 -7
  7. package/compodoc/injectables/LoginForm.html +17 -78
  8. package/compodoc/injectables/LoginFormSubmitMethod.html +9 -67
  9. package/compodoc/injectables/LoginFormSubmitSuccessful.html +9 -67
  10. package/compodoc/injectables/ResetPasswordForm.html +13 -24
  11. package/compodoc/injectables/ResetPasswordFormSubmitMethod.html +8 -103
  12. package/compodoc/interfaces/ILoginForm.html +7 -17
  13. package/compodoc/interfaces/IResetPasswordForm.html +6 -17
  14. package/compodoc/js/search/search_index.js +2 -2
  15. package/compodoc/properties.html +1 -1
  16. package/docs/documentation.json +416 -792
  17. package/docs/html/assets/search.js +1 -1
  18. package/docs/html/classes/AuthenticationContainerComponent.html +2 -2
  19. package/docs/html/classes/LoadingComponent.html +4 -4
  20. package/docs/html/classes/LoginComponent.html +2 -2
  21. package/docs/html/classes/LoginForm.html +2 -2
  22. package/docs/html/classes/LoginFormSubmitMethod.html +2 -2
  23. package/docs/html/classes/LoginFormSubmitSuccessful.html +2 -2
  24. package/docs/html/classes/RequestResetPasswordMethod.html +2 -2
  25. package/docs/html/classes/ResetPasswordComponent.html +2 -2
  26. package/docs/html/classes/ResetPasswordForm.html +2 -2
  27. package/docs/html/classes/ResetPasswordFormSubmitMethod.html +2 -2
  28. package/docs/html/classes/SetNewPasswordWithResetTokenMethod.html +2 -2
  29. package/docs/html/classes/SignInWithEmailAndPasswordMethod.html +2 -2
  30. package/docs/html/index.html +2 -2
  31. package/docs/html/interfaces/ILoginForm.html +2 -2
  32. package/docs/html/interfaces/IResetPasswordForm.html +2 -2
  33. package/docs/html/interfaces/RequestResetPasswordMethodParameters.html +2 -2
  34. package/docs/html/interfaces/SetNewPasswordWithResetTokenMethodParameters.html +2 -2
  35. package/docs/html/interfaces/SignInWithEmailAndPasswordMethodParameters.html +2 -2
  36. package/docs/html/modules.html +1 -1
  37. package/docs/html/variables/AUTHENTICATION_ROUTE.html +1 -1
  38. package/docs/html/variables/LoginFormProviders.html +1 -1
  39. package/docs/html/variables/RXAP_RESET_PASSWORD_FORM.html +1 -1
  40. package/docs/html/variables/ResetPasswordFormProviders.html +1 -1
  41. package/docs/html/variables/fadeAnimation.html +1 -1
  42. package/docs/markdown/README.md +1 -1
  43. package/docs/markdown/classes/AuthenticationContainerComponent.md +2 -2
  44. package/docs/markdown/classes/LoadingComponent.md +8 -20
  45. package/docs/markdown/classes/LoginComponent.md +5 -17
  46. package/docs/markdown/classes/LoginForm.md +11 -19
  47. package/docs/markdown/classes/LoginFormSubmitMethod.md +4 -12
  48. package/docs/markdown/classes/LoginFormSubmitSuccessful.md +4 -12
  49. package/docs/markdown/classes/RequestResetPasswordMethod.md +3 -3
  50. package/docs/markdown/classes/ResetPasswordComponent.md +2 -2
  51. package/docs/markdown/classes/ResetPasswordForm.md +7 -7
  52. package/docs/markdown/classes/ResetPasswordFormSubmitMethod.md +4 -24
  53. package/docs/markdown/classes/SetNewPasswordWithResetTokenMethod.md +3 -3
  54. package/docs/markdown/classes/SignInWithEmailAndPasswordMethod.md +3 -3
  55. package/docs/markdown/globals.md +2 -2
  56. package/docs/markdown/interfaces/ILoginForm.md +4 -4
  57. package/docs/markdown/interfaces/IResetPasswordForm.md +4 -4
  58. package/docs/markdown/interfaces/RequestResetPasswordMethodParameters.md +3 -3
  59. package/docs/markdown/interfaces/SetNewPasswordWithResetTokenMethodParameters.md +4 -4
  60. package/docs/markdown/interfaces/SignInWithEmailAndPasswordMethodParameters.md +5 -5
  61. package/docs/markdown/variables/AUTHENTICATION_ROUTE.md +2 -2
  62. package/docs/markdown/variables/LoginFormProviders.md +2 -2
  63. package/docs/markdown/variables/RXAP_RESET_PASSWORD_FORM.md +2 -2
  64. package/docs/markdown/variables/ResetPasswordFormProviders.md +2 -2
  65. package/docs/markdown/variables/fadeAnimation.md +2 -2
  66. package/docs/wiki/Class.AuthenticationContainerComponent.md +1 -1
  67. package/docs/wiki/Class.LoadingComponent.md +7 -19
  68. package/docs/wiki/Class.LoginComponent.md +4 -16
  69. package/docs/wiki/Class.LoginForm.md +10 -18
  70. package/docs/wiki/Class.LoginFormSubmitMethod.md +3 -11
  71. package/docs/wiki/Class.LoginFormSubmitSuccessful.md +3 -11
  72. package/docs/wiki/Class.RequestResetPasswordMethod.md +2 -2
  73. package/docs/wiki/Class.ResetPasswordComponent.md +1 -1
  74. package/docs/wiki/Class.ResetPasswordForm.md +6 -6
  75. package/docs/wiki/Class.ResetPasswordFormSubmitMethod.md +3 -23
  76. package/docs/wiki/Class.SetNewPasswordWithResetTokenMethod.md +2 -2
  77. package/docs/wiki/Class.SignInWithEmailAndPasswordMethod.md +2 -2
  78. package/docs/wiki/Interface.ILoginForm.md +3 -3
  79. package/docs/wiki/Interface.IResetPasswordForm.md +3 -3
  80. package/docs/wiki/Interface.RequestResetPasswordMethodParameters.md +2 -2
  81. package/docs/wiki/Interface.SetNewPasswordWithResetTokenMethodParameters.md +3 -3
  82. package/docs/wiki/Interface.SignInWithEmailAndPasswordMethodParameters.md +4 -4
  83. package/docs/wiki/Variable.AUTHENTICATION_ROUTE.md +1 -1
  84. package/docs/wiki/Variable.LoginFormProviders.md +1 -1
  85. package/docs/wiki/Variable.RXAP_RESET_PASSWORD_FORM.md +1 -1
  86. package/docs/wiki/Variable.ResetPasswordFormProviders.md +1 -1
  87. package/docs/wiki/Variable.fadeAnimation.md +1 -1
  88. package/docs/wiki/globals.md +1 -1
  89. package/fesm2022/rxap-ngx-material-authentication.mjs +59 -99
  90. package/fesm2022/rxap-ngx-material-authentication.mjs.map +1 -1
  91. package/package.json +27 -27
  92. package/types/rxap-ngx-material-authentication.d.ts +23 -30
package/CHANGELOG.md CHANGED
@@ -1,3 +1,51 @@
1
+ ## 21.0.1 (2026-11-22)
2
+
3
+ ### 🚀 Features
4
+
5
+ - **angular:** add ng-prism showcases from the leaf library outwards
6
+ - **angular:** add ng-prism styleguide targets and environment showcase
7
+
8
+ ### 🩹 Fixes
9
+
10
+ - **upgrade:** TestBed.get->inject (removed in angular) + dedupe rxjs to single version
11
+
12
+ ### 🧱 Updated Dependencies
13
+
14
+ - Updated angular-material-form-system to 21.0.1
15
+ - Updated angular-authentication to 21.0.1
16
+ - Updated angular-config to 21.0.1
17
+ - Updated angular-forms to 21.0.1
18
+ - Updated utilities to 16.5.2
19
+ - Updated pattern to 1.1.16
20
+ - Updated rxjs to 1.1.18
21
+
22
+ ### ❤️ Thank You
23
+
24
+ - Claude Opus 5.5
25
+ - Merzough Münker
26
+
27
+ ## 21.0.1-dev.1 (2026-11-22)
28
+
29
+ ### 🚀 Features
30
+
31
+ - **angular:** add ng-prism showcases from the leaf library outwards
32
+ - **angular:** add ng-prism styleguide targets and environment showcase
33
+
34
+ ### 🧱 Updated Dependencies
35
+
36
+ - Updated angular-material-form-system to 21.0.1-dev.1
37
+ - Updated angular-authentication to 21.0.1-dev.1
38
+ - Updated angular-config to 21.0.1-dev.1
39
+ - Updated angular-forms to 21.0.1-dev.1
40
+ - Updated utilities to 16.5.2-dev.1
41
+ - Updated pattern to 1.1.16-dev.1
42
+ - Updated rxjs to 1.1.18-dev.1
43
+
44
+ ### ❤️ Thank You
45
+
46
+ - Claude Opus 5.5
47
+ - Merzough Münker
48
+
1
49
  ## 21.0.1-dev.0 (2026-11-20)
2
50
 
3
51
  ### 🩹 Fixes
@@ -82,6 +82,52 @@
82
82
  <div class="content getting-started">
83
83
  <div class="content-data">
84
84
 
85
+ <h2>21.0.1 (2026-11-22)</h2>
86
+ <h3>🚀 Features</h3>
87
+ <ul>
88
+ <li><strong>angular:</strong> add ng-prism showcases from the leaf library outwards</li>
89
+ <li><strong>angular:</strong> add ng-prism styleguide targets and environment showcase</li>
90
+ </ul>
91
+ <h3>🩹 Fixes</h3>
92
+ <ul>
93
+ <li><strong>upgrade:</strong> TestBed.get-&gt;inject (removed in angular) + dedupe rxjs to single version</li>
94
+ </ul>
95
+ <h3>🧱 Updated Dependencies</h3>
96
+ <ul>
97
+ <li>Updated angular-material-form-system to 21.0.1</li>
98
+ <li>Updated angular-authentication to 21.0.1</li>
99
+ <li>Updated angular-config to 21.0.1</li>
100
+ <li>Updated angular-forms to 21.0.1</li>
101
+ <li>Updated utilities to 16.5.2</li>
102
+ <li>Updated pattern to 1.1.16</li>
103
+ <li>Updated rxjs to 1.1.18</li>
104
+ </ul>
105
+ <h3>❤️ Thank You</h3>
106
+ <ul>
107
+ <li>Claude Opus 5.5</li>
108
+ <li>Merzough Münker</li>
109
+ </ul>
110
+ <h2>21.0.1-dev.1 (2026-11-22)</h2>
111
+ <h3>🚀 Features</h3>
112
+ <ul>
113
+ <li><strong>angular:</strong> add ng-prism showcases from the leaf library outwards</li>
114
+ <li><strong>angular:</strong> add ng-prism styleguide targets and environment showcase</li>
115
+ </ul>
116
+ <h3>🧱 Updated Dependencies</h3>
117
+ <ul>
118
+ <li>Updated angular-material-form-system to 21.0.1-dev.1</li>
119
+ <li>Updated angular-authentication to 21.0.1-dev.1</li>
120
+ <li>Updated angular-config to 21.0.1-dev.1</li>
121
+ <li>Updated angular-forms to 21.0.1-dev.1</li>
122
+ <li>Updated utilities to 16.5.2-dev.1</li>
123
+ <li>Updated pattern to 1.1.16-dev.1</li>
124
+ <li>Updated rxjs to 1.1.18-dev.1</li>
125
+ </ul>
126
+ <h3>❤️ Thank You</h3>
127
+ <ul>
128
+ <li>Claude Opus 5.5</li>
129
+ <li>Merzough Münker</li>
130
+ </ul>
85
131
  <h2>21.0.1-dev.0 (2026-11-20)</h2>
86
132
  <h3>🩹 Fixes</h3>
87
133
  <ul>
@@ -204,14 +204,10 @@
204
204
  <td class="col-md-4">
205
205
  <ul class="index-list">
206
206
  <li>
207
- <span class="modifier"></span>
208
- <span class="modifier">Public</span>
209
207
  <span class="modifier">Readonly</span>
210
208
  <a href="#authentication" >authentication</a>
211
209
  </li>
212
210
  <li>
213
- <span class="modifier"></span>
214
- <span class="modifier">Public</span>
215
211
  <span class="modifier">Readonly</span>
216
212
  <a href="#router" >router</a>
217
213
  </li>
@@ -233,66 +229,6 @@
233
229
  </table>
234
230
  </section>
235
231
 
236
- <section data-compodoc="block-constructor">
237
- <h3 id="constructor">Constructor</h3>
238
- <table class="table table-sm table-bordered">
239
- <tbody>
240
- <tr>
241
- <td class="col-md-4">
242
- <code>constructor(authentication: RxapAuthenticationService, router: Router)</code>
243
- </td>
244
- </tr>
245
- <tr>
246
- <td class="col-md-4">
247
- <div class="io-line">Defined in <a href="" data-line="25" class="link-to-prism">src/lib/loading/loading.component.ts:25</a></div>
248
- </td>
249
- </tr>
250
-
251
- <tr>
252
- <td class="col-md-4">
253
- <div>
254
- <b>Parameters :</b>
255
- <table class="params">
256
- <thead>
257
- <tr>
258
- <td>Name</td>
259
- <td>Type</td>
260
- <td>Optional</td>
261
- </tr>
262
- </thead>
263
- <tbody>
264
- <tr>
265
- <td>authentication</td>
266
-
267
- <td>
268
- <code>RxapAuthenticationService</code>
269
- </td>
270
-
271
- <td>
272
- No
273
- </td>
274
-
275
- </tr>
276
- <tr>
277
- <td>router</td>
278
-
279
- <td>
280
- <code>Router</code>
281
- </td>
282
-
283
- <td>
284
- No
285
- </td>
286
-
287
- </tr>
288
- </tbody>
289
- </table>
290
- </div>
291
- </td>
292
- </tr>
293
- </tbody>
294
- </table>
295
- </section>
296
232
 
297
233
 
298
234
 
@@ -310,8 +246,6 @@
310
246
  <td class="col-md-4">
311
247
  <a name="authentication"></a>
312
248
  <span class="name">
313
- <span class="modifier"></span>
314
- <span class="modifier">Public</span>
315
249
  <span class="modifier">Readonly</span>
316
250
  <span ><b>authentication</b></span>
317
251
  <a href="#authentication"><span class="icon ion-ios-link"></span></a>
@@ -320,22 +254,12 @@
320
254
  </tr>
321
255
  <tr>
322
256
  <td class="col-md-4">
323
- <i>Type : </i> <code>RxapAuthenticationService</code>
324
-
325
- </td>
326
- </tr>
327
- <tr>
328
- <td class="col-md-4">
329
- <b>Decorators : </b>
330
- <br />
331
- <code>
332
- @Inject(RxapAuthenticationService)<br />
333
- </code>
257
+ <i>Default value : </i><code>inject&lt;RxapAuthenticationService&gt;(RxapAuthenticationService)</code>
334
258
  </td>
335
259
  </tr>
336
260
  <tr>
337
261
  <td class="col-md-4">
338
- <div class="io-line">Defined in <a href="" data-line="29" class="link-to-prism">src/lib/loading/loading.component.ts:29</a></div>
262
+ <div class="io-line">Defined in <a href="" data-line="19" class="link-to-prism">src/lib/loading/loading.component.ts:19</a></div>
339
263
  </td>
340
264
  </tr>
341
265
 
@@ -348,8 +272,6 @@
348
272
  <td class="col-md-4">
349
273
  <a name="router"></a>
350
274
  <span class="name">
351
- <span class="modifier"></span>
352
- <span class="modifier">Public</span>
353
275
  <span class="modifier">Readonly</span>
354
276
  <span ><b>router</b></span>
355
277
  <a href="#router"><span class="icon ion-ios-link"></span></a>
@@ -358,22 +280,12 @@
358
280
  </tr>
359
281
  <tr>
360
282
  <td class="col-md-4">
361
- <i>Type : </i> <code>Router</code>
362
-
363
- </td>
364
- </tr>
365
- <tr>
366
- <td class="col-md-4">
367
- <b>Decorators : </b>
368
- <br />
369
- <code>
370
- @Inject(Router)<br />
371
- </code>
283
+ <i>Default value : </i><code>inject&lt;Router&gt;(Router)</code>
372
284
  </td>
373
285
  </tr>
374
286
  <tr>
375
287
  <td class="col-md-4">
376
- <div class="io-line">Defined in <a href="" data-line="31" class="link-to-prism">src/lib/loading/loading.component.ts:31</a></div>
288
+ <div class="io-line">Defined in <a href="" data-line="20" class="link-to-prism">src/lib/loading/loading.component.ts:20</a></div>
377
289
  </td>
378
290
  </tr>
379
291
 
@@ -401,7 +313,7 @@
401
313
  </tr>
402
314
  <tr>
403
315
  <td class="col-md-4">
404
- <div class="io-line">Defined in <a href="" data-line="25" class="link-to-prism">src/lib/loading/loading.component.ts:25</a></div>
316
+ <div class="io-line">Defined in <a href="" data-line="22" class="link-to-prism">src/lib/loading/loading.component.ts:22</a></div>
405
317
  </td>
406
318
  </tr>
407
319
 
@@ -414,13 +326,7 @@
414
326
 
415
327
 
416
328
  <div class="tab-pane fade tab-source-code" id="source">
417
- <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
418
- ChangeDetectionStrategy,
419
- Component,
420
- Inject,
421
- OnDestroy,
422
- OnInit,
423
- } from &#x27;@angular/core&#x27;;
329
+ <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { ChangeDetectionStrategy, Component, OnDestroy, OnInit, inject } from &#x27;@angular/core&#x27;;
424
330
  import { MatProgressBarModule } from &#x27;@angular/material/progress-bar&#x27;;
425
331
  import { Router } from &#x27;@angular/router&#x27;;
426
332
  import { RxapAuthenticationService } from &#x27;@rxap/authentication&#x27;;
@@ -438,15 +344,10 @@ import {
438
344
  imports: [MatProgressBarModule]
439
345
  })
440
346
  export class LoadingComponent implements OnInit, OnDestroy {
441
- public subscription?: Subscription;
347
+ readonly authentication &#x3D; inject&lt;RxapAuthenticationService&gt;(RxapAuthenticationService);
348
+ readonly router &#x3D; inject&lt;Router&gt;(Router);
442
349
 
443
- constructor(
444
- @Inject(RxapAuthenticationService)
445
- public readonly authentication: RxapAuthenticationService,
446
- @Inject(Router)
447
- public readonly router: Router,
448
- ) {
449
- }
350
+ public subscription?: Subscription;
450
351
 
451
352
  public ngOnInit(): void {
452
353
  // TODO : remove the concept of isAuthenticated$
@@ -254,66 +254,6 @@
254
254
  </table>
255
255
  </section>
256
256
 
257
- <section data-compodoc="block-constructor">
258
- <h3 id="constructor">Constructor</h3>
259
- <table class="table table-sm table-bordered">
260
- <tbody>
261
- <tr>
262
- <td class="col-md-4">
263
- <code>constructor(authentication: RxapAuthenticationService, snackBar: MatSnackBar)</code>
264
- </td>
265
- </tr>
266
- <tr>
267
- <td class="col-md-4">
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>
269
- </td>
270
- </tr>
271
-
272
- <tr>
273
- <td class="col-md-4">
274
- <div>
275
- <b>Parameters :</b>
276
- <table class="params">
277
- <thead>
278
- <tr>
279
- <td>Name</td>
280
- <td>Type</td>
281
- <td>Optional</td>
282
- </tr>
283
- </thead>
284
- <tbody>
285
- <tr>
286
- <td>authentication</td>
287
-
288
- <td>
289
- <code>RxapAuthenticationService</code>
290
- </td>
291
-
292
- <td>
293
- No
294
- </td>
295
-
296
- </tr>
297
- <tr>
298
- <td>snackBar</td>
299
-
300
- <td>
301
- <code>MatSnackBar</code>
302
- </td>
303
-
304
- <td>
305
- No
306
- </td>
307
-
308
- </tr>
309
- </tbody>
310
- </table>
311
- </div>
312
- </td>
313
- </tr>
314
- </tbody>
315
- </table>
316
- </section>
317
257
 
318
258
 
319
259
 
@@ -347,8 +287,8 @@
347
287
 
348
288
  <tr>
349
289
  <td class="col-md-4">
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>
290
+ <div class="io-line">Defined in <a href="" data-line="76"
291
+ class="link-to-prism">src/lib/login/login.component.ts:76</a></div>
352
292
  </td>
353
293
  </tr>
354
294
 
@@ -420,7 +360,7 @@
420
360
  </tr>
421
361
  <tr>
422
362
  <td class="col-md-4">
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>
363
+ <div class="io-line">Defined in <a href="" data-line="72" class="link-to-prism">src/lib/login/login.component.ts:72</a></div>
424
364
  </td>
425
365
  </tr>
426
366
 
@@ -434,12 +374,7 @@
434
374
 
435
375
  <div class="tab-pane fade tab-source-code" id="source">
436
376
  <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { AsyncPipe } from &#x27;@angular/common&#x27;;
437
- import {
438
- ChangeDetectionStrategy,
439
- Component,
440
- inject,
441
- Inject,
442
- } from &#x27;@angular/core&#x27;;
377
+ import { ChangeDetectionStrategy, Component, inject } from &#x27;@angular/core&#x27;;
443
378
  import { ReactiveFormsModule } from &#x27;@angular/forms&#x27;;
444
379
  import { MatButtonModule } from &#x27;@angular/material/button&#x27;;
445
380
  import { MatCheckboxModule } from &#x27;@angular/material/checkbox&#x27;;
@@ -505,19 +440,14 @@ import { RequestResetPasswordMethod } from &#x27;./request-reset-password.method
505
440
  ]
506
441
  })
507
442
  export class LoginComponent {
443
+ private readonly authentication &#x3D; inject&lt;RxapAuthenticationService&gt;(RxapAuthenticationService);
444
+ private readonly snackBar &#x3D; inject&lt;MatSnackBar&gt;(MatSnackBar);
445
+
508
446
 
509
447
  public readonly requestingPasswordReset$ &#x3D; new ToggleSubject();
510
448
 
511
449
  private readonly requestPasswordResetMethod &#x3D; inject(RequestResetPasswordMethod);
512
450
 
513
- constructor(
514
- @Inject(RxapAuthenticationService)
515
- private readonly authentication: RxapAuthenticationService,
516
- @Inject(MatSnackBar)
517
- private readonly snackBar: MatSnackBar,
518
- ) {
519
- }
520
-
521
451
  public async requestPasswordReset(email: string) {
522
452
  this.requestingPasswordReset$.enable();
523
453
  try {
@@ -607,7 +537,7 @@ export class LoginComponent {
607
537
  Password is &lt;strong&gt;required&lt;/strong&gt;
608
538
  &lt;/mat-error&gt;
609
539
  @if (passwordInput.type &#x3D;&#x3D;&#x3D; &#x27;password&#x27;) {
610
- &lt;button (click)&#x3D;&quot;passwordInput.type &#x3D; &#x27;test&#x27;&quot; mat-icon-button
540
+ &lt;button (click)&#x3D;&quot;passwordInput.type &#x3D; &#x27;text&#x27;&quot; mat-icon-button
611
541
  matSuffix tabIndex&#x3D;&quot;-1&quot;
612
542
  type&#x3D;&quot;button&quot;&gt;
613
543
  &lt;mat-icon&gt;visibility&lt;/mat-icon&gt;
@@ -771,7 +701,7 @@ export class LoginComponent {
771
701
  <script src="../js/libs/htmlparser.js"></script>
772
702
  <script src="../js/libs/deep-iterator.js"></script>
773
703
  <script>
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>'
704
+ 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 = \'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> </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>'
775
705
  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'}];
776
706
  var DIRECTIVES = [];
777
707
  var ACTUAL_COMPONENT = {'name': 'LoginComponent'};
@@ -240,7 +240,17 @@ import {
240
240
  import { ControlErrorDirective } from &#x27;@rxap/material-form-system&#x27;;
241
241
  import { fadeAnimation } from &#x27;../fade-animation&#x27;;
242
242
  import { ResetPasswordFormProviders } from &#x27;./reset-password.form&#x27;;
243
-
243
+ import { Showcase } from &#x27;@ng-prism/core&#x27;;
244
+
245
+ @Showcase({
246
+ title: &#x27;Reset Password&#x27;,
247
+ category: &#x27;Authentication&#x27;,
248
+ description: &#x27;Form to set a new password after a password reset request.&#x27;,
249
+ status: &#x27;stable&#x27;,
250
+ variants: [
251
+ { name: &#x27;Default&#x27; },
252
+ ],
253
+ })
244
254
  @Component({
245
255
  selector: &#x27;rxap-reset-password&#x27;,
246
256
  templateUrl: &#x27;./reset-password.component.html&#x27;,
@@ -125,19 +125,19 @@
125
125
  <li>
126
126
  <b>@angular/router</b> : ^21.2.9</li>
127
127
  <li>
128
- <b>@rxap/authentication</b> : ^21.0.1-dev.0</li>
128
+ <b>@rxap/authentication</b> : ^21.0.1</li>
129
129
  <li>
130
- <b>@rxap/config</b> : ^21.0.1-dev.0</li>
130
+ <b>@rxap/config</b> : ^21.0.1</li>
131
131
  <li>
132
- <b>@rxap/forms</b> : ^21.0.1-dev.0</li>
132
+ <b>@rxap/forms</b> : ^21.0.1</li>
133
133
  <li>
134
- <b>@rxap/material-form-system</b> : ^21.0.1-dev.0</li>
134
+ <b>@rxap/material-form-system</b> : ^21.0.1</li>
135
135
  <li>
136
- <b>@rxap/pattern</b> : ^1.1.16-dev.0</li>
136
+ <b>@rxap/pattern</b> : ^1.1.16</li>
137
137
  <li>
138
- <b>@rxap/rxjs</b> : ^1.1.18-dev.0</li>
138
+ <b>@rxap/rxjs</b> : ^1.1.18</li>
139
139
  <li>
140
- <b>@rxap/utilities</b> : ^16.5.2-dev.0</li>
140
+ <b>@rxap/utilities</b> : ^16.5.2</li>
141
141
  <li>
142
142
  <b>rxjs</b> : ^7.8.2</li>
143
143
  </ul>