@idsoftsource/initial-process 4.1.4 → 4.1.6

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
@@ -1812,7 +1812,7 @@ declare class UserDocumentService {
1812
1812
  }>;
1813
1813
  deleteUserDocument(ids: string[]): Observable<Result>;
1814
1814
  private buildParams;
1815
- getDocumentTypes(maintype: any, _providerId: string, searchText?: string, professionId?: string | null): Observable<any>;
1815
+ getDocumentTypes(maintype: number | number[], _providerId: string, searchText?: string, professionId?: string | null): Observable<any>;
1816
1816
  static ɵfac: i0.ɵɵFactoryDeclaration<UserDocumentService, never>;
1817
1817
  static ɵprov: i0.ɵɵInjectableDeclaration<UserDocumentService>;
1818
1818
  }
@@ -2073,6 +2073,7 @@ declare class CertificationComponent {
2073
2073
  showSuccess: i0.WritableSignal<boolean>;
2074
2074
  deletingIndex: i0.WritableSignal<number | null>;
2075
2075
  manualTypeError: string;
2076
+ private suppressNextSearch;
2076
2077
  showpreview: i0.Signal<boolean>;
2077
2078
  userdata: any;
2078
2079
  maxDate: Date;
@@ -2447,6 +2448,7 @@ declare class LicensesComponent {
2447
2448
  showSuccess: i0.WritableSignal<boolean>;
2448
2449
  deletingIndex: i0.WritableSignal<number | null>;
2449
2450
  manualTypeError: string;
2451
+ private suppressNextSearch;
2450
2452
  showpreview: i0.Signal<boolean>;
2451
2453
  userdata: any;
2452
2454
  maxDate: Date;
@@ -4660,25 +4662,48 @@ declare class MaintenanceComponent implements OnInit {
4660
4662
  static ɵcmp: i0.ɵɵComponentDeclaration<MaintenanceComponent, "app-maintenance", never, {}, {}, never, never, true, never>;
4661
4663
  }
4662
4664
 
4663
- declare class VerifyEmailComponent implements OnInit, OnDestroy {
4665
+ /**
4666
+ * Where a signed-in user with an unverified email lands.
4667
+ *
4668
+ * - **Re-checks on arrival and on demand.** Verification happens in the
4669
+ * user's mail client, in another tab, so the claim in this tab's token is
4670
+ * stale by definition. `getAccessTokenSilently({ cacheMode: 'off' })`
4671
+ * re-issues it, and a fresh `email_verified` moves them straight on — via
4672
+ * `replaceUrl`, so this page doesn't sit in their back history.
4673
+ * - **Rate-limits the resend.** A 30-second cooldown after each successful
4674
+ * send, because the button is otherwise an open invitation to spam their
4675
+ * own inbox (and our sending reputation).
4676
+ */
4677
+ declare class VerifyEmailComponent implements OnDestroy {
4664
4678
  private libConfig;
4665
- userService: UserDetailService;
4666
- private authLogoutService;
4667
- private tokenService;
4668
- private router;
4669
- private auth;
4670
- loading: boolean;
4671
- successMessage: boolean;
4672
- errorMessage: boolean;
4673
- pageLoader: boolean;
4674
- cooldown: number;
4675
- interval: any;
4676
- constructor(libConfig: LibraryConfig, userService: UserDetailService, authLogoutService: AuthLogoutService, tokenService: TokenService, router: Router, auth: AuthService);
4677
- ngOnInit(): Promise<void>;
4678
- resendVerification(): Promise<void>;
4679
- startCooldown(): void;
4680
- logout(): Promise<void>;
4679
+ private readonly auth;
4680
+ private readonly tokenService;
4681
+ private readonly userService;
4682
+ private readonly authLogoutService;
4683
+ private readonly router;
4684
+ private readonly destroyRef;
4685
+ protected readonly email: i0.WritableSignal<string>;
4686
+ protected readonly pageLoader: i0.WritableSignal<boolean>;
4687
+ protected readonly checking: i0.WritableSignal<boolean>;
4688
+ protected readonly sending: i0.WritableSignal<boolean>;
4689
+ protected readonly sent: i0.WritableSignal<boolean>;
4690
+ protected readonly error: i0.WritableSignal<string>;
4691
+ protected readonly failures: i0.WritableSignal<string[]>;
4692
+ protected readonly cooldown: i0.WritableSignal<number>;
4693
+ private timer;
4694
+ constructor(libConfig: LibraryConfig);
4681
4695
  ngOnDestroy(): void;
4696
+ /**
4697
+ * Re-read the auth0 claims and leave once the address is verified.
4698
+ * `silent` keeps the page loader/error off the initial check, which
4699
+ * shouldn't look like an action the user started.
4700
+ */
4701
+ protected recheck(silent?: boolean): void;
4702
+ protected resend(): void;
4703
+ protected logout(): Promise<void>;
4704
+ private startCooldown;
4705
+ private stopTimer;
4706
+ private showFailure;
4682
4707
  static ɵfac: i0.ɵɵFactoryDeclaration<VerifyEmailComponent, never>;
4683
4708
  static ɵcmp: i0.ɵɵComponentDeclaration<VerifyEmailComponent, "app-verify-email", never, {}, {}, never, never, true, never>;
4684
4709
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idsoftsource/initial-process",
3
- "version": "4.1.4",
3
+ "version": "4.1.6",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.0.0",
6
6
  "@angular/core": "^20.0.0",