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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (243) hide show
  1. package/dist/close-outlined-DMcSQWxQ.24554361.mjs +8 -0
  2. package/dist/fullscreen-exit-outlined-X1iYkFc4.c4efa854.mjs +8 -0
  3. package/dist/fullscreen-exit-outlined.a75b82c2.mjs +8 -0
  4. package/dist/fullscreen-outlined-DDBrsRcy.5e46a03d.mjs +8 -0
  5. package/dist/fullscreen-outlined.c9ba7960.mjs +8 -0
  6. package/dist/index.css +1 -1
  7. package/dist/kengic-vue.js +54421 -35713
  8. package/dist/src/apis/WMS/Controllers/DescriptionController/List.d.ts +51 -0
  9. package/dist/src/apis/WMS/Controllers/DescriptionController/ListByCodeNamesAndCodeValues.d.ts +16 -0
  10. package/dist/src/apis/WMS/Controllers/DescriptionController/index.d.ts +2 -0
  11. package/dist/src/apis/WMS/Controllers/SysPermissionController/List.d.ts +73 -0
  12. package/dist/src/apis/WMS/Controllers/SysPermissionController/index.d.ts +1 -0
  13. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/Add.d.ts +16 -0
  14. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/index.d.ts +1 -0
  15. package/dist/src/apis/WMS/Controllers/VarConfigPossibilityController/ExecuteQuery.d.ts +18 -0
  16. package/dist/src/apis/WMS/Controllers/VarConfigPossibilityController/index.d.ts +1 -0
  17. package/dist/src/apis/WMS/Controllers/VarController/GetAll.d.ts +16 -0
  18. package/dist/src/apis/WMS/Controllers/VarController/index.d.ts +1 -0
  19. package/dist/src/apis/WMS/Controllers/VarDdaController/Create.d.ts +16 -0
  20. package/dist/src/apis/WMS/Controllers/VarDdaController/GetResultSetMetadataFromSql.d.ts +16 -0
  21. package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateCopySql.d.ts +16 -0
  22. package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateCreateSql.d.ts +16 -0
  23. package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateDeleteSql.d.ts +16 -0
  24. package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateFrmId.d.ts +16 -0
  25. package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateSearchSql.d.ts +16 -0
  26. package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateUpdateSql.d.ts +16 -0
  27. package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateVarButtonVarName.d.ts +16 -0
  28. package/dist/src/apis/WMS/Controllers/VarDdaController/index.d.ts +9 -0
  29. package/dist/src/apis/WMS/Controllers/VarGridMasterController/QueryByID.d.ts +19 -0
  30. package/dist/src/apis/WMS/Controllers/VarGridMasterController/Update.d.ts +16 -0
  31. package/dist/src/apis/WMS/Controllers/VarGridMasterController/index.d.ts +2 -0
  32. package/dist/src/apis/WMS/Controllers/VarProfileMasterController/QueryByID.d.ts +19 -0
  33. package/dist/src/apis/WMS/Controllers/VarProfileMasterController/index.d.ts +1 -0
  34. package/dist/src/apis/WMS/Controllers/VarVariableController/Delete.d.ts +16 -0
  35. package/dist/src/apis/WMS/Controllers/VarVariableController/index.d.ts +1 -0
  36. package/dist/src/apis/WMS/Controllers/WhController/ListVO.d.ts +54 -0
  37. package/dist/src/apis/WMS/Controllers/WhController/index.d.ts +1 -0
  38. package/dist/src/apis/WMS/Controllers/WorkstationController/List.d.ts +25 -0
  39. package/dist/src/apis/WMS/Controllers/WorkstationController/index.d.ts +1 -0
  40. package/dist/src/apis/WMS/Controllers/index.d.ts +11 -0
  41. package/dist/src/apis/WMS/index.d.ts +2 -0
  42. package/dist/src/apis/WMS/models.d.ts +1018 -0
  43. package/dist/src/apis/api.d.ts +1 -0
  44. package/dist/src/apis/def.d.ts +1 -0
  45. package/dist/src/apis/index.d.ts +2 -0
  46. package/dist/src/components/KgAppSelect/KgAppSelect.d.ts +47 -0
  47. package/dist/src/components/KgAppSelect/index.d.ts +3 -0
  48. package/dist/src/components/KgAppSelect/index.hooks.d.ts +41 -0
  49. package/dist/src/components/KgAppSelect/index.store.d.ts +74 -0
  50. package/dist/src/components/KgButton/KgButton.Item.d.ts +41 -0
  51. package/dist/src/components/KgButton/KgButton.Item.data.d.ts +31 -0
  52. package/dist/src/components/KgButton/KgButton.d.ts +40 -0
  53. package/dist/src/components/KgButton/components/KgButton.Copy.d.ts +40 -0
  54. package/dist/src/components/KgButton/components/KgButton.Create.d.ts +40 -0
  55. package/dist/src/components/KgButton/components/KgButton.Delete.d.ts +40 -0
  56. package/dist/src/components/KgButton/components/KgButton.Export.d.ts +40 -0
  57. package/dist/src/components/KgButton/components/KgButton.Import.d.ts +40 -0
  58. package/dist/src/components/KgButton/components/KgButton.ImportTemplate.d.ts +40 -0
  59. package/dist/src/components/KgButton/components/KgButton.Other.d.ts +40 -0
  60. package/dist/src/components/KgButton/components/KgButton.Search.d.ts +40 -0
  61. package/dist/src/components/KgButton/components/KgButton.Update.d.ts +40 -0
  62. package/dist/src/components/KgButton/index.d.ts +62 -0
  63. package/dist/src/components/KgButton/index.hooks.d.ts +183 -0
  64. package/dist/src/components/KgButton/index.store.d.ts +116 -0
  65. package/dist/src/components/KgCanvas/KgCanvas.d.ts +122 -0
  66. package/dist/src/components/KgCanvas/KgCanvas.service.d.ts +43 -0
  67. package/dist/src/components/KgCanvas/KgCanvasContextMenu.d.ts +107 -0
  68. package/dist/src/components/KgCanvas/KgCanvasToolbarFullscreen.d.ts +8 -0
  69. package/dist/src/components/KgCanvas/KgCanvasTooltip.d.ts +31 -0
  70. package/dist/src/components/KgCanvas/index.d.ts +4 -0
  71. package/dist/src/components/KgCanvas/index.hooks.d.ts +67 -0
  72. package/dist/src/components/KgCanvas/index.store.d.ts +239 -0
  73. package/dist/src/components/KgForm/KgForm.d.ts +414 -0
  74. package/dist/src/components/KgForm/index.d.ts +604 -0
  75. package/dist/src/components/KgForm/index.hooks.d.ts +73 -0
  76. package/dist/src/components/KgForm/index.store.d.ts +221 -0
  77. package/dist/src/components/KgForm/index.vm.d.ts +9 -0
  78. package/dist/src/components/KgForm.Item/KgForm.Item.d.ts +97 -0
  79. package/dist/src/components/KgForm.Item/KgForm.Item.service.d.ts +17 -0
  80. package/dist/src/components/KgForm.Item/addon/KgForm.Item.Addon.DynamicQueryOperator.d.ts +49 -0
  81. package/dist/src/components/KgForm.Item/addon/KgForm.Item.Addon.Lookup.Modal.d.ts +16 -0
  82. package/dist/src/components/KgForm.Item/addon/KgForm.Item.Addon.Lookup.d.ts +31 -0
  83. package/dist/src/components/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +100 -0
  84. package/dist/src/components/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +99 -0
  85. package/dist/src/components/KgForm.Item/components/KgForm.Item.Date.d.ts +97 -0
  86. package/dist/src/components/KgForm.Item/components/KgForm.Item.DateRange.d.ts +97 -0
  87. package/dist/src/components/KgForm.Item/components/KgForm.Item.Image.d.ts +92 -0
  88. package/dist/src/components/KgForm.Item/components/KgForm.Item.Input.d.ts +96 -0
  89. package/dist/src/components/KgForm.Item/components/KgForm.Item.InputNumber.d.ts +96 -0
  90. package/dist/src/components/KgForm.Item/components/KgForm.Item.InputPassword.d.ts +96 -0
  91. package/dist/src/components/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +98 -0
  92. package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.d.ts +98 -0
  93. package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.service.d.ts +29 -0
  94. package/dist/src/components/KgForm.Item/components/KgForm.Item.Switch.d.ts +96 -0
  95. package/dist/src/components/KgForm.Item/components/KgForm.Item.TextArea.d.ts +96 -0
  96. package/dist/src/components/KgForm.Item/index.d.ts +2 -0
  97. package/dist/src/components/KgForm.Item/index.vm.d.ts +124 -0
  98. package/dist/src/components/KgImage/KgImage.d.ts +100 -0
  99. package/dist/src/components/KgImage/index.d.ts +1 -0
  100. package/dist/src/components/KgLayoutHeader/components/KgLayoutHeaderLocale.d.ts +38 -0
  101. package/dist/src/components/KgLayoutHeader/index.d.ts +2 -0
  102. package/dist/src/components/KgLayoutHeader/index.hooks.d.ts +4 -0
  103. package/dist/src/components/KgModal/KgModal.d.ts +823 -0
  104. package/dist/src/components/KgModal/KgModal.service.d.ts +39 -0
  105. package/dist/src/components/KgModal/KgModalHeaderButtons.d.ts +92 -0
  106. package/dist/src/components/KgModal/index.d.ts +1 -0
  107. package/dist/src/components/KgModal/index.vm.d.ts +8 -0
  108. package/dist/src/components/KgProgressA/KgProgressA.d.ts +85 -0
  109. package/dist/src/components/KgProgressA/index.d.ts +1 -0
  110. package/dist/src/components/KgResizable/KgResizable.d.ts +91 -0
  111. package/dist/src/components/KgResizable/KgResizable.service.d.ts +12 -0
  112. package/dist/src/components/KgResizable/index.d.ts +1 -0
  113. package/dist/src/components/KgSearch/KgSearch.d.ts +26 -0
  114. package/dist/src/components/KgSearch/KgSearch.service.d.ts +32 -0
  115. package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.d.ts +16 -0
  116. package/dist/src/components/KgSearch/index.d.ts +3 -0
  117. package/dist/src/components/KgSearch/index.hooks.d.ts +67 -0
  118. package/dist/src/components/KgSearch/index.store.d.ts +147 -0
  119. package/dist/src/components/KgSearch/index.vm.d.ts +1 -0
  120. package/dist/src/components/KgStation/KgStation.d.ts +47 -0
  121. package/dist/src/components/KgStation/index.d.ts +3 -0
  122. package/dist/src/components/KgStation/index.hooks.d.ts +29 -0
  123. package/dist/src/components/KgStation/index.store.d.ts +45 -0
  124. package/dist/src/components/KgSubmit/KgSubmit.d.ts +21 -0
  125. package/dist/src/components/KgSubmit/KgSubmit.service.d.ts +29 -0
  126. package/dist/src/components/KgSubmit/index.d.ts +4 -0
  127. package/dist/src/components/KgSubmit/index.hooks.d.ts +295 -0
  128. package/dist/src/components/KgSubmit/index.store.d.ts +194 -0
  129. package/dist/src/components/KgSubmit/index.vm.d.ts +57 -0
  130. package/dist/src/components/KgTable/KgTable.d.ts +39 -0
  131. package/dist/src/components/KgTable/KgTable.service.d.ts +34 -0
  132. package/dist/src/components/KgTable/components/KgTable.BodyCell.d.ts +60 -0
  133. package/dist/src/components/KgTable/components/KgTable.HeaderCell.d.ts +52 -0
  134. package/dist/src/components/KgTable/components/KgTable.Info.d.ts +57 -0
  135. package/dist/src/components/KgTable/components/setting/KgTable.Setting.VarGridMaster.SaveAs.d.ts +5 -0
  136. package/dist/src/components/KgTable/components/setting/KgTable.Setting.d.ts +21 -0
  137. package/dist/src/components/KgTable/components/setting/KgTable.Setting.service.d.ts +22 -0
  138. package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.d.ts +16 -0
  139. package/dist/src/components/KgTable/index.d.ts +4 -0
  140. package/dist/src/components/KgTable/index.hooks.d.ts +148 -0
  141. package/dist/src/components/KgTable/index.store.d.ts +241 -0
  142. package/dist/src/components/KgTable/index.vm.d.ts +67 -0
  143. package/dist/src/components/KgVar/KgVar.d.ts +114 -0
  144. package/dist/src/components/KgVar/index.d.ts +4 -0
  145. package/dist/src/components/KgVar/index.hooks.d.ts +184 -0
  146. package/dist/src/components/KgVar/index.store.d.ts +253 -0
  147. package/dist/src/components/KgVar/index.store.service.d.ts +30 -0
  148. package/dist/src/components/KgVar/index.vm.d.ts +55 -0
  149. package/dist/src/components/KgVarConfig/KgVarConfig.d.ts +3 -0
  150. package/dist/src/components/KgVarConfig/components/KgVarConfig.SelectFormIdModal.d.ts +27 -0
  151. package/dist/src/components/KgVarConfig/components/KgVarConfigModal.d.ts +15 -0
  152. package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButton.d.ts +7 -0
  153. package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButtonConfig.d.ts +7 -0
  154. package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.d.ts +5 -0
  155. package/dist/src/components/KgVarConfig/components/child/KgVarConfig.Modal.Child.d.ts +7 -0
  156. package/dist/src/components/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileConfig.d.ts +7 -0
  157. package/dist/src/components/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileMaster.d.ts +7 -0
  158. package/dist/src/components/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileMaster.service.d.ts +7 -0
  159. package/dist/src/components/KgVarConfig/components/search/KgVarConfig.Modal.Search.d.ts +5 -0
  160. package/dist/src/components/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitConfig.d.ts +7 -0
  161. package/dist/src/components/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitDetail.d.ts +7 -0
  162. package/dist/src/components/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.d.ts +5 -0
  163. package/dist/src/components/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridConfig.d.ts +7 -0
  164. package/dist/src/components/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridMaster.d.ts +7 -0
  165. package/dist/src/components/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridMaster.service.d.ts +23 -0
  166. package/dist/src/components/KgVarConfig/components/table/KgVarConfig.Modal.Table.d.ts +5 -0
  167. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigControl.d.ts +2 -0
  168. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigDescription.d.ts +2 -0
  169. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigInput.d.ts +2 -0
  170. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigLookup.d.ts +2 -0
  171. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigPossibility.d.ts +2 -0
  172. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigTip.d.ts +2 -0
  173. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarVariable.d.ts +2 -0
  174. package/dist/src/components/KgVarConfig/index.d.ts +3 -0
  175. package/dist/src/components/KgVarConfig/index.hooks.d.ts +17 -0
  176. package/dist/src/components/KgVarConfig/index.store.d.ts +16 -0
  177. package/dist/src/components/KgVarConfig/index.vm.d.ts +50 -0
  178. package/dist/src/components/KgWarehouse/KgWarehouse.d.ts +47 -0
  179. package/dist/src/components/KgWarehouse/index.d.ts +4 -0
  180. package/dist/src/components/KgWarehouse/index.guard.d.ts +8 -0
  181. package/dist/src/components/KgWarehouse/index.hooks.d.ts +27 -0
  182. package/dist/src/components/KgWarehouse/index.store.d.ts +63 -0
  183. package/dist/src/components/KgYesOrNo/KgYesOrNo.d.ts +60 -0
  184. package/dist/src/components/KgYesOrNo/index.d.ts +1 -0
  185. package/dist/src/components/index.d.ts +21 -0
  186. package/dist/src/components/util.d.ts +14 -0
  187. package/dist/src/components-next/KgVarConfig/KgVarConfig.d.ts +2 -0
  188. package/dist/src/components-next/KgVarConfig/index.d.ts +1 -0
  189. package/dist/src/components-next/index.d.ts +1 -0
  190. package/dist/src/config/index.d.ts +3 -0
  191. package/dist/src/config/index.hooks.d.ts +36 -0
  192. package/dist/src/config/index.store.d.ts +315 -0
  193. package/dist/src/config/setup/index.d.ts +3 -0
  194. package/dist/src/config/setup/setup.d.ts +28 -0
  195. package/dist/src/config/setup/setupKgLocale.d.ts +29 -0
  196. package/dist/src/config/setup/setupKgStore.d.ts +18 -0
  197. package/dist/src/consts/i18n/en.d.ts +274 -0
  198. package/dist/src/consts/i18n/es_ES.d.ts +274 -0
  199. package/dist/src/consts/i18n/fr_FR.d.ts +274 -0
  200. package/dist/src/consts/i18n/index.d.ts +2 -0
  201. package/dist/src/consts/i18n/km_KH.d.ts +274 -0
  202. package/dist/src/consts/i18n/ko_KR.d.ts +274 -0
  203. package/dist/src/consts/i18n/vi_VN.d.ts +274 -0
  204. package/dist/src/consts/i18n/zh_CN.d.ts +274 -0
  205. package/dist/src/consts/index.d.ts +3 -0
  206. package/dist/src/consts/index.vm.d.ts +733 -0
  207. package/dist/src/consts/injection-keys.const.d.ts +9 -0
  208. package/dist/src/helpers/ant-design-vue.d.ts +347 -0
  209. package/dist/src/helpers/tsx.helper.d.ts +23 -0
  210. package/dist/src/index.d.ts +12 -0
  211. package/dist/src/pages/KgPageDda/KgPageDda.d.ts +8 -0
  212. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Basic.SqlModal.d.ts +32 -0
  213. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Basic.d.ts +7 -0
  214. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Button.d.ts +7 -0
  215. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Menu.d.ts +7 -0
  216. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Search.d.ts +7 -0
  217. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Submit.d.ts +7 -0
  218. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Table.d.ts +7 -0
  219. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.d.ts +33 -0
  220. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.store.d.ts +1322 -0
  221. package/dist/src/pages/KgPageDda/index.d.ts +5 -0
  222. package/dist/src/pages/KgPageDda/index.vm.d.ts +12 -0
  223. package/dist/src/pages/KgVarFactory/KgVarFactory.d.ts +62 -0
  224. package/dist/src/pages/KgVarFactory/index.d.ts +1 -0
  225. package/dist/src/pages/index.d.ts +9 -0
  226. package/dist/src/project/build/getConfigFileName.d.ts +5 -0
  227. package/dist/src/project/build/index.d.ts +1 -0
  228. package/dist/src/project/index.d.ts +3 -0
  229. package/dist/src/project/types/axios.d.ts +35 -0
  230. package/dist/src/project/types/config.d.ts +121 -0
  231. package/dist/src/project/types/index.d.ts +4 -0
  232. package/dist/src/project/types/store.d.ts +42 -0
  233. package/dist/src/project/types/utils.d.ts +4 -0
  234. package/dist/src/services/http-client.d.ts +93 -0
  235. package/dist/src/services/index.d.ts +1 -0
  236. package/dist/src/utils/index.d.ts +6 -0
  237. package/dist/src/utils/kg-auth.util.d.ts +26 -0
  238. package/dist/src/utils/kg-dom.util.d.ts +12 -0
  239. package/dist/src/utils/kg-logger.util.d.ts +69 -0
  240. package/dist/src/utils/kg-route.util.d.ts +57 -0
  241. package/dist/src/utils/kg-var.util.d.ts +76 -0
  242. package/dist/src/utils/kg.util.d.ts +150 -0
  243. package/package.json +29 -19
