@ccs-ui/rc-pro 2.3.6-beta-24 → 2.3.6-beta-25

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.
@@ -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>, "onOk" | "onClose" | "auth" | "extraBtn" | "preventRequestHandle" | "requestFieldNames" | "request"> & {
19
+ export declare const DialogButtonHolder: <TParams, TData>({ auth, extraBtn, formRef, request, onOk, onClose, buttonRef, requestFieldNames, formInitialValues, preventRequestHandle, }: Pick<CcsDialogModalProps<TParams, TData>, "onOk" | "onClose" | "auth" | "extraBtn" | "request" | "requestFieldNames" | "preventRequestHandle"> & {
20
20
  formRef: React.RefObject<DialogFormRef<TParams>>;
21
21
  formInitialValues: FormProps['initialValues'];
22
22
  buttonRef: RefObject<DialogButtonRef>;
@@ -35,9 +35,9 @@ type DialogProps<TParams, TData> = {
35
35
  /** 上下文参数、可通过CcsDialog.useInstance获取 */
36
36
  contextParam?: {
37
37
  /** 当前行数据 */
38
- record?: TParams;
38
+ record?: RecordType;
39
39
  /** 选中行数据 */
40
- selectedRows?: TParams[];
40
+ selectedRows?: RecordType[];
41
41
  /** 其他扩展参数 */
42
42
  extra?: RecordType;
43
43
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccs-ui/rc-pro",
3
- "version": "2.3.6-beta-24",
3
+ "version": "2.3.6-beta-25",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "author": {