@acorex/modules 20.7.10 → 20.7.12
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.
- package/fesm2022/acorex-modules-document-management.mjs +6 -42
- package/fesm2022/acorex-modules-document-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-BAIx0BJe.mjs → acorex-modules-platform-management-acorex-modules-platform-management-ndbiBVUt.mjs} +13 -9
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-ndbiBVUt.mjs.map +1 -0
- package/fesm2022/{acorex-modules-platform-management-menu-list.component-BxGLun0f.mjs → acorex-modules-platform-management-menu-list.component-w-Ix2VZA.mjs} +2 -2
- package/fesm2022/{acorex-modules-platform-management-menu-list.component-BxGLun0f.mjs.map → acorex-modules-platform-management-menu-list.component-w-Ix2VZA.mjs.map} +1 -1
- package/fesm2022/acorex-modules-platform-management.mjs +1 -1
- package/fesm2022/{acorex-modules-product-catalog-product.entity-BXDh4Wlu.mjs → acorex-modules-product-catalog-product.entity-CVW7-ye7.mjs} +2 -28
- package/fesm2022/acorex-modules-product-catalog-product.entity-CVW7-ye7.mjs.map +1 -0
- package/fesm2022/acorex-modules-product-catalog.mjs +1 -1
- package/package.json +2 -2
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-BAIx0BJe.mjs.map +0 -1
- package/fesm2022/acorex-modules-product-catalog-product.entity-BXDh4Wlu.mjs.map +0 -1
|
@@ -690,19 +690,23 @@ class AXPMenuManagementService extends AXPMenuCustomizerService {
|
|
|
690
690
|
originalPriority: item.priority,
|
|
691
691
|
originalParentName: parentName,
|
|
692
692
|
};
|
|
693
|
-
// Apply priority
|
|
693
|
+
// Apply ALL overrides: priority AND properties (text, icon, description, etc.)
|
|
694
694
|
const effectivePriority = override?.priority !== undefined ? override.priority : item.priority;
|
|
695
|
-
const
|
|
696
|
-
|
|
695
|
+
const effectiveItem = {
|
|
696
|
+
...item,
|
|
697
|
+
...override?.properties, // Apply property overrides (text, icon, description)
|
|
698
|
+
priority: effectivePriority,
|
|
699
|
+
};
|
|
700
|
+
// Create tree node data with effective (overridden) values
|
|
697
701
|
const nodeData = {
|
|
698
|
-
menuItem:
|
|
702
|
+
menuItem: effectiveItem,
|
|
699
703
|
metadata,
|
|
700
704
|
};
|
|
701
|
-
// Create tree node
|
|
705
|
+
// Create tree node using effective (overridden) values
|
|
702
706
|
const treeNode = {
|
|
703
707
|
id: itemName || item.path || this.generateNodeId(),
|
|
704
|
-
title:
|
|
705
|
-
icon:
|
|
708
|
+
title: effectiveItem.text || effectiveItem.path || 'Unnamed',
|
|
709
|
+
icon: effectiveItem.icon,
|
|
706
710
|
expanded: false,
|
|
707
711
|
selected: false,
|
|
708
712
|
['children']: item.children ? this.convertToTreeNodes(item.children, customization, itemName) : undefined,
|
|
@@ -2033,7 +2037,7 @@ function routesFactory() {
|
|
|
2033
2037
|
children: [
|
|
2034
2038
|
{
|
|
2035
2039
|
path: '',
|
|
2036
|
-
loadComponent: () => import('./acorex-modules-platform-management-menu-list.component-
|
|
2040
|
+
loadComponent: () => import('./acorex-modules-platform-management-menu-list.component-w-Ix2VZA.mjs').then((c) => c.AXMMenuListComponent),
|
|
2037
2041
|
data: { reuse: true },
|
|
2038
2042
|
},
|
|
2039
2043
|
],
|
|
@@ -2156,4 +2160,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
2156
2160
|
*/
|
|
2157
2161
|
|
|
2158
2162
|
export { AXPMenuManagementService as A, RootConfig as R, AXMPlatformManagementModule as a, AXMTokensService as b, AXMTokensServiceImpl as c, AXMTokenEntityModule as d, AXPPlatformManagementFeatureKeys as e, tokenEntityFactory as t };
|
|
2159
|
-
//# sourceMappingURL=acorex-modules-platform-management-acorex-modules-platform-management-
|
|
2163
|
+
//# sourceMappingURL=acorex-modules-platform-management-acorex-modules-platform-management-ndbiBVUt.mjs.map
|