@@ -0,0 +1,184 @@
1
+ import { ComputedRef } from 'vue';
2
+ import { VarConfigControl, VarConfigDescription, VarConfigPossibility } from '../../apis/WMS/models';
3
+ import { IRemoveEventListenerHandler, KG__VAR_BUTTON__TYPE } from '../../consts';
4
+ import { IUseKgButton } from '../KgButton';
5
+ import { IUseKgForm } from '../KgForm';
6
+ import { type IUseKgSearch } from '../KgSearch';
7
+ import { IUseKgSubmit } from '../KgSubmit';
8
+ import { IUseKgTable } from '../KgTable';
9
+ import { IUseKgVarConfig } from '../KgVarConfig';
10
+ import { IKgVarRetrieveEventListener, IKgVarStore } from './index.store';
11
+ export declare type IUseKgVar = {
12
+ /**
13
+ * <p>添加一个「变量配置:表单控件」.</p>
14
+ * <p>使用场景: 一般用于开发自定义页面时, 需要动态添加表单字段.</p>
15
+ *
16
+ * @param varConfigControl 要添加的「变量配置:表单控件」.
17
+ */
18
+ createVarConfigControl(varConfigControl: VarConfigControl): void;
19
+ /**
20
+ * <p>添加一个「变量配置:变量翻译」.</p>
21
+ * <p>使用场景: 一般用于开发自定义页面时, 需要动态添加表单字段.</p>
22
+ *
23
+ * @param varConfigDescription 要添加的「变量配置:变量翻译」.
24
+ */
25
+ createVarConfigDescription(varConfigDescription: VarConfigDescription): void;
26
+ /**
27
+ * <p>添加一个「变量配置:列表数据」.</p>
28
+ * <p>使用场景: 一般用于开发自定义页面时, 需要动态添加表单字段.</p>
29
+ *
30
+ * @param varConfigPossibility 要添加的「变量配置:列表数据」.
31
+ */
32
+ createVarConfigPossibility(varConfigPossibility: VarConfigPossibility): void;
33
+ /** 当前的 VarGridDetail 列表. */
34
+ currentVarGridDetails: ComputedRef<ReturnType<IKgVarStore['getCurrentVarGridDetails']>>;
35
+ /** 当前的 VarGridMaster ID. */
36
+ currentVarGridMasteID: ComputedRef<ReturnType<IKgVarStore['getCurrentVarGridMasterID']>>;
37
+ /** 当前的 VarGridMaster. */
38
+ currentVarGridMaster: ComputedRef<ReturnType<IKgVarStore['getCurrentVarGridMaster']>>;
39
+ /** 当前的 VarProfileMaster ID. */
40
+ currentVarProfileMasterID: ComputedRef<ReturnType<IKgVarStore['getCurrentVarProfileMasterID']>>;
41
+ /**
42
+ * 界面标识.
43
+ */
44
+ formID: string;
45
+ /**
46
+ * <p>获取「变量配置:表单控件」, 根据所传参数进行过滤.</p>
47
+ *
48
+ * <ul>
49
+ * <li>
50
+ * <p>如果参数 {@link param.buttonVarName} !== <code>undefined</code>, 则忽略参数 {@link param.buttonType}, 根据 {@link param.buttonVarName} 和 {@link VarConfigControl.button_var_name} 是否匹配进行过滤.</p>
51
+ * </li>
52
+ * <li>
53
+ * <p>如果参数 {@link param.buttonVarName} === <code>undefined</code> && {@link param.buttonType} !== <code>undefined</code>, 则先根据参数 {@link param.buttonType} 获取按钮, 然后根据 {@link VarButton.var_nam} 和 {@link VarConfigControl.button_var_name} 是否匹配进行过滤.</p>
54
+ * </li>
55
+ * <li>
56
+ * <p>如果参数 {@link param.buttonVarName} === <code>undefined</code> && {@link param.buttonType} === <code>undefined</code>, 则先获取「当前按钮」, 然后根据「当前按钮」的 {@link VarButton.var_nam} 和 {@link VarConfigControl.button_var_name} 是否匹配进行过滤.</p>
57
+ * </li>
58
+ * <li>
59
+ * <p>参数 {@link param.varName} 必传, 将根据 {@link param.varName} 和 {@link VarConfigControl.var_nam} 是否匹配进行过滤.</p>
60
+ * </li>
61
+ * </ul>
62
+ *
63
+ * @param param.buttonType <p>按钮的类型, 对应的是 {@link VarButton.typ} 属性, 取值请参考 {@link KG__VAR_BUTTON__TYPE}.</p>
64
+ * @param param.buttonVarName <p>按钮的变量名称, 对应的是 {@link VarButton.var_nam} 属性.</p>
65
+ * @param param.varName 提交表单字段的变量名, 对应的是 {@link VarConfigControl.var_nam} 属性.
66
+ */
67
+ getVarConfigControl(param: {
68
+ buttonType?: KG__VAR_BUTTON__TYPE;
69
+ buttonVarName?: string | null;
70
+ varName: string | null | undefined;
71
+ }): ReturnType<IKgVarStore['getVarConfigControl']>;
72
+ /**
73
+ * 获取「变量配置:列表数据」.
74
+ *
75
+ * @param param.varName 变量名称.
76
+ */
77
+ getVarConfigPossibility(param: {
78
+ varName: string;
79
+ }): VarConfigPossibility | null;
80
+ /**
81
+ * 是否正在复制.
82
+ */
83
+ isCopying: ComputedRef<boolean>;
84
+ /** 正在复制:正在调用接口. */
85
+ isCopyingRequesting: ComputedRef<ReturnType<IKgVarStore['isCopyingRequesting']>>;
86
+ /**
87
+ * 是否正在创建.
88
+ */
89
+ isCreating: ComputedRef<boolean>;
90
+ /** 正在创建:正在调用接口. */
91
+ isCreatingRequesting: ComputedRef<ReturnType<IKgVarStore['isCreatingRequesting']>>;
92
+ /**
93
+ * 是否正在删除.
94
+ */
95
+ isDeleting: ComputedRef<boolean>;
96
+ /** 正在删除:正在调用接口. */
97
+ isDeletingRequesting: ComputedRef<ReturnType<IKgVarStore['isDeletingRequesting']>>;
98
+ /** 其他按钮:正在调用接口. */
99
+ isOtherRequesting: ComputedRef<ReturnType<IKgVarStore['isOtherRequesting']>>;
100
+ /** 变量配置是否查询完成. */
101
+ isRequested: ComputedRef<ReturnType<IKgVarStore['isRequested']>>;
102
+ /** 正在查询变量配置. */
103
+ isRetrieving: ComputedRef<ReturnType<IKgVarStore['isRetrieving']>>;
104
+ /** 正在查询 VarGridMaster. */
105
+ isRetrievingVarGridMaster: ComputedRef<ReturnType<IKgVarStore['isRetrievingVarGridMaster']>>;
106
+ /** 正在查询 VarProfileMaster. */
107
+ isRetrievingVarProfileMaster: ComputedRef<ReturnType<IKgVarStore['isRetrievingVarProfileMaster']>>;
108
+ /**
109
+ * 是否正在更新.
110
+ */
111
+ isUpdating: ComputedRef<boolean>;
112
+ /** 正在更新:正在调用接口. */
113
+ isUpdatingRequesting: ComputedRef<ReturnType<IKgVarStore['isUpdatingRequesting']>>;
114
+ kgButton: IUseKgButton;
115
+ kgForm: IUseKgForm;
116
+ kgSearch: IUseKgSearch;
117
+ kgSubmit: IUseKgSubmit;
118
+ kgTable: IUseKgTable;
119
+ kgVarConfig: IUseKgVarConfig;
120
+ /**
121
+ * 界面层级.
122
+ */
123
+ level: ComputedRef<ReturnType<IKgVarStore['getLevel']>>;
124
+ /**
125
+ * 监听事件: 变量配置数据查询完成.
126
+ *
127
+ * @param listener 事件监听函数.
128
+ * @param isOnce 是否只会触发一次. 默认为 undefined.
129
+ */
130
+ onRetrieve(listener: IKgVarRetrieveEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
131
+ /**
132
+ * 父亲界面.
133
+ */
134
+ parent: ComputedRef<ReturnType<IKgVarStore['getParent']>>;
135
+ /**
136
+ * 查询所有变量配置.
137
+ *
138
+ * @param param.isForceRequest 是否强制查询. 默认为 false, 即如果该界面的变量配置已经查询过了, 则不再查询; 否则, 重新查询所有变量配置.
139
+ */
140
+ requestAll(param?: {
141
+ isForceRequest?: boolean;
142
+ }): Promise<void>;
143
+ /** 状态数据. */
144
+ store: IKgVarStore;
145
+ /**
146
+ * <p>根据变量名称获取对应翻译.</p>
147
+ *
148
+ * @param varName 变量名称.
149
+ */
150
+ t(varName: string | null | undefined): ComputedRef<string>;
151
+ varButtonCopy: ComputedRef<ReturnType<IKgVarStore['getVarButtonCopy']>>;
152
+ varButtonCreate: ComputedRef<ReturnType<IKgVarStore['getVarButtonCreate']>>;
153
+ varButtonDelete: ComputedRef<ReturnType<IKgVarStore['getVarButtonDelete']>>;
154
+ varButtonUpdate: ComputedRef<ReturnType<IKgVarStore['getVarButtonUpdate']>>;
155
+ varChildDetails: ComputedRef<ReturnType<IKgVarStore['getVarChildDetails']>>;
156
+ varDda: ComputedRef<ReturnType<IKgVarStore['getVarDda']>>;
157
+ varGridConfig: ComputedRef<ReturnType<IKgVarStore['getVarGridConfig']>>;
158
+ /** 所有的 VarGridMaster 列表. */
159
+ varGridMasters: ComputedRef<ReturnType<IKgVarStore['getVarGridMasters']>>;
160
+ varProfileConfig: ComputedRef<ReturnType<IKgVarStore['getVarProfileConfig']>>;
161
+ /** 所有的 VarProfileMaster 列表. */
162
+ varProfileMasters: ComputedRef<ReturnType<IKgVarStore['getVarProfileMasters']>>;
163
+ varVariables: ComputedRef<ReturnType<IKgVarStore['getVarVariables']>>;
164
+ };
165
+ /**
166
+ * <p>使用变量配置.</p>
167
+ * <ol>
168
+ * <li>在下级界面中调用时, 可以不传该参数, 此时会通过依赖注入获取,</li>
169
+ * <li>在任意页面中, 想要访问其他界面标识对应的页面的数据, 需要传入该'界面标识',</li>
170
+ * <li>在组件外(setup 外面)调用时, 必须传入'界面标识',</li>
171
+ * </ol>
172
+ *
173
+ * <p>术语解释:</p>
174
+ * <ol>
175
+ * <li>宿主界面: 某个'界面标识'对应的顶级组件, 可以是菜单页面, 也可以是普通组件,</li>
176
+ * <li>寄生界面: 通常是指'查找弹窗', '查找弹窗'是'宿主界面'中的某个变量弹出来的, 它的'界面标识'就是该变量的'lookupID'. '寄生界面'是它的'下级界面'的'宿主界面',</li>
177
+ * <li>下级界面: '宿主界面'下的所有界面, 都是它的'下级界面',</li>
178
+ * </ol>
179
+ *
180
+ * @param formID 界面标识.
181
+ * @param isInit 是否要初始化界面. 在'宿主界面'第一次调用时, 需要传 true, 对该页面做初始化. 默认为 undefined.
182
+ * @param level 界面层级. 比如普通界面的层级为 0, 弹窗的界面的层级为 1, 弹窗中的弹窗的界面层级为 2, 以此类推. 默认为 0.
183
+ */
184
+ export declare function useKgVar(formID?: string | null, isInit?: boolean, level?: number): IUseKgVar;
@@ -0,0 +1,253 @@
1
+ import { StoreDefinition } from 'pinia';
2
+ import { VarButton, VarButtonConfig, VarChildDetail, VarConfigControl, VarConfigDescription, VarConfigInput, VarConfigLookup, VarConfigPossibility, VarConfigTip, VarDda, VarGridConfig, VarGridDetail, VarGridMasterDTO, VarProfileConfig, VarProfileDetail, VarProfileMasterDTO, VarSubmitConfig, VarSubmitDetail, VarVariable } from '../../apis/WMS/models';
3
+ import { IKgEventListener, KG__VAR_BUTTON__TYPE } from '../../consts';
4
+ import { IUseKgVar } from './index.hooks';
5
+ /**
6
+ * 事件类型.
7
+ * 'retrieve': 变量配置查询完成
8
+ */
9
+ export declare type IKgVarEvent = 'retrieve';
10
+ export declare type IKgVarRetrieveEventListener = (() => void) & IKgEventListener;
11
+ export declare type IKgVarEventListenerParameter = any;
12
+ export declare type IKgVarEventListener = IKgVarRetrieveEventListener;
13
+ export interface IUseKgVarStoreState {
14
+ /** 正在复制: 正在调用接口. */
15
+ isCopyingRequestingMap: Map<string, boolean>;
16
+ /** 正在创建: 正在调用接口. */
17
+ isCreatingRequestingMap: Map<string, boolean>;
18
+ /** 正在删除: 正在调用接口. */
19
+ isDeletingRequestingMap: Map<string, boolean>;
20
+ /** 其他按钮: 正在调用接口. */
21
+ isOtherRequestingMap: Map<string, boolean>;
22
+ /** 变量配置是否查询完成. */
23
+ isRequestedMap: Map<string, boolean>;
24
+ /**
25
+ * 正在查询所有变量配置.
26
+ */
27
+ isRequestingAllMap: Map<string, boolean>;
28
+ /** 正在查询 VarGridMaster. */
29
+ isRetrievingVarGridMasterMap: Map<string, boolean>;
30
+ /** 正在查询 VarProfileMaster. */
31
+ isRetrievingVarProfileMasterMap: Map<string, boolean>;
32
+ /** 正在更新: 正在调用接口. */
33
+ isUpdatingRequestingMap: Map<string, boolean>;
34
+ /**
35
+ * 界面层级.
36
+ */
37
+ levelMap: Map<string, number>;
38
+ /** 事件监听函数列表: retrieve. */
39
+ onRetrieveEventListenerMap: Map<string, Array<IKgVarRetrieveEventListener>>;
40
+ varButtonConfigMap: Map<string, VarButtonConfig | null>;
41
+ varButtonMap: Map<string, Array<VarButton>>;
42
+ varChildDetailMap: Map<string, Array<VarChildDetail>>;
43
+ varConfigControlMap: Map<string, Array<VarConfigControl>>;
44
+ varConfigDescriptionMap: Map<string, Array<VarConfigDescription>>;
45
+ varConfigInputMap: Map<string, Array<VarConfigInput>>;
46
+ varConfigLookupMap: Map<string, Array<VarConfigLookup>>;
47
+ varConfigPossibilityMap: Map<string, Array<VarConfigPossibility>>;
48
+ varConfigTipMap: Map<string, Array<VarConfigTip>>;
49
+ varDdaMap: Map<string, VarDda | null>;
50
+ varGridConfigMap: Map<string, VarGridConfig | null>;
51
+ varGridMasterMap: Map<string, {
52
+ varGridMasters: Array<VarGridMasterDTO> | null;
53
+ /** 当前表格视图. */
54
+ currentVarGridMasterID: string | null;
55
+ }>;
56
+ varProfileConfigMap: Map<string, VarProfileConfig | null>;
57
+ varProfileMasterMap: Map<string, {
58
+ varProfileMasters: Array<VarProfileMasterDTO> | null;
59
+ /** 当前选中的 VarProfileMaster ID. */
60
+ currentVarProfileMasterID: string | null;
61
+ }>;
62
+ varSubmitConfigMap: Map<string, Array<VarSubmitConfig>>;
63
+ varSubmitDetailMap: Map<string, Array<VarSubmitDetail>>;
64
+ varVariableMap: Map<string, Array<VarVariable> | null>;
65
+ }
66
+ export interface IUseKgVarStoreGetters {
67
+ /**
68
+ * 获取当前的 VarGridDetail 列表.
69
+ */
70
+ getCurrentVarGridDetails(): (formID: string | null | undefined) => Array<VarGridDetail> | null;
71
+ getCurrentVarGridMaster(): (formID: string | null | undefined) => VarGridMasterDTO | null;
72
+ /** 获取当前'表格视图'的 ID. */
73
+ getCurrentVarGridMasterID(): (formID: string | null | undefined) => string | null;
74
+ /**
75
+ * 获取当前的 VarProfileMaster.
76
+ */
77
+ getCurrentVarProfileMaster(): (formID: string | null | undefined) => VarProfileMasterDTO | null;
78
+ /** 获取当前 VarProfileMaster 的 ID. */
79
+ getCurrentVarProfileMasterID(): (formID: string | null | undefined) => string | null;
80
+ /**
81
+ * 获取当前视图下可显示的 VarGridDetail 列表.
82
+ */
83
+ getCurrentVisibleVarGridDetails(): (formID: string | null | undefined) => Array<VarGridDetail> | null;
84
+ /**
85
+ * 获取当前视图下可显示的 VarGridDetail 的宽度之和.
86
+ */
87
+ getCurrentVisibleVarGridDetailsTotalWidth(): (formID: string | null | undefined) => number | null;
88
+ /**
89
+ * 获取界面层级.
90
+ */
91
+ getLevel(): (formID: string | null | undefined) => number;
92
+ getParent(): (formID: string | null | undefined) => IUseKgVar | null;
93
+ /**
94
+ * 和 var_nam 获取 VarButton.
95
+ */
96
+ getVarButton(): (formID: string | null | undefined, varName: string | null | undefined) => VarButton | null;
97
+ getVarButtonCopy(): (formID: string | null | undefined) => VarButton | null;
98
+ getVarButtonCreate(): (formID: string | null | undefined) => VarButton | null;
99
+ getVarButtonDelete(): (formID: string | null | undefined) => VarButton | null;
100
+ getVarButtonUpdate(): (formID: string | null | undefined) => VarButton | null;
101
+ getVarChildDetails(): (formID: string | null | undefined) => Array<VarChildDetail>;
102
+ getVarConfigControl(): (formID: string | null | undefined, param: {
103
+ buttonType?: KG__VAR_BUTTON__TYPE;
104
+ buttonVarName?: string | null;
105
+ varName: string | null | undefined;
106
+ }) => VarConfigControl | null;
107
+ getVarConfigInput(): (formID: string | null | undefined, varName: string | null | undefined) => VarConfigInput | null;
108
+ getVarConfigLookup(): (formID: string | null | undefined, varName: string | null | undefined) => VarConfigLookup | null;
109
+ getVarConfigPossibility(): (formID: string | null | undefined, varName: string | null | undefined) => VarConfigPossibility | null;
110
+ getVarConfigTip(): (formID: string | null | undefined, varName: string | null | undefined) => VarConfigTip | null;
111
+ getVarDda(): (formID: string | null | undefined) => VarDda | null;
112
+ /**
113
+ * 获取'表格配置'.
114
+ */
115
+ getVarGridConfig(): (formID: string | null | undefined) => VarGridConfig | null;
116
+ /** 获取所有的 VarGridConfig. */
117
+ getVarGridConfigMap(): Map<string, VarGridConfig | null>;
118
+ /**
119
+ * 获取 VarGridMaster 列表.
120
+ */
121
+ getVarGridMasters(): (formID: string | null | undefined) => Array<VarGridMasterDTO> | null;
122
+ getVarProfileConfig(): (formID: string | null | undefined) => VarProfileConfig | null;
123
+ /**
124
+ * 和 var_nam 获取当前 VarProfileMaster 下的某个 VarProfileDetail.
125
+ */
126
+ getVarProfileDetail(): (formID: string | null | undefined, varName: string | null | undefined) => VarProfileDetail | null;
127
+ /**
128
+ * 获取 VarProfileMasterDTO 列表.
129
+ */
130
+ getVarProfileMasters(): (formID: string | null | undefined) => Array<VarProfileMasterDTO> | null;
131
+ getVarVariables(): (formID: string | null | undefined) => Array<VarVariable>;
132
+ isCopyingRequesting(): (formID: string | null | undefined) => boolean | null;
133
+ isCreatingRequesting(): (formID: string | null | undefined) => boolean | null;
134
+ isDeletingRequesting(): (formID: string | null | undefined) => boolean | null;
135
+ isOtherRequesting(): (formID: string | null | undefined) => boolean | null;
136
+ /** 变量配置是否查询完成. */
137
+ isRequested(): (formID: string | null | undefined) => boolean;
138
+ isRetrieving(): (formID: string | null | undefined) => boolean | null;
139
+ isRetrievingVarGridMaster(): (formID: string | null | undefined) => boolean | null;
140
+ isRetrievingVarProfileMaster(): (formID: string | null | undefined) => boolean | null;
141
+ isUpdatingRequesting(): (formID: string | null | undefined) => boolean | null;
142
+ /**
143
+ * 翻译变量.
144
+ */
145
+ t(): (formID: string | null | undefined, varName: string | null | undefined) => string;
146
+ }
147
+ export interface IUseKgVarStoreActions {
148
+ /**
149
+ * 注册事件监听.
150
+ * @param formID 界面标识.
151
+ * @param event 事件名称.
152
+ * @param listener 事件监听函数.
153
+ */
154
+ addEventListener(formID: string | null | undefined, event: IKgVarEvent, listener: any): void;
155
+ createVarConfigControl(formID: string | null | undefined, varConfigControl: VarConfigControl): void;
156
+ createVarConfigDescription(formID: string | null | undefined, varConfigDescription: VarConfigDescription): void;
157
+ createVarConfigPossibility(formID: string | null | undefined, varConfigPossibility: VarConfigPossibility): void;
158
+ /**
159
+ * <p>离开一个界面, 即销毁一个界面.</p>
160
+ * <p>删除它的变量配置数据.</p>
161
+ *
162
+ * @param formID 界面标识.
163
+ */
164
+ dispose(formID: string): void;
165
+ /**
166
+ * 拖拽排序 VarGridDetail 列表.
167
+ * @param formID 界面标识.
168
+ * @param fromVarName 被拽起的变量名称
169
+ * @param toVarName 被放下的变量名称.
170
+ */
171
+ dragSortCurrentVarGridDetails(formID: string | null | undefined, fromVarName: string | null | undefined, toVarName: string | null | undefined): void;
172
+ /**
173
+ * 触发事件.
174
+ * @param formID 界面标识.
175
+ * @param event 事件名称.
176
+ * @param args 事件参数.
177
+ */
178
+ emit(formID: string, event: IKgVarEvent, args?: any): void;
179
+ /**
180
+ * 进入一个界面. 同一个界面不允许进入多次.
181
+ * @param param.formID 界面标识.
182
+ * @param param.level 界面层级.
183
+ */
184
+ init(param: {
185
+ formID: string;
186
+ level: number;
187
+ }): Promise<void>;
188
+ /**
189
+ * 修改 VarConfigPossibility 的接口参数 cmd_prm 的部分属性.
190
+ * @param formID 界面标识.
191
+ * @param var_nam 变量名称
192
+ * @param properties 要修改的部分属性.
193
+ */
194
+ patchVarPossibilityCommandParameter(formID: string | null | undefined, var_nam: string | null | undefined, properties: Record<string, any>): Promise<void>;
195
+ /**
196
+ * 修改 VarProfileDetail 的部分属性.
197
+ * @param formID 界面标识.
198
+ * @param var_nam 变量名称.
199
+ * @param properties 要修改的部分属性.
200
+ */
201
+ patchVarProfileDetail(formID: string, var_nam: string | null | undefined, properties: VarProfileDetail): Promise<void>;
202
+ /**
203
+ * 退订事件监听.
204
+ * @param formID 界面标识.
205
+ * @param event 事件名称.
206
+ * @param listener 事件监听函数.
207
+ */
208
+ removeEventListener(formID: string, event: IKgVarEvent, listener?: any): void;
209
+ /**
210
+ * 查询所有变量配置.
211
+ *
212
+ * @param formID 界面标识.
213
+ * @param param 参数.
214
+ * @param param.isForceRequest 是否强制查询. 默认为 false, 即如果该界面的变量配置已经查询过了, 则不再查询; 否则, 重新查询所有变量配置.
215
+ */
216
+ requestAll(formID: string | null | undefined, param?: {
217
+ isForceRequest?: boolean;
218
+ }): Promise<void>;
219
+ /**
220
+ * 设置当前选择的表格视图的 ID.
221
+ * @param formID 界面标识.
222
+ * @param currentVarGridMasterID 当前选择的表格视图的 ID.
223
+ */
224
+ setCurrentVarGridMasterID(formID?: string | null, currentVarGridMasterID?: string | null): Promise<void>;
225
+ /**
226
+ * 设置当前选择的查询条件的 ID.
227
+ * @param formID 界面标识.
228
+ * @param currentVarProfileMasterID 当前选择的查询条件的 ID.
229
+ */
230
+ setCurrentVarProfileMasterID(formID?: string | null, currentVarProfileMasterID?: string | null): Promise<void>;
231
+ setIsCopyingRequesting(formID: string, value: boolean): void;
232
+ setIsCreatingRequesting(formID: string, value: boolean): void;
233
+ setIsDeletingRequesting(formID: string, value: boolean): void;
234
+ setIsOtherRequesting(formID: string, value: boolean): void;
235
+ setIsUpdatingRequesting(formID: string, value: boolean): void;
236
+ /**
237
+ * 设置某个 VarConfigPossibility 配置.
238
+ * @param formID 界面标识.
239
+ * @param var_nam 变量名称
240
+ * @param varConfigPossibility 配置.
241
+ */
242
+ setVarPossibility(formID: string | null | undefined, var_nam: string | null | undefined, varConfigPossibility: VarConfigPossibility): void;
243
+ /**
244
+ * 设置查询字段是否启用.
245
+ * @param formID 界面标识.
246
+ * @param var_nam 变量名称.
247
+ * @param enable 是否启用.
248
+ */
249
+ setVarProfileDetailEnable(formID: string, var_nam: string | null | undefined, enable: number): void;
250
+ }
251
+ export declare type IUseKgVarStore = StoreDefinition<'KgVar', IUseKgVarStoreState, IUseKgVarStoreGetters, IUseKgVarStoreActions>;
252
+ export declare type IKgVarStore = ReturnType<IUseKgVarStore>;
253
+ export declare const useKgVarStore: IUseKgVarStore;
@@ -0,0 +1,30 @@
1
+ import { VarButton, VarButtonConfig, VarChildDetail, VarConfigControl, VarConfigInput, VarConfigLookup, VarConfigPossibility, VarConfigTip, VarGridConfig, VarGridDetail, VarGridMasterDTO, VarProfileConfig, VarProfileDetail, VarProfileMasterDTO, VarSubmitConfig, VarSubmitDetail } from '../../apis/WMS/models';
2
+ export declare function transformVarProfileConfig(varProfileConfig: VarProfileConfig | null | undefined): VarProfileConfig | null;
3
+ export declare function transformVarGridConfig(varGridConfig: VarGridConfig | null | undefined): VarGridConfig | null;
4
+ export declare function transformVarGridMasters(varGridMasters?: Array<VarGridMasterDTO> | null): Array<VarGridMasterDTO>;
5
+ export declare function transformVarChildDetails(varChildDetails: Array<VarChildDetail> | null | undefined): Array<VarChildDetail>;
6
+ export declare function transformVarProfileMasters(varProfileMasters?: Array<VarProfileMasterDTO> | null): Array<VarProfileMasterDTO>;
7
+ export declare function transformVarSubmitConfigs(varSubmitConfigs?: Array<VarSubmitConfig> | null): Array<VarSubmitConfig>;
8
+ export declare function transformVarSubmitDetails(varSubmitDetails?: Array<VarSubmitDetail> | null): Array<VarSubmitDetail>;
9
+ export declare function transformVarButtons(varButtons?: Array<VarButton> | null): Array<VarButton>;
10
+ export declare function transformVarConfigPossibilities(varConfigPossibilities: Array<VarConfigPossibility> | null | undefined): Array<VarConfigPossibility>;
11
+ export declare function transformVarConfigControls(varConfigControls: Array<VarConfigControl> | null | undefined): Array<VarConfigControl>;
12
+ export declare function transformVarConfigLookups(varConfigLookups: Array<VarConfigLookup> | null | undefined): Array<VarConfigLookup>;
13
+ export declare function transformVarConfigTips(varConfigTips: Array<VarConfigTip> | null | undefined): Array<VarConfigTip>;
14
+ export declare function transformVarConfigInputs(varConfigInputs: Array<VarConfigInput> | null | undefined): Array<VarConfigInput>;
15
+ export declare function transformVarButtonConfig(varButtonConfig: VarButtonConfig | null | undefined): VarButtonConfig | null;
16
+ /**
17
+ * 处理 VarGridDetail 数据.
18
+ *
19
+ * @param varGridDetails 原始数据.
20
+ */
21
+ export declare function transformVarGridDetails(varGridDetails?: Array<VarGridDetail> | null): Array<VarGridDetail>;
22
+ export declare function transformVarProfileDetails(varProfileDetails?: Array<VarProfileDetail> | null): Array<VarProfileDetail>;
23
+ /**
24
+ * 给所有没有「提交表单字段」的「查询条件视图明细」创建一个默认的「提交表单字段」.
25
+ *
26
+ * @param varGridMasters 「查询条件视图」列表.
27
+ * @param varSubmitDetails 「提交表单字段」列表.
28
+ * @param varButtons 「按钮」列表.
29
+ */
30
+ export declare function createDefaultVarSubmitDetailsForVarProfileDetails(varGridMasters: Array<VarProfileMasterDTO>, varSubmitDetails: Array<VarSubmitDetail>, varButtons: Array<VarButton>): void;
@@ -0,0 +1,55 @@
1
+ import { ComputedRef, InjectionKey } from 'vue';
2
+ import { IKgButtonProps } from '../KgButton';
3
+ import { IKgFormItemSlotControlParameter, IKgFormItemSlotControlRightParameter } from '../KgForm.Item/index.vm';
4
+ import { IKgSearchProps } from '../KgSearch';
5
+ import { KgSubmitProps } from '../KgSubmit';
6
+ import { IKgTableSlotParams } from '../KgTable';
7
+ import { IKgTableProps } from '../KgTable/KgTable';
8
+ export declare type IKgSlots = {
9
+ KgButton?: {
10
+ /** 右侧. */
11
+ right?: () => any;
12
+ };
13
+ KgSearch?: {
14
+ /** 左侧. */
15
+ left?: () => any;
16
+ };
17
+ KgSubmit?: {
18
+ /**
19
+ * 某个表单控件.
20
+ */
21
+ 'KgForm.Item.control'?: {
22
+ [variable: string]: (param: IKgFormItemSlotControlParameter) => any;
23
+ };
24
+ /** 某个表单控件右侧. */
25
+ 'KgForm.Item.controlRight'?: {
26
+ [variable: string]: (param: IKgFormItemSlotControlRightParameter) => any;
27
+ };
28
+ };
29
+ KgTable?: {
30
+ /** 单元格. */
31
+ bodyCell?: (param: IKgTableSlotParams['bodyCell']) => any;
32
+ /** 展开行. */
33
+ expandedRowRender?: (param: IKgTableSlotParams['expandedRowRender']) => any;
34
+ /** 表格底部的汇总行.单元格. */
35
+ 'summary.bodyCell'?: (param: IKgTableSlotParams['summary.bodyCell']) => any;
36
+ };
37
+ /** KgTable 下面. */
38
+ afterKgTable?: () => any;
39
+ /**
40
+ * 孩子页面.
41
+ */
42
+ children?: {
43
+ [childFormID: string]: () => any;
44
+ };
45
+ };
46
+ /** 注入 kgSlots 参数. */
47
+ export declare const KG__DI__KG_VAR__KG_SLOTS: InjectionKey<IKgSlots | undefined>;
48
+ export declare type IKgProps = {
49
+ KgButton?: IKgButtonProps;
50
+ KgSearch?: IKgSearchProps;
51
+ KgSubmit?: KgSubmitProps;
52
+ KgTable?: IKgTableProps;
53
+ };
54
+ /** 注入 kgProps 参数. */
55
+ export declare const KG__DI__KG_VAR__KG_PROPS: InjectionKey<ComputedRef<IKgProps | undefined>>;
@@ -0,0 +1,3 @@
1
+ import './KgVarConfig.less';
2
+ declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
3
+ export default _default;
@@ -0,0 +1,27 @@
1
+ import { ExtractPropTypes, PropType } from 'vue';
2
+ export declare const getProps: () => {
3
+ visible: PropType<boolean>;
4
+ 'onUpdate:visible': PropType<(value: boolean) => void>;
5
+ formIDs: PropType<string[]>;
6
+ onKgOk: PropType<(formID: string) => void>;
7
+ };
8
+ export declare type KgVarConfigSelectFormIdModalProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
9
+ /**
10
+ * <p>界面标识选择弹窗.</p>
11
+ * <p>当前界面存在多个界面标识时, 需要用户手动选择要配置哪个弹窗.</p>
12
+ */
13
+ declare const _default: import("vue").DefineComponent<{
14
+ visible: PropType<boolean>;
15
+ 'onUpdate:visible': PropType<(value: boolean) => void>;
16
+ formIDs: PropType<string[]>;
17
+ onKgOk: PropType<(formID: string) => void>;
18
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:visible" | "kgOk")[], "update:visible" | "kgOk", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
19
+ visible: PropType<boolean>;
20
+ 'onUpdate:visible': PropType<(value: boolean) => void>;
21
+ formIDs: PropType<string[]>;
22
+ onKgOk: PropType<(formID: string) => void>;
23
+ }>> & {
24
+ "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
25
+ onKgOk?: ((...args: any[]) => any) | undefined;
26
+ }, {}>;
27
+ export default _default;
@@ -0,0 +1,15 @@
1
+ import { ExtractPropTypes, PropType } from 'vue';
2
+ export declare const getProps: () => {
3
+ visible: PropType<boolean>;
4
+ 'onUpdate:visible': PropType<(value: boolean) => void>;
5
+ };
6
+ export declare type KgVarConfigModalProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
7
+ export declare const KgVarConfigModal: import("vue").DefineComponent<{
8
+ visible: PropType<boolean>;
9
+ 'onUpdate:visible': PropType<(value: boolean) => void>;
10
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:visible"[], "update:visible", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
11
+ visible: PropType<boolean>;
12
+ 'onUpdate:visible': PropType<(value: boolean) => void>;
13
+ }>> & {
14
+ "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
15
+ }, {}>;
@@ -0,0 +1,7 @@
1
+ import { ExtractPropTypes } from 'vue';
2
+ export declare const getProps: () => any;
3
+ export declare type KgVarConfigModalButtonVarButtonProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
4
+ declare const _default: import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
5
+ [x: string]: any;
6
+ }>;
7
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import { ExtractPropTypes } from 'vue';
2
+ export declare const getProps: () => any;
3
+ export declare type KgVarConfigModalButtonVarButtonConfigProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
4
+ declare const _default: import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
5
+ [x: string]: any;
6
+ }>;
7
+ export default _default;
@@ -0,0 +1,5 @@
1
+ export declare const getProps: () => any;
2
+ declare const _default: import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
3
+ [x: string]: any;
4
+ }>;
5
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import { ExtractPropTypes } from 'vue';
2
+ export declare const getProps: () => any;
3
+ export declare type KgVarConfigModalChildProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
4
+ declare const _default: import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
5
+ [x: string]: any;
6
+ }>;
7
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import { ExtractPropTypes } from 'vue';
2
+ export declare const getProps: () => any;
3
+ export declare type KgVarConfigModalSearchVarProfileConfigProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
4
+ declare const _default: import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
5
+ [x: string]: any;
6
+ }>;
7
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import { ExtractPropTypes } from 'vue';
2
+ export declare const getProps: () => any;
3
+ export declare type KgVarConfigModalSearchVarProfileMasterProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
4
+ declare const _default: import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
5
+ [x: string]: any;
6
+ }>;
7
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import { ColumnsType } from 'ant-design-vue/es/table';
2
+ import { Ref, UnwrapRef } from 'vue';
3
+ import { VarProfileDetail } from '../../../../apis/WMS/models';
4
+ export declare const leftVarProfileDetailColumns: (hostFormID: string) => ColumnsType<VarProfileDetail>;
5
+ export declare const rightVarProfileDetailColumns: (hostFormID: string) => ColumnsType<VarProfileDetail>;
6
+ export declare type IUseDragRow = {};
7
+ export declare function _useDragToSortRow(hostFormID: string | null | undefined, varProfileDetails: Ref<UnwrapRef<Array<VarProfileDetail>>>, transferRightRows: Ref<UnwrapRef<Array<VarProfileDetail>>>): IUseDragRow;
@@ -0,0 +1,5 @@
1
+ export declare const getProps: () => any;
2
+ declare const _default: import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
3
+ [x: string]: any;
4
+ }>;
5
+ export default _default;