@flatbiz/pro-layout 4.4.34 → 4.4.36

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
@@ -418,7 +418,12 @@ export type BootstrapOptions = {
418
418
  * 配置theme后 headerThemeConfig 配置失效
419
419
  */
420
420
  topMenuConfigProviderProps?: ConfigProviderWrapperProps;
421
- /** 自定义header颜色 */
421
+ /**
422
+ * 自定义header颜色
423
+ * ```
424
+ * 设置此属性后,内置的根据不同环境显示不同顶部背景色逻辑将失效
425
+ * ```
426
+ */
422
427
  headerThemeConfig?: THeaderThemeConfig | {
423
428
  dark?: THeaderThemeConfig;
424
429
  light?: THeaderThemeConfig;
@@ -601,11 +606,14 @@ export type LayoutCtxProps = {
601
606
  onIframeChange: (id: string, type: "menuClick" | "iframeTabClick" | "iframeRefresh", options?: {
602
607
  locationMenu?: boolean;
603
608
  }) => void;
604
- onDeleteIframeTabItem: (type: "other" | "otherAll" | "all" | "me", id?: string) => void;
609
+ /** 删除iframe tab并设置激活item */
610
+ onDeleteIframeTabItemAndSetActive: (type: "other" | "otherAll" | "all" | "me", id?: string) => void;
611
+ /** 删除iframe tab,不操作激活item */
612
+ onDeleteIframeTabItem: (id: string) => void;
605
613
  onIframeChangeByHttpUrl: (url: string, options?: {
606
614
  name?: string;
607
615
  metaTitle?: string;
608
- }, relationItem?: TPlainObject) => void;
616
+ }, targetIndex?: number) => void;
609
617
  onUpdateIframeTabName: (name: string) => void;
610
618
  normalModePositionMenu: (link: string) => void;
611
619
  iframeTopRouteMenuChange: (item: TMenuItem) => void;
@@ -772,6 +780,7 @@ export declare const LayoutPage: (props: {
772
780
  hideHeader?: boolean;
773
781
  elementId?: string;
774
782
  className?: string;
783
+ showDevFloatHelp?: boolean;
775
784
  }) => import("react/jsx-runtime").JSX.Element;
776
785
  export type IState = {
777
786
  isDark?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flatbiz/pro-layout",
3
- "version": "4.4.34",
3
+ "version": "4.4.36",
4
4
  "description": "WEB菜单布局",
5
5
  "main": "index.js",
6
6
  "typings": "index.d.ts",