@idsoftsource/initial-process 1.8.2 → 1.8.5
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,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, OnInit, ElementRef, EventEmitter, TemplateRef, Injector, OnChanges,
|
|
2
|
+
import { InjectionToken, OnInit, ElementRef, EventEmitter, TemplateRef, AfterViewInit, Injector, OnChanges, 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, NgForm, AbstractControl } from '@angular/forms';
|
|
5
5
|
import * as i17 from '@angular/router';
|
|
@@ -884,6 +884,11 @@ declare class InitialProcessComponent implements OnInit {
|
|
|
884
884
|
logout(): Promise<void>;
|
|
885
885
|
getContractorSubCategories(): void;
|
|
886
886
|
saveContractorSubCategory(id: any): void;
|
|
887
|
+
private readonly STORAGE_KEY;
|
|
888
|
+
private preRestoreView;
|
|
889
|
+
private saveState;
|
|
890
|
+
private restoreState;
|
|
891
|
+
private clearState;
|
|
887
892
|
ngOnDestroy(): void;
|
|
888
893
|
static ɵfac: i0.ɵɵFactoryDeclaration<InitialProcessComponent, never>;
|
|
889
894
|
static ɵcmp: i0.ɵɵComponentDeclaration<InitialProcessComponent, "app-initial-process", never, {}, {}, never, never, false, never>;
|
|
@@ -1126,6 +1131,12 @@ interface Tool {
|
|
|
1126
1131
|
rating?: number;
|
|
1127
1132
|
}
|
|
1128
1133
|
declare class CredentialingStore {
|
|
1134
|
+
private readonly STORAGE_KEY;
|
|
1135
|
+
completedSteps: i0.WritableSignal<number[]>;
|
|
1136
|
+
constructor();
|
|
1137
|
+
private saveToStorage;
|
|
1138
|
+
private loadFromStorage;
|
|
1139
|
+
clearStorage(): void;
|
|
1129
1140
|
toolsList: i0.WritableSignal<Tool[]>;
|
|
1130
1141
|
uploadOption: i0.WritableSignal<"manual" | "upload" | null>;
|
|
1131
1142
|
certifications: i0.WritableSignal<Certification$2[]>;
|
|
@@ -1258,15 +1269,6 @@ declare class CredentialingComponent implements OnInit {
|
|
|
1258
1269
|
static ɵcmp: i0.ɵɵComponentDeclaration<CredentialingComponent, "app-credentialing", never, { "signatureFileId": { "alias": "signatureFileId"; "required": false; }; "signatureUrl": { "alias": "signatureUrl"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "back": "back"; }, never, never, false, never>;
|
|
1259
1270
|
}
|
|
1260
1271
|
|
|
1261
|
-
declare class StepperComponent {
|
|
1262
|
-
store: CredentialingStore;
|
|
1263
|
-
steps: string[];
|
|
1264
|
-
constructor(store: CredentialingStore);
|
|
1265
|
-
goToStep(index: number): void;
|
|
1266
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StepperComponent, never>;
|
|
1267
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StepperComponent, "app-stepper", never, {}, {}, never, never, false, never>;
|
|
1268
|
-
}
|
|
1269
|
-
|
|
1270
1272
|
declare class UserExperienceService {
|
|
1271
1273
|
private httpClient;
|
|
1272
1274
|
private readonly baseUrl;
|
|
@@ -1358,6 +1360,115 @@ declare class EducationStore {
|
|
|
1358
1360
|
static ɵprov: i0.ɵɵInjectableDeclaration<EducationStore>;
|
|
1359
1361
|
}
|
|
1360
1362
|
|
|
1363
|
+
declare class UserDocumentService {
|
|
1364
|
+
private httpClient;
|
|
1365
|
+
private readonly baseUrl;
|
|
1366
|
+
private readonly baseUrlUpdated;
|
|
1367
|
+
constructor(httpClient: HttpClient);
|
|
1368
|
+
createUserDocument(model: any): Observable<Result>;
|
|
1369
|
+
updateUserDocument(model: any): Observable<Result>;
|
|
1370
|
+
getUserDocument(query: GridifyQuery): Observable<{
|
|
1371
|
+
data: any[];
|
|
1372
|
+
}>;
|
|
1373
|
+
private buildParams;
|
|
1374
|
+
getDocumentTypes(maintype: any, providerId: string, searchText?: string): Observable<any>;
|
|
1375
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserDocumentService, never>;
|
|
1376
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UserDocumentService>;
|
|
1377
|
+
}
|
|
1378
|
+
|
|
1379
|
+
interface Certification$1 {
|
|
1380
|
+
id?: string;
|
|
1381
|
+
number: string;
|
|
1382
|
+
issuedBy: string;
|
|
1383
|
+
issuedState: string;
|
|
1384
|
+
expiryDate: string;
|
|
1385
|
+
issueDate: string;
|
|
1386
|
+
mainType: string;
|
|
1387
|
+
forUser: string;
|
|
1388
|
+
status: string;
|
|
1389
|
+
fileId?: any;
|
|
1390
|
+
fileUrl?: string;
|
|
1391
|
+
fileName?: string;
|
|
1392
|
+
notes: string;
|
|
1393
|
+
documentTypeId?: string;
|
|
1394
|
+
documentTypeName?: string;
|
|
1395
|
+
}
|
|
1396
|
+
declare class CertificationStore {
|
|
1397
|
+
userDocumentService: UserDocumentService;
|
|
1398
|
+
private certifications;
|
|
1399
|
+
readonly experiences: i0.Signal<Certification$1[]>;
|
|
1400
|
+
API_URL: any;
|
|
1401
|
+
constructor(userDocumentService: UserDocumentService);
|
|
1402
|
+
loadFromApi(userId: string): void;
|
|
1403
|
+
addExperience(exp: Certification$1): void;
|
|
1404
|
+
updateExperience(index: number, exp: Certification$1): void;
|
|
1405
|
+
getExperience(index: number): Certification$1;
|
|
1406
|
+
clear(): void;
|
|
1407
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CertificationStore, never>;
|
|
1408
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CertificationStore>;
|
|
1409
|
+
}
|
|
1410
|
+
|
|
1411
|
+
interface Certification {
|
|
1412
|
+
id?: string;
|
|
1413
|
+
number: string;
|
|
1414
|
+
issuedBy: string;
|
|
1415
|
+
issuedState: string;
|
|
1416
|
+
expiryDate: string;
|
|
1417
|
+
issueDate: string;
|
|
1418
|
+
mainType: string;
|
|
1419
|
+
forUser: string;
|
|
1420
|
+
status: string;
|
|
1421
|
+
fileId?: any;
|
|
1422
|
+
fileUrl?: string;
|
|
1423
|
+
fileName?: string;
|
|
1424
|
+
notes: string;
|
|
1425
|
+
documentTypeId?: string;
|
|
1426
|
+
documentTypeName?: string;
|
|
1427
|
+
}
|
|
1428
|
+
declare class LicenseStore {
|
|
1429
|
+
userDocumentService: UserDocumentService;
|
|
1430
|
+
private certifications;
|
|
1431
|
+
readonly experiences: i0.Signal<Certification[]>;
|
|
1432
|
+
API_URL: any;
|
|
1433
|
+
constructor(userDocumentService: UserDocumentService);
|
|
1434
|
+
loadFromApi(userId: string): void;
|
|
1435
|
+
addExperience(exp: Certification): void;
|
|
1436
|
+
updateExperience(index: number, exp: Certification): void;
|
|
1437
|
+
getExperience(index: number): Certification;
|
|
1438
|
+
clear(): void;
|
|
1439
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LicenseStore, never>;
|
|
1440
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LicenseStore>;
|
|
1441
|
+
}
|
|
1442
|
+
|
|
1443
|
+
declare class StepperComponent implements AfterViewInit {
|
|
1444
|
+
store: CredentialingStore;
|
|
1445
|
+
private workExperienceStore;
|
|
1446
|
+
private educationStore;
|
|
1447
|
+
private certificationStore;
|
|
1448
|
+
private licenseStore;
|
|
1449
|
+
tabsRow: ElementRef<HTMLElement>;
|
|
1450
|
+
steps: string[];
|
|
1451
|
+
showLockWarning: boolean;
|
|
1452
|
+
private warningTimer;
|
|
1453
|
+
constructor(store: CredentialingStore, workExperienceStore: WorkExperienceStore, educationStore: EducationStore, certificationStore: CertificationStore, licenseStore: LicenseStore);
|
|
1454
|
+
isStepComplete(step: number): boolean;
|
|
1455
|
+
ngAfterViewInit(): void;
|
|
1456
|
+
private scrollActiveTab;
|
|
1457
|
+
get basicDetailsCompleted(): boolean;
|
|
1458
|
+
get completedCount(): number;
|
|
1459
|
+
get progressPercent(): number;
|
|
1460
|
+
get progressOffset(): number;
|
|
1461
|
+
/**
|
|
1462
|
+
* A tab is locked when it is an optional step (index > BASIC_DETAILS_INDEX)
|
|
1463
|
+
* and the user has not yet completed Basic Details.
|
|
1464
|
+
*/
|
|
1465
|
+
isLocked(index: number): boolean;
|
|
1466
|
+
goToStep(index: number): void;
|
|
1467
|
+
private triggerLockWarning;
|
|
1468
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StepperComponent, never>;
|
|
1469
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StepperComponent, "app-stepper", never, {}, {}, never, never, false, never>;
|
|
1470
|
+
}
|
|
1471
|
+
|
|
1361
1472
|
interface CountryModel {
|
|
1362
1473
|
countryCode2: string;
|
|
1363
1474
|
countryCode3: string;
|
|
@@ -1450,6 +1561,7 @@ declare class EducationComponent implements OnInit {
|
|
|
1450
1561
|
getstates(countryCode: any): void;
|
|
1451
1562
|
onCountryChange(countryCode: string): void;
|
|
1452
1563
|
onPreferredDateChange(date: Date): void;
|
|
1564
|
+
private getFileExtension;
|
|
1453
1565
|
private saveAWSFile;
|
|
1454
1566
|
saveAndContinue(): void;
|
|
1455
1567
|
refreshForEdit(): void;
|
|
@@ -1463,54 +1575,6 @@ declare class EducationComponent implements OnInit {
|
|
|
1463
1575
|
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>;
|
|
1464
1576
|
}
|
|
1465
1577
|
|
|
1466
|
-
declare class UserDocumentService {
|
|
1467
|
-
private httpClient;
|
|
1468
|
-
private readonly baseUrl;
|
|
1469
|
-
private readonly baseUrlUpdated;
|
|
1470
|
-
constructor(httpClient: HttpClient);
|
|
1471
|
-
createUserDocument(model: any): Observable<Result>;
|
|
1472
|
-
updateUserDocument(model: any): Observable<Result>;
|
|
1473
|
-
getUserDocument(query: GridifyQuery): Observable<{
|
|
1474
|
-
data: any[];
|
|
1475
|
-
}>;
|
|
1476
|
-
private buildParams;
|
|
1477
|
-
getDocumentTypes(maintype: any, providerId: string, searchText?: string): Observable<any>;
|
|
1478
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserDocumentService, never>;
|
|
1479
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<UserDocumentService>;
|
|
1480
|
-
}
|
|
1481
|
-
|
|
1482
|
-
interface Certification$1 {
|
|
1483
|
-
id?: string;
|
|
1484
|
-
number: string;
|
|
1485
|
-
issuedBy: string;
|
|
1486
|
-
issuedState: string;
|
|
1487
|
-
expiryDate: string;
|
|
1488
|
-
issueDate: string;
|
|
1489
|
-
mainType: string;
|
|
1490
|
-
forUser: string;
|
|
1491
|
-
status: string;
|
|
1492
|
-
fileId?: any;
|
|
1493
|
-
fileUrl?: string;
|
|
1494
|
-
fileName?: string;
|
|
1495
|
-
notes: string;
|
|
1496
|
-
documentTypeId?: string;
|
|
1497
|
-
documentTypeName?: string;
|
|
1498
|
-
}
|
|
1499
|
-
declare class CertificationStore {
|
|
1500
|
-
userDocumentService: UserDocumentService;
|
|
1501
|
-
private certifications;
|
|
1502
|
-
readonly experiences: i0.Signal<Certification$1[]>;
|
|
1503
|
-
API_URL: any;
|
|
1504
|
-
constructor(userDocumentService: UserDocumentService);
|
|
1505
|
-
loadFromApi(userId: string): void;
|
|
1506
|
-
addExperience(exp: Certification$1): void;
|
|
1507
|
-
updateExperience(index: number, exp: Certification$1): void;
|
|
1508
|
-
getExperience(index: number): Certification$1;
|
|
1509
|
-
clear(): void;
|
|
1510
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CertificationStore, never>;
|
|
1511
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CertificationStore>;
|
|
1512
|
-
}
|
|
1513
|
-
|
|
1514
1578
|
declare class CertificationComponent {
|
|
1515
1579
|
roleContextService: RoleContextService;
|
|
1516
1580
|
userDocumentService: UserDocumentService;
|
|
@@ -1573,6 +1637,7 @@ declare class CertificationComponent {
|
|
|
1573
1637
|
selectFile(event: any): void;
|
|
1574
1638
|
removeFile(): void;
|
|
1575
1639
|
hasChanges(): boolean;
|
|
1640
|
+
private getFileExtension;
|
|
1576
1641
|
private saveAWSFile;
|
|
1577
1642
|
saveAndContinue(): void;
|
|
1578
1643
|
back(): void;
|
|
@@ -1760,38 +1825,6 @@ declare class SkillsComponent {
|
|
|
1760
1825
|
static ɵcmp: i0.ɵɵComponentDeclaration<SkillsComponent, "app-skills", never, { "providerId": { "alias": "providerId"; "required": false; }; "providerName": { "alias": "providerName"; "required": false; }; }, {}, never, never, false, never>;
|
|
1761
1826
|
}
|
|
1762
1827
|
|
|
1763
|
-
interface Certification {
|
|
1764
|
-
id?: string;
|
|
1765
|
-
number: string;
|
|
1766
|
-
issuedBy: string;
|
|
1767
|
-
issuedState: string;
|
|
1768
|
-
expiryDate: string;
|
|
1769
|
-
issueDate: string;
|
|
1770
|
-
mainType: string;
|
|
1771
|
-
forUser: string;
|
|
1772
|
-
status: string;
|
|
1773
|
-
fileId?: any;
|
|
1774
|
-
fileUrl?: string;
|
|
1775
|
-
fileName?: string;
|
|
1776
|
-
notes: string;
|
|
1777
|
-
documentTypeId?: string;
|
|
1778
|
-
documentTypeName?: string;
|
|
1779
|
-
}
|
|
1780
|
-
declare class LicenseStore {
|
|
1781
|
-
userDocumentService: UserDocumentService;
|
|
1782
|
-
private certifications;
|
|
1783
|
-
readonly experiences: i0.Signal<Certification[]>;
|
|
1784
|
-
API_URL: any;
|
|
1785
|
-
constructor(userDocumentService: UserDocumentService);
|
|
1786
|
-
loadFromApi(userId: string): void;
|
|
1787
|
-
addExperience(exp: Certification): void;
|
|
1788
|
-
updateExperience(index: number, exp: Certification): void;
|
|
1789
|
-
getExperience(index: number): Certification;
|
|
1790
|
-
clear(): void;
|
|
1791
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LicenseStore, never>;
|
|
1792
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LicenseStore>;
|
|
1793
|
-
}
|
|
1794
|
-
|
|
1795
1828
|
declare class LicensesComponent {
|
|
1796
1829
|
userDocumentService: UserDocumentService;
|
|
1797
1830
|
private userService;
|
|
@@ -1851,6 +1884,7 @@ declare class LicensesComponent {
|
|
|
1851
1884
|
selectFile(event: any): void;
|
|
1852
1885
|
removeFile(): void;
|
|
1853
1886
|
hasChanges(): boolean;
|
|
1887
|
+
private getFileExtension;
|
|
1854
1888
|
private saveAWSFile;
|
|
1855
1889
|
saveAndContinue(): void;
|
|
1856
1890
|
isChecked(id: string): boolean;
|
|
@@ -2382,6 +2416,7 @@ declare class WorkexperienceComponent implements OnInit {
|
|
|
2382
2416
|
selectFile(event: any): void;
|
|
2383
2417
|
hasChanges(): boolean;
|
|
2384
2418
|
saveFile(): void;
|
|
2419
|
+
private getFileExtension;
|
|
2385
2420
|
private saveAWSFile;
|
|
2386
2421
|
removeFile(): void;
|
|
2387
2422
|
edit(index: number): void;
|
|
@@ -3064,6 +3099,14 @@ declare class PreviewComponent {
|
|
|
3064
3099
|
hasUserDetailData: boolean;
|
|
3065
3100
|
isSavingSkill: boolean;
|
|
3066
3101
|
isSavingTool: boolean;
|
|
3102
|
+
showBulkSkillConfirm: boolean;
|
|
3103
|
+
bulkSkillStars: number;
|
|
3104
|
+
bulkSkillYear: number | null;
|
|
3105
|
+
showBulkToolConfirm: boolean;
|
|
3106
|
+
bulkToolStars: number;
|
|
3107
|
+
bulkToolYear: number | null;
|
|
3108
|
+
private workConfirmAllQueue;
|
|
3109
|
+
private educationConfirmAllQueue;
|
|
3067
3110
|
payloadUserId: any;
|
|
3068
3111
|
payloadUserName: any;
|
|
3069
3112
|
cloudfrontUrl: string;
|
|
@@ -3219,6 +3262,8 @@ declare class PreviewComponent {
|
|
|
3219
3262
|
addJob(): void;
|
|
3220
3263
|
startEditJob(jobIndex: number): void;
|
|
3221
3264
|
cancelEditJob(): void;
|
|
3265
|
+
private advanceWorkConfirmQueue;
|
|
3266
|
+
confirmAllWork(): Promise<void>;
|
|
3222
3267
|
saveEditJob(): Promise<void>;
|
|
3223
3268
|
deleteJob(index: number): void;
|
|
3224
3269
|
updateTempResponsibilities(value: string): void;
|
|
@@ -3249,7 +3294,11 @@ declare class PreviewComponent {
|
|
|
3249
3294
|
closeToolEditor(): void;
|
|
3250
3295
|
setTempToolStars(stars: number): void;
|
|
3251
3296
|
confirmAllSkills(): Promise<void>;
|
|
3297
|
+
cancelBulkSkillConfirm(): void;
|
|
3298
|
+
applyBulkSkillConfirm(): Promise<void>;
|
|
3252
3299
|
confirmAllTools(): Promise<void>;
|
|
3300
|
+
cancelBulkToolConfirm(): void;
|
|
3301
|
+
applyBulkToolConfirm(): Promise<void>;
|
|
3253
3302
|
saveToolEditor(): Promise<void>;
|
|
3254
3303
|
private reindexToolMetaAfterDelete;
|
|
3255
3304
|
deleteTool(index: number): void;
|
|
@@ -3284,6 +3333,8 @@ declare class PreviewComponent {
|
|
|
3284
3333
|
addEducation(): void;
|
|
3285
3334
|
startEditEducation(index: number): void;
|
|
3286
3335
|
cancelEditEducation(): void;
|
|
3336
|
+
private advanceEducationConfirmQueue;
|
|
3337
|
+
confirmAllEducation(): Promise<void>;
|
|
3287
3338
|
patchTempEducation(patch: Partial<Education$1>): void;
|
|
3288
3339
|
onEducationFileSelected(event: Event): void;
|
|
3289
3340
|
saveEducation(): Promise<void>;
|