@idsoftsource/initial-process 0.0.4 → 0.0.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
@@ -167,6 +167,7 @@ interface PrivacyAndTerms {
167
167
  country?: string | null;
168
168
  email?: string | null;
169
169
  websiteurl?: string | null;
170
+ currentYear?: any | null;
170
171
  }
171
172
 
172
173
  interface GridResult<TReadModel> {
@@ -204,6 +205,9 @@ interface UserDetailReadModel extends MasterModel {
204
205
  email: string;
205
206
  phoneNumber: string;
206
207
  employeeType?: any;
208
+ yearsOfExperince?: any;
209
+ userJobTitle?: any;
210
+ userIndustryNames?: any;
207
211
  id?: any;
208
212
  officeNumber: string;
209
213
  userBio: string;
@@ -279,6 +283,7 @@ declare class UserDetailService {
279
283
  private http;
280
284
  private readonly baseUrl;
281
285
  updateMyProfile(model: UserUpdateModel): Observable<Result>;
286
+ AddUserIndustry(payload: any[]): Observable<Result>;
282
287
  initialSetUpCreateUserDetail(model: any): Observable<Result>;
283
288
  getUserAccounts(query: any): Observable<GridResult<UserAccountReadModel>>;
284
289
  resetPassword(model: any): Observable<Result>;
@@ -413,6 +418,9 @@ interface UserDetailModel extends MasterModel {
413
418
  address2?: any;
414
419
  city?: any;
415
420
  state?: any;
421
+ yearsOfExperince?: any;
422
+ industries?: any;
423
+ userJobTitle?: any;
416
424
  zipcode?: any;
417
425
  county?: any;
418
426
  subDivision?: string;
@@ -626,6 +634,7 @@ declare class ProviderContractorSubCategoryService {
626
634
  private http;
627
635
  private buildParams;
628
636
  getContractorSubCategories(query: any): Observable<GridResult<ProviderContractorSubCategoryReadModel>>;
637
+ get(query: any): Observable<GridResult<any>>;
629
638
  getUserAccounts(query: any): Observable<GridResult<UserAccountReadModel>>;
630
639
  bulkDelete(ids: any[]): Observable<Result>;
631
640
  bulkInsert(models: any[]): Observable<Result>;
@@ -649,6 +658,7 @@ declare enum AppType {
649
658
 
650
659
  interface LibraryConfig {
651
660
  appType: AppType;
661
+ dashboardUrl: any;
652
662
  }
653
663
  declare const LIBRARY_CONFIG: InjectionToken<LibraryConfig>;
654
664
 
@@ -670,6 +680,7 @@ declare class InitialProcessComponent implements OnInit {
670
680
  private tokenService;
671
681
  private roleContextService;
672
682
  private libConfig;
683
+ isAgreeEnabled: boolean;
673
684
  private readonly uploadToAws;
674
685
  selectedRoleValue: string | null;
675
686
  selectedRole: any;
@@ -852,6 +863,7 @@ declare class InitialProcessComponent implements OnInit {
852
863
  saveFinal(): void;
853
864
  dashboard(): void;
854
865
  changeAddressUser(): void;
866
+ onTermsScroll(event: Event): void;
855
867
  openModal(template: TemplateRef<any>, title: string, event: any): void;
856
868
  agree(title: string): void;
857
869
  decline(title: string): void;
@@ -1699,6 +1711,7 @@ declare class ToolsComponent {
1699
1711
  store: CredentialingStore;
1700
1712
  private tokenService;
1701
1713
  private userDetailService;
1714
+ private libConfig;
1702
1715
  roleData: any;
1703
1716
  form: UntypedFormGroup;
1704
1717
  submitted: boolean;
@@ -1736,7 +1749,7 @@ declare class ToolsComponent {
1736
1749
  userToolsPreview: any[];
1737
1750
  userDetails: any;
1738
1751
  userdata: any;
1739
- constructor(toolService: ToolService, userToolService: UserToolService, formBuilder: UntypedFormBuilder, utils: UtilsService, store: CredentialingStore, tokenService: TokenService, userDetailService: UserDetailService);
1752
+ constructor(toolService: ToolService, userToolService: UserToolService, formBuilder: UntypedFormBuilder, utils: UtilsService, store: CredentialingStore, tokenService: TokenService, userDetailService: UserDetailService, libConfig: LibraryConfig);
1740
1753
  ngOnInit(): Promise<void>;
1741
1754
  private ctxProviderName;
1742
1755
  private ctxProviderId;
@@ -1784,6 +1797,15 @@ declare class ToolsComponent {
1784
1797
  static ɵcmp: i0.ɵɵComponentDeclaration<ToolsComponent, "app-tools", never, { "roleData": { "alias": "roleData"; "required": false; }; }, {}, never, never, false, never>;
1785
1798
  }
1786
1799
 
1800
+ declare class IndustryService {
1801
+ private http;
1802
+ private readonly baseUrl;
1803
+ getUserIndustry(query: any): Observable<GridResult<any>>;
1804
+ private buildParams;
1805
+ static ɵfac: i0.ɵɵFactoryDeclaration<IndustryService, never>;
1806
+ static ɵprov: i0.ɵɵInjectableDeclaration<IndustryService>;
1807
+ }
1808
+
1787
1809
  interface UserFormControls {
1788
1810
  firstName: FormControl<string | null>;
1789
1811
  lastName: FormControl<string | null>;
@@ -1798,14 +1820,27 @@ interface UserFormControls {
1798
1820
  latitude: FormControl<any | null>;
1799
1821
  longitude: FormControl<any | null>;
1800
1822
  phoneNumber: FormControl<string | null>;
1823
+ userJobTitle: FormControl<string | null>;
1824
+ yearsOfExperince: FormControl<any | null>;
1825
+ industries: FormControl<any | null>;
1801
1826
  }
1802
1827
  declare class RoleSelectionComponent implements OnInit {
1803
1828
  store: CredentialingStore;
1804
1829
  router: Router;
1830
+ private industrydata;
1805
1831
  private userDetailService;
1806
1832
  private fileService;
1807
1833
  private tokenService;
1808
1834
  private fb;
1835
+ previewUrl: string | null;
1836
+ selectedTab: any;
1837
+ industries: any[];
1838
+ selectedIndustries: any[];
1839
+ isIndustriesLoading: boolean;
1840
+ expYears: LookupItem[];
1841
+ jobTitles: LookupItem1<number>[];
1842
+ selectedIndustryIds: string[];
1843
+ selectedIndustryObjects: any[];
1809
1844
  private readonly uploadToAws;
1810
1845
  backToParent: EventEmitter<void>;
1811
1846
  roleData: any;
@@ -1837,10 +1872,15 @@ declare class RoleSelectionComponent implements OnInit {
1837
1872
  selectedJobs: i0.WritableSignal<string[]>;
1838
1873
  selectedJobValues: number[];
1839
1874
  provider: ProviderModel;
1840
- constructor(store: CredentialingStore, router: Router, userDetailService: UserDetailService, fileService: FileService, tokenService: TokenService, fb: FormBuilder);
1875
+ constructor(store: CredentialingStore, router: Router, industrydata: IndustryService, userDetailService: UserDetailService, fileService: FileService, tokenService: TokenService, fb: FormBuilder);
1841
1876
  ngOnInit(): Promise<void>;
1877
+ getYears(): void;
1878
+ getIndustries(): void;
1879
+ saveUserIndustries(): void;
1880
+ setSelectedIndustries(ids: string[]): void;
1842
1881
  onBackClick(): void;
1843
1882
  getUserDetail(): void;
1883
+ onYearChange(group: any): void;
1844
1884
  hasChanges(): boolean;
1845
1885
  toggleJob(job: any): void;
1846
1886
  isSelected(job: any): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idsoftsource/initial-process",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.0.0",
6
6
  "@angular/core": "^20.0.0",