@idsoftsource/initial-process 2.7.4 → 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
@@ -1306,7 +1306,9 @@ declare class ClaimProcessComponent implements OnInit, OnDestroy {
1306
1306
  selectedRole: any;
1307
1307
  isBusiness: boolean;
1308
1308
  assignProviderRoleModel: any;
1309
+ lockedToTypeFromParam: boolean;
1309
1310
  userViewRoles: ({
1311
+ type: number;
1310
1312
  name: string;
1311
1313
  value: string;
1312
1314
  img: string;
@@ -1315,6 +1317,7 @@ declare class ClaimProcessComponent implements OnInit, OnDestroy {
1315
1317
  id: string;
1316
1318
  roleId: string;
1317
1319
  } | {
1320
+ type: number;
1318
1321
  name: string;
1319
1322
  value: string;
1320
1323
  img: string;
@@ -1393,6 +1396,7 @@ declare class ClaimProcessComponent implements OnInit, OnDestroy {
1393
1396
  };
1394
1397
  };
1395
1398
  private static readonly SESSION_KEY;
1399
+ private static readonly ROLE_TYPE_KEY;
1396
1400
  /** userForm controls accessor */
1397
1401
  get u(): {
1398
1402
  [key: string]: AbstractControl<any, any, any>;
@@ -1418,7 +1422,9 @@ declare class ClaimProcessComponent implements OnInit, OnDestroy {
1418
1422
  getRoles(): void;
1419
1423
  /** Load user's existing role, pre-select the card, and load provider details if business */
1420
1424
  private loadUserRoles;
1421
- /** 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 */
1422
1428
  selectedUserRole(role: any): void;
1423
1429
  private loadProviderDetails;
1424
1430
  private updatePasswordValidators;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idsoftsource/initial-process",
3
- "version": "2.7.4",
3
+ "version": "2.7.5",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.0.0",
6
6
  "@angular/core": "^20.0.0",