ace-front-end 1.0.0

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 (962) hide show
  1. package/.editorconfig +8 -0
  2. package/.hintrc +9 -0
  3. package/.run/build-app-bolts.run.xml +12 -0
  4. package/.run/build-app-manager-ui.run.xml +12 -0
  5. package/.run/build-cloud-shell.run.xml +12 -0
  6. package/.run/build-element-plus-component.run.xml +12 -0
  7. package/.run/build-monnolith-shell.run.xml +12 -0
  8. package/.run/dev-app-manager.run.xml +12 -0
  9. package/.run/dev-monolith-shell.run.xml +12 -0
  10. package/README.md +59 -0
  11. package/ace-app-bolts-ui/.eslintrc.cjs +15 -0
  12. package/ace-app-bolts-ui/.vscode/extensions.json +3 -0
  13. package/ace-app-bolts-ui/.vscode/settings.json +27 -0
  14. package/ace-app-bolts-ui/folder-alias.json +1 -0
  15. package/ace-app-bolts-ui/package.json +76 -0
  16. package/ace-app-bolts-ui/src/api/apiCache.ts +26 -0
  17. package/ace-app-bolts-ui/src/api/appService/aceInstall.ts +29 -0
  18. package/ace-app-bolts-ui/src/api/appService/appAdmin.ts +58 -0
  19. package/ace-app-bolts-ui/src/api/appService/appInstance.ts +186 -0
  20. package/ace-app-bolts-ui/src/api/appService/appMessage.ts +123 -0
  21. package/ace-app-bolts-ui/src/api/appService/appRoute.ts +128 -0
  22. package/ace-app-bolts-ui/src/api/appService/appService.ts +135 -0
  23. package/ace-app-bolts-ui/src/api/appService/appSetting.ts +163 -0
  24. package/ace-app-bolts-ui/src/api/appService/appSettingGroup.ts +129 -0
  25. package/ace-app-bolts-ui/src/api/appService/appliedPasswordPolicy.ts +77 -0
  26. package/ace-app-bolts-ui/src/api/appService/eventCompensation.ts +61 -0
  27. package/ace-app-bolts-ui/src/api/appService/externalApp.ts +209 -0
  28. package/ace-app-bolts-ui/src/api/auditService/auditLog.ts +63 -0
  29. package/ace-app-bolts-ui/src/api/bizFlow/flowComment.ts +76 -0
  30. package/ace-app-bolts-ui/src/api/bizFlow/flowDefinition.ts +321 -0
  31. package/ace-app-bolts-ui/src/api/bizFlow/taskQuery.ts +91 -0
  32. package/ace-app-bolts-ui/src/api/domainModel/aggregate.ts +107 -0
  33. package/ace-app-bolts-ui/src/api/domainModel/command.ts +257 -0
  34. package/ace-app-bolts-ui/src/api/domainModel/constraint.ts +101 -0
  35. package/ace-app-bolts-ui/src/api/domainModel/dataScope.ts +84 -0
  36. package/ace-app-bolts-ui/src/api/domainModel/dataSource.ts +194 -0
  37. package/ace-app-bolts-ui/src/api/domainModel/dto.ts +243 -0
  38. package/ace-app-bolts-ui/src/api/domainModel/dtoConstraint.ts +101 -0
  39. package/ace-app-bolts-ui/src/api/domainModel/entity.ts +207 -0
  40. package/ace-app-bolts-ui/src/api/domainModel/enum.ts +170 -0
  41. package/ace-app-bolts-ui/src/api/domainModel/indexDef.ts +82 -0
  42. package/ace-app-bolts-ui/src/api/domainModel/query.ts +292 -0
  43. package/ace-app-bolts-ui/src/api/domainModel/release.ts +97 -0
  44. package/ace-app-bolts-ui/src/api/fileService/fileConfiguration.ts +161 -0
  45. package/ace-app-bolts-ui/src/api/fileService/fileStorage.ts +165 -0
  46. package/ace-app-bolts-ui/src/api/fileService/files.ts +207 -0
  47. package/ace-app-bolts-ui/src/api/idGenService/leafSegment.ts +55 -0
  48. package/ace-app-bolts-ui/src/api/idGenService/stringIdTemplate.ts +170 -0
  49. package/ace-app-bolts-ui/src/api/orgService/customGroup.ts +73 -0
  50. package/ace-app-bolts-ui/src/api/orgService/department.ts +186 -0
  51. package/ace-app-bolts-ui/src/api/orgService/departmentAttrDef.ts +90 -0
  52. package/ace-app-bolts-ui/src/api/orgService/group.ts +249 -0
  53. package/ace-app-bolts-ui/src/api/orgService/realm.ts +70 -0
  54. package/ace-app-bolts-ui/src/api/orgService/resourceScope.ts +132 -0
  55. package/ace-app-bolts-ui/src/api/orgService/role.ts +145 -0
  56. package/ace-app-bolts-ui/src/api/orgService/roleCategory.ts +77 -0
  57. package/ace-app-bolts-ui/src/api/orgService/session.ts +74 -0
  58. package/ace-app-bolts-ui/src/api/orgService/user.ts +1187 -0
  59. package/ace-app-bolts-ui/src/api/orgService/userAttrDef.ts +86 -0
  60. package/ace-app-bolts-ui/src/api/orgService/userAvatar.ts +32 -0
  61. package/ace-app-bolts-ui/src/api/pushService/MessageTemplate.ts +109 -0
  62. package/ace-app-bolts-ui/src/api/pushService/MessengerTemplateMap.ts +68 -0
  63. package/ace-app-bolts-ui/src/api/pushService/channel.ts +109 -0
  64. package/ace-app-bolts-ui/src/api/pushService/messenger.ts +82 -0
  65. package/ace-app-bolts-ui/src/api/pushService/sockJs.ts +43 -0
  66. package/ace-app-bolts-ui/src/api/pushService/soketIo.ts +50 -0
  67. package/ace-app-bolts-ui/src/api/pushService/userSubscription.ts +62 -0
  68. package/ace-app-bolts-ui/src/global.ts +238 -0
  69. package/ace-app-bolts-ui/src/http/IAceAxios.ts +183 -0
  70. package/ace-app-bolts-ui/src/http/types.ts +154 -0
  71. package/ace-app-bolts-ui/src/http/useAxios.ts +42 -0
  72. package/ace-app-bolts-ui/src/http/useLoading.ts +18 -0
  73. package/ace-app-bolts-ui/src/index.ts +250 -0
  74. package/ace-app-bolts-ui/src/locales/i18nLoader.ts +42 -0
  75. package/ace-app-bolts-ui/src/locales/setupI18n.ts +77 -0
  76. package/ace-app-bolts-ui/src/locales/useLocale.ts +70 -0
  77. package/ace-app-bolts-ui/src/models/AppBridge.ts +68 -0
  78. package/ace-app-bolts-ui/src/models/EntityBase.ts +10 -0
  79. package/ace-app-bolts-ui/src/models/LinkTreeNodeAddParam.ts +9 -0
  80. package/ace-app-bolts-ui/src/models/Page.ts +49 -0
  81. package/ace-app-bolts-ui/src/models/PageModel.ts +30 -0
  82. package/ace-app-bolts-ui/src/models/ProjectedSortPathTreeNode.ts +21 -0
  83. package/ace-app-bolts-ui/src/models/ProjectedUser.ts +17 -0
  84. package/ace-app-bolts-ui/src/models/Roles.ts +223 -0
  85. package/ace-app-bolts-ui/src/models/SortPathTreeNode.ts +21 -0
  86. package/ace-app-bolts-ui/src/models/SortPathTreeNodeAddParam.ts +13 -0
  87. package/ace-app-bolts-ui/src/models/SysSetting.ts +35 -0
  88. package/ace-app-bolts-ui/src/models/SystemSetting.ts +0 -0
  89. package/ace-app-bolts-ui/src/models/appService/AceInstallInfo.ts +43 -0
  90. package/ace-app-bolts-ui/src/models/appService/AppAdmin.ts +71 -0
  91. package/ace-app-bolts-ui/src/models/appService/AppInstance.ts +210 -0
  92. package/ace-app-bolts-ui/src/models/appService/AppMessage.ts +64 -0
  93. package/ace-app-bolts-ui/src/models/appService/AppRouter.ts +121 -0
  94. package/ace-app-bolts-ui/src/models/appService/AppService.ts +113 -0
  95. package/ace-app-bolts-ui/src/models/appService/AppSettingGroup.ts +81 -0
  96. package/ace-app-bolts-ui/src/models/appService/AppSettings.ts +163 -0
  97. package/ace-app-bolts-ui/src/models/appService/AppliedPasswordPolicy.ts +87 -0
  98. package/ace-app-bolts-ui/src/models/appService/ExternalApp.ts +272 -0
  99. package/ace-app-bolts-ui/src/models/appService/FailedEvent.ts +85 -0
  100. package/ace-app-bolts-ui/src/models/auditService/Audit.ts +160 -0
  101. package/ace-app-bolts-ui/src/models/bizFlow/CandidateNode.ts +43 -0
  102. package/ace-app-bolts-ui/src/models/bizFlow/FlowCommentDto.ts +45 -0
  103. package/ace-app-bolts-ui/src/models/bizFlow/FlowDefinitionDto.ts +80 -0
  104. package/ace-app-bolts-ui/src/models/bizFlow/FlowInstanceDto.ts +84 -0
  105. package/ace-app-bolts-ui/src/models/bizFlow/FlowProcessRequest.ts +80 -0
  106. package/ace-app-bolts-ui/src/models/bizFlow/FlowVariableValueDto.ts +21 -0
  107. package/ace-app-bolts-ui/src/models/bizFlow/NodeInstanceDto.ts +56 -0
  108. package/ace-app-bolts-ui/src/models/bizFlow/NodeLinkDto.ts +29 -0
  109. package/ace-app-bolts-ui/src/models/bizFlow/ProjectedFlowDefinitionDto.ts +62 -0
  110. package/ace-app-bolts-ui/src/models/bizFlow/ReplyCommentCommand.ts +47 -0
  111. package/ace-app-bolts-ui/src/models/bizFlow/SearchFlowDefinitionDto.ts +29 -0
  112. package/ace-app-bolts-ui/src/models/bizFlow/TaskInstanceDto.ts +57 -0
  113. package/ace-app-bolts-ui/src/models/bizFlow/definition/AbstractNode.ts +37 -0
  114. package/ace-app-bolts-ui/src/models/bizFlow/definition/CancelCheckoutFlowDefinitionCommand.ts +18 -0
  115. package/ace-app-bolts-ui/src/models/bizFlow/definition/CheckinFlowDefinitionCommand.ts +26 -0
  116. package/ace-app-bolts-ui/src/models/bizFlow/definition/CheckoutFlowDefinitionCommand.ts +18 -0
  117. package/ace-app-bolts-ui/src/models/bizFlow/definition/CreateFlowDefinitionCommand.ts +58 -0
  118. package/ace-app-bolts-ui/src/models/bizFlow/definition/DeleteWorkflowDefinitionCommand.ts +18 -0
  119. package/ace-app-bolts-ui/src/models/bizFlow/definition/EndNode.ts +24 -0
  120. package/ace-app-bolts-ui/src/models/bizFlow/definition/Flow.ts +95 -0
  121. package/ace-app-bolts-ui/src/models/bizFlow/definition/ForwardCriteria.ts +24 -0
  122. package/ace-app-bolts-ui/src/models/bizFlow/definition/Link.ts +40 -0
  123. package/ace-app-bolts-ui/src/models/bizFlow/definition/StartNode.ts +82 -0
  124. package/ace-app-bolts-ui/src/models/bizFlow/definition/TaskNode.ts +180 -0
  125. package/ace-app-bolts-ui/src/models/bizFlow/definition/UpdateFlowModelCommand.ts +28 -0
  126. package/ace-app-bolts-ui/src/models/bizFlow/definition/Variable.ts +33 -0
  127. package/ace-app-bolts-ui/src/models/bizFlow/definition/index.ts +24 -0
  128. package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BaseParty.ts +20 -0
  129. package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyAll.ts +16 -0
  130. package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyByGroup.ts +23 -0
  131. package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyByUserAttribute.ts +29 -0
  132. package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyCustomFilter.ts +20 -0
  133. package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyDeptSpecifiedByVariable.ts +20 -0
  134. package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyEntityOfDeptSpecifiedByVariable.ts +20 -0
  135. package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyHasRole.ts +23 -0
  136. package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyInDept.ts +23 -0
  137. package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyInInitiatorDept.ts +16 -0
  138. package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyInInitiatorEntityDept.ts +16 -0
  139. package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyInitiator.ts +16 -0
  140. package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyOfElResult.ts +20 -0
  141. package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyOfPrevNode.ts +16 -0
  142. package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyOfPrevOwnerDept.ts +16 -0
  143. package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyOfPrevOwnerEntityDept.ts +16 -0
  144. package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyOfSpecificNode.ts +20 -0
  145. package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartySpecific.ts +23 -0
  146. package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartySpecificNodeDept.ts +20 -0
  147. package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartySpecificNodeEntityDept.ts +20 -0
  148. package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartySpecifiedByGroupVariable.ts +20 -0
  149. package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartySpecifiedByVariable.ts +20 -0
  150. package/ace-app-bolts-ui/src/models/bizFlow/definition/party/ConditionalParty.ts +29 -0
  151. package/ace-app-bolts-ui/src/models/bizFlow/definition/party/MergeParty.ts +25 -0
  152. package/ace-app-bolts-ui/src/models/bizFlow/definition/party/Party.ts +20 -0
  153. package/ace-app-bolts-ui/src/models/bizFlow/definition/party/index.ts +31 -0
  154. package/ace-app-bolts-ui/src/models/bizFlow/definition/rule/AbstractCompareRule.ts +28 -0
  155. package/ace-app-bolts-ui/src/models/bizFlow/definition/rule/AndOrRule.ts +28 -0
  156. package/ace-app-bolts-ui/src/models/bizFlow/definition/rule/BizRule.ts +20 -0
  157. package/ace-app-bolts-ui/src/models/bizFlow/definition/rule/ExpressionRule.ts +20 -0
  158. package/ace-app-bolts-ui/src/models/bizFlow/definition/rule/IsNullOrEmptyRule.ts +20 -0
  159. package/ace-app-bolts-ui/src/models/bizFlow/definition/rule/NotRule.ts +20 -0
  160. package/ace-app-bolts-ui/src/models/bizFlow/definition/rule/NumberCompareRule.ts +21 -0
  161. package/ace-app-bolts-ui/src/models/bizFlow/definition/rule/ReferencedRule.ts +20 -0
  162. package/ace-app-bolts-ui/src/models/bizFlow/definition/rule/StringCompareRule.ts +21 -0
  163. package/ace-app-bolts-ui/src/models/bizFlow/definition/rule/index.ts +15 -0
  164. package/ace-app-bolts-ui/src/models/bizFlow/enums.ts +219 -0
  165. package/ace-app-bolts-ui/src/models/bizFlow/index.ts +21 -0
  166. package/ace-app-bolts-ui/src/models/domainModel/index.ts +4145 -0
  167. package/ace-app-bolts-ui/src/models/expr/ExpressionBuilder.ts +654 -0
  168. package/ace-app-bolts-ui/src/models/expr/Interfaces.ts +1081 -0
  169. package/ace-app-bolts-ui/src/models/expr/impls/agg.ts +192 -0
  170. package/ace-app-bolts-ui/src/models/expr/impls/any.ts +92 -0
  171. package/ace-app-bolts-ui/src/models/expr/impls/base.ts +24 -0
  172. package/ace-app-bolts-ui/src/models/expr/impls/bool.ts +321 -0
  173. package/ace-app-bolts-ui/src/models/expr/impls/collection.ts +14 -0
  174. package/ace-app-bolts-ui/src/models/expr/impls/constant.ts +85 -0
  175. package/ace-app-bolts-ui/src/models/expr/impls/dateTime.ts +59 -0
  176. package/ace-app-bolts-ui/src/models/expr/impls/nullfun.ts +170 -0
  177. package/ace-app-bolts-ui/src/models/expr/impls/num.ts +75 -0
  178. package/ace-app-bolts-ui/src/models/expr/impls/path.ts +317 -0
  179. package/ace-app-bolts-ui/src/models/expr/impls/strfun.ts +112 -0
  180. package/ace-app-bolts-ui/src/models/expr/impls/subQuery.ts +211 -0
  181. package/ace-app-bolts-ui/src/models/expr/impls/when.ts +125 -0
  182. package/ace-app-bolts-ui/src/models/expr/mixins.ts +1946 -0
  183. package/ace-app-bolts-ui/src/models/expr/querySpecification.ts +136 -0
  184. package/ace-app-bolts-ui/src/models/fileService/index.ts +1060 -0
  185. package/ace-app-bolts-ui/src/models/idGenService/LeafSegment.ts +48 -0
  186. package/ace-app-bolts-ui/src/models/idGenService/StringIdTemplate.ts +199 -0
  187. package/ace-app-bolts-ui/src/models/orgService/CustomGroup.ts +62 -0
  188. package/ace-app-bolts-ui/src/models/orgService/Department.ts +125 -0
  189. package/ace-app-bolts-ui/src/models/orgService/DepartmentAttributeDef.ts +121 -0
  190. package/ace-app-bolts-ui/src/models/orgService/Group.ts +244 -0
  191. package/ace-app-bolts-ui/src/models/orgService/Realm.ts +34 -0
  192. package/ace-app-bolts-ui/src/models/orgService/Role.ts +284 -0
  193. package/ace-app-bolts-ui/src/models/orgService/Session.ts +33 -0
  194. package/ace-app-bolts-ui/src/models/orgService/User.ts +650 -0
  195. package/ace-app-bolts-ui/src/models/orgService/UserAttributeDef.ts +53 -0
  196. package/ace-app-bolts-ui/src/models/orgService/dsl.ts +254 -0
  197. package/ace-app-bolts-ui/src/models/pushService/Messenger.ts +519 -0
  198. package/ace-app-bolts-ui/src/settings/cacheSetting.ts +20 -0
  199. package/ace-app-bolts-ui/src/settings/localeSetting.ts +133 -0
  200. package/ace-app-bolts-ui/src/stores/index.ts +19 -0
  201. package/ace-app-bolts-ui/src/stores/loginUserStore.ts +35 -0
  202. package/ace-app-bolts-ui/src/stores/useEnums.ts +45 -0
  203. package/ace-app-bolts-ui/src/utils/LRUCache.ts +52 -0
  204. package/ace-app-bolts-ui/src/utils/cache/index.ts +50 -0
  205. package/ace-app-bolts-ui/src/utils/cache/storageCache.ts +124 -0
  206. package/ace-app-bolts-ui/src/utils/cipher.ts +81 -0
  207. package/ace-app-bolts-ui/src/utils/common.ts +13 -0
  208. package/ace-app-bolts-ui/src/utils/treeSort.ts +0 -0
  209. package/ace-app-bolts-ui/src/vite-env.d.ts +2 -0
  210. package/ace-app-bolts-ui/tsconfig.json +22 -0
  211. package/ace-app-bolts-ui/tsconfig.tsbuildinfo +1 -0
  212. package/ace-app-manager-ui/.env +5 -0
  213. package/ace-app-manager-ui/.env.development +1 -0
  214. package/ace-app-manager-ui/.env.production +1 -0
  215. package/ace-app-manager-ui/.eslintrc.cjs +48 -0
  216. package/ace-app-manager-ui/README.md +18 -0
  217. package/ace-app-manager-ui/auto-imports.d.ts +11 -0
  218. package/ace-app-manager-ui/components.d.ts +118 -0
  219. package/ace-app-manager-ui/customVitePlugin.d.ts +6 -0
  220. package/ace-app-manager-ui/customVitePlugin.js +37 -0
  221. package/ace-app-manager-ui/customVitePlugin.ts +44 -0
  222. package/ace-app-manager-ui/index.html +12 -0
  223. package/ace-app-manager-ui/jsconfig.json +19 -0
  224. package/ace-app-manager-ui/package.json +66 -0
  225. package/ace-app-manager-ui/src/App.vue +32 -0
  226. package/ace-app-manager-ui/src/assets/baseData/AppManageMenu.ts +284 -0
  227. package/ace-app-manager-ui/src/assets/baseData/GlobalManageMenu.ts +75 -0
  228. package/ace-app-manager-ui/src/assets/logo.png +0 -0
  229. package/ace-app-manager-ui/src/assets/scss/element/element-var.scss +1117 -0
  230. package/ace-app-manager-ui/src/assets/scss/element/index.scss +72 -0
  231. package/ace-app-manager-ui/src/assets/scss/normalize.scss +524 -0
  232. package/ace-app-manager-ui/src/assets/scss/vars.scss +12 -0
  233. package/ace-app-manager-ui/src/components/appSelector/Index.vue +23 -0
  234. package/ace-app-manager-ui/src/components/departmentPicker/index.ts +3 -0
  235. package/ace-app-manager-ui/src/components/departmentPicker/src/SinglePicker.vue +102 -0
  236. package/ace-app-manager-ui/src/components/departmentSelector/index.ts +4 -0
  237. package/ace-app-manager-ui/src/components/departmentSelector/src/SingleSelector.vue +123 -0
  238. package/ace-app-manager-ui/src/components/departmentSelector/src/consts.ts +2 -0
  239. package/ace-app-manager-ui/src/components/enumPicker/EnumPicker.vue +57 -0
  240. package/ace-app-manager-ui/src/components/fieldControl/index.ts +2 -0
  241. package/ace-app-manager-ui/src/components/fieldControl/src/FieldControl.vue +130 -0
  242. package/ace-app-manager-ui/src/components/header/ManageHeader.vue +43 -0
  243. package/ace-app-manager-ui/src/components/icon/JaIcon.vue +50 -0
  244. package/ace-app-manager-ui/src/components/icon/svg/SvgIcon.vue +56 -0
  245. package/ace-app-manager-ui/src/components/iconColorPicker/index.ts +7 -0
  246. package/ace-app-manager-ui/src/components/iconColorPicker/src/IconColorPicker.vue +104 -0
  247. package/ace-app-manager-ui/src/components/iconColorPicker/src/colorPicker/ColorPicker.vue +128 -0
  248. package/ace-app-manager-ui/src/components/iconColorPicker/src/colorPicker/baseData/colors.ts +155 -0
  249. package/ace-app-manager-ui/src/components/iconColorPicker/src/iconPicker/IconPicker.vue +221 -0
  250. package/ace-app-manager-ui/src/components/iconColorPicker/src/iconPicker/baseData/icons.json +1364 -0
  251. package/ace-app-manager-ui/src/components/multipleSelector/MultipleSelector.vue +136 -0
  252. package/ace-app-manager-ui/src/components/pages/AppEnter.vue +358 -0
  253. package/ace-app-manager-ui/src/components/pages/PageEnter.vue +227 -0
  254. package/ace-app-manager-ui/src/components/pages/components/topBar.vue +93 -0
  255. package/ace-app-manager-ui/src/components/realmPicker/index.ts +3 -0
  256. package/ace-app-manager-ui/src/components/realmPicker/src/RealmPicker.vue +194 -0
  257. package/ace-app-manager-ui/src/components/realmPicker/src/components/RealmEditor.vue +149 -0
  258. package/ace-app-manager-ui/src/components/roleSelector/index.ts +3 -0
  259. package/ace-app-manager-ui/src/components/roleSelector/src/RoleMultiSelector.vue +194 -0
  260. package/ace-app-manager-ui/src/components/settingValueEditor/ValueEditor.vue +180 -0
  261. package/ace-app-manager-ui/src/components/subPage/index.ts +3 -0
  262. package/ace-app-manager-ui/src/components/subPage/src/SubPage.vue +90 -0
  263. package/ace-app-manager-ui/src/components/userGroupSelector/index.ts +3 -0
  264. package/ace-app-manager-ui/src/components/userGroupSelector/src/UserGroupMultiSelector.vue +131 -0
  265. package/ace-app-manager-ui/src/hooks/useAppState.ts +31 -0
  266. package/ace-app-manager-ui/src/hooks/useDateFormats.ts +34 -0
  267. package/ace-app-manager-ui/src/hooks/usePageSize.ts +1 -0
  268. package/ace-app-manager-ui/src/hooks/useRealms.ts +27 -0
  269. package/ace-app-manager-ui/src/hooks/useUserQuery.ts +133 -0
  270. package/ace-app-manager-ui/src/init.ts +18 -0
  271. package/ace-app-manager-ui/src/locales/lang/en/common.json +3 -0
  272. package/ace-app-manager-ui/src/locales/lang/en/errors.json +42 -0
  273. package/ace-app-manager-ui/src/locales/lang/en.ts +14 -0
  274. package/ace-app-manager-ui/src/locales/lang/zh-CN/common.json +218 -0
  275. package/ace-app-manager-ui/src/locales/lang/zh-CN/errors.json +42 -0
  276. package/ace-app-manager-ui/src/locales/lang/zh-CN.ts +13 -0
  277. package/ace-app-manager-ui/src/locales/setupI18n.ts +14 -0
  278. package/ace-app-manager-ui/src/main.ts +114 -0
  279. package/ace-app-manager-ui/src/public-path.js +10 -0
  280. package/ace-app-manager-ui/src/router/index.ts +33 -0
  281. package/ace-app-manager-ui/src/router/modules/appRoutes.ts +24 -0
  282. package/ace-app-manager-ui/src/router/modules/demoRoutes.ts +22 -0
  283. package/ace-app-manager-ui/src/router/routes.ts +690 -0
  284. package/ace-app-manager-ui/src/stores/index.ts +3 -0
  285. package/ace-app-manager-ui/src/stores/modules/locale.ts +60 -0
  286. package/ace-app-manager-ui/src/stores/modules/system.ts +51 -0
  287. package/ace-app-manager-ui/src/types/ext.d.ts +13 -0
  288. package/ace-app-manager-ui/src/types/style.d.ts +7 -0
  289. package/ace-app-manager-ui/src/types/window.d.ts +24 -0
  290. package/ace-app-manager-ui/src/utils/index.ts +7 -0
  291. package/ace-app-manager-ui/src/utils/vxeTable.ts +58 -0
  292. package/ace-app-manager-ui/src/vars.scss +12 -0
  293. package/ace-app-manager-ui/src/views/appManage/AppManage.vue +266 -0
  294. package/ace-app-manager-ui/src/views/appManage/appInfo/AppInfo.vue +309 -0
  295. package/ace-app-manager-ui/src/views/appManage/appRelease/AppRelease.vue +181 -0
  296. package/ace-app-manager-ui/src/views/appManage/appRelease/components/Editor.vue +253 -0
  297. package/ace-app-manager-ui/src/views/appManage/appRouter/AppRouter.vue +381 -0
  298. package/ace-app-manager-ui/src/views/appManage/appRouter/base/index.ts +204 -0
  299. package/ace-app-manager-ui/src/views/appManage/appRouter/components/Editor.vue +368 -0
  300. package/ace-app-manager-ui/src/views/appManage/appRouter/components/MenuSelector.vue +12 -0
  301. package/ace-app-manager-ui/src/views/appManage/assignAppAdmin/AssignAppAdmin.vue +231 -0
  302. package/ace-app-manager-ui/src/views/appManage/assignAppAdmin/components/Editor.vue +135 -0
  303. package/ace-app-manager-ui/src/views/appManage/commandDefine/Index.vue +53 -0
  304. package/ace-app-manager-ui/src/views/appManage/commandDefine/components/CommandEditor.vue +209 -0
  305. package/ace-app-manager-ui/src/views/appManage/commandDefine/components/CommandParamEditor.vue +246 -0
  306. package/ace-app-manager-ui/src/views/appManage/commandDefine/components/ConstraintsEditor.vue +239 -0
  307. package/ace-app-manager-ui/src/views/appManage/commandDefine/components/CreateEntityOperationsEditor.vue +90 -0
  308. package/ace-app-manager-ui/src/views/appManage/commandDefine/components/LeftPanel.vue +282 -0
  309. package/ace-app-manager-ui/src/views/appManage/commandDefine/components/RightPanel.vue +249 -0
  310. package/ace-app-manager-ui/src/views/appManage/components/AppManageLayout.vue +94 -0
  311. package/ace-app-manager-ui/src/views/appManage/components/GlobalUserGroupSingleSelector.vue +124 -0
  312. package/ace-app-manager-ui/src/views/appManage/components/SelectRealmForApp.vue +59 -0
  313. package/ace-app-manager-ui/src/views/appManage/components/ServiceSelector.vue +34 -0
  314. package/ace-app-manager-ui/src/views/appManage/components/SubMenu.vue +32 -0
  315. package/ace-app-manager-ui/src/views/appManage/components/UserGroupAuthSFC.vue +453 -0
  316. package/ace-app-manager-ui/src/views/appManage/components/UserGroupSingleSelector.vue +115 -0
  317. package/ace-app-manager-ui/src/views/appManage/configDefine/ConfigDefine.vue +392 -0
  318. package/ace-app-manager-ui/src/views/appManage/configDefine/GroupEditor.vue +133 -0
  319. package/ace-app-manager-ui/src/views/appManage/configDefine/SettingEditor.vue +231 -0
  320. package/ace-app-manager-ui/src/views/appManage/dataSourceDefine/DataSourceDefine.vue +198 -0
  321. package/ace-app-manager-ui/src/views/appManage/dataSourceDefine/createNewDidalog.vue +177 -0
  322. package/ace-app-manager-ui/src/views/appManage/dataSourceDefine/editDialog.vue +137 -0
  323. package/ace-app-manager-ui/src/views/appManage/digitalSequence/DigitalSequence.vue +163 -0
  324. package/ace-app-manager-ui/src/views/appManage/dtoDefine/AppendEntityPropToDtoDlg.vue +351 -0
  325. package/ace-app-manager-ui/src/views/appManage/dtoDefine/CreateDtoPropFromEntityPropEditor.vue +516 -0
  326. package/ace-app-manager-ui/src/views/appManage/dtoDefine/CreateFromEntityEditor.vue +217 -0
  327. package/ace-app-manager-ui/src/views/appManage/dtoDefine/DtoDefine.vue +77 -0
  328. package/ace-app-manager-ui/src/views/appManage/dtoDefine/components/DtoEditor.vue +144 -0
  329. package/ace-app-manager-ui/src/views/appManage/dtoDefine/components/LeftPanel.vue +283 -0
  330. package/ace-app-manager-ui/src/views/appManage/dtoDefine/components/PropertyEditor.vue +586 -0
  331. package/ace-app-manager-ui/src/views/appManage/dtoDefine/components/RightPanel.vue +574 -0
  332. package/ace-app-manager-ui/src/views/appManage/dtoDefine/components/uilts.ts +108 -0
  333. package/ace-app-manager-ui/src/views/appManage/dtoDefine/types.ts +42 -0
  334. package/ace-app-manager-ui/src/views/appManage/entityDefine/EntityDefine.vue +80 -0
  335. package/ace-app-manager-ui/src/views/appManage/entityDefine/components/AggregateEditor.vue +93 -0
  336. package/ace-app-manager-ui/src/views/appManage/entityDefine/components/EntityEditor.vue +281 -0
  337. package/ace-app-manager-ui/src/views/appManage/entityDefine/components/ImportEditor.vue +329 -0
  338. package/ace-app-manager-ui/src/views/appManage/entityDefine/components/IndexDefinitionEditor.vue +424 -0
  339. package/ace-app-manager-ui/src/views/appManage/entityDefine/components/LeftPanel.vue +343 -0
  340. package/ace-app-manager-ui/src/views/appManage/entityDefine/components/MonacoEditor.vue +1659 -0
  341. package/ace-app-manager-ui/src/views/appManage/entityDefine/components/PropertyEditor.vue +956 -0
  342. package/ace-app-manager-ui/src/views/appManage/entityDefine/components/RightPanel.vue +660 -0
  343. package/ace-app-manager-ui/src/views/appManage/entityDefine/components/monacoEditorType.ts +74 -0
  344. package/ace-app-manager-ui/src/views/appManage/entityDefine/uilts.ts +108 -0
  345. package/ace-app-manager-ui/src/views/appManage/enumDefine/EnumDefine.vue +169 -0
  346. package/ace-app-manager-ui/src/views/appManage/enumDefine/editDialog.vue +266 -0
  347. package/ace-app-manager-ui/src/views/appManage/extendedDepartmentAttr/ExtendedDepartmentAttr.vue +272 -0
  348. package/ace-app-manager-ui/src/views/appManage/extendedDepartmentAttr/components/Editor.vue +267 -0
  349. package/ace-app-manager-ui/src/views/appManage/extendedUserAttr/ExtendedUserAttr.vue +270 -0
  350. package/ace-app-manager-ui/src/views/appManage/extendedUserAttr/components/Editor.vue +291 -0
  351. package/ace-app-manager-ui/src/views/appManage/globalUserGroupAuth/GlobalUserGroupAuth.vue +18 -0
  352. package/ace-app-manager-ui/src/views/appManage/i18nDefine/BundleEditor.vue +77 -0
  353. package/ace-app-manager-ui/src/views/appManage/i18nDefine/Editor.vue +78 -0
  354. package/ace-app-manager-ui/src/views/appManage/i18nDefine/I18nDefine.vue +173 -0
  355. package/ace-app-manager-ui/src/views/appManage/messageTemplate/Editor.vue +191 -0
  356. package/ace-app-manager-ui/src/views/appManage/messageTemplate/MessageTemplate.vue +142 -0
  357. package/ace-app-manager-ui/src/views/appManage/numberTemplate/NumberTemplate.vue +166 -0
  358. package/ace-app-manager-ui/src/views/appManage/numberTemplate/components/Editor.vue +373 -0
  359. package/ace-app-manager-ui/src/views/appManage/processDefinition/Editor.vue +168 -0
  360. package/ace-app-manager-ui/src/views/appManage/processDefinition/ProcessDefinition.vue +362 -0
  361. package/ace-app-manager-ui/src/views/appManage/queryDefine/Index.vue +52 -0
  362. package/ace-app-manager-ui/src/views/appManage/queryDefine/components/ConstraintsEditor.vue +239 -0
  363. package/ace-app-manager-ui/src/views/appManage/queryDefine/components/JpqlEditor.vue +229 -0
  364. package/ace-app-manager-ui/src/views/appManage/queryDefine/components/LeftPanel.vue +282 -0
  365. package/ace-app-manager-ui/src/views/appManage/queryDefine/components/QueryEditor.vue +294 -0
  366. package/ace-app-manager-ui/src/views/appManage/queryDefine/components/QueryParamEditor.vue +253 -0
  367. package/ace-app-manager-ui/src/views/appManage/queryDefine/components/RightPanel.vue +247 -0
  368. package/ace-app-manager-ui/src/views/appManage/registerMessenger/Editor.vue +108 -0
  369. package/ace-app-manager-ui/src/views/appManage/registerMessenger/RegisterMessenger.vue +127 -0
  370. package/ace-app-manager-ui/src/views/appManage/registerPassageway/Editor.vue +117 -0
  371. package/ace-app-manager-ui/src/views/appManage/registerPassageway/RegisterPassageway.vue +150 -0
  372. package/ace-app-manager-ui/src/views/appManage/registerUpload/RegisterUpload.vue +267 -0
  373. package/ace-app-manager-ui/src/views/appManage/registerUpload/components/Editor.vue +425 -0
  374. package/ace-app-manager-ui/src/views/appManage/registerUpload/components/QuotaEditor.vue +202 -0
  375. package/ace-app-manager-ui/src/views/appManage/registerUpload/components/WebHookEditor.vue +174 -0
  376. package/ace-app-manager-ui/src/views/appManage/reverseAuth/ReverseAuth.vue +620 -0
  377. package/ace-app-manager-ui/src/views/appManage/reverseAuth/components/AddRoleUserDialog.vue +59 -0
  378. package/ace-app-manager-ui/src/views/appManage/reverseAuth/types.d.ts +7 -0
  379. package/ace-app-manager-ui/src/views/appManage/roleDefine/RoleDefine.vue +272 -0
  380. package/ace-app-manager-ui/src/views/appManage/roleDefine/components/CompositeRole.vue +195 -0
  381. package/ace-app-manager-ui/src/views/appManage/roleDefine/components/RoleEditor.vue +161 -0
  382. package/ace-app-manager-ui/src/views/appManage/roleDefine/components/RoleSelector.vue +135 -0
  383. package/ace-app-manager-ui/src/views/appManage/serviceManage/AppServiceManage.vue +204 -0
  384. package/ace-app-manager-ui/src/views/appManage/serviceManage/components/Editor.vue +153 -0
  385. package/ace-app-manager-ui/src/views/appManage/thirdPartyAppAuth/ThirdPartyAppAuth.vue +178 -0
  386. package/ace-app-manager-ui/src/views/appManage/types.ts +1 -0
  387. package/ace-app-manager-ui/src/views/appManage/userAuth/UserAuth.vue +668 -0
  388. package/ace-app-manager-ui/src/views/appManage/userGroupAuth/UserGroupAuth.vue +18 -0
  389. package/ace-app-manager-ui/src/views/appManage/userGroupManage/UserGroupManage.vue +326 -0
  390. package/ace-app-manager-ui/src/views/appManage/userGroupManage/components/Editor.vue +217 -0
  391. package/ace-app-manager-ui/src/views/appManage/userGroupManage/components/MemberUsers.vue +101 -0
  392. package/ace-app-manager-ui/src/views/demo/enumPicker/Index.vue +94 -0
  393. package/ace-app-manager-ui/src/views/demo/enumPicker/components/enumPicker/index.ts +1 -0
  394. package/ace-app-manager-ui/src/views/demo/enumPicker/components/enumPicker/src/EnumPicker.vue +103 -0
  395. package/ace-app-manager-ui/src/views/globalManage/GlobalManage.vue +150 -0
  396. package/ace-app-manager-ui/src/views/globalManage/aboutPlatform/AboutPlatform.vue +7 -0
  397. package/ace-app-manager-ui/src/views/globalManage/auditLogsManage/AuditLogDetail.vue +127 -0
  398. package/ace-app-manager-ui/src/views/globalManage/auditLogsManage/AuditLogsManage.vue +387 -0
  399. package/ace-app-manager-ui/src/views/globalManage/components/ExtendedAttrRender.vue +311 -0
  400. package/ace-app-manager-ui/src/views/globalManage/departmentManage/DepartmentManage.vue +336 -0
  401. package/ace-app-manager-ui/src/views/globalManage/departmentManage/RecycleBin.vue +127 -0
  402. package/ace-app-manager-ui/src/views/globalManage/departmentManage/components/DefaultGroupEditor.vue +191 -0
  403. package/ace-app-manager-ui/src/views/globalManage/departmentManage/components/Editor.vue +164 -0
  404. package/ace-app-manager-ui/src/views/globalManage/eventCompensate/Index.vue +189 -0
  405. package/ace-app-manager-ui/src/views/globalManage/externalAppManage/ExternalAppManage.vue +305 -0
  406. package/ace-app-manager-ui/src/views/globalManage/externalAppManage/components/Editor.vue +227 -0
  407. package/ace-app-manager-ui/src/views/globalManage/externalAppManage/components/RenewSecret.vue +91 -0
  408. package/ace-app-manager-ui/src/views/globalManage/globalSetting/Editor.vue +177 -0
  409. package/ace-app-manager-ui/src/views/globalManage/globalSetting/GlobalSettingManage.vue +201 -0
  410. package/ace-app-manager-ui/src/views/globalManage/globalSetting/types.ts +14 -0
  411. package/ace-app-manager-ui/src/views/globalManage/passwordManage/PasswordManage.vue +224 -0
  412. package/ace-app-manager-ui/src/views/globalManage/passwordManage/ValueEditor.vue +92 -0
  413. package/ace-app-manager-ui/src/views/globalManage/sessionManage/SessionManage.vue +251 -0
  414. package/ace-app-manager-ui/src/views/globalManage/userGroupManage/UserGroupManage.vue +332 -0
  415. package/ace-app-manager-ui/src/views/globalManage/userGroupManage/components/Editor.vue +160 -0
  416. package/ace-app-manager-ui/src/views/globalManage/userGroupManage/components/MemberUsers.vue +100 -0
  417. package/ace-app-manager-ui/src/views/globalManage/userManage/RecycleBin.vue +344 -0
  418. package/ace-app-manager-ui/src/views/globalManage/userManage/UserManage.vue +631 -0
  419. package/ace-app-manager-ui/src/views/globalManage/userManage/components/AttributeEditor.vue +191 -0
  420. package/ace-app-manager-ui/src/views/globalManage/userManage/components/ClassifiedLevelEditor.vue +79 -0
  421. package/ace-app-manager-ui/src/views/globalManage/userManage/components/DepartmentEditor.vue +70 -0
  422. package/ace-app-manager-ui/src/views/globalManage/userManage/components/Editor.vue +475 -0
  423. package/ace-app-manager-ui/src/views/globalManage/userManage/components/ExpirationEditor.vue +82 -0
  424. package/ace-app-manager-ui/src/views/globalManage/userManage/components/MaxSessionEditor.vue +76 -0
  425. package/ace-app-manager-ui/src/views/globalManage/userManage/components/PasswordEditor.vue +107 -0
  426. package/ace-app-manager-ui/src/views/home/Index.vue +457 -0
  427. package/ace-app-manager-ui/src/views/home/components/AppEditor.vue +208 -0
  428. package/ace-app-manager-ui/src/views/home/components/AppManage.vue +252 -0
  429. package/ace-app-manager-ui/src/views/home/components/FileRepositoryEditor.vue +292 -0
  430. package/ace-app-manager-ui/src/views/home/components/FileRepositoryManage.vue +246 -0
  431. package/ace-app-manager-ui/src/vite-env.d.ts +4 -0
  432. package/ace-app-manager-ui/tsconfig.json +41 -0
  433. package/ace-app-manager-ui/tsconfig.node.json +15 -0
  434. package/ace-app-manager-ui/tsconfig.node.tsbuildinfo +1 -0
  435. package/ace-app-manager-ui/vite.config.d.ts +2 -0
  436. package/ace-app-manager-ui/vite.config.js +112 -0
  437. package/ace-app-manager-ui/vite.config.ts +116 -0
  438. package/ace-app-manager-ui/vue-image-crop-upload.d.ts +1 -0
  439. package/ace-cloud-shell-ui/.env +2 -0
  440. package/ace-cloud-shell-ui/.env.development +5 -0
  441. package/ace-cloud-shell-ui/.env.production +1 -0
  442. package/ace-cloud-shell-ui/.eslintrc.js +33 -0
  443. package/ace-cloud-shell-ui/.vscode/extensions.json +6 -0
  444. package/ace-cloud-shell-ui/.vscode/settings.json +27 -0
  445. package/ace-cloud-shell-ui/auto-imports.d.ts +9 -0
  446. package/ace-cloud-shell-ui/components.d.ts +58 -0
  447. package/ace-cloud-shell-ui/doc/issue.md +6 -0
  448. package/ace-cloud-shell-ui/index.html +19 -0
  449. package/ace-cloud-shell-ui/package.json +72 -0
  450. package/ace-cloud-shell-ui/public/res/build/shell/favicon.ico +0 -0
  451. package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/.keep +0 -0
  452. package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/index.html +156 -0
  453. package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.css +2583 -0
  454. package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.eot +0 -0
  455. package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.glyph.json +1 -0
  456. package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.less +2585 -0
  457. package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.module.less +2567 -0
  458. package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.scss +5103 -0
  459. package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.styl +2554 -0
  460. package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.svg +7633 -0
  461. package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.symbol.svg +11 -0
  462. package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.ttf +0 -0
  463. package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.woff +0 -0
  464. package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.woff2 +0 -0
  465. package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/symbol.html +17913 -0
  466. package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/tags.json +1364 -0
  467. package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/unicode.html +175 -0
  468. package/ace-cloud-shell-ui/public/res/build/shell/images/hidden-right-sidebar.png +0 -0
  469. package/ace-cloud-shell-ui/public/res/build/shell/images/icon/deliver.svg +1 -0
  470. package/ace-cloud-shell-ui/public/res/build/shell/images/icon/logout.svg +28 -0
  471. package/ace-cloud-shell-ui/public/res/build/shell/images/jari-logo-2.png +0 -0
  472. package/ace-cloud-shell-ui/public/res/build/shell/images/jari-logo.png +0 -0
  473. package/ace-cloud-shell-ui/public/res/build/shell/images/public-code.png +0 -0
  474. package/ace-cloud-shell-ui/public/res/build/shell/images/show-right-sidebar.png +0 -0
  475. package/ace-cloud-shell-ui/public/res/build/shell/images/svg/shezhi.svg +11 -0
  476. package/ace-cloud-shell-ui/public/res/build/shell/images/svg/tuichu.svg +13 -0
  477. package/ace-cloud-shell-ui/public/res/build/shell/images/svg/xiaoxi.svg +13 -0
  478. package/ace-cloud-shell-ui/src/App.vue +24 -0
  479. package/ace-cloud-shell-ui/src/assets/base.css +80 -0
  480. package/ace-cloud-shell-ui/src/assets/element/index.scss +13 -0
  481. package/ace-cloud-shell-ui/src/assets/element/var.scss +1123 -0
  482. package/ace-cloud-shell-ui/src/assets/logo.svg +7 -0
  483. package/ace-cloud-shell-ui/src/assets/main.scss +128 -0
  484. package/ace-cloud-shell-ui/src/env.d.ts +14 -0
  485. package/ace-cloud-shell-ui/src/hooks/useSockJs.ts +146 -0
  486. package/ace-cloud-shell-ui/src/init.ts +21 -0
  487. package/ace-cloud-shell-ui/src/layout/Main.vue +160 -0
  488. package/ace-cloud-shell-ui/src/layout/components/AppMenu.vue +329 -0
  489. package/ace-cloud-shell-ui/src/layout/components/Fillet.vue +105 -0
  490. package/ace-cloud-shell-ui/src/layout/components/Sidebar.vue +194 -0
  491. package/ace-cloud-shell-ui/src/locales/lang/en/common.json +17 -0
  492. package/ace-cloud-shell-ui/src/locales/lang/en/errors.json +42 -0
  493. package/ace-cloud-shell-ui/src/locales/lang/en/layout.json +8 -0
  494. package/ace-cloud-shell-ui/src/locales/lang/en/updatePsw.json +9 -0
  495. package/ace-cloud-shell-ui/src/locales/lang/en/userProfile.json +3 -0
  496. package/ace-cloud-shell-ui/src/locales/lang/en.ts +14 -0
  497. package/ace-cloud-shell-ui/src/locales/lang/zh-CN/common.json +17 -0
  498. package/ace-cloud-shell-ui/src/locales/lang/zh-CN/errors.json +42 -0
  499. package/ace-cloud-shell-ui/src/locales/lang/zh-CN/layout.json +8 -0
  500. package/ace-cloud-shell-ui/src/locales/lang/zh-CN/updatePsw.json +9 -0
  501. package/ace-cloud-shell-ui/src/locales/lang/zh-CN/userProfile.json +3 -0
  502. package/ace-cloud-shell-ui/src/locales/lang/zh-CN.ts +14 -0
  503. package/ace-cloud-shell-ui/src/locales/setupI18n.ts +14 -0
  504. package/ace-cloud-shell-ui/src/main.ts +130 -0
  505. package/ace-cloud-shell-ui/src/router/index.ts +107 -0
  506. package/ace-cloud-shell-ui/src/shims-vue.d.ts +21 -0
  507. package/ace-cloud-shell-ui/src/stores/modules/accessibleApps.ts +149 -0
  508. package/ace-cloud-shell-ui/src/stores/modules/app.ts +147 -0
  509. package/ace-cloud-shell-ui/src/stores/modules/appContext.ts +53 -0
  510. package/ace-cloud-shell-ui/src/stores/modules/locale.ts +63 -0
  511. package/ace-cloud-shell-ui/src/stores/modules/oidc.ts +71 -0
  512. package/ace-cloud-shell-ui/src/stores/modules/system.ts +32 -0
  513. package/ace-cloud-shell-ui/src/types/ext.d.ts +35 -0
  514. package/ace-cloud-shell-ui/src/types/router.d.ts +12 -0
  515. package/ace-cloud-shell-ui/src/types/window.d.ts +15 -0
  516. package/ace-cloud-shell-ui/src/utils/axios/AceAxios.ts +657 -0
  517. package/ace-cloud-shell-ui/src/utils/axios/cache.ts +11 -0
  518. package/ace-cloud-shell-ui/src/utils/axios/index.ts +37 -0
  519. package/ace-cloud-shell-ui/src/utils/microApp/index.ts +6 -0
  520. package/ace-cloud-shell-ui/src/views/AboutView.vue +140 -0
  521. package/ace-cloud-shell-ui/src/views/DlgUpdatePassword.vue +120 -0
  522. package/ace-cloud-shell-ui/src/views/ExtendedAttrRender.vue +311 -0
  523. package/ace-cloud-shell-ui/src/views/MicroApp.vue +234 -0
  524. package/ace-cloud-shell-ui/src/views/UserProfileEditor.vue +303 -0
  525. package/ace-cloud-shell-ui/src/views/WorkBench.vue +10 -0
  526. package/ace-cloud-shell-ui/src/views/errors/HttpState404.vue +136 -0
  527. package/ace-cloud-shell-ui/src/views/errors/NoAppAvailable.vue +16 -0
  528. package/ace-cloud-shell-ui/src/vite-env.d.ts +3 -0
  529. package/ace-cloud-shell-ui/tsconfig.app.json +33 -0
  530. package/ace-cloud-shell-ui/tsconfig.app.tsbuildinfo +1 -0
  531. package/ace-cloud-shell-ui/tsconfig.config.json +23 -0
  532. package/ace-cloud-shell-ui/tsconfig.config.tsbuildinfo +1 -0
  533. package/ace-cloud-shell-ui/tsconfig.json +11 -0
  534. package/ace-cloud-shell-ui/vbuild/vite/proxy.ts +46 -0
  535. package/ace-cloud-shell-ui/vite.config.ts +119 -0
  536. package/ace-cloud-shell-ui/vue-image-crop-upload.d.ts +1 -0
  537. package/ace-element-plus-component/.babelrc +8 -0
  538. package/ace-element-plus-component/.env +1 -0
  539. package/ace-element-plus-component/.env.development +3 -0
  540. package/ace-element-plus-component/.env.production +1 -0
  541. package/ace-element-plus-component/.vscode/extensions.json +3 -0
  542. package/ace-element-plus-component/CHANGE.md +16 -0
  543. package/ace-element-plus-component/README.md +1 -0
  544. package/ace-element-plus-component/index.html +14 -0
  545. package/ace-element-plus-component/index.ts +20 -0
  546. package/ace-element-plus-component/package.json +72 -0
  547. package/ace-element-plus-component/packages/components/autoComplete/JaAutoComplete.vue +57 -0
  548. package/ace-element-plus-component/packages/components/autoComplete/README.md +35 -0
  549. package/ace-element-plus-component/packages/components/autoComplete/index.ts +5 -0
  550. package/ace-element-plus-component/packages/components/avatar/JaAvatar.vue +137 -0
  551. package/ace-element-plus-component/packages/components/avatar/README.md +45 -0
  552. package/ace-element-plus-component/packages/components/avatar/avatarToken.ts +11 -0
  553. package/ace-element-plus-component/packages/components/avatar/defaultImg.ts +14 -0
  554. package/ace-element-plus-component/packages/components/avatar/index.ts +7 -0
  555. package/ace-element-plus-component/packages/components/button/JaButton.vue +76 -0
  556. package/ace-element-plus-component/packages/components/button/README.md +57 -0
  557. package/ace-element-plus-component/packages/components/button/index.ts +4 -0
  558. package/ace-element-plus-component/packages/components/channelPicker/index.ts +7 -0
  559. package/ace-element-plus-component/packages/components/channelPicker/src/ChannelPicker.vue +43 -0
  560. package/ace-element-plus-component/packages/components/channelPicker/src/JaChannelPicker.vue +42 -0
  561. package/ace-element-plus-component/packages/components/checkbox/JaCheckbox.vue +63 -0
  562. package/ace-element-plus-component/packages/components/checkbox/README.md +21 -0
  563. package/ace-element-plus-component/packages/components/checkbox/index.ts +4 -0
  564. package/ace-element-plus-component/packages/components/checkboxGroup/JaCheckboxGroup.vue +56 -0
  565. package/ace-element-plus-component/packages/components/checkboxGroup/README.md +24 -0
  566. package/ace-element-plus-component/packages/components/checkboxGroup/index.ts +4 -0
  567. package/ace-element-plus-component/packages/components/customGroupTree/index.ts +10 -0
  568. package/ace-element-plus-component/packages/components/customGroupTree/src/customGroupTree.vue +91 -0
  569. package/ace-element-plus-component/packages/components/datePicker/JaDatePicker.vue +65 -0
  570. package/ace-element-plus-component/packages/components/datePicker/README.md +21 -0
  571. package/ace-element-plus-component/packages/components/datePicker/index.ts +4 -0
  572. package/ace-element-plus-component/packages/components/departmentPicker/index.ts +4 -0
  573. package/ace-element-plus-component/packages/components/departmentPicker/src/DepartmentPicker.vue +107 -0
  574. package/ace-element-plus-component/packages/components/departmentPicker/src/consts.ts +2 -0
  575. package/ace-element-plus-component/packages/components/departmentTree/index.ts +10 -0
  576. package/ace-element-plus-component/packages/components/departmentTree/src/departmentTree.vue +135 -0
  577. package/ace-element-plus-component/packages/components/dropdownButton/JaDropdownButton.vue +77 -0
  578. package/ace-element-plus-component/packages/components/dropdownButton/README.md +30 -0
  579. package/ace-element-plus-component/packages/components/dropdownButton/index.ts +4 -0
  580. package/ace-element-plus-component/packages/components/enumList/EnumListInput.vue +107 -0
  581. package/ace-element-plus-component/packages/components/enumList/JaEnumList.vue +39 -0
  582. package/ace-element-plus-component/packages/components/enumList/index.ts +7 -0
  583. package/ace-element-plus-component/packages/components/enumPicker/index.ts +5 -0
  584. package/ace-element-plus-component/packages/components/enumPicker/src/EnumPicker.vue +103 -0
  585. package/ace-element-plus-component/packages/components/flowShell/FlowFormShell.vue +628 -0
  586. package/ace-element-plus-component/packages/components/flowShell/index.ts +5 -0
  587. package/ace-element-plus-component/packages/components/form/JaForm.vue +186 -0
  588. package/ace-element-plus-component/packages/components/form/README.md +30 -0
  589. package/ace-element-plus-component/packages/components/form/index.ts +5 -0
  590. package/ace-element-plus-component/packages/components/form/types.ts +4 -0
  591. package/ace-element-plus-component/packages/components/formItem/JaFormItem.vue +123 -0
  592. package/ace-element-plus-component/packages/components/formItem/README.md +28 -0
  593. package/ace-element-plus-component/packages/components/formItem/index.ts +4 -0
  594. package/ace-element-plus-component/packages/components/index.ts +35 -0
  595. package/ace-element-plus-component/packages/components/input/JaInput.vue +107 -0
  596. package/ace-element-plus-component/packages/components/input/README.md +23 -0
  597. package/ace-element-plus-component/packages/components/input/index.ts +4 -0
  598. package/ace-element-plus-component/packages/components/inputI18n/I18nBundleEditor.vue +76 -0
  599. package/ace-element-plus-component/packages/components/inputI18n/InputI18n.vue +152 -0
  600. package/ace-element-plus-component/packages/components/inputI18n/JaInputI18n.vue +50 -0
  601. package/ace-element-plus-component/packages/components/inputI18n/index.ts +8 -0
  602. package/ace-element-plus-component/packages/components/inputNumber/JaInputNumber.vue +79 -0
  603. package/ace-element-plus-component/packages/components/inputNumber/README.md +21 -0
  604. package/ace-element-plus-component/packages/components/inputNumber/index.ts +4 -0
  605. package/ace-element-plus-component/packages/components/mapItemList/JaMapItemList.vue +35 -0
  606. package/ace-element-plus-component/packages/components/mapItemList/MapItemListInput.vue +191 -0
  607. package/ace-element-plus-component/packages/components/mapItemList/index.ts +7 -0
  608. package/ace-element-plus-component/packages/components/numberList/JaNumberList.vue +36 -0
  609. package/ace-element-plus-component/packages/components/numberList/NumberListInput.vue +111 -0
  610. package/ace-element-plus-component/packages/components/numberList/index.ts +7 -0
  611. package/ace-element-plus-component/packages/components/properyPicker/JaPropertyPicker.vue +38 -0
  612. package/ace-element-plus-component/packages/components/properyPicker/PropertyPicker.vue +310 -0
  613. package/ace-element-plus-component/packages/components/properyPicker/index.ts +7 -0
  614. package/ace-element-plus-component/packages/components/radioGroup/JaRadioGroup.vue +61 -0
  615. package/ace-element-plus-component/packages/components/radioGroup/README.md +24 -0
  616. package/ace-element-plus-component/packages/components/radioGroup/index.ts +4 -0
  617. package/ace-element-plus-component/packages/components/rolePicker/RoleCategorySelector.vue +154 -0
  618. package/ace-element-plus-component/packages/components/rolePicker/RoleEditor.vue +138 -0
  619. package/ace-element-plus-component/packages/components/rolePicker/RolePicker.vue +44 -0
  620. package/ace-element-plus-component/packages/components/rolePicker/RolePickerRaw.vue +56 -0
  621. package/ace-element-plus-component/packages/components/rolePicker/baseRolePicker.vue +84 -0
  622. package/ace-element-plus-component/packages/components/rolePicker/index.ts +13 -0
  623. package/ace-element-plus-component/packages/components/scrollbar/README.md +23 -0
  624. package/ace-element-plus-component/packages/components/scrollbar/Scrollbar.vue +100 -0
  625. package/ace-element-plus-component/packages/components/scrollbar/index.ts +5 -0
  626. package/ace-element-plus-component/packages/components/scrollbar/utils.ts +17 -0
  627. package/ace-element-plus-component/packages/components/select/JaSelect.vue +60 -0
  628. package/ace-element-plus-component/packages/components/select/README.md +24 -0
  629. package/ace-element-plus-component/packages/components/select/index.ts +4 -0
  630. package/ace-element-plus-component/packages/components/stringList/JaStringList.vue +36 -0
  631. package/ace-element-plus-component/packages/components/stringList/StringListInput.vue +96 -0
  632. package/ace-element-plus-component/packages/components/stringList/index.ts +7 -0
  633. package/ace-element-plus-component/packages/components/switch/JaSwitch.vue +61 -0
  634. package/ace-element-plus-component/packages/components/switch/README.md +21 -0
  635. package/ace-element-plus-component/packages/components/switch/index.ts +4 -0
  636. package/ace-element-plus-component/packages/components/timePicker/JaTimePicker.vue +65 -0
  637. package/ace-element-plus-component/packages/components/timePicker/README.md +21 -0
  638. package/ace-element-plus-component/packages/components/timePicker/index.ts +5 -0
  639. package/ace-element-plus-component/packages/components/tip/README.md +20 -0
  640. package/ace-element-plus-component/packages/components/tip/index.ts +4 -0
  641. package/ace-element-plus-component/packages/components/tip/src/AceTip.vue +51 -0
  642. package/ace-element-plus-component/packages/components/upload/FilePreviewer.vue +245 -0
  643. package/ace-element-plus-component/packages/components/upload/JaUploader.vue +72 -0
  644. package/ace-element-plus-component/packages/components/upload/README.md +24 -0
  645. package/ace-element-plus-component/packages/components/upload/index.ts +8 -0
  646. package/ace-element-plus-component/packages/components/upload/pdf-viewer/PdfViewerModal.vue +32 -0
  647. package/ace-element-plus-component/packages/components/upload/types.ts +4 -0
  648. package/ace-element-plus-component/packages/components/upload/uploader-locale-zh-cn.ts +223 -0
  649. package/ace-element-plus-component/packages/components/upload/uploader.vue +876 -0
  650. package/ace-element-plus-component/packages/components/userGroupPicker/index.ts +4 -0
  651. package/ace-element-plus-component/packages/components/userGroupPicker/src/UserGroupPicker.vue +94 -0
  652. package/ace-element-plus-component/packages/components/userGroupTree/index.ts +10 -0
  653. package/ace-element-plus-component/packages/components/userGroupTree/src/userGroupTree.vue +193 -0
  654. package/ace-element-plus-component/packages/components/userPicker/index.ts +10 -0
  655. package/ace-element-plus-component/packages/components/userPicker/src/CustomGroupManager.vue +189 -0
  656. package/ace-element-plus-component/packages/components/userPicker/src/JaUserList.vue +328 -0
  657. package/ace-element-plus-component/packages/components/userPicker/src/JaUserPicker.vue +40 -0
  658. package/ace-element-plus-component/packages/components/userPicker/src/UserPicker.vue +515 -0
  659. package/ace-element-plus-component/packages/components/userSelectDialog/index.ts +6 -0
  660. package/ace-element-plus-component/packages/components/userSelectDialog/src/userSelectDialog.vue +499 -0
  661. package/ace-element-plus-component/packages/components/userTag/UserInfoTag.vue +419 -0
  662. package/ace-element-plus-component/packages/components/userTag/index.ts +6 -0
  663. package/ace-element-plus-component/packages/components/userTag/sharedAxios.ts +8 -0
  664. package/ace-element-plus-component/packages/directives/auth/index.ts +41 -0
  665. package/ace-element-plus-component/packages/directives/autofocus/index.ts +29 -0
  666. package/ace-element-plus-component/packages/directives/index.ts +10 -0
  667. package/ace-element-plus-component/packages/directives/shortcut/index.ts +192 -0
  668. package/ace-element-plus-component/packages/hooks/useAppInstances.ts +130 -0
  669. package/ace-element-plus-component/packages/hooks/useBackendValidations.ts +81 -0
  670. package/ace-element-plus-component/packages/hooks/useBridage.ts +157 -0
  671. package/ace-element-plus-component/packages/hooks/useClassificationLevels.ts +86 -0
  672. package/ace-element-plus-component/packages/hooks/useConstraintProviders.ts +36 -0
  673. package/ace-element-plus-component/packages/hooks/useDateTimeShortCuts.ts +65 -0
  674. package/ace-element-plus-component/packages/hooks/useEntities.ts +44 -0
  675. package/ace-element-plus-component/packages/hooks/useEntityPropDataTypes.ts +37 -0
  676. package/ace-element-plus-component/packages/hooks/useFileConfigurations.ts +41 -0
  677. package/ace-element-plus-component/packages/hooks/useGroups.ts +81 -0
  678. package/ace-element-plus-component/packages/hooks/useNumberTemplates.ts +43 -0
  679. package/ace-element-plus-component/packages/hooks/useProperties.ts +44 -0
  680. package/ace-element-plus-component/packages/hooks/useRealms.ts +28 -0
  681. package/ace-element-plus-component/packages/hooks/useRoleCategories.ts +42 -0
  682. package/ace-element-plus-component/packages/hooks/useRoles.ts +44 -0
  683. package/ace-element-plus-component/packages/hooks/useRouteableVisible.ts +35 -0
  684. package/ace-element-plus-component/packages/hooks/useTreeData.ts +45 -0
  685. package/ace-element-plus-component/packages/hooks/useUserRefQuery.ts +232 -0
  686. package/ace-element-plus-component/packages/index.ts +34 -0
  687. package/ace-element-plus-component/packages/list.json +8 -0
  688. package/ace-element-plus-component/packages/types/custom.d.ts +13 -0
  689. package/ace-element-plus-component/packages/types/window.d.ts +16 -0
  690. package/ace-element-plus-component/packages/utils/formUtils.ts +57 -0
  691. package/ace-element-plus-component/packages/utils/install.ts +43 -0
  692. package/ace-element-plus-component/packages/utils/objectUtils.ts +31 -0
  693. package/ace-element-plus-component/public/vite.svg +1 -0
  694. package/ace-element-plus-component/theme-style/fonts/iconfont.js +1 -0
  695. package/ace-element-plus-component/theme-style/fonts/iconfont.json +5196 -0
  696. package/ace-element-plus-component/theme-style/fonts/iconfont.ttf +0 -0
  697. package/ace-element-plus-component/theme-style/fonts/iconfont.woff +0 -0
  698. package/ace-element-plus-component/theme-style/fonts/iconfont.woff2 +0 -0
  699. package/ace-element-plus-component/theme-style/index.scss +11 -0
  700. package/ace-element-plus-component/theme-style/styles/element-plus-var.scss +1419 -0
  701. package/ace-element-plus-component/theme-style/styles/iconfont.css +2979 -0
  702. package/ace-element-plus-component/theme-style/styles/reset.scss +0 -0
  703. package/ace-element-plus-component/theme-style/styles/theme-var.scss +72 -0
  704. package/ace-element-plus-component/theme-style/styles/transition.scss +122 -0
  705. package/ace-element-plus-component/tsconfig.json +42 -0
  706. package/ace-element-plus-component/tsconfig.node.json +9 -0
  707. package/ace-element-plus-component/tsconfig.node.tsbuildinfo +1 -0
  708. package/ace-element-plus-component/vite.config.d.ts +2 -0
  709. package/ace-element-plus-component/vite.config.js +55 -0
  710. package/ace-element-plus-component/vite.config.ts +59 -0
  711. package/ace-install-system-ui/.env +2 -0
  712. package/ace-install-system-ui/.env.development +5 -0
  713. package/ace-install-system-ui/.env.production +1 -0
  714. package/ace-install-system-ui/.eslintrc.cjs +18 -0
  715. package/ace-install-system-ui/CHANGE.md +1 -0
  716. package/ace-install-system-ui/README.md +18 -0
  717. package/ace-install-system-ui/index.html +13 -0
  718. package/ace-install-system-ui/lib.zip +0 -0
  719. package/ace-install-system-ui/package.json +45 -0
  720. package/ace-install-system-ui/public/images/desktopAppInstall/not-data.svg +1 -0
  721. package/ace-install-system-ui/public/images/login/Line.png +0 -0
  722. package/ace-install-system-ui/public/images/login/Path.png +0 -0
  723. package/ace-install-system-ui/public/images/login/Vector.png +0 -0
  724. package/ace-install-system-ui/public/images/login/down_line.png +0 -0
  725. package/ace-install-system-ui/public/images/login/exclamation.png +0 -0
  726. package/ace-install-system-ui/public/images/login/login_bg_img.png +0 -0
  727. package/ace-install-system-ui/public/images/title_01.png +0 -0
  728. package/ace-install-system-ui/public/images/title_02.png +0 -0
  729. package/ace-install-system-ui/public/images/title_03.png +0 -0
  730. package/ace-install-system-ui/public/images/title_04.png +0 -0
  731. package/ace-install-system-ui/public/images/uploader/upload-empty.svg +1 -0
  732. package/ace-install-system-ui/public/images/uploader/upload-files.svg +1710 -0
  733. package/ace-install-system-ui/public/logo.svg +1 -0
  734. package/ace-install-system-ui/public/vite.svg +1 -0
  735. package/ace-install-system-ui/src/App.vue +7 -0
  736. package/ace-install-system-ui/src/api/apiCache.ts +25 -0
  737. package/ace-install-system-ui/src/api/cache.ts +9 -0
  738. package/ace-install-system-ui/src/api/desktopAppApi.ts +149 -0
  739. package/ace-install-system-ui/src/api/desktopMachineApi.ts +75 -0
  740. package/ace-install-system-ui/src/api/loginApi.ts +46 -0
  741. package/ace-install-system-ui/src/api/taskReportApi.ts +46 -0
  742. package/ace-install-system-ui/src/assets/vue.svg +1 -0
  743. package/ace-install-system-ui/src/components/AppsManage/AddApp.vue +283 -0
  744. package/ace-install-system-ui/src/components/AppsManage/AppForm.vue +321 -0
  745. package/ace-install-system-ui/src/components/AppsManage/AppManageDrawer.vue +164 -0
  746. package/ace-install-system-ui/src/components/AppsManage/AppSelector.vue +93 -0
  747. package/ace-install-system-ui/src/components/AppsManage/AppsManage.vue +441 -0
  748. package/ace-install-system-ui/src/components/AppsManage/EditAppMetaData.vue +203 -0
  749. package/ace-install-system-ui/src/components/AppsManage/EnvForm.vue +180 -0
  750. package/ace-install-system-ui/src/components/AppsManage/IniForm.vue +294 -0
  751. package/ace-install-system-ui/src/components/AppsManage/UpdateAppForm.vue +218 -0
  752. package/ace-install-system-ui/src/components/CustomDialog.vue +170 -0
  753. package/ace-install-system-ui/src/components/HostMachineManage/AddHostMachine.vue +173 -0
  754. package/ace-install-system-ui/src/components/HostMachineManage/HostMachineManage.vue +509 -0
  755. package/ace-install-system-ui/src/components/HostMachineManage/HostMachineManageDrawer.vue +143 -0
  756. package/ace-install-system-ui/src/components/HostMachineManage/MachineSelector.vue +119 -0
  757. package/ace-install-system-ui/src/components/InstallModuleHeader.vue +36 -0
  758. package/ace-install-system-ui/src/components/Log/ViewAllLog.vue +175 -0
  759. package/ace-install-system-ui/src/components/Log/ViewLog.vue +80 -0
  760. package/ace-install-system-ui/src/components/TaskList/AppInstallTask.vue +33 -0
  761. package/ace-install-system-ui/src/components/TaskList/AppInstallTaskGroup.vue +152 -0
  762. package/ace-install-system-ui/src/components/TaskList/AppScanTask.vue +80 -0
  763. package/ace-install-system-ui/src/components/TaskList/AppUninstallTask.vue +33 -0
  764. package/ace-install-system-ui/src/components/TaskList/AppUninstallTaskGroup.vue +152 -0
  765. package/ace-install-system-ui/src/components/TaskList/TaskList.vue +314 -0
  766. package/ace-install-system-ui/src/components/TaskList/TaskListDrawer.vue +127 -0
  767. package/ace-install-system-ui/src/components/Uploader/GlobalUploader.vue +297 -0
  768. package/ace-install-system-ui/src/components/Uploader/Uploader.vue +346 -0
  769. package/ace-install-system-ui/src/components/WebTerminal/MachineTerminals.vue +187 -0
  770. package/ace-install-system-ui/src/components/WebTerminal/WebTerminal.vue +136 -0
  771. package/ace-install-system-ui/src/components/WebTerminal/WebTerminalDialog.vue +80 -0
  772. package/ace-install-system-ui/src/env.d.ts +15 -0
  773. package/ace-install-system-ui/src/init.ts +22 -0
  774. package/ace-install-system-ui/src/locales/lang/en/common.json +17 -0
  775. package/ace-install-system-ui/src/locales/lang/en/errors.json +40 -0
  776. package/ace-install-system-ui/src/locales/lang/en/layout.json +7 -0
  777. package/ace-install-system-ui/src/locales/lang/en.ts +14 -0
  778. package/ace-install-system-ui/src/locales/lang/zh-CN/common.json +17 -0
  779. package/ace-install-system-ui/src/locales/lang/zh-CN/errors.json +42 -0
  780. package/ace-install-system-ui/src/locales/lang/zh-CN/layout.json +7 -0
  781. package/ace-install-system-ui/src/locales/lang/zh-CN.ts +15 -0
  782. package/ace-install-system-ui/src/locales/setupI18n.ts +14 -0
  783. package/ace-install-system-ui/src/main.ts +28 -0
  784. package/ace-install-system-ui/src/model/Common.ts +8 -0
  785. package/ace-install-system-ui/src/model/DesktopApp.ts +472 -0
  786. package/ace-install-system-ui/src/model/TaskLog.ts +64 -0
  787. package/ace-install-system-ui/src/model/TaskReport.ts +136 -0
  788. package/ace-install-system-ui/src/pages/Home/Home.vue +307 -0
  789. package/ace-install-system-ui/src/pages/InstallDesktopApp/InstallDesktopApp.vue +363 -0
  790. package/ace-install-system-ui/src/pages/InstallDesktopApp/components/DependentApp.vue +138 -0
  791. package/ace-install-system-ui/src/pages/InstallDesktopApp/components/InstallDesktopAppStep1 copy.vue +232 -0
  792. package/ace-install-system-ui/src/pages/InstallDesktopApp/components/InstallDesktopAppStep1.vue +577 -0
  793. package/ace-install-system-ui/src/pages/InstallDesktopApp/components/InstallDesktopAppStep2.vue +267 -0
  794. package/ace-install-system-ui/src/pages/InstallDesktopApp/components/InstallDesktopAppStep3.vue +176 -0
  795. package/ace-install-system-ui/src/pages/InstallDesktopApp/components/ViewDependencies.vue +74 -0
  796. package/ace-install-system-ui/src/pages/UninstallDesktopApp.vue +167 -0
  797. package/ace-install-system-ui/src/router/index.ts +118 -0
  798. package/ace-install-system-ui/src/stores/index.ts +181 -0
  799. package/ace-install-system-ui/src/stores/modules/locale.ts +60 -0
  800. package/ace-install-system-ui/src/styles/main.scss +73 -0
  801. package/ace-install-system-ui/src/styles/modules/cutom-element-table-cell.scss +33 -0
  802. package/ace-install-system-ui/src/styles/modules/element-dark-theme.scss +126 -0
  803. package/ace-install-system-ui/src/styles/modules/task-install-detail.scss +127 -0
  804. package/ace-install-system-ui/src/styles/modules/var-notused.scss +156 -0
  805. package/ace-install-system-ui/src/styles/modules/var.scss +151 -0
  806. package/ace-install-system-ui/src/types/global.d.ts +10 -0
  807. package/ace-install-system-ui/src/types/shims-vue-simple-uploader.d.ts +4 -0
  808. package/ace-install-system-ui/src/utils/EventBus.ts +5 -0
  809. package/ace-install-system-ui/src/utils/axios/AceAxios.ts +535 -0
  810. package/ace-install-system-ui/src/utils/axios/cache.ts +9 -0
  811. package/ace-install-system-ui/src/utils/axios/index.ts +35 -0
  812. package/ace-install-system-ui/src/views/Layout/Layout.vue +140 -0
  813. package/ace-install-system-ui/src/views/Layout/components/Header.vue +198 -0
  814. package/ace-install-system-ui/src/views/Login/Login.vue +283 -0
  815. package/ace-install-system-ui/src/views/NotFound/NotFound.vue +7 -0
  816. package/ace-install-system-ui/src/views/SignUp/SignUp.vue +204 -0
  817. package/ace-install-system-ui/src/views/WebSsh.vue +12 -0
  818. package/ace-install-system-ui/tsconfig.json +24 -0
  819. package/ace-install-system-ui/tsconfig.node.json +11 -0
  820. package/ace-install-system-ui/vite.config.ts +114 -0
  821. package/ace-monolith-shell-ui/.env +3 -0
  822. package/ace-monolith-shell-ui/.env.development +5 -0
  823. package/ace-monolith-shell-ui/.env.production +1 -0
  824. package/ace-monolith-shell-ui/.eslintrc.cjs +15 -0
  825. package/ace-monolith-shell-ui/.prettierrc.json +8 -0
  826. package/ace-monolith-shell-ui/.vscode/extensions.json +7 -0
  827. package/ace-monolith-shell-ui/.vscode/launch.json +22 -0
  828. package/ace-monolith-shell-ui/.vscode/settings.json +26 -0
  829. package/ace-monolith-shell-ui/README.md +7 -0
  830. package/ace-monolith-shell-ui/auto-imports.d.ts +9 -0
  831. package/ace-monolith-shell-ui/components.d.ts +45 -0
  832. package/ace-monolith-shell-ui/index.html +20 -0
  833. package/ace-monolith-shell-ui/package.json +67 -0
  834. package/ace-monolith-shell-ui/public/res/build/shell/favicon.ico +0 -0
  835. package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/.keep +0 -0
  836. package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/index.html +5348 -0
  837. package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.css +2583 -0
  838. package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.eot +0 -0
  839. package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.glyph.json +1 -0
  840. package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.less +2585 -0
  841. package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.module.less +2567 -0
  842. package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.scss +5103 -0
  843. package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.styl +2554 -0
  844. package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.svg +7633 -0
  845. package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.symbol.svg +11 -0
  846. package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.ttf +0 -0
  847. package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.woff +0 -0
  848. package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.woff2 +0 -0
  849. package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/symbol.html +18032 -0
  850. package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/tags.json +1364 -0
  851. package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/unicode.html +175 -0
  852. package/ace-monolith-shell-ui/public/res/build/shell/images/hidden-right-sidebar.png +0 -0
  853. package/ace-monolith-shell-ui/public/res/build/shell/images/icon/deliver.svg +1 -0
  854. package/ace-monolith-shell-ui/public/res/build/shell/images/icon/logout.svg +28 -0
  855. package/ace-monolith-shell-ui/public/res/build/shell/images/icon/notification.svg +17 -0
  856. package/ace-monolith-shell-ui/public/res/build/shell/images/jari-logo-2.png +0 -0
  857. package/ace-monolith-shell-ui/public/res/build/shell/images/jari-logo.png +0 -0
  858. package/ace-monolith-shell-ui/public/res/build/shell/images/public-code.png +0 -0
  859. package/ace-monolith-shell-ui/public/res/build/shell/images/show-right-sidebar.png +0 -0
  860. package/ace-monolith-shell-ui/public/res/build/shell/images/svg/shezhi.svg +11 -0
  861. package/ace-monolith-shell-ui/public/res/build/shell/images/svg/tuichu.svg +13 -0
  862. package/ace-monolith-shell-ui/public/res/build/shell/images/svg/xiaoxi.svg +13 -0
  863. package/ace-monolith-shell-ui/public/res/build/shell/styles/element-plus.css +1 -0
  864. package/ace-monolith-shell-ui/src/App.vue +25 -0
  865. package/ace-monolith-shell-ui/src/assets/base.css +80 -0
  866. package/ace-monolith-shell-ui/src/assets/element/index.scss +18 -0
  867. package/ace-monolith-shell-ui/src/assets/element/var.scss +1123 -0
  868. package/ace-monolith-shell-ui/src/assets/logo.svg +7 -0
  869. package/ace-monolith-shell-ui/src/assets/main.scss +123 -0
  870. package/ace-monolith-shell-ui/src/demo/Bridge.vue +176 -0
  871. package/ace-monolith-shell-ui/src/env.d.ts +17 -0
  872. package/ace-monolith-shell-ui/src/hooks/useBridge.ts +148 -0
  873. package/ace-monolith-shell-ui/src/hooks/usePreferences.ts +116 -0
  874. package/ace-monolith-shell-ui/src/hooks/useSockJs.ts +123 -0
  875. package/ace-monolith-shell-ui/src/http/AceAxios.ts +645 -0
  876. package/ace-monolith-shell-ui/src/http/cache.ts +11 -0
  877. package/ace-monolith-shell-ui/src/http/index.ts +33 -0
  878. package/ace-monolith-shell-ui/src/init.ts +21 -0
  879. package/ace-monolith-shell-ui/src/layout/Main.vue +176 -0
  880. package/ace-monolith-shell-ui/src/layout/components/AppMenu.vue +334 -0
  881. package/ace-monolith-shell-ui/src/layout/components/Fillet.vue +105 -0
  882. package/ace-monolith-shell-ui/src/layout/components/Sidebar.vue +213 -0
  883. package/ace-monolith-shell-ui/src/layout/widgets/notification/Notification.vue +307 -0
  884. package/ace-monolith-shell-ui/src/locales/lang/en/common.json +17 -0
  885. package/ace-monolith-shell-ui/src/locales/lang/en/errors.json +42 -0
  886. package/ace-monolith-shell-ui/src/locales/lang/en/layout.json +8 -0
  887. package/ace-monolith-shell-ui/src/locales/lang/en/updatePsw.json +9 -0
  888. package/ace-monolith-shell-ui/src/locales/lang/en/userProfile.json +3 -0
  889. package/ace-monolith-shell-ui/src/locales/lang/en.ts +14 -0
  890. package/ace-monolith-shell-ui/src/locales/lang/zh-CN/common.json +17 -0
  891. package/ace-monolith-shell-ui/src/locales/lang/zh-CN/errors.json +42 -0
  892. package/ace-monolith-shell-ui/src/locales/lang/zh-CN/layout.json +8 -0
  893. package/ace-monolith-shell-ui/src/locales/lang/zh-CN/updatePsw.json +9 -0
  894. package/ace-monolith-shell-ui/src/locales/lang/zh-CN/userProfile.json +3 -0
  895. package/ace-monolith-shell-ui/src/locales/lang/zh-CN.ts +14 -0
  896. package/ace-monolith-shell-ui/src/locales/setupI18n.ts +14 -0
  897. package/ace-monolith-shell-ui/src/main.ts +164 -0
  898. package/ace-monolith-shell-ui/src/router/index.ts +111 -0
  899. package/ace-monolith-shell-ui/src/shims-vue.d.ts +22 -0
  900. package/ace-monolith-shell-ui/src/stores/modules/accessibleApps.ts +149 -0
  901. package/ace-monolith-shell-ui/src/stores/modules/app.ts +164 -0
  902. package/ace-monolith-shell-ui/src/stores/modules/appContext.ts +57 -0
  903. package/ace-monolith-shell-ui/src/stores/modules/auth.ts +65 -0
  904. package/ace-monolith-shell-ui/src/stores/modules/locale.ts +63 -0
  905. package/ace-monolith-shell-ui/src/stores/modules/system.ts +41 -0
  906. package/ace-monolith-shell-ui/src/types/ext.d.ts +13 -0
  907. package/ace-monolith-shell-ui/src/types/router.d.ts +12 -0
  908. package/ace-monolith-shell-ui/src/types/window.d.ts +16 -0
  909. package/ace-monolith-shell-ui/src/views/AboutView.vue +141 -0
  910. package/ace-monolith-shell-ui/src/views/DlgUpdatePassword.vue +119 -0
  911. package/ace-monolith-shell-ui/src/views/ExtendedAttrRender.vue +311 -0
  912. package/ace-monolith-shell-ui/src/views/MicroAppContainer.vue +270 -0
  913. package/ace-monolith-shell-ui/src/views/UserProfileEditor.vue +303 -0
  914. package/ace-monolith-shell-ui/src/views/WorkBench.vue +10 -0
  915. package/ace-monolith-shell-ui/src/views/errors/HttpState404.vue +137 -0
  916. package/ace-monolith-shell-ui/src/views/errors/NoAppAvailable.vue +16 -0
  917. package/ace-monolith-shell-ui/src/vite-env.d.ts +3 -0
  918. package/ace-monolith-shell-ui/tsconfig.app.json +26 -0
  919. package/ace-monolith-shell-ui/tsconfig.json +11 -0
  920. package/ace-monolith-shell-ui/tsconfig.node.json +25 -0
  921. package/ace-monolith-shell-ui/vbuild/vite/proxy.ts +47 -0
  922. package/ace-monolith-shell-ui/vite.config.ts +127 -0
  923. package/ace-monolith-shell-ui/vue-image-crop-upload.d.ts +1 -0
  924. package/ace-vue-frame/.env +2 -0
  925. package/ace-vue-frame/.env.development +1 -0
  926. package/ace-vue-frame/.env.production +1 -0
  927. package/ace-vue-frame/.eslintrc.cjs +29 -0
  928. package/ace-vue-frame/.vscode/extensions.json +3 -0
  929. package/ace-vue-frame/README.md +18 -0
  930. package/ace-vue-frame/auto-imports.d.ts +9 -0
  931. package/ace-vue-frame/components.d.ts +16 -0
  932. package/ace-vue-frame/folder-alias.json +1 -0
  933. package/ace-vue-frame/index.html +13 -0
  934. package/ace-vue-frame/jsconfig.json +13 -0
  935. package/ace-vue-frame/package.json +30 -0
  936. package/ace-vue-frame/prettier.config.js +17 -0
  937. package/ace-vue-frame/public/vite.svg +1 -0
  938. package/ace-vue-frame/src/App.vue +30 -0
  939. package/ace-vue-frame/src/api/demo.ts +24 -0
  940. package/ace-vue-frame/src/assets/vue.svg +1 -0
  941. package/ace-vue-frame/src/components/HelloWorld.vue +38 -0
  942. package/ace-vue-frame/src/main.ts +38 -0
  943. package/ace-vue-frame/src/router/index.ts +18 -0
  944. package/ace-vue-frame/src/router/routes.ts +7 -0
  945. package/ace-vue-frame/src/router/whiteList.ts +4 -0
  946. package/ace-vue-frame/src/stores/index.ts +3 -0
  947. package/ace-vue-frame/src/stores/modules/main.ts +19 -0
  948. package/ace-vue-frame/src/style.css +80 -0
  949. package/ace-vue-frame/src/types/ext.d.ts +13 -0
  950. package/ace-vue-frame/src/types/style.d.ts +7 -0
  951. package/ace-vue-frame/src/types/window.d.ts +16 -0
  952. package/ace-vue-frame/src/utils/axios/index.ts +20 -0
  953. package/ace-vue-frame/src/utils/index.ts +7 -0
  954. package/ace-vue-frame/src/vite-env.d.ts +1 -0
  955. package/ace-vue-frame/tsconfig.json +52 -0
  956. package/ace-vue-frame/tsconfig.node.json +10 -0
  957. package/ace-vue-frame/vite.config.ts +75 -0
  958. package/folder-alias.json +1 -0
  959. package/frontends.code-workspace +10 -0
  960. package/package.json +35 -0
  961. package/pnpm-workspace.yaml +11 -0
  962. package/pom.xml +114 -0
