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,509 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="sfc-host-manage" :v-loading="state.loading">
|
|
3
|
+
<div class="toolbar">
|
|
4
|
+
<div class="left">
|
|
5
|
+
<div class="title" v-if="props.title">{{ props.title }}</div>
|
|
6
|
+
<div v-if="props.mode === 'manage'">
|
|
7
|
+
<el-input placeholder="Please input" class="input-with-select">
|
|
8
|
+
<template #append>
|
|
9
|
+
<el-button icon="Search"/>
|
|
10
|
+
</template>
|
|
11
|
+
</el-input>
|
|
12
|
+
</div>
|
|
13
|
+
</div>
|
|
14
|
+
<div class="right" v-if="props.mode === 'manage'">
|
|
15
|
+
<el-button icon="Plus" type="success" plain @click="addClickHandle"
|
|
16
|
+
>添加主机
|
|
17
|
+
</el-button
|
|
18
|
+
>
|
|
19
|
+
<el-button
|
|
20
|
+
v-if="state.selection.length !== 0"
|
|
21
|
+
@click="deleteClickHandle"
|
|
22
|
+
icon="Delete"
|
|
23
|
+
type="danger"
|
|
24
|
+
plain
|
|
25
|
+
>删除主机
|
|
26
|
+
</el-button
|
|
27
|
+
>
|
|
28
|
+
</div>
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
<div class="table" ref="tableBoxRef">
|
|
32
|
+
<AddHostMachine
|
|
33
|
+
:mode="state.formMode"
|
|
34
|
+
ref="addHostMachineRef"
|
|
35
|
+
@add-success="successHandle"
|
|
36
|
+
@update-success="successHandle"
|
|
37
|
+
:groups="state.tableData"
|
|
38
|
+
/>
|
|
39
|
+
<!-- backgroundColor: 'var(--el-fill-color-light)' @selection-change="selectionChangeHandler"-->
|
|
40
|
+
<el-table
|
|
41
|
+
:header-cell-style="{ fontWeight: 'bold', color: 'var(--install-system-color1)' }"
|
|
42
|
+
:data="state.tableData"
|
|
43
|
+
row-key="id"
|
|
44
|
+
ref="tableRef"
|
|
45
|
+
class="host-table"
|
|
46
|
+
height="100%"
|
|
47
|
+
size="small"
|
|
48
|
+
default-expand-all
|
|
49
|
+
style="width: 100%"
|
|
50
|
+
:tree-props="{ children: 'children' }"
|
|
51
|
+
>
|
|
52
|
+
<!-- :span-method="tableSpanRow" -->
|
|
53
|
+
<!-- <el-table-column type="selection" width="40" /> -->
|
|
54
|
+
<el-table-column
|
|
55
|
+
class-name="custom-first-column-small"
|
|
56
|
+
prop="name"
|
|
57
|
+
label="分组名称 / 主机IP"
|
|
58
|
+
show-overflow-tooltip
|
|
59
|
+
>
|
|
60
|
+
<template #default="scope">
|
|
61
|
+
<!-- style="font-weight:bold;" -->
|
|
62
|
+
<el-checkbox
|
|
63
|
+
v-model="scope.row.checked"
|
|
64
|
+
style="margin-right: 8px"
|
|
65
|
+
@change="checkBoxChangeHandle(scope.row, $event)"
|
|
66
|
+
></el-checkbox>
|
|
67
|
+
<span
|
|
68
|
+
v-if="scope.row.type === 'group'"
|
|
69
|
+
style="color: var(--el-text-color-primary); font-weight: bold"
|
|
70
|
+
>{{ scope.row.category }}</span
|
|
71
|
+
>
|
|
72
|
+
<span v-else>{{ scope.row.ip }}</span>
|
|
73
|
+
</template>
|
|
74
|
+
</el-table-column>
|
|
75
|
+
<el-table-column prop="name" show-overflow-tooltip label="主机名称"/>
|
|
76
|
+
<el-table-column
|
|
77
|
+
v-if="props.mode === 'manage'"
|
|
78
|
+
show-overflow-tooltip
|
|
79
|
+
prop="sshUser"
|
|
80
|
+
label="SSH用户"
|
|
81
|
+
/>
|
|
82
|
+
<el-table-column
|
|
83
|
+
v-if="props.mode === 'manage'"
|
|
84
|
+
show-overflow-tooltip
|
|
85
|
+
prop="os"
|
|
86
|
+
label="系统"
|
|
87
|
+
/>
|
|
88
|
+
<el-table-column
|
|
89
|
+
v-if="props.mode === 'manage'"
|
|
90
|
+
show-overflow-tooltip
|
|
91
|
+
prop="cpu"
|
|
92
|
+
label="cpu类型"
|
|
93
|
+
/>
|
|
94
|
+
<el-table-column
|
|
95
|
+
v-if="props.mode === 'select'"
|
|
96
|
+
show-overflow-tooltip
|
|
97
|
+
prop="sshUser"
|
|
98
|
+
label="当前设施是否已安装"
|
|
99
|
+
>
|
|
100
|
+
<template #default="scope">
|
|
101
|
+
<template v-if="scope.row.type !== 'group'">
|
|
102
|
+
<el-tag size="small" type="success" v-if="!scope.row.installed"
|
|
103
|
+
>未安装
|
|
104
|
+
</el-tag
|
|
105
|
+
>
|
|
106
|
+
<el-tag size="small" type="warning" v-else>已安装</el-tag>
|
|
107
|
+
</template>
|
|
108
|
+
</template>
|
|
109
|
+
</el-table-column>
|
|
110
|
+
<el-table-column label="操作" width="180" v-if="props.mode === 'manage'">
|
|
111
|
+
<template #default="scope">
|
|
112
|
+
<template v-if="scope.row.type !== 'group'">
|
|
113
|
+
<el-button
|
|
114
|
+
@click="connectTerminal(scope.row)"
|
|
115
|
+
size="small"
|
|
116
|
+
type="primary"
|
|
117
|
+
plain
|
|
118
|
+
>连接终端
|
|
119
|
+
</el-button
|
|
120
|
+
>
|
|
121
|
+
<el-button
|
|
122
|
+
size="small"
|
|
123
|
+
type="primary"
|
|
124
|
+
plain
|
|
125
|
+
@click="editClickHandle(scope.row)"
|
|
126
|
+
>编辑
|
|
127
|
+
</el-button
|
|
128
|
+
>
|
|
129
|
+
</template>
|
|
130
|
+
</template>
|
|
131
|
+
</el-table-column>
|
|
132
|
+
<el-table-column label="安装路径" v-if="props.mode === 'select'">
|
|
133
|
+
<template #default="{ row }">
|
|
134
|
+
<template v-if="row.type !== 'group' && row.checked">
|
|
135
|
+
<el-input
|
|
136
|
+
:disabled="unifiedPathOpen"
|
|
137
|
+
size="small"
|
|
138
|
+
placeholder="请填写安装路径"
|
|
139
|
+
v-model="row.path"
|
|
140
|
+
@input="pathChange(row)"
|
|
141
|
+
></el-input>
|
|
142
|
+
</template>
|
|
143
|
+
</template>
|
|
144
|
+
</el-table-column>
|
|
145
|
+
</el-table>
|
|
146
|
+
</div>
|
|
147
|
+
<div class="default-path" v-if="props.mode === 'select'">
|
|
148
|
+
<div class="left">
|
|
149
|
+
统一安装路径
|
|
150
|
+
<el-switch
|
|
151
|
+
v-model="unifiedPathOpen"
|
|
152
|
+
style="margin-left: 16px"
|
|
153
|
+
@change="unifiedPathSwichHandle"
|
|
154
|
+
></el-switch>
|
|
155
|
+
</div>
|
|
156
|
+
<div class="right">
|
|
157
|
+
<el-input
|
|
158
|
+
v-if="unifiedPathOpen"
|
|
159
|
+
v-model="unifiedPath"
|
|
160
|
+
placeholder="请填写统一路径"
|
|
161
|
+
@input="unifiedPathChangeHandle"
|
|
162
|
+
></el-input>
|
|
163
|
+
</div>
|
|
164
|
+
</div>
|
|
165
|
+
</div>
|
|
166
|
+
</template>
|
|
167
|
+
|
|
168
|
+
<script setup lang="ts">
|
|
169
|
+
import AddHostMachine from "./AddHostMachine.vue";
|
|
170
|
+
import {
|
|
171
|
+
HostParams,
|
|
172
|
+
DesktopMachine,
|
|
173
|
+
DesktopMachineSecured,
|
|
174
|
+
Group,
|
|
175
|
+
CustomDesktopMachineSecured,
|
|
176
|
+
} from "@/model/DesktopApp";
|
|
177
|
+
import {ComponentMode} from "@/model/Common";
|
|
178
|
+
import {reactive, onMounted, ref, computed} from "vue";
|
|
179
|
+
import type {TableInstance} from "element-plus";
|
|
180
|
+
import {ElMessageBox, ElNotification} from "element-plus";
|
|
181
|
+
import {useDesktopMachineApi} from "@/api/desktopMachineApi";
|
|
182
|
+
import emitter from "@/utils/EventBus";
|
|
183
|
+
import {useStore} from "@/stores";
|
|
184
|
+
import {store} from "@jari-ace/app-bolts";
|
|
185
|
+
|
|
186
|
+
const mainStore = useStore();
|
|
187
|
+
const {getAll, getByCpuAndOs, deleteByIds} = useDesktopMachineApi();
|
|
188
|
+
const addHostMachineRef = ref<InstanceType<typeof AddHostMachine> | null>(null);
|
|
189
|
+
const tableBoxRef = ref<HTMLDivElement | null>(null);
|
|
190
|
+
const tableRef = ref<TableInstance | null>(null);
|
|
191
|
+
// interface SpanMethodProps {
|
|
192
|
+
// row: Group | DesktopMachine;
|
|
193
|
+
// column: TableColumnCtx<Group | DesktopMachine>;
|
|
194
|
+
// rowIndex: number;
|
|
195
|
+
// columnIndex: number;
|
|
196
|
+
// }
|
|
197
|
+
|
|
198
|
+
const state = reactive<{
|
|
199
|
+
tableData: Group[];
|
|
200
|
+
loading: boolean;
|
|
201
|
+
selection: CustomDesktopMachineSecured[];
|
|
202
|
+
formMode: "edit" | "add";
|
|
203
|
+
}>({
|
|
204
|
+
tableData: [],
|
|
205
|
+
loading: false,
|
|
206
|
+
selection: [],
|
|
207
|
+
formMode: "add",
|
|
208
|
+
});
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* @property title 展示标题 非必传
|
|
212
|
+
* @property model
|
|
213
|
+
*/
|
|
214
|
+
// <{
|
|
215
|
+
// title?: string;
|
|
216
|
+
// mode: ComponentMode;
|
|
217
|
+
// hostParams?: hostParams;
|
|
218
|
+
// ids?: (string | number)[];
|
|
219
|
+
// //是否根据参数请求数据
|
|
220
|
+
// }>
|
|
221
|
+
|
|
222
|
+
interface Props {
|
|
223
|
+
mode: ComponentMode;
|
|
224
|
+
title?: string;
|
|
225
|
+
hostParams?: HostParams;
|
|
226
|
+
machines: CustomDesktopMachineSecured[];
|
|
227
|
+
unifiedPathOpen?: boolean;
|
|
228
|
+
unifiedPath?: string;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
const emit = defineEmits(["machineSelection", "update:unifiedPathOpen", "update:unifiedPath"]);
|
|
232
|
+
const props = withDefaults(defineProps<Props>(), {
|
|
233
|
+
title: "",
|
|
234
|
+
machines: () => [],
|
|
235
|
+
unifiedPathOpen: true,
|
|
236
|
+
unifiedPath: "",
|
|
237
|
+
});
|
|
238
|
+
|
|
239
|
+
const unifiedPath = computed({
|
|
240
|
+
get() {
|
|
241
|
+
return props.unifiedPath;
|
|
242
|
+
},
|
|
243
|
+
set(val: string) {
|
|
244
|
+
emit("update:unifiedPath", val);
|
|
245
|
+
},
|
|
246
|
+
});
|
|
247
|
+
const unifiedPathOpen = computed({
|
|
248
|
+
get() {
|
|
249
|
+
return props.unifiedPathOpen;
|
|
250
|
+
},
|
|
251
|
+
set(val: boolean) {
|
|
252
|
+
emit("update:unifiedPathOpen", val);
|
|
253
|
+
},
|
|
254
|
+
});
|
|
255
|
+
|
|
256
|
+
emitter.on("mechineChange", getMachineList);
|
|
257
|
+
|
|
258
|
+
function checkBoxChangeHandle(row: Group | CustomDesktopMachineSecured, checked: boolean) {
|
|
259
|
+
if (row.type === "group") {
|
|
260
|
+
row.children.forEach((item) => {
|
|
261
|
+
item.checked = checked;
|
|
262
|
+
});
|
|
263
|
+
}
|
|
264
|
+
state.selection = [];
|
|
265
|
+
state.tableData.forEach((group) => {
|
|
266
|
+
if (group.children.length === 0) return;
|
|
267
|
+
group.children.forEach((item) => {
|
|
268
|
+
if (unifiedPathOpen.value) {
|
|
269
|
+
item.path = unifiedPath.value;
|
|
270
|
+
}
|
|
271
|
+
if (item.checked) {
|
|
272
|
+
state.selection.push(item);
|
|
273
|
+
}
|
|
274
|
+
});
|
|
275
|
+
});
|
|
276
|
+
emit("machineSelection", state.selection);
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
function addSelection(machine: CustomDesktopMachineSecured) {
|
|
280
|
+
let has: boolean = state.selection.findIndex((item) => item.id === machine.id) !== -1;
|
|
281
|
+
if (has) return;
|
|
282
|
+
state.selection.push(machine);
|
|
283
|
+
emit("machineSelection", state.selection);
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
function pathChange(row: CustomDesktopMachineSecured) {
|
|
287
|
+
if (!row.checked) return;
|
|
288
|
+
emit("machineSelection", state.selection);
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
function successHandle() {
|
|
292
|
+
//如果 mode 是select模式 则根据 hostParams.os hostParams.cpu 作为参数去请求
|
|
293
|
+
//如果 mode 是manage模式 则直接请求所有
|
|
294
|
+
// getMachineList();
|
|
295
|
+
emitter.emit("mechineChange");
|
|
296
|
+
ElNotification({
|
|
297
|
+
type: "success",
|
|
298
|
+
title: state.formMode === "add" ? "新建桌面主机成功" : "修改桌面主机成功",
|
|
299
|
+
});
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
function resolveDesktopMachineList(machines: DesktopMachineSecured[]): Group[] {
|
|
303
|
+
const groups: Group[] = [];
|
|
304
|
+
|
|
305
|
+
const customMachines: CustomDesktopMachineSecured[] = machines.map((machine) => {
|
|
306
|
+
let selectedData: CustomDesktopMachineSecured | null = null;
|
|
307
|
+
let customMachine: CustomDesktopMachineSecured | null = null;
|
|
308
|
+
props.machines.forEach((item) => {
|
|
309
|
+
if (machine.id === item.id) {
|
|
310
|
+
selectedData = item;
|
|
311
|
+
}
|
|
312
|
+
});
|
|
313
|
+
if (selectedData !== null) {
|
|
314
|
+
customMachine = {
|
|
315
|
+
...machine,
|
|
316
|
+
...(
|
|
317
|
+
selectedData as CustomDesktopMachineSecured
|
|
318
|
+
),
|
|
319
|
+
};
|
|
320
|
+
} else {
|
|
321
|
+
customMachine = {
|
|
322
|
+
...machine,
|
|
323
|
+
type: "item",
|
|
324
|
+
path: "",
|
|
325
|
+
checked: false,
|
|
326
|
+
};
|
|
327
|
+
}
|
|
328
|
+
if (customMachine.checked) {
|
|
329
|
+
addSelection(customMachine);
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
return customMachine;
|
|
333
|
+
});
|
|
334
|
+
customMachines.forEach((machine) => {
|
|
335
|
+
if (groups.findIndex((group) => group.category === machine.category) === -1) {
|
|
336
|
+
groups.push({
|
|
337
|
+
type: "group",
|
|
338
|
+
category: machine.category,
|
|
339
|
+
checked: false,
|
|
340
|
+
children: [],
|
|
341
|
+
id: "group" + groups.length + 1,
|
|
342
|
+
});
|
|
343
|
+
}
|
|
344
|
+
});
|
|
345
|
+
groups.forEach((group) => {
|
|
346
|
+
group.children = customMachines.filter((machine) => machine.category == group.category);
|
|
347
|
+
});
|
|
348
|
+
return groups;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
function unifiedPathSwichHandle(val: boolean) {
|
|
352
|
+
unifiedPathOpen.value = val;
|
|
353
|
+
unifiedPathChangeHandle(unifiedPath.value);
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
function unifiedPathChangeHandle(val: string) {
|
|
357
|
+
if (!unifiedPathOpen.value) return;
|
|
358
|
+
state.tableData.forEach((group) => {
|
|
359
|
+
if (group.children && group.children.length > 0) {
|
|
360
|
+
group.children.forEach((machine) => {
|
|
361
|
+
if (machine.checked) {
|
|
362
|
+
machine.path = val;
|
|
363
|
+
}
|
|
364
|
+
});
|
|
365
|
+
}
|
|
366
|
+
});
|
|
367
|
+
unifiedPath.value = val;
|
|
368
|
+
emit("machineSelection", state.selection);
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
// function tableSpanRow({ row }: SpanMethodProps) {
|
|
372
|
+
// // if (row.type === "group") {
|
|
373
|
+
// // if (columnIndex === 1) {
|
|
374
|
+
// // return {
|
|
375
|
+
// // rowspan: 1,
|
|
376
|
+
// // colspan: 7,
|
|
377
|
+
// // };
|
|
378
|
+
// // }
|
|
379
|
+
// // }
|
|
380
|
+
// }
|
|
381
|
+
function getMachineList() {
|
|
382
|
+
state.loading = true;
|
|
383
|
+
//重置选择结果
|
|
384
|
+
state.selection = [];
|
|
385
|
+
if (props.mode === "select") {
|
|
386
|
+
getByCpuAndOs(props.hostParams?.appId, props.hostParams?.os, props.hostParams?.cpu).then(
|
|
387
|
+
(res) => {
|
|
388
|
+
state.tableData = resolveDesktopMachineList(res);
|
|
389
|
+
|
|
390
|
+
state.loading = false;
|
|
391
|
+
}
|
|
392
|
+
);
|
|
393
|
+
} else {
|
|
394
|
+
getAll().then((res) => {
|
|
395
|
+
state.tableData = resolveDesktopMachineList(res);
|
|
396
|
+
mainStore.machines = state.tableData;
|
|
397
|
+
state.loading = false;
|
|
398
|
+
});
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
function deleteClickHandle() {
|
|
403
|
+
let msg = "";
|
|
404
|
+
state.selection.forEach((item) => {
|
|
405
|
+
msg += `【${item.name}】`;
|
|
406
|
+
});
|
|
407
|
+
|
|
408
|
+
ElMessageBox.confirm(`您确定要删除${msg}吗?`, `提示`, {
|
|
409
|
+
confirmButtonText: "确定",
|
|
410
|
+
cancelButtonText: "取消",
|
|
411
|
+
}).then(() => {
|
|
412
|
+
let ids: number[] = state.selection.map((item) => item.id) as number[];
|
|
413
|
+
deleteByIds(ids).then(() => {
|
|
414
|
+
getMachineList();
|
|
415
|
+
state.selection = [];
|
|
416
|
+
ElNotification({
|
|
417
|
+
type: "success",
|
|
418
|
+
title: msg + "删除成功",
|
|
419
|
+
});
|
|
420
|
+
});
|
|
421
|
+
});
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
function addClickHandle() {
|
|
425
|
+
state.formMode = "add";
|
|
426
|
+
addHostMachineRef.value?.init(null);
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
function editClickHandle(row: DesktopMachine) {
|
|
430
|
+
state.formMode = "edit";
|
|
431
|
+
addHostMachineRef.value?.init(row.id);
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
function connectTerminal(row: DesktopMachine) {
|
|
435
|
+
mainStore.machineTerminals = [row];
|
|
436
|
+
// mainStore.connectMachineInfo = row;
|
|
437
|
+
mainStore.connectMachineType = "DESKTOP";
|
|
438
|
+
mainStore.connectTerminalVisible = true;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
onMounted(() => {
|
|
442
|
+
if (props.mode === "manage") {
|
|
443
|
+
getMachineList();
|
|
444
|
+
}
|
|
445
|
+
});
|
|
446
|
+
|
|
447
|
+
defineExpose({
|
|
448
|
+
getMachineList,
|
|
449
|
+
});
|
|
450
|
+
</script>
|
|
451
|
+
|
|
452
|
+
<style lang="scss" scoped>
|
|
453
|
+
.sfc-host-manage {
|
|
454
|
+
height: 100%;
|
|
455
|
+
|
|
456
|
+
.table {
|
|
457
|
+
height: calc(100% - 48px - 49px);
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
.default-path {
|
|
461
|
+
padding: 8px 16px;
|
|
462
|
+
display: flex;
|
|
463
|
+
height: 48px;
|
|
464
|
+
|
|
465
|
+
> .left {
|
|
466
|
+
font-size: 14px;
|
|
467
|
+
color: var(--el-text-color-regular);
|
|
468
|
+
display: flex;
|
|
469
|
+
align-items: center;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
> .right {
|
|
473
|
+
flex: 1;
|
|
474
|
+
padding-left: 32px;
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
:deep(.host-table .el-table__header) {
|
|
479
|
+
.el-table-column--selection {
|
|
480
|
+
.el-checkbox {
|
|
481
|
+
display: none;
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
.toolbar {
|
|
487
|
+
display: flex;
|
|
488
|
+
flex-direction: row;
|
|
489
|
+
justify-content: space-between;
|
|
490
|
+
gap: 16px;
|
|
491
|
+
padding: 8px 16px;
|
|
492
|
+
height: 49px;
|
|
493
|
+
border-bottom: 1px solid var(--el-border-color);
|
|
494
|
+
|
|
495
|
+
> .left {
|
|
496
|
+
display: flex;
|
|
497
|
+
align-items: center;
|
|
498
|
+
flex: 1;
|
|
499
|
+
justify-content: space-between;
|
|
500
|
+
|
|
501
|
+
.title {
|
|
502
|
+
font-size: 14px;
|
|
503
|
+
color: var(el-text-color-primary);
|
|
504
|
+
margin-right: 16px;
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
</style>
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-drawer
|
|
3
|
+
modal-class="device-manage-drawer"
|
|
4
|
+
:model-value="modelValue"
|
|
5
|
+
:close-on-click-modal="false"
|
|
6
|
+
:append-to-body="false"
|
|
7
|
+
size="1100"
|
|
8
|
+
:with-header="false"
|
|
9
|
+
>
|
|
10
|
+
<div class="sfc-device-manage-drawer">
|
|
11
|
+
<div class="header">
|
|
12
|
+
<div class="close-btn" @click="modelValue = false">
|
|
13
|
+
<i class="aceicon icon-Rightarrow"></i>
|
|
14
|
+
</div>
|
|
15
|
+
<div class="title">设备管理</div>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="body">
|
|
18
|
+
<el-tabs type="border-card" class="device-manage-tabs">
|
|
19
|
+
<el-tab-pane label="桌面主机">
|
|
20
|
+
<div class="tab-content">
|
|
21
|
+
<HostManage
|
|
22
|
+
mode="manage"
|
|
23
|
+
:machines="[]"
|
|
24
|
+
:host-parameters="{ os: 'All', cpu: 'All' }"
|
|
25
|
+
></HostManage>
|
|
26
|
+
</div>
|
|
27
|
+
</el-tab-pane>
|
|
28
|
+
<el-tab-pane label="服务器" disabled></el-tab-pane>
|
|
29
|
+
</el-tabs>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
</el-drawer>
|
|
33
|
+
</template>
|
|
34
|
+
<script lang="ts" setup>
|
|
35
|
+
import { computed } from "vue";
|
|
36
|
+
import HostManage from "./HostMachineManage.vue";
|
|
37
|
+
|
|
38
|
+
const props = defineProps<{
|
|
39
|
+
modelValue: boolean;
|
|
40
|
+
}>();
|
|
41
|
+
|
|
42
|
+
const emit = defineEmits(["update:modelValue"]);
|
|
43
|
+
const modelValue = computed({
|
|
44
|
+
get() {
|
|
45
|
+
return props.modelValue;
|
|
46
|
+
},
|
|
47
|
+
set(val) {
|
|
48
|
+
emit("update:modelValue", val);
|
|
49
|
+
},
|
|
50
|
+
});
|
|
51
|
+
/**
|
|
52
|
+
* 初始化组件
|
|
53
|
+
* @param show 是否显示
|
|
54
|
+
*/
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* 关闭事件
|
|
58
|
+
*/
|
|
59
|
+
|
|
60
|
+
defineExpose({});
|
|
61
|
+
</script>
|
|
62
|
+
<style lang="scss" scoped>
|
|
63
|
+
.dark-theme {
|
|
64
|
+
.sfc-device-manage-drawer {
|
|
65
|
+
.header {
|
|
66
|
+
background-color: var(--ace-bg-color8);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
:deep(.device-manage-drawer) {
|
|
71
|
+
.el-drawer__body {
|
|
72
|
+
overflow: hidden !important;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
.sfc-device-manage-drawer {
|
|
76
|
+
height: 100%;
|
|
77
|
+
display: flex;
|
|
78
|
+
overflow: hidden;
|
|
79
|
+
flex-direction: column;
|
|
80
|
+
|
|
81
|
+
.header {
|
|
82
|
+
display: flex;
|
|
83
|
+
flex-direction: row;
|
|
84
|
+
}
|
|
85
|
+
:deep(.device-manage-tabs) {
|
|
86
|
+
height: 100%;
|
|
87
|
+
.el-tabs__content {
|
|
88
|
+
padding: 0;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
</style>
|
|
93
|
+
<style lang="scss">
|
|
94
|
+
.device-manage-drawer {
|
|
95
|
+
position: absolute !important;
|
|
96
|
+
z-index: 999 !important;
|
|
97
|
+
display: flex;
|
|
98
|
+
|
|
99
|
+
.el-drawer__body {
|
|
100
|
+
padding: 0;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.body {
|
|
104
|
+
// padding: 16px;
|
|
105
|
+
flex: 1;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.header {
|
|
109
|
+
display: flex;
|
|
110
|
+
flex-direction: row;
|
|
111
|
+
height: 48px;
|
|
112
|
+
align-items: center;
|
|
113
|
+
gap: 16px;
|
|
114
|
+
|
|
115
|
+
// border-bottom: 1px solid var(--el-border-color);
|
|
116
|
+
.title {
|
|
117
|
+
font-size: 18px;
|
|
118
|
+
font-weight: bold;
|
|
119
|
+
color: var(--el-text-color-primary);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.close-btn {
|
|
123
|
+
cursor: pointer;
|
|
124
|
+
width: 48px;
|
|
125
|
+
height: 100%;
|
|
126
|
+
border-right: 1px solid var(--el-border-color);
|
|
127
|
+
display: flex;
|
|
128
|
+
justify-content: center;
|
|
129
|
+
align-items: center;
|
|
130
|
+
transition: background-color var(--el-transition-duration);
|
|
131
|
+
|
|
132
|
+
&:hover {
|
|
133
|
+
background-color: var(--ace-fill-color3);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
> .aceicon {
|
|
137
|
+
font-size: 20px;
|
|
138
|
+
color: var(--el-text-color-regular);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
</style>
|