@idsoftsource/initial-process 3.2.4 → 3.2.7

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
@@ -723,6 +723,8 @@ interface UserSkillSetModel extends MasterModel {
723
723
  userHeadShotUrl?: string;
724
724
  skillSetId?: string;
725
725
  skillSetName?: string;
726
+ professionId?: string | null;
727
+ professionName?: string;
726
728
  notes?: string;
727
729
  dueDate?: string;
728
730
  starRating?: number;
@@ -749,6 +751,8 @@ interface UserToolModel extends MasterModel {
749
751
  phoneNumber?: string;
750
752
  userHeadShotUrl?: string;
751
753
  toolId?: string;
754
+ professionId?: string | null;
755
+ professionName?: string;
752
756
  starRating?: number;
753
757
  year?: number;
754
758
  make?: string;
@@ -799,6 +803,7 @@ interface ResumeProfile {
799
803
  licenses: License$1[];
800
804
  skills: string[];
801
805
  tools: string[];
806
+ professions: string[];
802
807
  }
803
808
  /**
804
809
  * Personal and contact information including a professional summary.
@@ -857,6 +862,8 @@ interface Certification$3 {
857
862
  issueDate: string | null;
858
863
  expiryDate: string | null;
859
864
  credentialId: string | null;
865
+ professionId?: string | null;
866
+ professionName?: string;
860
867
  }
861
868
  /**
862
869
  * Legal licenses, such as driver's or professional operating licenses.
@@ -872,6 +879,8 @@ interface License$1 {
872
879
 
873
880
  interface ResumeSkillMeta {
874
881
  providerName?: string;
882
+ professionId?: string | null;
883
+ professionName?: string;
875
884
  starRating?: number;
876
885
  year?: number | null;
877
886
  profileVisibility?: boolean;
@@ -879,11 +888,21 @@ interface ResumeSkillMeta {
879
888
  }
880
889
  interface ResumeToolMeta {
881
890
  providerName?: string;
891
+ professionId?: string | null;
892
+ professionName?: string;
882
893
  starRating?: number;
883
894
  year?: number | null;
884
895
  profileVisibility?: boolean;
885
896
  notes?: string;
886
897
  }
898
+ interface ResumeProfessionMeta {
899
+ professionId?: string | null;
900
+ professionGroup?: string;
901
+ residentialCommercial?: string;
902
+ starRating?: number;
903
+ year?: number | null;
904
+ notes?: string;
905
+ }
887
906
  interface Certification$2 {
888
907
  name: string;
889
908
  type: string;
@@ -923,7 +942,7 @@ declare class CredentialingStore {
923
942
  clearStorage(): void;
924
943
  resetAll(): void;
925
944
  toolsList: i0.WritableSignal<Tool[]>;
926
- uploadOption: i0.WritableSignal<"manual" | "upload" | null>;
945
+ uploadOption: i0.WritableSignal<"upload" | "manual" | null>;
927
946
  certifications: i0.WritableSignal<Certification$2[]>;
928
947
  licenses: i0.WritableSignal<License[]>;
929
948
  stepView: i0.WritableSignal<"add" | "preview">;
@@ -966,12 +985,14 @@ declare class CredentialingStore {
966
985
  profileSignal: i0.WritableSignal<ResumeProfile | null>;
967
986
  resumeSkillMeta: i0.WritableSignal<Record<number, ResumeSkillMeta>>;
968
987
  resumeToolMeta: i0.WritableSignal<Record<number, ResumeToolMeta>>;
988
+ resumeProfessionMeta: i0.WritableSignal<Record<number, ResumeProfessionMeta>>;
969
989
  profile: ResumeProfile | null;
970
990
  selectInitial(value: string): void;
971
991
  setUploadOption(option: 'upload' | 'manual'): void;
972
992
  addRole(role: string): void;
973
993
  setResumeSkillMeta(index: number, meta: ResumeSkillMeta): void;
974
994
  setResumeToolMeta(index: number, meta: ResumeToolMeta): void;
995
+ setResumeProfessionMeta(index: number, meta: ResumeProfessionMeta): void;
975
996
  removeRole(role: string): void;
976
997
  setRole(role: string): void;
977
998
  setEducation(data: any): void;
@@ -1144,6 +1165,9 @@ declare class InitialProcessComponent implements OnInit {
1144
1165
  infoPopupRole: any;
1145
1166
  openInfoPopup(event: Event, role: any): void;
1146
1167
  closeInfoPopup(): void;
1168
+ activeTooltipRole: any;
1169
+ toggleTooltip(event: Event, role: any): void;
1170
+ closeTooltip(): void;
1147
1171
  selectedUserRole(role: any): void;
1148
1172
  privacyAndTerms: PrivacyAndTerms;
1149
1173
  setPrivacyAndTerms(appType: string): void;
@@ -1281,6 +1305,7 @@ declare class InitialProcessComponent implements OnInit {
1281
1305
  getContractorSubCategories(): void;
1282
1306
  saveContractorSubCategory(id: any): void;
1283
1307
  private get STORAGE_KEY();
1308
+ private resolveAssetUrl;
1284
1309
  private saveState;
1285
1310
  private restoreState;
1286
1311
  private clearState;
@@ -3455,17 +3480,71 @@ declare class SignaturePadModule {
3455
3480
  interface SkillToolEditorData {
3456
3481
  name: string;
3457
3482
  providerName: string;
3483
+ professionId?: string | null;
3484
+ professionName?: string;
3458
3485
  stars: number;
3459
3486
  year: number | null;
3460
3487
  profileVisibility: boolean;
3461
3488
  notes: string;
3462
3489
  }
3490
+ interface ProfessionEditorData {
3491
+ name: string;
3492
+ professionId: string | null;
3493
+ professionGroup: string;
3494
+ residentialCommercial: string;
3495
+ stars: number;
3496
+ year: number | null;
3497
+ notes: string;
3498
+ }
3499
+
3500
+ interface UserProfessionModel extends MasterModel {
3501
+ id?: any;
3502
+ forUser: ForUser;
3503
+ providerId?: string | null;
3504
+ providerName?: string;
3505
+ targetProviderId?: string;
3506
+ targetUserId?: string;
3507
+ userId?: string | null;
3508
+ userName?: string;
3509
+ emailId?: string;
3510
+ phoneNumber?: string;
3511
+ userHeadShotUrl?: string;
3512
+ professionId?: string | null;
3513
+ professionName?: string;
3514
+ professionGroup?: string;
3515
+ residentialCommercial?: string;
3516
+ notes?: string;
3517
+ starRating?: number;
3518
+ year?: number | null;
3519
+ profileVisibility?: boolean | null;
3520
+ status?: RequestedStatus;
3521
+ reviewBy?: string | null;
3522
+ reviewByName?: string;
3523
+ reviewDateTime?: string | null;
3524
+ reviewNotes?: string;
3525
+ isActive?: boolean;
3526
+ isOpen?: boolean;
3527
+ }
3528
+
3529
+ declare class UserProfessionService {
3530
+ private httpClient;
3531
+ constructor(httpClient: HttpClient);
3532
+ createUserProfession(models: UserProfessionModel[]): Observable<any>;
3533
+ updateUserProfession(model: UserProfessionModel): Observable<any>;
3534
+ bulkDelete(ids: string[]): Observable<Result>;
3535
+ getUserProfession(query: GridifyQuery): Observable<any>;
3536
+ private buildParams;
3537
+ static ɵfac: i0.ɵɵFactoryDeclaration<UserProfessionService, never>;
3538
+ static ɵprov: i0.ɵɵInjectableDeclaration<UserProfessionService>;
3539
+ }
3463
3540
 
3464
3541
  declare class PreviewComponent implements OnDestroy {
3465
3542
  store: CredentialingStore;
3466
3543
  private fileService;
3467
3544
  private userSkillSetService;
3468
3545
  private userToolService;
3546
+ private professionService;
3547
+ private userProfessionService;
3469
3548
  userDocumentService: UserDocumentService;
3470
3549
  userEducation: UserEducationService;
3471
3550
  private userDetailService;
@@ -3518,12 +3597,19 @@ declare class PreviewComponent implements OnDestroy {
3518
3597
  hasUserDetailData: boolean;
3519
3598
  isSavingSkill: boolean;
3520
3599
  isSavingTool: boolean;
3600
+ isSavingProfession: boolean;
3601
+ professionTypes: any[];
3602
+ userProfessionOptions: any[];
3521
3603
  showBulkSkillConfirm: boolean;
3522
3604
  bulkSkillStars: number;
3523
3605
  bulkSkillYear: number | null;
3606
+ bulkSkillProfessionId: string | null;
3607
+ bulkSkillProfessionName: string;
3524
3608
  showBulkToolConfirm: boolean;
3525
3609
  bulkToolStars: number;
3526
3610
  bulkToolYear: number | null;
3611
+ bulkToolProfessionId: string | null;
3612
+ bulkToolProfessionName: string;
3527
3613
  private workConfirmAllQueue;
3528
3614
  private educationConfirmAllQueue;
3529
3615
  payloadUserId: any;
@@ -3543,12 +3629,14 @@ declare class PreviewComponent implements OnDestroy {
3543
3629
  licenseServerIds: Record<number, string>;
3544
3630
  skillServerIds: Record<number, string>;
3545
3631
  toolServerIds: Record<number, string>;
3632
+ professionServerIds: Record<number, string>;
3546
3633
  workExperienceLocallySaved: Record<number, boolean>;
3547
3634
  educationLocallySaved: Record<number, boolean>;
3548
3635
  certificationLocallySaved: Record<number, boolean>;
3549
3636
  licenseLocallySaved: Record<number, boolean>;
3550
3637
  skillLocallySaved: Record<number, boolean>;
3551
3638
  toolLocallySaved: Record<number, boolean>;
3639
+ professionLocallySaved: Record<number, boolean>;
3552
3640
  private readonly monthDateCache;
3553
3641
  private readonly uploadFolderBySection;
3554
3642
  resumeData: ResumeProfile | null;
@@ -3588,7 +3676,7 @@ declare class PreviewComponent implements OnDestroy {
3588
3676
  id: string;
3589
3677
  roleId: string;
3590
3678
  })[];
3591
- constructor(store: CredentialingStore, fileService: FileService, userSkillSetService: UserSkillSetService, userToolService: UserToolService, userDocumentService: UserDocumentService, userEducation: UserEducationService, userDetailService: UserDetailService, userExperienceService: UserExperienceService, tokenService: TokenService, roleContextService: RoleContextService, providerService: ProvidersService, frontendProviderService: FrontEndProvidersService, cdr: ChangeDetectorRef, libConfig: LibraryConfig);
3679
+ constructor(store: CredentialingStore, fileService: FileService, userSkillSetService: UserSkillSetService, userToolService: UserToolService, professionService: ProfessionService, userProfessionService: UserProfessionService, userDocumentService: UserDocumentService, userEducation: UserEducationService, userDetailService: UserDetailService, userExperienceService: UserExperienceService, tokenService: TokenService, roleContextService: RoleContextService, providerService: ProvidersService, frontendProviderService: FrontEndProvidersService, cdr: ChangeDetectorRef, libConfig: LibraryConfig);
3592
3680
  email: any;
3593
3681
  expYears: number[];
3594
3682
  details: i0.WritableSignal<BasicDetails | undefined>;
@@ -3600,6 +3688,30 @@ declare class PreviewComponent implements OnDestroy {
3600
3688
  licenses: i0.Signal<License$1[]>;
3601
3689
  skills: i0.Signal<string[]>;
3602
3690
  tools: i0.Signal<string[]>;
3691
+ professions: i0.Signal<string[]>;
3692
+ loadProfessionTypes(): void;
3693
+ professionSearchQry: string | null;
3694
+ isSavingProfessionsTable: boolean;
3695
+ professionSelections: Record<string, {
3696
+ selected: boolean;
3697
+ starRating: number;
3698
+ year: number | null;
3699
+ profileVisibility: boolean;
3700
+ notes: string;
3701
+ }>;
3702
+ get filteredProfessionTypes(): any[];
3703
+ get selectedProfessionCount(): number;
3704
+ getProfessionSelection(id: string): {
3705
+ selected: boolean;
3706
+ starRating: number;
3707
+ year: number | null;
3708
+ profileVisibility: boolean;
3709
+ notes: string;
3710
+ };
3711
+ onProfessionRowCheck(profession: any, event: Event): void;
3712
+ setProfessionRowStars(profession: any, stars: number): void;
3713
+ createManualProfessionRow(): void;
3714
+ submitProfessions(): Promise<void>;
3603
3715
  private isBlank;
3604
3716
  private isBlankOrNull;
3605
3717
  sanitizePhone(value: string | null | undefined): string;
@@ -3615,6 +3727,7 @@ declare class PreviewComponent implements OnDestroy {
3615
3727
  private licenseItemIssues;
3616
3728
  private skillItemIssues;
3617
3729
  private toolItemIssues;
3730
+ private professionItemIssues;
3618
3731
  basicIssues: i0.Signal<string[]>;
3619
3732
  basicSectionHasIssues: i0.Signal<boolean>;
3620
3733
  workIssuesByIndex: i0.Signal<string[][]>;
@@ -3623,20 +3736,24 @@ declare class PreviewComponent implements OnDestroy {
3623
3736
  licenseIssuesByIndex: i0.Signal<string[][]>;
3624
3737
  skillIssuesByIndex: i0.Signal<string[][]>;
3625
3738
  toolIssuesByIndex: i0.Signal<string[][]>;
3739
+ professionIssuesByIndex: i0.Signal<string[][]>;
3626
3740
  skillFormIssues: i0.Signal<string[]>;
3627
3741
  toolFormIssues: i0.Signal<string[]>;
3742
+ professionFormIssues: i0.Signal<string[]>;
3628
3743
  workSectionHasIssues: i0.Signal<boolean>;
3629
3744
  educationSectionHasIssues: i0.Signal<boolean>;
3630
3745
  certificationsSectionHasIssues: i0.Signal<boolean>;
3631
3746
  licensesSectionHasIssues: i0.Signal<boolean>;
3632
3747
  skillsSectionHasIssues: i0.Signal<boolean>;
3633
3748
  toolsSectionHasIssues: i0.Signal<boolean>;
3749
+ professionsSectionHasIssues: i0.Signal<boolean>;
3634
3750
  workSectionHasUnsavedItems(): boolean;
3635
3751
  educationSectionHasUnsavedItems(): boolean;
3636
3752
  certificationSectionHasUnsavedItems(): boolean;
3637
3753
  licenseSectionHasUnsavedItems(): boolean;
3638
3754
  skillsSectionHasUnsavedItems(): boolean;
3639
3755
  toolsSectionHasUnsavedItems(): boolean;
3756
+ professionsSectionHasUnsavedItems(): boolean;
3640
3757
  isAnyEditorOpen: i0.Signal<boolean>;
3641
3758
  canConfirmAndContinue(): boolean;
3642
3759
  get isProviderSetupFormComplete(): boolean;
@@ -3669,6 +3786,7 @@ declare class PreviewComponent implements OnDestroy {
3669
3786
  hasUnsavedLicenseItem(index: number): boolean;
3670
3787
  hasUnsavedSkillItem(index: number): boolean;
3671
3788
  hasUnsavedToolItem(index: number): boolean;
3789
+ hasUnsavedProfessionItem(index: number): boolean;
3672
3790
  private mapSavedWorkToPreview;
3673
3791
  private mapSavedEducationToPreview;
3674
3792
  private mapSavedCertificationToPreview;
@@ -3685,6 +3803,7 @@ declare class PreviewComponent implements OnDestroy {
3685
3803
  private ensureLicenseServerId;
3686
3804
  private ensureSkillServerId;
3687
3805
  private ensureToolServerId;
3806
+ private ensureProfessionServerId;
3688
3807
  private loadSavedSectionsFromApis;
3689
3808
  formatMonthYear(value: string | null | undefined): string;
3690
3809
  private confirmDelete;
@@ -3713,6 +3832,7 @@ declare class PreviewComponent implements OnDestroy {
3713
3832
  addSkill(): void;
3714
3833
  closeSkillEditor(): void;
3715
3834
  setTempSkillStars(stars: number): void;
3835
+ onSkillProfessionChange(item: any): void;
3716
3836
  saveSkillEditor(): Promise<void>;
3717
3837
  private reindexSkillMetaAfterDelete;
3718
3838
  deleteSkill(index: number): Promise<void>;
@@ -3726,11 +3846,29 @@ declare class PreviewComponent implements OnDestroy {
3726
3846
  addTool(): void;
3727
3847
  closeToolEditor(): void;
3728
3848
  setTempToolStars(stars: number): void;
3849
+ onToolProfessionChange(item: any): void;
3850
+ private professionEditor;
3851
+ isProfessionEditorOpen(): boolean;
3852
+ isAddingProfession(): boolean;
3853
+ editingProfessionIndex(): number | null;
3854
+ professionForm(): ProfessionEditorData | null;
3855
+ patchProfessionForm(patch: Partial<ProfessionEditorData>): void;
3856
+ openProfessionEditor(index: number): void;
3857
+ addProfession(): void;
3858
+ closeProfessionEditor(): void;
3859
+ setTempProfessionStars(stars: number): void;
3860
+ onProfessionTypeChange(item: any): void;
3861
+ saveProfessionEditor(): Promise<void>;
3862
+ private reindexProfessionMetaAfterDelete;
3863
+ deleteProfession(index: number): Promise<void>;
3864
+ confirmAllProfessions(): Promise<void>;
3729
3865
  confirmAllSkills(): Promise<void>;
3730
3866
  cancelBulkSkillConfirm(): void;
3867
+ onBulkSkillProfessionChange(item: any): void;
3731
3868
  applyBulkSkillConfirm(): Promise<void>;
3732
3869
  confirmAllTools(): Promise<void>;
3733
3870
  cancelBulkToolConfirm(): void;
3871
+ onBulkToolProfessionChange(item: any): void;
3734
3872
  applyBulkToolConfirm(): Promise<void>;
3735
3873
  saveToolEditor(): Promise<void>;
3736
3874
  private reindexToolMetaAfterDelete;
@@ -3742,6 +3880,7 @@ declare class PreviewComponent implements OnDestroy {
3742
3880
  private normalizeNullableString;
3743
3881
  private normalizeMonthInput;
3744
3882
  addCertification(): void;
3883
+ onCertificationProfessionChange(item: any): void;
3745
3884
  startEditCertification(index: number): void;
3746
3885
  cancelEditCertification(): void;
3747
3886
  patchTempCertification(patch: Partial<Certification$3>): void;
@@ -3790,6 +3929,8 @@ declare class PreviewComponent implements OnDestroy {
3790
3929
  private persistLicense;
3791
3930
  private persistSkill;
3792
3931
  private batchPersistSkills;
3932
+ private persistProfession;
3933
+ private batchPersistProfessions;
3793
3934
  private persistTool;
3794
3935
  private batchPersistTools;
3795
3936
  private saveAWSFile;
@@ -3911,6 +4052,7 @@ declare class PreviewComponent implements OnDestroy {
3911
4052
  mapLicenses(data: any): any;
3912
4053
  mapSkills(data: any): any;
3913
4054
  mapTools(data: any): any;
4055
+ mapProfessions(data: any): any;
3914
4056
  formatDate(date: string): string | null;
3915
4057
  workActionLabel(index: number | null): string;
3916
4058
  educationActionLabel(index: number | null): string;
@@ -3918,6 +4060,7 @@ declare class PreviewComponent implements OnDestroy {
3918
4060
  licenseActionLabel(index: number | null): string;
3919
4061
  skillActionLabel(index: number | null): string;
3920
4062
  toolActionLabel(index: number | null): string;
4063
+ professionActionLabel(index: number | null): string;
3921
4064
  isCompanyEditMode(): boolean;
3922
4065
  toggleCompanyEdit(): void;
3923
4066
  cancelCompanyEdit(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idsoftsource/initial-process",
3
- "version": "3.2.4",
3
+ "version": "3.2.7",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.0.0",
6
6
  "@angular/core": "^20.0.0",