@idsoftsource/initial-process 2.7.8 → 2.8.0

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
@@ -310,6 +310,7 @@ declare class UserDetailService {
310
310
  getByUserId(userId: string, query?: any): Observable<UserAccountReadModel>;
311
311
  getAuth0UserDetails(email: string): Observable<any>;
312
312
  claimAccount(model: any): Observable<Result>;
313
+ private termsAndConditionsCache;
313
314
  getTermsAndConditions(query: {
314
315
  type: number;
315
316
  }): Observable<TermsandConditionModel>;
@@ -1202,12 +1203,18 @@ declare class InitialProcessComponent implements OnInit {
1202
1203
  dashboard(): void;
1203
1204
  changeAddressUser(): void;
1204
1205
  scrollProgress: number;
1205
- private autoScrollRaf;
1206
- private autoScrollDelay;
1206
+ legalMeta: {
1207
+ versionName: string;
1208
+ createdDate: string;
1209
+ } | null;
1210
+ isTermsLoading: boolean;
1211
+ isPrivacyLoading: boolean;
1212
+ onLegalMetaLoaded(meta: {
1213
+ versionName: string;
1214
+ createdDate: string;
1215
+ }): void;
1207
1216
  onTermsScroll(event: Event): void;
1208
1217
  openModal(template: TemplateRef<any>, title: string, event: any): void;
1209
- startAutoScroll(): void;
1210
- stopAutoScroll(): void;
1211
1218
  scrollToBottomClick(event: Event): void;
1212
1219
  agree(title: string): void;
1213
1220
  decline(title: string): void;
@@ -1267,7 +1274,7 @@ declare class ClaimProcessService {
1267
1274
  submitExistingUser(val: any, userId: string, selectedRoleId: string, isBusinessRole: boolean, providerId: string, headshotFileId: string | null, headshotUrl: string | null, logoFileId: string | null, logoUrl: string | null): Observable<any>;
1268
1275
  claimNewUser(val: any, userId: string, providerId: string, isBusinessRole: boolean, headshotFileId: string | null, headshotUrl: string | null, logoFileId: string | null, logoUrl: string | null): Observable<any>;
1269
1276
  sendOtp(): Observable<any>;
1270
- verifyOtp(otp: string, proposedPassword: string): Observable<any>;
1277
+ verifyOtp(otp: string, proposedPassword: string, otpRequestId: string | null): Observable<any>;
1271
1278
  generateGuid(): string;
1272
1279
  isValidGuid(value: any): boolean;
1273
1280
  private buildUserDetailModel;
@@ -1358,8 +1365,10 @@ declare class ClaimProcessComponent implements OnInit, OnDestroy {
1358
1365
  isInitialSetupCompleted: boolean;
1359
1366
  resetPasswordEnabled: boolean;
1360
1367
  setPasswordEnabled: boolean;
1368
+ pendingParamType: number | null;
1361
1369
  passwordStep: number;
1362
1370
  otpValue: string;
1371
+ otpRequestId: string | null;
1363
1372
  isPasswordChanging: boolean;
1364
1373
  passwordChangeError: string | null;
1365
1374
  passwordChangeSuccess: boolean;
@@ -1397,6 +1406,7 @@ declare class ClaimProcessComponent implements OnInit, OnDestroy {
1397
1406
  };
1398
1407
  private static readonly SESSION_KEY;
1399
1408
  private static readonly ROLE_TYPE_KEY;
1409
+ get pendingRoleName(): string | null;
1400
1410
  /** userForm controls accessor */
1401
1411
  get u(): {
1402
1412
  [key: string]: AbstractControl<any, any, any>;
@@ -1484,6 +1494,10 @@ declare class TermsConditionsComponent implements OnInit, OnDestroy {
1484
1494
  displayName: string;
1485
1495
  };
1486
1496
  PrivacyAndTerms: PrivacyAndTerms;
1497
+ metaLoaded: EventEmitter<{
1498
+ versionName: string;
1499
+ createdDate: string;
1500
+ }>;
1487
1501
  parsedSections: ProcessedSection$1[];
1488
1502
  isLoading: boolean;
1489
1503
  private destroy$;
@@ -1495,7 +1509,7 @@ declare class TermsConditionsComponent implements OnInit, OnDestroy {
1495
1509
  private interpolate;
1496
1510
  isFilteredBrand(): boolean;
1497
1511
  static ɵfac: i0.ɵɵFactoryDeclaration<TermsConditionsComponent, never>;
1498
- static ɵcmp: i0.ɵɵComponentDeclaration<TermsConditionsComponent, "app-terms-conditions", never, { "title": { "alias": "title"; "required": false; }; "branding": { "alias": "branding"; "required": false; }; "PrivacyAndTerms": { "alias": "PrivacyAndTerms"; "required": false; }; }, {}, never, never, false, never>;
1512
+ static ɵcmp: i0.ɵɵComponentDeclaration<TermsConditionsComponent, "app-terms-conditions", never, { "title": { "alias": "title"; "required": false; }; "branding": { "alias": "branding"; "required": false; }; "PrivacyAndTerms": { "alias": "PrivacyAndTerms"; "required": false; }; }, { "metaLoaded": "metaLoaded"; }, never, never, false, never>;
1499
1513
  }
1500
1514
 
1501
1515
  interface ProcessedSection {
@@ -1516,6 +1530,10 @@ declare class PrivacyPolicyComponent implements OnInit, OnDestroy {
1516
1530
  displayName: string;
1517
1531
  };
1518
1532
  PrivacyAndTerms: PrivacyAndTerms;
1533
+ metaLoaded: EventEmitter<{
1534
+ versionName: string;
1535
+ createdDate: string;
1536
+ }>;
1519
1537
  parsedSections: ProcessedSection[];
1520
1538
  isLoading: boolean;
1521
1539
  private destroy$;
@@ -1527,7 +1545,7 @@ declare class PrivacyPolicyComponent implements OnInit, OnDestroy {
1527
1545
  private interpolate;
1528
1546
  isFilteredBrand(): boolean;
1529
1547
  static ɵfac: i0.ɵɵFactoryDeclaration<PrivacyPolicyComponent, never>;
1530
- static ɵcmp: i0.ɵɵComponentDeclaration<PrivacyPolicyComponent, "app-privacy-policy", never, { "title": { "alias": "title"; "required": false; }; "branding": { "alias": "branding"; "required": false; }; "PrivacyAndTerms": { "alias": "PrivacyAndTerms"; "required": false; }; }, {}, never, never, false, never>;
1548
+ static ɵcmp: i0.ɵɵComponentDeclaration<PrivacyPolicyComponent, "app-privacy-policy", never, { "title": { "alias": "title"; "required": false; }; "branding": { "alias": "branding"; "required": false; }; "PrivacyAndTerms": { "alias": "PrivacyAndTerms"; "required": false; }; }, { "metaLoaded": "metaLoaded"; }, never, never, false, never>;
1531
1549
  }
1532
1550
 
1533
1551
  interface StateModel {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idsoftsource/initial-process",
3
- "version": "2.7.8",
3
+ "version": "2.8.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.0.0",
6
6
  "@angular/core": "^20.0.0",