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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (235) hide show
  1. package/dist/kengic-vue.js +38743 -33624
  2. package/dist/src/apis/WMS/Controllers/DescriptionController/List.d.ts +51 -0
  3. package/dist/src/apis/WMS/Controllers/DescriptionController/ListByCodeNamesAndCodeValues.d.ts +16 -0
  4. package/dist/src/apis/WMS/Controllers/DescriptionController/index.d.ts +2 -0
  5. package/dist/src/apis/WMS/Controllers/SysPermissionController/List.d.ts +73 -0
  6. package/dist/src/apis/WMS/Controllers/SysPermissionController/index.d.ts +1 -0
  7. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/Add.d.ts +16 -0
  8. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/index.d.ts +1 -0
  9. package/dist/src/apis/WMS/Controllers/VarConfigPossibilityController/ExecuteQuery.d.ts +18 -0
  10. package/dist/src/apis/WMS/Controllers/VarConfigPossibilityController/index.d.ts +1 -0
  11. package/dist/src/apis/WMS/Controllers/VarController/GetAll.d.ts +16 -0
  12. package/dist/src/apis/WMS/Controllers/VarController/index.d.ts +1 -0
  13. package/dist/src/apis/WMS/Controllers/VarDdaController/Create.d.ts +16 -0
  14. package/dist/src/apis/WMS/Controllers/VarDdaController/GetResultSetMetadataFromSql.d.ts +16 -0
  15. package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateCopySql.d.ts +16 -0
  16. package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateCreateSql.d.ts +16 -0
  17. package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateDeleteSql.d.ts +16 -0
  18. package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateFrmId.d.ts +16 -0
  19. package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateSearchSql.d.ts +16 -0
  20. package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateUpdateSql.d.ts +16 -0
  21. package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateVarButtonVarName.d.ts +16 -0
  22. package/dist/src/apis/WMS/Controllers/VarDdaController/index.d.ts +9 -0
  23. package/dist/src/apis/WMS/Controllers/VarGridMasterController/QueryByID.d.ts +19 -0
  24. package/dist/src/apis/WMS/Controllers/VarGridMasterController/Update.d.ts +16 -0
  25. package/dist/src/apis/WMS/Controllers/VarGridMasterController/index.d.ts +2 -0
  26. package/dist/src/apis/WMS/Controllers/VarProfileMasterController/QueryByID.d.ts +19 -0
  27. package/dist/src/apis/WMS/Controllers/VarProfileMasterController/index.d.ts +1 -0
  28. package/dist/src/apis/WMS/Controllers/VarVariableController/Delete.d.ts +16 -0
  29. package/dist/src/apis/WMS/Controllers/VarVariableController/index.d.ts +1 -0
  30. package/dist/src/apis/WMS/Controllers/WhController/ListVO.d.ts +54 -0
  31. package/dist/src/apis/WMS/Controllers/WhController/index.d.ts +1 -0
  32. package/dist/src/apis/WMS/Controllers/WorkstationController/List.d.ts +25 -0
  33. package/dist/src/apis/WMS/Controllers/WorkstationController/index.d.ts +1 -0
  34. package/dist/src/apis/WMS/Controllers/index.d.ts +11 -0
  35. package/dist/src/apis/WMS/index.d.ts +2 -0
  36. package/dist/src/apis/WMS/models.d.ts +1018 -0
  37. package/dist/src/apis/api.d.ts +1 -0
  38. package/dist/src/apis/def.d.ts +1 -0
  39. package/dist/src/apis/index.d.ts +2 -0
  40. package/dist/src/components/KgAppSelect/KgAppSelect.d.ts +47 -0
  41. package/dist/src/components/KgAppSelect/index.d.ts +3 -0
  42. package/dist/src/components/KgAppSelect/index.hooks.d.ts +41 -0
  43. package/dist/src/components/KgAppSelect/index.store.d.ts +74 -0
  44. package/dist/src/components/KgButton/KgButton.Item.d.ts +41 -0
  45. package/dist/src/components/KgButton/KgButton.Item.data.d.ts +31 -0
  46. package/dist/src/components/KgButton/KgButton.d.ts +40 -0
  47. package/dist/src/components/KgButton/components/KgButton.Copy.d.ts +40 -0
  48. package/dist/src/components/KgButton/components/KgButton.Create.d.ts +40 -0
  49. package/dist/src/components/KgButton/components/KgButton.Delete.d.ts +40 -0
  50. package/dist/src/components/KgButton/components/KgButton.Export.d.ts +40 -0
  51. package/dist/src/components/KgButton/components/KgButton.Import.d.ts +40 -0
  52. package/dist/src/components/KgButton/components/KgButton.ImportTemplate.d.ts +40 -0
  53. package/dist/src/components/KgButton/components/KgButton.Other.d.ts +40 -0
  54. package/dist/src/components/KgButton/components/KgButton.Search.d.ts +40 -0
  55. package/dist/src/components/KgButton/components/KgButton.Update.d.ts +40 -0
  56. package/dist/src/components/KgButton/index.d.ts +62 -0
  57. package/dist/src/components/KgButton/index.hooks.d.ts +183 -0
  58. package/dist/src/components/KgButton/index.store.d.ts +116 -0
  59. package/dist/src/components/KgCanvas/KgCanvas.ContextMenu.d.ts +107 -0
  60. package/dist/src/components/KgCanvas/KgCanvas.d.ts +122 -0
  61. package/dist/src/components/KgCanvas/KgCanvas.service.d.ts +36 -0
  62. package/dist/src/components/KgCanvas/index.d.ts +4 -0
  63. package/dist/src/components/KgCanvas/index.hooks.d.ts +67 -0
  64. package/dist/src/components/KgCanvas/index.store.d.ts +239 -0
  65. package/dist/src/components/KgForm/KgForm.d.ts +414 -0
  66. package/dist/src/components/KgForm/index.d.ts +604 -0
  67. package/dist/src/components/KgForm/index.hooks.d.ts +73 -0
  68. package/dist/src/components/KgForm/index.store.d.ts +221 -0
  69. package/dist/src/components/KgForm/index.vm.d.ts +9 -0
  70. package/dist/src/components/KgForm.Item/KgForm.Item.d.ts +97 -0
  71. package/dist/src/components/KgForm.Item/KgForm.Item.service.d.ts +17 -0
  72. package/dist/src/components/KgForm.Item/addon/KgForm.Item.Addon.DynamicQueryOperator.d.ts +49 -0
  73. package/dist/src/components/KgForm.Item/addon/KgForm.Item.Addon.Lookup.Modal.d.ts +16 -0
  74. package/dist/src/components/KgForm.Item/addon/KgForm.Item.Addon.Lookup.d.ts +31 -0
  75. package/dist/src/components/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +100 -0
  76. package/dist/src/components/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +99 -0
  77. package/dist/src/components/KgForm.Item/components/KgForm.Item.Date.d.ts +97 -0
  78. package/dist/src/components/KgForm.Item/components/KgForm.Item.DateRange.d.ts +97 -0
  79. package/dist/src/components/KgForm.Item/components/KgForm.Item.Image.d.ts +92 -0
  80. package/dist/src/components/KgForm.Item/components/KgForm.Item.Input.d.ts +96 -0
  81. package/dist/src/components/KgForm.Item/components/KgForm.Item.InputNumber.d.ts +96 -0
  82. package/dist/src/components/KgForm.Item/components/KgForm.Item.InputPassword.d.ts +96 -0
  83. package/dist/src/components/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +98 -0
  84. package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.d.ts +98 -0
  85. package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.service.d.ts +29 -0
  86. package/dist/src/components/KgForm.Item/components/KgForm.Item.Switch.d.ts +96 -0
  87. package/dist/src/components/KgForm.Item/components/KgForm.Item.TextArea.d.ts +96 -0
  88. package/dist/src/components/KgForm.Item/index.d.ts +2 -0
  89. package/dist/src/components/KgForm.Item/index.vm.d.ts +124 -0
  90. package/dist/src/components/KgImage/KgImage.d.ts +100 -0
  91. package/dist/src/components/KgImage/index.d.ts +1 -0
  92. package/dist/src/components/KgLayoutHeader/components/KgLayoutHeaderLocale.d.ts +38 -0
  93. package/dist/src/components/KgLayoutHeader/index.d.ts +2 -0
  94. package/dist/src/components/KgLayoutHeader/index.hooks.d.ts +4 -0
  95. package/dist/src/components/KgModal/KgModal.d.ts +817 -0
  96. package/dist/src/components/KgModal/KgModal.service.d.ts +39 -0
  97. package/dist/src/components/KgModal/components/KgModal.HeaderButtons.d.ts +92 -0
  98. package/dist/src/components/KgModal/index.d.ts +1 -0
  99. package/dist/src/components/KgModal/index.vm.d.ts +8 -0
  100. package/dist/src/components/KgProgressA/KgProgressA.d.ts +85 -0
  101. package/dist/src/components/KgProgressA/index.d.ts +1 -0
  102. package/dist/src/components/KgResizable/KgResizable.d.ts +91 -0
  103. package/dist/src/components/KgResizable/KgResizable.service.d.ts +12 -0
  104. package/dist/src/components/KgResizable/index.d.ts +1 -0
  105. package/dist/src/components/KgSearch/KgSearch.d.ts +26 -0
  106. package/dist/src/components/KgSearch/KgSearch.service.d.ts +32 -0
  107. package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.d.ts +16 -0
  108. package/dist/src/components/KgSearch/index.d.ts +3 -0
  109. package/dist/src/components/KgSearch/index.hooks.d.ts +67 -0
  110. package/dist/src/components/KgSearch/index.store.d.ts +147 -0
  111. package/dist/src/components/KgSearch/index.vm.d.ts +1 -0
  112. package/dist/src/components/KgStation/KgStation.d.ts +47 -0
  113. package/dist/src/components/KgStation/index.d.ts +3 -0
  114. package/dist/src/components/KgStation/index.hooks.d.ts +29 -0
  115. package/dist/src/components/KgStation/index.store.d.ts +45 -0
  116. package/dist/src/components/KgSubmit/KgSubmit.d.ts +21 -0
  117. package/dist/src/components/KgSubmit/KgSubmit.service.d.ts +29 -0
  118. package/dist/src/components/KgSubmit/index.d.ts +4 -0
  119. package/dist/src/components/KgSubmit/index.hooks.d.ts +295 -0
  120. package/dist/src/components/KgSubmit/index.store.d.ts +194 -0
  121. package/dist/src/components/KgSubmit/index.vm.d.ts +57 -0
  122. package/dist/src/components/KgTable/KgTable.d.ts +39 -0
  123. package/dist/src/components/KgTable/KgTable.service.d.ts +34 -0
  124. package/dist/src/components/KgTable/components/KgTable.BodyCell.d.ts +60 -0
  125. package/dist/src/components/KgTable/components/KgTable.HeaderCell.d.ts +52 -0
  126. package/dist/src/components/KgTable/components/KgTable.Info.d.ts +57 -0
  127. package/dist/src/components/KgTable/components/setting/KgTable.Setting.VarGridMaster.SaveAs.d.ts +5 -0
  128. package/dist/src/components/KgTable/components/setting/KgTable.Setting.d.ts +21 -0
  129. package/dist/src/components/KgTable/components/setting/KgTable.Setting.service.d.ts +22 -0
  130. package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.d.ts +16 -0
  131. package/dist/src/components/KgTable/index.d.ts +4 -0
  132. package/dist/src/components/KgTable/index.hooks.d.ts +148 -0
  133. package/dist/src/components/KgTable/index.store.d.ts +241 -0
  134. package/dist/src/components/KgTable/index.vm.d.ts +67 -0
  135. package/dist/src/components/KgVar/KgVar.d.ts +114 -0
  136. package/dist/src/components/KgVar/index.d.ts +4 -0
  137. package/dist/src/components/KgVar/index.hooks.d.ts +184 -0
  138. package/dist/src/components/KgVar/index.store.d.ts +253 -0
  139. package/dist/src/components/KgVar/index.store.service.d.ts +30 -0
  140. package/dist/src/components/KgVar/index.vm.d.ts +55 -0
  141. package/dist/src/components/KgVarConfig/KgVarConfig.d.ts +3 -0
  142. package/dist/src/components/KgVarConfig/components/KgVarConfig.Modal.d.ts +16 -0
  143. package/dist/src/components/KgVarConfig/components/KgVarConfig.SelectFormIdModal.d.ts +27 -0
  144. package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButton.d.ts +7 -0
  145. package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButtonConfig.d.ts +7 -0
  146. package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.d.ts +5 -0
  147. package/dist/src/components/KgVarConfig/components/child/KgVarConfig.Modal.Child.d.ts +7 -0
  148. package/dist/src/components/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileConfig.d.ts +7 -0
  149. package/dist/src/components/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileMaster.d.ts +7 -0
  150. package/dist/src/components/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileMaster.service.d.ts +7 -0
  151. package/dist/src/components/KgVarConfig/components/search/KgVarConfig.Modal.Search.d.ts +5 -0
  152. package/dist/src/components/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitConfig.d.ts +7 -0
  153. package/dist/src/components/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitDetail.d.ts +7 -0
  154. package/dist/src/components/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.d.ts +5 -0
  155. package/dist/src/components/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridConfig.d.ts +7 -0
  156. package/dist/src/components/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridMaster.d.ts +7 -0
  157. package/dist/src/components/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridMaster.service.d.ts +23 -0
  158. package/dist/src/components/KgVarConfig/components/table/KgVarConfig.Modal.Table.d.ts +5 -0
  159. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigControl.d.ts +2 -0
  160. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigDescription.d.ts +2 -0
  161. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigInput.d.ts +2 -0
  162. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigLookup.d.ts +2 -0
  163. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigPossibility.d.ts +2 -0
  164. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigTip.d.ts +2 -0
  165. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarVariable.d.ts +2 -0
  166. package/dist/src/components/KgVarConfig/index.d.ts +3 -0
  167. package/dist/src/components/KgVarConfig/index.hooks.d.ts +17 -0
  168. package/dist/src/components/KgVarConfig/index.store.d.ts +16 -0
  169. package/dist/src/components/KgVarConfig/index.vm.d.ts +50 -0
  170. package/dist/src/components/KgWarehouse/KgWarehouse.d.ts +47 -0
  171. package/dist/src/components/KgWarehouse/index.d.ts +4 -0
  172. package/dist/src/components/KgWarehouse/index.guard.d.ts +8 -0
  173. package/dist/src/components/KgWarehouse/index.hooks.d.ts +27 -0
  174. package/dist/src/components/KgWarehouse/index.store.d.ts +63 -0
  175. package/dist/src/components/KgYesOrNo/KgYesOrNo.d.ts +60 -0
  176. package/dist/src/components/KgYesOrNo/index.d.ts +1 -0
  177. package/dist/src/components/index.d.ts +21 -0
  178. package/dist/src/components/util.d.ts +14 -0
  179. package/dist/src/components-next/KgVarConfig/KgVarConfig.d.ts +2 -0
  180. package/dist/src/components-next/KgVarConfig/index.d.ts +1 -0
  181. package/dist/src/components-next/index.d.ts +1 -0
  182. package/dist/src/config/index.d.ts +3 -0
  183. package/dist/src/config/index.hooks.d.ts +36 -0
  184. package/dist/src/config/index.store.d.ts +315 -0
  185. package/dist/src/config/setup/index.d.ts +3 -0
  186. package/dist/src/config/setup/setup.d.ts +27 -0
  187. package/dist/src/config/setup/setupKgLocale.d.ts +29 -0
  188. package/dist/src/config/setup/setupKgStore.d.ts +18 -0
  189. package/dist/src/consts/i18n/en.d.ts +274 -0
  190. package/dist/src/consts/i18n/es_ES.d.ts +274 -0
  191. package/dist/src/consts/i18n/fr_FR.d.ts +274 -0
  192. package/dist/src/consts/i18n/index.d.ts +2 -0
  193. package/dist/src/consts/i18n/km_KH.d.ts +274 -0
  194. package/dist/src/consts/i18n/ko_KR.d.ts +274 -0
  195. package/dist/src/consts/i18n/vi_VN.d.ts +274 -0
  196. package/dist/src/consts/i18n/zh_CN.d.ts +274 -0
  197. package/dist/src/consts/index.d.ts +3 -0
  198. package/dist/src/consts/index.vm.d.ts +725 -0
  199. package/dist/src/consts/injection-keys.const.d.ts +9 -0
  200. package/dist/src/helpers/ant-design-vue.d.ts +347 -0
  201. package/dist/src/helpers/tsx.helper.d.ts +23 -0
  202. package/dist/src/index.d.ts +12 -0
  203. package/dist/src/pages/KgPageDda/KgPageDda.d.ts +8 -0
  204. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Basic.SqlModal.d.ts +32 -0
  205. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Basic.d.ts +7 -0
  206. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Button.d.ts +7 -0
  207. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Menu.d.ts +7 -0
  208. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Search.d.ts +7 -0
  209. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Submit.d.ts +7 -0
  210. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Table.d.ts +7 -0
  211. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.d.ts +33 -0
  212. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.store.d.ts +1322 -0
  213. package/dist/src/pages/KgPageDda/index.d.ts +5 -0
  214. package/dist/src/pages/KgPageDda/index.vm.d.ts +12 -0
  215. package/dist/src/pages/KgVarFactory/KgVarFactory.d.ts +62 -0
  216. package/dist/src/pages/KgVarFactory/index.d.ts +1 -0
  217. package/dist/src/pages/index.d.ts +9 -0
  218. package/dist/src/project/build/getConfigFileName.d.ts +5 -0
  219. package/dist/src/project/build/index.d.ts +1 -0
  220. package/dist/src/project/index.d.ts +3 -0
  221. package/dist/src/project/types/axios.d.ts +35 -0
  222. package/dist/src/project/types/config.d.ts +121 -0
  223. package/dist/src/project/types/index.d.ts +4 -0
  224. package/dist/src/project/types/store.d.ts +42 -0
  225. package/dist/src/project/types/utils.d.ts +4 -0
  226. package/dist/src/services/http-client.d.ts +93 -0
  227. package/dist/src/services/index.d.ts +1 -0
  228. package/dist/src/utils/index.d.ts +6 -0
  229. package/dist/src/utils/kg-auth.util.d.ts +26 -0
  230. package/dist/src/utils/kg-dom.util.d.ts +12 -0
  231. package/dist/src/utils/kg-logger.util.d.ts +69 -0
  232. package/dist/src/utils/kg-route.util.d.ts +57 -0
  233. package/dist/src/utils/kg-var.util.d.ts +76 -0
  234. package/dist/src/utils/kg.util.d.ts +150 -0
  235. package/package.json +2 -2
