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