@next-core/brick-kit 2.156.8 → 2.156.10

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/dist/index.esm.js CHANGED
@@ -3123,7 +3123,7 @@ var _excluded$6 = ["children"],
3123
3123
  _excluded3 = ["items", "app"];
3124
3124
  var symbolAppId = Symbol("appId");
3125
3125
  var symbolMenuI18nNamespace = Symbol("menuI18nNamespace");
3126
- var symbolOverrideApp = Symbol("overriceApp");
3126
+ var symbolOverrideApp = Symbol("overrideApp");
3127
3127
  // Caching menu requests to avoid flicker.
3128
3128
  var menuCache = new Map();
3129
3129
  var menuTitleCache = new Map();
@@ -3278,7 +3278,8 @@ function _mergeMenu() {
3278
3278
 
3279
3279
  return _objectSpread(_objectSpread({}, mainMenu), {}, {
3280
3280
  items: validMenuList.flatMap(menu => processGroupInject(menu.items, menu, injectWithMenus, menuWithI18n)),
3281
- [symbolMenuI18nNamespace]: menuWithI18n.get(mainMenu)
3281
+ [symbolMenuI18nNamespace]: menuWithI18n.get(mainMenu),
3282
+ [symbolOverrideApp]: mainMenu.overrideApp
3282
3283
  });
3283
3284
  });
3284
3285
  return _mergeMenu.apply(this, arguments);
@@ -12661,7 +12662,7 @@ class Router {
12661
12662
  _this3.state = "mounted";
12662
12663
  devtoolsHookEmit("rendered");
12663
12664
 
12664
- if (!_this3.kernel.getFeatureFlags()["disable-prefetch-scripts"]) {
12665
+ if (_this3.kernel.getFeatureFlags()["prefetch-scripts"]) {
12665
12666
  // Try to prefetch during a browser's idle periods.
12666
12667
  // https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback
12667
12668
  if (typeof window.requestIdleCallback === "function") {