@flatbiz/pro-layout 4.4.18 → 4.4.19

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/index.d.ts CHANGED
@@ -527,16 +527,26 @@ export type BootstrapOptions = {
527
527
  * @deprecated 已过期,判断业务中是否使用了model的全局异常拦截功能,如果没有使用可删除
528
528
  */
529
529
  verifySessionExpired?: (err: any) => boolean;
530
- /** 当sidebar菜单有level限制时,限制数目 */
530
+ /**
531
+ * sidebar菜单层级限制,层级以外的一级菜单会显示在内容区顶部
532
+ * ```
533
+ * 1. layoutMode = iframe-main && multiFrameTabs = false 有效
534
+ * 2. 效果可参考新版本find系统
535
+ * ```
536
+ */
537
+ siderBarMaxMenuLevel?: number;
531
538
  /** 侧边栏一级菜单是否可以多个打开,默认值: true */
532
539
  siderBarFirstMenuFoldMultipleOpen?: boolean;
533
540
  /** 面包屑配置 */
534
541
  breadcrumbProps?: Pick<BreadcrumbProps, "separator" | "className">;
535
542
  /** LayoutPage className属性 */
536
543
  layoutPageClassName?: string;
544
+ /** 取消iframe中路由地址同步至外部父窗口,在 iframe-main 中配置有效 */
545
+ cancelIframeRouteSyncParent?: boolean;
537
546
  };
538
547
  export type LayoutCtxProps = {
539
548
  menus: TMenuItem[];
549
+ completeMenus: TMenuItem[];
540
550
  siderBarMenus: TMenuItem[];
541
551
  /** 平铺数组 */
542
552
  siderBarTileMenus: TMenuItem[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flatbiz/pro-layout",
3
- "version": "4.4.18",
3
+ "version": "4.4.19",
4
4
  "description": "WEB菜单布局",
5
5
  "main": "index.js",
6
6
  "typings": "index.d.ts",