@idsoftsource/initial-process 2.3.4 → 2.3.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
@@ -675,312 +675,6 @@ interface LibraryConfig {
675
675
  }
676
676
  declare const LIBRARY_CONFIG: InjectionToken<LibraryConfig>;
677
677
 
678
- interface AppBranding {
679
- logo: string;
680
- displayName: string;
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
- appBrandingMap: Record<string, AppBranding>;
819
- 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);
820
- selectedContract: any;
821
- changeContractor(event?: any[]): void;
822
- selectAll(event: any, items: any[]): void;
823
- unCheckedEvent(event: any, items: any): void;
824
- findCategory(contractorCategories: any): boolean;
825
- getUserRoles(): void;
826
- ngOnInit(): Promise<void>;
827
- getUser(): Promise<void>;
828
- get f(): {
829
- [key: string]: _angular_forms.AbstractControl<any, any, any>;
830
- };
831
- get u(): {
832
- [key: string]: _angular_forms.AbstractControl<any, any, any>;
833
- };
834
- ngAfterViewInit(): void;
835
- clearPad(): void;
836
- private applyPoints;
837
- private emitPoints;
838
- uploadSignImage(event: any): void;
839
- uploadUserImage(event: any): void;
840
- uploadLogo(event: any): void;
841
- AddressChange(address: any): void;
842
- AddressChangeUser(address: any): void;
843
- previous(): void;
844
- next(page?: number): void;
845
- handleSignatureAndMoveToNext(): Promise<void>;
846
- saveSignatureAndIncrement(): Promise<boolean>;
847
- private dataURLtoFile;
848
- uploadFileBrowseHandler(): Promise<void>;
849
- saveAWSLogo(): Promise<boolean>;
850
- formatPhone(event: any, form: FormGroup): void;
851
- saveAWSHeadShot(): Promise<void>;
852
- saveAWSSignature(): Promise<void>;
853
- saveSignature(): void;
854
- private saveInitial;
855
- bindProviderDetails(): {
856
- userName: string;
857
- providerType: ProviderType;
858
- providerName: any;
859
- address1: any;
860
- address2: any;
861
- city: any;
862
- state: any;
863
- zipcode: any;
864
- county: any;
865
- subDivision: any;
866
- country: any;
867
- latitude: any;
868
- longitude: any;
869
- phoneNumber: any;
870
- userAddress1: any;
871
- userAddress2: any;
872
- userCity: any;
873
- userState: any;
874
- userZipcode: any;
875
- userCounty: any;
876
- userCountry: any;
877
- headshotUrl: any;
878
- userMobile: any;
879
- userEmailId: any;
880
- logoId: any;
881
- logoFileName: any;
882
- logoUrl: any;
883
- };
884
- isProviderCall: boolean;
885
- isResponse: boolean;
886
- saveBusiness(): void;
887
- getRoles(): void;
888
- formatDateTime(date: Date): {
889
- mmddyyyy: string;
890
- mmddyyyyhhmmtt: string;
891
- hhmmtt: string;
892
- };
893
- bindUserDetails(): UserDetailModel;
894
- saveFinal(): void;
895
- dashboard(): void;
896
- changeAddressUser(): void;
897
- scrollProgress: number;
898
- private autoScrollRaf;
899
- private autoScrollDelay;
900
- onTermsScroll(event: Event): void;
901
- openModal(template: TemplateRef<any>, title: string, event: any): void;
902
- startAutoScroll(): void;
903
- stopAutoScroll(): void;
904
- scrollToBottomClick(event: Event): void;
905
- agree(title: string): void;
906
- decline(title: string): void;
907
- logout(): Promise<void>;
908
- getContractorSubCategories(): void;
909
- saveContractorSubCategory(id: any): void;
910
- private get STORAGE_KEY();
911
- private preRestoreView;
912
- private saveState;
913
- private restoreState;
914
- private clearState;
915
- ngOnDestroy(): void;
916
- static ɵfac: i0.ɵɵFactoryDeclaration<InitialProcessComponent, never>;
917
- static ɵcmp: i0.ɵɵComponentDeclaration<InitialProcessComponent, "app-initial-process", never, {}, {}, never, never, false, never>;
918
- }
919
-
920
- interface ProcessedSection$1 {
921
- id: string;
922
- versionName: string;
923
- content: SafeHtml;
924
- orderby: number;
925
- createdDate: string;
926
- createdBy: string;
927
- type: number;
928
- }
929
- declare class TermsConditionsComponent implements OnInit, OnDestroy {
930
- private sanitizer;
931
- private userDetailsService;
932
- title: string;
933
- branding: {
934
- logo: string;
935
- displayName: string;
936
- };
937
- PrivacyAndTerms: PrivacyAndTerms;
938
- parsedSections: ProcessedSection$1[];
939
- isLoading: boolean;
940
- private destroy$;
941
- constructor(sanitizer: DomSanitizer, userDetailsService: UserDetailService);
942
- ngOnInit(): void;
943
- ngOnDestroy(): void;
944
- private getTermsAndConditions;
945
- private buildSections;
946
- private interpolate;
947
- isFilteredBrand(): boolean;
948
- static ɵfac: i0.ɵɵFactoryDeclaration<TermsConditionsComponent, never>;
949
- 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>;
950
- }
951
-
952
- interface ProcessedSection {
953
- id: string;
954
- versionName: string;
955
- content: SafeHtml;
956
- orderby: number;
957
- createdDate: string;
958
- createdBy: string;
959
- type: number;
960
- }
961
- declare class PrivacyPolicyComponent implements OnInit, OnDestroy {
962
- private sanitizer;
963
- private userDetailsService;
964
- title: string;
965
- branding: {
966
- logo: string;
967
- displayName: string;
968
- };
969
- PrivacyAndTerms: PrivacyAndTerms;
970
- parsedSections: ProcessedSection[];
971
- isLoading: boolean;
972
- private destroy$;
973
- constructor(sanitizer: DomSanitizer, userDetailsService: UserDetailService);
974
- ngOnInit(): void;
975
- ngOnDestroy(): void;
976
- private getPrivacyPolicy;
977
- private buildSections;
978
- private interpolate;
979
- isFilteredBrand(): boolean;
980
- static ɵfac: i0.ɵɵFactoryDeclaration<PrivacyPolicyComponent, never>;
981
- 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>;
982
- }
983
-
984
678
  declare enum ForUser {
985
679
  ForProvider = 1,
986
680
  ForProducer = 2
@@ -1050,228 +744,537 @@ interface UserToolModel extends MasterModel {
1050
744
  isOpen?: boolean;
1051
745
  }
1052
746
 
1053
- /**
1054
- * Represents the complete resume profile for a candidate.
1055
- */
1056
- interface CompanyDetails {
1057
- companyName: string;
1058
- companyPhoneNumber: string;
1059
- address1: string;
1060
- city: string;
1061
- state: string;
1062
- zipcode: string;
1063
- country: string;
1064
- logoId?: string;
1065
- logoUrl?: string;
1066
- logoFileName?: string;
1067
- }
1068
- interface ResumeProfile {
1069
- id: string;
1070
- roleData?: any;
1071
- targetProviderId?: string;
1072
- targetProviderName?: string;
1073
- cloudfrontUrl?: string;
1074
- targetUserId?: string;
1075
- basicDetails: BasicDetails;
1076
- companyDetails?: CompanyDetails;
1077
- workExperience: WorkExperience$1[];
1078
- education: Education$1[];
1079
- certifications: Certification$3[];
1080
- licenses: License$1[];
1081
- skills: string[];
1082
- tools: string[];
1083
- }
1084
- /**
1085
- * Personal and contact information including a professional summary.
1086
- */
1087
- interface BasicDetails {
1088
- firstName: string;
1089
- lastName: string;
1090
- email: string;
1091
- phone: string;
1092
- address: string;
1093
- city: string;
1094
- state: string;
1095
- zipCode: string;
1096
- country: string;
1097
- jobTitle: string;
1098
- yearsOfExperience: number;
1099
- summary: string;
1100
- }
1101
- /**
1102
- * Details regarding professional work history.
1103
- */
1104
- interface WorkExperience$1 {
1105
- company: string;
1106
- jobTitle: string;
1107
- country: string;
1108
- state: string;
1109
- city: string;
1110
- startDate: string;
1111
- endDate: string | null;
1112
- isCurrent: boolean;
1113
- responsibilities: string[];
1114
- }
1115
- /**
1116
- * Educational background, including degrees, certificates, and specific courses.
1117
- */
1118
- interface Education$1 {
1119
- degree: string;
1120
- degreeType: 'Associate' | 'Certificate' | 'Course' | 'Bachelors' | 'Masters' | string;
1121
- institution: string;
1122
- country: string;
1123
- state: string | null;
1124
- city: string | null;
1125
- startDate: string;
1126
- endDate: string;
1127
- achievements: string[];
1128
- }
1129
- /**
1130
- * Professional certifications and credentials.
1131
- */
1132
- interface Certification$3 {
1133
- name: string;
1134
- issuingOrganization: string | null;
1135
- state: string | null;
1136
- issueDate: string | null;
1137
- expiryDate: string | null;
1138
- credentialId: string | null;
747
+ /**
748
+ * Represents the complete resume profile for a candidate.
749
+ */
750
+ interface CompanyDetails {
751
+ companyName: string;
752
+ companyPhoneNumber: string;
753
+ address1: string;
754
+ city: string;
755
+ state: string;
756
+ zipcode: string;
757
+ country: string;
758
+ logoId?: string;
759
+ logoUrl?: string;
760
+ logoFileName?: string;
761
+ }
762
+ interface ResumeProfile {
763
+ id: string;
764
+ roleData?: any;
765
+ targetProviderId?: string;
766
+ targetProviderName?: string;
767
+ cloudfrontUrl?: string;
768
+ targetUserId?: string;
769
+ basicDetails: BasicDetails;
770
+ companyDetails?: CompanyDetails;
771
+ workExperience: WorkExperience$1[];
772
+ education: Education$1[];
773
+ certifications: Certification$3[];
774
+ licenses: License$1[];
775
+ skills: string[];
776
+ tools: string[];
777
+ }
778
+ /**
779
+ * Personal and contact information including a professional summary.
780
+ */
781
+ interface BasicDetails {
782
+ firstName: string;
783
+ lastName: string;
784
+ email: string;
785
+ phone: string;
786
+ address: string;
787
+ city: string;
788
+ state: string;
789
+ zipCode: string;
790
+ country: string;
791
+ jobTitle: string;
792
+ yearsOfExperience: number;
793
+ summary: string;
794
+ }
795
+ /**
796
+ * Details regarding professional work history.
797
+ */
798
+ interface WorkExperience$1 {
799
+ company: string;
800
+ jobTitle: string;
801
+ country: string;
802
+ state: string;
803
+ city: string;
804
+ startDate: string;
805
+ endDate: string | null;
806
+ isCurrent: boolean;
807
+ responsibilities: string[];
808
+ }
809
+ /**
810
+ * Educational background, including degrees, certificates, and specific courses.
811
+ */
812
+ interface Education$1 {
813
+ degree: string;
814
+ degreeType: 'Associate' | 'Certificate' | 'Course' | 'Bachelors' | 'Masters' | string;
815
+ institution: string;
816
+ country: string;
817
+ state: string | null;
818
+ city: string | null;
819
+ startDate: string;
820
+ endDate: string;
821
+ achievements: string[];
822
+ }
823
+ /**
824
+ * Professional certifications and credentials.
825
+ */
826
+ interface Certification$3 {
827
+ name: string;
828
+ issuingOrganization: string | null;
829
+ state: string | null;
830
+ issueDate: string | null;
831
+ expiryDate: string | null;
832
+ credentialId: string | null;
833
+ }
834
+ /**
835
+ * Legal licenses, such as driver's or professional operating licenses.
836
+ */
837
+ interface License$1 {
838
+ name: string;
839
+ issuingAuthority: string | null;
840
+ licenseNumber: string | null;
841
+ state: string | null;
842
+ issueDate: string | null;
843
+ expiryDate: string | null;
844
+ }
845
+
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<"upload" | "manual" | 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;
1139
975
  }
1140
- /**
1141
- * Legal licenses, such as driver's or professional operating licenses.
1142
- */
1143
- interface License$1 {
1144
- name: string;
1145
- issuingAuthority: string | null;
1146
- licenseNumber: string | null;
1147
- state: string | null;
1148
- issueDate: string | null;
1149
- expiryDate: string | null;
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>;
1150
1214
  }
1151
1215
 
1152
- interface ResumeSkillMeta {
1153
- providerName?: string;
1154
- starRating?: number;
1155
- year?: number | null;
1156
- profileVisibility?: boolean;
1157
- notes?: string;
1158
- }
1159
- interface ResumeToolMeta {
1160
- providerName?: string;
1161
- starRating?: number;
1162
- year?: number | null;
1163
- profileVisibility?: boolean;
1164
- notes?: string;
1165
- }
1166
- interface Certification$2 {
1167
- name: string;
1168
- type: string;
1169
- issuedBy: string;
1170
- issueDate: string;
1171
- expiryDate: string;
1172
- city: string;
1173
- state: string;
1174
- description: string;
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;
1175
1224
  }
1176
- interface License {
1225
+ declare class TermsConditionsComponent implements OnInit, OnDestroy {
1226
+ private sanitizer;
1227
+ private userDetailsService;
1177
1228
  title: string;
1178
- number: string;
1179
- institution: string;
1180
- issueDate: string;
1181
- expiryDate: string;
1182
- city: string;
1183
- state: string;
1184
- 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>;
1185
1246
  }
1186
- interface Tool {
1187
- name: string;
1188
- selected: boolean;
1189
- model?: string;
1190
- serialNumber?: string;
1191
- yearsExperience?: number;
1192
- profileVisible?: boolean;
1193
- manufacturer?: string;
1194
- 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;
1195
1256
  }
1196
- declare class CredentialingStore {
1197
- private readonly STORAGE_KEY;
1198
- completedSteps: i0.WritableSignal<number[]>;
1199
- constructor();
1200
- private saveToStorage;
1201
- private loadFromStorage;
1202
- clearStorage(): void;
1203
- toolsList: i0.WritableSignal<Tool[]>;
1204
- uploadOption: i0.WritableSignal<"upload" | "manual" | null>;
1205
- certifications: i0.WritableSignal<Certification$2[]>;
1206
- licenses: i0.WritableSignal<License[]>;
1207
- stepView: i0.WritableSignal<"add" | "preview">;
1208
- goToPreview(): void;
1209
- goToAdd(): void;
1210
- userSkills: i0.WritableSignal<UserSkillSetModel[]>;
1211
- setUserSkills(skills: UserSkillSetModel[]): void;
1212
- updateUserSkill(updated: UserSkillSetModel): void;
1213
- addUserSkills(skills: UserSkillSetModel | UserSkillSetModel[]): void;
1214
- toggleSkill(skillSetId: string): void;
1215
- toolStepView: i0.WritableSignal<"add" | "preview">;
1216
- goToToolPreview(): void;
1217
- goToToolAdd(): void;
1218
- userTools: i0.WritableSignal<UserToolModel[]>;
1219
- setUserTools(tools: UserToolModel[]): void;
1220
- updateUserTool(updated: UserToolModel): void;
1221
- addUserTools(tools: UserToolModel | UserToolModel[]): void;
1222
- toggleTool(toolId: string): void;
1223
- currentStep: i0.WritableSignal<number>;
1224
- role: i0.WritableSignal<string | null>;
1225
- education: i0.WritableSignal<any>;
1226
- initialSelection: i0.WritableSignal<string | null>;
1227
- selectedTools: i0.WritableSignal<Tool[]>;
1228
- selectedRoles: i0.WritableSignal<string[]>;
1229
- selectedJobs: i0.WritableSignal<string[]>;
1230
- city: i0.WritableSignal<string>;
1231
- state: i0.WritableSignal<string>;
1232
- showMap: i0.WritableSignal<boolean>;
1233
- currentCoverage: i0.WritableSignal<boolean>;
1234
- notApplicable: i0.WritableSignal<boolean>;
1235
- selectedStates: i0.WritableSignal<string[]>;
1236
- isUploadSuccess: i0.WritableSignal<string | null>;
1237
- uploadedResumeFile: i0.WritableSignal<{
1238
- name: string;
1239
- size: number;
1240
- lastModified: number;
1241
- } | null>;
1242
- setUploadedResumeFile(file: File): void;
1243
- profileSignal: i0.WritableSignal<ResumeProfile | null>;
1244
- resumeSkillMeta: i0.WritableSignal<Record<number, ResumeSkillMeta>>;
1245
- resumeToolMeta: i0.WritableSignal<Record<number, ResumeToolMeta>>;
1246
- profile: ResumeProfile | null;
1247
- selectInitial(value: string): void;
1248
- setUploadOption(option: 'upload' | 'manual'): void;
1249
- addRole(role: string): void;
1250
- setResumeSkillMeta(index: number, meta: ResumeSkillMeta): void;
1251
- setResumeToolMeta(index: number, meta: ResumeToolMeta): void;
1252
- removeRole(role: string): void;
1253
- setRole(role: string): void;
1254
- setEducation(data: any): void;
1255
- setCoverage(data: {
1256
- city: string;
1257
- state: string;
1258
- selectedStates: string[];
1259
- currentCoverage: boolean;
1260
- notApplicable: boolean;
1261
- showMap: boolean;
1262
- }): void;
1263
- setSelectedJobs(jobs: string[]): void;
1264
- addCertification(cert: Certification$2): void;
1265
- removeCertification(index: number): void;
1266
- addLicense(license: License): void;
1267
- removeLicense(index: number): void;
1268
- nextStep(): void;
1269
- previousStep(): void;
1270
- updateToolDetails(toolName: string, data: Partial<Tool>): void;
1271
- addSuccess(value: any): void;
1272
- setProfile(data: ResumeProfile): void;
1273
- static ɵfac: i0.ɵɵFactoryDeclaration<CredentialingStore, never>;
1274
- 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>;
1275
1278
  }
1276
1279
 
1277
1280
  interface StateModel {
@@ -3469,6 +3472,7 @@ declare class PreviewComponent {
3469
3472
  cancelDashboardRedirect(): void;
3470
3473
  tempProfile: BasicDetails;
3471
3474
  isEditMode: i0.WritableSignal<boolean>;
3475
+ get isBasicFormValid(): boolean;
3472
3476
  toggleEdit(): void;
3473
3477
  cancel(): void;
3474
3478
  save(): Promise<void>;