@idsoftsource/initial-process 2.3.5 → 2.3.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
@@ -675,325 +675,18 @@ interface LibraryConfig {
675
675
  }
676
676
  declare const LIBRARY_CONFIG: InjectionToken<LibraryConfig>;
677
677
 
678
- interface AppBranding {
679
- logo: string;
680
- displayName: string;
678
+ declare enum ForUser {
679
+ ForProvider = 1,
680
+ ForProducer = 2
681
681
  }
682
- declare class InitialProcessComponent implements OnInit {
683
- private router;
684
- private userDetailService;
685
- private formBuilder;
686
- private fileService;
687
- private providerService;
688
- private roleService;
689
- private modalService;
690
- private contractorSubCategoryService;
691
- private providerContractorSubCategoryService;
692
- private authService;
693
- private tokenService;
694
- private roleContextService;
695
- private authLogoutService;
696
- private libConfig;
697
- signatureFileId: any;
698
- signatureUrl: any;
699
- private signatureDirty;
700
- isAgreeEnabled: boolean;
701
- isneeded: boolean;
702
- isLogoRequired: boolean;
703
- logo: any;
704
- private readonly uploadToAws;
705
- selectedRoleValue: string | null;
706
- selectedRole: any;
707
- isUserSelected: boolean;
708
- title: string;
709
- state: any;
710
- logoName: any;
711
- branding: {
712
- logo: string;
713
- displayName: string;
714
- };
715
- credentialingData: any;
716
- modalRef?: BsModalRef;
717
- DefaultButtonSpinnerConfig: {
718
- spinnerColor: string;
719
- spinnerSize: string;
720
- buttonText: string;
721
- };
722
- view: number;
723
- validatePage: number;
724
- isBusiness: boolean;
725
- isImageRequired: boolean;
726
- user: any;
727
- assignProviderRoleModel: any;
728
- provider: ProviderModel;
729
- userId: any;
730
- fileName: string;
731
- model: {
732
- acceptTerms: boolean;
733
- privacy: boolean;
734
- };
735
- showContent: boolean;
736
- showLoader: boolean;
737
- isShowDelete: boolean;
738
- path: string;
739
- isCopy: boolean;
740
- rolesApiCall: Subscription;
741
- roles: any;
742
- canvasRef: ElementRef;
743
- signaturePad: SignaturePad;
744
- signaturePadData: {
745
- publicUrl: null;
746
- };
747
- points: never[];
748
- showlogout: boolean;
749
- pointsChange: EventEmitter<string>;
750
- cleared: EventEmitter<any>;
751
- companyForm: FormGroup;
752
- userForm: FormGroup;
753
- fileData: any;
754
- fileDataUser: File | null;
755
- fileDataLogo: File | null;
756
- zipcodeMask: RegExp[];
757
- options: {
758
- componentRestrictions: {
759
- country: string[];
760
- };
761
- };
762
- appType: any;
763
- users: LookupItem;
764
- providerError: any;
765
- userError: any;
766
- uploadError: string | null;
767
- providerRoleId: any;
768
- termsAndConditionTitle: string;
769
- showTermsAndConditions: boolean;
770
- termsAndConditions: string[];
771
- isTermsAccept: boolean;
772
- isPrivacyAccept: boolean;
773
- skipRole: boolean;
774
- modelRef: BsModalRef;
775
- userRoles: any;
776
- cloudfront: any;
777
- private destroy$;
778
- currentUserRoles: any;
779
- userViewRoles: ({
780
- name: string;
781
- value: string;
782
- img: string;
783
- selected: boolean;
784
- code: null;
785
- id: string;
786
- roleId: string;
787
- } | {
788
- name: string;
789
- value: string;
790
- img: string;
791
- selected: boolean;
792
- code: ProviderType;
793
- id: string;
794
- roleId: string;
795
- })[];
796
- onCredentialingBack(): void;
797
- selectedUserRole(role: any): void;
798
- privacyAndTerms: PrivacyAndTerms;
799
- setPrivacyAndTerms(appType: string): void;
800
- private getDefaultPrivacy;
801
- setRoleContext(roleId: any, name: any): void;
802
- selectedContractorCategories: string[];
803
- selectedContractorSubCategories: {
804
- name: string;
805
- id: string;
806
- selected: boolean;
807
- selectAll: boolean;
808
- items: ContractorSubCategoryReadModel[];
809
- }[];
810
- contractorSubCategories: {
811
- name: any;
812
- id: any;
813
- selected: boolean;
814
- selectAll: boolean;
815
- items: ContractorSubCategoryReadModel[];
816
- }[];
817
- contractorCategories: ContractorSubCategoryReadModel[];
818
- isLoadingSubCategories: boolean;
819
- appBrandingMap: Record<string, AppBranding>;
820
- constructor(router: Router, userDetailService: UserDetailService, formBuilder: FormBuilder, fileService: FileService, providerService: ProvidersService, roleService: RolesService, modalService: BsModalService, contractorSubCategoryService: ProviderContractorSubCategoryService, providerContractorSubCategoryService: ProviderContractorSubCategoryService, authService: AuthService, tokenService: TokenService, roleContextService: RoleContextService, authLogoutService: AuthLogoutService, libConfig: LibraryConfig);
821
- selectedContract: any;
822
- changeContractor(event?: any[]): void;
823
- selectAll(event: any, items: any[]): void;
824
- unCheckedEvent(event: any, items: any): void;
825
- findCategory(contractorCategories: any): boolean;
826
- getUserRoles(): void;
827
- ngOnInit(): Promise<void>;
828
- getUser(): Promise<void>;
829
- get f(): {
830
- [key: string]: _angular_forms.AbstractControl<any, any, any>;
831
- };
832
- get u(): {
833
- [key: string]: _angular_forms.AbstractControl<any, any, any>;
834
- };
835
- ngAfterViewInit(): void;
836
- clearPad(): void;
837
- private applyPoints;
838
- private emitPoints;
839
- uploadSignImage(event: any): void;
840
- uploadUserImage(event: any): void;
841
- uploadLogo(event: any): void;
842
- AddressChange(address: any): void;
843
- AddressChangeUser(address: any): void;
844
- previous(): void;
845
- next(page?: number): void;
846
- handleSignatureAndMoveToNext(): Promise<void>;
847
- saveSignatureAndIncrement(): Promise<boolean>;
848
- private dataURLtoFile;
849
- uploadFileBrowseHandler(): Promise<void>;
850
- saveAWSLogo(): Promise<boolean>;
851
- formatPhone(event: any, form: FormGroup): void;
852
- saveAWSHeadShot(): Promise<void>;
853
- saveAWSSignature(): Promise<void>;
854
- saveSignature(): void;
855
- private saveInitial;
856
- bindProviderDetails(): {
857
- userName: string;
858
- providerType: ProviderType;
859
- providerName: any;
860
- address1: any;
861
- address2: any;
862
- city: any;
863
- state: any;
864
- zipcode: any;
865
- county: any;
866
- subDivision: any;
867
- country: any;
868
- latitude: any;
869
- longitude: any;
870
- phoneNumber: any;
871
- userAddress1: any;
872
- userAddress2: any;
873
- userCity: any;
874
- userState: any;
875
- userZipcode: any;
876
- userCounty: any;
877
- userCountry: any;
878
- headshotUrl: any;
879
- userMobile: any;
880
- userEmailId: any;
881
- logoId: any;
882
- logoFileName: any;
883
- logoUrl: any;
884
- };
885
- isProviderCall: boolean;
886
- isResponse: boolean;
887
- saveBusiness(): void;
888
- getRoles(): void;
889
- formatDateTime(date: Date): {
890
- mmddyyyy: string;
891
- mmddyyyyhhmmtt: string;
892
- hhmmtt: string;
893
- };
894
- bindUserDetails(): UserDetailModel;
895
- saveFinal(): void;
896
- dashboard(): void;
897
- changeAddressUser(): void;
898
- scrollProgress: number;
899
- private autoScrollRaf;
900
- private autoScrollDelay;
901
- onTermsScroll(event: Event): void;
902
- openModal(template: TemplateRef<any>, title: string, event: any): void;
903
- startAutoScroll(): void;
904
- stopAutoScroll(): void;
905
- scrollToBottomClick(event: Event): void;
906
- agree(title: string): void;
907
- decline(title: string): void;
908
- logout(): Promise<void>;
909
- getContractorSubCategories(): void;
910
- saveContractorSubCategory(id: any): void;
911
- private get STORAGE_KEY();
912
- private preRestoreView;
913
- private saveState;
914
- private restoreState;
915
- private clearState;
916
- ngOnDestroy(): void;
917
- static ɵfac: i0.ɵɵFactoryDeclaration<InitialProcessComponent, never>;
918
- static ɵcmp: i0.ɵɵComponentDeclaration<InitialProcessComponent, "app-initial-process", never, {}, {}, never, never, false, never>;
919
- }
920
-
921
- interface ProcessedSection$1 {
922
- id: string;
923
- versionName: string;
924
- content: SafeHtml;
925
- orderby: number;
926
- createdDate: string;
927
- createdBy: string;
928
- type: number;
929
- }
930
- declare class TermsConditionsComponent implements OnInit, OnDestroy {
931
- private sanitizer;
932
- private userDetailsService;
933
- title: string;
934
- branding: {
935
- logo: string;
936
- displayName: string;
937
- };
938
- PrivacyAndTerms: PrivacyAndTerms;
939
- parsedSections: ProcessedSection$1[];
940
- isLoading: boolean;
941
- private destroy$;
942
- constructor(sanitizer: DomSanitizer, userDetailsService: UserDetailService);
943
- ngOnInit(): void;
944
- ngOnDestroy(): void;
945
- private getTermsAndConditions;
946
- private buildSections;
947
- private interpolate;
948
- isFilteredBrand(): boolean;
949
- static ɵfac: i0.ɵɵFactoryDeclaration<TermsConditionsComponent, never>;
950
- static ɵcmp: i0.ɵɵComponentDeclaration<TermsConditionsComponent, "app-terms-conditions", never, { "title": { "alias": "title"; "required": false; }; "branding": { "alias": "branding"; "required": false; }; "PrivacyAndTerms": { "alias": "PrivacyAndTerms"; "required": false; }; }, {}, never, never, false, never>;
951
- }
952
-
953
- interface ProcessedSection {
954
- id: string;
955
- versionName: string;
956
- content: SafeHtml;
957
- orderby: number;
958
- createdDate: string;
959
- createdBy: string;
960
- type: number;
961
- }
962
- declare class PrivacyPolicyComponent implements OnInit, OnDestroy {
963
- private sanitizer;
964
- private userDetailsService;
965
- title: string;
966
- branding: {
967
- logo: string;
968
- displayName: string;
969
- };
970
- PrivacyAndTerms: PrivacyAndTerms;
971
- parsedSections: ProcessedSection[];
972
- isLoading: boolean;
973
- private destroy$;
974
- constructor(sanitizer: DomSanitizer, userDetailsService: UserDetailService);
975
- ngOnInit(): void;
976
- ngOnDestroy(): void;
977
- private getPrivacyPolicy;
978
- private buildSections;
979
- private interpolate;
980
- isFilteredBrand(): boolean;
981
- static ɵfac: i0.ɵɵFactoryDeclaration<PrivacyPolicyComponent, never>;
982
- static ɵcmp: i0.ɵɵComponentDeclaration<PrivacyPolicyComponent, "app-privacy-policy", never, { "title": { "alias": "title"; "required": false; }; "branding": { "alias": "branding"; "required": false; }; "PrivacyAndTerms": { "alias": "PrivacyAndTerms"; "required": false; }; }, {}, never, never, false, never>;
983
- }
984
-
985
- declare enum ForUser {
986
- ForProvider = 1,
987
- ForProducer = 2
988
- }
989
-
990
- declare enum RequestedStatus {
991
- Requested = 1,
992
- InReview = 2,
993
- Rejected = 3,
994
- Resubmitted = 4,
995
- Approved = 5,
996
- Canceled = 6
682
+
683
+ declare enum RequestedStatus {
684
+ Requested = 1,
685
+ InReview = 2,
686
+ Rejected = 3,
687
+ Resubmitted = 4,
688
+ Approved = 5,
689
+ Canceled = 6
997
690
  }
998
691
 
999
692
  interface UserSkillSetModel extends MasterModel {
@@ -1150,129 +843,438 @@ interface License$1 {
1150
843
  expiryDate: string | null;
1151
844
  }
1152
845
 
1153
- interface ResumeSkillMeta {
1154
- providerName?: string;
1155
- starRating?: number;
1156
- year?: number | null;
1157
- profileVisibility?: boolean;
1158
- notes?: string;
1159
- }
1160
- interface ResumeToolMeta {
1161
- providerName?: string;
1162
- starRating?: number;
1163
- year?: number | null;
1164
- profileVisibility?: boolean;
1165
- notes?: string;
1166
- }
1167
- interface Certification$2 {
1168
- name: string;
1169
- type: string;
1170
- issuedBy: string;
1171
- issueDate: string;
1172
- expiryDate: string;
1173
- city: string;
1174
- state: string;
1175
- description: string;
846
+ interface ResumeSkillMeta {
847
+ providerName?: string;
848
+ starRating?: number;
849
+ year?: number | null;
850
+ profileVisibility?: boolean;
851
+ notes?: string;
852
+ }
853
+ interface ResumeToolMeta {
854
+ providerName?: string;
855
+ starRating?: number;
856
+ year?: number | null;
857
+ profileVisibility?: boolean;
858
+ notes?: string;
859
+ }
860
+ interface Certification$2 {
861
+ name: string;
862
+ type: string;
863
+ issuedBy: string;
864
+ issueDate: string;
865
+ expiryDate: string;
866
+ city: string;
867
+ state: string;
868
+ description: string;
869
+ }
870
+ interface License {
871
+ title: string;
872
+ number: string;
873
+ institution: string;
874
+ issueDate: string;
875
+ expiryDate: string;
876
+ city: string;
877
+ state: string;
878
+ description: string;
879
+ }
880
+ interface Tool {
881
+ name: string;
882
+ selected: boolean;
883
+ model?: string;
884
+ serialNumber?: string;
885
+ yearsExperience?: number;
886
+ profileVisible?: boolean;
887
+ manufacturer?: string;
888
+ rating?: number;
889
+ }
890
+ declare class CredentialingStore {
891
+ private readonly STORAGE_KEY;
892
+ completedSteps: i0.WritableSignal<number[]>;
893
+ constructor();
894
+ private saveToStorage;
895
+ private loadFromStorage;
896
+ clearStorage(): void;
897
+ resetAll(): void;
898
+ toolsList: i0.WritableSignal<Tool[]>;
899
+ uploadOption: i0.WritableSignal<"manual" | "upload" | null>;
900
+ certifications: i0.WritableSignal<Certification$2[]>;
901
+ licenses: i0.WritableSignal<License[]>;
902
+ stepView: i0.WritableSignal<"add" | "preview">;
903
+ goToPreview(): void;
904
+ goToAdd(): void;
905
+ userSkills: i0.WritableSignal<UserSkillSetModel[]>;
906
+ setUserSkills(skills: UserSkillSetModel[]): void;
907
+ updateUserSkill(updated: UserSkillSetModel): void;
908
+ addUserSkills(skills: UserSkillSetModel | UserSkillSetModel[]): void;
909
+ toggleSkill(skillSetId: string): void;
910
+ toolStepView: i0.WritableSignal<"add" | "preview">;
911
+ goToToolPreview(): void;
912
+ goToToolAdd(): void;
913
+ userTools: i0.WritableSignal<UserToolModel[]>;
914
+ setUserTools(tools: UserToolModel[]): void;
915
+ updateUserTool(updated: UserToolModel): void;
916
+ addUserTools(tools: UserToolModel | UserToolModel[]): void;
917
+ toggleTool(toolId: string): void;
918
+ currentStep: i0.WritableSignal<number>;
919
+ role: i0.WritableSignal<string | null>;
920
+ education: i0.WritableSignal<any>;
921
+ initialSelection: i0.WritableSignal<string | null>;
922
+ selectedTools: i0.WritableSignal<Tool[]>;
923
+ selectedRoles: i0.WritableSignal<string[]>;
924
+ selectedJobs: i0.WritableSignal<string[]>;
925
+ city: i0.WritableSignal<string>;
926
+ state: i0.WritableSignal<string>;
927
+ showMap: i0.WritableSignal<boolean>;
928
+ currentCoverage: i0.WritableSignal<boolean>;
929
+ notApplicable: i0.WritableSignal<boolean>;
930
+ selectedStates: i0.WritableSignal<string[]>;
931
+ isUploadSuccess: i0.WritableSignal<string | null>;
932
+ uploadedResumeFile: i0.WritableSignal<{
933
+ name: string;
934
+ size: number;
935
+ lastModified: number;
936
+ } | null>;
937
+ setUploadedResumeFile(file: File): void;
938
+ profileSignal: i0.WritableSignal<ResumeProfile | null>;
939
+ resumeSkillMeta: i0.WritableSignal<Record<number, ResumeSkillMeta>>;
940
+ resumeToolMeta: i0.WritableSignal<Record<number, ResumeToolMeta>>;
941
+ profile: ResumeProfile | null;
942
+ selectInitial(value: string): void;
943
+ setUploadOption(option: 'upload' | 'manual'): void;
944
+ addRole(role: string): void;
945
+ setResumeSkillMeta(index: number, meta: ResumeSkillMeta): void;
946
+ setResumeToolMeta(index: number, meta: ResumeToolMeta): void;
947
+ removeRole(role: string): void;
948
+ setRole(role: string): void;
949
+ setEducation(data: any): void;
950
+ setCoverage(data: {
951
+ city: string;
952
+ state: string;
953
+ selectedStates: string[];
954
+ currentCoverage: boolean;
955
+ notApplicable: boolean;
956
+ showMap: boolean;
957
+ }): void;
958
+ setSelectedJobs(jobs: string[]): void;
959
+ addCertification(cert: Certification$2): void;
960
+ removeCertification(index: number): void;
961
+ addLicense(license: License): void;
962
+ removeLicense(index: number): void;
963
+ nextStep(): void;
964
+ previousStep(): void;
965
+ updateToolDetails(toolName: string, data: Partial<Tool>): void;
966
+ addSuccess(value: any): void;
967
+ setProfile(data: ResumeProfile): void;
968
+ static ɵfac: i0.ɵɵFactoryDeclaration<CredentialingStore, never>;
969
+ static ɵprov: i0.ɵɵInjectableDeclaration<CredentialingStore>;
970
+ }
971
+
972
+ interface AppBranding {
973
+ logo: string;
974
+ displayName: string;
975
+ }
976
+ declare class InitialProcessComponent implements OnInit {
977
+ private router;
978
+ private userDetailService;
979
+ private formBuilder;
980
+ private fileService;
981
+ private providerService;
982
+ private roleService;
983
+ private modalService;
984
+ private contractorSubCategoryService;
985
+ private providerContractorSubCategoryService;
986
+ private authService;
987
+ private tokenService;
988
+ private roleContextService;
989
+ private authLogoutService;
990
+ private credStore;
991
+ private libConfig;
992
+ signatureFileId: any;
993
+ signatureUrl: any;
994
+ private signatureDirty;
995
+ isAgreeEnabled: boolean;
996
+ isneeded: boolean;
997
+ isLogoRequired: boolean;
998
+ logo: any;
999
+ private readonly uploadToAws;
1000
+ selectedRoleValue: string | null;
1001
+ selectedRole: any;
1002
+ isUserSelected: boolean;
1003
+ title: string;
1004
+ state: any;
1005
+ logoName: any;
1006
+ branding: {
1007
+ logo: string;
1008
+ displayName: string;
1009
+ };
1010
+ credentialingData: any;
1011
+ modalRef?: BsModalRef;
1012
+ DefaultButtonSpinnerConfig: {
1013
+ spinnerColor: string;
1014
+ spinnerSize: string;
1015
+ buttonText: string;
1016
+ };
1017
+ view: number;
1018
+ isInitializing: boolean;
1019
+ validatePage: number;
1020
+ isBusiness: boolean;
1021
+ isImageRequired: boolean;
1022
+ user: any;
1023
+ assignProviderRoleModel: any;
1024
+ provider: ProviderModel;
1025
+ userId: any;
1026
+ fileName: string;
1027
+ model: {
1028
+ acceptTerms: boolean;
1029
+ privacy: boolean;
1030
+ };
1031
+ showContent: boolean;
1032
+ showLoader: boolean;
1033
+ isShowDelete: boolean;
1034
+ path: string;
1035
+ isCopy: boolean;
1036
+ rolesApiCall: Subscription;
1037
+ roles: any;
1038
+ canvasRef: ElementRef;
1039
+ signaturePad: SignaturePad;
1040
+ signaturePadData: {
1041
+ publicUrl: null;
1042
+ };
1043
+ points: never[];
1044
+ showlogout: boolean;
1045
+ pointsChange: EventEmitter<string>;
1046
+ cleared: EventEmitter<any>;
1047
+ companyForm: FormGroup;
1048
+ userForm: FormGroup;
1049
+ fileData: any;
1050
+ fileDataUser: File | null;
1051
+ fileDataLogo: File | null;
1052
+ zipcodeMask: RegExp[];
1053
+ options: {
1054
+ componentRestrictions: {
1055
+ country: string[];
1056
+ };
1057
+ };
1058
+ appType: any;
1059
+ users: LookupItem;
1060
+ providerError: any;
1061
+ userError: any;
1062
+ uploadError: string | null;
1063
+ providerRoleId: any;
1064
+ termsAndConditionTitle: string;
1065
+ showTermsAndConditions: boolean;
1066
+ termsAndConditions: string[];
1067
+ isTermsAccept: boolean;
1068
+ isPrivacyAccept: boolean;
1069
+ skipRole: boolean;
1070
+ modelRef: BsModalRef;
1071
+ userRoles: any;
1072
+ cloudfront: any;
1073
+ private destroy$;
1074
+ currentUserRoles: any;
1075
+ userViewRoles: ({
1076
+ name: string;
1077
+ value: string;
1078
+ img: string;
1079
+ selected: boolean;
1080
+ code: null;
1081
+ id: string;
1082
+ roleId: string;
1083
+ } | {
1084
+ name: string;
1085
+ value: string;
1086
+ img: string;
1087
+ selected: boolean;
1088
+ code: ProviderType;
1089
+ id: string;
1090
+ roleId: string;
1091
+ })[];
1092
+ onCredentialingBack(): void;
1093
+ selectedUserRole(role: any): void;
1094
+ privacyAndTerms: PrivacyAndTerms;
1095
+ setPrivacyAndTerms(appType: string): void;
1096
+ private getDefaultPrivacy;
1097
+ setRoleContext(roleId: any, name: any): void;
1098
+ selectedContractorCategories: string[];
1099
+ selectedContractorSubCategories: {
1100
+ name: string;
1101
+ id: string;
1102
+ selected: boolean;
1103
+ selectAll: boolean;
1104
+ items: ContractorSubCategoryReadModel[];
1105
+ }[];
1106
+ contractorSubCategories: {
1107
+ name: any;
1108
+ id: any;
1109
+ selected: boolean;
1110
+ selectAll: boolean;
1111
+ items: ContractorSubCategoryReadModel[];
1112
+ }[];
1113
+ contractorCategories: ContractorSubCategoryReadModel[];
1114
+ isLoadingSubCategories: boolean;
1115
+ appBrandingMap: Record<string, AppBranding>;
1116
+ constructor(router: Router, userDetailService: UserDetailService, formBuilder: FormBuilder, fileService: FileService, providerService: ProvidersService, roleService: RolesService, modalService: BsModalService, contractorSubCategoryService: ProviderContractorSubCategoryService, providerContractorSubCategoryService: ProviderContractorSubCategoryService, authService: AuthService, tokenService: TokenService, roleContextService: RoleContextService, authLogoutService: AuthLogoutService, credStore: CredentialingStore, libConfig: LibraryConfig);
1117
+ selectedContract: any;
1118
+ changeContractor(event?: any[]): void;
1119
+ selectAll(event: any, items: any[]): void;
1120
+ unCheckedEvent(event: any, items: any): void;
1121
+ findCategory(contractorCategories: any): boolean;
1122
+ getUserRoles(): void;
1123
+ ngOnInit(): Promise<void>;
1124
+ getUser(): Promise<void>;
1125
+ get f(): {
1126
+ [key: string]: _angular_forms.AbstractControl<any, any, any>;
1127
+ };
1128
+ get u(): {
1129
+ [key: string]: _angular_forms.AbstractControl<any, any, any>;
1130
+ };
1131
+ ngAfterViewInit(): void;
1132
+ clearPad(): void;
1133
+ private applyPoints;
1134
+ private emitPoints;
1135
+ uploadSignImage(event: any): void;
1136
+ uploadUserImage(event: any): void;
1137
+ uploadLogo(event: any): void;
1138
+ AddressChange(address: any): void;
1139
+ AddressChangeUser(address: any): void;
1140
+ previous(): void;
1141
+ next(page?: number): void;
1142
+ handleSignatureAndMoveToNext(): Promise<void>;
1143
+ saveSignatureAndIncrement(): Promise<boolean>;
1144
+ private dataURLtoFile;
1145
+ uploadFileBrowseHandler(): Promise<void>;
1146
+ saveAWSLogo(): Promise<boolean>;
1147
+ formatPhone(event: any, form: FormGroup): void;
1148
+ saveAWSHeadShot(): Promise<void>;
1149
+ saveAWSSignature(): Promise<void>;
1150
+ saveSignature(): void;
1151
+ private saveInitial;
1152
+ bindProviderDetails(): {
1153
+ userName: string;
1154
+ providerType: ProviderType;
1155
+ providerName: any;
1156
+ address1: any;
1157
+ address2: any;
1158
+ city: any;
1159
+ state: any;
1160
+ zipcode: any;
1161
+ county: any;
1162
+ subDivision: any;
1163
+ country: any;
1164
+ latitude: any;
1165
+ longitude: any;
1166
+ phoneNumber: any;
1167
+ userAddress1: any;
1168
+ userAddress2: any;
1169
+ userCity: any;
1170
+ userState: any;
1171
+ userZipcode: any;
1172
+ userCounty: any;
1173
+ userCountry: any;
1174
+ headshotUrl: any;
1175
+ userMobile: any;
1176
+ userEmailId: any;
1177
+ logoId: any;
1178
+ logoFileName: any;
1179
+ logoUrl: any;
1180
+ };
1181
+ isProviderCall: boolean;
1182
+ isResponse: boolean;
1183
+ saveBusiness(): void;
1184
+ getRoles(): void;
1185
+ formatDateTime(date: Date): {
1186
+ mmddyyyy: string;
1187
+ mmddyyyyhhmmtt: string;
1188
+ hhmmtt: string;
1189
+ };
1190
+ bindUserDetails(): UserDetailModel;
1191
+ saveFinal(): void;
1192
+ dashboard(): void;
1193
+ changeAddressUser(): void;
1194
+ scrollProgress: number;
1195
+ private autoScrollRaf;
1196
+ private autoScrollDelay;
1197
+ onTermsScroll(event: Event): void;
1198
+ openModal(template: TemplateRef<any>, title: string, event: any): void;
1199
+ startAutoScroll(): void;
1200
+ stopAutoScroll(): void;
1201
+ scrollToBottomClick(event: Event): void;
1202
+ agree(title: string): void;
1203
+ decline(title: string): void;
1204
+ logout(): Promise<void>;
1205
+ getContractorSubCategories(): void;
1206
+ saveContractorSubCategory(id: any): void;
1207
+ private get STORAGE_KEY();
1208
+ private saveState;
1209
+ private restoreState;
1210
+ private clearState;
1211
+ ngOnDestroy(): void;
1212
+ static ɵfac: i0.ɵɵFactoryDeclaration<InitialProcessComponent, never>;
1213
+ static ɵcmp: i0.ɵɵComponentDeclaration<InitialProcessComponent, "app-initial-process", never, {}, {}, never, never, false, never>;
1214
+ }
1215
+
1216
+ interface ProcessedSection$1 {
1217
+ id: string;
1218
+ versionName: string;
1219
+ content: SafeHtml;
1220
+ orderby: number;
1221
+ createdDate: string;
1222
+ createdBy: string;
1223
+ type: number;
1176
1224
  }
1177
- interface License {
1225
+ declare class TermsConditionsComponent implements OnInit, OnDestroy {
1226
+ private sanitizer;
1227
+ private userDetailsService;
1178
1228
  title: string;
1179
- number: string;
1180
- institution: string;
1181
- issueDate: string;
1182
- expiryDate: string;
1183
- city: string;
1184
- state: string;
1185
- description: string;
1229
+ branding: {
1230
+ logo: string;
1231
+ displayName: string;
1232
+ };
1233
+ PrivacyAndTerms: PrivacyAndTerms;
1234
+ parsedSections: ProcessedSection$1[];
1235
+ isLoading: boolean;
1236
+ private destroy$;
1237
+ constructor(sanitizer: DomSanitizer, userDetailsService: UserDetailService);
1238
+ ngOnInit(): void;
1239
+ ngOnDestroy(): void;
1240
+ private getTermsAndConditions;
1241
+ private buildSections;
1242
+ private interpolate;
1243
+ isFilteredBrand(): boolean;
1244
+ static ɵfac: i0.ɵɵFactoryDeclaration<TermsConditionsComponent, never>;
1245
+ static ɵcmp: i0.ɵɵComponentDeclaration<TermsConditionsComponent, "app-terms-conditions", never, { "title": { "alias": "title"; "required": false; }; "branding": { "alias": "branding"; "required": false; }; "PrivacyAndTerms": { "alias": "PrivacyAndTerms"; "required": false; }; }, {}, never, never, false, never>;
1186
1246
  }
1187
- interface Tool {
1188
- name: string;
1189
- selected: boolean;
1190
- model?: string;
1191
- serialNumber?: string;
1192
- yearsExperience?: number;
1193
- profileVisible?: boolean;
1194
- manufacturer?: string;
1195
- rating?: number;
1247
+
1248
+ interface ProcessedSection {
1249
+ id: string;
1250
+ versionName: string;
1251
+ content: SafeHtml;
1252
+ orderby: number;
1253
+ createdDate: string;
1254
+ createdBy: string;
1255
+ type: number;
1196
1256
  }
1197
- declare class CredentialingStore {
1198
- private readonly STORAGE_KEY;
1199
- completedSteps: i0.WritableSignal<number[]>;
1200
- constructor();
1201
- private saveToStorage;
1202
- private loadFromStorage;
1203
- clearStorage(): void;
1204
- toolsList: i0.WritableSignal<Tool[]>;
1205
- uploadOption: i0.WritableSignal<"manual" | "upload" | null>;
1206
- certifications: i0.WritableSignal<Certification$2[]>;
1207
- licenses: i0.WritableSignal<License[]>;
1208
- stepView: i0.WritableSignal<"add" | "preview">;
1209
- goToPreview(): void;
1210
- goToAdd(): void;
1211
- userSkills: i0.WritableSignal<UserSkillSetModel[]>;
1212
- setUserSkills(skills: UserSkillSetModel[]): void;
1213
- updateUserSkill(updated: UserSkillSetModel): void;
1214
- addUserSkills(skills: UserSkillSetModel | UserSkillSetModel[]): void;
1215
- toggleSkill(skillSetId: string): void;
1216
- toolStepView: i0.WritableSignal<"add" | "preview">;
1217
- goToToolPreview(): void;
1218
- goToToolAdd(): void;
1219
- userTools: i0.WritableSignal<UserToolModel[]>;
1220
- setUserTools(tools: UserToolModel[]): void;
1221
- updateUserTool(updated: UserToolModel): void;
1222
- addUserTools(tools: UserToolModel | UserToolModel[]): void;
1223
- toggleTool(toolId: string): void;
1224
- currentStep: i0.WritableSignal<number>;
1225
- role: i0.WritableSignal<string | null>;
1226
- education: i0.WritableSignal<any>;
1227
- initialSelection: i0.WritableSignal<string | null>;
1228
- selectedTools: i0.WritableSignal<Tool[]>;
1229
- selectedRoles: i0.WritableSignal<string[]>;
1230
- selectedJobs: i0.WritableSignal<string[]>;
1231
- city: i0.WritableSignal<string>;
1232
- state: i0.WritableSignal<string>;
1233
- showMap: i0.WritableSignal<boolean>;
1234
- currentCoverage: i0.WritableSignal<boolean>;
1235
- notApplicable: i0.WritableSignal<boolean>;
1236
- selectedStates: i0.WritableSignal<string[]>;
1237
- isUploadSuccess: i0.WritableSignal<string | null>;
1238
- uploadedResumeFile: i0.WritableSignal<{
1239
- name: string;
1240
- size: number;
1241
- lastModified: number;
1242
- } | null>;
1243
- setUploadedResumeFile(file: File): void;
1244
- profileSignal: i0.WritableSignal<ResumeProfile | null>;
1245
- resumeSkillMeta: i0.WritableSignal<Record<number, ResumeSkillMeta>>;
1246
- resumeToolMeta: i0.WritableSignal<Record<number, ResumeToolMeta>>;
1247
- profile: ResumeProfile | null;
1248
- selectInitial(value: string): void;
1249
- setUploadOption(option: 'upload' | 'manual'): void;
1250
- addRole(role: string): void;
1251
- setResumeSkillMeta(index: number, meta: ResumeSkillMeta): void;
1252
- setResumeToolMeta(index: number, meta: ResumeToolMeta): void;
1253
- removeRole(role: string): void;
1254
- setRole(role: string): void;
1255
- setEducation(data: any): void;
1256
- setCoverage(data: {
1257
- city: string;
1258
- state: string;
1259
- selectedStates: string[];
1260
- currentCoverage: boolean;
1261
- notApplicable: boolean;
1262
- showMap: boolean;
1263
- }): void;
1264
- setSelectedJobs(jobs: string[]): void;
1265
- addCertification(cert: Certification$2): void;
1266
- removeCertification(index: number): void;
1267
- addLicense(license: License): void;
1268
- removeLicense(index: number): void;
1269
- nextStep(): void;
1270
- previousStep(): void;
1271
- updateToolDetails(toolName: string, data: Partial<Tool>): void;
1272
- addSuccess(value: any): void;
1273
- setProfile(data: ResumeProfile): void;
1274
- static ɵfac: i0.ɵɵFactoryDeclaration<CredentialingStore, never>;
1275
- static ɵprov: i0.ɵɵInjectableDeclaration<CredentialingStore>;
1257
+ declare class PrivacyPolicyComponent implements OnInit, OnDestroy {
1258
+ private sanitizer;
1259
+ private userDetailsService;
1260
+ title: string;
1261
+ branding: {
1262
+ logo: string;
1263
+ displayName: string;
1264
+ };
1265
+ PrivacyAndTerms: PrivacyAndTerms;
1266
+ parsedSections: ProcessedSection[];
1267
+ isLoading: boolean;
1268
+ private destroy$;
1269
+ constructor(sanitizer: DomSanitizer, userDetailsService: UserDetailService);
1270
+ ngOnInit(): void;
1271
+ ngOnDestroy(): void;
1272
+ private getPrivacyPolicy;
1273
+ private buildSections;
1274
+ private interpolate;
1275
+ isFilteredBrand(): boolean;
1276
+ static ɵfac: i0.ɵɵFactoryDeclaration<PrivacyPolicyComponent, never>;
1277
+ static ɵcmp: i0.ɵɵComponentDeclaration<PrivacyPolicyComponent, "app-privacy-policy", never, { "title": { "alias": "title"; "required": false; }; "branding": { "alias": "branding"; "required": false; }; "PrivacyAndTerms": { "alias": "PrivacyAndTerms"; "required": false; }; }, {}, never, never, false, never>;
1276
1278
  }
1277
1279
 
1278
1280
  interface StateModel {
@@ -1448,7 +1450,7 @@ declare class UserDocumentService {
1448
1450
  }>;
1449
1451
  bulkDelete(ids: string[]): Observable<Result>;
1450
1452
  private buildParams;
1451
- getDocumentTypes(maintype: any, providerId: string, searchText?: string): Observable<any>;
1453
+ getDocumentTypes(maintype: any, providerId: string, searchText?: string, professionId?: string | null): Observable<any>;
1452
1454
  static ɵfac: i0.ɵɵFactoryDeclaration<UserDocumentService, never>;
1453
1455
  static ɵprov: i0.ɵɵInjectableDeclaration<UserDocumentService>;
1454
1456
  }
@@ -1655,6 +1657,15 @@ declare class EducationComponent implements OnInit {
1655
1657
  static ɵcmp: i0.ɵɵComponentDeclaration<EducationComponent, "app-education", never, { "providerId": { "alias": "providerId"; "required": false; }; "providerName": { "alias": "providerName"; "required": false; }; "cloudfrontUrl": { "alias": "cloudfrontUrl"; "required": false; }; }, {}, never, never, false, never>;
1656
1658
  }
1657
1659
 
1660
+ declare class ProfessionService {
1661
+ private http;
1662
+ private readonly baseUrl;
1663
+ getProfessions(query?: any): Observable<any>;
1664
+ private buildParams;
1665
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProfessionService, never>;
1666
+ static ɵprov: i0.ɵɵInjectableDeclaration<ProfessionService>;
1667
+ }
1668
+
1658
1669
  declare class CertificationComponent {
1659
1670
  roleContextService: RoleContextService;
1660
1671
  userDocumentService: UserDocumentService;
@@ -1666,6 +1677,7 @@ declare class CertificationComponent {
1666
1677
  private fb;
1667
1678
  private fileService;
1668
1679
  private http;
1680
+ private professionService;
1669
1681
  originalFormValue: any;
1670
1682
  states: any[];
1671
1683
  isAdding: i0.WritableSignal<boolean>;
@@ -1706,8 +1718,13 @@ declare class CertificationComponent {
1706
1718
  showpreview: i0.Signal<boolean>;
1707
1719
  userdata: any;
1708
1720
  maxDate: Date;
1709
- constructor(roleContextService: RoleContextService, userDocumentService: UserDocumentService, userService: UserService, store: CredentialingStore, workStore: CertificationStore, tokenService: TokenService, postalCodeService: PostalCodeServices, fb: FormBuilder, fileService: FileService, http: HttpClient);
1721
+ professions: any[];
1722
+ selectedProfessionId: string | null;
1723
+ selectedProfessionValue: string;
1724
+ constructor(roleContextService: RoleContextService, userDocumentService: UserDocumentService, userService: UserService, store: CredentialingStore, workStore: CertificationStore, tokenService: TokenService, postalCodeService: PostalCodeServices, fb: FormBuilder, fileService: FileService, http: HttpClient, professionService: ProfessionService);
1710
1725
  ngOnInit(): Promise<void>;
1726
+ loadProfessions(): void;
1727
+ onProfessionChange(profession: any): void;
1711
1728
  loadDocumentTypes(searchText?: string): void;
1712
1729
  loadDocumentTypesDefault(searchText?: string): void;
1713
1730
  isChecked(id: string): boolean;
@@ -1831,6 +1848,7 @@ declare class SkillsComponent {
1831
1848
  private roleContextService;
1832
1849
  store: CredentialingStore;
1833
1850
  private tokenService;
1851
+ private professionService;
1834
1852
  private userSkillsSub?;
1835
1853
  providerId: string;
1836
1854
  providerName: string;
@@ -1871,8 +1889,11 @@ declare class SkillsComponent {
1871
1889
  emailId: any;
1872
1890
  userId: any;
1873
1891
  showAllSkills: boolean;
1892
+ professions: any[];
1893
+ selectedProfessionId: string | null;
1894
+ selectedProfessionValue: string;
1874
1895
  skillDetailList?: ElementRef;
1875
- constructor(skillSetService: SkillSetService, userSkillSetService: UserSkillSetService, userService: UserService, formBuilder: UntypedFormBuilder, utils: UtilsService, roleContextService: RoleContextService, store: CredentialingStore, tokenService: TokenService);
1896
+ constructor(skillSetService: SkillSetService, userSkillSetService: UserSkillSetService, userService: UserService, formBuilder: UntypedFormBuilder, utils: UtilsService, roleContextService: RoleContextService, store: CredentialingStore, tokenService: TokenService, professionService: ProfessionService);
1876
1897
  private ctxProviderName;
1877
1898
  private ctxProviderId;
1878
1899
  private markTabPristine;
@@ -1899,6 +1920,8 @@ declare class SkillsComponent {
1899
1920
  private scrollToDetailList;
1900
1921
  onSelectedSkillsets(event: Event, skill: SkillSetModel): void;
1901
1922
  createNewSkills(): void;
1923
+ loadProfessions(): void;
1924
+ onProfessionChange(profession: any): void;
1902
1925
  getSkillSets(): void;
1903
1926
  setDefault(): void;
1904
1927
  onContinue(): void;
@@ -2054,6 +2077,7 @@ declare class ToolsComponent {
2054
2077
  private tokenService;
2055
2078
  private roleContextService;
2056
2079
  private userDetailService;
2080
+ private professionService;
2057
2081
  private libConfig;
2058
2082
  roleData: any;
2059
2083
  providerId: any;
@@ -2095,12 +2119,15 @@ declare class ToolsComponent {
2095
2119
  userToolsPreview: any[];
2096
2120
  showDashboardModal: boolean;
2097
2121
  showAllTools: boolean;
2122
+ professions: any[];
2123
+ selectedProfessionId: string | null;
2124
+ selectedProfessionValue: string;
2098
2125
  toolDetailList?: ElementRef;
2099
2126
  userDetails: any;
2100
2127
  userdata: any;
2101
2128
  signatureUrl: any;
2102
2129
  signatureFileId: any;
2103
- constructor(toolService: ToolService, userToolService: UserToolService, formBuilder: UntypedFormBuilder, userService: UserService, utils: UtilsService, store: CredentialingStore, tokenService: TokenService, roleContextService: RoleContextService, userDetailService: UserDetailService, libConfig: LibraryConfig);
2130
+ constructor(toolService: ToolService, userToolService: UserToolService, formBuilder: UntypedFormBuilder, userService: UserService, utils: UtilsService, store: CredentialingStore, tokenService: TokenService, roleContextService: RoleContextService, userDetailService: UserDetailService, professionService: ProfessionService, libConfig: LibraryConfig);
2104
2131
  ngOnInit(): Promise<void>;
2105
2132
  private ctxProviderName;
2106
2133
  private ctxProviderId;
@@ -2136,6 +2163,8 @@ declare class ToolsComponent {
2136
2163
  createNewTools(): void;
2137
2164
  cancel(): void;
2138
2165
  goToAddSkillsMode(): void;
2166
+ loadProfessions(): void;
2167
+ onProfessionChange(profession: any): void;
2139
2168
  getTools(): void;
2140
2169
  onToolContinue(): void;
2141
2170
  saveUserTools(): void;
@@ -3470,6 +3499,7 @@ declare class PreviewComponent {
3470
3499
  cancelDashboardRedirect(): void;
3471
3500
  tempProfile: BasicDetails;
3472
3501
  isEditMode: i0.WritableSignal<boolean>;
3502
+ get isBasicFormValid(): boolean;
3473
3503
  toggleEdit(): void;
3474
3504
  cancel(): void;
3475
3505
  save(): Promise<void>;