@idsoftsource/initial-process 2.7.9 → 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;
@@ -1361,6 +1368,7 @@ declare class ClaimProcessComponent implements OnInit, OnDestroy {
1361
1368
  pendingParamType: number | null;
1362
1369
  passwordStep: number;
1363
1370
  otpValue: string;
1371
+ otpRequestId: string | null;
1364
1372
  isPasswordChanging: boolean;
1365
1373
  passwordChangeError: string | null;
1366
1374
  passwordChangeSuccess: boolean;
@@ -1486,6 +1494,10 @@ declare class TermsConditionsComponent implements OnInit, OnDestroy {
1486
1494
  displayName: string;
1487
1495
  };
1488
1496
  PrivacyAndTerms: PrivacyAndTerms;
1497
+ metaLoaded: EventEmitter<{
1498
+ versionName: string;
1499
+ createdDate: string;
1500
+ }>;
1489
1501
  parsedSections: ProcessedSection$1[];
1490
1502
  isLoading: boolean;
1491
1503
  private destroy$;
@@ -1497,7 +1509,7 @@ declare class TermsConditionsComponent implements OnInit, OnDestroy {
1497
1509
  private interpolate;
1498
1510
  isFilteredBrand(): boolean;
1499
1511
  static ɵfac: i0.ɵɵFactoryDeclaration<TermsConditionsComponent, never>;
1500
- 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>;
1501
1513
  }
1502
1514
 
1503
1515
  interface ProcessedSection {
@@ -1518,6 +1530,10 @@ declare class PrivacyPolicyComponent implements OnInit, OnDestroy {
1518
1530
  displayName: string;
1519
1531
  };
1520
1532
  PrivacyAndTerms: PrivacyAndTerms;
1533
+ metaLoaded: EventEmitter<{
1534
+ versionName: string;
1535
+ createdDate: string;
1536
+ }>;
1521
1537
  parsedSections: ProcessedSection[];
1522
1538
  isLoading: boolean;
1523
1539
  private destroy$;
@@ -1529,7 +1545,7 @@ declare class PrivacyPolicyComponent implements OnInit, OnDestroy {
1529
1545
  private interpolate;
1530
1546
  isFilteredBrand(): boolean;
1531
1547
  static ɵfac: i0.ɵɵFactoryDeclaration<PrivacyPolicyComponent, never>;
1532
- 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>;
1533
1549
  }
1534
1550
 
1535
1551
  interface StateModel {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idsoftsource/initial-process",
3
- "version": "2.7.9",
3
+ "version": "2.8.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.0.0",
6
6
  "@angular/core": "^20.0.0",