@ccs-ui/rc-pro 2.3.5 → 2.3.6-beta-1

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/ccs.d.ts CHANGED
@@ -43,7 +43,7 @@ type TableDataType<T> = {
43
43
  result?: T[];
44
44
  };
45
45
  type TableInstance<T = any> = {
46
- /** 获取form表单数据 */
46
+ /** 获取form表单数据,排序等条件数据 */
47
47
  formValues: Record<string, any>;
48
48
  /** 获取当前表单数据 */
49
49
  data: TableDataType<T>;
@@ -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" | "onOk" | "extraBtn" | "request" | "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>;
@@ -379,7 +379,7 @@ var InternalProTable = function InternalProTable(props) {
379
379
  return {
380
380
  data: data,
381
381
  selectedRows: selectedRows,
382
- formValues: form.getFieldsValue(),
382
+ formValues: _objectSpread(_objectSpread({}, form.getFieldsValue()), filtersRef.current),
383
383
  onSearch: function onSearch() {
384
384
  _onSearch();
385
385
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccs-ui/rc-pro",
3
- "version": "2.3.5",
3
+ "version": "2.3.6-beta-1",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "author": {