@gx-design-vue/pro-table 0.2.0-beta.86 → 0.2.0-beta.88

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.
@@ -5,6 +5,7 @@ import type { DefaultRecordType } from '../typing';
5
5
  import type { ProColumnsType } from '../types/ColumnTypings';
6
6
  interface ActionType {
7
7
  loading: ComputedRef<boolean | undefined>;
8
+ search: Ref<ProTableProps['search']>;
8
9
  paginationInfo: Ref<ProTablePagination>;
9
10
  setPagination: (info: Partial<ProTablePagination>) => void;
10
11
  setLoading: (loading: boolean) => void;
@@ -25,7 +26,7 @@ export type ConfigFetchData = {
25
26
  dataSource: ComputedRef<ProTableProps['dataSource']>;
26
27
  };
27
28
  export declare function useConfigFetchData(props: ProTableProps): Omit<ConfigFetchData, 'waitRequest'>;
28
- export declare function useFetchData({ polling, request, postData, dataSource, waitRequest, debounceTime }: ConfigFetchData, { columns, loading, setLoading, setColumns, removeRowKeys, syncSelectedRows, formParamsRef, setPagination, paginationInfo, onBeforeSearchSubmit, hasCustomRender }: ActionType, emit: any): {
29
+ export declare function useFetchData({ polling, request, postData, dataSource, waitRequest, debounceTime }: ConfigFetchData, { search, columns, loading, setLoading, setColumns, removeRowKeys, syncSelectedRows, formParamsRef, setPagination, paginationInfo, onBeforeSearchSubmit, hasCustomRender }: ActionType, emit: any): {
29
30
  dataSource: ComputedRef<DefaultRecordType[]>;
30
31
  isTreeDataRef: ComputedRef<boolean>;
31
32
  reSetDataList: (list: DefaultRecordType[]) => void;
@@ -3,8 +3,7 @@ import type { ProTablePagination, ProTableProps } from '../types/TableTypings';
3
3
  import type { DefaultRecordType } from '../typing';
4
4
  import type { ProSearchMap } from '../types/ColumnTypings';
5
5
  export declare function handleFormDefaultValue(data: ProSearchMap[]): any;
6
- export declare function useTableForm({ search, searchMap, params, columns, setPagination }: {
7
- search: Ref<ProTableProps['search']>;
6
+ export declare function useTableForm({ searchMap, params, columns, setPagination }: {
8
7
  searchMap: Ref<ProTableProps['searchMap']>;
9
8
  params: Ref<ProTableProps['params']>;
10
9
  columns: ComputedRef<ProTableProps['columns']>;