hlyc-web-pack 3.8.2 → 3.8.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.
@@ -3,5 +3,5 @@ type PropType = AffixProps & {
3
3
  targetId?: string;
4
4
  };
5
5
  /** 固钉,当内容区域比较长,需要滚动页面时,这部分内容对应的操作或者导航需要在滚动范围内始终展现 */
6
- declare const Affix: (props: PropType) => JSX.Element;
6
+ declare const Affix: (props: PropType) => import("react/jsx-runtime").JSX.Element;
7
7
  export default Affix;
@@ -18,7 +18,7 @@ declare class Dialog extends React.Component<DialogPropType, StateType> {
18
18
  draggleRef: any;
19
19
  constructor(props: DialogPropType);
20
20
  onStart(event: DraggableEvent, uiData: DraggableData): void;
21
- render(): JSX.Element;
21
+ render(): import("react/jsx-runtime").JSX.Element;
22
22
  close(onOk?: boolean): void;
23
23
  }
24
24
  export default Dialog;
@@ -5,5 +5,5 @@ type Props = EmptyProps & {
5
5
  outerHeight?: number;
6
6
  };
7
7
  /** 空内容 */
8
- declare const Empty: (props?: Props) => JSX.Element;
8
+ declare const Empty: (props?: Props) => import("react/jsx-runtime").JSX.Element;
9
9
  export default Empty;
@@ -2,21 +2,20 @@ import React from 'react';
2
2
  import { RadioChangeEvent, InputNumberProps, AutoCompleteProps, InputProps } from 'antd';
3
3
  import { RowProps } from 'antd/es/row';
4
4
  import { ColProps } from 'antd/es/col';
5
- import { FormProps, Rule, FormItemProps } from 'antd/es/form';
6
- import { NamePath } from 'rc-field-form/lib/interface';
7
- import { RangePickerSharedProps } from 'rc-picker/lib/RangePicker';
8
- import { PickerSharedProps } from 'rc-picker/lib/Picker';
5
+ import { FormProps, Rule, FormItemProps, FormInstance } from 'antd/es/form';
6
+ import type { RangePickerProps, DatePickerProps } from 'antd/es/date-picker';
7
+ import type { PickerProps } from 'antd/es/date-picker/generatePicker';
9
8
  import { TimePickerProps } from 'antd/es/time-picker';
10
9
  import { RateProps } from 'antd/es/rate';
11
10
  import { TreeSelectProps } from 'antd/es/tree-select';
12
- import { SelectProps } from 'antd/es/select';
13
- import { CheckboxValueType } from 'antd/es/checkbox/Group';
14
- import { DataNode, DefaultValueType } from 'rc-tree-select/es/interface';
15
- import { FormInstance } from 'rc-field-form/es/interface';
16
- import { DatePickerProps, RangePickerProps } from 'antd/es/date-picker';
17
11
  import { TimeRangePickerProps } from 'antd/es/time-picker';
12
+ import { SelectProps } from 'antd/es/select';
18
13
  import { AnyObjectType, SelectType } from '../brother/typings';
19
14
  import './index.less';
