@epxing/business 5.3.0-beta.1 → 5.3.0-beta.3
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/API.md +11 -6
- package/README.md +44 -43
- package/dist/src/base/AiPromptDesigner.js +1 -0
- package/dist/src/base/AiPromptView.js +1 -0
- package/dist/src/base/AiSkillEditor.js +2 -1
- package/dist/src/base/AiSkillEditor.vue.js +2 -0
- package/dist/src/base/AppConfigFormItem.js +2 -3
- package/dist/src/base/AppConfigFormItem.vue.js +210 -85
- package/dist/src/base/AppMarket.js +1 -0
- package/dist/src/base/AppMarketList.js +1 -0
- package/dist/src/base/AppMarketSystemDetail.js +1 -0
- package/dist/src/base/AttributeSubAdd.js +1 -0
- package/dist/src/base/ChooseApplication.js +1 -0
- package/dist/src/base/ClientAppItem.js +1 -0
- package/dist/src/base/ClientApplication.js +1 -0
- package/dist/src/base/ClientApplicationList.js +1 -0
- package/dist/src/base/ClientModule.js +1 -0
- package/dist/src/base/ClientModuleIndex.js +1 -0
- package/dist/src/base/ClientSystemDetail.js +1 -0
- package/dist/src/base/ClientSystemList.js +1 -0
- package/dist/src/base/CommonFieldList.js +2 -1
- package/dist/src/base/CommonFieldList.vue.js +2 -1
- package/dist/src/base/CommonSearchList.js +1 -0
- package/dist/src/base/CompayDetail.js +1 -0
- package/dist/src/base/ComponentGlobalSet.js +1 -0
- package/dist/src/base/ComponentParamsTree.js +1 -0
- package/dist/src/base/ConfigModuleIndex.js +39 -1
- package/dist/src/base/CurrentClientApplication.js +1 -0
- package/dist/src/base/CurrentVersionInfo.js +1 -0
- package/dist/src/base/EntityMatchCompare.js +1 -0
- package/dist/src/base/FieldRelationFormItem.js +1 -0
- package/dist/src/base/HelpDocSet.js +1 -0
- package/dist/src/base/IndexFormItem.js +1 -0
- package/dist/src/base/JobFormItem.js +1 -0
- package/dist/src/base/ManageAppNav.js +2 -1
- package/dist/src/base/ManageMenu.js +2 -1
- package/dist/src/base/ManageMenuItem.js +1 -0
- package/dist/src/base/NoInstallSystemList.js +1 -0
- package/dist/src/base/PageList.js +1 -0
- package/dist/src/base/PasswordFormItem.js +1 -0
- package/dist/src/base/ProcessFormItem.js +1 -0
- package/dist/src/base/PublishSystemApplyFormItem.js +1 -0
- package/dist/src/base/RequestLog.js +1 -0
- package/dist/src/base/RightRiskList.js +1 -0
- package/dist/src/base/RoleAccredit.js +1 -0
- package/dist/src/base/RoleBindTrace.js +253 -0
- package/dist/src/base/RoleGroupManage.js +1037 -0
- package/dist/src/base/RoleRightList.js +1 -0
- package/dist/src/base/RoleUserManage.js +1 -0
- package/dist/src/base/ServiceAccredit.js +1 -0
- package/dist/src/base/ServiceMenu.js +8 -6
- package/dist/src/base/ServiceMenuFormItem.js +1 -0
- package/dist/src/base/ServiceOperate.js +1 -0
- package/dist/src/base/SystemHelpTreeFind.js +1 -0
- package/dist/src/base/aiPromptMode.js +1 -0
- package/dist/src/base/data-check/DataChckDetail.js +1 -0
- package/dist/src/base/data-check/DataCheck.js +1 -0
- package/dist/src/base/data-check/DataCheckList.js +1 -0
- package/dist/src/base/data-check/DataCheckSubList.js +1 -0
- package/dist/src/base/entity-view/EntityViewFormItem.js +1 -0
- package/dist/src/base/entity-view/EntityViewSubList.js +1 -0
- package/dist/src/base/entity-view-config/BasicInfoDialog.js +1 -0
- package/dist/src/base/entity-view-config/FieldPanel.js +1 -0
- package/dist/src/base/entity-view-config/FieldPropForm.js +1 -0
- package/dist/src/base/entity-view-config/FormulaDialog.js +1 -0
- package/dist/src/base/entity-view-config/ObjectFieldDialog.js +1 -0
- package/dist/src/base/entity-view-config/RelationPanel.js +1 -0
- package/dist/src/base/entity-view-config/SourceManagerDialog.js +1 -0
- package/dist/src/base/entity-view-config/SqlPanel.js +1 -0
- package/dist/src/base/entity-view-config/UnionPanel.js +1 -0
- package/dist/src/base/entity-view-config/ViewConfig.js +1 -0
- package/dist/src/base/entity-view-config/constants.js +1 -0
- package/dist/src/base/user-type/UserTypeFormItem.js +1 -0
- package/dist/src/components/AddPageFormItem.js +1 -0
- package/dist/src/components/AddUsedInterface.js +1 -0
- package/dist/src/components/AiDocFormItem.js +1 -0
- package/dist/src/components/AiList.js +1279 -3
- package/dist/src/components/AiPermissionAssistant.js +1 -0
- package/dist/src/components/AppList.js +1 -0
- package/dist/src/components/Apply/AIApplyIndex.js +1 -0
- package/dist/src/components/Apply/ApplyIndex.js +1 -0
- package/dist/src/components/AttributeList.js +1 -0
- package/dist/src/components/Banner.js +1 -0
- package/dist/src/components/BatchAddFieldDialog.js +1 -0
- package/dist/src/components/CardO.js +1 -0
- package/dist/src/components/CheckForm.js +1 -0
- package/dist/src/components/ClientAdminFormItem.js +1 -0
- package/dist/src/components/ClientAdminList.js +1 -0
- package/dist/src/components/ClientFormItem.js +1 -0
- package/dist/src/components/ClientList.js +1 -0
- package/dist/src/components/CodeDetail.js +1 -0
- package/dist/src/components/CodeManage.js +1 -0
- package/dist/src/components/ComponentFind.js +1 -0
- package/dist/src/components/ComponentList.js +1 -0
- package/dist/src/components/ConfigParamFormItem.js +1 -0
- package/dist/src/components/CreatePage.js +1 -0
- package/dist/src/components/DashboardCreate.js +1 -0
- package/dist/src/components/DataLog.js +1 -0
- package/dist/src/components/DataLogTimeline.js +1 -0
- package/dist/src/components/DataSnapshot.js +1 -0
- package/dist/src/components/DataSnapshotList.js +1 -0
- package/dist/src/components/DataSyncInit.js +1 -0
- package/dist/src/components/DblogList.js +1 -0
- package/dist/src/components/DeptFind.js +1 -0
- package/dist/src/components/DynamicUserList.js +1 -0
- package/dist/src/components/EntityCheckboxFind.js +1 -0
- package/dist/src/components/EntityCheckboxFind.vue.js +14 -10
- package/dist/src/components/EntityRelationAdd.js +1 -0
- package/dist/src/components/EntityRelationAddFormItem.js +1 -0
- package/dist/src/components/EntityRightFormItem.js +2 -5
- package/dist/src/components/EntityRightFormItem.vue.js +3 -1
- package/dist/src/components/EntityRightSubList.js +1 -0
- package/dist/src/components/EntitySystemEr.js +492 -0
- package/dist/src/components/EntityTagSubList.js +1 -0
- package/dist/src/components/EntityTreeManage.js +1 -0
- package/dist/src/components/ExportSystemConfig.js +1 -0
- package/dist/src/components/FieldTreeFind.js +1 -0
- package/dist/src/components/FormulaEditor.js +1 -0
- package/dist/src/components/GenTestData.js +1 -0
- package/dist/src/components/HallNav.js +1 -0
- package/dist/src/components/HallNav.vue.js +7 -36
- package/dist/src/components/HeaderNav.js +1 -0
- package/dist/src/components/IconCard.js +1 -0
- package/dist/src/components/IconFontLibrary.js +23 -1
- package/dist/src/components/IconFontList.js +22 -1
- package/dist/src/components/IdentifyList.js +1 -0
- package/dist/src/components/ImportSystemConfig.js +1 -0
- package/dist/src/components/InterfaceSubList.js +1 -0
- package/dist/src/components/JsPanel.js +1 -0
- package/dist/src/components/LanguageImportPage.js +1 -0
- package/dist/src/components/LanguageSetting.js +1 -0
- package/dist/src/components/List/LinkItem.js +1 -0
- package/dist/src/components/List/List.js +1 -0
- package/dist/src/components/List/ListItem.js +1 -0
- package/dist/src/components/MenuTreeFind.js +1 -0
- package/dist/src/components/MessageList.js +1 -0
- package/dist/src/components/MessageRuleFormItem.js +1 -0
- package/dist/src/components/MessageRuleReceiverFormItem.js +1 -0
- package/dist/src/components/MessageTemplate.js +1 -0
- package/dist/src/components/MetaList.js +1 -0
- package/dist/src/components/Nav.js +1 -0
- package/dist/src/components/NavFormCatalogItem.js +1 -0
- package/dist/src/components/NumList.js +1 -0
- package/dist/src/components/OperateLog.js +1 -0
- package/dist/src/components/PageCatalog.js +1 -0
- package/dist/src/components/PageChart.js +1 -0
- package/dist/src/components/PageSwipes.js +1 -0
- package/dist/src/components/PersonFormItem.js +1 -0
- package/dist/src/components/Popup.js +1 -0
- package/dist/src/components/PrintFormList.js +3 -1
- package/dist/src/components/PrintFormList.vue.js +3 -1
- package/dist/src/components/PublishEntity.js +1 -0
- package/dist/src/components/RelyFieldTreeFind.js +1 -0
- package/dist/src/components/ReportFormList.js +1 -0
- package/dist/src/components/ReportList.js +1 -0
- package/dist/src/components/RightSubList.js +1 -0
- package/dist/src/components/RoleAddUser.js +1 -0
- package/dist/src/components/RoleApplicationCard.js +1 -0
- package/dist/src/components/RoleApplicationList.js +1 -0
- package/dist/src/components/RoleApplicationSet.js +1 -0
- package/dist/src/components/Search.js +1 -0
- package/dist/src/components/ServiceFormItem.js +1 -0
- package/dist/src/components/SnapshotDataList.js +1 -0
- package/dist/src/components/SystemAdminList.js +1 -0
- package/dist/src/components/SystemFormItem.js +1 -0
- package/dist/src/components/SystemNav.js +1 -0
- package/dist/src/components/TaskNumCard.js +1 -0
- package/dist/src/components/TimerRuleFormItem.js +1 -0
- package/dist/src/components/TodoList.js +1 -0
- package/dist/src/components/UpdateSystemConfig.js +1 -0
- package/dist/src/components/UserCard.js +1 -0
- package/dist/src/components/UserFind.js +1 -0
- package/dist/src/components/UserFormItem.js +1 -0
- package/dist/src/components/UserList.js +1 -0
- package/dist/src/components/UserManage.js +1 -0
- package/dist/src/components/UserRoleList.js +1 -0
- package/dist/src/components/ValidateRuleFormItem.js +1 -0
- package/dist/src/components/ViewFieldDefine.js +1 -0
- package/dist/src/components/WikiSpaceList.js +1 -0
- package/dist/src/components/WikiWorkbench.js +154 -129
- package/dist/src/components/authorization/AddApiPermiss.js +1 -0
- package/dist/src/components/authorization/AddAuthorization.js +1 -0
- package/dist/src/components/authorization/AddEntityFind.js +1 -0
- package/dist/src/components/authorization/AddNoApi.js +1 -0
- package/dist/src/components/authorization/AddRoleScope.js +1 -0
- package/dist/src/components/authorization/AiRolePlan.js +1 -0
- package/dist/src/components/authorization/ApiShareOtherList.js +1 -0
- package/dist/src/components/authorization/ApiSystemList.js +1 -0
- package/dist/src/components/authorization/AuthorizationInterface.js +4 -1
- package/dist/src/components/authorization/AuthorizationRoleSystem.js +1 -0
- package/dist/src/components/authorization/EntityConstraintFormItem.js +1 -0
- package/dist/src/components/authorization/OtherShareApiList.js +1 -0
- package/dist/src/components/authorization/PermissCommonRoleTabs.js +1 -0
- package/dist/src/components/authorization/PermissRoleAuthorization.js +1 -0
- package/dist/src/components/authorization/PermissRoleTabs.js +1 -0
- package/dist/src/components/authorization/RoleLevel.js +1 -0
- package/dist/src/components/authorization/RoleLevelScope.js +1 -0
- package/dist/src/components/authorization/SystemAddNoApi.js +1 -0
- package/dist/src/components/card/CardList.js +1 -0
- package/dist/src/components/card/CardListItem.js +1 -0
- package/dist/src/components/card/Title.js +1 -0
- package/dist/src/components/custom-bpmn/CustomContextPad.js +1 -0
- package/dist/src/components/custom-bpmn/CustomPalette.js +1 -0
- package/dist/src/components/custom-bpmn/CustomRenderer.js +1 -0
- package/dist/src/components/custom-bpmn/CustomRendererBpmn.js +1 -0
- package/dist/src/components/custom-bpmn/PropertiesView.js +1992 -1942
- package/dist/src/components/custom-bpmn/components/AiModel.js +1 -0
- package/dist/src/components/custom-bpmn/components/Api.js +1 -0
- package/dist/src/components/custom-bpmn/components/BatchOperation.js +1 -0
- package/dist/src/components/custom-bpmn/components/Copy.js +1 -0
- package/dist/src/components/custom-bpmn/components/DataTransform.js +1 -0
- package/dist/src/components/custom-bpmn/components/Demo.js +1 -0
- package/dist/src/components/custom-bpmn/components/EditDiv.js +1 -0
- package/dist/src/components/custom-bpmn/components/GenScope.js +1 -0
- package/dist/src/components/custom-bpmn/components/GlobalParamsTree.js +1 -0
- package/dist/src/components/custom-bpmn/components/Knowledges.js +1 -0
- package/dist/src/components/custom-bpmn/components/Login.js +1 -0
- package/dist/src/components/custom-bpmn/components/MessageQueue.js +1 -0
- package/dist/src/components/custom-bpmn/components/MetaSelect.js +1 -0
- package/dist/src/components/custom-bpmn/components/NumStatistic.js +1 -0
- package/dist/src/components/custom-bpmn/components/ObjectTransform.js +1 -0
- package/dist/src/components/custom-bpmn/components/OutPut.js +1 -0
- package/dist/src/components/custom-bpmn/components/ParamsMachining.js +1 -0
- package/dist/src/components/custom-bpmn/components/ParamsOutput.js +1 -0
- package/dist/src/components/custom-bpmn/components/ProcessAudit.js +1 -0
- package/dist/src/components/custom-bpmn/components/SingleMultipleFind.js +1 -0
- package/dist/src/components/custom-bpmn/components/TestDialog.js +1 -0
- package/dist/src/components/custom-bpmn/index.js +1 -0
- package/dist/src/components/custom-bpmn/palette.js +1 -0
- package/dist/src/components/custom-bpmn/util.js +1 -0
- package/dist/src/components/dashboard-create.js +1 -0
- package/dist/src/components/entity-relation-diagram/Er.js +1 -0
- package/dist/src/components/entity-relation-diagram/renderErNode.js +1 -0
- package/dist/src/components/expand/AddForm.js +1 -0
- package/dist/src/components/expand/AddFormItem.js +1 -0
- package/dist/src/components/filter/Filter.js +1 -0
- package/dist/src/components/filter/FilterItem.js +1 -0
- package/dist/src/components/hall/AppCollect.js +1 -0
- package/dist/src/components/hall/AppList.js +1 -0
- package/dist/src/components/hall/AppVisitRecord.js +1 -0
- package/dist/src/components/hall/Banner.js +1 -0
- package/dist/src/components/hall/ServiceCard.js +1 -0
- package/dist/src/components/hall/UserCard.js +1 -0
- package/dist/src/components/icon-gallery/IconGallery.js +193 -0
- package/dist/src/components/icon-gallery/mixin.js +150 -0
- package/dist/src/components/permiss/AddApi.js +1 -0
- package/dist/src/components/permiss/AddNoEntityApi.js +1 -0
- package/dist/src/components/permiss/AddSystemPermiss.js +1 -0
- package/dist/src/components/permiss/AllocateRole.js +1 -0
- package/dist/src/components/permiss/ApiSubList.js +1 -0
- package/dist/src/components/permiss/CommonRoleMenu.js +1 -0
- package/dist/src/components/permiss/FieldScope.js +1 -0
- package/dist/src/components/permiss/PermissManage.js +1 -0
- package/dist/src/components/permiss/RoleAppList.js +1 -0
- package/dist/src/components/permiss/RoleMenu.js +1 -0
- package/dist/src/components/permiss/RoleSubList.js +1 -0
- package/dist/src/components/permiss/jurisdiction.js +1 -0
- package/dist/src/components/process-healthcheck/HealthcheckChart.js +1 -0
- package/dist/src/components/process-healthcheck/HealthcheckRenderer.js +1 -0
- package/dist/src/components/process-healthcheck/index.js +1 -0
- package/dist/src/components/report/Config.js +1 -0
- package/dist/src/components/report/Design.js +1 -0
- package/dist/src/components/report/StatList.js +1 -0
- package/dist/src/components/right/EntityOtherSystemList.js +1 -0
- package/dist/src/components/right/SystemInterfaceList.js +1 -0
- package/dist/src/components/right/SystemList.js +1 -0
- package/dist/src/components/upLoad.js +1 -0
- package/dist/src/components/viewport/LookViewList.js +1 -0
- package/dist/src/components/viewport/ViewAddForm.js +1 -0
- package/dist/src/components/viewport/ViewDefineList.js +1 -0
- package/dist/src/components/viewport/ViewFiedList.js +1 -0
- package/dist/src/components/viewport/ViewScope.js +1 -0
- package/dist/src/components/wiki-workbench/WikiCites.js +1 -0
- package/dist/src/components/wiki-workbench/WikiIntake.js +87 -93
- package/dist/src/components/wiki-workbench/WikiIntake.vue.js +153 -73
- package/dist/src/components/wiki-workbench/WikiJobs.js +1 -0
- package/dist/src/components/wiki-workbench/WikiRevisions.js +1 -0
- package/dist/src/components/wiki-workbench/WikiSpaceSettings.js +1 -0
- package/dist/src/components/wiki-workbench/codes.js +1 -0
- package/dist/src/components/wiki-workbench/index.js +1 -0
- package/dist/src/index.js +27 -20
- package/dist/src/popup.js +1 -0
- package/dist/src/public-components.js +17 -14
- package/dist/src/remote.entry.js +1 -0
- package/dist/src/route-components.js +6 -5
- package/dist/src/system.component.index.js +2 -1
- package/dist/src/system.component.js +9 -3
- package/dist/src/system.component.lazy.js +2 -1
- package/dist/src/views/Add.js +2 -1
- package/dist/src/views/Add.vue.js +8 -3
- package/dist/src/views/AiToolManager.js +793 -317
- package/dist/src/views/App.js +4 -45
- package/dist/src/views/AppRoleSelect.js +4 -230
- package/dist/src/views/BatchEdit.js +1 -0
- package/dist/src/views/Bpmn.js +1 -0
- package/dist/src/views/EntityCheckPage.js +1 -0
- package/dist/src/views/EntityDetailPage.js +1 -0
- package/dist/src/views/EntityEditPage.js +1 -0
- package/dist/src/views/EntitySubListPage.js +1 -0
- package/dist/src/views/EntityTreePage.js +1 -0
- package/dist/src/views/Error.js +4 -207
- package/dist/src/views/ExcelDesign.js +327 -316
- package/dist/src/views/ExcelPreviewPage.js +1 -0
- package/dist/src/views/ExportFilePage.js +1 -0
- package/dist/src/views/ExportPage.js +1 -0
- package/dist/src/views/FormDesign.js +1 -0
- package/dist/src/views/I18nWorkbench.js +1 -0
- package/dist/src/views/ImportFilePage.js +1 -0
- package/dist/src/views/ImportPage.js +1 -0
- package/dist/src/views/JvmMemoryMonitor.js +463 -0
- package/dist/src/views/MEntityListPage.js +1 -0
- package/dist/src/views/MEntitySubListPage.js +1 -0
- package/dist/src/views/MinePage.js +1 -0
- package/dist/src/views/Module.js +4 -170
- package/dist/src/views/PageAttributeTreePage.js +1 -0
- package/dist/src/views/PageConfig.js +1 -0
- package/dist/src/views/Permission.js +1 -0
- package/dist/src/views/PersonalInfo.js +1 -0
- package/dist/src/views/QyWechat.js +1 -0
- package/dist/src/views/ReportFormListPage.js +1 -0
- package/dist/src/views/TaskPage.js +1 -0
- package/dist/src/views/WikiBinding.js +89 -25
- package/dist/src/views/client/AddForm.js +1 -0
- package/dist/src/views/client/AppMarket.js +1 -0
- package/dist/src/views/client/ClientIndex.js +1 -0
- package/dist/src/views/client/ClientModuleIndexPage.js +1 -0
- package/dist/src/views/client/CopySystem.js +1 -0
- package/dist/src/views/client/CreateAppFormItem.js +1 -0
- package/dist/src/views/client/CreateMethod.js +1 -0
- package/dist/src/views/client/InstallSystem.js +1 -0
- package/dist/src/views/client/ManageList.js +1 -0
- package/dist/src/views/client/OpenClientManage.js +1 -0
- package/dist/src/views/client/OpenSystemManage.js +1 -0
- package/dist/src/views/client/PageTabsCyclic.js +1 -0
- package/dist/src/views/client/SelfBuiltSystem.js +1 -0
- package/dist/src/views/client/StandardProduct.js +1 -0
- package/dist/src/views/client/SystemAppAccredit.js +1 -0
- package/dist/src/views/client/SystemAppManager.js +1 -0
- package/dist/src/views/client/SystemManager.js +1 -0
- package/dist/src/views/i18n/I18nAiTaskHistoryDialog.js +1 -0
- package/dist/src/views/i18n/I18nPublishDialog.js +1 -0
- package/dist/src/views/i18n/I18nTranslationList.js +1 -0
- package/dist/src/views/i18n/i18n-workbench-text.js +1 -0
- package/dist/src/views/layout/CardList.js +1 -0
- package/dist/src/views/layout/Grid.js +1 -0
- package/dist/src/views/match/AddTargetField.js +1 -0
- package/dist/src/views/match/MatchAddFormItem.js +1 -0
- package/dist/src/views/match/conversion.js +1 -0
- package/dist/src/views/match/customize.js +1 -0
- package/dist/src/views/match/fieldMatch.js +1 -0
- package/dist/src/views/report/AddFormItem.js +1 -0
- package/dist/src/views/report/DesignReport.js +1 -0
- package/dist/src/views/report/ReportTreeFind.js +1 -0
- package/dist/style.css +2867 -1487
- package/package.json +14 -7
- package/src/base/AiSkillEditor.vue +2 -0
- package/src/base/AppConfigFormItem.vue +211 -145
- package/src/base/CommonFieldList.vue +9 -6
- package/src/base/ConfigModuleIndex.vue +37 -1
- package/src/base/ManageAppNav.vue +1188 -1188
- package/src/base/ManageMenu.vue +933 -933
- package/src/base/RoleBindTrace.vue +364 -0
- package/src/base/RoleGroupManage.vue +1160 -0
- package/src/base/ServiceMenu.vue +6 -5
- package/src/components/AiList.vue +439 -113
- package/src/components/EntityCheckboxFind.vue +12 -8
- package/src/components/EntityRightFormItem.vue +9 -10
- package/src/components/EntitySystemEr.vue +517 -0
- package/src/components/HallNav.vue +6 -33
- package/src/components/IconFontLibrary.vue +27 -60
- package/src/components/IconFontList.vue +13 -64
- package/src/components/PrintFormList.vue +33 -27
- package/src/components/WikiWorkbench.vue +90 -60
- package/src/components/authorization/AuthorizationInterface.vue +2 -0
- package/src/components/custom-bpmn/CustomPalette.js +1 -1
- package/src/components/custom-bpmn/CustomRenderer.js +1 -1
- package/src/components/custom-bpmn/PropertiesView.vue +35 -4
- package/src/components/custom-bpmn/index.js +1 -1
- package/src/components/icon-gallery/IconGallery.vue +130 -0
- package/src/components/icon-gallery/mixin.jsx +109 -0
- package/src/components/wiki-workbench/WikiIntake.vue +178 -104
- package/src/index.js +24 -20
- package/src/public-components.js +1 -0
- package/src/route-components.js +4 -4
- package/src/system.component.index.js +1 -1
- package/src/views/Add.vue +8 -5
- package/src/views/AiToolManager.vue +326 -4
- package/src/views/App.vue +4 -53
- package/src/views/AppRoleSelect.vue +4 -334
- package/src/views/Error.vue +4 -63
- package/src/views/ExcelDesign.vue +24 -7
- package/src/views/JvmMemoryMonitor.vue +284 -0
- package/src/views/Module.vue +4 -210
- package/src/views/WikiBinding.vue +42 -0
- package/types/app.d.ts +1 -0
- package/types/dept-find.d.ts +1 -1
- package/types/index.d.ts +15 -14
- package/types/popup.d.ts +2 -2
- package/types/route-components.d.ts +1 -1
- package/types/user-find.d.ts +1 -1
- package/dist/assets/role_select-DTqRlFNz.webp +0 -0
- package/dist/src/components/AiList.vue.js +0 -93
- package/dist/src/components/IconFontLibrary.vue.js +0 -67
- package/dist/src/components/IconFontList.vue.js +0 -79
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import '../../style.css';
|
|
2
|
+
import { resolveComponent, resolveDirective, withDirectives, openBlock, createElementBlock, normalizeStyle, createElementVNode, Fragment, renderList, normalizeClass, toDisplayString, createBlock, withCtx, createTextVNode, createCommentVNode, createVNode, vShow, h } from "vue";
|
|
1
3
|
import component from "@epxing/core/src/mixins/component";
|
|
2
4
|
import { WikiDoc, WikiTree } from "@epxing/components/src/wiki-site";
|
|
3
5
|
import WikiJobs from "./wiki-workbench/WikiJobs.js";
|
|
@@ -6,7 +8,6 @@ import WikiCites from "./wiki-workbench/WikiCites.js";
|
|
|
6
8
|
import WikiIntake from "./wiki-workbench/WikiIntake.js";
|
|
7
9
|
import WikiSpaceSettings from "./wiki-workbench/WikiSpaceSettings.js";
|
|
8
10
|
import { resolvePath, pagePath } from "@epxing/components/src/wiki-site/wiki-path";
|
|
9
|
-
import { resolveComponent, resolveDirective, withDirectives, openBlock, createElementBlock, normalizeStyle, createElementVNode, Fragment, renderList, normalizeClass, toDisplayString, createBlock, withCtx, createTextVNode, createCommentVNode, createVNode, vShow } from "vue";
|
|
10
11
|
/* empty css */
|
|
11
12
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
12
13
|
const WIKI_META = "FM_AI_WIKI";
|
|
@@ -37,11 +38,11 @@ const _sfc_main = {
|
|
|
37
38
|
boxHeight: "100%",
|
|
38
39
|
tab: "content",
|
|
39
40
|
editing: false,
|
|
41
|
+
managing: false,
|
|
40
42
|
// 编辑器里的内容改过没有。由 WikiDoc 报上来——它才知道基准是草稿还是已发布正文
|
|
41
43
|
dirty: false,
|
|
42
44
|
syncing: false,
|
|
43
45
|
inspecting: false,
|
|
44
|
-
reindexing: false,
|
|
45
46
|
tabs: [
|
|
46
47
|
{ key: "content", name: "内容" },
|
|
47
48
|
{ key: "intake", name: "原始文件" },
|
|
@@ -66,11 +67,6 @@ const _sfc_main = {
|
|
|
66
67
|
initialPath() {
|
|
67
68
|
return this.$query.path || this.$route.query.path || "";
|
|
68
69
|
},
|
|
69
|
-
/** 新建时放在当前页所在目录下——人多半是在「这一块」里继续加内容。 */
|
|
70
|
-
currentDir() {
|
|
71
|
-
const p = this.path || "";
|
|
72
|
-
return p.includes("/") ? p.slice(0, p.lastIndexOf("/")) : "";
|
|
73
|
-
},
|
|
74
70
|
pageWithSpace() {
|
|
75
71
|
return { ...this.doc, wikiId: this.wikiId };
|
|
76
72
|
},
|
|
@@ -115,6 +111,11 @@ const _sfc_main = {
|
|
|
115
111
|
}
|
|
116
112
|
},
|
|
117
113
|
methods: {
|
|
114
|
+
switchTab(key) {
|
|
115
|
+
if (key === this.tab) return;
|
|
116
|
+
this.tab = key;
|
|
117
|
+
if (key === "content") this.refreshContent();
|
|
118
|
+
},
|
|
118
119
|
/**
|
|
119
120
|
* 量出可用高度。
|
|
120
121
|
*
|
|
@@ -136,8 +137,8 @@ const _sfc_main = {
|
|
|
136
137
|
}
|
|
137
138
|
this.measured = true;
|
|
138
139
|
const marginBottom = parseFloat(window.getComputedStyle(el).marginBottom) || 0;
|
|
139
|
-
const
|
|
140
|
-
const next =
|
|
140
|
+
const h2 = Math.max(320, Math.floor(this.availBottom() - rect.top - marginBottom));
|
|
141
|
+
const next = h2 + "px";
|
|
141
142
|
if (next !== this.boxHeight) this.boxHeight = next;
|
|
142
143
|
},
|
|
143
144
|
/**
|
|
@@ -176,25 +177,25 @@ const _sfc_main = {
|
|
|
176
177
|
return this.$http.get({ action: "space", entityId: WIKI_META, wikiId: this.wikiId }).then((d) => {
|
|
177
178
|
this.space = d && d.space || {};
|
|
178
179
|
this.nodes = d && d.nodes || [];
|
|
179
|
-
if (!this.path && this.initialPath) {
|
|
180
|
-
this.doOpen(this.initialPath);
|
|
180
|
+
if (!this.path && this.initialPath && this.nodes.some((n) => n.path === this.initialPath)) {
|
|
181
|
+
return this.doOpen(this.initialPath);
|
|
181
182
|
} else if (!this.path) {
|
|
182
183
|
const first = this.nodes.find((n) => n.type === "page");
|
|
183
|
-
if (first) this.
|
|
184
|
+
if (first) return this.doOpen(first.path);
|
|
184
185
|
}
|
|
185
186
|
}).catch((e) => this.$message.error(e && e.message || "空间加载失败")).finally(() => {
|
|
186
187
|
this.loading = false;
|
|
187
188
|
});
|
|
188
189
|
},
|
|
189
|
-
/**
|
|
190
|
+
/** 页发生增删或生成后,目录与当前正文都重新读取。 */
|
|
190
191
|
refreshContent() {
|
|
191
192
|
const current = this.path;
|
|
192
193
|
return this.load().then(() => {
|
|
193
194
|
if (current) return this.doOpen(current);
|
|
194
195
|
});
|
|
195
196
|
},
|
|
196
|
-
newPage() {
|
|
197
|
-
this.$prompt("
|
|
197
|
+
newPage(dir) {
|
|
198
|
+
this.$prompt("位置:" + (dir || "根目录") + "。新页先保存为草稿,发布后写回源。", "新建页", {
|
|
198
199
|
confirmButtonText: "创建",
|
|
199
200
|
cancelButtonText: "取消",
|
|
200
201
|
inputPlaceholder: "页标题"
|
|
@@ -205,17 +206,19 @@ const _sfc_main = {
|
|
|
205
206
|
entityId: WIKI_META,
|
|
206
207
|
wikiId: this.wikiId,
|
|
207
208
|
title: value.trim(),
|
|
208
|
-
dir
|
|
209
|
+
dir
|
|
209
210
|
}).then((d) => {
|
|
210
211
|
this.$message.success(d && d.message || "已新建");
|
|
211
|
-
this.load()
|
|
212
|
-
|
|
212
|
+
return this.load().then(() => {
|
|
213
|
+
if (d && d.path) return this.doOpen(d.path);
|
|
214
|
+
});
|
|
213
215
|
});
|
|
214
|
-
}).catch(() => {
|
|
216
|
+
}).catch((e) => {
|
|
217
|
+
if (e !== "cancel" && e !== "close") this.$message.error(e && e.message || "新建页失败");
|
|
215
218
|
});
|
|
216
219
|
},
|
|
217
|
-
newFolder() {
|
|
218
|
-
this.$prompt("
|
|
220
|
+
newFolder(dir) {
|
|
221
|
+
this.$prompt("位置:" + (dir || "根目录") + "。文件夹不会往源里写文件。", "新建文件夹", {
|
|
219
222
|
confirmButtonText: "创建",
|
|
220
223
|
cancelButtonText: "取消",
|
|
221
224
|
inputPlaceholder: "文件夹名"
|
|
@@ -226,12 +229,13 @@ const _sfc_main = {
|
|
|
226
229
|
entityId: WIKI_META,
|
|
227
230
|
wikiId: this.wikiId,
|
|
228
231
|
name: value.trim(),
|
|
229
|
-
dir
|
|
232
|
+
dir
|
|
230
233
|
}).then((d) => {
|
|
231
234
|
this.$message.success(d && d.message || "已新建");
|
|
232
235
|
this.load();
|
|
233
236
|
});
|
|
234
|
-
}).catch(() => {
|
|
237
|
+
}).catch((e) => {
|
|
238
|
+
if (e !== "cancel" && e !== "close") this.$message.error(e && e.message || "新建文件夹失败");
|
|
235
239
|
});
|
|
236
240
|
},
|
|
237
241
|
/**
|
|
@@ -240,12 +244,30 @@ const _sfc_main = {
|
|
|
240
244
|
* 删除是一次真实的发布:已发布的页会从源里删掉文件并 push。所以确认框里
|
|
241
245
|
* 把后果写清楚,而不是只问一句「确定删除吗」。
|
|
242
246
|
*/
|
|
243
|
-
onRemove(node) {
|
|
247
|
+
async onRemove(node) {
|
|
244
248
|
const isFolder = node.type === "folder";
|
|
245
|
-
|
|
246
|
-
|
|
249
|
+
if (isFolder && this.nodes.some((n) => n.up === node.path)) {
|
|
250
|
+
this.$message.warning("文件夹下还有内容,请先处理子节点");
|
|
251
|
+
return;
|
|
252
|
+
}
|
|
253
|
+
let links = [];
|
|
254
|
+
if (!isFolder) {
|
|
255
|
+
try {
|
|
256
|
+
const d = await this.$http.get({ action: "page", entityId: WIKI_META, wikiId: this.wikiId, pageId: node.id });
|
|
257
|
+
links = d && d.backlinks || [];
|
|
258
|
+
} catch (e) {
|
|
259
|
+
this.$message.error(e && e.message || "读取关联链接失败,无法确认删除影响");
|
|
260
|
+
return;
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
const affected = [...new Set(links.map((link) => link.path).filter(Boolean))];
|
|
264
|
+
const message = isFolder ? "将删除空文件夹;文件夹在源里不是文件。" : affected.length ? "将删除此页;若已发布,源文件也会删除并推送。以下 " + affected.length + " 个页面指向它,删除后这些链接会失效:\n" + affected.join("\n") : "将删除此页;若已发布,源文件也会删除并推送。当前没有指向它的页面链接。";
|
|
265
|
+
const body = h("div", {
|
|
266
|
+
style: { whiteSpace: "pre-line", maxHeight: "40vh", overflowY: "auto" }
|
|
267
|
+
}, message);
|
|
268
|
+
this.$confirm(body, "删除「" + (node.title || node.path) + "」", {
|
|
247
269
|
type: "warning",
|
|
248
|
-
confirmButtonText: "删除",
|
|
270
|
+
confirmButtonText: affected.length ? "仍要删除" : "删除",
|
|
249
271
|
cancelButtonText: "取消",
|
|
250
272
|
confirmButtonClass: "el-button--danger"
|
|
251
273
|
}).then(() => {
|
|
@@ -256,7 +278,7 @@ const _sfc_main = {
|
|
|
256
278
|
this.doc = {};
|
|
257
279
|
this.backlinks = [];
|
|
258
280
|
}
|
|
259
|
-
this.
|
|
281
|
+
this.refreshContent();
|
|
260
282
|
}).catch((e) => this.$message.error(e && e.message || "删除失败"));
|
|
261
283
|
}).catch(() => {
|
|
262
284
|
});
|
|
@@ -338,16 +360,6 @@ const _sfc_main = {
|
|
|
338
360
|
this.syncing = false;
|
|
339
361
|
});
|
|
340
362
|
},
|
|
341
|
-
/** 重建索引只重算投影,不碰源——所以它和同步是两个按钮,不是一个。 */
|
|
342
|
-
doReindex() {
|
|
343
|
-
this.reindexing = true;
|
|
344
|
-
this.$http.update({ action: "reindex", entityId: WIKI_META, wikiId: this.wikiId }).then((d) => {
|
|
345
|
-
this.$message.success(d && d.message || "索引已重建");
|
|
346
|
-
this.loadDetail();
|
|
347
|
-
}).catch((e) => this.$message.error(e && e.message || "重建索引失败")).finally(() => {
|
|
348
|
-
this.reindexing = false;
|
|
349
|
-
});
|
|
350
|
-
},
|
|
351
363
|
/** 从「引用与反馈」点开一页:切回内容页签,免得人以为点了没反应。 */
|
|
352
364
|
openFromTab(path) {
|
|
353
365
|
this.tab = "content";
|
|
@@ -355,7 +367,10 @@ const _sfc_main = {
|
|
|
355
367
|
},
|
|
356
368
|
doInspect() {
|
|
357
369
|
this.inspecting = true;
|
|
358
|
-
this.$http.update({ action: "inspect", entityId: WIKI_META, wikiId: this.wikiId
|
|
370
|
+
this.$http.update({ action: "inspect", entityId: WIKI_META, wikiId: this.wikiId, maintain: "true" }).then((d) => {
|
|
371
|
+
this.$message.success(d && d.message || "体检与索引维护完成");
|
|
372
|
+
if (d && d.indexRebuilt) this.loadDetail();
|
|
373
|
+
}).catch((e) => this.$message.error(e && e.message || "体检与索引维护失败")).finally(() => {
|
|
359
374
|
this.inspecting = false;
|
|
360
375
|
});
|
|
361
376
|
},
|
|
@@ -379,21 +394,22 @@ const _hoisted_3 = { class: "wiki-workbench__space" };
|
|
|
379
394
|
const _hoisted_4 = { class: "wiki-workbench__body" };
|
|
380
395
|
const _hoisted_5 = { class: "wiki-workbench__tree" };
|
|
381
396
|
const _hoisted_6 = { class: "wiki-workbench__tree-top" };
|
|
382
|
-
const _hoisted_7 = {
|
|
397
|
+
const _hoisted_7 = { class: "wiki-workbench__tree-ops" };
|
|
398
|
+
const _hoisted_8 = {
|
|
383
399
|
key: 0,
|
|
384
400
|
class: "wiki-workbench__tree-ops"
|
|
385
401
|
};
|
|
386
|
-
const
|
|
402
|
+
const _hoisted_9 = {
|
|
387
403
|
key: 0,
|
|
388
404
|
class: "wiki-workbench__tree-tip"
|
|
389
405
|
};
|
|
390
|
-
const
|
|
391
|
-
const
|
|
392
|
-
const
|
|
393
|
-
const
|
|
394
|
-
const
|
|
395
|
-
const
|
|
396
|
-
const
|
|
406
|
+
const _hoisted_10 = { class: "wiki-workbench__doc" };
|
|
407
|
+
const _hoisted_11 = { class: "wiki-workbench__doc-top" };
|
|
408
|
+
const _hoisted_12 = { class: "wiki-workbench__doc-nm" };
|
|
409
|
+
const _hoisted_13 = { class: "nm" };
|
|
410
|
+
const _hoisted_14 = { class: "pt" };
|
|
411
|
+
const _hoisted_15 = { class: "wiki-workbench__doc-ops" };
|
|
412
|
+
const _hoisted_16 = { class: "wiki-workbench__foot" };
|
|
397
413
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
398
414
|
const _component_el_tag = resolveComponent("el-tag");
|
|
399
415
|
const _component_el_input = resolveComponent("el-input");
|
|
@@ -415,7 +431,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
415
431
|
return openBlock(), createElementBlock("button", {
|
|
416
432
|
key: t.key,
|
|
417
433
|
class: normalizeClass({ "is-on": $data.tab === t.key }),
|
|
418
|
-
onClick: ($event) => $
|
|
434
|
+
onClick: ($event) => $options.switchTab(t.key)
|
|
419
435
|
}, toDisplayString(t.name), 11, _hoisted_2);
|
|
420
436
|
}), 128)),
|
|
421
437
|
createElementVNode("span", _hoisted_3, [
|
|
@@ -425,7 +441,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
425
441
|
size: "small",
|
|
426
442
|
type: "warning"
|
|
427
443
|
}, {
|
|
428
|
-
default: withCtx(() => [..._cache[
|
|
444
|
+
default: withCtx(() => [..._cache[12] || (_cache[12] = [
|
|
429
445
|
createTextVNode("索引待重建", -1)
|
|
430
446
|
])]),
|
|
431
447
|
_: 1
|
|
@@ -435,7 +451,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
435
451
|
size: "small",
|
|
436
452
|
type: "danger"
|
|
437
453
|
}, {
|
|
438
|
-
default: withCtx(() => [..._cache[
|
|
454
|
+
default: withCtx(() => [..._cache[13] || (_cache[13] = [
|
|
439
455
|
createTextVNode("已停用", -1)
|
|
440
456
|
])]),
|
|
441
457
|
_: 1
|
|
@@ -453,95 +469,107 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
453
469
|
placeholder: "过滤页标题或路径",
|
|
454
470
|
"prefix-icon": "el-icon-search"
|
|
455
471
|
}, null, 8, ["modelValue"]),
|
|
456
|
-
|
|
472
|
+
createElementVNode("div", _hoisted_7, [
|
|
473
|
+
createVNode(_component_el_button, {
|
|
474
|
+
type: $data.managing ? "primary" : "default",
|
|
475
|
+
size: "small",
|
|
476
|
+
onClick: _cache[1] || (_cache[1] = ($event) => $data.managing = !$data.managing)
|
|
477
|
+
}, {
|
|
478
|
+
default: withCtx(() => [
|
|
479
|
+
createTextVNode(toDisplayString($data.managing ? "完成目录管理" : "目录管理"), 1)
|
|
480
|
+
]),
|
|
481
|
+
_: 1
|
|
482
|
+
}, 8, ["type"])
|
|
483
|
+
]),
|
|
484
|
+
$data.managing ? (openBlock(), createElementBlock("div", _hoisted_8, [
|
|
457
485
|
createVNode(_component_el_button, {
|
|
458
|
-
type: "primary",
|
|
459
486
|
size: "small",
|
|
460
|
-
onClick: $options.newPage
|
|
487
|
+
onClick: _cache[2] || (_cache[2] = ($event) => $options.newPage(""))
|
|
461
488
|
}, {
|
|
462
|
-
default: withCtx(() => [..._cache[
|
|
463
|
-
createTextVNode("+
|
|
489
|
+
default: withCtx(() => [..._cache[14] || (_cache[14] = [
|
|
490
|
+
createTextVNode("+ 根目录页", -1)
|
|
464
491
|
])]),
|
|
465
492
|
_: 1
|
|
466
|
-
}
|
|
493
|
+
}),
|
|
467
494
|
createVNode(_component_el_button, {
|
|
468
495
|
size: "small",
|
|
469
|
-
onClick: $options.newFolder
|
|
496
|
+
onClick: _cache[3] || (_cache[3] = ($event) => $options.newFolder(""))
|
|
470
497
|
}, {
|
|
471
|
-
default: withCtx(() => [..._cache[
|
|
472
|
-
createTextVNode("+
|
|
498
|
+
default: withCtx(() => [..._cache[15] || (_cache[15] = [
|
|
499
|
+
createTextVNode("+ 根文件夹", -1)
|
|
473
500
|
])]),
|
|
474
501
|
_: 1
|
|
475
|
-
}
|
|
502
|
+
})
|
|
476
503
|
])) : createCommentVNode("", true)
|
|
477
504
|
]),
|
|
478
|
-
$data.
|
|
479
|
-
createTextVNode(" 同级拖动 = 只改顺序,", -1),
|
|
480
|
-
createElementVNode("b", null, "不产生 commit", -1),
|
|
481
|
-
createTextVNode(";改路径要走发布流程,暂未开放。 ", -1)
|
|
482
|
-
])])) : createCommentVNode("", true),
|
|
505
|
+
$data.managing ? (openBlock(), createElementBlock("div", _hoisted_9, " 节点右侧“操作”可新增下级或删除;同级拖动调整顺序。 ")) : createCommentVNode("", true),
|
|
483
506
|
createVNode(_component_wiki_tree, {
|
|
484
507
|
nodes: $data.nodes,
|
|
485
508
|
current: $data.path,
|
|
486
509
|
keyword: $data.filter,
|
|
487
|
-
sortable: $data.
|
|
488
|
-
|
|
510
|
+
sortable: $data.managing,
|
|
511
|
+
manageable: $data.managing,
|
|
489
512
|
"empty-text": "这个空间还没有页。先同步远端把已有文档拉进来",
|
|
490
513
|
onOpen: $options.openPage,
|
|
491
514
|
onReorder: $options.onReorder,
|
|
492
|
-
onRemove: $options.onRemove
|
|
493
|
-
|
|
515
|
+
onRemove: $options.onRemove,
|
|
516
|
+
onCreatePage: $options.newPage,
|
|
517
|
+
onCreateFolder: $options.newFolder
|
|
518
|
+
}, null, 8, ["nodes", "current", "keyword", "sortable", "manageable", "onOpen", "onReorder", "onRemove", "onCreatePage", "onCreateFolder"])
|
|
494
519
|
]),
|
|
495
|
-
createElementVNode("div",
|
|
496
|
-
createElementVNode("div",
|
|
497
|
-
createElementVNode("div",
|
|
498
|
-
createElementVNode("span",
|
|
499
|
-
createElementVNode("span",
|
|
520
|
+
createElementVNode("div", _hoisted_10, [
|
|
521
|
+
createElementVNode("div", _hoisted_11, [
|
|
522
|
+
createElementVNode("div", _hoisted_12, [
|
|
523
|
+
createElementVNode("span", _hoisted_13, toDisplayString($data.doc.title || $data.doc.path || "未选择"), 1),
|
|
524
|
+
createElementVNode("span", _hoisted_14, [
|
|
500
525
|
createTextVNode(toDisplayString($data.doc.path) + " ", 1),
|
|
501
526
|
$data.doc.cite ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
502
527
|
createTextVNode(" · 被引用 " + toDisplayString($data.doc.cite) + " 次", 1)
|
|
503
528
|
], 64)) : createCommentVNode("", true)
|
|
504
529
|
])
|
|
505
530
|
]),
|
|
506
|
-
createElementVNode("div",
|
|
507
|
-
$data.editing ? (openBlock(),
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
createVNode(_component_el_button, {
|
|
518
|
-
size: "small",
|
|
519
|
-
onClick: _cache[2] || (_cache[2] = ($event) => $options.callDoc("saveDraft"))
|
|
520
|
-
}, {
|
|
521
|
-
default: withCtx(() => [..._cache[15] || (_cache[15] = [
|
|
522
|
-
createTextVNode("保存草稿", -1)
|
|
523
|
-
])]),
|
|
524
|
-
_: 1
|
|
525
|
-
})
|
|
526
|
-
], 64)) : (openBlock(), createBlock(_component_el_button, {
|
|
531
|
+
createElementVNode("div", _hoisted_15, [
|
|
532
|
+
$data.editing ? (openBlock(), createBlock(_component_el_button, {
|
|
533
|
+
key: 0,
|
|
534
|
+
size: "small",
|
|
535
|
+
onClick: _cache[4] || (_cache[4] = ($event) => $options.callDoc("saveDraft"))
|
|
536
|
+
}, {
|
|
537
|
+
default: withCtx(() => [..._cache[16] || (_cache[16] = [
|
|
538
|
+
createTextVNode("保存草稿", -1)
|
|
539
|
+
])]),
|
|
540
|
+
_: 1
|
|
541
|
+
})) : (openBlock(), createBlock(_component_el_button, {
|
|
527
542
|
key: 1,
|
|
528
543
|
type: "primary",
|
|
529
544
|
size: "small",
|
|
530
545
|
disabled: !$data.doc.path,
|
|
531
|
-
onClick: _cache[
|
|
546
|
+
onClick: _cache[5] || (_cache[5] = ($event) => $options.callDoc("startEdit"))
|
|
532
547
|
}, {
|
|
533
|
-
default: withCtx(() => [..._cache[
|
|
534
|
-
createTextVNode(" ✎
|
|
548
|
+
default: withCtx(() => [..._cache[17] || (_cache[17] = [
|
|
549
|
+
createTextVNode(" ✎ 人工编辑 ", -1)
|
|
535
550
|
])]),
|
|
536
551
|
_: 1
|
|
537
552
|
}, 8, ["disabled"])),
|
|
538
553
|
createVNode(_component_el_button, {
|
|
539
|
-
type: "
|
|
554
|
+
type: "warning",
|
|
540
555
|
size: "small",
|
|
556
|
+
icon: "el-icon-magic-stick",
|
|
557
|
+
disabled: !$data.doc.path,
|
|
558
|
+
onClick: _cache[6] || (_cache[6] = ($event) => $options.callDoc("aiEdit"))
|
|
559
|
+
}, {
|
|
560
|
+
default: withCtx(() => [..._cache[18] || (_cache[18] = [
|
|
561
|
+
createTextVNode("AI 编辑", -1)
|
|
562
|
+
])]),
|
|
563
|
+
_: 1
|
|
564
|
+
}, 8, ["disabled"]),
|
|
565
|
+
createVNode(_component_el_button, {
|
|
566
|
+
type: "success",
|
|
567
|
+
size: "small",
|
|
568
|
+
icon: "el-icon-upload2",
|
|
541
569
|
disabled: !$data.doc.path || !$data.editing && $data.doc.state !== "draft",
|
|
542
|
-
onClick: _cache[
|
|
570
|
+
onClick: _cache[7] || (_cache[7] = ($event) => $options.callDoc($data.editing ? "publish" : "publishSavedDraft"))
|
|
543
571
|
}, {
|
|
544
|
-
default: withCtx(() => [..._cache[
|
|
572
|
+
default: withCtx(() => [..._cache[19] || (_cache[19] = [
|
|
545
573
|
createTextVNode("发布", -1)
|
|
546
574
|
])]),
|
|
547
575
|
_: 1
|
|
@@ -549,38 +577,33 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
549
577
|
_cache[22] || (_cache[22] = createElementVNode("span", { class: "wiki-workbench__vsep" }, null, -1)),
|
|
550
578
|
$data.detail.SOURCE_TYPE && $data.detail.SOURCE_TYPE !== "db" ? (openBlock(), createBlock(_component_el_button, {
|
|
551
579
|
key: 2,
|
|
580
|
+
type: "success",
|
|
581
|
+
plain: "",
|
|
552
582
|
size: "small",
|
|
583
|
+
icon: "el-icon-refresh",
|
|
553
584
|
loading: $data.syncing,
|
|
554
585
|
onClick: $options.doSync
|
|
555
586
|
}, {
|
|
556
|
-
default: withCtx(() => [..._cache[
|
|
587
|
+
default: withCtx(() => [..._cache[20] || (_cache[20] = [
|
|
557
588
|
createTextVNode("同步远端", -1)
|
|
558
589
|
])]),
|
|
559
590
|
_: 1
|
|
560
591
|
}, 8, ["loading", "onClick"])) : createCommentVNode("", true),
|
|
561
592
|
createVNode(_component_el_button, {
|
|
593
|
+
type: "primary",
|
|
562
594
|
size: "small",
|
|
595
|
+
icon: "el-icon-s-tools",
|
|
563
596
|
loading: $data.inspecting,
|
|
564
597
|
onClick: $options.doInspect
|
|
565
598
|
}, {
|
|
566
|
-
default: withCtx(() => [
|
|
567
|
-
createTextVNode("
|
|
568
|
-
])
|
|
569
|
-
_: 1
|
|
570
|
-
}, 8, ["loading", "onClick"]),
|
|
571
|
-
createVNode(_component_el_button, {
|
|
572
|
-
size: "small",
|
|
573
|
-
loading: $data.reindexing,
|
|
574
|
-
onClick: $options.doReindex
|
|
575
|
-
}, {
|
|
576
|
-
default: withCtx(() => [..._cache[20] || (_cache[20] = [
|
|
577
|
-
createTextVNode("重建索引", -1)
|
|
578
|
-
])]),
|
|
599
|
+
default: withCtx(() => [
|
|
600
|
+
createTextVNode(toDisplayString($data.inspecting ? "检查中…" : "体检与索引维护"), 1)
|
|
601
|
+
]),
|
|
579
602
|
_: 1
|
|
580
603
|
}, 8, ["loading", "onClick"]),
|
|
581
604
|
createVNode(_component_el_button, {
|
|
582
605
|
size: "small",
|
|
583
|
-
onClick: _cache[
|
|
606
|
+
onClick: _cache[8] || (_cache[8] = ($event) => $data.tab = "intake")
|
|
584
607
|
}, {
|
|
585
608
|
default: withCtx(() => [..._cache[21] || (_cache[21] = [
|
|
586
609
|
createTextVNode("⬆ 上传原始文件", -1)
|
|
@@ -596,11 +619,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
596
619
|
"show-bar": false,
|
|
597
620
|
onOpen: $options.openRelative,
|
|
598
621
|
onOpenPath: $options.openPage,
|
|
599
|
-
onEditing: _cache[
|
|
600
|
-
onDirty: _cache[
|
|
601
|
-
onPublished: $options.onPublished
|
|
602
|
-
|
|
603
|
-
|
|
622
|
+
onEditing: _cache[9] || (_cache[9] = ($event) => $data.editing = $event),
|
|
623
|
+
onDirty: _cache[10] || (_cache[10] = ($event) => $data.dirty = $event),
|
|
624
|
+
onPublished: $options.onPublished,
|
|
625
|
+
onAiEdited: $options.load
|
|
626
|
+
}, null, 8, ["page", "backlinks", "onOpen", "onOpenPath", "onPublished", "onAiEdited"]),
|
|
627
|
+
createElementVNode("div", _hoisted_16, [
|
|
604
628
|
createElementVNode("span", null, toDisplayString($options.publishHint), 1),
|
|
605
629
|
_cache[23] || (_cache[23] = createElementVNode("span", { class: "wiki-workbench__foot-r" }, "发布后自动重建检索索引", -1))
|
|
606
630
|
])
|
|
@@ -613,25 +637,26 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
613
637
|
"wiki-id": $options.wikiId,
|
|
614
638
|
path: $data.path,
|
|
615
639
|
title: $data.doc.title,
|
|
616
|
-
onBack: _cache[
|
|
640
|
+
onBack: _cache[11] || (_cache[11] = ($event) => $options.switchTab("content"))
|
|
617
641
|
}, null, 8, ["wiki-id", "path", "title"])) : createCommentVNode("", true),
|
|
618
|
-
|
|
619
|
-
key: 1,
|
|
642
|
+
withDirectives(createVNode(_component_wiki_intake, {
|
|
620
643
|
"wiki-id": $options.wikiId,
|
|
621
644
|
onOpen: $options.openFromTab,
|
|
622
645
|
onChanged: $options.refreshContent
|
|
623
|
-
}, null, 8, ["wiki-id", "onOpen", "onChanged"])
|
|
646
|
+
}, null, 8, ["wiki-id", "onOpen", "onChanged"]), [
|
|
647
|
+
[vShow, $data.tab === "intake"]
|
|
648
|
+
]),
|
|
624
649
|
$data.tab === "cites" ? (openBlock(), createBlock(_component_wiki_cites, {
|
|
625
|
-
key:
|
|
650
|
+
key: 1,
|
|
626
651
|
"wiki-id": $options.wikiId,
|
|
627
652
|
onOpen: $options.openFromTab
|
|
628
653
|
}, null, 8, ["wiki-id", "onOpen"])) : createCommentVNode("", true),
|
|
629
654
|
$data.tab === "jobs" ? (openBlock(), createBlock(_component_wiki_jobs, {
|
|
630
|
-
key:
|
|
655
|
+
key: 2,
|
|
631
656
|
"wiki-id": $options.wikiId
|
|
632
657
|
}, null, 8, ["wiki-id"])) : createCommentVNode("", true),
|
|
633
658
|
$data.tab === "settings" ? (openBlock(), createBlock(_component_wiki_space_settings, {
|
|
634
|
-
key:
|
|
659
|
+
key: 3,
|
|
635
660
|
detail: $data.detail,
|
|
636
661
|
mounts: $data.mounts,
|
|
637
662
|
onEdit: $options.goSettings
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../style.css';
|
|
1
2
|
import { resolveComponent, resolveDirective, openBlock, createElementBlock, createElementVNode, createVNode, withCtx, Fragment, renderList, createBlock, createTextVNode, toDisplayString, withDirectives } from "vue";
|
|
2
3
|
/* empty css */
|
|
3
4
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../style.css';
|
|
1
2
|
import { resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, createTextVNode, createElementVNode, renderList, createBlock, toDisplayString, createCommentVNode } from "vue";
|
|
2
3
|
/* empty css */
|
|
3
4
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../style.css';
|
|
1
2
|
import { resolveComponent, resolveDirective, openBlock, createElementBlock, createElementVNode, createVNode, withDirectives, createBlock, withCtx, Fragment, renderList, createTextVNode, toDisplayString } from "vue";
|
|
2
3
|
/* empty css */
|
|
3
4
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../style.css';
|
|
1
2
|
import { resolveComponent, openBlock, createElementBlock, createElementVNode, Fragment, toDisplayString, createVNode, mergeProps, withCtx, renderSlot, createTextVNode, renderList, createBlock } from "vue";
|
|
2
3
|
/* empty css */
|
|
3
4
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../style.css';
|
|
1
2
|
import component from "@epxing/core/src/mixins/component";
|
|
2
3
|
import { resolveComponent, resolveDirective, openBlock, createElementBlock, createElementVNode, createTextVNode, toDisplayString, createVNode, withCtx, Fragment, renderList, normalizeClass, withDirectives, createBlock, createCommentVNode, vShow, withModifiers, withKeys } from "vue";
|
|
3
4
|
/* empty css */
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../style.css';
|
|
1
2
|
import EntityList from "@epxing/components/src/entity-list";
|
|
2
3
|
import { resolveComponent, resolveDirective, openBlock, createElementBlock, createElementVNode, Fragment, renderList, createBlock, withCtx, createTextVNode, toDisplayString, createCommentVNode, createVNode, withDirectives } from "vue";
|
|
3
4
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../style.css';
|
|
1
2
|
import EntityList from "@epxing/components/src/entity-list";
|
|
2
3
|
import { resolveComponent, resolveDirective, openBlock, createElementBlock, createElementVNode, createVNode, toDisplayString, withCtx, createTextVNode, withDirectives } from "vue";
|
|
3
4
|
/* empty css */
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../style.css';
|
|
1
2
|
import component from "@epxing/core/src/mixins/component";
|
|
2
3
|
import { resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, Fragment, renderList, toDisplayString, createTextVNode, normalizeClass, normalizeStyle, createBlock, createCommentVNode } from "vue";
|
|
3
4
|
/* empty css */
|
|
@@ -9,6 +10,8 @@ const _sfc_main = {
|
|
|
9
10
|
name: "epx-authorization-interface",
|
|
10
11
|
mixins: [component],
|
|
11
12
|
props: {
|
|
13
|
+
// 接收父表单实例,避免被当作 DOM 属性透传。
|
|
14
|
+
form: Object,
|
|
12
15
|
formData: {
|
|
13
16
|
type: Object,
|
|
14
17
|
default() {
|
|
@@ -615,7 +618,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
615
618
|
}, 8, ["modelValue"])
|
|
616
619
|
]);
|
|
617
620
|
}
|
|
618
|
-
const AuthorizationInterface = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
621
|
+
const AuthorizationInterface = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-ffe80e96"]]);
|
|
619
622
|
export {
|
|
620
623
|
AuthorizationInterface as default
|
|
621
624
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../style.css';
|
|
1
2
|
import EntitySubList from "@epxing/components/src/entity-sub-list";
|
|
2
3
|
import { resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, Fragment, renderList, toDisplayString, createTextVNode, createBlock, createCommentVNode, withDirectives, vShow } from "vue";
|
|
3
4
|
/* empty css */
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../style.css';
|
|
1
2
|
import component from "@epxing/core/src/mixins/component";
|
|
2
3
|
import { evalWith } from "@epxing/utils/src/eval-with";
|
|
3
4
|
import { resolveComponent, openBlock, createElementBlock, normalizeStyle, createBlock, createCommentVNode, createElementVNode, createVNode, withCtx, createTextVNode } from "vue";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../style.css';
|
|
1
2
|
import EntityList from "@epxing/components/src/entity-list";
|
|
2
3
|
import { resolveComponent, resolveDirective, openBlock, createElementBlock, createElementVNode, createTextVNode, createVNode, toDisplayString, withCtx, withDirectives } from "vue";
|
|
3
4
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../style.css';
|
|
1
2
|
import EntityList from "@epxing/components/src/entity-list";
|
|
2
3
|
import { resolveComponent, resolveDirective, openBlock, createElementBlock, createElementVNode, Fragment, renderList, createBlock, withCtx, createTextVNode, toDisplayString, createCommentVNode, createVNode, withDirectives, vShow } from "vue";
|
|
3
4
|
/* empty css */
|