@kengic/vue 0.16.7-beta.0 → 0.16.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (189) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/index.css +1 -1
  3. package/dist/kengic-vue.js +3476 -2938
  4. package/dist/src/apis/WMS/Controllers/VarContextController/Add.d.ts +16 -0
  5. package/dist/src/apis/WMS/Controllers/VarContextController/Delete.d.ts +18 -0
  6. package/dist/src/apis/WMS/Controllers/VarContextController/DeleteBatch.d.ts +18 -0
  7. package/dist/src/apis/WMS/Controllers/VarContextController/Edit.d.ts +16 -0
  8. package/dist/src/apis/WMS/Controllers/VarContextController/ExportXls.d.ts +24 -0
  9. package/dist/src/apis/WMS/Controllers/VarContextController/ImportExcel.d.ts +15 -0
  10. package/dist/src/apis/WMS/Controllers/VarContextController/List.d.ts +31 -0
  11. package/dist/src/apis/WMS/Controllers/VarContextController/QueryById.d.ts +19 -0
  12. package/dist/src/apis/WMS/Controllers/VarContextController/index.d.ts +8 -0
  13. package/dist/src/apis/WMS/Controllers/VarController/GetAll.d.ts +19 -0
  14. package/dist/src/apis/WMS/Controllers/VarController/index.d.ts +1 -0
  15. package/dist/src/apis/WMS/Controllers/VarGridMasterController/QueryByID.d.ts +19 -0
  16. package/dist/src/apis/WMS/Controllers/VarGridMasterController/Update.d.ts +16 -0
  17. package/dist/src/apis/WMS/Controllers/VarGridMasterController/index.d.ts +2 -0
  18. package/dist/src/apis/WMS/Controllers/VarProfileMasterController/QueryByID.d.ts +19 -0
  19. package/dist/src/apis/WMS/Controllers/VarProfileMasterController/index.d.ts +1 -0
  20. package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/Add.d.ts +16 -0
  21. package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/Delete.d.ts +18 -0
  22. package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/DeleteBatch.d.ts +18 -0
  23. package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/Edit.d.ts +16 -0
  24. package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/ExportXls.d.ts +30 -0
  25. package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/ImportExcel.d.ts +15 -0
  26. package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/List.d.ts +37 -0
  27. package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/QueryById.d.ts +19 -0
  28. package/dist/src/apis/WMS/Controllers/VarVariableCatalogController/index.d.ts +8 -0
  29. package/dist/src/apis/WMS/Controllers/WhController/ListVO.d.ts +52 -0
  30. package/dist/src/apis/WMS/Controllers/WhController/index.d.ts +1 -0
  31. package/dist/src/apis/WMS/Controllers/index.d.ts +6 -0
  32. package/dist/src/apis/WMS/index.d.ts +2 -0
  33. package/dist/src/apis/WMS/models.d.ts +728 -0
  34. package/dist/src/apis/api.d.ts +1 -0
  35. package/dist/src/apis/def.d.ts +1 -0
  36. package/dist/src/apis/index.d.ts +2 -0
  37. package/dist/src/components/KgAppSelect/KgAppSelect.d.ts +47 -0
  38. package/dist/src/components/KgAppSelect/index.d.ts +3 -0
  39. package/dist/src/components/KgAppSelect/index.hooks.d.ts +41 -0
  40. package/dist/src/components/KgAppSelect/index.store.d.ts +73 -0
  41. package/dist/src/components/KgButton/KgButton.Item.d.ts +41 -0
  42. package/dist/src/components/KgButton/KgButton.Item.data.d.ts +31 -0
  43. package/dist/src/components/KgButton/KgButton.d.ts +34 -0
  44. package/dist/src/components/KgButton/KgButton.hooks.d.ts +61 -0
  45. package/dist/src/components/KgButton/KgButton.store.d.ts +89 -0
  46. package/dist/src/components/KgButton/components/KgButton.Copy.d.ts +39 -0
  47. package/dist/src/components/KgButton/components/KgButton.Create.d.ts +39 -0
  48. package/dist/src/components/KgButton/components/KgButton.Delete.d.ts +40 -0
  49. package/dist/src/components/KgButton/components/KgButton.Export.d.ts +39 -0
  50. package/dist/src/components/KgButton/components/KgButton.Import.d.ts +39 -0
  51. package/dist/src/components/KgButton/components/KgButton.ImportTemplate.d.ts +39 -0
  52. package/dist/src/components/KgButton/components/KgButton.Other.d.ts +40 -0
  53. package/dist/src/components/KgButton/components/KgButton.Search.d.ts +40 -0
  54. package/dist/src/components/KgButton/components/KgButton.Update.d.ts +39 -0
  55. package/dist/src/components/KgButton/index.d.ts +62 -0
  56. package/dist/src/components/KgForm/KgForm.d.ts +414 -0
  57. package/dist/src/components/KgForm/index.d.ts +604 -0
  58. package/dist/src/components/KgForm/index.hooks.d.ts +42 -0
  59. package/dist/src/components/KgForm/index.store.d.ts +107 -0
  60. package/dist/src/components/KgForm/index.vm.d.ts +9 -0
  61. package/dist/src/components/KgForm.Item/KgForm.Item.d.ts +100 -0
  62. package/dist/src/components/KgForm.Item/KgForm.Item.hooks.d.ts +17 -0
  63. package/dist/src/components/KgForm.Item/addon/KgForm.Item.Addon.Lookup.Modal.d.ts +17 -0
  64. package/dist/src/components/KgForm.Item/addon/KgForm.Item.Addon.Lookup.d.ts +32 -0
  65. package/dist/src/components/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +103 -0
  66. package/dist/src/components/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +102 -0
  67. package/dist/src/components/KgForm.Item/components/KgForm.Item.Date.d.ts +100 -0
  68. package/dist/src/components/KgForm.Item/components/KgForm.Item.DateRange.d.ts +100 -0
  69. package/dist/src/components/KgForm.Item/components/KgForm.Item.Input.d.ts +99 -0
  70. package/dist/src/components/KgForm.Item/components/KgForm.Item.InputNumber.d.ts +99 -0
  71. package/dist/src/components/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +99 -0
  72. package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.d.ts +104 -0
  73. package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.hooks.d.ts +27 -0
  74. package/dist/src/components/KgForm.Item/components/KgForm.Item.Switch.d.ts +99 -0
  75. package/dist/src/components/KgForm.Item/components/KgForm.Item.TextArea.d.ts +99 -0
  76. package/dist/src/components/KgForm.Item/index.d.ts +2 -0
  77. package/dist/src/components/KgForm.Item/index.vm.d.ts +104 -0
  78. package/dist/src/components/KgModal/KgModal.d.ts +395 -0
  79. package/dist/src/components/KgModal/components/KgModal.Close.d.ts +41 -0
  80. package/dist/src/components/KgModal/index.d.ts +2 -0
  81. package/dist/src/components/KgModal/index.vm.d.ts +194 -0
  82. package/dist/src/components/KgProgressA/KgProgressA.d.ts +85 -0
  83. package/dist/src/components/KgProgressA/index.d.ts +1 -0
  84. package/dist/src/components/KgResizable/KgResizable.d.ts +143 -0
  85. package/dist/src/components/KgResizable/index.d.ts +1 -0
  86. package/dist/src/components/KgSearch/KgSearch.d.ts +42 -0
  87. package/dist/src/components/KgSearch/KgSearch.hooks.d.ts +39 -0
  88. package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.Body.d.ts +22 -0
  89. package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.VarProfileConfig.d.ts +8 -0
  90. package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.VarProfileMaster.d.ts +24 -0
  91. package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.VarProfileMaster.hooks.d.ts +7 -0
  92. package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.d.ts +32 -0
  93. package/dist/src/components/KgSearch/index.d.ts +3 -0
  94. package/dist/src/components/KgSearch/index.hooks.d.ts +41 -0
  95. package/dist/src/components/KgSearch/index.store.d.ts +86 -0
  96. package/dist/src/components/KgSearch/index.vm.d.ts +1 -0
  97. package/dist/src/components/KgSubmit/KgSubmit.d.ts +41 -0
  98. package/dist/src/components/KgSubmit/KgSubmit.hooks.d.ts +20 -0
  99. package/dist/src/components/KgSubmit/components/KgSubmit.Header.VarSubmitConfig.d.ts +28 -0
  100. package/dist/src/components/KgSubmit/components/KgSubmit.Header.d.ts +82 -0
  101. package/dist/src/components/KgSubmit/index.d.ts +4 -0
  102. package/dist/src/components/KgSubmit/index.hooks.d.ts +74 -0
  103. package/dist/src/components/KgSubmit/index.store.d.ts +130 -0
  104. package/dist/src/components/KgSubmit/index.vm.d.ts +10 -0
  105. package/dist/src/components/KgTable/KgTable.d.ts +39 -0
  106. package/dist/src/components/KgTable/KgTable.hooks.d.ts +43 -0
  107. package/dist/src/components/KgTable/components/KgTable.Cell.d.ts +61 -0
  108. package/dist/src/components/KgTable/components/KgTable.Info.d.ts +58 -0
  109. package/dist/src/components/KgTable/components/setting/KgTable.Setting.VarGridMaster.SaveAs.d.ts +5 -0
  110. package/dist/src/components/KgTable/components/setting/KgTable.Setting.d.ts +22 -0
  111. package/dist/src/components/KgTable/components/setting/KgTable.Setting.hooks.d.ts +14 -0
  112. package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.Body.d.ts +22 -0
  113. package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.VarGridConfig.d.ts +21 -0
  114. package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.VarGridMaster.d.ts +24 -0
  115. package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.VarGridMaster.hooks.d.ts +23 -0
  116. package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.d.ts +33 -0
  117. package/dist/src/components/KgTable/index.d.ts +4 -0
  118. package/dist/src/components/KgTable/index.hooks.d.ts +84 -0
  119. package/dist/src/components/KgTable/index.store.d.ts +157 -0
  120. package/dist/src/components/KgTable/index.vm.d.ts +66 -0
  121. package/dist/src/components/KgVar/KgVar.d.ts +28 -0
  122. package/dist/src/components/KgVar/index.d.ts +4 -0
  123. package/dist/src/components/KgVar/index.hooks.d.ts +242 -0
  124. package/dist/src/components/KgVar/index.store.d.ts +315 -0
  125. package/dist/src/components/KgVar/index.store.service.d.ts +21 -0
  126. package/dist/src/components/KgVar/index.vm.d.ts +47 -0
  127. package/dist/src/components/KgVarConfig/KgVarConfig.d.ts +2 -0
  128. package/dist/src/components/KgVarConfig/components/KgVarConfig.FormIDsModal.d.ts +24 -0
  129. package/dist/src/components/KgVarConfig/components/KgVarConfig.Modal.d.ts +17 -0
  130. package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButton.d.ts +25 -0
  131. package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButtonConfig.d.ts +29 -0
  132. package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.d.ts +22 -0
  133. package/dist/src/components/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitField.d.ts +25 -0
  134. package/dist/src/components/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.d.ts +22 -0
  135. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.CreateModal.d.ts +33 -0
  136. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarVariableCatalog.d.ts +3 -0
  137. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarVariableCatalog.data.d.ts +3 -0
  138. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.Vars.d.ts +3 -0
  139. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.Vars.data.d.ts +3 -0
  140. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.d.ts +3 -0
  141. package/dist/src/components/KgVarConfig/index.d.ts +2 -0
  142. package/dist/src/components/KgVarConfig/index.store.d.ts +20 -0
  143. package/dist/src/components/KgVarConfig/index.vm.d.ts +3 -0
  144. package/dist/src/components/KgWarehouse/KgWarehouse.d.ts +38 -0
  145. package/dist/src/components/KgWarehouse/index.d.ts +4 -0
  146. package/dist/src/components/KgWarehouse/index.guard.d.ts +8 -0
  147. package/dist/src/components/KgWarehouse/index.hooks.d.ts +27 -0
  148. package/dist/src/components/KgWarehouse/index.store.d.ts +63 -0
  149. package/dist/src/components/KgYesOrNo/KgYesOrNo.d.ts +60 -0
  150. package/dist/src/components/KgYesOrNo/index.d.ts +1 -0
  151. package/dist/src/components/index.d.ts +16 -0
  152. package/dist/src/components/util.d.ts +14 -0
  153. package/dist/src/config/index.d.ts +3 -0
  154. package/dist/src/config/index.hooks.d.ts +43 -0
  155. package/dist/src/config/index.store.d.ts +192 -0
  156. package/dist/src/config/setup.d.ts +45 -0
  157. package/dist/src/consts/i18n/en.d.ts +228 -0
  158. package/dist/src/consts/i18n/index.d.ts +2 -0
  159. package/dist/src/consts/i18n/zh_CN.d.ts +227 -0
  160. package/dist/src/consts/index.d.ts +253 -0
  161. package/dist/src/consts/index.vm.d.ts +170 -0
  162. package/dist/src/consts/injection-keys.const.d.ts +9 -0
  163. package/dist/src/helpers/ant-design-vue.d.ts +316 -0
  164. package/dist/src/helpers/tsx.helper.d.ts +13 -0
  165. package/dist/src/index.d.ts +9 -0
  166. package/dist/src/pages/KgPageDda/KgPageDda.d.ts +8 -0
  167. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Basic.SqlModal.d.ts +32 -0
  168. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Basic.d.ts +7 -0
  169. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Button.d.ts +8 -0
  170. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Child.d.ts +7 -0
  171. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Menu.d.ts +7 -0
  172. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Search.d.ts +7 -0
  173. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Submit.d.ts +7 -0
  174. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Table.d.ts +7 -0
  175. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.d.ts +29 -0
  176. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.store.d.ts +26 -0
  177. package/dist/src/pages/KgPageDda/index.const.d.ts +11 -0
  178. package/dist/src/pages/KgPageDda/index.d.ts +5 -0
  179. package/dist/src/pages/index.d.ts +2 -0
  180. package/dist/src/services/http-client.d.ts +46 -0
  181. package/dist/src/services/index.d.ts +1 -0
  182. package/dist/src/utils/index.d.ts +6 -0
  183. package/dist/src/utils/kg-auth.util.d.ts +26 -0
  184. package/dist/src/utils/kg-dom.util.d.ts +12 -0
  185. package/dist/src/utils/kg-logger.util.d.ts +65 -0
  186. package/dist/src/utils/kg-route.util.d.ts +54 -0
  187. package/dist/src/utils/kg-var.util.d.ts +36 -0
  188. package/dist/src/utils/kg.util.d.ts +114 -0
  189. package/package.json +6 -5
