@idsoftsource/initial-process 1.6.3 → 1.6.6

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