@idsoftsource/initial-process 2.5.1 → 2.5.3

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
@@ -169,6 +169,7 @@ interface PrivacyAndTerms {
169
169
  email?: string | null;
170
170
  websiteurl?: string | null;
171
171
  currentYear?: any | null;
172
+ logoUrl?: any | null;
172
173
  }
173
174
 
174
175
  interface GridResult<TReadModel> {
@@ -674,6 +675,7 @@ interface LibraryConfig {
674
675
  providerName: any;
675
676
  isLogout: any;
676
677
  navigateUrl?: string;
678
+ loginUrl?: string;
677
679
  }
678
680
  declare const LIBRARY_CONFIG: InjectionToken<LibraryConfig>;
679
681
 
@@ -1224,15 +1226,16 @@ declare class ClaimProcessComponent implements OnInit {
1224
1226
  private router;
1225
1227
  private userDetailService;
1226
1228
  private roleService;
1229
+ private fileService;
1227
1230
  private modalService;
1228
1231
  libConfig: LibraryConfig;
1229
1232
  claimForm: FormGroup;
1230
1233
  roles: any[];
1231
1234
  noEmailError: boolean;
1232
- accountNotFound: boolean;
1233
1235
  userEmail: string;
1234
1236
  isLoadingUser: boolean;
1235
1237
  isSubmitting: boolean;
1238
+ uploadStatus: string;
1236
1239
  userLookupError: string | null;
1237
1240
  submitError: string | null;
1238
1241
  submitSuccess: boolean;
@@ -1241,6 +1244,9 @@ declare class ClaimProcessComponent implements OnInit {
1241
1244
  validatePage: number;
1242
1245
  userHasExistingDetails: boolean;
1243
1246
  resetPasswordEnabled: boolean;
1247
+ isAuthenticated: boolean;
1248
+ existingUserData: any;
1249
+ showRoleSelect: boolean;
1244
1250
  private pendingUserRole;
1245
1251
  private rolesLoaded;
1246
1252
  profileFileName: string;
@@ -1268,7 +1274,7 @@ declare class ClaimProcessComponent implements OnInit {
1268
1274
  get isBusinessRole(): boolean;
1269
1275
  /** Password fields are shown when there are no existing details OR when the reset toggle is on. */
1270
1276
  get showPasswordFields(): boolean;
1271
- constructor(fb: FormBuilder, route: ActivatedRoute, router: Router, userDetailService: UserDetailService, roleService: RolesService, modalService: BsModalService, libConfig: LibraryConfig);
1277
+ constructor(fb: FormBuilder, route: ActivatedRoute, router: Router, userDetailService: UserDetailService, roleService: RolesService, fileService: FileService, modalService: BsModalService, libConfig: LibraryConfig);
1272
1278
  private static readonly SESSION_KEY;
1273
1279
  ngOnInit(): void;
1274
1280
  get f(): {
@@ -1280,6 +1286,7 @@ declare class ClaimProcessComponent implements OnInit {
1280
1286
  /** Called when the "I accept" checkbox is toggled directly. */
1281
1287
  onTermsCheckboxChange(event: Event): void;
1282
1288
  lookupUser(email: string): void;
1289
+ getInitials(): string;
1283
1290
  getRoles(): void;
1284
1291
  /**
1285
1292
  * Matches the user's existing role against the loaded roles list.
@@ -1287,6 +1294,7 @@ declare class ClaimProcessComponent implements OnInit {
1287
1294
  * dropdown still shows the correct value.
1288
1295
  */
1289
1296
  private applyUserRole;
1297
+ private updateRoleValidator;
1290
1298
  private updatePasswordValidators;
1291
1299
  private updateBusinessRoleValidators;
1292
1300
  toggleResetPassword(): void;
@@ -1295,7 +1303,10 @@ declare class ClaimProcessComponent implements OnInit {
1295
1303
  onProfileFileChange(event: Event): void;
1296
1304
  onBusinessLogoChange(event: Event): void;
1297
1305
  formatPhone(event: Event): void;
1298
- onSubmit(): void;
1306
+ onSubmit(): Promise<void>;
1307
+ private generateGuid;
1308
+ private isValidGuid;
1309
+ private uploadToAws;
1299
1310
  static ɵfac: i0.ɵɵFactoryDeclaration<ClaimProcessComponent, never>;
1300
1311
  static ɵcmp: i0.ɵɵComponentDeclaration<ClaimProcessComponent, "app-claim-process", never, {}, {}, never, never, false, never>;
1301
1312
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idsoftsource/initial-process",
3
- "version": "2.5.1",
3
+ "version": "2.5.3",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.0.0",
6
6
  "@angular/core": "^20.0.0",