keli-ui 0.0.24 → 0.0.26
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 +4055 -51406
- package/dist/keli-ui.umd.cjs +1 -1
- package/dist/types/lib/modeControl.d.ts +2 -2
- package/dist/types/packages/FormComponents/FormCascaderAsync/FormCascaderAsync.vue.d.ts +1 -41
- package/dist/types/packages/FormComponents/FormCheckBoxAsync/FormCheckBoxAsync.vue.d.ts +1 -43
- package/dist/types/packages/FormComponents/FormDatePicker/FormDatePickerClient.vue.d.ts +1 -29
- package/dist/types/packages/FormComponents/FormDatePicker/FormDatePickerMobile.vue.d.ts +1 -37
- package/dist/types/packages/FormComponents/FormDatePicker/index.d.ts +1 -61
- package/dist/types/packages/FormComponents/FormDateTimePicker/FormDateTimePickerClient.vue.d.ts +1 -33
- package/dist/types/packages/FormComponents/FormDateTimePicker/FormDateTimePickerMobile.vue.d.ts +1 -37
- package/dist/types/packages/FormComponents/FormDateTimePicker/index.d.ts +1 -65
- package/dist/types/packages/FormComponents/FormDivider/FormDivider.vue.d.ts +1 -29
- package/dist/types/packages/FormComponents/FormDynamicTable/FormDynamicTable.vue.d.ts +1 -35
- package/dist/types/packages/FormComponents/FormInput/FormInput.vue.d.ts +1 -33
- package/dist/types/packages/FormComponents/FormInputNumber/FormInputNumber.vue.d.ts +1 -46
- package/dist/types/packages/FormComponents/FormRadio/FormRadio.vue.d.ts +1 -27
- package/dist/types/packages/FormComponents/FormRender/FormRenderClient.vue.d.ts +1 -121
- package/dist/types/packages/FormComponents/FormRender/FormRenderMobile.vue.d.ts +1 -122
- package/dist/types/packages/FormComponents/FormRender/index.d.ts +1 -237
- package/dist/types/packages/FormComponents/FormSelect/FormSelectClient.vue.d.ts +1 -31
- package/dist/types/packages/FormComponents/FormSelect/FormSelectMobile.vue.d.ts +1 -35
- package/dist/types/packages/FormComponents/FormSelect/index.d.ts +1 -61
- package/dist/types/packages/FormComponents/FormSelectAsync/FormSelectAsyncClient.vue.d.ts +1 -54
- package/dist/types/packages/FormComponents/FormSelectAsync/FormSelectAsyncMobile.vue.d.ts +1 -54
- package/dist/types/packages/FormComponents/FormSelectAsync/hooks/selectAsync.hook.d.ts +2 -13
- package/dist/types/packages/FormComponents/FormSelectAsync/index.d.ts +1 -52
- package/dist/types/packages/FormComponents/FormSelectRemote/FormSelectRemote.vue.d.ts +1 -41
- package/dist/types/packages/FormComponents/FormSwitch/FormSwitch.vue.d.ts +1 -33
- package/dist/types/packages/FormComponents/FormText/FormText.vue.d.ts +1 -38
- package/dist/types/packages/FormComponents/FormTextArea/FormTextArea.vue.d.ts +1 -33
- package/dist/types/packages/QueryComponents/QueryBar/QueryBarClient.vue.d.ts +1 -42
- package/dist/types/packages/QueryComponents/QueryBar/QueryBarMobile.vue.d.ts +1 -39
- package/dist/types/packages/QueryComponents/QueryBar/index.d.ts +1 -76
- package/dist/types/packages/QueryComponents/QueryDateTime/QueryDateTimeClient.vue.d.ts +1 -15
- package/dist/types/packages/QueryComponents/QueryInput/QueryInput.vue.d.ts +1 -15
- package/dist/types/packages/QueryComponents/QueryInputLike/QueryInputLike.vue.d.ts +1 -15
- package/dist/types/packages/QueryComponents/QuerySelect/QuerySelectClient.vue.d.ts +1 -29
- package/dist/types/packages/TableComponents/TableCardRender/TableCardRenderClient.vue.d.ts +1 -119
- package/dist/types/packages/TableComponents/TableCardRender/TableCardRenderMobile.vue.d.ts +1 -117
- package/dist/types/packages/TableComponents/TableCardRender/index.d.ts +1 -113
- package/dist/types/packages/TableComponents/TableCheckBoxAsync/TableCheckBoxAsync.vue.d.ts +1 -62
- package/dist/types/packages/TableComponents/TableInput/TableInput.vue.d.ts +1 -56
- package/dist/types/packages/TableComponents/TableInputNumber/TableInputNumber.vue.d.ts +1 -56
- package/dist/types/packages/TableComponents/TableRender/TableRenderClient.vue.d.ts +1 -139
- package/dist/types/packages/TableComponents/TableRender/TableRenderMobile.vue.d.ts +1 -117
- package/dist/types/packages/TableComponents/TableRender/hooks/useCopyPaste.hook.d.ts +5 -5
- package/dist/types/packages/TableComponents/TableRender/index.d.ts +1 -113
- package/dist/types/packages/TableComponents/TableSelect/TableSelect.vue.d.ts +1 -38
- package/dist/types/packages/TableComponents/TableSelectAsync/TableSelectAsync.vue.d.ts +1 -38
- package/dist/types/packages/TableComponents/TableSwitch/TableSwitch.vue.d.ts +1 -38
- package/dist/types/packages/TableComponents/TableTreeRender/TableTreeRender.vue.d.ts +1 -117
- package/dist/types/packages/ToolBar/ToolBarClient.vue.d.ts +1 -13
- package/dist/types/packages/ToolBar/ToolBarMobile.vue.d.ts +1 -13
- package/dist/types/packages/ToolBar/ToolBarProxy.vue.d.ts +1 -13
- package/dist/types/packages/index.d.ts +1 -2
- package/package.json +4 -12
- package/dist/types/packages/FormComponents/FormCodeEditor/FormCodeEditor.vue.d.ts +0 -43
- package/dist/types/packages/FormComponents/FormCodeEditor/index.d.ts +0 -2
- package/dist/types/packages/types/button.d.ts +0 -26
- package/dist/types/packages/types/componentFrame.d.ts +0 -25
- package/dist/types/packages/types/formFrame.d.ts +0 -90
- package/dist/types/packages/types/index.d.ts +0 -5
- package/dist/types/packages/types/queryFrame.d.ts +0 -24
- package/dist/types/packages/types/tableFrame.d.ts +0 -112
- package/dist/types/packages/types/translate.d.ts +0 -20
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import type { TableConfigInterface } from '../../../types';
|
|
2
|
-
interface
|
|
2
|
+
interface CellConfig {
|
|
3
3
|
height?: number;
|
|
4
4
|
}
|
|
5
5
|
interface CopyPasteInit {
|
|
6
6
|
xGrid: any;
|
|
7
|
-
|
|
7
|
+
cellConfig: CellConfig;
|
|
8
8
|
fieldChange?: Function;
|
|
9
9
|
tableConfig?: TableConfigInterface;
|
|
10
10
|
}
|
|
11
11
|
export declare function useCopyPaste(params: CopyPasteInit): {
|
|
12
|
-
cellArea:
|
|
13
|
-
leftFixedCellArea:
|
|
14
|
-
rightFixedCellArea:
|
|
12
|
+
cellArea: any;
|
|
13
|
+
leftFixedCellArea: any;
|
|
14
|
+
rightFixedCellArea: any;
|
|
15
15
|
addListener: () => void;
|
|
16
16
|
removeListener: () => void;
|
|
17
17
|
removeCopyShortcut: () => void;
|
|
@@ -1,114 +1,2 @@
|
|
|
1
|
-
declare const KeTableRender:
|
|
2
|
-
tableId: {
|
|
3
|
-
required: true;
|
|
4
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
5
|
-
};
|
|
6
|
-
tableConfig: {
|
|
7
|
-
required: true;
|
|
8
|
-
type: import("vue").PropType<import("../../index.js").TableConfigInterface>;
|
|
9
|
-
};
|
|
10
|
-
vxeGridOptions: {
|
|
11
|
-
required: false;
|
|
12
|
-
type: import("vue").PropType<import("vxe-table").VxeGridProps>;
|
|
13
|
-
};
|
|
14
|
-
columns: {
|
|
15
|
-
required: true;
|
|
16
|
-
type: import("vue").PropType<any[]>;
|
|
17
|
-
};
|
|
18
|
-
queryConfig: {
|
|
19
|
-
required: false;
|
|
20
|
-
type: import("vue").PropType<import("../../index.js").TableQueryFrame[]>;
|
|
21
|
-
default: any[];
|
|
22
|
-
};
|
|
23
|
-
tableToolButtons: {
|
|
24
|
-
required: false;
|
|
25
|
-
default: () => any[];
|
|
26
|
-
type: import("vue").PropType<import("../../index.js").KeliButton[]>;
|
|
27
|
-
};
|
|
28
|
-
tableRowButtons: {
|
|
29
|
-
required: false;
|
|
30
|
-
default: () => any[];
|
|
31
|
-
type: import("vue").PropType<import("../../index.js").KeliButton[]>;
|
|
32
|
-
};
|
|
33
|
-
tableData: {
|
|
34
|
-
required: true;
|
|
35
|
-
type: import("vue").PropType<any[]>;
|
|
36
|
-
default(): any[];
|
|
37
|
-
};
|
|
38
|
-
tablePagination: {
|
|
39
|
-
required: false;
|
|
40
|
-
type: import("vue").PropType<import("../type.js").Pagination>;
|
|
41
|
-
default: () => {
|
|
42
|
-
currentPage: number;
|
|
43
|
-
pageSize: number;
|
|
44
|
-
total: number;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
48
|
-
queryClick: (...args: any[]) => void;
|
|
49
|
-
btnClick: (...args: any[]) => void;
|
|
50
|
-
valueChange: (...args: any[]) => void;
|
|
51
|
-
treeLazyLoad: (...args: any[]) => void;
|
|
52
|
-
onSelection: (...args: any[]) => void;
|
|
53
|
-
"update:tablePagination": (value: import("../type.js").Pagination) => void;
|
|
54
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
55
|
-
tableId: {
|
|
56
|
-
required: true;
|
|
57
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
58
|
-
};
|
|
59
|
-
tableConfig: {
|
|
60
|
-
required: true;
|
|
61
|
-
type: import("vue").PropType<import("../../index.js").TableConfigInterface>;
|
|
62
|
-
};
|
|
63
|
-
vxeGridOptions: {
|
|
64
|
-
required: false;
|
|
65
|
-
type: import("vue").PropType<import("vxe-table").VxeGridProps>;
|
|
66
|
-
};
|
|
67
|
-
columns: {
|
|
68
|
-
required: true;
|
|
69
|
-
type: import("vue").PropType<any[]>;
|
|
70
|
-
};
|
|
71
|
-
queryConfig: {
|
|
72
|
-
required: false;
|
|
73
|
-
type: import("vue").PropType<import("../../index.js").TableQueryFrame[]>;
|
|
74
|
-
default: any[];
|
|
75
|
-
};
|
|
76
|
-
tableToolButtons: {
|
|
77
|
-
required: false;
|
|
78
|
-
default: () => any[];
|
|
79
|
-
type: import("vue").PropType<import("../../index.js").KeliButton[]>;
|
|
80
|
-
};
|
|
81
|
-
tableRowButtons: {
|
|
82
|
-
required: false;
|
|
83
|
-
default: () => any[];
|
|
84
|
-
type: import("vue").PropType<import("../../index.js").KeliButton[]>;
|
|
85
|
-
};
|
|
86
|
-
tableData: {
|
|
87
|
-
required: true;
|
|
88
|
-
type: import("vue").PropType<any[]>;
|
|
89
|
-
default(): any[];
|
|
90
|
-
};
|
|
91
|
-
tablePagination: {
|
|
92
|
-
required: false;
|
|
93
|
-
type: import("vue").PropType<import("../type.js").Pagination>;
|
|
94
|
-
default: () => {
|
|
95
|
-
currentPage: number;
|
|
96
|
-
pageSize: number;
|
|
97
|
-
total: number;
|
|
98
|
-
};
|
|
99
|
-
};
|
|
100
|
-
}>> & Readonly<{
|
|
101
|
-
onQueryClick?: (...args: any[]) => any;
|
|
102
|
-
onBtnClick?: (...args: any[]) => any;
|
|
103
|
-
onValueChange?: (...args: any[]) => any;
|
|
104
|
-
onTreeLazyLoad?: (...args: any[]) => any;
|
|
105
|
-
onOnSelection?: (...args: any[]) => any;
|
|
106
|
-
"onUpdate:tablePagination"?: (value: import("../type.js").Pagination) => any;
|
|
107
|
-
}>, {
|
|
108
|
-
queryConfig: import("../../index.js").TableQueryFrame[];
|
|
109
|
-
tableToolButtons: import("../../index.js").KeliButton[];
|
|
110
|
-
tableRowButtons: import("../../index.js").KeliButton[];
|
|
111
|
-
tableData: any[];
|
|
112
|
-
tablePagination: import("../type.js").Pagination;
|
|
113
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1
|
+
declare const KeTableRender: any;
|
|
114
2
|
export default KeTableRender;
|
|
@@ -1,39 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import type { TableSelector } from '../../types';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
-
value: {
|
|
5
|
-
required: false;
|
|
6
|
-
default: () => any;
|
|
7
|
-
};
|
|
8
|
-
detail: {
|
|
9
|
-
required: true;
|
|
10
|
-
type: PropType<TableSelector>;
|
|
11
|
-
};
|
|
12
|
-
rowData: {
|
|
13
|
-
required: false;
|
|
14
|
-
default: () => {};
|
|
15
|
-
};
|
|
16
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
-
valueChange: (...args: any[]) => void;
|
|
18
|
-
"update:value": (...args: any[]) => void;
|
|
19
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
|
-
value: {
|
|
21
|
-
required: false;
|
|
22
|
-
default: () => any;
|
|
23
|
-
};
|
|
24
|
-
detail: {
|
|
25
|
-
required: true;
|
|
26
|
-
type: PropType<TableSelector>;
|
|
27
|
-
};
|
|
28
|
-
rowData: {
|
|
29
|
-
required: false;
|
|
30
|
-
default: () => {};
|
|
31
|
-
};
|
|
32
|
-
}>> & Readonly<{
|
|
33
|
-
onValueChange?: (...args: any[]) => any;
|
|
34
|
-
"onUpdate:value"?: (...args: any[]) => any;
|
|
35
|
-
}>, {
|
|
36
|
-
value: any;
|
|
37
|
-
rowData: {};
|
|
38
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1
|
+
declare const _default: any;
|
|
39
2
|
export default _default;
|
|
@@ -1,39 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import type { TableSelector } from '../../types';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
-
value: {
|
|
5
|
-
required: false;
|
|
6
|
-
default: () => any;
|
|
7
|
-
};
|
|
8
|
-
detail: {
|
|
9
|
-
required: true;
|
|
10
|
-
type: PropType<TableSelector>;
|
|
11
|
-
};
|
|
12
|
-
rowData: {
|
|
13
|
-
required: false;
|
|
14
|
-
default: () => {};
|
|
15
|
-
};
|
|
16
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
-
valueChange: (...args: any[]) => void;
|
|
18
|
-
"update:value": (...args: any[]) => void;
|
|
19
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
|
-
value: {
|
|
21
|
-
required: false;
|
|
22
|
-
default: () => any;
|
|
23
|
-
};
|
|
24
|
-
detail: {
|
|
25
|
-
required: true;
|
|
26
|
-
type: PropType<TableSelector>;
|
|
27
|
-
};
|
|
28
|
-
rowData: {
|
|
29
|
-
required: false;
|
|
30
|
-
default: () => {};
|
|
31
|
-
};
|
|
32
|
-
}>> & Readonly<{
|
|
33
|
-
onValueChange?: (...args: any[]) => any;
|
|
34
|
-
"onUpdate:value"?: (...args: any[]) => any;
|
|
35
|
-
}>, {
|
|
36
|
-
value: any;
|
|
37
|
-
rowData: {};
|
|
38
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1
|
+
declare const _default: any;
|
|
39
2
|
export default _default;
|
|
@@ -1,39 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import type { TableComponentFrame } from '../../types';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
-
value: {
|
|
5
|
-
type: BooleanConstructor;
|
|
6
|
-
default: boolean;
|
|
7
|
-
};
|
|
8
|
-
detail: {
|
|
9
|
-
required: true;
|
|
10
|
-
type: PropType<TableComponentFrame>;
|
|
11
|
-
};
|
|
12
|
-
rowData: {
|
|
13
|
-
required: false;
|
|
14
|
-
default: () => {};
|
|
15
|
-
};
|
|
16
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
-
valueChange: (...args: any[]) => void;
|
|
18
|
-
"update:value": (...args: any[]) => void;
|
|
19
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
|
-
value: {
|
|
21
|
-
type: BooleanConstructor;
|
|
22
|
-
default: boolean;
|
|
23
|
-
};
|
|
24
|
-
detail: {
|
|
25
|
-
required: true;
|
|
26
|
-
type: PropType<TableComponentFrame>;
|
|
27
|
-
};
|
|
28
|
-
rowData: {
|
|
29
|
-
required: false;
|
|
30
|
-
default: () => {};
|
|
31
|
-
};
|
|
32
|
-
}>> & Readonly<{
|
|
33
|
-
onValueChange?: (...args: any[]) => any;
|
|
34
|
-
"onUpdate:value"?: (...args: any[]) => any;
|
|
35
|
-
}>, {
|
|
36
|
-
value: boolean;
|
|
37
|
-
rowData: {};
|
|
38
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1
|
+
declare const _default: any;
|
|
39
2
|
export default _default;
|
|
@@ -1,124 +1,8 @@
|
|
|
1
|
-
import { type PropType } from 'vue';
|
|
2
|
-
import type { VxeGridProps } from 'vxe-table';
|
|
3
|
-
import type { KeliButton, TableConfigInterface, TableQueryFrame } from '../../types';
|
|
4
|
-
import type { Pagination } from '../type';
|
|
5
1
|
declare var __VLS_13: {};
|
|
6
2
|
type __VLS_Slots = {} & {
|
|
7
3
|
'tool-bar'?: (props: typeof __VLS_13) => any;
|
|
8
4
|
};
|
|
9
|
-
declare const __VLS_component:
|
|
10
|
-
tableId: {
|
|
11
|
-
required: true;
|
|
12
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
13
|
-
};
|
|
14
|
-
tableConfig: {
|
|
15
|
-
required: true;
|
|
16
|
-
type: PropType<TableConfigInterface>;
|
|
17
|
-
};
|
|
18
|
-
vxeGridOptions: {
|
|
19
|
-
required: false;
|
|
20
|
-
type: PropType<VxeGridProps>;
|
|
21
|
-
};
|
|
22
|
-
columns: {
|
|
23
|
-
required: true;
|
|
24
|
-
type: PropType<any[]>;
|
|
25
|
-
};
|
|
26
|
-
queryConfig: {
|
|
27
|
-
required: false;
|
|
28
|
-
type: PropType<TableQueryFrame[]>;
|
|
29
|
-
default: any[];
|
|
30
|
-
};
|
|
31
|
-
tableToolButtons: {
|
|
32
|
-
required: false;
|
|
33
|
-
default: () => any[];
|
|
34
|
-
type: PropType<KeliButton[]>;
|
|
35
|
-
};
|
|
36
|
-
tableRowButtons: {
|
|
37
|
-
required: false;
|
|
38
|
-
default: () => any[];
|
|
39
|
-
type: PropType<KeliButton[]>;
|
|
40
|
-
};
|
|
41
|
-
tableData: {
|
|
42
|
-
required: true;
|
|
43
|
-
type: ArrayConstructor;
|
|
44
|
-
default(): any[];
|
|
45
|
-
};
|
|
46
|
-
tablePagination: {
|
|
47
|
-
required: false;
|
|
48
|
-
type: PropType<Pagination>;
|
|
49
|
-
default: () => {
|
|
50
|
-
currentPage: number;
|
|
51
|
-
pageSize: number;
|
|
52
|
-
total: number;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
56
|
-
queryClick: (...args: any[]) => void;
|
|
57
|
-
btnClick: (...args: any[]) => void;
|
|
58
|
-
getTableConfig: (...args: any[]) => void;
|
|
59
|
-
valueChange: (...args: any[]) => void;
|
|
60
|
-
treeLazyLoad: (...args: any[]) => void;
|
|
61
|
-
onSelection: (...args: any[]) => void;
|
|
62
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
63
|
-
tableId: {
|
|
64
|
-
required: true;
|
|
65
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
66
|
-
};
|
|
67
|
-
tableConfig: {
|
|
68
|
-
required: true;
|
|
69
|
-
type: PropType<TableConfigInterface>;
|
|
70
|
-
};
|
|
71
|
-
vxeGridOptions: {
|
|
72
|
-
required: false;
|
|
73
|
-
type: PropType<VxeGridProps>;
|
|
74
|
-
};
|
|
75
|
-
columns: {
|
|
76
|
-
required: true;
|
|
77
|
-
type: PropType<any[]>;
|
|
78
|
-
};
|
|
79
|
-
queryConfig: {
|
|
80
|
-
required: false;
|
|
81
|
-
type: PropType<TableQueryFrame[]>;
|
|
82
|
-
default: any[];
|
|
83
|
-
};
|
|
84
|
-
tableToolButtons: {
|
|
85
|
-
required: false;
|
|
86
|
-
default: () => any[];
|
|
87
|
-
type: PropType<KeliButton[]>;
|
|
88
|
-
};
|
|
89
|
-
tableRowButtons: {
|
|
90
|
-
required: false;
|
|
91
|
-
default: () => any[];
|
|
92
|
-
type: PropType<KeliButton[]>;
|
|
93
|
-
};
|
|
94
|
-
tableData: {
|
|
95
|
-
required: true;
|
|
96
|
-
type: ArrayConstructor;
|
|
97
|
-
default(): any[];
|
|
98
|
-
};
|
|
99
|
-
tablePagination: {
|
|
100
|
-
required: false;
|
|
101
|
-
type: PropType<Pagination>;
|
|
102
|
-
default: () => {
|
|
103
|
-
currentPage: number;
|
|
104
|
-
pageSize: number;
|
|
105
|
-
total: number;
|
|
106
|
-
};
|
|
107
|
-
};
|
|
108
|
-
}>> & Readonly<{
|
|
109
|
-
onQueryClick?: (...args: any[]) => any;
|
|
110
|
-
onBtnClick?: (...args: any[]) => any;
|
|
111
|
-
onGetTableConfig?: (...args: any[]) => any;
|
|
112
|
-
onValueChange?: (...args: any[]) => any;
|
|
113
|
-
onTreeLazyLoad?: (...args: any[]) => any;
|
|
114
|
-
onOnSelection?: (...args: any[]) => any;
|
|
115
|
-
}>, {
|
|
116
|
-
queryConfig: TableQueryFrame[];
|
|
117
|
-
tableToolButtons: KeliButton[];
|
|
118
|
-
tableRowButtons: KeliButton[];
|
|
119
|
-
tableData: unknown[];
|
|
120
|
-
tablePagination: Pagination;
|
|
121
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
5
|
+
declare const __VLS_component: any;
|
|
122
6
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
123
7
|
export default _default;
|
|
124
8
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,20 +1,8 @@
|
|
|
1
|
-
import type { PropType } from 'vue';
|
|
2
|
-
import type { KeliButton } from '../types';
|
|
3
1
|
declare var __VLS_6: {};
|
|
4
2
|
type __VLS_Slots = {} & {
|
|
5
3
|
'custom-button'?: (props: typeof __VLS_6) => any;
|
|
6
4
|
};
|
|
7
|
-
declare const __VLS_component:
|
|
8
|
-
toolButtons: {
|
|
9
|
-
required: true;
|
|
10
|
-
type: PropType<KeliButton[]>;
|
|
11
|
-
};
|
|
12
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
-
toolButtons: {
|
|
14
|
-
required: true;
|
|
15
|
-
type: PropType<KeliButton[]>;
|
|
16
|
-
};
|
|
17
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
5
|
+
declare const __VLS_component: any;
|
|
18
6
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
19
7
|
export default _default;
|
|
20
8
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,14 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import type { KeliButton } from '../types';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
-
toolButtons: {
|
|
5
|
-
required: true;
|
|
6
|
-
type: PropType<KeliButton[]>;
|
|
7
|
-
};
|
|
8
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
-
toolButtons: {
|
|
10
|
-
required: true;
|
|
11
|
-
type: PropType<KeliButton[]>;
|
|
12
|
-
};
|
|
13
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1
|
+
declare const _default: any;
|
|
14
2
|
export default _default;
|
|
@@ -1,14 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import type { KeliButton } from '../types';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
-
toolButtons: {
|
|
5
|
-
required: true;
|
|
6
|
-
type: PropType<KeliButton[]>;
|
|
7
|
-
};
|
|
8
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
-
toolButtons: {
|
|
10
|
-
required: true;
|
|
11
|
-
type: PropType<KeliButton[]>;
|
|
12
|
-
};
|
|
13
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1
|
+
declare const _default: any;
|
|
14
2
|
export default _default;
|
|
@@ -17,7 +17,6 @@ import KeQuerySelect from './QueryComponents/QuerySelect';
|
|
|
17
17
|
import KeToolBar from './ToolBar';
|
|
18
18
|
import KeFormCascaderAsync from './FormComponents/FormCascaderAsync';
|
|
19
19
|
import KeFormCheckBoxAsync from './FormComponents/FormCheckBoxAsync';
|
|
20
|
-
import KeFormCodeEditor from './FormComponents/FormCodeEditor';
|
|
21
20
|
import KeFormDatePicker from './FormComponents/FormDatePicker';
|
|
22
21
|
import KeFormDivider from './FormComponents/FormDivider';
|
|
23
22
|
import KeFormDateTimePicker from './FormComponents/FormDateTimePicker';
|
|
@@ -38,7 +37,7 @@ declare const _default: {
|
|
|
38
37
|
install: (app: App) => void;
|
|
39
38
|
};
|
|
40
39
|
export default _default;
|
|
41
|
-
export { install, KeTableRender, KeTableCardRender, KeTableTreeRender, KeTableCheckBoxAsync, KeTableInput, KeTableInputNumber, KeTableSelect, KeTableSelectAsync, KeTableSwitch, KeQueryBar, KeQueryDateTime, KeQueryInput, KeQueryInputLike, KeQuerySelect, KeToolBar, KeFormCascaderAsync, KeFormCheckBoxAsync,
|
|
40
|
+
export { install, KeTableRender, KeTableCardRender, KeTableTreeRender, KeTableCheckBoxAsync, KeTableInput, KeTableInputNumber, KeTableSelect, KeTableSelectAsync, KeTableSwitch, KeQueryBar, KeQueryDateTime, KeQueryInput, KeQueryInputLike, KeQuerySelect, KeToolBar, KeFormCascaderAsync, KeFormCheckBoxAsync, KeFormDatePicker, KeFormDivider, KeFormDateTimePicker, KeFormDynamicTable, KeFormInput, KeFormInputNumber, KeFormRadio, KeFormRender, KeFormSelect, KeFormSelectAsync, KeFormSelectRemote, KeFormSwitch, KeFormText, KeFormTextArea };
|
|
42
41
|
export * from '../utils';
|
|
43
42
|
export type * from './types';
|
|
44
43
|
export * from 'vxe-table';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "keli-ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.26",
|
|
5
5
|
"author": "Luv Letter",
|
|
6
6
|
"description": "配置化组件库",
|
|
7
7
|
"type": "module",
|
|
@@ -31,26 +31,18 @@
|
|
|
31
31
|
"preview": "vite preview"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@codemirror/lang-java": "^6.0.1",
|
|
35
|
-
"@codemirror/lang-javascript": "^6.2.4",
|
|
36
|
-
"@codemirror/lang-json": "^6.0.1",
|
|
37
|
-
"@codemirror/language": "^6.11.0",
|
|
38
|
-
"@codemirror/theme-one-dark": "^6.1.2",
|
|
39
|
-
"@vueuse/core": "^13.1.0",
|
|
40
|
-
"js-beautify": "^1.15.4",
|
|
41
34
|
"solarday2lunarday": "^1.12.1",
|
|
42
|
-
"sql-formatter": "^15.6.1",
|
|
43
35
|
"vant": "^4.9.19",
|
|
44
|
-
"vue-codemirror": "^6.1.1",
|
|
45
36
|
"vue-draggable-plus": "^0.6.0",
|
|
46
|
-
"vxe-
|
|
47
|
-
"vxe-
|
|
37
|
+
"vxe-pc-ui": "^4.5.34",
|
|
38
|
+
"vxe-table": "^4.13.15"
|
|
48
39
|
},
|
|
49
40
|
"optionalDependencies": {
|
|
50
41
|
"mitt": "^3.0.1"
|
|
51
42
|
},
|
|
52
43
|
"peerDependencies": {
|
|
53
44
|
"@element-plus/icons-vue": "^2.3.1",
|
|
45
|
+
"@vueuse/core": "^13.1.0",
|
|
54
46
|
"element-plus": "^2.9.9",
|
|
55
47
|
"vue": "^3.5.13"
|
|
56
48
|
},
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { type PropType } from 'vue';
|
|
2
|
-
import type { FormCodeEditor } from '../../types/formFrame';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
-
value: {
|
|
5
|
-
required: false;
|
|
6
|
-
default: string;
|
|
7
|
-
};
|
|
8
|
-
detail: {
|
|
9
|
-
required: true;
|
|
10
|
-
type: PropType<FormCodeEditor>;
|
|
11
|
-
};
|
|
12
|
-
disabled: {
|
|
13
|
-
required: false;
|
|
14
|
-
default: boolean;
|
|
15
|
-
};
|
|
16
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
-
valueChange: (...args: any[]) => void;
|
|
18
|
-
"update:value": (...args: any[]) => void;
|
|
19
|
-
setShow: (...args: any[]) => void;
|
|
20
|
-
getComponentValue: (...args: any[]) => void;
|
|
21
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
-
value: {
|
|
23
|
-
required: false;
|
|
24
|
-
default: string;
|
|
25
|
-
};
|
|
26
|
-
detail: {
|
|
27
|
-
required: true;
|
|
28
|
-
type: PropType<FormCodeEditor>;
|
|
29
|
-
};
|
|
30
|
-
disabled: {
|
|
31
|
-
required: false;
|
|
32
|
-
default: boolean;
|
|
33
|
-
};
|
|
34
|
-
}>> & Readonly<{
|
|
35
|
-
onValueChange?: (...args: any[]) => any;
|
|
36
|
-
"onUpdate:value"?: (...args: any[]) => any;
|
|
37
|
-
onSetShow?: (...args: any[]) => any;
|
|
38
|
-
onGetComponentValue?: (...args: any[]) => any;
|
|
39
|
-
}>, {
|
|
40
|
-
value: string;
|
|
41
|
-
disabled: boolean;
|
|
42
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
43
|
-
export default _default;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
type ButtonType = 'danger' | 'primary' | 'success' | 'warning' | undefined;
|
|
2
|
-
|
|
3
|
-
export interface KeliButton {
|
|
4
|
-
/** 按钮ID */
|
|
5
|
-
id: string;
|
|
6
|
-
/** 按钮名称 */
|
|
7
|
-
label: string;
|
|
8
|
-
/** 按钮提示语 */
|
|
9
|
-
clickTips?: string;
|
|
10
|
-
/** 前端方法 */
|
|
11
|
-
webFunction: Function;
|
|
12
|
-
/** 按钮type */
|
|
13
|
-
type: ButtonType;
|
|
14
|
-
/** 设置指定样式,优先级大于class */
|
|
15
|
-
buttonStyle?: any;
|
|
16
|
-
/** 引用预设的class */
|
|
17
|
-
buttonClass?: string;
|
|
18
|
-
/** 设置指定样式,优先级大于class */
|
|
19
|
-
fontStyle?: any;
|
|
20
|
-
/** 引用预设的class */
|
|
21
|
-
fontClass?: string;
|
|
22
|
-
/**
|
|
23
|
-
* 调用方法的第二个入参
|
|
24
|
-
*/
|
|
25
|
-
params?: any;
|
|
26
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
type Slots = "renderCell" | "renderAsyncCell";
|
|
3
|
-
|
|
4
|
-
interface ComponentFrame {
|
|
5
|
-
/** 字段名 */
|
|
6
|
-
field: string;
|
|
7
|
-
/** 字段标题 */
|
|
8
|
-
title: string;
|
|
9
|
-
/** 是否禁止编辑 */
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
/** 占位文本 */
|
|
12
|
-
placeholder?: string;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
/** 下拉框、级联选择器类型数据 */
|
|
16
|
-
export interface OptionInterface {
|
|
17
|
-
value: number | string;
|
|
18
|
-
label: string;
|
|
19
|
-
disabled?: boolean;
|
|
20
|
-
children?: OptionInterface[];
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export type HttpMethod = 'delete' | 'get' | 'head' | 'patch' | 'post' | 'put';
|
|
24
|
-
|
|
25
|
-
export type Size = 'small' | 'default' | 'large';
|