@idsoftsource/initial-process 1.3.9 → 1.4.1

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
@@ -2,7 +2,7 @@ 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
4
  import { FormGroup, FormBuilder, FormControl, FormArray, UntypedFormGroup, UntypedFormBuilder, ControlValueAccessor, AbstractControl } from '@angular/forms';
5
- import * as i16 from '@angular/router';
5
+ import * as i17 from '@angular/router';
6
6
  import { Router, RouterOutlet } from '@angular/router';
7
7
  import { Observable, Subscription } from 'rxjs';
8
8
  import { BsModalRef, BsModalService } from 'ngx-bootstrap/modal';
@@ -11,12 +11,12 @@ import { AuthService } from '@auth0/auth0-angular';
11
11
  import { HttpClient } from '@angular/common/http';
12
12
  import * as i2 from '@angular/common';
13
13
  import { ViewportScroller } from '@angular/common';
14
- import * as i18 from '@ng-select/ng-select';
15
- import * as i19 from 'ngx-bootstrap/datepicker';
16
- import * as i24 from 'ngx-bootstrap/tooltip';
17
- import * as i25 from 'ngx-bootstrap/tabs';
18
- import * as i26 from 'ngx-bootstrap/accordion';
19
- import * as i28 from '@angular/google-maps';
14
+ import * as i19 from '@ng-select/ng-select';
15
+ import * as i20 from 'ngx-bootstrap/datepicker';
16
+ import * as i25 from 'ngx-bootstrap/tooltip';
17
+ import * as i26 from 'ngx-bootstrap/tabs';
18
+ import * as i27 from 'ngx-bootstrap/accordion';
19
+ import * as i29 from '@angular/google-maps';
20
20
 
21
21
  interface MasterModel {
22
22
  }
@@ -972,6 +972,101 @@ interface UserToolModel extends MasterModel {
972
972
  isOpen?: boolean;
973
973
  }
974
974
 