@@ -0,0 +1,9 @@
1
+ {
2
+ "confirmPsw": "确认密码",
3
+ "latestUpdateTime": "您上次修改密码时间是:",
4
+ "newPassword": "新密码",
5
+ "notModified": "尚未修改",
6
+ "password": "当前密码",
7
+ "success": "密码已修改成功",
8
+ "title": "修改密码"
9
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "title": "用户个人资料"
3
+ }
@@ -0,0 +1,14 @@
1
+ /*
2
+ * 版权所有 (c) 2022 江苏杰瑞信息科技有限公司
3
+ *
4
+ * 此文件属于JARI.ACE平台项目,修改、分发必须遵守杰瑞信科商业软件许可协议
5
+ */
6
+
7
+ import { genMessage } from "@jari-ace/app-bolts";
8
+
9
+ const modules = import.meta.glob("./zh-CN/**/*.json", { eager: true });
10
+ export default {
11
+ message: {
12
+ ...genMessage(modules as Record<string, Record<string, any>>),
13
+ },
14
+ };
@@ -0,0 +1,14 @@
1
+ /*
2
+ * 版权所有 (c) 2022 江苏杰瑞信息科技有限公司
3
+ *
4
+ * 此文件属于JARI.ACE平台项目,修改、分发必须遵守杰瑞信科商业软件许可协议
5
+ */
6
+
7
+ import { LocaleType, setupI18n as setup } from '@jari-ace/app-bolts'
8
+ import type { App } from 'vue'
9
+ import { useLocaleStoreWithOut } from '@/stores/modules/locale'
10
+
11
+ export async function setupI18n(app: App, locale?: LocaleType): Promise<ReturnType<typeof setup>> {
12
+ const messages = await import(`./lang/${locale}.ts`)
13
+ return setup(app, messages, useLocaleStoreWithOut(), locale)
14
+ }
@@ -0,0 +1,164 @@
1
+ import './init'
2
+ import './assets/main.scss'
3
+ import {createApp, unref} from 'vue'
4
+ import App from './App.vue'
5
+ import {router} from './router'
6
+ // import * as ElementPlusIconsVue from '@element-plus/icons-vue'
7
+ import {
8
+ type BaseAppGlobalMessageType,
9
+ type LocaleKeyType,
10
+ LocaleType,
11
+ type MicroAppContext,
12
+ setupAxios,
13
+ setupLoginUser,
14
+ setupReloadLoginUser,
15
+ setupStore
16
+ } from '@jari-ace/app-bolts'
17
+ import {setupI18n} from '@/locales/setupI18n'
18
+ import {isEmpty} from "lodash-es"
19
+ import microApp from '@micro-zoe/micro-app'
20
+ //此处不应引入
21
+
22
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
23
+ // noinspection ES6UnusedImports 切勿删下面的import语句
24
+ import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
25
+ import {useLocaleStore} from '@/stores/modules/locale'
26
+ import {setupMicroAppContext, useAppContextWithout} from '@/stores/modules/appContext'
27
+ import {useAuthStore} from '@/stores/modules/auth'
28
+ /**
29
+ * 注意!!本项目为壳项目,所有子应用都会加载,应秉持尽量精简的原则。
30
+ * 此项目中应按需引入UI库,不要全局的引入。
31
+ *
32
+ * @jari-ace/element-plus-component 公共组件库会全局引入element-plus,在此项目中将不再引入
33
+ * import '@jari-ace/element-plus-component/lib/index.css'
34
+ * import {AceVueUI} from '@jari-ace/element-plus-component'
35
+ * import 'element-plus/dist/index.css'
36
+ * AceVueUI!.install!(app)
37
+ * for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
38
+ * app.component(key, component)
39
+ * }
40
+ */
41
+
42
+ import {useColorMode} from '@vueuse/core'
43
+ import useAppStore from '@/stores/modules/app'
44
+
45
+ microApp.start({
46
+ 'disable-memory-router': true, // 关闭虚拟路由系统
47
+ 'disable-patch-request': true, // 关闭对子应用请求的拦截
48
+ disableIframeRootDocument: true,
49
+ lifeCycles: {
50
+ created(e, appName) {
51
+ console.log(`app: ${appName} created`)
52
+ },
53
+ beforemount(e, appName) {
54
+ console.log(`app: ${appName} is about to mount`)
55
+ },
56
+ mounted(e, appName) {
57
+ console.log(`app: ${appName} mounted`)
58
+ },
59
+ unmount(e, appName) {
60
+ console.log(`app: ${appName} unmounted`)
61
+ },
62
+ error(e, appName) {
63
+ console.log(`app: ${appName} load error`, e.detail)
64
+ }
65
+ },
66
+ globalAssets:{
67
+ css: [], // css地址
68
+ // js: ['js地址1', 'js地址2', ...], // js地址
69
+ }
70
+ // iframe: true, // 全局开启iframe沙箱,默认为false
71
+ // inline: true, // 全局开启内联script模式运行js,默认为false
72
+ // destroy: true, // 全局开启destroy模式,卸载时强制删除缓存资源,默认为false
73
+ // ssr: true, // 全局开启ssr模式,默认为false
74
+ // 'disable-scopecss': true, // 全局禁用样式隔离,默认为false
75
+ // 'disable-sandbox': true, // 全局禁用沙箱,默认为false
76
+ // 'keep-alive': true, // 全局开启保活模式,默认为false
77
+ // 'disable-memory-router': true, // 全局关闭虚拟路由系统,默认值false
78
+ // 'keep-router-state': true, // 子应用在卸载时保留路由状态,默认值false
79
+ // 'disable-patch-request': true, // 关闭子应用请求的自动补全功能,默认值false
80
+ // iframeSrc: location.origin, // 设置iframe沙箱中iframe的src地址,默认为子应用所在页面地址
81
+ // inheritBaseBody: true, // true: 采用基座标签 作为子应用的标签, false: 不采用
82
+ // aHrefResolver: (hrefValue: string, appName: string, appUrl: string) => string, // 自定义处理所有子应用 a 标签的 href 拼接方式
83
+ })
84
+ const app = createApp(App)
85
+
86
+
87
+ const store = setupStore(app)
88
+ const appStore = useAppStore()
89
+ import('@/http').then(axiosModule => {
90
+ setupAxios(axiosModule.createAxios, axiosModule.createAxiosWithoutCache)
91
+ const authStore = useAuthStore(store)
92
+ authStore.setup().then(loginUser => {
93
+ setupLoginUser(loginUser);
94
+ const localeStore = useLocaleStore(store)
95
+ localeStore.initLocale()
96
+ let locale = localeStore.getLocale
97
+ if (!locale) {
98
+ locale = loginUser.locale ? LocaleType[loginUser.locale.replace(/-/, '_')
99
+ .toUpperCase() as LocaleKeyType] : undefined
100
+ }
101
+ if (!locale) {
102
+ locale = localeStore.fallBackLocale
103
+ }
104
+ localeStore.setLocaleInfo({locale})
105
+ setupI18n(app, locale).then(() => {
106
+ appStore.setupAccessibleApps().then(() => {
107
+ const context: MicroAppContext = {
108
+ locale: locale,
109
+ loginUser: loginUser,
110
+ reloadLoginUser: authStore.setup,
111
+ createAxios: axiosModule.createAxios,
112
+ createAxiosWithoutCache: axiosModule.createAxiosWithoutCache,
113
+ realmId: 'ace-platform',
114
+ setAppDevMode: appStore.setDevMode,
115
+ getAppDevMode: appStore.getDevMode
116
+ }
117
+ window.appContext = context
118
+ setupMicroAppContext(context)
119
+
120
+ //向子应用推送并订阅store数据;
121
+ const appContextStore = useAppContextWithout()
122
+ setupReloadLoginUser(async ()=> {
123
+ var loginUser = await authStore.setup()
124
+ appContextStore.setLoginUser(loginUser)
125
+ setupLoginUser(loginUser);
126
+ return loginUser;
127
+ })
128
+ pushDataToApps(unref(appContextStore.$state))
129
+ appContextStore.$subscribe((mutation, state) => {
130
+ pushDataToApps(unref(state))
131
+ }, {
132
+ deep: true
133
+ })
134
+ localeStore.$subscribe((mutation, state) => {
135
+ state.localInfo.locale && appContextStore.setLocale(state.localInfo.locale)
136
+ }, {
137
+ deep: true
138
+ })
139
+ app.use(router)
140
+ app.mount('#app')
141
+ const colorMode = useColorMode()
142
+ colorMode.value = 'light'
143
+ })
144
+ })
145
+ })
146
+ })
147
+
148
+
149
+ function pushDataToApps(state: MicroAppContext|{}) {
150
+ //不为空的情况下再发送数据
151
+ if(!isEmpty(state)){
152
+ const sendMessage: BaseAppGlobalMessageType = {
153
+ sender: 'shell',
154
+ timestamp: Date.now(),
155
+ payload: {
156
+ type: 'context',
157
+ content: state as MicroAppContext
158
+ }
159
+ }
160
+ // 推送数据给子应用
161
+ microApp.setGlobalData(sendMessage)
162
+ }
163
+
164
+ }
@@ -0,0 +1,111 @@
1
+ /*
2
+ * 版权所有 (c) 2023 江苏杰瑞信息科技有限公司
3
+ *
4
+ * 此文件属于JARI.ACE平台项目,修改、分发必须遵守杰瑞信科商业软件许可协议
5
+ */
6
+
7
+ import {createRouter, createWebHistory} from 'vue-router'
8
+ import HomeView from '../layout/Main.vue'
9
+ import MicroAppContainer from '../views/MicroAppContainer.vue'
10
+ import WorkBench from '../views/WorkBench.vue'
11
+ import type {AppInstance} from '@jari-ace/app-bolts'
12
+ import {ref, type Ref} from 'vue'
13
+ import useAppStore from '@/stores/modules/app'
14
+
15
+ /**
16
+ * 当前应用
17
+ */
18
+ // export const currentApp: Ref<AppInstance | undefined> = ref(undefined)
19
+ /**
20
+ * 静态路由
21
+ */
22
+ export const router = createRouter({
23
+ history: createWebHistory(import.meta.env.BASE_URL),
24
+ routes: [
25
+ {
26
+ path: '/',
27
+ name: 'home',
28
+ component: HomeView,
29
+ children: [
30
+ {
31
+ path: '/app/:appName(.*)*',
32
+ name: 'app',
33
+ component: MicroAppContainer,
34
+ props: true,
35
+ },
36
+
37
+ {
38
+ path: 'wb',
39
+ name: 'work-bench',
40
+ component: WorkBench
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ path: '/:path(.*)*',
46
+ redirect: '/404'
47
+ },
48
+ {
49
+ path: '/404',
50
+ name: 'notFound',
51
+ component: () => import('@/views/errors/HttpState404.vue')
52
+ },
53
+ {
54
+ path: '/no-app',
55
+ name: 'noApp',
56
+ component: () => import('@/views/errors/NoAppAvailable.vue')
57
+ }
58
+ ]
59
+ })
60
+
61
+ router.beforeEach(async (to, from, next) => {
62
+ const appStore = useAppStore()
63
+
64
+ //判断前往页面不是登录页
65
+ if (to.path !== '/login') {
66
+ // 当前路由不需要登录验证
67
+ //需要验证前往的页面是否是应用页面
68
+ //以斜杠分割路径
69
+ const paths = to.path.split('/')
70
+ const path: undefined | string = paths[1]
71
+ if (path === 'global') {
72
+ next()
73
+ } else if (path === 'app' || to.path === '/') {
74
+ if (appStore.apps === null) {
75
+ // throw new Error("【路由跳转拦截】没有找到可用应用!");
76
+ await appStore.setupAccessibleApps()
77
+ }
78
+ if (appStore.apps?.length == 0) {
79
+ next('/no-app')
80
+ }
81
+ //判断参数是否含有appName
82
+
83
+ //判断appName参数是否存在
84
+ if (to.params.appName) {
85
+ let appName: string
86
+ //判断appName的类型:可能为字符串或者数组
87
+ if (typeof to.params.appName === 'string') {
88
+ appName = to.params.appName
89
+ } else {
90
+ appName = to.params.appName[0]
91
+ }
92
+ appStore.activateApp(appName as string)
93
+ next()
94
+ } else {
95
+ if (appStore.apps == null) {
96
+ throw new Error('appStore.apps为null,没有可用应用。')
97
+ }
98
+ appStore.activateApp(appStore.apps[0].name)
99
+ next(`/app/${appStore.apps[0].name}`)
100
+ }
101
+
102
+ //直接跳转
103
+ } else {
104
+ next()
105
+ }
106
+ }
107
+ //如果是登录页则直接前往
108
+ else {
109
+ next()
110
+ }
111
+ })
@@ -0,0 +1,22 @@
1
+ /*
2
+ * 版权所有 (c) 2022 江苏杰瑞信息科技有限公司
3
+ *
4
+ * 此文件属于JARI.ACE平台项目,修改、分发必须遵守杰瑞信科商业软件许可协议
5
+ */
6
+
7
+ /* eslint-disable */
8
+ declare module "*.vue" {
9
+ import type {DefineComponent} from "vue";
10
+ const component: DefineComponent<{}, {}, any>;
11
+ export default component;
12
+ }
13
+ import "vue"
14
+
15
+ declare module "vue" {
16
+ import type {Router, route} from "vue-router";
17
+
18
+ interface ComponentCustomProperties {
19
+ $router: Router;
20
+ $t: (key: string, ...params: any[]) => string;
21
+ }
22
+ }
@@ -0,0 +1,149 @@
1
+ /*
2
+ * 版权所有 (c) 2023 江苏杰瑞信息科技有限公司
3
+ *
4
+ * 此文件属于JARI.ACE平台项目,修改、分发必须遵守杰瑞信科商业软件许可协议
5
+ */
6
+
7
+ import { defineStore } from "pinia";
8
+ import { useAppApi } from "@jari-ace/app-bolts";
9
+ import type { AppInstance } from "@jari-ace/app-bolts";
10
+ import { ref, type Ref } from "vue";
11
+ import { createAxios } from "@/http";
12
+
13
+ type appLoadStateTypes = "loading" | "error" | "complete";
14
+
15
+ interface AccessibleApp extends AppInstance {
16
+ active: boolean; //窗口是否处于激活状态
17
+ appLoadStatus?: appLoadStateTypes; //应用页面加载状态
18
+ isMounted: boolean; //当前应用是否已加载
19
+ }
20
+
21
+ const accessible: Ref<AccessibleApp[] | null> = ref(null);
22
+
23
+ /**
24
+ * 初始化可访问应用列表库
25
+ */
26
+ export async function setupAccessibleApps() {
27
+ const api = useAppApi(createAxios());
28
+
29
+ accessible.value = (await api.getAccessible()).map((app) => {
30
+ return {
31
+ ...app,
32
+ active: false,
33
+ appLoadStatus: "loading",
34
+ isMounted: false,
35
+ };
36
+ });
37
+ }
38
+
39
+ /**
40
+ * 获取当前登录用户可访问的应用信息列表
41
+ */
42
+ export const useAccessibleApps = defineStore("accessible-apps", () => {
43
+ const getByName = (appName: string) => accessible.value!.find((a) => a.name === appName);
44
+ /**
45
+ * 根据应用名称设置应用打开的状态
46
+ */
47
+ const setLoadStatusByName = (name: string, state: appLoadStateTypes) => {
48
+ if (accessible.value === null || accessible.value.length === 0) {
49
+ throw new Error("【根据应用名称设置应用加载状态】没有找到可用应用!");
50
+ }
51
+ accessible.value?.forEach((app) => {
52
+ if (app.name === name) {
53
+ app.appLoadStatus = state;
54
+ }
55
+ });
56
+ };
57
+ /**
58
+ * 根据应用name设置当前应用是否已加载
59
+ */
60
+ const setIsMountedByName = (name: string) => {
61
+ if (accessible.value === null || accessible.value.length === 0) {
62
+ throw new Error("【根据应用名称设置当前应用是否已加载】没有找到可用应用!");
63
+ }
64
+ accessible.value.forEach((app) => {
65
+ if (app.name === name) {
66
+ app.isMounted = true;
67
+ }
68
+ });
69
+ };
70
+ /**
71
+ * 根据name设置当前活动窗口
72
+ */
73
+ const setActiveByName = (name: string) => {
74
+ if (accessible.value === null || accessible.value.length === 0) {
75
+ throw new Error("【根据应用名称设置当前活动窗口】没有找到可用应用!");
76
+ }
77
+ accessible.value.forEach((app) => {
78
+ if (app.name === name) {
79
+ app.active = true;
80
+ } else {
81
+ app.active = false;
82
+ }
83
+ });
84
+ };
85
+ /**
86
+ * 根据应用名称打开应用视窗
87
+ */
88
+ const openAppViewByName = (name: string) => {
89
+ if (accessible.value === null || accessible.value.length === 0) {
90
+ throw new Error("【根据应用名称打开应用视窗】没有可用应用!");
91
+ }
92
+ const isHas: boolean = accessible.value.some((app) => app.name === name);
93
+ //如果没有则打开这个应用添加到打开的应用列表中
94
+ if (!isHas) {
95
+ const appInfo: AccessibleApp | undefined = getByName(name);
96
+ if (appInfo === undefined) {
97
+ //没有找到对应的应用信息
98
+ throw new Error(
99
+ `【根据应用名称打开应用视窗】无法找到应用名称为${name}所对应的应用信息`,
100
+ );
101
+ }
102
+ }
103
+ //设置为当前应用为激活应用
104
+ setActiveViewByName(name);
105
+ };
106
+ /**
107
+ * 根据应用名称设置当前活动窗口
108
+ */
109
+ const setActiveViewByName = (name: string) => {
110
+ if (accessible.value === null || accessible.value.length === 0) {
111
+ throw new Error("【根据应用名称设置当前活动窗口】没有可用应用!");
112
+ }
113
+ accessible.value.forEach((app) => {
114
+ if (app.name === name) {
115
+ app.active = true;
116
+ } else {
117
+ app.active = false;
118
+ }
119
+ });
120
+ };
121
+
122
+ return {
123
+ /**
124
+ * 根据应用名称打开应用视窗
125
+ */
126
+ openAppViewByName,
127
+ /**
128
+ * 根据name设置当前活动窗口
129
+ */
130
+ setActiveByName,
131
+ /**
132
+ * 根据应用 name 设置应用加载状态
133
+ */
134
+ setLoadStatusByName,
135
+ /**
136
+ * 根据应用name设置应用加载状态
137
+ */
138
+ setIsMountedByName,
139
+ /**
140
+ * 可访问的应用信息列表
141
+ */
142
+ accessible,
143
+ /**
144
+ * 根据应用名获取应用信息对象
145
+ * @returns {@link AppInstance} | undefined
146
+ */
147
+ getByName,
148
+ };
149
+ });
@@ -0,0 +1,164 @@
1
+ import {defineStore} from 'pinia'
2
+ import type {AppInstance, Theme, AppPreferences} from '@jari-ace/app-bolts'
3
+ import {useAppApi} from '@jari-ace/app-bolts'
4
+ import {createAxios} from '@/http'
5
+ import {useLocalStorage} from '@vueuse/core'
6
+ import {usePreferences} from "@/hooks/usePreferences";
7
+
8
+ type appLoadStateTypes = 'loading' | 'error' | 'complete';
9
+
10
+ type AppLoadStateTypes = 'loading' | 'error' | 'complete';
11
+
12
+ export const LOCAL_STORAGE_KEY = import.meta.env.VITE_LOCAL_KEY + '.app:'
13
+
14
+ export interface AccessibleApp extends AppInstance, AppPreferences {
15
+ active: boolean; //窗口是否处于激活状态
16
+ appLoadStatus: AppLoadStateTypes; //应用页面加载状态
17
+ isMounted: boolean; //当前应用是否已加载
18
+ }
19
+
20
+ interface State {
21
+ apps: AccessibleApp[] | null;
22
+ currentApp: AccessibleApp | null;
23
+ }
24
+
25
+ const {
26
+ setTheme,
27
+ setIsDev,
28
+ getIsDev,
29
+ getPreferences,
30
+ setPreferences,
31
+ setCurrentPreferences,
32
+ } = usePreferences();
33
+
34
+ export const useAppStore = defineStore('app', {
35
+ // 其他配置...
36
+ state: (): State => {
37
+ return {
38
+ apps: null,
39
+ currentApp: null
40
+ }
41
+ },
42
+ getters: {},
43
+ actions: {
44
+ setTheme(appName: string, theme: Theme) {
45
+ this.apps?.forEach((app) => {
46
+ if (app.name === appName) {
47
+ const t: Theme = Object.assign(app.theme || {}, theme)
48
+ app.theme = t;
49
+ setTheme(t, app.id)
50
+ }
51
+ })
52
+ },
53
+ getByName(appName: string): AccessibleApp | undefined {
54
+ if (this.apps === null) {
55
+ throw new Error(`【getByName】:应用列表为空,无法获取到应用信息。`)
56
+ }
57
+ return this.apps.find((a) => a.name === appName)
58
+ },
59
+ /**
60
+ * 根据应用名称设置应用打开的状态
61
+ */
62
+ setLoadStatusByName(name: string, state: appLoadStateTypes) {
63
+ if (this.apps === null || this.apps.length === 0) {
64
+ throw new Error('【根据应用名称设置应用加载状态】没有找到可用应用!')
65
+ }
66
+ this.apps?.forEach((app) => {
67
+ if (app.name === name) {
68
+ app.appLoadStatus = state
69
+ }
70
+ })
71
+ },
72
+ /**
73
+ * 根据应用name设置当前应用是否已加载
74
+ */
75
+ setIsMountedByName(name: string) {
76
+ if (this.apps === null || this.apps.length === 0) {
77
+ throw new Error('【根据应用名称设置当前应用是否已加载】没有找到可用应用!')
78
+ }
79
+ this.apps.forEach((app) => {
80
+ if (app.name === name) {
81
+ app.isMounted = true
82
+ }
83
+ })
84
+ },
85
+ async setupAccessibleApps() {
86
+ const api = useAppApi(createAxios())
87
+ this.apps = (
88
+ await api.getAccessible()
89
+ ).map((app) => {
90
+ const p = getPreferences(app.id);
91
+ const a: AccessibleApp = {
92
+ active: false,
93
+ isMounted: false,
94
+ appLoadStatus: 'complete',
95
+ ...p.value, //这里做了默认值与本地合并的操作
96
+ ...app,
97
+ }
98
+ //初始化本地的应用配置
99
+ setPreferences({
100
+ ...p.value,
101
+ id: a.id,
102
+ name: a.name
103
+ }, app.id)
104
+ return a
105
+ })
106
+ if (this.currentApp === null && this.apps.length > 0) {
107
+ this.activateApp(this.apps[0].name)
108
+ }
109
+
110
+ },
111
+ setDevMode(appId: string, isDev: boolean) {
112
+ //将应用的isDev状态保存到localStorage中
113
+ setIsDev(isDev, appId)
114
+ const app = this.apps?.find(a => a.id === appId)
115
+ if (app) {
116
+ app.isDev = isDev
117
+ }
118
+ },
119
+ getDevMode(appId: string) {
120
+ const app = this.apps?.find(a => a.id === appId)
121
+
122
+ if (app) {
123
+ return app.isDev
124
+ } else {
125
+ return getIsDev(appId)
126
+ }
127
+ },
128
+ /**
129
+ * 激活应用
130
+ */
131
+ activateApp(name: string) {
132
+ if (!this.apps) {
133
+ throw new Error('【根据应用名称打开应用视窗】没有可用应用!')
134
+ }
135
+ const isHas: boolean = this.apps.some((app) => app.name === name)
136
+ //如果没有则打开这个应用添加到打开的应用列表中
137
+ if (!isHas) {
138
+ const appInfo: AccessibleApp | undefined = this.getByName(name)
139
+ if (appInfo === undefined) {
140
+ //没有找到对应的应用信息
141
+ throw new Error(
142
+ `【根据应用名称打开应用视窗】无法找到应用名称为${name}所对应的应用信息`
143
+ )
144
+ }
145
+ }
146
+ //设置为当前应用为激活应用
147
+ this.apps.forEach((app) => {
148
+ if (app.name === name) {
149
+ //设置当前配置为应用的配置
150
+ setCurrentPreferences(app.id)
151
+ app.active = true;
152
+ this.currentApp = app;
153
+
154
+ } else {
155
+ app.active = false
156
+ }
157
+ })
158
+ }
159
+ }
160
+ })
161
+
162
+ export type AppStore = ReturnType<typeof useAppStore>;
163
+
164
+ export default useAppStore