@kengic/vue 0.1.1-beta.1 → 0.1.1-beta.3
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/index.css +1 -1
- package/dist/kengic-vue.js +116 -107
- package/dist/src/components/KgControl/KgControl.Input.d.ts +17 -8
- package/dist/src/components/KgControl/KgControl.Select.d.ts +17 -8
- package/dist/src/components/KgControl/KgControl.d.ts +17 -8
- package/dist/src/components/KgControl/index.d.ts +38 -19
- package/dist/src/components/KgControl/index.vm.d.ts +12 -4
- package/package.json +1 -1
- package/kg.config.ts +0 -25
|
@@ -4,8 +4,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4
4
|
type: import("vue").PropType<string>;
|
|
5
5
|
required: boolean;
|
|
6
6
|
};
|
|
7
|
+
kgGutter: {
|
|
8
|
+
type: import("vue").PropType<number>;
|
|
9
|
+
default: number;
|
|
10
|
+
};
|
|
7
11
|
kgSpan: {
|
|
8
|
-
type: import("vue").PropType<1 | 2 | 3 | 4 | 5 |
|
|
12
|
+
type: import("vue").PropType<1 | 2 | 6 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24>;
|
|
9
13
|
default: number;
|
|
10
14
|
};
|
|
11
15
|
kgType: import("vue").PropType<import("../..").KG_CONTROL_TYPES_ENUM>;
|
|
@@ -14,8 +18,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14
18
|
kgDescriptionColumn: import("vue").PropType<string>;
|
|
15
19
|
kgAction: import("vue").PropType<string>;
|
|
16
20
|
kgActionParameter: import("vue").PropType<string>;
|
|
17
|
-
|
|
18
|
-
type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").
|
|
21
|
+
kgValidateInfo: {
|
|
22
|
+
type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").ValidateInfo>;
|
|
19
23
|
default: () => {};
|
|
20
24
|
};
|
|
21
25
|
kgActionType: {
|
|
@@ -29,8 +33,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
29
33
|
type: import("vue").PropType<string>;
|
|
30
34
|
required: boolean;
|
|
31
35
|
};
|
|
36
|
+
kgGutter: {
|
|
37
|
+
type: import("vue").PropType<number>;
|
|
38
|
+
default: number;
|
|
39
|
+
};
|
|
32
40
|
kgSpan: {
|
|
33
|
-
type: import("vue").PropType<1 | 2 | 3 | 4 | 5 |
|
|
41
|
+
type: import("vue").PropType<1 | 2 | 6 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24>;
|
|
34
42
|
default: number;
|
|
35
43
|
};
|
|
36
44
|
kgType: import("vue").PropType<import("../..").KG_CONTROL_TYPES_ENUM>;
|
|
@@ -39,8 +47,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
39
47
|
kgDescriptionColumn: import("vue").PropType<string>;
|
|
40
48
|
kgAction: import("vue").PropType<string>;
|
|
41
49
|
kgActionParameter: import("vue").PropType<string>;
|
|
42
|
-
|
|
43
|
-
type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").
|
|
50
|
+
kgValidateInfo: {
|
|
51
|
+
type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").ValidateInfo>;
|
|
44
52
|
default: () => {};
|
|
45
53
|
};
|
|
46
54
|
kgActionType: {
|
|
@@ -53,8 +61,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
53
61
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
54
62
|
onKgSubmit?: ((...args: any[]) => any) | undefined;
|
|
55
63
|
}, {
|
|
56
|
-
|
|
57
|
-
|
|
64
|
+
kgGutter: number;
|
|
65
|
+
kgSpan: 1 | 2 | 6 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24;
|
|
66
|
+
kgValidateInfo: import("ant-design-vue/lib/form/useForm").ValidateInfo;
|
|
58
67
|
kgActionType: import("axios").Method;
|
|
59
68
|
}>;
|
|
60
69
|
export default _default;
|
|
@@ -4,8 +4,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4
4
|
type: import("vue").PropType<string>;
|
|
5
5
|
required: boolean;
|
|
6
6
|
};
|
|
7
|
+
kgGutter: {
|
|
8
|
+
type: import("vue").PropType<number>;
|
|
9
|
+
default: number;
|
|
10
|
+
};
|
|
7
11
|
kgSpan: {
|
|
8
|
-
type: import("vue").PropType<1 | 2 | 3 | 4 | 5 |
|
|
12
|
+
type: import("vue").PropType<1 | 2 | 6 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24>;
|
|
9
13
|
default: number;
|
|
10
14
|
};
|
|
11
15
|
kgType: import("vue").PropType<import("../..").KG_CONTROL_TYPES_ENUM>;
|
|
@@ -14,8 +18,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14
18
|
kgDescriptionColumn: import("vue").PropType<string>;
|
|
15
19
|
kgAction: import("vue").PropType<string>;
|
|
16
20
|
kgActionParameter: import("vue").PropType<string>;
|
|
17
|
-
|
|
18
|
-
type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").
|
|
21
|
+
kgValidateInfo: {
|
|
22
|
+
type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").ValidateInfo>;
|
|
19
23
|
default: () => {};
|
|
20
24
|
};
|
|
21
25
|
kgActionType: {
|
|
@@ -29,8 +33,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
29
33
|
type: import("vue").PropType<string>;
|
|
30
34
|
required: boolean;
|
|
31
35
|
};
|
|
36
|
+
kgGutter: {
|
|
37
|
+
type: import("vue").PropType<number>;
|
|
38
|
+
default: number;
|
|
39
|
+
};
|
|
32
40
|
kgSpan: {
|
|
33
|
-
type: import("vue").PropType<1 | 2 | 3 | 4 | 5 |
|
|
41
|
+
type: import("vue").PropType<1 | 2 | 6 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24>;
|
|
34
42
|
default: number;
|
|
35
43
|
};
|
|
36
44
|
kgType: import("vue").PropType<import("../..").KG_CONTROL_TYPES_ENUM>;
|
|
@@ -39,8 +47,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
39
47
|
kgDescriptionColumn: import("vue").PropType<string>;
|
|
40
48
|
kgAction: import("vue").PropType<string>;
|
|
41
49
|
kgActionParameter: import("vue").PropType<string>;
|
|
42
|
-
|
|
43
|
-
type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").
|
|
50
|
+
kgValidateInfo: {
|
|
51
|
+
type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").ValidateInfo>;
|
|
44
52
|
default: () => {};
|
|
45
53
|
};
|
|
46
54
|
kgActionType: {
|
|
@@ -50,8 +58,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
50
58
|
value: import("vue").PropType<string | number | (string | number)[]>;
|
|
51
59
|
'onUpdate:value': import("vue").PropType<(value: any) => void>;
|
|
52
60
|
}>>, {
|
|
53
|
-
|
|
54
|
-
|
|
61
|
+
kgGutter: number;
|
|
62
|
+
kgSpan: 1 | 2 | 6 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24;
|
|
63
|
+
kgValidateInfo: import("ant-design-vue/lib/form/useForm").ValidateInfo;
|
|
55
64
|
kgActionType: import("axios").Method;
|
|
56
65
|
}>;
|
|
57
66
|
export default _default;
|
|
@@ -5,8 +5,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5
5
|
type: import("vue").PropType<string>;
|
|
6
6
|
required: boolean;
|
|
7
7
|
};
|
|
8
|
+
kgGutter: {
|
|
9
|
+
type: import("vue").PropType<number>;
|
|
10
|
+
default: number;
|
|
11
|
+
};
|
|
8
12
|
kgSpan: {
|
|
9
|
-
type: import("vue").PropType<1 | 2 | 3 | 4 | 5 |
|
|
13
|
+
type: import("vue").PropType<1 | 2 | 6 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24>;
|
|
10
14
|
default: number;
|
|
11
15
|
};
|
|
12
16
|
kgType: import("vue").PropType<KG_CONTROL_TYPES_ENUM>;
|
|
@@ -15,8 +19,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
15
19
|
kgDescriptionColumn: import("vue").PropType<string>;
|
|
16
20
|
kgAction: import("vue").PropType<string>;
|
|
17
21
|
kgActionParameter: import("vue").PropType<string>;
|
|
18
|
-
|
|
19
|
-
type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").
|
|
22
|
+
kgValidateInfo: {
|
|
23
|
+
type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").ValidateInfo>;
|
|
20
24
|
default: () => {};
|
|
21
25
|
};
|
|
22
26
|
kgActionType: {
|
|
@@ -30,8 +34,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
34
|
type: import("vue").PropType<string>;
|
|
31
35
|
required: boolean;
|
|
32
36
|
};
|
|
37
|
+
kgGutter: {
|
|
38
|
+
type: import("vue").PropType<number>;
|
|
39
|
+
default: number;
|
|
40
|
+
};
|
|
33
41
|
kgSpan: {
|
|
34
|
-
type: import("vue").PropType<1 | 2 | 3 | 4 | 5 |
|
|
42
|
+
type: import("vue").PropType<1 | 2 | 6 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24>;
|
|
35
43
|
default: number;
|
|
36
44
|
};
|
|
37
45
|
kgType: import("vue").PropType<KG_CONTROL_TYPES_ENUM>;
|
|
@@ -40,8 +48,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
40
48
|
kgDescriptionColumn: import("vue").PropType<string>;
|
|
41
49
|
kgAction: import("vue").PropType<string>;
|
|
42
50
|
kgActionParameter: import("vue").PropType<string>;
|
|
43
|
-
|
|
44
|
-
type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").
|
|
51
|
+
kgValidateInfo: {
|
|
52
|
+
type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").ValidateInfo>;
|
|
45
53
|
default: () => {};
|
|
46
54
|
};
|
|
47
55
|
kgActionType: {
|
|
@@ -53,8 +61,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
53
61
|
}>> & {
|
|
54
62
|
onKgSubmit?: ((...args: any[]) => any) | undefined;
|
|
55
63
|
}, {
|
|
56
|
-
|
|
57
|
-
|
|
64
|
+
kgGutter: number;
|
|
65
|
+
kgSpan: 1 | 2 | 6 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24;
|
|
66
|
+
kgValidateInfo: import("ant-design-vue/lib/form/useForm").ValidateInfo;
|
|
58
67
|
kgActionType: import("axios").Method;
|
|
59
68
|
}>;
|
|
60
69
|
export default _default;
|
|
@@ -7,16 +7,21 @@ declare const _default: {
|
|
|
7
7
|
$: import("vue").ComponentInternalInstance;
|
|
8
8
|
$data: {};
|
|
9
9
|
$props: Partial<{
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
kgGutter: number;
|
|
11
|
+
kgSpan: 1 | 2 | 6 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24;
|
|
12
|
+
kgValidateInfo: import("ant-design-vue/lib/form/useForm").ValidateInfo;
|
|
12
13
|
kgActionType: import("axios").Method;
|
|
13
14
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
14
15
|
kgVarName: {
|
|
15
16
|
type: import("vue").PropType<string>;
|
|
16
17
|
required: boolean;
|
|
17
18
|
};
|
|
19
|
+
kgGutter: {
|
|
20
|
+
type: import("vue").PropType<number>;
|
|
21
|
+
default: number;
|
|
22
|
+
};
|
|
18
23
|
kgSpan: {
|
|
19
|
-
type: import("vue").PropType<1 | 2 | 3 | 4 | 5 |
|
|
24
|
+
type: import("vue").PropType<1 | 2 | 6 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24>;
|
|
20
25
|
default: number;
|
|
21
26
|
};
|
|
22
27
|
kgType: import("vue").PropType<import("../..").KG_CONTROL_TYPES_ENUM>;
|
|
@@ -25,8 +30,8 @@ declare const _default: {
|
|
|
25
30
|
kgDescriptionColumn: import("vue").PropType<string>;
|
|
26
31
|
kgAction: import("vue").PropType<string>;
|
|
27
32
|
kgActionParameter: import("vue").PropType<string>;
|
|
28
|
-
|
|
29
|
-
type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").
|
|
33
|
+
kgValidateInfo: {
|
|
34
|
+
type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").ValidateInfo>;
|
|
30
35
|
default: () => {};
|
|
31
36
|
};
|
|
32
37
|
kgActionType: {
|
|
@@ -37,7 +42,7 @@ declare const _default: {
|
|
|
37
42
|
'onUpdate:value': import("vue").PropType<(value: any) => void>;
|
|
38
43
|
}>> & {
|
|
39
44
|
onKgSubmit?: ((...args: any[]) => any) | undefined;
|
|
40
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "kgSpan" | "
|
|
45
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "kgGutter" | "kgSpan" | "kgValidateInfo" | "kgActionType">;
|
|
41
46
|
$attrs: {
|
|
42
47
|
[x: string]: unknown;
|
|
43
48
|
};
|
|
@@ -56,8 +61,12 @@ declare const _default: {
|
|
|
56
61
|
type: import("vue").PropType<string>;
|
|
57
62
|
required: boolean;
|
|
58
63
|
};
|
|
64
|
+
kgGutter: {
|
|
65
|
+
type: import("vue").PropType<number>;
|
|
66
|
+
default: number;
|
|
67
|
+
};
|
|
59
68
|
kgSpan: {
|
|
60
|
-
type: import("vue").PropType<1 | 2 | 3 | 4 | 5 |
|
|
69
|
+
type: import("vue").PropType<1 | 2 | 6 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24>;
|
|
61
70
|
default: number;
|
|
62
71
|
};
|
|
63
72
|
kgType: import("vue").PropType<import("../..").KG_CONTROL_TYPES_ENUM>;
|
|
@@ -66,8 +75,8 @@ declare const _default: {
|
|
|
66
75
|
kgDescriptionColumn: import("vue").PropType<string>;
|
|
67
76
|
kgAction: import("vue").PropType<string>;
|
|
68
77
|
kgActionParameter: import("vue").PropType<string>;
|
|
69
|
-
|
|
70
|
-
type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").
|
|
78
|
+
kgValidateInfo: {
|
|
79
|
+
type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").ValidateInfo>;
|
|
71
80
|
default: () => {};
|
|
72
81
|
};
|
|
73
82
|
kgActionType: {
|
|
@@ -79,8 +88,9 @@ declare const _default: {
|
|
|
79
88
|
}>> & {
|
|
80
89
|
onKgSubmit?: ((...args: any[]) => any) | undefined;
|
|
81
90
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "kgSubmit"[], string, {
|
|
82
|
-
|
|
83
|
-
|
|
91
|
+
kgGutter: number;
|
|
92
|
+
kgSpan: 1 | 2 | 6 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24;
|
|
93
|
+
kgValidateInfo: import("ant-design-vue/lib/form/useForm").ValidateInfo;
|
|
84
94
|
kgActionType: import("axios").Method;
|
|
85
95
|
}, {}, string> & {
|
|
86
96
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -107,8 +117,12 @@ declare const _default: {
|
|
|
107
117
|
type: import("vue").PropType<string>;
|
|
108
118
|
required: boolean;
|
|
109
119
|
};
|
|
120
|
+
kgGutter: {
|
|
121
|
+
type: import("vue").PropType<number>;
|
|
122
|
+
default: number;
|
|
123
|
+
};
|
|
110
124
|
kgSpan: {
|
|
111
|
-
type: import("vue").PropType<1 | 2 | 3 | 4 | 5 |
|
|
125
|
+
type: import("vue").PropType<1 | 2 | 6 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24>;
|
|
112
126
|
default: number;
|
|
113
127
|
};
|
|
114
128
|
kgType: import("vue").PropType<import("../..").KG_CONTROL_TYPES_ENUM>;
|
|
@@ -117,8 +131,8 @@ declare const _default: {
|
|
|
117
131
|
kgDescriptionColumn: import("vue").PropType<string>;
|
|
118
132
|
kgAction: import("vue").PropType<string>;
|
|
119
133
|
kgActionParameter: import("vue").PropType<string>;
|
|
120
|
-
|
|
121
|
-
type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").
|
|
134
|
+
kgValidateInfo: {
|
|
135
|
+
type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").ValidateInfo>;
|
|
122
136
|
default: () => {};
|
|
123
137
|
};
|
|
124
138
|
kgActionType: {
|
|
@@ -138,8 +152,12 @@ declare const _default: {
|
|
|
138
152
|
type: import("vue").PropType<string>;
|
|
139
153
|
required: boolean;
|
|
140
154
|
};
|
|
155
|
+
kgGutter: {
|
|
156
|
+
type: import("vue").PropType<number>;
|
|
157
|
+
default: number;
|
|
158
|
+
};
|
|
141
159
|
kgSpan: {
|
|
142
|
-
type: import("vue").PropType<1 | 2 | 3 | 4 | 5 |
|
|
160
|
+
type: import("vue").PropType<1 | 2 | 6 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24>;
|
|
143
161
|
default: number;
|
|
144
162
|
};
|
|
145
163
|
kgType: import("vue").PropType<import("../..").KG_CONTROL_TYPES_ENUM>;
|
|
@@ -148,8 +166,8 @@ declare const _default: {
|
|
|
148
166
|
kgDescriptionColumn: import("vue").PropType<string>;
|
|
149
167
|
kgAction: import("vue").PropType<string>;
|
|
150
168
|
kgActionParameter: import("vue").PropType<string>;
|
|
151
|
-
|
|
152
|
-
type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").
|
|
169
|
+
kgValidateInfo: {
|
|
170
|
+
type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").ValidateInfo>;
|
|
153
171
|
default: () => {};
|
|
154
172
|
};
|
|
155
173
|
kgActionType: {
|
|
@@ -161,8 +179,9 @@ declare const _default: {
|
|
|
161
179
|
}>> & {
|
|
162
180
|
onKgSubmit?: ((...args: any[]) => any) | undefined;
|
|
163
181
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "kgSubmit"[], "kgSubmit", {
|
|
164
|
-
|
|
165
|
-
|
|
182
|
+
kgGutter: number;
|
|
183
|
+
kgSpan: 1 | 2 | 6 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24;
|
|
184
|
+
kgValidateInfo: import("ant-design-vue/lib/form/useForm").ValidateInfo;
|
|
166
185
|
kgActionType: import("axios").Method;
|
|
167
186
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
168
187
|
readonly Input: typeof KgControlInput;
|
|
@@ -1,19 +1,27 @@
|
|
|
1
1
|
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
import { KG_CONTROL_TYPES_ENUM } from '../../consts';
|
|
3
3
|
import { Method } from 'axios';
|
|
4
|
-
import {
|
|
4
|
+
import { ValidateInfo } from 'ant-design-vue/lib/form/useForm';
|
|
5
5
|
export declare const getProps: () => {
|
|
6
6
|
/** 变量名称. */
|
|
7
7
|
kgVarName: {
|
|
8
8
|
type: PropType<string>;
|
|
9
9
|
required: boolean;
|
|
10
10
|
};
|
|
11
|
+
/**
|
|
12
|
+
* 控件间隔.
|
|
13
|
+
* @default 6
|
|
14
|
+
*/
|
|
15
|
+
kgGutter: {
|
|
16
|
+
type: PropType<number>;
|
|
17
|
+
default: number;
|
|
18
|
+
};
|
|
11
19
|
/**
|
|
12
20
|
* 控件宽度.
|
|
13
21
|
* @default 6
|
|
14
22
|
*/
|
|
15
23
|
kgSpan: {
|
|
16
|
-
type: PropType<1 | 2 | 3 | 4 | 5 |
|
|
24
|
+
type: PropType<1 | 2 | 6 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24>;
|
|
17
25
|
default: number;
|
|
18
26
|
};
|
|
19
27
|
/**
|
|
@@ -37,8 +45,8 @@ export declare const getProps: () => {
|
|
|
37
45
|
/** 接口参数. */
|
|
38
46
|
kgActionParameter: PropType<string>;
|
|
39
47
|
/** 表单验证信息. */
|
|
40
|
-
|
|
41
|
-
type: PropType<
|
|
48
|
+
kgValidateInfo: {
|
|
49
|
+
type: PropType<ValidateInfo>;
|
|
42
50
|
default: () => {};
|
|
43
51
|
};
|
|
44
52
|
/**
|
package/package.json
CHANGED
package/kg.config.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { IPontConfig } from '@kengic/pont';
|
|
2
|
-
|
|
3
|
-
const config: IPontConfig = {
|
|
4
|
-
pont: {
|
|
5
|
-
origins: [
|
|
6
|
-
{
|
|
7
|
-
name: 'WMS',
|
|
8
|
-
originUrl: 'http://localhost:8080/kengic-boot/v2/api-docs',
|
|
9
|
-
originType: 'SwaggerV2',
|
|
10
|
-
responseClassName: 'Result',
|
|
11
|
-
includeControllers: {
|
|
12
|
-
VarController: ['GetAll'],
|
|
13
|
-
VarContextController: ['Add', 'Delete', 'DeleteBatch', 'Edit', 'List', 'QueryById', 'ExportXls', 'ImportExcel'],
|
|
14
|
-
VarCatalogController: ['Add', 'Delete', 'DeleteBatch', 'Edit', 'List', 'QueryById', 'ExportXls', 'ImportExcel'],
|
|
15
|
-
},
|
|
16
|
-
includeClasses: ['IPage', 'VarCatalog', 'VarContext', 'VarDTO'],
|
|
17
|
-
},
|
|
18
|
-
],
|
|
19
|
-
publicPath: '/kengic-boot',
|
|
20
|
-
httpClientPath: "'../../../../services'",
|
|
21
|
-
outDir: './src/apis',
|
|
22
|
-
},
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
export { config };
|