@idsoftsource/initial-process 1.4.0 → 1.4.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.
|
@@ -28994,6 +28994,281 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
28994
28994
|
type: Input
|
|
28995
28995
|
}] } });
|
|
28996
28996
|
|
|
28997
|
+
class ResumeDetailService {
|
|
28998
|
+
httpClient;
|
|
28999
|
+
baseUrl = 'Resume';
|
|
29000
|
+
constructor(httpClient) {
|
|
29001
|
+
this.httpClient = httpClient;
|
|
29002
|
+
}
|
|
29003
|
+
uploadResume(model) {
|
|
29004
|
+
return this.httpClient.post(`${this.baseUrl}/ParseResume`, model);
|
|
29005
|
+
}
|
|
29006
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ResumeDetailService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
29007
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ResumeDetailService, providedIn: 'root' });
|
|
29008
|
+
}
|
|
29009
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ResumeDetailService, decorators: [{
|
|
29010
|
+
type: Injectable,
|
|
29011
|
+
args: [{
|
|
29012
|
+
providedIn: 'root',
|
|
29013
|
+
}]
|
|
29014
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }] });
|
|
29015
|
+
|
|
29016
|
+
class FirstComponent {
|
|
29017
|
+
store;
|
|
29018
|
+
tokenService;
|
|
29019
|
+
resumedetail;
|
|
29020
|
+
fileService;
|
|
29021
|
+
isUploading = false;
|
|
29022
|
+
resumeData = null;
|
|
29023
|
+
awsFileUpdate = [];
|
|
29024
|
+
backToParent = new EventEmitter();
|
|
29025
|
+
userId;
|
|
29026
|
+
sample = {
|
|
29027
|
+
"basicDetails": {
|
|
29028
|
+
"firstName": "Jason",
|
|
29029
|
+
"lastName": "Miller",
|
|
29030
|
+
"email": "email@email.com",
|
|
29031
|
+
"phone": "3868683442",
|
|
29032
|
+
"address": "1515 Pacific Ave",
|
|
29033
|
+
"city": "Los Angeles",
|
|
29034
|
+
"state": "CA",
|
|
29035
|
+
"zipCode": "90291",
|
|
29036
|
+
"country": "US",
|
|
29037
|
+
"jobTitle": "Amazon Associate",
|
|
29038
|
+
"yearsOfExperience": 5,
|
|
29039
|
+
"summary": "Experienced Amazon Associate with five years' tenure in a shipping yard setting, maintaining an average picking/packing speed of 98%. Holds a zero error% score in adhering to packing specs and 97% error-free ratio on packing records. Completed a certificate in Warehouse Sanitation and has a valid commercial driver's license."
|
|
29040
|
+
},
|
|
29041
|
+
"workExperience": [
|
|
29042
|
+
{
|
|
29043
|
+
"company": "Amazon",
|
|
29044
|
+
"jobTitle": "Warehouse Associate",
|
|
29045
|
+
"country": "US",
|
|
29046
|
+
"state": "FL",
|
|
29047
|
+
"city": "Miami Gardens",
|
|
29048
|
+
"startDate": "2021-01",
|
|
29049
|
+
"endDate": "2022-07",
|
|
29050
|
+
"isCurrent": false,
|
|
29051
|
+
"responsibilities": [
|
|
29052
|
+
"Performed all warehouse laborer duties such as packing, picking, counting, record keeping, and maintaining a clean area",
|
|
29053
|
+
"Consistently maintained picking/packing speeds in the 98th percentile",
|
|
29054
|
+
"Picked all orders with 100% accuracy despite high speeds",
|
|
29055
|
+
"Maintained a clean work area, meeting 97.5% of the inspection requirements"
|
|
29056
|
+
]
|
|
29057
|
+
},
|
|
29058
|
+
{
|
|
29059
|
+
"company": "Dunrea Laboratories",
|
|
29060
|
+
"jobTitle": "Laboratory Inventory Assistant",
|
|
29061
|
+
"country": "US",
|
|
29062
|
+
"state": "FL",
|
|
29063
|
+
"city": "Orlando",
|
|
29064
|
+
"startDate": "2019-01",
|
|
29065
|
+
"endDate": "2020-12",
|
|
29066
|
+
"isCurrent": false,
|
|
29067
|
+
"responsibilities": [
|
|
29068
|
+
"Full-time lab assistant in a small, regional laboratory tasked with participating in Kaizen Events, Gemba walks, and 5S to remove barriers and improve productivity",
|
|
29069
|
+
"Filled the warehouse helper job description, which involved picking, packing, shipping, inventory management, and cleaning equipment",
|
|
29070
|
+
"Saved 12% on UPS orders by staying on top of special deals",
|
|
29071
|
+
"Cut down storage waste by 23% by switching to a Kanban system"
|
|
29072
|
+
]
|
|
29073
|
+
}
|
|
29074
|
+
],
|
|
29075
|
+
"education": [
|
|
29076
|
+
{
|
|
29077
|
+
"degree": "Associates Degree in Logistics and Supply Chain Fundamentals",
|
|
29078
|
+
"degreeType": "Associate",
|
|
29079
|
+
"institution": "Atlanta Technical College",
|
|
29080
|
+
"country": "US",
|
|
29081
|
+
"state": "GA",
|
|
29082
|
+
"city": "Atlanta",
|
|
29083
|
+
"startDate": "2021-01",
|
|
29084
|
+
"endDate": "2022-07",
|
|
29085
|
+
"achievements": [
|
|
29086
|
+
"Majors: Warehousing Operations, Logistics and Distribution Practices",
|
|
29087
|
+
"Minors: Inventory Systems, Supply Chain Principles"
|
|
29088
|
+
]
|
|
29089
|
+
},
|
|
29090
|
+
{
|
|
29091
|
+
"degree": "Online Graduate Certificate in Warehousing & Supply Chain Management",
|
|
29092
|
+
"degreeType": "Certificate",
|
|
29093
|
+
"institution": "Southern New Hampshire University",
|
|
29094
|
+
"country": "US",
|
|
29095
|
+
"state": "NH",
|
|
29096
|
+
"city": null,
|
|
29097
|
+
"startDate": "2022-07",
|
|
29098
|
+
"endDate": "2022-07",
|
|
29099
|
+
"achievements": []
|
|
29100
|
+
},
|
|
29101
|
+
{
|
|
29102
|
+
"degree": "Warehousing, Operations, and Disposal Course",
|
|
29103
|
+
"degreeType": "Certificate",
|
|
29104
|
+
"institution": "Graduate School USA",
|
|
29105
|
+
"country": "US",
|
|
29106
|
+
"state": "DC",
|
|
29107
|
+
"city": "Washington",
|
|
29108
|
+
"startDate": "2021-01",
|
|
29109
|
+
"endDate": "2021-05",
|
|
29110
|
+
"achievements": []
|
|
29111
|
+
}
|
|
29112
|
+
],
|
|
29113
|
+
"certifications": [
|
|
29114
|
+
{
|
|
29115
|
+
"name": "Warehouse Sanitation Certificate",
|
|
29116
|
+
"issuingOrganization": null,
|
|
29117
|
+
"state": null,
|
|
29118
|
+
"issueDate": null,
|
|
29119
|
+
"expiryDate": null,
|
|
29120
|
+
"credentialId": null
|
|
29121
|
+
}
|
|
29122
|
+
],
|
|
29123
|
+
"licenses": [
|
|
29124
|
+
{
|
|
29125
|
+
"name": "Commercial Driver's License",
|
|
29126
|
+
"issuingAuthority": null,
|
|
29127
|
+
"licenseNumber": null,
|
|
29128
|
+
"state": null,
|
|
29129
|
+
"issueDate": null,
|
|
29130
|
+
"expiryDate": null
|
|
29131
|
+
}
|
|
29132
|
+
],
|
|
29133
|
+
"skills": [
|
|
29134
|
+
"Packing",
|
|
29135
|
+
"Picking",
|
|
29136
|
+
],
|
|
29137
|
+
"tools": ["Packing",
|
|
29138
|
+
"Picking",],
|
|
29139
|
+
"id": "00000000-0000-0000-0000-000000000000"
|
|
29140
|
+
};
|
|
29141
|
+
fileData;
|
|
29142
|
+
resumeName;
|
|
29143
|
+
fileDataUser;
|
|
29144
|
+
model = { fileId: null, fileUrl: null, fileName: null };
|
|
29145
|
+
nextStep = new EventEmitter(); // New Output for Tab Switching
|
|
29146
|
+
constructor(store, tokenService, resumedetail, fileService) {
|
|
29147
|
+
this.store = store;
|
|
29148
|
+
this.tokenService = tokenService;
|
|
29149
|
+
this.resumedetail = resumedetail;
|
|
29150
|
+
this.fileService = fileService;
|
|
29151
|
+
}
|
|
29152
|
+
async ngOnInit() {
|
|
29153
|
+
this.userId = await this.tokenService.getUserId();
|
|
29154
|
+
}
|
|
29155
|
+
selectedRole = null;
|
|
29156
|
+
select(role) {
|
|
29157
|
+
this.selectedRole = role;
|
|
29158
|
+
this.next(this.selectedRole);
|
|
29159
|
+
}
|
|
29160
|
+
next(role) {
|
|
29161
|
+
if (role == 'producer') {
|
|
29162
|
+
this.store.nextStep();
|
|
29163
|
+
}
|
|
29164
|
+
}
|
|
29165
|
+
onFileSelected(event) {
|
|
29166
|
+
this.fileData = event.target.files[0];
|
|
29167
|
+
if (this.fileData) {
|
|
29168
|
+
this.resumeName = this.fileData.name;
|
|
29169
|
+
this.model.fileName = this.resumeName;
|
|
29170
|
+
this.isUploading = true;
|
|
29171
|
+
setTimeout(() => {
|
|
29172
|
+
this.store.addSuccess(true);
|
|
29173
|
+
// this.saveAWSFile();
|
|
29174
|
+
this.uploadresume();
|
|
29175
|
+
}, 1500);
|
|
29176
|
+
}
|
|
29177
|
+
}
|
|
29178
|
+
openFile(fileInput, event) {
|
|
29179
|
+
event.stopPropagation();
|
|
29180
|
+
if (!this.resumeName) {
|
|
29181
|
+
fileInput.click();
|
|
29182
|
+
}
|
|
29183
|
+
// this.saveAWSFile();
|
|
29184
|
+
}
|
|
29185
|
+
handleAutoNavigation() {
|
|
29186
|
+
this.store.nextStep();
|
|
29187
|
+
}
|
|
29188
|
+
uploadresume() {
|
|
29189
|
+
this.store.setProfile(this.sample);
|
|
29190
|
+
this.handleAutoNavigation();
|
|
29191
|
+
}
|
|
29192
|
+
manual() {
|
|
29193
|
+
this.store.addSuccess(false);
|
|
29194
|
+
this.store.nextStep();
|
|
29195
|
+
}
|
|
29196
|
+
async saveAWSFile() {
|
|
29197
|
+
const fileType = this.fileData.type;
|
|
29198
|
+
const fileExtension = fileType.split('/')[1] || fileType.split('/')[0] || 'file';
|
|
29199
|
+
const fileName = `${new uuid().newId()}.${fileExtension}`;
|
|
29200
|
+
const key = `User/${this.userId}/Resume/${fileName}`;
|
|
29201
|
+
const params = { key, contentType: fileType, Expires: 300 };
|
|
29202
|
+
const result = await this.fileService.uploadImageAsync(this.fileData, params);
|
|
29203
|
+
console.log(result);
|
|
29204
|
+
if (!result.success) {
|
|
29205
|
+
return;
|
|
29206
|
+
}
|
|
29207
|
+
const files = {
|
|
29208
|
+
fileName: this.fileData.name,
|
|
29209
|
+
fileSize: this.fileData.size,
|
|
29210
|
+
fileType: this.fileData.type,
|
|
29211
|
+
fileLocation: result.publicUrl,
|
|
29212
|
+
encrypted: true,
|
|
29213
|
+
publicUrl: result.publicUrl
|
|
29214
|
+
};
|
|
29215
|
+
files.fileLocation = files.fileLocation.replace(/^https?:\/\/[^/]+\//, '');
|
|
29216
|
+
files.publicUrl = files.publicUrl.replace(/^https?:\/\/[^/]+\//, '');
|
|
29217
|
+
console.log(files);
|
|
29218
|
+
this.fileService.awsFileUpload([files]).subscribe((res) => {
|
|
29219
|
+
if (res?.[0]?.fileId) {
|
|
29220
|
+
this.model.fileId = res[0].fileId;
|
|
29221
|
+
this.model.fileUrl = res[0].publicUrl;
|
|
29222
|
+
this.model.fileName = this.fileData.name;
|
|
29223
|
+
this.awsFileUpdate.push({
|
|
29224
|
+
fileId: res?.[0]?.fileId,
|
|
29225
|
+
isActive: true,
|
|
29226
|
+
});
|
|
29227
|
+
}
|
|
29228
|
+
this.uploadresume();
|
|
29229
|
+
});
|
|
29230
|
+
}
|
|
29231
|
+
// uploadresume() {
|
|
29232
|
+
// this.isUploading = true;
|
|
29233
|
+
// const model = {
|
|
29234
|
+
// s3Key: this.model.fileUrl,
|
|
29235
|
+
// userId: this.userId
|
|
29236
|
+
// };
|
|
29237
|
+
// this.resumedetail.uploadResume(model).subscribe({
|
|
29238
|
+
// next: (res: any) => {
|
|
29239
|
+
// if (res?.failed) {
|
|
29240
|
+
// this.isUploading = false;
|
|
29241
|
+
// return;
|
|
29242
|
+
// }
|
|
29243
|
+
// this.handleAutoNavigation();
|
|
29244
|
+
// this.resumeData = res as ResumeProfile;
|
|
29245
|
+
// this.store.setProfile(this.resumeData);
|
|
29246
|
+
// console.log('Resume Loaded Successfully:', this.resumeData);
|
|
29247
|
+
// console.log(`Working with ${this.resumeData.basicDetails.firstName}`);
|
|
29248
|
+
// this.isUploading = false;
|
|
29249
|
+
// },
|
|
29250
|
+
// error: (err) => {
|
|
29251
|
+
// console.error('Upload failed:', err);
|
|
29252
|
+
// // 🔥 IMPORTANT: handle 504 or any error
|
|
29253
|
+
// this.isUploading = false;
|
|
29254
|
+
// }
|
|
29255
|
+
// });
|
|
29256
|
+
// }
|
|
29257
|
+
onBackClick() {
|
|
29258
|
+
this.backToParent.emit();
|
|
29259
|
+
}
|
|
29260
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: FirstComponent, deps: [{ token: CredentialingStore }, { token: i6.TokenService }, { token: ResumeDetailService }, { token: FileService }], target: i0.ɵɵFactoryTarget.Component });
|
|
29261
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: FirstComponent, isStandalone: false, selector: "app-first", outputs: { backToParent: "backToParent", nextStep: "nextStep" }, ngImport: i0, template: "<div class=\"wrapper position-relative\">\r\n\r\n <p class=\"subtitle\">Upload your resume and we\u2019ll fill the rest.</p>\r\n <h2 class=\"title\">Upload your resume *</h2>\r\n\r\n <!-- Upload Resume Option -->\r\n<div class=\"option-card\">\r\n\r\n <!-- Hidden file input -->\r\n <input\r\n #fileInput\r\n type=\"file\"\r\n accept=\".pdf,.doc,.docx\"\r\n (change)=\"onFileSelected($event)\"\r\n hidden\r\n />\r\n\r\n <!-- Radio -->\r\n <input type=\"radio\" name=\"resumeOption\" value=\"upload\" />\r\n\r\n <div class=\"card-content\">\r\n <!-- Only these trigger file picker -->\r\n <div class=\"left\" (click)=\"openFile(fileInput, $event)\">\r\n <img src=\"assets/images/icons/upload-resume.png\" style=\"width: 55px;\" alt=\"Upload\" />\r\n </div>\r\n\r\n <div class=\"right\">\r\n <h3 (click)=\"openFile(fileInput, $event)\">Upload my resume</h3>\r\n <p>We\u2019ll extract job titles, experience, and skills.</p>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n <!-- Manual Option -->\r\n <label class=\"option-card\" (click)=\"manual()\">\r\n <input type=\"radio\" name=\"resumeOption\" value=\"manual\" />\r\n\r\n <div class=\"card-content\" (click)=\"manual()\">\r\n <div class=\"left\">\r\n <img src=\"assets/images/icons/technical-support.svg\" alt=\"Manual\" />\r\n </div>\r\n\r\n <div class=\"right\" (click)=\"manual()\">\r\n <h3>Enter manually</h3>\r\n <p>You will enter all information manually.</p>\r\n </div>\r\n </div>\r\n </label>\r\n\r\n <!-- \u2705 Overlay INSIDE wrapper -->\r\n <div *ngIf=\"isUploading\" class=\"overlay\">\r\n <div class=\"spinner-container\">\r\n <div class=\"spinner\"></div>\r\n <p>Processing your resume...</p>\r\n </div>\r\n </div>\r\n\r\n</div>\r\n\r\n<div>\r\n <button class=\"back-btn\" (click)=\"onBackClick()\">Back</button>\r\n</div>", styles: [".wrapper{max-width:600px;margin:80px auto;font-family:Arial,sans-serif}.subtitle{color:#6b7280;font-size:14px;margin-bottom:10px}.title{font-size:24px;font-weight:600;margin-bottom:30px}.option-card{display:block;border:1px solid #d1d5db;border-radius:10px;padding:20px;margin-bottom:20px;cursor:pointer;transition:all .2s ease;position:relative}.option-card input[type=radio]{position:absolute;left:15px;top:43px}.card-content{display:flex;gap:20px;margin-left:30px;align-items:flex-start}.left img{width:50px;opacity:.7}.right h3{margin:0;font-size:16px;font-weight:600}.right p{margin:5px 0 10px;color:#6b7280;font-size:14px}.file-display input{font-size:13px;cursor:pointer}.error-text{color:#dc2626;font-size:12px;margin-top:5px}.option-card:hover{border-color:#6366f1;background:#f9fafb}.option-card:has(input:checked){border:2px solid #6366f1;background:#eef2ff}.wrapper{position:relative}.overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:#fffc;z-index:100;display:flex;justify-content:center;align-items:center;pointer-events:all}.spinner{width:40px;height:40px;margin-left:60px;border:4px solid #ddd;border-top:4px solid #1165B8;border-radius:50%;animation:spin 1s linear infinite}.spinner-container{text-align:center}@keyframes spin{to{transform:rotate(360deg)}}.back-btn{margin-left:345px;font-size:20px;font-weight:500;width:100px;background-color:#f2f2f2;border:none;border-radius:10px;padding:8px;cursor:pointer}\n"], dependencies: [{ kind: "directive", type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
29262
|
+
}
|
|
29263
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: FirstComponent, decorators: [{
|
|
29264
|
+
type: Component,
|
|
29265
|
+
args: [{ selector: 'app-first', standalone: false, template: "<div class=\"wrapper position-relative\">\r\n\r\n <p class=\"subtitle\">Upload your resume and we\u2019ll fill the rest.</p>\r\n <h2 class=\"title\">Upload your resume *</h2>\r\n\r\n <!-- Upload Resume Option -->\r\n<div class=\"option-card\">\r\n\r\n <!-- Hidden file input -->\r\n <input\r\n #fileInput\r\n type=\"file\"\r\n accept=\".pdf,.doc,.docx\"\r\n (change)=\"onFileSelected($event)\"\r\n hidden\r\n />\r\n\r\n <!-- Radio -->\r\n <input type=\"radio\" name=\"resumeOption\" value=\"upload\" />\r\n\r\n <div class=\"card-content\">\r\n <!-- Only these trigger file picker -->\r\n <div class=\"left\" (click)=\"openFile(fileInput, $event)\">\r\n <img src=\"assets/images/icons/upload-resume.png\" style=\"width: 55px;\" alt=\"Upload\" />\r\n </div>\r\n\r\n <div class=\"right\">\r\n <h3 (click)=\"openFile(fileInput, $event)\">Upload my resume</h3>\r\n <p>We\u2019ll extract job titles, experience, and skills.</p>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n <!-- Manual Option -->\r\n <label class=\"option-card\" (click)=\"manual()\">\r\n <input type=\"radio\" name=\"resumeOption\" value=\"manual\" />\r\n\r\n <div class=\"card-content\" (click)=\"manual()\">\r\n <div class=\"left\">\r\n <img src=\"assets/images/icons/technical-support.svg\" alt=\"Manual\" />\r\n </div>\r\n\r\n <div class=\"right\" (click)=\"manual()\">\r\n <h3>Enter manually</h3>\r\n <p>You will enter all information manually.</p>\r\n </div>\r\n </div>\r\n </label>\r\n\r\n <!-- \u2705 Overlay INSIDE wrapper -->\r\n <div *ngIf=\"isUploading\" class=\"overlay\">\r\n <div class=\"spinner-container\">\r\n <div class=\"spinner\"></div>\r\n <p>Processing your resume...</p>\r\n </div>\r\n </div>\r\n\r\n</div>\r\n\r\n<div>\r\n <button class=\"back-btn\" (click)=\"onBackClick()\">Back</button>\r\n</div>", styles: [".wrapper{max-width:600px;margin:80px auto;font-family:Arial,sans-serif}.subtitle{color:#6b7280;font-size:14px;margin-bottom:10px}.title{font-size:24px;font-weight:600;margin-bottom:30px}.option-card{display:block;border:1px solid #d1d5db;border-radius:10px;padding:20px;margin-bottom:20px;cursor:pointer;transition:all .2s ease;position:relative}.option-card input[type=radio]{position:absolute;left:15px;top:43px}.card-content{display:flex;gap:20px;margin-left:30px;align-items:flex-start}.left img{width:50px;opacity:.7}.right h3{margin:0;font-size:16px;font-weight:600}.right p{margin:5px 0 10px;color:#6b7280;font-size:14px}.file-display input{font-size:13px;cursor:pointer}.error-text{color:#dc2626;font-size:12px;margin-top:5px}.option-card:hover{border-color:#6366f1;background:#f9fafb}.option-card:has(input:checked){border:2px solid #6366f1;background:#eef2ff}.wrapper{position:relative}.overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:#fffc;z-index:100;display:flex;justify-content:center;align-items:center;pointer-events:all}.spinner{width:40px;height:40px;margin-left:60px;border:4px solid #ddd;border-top:4px solid #1165B8;border-radius:50%;animation:spin 1s linear infinite}.spinner-container{text-align:center}@keyframes spin{to{transform:rotate(360deg)}}.back-btn{margin-left:345px;font-size:20px;font-weight:500;width:100px;background-color:#f2f2f2;border:none;border-radius:10px;padding:8px;cursor:pointer}\n"] }]
|
|
29266
|
+
}], ctorParameters: () => [{ type: CredentialingStore }, { type: i6.TokenService }, { type: ResumeDetailService }, { type: FileService }], propDecorators: { backToParent: [{
|
|
29267
|
+
type: Output
|
|
29268
|
+
}], nextStep: [{
|
|
29269
|
+
type: Output
|
|
29270
|
+
}] } });
|
|
29271
|
+
|
|
28997
29272
|
class CredentialingComponent {
|
|
28998
29273
|
store;
|
|
28999
29274
|
postalCodeService;
|
|
@@ -29044,7 +29319,7 @@ class CredentialingComponent {
|
|
|
29044
29319
|
console.log(this.states);
|
|
29045
29320
|
}
|
|
29046
29321
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CredentialingComponent, deps: [{ token: CredentialingStore }, { token: PostalCodeServices }, { token: LIBRARY_CONFIG }, { token: i11.ViewportScroller }], target: i0.ɵɵFactoryTarget.Component });
|
|
29047
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: CredentialingComponent, isStandalone: false, selector: "app-credentialing", inputs: { data: "data" }, outputs: { back: "back" }, ngImport: i0, template: "<div class=\"credentialing-container\">\r\n <app-stepper *ngIf=\"!store.isUploadSuccess()\"></app-stepper>\r\n <div class=\"step-content\" [@stepTransition]=\"store.currentStep()\">\r\n <app-first *ngIf=\"store.currentStep() === 1\" (backToParent)=\"goBackToInitialProcess()\" [roleData]=\"data\">\r\n </app-first>\r\n <ng-container *ngIf=\"store.isUploadSuccess()\">\r\n <app-preview *ngIf=\"store.currentStep() === 2\"></app-preview>\r\n </ng-container>\r\n <ng-container *ngIf=\"!store.isUploadSuccess()\">\r\n <app-role-select [providerName]=\"providerName\" [providerId]=\"providerId\"\r\n [cloudfrontUrl]=\"cloudfrontUrl\" [roleData]=\"data\" *ngIf=\"store.currentStep() ===
|
|
29322
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: CredentialingComponent, isStandalone: false, selector: "app-credentialing", inputs: { data: "data" }, outputs: { back: "back" }, ngImport: i0, template: "<div class=\"credentialing-container\">\r\n <app-stepper *ngIf=\"!store.isUploadSuccess()\"></app-stepper>\r\n <div class=\"step-content\" [@stepTransition]=\"store.currentStep()\">\r\n <app-first *ngIf=\"store.currentStep() === 1\" (backToParent)=\"goBackToInitialProcess()\" [roleData]=\"data\">\r\n </app-first>\r\n <ng-container *ngIf=\"store.isUploadSuccess()\">\r\n <app-preview *ngIf=\"store.currentStep() === 2\"></app-preview>\r\n </ng-container>\r\n <ng-container *ngIf=\"!store.isUploadSuccess()\">\r\n <app-role-select [providerName]=\"providerName\" [providerId]=\"providerId\"\r\n [cloudfrontUrl]=\"cloudfrontUrl\" [roleData]=\"data\" *ngIf=\"store.currentStep() === 2\"></app-role-select>\r\n <app-coverage [states]=\"states\" [providerName]=\"providerName\" [providerId]=\"providerId\"\r\n *ngIf=\"store.currentStep() === 3\"></app-coverage>\r\n <app-workexperience [states]=\"states\" [cloudfrontUrl]=\"cloudfrontUrl\" [providerName]=\"providerName\"\r\n [providerId]=\"providerId\" *ngIf=\"store.currentStep() === 4\"></app-workexperience>\r\n <app-education [states]=\"states\" [cloudfrontUrl]=\"cloudfrontUrl\" [providerName]=\"providerName\"\r\n [providerId]=\"providerId\" *ngIf=\"store.currentStep() === 5\"></app-education>\r\n <app-certification [states]=\"states\" [cloudfrontUrl]=\"cloudfrontUrl\" [providerName]=\"providerName\"\r\n [providerId]=\"providerId\" *ngIf=\"store.currentStep() === 6\"></app-certification>\r\n <app-licenses [states]=\"states\" [cloudfrontUrl]=\"cloudfrontUrl\" [providerName]=\"providerName\"\r\n [providerId]=\"providerId\" *ngIf=\"store.currentStep() === 7\"></app-licenses>\r\n <app-skills [providerName]=\"providerName\" [providerId]=\"providerId\"\r\n *ngIf=\"store.currentStep() === 8\"></app-skills>\r\n <app-tools [providerName]=\"providerName\" [providerId]=\"providerId\" [roleData]=\"data\"\r\n *ngIf=\"store.currentStep() === 9\"></app-tools>\r\n </ng-container>\r\n </div>\r\n</div>", styles: ["::ng-deep .ng-select.ng-select-single .ng-select-container{height:45px!important;border:1px solid #dee2e6}.step-content{position:relative;min-height:400px}\n"], dependencies: [{ kind: "directive", type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: StepperComponent, selector: "app-stepper" }, { kind: "component", type: EducationComponent, selector: "app-education", inputs: ["providerId", "providerName", "cloudfrontUrl"] }, { kind: "component", type: CertificationComponent, selector: "app-certification", inputs: ["states", "providerId", "providerName", "cloudfrontUrl"] }, { kind: "component", type: SkillsComponent, selector: "app-skills", inputs: ["providerId", "providerName"] }, { kind: "component", type: LicensesComponent, selector: "app-licenses", inputs: ["providerId", "providerName", "cloudfrontUrl", "states"] }, { kind: "component", type: ToolsComponent, selector: "app-tools", inputs: ["roleData", "providerId", "providerName"] }, { kind: "component", type: RoleSelectComponent, selector: "app-role-select", inputs: ["roleData", "cloudfrontUrl", "providerId", "providerName"], outputs: ["backToParent"] }, { kind: "component", type: Step2CoverageComponent, selector: "app-coverage", inputs: ["providerId", "providerName", "states"] }, { kind: "component", type: WorkexperienceComponent, selector: "app-workexperience", inputs: ["providerId", "providerName", "cloudfrontUrl"] }, { kind: "component", type: FirstComponent, selector: "app-first", outputs: ["backToParent", "nextStep"] }], animations: [
|
|
29048
29323
|
trigger('stepTransition', [
|
|
29049
29324
|
transition('* <=> *', [
|
|
29050
29325
|
style({
|
|
@@ -29074,7 +29349,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
29074
29349
|
}))
|
|
29075
29350
|
])
|
|
29076
29351
|
])
|
|
29077
|
-
], template: "<div class=\"credentialing-container\">\r\n <app-stepper *ngIf=\"!store.isUploadSuccess()\"></app-stepper>\r\n <div class=\"step-content\" [@stepTransition]=\"store.currentStep()\">\r\n <app-first *ngIf=\"store.currentStep() === 1\" (backToParent)=\"goBackToInitialProcess()\" [roleData]=\"data\">\r\n </app-first>\r\n <ng-container *ngIf=\"store.isUploadSuccess()\">\r\n <app-preview *ngIf=\"store.currentStep() === 2\"></app-preview>\r\n </ng-container>\r\n <ng-container *ngIf=\"!store.isUploadSuccess()\">\r\n <app-role-select [providerName]=\"providerName\" [providerId]=\"providerId\"\r\n [cloudfrontUrl]=\"cloudfrontUrl\" [roleData]=\"data\" *ngIf=\"store.currentStep() ===
|
|
29352
|
+
], template: "<div class=\"credentialing-container\">\r\n <app-stepper *ngIf=\"!store.isUploadSuccess()\"></app-stepper>\r\n <div class=\"step-content\" [@stepTransition]=\"store.currentStep()\">\r\n <app-first *ngIf=\"store.currentStep() === 1\" (backToParent)=\"goBackToInitialProcess()\" [roleData]=\"data\">\r\n </app-first>\r\n <ng-container *ngIf=\"store.isUploadSuccess()\">\r\n <app-preview *ngIf=\"store.currentStep() === 2\"></app-preview>\r\n </ng-container>\r\n <ng-container *ngIf=\"!store.isUploadSuccess()\">\r\n <app-role-select [providerName]=\"providerName\" [providerId]=\"providerId\"\r\n [cloudfrontUrl]=\"cloudfrontUrl\" [roleData]=\"data\" *ngIf=\"store.currentStep() === 2\"></app-role-select>\r\n <app-coverage [states]=\"states\" [providerName]=\"providerName\" [providerId]=\"providerId\"\r\n *ngIf=\"store.currentStep() === 3\"></app-coverage>\r\n <app-workexperience [states]=\"states\" [cloudfrontUrl]=\"cloudfrontUrl\" [providerName]=\"providerName\"\r\n [providerId]=\"providerId\" *ngIf=\"store.currentStep() === 4\"></app-workexperience>\r\n <app-education [states]=\"states\" [cloudfrontUrl]=\"cloudfrontUrl\" [providerName]=\"providerName\"\r\n [providerId]=\"providerId\" *ngIf=\"store.currentStep() === 5\"></app-education>\r\n <app-certification [states]=\"states\" [cloudfrontUrl]=\"cloudfrontUrl\" [providerName]=\"providerName\"\r\n [providerId]=\"providerId\" *ngIf=\"store.currentStep() === 6\"></app-certification>\r\n <app-licenses [states]=\"states\" [cloudfrontUrl]=\"cloudfrontUrl\" [providerName]=\"providerName\"\r\n [providerId]=\"providerId\" *ngIf=\"store.currentStep() === 7\"></app-licenses>\r\n <app-skills [providerName]=\"providerName\" [providerId]=\"providerId\"\r\n *ngIf=\"store.currentStep() === 8\"></app-skills>\r\n <app-tools [providerName]=\"providerName\" [providerId]=\"providerId\" [roleData]=\"data\"\r\n *ngIf=\"store.currentStep() === 9\"></app-tools>\r\n </ng-container>\r\n </div>\r\n</div>", styles: ["::ng-deep .ng-select.ng-select-single .ng-select-container{height:45px!important;border:1px solid #dee2e6}.step-content{position:relative;min-height:400px}\n"] }]
|
|
29078
29353
|
}], ctorParameters: () => [{ type: CredentialingStore }, { type: PostalCodeServices }, { type: undefined, decorators: [{
|
|
29079
29354
|
type: Inject,
|
|
29080
29355
|
args: [LIBRARY_CONFIG]
|
|
@@ -30926,7 +31201,8 @@ const INTERNAL_COMPONENTS = [
|
|
|
30926
31201
|
ToolsComponent,
|
|
30927
31202
|
RoleSelectComponent,
|
|
30928
31203
|
Step2CoverageComponent,
|
|
30929
|
-
WorkexperienceComponent
|
|
31204
|
+
WorkexperienceComponent,
|
|
31205
|
+
FirstComponent
|
|
30930
31206
|
];
|
|
30931
31207
|
class InitialProcessModule {
|
|
30932
31208
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: InitialProcessModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -30941,7 +31217,8 @@ class InitialProcessModule {
|
|
|
30941
31217
|
ToolsComponent,
|
|
30942
31218
|
RoleSelectComponent,
|
|
30943
31219
|
Step2CoverageComponent,
|
|
30944
|
-
WorkexperienceComponent
|
|
31220
|
+
WorkexperienceComponent,
|
|
31221
|
+
FirstComponent], imports: [CommonModule,
|
|
30945
31222
|
FormsModule,
|
|
30946
31223
|
ReactiveFormsModule,
|
|
30947
31224
|
RouterModule,
|