@idsoftsource/initial-process 3.2.5 → 3.2.8

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;
@@ -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,44 @@ 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
+ private refreshUserProfessionOptions;
3693
+ loadProfessionTypes(): void;
3694
+ professionSearchQry: string | null;
3695
+ isSavingProfessionsTable: boolean;
3696
+ savedProfessionTypeIds: Set<string>;
3697
+ professionTypeServerIds: Record<string, string>;
3698
+ professionSavedSnapshots: Record<string, {
3699
+ starRating: number;
3700
+ year: number | null;
3701
+ profileVisibility: boolean;
3702
+ notes: string;
3703
+ }>;
3704
+ professionSelections: Record<string, {
3705
+ selected: boolean;
3706
+ starRating: number;
3707
+ year: number | null;
3708
+ profileVisibility: boolean;
3709
+ notes: string;
3710
+ }>;
3711
+ private applySavedProfessionsToTable;
3712
+ private hasProfessionRowChanged;
3713
+ get filteredProfessionTypes(): any[];
3714
+ get professionSubmitLabel(): string;
3715
+ isProfessionSaved(id: string): boolean;
3716
+ get selectedProfessionCount(): number;
3717
+ getProfessionSelection(id: string): {
3718
+ selected: boolean;
3719
+ starRating: number;
3720
+ year: number | null;
3721
+ profileVisibility: boolean;
3722
+ notes: string;
3723
+ };
3724
+ onProfessionRowCheck(profession: any, event: Event): void;
3725
+ setProfessionRowStars(profession: any, stars: number): void;
3726
+ createManualProfessionRow(): void;
3727
+ private buildProfessionPayload;
3728
+ submitProfessions(): Promise<void>;
3604
3729
  private isBlank;
3605
3730
  private isBlankOrNull;
3606
3731
  sanitizePhone(value: string | null | undefined): string;
