@idsoftsource/initial-process 1.5.9 → 1.6.0

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 i18 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 i20 from '@ng-select/ng-select';
15
- import * as i21 from 'ngx-bootstrap/datepicker';
16
- import * as i26 from 'ngx-bootstrap/tooltip';
17
- import * as i27 from 'ngx-bootstrap/tabs';
18
- import * as i28 from 'ngx-bootstrap/accordion';
19
- import * as i30 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
  }
@@ -658,6 +658,91 @@ interface LibraryConfig {
658
658
  }
659
659
  declare const LIBRARY_CONFIG: InjectionToken<LibraryConfig>;
660
660
 
661
+ /**
662
+ * Represents the complete resume profile for a candidate.
663
+ */
664
+ interface ResumeProfile {
665
+ id: string;
666
+ targetProviderId?: string;
667
+ targetProviderName?: string;
668
+ cloudfrontUrl?: string;
669
+ targetUserId?: string;
670
+ basicDetails: BasicDetails;
671
+ workExperience: WorkExperience$1[];
672
+ education: Education$1[];
673
+ certifications: Certification$3[];
674
+ licenses: License$1[];
675
+ skills: string[];
676
+ tools: string[];
677
+ }
678
+ /**
679
+ * Personal and contact information including a professional summary.
680
+ */
681
+ interface BasicDetails {
682
+ firstName: string;
683
+ lastName: string;
684
+ email: string;
685
+ phone: string;
686
+ address: string;
687
+ city: string;
688
+ state: string;
689
+ zipCode: string;
690
+ country: string;
691
+ jobTitle: string;
692
+ yearsOfExperience: number;
693
+ summary: string;
694
+ }
695
+ /**
696
+ * Details regarding professional work history.
697
+ */
698
+ interface WorkExperience$1 {
699
+ company: string;
700
+ jobTitle: string;
701
+ country: string;
702
+ state: string;
703
+ city: string;
704
+ startDate: string;
705
+ endDate: string | null;
706
+ isCurrent: boolean;
707
+ responsibilities: string[];
708
+ }
709
+ /**
710
+ * Educational background, including degrees, certificates, and specific courses.
711
+ */
712
+ interface Education$1 {
713
+ degree: string;
714
+ degreeType: 'Associate' | 'Certificate' | 'Course' | 'Bachelors' | 'Masters' | string;
715
+ institution: string;
716
+ country: string;
717
+ state: string | null;
718
+ city: string | null;
719
+ startDate: string;
720
+ endDate: string;
721
+ achievements: string[];
722
+ }
723
+ /**
724
+ * Professional certifications and credentials.
725
+ */
726
+ interface Certification$3 {
727
+ name: string;
728
+ issuingOrganization: string | null;
729
+ state: string | null;
730
+ issueDate: string | null;
731
+ expiryDate: string | null;
732
+ credentialId: string | null;
733
+ }
734
+ /**
735
+ * Legal licenses, such as driver's or professional operating licenses.
736
+ */
737
+ interface License$1 {
738
+ name: string;
739
+ issuingAuthority: string | null;
740
+ licenseNumber: string | null;
741
+ state: string | null;
742
+ issueDate: string | null;
743
+ expiryDate: string | null;
744
+ }
745
+
661
746
  interface AppBranding {
662
747
  logo: string;
663
748
  displayName: string;
@@ -677,6 +762,8 @@ declare class InitialProcessComponent implements OnInit {
677
762
  private roleContextService;
678
763
  private authLogoutService;
679
764
  private libConfig;
765
+ isResume: boolean;
766
+ resumeModel: ResumeProfile | null;
680
767
  signatureFileId: any;
681
768
  signatureUrl: any;
682
769
  isAgreeEnabled: boolean;
@@ -884,7 +971,7 @@ declare class InitialProcessComponent implements OnInit {
884
971
  saveContractorSubCategory(id: any): void;
885
972
  ngOnDestroy(): void;
886
973
  static ɵfac: i0.ɵɵFactoryDeclaration<InitialProcessComponent, never>;
887
- static ɵcmp: i0.ɵɵComponentDeclaration<InitialProcessComponent, "app-initial-process", never, {}, {}, never, never, false, never>;
974
+ static ɵcmp: i0.ɵɵComponentDeclaration<InitialProcessComponent, "app-initial-process", never, { "isResume": { "alias": "isResume"; "required": false; }; "resumeModel": { "alias": "resumeModel"; "required": false; }; }, {}, never, never, false, never>;
888
975
  }
889
976
 
890
977
  declare class TermsConditionsComponent {
@@ -978,87 +1065,6 @@ interface UserToolModel extends MasterModel {
978
1065
  isOpen?: boolean;
979
1066
  }
980
1067
 
981
- /**
982
- * Represents the complete resume profile for a candidate.
983
- */
984
- interface ResumeProfile {
985
- id: string;
986
- basicDetails: BasicDetails;
987
- workExperience: WorkExperience$1[];
988
- education: Education$1[];
989
- certifications: Certification$3[];
990
- licenses: License$1[];
991
- skills: string[];
992
- tools: string[];
993
- }
994
- /**
995
- * Personal and contact information including a professional summary.
996
- */
997
- interface BasicDetails {
998
- firstName: string;
999
- lastName: string;
1000
- email: string;
1001
- phone: string;
1002
- address: string;
1003
- city: string;
1004
- state: string;
1005
- zipCode: string;
1006
- country: string;
1007
- jobTitle: string;
1008
- yearsOfExperience: number;
1009
- summary: string;
1010
- }
1011
- /**
1012
- * Details regarding professional work history.
1013
- */
1014
- interface WorkExperience$1 {
1015
- company: string;
1016
- jobTitle: string;
1017
- country: string;
1018
- state: string;
1019
- city: string;
1020
- startDate: string;
1021
- endDate: string | null;
1022
- isCurrent: boolean;
1023
- responsibilities: string[];
1024
- }
1025
- /**
1026
- * Educational background, including degrees, certificates, and specific courses.
1027
- */
1028
- interface Education$1 {
1029
- degree: string;
1030
- degreeType: 'Associate' | 'Certificate' | 'Course' | 'Bachelors' | 'Masters' | string;
1031
- institution: string;
1032
- country: string;
1033
- state: string | null;
1034
- city: string | null;
1035
- startDate: string;
1036
- endDate: string;
1037
- achievements: string[];
1038
- }
1039
- /**
1040
- * Professional certifications and credentials.
1041
- */
1042
- interface Certification$3 {
1043
- name: string;
1044
- issuingOrganization: string | null;
1045
- state: string | null;
1046
- issueDate: string | null;
1047
- expiryDate: string | null;
1048
- credentialId: string | null;
1049
- }
1050
- /**
1051
- * Legal licenses, such as driver's or professional operating licenses.
1052
- */
1053
- interface License$1 {
1054
- name: string;
1055
- issuingAuthority: string | null;
1056
- licenseNumber: string | null;
1057
- state: string | null;
1058
- issueDate: string | null;
1059
- expiryDate: string | null;
1060
- }
1061
-
1062
1068
  interface ResumeSkillMeta {
1063
1069
  providerName?: string;
1064
1070
  starRating?: number;
@@ -2425,381 +2431,37 @@ declare class FirstComponent implements OnInit {
2425
2431
  static ɵcmp: i0.ɵɵComponentDeclaration<FirstComponent, "app-first", never, {}, { "backToParent": "backToParent"; "nextStep": "nextStep"; }, never, never, false, never>;
2426
2432
  }
2427
2433
 
2428
- interface SkillToolEditorData {
2429
- name: string;
2430
- providerName: string;
2431
- stars: number;
2432
- year: number | null;
2433
- profileVisibility: boolean;
2434
- notes: string;
2435
- }
2436
-
2437
- declare class PreviewComponent {
2438
- store: CredentialingStore;
2439
- private fileService;
2440
- private userSkillSetService;
2441
- private userToolService;
2442
- userDocumentService: UserDocumentService;
2443
- userEducation: UserEducationService;
2444
- private userDetailService;
2445
- userExperienceService: UserExperienceService;
2446
- private tokenService;
2447
- private roleContextService;
2448
- private libConfig;
2449
- providerId: string;
2450
- useremail: any;
2451
- readonly educationDegreeTypeOptions: string[];
2452
- readonly monthPickerConfig: {
2453
- minMode: string;
2454
- adaptivePosition: boolean;
2455
- showWeekNumbers: boolean;
2456
- isAnimated: boolean;
2457
- dateInputFormat: string;
2458
- containerClass: string;
2459
- };
2460
- maxDate: Date;
2461
- providerName: string;
2462
- roleData: any;
2463
- backToParent: EventEmitter<void>;
2464
- fileData: any;
2465
- model: any;
2466
- awsFileUpdate: UpdateAwsFileModelModel[];
2467
- fileName: string;
2468
- fileChanged: boolean;
2469
- isSavingWork: boolean;
2470
- isSavingEducation: boolean;
2471
- isSavingCertification: boolean;
2472
- isSavingLicense: boolean;
2473
- isSavingBasic: boolean;
2474
- basicDetailsSaved: boolean;
2475
- hasUserDetailData: boolean;
2476
- isSavingSkill: boolean;
2477
- isSavingTool: boolean;
2478
- payloadUserId: any;
2479
- payloadUserName: any;
2480
- cloudfrontUrl: string;
2481
- workExperienceServerIds: Record<number, string>;
2482
- educationServerIds: Record<number, string>;
2483
- certificationServerIds: Record<number, string>;
2484
- licenseServerIds: Record<number, string>;
2485
- skillServerIds: Record<number, string>;
2486
- toolServerIds: Record<number, string>;
2487
- workExperienceLocallySaved: Record<number, boolean>;
2488
- educationLocallySaved: Record<number, boolean>;
2489
- certificationLocallySaved: Record<number, boolean>;
2490
- licenseLocallySaved: Record<number, boolean>;
2491
- skillLocallySaved: Record<number, boolean>;
2492
- toolLocallySaved: Record<number, boolean>;
2493
- private readonly monthDateCache;
2494
- private readonly uploadFolderBySection;
2495
- resumeData: ResumeProfile | null;
2496
- statusList: any[];
2497
- showPopup: boolean;
2498
- showBackConfirmPopup: boolean;
2499
- showDashboardConfirmPopup: boolean;
2500
- constructor(store: CredentialingStore, fileService: FileService, userSkillSetService: UserSkillSetService, userToolService: UserToolService, userDocumentService: UserDocumentService, userEducation: UserEducationService, userDetailService: UserDetailService, userExperienceService: UserExperienceService, tokenService: TokenService, roleContextService: RoleContextService, libConfig: LibraryConfig);
2501
- email: any;
2502
- expYears: number[];
2503
- details: i0.WritableSignal<BasicDetails | undefined>;
2504
- ngOnInit(): Promise<void>;
2505
- experience: i0.Signal<WorkExperience$1[]>;
2506
- educationList: i0.Signal<Education$1[]>;
2507
- certs: i0.Signal<Certification$3[]>;
2508
- licenses: i0.Signal<License$1[]>;
2509
- skills: i0.Signal<string[]>;
2510
- tools: i0.Signal<string[]>;
2511
- private isBlank;
2512
- private isBlankOrNull;
2513
- sanitizePhone(value: string | null | undefined): string;
2514
- sanitizeZipCode(value: string | null | undefined): string;
2515
- isMonthRangeInvalid(start: string | null | undefined, end: string | null | undefined): boolean;
2516
- private compareMonth;
2517
- private prefillSectionFieldsFromBasicDetails;
2518
- private basicDetailsIssues;
2519
- private workItemIssues;
2520
- private educationItemIssues;
2521
- private certificationItemIssues;
2522
- private licenseItemIssues;
2523
- private skillItemIssues;
2524
- private toolItemIssues;
2525
- basicIssues: i0.Signal<string[]>;
2526
- basicSectionHasIssues: i0.Signal<boolean>;
2527
- workIssuesByIndex: i0.Signal<string[][]>;
2528
- educationIssuesByIndex: i0.Signal<string[][]>;
2529
- certIssuesByIndex: i0.Signal<string[][]>;
2530
- licenseIssuesByIndex: i0.Signal<string[][]>;
2531
- skillIssuesByIndex: i0.Signal<string[][]>;
2532
- toolIssuesByIndex: i0.Signal<string[][]>;
2533
- skillFormIssues: i0.Signal<string[]>;
2534
- toolFormIssues: i0.Signal<string[]>;
2535
- workSectionHasIssues: i0.Signal<boolean>;
2536
- educationSectionHasIssues: i0.Signal<boolean>;
2537
- certificationsSectionHasIssues: i0.Signal<boolean>;
2538
- licensesSectionHasIssues: i0.Signal<boolean>;
2539
- skillsSectionHasIssues: i0.Signal<boolean>;
2540
- toolsSectionHasIssues: i0.Signal<boolean>;
2541
- workSectionHasUnsavedItems(): boolean;
2542
- educationSectionHasUnsavedItems(): boolean;
2543
- certificationSectionHasUnsavedItems(): boolean;
2544
- licenseSectionHasUnsavedItems(): boolean;
2545
- skillsSectionHasUnsavedItems(): boolean;
2546
- toolsSectionHasUnsavedItems(): boolean;
2547
- isAnyEditorOpen: i0.Signal<boolean>;
2548
- canConfirmAndContinue(): boolean;
2549
- expandedIndex: i0.WritableSignal<number>;
2550
- toggleJob(index: number): void;
2551
- private commitProfile;
2552
- private appendToMainModel;
2553
- private updateInMainModel;
2554
- private toMonthInput;
2555
- monthInputToDate(value: string | null | undefined): Date | null;
2556
- private dateToMonthInput;
2557
- setTempJobMonth(field: 'startDate' | 'endDate', value: Date | null | undefined): void;
2558
- setTempCertificationMonth(field: 'issueDate' | 'expiryDate', value: Date | null | undefined): void;
2559
- setTempLicenseMonth(field: 'issueDate' | 'expiryDate', value: Date | null | undefined): void;
2560
- setTempEducationMonth(field: 'startDate' | 'endDate', value: Date | null | undefined): void;
2561
- confirmAllCertifications(): Promise<void>;
2562
- confirmAllLicenses(): Promise<void>;
2563
- private buildSectionQuery;
2564
- private buildUserName;
2565
- private getCreatedId;
2566
- private getEntityId;
2567
- private reindexServerIdsAfterDelete;
2568
- private reindexSavedFlagsAfterDelete;
2569
- private markItemSaved;
2570
- hasUnsavedWorkItem(index: number): boolean;
2571
- hasUnsavedEducationItem(index: number): boolean;
2572
- hasUnsavedCertificationItem(index: number): boolean;
2573
- hasUnsavedLicenseItem(index: number): boolean;
2574
- hasUnsavedSkillItem(index: number): boolean;
2575
- hasUnsavedToolItem(index: number): boolean;
2576
- private mapSavedWorkToPreview;
2577
- private mapSavedEducationToPreview;
2578
- private mapSavedCertificationToPreview;
2579
- private mapSavedLicenseToPreview;
2580
- private normalizedText;
2581
- private workSignature;
2582
- private educationSignature;
2583
- private certificationSignature;
2584
- private licenseSignature;
2585
- private mergeSavedAndCurrent;
2586
- private ensureWorkServerId;
2587
- private ensureEducationServerId;
2588
- private ensureCertificationServerId;
2589
- private ensureLicenseServerId;
2590
- private ensureSkillServerId;
2591
- private ensureToolServerId;
2592
- private loadSavedSectionsFromApis;
2593
- formatMonthYear(value: string | null | undefined): string;
2594
- private confirmDelete;
2595
- private jobEditor;
2596
- isAddingJob(): boolean;
2597
- editingJobIndex(): number | null;
2598
- tempJob(): WorkExperience$1 | null;
2599
- addJob(): void;
2600
- startEditJob(jobIndex: number): void;
2601
- cancelEditJob(): void;
2602
- saveEditJob(): Promise<void>;
2603
- deleteJob(index: number): void;
2604
- updateTempResponsibilities(value: string): void;
2605
- patchTempJob(patch: Partial<WorkExperience$1>): void;
2606
- onWorkExperienceFileSelected(event: Event): void;
2607
- setTempJobIsCurrent(isCurrent: boolean): void;
2608
- private skillEditor;
2609
- isSkillEditorOpen(): boolean;
2610
- isAddingSkill(): boolean;
2611
- editingSkillIndex(): number | null;
2612
- skillForm(): SkillToolEditorData | null;
2613
- patchSkillForm(patch: Partial<SkillToolEditorData>): void;
2614
- openSkillEditor(index: number): void;
2615
- addSkill(): void;
2616
- closeSkillEditor(): void;
2617
- setTempSkillStars(stars: number): void;
2618
- saveSkillEditor(): Promise<void>;
2619
- private reindexSkillMetaAfterDelete;
2620
- deleteSkill(index: number): void;
2621
- private toolEditor;
2622
- isToolEditorOpen(): boolean;
2623
- isAddingTool(): boolean;
2624
- editingToolIndex(): number | null;
2625
- toolForm(): SkillToolEditorData | null;
2626
- patchToolForm(patch: Partial<SkillToolEditorData>): void;
2627
- openToolEditor(index: number): void;
2628
- addTool(): void;
2629
- closeToolEditor(): void;
2630
- setTempToolStars(stars: number): void;
2631
- confirmAllSkills(): Promise<void>;
2632
- confirmAllTools(): Promise<void>;
2633
- saveToolEditor(): Promise<void>;
2634
- private reindexToolMetaAfterDelete;
2635
- deleteTool(index: number): void;
2636
- private certificationEditor;
2637
- isAddingCertification(): boolean;
2638
- editingCertificationIndex(): number | null;
2639
- tempCertification(): Certification$3 | null;
2640
- private normalizeNullableString;
2641
- private normalizeMonthInput;
2642
- addCertification(): void;
2643
- startEditCertification(index: number): void;
2644
- cancelEditCertification(): void;
2645
- patchTempCertification(patch: Partial<Certification$3>): void;
2646
- onCertificationFileSelected(event: Event): void;
2647
- saveCertificationEditor(): Promise<void>;
2648
- deleteCertification(index: number): void;
2649
- private licenseEditor;
2650
- isAddingLicense(): boolean;
2651
- editingLicenseIndex(): number | null;
2652
- tempLicense(): License$1 | null;
2653
- addLicense(): void;
2654
- startEditLicense(index: number): void;
2655
- cancelEditLicense(): void;
2656
- patchTempLicense(patch: Partial<License$1>): void;
2657
- onLicenseFileSelected(event: Event): void;
2658
- saveLicenseEditor(): Promise<void>;
2659
- deleteLicense(index: number): void;
2660
- private educationEditor;
2661
- isAddingEducation(): boolean;
2662
- editingEducationIndex(): number | null;
2663
- tempEducation(): Education$1 | null;
2664
- addEducation(): void;
2665
- startEditEducation(index: number): void;
2666
- cancelEditEducation(): void;
2667
- patchTempEducation(patch: Partial<Education$1>): void;
2668
- onEducationFileSelected(event: Event): void;
2669
- saveEducation(): Promise<void>;
2670
- deleteEducation(index: number): void;
2671
- onBackClick(): void;
2672
- stayOnPreview(): void;
2673
- goToDashboard(): Promise<void>;
2674
- proceedBack(): void;
2675
- onGoToDashboardClick(): void;
2676
- cancelDashboardRedirect(): void;
2677
- tempProfile: BasicDetails;
2678
- isEditMode: i0.WritableSignal<boolean>;
2679
- toggleEdit(): void;
2680
- cancel(): void;
2681
- save(): Promise<void>;
2682
- private persistWorkExperience;
2683
- private persistEducation;
2684
- private persistCertification;
2685
- private persistLicense;
2686
- private persistSkill;
2687
- private persistTool;
2688
- private saveAWSFile;
2689
- selectFile(event: any): void;
2690
- private toAbsoluteFileUrl;
2691
- private revokeObjectUrl;
2692
- previewSelectedFile(item: any): void;
2693
- mapBasicDetailsToUserDetail(data: any): {
2694
- providerName: string;
2695
- providerId: string;
2696
- UserRoleId: any;
2697
- userDetail: {
2698
- userBio: any;
2699
- firstName: any;
2700
- lastName: any;
2701
- email: any;
2702
- address1: any;
2703
- address2: string;
2704
- city: any;
2705
- state: any;
2706
- zipcode: any;
2707
- county: string;
2708
- country: any;
2709
- latitude: null;
2710
- longitude: null;
2711
- yearsActive: number;
2712
- isInitialSetupCompleted: boolean;
2713
- id: any;
2714
- phoneNumber: any;
2715
- yearsOfExperince: any;
2716
- userJobTitle: any[];
2717
- timeZone: string;
2718
- datePattern: string;
2719
- dateTimePattern: string;
2720
- timePattern: string;
2721
- };
2722
- };
2723
- mapBasicDetailsDashboard(data: any): {
2724
- providerName: string;
2725
- providerId: string;
2726
- UserRoleId: any;
2727
- userDetail: {
2728
- userBio: any;
2729
- firstName: any;
2730
- lastName: any;
2731
- email: any;
2732
- address1: any;
2733
- address2: string;
2734
- city: any;
2735
- state: any;
2736
- zipcode: any;
2737
- county: string;
2738
- country: any;
2739
- latitude: null;
2740
- longitude: null;
2741
- yearsActive: number;
2742
- isInitialSetupCompleted: boolean;
2743
- id: any;
2744
- phoneNumber: any;
2745
- yearsOfExperince: any;
2746
- userJobTitle: any[];
2747
- timeZone: string;
2748
- datePattern: string;
2749
- dateTimePattern: string;
2750
- timePattern: string;
2751
- };
2752
- };
2753
- private mapSavedBasicDetailsToPreview;
2754
- private hasUserDetailPayload;
2755
- mapWorkExperience(data: any): any;
2756
- mapEducation(data: any): any;
2757
- mapCertifications(data: any): any;
2758
- mapLicenses(data: any): any;
2759
- mapSkills(data: any): any;
2760
- mapTools(data: any): any;
2761
- formatDate(date: string): string | null;
2762
- workActionLabel(index: number | null): string;
2763
- educationActionLabel(index: number | null): string;
2764
- certificationActionLabel(index: number | null): string;
2765
- licenseActionLabel(index: number | null): string;
2766
- skillActionLabel(index: number | null): string;
2767
- toolActionLabel(index: number | null): string;
2768
- static ɵfac: i0.ɵɵFactoryDeclaration<PreviewComponent, never>;
2769
- static ɵcmp: i0.ɵɵComponentDeclaration<PreviewComponent, "app-preview", never, { "providerId": { "alias": "providerId"; "required": false; }; "providerName": { "alias": "providerName"; "required": false; }; "roleData": { "alias": "roleData"; "required": false; }; "cloudfrontUrl": { "alias": "cloudfrontUrl"; "required": false; }; }, { "backToParent": "backToParent"; }, never, never, false, never>;
2770
- }
2771
-
2772
- declare class UsMapComponent implements OnChanges, OnInit, AfterViewInit {
2773
- private cdr;
2774
- private usMapService;
2775
- viewinisialized: boolean;
2776
- coordinates: any;
2777
- selectedCoordinates: string[];
2778
- selectedStates: any;
2779
- changedSelectedStates: any;
2780
- allowedStates: any;
2781
- changedAllowedStates: any;
2782
- isReadOnly: boolean;
2783
- fillColor: string;
2784
- fillStateColor: string;
2785
- strokeColor: string;
2786
- fillSelected: string;
2787
- removeStateColor: string;
2788
- click: EventEmitter<any>;
2789
- usCoordinates: Coordinate;
2790
- allCoordinates: Coordinate;
2791
- filteredLocations: CoordinateLocationDetail[];
2792
- usFillColor: string;
2793
- usStrokeColor: string;
2794
- constructor(cdr: ChangeDetectorRef, usMapService: UsMapLatestService);
2795
- ngOnInit(): void;
2796
- ngOnChanges(changes: SimpleChanges): void;
2797
- ngAfterViewInit(): void;
2798
- fetchData(): void;
2799
- modelValueChanged(): void;
2800
- onUsMapClick(state: any, check?: boolean): void;
2801
- static ɵfac: i0.ɵɵFactoryDeclaration<UsMapComponent, never>;
2802
- static ɵcmp: i0.ɵɵComponentDeclaration<UsMapComponent, "us-map", never, { "selectedStates": { "alias": "selectedStates"; "required": false; }; "allowedStates": { "alias": "allowedStates"; "required": false; }; "isReadOnly": { "alias": "isReadOnly"; "required": false; }; "filteredLocations": { "alias": "filteredLocations"; "required": false; }; }, { "click": "onMapClick"; }, never, never, false, never>;
2434
+ declare class UsMapComponent implements OnChanges, OnInit, AfterViewInit {
2435
+ private cdr;
2436
+ private usMapService;
2437
+ viewinisialized: boolean;
2438
+ coordinates: any;
2439
+ selectedCoordinates: string[];
2440
+ selectedStates: any;
2441
+ changedSelectedStates: any;
2442
+ allowedStates: any;
2443
+ changedAllowedStates: any;
2444
+ isReadOnly: boolean;
2445
+ fillColor: string;
2446
+ fillStateColor: string;
2447
+ strokeColor: string;
2448
+ fillSelected: string;
2449
+ removeStateColor: string;
2450
+ click: EventEmitter<any>;
2451
+ usCoordinates: Coordinate;
2452
+ allCoordinates: Coordinate;
2453
+ filteredLocations: CoordinateLocationDetail[];
2454
+ usFillColor: string;
2455
+ usStrokeColor: string;
2456
+ constructor(cdr: ChangeDetectorRef, usMapService: UsMapLatestService);
2457
+ ngOnInit(): void;
2458
+ ngOnChanges(changes: SimpleChanges): void;
2459
+ ngAfterViewInit(): void;
2460
+ fetchData(): void;
2461
+ modelValueChanged(): void;
2462
+ onUsMapClick(state: any, check?: boolean): void;
2463
+ static ɵfac: i0.ɵɵFactoryDeclaration<UsMapComponent, never>;
2464
+ static ɵcmp: i0.ɵɵComponentDeclaration<UsMapComponent, "us-map", never, { "selectedStates": { "alias": "selectedStates"; "required": false; }; "allowedStates": { "alias": "allowedStates"; "required": false; }; "isReadOnly": { "alias": "isReadOnly"; "required": false; }; "filteredLocations": { "alias": "filteredLocations"; "required": false; }; }, { "click": "onMapClick"; }, never, never, false, never>;
2803
2465
  }
2804
2466
 
2805
2467
  declare class UsMapModule {
@@ -3262,6 +2924,350 @@ declare class SignaturePadModule {
3262
2924
  static ɵinj: i0.ɵɵInjectorDeclaration<SignaturePadModule>;
3263
2925
  }
3264
2926
 
2927
+ interface SkillToolEditorData {
2928
+ name: string;
2929
+ providerName: string;
2930
+ stars: number;
2931
+ year: number | null;
2932
+ profileVisibility: boolean;
2933
+ notes: string;
2934
+ }
2935
+
2936
+ declare class PreviewComponent {
2937
+ store: CredentialingStore;
2938
+ private fileService;
2939
+ private userSkillSetService;
2940
+ private userToolService;
2941
+ userDocumentService: UserDocumentService;
2942
+ userEducation: UserEducationService;
2943
+ private userDetailService;
2944
+ userExperienceService: UserExperienceService;
2945
+ private tokenService;
2946
+ private roleContextService;
2947
+ private libConfig;
2948
+ providerId: string;
2949
+ useremail: any;
2950
+ readonly educationDegreeTypeOptions: string[];
2951
+ readonly monthPickerConfig: {
2952
+ minMode: string;
2953
+ adaptivePosition: boolean;
2954
+ showWeekNumbers: boolean;
2955
+ isAnimated: boolean;
2956
+ dateInputFormat: string;
2957
+ containerClass: string;
2958
+ };
2959
+ maxDate: Date;
2960
+ providerName: string;
2961
+ roleData: any;
2962
+ backToParent: EventEmitter<void>;
2963
+ fileData: any;
2964
+ model: any;
2965
+ awsFileUpdate: UpdateAwsFileModelModel[];
2966
+ fileName: string;
2967
+ fileChanged: boolean;
2968
+ isSavingWork: boolean;
2969
+ isSavingEducation: boolean;
2970
+ isSavingCertification: boolean;
2971
+ isSavingLicense: boolean;
2972
+ isSavingBasic: boolean;
2973
+ basicDetailsSaved: boolean;
2974
+ hasUserDetailData: boolean;
2975
+ isSavingSkill: boolean;
2976
+ isSavingTool: boolean;
2977
+ payloadUserId: any;
2978
+ payloadUserName: any;
2979
+ cloudfrontUrl: string;
2980
+ workExperienceServerIds: Record<number, string>;
2981
+ educationServerIds: Record<number, string>;
2982
+ certificationServerIds: Record<number, string>;
2983
+ licenseServerIds: Record<number, string>;
2984
+ skillServerIds: Record<number, string>;
2985
+ toolServerIds: Record<number, string>;
2986
+ workExperienceLocallySaved: Record<number, boolean>;
2987
+ educationLocallySaved: Record<number, boolean>;
2988
+ certificationLocallySaved: Record<number, boolean>;
2989
+ licenseLocallySaved: Record<number, boolean>;
2990
+ skillLocallySaved: Record<number, boolean>;
2991
+ toolLocallySaved: Record<number, boolean>;
2992
+ private readonly monthDateCache;
2993
+ private readonly uploadFolderBySection;
2994
+ resumeData: ResumeProfile | null;
2995
+ statusList: any[];
2996
+ showPopup: boolean;
2997
+ showBackConfirmPopup: boolean;
2998
+ showDashboardConfirmPopup: boolean;
2999
+ constructor(store: CredentialingStore, fileService: FileService, userSkillSetService: UserSkillSetService, userToolService: UserToolService, userDocumentService: UserDocumentService, userEducation: UserEducationService, userDetailService: UserDetailService, userExperienceService: UserExperienceService, tokenService: TokenService, roleContextService: RoleContextService, libConfig: LibraryConfig);
3000
+ email: any;
3001
+ expYears: number[];
3002
+ details: i0.WritableSignal<BasicDetails | undefined>;
3003
+ ngOnInit(): Promise<void>;
3004
+ experience: i0.Signal<WorkExperience$1[]>;
3005
+ educationList: i0.Signal<Education$1[]>;
3006
+ certs: i0.Signal<Certification$3[]>;
3007
+ licenses: i0.Signal<License$1[]>;
3008
+ skills: i0.Signal<string[]>;
3009
+ tools: i0.Signal<string[]>;
3010
+ private isBlank;
3011
+ private isBlankOrNull;
3012
+ sanitizePhone(value: string | null | undefined): string;
3013
+ sanitizeZipCode(value: string | null | undefined): string;
3014
+ isMonthRangeInvalid(start: string | null | undefined, end: string | null | undefined): boolean;
3015
+ private compareMonth;
3016
+ private prefillSectionFieldsFromBasicDetails;
3017
+ private basicDetailsIssues;
3018
+ private workItemIssues;
3019
+ private educationItemIssues;
3020
+ private certificationItemIssues;
3021
+ private licenseItemIssues;
3022
+ private skillItemIssues;
3023
+ private toolItemIssues;
3024
+ basicIssues: i0.Signal<string[]>;
3025
+ basicSectionHasIssues: i0.Signal<boolean>;
3026
+ workIssuesByIndex: i0.Signal<string[][]>;
3027
+ educationIssuesByIndex: i0.Signal<string[][]>;
3028
+ certIssuesByIndex: i0.Signal<string[][]>;
3029
+ licenseIssuesByIndex: i0.Signal<string[][]>;
3030
+ skillIssuesByIndex: i0.Signal<string[][]>;
3031
+ toolIssuesByIndex: i0.Signal<string[][]>;
3032
+ skillFormIssues: i0.Signal<string[]>;
3033
+ toolFormIssues: i0.Signal<string[]>;
3034
+ workSectionHasIssues: i0.Signal<boolean>;
3035
+ educationSectionHasIssues: i0.Signal<boolean>;
3036
+ certificationsSectionHasIssues: i0.Signal<boolean>;
3037
+ licensesSectionHasIssues: i0.Signal<boolean>;
3038
+ skillsSectionHasIssues: i0.Signal<boolean>;
3039
+ toolsSectionHasIssues: i0.Signal<boolean>;
3040
+ workSectionHasUnsavedItems(): boolean;
3041
+ educationSectionHasUnsavedItems(): boolean;
3042
+ certificationSectionHasUnsavedItems(): boolean;
3043
+ licenseSectionHasUnsavedItems(): boolean;
3044
+ skillsSectionHasUnsavedItems(): boolean;
3045
+ toolsSectionHasUnsavedItems(): boolean;
3046
+ isAnyEditorOpen: i0.Signal<boolean>;
3047
+ canConfirmAndContinue(): boolean;
3048
+ expandedIndex: i0.WritableSignal<number>;
3049
+ toggleJob(index: number): void;
3050
+ private commitProfile;
3051
+ private appendToMainModel;
3052
+ private updateInMainModel;
3053
+ private toMonthInput;
3054
+ monthInputToDate(value: string | null | undefined): Date | null;
3055
+ private dateToMonthInput;
3056
+ setTempJobMonth(field: 'startDate' | 'endDate', value: Date | null | undefined): void;
3057
+ setTempCertificationMonth(field: 'issueDate' | 'expiryDate', value: Date | null | undefined): void;
3058
+ setTempLicenseMonth(field: 'issueDate' | 'expiryDate', value: Date | null | undefined): void;
3059
+ setTempEducationMonth(field: 'startDate' | 'endDate', value: Date | null | undefined): void;
3060
+ confirmAllCertifications(): Promise<void>;
3061
+ confirmAllLicenses(): Promise<void>;
3062
+ private buildSectionQuery;
3063
+ private buildUserName;
3064
+ private getCreatedId;
3065
+ private getEntityId;
3066
+ private reindexServerIdsAfterDelete;
3067
+ private reindexSavedFlagsAfterDelete;
3068
+ private markItemSaved;
3069
+ hasUnsavedWorkItem(index: number): boolean;
3070
+ hasUnsavedEducationItem(index: number): boolean;
3071
+ hasUnsavedCertificationItem(index: number): boolean;
3072
+ hasUnsavedLicenseItem(index: number): boolean;
3073
+ hasUnsavedSkillItem(index: number): boolean;
3074
+ hasUnsavedToolItem(index: number): boolean;
3075
+ private mapSavedWorkToPreview;
3076
+ private mapSavedEducationToPreview;
3077
+ private mapSavedCertificationToPreview;
3078
+ private mapSavedLicenseToPreview;
3079
+ private normalizedText;
3080
+ private workSignature;
3081
+ private educationSignature;
3082
+ private certificationSignature;
3083
+ private licenseSignature;
3084
+ private mergeSavedAndCurrent;
3085
+ private ensureWorkServerId;
3086
+ private ensureEducationServerId;
3087
+ private ensureCertificationServerId;
3088
+ private ensureLicenseServerId;
3089
+ private ensureSkillServerId;
3090
+ private ensureToolServerId;
3091
+ private loadSavedSectionsFromApis;
3092
+ formatMonthYear(value: string | null | undefined): string;
3093
+ private confirmDelete;
3094
+ private jobEditor;
3095
+ isAddingJob(): boolean;
3096
+ editingJobIndex(): number | null;
3097
+ tempJob(): WorkExperience$1 | null;
3098
+ addJob(): void;
3099
+ startEditJob(jobIndex: number): void;
3100
+ cancelEditJob(): void;
3101
+ saveEditJob(): Promise<void>;
3102
+ deleteJob(index: number): void;
3103
+ updateTempResponsibilities(value: string): void;
3104
+ patchTempJob(patch: Partial<WorkExperience$1>): void;
3105
+ onWorkExperienceFileSelected(event: Event): void;
3106
+ setTempJobIsCurrent(isCurrent: boolean): void;
3107
+ private skillEditor;
3108
+ isSkillEditorOpen(): boolean;
3109
+ isAddingSkill(): boolean;
3110
+ editingSkillIndex(): number | null;
3111
+ skillForm(): SkillToolEditorData | null;
3112
+ patchSkillForm(patch: Partial<SkillToolEditorData>): void;
3113
+ openSkillEditor(index: number): void;
3114
+ addSkill(): void;
3115
+ closeSkillEditor(): void;
3116
+ setTempSkillStars(stars: number): void;
3117
+ saveSkillEditor(): Promise<void>;
3118
+ private reindexSkillMetaAfterDelete;
3119
+ deleteSkill(index: number): void;
3120
+ private toolEditor;
3121
+ isToolEditorOpen(): boolean;
3122
+ isAddingTool(): boolean;
3123
+ editingToolIndex(): number | null;
3124
+ toolForm(): SkillToolEditorData | null;
3125
+ patchToolForm(patch: Partial<SkillToolEditorData>): void;
3126
+ openToolEditor(index: number): void;
3127
+ addTool(): void;
3128
+ closeToolEditor(): void;
3129
+ setTempToolStars(stars: number): void;
3130
+ confirmAllSkills(): Promise<void>;
3131
+ confirmAllTools(): Promise<void>;
3132
+ saveToolEditor(): Promise<void>;
3133
+ private reindexToolMetaAfterDelete;
3134
+ deleteTool(index: number): void;
3135
+ private certificationEditor;
3136
+ isAddingCertification(): boolean;
3137
+ editingCertificationIndex(): number | null;
3138
+ tempCertification(): Certification$3 | null;
3139
+ private normalizeNullableString;
3140
+ private normalizeMonthInput;
3141
+ addCertification(): void;
3142
+ startEditCertification(index: number): void;
3143
+ cancelEditCertification(): void;
3144
+ patchTempCertification(patch: Partial<Certification$3>): void;
3145
+ onCertificationFileSelected(event: Event): void;
3146
+ saveCertificationEditor(): Promise<void>;
3147
+ deleteCertification(index: number): void;
3148
+ private licenseEditor;
3149
+ isAddingLicense(): boolean;
3150
+ editingLicenseIndex(): number | null;
3151
+ tempLicense(): License$1 | null;
3152
+ addLicense(): void;
3153
+ startEditLicense(index: number): void;
3154
+ cancelEditLicense(): void;
3155
+ patchTempLicense(patch: Partial<License$1>): void;
3156
+ onLicenseFileSelected(event: Event): void;
3157
+ saveLicenseEditor(): Promise<void>;
3158
+ deleteLicense(index: number): void;
3159
+ private educationEditor;
3160
+ isAddingEducation(): boolean;
3161
+ editingEducationIndex(): number | null;
3162
+ tempEducation(): Education$1 | null;
3163
+ addEducation(): void;
3164
+ startEditEducation(index: number): void;
3165
+ cancelEditEducation(): void;
3166
+ patchTempEducation(patch: Partial<Education$1>): void;
3167
+ onEducationFileSelected(event: Event): void;
3168
+ saveEducation(): Promise<void>;
3169
+ deleteEducation(index: number): void;
3170
+ onBackClick(): void;
3171
+ stayOnPreview(): void;
3172
+ goToDashboard(): Promise<void>;
3173
+ proceedBack(): void;
3174
+ onGoToDashboardClick(): void;
3175
+ cancelDashboardRedirect(): void;
3176
+ tempProfile: BasicDetails;
3177
+ isEditMode: i0.WritableSignal<boolean>;
3178
+ toggleEdit(): void;
3179
+ cancel(): void;
3180
+ save(): Promise<void>;
3181
+ private persistWorkExperience;
3182
+ private persistEducation;
3183
+ private persistCertification;
3184
+ private persistLicense;
3185
+ private persistSkill;
3186
+ private persistTool;
3187
+ private saveAWSFile;
3188
+ selectFile(event: any): void;
3189
+ private toAbsoluteFileUrl;
3190
+ private revokeObjectUrl;
3191
+ previewSelectedFile(item: any): void;
3192
+ mapBasicDetailsToUserDetail(data: any): {
3193
+ providerName: string;
3194
+ providerId: string;
3195
+ UserRoleId: any;
3196
+ userDetail: {
3197
+ userBio: any;
3198
+ firstName: any;
3199
+ lastName: any;
3200
+ email: any;
3201
+ address1: any;
3202
+ address2: string;
3203
+ city: any;
3204
+ state: any;
3205
+ zipcode: any;
3206
+ county: string;
3207
+ country: any;
3208
+ latitude: null;
3209
+ longitude: null;
3210
+ yearsActive: number;
3211
+ isInitialSetupCompleted: boolean;
3212
+ id: any;
3213
+ phoneNumber: any;
3214
+ yearsOfExperince: any;
3215
+ userJobTitle: any[];
3216
+ timeZone: string;
3217
+ datePattern: string;
3218
+ dateTimePattern: string;
3219
+ timePattern: string;
3220
+ };
3221
+ };
3222
+ mapBasicDetailsDashboard(data: any): {
3223
+ providerName: string;
3224
+ providerId: string;
3225
+ UserRoleId: any;
3226
+ userDetail: {
3227
+ userBio: any;
3228
+ firstName: any;
3229
+ lastName: any;
3230
+ email: any;
3231
+ address1: any;
3232
+ address2: string;
3233
+ city: any;
3234
+ state: any;
3235
+ zipcode: any;
3236
+ county: string;
3237
+ country: any;
3238
+ latitude: null;
3239
+ longitude: null;
3240
+ yearsActive: number;
3241
+ isInitialSetupCompleted: boolean;
3242
+ id: any;
3243
+ phoneNumber: any;
3244
+ yearsOfExperince: any;
3245
+ userJobTitle: any[];
3246
+ timeZone: string;
3247
+ datePattern: string;
3248
+ dateTimePattern: string;
3249
+ timePattern: string;
3250
+ };
3251
+ };
3252
+ private mapSavedBasicDetailsToPreview;
3253
+ private hasUserDetailPayload;
3254
+ mapWorkExperience(data: any): any;
3255
+ mapEducation(data: any): any;
3256
+ mapCertifications(data: any): any;
3257
+ mapLicenses(data: any): any;
3258
+ mapSkills(data: any): any;
3259
+ mapTools(data: any): any;
3260
+ formatDate(date: string): string | null;
3261
+ workActionLabel(index: number | null): string;
3262
+ educationActionLabel(index: number | null): string;
3263
+ certificationActionLabel(index: number | null): string;
3264
+ licenseActionLabel(index: number | null): string;
3265
+ skillActionLabel(index: number | null): string;
3266
+ toolActionLabel(index: number | null): string;
3267
+ static ɵfac: i0.ɵɵFactoryDeclaration<PreviewComponent, never>;
3268
+ static ɵcmp: i0.ɵɵComponentDeclaration<PreviewComponent, "app-preview", never, { "providerId": { "alias": "providerId"; "required": false; }; "providerName": { "alias": "providerName"; "required": false; }; "roleData": { "alias": "roleData"; "required": false; }; "cloudfrontUrl": { "alias": "cloudfrontUrl"; "required": false; }; }, { "backToParent": "backToParent"; }, never, never, true, never>;
3269
+ }
3270
+
3265
3271
  declare class AssetUrlsService {
3266
3272
  private roleContextService;
3267
3273
  private readonly base;
@@ -3308,7 +3314,7 @@ declare class CommonPipesModule {
3308
3314
 
3309
3315
  declare class InitialProcessModule {
3310
3316
  static ɵfac: i0.ɵɵFactoryDeclaration<InitialProcessModule, never>;
3311
- 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 PreviewComponent], [typeof i2.CommonModule, typeof _angular_forms.FormsModule, typeof _angular_forms.ReactiveFormsModule, typeof i18.RouterModule, typeof UsMapModule, typeof i20.NgSelectModule, typeof i21.BsDatepickerModule, typeof Ng2LoadingSpinnerModule, typeof LoaderModule, typeof CustomPipesModule, typeof NgxStarsModule, typeof i26.TooltipModule, typeof i27.TabsModule, typeof i28.AccordionModule, typeof GooglePlaceModule, typeof i30.GoogleMapsModule, typeof TextMaskModule, typeof SignaturePadModule, typeof CommonPipesModule], [typeof InitialProcessComponent]>;
3317
+ 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 PreviewComponent, typeof CommonPipesModule], [typeof InitialProcessComponent]>;
3312
3318
  static ɵinj: i0.ɵɵInjectorDeclaration<InitialProcessModule>;
3313
3319
  }
3314
3320
 
@@ -3359,5 +3365,5 @@ declare class VerifyEmailComponent implements OnInit, OnDestroy {
3359
3365
  static ɵcmp: i0.ɵɵComponentDeclaration<VerifyEmailComponent, "app-verify-email", never, {}, {}, never, never, true, never>;
3360
3366
  }
3361
3367
 
3362
- export { AppType, InitialProcessComponent, InitialProcessModule, LIBRARY_CONFIG, MustChangePasswordComponent, VerifyEmailComponent };
3368
+ export { AppType, InitialProcessComponent, InitialProcessModule, LIBRARY_CONFIG, MustChangePasswordComponent, PreviewComponent, VerifyEmailComponent };
3363
3369
  export type { LibraryConfig };