@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.
- package/dist/ProTable.d.ts +4 -1
- package/dist/components/Form/index.d.ts +1 -1
- package/dist/hooks/usePagination.d.ts +1 -1
- package/dist/hooks/useTable.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/pro-table.js +967 -947
- package/dist/pro-table.umd.cjs +1 -1
- package/dist/types/SlotsTypings.d.ts +7 -3
- package/package.json +2 -2
package/dist/ProTable.d.ts
CHANGED
|
@@ -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(
|
|
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
|
|
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>;
|
package/dist/hooks/useTable.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
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';
|