@solcre-org/core-ui 2.15.10 → 2.15.11
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.
|
@@ -11928,7 +11928,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
|
|
|
11928
11928
|
|
|
11929
11929
|
class FixedActionsMobileModalComponent {
|
|
11930
11930
|
mobileModalService = inject(FixedActionsMobileModalService);
|
|
11931
|
-
permissionService = inject(
|
|
11931
|
+
permissionService = inject(PermissionWrapperService);
|
|
11932
11932
|
isVisible = this.mobileModalService.isVisible;
|
|
11933
11933
|
modalData = this.mobileModalService.modalData;
|
|
11934
11934
|
visibleActions = computed(() => {
|
|
@@ -12830,10 +12830,6 @@ class GenericTableComponent {
|
|
|
12830
12830
|
const convertedActions = [];
|
|
12831
12831
|
const extraTableActions = this.actions().filter(actionConfig => this.getMobileIsExtra(actionConfig));
|
|
12832
12832
|
extraTableActions.forEach(actionConfig => {
|
|
12833
|
-
// ✅ Usar el método hasPermission() existente en lugar de duplicar lógica
|
|
12834
|
-
if (!this.hasPermission(actionConfig)) {
|
|
12835
|
-
return;
|
|
12836
|
-
}
|
|
12837
12833
|
if (actionConfig.shouldShow && !actionConfig.shouldShow(row)) {
|
|
12838
12834
|
return;
|
|
12839
12835
|
}
|
|
@@ -12855,9 +12851,6 @@ class GenericTableComponent {
|
|
|
12855
12851
|
if (customAction.shouldShow && !customAction.shouldShow(row)) {
|
|
12856
12852
|
return false;
|
|
12857
12853
|
}
|
|
12858
|
-
if (!this.hasPermission(customAction)) {
|
|
12859
|
-
return false;
|
|
12860
|
-
}
|
|
12861
12854
|
return true;
|
|
12862
12855
|
});
|
|
12863
12856
|
visibleCustomActions.forEach(customAction => {
|
|
@@ -12900,7 +12893,7 @@ class GenericTableComponent {
|
|
|
12900
12893
|
getDefaultIconForAction(action) {
|
|
12901
12894
|
switch (action) {
|
|
12902
12895
|
case TableAction.VIEW:
|
|
12903
|
-
return 'icon-
|
|
12896
|
+
return 'icon-search';
|
|
12904
12897
|
case TableAction.EDIT:
|
|
12905
12898
|
return 'icon-edit';
|
|
12906
12899
|
case TableAction.DELETE:
|
|
@@ -15589,11 +15582,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
|
|
|
15589
15582
|
// Este archivo es generado automáticamente por scripts/update-version.js
|
|
15590
15583
|
// No edites manualmente este archivo
|
|
15591
15584
|
const VERSION = {
|
|
15592
|
-
full: '2.15.
|
|
15585
|
+
full: '2.15.11',
|
|
15593
15586
|
major: 2,
|
|
15594
15587
|
minor: 15,
|
|
15595
|
-
patch:
|
|
15596
|
-
timestamp: '2025-10-
|
|
15588
|
+
patch: 11,
|
|
15589
|
+
timestamp: '2025-10-13T12:17:21.412Z',
|
|
15597
15590
|
buildDate: '13/10/2025'
|
|
15598
15591
|
};
|
|
15599
15592
|
|