@gx-design-vue/pro-table 0.2.0-beta.73 → 0.2.0-beta.75

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.
@@ -766,6 +766,9 @@ declare const ProTable: import("vue").DefineComponent<import("vue").ExtractPropT
766
766
  headerTitle(): void;
767
767
  default(): void;
768
768
  pageItemRender(): void;
769
- customRender(currenData: any[], dataSource: any[]): void;
769
+ customRender(params: {
770
+ currentData: any[];
771
+ dataSource: any[];
772
+ }): void;
770
773
  } & AntTabelSlotsType>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
771
774
  export default ProTable;
@@ -1,5 +1,5 @@
1
1
  import type { PropType } from 'vue';
2
- import type { RecordType } from '@gx-design-vue/pro-utils';
2
+ import { RecordType } from '@gx-design-vue/pro-utils';
3
3
  import type { SearchConfig } from '../../types/TableTypings';
4
4
  import type { ProSearchMap } from '../../types/ColumnTypings';
5
5
  declare const ProTableForm: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
@@ -1,6 +1,6 @@
1
- import { ComputedRef, Ref } from 'vue';
2
1
  import type { Slots } from '../types/SlotsTypings';
3
2
  import type { ProTablePagination, ProTableProps } from '../types/TableTypings';
3
+ import type { ComputedRef, Ref } from 'vue';
4
4
  export declare function usePagination({ slots, props, pagination }: {
5
5
  slots: Slots;
6
6
  props: ComputedRef<ProTableProps>;
@@ -1,4 +1,4 @@
1
- import type { ComputedRef, Ref } from 'vue';
1
+ import { ComputedRef, Ref } from 'vue';
2
2
  import type { BaseTableProps } from '../props';
3
3
  import type { ProColumnsType, ProSearchMap } from '../types/ColumnTypings';
4
4
  import { ProCoreActionType, ProCoreFormType, ProTableProps, ProTableRef, ProTableRowSelection, RequsetConfig, RequsetFunction } from '../types/TableTypings';
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export type { BaseTableProps } from './props';
2
2
  export type { ProTableProps, PageState } from './types/TableTypings';
3
- export type { ProTableBodyCellProps } from './types/SlotsTypings';
3
+ export type { CustomRenderResult, ProTableBodyCellProps } from './types/SlotsTypings';
4
4
  export type { ProColumnType, ProColumnsType, ProSearchMap } from './types/ColumnTypings';
5
5
  export * from './hooks/useTable';
6
6
  export { proTableProps } from './props';