@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
|
@@ -1,9 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* RB 图标渲染器
|
|
5
|
-
*
|
|
6
|
-
* @constructor
|
|
7
|
-
*/
|
|
8
|
-
declare const RbIconRender: React.FC<RbIconRenderProps>;
|
|
9
|
-
export default RbIconRender;
|
|
1
|
+
declare const _default: any;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { RbAttachmentTextProps } from "./type";
|
|
2
|
+
/**
|
|
3
|
+
* 附件文本域Hook
|
|
4
|
+
* @param props 属性
|
|
5
|
+
*/
|
|
6
|
+
declare const useAttachmentText: (props: RbAttachmentTextProps) => {
|
|
7
|
+
intl: any;
|
|
8
|
+
globalFunctions: any;
|
|
9
|
+
inputRef: any;
|
|
10
|
+
};
|
|
11
|
+
export default useAttachmentText;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { RbMarkdownEditorProps } from "./type";
|
|
2
|
+
/**
|
|
3
|
+
* Markdown编辑器Hook
|
|
4
|
+
* @param props 属性
|
|
5
|
+
*/
|
|
6
|
+
declare const useMarkdownEditor: (props: RbMarkdownEditorProps) => {
|
|
7
|
+
intl: any;
|
|
8
|
+
selectedTab: any;
|
|
9
|
+
setSelectedTab: any;
|
|
10
|
+
};
|
|
11
|
+
export default useMarkdownEditor;
|
|
@@ -5,11 +5,12 @@ import { RbMarkdownEditorProps } from "./type";
|
|
|
5
5
|
/**
|
|
6
6
|
* Markdown语法转换器
|
|
7
7
|
*/
|
|
8
|
-
|
|
8
|
+
declare const RbMarkdownConverter: Showdown.Converter;
|
|
9
9
|
/**
|
|
10
10
|
* Rb Markdown编辑器
|
|
11
11
|
*
|
|
12
12
|
* @param props 属性
|
|
13
13
|
* @constructor
|
|
14
14
|
*/
|
|
15
|
-
|
|
15
|
+
declare const RbMarkdownEditor: React.FC<RbMarkdownEditorProps>;
|
|
16
|
+
export { RbMarkdownConverter, RbMarkdownEditor };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { RbSingleImageUploaderExtraProps, RbSingleImageUploaderProps } from "./type";
|
|
2
|
+
/**
|
|
3
|
+
* 单图片上传器Hook
|
|
4
|
+
* @param props 属性
|
|
5
|
+
*/
|
|
6
|
+
declare const useSingleImageUploader: (props: RbSingleImageUploaderProps & RbSingleImageUploaderExtraProps) => {
|
|
7
|
+
intl: any;
|
|
8
|
+
globalFunctions: any;
|
|
9
|
+
onFileChange: any;
|
|
10
|
+
};
|
|
11
|
+
export default useSingleImageUploader;
|
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { NamePath } from "rc-field-form/es/interface";
|
|
3
3
|
import type { Rule } from "rc-field-form/lib/interface";
|
|
4
|
+
/**
|
|
5
|
+
* 额外参数
|
|
6
|
+
*/
|
|
7
|
+
export type RbSingleImageUploaderExtraProps = {
|
|
8
|
+
/**
|
|
9
|
+
* 数据改变回调
|
|
10
|
+
* @param value 数据
|
|
11
|
+
*/
|
|
12
|
+
onChange: (value: any) => void;
|
|
13
|
+
};
|
|
4
14
|
/**
|
|
5
15
|
* 单图片上传器属性
|
|
6
16
|
*/
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { RbUserSelectorProps } from "../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* 用户选择器Hook
|
|
4
|
+
* @param props 属性
|
|
5
|
+
*/
|
|
6
|
+
declare const useUserSelector: <T, OptionType>({ widthControl, children, params, proFieldProps, mode, valueEnum, request, ...rest }: RbUserSelectorProps<T, OptionType>) => {
|
|
7
|
+
setKeywords: any;
|
|
8
|
+
onFuzzy: (param: any) => Promise<void>;
|
|
9
|
+
start: any;
|
|
10
|
+
loading: any;
|
|
11
|
+
context: any;
|
|
12
|
+
data: any;
|
|
13
|
+
intl: any;
|
|
14
|
+
keywords: any;
|
|
15
|
+
};
|
|
16
|
+
export default useUserSelector;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { RbBindFrameProps } from "./type";
|
|
2
|
+
/**
|
|
3
|
+
* 绑定组件Hook
|
|
4
|
+
* @param props 属性
|
|
5
|
+
*/
|
|
6
|
+
declare const useBindFrame: (props: RbBindFrameProps) => {
|
|
7
|
+
setCurrent: any;
|
|
8
|
+
setLoading: any;
|
|
9
|
+
steps: any;
|
|
10
|
+
mailStep: any;
|
|
11
|
+
externalStep: any;
|
|
12
|
+
current: any;
|
|
13
|
+
loading: any;
|
|
14
|
+
externalBind: any;
|
|
15
|
+
};
|
|
16
|
+
export default useBindFrame;
|
package/build/index.d.ts
CHANGED
|
@@ -50,6 +50,9 @@ import StorageEnum from "./services/enums/storageEnum";
|
|
|
50
50
|
import useRbDictionary from "./services/hooks/useRbDictionary";
|
|
51
51
|
import useRbValueEnum from "./services/hooks/useRbValueEnum";
|
|
52
52
|
import useRbAuthorize from "./services/hooks/useRbAuthorize";
|
|
53
|
+
import useRbMessage from "./services/hooks/useRbMessage";
|
|
54
|
+
import useRbNotification from "./services/hooks/useRbNotification";
|
|
55
|
+
import useRbResponsive from "./services/hooks/useRbResponsive";
|
|
53
56
|
import CommonConstant from "./services/constants/commonConstant";
|
|
54
57
|
import IconConstant from "./services/constants/iconConstant";
|
|
55
58
|
import DbConstant from "./services/constants/dbConstant";
|
|
@@ -98,7 +101,7 @@ export { EventEnum, StorageEnum };
|
|
|
98
101
|
export { CommonConstant, IconConstant, DbConstant };
|
|
99
102
|
export { RespDTO, ConstantListItem, DictListItem, PageParams, RbInitialStateReqProps, RbInitialStateRespProps, RbGlobalStateType, RbGlobalFunctionType };
|
|
100
103
|
export { BaseDO, BaseRelativeDO, TokenDO };
|
|
101
|
-
export { useRbDictionary, useRbValueEnum, useRbAuthorize };
|
|
104
|
+
export { useRbDictionary, useRbValueEnum, useRbAuthorize, useRbMessage, useRbNotification, useRbResponsive };
|
|
102
105
|
export { zhCN, enUS };
|
|
103
106
|
declare const _default: {
|
|
104
107
|
RbDataTable: <DataSource, U, ValueType = "text">(props: RbDataTableProps<DataSource, U, ValueType>) => any;
|
|
@@ -107,8 +110,8 @@ declare const _default: {
|
|
|
107
110
|
RbThemeSetter: React.FC<import("./components/Other/ThemeSetter/type").RbThemeProps>;
|
|
108
111
|
RbDataChart: React.FC<RbDataChartProps>;
|
|
109
112
|
RbFileTag: any;
|
|
110
|
-
RbUserCard:
|
|
111
|
-
RbIconRender:
|
|
113
|
+
RbUserCard: any;
|
|
114
|
+
RbIconRender: any;
|
|
112
115
|
RbHtmlRender: React.FC<RbHtmlRenderProps>;
|
|
113
116
|
RbDragTable: <DataSource, U, ValueType = "text">(props: RbDragTableProps<DataSource, U, ValueType>) => any;
|
|
114
117
|
RbUserSelector: (<T, OptionType extends import("rc-cascader").BaseOptionType = any>(props: RbUserSelectorProps<T, OptionType>) => React.ReactElement) & {
|