15
+ export type NamePath = any;
16
+ export type DataNode = any;
17
+ export type DefaultValueType = any;
18
+ type CheckboxValueType = any;
20
19
  export interface DefaultOptionType {
21
20
  value?: string | number;
22
21
  label?: React.ReactNode;
@@ -107,10 +106,10 @@ export type FormListType = {
107
106
  selectChange?: (e: string, other?: any) => void;
108
107
  multipleChange?: (e: string, other?: any) => void;
109
108
  remoteSearchChange?: (e: string, other?: any) => void;
110
- datePickerChange?: PickerSharedProps<any>['onChange'];
111
- rangePickerChange?: RangePickerSharedProps<any>['onChange'];
112
- timeRangePickerChange?: RangePickerSharedProps<any>['onChange'];
113
- timePickerChange?: PickerSharedProps<any>['onChange'];
109
+ datePickerChange?: PickerProps<any>['onChange'];
110
+ rangePickerChange?: RangePickerProps['onChange'];
111
+ timeRangePickerChange?: RangePickerProps['onChange'];
112
+ timePickerChange?: PickerProps<any>['onChange'];
114
113
  switchChange?: (e: boolean, other?: any) => void;
115
114
  radioChange?: (e: RadioChangeEvent, other?: any) => void;
116
115
  checkboxChange?: (e: CheckboxValueType[], other?: any) => void;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { InternalFieldProps } from 'rc-field-form/lib/Field';
2
+ import { FormItemProps } from 'antd/es/form';
3
3
  import { SelectType, AnyObjectType } from '../../brother/typings';
4
4
  import { TableColumns } from '../index';
5
5
  import './index.less';
@@ -34,7 +34,7 @@ export interface EditableColumnsType {
34
34
  };
35
35
  /** 可编辑单元格表单验证 */
36
36
  formItemProps: {
37
- rules: InternalFieldProps['rules'];
37
+ rules: FormItemProps['rules'];
38
38
  };
39
39
  /** 自定义渲染值(在原有的内容上增加新的结构),childNode是原有的内容 */
40
40
  controlRender: (record: AnyObjectType, childNode: React.ReactNode) => React.ReactNode;
@@ -67,7 +67,7 @@ export interface DraggableBodyRowProps extends React.HTMLAttributes<HTMLTableRow
67
67
  /** 索引 */
68
68
  index: number;
69
69
  }
70
- export declare const EditableRow: ({ vc, open, index, moveRow, className, style, ...restProps }: DraggableBodyRowProps) => JSX.Element;
70
+ export declare const EditableRow: ({ vc, open, index, moveRow, className, style, ...restProps }: DraggableBodyRowProps) => import("react/jsx-runtime").JSX.Element;
71
71
  /** 可编辑单元格 */
72
72
  declare const EditableCell: React.FC<EditableCellProps & CellType & {
73
73
  vc: any;
@@ -1,2 +1,2 @@
1
- declare const ResizableTitle: (props: any) => JSX.Element;
1
+ declare const ResizableTitle: (props: any) => import("react/jsx-runtime").JSX.Element;
2
2
  export default ResizableTitle;
@@ -12,5 +12,5 @@ interface Props {
12
12
  onConfirm?: (item: string) => void;
13
13
  }
14
14
  /** 选择图标弹窗 */
15
- declare const IconSelectionModal: (props: Props) => JSX.Element;
15
+ declare const IconSelectionModal: (props: Props) => import("react/jsx-runtime").JSX.Element;
16
16
  export default IconSelectionModal;
@@ -1,11 +1,11 @@
1
1
  import React from 'react';
2
2
  import { ButtonProps } from 'antd/es/button';
3
- import { FormInstance, NamePath } from 'rc-field-form/es/interface';
4
3
  import { FormProps } from 'antd/es/form';
5
4
  import { ColProps } from 'antd/es/col';
6
5
  import { FormListType } from '../GenerateForm';
7
6
  import { AnyObjectType, SubmitApiType } from '../brother/typings';
8
7
  import './index.less';
8
+ type NamePath = any;
9
9
  export interface LayoutFormPropTypes {
10
10
  /** 类名 */
11
11
  className?: string;
@@ -58,7 +58,7 @@ export interface LayoutFormModalCallType {
58
58
  /** 设置保存loading */
59
59
  setFormSaveLoading: (data: boolean) => void;
60
60
  /** 设置一组字段状态 */
61
- setFormFields: FormInstance['setFields'];
61
+ setFormFields: (filed: any[]) => void;
62
62
  /** 读取表单值 */
63
63
  getFormValues: (data: string[]) => AnyObjectType | undefined;
64
64
  /** 设置表单值 */
@@ -48,7 +48,7 @@ export interface LayoutTableModalPropType {
48
48
  /** 是否开启默认查询功能 */
49
49
  autoGetList?: boolean;
50
50
  /** 查询回调 */
51
- searchCallback?: (data: any) => Promise<Boolean>;
51
+ searchCallback?: (data: any) => Promise<boolean>;
52
52
  /** 不需要重置的表单字段 */
53
53
  searchNoResetFiled?: string[];
54
54
  /** 列表请求函数 */
@@ -89,7 +89,7 @@ export interface LayoutTableModalPropType {
89
89
  /** 关闭弹窗回调 */
90
90
  onCancel?: () => void;
91
91
  /** 确定弹窗回调 */
92
- onConfirm?: (rows: AnyObjectType[], ids: string[]) => Promise<boolean>;
92
+ onConfirm?: (rows: AnyObjectType[], ids: string[], tableList: AnyObjectType[]) => Promise<boolean>;
93
93
  }
94
94
  declare const _default: React.ForwardRefExoticComponent<LayoutTableModalPropType & React.RefAttributes<unknown>>;
95
95
  export default _default;
@@ -27,5 +27,5 @@ export interface QuicklyProcessTypes {
27
27
  onCancel?: (pageObj?: AnyObjectType) => void;
28
28
  }
29
29
  /** 批量编辑,用来编辑表格列表数据 */
30
- declare const QuicklyProcessForms: (props: QuicklyProcessTypes) => JSX.Element;
30
+ declare const QuicklyProcessForms: (props: QuicklyProcessTypes) => import("react/jsx-runtime").JSX.Element;
31
31
  export default QuicklyProcessForms;
@@ -20,5 +20,5 @@ export type VirtualListProp<RecordType extends object = any> = {
20
20
  };
21
21
  } & TableProps<RecordType>;
22
22
  /** 虚拟列表 */
23
- declare const VirtualList: (props: VirtualListProp) => JSX.Element;
23
+ declare const VirtualList: (props: VirtualListProp) => import("react/jsx-runtime").JSX.Element;
24
24
  export default VirtualList;
@@ -4,5 +4,5 @@ import 'moment/locale/zh-hk';
4
4
  interface PropTypes {
5
5
  children: React.ReactNode;
6
6
  }
7
- declare const Config: (props: PropTypes) => JSX.Element;
7
+ declare const Config: (props: PropTypes) => import("react/jsx-runtime").JSX.Element;
8
8
  export default Config;