@solcre-org/core-ui 2.15.9 → 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,11 +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
|
-
if (actionConfig.requiredPermission) {
|
|
12834
|
-
const hasPermission = this.permissionService.hasPermission(actionConfig.requiredPermission.resource, actionConfig.requiredPermission.action);
|
|
12835
|
-
if (!hasPermission)
|
|
12836
|
-
return;
|
|
12837
|
-
}
|
|
12838
12833
|
if (actionConfig.shouldShow && !actionConfig.shouldShow(row)) {
|
|
12839
12834
|
return;
|
|
12840
12835
|
}
|
|
@@ -12856,11 +12851,6 @@ class GenericTableComponent {
|
|
|
12856
12851
|
if (customAction.shouldShow && !customAction.shouldShow(row)) {
|
|
12857
12852
|
return false;
|
|
12858
12853
|
}
|
|
12859
|
-
if (customAction.requiredPermission) {
|
|
12860
|
-
const hasPermission = this.permissionService.hasPermission(customAction.requiredPermission.resource, customAction.requiredPermission.action);
|
|
12861
|
-
if (!hasPermission)
|
|
12862
|
-
return false;
|
|
12863
|
-
}
|
|
12864
12854
|
return true;
|
|
12865
12855
|
});
|
|
12866
12856
|
visibleCustomActions.forEach(customAction => {
|
|
@@ -12903,7 +12893,7 @@ class GenericTableComponent {
|
|
|
12903
12893
|
getDefaultIconForAction(action) {
|
|
12904
12894
|
switch (action) {
|
|
12905
12895
|
case TableAction.VIEW:
|
|
12906
|
-
return 'icon-
|
|
12896
|
+
return 'icon-search';
|
|
12907
12897
|
case TableAction.EDIT:
|
|
12908
12898
|
return 'icon-edit';
|
|
12909
12899
|
case TableAction.DELETE:
|
|
@@ -15592,11 +15582,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
|
|
|
15592
15582
|
// Este archivo es generado automáticamente por scripts/update-version.js
|
|
15593
15583
|
// No edites manualmente este archivo
|
|
15594
15584
|
const VERSION = {
|
|
15595
|
-
full: '2.15.
|
|
15585
|
+
full: '2.15.11',
|
|
15596
15586
|
major: 2,
|
|
15597
15587
|
minor: 15,
|
|
15598
|
-
patch:
|
|
15599
|
-
timestamp: '2025-10-
|
|
15588
|
+
patch: 11,
|
|
15589
|
+
timestamp: '2025-10-13T12:17:21.412Z',
|
|
15600
15590
|
buildDate: '13/10/2025'
|
|
15601
15591
|
};
|
|
15602
15592
|
|