@acorex/platform 20.7.17 → 20.7.19

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.
@@ -1678,10 +1678,11 @@ class AXPMenuProviderService {
1678
1678
  // If provider is a direct instance, use it directly
1679
1679
  await provider.provide(context);
1680
1680
  }
1681
+ // Apply pending operations after each provider so subsequent providers
1682
+ // can find items added by earlier providers (e.g. Tokens under Data Definitions)
1683
+ this.applyPendingOperations(items);
1681
1684
  }
1682
1685
  }
1683
- // Apply pending operations
1684
- this.applyPendingOperations(items);
1685
1686
  // Sort items by priority
1686
1687
  items.sort((a, b) => (a.priority ?? 0) - (b.priority ?? 0));
1687
1688
  // Apply middlewares using registry (sorted by priority)
@@ -1711,10 +1712,10 @@ class AXPMenuProviderService {
1711
1712
  // If provider is a direct instance, use it directly
1712
1713
  await provider.provide(context);
1713
1714
  }
1715
+ // Apply pending operations after each provider
1716
+ this.applyPendingOperations(items);
1714
1717
  }
1715
1718
  }
1716
- // Apply pending operations
1717
- this.applyPendingOperations(items);
1718
1719
  // Sort items by priority
1719
1720
  items.sort((a, b) => (a.priority ?? 0) - (b.priority ?? 0));
1720
1721
  // ADD level property to items (but NO middleware)