hlyc-web-pack 2.9.9 → 3.0.3
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.
|
@@ -4,10 +4,10 @@ import moment from 'moment';
|
|
|
4
4
|
import { RowProps } from 'antd/es/row';
|
|
5
5
|
import { ColProps } from 'antd/es/col';
|
|
6
6
|
import { FormProps, Rule, FormItemProps } from 'antd/es/form';
|
|
7
|
-
import { RateProps } from 'antd/
|
|
8
|
-
import { TreeSelectProps } from 'antd/
|
|
9
|
-
import { SelectProps } from 'antd/
|
|
10
|
-
import { CheckboxValueType } from 'antd/
|
|
7
|
+
import { RateProps } from 'antd/es/rate';
|
|
8
|
+
import { TreeSelectProps } from 'antd/es/tree-select';
|
|
9
|
+
import { SelectProps } from 'antd/es/select';
|
|
10
|
+
import { CheckboxValueType } from 'antd/es/checkbox/Group';
|
|
11
11
|
import { DataNode, DefaultValueType } from 'rc-tree-select/es/interface';
|
|
12
12
|
import { FormInstance } from 'rc-field-form/es/interface';
|
|
13
13
|
import { DatePickerProps, RangePickerProps } from 'antd/es/date-picker';
|
|
@@ -45,8 +45,10 @@ export declare type FormListType = {
|
|
|
45
45
|
maxLength?: number;
|
|
46
46
|
valuePropName?: string;
|
|
47
47
|
inputConfig?: {
|
|
48
|
-
prefix?:
|
|
49
|
-
suffix?:
|
|
48
|
+
prefix?: React.ReactNode;
|
|
49
|
+
suffix?: React.ReactNode;
|
|
50
|
+
addonAfter?: React.ReactNode;
|
|
51
|
+
addonBefore?: React.ReactNode;
|
|
50
52
|
inputMode?: 'text' | 'password' | 'email' | 'url' | 'number' | 'range' | 'Date pickers' | 'search' | 'color';
|
|
51
53
|
};
|
|
52
54
|
datePickerConfig?: DatePickerProps;
|
|
@@ -119,5 +121,5 @@ interface GenerateFormProp {
|
|
|
119
121
|
/** 动态渲染操作按钮或其他元素 */
|
|
120
122
|
render?: () => React.ReactElement;
|
|
121
123
|
}
|
|
122
|
-
declare const _default: React.
|
|
124
|
+
declare const _default: React.NamedExoticComponent<GenerateFormProp & React.RefAttributes<unknown>>;
|
|
123
125
|
export default _default;
|
|
@@ -55,7 +55,7 @@ export interface LayoutTableModalPropType {
|
|
|
55
55
|
/** 关闭弹窗回调 */
|
|
56
56
|
onCancel?: () => void;
|
|
57
57
|
/** 确定弹窗回调 */
|
|
58
|
-
onConfirm?: (
|
|
58
|
+
onConfirm?: (rows: AnyObjectType[], ids: string[]) => Promise<boolean>;
|
|
59
59
|
}
|
|
60
60
|
declare const _default: React.NamedExoticComponent<LayoutTableModalPropType & React.RefAttributes<unknown>>;
|
|
61
61
|
export default _default;
|