@idsoftsource/initial-process 2.7.3 → 2.7.5

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
@@ -1255,8 +1255,10 @@ declare class ClaimProcessService {
1255
1255
  getUserRoles(userId: string): Observable<any>;
1256
1256
  /** Final save — sets role + user detail (ref: initial-process saveFinal) */
1257
1257
  initialSetUpCreateUserDetail(model: any): Observable<any>;
1258
- /** Create or update a business provider (ref: initial-process saveBusiness) */
1258
+ /** Create a new business provider */
1259
1259
  createProvider(payload: any): Observable<any>;
1260
+ /** Update an existing business provider */
1261
+ updateProvider(payload: any): Observable<any>;
1260
1262
  uploadFile(file: File, pathPrefix: string): Promise<{
1261
1263
  fileId: string;
1262
1264
  publicUrl: string;
@@ -1304,7 +1306,9 @@ declare class ClaimProcessComponent implements OnInit, OnDestroy {
1304
1306
  selectedRole: any;
1305
1307
  isBusiness: boolean;
1306
1308
  assignProviderRoleModel: any;
1309
+ lockedToTypeFromParam: boolean;
1307
1310
  userViewRoles: ({
1311
+ type: number;
1308
1312
  name: string;
1309
1313
  value: string;
1310
1314
  img: string;
@@ -1313,6 +1317,7 @@ declare class ClaimProcessComponent implements OnInit, OnDestroy {
1313
1317
  id: string;
1314
1318
  roleId: string;
1315
1319
  } | {
1320
+ type: number;
1316
1321
  name: string;
1317
1322
  value: string;
1318
1323
  img: string;
@@ -1391,6 +1396,7 @@ declare class ClaimProcessComponent implements OnInit, OnDestroy {
1391
1396
  };
1392
1397
  };
1393
1398
  private static readonly SESSION_KEY;
1399
+ private static readonly ROLE_TYPE_KEY;
1394
1400
  /** userForm controls accessor */
1395
1401
  get u(): {
1396
1402
  [key: string]: AbstractControl<any, any, any>;
@@ -1416,7 +1422,9 @@ declare class ClaimProcessComponent implements OnInit, OnDestroy {
1416
1422
  getRoles(): void;
1417
1423
  /** Load user's existing role, pre-select the card, and load provider details if business */
1418
1424
  private loadUserRoles;
1419
- /** Handle role card click no-op when role is locked after initial setup */
1425
+ /** Auto-select a role by its numeric type (from query param / localStorage). */
1426
+ private applyParamType;
1427
+ /** Handle role card click — no-op when role is locked after initial setup or pre-assigned via param */
1420
1428
  selectedUserRole(role: any): void;
1421
1429
  private loadProviderDetails;
1422
1430
  private updatePasswordValidators;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idsoftsource/initial-process",
3
- "version": "2.7.3",
3
+ "version": "2.7.5",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.0.0",
6
6
  "@angular/core": "^20.0.0",