@solcre-org/core-ui 2.15.21 → 2.15.22
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.
|
@@ -11093,15 +11093,17 @@ class HeaderService {
|
|
|
11093
11093
|
this.showDefaultCreate.set(config.showDefaultCreate);
|
|
11094
11094
|
if (config.customActions !== undefined) {
|
|
11095
11095
|
this.customActions.set(config.customActions);
|
|
11096
|
-
const
|
|
11096
|
+
const shouldShowMobileHeader = this.mobileResolutionService.shouldShowMobileHeader();
|
|
11097
11097
|
const headerActions = config.customActions
|
|
11098
11098
|
.filter(action => {
|
|
11099
|
-
if (!
|
|
11099
|
+
if (!shouldShowMobileHeader) {
|
|
11100
11100
|
return true;
|
|
11101
11101
|
}
|
|
11102
|
-
if (!action.mobileConfig)
|
|
11102
|
+
if (!action.mobileConfig) {
|
|
11103
11103
|
return false;
|
|
11104
|
-
|
|
11104
|
+
}
|
|
11105
|
+
const shouldShow = action.mobileConfig.showInHeader === true;
|
|
11106
|
+
return shouldShow;
|
|
11105
11107
|
})
|
|
11106
11108
|
.map(action => ({
|
|
11107
11109
|
id: action.id,
|
|
@@ -11338,11 +11340,9 @@ class HeaderService {
|
|
|
11338
11340
|
}
|
|
11339
11341
|
findGlobalAction(actionId) {
|
|
11340
11342
|
const actions = this.globalActions();
|
|
11341
|
-
// Buscar por índice si es número
|
|
11342
11343
|
if (typeof actionId === 'number') {
|
|
11343
11344
|
return actions[actionId] || null;
|
|
11344
11345
|
}
|
|
11345
|
-
// Buscar por label o propiedad
|
|
11346
11346
|
const found = actions.find(action => action.label === actionId ||
|
|
11347
11347
|
action.icon === actionId ||
|
|
11348
11348
|
action.id === actionId);
|
|
@@ -15851,12 +15851,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
|
|
|
15851
15851
|
// Este archivo es generado automáticamente por scripts/update-version.js
|
|
15852
15852
|
// No edites manualmente este archivo
|
|
15853
15853
|
const VERSION = {
|
|
15854
|
-
full: '2.15.
|
|
15854
|
+
full: '2.15.22',
|
|
15855
15855
|
major: 2,
|
|
15856
15856
|
minor: 15,
|
|
15857
|
-
patch:
|
|
15858
|
-
timestamp: '2025-10-
|
|
15859
|
-
buildDate: '
|
|
15857
|
+
patch: 22,
|
|
15858
|
+
timestamp: '2025-10-23T12:48:07.155Z',
|
|
15859
|
+
buildDate: '23/10/2025'
|
|
15860
15860
|
};
|
|
15861
15861
|
|
|
15862
15862
|
class MainNavComponent {
|