@kengic/vue 0.30.1-beta.96 → 0.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (873) hide show
  1. package/CHANGELOG.md +470 -0
  2. package/README.md +10 -0
  3. package/bin/bin.mjs +9 -24
  4. package/bin/postinstall.mjs +24 -4
  5. package/dist/aim-outlined.8d38a0f9.mjs +8 -0
  6. package/dist/align-left-outlined.579b01c6.mjs +8 -0
  7. package/dist/audit-outlined.4555f723.mjs +8 -0
  8. package/dist/bubble-loading.cd2fe007.mjs +8 -0
  9. package/dist/bulb-outlined.a5bf22d8.mjs +8 -0
  10. package/dist/card-text-outline.6e053122.mjs +8 -0
  11. package/dist/caret-down-outlined.c0564a3f.mjs +8 -0
  12. package/dist/caret-left-outlined.35b1d7d1.mjs +8 -0
  13. package/dist/caret-right-filled.dbbda237.mjs +8 -0
  14. package/dist/caret-right-outlined-Btgsw6a_.7ce8e8fe.mjs +8 -0
  15. package/dist/caret-right-outlined.12fe6699.mjs +8 -0
  16. package/dist/caret-up-outlined.81b559ad.mjs +8 -0
  17. package/dist/check-box-outline-blank.d01a2055.mjs +8 -0
  18. package/dist/check-circle-outlined.b219949f.mjs +8 -0
  19. package/dist/check-outlined.59c42074.mjs +8 -0
  20. package/dist/check-square-outlined.233589d8.mjs +8 -0
  21. package/dist/checkbox-indeterminate.e5386a53.mjs +8 -0
  22. package/dist/clock-circle-outline.b9d0b3dc.mjs +8 -0
  23. package/dist/close-circle-outlined.85f75690.mjs +8 -0
  24. package/dist/close-outlined-DMcSQWxQ.ce961fd1.mjs +8 -0
  25. package/dist/close-outlined.5757472a.mjs +8 -0
  26. package/dist/collapse-all-rounded.26ee73fc.mjs +8 -0
  27. package/dist/control-outlined.d66ac4d2.mjs +8 -0
  28. package/dist/copy-filled.a3dcd299.mjs +8 -0
  29. package/dist/copy-outlined.6a695d8a.mjs +8 -0
  30. package/dist/delete-outlined.20afb717.mjs +8 -0
  31. package/dist/delete-twotone.1d40696a.mjs +8 -0
  32. package/dist/double-right-outlined.f057a6b2.mjs +8 -0
  33. package/dist/down-circle-outlined.8ba93393.mjs +8 -0
  34. package/dist/download-outlined.e78b5364.mjs +8 -0
  35. package/dist/edit-outlined.0aae2217.mjs +8 -0
  36. package/dist/edit-twotone.67c952fa.mjs +8 -0
  37. package/dist/email-resend-outline.780506de.mjs +8 -0
  38. package/dist/exception-outlined.8c0003a2.mjs +8 -0
  39. package/dist/exclamation-circle-outlined-DZrXCnvM.07559897.mjs +8 -0
  40. package/dist/expand-all-rounded.e01e6cb9.mjs +8 -0
  41. package/dist/eye-invisible-outlined.5f8d6151.mjs +8 -0
  42. package/dist/eye-outlined.b25b4d28.mjs +8 -0
  43. package/dist/file-text-outline.2fbccab6.mjs +8 -0
  44. package/dist/fit-screen-outline.7341560f.mjs +8 -0
  45. package/dist/fullscreen-exit-outlined-X1iYkFc4.d7884311.mjs +8 -0
  46. package/dist/fullscreen-exit-outlined.b77fa876.mjs +8 -0
  47. package/dist/fullscreen-outlined-DDBrsRcy.d174b06a.mjs +8 -0
  48. package/dist/fullscreen-outlined.cd572ef8.mjs +8 -0
  49. package/dist/holder-outlined.9e698750.mjs +8 -0
  50. package/dist/index.css +1 -0
  51. package/dist/info-circle-outlined.7ddbd554.mjs +8 -0
  52. package/dist/kengic-vue.js +224275 -0
  53. package/dist/key-return-thin.ce6f074c.mjs +8 -0
  54. package/dist/loading-outlined.13a15197.mjs +8 -0
  55. package/dist/more-outlined.8e1202ac.mjs +8 -0
  56. package/dist/one-to-one-outlined.ac265beb.mjs +8 -0
  57. package/dist/palette-swatch-variant.f7258843.mjs +8 -0
  58. package/dist/partition-outlined.1bcf4f37.mjs +8 -0
  59. package/dist/pause-circle-outlined.cd534f5f.mjs +8 -0
  60. package/dist/pause-outlined.fca0d0f9.mjs +8 -0
  61. package/dist/pause-rounded.1ed7cc39.mjs +8 -0
  62. package/dist/play-arrow-rounded.90fc4173.mjs +8 -0
  63. package/dist/plus-outlined.bdaa6481.mjs +8 -0
  64. package/dist/printer-outlined.a8d0d92b.mjs +8 -0
  65. package/dist/profile-outlined.1059fb0d.mjs +8 -0
  66. package/dist/project/build/generate/generateModifyVars.ts +39 -0
  67. package/dist/project/index.ts +1 -0
  68. package/dist/project/types/global.d.ts +184 -0
  69. package/dist/release-gate-check.8c1ba629.mjs +8 -0
  70. package/dist/reload-outlined.d320578b.mjs +8 -0
  71. package/dist/retweet-outlined.bfa9b123.mjs +8 -0
  72. package/dist/save-as-outline-rounded.c65d61b2.mjs +8 -0
  73. package/dist/save-outline-rounded.c9c3f880.mjs +8 -0
  74. package/dist/search-outlined-Od1M_oxf.4a68e7e4.mjs +8 -0
  75. package/dist/search-outlined.ba5c5a3f.mjs +8 -0
  76. package/dist/setting-outlined.a3caf743.mjs +8 -0
  77. package/dist/src/api/WMS/Controllers/DescriptionController/List.d.ts +51 -0
  78. package/dist/src/api/WMS/Controllers/DescriptionController/ListByCodeNamesAndCodeValues.d.ts +16 -0
  79. package/dist/src/api/WMS/Controllers/DescriptionController/index.d.ts +2 -0
  80. package/dist/src/api/WMS/Controllers/SqlClientController/Execute.d.ts +16 -0
  81. package/dist/src/api/WMS/Controllers/SqlClientController/ExecutePage.d.ts +16 -0
  82. package/dist/src/api/WMS/Controllers/SqlClientController/index.d.ts +2 -0
  83. package/dist/src/api/WMS/Controllers/SysPermissionController/List.d.ts +73 -0
  84. package/dist/src/api/WMS/Controllers/SysPermissionController/index.d.ts +1 -0
  85. package/dist/src/api/WMS/Controllers/VarConfigDescriptionController/Add.d.ts +16 -0
  86. package/dist/src/api/WMS/Controllers/VarConfigDescriptionController/ListByFormId.d.ts +16 -0
  87. package/dist/src/api/WMS/Controllers/VarConfigPossibilityController/ExecuteQuery.d.ts +18 -0
  88. package/dist/src/api/WMS/Controllers/VarConfigPossibilityController/index.d.ts +1 -0
  89. package/dist/src/api/WMS/Controllers/VarController/GetAll.d.ts +16 -0
  90. package/dist/src/api/WMS/Controllers/VarController/index.d.ts +1 -0
  91. package/dist/src/api/WMS/Controllers/VarDdaController/Create.d.ts +16 -0
  92. package/dist/src/api/WMS/Controllers/VarDdaController/GetResultSetMetadataFromSql.d.ts +16 -0
  93. package/dist/src/api/WMS/Controllers/VarDdaController/ValidateCopySql.d.ts +16 -0
  94. package/dist/src/api/WMS/Controllers/VarDdaController/ValidateCreateSql.d.ts +16 -0
  95. package/dist/src/api/WMS/Controllers/VarDdaController/ValidateDeleteSql.d.ts +16 -0
  96. package/dist/src/api/WMS/Controllers/VarDdaController/ValidateFrmId.d.ts +16 -0
  97. package/dist/src/api/WMS/Controllers/VarDdaController/ValidateSearchSql.d.ts +16 -0
  98. package/dist/src/api/WMS/Controllers/VarDdaController/ValidateUpdateSql.d.ts +16 -0
  99. package/dist/src/api/WMS/Controllers/VarDdaController/ValidateVarButtonVarName.d.ts +16 -0
  100. package/dist/src/api/WMS/Controllers/VarDdaController/index.d.ts +9 -0
  101. package/dist/src/api/WMS/Controllers/VarGridMasterController/QueryByID.d.ts +19 -0
  102. package/dist/src/api/WMS/Controllers/VarGridMasterController/Update.d.ts +16 -0
  103. package/dist/src/api/WMS/Controllers/VarGridMasterController/index.d.ts +2 -0
  104. package/dist/src/api/WMS/Controllers/VarProfileMasterController/QueryByID.d.ts +19 -0
  105. package/dist/src/api/WMS/Controllers/VarProfileMasterController/index.d.ts +1 -0
  106. package/dist/src/api/WMS/Controllers/VarVariableController/Delete.d.ts +16 -0
  107. package/dist/src/api/WMS/Controllers/VarVariableController/index.d.ts +1 -0
  108. package/dist/src/api/WMS/Controllers/WarehouseController/ListVO.d.ts +25 -0
  109. package/dist/src/api/WMS/Controllers/WorkstationController/List.d.ts +25 -0
  110. package/dist/src/api/WMS/Controllers/WorkstationController/index.d.ts +1 -0
  111. package/dist/src/api/WMS/index.d.ts +2 -0
  112. package/dist/src/api/WMS/models.d.ts +1128 -0
  113. package/dist/src/api/api.d.ts +1 -0
  114. package/dist/src/api/def.d.ts +1 -0
  115. package/dist/src/api/index.d.ts +2 -0
  116. package/dist/src/component/KgAppSelect/KgAppSelect.d.ts +46 -0
  117. package/dist/src/component/KgAppSelect/KgAppSelect.event.d.ts +31 -0
  118. package/dist/src/component/KgAppSelect/KgAppSelect.hooks.d.ts +18 -0
  119. package/dist/src/component/KgAppSelect/KgAppSelect.store.d.ts +33 -0
  120. package/dist/src/component/KgAppSelect/index.d.ts +3 -0
  121. package/dist/src/component/KgButton/KgButton.Copy.d.ts +40 -0
  122. package/dist/src/component/KgButton/KgButton.Create.d.ts +40 -0
  123. package/dist/src/component/KgButton/KgButton.Delete.d.ts +40 -0
  124. package/dist/src/component/KgButton/KgButton.Export.d.ts +40 -0
  125. package/dist/src/component/KgButton/KgButton.Import.d.ts +40 -0
  126. package/dist/src/component/KgButton/KgButton.ImportTemplate.d.ts +40 -0
  127. package/dist/src/component/KgButton/KgButton.Item.d.ts +39 -0
  128. package/dist/src/component/KgButton/KgButton.Other.d.ts +40 -0
  129. package/dist/src/component/KgButton/KgButton.Search.d.ts +40 -0
  130. package/dist/src/component/KgButton/KgButton.Update.d.ts +40 -0
  131. package/dist/src/component/KgButton/KgButton.d.ts +39 -0
  132. package/dist/src/component/KgButton/KgButton.event.d.ts +81 -0
  133. package/dist/src/component/KgButton/KgButton.hooks.d.ts +67 -0
  134. package/dist/src/component/KgButton/KgButton.model.d.ts +31 -0
  135. package/dist/src/component/KgButton/KgButton.store.d.ts +92 -0
  136. package/dist/src/component/KgCanvas/KgCanvas.ContextMenu.d.ts +100 -0
  137. package/dist/src/component/KgCanvas/KgCanvas.ToolbarButton.Fullscreen.d.ts +37 -0
  138. package/dist/src/component/KgCanvas/KgCanvas.ToolbarButton.Mode.d.ts +7 -0
  139. package/dist/src/component/KgCanvas/KgCanvas.ToolbarButton.OverviewScale.d.ts +37 -0
  140. package/dist/src/component/KgCanvas/KgCanvas.Tooltip.d.ts +27 -0
  141. package/dist/src/component/KgCanvas/KgCanvas.d.ts +232 -0
  142. package/dist/src/component/KgCanvas/KgCanvas.event.d.ts +216 -0
  143. package/dist/src/component/KgCanvas/KgCanvas.hooks.d.ts +100 -0
  144. package/dist/src/component/KgCanvas/KgCanvas.model.d.ts +27 -0
  145. package/dist/src/component/KgCanvas/KgCanvas.service.d.ts +17 -0
  146. package/dist/src/component/KgCanvas/KgCanvas.store.d.ts +9 -0
  147. package/dist/src/component/KgCanvas/index.d.ts +4 -0
  148. package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.AreaSelect.d.ts +5 -0
  149. package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Canvas.d.ts +5 -0
  150. package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Canvas.service.d.ts +63 -0
  151. package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Legend.d.ts +5 -0
  152. package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Offline.d.ts +5 -0
  153. package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Setting.d.ts +5 -0
  154. package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Tab.Log.d.ts +5 -0
  155. package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Tab.Rgv.d.ts +33 -0
  156. package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.d.ts +5 -0
  157. package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.hooks.d.ts +29 -0
  158. package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.model.d.ts +127 -0
  159. package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.store.d.ts +354 -0
  160. package/dist/src/component/KgCircularShuttleMonitor/index.d.ts +3 -0
  161. package/dist/src/component/KgForm/KgForm.d.ts +413 -0
  162. package/dist/src/component/KgForm/KgForm.event.d.ts +202 -0
  163. package/dist/src/component/KgForm/KgForm.hooks.d.ts +92 -0
  164. package/dist/src/component/KgForm/KgForm.store.d.ts +23 -0
  165. package/dist/src/component/KgForm/index.d.ts +4 -0
  166. package/dist/src/component/KgForm.Item/KgForm.Item.Addon.DynamicQueryOperator.d.ts +49 -0
  167. package/dist/src/component/KgForm.Item/KgForm.Item.Addon.Lookup.Modal.d.ts +16 -0
  168. package/dist/src/component/KgForm.Item/KgForm.Item.Addon.Lookup.d.ts +31 -0
  169. package/dist/src/component/KgForm.Item/KgForm.Item.Checkbox.d.ts +98 -0
  170. package/dist/src/component/KgForm.Item/KgForm.Item.CheckboxGroup.d.ts +95 -0
  171. package/dist/src/component/KgForm.Item/KgForm.Item.Date.d.ts +95 -0
  172. package/dist/src/component/KgForm.Item/KgForm.Item.DateRange.d.ts +95 -0
  173. package/dist/src/component/KgForm.Item/KgForm.Item.Image.d.ts +90 -0
  174. package/dist/src/component/KgForm.Item/KgForm.Item.Input.d.ts +94 -0
  175. package/dist/src/component/KgForm.Item/KgForm.Item.InputNumber.d.ts +94 -0
  176. package/dist/src/component/KgForm.Item/KgForm.Item.InputPassword.d.ts +94 -0
  177. package/dist/src/component/KgForm.Item/KgForm.Item.Link.d.ts +93 -0
  178. package/dist/src/component/KgForm.Item/KgForm.Item.RadioGroup.d.ts +96 -0
  179. package/dist/src/component/KgForm.Item/KgForm.Item.Select.d.ts +95 -0
  180. package/dist/src/component/KgForm.Item/KgForm.Item.Select.service.d.ts +28 -0
  181. package/dist/src/component/KgForm.Item/KgForm.Item.Switch.d.ts +94 -0
  182. package/dist/src/component/KgForm.Item/KgForm.Item.TextArea.d.ts +94 -0
  183. package/dist/src/component/KgForm.Item/KgForm.Item.d.ts +95 -0
  184. package/dist/src/component/KgForm.Item/KgForm.Item.model.d.ts +111 -0
  185. package/dist/src/component/KgForm.Item/KgForm.Item.service.d.ts +17 -0
  186. package/dist/src/component/KgImage/KgImage.d.ts +100 -0
  187. package/dist/src/component/KgLayoutHeader/KgLayoutHeader.Locale.d.ts +38 -0
  188. package/dist/src/component/KgLayoutHeader/KgLayoutHeader.hooks.d.ts +4 -0
  189. package/dist/src/component/KgLayoutHeader/index.d.ts +2 -0
  190. package/dist/src/component/KgModal/KgModal.d.ts +817 -0
  191. package/dist/src/component/KgModal/KgModal.model.d.ts +8 -0
  192. package/dist/src/component/KgModal/KgModal.service.d.ts +37 -0
  193. package/dist/src/component/KgModal/KgModalHeaderButtons.d.ts +92 -0
  194. package/dist/src/component/KgModal02/KgModal02.d.ts +470 -0
  195. package/dist/src/component/KgModal02/KgModal02.model.d.ts +1 -0
  196. package/dist/src/component/KgProgressA/KgProgressA.d.ts +85 -0
  197. package/dist/src/component/KgResizable/KgResizable.d.ts +119 -0
  198. package/dist/src/component/KgResizable/KgResizable.service.d.ts +12 -0
  199. package/dist/src/component/KgSearch/KgSearch.d.ts +26 -0
  200. package/dist/src/component/KgSearch/KgSearch.event.d.ts +31 -0
  201. package/dist/src/component/KgSearch/KgSearch.hooks.d.ts +72 -0
  202. package/dist/src/component/KgSearch/KgSearch.service.d.ts +32 -0
  203. package/dist/src/component/KgSearch/KgSearch.store.d.ts +103 -0
  204. package/dist/src/component/KgSearch/index.d.ts +3 -0
  205. package/dist/src/component/KgSimulator/KgSimulator.Canvas.Title.d.ts +11 -0
  206. package/dist/src/component/KgSimulator/KgSimulator.Canvas.d.ts +11 -0
  207. package/dist/src/component/KgSimulator/KgSimulator.Canvas.service.d.ts +80 -0
  208. package/dist/src/component/KgSimulator/KgSimulator.Menu.Scene.Create.CircularConveyor.d.ts +36 -0
  209. package/dist/src/component/KgSimulator/KgSimulator.Menu.Scene.Open.CircularConveyor.d.ts +36 -0
  210. package/dist/src/component/KgSimulator/KgSimulator.Menu.d.ts +4 -0
  211. package/dist/src/component/KgSimulator/KgSimulator.Panel.Prefab.d.ts +4 -0
  212. package/dist/src/component/KgSimulator/KgSimulator.Panel.Property.d.ts +4 -0
  213. package/dist/src/component/KgSimulator/KgSimulator.Panel.Scene.d.ts +4 -0
  214. package/dist/src/component/KgSimulator/KgSimulator.Panel.d.ts +97 -0
  215. package/dist/src/component/KgSimulator/KgSimulator.Prefab.d.ts +108 -0
  216. package/dist/src/component/KgSimulator/KgSimulator.ToolbarButton.Prefab.d.ts +9 -0
  217. package/dist/src/component/KgSimulator/KgSimulator.ToolbarButton.Property.d.ts +9 -0
  218. package/dist/src/component/KgSimulator/KgSimulator.ToolbarButton.Scene.d.ts +9 -0
  219. package/dist/src/component/KgSimulator/KgSimulator.ToolbarButton.d.ts +113 -0
  220. package/dist/src/component/KgSimulator/KgSimulator.d.ts +33 -0
  221. package/dist/src/component/KgSimulator/KgSimulator.event.d.ts +93 -0
  222. package/dist/src/component/KgSimulator/KgSimulator.hooks.d.ts +103 -0
  223. package/dist/src/component/KgSimulator/KgSimulator.icons.d.ts +10 -0
  224. package/dist/src/component/KgSimulator/KgSimulator.model.d.ts +1502 -0
  225. package/dist/src/component/KgSimulator/KgSimulator.store.d.ts +474 -0
  226. package/dist/src/component/KgSimulator/KgSimulator.utils.d.ts +21 -0
  227. package/dist/src/component/KgSimulator/index.d.ts +3 -0
  228. package/dist/src/component/KgSubmit/KgSubmit.d.ts +21 -0
  229. package/dist/src/component/KgSubmit/KgSubmit.event.d.ts +135 -0
  230. package/dist/src/component/KgSubmit/KgSubmit.hooks.d.ts +358 -0
  231. package/dist/src/component/KgSubmit/KgSubmit.model.d.ts +57 -0
  232. package/dist/src/component/KgSubmit/KgSubmit.service.d.ts +29 -0
  233. package/dist/src/component/KgSubmit/KgSubmit.store.d.ts +112 -0
  234. package/dist/src/component/KgSubmit/index.d.ts +4 -0
  235. package/dist/src/component/KgTable/KgTable.BodyCell.d.ts +60 -0
  236. package/dist/src/component/KgTable/KgTable.HeadCell.d.ts +51 -0
  237. package/dist/src/component/KgTable/KgTable.Info.d.ts +57 -0
  238. package/dist/src/component/KgTable/KgTable.Setting.VarGridMaster.SaveAs.d.ts +4 -0
  239. package/dist/src/component/KgTable/KgTable.Setting.d.ts +20 -0
  240. package/dist/src/component/KgTable/KgTable.Setting.service.d.ts +22 -0
  241. package/dist/src/component/KgTable/KgTable.d.ts +39 -0
  242. package/dist/src/component/KgTable/KgTable.event.d.ts +111 -0
  243. package/dist/src/component/KgTable/KgTable.hooks.d.ts +135 -0
  244. package/dist/src/component/KgTable/KgTable.model.d.ts +65 -0
  245. package/dist/src/component/KgTable/KgTable.service.d.ts +34 -0
  246. package/dist/src/component/KgTable/KgTable.store.d.ts +91 -0
  247. package/dist/src/component/KgTable/index.d.ts +4 -0
  248. package/dist/src/component/KgTable02/KgTable02.BodyCell.d.ts +72 -0
  249. package/dist/src/component/KgTable02/KgTable02.d.ts +46 -0
  250. package/dist/src/component/KgTable02/KgTable02.event.d.ts +123 -0
  251. package/dist/src/component/KgTable02/KgTable02.hooks.d.ts +62 -0
  252. package/dist/src/component/KgTable02/KgTable02.store.d.ts +62 -0
  253. package/dist/src/component/KgTable02/index.d.ts +4 -0
  254. package/dist/src/component/KgVar/KgVar.Factory.d.ts +106 -0
  255. package/dist/src/component/KgVar/KgVar.d.ts +120 -0
  256. package/dist/src/component/KgVar/KgVar.event.d.ts +75 -0
  257. package/dist/src/component/KgVar/KgVar.hooks.d.ts +307 -0
  258. package/dist/src/component/KgVar/KgVar.model.d.ts +70 -0
  259. package/dist/src/component/KgVar/KgVar.store.d.ts +269 -0
  260. package/dist/src/component/KgVar/index.d.ts +5 -0
  261. package/dist/src/component/KgVarConfig/KgVarConfig.d.ts +3 -0
  262. package/dist/src/component/KgVarConfig/KgVarConfig.hooks.d.ts +3 -0
  263. package/dist/src/component/KgVarConfig/KgVarConfig.model.d.ts +42 -0
  264. package/dist/src/component/KgVarConfig/KgVarConfig.store.d.ts +16 -0
  265. package/dist/src/component/KgVarConfig/components/KgVarConfig.SelectFormIdModal.d.ts +27 -0
  266. package/dist/src/component/KgVarConfig/components/KgVarConfigModal.d.ts +53 -0
  267. package/dist/src/component/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButton.d.ts +7 -0
  268. package/dist/src/component/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButtonConfig.d.ts +7 -0
  269. package/dist/src/component/KgVarConfig/components/button/KgVarConfig.Modal.Button.d.ts +5 -0
  270. package/dist/src/component/KgVarConfig/components/child/KgVarConfig.Modal.Child.d.ts +7 -0
  271. package/dist/src/component/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileConfig.d.ts +7 -0
  272. package/dist/src/component/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileMaster.d.ts +7 -0
  273. package/dist/src/component/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileMaster.service.d.ts +17 -0
  274. package/dist/src/component/KgVarConfig/components/search/KgVarConfig.Modal.Search.d.ts +5 -0
  275. package/dist/src/component/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitConfig.d.ts +7 -0
  276. package/dist/src/component/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitDetail.d.ts +7 -0
  277. package/dist/src/component/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.d.ts +5 -0
  278. package/dist/src/component/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridConfig.d.ts +7 -0
  279. package/dist/src/component/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridMaster.d.ts +7 -0
  280. package/dist/src/component/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridMaster.service.d.ts +23 -0
  281. package/dist/src/component/KgVarConfig/components/table/KgVarConfig.Modal.Table.d.ts +5 -0
  282. package/dist/src/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigControl.d.ts +2 -0
  283. package/dist/src/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigDescription.d.ts +2 -0
  284. package/dist/src/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigInput.d.ts +2 -0
  285. package/dist/src/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigLookup.d.ts +2 -0
  286. package/dist/src/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigPossibility.d.ts +2 -0
  287. package/dist/src/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigTip.d.ts +2 -0
  288. package/dist/src/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarVariable.d.ts +2 -0
  289. package/dist/src/component/KgVarConfig/index.d.ts +3 -0
  290. package/dist/src/component/KgWarehouse/KgWarehouse.d.ts +50 -0
  291. package/dist/src/component/KgWarehouse/KgWarehouse.event.d.ts +30 -0
  292. package/dist/src/component/KgWarehouse/KgWarehouse.guard.d.ts +8 -0
  293. package/dist/src/component/KgWarehouse/KgWarehouse.hooks.d.ts +41 -0
  294. package/dist/src/component/KgWarehouse/KgWarehouse.store.d.ts +27 -0
  295. package/dist/src/component/KgWarehouse/index.d.ts +4 -0
  296. package/dist/src/component/KgWorkStation/KgWorkStation.d.ts +44 -0
  297. package/dist/src/component/KgWorkStation/KgWorkStation.event.d.ts +27 -0
  298. package/dist/src/component/KgWorkStation/KgWorkStation.hooks.d.ts +28 -0
  299. package/dist/src/component/KgWorkStation/KgWorkStation.store.d.ts +37 -0
  300. package/dist/src/component/KgYesOrNo/KgYesOrNo.d.ts +60 -0
  301. package/dist/src/component/index.d.ts +22 -0
  302. package/dist/src/config/config.hooks.d.ts +10 -0
  303. package/dist/src/config/config.store.d.ts +304 -0
  304. package/dist/src/config/index.d.ts +63 -0
  305. package/dist/src/i18n/cs_CZ.d.ts +2 -0
  306. package/dist/src/i18n/en.d.ts +237 -0
  307. package/dist/src/i18n/es_ES.d.ts +2 -0
  308. package/dist/src/i18n/fr_FR.d.ts +2 -0
  309. package/dist/src/i18n/i18n.setup.d.ts +20 -0
  310. package/dist/src/i18n/index.d.ts +2 -0
  311. package/dist/src/i18n/km_KH.d.ts +2 -0
  312. package/dist/src/i18n/ko_KR.d.ts +2 -0
  313. package/dist/src/i18n/vi_VN.d.ts +2 -0
  314. package/dist/src/i18n/zh_CN.d.ts +238 -0
  315. package/dist/src/index.d.ts +12 -0
  316. package/dist/src/model/index.d.ts +1976 -0
  317. package/dist/src/page/KgPageCircularShuttleMonitor/KgPageCircularShuttleMonitor.d.ts +11 -0
  318. package/dist/src/page/KgPageDda/KgPageDda.d.ts +10 -0
  319. package/dist/src/page/KgPageDda/components/KgPageDda.Create.Basic.SqlModal.d.ts +32 -0
  320. package/dist/src/page/KgPageDda/components/KgPageDda.Create.Basic.d.ts +6 -0
  321. package/dist/src/page/KgPageDda/components/KgPageDda.Create.Button.d.ts +6 -0
  322. package/dist/src/page/KgPageDda/components/KgPageDda.Create.Menu.d.ts +6 -0
  323. package/dist/src/page/KgPageDda/components/KgPageDda.Create.Search.d.ts +6 -0
  324. package/dist/src/page/KgPageDda/components/KgPageDda.Create.Submit.d.ts +6 -0
  325. package/dist/src/page/KgPageDda/components/KgPageDda.Create.Table.d.ts +6 -0
  326. package/dist/src/page/KgPageDda/components/KgPageDda.Create.d.ts +32 -0
  327. package/dist/src/page/KgPageDda/components/KgPageDda.Create.store.d.ts +39 -0
  328. package/dist/src/page/KgPageDda/index.d.ts +5 -0
  329. package/dist/src/page/KgPageSqlClient/KgPageSqlClient.d.ts +12 -0
  330. package/dist/src/page/KgPageSqlClient/components/KgSqlClient.Editor.d.ts +13 -0
  331. package/dist/src/page/KgPageSqlClient/components/KgSqlClient.ResultTab.d.ts +36 -0
  332. package/dist/src/page/KgPageSqlClient/components/KgSqlClient.Toolbar.Top.d.ts +7 -0
  333. package/dist/src/page/KgPageSqlClient/components/KgSqlClient.d.ts +5 -0
  334. package/dist/src/page/index.d.ts +8 -0
  335. package/dist/src/project/build/getConfigFileName.d.ts +5 -0
  336. package/dist/src/project/build/index.d.ts +1 -0
  337. package/dist/src/project/index.d.ts +3 -0
  338. package/dist/src/project/src/api/sys/menu.d.ts +4 -0
  339. package/dist/src/project/src/api/sys/model/menuModel.d.ts +15 -0
  340. package/dist/src/project/src/api/sys/model/userModel.d.ts +46 -0
  341. package/dist/src/project/src/components/Application/src/useAppContext.d.ts +9 -0
  342. package/dist/src/project/src/components/index.d.ts +2 -0
  343. package/dist/src/project/src/enums/CompTypeEnum.d.ts +19 -0
  344. package/dist/src/project/src/enums/DateTypeEnum.d.ts +8 -0
  345. package/dist/src/project/src/enums/appEnum.d.ts +40 -0
  346. package/dist/src/project/src/enums/breakpointEnum.d.ts +18 -0
  347. package/dist/src/project/src/enums/cacheEnum.d.ts +18 -0
  348. package/dist/src/project/src/enums/exceptionEnum.d.ts +17 -0
  349. package/dist/src/project/src/enums/httpEnum.d.ts +38 -0
  350. package/dist/src/project/src/enums/jeecgEnum.d.ts +16 -0
  351. package/dist/src/project/src/enums/menuEnum.d.ts +35 -0
  352. package/dist/src/project/src/enums/pageEnum.d.ts +14 -0
  353. package/dist/src/project/src/enums/roleEnum.d.ts +4 -0
  354. package/dist/src/project/src/enums/sizeEnum.d.ts +18 -0
  355. package/dist/src/project/src/hooks/component/useFormItem.d.ts +2 -0
  356. package/dist/src/project/src/hooks/component/usePageContext.d.ts +10 -0
  357. package/dist/src/project/src/hooks/core/onMountedOrActivated.d.ts +1 -0
  358. package/dist/src/project/src/hooks/core/useAttrs.d.ts +9 -0
  359. package/dist/src/project/src/hooks/core/useContext.d.ts +11 -0
  360. package/dist/src/project/src/hooks/core/useRefs.d.ts +2 -0
  361. package/dist/src/project/src/hooks/core/useTimeout.d.ts +10 -0
  362. package/dist/src/project/src/hooks/event/useBreakpoint.d.ts +22 -0
  363. package/dist/src/project/src/hooks/event/useEventListener.d.ts +14 -0
  364. package/dist/src/project/src/hooks/event/useIntersectionObserver.d.ts +13 -0
  365. package/dist/src/project/src/hooks/event/useScrollTo.d.ts +10 -0
  366. package/dist/src/project/src/hooks/event/useWindowSizeFn.d.ts +7 -0
  367. package/dist/src/project/src/hooks/index.d.ts +21 -0
  368. package/dist/src/project/src/hooks/jeecg/useAdaptiveWidth.d.ts +18 -0
  369. package/dist/src/project/src/hooks/setting/index.d.ts +2 -0
  370. package/dist/src/project/src/hooks/web/useAppInject.d.ts +3 -0
  371. package/dist/src/project/src/hooks/web/useContentHeight.d.ts +24 -0
  372. package/dist/src/project/src/hooks/web/useCopyToClipboard.d.ts +10 -0
  373. package/dist/src/project/src/hooks/web/useDesign.d.ts +4 -0
  374. package/dist/src/project/src/hooks/web/usePage.d.ts +10 -0
  375. package/dist/src/project/src/hooks/web/usePagination.d.ts +7 -0
  376. package/dist/src/project/src/hooks/web/useWebSocket.d.ts +18 -0
  377. package/dist/src/project/src/layouts/default/content/useContentContext.d.ts +9 -0
  378. package/dist/src/project/src/layouts/default/content/useContentViewHeight.d.ts +7 -0
  379. package/dist/src/project/src/locales/helper.d.ts +4 -0
  380. package/dist/src/project/src/locales/setupI18n.d.ts +4 -0
  381. package/dist/src/project/src/locales/useLocale.d.ts +11 -0
  382. package/dist/src/project/src/router/constant2.d.ts +3 -0
  383. package/dist/src/project/src/router/types.d.ts +61 -0
  384. package/dist/src/project/src/settings/componentSetting.d.ts +44 -0
  385. package/dist/src/project/src/settings/designSetting.d.ts +6 -0
  386. package/dist/src/project/src/settings/encryptionSetting.d.ts +6 -0
  387. package/dist/src/project/src/settings/projectSetting.d.ts +3 -0
  388. package/dist/src/project/src/store/modules/locale.d.ts +38 -0
  389. package/dist/src/project/src/utils/auth/index.d.ts +19 -0
  390. package/dist/src/project/src/utils/bem.d.ts +15 -0
  391. package/dist/src/project/src/utils/cache/index.d.ts +7 -0
  392. package/dist/src/project/src/utils/cache/memory.d.ts +22 -0
  393. package/dist/src/project/src/utils/cache/persistent.d.ts +33 -0
  394. package/dist/src/project/src/utils/cache/storageCache.d.ts +8 -0
  395. package/dist/src/project/src/utils/cipher.d.ts +19 -0
  396. package/dist/src/project/src/utils/color.d.ts +29 -0
  397. package/dist/src/project/src/utils/common/compUtils.d.ts +87 -0
  398. package/dist/src/project/src/utils/common/functionUtils.d.ts +6 -0
  399. package/dist/src/project/src/utils/dateUtil.d.ts +4 -0
  400. package/dist/src/project/src/utils/domUtils.d.ts +28 -0
  401. package/dist/src/project/src/utils/encryption/signMd5Utils.d.ts +29 -0
  402. package/dist/src/project/src/utils/env.d.ts +16 -0
  403. package/dist/src/project/src/utils/event/index.d.ts +3 -0
  404. package/dist/src/project/src/utils/factory/createAsyncComponent.d.ts +9 -0
  405. package/dist/src/project/src/utils/file/base64Conver.d.ts +4 -0
  406. package/dist/src/project/src/utils/file/download.d.ts +9 -0
  407. package/dist/src/project/src/utils/helper/treeHelper.d.ts +34 -0
  408. package/dist/src/project/src/utils/helper/tsxHelper.d.ts +13 -0
  409. package/dist/src/project/src/utils/index.index.d.ts +42 -0
  410. package/dist/src/project/src/utils/is.d.ts +17 -0
  411. package/dist/src/project/src/utils/mitt.d.ts +26 -0
  412. package/dist/src/project/src/utils/propTypes.d.ts +9 -0
  413. package/dist/src/project/src/utils/props.d.ts +68 -0
  414. package/dist/src/project/src/utils/uuid.d.ts +2 -0
  415. package/dist/src/project/types/axios.d.ts +35 -0
  416. package/dist/src/project/types/config.d.ts +108 -0
  417. package/dist/src/project/types/store.d.ts +43 -0
  418. package/dist/src/project/types/utils.d.ts +4 -0
  419. package/dist/src/service/http-client.d.ts +98 -0
  420. package/dist/src/util/ant-design-vue.d.ts +347 -0
  421. package/dist/src/util/event.util.d.ts +15 -0
  422. package/dist/src/util/kg-auth.util.d.ts +12 -0
  423. package/dist/src/util/kg-route.util.d.ts +18 -0
  424. package/dist/src/util/kg.util.d.ts +347 -0
  425. package/dist/src/util/tsx.helper.d.ts +23 -0
  426. package/dist/stop-outlined.9f2c4f61.mjs +8 -0
  427. package/dist/stop.ea3dde55.mjs +8 -0
  428. package/dist/three-dots-loading-bIlrTJYR.ebceb73e.mjs +8 -0
  429. package/dist/upload-outlined.c576b26a.mjs +8 -0
  430. package/package.json +68 -10
  431. package/api/WMS/Controllers/DescriptionController/List.ts +0 -84
  432. package/api/WMS/Controllers/DescriptionController/ListByCodeNamesAndCodeValues.ts +0 -21
  433. package/api/WMS/Controllers/DescriptionController/index.ts +0 -2
  434. package/api/WMS/Controllers/SqlClientController/Execute.ts +0 -21
  435. package/api/WMS/Controllers/SqlClientController/ExecutePage.ts +0 -21
  436. package/api/WMS/Controllers/SqlClientController/index.ts +0 -2
  437. package/api/WMS/Controllers/SysPermissionController/List.ts +0 -117
  438. package/api/WMS/Controllers/SysPermissionController/index.ts +0 -1
  439. package/api/WMS/Controllers/VarConfigDescriptionController/Add.ts +0 -21
  440. package/api/WMS/Controllers/VarConfigDescriptionController/ListByFormId.ts +0 -21
  441. package/api/WMS/Controllers/VarConfigPossibilityController/ExecuteQuery.ts +0 -36
  442. package/api/WMS/Controllers/VarConfigPossibilityController/index.ts +0 -1
  443. package/api/WMS/Controllers/VarController/GetAll.ts +0 -21
  444. package/api/WMS/Controllers/VarController/index.ts +0 -1
  445. package/api/WMS/Controllers/VarDdaController/Create.ts +0 -21
  446. package/api/WMS/Controllers/VarDdaController/GetResultSetMetadataFromSql.ts +0 -21
  447. package/api/WMS/Controllers/VarDdaController/ValidateCopySql.ts +0 -21
  448. package/api/WMS/Controllers/VarDdaController/ValidateCreateSql.ts +0 -21
  449. package/api/WMS/Controllers/VarDdaController/ValidateDeleteSql.ts +0 -21
  450. package/api/WMS/Controllers/VarDdaController/ValidateFrmId.ts +0 -21
  451. package/api/WMS/Controllers/VarDdaController/ValidateSearchSql.ts +0 -21
  452. package/api/WMS/Controllers/VarDdaController/ValidateUpdateSql.ts +0 -21
  453. package/api/WMS/Controllers/VarDdaController/ValidateVarButtonVarName.ts +0 -21
  454. package/api/WMS/Controllers/VarDdaController/index.ts +0 -9
  455. package/api/WMS/Controllers/VarGridMasterController/QueryByID.ts +0 -36
  456. package/api/WMS/Controllers/VarGridMasterController/Update.ts +0 -21
  457. package/api/WMS/Controllers/VarGridMasterController/index.ts +0 -2
  458. package/api/WMS/Controllers/VarProfileMasterController/QueryByID.ts +0 -36
  459. package/api/WMS/Controllers/VarProfileMasterController/index.ts +0 -1
  460. package/api/WMS/Controllers/VarVariableController/Delete.ts +0 -21
  461. package/api/WMS/Controllers/VarVariableController/index.ts +0 -1
  462. package/api/WMS/Controllers/WarehouseController/ListVO.ts +0 -45
  463. package/api/WMS/Controllers/WorkstationController/List.ts +0 -45
  464. package/api/WMS/Controllers/WorkstationController/index.ts +0 -1
  465. package/api/WMS/index.ts +0 -2
  466. package/api/WMS/models.ts +0 -2113
  467. package/api/api.ts +0 -1
  468. package/api/def.ts +0 -1
  469. package/api/index.ts +0 -2
  470. package/asset/ant.less +0 -678
  471. package/asset/element-plus.css +0 -112
  472. package/asset/flag/cs_CZ.png +0 -0
  473. package/asset/flag/en.png +0 -0
  474. package/asset/flag/es_ES.png +0 -0
  475. package/asset/flag/fr_FR.png +0 -0
  476. package/asset/flag/km_KH.png +0 -0
  477. package/asset/flag/ko_KR.png +0 -0
  478. package/asset/flag/vi_VN.png +0 -0
  479. package/asset/flag/zh_CN.png +0 -0
  480. package/asset/images/warehouse.000000.svg +0 -9
  481. package/asset/images/warehouse.1890ff.svg +0 -9
  482. package/asset/index.less +0 -347
  483. package/asset/jeecg.less +0 -382
  484. package/asset/var.less +0 -3
  485. package/asset/vxe.less +0 -51
  486. package/component/KgAppSelect/KgAppSelect.event.ts +0 -52
  487. package/component/KgAppSelect/KgAppSelect.hooks.ts +0 -50
  488. package/component/KgAppSelect/KgAppSelect.less +0 -30
  489. package/component/KgAppSelect/KgAppSelect.store.ts +0 -162
  490. package/component/KgAppSelect/KgAppSelect.tsx +0 -60
  491. package/component/KgAppSelect/index.ts +0 -4
  492. package/component/KgButton/KgButton.Copy.tsx +0 -143
  493. package/component/KgButton/KgButton.Create.tsx +0 -208
  494. package/component/KgButton/KgButton.Delete.tsx +0 -156
  495. package/component/KgButton/KgButton.Export.tsx +0 -294
  496. package/component/KgButton/KgButton.Import.tsx +0 -247
  497. package/component/KgButton/KgButton.ImportTemplate.tsx +0 -214
  498. package/component/KgButton/KgButton.Item.tsx +0 -128
  499. package/component/KgButton/KgButton.Other.tsx +0 -292
  500. package/component/KgButton/KgButton.Search.tsx +0 -146
  501. package/component/KgButton/KgButton.Update.tsx +0 -210
  502. package/component/KgButton/KgButton.event.ts +0 -157
  503. package/component/KgButton/KgButton.hooks.ts +0 -117
  504. package/component/KgButton/KgButton.less +0 -187
  505. package/component/KgButton/KgButton.model.tsx +0 -39
  506. package/component/KgButton/KgButton.store.ts +0 -333
  507. package/component/KgButton/KgButton.tsx +0 -221
  508. package/component/KgCanvas/KgCanvas.ContextMenu.tsx +0 -181
  509. package/component/KgCanvas/KgCanvas.ToolbarButton.Fullscreen.tsx +0 -80
  510. package/component/KgCanvas/KgCanvas.ToolbarButton.Mode.tsx +0 -68
  511. package/component/KgCanvas/KgCanvas.ToolbarButton.OverviewScale.tsx +0 -66
  512. package/component/KgCanvas/KgCanvas.Tooltip.tsx +0 -118
  513. package/component/KgCanvas/KgCanvas.css +0 -128
  514. package/component/KgCanvas/KgCanvas.event.ts +0 -380
  515. package/component/KgCanvas/KgCanvas.hooks.ts +0 -181
  516. package/component/KgCanvas/KgCanvas.model.ts +0 -31
  517. package/component/KgCanvas/KgCanvas.service.tsx +0 -116
  518. package/component/KgCanvas/KgCanvas.store.ts +0 -68
  519. package/component/KgCanvas/KgCanvas.tsx +0 -632
  520. package/component/KgCanvas/index.ts +0 -5
  521. package/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.AreaSelect.tsx +0 -107
  522. package/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Canvas.service.tsx +0 -3053
  523. package/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Canvas.tsx +0 -606
  524. package/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Legend.tsx +0 -71
  525. package/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Offline.tsx +0 -50
  526. package/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Setting.tsx +0 -169
  527. package/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Tab.Log.tsx +0 -30
  528. package/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Tab.Rgv.tsx +0 -672
  529. package/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.css +0 -510
  530. package/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.hooks.ts +0 -78
  531. package/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.model.ts +0 -161
  532. package/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.store.tsx +0 -744
  533. package/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.tsx +0 -171
  534. package/component/KgCircularShuttleMonitor/index.ts +0 -4
  535. package/component/KgForm/KgForm.event.ts +0 -328
  536. package/component/KgForm/KgForm.hooks.ts +0 -158
  537. package/component/KgForm/KgForm.less +0 -0
  538. package/component/KgForm/KgForm.store.ts +0 -36
  539. package/component/KgForm/KgForm.tsx +0 -61
  540. package/component/KgForm/index.ts +0 -10
  541. package/component/KgForm.Item/KgForm.Item.Addon.DynamicQueryOperator.tsx +0 -88
  542. package/component/KgForm.Item/KgForm.Item.Addon.Lookup.Modal.tsx +0 -191
  543. package/component/KgForm.Item/KgForm.Item.Addon.Lookup.tsx +0 -76
  544. package/component/KgForm.Item/KgForm.Item.Checkbox.tsx +0 -61
  545. package/component/KgForm.Item/KgForm.Item.CheckboxGroup.tsx +0 -176
  546. package/component/KgForm.Item/KgForm.Item.Date.tsx +0 -88
  547. package/component/KgForm.Item/KgForm.Item.DateRange.tsx +0 -110
  548. package/component/KgForm.Item/KgForm.Item.Image.tsx +0 -35
  549. package/component/KgForm.Item/KgForm.Item.Input.tsx +0 -72
  550. package/component/KgForm.Item/KgForm.Item.InputNumber.tsx +0 -68
  551. package/component/KgForm.Item/KgForm.Item.InputPassword.tsx +0 -72
  552. package/component/KgForm.Item/KgForm.Item.Link.tsx +0 -37
  553. package/component/KgForm.Item/KgForm.Item.RadioGroup.tsx +0 -91
  554. package/component/KgForm.Item/KgForm.Item.Select.service.tsx +0 -317
  555. package/component/KgForm.Item/KgForm.Item.Select.tsx +0 -236
  556. package/component/KgForm.Item/KgForm.Item.Switch.tsx +0 -49
  557. package/component/KgForm.Item/KgForm.Item.TextArea.tsx +0 -99
  558. package/component/KgForm.Item/KgForm.Item.less +0 -476
  559. package/component/KgForm.Item/KgForm.Item.model.ts +0 -129
  560. package/component/KgForm.Item/KgForm.Item.service.tsx +0 -479
  561. package/component/KgForm.Item/KgForm.Item.tsx +0 -642
  562. package/component/KgImage/KgImage.less +0 -12
  563. package/component/KgImage/KgImage.tsx +0 -73
  564. package/component/KgLayoutHeader/KgLayoutHeader.Locale.tsx +0 -118
  565. package/component/KgLayoutHeader/KgLayoutHeader.hooks.ts +0 -31
  566. package/component/KgLayoutHeader/KgLayoutHeader.less +0 -14
  567. package/component/KgLayoutHeader/index.ts +0 -3
  568. package/component/KgModal/KgModal.css +0 -234
  569. package/component/KgModal/KgModal.model.ts +0 -9
  570. package/component/KgModal/KgModal.service.ts +0 -560
  571. package/component/KgModal/KgModal.tsx +0 -207
  572. package/component/KgModal/KgModalHeaderButtons.tsx +0 -130
  573. package/component/KgModal02/KgModal02.css +0 -11
  574. package/component/KgModal02/KgModal02.model.ts +0 -1
  575. package/component/KgModal02/KgModal02.tsx +0 -93
  576. package/component/KgProgressA/KgProgressA.less +0 -35
  577. package/component/KgProgressA/KgProgressA.tsx +0 -90
  578. package/component/KgResizable/KgResizable.less +0 -114
  579. package/component/KgResizable/KgResizable.service.tsx +0 -41
  580. package/component/KgResizable/KgResizable.tsx +0 -239
  581. package/component/KgSearch/KgSearch.event.ts +0 -78
  582. package/component/KgSearch/KgSearch.hooks.ts +0 -160
  583. package/component/KgSearch/KgSearch.less +0 -251
  584. package/component/KgSearch/KgSearch.service.tsx +0 -236
  585. package/component/KgSearch/KgSearch.store.ts +0 -609
  586. package/component/KgSearch/KgSearch.tsx +0 -506
  587. package/component/KgSearch/index.ts +0 -4
  588. package/component/KgSimulator/KgSimulator.Canvas.Title.tsx +0 -71
  589. package/component/KgSimulator/KgSimulator.Canvas.service.tsx +0 -3403
  590. package/component/KgSimulator/KgSimulator.Canvas.tsx +0 -1105
  591. package/component/KgSimulator/KgSimulator.Menu.Scene.Create.CircularConveyor.tsx +0 -258
  592. package/component/KgSimulator/KgSimulator.Menu.Scene.Open.CircularConveyor.tsx +0 -214
  593. package/component/KgSimulator/KgSimulator.Menu.tsx +0 -446
  594. package/component/KgSimulator/KgSimulator.Panel.Prefab.tsx +0 -87
  595. package/component/KgSimulator/KgSimulator.Panel.Property.tsx +0 -1120
  596. package/component/KgSimulator/KgSimulator.Panel.Scene.tsx +0 -819
  597. package/component/KgSimulator/KgSimulator.Panel.tsx +0 -149
  598. package/component/KgSimulator/KgSimulator.Prefab.tsx +0 -142
  599. package/component/KgSimulator/KgSimulator.ToolbarButton.Prefab.tsx +0 -44
  600. package/component/KgSimulator/KgSimulator.ToolbarButton.Property.tsx +0 -40
  601. package/component/KgSimulator/KgSimulator.ToolbarButton.Scene.tsx +0 -40
  602. package/component/KgSimulator/KgSimulator.ToolbarButton.tsx +0 -130
  603. package/component/KgSimulator/KgSimulator.css +0 -610
  604. package/component/KgSimulator/KgSimulator.event.ts +0 -197
  605. package/component/KgSimulator/KgSimulator.hooks.ts +0 -237
  606. package/component/KgSimulator/KgSimulator.icons.tsx +0 -148
  607. package/component/KgSimulator/KgSimulator.model.ts +0 -2629
  608. package/component/KgSimulator/KgSimulator.store.tsx +0 -1192
  609. package/component/KgSimulator/KgSimulator.tsx +0 -235
  610. package/component/KgSimulator/KgSimulator.utils.ts +0 -30
  611. package/component/KgSimulator/index.ts +0 -4
  612. package/component/KgSubmit/KgSubmit.event.ts +0 -272
  613. package/component/KgSubmit/KgSubmit.hooks.ts +0 -662
  614. package/component/KgSubmit/KgSubmit.less +0 -174
  615. package/component/KgSubmit/KgSubmit.model.ts +0 -82
  616. package/component/KgSubmit/KgSubmit.service.tsx +0 -368
  617. package/component/KgSubmit/KgSubmit.store.ts +0 -568
  618. package/component/KgSubmit/KgSubmit.tsx +0 -1132
  619. package/component/KgSubmit/index.ts +0 -5
  620. package/component/KgTable/KgTable.BodyCell.tsx +0 -475
  621. package/component/KgTable/KgTable.HeadCell.tsx +0 -333
  622. package/component/KgTable/KgTable.Info.tsx +0 -133
  623. package/component/KgTable/KgTable.Setting.VarGridMaster.SaveAs.tsx +0 -63
  624. package/component/KgTable/KgTable.Setting.service.tsx +0 -285
  625. package/component/KgTable/KgTable.Setting.tsx +0 -377
  626. package/component/KgTable/KgTable.event.ts +0 -206
  627. package/component/KgTable/KgTable.hooks.ts +0 -235
  628. package/component/KgTable/KgTable.less +0 -912
  629. package/component/KgTable/KgTable.model.ts +0 -73
  630. package/component/KgTable/KgTable.service.tsx +0 -781
  631. package/component/KgTable/KgTable.store.ts +0 -390
  632. package/component/KgTable/KgTable.tsx +0 -1105
  633. package/component/KgTable/index.ts +0 -5
  634. package/component/KgTable02/KgTable02.BodyCell.tsx +0 -407
  635. package/component/KgTable02/KgTable02.css +0 -199
  636. package/component/KgTable02/KgTable02.event.ts +0 -224
  637. package/component/KgTable02/KgTable02.hooks.ts +0 -111
  638. package/component/KgTable02/KgTable02.store.ts +0 -186
  639. package/component/KgTable02/KgTable02.tsx +0 -865
  640. package/component/KgTable02/index.ts +0 -5
  641. package/component/KgVar/KgVar.Factory.tsx +0 -146
  642. package/component/KgVar/KgVar.css +0 -125
  643. package/component/KgVar/KgVar.event.ts +0 -122
  644. package/component/KgVar/KgVar.hooks.ts +0 -543
  645. package/component/KgVar/KgVar.model.ts +0 -86
  646. package/component/KgVar/KgVar.store.ts +0 -2966
  647. package/component/KgVar/KgVar.tsx +0 -276
  648. package/component/KgVar/index.ts +0 -6
  649. package/component/KgVarConfig/KgVarConfig.hooks.ts +0 -19
  650. package/component/KgVarConfig/KgVarConfig.less +0 -499
  651. package/component/KgVarConfig/KgVarConfig.model.ts +0 -56
  652. package/component/KgVarConfig/KgVarConfig.store.ts +0 -29
  653. package/component/KgVarConfig/KgVarConfig.tsx +0 -139
  654. package/component/KgVarConfig/components/KgVarConfig.SelectFormIdModal.tsx +0 -138
  655. package/component/KgVarConfig/components/KgVarConfigModal.tsx +0 -228
  656. package/component/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButton.tsx +0 -647
  657. package/component/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButtonConfig.tsx +0 -64
  658. package/component/KgVarConfig/components/button/KgVarConfig.Modal.Button.tsx +0 -44
  659. package/component/KgVarConfig/components/child/KgVarConfig.Modal.Child.tsx +0 -265
  660. package/component/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileConfig.tsx +0 -64
  661. package/component/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileMaster.service.tsx +0 -408
  662. package/component/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileMaster.tsx +0 -399
  663. package/component/KgVarConfig/components/search/KgVarConfig.Modal.Search.tsx +0 -44
  664. package/component/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitConfig.tsx +0 -336
  665. package/component/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitDetail.tsx +0 -165
  666. package/component/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.tsx +0 -44
  667. package/component/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridConfig.tsx +0 -209
  668. package/component/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridMaster.service.tsx +0 -567
  669. package/component/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridMaster.tsx +0 -398
  670. package/component/KgVarConfig/components/table/KgVarConfig.Modal.Table.tsx +0 -44
  671. package/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigControl.tsx +0 -162
  672. package/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigDescription.tsx +0 -119
  673. package/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigInput.tsx +0 -322
  674. package/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigLookup.tsx +0 -222
  675. package/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigPossibility.tsx +0 -194
  676. package/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigTip.tsx +0 -134
  677. package/component/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarVariable.tsx +0 -129
  678. package/component/KgVarConfig/index.ts +0 -6
  679. package/component/KgWarehouse/KgWarehouse.event.ts +0 -63
  680. package/component/KgWarehouse/KgWarehouse.guard.ts +0 -77
  681. package/component/KgWarehouse/KgWarehouse.hooks.ts +0 -92
  682. package/component/KgWarehouse/KgWarehouse.less +0 -78
  683. package/component/KgWarehouse/KgWarehouse.store.ts +0 -135
  684. package/component/KgWarehouse/KgWarehouse.tsx +0 -321
  685. package/component/KgWarehouse/index.ts +0 -5
  686. package/component/KgWorkStation/KgWorkStation.css +0 -8
  687. package/component/KgWorkStation/KgWorkStation.event.ts +0 -54
  688. package/component/KgWorkStation/KgWorkStation.hooks.ts +0 -59
  689. package/component/KgWorkStation/KgWorkStation.store.ts +0 -144
  690. package/component/KgWorkStation/KgWorkStation.tsx +0 -254
  691. package/component/KgYesOrNo/KgYesOrNo.less +0 -3
  692. package/component/KgYesOrNo/KgYesOrNo.tsx +0 -50
  693. package/component/index.ts +0 -23
  694. package/config/config.hooks.ts +0 -32
  695. package/config/config.store.ts +0 -705
  696. package/config/index.ts +0 -347
  697. package/i18n/cs_CZ.ts +0 -1
  698. package/i18n/en.ts +0 -236
  699. package/i18n/es_ES.ts +0 -1
  700. package/i18n/fr_FR.ts +0 -1
  701. package/i18n/i18n.setup.ts +0 -61
  702. package/i18n/index.ts +0 -23
  703. package/i18n/km_KH.ts +0 -1
  704. package/i18n/ko_KR.ts +0 -1
  705. package/i18n/vi_VN.ts +0 -1
  706. package/i18n/zh_CN.ts +0 -237
  707. package/index.ts +0 -15
  708. package/model/index.ts +0 -1695
  709. package/page/KgPageCircularShuttleMonitor/KgPageCircularShuttleMonitor.tsx +0 -13
  710. package/page/KgPageDda/KgPageDda.css +0 -0
  711. package/page/KgPageDda/KgPageDda.tsx +0 -140
  712. package/page/KgPageDda/components/KgPageDda.Create.Basic.SqlModal.tsx +0 -65
  713. package/page/KgPageDda/components/KgPageDda.Create.Basic.tsx +0 -219
  714. package/page/KgPageDda/components/KgPageDda.Create.Button.tsx +0 -427
  715. package/page/KgPageDda/components/KgPageDda.Create.Menu.tsx +0 -148
  716. package/page/KgPageDda/components/KgPageDda.Create.Search.tsx +0 -371
  717. package/page/KgPageDda/components/KgPageDda.Create.Submit.tsx +0 -362
  718. package/page/KgPageDda/components/KgPageDda.Create.Table.tsx +0 -372
  719. package/page/KgPageDda/components/KgPageDda.Create.less +0 -362
  720. package/page/KgPageDda/components/KgPageDda.Create.store.ts +0 -437
  721. package/page/KgPageDda/components/KgPageDda.Create.tsx +0 -330
  722. package/page/KgPageDda/index.ts +0 -4
  723. package/page/KgPageSqlClient/KgPageSqlClient.tsx +0 -14
  724. package/page/KgPageSqlClient/components/KgSqlClient.Editor.tsx +0 -84
  725. package/page/KgPageSqlClient/components/KgSqlClient.ResultTab.tsx +0 -145
  726. package/page/KgPageSqlClient/components/KgSqlClient.Toolbar.Top.tsx +0 -132
  727. package/page/KgPageSqlClient/components/KgSqlClient.css +0 -171
  728. package/page/KgPageSqlClient/components/KgSqlClient.tsx +0 -110
  729. package/page/index.ts +0 -55
  730. package/project/build/generate/generateModifyVars.ts +0 -40
  731. package/project/index.ts +0 -2
  732. package/project/src/api/sys/menu.ts +0 -37
  733. package/project/src/api/sys/model/menuModel.ts +0 -17
  734. package/project/src/api/sys/model/userModel.ts +0 -58
  735. package/project/src/components/Application/src/useAppContext.ts +0 -17
  736. package/project/src/components/index.ts +0 -3
  737. package/project/src/enums/CompTypeEnum.ts +0 -32
  738. package/project/src/enums/DateTypeEnum.ts +0 -8
  739. package/project/src/enums/appEnum.ts +0 -58
  740. package/project/src/enums/breakpointEnum.ts +0 -28
  741. package/project/src/enums/cacheEnum.ts +0 -39
  742. package/project/src/enums/exceptionEnum.ts +0 -27
  743. package/project/src/enums/httpEnum.ts +0 -50
  744. package/project/src/enums/jeecgEnum.ts +0 -23
  745. package/project/src/enums/menuEnum.ts +0 -50
  746. package/project/src/enums/pageEnum.ts +0 -19
  747. package/project/src/enums/roleEnum.ts +0 -7
  748. package/project/src/enums/sizeEnum.ts +0 -27
  749. package/project/src/hooks/component/useFormItem.ts +0 -44
  750. package/project/src/hooks/component/usePageContext.ts +0 -18
  751. package/project/src/hooks/core/onMountedOrActivated.ts +0 -18
  752. package/project/src/hooks/core/useAttrs.ts +0 -41
  753. package/project/src/hooks/core/useContext.ts +0 -30
  754. package/project/src/hooks/core/useRefs.ts +0 -16
  755. package/project/src/hooks/core/useTimeout.ts +0 -45
  756. package/project/src/hooks/event/useBreakpoint.ts +0 -89
  757. package/project/src/hooks/event/useEventListener.ts +0 -52
  758. package/project/src/hooks/event/useIntersectionObserver.ts +0 -42
  759. package/project/src/hooks/event/useScrollTo.ts +0 -59
  760. package/project/src/hooks/event/useWindowSizeFn.ts +0 -36
  761. package/project/src/hooks/index.ts +0 -26
  762. package/project/src/hooks/jeecg/useAdaptiveWidth.ts +0 -82
  763. package/project/src/hooks/setting/index.ts +0 -27
  764. package/project/src/hooks/web/useAppInject.ts +0 -10
  765. package/project/src/hooks/web/useContentHeight.ts +0 -175
  766. package/project/src/hooks/web/useCopyToClipboard.ts +0 -70
  767. package/project/src/hooks/web/useDesign.ts +0 -10
  768. package/project/src/hooks/web/usePage.ts +0 -87
  769. package/project/src/hooks/web/usePagination.ts +0 -31
  770. package/project/src/hooks/web/useWebSocket.ts +0 -95
  771. package/project/src/layouts/default/content/useContentContext.ts +0 -17
  772. package/project/src/layouts/default/content/useContentViewHeight.ts +0 -42
  773. package/project/src/locales/helper.ts +0 -36
  774. package/project/src/locales/setupI18n.ts +0 -43
  775. package/project/src/locales/useLocale.ts +0 -77
  776. package/project/src/router/constant2.ts +0 -5
  777. package/project/src/router/types.ts +0 -73
  778. package/project/src/settings/componentSetting.ts +0 -88
  779. package/project/src/settings/designSetting.ts +0 -14
  780. package/project/src/settings/encryptionSetting.ts +0 -11
  781. package/project/src/settings/projectSetting.ts +0 -194
  782. package/project/src/store/modules/locale.ts +0 -49
  783. package/project/src/utils/auth/index.ts +0 -42
  784. package/project/src/utils/bem.ts +0 -45
  785. package/project/src/utils/cache/index.ts +0 -31
  786. package/project/src/utils/cache/memory.ts +0 -99
  787. package/project/src/utils/cache/persistent.ts +0 -132
  788. package/project/src/utils/cache/storageCache.ts +0 -102
  789. package/project/src/utils/cipher.ts +0 -54
  790. package/project/src/utils/color.ts +0 -93
  791. package/project/src/utils/common/compUtils.ts +0 -292
  792. package/project/src/utils/common/functionUtils.ts +0 -14
  793. package/project/src/utils/dateUtil.ts +0 -14
  794. package/project/src/utils/domUtils.ts +0 -158
  795. package/project/src/utils/encryption/signMd5Utils.ts +0 -122
  796. package/project/src/utils/env.ts +0 -40
  797. package/project/src/utils/event/index.ts +0 -39
  798. package/project/src/utils/factory/createAsyncComponent.tsx +0 -50
  799. package/project/src/utils/file/base64Conver.ts +0 -15
  800. package/project/src/utils/file/download.ts +0 -37
  801. package/project/src/utils/helper/treeHelper.ts +0 -145
  802. package/project/src/utils/helper/tsxHelper.ts +0 -35
  803. package/project/src/utils/index.index.ts +0 -158
  804. package/project/src/utils/is.ts +0 -85
  805. package/project/src/utils/mitt.ts +0 -101
  806. package/project/src/utils/propTypes.ts +0 -34
  807. package/project/src/utils/props.ts +0 -139
  808. package/project/src/utils/uuid.ts +0 -29
  809. package/project/types/axios.ts +0 -57
  810. package/project/types/config.ts +0 -180
  811. package/project/types/global.d.ts +0 -191
  812. package/project/types/store.ts +0 -60
  813. package/project/types/utils.ts +0 -5
  814. package/service/http-client.ts +0 -257
  815. package/tsconfig.json +0 -26
  816. package/type/env.d.ts +0 -7
  817. package/type/index.d.ts +0 -1
  818. package/util/ant-design-vue.ts +0 -146
  819. package/util/event.util.ts +0 -24
  820. package/util/kg-auth.util.ts +0 -16
  821. package/util/kg-route.util.ts +0 -25
  822. package/util/kg.util.tsx +0 -2997
  823. package/util/tsx.helper.tsx +0 -45
  824. /package/{project → dist/project}/build/config/themeConfig.ts +0 -0
  825. /package/{project → dist/project}/build/constant.ts +0 -0
  826. /package/{project → dist/project}/build/generate/icon/index.ts +0 -0
  827. /package/{project → dist/project}/build/getConfigFileName.ts +0 -0
  828. /package/{project → dist/project}/build/index.ts +0 -0
  829. /package/{project → dist/project}/build/script/buildConf.ts +0 -0
  830. /package/{project → dist/project}/build/script/postBuild.ts +0 -0
  831. /package/{project → dist/project}/build/utils.ts +0 -0
  832. /package/{project → dist/project}/build/vite/plugin/compress.ts +0 -0
  833. /package/{project → dist/project}/build/vite/plugin/html.ts +0 -0
  834. /package/{project → dist/project}/build/vite/plugin/imagemin.ts +0 -0
  835. /package/{project → dist/project}/build/vite/plugin/index.ts +0 -0
  836. /package/{project → dist/project}/build/vite/plugin/pwa.ts +0 -0
  837. /package/{project → dist/project}/build/vite/plugin/styleImport.ts +0 -0
  838. /package/{project → dist/project}/build/vite/plugin/svgSprite.ts +0 -0
  839. /package/{project → dist/project}/build/vite/plugin/theme.ts +0 -0
  840. /package/{project → dist/project}/build/vite/plugin/visualizer.ts +0 -0
  841. /package/{project → dist/project}/build/vite/proxy.ts +0 -0
  842. /package/{api/WMS/Controllers/VarConfigDescriptionController/index.ts → dist/src/api/WMS/Controllers/VarConfigDescriptionController/index.d.ts} +0 -0
  843. /package/{api/WMS/Controllers/WarehouseController/index.ts → dist/src/api/WMS/Controllers/WarehouseController/index.d.ts} +0 -0
  844. /package/{api/WMS/Controllers/index.ts → dist/src/api/WMS/Controllers/index.d.ts} +0 -0
  845. /package/{component/KgButton/index.ts → dist/src/component/KgButton/index.d.ts} +0 -0
  846. /package/{component/KgForm.Item/index.ts → dist/src/component/KgForm.Item/index.d.ts} +0 -0
  847. /package/{component/KgImage/index.ts → dist/src/component/KgImage/index.d.ts} +0 -0
  848. /package/{component/KgModal/index.ts → dist/src/component/KgModal/index.d.ts} +0 -0
  849. /package/{component/KgModal02/index.ts → dist/src/component/KgModal02/index.d.ts} +0 -0
  850. /package/{component/KgProgressA/index.ts → dist/src/component/KgProgressA/index.d.ts} +0 -0
  851. /package/{component/KgResizable/index.ts → dist/src/component/KgResizable/index.d.ts} +0 -0
  852. /package/{component/KgSearch/KgSearch.model.ts → dist/src/component/KgSearch/KgSearch.model.d.ts} +0 -0
  853. /package/{component/KgTable02/KgTable02.model.ts → dist/src/component/KgTable02/KgTable02.model.d.ts} +0 -0
  854. /package/{component/KgWorkStation/index.ts → dist/src/component/KgWorkStation/index.d.ts} +0 -0
  855. /package/{component/KgYesOrNo/index.ts → dist/src/component/KgYesOrNo/index.d.ts} +0 -0
  856. /package/{page/KgPageCircularShuttleMonitor/index.ts → dist/src/page/KgPageCircularShuttleMonitor/index.d.ts} +0 -0
  857. /package/{page/KgPageSqlClient/index.ts → dist/src/page/KgPageSqlClient/index.d.ts} +0 -0
  858. /package/{project/src/api/index.ts → dist/src/project/src/api/index.d.ts} +0 -0
  859. /package/{project/src/api/sys/model/uploadModel.ts → dist/src/project/src/api/sys/model/uploadModel.d.ts} +0 -0
  860. /package/{project/src/components/Dropdown/index.ts → dist/src/project/src/components/Dropdown/index.d.ts} +0 -0
  861. /package/{project/src/components/Dropdown/src/typing.ts → dist/src/project/src/components/Dropdown/src/typing.d.ts} +0 -0
  862. /package/{project/src/enums/index.ts → dist/src/project/src/enums/index.d.ts} +0 -0
  863. /package/{project/src/index.ts → dist/src/project/src/index.d.ts} +0 -0
  864. /package/{project/src/layouts/index.ts → dist/src/project/src/layouts/index.d.ts} +0 -0
  865. /package/{project/src/locales/index.ts → dist/src/project/src/locales/index.d.ts} +0 -0
  866. /package/{project/src/router/index.ts → dist/src/project/src/router/index.d.ts} +0 -0
  867. /package/{project/src/settings/index.ts → dist/src/project/src/settings/index.d.ts} +0 -0
  868. /package/{project/src/store/index.ts → dist/src/project/src/store/index.d.ts} +0 -0
  869. /package/{project/src/store/modules/index.ts → dist/src/project/src/store/modules/index.d.ts} +0 -0
  870. /package/{project/src/utils/index.ts → dist/src/project/src/utils/index.d.ts} +0 -0
  871. /package/{project/types/index.ts → dist/src/project/types/index.d.ts} +0 -0
  872. /package/{service/index.ts → dist/src/service/index.d.ts} +0 -0
  873. /package/{util/index.ts → dist/src/util/index.d.ts} +0 -0
