@idsoftsource/initial-process 1.6.4 → 1.6.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
@@ -1,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { InjectionToken, OnInit, ElementRef, EventEmitter, TemplateRef, Injector, OnChanges, AfterViewInit, ChangeDetectorRef, SimpleChanges, ViewContainerRef, OnDestroy, ComponentFactoryResolver, Renderer2, ModuleWithProviders, PipeTransform, NgZone } from '@angular/core';
3
3
  import * as _angular_forms from '@angular/forms';
4
- import { FormGroup, FormBuilder, FormControl, FormArray, UntypedFormGroup, UntypedFormBuilder, ControlValueAccessor, AbstractControl } from '@angular/forms';
4
+ import { FormGroup, FormBuilder, FormControl, FormArray, UntypedFormGroup, UntypedFormBuilder, ControlValueAccessor, NgForm, AbstractControl } from '@angular/forms';
5
5
  import * as i17 from '@angular/router';
6
6
  import { Router, RouterOutlet } from '@angular/router';
7
7
  import { Observable, Subscription } from 'rxjs';
@@ -556,7 +556,7 @@ declare class SignaturePad {
556
556
  private _toSVG;
557
557
  }
558
558
 
559
- declare class ProvidersService$1 {
559
+ declare class ProvidersService {
560
560
  private http;
561
561
  private baseUrl;
562
562
  constructor(http: HttpClient);
@@ -565,8 +565,8 @@ declare class ProvidersService$1 {
565
565
  getUserDetail(query: any): Observable<GridResult<UserDetailReadModel>>;
566
566
  adminCreateProvider(model: any): Observable<Result>;
567
567
  changeStatus(model: any): Observable<Result>;
568
- static ɵfac: i0.ɵɵFactoryDeclaration<ProvidersService$1, never>;
569
- static ɵprov: i0.ɵɵInjectableDeclaration<ProvidersService$1>;
568
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProvidersService, never>;
569
+ static ɵprov: i0.ɵɵInjectableDeclaration<ProvidersService>;
570
570
  }
571
571
 
572
572
  declare enum UserProviderMappingStatus {
@@ -798,7 +798,7 @@ declare class InitialProcessComponent implements OnInit {
798
798
  }[];
799
799
  contractorCategories: ContractorSubCategoryReadModel[];
800
800
  appBrandingMap: Record<string, AppBranding>;
801
- constructor(router: Router, userDetailService: UserDetailService, formBuilder: FormBuilder, fileService: FileService, providerService: ProvidersService$1, roleService: RolesService, modalService: BsModalService, contractorSubCategoryService: ProviderContractorSubCategoryService, providerContractorSubCategoryService: ProviderContractorSubCategoryService, authService: AuthService, tokenService: TokenService, roleContextService: RoleContextService, authLogoutService: AuthLogoutService, libConfig: LibraryConfig);
801
+ 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);
802
802
  selectedContract: any;
803
803
  changeContractor(event?: any[]): void;
804
804
  selectAll(event: any, items: any[]): void;
@@ -982,6 +982,18 @@ interface UserToolModel extends MasterModel {
982
982
  /**
983
983
  * Represents the complete resume profile for a candidate.
984
984
  */
985
+ interface CompanyDetails {
986
+ companyName: string;
987
+ companyPhoneNumber: string;
988
+ address1: string;
989
+ city: string;
990
+ state: string;
991
+ zipcode: string;
992
+ country: string;
993
+ logoId?: string;
994
+ logoUrl?: string;
995
+ logoFileName?: string;
996
+ }
985
997
  interface ResumeProfile {
986
998
  id: string;
987
999
  roleData?: any;
@@ -990,6 +1002,7 @@ interface ResumeProfile {
990
1002
  cloudfrontUrl?: string;
991
1003
  targetUserId?: string;
992
1004
  basicDetails: BasicDetails;
1005
+ companyDetails?: CompanyDetails;
993
1006
  workExperience: WorkExperience$1[];
994
1007
  education: Education$1[];
995
1008
  certifications: Certification$3[];
@@ -2017,17 +2030,14 @@ declare class IndustryService {
2017
2030
  static ɵprov: i0.ɵɵInjectableDeclaration<IndustryService>;
2018
2031
  }
2019
2032
 
2020
- declare class ProvidersService {
2033
+ declare class FrontEndProvidersService {
2021
2034
  private http;
2022
2035
  private baseUrl;
2023
2036
  constructor(http: HttpClient);
2024
2037
  private generateParams;
2025
- getProviderUserMapping(query: any): Observable<GridResult<UserDetailReadModel>>;
2026
- changeStatus(model: any): Observable<Result>;
2027
- createProviderUserMapping(model: any): Observable<Result>;
2028
- updateProviderUserMapping(model: any): Observable<Result>;
2029
- static ɵfac: i0.ɵɵFactoryDeclaration<ProvidersService, never>;
2030
- static ɵprov: i0.ɵɵInjectableDeclaration<ProvidersService>;
2038
+ getProviderDetails(id: any): Observable<any[]>;
2039
+ static ɵfac: i0.ɵɵFactoryDeclaration<FrontEndProvidersService, never>;
2040
+ static ɵprov: i0.ɵɵInjectableDeclaration<FrontEndProvidersService>;
2031
2041
  }
2032
2042
 
2033
2043
  interface UserFormControls {
@@ -2048,17 +2058,28 @@ interface UserFormControls {
2048
2058
  yearsOfExperince: FormControl<any | null>;
2049
2059
  industries: FormControl<any | null>;
2050
2060
  }
2061
+ interface CompanyFormControls {
2062
+ companyName: FormControl<any | null>;
2063
+ companyPhoneNumber: FormControl<string | null>;
2064
+ address1: FormControl<string | null>;
2065
+ city: FormControl<string | null>;
2066
+ state: FormControl<string | null>;
2067
+ zipcode: FormControl<string | null>;
2068
+ country: FormControl<string | null>;
2069
+ county: FormControl<string | null>;
2070
+ }
2051
2071
  declare class RoleSelectComponent implements OnInit {
2052
2072
  store: CredentialingStore;
2073
+ private providerService;
2053
2074
  private userService;
2054
2075
  userDocumentService: UserDocumentService;
2055
2076
  router: Router;
2056
2077
  private industrydata;
2057
2078
  private userDetailService;
2058
2079
  private fileService;
2059
- private provideruser;
2060
2080
  private tokenService;
2061
2081
  private roleContextService;
2082
+ private providerdetail;
2062
2083
  private fb;
2063
2084
  isLoaded: boolean;
2064
2085
  previewUrl: string | null;
@@ -2069,6 +2090,7 @@ declare class RoleSelectComponent implements OnInit {
2069
2090
  isMappingCreated: boolean;
2070
2091
  initialSelectedJobValue: any;
2071
2092
  previousEmployeeType: EmployeeDesignation;
2093
+ companyForm: FormGroup<CompanyFormControls>;
2072
2094
  selectedTab: any;
2073
2095
  resumeName: any;
2074
2096
  industries: any[];
@@ -2081,6 +2103,7 @@ declare class RoleSelectComponent implements OnInit {
2081
2103
  private readonly uploadToAws;
2082
2104
  backToParent: EventEmitter<void>;
2083
2105
  roleData: any;
2106
+ providerError: any;
2084
2107
  jobTypes: LookupItem1<number>[];
2085
2108
  userId: any;
2086
2109
  user: any;
@@ -2094,7 +2117,9 @@ declare class RoleSelectComponent implements OnInit {
2094
2117
  country: string[];
2095
2118
  };
2096
2119
  };
2120
+ logo: any;
2097
2121
  userDetails: any;
2122
+ fileDataCompany: any;
2098
2123
  roleForm: FormGroup;
2099
2124
  userForm: FormGroup<UserFormControls>;
2100
2125
  fileName: any;
@@ -2105,18 +2130,67 @@ declare class RoleSelectComponent implements OnInit {
2105
2130
  previewresumeUrl: string | null;
2106
2131
  useremail: any;
2107
2132
  awsFileUpdate: UpdateAwsFileModelModel[];
2133
+ fileNameCompany: any;
2108
2134
  selectedJobs: i0.WritableSignal<string[]>;
2109
2135
  selectedJobValues: number[];
2110
- provider: ProviderModel;
2111
- constructor(store: CredentialingStore, userService: UserService, userDocumentService: UserDocumentService, router: Router, industrydata: IndustryService, userDetailService: UserDetailService, fileService: FileService, provideruser: ProvidersService, tokenService: TokenService, roleContextService: RoleContextService, fb: FormBuilder);
2136
+ isLogoLoading: boolean;
2137
+ previewCompanyUrl: string | null;
2138
+ userViewRoles: ({
2139
+ name: string;
2140
+ value: string;
2141
+ img: string;
2142
+ selected: boolean;
2143
+ code: null;
2144
+ id: string;
2145
+ roleId: string;
2146
+ } | {
2147
+ name: string;
2148
+ value: string;
2149
+ img: string;
2150
+ selected: boolean;
2151
+ code: ProviderType;
2152
+ id: string;
2153
+ roleId: string;
2154
+ })[];
2155
+ provider: any;
2156
+ constructor(store: CredentialingStore, providerService: ProvidersService, userService: UserService, userDocumentService: UserDocumentService, router: Router, industrydata: IndustryService, userDetailService: UserDetailService, fileService: FileService, tokenService: TokenService, roleContextService: RoleContextService, providerdetail: FrontEndProvidersService, fb: FormBuilder);
2112
2157
  cloudfrontUrl: string;
2113
2158
  providerId: string;
2114
2159
  providerName: string;
2160
+ providerdata: any;
2115
2161
  randomId: string;
2116
2162
  ngOnInit(): Promise<void>;
2163
+ getprovider(): void;
2117
2164
  private mappingKey;
2118
2165
  getYears(): void;
2166
+ uploacompanyImage(event: any): void;
2167
+ saveAWSCompanyLogo(): Promise<void>;
2119
2168
  getIndustries(): void;
2169
+ bindProviderDetails(): {
2170
+ userName: string;
2171
+ providerType: ProviderType;
2172
+ providerName: any;
2173
+ address1: string | null | undefined;
2174
+ city: string | null | undefined;
2175
+ state: string | null | undefined;
2176
+ zipcode: string | null | undefined;
2177
+ country: string | null | undefined;
2178
+ county: string | null | undefined;
2179
+ phoneNumber: string | null | undefined;
2180
+ userAddress1: string | null | undefined;
2181
+ userAddress2: string | null | undefined;
2182
+ userCity: string | null | undefined;
2183
+ userState: string | null | undefined;
2184
+ userZipcode: string | null | undefined;
2185
+ userCountry: string | null | undefined;
2186
+ userMobile: string | null | undefined;
2187
+ userEmailId: string | null | undefined;
2188
+ logoId: any;
2189
+ logoFileName: any;
2190
+ logoUrl: any;
2191
+ };
2192
+ saveProvider(): void;
2193
+ AddressChangeCompany(address: any): void;
2120
2194
  saveUserIndustries(): void;
2121
2195
  setSelectedIndustries(ids: string[]): void;
2122
2196
  onBackClick(): void;
@@ -2128,6 +2202,7 @@ declare class RoleSelectComponent implements OnInit {
2128
2202
  hasChanges(): boolean;
2129
2203
  selectRole(role: string): void;
2130
2204
  get u(): UserFormControls;
2205
+ get c(): CompanyFormControls;
2131
2206
  uploadUserImage(event: any): void;
2132
2207
  selectFile(event: any): void;
2133
2208
  private saveAWSFile;
@@ -2944,6 +3019,7 @@ declare class PreviewComponent {
2944
3019
  userExperienceService: UserExperienceService;
2945
3020
  private tokenService;
2946
3021
  private roleContextService;
3022
+ private providerService;
2947
3023
  private libConfig;
2948
3024
  providerId: string;
2949
3025
  useremail: any;
@@ -2957,6 +3033,7 @@ declare class PreviewComponent {
2957
3033
  containerClass: string;
2958
3034
  };
2959
3035
  maxDate: Date;
3036
+ companyForm: NgForm;
2960
3037
  isResume: boolean;
2961
3038
  resumeModel: ResumeProfile | null;
2962
3039
  providerName: string;
@@ -2995,10 +3072,40 @@ declare class PreviewComponent {
2995
3072
  private readonly uploadFolderBySection;
2996
3073
  resumeData: ResumeProfile | null;
2997
3074
  statusList: any[];
3075
+ isSavingCompany: boolean;
2998
3076
  showPopup: boolean;
2999
3077
  showBackConfirmPopup: boolean;
3000
3078
  showDashboardConfirmPopup: boolean;
3001
- constructor(store: CredentialingStore, fileService: FileService, userSkillSetService: UserSkillSetService, userToolService: UserToolService, userDocumentService: UserDocumentService, userEducation: UserEducationService, userDetailService: UserDetailService, userExperienceService: UserExperienceService, tokenService: TokenService, roleContextService: RoleContextService, libConfig: LibraryConfig);
3079
+ companyDetailsSaved: boolean;
3080
+ companyEditMode: boolean;
3081
+ companyDetails: i0.WritableSignal<CompanyDetails | null>;
3082
+ tempCompanyDetails: any;
3083
+ tempCompanyLogoUrl: string | null;
3084
+ fileDataCompany: any;
3085
+ fileNameCompany: any;
3086
+ isLogoLoading: boolean;
3087
+ logo: any;
3088
+ private provider;
3089
+ companyFormSubmitted: boolean;
3090
+ companyNameError: string | null;
3091
+ userViewRoles: ({
3092
+ name: string;
3093
+ value: string;
3094
+ img: string;
3095
+ selected: boolean;
3096
+ code: null;
3097
+ id: string;
3098
+ roleId: string;
3099
+ } | {
3100
+ name: string;
3101
+ value: string;
3102
+ img: string;
3103
+ selected: boolean;
3104
+ code: ProviderType;
3105
+ id: string;
3106
+ roleId: string;
3107
+ })[];
3108
+ constructor(store: CredentialingStore, fileService: FileService, userSkillSetService: UserSkillSetService, userToolService: UserToolService, userDocumentService: UserDocumentService, userEducation: UserEducationService, userDetailService: UserDetailService, userExperienceService: UserExperienceService, tokenService: TokenService, roleContextService: RoleContextService, providerService: ProvidersService, libConfig: LibraryConfig);
3002
3109
  email: any;
3003
3110
  expYears: number[];
3004
3111
  details: i0.WritableSignal<BasicDetails | undefined>;
@@ -3266,6 +3373,38 @@ declare class PreviewComponent {
3266
3373
  licenseActionLabel(index: number | null): string;
3267
3374
  skillActionLabel(index: number | null): string;
3268
3375
  toolActionLabel(index: number | null): string;
3376
+ isCompanyEditMode(): boolean;
3377
+ toggleCompanyEdit(): void;
3378
+ cancelCompanyEdit(): void;
3379
+ companyLogoUrl(): string | null;
3380
+ uploadCompanyImage(event: any): void;
3381
+ saveAWSCompanyLogo(): Promise<void>;
3382
+ bindProviderDetails(): {
3383
+ userName: string;
3384
+ providerType: ProviderType;
3385
+ providerName: any;
3386
+ address1: any;
3387
+ city: any;
3388
+ state: any;
3389
+ zipcode: any;
3390
+ country: any;
3391
+ phoneNumber: any;
3392
+ userAddress1: string | undefined;
3393
+ userAddress2: string;
3394
+ userCity: string | undefined;
3395
+ userState: string | undefined;
3396
+ userZipcode: string | undefined;
3397
+ userCounty: string;
3398
+ userCountry: string | undefined;
3399
+ userMobile: string | undefined;
3400
+ userEmailId: string | undefined;
3401
+ logoId: any;
3402
+ logoFileName: any;
3403
+ logoUrl: any;
3404
+ };
3405
+ saveProvider(): Promise<void>;
3406
+ validateCompanyDetails(): boolean;
3407
+ saveCompanyDetails(): Promise<void>;
3269
3408
  static ɵfac: i0.ɵɵFactoryDeclaration<PreviewComponent, never>;
3270
3409
  static ɵcmp: i0.ɵɵComponentDeclaration<PreviewComponent, "app-preview", never, { "providerId": { "alias": "providerId"; "required": false; }; "isResume": { "alias": "isResume"; "required": false; }; "resumeModel": { "alias": "resumeModel"; "required": false; }; "providerName": { "alias": "providerName"; "required": false; }; "roleData": { "alias": "roleData"; "required": false; }; "cloudfrontUrl": { "alias": "cloudfrontUrl"; "required": false; }; }, { "backToParent": "backToParent"; }, never, never, true, never>;
3271
3410
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idsoftsource/initial-process",
3
- "version": "1.6.4",
3
+ "version": "1.6.7",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.0.0",
6
6
  "@angular/core": "^20.0.0",