@idsoftsource/initial-process 1.6.4 → 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 {
@@ -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,27 @@ 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
+ }
2051
2070
  declare class RoleSelectComponent implements OnInit {
2052
2071
  store: CredentialingStore;
2072
+ private providerService;
2053
2073
  private userService;
2054
2074
  userDocumentService: UserDocumentService;
2055
2075
  router: Router;
2056
2076
  private industrydata;
2057
2077
  private userDetailService;
2058
2078
  private fileService;
2059
- private provideruser;
2060
2079
  private tokenService;
2061
2080
  private roleContextService;
2081
+ private providerdetail;
2062
2082
  private fb;
2063
2083
  isLoaded: boolean;
2064
2084
  previewUrl: string | null;
@@ -2069,6 +2089,7 @@ declare class RoleSelectComponent implements OnInit {
2069
2089
  isMappingCreated: boolean;
2070
2090
  initialSelectedJobValue: any;
2071
2091
  previousEmployeeType: EmployeeDesignation;
2092
+ companyForm: FormGroup<CompanyFormControls>;
2072
2093
  selectedTab: any;
2073
2094
  resumeName: any;
2074
2095
  industries: any[];
@@ -2081,6 +2102,7 @@ declare class RoleSelectComponent implements OnInit {
2081
2102
  private readonly uploadToAws;
2082
2103
  backToParent: EventEmitter<void>;
2083
2104
  roleData: any;
2105
+ providerError: any;
2084
2106
  jobTypes: LookupItem1<number>[];
2085
2107
  userId: any;
2086
2108
  user: any;
@@ -2094,7 +2116,9 @@ declare class RoleSelectComponent implements OnInit {
2094
2116
  country: string[];
2095
2117
  };
2096
2118
  };
2119
+ logo: any;
2097
2120
  userDetails: any;
2121
+ fileDataCompany: any;
2098
2122
  roleForm: FormGroup;
2099
2123
  userForm: FormGroup<UserFormControls>;
2100
2124
  fileName: any;
@@ -2105,18 +2129,66 @@ declare class RoleSelectComponent implements OnInit {
2105
2129
  previewresumeUrl: string | null;
2106
2130
  useremail: any;
2107
2131
  awsFileUpdate: UpdateAwsFileModelModel[];
2132
+ fileNameCompany: any;
2108
2133
  selectedJobs: i0.WritableSignal<string[]>;
2109
2134
  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);
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);
2112
2156
  cloudfrontUrl: string;
2113
2157
  providerId: string;
2114
2158
  providerName: string;
2159
+ providerdata: any;
2115
2160
  randomId: string;
2116
2161
  ngOnInit(): Promise<void>;
2162
+ getprovider(): void;
2117
2163
  private mappingKey;
2118
2164
  getYears(): void;
2165
+ uploacompanyImage(event: any): void;
2166
+ saveAWSCompanyLogo(): Promise<void>;
2119
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;
2120
2192
  saveUserIndustries(): void;
2121
2193
  setSelectedIndustries(ids: string[]): void;
2122
2194
  onBackClick(): void;
@@ -2128,6 +2200,7 @@ declare class RoleSelectComponent implements OnInit {
2128
2200
  hasChanges(): boolean;
2129
2201
  selectRole(role: string): void;
2130
2202
  get u(): UserFormControls;
2203
+ get c(): CompanyFormControls;
2131
2204
  uploadUserImage(event: any): void;
2132
2205
  selectFile(event: any): void;
2133
2206
  private saveAWSFile;
@@ -2944,6 +3017,7 @@ declare class PreviewComponent {
2944
3017
  userExperienceService: UserExperienceService;
2945
3018
  private tokenService;
2946
3019
  private roleContextService;
3020
+ private providerService;
2947
3021
  private libConfig;
2948
3022
  providerId: string;
2949
3023
  useremail: any;
@@ -2957,6 +3031,7 @@ declare class PreviewComponent {
2957
3031
  containerClass: string;
2958
3032
  };
2959
3033
  maxDate: Date;
3034
+ companyForm: NgForm;
2960
3035
  isResume: boolean;
2961
3036
  resumeModel: ResumeProfile | null;
2962
3037
  providerName: string;
@@ -2995,10 +3070,40 @@ declare class PreviewComponent {
2995
3070
  private readonly uploadFolderBySection;
2996
3071
  resumeData: ResumeProfile | null;
2997
3072
  statusList: any[];
3073
+ isSavingCompany: boolean;
2998
3074
  showPopup: boolean;
2999
3075
  showBackConfirmPopup: boolean;
3000
3076
  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);
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);
3002
3107
  email: any;
3003
3108
  expYears: number[];
3004
3109
  details: i0.WritableSignal<BasicDetails | undefined>;
@@ -3266,6 +3371,38 @@ declare class PreviewComponent {
3266
3371
  licenseActionLabel(index: number | null): string;
3267
3372
  skillActionLabel(index: number | null): string;
3268
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>;
3269
3406
  static ɵfac: i0.ɵɵFactoryDeclaration<PreviewComponent, never>;
3270
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>;
3271
3408
  }
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.6",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.0.0",
6
6
  "@angular/core": "^20.0.0",