@idsoftsource/initial-process 2.3.8 → 2.4.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
@@ -896,7 +896,7 @@ declare class CredentialingStore {
896
896
  clearStorage(): void;
897
897
  resetAll(): void;
898
898
  toolsList: i0.WritableSignal<Tool[]>;
899
- uploadOption: i0.WritableSignal<"upload" | "manual" | null>;
899
+ uploadOption: i0.WritableSignal<"manual" | "upload" | null>;
900
900
  certifications: i0.WritableSignal<Certification$2[]>;
901
901
  licenses: i0.WritableSignal<License[]>;
902
902
  stepView: i0.WritableSignal<"add" | "preview">;
@@ -1129,6 +1129,7 @@ declare class InitialProcessComponent implements OnInit {
1129
1129
  [key: string]: _angular_forms.AbstractControl<any, any, any>;
1130
1130
  };
1131
1131
  ngAfterViewInit(): void;
1132
+ intializeSignaturePad(): void;
1132
1133
  clearPad(): void;
1133
1134
  private applyPoints;
1134
1135
  private emitPoints;
@@ -1450,7 +1451,7 @@ declare class UserDocumentService {
1450
1451
  }>;
1451
1452
  bulkDelete(ids: string[]): Observable<Result>;
1452
1453
  private buildParams;
1453
- getDocumentTypes(maintype: any, providerId: string, searchText?: string): Observable<any>;
1454
+ getDocumentTypes(maintype: any, providerId: string, searchText?: string, professionId?: string | null): Observable<any>;
1454
1455
  static ɵfac: i0.ɵɵFactoryDeclaration<UserDocumentService, never>;
1455
1456
  static ɵprov: i0.ɵɵInjectableDeclaration<UserDocumentService>;
1456
1457
  }
@@ -1657,6 +1658,15 @@ declare class EducationComponent implements OnInit {
1657
1658
  static ɵcmp: i0.ɵɵComponentDeclaration<EducationComponent, "app-education", never, { "providerId": { "alias": "providerId"; "required": false; }; "providerName": { "alias": "providerName"; "required": false; }; "cloudfrontUrl": { "alias": "cloudfrontUrl"; "required": false; }; }, {}, never, never, false, never>;
1658
1659
  }
1659
1660
 
