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