@regenbio/regenbio-components-react 1.3.35 → 1.3.36
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/PageLayout/AppLayout/type.d.ts +0 -6
- package/build/index.d.ts +4 -4
- 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
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Ref } from "react";
|
|
2
|
+
import { Chart } from "@antv/g2";
|
|
2
3
|
/**
|
|
3
4
|
* 图表操作类型
|
|
4
5
|
*/
|
|
@@ -34,7 +35,7 @@ export type RbDataChartProps = {
|
|
|
34
35
|
* @param chart 图表
|
|
35
36
|
* @param data 数据
|
|
36
37
|
*/
|
|
37
|
-
chartInit: (chart:
|
|
38
|
+
chartInit: (chart: Chart, data: any) => void;
|
|
38
39
|
/**
|
|
39
40
|
* 请求数据
|
|
40
41
|
*/
|
|
@@ -20,12 +20,6 @@ export type RbAppLayoutProps = {
|
|
|
20
20
|
* 设置全局初始化状态
|
|
21
21
|
*/
|
|
22
22
|
setInitialState: (initialState: RbInitialStateRespProps) => void;
|
|
23
|
-
/**
|
|
24
|
-
* 获取头像预览URL方法
|
|
25
|
-
*
|
|
26
|
-
* @param guid 头像文件主键ID
|
|
27
|
-
*/
|
|
28
|
-
getPreviewUrl: (guid: any) => null | string;
|
|
29
23
|
/**
|
|
30
24
|
* 语言组件
|
|
31
25
|
*/
|
package/build/index.d.ts
CHANGED
|
@@ -47,9 +47,9 @@ import UploadUtil from "./services/utils/uploadUtil";
|
|
|
47
47
|
import RequestUtil from "./services/utils/requestUtil";
|
|
48
48
|
import EventEnum from "./services/enums/eventEnum";
|
|
49
49
|
import StorageEnum from "./services/enums/storageEnum";
|
|
50
|
-
import
|
|
51
|
-
import
|
|
52
|
-
import
|
|
50
|
+
import useRbDictionary from "./services/hooks/useRbDictionary";
|
|
51
|
+
import useRbValueEnum from "./services/hooks/useRbValueEnum";
|
|
52
|
+
import useRbAuthorize from "./services/hooks/useRbAuthorize";
|
|
53
53
|
import CommonConstant from "./services/constants/commonConstant";
|
|
54
54
|
import IconConstant from "./services/constants/iconConstant";
|
|
55
55
|
import DbConstant from "./services/constants/dbConstant";
|
|
@@ -98,7 +98,7 @@ export { EventEnum, StorageEnum };
|
|
|
98
98
|
export { CommonConstant, IconConstant, DbConstant };
|
|
99
99
|
export { RespDTO, ConstantListItem, DictListItem, PageParams, RbInitialStateReqProps, RbInitialStateRespProps, RbGlobalStateType, RbGlobalFunctionType };
|
|
100
100
|
export { BaseDO, BaseRelativeDO, TokenDO };
|
|
101
|
-
export {
|
|
101
|
+
export { useRbDictionary, useRbValueEnum, useRbAuthorize };
|
|
102
102
|
export { zhCN, enUS };
|
|
103
103
|
declare const _default: {
|
|
104
104
|
RbDataTable: <DataSource, U, ValueType = "text">(props: RbDataTableProps<DataSource, U, ValueType>) => any;
|