@kengic/vue 0.26.6-beta.5 → 0.26.6-beta.50

Sign up to get free protection for your applications and to get access to all the features.
Files changed (243) hide show
  1. package/dist/close-outlined-DMcSQWxQ.24554361.mjs +8 -0
  2. package/dist/fullscreen-exit-outlined-X1iYkFc4.c4efa854.mjs +8 -0
  3. package/dist/fullscreen-exit-outlined.a75b82c2.mjs +8 -0
  4. package/dist/fullscreen-outlined-DDBrsRcy.5e46a03d.mjs +8 -0
  5. package/dist/fullscreen-outlined.c9ba7960.mjs +8 -0
  6. package/dist/index.css +1 -1
  7. package/dist/kengic-vue.js +54421 -35713
  8. package/dist/src/apis/WMS/Controllers/DescriptionController/List.d.ts +51 -0
  9. package/dist/src/apis/WMS/Controllers/DescriptionController/ListByCodeNamesAndCodeValues.d.ts +16 -0
  10. package/dist/src/apis/WMS/Controllers/DescriptionController/index.d.ts +2 -0
  11. package/dist/src/apis/WMS/Controllers/SysPermissionController/List.d.ts +73 -0
  12. package/dist/src/apis/WMS/Controllers/SysPermissionController/index.d.ts +1 -0
  13. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/Add.d.ts +16 -0
  14. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/index.d.ts +1 -0
  15. package/dist/src/apis/WMS/Controllers/VarConfigPossibilityController/ExecuteQuery.d.ts +18 -0
  16. package/dist/src/apis/WMS/Controllers/VarConfigPossibilityController/index.d.ts +1 -0
  17. package/dist/src/apis/WMS/Controllers/VarController/GetAll.d.ts +16 -0
  18. package/dist/src/apis/WMS/Controllers/VarController/index.d.ts +1 -0
  19. package/dist/src/apis/WMS/Controllers/VarDdaController/Create.d.ts +16 -0
  20. package/dist/src/apis/WMS/Controllers/VarDdaController/GetResultSetMetadataFromSql.d.ts +16 -0
  21. package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateCopySql.d.ts +16 -0
  22. package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateCreateSql.d.ts +16 -0
  23. package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateDeleteSql.d.ts +16 -0
  24. package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateFrmId.d.ts +16 -0
  25. package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateSearchSql.d.ts +16 -0
  26. package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateUpdateSql.d.ts +16 -0
  27. package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateVarButtonVarName.d.ts +16 -0
  28. package/dist/src/apis/WMS/Controllers/VarDdaController/index.d.ts +9 -0
  29. package/dist/src/apis/WMS/Controllers/VarGridMasterController/QueryByID.d.ts +19 -0
  30. package/dist/src/apis/WMS/Controllers/VarGridMasterController/Update.d.ts +16 -0
  31. package/dist/src/apis/WMS/Controllers/VarGridMasterController/index.d.ts +2 -0
  32. package/dist/src/apis/WMS/Controllers/VarProfileMasterController/QueryByID.d.ts +19 -0
  33. package/dist/src/apis/WMS/Controllers/VarProfileMasterController/index.d.ts +1 -0
  34. package/dist/src/apis/WMS/Controllers/VarVariableController/Delete.d.ts +16 -0
  35. package/dist/src/apis/WMS/Controllers/VarVariableController/index.d.ts +1 -0
  36. package/dist/src/apis/WMS/Controllers/WhController/ListVO.d.ts +54 -0
  37. package/dist/src/apis/WMS/Controllers/WhController/index.d.ts +1 -0
  38. package/dist/src/apis/WMS/Controllers/WorkstationController/List.d.ts +25 -0
  39. package/dist/src/apis/WMS/Controllers/WorkstationController/index.d.ts +1 -0
  40. package/dist/src/apis/WMS/Controllers/index.d.ts +11 -0
  41. package/dist/src/apis/WMS/index.d.ts +2 -0
  42. package/dist/src/apis/WMS/models.d.ts +1018 -0
  43. package/dist/src/apis/api.d.ts +1 -0
  44. package/dist/src/apis/def.d.ts +1 -0
  45. package/dist/src/apis/index.d.ts +2 -0
  46. package/dist/src/components/KgAppSelect/KgAppSelect.d.ts +47 -0
  47. package/dist/src/components/KgAppSelect/index.d.ts +3 -0
  48. package/dist/src/components/KgAppSelect/index.hooks.d.ts +41 -0
  49. package/dist/src/components/KgAppSelect/index.store.d.ts +74 -0
  50. package/dist/src/components/KgButton/KgButton.Item.d.ts +41 -0
  51. package/dist/src/components/KgButton/KgButton.Item.data.d.ts +31 -0
  52. package/dist/src/components/KgButton/KgButton.d.ts +40 -0
  53. package/dist/src/components/KgButton/components/KgButton.Copy.d.ts +40 -0
  54. package/dist/src/components/KgButton/components/KgButton.Create.d.ts +40 -0
  55. package/dist/src/components/KgButton/components/KgButton.Delete.d.ts +40 -0
  56. package/dist/src/components/KgButton/components/KgButton.Export.d.ts +40 -0
  57. package/dist/src/components/KgButton/components/KgButton.Import.d.ts +40 -0
  58. package/dist/src/components/KgButton/components/KgButton.ImportTemplate.d.ts +40 -0
  59. package/dist/src/components/KgButton/components/KgButton.Other.d.ts +40 -0
  60. package/dist/src/components/KgButton/components/KgButton.Search.d.ts +40 -0
  61. package/dist/src/components/KgButton/components/KgButton.Update.d.ts +40 -0
  62. package/dist/src/components/KgButton/index.d.ts +62 -0
  63. package/dist/src/components/KgButton/index.hooks.d.ts +183 -0
  64. package/dist/src/components/KgButton/index.store.d.ts +116 -0
  65. package/dist/src/components/KgCanvas/KgCanvas.d.ts +122 -0
  66. package/dist/src/components/KgCanvas/KgCanvas.service.d.ts +43 -0
  67. package/dist/src/components/KgCanvas/KgCanvasContextMenu.d.ts +107 -0
  68. package/dist/src/components/KgCanvas/KgCanvasToolbarFullscreen.d.ts +8 -0
  69. package/dist/src/components/KgCanvas/KgCanvasTooltip.d.ts +31 -0
  70. package/dist/src/components/KgCanvas/index.d.ts +4 -0
  71. package/dist/src/components/KgCanvas/index.hooks.d.ts +67 -0
  72. package/dist/src/components/KgCanvas/index.store.d.ts +239 -0
  73. package/dist/src/components/KgForm/KgForm.d.ts +414 -0
  74. package/dist/src/components/KgForm/index.d.ts +604 -0
  75. package/dist/src/components/KgForm/index.hooks.d.ts +73 -0
  76. package/dist/src/components/KgForm/index.store.d.ts +221 -0
  77. package/dist/src/components/KgForm/index.vm.d.ts +9 -0
  78. package/dist/src/components/KgForm.Item/KgForm.Item.d.ts +97 -0
  79. package/dist/src/components/KgForm.Item/KgForm.Item.service.d.ts +17 -0
  80. package/dist/src/components/KgForm.Item/addon/KgForm.Item.Addon.DynamicQueryOperator.d.ts +49 -0
  81. package/dist/src/components/KgForm.Item/addon/KgForm.Item.Addon.Lookup.Modal.d.ts +16 -0
  82. package/dist/src/components/KgForm.Item/addon/KgForm.Item.Addon.Lookup.d.ts +31 -0
  83. package/dist/src/components/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +100 -0
  84. package/dist/src/components/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +99 -0
  85. package/dist/src/components/KgForm.Item/components/KgForm.Item.Date.d.ts +97 -0
  86. package/dist/src/components/KgForm.Item/components/KgForm.Item.DateRange.d.ts +97 -0
  87. package/dist/src/components/KgForm.Item/components/KgForm.Item.Image.d.ts +92 -0
  88. package/dist/src/components/KgForm.Item/components/KgForm.Item.Input.d.ts +96 -0
  89. package/dist/src/components/KgForm.Item/components/KgForm.Item.InputNumber.d.ts +96 -0
  90. package/dist/src/components/KgForm.Item/components/KgForm.Item.InputPassword.d.ts +96 -0
  91. package/dist/src/components/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +98 -0
  92. package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.d.ts +98 -0
  93. package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.service.d.ts +29 -0
  94. package/dist/src/components/KgForm.Item/components/KgForm.Item.Switch.d.ts +96 -0
  95. package/dist/src/components/KgForm.Item/components/KgForm.Item.TextArea.d.ts +96 -0
  96. package/dist/src/components/KgForm.Item/index.d.ts +2 -0
  97. package/dist/src/components/KgForm.Item/index.vm.d.ts +124 -0
  98. package/dist/src/components/KgImage/KgImage.d.ts +100 -0
  99. package/dist/src/components/KgImage/index.d.ts +1 -0
  100. package/dist/src/components/KgLayoutHeader/components/KgLayoutHeaderLocale.d.ts +38 -0
  101. package/dist/src/components/KgLayoutHeader/index.d.ts +2 -0
  102. package/dist/src/components/KgLayoutHeader/index.hooks.d.ts +4 -0
  103. package/dist/src/components/KgModal/KgModal.d.ts +823 -0
  104. package/dist/src/components/KgModal/KgModal.service.d.ts +39 -0
  105. package/dist/src/components/KgModal/KgModalHeaderButtons.d.ts +92 -0
  106. package/dist/src/components/KgModal/index.d.ts +1 -0
  107. package/dist/src/components/KgModal/index.vm.d.ts +8 -0
  108. package/dist/src/components/KgProgressA/KgProgressA.d.ts +85 -0
  109. package/dist/src/components/KgProgressA/index.d.ts +1 -0
  110. package/dist/src/components/KgResizable/KgResizable.d.ts +91 -0
  111. package/dist/src/components/KgResizable/KgResizable.service.d.ts +12 -0
  112. package/dist/src/components/KgResizable/index.d.ts +1 -0
  113. package/dist/src/components/KgSearch/KgSearch.d.ts +26 -0
  114. package/dist/src/components/KgSearch/KgSearch.service.d.ts +32 -0
  115. package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.d.ts +16 -0
  116. package/dist/src/components/KgSearch/index.d.ts +3 -0
  117. package/dist/src/components/KgSearch/index.hooks.d.ts +67 -0
  118. package/dist/src/components/KgSearch/index.store.d.ts +147 -0
  119. package/dist/src/components/KgSearch/index.vm.d.ts +1 -0
  120. package/dist/src/components/KgStation/KgStation.d.ts +47 -0
  121. package/dist/src/components/KgStation/index.d.ts +3 -0
  122. package/dist/src/components/KgStation/index.hooks.d.ts +29 -0
  123. package/dist/src/components/KgStation/index.store.d.ts +45 -0
  124. package/dist/src/components/KgSubmit/KgSubmit.d.ts +21 -0
  125. package/dist/src/components/KgSubmit/KgSubmit.service.d.ts +29 -0
  126. package/dist/src/components/KgSubmit/index.d.ts +4 -0
  127. package/dist/src/components/KgSubmit/index.hooks.d.ts +295 -0
  128. package/dist/src/components/KgSubmit/index.store.d.ts +194 -0
  129. package/dist/src/components/KgSubmit/index.vm.d.ts +57 -0
  130. package/dist/src/components/KgTable/KgTable.d.ts +39 -0
  131. package/dist/src/components/KgTable/KgTable.service.d.ts +34 -0
  132. package/dist/src/components/KgTable/components/KgTable.BodyCell.d.ts +60 -0
  133. package/dist/src/components/KgTable/components/KgTable.HeaderCell.d.ts +52 -0
  134. package/dist/src/components/KgTable/components/KgTable.Info.d.ts +57 -0
  135. package/dist/src/components/KgTable/components/setting/KgTable.Setting.VarGridMaster.SaveAs.d.ts +5 -0
  136. package/dist/src/components/KgTable/components/setting/KgTable.Setting.d.ts +21 -0
  137. package/dist/src/components/KgTable/components/setting/KgTable.Setting.service.d.ts +22 -0
  138. package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.d.ts +16 -0
  139. package/dist/src/components/KgTable/index.d.ts +4 -0
  140. package/dist/src/components/KgTable/index.hooks.d.ts +148 -0
  141. package/dist/src/components/KgTable/index.store.d.ts +241 -0
  142. package/dist/src/components/KgTable/index.vm.d.ts +67 -0
  143. package/dist/src/components/KgVar/KgVar.d.ts +114 -0
  144. package/dist/src/components/KgVar/index.d.ts +4 -0
  145. package/dist/src/components/KgVar/index.hooks.d.ts +184 -0
  146. package/dist/src/components/KgVar/index.store.d.ts +253 -0
  147. package/dist/src/components/KgVar/index.store.service.d.ts +30 -0
  148. package/dist/src/components/KgVar/index.vm.d.ts +55 -0
  149. package/dist/src/components/KgVarConfig/KgVarConfig.d.ts +3 -0
  150. package/dist/src/components/KgVarConfig/components/KgVarConfig.SelectFormIdModal.d.ts +27 -0
  151. package/dist/src/components/KgVarConfig/components/KgVarConfigModal.d.ts +15 -0
  152. package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButton.d.ts +7 -0
  153. package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButtonConfig.d.ts +7 -0
  154. package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.d.ts +5 -0
  155. package/dist/src/components/KgVarConfig/components/child/KgVarConfig.Modal.Child.d.ts +7 -0
  156. package/dist/src/components/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileConfig.d.ts +7 -0
  157. package/dist/src/components/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileMaster.d.ts +7 -0
  158. package/dist/src/components/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileMaster.service.d.ts +7 -0
  159. package/dist/src/components/KgVarConfig/components/search/KgVarConfig.Modal.Search.d.ts +5 -0
  160. package/dist/src/components/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitConfig.d.ts +7 -0
  161. package/dist/src/components/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitDetail.d.ts +7 -0
  162. package/dist/src/components/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.d.ts +5 -0
  163. package/dist/src/components/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridConfig.d.ts +7 -0
  164. package/dist/src/components/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridMaster.d.ts +7 -0
  165. package/dist/src/components/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridMaster.service.d.ts +23 -0
  166. package/dist/src/components/KgVarConfig/components/table/KgVarConfig.Modal.Table.d.ts +5 -0
  167. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigControl.d.ts +2 -0
  168. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigDescription.d.ts +2 -0
  169. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigInput.d.ts +2 -0
  170. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigLookup.d.ts +2 -0
  171. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigPossibility.d.ts +2 -0
  172. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigTip.d.ts +2 -0
  173. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarVariable.d.ts +2 -0
  174. package/dist/src/components/KgVarConfig/index.d.ts +3 -0
  175. package/dist/src/components/KgVarConfig/index.hooks.d.ts +17 -0
  176. package/dist/src/components/KgVarConfig/index.store.d.ts +16 -0
  177. package/dist/src/components/KgVarConfig/index.vm.d.ts +50 -0
  178. package/dist/src/components/KgWarehouse/KgWarehouse.d.ts +47 -0
  179. package/dist/src/components/KgWarehouse/index.d.ts +4 -0
  180. package/dist/src/components/KgWarehouse/index.guard.d.ts +8 -0
  181. package/dist/src/components/KgWarehouse/index.hooks.d.ts +27 -0
  182. package/dist/src/components/KgWarehouse/index.store.d.ts +63 -0
  183. package/dist/src/components/KgYesOrNo/KgYesOrNo.d.ts +60 -0
  184. package/dist/src/components/KgYesOrNo/index.d.ts +1 -0
  185. package/dist/src/components/index.d.ts +21 -0
  186. package/dist/src/components/util.d.ts +14 -0
  187. package/dist/src/components-next/KgVarConfig/KgVarConfig.d.ts +2 -0
  188. package/dist/src/components-next/KgVarConfig/index.d.ts +1 -0
  189. package/dist/src/components-next/index.d.ts +1 -0
  190. package/dist/src/config/index.d.ts +3 -0
  191. package/dist/src/config/index.hooks.d.ts +36 -0
  192. package/dist/src/config/index.store.d.ts +315 -0
  193. package/dist/src/config/setup/index.d.ts +3 -0
  194. package/dist/src/config/setup/setup.d.ts +28 -0
  195. package/dist/src/config/setup/setupKgLocale.d.ts +29 -0
  196. package/dist/src/config/setup/setupKgStore.d.ts +18 -0
  197. package/dist/src/consts/i18n/en.d.ts +274 -0
  198. package/dist/src/consts/i18n/es_ES.d.ts +274 -0
  199. package/dist/src/consts/i18n/fr_FR.d.ts +274 -0
  200. package/dist/src/consts/i18n/index.d.ts +2 -0
  201. package/dist/src/consts/i18n/km_KH.d.ts +274 -0
  202. package/dist/src/consts/i18n/ko_KR.d.ts +274 -0
  203. package/dist/src/consts/i18n/vi_VN.d.ts +274 -0
  204. package/dist/src/consts/i18n/zh_CN.d.ts +274 -0
  205. package/dist/src/consts/index.d.ts +3 -0
  206. package/dist/src/consts/index.vm.d.ts +733 -0
  207. package/dist/src/consts/injection-keys.const.d.ts +9 -0
  208. package/dist/src/helpers/ant-design-vue.d.ts +347 -0
  209. package/dist/src/helpers/tsx.helper.d.ts +23 -0
  210. package/dist/src/index.d.ts +12 -0
  211. package/dist/src/pages/KgPageDda/KgPageDda.d.ts +8 -0
  212. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Basic.SqlModal.d.ts +32 -0
  213. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Basic.d.ts +7 -0
  214. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Button.d.ts +7 -0
  215. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Menu.d.ts +7 -0
  216. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Search.d.ts +7 -0
  217. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Submit.d.ts +7 -0
  218. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Table.d.ts +7 -0
  219. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.d.ts +33 -0
  220. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.store.d.ts +1322 -0
  221. package/dist/src/pages/KgPageDda/index.d.ts +5 -0
  222. package/dist/src/pages/KgPageDda/index.vm.d.ts +12 -0
  223. package/dist/src/pages/KgVarFactory/KgVarFactory.d.ts +62 -0
  224. package/dist/src/pages/KgVarFactory/index.d.ts +1 -0
  225. package/dist/src/pages/index.d.ts +9 -0
  226. package/dist/src/project/build/getConfigFileName.d.ts +5 -0
  227. package/dist/src/project/build/index.d.ts +1 -0
  228. package/dist/src/project/index.d.ts +3 -0
  229. package/dist/src/project/types/axios.d.ts +35 -0
  230. package/dist/src/project/types/config.d.ts +121 -0
  231. package/dist/src/project/types/index.d.ts +4 -0
  232. package/dist/src/project/types/store.d.ts +42 -0
  233. package/dist/src/project/types/utils.d.ts +4 -0
  234. package/dist/src/services/http-client.d.ts +93 -0
  235. package/dist/src/services/index.d.ts +1 -0
  236. package/dist/src/utils/index.d.ts +6 -0
  237. package/dist/src/utils/kg-auth.util.d.ts +26 -0
  238. package/dist/src/utils/kg-dom.util.d.ts +12 -0
  239. package/dist/src/utils/kg-logger.util.d.ts +69 -0
  240. package/dist/src/utils/kg-route.util.d.ts +57 -0
  241. package/dist/src/utils/kg-var.util.d.ts +76 -0
  242. package/dist/src/utils/kg.util.d.ts +150 -0
  243. package/package.json +29 -19
