@kengic/vue 0.26.6-beta.1 → 0.26.6-beta.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (272) hide show
  1. package/dist/kengic-vue.js +48516 -20438
  2. package/package.json +5 -4
  3. package/dist/src/apis/WMS/Controllers/DescriptionController/List.d.ts +0 -51
  4. package/dist/src/apis/WMS/Controllers/DescriptionController/ListByCodeNamesAndCodeValues.d.ts +0 -16
  5. package/dist/src/apis/WMS/Controllers/DescriptionController/index.d.ts +0 -2
  6. package/dist/src/apis/WMS/Controllers/SysPermissionController/List.d.ts +0 -73
  7. package/dist/src/apis/WMS/Controllers/SysPermissionController/index.d.ts +0 -1
  8. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/Add.d.ts +0 -16
  9. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/index.d.ts +0 -1
  10. package/dist/src/apis/WMS/Controllers/VarConfigPossibilityController/ExecuteQuery.d.ts +0 -18
  11. package/dist/src/apis/WMS/Controllers/VarConfigPossibilityController/index.d.ts +0 -1
  12. package/dist/src/apis/WMS/Controllers/VarController/GetAll.d.ts +0 -16
  13. package/dist/src/apis/WMS/Controllers/VarController/index.d.ts +0 -1
  14. package/dist/src/apis/WMS/Controllers/VarDdaController/Create.d.ts +0 -16
  15. package/dist/src/apis/WMS/Controllers/VarDdaController/GetResultSetMetadataFromSql.d.ts +0 -16
  16. package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateCopySql.d.ts +0 -16
  17. package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateCreateSql.d.ts +0 -16
  18. package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateDeleteSql.d.ts +0 -16
  19. package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateFrmId.d.ts +0 -16
  20. package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateSearchSql.d.ts +0 -16
  21. package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateUpdateSql.d.ts +0 -16
  22. package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateVarButtonVarName.d.ts +0 -16
  23. package/dist/src/apis/WMS/Controllers/VarDdaController/index.d.ts +0 -9
  24. package/dist/src/apis/WMS/Controllers/VarGridMasterController/QueryByID.d.ts +0 -19
  25. package/dist/src/apis/WMS/Controllers/VarGridMasterController/Update.d.ts +0 -16
  26. package/dist/src/apis/WMS/Controllers/VarGridMasterController/index.d.ts +0 -2
  27. package/dist/src/apis/WMS/Controllers/VarProfileMasterController/QueryByID.d.ts +0 -19
  28. package/dist/src/apis/WMS/Controllers/VarProfileMasterController/index.d.ts +0 -1
  29. package/dist/src/apis/WMS/Controllers/VarVariableController/Delete.d.ts +0 -16
  30. package/dist/src/apis/WMS/Controllers/VarVariableController/index.d.ts +0 -1
  31. package/dist/src/apis/WMS/Controllers/WhController/ListVO.d.ts +0 -54
  32. package/dist/src/apis/WMS/Controllers/WhController/index.d.ts +0 -1
  33. package/dist/src/apis/WMS/Controllers/WorkstationController/List.d.ts +0 -25
  34. package/dist/src/apis/WMS/Controllers/WorkstationController/index.d.ts +0 -1
  35. package/dist/src/apis/WMS/Controllers/index.d.ts +0 -11
  36. package/dist/src/apis/WMS/index.d.ts +0 -2
  37. package/dist/src/apis/WMS/models.d.ts +0 -1012
  38. package/dist/src/apis/api.d.ts +0 -1
  39. package/dist/src/apis/def.d.ts +0 -1
  40. package/dist/src/apis/index.d.ts +0 -2
  41. package/dist/src/components/KgAppSelect/KgAppSelect.d.ts +0 -47
  42. package/dist/src/components/KgAppSelect/index.d.ts +0 -3
  43. package/dist/src/components/KgAppSelect/index.hooks.d.ts +0 -41
  44. package/dist/src/components/KgAppSelect/index.store.d.ts +0 -74
  45. package/dist/src/components/KgButton/KgButton.Item.d.ts +0 -41
  46. package/dist/src/components/KgButton/KgButton.Item.data.d.ts +0 -31
  47. package/dist/src/components/KgButton/KgButton.d.ts +0 -40
  48. package/dist/src/components/KgButton/components/KgButton.Copy.d.ts +0 -40
  49. package/dist/src/components/KgButton/components/KgButton.Create.d.ts +0 -40
  50. package/dist/src/components/KgButton/components/KgButton.Delete.d.ts +0 -40
  51. package/dist/src/components/KgButton/components/KgButton.Export.d.ts +0 -40
  52. package/dist/src/components/KgButton/components/KgButton.Import.d.ts +0 -40
  53. package/dist/src/components/KgButton/components/KgButton.ImportTemplate.d.ts +0 -40
  54. package/dist/src/components/KgButton/components/KgButton.Other.d.ts +0 -40
  55. package/dist/src/components/KgButton/components/KgButton.Search.d.ts +0 -40
  56. package/dist/src/components/KgButton/components/KgButton.Update.d.ts +0 -40
  57. package/dist/src/components/KgButton/index.d.ts +0 -62
  58. package/dist/src/components/KgButton/index.hooks.d.ts +0 -183
  59. package/dist/src/components/KgButton/index.store.d.ts +0 -116
  60. package/dist/src/components/KgCanvas/KgCanvas.ContextMenu.d.ts +0 -107
  61. package/dist/src/components/KgCanvas/KgCanvas.d.ts +0 -122
  62. package/dist/src/components/KgCanvas/KgCanvas.service.d.ts +0 -36
  63. package/dist/src/components/KgCanvas/index.d.ts +0 -4
  64. package/dist/src/components/KgCanvas/index.hooks.d.ts +0 -67
  65. package/dist/src/components/KgCanvas/index.store.d.ts +0 -239
  66. package/dist/src/components/KgForm/KgForm.d.ts +0 -414
  67. package/dist/src/components/KgForm/index.d.ts +0 -604
  68. package/dist/src/components/KgForm/index.hooks.d.ts +0 -73
  69. package/dist/src/components/KgForm/index.store.d.ts +0 -221
  70. package/dist/src/components/KgForm/index.vm.d.ts +0 -9
  71. package/dist/src/components/KgForm.Item/KgForm.Item.d.ts +0 -97
  72. package/dist/src/components/KgForm.Item/KgForm.Item.service.d.ts +0 -17
  73. package/dist/src/components/KgForm.Item/addon/KgForm.Item.Addon.DynamicQueryOperator.d.ts +0 -49
  74. package/dist/src/components/KgForm.Item/addon/KgForm.Item.Addon.Lookup.Modal.d.ts +0 -16
  75. package/dist/src/components/KgForm.Item/addon/KgForm.Item.Addon.Lookup.d.ts +0 -31
  76. package/dist/src/components/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +0 -100
  77. package/dist/src/components/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +0 -99
  78. package/dist/src/components/KgForm.Item/components/KgForm.Item.Date.d.ts +0 -97
  79. package/dist/src/components/KgForm.Item/components/KgForm.Item.DateRange.d.ts +0 -97
  80. package/dist/src/components/KgForm.Item/components/KgForm.Item.Image.d.ts +0 -92
  81. package/dist/src/components/KgForm.Item/components/KgForm.Item.Input.d.ts +0 -96
  82. package/dist/src/components/KgForm.Item/components/KgForm.Item.InputNumber.d.ts +0 -96
  83. package/dist/src/components/KgForm.Item/components/KgForm.Item.InputPassword.d.ts +0 -96
  84. package/dist/src/components/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +0 -98
  85. package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.d.ts +0 -98
  86. package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.service.d.ts +0 -29
  87. package/dist/src/components/KgForm.Item/components/KgForm.Item.Switch.d.ts +0 -96
  88. package/dist/src/components/KgForm.Item/components/KgForm.Item.TextArea.d.ts +0 -96
  89. package/dist/src/components/KgForm.Item/index.d.ts +0 -2
  90. package/dist/src/components/KgForm.Item/index.vm.d.ts +0 -124
  91. package/dist/src/components/KgImage/KgImage.d.ts +0 -100
  92. package/dist/src/components/KgImage/index.d.ts +0 -1
  93. package/dist/src/components/KgLayoutHeader/components/KgLayoutHeaderLocale.d.ts +0 -38
  94. package/dist/src/components/KgLayoutHeader/index.d.ts +0 -2
  95. package/dist/src/components/KgLayoutHeader/index.hooks.d.ts +0 -4
  96. package/dist/src/components/KgModal/KgModal.d.ts +0 -817
  97. package/dist/src/components/KgModal/KgModal.service.d.ts +0 -39
  98. package/dist/src/components/KgModal/components/KgModal.HeaderButtons.d.ts +0 -92
  99. package/dist/src/components/KgModal/index.d.ts +0 -1
  100. package/dist/src/components/KgModal/index.vm.d.ts +0 -8
  101. package/dist/src/components/KgProgressA/KgProgressA.d.ts +0 -85
  102. package/dist/src/components/KgProgressA/index.d.ts +0 -1
  103. package/dist/src/components/KgResizable/KgResizable.d.ts +0 -91
  104. package/dist/src/components/KgResizable/KgResizable.service.d.ts +0 -12
  105. package/dist/src/components/KgResizable/index.d.ts +0 -1
  106. package/dist/src/components/KgSearch/KgSearch.d.ts +0 -26
  107. package/dist/src/components/KgSearch/KgSearch.service.d.ts +0 -32
  108. package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.d.ts +0 -16
  109. package/dist/src/components/KgSearch/index.d.ts +0 -3
  110. package/dist/src/components/KgSearch/index.hooks.d.ts +0 -67
  111. package/dist/src/components/KgSearch/index.store.d.ts +0 -147
  112. package/dist/src/components/KgSearch/index.vm.d.ts +0 -1
  113. package/dist/src/components/KgStation/KgStation.d.ts +0 -47
  114. package/dist/src/components/KgStation/index.d.ts +0 -3
  115. package/dist/src/components/KgStation/index.hooks.d.ts +0 -29
  116. package/dist/src/components/KgStation/index.store.d.ts +0 -45
  117. package/dist/src/components/KgSubmit/KgSubmit.d.ts +0 -21
  118. package/dist/src/components/KgSubmit/KgSubmit.service.d.ts +0 -29
  119. package/dist/src/components/KgSubmit/index.d.ts +0 -4
  120. package/dist/src/components/KgSubmit/index.hooks.d.ts +0 -295
  121. package/dist/src/components/KgSubmit/index.store.d.ts +0 -194
  122. package/dist/src/components/KgSubmit/index.vm.d.ts +0 -57
  123. package/dist/src/components/KgTable/KgTable.d.ts +0 -39
  124. package/dist/src/components/KgTable/KgTable.service.d.ts +0 -34
  125. package/dist/src/components/KgTable/components/KgTable.BodyCell.d.ts +0 -60
  126. package/dist/src/components/KgTable/components/KgTable.HeaderCell.d.ts +0 -52
  127. package/dist/src/components/KgTable/components/KgTable.Info.d.ts +0 -57
  128. package/dist/src/components/KgTable/components/setting/KgTable.Setting.VarGridMaster.SaveAs.d.ts +0 -5
  129. package/dist/src/components/KgTable/components/setting/KgTable.Setting.d.ts +0 -21
  130. package/dist/src/components/KgTable/components/setting/KgTable.Setting.service.d.ts +0 -22
  131. package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.d.ts +0 -16
  132. package/dist/src/components/KgTable/index.d.ts +0 -4
  133. package/dist/src/components/KgTable/index.hooks.d.ts +0 -148
  134. package/dist/src/components/KgTable/index.store.d.ts +0 -241
  135. package/dist/src/components/KgTable/index.vm.d.ts +0 -67
  136. package/dist/src/components/KgVar/KgVar.d.ts +0 -114
  137. package/dist/src/components/KgVar/index.d.ts +0 -4
  138. package/dist/src/components/KgVar/index.hooks.d.ts +0 -184
  139. package/dist/src/components/KgVar/index.store.d.ts +0 -253
  140. package/dist/src/components/KgVar/index.store.service.d.ts +0 -30
  141. package/dist/src/components/KgVar/index.vm.d.ts +0 -55
  142. package/dist/src/components/KgVarConfig/KgVarConfig.d.ts +0 -3
  143. package/dist/src/components/KgVarConfig/components/KgVarConfig.Modal.d.ts +0 -16
  144. package/dist/src/components/KgVarConfig/components/KgVarConfig.SelectFormIdModal.d.ts +0 -27
  145. package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButton.d.ts +0 -7
  146. package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButtonConfig.d.ts +0 -7
  147. package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.d.ts +0 -5
  148. package/dist/src/components/KgVarConfig/components/child/KgVarConfig.Modal.Child.d.ts +0 -7
  149. package/dist/src/components/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileConfig.d.ts +0 -7
  150. package/dist/src/components/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileMaster.d.ts +0 -7
  151. package/dist/src/components/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileMaster.service.d.ts +0 -7
  152. package/dist/src/components/KgVarConfig/components/search/KgVarConfig.Modal.Search.d.ts +0 -5
  153. package/dist/src/components/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitConfig.d.ts +0 -7
  154. package/dist/src/components/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitDetail.d.ts +0 -7
  155. package/dist/src/components/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.d.ts +0 -5
  156. package/dist/src/components/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridConfig.d.ts +0 -7
  157. package/dist/src/components/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridMaster.d.ts +0 -7
  158. package/dist/src/components/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridMaster.service.d.ts +0 -23
  159. package/dist/src/components/KgVarConfig/components/table/KgVarConfig.Modal.Table.d.ts +0 -5
  160. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigControl.d.ts +0 -2
  161. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigDescription.d.ts +0 -2
  162. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigInput.d.ts +0 -2
  163. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigLookup.d.ts +0 -2
  164. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigPossibility.d.ts +0 -2
  165. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigTip.d.ts +0 -2
  166. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarVariable.d.ts +0 -2
  167. package/dist/src/components/KgVarConfig/index.d.ts +0 -3
  168. package/dist/src/components/KgVarConfig/index.hooks.d.ts +0 -17
  169. package/dist/src/components/KgVarConfig/index.store.d.ts +0 -16
  170. package/dist/src/components/KgVarConfig/index.vm.d.ts +0 -50
  171. package/dist/src/components/KgWarehouse/KgWarehouse.d.ts +0 -47
  172. package/dist/src/components/KgWarehouse/index.d.ts +0 -4
  173. package/dist/src/components/KgWarehouse/index.guard.d.ts +0 -8
  174. package/dist/src/components/KgWarehouse/index.hooks.d.ts +0 -27
  175. package/dist/src/components/KgWarehouse/index.store.d.ts +0 -63
  176. package/dist/src/components/KgYesOrNo/KgYesOrNo.d.ts +0 -60
  177. package/dist/src/components/KgYesOrNo/index.d.ts +0 -1
  178. package/dist/src/components/index.d.ts +0 -21
  179. package/dist/src/components/util.d.ts +0 -14
  180. package/dist/src/config/index.d.ts +0 -3
  181. package/dist/src/config/index.hooks.d.ts +0 -36
  182. package/dist/src/config/index.store.d.ts +0 -315
  183. package/dist/src/config/setup/index.d.ts +0 -3
  184. package/dist/src/config/setup/setup.d.ts +0 -27
  185. package/dist/src/config/setup/setupKgLocale.d.ts +0 -29
  186. package/dist/src/config/setup/setupKgStore.d.ts +0 -18
  187. package/dist/src/consts/i18n/en.d.ts +0 -274
  188. package/dist/src/consts/i18n/es_ES.d.ts +0 -274
  189. package/dist/src/consts/i18n/fr_FR.d.ts +0 -274
  190. package/dist/src/consts/i18n/index.d.ts +0 -2
  191. package/dist/src/consts/i18n/km_KH.d.ts +0 -274
  192. package/dist/src/consts/i18n/ko_KR.d.ts +0 -274
  193. package/dist/src/consts/i18n/vi_VN.d.ts +0 -274
  194. package/dist/src/consts/i18n/zh_CN.d.ts +0 -274
  195. package/dist/src/consts/index.d.ts +0 -3
  196. package/dist/src/consts/index.vm.d.ts +0 -725
  197. package/dist/src/consts/injection-keys.const.d.ts +0 -9
  198. package/dist/src/helpers/ant-design-vue.d.ts +0 -347
  199. package/dist/src/helpers/tsx.helper.d.ts +0 -23
  200. package/dist/src/index.d.ts +0 -10
  201. package/dist/src/pages/KgPageDda/KgPageDda.d.ts +0 -8
  202. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Basic.SqlModal.d.ts +0 -32
  203. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Basic.d.ts +0 -7
  204. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Button.d.ts +0 -7
  205. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Menu.d.ts +0 -7
  206. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Search.d.ts +0 -7
  207. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Submit.d.ts +0 -7
  208. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Table.d.ts +0 -7
  209. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.d.ts +0 -33
  210. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.store.d.ts +0 -1322
  211. package/dist/src/pages/KgPageDda/index.d.ts +0 -5
  212. package/dist/src/pages/KgPageDda/index.vm.d.ts +0 -12
  213. package/dist/src/pages/KgVarFactory/KgVarFactory.d.ts +0 -62
  214. package/dist/src/pages/KgVarFactory/index.d.ts +0 -1
  215. package/dist/src/pages/index.d.ts +0 -9
  216. package/dist/src/project/build/getConfigFileName.d.ts +0 -5
  217. package/dist/src/project/build/index.d.ts +0 -1
  218. package/dist/src/project/index.d.ts +0 -3
  219. package/dist/src/project/src/api/index.d.ts +0 -3
  220. package/dist/src/project/src/api/sys/model/menuModel.d.ts +0 -15
  221. package/dist/src/project/src/api/sys/model/uploadModel.d.ts +0 -5
  222. package/dist/src/project/src/api/sys/model/userModel.d.ts +0 -46
  223. package/dist/src/project/src/components/Dropdown/index.d.ts +0 -1
  224. package/dist/src/project/src/components/Dropdown/src/typing.d.ts +0 -9
  225. package/dist/src/project/src/components/index.d.ts +0 -1
  226. package/dist/src/project/src/enums/CompTypeEnum.d.ts +0 -19
  227. package/dist/src/project/src/enums/DateTypeEnum.d.ts +0 -8
  228. package/dist/src/project/src/enums/appEnum.d.ts +0 -40
  229. package/dist/src/project/src/enums/breakpointEnum.d.ts +0 -18
  230. package/dist/src/project/src/enums/cacheEnum.d.ts +0 -18
  231. package/dist/src/project/src/enums/exceptionEnum.d.ts +0 -17
  232. package/dist/src/project/src/enums/httpEnum.d.ts +0 -38
  233. package/dist/src/project/src/enums/index.d.ts +0 -13
  234. package/dist/src/project/src/enums/jeecgEnum.d.ts +0 -16
  235. package/dist/src/project/src/enums/menuEnum.d.ts +0 -35
  236. package/dist/src/project/src/enums/pageEnum.d.ts +0 -14
  237. package/dist/src/project/src/enums/roleEnum.d.ts +0 -4
  238. package/dist/src/project/src/enums/sizeEnum.d.ts +0 -18
  239. package/dist/src/project/src/hooks/index.d.ts +0 -1
  240. package/dist/src/project/src/hooks/web/useI18n.d.ts +0 -13
  241. package/dist/src/project/src/index.d.ts +0 -13
  242. package/dist/src/project/src/locales/helper.d.ts +0 -5
  243. package/dist/src/project/src/locales/index.d.ts +0 -3
  244. package/dist/src/project/src/locales/setupI18n.d.ts +0 -4
  245. package/dist/src/project/src/locales/useLocale.d.ts +0 -10
  246. package/dist/src/project/src/settings/componentSetting.d.ts +0 -44
  247. package/dist/src/project/src/settings/designSetting.d.ts +0 -6
  248. package/dist/src/project/src/settings/encryptionSetting.d.ts +0 -6
  249. package/dist/src/project/src/settings/index.d.ts +0 -3
  250. package/dist/src/project/src/store/index.d.ts +0 -1
  251. package/dist/src/project/src/store/modules/index.d.ts +0 -1
  252. package/dist/src/project/src/store/modules/locale.d.ts +0 -38
  253. package/dist/src/project/src/utils/cache/index.d.ts +0 -7
  254. package/dist/src/project/src/utils/cache/memory.d.ts +0 -22
  255. package/dist/src/project/src/utils/cache/persistent.d.ts +0 -33
  256. package/dist/src/project/src/utils/cache/storageCache.d.ts +0 -8
  257. package/dist/src/project/src/utils/cipher.d.ts +0 -19
  258. package/dist/src/project/src/utils/env.d.ts +0 -34
  259. package/dist/src/project/types/axios.d.ts +0 -35
  260. package/dist/src/project/types/config.d.ts +0 -121
  261. package/dist/src/project/types/index.d.ts +0 -4
  262. package/dist/src/project/types/store.d.ts +0 -42
  263. package/dist/src/project/types/utils.d.ts +0 -4
  264. package/dist/src/services/http-client.d.ts +0 -93
  265. package/dist/src/services/index.d.ts +0 -1
  266. package/dist/src/utils/index.d.ts +0 -6
  267. package/dist/src/utils/kg-auth.util.d.ts +0 -26
  268. package/dist/src/utils/kg-dom.util.d.ts +0 -12
  269. package/dist/src/utils/kg-logger.util.d.ts +0 -69
  270. package/dist/src/utils/kg-route.util.d.ts +0 -57
  271. package/dist/src/utils/kg-var.util.d.ts +0 -76
  272. package/dist/src/utils/kg.util.d.ts +0 -150