975
+ /**
976
+ * Represents the complete resume profile for a candidate.
977
+ */
978
+ interface ResumeProfile {
979
+ id: string;
980
+ basicDetails: BasicDetails;
981
+ workExperience: WorkExperience$1[];
982
+ education: Education$1[];
983
+ certifications: Certification$3[];
984
+ licenses: License$1[];
985
+ skills: string[];
986
+ tools: string[];
987
+ }
988
+ /**
989
+ * Personal and contact information including a professional summary.
990
+ */
991
+ interface BasicDetails {
992
+ firstName: string;
993
+ lastName: string;
994
+ email: string;
995
+ phone: string;
996
+ address: string;
997
+ city: string;
998
+ state: string;
999
+ zipCode: string;
1000
+ country: string;
1001
+ jobTitle: string;
1002
+ yearsOfExperience: number;
1003
+ summary: string;
1004
+ }
1005
+ /**
1006
+ * Details regarding professional work history.
1007
+ */
1008
+ interface WorkExperience$1 {
1009
+ company: string;
1010
+ jobTitle: string;
1011
+ country: string;
1012
+ state: string;
1013
+ city: string;
1014
+ startDate: string;
1015
+ endDate: string | null;
1016
+ isCurrent: boolean;
1017
+ responsibilities: string[];
1018
+ }
1019
+ /**
1020
+ * Educational background, including degrees, certificates, and specific courses.
1021
+ */
1022
+ interface Education$1 {
1023
+ degree: string;
1024
+ degreeType: 'Associate' | 'Certificate' | 'Course' | 'Bachelors' | 'Masters' | string;
1025
+ institution: string;
1026
+ country: string;
1027
+ state: string | null;
1028
+ city: string | null;
1029
+ startDate: string;
1030
+ endDate: string;
1031
+ achievements: string[];
1032
+ }
1033
+ /**
1034
+ * Professional certifications and credentials.
1035
+ */
1036
+ interface Certification$3 {
1037
+ name: string;
1038
+ issuingOrganization: string | null;
1039
+ state: string | null;
1040
+ issueDate: string | null;
1041
+ expiryDate: string | null;
1042
+ credentialId: string | null;
1043
+ }
1044
+ /**
1045
+ * Legal licenses, such as driver's or professional operating licenses.
1046
+ */
1047
+ interface License$1 {
1048
+ name: string;
1049
+ issuingAuthority: string | null;
1050
+ licenseNumber: string | null;
1051
+ state: string | null;
1052
+ issueDate: string | null;
1053
+ expiryDate: string | null;
1054
+ }
1055
+
1056
+ interface ResumeSkillMeta {
1057
+ providerName?: string;
1058
+ starRating?: number;
1059
+ year?: number | null;
1060
+ profileVisibility?: boolean;
1061
+ notes?: string;
1062
+ }
1063
+ interface ResumeToolMeta {
1064
+ providerName?: string;
1065
+ starRating?: number;
1066
+ year?: number | null;
1067
+ profileVisibility?: boolean;
1068
+ notes?: string;
1069
+ }
975
1070
  interface Certification$2 {
976
1071
  name: string;
977
1072
  type: string;
@@ -1036,9 +1131,16 @@ declare class CredentialingStore {
1036
1131
  currentCoverage: i0.WritableSignal<boolean>;
1037
1132
  notApplicable: i0.WritableSignal<boolean>;
1038
1133
  selectedStates: i0.WritableSignal<string[]>;
1134
+ isUploadSuccess: i0.WritableSignal<string | null>;
1135
+ profileSignal: i0.WritableSignal<ResumeProfile | null>;
1136
+ resumeSkillMeta: i0.WritableSignal<Record<number, ResumeSkillMeta>>;
1137
+ resumeToolMeta: i0.WritableSignal<Record<number, ResumeToolMeta>>;
1138
+ profile: ResumeProfile | null;
1039
1139
  selectInitial(value: string): void;
1040
1140
  setUploadOption(option: 'upload' | 'manual'): void;
1041
1141
  addRole(role: string): void;
1142
+ setResumeSkillMeta(index: number, meta: ResumeSkillMeta): void;
1143
+ setResumeToolMeta(index: number, meta: ResumeToolMeta): void;
1042
1144
  removeRole(role: string): void;
1043
1145
  setRole(role: string): void;
1044
1146
  setEducation(data: any): void;
@@ -1058,6 +1160,8 @@ declare class CredentialingStore {
1058
1160
  nextStep(): void;
1059
1161
  previousStep(): void;
1060
1162
  updateToolDetails(toolName: string, data: Partial<Tool>): void;
1163
+ addSuccess(value: any): void;
1164
+ setProfile(data: ResumeProfile): void;
1061
1165
  static ɵfac: i0.ɵɵFactoryDeclaration<CredentialingStore, never>;
1062
1166
  static ɵprov: i0.ɵɵInjectableDeclaration<CredentialingStore>;
1063
1167
  }
@@ -2018,6 +2122,7 @@ declare class RoleSelectComponent implements OnInit {
2018
2122
  removeRole(role: string): void;
2019
2123
  phoneMask(event: Event): void;
2020
2124
  AddressChangeUser(address: any): void;
2125
+ back(): void;
2021
2126
  static ɵfac: i0.ɵɵFactoryDeclaration<RoleSelectComponent, never>;
2022
2127
  static ɵcmp: i0.ɵɵComponentDeclaration<RoleSelectComponent, "app-role-select", never, { "roleData": { "alias": "roleData"; "required": false; }; "cloudfrontUrl": { "alias": "cloudfrontUrl"; "required": false; }; "providerId": { "alias": "providerId"; "required": false; }; "providerName": { "alias": "providerName"; "required": false; }; }, { "backToParent": "backToParent"; }, never, never, false, never>;
2023
2128
  }
@@ -2187,6 +2292,113 @@ declare class WorkexperienceComponent implements OnInit {
2187
2292
  static ɵcmp: i0.ɵɵComponentDeclaration<WorkexperienceComponent, "app-workexperience", never, { "providerId": { "alias": "providerId"; "required": false; }; "providerName": { "alias": "providerName"; "required": false; }; "cloudfrontUrl": { "alias": "cloudfrontUrl"; "required": false; }; }, {}, never, never, false, never>;
2188
2293
  }
2189
2294
 
2295
+ declare class ResumeDetailService {
2296
+ private httpClient;
2297
+ private readonly baseUrl;
2298
+ constructor(httpClient: HttpClient);
2299
+ uploadResume(model: any): Observable<any>;
2300
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResumeDetailService, never>;
2301
+ static ɵprov: i0.ɵɵInjectableDeclaration<ResumeDetailService>;
2302
+ }
2303
+
2304
+ declare class FirstComponent implements OnInit {
2305
+ store: CredentialingStore;
2306
+ private tokenService;
2307
+ private resumedetail;
2308
+ private fileService;
2309
+ isUploading: boolean;
2310
+ resumeData: ResumeProfile | null;
2311
+ awsFileUpdate: UpdateAwsFileModelModel[];
2312
+ backToParent: EventEmitter<void>;
2313
+ userId: any;
2314
+ sample: {
2315
+ basicDetails: {
2316
+ firstName: string;
2317
+ lastName: string;
2318
+ email: string;
2319
+ phone: string;
2320
+ address: string;
2321
+ city: string;
2322
+ state: string;
2323
+ zipCode: string;
2324
+ country: string;
2325
+ jobTitle: string;
2326
+ yearsOfExperience: number;
2327
+ summary: string;
2328
+ };
2329
+ workExperience: {
2330
+ company: string;
2331
+ jobTitle: string;
2332
+ country: string;
2333
+ state: string;
2334
+ city: string;
2335
+ startDate: string;
2336
+ endDate: string;
2337
+ isCurrent: boolean;
2338
+ responsibilities: string[];
2339
+ }[];
2340
+ education: ({
2341
+ degree: string;
2342
+ degreeType: string;
2343
+ institution: string;
2344
+ country: string;
2345
+ state: string;
2346
+ city: string;
2347
+ startDate: string;
2348
+ endDate: string;
2349
+ achievements: string[];
2350
+ } | {
2351
+ degree: string;
2352
+ degreeType: string;
2353
+ institution: string;
2354
+ country: string;
2355
+ state: string;
2356
+ city: null;
2357
+ startDate: string;
2358
+ endDate: string;
2359
+ achievements: never[];
2360
+ })[];
2361
+ certifications: {
2362
+ name: string;
2363
+ issuingOrganization: null;
2364
+ state: null;
2365
+ issueDate: null;
2366
+ expiryDate: null;
2367
+ credentialId: null;
2368
+ }[];
2369
+ licenses: {
2370
+ name: string;
2371
+ issuingAuthority: null;
2372
+ licenseNumber: null;
2373
+ state: null;
2374
+ issueDate: null;
2375
+ expiryDate: null;
2376
+ }[];
2377
+ skills: string[];
2378
+ tools: string[];
2379
+ id: string;
2380
+ };
2381
+ fileData: any;
2382
+ resumeName: any;
2383
+ fileDataUser: any;
2384
+ model: any;
2385
+ nextStep: EventEmitter<void>;
2386
+ constructor(store: CredentialingStore, tokenService: TokenService, resumedetail: ResumeDetailService, fileService: FileService);
2387
+ ngOnInit(): Promise<void>;
2388
+ selectedRole: 'producer' | 'serviceProvider' | null;
2389
+ select(role: 'producer' | 'serviceProvider'): void;
2390
+ next(role: any): void;
2391
+ onFileSelected(event: any): void;
2392
+ openFile(fileInput: HTMLInputElement, event: Event): void;
2393
+ handleAutoNavigation(): void;
2394
+ uploadresume(): void;
2395
+ manual(): void;
2396
+ private saveAWSFile;
2397
+ onBackClick(): void;
2398
+ static ɵfac: i0.ɵɵFactoryDeclaration<FirstComponent, never>;
2399
+ static ɵcmp: i0.ɵɵComponentDeclaration<FirstComponent, "app-first", never, {}, { "backToParent": "backToParent"; "nextStep": "nextStep"; }, never, never, false, never>;
2400
+ }
2401
+
2190
2402
  declare class UsMapComponent implements OnChanges, OnInit, AfterViewInit {
2191
2403
  private cdr;
2192
2404
  private usMapService;
@@ -2726,7 +2938,7 @@ declare class CommonPipesModule {
2726
2938
 
2727
2939
  declare class InitialProcessModule {
2728
2940
  static ɵfac: i0.ɵɵFactoryDeclaration<InitialProcessModule, never>;
2729
- static ɵmod: i0.ɵɵNgModuleDeclaration<InitialProcessModule, [typeof InitialProcessComponent, typeof TermsConditionsComponent, typeof PrivacyPolicyComponent, typeof CredentialingComponent, typeof StepperComponent, typeof EducationComponent, typeof CertificationComponent, typeof SkillsComponent, typeof LicensesComponent, typeof ToolsComponent, typeof RoleSelectComponent, typeof Step2CoverageComponent, typeof WorkexperienceComponent], [typeof i2.CommonModule, typeof _angular_forms.FormsModule, typeof _angular_forms.ReactiveFormsModule, typeof i16.RouterModule, typeof UsMapModule, typeof i18.NgSelectModule, typeof i19.BsDatepickerModule, typeof Ng2LoadingSpinnerModule, typeof LoaderModule, typeof CustomPipesModule, typeof NgxStarsModule, typeof i24.TooltipModule, typeof i25.TabsModule, typeof i26.AccordionModule, typeof GooglePlaceModule, typeof i28.GoogleMapsModule, typeof TextMaskModule, typeof SignaturePadModule, typeof CommonPipesModule], [typeof InitialProcessComponent]>;
2941
+ static ɵmod: i0.ɵɵNgModuleDeclaration<InitialProcessModule, [typeof InitialProcessComponent, typeof TermsConditionsComponent, typeof PrivacyPolicyComponent, typeof CredentialingComponent, typeof StepperComponent, typeof EducationComponent, typeof CertificationComponent, typeof SkillsComponent, typeof LicensesComponent, typeof ToolsComponent, typeof RoleSelectComponent, typeof Step2CoverageComponent, typeof WorkexperienceComponent, typeof FirstComponent], [typeof i2.CommonModule, typeof _angular_forms.FormsModule, typeof _angular_forms.ReactiveFormsModule, typeof i17.RouterModule, typeof UsMapModule, typeof i19.NgSelectModule, typeof i20.BsDatepickerModule, typeof Ng2LoadingSpinnerModule, typeof LoaderModule, typeof CustomPipesModule, typeof NgxStarsModule, typeof i25.TooltipModule, typeof i26.TabsModule, typeof i27.AccordionModule, typeof GooglePlaceModule, typeof i29.GoogleMapsModule, typeof TextMaskModule, typeof SignaturePadModule, typeof CommonPipesModule], [typeof InitialProcessComponent]>;
2730
2942
  static ɵinj: i0.ɵɵInjectorDeclaration<InitialProcessModule>;
2731
2943
  }
2732
2944
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idsoftsource/initial-process",
3
- "version": "1.3.9",
3
+ "version": "1.4.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.0.0",
6
6
  "@angular/core": "^20.0.0",