@@ -1,119 +0,0 @@
1
- import { computed, defineComponent, inject } from 'vue';
2
- import { useKg } from '../../../../config';
3
- import { KG, KG__VAR_BUTTON__TYPE, KG_CUSTOM_LEVEL, KG_FORM_CONTEXT } from '../../../../model';
4
- import { localeList } from '../../../../i18n/i18n.setup';
5
- import { IKgProps, KgVar, useKgVar } from '../../../KgVar';
6
- import { FORM_ID__VAR__VAR_CONFIG_DESCRIPTION, FORM_ID__VAR__VAR_VARIABLE } from '../../KgVarConfig.model';
7
-
8
- // 变量配置弹窗:变量配置:变量翻译
9
- export default defineComponent({
10
- name: 'KgVarConfigModalVarVarConfigDescription',
11
- setup() {
12
- const fid$Host = inject(KG.DI.KG_VAR_CONFIG.HOST_FORM_ID, null);
13
-
14
- const kg = useKg();
15
-
16
- const kgVar = useKgVar(FORM_ID__VAR__VAR_CONFIG_DESCRIPTION);
17
- const kgVar$Host = useKgVar(fid$Host?.value);
18
- const kgVar$VarVariable = useKgVar(FORM_ID__VAR__VAR_VARIABLE);
19
-
20
- kgVar.kgTable.onBeforeParseRequestParameter(async ({ params }) => {
21
- params.frm_id = [fid$Host?.value, 'ALL'];
22
-
23
- kgVar.kgSearch.dynamicQueryOperatorModel.value.frm_id = KG.DYNAMIC_QUERY_OPERATOR.IN;
24
-
25
- return false;
26
- });
27
-
28
- kgVar.kgForm.onSelectBeforeRequest(async ({ context, response, varName }) => {
29
- switch (context) {
30
- case KG_FORM_CONTEXT.SUBMIT:
31
- case KG_FORM_CONTEXT.TABLE: {
32
- switch (varName) {
33
- case 'frm_id': {
34
- response.value = [
35
- { value: 'ALL', label: `${kg.t('kg.KgVarConfig.allForm')} (ALL)` },
36
- { value: fid$Host?.value, label: `${kg.t('kg.KgVarConfig.currentForm')} (${fid$Host?.value})` },
37
- ];
38
- return true;
39
- }
40
-
41
- case 'locale_id': {
42
- response.value = [{ value: 'ALL', label: `${kg.t('kg.KgVarConfig.allLanguage')} (ALL)` }, ...localeList.map((i) => ({ value: i.event, label: `${i.text}(${i.event})` }))];
43
-
44
- return true;
45
- }
46
- }
47
- break;
48
- }
49
- }
50
-
51
- return false;
52
- });
53
-
54
- kgVar.kgSubmit.onOpen(async () => {
55
- switch (true) {
56
- case kgVar.isCreating.value: {
57
- kgVar.kgSubmit.formModel.value.var_nam = kgVar.parentKgVar$$.value?.kgTable?.selectedRow?.value?.var_nam;
58
- kgVar.kgSubmit.formModel.value.frm_id = fid$Host?.value;
59
- kgVar.kgSubmit.formModel.value.locale_id = kg.locale?.value;
60
-
61
- break;
62
- }
63
- }
64
-
65
- return false;
66
- });
67
-
68
- kgVar.kgSubmit.onOk(async ({}) => {
69
- // 重新加载变量配置数据
70
- // TODO 只加载变更的这部分配置
71
- kgVar$Host.requestAll({ isForceRequest: true });
72
-
73
- kgVar$VarVariable.kgSearch.search({ isSearchFirstPage: false, isPreserveSelectedRows: true });
74
-
75
- return false;
76
- });
77
-
78
- //region DATA
79
- //----------------------------------------------------------------------------------------------------
80
- const kgProps = computed<IKgProps>(() => ({
81
- KgButton: {
82
- kgDisabled: (button) => {
83
- switch (button.typ) {
84
- case KG__VAR_BUTTON__TYPE.UPDATE: {
85
- if (kgVar.kgTable.selectedRows.value?.some((i) => i.cust_lvl === KG_CUSTOM_LEVEL.L0)) {
86
- return true;
87
- }
88
-
89
- break;
90
- }
91
-
92
- case KG__VAR_BUTTON__TYPE.DELETE: {
93
- if (kgVar.kgTable.selectedRows.value?.some((i) => i.cust_lvl === KG_CUSTOM_LEVEL.L0)) {
94
- return true;
95
- }
96
-
97
- break;
98
- }
99
- }
100
-
101
- return undefined;
102
- },
103
- },
104
- }));
105
- //endregion
106
-
107
- //region FUNCTION
108
- //----------------------------------------------------------------------------------------------------
109
- //endregion
110
-
111
- return () => (
112
- <KgVar
113
- id={FORM_ID__VAR__VAR_CONFIG_DESCRIPTION}
114
- kgLevel={kgVar$Host.level.value + 1}
115
- kgProps={kgProps.value}
116
- />
117
- );
118
- },
119
- });
@@ -1,322 +0,0 @@
1
- import { isNil } from 'lodash-es';
2
- import { computed, defineComponent, inject } from 'vue';
3
- import { useKg } from '../../../../config';
4
- import { KG, KG__VAR_BUTTON__TYPE, KG__VAR_CONFIG_INPUT__DATA_TYPE, KG__VAR_CONFIG_INPUT__VALIDATION_TYPE, KG_CUSTOM_LEVEL, KG_FORM_CONTEXT } from '../../../../model';
5
- import { localeList } from '../../../../i18n/i18n.setup';
6
- import { KgUtil } from '../../../../util';
7
- import { IKgProps, KgVar, transformVarConfigInputs, useKgVar } from '../../../KgVar';
8
- import { FORM_ID__VAR__VAR_CONFIG_INPUT, FORM_ID__VAR__VAR_VARIABLE } from '../../KgVarConfig.model';
9
-
10
- // 变量配置弹窗:变量配置:表单输入验证
11
- export default defineComponent({
12
- name: 'KgVarConfigModalVarVarConfigInput',
13
- setup() {
14
- const fid$Host = inject(KG.DI.KG_VAR_CONFIG.HOST_FORM_ID, null);
15
-
16
- const kg = useKg();
17
-
18
- const kgVar = useKgVar(FORM_ID__VAR__VAR_CONFIG_INPUT);
19
- const kgVar$Host = useKgVar(fid$Host?.value);
20
- const kgVar$VarVariable = useKgVar(FORM_ID__VAR__VAR_VARIABLE);
21
-
22
- kgVar.kgTable.onBeforeParseRequestParameter(async ({ params }) => {
23
- params.frm_id = [fid$Host?.value, 'ALL'];
24
-
25
- kgVar.kgSearch.dynamicQueryOperatorModel.value.frm_id = KG.DYNAMIC_QUERY_OPERATOR.IN;
26
-
27
- return false;
28
- });
29
-
30
- kgVar.kgTable.onBeforeSetDatas(async ({ datas }) => {
31
- transformVarConfigInputs(datas.value);
32
- return false;
33
- });
34
-
35
- kgVar.kgForm.onSelectBeforeRequest(async ({ context, response, varName }) => {
36
- switch (context) {
37
- case KG_FORM_CONTEXT.SUBMIT:
38
- case KG_FORM_CONTEXT.TABLE: {
39
- switch (varName) {
40
- case 'frm_id': {
41
- response.value = [
42
- { value: 'ALL', label: `${kg.t('kg.KgVarConfig.allForm')} (ALL)` },
43
- { value: fid$Host?.value, label: `${kg.t('kg.KgVarConfig.currentForm')} (${fid$Host?.value})` },
44
- ];
45
- return true;
46
- }
47
-
48
- case 'locale_id': {
49
- response.value = [{ value: 'ALL', label: `${kg.t('kg.KgVarConfig.allLanguage')} (ALL)` }, ...localeList.map((i) => ({ value: i.event, label: `${i.text}(${i.event})` }))];
50
-
51
- return true;
52
- }
53
- }
54
- break;
55
- }
56
- }
57
-
58
- return false;
59
- });
60
-
61
- kgVar.kgForm.onChange(async ({ varName, context, value }) => {
62
- switch (context) {
63
- case KG_FORM_CONTEXT.SUBMIT:
64
- case KG_FORM_CONTEXT.TABLE: {
65
- switch (varName) {
66
- case 'data_type': {
67
- patchVarSubmitDetailsByDataType(value);
68
- break;
69
- }
70
-
71
- case 'validation_type': {
72
- patchVarSubmitDetailsByValidationType(value);
73
- break;
74
- }
75
- }
76
- break;
77
- }
78
- }
79
-
80
- return false;
81
- });
82
-
83
- kgVar.kgSubmit.onOpen(async () => {
84
- switch (true) {
85
- case kgVar.isCreating.value: {
86
- kgVar.kgSubmit.formModel.value.var_nam = kgVar.parentKgVar$$.value?.kgTable?.selectedRow?.value?.var_nam;
87
- kgVar.kgSubmit.formModel.value.frm_id = fid$Host?.value;
88
- kgVar.kgSubmit.formModel.value.locale_id = kg.locale?.value;
89
-
90
- patchVarSubmitDetailsByValidationType(kgVar.kgSubmit.formModel.value?.validation_type);
91
-
92
- break;
93
- }
94
-
95
- case kgVar.isUpdating.value: {
96
- patchVarSubmitDetailsByValidationType(kgVar.kgSubmit.formModel.value?.validation_type);
97
-
98
- break;
99
- }
100
- }
101
-
102
- return false;
103
- });
104
-
105
- kgVar.kgSubmit.onAfterValidate(async ({}) => {
106
- KgUtil.insertHashToDynamicQueryParams(kgVar.kgSubmit.formModel.value);
107
- return false;
108
- });
109
-
110
- kgVar.kgSubmit.onBeforeRequest(async ({ data }) => {
111
- KgUtil.insertHashToDynamicQueryParams(data.value);
112
- return false;
113
- });
114
-
115
- kgVar.kgSubmit.onBeforeOk(async () => {
116
- kgVar.kgSubmit.formRules.value = {
117
- max: [
118
- {
119
- validator: (rule, value) => {
120
- // 该字段隐藏时, 不验证
121
- const varSubmitDetail = kgVar.kgSubmit.getVarSubmitDetails({ buttonVarName: kgVar.kgButton.currentButton?.var_nam, varName: 'max' })?.[0] ?? null;
122
- if (varSubmitDetail?.visible_flag !== 1) {
123
- return Promise.resolve();
124
- }
125
-
126
- const min = kgVar.kgSubmit.formModel.value?.min;
127
- const max = kgVar.kgSubmit.formModel.value?.max;
128
-
129
- // 最大值不能小于最小值
130
- if (!isNil(max) && !isNil(min) && Number(max) < Number(min)) {
131
- return Promise.reject(kg.t('kg.KgVarConfig.formValidationMessageForMaxAndMin'));
132
- }
133
-
134
- return Promise.resolve();
135
- },
136
- },
137
- ],
138
- max_length: [
139
- {
140
- validator: (rule, value) => {
141
- // 该字段隐藏时, 不验证
142
- const varSubmitDetail = kgVar.kgSubmit.getVarSubmitDetails({ buttonVarName: kgVar.kgButton.currentButton?.var_nam, varName: 'max_length' })?.[0] ?? null;
143
- if (varSubmitDetail?.visible_flag !== 1) {
144
- return Promise.resolve();
145
- }
146
-
147
- const minLength = kgVar.kgSubmit.formModel.value?.min_length;
148
- const maxLength = kgVar.kgSubmit.formModel.value?.max_length;
149
-
150
- // 最大长度不能小于最小长度
151
- if (!isNil(maxLength) && !isNil(minLength) && Number(maxLength) < Number(minLength)) {
152
- return Promise.reject(kg.t('kg.KgVarConfig.formValidationMessageForMaxLengthAndMinLength'));
153
- }
154
-
155
- return Promise.resolve();
156
- },
157
- },
158
- ],
159
- };
160
-
161
- return false;
162
- });
163
-
164
- kgVar.kgSubmit.onOk(async ({}) => {
165
- // 重新加载变量配置数据
166
- // TODO 只加载变更的这部分配置
167
- kgVar$Host.requestAll({ isForceRequest: true });
168
-
169
- kgVar$VarVariable.kgSearch.search({ isSearchFirstPage: false, isPreserveSelectedRows: true });
170
-
171
- return false;
172
- });
173
-
174
- //region DATA
175
- //----------------------------------------------------------------------------------------------------
176
- const kgProps = computed<IKgProps>(() => ({
177
- KgButton: {
178
- kgDisabled: (button) => {
179
- switch (button.typ) {
180
- case KG__VAR_BUTTON__TYPE.UPDATE: {
181
- if (kgVar.kgTable.selectedRows.value?.some((i) => i.cust_lvl === KG_CUSTOM_LEVEL.L0)) {
182
- return true;
183
- }
184
-
185
- break;
186
- }
187
-
188
- case KG__VAR_BUTTON__TYPE.DELETE: {
189
- if (kgVar.kgTable.selectedRows.value?.some((i) => i.cust_lvl === KG_CUSTOM_LEVEL.L0)) {
190
- return true;
191
- }
192
-
193
- break;
194
- }
195
- }
196
-
197
- return undefined;
198
- },
199
- },
200
- }));
201
- //endregion
202
-
203
- //region FUNCTION
204
- //----------------------------------------------------------------------------------------------------
205
- /**
206
- * 根据「验证方式」设置其他字段的表单状态.
207
- *
208
- * @param validationType 验证方式.
209
- */
210
- function patchVarSubmitDetailsByValidationType(validationType: KG__VAR_CONFIG_INPUT__VALIDATION_TYPE): void {
211
- switch (validationType) {
212
- case KG__VAR_CONFIG_INPUT__VALIDATION_TYPE.OPTIONS: {
213
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'regular_expression', properties: { visible_flag: 0, required_flag: 0 } });
214
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'data_type', properties: { visible_flag: 1, required_flag: 1 } });
215
-
216
- patchVarSubmitDetailsByDataType(kgVar.kgSubmit.formModel.value?.data_type);
217
-
218
- break;
219
- }
220
-
221
- case KG__VAR_CONFIG_INPUT__VALIDATION_TYPE.REGULAR_EXPRESSION: {
222
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'regular_expression', properties: { visible_flag: 1, required_flag: 1 } });
223
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'data_type', properties: { visible_flag: 0, required_flag: 0 } });
224
-
225
- patchVarSubmitDetailsByDataType(null);
226
-
227
- break;
228
- }
229
- }
230
- }
231
-
232
- /**
233
- * 根据「数据类型」设置其他字段的表单状态.
234
- *
235
- * @param dataType 数据类型.
236
- */
237
- function patchVarSubmitDetailsByDataType(dataType: KG__VAR_CONFIG_INPUT__DATA_TYPE | null): void {
238
- switch (dataType) {
239
- case null: {
240
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'min', properties: { visible_flag: 0 } });
241
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'min_include_flg', properties: { visible_flag: 0 } });
242
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'max', properties: { visible_flag: 0 } });
243
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'max_include_flg', properties: { visible_flag: 0 } });
244
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'min_length', properties: { visible_flag: 0 } });
245
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'max_length', properties: { visible_flag: 0 } });
246
-
247
- break;
248
- }
249
-
250
- case KG__VAR_CONFIG_INPUT__DATA_TYPE.ANY: {
251
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'min', properties: { visible_flag: 0 } });
252
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'min_include_flg', properties: { visible_flag: 0 } });
253
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'max', properties: { visible_flag: 0 } });
254
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'max_include_flg', properties: { visible_flag: 0 } });
255
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'min_length', properties: { visible_flag: 1 } });
256
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'max_length', properties: { visible_flag: 1 } });
257
-
258
- break;
259
- }
260
-
261
- case KG__VAR_CONFIG_INPUT__DATA_TYPE.INTEGER: {
262
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'min', properties: { visible_flag: 1 } });
263
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'min_include_flg', properties: { visible_flag: 1 } });
264
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'max', properties: { visible_flag: 1 } });
265
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'max_include_flg', properties: { visible_flag: 1 } });
266
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'min_length', properties: { visible_flag: 0 } });
267
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'max_length', properties: { visible_flag: 0 } });
268
-
269
- break;
270
- }
271
-
272
- case KG__VAR_CONFIG_INPUT__DATA_TYPE.FLOAT: {
273
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'min', properties: { visible_flag: 1 } });
274
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'min_include_flg', properties: { visible_flag: 1 } });
275
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'max', properties: { visible_flag: 1 } });
276
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'max_include_flg', properties: { visible_flag: 1 } });
277
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'min_length', properties: { visible_flag: 0 } });
278
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'max_length', properties: { visible_flag: 0 } });
279
-
280
- break;
281
- }
282
-
283
- case KG__VAR_CONFIG_INPUT__DATA_TYPE.LETTER:
284
- case KG__VAR_CONFIG_INPUT__DATA_TYPE.UPPER_CASE_LETTER:
285
- case KG__VAR_CONFIG_INPUT__DATA_TYPE.LOWER_CASE_LETTER: {
286
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'min', properties: { visible_flag: 0 } });
287
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'min_include_flg', properties: { visible_flag: 0 } });
288
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'max', properties: { visible_flag: 0 } });
289
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'max_include_flg', properties: { visible_flag: 0 } });
290
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'min_length', properties: { visible_flag: 1 } });
291
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'max_length', properties: { visible_flag: 1 } });
292
-
293
- break;
294
- }
295
-
296
- case KG__VAR_CONFIG_INPUT__DATA_TYPE.JSON: {
297
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'min', properties: { visible_flag: 0 } });
298
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'min_include_flg', properties: { visible_flag: 0 } });
299
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'max', properties: { visible_flag: 0 } });
300
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'max_include_flg', properties: { visible_flag: 0 } });
301
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'min_length', properties: { visible_flag: 0 } });
302
- kgVar.kgSubmit.patchVarSubmitDetail({ varName: 'max_length', properties: { visible_flag: 0 } });
303
-
304
- break;
305
- }
306
-
307
- default: {
308
- break;
309
- }
310
- }
311
- }
312
- //endregion
313
-
314
- return () => (
315
- <KgVar
316
- id={FORM_ID__VAR__VAR_CONFIG_INPUT}
317
- kgLevel={kgVar$Host.level.value + 1}
318
- kgProps={kgProps.value}
319
- />
320
- );
321
- },
322
- });
@@ -1,222 +0,0 @@
1
- import { ____ERROR____ } from '@kengic/core.core';
2
- import { compact, debounce, uniq } from 'lodash-es';
3
- import { computed, defineComponent, inject, ref } from 'vue';
4
- import { API } from '../../../../api';
5
- import { useKg } from '../../../../config';
6
- import { KG, KG__VAR_BUTTON__TYPE, KG_CUSTOM_LEVEL, KG_FORM_CONTEXT } from '../../../../model';
7
- import { localeList } from '../../../../i18n/i18n.setup';
8
- import { KgUtil } from '../../../../util';
9
- import { IKgProps, KgVar, transformVarConfigLookups, useKgVar } from '../../../KgVar';
10
- import { FORM_ID__VAR__VAR_CONFIG_LOOKUP, FORM_ID__VAR__VAR_VARIABLE } from '../../KgVarConfig.model';
11
-
12
- // 变量配置弹窗:变量配置:查找弹窗
13
- export default defineComponent({
14
- name: 'KgVarConfigModalVarVarConfigLookup',
15
- setup() {
16
- const hostFormID = inject(KG.DI.KG_VAR_CONFIG.HOST_FORM_ID, null);
17
-
18
- const kg = useKg();
19
-
20
- const kgVar = useKgVar(FORM_ID__VAR__VAR_CONFIG_LOOKUP);
21
- const kgVar$Host = useKgVar(hostFormID?.value);
22
- const kgVar$VarVariable = useKgVar(FORM_ID__VAR__VAR_VARIABLE);
23
-
24
- kgVar.kgTable.onBeforeParseRequestParameter(async ({ params }) => {
25
- params.frm_id = [hostFormID?.value, 'ALL'];
26
-
27
- kgVar.kgSearch.dynamicQueryOperatorModel.value.frm_id = KG.DYNAMIC_QUERY_OPERATOR.IN;
28
-
29
- return false;
30
- });
31
-
32
- kgVar.kgTable.onBeforeSetDatas(async ({ datas }) => {
33
- transformVarConfigLookups(datas.value);
34
- return false;
35
- });
36
-
37
- kgVar.kgForm.onSelectBeforeRequest(async ({ context, response, varName }) => {
38
- switch (context) {
39
- case KG_FORM_CONTEXT.SEARCH: {
40
- break;
41
- }
42
-
43
- case KG_FORM_CONTEXT.SUBMIT:
44
- case KG_FORM_CONTEXT.TABLE: {
45
- switch (varName) {
46
- case 'frm_id': {
47
- response.value = [
48
- { value: 'ALL', label: `${kg.t('kg.KgVarConfig.allForm')} (ALL)` },
49
- { value: hostFormID?.value, label: `${kg.t('kg.KgVarConfig.currentForm')} (${hostFormID?.value})` },
50
- ];
51
- return true;
52
- }
53
-
54
- case 'locale_id': {
55
- response.value = [{ value: 'ALL', label: `${kg.t('kg.KgVarConfig.allLanguage')} (ALL)` }, ...localeList.map((i) => ({ value: i.event, label: `${i.text}(${i.event})` }))];
56
- return true;
57
- }
58
-
59
- case 'ret_fld': {
60
- if (returnFields.value) {
61
- response.value = returnFields.value.map((i) => ({ value: i, label: i }));
62
- } else {
63
- if (kgVar.kgSubmit.formModel.value.ret_fld) {
64
- response.value = [{ value: kgVar.kgSubmit.formModel.value.ret_fld, label: kgVar.kgSubmit.formModel.value.ret_fld }];
65
- }
66
- }
67
- return true;
68
- }
69
- }
70
- break;
71
- }
72
- }
73
-
74
- return false;
75
- });
76
-
77
- kgVar.kgForm.onChange(async ({ context, varName, value }) => {
78
- switch (context) {
79
- case KG_FORM_CONTEXT.SUBMIT:
80
- case KG_FORM_CONTEXT.TABLE: {
81
- switch (varName) {
82
- case 'lkp_id': {
83
- await requestReturnFields({ lookupID: value });
84
- break;
85
- }
86
- }
87
- break;
88
- }
89
- }
90
-
91
- return false;
92
- });
93
-
94
- kgVar.kgSubmit.onOpen(async () => {
95
- switch (true) {
96
- case kgVar.isCreating.value: {
97
- kgVar.kgSubmit.formModel.value.var_nam = kgVar.parentKgVar$$.value?.kgTable?.selectedRow?.value?.var_nam;
98
- kgVar.kgSubmit.formModel.value.frm_id = hostFormID?.value;
99
- kgVar.kgSubmit.formModel.value.locale_id = kg.locale?.value;
100
-
101
- break;
102
- }
103
-
104
- case kgVar.isUpdating.value: {
105
- if (kgVar.kgSubmit.formModel.value.lkp_id) {
106
- requestReturnFields({ lookupID: kgVar.kgSubmit.formModel.value.lkp_id });
107
- }
108
-
109
- break;
110
- }
111
- }
112
-
113
- return false;
114
- });
115
-
116
- kgVar.kgSubmit.onAfterValidate(async ({}) => {
117
- KgUtil.insertHashToDynamicQueryParams(kgVar.kgSubmit.formModel.value);
118
- return false;
119
- });
120
-
121
- kgVar.kgSubmit.onBeforeRequest(async ({ data }) => {
122
- KgUtil.insertHashToDynamicQueryParams(data.value);
123
- return false;
124
- });
125
-
126
- kgVar.kgSubmit.onOk(async ({}) => {
127
- // 重新加载变量配置数据
128
- // TODO 只加载变更的这部分配置
129
- kgVar$Host.requestAll({ isForceRequest: true });
130
-
131
- kgVar$VarVariable.kgSearch.search({ isSearchFirstPage: false, isPreserveSelectedRows: true });
132
-
133
- return false;
134
- });
135
-
136
- kgVar.kgSubmit.onClose(async () => {
137
- returnFields.value = null;
138
-
139
- return false;
140
- });
141
-
142
- //region DATA
143
- //----------------------------------------------------------------------------------------------------
144
- /**
145
- * <p>「返回字段」的可选值.</p>
146
- * <p>当用户填写了「查找弹窗界面标识」之后, 会根据「查找弹窗界面标识」获取其界面所有的列, 然后存入该变量.</p>
147
- */
148
- const returnFields = ref<Array<string> | null>(null);
149
-
150
- const kgProps = computed<IKgProps>(() => ({
151
- KgButton: {
152
- kgDisabled: (button) => {
153
- switch (button.typ) {
154
- case KG__VAR_BUTTON__TYPE.UPDATE: {
155
- if (kgVar.kgTable.selectedRows.value?.some((i) => i.cust_lvl === KG_CUSTOM_LEVEL.L0)) {
156
- return true;
157
- }
158
-
159
- break;
160
- }
161
-
162
- case KG__VAR_BUTTON__TYPE.DELETE: {
163
- if (kgVar.kgTable.selectedRows.value?.some((i) => i.cust_lvl === KG_CUSTOM_LEVEL.L0)) {
164
- return true;
165
- }
166
-
167
- break;
168
- }
169
- }
170
-
171
- return undefined;
172
- },
173
- },
174
- }));
175
-
176
- /**
177
- * 根据用户填写的「查找弹窗界面标识」获取其界面所有的列.
178
- *
179
- * @param param.lookupID 查找弹窗界面标识.
180
- */
181
- const requestReturnFields = debounce(
182
- async (param: { lookupID: string | null | undefined }) => {
183
- const { lookupID } = param ?? {};
184
-
185
- if (lookupID) {
186
- KgUtil.showLoading();
187
-
188
- try {
189
- const varDTO = await API.WMS.VarController.GetAll({ data: { frm_id: lookupID } });
190
-
191
- const currentVarGridMasterID = (varDTO.varGridMasters?.find((i) => i.def_flg === 1) || varDTO.varGridMasters?.find((i) => i.cust_lvl === KG_CUSTOM_LEVEL.L0) || varDTO.varGridMasters?.find(() => true))?.id ?? null;
192
-
193
- returnFields.value = uniq(compact(varDTO.varGridMasters?.find((i) => i.id === currentVarGridMasterID)?.varGridDetails?.map((i) => i.var_nam ?? '') ?? []));
194
-
195
- // 修改下拉列表查询参数, 以便触发它的重新查询,
196
- kgVar.store.patchVarPossibilityCommandParameter(kgVar.fid, 'ret_fld', { __KG__TIMESTAMP__: Date.now() });
197
- } catch (e: any) {
198
- ____ERROR____(e.message);
199
- } finally {
200
- KgUtil.hideLoading();
201
- }
202
- } else {
203
- returnFields.value = [];
204
-
205
- // 修改下拉列表查询参数, 以便触发它的重新查询,
206
- kgVar.store.patchVarPossibilityCommandParameter(kgVar.fid, 'ret_fld', { __KG__TIMESTAMP__: Date.now() });
207
- }
208
- },
209
- 250,
210
- { trailing: true, leading: false },
211
- );
212
- //endregion
213
-
214
- return () => (
215
- <KgVar
216
- id={FORM_ID__VAR__VAR_CONFIG_LOOKUP}
217
- kgLevel={kgVar$Host.level.value + 1}
218
- kgProps={kgProps.value}
219
- />
220
- );
221
- },
222
- });