hlyc-web-pack 3.3.7 → 3.4.0
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/lib/ButtonGroup/index.d.ts +1 -1
- package/lib/GaoDeMap/index.d.ts +1 -1
- package/lib/GenerateForm/index.d.ts +5 -4
- package/lib/GenerateTable/index.d.ts +1 -1
- package/lib/IconSelectionModal/index.d.ts +1 -1
- package/lib/QuicklyProcessForms/index.d.ts +1 -1
- package/lib/TreeNode/index.d.ts +1 -1
- package/lib/Upload/index.d.ts +3 -8
- package/lib/index.js +4 -19
- package/lib/unrelated/utils/index.d.ts +1 -1
- package/package.json +6 -3
|
@@ -25,5 +25,5 @@ export interface ButtonGroupTypeProps {
|
|
|
25
25
|
export interface ButtonGroupCallType {
|
|
26
26
|
getButtonGroupSelected: () => ButtonGroupListType[];
|
|
27
27
|
}
|
|
28
|
-
declare const _default: React.
|
|
28
|
+
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<ButtonGroupTypeProps & React.RefAttributes<unknown>>>;
|
|
29
29
|
export default _default;
|
package/lib/GaoDeMap/index.d.ts
CHANGED
|
@@ -19,5 +19,5 @@ export interface MapType {
|
|
|
19
19
|
lng: number;
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
|
-
declare const _default: React.
|
|
22
|
+
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<PropType & React.RefAttributes<unknown>>>;
|
|
23
23
|
export default _default;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { RadioChangeEvent } from 'antd';
|
|
3
|
-
import moment from 'moment';
|
|
4
3
|
import { RowProps } from 'antd/es/row';
|
|
5
4
|
import { ColProps } from 'antd/es/col';
|
|
6
5
|
import { FormProps, Rule, FormItemProps } from 'antd/es/form';
|
|
6
|
+
import { RangePickerSharedProps } from 'rc-picker/lib/RangePicker';
|
|
7
|
+
import { PickerSharedProps } from 'rc-picker/lib/Picker';
|
|
7
8
|
import { RateProps } from 'antd/es/rate';
|
|
8
9
|
import { TreeSelectProps } from 'antd/es/tree-select';
|
|
9
10
|
import { SelectProps } from 'antd/es/select';
|
|
@@ -91,8 +92,8 @@ export declare type FormListType = {
|
|
|
91
92
|
selectChange?: (e: string, other?: any) => void;
|
|
92
93
|
multipleChange?: (e: string, other?: any) => void;
|
|
93
94
|
remoteSearchChange?: (e: string, other?: any) => void;
|
|
94
|
-
datePickerChange?:
|
|
95
|
-
rangePickerChange?:
|
|
95
|
+
datePickerChange?: PickerSharedProps<any>['onChange'];
|
|
96
|
+
rangePickerChange?: RangePickerSharedProps<any>['onChange'];
|
|
96
97
|
switchChange?: (e: boolean, other?: any) => void;
|
|
97
98
|
radioChange?: (e: RadioChangeEvent, other?: any) => void;
|
|
98
99
|
checkboxChange?: (e: CheckboxValueType[], other?: any) => void;
|
|
@@ -121,5 +122,5 @@ interface GenerateFormProp {
|
|
|
121
122
|
/** 动态渲染操作按钮或其他元素 */
|
|
122
123
|
render?: () => React.ReactElement;
|
|
123
124
|
}
|
|
124
|
-
declare const _default: React.
|
|
125
|
+
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<GenerateFormProp & React.RefAttributes<unknown>>>;
|
|
125
126
|
export default _default;
|
|
@@ -58,5 +58,5 @@ export interface GenerateTableProp {
|
|
|
58
58
|
declare type TablePaginationType = TablePaginationConfig & {
|
|
59
59
|
pages: number;
|
|
60
60
|
};
|
|
61
|
-
declare const _default: React.
|
|
61
|
+
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<GenerateTableProp & React.RefAttributes<unknown>>>;
|
|
62
62
|
export default _default;
|
|
@@ -27,5 +27,5 @@ export interface QuicklyProcessTypes {
|
|
|
27
27
|
/** 关闭弹窗回调 */
|
|
28
28
|
onCancel?: (pageObj?: AnyObjectType) => void;
|
|
29
29
|
}
|
|
30
|
-
declare const _default: React.
|
|
30
|
+
declare const _default: React.MemoExoticComponent<(props: QuicklyProcessTypes) => JSX.Element>;
|
|
31
31
|
export default _default;
|
package/lib/TreeNode/index.d.ts
CHANGED
|
@@ -44,5 +44,5 @@ export interface TreeType {
|
|
|
44
44
|
children?: TreeType[];
|
|
45
45
|
[key: string]: any;
|
|
46
46
|
}
|
|
47
|
-
declare const _default: React.
|
|
47
|
+
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<PropTypes & React.RefAttributes<unknown>>>;
|
|
48
48
|
export default _default;
|
package/lib/Upload/index.d.ts
CHANGED
|
@@ -11,12 +11,7 @@ export declare type PropsType = {
|
|
|
11
11
|
/** 上传成功回调 */
|
|
12
12
|
uploadSuccess?: (data: UploadFile<any>[]) => void;
|
|
13
13
|
} & UploadProps;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
/** 设置上传的请求头部 */
|
|
18
|
-
headers?: AnyObjectType;
|
|
19
|
-
/** 上传成功回调 */
|
|
20
|
-
uploadSuccess?: (data: UploadFile<any>[]) => void;
|
|
21
|
-
} & UploadProps<any>>;
|
|
14
|
+
/** 上传文件组件 */
|
|
15
|
+
declare function Upload(props: PropsType): JSX.Element;
|
|
16
|
+
declare const _default: React.MemoExoticComponent<typeof Upload>;
|
|
22
17
|
export default _default;
|