@idsoftsource/initial-process 3.2.5 → 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;
@@ -3456,17 +3480,71 @@ declare class SignaturePadModule {
3456
3480
  interface SkillToolEditorData {
3457
3481
  name: string;
3458
3482
  providerName: string;
3483
+ professionId?: string | null;
3484
+ professionName?: string;
3459
3485
  stars: number;
3460
3486
  year: number | null;
3461
3487
  profileVisibility: boolean;
3462
3488
  notes: string;
3463
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
+ }
3464
3540
 
3465
3541
  declare class PreviewComponent implements OnDestroy {
3466
3542
  store: CredentialingStore;
3467
3543
  private fileService;
3468
3544
  private userSkillSetService;
3469
3545
  private userToolService;
3546
+ private professionService;
3547
+ private userProfessionService;
3470
3548
  userDocumentService: UserDocumentService;
3471
3549
  userEducation: UserEducationService;
3472
3550
  private userDetailService;
@@ -3519,12 +3597,19 @@ declare class PreviewComponent implements OnDestroy {
3519
3597
  hasUserDetailData: boolean;
3520
3598
  isSavingSkill: boolean;
3521
3599
  isSavingTool: boolean;
3600
+ isSavingProfession: boolean;
3601
+ professionTypes: any[];
3602
+ userProfessionOptions: any[];
3522
3603
  showBulkSkillConfirm: boolean;
3523
3604
  bulkSkillStars: number;
3524
3605
  bulkSkillYear: number | null;
3606
+ bulkSkillProfessionId: string | null;
3607
+ bulkSkillProfessionName: string;
3525
3608
  showBulkToolConfirm: boolean;
3526
3609
  bulkToolStars: number;
3527
3610
  bulkToolYear: number | null;
3611
+ bulkToolProfessionId: string | null;
3612
+ bulkToolProfessionName: string;
3528
3613
  private workConfirmAllQueue;
3529
3614
  private educationConfirmAllQueue;
3530
3615
  payloadUserId: any;
@@ -3544,12 +3629,14 @@ declare class PreviewComponent implements OnDestroy {
3544
3629
  licenseServerIds: Record<number, string>;
3545
3630
  skillServerIds: Record<number, string>;
3546
3631
  toolServerIds: Record<number, string>;
3632
+ professionServerIds: Record<number, string>;
3547
3633
  workExperienceLocallySaved: Record<number, boolean>;
3548
3634
  educationLocallySaved: Record<number, boolean>;
3549
3635
  certificationLocallySaved: Record<number, boolean>;
3550
3636
  licenseLocallySaved: Record<number, boolean>;
3551
3637
  skillLocallySaved: Record<number, boolean>;
3552
3638
  toolLocallySaved: Record<number, boolean>;
3639
+ professionLocallySaved: Record<number, boolean>;
3553
3640
  private readonly monthDateCache;
3554
3641
  private readonly uploadFolderBySection;
3555
3642
  resumeData: ResumeProfile | null;
@@ -3589,7 +3676,7 @@ declare class PreviewComponent implements OnDestroy {
3589
3676
  id: string;
3590
3677
  roleId: string;
3591
3678
  })[];
3592
- 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);
3593
3680
  email: any;
3594
3681
  expYears: number[];
3595
3682
  details: i0.WritableSignal<BasicDetails | undefined>;
@@ -3601,6 +3688,30 @@ declare class PreviewComponent implements OnDestroy {
3601
3688
  licenses: i0.Signal<License$1[]>;
3602
3689
  skills: i0.Signal<string[]>;
3603
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>;
3604
3715
  private isBlank;
3605
3716
  private isBlankOrNull;
3606
3717
  sanitizePhone(value: string | null | undefined): string;
@@ -3616,6 +3727,7 @@ declare class PreviewComponent implements OnDestroy {
3616
3727
  private licenseItemIssues;
3617
3728
  private skillItemIssues;
3618
3729
  private toolItemIssues;
3730
+ private professionItemIssues;
3619
3731
  basicIssues: i0.Signal<string[]>;
3620
3732
  basicSectionHasIssues: i0.Signal<boolean>;
3621
3733
  workIssuesByIndex: i0.Signal<string[][]>;
@@ -3624,20 +3736,24 @@ declare class PreviewComponent implements OnDestroy {
3624
3736
  licenseIssuesByIndex: i0.Signal<string[][]>;
3625
3737
  skillIssuesByIndex: i0.Signal<string[][]>;
3626
3738
  toolIssuesByIndex: i0.Signal<string[][]>;
3739
+ professionIssuesByIndex: i0.Signal<string[][]>;
3627
3740
  skillFormIssues: i0.Signal<string[]>;
3628
3741
  toolFormIssues: i0.Signal<string[]>;
3742
+ professionFormIssues: i0.Signal<string[]>;
3629
3743
  workSectionHasIssues: i0.Signal<boolean>;
3630
3744
  educationSectionHasIssues: i0.Signal<boolean>;
3631
3745
  certificationsSectionHasIssues: i0.Signal<boolean>;
3632
3746
  licensesSectionHasIssues: i0.Signal<boolean>;
3633
3747
  skillsSectionHasIssues: i0.Signal<boolean>;
3634
3748
  toolsSectionHasIssues: i0.Signal<boolean>;
3749
+ professionsSectionHasIssues: i0.Signal<boolean>;
3635
3750
  workSectionHasUnsavedItems(): boolean;
3636
3751
  educationSectionHasUnsavedItems(): boolean;
3637
3752
  certificationSectionHasUnsavedItems(): boolean;
3638
3753
  licenseSectionHasUnsavedItems(): boolean;
3639
3754
  skillsSectionHasUnsavedItems(): boolean;
3640
3755
  toolsSectionHasUnsavedItems(): boolean;
3756
+ professionsSectionHasUnsavedItems(): boolean;
3641
3757
  isAnyEditorOpen: i0.Signal<boolean>;
3642
3758
  canConfirmAndContinue(): boolean;
3643
3759
  get isProviderSetupFormComplete(): boolean;
@@ -3670,6 +3786,7 @@ declare class PreviewComponent implements OnDestroy {
3670
3786
  hasUnsavedLicenseItem(index: number): boolean;
3671
3787
  hasUnsavedSkillItem(index: number): boolean;
3672
3788
  hasUnsavedToolItem(index: number): boolean;
3789
+ hasUnsavedProfessionItem(index: number): boolean;
3673
3790
  private mapSavedWorkToPreview;
3674
3791
  private mapSavedEducationToPreview;
3675
3792
  private mapSavedCertificationToPreview;
@@ -3686,6 +3803,7 @@ declare class PreviewComponent implements OnDestroy {
3686
3803
  private ensureLicenseServerId;
3687
3804
  private ensureSkillServerId;
3688
3805
  private ensureToolServerId;
3806
+ private ensureProfessionServerId;
3689
3807
  private loadSavedSectionsFromApis;
3690
3808
  formatMonthYear(value: string | null | undefined): string;
3691
3809
  private confirmDelete;
@@ -3714,6 +3832,7 @@ declare class PreviewComponent implements OnDestroy {
3714
3832
  addSkill(): void;
3715
3833
  closeSkillEditor(): void;
3716
3834
  setTempSkillStars(stars: number): void;
3835
+ onSkillProfessionChange(item: any): void;
3717
3836
  saveSkillEditor(): Promise<void>;
3718
3837
  private reindexSkillMetaAfterDelete;
3719
3838
  deleteSkill(index: number): Promise<void>;
@@ -3727,11 +3846,29 @@ declare class PreviewComponent implements OnDestroy {
3727
3846
  addTool(): void;
3728
3847
  closeToolEditor(): void;
3729
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>;
3730
3865
  confirmAllSkills(): Promise<void>;
3731
3866
  cancelBulkSkillConfirm(): void;
3867
+ onBulkSkillProfessionChange(item: any): void;
3732
3868
  applyBulkSkillConfirm(): Promise<void>;
3733
3869
  confirmAllTools(): Promise<void>;
3734
3870
  cancelBulkToolConfirm(): void;
3871
+ onBulkToolProfessionChange(item: any): void;
3735
3872
  applyBulkToolConfirm(): Promise<void>;
3736
3873
  saveToolEditor(): Promise<void>;
3737
3874
  private reindexToolMetaAfterDelete;
@@ -3743,6 +3880,7 @@ declare class PreviewComponent implements OnDestroy {
3743
3880
  private normalizeNullableString;
3744
3881
  private normalizeMonthInput;
3745
3882
  addCertification(): void;
3883
+ onCertificationProfessionChange(item: any): void;
3746
3884
  startEditCertification(index: number): void;
3747
3885
  cancelEditCertification(): void;
3748
3886
  patchTempCertification(patch: Partial<Certification$3>): void;
@@ -3791,6 +3929,8 @@ declare class PreviewComponent implements OnDestroy {
3791
3929
  private persistLicense;
3792
3930
  private persistSkill;
3793
3931
  private batchPersistSkills;
3932
+ private persistProfession;
3933
+ private batchPersistProfessions;
3794
3934
  private persistTool;
3795
3935
  private batchPersistTools;
3796
3936
  private saveAWSFile;
@@ -3912,6 +4052,7 @@ declare class PreviewComponent implements OnDestroy {
3912
4052
  mapLicenses(data: any): any;
3913
4053
  mapSkills(data: any): any;
3914
4054
  mapTools(data: any): any;
4055
+ mapProfessions(data: any): any;
3915
4056
  formatDate(date: string): string | null;
3916
4057
  workActionLabel(index: number | null): string;
3917
4058
  educationActionLabel(index: number | null): string;
@@ -3919,6 +4060,7 @@ declare class PreviewComponent implements OnDestroy {
3919
4060
  licenseActionLabel(index: number | null): string;
3920
4061
  skillActionLabel(index: number | null): string;
3921
4062
  toolActionLabel(index: number | null): string;
4063
+ professionActionLabel(index: number | null): string;
3922
4064
  isCompanyEditMode(): boolean;
3923
4065
  toggleCompanyEdit(): void;
3924
4066
  cancelCompanyEdit(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idsoftsource/initial-process",
3
- "version": "3.2.5",
3
+ "version": "3.2.7",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.0.0",
6
6
  "@angular/core": "^20.0.0",