keli-ui 0.0.13 → 0.0.14
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/keli-ui.css +1 -1
- package/dist/keli-ui.js +129 -117
- package/dist/keli-ui.umd.cjs +1 -1
- package/dist/types/lib/useButtonExec.d.ts +1 -1
- package/dist/types/packages/QueryComponents/QueryBar/QueryBarClient.vue.d.ts +1 -1
- package/dist/types/packages/QueryComponents/QueryBar/QueryBarMobile.vue.d.ts +1 -1
- package/dist/types/packages/QueryComponents/QueryBar/index.d.ts +4 -5
- package/dist/types/packages/QueryComponents/QuerySelect/QuerySelectClient.vue.d.ts +1 -1
- package/dist/types/packages/TableComponents/TableCardRender/TableCardRenderClient.vue.d.ts +6 -6
- package/dist/types/packages/TableComponents/TableCardRender/TableCardRenderMobile.vue.d.ts +4 -6
- package/dist/types/packages/TableComponents/TableCardRender/index.d.ts +18 -19
- package/dist/types/packages/TableComponents/TableCheckBoxAsync/TableCheckBoxAsync.vue.d.ts +2 -2
- package/dist/types/packages/TableComponents/TableInput/TableInput.vue.d.ts +2 -2
- package/dist/types/packages/TableComponents/TableInputNumber/TableInputNumber.vue.d.ts +2 -2
- package/dist/types/packages/TableComponents/TableRender/TableRenderClient.vue.d.ts +28 -10
- package/dist/types/packages/TableComponents/TableRender/TableRenderMobile.vue.d.ts +6 -8
- package/dist/types/packages/TableComponents/TableRender/hooks/useCopyPaste.hook.d.ts +1 -1
- package/dist/types/packages/TableComponents/TableRender/index.d.ts +18 -19
- package/dist/types/packages/TableComponents/TableSelect/TableSelect.vue.d.ts +1 -1
- package/dist/types/packages/TableComponents/TableSelectAsync/TableSelectAsync.vue.d.ts +1 -1
- package/dist/types/packages/TableComponents/TableSwitch/TableSwitch.vue.d.ts +1 -1
- package/dist/types/packages/TableComponents/TableTreeRender/TableTreeRender.vue.d.ts +6 -8
- package/dist/types/packages/TableComponents/utils/dataFormatter.d.ts +1 -1
- package/dist/types/packages/ToolBar/ToolBarClient.vue.d.ts +1 -1
- package/dist/types/packages/ToolBar/ToolBarMobile.vue.d.ts +1 -1
- package/dist/types/packages/ToolBar/ToolBarProxy.vue.d.ts +1 -1
- package/dist/types/packages/index.d.ts +12 -11
- package/dist/types/packages/types/componentFrame.d.ts +3 -1
- package/dist/types/packages/types/queryFrame.d.ts +1 -1
- package/dist/types/packages/types/tableFrame.d.ts +36 -7
- package/dist/types/utils/msgTips.d.ts +1 -1
- package/package.json +1 -1
- package/dist/types/packages/TableComponents/TableRender/hooks/tableRender.hook.d.ts +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
-
import type { TableQueryFrame } from '
|
|
2
|
+
import type { TableQueryFrame } from '../../types';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
frame: {
|
|
5
5
|
required: true;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
-
import type { TableQueryFrame } from '
|
|
2
|
+
import type { TableQueryFrame } from '../../types';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
frame: {
|
|
5
5
|
required: true;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { isMobileDevice } from '@/lib/modeControl.ts';
|
|
2
1
|
declare const KeliQueryBar: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
2
|
frame: {
|
|
4
3
|
required: true;
|
|
5
|
-
type: import("vue").PropType<
|
|
4
|
+
type: import("vue").PropType<import("../../index.js").TableQueryFrame[]>;
|
|
6
5
|
};
|
|
7
6
|
i18nText: {
|
|
8
7
|
required: false;
|
|
@@ -18,7 +17,7 @@ declare const KeliQueryBar: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
18
17
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
18
|
frame: {
|
|
20
19
|
required: true;
|
|
21
|
-
type: import("vue").PropType<
|
|
20
|
+
type: import("vue").PropType<import("../../index.js").TableQueryFrame[]>;
|
|
22
21
|
};
|
|
23
22
|
i18nText: {
|
|
24
23
|
required: false;
|
|
@@ -41,7 +40,7 @@ declare const KeliQueryBar: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
41
40
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any> | import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
42
41
|
frame: {
|
|
43
42
|
required: true;
|
|
44
|
-
type: import("vue").PropType<
|
|
43
|
+
type: import("vue").PropType<import("../../index.js").TableQueryFrame[]>;
|
|
45
44
|
};
|
|
46
45
|
i18nText: {
|
|
47
46
|
required: false;
|
|
@@ -56,7 +55,7 @@ declare const KeliQueryBar: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
56
55
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
57
56
|
frame: {
|
|
58
57
|
required: true;
|
|
59
|
-
type: import("vue").PropType<
|
|
58
|
+
type: import("vue").PropType<import("../../index.js").TableQueryFrame[]>;
|
|
60
59
|
};
|
|
61
60
|
i18nText: {
|
|
62
61
|
required: false;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
-
import type { TableConfigInterface } from '
|
|
2
|
+
import type { TableConfigInterface } from '../../types';
|
|
3
3
|
import type { VxeGridProps } from 'vxe-table';
|
|
4
|
-
import type { TableQueryFrame } from '
|
|
5
|
-
import type { KeliButton } from '
|
|
6
|
-
import type { Pagination } from '
|
|
4
|
+
import type { TableQueryFrame } from '../../types';
|
|
5
|
+
import type { KeliButton } from '../../types';
|
|
6
|
+
import type { Pagination } from '../type';
|
|
7
7
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
8
|
tableId: {
|
|
9
9
|
required: true;
|
|
@@ -51,8 +51,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
51
51
|
};
|
|
52
52
|
};
|
|
53
53
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
54
|
-
btnClick: (...args: any[]) => void;
|
|
55
54
|
queryClick: (...args: any[]) => void;
|
|
55
|
+
btnClick: (...args: any[]) => void;
|
|
56
56
|
valueChange: (...args: any[]) => void;
|
|
57
57
|
treeLazyLoad: (...args: any[]) => void;
|
|
58
58
|
onSelection: (...args: any[]) => void;
|
|
@@ -104,8 +104,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
104
104
|
};
|
|
105
105
|
};
|
|
106
106
|
}>> & Readonly<{
|
|
107
|
-
onBtnClick?: (...args: any[]) => any;
|
|
108
107
|
onQueryClick?: (...args: any[]) => any;
|
|
108
|
+
onBtnClick?: (...args: any[]) => any;
|
|
109
109
|
onValueChange?: (...args: any[]) => any;
|
|
110
110
|
onTreeLazyLoad?: (...args: any[]) => any;
|
|
111
111
|
onOnSelection?: (...args: any[]) => any;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
-
import type { TableConfigInterface } from '@/packages/types/tableFrame';
|
|
3
2
|
import type { VxeGridProps } from 'vxe-table';
|
|
4
|
-
import type { TableQueryFrame } from '
|
|
5
|
-
import type {
|
|
6
|
-
import type { Pagination } from '@/packages/TableComponents/type';
|
|
3
|
+
import type { KeliButton, TableConfigInterface, TableQueryFrame } from '../../types';
|
|
4
|
+
import type { Pagination } from '../type';
|
|
7
5
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
6
|
tableId: {
|
|
9
7
|
required: true;
|
|
@@ -51,8 +49,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
51
49
|
};
|
|
52
50
|
};
|
|
53
51
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
54
|
-
btnClick: (...args: any[]) => void;
|
|
55
52
|
queryClick: (...args: any[]) => void;
|
|
53
|
+
btnClick: (...args: any[]) => void;
|
|
56
54
|
valueChange: (...args: any[]) => void;
|
|
57
55
|
treeLazyLoad: (...args: any[]) => void;
|
|
58
56
|
onSelection: (...args: any[]) => void;
|
|
@@ -104,8 +102,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
104
102
|
};
|
|
105
103
|
};
|
|
106
104
|
}>> & Readonly<{
|
|
107
|
-
onBtnClick?: (...args: any[]) => any;
|
|
108
105
|
onQueryClick?: (...args: any[]) => any;
|
|
106
|
+
onBtnClick?: (...args: any[]) => any;
|
|
109
107
|
onValueChange?: (...args: any[]) => any;
|
|
110
108
|
onTreeLazyLoad?: (...args: any[]) => any;
|
|
111
109
|
onOnSelection?: (...args: any[]) => any;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { isMobileDevice } from '@/lib/modeControl.ts';
|
|
2
1
|
declare const KeliTableCardRender: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
2
|
tableId: {
|
|
4
3
|
required: true;
|
|
@@ -6,7 +5,7 @@ declare const KeliTableCardRender: import("vue").DefineComponent<import("vue").E
|
|
|
6
5
|
};
|
|
7
6
|
tableConfig: {
|
|
8
7
|
required: true;
|
|
9
|
-
type: import("vue").PropType<
|
|
8
|
+
type: import("vue").PropType<import("../../index.js").TableConfigInterface>;
|
|
10
9
|
};
|
|
11
10
|
vxeGridOptions: {
|
|
12
11
|
required: false;
|
|
@@ -18,18 +17,18 @@ declare const KeliTableCardRender: import("vue").DefineComponent<import("vue").E
|
|
|
18
17
|
};
|
|
19
18
|
queryConfig: {
|
|
20
19
|
required: false;
|
|
21
|
-
type: import("vue").PropType<
|
|
20
|
+
type: import("vue").PropType<import("../../index.js").TableQueryFrame[]>;
|
|
22
21
|
default: any[];
|
|
23
22
|
};
|
|
24
23
|
tableToolButtons: {
|
|
25
24
|
required: false;
|
|
26
25
|
default: () => any[];
|
|
27
|
-
type: import("vue").PropType<
|
|
26
|
+
type: import("vue").PropType<import("../../index.js").KeliButton[]>;
|
|
28
27
|
};
|
|
29
28
|
tableRowButtons: {
|
|
30
29
|
required: false;
|
|
31
30
|
default: () => any[];
|
|
32
|
-
type: import("vue").PropType<
|
|
31
|
+
type: import("vue").PropType<import("../../index.js").KeliButton[]>;
|
|
33
32
|
};
|
|
34
33
|
tableData: {
|
|
35
34
|
required: true;
|
|
@@ -38,7 +37,7 @@ declare const KeliTableCardRender: import("vue").DefineComponent<import("vue").E
|
|
|
38
37
|
};
|
|
39
38
|
tablePagination: {
|
|
40
39
|
required: false;
|
|
41
|
-
type: import("vue").PropType<
|
|
40
|
+
type: import("vue").PropType<import("../type.js").Pagination>;
|
|
42
41
|
default: () => {
|
|
43
42
|
currentPage: number;
|
|
44
43
|
pageSize: number;
|
|
@@ -46,12 +45,12 @@ declare const KeliTableCardRender: import("vue").DefineComponent<import("vue").E
|
|
|
46
45
|
};
|
|
47
46
|
};
|
|
48
47
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
49
|
-
btnClick: (...args: any[]) => void;
|
|
50
48
|
queryClick: (...args: any[]) => void;
|
|
49
|
+
btnClick: (...args: any[]) => void;
|
|
51
50
|
valueChange: (...args: any[]) => void;
|
|
52
51
|
treeLazyLoad: (...args: any[]) => void;
|
|
53
52
|
onSelection: (...args: any[]) => void;
|
|
54
|
-
"update:tablePagination": (value: Pagination) => void;
|
|
53
|
+
"update:tablePagination": (value: import("../type.js").Pagination) => void;
|
|
55
54
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
56
55
|
tableId: {
|
|
57
56
|
required: true;
|
|
@@ -59,7 +58,7 @@ declare const KeliTableCardRender: import("vue").DefineComponent<import("vue").E
|
|
|
59
58
|
};
|
|
60
59
|
tableConfig: {
|
|
61
60
|
required: true;
|
|
62
|
-
type: import("vue").PropType<
|
|
61
|
+
type: import("vue").PropType<import("../../index.js").TableConfigInterface>;
|
|
63
62
|
};
|
|
64
63
|
vxeGridOptions: {
|
|
65
64
|
required: false;
|
|
@@ -71,18 +70,18 @@ declare const KeliTableCardRender: import("vue").DefineComponent<import("vue").E
|
|
|
71
70
|
};
|
|
72
71
|
queryConfig: {
|
|
73
72
|
required: false;
|
|
74
|
-
type: import("vue").PropType<
|
|
73
|
+
type: import("vue").PropType<import("../../index.js").TableQueryFrame[]>;
|
|
75
74
|
default: any[];
|
|
76
75
|
};
|
|
77
76
|
tableToolButtons: {
|
|
78
77
|
required: false;
|
|
79
78
|
default: () => any[];
|
|
80
|
-
type: import("vue").PropType<
|
|
79
|
+
type: import("vue").PropType<import("../../index.js").KeliButton[]>;
|
|
81
80
|
};
|
|
82
81
|
tableRowButtons: {
|
|
83
82
|
required: false;
|
|
84
83
|
default: () => any[];
|
|
85
|
-
type: import("vue").PropType<
|
|
84
|
+
type: import("vue").PropType<import("../../index.js").KeliButton[]>;
|
|
86
85
|
};
|
|
87
86
|
tableData: {
|
|
88
87
|
required: true;
|
|
@@ -91,7 +90,7 @@ declare const KeliTableCardRender: import("vue").DefineComponent<import("vue").E
|
|
|
91
90
|
};
|
|
92
91
|
tablePagination: {
|
|
93
92
|
required: false;
|
|
94
|
-
type: import("vue").PropType<
|
|
93
|
+
type: import("vue").PropType<import("../type.js").Pagination>;
|
|
95
94
|
default: () => {
|
|
96
95
|
currentPage: number;
|
|
97
96
|
pageSize: number;
|
|
@@ -99,17 +98,17 @@ declare const KeliTableCardRender: import("vue").DefineComponent<import("vue").E
|
|
|
99
98
|
};
|
|
100
99
|
};
|
|
101
100
|
}>> & Readonly<{
|
|
102
|
-
onBtnClick?: (...args: any[]) => any;
|
|
103
101
|
onQueryClick?: (...args: any[]) => any;
|
|
102
|
+
onBtnClick?: (...args: any[]) => any;
|
|
104
103
|
onValueChange?: (...args: any[]) => any;
|
|
105
104
|
onTreeLazyLoad?: (...args: any[]) => any;
|
|
106
105
|
onOnSelection?: (...args: any[]) => any;
|
|
107
|
-
"onUpdate:tablePagination"?: (value: Pagination) => any;
|
|
106
|
+
"onUpdate:tablePagination"?: (value: import("../type.js").Pagination) => any;
|
|
108
107
|
}>, {
|
|
109
|
-
queryConfig: TableQueryFrame[];
|
|
110
|
-
tableToolButtons: KeliButton[];
|
|
111
|
-
tableRowButtons: KeliButton[];
|
|
108
|
+
queryConfig: import("../../index.js").TableQueryFrame[];
|
|
109
|
+
tableToolButtons: import("../../index.js").KeliButton[];
|
|
110
|
+
tableRowButtons: import("../../index.js").KeliButton[];
|
|
112
111
|
tableData: any[];
|
|
113
|
-
tablePagination: Pagination;
|
|
112
|
+
tablePagination: import("../type.js").Pagination;
|
|
114
113
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
115
114
|
export default KeliTableCardRender;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
-
import type { TableSelector } from '
|
|
3
|
-
import type { TableCheckBoxAsyncI18n } from './type
|
|
2
|
+
import type { TableSelector } from '../../types';
|
|
3
|
+
import type { TableCheckBoxAsyncI18n } from './type';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
value: {
|
|
6
6
|
required: false;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
-
import type { TableComponentFrame } from '
|
|
3
|
-
import type { TableInputI18n } from '
|
|
2
|
+
import type { TableComponentFrame } from '../../types';
|
|
3
|
+
import type { TableInputI18n } from './type';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
value: {
|
|
6
6
|
required: false;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
-
import type { TableInputI18n } from '
|
|
3
|
-
import type { TableComponentFrame } from '
|
|
2
|
+
import type { TableInputI18n } from '../TableInput/type';
|
|
3
|
+
import type { TableComponentFrame } from '../../types';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
value: {
|
|
6
6
|
required: false;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
2
|
import type { VxeGridProps } from 'vxe-table';
|
|
3
|
-
import type { Pagination } from '
|
|
4
|
-
import type { TableConfigInterface } from '@/packages/types/tableFrame';
|
|
5
|
-
import type { KeliButton } from '@/packages/types/button';
|
|
6
|
-
import type { TableQueryFrame } from '@/packages/types/queryFrame';
|
|
3
|
+
import type { Pagination } from '../type';
|
|
7
4
|
import 'vxe-table/lib/style.css';
|
|
5
|
+
import type { KeliButton, TableConfigInterface, TableQueryFrame } from '../../types';
|
|
8
6
|
declare var __VLS_27: {};
|
|
9
7
|
type __VLS_Slots = {} & {
|
|
10
8
|
'tool-bar'?: (props: typeof __VLS_27) => any;
|
|
@@ -56,13 +54,23 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
56
54
|
};
|
|
57
55
|
};
|
|
58
56
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
59
|
-
getTableConfig: (...args: any[]) => void;
|
|
60
|
-
btnClick: (...args: any[]) => void;
|
|
61
57
|
queryClick: (...args: any[]) => void;
|
|
58
|
+
btnClick: (...args: any[]) => void;
|
|
59
|
+
getTableConfig: (...args: any[]) => void;
|
|
62
60
|
valueChange: (...args: any[]) => void;
|
|
63
61
|
treeLazyLoad: (...args: any[]) => void;
|
|
64
62
|
onSelection: (...args: any[]) => void;
|
|
65
|
-
"update:tablePagination": (value:
|
|
63
|
+
"update:tablePagination": (value: {
|
|
64
|
+
currentPage: number;
|
|
65
|
+
/**
|
|
66
|
+
* 页面大小
|
|
67
|
+
*/
|
|
68
|
+
pageSize: number;
|
|
69
|
+
/**
|
|
70
|
+
* 总数
|
|
71
|
+
*/
|
|
72
|
+
total: number;
|
|
73
|
+
}) => void;
|
|
66
74
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
67
75
|
tableId: {
|
|
68
76
|
required: true;
|
|
@@ -110,13 +118,23 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
110
118
|
};
|
|
111
119
|
};
|
|
112
120
|
}>> & Readonly<{
|
|
113
|
-
onGetTableConfig?: (...args: any[]) => any;
|
|
114
|
-
onBtnClick?: (...args: any[]) => any;
|
|
115
121
|
onQueryClick?: (...args: any[]) => any;
|
|
122
|
+
onBtnClick?: (...args: any[]) => any;
|
|
123
|
+
onGetTableConfig?: (...args: any[]) => any;
|
|
116
124
|
onValueChange?: (...args: any[]) => any;
|
|
117
125
|
onTreeLazyLoad?: (...args: any[]) => any;
|
|
118
126
|
onOnSelection?: (...args: any[]) => any;
|
|
119
|
-
"onUpdate:tablePagination"?: (value:
|
|
127
|
+
"onUpdate:tablePagination"?: (value: {
|
|
128
|
+
currentPage: number;
|
|
129
|
+
/**
|
|
130
|
+
* 页面大小
|
|
131
|
+
*/
|
|
132
|
+
pageSize: number;
|
|
133
|
+
/**
|
|
134
|
+
* 总数
|
|
135
|
+
*/
|
|
136
|
+
total: number;
|
|
137
|
+
}) => any;
|
|
120
138
|
}>, {
|
|
121
139
|
queryConfig: TableQueryFrame[];
|
|
122
140
|
tableToolButtons: KeliButton[];
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
-
import type { TableConfigInterface } from '
|
|
2
|
+
import type { KeliButton, TableConfigInterface, TableQueryFrame } from '../../types';
|
|
3
3
|
import type { VxeGridProps } from 'vxe-table';
|
|
4
|
-
import type {
|
|
5
|
-
import type { KeliButton } from '@/packages/types/button';
|
|
6
|
-
import type { Pagination } from '@/packages/TableComponents/type';
|
|
4
|
+
import type { Pagination } from '../type';
|
|
7
5
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
6
|
tableId: {
|
|
9
7
|
required: true;
|
|
@@ -51,12 +49,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
51
49
|
};
|
|
52
50
|
};
|
|
53
51
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
54
|
-
btnClick: (...args: any[]) => void;
|
|
55
52
|
queryClick: (...args: any[]) => void;
|
|
53
|
+
btnClick: (...args: any[]) => void;
|
|
56
54
|
valueChange: (...args: any[]) => void;
|
|
57
55
|
treeLazyLoad: (...args: any[]) => void;
|
|
58
56
|
onSelection: (...args: any[]) => void;
|
|
59
|
-
"update:tablePagination": (value:
|
|
57
|
+
"update:tablePagination": (value: Pagination) => void;
|
|
60
58
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
61
59
|
tableId: {
|
|
62
60
|
required: true;
|
|
@@ -104,12 +102,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
104
102
|
};
|
|
105
103
|
};
|
|
106
104
|
}>> & Readonly<{
|
|
107
|
-
onBtnClick?: (...args: any[]) => any;
|
|
108
105
|
onQueryClick?: (...args: any[]) => any;
|
|
106
|
+
onBtnClick?: (...args: any[]) => any;
|
|
109
107
|
onValueChange?: (...args: any[]) => any;
|
|
110
108
|
onTreeLazyLoad?: (...args: any[]) => any;
|
|
111
109
|
onOnSelection?: (...args: any[]) => any;
|
|
112
|
-
"onUpdate:tablePagination"?: (value:
|
|
110
|
+
"onUpdate:tablePagination"?: (value: Pagination) => any;
|
|
113
111
|
}>, {
|
|
114
112
|
queryConfig: TableQueryFrame[];
|
|
115
113
|
tableToolButtons: KeliButton[];
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { isMobileDevice } from '@/lib/modeControl.ts';
|
|
2
1
|
declare const KeliTableRender: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
2
|
tableId: {
|
|
4
3
|
required: true;
|
|
@@ -6,7 +5,7 @@ declare const KeliTableRender: import("vue").DefineComponent<import("vue").Extra
|
|
|
6
5
|
};
|
|
7
6
|
tableConfig: {
|
|
8
7
|
required: true;
|
|
9
|
-
type: import("vue").PropType<
|
|
8
|
+
type: import("vue").PropType<import("../../index.js").TableConfigInterface>;
|
|
10
9
|
};
|
|
11
10
|
vxeGridOptions: {
|
|
12
11
|
required: false;
|
|
@@ -18,18 +17,18 @@ declare const KeliTableRender: import("vue").DefineComponent<import("vue").Extra
|
|
|
18
17
|
};
|
|
19
18
|
queryConfig: {
|
|
20
19
|
required: false;
|
|
21
|
-
type: import("vue").PropType<
|
|
20
|
+
type: import("vue").PropType<import("../../index.js").TableQueryFrame[]>;
|
|
22
21
|
default: any[];
|
|
23
22
|
};
|
|
24
23
|
tableToolButtons: {
|
|
25
24
|
required: false;
|
|
26
25
|
default: () => any[];
|
|
27
|
-
type: import("vue").PropType<
|
|
26
|
+
type: import("vue").PropType<import("../../index.js").KeliButton[]>;
|
|
28
27
|
};
|
|
29
28
|
tableRowButtons: {
|
|
30
29
|
required: false;
|
|
31
30
|
default: () => any[];
|
|
32
|
-
type: import("vue").PropType<
|
|
31
|
+
type: import("vue").PropType<import("../../index.js").KeliButton[]>;
|
|
33
32
|
};
|
|
34
33
|
tableData: {
|
|
35
34
|
required: true;
|
|
@@ -38,7 +37,7 @@ declare const KeliTableRender: import("vue").DefineComponent<import("vue").Extra
|
|
|
38
37
|
};
|
|
39
38
|
tablePagination: {
|
|
40
39
|
required: false;
|
|
41
|
-
type: import("vue").PropType<
|
|
40
|
+
type: import("vue").PropType<import("../type.js").Pagination>;
|
|
42
41
|
default: () => {
|
|
43
42
|
currentPage: number;
|
|
44
43
|
pageSize: number;
|
|
@@ -46,12 +45,12 @@ declare const KeliTableRender: import("vue").DefineComponent<import("vue").Extra
|
|
|
46
45
|
};
|
|
47
46
|
};
|
|
48
47
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
49
|
-
btnClick: (...args: any[]) => void;
|
|
50
48
|
queryClick: (...args: any[]) => void;
|
|
49
|
+
btnClick: (...args: any[]) => void;
|
|
51
50
|
valueChange: (...args: any[]) => void;
|
|
52
51
|
treeLazyLoad: (...args: any[]) => void;
|
|
53
52
|
onSelection: (...args: any[]) => void;
|
|
54
|
-
"update:tablePagination": (value:
|
|
53
|
+
"update:tablePagination": (value: import("../type.js").Pagination) => void;
|
|
55
54
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
56
55
|
tableId: {
|
|
57
56
|
required: true;
|
|
@@ -59,7 +58,7 @@ declare const KeliTableRender: import("vue").DefineComponent<import("vue").Extra
|
|
|
59
58
|
};
|
|
60
59
|
tableConfig: {
|
|
61
60
|
required: true;
|
|
62
|
-
type: import("vue").PropType<
|
|
61
|
+
type: import("vue").PropType<import("../../index.js").TableConfigInterface>;
|
|
63
62
|
};
|
|
64
63
|
vxeGridOptions: {
|
|
65
64
|
required: false;
|
|
@@ -71,18 +70,18 @@ declare const KeliTableRender: import("vue").DefineComponent<import("vue").Extra
|
|
|
71
70
|
};
|
|
72
71
|
queryConfig: {
|
|
73
72
|
required: false;
|
|
74
|
-
type: import("vue").PropType<
|
|
73
|
+
type: import("vue").PropType<import("../../index.js").TableQueryFrame[]>;
|
|
75
74
|
default: any[];
|
|
76
75
|
};
|
|
77
76
|
tableToolButtons: {
|
|
78
77
|
required: false;
|
|
79
78
|
default: () => any[];
|
|
80
|
-
type: import("vue").PropType<
|
|
79
|
+
type: import("vue").PropType<import("../../index.js").KeliButton[]>;
|
|
81
80
|
};
|
|
82
81
|
tableRowButtons: {
|
|
83
82
|
required: false;
|
|
84
83
|
default: () => any[];
|
|
85
|
-
type: import("vue").PropType<
|
|
84
|
+
type: import("vue").PropType<import("../../index.js").KeliButton[]>;
|
|
86
85
|
};
|
|
87
86
|
tableData: {
|
|
88
87
|
required: true;
|
|
@@ -91,7 +90,7 @@ declare const KeliTableRender: import("vue").DefineComponent<import("vue").Extra
|
|
|
91
90
|
};
|
|
92
91
|
tablePagination: {
|
|
93
92
|
required: false;
|
|
94
|
-
type: import("vue").PropType<
|
|
93
|
+
type: import("vue").PropType<import("../type.js").Pagination>;
|
|
95
94
|
default: () => {
|
|
96
95
|
currentPage: number;
|
|
97
96
|
pageSize: number;
|
|
@@ -99,17 +98,17 @@ declare const KeliTableRender: import("vue").DefineComponent<import("vue").Extra
|
|
|
99
98
|
};
|
|
100
99
|
};
|
|
101
100
|
}>> & Readonly<{
|
|
102
|
-
onBtnClick?: (...args: any[]) => any;
|
|
103
101
|
onQueryClick?: (...args: any[]) => any;
|
|
102
|
+
onBtnClick?: (...args: any[]) => any;
|
|
104
103
|
onValueChange?: (...args: any[]) => any;
|
|
105
104
|
onTreeLazyLoad?: (...args: any[]) => any;
|
|
106
105
|
onOnSelection?: (...args: any[]) => any;
|
|
107
|
-
"onUpdate:tablePagination"?: (value:
|
|
106
|
+
"onUpdate:tablePagination"?: (value: import("../type.js").Pagination) => any;
|
|
108
107
|
}>, {
|
|
109
|
-
queryConfig: TableQueryFrame[];
|
|
110
|
-
tableToolButtons: KeliButton[];
|
|
111
|
-
tableRowButtons: KeliButton[];
|
|
108
|
+
queryConfig: import("../../index.js").TableQueryFrame[];
|
|
109
|
+
tableToolButtons: import("../../index.js").KeliButton[];
|
|
110
|
+
tableRowButtons: import("../../index.js").KeliButton[];
|
|
112
111
|
tableData: any[];
|
|
113
|
-
tablePagination: Pagination;
|
|
112
|
+
tablePagination: import("../type.js").Pagination;
|
|
114
113
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
115
114
|
export default KeliTableRender;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
-
import type { TableSelector } from '
|
|
2
|
+
import type { TableSelector } from '../../types';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
value: {
|
|
5
5
|
required: false;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { TableSelector } from '
|
|
2
|
+
import type { TableSelector } from '../../types';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
value: {
|
|
5
5
|
required: false;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { TableComponentFrame } from '
|
|
2
|
+
import type { TableComponentFrame } from '../../types';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
value: {
|
|
5
5
|
type: BooleanConstructor;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
-
import type { TableConfigInterface } from '@/packages/types/tableFrame';
|
|
3
2
|
import type { VxeGridProps } from 'vxe-table';
|
|
4
|
-
import type { TableQueryFrame } from '
|
|
5
|
-
import type {
|
|
6
|
-
import type { Pagination } from '@/packages/TableComponents/type';
|
|
3
|
+
import type { KeliButton, TableConfigInterface, TableQueryFrame } from '../../types';
|
|
4
|
+
import type { Pagination } from '../type';
|
|
7
5
|
declare var __VLS_13: {};
|
|
8
6
|
type __VLS_Slots = {} & {
|
|
9
7
|
'tool-bar'?: (props: typeof __VLS_13) => any;
|
|
@@ -55,9 +53,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
55
53
|
};
|
|
56
54
|
};
|
|
57
55
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
58
|
-
getTableConfig: (...args: any[]) => void;
|
|
59
|
-
btnClick: (...args: any[]) => void;
|
|
60
56
|
queryClick: (...args: any[]) => void;
|
|
57
|
+
btnClick: (...args: any[]) => void;
|
|
58
|
+
getTableConfig: (...args: any[]) => void;
|
|
61
59
|
valueChange: (...args: any[]) => void;
|
|
62
60
|
treeLazyLoad: (...args: any[]) => void;
|
|
63
61
|
onSelection: (...args: any[]) => void;
|
|
@@ -108,9 +106,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
108
106
|
};
|
|
109
107
|
};
|
|
110
108
|
}>> & Readonly<{
|
|
111
|
-
onGetTableConfig?: (...args: any[]) => any;
|
|
112
|
-
onBtnClick?: (...args: any[]) => any;
|
|
113
109
|
onQueryClick?: (...args: any[]) => any;
|
|
110
|
+
onBtnClick?: (...args: any[]) => any;
|
|
111
|
+
onGetTableConfig?: (...args: any[]) => any;
|
|
114
112
|
onValueChange?: (...args: any[]) => any;
|
|
115
113
|
onTreeLazyLoad?: (...args: any[]) => any;
|
|
116
114
|
onOnSelection?: (...args: any[]) => any;
|