hlyc-web-pack 3.5.1 → 3.5.11

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.
@@ -5,6 +5,7 @@ import { ColProps } from 'antd/es/col';
5
5
  import { FormProps, Rule, FormItemProps } from 'antd/es/form';
6
6
  import { RangePickerSharedProps } from 'rc-picker/lib/RangePicker';
7
7
  import { PickerSharedProps } from 'rc-picker/lib/Picker';
8
+ import { TimePickerProps } from 'antd/es/time-picker';
8
9
  import { RateProps } from 'antd/es/rate';
9
10
  import { TreeSelectProps } from 'antd/es/tree-select';
10
11
  import { SelectProps } from 'antd/es/select';
@@ -46,7 +47,7 @@ interface UnionType {
46
47
  export declare type FormListType = {
47
48
  colProps?: ColProps;
48
49
  visible?: boolean;
49
- componentName: 'Input' | 'HideInput' | 'TextArea' | 'AutoComplete' | 'Select' | 'Multiple' | 'RemoteSearch' | 'DatePicker' | 'RangePicker' | 'Switch' | 'Radio' | 'Checkbox' | 'TreeSelect' | 'Union' | 'RegionSelection' | 'Rate';
50
+ componentName: 'Input' | 'HideInput' | 'TextArea' | 'AutoComplete' | 'Select' | 'Multiple' | 'RemoteSearch' | 'DatePicker' | 'RangePicker' | 'TimePicker' | 'Switch' | 'Radio' | 'Checkbox' | 'TreeSelect' | 'Union' | 'RegionSelection' | 'Rate';
50
51
  name?: string;
51
52
  label?: string | React.ReactNode;
52
53
  dependencies?: (string | number)[];
@@ -58,6 +59,7 @@ export declare type FormListType = {
58
59
  inputConfig?: inputConfig;
59
60
  datePickerConfig?: DatePickerProps;
60
61
  rangePickerConfig?: RangePickerProps;
62
+ timePickerConfig?: TimePickerProps;
61
63
  unionConfig?: {
62
64
  unionItems: UnionType[];
63
65
  divide?: string;
@@ -98,6 +100,7 @@ export declare type FormListType = {
98
100
  remoteSearchChange?: (e: string, other?: any) => void;
99
101
  datePickerChange?: PickerSharedProps<any>['onChange'];
100
102
  rangePickerChange?: RangePickerSharedProps<any>['onChange'];
103
+ timePickerChange?: PickerSharedProps<any>['onChange'];
101
104
  switchChange?: (e: boolean, other?: any) => void;
102
105
  radioChange?: (e: RadioChangeEvent, other?: any) => void;
103
106
  checkboxChange?: (e: CheckboxValueType[], other?: any) => void;