@idsoftsource/initial-process 2.4.7 → 2.4.9

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
2
  import { InjectionToken, OnInit, ElementRef, EventEmitter, TemplateRef, OnDestroy, AfterViewInit, Injector, OnChanges, ChangeDetectorRef, SimpleChanges, ViewContainerRef, ComponentFactoryResolver, Renderer2, ModuleWithProviders, PipeTransform, NgZone } from '@angular/core';
3
3
  import * as _angular_forms from '@angular/forms';
4
- import { FormGroup, FormBuilder, FormControl, FormArray, UntypedFormGroup, UntypedFormBuilder, ControlValueAccessor, NgForm, AbstractControl } from '@angular/forms';
4
+ import { FormGroup, FormBuilder, AbstractControl, FormControl, FormArray, UntypedFormGroup, UntypedFormBuilder, ControlValueAccessor, NgForm } from '@angular/forms';
5
5
  import * as i18 from '@angular/router';
6
- import { Router, RouterOutlet } from '@angular/router';
6
+ import { Router, ActivatedRoute, 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, AuthLogoutService, RoleContextModel } from '@rangs/auth0-lib';
@@ -305,6 +305,8 @@ declare class UserDetailService {
305
305
  resetPassword(model: any): Observable<Result>;
306
306
  private buildParams;
307
307
  getByUserId(userId: string, query?: any): Observable<UserAccountReadModel>;
308
+ getAuth0UserDetails(email: string): Observable<any>;
309
+ claimAccount(model: any): Observable<Result>;
308
310
  getTermsAndConditions(query: {
309
311
  type: number;
310
312
  }): Observable<TermsandConditionModel>;
@@ -970,7 +972,7 @@ declare class CredentialingStore {
970
972
  static ɵprov: i0.ɵɵInjectableDeclaration<CredentialingStore>;
971
973
  }
972
974
 
973
- interface AppBranding$1 {
975
+ interface AppBranding {
974
976
  logo: string;
975
977
  displayName: string;
976
978
  }
@@ -1113,7 +1115,7 @@ declare class InitialProcessComponent implements OnInit {
1113
1115
  }[];
1114
1116
  contractorCategories: ContractorSubCategoryReadModel[];
1115
1117
  isLoadingSubCategories: boolean;
1116
- appBrandingMap: Record<string, AppBranding$1>;
1118
+ appBrandingMap: Record<string, AppBranding>;
1117
1119
  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, authLogoutService: AuthLogoutService, credStore: CredentialingStore, libConfig: LibraryConfig);
1118
1120
  selectedContract: any;
1119
1121
  changeContractor(event?: any[]): void;
@@ -1216,248 +1218,57 @@ declare class InitialProcessComponent implements OnInit {
1216
1218
  static ɵcmp: i0.ɵɵComponentDeclaration<InitialProcessComponent, "app-initial-process", never, {}, {}, never, never, false, never>;
1217
1219
  }
1218
1220
 
1219
- interface AppBranding {
1220
- logo: string;
1221
- displayName: string;
1222
- }
1223
1221
  declare class ClaimProcessComponent implements OnInit {
1222
+ private fb;
1223
+ private route;
1224
1224
  private router;
1225
1225
  private userDetailService;
1226
- private formBuilder;
1227
- private fileService;
1228
- private providerService;
1229
1226
  private roleService;
1230
1227
  private modalService;
1231
- private contractorSubCategoryService;
1232
- private providerContractorSubCategoryService;
1233
- private authService;
1234
- private tokenService;
1235
- private roleContextService;
1236
- private authLogoutService;
1237
- private credStore;
1238
- private libConfig;
1239
- signatureFileId: any;
1240
- signatureUrl: any;
1241
- private signatureDirty;
1242
- isAgreeEnabled: boolean;
1243
- isneeded: boolean;
1244
- isLogoRequired: boolean;
1245
- logo: any;
1246
- private readonly uploadToAws;
1247
- selectedRoleValue: string | null;
1248
- selectedRole: any;
1249
- isUserSelected: boolean;
1250
- title: string;
1251
- state: any;
1252
- logoName: any;
1253
- branding: {
1254
- logo: string;
1255
- displayName: string;
1256
- };
1257
- credentialingData: any;
1258
- modalRef?: BsModalRef;
1259
- DefaultButtonSpinnerConfig: {
1260
- spinnerColor: string;
1261
- spinnerSize: string;
1262
- buttonText: string;
1263
- };
1264
- view: number;
1265
- isInitializing: boolean;
1228
+ libConfig: LibraryConfig;
1229
+ claimForm: FormGroup;
1230
+ roles: any[];
1231
+ noEmailError: boolean;
1232
+ accountNotFound: boolean;
1233
+ userEmail: string;
1234
+ isLoadingUser: boolean;
1235
+ isSubmitting: boolean;
1236
+ userLookupError: string | null;
1237
+ submitError: string | null;
1238
+ submitSuccess: boolean;
1239
+ showPassword: boolean;
1240
+ showConfirmPassword: boolean;
1266
1241
  validatePage: number;
1267
- isBusiness: boolean;
1268
- isImageRequired: boolean;
1269
- user: any;
1270
- assignProviderRoleModel: any;
1271
- provider: ProviderModel;
1272
- userId: any;
1273
- fileName: string;
1274
1242
  model: {
1275
1243
  acceptTerms: boolean;
1276
1244
  privacy: boolean;
1277
1245
  };
1278
- showContent: boolean;
1279
- showLoader: boolean;
1280
- isShowDelete: boolean;
1281
- path: string;
1282
- isCopy: boolean;
1283
- rolesApiCall: Subscription;
1284
- roles: any;
1285
- canvasRef: ElementRef;
1286
- signaturePad: SignaturePad;
1287
- signaturePadData: {
1288
- publicUrl: null;
1246
+ termsAndConditionTitle: string;
1247
+ modelRef: BsModalRef;
1248
+ privacyAndTerms: PrivacyAndTerms;
1249
+ title: string;
1250
+ branding: {
1251
+ logo: string;
1252
+ displayName: string;
1289
1253
  };
1290
- points: never[];
1291
- showlogout: boolean;
1292
- pointsChange: EventEmitter<string>;
1293
- cleared: EventEmitter<any>;
1294
- companyForm: FormGroup;
1295
- userForm: FormGroup;
1296
- fileData: any;
1297
- fileDataUser: File | null;
1298
- fileDataLogo: File | null;
1299
- zipcodeMask: RegExp[];
1300
- options: {
1254
+ googleOptions: {
1301
1255
  componentRestrictions: {
1302
1256
  country: string[];
1303
1257
  };
1304
1258
  };
1305
- appType: any;
1306
- users: LookupItem;
1307
- providerError: any;
1308
- userError: any;
1309
- uploadError: string | null;
1310
- providerRoleId: any;
1311
- termsAndConditionTitle: string;
1312
- showTermsAndConditions: boolean;
1313
- termsAndConditions: string[];
1314
- isTermsAccept: boolean;
1315
- isPrivacyAccept: boolean;
1316
- skipRole: boolean;
1317
- modelRef: BsModalRef;
1318
- userRoles: any;
1319
- cloudfront: any;
1320
- private destroy$;
1321
- currentUserRoles: any;
1322
- userViewRoles: ({
1323
- name: string;
1324
- value: string;
1325
- img: string;
1326
- selected: boolean;
1327
- code: null;
1328
- id: string;
1329
- roleId: string;
1330
- } | {
1331
- name: string;
1332
- value: string;
1333
- img: string;
1334
- selected: boolean;
1335
- code: ProviderType;
1336
- id: string;
1337
- roleId: string;
1338
- })[];
1339
- onCredentialingBack(): void;
1340
- selectedUserRole(role: any): void;
1341
- privacyAndTerms: PrivacyAndTerms;
1342
- setPrivacyAndTerms(appType: string): void;
1343
- private getDefaultPrivacy;
1344
- setRoleContext(roleId: any, name: any): void;
1345
- selectedContractorCategories: string[];
1346
- selectedContractorSubCategories: {
1347
- name: string;
1348
- id: string;
1349
- selected: boolean;
1350
- selectAll: boolean;
1351
- items: ContractorSubCategoryReadModel[];
1352
- }[];
1353
- contractorSubCategories: {
1354
- name: any;
1355
- id: any;
1356
- selected: boolean;
1357
- selectAll: boolean;
1358
- items: ContractorSubCategoryReadModel[];
1359
- }[];
1360
- contractorCategories: ContractorSubCategoryReadModel[];
1361
- isLoadingSubCategories: boolean;
1362
- appBrandingMap: Record<string, AppBranding>;
1363
- 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, authLogoutService: AuthLogoutService, credStore: CredentialingStore, libConfig: LibraryConfig);
1364
- selectedContract: any;
1365
- changeContractor(event?: any[]): void;
1366
- selectAll(event: any, items: any[]): void;
1367
- unCheckedEvent(event: any, items: any): void;
1368
- findCategory(contractorCategories: any): boolean;
1369
- getUserRoles(): void;
1370
- ngOnInit(): Promise<void>;
1371
- getUser(): Promise<void>;
1259
+ constructor(fb: FormBuilder, route: ActivatedRoute, router: Router, userDetailService: UserDetailService, roleService: RolesService, modalService: BsModalService, libConfig: LibraryConfig);
1260
+ ngOnInit(): void;
1372
1261
  get f(): {
1373
- [key: string]: _angular_forms.AbstractControl<any, any, any>;
1374
- };
1375
- get u(): {
1376
- [key: string]: _angular_forms.AbstractControl<any, any, any>;
1377
- };
1378
- ngAfterViewInit(): void;
1379
- intializeSignaturePad(): void;
1380
- clearPad(): void;
1381
- private applyPoints;
1382
- private emitPoints;
1383
- uploadSignImage(event: any): void;
1384
- uploadUserImage(event: any): void;
1385
- uploadLogo(event: any): void;
1386
- AddressChange(address: any): void;
1387
- AddressChangeUser(address: any): void;
1388
- previous(): void;
1389
- next(page?: number): void;
1390
- handleSignatureAndMoveToNext(): Promise<void>;
1391
- saveSignatureAndIncrement(): Promise<boolean>;
1392
- private dataURLtoFile;
1393
- uploadFileBrowseHandler(): Promise<void>;
1394
- saveAWSLogo(): Promise<boolean>;
1395
- formatPhone(event: any, form: FormGroup): void;
1396
- saveAWSHeadShot(): Promise<void>;
1397
- saveAWSSignature(): Promise<void>;
1398
- saveSignature(): void;
1399
- private saveInitial;
1400
- bindProviderDetails(): {
1401
- userName: string;
1402
- providerType: ProviderType;
1403
- providerName: any;
1404
- address1: any;
1405
- address2: any;
1406
- city: any;
1407
- state: any;
1408
- zipcode: any;
1409
- county: any;
1410
- subDivision: any;
1411
- country: any;
1412
- latitude: any;
1413
- longitude: any;
1414
- phoneNumber: any;
1415
- userAddress1: any;
1416
- userAddress2: any;
1417
- userCity: any;
1418
- userState: any;
1419
- userZipcode: any;
1420
- userCounty: any;
1421
- userCountry: any;
1422
- headshotUrl: any;
1423
- userMobile: any;
1424
- userEmailId: any;
1425
- logoId: any;
1426
- logoFileName: any;
1427
- logoUrl: any;
1262
+ [key: string]: AbstractControl<any, any, any>;
1428
1263
  };
1429
- isProviderCall: boolean;
1430
- isResponse: boolean;
1431
- saveBusiness(): void;
1264
+ setPrivacyAndTerms(appType: string): void;
1265
+ openModal(template: TemplateRef<any>, title: string, event: Event): void;
1266
+ closeModal(): void;
1267
+ lookupUser(email: string): void;
1432
1268
  getRoles(): void;
1433
- formatDateTime(date: Date): {
1434
- mmddyyyy: string;
1435
- mmddyyyyhhmmtt: string;
1436
- hhmmtt: string;
1437
- };
1438
- bindUserDetails(): UserDetailModel;
1439
- saveFinal(): void;
1440
- dashboard(): void;
1441
- changeAddressUser(): void;
1442
- scrollProgress: number;
1443
- private autoScrollRaf;
1444
- private autoScrollDelay;
1445
- onTermsScroll(event: Event): void;
1446
- openModal(template: TemplateRef<any>, title: string, event: any): void;
1447
- startAutoScroll(): void;
1448
- stopAutoScroll(): void;
1449
- scrollToBottomClick(event: Event): void;
1450
- agree(title: string): void;
1451
- decline(title: string): void;
1452
- logout(): Promise<void>;
1453
- getContractorSubCategories(): void;
1454
- saveContractorSubCategory(id: any): void;
1455
- private get STORAGE_KEY();
1456
- private saveState;
1457
- private restoreState;
1458
- private clearState;
1459
- onBeforeUnload(event: BeforeUnloadEvent): void;
1460
- ngOnDestroy(): void;
1269
+ onAddressChange(address: any): void;
1270
+ formatPhone(event: Event): void;
1271
+ onSubmit(): void;
1461
1272
  static ɵfac: i0.ɵɵFactoryDeclaration<ClaimProcessComponent, never>;
1462
1273
  static ɵcmp: i0.ɵɵComponentDeclaration<ClaimProcessComponent, "app-claim-process", never, {}, {}, never, never, false, never>;
1463
1274
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idsoftsource/initial-process",
3
- "version": "2.4.7",
3
+ "version": "2.4.9",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.0.0",
6
6
  "@angular/core": "^20.0.0",