@@ -0,0 +1,39 @@
1
+ import { Ref } from 'vue';
2
+ import { IKgModalProps } from './KgModal';
3
+ /**
4
+ * 拖拽改变位置.
5
+ *
6
+ * @param param.getProps 组件参数.
7
+ * @param param.domRef 页面特殊元素对象.
8
+ */
9
+ export declare function useDragToMove(param: {
10
+ domRef: Ref<HTMLDivElement | null>;
11
+ getProps: Ref<IKgModalProps>;
12
+ }): void;
13
+ /**
14
+ * 拖拽改变大小.
15
+ *
16
+ * @param param.props 组件参数.
17
+ * @param param.domRef 页面上的那个特殊元素对象, 专门用于获取其他元素对象.
18
+ * @param param.getProps 计算后的组件参数.
19
+ */
20
+ export declare function useDragToResize(param: {
21
+ props: IKgModalProps;
22
+ domRef: Ref<HTMLDivElement | null>;
23
+ getProps: Ref<IKgModalProps>;
24
+ }): {
25
+ /**
26
+ * 鼠标按下事件.
27
+ *
28
+ * @param param.event 鼠标事件对象.
29
+ * @param param.handleType 拖拽位置.
30
+ */
31
+ onMousedown: (param: {
32
+ event: MouseEvent;
33
+ handleType: "left" | "right" | "top" | "bottom" | "top-left" | "top-right" | "bottom-right" | "bottom-left";
34
+ }) => void;
35
+ /**
36
+ * 弹窗宽度.
37
+ */
38
+ width: Ref<string | number>;
39
+ };
@@ -0,0 +1,92 @@
1
+ import { PropType } from 'vue';
2
+ export declare const getProps: () => {
3
+ /**
4
+ * 是否默认全屏.
5
+ *
6
+ * @default false
7
+ */
8
+ kgIsDefaultFullscreen: {
9
+ type: PropType<boolean>;
10
+ default: boolean;
11
+ };
12
+ /**
13
+ * 是否显示关闭按钮.
14
+ *
15
+ * @default true
16
+ */
17
+ kgIsShowCloseButton: {
18
+ type: PropType<boolean>;
19
+ default: boolean;
20
+ };
21
+ /**
22
+ * 是否显示全屏按钮.
23
+ *
24
+ * @default true
25
+ */
26
+ kgIsShowFullscreenButton: {
27
+ type: PropType<boolean>;
28
+ default: boolean;
29
+ };
30
+ };
31
+ declare const _default: import("vue").DefineComponent<{
32
+ /**
33
+ * 是否默认全屏.
34
+ *
35
+ * @default false
36
+ */
37
+ kgIsDefaultFullscreen: {
38
+ type: PropType<boolean>;
39
+ default: boolean;
40
+ };
41
+ /**
42
+ * 是否显示关闭按钮.
43
+ *
44
+ * @default true
45
+ */
46
+ kgIsShowCloseButton: {
47
+ type: PropType<boolean>;
48
+ default: boolean;
49
+ };
50
+ /**
51
+ * 是否显示全屏按钮.
52
+ *
53
+ * @default true
54
+ */
55
+ kgIsShowFullscreenButton: {
56
+ type: PropType<boolean>;
57
+ default: boolean;
58
+ };
59
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
60
+ /**
61
+ * 是否默认全屏.
62
+ *
63
+ * @default false
64
+ */
65
+ kgIsDefaultFullscreen: {
66
+ type: PropType<boolean>;
67
+ default: boolean;
68
+ };
69
+ /**
70
+ * 是否显示关闭按钮.
71
+ *
72
+ * @default true
73
+ */
74
+ kgIsShowCloseButton: {
75
+ type: PropType<boolean>;
76
+ default: boolean;
77
+ };
78
+ /**
79
+ * 是否显示全屏按钮.
80
+ *
81
+ * @default true
82
+ */
83
+ kgIsShowFullscreenButton: {
84
+ type: PropType<boolean>;
85
+ default: boolean;
86
+ };
87
+ }>>, {
88
+ kgIsDefaultFullscreen: boolean;
89
+ kgIsShowCloseButton: boolean;
90
+ kgIsShowFullscreenButton: boolean;
91
+ }>;
92
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as KgModal, type IKgModalProps } from './KgModal';
@@ -0,0 +1,8 @@
1
+ /**
2
+ * 弹窗边框宽度.
3
+ */
4
+ export declare const KG_MODAL_BORDER_WIDTH = 1;
5
+ /**
6
+ * 弹窗滚动条的宽度。
7
+ */
8
+ export declare const KG_MODAL_SCROLL_WIDTH = 17;
@@ -0,0 +1,85 @@
1
+ import { ExtractPropTypes, PropType } from 'vue';
2
+ import './KgProgressA.less';
3
+ export declare const getProps: () => {
4
+ /**
5
+ * 左侧数值(分子).
6
+ * @default null
7
+ */
8
+ kgLeft: {
9
+ type: PropType<number | null | undefined>;
10
+ default: null;
11
+ };
12
+ /**
13
+ * 右侧数值(分母).
14
+ * @default null
15
+ */
16
+ kgRight: {
17
+ type: PropType<number | null | undefined>;
18
+ default: null;
19
+ };
20
+ /**
21
+ * 右侧文本的宽度.
22
+ * @default 'auto'
23
+ */
24
+ kgTextWidth: {
25
+ type: PropType<string>;
26
+ default: string;
27
+ };
28
+ };
29
+ export declare type IKgProgressAProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
30
+ declare const _default: import("vue").DefineComponent<{
31
+ /**
32
+ * 左侧数值(分子).
33
+ * @default null
34
+ */
35
+ kgLeft: {
36
+ type: PropType<number | null | undefined>;
37
+ default: null;
38
+ };
39
+ /**
40
+ * 右侧数值(分母).
41
+ * @default null
42
+ */
43
+ kgRight: {
44
+ type: PropType<number | null | undefined>;
45
+ default: null;
46
+ };
47
+ /**
48
+ * 右侧文本的宽度.
49
+ * @default 'auto'
50
+ */
51
+ kgTextWidth: {
52
+ type: PropType<string>;
53
+ default: string;
54
+ };
55
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
56
+ /**
57
+ * 左侧数值(分子).
58
+ * @default null
59
+ */
60
+ kgLeft: {
61
+ type: PropType<number | null | undefined>;
62
+ default: null;
63
+ };
64
+ /**
65
+ * 右侧数值(分母).
66
+ * @default null
67
+ */
68
+ kgRight: {
69
+ type: PropType<number | null | undefined>;
70
+ default: null;
71
+ };
72
+ /**
73
+ * 右侧文本的宽度.
74
+ * @default 'auto'
75
+ */
76
+ kgTextWidth: {
77
+ type: PropType<string>;
78
+ default: string;
79
+ };
80
+ }>>, {
81
+ kgLeft: number | null | undefined;
82
+ kgRight: number | null | undefined;
83
+ kgTextWidth: string;
84
+ }>;
85
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as KgProgressA, type IKgProgressAProps } from './KgProgressA';
@@ -0,0 +1,91 @@
1
+ import { ExtractPropTypes, PropType } from 'vue';
2
+ import './KgResizable.less';
3
+ export declare const getProps: () => {
4
+ /** 样式. */
5
+ kgClass: PropType<string>;
6
+ /** 是否禁用. */
7
+ kgDisabled: PropType<boolean>;
8
+ /** 当前高度. */
9
+ kgHeight: {
10
+ type: PropType<number>;
11
+ default: number;
12
+ };
13
+ /** 最大高度. */
14
+ kgMaxHeight: {
15
+ type: PropType<number>;
16
+ default: undefined;
17
+ };
18
+ /** 最小高度. */
19
+ kgMinHeight: {
20
+ type: PropType<number>;
21
+ default: number;
22
+ };
23
+ /** 拖拽条的位置. */
24
+ kgType: {
25
+ type: PropType<"left" | "right" | "top" | "bottom">;
26
+ default: string;
27
+ };
28
+ 'onUpdate:kgHeight': PropType<(value: number) => void>;
29
+ };
30
+ export declare type IKgResizableProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
31
+ declare const _default: import("vue").DefineComponent<{
32
+ /** 样式. */
33
+ kgClass: PropType<string>;
34
+ /** 是否禁用. */
35
+ kgDisabled: PropType<boolean>;
36
+ /** 当前高度. */
37
+ kgHeight: {
38
+ type: PropType<number>;
39
+ default: number;
40
+ };
41
+ /** 最大高度. */
42
+ kgMaxHeight: {
43
+ type: PropType<number>;
44
+ default: undefined;
45
+ };
46
+ /** 最小高度. */
47
+ kgMinHeight: {
48
+ type: PropType<number>;
49
+ default: number;
50
+ };
51
+ /** 拖拽条的位置. */
52
+ kgType: {
53
+ type: PropType<"left" | "right" | "top" | "bottom">;
54
+ default: string;
55
+ };
56
+ 'onUpdate:kgHeight': PropType<(value: number) => void>;
57
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:kgHeight"[], "update:kgHeight", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
58
+ /** 样式. */
59
+ kgClass: PropType<string>;
60
+ /** 是否禁用. */
61
+ kgDisabled: PropType<boolean>;
62
+ /** 当前高度. */
63
+ kgHeight: {
64
+ type: PropType<number>;
65
+ default: number;
66
+ };
67
+ /** 最大高度. */
68
+ kgMaxHeight: {
69
+ type: PropType<number>;
70
+ default: undefined;
71
+ };
72
+ /** 最小高度. */
73
+ kgMinHeight: {
74
+ type: PropType<number>;
75
+ default: number;
76
+ };
77
+ /** 拖拽条的位置. */
78
+ kgType: {
79
+ type: PropType<"left" | "right" | "top" | "bottom">;
80
+ default: string;
81
+ };
82
+ 'onUpdate:kgHeight': PropType<(value: number) => void>;
83
+ }>> & {
84
+ "onUpdate:kgHeight"?: ((...args: any[]) => any) | undefined;
85
+ }, {
86
+ kgMaxHeight: number;
87
+ kgMinHeight: number;
88
+ kgHeight: number;
89
+ kgType: "left" | "right" | "top" | "bottom";
90
+ }>;
91
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import { Ref } from 'vue';
2
+ /**
3
+ * <p>监测父元素的尺寸, 动态计算最大高度以及最大宽度.</p>
4
+ *
5
+ * @param param
6
+ */
7
+ export declare function _useObserveParentSize(param: {
8
+ kgResizableRef: Ref<HTMLDivElement | null>;
9
+ }): {
10
+ parentWidth: Ref<number>;
11
+ parentHeight: Ref<number>;
12
+ };
@@ -0,0 +1 @@
1
+ export { default as KgResizable, type IKgResizableProps } from './KgResizable';
@@ -0,0 +1,26 @@
1
+ import { ExtractPropTypes, PropType } from 'vue';
2
+ import './KgSearch.less';
3
+ export declare const getProps: () => {
4
+ /** 是否禁用. */
5
+ kgDisabled: {
6
+ type: PropType<boolean>;
7
+ default: undefined;
8
+ };
9
+ };
10
+ export declare type IKgSearchProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
11
+ declare const _default: import("vue").DefineComponent<{
12
+ /** 是否禁用. */
13
+ kgDisabled: {
14
+ type: PropType<boolean>;
15
+ default: undefined;
16
+ };
17
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
18
+ /** 是否禁用. */
19
+ kgDisabled: {
20
+ type: PropType<boolean>;
21
+ default: undefined;
22
+ };
23
+ }>>, {
24
+ kgDisabled: boolean;
25
+ }>;
26
+ export default _default;
@@ -0,0 +1,32 @@
1
+ import { FormInstance } from 'ant-design-vue/lib/form/Form';
2
+ import { Ref } from 'vue';
3
+ /** 头部高度. */
4
+ export declare const HEADER_HEIGHT = 42;
5
+ /**
6
+ * 下边距的高度.
7
+ */
8
+ export declare const PADDING_BOTTOM = 6;
9
+ /**
10
+ * 下边框的高度.
11
+ */
12
+ export declare const BORDER_BOTTOM_WIDTH = 1;
13
+ /**
14
+ * 一个查询字段的高度.
15
+ */
16
+ export declare const FORM_ITEM_HEIGHT = 38;
17
+ export declare function _useCommon(): {
18
+ isVisible: import("vue").ComputedRef<boolean>;
19
+ };
20
+ export declare function _useHeight(param: {
21
+ formContainerRef: Ref<HTMLDivElement | null>;
22
+ }): {
23
+ defaultHeight: import("vue").ComputedRef<number>;
24
+ maxHeight: import("vue").ComputedRef<number>;
25
+ minHeight: import("vue").ComputedRef<number>;
26
+ };
27
+ export declare function _useFormModel(param: {
28
+ kgResizableRef: Ref<any | null>;
29
+ formRef: Ref<FormInstance | null>;
30
+ }): {
31
+ initFormModel: () => Promise<void>;
32
+ };
@@ -0,0 +1,16 @@
1
+ import { ExtractPropTypes, PropType } from 'vue';
2
+ export declare const getProps: () => {
3
+ 'onUpdate:visible': PropType<(value: boolean) => void>;
4
+ visible: PropType<boolean>;
5
+ };
6
+ export declare type KgSearchConfigModalProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
7
+ declare const _default: import("vue").DefineComponent<{
8
+ 'onUpdate:visible': PropType<(value: boolean) => void>;
9
+ visible: PropType<boolean>;
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
+ 'onUpdate:visible': PropType<(value: boolean) => void>;
12
+ visible: PropType<boolean>;
13
+ }>> & {
14
+ "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
15
+ }, {}>;
16
+ export default _default;
@@ -0,0 +1,3 @@
1
+ export { default as KgSearch, type IKgSearchProps } from './KgSearch';
2
+ export * from './index.hooks';
3
+ export * from './index.store';
@@ -0,0 +1,67 @@
1
+ import { ComputedRef } from 'vue';
2
+ import { VarProfileDetail } from '../../apis/WMS/models';
3
+ import { IRemoveEventListenerHandler } from '../../consts';
4
+ import { IKgTableRequestParameter } from '../KgTable';
5
+ import { IKgSearchReadyEventListener, IKgSearchResetEventListener, IKgSearchSearchEventListener, IKgSearchStore } from './index.store';
6
+ export declare type IUseKgSearch = {
7
+ /**
8
+ * 当前查询字段列表.
9
+ */
10
+ currentVarProfileDetails: ComputedRef<Array<VarProfileDetail>>;
11
+ /**
12
+ * 当前查询字段列表(可见的).
13
+ */
14
+ currentVarProfileDetailsForVisible: ComputedRef<Array<VarProfileDetail>>;
15
+ currentVarProfileMaster: ComputedRef<ReturnType<IKgSearchStore['getCurrentVarProfileMaster']>>;
16
+ /**
17
+ * 高级查询的操作符表单数据对象.
18
+ */
19
+ dynamicQueryOperatorModel: ComputedRef<ReturnType<IKgSearchStore['getDynamicQueryOperatorModel']>>;
20
+ /**
21
+ * 界面标识.
22
+ */
23
+ formID: string;
24
+ /**
25
+ * 表单数据对象.
26
+ */
27
+ formModel: ComputedRef<ReturnType<IKgSearchStore['getFormModel']>>;
28
+ /** 是否就绪: 查询字段初始完成, 组件渲染完成. */
29
+ isReady: ComputedRef<ReturnType<IKgSearchStore['getIsReady']>>;
30
+ /**
31
+ * 表单数据对象.
32
+ *
33
+ * @deprecated 请使用 {@link formModel}
34
+ */
35
+ model: ComputedRef<ReturnType<IKgSearchStore['getFormModel']>>;
36
+ /**
37
+ * 监听事件: 查询字段初始完成, 组件渲染完成, 查询表单对象已经有值.
38
+ *
39
+ * @param listener 事件监听函数.
40
+ * @param isOnce 是否只会触发一次. 默认为 undefined.
41
+ */
42
+ onReady(listener: IKgSearchReadyEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
43
+ /**
44
+ * 监听事件: reset, 点击重置按钮.
45
+ * @param listener 事件监听函数.
46
+ * @param isOnce 是否只会触发一次. 默认为 undefined.
47
+ */
48
+ onReset(listener: IKgSearchResetEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
49
+ /**
50
+ * 监听事件: search, 点击查询按钮, 并且表单验证通过.
51
+ * @param listener 事件监听函数.
52
+ * @param isOnce 是否只会触发一次. 默认为 undefined.
53
+ */
54
+ onSearch(listener: IKgSearchSearchEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
55
+ /** 重置. */
56
+ reset(): void;
57
+ /** 查询. */
58
+ search(param?: boolean | IKgTableRequestParameter): void;
59
+ /**
60
+ * 状态数据.
61
+ */
62
+ store: IKgSearchStore;
63
+ };
64
+ /**
65
+ * @param formID 界面标识.
66
+ */
67
+ export declare function useKgSearch(formID?: string | null): IUseKgSearch;
@@ -0,0 +1,147 @@
1
+ import { StoreDefinition } from 'pinia';
2
+ import { VarProfileMasterDTO } from '../../apis/WMS/models';
3
+ import { IKgEventListener } from '../../consts';
4
+ import { IKgTableRequestParameter } from '../KgTable';
5
+ /**
6
+ * 事件类型.
7
+ * 'ready': 查询字段初始完成, 组件渲染完成, 查询表单对象已经有值
8
+ * 'search': 点击查询按钮, 并且表单验证通过
9
+ * 'reset': 点击重置按钮
10
+ */
11
+ export declare type IKgSearchEvent = 'ready' | 'search' | 'reset';
12
+ export declare type IKgSearchReadyEventListenerParameter = {};
13
+ export declare type IKgSearchReadyEventListener = ((param: IKgSearchReadyEventListenerParameter) => Promise<boolean>) & IKgEventListener;
14
+ export declare type IKgSearchSearchEventListenerParameter = {} & IKgTableRequestParameter;
15
+ export declare type IKgSearchSearchEventListener = ((param: IKgSearchSearchEventListenerParameter) => Promise<boolean>) & IKgEventListener;
16
+ export declare type IKgSearchResetEventListenerParameter = {};
17
+ export declare type IKgSearchResetEventListener = ((param: IKgSearchResetEventListenerParameter) => Promise<boolean>) & IKgEventListener;
18
+ export declare type IKgSearchEventListenerParameter = IKgSearchReadyEventListenerParameter | IKgSearchSearchEventListenerParameter | IKgSearchResetEventListenerParameter;
19
+ export declare type IKgSearchEventListener = IKgSearchReadyEventListener | IKgSearchSearchEventListener | IKgSearchResetEventListener;
20
+ /** 查询方法. */
21
+ export declare type IKgSearchSearchFn = (param?: IKgTableRequestParameter) => void;
22
+ /** 重置方法. */
23
+ export declare type IKgSearchResetFn = () => void;
24
+ export interface IUseKgSearchStoreState {
25
+ /**
26
+ * 高级查询操作符的表单数据对象.
27
+ */
28
+ dynamicOperatorModelMap: Map<string, Record<string, string>>;
29
+ /** 表单数据对象. */
30
+ formModel: Map<string, Record<string, any>>;
31
+ /**
32
+ * 是否就绪: 查询字段初始完成, 组件渲染完成.
33
+ */
34
+ isReadyMap: Map<string, boolean>;
35
+ /** 事件监听函数列表: ready. */
36
+ onReadyEventListenerMap: Map<string, Array<IKgSearchReadyEventListener>>;
37
+ /** 事件监听函数列表: reset. */
38
+ onResetEventListenerMap: Map<string, Array<IKgSearchResetEventListener>>;
39
+ /** 事件监听函数列表: search. */
40
+ onSearchEventListenerMap: Map<string, Array<IKgSearchSearchEventListener>>;
41
+ /** 重置方法, 可供外部调用, 用来触发重置操作. */
42
+ resetFnMap: Map<string, IKgSearchResetFn>;
43
+ /** 查询方法, 可供外部调用, 用来触发查询操作. */
44
+ searchFnMap: Map<string, IKgSearchSearchFn>;
45
+ }
46
+ export interface IUseKgSearchStoreGetters {
47
+ /**
48
+ * 获取当前的 VarProfileMaster.
49
+ */
50
+ getCurrentVarProfileMaster(): (formID: string | null | undefined) => VarProfileMasterDTO | null;
51
+ /**
52
+ * @param formID 界面标识.
53
+ */
54
+ getDynamicQueryOperatorModel(): (formID: string | null | undefined) => Record<string, string>;
55
+ /**
56
+ * @param formID 界面标识.
57
+ */
58
+ getFormModel(): (formID: string | null | undefined) => Record<string, any> | null;
59
+ /**
60
+ * 是否就绪.
61
+ *
62
+ * @param formID 界面标识.
63
+ */
64
+ getIsReady(): (formID: string | null | undefined) => boolean;
65
+ /**
66
+ * 获取重置方法.
67
+ *
68
+ * @param formID 界面标识.
69
+ */
70
+ getResetFn(): (formID: string | null | undefined) => IKgSearchResetFn | null;
71
+ /**
72
+ * 获取查询方法.
73
+ *
74
+ * @param formID 界面标识.
75
+ */
76
+ getSearchFn(): (formID: string | null | undefined) => IKgSearchSearchFn | null;
77
+ }
78
+ export interface IUseKgSearchStoreActions {
79
+ /**
80
+ * 注册事件监听.
81
+ * @param formID 界面标识.
82
+ * @param event 事件名称.
83
+ * @param listener 事件监听函数.
84
+ */
85
+ addEventListener(formID: string, event: IKgSearchEvent, listener: any): void;
86
+ /**
87
+ * 清理数据.
88
+ * @param formID 页面标识.
89
+ */
90
+ dispose(formID: string | null | undefined): void;
91
+ /**
92
+ * 触发事件.
93
+ * @param formID 界面标识.
94
+ * @param event 事件名称.
95
+ * @param param 事件参数.
96
+ */
97
+ emit<T = IKgSearchEventListenerParameter>(formID: string, event: IKgSearchEvent, param: T): Promise<boolean>;
98
+ /**
99
+ * 修改查询字段的高级查询操作符的部分属性.
100
+ *
101
+ * @param formID 界面标识.
102
+ * @param properties 要修改的部分属性.
103
+ */
104
+ patchDynamicQueryOperatorModel(formID: string | null | undefined, properties?: Record<string, any> | null): Promise<void>;
105
+ /**
106
+ * 修改查询字段的表单数据的部分属性.
107
+ *
108
+ * @param formID 界面标识.
109
+ * @param properties 要修改的部分属性.
110
+ */
111
+ patchModel(formID: string | null | undefined, properties?: Record<string, any> | null): Promise<void>;
112
+ /**
113
+ * 退订事件监听.
114
+ * @param formID 界面标识.
115
+ * @param event 事件名称.
116
+ * @param listener 事件监听函数.
117
+ */
118
+ removeEventListener(formID: string, event: IKgSearchEvent, listener?: any): void;
119
+ setDynamicQueryOperatorModel(formID: string | null | undefined, model?: Record<string, any> | null): void;
120
+ /**
121
+ * 设置表单数据.
122
+ * @param formID 界面标识.
123
+ * @param model 表单数据.
124
+ */
125
+ setFormModel(formID: string | null | undefined, model?: Record<string, any> | null): void;
126
+ /**
127
+ * 设置是否就绪.
128
+ * @param formID 界面标识.
129
+ * @param ready 是否就绪.
130
+ */
131
+ setIsReady(formID: string | null | undefined, ready?: boolean): void;
132
+ /**
133
+ * 设置重置方法.
134
+ * @param formID 界面标识.
135
+ * @param fn 重置方法.
136
+ */
137
+ setResetFn(formID: string | null | undefined, fn?: IKgSearchResetFn | null): void;
138
+ /**
139
+ * 设置查询方法.
140
+ * @param formID 界面标识.
141
+ * @param fn 查询方法.
142
+ */
143
+ setSearchFn(formID: string | null | undefined, fn?: IKgSearchSearchFn | null): void;
144
+ }
145
+ export declare type IUseKgSearchStore = StoreDefinition<'KgSearch', IUseKgSearchStoreState, IUseKgSearchStoreGetters, IUseKgSearchStoreActions>;
146
+ export declare type IKgSearchStore = ReturnType<IUseKgSearchStore>;
147
+ export declare const useKgSearchStore: IUseKgSearchStore;
@@ -0,0 +1 @@
1
+ export {};