@flatbiz/pro-layout 4.4.17 → 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,14 +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">;
542
+ /** LayoutPage className属性 */
543
+ layoutPageClassName?: string;
544
+ /** 取消iframe中路由地址同步至外部父窗口,在 iframe-main 中配置有效 */
545
+ cancelIframeRouteSyncParent?: boolean;
535
546
  };
536
547
  export type LayoutCtxProps = {
537
548
  menus: TMenuItem[];
549
+ completeMenus: TMenuItem[];
538
550
  siderBarMenus: TMenuItem[];
539
551
  /** 平铺数组 */
540
552
  siderBarTileMenus: TMenuItem[];
@@ -694,6 +706,7 @@ export declare const LayoutPage: (props: {
694
706
  children?: ReactElement;
695
707
  hideHeader?: boolean;
696
708
  elementId?: string;
709
+ className?: string;
697
710
  }) => import("react/jsx-runtime").JSX.Element;
698
711
  export type IState = {
699
712
  isDark?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flatbiz/pro-layout",
3
- "version": "4.4.17",
3
+ "version": "4.4.19",
4
4
  "description": "WEB菜单布局",
5
5
  "main": "index.js",
6
6
  "typings": "index.d.ts",