@symphony-talent/component-library 3.79.0 → 3.80.0

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.
@@ -2599,6 +2599,9 @@ class FileUploadComponent {
2599
2599
  ngOnInit() {
2600
2600
  this.filetypeAccepted = this.fileUploadModel.fileFormatAccepted.join(', ');
2601
2601
  }
2602
+ ngDoCheck() {
2603
+ this.filetypeAccepted = this.fileUploadModel.fileFormatAccepted.join(', ');
2604
+ }
2602
2605
  onCloseClick() {
2603
2606
  this.closeClick.emit();
2604
2607
  }
@@ -3379,6 +3382,11 @@ class UploadResumeModalComponent {
3379
3382
  name: 'Document',
3380
3383
  value: 'Document',
3381
3384
  },
3385
+ {
3386
+ id: 4,
3387
+ name: 'Image',
3388
+ value: 'Image',
3389
+ },
3382
3390
  ],
3383
3391
  componentHeading: 'Document Type',
3384
3392
  },
@@ -3413,6 +3421,23 @@ class UploadResumeModalComponent {
3413
3421
  else {
3414
3422
  this.uploadResumeModel.isResume = false;
3415
3423
  }
3424
+ if (selectedModel.value == 'Image') {
3425
+ this.model.subTitle = 'Attach a .jpeg, .jpg or .png file upto 2MB';
3426
+ this.uploadResumeModel.fileUploadModel.fileFormatAccepted = [
3427
+ '.jpeg',
3428
+ '.jpg',
3429
+ '.png',
3430
+ ];
3431
+ }
3432
+ else {
3433
+ this.model.subTitle = 'Attach a .rtf, .docx, .txt or .pdf file upto 2MB';
3434
+ this.uploadResumeModel.fileUploadModel.fileFormatAccepted = [
3435
+ '.rtf',
3436
+ '.docx',
3437
+ '.txt',
3438
+ '.pdf',
3439
+ ];
3440
+ }
3416
3441
  this.docTypeDropdowChange.emit(selectedModel.value);
3417
3442
  }
3418
3443
  onResumeCheckSelect(updateResumeCheckEvent) {