@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.
Files changed (89) hide show
  1. package/CHANGELOG.md +62 -22
  2. package/dist/index.css +1 -1
  3. package/dist/kengic-vue.js +7709 -6673
  4. package/dist/project/build/script/buildConf.ts +1 -2
  5. package/dist/project/build/script/postBuild.ts +1 -1
  6. package/dist/project/src/api/sys/model/userModel.ts +1 -0
  7. package/dist/src/apis/WMS/Controllers/DescriptionController/ListByCodeNamesAndCodeValues.d.ts +16 -0
  8. package/dist/src/apis/WMS/Controllers/DescriptionController/index.d.ts +1 -0
  9. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/index.d.ts +0 -7
  10. package/dist/src/apis/WMS/Controllers/VarConfigPossibilityController/ExecuteQuery.d.ts +18 -0
  11. package/dist/src/apis/WMS/Controllers/VarConfigPossibilityController/index.d.ts +1 -0
  12. package/dist/src/apis/WMS/Controllers/index.d.ts +1 -0
  13. package/dist/src/apis/WMS/models.d.ts +28 -4
  14. package/dist/src/components/KgAppSelect/index.hooks.d.ts +3 -3
  15. package/dist/src/components/KgAppSelect/index.store.d.ts +30 -29
  16. package/dist/src/components/KgButton/KgButton.d.ts +18 -12
  17. package/dist/src/components/KgButton/index.d.ts +4 -4
  18. package/dist/src/components/KgButton/index.hooks.d.ts +68 -67
  19. package/dist/src/components/KgButton/index.store.d.ts +57 -193
  20. package/dist/src/components/KgForm/index.hooks.d.ts +37 -30
  21. package/dist/src/components/KgForm/index.store.d.ts +88 -41
  22. package/dist/src/components/KgForm.Item/KgForm.Item.d.ts +3 -3
  23. package/dist/src/components/KgForm.Item/{KgForm.Item.hooks.d.ts → KgForm.Item.service.d.ts} +3 -3
  24. package/dist/src/components/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +8 -7
  25. package/dist/src/components/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +6 -5
  26. package/dist/src/components/KgForm.Item/components/KgForm.Item.Date.d.ts +6 -5
  27. package/dist/src/components/KgForm.Item/components/KgForm.Item.DateRange.d.ts +6 -5
  28. package/dist/src/components/KgForm.Item/components/KgForm.Item.Image.d.ts +3 -3
  29. package/dist/src/components/KgForm.Item/components/KgForm.Item.Input.d.ts +6 -5
  30. package/dist/src/components/KgForm.Item/components/KgForm.Item.InputNumber.d.ts +6 -5
  31. package/dist/src/components/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +6 -7
  32. package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.d.ts +7 -5
  33. package/dist/src/components/KgForm.Item/components/{KgForm.Item.Select.hooks.d.ts → KgForm.Item.Select.service.d.ts} +16 -13
  34. package/dist/src/components/KgForm.Item/components/KgForm.Item.Switch.d.ts +6 -5
  35. package/dist/src/components/KgForm.Item/components/KgForm.Item.TextArea.d.ts +6 -5
  36. package/dist/src/components/KgForm.Item/index.d.ts +1 -1
  37. package/dist/src/components/KgForm.Item/index.vm.d.ts +9 -7
  38. package/dist/src/components/KgResizable/KgResizable.d.ts +52 -52
  39. package/dist/src/components/KgSearch/KgSearch.d.ts +0 -16
  40. package/dist/src/components/KgSearch/KgSearch.service.d.ts +32 -0
  41. package/dist/src/components/KgSearch/index.hooks.d.ts +57 -138
  42. package/dist/src/components/KgSearch/index.store.d.ts +84 -193
  43. package/dist/src/components/KgSubmit/index.hooks.d.ts +112 -278
  44. package/dist/src/components/KgSubmit/index.store.d.ts +71 -257
  45. package/dist/src/components/KgSubmit/index.vm.d.ts +2 -1
  46. package/dist/src/components/KgTable/{KgTable.hooks.d.ts → KgTable.service.d.ts} +8 -16
  47. package/dist/src/components/KgTable/components/setting/KgTable.Setting.d.ts +0 -1
  48. package/dist/src/components/KgTable/components/setting/{KgTable.Setting.hooks.d.ts → KgTable.Setting.service.d.ts} +1 -1
  49. package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.d.ts +0 -2
  50. package/dist/src/components/KgTable/index.hooks.d.ts +79 -427
  51. package/dist/src/components/KgTable/index.store.d.ts +127 -647
  52. package/dist/src/components/KgTable/index.vm.d.ts +1 -1
  53. package/dist/src/components/KgVar/index.hooks.d.ts +103 -3468
  54. package/dist/src/components/KgVar/index.store.d.ts +136 -3229
  55. package/dist/src/components/KgVar/index.store.service.d.ts +2 -1
  56. package/dist/src/components/KgVar/index.vm.d.ts +7 -7
  57. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigInput.d.ts +2 -0
  58. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigLookup.d.ts +2 -0
  59. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigPossibility.d.ts +2 -0
  60. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigTip.d.ts +2 -0
  61. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarVariable.d.ts +2 -0
  62. package/dist/src/components/KgVarConfig/index.store.d.ts +23 -16
  63. package/dist/src/components/KgVarConfig/index.vm.d.ts +32 -0
  64. package/dist/src/components/KgWarehouse/index.hooks.d.ts +10 -6
  65. package/dist/src/components/KgWarehouse/index.store.d.ts +15 -14
  66. package/dist/src/components/util.d.ts +7 -7
  67. package/dist/src/config/index.hooks.d.ts +31 -38
  68. package/dist/src/config/index.store.d.ts +74 -52
  69. package/dist/src/consts/i18n/en.d.ts +10 -6
  70. package/dist/src/consts/i18n/zh_CN.d.ts +10 -6
  71. package/dist/src/consts/index.d.ts +0 -277
  72. package/dist/src/consts/index.vm.d.ts +503 -75
  73. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.store.d.ts +7 -1
  74. package/dist/src/utils/kg-var.util.d.ts +4 -3
  75. package/dist/src/utils/kg.util.d.ts +13 -16
  76. package/package.json +2 -2
  77. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/Delete.d.ts +0 -18
  78. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/DeleteBatch.d.ts +0 -18
  79. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/Edit.d.ts +0 -16
  80. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/ExportXls.d.ts +0 -30
  81. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/ImportExcel.d.ts +0 -15
  82. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/List.d.ts +0 -37
  83. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/QueryById.d.ts +0 -19
  84. package/dist/src/components/KgSearch/KgSearch.hooks.d.ts +0 -28
  85. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.CreateModal.d.ts +0 -32
  86. /package/dist/src/components/KgModal/{KgModal.hooks.d.ts → KgModal.service.d.ts} +0 -0
  87. /package/dist/src/components/KgSubmit/{KgSubmit.hooks.d.ts → KgSubmit.service.d.ts} +0 -0
  88. /package/dist/src/components/KgTable/components/setting/config/{KgTable.Setting.ConfigModal.VarGridMaster.hooks.d.ts → KgTable.Setting.ConfigModal.VarGridMaster.service.d.ts} +0 -0
  89. /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<string>;
