ztxkui 4.2.23-319-beta → 4.2.23-320-beta
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.
|
@@ -21,8 +21,8 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
23
|
import React, { memo, useCallback, useMemo, useImperativeHandle, useRef, } from 'react';
|
|
24
|
-
import { Form } from 'antd';
|
|
25
|
-
import { Button } from '../../index.build';
|
|
24
|
+
// import { Form } from 'antd';
|
|
25
|
+
import { Button, Form } from '../../index.build';
|
|
26
26
|
import { DropdownButtons } from '../business/SearchContainer/search-right';
|
|
27
27
|
import { useDynamic } from './hooks';
|
|
28
28
|
import Items from './items';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { FormItemProps, FormInstance } from 'antd/lib/form';
|
|
3
|
+
import { IProps as FormProps } from '../Form/form';
|
|
3
4
|
export declare type IWidth = 'half' | 'double' | 'all' | 'halfAll';
|
|
4
5
|
export interface IFormItemWrap {
|
|
5
6
|
children?: React.ReactNode;
|
package/package.json
CHANGED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { IProFormProps } from './interface';
|
|
3
|
-
declare function ProForm(props: IProFormProps): JSX.Element;
|
|
4
|
-
export declare const useForm: typeof import("antd/lib/form/Form").useForm;
|
|
5
|
-
declare const _default: React.MemoExoticComponent<typeof ProForm>;
|
|
6
|
-
export default _default;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IProModalProps } from './interface';
|
|
3
|
-
import { IFooterDom } from '../business/Footer';
|
|
4
|
-
interface IUseData {
|
|
5
|
-
visible?: boolean;
|
|
6
|
-
request?: IProModalProps['request'];
|
|
7
|
-
}
|
|
8
|
-
export declare function useData({ visible, request }: IUseData, fetchParams: any): {
|
|
9
|
-
loading: boolean;
|
|
10
|
-
data: any;
|
|
11
|
-
setData: import("react").Dispatch<any>;
|
|
12
|
-
};
|
|
13
|
-
export declare function useModalForm(outsideParams?: any, formPropsDateTransform?: any, visible?: boolean): {
|
|
14
|
-
form: import("antd").FormInstance<any>;
|
|
15
|
-
initialValues: any;
|
|
16
|
-
fetchParams: any;
|
|
17
|
-
onSearchHandle: () => void;
|
|
18
|
-
onResetHandle: () => void;
|
|
19
|
-
};
|
|
20
|
-
export declare function useModalTable(choiceOptions: any, setData: any): {
|
|
21
|
-
innerSelectedRowKeys: any;
|
|
22
|
-
setInnerSelectedRowKeys: import("react").Dispatch<any>;
|
|
23
|
-
innerSelectedRows: any;
|
|
24
|
-
setInnerSelectedRows: import("react").Dispatch<any>;
|
|
25
|
-
onSelectedRowChange: (selectedRowKeys: React.Key[], selectedRows: any[]) => void;
|
|
26
|
-
choiceFilterHandle: (record: any, selectedRowKeys: React.Key[], selectedRows: any[]) => any;
|
|
27
|
-
onTableChange: (newData: any) => void;
|
|
28
|
-
};
|
|
29
|
-
export declare function useFooter(onClose: any, choiceOptions: any, data: any): {
|
|
30
|
-
footerDom: IFooterDom[];
|
|
31
|
-
onCloseHandle: () => void;
|
|
32
|
-
};
|
|
33
|
-
export {};
|