@regenbio/regenbio-components-react 1.4.27 → 1.4.29
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,5 +6,5 @@ import { RbSingleImageUploaderProps } from "./type";
|
|
|
6
6
|
* @param props
|
|
7
7
|
* @constructor
|
|
8
8
|
*/
|
|
9
|
-
declare const
|
|
10
|
-
export default
|
|
9
|
+
declare const RbSingleImageUploader: React.FC<RbSingleImageUploaderProps>;
|
|
10
|
+
export default RbSingleImageUploader;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { Rule } from "rc-field-form/lib/interface";
|
|
3
|
+
import { RespDTO } from "../../../services/types/commonType";
|
|
4
|
+
/**
|
|
5
|
+
* 表单属性
|
|
6
|
+
*/
|
|
7
|
+
export type RbUserSelectorProps = {
|
|
8
|
+
width?: number | 'sm' | 'md' | 'xl' | 'xs' | 'lg';
|
|
9
|
+
readonly?: boolean;
|
|
10
|
+
name: string;
|
|
11
|
+
label?: React.ReactNode;
|
|
12
|
+
placeholder?: React.ReactNode;
|
|
13
|
+
rules?: Rule[];
|
|
14
|
+
mode?: 'multiple' | 'tags';
|
|
15
|
+
userType: Array<0 | 1>;
|
|
16
|
+
request: (param: string, guidList: string[], fillUser?: boolean, userType?: string[]) => Promise<RespDTO>;
|
|
17
|
+
onChange?: (value: Array<string> | string) => void;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* 表单属性
|
|
21
|
+
*/
|
|
22
|
+
export type RbUserSelectorExecutorProps = {
|
|
23
|
+
width?: number | 'sm' | 'md' | 'xl' | 'xs' | 'lg';
|
|
24
|
+
readonly?: boolean;
|
|
25
|
+
name: string;
|
|
26
|
+
label?: React.ReactNode;
|
|
27
|
+
placeholder?: React.ReactNode;
|
|
28
|
+
rules?: Rule[];
|
|
29
|
+
mode?: 'multiple' | 'tags';
|
|
30
|
+
userType: Array<0 | 1>;
|
|
31
|
+
request: (param: string, guidList: string[], fillUser?: boolean, userType?: string[]) => Promise<RespDTO>;
|
|
32
|
+
value: Array<string> | string;
|
|
33
|
+
onChange?: (value: Array<string> | string) => void;
|
|
34
|
+
afterChange?: (value: Array<string> | string) => void;
|
|
35
|
+
};
|
|
36
|
+
declare const RbUserSelector3: React.FC<RbUserSelectorProps>;
|
|
37
|
+
export default RbUserSelector3;
|
package/build/index.d.ts
CHANGED
|
@@ -55,6 +55,7 @@ import useRbAuthorize from "./services/hooks/useRbAuthorize";
|
|
|
55
55
|
import useRbMessage from "./services/hooks/feedback/useRbMessage";
|
|
56
56
|
import useRbNotification from "./services/hooks/feedback/useRbNotification";
|
|
57
57
|
import useRbFeedback from "./services/hooks/feedback/useRbFeedback";
|
|
58
|
+
import useRbDesensitization from "./services/hooks/useRbDesensitization";
|
|
58
59
|
import CommonConstant from "./services/constants/commonConstant";
|
|
59
60
|
import IconConstant from "./services/constants/iconConstant";
|
|
60
61
|
import DbConstant from "./services/constants/dbConstant";
|
|
@@ -105,7 +106,7 @@ export { EventEnum, StorageEnum };
|
|
|
105
106
|
export { CommonConstant, IconConstant, DbConstant };
|
|
106
107
|
export { RespDTO, ConstantListItem, DictListItem, PageParams, RbInitialStateReqProps, RbInitialStateRespProps, RbGlobalStateType, RbGlobalFunctionType };
|
|
107
108
|
export { BaseDO, BaseRelativeDO, TokenDO };
|
|
108
|
-
export { useRbDictionary, useRbValueEnum, useRbAuthorize, useRbMessage, useRbNotification, useRbFeedback };
|
|
109
|
+
export { useRbDictionary, useRbValueEnum, useRbAuthorize, useRbMessage, useRbNotification, useRbFeedback, useRbDesensitization };
|
|
109
110
|
export { zhCN, enUS };
|
|
110
111
|
declare const _default: {
|
|
111
112
|
RbDataTable: <DataSource, U, ValueType = "text">(props: RbDataTableProps<DataSource, U, ValueType>) => any;
|