@flatbiz/pro-layout 4.4.27 → 4.4.29
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/esm/index.css +1 -1
- package/esm/index.js +1 -1
- package/esm/index.js.map +1 -1
- package/index.d.ts +4 -1
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -83,7 +83,7 @@ export interface PageWrapperProps extends Omit<PageProps, "children"> {
|
|
|
83
83
|
errorRender?: (error?: TAny) => ReactElement;
|
|
84
84
|
}
|
|
85
85
|
export type PageWrapperRefApi = {
|
|
86
|
-
onRefresh: (
|
|
86
|
+
onRefresh: () => void;
|
|
87
87
|
};
|
|
88
88
|
/**
|
|
89
89
|
* 为Page内置接口处理流程组件,如果无全局初始化接口请求场景,请使用Page组件
|
|
@@ -99,6 +99,7 @@ export type PageWrapperRefApi = {
|
|
|
99
99
|
export declare const PageWrapper: import("react").ForwardRefExoticComponent<PageWrapperProps & import("react").RefAttributes<PageWrapperRefApi>>;
|
|
100
100
|
export declare const usePageWrapper: () => {
|
|
101
101
|
onReload: () => void;
|
|
102
|
+
onRefresh: () => void;
|
|
102
103
|
};
|
|
103
104
|
export interface FallbackProps {
|
|
104
105
|
error: Error;
|
|
@@ -655,6 +656,8 @@ export declare const useRegisterRefreshCurrentIframeTab: (refreshKey: string, on
|
|
|
655
656
|
* @returns
|
|
656
657
|
*/
|
|
657
658
|
export declare const useRefreshRegisterIframeTab: () => (refreshKey: string, params?: TPlainObject) => void;
|
|
659
|
+
/** iframe tab 激活回调 */
|
|
660
|
+
export declare const useIframeTabActive: (callback: () => void) => void;
|
|
658
661
|
export type IframeHandler<T = unknown> = (data: T) => void;
|
|
659
662
|
/**
|
|
660
663
|
* iframe通信Demo:https://fex.qa.tcshuke.com/docs/admin/main/exchange
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flatbiz/pro-layout",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.29",
|
|
4
4
|
"description": "WEB菜单布局",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"typings": "index.d.ts",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"react-router-dom": ">=6.8.1"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@ant-design/icons": "^
|
|
48
|
+
"@ant-design/icons": "^5.0.1",
|
|
49
49
|
"@dimjs/lang": "^1.2.23",
|
|
50
50
|
"@dimjs/model": "^1.1.8",
|
|
51
51
|
"@dimjs/model-react": "^1.1.8",
|