@flusys/ng-auth 7.1.0 → 8.0.0-beta.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flusys/ng-auth",
3
- "version": "7.1.0",
3
+ "version": "8.0.0-beta.1",
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": ">=7.1.0",
12
- "@flusys/ng-layout": ">=7.1.0",
13
- "@flusys/ng-shared": ">=7.1.0",
14
- "@flusys/ng-ui": ">=7.1.0",
11
+ "@flusys/ng-core": ">=8.0.0-beta.1",
12
+ "@flusys/ng-layout": ">=8.0.0-beta.1",
13
+ "@flusys/ng-shared": ">=8.0.0-beta.1",
14
+ "@flusys/ng-ui": ">=8.0.0-beta.1",
15
15
  "rxjs": "^7.8.0"
16
16
  },
17
17
  "sideEffects": false,
@@ -341,7 +341,6 @@ declare class AuthStateService {
341
341
  private readonly appConfig;
342
342
  private readonly router;
343
343
  private readonly platform;
344
- private readonly translateAdapter;
345
344
  private readonly permissionValidator;
346
345
  private readonly _user;
347
346
  private readonly _accessToken;
@@ -555,9 +554,9 @@ declare class AuthLayoutApiAdapter implements ILayoutAuthApi {
555
554
  private readonly authState;
556
555
  private readonly permissionApi;
557
556
  private readonly router;
558
- logOut(): Observable<any>;
557
+ logOut(): Observable<unknown>;
559
558
  navigateLogin(withUrl?: boolean): void;
560
- switchCompany(companyId: string, branchId: string): Observable<any>;
559
+ switchCompany(companyId: string, branchId: string): Observable<unknown>;
561
560
  getUserCompanies(): Observable<ICompanyInfo$1[]>;
562
561
  getCompanyBranches(companyId: string): Observable<IBranchInfo$1[]>;
563
562
  getMyCompanies(): Observable<ICompanyInfo$1[]>;
@@ -585,7 +584,7 @@ declare class AuthUserProviderAdapter implements IUserProvider {
585
584
  pageSize?: number;
586
585
  search?: string;
587
586
  isActive?: boolean;
588
- [key: string]: any;
587
+ [key: string]: unknown;
589
588
  }): Observable<IListResponse<IUserBasicInfo>>;
590
589
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AuthUserProviderAdapter, never>;
591
590
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<AuthUserProviderAdapter>;
@@ -912,7 +911,7 @@ declare class BranchFormComponent {
912
911
  loadBranch(id: string): Promise<void>;
913
912
  private toFormModel;
914
913
  generateSlug(): void;
915
- onSubmit(): Promise<void>;
914
+ onSubmit(event: Event): Promise<void>;
916
915
  private updateBranch;
917
916
  private createBranch;
918
917
  private buildOptionalFields;
@@ -1011,7 +1010,7 @@ declare class ForgotPasswordPageComponent {
1011
1010
  readonly formModel: _angular_core.WritableSignal<IForgotPasswordFormModel>;
1012
1011
  readonly forgotForm: _angular_forms_signals.FieldTree<IForgotPasswordFormModel, string | number, "writable">;
1013
1012
  readonly isFormValid: _angular_core.Signal<boolean>;
1014
- onSubmit(): void;
1013
+ onSubmit(event: Event): void;
1015
1014
  private showEmailSent;
1016
1015
  resetForm(): void;
1017
1016
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ForgotPasswordPageComponent, never>;
@@ -1064,9 +1063,9 @@ declare class LoginPageComponent {
1064
1063
  readonly branches: _angular_core.Signal<IBranchSelectionInfo[]>;
1065
1064
  constructor();
1066
1065
  private restorePendingSelectionState;
1067
- onSubmit(): void;
1066
+ onSubmit(event: Event): void;
1068
1067
  onCompanyChange(): void;
1069
- onSelectCompany(): void;
1068
+ onSelectCompany(event: Event): void;
1070
1069
  goBackToCredentials(): void;
1071
1070
  onResendVerification(): void;
1072
1071
  private autoSelectIfSingle;
@@ -1141,6 +1140,7 @@ declare class ProfilePageComponent {
1141
1140
  private readonly fieldInjectors;
1142
1141
  getFieldInjector(field: IProfileExtraField): Injector;
1143
1142
  readonly passwordModel: _angular_core.WritableSignal<IPasswordFormModel>;
1143
+ readonly passwordForm: _angular_forms_signals.FieldTree<IPasswordFormModel, string | number, "writable">;
1144
1144
  readonly isPasswordLoading: _angular_core.WritableSignal<boolean>;
1145
1145
  readonly isPasswordFormValid: _angular_core.Signal<boolean>;
1146
1146
  readonly passwordsMatch: _angular_core.Signal<boolean>;
@@ -1254,7 +1254,7 @@ declare class ResetPasswordPageComponent {
1254
1254
  readonly passwordMismatch: _angular_core.Signal<boolean>;
1255
1255
  readonly canSubmit: _angular_core.Signal<boolean>;
1256
1256
  constructor();
1257
- onSubmit(): void;
1257
+ onSubmit(event: Event): void;
1258
1258
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ResetPasswordPageComponent, never>;
1259
1259
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ResetPasswordPageComponent, "lib-reset-password-page", never, {}, {}, never, never, true, never>;
1260
1260
  }
@@ -1447,7 +1447,7 @@ declare class VerifyEmailPageComponent {
1447
1447
  private verifyEmail;
1448
1448
  private handleVerificationResult;
1449
1449
  showResendForm(): void;
1450
- onResend(): void;
1450
+ onResend(event: Event): void;
1451
1451
  private handleResendComplete;
1452
1452
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<VerifyEmailPageComponent, never>;
1453
1453
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<VerifyEmailPageComponent, "lib-verify-email-page", never, {}, {}, never, never, true, never>;
@@ -1539,7 +1539,7 @@ declare class UserCompanyPermissionDialogComponent {
1539
1539
  private assignedCompanyIds;
1540
1540
  constructor();
1541
1541
  private loadData;
1542
- onCompanyToggle(company: CompanyWithAssignment): Promise<void>;
1542
+ onCompanyToggle(company: CompanyWithAssignment, isAssigned: boolean): Promise<void>;
1543
1543
  onClose(): void;
1544
1544
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<UserCompanyPermissionDialogComponent, never>;
1545
1545
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<UserCompanyPermissionDialogComponent, "lib-user-company-permission-dialog", never, { "visible": { "alias": "visible"; "required": true; "isSignal": true; }; "user": { "alias": "user"; "required": true; "isSignal": true; }; }, { "closed": "closed"; "permissionsChanged": "permissionsChanged"; }, never, never, true, never>;