@regenbio/regenbio-components-react 1.3.11 → 1.3.12
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.
|
@@ -6,16 +6,16 @@ import { RbAppLayoutProps, RbInitialStateReqProps, RbInitialStateRespProps } fro
|
|
|
6
6
|
* @param props 初始化入参
|
|
7
7
|
* @return 初始化结果
|
|
8
8
|
*/
|
|
9
|
-
export declare const
|
|
9
|
+
export declare const getRbInitialState: (props: RbInitialStateReqProps) => Promise<RbInitialStateRespProps>;
|
|
10
10
|
/**
|
|
11
11
|
* 获取样式
|
|
12
12
|
*
|
|
13
13
|
* @param props 入参
|
|
14
14
|
* @return 配置
|
|
15
15
|
*/
|
|
16
|
-
export declare const
|
|
16
|
+
export declare const getRbAppLayout: (props: RbAppLayoutProps) => any;
|
|
17
17
|
declare const _default: {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
getRbInitialState: (props: RbInitialStateReqProps) => Promise<RbInitialStateRespProps>;
|
|
19
|
+
getRbAppLayout: (props: RbAppLayoutProps) => any;
|
|
20
20
|
};
|
|
21
21
|
export default _default;
|
|
@@ -100,7 +100,7 @@ export type RbAppLayoutProps = {
|
|
|
100
100
|
/**
|
|
101
101
|
* 设置全局初始化状态
|
|
102
102
|
*/
|
|
103
|
-
setInitialState: (
|
|
103
|
+
setInitialState: (initialState: RbInitialStateRespProps) => void;
|
|
104
104
|
/**
|
|
105
105
|
* 获取头像预览URL方法
|
|
106
106
|
*
|
|
@@ -118,5 +118,5 @@ export type RbAppLayoutProps = {
|
|
|
118
118
|
/**
|
|
119
119
|
* 头像下拉
|
|
120
120
|
*/
|
|
121
|
-
avatarDropdown:
|
|
121
|
+
avatarDropdown: React.ReactNode;
|
|
122
122
|
};
|
package/build/index.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ import { RbMarkdownEditor, RbMarkdownConverter } from "./components/MarkdownEdit
|
|
|
27
27
|
import { RbMarkdownEditorProps } from "./components/MarkdownEditor/type";
|
|
28
28
|
import RbSingleImageUploader from "./components/Uploader/SingleImageUploader";
|
|
29
29
|
import { RbSingleImageUploaderProps } from "./components/Uploader/SingleImageUploader/type";
|
|
30
|
-
import {
|
|
30
|
+
import { getRbInitialState, getRbAppLayout } from "./components/AppLayout";
|
|
31
31
|
import { RbInitialStateReqProps, RbInitialStateRespProps, RbAppLayoutProps } from "./components/AppLayout/type";
|
|
32
32
|
import DbUtil from "./services/utils/dbUtil";
|
|
33
33
|
import ObjectUtil from "./services/utils/objectUtil";
|
|
@@ -77,7 +77,7 @@ export { RbMarkdownConverter, RbMarkdownEditor };
|
|
|
77
77
|
export type { RbMarkdownEditorProps };
|
|
78
78
|
export { RbSingleImageUploader };
|
|
79
79
|
export type { RbSingleImageUploaderProps };
|
|
80
|
-
export {
|
|
80
|
+
export { getRbInitialState, getRbAppLayout };
|
|
81
81
|
export type { RbInitialStateReqProps, RbInitialStateRespProps, RbAppLayoutProps };
|
|
82
82
|
export { DbUtil, ObjectUtil, EventUtil, StorageUtil, ResourceUtil, RenderUtil, StringUtil, NumberUtil, RandomUtil, UnicodeUtil, UploadUtil };
|
|
83
83
|
export { EventEnum, StorageEnum };
|