@kengic/vue 0.26.6-beta.13 → 0.26.6-beta.131

Sign up to get free protection for your applications and to get access to all the features.
Files changed (250) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/bulb-outlined.93f68e9f.mjs +8 -0
  3. package/dist/caret-right-outlined.f3fc4d46.mjs +8 -0
  4. package/dist/close-outlined-DMcSQWxQ.1edc9323.mjs +8 -0
  5. package/dist/fullscreen-exit-outlined-X1iYkFc4.cb8f38db.mjs +8 -0
  6. package/dist/fullscreen-exit-outlined.a75b82c2.mjs +8 -0
  7. package/dist/fullscreen-outlined-DDBrsRcy.04cbb1b8.mjs +8 -0
  8. package/dist/fullscreen-outlined.c9ba7960.mjs +8 -0
  9. package/dist/index.css +1 -1
  10. package/dist/kengic-vue.js +60719 -46654
  11. package/dist/pause-outlined.a5f6ccbd.mjs +8 -0
  12. package/dist/project/build/vite/plugin/index.ts +13 -1
  13. package/dist/src/{apis → api}/WMS/Controllers/DescriptionController/List.d.ts +1 -1
  14. package/dist/src/{apis → api}/WMS/Controllers/DescriptionController/ListByCodeNamesAndCodeValues.d.ts +1 -1
  15. package/dist/src/{apis → api}/WMS/Controllers/SysPermissionController/List.d.ts +1 -1
  16. package/dist/src/{apis → api}/WMS/Controllers/VarConfigDescriptionController/Add.d.ts +1 -1
  17. package/dist/src/{apis → api}/WMS/Controllers/VarConfigPossibilityController/ExecuteQuery.d.ts +1 -1
  18. package/dist/src/{apis → api}/WMS/Controllers/VarController/GetAll.d.ts +1 -1
  19. package/dist/src/{apis → api}/WMS/Controllers/VarDdaController/Create.d.ts +1 -1
  20. package/dist/src/{apis → api}/WMS/Controllers/VarDdaController/GetResultSetMetadataFromSql.d.ts +1 -1
  21. package/dist/src/{apis → api}/WMS/Controllers/VarDdaController/ValidateCopySql.d.ts +1 -1
  22. package/dist/src/{apis → api}/WMS/Controllers/VarDdaController/ValidateCreateSql.d.ts +1 -1
  23. package/dist/src/{apis → api}/WMS/Controllers/VarDdaController/ValidateDeleteSql.d.ts +1 -1
  24. package/dist/src/{apis → api}/WMS/Controllers/VarDdaController/ValidateFrmId.d.ts +1 -1
  25. package/dist/src/{apis → api}/WMS/Controllers/VarDdaController/ValidateSearchSql.d.ts +1 -1
  26. package/dist/src/{apis → api}/WMS/Controllers/VarDdaController/ValidateUpdateSql.d.ts +1 -1
  27. package/dist/src/{apis → api}/WMS/Controllers/VarDdaController/ValidateVarButtonVarName.d.ts +1 -1
  28. package/dist/src/{apis → api}/WMS/Controllers/VarGridMasterController/QueryByID.d.ts +1 -1
  29. package/dist/src/{apis → api}/WMS/Controllers/VarGridMasterController/Update.d.ts +1 -1
  30. package/dist/src/{apis → api}/WMS/Controllers/VarProfileMasterController/QueryByID.d.ts +1 -1
  31. package/dist/src/{apis → api}/WMS/Controllers/VarVariableController/Delete.d.ts +1 -1
  32. package/dist/src/{apis → api}/WMS/Controllers/WhController/ListVO.d.ts +1 -1
  33. package/dist/src/{apis → api}/WMS/Controllers/WorkstationController/List.d.ts +1 -1
  34. package/dist/src/{components → component}/KgAppSelect/KgAppSelect.d.ts +1 -1
  35. package/dist/src/{components → component}/KgAppSelect/index.hooks.d.ts +4 -3
  36. package/dist/src/{components → component}/KgAppSelect/index.store.d.ts +4 -3
  37. package/dist/src/{components → component}/KgButton/KgButton.Item.d.ts +1 -1
  38. package/dist/src/{components → component}/KgButton/KgButton.Item.data.d.ts +2 -2
  39. package/dist/src/{components → component}/KgButton/KgButton.d.ts +1 -1
  40. package/dist/src/{components → component}/KgButton/components/KgButton.Copy.d.ts +3 -3
  41. package/dist/src/{components → component}/KgButton/components/KgButton.Create.d.ts +1 -1
  42. package/dist/src/{components → component}/KgButton/components/KgButton.Delete.d.ts +1 -1
  43. package/dist/src/{components → component}/KgButton/components/KgButton.Export.d.ts +3 -3
  44. package/dist/src/{components → component}/KgButton/components/KgButton.Import.d.ts +3 -3
  45. package/dist/src/{components → component}/KgButton/components/KgButton.ImportTemplate.d.ts +3 -3
  46. package/dist/src/{components → component}/KgButton/components/KgButton.Other.d.ts +3 -3
  47. package/dist/src/{components → component}/KgButton/components/KgButton.Search.d.ts +1 -1
  48. package/dist/src/{components → component}/KgButton/components/KgButton.Update.d.ts +3 -3
  49. package/dist/src/{components → component}/KgButton/index.hooks.d.ts +6 -5
  50. package/dist/src/{components → component}/KgButton/index.store.d.ts +5 -4
  51. package/dist/src/{components → component}/KgCanvas/KgCanvas.ContextMenu.d.ts +6 -12
  52. package/dist/src/component/KgCanvas/KgCanvas.Toolbar.Fullscreen.d.ts +38 -0
  53. package/dist/src/component/KgCanvas/KgCanvas.Toolbar.OverviewScale.d.ts +38 -0
  54. package/dist/src/component/KgCanvas/KgCanvas.Tooltip.d.ts +28 -0
  55. package/dist/src/{components → component}/KgCanvas/KgCanvas.d.ts +62 -14
  56. package/dist/src/{components → component}/KgCanvas/KgCanvas.service.d.ts +9 -2
  57. package/dist/src/{components/KgCanvas/index.store.d.ts → component/KgCanvas/index.event.d.ts} +28 -54
  58. package/dist/src/{components → component}/KgCanvas/index.hooks.d.ts +18 -13
  59. package/dist/src/component/KgCanvas/index.store.d.ts +10 -0
  60. package/dist/src/component/KgCanvas/index.vm.d.ts +33 -0
  61. package/dist/src/{components → component}/KgForm/KgForm.d.ts +36 -36
  62. package/dist/src/{components → component}/KgForm/index.d.ts +48 -48
  63. package/dist/src/{components → component}/KgForm/index.hooks.d.ts +16 -9
  64. package/dist/src/{components → component}/KgForm/index.store.d.ts +25 -7
  65. package/dist/src/{components → component}/KgForm.Item/KgForm.Item.d.ts +1 -1
  66. package/dist/src/{components → component}/KgForm.Item/KgForm.Item.service.d.ts +1 -1
  67. package/dist/src/{components → component}/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +1 -1
  68. package/dist/src/{components → component}/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +1 -1
  69. package/dist/src/{components → component}/KgForm.Item/components/KgForm.Item.Date.d.ts +1 -1
  70. package/dist/src/{components → component}/KgForm.Item/components/KgForm.Item.DateRange.d.ts +1 -1
  71. package/dist/src/{components → component}/KgForm.Item/components/KgForm.Item.Image.d.ts +5 -5
  72. package/dist/src/{components → component}/KgForm.Item/components/KgForm.Item.Input.d.ts +1 -1
  73. package/dist/src/{components → component}/KgForm.Item/components/KgForm.Item.InputNumber.d.ts +1 -1
  74. package/dist/src/{components → component}/KgForm.Item/components/KgForm.Item.InputPassword.d.ts +1 -1
  75. package/dist/src/{components → component}/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +1 -1
  76. package/dist/src/{components → component}/KgForm.Item/components/KgForm.Item.Select.d.ts +1 -1
  77. package/dist/src/{components → component}/KgForm.Item/components/KgForm.Item.Select.service.d.ts +1 -1
  78. package/dist/src/{components → component}/KgForm.Item/components/KgForm.Item.Switch.d.ts +1 -1
  79. package/dist/src/{components → component}/KgForm.Item/components/KgForm.Item.TextArea.d.ts +1 -1
  80. package/dist/src/{components → component}/KgForm.Item/index.vm.d.ts +2 -2
  81. package/dist/src/{components → component}/KgImage/KgImage.d.ts +6 -6
  82. package/dist/src/{components → component}/KgModal/KgModal.d.ts +19 -13
  83. package/dist/src/{components/KgModal/components/KgModal.HeaderButtons.d.ts → component/KgModal/KgModalHeaderButtons.d.ts} +1 -1
  84. package/dist/src/component/KgModal/hooks/useDragToMove.d.ts +12 -0
  85. package/dist/src/{components/KgModal/KgModal.service.d.ts → component/KgModal/hooks/useDragToResize.d.ts} +1 -11
  86. package/dist/src/{components → component}/KgSearch/index.hooks.d.ts +5 -5
  87. package/dist/src/{components → component}/KgSearch/index.store.d.ts +4 -4
  88. package/dist/src/{components → component}/KgStation/index.hooks.d.ts +1 -1
  89. package/dist/src/{components → component}/KgStation/index.store.d.ts +1 -1
  90. package/dist/src/{components → component}/KgSubmit/index.hooks.d.ts +13 -12
  91. package/dist/src/{components → component}/KgSubmit/index.store.d.ts +5 -4
  92. package/dist/src/{components → component}/KgSubmit/index.vm.d.ts +1 -1
  93. package/dist/src/{components → component}/KgTable/components/setting/KgTable.Setting.service.d.ts +1 -1
  94. package/dist/src/{components → component}/KgTable/index.hooks.d.ts +12 -12
  95. package/dist/src/{components → component}/KgTable/index.store.d.ts +4 -4
  96. package/dist/src/{components → component}/KgTable/index.vm.d.ts +1 -1
  97. package/dist/src/{pages/KgVarFactory → component/KgVar}/KgVarFactory.d.ts +9 -10
  98. package/dist/src/{components → component}/KgVar/index.d.ts +1 -0
  99. package/dist/src/component/KgVar/index.event.d.ts +39 -0
  100. package/dist/src/{components → component}/KgVar/index.hooks.d.ts +18 -4
  101. package/dist/src/{components → component}/KgVar/index.store.d.ts +9 -33
  102. package/dist/src/{components → component}/KgVar/index.store.service.d.ts +1 -1
  103. package/dist/src/{components → component}/KgVar/index.vm.d.ts +2 -0
  104. package/dist/src/{components/KgVarConfig/components/KgVarConfig.Modal.d.ts → component/KgVarConfig/components/KgVarConfigModal.d.ts} +1 -2
  105. package/dist/src/{components → component}/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileMaster.service.d.ts +1 -1
  106. package/dist/src/{components → component}/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridMaster.service.d.ts +1 -1
  107. package/dist/src/{components → component}/KgWarehouse/index.hooks.d.ts +2 -2
  108. package/dist/src/{components → component}/KgWarehouse/index.store.d.ts +2 -2
  109. package/dist/src/config/index.hooks.d.ts +1 -1
  110. package/dist/src/config/index.store.d.ts +2 -2
  111. package/dist/src/config/setup/setup.d.ts +3 -2
  112. package/dist/src/{consts → const}/i18n/en.d.ts +7 -0
  113. package/dist/src/{consts → const}/i18n/es_ES.d.ts +7 -0
  114. package/dist/src/{consts → const}/i18n/fr_FR.d.ts +7 -0
  115. package/dist/src/{consts → const}/i18n/km_KH.d.ts +7 -0
  116. package/dist/src/{consts → const}/i18n/ko_KR.d.ts +7 -0
  117. package/dist/src/{consts → const}/i18n/vi_VN.d.ts +7 -0
  118. package/dist/src/{consts → const}/i18n/zh_CN.d.ts +8 -0
  119. package/dist/src/{consts → const}/index.vm.d.ts +13 -9
  120. package/dist/src/{consts → const}/injection-keys.const.d.ts +2 -0
  121. package/dist/src/{helpers → helper}/ant-design-vue.d.ts +15 -15
  122. package/dist/src/index.d.ts +9 -10
  123. package/dist/src/{pages → page}/KgPageDda/components/KgPageDda.Create.store.d.ts +1 -1
  124. package/dist/src/{pages → page}/index.d.ts +0 -1
  125. package/dist/src/{services → service}/http-client.d.ts +1 -1
  126. package/dist/src/{components/util.d.ts → util/index.d.ts} +6 -2
  127. package/dist/src/{utils → util}/kg-auth.util.d.ts +1 -1
  128. package/dist/src/{utils → util}/kg-route.util.d.ts +1 -1
  129. package/dist/src/{utils → util}/kg-var.util.d.ts +1 -1
  130. package/dist/src/{utils → util}/kg.util.d.ts +5 -3
  131. package/package.json +33 -21
  132. package/script/bump-to.luotao.smartfactory.product.wms.wms--dev-3.2.ts +3 -0
  133. package/script/bump-to.luotao.smartfactory.product.wms.wms-vue3--focus.ts +3 -0
  134. package/script/bump-to.ts +38 -0
  135. package/script/bump.ts +35 -0
  136. package/script/copy-to.luotao.smartfactory.product.wms.wms--dev-3.2.ts +3 -0
  137. package/script/copy-to.luotao.smartfactory.product.wms.wms-vue3--focus.ts +3 -0
  138. package/script/copy-to.luotao.smartfactory.tyre.haohua.gantry.was-java--main.ts +3 -0
  139. package/script/copy-to.ts +23 -0
  140. package/script/publish.ts +30 -0
  141. package/dist/src/components-next/KgVarConfig/KgVarConfig.d.ts +0 -2
  142. package/dist/src/components-next/KgVarConfig/index.d.ts +0 -1
  143. package/dist/src/components-next/index.d.ts +0 -1
  144. package/dist/src/pages/KgVarFactory/index.d.ts +0 -1
  145. package/dist/src/utils/index.d.ts +0 -6
  146. package/dist/src/utils/kg-dom.util.d.ts +0 -12
  147. package/dist/src/utils/kg-logger.util.d.ts +0 -69
  148. /package/dist/src/{apis → api}/WMS/Controllers/DescriptionController/index.d.ts +0 -0
  149. /package/dist/src/{apis → api}/WMS/Controllers/SysPermissionController/index.d.ts +0 -0
  150. /package/dist/src/{apis → api}/WMS/Controllers/VarConfigDescriptionController/index.d.ts +0 -0
  151. /package/dist/src/{apis → api}/WMS/Controllers/VarConfigPossibilityController/index.d.ts +0 -0
  152. /package/dist/src/{apis → api}/WMS/Controllers/VarController/index.d.ts +0 -0
  153. /package/dist/src/{apis → api}/WMS/Controllers/VarDdaController/index.d.ts +0 -0
  154. /package/dist/src/{apis → api}/WMS/Controllers/VarGridMasterController/index.d.ts +0 -0
  155. /package/dist/src/{apis → api}/WMS/Controllers/VarProfileMasterController/index.d.ts +0 -0
  156. /package/dist/src/{apis → api}/WMS/Controllers/VarVariableController/index.d.ts +0 -0
  157. /package/dist/src/{apis → api}/WMS/Controllers/WhController/index.d.ts +0 -0
  158. /package/dist/src/{apis → api}/WMS/Controllers/WorkstationController/index.d.ts +0 -0
  159. /package/dist/src/{apis → api}/WMS/Controllers/index.d.ts +0 -0
  160. /package/dist/src/{apis → api}/WMS/index.d.ts +0 -0
  161. /package/dist/src/{apis → api}/WMS/models.d.ts +0 -0
  162. /package/dist/src/{apis → api}/api.d.ts +0 -0
  163. /package/dist/src/{apis → api}/def.d.ts +0 -0
  164. /package/dist/src/{apis → api}/index.d.ts +0 -0
  165. /package/dist/src/{components → component}/KgAppSelect/index.d.ts +0 -0
  166. /package/dist/src/{components → component}/KgButton/index.d.ts +0 -0
  167. /package/dist/src/{components → component}/KgCanvas/index.d.ts +0 -0
  168. /package/dist/src/{components → component}/KgForm/index.vm.d.ts +0 -0
  169. /package/dist/src/{components → component}/KgForm.Item/addon/KgForm.Item.Addon.DynamicQueryOperator.d.ts +0 -0
  170. /package/dist/src/{components → component}/KgForm.Item/addon/KgForm.Item.Addon.Lookup.Modal.d.ts +0 -0
  171. /package/dist/src/{components → component}/KgForm.Item/addon/KgForm.Item.Addon.Lookup.d.ts +0 -0
  172. /package/dist/src/{components → component}/KgForm.Item/index.d.ts +0 -0
  173. /package/dist/src/{components → component}/KgImage/index.d.ts +0 -0
  174. /package/dist/src/{components → component}/KgLayoutHeader/components/KgLayoutHeaderLocale.d.ts +0 -0
  175. /package/dist/src/{components → component}/KgLayoutHeader/index.d.ts +0 -0
  176. /package/dist/src/{components → component}/KgLayoutHeader/index.hooks.d.ts +0 -0
  177. /package/dist/src/{components → component}/KgModal/index.d.ts +0 -0
  178. /package/dist/src/{components → component}/KgModal/index.vm.d.ts +0 -0
  179. /package/dist/src/{components → component}/KgProgressA/KgProgressA.d.ts +0 -0
  180. /package/dist/src/{components → component}/KgProgressA/index.d.ts +0 -0
  181. /package/dist/src/{components → component}/KgResizable/KgResizable.d.ts +0 -0
  182. /package/dist/src/{components → component}/KgResizable/KgResizable.service.d.ts +0 -0
  183. /package/dist/src/{components → component}/KgResizable/index.d.ts +0 -0
  184. /package/dist/src/{components → component}/KgSearch/KgSearch.d.ts +0 -0
  185. /package/dist/src/{components → component}/KgSearch/KgSearch.service.d.ts +0 -0
  186. /package/dist/src/{components → component}/KgSearch/components/KgSearch.ConfigModal.d.ts +0 -0
  187. /package/dist/src/{components → component}/KgSearch/index.d.ts +0 -0
  188. /package/dist/src/{components → component}/KgSearch/index.vm.d.ts +0 -0
  189. /package/dist/src/{components → component}/KgStation/KgStation.d.ts +0 -0
  190. /package/dist/src/{components → component}/KgStation/index.d.ts +0 -0
  191. /package/dist/src/{components → component}/KgSubmit/KgSubmit.d.ts +0 -0
  192. /package/dist/src/{components → component}/KgSubmit/KgSubmit.service.d.ts +0 -0
  193. /package/dist/src/{components → component}/KgSubmit/index.d.ts +0 -0
  194. /package/dist/src/{components → component}/KgTable/KgTable.d.ts +0 -0
  195. /package/dist/src/{components → component}/KgTable/KgTable.service.d.ts +0 -0
  196. /package/dist/src/{components → component}/KgTable/components/KgTable.BodyCell.d.ts +0 -0
  197. /package/dist/src/{components → component}/KgTable/components/KgTable.HeaderCell.d.ts +0 -0
  198. /package/dist/src/{components → component}/KgTable/components/KgTable.Info.d.ts +0 -0
  199. /package/dist/src/{components → component}/KgTable/components/setting/KgTable.Setting.VarGridMaster.SaveAs.d.ts +0 -0
  200. /package/dist/src/{components → component}/KgTable/components/setting/KgTable.Setting.d.ts +0 -0
  201. /package/dist/src/{components → component}/KgTable/components/setting/config/KgTable.Setting.ConfigModal.d.ts +0 -0
  202. /package/dist/src/{components → component}/KgTable/index.d.ts +0 -0
  203. /package/dist/src/{components → component}/KgVar/KgVar.d.ts +0 -0
  204. /package/dist/src/{components → component}/KgVarConfig/KgVarConfig.d.ts +0 -0
  205. /package/dist/src/{components → component}/KgVarConfig/components/KgVarConfig.SelectFormIdModal.d.ts +0 -0
  206. /package/dist/src/{components → component}/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButton.d.ts +0 -0
  207. /package/dist/src/{components → component}/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButtonConfig.d.ts +0 -0
  208. /package/dist/src/{components → component}/KgVarConfig/components/button/KgVarConfig.Modal.Button.d.ts +0 -0
  209. /package/dist/src/{components → component}/KgVarConfig/components/child/KgVarConfig.Modal.Child.d.ts +0 -0
  210. /package/dist/src/{components → component}/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileConfig.d.ts +0 -0
  211. /package/dist/src/{components → component}/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileMaster.d.ts +0 -0
  212. /package/dist/src/{components → component}/KgVarConfig/components/search/KgVarConfig.Modal.Search.d.ts +0 -0
  213. /package/dist/src/{components → component}/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitConfig.d.ts +0 -0
  214. /package/dist/src/{components → component}/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitDetail.d.ts +0 -0
  215. /package/dist/src/{components → component}/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.d.ts +0 -0
  216. /package/dist/src/{components → component}/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridConfig.d.ts +0 -0
  217. /package/dist/src/{components → component}/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridMaster.d.ts +0 -0
  218. /package/dist/src/{components → component}/KgVarConfig/components/table/KgVarConfig.Modal.Table.d.ts +0 -0
  219. /package/dist/src/{components → component}/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigControl.d.ts +0 -0
  220. /package/dist/src/{components → component}/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigDescription.d.ts +0 -0
  221. /package/dist/src/{components → component}/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigInput.d.ts +0 -0
  222. /package/dist/src/{components → component}/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigLookup.d.ts +0 -0
  223. /package/dist/src/{components → component}/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigPossibility.d.ts +0 -0
  224. /package/dist/src/{components → component}/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigTip.d.ts +0 -0
  225. /package/dist/src/{components → component}/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarVariable.d.ts +0 -0
  226. /package/dist/src/{components → component}/KgVarConfig/index.d.ts +0 -0
  227. /package/dist/src/{components → component}/KgVarConfig/index.hooks.d.ts +0 -0
  228. /package/dist/src/{components → component}/KgVarConfig/index.store.d.ts +0 -0
  229. /package/dist/src/{components → component}/KgVarConfig/index.vm.d.ts +0 -0
  230. /package/dist/src/{components → component}/KgWarehouse/KgWarehouse.d.ts +0 -0
  231. /package/dist/src/{components → component}/KgWarehouse/index.d.ts +0 -0
  232. /package/dist/src/{components → component}/KgWarehouse/index.guard.d.ts +0 -0
  233. /package/dist/src/{components → component}/KgYesOrNo/KgYesOrNo.d.ts +0 -0
  234. /package/dist/src/{components → component}/KgYesOrNo/index.d.ts +0 -0
  235. /package/dist/src/{components → component}/index.d.ts +0 -0
  236. /package/dist/src/{consts → const}/i18n/index.d.ts +0 -0
  237. /package/dist/src/{consts → const}/index.d.ts +0 -0
  238. /package/dist/src/{helpers → helper}/tsx.helper.d.ts +0 -0
  239. /package/dist/src/{pages → page}/KgPageDda/KgPageDda.d.ts +0 -0
  240. /package/dist/src/{pages → page}/KgPageDda/components/KgPageDda.Create.Basic.SqlModal.d.ts +0 -0
  241. /package/dist/src/{pages → page}/KgPageDda/components/KgPageDda.Create.Basic.d.ts +0 -0
  242. /package/dist/src/{pages → page}/KgPageDda/components/KgPageDda.Create.Button.d.ts +0 -0
  243. /package/dist/src/{pages → page}/KgPageDda/components/KgPageDda.Create.Menu.d.ts +0 -0
  244. /package/dist/src/{pages → page}/KgPageDda/components/KgPageDda.Create.Search.d.ts +0 -0
  245. /package/dist/src/{pages → page}/KgPageDda/components/KgPageDda.Create.Submit.d.ts +0 -0
  246. /package/dist/src/{pages → page}/KgPageDda/components/KgPageDda.Create.Table.d.ts +0 -0
  247. /package/dist/src/{pages → page}/KgPageDda/components/KgPageDda.Create.d.ts +0 -0
  248. /package/dist/src/{pages → page}/KgPageDda/index.d.ts +0 -0
  249. /package/dist/src/{pages → page}/KgPageDda/index.vm.d.ts +0 -0
  250. /package/dist/src/{services → service}/index.d.ts +0 -0
