@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/props.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ export declare const proTableProps: {
|
|
|
46
46
|
* @description 是否显示搜索表单,传入对象时为搜索表单的配置
|
|
47
47
|
*/
|
|
48
48
|
search: {
|
|
49
|
-
type: PropType<SearchConfig | undefined>;
|
|
49
|
+
type: PropType<boolean | SearchConfig | undefined>;
|
|
50
50
|
default: () => SearchConfig;
|
|
51
51
|
};
|
|
52
52
|
searchMap: {
|
|
@@ -318,21 +318,11 @@ export declare const proTableProps: {
|
|
|
318
318
|
onExpand: {
|
|
319
319
|
type: PropType<(expanded: boolean, record: any) => void>;
|
|
320
320
|
default: (expanded: boolean, record: any) => void;
|
|
321
|
-
};
|
|
322
|
-
* @Author gx12358
|
|
323
|
-
* @DateTime 2022/2/8
|
|
324
|
-
* @lastTime 2022/2/8
|
|
325
|
-
* @description 是否展示外边框和列边框
|
|
326
|
-
*/
|
|
321
|
+
};
|
|
327
322
|
onExpandedRowsChange: {
|
|
328
323
|
type: PropType<(expandedKeys: import("ant-design-vue/es/vc-table/interface").Key[]) => void>;
|
|
329
324
|
default: (expandedKeys: import("ant-design-vue/es/vc-table/interface").Key[]) => void;
|
|
330
|
-
};
|
|
331
|
-
* @Author gx12358
|
|
332
|
-
* @DateTime 2022/2/8
|
|
333
|
-
* @lastTime 2022/2/8
|
|
334
|
-
* @description 是否列拖动
|
|
335
|
-
*/
|
|
325
|
+
};
|
|
336
326
|
'onUpdate:expandedRowKeys': {
|
|
337
327
|
type: 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;
|
|
@@ -116,7 +116,7 @@ export type ProTableProps<RecordType extends DefaultRecordType = DefaultRecordTy
|
|
|
116
116
|
params: Record<string, unknown>;
|
|
117
117
|
postData: (data: any[]) => any;
|
|
118
118
|
pagination: ProTablePagination;
|
|
119
|
-
search: SearchConfig;
|
|
119
|
+
search: SearchConfig | boolean;
|
|
120
120
|
searchMap: ProSearchMap[];
|
|
121
121
|
onReset: (params?: Partial<Record<string, any>>) => any;
|
|
122
122
|
onReload: (params?: Partial<Record<string, any>>) => any;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gx-design-vue/pro-table",
|
|
3
|
-
"version": "0.2.0-beta.
|
|
3
|
+
"version": "0.2.0-beta.25",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dev": "vite",
|
|
6
6
|
"build": "vite build",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@vueuse/core": "^9.10.0",
|
|
28
|
-
"@gx-design-vue/pro-utils": "^0.2.0-beta.
|
|
28
|
+
"@gx-design-vue/pro-utils": "^0.2.0-beta.18",
|
|
29
29
|
"@gx-design-vue/pro-hooks": "^0.2.0-beta.14",
|
|
30
30
|
"@gx-design-vue/pro-provider": "^0.1.0-beta.43",
|
|
31
31
|
"@gx-design-vue/pro-app": "^0.1.0-beta.7",
|