@regenbio/regenbio-components-react 1.3.35 → 1.3.37
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/DataChart/hook.d.ts +10 -0
- package/build/components/DataDisplay/DataChart/type.d.ts +2 -1
- package/build/components/DataDisplay/DataTable/hook.d.ts +26 -0
- package/build/components/DataDisplay/DragTable/hook.d.ts +128 -0
- package/build/components/DataDisplay/FileTag/hook.d.ts +10 -0
- package/build/components/DataDisplay/FileTag/index.d.ts +2 -9
- package/build/components/DataDisplay/HtmlRender/hook.d.ts +5 -0
- package/build/components/DataDisplay/IconRender/hook.d.ts +11 -0
- package/build/components/DataDisplay/UserCard/hook.d.ts +17 -0
- package/build/components/PageLayout/AppLayout/type.d.ts +0 -6
- package/build/index.d.ts +5 -5
- package/build/index.js +3 -3
- package/build/services/hooks/{useAuthorize.d.ts → useRbAuthorize.d.ts} +2 -2
- package/build/services/hooks/{useDictionary.d.ts → useRbDictionary.d.ts} +2 -2
- package/build/services/hooks/{useValueEnum.d.ts → useRbValueEnum.d.ts} +2 -2
- package/package.json +1 -1
|
@@ -3,11 +3,11 @@ import React from "react";
|
|
|
3
3
|
/**
|
|
4
4
|
* 字典操作Hook
|
|
5
5
|
*/
|
|
6
|
-
declare const
|
|
6
|
+
declare const useRbDictionary: () => {
|
|
7
7
|
getDataByType: (type: string) => Promise<DictListItem[]>;
|
|
8
8
|
getTagDataByType: (type: string) => Promise<{
|
|
9
9
|
label: React.ReactNode;
|
|
10
10
|
value: number;
|
|
11
11
|
}[]>;
|
|
12
12
|
};
|
|
13
|
-
export default
|
|
13
|
+
export default useRbDictionary;
|
|
@@ -3,7 +3,7 @@ import { ProSchemaValueEnumType } from "@ant-design/pro-provider";
|
|
|
3
3
|
/**
|
|
4
4
|
* 值枚举操作Hook
|
|
5
5
|
*/
|
|
6
|
-
declare const
|
|
6
|
+
declare const useRbValueEnum: () => {
|
|
7
7
|
convertListToMap: (list: ConstantListItem[]) => Map<any, ProSchemaValueEnumType>;
|
|
8
8
|
};
|
|
9
|
-
export default
|
|
9
|
+
export default useRbValueEnum;
|