@regenbio/regenbio-components-react 1.3.38 → 1.3.39
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/HomePage/hook.d.ts +9 -0
- package/build/components/PageLayout/PageContainer/hook.d.ts +10 -0
- package/build/index.d.ts +2 -2
- package/build/index.js +3 -3
- 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
|
@@ -107,8 +107,8 @@ declare const _default: {
|
|
|
107
107
|
RbThemeSetter: React.FC<import("./components/Other/ThemeSetter/type").RbThemeProps>;
|
|
108
108
|
RbDataChart: React.FC<RbDataChartProps>;
|
|
109
109
|
RbFileTag: any;
|
|
110
|
-
RbUserCard:
|
|
111
|
-
RbIconRender:
|
|
110
|
+
RbUserCard: any;
|
|
111
|
+
RbIconRender: any;
|
|
112
112
|
RbHtmlRender: React.FC<RbHtmlRenderProps>;
|
|
113
113
|
RbDragTable: <DataSource, U, ValueType = "text">(props: RbDragTableProps<DataSource, U, ValueType>) => any;
|
|
114
114
|
RbUserSelector: (<T, OptionType extends import("rc-cascader").BaseOptionType = any>(props: RbUserSelectorProps<T, OptionType>) => React.ReactElement) & {
|