hlyc-web-pack 3.6.68 → 3.6.69

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.
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { RadioChangeEvent } from 'antd';
2
+ import { RadioChangeEvent, InputNumberProps } from 'antd';
3
3
  import { RowProps } from 'antd/es/row';
4
4
  import { ColProps } from 'antd/es/col';
5
5
  import { FormProps, Rule, FormItemProps } from 'antd/es/form';
@@ -51,7 +51,7 @@ interface UnionType {
51
51
  export declare type FormListType = {
52
52
  colProps?: ColProps;
53
53
  visible?: boolean;
54
- componentName: 'Input' | 'HideInput' | 'TextArea' | 'AutoComplete' | 'Select' | 'Multiple' | 'MultipleTag' | 'RemoteSearch' | 'DatePicker' | 'RangePicker' | 'TimeRangePicker' | 'TimePicker' | 'Switch' | 'Radio' | 'Checkbox' | 'TreeSelect' | 'Union' | 'RegionSelection' | 'Rate' | 'Null';
54
+ componentName: 'Input' | 'InputNumber' | 'HideInput' | 'TextArea' | 'AutoComplete' | 'Select' | 'Multiple' | 'MultipleTag' | 'RemoteSearch' | 'DatePicker' | 'RangePicker' | 'TimeRangePicker' | 'TimePicker' | 'Switch' | 'Radio' | 'Checkbox' | 'TreeSelect' | 'Union' | 'RegionSelection' | 'Rate' | 'Null';
55
55
  name?: string;
56
56
  label?: string | React.ReactNode;
57
57
  dependencies?: (string | number)[];
@@ -62,6 +62,9 @@ export declare type FormListType = {
62
62
  maxLength?: number;
63
63
  valuePropName?: string;
64
64
  inputConfig?: inputConfig;
65
+ inputNumberConfig?: InputNumberProps & {
66
+ alignRight?: boolean;
67
+ };
65
68
  datePickerConfig?: DatePickerProps;
66
69
  rangePickerConfig?: RangePickerProps;
67
70
  timeRangePickerConfig?: TimeRangePickerProps;
@@ -99,6 +102,7 @@ export declare type FormListType = {
99
102
  rows?: number;
100
103
  rules?: Rule[];
101
104
  inputChange?: (e: React.ChangeEvent<HTMLInputElement>, other?: any) => void;
105
+ inputNumberChange?: InputNumberProps['onChange'];
102
106
  inputEnter?: (e: React.KeyboardEvent<HTMLInputElement>) => void;
103
107
  textAreaChange?: (e: React.ChangeEvent<HTMLTextAreaElement>, other?: any) => void;
104
108
  autoCompleteChange?: (e: string, other?: any) => void;