@fuentis/phoenix-ui 0.0.9-alpha.617 → 0.0.9-alpha.619

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.
@@ -6826,9 +6826,7 @@ class MetaUploadComponent extends BaseMetaField {
6826
6826
  <phoenix-meta-label [control]="control"></phoenix-meta-label>
6827
6827
  <p-button
6828
6828
  [label]="
6829
- file?.name
6830
- ? ('LABELS.SELECTED_FILE' | translate) + ': ' + file?.name
6831
- : (control?.configuration?.label | translate)
6829
+ file?.name ? file?.name : (control?.configuration?.label | translate)
6832
6830
  "
6833
6831
  icon="pi pi-upload"
6834
6832
  class=" white-space-nowrap overflow-hidden text-overflow-ellipsis"
@@ -6876,9 +6874,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
6876
6874
  <phoenix-meta-label [control]="control"></phoenix-meta-label>
6877
6875
  <p-button
6878
6876
  [label]="
6879
- file?.name
6880
- ? ('LABELS.SELECTED_FILE' | translate) + ': ' + file?.name
6881
- : (control?.configuration?.label | translate)
6877
+ file?.name ? file?.name : (control?.configuration?.label | translate)
6882
6878
  "
6883
6879
  icon="pi pi-upload"
6884
6880
  class=" white-space-nowrap overflow-hidden text-overflow-ellipsis"
@@ -7544,11 +7540,7 @@ class MetaUploadComponentDragDrop extends BaseMetaField {
7544
7540
  <p-button
7545
7541
  (onClick)="choose($event, chooseCallback)"
7546
7542
  icon="pi pi-upload"
7547
- [label]="
7548
- file?.name
7549
- ? ('LABELS.SELECTED_FILE' | translate) + ': ' + file?.name
7550
- : ('LABELS.BROWSE' | translate)
7551
- "
7543
+ [label]="file?.name ? file?.name : ('LABELS.BROWSE' | translate)"
7552
7544
  severity="secondary"
7553
7545
  />
7554
7546
  </div>
@@ -7635,11 +7627,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
7635
7627
  <p-button
7636
7628
  (onClick)="choose($event, chooseCallback)"
7637
7629
  icon="pi pi-upload"
7638
- [label]="
7639
- file?.name
7640
- ? ('LABELS.SELECTED_FILE' | translate) + ': ' + file?.name
7641
- : ('LABELS.BROWSE' | translate)
7642
- "
7630
+ [label]="file?.name ? file?.name : ('LABELS.BROWSE' | translate)"
7643
7631
  severity="secondary"
7644
7632
  />
7645
7633
  </div>