@fuentis/phoenix-ui 0.0.9-alpha.474 → 0.0.9-alpha.481

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.
@@ -1470,6 +1470,7 @@ var tableActionType;
1470
1470
  (function (tableActionType) {
1471
1471
  tableActionType["CREATE"] = "create";
1472
1472
  tableActionType["EDIT"] = "edit";
1473
+ tableActionType["BULK_EDIT"] = "bulk_edit";
1473
1474
  tableActionType["DELETE"] = "delete";
1474
1475
  tableActionType["DETAILS"] = "details";
1475
1476
  tableActionType["ASSIGN"] = "assign";
@@ -1550,6 +1551,7 @@ var ico;
1550
1551
  ico["import"] = "pi pi-file-import";
1551
1552
  ico["create"] = "pi pi-plus";
1552
1553
  ico["open_full_screen"] = "pi pi-external-link";
1554
+ ico["bulk_edit"] = "pi pi-pencil";
1553
1555
  ico["edit"] = "pi pi-pencil";
1554
1556
  ico["delete"] = "pi pi-exclamation-triangle";
1555
1557
  ico["assign"] = "pi pi-paperclip";
@@ -6769,10 +6771,11 @@ class ReadOnlyInputComponent {
6769
6771
  };
6770
6772
  }
6771
6773
  else {
6772
- if (data?.labelKey) {
6773
- const formattedLang = localStorage.getItem('language').charAt(0).toUpperCase() +
6774
- localStorage.getItem('language').slice(1).toLowerCase();
6775
- this.value = data[`labelKeyVal${formattedLang}`];
6774
+ const formattedLang = localStorage.getItem('language').charAt(0).toUpperCase() +
6775
+ localStorage.getItem('language').slice(1).toLowerCase();
6776
+ const val = data?.[`labelKeyVal${formattedLang}`];
6777
+ if (val) {
6778
+ this.value = val;
6776
6779
  }
6777
6780
  else {
6778
6781
  this.value = data?.userFriendlyMessage;