@ccs-ui/rc-pro 2.3.6-alpha-6 → 2.3.6-alpha-7
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.
package/es/dialog/button.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export type DialogButtonsProps<T> = Pick<CcsDialogModalProps, 'okText' | 'onClos
|
|
|
16
16
|
export type DialogButtonRef = {
|
|
17
17
|
onSetButtons: (e: React.ReactElement) => void;
|
|
18
18
|
};
|
|
19
|
-
export declare const DialogButtonHolder: <TParams, TData>({ auth, extraBtn, formRef, request, onOk, onClose, buttonRef, requestFieldNames, formInitialValues, preventRequestHandle, }: Pick<CcsDialogModalProps<TParams, TData>, "auth" | "
|
|
19
|
+
export declare const DialogButtonHolder: <TParams, TData>({ auth, extraBtn, formRef, request, onOk, onClose, buttonRef, requestFieldNames, formInitialValues, preventRequestHandle, }: Pick<CcsDialogModalProps<TParams, TData>, "auth" | "onClose" | "request" | "onOk" | "extraBtn" | "requestFieldNames" | "preventRequestHandle"> & {
|
|
20
20
|
formRef: React.RefObject<DialogFormRef<TParams>>;
|
|
21
21
|
formInitialValues: FormProps['initialValues'];
|
|
22
22
|
buttonRef: RefObject<DialogButtonRef>;
|
|
@@ -3,7 +3,7 @@ import { TableRowSelection } from 'antd/es/table/interface';
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
type PropsType<T> = Pick<SelectProps, 'value' | 'onChange'> & Omit<TableRowSelection<T>, 'value' | 'onChange' | 'renderCell'> & {
|
|
5
5
|
/** rowKey 字段,选中key值 */
|
|
6
|
-
keyField:
|
|
6
|
+
keyField: string;
|
|
7
7
|
/** 默认选择行数据,一般用于回显数据 */
|
|
8
8
|
defaultRows?: T[];
|
|
9
9
|
/** 选中行数据回调 */
|