@ccs-ui/rc-pro 2.3.6-beta-37 → 2.3.6-beta-39

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>, "auth" | "onClose" | "request" | "onOk" | "extraBtn" | "requestFieldNames" | "preventRequestHandle"> & {
19
+ export declare const DialogButtonHolder: <TParams, TData>({ auth, extraBtn, formRef, request, onOk, onClose, buttonRef, requestFieldNames, formInitialValues, preventRequestHandle, }: Pick<CcsDialogModalProps<TParams, TData>, "onOk" | "onClose" | "auth" | "request" | "extraBtn" | "requestFieldNames" | "preventRequestHandle"> & {
20
20
  formRef: React.RefObject<DialogFormRef<TParams>>;
21
21
  formInitialValues: FormProps['initialValues'];
22
22
  buttonRef: RefObject<DialogButtonRef>;
@@ -39,7 +39,7 @@ type DialogProps<TParams, TData> = {
39
39
  /** 选中行数据 */
40
40
  selectedRows?: RecordType[];
41
41
  /** 其他扩展参数 */
42
- extra?: RecordType;
42
+ contextParam?: RecordType;
43
43
  };
44
44
  /** 通过参数传递的扩展按钮 */
45
45
  extraBtn?: ReactNode;
@@ -777,7 +777,7 @@ var InternalProTable = function InternalProTable(props) {
777
777
  padding: hasFormItem ? 16 : 0
778
778
  }
779
779
  },
780
- bordered: false,
780
+ variant: "borderless",
781
781
  title: props.title,
782
782
  children: hasFormItem && /*#__PURE__*/_jsx(HeadComponent, {
783
783
  formRef: formRef,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccs-ui/rc-pro",
3
- "version": "2.3.6-beta-37",
3
+ "version": "2.3.6-beta-39",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -92,7 +92,7 @@
92
92
  "@types/react-resizable": "^3.0.7",
93
93
  "@umijs/lint": "^4.0.0",
94
94
  "ahooks": "^3.7.7",
95
- "antd": "^5.22.7",
95
+ "antd": "^5.24.6",
96
96
  "classnames": "^2.3.2",
97
97
  "cross-env": "^7.0.3",
98
98
  "dayjs": "^1.11.7",