@idsoftsource/initial-process 0.0.1 → 0.0.2

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,9 +1,9 @@
1
1
  import * as i0 from '@angular/core';
2
- import { OnInit, ElementRef, EventEmitter, TemplateRef, Injector, OnChanges, AfterViewInit, ChangeDetectorRef, SimpleChanges, ViewContainerRef, OnDestroy, ComponentFactoryResolver, Renderer2, ModuleWithProviders, PipeTransform, NgZone } from '@angular/core';
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
5
  import * as i16 from '@angular/router';
6
- import { Router, ActivatedRoute, RouterOutlet } from '@angular/router';
6
+ import { Router, RouterOutlet } from '@angular/router';
7
7
  import { Observable, Subscription } from 'rxjs';
8
8
  import { BsModalRef, BsModalService } from 'ngx-bootstrap/modal';
9
9
  import { TokenService, RoleContextService, RoleContextModel } from '@rangs/auth0-lib';
@@ -632,6 +632,25 @@ declare class ProviderContractorSubCategoryService {
632
632
  static ɵprov: i0.ɵɵInjectableDeclaration<ProviderContractorSubCategoryService>;
633
633
  }
634
634
 
635
+ declare enum AppType {
636
+ AdjusterMatch = "AdjusterMatch",
637
+ Ameripro = "Ameripro",
638
+ Bootog = "Bootog",
639
+ DroneSnap = "DroneSnap",
640
+ IDClaims = "IDClaims",
641
+ IDEnergy = "IDEnergy",
642
+ InspectionDepot = "InspectionDepot",
643
+ InspectorMatch = "InspectorMatch",
644
+ MoldDepot = "MoldDepot",
645
+ TermiteDepot = "TermiteDepot",
646
+ VirtualInspector = "VirtualInspector"
647
+ }
648
+
649
+ interface LibraryConfig {
650
+ appType: AppType;
651
+ }
652
+ declare const LIBRARY_CONFIG: InjectionToken<LibraryConfig>;
653
+
635
654
  interface AppBranding {
636
655
  logo: string;
637
656
  displayName: string;
@@ -648,8 +667,8 @@ declare class InitialProcessComponent implements OnInit {
648
667
  private providerContractorSubCategoryService;
649
668
  private authService;
650
669
  private tokenService;
651
- private route;
652
670
  private roleContextService;
671
+ private libConfig;
653
672
  private readonly uploadToAws;
654
673
  selectedRoleValue: string | null;
655
674
  selectedRole: any;
@@ -761,7 +780,7 @@ declare class InitialProcessComponent implements OnInit {
761
780
  }[];
762
781
  contractorCategories: ContractorSubCategoryReadModel[];
763
782
  appBrandingMap: Record<string, AppBranding>;
764
- constructor(router: Router, userDetailService: UserDetailService, formBuilder: FormBuilder, fileService: FileService, providerService: ProvidersService, roleService: RolesService, modalService: BsModalService, contractorSubCategoryService: ProviderContractorSubCategoryService, providerContractorSubCategoryService: ProviderContractorSubCategoryService, authService: AuthService, tokenService: TokenService, route: ActivatedRoute, roleContextService: RoleContextService);
783
+ 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, libConfig: LibraryConfig);
765
784
  selectedContract: any;
766
785
  changeContractor(event?: any[]): void;
767
786
  selectAll(event: any, items: any[]): void;
@@ -1813,7 +1832,7 @@ declare class RoleSelectionComponent implements OnInit {
1813
1832
  };
1814
1833
  private initialJobValue;
1815
1834
  useremail: any;
1816
- jobTypes: any;
1835
+ jobTypes: LookupItem1<number>[];
1817
1836
  selectedJobs: i0.WritableSignal<string[]>;
1818
1837
  selectedJobValues: number[];
1819
1838
  provider: ProviderModel;
@@ -2554,4 +2573,5 @@ declare class MustChangePasswordComponent {
2554
2573
  static ɵcmp: i0.ɵɵComponentDeclaration<MustChangePasswordComponent, "app-must-change-password", never, {}, {}, never, never, true, never>;
2555
2574
  }
2556
2575
 
2557
- export { InitialProcessComponent, InitialProcessModule, MustChangePasswordComponent };
2576
+ export { AppType, InitialProcessComponent, InitialProcessModule, LIBRARY_CONFIG, MustChangePasswordComponent };
2577
+ export type { LibraryConfig };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idsoftsource/initial-process",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.0.0",
6
6
  "@angular/core": "^20.0.0",