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