@kengic/vue 0.30.1-beta.8 → 0.30.1-beta.80

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (185) hide show
  1. package/CHANGELOG.md +10 -1
  2. package/README.md +4 -3
  3. package/dist/check-box-outline-blank.d01a2055.mjs +8 -0
  4. package/dist/collapse-all-rounded.26ee73fc.mjs +8 -0
  5. package/dist/expand-all-rounded.e01e6cb9.mjs +8 -0
  6. package/dist/index.css +1 -1
  7. package/dist/kengic-vue.js +150886 -133925
  8. package/dist/more-outlined.8e1202ac.mjs +8 -0
  9. package/dist/palette-swatch-variant.f7258843.mjs +8 -0
  10. package/dist/partition-outlined.1bcf4f37.mjs +8 -0
  11. package/dist/pause-rounded.1ed7cc39.mjs +8 -0
  12. package/dist/play-arrow-rounded.90fc4173.mjs +8 -0
  13. package/dist/profile-outlined.1059fb0d.mjs +8 -0
  14. package/dist/src/api/WMS/models.d.ts +2 -0
  15. package/dist/src/component/KgButton/{components/KgButton.Copy.d.ts → KgButton.Copy.d.ts} +5 -5
  16. package/dist/src/component/KgButton/{components/KgButton.Create.d.ts → KgButton.Create.d.ts} +3 -3
  17. package/dist/src/component/KgButton/{components/KgButton.Delete.d.ts → KgButton.Delete.d.ts} +3 -3
  18. package/dist/src/component/KgButton/{components/KgButton.Export.d.ts → KgButton.Export.d.ts} +5 -5
  19. package/dist/src/component/KgButton/{components/KgButton.Import.d.ts → KgButton.Import.d.ts} +5 -5
  20. package/dist/src/component/KgButton/{components/KgButton.ImportTemplate.d.ts → KgButton.ImportTemplate.d.ts} +5 -5
  21. package/dist/src/component/KgButton/KgButton.Item.d.ts +1 -3
  22. package/dist/src/component/KgButton/{components/KgButton.Other.d.ts → KgButton.Other.d.ts} +5 -5
  23. package/dist/src/component/KgButton/{components/KgButton.Search.d.ts → KgButton.Search.d.ts} +3 -3
  24. package/dist/src/component/KgButton/{components/KgButton.Update.d.ts → KgButton.Update.d.ts} +5 -5
  25. package/dist/src/component/KgButton/KgButton.d.ts +1 -2
  26. package/dist/src/component/KgButton/KgButton.event.d.ts +36 -22
  27. package/dist/src/component/KgButton/KgButton.hooks.d.ts +16 -9
  28. package/dist/src/component/KgButton/KgButton.store.d.ts +1 -1
  29. package/dist/src/component/KgButton/index.d.ts +2 -60
  30. package/dist/src/component/KgCanvas/KgCanvas.ContextMenu.d.ts +1 -2
  31. package/dist/src/component/KgCanvas/{KgCanvas.Toolbar.OverviewScale.d.ts → KgCanvas.ToolbarButton.Fullscreen.d.ts} +2 -3
  32. package/dist/src/component/KgCanvas/KgCanvas.ToolbarButton.Mode.d.ts +7 -0
  33. package/dist/src/component/KgCanvas/{KgCanvas.Toolbar.Fullscreen.d.ts → KgCanvas.ToolbarButton.OverviewScale.d.ts} +2 -3
  34. package/dist/src/component/KgCanvas/KgCanvas.Tooltip.d.ts +1 -2
  35. package/dist/src/component/KgCanvas/KgCanvas.d.ts +59 -3
  36. package/dist/src/component/KgCanvas/KgCanvas.event.d.ts +48 -11
  37. package/dist/src/component/KgCanvas/KgCanvas.hooks.d.ts +34 -6
  38. package/dist/src/component/KgCanvas/KgCanvas.model.d.ts +26 -32
  39. package/dist/src/component/KgCanvas/KgCanvas.service.d.ts +5 -31
  40. package/dist/src/component/KgCanvas/KgCanvas.store.d.ts +4 -1
  41. package/dist/src/component/KgCanvas/index.d.ts +1 -1
  42. package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.AreaSelect.d.ts +5 -0
  43. package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Canvas.d.ts +5 -0
  44. package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Legend.d.ts +5 -0
  45. package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Offline.d.ts +5 -0
  46. package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Setting.d.ts +5 -0
  47. package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Tab.Log.d.ts +5 -0
  48. package/dist/src/{page/KgCircleVis/components/KgCircleVis.Tab.Rgv.d.ts → component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Tab.Rgv.d.ts} +5 -5
  49. package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.d.ts +5 -0
  50. package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.hooks.d.ts +29 -0
  51. package/dist/src/{page/KgCircleVis/components/KgCircleVis.model.d.ts → component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.model.d.ts} +1 -1
  52. package/dist/src/{page/KgCircleVis/components/KgCircleVis.store.d.ts → component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.store.d.ts} +41 -41
  53. package/dist/src/component/KgCircularShuttleMonitor/index.d.ts +3 -0
  54. package/dist/src/component/KgForm/KgForm.d.ts +40 -41
  55. package/dist/src/component/KgForm/KgForm.hooks.d.ts +2 -2
  56. package/dist/src/component/KgForm/KgForm.store.d.ts +4 -4
  57. package/dist/src/component/KgForm/index.d.ts +2 -602
  58. package/dist/src/component/KgForm.Item/{components/KgForm.Item.Checkbox.d.ts → KgForm.Item.Checkbox.d.ts} +38 -38
  59. package/dist/src/component/KgForm.Item/{components/KgForm.Item.CheckboxGroup.d.ts → KgForm.Item.CheckboxGroup.d.ts} +42 -40
  60. package/dist/src/component/KgForm.Item/{components/KgForm.Item.Date.d.ts → KgForm.Item.Date.d.ts} +38 -38
  61. package/dist/src/component/KgForm.Item/{components/KgForm.Item.DateRange.d.ts → KgForm.Item.DateRange.d.ts} +38 -38
  62. package/dist/src/component/KgForm.Item/{components/KgForm.Item.Image.d.ts → KgForm.Item.Image.d.ts} +42 -46
  63. package/dist/src/component/KgForm.Item/{components/KgForm.Item.Input.d.ts → KgForm.Item.Input.d.ts} +38 -38
  64. package/dist/src/component/KgForm.Item/{components/KgForm.Item.InputNumber.d.ts → KgForm.Item.InputNumber.d.ts} +38 -38
  65. package/dist/src/component/KgForm.Item/{components/KgForm.Item.InputPassword.d.ts → KgForm.Item.InputPassword.d.ts} +38 -38
  66. package/dist/src/component/KgForm.Item/{components/KgForm.Item.Link.d.ts → KgForm.Item.Link.d.ts} +38 -38
  67. package/dist/src/component/KgForm.Item/{components/KgForm.Item.RadioGroup.d.ts → KgForm.Item.RadioGroup.d.ts} +38 -38
  68. package/dist/src/component/KgForm.Item/{components/KgForm.Item.Select.d.ts → KgForm.Item.Select.d.ts} +39 -39
  69. package/dist/src/component/KgForm.Item/{components/KgForm.Item.Select.service.d.ts → KgForm.Item.Select.service.d.ts} +2 -2
  70. package/dist/src/component/KgForm.Item/{components/KgForm.Item.Switch.d.ts → KgForm.Item.Switch.d.ts} +38 -38
  71. package/dist/src/component/KgForm.Item/{components/KgForm.Item.TextArea.d.ts → KgForm.Item.TextArea.d.ts} +38 -38
  72. package/dist/src/component/KgForm.Item/KgForm.Item.d.ts +35 -35
  73. package/dist/src/component/KgForm.Item/KgForm.Item.model.d.ts +31 -33
  74. package/dist/src/component/KgImage/KgImage.d.ts +6 -6
  75. package/dist/src/component/KgLayoutHeader/{components/KgLayoutHeaderLocale.d.ts → KgLayoutHeader.Locale.d.ts} +1 -1
  76. package/dist/src/component/KgLayoutHeader/index.d.ts +1 -1
  77. package/dist/src/component/KgModal/KgModal.d.ts +20 -20
  78. package/dist/src/component/KgModal/{hooks/useDragToResize.d.ts → KgModal.service.d.ts} +13 -2
  79. package/dist/src/component/KgModal02/KgModal02.d.ts +476 -0
  80. package/dist/src/component/KgModal02/KgModal02.model.d.ts +1 -0
  81. package/dist/src/component/KgModal02/index.d.ts +1 -0
  82. package/dist/src/component/KgResizable/KgResizable.d.ts +4 -4
  83. package/dist/src/component/KgSearch/KgSearch.event.d.ts +12 -12
  84. package/dist/src/component/KgSearch/KgSearch.hooks.d.ts +6 -6
  85. package/dist/src/component/KgSearch/KgSearch.store.d.ts +26 -26
  86. package/dist/src/component/KgSimulator/KgSimulator.Canvas.Title.d.ts +11 -0
  87. package/dist/src/component/KgSimulator/KgSimulator.Canvas.d.ts +11 -0
  88. package/dist/src/component/KgSimulator/KgSimulator.Canvas.service.d.ts +80 -0
  89. package/dist/src/component/KgSimulator/KgSimulator.Menu.Scene.Create.CircularConveyor.d.ts +36 -0
  90. package/dist/src/component/KgSimulator/KgSimulator.Menu.Scene.Open.CircularConveyor.d.ts +36 -0
  91. package/dist/src/component/KgSimulator/KgSimulator.Menu.d.ts +4 -0
  92. package/dist/src/component/KgSimulator/KgSimulator.Panel.Prefab.d.ts +4 -0
  93. package/dist/src/component/KgSimulator/KgSimulator.Panel.Property.d.ts +4 -0
  94. package/dist/src/component/KgSimulator/KgSimulator.Panel.Scene.d.ts +4 -0
  95. package/dist/src/component/KgSimulator/KgSimulator.Panel.d.ts +97 -0
  96. package/dist/src/component/KgSimulator/KgSimulator.Prefab.d.ts +108 -0
  97. package/dist/src/component/KgSimulator/KgSimulator.ToolbarButton.Prefab.d.ts +9 -0
  98. package/dist/src/component/KgSimulator/KgSimulator.ToolbarButton.Property.d.ts +9 -0
  99. package/dist/src/component/KgSimulator/KgSimulator.ToolbarButton.Scene.d.ts +9 -0
  100. package/dist/src/component/KgSimulator/KgSimulator.ToolbarButton.d.ts +113 -0
  101. package/dist/src/component/KgSimulator/KgSimulator.d.ts +33 -0
  102. package/dist/src/component/KgSimulator/KgSimulator.event.d.ts +93 -0
  103. package/dist/src/component/KgSimulator/KgSimulator.hooks.d.ts +103 -0
  104. package/dist/src/component/KgSimulator/KgSimulator.icons.d.ts +10 -0
  105. package/dist/src/component/KgSimulator/KgSimulator.model.d.ts +1502 -0
  106. package/dist/src/component/KgSimulator/KgSimulator.store.d.ts +474 -0
  107. package/dist/src/component/KgSimulator/KgSimulator.utils.d.ts +21 -0
  108. package/dist/src/component/KgSimulator/index.d.ts +3 -0
  109. package/dist/src/component/KgSubmit/KgSubmit.event.d.ts +28 -21
  110. package/dist/src/component/KgSubmit/KgSubmit.hooks.d.ts +50 -18
  111. package/dist/src/component/KgSubmit/KgSubmit.store.d.ts +61 -15
  112. package/dist/src/component/KgTable/{components/KgTable.BodyCell.d.ts → KgTable.BodyCell.d.ts} +1 -1
  113. package/dist/src/component/KgTable/KgTable.Setting.VarGridMaster.SaveAs.d.ts +4 -0
  114. package/dist/src/component/KgTable/{components/setting/KgTable.Setting.d.ts → KgTable.Setting.d.ts} +5 -6
  115. package/dist/src/component/KgTable/{components/setting/KgTable.Setting.service.d.ts → KgTable.Setting.service.d.ts} +1 -1
  116. package/dist/src/component/KgTable/KgTable.event.d.ts +41 -31
  117. package/dist/src/component/KgTable/KgTable.hooks.d.ts +19 -15
  118. package/dist/src/component/KgTable/KgTable.model.d.ts +1 -1
  119. package/dist/src/component/KgTable/KgTable.store.d.ts +1 -1
  120. package/dist/src/component/KgTable02/KgTable02.BodyCell.d.ts +32 -3
  121. package/dist/src/component/KgTable02/KgTable02.event.d.ts +57 -31
  122. package/dist/src/component/KgTable02/KgTable02.hooks.d.ts +31 -1
  123. package/dist/src/component/KgVar/{KgVarFactory.d.ts → KgVar.Factory.d.ts} +45 -0
  124. package/dist/src/component/KgVar/KgVar.d.ts +21 -16
  125. package/dist/src/component/KgVar/KgVar.event.d.ts +20 -7
  126. package/dist/src/component/KgVar/KgVar.hooks.d.ts +23 -10
  127. package/dist/src/component/KgVar/KgVar.model.d.ts +1 -6
  128. package/dist/src/component/KgVar/KgVar.store.d.ts +80 -78
  129. package/dist/src/component/KgVar/index.d.ts +1 -1
  130. package/dist/src/component/KgVarConfig/KgVarConfig.model.d.ts +0 -3
  131. package/dist/src/component/KgVarConfig/components/search/KgVarConfig.Modal.Search.VarProfileMaster.service.d.ts +5 -5
  132. package/dist/src/component/KgVarConfig/components/table/KgVarConfig.Modal.Table.VarGridMaster.service.d.ts +4 -4
  133. package/dist/src/component/index.d.ts +3 -2
  134. package/dist/src/config/config.store.d.ts +4 -4
  135. package/dist/src/config/index.d.ts +19 -13
  136. package/dist/src/const/const.model.d.ts +578 -24
  137. package/dist/src/const/form-id.const.d.ts +22 -10
  138. package/dist/src/const/index.d.ts +0 -1
  139. package/dist/src/i18n/cs_CZ.d.ts +1 -300
  140. package/dist/src/i18n/en.d.ts +234 -297
  141. package/dist/src/i18n/es_ES.d.ts +1 -299
  142. package/dist/src/i18n/fr_FR.d.ts +1 -299
  143. package/dist/src/i18n/i18n.setup.d.ts +2 -2
  144. package/dist/src/i18n/km_KH.d.ts +1 -299
  145. package/dist/src/i18n/ko_KR.d.ts +1 -299
  146. package/dist/src/i18n/vi_VN.d.ts +1 -299
  147. package/dist/src/i18n/zh_CN.d.ts +235 -298
  148. package/dist/src/page/{KgCircleVis/KgPageCircleVis.d.ts → KgPageCircularShuttleMonitor/KgPageCircularShuttleMonitor.d.ts} +1 -1
  149. package/dist/src/page/KgPageCircularShuttleMonitor/index.d.ts +1 -0
  150. package/dist/src/page/KgPageDda/KgPageDda.d.ts +1 -1
  151. package/dist/src/page/KgPageDda/components/KgPageDda.Create.store.d.ts +5 -5
  152. package/dist/src/page/index.d.ts +2 -2
  153. package/dist/src/project/src/hooks/index.d.ts +0 -1
  154. package/dist/src/project/src/locales/useLocale.d.ts +1 -0
  155. package/dist/src/project/src/router/types.d.ts +19 -0
  156. package/dist/src/project/src/utils/env.d.ts +3 -19
  157. package/dist/src/project/types/config.d.ts +2 -2
  158. package/dist/src/service/http-client.d.ts +7 -3
  159. package/dist/src/util/ant-design-vue.d.ts +16 -16
  160. package/dist/src/util/kg-auth.util.d.ts +7 -6
  161. package/dist/src/util/kg-route.util.d.ts +9 -9
  162. package/dist/src/util/kg.util.d.ts +15 -4
  163. package/dist/src/util/tsx.helper.d.ts +7 -7
  164. package/package.json +27 -26
  165. package/dist/src/component/KgForm/KgForm.model.d.ts +0 -9
  166. package/dist/src/component/KgModal/hooks/useDragToMove.d.ts +0 -12
  167. package/dist/src/component/KgTable/components/setting/KgTable.Setting.VarGridMaster.SaveAs.d.ts +0 -5
  168. package/dist/src/const/injection-keys.const.d.ts +0 -11
  169. package/dist/src/page/KgCircleVis/components/KgCircleVis.AreaSelect.d.ts +0 -5
  170. package/dist/src/page/KgCircleVis/components/KgCircleVis.Canvas.d.ts +0 -5
  171. package/dist/src/page/KgCircleVis/components/KgCircleVis.Legend.d.ts +0 -5
  172. package/dist/src/page/KgCircleVis/components/KgCircleVis.Offline.d.ts +0 -5
  173. package/dist/src/page/KgCircleVis/components/KgCircleVis.Setting.d.ts +0 -5
  174. package/dist/src/page/KgCircleVis/components/KgCircleVis.Tab.Log.d.ts +0 -5
  175. package/dist/src/page/KgCircleVis/components/KgCircleVis.d.ts +0 -5
  176. package/dist/src/page/KgCircleVis/components/KgCircleVis.hooks.d.ts +0 -29
  177. package/dist/src/page/KgCircleVis/index.d.ts +0 -1
  178. package/dist/src/project/src/hooks/web/useI18n.d.ts +0 -13
  179. /package/dist/src/component/KgButton/{KgButton.Item.data.d.ts → KgButton.model.d.ts} +0 -0
  180. /package/dist/src/{page/KgCircleVis/components/KgCircleVis.Canvas.service.d.ts → component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Canvas.service.d.ts} +0 -0
  181. /package/dist/src/component/KgForm.Item/{addon/KgForm.Item.Addon.DynamicQueryOperator.d.ts → KgForm.Item.Addon.DynamicQueryOperator.d.ts} +0 -0
  182. /package/dist/src/component/KgForm.Item/{addon/KgForm.Item.Addon.Lookup.Modal.d.ts → KgForm.Item.Addon.Lookup.Modal.d.ts} +0 -0
  183. /package/dist/src/component/KgForm.Item/{addon/KgForm.Item.Addon.Lookup.d.ts → KgForm.Item.Addon.Lookup.d.ts} +0 -0
  184. /package/dist/src/component/KgTable/{components/KgTable.HeadCell.d.ts → KgTable.HeadCell.d.ts} +0 -0
  185. /package/dist/src/component/KgTable/{components/KgTable.Info.d.ts → KgTable.Info.d.ts} +0 -0
