@next-core/brick-kit 2.178.15 → 2.178.17

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.
@@ -3138,6 +3138,8 @@
3138
3138
  });
3139
3139
  }
3140
3140
  }
3141
+ var usedActions = brickUtils.scanPermissionActionsInAny(menu.itemsResolve);
3142
+ yield validatePermissions(usedActions);
3141
3143
  yield _internalApiGetResolver().resolveOne("reference", _objectSpread__default["default"]({
3142
3144
  transform: "items",
3143
3145
  transformMapArray: false
@@ -11931,11 +11933,15 @@
11931
11933
  if (route && route.type !== "routes" || failed) {
11932
11934
  var _this3$kernel$bootstr3, _this3$kernel$bootstr4, _getAuth$license;
11933
11935
  yield pendingTask;
11936
+ window.DISABLE_REACT_FLUSH_SYNC = false;
11934
11937
  main.length > 0 && mountTree(main, mountPoints.main);
11935
11938
  portal.length > 0 && mountTree(portal, mountPoints.portal);
11936
11939
  afterMountTree(mountPoints.main);
11937
11940
  afterMountTree(mountPoints.portal);
11938
11941
  afterMountTree(mountPoints.bg);
11942
+ setTimeout(() => {
11943
+ window.DISABLE_REACT_FLUSH_SYNC = true;
11944
+ });
11939
11945
 
11940
11946
  // Scroll to top after each rendering.
11941
11947
  // See https://github.com/ReactTraining/react-router/blob/master/packages/react-router-dom/docs/guides/scroll-restoration.md