@@ -1,5 +1,5 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
- import './KgModal.less';
2
+ import './KgModal.css';
3
3
  export declare const getProps: () => {
4
4
  /**
5
5
  * 高度是否撑满屏幕.
@@ -116,7 +116,7 @@ export declare const getProps: () => {
116
116
  type: BooleanConstructor;
117
117
  default: undefined;
118
118
  };
119
- width: (NumberConstructor | StringConstructor)[];
119
+ width: (StringConstructor | NumberConstructor)[];
120
120
  footer: PropType<any>;
121
121
  okText: PropType<any>;
122
122
  okType: PropType<import("ant-design-vue/es/button/buttonTypes").LegacyButtonType>;
@@ -132,9 +132,10 @@ export declare const getProps: () => {
132
132
  };
133
133
  okButtonProps: PropType<Partial<ExtractPropTypes<{
134
134
  prefixCls: StringConstructor;
135
+ /** 页面上专门添加了一个特殊的元素, 通过它可以获取其他元素对象. */
135
136
  type: PropType<import("ant-design-vue/lib/button").ButtonType>;
136
137
  htmlType: {
137
- type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>; /** 页面上专门添加了一个特殊的元素, 通过它可以获取其他元素对象. */
138
+ type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
138
139
  default: string;
139
140
  };
140
141
  shape: {
@@ -180,9 +181,10 @@ export declare const getProps: () => {
180
181
  }>>>;
181
182
  cancelButtonProps: PropType<Partial<ExtractPropTypes<{
182
183
  prefixCls: StringConstructor;
184
+ /** 页面上专门添加了一个特殊的元素, 通过它可以获取其他元素对象. */
183
185
  type: PropType<import("ant-design-vue/lib/button").ButtonType>;
184
186
  htmlType: {
185
- type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>; /** 页面上专门添加了一个特殊的元素, 通过它可以获取其他元素对象. */
187
+ type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
186
188
  default: string;
187
189
  };
188
190
  shape: {
@@ -380,7 +382,7 @@ declare const _default: import("vue").DefineComponent<{
380
382
  type: BooleanConstructor;
381
383
  default: undefined;
382
384
  };
383
- width: (NumberConstructor | StringConstructor)[];
385
+ width: (StringConstructor | NumberConstructor)[];
384
386
  footer: PropType<any>;
385
387
  okText: PropType<any>;
386
388
  okType: PropType<import("ant-design-vue/es/button/buttonTypes").LegacyButtonType>;
@@ -396,9 +398,10 @@ declare const _default: import("vue").DefineComponent<{
396
398
  };
397
399
  okButtonProps: PropType<Partial<ExtractPropTypes<{
398
400
  prefixCls: StringConstructor;
401
+ /** 页面上专门添加了一个特殊的元素, 通过它可以获取其他元素对象. */
399
402
  type: PropType<import("ant-design-vue/lib/button").ButtonType>;
400
403
  htmlType: {
401
- type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>; /** 页面上专门添加了一个特殊的元素, 通过它可以获取其他元素对象. */
404
+ type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
402
405
  default: string;
403
406
  };
404
407
  shape: {
@@ -444,9 +447,10 @@ declare const _default: import("vue").DefineComponent<{
444
447
  }>>>;
445
448
  cancelButtonProps: PropType<Partial<ExtractPropTypes<{
446
449
  prefixCls: StringConstructor;
450
+ /** 页面上专门添加了一个特殊的元素, 通过它可以获取其他元素对象. */
447
451
  type: PropType<import("ant-design-vue/lib/button").ButtonType>;
448
452
  htmlType: {
449
- type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>; /** 页面上专门添加了一个特殊的元素, 通过它可以获取其他元素对象. */
453
+ type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
450
454
  default: string;
451
455
  };
452
456
  shape: {
@@ -642,7 +646,7 @@ declare const _default: import("vue").DefineComponent<{
642
646
  type: BooleanConstructor;
643
647
  default: undefined;
644
648
  };
645
- width: (NumberConstructor | StringConstructor)[];
649
+ width: (StringConstructor | NumberConstructor)[];
646
650
  footer: PropType<any>;
647
651
  okText: PropType<any>;
648
652
  okType: PropType<import("ant-design-vue/es/button/buttonTypes").LegacyButtonType>;
@@ -658,9 +662,10 @@ declare const _default: import("vue").DefineComponent<{
658
662
  };
659
663
  okButtonProps: PropType<Partial<ExtractPropTypes<{
660
664
  prefixCls: StringConstructor;
665
+ /** 页面上专门添加了一个特殊的元素, 通过它可以获取其他元素对象. */
661
666
  type: PropType<import("ant-design-vue/lib/button").ButtonType>;
662
667
  htmlType: {
663
- type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>; /** 页面上专门添加了一个特殊的元素, 通过它可以获取其他元素对象. */
668
+ type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
664
669
  default: string;
665
670
  };
666
671
  shape: {
@@ -706,9 +711,10 @@ declare const _default: import("vue").DefineComponent<{
706
711
  }>>>;
707
712
  cancelButtonProps: PropType<Partial<ExtractPropTypes<{
708
713
  prefixCls: StringConstructor;
714
+ /** 页面上专门添加了一个特殊的元素, 通过它可以获取其他元素对象. */
709
715
  type: PropType<import("ant-design-vue/lib/button").ButtonType>;
710
716
  htmlType: {
711
- type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>; /** 页面上专门添加了一个特殊的元素, 通过它可以获取其他元素对象. */
717
+ type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
712
718
  default: string;
713
719
  };
714
720
  shape: {
@@ -802,11 +808,11 @@ declare const _default: import("vue").DefineComponent<{
802
808
  mask: boolean;
803
809
  keyboard: boolean;
804
810
  focusTriggerAfterClose: boolean;
805
- kgIsDefaultFullscreen: boolean;
806
- kgIsShowFullscreenButton: boolean;
807
- kgFullHeight: boolean;
808
811
  kgIsDragToMove: boolean;
812
+ kgFullHeight: boolean;
813
+ kgIsDefaultFullscreen: boolean;
809
814
  kgIsDragToResize: boolean;
815
+ kgIsShowFullscreenButton: boolean;
810
816
  kgMaxHeight: number;
811
817
  kgMaxWidth: number;
812
818
  kgMinHeight: number;
@@ -86,7 +86,7 @@ declare const _default: import("vue").DefineComponent<{
86
86
  };
87
87
  }>>, {
88
88
  kgIsDefaultFullscreen: boolean;
89
- kgIsShowCloseButton: boolean;
90
89
  kgIsShowFullscreenButton: boolean;
90
+ kgIsShowCloseButton: boolean;
91
91
  }>;
92
92
  export default _default;
@@ -0,0 +1,12 @@
1
+ import { ComputedRef, Ref } from 'vue';
2
+ /**
3
+ * 拖拽改变位置.
4
+ *
5
+ * @param param.getProps 组件参数.
6
+ * @param param.domRef 页面特殊元素对象.
7
+ */
8
+ export declare function useDragToMove(param: {
9
+ domRef: Ref<HTMLDivElement | null>;
10
+ getKgIsDragToMove: ComputedRef<boolean>;
11
+ getVisible: ComputedRef<boolean>;
12
+ }): void;
@@ -1,15 +1,5 @@
1
1
  import { Ref } from 'vue';
2
- import { IKgModalProps } from './KgModal';
3
- /**
4
- * 拖拽改变位置.
5
- *
6
- * @param param.getProps 组件参数.
7
- * @param param.domRef 页面特殊元素对象.
8
- */
9
- export declare function useDragToMove(param: {
10
- domRef: Ref<HTMLDivElement | null>;
11
- getProps: Ref<IKgModalProps>;
12
- }): void;
2
+ import { IKgModalProps } from '../KgModal';
13
3
  /**
14
4
  * 拖拽改变大小.
15
5
  *
@@ -1,6 +1,6 @@
1
+ import { IRemoveEventListener } from '@kengic/core.core';
1
2
  import { ComputedRef } from 'vue';
2
- import { VarProfileDetail } from '../../apis/WMS/models';
3
- import { IRemoveEventListenerHandler } from '../../consts';
3
+ import { VarProfileDetail } from '../../api/WMS/models';
4
4
  import { IKgTableRequestParameter } from '../KgTable';
5
5
  import { IKgSearchReadyEventListener, IKgSearchResetEventListener, IKgSearchSearchEventListener, IKgSearchStore } from './index.store';
6
6
  export declare type IUseKgSearch = {
@@ -39,19 +39,19 @@ export declare type IUseKgSearch = {
39
39
  * @param listener 事件监听函数.
40
40
  * @param isOnce 是否只会触发一次. 默认为 undefined.
41
41
  */
42
- onReady(listener: IKgSearchReadyEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
42
+ onReady(listener: IKgSearchReadyEventListener, isOnce?: boolean): IRemoveEventListener;
43
43
  /**
44
44
  * 监听事件: reset, 点击重置按钮.
45
45
  * @param listener 事件监听函数.
46
46
  * @param isOnce 是否只会触发一次. 默认为 undefined.
47
47
  */
48
- onReset(listener: IKgSearchResetEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
48
+ onReset(listener: IKgSearchResetEventListener, isOnce?: boolean): IRemoveEventListener;
49
49
  /**
50
50
  * 监听事件: search, 点击查询按钮, 并且表单验证通过.
51
51
  * @param listener 事件监听函数.
52
52
  * @param isOnce 是否只会触发一次. 默认为 undefined.
53
53
  */
54
- onSearch(listener: IKgSearchSearchEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
54
+ onSearch(listener: IKgSearchSearchEventListener, isOnce?: boolean): IRemoveEventListener;
55
55
  /** 重置. */
56
56
  reset(): void;
57
57
  /** 查询. */
@@ -1,6 +1,6 @@
1
+ import { IKgEventListener } from '@kengic/core.core';
1
2
  import { StoreDefinition } from 'pinia';
2
- import { VarProfileMasterDTO } from '../../apis/WMS/models';
3
- import { IKgEventListener } from '../../consts';
3
+ import { VarProfileMasterDTO } from '../../api/WMS/models';
4
4
  import { IKgTableRequestParameter } from '../KgTable';
5
5
  /**
6
6
  * 事件类型.
@@ -92,9 +92,9 @@ export interface IUseKgSearchStoreActions {
92
92
  * 触发事件.
93
93
  * @param formID 界面标识.
94
94
  * @param event 事件名称.
95
- * @param param 事件参数.
95
+ * @param parameter 事件参数.
96
96
  */
97
- emit<T = IKgSearchEventListenerParameter>(formID: string, event: IKgSearchEvent, param: T): Promise<boolean>;
97
+ emit<T = IKgSearchEventListenerParameter>(formID: string, event: IKgSearchEvent, parameter: T): Promise<boolean>;
98
98
  /**
99
99
  * 修改查询字段的高级查询操作符的部分属性.
100
100
  *
@@ -1,6 +1,6 @@
1
1
  import { Pinia } from 'pinia';
2
2
  import { ComputedRef } from 'vue';
3
- import { WorkstationAreaDTO, WorkstationDTO } from '../../apis/WMS/models';
3
+ import { WorkstationAreaDTO, WorkstationDTO } from '../../api/WMS/models';
4
4
  import { IKgStationStore } from './index.store';
5
5
  export declare type IUseKgStation = {
6
6
  /**
@@ -1,5 +1,5 @@
1
1
  import { StoreDefinition } from 'pinia';
2
- import { WorkstationDTO } from '../../apis/WMS/models';
2
+ import { WorkstationDTO } from '../../api/WMS/models';
3
3
  export interface IUseKgStationStoreState {
4
4
  /**
5
5
  * 当前工作站.
@@ -1,7 +1,8 @@
1
+ import { IRemoveEventListener } from '@kengic/core.core';
1
2
  import { FormInstance } from 'ant-design-vue';
2
3
  import { ComputedRef, Ref } from 'vue';
3
- import { VarProfileDetail, VarSubmitConfig, VarSubmitDetail } from '../../apis/WMS/models';
4
- import { IKgVarSubmitConfigProperties, IRemoveEventListenerHandler, KG__VAR_BUTTON__TYPE, KG__VAR_SUBMIT_CONFIG__DISPLAY_TYPE, KG__VAR_SUBMIT_CONFIG__LABEL_COLUMN_UNIT, KG__VAR_SUBMIT_CONFIG__LAYOUT } from '../../consts';
4
+ import { VarProfileDetail, VarSubmitConfig, VarSubmitDetail } from '../../api/WMS/models';
5
+ import { IKgVarSubmitConfigProperties, KG__VAR_BUTTON__TYPE, KG__VAR_SUBMIT_CONFIG__DISPLAY_TYPE, KG__VAR_SUBMIT_CONFIG__LABEL_COLUMN_UNIT, KG__VAR_SUBMIT_CONFIG__LAYOUT } from '../../const';
5
6
  import { IKgSubmitAfterValidateEventListener, IKgSubmitBeforeOkEventListener, IKgSubmitBeforeOpenEventListener, IKgSubmitBeforeRequestEventListener, IKgSubmitCloseEventListener, IKgSubmitErrorEventListener, IKgSubmitOkEventListener, IKgSubmitOnBeforeCancelEventListener, IKgSubmitOnCancelEventListener, IKgSubmitOnOpenEventListener, IKgSubmitStore } from './index.store';
6
7
  export interface IUseKgSubmit {
7
8
  /**
@@ -157,14 +158,14 @@ export interface IUseKgSubmit {
157
158
  * @param isOnce 是否只会触发一次. 默认为 undefined.
158
159
  * @return {} 移除事件监听函数.
159
160
  */
160
- onAfterValidate(listener: IKgSubmitAfterValidateEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
161
+ onAfterValidate(listener: IKgSubmitAfterValidateEventListener, isOnce?: boolean): IRemoveEventListener;
161
162
  /**
162
163
  * <p>监听事件: 点击取消按钮, 或者点击右上角的关闭按钮, 尚未关闭弹窗.</p>
163
164
  * @param listener 事件监听函数.
164
165
  * @param isOnce 是否只会触发一次. 默认为 undefined.
165
166
  * @return {} 移除事件监听函数.
166
167
  */
167
- onBeforeCancel(listener: IKgSubmitOnBeforeCancelEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
168
+ onBeforeCancel(listener: IKgSubmitOnBeforeCancelEventListener, isOnce?: boolean): IRemoveEventListener;
168
169
  /**
169
170
  * <p>监听事件: 点击确认按钮之后, 执行默认逻辑之前.</p>
170
171
  * <ul>
@@ -177,14 +178,14 @@ export interface IUseKgSubmit {
177
178
  * @param isOnce 是否只会触发一次. 默认为 undefined.
178
179
  * @return {} 移除事件监听函数.
179
180
  */
180
- onBeforeOk(listener: IKgSubmitBeforeOkEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
181
+ onBeforeOk(listener: IKgSubmitBeforeOkEventListener, isOnce?: boolean): IRemoveEventListener;
181
182
  /**
182
183
  * <p>监听事件: 打开提交弹窗之前.</p>
183
184
  * @param listener 事件监听函数.
184
185
  * @param isOnce 是否只会触发一次. 默认为 undefined.
185
186
  * @return {} 移除事件监听函数.
186
187
  */
187
- onBeforeOpen(listener: IKgSubmitBeforeOpenEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
188
+ onBeforeOpen(listener: IKgSubmitBeforeOpenEventListener, isOnce?: boolean): IRemoveEventListener;
188
189
  /**
189
190
  * <p>监听事件: 发起接口请求之前. 表单验证完成, 参数解析完成.</p>
190
191
  * <p>回调函数如果返回 true, 则不会再执行后面的代码.</p>
@@ -193,14 +194,14 @@ export interface IUseKgSubmit {
193
194
  * @param isOnce 是否只会触发一次. 默认为 undefined.
194
195
  * @return {} 移除事件监听函数.
195
196
  */
196
- onBeforeRequest(listener: IKgSubmitBeforeRequestEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
197
+ onBeforeRequest(listener: IKgSubmitBeforeRequestEventListener, isOnce?: boolean): IRemoveEventListener;
197
198
  /**
198
199
  * <p>监听事件: 点击取消按钮, 或者点击右上角的关闭按钮, 已经关闭弹窗.</p>
199
200
  * @param listener 事件监听函数.
200
201
  * @param isOnce 是否只会触发一次. 默认为 undefined.
201
202
  * @return {} 移除事件监听函数.
202
203
  */
203
- onCancel(listener: IKgSubmitOnCancelEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
204
+ onCancel(listener: IKgSubmitOnCancelEventListener, isOnce?: boolean): IRemoveEventListener;
204
205
  /**
205
206
  * <p>监听事件: 关闭提交弹窗. 下面几种场景都会触发此事件:</p>
206
207
  * <ul>
@@ -212,28 +213,28 @@ export interface IUseKgSubmit {
212
213
  * @param isOnce 是否只会触发一次. 默认为 undefined.
213
214
  * @return {} 移除事件监听函数.
214
215
  */
215
- onClose(listener: IKgSubmitCloseEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
216
+ onClose(listener: IKgSubmitCloseEventListener, isOnce?: boolean): IRemoveEventListener;
216
217
  /**
217
218
  * <p>监听事件: 请求失败. 请求失败了, 或者请求返回了错误消息.</p>
218
219
  * @param listener 事件监听函数.
219
220
  * @param isOnce 是否只会触发一次. 默认为 undefined.
220
221
  * @return {} 移除事件监听函数.
221
222
  */
222
- onError(listener: IKgSubmitErrorEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
223
+ onError(listener: IKgSubmitErrorEventListener, isOnce?: boolean): IRemoveEventListener;
223
224
  /**
224
225
  * <p>监听事件: 点击保存按钮之后, 执行默认逻辑之后, 调用接口成功, 关闭提交弹窗之后.</p>
225
226
  * @param listener 事件监听函数.
226
227
  * @param isOnce 是否只会触发一次. 默认为 undefined.
227
228
  * @return {} 移除事件监听函数.
228
229
  */
229
- onOk(listener: IKgSubmitOkEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
230
+ onOk(listener: IKgSubmitOkEventListener, isOnce?: boolean): IRemoveEventListener;
230
231
  /**
231
232
  * <p>监听事件: 打开提交弹窗.</p>
232
233
  * @param listener 事件监听函数.
233
234
  * @param isOnce 是否只会触发一次. 默认为 undefined.
234
235
  * @return {} 移除事件监听函数.
235
236
  */
236
- onOpen(listener: IKgSubmitOnOpenEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
237
+ onOpen(listener: IKgSubmitOnOpenEventListener, isOnce?: boolean): IRemoveEventListener;
237
238
  /**
238
239
  * <p>修改某个「提交表单字段」的部分属性.</p>
239
240
  *
@@ -1,10 +1,11 @@
1
+ import { IKgEventListener } from '@kengic/core.core';
1
2
  import { RuleObject } from 'ant-design-vue/es/form';
2
3
  import { FormInstance } from 'ant-design-vue/lib/form/Form';
3
4
  import { StoreDefinition } from 'pinia';
4
5
  import { Ref } from 'vue';
5
- import { VarProfileDetail, VarSubmitConfig, VarSubmitDetail } from '../../apis/WMS/models';
6
- import { IKgEventListener, KG__VAR_BUTTON__TYPE } from '../../consts';
7
- import { KgAny } from '../../types';
6
+ import { VarProfileDetail, VarSubmitConfig, VarSubmitDetail } from '../../api/WMS/models';
7
+ import { KG__VAR_BUTTON__TYPE } from '../../const';
8
+ import { KgAny } from '../../type';
8
9
  import { IKgTableRow } from '../KgTable';
9
10
  /**
10
11
  * 事件类型.
@@ -172,7 +173,7 @@ export interface IUseKgSubmitStoreActions {
172
173
  * @param formID 页面标识.
173
174
  */
174
175
  dispose(formID?: string | null): void;
175
- emit<T = IKgSubmitEventListenerParameter>(formID: string, event: IKgSubmitEvent, param: T): Promise<boolean>;
176
+ emit<T = IKgSubmitEventListenerParameter>(formID: string, event: IKgSubmitEvent, parameter: T): Promise<boolean>;
176
177
  patchVarSubmitDetail(formID: string | null | undefined, param: {
177
178
  buttonType?: KG__VAR_BUTTON__TYPE;
178
179
  buttonVarName?: string | null;
@@ -1,4 +1,4 @@
1
- import { KG__VAR_SUBMIT_CONFIG__LAYOUT } from '../../consts';
1
+ import { KG__VAR_SUBMIT_CONFIG__LAYOUT } from '../../const';
2
2
  /**
3
3
  * 表单的左边距.
4
4
  */
@@ -1,5 +1,5 @@
1
1
  import { Ref } from 'vue';
2
- import { VarGridDetail } from '../../../../apis/WMS/models';
2
+ import { VarGridDetail } from '../../../../api/WMS/models';
3
3
  export declare type IUseServices = {
4
4
  /**
5
5
  * 用于表格的列下拉列表, 根据关键字搜索某列, 如果匹配就显示该列, 否则隐藏该列.
@@ -1,7 +1,7 @@
1
1
  import { ComputedRef } from 'vue';
2
- import { VarGridConfig, VarGridDetail } from '../../apis/WMS/models';
3
- import { IRemoveEventListenerHandler } from '../../consts';
2
+ import { VarGridConfig, VarGridDetail } from '../../api/WMS/models';
4
3
  import { IKgTableAfterRequestEventListener, IKgTableBeforeParseParameterEventListener, IKgTableBeforeRequestEventListener, IKgTableBeforeSetDatasEventListener, IKgTableReadyEventListener, IKgTableRowDoubleClickEventListener, IKgTableStore } from './index.store';
4
+ import { IRemoveEventListener } from '@kengic/core.core';
5
5
  export interface IUseKgTable {
6
6
  /**
7
7
  * 列表数据.
@@ -55,11 +55,11 @@ export interface IUseKgTable {
55
55
  * @param listener 事件监听函数.
56
56
  * @param isOnce 是否只会触发一次. 默认为 undefined.
57
57
  */
58
- onAfterRequest(listener: IKgTableAfterRequestEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
58
+ onAfterRequest(listener: IKgTableAfterRequestEventListener, isOnce?: boolean): IRemoveEventListener;
59
59
  /**
60
60
  * @deprecated 已废弃, 请使用 onAfterRequest() 方法.
61
61
  */
62
- onAfterSearch(listener: IKgTableAfterRequestEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
62
+ onAfterSearch(listener: IKgTableAfterRequestEventListener, isOnce?: boolean): IRemoveEventListener;
63
63
  /**
64
64
  * <p>监听事件: 即将解析请求参数.</p>
65
65
  * <p>在该事件中, 可以修改解析前的参数.</p>
@@ -67,43 +67,43 @@ export interface IUseKgTable {
67
67
  * @param listener 事件监听函数.
68
68
  * @param isOnce 是否只会触发一次. 默认为 undefined.
69
69
  */
70
- onBeforeParseRequestParameter(listener: IKgTableBeforeParseParameterEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
70
+ onBeforeParseRequestParameter(listener: IKgTableBeforeParseParameterEventListener, isOnce?: boolean): IRemoveEventListener;
71
71
  /**
72
72
  * 监听事件: 即将发起查询请求, 如果返回 true 表示不会发起请求.
73
73
  * @param listener 事件监听函数.
74
74
  * @param isOnce 是否只会触发一次. 默认为 undefined.
75
75
  */
76
- onBeforeRequest(listener: IKgTableBeforeRequestEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
76
+ onBeforeRequest(listener: IKgTableBeforeRequestEventListener, isOnce?: boolean): IRemoveEventListener;
77
77
  /**
78
78
  * @deprecated 已废弃, 请使用 onBeforeRequest() 方法.
79
79
  */
80
- onBeforeRetrieve(listener: IKgTableBeforeRequestEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
80
+ onBeforeRetrieve(listener: IKgTableBeforeRequestEventListener, isOnce?: boolean): IRemoveEventListener;
81
81
  /**
82
82
  * @deprecated 已废弃, 请使用 onBeforeRequest() 方法.
83
83
  */
84
- onBeforeSearch(listener: IKgTableBeforeRequestEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
84
+ onBeforeSearch(listener: IKgTableBeforeRequestEventListener, isOnce?: boolean): IRemoveEventListener;
85
85
  /**
86
86
  * 监听事件: 查询请求成功, 表格数据尚未赋值. 此处可以对查询接口返回的列表数据作处理.
87
87
  * @param listener 事件监听函数.
88
88
  * @param isOnce 是否只会触发一次. 默认为 undefined.
89
89
  */
90
- onBeforeSetDatas(listener: IKgTableBeforeSetDatasEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
90
+ onBeforeSetDatas(listener: IKgTableBeforeSetDatasEventListener, isOnce?: boolean): IRemoveEventListener;
91
91
  /**
92
92
  * 监听事件: ready, 配置初始完成, 组件渲染完成.
93
93
  * @param listener 事件监听函数.
94
94
  * @param isOnce 是否只会触发一次. 默认为 undefined.
95
95
  */
96
- onReady(listener: IKgTableReadyEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
96
+ onReady(listener: IKgTableReadyEventListener, isOnce?: boolean): IRemoveEventListener;
97
97
  /**
98
98
  * @deprecated 已废弃, 请使用 onAfterSearch() 方法.
99
99
  */
100
- onRetrieve(listener: IKgTableAfterRequestEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
100
+ onRetrieve(listener: IKgTableAfterRequestEventListener, isOnce?: boolean): IRemoveEventListener;
101
101
  /**
102
102
  * 监听事件: 双击某行.
103
103
  * @param listener 事件监听函数.
104
104
  * @param isOnce 是否只会触发一次. 默认为 undefined.
105
105
  */
106
- onRowDoubleClick(listener: IKgTableRowDoubleClickEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
106
+ onRowDoubleClick(listener: IKgTableRowDoubleClickEventListener, isOnce?: boolean): IRemoveEventListener;
107
107
  /** 当前分页选项. */
108
108
  pageSizeOption: ComputedRef<number>;
109
109
  /** 所有分页选项. */
@@ -1,8 +1,8 @@
1
+ import { IKgEventListener } from '@kengic/core.core';
1
2
  import { Key } from 'ant-design-vue/lib/_util/type';
2
3
  import { StoreDefinition } from 'pinia';
3
4
  import { Ref } from 'vue';
4
- import { IPage, VarGridConfig, VarGridDetail } from '../../apis/WMS/models';
5
- import { IKgEventListener } from '../../consts';
5
+ import { IPage, VarGridConfig, VarGridDetail } from '../../api/WMS/models';
6
6
  import { IKgTableRow, IKgTableRowHeight } from './index.vm';
7
7
  /**
8
8
  * 事件类型.
@@ -162,9 +162,9 @@ export interface IUseKgTableStoreActions {
162
162
  * 触发事件.
163
163
  * @param formID 界面标识.
164
164
  * @param event 事件名称.
165
- * @param param 数据.
165
+ * @param parameter 事件参数.
166
166
  */
167
- emit<T = IKgTableEventListenerParameter>(formID: string | null | undefined, event: IKgTableEvent, param: T): Promise<boolean>;
167
+ emit<T = IKgTableEventListenerParameter>(formID: string | null | undefined, event: IKgTableEvent, parameter: T): Promise<boolean>;
168
168
  /**
169
169
  * 修改「表格配置」的部分属性.
170
170
  *
@@ -1,5 +1,5 @@
1
1
  import { ColumnType } from 'ant-design-vue/es/table/interface';
2
- import { VarGridDetail } from '../../apis/WMS/models';
2
+ import { VarGridDetail } from '../../api/WMS/models';
3
3
  /** 行高. */
4
4
  export declare type IKgTableRowHeight = 'L' | 'M' | 'H';
5
5
  /** 表格的行. */
@@ -1,4 +1,3 @@
1
- import './KgVarFactory.less';
2
1
  export declare function KgVarFactory(param?: {
3
2
  formID?: string | null | undefined;
4
3
  }): import("vue").DefineComponent<{
@@ -11,8 +10,8 @@ export declare function KgVarFactory(param?: {
11
10
  type: import("vue").PropType<number>;
12
11
  default: number;
13
12
  };
14
- kgProps: import("vue").PropType<import("../../components").IKgProps>;
15
- kgSlots: import("vue").PropType<import("../../components").IKgSlots>;
13
+ kgProps: import("vue").PropType<import("./index.vm").IKgProps>;
14
+ kgSlots: import("vue").PropType<import("./index.vm").IKgSlots>;
16
15
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
17
16
  kgBackgroundGray: {
18
17
  type: import("vue").PropType<boolean>;
@@ -23,8 +22,8 @@ export declare function KgVarFactory(param?: {
23
22
  type: import("vue").PropType<number>;
24
23
  default: number;
25
24
  };
26
- kgProps: import("vue").PropType<import("../../components").IKgProps>;
27
- kgSlots: import("vue").PropType<import("../../components").IKgSlots>;
25
+ kgProps: import("vue").PropType<import("./index.vm").IKgProps>;
26
+ kgSlots: import("vue").PropType<import("./index.vm").IKgSlots>;
28
27
  }>>, {
29
28
  kgBackgroundGray: boolean;
30
29
  kgLevel: number;
@@ -32,7 +31,7 @@ export declare function KgVarFactory(param?: {
32
31
  /**
33
32
  * 默认的 KgVar 组件.
34
33
  */
35
- export declare const DEFAULT: import("vue").DefineComponent<{
34
+ export declare const KgVar2: import("vue").DefineComponent<{
36
35
  kgBackgroundGray: {
37
36
  type: import("vue").PropType<boolean>;
38
37
  default: undefined;
@@ -42,8 +41,8 @@ export declare const DEFAULT: import("vue").DefineComponent<{
42
41
  type: import("vue").PropType<number>;
43
42
  default: number;
44
43
  };
45
- kgProps: import("vue").PropType<import("../../components").IKgProps>;
46
- kgSlots: import("vue").PropType<import("../../components").IKgSlots>;
44
+ kgProps: import("vue").PropType<import("./index.vm").IKgProps>;
45
+ kgSlots: import("vue").PropType<import("./index.vm").IKgSlots>;
47
46
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
48
47
  kgBackgroundGray: {
49
48
  type: import("vue").PropType<boolean>;
@@ -54,8 +53,8 @@ export declare const DEFAULT: import("vue").DefineComponent<{
54
53
  type: import("vue").PropType<number>;
55
54
  default: number;
56
55
  };
57
- kgProps: import("vue").PropType<import("../../components").IKgProps>;
58
- kgSlots: import("vue").PropType<import("../../components").IKgSlots>;
56
+ kgProps: import("vue").PropType<import("./index.vm").IKgProps>;
57
+ kgSlots: import("vue").PropType<import("./index.vm").IKgSlots>;
59
58
  }>>, {
60
59
  kgBackgroundGray: boolean;
61
60
  kgLevel: number;
@@ -1,4 +1,5 @@
1
1
  export { default as KgVar, type IKgVarProps, type KgVarProps } from './KgVar';
2
+ export * from './KgVarFactory';
2
3
  export * from './index.hooks';
3
4
  export * from './index.store';
4
5
  export * from './index.vm';
@@ -0,0 +1,39 @@
1
+ import { IKgEventListener } from '@kengic/core.core';
2
+ /**
3
+ * 事件类型.
4
+ * 'onRequest': 变量配置查询完成
5
+ * 'onUnmounted': 页面销毁
6
+ */
7
+ export declare type IKgVarEvent = 'onRequest' | 'onUnmounted';
8
+ export declare type IKgVarOnRequestEventListenerParameter = {
9
+ /**
10
+ * 界面标识.
11
+ */
12
+ formID: string;
13
+ };
14
+ export declare type IKgVarOnRequestEventListener = ((param: IKgVarOnRequestEventListenerParameter) => Promise<boolean>) & IKgEventListener;
15
+ export declare type IKgVarOnUnmountedEventListenerParameter = {
16
+ /**
17
+ * 界面标识.
18
+ */
19
+ formID: string;
20
+ };
21
+ export declare type IKgVarOnUnmountedEventListener = ((param: IKgVarOnUnmountedEventListenerParameter) => Promise<boolean>) & IKgEventListener;
22
+ export declare type IKgVarEventListenerParameter = IKgVarOnRequestEventListenerParameter | IKgVarOnUnmountedEventListenerParameter;
23
+ export declare type IKgVarEventListener = IKgVarOnRequestEventListener | IKgVarOnUnmountedEventListener;
24
+ export declare const eventListenerListRecordRecord: Record<string, {
25
+ onRequest: Array<IKgVarOnRequestEventListener>;
26
+ onUnmounted: Array<IKgVarOnUnmountedEventListener>;
27
+ }>;
28
+ /**
29
+ * 触发事件.
30
+ *
31
+ * @param param.event 事件名称.
32
+ * @param param.id 唯一标识.
33
+ * @param param.parameter 事件参数.
34
+ */
35
+ export declare function emit<P extends IKgVarEventListenerParameter>(param: {
36
+ event: IKgVarEvent;
37
+ id?: string | undefined;
38
+ parameter: P;
39
+ }): Promise<boolean>;
@@ -1,13 +1,16 @@
1
+ import { IRemoveEventListener } from '@kengic/core.core';
1
2
  import { ComputedRef } from 'vue';
2
- import { VarConfigControl, VarConfigDescription, VarConfigPossibility } from '../../apis/WMS/models';
3
- import { IRemoveEventListenerHandler, KG__VAR_BUTTON__TYPE } from '../../consts';
3
+ import { VarConfigControl, VarConfigDescription, VarConfigPossibility } from '../../api/WMS/models';
4
+ import { KG__VAR_BUTTON__TYPE } from '../../const';
4
5
  import { IUseKgButton } from '../KgButton';
5
6
  import { IUseKgForm } from '../KgForm';
6
7
  import { type IUseKgSearch } from '../KgSearch';
7
8
  import { IUseKgSubmit } from '../KgSubmit';
8
9
  import { IUseKgTable } from '../KgTable';
9
10
  import { IUseKgVarConfig } from '../KgVarConfig';
10
- import { IKgVarRetrieveEventListener, IKgVarStore } from './index.store';
11
+ import { IKgVarOnRequestEventListener, IKgVarOnUnmountedEventListener } from './index.event';
12
+ import { IKgVarStore } from './index.store';
13
+ import { IKgProps, IKgSlots } from './index.vm';
11
14
  export declare type IUseKgVar = {
12
15
  /**
13
16
  * <p>添加一个「变量配置:表单控件」.</p>
@@ -127,11 +130,19 @@ export declare type IUseKgVar = {
127
130
  * @param listener 事件监听函数.
128
131
  * @param isOnce 是否只会触发一次. 默认为 undefined.
129
132
  */
130
- onRetrieve(listener: IKgVarRetrieveEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
133
+ onRetrieve(listener: IKgVarOnRequestEventListener, isOnce?: boolean): IRemoveEventListener;
134
+ /**
135
+ * 监听事件: 页面销毁.
136
+ *
137
+ * @param listener 事件监听函数.
138
+ * @param isOnce 是否只会触发一次. 默认为 undefined.
139
+ */
140
+ onUnmounted(listener: IKgVarOnUnmountedEventListener, isOnce?: boolean): IRemoveEventListener;
131
141
  /**
132
142
  * 父亲界面.
133
143
  */
134
144
  parent: ComputedRef<ReturnType<IKgVarStore['getParent']>>;
145
+ props: ComputedRef<ReturnType<IKgVarStore['getProps']>>;
135
146
  /**
136
147
  * 查询所有变量配置.
137
148
  *
@@ -140,6 +151,9 @@ export declare type IUseKgVar = {
140
151
  requestAll(param?: {
141
152
  isForceRequest?: boolean;
142
153
  }): Promise<void>;
154
+ setProps(props: IKgProps): void;
155
+ setSlots(slots: IKgSlots): void;
156
+ slots: ComputedRef<ReturnType<IKgVarStore['getSlots']>>;
143
157
  /** 状态数据. */
144
158
  store: IKgVarStore;
145
159
  /**