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,133 @@
|
|
|
1
|
+
import {ref} from 'vue';
|
|
2
|
+
import {
|
|
3
|
+
type Page,
|
|
4
|
+
type SortDescriptor, type User,
|
|
5
|
+
useUserApi, useUserQueryBuilder
|
|
6
|
+
} from "@jari-ace/app-bolts";
|
|
7
|
+
import {ALL_DEPARTMENT, NO_DEPARTMENT} from "@/components/departmentSelector";
|
|
8
|
+
import {type TreeNodeType} from "@jari-ace/element-plus-component";
|
|
9
|
+
import {useRealms} from './useRealms'
|
|
10
|
+
|
|
11
|
+
type Checkable = { isChecked: boolean }
|
|
12
|
+
type CheckableUser = User & Checkable;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* 用户查询hook
|
|
16
|
+
* @param scroll 是否滚动模式,滚动模式下,翻页后新页数据会追加到queryState.users集合中,而不是直接赋予queryState.users
|
|
17
|
+
*/
|
|
18
|
+
export function useUserQuery(scroll?: boolean) {
|
|
19
|
+
const queryState = ref<{
|
|
20
|
+
/**
|
|
21
|
+
* 用户域Id查询参数
|
|
22
|
+
*/
|
|
23
|
+
realmId?: string,
|
|
24
|
+
/**
|
|
25
|
+
* 部门查询参数
|
|
26
|
+
*/
|
|
27
|
+
currentDept?: TreeNodeType,
|
|
28
|
+
/**
|
|
29
|
+
* 用户姓名、用户名或用户拼音过滤参数
|
|
30
|
+
*/
|
|
31
|
+
name?: string,
|
|
32
|
+
/**
|
|
33
|
+
* 排序描述符
|
|
34
|
+
*/
|
|
35
|
+
currentSort?: SortDescriptor,
|
|
36
|
+
/**
|
|
37
|
+
* 当前页码
|
|
38
|
+
*/
|
|
39
|
+
currentPage: number,
|
|
40
|
+
/**
|
|
41
|
+
* 用户组查询参数
|
|
42
|
+
*/
|
|
43
|
+
currentGroup?: TreeNodeType,
|
|
44
|
+
/**
|
|
45
|
+
* 页内数据行数
|
|
46
|
+
*/
|
|
47
|
+
pageSize: number,
|
|
48
|
+
/**
|
|
49
|
+
* 总数据量
|
|
50
|
+
*/
|
|
51
|
+
total: number,
|
|
52
|
+
/**
|
|
53
|
+
* 查询结果集
|
|
54
|
+
*/
|
|
55
|
+
users: CheckableUser[],
|
|
56
|
+
/**
|
|
57
|
+
* 选中的用户
|
|
58
|
+
*/
|
|
59
|
+
checkedUsers: CheckableUser[]
|
|
60
|
+
}>({
|
|
61
|
+
currentPage: 1,
|
|
62
|
+
pageSize: 50,
|
|
63
|
+
total: 0,
|
|
64
|
+
users: [],
|
|
65
|
+
checkedUsers: []
|
|
66
|
+
})
|
|
67
|
+
|
|
68
|
+
const userApi = useUserApi();
|
|
69
|
+
|
|
70
|
+
async function queryUsers() {
|
|
71
|
+
if (!queryState.value.realmId) {
|
|
72
|
+
const defaultRealm = await useRealms().getDefaultRealm();
|
|
73
|
+
queryState.value.realmId = defaultRealm!.id
|
|
74
|
+
}
|
|
75
|
+
const builder = useUserQueryBuilder();
|
|
76
|
+
const qUser = builder.getQEntity();
|
|
77
|
+
builder.and(qUser.realm.id.eq(queryState.value.realmId)).and(qUser.recycled.eq(false));
|
|
78
|
+
const currentDept = queryState.value.currentDept;
|
|
79
|
+
if (currentDept) {
|
|
80
|
+
// 1=1 and user.department.id = currentDepartmentId
|
|
81
|
+
if (currentDept.id == NO_DEPARTMENT) {
|
|
82
|
+
builder.and(qUser.department.isNull())
|
|
83
|
+
} else if (currentDept.id !== ALL_DEPARTMENT) {
|
|
84
|
+
builder.and(qUser.department.sortPath.startWith(currentDept.sortPath));
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
const currentGroup = queryState.value.currentGroup;
|
|
88
|
+
if (currentGroup) {
|
|
89
|
+
builder.and(qUser.userGroups.any().group.sortPath.startWith(currentGroup.sortPath));
|
|
90
|
+
}
|
|
91
|
+
const name = queryState.value.name;
|
|
92
|
+
if (name) {
|
|
93
|
+
// and (user.username like %nameQuery% or user.fullName like %nameQuery% or user.pinYinName like %nameQuery%
|
|
94
|
+
builder.and(qUser.username.contains(name)
|
|
95
|
+
.or(qUser.fullName.contains(name))
|
|
96
|
+
.or(qUser.pinYinName.contains(name)))
|
|
97
|
+
.or(qUser.mobile.contains(name))
|
|
98
|
+
}
|
|
99
|
+
const currentSort = queryState.value.currentSort;
|
|
100
|
+
if (currentSort) {
|
|
101
|
+
builder.orderBy(currentSort)
|
|
102
|
+
}
|
|
103
|
+
const currentPage = queryState.value.currentPage - 1;
|
|
104
|
+
const filter = builder.build();
|
|
105
|
+
return userApi.queryUsersWithDeptPaged(filter, currentPage, queryState.value.pageSize)
|
|
106
|
+
.then(res => {
|
|
107
|
+
const converted = res.content.map(u => {
|
|
108
|
+
const r = u as CheckableUser;
|
|
109
|
+
r.isChecked = queryState.value.checkedUsers.some(checked => checked.id
|
|
110
|
+
=== u.id);
|
|
111
|
+
return r;
|
|
112
|
+
});
|
|
113
|
+
if (scroll && currentPage > 0) {
|
|
114
|
+
queryState.value.users.push(...converted);
|
|
115
|
+
} else {
|
|
116
|
+
queryState.value.users = converted;
|
|
117
|
+
}
|
|
118
|
+
queryState.value.total = res.totalElements;
|
|
119
|
+
return res;
|
|
120
|
+
})
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
return {
|
|
124
|
+
/**
|
|
125
|
+
* 查询的参数和结果状态数据
|
|
126
|
+
*/
|
|
127
|
+
queryState,
|
|
128
|
+
/**
|
|
129
|
+
* 查询方法
|
|
130
|
+
*/
|
|
131
|
+
queryUsers,
|
|
132
|
+
}
|
|
133
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* 版权所有 (c) 2023 江苏杰瑞信息科技有限公司
|
|
3
|
+
*
|
|
4
|
+
* 此文件属于JARI.ACE平台项目,修改、分发必须遵守杰瑞信科商业软件许可协议
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import pkg from '../package.json';
|
|
8
|
+
import {Jari} from '@jari-ace/app-bolts';
|
|
9
|
+
|
|
10
|
+
window.appDescriptor = {
|
|
11
|
+
getShortName: () => import.meta.env.VITE_APP_SHORT_NAME ?? '',
|
|
12
|
+
getVersion: () => pkg.version,
|
|
13
|
+
getRealmName: () => import.meta.env.VITE_APP_REALM_NAME ?? 'ace-platform',
|
|
14
|
+
env: {
|
|
15
|
+
getEnv: () => import.meta.env.MODE as Jari.Ace.EnvironmentMode,
|
|
16
|
+
isDevMode: () => import.meta.env.MODE === Jari.Ace.ENV_DEV_MODE,
|
|
17
|
+
},
|
|
18
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"complete": "Completed",
|
|
3
|
+
"connFailed": "Unable to connect to server",
|
|
4
|
+
"errorClass": "Exception Type",
|
|
5
|
+
"http400": "Bad request (Http 400)",
|
|
6
|
+
"http401": "You are not logged in or the access token obtained after the last login has expired. Please log in again",
|
|
7
|
+
"http403": "Insufficient permission, access denied (Http 403)",
|
|
8
|
+
"http404": "The requested resource was not found (Http 404)",
|
|
9
|
+
"http404-stop-code": "404, will automatically return to the previous page at the end",
|
|
10
|
+
"http404-tip": "Your website has encountered some problems. The system is optimizing and reporting fault information. We will improve and reduce this situation in the future",
|
|
11
|
+
"http405": "The server is used to disallow method requests (Http 405)",
|
|
12
|
+
"http406": "The server does not accept the requested data (Http 406)",
|
|
13
|
+
"http408": "Service closed idle timeout connection (Http 408)",
|
|
14
|
+
"http409": "Resource version conflict (Http 409)",
|
|
15
|
+
"http410": "The resource has been permanently migrated (Http 410)",
|
|
16
|
+
"http411": "Missing content length request header (Http 411)",
|
|
17
|
+
"http412": "Prerequisites not met (Http 412)",
|
|
18
|
+
"http413": "The payload content of the request is too large (Http 413)",
|
|
19
|
+
"http414": "URI too long (Http 414)",
|
|
20
|
+
"http415": "The requested payload content format is not supported (Http 415)",
|
|
21
|
+
"http416": "The requested content is out of range. Incorrect Range request header (Http 416)",
|
|
22
|
+
"http422": "Unable to process request data (Http 422)",
|
|
23
|
+
"http425": "The request may be replayed, and the server refuses to process it (Http 425)",
|
|
24
|
+
"http429": "Too many requests were sent in a certain period of time (Http 429)",
|
|
25
|
+
"http431": "The request header is too large (Http 431)",
|
|
26
|
+
"http500": "Internal server error",
|
|
27
|
+
"http501": "The server does not support the method of responding to requests (Http 501)",
|
|
28
|
+
"http502": "The gateway cannot connect to the specified service resource (Http 502)",
|
|
29
|
+
"http503": "The requested service does not accept new requests (Http 503)",
|
|
30
|
+
"http504": "Gateway timeout waiting for service response (Http 504)",
|
|
31
|
+
"http505": "Unsupported Http version (Http 505)",
|
|
32
|
+
"position": "Throw position",
|
|
33
|
+
"requestError": "Request error",
|
|
34
|
+
"requestTimeout": "Request timed out, please check the network",
|
|
35
|
+
"return-home": "Back to Home",
|
|
36
|
+
"return-to-prev": "Back to previous page",
|
|
37
|
+
"rootErrorClass": "Root Exception Type",
|
|
38
|
+
"rootErrorMsg": "Root Exception Message",
|
|
39
|
+
"rootPosition": "Root Exception Location",
|
|
40
|
+
"unknown": "Unknown network exception occurred",
|
|
41
|
+
"unknownApiError": "Unknown exception occurred on the server. Details have been saved to the log file"
|
|
42
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* 版权所有 (c) 2023 江苏杰瑞信息科技有限公司
|
|
3
|
+
*
|
|
4
|
+
* 此文件属于JARI.ACE平台项目,修改、分发必须遵守杰瑞信科商业软件许可协议
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import {genMessage} from "@jari-ace/app-bolts";
|
|
8
|
+
|
|
9
|
+
const modules = import.meta.glob("./en/**/*.json", {eager: true});
|
|
10
|
+
export default {
|
|
11
|
+
message: {
|
|
12
|
+
...genMessage(modules as Record<string, Record<string, any>>),
|
|
13
|
+
},
|
|
14
|
+
};
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
{
|
|
2
|
+
"0": "语言",
|
|
3
|
+
"micro-app-context-data-changed": "micro app context data changed:",
|
|
4
|
+
"-shou-ye": "返回首页",
|
|
5
|
+
"g-ying-yong-guan-li-yuan": "指定应用管理员",
|
|
6
|
+
"-ding-yi": "角色定义",
|
|
7
|
+
"xu-lie": "数字序列",
|
|
8
|
+
"-yong-hu-zu-shou-quan": "全局用户组授权",
|
|
9
|
+
"o-mo-ban": "编号模板",
|
|
10
|
+
"ng-shou-quan": "反向授权",
|
|
11
|
+
"fang-ying-yong-shou-quan": "第三方应用授权",
|
|
12
|
+
"-pei-zhi": "附件配置",
|
|
13
|
+
"-shou-quan": "用户授权",
|
|
14
|
+
"-zu-shou-quan": "用户组授权",
|
|
15
|
+
"-zu-guan-li": "用户组管理",
|
|
16
|
+
"-ping-tai": "关于平台",
|
|
17
|
+
"10-1-00-00": "2022-2-10 1:00:00",
|
|
18
|
+
"-ri-zhi-20211132021210xls": "审计日志-2021.1.13-2021.2.10.xls",
|
|
19
|
+
"han-guan-li": "生产管理",
|
|
20
|
+
"-28-15-00": "2023-07-28 15:00",
|
|
21
|
+
"-cun-huo-dang-an": "修改存货档案",
|
|
22
|
+
"u-ji": "张无忌",
|
|
23
|
+
"-shi-jian": "开始时间",
|
|
24
|
+
"-ri-zhi-wen-jian": "备份日志文件",
|
|
25
|
+
"n-0": "刷新",
|
|
26
|
+
"fen-ri-zhi-0": "已备份日志",
|
|
27
|
+
"fen-ri-zhi": "已备份日志",
|
|
28
|
+
"n-shu-ju": "事件数据",
|
|
29
|
+
"n-deng-ji": "事件等级",
|
|
30
|
+
"n-lei-bie": "事件类别",
|
|
31
|
+
"g-shi-jian": "发生时间",
|
|
32
|
+
"n-ming": "事件名",
|
|
33
|
+
"ng": "姓名",
|
|
34
|
+
"o-shi-jian-deng-ji": "查找事件等级",
|
|
35
|
+
"o-shi-jian-ming": "查找事件名",
|
|
36
|
+
"o-ying-yong": "查找应用",
|
|
37
|
+
"o-ip": "查找IP",
|
|
38
|
+
"o-yong-hu": "查找用户",
|
|
39
|
+
"shi-jian": "起始时间",
|
|
40
|
+
"n": "更新",
|
|
41
|
+
"-ri-zhi": "审计日志",
|
|
42
|
+
"cha-xun": "日志查询",
|
|
43
|
+
"jian-propsdataname-xia-ji-bu-men": "创建【{0}】下级部门",
|
|
44
|
+
"an-ru-can-shu-data-0": "未传入参数【data】",
|
|
45
|
+
"jian-bu-men": "创建部门",
|
|
46
|
+
"an-ru-can-shu-data": "未传入参数【data】",
|
|
47
|
+
"chuang-jian-cheng-gong": "部门创建成功",
|
|
48
|
+
"uo-qu-dao-quan-ju-ying-yong": "无法获取到全局应用",
|
|
49
|
+
"-zu-xiu-gai-cheng-gong": "用户组修改成功",
|
|
50
|
+
"g": "确定",
|
|
51
|
+
"n-shu-xing": "扩展属性",
|
|
52
|
+
"bu-men": "恢复部门",
|
|
53
|
+
"-mo-ren-zu": "是否默认组",
|
|
54
|
+
"dai-ma": "部门代码",
|
|
55
|
+
"ming-cheng": "策略名称",
|
|
56
|
+
"-0": "取消",
|
|
57
|
+
"-yong-hu-zu": "全局用户组",
|
|
58
|
+
"-ding-yao-yi-dong-draggingnodedataname-ma": "您确定要移动【{0}】吗?",
|
|
59
|
+
"yi-shan-chu-ru-yao-hui-fu-qing-zai-hui-shou-zhan-zhong-cha-kan": "部门已删除,如要恢复请在回收站中查看。",
|
|
60
|
+
"u-bu-men": "删除部门",
|
|
61
|
+
"-ren-yao-shan-chu-bu-men-nodename-ma": "您确认要删除部门【{0}】吗?",
|
|
62
|
+
"zu": "默认组",
|
|
63
|
+
"g-xia-ji-bu-men": "新建下级部门",
|
|
64
|
+
"ai-pai-xu": "拖拽排序",
|
|
65
|
+
"u-zhan": "回收站",
|
|
66
|
+
"guan-li": "部门管理",
|
|
67
|
+
"nodename-yi-hui-fu": "部门【{0}】已恢复",
|
|
68
|
+
"-ren-yao-hui-fu-bu-men-nodename-ma": "您确认要恢复部门【{0}】吗?",
|
|
69
|
+
"shan-chu": "彻底删除",
|
|
70
|
+
"hui-shou-zhan": "部门回收站",
|
|
71
|
+
"ying-yong": "外部应用",
|
|
72
|
+
"4-111222333": "11223344 111222333",
|
|
73
|
+
"g-dan-0": "黑名单",
|
|
74
|
+
"8-87654321": "12345678 87654321",
|
|
75
|
+
"g-dan": "黑名单",
|
|
76
|
+
"e-biao-da-shi-0": "正则表达式",
|
|
77
|
+
"e-biao-da-shi": "正则表达式",
|
|
78
|
+
"o-chang-du": "最小长度",
|
|
79
|
+
"chang-du": "最大长度",
|
|
80
|
+
"-wei-shi-yong-ci-shu": "最近未使用次数",
|
|
81
|
+
"uo-qi-tian-shu": "密码过期天数",
|
|
82
|
+
"-yu-yong-hu-di-zhi-xiang-tong": "不能与用户地址相同",
|
|
83
|
+
"-yu-yong-hu-ming-xiang-tong": "不能与用户名相同",
|
|
84
|
+
"ao-han-te-shu-zi-fu": "必须包含特殊字符",
|
|
85
|
+
"ao-han-da-xie-zi-fu": "必须包含大写字符",
|
|
86
|
+
"ao-han-xiao-xie-zi-fu": "必须包含小写字符",
|
|
87
|
+
"ao-han-shu-zi": "必须包含数字",
|
|
88
|
+
"-xiang": "a1 选项",
|
|
89
|
+
"an-ping-tai-she-mi-deng-ji-wei-mi-mi-ji-bu-fen-ce-lve-zhi-suo-ding-bu-yun-xu-xiu-gai": "当前平台涉密等级为秘密级,部分策略值锁定,不允许修改",
|
|
90
|
+
"zhi": "策略值",
|
|
91
|
+
"an-ze-tian-jia-mi-ma-ce-lve": "请选择添加密码策略",
|
|
92
|
+
"e-lve-guan-li": "密码策略管理",
|
|
93
|
+
"-28-15-00-00-0": "2023-07-28 15:00:00",
|
|
94
|
+
"-28-15-00-00": "2023-07-28 15:00:00",
|
|
95
|
+
"ng-2": "分钟",
|
|
96
|
+
"uan-hui-hua-zui-da-shi-chang": "客户端会话最大时长",
|
|
97
|
+
"ng-1": "分钟",
|
|
98
|
+
"uan-hui-hua-xian-zhi-chao-shi": "客户端会话闲置超时",
|
|
99
|
+
"-hui-hua-zui-da-shi-chang": "离线会话最大时长",
|
|
100
|
+
"i-li-xian-hui-hua-zui-da-shi-chang": "限制离线会话最大时长",
|
|
101
|
+
"-hui-hua-xian-zhi-chao-shi": "离线会话闲置超时",
|
|
102
|
+
"i-0": "小时",
|
|
103
|
+
"-deng-lu-hui-hua-zui-da-shi-chang": "【保持登录】会话最大时长",
|
|
104
|
+
"ng-0": "分钟",
|
|
105
|
+
"-deng-lu-hui-hua-xian-zhi-chao-shi": "【保持登录】会话闲置超时",
|
|
106
|
+
"-bao-chi-deng-lu": "启用【保持登录】",
|
|
107
|
+
"i": "小时",
|
|
108
|
+
"-hua-zui-da-shi-chang": "SSO会话最大时长",
|
|
109
|
+
"-hua-xian-zhi-chao-shi": "SSO会话闲置超时",
|
|
110
|
+
"u-shua-xin-ling-pai": "回收刷新令牌",
|
|
111
|
+
"-she-zhi": "会话设置",
|
|
112
|
+
"-huo-dong-shi-jian": "最后活动时间",
|
|
113
|
+
"-ke-hu-duan": "登录客户端",
|
|
114
|
+
"-suo-you-hui-hua": "结束所有会话",
|
|
115
|
+
"-xuan-zhong-hui-hua": "结束选中会话",
|
|
116
|
+
"g-hui-hua": "活动会话",
|
|
117
|
+
"jian-propsdataname-xia-ji-yong-hu-zu": "创建【{0}】下级用户组",
|
|
118
|
+
"jian-yong-hu-zu": "创建用户组",
|
|
119
|
+
"-zu-chuang-jian-cheng-gong": "用户组创建成功",
|
|
120
|
+
"jian-yong-hu-hou-xin-yong-hu-zi-dong-jia-ru-ci-yong-hu-zu": "创建用户后,新用户自动加入此用户组",
|
|
121
|
+
"-zu-ming-cheng": "用户组名称",
|
|
122
|
+
"-propsdataname-cheng-yuan-yong-hu": "设置【{0}】成员用户",
|
|
123
|
+
"a-yong-hu": "添加用户",
|
|
124
|
+
"u-yong-hu-zu": "删除用户组",
|
|
125
|
+
"-ren-yao-shan-chu-yong-hu-zu-nodename-ma": "您确认要删除用户组【{0}】吗?",
|
|
126
|
+
"uan-yong-hu": "成员用户",
|
|
127
|
+
"g-xia-ji-zu": "新建下级组",
|
|
128
|
+
"g-xiu-gai-yong-hu-she-mi-deng-ji-cheng-gong": "批量修改用户涉密等级成功",
|
|
129
|
+
"g-xiu-gai-xuan-zhong-yong-hu-de-she-mi-deng-ji-wei": "批量修改选中用户的涉密等级为",
|
|
130
|
+
"-she-mi-deng-ji": "修改涉密等级",
|
|
131
|
+
"uan-zhong-yong-hu-qian-yi-dao-zhi-ding-bu-men-cheng-gong": "将选中用户迁移到指定部门成功",
|
|
132
|
+
"uan-zhong-yong-hu-qian-yi-dao-zhi-ding-bu-men": "将选中用户迁移到指定部门",
|
|
133
|
+
"-suo-shu-bu-men": "修改所属部门",
|
|
134
|
+
"-ren-yuan-xin-xi": "修改人员信息",
|
|
135
|
+
"-chuang-jian-cheng-gong": "用户创建成功",
|
|
136
|
+
"-xiu-gai-cheng-gong": "用户修改成功",
|
|
137
|
+
"u-que-ren-mi-ma-bu-fu": "密码与确认密码不符",
|
|
138
|
+
"-mi-ma-bu-neng-wei-kong": "确认密码不能为空",
|
|
139
|
+
"u-guo-qi-shi-jian": "账户过期时间",
|
|
140
|
+
"ng-de-ip-di-zhi": "绑定的IP地址",
|
|
141
|
+
"i-ci-yong-hu-zhi-neng-cong-zhi-ding-ip-zhong-duan-deng-lu": "限制此用户只能从指定IP终端登录",
|
|
142
|
+
"-ip-bang-ding-deng-lu": "启用IP绑定登录",
|
|
143
|
+
"g-zhang-hao": "禁用账号",
|
|
144
|
+
"-jin-yong": "是否禁用",
|
|
145
|
+
"deng-ji": "涉密等级",
|
|
146
|
+
"-hao": "手机号",
|
|
147
|
+
"ng-quan-pin": "姓名全拼",
|
|
148
|
+
"-mi-ma": "确认密码",
|
|
149
|
+
"ban-ben": "数据版本",
|
|
150
|
+
"-ming": "用户名",
|
|
151
|
+
"iang-xiu-gai-le-suo-xuan-yong-hu-de-guo-qi-shi-jian": "已批量修改了所选用户的过期时间",
|
|
152
|
+
"-xuan-zhong-yong-hu-de-guo-qi-shi-jian": "修改选中用户的过期时间",
|
|
153
|
+
"-yong-hu-guo-qi-shi-jian": "修改用户过期时间",
|
|
154
|
+
"-xuan-zhong-yong-hu-que-ren-mi-ma": "修改选中用户确认密码",
|
|
155
|
+
"-xuan-zhong-yong-hu-mi-ma": "修改选中用户密码",
|
|
156
|
+
"hi-mi-ma": "重置密码",
|
|
157
|
+
"fu-suo-xuan-zhong-de-yong-hu": "已恢复所选中的用户",
|
|
158
|
+
"-1": "确认",
|
|
159
|
+
"yong-hu-0": "恢复用户",
|
|
160
|
+
"yong-hu": "恢复用户",
|
|
161
|
+
"-ren-yao-hui-fu-yong-hu-datausername-ma": "您确认要恢复用户【{0}】吗?",
|
|
162
|
+
"u-yong-hu": "删除用户",
|
|
163
|
+
"-ren-yao-shan-chu-yong-hu-datausername-ma": "您确认要删除用户【{0}】吗?",
|
|
164
|
+
"ong": "已启用",
|
|
165
|
+
"yong": "已禁用",
|
|
166
|
+
"-qi-yong": "是否启用",
|
|
167
|
+
"an": "还原",
|
|
168
|
+
"g-qi-yong-yong-hu-cheng-gong": "批量启用用户成功",
|
|
169
|
+
"g-qi-yong-zhang-hao": "批量启用账号",
|
|
170
|
+
"-ren-yao-pi-liang-qi-yong-suo-xuan-yong-hu-ma": "您确认要批量启用所选用户吗?",
|
|
171
|
+
"g-jin-yong-yong-hu-cheng-gong": "批量禁用用户成功",
|
|
172
|
+
"g-jin-yong-zhang-hao": "批量禁用账号",
|
|
173
|
+
"-ren-yao-pi-liang-jin-yong-suo-xuan-yong-hu-ma": "您确认要批量禁用所选用户吗?",
|
|
174
|
+
"an-ze-yong-hu-hou-zai-jin-hang-commandname-cao-zuo": "请选择用户后再进行{0}操作",
|
|
175
|
+
"u-zhang-hao": "删除账号",
|
|
176
|
+
"-kuo-zhan-shu-xing": "修改扩展属性",
|
|
177
|
+
"-guo-qi": "设置过期",
|
|
178
|
+
"-ip-bang-ding": "启用IP绑定",
|
|
179
|
+
"-zhang-hao": "启用账号",
|
|
180
|
+
"g-cao-zuo": "批量操作",
|
|
181
|
+
"-guan-li": "用户管理",
|
|
182
|
+
"ng-xin-xi-geng-xin-cheng-gong": "应用信息更新成功!",
|
|
183
|
+
"i-propsappinstancecaption-ying-yong-xin-xi": "更改【{0}】应用信息",
|
|
184
|
+
"jian-ying-yong": "创建应用",
|
|
185
|
+
"-hang-ye": "所属行业",
|
|
186
|
+
"-lei-bie": "所属类别",
|
|
187
|
+
"shang": "开发商",
|
|
188
|
+
"-yu-yan": "支持语言",
|
|
189
|
+
"an-kai-fa-fu-wu-url": "前端开发服务URL",
|
|
190
|
+
"ng-tu-biao": "应用图标",
|
|
191
|
+
"wu-ming-cheng": "主服务名称",
|
|
192
|
+
"ng-jian-cheng": "应用简称",
|
|
193
|
+
"ng-ming": "应用名",
|
|
194
|
+
"2-tb-2": "600 GB / 2 TB",
|
|
195
|
+
"-ku-2-bei-fen-ji-mo-ren-1": "存储库2(备份集:默认)",
|
|
196
|
+
"2-tb-1": "600 GB / 2 TB",
|
|
197
|
+
"-ku-2-bei-fen-ji-mo-ren-0": "存储库2(备份集:默认)",
|
|
198
|
+
"2-tb-0": "600 GB / 2 TB",
|
|
199
|
+
"-ku-2-bei-fen-ji-mo-ren": "存储库2(备份集:默认)",
|
|
200
|
+
"2-tb": "600 GB / 2 TB",
|
|
201
|
+
"-ku-1-bei-fen-ji-mo-ren": "存储库1(备份集:默认)",
|
|
202
|
+
"n-cun-chu-ku": "文件存储库",
|
|
203
|
+
"delete": "删除",
|
|
204
|
+
"edit": "编辑",
|
|
205
|
+
"warning": "警告",
|
|
206
|
+
"app": "应用",
|
|
207
|
+
"app-manage": "应用管理",
|
|
208
|
+
"delete-app-warning-message": "删除应用同时将删除应用相关配置数据,请输入应用名以确认继续操作。",
|
|
209
|
+
"app-name-error-message": "输入的应用名错误",
|
|
210
|
+
"delete-app-success-message": "删除应用成功!",
|
|
211
|
+
"yong-hu-hui-shou-zhan": "用户回收站",
|
|
212
|
+
"huan-yuan": "还原",
|
|
213
|
+
"bu-men": "部门",
|
|
214
|
+
"-ming": "用户名",
|
|
215
|
+
"xing": "姓名",
|
|
216
|
+
"-bu-men": "所属部门"
|
|
217
|
+
|
|
218
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"complete": "已完成",
|
|
3
|
+
"connFailed": "连接失败,请检查网络",
|
|
4
|
+
"errorClass": "异常类型",
|
|
5
|
+
"http400": "错误的请求(Http 400)",
|
|
6
|
+
"http401": "未登录或者上次登录后获取的访问令牌已过期,请重新登录",
|
|
7
|
+
"http403": "权限不足,拒绝访问(Http 403)",
|
|
8
|
+
"http404": "未找到请求的资源(Http 404)",
|
|
9
|
+
"http404-stop-code": "404,结束时会自动返回前一页面",
|
|
10
|
+
"http404-tip": "你的网页遇到了一些问题,系统正在优化和上报故障信息,我们在未来将改善和减少这种情况的发生.",
|
|
11
|
+
"http405": "使用了服务器不允许方法请求(Http 405)",
|
|
12
|
+
"http406": "服务器不接受请求的数据(Http 406)",
|
|
13
|
+
"http408": "服务已关闭空闲超时连接(Http 408)",
|
|
14
|
+
"http409": "资源版本冲突(Http 409)",
|
|
15
|
+
"http410": "资源已永久迁移(Http 410)",
|
|
16
|
+
"http411": "缺少content-length请求头(Http 411)",
|
|
17
|
+
"http412": "先决条件不满足(Http 412)",
|
|
18
|
+
"http413": "请求负载(payload)内容过大(Http 413)",
|
|
19
|
+
"http414": "URI过长(Http 414)",
|
|
20
|
+
"http415": "不支持请求的负载内容格式(Http 415)",
|
|
21
|
+
"http416": "请求的内容超出范围,不正确的Range请求头(Http 416)",
|
|
22
|
+
"http422": "无法处理请求数据(Http 422)",
|
|
23
|
+
"http425": "请求可能被重放,服务器拒绝处理(Http 425)",
|
|
24
|
+
"http429": "一定时间内发送了过多的请求(Http 429)",
|
|
25
|
+
"http431": "请求头过大(Http 431)",
|
|
26
|
+
"http500": "服务器内部错误",
|
|
27
|
+
"http501": "服务器不支持响应请求的方法(Http 501)",
|
|
28
|
+
"http502": "网关无法连接到指定服务资源(Http 502)",
|
|
29
|
+
"http503": "请求的服务不接受新的请求(Http 503)",
|
|
30
|
+
"http504": "网关等待服务响应超时(Http 504)",
|
|
31
|
+
"http505": "不支持的Http版本(Http 505)",
|
|
32
|
+
"position": "抛出位置",
|
|
33
|
+
"requestError": "请求发生异常:",
|
|
34
|
+
"requestTimeout": "请求超时,请检查网络",
|
|
35
|
+
"return-home": "返回首页",
|
|
36
|
+
"return-to-prev": "返回上一页",
|
|
37
|
+
"rootErrorClass": "根异常类型",
|
|
38
|
+
"rootErrorMsg": "根异常消息",
|
|
39
|
+
"rootPosition": "根异常位置",
|
|
40
|
+
"unknown": "发生HTTP异常",
|
|
41
|
+
"unknownApiError": "服务器发生未知异常,详细信息已保存到日志文件中"
|
|
42
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* 版权所有 (c) 2023 江苏杰瑞信息科技有限公司
|
|
3
|
+
*
|
|
4
|
+
* 此文件属于JARI.ACE平台项目,修改、分发必须遵守杰瑞信科商业软件许可协议
|
|
5
|
+
*/
|
|
6
|
+
import {genMessage} from '@jari-ace/app-bolts';
|
|
7
|
+
|
|
8
|
+
const modules = import.meta.glob("./zh-CN/**/*.json", {eager: true});
|
|
9
|
+
export default {
|
|
10
|
+
message: {
|
|
11
|
+
...genMessage(modules as Record<string, Record<string, any>>),
|
|
12
|
+
},
|
|
13
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* 版权所有 (c) 2023 江苏杰瑞信息科技有限公司
|
|
3
|
+
*
|
|
4
|
+
* 此文件属于JARI.ACE平台项目,修改、分发必须遵守杰瑞信科商业软件许可协议
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import { LocaleType, setupI18n as setup } from '@jari-ace/app-bolts';
|
|
8
|
+
import type { App } from 'vue';
|
|
9
|
+
import { useLocaleStoreWithOut } from '@/stores/modules/locale';
|
|
10
|
+
|
|
11
|
+
export async function setupI18n(app: App, locale?: LocaleType): Promise<ReturnType<typeof setup>> {
|
|
12
|
+
const messages = await import(`./lang/${locale}.ts`);
|
|
13
|
+
return setup(app, messages, useLocaleStoreWithOut(), locale);
|
|
14
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* 版权所有 (c) 2023 江苏杰瑞信息科技有限公司
|
|
3
|
+
*
|
|
4
|
+
* 此文件属于JARI.ACE平台项目,修改、分发必须遵守杰瑞信科商业软件许可协议
|
|
5
|
+
*/
|
|
6
|
+
//解决被动事件警告问题
|
|
7
|
+
import "./init";
|
|
8
|
+
import {useLocaleStore} from "@/stores/modules/locale";
|
|
9
|
+
import {createApp} from "vue";
|
|
10
|
+
import Index from "@/App.vue";
|
|
11
|
+
import {type BaseAppGlobalMessageType, type MicroAppContext, setupLoginUser} from "@jari-ace/app-bolts";
|
|
12
|
+
import {
|
|
13
|
+
setupAxios,
|
|
14
|
+
setupStore
|
|
15
|
+
} from "@jari-ace/app-bolts";
|
|
16
|
+
import * as elIcons from "@element-plus/icons-vue";
|
|
17
|
+
import JaIcon from "./components/icon/JaIcon.vue";
|
|
18
|
+
import {AceVueUI} from "@jari-ace/element-plus-component";
|
|
19
|
+
import router from "@/router/index";
|
|
20
|
+
import 'splitpanes/dist/splitpanes.css'
|
|
21
|
+
import {useVxeTable} from "@/utils/vxeTable";
|
|
22
|
+
import {useColorMode} from "@vueuse/core";
|
|
23
|
+
import {setupI18n} from "@/locales/setupI18n";
|
|
24
|
+
import './vars.scss'
|
|
25
|
+
import '@jari-ace/element-plus-component/lib/index.css'
|
|
26
|
+
import {setupAppState} from "@/hooks/useAppState";
|
|
27
|
+
import jsonWorker from 'monaco-editor/esm/vs/language/json/json.worker?worker'
|
|
28
|
+
import cssWorker from 'monaco-editor/esm/vs/language/css/css.worker?worker'
|
|
29
|
+
import htmlWorker from 'monaco-editor/esm/vs/language/html/html.worker?worker'
|
|
30
|
+
import tsWorker from 'monaco-editor/esm/vs/language/typescript/ts.worker?worker'
|
|
31
|
+
import EditorWorker from 'monaco-editor/esm/vs/editor/editor.worker?worker'
|
|
32
|
+
|
|
33
|
+
// @ts-ignore: worker
|
|
34
|
+
self.MonacoEnvironment = {
|
|
35
|
+
getWorker(_: string, label: string) {
|
|
36
|
+
if (label === 'json') {
|
|
37
|
+
return new jsonWorker()
|
|
38
|
+
}
|
|
39
|
+
if (['css', 'scss', 'less'].includes(label)) {
|
|
40
|
+
return new cssWorker()
|
|
41
|
+
}
|
|
42
|
+
if (['html', 'handlebars', 'razor'].includes(label)) {
|
|
43
|
+
return new htmlWorker()
|
|
44
|
+
}
|
|
45
|
+
if (['typescript', 'javascript'].includes(label)) {
|
|
46
|
+
return new tsWorker()
|
|
47
|
+
}
|
|
48
|
+
return new EditorWorker()
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
function switchContext(newContext: MicroAppContext ) {
|
|
53
|
+
console.log("newContext",newContext)
|
|
54
|
+
if (!newContext) {
|
|
55
|
+
throw new Error("无法获取到基座应用的上线文,请确保当前应用已嵌入在基座应用中!");
|
|
56
|
+
}
|
|
57
|
+
setupAxios(newContext.createAxios, newContext.createAxiosWithoutCache);
|
|
58
|
+
setupI18n(app, newContext.locale).then(() => {
|
|
59
|
+
useLocaleStore(store).setLocaleInfo({
|
|
60
|
+
locale: newContext.locale,
|
|
61
|
+
});
|
|
62
|
+
})
|
|
63
|
+
setupLoginUser(newContext.loginUser);
|
|
64
|
+
setupAppState({
|
|
65
|
+
getAppDevMode: newContext.getAppDevMode,
|
|
66
|
+
setAppDevMode: newContext.setAppDevMode,
|
|
67
|
+
})
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
const app = createApp(Index);
|
|
71
|
+
app.use(AceVueUI);
|
|
72
|
+
app.use(router);
|
|
73
|
+
useVxeTable(app);
|
|
74
|
+
const colorMode = useColorMode()
|
|
75
|
+
colorMode.value = 'light'
|
|
76
|
+
app.mount("#appManage");
|
|
77
|
+
app.component("JaIcon", JaIcon);
|
|
78
|
+
|
|
79
|
+
/*
|
|
80
|
+
* 全局注册element Plus的icon
|
|
81
|
+
*/
|
|
82
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
83
|
+
const icons = elIcons as any;
|
|
84
|
+
for (const i in icons) {
|
|
85
|
+
app.component(`el-icon-${icons[i].name}`, icons[i]);
|
|
86
|
+
}
|
|
87
|
+
const store = setupStore(app);
|
|
88
|
+
// window.addEventListener("", function () {
|
|
89
|
+
// app.unmount();
|
|
90
|
+
// });
|
|
91
|
+
|
|
92
|
+
if (window.__MICRO_APP_ENVIRONMENT__) {
|
|
93
|
+
if (!window.rawWindow?.appContext) {
|
|
94
|
+
throw new Error("无法找到基座应用的上下文。");
|
|
95
|
+
}
|
|
96
|
+
const appContext = window.rawWindow.appContext;
|
|
97
|
+
if(appContext){
|
|
98
|
+
switchContext(appContext);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
// switchContext(context);
|
|
103
|
+
window.microApp?.addGlobalDataListener((data) => {
|
|
104
|
+
//判断是否是基座应用发送
|
|
105
|
+
if (data.sender !== "shell") {
|
|
106
|
+
return
|
|
107
|
+
}
|
|
108
|
+
//判断类型是否是context
|
|
109
|
+
if (data.payload.type !== "context") {
|
|
110
|
+
return;
|
|
111
|
+
}
|
|
112
|
+
switchContext(data.payload.content);
|
|
113
|
+
});
|
|
114
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { createRouter, createWebHistory } from 'vue-router';
|
|
2
|
+
import type { Router } from 'vue-router';
|
|
3
|
+
import routes from './routes';
|
|
4
|
+
|
|
5
|
+
// import { AppInfo } from '@/model/app'
|
|
6
|
+
// import MicroAppSFC from '@/views/Main/components/MicroAppSFC.vue'
|
|
7
|
+
|
|
8
|
+
/*
|
|
9
|
+
* 定义vue-router 模块内的RouteMeta 必须携带一个requiresAuth属性来验证登录
|
|
10
|
+
*/
|
|
11
|
+
declare module 'vue-router' {
|
|
12
|
+
interface RouteMeta {
|
|
13
|
+
requiresAuth: boolean; //需要身份验证
|
|
14
|
+
isAppRoute?: boolean; //是否是动态添加的应用路由
|
|
15
|
+
name?: string; //名称
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* 静态路由
|
|
21
|
+
*/
|
|
22
|
+
export const router: Router = createRouter({
|
|
23
|
+
history: createWebHistory('/app/ace-app-manage'),
|
|
24
|
+
routes: [...routes],
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
router.beforeEach(async (_to, _from, next) => {
|
|
28
|
+
// const {};
|
|
29
|
+
//判断前往页面不是登录页
|
|
30
|
+
next();
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
export default router;
|