@@ -1,315 +0,0 @@
1
- import { StoreDefinition } from 'pinia';
2
- import { ComputedRef } from 'vue';
3
- import { Router } from 'vue-router';
4
- import { DescriptionDTO, SysUserWarehouseDTO } from '../apis/WMS/models';
5
- import { KG_APP, Menu } from '../consts';
6
- import { LocaleType } from '../project/types/config';
7
- import { UserInfo } from '../project/types/store';
8
- export declare type IKgOption = {
9
- /**
10
- * 多标签页.
11
- */
12
- KgLayoutTab?: {
13
- /**
14
- * <p>是否放到页面头部区域.</p>
15
- * @default true
16
- */
17
- isTeleportToHeader?: boolean;
18
- };
19
- KgModal?: {
20
- /** 拖拽改变位置. */
21
- drag?: {
22
- /**
23
- * 是否启用功能.
24
- *
25
- * @default false
26
- */
27
- on?: boolean;
28
- };
29
- /** 拖拽改变大小. */
30
- dragToResize?: {
31
- /**
32
- * 是否启用功能.
33
- *
34
- * @default false
35
- */
36
- isOn?: boolean;
37
- };
38
- };
39
- KgSearch?: {
40
- /** 高级查询. */
41
- dynamicQuery?: {
42
- /**
43
- * 是否启用功能.
44
- *
45
- * @default false
46
- */
47
- on?: boolean;
48
- };
49
- };
50
- KgTable?: {
51
- /** 列的过滤. */
52
- filter?: {
53
- /**
54
- * 是否启用功能.
55
- * @default false
56
- */
57
- on?: boolean;
58
- };
59
- /**
60
- * 表格设置菜单.
61
- */
62
- Setting?: {
63
- /**
64
- * 行高.
65
- */
66
- rowHeight?: {
67
- /**
68
- * 是否启用功能.
69
- * @default false
70
- */
71
- on?: boolean;
72
- };
73
- /**
74
- * 字段.
75
- */
76
- columns?: {
77
- /**
78
- * 拖拽排序.
79
- */
80
- dragToSort?: {
81
- /**
82
- * @default false
83
- */
84
- isOn?: boolean;
85
- };
86
- };
87
- };
88
- /**
89
- * 表头.
90
- */
91
- HeaderCell?: {
92
- /**
93
- * 右键菜单.
94
- */
95
- contextMenu?: {
96
- /**
97
- * @default false
98
- */
99
- isOn?: boolean;
100
- };
101
- };
102
- Info?: {
103
- /**
104
- * 定位勾选的行.
105
- */
106
- locateSelectedRows: {
107
- /**
108
- * @default false
109
- */
110
- isOn?: boolean;
111
- };
112
- };
113
- };
114
- /** 仓库选择. */
115
- KgWarehouse?: {
116
- /**
117
- * 是否启用功能.
118
- * @default true
119
- */
120
- on?: boolean;
121
- /** 默认的仓库编码, 只有在 {@link IKgOption.KgWarehouse.on} 为 false 时才生效. */
122
- defaultWarehouseID?: string;
123
- };
124
- /** 工作站选择. */
125
- KgStation?: {
126
- /**
127
- * 是否启用功能.
128
- * @default true
129
- */
130
- isOn?: boolean;
131
- };
132
- /** 模块首页地址. */
133
- appIndex?: {
134
- /** 默认为 '/wms/data-manager/index'. */
135
- [KG_APP.WMS_DATA_MANAGER]?: string;
136
- /** 默认为 '/wms/business-manager/index'. */
137
- [KG_APP.WMS_BUSINESS_MANAGER]?: string;
138
- /** 默认为 '/wcs/index'. */
139
- [KG_APP.WCS]?: string;
140
- /** 默认为 '/sys/index'. */
141
- [KG_APP.SYS]?: string;
142
- };
143
- /** 模块标题. */
144
- appTitle?: {
145
- /** 默认为 '数据管理'. */
146
- [KG_APP.WMS_DATA_MANAGER]?: string;
147
- /** 默认为 '仓库管理'. */
148
- [KG_APP.WMS_BUSINESS_MANAGER]?: string;
149
- /** 默认为 'WCS'. */
150
- [KG_APP.WCS]?: string;
151
- /** 默认为 '系统配置'. */
152
- [KG_APP.SYS]?: string;
153
- };
154
- /**
155
- * <p>项目的版本号. 即 package.json 中的 version 值.</p>
156
- *
157
- * @default 0.0.0
158
- */
159
- projectVersion?: string;
160
- /**
161
- * <p>后端接口地址前缀.</p>
162
- *
163
- * @default '/kengic-boot'
164
- */
165
- publicPath?: string;
166
- };
167
- /** 翻译的方法. */
168
- export declare type T = {
169
- (key: string | null | undefined): string;
170
- (key: string | null | undefined, locale: string): string;
171
- (key: string | null | undefined, locale: string, list: unknown[]): string;
172
- (key: string | null | undefined, locale: string, named: Record<string, unknown>): string;
173
- (key: string | null | undefined, list: unknown[]): string;
174
- (key: string | null | undefined, named: Record<string, unknown>): string;
175
- };
176
- /** 检查权限的方法. */
177
- export declare type P = {
178
- (permissionCode?: string | Array<string> | null): boolean;
179
- };
180
- export interface UserState {
181
- userInfo: UserInfo | null;
182
- token?: string;
183
- roleList: any[];
184
- userWarehouses: SysUserWarehouseDTO[];
185
- sessionTimeout?: boolean;
186
- }
187
- interface AuthItem {
188
- /** 权限编码. */
189
- action: string;
190
- /** 权限策略. 1:显示, 2:禁用. */
191
- type: string | number;
192
- /** 权限状态. 0:无效, 1:有效. */
193
- status: string | number;
194
- /** 权限名称. */
195
- describe?: string;
196
- }
197
- export interface PermissionState {
198
- /** 当前登录用户所拥有的权限编码列表. */
199
- permCodeList: string[] | number[];
200
- /** 菜单列表. */
201
- backMenuList: Menu[];
202
- /** 当前登录用户所拥有的权限配置. */
203
- authList: AuthItem[];
204
- /** 全部权限配置. */
205
- allAuthList: AuthItem[];
206
- }
207
- export interface IUseKgStoreState {
208
- /**
209
- * 语言数据.
210
- */
211
- I18N: Record<string, any>;
212
- /**
213
- * <p>系统描述.</p>
214
- * <p>第一层 key 为 codeName, 第二层 key 为 codeValue.</p>
215
- */
216
- descriptionMap: Map<string, Map<string, DescriptionDTO>>;
217
- i18n: any;
218
- /**
219
- * <p>某个系统描述是否正在查询.</p>
220
- * <p>其中的 key 表示 codeName.</p>
221
- */
222
- isDescriptionsRequestingMap: Map<string, boolean>;
223
- /** 语言. */
224
- locale: ComputedRef<LocaleType> | null;
225
- /** 配置参数. */
226
- option: IKgOption;
227
- /** 检查权限的方法. */
228
- pFunction: P | null;
229
- router: Router | null;
230
- /** 翻译的方法. */
231
- tFunction: T | null;
232
- /** 权限数据. */
233
- usePermissionStore: StoreDefinition | null;
234
- /** 用户数据. */
235
- useUserStore: StoreDefinition | null;
236
- }
237
- export interface IUseKgStoreGetters {
238
- /**
239
- * 根据 codeName 和 codeValue 获取当前语言下的某个描述.
240
- */
241
- getDescription(): (param: {
242
- codeName: string | null | undefined;
243
- codeValue: string | null | undefined;
244
- }) => DescriptionDTO | null;
245
- /**
246
- * 根据 codeName 获取当前语言下的它的所有描述.
247
- */
248
- getDescriptions(): (param: {
249
- codeName: string | null | undefined;
250
- }) => Array<DescriptionDTO>;
251
- getI18N(): Record<string, any>;
252
- getI18n(): any;
253
- /**
254
- * 配置参数.
255
- */
256
- getOption(): IKgOption;
257
- /**
258
- * 后端接口地址前缀.
259
- */
260
- getPublicPath(): IKgOption;
261
- getRouter(): Router | null;
262
- /**
263
- * 菜单数据.
264
- */
265
- getUsePermissionStore(): StoreDefinition<string, PermissionState, {
266
- getPermCodeList(): string[] | number[];
267
- getBackMenuList(): Menu[];
268
- }> | null;
269
- /**
270
- * 权限数据.
271
- */
272
- getUseUserStore(): StoreDefinition<string, UserState, {
273
- getToken(): string;
274
- getRoleList(): any[];
275
- getUserWarehouses(): SysUserWarehouseDTO[];
276
- getSessionTimeout(): boolean;
277
- getUserInfo(): UserInfo;
278
- }, {}> | null;
279
- }
280
- export interface IUseKgStoreActions {
281
- /** 检查权限. */
282
- p: P;
283
- /**
284
- * 请求某组描述数据.
285
- *
286
- * @param param.codeName 描述组名.
287
- */
288
- requestDescriptions(param: {
289
- codeName: string | null | undefined;
290
- }): Promise<void>;
291
- /**
292
- * 设置某组描述的数据.
293
- *
294
- * @param param.codeName 描述组名.
295
- * @param param.descriptions 描述数据.
296
- */
297
- setDescriptions(param: {
298
- codeName: string | null | undefined;
299
- descriptions: Array<DescriptionDTO>;
300
- }): void;
301
- setI18N(I18N: Record<string, any>): void;
302
- setI18n(i18n: any): void;
303
- setOption(option: IKgOption): void;
304
- setP(fn: P): void;
305
- setRouter(router: Router): void;
306
- setT(i18n: any): void;
307
- setUsePermissionStore(usePermissionStore: StoreDefinition<any, any, any, any>): void;
308
- setUseUserStore(useUserStore: StoreDefinition<any, any, any, any>): void;
309
- /** 翻译. */
310
- t: T;
311
- }
312
- export declare type IUseKgStore = StoreDefinition<'Kg', IUseKgStoreState, IUseKgStoreGetters, IUseKgStoreActions>;
313
- export declare type IKgStore = ReturnType<IUseKgStore>;
314
- export declare const useKgStore: IUseKgStore;
315
- export {};
@@ -1,3 +0,0 @@
1
- export * from './setup';
2
- export * from './setupKgLocale';
3
- export * from './setupKgStore';
@@ -1,27 +0,0 @@
1
- import { StoreDefinition } from 'pinia';
2
- import { App } from 'vue';
3
- import { Router } from 'vue-router';
4
- import { IKgOption, P } from '../index.store';
5
- export declare type IKgOptions = {
6
- /**
7
- * 语言数据.
8
- */
9
- I18N: Record<string, any>;
10
- app: App;
11
- i18n: any;
12
- /** 配置参数. */
13
- option?: IKgOption;
14
- /** 权限方法, 用来判断是否具有某个(某些)权限. */
15
- pFunction: P;
16
- router: Router;
17
- /** 状态数据: 权限. */
18
- usePermissionStore: StoreDefinition<any, any, any, any>;
19
- /** 状态数据: 用户. */
20
- useUserStore: StoreDefinition<any, any, any, any>;
21
- };
22
- /**
23
- * 初始化组件库.
24
- *
25
- * @param options 参数.
26
- */
27
- export declare function setup(options: IKgOptions): Promise<void>;
@@ -1,29 +0,0 @@
1
- import { DropMenu } from '../../project/src/components/Dropdown/src/typing';
2
- import { LocaleSetting, LocaleType } from '../../project/types/config';
3
- export declare const LOCALE: {
4
- KO_KR: LocaleType;
5
- EN: LocaleType;
6
- VI_VN: LocaleType;
7
- ZH_CN: LocaleType;
8
- ES_ES: LocaleType;
9
- FR_FR: LocaleType;
10
- KM_KH: LocaleType;
11
- };
12
- export declare let localeList: DropMenu[];
13
- export declare const localeSetting: LocaleSetting;
14
- export declare type IKgLocaleOptions = {
15
- /**
16
- * <p>可选语言. 如果为空则为所有语言.</p>
17
- */
18
- availableLocales?: Array<LocaleType>;
19
- /**
20
- * 默认语言.
21
- *
22
- * @default 'zh_CN'.
23
- */
24
- defaultLocale?: LocaleType;
25
- };
26
- /**
27
- * 配置语言.
28
- */
29
- export declare function setupKgLocale(options?: IKgLocaleOptions): void;
@@ -1,18 +0,0 @@
1
- import { Pinia } from 'pinia';
2
- /**
3
- * 配置 pinia 实例.
4
- * @param pinia pinia 实例.
5
- */
6
- export declare function setPinia(pinia: Pinia): void;
7
- /**
8
- * 获取 pinia 实例.
9
- * @return {} pinia 实例.
10
- * @throws Error 如果 pinia 实例为空, 抛错.
11
- */
12
- export declare function getPinia(): Pinia | null;
13
- /**
14
- * 设置 pinia.
15
- *
16
- * @param pinia pinia.
17
- */
18
- export declare function setupKgStore(pinia: Pinia): void;
@@ -1,274 +0,0 @@
1
- declare const _default: {
2
- kg: {
3
- KgAppSelect: {
4
- businessManager: string;
5
- dataManager: string;
6
- sys: string;
7
- tooltip: string;
8
- };
9
- KgButton: {
10
- noApiUrl: string;
11
- noVarSubmitConfig: string;
12
- };
13
- KgFormItem: {
14
- formValidationMessageForGT: string;
15
- formValidationMessageForGTE: string;
16
- formValidationMessageForInvalidFloat: string;
17
- formValidationMessageForInvalidInteger: string;
18
- formValidationMessageForInvalidJSON: string;
19
- formValidationMessageForInvalidLetter: string;
20
- formValidationMessageForInvalidLowerLetter: string;
21
- formValidationMessageForInvalidUpperLetter: string;
22
- formValidationMessageForLT: string;
23
- formValidationMessageForLTE: string;
24
- formValidationMessageForMaxLength: string;
25
- formValidationMessageForMinLength: string;
26
- formValidationMessageForRegularExpression: string;
27
- };
28
- KgPageDdaCreate: {
29
- 'confirm-cancel': string;
30
- done: string;
31
- 'next-step': string;
32
- 'previous-step': string;
33
- };
34
- KgPageDdaCreateBasic: {
35
- 'form-id': string;
36
- 'form-name': string;
37
- maintenance: string;
38
- sql: string;
39
- type: string;
40
- };
41
- KgPageDdaCreateButton: {
42
- 'button-var-name-reserved': string;
43
- 'button-var-name-used': string;
44
- };
45
- KgPageDdaCreateMenu: {
46
- 'parent-menu': string;
47
- };
48
- KgPageDdaCreateSearch: {
49
- available: string;
50
- 'column-desc': string;
51
- 'column-name': string;
52
- 'column-type': string;
53
- selected: string;
54
- };
55
- KgPageDdaCreateSubmit: {
56
- available: string;
57
- 'column-desc': string;
58
- 'column-name': string;
59
- 'column-type': string;
60
- selected: string;
61
- };
62
- KgPageDdaCreateTable: {
63
- available: string;
64
- 'column-desc': string;
65
- 'column-name': string;
66
- 'column-type': string;
67
- selected: string;
68
- };
69
- KgSearch: {
70
- title: string;
71
- };
72
- KgSearchConfigModal: {
73
- BETWEEN: string;
74
- 'BETWEEN-desc': string;
75
- CONTAIN: string;
76
- 'CONTAIN-desc': string;
77
- END_WITH: string;
78
- 'END_WITH-desc': string;
79
- EQ: string;
80
- 'EQ-desc': string;
81
- GT: string;
82
- 'GT-desc': string;
83
- GTE: string;
84
- 'GTE-desc': string;
85
- IN: string;
86
- 'IN-desc': string;
87
- LT: string;
88
- 'LT-desc': string;
89
- LTE: string;
90
- 'LTE-desc': string;
91
- NE: string;
92
- 'NE-desc': string;
93
- START_WITH: string;
94
- 'START_WITH-desc': string;
95
- close: string;
96
- formTitle: string;
97
- pleaseSelectVarProfileMaster: string;
98
- };
99
- KgStation: {
100
- reloadMessage: string;
101
- selectStation: string;
102
- station: string;
103
- title: string;
104
- workArea: string;
105
- workStation: string;
106
- };
107
- KgTable: {
108
- apiNotSupportDynamicQuery: string;
109
- column: string;
110
- config: string;
111
- emptyText: string;
112
- isShowDescription: string;
113
- other: string;
114
- 'request-fail-error': string;
115
- 'request-fail-no-data': string;
116
- rowHeight: string;
117
- rowHeightH: string;
118
- rowHeightL: string;
119
- rowHeightM: string;
120
- 'save-var-grid-master-as-success-message': string;
121
- saveVarGridMaster: string;
122
- saveVarGridMasterAs: string;
123
- saveVarGridMasterSuccessMessage: string;
124
- totalText: string;
125
- varGridMasters: string;
126
- };
127
- KgTableHeaderCell: {
128
- align: string;
129
- alignCenter: string;
130
- alignLeft: string;
131
- alignRight: string;
132
- hide: string;
133
- isEllipsis: string;
134
- isFilter: string;
135
- isFixToLeft: string;
136
- isFixToRight: string;
137
- isSort: string;
138
- };
139
- KgTableInfo: {
140
- check: string;
141
- clearCheck: string;
142
- clearTable: string;
143
- locate: string;
144
- row: string;
145
- };
146
- KgTableSettingConfigModal: {};
147
- KgTableSettingVarGridConfig: {};
148
- KgTableSettingVarGridMasterSaveAs: {
149
- title: string;
150
- };
151
- KgVar: {};
152
- KgVarConfig: {
153
- VarGridConfig: string;
154
- VarGridMaster: string;
155
- VarProfileConfig: string;
156
- VarProfileMaster: string;
157
- action: string;
158
- allForm: string;
159
- allLanguage: string;
160
- canNotUpdateSystemVarGridMaster: string;
161
- canNotUpdateSystemVarProfileMaster: string;
162
- confirm: string;
163
- createConfig: string;
164
- currentForm: string;
165
- currentLanguage: string;
166
- customLevel: string;
167
- emptyPageSizeOptions: string;
168
- formId: string;
169
- formValidationMessageForMaxAndMin: string;
170
- formValidationMessageForMaxLengthAndMinLength: string;
171
- invalidCommandParameter: string;
172
- invalidPageSizeOption: string;
173
- invalidPageSizeOptions: string;
174
- pleaseSelectVariable: string;
175
- required: string;
176
- tabButton: string;
177
- tabChild: string;
178
- tabSearch: string;
179
- tabSubmit: string;
180
- tabTable: string;
181
- variable: string;
182
- };
183
- KgVarConfigModalButton: {
184
- VarButton: string;
185
- VarButtonConfig: string;
186
- };
187
- KgVarConfigModalChild: {
188
- childVarName: string;
189
- childVarNameDuplicate: string;
190
- childVarNameRequired: string;
191
- parentVarName: string;
192
- parentVarNameDuplicate: string;
193
- parentVarNameRequired: string;
194
- };
195
- KgVarConfigModalSubmit: {
196
- VarSubmitConfig: string;
197
- VarSubmitDetail: string;
198
- };
199
- KgVarConfigModalSubmitVarSubmitConfig: {
200
- invalidWidthForSpan: string;
201
- };
202
- KgVarConfigModalTableVarGridMaster: {
203
- DESC: string;
204
- FILE_SIZE: string;
205
- ICON: string;
206
- IMAGE: string;
207
- PROGRESS: string;
208
- ROUTE_LINK: string;
209
- UPDATE_LINK: string;
210
- YN: string;
211
- center: string;
212
- left: string;
213
- notSort: string;
214
- right: string;
215
- };
216
- KgVarConfigSelectFormIdModal: {
217
- title: string;
218
- };
219
- KgWarehouse: {
220
- reloadMessage: string;
221
- selectWarehouse: string;
222
- title: string;
223
- warehouse: string;
224
- };
225
- action: string;
226
- add: string;
227
- allUser: string;
228
- asc: string;
229
- button: string;
230
- cancel: string;
231
- close: string;
232
- confirm: string;
233
- confirmDelete: string;
234
- copy: string;
235
- copySuccess: string;
236
- create: string;
237
- createSuccess: string;
238
- default: string;
239
- delete: string;
240
- deleteSuccess: string;
241
- desc: string;
242
- edit: string;
243
- empty: string;
244
- emptyText: string;
245
- executeSuccess: string;
246
- export: string;
247
- exportSuccess: string;
248
- formId: string;
249
- formName: string;
250
- formValidationFail: string;
251
- import: string;
252
- 'import-template': string;
253
- importSuccess: string;
254
- importTemplate: string;
255
- loading: string;
256
- lookup: string;
257
- no: string;
258
- ok: string;
259
- query: string;
260
- refresh: string;
261
- required: string;
262
- reset: string;
263
- save: string;
264
- search: string;
265
- selectAll: string;
266
- show: string;
267
- succeed: string;
268
- tip: string;
269
- update: string;
270
- updateSuccess: string;
271
- yes: string;
272
- };
273
- };
274
- export default _default;