@kengic/vue 0.22.1-beta.0 → 0.23.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +62 -22
- package/dist/index.css +1 -1
- package/dist/kengic-vue.js +7709 -6673
- package/dist/project/build/script/buildConf.ts +1 -2
- package/dist/project/build/script/postBuild.ts +1 -1
- package/dist/project/src/api/sys/model/userModel.ts +1 -0
- package/dist/src/apis/WMS/Controllers/DescriptionController/ListByCodeNamesAndCodeValues.d.ts +16 -0
- package/dist/src/apis/WMS/Controllers/DescriptionController/index.d.ts +1 -0
- package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/index.d.ts +0 -7
- package/dist/src/apis/WMS/Controllers/VarConfigPossibilityController/ExecuteQuery.d.ts +18 -0
- package/dist/src/apis/WMS/Controllers/VarConfigPossibilityController/index.d.ts +1 -0
- package/dist/src/apis/WMS/Controllers/index.d.ts +1 -0
- package/dist/src/apis/WMS/models.d.ts +28 -4
- package/dist/src/components/KgAppSelect/index.hooks.d.ts +3 -3
- package/dist/src/components/KgAppSelect/index.store.d.ts +30 -29
- package/dist/src/components/KgButton/KgButton.d.ts +18 -12
- package/dist/src/components/KgButton/index.d.ts +4 -4
- package/dist/src/components/KgButton/index.hooks.d.ts +68 -67
- package/dist/src/components/KgButton/index.store.d.ts +57 -193
- package/dist/src/components/KgForm/index.hooks.d.ts +37 -30
- package/dist/src/components/KgForm/index.store.d.ts +88 -41
- package/dist/src/components/KgForm.Item/KgForm.Item.d.ts +3 -3
- package/dist/src/components/KgForm.Item/{KgForm.Item.hooks.d.ts → KgForm.Item.service.d.ts} +3 -3
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +8 -7
- package/dist/src/components/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +6 -5
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Date.d.ts +6 -5
- package/dist/src/components/KgForm.Item/components/KgForm.Item.DateRange.d.ts +6 -5
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Image.d.ts +3 -3
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Input.d.ts +6 -5
- package/dist/src/components/KgForm.Item/components/KgForm.Item.InputNumber.d.ts +6 -5
- package/dist/src/components/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +6 -7
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.d.ts +7 -5
- package/dist/src/components/KgForm.Item/components/{KgForm.Item.Select.hooks.d.ts → KgForm.Item.Select.service.d.ts} +16 -13
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Switch.d.ts +6 -5
- package/dist/src/components/KgForm.Item/components/KgForm.Item.TextArea.d.ts +6 -5
- package/dist/src/components/KgForm.Item/index.d.ts +1 -1
- package/dist/src/components/KgForm.Item/index.vm.d.ts +9 -7
- package/dist/src/components/KgResizable/KgResizable.d.ts +52 -52
- package/dist/src/components/KgSearch/KgSearch.d.ts +0 -16
- package/dist/src/components/KgSearch/KgSearch.service.d.ts +32 -0
- package/dist/src/components/KgSearch/index.hooks.d.ts +57 -138
- package/dist/src/components/KgSearch/index.store.d.ts +84 -193
- package/dist/src/components/KgSubmit/index.hooks.d.ts +112 -278
- package/dist/src/components/KgSubmit/index.store.d.ts +71 -257
- package/dist/src/components/KgSubmit/index.vm.d.ts +2 -1
- package/dist/src/components/KgTable/{KgTable.hooks.d.ts → KgTable.service.d.ts} +8 -16
- package/dist/src/components/KgTable/components/setting/KgTable.Setting.d.ts +0 -1
- package/dist/src/components/KgTable/components/setting/{KgTable.Setting.hooks.d.ts → KgTable.Setting.service.d.ts} +1 -1
- package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.d.ts +0 -2
- package/dist/src/components/KgTable/index.hooks.d.ts +79 -427
- package/dist/src/components/KgTable/index.store.d.ts +127 -647
- package/dist/src/components/KgTable/index.vm.d.ts +1 -1
- package/dist/src/components/KgVar/index.hooks.d.ts +103 -3468
- package/dist/src/components/KgVar/index.store.d.ts +136 -3229
- package/dist/src/components/KgVar/index.store.service.d.ts +2 -1
- package/dist/src/components/KgVar/index.vm.d.ts +7 -7
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigInput.d.ts +2 -0
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigLookup.d.ts +2 -0
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigPossibility.d.ts +2 -0
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigTip.d.ts +2 -0
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarVariable.d.ts +2 -0
- package/dist/src/components/KgVarConfig/index.store.d.ts +23 -16
- package/dist/src/components/KgVarConfig/index.vm.d.ts +32 -0
- package/dist/src/components/KgWarehouse/index.hooks.d.ts +10 -6
- package/dist/src/components/KgWarehouse/index.store.d.ts +15 -14
- package/dist/src/components/util.d.ts +7 -7
- package/dist/src/config/index.hooks.d.ts +31 -38
- package/dist/src/config/index.store.d.ts +74 -52
- package/dist/src/consts/i18n/en.d.ts +10 -6
- package/dist/src/consts/i18n/zh_CN.d.ts +10 -6
- package/dist/src/consts/index.d.ts +0 -277
- package/dist/src/consts/index.vm.d.ts +503 -75
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.store.d.ts +7 -1
- package/dist/src/utils/kg-var.util.d.ts +4 -3
- package/dist/src/utils/kg.util.d.ts +13 -16
- package/package.json +2 -2
- package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/Delete.d.ts +0 -18
- package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/DeleteBatch.d.ts +0 -18
- package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/Edit.d.ts +0 -16
- package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/ExportXls.d.ts +0 -30
- package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/ImportExcel.d.ts +0 -15
- package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/List.d.ts +0 -37
- package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/QueryById.d.ts +0 -19
- package/dist/src/components/KgSearch/KgSearch.hooks.d.ts +0 -28
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.CreateModal.d.ts +0 -32
- /package/dist/src/components/KgModal/{KgModal.hooks.d.ts → KgModal.service.d.ts} +0 -0
- /package/dist/src/components/KgSubmit/{KgSubmit.hooks.d.ts → KgSubmit.service.d.ts} +0 -0
- /package/dist/src/components/KgTable/components/setting/config/{KgTable.Setting.ConfigModal.VarGridMaster.hooks.d.ts → KgTable.Setting.ConfigModal.VarGridMaster.service.d.ts} +0 -0
- /package/dist/src/components/KgVarConfig/components/var/{KgVarConfig.Modal.Var.Vars.d.ts → KgVarConfig.Modal.Var.VarConfigControl.d.ts} +0 -0
@@ -1,16 +1,17 @@
|
|
1
|
+
import { KG_FORM_CONTEXT } from '../../../consts';
|
1
2
|
/**
|
2
3
|
* <p>表单控件:多选框.</p>
|
3
4
|
* <p>组件 Checkbox 的 checked 属性使用的是 true/false, 本组件实际传入的参数为 1/0, 因此存在数据转换.</p>
|
4
5
|
*/
|
5
6
|
declare const _default: import("vue").DefineComponent<{
|
6
|
-
/** 是否勾选. */
|
7
7
|
kgVarName: {
|
8
8
|
type: import("vue").PropType<string>;
|
9
|
+
/** 是否勾选. */
|
9
10
|
required: boolean;
|
10
11
|
};
|
11
12
|
kgContext: {
|
12
|
-
type: import("vue").PropType<
|
13
|
-
default:
|
13
|
+
type: import("vue").PropType<KG_FORM_CONTEXT>;
|
14
|
+
default: KG_FORM_CONTEXT;
|
14
15
|
};
|
15
16
|
kgDisabled: {
|
16
17
|
type: import("vue").PropType<boolean>;
|
@@ -46,14 +47,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
46
47
|
onKgSelectChange: import("vue").PropType<(value: any) => void>;
|
47
48
|
onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
48
49
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "kgSubmit" | "kgChange")[], "update:value" | "kgSubmit" | "kgChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
49
|
-
/** 是否勾选. */
|
50
50
|
kgVarName: {
|
51
51
|
type: import("vue").PropType<string>;
|
52
|
+
/** 是否勾选. */
|
52
53
|
required: boolean;
|
53
54
|
};
|
54
55
|
kgContext: {
|
55
|
-
type: import("vue").PropType<
|
56
|
-
default:
|
56
|
+
type: import("vue").PropType<KG_FORM_CONTEXT>;
|
57
|
+
default: KG_FORM_CONTEXT;
|
57
58
|
};
|
58
59
|
kgDisabled: {
|
59
60
|
type: import("vue").PropType<boolean>;
|
@@ -95,7 +96,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
95
96
|
}, {
|
96
97
|
value: import("../index.vm").IKgFormItemValue;
|
97
98
|
kgDisabled: boolean;
|
98
|
-
kgContext:
|
99
|
+
kgContext: KG_FORM_CONTEXT;
|
99
100
|
kgShowLabel: boolean;
|
100
101
|
kgAllowClear: boolean;
|
101
102
|
kgShowTime: boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>;
|
@@ -1,11 +1,12 @@
|
|
1
|
+
import { KG_FORM_CONTEXT } from '../../../consts';
|
1
2
|
declare const _default: import("vue").DefineComponent<{
|
2
3
|
kgVarName: {
|
3
4
|
type: import("vue").PropType<string>;
|
4
5
|
required: boolean;
|
5
6
|
};
|
6
7
|
kgContext: {
|
7
|
-
type: import("vue").PropType<
|
8
|
-
default:
|
8
|
+
type: import("vue").PropType<KG_FORM_CONTEXT>;
|
9
|
+
default: KG_FORM_CONTEXT;
|
9
10
|
};
|
10
11
|
kgDisabled: {
|
11
12
|
type: import("vue").PropType<boolean>;
|
@@ -46,8 +47,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
46
47
|
required: boolean;
|
47
48
|
};
|
48
49
|
kgContext: {
|
49
|
-
type: import("vue").PropType<
|
50
|
-
default:
|
50
|
+
type: import("vue").PropType<KG_FORM_CONTEXT>;
|
51
|
+
default: KG_FORM_CONTEXT;
|
51
52
|
};
|
52
53
|
kgDisabled: {
|
53
54
|
type: import("vue").PropType<boolean>;
|
@@ -90,7 +91,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
90
91
|
}, {
|
91
92
|
value: import("../index.vm").IKgFormItemValue;
|
92
93
|
kgDisabled: boolean;
|
93
|
-
kgContext:
|
94
|
+
kgContext: KG_FORM_CONTEXT;
|
94
95
|
kgShowLabel: boolean;
|
95
96
|
kgAllowClear: boolean;
|
96
97
|
kgShowTime: boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>;
|
@@ -1,12 +1,13 @@
|
|
1
1
|
import dayjs from 'dayjs';
|
2
|
+
import { KG_FORM_CONTEXT } from '../../../consts';
|
2
3
|
declare const _default: import("vue").DefineComponent<{
|
3
4
|
kgVarName: {
|
4
5
|
type: import("vue").PropType<string>;
|
5
6
|
required: boolean;
|
6
7
|
};
|
7
8
|
kgContext: {
|
8
|
-
type: import("vue").PropType<
|
9
|
-
default:
|
9
|
+
type: import("vue").PropType<KG_FORM_CONTEXT>;
|
10
|
+
default: KG_FORM_CONTEXT;
|
10
11
|
};
|
11
12
|
kgDisabled: {
|
12
13
|
type: import("vue").PropType<boolean>;
|
@@ -47,8 +48,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
47
48
|
required: boolean;
|
48
49
|
};
|
49
50
|
kgContext: {
|
50
|
-
type: import("vue").PropType<
|
51
|
-
default:
|
51
|
+
type: import("vue").PropType<KG_FORM_CONTEXT>;
|
52
|
+
default: KG_FORM_CONTEXT;
|
52
53
|
};
|
53
54
|
kgDisabled: {
|
54
55
|
type: import("vue").PropType<boolean>;
|
@@ -90,7 +91,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
90
91
|
}, {
|
91
92
|
value: import("../index.vm").IKgFormItemValue;
|
92
93
|
kgDisabled: boolean;
|
93
|
-
kgContext:
|
94
|
+
kgContext: KG_FORM_CONTEXT;
|
94
95
|
kgShowLabel: boolean;
|
95
96
|
kgAllowClear: boolean;
|
96
97
|
kgShowTime: boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<dayjs.Dayjs>;
|
@@ -1,12 +1,13 @@
|
|
1
1
|
import dayjs from 'dayjs';
|
2
|
+
import { KG_FORM_CONTEXT } from '../../../consts';
|
2
3
|
declare const _default: import("vue").DefineComponent<{
|
3
4
|
kgVarName: {
|
4
5
|
type: import("vue").PropType<string>;
|
5
6
|
required: boolean;
|
6
7
|
};
|
7
8
|
kgContext: {
|
8
|
-
type: import("vue").PropType<
|
9
|
-
default:
|
9
|
+
type: import("vue").PropType<KG_FORM_CONTEXT>;
|
10
|
+
default: KG_FORM_CONTEXT;
|
10
11
|
};
|
11
12
|
kgDisabled: {
|
12
13
|
type: import("vue").PropType<boolean>;
|
@@ -47,8 +48,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
47
48
|
required: boolean;
|
48
49
|
};
|
49
50
|
kgContext: {
|
50
|
-
type: import("vue").PropType<
|
51
|
-
default:
|
51
|
+
type: import("vue").PropType<KG_FORM_CONTEXT>;
|
52
|
+
default: KG_FORM_CONTEXT;
|
52
53
|
};
|
53
54
|
kgDisabled: {
|
54
55
|
type: import("vue").PropType<boolean>;
|
@@ -90,7 +91,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
90
91
|
}, {
|
91
92
|
value: import("../index.vm").IKgFormItemValue;
|
92
93
|
kgDisabled: boolean;
|
93
|
-
kgContext:
|
94
|
+
kgContext: KG_FORM_CONTEXT;
|
94
95
|
kgShowLabel: boolean;
|
95
96
|
kgAllowClear: boolean;
|
96
97
|
kgShowTime: boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<dayjs.Dayjs>;
|
@@ -4,7 +4,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
required: boolean;
|
5
5
|
};
|
6
6
|
kgContext: {
|
7
|
-
type: import("vue").PropType<
|
7
|
+
type: import("vue").PropType<import("../../../consts").KG_FORM_CONTEXT>;
|
8
8
|
default: import("../../../consts").KG_FORM_CONTEXT;
|
9
9
|
};
|
10
10
|
kgDisabled: {
|
@@ -46,7 +46,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
46
46
|
required: boolean;
|
47
47
|
};
|
48
48
|
kgContext: {
|
49
|
-
type: import("vue").PropType<
|
49
|
+
type: import("vue").PropType<import("../../../consts").KG_FORM_CONTEXT>;
|
50
50
|
default: import("../../../consts").KG_FORM_CONTEXT;
|
51
51
|
};
|
52
52
|
kgDisabled: {
|
@@ -85,7 +85,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
85
85
|
}>>, {
|
86
86
|
value: import("../index.vm").IKgFormItemValue;
|
87
87
|
kgDisabled: boolean;
|
88
|
-
kgContext:
|
88
|
+
kgContext: import("../../../consts").KG_FORM_CONTEXT;
|
89
89
|
kgShowLabel: boolean;
|
90
90
|
kgAllowClear: boolean;
|
91
91
|
kgShowTime: boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>;
|
@@ -1,11 +1,12 @@
|
|
1
|
+
import { KG_FORM_CONTEXT } from '../../../consts';
|
1
2
|
declare const _default: import("vue").DefineComponent<{
|
2
3
|
kgVarName: {
|
3
4
|
type: import("vue").PropType<string>;
|
4
5
|
required: boolean;
|
5
6
|
};
|
6
7
|
kgContext: {
|
7
|
-
type: import("vue").PropType<
|
8
|
-
default:
|
8
|
+
type: import("vue").PropType<KG_FORM_CONTEXT>;
|
9
|
+
default: KG_FORM_CONTEXT;
|
9
10
|
};
|
10
11
|
kgDisabled: {
|
11
12
|
type: import("vue").PropType<boolean>;
|
@@ -46,8 +47,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
46
47
|
required: boolean;
|
47
48
|
};
|
48
49
|
kgContext: {
|
49
|
-
type: import("vue").PropType<
|
50
|
-
default:
|
50
|
+
type: import("vue").PropType<KG_FORM_CONTEXT>;
|
51
|
+
default: KG_FORM_CONTEXT;
|
51
52
|
};
|
52
53
|
kgDisabled: {
|
53
54
|
type: import("vue").PropType<boolean>;
|
@@ -89,7 +90,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
89
90
|
}, {
|
90
91
|
value: import("../index.vm").IKgFormItemValue;
|
91
92
|
kgDisabled: boolean;
|
92
|
-
kgContext:
|
93
|
+
kgContext: KG_FORM_CONTEXT;
|
93
94
|
kgShowLabel: boolean;
|
94
95
|
kgAllowClear: boolean;
|
95
96
|
kgShowTime: boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>;
|
@@ -1,11 +1,12 @@
|
|
1
|
+
import { KG_FORM_CONTEXT } from '../../../consts';
|
1
2
|
declare const _default: import("vue").DefineComponent<{
|
2
3
|
kgVarName: {
|
3
4
|
type: import("vue").PropType<string>;
|
4
5
|
required: boolean;
|
5
6
|
};
|
6
7
|
kgContext: {
|
7
|
-
type: import("vue").PropType<
|
8
|
-
default:
|
8
|
+
type: import("vue").PropType<KG_FORM_CONTEXT>;
|
9
|
+
default: KG_FORM_CONTEXT;
|
9
10
|
};
|
10
11
|
kgDisabled: {
|
11
12
|
type: import("vue").PropType<boolean>;
|
@@ -46,8 +47,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
46
47
|
required: boolean;
|
47
48
|
};
|
48
49
|
kgContext: {
|
49
|
-
type: import("vue").PropType<
|
50
|
-
default:
|
50
|
+
type: import("vue").PropType<KG_FORM_CONTEXT>;
|
51
|
+
default: KG_FORM_CONTEXT;
|
51
52
|
};
|
52
53
|
kgDisabled: {
|
53
54
|
type: import("vue").PropType<boolean>;
|
@@ -89,7 +90,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
89
90
|
}, {
|
90
91
|
value: import("../index.vm").IKgFormItemValue;
|
91
92
|
kgDisabled: boolean;
|
92
|
-
kgContext:
|
93
|
+
kgContext: KG_FORM_CONTEXT;
|
93
94
|
kgShowLabel: boolean;
|
94
95
|
kgAllowClear: boolean;
|
95
96
|
kgShowTime: boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>;
|
@@ -1,11 +1,12 @@
|
|
1
|
+
import { KG_FORM_CONTEXT } from '../../../consts';
|
1
2
|
declare const _default: import("vue").DefineComponent<{
|
2
3
|
kgVarName: {
|
3
4
|
type: import("vue").PropType<string>;
|
4
5
|
required: boolean;
|
5
6
|
};
|
6
7
|
kgContext: {
|
7
|
-
type: import("vue").PropType<
|
8
|
-
default:
|
8
|
+
type: import("vue").PropType<KG_FORM_CONTEXT>;
|
9
|
+
default: KG_FORM_CONTEXT;
|
9
10
|
};
|
10
11
|
kgDisabled: {
|
11
12
|
type: import("vue").PropType<boolean>;
|
@@ -13,7 +14,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
13
14
|
};
|
14
15
|
kgSpan: import("vue").PropType<number>;
|
15
16
|
kgPlaceholder: import("vue").PropType<string>;
|
16
|
-
/** 初始. */
|
17
17
|
kgMode: import("vue").PropType<"multiple" | "tags">;
|
18
18
|
kgShowLabel: {
|
19
19
|
type: import("vue").PropType<boolean>;
|
@@ -47,8 +47,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
47
47
|
required: boolean;
|
48
48
|
};
|
49
49
|
kgContext: {
|
50
|
-
type: import("vue").PropType<
|
51
|
-
default:
|
50
|
+
type: import("vue").PropType<KG_FORM_CONTEXT>;
|
51
|
+
default: KG_FORM_CONTEXT;
|
52
52
|
};
|
53
53
|
kgDisabled: {
|
54
54
|
type: import("vue").PropType<boolean>;
|
@@ -56,7 +56,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
56
56
|
};
|
57
57
|
kgSpan: import("vue").PropType<number>;
|
58
58
|
kgPlaceholder: import("vue").PropType<string>;
|
59
|
-
/** 初始. */
|
60
59
|
kgMode: import("vue").PropType<"multiple" | "tags">;
|
61
60
|
kgShowLabel: {
|
62
61
|
type: import("vue").PropType<boolean>;
|
@@ -91,7 +90,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
91
90
|
}, {
|
92
91
|
value: import("../index.vm").IKgFormItemValue;
|
93
92
|
kgDisabled: boolean;
|
94
|
-
kgContext:
|
93
|
+
kgContext: KG_FORM_CONTEXT;
|
95
94
|
kgShowLabel: boolean;
|
96
95
|
kgAllowClear: boolean;
|
97
96
|
kgShowTime: boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>;
|
@@ -5,7 +5,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
required: boolean;
|
6
6
|
};
|
7
7
|
kgContext: {
|
8
|
-
type: import("vue").PropType<
|
8
|
+
type: import("vue").PropType<KG_FORM_CONTEXT>;
|
9
9
|
default: KG_FORM_CONTEXT;
|
10
10
|
};
|
11
11
|
kgDisabled: {
|
@@ -20,6 +20,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
20
20
|
default: boolean;
|
21
21
|
};
|
22
22
|
kgAllowClear: {
|
23
|
+
/** 是否允许清空. */
|
23
24
|
type: import("vue").PropType<boolean>;
|
24
25
|
default: undefined;
|
25
26
|
};
|
@@ -38,7 +39,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
38
39
|
};
|
39
40
|
/** 初始. */
|
40
41
|
'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
|
41
|
-
onKgSubmit: import("vue").PropType<() => void>;
|
42
|
+
onKgSubmit: import("vue").PropType<() => void>;
|
42
43
|
onKgChange: import("vue").PropType<(value: any) => void>;
|
43
44
|
onKgSelectChange: import("vue").PropType<(value: any) => void>;
|
44
45
|
onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
@@ -48,7 +49,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
48
49
|
required: boolean;
|
49
50
|
};
|
50
51
|
kgContext: {
|
51
|
-
type: import("vue").PropType<
|
52
|
+
type: import("vue").PropType<KG_FORM_CONTEXT>;
|
52
53
|
default: KG_FORM_CONTEXT;
|
53
54
|
};
|
54
55
|
kgDisabled: {
|
@@ -63,6 +64,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
63
64
|
default: boolean;
|
64
65
|
};
|
65
66
|
kgAllowClear: {
|
67
|
+
/** 是否允许清空. */
|
66
68
|
type: import("vue").PropType<boolean>;
|
67
69
|
default: undefined;
|
68
70
|
};
|
@@ -81,7 +83,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
81
83
|
};
|
82
84
|
/** 初始. */
|
83
85
|
'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
|
84
|
-
onKgSubmit: import("vue").PropType<() => void>;
|
86
|
+
onKgSubmit: import("vue").PropType<() => void>;
|
85
87
|
onKgChange: import("vue").PropType<(value: any) => void>;
|
86
88
|
onKgSelectChange: import("vue").PropType<(value: any) => void>;
|
87
89
|
onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
@@ -94,7 +96,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
94
96
|
}, {
|
95
97
|
value: import("../index.vm").IKgFormItemValue;
|
96
98
|
kgDisabled: boolean;
|
97
|
-
kgContext:
|
99
|
+
kgContext: KG_FORM_CONTEXT;
|
98
100
|
kgShowLabel: boolean;
|
99
101
|
kgAllowClear: boolean;
|
100
102
|
kgShowTime: boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>;
|
@@ -1,27 +1,30 @@
|
|
1
1
|
import { ComputedRef, Ref } from 'vue';
|
2
2
|
import { VarConfigPossibility } from '../../../apis/WMS/models';
|
3
|
+
import { KgFormItemProps } from '../index.vm';
|
3
4
|
export declare type IUseKgFormItemSelect = {
|
4
|
-
/** VarConfigPossibility 配置. */
|
5
|
-
varPossibility: ComputedRef<VarConfigPossibility | null>;
|
6
|
-
/** 作为数据的列. */
|
7
|
-
val_clm: ComputedRef<string>;
|
8
|
-
/** 作为显示的列. */
|
9
|
-
lbl_clm: ComputedRef<string>;
|
10
|
-
/** 查询参数. */
|
11
|
-
requestParams: ComputedRef<Record<string, any>>;
|
12
5
|
/** 列表数据. */
|
13
6
|
datas: Ref<Array<Record<string, any>>>;
|
14
7
|
/** 是否正在查询列表数据. */
|
15
8
|
isDatasRequesting: Ref<boolean>;
|
9
|
+
/** 作为显示的列. */
|
10
|
+
lbl_clm: ComputedRef<string>;
|
11
|
+
/**
|
12
|
+
* 查询列表数据.
|
13
|
+
*/
|
14
|
+
requestDatas(): Promise<void>;
|
15
|
+
/** 查询参数. */
|
16
|
+
requestParams: ComputedRef<Record<string, any>>;
|
16
17
|
/**
|
17
18
|
* 处理列表数据.
|
18
19
|
* @param datas 原始列表数据.
|
19
20
|
* @return {} 处理后的列表数据.
|
20
21
|
*/
|
21
22
|
transformDatas(datas?: Array<Record<string, any>> | null): Array<Record<string, any>>;
|
22
|
-
/**
|
23
|
-
|
24
|
-
|
25
|
-
|
23
|
+
/** 作为数据的列. */
|
24
|
+
val_clm: ComputedRef<string>;
|
25
|
+
/** VarConfigPossibility 配置. */
|
26
|
+
varConfigPossibility: ComputedRef<VarConfigPossibility | null>;
|
26
27
|
};
|
27
|
-
export declare function useKgFormItemSelect(
|
28
|
+
export declare function useKgFormItemSelect(param: {
|
29
|
+
props: KgFormItemProps;
|
30
|
+
}): IUseKgFormItemSelect;
|
@@ -1,11 +1,12 @@
|
|
1
|
+
import { KG_FORM_CONTEXT } from '../../../consts';
|
1
2
|
declare const _default: import("vue").DefineComponent<{
|
2
3
|
kgVarName: {
|
3
4
|
type: import("vue").PropType<string>;
|
4
5
|
required: boolean;
|
5
6
|
};
|
6
7
|
kgContext: {
|
7
|
-
type: import("vue").PropType<
|
8
|
-
default:
|
8
|
+
type: import("vue").PropType<KG_FORM_CONTEXT>;
|
9
|
+
default: KG_FORM_CONTEXT;
|
9
10
|
};
|
10
11
|
kgDisabled: {
|
11
12
|
type: import("vue").PropType<boolean>;
|
@@ -46,8 +47,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
46
47
|
required: boolean;
|
47
48
|
};
|
48
49
|
kgContext: {
|
49
|
-
type: import("vue").PropType<
|
50
|
-
default:
|
50
|
+
type: import("vue").PropType<KG_FORM_CONTEXT>;
|
51
|
+
default: KG_FORM_CONTEXT;
|
51
52
|
};
|
52
53
|
kgDisabled: {
|
53
54
|
type: import("vue").PropType<boolean>;
|
@@ -89,7 +90,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
89
90
|
}, {
|
90
91
|
value: import("../index.vm").IKgFormItemValue;
|
91
92
|
kgDisabled: boolean;
|
92
|
-
kgContext:
|
93
|
+
kgContext: KG_FORM_CONTEXT;
|
93
94
|
kgShowLabel: boolean;
|
94
95
|
kgAllowClear: boolean;
|
95
96
|
kgShowTime: boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>;
|
@@ -1,11 +1,12 @@
|
|
1
|
+
import { KG_FORM_CONTEXT } from '../../../consts';
|
1
2
|
declare const _default: import("vue").DefineComponent<{
|
2
3
|
kgVarName: {
|
3
4
|
type: import("vue").PropType<string>;
|
4
5
|
required: boolean;
|
5
6
|
};
|
6
7
|
kgContext: {
|
7
|
-
type: import("vue").PropType<
|
8
|
-
default:
|
8
|
+
type: import("vue").PropType<KG_FORM_CONTEXT>;
|
9
|
+
default: KG_FORM_CONTEXT;
|
9
10
|
};
|
10
11
|
kgDisabled: {
|
11
12
|
type: import("vue").PropType<boolean>;
|
@@ -46,8 +47,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
46
47
|
required: boolean;
|
47
48
|
};
|
48
49
|
kgContext: {
|
49
|
-
type: import("vue").PropType<
|
50
|
-
default:
|
50
|
+
type: import("vue").PropType<KG_FORM_CONTEXT>;
|
51
|
+
default: KG_FORM_CONTEXT;
|
51
52
|
};
|
52
53
|
kgDisabled: {
|
53
54
|
type: import("vue").PropType<boolean>;
|
@@ -89,7 +90,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
89
90
|
}, {
|
90
91
|
value: import("../index.vm").IKgFormItemValue;
|
91
92
|
kgDisabled: boolean;
|
92
|
-
kgContext:
|
93
|
+
kgContext: KG_FORM_CONTEXT;
|
93
94
|
kgShowLabel: boolean;
|
94
95
|
kgAllowClear: boolean;
|
95
96
|
kgShowTime: boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>;
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export { default as KgFormItem } from './KgForm.Item';
|
2
|
-
export { type
|
2
|
+
export { type KgFormItemProps } from './index.vm';
|
@@ -3,7 +3,7 @@ import { SharedTimeProps } from 'ant-design-vue/es/vc-picker/panels/TimePanel';
|
|
3
3
|
import { PickerMode } from 'ant-design-vue/lib/vc-picker/interface';
|
4
4
|
import { Dayjs } from 'dayjs';
|
5
5
|
import { ComputedRef, ExtractPropTypes, InjectionKey, PropType } from 'vue';
|
6
|
-
import { VarProfileDetail, VarSubmitDetail
|
6
|
+
import { VarConfigControl, VarProfileDetail, VarSubmitDetail } from '../../apis/WMS/models';
|
7
7
|
import { KG_FORM_CONTEXT } from '../../consts';
|
8
8
|
export declare type IKgFormItemValue = string | number | Array<string | number>;
|
9
9
|
export declare const getProps: () => {
|
@@ -14,10 +14,12 @@ export declare const getProps: () => {
|
|
14
14
|
};
|
15
15
|
/**
|
16
16
|
* 控件所处环境.
|
17
|
-
*
|
17
|
+
*
|
18
|
+
* @default KG_FORM_CONTEXT.SUBMIT
|
19
|
+
* @see KG_FORM_CONTEXT
|
18
20
|
*/
|
19
21
|
kgContext: {
|
20
|
-
type: PropType<
|
22
|
+
type: PropType<KG_FORM_CONTEXT>;
|
21
23
|
default: KG_FORM_CONTEXT;
|
22
24
|
};
|
23
25
|
/** 是否禁用. */
|
@@ -83,12 +85,12 @@ export declare const getProps: () => {
|
|
83
85
|
/** 下拉列表数据发生变更. */
|
84
86
|
onKgSelectDatasChange: PropType<(datas: Array<any>) => void>;
|
85
87
|
};
|
86
|
-
export declare type
|
88
|
+
export declare type KgFormItemProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
87
89
|
/** 插槽 control 的参数. */
|
88
90
|
export declare type IKgFormItemSlotControlParam = {
|
89
91
|
frm_id: string;
|
90
92
|
varName: string;
|
91
|
-
props: ComputedRef<
|
93
|
+
props: ComputedRef<KgFormItemProps>;
|
92
94
|
model: ComputedRef<Record<string, any>>;
|
93
95
|
varConfigControl: VarConfigControl;
|
94
96
|
varProfileDetail: VarProfileDetail;
|
@@ -98,11 +100,11 @@ export declare type IKgFormItemSlotControlParam = {
|
|
98
100
|
export declare type IKgFormItemSlotControlRightParam = {
|
99
101
|
frm_id: string;
|
100
102
|
varName: string;
|
101
|
-
props: ComputedRef<
|
103
|
+
props: ComputedRef<KgFormItemProps>;
|
102
104
|
model: ComputedRef<Record<string, any>>;
|
103
105
|
varConfigControl: VarConfigControl;
|
104
106
|
varProfileDetail: VarProfileDetail;
|
105
107
|
varSubmitDetail: VarSubmitDetail;
|
106
108
|
};
|
107
109
|
/** 依赖注入 kgContext 参数. */
|
108
|
-
export declare const DI_KG_CONTEXT: InjectionKey<
|
110
|
+
export declare const DI_KG_CONTEXT: InjectionKey<KG_FORM_CONTEXT>;
|