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.
- package/.editorconfig +8 -0
- package/.hintrc +9 -0
- package/.run/build-app-bolts.run.xml +12 -0
- package/.run/build-app-manager-ui.run.xml +12 -0
- package/.run/build-cloud-shell.run.xml +12 -0
- package/.run/build-element-plus-component.run.xml +12 -0
- package/.run/build-monnolith-shell.run.xml +12 -0
- package/.run/dev-app-manager.run.xml +12 -0
- package/.run/dev-monolith-shell.run.xml +12 -0
- package/README.md +59 -0
- package/ace-app-bolts-ui/.eslintrc.cjs +15 -0
- package/ace-app-bolts-ui/.vscode/extensions.json +3 -0
- package/ace-app-bolts-ui/.vscode/settings.json +27 -0
- package/ace-app-bolts-ui/folder-alias.json +1 -0
- package/ace-app-bolts-ui/package.json +76 -0
- package/ace-app-bolts-ui/src/api/apiCache.ts +26 -0
- package/ace-app-bolts-ui/src/api/appService/aceInstall.ts +29 -0
- package/ace-app-bolts-ui/src/api/appService/appAdmin.ts +58 -0
- package/ace-app-bolts-ui/src/api/appService/appInstance.ts +186 -0
- package/ace-app-bolts-ui/src/api/appService/appMessage.ts +123 -0
- package/ace-app-bolts-ui/src/api/appService/appRoute.ts +128 -0
- package/ace-app-bolts-ui/src/api/appService/appService.ts +135 -0
- package/ace-app-bolts-ui/src/api/appService/appSetting.ts +163 -0
- package/ace-app-bolts-ui/src/api/appService/appSettingGroup.ts +129 -0
- package/ace-app-bolts-ui/src/api/appService/appliedPasswordPolicy.ts +77 -0
- package/ace-app-bolts-ui/src/api/appService/eventCompensation.ts +61 -0
- package/ace-app-bolts-ui/src/api/appService/externalApp.ts +209 -0
- package/ace-app-bolts-ui/src/api/auditService/auditLog.ts +63 -0
- package/ace-app-bolts-ui/src/api/bizFlow/flowComment.ts +76 -0
- package/ace-app-bolts-ui/src/api/bizFlow/flowDefinition.ts +321 -0
- package/ace-app-bolts-ui/src/api/bizFlow/taskQuery.ts +91 -0
- package/ace-app-bolts-ui/src/api/domainModel/aggregate.ts +107 -0
- package/ace-app-bolts-ui/src/api/domainModel/command.ts +257 -0
- package/ace-app-bolts-ui/src/api/domainModel/constraint.ts +101 -0
- package/ace-app-bolts-ui/src/api/domainModel/dataScope.ts +84 -0
- package/ace-app-bolts-ui/src/api/domainModel/dataSource.ts +194 -0
- package/ace-app-bolts-ui/src/api/domainModel/dto.ts +243 -0
- package/ace-app-bolts-ui/src/api/domainModel/dtoConstraint.ts +101 -0
- package/ace-app-bolts-ui/src/api/domainModel/entity.ts +207 -0
- package/ace-app-bolts-ui/src/api/domainModel/enum.ts +170 -0
- package/ace-app-bolts-ui/src/api/domainModel/indexDef.ts +82 -0
- package/ace-app-bolts-ui/src/api/domainModel/query.ts +292 -0
- package/ace-app-bolts-ui/src/api/domainModel/release.ts +97 -0
- package/ace-app-bolts-ui/src/api/fileService/fileConfiguration.ts +161 -0
- package/ace-app-bolts-ui/src/api/fileService/fileStorage.ts +165 -0
- package/ace-app-bolts-ui/src/api/fileService/files.ts +207 -0
- package/ace-app-bolts-ui/src/api/idGenService/leafSegment.ts +55 -0
- package/ace-app-bolts-ui/src/api/idGenService/stringIdTemplate.ts +170 -0
- package/ace-app-bolts-ui/src/api/orgService/customGroup.ts +73 -0
- package/ace-app-bolts-ui/src/api/orgService/department.ts +186 -0
- package/ace-app-bolts-ui/src/api/orgService/departmentAttrDef.ts +90 -0
- package/ace-app-bolts-ui/src/api/orgService/group.ts +249 -0
- package/ace-app-bolts-ui/src/api/orgService/realm.ts +70 -0
- package/ace-app-bolts-ui/src/api/orgService/resourceScope.ts +132 -0
- package/ace-app-bolts-ui/src/api/orgService/role.ts +145 -0
- package/ace-app-bolts-ui/src/api/orgService/roleCategory.ts +77 -0
- package/ace-app-bolts-ui/src/api/orgService/session.ts +74 -0
- package/ace-app-bolts-ui/src/api/orgService/user.ts +1187 -0
- package/ace-app-bolts-ui/src/api/orgService/userAttrDef.ts +86 -0
- package/ace-app-bolts-ui/src/api/orgService/userAvatar.ts +32 -0
- package/ace-app-bolts-ui/src/api/pushService/MessageTemplate.ts +109 -0
- package/ace-app-bolts-ui/src/api/pushService/MessengerTemplateMap.ts +68 -0
- package/ace-app-bolts-ui/src/api/pushService/channel.ts +109 -0
- package/ace-app-bolts-ui/src/api/pushService/messenger.ts +82 -0
- package/ace-app-bolts-ui/src/api/pushService/sockJs.ts +43 -0
- package/ace-app-bolts-ui/src/api/pushService/soketIo.ts +50 -0
- package/ace-app-bolts-ui/src/api/pushService/userSubscription.ts +62 -0
- package/ace-app-bolts-ui/src/global.ts +238 -0
- package/ace-app-bolts-ui/src/http/IAceAxios.ts +183 -0
- package/ace-app-bolts-ui/src/http/types.ts +154 -0
- package/ace-app-bolts-ui/src/http/useAxios.ts +42 -0
- package/ace-app-bolts-ui/src/http/useLoading.ts +18 -0
- package/ace-app-bolts-ui/src/index.ts +250 -0
- package/ace-app-bolts-ui/src/locales/i18nLoader.ts +42 -0
- package/ace-app-bolts-ui/src/locales/setupI18n.ts +77 -0
- package/ace-app-bolts-ui/src/locales/useLocale.ts +70 -0
- package/ace-app-bolts-ui/src/models/AppBridge.ts +68 -0
- package/ace-app-bolts-ui/src/models/EntityBase.ts +10 -0
- package/ace-app-bolts-ui/src/models/LinkTreeNodeAddParam.ts +9 -0
- package/ace-app-bolts-ui/src/models/Page.ts +49 -0
- package/ace-app-bolts-ui/src/models/PageModel.ts +30 -0
- package/ace-app-bolts-ui/src/models/ProjectedSortPathTreeNode.ts +21 -0
- package/ace-app-bolts-ui/src/models/ProjectedUser.ts +17 -0
- package/ace-app-bolts-ui/src/models/Roles.ts +223 -0
- package/ace-app-bolts-ui/src/models/SortPathTreeNode.ts +21 -0
- package/ace-app-bolts-ui/src/models/SortPathTreeNodeAddParam.ts +13 -0
- package/ace-app-bolts-ui/src/models/SysSetting.ts +35 -0
- package/ace-app-bolts-ui/src/models/SystemSetting.ts +0 -0
- package/ace-app-bolts-ui/src/models/appService/AceInstallInfo.ts +43 -0
- package/ace-app-bolts-ui/src/models/appService/AppAdmin.ts +71 -0
- package/ace-app-bolts-ui/src/models/appService/AppInstance.ts +210 -0
- package/ace-app-bolts-ui/src/models/appService/AppMessage.ts +64 -0
- package/ace-app-bolts-ui/src/models/appService/AppRouter.ts +121 -0
- package/ace-app-bolts-ui/src/models/appService/AppService.ts +113 -0
- package/ace-app-bolts-ui/src/models/appService/AppSettingGroup.ts +81 -0
- package/ace-app-bolts-ui/src/models/appService/AppSettings.ts +163 -0
- package/ace-app-bolts-ui/src/models/appService/AppliedPasswordPolicy.ts +87 -0
- package/ace-app-bolts-ui/src/models/appService/ExternalApp.ts +272 -0
- package/ace-app-bolts-ui/src/models/appService/FailedEvent.ts +85 -0
- package/ace-app-bolts-ui/src/models/auditService/Audit.ts +160 -0
- package/ace-app-bolts-ui/src/models/bizFlow/CandidateNode.ts +43 -0
- package/ace-app-bolts-ui/src/models/bizFlow/FlowCommentDto.ts +45 -0
- package/ace-app-bolts-ui/src/models/bizFlow/FlowDefinitionDto.ts +80 -0
- package/ace-app-bolts-ui/src/models/bizFlow/FlowInstanceDto.ts +84 -0
- package/ace-app-bolts-ui/src/models/bizFlow/FlowProcessRequest.ts +80 -0
- package/ace-app-bolts-ui/src/models/bizFlow/FlowVariableValueDto.ts +21 -0
- package/ace-app-bolts-ui/src/models/bizFlow/NodeInstanceDto.ts +56 -0
- package/ace-app-bolts-ui/src/models/bizFlow/NodeLinkDto.ts +29 -0
- package/ace-app-bolts-ui/src/models/bizFlow/ProjectedFlowDefinitionDto.ts +62 -0
- package/ace-app-bolts-ui/src/models/bizFlow/ReplyCommentCommand.ts +47 -0
- package/ace-app-bolts-ui/src/models/bizFlow/SearchFlowDefinitionDto.ts +29 -0
- package/ace-app-bolts-ui/src/models/bizFlow/TaskInstanceDto.ts +57 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/AbstractNode.ts +37 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/CancelCheckoutFlowDefinitionCommand.ts +18 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/CheckinFlowDefinitionCommand.ts +26 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/CheckoutFlowDefinitionCommand.ts +18 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/CreateFlowDefinitionCommand.ts +58 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/DeleteWorkflowDefinitionCommand.ts +18 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/EndNode.ts +24 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/Flow.ts +95 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/ForwardCriteria.ts +24 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/Link.ts +40 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/StartNode.ts +82 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/TaskNode.ts +180 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/UpdateFlowModelCommand.ts +28 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/Variable.ts +33 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/index.ts +24 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BaseParty.ts +20 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyAll.ts +16 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyByGroup.ts +23 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyByUserAttribute.ts +29 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyCustomFilter.ts +20 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyDeptSpecifiedByVariable.ts +20 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyEntityOfDeptSpecifiedByVariable.ts +20 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyHasRole.ts +23 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyInDept.ts +23 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyInInitiatorDept.ts +16 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyInInitiatorEntityDept.ts +16 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyInitiator.ts +16 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyOfElResult.ts +20 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyOfPrevNode.ts +16 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyOfPrevOwnerDept.ts +16 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyOfPrevOwnerEntityDept.ts +16 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartyOfSpecificNode.ts +20 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartySpecific.ts +23 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartySpecificNodeDept.ts +20 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartySpecificNodeEntityDept.ts +20 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartySpecifiedByGroupVariable.ts +20 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/BasePartySpecifiedByVariable.ts +20 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/ConditionalParty.ts +29 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/MergeParty.ts +25 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/Party.ts +20 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/party/index.ts +31 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/rule/AbstractCompareRule.ts +28 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/rule/AndOrRule.ts +28 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/rule/BizRule.ts +20 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/rule/ExpressionRule.ts +20 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/rule/IsNullOrEmptyRule.ts +20 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/rule/NotRule.ts +20 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/rule/NumberCompareRule.ts +21 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/rule/ReferencedRule.ts +20 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/rule/StringCompareRule.ts +21 -0
- package/ace-app-bolts-ui/src/models/bizFlow/definition/rule/index.ts +15 -0
- package/ace-app-bolts-ui/src/models/bizFlow/enums.ts +219 -0
- package/ace-app-bolts-ui/src/models/bizFlow/index.ts +21 -0
- package/ace-app-bolts-ui/src/models/domainModel/index.ts +4145 -0
- package/ace-app-bolts-ui/src/models/expr/ExpressionBuilder.ts +654 -0
- package/ace-app-bolts-ui/src/models/expr/Interfaces.ts +1081 -0
- package/ace-app-bolts-ui/src/models/expr/impls/agg.ts +192 -0
- package/ace-app-bolts-ui/src/models/expr/impls/any.ts +92 -0
- package/ace-app-bolts-ui/src/models/expr/impls/base.ts +24 -0
- package/ace-app-bolts-ui/src/models/expr/impls/bool.ts +321 -0
- package/ace-app-bolts-ui/src/models/expr/impls/collection.ts +14 -0
- package/ace-app-bolts-ui/src/models/expr/impls/constant.ts +85 -0
- package/ace-app-bolts-ui/src/models/expr/impls/dateTime.ts +59 -0
- package/ace-app-bolts-ui/src/models/expr/impls/nullfun.ts +170 -0
- package/ace-app-bolts-ui/src/models/expr/impls/num.ts +75 -0
- package/ace-app-bolts-ui/src/models/expr/impls/path.ts +317 -0
- package/ace-app-bolts-ui/src/models/expr/impls/strfun.ts +112 -0
- package/ace-app-bolts-ui/src/models/expr/impls/subQuery.ts +211 -0
- package/ace-app-bolts-ui/src/models/expr/impls/when.ts +125 -0
- package/ace-app-bolts-ui/src/models/expr/mixins.ts +1946 -0
- package/ace-app-bolts-ui/src/models/expr/querySpecification.ts +136 -0
- package/ace-app-bolts-ui/src/models/fileService/index.ts +1060 -0
- package/ace-app-bolts-ui/src/models/idGenService/LeafSegment.ts +48 -0
- package/ace-app-bolts-ui/src/models/idGenService/StringIdTemplate.ts +199 -0
- package/ace-app-bolts-ui/src/models/orgService/CustomGroup.ts +62 -0
- package/ace-app-bolts-ui/src/models/orgService/Department.ts +125 -0
- package/ace-app-bolts-ui/src/models/orgService/DepartmentAttributeDef.ts +121 -0
- package/ace-app-bolts-ui/src/models/orgService/Group.ts +244 -0
- package/ace-app-bolts-ui/src/models/orgService/Realm.ts +34 -0
- package/ace-app-bolts-ui/src/models/orgService/Role.ts +284 -0
- package/ace-app-bolts-ui/src/models/orgService/Session.ts +33 -0
- package/ace-app-bolts-ui/src/models/orgService/User.ts +650 -0
- package/ace-app-bolts-ui/src/models/orgService/UserAttributeDef.ts +53 -0
- package/ace-app-bolts-ui/src/models/orgService/dsl.ts +254 -0
- package/ace-app-bolts-ui/src/models/pushService/Messenger.ts +519 -0
- package/ace-app-bolts-ui/src/settings/cacheSetting.ts +20 -0
- package/ace-app-bolts-ui/src/settings/localeSetting.ts +133 -0
- package/ace-app-bolts-ui/src/stores/index.ts +19 -0
- package/ace-app-bolts-ui/src/stores/loginUserStore.ts +35 -0
- package/ace-app-bolts-ui/src/stores/useEnums.ts +45 -0
- package/ace-app-bolts-ui/src/utils/LRUCache.ts +52 -0
- package/ace-app-bolts-ui/src/utils/cache/index.ts +50 -0
- package/ace-app-bolts-ui/src/utils/cache/storageCache.ts +124 -0
- package/ace-app-bolts-ui/src/utils/cipher.ts +81 -0
- package/ace-app-bolts-ui/src/utils/common.ts +13 -0
- package/ace-app-bolts-ui/src/utils/treeSort.ts +0 -0
- package/ace-app-bolts-ui/src/vite-env.d.ts +2 -0
- package/ace-app-bolts-ui/tsconfig.json +22 -0
- package/ace-app-bolts-ui/tsconfig.tsbuildinfo +1 -0
- package/ace-app-manager-ui/.env +5 -0
- package/ace-app-manager-ui/.env.development +1 -0
- package/ace-app-manager-ui/.env.production +1 -0
- package/ace-app-manager-ui/.eslintrc.cjs +48 -0
- package/ace-app-manager-ui/README.md +18 -0
- package/ace-app-manager-ui/auto-imports.d.ts +11 -0
- package/ace-app-manager-ui/components.d.ts +118 -0
- package/ace-app-manager-ui/customVitePlugin.d.ts +6 -0
- package/ace-app-manager-ui/customVitePlugin.js +37 -0
- package/ace-app-manager-ui/customVitePlugin.ts +44 -0
- package/ace-app-manager-ui/index.html +12 -0
- package/ace-app-manager-ui/jsconfig.json +19 -0
- package/ace-app-manager-ui/package.json +66 -0
- package/ace-app-manager-ui/src/App.vue +32 -0
- package/ace-app-manager-ui/src/assets/baseData/AppManageMenu.ts +284 -0
- package/ace-app-manager-ui/src/assets/baseData/GlobalManageMenu.ts +75 -0
- package/ace-app-manager-ui/src/assets/logo.png +0 -0
- package/ace-app-manager-ui/src/assets/scss/element/element-var.scss +1117 -0
- package/ace-app-manager-ui/src/assets/scss/element/index.scss +72 -0
- package/ace-app-manager-ui/src/assets/scss/normalize.scss +524 -0
- package/ace-app-manager-ui/src/assets/scss/vars.scss +12 -0
- package/ace-app-manager-ui/src/components/appSelector/Index.vue +23 -0
- package/ace-app-manager-ui/src/components/departmentPicker/index.ts +3 -0
- package/ace-app-manager-ui/src/components/departmentPicker/src/SinglePicker.vue +102 -0
- package/ace-app-manager-ui/src/components/departmentSelector/index.ts +4 -0
- package/ace-app-manager-ui/src/components/departmentSelector/src/SingleSelector.vue +123 -0
- package/ace-app-manager-ui/src/components/departmentSelector/src/consts.ts +2 -0
- package/ace-app-manager-ui/src/components/enumPicker/EnumPicker.vue +57 -0
- package/ace-app-manager-ui/src/components/fieldControl/index.ts +2 -0
- package/ace-app-manager-ui/src/components/fieldControl/src/FieldControl.vue +130 -0
- package/ace-app-manager-ui/src/components/header/ManageHeader.vue +43 -0
- package/ace-app-manager-ui/src/components/icon/JaIcon.vue +50 -0
- package/ace-app-manager-ui/src/components/icon/svg/SvgIcon.vue +56 -0
- package/ace-app-manager-ui/src/components/iconColorPicker/index.ts +7 -0
- package/ace-app-manager-ui/src/components/iconColorPicker/src/IconColorPicker.vue +104 -0
- package/ace-app-manager-ui/src/components/iconColorPicker/src/colorPicker/ColorPicker.vue +128 -0
- package/ace-app-manager-ui/src/components/iconColorPicker/src/colorPicker/baseData/colors.ts +155 -0
- package/ace-app-manager-ui/src/components/iconColorPicker/src/iconPicker/IconPicker.vue +221 -0
- package/ace-app-manager-ui/src/components/iconColorPicker/src/iconPicker/baseData/icons.json +1364 -0
- package/ace-app-manager-ui/src/components/multipleSelector/MultipleSelector.vue +136 -0
- package/ace-app-manager-ui/src/components/pages/AppEnter.vue +358 -0
- package/ace-app-manager-ui/src/components/pages/PageEnter.vue +227 -0
- package/ace-app-manager-ui/src/components/pages/components/topBar.vue +93 -0
- package/ace-app-manager-ui/src/components/realmPicker/index.ts +3 -0
- package/ace-app-manager-ui/src/components/realmPicker/src/RealmPicker.vue +194 -0
- package/ace-app-manager-ui/src/components/realmPicker/src/components/RealmEditor.vue +149 -0
- package/ace-app-manager-ui/src/components/roleSelector/index.ts +3 -0
- package/ace-app-manager-ui/src/components/roleSelector/src/RoleMultiSelector.vue +194 -0
- package/ace-app-manager-ui/src/components/settingValueEditor/ValueEditor.vue +180 -0
- package/ace-app-manager-ui/src/components/subPage/index.ts +3 -0
- package/ace-app-manager-ui/src/components/subPage/src/SubPage.vue +90 -0
- package/ace-app-manager-ui/src/components/userGroupSelector/index.ts +3 -0
- package/ace-app-manager-ui/src/components/userGroupSelector/src/UserGroupMultiSelector.vue +131 -0
- package/ace-app-manager-ui/src/hooks/useAppState.ts +31 -0
- package/ace-app-manager-ui/src/hooks/useDateFormats.ts +34 -0
- package/ace-app-manager-ui/src/hooks/usePageSize.ts +1 -0
- package/ace-app-manager-ui/src/hooks/useRealms.ts +27 -0
- package/ace-app-manager-ui/src/hooks/useUserQuery.ts +133 -0
- package/ace-app-manager-ui/src/init.ts +18 -0
- package/ace-app-manager-ui/src/locales/lang/en/common.json +3 -0
- package/ace-app-manager-ui/src/locales/lang/en/errors.json +42 -0
- package/ace-app-manager-ui/src/locales/lang/en.ts +14 -0
- package/ace-app-manager-ui/src/locales/lang/zh-CN/common.json +218 -0
- package/ace-app-manager-ui/src/locales/lang/zh-CN/errors.json +42 -0
- package/ace-app-manager-ui/src/locales/lang/zh-CN.ts +13 -0
- package/ace-app-manager-ui/src/locales/setupI18n.ts +14 -0
- package/ace-app-manager-ui/src/main.ts +114 -0
- package/ace-app-manager-ui/src/public-path.js +10 -0
- package/ace-app-manager-ui/src/router/index.ts +33 -0
- package/ace-app-manager-ui/src/router/modules/appRoutes.ts +24 -0
- package/ace-app-manager-ui/src/router/modules/demoRoutes.ts +22 -0
- package/ace-app-manager-ui/src/router/routes.ts +690 -0
- package/ace-app-manager-ui/src/stores/index.ts +3 -0
- package/ace-app-manager-ui/src/stores/modules/locale.ts +60 -0
- package/ace-app-manager-ui/src/stores/modules/system.ts +51 -0
- package/ace-app-manager-ui/src/types/ext.d.ts +13 -0
- package/ace-app-manager-ui/src/types/style.d.ts +7 -0
- package/ace-app-manager-ui/src/types/window.d.ts +24 -0
- package/ace-app-manager-ui/src/utils/index.ts +7 -0
- package/ace-app-manager-ui/src/utils/vxeTable.ts +58 -0
- package/ace-app-manager-ui/src/vars.scss +12 -0
- package/ace-app-manager-ui/src/views/appManage/AppManage.vue +266 -0
- package/ace-app-manager-ui/src/views/appManage/appInfo/AppInfo.vue +309 -0
- package/ace-app-manager-ui/src/views/appManage/appRelease/AppRelease.vue +181 -0
- package/ace-app-manager-ui/src/views/appManage/appRelease/components/Editor.vue +253 -0
- package/ace-app-manager-ui/src/views/appManage/appRouter/AppRouter.vue +381 -0
- package/ace-app-manager-ui/src/views/appManage/appRouter/base/index.ts +204 -0
- package/ace-app-manager-ui/src/views/appManage/appRouter/components/Editor.vue +368 -0
- package/ace-app-manager-ui/src/views/appManage/appRouter/components/MenuSelector.vue +12 -0
- package/ace-app-manager-ui/src/views/appManage/assignAppAdmin/AssignAppAdmin.vue +231 -0
- package/ace-app-manager-ui/src/views/appManage/assignAppAdmin/components/Editor.vue +135 -0
- package/ace-app-manager-ui/src/views/appManage/commandDefine/Index.vue +53 -0
- package/ace-app-manager-ui/src/views/appManage/commandDefine/components/CommandEditor.vue +209 -0
- package/ace-app-manager-ui/src/views/appManage/commandDefine/components/CommandParamEditor.vue +246 -0
- package/ace-app-manager-ui/src/views/appManage/commandDefine/components/ConstraintsEditor.vue +239 -0
- package/ace-app-manager-ui/src/views/appManage/commandDefine/components/CreateEntityOperationsEditor.vue +90 -0
- package/ace-app-manager-ui/src/views/appManage/commandDefine/components/LeftPanel.vue +282 -0
- package/ace-app-manager-ui/src/views/appManage/commandDefine/components/RightPanel.vue +249 -0
- package/ace-app-manager-ui/src/views/appManage/components/AppManageLayout.vue +94 -0
- package/ace-app-manager-ui/src/views/appManage/components/GlobalUserGroupSingleSelector.vue +124 -0
- package/ace-app-manager-ui/src/views/appManage/components/SelectRealmForApp.vue +59 -0
- package/ace-app-manager-ui/src/views/appManage/components/ServiceSelector.vue +34 -0
- package/ace-app-manager-ui/src/views/appManage/components/SubMenu.vue +32 -0
- package/ace-app-manager-ui/src/views/appManage/components/UserGroupAuthSFC.vue +453 -0
- package/ace-app-manager-ui/src/views/appManage/components/UserGroupSingleSelector.vue +115 -0
- package/ace-app-manager-ui/src/views/appManage/configDefine/ConfigDefine.vue +392 -0
- package/ace-app-manager-ui/src/views/appManage/configDefine/GroupEditor.vue +133 -0
- package/ace-app-manager-ui/src/views/appManage/configDefine/SettingEditor.vue +231 -0
- package/ace-app-manager-ui/src/views/appManage/dataSourceDefine/DataSourceDefine.vue +198 -0
- package/ace-app-manager-ui/src/views/appManage/dataSourceDefine/createNewDidalog.vue +177 -0
- package/ace-app-manager-ui/src/views/appManage/dataSourceDefine/editDialog.vue +137 -0
- package/ace-app-manager-ui/src/views/appManage/digitalSequence/DigitalSequence.vue +163 -0
- package/ace-app-manager-ui/src/views/appManage/dtoDefine/AppendEntityPropToDtoDlg.vue +351 -0
- package/ace-app-manager-ui/src/views/appManage/dtoDefine/CreateDtoPropFromEntityPropEditor.vue +516 -0
- package/ace-app-manager-ui/src/views/appManage/dtoDefine/CreateFromEntityEditor.vue +217 -0
- package/ace-app-manager-ui/src/views/appManage/dtoDefine/DtoDefine.vue +77 -0
- package/ace-app-manager-ui/src/views/appManage/dtoDefine/components/DtoEditor.vue +144 -0
- package/ace-app-manager-ui/src/views/appManage/dtoDefine/components/LeftPanel.vue +283 -0
- package/ace-app-manager-ui/src/views/appManage/dtoDefine/components/PropertyEditor.vue +586 -0
- package/ace-app-manager-ui/src/views/appManage/dtoDefine/components/RightPanel.vue +574 -0
- package/ace-app-manager-ui/src/views/appManage/dtoDefine/components/uilts.ts +108 -0
- package/ace-app-manager-ui/src/views/appManage/dtoDefine/types.ts +42 -0
- package/ace-app-manager-ui/src/views/appManage/entityDefine/EntityDefine.vue +80 -0
- package/ace-app-manager-ui/src/views/appManage/entityDefine/components/AggregateEditor.vue +93 -0
- package/ace-app-manager-ui/src/views/appManage/entityDefine/components/EntityEditor.vue +281 -0
- package/ace-app-manager-ui/src/views/appManage/entityDefine/components/ImportEditor.vue +329 -0
- package/ace-app-manager-ui/src/views/appManage/entityDefine/components/IndexDefinitionEditor.vue +424 -0
- package/ace-app-manager-ui/src/views/appManage/entityDefine/components/LeftPanel.vue +343 -0
- package/ace-app-manager-ui/src/views/appManage/entityDefine/components/MonacoEditor.vue +1659 -0
- package/ace-app-manager-ui/src/views/appManage/entityDefine/components/PropertyEditor.vue +956 -0
- package/ace-app-manager-ui/src/views/appManage/entityDefine/components/RightPanel.vue +660 -0
- package/ace-app-manager-ui/src/views/appManage/entityDefine/components/monacoEditorType.ts +74 -0
- package/ace-app-manager-ui/src/views/appManage/entityDefine/uilts.ts +108 -0
- package/ace-app-manager-ui/src/views/appManage/enumDefine/EnumDefine.vue +169 -0
- package/ace-app-manager-ui/src/views/appManage/enumDefine/editDialog.vue +266 -0
- package/ace-app-manager-ui/src/views/appManage/extendedDepartmentAttr/ExtendedDepartmentAttr.vue +272 -0
- package/ace-app-manager-ui/src/views/appManage/extendedDepartmentAttr/components/Editor.vue +267 -0
- package/ace-app-manager-ui/src/views/appManage/extendedUserAttr/ExtendedUserAttr.vue +270 -0
- package/ace-app-manager-ui/src/views/appManage/extendedUserAttr/components/Editor.vue +291 -0
- package/ace-app-manager-ui/src/views/appManage/globalUserGroupAuth/GlobalUserGroupAuth.vue +18 -0
- package/ace-app-manager-ui/src/views/appManage/i18nDefine/BundleEditor.vue +77 -0
- package/ace-app-manager-ui/src/views/appManage/i18nDefine/Editor.vue +78 -0
- package/ace-app-manager-ui/src/views/appManage/i18nDefine/I18nDefine.vue +173 -0
- package/ace-app-manager-ui/src/views/appManage/messageTemplate/Editor.vue +191 -0
- package/ace-app-manager-ui/src/views/appManage/messageTemplate/MessageTemplate.vue +142 -0
- package/ace-app-manager-ui/src/views/appManage/numberTemplate/NumberTemplate.vue +166 -0
- package/ace-app-manager-ui/src/views/appManage/numberTemplate/components/Editor.vue +373 -0
- package/ace-app-manager-ui/src/views/appManage/processDefinition/Editor.vue +168 -0
- package/ace-app-manager-ui/src/views/appManage/processDefinition/ProcessDefinition.vue +362 -0
- package/ace-app-manager-ui/src/views/appManage/queryDefine/Index.vue +52 -0
- package/ace-app-manager-ui/src/views/appManage/queryDefine/components/ConstraintsEditor.vue +239 -0
- package/ace-app-manager-ui/src/views/appManage/queryDefine/components/JpqlEditor.vue +229 -0
- package/ace-app-manager-ui/src/views/appManage/queryDefine/components/LeftPanel.vue +282 -0
- package/ace-app-manager-ui/src/views/appManage/queryDefine/components/QueryEditor.vue +294 -0
- package/ace-app-manager-ui/src/views/appManage/queryDefine/components/QueryParamEditor.vue +253 -0
- package/ace-app-manager-ui/src/views/appManage/queryDefine/components/RightPanel.vue +247 -0
- package/ace-app-manager-ui/src/views/appManage/registerMessenger/Editor.vue +108 -0
- package/ace-app-manager-ui/src/views/appManage/registerMessenger/RegisterMessenger.vue +127 -0
- package/ace-app-manager-ui/src/views/appManage/registerPassageway/Editor.vue +117 -0
- package/ace-app-manager-ui/src/views/appManage/registerPassageway/RegisterPassageway.vue +150 -0
- package/ace-app-manager-ui/src/views/appManage/registerUpload/RegisterUpload.vue +267 -0
- package/ace-app-manager-ui/src/views/appManage/registerUpload/components/Editor.vue +425 -0
- package/ace-app-manager-ui/src/views/appManage/registerUpload/components/QuotaEditor.vue +202 -0
- package/ace-app-manager-ui/src/views/appManage/registerUpload/components/WebHookEditor.vue +174 -0
- package/ace-app-manager-ui/src/views/appManage/reverseAuth/ReverseAuth.vue +620 -0
- package/ace-app-manager-ui/src/views/appManage/reverseAuth/components/AddRoleUserDialog.vue +59 -0
- package/ace-app-manager-ui/src/views/appManage/reverseAuth/types.d.ts +7 -0
- package/ace-app-manager-ui/src/views/appManage/roleDefine/RoleDefine.vue +272 -0
- package/ace-app-manager-ui/src/views/appManage/roleDefine/components/CompositeRole.vue +195 -0
- package/ace-app-manager-ui/src/views/appManage/roleDefine/components/RoleEditor.vue +161 -0
- package/ace-app-manager-ui/src/views/appManage/roleDefine/components/RoleSelector.vue +135 -0
- package/ace-app-manager-ui/src/views/appManage/serviceManage/AppServiceManage.vue +204 -0
- package/ace-app-manager-ui/src/views/appManage/serviceManage/components/Editor.vue +153 -0
- package/ace-app-manager-ui/src/views/appManage/thirdPartyAppAuth/ThirdPartyAppAuth.vue +178 -0
- package/ace-app-manager-ui/src/views/appManage/types.ts +1 -0
- package/ace-app-manager-ui/src/views/appManage/userAuth/UserAuth.vue +668 -0
- package/ace-app-manager-ui/src/views/appManage/userGroupAuth/UserGroupAuth.vue +18 -0
- package/ace-app-manager-ui/src/views/appManage/userGroupManage/UserGroupManage.vue +326 -0
- package/ace-app-manager-ui/src/views/appManage/userGroupManage/components/Editor.vue +217 -0
- package/ace-app-manager-ui/src/views/appManage/userGroupManage/components/MemberUsers.vue +101 -0
- package/ace-app-manager-ui/src/views/demo/enumPicker/Index.vue +94 -0
- package/ace-app-manager-ui/src/views/demo/enumPicker/components/enumPicker/index.ts +1 -0
- package/ace-app-manager-ui/src/views/demo/enumPicker/components/enumPicker/src/EnumPicker.vue +103 -0
- package/ace-app-manager-ui/src/views/globalManage/GlobalManage.vue +150 -0
- package/ace-app-manager-ui/src/views/globalManage/aboutPlatform/AboutPlatform.vue +7 -0
- package/ace-app-manager-ui/src/views/globalManage/auditLogsManage/AuditLogDetail.vue +127 -0
- package/ace-app-manager-ui/src/views/globalManage/auditLogsManage/AuditLogsManage.vue +387 -0
- package/ace-app-manager-ui/src/views/globalManage/components/ExtendedAttrRender.vue +311 -0
- package/ace-app-manager-ui/src/views/globalManage/departmentManage/DepartmentManage.vue +336 -0
- package/ace-app-manager-ui/src/views/globalManage/departmentManage/RecycleBin.vue +127 -0
- package/ace-app-manager-ui/src/views/globalManage/departmentManage/components/DefaultGroupEditor.vue +191 -0
- package/ace-app-manager-ui/src/views/globalManage/departmentManage/components/Editor.vue +164 -0
- package/ace-app-manager-ui/src/views/globalManage/eventCompensate/Index.vue +189 -0
- package/ace-app-manager-ui/src/views/globalManage/externalAppManage/ExternalAppManage.vue +305 -0
- package/ace-app-manager-ui/src/views/globalManage/externalAppManage/components/Editor.vue +227 -0
- package/ace-app-manager-ui/src/views/globalManage/externalAppManage/components/RenewSecret.vue +91 -0
- package/ace-app-manager-ui/src/views/globalManage/globalSetting/Editor.vue +177 -0
- package/ace-app-manager-ui/src/views/globalManage/globalSetting/GlobalSettingManage.vue +201 -0
- package/ace-app-manager-ui/src/views/globalManage/globalSetting/types.ts +14 -0
- package/ace-app-manager-ui/src/views/globalManage/passwordManage/PasswordManage.vue +224 -0
- package/ace-app-manager-ui/src/views/globalManage/passwordManage/ValueEditor.vue +92 -0
- package/ace-app-manager-ui/src/views/globalManage/sessionManage/SessionManage.vue +251 -0
- package/ace-app-manager-ui/src/views/globalManage/userGroupManage/UserGroupManage.vue +332 -0
- package/ace-app-manager-ui/src/views/globalManage/userGroupManage/components/Editor.vue +160 -0
- package/ace-app-manager-ui/src/views/globalManage/userGroupManage/components/MemberUsers.vue +100 -0
- package/ace-app-manager-ui/src/views/globalManage/userManage/RecycleBin.vue +344 -0
- package/ace-app-manager-ui/src/views/globalManage/userManage/UserManage.vue +631 -0
- package/ace-app-manager-ui/src/views/globalManage/userManage/components/AttributeEditor.vue +191 -0
- package/ace-app-manager-ui/src/views/globalManage/userManage/components/ClassifiedLevelEditor.vue +79 -0
- package/ace-app-manager-ui/src/views/globalManage/userManage/components/DepartmentEditor.vue +70 -0
- package/ace-app-manager-ui/src/views/globalManage/userManage/components/Editor.vue +475 -0
- package/ace-app-manager-ui/src/views/globalManage/userManage/components/ExpirationEditor.vue +82 -0
- package/ace-app-manager-ui/src/views/globalManage/userManage/components/MaxSessionEditor.vue +76 -0
- package/ace-app-manager-ui/src/views/globalManage/userManage/components/PasswordEditor.vue +107 -0
- package/ace-app-manager-ui/src/views/home/Index.vue +457 -0
- package/ace-app-manager-ui/src/views/home/components/AppEditor.vue +208 -0
- package/ace-app-manager-ui/src/views/home/components/AppManage.vue +252 -0
- package/ace-app-manager-ui/src/views/home/components/FileRepositoryEditor.vue +292 -0
- package/ace-app-manager-ui/src/views/home/components/FileRepositoryManage.vue +246 -0
- package/ace-app-manager-ui/src/vite-env.d.ts +4 -0
- package/ace-app-manager-ui/tsconfig.json +41 -0
- package/ace-app-manager-ui/tsconfig.node.json +15 -0
- package/ace-app-manager-ui/tsconfig.node.tsbuildinfo +1 -0
- package/ace-app-manager-ui/vite.config.d.ts +2 -0
- package/ace-app-manager-ui/vite.config.js +112 -0
- package/ace-app-manager-ui/vite.config.ts +116 -0
- package/ace-app-manager-ui/vue-image-crop-upload.d.ts +1 -0
- package/ace-cloud-shell-ui/.env +2 -0
- package/ace-cloud-shell-ui/.env.development +5 -0
- package/ace-cloud-shell-ui/.env.production +1 -0
- package/ace-cloud-shell-ui/.eslintrc.js +33 -0
- package/ace-cloud-shell-ui/.vscode/extensions.json +6 -0
- package/ace-cloud-shell-ui/.vscode/settings.json +27 -0
- package/ace-cloud-shell-ui/auto-imports.d.ts +9 -0
- package/ace-cloud-shell-ui/components.d.ts +58 -0
- package/ace-cloud-shell-ui/doc/issue.md +6 -0
- package/ace-cloud-shell-ui/index.html +19 -0
- package/ace-cloud-shell-ui/package.json +72 -0
- package/ace-cloud-shell-ui/public/res/build/shell/favicon.ico +0 -0
- package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/.keep +0 -0
- package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/index.html +156 -0
- package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.css +2583 -0
- package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.eot +0 -0
- package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.glyph.json +1 -0
- package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.less +2585 -0
- package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.module.less +2567 -0
- package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.scss +5103 -0
- package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.styl +2554 -0
- package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.svg +7633 -0
- package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.symbol.svg +11 -0
- package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.ttf +0 -0
- package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.woff +0 -0
- package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.woff2 +0 -0
- package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/symbol.html +17913 -0
- package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/tags.json +1364 -0
- package/ace-cloud-shell-ui/public/res/build/shell/fonts/remixIcon/unicode.html +175 -0
- package/ace-cloud-shell-ui/public/res/build/shell/images/hidden-right-sidebar.png +0 -0
- package/ace-cloud-shell-ui/public/res/build/shell/images/icon/deliver.svg +1 -0
- package/ace-cloud-shell-ui/public/res/build/shell/images/icon/logout.svg +28 -0
- package/ace-cloud-shell-ui/public/res/build/shell/images/jari-logo-2.png +0 -0
- package/ace-cloud-shell-ui/public/res/build/shell/images/jari-logo.png +0 -0
- package/ace-cloud-shell-ui/public/res/build/shell/images/public-code.png +0 -0
- package/ace-cloud-shell-ui/public/res/build/shell/images/show-right-sidebar.png +0 -0
- package/ace-cloud-shell-ui/public/res/build/shell/images/svg/shezhi.svg +11 -0
- package/ace-cloud-shell-ui/public/res/build/shell/images/svg/tuichu.svg +13 -0
- package/ace-cloud-shell-ui/public/res/build/shell/images/svg/xiaoxi.svg +13 -0
- package/ace-cloud-shell-ui/src/App.vue +24 -0
- package/ace-cloud-shell-ui/src/assets/base.css +80 -0
- package/ace-cloud-shell-ui/src/assets/element/index.scss +13 -0
- package/ace-cloud-shell-ui/src/assets/element/var.scss +1123 -0
- package/ace-cloud-shell-ui/src/assets/logo.svg +7 -0
- package/ace-cloud-shell-ui/src/assets/main.scss +128 -0
- package/ace-cloud-shell-ui/src/env.d.ts +14 -0
- package/ace-cloud-shell-ui/src/hooks/useSockJs.ts +146 -0
- package/ace-cloud-shell-ui/src/init.ts +21 -0
- package/ace-cloud-shell-ui/src/layout/Main.vue +160 -0
- package/ace-cloud-shell-ui/src/layout/components/AppMenu.vue +329 -0
- package/ace-cloud-shell-ui/src/layout/components/Fillet.vue +105 -0
- package/ace-cloud-shell-ui/src/layout/components/Sidebar.vue +194 -0
- package/ace-cloud-shell-ui/src/locales/lang/en/common.json +17 -0
- package/ace-cloud-shell-ui/src/locales/lang/en/errors.json +42 -0
- package/ace-cloud-shell-ui/src/locales/lang/en/layout.json +8 -0
- package/ace-cloud-shell-ui/src/locales/lang/en/updatePsw.json +9 -0
- package/ace-cloud-shell-ui/src/locales/lang/en/userProfile.json +3 -0
- package/ace-cloud-shell-ui/src/locales/lang/en.ts +14 -0
- package/ace-cloud-shell-ui/src/locales/lang/zh-CN/common.json +17 -0
- package/ace-cloud-shell-ui/src/locales/lang/zh-CN/errors.json +42 -0
- package/ace-cloud-shell-ui/src/locales/lang/zh-CN/layout.json +8 -0
- package/ace-cloud-shell-ui/src/locales/lang/zh-CN/updatePsw.json +9 -0
- package/ace-cloud-shell-ui/src/locales/lang/zh-CN/userProfile.json +3 -0
- package/ace-cloud-shell-ui/src/locales/lang/zh-CN.ts +14 -0
- package/ace-cloud-shell-ui/src/locales/setupI18n.ts +14 -0
- package/ace-cloud-shell-ui/src/main.ts +130 -0
- package/ace-cloud-shell-ui/src/router/index.ts +107 -0
- package/ace-cloud-shell-ui/src/shims-vue.d.ts +21 -0
- package/ace-cloud-shell-ui/src/stores/modules/accessibleApps.ts +149 -0
- package/ace-cloud-shell-ui/src/stores/modules/app.ts +147 -0
- package/ace-cloud-shell-ui/src/stores/modules/appContext.ts +53 -0
- package/ace-cloud-shell-ui/src/stores/modules/locale.ts +63 -0
- package/ace-cloud-shell-ui/src/stores/modules/oidc.ts +71 -0
- package/ace-cloud-shell-ui/src/stores/modules/system.ts +32 -0
- package/ace-cloud-shell-ui/src/types/ext.d.ts +35 -0
- package/ace-cloud-shell-ui/src/types/router.d.ts +12 -0
- package/ace-cloud-shell-ui/src/types/window.d.ts +15 -0
- package/ace-cloud-shell-ui/src/utils/axios/AceAxios.ts +657 -0
- package/ace-cloud-shell-ui/src/utils/axios/cache.ts +11 -0
- package/ace-cloud-shell-ui/src/utils/axios/index.ts +37 -0
- package/ace-cloud-shell-ui/src/utils/microApp/index.ts +6 -0
- package/ace-cloud-shell-ui/src/views/AboutView.vue +140 -0
- package/ace-cloud-shell-ui/src/views/DlgUpdatePassword.vue +120 -0
- package/ace-cloud-shell-ui/src/views/ExtendedAttrRender.vue +311 -0
- package/ace-cloud-shell-ui/src/views/MicroApp.vue +234 -0
- package/ace-cloud-shell-ui/src/views/UserProfileEditor.vue +303 -0
- package/ace-cloud-shell-ui/src/views/WorkBench.vue +10 -0
- package/ace-cloud-shell-ui/src/views/errors/HttpState404.vue +136 -0
- package/ace-cloud-shell-ui/src/views/errors/NoAppAvailable.vue +16 -0
- package/ace-cloud-shell-ui/src/vite-env.d.ts +3 -0
- package/ace-cloud-shell-ui/tsconfig.app.json +33 -0
- package/ace-cloud-shell-ui/tsconfig.app.tsbuildinfo +1 -0
- package/ace-cloud-shell-ui/tsconfig.config.json +23 -0
- package/ace-cloud-shell-ui/tsconfig.config.tsbuildinfo +1 -0
- package/ace-cloud-shell-ui/tsconfig.json +11 -0
- package/ace-cloud-shell-ui/vbuild/vite/proxy.ts +46 -0
- package/ace-cloud-shell-ui/vite.config.ts +119 -0
- package/ace-cloud-shell-ui/vue-image-crop-upload.d.ts +1 -0
- package/ace-element-plus-component/.babelrc +8 -0
- package/ace-element-plus-component/.env +1 -0
- package/ace-element-plus-component/.env.development +3 -0
- package/ace-element-plus-component/.env.production +1 -0
- package/ace-element-plus-component/.vscode/extensions.json +3 -0
- package/ace-element-plus-component/CHANGE.md +16 -0
- package/ace-element-plus-component/README.md +1 -0
- package/ace-element-plus-component/index.html +14 -0
- package/ace-element-plus-component/index.ts +20 -0
- package/ace-element-plus-component/package.json +72 -0
- package/ace-element-plus-component/packages/components/autoComplete/JaAutoComplete.vue +57 -0
- package/ace-element-plus-component/packages/components/autoComplete/README.md +35 -0
- package/ace-element-plus-component/packages/components/autoComplete/index.ts +5 -0
- package/ace-element-plus-component/packages/components/avatar/JaAvatar.vue +137 -0
- package/ace-element-plus-component/packages/components/avatar/README.md +45 -0
- package/ace-element-plus-component/packages/components/avatar/avatarToken.ts +11 -0
- package/ace-element-plus-component/packages/components/avatar/defaultImg.ts +14 -0
- package/ace-element-plus-component/packages/components/avatar/index.ts +7 -0
- package/ace-element-plus-component/packages/components/button/JaButton.vue +76 -0
- package/ace-element-plus-component/packages/components/button/README.md +57 -0
- package/ace-element-plus-component/packages/components/button/index.ts +4 -0
- package/ace-element-plus-component/packages/components/channelPicker/index.ts +7 -0
- package/ace-element-plus-component/packages/components/channelPicker/src/ChannelPicker.vue +43 -0
- package/ace-element-plus-component/packages/components/channelPicker/src/JaChannelPicker.vue +42 -0
- package/ace-element-plus-component/packages/components/checkbox/JaCheckbox.vue +63 -0
- package/ace-element-plus-component/packages/components/checkbox/README.md +21 -0
- package/ace-element-plus-component/packages/components/checkbox/index.ts +4 -0
- package/ace-element-plus-component/packages/components/checkboxGroup/JaCheckboxGroup.vue +56 -0
- package/ace-element-plus-component/packages/components/checkboxGroup/README.md +24 -0
- package/ace-element-plus-component/packages/components/checkboxGroup/index.ts +4 -0
- package/ace-element-plus-component/packages/components/customGroupTree/index.ts +10 -0
- package/ace-element-plus-component/packages/components/customGroupTree/src/customGroupTree.vue +91 -0
- package/ace-element-plus-component/packages/components/datePicker/JaDatePicker.vue +65 -0
- package/ace-element-plus-component/packages/components/datePicker/README.md +21 -0
- package/ace-element-plus-component/packages/components/datePicker/index.ts +4 -0
- package/ace-element-plus-component/packages/components/departmentPicker/index.ts +4 -0
- package/ace-element-plus-component/packages/components/departmentPicker/src/DepartmentPicker.vue +107 -0
- package/ace-element-plus-component/packages/components/departmentPicker/src/consts.ts +2 -0
- package/ace-element-plus-component/packages/components/departmentTree/index.ts +10 -0
- package/ace-element-plus-component/packages/components/departmentTree/src/departmentTree.vue +135 -0
- package/ace-element-plus-component/packages/components/dropdownButton/JaDropdownButton.vue +77 -0
- package/ace-element-plus-component/packages/components/dropdownButton/README.md +30 -0
- package/ace-element-plus-component/packages/components/dropdownButton/index.ts +4 -0
- package/ace-element-plus-component/packages/components/enumList/EnumListInput.vue +107 -0
- package/ace-element-plus-component/packages/components/enumList/JaEnumList.vue +39 -0
- package/ace-element-plus-component/packages/components/enumList/index.ts +7 -0
- package/ace-element-plus-component/packages/components/enumPicker/index.ts +5 -0
- package/ace-element-plus-component/packages/components/enumPicker/src/EnumPicker.vue +103 -0
- package/ace-element-plus-component/packages/components/flowShell/FlowFormShell.vue +628 -0
- package/ace-element-plus-component/packages/components/flowShell/index.ts +5 -0
- package/ace-element-plus-component/packages/components/form/JaForm.vue +186 -0
- package/ace-element-plus-component/packages/components/form/README.md +30 -0
- package/ace-element-plus-component/packages/components/form/index.ts +5 -0
- package/ace-element-plus-component/packages/components/form/types.ts +4 -0
- package/ace-element-plus-component/packages/components/formItem/JaFormItem.vue +123 -0
- package/ace-element-plus-component/packages/components/formItem/README.md +28 -0
- package/ace-element-plus-component/packages/components/formItem/index.ts +4 -0
- package/ace-element-plus-component/packages/components/index.ts +35 -0
- package/ace-element-plus-component/packages/components/input/JaInput.vue +107 -0
- package/ace-element-plus-component/packages/components/input/README.md +23 -0
- package/ace-element-plus-component/packages/components/input/index.ts +4 -0
- package/ace-element-plus-component/packages/components/inputI18n/I18nBundleEditor.vue +76 -0
- package/ace-element-plus-component/packages/components/inputI18n/InputI18n.vue +152 -0
- package/ace-element-plus-component/packages/components/inputI18n/JaInputI18n.vue +50 -0
- package/ace-element-plus-component/packages/components/inputI18n/index.ts +8 -0
- package/ace-element-plus-component/packages/components/inputNumber/JaInputNumber.vue +79 -0
- package/ace-element-plus-component/packages/components/inputNumber/README.md +21 -0
- package/ace-element-plus-component/packages/components/inputNumber/index.ts +4 -0
- package/ace-element-plus-component/packages/components/mapItemList/JaMapItemList.vue +35 -0
- package/ace-element-plus-component/packages/components/mapItemList/MapItemListInput.vue +191 -0
- package/ace-element-plus-component/packages/components/mapItemList/index.ts +7 -0
- package/ace-element-plus-component/packages/components/numberList/JaNumberList.vue +36 -0
- package/ace-element-plus-component/packages/components/numberList/NumberListInput.vue +111 -0
- package/ace-element-plus-component/packages/components/numberList/index.ts +7 -0
- package/ace-element-plus-component/packages/components/properyPicker/JaPropertyPicker.vue +38 -0
- package/ace-element-plus-component/packages/components/properyPicker/PropertyPicker.vue +310 -0
- package/ace-element-plus-component/packages/components/properyPicker/index.ts +7 -0
- package/ace-element-plus-component/packages/components/radioGroup/JaRadioGroup.vue +61 -0
- package/ace-element-plus-component/packages/components/radioGroup/README.md +24 -0
- package/ace-element-plus-component/packages/components/radioGroup/index.ts +4 -0
- package/ace-element-plus-component/packages/components/rolePicker/RoleCategorySelector.vue +154 -0
- package/ace-element-plus-component/packages/components/rolePicker/RoleEditor.vue +138 -0
- package/ace-element-plus-component/packages/components/rolePicker/RolePicker.vue +44 -0
- package/ace-element-plus-component/packages/components/rolePicker/RolePickerRaw.vue +56 -0
- package/ace-element-plus-component/packages/components/rolePicker/baseRolePicker.vue +84 -0
- package/ace-element-plus-component/packages/components/rolePicker/index.ts +13 -0
- package/ace-element-plus-component/packages/components/scrollbar/README.md +23 -0
- package/ace-element-plus-component/packages/components/scrollbar/Scrollbar.vue +100 -0
- package/ace-element-plus-component/packages/components/scrollbar/index.ts +5 -0
- package/ace-element-plus-component/packages/components/scrollbar/utils.ts +17 -0
- package/ace-element-plus-component/packages/components/select/JaSelect.vue +60 -0
- package/ace-element-plus-component/packages/components/select/README.md +24 -0
- package/ace-element-plus-component/packages/components/select/index.ts +4 -0
- package/ace-element-plus-component/packages/components/stringList/JaStringList.vue +36 -0
- package/ace-element-plus-component/packages/components/stringList/StringListInput.vue +96 -0
- package/ace-element-plus-component/packages/components/stringList/index.ts +7 -0
- package/ace-element-plus-component/packages/components/switch/JaSwitch.vue +61 -0
- package/ace-element-plus-component/packages/components/switch/README.md +21 -0
- package/ace-element-plus-component/packages/components/switch/index.ts +4 -0
- package/ace-element-plus-component/packages/components/timePicker/JaTimePicker.vue +65 -0
- package/ace-element-plus-component/packages/components/timePicker/README.md +21 -0
- package/ace-element-plus-component/packages/components/timePicker/index.ts +5 -0
- package/ace-element-plus-component/packages/components/tip/README.md +20 -0
- package/ace-element-plus-component/packages/components/tip/index.ts +4 -0
- package/ace-element-plus-component/packages/components/tip/src/AceTip.vue +51 -0
- package/ace-element-plus-component/packages/components/upload/FilePreviewer.vue +245 -0
- package/ace-element-plus-component/packages/components/upload/JaUploader.vue +72 -0
- package/ace-element-plus-component/packages/components/upload/README.md +24 -0
- package/ace-element-plus-component/packages/components/upload/index.ts +8 -0
- package/ace-element-plus-component/packages/components/upload/pdf-viewer/PdfViewerModal.vue +32 -0
- package/ace-element-plus-component/packages/components/upload/types.ts +4 -0
- package/ace-element-plus-component/packages/components/upload/uploader-locale-zh-cn.ts +223 -0
- package/ace-element-plus-component/packages/components/upload/uploader.vue +876 -0
- package/ace-element-plus-component/packages/components/userGroupPicker/index.ts +4 -0
- package/ace-element-plus-component/packages/components/userGroupPicker/src/UserGroupPicker.vue +94 -0
- package/ace-element-plus-component/packages/components/userGroupTree/index.ts +10 -0
- package/ace-element-plus-component/packages/components/userGroupTree/src/userGroupTree.vue +193 -0
- package/ace-element-plus-component/packages/components/userPicker/index.ts +10 -0
- package/ace-element-plus-component/packages/components/userPicker/src/CustomGroupManager.vue +189 -0
- package/ace-element-plus-component/packages/components/userPicker/src/JaUserList.vue +328 -0
- package/ace-element-plus-component/packages/components/userPicker/src/JaUserPicker.vue +40 -0
- package/ace-element-plus-component/packages/components/userPicker/src/UserPicker.vue +515 -0
- package/ace-element-plus-component/packages/components/userSelectDialog/index.ts +6 -0
- package/ace-element-plus-component/packages/components/userSelectDialog/src/userSelectDialog.vue +499 -0
- package/ace-element-plus-component/packages/components/userTag/UserInfoTag.vue +419 -0
- package/ace-element-plus-component/packages/components/userTag/index.ts +6 -0
- package/ace-element-plus-component/packages/components/userTag/sharedAxios.ts +8 -0
- package/ace-element-plus-component/packages/directives/auth/index.ts +41 -0
- package/ace-element-plus-component/packages/directives/autofocus/index.ts +29 -0
- package/ace-element-plus-component/packages/directives/index.ts +10 -0
- package/ace-element-plus-component/packages/directives/shortcut/index.ts +192 -0
- package/ace-element-plus-component/packages/hooks/useAppInstances.ts +130 -0
- package/ace-element-plus-component/packages/hooks/useBackendValidations.ts +81 -0
- package/ace-element-plus-component/packages/hooks/useBridage.ts +157 -0
- package/ace-element-plus-component/packages/hooks/useClassificationLevels.ts +86 -0
- package/ace-element-plus-component/packages/hooks/useConstraintProviders.ts +36 -0
- package/ace-element-plus-component/packages/hooks/useDateTimeShortCuts.ts +65 -0
- package/ace-element-plus-component/packages/hooks/useEntities.ts +44 -0
- package/ace-element-plus-component/packages/hooks/useEntityPropDataTypes.ts +37 -0
- package/ace-element-plus-component/packages/hooks/useFileConfigurations.ts +41 -0
- package/ace-element-plus-component/packages/hooks/useGroups.ts +81 -0
- package/ace-element-plus-component/packages/hooks/useNumberTemplates.ts +43 -0
- package/ace-element-plus-component/packages/hooks/useProperties.ts +44 -0
- package/ace-element-plus-component/packages/hooks/useRealms.ts +28 -0
- package/ace-element-plus-component/packages/hooks/useRoleCategories.ts +42 -0
- package/ace-element-plus-component/packages/hooks/useRoles.ts +44 -0
- package/ace-element-plus-component/packages/hooks/useRouteableVisible.ts +35 -0
- package/ace-element-plus-component/packages/hooks/useTreeData.ts +45 -0
- package/ace-element-plus-component/packages/hooks/useUserRefQuery.ts +232 -0
- package/ace-element-plus-component/packages/index.ts +34 -0
- package/ace-element-plus-component/packages/list.json +8 -0
- package/ace-element-plus-component/packages/types/custom.d.ts +13 -0
- package/ace-element-plus-component/packages/types/window.d.ts +16 -0
- package/ace-element-plus-component/packages/utils/formUtils.ts +57 -0
- package/ace-element-plus-component/packages/utils/install.ts +43 -0
- package/ace-element-plus-component/packages/utils/objectUtils.ts +31 -0
- package/ace-element-plus-component/public/vite.svg +1 -0
- package/ace-element-plus-component/theme-style/fonts/iconfont.js +1 -0
- package/ace-element-plus-component/theme-style/fonts/iconfont.json +5196 -0
- package/ace-element-plus-component/theme-style/fonts/iconfont.ttf +0 -0
- package/ace-element-plus-component/theme-style/fonts/iconfont.woff +0 -0
- package/ace-element-plus-component/theme-style/fonts/iconfont.woff2 +0 -0
- package/ace-element-plus-component/theme-style/index.scss +11 -0
- package/ace-element-plus-component/theme-style/styles/element-plus-var.scss +1419 -0
- package/ace-element-plus-component/theme-style/styles/iconfont.css +2979 -0
- package/ace-element-plus-component/theme-style/styles/reset.scss +0 -0
- package/ace-element-plus-component/theme-style/styles/theme-var.scss +72 -0
- package/ace-element-plus-component/theme-style/styles/transition.scss +122 -0
- package/ace-element-plus-component/tsconfig.json +42 -0
- package/ace-element-plus-component/tsconfig.node.json +9 -0
- package/ace-element-plus-component/tsconfig.node.tsbuildinfo +1 -0
- package/ace-element-plus-component/vite.config.d.ts +2 -0
- package/ace-element-plus-component/vite.config.js +55 -0
- package/ace-element-plus-component/vite.config.ts +59 -0
- package/ace-install-system-ui/.env +2 -0
- package/ace-install-system-ui/.env.development +5 -0
- package/ace-install-system-ui/.env.production +1 -0
- package/ace-install-system-ui/.eslintrc.cjs +18 -0
- package/ace-install-system-ui/CHANGE.md +1 -0
- package/ace-install-system-ui/README.md +18 -0
- package/ace-install-system-ui/index.html +13 -0
- package/ace-install-system-ui/lib.zip +0 -0
- package/ace-install-system-ui/package.json +45 -0
- package/ace-install-system-ui/public/images/desktopAppInstall/not-data.svg +1 -0
- package/ace-install-system-ui/public/images/login/Line.png +0 -0
- package/ace-install-system-ui/public/images/login/Path.png +0 -0
- package/ace-install-system-ui/public/images/login/Vector.png +0 -0
- package/ace-install-system-ui/public/images/login/down_line.png +0 -0
- package/ace-install-system-ui/public/images/login/exclamation.png +0 -0
- package/ace-install-system-ui/public/images/login/login_bg_img.png +0 -0
- package/ace-install-system-ui/public/images/title_01.png +0 -0
- package/ace-install-system-ui/public/images/title_02.png +0 -0
- package/ace-install-system-ui/public/images/title_03.png +0 -0
- package/ace-install-system-ui/public/images/title_04.png +0 -0
- package/ace-install-system-ui/public/images/uploader/upload-empty.svg +1 -0
- package/ace-install-system-ui/public/images/uploader/upload-files.svg +1710 -0
- package/ace-install-system-ui/public/logo.svg +1 -0
- package/ace-install-system-ui/public/vite.svg +1 -0
- package/ace-install-system-ui/src/App.vue +7 -0
- package/ace-install-system-ui/src/api/apiCache.ts +25 -0
- package/ace-install-system-ui/src/api/cache.ts +9 -0
- package/ace-install-system-ui/src/api/desktopAppApi.ts +149 -0
- package/ace-install-system-ui/src/api/desktopMachineApi.ts +75 -0
- package/ace-install-system-ui/src/api/loginApi.ts +46 -0
- package/ace-install-system-ui/src/api/taskReportApi.ts +46 -0
- package/ace-install-system-ui/src/assets/vue.svg +1 -0
- package/ace-install-system-ui/src/components/AppsManage/AddApp.vue +283 -0
- package/ace-install-system-ui/src/components/AppsManage/AppForm.vue +321 -0
- package/ace-install-system-ui/src/components/AppsManage/AppManageDrawer.vue +164 -0
- package/ace-install-system-ui/src/components/AppsManage/AppSelector.vue +93 -0
- package/ace-install-system-ui/src/components/AppsManage/AppsManage.vue +441 -0
- package/ace-install-system-ui/src/components/AppsManage/EditAppMetaData.vue +203 -0
- package/ace-install-system-ui/src/components/AppsManage/EnvForm.vue +180 -0
- package/ace-install-system-ui/src/components/AppsManage/IniForm.vue +294 -0
- package/ace-install-system-ui/src/components/AppsManage/UpdateAppForm.vue +218 -0
- package/ace-install-system-ui/src/components/CustomDialog.vue +170 -0
- package/ace-install-system-ui/src/components/HostMachineManage/AddHostMachine.vue +173 -0
- package/ace-install-system-ui/src/components/HostMachineManage/HostMachineManage.vue +509 -0
- package/ace-install-system-ui/src/components/HostMachineManage/HostMachineManageDrawer.vue +143 -0
- package/ace-install-system-ui/src/components/HostMachineManage/MachineSelector.vue +119 -0
- package/ace-install-system-ui/src/components/InstallModuleHeader.vue +36 -0
- package/ace-install-system-ui/src/components/Log/ViewAllLog.vue +175 -0
- package/ace-install-system-ui/src/components/Log/ViewLog.vue +80 -0
- package/ace-install-system-ui/src/components/TaskList/AppInstallTask.vue +33 -0
- package/ace-install-system-ui/src/components/TaskList/AppInstallTaskGroup.vue +152 -0
- package/ace-install-system-ui/src/components/TaskList/AppScanTask.vue +80 -0
- package/ace-install-system-ui/src/components/TaskList/AppUninstallTask.vue +33 -0
- package/ace-install-system-ui/src/components/TaskList/AppUninstallTaskGroup.vue +152 -0
- package/ace-install-system-ui/src/components/TaskList/TaskList.vue +314 -0
- package/ace-install-system-ui/src/components/TaskList/TaskListDrawer.vue +127 -0
- package/ace-install-system-ui/src/components/Uploader/GlobalUploader.vue +297 -0
- package/ace-install-system-ui/src/components/Uploader/Uploader.vue +346 -0
- package/ace-install-system-ui/src/components/WebTerminal/MachineTerminals.vue +187 -0
- package/ace-install-system-ui/src/components/WebTerminal/WebTerminal.vue +136 -0
- package/ace-install-system-ui/src/components/WebTerminal/WebTerminalDialog.vue +80 -0
- package/ace-install-system-ui/src/env.d.ts +15 -0
- package/ace-install-system-ui/src/init.ts +22 -0
- package/ace-install-system-ui/src/locales/lang/en/common.json +17 -0
- package/ace-install-system-ui/src/locales/lang/en/errors.json +40 -0
- package/ace-install-system-ui/src/locales/lang/en/layout.json +7 -0
- package/ace-install-system-ui/src/locales/lang/en.ts +14 -0
- package/ace-install-system-ui/src/locales/lang/zh-CN/common.json +17 -0
- package/ace-install-system-ui/src/locales/lang/zh-CN/errors.json +42 -0
- package/ace-install-system-ui/src/locales/lang/zh-CN/layout.json +7 -0
- package/ace-install-system-ui/src/locales/lang/zh-CN.ts +15 -0
- package/ace-install-system-ui/src/locales/setupI18n.ts +14 -0
- package/ace-install-system-ui/src/main.ts +28 -0
- package/ace-install-system-ui/src/model/Common.ts +8 -0
- package/ace-install-system-ui/src/model/DesktopApp.ts +472 -0
- package/ace-install-system-ui/src/model/TaskLog.ts +64 -0
- package/ace-install-system-ui/src/model/TaskReport.ts +136 -0
- package/ace-install-system-ui/src/pages/Home/Home.vue +307 -0
- package/ace-install-system-ui/src/pages/InstallDesktopApp/InstallDesktopApp.vue +363 -0
- package/ace-install-system-ui/src/pages/InstallDesktopApp/components/DependentApp.vue +138 -0
- package/ace-install-system-ui/src/pages/InstallDesktopApp/components/InstallDesktopAppStep1 copy.vue +232 -0
- package/ace-install-system-ui/src/pages/InstallDesktopApp/components/InstallDesktopAppStep1.vue +577 -0
- package/ace-install-system-ui/src/pages/InstallDesktopApp/components/InstallDesktopAppStep2.vue +267 -0
- package/ace-install-system-ui/src/pages/InstallDesktopApp/components/InstallDesktopAppStep3.vue +176 -0
- package/ace-install-system-ui/src/pages/InstallDesktopApp/components/ViewDependencies.vue +74 -0
- package/ace-install-system-ui/src/pages/UninstallDesktopApp.vue +167 -0
- package/ace-install-system-ui/src/router/index.ts +118 -0
- package/ace-install-system-ui/src/stores/index.ts +181 -0
- package/ace-install-system-ui/src/stores/modules/locale.ts +60 -0
- package/ace-install-system-ui/src/styles/main.scss +73 -0
- package/ace-install-system-ui/src/styles/modules/cutom-element-table-cell.scss +33 -0
- package/ace-install-system-ui/src/styles/modules/element-dark-theme.scss +126 -0
- package/ace-install-system-ui/src/styles/modules/task-install-detail.scss +127 -0
- package/ace-install-system-ui/src/styles/modules/var-notused.scss +156 -0
- package/ace-install-system-ui/src/styles/modules/var.scss +151 -0
- package/ace-install-system-ui/src/types/global.d.ts +10 -0
- package/ace-install-system-ui/src/types/shims-vue-simple-uploader.d.ts +4 -0
- package/ace-install-system-ui/src/utils/EventBus.ts +5 -0
- package/ace-install-system-ui/src/utils/axios/AceAxios.ts +535 -0
- package/ace-install-system-ui/src/utils/axios/cache.ts +9 -0
- package/ace-install-system-ui/src/utils/axios/index.ts +35 -0
- package/ace-install-system-ui/src/views/Layout/Layout.vue +140 -0
- package/ace-install-system-ui/src/views/Layout/components/Header.vue +198 -0
- package/ace-install-system-ui/src/views/Login/Login.vue +283 -0
- package/ace-install-system-ui/src/views/NotFound/NotFound.vue +7 -0
- package/ace-install-system-ui/src/views/SignUp/SignUp.vue +204 -0
- package/ace-install-system-ui/src/views/WebSsh.vue +12 -0
- package/ace-install-system-ui/tsconfig.json +24 -0
- package/ace-install-system-ui/tsconfig.node.json +11 -0
- package/ace-install-system-ui/vite.config.ts +114 -0
- package/ace-monolith-shell-ui/.env +3 -0
- package/ace-monolith-shell-ui/.env.development +5 -0
- package/ace-monolith-shell-ui/.env.production +1 -0
- package/ace-monolith-shell-ui/.eslintrc.cjs +15 -0
- package/ace-monolith-shell-ui/.prettierrc.json +8 -0
- package/ace-monolith-shell-ui/.vscode/extensions.json +7 -0
- package/ace-monolith-shell-ui/.vscode/launch.json +22 -0
- package/ace-monolith-shell-ui/.vscode/settings.json +26 -0
- package/ace-monolith-shell-ui/README.md +7 -0
- package/ace-monolith-shell-ui/auto-imports.d.ts +9 -0
- package/ace-monolith-shell-ui/components.d.ts +45 -0
- package/ace-monolith-shell-ui/index.html +20 -0
- package/ace-monolith-shell-ui/package.json +67 -0
- package/ace-monolith-shell-ui/public/res/build/shell/favicon.ico +0 -0
- package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/.keep +0 -0
- package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/index.html +5348 -0
- package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.css +2583 -0
- package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.eot +0 -0
- package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.glyph.json +1 -0
- package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.less +2585 -0
- package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.module.less +2567 -0
- package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.scss +5103 -0
- package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.styl +2554 -0
- package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.svg +7633 -0
- package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.symbol.svg +11 -0
- package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.ttf +0 -0
- package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.woff +0 -0
- package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/remixicon.woff2 +0 -0
- package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/symbol.html +18032 -0
- package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/tags.json +1364 -0
- package/ace-monolith-shell-ui/public/res/build/shell/fonts/remixIcon/unicode.html +175 -0
- package/ace-monolith-shell-ui/public/res/build/shell/images/hidden-right-sidebar.png +0 -0
- package/ace-monolith-shell-ui/public/res/build/shell/images/icon/deliver.svg +1 -0
- package/ace-monolith-shell-ui/public/res/build/shell/images/icon/logout.svg +28 -0
- package/ace-monolith-shell-ui/public/res/build/shell/images/icon/notification.svg +17 -0
- package/ace-monolith-shell-ui/public/res/build/shell/images/jari-logo-2.png +0 -0
- package/ace-monolith-shell-ui/public/res/build/shell/images/jari-logo.png +0 -0
- package/ace-monolith-shell-ui/public/res/build/shell/images/public-code.png +0 -0
- package/ace-monolith-shell-ui/public/res/build/shell/images/show-right-sidebar.png +0 -0
- package/ace-monolith-shell-ui/public/res/build/shell/images/svg/shezhi.svg +11 -0
- package/ace-monolith-shell-ui/public/res/build/shell/images/svg/tuichu.svg +13 -0
- package/ace-monolith-shell-ui/public/res/build/shell/images/svg/xiaoxi.svg +13 -0
- package/ace-monolith-shell-ui/public/res/build/shell/styles/element-plus.css +1 -0
- package/ace-monolith-shell-ui/src/App.vue +25 -0
- package/ace-monolith-shell-ui/src/assets/base.css +80 -0
- package/ace-monolith-shell-ui/src/assets/element/index.scss +18 -0
- package/ace-monolith-shell-ui/src/assets/element/var.scss +1123 -0
- package/ace-monolith-shell-ui/src/assets/logo.svg +7 -0
- package/ace-monolith-shell-ui/src/assets/main.scss +123 -0
- package/ace-monolith-shell-ui/src/demo/Bridge.vue +176 -0
- package/ace-monolith-shell-ui/src/env.d.ts +17 -0
- package/ace-monolith-shell-ui/src/hooks/useBridge.ts +148 -0
- package/ace-monolith-shell-ui/src/hooks/usePreferences.ts +116 -0
- package/ace-monolith-shell-ui/src/hooks/useSockJs.ts +123 -0
- package/ace-monolith-shell-ui/src/http/AceAxios.ts +645 -0
- package/ace-monolith-shell-ui/src/http/cache.ts +11 -0
- package/ace-monolith-shell-ui/src/http/index.ts +33 -0
- package/ace-monolith-shell-ui/src/init.ts +21 -0
- package/ace-monolith-shell-ui/src/layout/Main.vue +176 -0
- package/ace-monolith-shell-ui/src/layout/components/AppMenu.vue +334 -0
- package/ace-monolith-shell-ui/src/layout/components/Fillet.vue +105 -0
- package/ace-monolith-shell-ui/src/layout/components/Sidebar.vue +213 -0
- package/ace-monolith-shell-ui/src/layout/widgets/notification/Notification.vue +307 -0
- package/ace-monolith-shell-ui/src/locales/lang/en/common.json +17 -0
- package/ace-monolith-shell-ui/src/locales/lang/en/errors.json +42 -0
- package/ace-monolith-shell-ui/src/locales/lang/en/layout.json +8 -0
- package/ace-monolith-shell-ui/src/locales/lang/en/updatePsw.json +9 -0
- package/ace-monolith-shell-ui/src/locales/lang/en/userProfile.json +3 -0
- package/ace-monolith-shell-ui/src/locales/lang/en.ts +14 -0
- package/ace-monolith-shell-ui/src/locales/lang/zh-CN/common.json +17 -0
- package/ace-monolith-shell-ui/src/locales/lang/zh-CN/errors.json +42 -0
- package/ace-monolith-shell-ui/src/locales/lang/zh-CN/layout.json +8 -0
- package/ace-monolith-shell-ui/src/locales/lang/zh-CN/updatePsw.json +9 -0
- package/ace-monolith-shell-ui/src/locales/lang/zh-CN/userProfile.json +3 -0
- package/ace-monolith-shell-ui/src/locales/lang/zh-CN.ts +14 -0
- package/ace-monolith-shell-ui/src/locales/setupI18n.ts +14 -0
- package/ace-monolith-shell-ui/src/main.ts +164 -0
- package/ace-monolith-shell-ui/src/router/index.ts +111 -0
- package/ace-monolith-shell-ui/src/shims-vue.d.ts +22 -0
- package/ace-monolith-shell-ui/src/stores/modules/accessibleApps.ts +149 -0
- package/ace-monolith-shell-ui/src/stores/modules/app.ts +164 -0
- package/ace-monolith-shell-ui/src/stores/modules/appContext.ts +57 -0
- package/ace-monolith-shell-ui/src/stores/modules/auth.ts +65 -0
- package/ace-monolith-shell-ui/src/stores/modules/locale.ts +63 -0
- package/ace-monolith-shell-ui/src/stores/modules/system.ts +41 -0
- package/ace-monolith-shell-ui/src/types/ext.d.ts +13 -0
- package/ace-monolith-shell-ui/src/types/router.d.ts +12 -0
- package/ace-monolith-shell-ui/src/types/window.d.ts +16 -0
- package/ace-monolith-shell-ui/src/views/AboutView.vue +141 -0
- package/ace-monolith-shell-ui/src/views/DlgUpdatePassword.vue +119 -0
- package/ace-monolith-shell-ui/src/views/ExtendedAttrRender.vue +311 -0
- package/ace-monolith-shell-ui/src/views/MicroAppContainer.vue +270 -0
- package/ace-monolith-shell-ui/src/views/UserProfileEditor.vue +303 -0
- package/ace-monolith-shell-ui/src/views/WorkBench.vue +10 -0
- package/ace-monolith-shell-ui/src/views/errors/HttpState404.vue +137 -0
- package/ace-monolith-shell-ui/src/views/errors/NoAppAvailable.vue +16 -0
- package/ace-monolith-shell-ui/src/vite-env.d.ts +3 -0
- package/ace-monolith-shell-ui/tsconfig.app.json +26 -0
- package/ace-monolith-shell-ui/tsconfig.json +11 -0
- package/ace-monolith-shell-ui/tsconfig.node.json +25 -0
- package/ace-monolith-shell-ui/vbuild/vite/proxy.ts +47 -0
- package/ace-monolith-shell-ui/vite.config.ts +127 -0
- package/ace-monolith-shell-ui/vue-image-crop-upload.d.ts +1 -0
- package/ace-vue-frame/.env +2 -0
- package/ace-vue-frame/.env.development +1 -0
- package/ace-vue-frame/.env.production +1 -0
- package/ace-vue-frame/.eslintrc.cjs +29 -0
- package/ace-vue-frame/.vscode/extensions.json +3 -0
- package/ace-vue-frame/README.md +18 -0
- package/ace-vue-frame/auto-imports.d.ts +9 -0
- package/ace-vue-frame/components.d.ts +16 -0
- package/ace-vue-frame/folder-alias.json +1 -0
- package/ace-vue-frame/index.html +13 -0
- package/ace-vue-frame/jsconfig.json +13 -0
- package/ace-vue-frame/package.json +30 -0
- package/ace-vue-frame/prettier.config.js +17 -0
- package/ace-vue-frame/public/vite.svg +1 -0
- package/ace-vue-frame/src/App.vue +30 -0
- package/ace-vue-frame/src/api/demo.ts +24 -0
- package/ace-vue-frame/src/assets/vue.svg +1 -0
- package/ace-vue-frame/src/components/HelloWorld.vue +38 -0
- package/ace-vue-frame/src/main.ts +38 -0
- package/ace-vue-frame/src/router/index.ts +18 -0
- package/ace-vue-frame/src/router/routes.ts +7 -0
- package/ace-vue-frame/src/router/whiteList.ts +4 -0
- package/ace-vue-frame/src/stores/index.ts +3 -0
- package/ace-vue-frame/src/stores/modules/main.ts +19 -0
- package/ace-vue-frame/src/style.css +80 -0
- package/ace-vue-frame/src/types/ext.d.ts +13 -0
- package/ace-vue-frame/src/types/style.d.ts +7 -0
- package/ace-vue-frame/src/types/window.d.ts +16 -0
- package/ace-vue-frame/src/utils/axios/index.ts +20 -0
- package/ace-vue-frame/src/utils/index.ts +7 -0
- package/ace-vue-frame/src/vite-env.d.ts +1 -0
- package/ace-vue-frame/tsconfig.json +52 -0
- package/ace-vue-frame/tsconfig.node.json +10 -0
- package/ace-vue-frame/vite.config.ts +75 -0
- package/folder-alias.json +1 -0
- package/frontends.code-workspace +10 -0
- package/package.json +35 -0
- package/pnpm-workspace.yaml +11 -0
- package/pom.xml +114 -0
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<CustomDialog
|
|
3
|
+
v-model="visible"
|
|
4
|
+
destroy-on-close
|
|
5
|
+
:fullscreen="false"
|
|
6
|
+
@opened="opendHandle"
|
|
7
|
+
width="1200px"
|
|
8
|
+
:title="props.title"
|
|
9
|
+
bodyPadding="0"
|
|
10
|
+
:body-height="600"
|
|
11
|
+
>
|
|
12
|
+
<div class="sfc-machine-terminals">
|
|
13
|
+
<div class="left-box">
|
|
14
|
+
<el-table
|
|
15
|
+
:header-cell-style="{
|
|
16
|
+
fontWeight: 'bold',
|
|
17
|
+
color: 'var(--install-system-color1)',
|
|
18
|
+
}"
|
|
19
|
+
:data="store.machines"
|
|
20
|
+
row-key="id"
|
|
21
|
+
ref="tableRef"
|
|
22
|
+
class="host-table"
|
|
23
|
+
height="100%"
|
|
24
|
+
size="small"
|
|
25
|
+
default-expand-all
|
|
26
|
+
style="width: 100%"
|
|
27
|
+
:tree-props="{ children: 'children' }"
|
|
28
|
+
>
|
|
29
|
+
<el-table-column
|
|
30
|
+
class-name="custom-first-column-small"
|
|
31
|
+
prop="name"
|
|
32
|
+
label="分组名称 / 主机IP"
|
|
33
|
+
show-overflow-tooltip
|
|
34
|
+
>
|
|
35
|
+
<template #default="scope">
|
|
36
|
+
<!-- style="font-weight:bold;" -->
|
|
37
|
+
<span
|
|
38
|
+
v-if="scope.row.type === 'group'"
|
|
39
|
+
style="color: var(--el-text-color-primary); font-weight: bold"
|
|
40
|
+
>{{ scope.row.category }}</span
|
|
41
|
+
>
|
|
42
|
+
<span v-else>{{ scope.row.ip }}</span>
|
|
43
|
+
</template>
|
|
44
|
+
</el-table-column>
|
|
45
|
+
<el-table-column prop="name" show-overflow-tooltip label="主机名称" />
|
|
46
|
+
|
|
47
|
+
<el-table-column label="操作" width="100">
|
|
48
|
+
<template #default="scope">
|
|
49
|
+
<template v-if="scope.row.type !== 'group'">
|
|
50
|
+
<!-- @click="connectTerminal(scope.row)" -->
|
|
51
|
+
<el-button
|
|
52
|
+
size="small"
|
|
53
|
+
type="primary"
|
|
54
|
+
plain
|
|
55
|
+
@click="connectTerminal(scope.row)"
|
|
56
|
+
>连接终端</el-button
|
|
57
|
+
>
|
|
58
|
+
</template>
|
|
59
|
+
</template>
|
|
60
|
+
</el-table-column>
|
|
61
|
+
</el-table>
|
|
62
|
+
</div>
|
|
63
|
+
<div class="right-box">
|
|
64
|
+
<el-tabs
|
|
65
|
+
class="custom-tabs"
|
|
66
|
+
v-model="state.tabsValue"
|
|
67
|
+
type="card"
|
|
68
|
+
closable
|
|
69
|
+
@tab-remove="removeTab"
|
|
70
|
+
>
|
|
71
|
+
<el-tab-pane
|
|
72
|
+
v-for="item in store.machineTerminals"
|
|
73
|
+
:key="item.id"
|
|
74
|
+
:label="item.ip"
|
|
75
|
+
:name="item.id"
|
|
76
|
+
>
|
|
77
|
+
<div class="terminal">
|
|
78
|
+
<WebTerminal
|
|
79
|
+
:machine-id="item.id"
|
|
80
|
+
machine-type="DESKTOP"
|
|
81
|
+
:is-windows="item.os === 'WINDOWS'"
|
|
82
|
+
></WebTerminal>
|
|
83
|
+
</div>
|
|
84
|
+
</el-tab-pane>
|
|
85
|
+
</el-tabs>
|
|
86
|
+
</div>
|
|
87
|
+
</div>
|
|
88
|
+
</CustomDialog>
|
|
89
|
+
</template>
|
|
90
|
+
|
|
91
|
+
<script setup lang="ts">
|
|
92
|
+
import CustomDialog from "../CustomDialog.vue";
|
|
93
|
+
import { reactive, computed } from "vue";
|
|
94
|
+
import WebTerminal from "./WebTerminal.vue";
|
|
95
|
+
import { CustomDesktopMachineSecured, DesktopMachine } from "@/model/DesktopApp";
|
|
96
|
+
import { useStore } from "@/stores";
|
|
97
|
+
const store = useStore();
|
|
98
|
+
interface Props {
|
|
99
|
+
modelValue: boolean;
|
|
100
|
+
title?: string;
|
|
101
|
+
// machine: DesktopMachine;
|
|
102
|
+
// machineType: "DESKTOP" | "SERVER";
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
const props = withDefaults(defineProps<Props>(), {
|
|
106
|
+
title: "终端",
|
|
107
|
+
});
|
|
108
|
+
|
|
109
|
+
const emit = defineEmits(["update:modelValue"]);
|
|
110
|
+
|
|
111
|
+
const visible = computed({
|
|
112
|
+
get() {
|
|
113
|
+
return props.modelValue;
|
|
114
|
+
},
|
|
115
|
+
set(value) {
|
|
116
|
+
emit("update:modelValue", value);
|
|
117
|
+
},
|
|
118
|
+
});
|
|
119
|
+
|
|
120
|
+
// const machine = computed(() => {
|
|
121
|
+
// return props.machine;
|
|
122
|
+
// });
|
|
123
|
+
|
|
124
|
+
const state = reactive<{
|
|
125
|
+
visible: boolean;
|
|
126
|
+
tabsValue: number;
|
|
127
|
+
}>({
|
|
128
|
+
visible: false,
|
|
129
|
+
tabsValue: 0,
|
|
130
|
+
});
|
|
131
|
+
const connectTerminal = (data: DesktopMachine) => {
|
|
132
|
+
let isHas = store.machineTerminals.find((item) => item.id === data.id);
|
|
133
|
+
state.tabsValue = data.id;
|
|
134
|
+
if (isHas) return;
|
|
135
|
+
store.machineTerminals.push(data);
|
|
136
|
+
};
|
|
137
|
+
const removeTab = (id: number) => {
|
|
138
|
+
store.machineTerminals = store.machineTerminals.filter((item) => item.id !== id);
|
|
139
|
+
if (id !== state.tabsValue || store.machineTerminals.length === 0) return;
|
|
140
|
+
state.tabsValue = store.machineTerminals[0].id;
|
|
141
|
+
};
|
|
142
|
+
const opendHandle = () => {
|
|
143
|
+
state.tabsValue = store.machineTerminals[0].id;
|
|
144
|
+
};
|
|
145
|
+
defineExpose({});
|
|
146
|
+
</script>
|
|
147
|
+
|
|
148
|
+
<style scoped lang="scss">
|
|
149
|
+
.sfc-machine-terminals {
|
|
150
|
+
// height: 450px;
|
|
151
|
+
height: 600px;
|
|
152
|
+
width: 100%;
|
|
153
|
+
:deep(.custom-tabs) {
|
|
154
|
+
height: 100%;
|
|
155
|
+
.el-tabs__header {
|
|
156
|
+
margin-bottom: 0;
|
|
157
|
+
.is-active {
|
|
158
|
+
border-bottom: none;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
.el-tabs__content {
|
|
162
|
+
height: calc(100% - 40px);
|
|
163
|
+
.el-tab-pane {
|
|
164
|
+
height: 100%;
|
|
165
|
+
background-color: #21263e;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
.el-tabs__nav.is-top {
|
|
169
|
+
border: none;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
> .left-box {
|
|
173
|
+
height: 100%;
|
|
174
|
+
width: 400px;
|
|
175
|
+
background-color: var(--ace-bg-color7);
|
|
176
|
+
float: left;
|
|
177
|
+
}
|
|
178
|
+
> .right-box {
|
|
179
|
+
float: left;
|
|
180
|
+
height: 100%;
|
|
181
|
+
width: calc(100% - 400px);
|
|
182
|
+
.terminal {
|
|
183
|
+
padding-left: 16px;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
</style>
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div id="terminal" ref="terminal"></div>
|
|
3
|
+
</template>
|
|
4
|
+
<script lang="ts" setup>
|
|
5
|
+
import SockJS from "sockjs-client";
|
|
6
|
+
import webstomp from "webstomp-client";
|
|
7
|
+
import { onMounted, ref, nextTick, onBeforeUnmount } from "vue";
|
|
8
|
+
import { Terminal } from "xterm";
|
|
9
|
+
import { FitAddon } from "xterm-addon-fit";
|
|
10
|
+
import "xterm/css/xterm.css";
|
|
11
|
+
import { v4 as uuid } from "uuid";
|
|
12
|
+
import { Client } from "webstomp-client";
|
|
13
|
+
import { Jari } from "@jari-ace/app-bolts";
|
|
14
|
+
const terminal = ref(null);
|
|
15
|
+
|
|
16
|
+
const props = defineProps<{
|
|
17
|
+
machineType: "DESKTOP" | "SERVER";
|
|
18
|
+
machineId: number;
|
|
19
|
+
isWindows: boolean;
|
|
20
|
+
}>();
|
|
21
|
+
|
|
22
|
+
const xtermTheme = {
|
|
23
|
+
foreground: "#F8F8F8",
|
|
24
|
+
background: "#21263E",
|
|
25
|
+
selectionBackground: "#5DA5D5",
|
|
26
|
+
black: "#1E1E1D",
|
|
27
|
+
brightBlack: "#262625",
|
|
28
|
+
red: "#CE5C5C",
|
|
29
|
+
brightRed: "#FF7272",
|
|
30
|
+
green: "#5BCC5B",
|
|
31
|
+
brightGreen: "#72FF72",
|
|
32
|
+
yellow: "#CCCC5B",
|
|
33
|
+
brightYellow: "#FFFF72",
|
|
34
|
+
blue: "#5D5DD3",
|
|
35
|
+
brightBlue: "#7279FF",
|
|
36
|
+
magenta: "#BC5ED1",
|
|
37
|
+
brightMagenta: "#E572FF",
|
|
38
|
+
cyan: "#5DA5D5",
|
|
39
|
+
brightCyan: "#72F0FF",
|
|
40
|
+
white: "#F8F8F8",
|
|
41
|
+
brightWhite: "#FFFFFF",
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
let term: Terminal;
|
|
45
|
+
let socket: WebSocket;
|
|
46
|
+
let stompClient: Client;
|
|
47
|
+
|
|
48
|
+
onMounted(async () => {
|
|
49
|
+
await nextTick();
|
|
50
|
+
initXterm();
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
onBeforeUnmount(() => {
|
|
54
|
+
stompClient.disconnect();
|
|
55
|
+
socket.close();
|
|
56
|
+
term.dispose();
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
function initXterm() {
|
|
60
|
+
term = new Terminal({
|
|
61
|
+
convertEol: true, //启用时,光标将设置为下一行的开头
|
|
62
|
+
disableStdin: false, //是否应禁用输入
|
|
63
|
+
cursorStyle: "underline",
|
|
64
|
+
cursorBlink: true,
|
|
65
|
+
theme: xtermTheme,
|
|
66
|
+
windowsMode: props.isWindows,
|
|
67
|
+
screenReaderMode: true,
|
|
68
|
+
rows: 33,
|
|
69
|
+
windowOptions: {
|
|
70
|
+
fullscreenWin: true,
|
|
71
|
+
setWinSizePixels: true,
|
|
72
|
+
getWinSizePixels: true,
|
|
73
|
+
},
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
// canvas背景全屏
|
|
77
|
+
const fitAddon = new FitAddon();
|
|
78
|
+
term.loadAddon(fitAddon);
|
|
79
|
+
fitAddon.fit();
|
|
80
|
+
// 创建terminal实例
|
|
81
|
+
term.open(terminal.value as unknown as HTMLElement);
|
|
82
|
+
|
|
83
|
+
window.addEventListener("resize", resizeScreen);
|
|
84
|
+
function resizeScreen() {
|
|
85
|
+
try {
|
|
86
|
+
fitAddon.fit();
|
|
87
|
+
} catch (e) {
|
|
88
|
+
console.log(e);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
const subscriberId = uuid();
|
|
92
|
+
var url = import.meta.env.DEV ? "/ace/ssh-proxy" : "/ssh-proxy";
|
|
93
|
+
socket = new SockJS(url, undefined, {
|
|
94
|
+
sessionId: () => subscriberId,
|
|
95
|
+
});
|
|
96
|
+
stompClient = webstomp.over(socket, {
|
|
97
|
+
debug: false,
|
|
98
|
+
});
|
|
99
|
+
const encPubKey = document.cookie
|
|
100
|
+
.split(";")
|
|
101
|
+
.find((cookie) => cookie.trim().startsWith("JARI-ACE-ENC-PUB-KEY="))
|
|
102
|
+
?.split("=")[1];
|
|
103
|
+
const msgHeader = {
|
|
104
|
+
"X-SUBSCRIBER-ID": subscriberId,
|
|
105
|
+
};
|
|
106
|
+
stompClient.connect(
|
|
107
|
+
{
|
|
108
|
+
"X-MACHINE-ID": props.machineId.toString(),
|
|
109
|
+
"X-MACHINE-TYPE": props.machineType,
|
|
110
|
+
"X-SUBSCRIBER-ID": subscriberId,
|
|
111
|
+
"X-SESSION-PUB-KEY": encPubKey,
|
|
112
|
+
},
|
|
113
|
+
function () {
|
|
114
|
+
stompClient.subscribe(
|
|
115
|
+
`/ssh-stream/${subscriberId}`,
|
|
116
|
+
(msg) => {
|
|
117
|
+
term.write(msg.body);
|
|
118
|
+
},
|
|
119
|
+
msgHeader
|
|
120
|
+
);
|
|
121
|
+
term.onData((key) => {
|
|
122
|
+
stompClient.send("/web-ssh/run", key, msgHeader);
|
|
123
|
+
});
|
|
124
|
+
term.focus();
|
|
125
|
+
},
|
|
126
|
+
function (err) {
|
|
127
|
+
console.error(err);
|
|
128
|
+
}
|
|
129
|
+
);
|
|
130
|
+
}
|
|
131
|
+
</script>
|
|
132
|
+
<style lang="scss" scoped>
|
|
133
|
+
#terminal {
|
|
134
|
+
height: 600px;
|
|
135
|
+
}
|
|
136
|
+
</style>
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<CustomDialog
|
|
3
|
+
v-model="visible"
|
|
4
|
+
:fullscreen="false"
|
|
5
|
+
:modal="false"
|
|
6
|
+
width="1000px"
|
|
7
|
+
:showFooter="false"
|
|
8
|
+
:title="props.title"
|
|
9
|
+
bodyPadding="0"
|
|
10
|
+
:body-height="632"
|
|
11
|
+
>
|
|
12
|
+
<!-- <el-scrollbar ref="scrollbarRef" height="540" always v-loading="state.loading">
|
|
13
|
+
</el-scrollbar> -->
|
|
14
|
+
<div class="sfc-web-therminal-dialog">
|
|
15
|
+
<WebTerminal
|
|
16
|
+
:machine-id="machine.id"
|
|
17
|
+
machine-type="DESKTOP"
|
|
18
|
+
:is-windows="machine.os === 'WINDOWS'"
|
|
19
|
+
></WebTerminal>
|
|
20
|
+
</div>
|
|
21
|
+
|
|
22
|
+
<!-- <template #footer>
|
|
23
|
+
<el-button @click="visible = false">取消</el-button>
|
|
24
|
+
</template> -->
|
|
25
|
+
</CustomDialog>
|
|
26
|
+
</template>
|
|
27
|
+
|
|
28
|
+
<script setup lang="ts">
|
|
29
|
+
import CustomDialog from "../CustomDialog.vue";
|
|
30
|
+
import { reactive, onMounted, ref, getCurrentInstance, computed } from "vue";
|
|
31
|
+
import WebTerminal from "./WebTerminal.vue";
|
|
32
|
+
import { DesktopMachine } from "@/model/DesktopApp";
|
|
33
|
+
// import { ElScrollbar } from "element-plus";
|
|
34
|
+
// import { clone } from "lodash-es";
|
|
35
|
+
// import { App } from "@/model/DesktopApp";
|
|
36
|
+
// import { ElNotification } from "element-plus";
|
|
37
|
+
|
|
38
|
+
interface Props {
|
|
39
|
+
modelValue: boolean;
|
|
40
|
+
title?: string;
|
|
41
|
+
machine: DesktopMachine;
|
|
42
|
+
machineType: "DESKTOP" | "SERVER";
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
const props = withDefaults(defineProps<Props>(), {
|
|
46
|
+
title: "终端",
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
const emit = defineEmits(["update:modelValue"]);
|
|
50
|
+
|
|
51
|
+
const visible = computed({
|
|
52
|
+
get() {
|
|
53
|
+
return props.modelValue;
|
|
54
|
+
},
|
|
55
|
+
set(value) {
|
|
56
|
+
emit("update:modelValue", value);
|
|
57
|
+
},
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
const machine = computed(() => {
|
|
61
|
+
return props.machine;
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
const state = reactive<{
|
|
65
|
+
visible: boolean;
|
|
66
|
+
}>({
|
|
67
|
+
visible: false,
|
|
68
|
+
});
|
|
69
|
+
const submitHandle = () => {};
|
|
70
|
+
defineExpose({});
|
|
71
|
+
</script>
|
|
72
|
+
|
|
73
|
+
<style scoped lang="scss">
|
|
74
|
+
.sfc-web-therminal-dialog {
|
|
75
|
+
padding: 0 0 0 16px;
|
|
76
|
+
background-color: #21263e;
|
|
77
|
+
height: 100%;
|
|
78
|
+
min-height: 400px;
|
|
79
|
+
}
|
|
80
|
+
</style>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* 版权所有 (c) 2022 江苏杰瑞信息科技有限公司
|
|
3
|
+
*
|
|
4
|
+
* 此文件属于JARI.ACE平台项目,修改、分发必须遵守杰瑞信科商业软件许可协议
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/// <reference types="vite/client" />
|
|
8
|
+
interface ImportMetaEnv {
|
|
9
|
+
readonly VITE_PORT: number;
|
|
10
|
+
readonly VITE_HOST: string;
|
|
11
|
+
readonly VITE_APP_SHORT_NAME: string;
|
|
12
|
+
readonly VITE_LOG_LEVEL: string;
|
|
13
|
+
readonly VITE_SERVER_URL: string;
|
|
14
|
+
readonly VITE_REALM_ID: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* 版权所有 (c) 2022 江苏杰瑞信息科技有限公司
|
|
3
|
+
*
|
|
4
|
+
* 此文件属于JARI.ACE平台项目,修改、分发必须遵守杰瑞信科商业软件许可协议
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import * as pkg from "../package.json";
|
|
8
|
+
import { Jari } from "@jari-ace/app-bolts";
|
|
9
|
+
|
|
10
|
+
Jari.Ace.appDescriptor = {
|
|
11
|
+
getShortName: () => import.meta.env.VITE_APP_SHORT_NAME,
|
|
12
|
+
getVersion: () => pkg.version,
|
|
13
|
+
getRealmName: () => import.meta.env.VITE_REALM_ID,
|
|
14
|
+
env: {
|
|
15
|
+
getEnv: () => import.meta.env.MODE as Jari.Ace.EnvironmentMode,
|
|
16
|
+
isDevMode: () => import.meta.env.MODE === Jari.Ace.ENV_DEV_MODE,
|
|
17
|
+
},
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
if (typeof (window as any).global === "undefined") {
|
|
21
|
+
(window as any).global = window;
|
|
22
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"closeText": "close",
|
|
3
|
+
"delText": "delete",
|
|
4
|
+
"light": "Bright color theme",
|
|
5
|
+
"loadingText": "Loading",
|
|
6
|
+
"okText": "confirm",
|
|
7
|
+
"queryText": "query",
|
|
8
|
+
"redo": "Refresh",
|
|
9
|
+
"resetText": "Reset",
|
|
10
|
+
"saveText": "preservation",
|
|
11
|
+
"searchText": "search",
|
|
12
|
+
"cancelText": "cancel",
|
|
13
|
+
"dark": "Dark theme",
|
|
14
|
+
"inputText": "Please enter",
|
|
15
|
+
"chooseText": "Please select",
|
|
16
|
+
"back": "return"
|
|
17
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"connFailed": "Unable to connect to server",
|
|
3
|
+
"errorClass": "Exception Type",
|
|
4
|
+
"http413": "The payload content of the request is too large (Http 413)",
|
|
5
|
+
"http502": "The gateway cannot connect to the specified service resource (Http 502)",
|
|
6
|
+
"http400": "Bad request (Http 400)",
|
|
7
|
+
"http401": "You are not logged in or the access token obtained after the last login has expired. Please log in again",
|
|
8
|
+
"http403": "Insufficient permission, access denied (Http 403)",
|
|
9
|
+
"http404": "The requested resource was not found (Http 404)",
|
|
10
|
+
"http405": "The server is used to disallow method requests (Http 405)",
|
|
11
|
+
"http406": "The server does not accept the requested data (Http 406)",
|
|
12
|
+
"http408": "Service closed idle timeout connection (Http 408)",
|
|
13
|
+
"http409": "Resource version conflict (Http 409)",
|
|
14
|
+
"http410": "The resource has been permanently migrated (Http 410)",
|
|
15
|
+
"http411": "Missing content length request header (Http 411)",
|
|
16
|
+
"http412": "Prerequisites not met (Http 412)",
|
|
17
|
+
"http414": "URI too long (Http 414)",
|
|
18
|
+
"http415": "The requested payload content format is not supported (Http 415)",
|
|
19
|
+
"http416": "The requested content is out of range. Incorrect Range request header (Http 416)",
|
|
20
|
+
"http422": "Unable to process request data (Http 422)",
|
|
21
|
+
"http425": "The request may be replayed, and the server refuses to process it (Http 425)",
|
|
22
|
+
"http429": "Too many requests were sent in a certain period of time (Http 429)",
|
|
23
|
+
"http431": "The request header is too large (Http 431)",
|
|
24
|
+
"http501": "The server does not support the method of responding to requests (Http 501)",
|
|
25
|
+
"http503": "The requested service does not accept new requests (Http 503)",
|
|
26
|
+
"http504": "Gateway timeout waiting for service response (Http 504)",
|
|
27
|
+
"http505": "Unsupported Http version (Http 505)",
|
|
28
|
+
"position": "Throw position",
|
|
29
|
+
"rootErrorClass": "Root Exception Type",
|
|
30
|
+
"rootErrorMsg": "Root Exception Message",
|
|
31
|
+
"rootPosition": "Root Exception Location",
|
|
32
|
+
"unknown": "Unknown network exception occurred",
|
|
33
|
+
"unknownApiError": "Unknown exception occurred on the server. Details have been saved to the log file",
|
|
34
|
+
"complete": "Completed",
|
|
35
|
+
"http404-stop-code": "404, will automatically return to the previous page at the end",
|
|
36
|
+
"http404-tip": "Your website has encountered some problems. The system is optimizing and reporting fault information. We will improve and reduce this situation in the future",
|
|
37
|
+
"return-home": "Back to Home",
|
|
38
|
+
"return-to-prev": "Back to previous page",
|
|
39
|
+
"errors.http404-stop-code": ""
|
|
40
|
+
}
|
|
@@ -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("./en/**/*.json", { eager: true });
|
|
10
|
+
export default {
|
|
11
|
+
message: {
|
|
12
|
+
...genMessage(modules as Record<string, Record<string, any>>),
|
|
13
|
+
},
|
|
14
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"okText": "确认",
|
|
3
|
+
"closeText": "关闭",
|
|
4
|
+
"cancelText": "取消",
|
|
5
|
+
"loadingText": "加载中...",
|
|
6
|
+
"saveText": "保存",
|
|
7
|
+
"delText": "删除",
|
|
8
|
+
"resetText": "重置",
|
|
9
|
+
"searchText": "搜索",
|
|
10
|
+
"queryText": "查询",
|
|
11
|
+
"inputText": "请输入",
|
|
12
|
+
"chooseText": "请选择",
|
|
13
|
+
"redo": "刷新",
|
|
14
|
+
"back": "返回",
|
|
15
|
+
"light": "亮色主题",
|
|
16
|
+
"dark": "黑暗主题"
|
|
17
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"http400": "错误的请求(Http 400)",
|
|
3
|
+
"http401": "未登录或者上次登录后获取的访问令牌已过期,请重新登录",
|
|
4
|
+
"http403": "权限不足,拒绝访问(Http 403)",
|
|
5
|
+
"http404": "未找到请求的资源(Http 404)",
|
|
6
|
+
"http405": "使用了服务器不允许方法请求(Http 405)",
|
|
7
|
+
"http406": "服务器不接受请求的数据(Http 406)",
|
|
8
|
+
"http408": "服务已关闭空闲超时连接(Http 408)",
|
|
9
|
+
"http409": "资源版本冲突(Http 409)",
|
|
10
|
+
"http410": "资源已永久迁移(Http 410)",
|
|
11
|
+
"http411": "缺少content-length请求头(Http 411)",
|
|
12
|
+
"http412": "先决条件不满足(Http 412)",
|
|
13
|
+
"http413": "请求负载(payload)内容过大(Http 413)",
|
|
14
|
+
"http414": "URI过长(Http 414)",
|
|
15
|
+
"http415": "不支持请求的负载内容格式(Http 415)",
|
|
16
|
+
"http416": "请求的内容超出范围,不正确的Range请求头(Http 416)",
|
|
17
|
+
"http422": "无法处理请求数据(Http 422)",
|
|
18
|
+
"http425": "请求可能被重放,服务器拒绝处理(Http 425)",
|
|
19
|
+
"http429": "一定时间内发送了过多的请求(Http 429)",
|
|
20
|
+
"http431": "请求头过大(Http 431)",
|
|
21
|
+
"http500": "服务器内部错误",
|
|
22
|
+
"http501": "服务器不支持响应请求的方法(Http 501)",
|
|
23
|
+
"http502": "网关无法连接到指定服务资源(Http 502)",
|
|
24
|
+
"http503": "请求的服务不接受新的请求(Http 503)",
|
|
25
|
+
"http504": "网关等待服务响应超时(Http 504)",
|
|
26
|
+
"http505": "不支持的Http版本(Http 505)",
|
|
27
|
+
"requestTimeout": "请求超时,请检查网络",
|
|
28
|
+
"unknown": "发生HTTP异常",
|
|
29
|
+
"connFailed": "连接失败,请检查网络",
|
|
30
|
+
"unknownApiError": "服务器发生未知异常,详细信息已保存到日志文件中",
|
|
31
|
+
"errorClass": "异常类型",
|
|
32
|
+
"position": "抛出位置",
|
|
33
|
+
"rootErrorMsg": "根异常消息",
|
|
34
|
+
"rootErrorClass": "根异常类型",
|
|
35
|
+
"rootPosition": "根异常位置",
|
|
36
|
+
"http404-tip": "你的网页遇到了一些问题,系统正在优化和上报故障信息,我们在未来将改善和减少这种情况的发生.",
|
|
37
|
+
"http404-stop-code": "404,结束时会自动返回前一页面",
|
|
38
|
+
"return-to-prev": "返回上一页",
|
|
39
|
+
"return-home": "返回首页",
|
|
40
|
+
"complete": "已完成",
|
|
41
|
+
"requestError": "请求发生异常:"
|
|
42
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
console.log(modules);
|
|
11
|
+
export default {
|
|
12
|
+
message: {
|
|
13
|
+
...genMessage(modules as Record<string, Record<string, any>>),
|
|
14
|
+
},
|
|
15
|
+
};
|
|
@@ -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,28 @@
|
|
|
1
|
+
import "./init";
|
|
2
|
+
import {createApp} from "vue";
|
|
3
|
+
import App from "./App.vue";
|
|
4
|
+
import router from "./router";
|
|
5
|
+
import {createPinia} from "pinia";
|
|
6
|
+
import piniaPluginPersistedstate from "pinia-plugin-persistedstate";
|
|
7
|
+
import "./styles/main.scss";
|
|
8
|
+
import "vue-simple-uploader/dist/style.css";
|
|
9
|
+
import uploader from "vue-simple-uploader";
|
|
10
|
+
import AceVueComponent from "@jari-ace/element-plus-component/index";
|
|
11
|
+
|
|
12
|
+
import ElementPlus from "element-plus";
|
|
13
|
+
import {setupI18n} from "@/locales/setupI18n";
|
|
14
|
+
import {setupStore} from "@jari-ace/app-bolts";
|
|
15
|
+
import {useLocaleStore} from "@/stores/modules/locale";
|
|
16
|
+
|
|
17
|
+
const app = createApp(App);
|
|
18
|
+
const store = setupStore(app);
|
|
19
|
+
|
|
20
|
+
const localeStore = useLocaleStore(store);
|
|
21
|
+
setupI18n(app, localeStore.getLocale).then(() => {
|
|
22
|
+
app.use(router);
|
|
23
|
+
app.use(createPinia().use(piniaPluginPersistedstate));
|
|
24
|
+
app.use(uploader);
|
|
25
|
+
app.use(AceVueComponent);
|
|
26
|
+
app.use(ElementPlus);
|
|
27
|
+
app.mount("#app");
|
|
28
|
+
});
|