@idsoftsource/initial-process 2.4.8 → 2.5.1
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/fesm2022/idsoftsource-initial-process.mjs +460 -1702
- package/fesm2022/idsoftsource-initial-process.mjs.map +1 -1
- package/index.d.ts +69 -230
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, OnInit, ElementRef, EventEmitter, TemplateRef, OnDestroy, AfterViewInit, Injector,
|
|
2
|
+
import { InjectionToken, OnInit, ElementRef, EventEmitter, TemplateRef, OnDestroy, AfterViewInit, Injector, ChangeDetectorRef, OnChanges, 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
|
|
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
|
|
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
|
|
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,84 @@ 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
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
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
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1242
|
+
userHasExistingDetails: boolean;
|
|
1243
|
+
resetPasswordEnabled: boolean;
|
|
1244
|
+
private pendingUserRole;
|
|
1245
|
+
private rolesLoaded;
|
|
1246
|
+
profileFileName: string;
|
|
1247
|
+
profileFile: File | null;
|
|
1248
|
+
businessLogoName: string;
|
|
1249
|
+
businessLogoFile: File | null;
|
|
1274
1250
|
model: {
|
|
1275
1251
|
acceptTerms: boolean;
|
|
1276
1252
|
privacy: boolean;
|
|
1277
1253
|
};
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
canvasRef: ElementRef;
|
|
1286
|
-
signaturePad: SignaturePad;
|
|
1287
|
-
signaturePadData: {
|
|
1288
|
-
publicUrl: null;
|
|
1254
|
+
termsAndConditionTitle: string;
|
|
1255
|
+
modelRef: BsModalRef;
|
|
1256
|
+
privacyAndTerms: PrivacyAndTerms;
|
|
1257
|
+
title: string;
|
|
1258
|
+
branding: {
|
|
1259
|
+
logo: string;
|
|
1260
|
+
displayName: string;
|
|
1289
1261
|
};
|
|
1290
|
-
|
|
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: {
|
|
1262
|
+
googleOptions: {
|
|
1301
1263
|
componentRestrictions: {
|
|
1302
1264
|
country: string[];
|
|
1303
1265
|
};
|
|
1304
1266
|
};
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
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>;
|
|
1267
|
+
/** True when the selected role requires business information. */
|
|
1268
|
+
get isBusinessRole(): boolean;
|
|
1269
|
+
/** Password fields are shown when there are no existing details OR when the reset toggle is on. */
|
|
1270
|
+
get showPasswordFields(): boolean;
|
|
1271
|
+
constructor(fb: FormBuilder, route: ActivatedRoute, router: Router, userDetailService: UserDetailService, roleService: RolesService, modalService: BsModalService, libConfig: LibraryConfig);
|
|
1272
|
+
private static readonly SESSION_KEY;
|
|
1273
|
+
ngOnInit(): void;
|
|
1372
1274
|
get f(): {
|
|
1373
|
-
[key: string]:
|
|
1275
|
+
[key: string]: AbstractControl<any, any, any>;
|
|
1374
1276
|
};
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
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;
|
|
1428
|
-
};
|
|
1429
|
-
isProviderCall: boolean;
|
|
1430
|
-
isResponse: boolean;
|
|
1431
|
-
saveBusiness(): void;
|
|
1277
|
+
setPrivacyAndTerms(appType: string): void;
|
|
1278
|
+
openModal(template: TemplateRef<any>, title: string, event: Event): void;
|
|
1279
|
+
closeModal(): void;
|
|
1280
|
+
/** Called when the "I accept" checkbox is toggled directly. */
|
|
1281
|
+
onTermsCheckboxChange(event: Event): void;
|
|
1282
|
+
lookupUser(email: string): void;
|
|
1432
1283
|
getRoles(): void;
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
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;
|
|
1284
|
+
/**
|
|
1285
|
+
* Matches the user's existing role against the loaded roles list.
|
|
1286
|
+
* If the role is missing from the API result it is injected so the
|
|
1287
|
+
* dropdown still shows the correct value.
|
|
1288
|
+
*/
|
|
1289
|
+
private applyUserRole;
|
|
1290
|
+
private updatePasswordValidators;
|
|
1291
|
+
private updateBusinessRoleValidators;
|
|
1292
|
+
toggleResetPassword(): void;
|
|
1293
|
+
onAddressChange(address: any): void;
|
|
1294
|
+
onBusinessAddressChange(address: any): void;
|
|
1295
|
+
onProfileFileChange(event: Event): void;
|
|
1296
|
+
onBusinessLogoChange(event: Event): void;
|
|
1297
|
+
formatPhone(event: Event): void;
|
|
1298
|
+
onSubmit(): void;
|
|
1461
1299
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClaimProcessComponent, never>;
|
|
1462
1300
|
static ɵcmp: i0.ɵɵComponentDeclaration<ClaimProcessComponent, "app-claim-process", never, {}, {}, never, never, false, never>;
|
|
1463
1301
|
}
|
|
@@ -2499,6 +2337,7 @@ declare class RoleSelectComponent implements OnInit {
|
|
|
2499
2337
|
private roleContextService;
|
|
2500
2338
|
private providerdetail;
|
|
2501
2339
|
private fb;
|
|
2340
|
+
private cdr;
|
|
2502
2341
|
isLoaded: boolean;
|
|
2503
2342
|
previewUrl: string | null;
|
|
2504
2343
|
isImageLoading: boolean;
|
|
@@ -2575,7 +2414,7 @@ declare class RoleSelectComponent implements OnInit {
|
|
|
2575
2414
|
roleId: string;
|
|
2576
2415
|
})[];
|
|
2577
2416
|
provider: any;
|
|
2578
|
-
constructor(store: CredentialingStore, providerService: ProvidersService, userService: UserService, userDocumentService: UserDocumentService, router: Router, industrydata: IndustryService, userDetailService: UserDetailService, fileService: FileService, tokenService: TokenService, roleContextService: RoleContextService, providerdetail: FrontEndProvidersService, fb: FormBuilder);
|
|
2417
|
+
constructor(store: CredentialingStore, providerService: ProvidersService, userService: UserService, userDocumentService: UserDocumentService, router: Router, industrydata: IndustryService, userDetailService: UserDetailService, fileService: FileService, tokenService: TokenService, roleContextService: RoleContextService, providerdetail: FrontEndProvidersService, fb: FormBuilder, cdr: ChangeDetectorRef);
|
|
2579
2418
|
cloudfrontUrl: string;
|
|
2580
2419
|
providerId: any;
|
|
2581
2420
|
providerName: string;
|