13
- default: import("../../..").KG_FORM_CONTEXT;
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<string>;
56
- default: import("../../..").KG_FORM_CONTEXT;
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: string;
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<string>;
8
- default: import("../../..").KG_FORM_CONTEXT;
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<string>;
50
- default: import("../../..").KG_FORM_CONTEXT;
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: string;
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<string>;
9
- default: import("../../..").KG_FORM_CONTEXT;
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<string>;
51
- default: import("../../..").KG_FORM_CONTEXT;
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: string;
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<string>;
9
- default: import("../../../consts").KG_FORM_CONTEXT;
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<string>;
51
- default: import("../../../consts").KG_FORM_CONTEXT;
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: string;
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<string>;
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<string>;
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: string;
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<string>;
8
- default: import("../../..").KG_FORM_CONTEXT;
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<string>;
50
- default: import("../../..").KG_FORM_CONTEXT;
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: string;
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<string>;
8
- default: import("../../..").KG_FORM_CONTEXT;
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<string>;
50
- default: import("../../..").KG_FORM_CONTEXT;
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: string;
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<string>;
8
- default: import("../../../consts").KG_FORM_CONTEXT;
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<string>;
51
- default: import("../../../consts").KG_FORM_CONTEXT;
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: string;
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<string>;
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<string>;
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: string;
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
- requestDatas(): Promise<void>;
23
+ /** 作为数据的列. */
24
+ val_clm: ComputedRef<string>;
25
+ /** VarConfigPossibility 配置. */
26
+ varConfigPossibility: ComputedRef<VarConfigPossibility | null>;
26
27
  };
27
- export declare function useKgFormItemSelect(): IUseKgFormItemSelect;
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<string>;
8
- default: import("../../..").KG_FORM_CONTEXT;
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<string>;
50
- default: import("../../..").KG_FORM_CONTEXT;
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: string;
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<string>;
8
- default: import("../../../consts").KG_FORM_CONTEXT;
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<string>;
50
- default: import("../../../consts").KG_FORM_CONTEXT;
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: string;
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 IKgFormItemProps } from './index.vm';
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, VarConfigControl } from '../../apis/WMS/models';
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
- * @default {@link KG_FORM_CONTEXT.SUBMIT}
17
+ *
18
+ * @default KG_FORM_CONTEXT.SUBMIT
19
+ * @see KG_FORM_CONTEXT
18
20
  */
19
21
  kgContext: {
20
- type: PropType<string>;
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 IKgFormItemProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
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<IKgFormItemProps>;
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<IKgFormItemProps>;
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<string>;
110
+ export declare const DI_KG_CONTEXT: InjectionKey<KG_FORM_CONTEXT>;