@gx-design-vue/pro-table 0.2.0-beta.143 → 0.2.0-beta.145
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 +7 -4
- package/dist/index.d.ts +1 -1
- package/dist/pro-table.js +678 -670
- package/dist/pro-table.umd.cjs +3 -3
- package/dist/props.d.ts +1 -0
- package/dist/types/SlotsTypings.d.ts +15 -7
- package/dist/types/TableTypings.d.ts +3 -3
- package/package.json +2 -2
package/dist/ProTable.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { RecordType } from '@gx-design-vue/pro-utils';
|
|
|
2
2
|
import type { SlotsType } from 'vue';
|
|
3
3
|
import type { ColumnType, Key, RenderExpandIconProps, SpinProps } from './_utils';
|
|
4
4
|
import type { ProTableBodyCellProps } from './types/SlotsTypings';
|
|
5
|
-
import type {
|
|
5
|
+
import type { FormConfig } from './types/TableTypings';
|
|
6
6
|
declare const ProTable: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
7
7
|
id: {
|
|
8
8
|
type: import("vue").PropType<string>;
|
|
@@ -68,6 +68,7 @@ declare const ProTable: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
68
68
|
};
|
|
69
69
|
form: {
|
|
70
70
|
type: import("vue").PropType<import("./types/TableTypings").ProTableProps["form"]>;
|
|
71
|
+
default: () => undefined;
|
|
71
72
|
};
|
|
72
73
|
searchMap: {
|
|
73
74
|
type: import("vue").PropType<import("./types/TableTypings").ProTableProps["searchMap"]>;
|
|
@@ -246,6 +247,7 @@ declare const ProTable: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
246
247
|
};
|
|
247
248
|
form: {
|
|
248
249
|
type: import("vue").PropType<import("./types/TableTypings").ProTableProps["form"]>;
|
|
250
|
+
default: () => undefined;
|
|
249
251
|
};
|
|
250
252
|
searchMap: {
|
|
251
253
|
type: import("vue").PropType<import("./types/TableTypings").ProTableProps["searchMap"]>;
|
|
@@ -402,7 +404,10 @@ declare const ProTable: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
402
404
|
align: import("ant-design-vue/es/vc-table/interface").AlignType | undefined;
|
|
403
405
|
customRender: import("./types/SlotsTypings").CustomDataRender | undefined;
|
|
404
406
|
class: string;
|
|
407
|
+
form: false | FormConfig | undefined;
|
|
405
408
|
headerTitle: import("./types/SlotsTypings").DefaultRender;
|
|
409
|
+
headerTitleTip: import("./types/SlotsTypings").DefaultRender;
|
|
410
|
+
listToolAfter: import("./types/SlotsTypings").DefaultRender;
|
|
406
411
|
pageItemRender: import("./types/SlotsTypings").PageItemRender | undefined;
|
|
407
412
|
style: import("vue").CSSProperties;
|
|
408
413
|
fitPage: boolean | undefined;
|
|
@@ -423,15 +428,13 @@ declare const ProTable: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
423
428
|
showLoading: boolean | undefined;
|
|
424
429
|
showIndex: boolean | undefined;
|
|
425
430
|
cardBordered: boolean | undefined;
|
|
426
|
-
options: boolean | OptionConfig | undefined;
|
|
431
|
+
options: boolean | import("./types/TableTypings").OptionConfig | undefined;
|
|
427
432
|
waitRequest: boolean | undefined;
|
|
428
433
|
debounceTime: number | undefined;
|
|
429
434
|
request: import("./types/TableTypings").RequestFunction<RecordType, RecordType> | undefined;
|
|
430
435
|
autoRequest: boolean | undefined;
|
|
431
436
|
params: RecordType | undefined;
|
|
432
437
|
searchMap: import("./types/ColumnTypings").ProSearchMap<undefined, string>[] | undefined;
|
|
433
|
-
headerTitleTip: import("./types/SlotsTypings").DefaultRender;
|
|
434
|
-
listToolAfter: import("./types/SlotsTypings").DefaultRender;
|
|
435
438
|
}, SlotsType<{
|
|
436
439
|
form(): any;
|
|
437
440
|
actions(): any;
|
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,6 @@ export { proTableProps } from './props';
|
|
|
4
4
|
export { ProTable as GProTable };
|
|
5
5
|
export type { BaseTableProps } from './props';
|
|
6
6
|
export type { ProColumnsType, ProColumnType, ProFieldValueType, ProSearchMap } from './types/ColumnTypings';
|
|
7
|
-
export type { CustomRenderResult, ProTableBodyCellProps } from './types/SlotsTypings';
|
|
7
|
+
export type { CustomRenderResult, ProTableBodyCellProps, TableSlots } from './types/SlotsTypings';
|
|
8
8
|
export type { PageState, ProTableProps, RequestConfig } from './types/TableTypings';
|
|
9
9
|
export type { FormConfig, OptionConfig, ProCoreActionType, ProCoreFormType, ProTableFetchParams, ProTableRef, RequestFunction } from './types/TableTypings';
|