@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.
@@ -1,6 +1,7 @@
1
1
  import { RbFileTagProps } from "./type";
2
2
  /**
3
3
  * 文件标签Hook
4
+ * @param props 属性
4
5
  */
5
6
  declare const useFileTag: (props: RbFileTagProps) => {
6
7
  intl: any;
@@ -1,4 +1,8 @@
1
1
  import { RbHtmlRenderProps } from "./type";
2
+ /**
3
+ * HTML渲染器Hook
4
+ * @param props 属性
5
+ */
2
6
  declare const useHtmlRender: (props: RbHtmlRenderProps) => {
3
7
  renderContent: any;
4
8
  };
@@ -1,9 +1,2 @@
1
- import React from 'react';
2
- import { RbIconRenderProps } from "./type";
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;
@@ -1,4 +1,8 @@
1
1
  import { RbUserCardProps } from "./type";
2
+ /**
3
+ * 用户卡片Hook
4
+ * @param props 属性
5
+ */
2
6
  declare const useUserCard: (props: RbUserCardProps) => {
3
7
  getAvatar: any;
4
8
  onShowTooltip: any;
@@ -1,9 +1,2 @@
1
- import React from 'react';
2
- import { RbUserCardProps } from "./type";
3
- /**
4
- * RB 用户卡片
5
- *
6
- * @constructor
7
- */
8
- declare const RbUserCard: React.FC<RbUserCardProps>;
9
- export default RbUserCard;
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
- export declare const RbMarkdownConverter: Showdown.Converter;
8
+ declare const RbMarkdownConverter: Showdown.Converter;
9
9
  /**
10
10
  * Rb Markdown编辑器
11
11
  *
12
12
  * @param props 属性
13
13
  * @constructor
14
14
  */
15
- export declare const RbMarkdownEditor: React.FC<RbMarkdownEditorProps>;
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,10 @@
1
+ import { RbActionBarProps } from "./type";
2
+ /**
3
+ * 操作栏Hook
4
+ * @param props 属性
5
+ */
6
+ declare const useActionBar: (props: RbActionBarProps) => {
7
+ operationList: any;
8
+ extendList: any;
9
+ };
10
+ export default useActionBar;
@@ -0,0 +1,11 @@
1
+ import { RbAuthFrameProps } from "./type";
2
+ /**
3
+ * 授权组件Hook
4
+ * @param props 属性
5
+ */
6
+ declare const useAuthFrame: (props: RbAuthFrameProps) => {
7
+ setExceptionMsg: any;
8
+ exceptionMsg: any;
9
+ intl: any;
10
+ };
11
+ export default useAuthFrame;
@@ -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;
@@ -0,0 +1,9 @@
1
+ import { RbThemeProps } from "./type";
2
+ /**
3
+ * 主题设置器Hook
4
+ * @param props 属性
5
+ */
6
+ declare const useThemeSetter: (props: RbThemeProps) => {
7
+ mode: any;
8
+ };
9
+ export default useThemeSetter;
@@ -0,0 +1,9 @@
1
+ import { RbHomePageProps } from "./type";
2
+ /**
3
+ * 主页Hook
4
+ * @param props 属性
5
+ */
6
+ declare const useHomePage: (props: RbHomePageProps) => {
7
+ isChild: any;
8
+ };
9
+ export default useHomePage;
@@ -0,0 +1,10 @@
1
+ import { RbPageContainerProps } from "./type";
2
+ /**
3
+ * 主页Hook
4
+ * @param props 属性
5
+ */
6
+ declare const usePageContainer: (props: RbPageContainerProps) => {
7
+ mode: any;
8
+ loading: any;
9
+ };
10
+ export default usePageContainer;
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: React.FC<RbUserCardProps>;
111
- RbIconRender: React.FC<RbIconRenderProps>;
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) & {