@solcre-org/core-ui 2.15.42 → 2.15.43

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.
@@ -14377,6 +14377,9 @@ class GenericTableComponent {
14377
14377
  customClass: this.expansionConfig()?.buttonClass || 'c-icon-btn'
14378
14378
  };
14379
14379
  }
14380
+ getDefaultTooltipPosition() {
14381
+ return this.scrollTable() ? 'left' : 'bottom';
14382
+ }
14380
14383
  getActionButtonConfig(action, actionConfig, row) {
14381
14384
  const configs = {
14382
14385
  [TableAction.VIEW]: {
@@ -14386,7 +14389,7 @@ class GenericTableComponent {
14386
14389
  tooltipConfig: {
14387
14390
  hasTooltip: true,
14388
14391
  text: actionConfig.tooltip || 'table.view',
14389
- position: actionConfig.tooltipPosition || 'left'
14392
+ position: actionConfig.tooltipPosition || this.getDefaultTooltipPosition()
14390
14393
  },
14391
14394
  // text: 'table.view'
14392
14395
  },
@@ -14397,7 +14400,7 @@ class GenericTableComponent {
14397
14400
  tooltipConfig: {
14398
14401
  hasTooltip: true,
14399
14402
  text: actionConfig.tooltip || 'table.edit',
14400
- position: actionConfig.tooltipPosition || 'left'
14403
+ position: actionConfig.tooltipPosition || this.getDefaultTooltipPosition()
14401
14404
  },
14402
14405
  // text: 'table.edit'
14403
14406
  },
@@ -14408,7 +14411,7 @@ class GenericTableComponent {
14408
14411
  tooltipConfig: {
14409
14412
  hasTooltip: true,
14410
14413
  text: actionConfig.tooltip || 'table.delete',
14411
- position: actionConfig.tooltipPosition || 'left'
14414
+ position: actionConfig.tooltipPosition || this.getDefaultTooltipPosition()
14412
14415
  },
14413
14416
  context: ButtonContext.ERROR,
14414
14417
  },
@@ -14419,7 +14422,7 @@ class GenericTableComponent {
14419
14422
  tooltipConfig: {
14420
14423
  hasTooltip: true,
14421
14424
  text: actionConfig.tooltip || 'table.recover',
14422
- position: actionConfig.tooltipPosition || 'left'
14425
+ position: actionConfig.tooltipPosition || this.getDefaultTooltipPosition()
14423
14426
  },
14424
14427
  }
14425
14428
  };
@@ -14430,7 +14433,7 @@ class GenericTableComponent {
14430
14433
  tooltipConfig: {
14431
14434
  hasTooltip: true,
14432
14435
  text: actionConfig.tooltip || action,
14433
- position: actionConfig.tooltipPosition || 'left'
14436
+ position: actionConfig.tooltipPosition || this.getDefaultTooltipPosition()
14434
14437
  },
14435
14438
  };
14436
14439
  const isDisabled = row && actionConfig.shouldDisable ? actionConfig.shouldDisable(row) : false;
@@ -14456,7 +14459,7 @@ class GenericTableComponent {
14456
14459
  tooltipConfig: {
14457
14460
  hasTooltip: true,
14458
14461
  text: customAction.tooltip || customAction.title,
14459
- position: customAction.tooltipPosition || 'left'
14462
+ position: customAction.tooltipPosition || this.getDefaultTooltipPosition()
14460
14463
  },
14461
14464
  customClass: customAction.class || 'c-icon-btn',
14462
14465
  showTextOnIcon: hasLabel && (isLinkStyle || !isIconButton)
@@ -14501,7 +14504,7 @@ class GenericTableComponent {
14501
14504
  tooltipConfig: actionConfig.tooltip ? {
14502
14505
  hasTooltip: true,
14503
14506
  text: actionConfig.tooltip,
14504
- position: actionConfig.tooltipPosition || 'left'
14507
+ position: actionConfig.tooltipPosition || this.getDefaultTooltipPosition()
14505
14508
  } : undefined
14506
14509
  };
14507
14510
  }
@@ -14517,7 +14520,7 @@ class GenericTableComponent {
14517
14520
  tooltipConfig: customAction.tooltip ? {
14518
14521
  hasTooltip: true,
14519
14522
  text: customAction.tooltip,
14520
- position: customAction.tooltipPosition || 'left'
14523
+ position: customAction.tooltipPosition || this.getDefaultTooltipPosition()
14521
14524
  } : undefined
14522
14525
  };
14523
14526
  }
@@ -14533,7 +14536,7 @@ class GenericTableComponent {
14533
14536
  tooltipConfig: globalAction.tooltip ? {
14534
14537
  hasTooltip: true,
14535
14538
  text: globalAction.tooltip,
14536
- position: globalAction.tooltipPosition || 'left'
14539
+ position: globalAction.tooltipPosition || this.getDefaultTooltipPosition()
14537
14540
  } : undefined
14538
14541
  };
14539
14542
  }
@@ -16386,12 +16389,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
16386
16389
  // Este archivo es generado automáticamente por scripts/update-version.js
16387
16390
  // No edites manualmente este archivo
16388
16391
  const VERSION = {
16389
- full: '2.15.42',
16392
+ full: '2.15.43',
16390
16393
  major: 2,
16391
16394
  minor: 15,
16392
- patch: 42,
16393
- timestamp: '2025-11-26T14:36:49.398Z',
16394
- buildDate: '26/11/2025'
16395
+ patch: 43,
16396
+ timestamp: '2025-11-27T09:53:16.146Z',
16397
+ buildDate: '27/11/2025'
16395
16398
  };
16396
16399
 
16397
16400
  class MainNavComponent {