@@ -0,0 +1,99 @@
1
+ import '../KgForm.Item.less';
2
+ declare const _default: import("vue").DefineComponent<{
3
+ kgVarName: {
4
+ type: import("vue").PropType<string>;
5
+ required: boolean;
6
+ };
7
+ kgContext: {
8
+ type: import("vue").PropType<string>;
9
+ default: import("../../../consts").KG_FORM_CONTEXT;
10
+ };
11
+ kgDisabled: {
12
+ type: import("vue").PropType<boolean>;
13
+ default: undefined;
14
+ };
15
+ kgSpan: import("vue").PropType<number>;
16
+ kgPlaceholder: import("vue").PropType<string>;
17
+ kgMode: import("vue").PropType<"multiple" | "tags">;
18
+ kgShowLabel: {
19
+ type: import("vue").PropType<boolean>;
20
+ default: boolean;
21
+ };
22
+ kgAllowClear: {
23
+ type: import("vue").PropType<boolean>;
24
+ default: undefined;
25
+ };
26
+ kgShowTime: {
27
+ type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>>;
28
+ default: undefined;
29
+ };
30
+ kgPicker: {
31
+ type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
32
+ default: undefined;
33
+ };
34
+ kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
35
+ value: {
36
+ type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
37
+ default: undefined;
38
+ };
39
+ 'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
40
+ onKgSubmit: import("vue").PropType<() => void>;
41
+ onKgChange: import("vue").PropType<(value: any) => void>;
42
+ onKgSelectChange: import("vue").PropType<(value: any) => void>;
43
+ onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
44
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("kgSubmit" | "kgChange" | "update:value")[], "kgSubmit" | "kgChange" | "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
45
+ kgVarName: {
46
+ type: import("vue").PropType<string>;
47
+ required: boolean;
48
+ };
49
+ kgContext: {
50
+ type: import("vue").PropType<string>;
51
+ default: import("../../../consts").KG_FORM_CONTEXT;
52
+ };
53
+ kgDisabled: {
54
+ type: import("vue").PropType<boolean>;
55
+ default: undefined;
56
+ };
57
+ kgSpan: import("vue").PropType<number>;
58
+ kgPlaceholder: import("vue").PropType<string>;
59
+ kgMode: import("vue").PropType<"multiple" | "tags">;
60
+ kgShowLabel: {
61
+ type: import("vue").PropType<boolean>;
62
+ default: boolean;
63
+ };
64
+ kgAllowClear: {
65
+ type: import("vue").PropType<boolean>;
66
+ default: undefined;
67
+ };
68
+ kgShowTime: {
69
+ type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>>;
70
+ default: undefined;
71
+ };
72
+ kgPicker: {
73
+ type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
74
+ default: undefined;
75
+ };
76
+ kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
77
+ value: {
78
+ type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
79
+ default: undefined;
80
+ };
81
+ 'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
82
+ onKgSubmit: import("vue").PropType<() => void>;
83
+ onKgChange: import("vue").PropType<(value: any) => void>;
84
+ onKgSelectChange: import("vue").PropType<(value: any) => void>;
85
+ onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
86
+ }>> & {
87
+ "onUpdate:value"?: ((...args: any[]) => any) | undefined;
88
+ onKgSubmit?: ((...args: any[]) => any) | undefined;
89
+ onKgChange?: ((...args: any[]) => any) | undefined;
90
+ }, {
91
+ value: import("../index.vm").IKgFormItemValue;
92
+ kgDisabled: boolean;
93
+ kgContext: string;
94
+ kgShowLabel: boolean;
95
+ kgAllowClear: boolean;
96
+ kgShowTime: boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>;
97
+ kgPicker: import("ant-design-vue/lib/vc-picker/interface").PickerMode;
98
+ }>;
99
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as KgFormItem } from './KgForm.Item';
2
+ export { type IKgFormItemProps } from './index.vm';
@@ -0,0 +1,104 @@
1
+ import { RuleObject } from 'ant-design-vue/es/form';
2
+ import { SharedTimeProps } from 'ant-design-vue/es/vc-picker/panels/TimePanel';
3
+ import { PickerMode } from 'ant-design-vue/lib/vc-picker/interface';
4
+ import { Dayjs } from 'dayjs';
5
+ import { ComputedRef, ExtractPropTypes, InjectionKey, PropType } from 'vue';
6
+ import { VarProfileDetail, VarSubmitField, VarVariableConfig } from '../../apis/WMS/models';
7
+ import { KG_FORM_CONTEXT } from '../../consts';
8
+ export declare type IKgFormItemValue = string | number | Array<string | number>;
9
+ export declare const getProps: () => {
10
+ /** 变量名称. */
11
+ kgVarName: {
12
+ type: PropType<string>;
13
+ required: boolean;
14
+ };
15
+ /**
16
+ * 控件所处环境.
17
+ * @default {@link KG_FORM_CONTEXT.SUBMIT}
18
+ */
19
+ kgContext: {
20
+ type: PropType<string>;
21
+ default: KG_FORM_CONTEXT;
22
+ };
23
+ /** 是否禁用. */
24
+ kgDisabled: {
25
+ type: PropType<boolean>;
26
+ default: undefined;
27
+ };
28
+ /** 控件宽度. */
29
+ kgSpan: PropType<number>;
30
+ /** 提示文字. */
31
+ kgPlaceholder: PropType<string>;
32
+ /** 模式. 用于下拉列表, 设置单选多选. */
33
+ kgMode: PropType<"multiple" | "tags">;
34
+ /**
35
+ * 是否显示标签文本.
36
+ * @default true
37
+ */
38
+ kgShowLabel: {
39
+ type: PropType<boolean>;
40
+ default: boolean;
41
+ };
42
+ /**
43
+ * 是否允许清空.
44
+ * @default true
45
+ */
46
+ kgAllowClear: {
47
+ type: PropType<boolean>;
48
+ default: undefined;
49
+ };
50
+ /**
51
+ * 时间配置, 对应 DatePicker 组件的 showTime 参数.
52
+ * https://www.antdv.com/components/date-picker#DatePicker
53
+ * @default undefined
54
+ */
55
+ kgShowTime: {
56
+ type: PropType<boolean | SharedTimeProps<Dayjs>>;
57
+ default: undefined;
58
+ };
59
+ /**
60
+ * 日期选择控件类型, 对应 DatePicker 组件的 picker 参数.
61
+ * https://www.antdv.com/components/date-picker#DatePicker
62
+ * @default undefined
63
+ */
64
+ kgPicker: {
65
+ type: PropType<PickerMode>;
66
+ default: undefined;
67
+ };
68
+ kgRules: PropType<RuleObject[]>;
69
+ value: {
70
+ type: PropType<IKgFormItemValue>;
71
+ default: undefined;
72
+ };
73
+ 'onUpdate:value': PropType<(value: IKgFormItemValue | null) => void>;
74
+ onKgSubmit: PropType<() => void>;
75
+ /** 表单控件的值发生变更. */
76
+ onKgChange: PropType<(value: any | null) => void>;
77
+ /** 下拉列表选中某个(可能多个)数据. */
78
+ onKgSelectChange: PropType<(value: any | null) => void>;
79
+ /** 下拉列表数据发生变更. */
80
+ onKgSelectDatasChange: PropType<(datas: Array<any>) => void>;
81
+ };
82
+ export declare type IKgFormItemProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
83
+ /** 插槽 control 的参数. */
84
+ export declare type IKgFormItemSlotControlParam = {
85
+ frm_id: string;
86
+ varName: string;
87
+ props: ComputedRef<IKgFormItemProps>;
88
+ model: ComputedRef<Record<string, any>>;
89
+ varVariableConfig: VarVariableConfig;
90
+ varProfileDetail: VarProfileDetail;
91
+ varSubmitField: VarSubmitField;
92
+ };
93
+ /** 插槽 controlRight 的参数. */
94
+ export declare type IKgFormItemSlotControlRightParam = {
95
+ frm_id: string;
96
+ varName: string;
97
+ props: ComputedRef<IKgFormItemProps>;
98
+ model: ComputedRef<Record<string, any>>;
99
+ varVariableConfig: VarVariableConfig;
100
+ varProfileDetail: VarProfileDetail;
101
+ varSubmitField: VarSubmitField;
102
+ };
103
+ /** 依赖注入 kgContext 参数. */
104
+ export declare const DI_KG_CONTEXT: InjectionKey<string>;
@@ -0,0 +1,395 @@
1
+ import './KgModal.less';
2
+ declare const _default: import("vue").DefineComponent<{
3
+ kgShowFullscreenButton: {
4
+ type: import("vue").PropType<boolean>;
5
+ default: boolean;
6
+ };
7
+ kgShowCancelButton: {
8
+ type: import("vue").PropType<boolean>;
9
+ default: boolean;
10
+ };
11
+ kgShowOkButton: {
12
+ type: import("vue").PropType<boolean>;
13
+ default: boolean;
14
+ };
15
+ kgFullHeight: {
16
+ type: import("vue").PropType<boolean>;
17
+ default: boolean;
18
+ };
19
+ prefixCls: StringConstructor;
20
+ visible: {
21
+ type: BooleanConstructor;
22
+ default: undefined;
23
+ };
24
+ confirmLoading: {
25
+ type: BooleanConstructor;
26
+ default: undefined;
27
+ };
28
+ title: import("vue").PropType<any>;
29
+ closable: {
30
+ type: BooleanConstructor;
31
+ default: undefined;
32
+ };
33
+ closeIcon: import("vue").PropType<any>;
34
+ onOk: import("vue").PropType<(e: MouseEvent) => void>;
35
+ onCancel: import("vue").PropType<(e: MouseEvent) => void>;
36
+ 'onUpdate:visible': import("vue").PropType<(visible: boolean) => void>;
37
+ onChange: import("vue").PropType<(visible: boolean) => void>;
38
+ afterClose: import("vue").PropType<() => void>;
39
+ centered: {
40
+ type: BooleanConstructor;
41
+ default: undefined;
42
+ };
43
+ width: (StringConstructor | NumberConstructor)[];
44
+ footer: import("vue").PropType<any>;
45
+ okText: import("vue").PropType<any>;
46
+ okType: import("vue").PropType<import("ant-design-vue/es/button/buttonTypes").LegacyButtonType>;
47
+ cancelText: import("vue").PropType<any>;
48
+ icon: import("vue").PropType<any>;
49
+ maskClosable: {
50
+ type: BooleanConstructor;
51
+ default: undefined;
52
+ };
53
+ forceRender: {
54
+ type: BooleanConstructor;
55
+ default: undefined;
56
+ };
57
+ okButtonProps: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
58
+ prefixCls: StringConstructor;
59
+ type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonType>;
60
+ htmlType: {
61
+ type: import("vue").PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
62
+ default: string;
63
+ };
64
+ shape: {
65
+ type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonShape>;
66
+ };
67
+ size: {
68
+ type: import("vue").PropType<import("ant-design-vue/es/button").ButtonSize>;
69
+ };
70
+ loading: {
71
+ type: import("vue").PropType<boolean | {
72
+ delay?: number | undefined;
73
+ }>;
74
+ default: () => boolean | {
75
+ delay?: number | undefined;
76
+ };
77
+ };
78
+ disabled: {
79
+ type: BooleanConstructor;
80
+ default: undefined;
81
+ };
82
+ ghost: {
83
+ type: BooleanConstructor;
84
+ default: undefined;
85
+ };
86
+ block: {
87
+ type: BooleanConstructor;
88
+ default: undefined;
89
+ };
90
+ danger: {
91
+ type: BooleanConstructor;
92
+ default: undefined;
93
+ };
94
+ icon: import("vue").PropType<any>;
95
+ href: StringConstructor;
96
+ target: StringConstructor;
97
+ title: StringConstructor;
98
+ onClick: {
99
+ type: import("vue").PropType<(event: MouseEvent) => void>;
100
+ };
101
+ onMousedown: {
102
+ type: import("vue").PropType<(event: MouseEvent) => void>;
103
+ };
104
+ }>>>;
105
+ cancelButtonProps: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
106
+ prefixCls: StringConstructor;
107
+ type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonType>;
108
+ htmlType: {
109
+ type: import("vue").PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
110
+ default: string;
111
+ };
112
+ shape: {
113
+ type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonShape>;
114
+ };
115
+ size: {
116
+ type: import("vue").PropType<import("ant-design-vue/es/button").ButtonSize>;
117
+ };
118
+ loading: {
119
+ type: import("vue").PropType<boolean | {
120
+ delay?: number | undefined;
121
+ }>;
122
+ default: () => boolean | {
123
+ delay?: number | undefined;
124
+ };
125
+ };
126
+ disabled: {
127
+ type: BooleanConstructor;
128
+ default: undefined;
129
+ };
130
+ ghost: {
131
+ type: BooleanConstructor;
132
+ default: undefined;
133
+ };
134
+ block: {
135
+ type: BooleanConstructor;
136
+ default: undefined;
137
+ };
138
+ danger: {
139
+ type: BooleanConstructor;
140
+ default: undefined;
141
+ };
142
+ icon: import("vue").PropType<any>;
143
+ href: StringConstructor;
144
+ target: StringConstructor;
145
+ title: StringConstructor;
146
+ onClick: {
147
+ type: import("vue").PropType<(event: MouseEvent) => void>;
148
+ };
149
+ onMousedown: {
150
+ type: import("vue").PropType<(event: MouseEvent) => void>;
151
+ };
152
+ }>>>;
153
+ destroyOnClose: {
154
+ type: BooleanConstructor;
155
+ default: undefined;
156
+ };
157
+ wrapClassName: StringConstructor;
158
+ maskTransitionName: StringConstructor;
159
+ transitionName: StringConstructor;
160
+ getContainer: {
161
+ type: import("vue").PropType<string | false | HTMLElement | (() => HTMLElement)>;
162
+ default: undefined;
163
+ };
164
+ zIndex: NumberConstructor;
165
+ bodyStyle: {
166
+ type: import("vue").PropType<import("vue").CSSProperties>;
167
+ default: import("vue").CSSProperties;
168
+ };
169
+ maskStyle: {
170
+ type: import("vue").PropType<import("vue").CSSProperties>;
171
+ default: import("vue").CSSProperties;
172
+ };
173
+ mask: {
174
+ type: BooleanConstructor;
175
+ default: undefined;
176
+ };
177
+ keyboard: {
178
+ type: BooleanConstructor;
179
+ default: undefined;
180
+ };
181
+ wrapProps: ObjectConstructor;
182
+ focusTriggerAfterClose: {
183
+ type: BooleanConstructor;
184
+ default: undefined;
185
+ };
186
+ modalRender: import("vue").PropType<(arg: {
187
+ originVNode: import("ant-design-vue/es/_util/type").VueNode;
188
+ }) => import("ant-design-vue/es/_util/type").VueNode>;
189
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
190
+ kgShowFullscreenButton: {
191
+ type: import("vue").PropType<boolean>;
192
+ default: boolean;
193
+ };
194
+ kgShowCancelButton: {
195
+ type: import("vue").PropType<boolean>;
196
+ default: boolean;
197
+ };
198
+ kgShowOkButton: {
199
+ type: import("vue").PropType<boolean>;
200
+ default: boolean;
201
+ };
202
+ kgFullHeight: {
203
+ type: import("vue").PropType<boolean>;
204
+ default: boolean;
205
+ };
206
+ prefixCls: StringConstructor;
207
+ visible: {
208
+ type: BooleanConstructor;
209
+ default: undefined;
210
+ };
211
+ confirmLoading: {
212
+ type: BooleanConstructor;
213
+ default: undefined;
214
+ };
215
+ title: import("vue").PropType<any>;
216
+ closable: {
217
+ type: BooleanConstructor;
218
+ default: undefined;
219
+ };
220
+ closeIcon: import("vue").PropType<any>;
221
+ onOk: import("vue").PropType<(e: MouseEvent) => void>;
222
+ onCancel: import("vue").PropType<(e: MouseEvent) => void>;
223
+ 'onUpdate:visible': import("vue").PropType<(visible: boolean) => void>;
224
+ onChange: import("vue").PropType<(visible: boolean) => void>;
225
+ afterClose: import("vue").PropType<() => void>;
226
+ centered: {
227
+ type: BooleanConstructor;
228
+ default: undefined;
229
+ };
230
+ width: (StringConstructor | NumberConstructor)[];
231
+ footer: import("vue").PropType<any>;
232
+ okText: import("vue").PropType<any>;
233
+ okType: import("vue").PropType<import("ant-design-vue/es/button/buttonTypes").LegacyButtonType>;
234
+ cancelText: import("vue").PropType<any>;
235
+ icon: import("vue").PropType<any>;
236
+ maskClosable: {
237
+ type: BooleanConstructor;
238
+ default: undefined;
239
+ };
240
+ forceRender: {
241
+ type: BooleanConstructor;
242
+ default: undefined;
243
+ };
244
+ okButtonProps: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
245
+ prefixCls: StringConstructor;
246
+ type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonType>;
247
+ htmlType: {
248
+ type: import("vue").PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
249
+ default: string;
250
+ };
251
+ shape: {
252
+ type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonShape>;
253
+ };
254
+ size: {
255
+ type: import("vue").PropType<import("ant-design-vue/es/button").ButtonSize>;
256
+ };
257
+ loading: {
258
+ type: import("vue").PropType<boolean | {
259
+ delay?: number | undefined;
260
+ }>;
261
+ default: () => boolean | {
262
+ delay?: number | undefined;
263
+ };
264
+ };
265
+ disabled: {
266
+ type: BooleanConstructor;
267
+ default: undefined;
268
+ };
269
+ ghost: {
270
+ type: BooleanConstructor;
271
+ default: undefined;
272
+ };
273
+ block: {
274
+ type: BooleanConstructor;
275
+ default: undefined;
276
+ };
277
+ danger: {
278
+ type: BooleanConstructor;
279
+ default: undefined;
280
+ };
281
+ icon: import("vue").PropType<any>;
282
+ href: StringConstructor;
283
+ target: StringConstructor;
284
+ title: StringConstructor;
285
+ onClick: {
286
+ type: import("vue").PropType<(event: MouseEvent) => void>;
287
+ };
288
+ onMousedown: {
289
+ type: import("vue").PropType<(event: MouseEvent) => void>;
290
+ };
291
+ }>>>;
292
+ cancelButtonProps: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
293
+ prefixCls: StringConstructor;
294
+ type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonType>;
295
+ htmlType: {
296
+ type: import("vue").PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
297
+ default: string;
298
+ };
299
+ shape: {
300
+ type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonShape>;
301
+ };
302
+ size: {
303
+ type: import("vue").PropType<import("ant-design-vue/es/button").ButtonSize>;
304
+ };
305
+ loading: {
306
+ type: import("vue").PropType<boolean | {
307
+ delay?: number | undefined;
308
+ }>;
309
+ default: () => boolean | {
310
+ delay?: number | undefined;
311
+ };
312
+ };
313
+ disabled: {
314
+ type: BooleanConstructor;
315
+ default: undefined;
316
+ };
317
+ ghost: {
318
+ type: BooleanConstructor;
319
+ default: undefined;
320
+ };
321
+ block: {
322
+ type: BooleanConstructor;
323
+ default: undefined;
324
+ };
325
+ danger: {
326
+ type: BooleanConstructor;
327
+ default: undefined;
328
+ };
329
+ icon: import("vue").PropType<any>;
330
+ href: StringConstructor;
331
+ target: StringConstructor;
332
+ title: StringConstructor;
333
+ onClick: {
334
+ type: import("vue").PropType<(event: MouseEvent) => void>;
335
+ };
336
+ onMousedown: {
337
+ type: import("vue").PropType<(event: MouseEvent) => void>;
338
+ };
339
+ }>>>;
340
+ destroyOnClose: {
341
+ type: BooleanConstructor;
342
+ default: undefined;
343
+ };
344
+ wrapClassName: StringConstructor;
345
+ maskTransitionName: StringConstructor;
346
+ transitionName: StringConstructor;
347
+ getContainer: {
348
+ type: import("vue").PropType<string | false | HTMLElement | (() => HTMLElement)>;
349
+ default: undefined;
350
+ };
351
+ zIndex: NumberConstructor;
352
+ bodyStyle: {
353
+ type: import("vue").PropType<import("vue").CSSProperties>;
354
+ default: import("vue").CSSProperties;
355
+ };
356
+ maskStyle: {
357
+ type: import("vue").PropType<import("vue").CSSProperties>;
358
+ default: import("vue").CSSProperties;
359
+ };
360
+ mask: {
361
+ type: BooleanConstructor;
362
+ default: undefined;
363
+ };
364
+ keyboard: {
365
+ type: BooleanConstructor;
366
+ default: undefined;
367
+ };
368
+ wrapProps: ObjectConstructor;
369
+ focusTriggerAfterClose: {
370
+ type: BooleanConstructor;
371
+ default: undefined;
372
+ };
373
+ modalRender: import("vue").PropType<(arg: {
374
+ originVNode: import("ant-design-vue/es/_util/type").VueNode;
375
+ }) => import("ant-design-vue/es/_util/type").VueNode>;
376
+ }>>, {
377
+ mask: boolean;
378
+ visible: boolean;
379
+ kgShowFullscreenButton: boolean;
380
+ kgShowCancelButton: boolean;
381
+ kgShowOkButton: boolean;
382
+ kgFullHeight: boolean;
383
+ confirmLoading: boolean;
384
+ closable: boolean;
385
+ centered: boolean;
386
+ maskClosable: boolean;
387
+ forceRender: boolean;
388
+ destroyOnClose: boolean;
389
+ getContainer: string | false | HTMLElement | (() => HTMLElement);
390
+ bodyStyle: import("vue").CSSProperties;
391
+ maskStyle: import("vue").CSSProperties;
392
+ keyboard: boolean;
393
+ focusTriggerAfterClose: boolean;
394
+ }>;
395
+ export default _default;
@@ -0,0 +1,41 @@
1
+ import { PropType } from 'vue';
2
+ import './KgModal.Close.less';
3
+ export declare const getProps: () => {
4
+ /** 是否显示全屏按钮. */
5
+ kgShowFullscreenButton: {
6
+ type: PropType<boolean>;
7
+ default: boolean;
8
+ };
9
+ /** 是否显示关闭按钮. */
10
+ kgShowCloseButton: {
11
+ type: PropType<boolean>;
12
+ default: boolean;
13
+ };
14
+ };
15
+ declare const _default: import("vue").DefineComponent<{
16
+ /** 是否显示全屏按钮. */
17
+ kgShowFullscreenButton: {
18
+ type: PropType<boolean>;
19
+ default: boolean;
20
+ };
21
+ /** 是否显示关闭按钮. */
22
+ kgShowCloseButton: {
23
+ type: PropType<boolean>;
24
+ default: boolean;
25
+ };
26
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
27
+ /** 是否显示全屏按钮. */
28
+ kgShowFullscreenButton: {
29
+ type: PropType<boolean>;
30
+ default: boolean;
31
+ };
32
+ /** 是否显示关闭按钮. */
33
+ kgShowCloseButton: {
34
+ type: PropType<boolean>;
35
+ default: boolean;
36
+ };
37
+ }>>, {
38
+ kgShowFullscreenButton: boolean;
39
+ kgShowCloseButton: boolean;
40
+ }>;
41
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as KgModal } from './KgModal';
2
+ export { type IKgModalProps } from './index.vm';