@gx-design-vue/pro-table 0.2.0-beta.24 → 0.2.0-beta.25
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 +47 -46
- package/dist/components/Form/index.d.ts +3 -3
- package/dist/index.d.ts +1 -1
- package/dist/pro-table.mjs +357 -359
- package/dist/pro-table.umd.js +12 -12
- package/dist/props.d.ts +3 -13
- package/dist/types/TableTypings.d.ts +1 -1
- package/package.json +2 -2
package/dist/ProTable.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ declare const GProTable: import("vue").DefineComponent<{
|
|
|
37
37
|
default: number;
|
|
38
38
|
};
|
|
39
39
|
search: {
|
|
40
|
-
type: import("vue").PropType<import("./types/TableTypings").SearchConfig | undefined>;
|
|
40
|
+
type: import("vue").PropType<boolean | import("./types/TableTypings").SearchConfig | undefined>;
|
|
41
41
|
default: () => import("./types/TableTypings").SearchConfig;
|
|
42
42
|
};
|
|
43
43
|
searchMap: {
|
|
@@ -90,12 +90,7 @@ declare const GProTable: import("vue").DefineComponent<{
|
|
|
90
90
|
pageItemRender: {
|
|
91
91
|
type: import("vue").PropType<import("./types/SlotsTypings").PageItemRender | undefined>;
|
|
92
92
|
default: () => undefined;
|
|
93
|
-
};
|
|
94
|
-
* @Author gx12358
|
|
95
|
-
* @DateTime 2022/1/21
|
|
96
|
-
* @lastTime 2022/1/21
|
|
97
|
-
* @description Tabel-size hooks 方法
|
|
98
|
-
*/
|
|
93
|
+
};
|
|
99
94
|
size: {
|
|
100
95
|
type: import("vue").PropType<"small" | "middle" | "large" | undefined>;
|
|
101
96
|
default: string;
|
|
@@ -122,7 +117,12 @@ declare const GProTable: import("vue").DefineComponent<{
|
|
|
122
117
|
};
|
|
123
118
|
onReset: import("vue").PropType<((params?: Partial<Record<string, any>> | undefined) => any) | undefined>;
|
|
124
119
|
onReload: import("vue").PropType<((params?: Partial<Record<string, any>> | undefined) => any) | undefined>;
|
|
125
|
-
onSubmit: import("vue").PropType<((params?: Partial<Record<string, any>> | undefined) => any) | undefined>;
|
|
120
|
+
onSubmit: import("vue").PropType<((params?: Partial<Record<string, any>> | undefined) => any) | undefined>; /**
|
|
121
|
+
* @Author gx12358
|
|
122
|
+
* @DateTime 2022/1/21
|
|
123
|
+
* @lastTime 2022/1/21
|
|
124
|
+
* @description Tabel-datasource hooks 方法
|
|
125
|
+
*/
|
|
126
126
|
onSizeChange: import("vue").PropType<((size: string) => any) | undefined>;
|
|
127
127
|
onLoadingChange: import("vue").PropType<((loading: boolean) => any) | undefined>;
|
|
128
128
|
onRequestError: import("vue").PropType<((e: Error) => void) | undefined>;
|
|
@@ -179,7 +179,12 @@ declare const GProTable: import("vue").DefineComponent<{
|
|
|
179
179
|
expandColumnWidth: NumberConstructor;
|
|
180
180
|
expandedRowKeys: {
|
|
181
181
|
type: import("vue").PropType<Key[]>;
|
|
182
|
-
default: Key[];
|
|
182
|
+
default: Key[]; /**
|
|
183
|
+
* @Author gx12358
|
|
184
|
+
* @DateTime 2022/1/21
|
|
185
|
+
* @lastTime 2022/1/21
|
|
186
|
+
* @description Tabel-loading hooks 方法
|
|
187
|
+
*/
|
|
183
188
|
};
|
|
184
189
|
defaultExpandedRowKeys: {
|
|
185
190
|
type: import("vue").PropType<Key[]>;
|
|
@@ -190,12 +195,6 @@ declare const GProTable: import("vue").DefineComponent<{
|
|
|
190
195
|
default: import("ant-design-vue/es/vc-table/interface").ExpandedRowRender<any>;
|
|
191
196
|
};
|
|
192
197
|
expandRowByClick: {
|
|
193
|
-
/**
|
|
194
|
-
* @Author gx12358
|
|
195
|
-
* @DateTime 2022/1/21
|
|
196
|
-
* @lastTime 2022/1/21
|
|
197
|
-
* @description Tabel-size hooks 方法
|
|
198
|
-
*/
|
|
199
198
|
type: BooleanConstructor;
|
|
200
199
|
default: boolean;
|
|
201
200
|
};
|
|
@@ -227,12 +226,6 @@ declare const GProTable: import("vue").DefineComponent<{
|
|
|
227
226
|
};
|
|
228
227
|
expandedRowClassName: {
|
|
229
228
|
type: import("vue").PropType<import("ant-design-vue/es/vc-table/interface").RowClassName<any>>;
|
|
230
|
-
/**
|
|
231
|
-
* @Author gx12358
|
|
232
|
-
* @DateTime 2022/1/21
|
|
233
|
-
* @lastTime 2022/1/21
|
|
234
|
-
* @description Tabel-settingColums hooks 方法
|
|
235
|
-
*/
|
|
236
229
|
default: import("ant-design-vue/es/vc-table/interface").RowClassName<any>;
|
|
237
230
|
};
|
|
238
231
|
childrenColumnName: {
|
|
@@ -351,7 +344,12 @@ declare const GProTable: import("vue").DefineComponent<{
|
|
|
351
344
|
};
|
|
352
345
|
destroyTooltipOnHide: {
|
|
353
346
|
type: BooleanConstructor;
|
|
354
|
-
default: any;
|
|
347
|
+
default: any; /**
|
|
348
|
+
* @Author gx12358
|
|
349
|
+
* @DateTime 2021/7/14
|
|
350
|
+
* @lastTime 2021/7/14
|
|
351
|
+
* @description ant-table原始方法
|
|
352
|
+
*/
|
|
355
353
|
};
|
|
356
354
|
align: {
|
|
357
355
|
type: import("vue").PropType<import("ant-design-vue/es/vc-trigger/interface").AlignType>;
|
|
@@ -460,7 +458,7 @@ declare const GProTable: import("vue").DefineComponent<{
|
|
|
460
458
|
default: number;
|
|
461
459
|
};
|
|
462
460
|
search: {
|
|
463
|
-
type: import("vue").PropType<import("./types/TableTypings").SearchConfig | undefined>;
|
|
461
|
+
type: import("vue").PropType<boolean | import("./types/TableTypings").SearchConfig | undefined>;
|
|
464
462
|
default: () => import("./types/TableTypings").SearchConfig;
|
|
465
463
|
};
|
|
466
464
|
searchMap: {
|
|
@@ -513,12 +511,7 @@ declare const GProTable: import("vue").DefineComponent<{
|
|
|
513
511
|
pageItemRender: {
|
|
514
512
|
type: import("vue").PropType<import("./types/SlotsTypings").PageItemRender | undefined>;
|
|
515
513
|
default: () => undefined;
|
|
516
|
-
};
|
|
517
|
-
* @Author gx12358
|
|
518
|
-
* @DateTime 2022/1/21
|
|
519
|
-
* @lastTime 2022/1/21
|
|
520
|
-
* @description Tabel-size hooks 方法
|
|
521
|
-
*/
|
|
514
|
+
};
|
|
522
515
|
size: {
|
|
523
516
|
type: import("vue").PropType<"small" | "middle" | "large" | undefined>;
|
|
524
517
|
default: string;
|
|
@@ -545,7 +538,12 @@ declare const GProTable: import("vue").DefineComponent<{
|
|
|
545
538
|
};
|
|
546
539
|
onReset: import("vue").PropType<((params?: Partial<Record<string, any>> | undefined) => any) | undefined>;
|
|
547
540
|
onReload: import("vue").PropType<((params?: Partial<Record<string, any>> | undefined) => any) | undefined>;
|
|
548
|
-
onSubmit: import("vue").PropType<((params?: Partial<Record<string, any>> | undefined) => any) | undefined>;
|
|
541
|
+
onSubmit: import("vue").PropType<((params?: Partial<Record<string, any>> | undefined) => any) | undefined>; /**
|
|
542
|
+
* @Author gx12358
|
|
543
|
+
* @DateTime 2022/1/21
|
|
544
|
+
* @lastTime 2022/1/21
|
|
545
|
+
* @description Tabel-datasource hooks 方法
|
|
546
|
+
*/
|
|
549
547
|
onSizeChange: import("vue").PropType<((size: string) => any) | undefined>;
|
|
550
548
|
onLoadingChange: import("vue").PropType<((loading: boolean) => any) | undefined>;
|
|
551
549
|
onRequestError: import("vue").PropType<((e: Error) => void) | undefined>;
|
|
@@ -602,7 +600,12 @@ declare const GProTable: import("vue").DefineComponent<{
|
|
|
602
600
|
expandColumnWidth: NumberConstructor;
|
|
603
601
|
expandedRowKeys: {
|
|
604
602
|
type: import("vue").PropType<Key[]>;
|
|
605
|
-
default: Key[];
|
|
603
|
+
default: Key[]; /**
|
|
604
|
+
* @Author gx12358
|
|
605
|
+
* @DateTime 2022/1/21
|
|
606
|
+
* @lastTime 2022/1/21
|
|
607
|
+
* @description Tabel-loading hooks 方法
|
|
608
|
+
*/
|
|
606
609
|
};
|
|
607
610
|
defaultExpandedRowKeys: {
|
|
608
611
|
type: import("vue").PropType<Key[]>;
|
|
@@ -613,12 +616,6 @@ declare const GProTable: import("vue").DefineComponent<{
|
|
|
613
616
|
default: import("ant-design-vue/es/vc-table/interface").ExpandedRowRender<any>;
|
|
614
617
|
};
|
|
615
618
|
expandRowByClick: {
|
|
616
|
-
/**
|
|
617
|
-
* @Author gx12358
|
|
618
|
-
* @DateTime 2022/1/21
|
|
619
|
-
* @lastTime 2022/1/21
|
|
620
|
-
* @description Tabel-size hooks 方法
|
|
621
|
-
*/
|
|
622
619
|
type: BooleanConstructor;
|
|
623
620
|
default: boolean;
|
|
624
621
|
};
|
|
@@ -650,12 +647,6 @@ declare const GProTable: import("vue").DefineComponent<{
|
|
|
650
647
|
};
|
|
651
648
|
expandedRowClassName: {
|
|
652
649
|
type: import("vue").PropType<import("ant-design-vue/es/vc-table/interface").RowClassName<any>>;
|
|
653
|
-
/**
|
|
654
|
-
* @Author gx12358
|
|
655
|
-
* @DateTime 2022/1/21
|
|
656
|
-
* @lastTime 2022/1/21
|
|
657
|
-
* @description Tabel-settingColums hooks 方法
|
|
658
|
-
*/
|
|
659
650
|
default: import("ant-design-vue/es/vc-table/interface").RowClassName<any>;
|
|
660
651
|
};
|
|
661
652
|
childrenColumnName: {
|
|
@@ -774,7 +765,12 @@ declare const GProTable: import("vue").DefineComponent<{
|
|
|
774
765
|
};
|
|
775
766
|
destroyTooltipOnHide: {
|
|
776
767
|
type: BooleanConstructor;
|
|
777
|
-
default: any;
|
|
768
|
+
default: any; /**
|
|
769
|
+
* @Author gx12358
|
|
770
|
+
* @DateTime 2021/7/14
|
|
771
|
+
* @lastTime 2021/7/14
|
|
772
|
+
* @description ant-table原始方法
|
|
773
|
+
*/
|
|
778
774
|
};
|
|
779
775
|
align: {
|
|
780
776
|
type: import("vue").PropType<import("ant-design-vue/es/vc-trigger/interface").AlignType>;
|
|
@@ -956,7 +952,12 @@ declare const GProTable: import("vue").DefineComponent<{
|
|
|
956
952
|
};
|
|
957
953
|
destroyTooltipOnHide: {
|
|
958
954
|
type: BooleanConstructor;
|
|
959
|
-
default: any;
|
|
955
|
+
default: any; /**
|
|
956
|
+
* @Author gx12358
|
|
957
|
+
* @DateTime 2021/7/14
|
|
958
|
+
* @lastTime 2021/7/14
|
|
959
|
+
* @description ant-table原始方法
|
|
960
|
+
*/
|
|
960
961
|
};
|
|
961
962
|
align: {
|
|
962
963
|
type: import("vue").PropType<import("ant-design-vue/es/vc-trigger/interface").AlignType>;
|
|
@@ -981,7 +982,7 @@ declare const GProTable: import("vue").DefineComponent<{
|
|
|
981
982
|
waitRequest: boolean | undefined;
|
|
982
983
|
debounceTime: number | undefined;
|
|
983
984
|
request: import("./types/TableTypings").RequsetFunction<import("./typing").DefaultRecordType> | undefined;
|
|
984
|
-
search: import("./types/TableTypings").SearchConfig | undefined;
|
|
985
|
+
search: boolean | import("./types/TableTypings").SearchConfig | undefined;
|
|
985
986
|
searchMap: import("./types/ColumnTypings").ProSearchMap<"text">[] | undefined;
|
|
986
987
|
titleTip: TitleTipRender;
|
|
987
988
|
headerTitle: HeaderTitleRender;
|
|
@@ -3,7 +3,7 @@ import type { RecordType } from '@gx-design-vue/pro-utils';
|
|
|
3
3
|
import type { ProSearchMap } from '../../types/ColumnTypings';
|
|
4
4
|
declare const ProTableForm: import("vue").DefineComponent<{
|
|
5
5
|
search: {
|
|
6
|
-
type: PropType<import("../../types/TableTypings").SearchConfig | undefined>;
|
|
6
|
+
type: PropType<boolean | import("../../types/TableTypings").SearchConfig | undefined>;
|
|
7
7
|
default: () => import("../../types/TableTypings").SearchConfig;
|
|
8
8
|
};
|
|
9
9
|
modal: PropType<boolean | undefined>;
|
|
@@ -16,7 +16,7 @@ declare const ProTableForm: import("vue").DefineComponent<{
|
|
|
16
16
|
defaultParams: PropType<RecordType>;
|
|
17
17
|
}, () => import("ant-design-vue/es/_util/type").VueNode, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "search"[], "search", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
18
|
search: {
|
|
19
|
-
type: PropType<import("../../types/TableTypings").SearchConfig | undefined>;
|
|
19
|
+
type: PropType<boolean | import("../../types/TableTypings").SearchConfig | undefined>;
|
|
20
20
|
default: () => import("../../types/TableTypings").SearchConfig;
|
|
21
21
|
};
|
|
22
22
|
modal: PropType<boolean | undefined>;
|
|
@@ -30,7 +30,7 @@ declare const ProTableForm: import("vue").DefineComponent<{
|
|
|
30
30
|
}>> & {
|
|
31
31
|
onSearch?: ((...args: any[]) => any) | undefined;
|
|
32
32
|
}, {
|
|
33
|
-
search: import("../../types/TableTypings").SearchConfig | undefined;
|
|
33
|
+
search: boolean | import("../../types/TableTypings").SearchConfig | undefined;
|
|
34
34
|
searchMap: ProSearchMap<"text">[];
|
|
35
35
|
}>;
|
|
36
36
|
export default ProTableForm;
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { useTable } from './hooks/useTable';
|
|
|
2
2
|
export { proTableProps } from './props';
|
|
3
3
|
export { default } from './ProTable';
|
|
4
4
|
export type { ProTableProps } from './types/TableTypings';
|
|
5
|
-
export type { RequsetFunction, ProTableRef, ProCoreActionType, ProTabelFeachParams, ProCoreFormType } from './types/TableTypings';
|
|
5
|
+
export type { RequsetFunction, ProTableRef, ProCoreActionType, ProTabelFeachParams, ProCoreFormType, OptionConfig } from './types/TableTypings';
|
|
6
6
|
export type { ProColumnType, ProColumnsType, ProSearchMap } from './types/ColumnTypings';
|
|
7
7
|
export { useTable };
|
|
8
8
|
export { default as GProTable } from './ProTable';
|