verben-authentication-ui 0.8.6 → 0.8.8

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.
@@ -2,6 +2,7 @@ import * as i0 from '@angular/core';
2
2
  import { InjectionToken, Injectable, Inject, Optional, EventEmitter, Component, Input, Output, NgModule, ViewChild, signal, computed, ChangeDetectionStrategy, ViewChildren } from '@angular/core';
3
3
  import * as i1$1 from '@angular/forms';
4
4
  import { FormControl, Validators, FormsModule, ReactiveFormsModule } from '@angular/forms';
5
+ import CryptoJS from 'crypto-js';
5
6
  import * as i1 from '@angular/common/http';
6
7
  import { HttpClientModule } from '@angular/common/http';
7
8
  import * as i8 from 'verben-ng-ui';
@@ -10,7 +11,6 @@ import * as i7 from '@angular/common';
10
11
  import { CommonModule } from '@angular/common';
11
12
  import * as i1$2 from '@angular/router';
12
13
  import { RouterLink } from '@angular/router';
13
- import CryptoJS from 'crypto-js';
14
14
  import { BehaviorSubject, Subject, debounceTime, distinctUntilChanged, takeUntil, lastValueFrom } from 'rxjs';
15
15
 
16
16
  class ErrorResponse {
@@ -229,10 +229,10 @@ class ResetPasswordComponent {
229
229
  }
230
230
  var data = {
231
231
  OldPassword: this.showOldPassword
232
- ? this.resetPasswordForm.controls['OldPassword'].value
232
+ ? String(CryptoJS.MD5(this.resetPasswordForm.controls['OldPassword'].value))
233
233
  : undefined,
234
- Password: this.resetPasswordForm.controls['Password'].value,
235
- ConfirmPassword: this.resetPasswordForm.controls['ConfirmPassword'].value,
234
+ Password: String(CryptoJS.MD5(this.resetPasswordForm.controls['Password'].value)),
235
+ ConfirmPassword: String(CryptoJS.MD5(this.resetPasswordForm.controls['ConfirmPassword'].value)),
236
236
  };
237
237
  this.onSubmit.emit(data);
238
238
  var passwordRequest = {
@@ -5750,6 +5750,8 @@ class RoleControlComponent {
5750
5750
  return undefined;
5751
5751
  }
5752
5752
  else {
5753
+ this.cardDataView.clearData();
5754
+ this.currentData = null;
5753
5755
  this.pageState = res;
5754
5756
  var result = res.Result;
5755
5757
  this.setUpMappedData(result);