@gx-design-vue/pro-table 0.2.0-beta.107 → 0.2.0-beta.109
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 +3 -13
- package/dist/components/Form/index.d.ts +1 -1
- package/dist/hooks/useFetchData.d.ts +1 -1
- package/dist/hooks/useLoading.d.ts +1 -1
- package/dist/hooks/useTable.d.ts +1 -1
- package/dist/hooks/useTableScroll.d.ts +1 -1
- package/dist/pro-table.js +1064 -1065
- package/dist/pro-table.umd.cjs +1 -1
- package/dist/types/TableTypings.d.ts +2 -2
- package/package.json +3 -3
package/dist/ProTable.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import type { RecordType } from '@gx-design-vue/pro-utils';
|
|
1
2
|
import type { CSSProperties, SlotsType } from 'vue';
|
|
2
3
|
import type { Key, SpinProps } from './_utils';
|
|
3
4
|
import type { OptionConfig, ProTableProps, SearchConfig } from './types/TableTypings';
|
|
4
|
-
import { type RecordType } from '@gx-design-vue/pro-utils';
|
|
5
5
|
import { AntTableSlotsType, DefaultRender } from './types/SlotsTypings';
|
|
6
6
|
declare const ProTable: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
7
7
|
rowSelection: {
|
|
@@ -162,12 +162,7 @@ declare const ProTable: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
162
162
|
default: undefined;
|
|
163
163
|
};
|
|
164
164
|
'onUpdate:expandedRowKeys': {
|
|
165
|
-
type: import("vue"
|
|
166
|
-
* @Author gx12358
|
|
167
|
-
* @DateTime 2022/1/21
|
|
168
|
-
* @lastTime 2022/1/21
|
|
169
|
-
* @description Table-loading hooks 方法
|
|
170
|
-
*/).PropType<(expandedKeys: import("ant-design-vue/es/vc-table/interface").Key[]) => void>;
|
|
165
|
+
type: import("vue").PropType<(expandedKeys: import("ant-design-vue/es/vc-table/interface").Key[]) => void>;
|
|
171
166
|
default: (expandedKeys: import("ant-design-vue/es/vc-table/interface").Key[]) => void;
|
|
172
167
|
};
|
|
173
168
|
}>, () => import("ant-design-vue/es/_util/type").VueNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("reset" | "submit" | "change" | "requestError" | "reload" | "loadingChange" | "sizeChange" | "expandedRowsChange" | "expand" | "beforeSearchSubmit" | "columnsStateChange")[], "reset" | "submit" | "change" | "requestError" | "reload" | "loadingChange" | "sizeChange" | "expandedRowsChange" | "expand" | "beforeSearchSubmit" | "columnsStateChange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -329,12 +324,7 @@ declare const ProTable: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
329
324
|
default: undefined;
|
|
330
325
|
};
|
|
331
326
|
'onUpdate:expandedRowKeys': {
|
|
332
|
-
type: import("vue"
|
|
333
|
-
* @Author gx12358
|
|
334
|
-
* @DateTime 2022/1/21
|
|
335
|
-
* @lastTime 2022/1/21
|
|
336
|
-
* @description Table-loading hooks 方法
|
|
337
|
-
*/).PropType<(expandedKeys: import("ant-design-vue/es/vc-table/interface").Key[]) => void>;
|
|
327
|
+
type: import("vue").PropType<(expandedKeys: import("ant-design-vue/es/vc-table/interface").Key[]) => void>;
|
|
338
328
|
default: (expandedKeys: import("ant-design-vue/es/vc-table/interface").Key[]) => void;
|
|
339
329
|
};
|
|
340
330
|
}>> & Readonly<{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { RecordType } from '@gx-design-vue/pro-utils';
|
|
1
2
|
import type { PropType } from 'vue';
|
|
2
3
|
import type { ProSearchMap } from '../../types/ColumnTypings';
|
|
3
|
-
import { type RecordType } from '@gx-design-vue/pro-utils';
|
|
4
4
|
declare const ProTableForm: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
modal: PropType<boolean | undefined>;
|
|
6
6
|
searchMap: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import type { RecordType } from '@gx-design-vue/pro-utils';
|
|
1
2
|
import type { ComputedRef, Ref } from 'vue';
|
|
2
3
|
import type { FilterValue, SorterResult, TableCurrentDataSource } from '../_utils';
|
|
3
4
|
import type { ProColumnsType } from '../types/ColumnTypings';
|
|
4
5
|
import type { ProTableFetchParams, ProTablePagination, ProTablePaginationConfig, ProTableProps, SearchConfig } from '../types/TableTypings';
|
|
5
|
-
import { type RecordType } from '@gx-design-vue/pro-utils';
|
|
6
6
|
interface ActionType {
|
|
7
7
|
loading: ComputedRef<boolean | undefined>;
|
|
8
8
|
search: ComputedRef<SearchConfig | false>;
|
package/dist/hooks/useTable.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import type { RecordType } from '@gx-design-vue/pro-utils';
|
|
1
2
|
import type { ComputedRef, Ref } from 'vue';
|
|
2
3
|
import type { BaseTableProps } from '../props';
|
|
3
4
|
import type { ProColumnsType, ProSearchMap } from '../types/ColumnTypings';
|
|
4
5
|
import type { ProCoreActionType, ProCoreFormType, ProTableProps, ProTableRef, ProTableRowSelection, RequestConfig, RequestFunction } from '../types/TableTypings';
|
|
5
|
-
import { type RecordType } from '@gx-design-vue/pro-utils';
|
|
6
6
|
export type ProTableState<T extends object = RecordType, R extends object = RecordType> = BaseTableProps & {
|
|
7
7
|
params: R;
|
|
8
8
|
columns: ProColumnsType<T, R>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import type { Breakpoint } from '@gx-design-vue/pro-utils';
|
|
1
2
|
import type { ComputedRef, Ref } from 'vue';
|
|
2
3
|
import type { ProColumnsType } from '../types/ColumnTypings';
|
|
3
4
|
import type { ProTableProps } from '../types/TableTypings';
|
|
4
|
-
import { type Breakpoint } from '@gx-design-vue/pro-utils';
|
|
5
5
|
interface ConfigScroll {
|
|
6
6
|
scroll: ComputedRef<ProTableProps['scroll']>;
|
|
7
7
|
autoScroll: ComputedRef<ProTableProps['autoScroll']>;
|