1661
+ declare class ProfessionService {
1662
+ private http;
1663
+ private readonly baseUrl;
1664
+ getProfessions(query?: any): Observable<any>;
1665
+ private buildParams;
1666
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProfessionService, never>;
1667
+ static ɵprov: i0.ɵɵInjectableDeclaration<ProfessionService>;
1668
+ }
1669
+
1660
1670
  declare class CertificationComponent {
1661
1671
  roleContextService: RoleContextService;
1662
1672
  userDocumentService: UserDocumentService;
@@ -1668,6 +1678,7 @@ declare class CertificationComponent {
1668
1678
  private fb;
1669
1679
  private fileService;
1670
1680
  private http;
1681
+ private professionService;
1671
1682
  originalFormValue: any;
1672
1683
  states: any[];
1673
1684
  isAdding: i0.WritableSignal<boolean>;
@@ -1708,8 +1719,13 @@ declare class CertificationComponent {
1708
1719
  showpreview: i0.Signal<boolean>;
1709
1720
  userdata: any;
1710
1721
  maxDate: Date;
1711
- constructor(roleContextService: RoleContextService, userDocumentService: UserDocumentService, userService: UserService, store: CredentialingStore, workStore: CertificationStore, tokenService: TokenService, postalCodeService: PostalCodeServices, fb: FormBuilder, fileService: FileService, http: HttpClient);
1722
+ professions: any[];
1723
+ selectedProfessionId: string | null;
1724
+ selectedProfessionValue: string;
1725
+ constructor(roleContextService: RoleContextService, userDocumentService: UserDocumentService, userService: UserService, store: CredentialingStore, workStore: CertificationStore, tokenService: TokenService, postalCodeService: PostalCodeServices, fb: FormBuilder, fileService: FileService, http: HttpClient, professionService: ProfessionService);
1712
1726
  ngOnInit(): Promise<void>;
1727
+ loadProfessions(): void;
1728
+ onProfessionChange(profession: any): void;
1713
1729
  loadDocumentTypes(searchText?: string): void;
1714
1730
  loadDocumentTypesDefault(searchText?: string): void;
1715
1731
  isChecked(id: string): boolean;
@@ -1833,6 +1849,7 @@ declare class SkillsComponent {
1833
1849
  private roleContextService;
1834
1850
  store: CredentialingStore;
1835
1851
  private tokenService;
1852
+ private professionService;
1836
1853
  private userSkillsSub?;
1837
1854
  providerId: string;
1838
1855
  providerName: string;
@@ -1873,8 +1890,11 @@ declare class SkillsComponent {
1873
1890
  emailId: any;
1874
1891
  userId: any;
1875
1892
  showAllSkills: boolean;
1893
+ professions: any[];
1894
+ selectedProfessionId: string | null;
1895
+ selectedProfessionValue: string;
1876
1896
  skillDetailList?: ElementRef;
1877
- constructor(skillSetService: SkillSetService, userSkillSetService: UserSkillSetService, userService: UserService, formBuilder: UntypedFormBuilder, utils: UtilsService, roleContextService: RoleContextService, store: CredentialingStore, tokenService: TokenService);
1897
+ constructor(skillSetService: SkillSetService, userSkillSetService: UserSkillSetService, userService: UserService, formBuilder: UntypedFormBuilder, utils: UtilsService, roleContextService: RoleContextService, store: CredentialingStore, tokenService: TokenService, professionService: ProfessionService);
1878
1898
  private ctxProviderName;
1879
1899
  private ctxProviderId;
1880
1900
  private markTabPristine;
@@ -1901,6 +1921,8 @@ declare class SkillsComponent {
1901
1921
  private scrollToDetailList;
1902
1922
  onSelectedSkillsets(event: Event, skill: SkillSetModel): void;
1903
1923
  createNewSkills(): void;
1924
+ loadProfessions(): void;
1925
+ onProfessionChange(profession: any): void;
1904
1926
  getSkillSets(): void;
1905
1927
  setDefault(): void;
1906
1928
  onContinue(): void;
@@ -2056,6 +2078,7 @@ declare class ToolsComponent {
2056
2078
  private tokenService;
2057
2079
  private roleContextService;
2058
2080
  private userDetailService;
2081
+ private professionService;
2059
2082
  private libConfig;
2060
2083
  roleData: any;
2061
2084
  providerId: any;
@@ -2097,12 +2120,15 @@ declare class ToolsComponent {
2097
2120
  userToolsPreview: any[];
2098
2121
  showDashboardModal: boolean;
2099
2122
  showAllTools: boolean;
2123
+ professions: any[];
2124
+ selectedProfessionId: string | null;
2125
+ selectedProfessionValue: string;
2100
2126
  toolDetailList?: ElementRef;
2101
2127
  userDetails: any;
2102
2128
  userdata: any;
2103
2129
  signatureUrl: any;
2104
2130
  signatureFileId: any;
2105
- constructor(toolService: ToolService, userToolService: UserToolService, formBuilder: UntypedFormBuilder, userService: UserService, utils: UtilsService, store: CredentialingStore, tokenService: TokenService, roleContextService: RoleContextService, userDetailService: UserDetailService, libConfig: LibraryConfig);
2131
+ constructor(toolService: ToolService, userToolService: UserToolService, formBuilder: UntypedFormBuilder, userService: UserService, utils: UtilsService, store: CredentialingStore, tokenService: TokenService, roleContextService: RoleContextService, userDetailService: UserDetailService, professionService: ProfessionService, libConfig: LibraryConfig);
2106
2132
  ngOnInit(): Promise<void>;
2107
2133
  private ctxProviderName;
2108
2134
  private ctxProviderId;
@@ -2138,6 +2164,8 @@ declare class ToolsComponent {
2138
2164
  createNewTools(): void;
2139
2165
  cancel(): void;
2140
2166
  goToAddSkillsMode(): void;
2167
+ loadProfessions(): void;
2168
+ onProfessionChange(profession: any): void;
2141
2169
  getTools(): void;
2142
2170
  onToolContinue(): void;
2143
2171
  saveUserTools(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idsoftsource/initial-process",
3
- "version": "2.3.8",
3
+ "version": "2.4.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.0.0",
6
6
  "@angular/core": "^20.0.0",