@gx-design-vue/pro-table 0.2.0-beta.146 → 0.2.0-beta.148

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.
@@ -10,7 +10,6 @@ export interface ListToolBarSetting {
10
10
  declare const ListToolBar: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
11
11
  actions: PropType<VueNode[]>;
12
12
  settings: PropType<VueNode[]>;
13
- prefixCls: StringConstructor;
14
13
  headerTitle: {
15
14
  type: PropType<import("../../types/TableTypings").ProTableProps["headerTitle"]>;
16
15
  default: () => undefined;
@@ -30,7 +29,6 @@ declare const ListToolBar: import("vue").DefineComponent<import("vue").ExtractPr
30
29
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
31
30
  actions: PropType<VueNode[]>;
32
31
  settings: PropType<VueNode[]>;
33
- prefixCls: StringConstructor;
34
32
  headerTitle: {
35
33
  type: PropType<import("../../types/TableTypings").ProTableProps["headerTitle"]>;
36
34
  default: () => undefined;
@@ -16,6 +16,7 @@ export interface ProTableContextProps {
16
16
  styles: Ref<TableStylesType>;
17
17
  classNames: Ref<TableClassNamesType>;
18
18
  hashId: Ref<string>;
19
+ prefixCls: string;
19
20
  tableListToolsHeight: Ref<number>;
20
21
  action: {
21
22
  /** @name 刷新 */
@@ -6,6 +6,7 @@ import type { PageState, ProTableFetchParams, ProTablePagination, ProTablePagina
6
6
  interface ActionType {
7
7
  loading: Ref<boolean>;
8
8
  pageInfo: Reactive<PageState>;
9
+ paginationInfo: Ref<ProTablePagination | false>;
9
10
  setPagination: (info: Partial<ProTablePagination>) => void;
10
11
  setLoading: (loading: boolean) => void;
11
12
  setColumns: (columnList: ProColumnsType) => void;
@@ -29,7 +30,7 @@ export interface ConfigFetchData {
29
30
  autoRequest: ComputedRef<ProTableProps['autoRequest']>;
30
31
  }
31
32
  export declare function useConfigFetchData(props: ProTableProps): Omit<ConfigFetchData, 'waitRequest'>;
32
- export declare function useFetchData({ rowKey, autoRequest, polling, request, postData, dataSource, waitRequest, debounceTime }: ConfigFetchData, { params, columns, setLoading, setColumns, removeRowKeys, syncSelectedRows, defaultFormSearch, setPagination, pageInfo, onRequestError, onBeforeSearchSubmit, hasCustomRender }: ActionType, emit: any): {
33
+ export declare function useFetchData({ rowKey, autoRequest, polling, request, postData, dataSource, waitRequest, debounceTime }: ConfigFetchData, { params, columns, setLoading, setColumns, removeRowKeys, syncSelectedRows, defaultFormSearch, setPagination, pageInfo, paginationInfo, onRequestError, onBeforeSearchSubmit, hasCustomRender }: ActionType, emit: any): {
33
34
  dataSource: ComputedRef<any[]>;
34
35
  isTreeDataRef: ComputedRef<boolean>;
35
36
  setTableDataList: (list: RecordType[]) => void;