@acorex/modules 20.7.11 → 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.
@@ -690,19 +690,23 @@ class AXPMenuManagementService extends AXPMenuCustomizerService {
690
690
  originalPriority: item.priority,
691
691
  originalParentName: parentName,
692
692
  };
693
- // Apply priority override
693
+ // Apply ALL overrides: priority AND properties (text, icon, description, etc.)
694
694
  const effectivePriority = override?.priority !== undefined ? override.priority : item.priority;
695
- const itemWithPriority = { ...item, priority: effectivePriority };
696
- // Create tree node data
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: itemWithPriority,
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: item.text || item.path || 'Unnamed',
705
- icon: item.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-BxGLun0f.mjs').then((c) => c.AXMMenuListComponent),
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-BAIx0BJe.mjs.map
2163
+ //# sourceMappingURL=acorex-modules-platform-management-acorex-modules-platform-management-ndbiBVUt.mjs.map