@solcre-org/core-ui 2.15.45 → 2.15.46

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.
@@ -13322,7 +13322,17 @@ class GenericTableComponent {
13322
13322
  }
13323
13323
  getFormattedValue(row, column) {
13324
13324
  const value = row[column.key];
13325
- return column.format ? column.format(value, row) : (value?.toString() || '');
13325
+ if (column.format) {
13326
+ const formatted = column.format(value, row);
13327
+ return this.isEmptyValue(formatted) ? '-' : formatted;
13328
+ }
13329
+ return this.isEmptyValue(value) ? '-' : value.toString();
13330
+ }
13331
+ isEmptyValue(value) {
13332
+ return value === null ||
13333
+ value === undefined ||
13334
+ value === '' ||
13335
+ (typeof value === 'string' && value.trim() === '');
13326
13336
  }
13327
13337
  hasAction(action) {
13328
13338
  return this.actions().some(config => config.action === action);
@@ -16389,11 +16399,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
16389
16399
  // Este archivo es generado automáticamente por scripts/update-version.js
16390
16400
  // No edites manualmente este archivo
16391
16401
  const VERSION = {
16392
- full: '2.15.45',
16402
+ full: '2.15.46',
16393
16403
  major: 2,
16394
16404
  minor: 15,
16395
- patch: 45,
16396
- timestamp: '2025-12-02T13:27:03.712Z',
16405
+ patch: 46,
16406
+ timestamp: '2025-12-02T13:33:34.620Z',
16397
16407
  buildDate: '2/12/2025'
16398
16408
  };
16399
16409