@idsoftsource/initial-process 3.2.7 → 3.2.9

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
@@ -942,7 +942,7 @@ declare class CredentialingStore {
942
942
  clearStorage(): void;
943
943
  resetAll(): void;
944
944
  toolsList: i0.WritableSignal<Tool[]>;
945
- uploadOption: i0.WritableSignal<"upload" | "manual" | null>;
945
+ uploadOption: i0.WritableSignal<"manual" | "upload" | null>;
946
946
  certifications: i0.WritableSignal<Certification$2[]>;
947
947
  licenses: i0.WritableSignal<License[]>;
948
948
  stepView: i0.WritableSignal<"add" | "preview">;
@@ -3531,6 +3531,7 @@ declare class UserProfessionService {
3531
3531
  constructor(httpClient: HttpClient);
3532
3532
  createUserProfession(models: UserProfessionModel[]): Observable<any>;
3533
3533
  updateUserProfession(model: UserProfessionModel): Observable<any>;
3534
+ bulkInsert(models: any[]): Observable<any>;
3534
3535
  bulkDelete(ids: string[]): Observable<Result>;
3535
3536
  getUserProfession(query: GridifyQuery): Observable<any>;
3536
3537
  private buildParams;
@@ -3689,9 +3690,28 @@ declare class PreviewComponent implements OnDestroy {
3689
3690
  skills: i0.Signal<string[]>;
3690
3691
  tools: i0.Signal<string[]>;
3691
3692
  professions: i0.Signal<string[]>;
3693
+ private refreshUserProfessionOptions;
3694
+ showCustomProfessionForm: boolean;
3695
+ customProfessionContext: 'skill' | 'tool' | 'certificate' | null;
3696
+ customProfessionName: string;
3697
+ customProfessionGroup: string | null;
3698
+ customProfessionType: string | null;
3699
+ isSavingCustomProfession: boolean;
3700
+ openCustomProfessionForm(context: 'skill' | 'tool' | 'certificate'): void;
3701
+ cancelCustomProfessionForm(): void;
3702
+ get canSaveCustomProfession(): boolean;
3703
+ saveCustomProfession(): Promise<void>;
3692
3704
  loadProfessionTypes(): void;
3693
3705
  professionSearchQry: string | null;
3694
3706
  isSavingProfessionsTable: boolean;
3707
+ savedProfessionTypeIds: Set<string>;
3708
+ professionTypeServerIds: Record<string, string>;
3709
+ professionSavedSnapshots: Record<string, {
3710
+ starRating: number;
3711
+ year: number | null;
3712
+ profileVisibility: boolean;
3713
+ notes: string;
3714
+ }>;
3695
3715
  professionSelections: Record<string, {
3696
3716
  selected: boolean;
3697
3717
  starRating: number;
@@ -3699,7 +3719,19 @@ declare class PreviewComponent implements OnDestroy {
3699
3719
  profileVisibility: boolean;
3700
3720
  notes: string;
3701
3721
  }>;
3722
+ private applySavedProfessionsToTable;
3723
+ private hasProfessionRowChanged;
3702
3724
  get filteredProfessionTypes(): any[];
3725
+ get hasNoProfessionMatches(): boolean;
3726
+ professionGroupOptions: string[];
3727
+ professionTypeOptions: string[];
3728
+ private recomputeProfessionGroupAndTypeOptions;
3729
+ isManualProfessionType(id: string): boolean;
3730
+ isManualRowReady(id: string): boolean;
3731
+ setManualProfessionGroup(profession: any, group: string): void;
3732
+ setManualProfessionType(profession: any, type: string): void;
3733
+ get professionSubmitLabel(): string;
3734
+ isProfessionSaved(id: string): boolean;
3703
3735
  get selectedProfessionCount(): number;
3704
3736
  getProfessionSelection(id: string): {
3705
3737
  selected: boolean;
@@ -3711,6 +3743,8 @@ declare class PreviewComponent implements OnDestroy {
3711
3743
  onProfessionRowCheck(profession: any, event: Event): void;
3712
3744
  setProfessionRowStars(profession: any, stars: number): void;
3713
3745
  createManualProfessionRow(): void;
3746
+ private buildProfessionPayload;
3747
+ private buildManualProfessionBulkPayload;
3714
3748
  submitProfessions(): Promise<void>;
3715
3749
  private isBlank;
3716
3750
  private isBlankOrNull;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idsoftsource/initial-process",
3
- "version": "3.2.7",
3
+ "version": "3.2.9",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.0.0",
6
6
  "@angular/core": "^20.0.0",