@@ -32,74 +32,76 @@ export declare function transformVarProfileDetails(varProfileDetails?: Array<Var
32
32
  */
33
33
  export declare function createDefaultVarSubmitDetailsForVarProfileDetails(varGridMasters: Array<VarProfileMasterDTO>, varSubmitDetails: Array<VarSubmitDetail>, varButtons: Array<VarButton>): void;
34
34
  export interface UseKgVarStoreGetters {
35
- /** 获取当前'表格视图'的 ID. */
36
- getCurrentVarGridMasterID: (formID: string | null | undefined) => string | null;
35
+ /**
36
+ * 获取当前「表格视图」的主键.
37
+ */
38
+ getCurrentVarGridMasterID: (fid: string | null | undefined) => string | null;
37
39
  /**
38
40
  * 获取当前的「查询条件」.
39
41
  */
40
- getCurrentVarProfileMaster: (formID: string | null | undefined) => VarProfileMasterDTO | null;
42
+ getCurrentVarProfileMaster: (fid: string | null | undefined) => VarProfileMasterDTO | null;
41
43
  /** 获取当前 VarProfileMaster 的 ID. */
42
- getCurrentVarProfileMasterID: (formID: string | null | undefined) => string | null;
44
+ getCurrentVarProfileMasterID: (fid: string | null | undefined) => string | null;
43
45
  getIsRequestedMap: Record<string, boolean>;
44
46
  /**
45
47
  * 获取界面层级.
46
48
  */
47
- getLevel: (formID: string | null | undefined) => number;
48
- getParent: (formID: string | null | undefined) => IUseKgVar | null;
49
- getProps: (formID: string | null | undefined) => IKgProps | null;
50
- getSlots: (formID: string | null | undefined) => IKgSlots | null;
49
+ getLevel: (fid: string | null | undefined) => number;
50
+ getParentKgVar: (fid: string | null | undefined) => IUseKgVar | null;
51
+ getProps: (fid: string | null | undefined) => IKgProps | null;
52
+ getSlots: (fid: string | null | undefined) => IKgSlots | null;
51
53
  /**
52
54
  * 和 varName 获取 VarButton.
53
55
  */
54
- getVarButton: (formID: string | null | undefined, varName: string | null | undefined) => VarButton | null;
55
- getVarButtonConfig: (formID: string | null | undefined) => VarButtonConfig | null;
56
+ getVarButton: (fid: string | null | undefined, varName: string | null | undefined) => VarButton | null;
57
+ getVarButtonConfig: (fid: string | null | undefined) => VarButtonConfig | null;
56
58
  getVarButtonConfigMap: Record<string, VarButtonConfig | null>;
57
- getVarButtonCopy: (formID: string | null | undefined) => VarButton | null;
58
- getVarButtonCreate: (formID: string | null | undefined) => VarButton | null;
59
- getVarButtonDelete: (formID: string | null | undefined) => VarButton | null;
59
+ getVarButtonCopy: (fid: string | null | undefined) => VarButton | null;
60
+ getVarButtonCreate: (fid: string | null | undefined) => VarButton | null;
61
+ getVarButtonDelete: (fid: string | null | undefined) => VarButton | null;
60
62
  getVarButtonMap: Record<string, Array<VarButton>>;
61
- getVarButtonUpdate: (formID: string | null | undefined) => VarButton | null;
62
- getVarButtonSearch: (formID: string | null | undefined) => VarButton | null;
63
- getVarButtons: (formID: string | null | undefined) => Array<VarButton>;
64
- getVarChildDetails: (formID: string | null | undefined) => Array<VarChildDetail>;
65
- getVarConfigControl: (formID: string | null | undefined, param: {
63
+ getVarButtonSearch: (fid: string | null | undefined) => VarButton | null;
64
+ getVarButtonUpdate: (fid: string | null | undefined) => VarButton | null;
65
+ getVarButtons: (fid: string | null | undefined) => Array<VarButton>;
66
+ getVarChildDetails: (fid: string | null | undefined) => Array<VarChildDetail>;
67
+ getVarConfigControl: (fid: string | null | undefined, param: {
66
68
  buttonType?: KG__VAR_BUTTON__TYPE;
67
69
  buttonVarName?: string | null;
68
70
  varName: string | null | undefined;
69
71
  }) => VarConfigControl | null;
70
- getVarConfigInput: (formID: string | null | undefined, varName: string | null | undefined) => VarConfigInput | null;
71
- getVarConfigLookup: (formID: string | null | undefined, varName: string | null | undefined) => VarConfigLookup | null;
72
- getVarConfigPossibility: (formID: string | null | undefined, param: {
72
+ getVarConfigInput: (fid: string | null | undefined, varName: string | null | undefined) => VarConfigInput | null;
73
+ getVarConfigLookup: (fid: string | null | undefined, varName: string | null | undefined) => VarConfigLookup | null;
74
+ getVarConfigPossibility: (fid: string | null | undefined, param: {
73
75
  varName: string | null | undefined;
74
76
  }) => VarConfigPossibility | null;
75
- getVarConfigTip: (formID: string | null | undefined, varName: string | null | undefined) => VarConfigTip | null;
76
- getVarDda: (formID: string | null | undefined) => VarDda | null;
77
+ getVarConfigTip: (fid: string | null | undefined, varName: string | null | undefined) => VarConfigTip | null;
78
+ getVarDda: (fid: string | null | undefined) => VarDda | null;
77
79
  /**
78
80
  * 获取'表格配置'.
79
81
  */
80
- getVarGridConfig: (formID: string | null | undefined) => VarGridConfig | null;
82
+ getVarGridConfig: (fid: string | null | undefined) => VarGridConfig | null;
81
83
  /** 获取所有的 VarGridConfig. */
82
84
  getVarGridConfigMap: Record<string, VarGridConfig | null>;
83
- getVarGridDetail: (formID: string | null | undefined, param: {
85
+ getVarGridDetail: (fid: string | null | undefined, param: {
84
86
  varName: string | null | undefined;
85
87
  }) => VarGridDetail | null;
86
88
  /**
87
89
  * 获取当前的「表格视图明细」列表.
88
90
  */
89
- getVarGridDetailList: (formID: string | null | undefined) => Array<VarGridDetail> | null;
91
+ getVarGridDetailList: (fid: string | null | undefined) => Array<VarGridDetail> | null;
90
92
  /**
91
93
  * 获取当前的「表格视图」.
92
94
  */
93
- getVarGridMaster: (formID: string | null | undefined) => VarGridMasterDTO | null;
95
+ getVarGridMaster: (fid: string | null | undefined) => VarGridMasterDTO | null;
94
96
  /**
95
97
  * 获取 VarGridMaster 列表.
96
98
  */
97
- getVarGridMasters: (formID: string | null | undefined) => Array<VarGridMasterDTO> | null;
98
- getVarProfileConfig: (formID: string | null | undefined) => VarProfileConfig | null;
99
+ getVarGridMasters: (fid: string | null | undefined) => Array<VarGridMasterDTO> | null;
100
+ getVarProfileConfig: (fid: string | null | undefined) => VarProfileConfig | null;
99
101
  /**
100
102
  * 和 varName 获取当前 VarProfileMaster 下的某个 VarProfileDetail.
101
103
  */
102
- getVarProfileDetail: (formID: string | null | undefined, varName: string | null | undefined) => VarProfileDetail | null;
104
+ getVarProfileDetail: (fid: string | null | undefined, varName: string | null | undefined) => VarProfileDetail | null;
103
105
  getVarProfileMasterMap: Record<string, {
104
106
  varProfileMasters: Array<VarProfileMasterDTO> | null;
105
107
  /** 当前选中的 VarProfileMaster ID. */
@@ -108,29 +110,29 @@ export interface UseKgVarStoreGetters {
108
110
  /**
109
111
  * 获取 VarProfileMasterDTO 列表.
110
112
  */
111
- getVarProfileMasters: (formID: string | null | undefined) => Array<VarProfileMasterDTO> | null;
113
+ getVarProfileMasters: (fid: string | null | undefined) => Array<VarProfileMasterDTO> | null;
112
114
  getVarSubmitConfigMap: Record<string, Array<VarSubmitConfig>>;
113
115
  getVarSubmitDetailMap: Record<string, Array<VarSubmitDetail>>;
114
- getVarVariables: (formID: string | null | undefined) => Array<VarVariable>;
116
+ getVarVariables: (fid: string | null | undefined) => Array<VarVariable>;
115
117
  /**
116
118
  * 获取当前视图下可显示的 VarGridDetail 列表.
117
119
  */
118
- getVisibleVarGridDetailList: (formID: string | null | undefined) => Array<VarGridDetail> | null;
120
+ getVisibleVarGridDetailList: (fid: string | null | undefined) => Array<VarGridDetail> | null;
119
121
  /**
120
122
  * 获取当前视图下可显示的 VarGridDetail 的宽度之和.
121
123
  */
122
- getVisibleVarGridDetailListTotalWidth: (formID: string | null | undefined) => number | null;
123
- isCopyingRequesting: (formID: string | null | undefined) => boolean | null;
124
- isCreatingRequesting: (formID: string | null | undefined) => boolean | null;
125
- isDeletingRequesting: (formID: string | null | undefined) => boolean | null;
126
- isOtherRequesting: (formID: string | null | undefined) => boolean | null;
124
+ getVisibleVarGridDetailListTotalWidth: (fid: string | null | undefined) => number | null;
125
+ isCopyingRequesting: (fid: string | null | undefined) => boolean | null;
126
+ isCreatingRequesting: (fid: string | null | undefined) => boolean | null;
127
+ isDeletingRequesting: (fid: string | null | undefined) => boolean | null;
128
+ isOtherRequesting: (fid: string | null | undefined) => boolean | null;
127
129
  /** 变量配置是否查询完成. */
128
- isRequested: (formID: string | null | undefined) => boolean;
129
- isRetrieving: (formID: string | null | undefined) => boolean | null;
130
- isRetrievingVarGridMaster: (formID: string | null | undefined) => boolean | null;
131
- isRetrievingVarProfileMaster: (formID: string | null | undefined) => boolean | null;
132
- isUpdatingRequesting: (formID: string | null | undefined) => boolean | null;
133
- t: (formID: string | null | undefined, varName: string | null | undefined) => string;
130
+ isRequested: (fid: string | null | undefined) => boolean;
131
+ isRetrieving: (fid: string | null | undefined) => boolean | null;
132
+ isRetrievingVarGridMaster: (fid: string | null | undefined) => boolean | null;
133
+ isRetrievingVarProfileMaster: (fid: string | null | undefined) => boolean | null;
134
+ isUpdatingRequesting: (fid: string | null | undefined) => boolean | null;
135
+ t: (fid: string | null | undefined, varName: string | null | undefined) => string;
134
136
  }
135
137
  export interface IUseKgVarStoreActions {
136
138
  createVarConfigControl(varConfigControl: VarConfigControl): void;
@@ -140,19 +142,19 @@ export interface IUseKgVarStoreActions {
140
142
  * <p>离开一个界面, 即销毁一个界面.</p>
141
143
  * <p>删除它的变量配置数据.</p>
142
144
  *
143
- * @param formID 界面标识.
145
+ * @param fid 界面标识.
144
146
  */
145
- dispose(formID: string): void;
147
+ dispose(fid: string): void;
146
148
  /**
147
149
  * 拖拽排序 VarGridDetail 列表.
148
- * @param formID 界面标识.
150
+ * @param fid 界面标识.
149
151
  * @param fromVarName 被拽起的变量名称
150
152
  * @param toVarName 被放下的变量名称.
151
153
  */
152
- dragSortCurrentVarGridDetails(formID: string | null | undefined, fromVarName: string | null | undefined, toVarName: string | null | undefined): void;
154
+ dragSortCurrentVarGridDetails(fid: string | null | undefined, fromVarName: string | null | undefined, toVarName: string | null | undefined): void;
153
155
  /**
154
156
  * 进入一个界面. 同一个界面不允许进入多次.
155
- * @param param.formID 界面标识.
157
+ * @param param.fid 界面标识.
156
158
  * @param param.level 界面层级.
157
159
  */
158
160
  init(param: {
@@ -162,106 +164,106 @@ export interface IUseKgVarStoreActions {
162
164
  /**
163
165
  * 修改 VarButton 的部分属性.
164
166
  *
165
- * @param formID 界面标识.
167
+ * @param fid 界面标识.
166
168
  * @param param
167
169
  * @param param.varName 变量名称.
168
170
  * @param param.properties 要修改的部分属性.
169
171
  */
170
- patchVarButton(formID: string | null | undefined, param: {
172
+ patchVarButton(fid: string | null | undefined, param: {
171
173
  properties: VarButton;
172
174
  varName: string | null | undefined;
173
175
  }): Promise<void>;
174
176
  /**
175
177
  * 修改「表格配置」的部分属性.
176
178
  *
177
- * @param formID 界面标识.
179
+ * @param fid 界面标识.
178
180
  * @param param
179
181
  * @param param.properties 要修改的部分属性.
180
182
  */
181
- patchVarGridConfig(formID: string | null | undefined, param: {
183
+ patchVarGridConfig(fid: string | null | undefined, param: {
182
184
  properties: VarGridConfig;
183
185
  }): Promise<void>;
184
186
  /**
185
187
  * 修改当前的「表格视图明细」的部分属性.
186
188
  *
187
- * @param formID 界面标识.
189
+ * @param fid 界面标识.
188
190
  * @param param
189
191
  * @param param.varName 变量名称.
190
192
  * @param param.properties 要修改的部分属性.
191
193
  */
192
- patchVarGridDetail(formID: string | null | undefined, param: {
194
+ patchVarGridDetail(fid: string | null | undefined, param: {
193
195
  properties: VarGridDetail;
194
196
  varName: string | null | undefined;
195
197
  }): Promise<void>;
196
198
  /**
197
199
  * 修改当前的「表格视图」的部分属性.
198
200
  *
199
- * @param formID 界面标识.
201
+ * @param fid 界面标识.
200
202
  * @param param
201
203
  * @param param.properties 要修改的部分属性.
202
204
  */
203
- patchVarGridMaster(formID: string | null | undefined, param: {
205
+ patchVarGridMaster(fid: string | null | undefined, param: {
204
206
  properties: VarGridMasterDTO;
205
207
  }): Promise<void>;
206
208
  /**
207
209
  * 修改 VarConfigPossibility 的接口参数 cmd_prm 的部分属性.
208
- * @param formID 界面标识.
210
+ * @param fid 界面标识.
209
211
  * @param varName 变量名称
210
212
  * @param properties 要修改的部分属性.
211
213
  */
212
- patchVarPossibilityCommandParameter(formID: string | null | undefined, varName: string | null | undefined, properties: Record<string, any>): Promise<void>;
214
+ patchVarPossibilityCommandParameter(fid: string | null | undefined, varName: string | null | undefined, properties: Record<string, any>): Promise<void>;
213
215
  /**
214
216
  * 修改 VarProfileDetail 的部分属性.
215
217
  *
216
- * @param formID 界面标识.
218
+ * @param fid 界面标识.
217
219
  * @param varName 变量名称.
218
220
  * @param properties 要修改的部分属性.
219
221
  */
220
- patchVarProfileDetail(formID: string, varName: string | null | undefined, properties: VarProfileDetail): Promise<void>;
222
+ patchVarProfileDetail(fid: string, varName: string | null | undefined, properties: VarProfileDetail): Promise<void>;
221
223
  /**
222
224
  * 查询所有变量配置.
223
225
  *
224
- * @param formID 界面标识.
226
+ * @param fid 界面标识.
225
227
  * @param param 参数.
226
228
  * @param param.isForceRequest 是否强制查询. 默认为 false, 即如果该界面的变量配置已经查询过了, 则不再查询; 否则, 重新查询所有变量配置.
227
229
  */
228
- requestAll(formID: string | null | undefined, param?: {
230
+ requestAll(fid: string | null | undefined, param?: {
229
231
  isForceRequest?: boolean;
230
232
  }): Promise<void>;
231
233
  /**
232
234
  * 设置当前「表格视图」的 ID.
233
235
  *
234
- * @param formID 界面标识.
236
+ * @param fid 界面标识.
235
237
  * @param currentVarGridMasterID 当前选择的表格视图的 ID.
236
238
  */
237
- setCurrentVarGridMasterID(formID?: string | null, currentVarGridMasterID?: string | null): Promise<void>;
239
+ setCurrentVarGridMasterID(fid?: string | null, currentVarGridMasterID?: string | null): Promise<void>;
238
240
  /**
239
241
  * 设置当前选择的查询条件的 ID.
240
- * @param formID 界面标识.
242
+ * @param fid 界面标识.
241
243
  * @param currentVarProfileMasterID 当前选择的查询条件的 ID.
242
244
  */
243
- setCurrentVarProfileMasterID(formID?: string | null, currentVarProfileMasterID?: string | null): Promise<void>;
244
- setIsCopyingRequesting(formID: string, value: boolean): void;
245
- setIsCreatingRequesting(formID: string, value: boolean): void;
246
- setIsDeletingRequesting(formID: string, value: boolean): void;
247
- setIsOtherRequesting(formID: string, value: boolean): void;
248
- setIsUpdatingRequesting(formID: string, value: boolean): void;
249
- setProps(formID: string, value: IKgProps): void;
250
- setSlots(formID: string, value: IKgSlots): void;
245
+ setCurrentVarProfileMasterID(fid?: string | null, currentVarProfileMasterID?: string | null): Promise<void>;
246
+ setIsCopyingRequesting(fid: string, value: boolean): void;
247
+ setIsCreatingRequesting(fid: string, value: boolean): void;
248
+ setIsDeletingRequesting(fid: string, value: boolean): void;
249
+ setIsOtherRequesting(fid: string, value: boolean): void;
250
+ setIsUpdatingRequesting(fid: string, value: boolean): void;
251
+ setProps(fid: string, value: IKgProps): void;
252
+ setSlots(fid: string, value: IKgSlots): void;
251
253
  /**
252
254
  * 设置某个「变量配置:列表数据」.
253
255
  *
254
- * @param formID 界面标识.
256
+ * @param fid 界面标识.
255
257
  * @param varName 变量名称
256
258
  * @param varConfigPossibility 配置.
257
259
  */
258
- setVarPossibility(formID: string | null | undefined, varName: string | null | undefined, varConfigPossibility: VarConfigPossibility): void;
260
+ setVarPossibility(fid: string | null | undefined, varName: string | null | undefined, varConfigPossibility: VarConfigPossibility): void;
259
261
  /**
260
262
  * 设置查询字段是否启用.
261
- * @param formID 界面标识.
263
+ * @param fid 界面标识.
262
264
  * @param varName 变量名称.
263
265
  * @param enable 是否启用.
264
266
  */
265
- setVarProfileDetailEnable(formID: string, varName: string | null | undefined, enable: number): void;
267
+ setVarProfileDetailEnable(fid: string, varName: string | null | undefined, enable: number): void;
266
268
  }
267
269
  export declare const useKgVarStore: KgStoreDefinition<UseKgVarStoreGetters, IUseKgVarStoreActions>;
@@ -1,5 +1,5 @@
1
1
  export { default as KgVar, type IKgVarProps, type KgVarProps } from './KgVar';
2
- export * from './KgVarFactory';
2
+ export * from './KgVar.Factory';
3
3
  export * from './KgVar.hooks';
4
4
  export * from './KgVar.store';
5
5
  export * from './KgVar.model';
@@ -1,6 +1,3 @@
1
- import { InjectionKey, Ref } from 'vue';
2
- /** 正在被配置的界面标识. */
3
- export declare const KG__DI__KG_VAR_CONFIG__HOST_FORM_ID: InjectionKey<Ref<string | null>>;
4
1
  /**
5
2
  * 界面标识: 变量配置弹窗:变量配置:变量列表.
6
3
  */
@@ -4,14 +4,14 @@ import { VarProfileDetail } from '../../../../api/WMS/models';
4
4
  /**
5
5
  * 字段表格的列:左侧.
6
6
  *
7
- * @param hostFormID 宿主界面标识.
7
+ * @param hostFid 宿主界面标识.
8
8
  */
9
- export declare function leftVarProfileDetailColumns(hostFormID: string): ColumnsType<any>;
9
+ export declare function leftVarProfileDetailColumns(hostFid: string): ColumnsType<any>;
10
10
  /**
11
11
  * 字段表格的列:右侧.
12
12
  *
13
- * @param hostFormID 宿主界面标识.
13
+ * @param hostFid 宿主界面标识.
14
14
  */
15
- export declare function rightVarProfileDetailColumns(hostFormID: string): ColumnsType<any>;
15
+ export declare function rightVarProfileDetailColumns(hostFid: string): ColumnsType<any>;
16
16
  export declare type IUseDragRow = {};
17
- export declare function _useDragToSortRow(hostFormID: string | null | undefined, varProfileDetails: Ref<UnwrapRef<Array<VarProfileDetail>>>, transferRightRows: Ref<UnwrapRef<Array<VarProfileDetail>>>): IUseDragRow;
17
+ export declare function _useDragToSortRow(hostFid: string | null | undefined, varProfileDetails: Ref<UnwrapRef<Array<VarProfileDetail>>>, transferRightRows: Ref<UnwrapRef<Array<VarProfileDetail>>>): IUseDragRow;
@@ -9,15 +9,15 @@ export declare type IUseTransferColumns = {
9
9
  };
10
10
  /**
11
11
  *
12
- * @param hostFormID 宿主页面标识.
12
+ * @param hostFid 宿主页面标识.
13
13
  * @param varGridDetails
14
14
  */
15
- export declare function _useTransferColumns(hostFormID: string | null | undefined, varGridDetails: Ref<UnwrapRef<Array<VarGridDetail>>>): IUseTransferColumns;
15
+ export declare function _useTransferColumns(hostFid: string | null | undefined, varGridDetails: Ref<UnwrapRef<Array<VarGridDetail>>>): IUseTransferColumns;
16
16
  export declare type IUseDragRow = {};
17
17
  /**
18
18
  *
19
- * @param hostFormID 宿主页面标识.
19
+ * @param hostFid 宿主页面标识.
20
20
  * @param varGridDetails
21
21
  * @param transferRightRows
22
22
  */
23
- export declare function _useDragToSortRow(hostFormID: string | null | undefined, varGridDetails: Ref<UnwrapRef<Array<VarGridDetail>>>, transferRightRows: Ref<UnwrapRef<Array<VarGridDetail>>>): IUseDragRow;
23
+ export declare function _useDragToSortRow(hostFid: string | null | undefined, varGridDetails: Ref<UnwrapRef<Array<VarGridDetail>>>, transferRightRows: Ref<UnwrapRef<Array<VarGridDetail>>>): IUseDragRow;
@@ -1,11 +1,14 @@
1
1
  export * from './KgAppSelect';
2
2
  export * from './KgCanvas';
3
+ export * from './KgCircularShuttleMonitor';
3
4
  export * from './KgImage';
4
5
  export * from './KgLayoutHeader';
5
6
  export * from './KgModal';
7
+ export * from './KgModal02';
6
8
  export * from './KgProgressA';
7
9
  export * from './KgResizable';
8
10
  export * from './KgSearch';
11
+ export * from './KgSimulator';
9
12
  export * from './KgSubmit';
10
13
  export * from './KgTable';
11
14
  export * from './KgVar';
@@ -13,8 +16,6 @@ export * from './KgVarConfig';
13
16
  export * from './KgWarehouse';
14
17
  export * from './KgYesOrNo';
15
18
  export * from './KgButton';
16
- export { default as KgButton } from './KgButton';
17
19
  export * from './KgForm';
18
- export { default as KgForm } from './KgForm';
19
20
  export * from './KgForm.Item';
20
21
  export { Q } from '@thymine/xunee';
@@ -153,8 +153,8 @@ export declare type IKgOption = {
153
153
  /**
154
154
  * 数据库的类型.
155
155
  *
156
- * @see {@link KG_CONST.DB_TYPE}
157
- * @default {@link KG_CONST.DB_TYPE.SQLSERVER}
156
+ * @see {@link KG.DB_TYPE}
157
+ * @default {@link KG.DB_TYPE.SQLSERVER}
158
158
  */
159
159
  dbType?: string;
160
160
  /**
@@ -271,10 +271,10 @@ export interface IUseKgStoreActions {
271
271
  /**
272
272
  * 请求某组变量描述数据.
273
273
  *
274
- * @param param.formId 界面标识.
274
+ * @param param.fid 界面标识.
275
275
  */
276
276
  requestVarConfigDescriptionList(param: {
277
- formId: string | null | undefined;
277
+ fid: string | null | undefined;
278
278
  }): Promise<void>;
279
279
  /**
280
280
  * 设置某组描述的数据.
@@ -4,13 +4,8 @@ import { Router } from 'vue-router';
4
4
  import { LocaleType } from '../project/types/config';
5
5
  import { IKgOption, P } from './config.store';
6
6
  import '@kengic/core.react/index.css';
7
- export * from './config.hooks';
8
- export * from './config.store';
9
- /**
10
- * 由于许多数据是由项目维护的, 组件库需要用到这些数据, 则必须让项目调用下面的这些配置方法, 将这些数据设置进来.
11
- */
12
- export declare const pinia: import("pinia").Pinia;
13
- export declare type IKgOptions = {
7
+ declare const pinia: import("pinia").Pinia;
8
+ declare type IKgSetupParameter = {
14
9
  app: App;
15
10
  i18n: any;
16
11
  /** 配置参数. */
@@ -23,16 +18,18 @@ export declare type IKgOptions = {
23
18
  /** 状态数据: 用户. */
24
19
  useUserStore: StoreDefinition<any, any, any, any>;
25
20
  };
21
+ /** @deprecated 已废弃, 请使用 {@link IKgSetupParameter} */
22
+ declare type IKgOptions = IKgSetupParameter;
26
23
  /**
27
24
  * 初始.
28
25
  *
29
- * @param options 选项参数.
26
+ * @param param 选项参数.
30
27
  */
31
- export declare function setup(options: IKgOptions): Promise<void>;
32
- export declare type KgConfig = {
28
+ declare function setup(param: IKgSetupParameter): Promise<void>;
29
+ declare type IKgConfigParameter = {
33
30
  app: App<Element>;
34
31
  axios: any;
35
- i18n: {
32
+ i18n?: {
36
33
  /**
37
34
  * 语言数据.
38
35
  */
@@ -48,10 +45,19 @@ export declare type KgConfig = {
48
45
  */
49
46
  defaultLocale?: LocaleType;
50
47
  };
48
+ /**
49
+ * 是否请求翻译数据.
50
+ *
51
+ * @default true
52
+ */
53
+ isRequestDescriptionList?: boolean;
51
54
  };
52
55
  /**
53
56
  * 配置.
54
57
  *
55
- * @param config 配置.
58
+ * @param param 配置.
56
59
  */
57
- export declare function kgConfig(config: KgConfig): Promise<void>;
60
+ declare function kgConfig(param: IKgConfigParameter): Promise<void>;
61
+ export * from './config.hooks';
62
+ export * from './config.store';
63
+ export { pinia, type IKgSetupParameter, type IKgOptions, type IKgConfigParameter, kgConfig, setup };