@flusys/ng-auth 6.2.1 → 6.2.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flusys/ng-auth",
3
- "version": "6.2.1",
3
+ "version": "6.2.2",
4
4
  "description": "Authentication module for FLUSYS Angular applications",
5
5
  "license": "MIT",
6
6
  "peerDependencies": {
@@ -8,10 +8,10 @@
8
8
  "@angular/core": ">=22.0.0",
9
9
  "@angular/forms": ">=22.0.0",
10
10
  "@angular/router": ">=22.0.0",
11
- "@flusys/ng-core": ">=6.2.1",
12
- "@flusys/ng-layout": ">=6.2.1",
13
- "@flusys/ng-shared": ">=6.2.1",
14
- "@flusys/ng-ui": ">=6.2.1",
11
+ "@flusys/ng-core": ">=6.2.2",
12
+ "@flusys/ng-layout": ">=6.2.2",
13
+ "@flusys/ng-shared": ">=6.2.2",
14
+ "@flusys/ng-ui": ">=6.2.2",
15
15
  "rxjs": "^7.8.0"
16
16
  },
17
17
  "sideEffects": false,
@@ -300,6 +300,7 @@ declare class AuthStateService {
300
300
  private readonly router;
301
301
  private readonly platform;
302
302
  private readonly translateAdapter;
303
+ private readonly permissionValidator;
303
304
  private readonly _user;
304
305
  private readonly _accessToken;
305
306
  private readonly _tokenExpiresAt;
@@ -340,6 +341,7 @@ declare class AuthStateService {
340
341
  private isValidReturnUrl;
341
342
  getStoredCompanyId(): string | null;
342
343
  getStoredBranchId(): string | null;
344
+ getSavedUserName(): string | null;
343
345
  private loadFromStorage;
344
346
  /**
345
347
  * Decode JWT expiry without verification (client-side only).
@@ -972,6 +974,7 @@ declare class LoginPageComponent {
972
974
  readonly currentStep: _angular_core.WritableSignal<LoginStep>;
973
975
  readonly isLoading: _angular_core.WritableSignal<boolean>;
974
976
  readonly unverifiedEmail: _angular_core.WritableSignal<string>;
977
+ readonly savedUserName: _angular_core.WritableSignal<string | null>;
975
978
  readonly loginFormModel: _angular_core.WritableSignal<ILoginFormModel>;
976
979
  private readonly emailErrorMessage;
977
980
  private readonly passwordMinLength;