@@ -3616,6 +3741,7 @@ declare class PreviewComponent implements OnDestroy {
3616
3741
  private licenseItemIssues;
3617
3742
  private skillItemIssues;
3618
3743
  private toolItemIssues;
3744
+ private professionItemIssues;
3619
3745
  basicIssues: i0.Signal<string[]>;
3620
3746
  basicSectionHasIssues: i0.Signal<boolean>;
3621
3747
  workIssuesByIndex: i0.Signal<string[][]>;
@@ -3624,20 +3750,24 @@ declare class PreviewComponent implements OnDestroy {
3624
3750
  licenseIssuesByIndex: i0.Signal<string[][]>;
3625
3751
  skillIssuesByIndex: i0.Signal<string[][]>;
3626
3752
  toolIssuesByIndex: i0.Signal<string[][]>;
3753
+ professionIssuesByIndex: i0.Signal<string[][]>;
3627
3754
  skillFormIssues: i0.Signal<string[]>;
3628
3755
  toolFormIssues: i0.Signal<string[]>;
3756
+ professionFormIssues: i0.Signal<string[]>;
3629
3757
  workSectionHasIssues: i0.Signal<boolean>;
3630
3758
  educationSectionHasIssues: i0.Signal<boolean>;
3631
3759
  certificationsSectionHasIssues: i0.Signal<boolean>;
3632
3760
  licensesSectionHasIssues: i0.Signal<boolean>;
3633
3761
  skillsSectionHasIssues: i0.Signal<boolean>;
3634
3762
  toolsSectionHasIssues: i0.Signal<boolean>;
3763
+ professionsSectionHasIssues: i0.Signal<boolean>;
3635
3764
  workSectionHasUnsavedItems(): boolean;
3636
3765
  educationSectionHasUnsavedItems(): boolean;
3637
3766
  certificationSectionHasUnsavedItems(): boolean;
3638
3767
  licenseSectionHasUnsavedItems(): boolean;
3639
3768
  skillsSectionHasUnsavedItems(): boolean;
3640
3769
  toolsSectionHasUnsavedItems(): boolean;
3770
+ professionsSectionHasUnsavedItems(): boolean;
3641
3771
  isAnyEditorOpen: i0.Signal<boolean>;
3642
3772
  canConfirmAndContinue(): boolean;
3643
3773
  get isProviderSetupFormComplete(): boolean;
@@ -3670,6 +3800,7 @@ declare class PreviewComponent implements OnDestroy {
3670
3800
  hasUnsavedLicenseItem(index: number): boolean;
3671
3801
  hasUnsavedSkillItem(index: number): boolean;
3672
3802
  hasUnsavedToolItem(index: number): boolean;
3803
+ hasUnsavedProfessionItem(index: number): boolean;
3673
3804
  private mapSavedWorkToPreview;
3674
3805
  private mapSavedEducationToPreview;
3675
3806
  private mapSavedCertificationToPreview;
@@ -3686,6 +3817,7 @@ declare class PreviewComponent implements OnDestroy {
3686
3817
  private ensureLicenseServerId;
3687
3818
  private ensureSkillServerId;
3688
3819
  private ensureToolServerId;
3820
+ private ensureProfessionServerId;
3689
3821
  private loadSavedSectionsFromApis;
3690
3822
  formatMonthYear(value: string | null | undefined): string;
3691
3823
  private confirmDelete;
@@ -3714,6 +3846,7 @@ declare class PreviewComponent implements OnDestroy {
3714
3846
  addSkill(): void;
3715
3847
  closeSkillEditor(): void;
3716
3848
  setTempSkillStars(stars: number): void;
3849
+ onSkillProfessionChange(item: any): void;
3717
3850
  saveSkillEditor(): Promise<void>;
3718
3851
  private reindexSkillMetaAfterDelete;
3719
3852
  deleteSkill(index: number): Promise<void>;
@@ -3727,11 +3860,29 @@ declare class PreviewComponent implements OnDestroy {
3727
3860
  addTool(): void;
3728
3861
  closeToolEditor(): void;
3729
3862
  setTempToolStars(stars: number): void;
3863
+ onToolProfessionChange(item: any): void;
3864
+ private professionEditor;
3865
+ isProfessionEditorOpen(): boolean;
3866
+ isAddingProfession(): boolean;
3867
+ editingProfessionIndex(): number | null;
3868
+ professionForm(): ProfessionEditorData | null;
3869
+ patchProfessionForm(patch: Partial<ProfessionEditorData>): void;
3870
+ openProfessionEditor(index: number): void;
3871
+ addProfession(): void;
3872
+ closeProfessionEditor(): void;
3873
+ setTempProfessionStars(stars: number): void;
3874
+ onProfessionTypeChange(item: any): void;
3875
+ saveProfessionEditor(): Promise<void>;
3876
+ private reindexProfessionMetaAfterDelete;
3877
+ deleteProfession(index: number): Promise<void>;
3878
+ confirmAllProfessions(): Promise<void>;
3730
3879
  confirmAllSkills(): Promise<void>;
3731
3880
  cancelBulkSkillConfirm(): void;
3881
+ onBulkSkillProfessionChange(item: any): void;
3732
3882
  applyBulkSkillConfirm(): Promise<void>;
3733
3883
  confirmAllTools(): Promise<void>;
3734
3884
  cancelBulkToolConfirm(): void;
3885
+ onBulkToolProfessionChange(item: any): void;
3735
3886
  applyBulkToolConfirm(): Promise<void>;
3736
3887
  saveToolEditor(): Promise<void>;
3737
3888
  private reindexToolMetaAfterDelete;
@@ -3743,6 +3894,7 @@ declare class PreviewComponent implements OnDestroy {
3743
3894
  private normalizeNullableString;
3744
3895
  private normalizeMonthInput;
3745
3896
  addCertification(): void;
3897
+ onCertificationProfessionChange(item: any): void;
3746
3898
  startEditCertification(index: number): void;
3747
3899
  cancelEditCertification(): void;
3748
3900
  patchTempCertification(patch: Partial<Certification$3>): void;
@@ -3791,6 +3943,8 @@ declare class PreviewComponent implements OnDestroy {
3791
3943
  private persistLicense;
3792
3944
  private persistSkill;
3793
3945
  private batchPersistSkills;
3946
+ private persistProfession;
3947
+ private batchPersistProfessions;
3794
3948
  private persistTool;
3795
3949
  private batchPersistTools;
3796
3950
  private saveAWSFile;
@@ -3912,6 +4066,7 @@ declare class PreviewComponent implements OnDestroy {
3912
4066
  mapLicenses(data: any): any;
3913
4067
  mapSkills(data: any): any;
3914
4068
  mapTools(data: any): any;
4069
+ mapProfessions(data: any): any;
3915
4070
  formatDate(date: string): string | null;
3916
4071
  workActionLabel(index: number | null): string;
3917
4072
  educationActionLabel(index: number | null): string;
@@ -3919,6 +4074,7 @@ declare class PreviewComponent implements OnDestroy {
3919
4074
  licenseActionLabel(index: number | null): string;
3920
4075
  skillActionLabel(index: number | null): string;
3921
4076
  toolActionLabel(index: number | null): string;
4077
+ professionActionLabel(index: number | null): string;
3922
4078
  isCompanyEditMode(): boolean;
3923
4079
  toggleCompanyEdit(): void;
3924
4080
  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.8",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.0.0",
6
6
  "@angular/core": "^20.0.0",