@regenbio/regenbio-components-react 1.3.38 → 1.3.40
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/build/components/DataDisplay/FileTag/hook.d.ts +1 -0
- package/build/components/DataDisplay/HtmlRender/hook.d.ts +4 -0
- package/build/components/DataDisplay/IconRender/index.d.ts +2 -9
- package/build/components/DataDisplay/UserCard/hook.d.ts +4 -0
- package/build/components/DataDisplay/UserCard/index.d.ts +2 -9
- package/build/components/DataEntry/AttachmentText/hook.d.ts +11 -0
- package/build/components/DataEntry/MarkdownEditor/hook.d.ts +11 -0
- package/build/components/DataEntry/MarkdownEditor/index.d.ts +3 -2
- package/build/components/DataEntry/Uploader/SingleImageUploader/hook.d.ts +11 -0
- package/build/components/DataEntry/Uploader/SingleImageUploader/type.d.ts +10 -0
- package/build/components/DataEntry/UserSelector/hook.d.ts +16 -0
- package/build/components/Other/ActionBar/hook.d.ts +10 -0
- package/build/components/Other/LoginLoad/AuthFrame/hook.d.ts +11 -0
- package/build/components/Other/LoginLoad/BindFrame/hook.d.ts +16 -0
- package/build/components/Other/ThemeSetter/hook.d.ts +9 -0
- package/build/components/PageLayout/AppLayout/type.d.ts +4 -0
- package/build/components/PageLayout/HomePage/hook.d.ts +9 -0
- package/build/components/PageLayout/PageContainer/hook.d.ts +10 -0
- package/build/components/PageLayout/PageContainer/type.d.ts +0 -5
- package/build/index.d.ts +6 -3
- package/build/index.js +3 -3
- package/build/services/enums/eventEnum.d.ts +5 -1
- package/build/services/enums/storageEnum.d.ts +4 -0
- package/build/services/hooks/useRbMessage.d.ts +11 -0
- package/build/services/hooks/useRbNotification.d.ts +11 -0
- package/build/services/hooks/useRbResponsive.d.ts +7 -0
- package/build/services/utils/eventUtil.d.ts +1 -0
- package/build/services/utils/storageUtil.d.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 全局提示Hook,基于EventUtil封装,只会在App包裹下的页面生效
|
|
3
|
+
*/
|
|
4
|
+
declare const useRbMessage: () => {
|
|
5
|
+
info: (content: any) => void;
|
|
6
|
+
success: (content: any) => void;
|
|
7
|
+
error: (content: any) => void;
|
|
8
|
+
warning: (content: any) => void;
|
|
9
|
+
loading: (content: any) => void;
|
|
10
|
+
};
|
|
11
|
+
export default useRbMessage;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 通知提醒Hook,基于EventUtil封装,只会在App包裹下的页面生效
|
|
3
|
+
*/
|
|
4
|
+
declare const useRbNotification: () => {
|
|
5
|
+
info: (content: any) => void;
|
|
6
|
+
success: (content: any) => void;
|
|
7
|
+
error: (content: any) => void;
|
|
8
|
+
warning: (content: any) => void;
|
|
9
|
+
loading: (content: any) => void;
|
|
10
|
+
};
|
|
11
|
+
export default useRbNotification;
|
|
@@ -4,5 +4,6 @@ declare const _default: {
|
|
|
4
4
|
eventEmitter: EventEmitter<string | symbol, any>;
|
|
5
5
|
pushMessageEvent: (level: NoticeType, content: string) => void;
|
|
6
6
|
pushNotificationEvent: (level: NoticeType, config: any) => void;
|
|
7
|
+
pushResponsiveEvent: (responsive: boolean) => void;
|
|
7
8
|
};
|
|
8
9
|
export default _default;
|
|
@@ -11,5 +11,7 @@ declare const _default: {
|
|
|
11
11
|
getBeforeExternalBindPathname: () => string;
|
|
12
12
|
setToken: (token: TokenDO) => void;
|
|
13
13
|
getToken: () => TokenDO | undefined;
|
|
14
|
+
setResponsive: (responsive: boolean) => void;
|
|
15
|
+
getResponsive: () => boolean;
|
|
14
16
|
};
|
|
15
17
|
export default _default;
|