@idsoftsource/initial-process 2.5.5 → 2.5.7

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/index.d.ts CHANGED
@@ -1259,10 +1259,19 @@ declare class ClaimProcessComponent implements OnInit, OnDestroy {
1259
1259
  private claimService;
1260
1260
  private modalService;
1261
1261
  private tokenService;
1262
+ private authLogoutService;
1262
1263
  libConfig: LibraryConfig;
1263
1264
  claimForm: FormGroup;
1264
1265
  roles: any[];
1266
+ isInitializing: boolean;
1265
1267
  noEmailError: boolean;
1268
+ showAccountNotFound: boolean;
1269
+ isLookingUpAccount: boolean;
1270
+ auth0UserData: {
1271
+ email: string;
1272
+ auth0Id: string | null;
1273
+ userDetails: any;
1274
+ } | null;
1266
1275
  userEmail: string;
1267
1276
  isLoadingUser: boolean;
1268
1277
  isSubmitting: boolean;
@@ -1276,6 +1285,7 @@ declare class ClaimProcessComponent implements OnInit, OnDestroy {
1276
1285
  userHasExistingDetails: boolean;
1277
1286
  resetPasswordEnabled: boolean;
1278
1287
  showRoleSelect: boolean;
1288
+ setPasswordEnabled: boolean;
1279
1289
  passwordStep: number;
1280
1290
  otpValue: string;
1281
1291
  isPasswordChanging: boolean;
@@ -1315,7 +1325,14 @@ declare class ClaimProcessComponent implements OnInit, OnDestroy {
1315
1325
  };
1316
1326
  get isBusinessRole(): boolean;
1317
1327
  get showPasswordFields(): boolean;
1318
- constructor(fb: FormBuilder, route: ActivatedRoute, router: Router, claimService: ClaimProcessService, modalService: BsModalService, tokenService: TokenService, libConfig: LibraryConfig);
1328
+ get sectionPersonalDone(): boolean;
1329
+ get sectionAddressDone(): boolean;
1330
+ get sectionRoleDone(): boolean;
1331
+ get sectionPasswordDone(): boolean;
1332
+ get sectionBusinessDone(): boolean;
1333
+ get sectionPhotoDone(): boolean;
1334
+ get overallProgress(): number;
1335
+ constructor(fb: FormBuilder, route: ActivatedRoute, router: Router, claimService: ClaimProcessService, modalService: BsModalService, tokenService: TokenService, authLogoutService: AuthLogoutService, libConfig: LibraryConfig);
1319
1336
  private static readonly SESSION_KEY;
1320
1337
  ngOnInit(): Promise<void>;
1321
1338
  get f(): {
@@ -1329,16 +1346,13 @@ declare class ClaimProcessComponent implements OnInit, OnDestroy {
1329
1346
  * Called when token returns a userId — fetches the full DB profile and
1330
1347
  * pre-fills the form so the user can update or complete their profile.
1331
1348
  */
1349
+ private lookupAuth0Account;
1332
1350
  private loadUserProfile;
1333
- /**
1334
- * Fallback path: invite-link without an active session.
1335
- * Uses auth0 email lookup when no userId is present in the token.
1336
- */
1337
- private lookupUser;
1338
1351
  getRoles(): void;
1339
1352
  private applyUserRole;
1340
1353
  private updateRoleValidator;
1341
1354
  private updatePasswordValidators;
1355
+ toggleSetPassword(): void;
1342
1356
  private updateBusinessRoleValidators;
1343
1357
  toggleResetPassword(): void;
1344
1358
  onAddressChange(address: any): void;
@@ -1355,6 +1369,10 @@ declare class ClaimProcessComponent implements OnInit, OnDestroy {
1355
1369
  cancelPasswordChange(): void;
1356
1370
  private startOtpTimer;
1357
1371
  private stopOtpTimer;
1372
+ logout(): Promise<void>;
1373
+ navigateTo(url: string | undefined | null): void;
1374
+ navigateToDashboard(): void;
1375
+ navigateToLogin(): void;
1358
1376
  ngOnDestroy(): void;
1359
1377
  static ɵfac: i0.ɵɵFactoryDeclaration<ClaimProcessComponent, never>;
1360
1378
  static ɵcmp: i0.ɵɵComponentDeclaration<ClaimProcessComponent, "app-claim-process", never, {}, {}, never, never, false, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idsoftsource/initial-process",
3
- "version": "2.5.5",
3
+ "version": "2.5.7",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.0.0",
6
6
  "@angular/core": "^20.0.0",