@idsoftsource/initial-process 1.8.2 → 1.8.4

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
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { InjectionToken, OnInit, ElementRef, EventEmitter, TemplateRef, Injector, OnChanges, AfterViewInit, ChangeDetectorRef, SimpleChanges, ViewContainerRef, OnDestroy, ComponentFactoryResolver, Renderer2, ModuleWithProviders, PipeTransform, NgZone } from '@angular/core';
2
+ import { InjectionToken, OnInit, ElementRef, EventEmitter, TemplateRef, AfterViewInit, Injector, OnChanges, ChangeDetectorRef, SimpleChanges, ViewContainerRef, OnDestroy, ComponentFactoryResolver, Renderer2, ModuleWithProviders, PipeTransform, NgZone } from '@angular/core';
3
3
  import * as _angular_forms from '@angular/forms';
4
4
  import { FormGroup, FormBuilder, FormControl, FormArray, UntypedFormGroup, UntypedFormBuilder, ControlValueAccessor, NgForm, AbstractControl } from '@angular/forms';
5
5
  import * as i17 from '@angular/router';
@@ -884,6 +884,11 @@ declare class InitialProcessComponent implements OnInit {
884
884
  logout(): Promise<void>;
885
885
  getContractorSubCategories(): void;
886
886
  saveContractorSubCategory(id: any): void;
887
+ private readonly STORAGE_KEY;
888
+ private preRestoreView;
889
+ private saveState;
890
+ private restoreState;
891
+ private clearState;
887
892
  ngOnDestroy(): void;
888
893
  static ɵfac: i0.ɵɵFactoryDeclaration<InitialProcessComponent, never>;
889
894
  static ɵcmp: i0.ɵɵComponentDeclaration<InitialProcessComponent, "app-initial-process", never, {}, {}, never, never, false, never>;
@@ -1126,8 +1131,14 @@ interface Tool {
1126
1131
  rating?: number;
1127
1132
  }
1128
1133
  declare class CredentialingStore {
1134
+ private readonly STORAGE_KEY;
1135
+ completedSteps: i0.WritableSignal<number[]>;
1136
+ constructor();
1137
+ private saveToStorage;
1138
+ private loadFromStorage;
1139
+ clearStorage(): void;
1129
1140
  toolsList: i0.WritableSignal<Tool[]>;
1130
- uploadOption: i0.WritableSignal<"manual" | "upload" | null>;
1141
+ uploadOption: i0.WritableSignal<"upload" | "manual" | null>;
1131
1142
  certifications: i0.WritableSignal<Certification$2[]>;
1132
1143
  licenses: i0.WritableSignal<License[]>;
1133
1144
  stepView: i0.WritableSignal<"add" | "preview">;
@@ -1258,11 +1269,24 @@ declare class CredentialingComponent implements OnInit {
1258
1269
  static ɵcmp: i0.ɵɵComponentDeclaration<CredentialingComponent, "app-credentialing", never, { "signatureFileId": { "alias": "signatureFileId"; "required": false; }; "signatureUrl": { "alias": "signatureUrl"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "back": "back"; }, never, never, false, never>;
1259
1270
  }
1260
1271
 
1261
- declare class StepperComponent {
1272
+ declare class StepperComponent implements AfterViewInit {
1262
1273
  store: CredentialingStore;
1274
+ tabsRow: ElementRef<HTMLElement>;
1263
1275
  steps: string[];
1276
+ showLockWarning: boolean;
1277
+ private warningTimer;
1264
1278
  constructor(store: CredentialingStore);
1279
+ ngAfterViewInit(): void;
1280
+ private scrollActiveTab;
1281
+ /** True when Basic Details (step 2) has been completed */
1282
+ get basicDetailsCompleted(): boolean;
1283
+ /**
1284
+ * A tab is locked when it is an optional step (index > BASIC_DETAILS_INDEX)
1285
+ * and the user has not yet completed Basic Details.
1286
+ */
1287
+ isLocked(index: number): boolean;
1265
1288
  goToStep(index: number): void;
1289
+ private triggerLockWarning;
1266
1290
  static ɵfac: i0.ɵɵFactoryDeclaration<StepperComponent, never>;
1267
1291
  static ɵcmp: i0.ɵɵComponentDeclaration<StepperComponent, "app-stepper", never, {}, {}, never, never, false, never>;
1268
1292
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idsoftsource/initial-process",
3
- "version": "1.8.2",
3
+ "version": "1.8.4",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.0.0",
6
6
  "@angular/core": "^20.0.0",