@@ -0,0 +1,96 @@
1
+ import { KG_FORM_CONTEXT } from '../../../consts';
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<KG_FORM_CONTEXT>;
9
+ default: 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
+ onKgSelectChange: import("vue").PropType<(value: any) => void>;
42
+ onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
43
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "kgSubmit")[], "update:value" | "kgSubmit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
44
+ kgVarName: {
45
+ type: import("vue").PropType<string>;
46
+ required: boolean;
47
+ };
48
+ kgContext: {
49
+ type: import("vue").PropType<KG_FORM_CONTEXT>;
50
+ default: KG_FORM_CONTEXT;
51
+ };
52
+ kgDisabled: {
53
+ type: import("vue").PropType<boolean>;
54
+ default: undefined;
55
+ };
56
+ kgSpan: import("vue").PropType<number>;
57
+ kgPlaceholder: import("vue").PropType<string>;
58
+ kgMode: import("vue").PropType<"multiple" | "tags">;
59
+ kgShowLabel: {
60
+ type: import("vue").PropType<boolean>;
61
+ default: boolean;
62
+ };
63
+ kgAllowClear: {
64
+ type: import("vue").PropType<boolean>;
65
+ default: undefined;
66
+ };
67
+ kgShowTime: {
68
+ type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>>;
69
+ default: undefined;
70
+ };
71
+ kgPicker: {
72
+ type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
73
+ default: undefined;
74
+ };
75
+ kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
76
+ value: {
77
+ type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
78
+ default: undefined;
79
+ };
80
+ 'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
81
+ onKgSubmit: import("vue").PropType<() => void>;
82
+ onKgSelectChange: import("vue").PropType<(value: any) => void>;
83
+ onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
84
+ }>> & {
85
+ "onUpdate:value"?: ((...args: any[]) => any) | undefined;
86
+ onKgSubmit?: ((...args: any[]) => any) | undefined;
87
+ }, {
88
+ value: import("../index.vm").IKgFormItemValue;
89
+ kgDisabled: boolean;
90
+ kgContext: KG_FORM_CONTEXT;
91
+ kgShowLabel: boolean;
92
+ kgAllowClear: boolean;
93
+ kgShowTime: boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>;
94
+ kgPicker: import("ant-design-vue/lib/vc-picker/interface").PickerMode;
95
+ }>;
96
+ export default _default;
@@ -0,0 +1,98 @@
1
+ import { KG_FORM_CONTEXT } from '../../../consts';
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<KG_FORM_CONTEXT>;
9
+ default: 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
+ /** 初始. */
19
+ kgShowLabel: {
20
+ type: import("vue").PropType<boolean>;
21
+ default: boolean;
22
+ };
23
+ kgAllowClear: {
24
+ type: import("vue").PropType<boolean>;
25
+ default: undefined;
26
+ };
27
+ kgShowTime: {
28
+ type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>>;
29
+ default: undefined;
30
+ };
31
+ kgPicker: {
32
+ type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
33
+ default: undefined;
34
+ };
35
+ kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
36
+ value: {
37
+ type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
38
+ default: undefined;
39
+ };
40
+ 'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
41
+ onKgSubmit: import("vue").PropType<() => 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, ("update:value" | "kgSubmit")[], "update:value" | "kgSubmit", 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<KG_FORM_CONTEXT>;
51
+ default: 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
+ /** 初始. */
61
+ kgShowLabel: {
62
+ type: import("vue").PropType<boolean>;
63
+ default: boolean;
64
+ };
65
+ kgAllowClear: {
66
+ type: import("vue").PropType<boolean>;
67
+ default: undefined;
68
+ };
69
+ kgShowTime: {
70
+ type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>>;
71
+ default: undefined;
72
+ };
73
+ kgPicker: {
74
+ type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
75
+ default: undefined;
76
+ };
77
+ kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
78
+ value: {
79
+ type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
80
+ default: undefined;
81
+ };
82
+ 'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
83
+ onKgSubmit: import("vue").PropType<() => 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
+ }, {
90
+ value: import("../index.vm").IKgFormItemValue;
91
+ kgDisabled: boolean;
92
+ kgContext: KG_FORM_CONTEXT;
93
+ kgShowLabel: boolean;
94
+ kgAllowClear: boolean;
95
+ kgShowTime: boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>;
96
+ kgPicker: import("ant-design-vue/lib/vc-picker/interface").PickerMode;
97
+ }>;
98
+ export default _default;
@@ -0,0 +1,98 @@
1
+ import { KG_FORM_CONTEXT } from '../../../consts';
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<KG_FORM_CONTEXT>;
9
+ default: 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
+ onKgSelectChange: import("vue").PropType<(value: any) => void>;
42
+ onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
43
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "kgSubmit" | "kgSelectChange" | "kgSelectDatasChange")[], "update:value" | "kgSubmit" | "kgSelectChange" | "kgSelectDatasChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
44
+ kgVarName: {
45
+ type: import("vue").PropType<string>;
46
+ required: boolean;
47
+ };
48
+ kgContext: {
49
+ type: import("vue").PropType<KG_FORM_CONTEXT>;
50
+ default: KG_FORM_CONTEXT;
51
+ };
52
+ kgDisabled: {
53
+ type: import("vue").PropType<boolean>;
54
+ default: undefined;
55
+ };
56
+ kgSpan: import("vue").PropType<number>;
57
+ kgPlaceholder: import("vue").PropType<string>;
58
+ kgMode: import("vue").PropType<"multiple" | "tags">;
59
+ kgShowLabel: {
60
+ type: import("vue").PropType<boolean>;
61
+ default: boolean;
62
+ };
63
+ kgAllowClear: {
64
+ type: import("vue").PropType<boolean>;
65
+ default: undefined;
66
+ };
67
+ kgShowTime: {
68
+ type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>>;
69
+ default: undefined;
70
+ };
71
+ kgPicker: {
72
+ type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
73
+ default: undefined;
74
+ };
75
+ kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
76
+ value: {
77
+ type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
78
+ default: undefined;
79
+ };
80
+ 'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
81
+ onKgSubmit: import("vue").PropType<() => void>;
82
+ onKgSelectChange: import("vue").PropType<(value: any) => void>;
83
+ onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
84
+ }>> & {
85
+ "onUpdate:value"?: ((...args: any[]) => any) | undefined;
86
+ onKgSubmit?: ((...args: any[]) => any) | undefined;
87
+ onKgSelectChange?: ((...args: any[]) => any) | undefined;
88
+ onKgSelectDatasChange?: ((...args: any[]) => any) | undefined;
89
+ }, {
90
+ value: import("../index.vm").IKgFormItemValue;
91
+ kgDisabled: boolean;
92
+ kgContext: KG_FORM_CONTEXT;
93
+ kgShowLabel: boolean;
94
+ kgAllowClear: boolean;
95
+ kgShowTime: boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>;
96
+ kgPicker: import("ant-design-vue/lib/vc-picker/interface").PickerMode;
97
+ }>;
98
+ export default _default;
@@ -0,0 +1,29 @@
1
+ import { ComputedRef } from 'vue';
2
+ import { VarConfigPossibility } from '../../../apis/WMS/models';
3
+ import { KgFormItemProps } from '../index.vm';
4
+ export declare function useKgFormItemSelect(param: {
5
+ props: KgFormItemProps;
6
+ }): {
7
+ /** 列表数据. */
8
+ datas: import("vue").Ref<Record<string, any>[]>;
9
+ /** 是否正在查询列表数据. */
10
+ isDatasRequesting: import("vue").Ref<boolean>;
11
+ /** 作为显示的列. */
12
+ lbl_clm: ComputedRef<string>;
13
+ /**
14
+ * 查询列表数据.
15
+ */
16
+ requestDatas: () => Promise<void>;
17
+ /** 查询参数. */
18
+ requestParams: ComputedRef<Record<string, any>>;
19
+ /**
20
+ * 处理列表数据.
21
+ * @param datas 原始列表数据.
22
+ * @return {} 处理后的列表数据.
23
+ */
24
+ transformDatas: (datas?: Array<Record<string, any>> | null) => Array<Record<string, any>>;
25
+ /** 作为数据的列. */
26
+ val_clm: ComputedRef<string>;
27
+ /** VarConfigPossibility 配置. */
28
+ varConfigPossibility: ComputedRef<VarConfigPossibility | null>;
29
+ };
@@ -0,0 +1,96 @@
1
+ import { KG_FORM_CONTEXT } from '../../../consts';
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<KG_FORM_CONTEXT>;
9
+ default: 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
+ onKgSelectChange: import("vue").PropType<(value: any) => void>;
42
+ onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
43
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "kgSubmit")[], "update:value" | "kgSubmit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
44
+ kgVarName: {
45
+ type: import("vue").PropType<string>;
46
+ required: boolean;
47
+ };
48
+ kgContext: {
49
+ type: import("vue").PropType<KG_FORM_CONTEXT>;
50
+ default: KG_FORM_CONTEXT;
51
+ };
52
+ kgDisabled: {
53
+ type: import("vue").PropType<boolean>;
54
+ default: undefined;
55
+ };
56
+ kgSpan: import("vue").PropType<number>;
57
+ kgPlaceholder: import("vue").PropType<string>;
58
+ kgMode: import("vue").PropType<"multiple" | "tags">;
59
+ kgShowLabel: {
60
+ type: import("vue").PropType<boolean>;
61
+ default: boolean;
62
+ };
63
+ kgAllowClear: {
64
+ type: import("vue").PropType<boolean>;
65
+ default: undefined;
66
+ };
67
+ kgShowTime: {
68
+ type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>>;
69
+ default: undefined;
70
+ };
71
+ kgPicker: {
72
+ type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
73
+ default: undefined;
74
+ };
75
+ kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
76
+ value: {
77
+ type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
78
+ default: undefined;
79
+ };
80
+ 'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
81
+ onKgSubmit: import("vue").PropType<() => void>;
82
+ onKgSelectChange: import("vue").PropType<(value: any) => void>;
83
+ onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
84
+ }>> & {
85
+ "onUpdate:value"?: ((...args: any[]) => any) | undefined;
86
+ onKgSubmit?: ((...args: any[]) => any) | undefined;
87
+ }, {
88
+ value: import("../index.vm").IKgFormItemValue;
89
+ kgDisabled: boolean;
90
+ kgContext: KG_FORM_CONTEXT;
91
+ kgShowLabel: boolean;
92
+ kgAllowClear: boolean;
93
+ kgShowTime: boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>;
94
+ kgPicker: import("ant-design-vue/lib/vc-picker/interface").PickerMode;
95
+ }>;
96
+ export default _default;
@@ -0,0 +1,96 @@
1
+ import { KG_FORM_CONTEXT } from '../../../consts';
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<KG_FORM_CONTEXT>;
9
+ default: 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
+ onKgSelectChange: import("vue").PropType<(value: any) => void>;
42
+ onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
43
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "kgSubmit")[], "update:value" | "kgSubmit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
44
+ kgVarName: {
45
+ type: import("vue").PropType<string>;
46
+ required: boolean;
47
+ };
48
+ kgContext: {
49
+ type: import("vue").PropType<KG_FORM_CONTEXT>;
50
+ default: KG_FORM_CONTEXT;
51
+ };
52
+ kgDisabled: {
53
+ type: import("vue").PropType<boolean>;
54
+ default: undefined;
55
+ };
56
+ kgSpan: import("vue").PropType<number>;
57
+ kgPlaceholder: import("vue").PropType<string>;
58
+ kgMode: import("vue").PropType<"multiple" | "tags">;
59
+ kgShowLabel: {
60
+ type: import("vue").PropType<boolean>;
61
+ default: boolean;
62
+ };
63
+ kgAllowClear: {
64
+ type: import("vue").PropType<boolean>;
65
+ default: undefined;
66
+ };
67
+ kgShowTime: {
68
+ type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>>;
69
+ default: undefined;
70
+ };
71
+ kgPicker: {
72
+ type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
73
+ default: undefined;
74
+ };
75
+ kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
76
+ value: {
77
+ type: import("vue").PropType<import("../index.vm").IKgFormItemValue>;
78
+ default: undefined;
79
+ };
80
+ 'onUpdate:value': import("vue").PropType<(value: import("../index.vm").IKgFormItemValue | null) => void>;
81
+ onKgSubmit: import("vue").PropType<() => void>;
82
+ onKgSelectChange: import("vue").PropType<(value: any) => void>;
83
+ onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
84
+ }>> & {
85
+ "onUpdate:value"?: ((...args: any[]) => any) | undefined;
86
+ onKgSubmit?: ((...args: any[]) => any) | undefined;
87
+ }, {
88
+ value: import("../index.vm").IKgFormItemValue;
89
+ kgDisabled: boolean;
90
+ kgContext: KG_FORM_CONTEXT;
91
+ kgShowLabel: boolean;
92
+ kgAllowClear: boolean;
93
+ kgShowTime: boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>;
94
+ kgPicker: import("ant-design-vue/lib/vc-picker/interface").PickerMode;
95
+ }>;
96
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as KgFormItem } from './KgForm.Item';
2
+ export { type KgFormItemProps } from './index.vm';
@@ -0,0 +1,124 @@
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 { VarConfigControl, VarProfileDetail, VarSubmitDetail } 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
+ *
18
+ * @default KG_FORM_CONTEXT.SUBMIT
19
+ * @see KG_FORM_CONTEXT
20
+ */
21
+ kgContext: {
22
+ type: PropType<KG_FORM_CONTEXT>;
23
+ default: KG_FORM_CONTEXT;
24
+ };
25
+ /** 是否禁用. */
26
+ kgDisabled: {
27
+ type: PropType<boolean>;
28
+ default: undefined;
29
+ };
30
+ /** 控件宽度. */
31
+ kgSpan: PropType<number>;
32
+ /** 提示文字. */
33
+ kgPlaceholder: PropType<string>;
34
+ /** 模式. 用于下拉列表, 设置单选多选. */
35
+ kgMode: PropType<"multiple" | "tags">;
36
+ /**
37
+ * 是否显示标签文本.
38
+ * @default true
39
+ */
40
+ kgShowLabel: {
41
+ type: PropType<boolean>;
42
+ default: boolean;
43
+ };
44
+ /**
45
+ * 是否允许清空.
46
+ * @default true
47
+ */
48
+ kgAllowClear: {
49
+ type: PropType<boolean>;
50
+ default: undefined;
51
+ };
52
+ /**
53
+ * 时间配置, 对应 DatePicker 组件的 showTime 参数.
54
+ * https://www.antdv.com/components/date-picker#DatePicker
55
+ * @default undefined
56
+ */
57
+ kgShowTime: {
58
+ type: PropType<boolean | SharedTimeProps<Dayjs>>;
59
+ default: undefined;
60
+ };
61
+ /**
62
+ * 日期选择控件类型, 对应 DatePicker 组件的 picker 参数.
63
+ * https://www.antdv.com/components/date-picker#DatePicker
64
+ * @default undefined
65
+ */
66
+ kgPicker: {
67
+ type: PropType<PickerMode>;
68
+ default: undefined;
69
+ };
70
+ /**
71
+ * TODO 移除 props.kgRules, 直接使用 kgSubmit.rules,
72
+ * @deprecated
73
+ */
74
+ kgRules: PropType<RuleObject[]>;
75
+ value: {
76
+ type: PropType<IKgFormItemValue>;
77
+ default: undefined;
78
+ };
79
+ 'onUpdate:value': PropType<(value: IKgFormItemValue | null) => void>;
80
+ onKgSubmit: PropType<() => void>;
81
+ /**
82
+ * 下拉列表选中某个(可能多个)数据.
83
+ * @deprecated
84
+ */
85
+ onKgSelectChange: PropType<(value: any | null) => void>;
86
+ /**
87
+ * 下拉列表数据发生变更.
88
+ * @deprecated
89
+ */
90
+ onKgSelectDatasChange: PropType<(datas: Array<any>) => void>;
91
+ };
92
+ export declare type KgFormItemProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
93
+ /**
94
+ * 插槽参数: control.
95
+ */
96
+ export declare type IKgFormItemSlotControlParameter = {
97
+ /** @deprecated */
98
+ frm_id: string;
99
+ formID: string;
100
+ /** @deprecated 已废弃, 请直接使用 KgSubmit.formModel 或者 kgSearch.formModel */
101
+ model: ComputedRef<Record<string, any>>;
102
+ props: ComputedRef<KgFormItemProps>;
103
+ varConfigControl: VarConfigControl;
104
+ varName: string;
105
+ varProfileDetail: VarProfileDetail;
106
+ varSubmitDetail: VarSubmitDetail;
107
+ };
108
+ /**
109
+ * 插槽参数: controlRight.
110
+ */
111
+ export declare type IKgFormItemSlotControlRightParameter = {
112
+ /** @deprecated */
113
+ frm_id: string;
114
+ formID: string;
115
+ /** @deprecated 已废弃, 请直接使用 KgSubmit.formModel 或者 kgSearch.formModel */
116
+ model: ComputedRef<Record<string, any>>;
117
+ props: ComputedRef<KgFormItemProps>;
118
+ varConfigControl: VarConfigControl;
119
+ varName: string;
120
+ varProfileDetail: VarProfileDetail;
121
+ varSubmitDetail: VarSubmitDetail;
122
+ };
123
+ /** 依赖注入 kgContext 参数. */
124
+ export declare const KG__DI__KG_FORM_ITEM__CONTEXT: InjectionKey<KG_FORM_CONTEXT>;