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

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 +42986 -21885
  2. package/package.json +4 -3
  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 -1018
  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,725 +0,0 @@
1
- import { ModalFuncProps } from 'ant-design-vue/lib/modal/Modal';
2
- /** 模块. */
3
- export declare const enum KG_APP {
4
- /** 数据管理. */
5
- WMS_DATA_MANAGER = "data-manager",
6
- /** 仓库管理. */
7
- WMS_BUSINESS_MANAGER = "business-manager",
8
- /** WCS. */
9
- WCS = "wcs",
10
- /** 系统管理. */
11
- SYS = "sys"
12
- }
13
- /** 模块路径前缀. */
14
- export declare const enum KG_APP_PREFIX {
15
- /** 数据管理. */
16
- WMS_DATA_MANAGER = "/wms/data-manager",
17
- /** 仓库管理. */
18
- WMS_BUSINESS_MANAGER = "/wms/business-manager",
19
- /** WCS. */
20
- WCS = "/wcs",
21
- /** 系统管理. */
22
- SYS = "/sys"
23
- }
24
- /** 所有模块. */
25
- export declare const KG_APPS: Array<KG_APP>;
26
- /** 所有模块路径前缀. */
27
- export declare const KG_APP_PREFIXS: Array<KG_APP_PREFIX>;
28
- /**
29
- * 表单控件类型.
30
- * @see VarConfigControl.ctrl_prop
31
- * @see IKgVarConfigControlControlProperties
32
- */
33
- export declare enum KG__VAR_CONFIG_CONTROL__CONTROL_TYPE {
34
- /** 单行文本. */
35
- INPUT = "INPUT",
36
- /** 密码. */
37
- INPUT_PASSWORD = "INPUT_PASSWORD",
38
- /** 数字. */
39
- INPUT_NUMBER = "INPUT_NUMBER",
40
- /**
41
- * <p>多行文本.</p>
42
- * <p>配置属性参见 {@link IKgVarConfigControlControlProperties.TEXT_AREA}.</p>
43
- */
44
- TEXT_AREA = "TEXT_AREA",
45
- /** 多选框. */
46
- CHECKBOX = "CHECKBOX",
47
- /**
48
- * <p>多选框列表.</p>
49
- * <p>配置属性参见 {@link IKgVarConfigControlControlProperties.CHECKBOX_GROUP}.</p>
50
- */
51
- CHECKBOX_GROUP = "CHECKBOX_GROUP",
52
- /**
53
- * <p>单选框列表.</p>
54
- * <p>配置属性参见 {@link IKgVarConfigControlControlProperties.RADIO_GROUP}.</p>
55
- */
56
- RADIO_GROUP = "RADIO_GROUP",
57
- /** 开关. */
58
- SWITCH = "SWITCH",
59
- /**
60
- * <p>单选下拉列表.<p>
61
- * <p>配置属性参见 {@link IKgVarConfigControlControlProperties.SELECT}.</p>
62
- */
63
- SELECT = "SELECT",
64
- /** 多选下拉列表. */
65
- SELECT_MULTIPLE = "SELECT_MULTIPLE",
66
- /** 年月日, 2020-05-01. */
67
- DATE_DATE = "DATE_DATE",
68
- /** 年月日的范围, [DATE_DATE, DATE_DATE] */
69
- DATE_DATE_RANGE = "DATE_DATE_RANGE",
70
- /** 时分秒, 11:59:59. */
71
- DATE_TIME = "DATE_TIME",
72
- /** 时分秒的范围, [DATE_TIME, DATE_TIME]. */
73
- DATE_TIME_RANGE = "DATE_TIME_RANGE",
74
- /** 年月日时分秒, 2020-05-01 11:59:59. */
75
- DATE_DATETIME = "DATE_DATETIME",
76
- /** 年月日时分秒的范围, [DATE_DATETIME, DATE_DATETIME] */
77
- DATE_DATETIME_RANGE = "DATE_DATETIME_RANGE",
78
- DATE_WEEK = "DATE_WEEK",
79
- DATE_MONTH = "DATE_MONTH",
80
- DATE_YEAR = "DATE_YEAR",
81
- /**
82
- * <p>图片.</p>
83
- * <p>点击可以预览.</p>
84
- */
85
- IMAGE = "IMAGE",
86
- /** 文件上传按钮. */
87
- BUTTON_UPLOAD = "BUTTON_UPLOAD"
88
- }
89
- /**
90
- * 表单控件所处环境.
91
- */
92
- export declare const enum KG_FORM_CONTEXT {
93
- /**
94
- * 位于查询条件.
95
- */
96
- SEARCH = "SEARCH",
97
- /**
98
- * 位于提交表单弹窗.
99
- */
100
- SUBMIT = "SUBMIT",
101
- /**
102
- * 位于表格内的提交表单.
103
- */
104
- TABLE = "TABLE"
105
- }
106
- /**
107
- * 定制级别.
108
- */
109
- export declare const enum KG_CUSTOM_LEVEL {
110
- /**
111
- * 系统.
112
- */
113
- L0 = 0,
114
- /**
115
- * 用户.
116
- */
117
- L10 = 10
118
- }
119
- /**
120
- * 接口请求方式.
121
- */
122
- export declare enum KG__API_METHOD {
123
- GET = "GET",
124
- POST = "POST",
125
- DELETE = "DELETE",
126
- PUT = "PUT"
127
- }
128
- /**
129
- * 表格单元格的显示类型.
130
- * @see VarGridDetail.display_type_properties
131
- * @see IKgVarGridDetailDisplayTypeProperties
132
- */
133
- export declare const enum KG__VAR_GRID_DETAIL__DISPLAY_TYPE {
134
- /** 布尔数据, 使用 KgYesOrNo 组件显示. */
135
- YN = "YN",
136
- /**
137
- * <p>描述. 显示该列的值所对应的描述, 而不是直接显示该列的值.</p>
138
- * <p>
139
- * 描述的来源有 2 种, 按优先级从高到低依次为:
140
- * <ul>
141
- * <li>如果 {@link IKgVarGridDetailDisplayTypeProperties.DESC.description.codeName} 不为空, 则描述来源于系统描述表, 并且默认的 codeValue 就是该列的值,</li>
142
- * <li>
143
- * <p>否则, 描述来源于描述列.</p>
144
- * <p>默认情况下, 描述列的列名为原始列的列名加上 _dsc 或者 Dsc 后缀, 比如原始列的列名为 xyz, 则描述列的列名为 xyz_dsc 或者 xyzDsc, 可以通过 {@link IKgVarGridDetailDisplayTypeProperties.DESC.dscFieldName} 将描述列的列名配置为其他值,</p>
145
- * </li>
146
- * </ul>
147
- * </p>
148
- */
149
- DESC = "DESC",
150
- /** 进度条, 使用 KgProgressA 组件显示. */
151
- PROGRESS = "PROGRESS",
152
- /** 文件大小, 将以字节(byte)为单位的数字格式化显示(XXX MB, XXX GB, ...). */
153
- FILE_SIZE = "FILE_SIZE",
154
- /** 超链接, 点击打开更新弹窗. */
155
- UPDATE_LINK = "UPDATE_LINK",
156
- /** 超链接, 点击跳转到其他页面. */
157
- ROUTE_LINK = "ROUTE_LINK",
158
- /**
159
- * <p>图片, 可以点击预览大图.</p>
160
- */
161
- IMAGE = "IMAGE",
162
- /**
163
- * <p>图标, 使用 iconify 进行渲染.</p>
164
- */
165
- ICON = "ICON"
166
- }
167
- /**
168
- * 表格单元格的对齐方式.
169
- */
170
- export declare const enum KG__VAR_GRID_DETAIL__ALIGN {
171
- LEFT = "left",
172
- CENTER = "center",
173
- RIGHT = "right"
174
- }
175
- /**
176
- * 单击某行时的操作.
177
- */
178
- export declare const enum KG__VAR_GRID_CONFIG__OPERATION_ON_ROW_CLICK {
179
- /**
180
- * 不做操作.
181
- */
182
- A = 0,
183
- /**
184
- * 勾选该行, 并取消其他勾选行.
185
- */
186
- B = 1,
187
- /**
188
- * 勾选该行, 并保留其他勾选行.
189
- */
190
- C = 2
191
- }
192
- /** @deprecated 已弃用, 请使用 {@link KG__VAR_BUTTON__TYPE}. */
193
- export declare const enum KG_BUTTON_TYPE {
194
- /** 查询. */
195
- SEARCH = "SEARCH",
196
- /** 创建. */
197
- CREATE = "CREATE",
198
- /** 更新. */
199
- UPDATE = "UPDATE",
200
- /** 复制. */
201
- COPY = "COPY",
202
- /** 删除. */
203
- DELETE = "DELETE",
204
- /** 导入. */
205
- IMPORT = "IMPORT",
206
- /** 下载导入模板. */
207
- IMPORT_TEMPLATE = "IMPORT_TEMPLATE",
208
- /** 导出. */
209
- EXPORT = "EXPORT",
210
- /** 其他. */
211
- OTHER = "OTHER"
212
- }
213
- /**
214
- * 按钮类型.
215
- */
216
- export declare const enum KG__VAR_BUTTON__TYPE {
217
- /** 查询. */
218
- SEARCH = "SEARCH",
219
- /** 创建. */
220
- CREATE = "CREATE",
221
- /** 更新. */
222
- UPDATE = "UPDATE",
223
- /** 复制. */
224
- COPY = "COPY",
225
- /** 删除. */
226
- DELETE = "DELETE",
227
- /** 导入. */
228
- IMPORT = "IMPORT",
229
- /** 下载导入模板. */
230
- IMPORT_TEMPLATE = "IMPORT_TEMPLATE",
231
- /** 导出. */
232
- EXPORT = "EXPORT",
233
- /** 其他. */
234
- OTHER = "OTHER"
235
- }
236
- /**
237
- * 按钮颜色.
238
- */
239
- export declare const enum KG__VAR_BUTTON__COLOR {
240
- /**
241
- * 蓝色.
242
- */
243
- BLUE = "BLUE",
244
- /**
245
- * 红色.
246
- */
247
- RED = "RED",
248
- /**
249
- * 黄色.
250
- */
251
- YELLOW = "YELLOW"
252
- }
253
- /** 按钮显示方式. */
254
- export declare const enum KG__VAR_BUTTON_CONFIG__DISPLAY_TYPE {
255
- /**
256
- * 按钮依次排列在一横排.
257
- */
258
- DEFAULT = "DEFAULT",
259
- /**
260
- * 显示为下拉的菜单列表.
261
- */
262
- SELECT = "SELECT"
263
- }
264
- /** 表单显示方式. */
265
- export declare const enum KG__VAR_SUBMIT_CONFIG__DISPLAY_TYPE {
266
- /** 弹窗. */
267
- MODAL = "MODAL",
268
- /** 抽屉. */
269
- DRAWER = "DRAWER",
270
- /** 在表格内. */
271
- TABLE = "TABLE",
272
- /** 嵌入页面. */
273
- INLINE = "INLINE"
274
- }
275
- /**
276
- * 表单布局方式.
277
- */
278
- export declare enum KG__VAR_SUBMIT_CONFIG__LAYOUT {
279
- /**
280
- * 垂直.
281
- */
282
- VERTICAL = "vertical",
283
- /**
284
- * 水平.
285
- */
286
- HORIZONTAL = "horizontal"
287
- }
288
- /**
289
- * 变量配置:表单输入验证:数据类型.
290
- */
291
- export declare const enum KG__VAR_CONFIG_INPUT__DATA_TYPE {
292
- /**
293
- * 任意字符.
294
- */
295
- ANY = "ANY",
296
- /**
297
- * 整数.
298
- */
299
- INTEGER = "INTEGER",
300
- /**
301
- * 小数.
302
- */
303
- FLOAT = "FLOAT",
304
- /**
305
- * 英文字母.
306
- */
307
- LETTER = "LETTER",
308
- /**
309
- * 大写英文字母.
310
- */
311
- UPPER_CASE_LETTER = "UPPER_CASE_LETTER",
312
- /**
313
- * 小写英文字母.
314
- */
315
- LOWER_CASE_LETTER = "LOWER_CASE_LETTER",
316
- /**
317
- * JSON.
318
- */
319
- JSON = "JSON"
320
- }
321
- /**
322
- * 变量配置:表单输入验证:验证方式.
323
- */
324
- export declare const enum KG__VAR_CONFIG_INPUT__VALIDATION_TYPE {
325
- /**
326
- * 配置.
327
- */
328
- OPTIONS = "OPTIONS",
329
- /**
330
- * 正则.
331
- */
332
- REGULAR_EXPRESSION = "REGULAR_EXPRESSION"
333
- }
334
- /**
335
- * 变量配置:提示文本:位置.
336
- */
337
- export declare enum KG__VAR_CONFIG_TIP__PLACEMENT {
338
- /**
339
- * 在标签的右边, 显示为一个小图标, 鼠标划过时显示弹框.
340
- */
341
- RIGHT = "RIGHT",
342
- /**
343
- * 在标签的下面.
344
- */
345
- BOTTOM = "BOTTOM"
346
- }
347
- /**
348
- * 变量配置:下拉列表:数据源的类型.
349
- */
350
- export declare enum KG__VAR_CONFIG_POSSIBILITY__DATA_SOURCE_TYPE {
351
- API = "API",
352
- SQL = "SQL"
353
- }
354
- /**
355
- * 变量配置:下拉列表:值的类型.
356
- */
357
- export declare enum KG__VAR_CONFIG_POSSIBILITY__VALUE_DATA_TYPE {
358
- /**
359
- * 默认类型.
360
- */
361
- DEFAULT = "DEFAULT",
362
- /**
363
- * 字符串.
364
- */
365
- STRING = "STRING",
366
- /**
367
- * 数字.
368
- */
369
- NUMBER = "NUMBER",
370
- /**
371
- * 布尔.
372
- */
373
- BOOLEAN = "BOOLEAN"
374
- }
375
- /** 宽度单位. */
376
- export declare const enum KG__VAR_SUBMIT_CONFIG__LABEL_COLUMN_UNIT {
377
- /**
378
- * 栅格.
379
- */
380
- SPAN = "SPAN",
381
- /**
382
- * 像素.
383
- */
384
- PX = "PX"
385
- }
386
- /**
387
- * 栅格布局宽度.
388
- */
389
- export declare const enum KG__SPAN {
390
- _1 = 1,
391
- _2 = 2,
392
- _3 = 3,
393
- _4 = 4,
394
- _5 = 5,
395
- _6 = 6,
396
- _7 = 7,
397
- _8 = 8,
398
- _9 = 9,
399
- _10 = 10,
400
- _11 = 11,
401
- _12 = 12,
402
- _13 = 13,
403
- _14 = 14,
404
- _15 = 15,
405
- _16 = 16,
406
- _17 = 17,
407
- _18 = 18,
408
- _19 = 19,
409
- _20 = 20,
410
- _21 = 21,
411
- _22 = 22,
412
- _23 = 23,
413
- _24 = 24
414
- }
415
- /**
416
- * 导出 EXCEL 文件的后缀.
417
- */
418
- export declare const enum KG__VAR_BUTTON__EXPORT_EXCEL_SUFFIX {
419
- XLS = "XLS",
420
- XLSX = "XLSX"
421
- }
422
- /** 系统描述表中的键. */
423
- export declare const enum KG_DESCRIPTION_CODE_NAME {
424
- /** 是否. */
425
- YN = "yn",
426
- /** 表单布局方式. */
427
- VAR_SUBMIT_LAYOUT = "var_submit_layout",
428
- /** 栅格布局可选的列. */
429
- VAR_SPAN = "var_span",
430
- /** 按钮显示样式. */
431
- VAR_BUTTON_DISPLAY_TYPE = "var_button_display_type",
432
- /** 宽度单位. */
433
- VAR_WIDTH_UNIT = "var_width_unit"
434
- }
435
- /** 高级查询的操作符. */
436
- export declare enum KG_DYNAMIC_QUERY_OPERATOR {
437
- /** 等于. */
438
- EQ = "EQ",
439
- /** 不等于. */
440
- NE = "NE",
441
- /** 大于. */
442
- GT = "GT",
443
- /** 小于. */
444
- LT = "LT",
445
- /** 大于等于. */
446
- GTE = "GTE",
447
- /** 小于等于. */
448
- LTE = "LTE",
449
- /** 以之开始. */
450
- START_WITH = "START",
451
- /** 以之结束. */
452
- END_WITH = "END",
453
- /** 包含. */
454
- CONTAIN = "CONTAIN",
455
- /** 属于. */
456
- IN = "IN",
457
- /** 范围之内. */
458
- BETWEEN = "BETWEEN"
459
- }
460
- /** 请求头部. */
461
- export declare enum KG_HTTP_HEADERS {
462
- /** 界面标识. */
463
- KG_FORM_ID = "Kg-Form-Id",
464
- KG_BUTTON_VAR_NAME = "Kg-Button-Var-Name",
465
- /** 是否启用高级查询. */
466
- KG_IS_DYNAMIC_QUERY = "Kg-Is-Dynamic-Query",
467
- /** 查询语句中的 WHERE 片段. */
468
- KG_QUERY_WHERE_SQL = "Kg-Query-Where-Sql",
469
- /** 查询语句中的 ORDER BY 片段. */
470
- KG_QUERY_ORDER_BY_SQL = "Kg-Query-Order-By-Sql",
471
- /** 查询语句中的 OFFSET 片段. */
472
- KG_QUERY_OFFSET_SQL = "Kg-Query-Offset-Sql",
473
- /** 查询语句中的 WHERE + ORDER BY + OFFSET 片段. */
474
- KG_QUERY_SQL = "Kg-Query-Sql",
475
- /**
476
- * <p>高级查询时, 每个查询字段的操作符(=,>,<...).</p>
477
- * <p>是一个 JSON 字符串, 由后端进行解析. 其中的 key 表示查询字段的名称, 其中的 value 表示查询字段的操作符.</p>
478
- */
479
- KG_QUERY_OPERATOR = "Kg-Query-Operator",
480
- /**
481
- * 仓库编号.
482
- */
483
- KG_WAREHOUSE = "Kg-Warehouse"
484
- }
485
- /** 特殊属性:请求返回的原始响应数据. */
486
- export declare const __KG__RESPONSE__ = "__KG__RESPONSE__";
487
- /** 模块菜单的临时ID:数据管理. */
488
- export declare const KG_TMP_MENU_ID__DATA_MANAGER = "KG_TMP_MENU_ID__DATA_MANAGER";
489
- /** 模块菜单的临时ID:仓库管理. */
490
- export declare const KG_TMP_MENU_ID__BUSINESS_MANAGER = "KG_TMP_MENU_ID__BUSINESS_MANAGER";
491
- /** 模块菜单的临时ID:WCS. */
492
- export declare const KG_TMP_MENU_ID__WCS = "KG_TMP_MENU_ID__WCS";
493
- /** 模块菜单的临时ID:系统配置. */
494
- export declare const KG_TMP_MENU_ID__SYS = "KG_TMP_MENU_ID__SYS";
495
- /** 模块菜单的临时ID:PDA. */
496
- export declare const KG_TMP_MENU_ID__PDA = "KG_TMP_MENU_ID__PDA";
497
- /** 移除事件监听函数. */
498
- export declare type IRemoveEventListenerHandler = () => void;
499
- export declare type IKgEventListener = {
500
- /** 是否只会触发一次. */
501
- isOnce?: boolean;
502
- /** 是否已经触发过一次了. */
503
- invoked?: boolean;
504
- };
505
- /** 菜单. */
506
- export interface Menu {
507
- id: string;
508
- app: string | null;
509
- name: string;
510
- title: string;
511
- path?: string;
512
- icon?: string;
513
- hideMenu?: boolean;
514
- children?: Menu[];
515
- [key: string]: any;
516
- }
517
- /**
518
- * 按钮确认弹窗的参数.
519
- * <p>对应于 {@link VarButton#modal_props} 字段.</p>
520
- */
521
- export declare type IKgVarButtonModalProperties = ModalFuncProps & {
522
- /** 是否隐藏取消按钮. */
523
- kgHideCancelButton?: boolean;
524
- };
525
- /**
526
- * <p>提交弹窗的配置参数.</p>
527
- * <p>对应于 {@link VarSubmitConfig#props} 字段.</p>
528
- */
529
- export interface IKgVarSubmitConfigProperties {
530
- /** 确认按钮. */
531
- okButton?: {
532
- /** 确认按钮的文本, 实际是一个变量名, 根据变量进行翻译. */
533
- textVarName?: string;
534
- };
535
- /** 显示方式. */
536
- displayType?: {
537
- [KG__VAR_SUBMIT_CONFIG__DISPLAY_TYPE.INLINE]?: {
538
- /** 要嵌入的页面位置, 是一个 CSS 选择器, 如: #submit-target-xxx. */
539
- target?: string;
540
- };
541
- };
542
- }
543
- /**
544
- * <p>表单控件的参数.</p>
545
- * <p>对应于 {@link VarConfigControl.ctrl_prop} 字段, 根据表单控件的类型, 设置额外的参数.</p>
546
- * @see VarConfigControl.ctrl_prop
547
- * @see KG__VAR_CONFIG_CONTROL__CONTROL_TYPE
548
- */
549
- export interface IKgVarConfigControlControlProperties {
550
- CHECKBOX_GROUP: {
551
- /**
552
- * <p>要排除的数据.</p>
553
- * <p>这些数据会从列表数据中移除.</p>
554
- */
555
- excludeValues?: Array<any>;
556
- /**
557
- * 数据项的宽度.
558
- *
559
- * @default 24
560
- */
561
- span?: number;
562
- /**
563
- * 是否显示「全选」.
564
- *
565
- * @default true
566
- */
567
- isShowSelectAll?: boolean;
568
- };
569
- DATE_RANGE: {
570
- /**
571
- * <p>是否允许为空.</p>
572
- * <p>参考 <a href="https://3x.antdv.com/components/date-picker#RangePicker">https://3x.antdv.com/components/date-picker#RangePicker</a>.</p>
573
- *
574
- * @default [false, false]
575
- */
576
- allowEmpty?: [boolean, boolean];
577
- };
578
- IMAGE: {
579
- /**
580
- * 高度.
581
- *
582
- * @default 100
583
- */
584
- height?: number;
585
- /**
586
- * 宽度.
587
- *
588
- * @default 100
589
- */
590
- width?: number;
591
- };
592
- RADIO_GROUP: {
593
- /**
594
- * 数据项的宽度.
595
- * @default 24
596
- */
597
- span?: number;
598
- };
599
- SELECT: {
600
- /**
601
- * <p>是否允许清空.</p>
602
- *
603
- * @default true
604
- */
605
- allowClear?: boolean;
606
- };
607
- TEXT_AREA: {
608
- /**
609
- * 文本框的高度.
610
- * @default 5
611
- */
612
- rows?: number;
613
- };
614
- }
615
- /**
616
- * 对应的是 {@link VarGridDetail.display_type_properties} 字段, 根据显示类型, 设置额外的参数.
617
- *
618
- * @see VarGridDetail.display_type_properties
619
- * @see KG__VAR_GRID_DETAIL__DISPLAY_TYPE
620
- */
621
- export interface IKgVarGridDetailDisplayTypeProperties {
622
- DESC: {
623
- description?: {
624
- /**
625
- * <p>对应的是 {@link Description.codnam}.</p>
626
- * <p>当该配置项不为空时, 表示描述来自于系统描述表, 否则来自于 {@link IKgVarGridDetailDisplayTypeProperties.DESC.dscFieldName} 对应的列.<p>
627
- */
628
- codeName?: string;
629
- /**
630
- * <p>对应的是 {@link Description.codval}.</p>
631
- * <p>默认值为该列的值.</p>
632
- * <p>
633
- * 可以是一个 JS 表达式, 组件库会解析该表达式, 并得到真正的值. 比如表达式 \`${row.id}\` 表示获取该行的 id 列的值. 表达式中可以使用下列变量:
634
- * <ul>
635
- * <li>row: 表示该行数据,</li>
636
- * </ul>
637
- * </p>
638
- */
639
- codeValue?: string;
640
- /**
641
- * <p>是否延迟获取系统描述数据.</p>
642
- * <p>默认情况下, 在页面加载后会立即获取 {@link IKgVarGridDetailDisplayTypeProperties.DESC.description.codeName} 对应的系统描述数据. 这种场景适合数据较少的枚举数据.</p>
643
- * <p>如果描述数据特别多, 比如每一行的描述都不一样, 则可以将该配置项的值配置为 true, 表示会在表格每次查询的时候, 才去请求这些列表数据对应的系统描述数据.</p>
644
- *
645
- * @default false
646
- */
647
- isDefer?: boolean;
648
- };
649
- /**
650
- * <p>默认情况下, 当原始列的列名为 xyz 时, 描述列的列名为 xyz_dsc 或者 xyzDsc.</p>
651
- * <p>通过该配置项可以将描述列的列名配置为其他值.</p>
652
- * @default <列名>_dsc 或者 <列名>Dsc
653
- */
654
- dscFieldName?: string;
655
- /**
656
- * 是否显示为一个 Tag 标签.
657
- * @default false
658
- */
659
- isTag?: boolean;
660
- /**
661
- * <ul>
662
- * <li>如果 {@link IKgVarGridDetailDisplayTypeProperties.DESC.isTag} 为 true, 则此属性用来定义每个值对应的标签颜色分别是什么,</li>
663
- * <li>如果 {@link IKgVarGridDetailDisplayTypeProperties.DESC.isTag} 为 false, 则此属性会被忽略,</li>
664
- * </ul>
665
- */
666
- tagColors?: Array<{
667
- /** 值. */
668
- value: any;
669
- /**
670
- * 颜色.
671
- * @default 'default'
672
- */
673
- color?: string;
674
- }>;
675
- };
676
- FILE_SIZE: {};
677
- ICON: {};
678
- IMAGE: {
679
- /**
680
- * 宽度.
681
- *
682
- * @default 29
683
- */
684
- width?: number;
685
- /**
686
- * 宽度.
687
- *
688
- * @default 29
689
- */
690
- height?: number;
691
- };
692
- PROGRESS: {
693
- /** 左侧数值对应的列. */
694
- leftColumn: string;
695
- /** 右侧数值对应的列. */
696
- rightColumn: string;
697
- /**
698
- * 右侧文本的宽度. 例如: "100px".
699
- * @default 'auto'
700
- */
701
- textWidth?: 'auto' | string;
702
- };
703
- ROUTE_LINK: {
704
- /** 要跳转的路由地址. */
705
- path: string;
706
- };
707
- UPDATE_LINK: {};
708
- YN: {
709
- /**
710
- * 显示为'否'的值.
711
- * @default 0
712
- */
713
- nValue?: any;
714
- /**
715
- * 是否将 null/undefined 当成 false.
716
- * @default false
717
- */
718
- nilAsFalse?: boolean;
719
- /**
720
- * 显示为'是'的值.
721
- * @default 1
722
- */
723
- yValue?: any;
724
- };
725
- }