keli-ui 0.0.12 → 0.0.13
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 +25 -22
- package/dist/keli-ui.umd.cjs +1 -1
- package/dist/types/packages/QueryComponents/QuerySelect/QuerySelectClient.vue.d.ts +3 -3
- package/dist/types/packages/types/queryFrame.d.ts +16 -0
- package/dist/types/packages/types/tableFrame.d.ts +17 -12
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type {
|
|
2
|
+
import type { QuerySelector } from '@/packages';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
value: {
|
|
5
5
|
required: false;
|
|
@@ -7,7 +7,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
7
7
|
};
|
|
8
8
|
detail: {
|
|
9
9
|
required: true;
|
|
10
|
-
type: PropType<
|
|
10
|
+
type: PropType<QuerySelector>;
|
|
11
11
|
};
|
|
12
12
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
13
|
"update:value": (...args: any[]) => void;
|
|
@@ -19,7 +19,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
19
19
|
};
|
|
20
20
|
detail: {
|
|
21
21
|
required: true;
|
|
22
|
-
type: PropType<
|
|
22
|
+
type: PropType<QuerySelector>;
|
|
23
23
|
};
|
|
24
24
|
}>> & Readonly<{
|
|
25
25
|
"onUpdate:value"?: (...args: any[]) => any;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { OptionInterface } from '@/packages';
|
|
1
2
|
|
|
2
3
|
/** 查询配置 */
|
|
3
4
|
export interface TableQueryFrame {
|
|
@@ -5,4 +6,19 @@ export interface TableQueryFrame {
|
|
|
5
6
|
fieldTitle: string;
|
|
6
7
|
queryEditor: string;
|
|
7
8
|
options?: any[];
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export interface QuerySelector extends TableQueryFrame {
|
|
12
|
+
/** 是否多选 */
|
|
13
|
+
multiple?: boolean;
|
|
14
|
+
/** Http URL */
|
|
15
|
+
optionHttpUrl: string;
|
|
16
|
+
/** http方法 */
|
|
17
|
+
optionHttpMethod: HttpMethod;
|
|
18
|
+
/** http默认参数 */
|
|
19
|
+
optionHttpParams: any;
|
|
20
|
+
/** http其他字段 */
|
|
21
|
+
optionHttpParamsValue: string[];
|
|
22
|
+
/** 选项默认是空的 需要在render里面进行数据异步获取 不在组件内部进行数据获取 */
|
|
23
|
+
options: OptionInterface[];
|
|
8
24
|
}
|
|
@@ -63,16 +63,21 @@ export interface TableComponentFrame extends ComponentFrame {
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
export interface TableSelector extends TableComponentFrame {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
66
|
+
editRender: {
|
|
67
|
+
name: string;
|
|
68
|
+
props: TableComponentFrame["editRender"]["props"] & {
|
|
69
|
+
/** 是否多选 */
|
|
70
|
+
multiple?: boolean;
|
|
71
|
+
/** Http URL */
|
|
72
|
+
optionHttpUrl: string;
|
|
73
|
+
/** http方法 */
|
|
74
|
+
optionHttpMethod: HttpMethod;
|
|
75
|
+
/** http默认参数 */
|
|
76
|
+
optionHttpParams: any;
|
|
77
|
+
/** http其他字段 */
|
|
78
|
+
optionHttpParamsValue: string[];
|
|
79
|
+
/** 选项默认是空的 需要在render里面进行数据异步获取 不在组件内部进行数据获取 */
|
|
80
|
+
options: OptionInterface[];
|
|
81
|
+
};
|
|
82
|
+
};
|
|
78
83
|
}
|