@flatbiz/pro-layout 5.0.5 → 5.0.6

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.js CHANGED
@@ -3189,7 +3189,7 @@ var NormalRoutesTiming = function NormalRoutesTiming() {
3189
3189
  return /*#__PURE__*/jsx(Fragment, {});
3190
3190
  };
3191
3191
 
3192
- var _excluded = ["sidebarWidth", "componentSize", "locale", "logoPath", "headerThemeConfig", "sidebarThemeConfig", "completeMenus", "separatePathList"];
3192
+ var _excluded = ["sidebarWidth", "componentSize", "locale", "logoPath", "headerThemeConfig", "sidebarThemeConfig", "completeMenus", "separateIframeTabPathList"];
3193
3193
  var AppProvider = function AppProvider(props) {
3194
3194
  var navigate = useNavigate();
3195
3195
  var sidebarWidth = props.sidebarWidth,
@@ -3199,7 +3199,7 @@ var AppProvider = function AppProvider(props) {
3199
3199
  headerThemeConfig = props.headerThemeConfig,
3200
3200
  sidebarThemeConfig = props.sidebarThemeConfig,
3201
3201
  completeMenus = props.completeMenus,
3202
- separatePathList = props.separatePathList,
3202
+ separateIframeTabPathList = props.separateIframeTabPathList,
3203
3203
  options = _objectWithoutProperties(props, _excluded);
3204
3204
  var isIframeMain = options.layoutMode === 'iframe-main';
3205
3205
  var unMatchHiddenSiderBar = isUndefined(options.unMatchHiddenSiderBar) ? true : options.unMatchHiddenSiderBar;
@@ -3439,7 +3439,7 @@ var AppProvider = function AppProvider(props) {
3439
3439
  }
3440
3440
  } else if (type === 'menuClick') {
3441
3441
  if (valueIsEqual(id, siderBarMenuActiveItem === null || siderBarMenuActiveItem === void 0 ? void 0 : siderBarMenuActiveItem.id)) {
3442
- var _target2 = separatePathList === null || separatePathList === void 0 ? void 0 : separatePathList.find(function (item) {
3442
+ var _target2 = separateIframeTabPathList === null || separateIframeTabPathList === void 0 ? void 0 : separateIframeTabPathList.find(function (item) {
3443
3443
  return getIframeMainPurePath(item) == getIframeMainPurePath(location.pathname);
3444
3444
  });
3445
3445
  if (!_target2) {