@epxing/business 0.0.0-stage → 5.3.0-beta.2
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 +111 -0
- package/README.md +43 -2
- package/dist/_virtual/_plugin-vue_export-helper.js +10 -0
- package/dist/_virtual/preload-helper.js +88 -0
- package/dist/assets/0-C_2vdOtO.png +0 -0
- package/dist/assets/1-CsiSr5nw.png +0 -0
- package/dist/assets/2-C9hZOTyC.png +0 -0
- package/dist/assets/ai-CcPHuAhD.jpg +0 -0
- package/dist/assets/app-DBNIokDP.png +0 -0
- package/dist/assets/approval-DGcBv-re.png +0 -0
- package/dist/assets/aurorablue-N56tat3G.png +0 -0
- package/dist/assets/basepage-BF4dvOT8.png +0 -0
- package/dist/assets/classicblue-BdgPGKXa.png +0 -0
- package/dist/assets/create_market_system-BH__UVbt.png +0 -0
- package/dist/assets/create_system-irg--ePh.png +0 -0
- package/dist/assets/custom-C-ujlHz1.png +0 -0
- package/dist/assets/data-BDvuB-m7.png +0 -0
- package/dist/assets/deepblue-B78G_DNb.png +0 -0
- package/dist/assets/default-icon-2193FMjv.png +0 -0
- package/dist/assets/ex_link-4fYPd9nh.png +0 -0
- package/dist/assets/forestgreen-B2YR4xgz.png +0 -0
- package/dist/assets/hall_banner-Dc5YRV5A.webp +0 -0
- package/dist/assets/import-tfKWbWVS.png +0 -0
- package/dist/assets/link-BeD2ZGO9.png +0 -0
- package/dist/assets/m_hall_banner-Cf1Qwhh3.webp +0 -0
- package/dist/assets/orange-wT0uHIyo.png +0 -0
- package/dist/assets/palevioletred-DZXBQKru.png +0 -0
- package/dist/assets/photo-uscRzRXF.png +0 -0
- package/dist/assets/purple-CXrRrENi.png +0 -0
- package/dist/assets/role_select-DTqRlFNz.webp +0 -0
- package/dist/assets/skyblue-DPPlKPXU.png +0 -0
- package/dist/assets/snapshot-history-BsVY9cVj.png +0 -0
- package/dist/assets/snapshot-manual-DBRfFHYI.png +0 -0
- package/dist/assets/snapshot-realtime-DjHnJI6C.png +0 -0
- package/dist/assets/sync_loading-D7LoNPFP.png +0 -0
- package/dist/assets/tiffanyblue-DkyBoUQf.png +0 -0
- package/dist/assets/topbg-C_5lVpoA.webp +0 -0
- package/dist/assets/zxmb-CkPnmDaV.png +0 -0
- package/dist/src/assets/customTranslate/customTranslate.js +11 -0
- package/dist/src/assets/customTranslate/translations.js +219 -0
- package/dist/src/assets/images/addmenu/basepage.png.js +4 -0
- package/dist/src/assets/images/addmenu/data.png.js +4 -0
- package/dist/src/assets/images/addmenu/link.png.js +4 -0
- package/dist/src/assets/images/addmenu/list.png.js +4 -0
- package/dist/src/assets/images/addmenu/menu.png.js +4 -0
- package/dist/src/assets/images/addmenu/zxmb.png.js +4 -0
- package/dist/src/assets/images/ai.jpg.js +4 -0
- package/dist/src/assets/images/app.png.js +4 -0
- package/dist/src/assets/images/approval.png.js +4 -0
- package/dist/src/assets/images/create_market_system.png.js +4 -0
- package/dist/src/assets/images/create_system.png.js +4 -0
- package/dist/src/assets/images/custom.png.js +4 -0
- package/dist/src/assets/images/default-icon.png.js +4 -0
- package/dist/src/assets/images/ex_link.png.js +4 -0
- package/dist/src/assets/images/hall_banner.webp.js +4 -0
- package/dist/src/assets/images/hr.png.js +4 -0
- package/dist/src/assets/images/import.png.js +4 -0
- package/dist/src/assets/images/m_hall_banner.webp.js +4 -0
- package/dist/src/assets/images/nav/0.png.js +4 -0
- package/dist/src/assets/images/nav/1.png.js +4 -0
- package/dist/src/assets/images/nav/2.png.js +4 -0
- package/dist/src/assets/images/nav/3.svg.js +4 -0
- package/dist/src/assets/images/photo.png.js +4 -0
- package/dist/src/assets/images/snapshot-history.png.js +4 -0
- package/dist/src/assets/images/snapshot-manual.png.js +4 -0
- package/dist/src/assets/images/snapshot-realtime.png.js +4 -0
- package/dist/src/assets/images/sync_loading.png.js +4 -0
- package/dist/src/assets/images/theme/aurorablue.png.js +4 -0
- package/dist/src/assets/images/theme/classicblue.png.js +4 -0
- package/dist/src/assets/images/theme/deepblue.png.js +4 -0
- package/dist/src/assets/images/theme/forestgreen.png.js +4 -0
- package/dist/src/assets/images/theme/orange.png.js +4 -0
- package/dist/src/assets/images/theme/palevioletred.png.js +4 -0
- package/dist/src/assets/images/theme/purple.png.js +4 -0
- package/dist/src/assets/images/theme/skyblue.png.js +4 -0
- package/dist/src/assets/images/theme/tiffanyblue.png.js +4 -0
- package/dist/src/base/AiPromptDesigner.js +685 -0
- package/dist/src/base/AiPromptView.js +363 -0
- package/dist/src/base/AiSkillEditor.js +1029 -0
- package/dist/src/base/AiSkillEditor.vue.js +1176 -0
- package/dist/src/base/AppConfigFormItem.js +8 -0
- package/dist/src/base/AppConfigFormItem.vue.js +407 -0
- package/dist/src/base/AppMarket.js +212 -0
- package/dist/src/base/AppMarketList.js +8 -0
- package/dist/src/base/AppMarketList.vue.js +214 -0
- package/dist/src/base/AppMarketSystemDetail.js +293 -0
- package/dist/src/base/AttributeSubAdd.js +26 -0
- package/dist/src/base/ChooseApplication.js +132 -0
- package/dist/src/base/ClientAppItem.js +190 -0
- package/dist/src/base/ClientApplication.js +360 -0
- package/dist/src/base/ClientApplicationList.js +126 -0
- package/dist/src/base/ClientModule.js +119 -0
- package/dist/src/base/ClientModuleIndex.js +295 -0
- package/dist/src/base/ClientSystemDetail.js +203 -0
- package/dist/src/base/ClientSystemList.js +8 -0
- package/dist/src/base/ClientSystemList.vue.js +450 -0
- package/dist/src/base/CommonFieldList.js +11 -0
- package/dist/src/base/CommonFieldList.vue.js +530 -0
- package/dist/src/base/CommonSearchList.js +5 -0
- package/dist/src/base/CommonSearchList.vue.js +253 -0
- package/dist/src/base/CompayDetail.js +116 -0
- package/dist/src/base/ComponentGlobalSet.js +8 -0
- package/dist/src/base/ComponentGlobalSet.vue.js +722 -0
- package/dist/src/base/ComponentParamsTree.js +335 -0
- package/dist/src/base/ConfigModuleIndex.js +135 -0
- package/dist/src/base/CurrentClientApplication.js +54 -0
- package/dist/src/base/CurrentVersionInfo.js +98 -0
- package/dist/src/base/EntityMatchCompare.js +533 -0
- package/dist/src/base/FieldRelationFormItem.js +8 -0
- package/dist/src/base/FieldRelationFormItem.vue.js +272 -0
- package/dist/src/base/HelpDocSet.js +363 -0
- package/dist/src/base/HelpDocSet.vue.js +685 -0
- package/dist/src/base/IndexFormItem.js +5 -0
- package/dist/src/base/IndexFormItem.vue.js +230 -0
- package/dist/src/base/JobFormItem.js +8 -0
- package/dist/src/base/JobFormItem.vue.js +131 -0
- package/dist/src/base/ManageAppNav.js +9 -0
- package/dist/src/base/ManageAppNav.vue.js +1178 -0
- package/dist/src/base/ManageMenu.js +916 -0
- package/dist/src/base/ManageMenuItem.js +551 -0
- package/dist/src/base/NoInstallSystemList.js +5 -0
- package/dist/src/base/NoInstallSystemList.vue.js +159 -0
- package/dist/src/base/PageList.js +48 -0
- package/dist/src/base/PasswordFormItem.js +8 -0
- package/dist/src/base/PasswordFormItem.vue.js +125 -0
- package/dist/src/base/ProcessFormItem.js +148 -0
- package/dist/src/base/PublishSystemApplyFormItem.js +5 -0
- package/dist/src/base/PublishSystemApplyFormItem.vue.js +104 -0
- package/dist/src/base/RequestLog.js +170 -0
- package/dist/src/base/RightRiskList.js +8 -0
- package/dist/src/base/RightRiskList.vue.js +224 -0
- package/dist/src/base/RoleAccredit.js +1087 -0
- package/dist/src/base/RoleRightList.js +8 -0
- package/dist/src/base/RoleRightList.vue.js +118 -0
- package/dist/src/base/RoleUserManage.js +8 -0
- package/dist/src/base/RoleUserManage.vue.js +146 -0
- package/dist/src/base/ServiceAccredit.js +1075 -0
- package/dist/src/base/ServiceMenu.js +399 -0
- package/dist/src/base/ServiceMenuFormItem.js +20 -0
- package/dist/src/base/ServiceOperate.js +1003 -0
- package/dist/src/base/SystemHelpTreeFind.js +44 -0
- package/dist/src/base/aiPromptMode.js +145 -0
- package/dist/src/base/data-check/DataChckDetail.js +243 -0
- package/dist/src/base/data-check/DataCheck.js +308 -0
- package/dist/src/base/data-check/DataCheckList.js +364 -0
- package/dist/src/base/data-check/DataCheckSubList.js +6 -0
- package/dist/src/base/data-check/DataCheckSubList.vue.js +195 -0
- package/dist/src/base/entity-view/EntityViewFormItem.js +5 -0
- package/dist/src/base/entity-view/EntityViewFormItem.vue.js +229 -0
- package/dist/src/base/entity-view/EntityViewSubList.js +5 -0
- package/dist/src/base/entity-view/EntityViewSubList.vue.js +181 -0
- package/dist/src/base/entity-view-config/BasicInfoDialog.js +208 -0
- package/dist/src/base/entity-view-config/FieldPanel.js +692 -0
- package/dist/src/base/entity-view-config/FieldPropForm.js +786 -0
- package/dist/src/base/entity-view-config/FormulaDialog.js +143 -0
- package/dist/src/base/entity-view-config/ObjectFieldDialog.js +271 -0
- package/dist/src/base/entity-view-config/RelationPanel.js +779 -0
- package/dist/src/base/entity-view-config/SourceManagerDialog.js +658 -0
- package/dist/src/base/entity-view-config/SqlPanel.js +62 -0
- package/dist/src/base/entity-view-config/SqlPanel.vue.js +43 -0
- package/dist/src/base/entity-view-config/UnionPanel.js +1082 -0
- package/dist/src/base/entity-view-config/ViewConfig.js +586 -0
- package/dist/src/base/entity-view-config/constants.js +146 -0
- package/dist/src/base/user-type/UserTypeFormItem.js +5 -0
- package/dist/src/base/user-type/UserTypeFormItem.vue.js +183 -0
- package/dist/src/components/AddPageFormItem.js +5 -0
- package/dist/src/components/AddPageFormItem.vue.js +92 -0
- package/dist/src/components/AddUsedInterface.js +214 -0
- package/dist/src/components/AiDocFormItem.js +6 -0
- package/dist/src/components/AiDocFormItem.vue.js +271 -0
- package/dist/src/components/AiList.js +8 -0
- package/dist/src/components/AiList.vue.js +93 -0
- package/dist/src/components/AiPermissionAssistant.js +284 -0
- package/dist/src/components/AppList.js +414 -0
- package/dist/src/components/Apply/AIApplyIndex.js +179 -0
- package/dist/src/components/Apply/ApplyIndex.js +282 -0
- package/dist/src/components/AttributeList.js +870 -0
- package/dist/src/components/Banner.js +26 -0
- package/dist/src/components/BatchAddFieldDialog.js +425 -0
- package/dist/src/components/CardO.js +47 -0
- package/dist/src/components/CheckForm.js +34 -0
- package/dist/src/components/ClientAdminFormItem.js +47 -0
- package/dist/src/components/ClientAdminList.js +9 -0
- package/dist/src/components/ClientAdminList.vue.js +221 -0
- package/dist/src/components/ClientFormItem.js +48 -0
- package/dist/src/components/ClientList.js +6 -0
- package/dist/src/components/ClientList.vue.js +216 -0
- package/dist/src/components/CodeDetail.js +454 -0
- package/dist/src/components/CodeManage.js +1030 -0
- package/dist/src/components/ComponentFind.js +210 -0
- package/dist/src/components/ComponentList.js +499 -0
- package/dist/src/components/ConfigParamFormItem.js +8 -0
- package/dist/src/components/ConfigParamFormItem.vue.js +389 -0
- package/dist/src/components/CreatePage.js +298 -0
- package/dist/src/components/DashboardCreate.js +106 -0
- package/dist/src/components/DataLog.js +169 -0
- package/dist/src/components/DataLogTimeline.js +111 -0
- package/dist/src/components/DataSnapshot.js +207 -0
- package/dist/src/components/DataSnapshotList.js +75 -0
- package/dist/src/components/DataSyncInit.js +173 -0
- package/dist/src/components/DblogList.js +6 -0
- package/dist/src/components/DblogList.vue.js +143 -0
- package/dist/src/components/DeptFind.js +8 -0
- package/dist/src/components/DeptFind.vue.js +109 -0
- package/dist/src/components/DynamicUserList.js +5 -0
- package/dist/src/components/DynamicUserList.vue.js +89 -0
- package/dist/src/components/EntityCheckboxFind.js +5 -0
- package/dist/src/components/EntityCheckboxFind.vue.js +97 -0
- package/dist/src/components/EntityRelationAdd.js +388 -0
- package/dist/src/components/EntityRelationAddFormItem.js +5 -0
- package/dist/src/components/EntityRelationAddFormItem.vue.js +284 -0
- package/dist/src/components/EntityRightFormItem.js +10 -0
- package/dist/src/components/EntityRightFormItem.vue.js +401 -0
- package/dist/src/components/EntityRightSubList.js +640 -0
- package/dist/src/components/EntityTagSubList.js +5 -0
- package/dist/src/components/EntityTagSubList.vue.js +103 -0
- package/dist/src/components/EntityTreeManage.js +865 -0
- package/dist/src/components/ExportSystemConfig.js +167 -0
- package/dist/src/components/FieldTreeFind.js +41 -0
- package/dist/src/components/FormulaEditor.js +8 -0
- package/dist/src/components/FormulaEditor.vue.js +1235 -0
- package/dist/src/components/GenTestData.js +638 -0
- package/dist/src/components/HallNav.js +6 -0
- package/dist/src/components/HallNav.vue.js +156 -0
- package/dist/src/components/HeaderNav.js +369 -0
- package/dist/src/components/IconCard.js +98 -0
- package/dist/src/components/IconFontLibrary.js +5 -0
- package/dist/src/components/IconFontLibrary.vue.js +67 -0
- package/dist/src/components/IconFontList.js +5 -0
- package/dist/src/components/IconFontList.vue.js +79 -0
- package/dist/src/components/IdentifyList.js +33 -0
- package/dist/src/components/ImportSystemConfig.js +303 -0
- package/dist/src/components/InterfaceSubList.js +320 -0
- package/dist/src/components/JsPanel.js +101 -0
- package/dist/src/components/LanguageImportPage.js +590 -0
- package/dist/src/components/LanguageSetting.js +545 -0
- package/dist/src/components/List/LinkItem.js +113 -0
- package/dist/src/components/List/List.js +18 -0
- package/dist/src/components/List/ListItem.js +31 -0
- package/dist/src/components/MenuTreeFind.js +8 -0
- package/dist/src/components/MenuTreeFind.vue.js +81 -0
- package/dist/src/components/MessageList.js +8 -0
- package/dist/src/components/MessageList.vue.js +101 -0
- package/dist/src/components/MessageRuleFormItem.js +60 -0
- package/dist/src/components/MessageRuleReceiverFormItem.js +224 -0
- package/dist/src/components/MessageTemplate.js +395 -0
- package/dist/src/components/MessageTemplate.vue.js +693 -0
- package/dist/src/components/MetaList.js +5 -0
- package/dist/src/components/MetaList.vue.js +100 -0
- package/dist/src/components/Nav.js +496 -0
- package/dist/src/components/NavFormCatalogItem.js +7 -0
- package/dist/src/components/NumList.js +60 -0
- package/dist/src/components/OperateLog.js +133 -0
- package/dist/src/components/PageCatalog.js +8 -0
- package/dist/src/components/PageCatalog.vue.js +292 -0
- package/dist/src/components/PageChart.js +213 -0
- package/dist/src/components/PageSwipes.js +132 -0
- package/dist/src/components/PersonFormItem.js +5 -0
- package/dist/src/components/PersonFormItem.vue.js +96 -0
- package/dist/src/components/Popup.js +239 -0
- package/dist/src/components/PrintFormList.js +9 -0
- package/dist/src/components/PrintFormList.vue.js +203 -0
- package/dist/src/components/PublishEntity.js +114 -0
- package/dist/src/components/RelyFieldTreeFind.js +52 -0
- package/dist/src/components/ReportFormList.js +236 -0
- package/dist/src/components/ReportList.js +9 -0
- package/dist/src/components/ReportList.vue.js +248 -0
- package/dist/src/components/RightSubList.js +8 -0
- package/dist/src/components/RightSubList.vue.js +150 -0
- package/dist/src/components/RoleAddUser.js +55 -0
- package/dist/src/components/RoleApplicationCard.js +138 -0
- package/dist/src/components/RoleApplicationList.js +937 -0
- package/dist/src/components/RoleApplicationSet.js +1001 -0
- package/dist/src/components/Search.js +254 -0
- package/dist/src/components/ServiceFormItem.js +33 -0
- package/dist/src/components/SnapshotDataList.js +73 -0
- package/dist/src/components/SystemAdminList.js +8 -0
- package/dist/src/components/SystemAdminList.vue.js +198 -0
- package/dist/src/components/SystemFormItem.js +8 -0
- package/dist/src/components/SystemFormItem.vue.js +170 -0
- package/dist/src/components/SystemNav.js +30 -0
- package/dist/src/components/TaskNumCard.js +23 -0
- package/dist/src/components/TimerRuleFormItem.js +333 -0
- package/dist/src/components/TodoList.js +8 -0
- package/dist/src/components/TodoList.vue.js +327 -0
- package/dist/src/components/UpdateSystemConfig.js +241 -0
- package/dist/src/components/UserCard.js +83 -0
- package/dist/src/components/UserFind.js +6 -0
- package/dist/src/components/UserFind.vue.js +592 -0
- package/dist/src/components/UserFormItem.js +9 -0
- package/dist/src/components/UserFormItem.vue.js +609 -0
- package/dist/src/components/UserList.js +5 -0
- package/dist/src/components/UserList.vue.js +23 -0
- package/dist/src/components/UserManage.js +802 -0
- package/dist/src/components/UserRoleList.js +579 -0
- package/dist/src/components/ValidateRuleFormItem.js +109 -0
- package/dist/src/components/ViewFieldDefine.js +747 -0
- package/dist/src/components/WikiSpaceList.js +5 -0
- package/dist/src/components/WikiSpaceList.vue.js +330 -0
- package/dist/src/components/WikiWorkbench.js +647 -0
- package/dist/src/components/authorization/AddApiPermiss.js +231 -0
- package/dist/src/components/authorization/AddAuthorization.js +161 -0
- package/dist/src/components/authorization/AddEntityFind.js +62 -0
- package/dist/src/components/authorization/AddNoApi.js +191 -0
- package/dist/src/components/authorization/AddRoleScope.js +337 -0
- package/dist/src/components/authorization/AiRolePlan.js +672 -0
- package/dist/src/components/authorization/ApiShareOtherList.js +397 -0
- package/dist/src/components/authorization/ApiSystemList.js +242 -0
- package/dist/src/components/authorization/AuthorizationInterface.js +622 -0
- package/dist/src/components/authorization/AuthorizationRoleSystem.js +850 -0
- package/dist/src/components/authorization/EntityConstraintFormItem.js +284 -0
- package/dist/src/components/authorization/OtherShareApiList.js +247 -0
- package/dist/src/components/authorization/PermissCommonRoleTabs.js +114 -0
- package/dist/src/components/authorization/PermissRoleAuthorization.js +1286 -0
- package/dist/src/components/authorization/PermissRoleTabs.js +113 -0
- package/dist/src/components/authorization/RoleLevel.js +5 -0
- package/dist/src/components/authorization/RoleLevel.vue.js +110 -0
- package/dist/src/components/authorization/RoleLevelScope.js +270 -0
- package/dist/src/components/authorization/SystemAddNoApi.js +187 -0
- package/dist/src/components/card/CardList.js +65 -0
- package/dist/src/components/card/CardListItem.js +97 -0
- package/dist/src/components/card/Title.js +42 -0
- package/dist/src/components/custom-bpmn/CustomContextPad.js +54 -0
- package/dist/src/components/custom-bpmn/CustomPalette.js +5 -0
- package/dist/src/components/custom-bpmn/CustomRenderer.js +5 -0
- package/dist/src/components/custom-bpmn/CustomRendererBpmn.js +88 -0
- package/dist/src/components/custom-bpmn/PropertiesView.js +12560 -0
- package/dist/src/components/custom-bpmn/components/AiModel.js +353 -0
- package/dist/src/components/custom-bpmn/components/Api.js +376 -0
- package/dist/src/components/custom-bpmn/components/BatchOperation.js +209 -0
- package/dist/src/components/custom-bpmn/components/Copy.js +653 -0
- package/dist/src/components/custom-bpmn/components/DataTransform.js +442 -0
- package/dist/src/components/custom-bpmn/components/Demo.js +63 -0
- package/dist/src/components/custom-bpmn/components/EditDiv.js +358 -0
- package/dist/src/components/custom-bpmn/components/GenScope.js +259 -0
- package/dist/src/components/custom-bpmn/components/GlobalParamsTree.js +76 -0
- package/dist/src/components/custom-bpmn/components/Knowledges.js +238 -0
- package/dist/src/components/custom-bpmn/components/Login.js +591 -0
- package/dist/src/components/custom-bpmn/components/MessageQueue.js +221 -0
- package/dist/src/components/custom-bpmn/components/MetaSelect.js +160 -0
- package/dist/src/components/custom-bpmn/components/NumStatistic.js +408 -0
- package/dist/src/components/custom-bpmn/components/ObjectTransform.js +789 -0
- package/dist/src/components/custom-bpmn/components/OutPut.js +395 -0
- package/dist/src/components/custom-bpmn/components/ParamsMachining.js +889 -0
- package/dist/src/components/custom-bpmn/components/ParamsOutput.js +161 -0
- package/dist/src/components/custom-bpmn/components/ProcessAudit.js +796 -0
- package/dist/src/components/custom-bpmn/components/SingleMultipleFind.js +1040 -0
- package/dist/src/components/custom-bpmn/components/TestDialog.js +861 -0
- package/dist/src/components/custom-bpmn/img/chaxun.png.js +4 -0
- package/dist/src/components/custom-bpmn/img/fasong.png.js +4 -0
- package/dist/src/components/custom-bpmn/img/gengxin.png.js +4 -0
- package/dist/src/components/custom-bpmn/img/jiagong.png.js +4 -0
- package/dist/src/components/custom-bpmn/img/jiekou.png.js +4 -0
- package/dist/src/components/custom-bpmn/img/shanchu.png.js +4 -0
- package/dist/src/components/custom-bpmn/img/tongbu.png.js +4 -0
- package/dist/src/components/custom-bpmn/img/xinzeng.png.js +4 -0
- package/dist/src/components/custom-bpmn/img/xunhuanend.png.js +4 -0
- package/dist/src/components/custom-bpmn/img/xunhuanstart.png.js +4 -0
- package/dist/src/components/custom-bpmn/img/ywgz.png.js +4 -0
- package/dist/src/components/custom-bpmn/index.js +5 -0
- package/dist/src/components/custom-bpmn/palette.js +13 -0
- package/dist/src/components/custom-bpmn/util.js +7 -0
- package/dist/src/components/dashboard-create.js +20 -0
- package/dist/src/components/entity-relation-diagram/Er.js +340 -0
- package/dist/src/components/entity-relation-diagram/renderErNode.js +36 -0
- package/dist/src/components/expand/AddForm.js +86 -0
- package/dist/src/components/expand/AddFormItem.js +149 -0
- package/dist/src/components/filter/Filter.js +720 -0
- package/dist/src/components/filter/FilterItem.js +493 -0
- package/dist/src/components/hall/AppCollect.js +121 -0
- package/dist/src/components/hall/AppList.js +480 -0
- package/dist/src/components/hall/AppVisitRecord.js +113 -0
- package/dist/src/components/hall/Banner.js +33 -0
- package/dist/src/components/hall/ServiceCard.js +124 -0
- package/dist/src/components/hall/UserCard.js +81 -0
- package/dist/src/components/permiss/AddApi.js +143 -0
- package/dist/src/components/permiss/AddNoEntityApi.js +180 -0
- package/dist/src/components/permiss/AddSystemPermiss.js +131 -0
- package/dist/src/components/permiss/AllocateRole.js +131 -0
- package/dist/src/components/permiss/ApiSubList.js +151 -0
- package/dist/src/components/permiss/CommonRoleMenu.js +591 -0
- package/dist/src/components/permiss/FieldScope.js +200 -0
- package/dist/src/components/permiss/PermissManage.js +88 -0
- package/dist/src/components/permiss/RoleAppList.js +36 -0
- package/dist/src/components/permiss/RoleMenu.js +518 -0
- package/dist/src/components/permiss/RoleSubList.js +5 -0
- package/dist/src/components/permiss/RoleSubList.vue.js +300 -0
- package/dist/src/components/permiss/jurisdiction.js +359 -0
- package/dist/src/components/process-healthcheck/HealthcheckChart.js +234 -0
- package/dist/src/components/process-healthcheck/HealthcheckChart.vue.js +348 -0
- package/dist/src/components/process-healthcheck/HealthcheckRenderer.js +36 -0
- package/dist/src/components/process-healthcheck/index.js +8 -0
- package/dist/src/components/report/Config.js +1708 -0
- package/dist/src/components/report/Design.js +4632 -0
- package/dist/src/components/report/StatList.js +217 -0
- package/dist/src/components/right/EntityOtherSystemList.js +82 -0
- package/dist/src/components/right/SystemInterfaceList.js +418 -0
- package/dist/src/components/right/SystemList.js +1017 -0
- package/dist/src/components/upLoad.js +71 -0
- package/dist/src/components/viewport/LookViewList.js +22 -0
- package/dist/src/components/viewport/ViewAddForm.js +142 -0
- package/dist/src/components/viewport/ViewDefineList.js +50 -0
- package/dist/src/components/viewport/ViewFiedList.js +723 -0
- package/dist/src/components/viewport/ViewScope.js +116 -0
- package/dist/src/components/wiki-workbench/WikiCites.js +301 -0
- package/dist/src/components/wiki-workbench/WikiIntake.js +308 -0
- package/dist/src/components/wiki-workbench/WikiIntake.vue.js +309 -0
- package/dist/src/components/wiki-workbench/WikiJobs.js +195 -0
- package/dist/src/components/wiki-workbench/WikiRevisions.js +229 -0
- package/dist/src/components/wiki-workbench/WikiSpaceSettings.js +59 -0
- package/dist/src/components/wiki-workbench/WikiSpaceSettings.vue.js +127 -0
- package/dist/src/components/wiki-workbench/codes.js +27 -0
- package/dist/src/components/wiki-workbench/index.js +13 -0
- package/dist/src/index.js +42 -0
- package/dist/src/popup.js +68 -0
- package/dist/src/public-components.js +20 -0
- package/dist/src/remote.entry.js +31 -0
- package/dist/src/route-components.js +12 -0
- package/dist/src/system.component.index.js +5 -0
- package/dist/src/system.component.js +342 -0
- package/dist/src/system.component.lazy.js +50 -0
- package/dist/src/views/Add.js +8 -0
- package/dist/src/views/Add.vue.js +734 -0
- package/dist/src/views/AiToolManager.js +2530 -0
- package/dist/src/views/App.js +48 -0
- package/dist/src/views/AppRoleSelect.js +233 -0
- package/dist/src/views/BatchEdit.js +256 -0
- package/dist/src/views/Bpmn.js +319 -0
- package/dist/src/views/Bpmn.vue.js +1196 -0
- package/dist/src/views/EntityCheckPage.js +49 -0
- package/dist/src/views/EntityDetailPage.js +5 -0
- package/dist/src/views/EntityDetailPage.vue.js +73 -0
- package/dist/src/views/EntityEditPage.js +10 -0
- package/dist/src/views/EntitySubListPage.js +41 -0
- package/dist/src/views/EntityTreePage.js +32 -0
- package/dist/src/views/Error.js +210 -0
- package/dist/src/views/ExcelDesign.js +2730 -0
- package/dist/src/views/ExcelDesign.vue.js +2165 -0
- package/dist/src/views/ExcelPreviewPage.js +166 -0
- package/dist/src/views/ExcelPreviewPage.vue.js +572 -0
- package/dist/src/views/ExportFilePage.js +21 -0
- package/dist/src/views/ExportPage.js +21 -0
- package/dist/src/views/FormDesign.js +1033 -0
- package/dist/src/views/FormDesign.vue.js +1564 -0
- package/dist/src/views/I18nWorkbench.js +521 -0
- package/dist/src/views/ImportFilePage.js +21 -0
- package/dist/src/views/ImportPage.js +21 -0
- package/dist/src/views/MEntityListPage.js +66 -0
- package/dist/src/views/MEntitySubListPage.js +41 -0
- package/dist/src/views/MinePage.js +16 -0
- package/dist/src/views/Module.js +173 -0
- package/dist/src/views/PageAttributeTreePage.js +421 -0
- package/dist/src/views/PageConfig.js +177 -0
- package/dist/src/views/Permission.js +742 -0
- package/dist/src/views/PersonalInfo.js +792 -0
- package/dist/src/views/QyWechat.js +62 -0
- package/dist/src/views/ReportFormListPage.js +77 -0
- package/dist/src/views/TaskPage.js +180 -0
- package/dist/src/views/WikiBinding.js +614 -0
- package/dist/src/views/client/AddForm.js +55 -0
- package/dist/src/views/client/AppMarket.js +290 -0
- package/dist/src/views/client/ClientIndex.js +209 -0
- package/dist/src/views/client/ClientModuleIndexPage.js +5 -0
- package/dist/src/views/client/ClientModuleIndexPage.vue.js +30 -0
- package/dist/src/views/client/CopySystem.js +136 -0
- package/dist/src/views/client/CreateAppFormItem.js +8 -0
- package/dist/src/views/client/CreateAppFormItem.vue.js +232 -0
- package/dist/src/views/client/CreateMethod.js +76 -0
- package/dist/src/views/client/InstallSystem.js +309 -0
- package/dist/src/views/client/ManageList.js +5 -0
- package/dist/src/views/client/ManageList.vue.js +211 -0
- package/dist/src/views/client/OpenClientManage.js +51 -0
- package/dist/src/views/client/OpenSystemManage.js +56 -0
- package/dist/src/views/client/PageTabsCyclic.js +92 -0
- package/dist/src/views/client/SelfBuiltSystem.js +444 -0
- package/dist/src/views/client/StandardProduct.js +233 -0
- package/dist/src/views/client/SystemAppAccredit.js +561 -0
- package/dist/src/views/client/SystemAppManager.js +293 -0
- package/dist/src/views/client/SystemAppManager.vue.js +559 -0
- package/dist/src/views/client/SystemManager.js +452 -0
- package/dist/src/views/client/SystemManager.vue.js +522 -0
- package/dist/src/views/i18n/I18nAiTaskHistoryDialog.js +230 -0
- package/dist/src/views/i18n/I18nPublishDialog.js +451 -0
- package/dist/src/views/i18n/I18nTranslationList.js +8 -0
- package/dist/src/views/i18n/I18nTranslationList.vue.js +247 -0
- package/dist/src/views/i18n/i18n-workbench-text.js +11 -0
- package/dist/src/views/layout/CardList.js +96 -0
- package/dist/src/views/layout/Grid.js +138 -0
- package/dist/src/views/match/AddTargetField.js +8 -0
- package/dist/src/views/match/AddTargetField.vue.js +127 -0
- package/dist/src/views/match/MatchAddFormItem.js +5 -0
- package/dist/src/views/match/MatchAddFormItem.vue.js +84 -0
- package/dist/src/views/match/conversion.js +805 -0
- package/dist/src/views/match/customize.js +391 -0
- package/dist/src/views/match/fieldMatch.js +8 -0
- package/dist/src/views/match/fieldMatch.vue.js +610 -0
- package/dist/src/views/report/AddFormItem.js +60 -0
- package/dist/src/views/report/DesignReport.js +1392 -0
- package/dist/src/views/report/ReportTreeFind.js +8 -0
- package/dist/src/views/report/ReportTreeFind.vue.js +166 -0
- package/dist/style.css +33364 -0
- package/package.json +133 -3
- package/src/base/AiPromptDesigner.vue +653 -0
- package/src/base/AiPromptView.vue +467 -0
- package/src/base/AiSkillEditor.vue +2125 -0
- package/src/base/AppConfigFormItem.vue +404 -0
- package/src/base/AppMarket.vue +264 -0
- package/src/base/AppMarketList.vue +233 -0
- package/src/base/AppMarketSystemDetail.vue +380 -0
- package/src/base/AttributeSubAdd.vue +29 -0
- package/src/base/ChooseApplication.vue +176 -0
- package/src/base/ClientAppItem.vue +247 -0
- package/src/base/ClientApplication.vue +447 -0
- package/src/base/ClientApplicationList.vue +180 -0
- package/src/base/ClientModule.vue +69 -0
- package/src/base/ClientModuleIndex.vue +437 -0
- package/src/base/ClientSystemDetail.vue +319 -0
- package/src/base/ClientSystemList.vue +435 -0
- package/src/base/CommonFieldList.vue +1397 -0
- package/src/base/CommonSearchList.vue +191 -0
- package/src/base/CompayDetail.vue +199 -0
- package/src/base/ComponentGlobalSet.vue +842 -0
- package/src/base/ComponentParamsTree.vue +310 -0
- package/src/base/ConfigModuleIndex.vue +121 -0
- package/src/base/CurrentClientApplication.vue +37 -0
- package/src/base/CurrentVersionInfo.vue +107 -0
- package/src/base/EntityMatchCompare.vue +442 -0
- package/src/base/FieldRelationFormItem.vue +260 -0
- package/src/base/HelpDocSet.vue +1217 -0
- package/src/base/IndexFormItem.vue +197 -0
- package/src/base/JobFormItem.vue +101 -0
- package/src/base/ManageAppNav.vue +1190 -0
- package/src/base/ManageMenu.vue +935 -0
- package/src/base/ManageMenuItem.vue +399 -0
- package/src/base/NoInstallSystemList.vue +114 -0
- package/src/base/PageList.vue +47 -0
- package/src/base/PasswordFormItem.vue +94 -0
- package/src/base/ProcessFormItem.vue +129 -0
- package/src/base/PublishSystemApplyFormItem.vue +87 -0
- package/src/base/RequestLog.vue +198 -0
- package/src/base/RightRiskList.vue +212 -0
- package/src/base/RoleAccredit.vue +961 -0
- package/src/base/RoleRightList.vue +159 -0
- package/src/base/RoleUserManage.vue +186 -0
- package/src/base/ServiceAccredit.vue +956 -0
- package/src/base/ServiceMenu.vue +420 -0
- package/src/base/ServiceMenuFormItem.vue +22 -0
- package/src/base/ServiceOperate.vue +929 -0
- package/src/base/SystemHelpTreeFind.vue +50 -0
- package/src/base/aiPromptMode.js +153 -0
- package/src/base/data-check/DataChckDetail.vue +281 -0
- package/src/base/data-check/DataCheck.vue +261 -0
- package/src/base/data-check/DataCheckList.vue +327 -0
- package/src/base/data-check/DataCheckSubList.vue +160 -0
- package/src/base/entity-view/EntityViewFormItem.vue +170 -0
- package/src/base/entity-view/EntityViewSubList.vue +149 -0
- package/src/base/entity-view-config/BasicInfoDialog.vue +156 -0
- package/src/base/entity-view-config/FieldPanel.vue +742 -0
- package/src/base/entity-view-config/FieldPropForm.vue +687 -0
- package/src/base/entity-view-config/FormulaDialog.vue +153 -0
- package/src/base/entity-view-config/ObjectFieldDialog.vue +367 -0
- package/src/base/entity-view-config/RelationPanel.vue +951 -0
- package/src/base/entity-view-config/SourceManagerDialog.vue +428 -0
- package/src/base/entity-view-config/SqlPanel.vue +138 -0
- package/src/base/entity-view-config/UnionPanel.vue +1037 -0
- package/src/base/entity-view-config/ViewConfig.vue +661 -0
- package/src/base/entity-view-config/constants.js +139 -0
- package/src/base/user-type/UserTypeFormItem.vue +134 -0
- package/src/components/AddPageFormItem.vue +82 -0
- package/src/components/AddUsedInterface.vue +154 -0
- package/src/components/AiDocFormItem.vue +293 -0
- package/src/components/AiList.vue +132 -0
- package/src/components/AiPermissionAssistant.vue +304 -0
- package/src/components/AppList.vue +330 -0
- package/src/components/Apply/AIApplyIndex.vue +458 -0
- package/src/components/Apply/ApplyIndex.vue +358 -0
- package/src/components/AttributeList.vue +667 -0
- package/src/components/Banner.vue +24 -0
- package/src/components/BatchAddFieldDialog.vue +590 -0
- package/src/components/CardO.vue +112 -0
- package/src/components/CheckForm.vue +32 -0
- package/src/components/ClientAdminFormItem.vue +49 -0
- package/src/components/ClientAdminList.vue +434 -0
- package/src/components/ClientFormItem.vue +49 -0
- package/src/components/ClientList.vue +155 -0
- package/src/components/CodeDetail.vue +465 -0
- package/src/components/CodeManage.vue +1004 -0
- package/src/components/ComponentFind.vue +222 -0
- package/src/components/ComponentList.vue +526 -0
- package/src/components/ConfigParamFormItem.vue +383 -0
- package/src/components/CreatePage.vue +348 -0
- package/src/components/DashboardCreate.vue +73 -0
- package/src/components/DataLog.vue +181 -0
- package/src/components/DataLogTimeline.vue +202 -0
- package/src/components/DataSnapshot.vue +264 -0
- package/src/components/DataSnapshotList.vue +79 -0
- package/src/components/DataSyncInit.vue +97 -0
- package/src/components/DblogList.vue +163 -0
- package/src/components/DeptFind.vue +203 -0
- package/src/components/DynamicUserList.vue +72 -0
- package/src/components/EntityCheckboxFind.vue +90 -0
- package/src/components/EntityRelationAdd.vue +201 -0
- package/src/components/EntityRelationAddFormItem.vue +235 -0
- package/src/components/EntityRightFormItem.vue +618 -0
- package/src/components/EntityRightSubList.vue +740 -0
- package/src/components/EntityTagSubList.vue +72 -0
- package/src/components/EntityTreeManage.vue +988 -0
- package/src/components/ExportSystemConfig.vue +131 -0
- package/src/components/FieldTreeFind.vue +48 -0
- package/src/components/FormulaEditor.vue +1220 -0
- package/src/components/GenTestData.vue +787 -0
- package/src/components/HallNav.vue +539 -0
- package/src/components/HeaderNav.vue +447 -0
- package/src/components/IconCard.vue +158 -0
- package/src/components/IconFontLibrary.vue +61 -0
- package/src/components/IconFontList.vue +75 -0
- package/src/components/IdentifyList.vue +33 -0
- package/src/components/ImportSystemConfig.vue +234 -0
- package/src/components/InterfaceSubList.vue +295 -0
- package/src/components/JsPanel.vue +111 -0
- package/src/components/LanguageImportPage.vue +601 -0
- package/src/components/LanguageSetting.vue +451 -0
- package/src/components/List/LinkItem.vue +98 -0
- package/src/components/List/List.vue +17 -0
- package/src/components/List/ListItem.vue +52 -0
- package/src/components/MenuTreeFind.vue +128 -0
- package/src/components/MessageList.vue +198 -0
- package/src/components/MessageRuleFormItem.vue +60 -0
- package/src/components/MessageRuleReceiverFormItem.vue +179 -0
- package/src/components/MessageTemplate.vue +949 -0
- package/src/components/MetaList.vue +108 -0
- package/src/components/Nav.vue +604 -0
- package/src/components/NavFormCatalogItem.vue +9 -0
- package/src/components/NumList.vue +108 -0
- package/src/components/OperateLog.vue +168 -0
- package/src/components/PageCatalog.vue +458 -0
- package/src/components/PageChart.vue +339 -0
- package/src/components/PageSwipes.vue +234 -0
- package/src/components/PersonFormItem.vue +94 -0
- package/src/components/Popup.vue +393 -0
- package/src/components/PrintFormList.vue +529 -0
- package/src/components/PublishEntity.vue +87 -0
- package/src/components/RelyFieldTreeFind.vue +57 -0
- package/src/components/ReportFormList.vue +247 -0
- package/src/components/ReportList.vue +647 -0
- package/src/components/RightSubList.vue +256 -0
- package/src/components/RoleAddUser.vue +56 -0
- package/src/components/RoleApplicationCard.vue +299 -0
- package/src/components/RoleApplicationList.vue +766 -0
- package/src/components/RoleApplicationSet.vue +845 -0
- package/src/components/Search.vue +272 -0
- package/src/components/ServiceFormItem.vue +35 -0
- package/src/components/SnapshotDataList.vue +78 -0
- package/src/components/SystemAdminList.vue +497 -0
- package/src/components/SystemFormItem.vue +125 -0
- package/src/components/SystemNav.vue +29 -0
- package/src/components/TaskNumCard.vue +26 -0
- package/src/components/TimerRuleFormItem.vue +227 -0
- package/src/components/TodoList.vue +424 -0
- package/src/components/UpdateSystemConfig.vue +200 -0
- package/src/components/UserCard.vue +110 -0
- package/src/components/UserFind.vue +702 -0
- package/src/components/UserFormItem.vue +762 -0
- package/src/components/UserList.vue +19 -0
- package/src/components/UserManage.vue +758 -0
- package/src/components/UserRoleList.vue +497 -0
- package/src/components/ValidateRuleFormItem.vue +90 -0
- package/src/components/ViewFieldDefine.vue +703 -0
- package/src/components/WikiSpaceList.vue +270 -0
- package/src/components/WikiWorkbench.vue +717 -0
- package/src/components/authorization/AddApiPermiss.vue +179 -0
- package/src/components/authorization/AddAuthorization.vue +135 -0
- package/src/components/authorization/AddEntityFind.vue +68 -0
- package/src/components/authorization/AddNoApi.vue +143 -0
- package/src/components/authorization/AddRoleScope.vue +291 -0
- package/src/components/authorization/AiRolePlan.vue +751 -0
- package/src/components/authorization/ApiShareOtherList.vue +353 -0
- package/src/components/authorization/ApiSystemList.vue +314 -0
- package/src/components/authorization/AuthorizationInterface.vue +668 -0
- package/src/components/authorization/AuthorizationRoleSystem.vue +713 -0
- package/src/components/authorization/EntityConstraintFormItem.vue +257 -0
- package/src/components/authorization/OtherShareApiList.vue +248 -0
- package/src/components/authorization/PermissCommonRoleTabs.vue +122 -0
- package/src/components/authorization/PermissRoleAuthorization.vue +1097 -0
- package/src/components/authorization/PermissRoleTabs.vue +121 -0
- package/src/components/authorization/RoleLevel.vue +113 -0
- package/src/components/authorization/RoleLevelScope.vue +247 -0
- package/src/components/authorization/SystemAddNoApi.vue +139 -0
- package/src/components/card/CardList.vue +78 -0
- package/src/components/card/CardListItem.vue +147 -0
- package/src/components/card/Title.vue +38 -0
- package/src/components/custom-bpmn/CustomContextPad.js +58 -0
- package/src/components/custom-bpmn/CustomPalette.js +1 -0
- package/src/components/custom-bpmn/CustomRenderer.js +1 -0
- package/src/components/custom-bpmn/CustomRendererBpmn.js +84 -0
- package/src/components/custom-bpmn/PropertiesView.vue +7879 -0
- package/src/components/custom-bpmn/components/AiModel.vue +373 -0
- package/src/components/custom-bpmn/components/Api.vue +290 -0
- package/src/components/custom-bpmn/components/BatchOperation.vue +145 -0
- package/src/components/custom-bpmn/components/Copy.vue +440 -0
- package/src/components/custom-bpmn/components/DataTransform.vue +260 -0
- package/src/components/custom-bpmn/components/Demo.vue +64 -0
- package/src/components/custom-bpmn/components/EditDiv.vue +466 -0
- package/src/components/custom-bpmn/components/GenScope.vue +252 -0
- package/src/components/custom-bpmn/components/GlobalParamsTree.vue +61 -0
- package/src/components/custom-bpmn/components/Knowledges.vue +182 -0
- package/src/components/custom-bpmn/components/Login.vue +372 -0
- package/src/components/custom-bpmn/components/MessageQueue.vue +167 -0
- package/src/components/custom-bpmn/components/MetaSelect.vue +136 -0
- package/src/components/custom-bpmn/components/NumStatistic.vue +245 -0
- package/src/components/custom-bpmn/components/ObjectTransform.vue +454 -0
- package/src/components/custom-bpmn/components/OutPut.vue +412 -0
- package/src/components/custom-bpmn/components/ParamsMachining.vue +644 -0
- package/src/components/custom-bpmn/components/ParamsOutput.vue +130 -0
- package/src/components/custom-bpmn/components/ProcessAudit.vue +443 -0
- package/src/components/custom-bpmn/components/SingleMultipleFind.vue +637 -0
- package/src/components/custom-bpmn/components/TestDialog.vue +1068 -0
- package/src/components/custom-bpmn/img/chaxun.png +0 -0
- package/src/components/custom-bpmn/img/fasong.png +0 -0
- package/src/components/custom-bpmn/img/gengxin.png +0 -0
- package/src/components/custom-bpmn/img/jiagong.png +0 -0
- package/src/components/custom-bpmn/img/jiekou.png +0 -0
- package/src/components/custom-bpmn/img/shanchu.png +0 -0
- package/src/components/custom-bpmn/img/tongbu.png +0 -0
- package/src/components/custom-bpmn/img/xinzeng.png +0 -0
- package/src/components/custom-bpmn/img/xunhuanend.png +0 -0
- package/src/components/custom-bpmn/img/xunhuanstart.png +0 -0
- package/src/components/custom-bpmn/img/ywgz.png +0 -0
- package/src/components/custom-bpmn/index.js +1 -0
- package/src/components/custom-bpmn/palette.js +18 -0
- package/src/components/custom-bpmn/util.js +5 -0
- package/src/components/dashboard-create.js +17 -0
- package/src/components/entity-relation-diagram/Er.vue +360 -0
- package/src/components/entity-relation-diagram/renderErNode.js +32 -0
- package/src/components/expand/AddForm.vue +91 -0
- package/src/components/expand/AddFormItem.vue +150 -0
- package/src/components/filter/Filter.vue +739 -0
- package/src/components/filter/FilterItem.vue +516 -0
- package/src/components/hall/AppCollect.vue +190 -0
- package/src/components/hall/AppList.vue +513 -0
- package/src/components/hall/AppVisitRecord.vue +171 -0
- package/src/components/hall/Banner.vue +21 -0
- package/src/components/hall/ServiceCard.vue +204 -0
- package/src/components/hall/UserCard.vue +114 -0
- package/src/components/permiss/AddApi.vue +119 -0
- package/src/components/permiss/AddNoEntityApi.vue +131 -0
- package/src/components/permiss/AddSystemPermiss.vue +107 -0
- package/src/components/permiss/AllocateRole.vue +107 -0
- package/src/components/permiss/ApiSubList.vue +193 -0
- package/src/components/permiss/CommonRoleMenu.vue +631 -0
- package/src/components/permiss/FieldScope.vue +138 -0
- package/src/components/permiss/PermissManage.vue +96 -0
- package/src/components/permiss/RoleAppList.vue +52 -0
- package/src/components/permiss/RoleMenu.vue +547 -0
- package/src/components/permiss/RoleSubList.vue +263 -0
- package/src/components/permiss/jurisdiction.vue +425 -0
- package/src/components/process-healthcheck/HealthcheckChart.vue +529 -0
- package/src/components/process-healthcheck/HealthcheckRenderer.js +41 -0
- package/src/components/process-healthcheck/index.js +8 -0
- package/src/components/report/Config.vue +1654 -0
- package/src/components/report/Design.vue +3528 -0
- package/src/components/report/StatList.vue +234 -0
- package/src/components/right/EntityOtherSystemList.vue +73 -0
- package/src/components/right/SystemInterfaceList.vue +413 -0
- package/src/components/right/SystemList.vue +848 -0
- package/src/components/upLoad.vue +69 -0
- package/src/components/viewport/LookViewList.vue +28 -0
- package/src/components/viewport/ViewAddForm.vue +151 -0
- package/src/components/viewport/ViewDefineList.vue +53 -0
- package/src/components/viewport/ViewFiedList.vue +646 -0
- package/src/components/viewport/ViewScope.vue +112 -0
- package/src/components/wiki-workbench/WikiCites.vue +234 -0
- package/src/components/wiki-workbench/WikiIntake.vue +505 -0
- package/src/components/wiki-workbench/WikiJobs.vue +175 -0
- package/src/components/wiki-workbench/WikiRevisions.vue +208 -0
- package/src/components/wiki-workbench/WikiSpaceSettings.vue +137 -0
- package/src/components/wiki-workbench/codes.js +43 -0
- package/src/components/wiki-workbench/index.js +15 -0
- package/src/index.js +20 -0
- package/src/popup.js +86 -0
- package/src/public-components.js +8 -0
- package/src/remote.entry.js +42 -0
- package/src/route-components.js +8 -0
- package/src/system.component.index.js +3 -0
- package/src/system.component.js +46 -0
- package/src/system.component.lazy.js +68 -0
- package/src/system.component.visual.js +18 -0
- package/src/views/Add.vue +827 -0
- package/src/views/AiToolManager.vue +2372 -0
- package/src/views/App.vue +53 -0
- package/src/views/AppRoleSelect.vue +334 -0
- package/src/views/BatchEdit.vue +238 -0
- package/src/views/Bpmn.vue +1713 -0
- package/src/views/EntityCheckPage.vue +52 -0
- package/src/views/EntityDetailPage.vue +79 -0
- package/src/views/EntityEditPage.vue +13 -0
- package/src/views/EntitySubListPage.vue +44 -0
- package/src/views/EntityTreePage.vue +37 -0
- package/src/views/Error.vue +63 -0
- package/src/views/ExcelDesign.vue +3350 -0
- package/src/views/ExcelPreviewPage.vue +590 -0
- package/src/views/ExportFilePage.vue +19 -0
- package/src/views/ExportPage.vue +19 -0
- package/src/views/FormDesign.vue +2301 -0
- package/src/views/I18nWorkbench.vue +508 -0
- package/src/views/ImportFilePage.vue +19 -0
- package/src/views/ImportPage.vue +19 -0
- package/src/views/MEntityListPage.vue +83 -0
- package/src/views/MEntitySubListPage.vue +44 -0
- package/src/views/MinePage.vue +18 -0
- package/src/views/Module.vue +210 -0
- package/src/views/PageAttributeTreePage.vue +437 -0
- package/src/views/PageConfig.vue +259 -0
- package/src/views/Permission.vue +695 -0
- package/src/views/PersonalInfo.vue +693 -0
- package/src/views/QyWechat.vue +69 -0
- package/src/views/ReportFormListPage.vue +82 -0
- package/src/views/TaskPage.vue +199 -0
- package/src/views/WikiBinding.vue +740 -0
- package/src/views/client/AddForm.vue +64 -0
- package/src/views/client/AppMarket.vue +380 -0
- package/src/views/client/ClientIndex.vue +261 -0
- package/src/views/client/ClientModuleIndexPage.vue +35 -0
- package/src/views/client/CopySystem.vue +179 -0
- package/src/views/client/CreateAppFormItem.vue +285 -0
- package/src/views/client/CreateMethod.vue +114 -0
- package/src/views/client/InstallSystem.vue +295 -0
- package/src/views/client/ManageList.vue +178 -0
- package/src/views/client/OpenClientManage.vue +54 -0
- package/src/views/client/OpenSystemManage.vue +57 -0
- package/src/views/client/PageTabsCyclic.vue +121 -0
- package/src/views/client/SelfBuiltSystem.vue +497 -0
- package/src/views/client/StandardProduct.vue +325 -0
- package/src/views/client/SystemAppAccredit.vue +607 -0
- package/src/views/client/SystemAppManager.vue +967 -0
- package/src/views/client/SystemManager.vue +998 -0
- package/src/views/i18n/I18nAiTaskHistoryDialog.vue +173 -0
- package/src/views/i18n/I18nPublishDialog.vue +360 -0
- package/src/views/i18n/I18nTranslationList.vue +195 -0
- package/src/views/i18n/i18n-workbench-text.js +7 -0
- package/src/views/layout/CardList.vue +122 -0
- package/src/views/layout/Grid.vue +176 -0
- package/src/views/match/AddTargetField.vue +136 -0
- package/src/views/match/MatchAddFormItem.vue +87 -0
- package/src/views/match/conversion.vue +740 -0
- package/src/views/match/customize.vue +374 -0
- package/src/views/match/fieldMatch.vue +734 -0
- package/src/views/report/AddFormItem.vue +66 -0
- package/src/views/report/DesignReport.vue +1229 -0
- package/src/views/report/ReportTreeFind.vue +195 -0
- package/types/dept-find.d.ts +1 -0
- package/types/entity-tree-manage.d.ts +1 -0
- package/types/excel-preview-page.d.ts +1 -0
- package/types/header-nav.d.ts +1 -0
- package/types/index.d.ts +14 -0
- package/types/page-catalog.d.ts +1 -0
- package/types/popup.d.ts +2 -0
- package/types/report-form-list-page.d.ts +1 -0
- package/types/report-form-list.d.ts +1 -0
- package/types/route-components.d.ts +1 -0
- package/types/user-find.d.ts +1 -0
|
@@ -0,0 +1,717 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="epx-wiki-workbench" v-loading="loading" :style="{ height: boxHeight }">
|
|
3
|
+
<!-- 不画自己的标题栏:页面外壳已经有「〈 Wiki 工作台」那一条了,
|
|
4
|
+
再画一条就是上下两个返回箭头、两个标题。空间名与状态挂到页签行右侧 -->
|
|
5
|
+
<div class="wiki-workbench__tabs">
|
|
6
|
+
<button
|
|
7
|
+
v-for="t in tabs"
|
|
8
|
+
:key="t.key"
|
|
9
|
+
:class="{ 'is-on': tab === t.key }"
|
|
10
|
+
@click="tab = t.key"
|
|
11
|
+
>{{ t.name }}</button>
|
|
12
|
+
<span class="wiki-workbench__space">
|
|
13
|
+
<b>{{ spaceName }}</b>
|
|
14
|
+
<el-tag v-if="indexStale" size="small" type="warning">索引待重建</el-tag>
|
|
15
|
+
<el-tag v-if="detail.STATUS === '0'" size="small" type="danger">已停用</el-tag>
|
|
16
|
+
</span>
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
<!-- 内容:左目录树,右正文/编辑器 -->
|
|
20
|
+
<div v-show="tab === 'content'" class="wiki-workbench__body">
|
|
21
|
+
<div class="wiki-workbench__tree">
|
|
22
|
+
<div class="wiki-workbench__tree-top">
|
|
23
|
+
<el-input
|
|
24
|
+
v-model="filter"
|
|
25
|
+
size="small"
|
|
26
|
+
clearable
|
|
27
|
+
placeholder="过滤页标题或路径"
|
|
28
|
+
prefix-icon="el-icon-search"
|
|
29
|
+
></el-input>
|
|
30
|
+
<!-- 目录操作只在编辑态出现:编辑就是那个总开关,
|
|
31
|
+
再给目录单配一个「管理目录」开关,等于同一件事要开两次 -->
|
|
32
|
+
<div v-if="editing" class="wiki-workbench__tree-ops">
|
|
33
|
+
<el-button type="primary" size="small" @click="newPage">+ 新建页</el-button>
|
|
34
|
+
<el-button size="small" @click="newFolder">+ 文件夹</el-button>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
<div v-if="editing" class="wiki-workbench__tree-tip">
|
|
38
|
+
同级拖动 = 只改顺序,<b>不产生 commit</b>;改路径要走发布流程,暂未开放。
|
|
39
|
+
</div>
|
|
40
|
+
<wiki-tree
|
|
41
|
+
:nodes="nodes"
|
|
42
|
+
:current="path"
|
|
43
|
+
:keyword="filter"
|
|
44
|
+
:sortable="editing"
|
|
45
|
+
:deletable="editing"
|
|
46
|
+
empty-text="这个空间还没有页。先同步远端把已有文档拉进来"
|
|
47
|
+
@open="openPage"
|
|
48
|
+
@reorder="onReorder"
|
|
49
|
+
@remove="onRemove"
|
|
50
|
+
></wiki-tree>
|
|
51
|
+
</div>
|
|
52
|
+
|
|
53
|
+
<div class="wiki-workbench__doc">
|
|
54
|
+
<!-- 顶条:左边说清「在改哪一页」,右边编辑动作与空间级动作用分隔线隔开——
|
|
55
|
+
前者只影响这一页,后者影响整个空间,混在一起容易点错 -->
|
|
56
|
+
<div class="wiki-workbench__doc-top">
|
|
57
|
+
<div class="wiki-workbench__doc-nm">
|
|
58
|
+
<span class="nm">{{ doc.title || doc.path || '未选择' }}</span>
|
|
59
|
+
<span class="pt">
|
|
60
|
+
{{ doc.path }}
|
|
61
|
+
<template v-if="doc.cite"> · 被引用 {{ doc.cite }} 次</template>
|
|
62
|
+
</span>
|
|
63
|
+
</div>
|
|
64
|
+
<div class="wiki-workbench__doc-ops">
|
|
65
|
+
<template v-if="editing">
|
|
66
|
+
<el-button size="small" @click="callDoc('cancelEdit')">退出编辑</el-button>
|
|
67
|
+
<el-button size="small" @click="callDoc('saveDraft')">保存草稿</el-button>
|
|
68
|
+
</template>
|
|
69
|
+
<el-button v-else type="primary" size="small" :disabled="!doc.path" @click="callDoc('startEdit')">
|
|
70
|
+
✎ 编辑
|
|
71
|
+
</el-button>
|
|
72
|
+
<el-button
|
|
73
|
+
type="primary"
|
|
74
|
+
size="small"
|
|
75
|
+
:disabled="!doc.path || (!editing && doc.state !== 'draft')"
|
|
76
|
+
@click="callDoc(editing ? 'publish' : 'publishSavedDraft')"
|
|
77
|
+
>发布</el-button>
|
|
78
|
+
<span class="wiki-workbench__vsep"></span>
|
|
79
|
+
<el-button
|
|
80
|
+
v-if="detail.SOURCE_TYPE && detail.SOURCE_TYPE !== 'db'"
|
|
81
|
+
size="small"
|
|
82
|
+
:loading="syncing"
|
|
83
|
+
@click="doSync"
|
|
84
|
+
>同步远端</el-button>
|
|
85
|
+
<el-button size="small" :loading="inspecting" @click="doInspect">体检</el-button>
|
|
86
|
+
<el-button size="small" :loading="reindexing" @click="doReindex">重建索引</el-button>
|
|
87
|
+
<el-button size="small" @click="tab = 'intake'">⬆ 上传原始文件</el-button>
|
|
88
|
+
</div>
|
|
89
|
+
</div>
|
|
90
|
+
|
|
91
|
+
<wiki-doc
|
|
92
|
+
ref="doc"
|
|
93
|
+
:page="pageWithSpace"
|
|
94
|
+
:backlinks="backlinks"
|
|
95
|
+
:show-bar="false"
|
|
96
|
+
@open="openRelative"
|
|
97
|
+
@open-path="openPage"
|
|
98
|
+
@editing="editing = $event"
|
|
99
|
+
@dirty="dirty = $event"
|
|
100
|
+
@published="onPublished"
|
|
101
|
+
></wiki-doc>
|
|
102
|
+
|
|
103
|
+
<!-- 底部条:发布会产生什么后果,在按发布之前就该看见 -->
|
|
104
|
+
<div class="wiki-workbench__foot">
|
|
105
|
+
<span>{{ publishHint }}</span>
|
|
106
|
+
<span class="wiki-workbench__foot-r">发布后自动重建检索索引</span>
|
|
107
|
+
</div>
|
|
108
|
+
</div>
|
|
109
|
+
</div>
|
|
110
|
+
|
|
111
|
+
<!-- 其余页签直接把内容摆出来。跳到别的页面等于把「在这个空间里干活」
|
|
112
|
+
拆成好几个入口,回来还得重新选一次空间 -->
|
|
113
|
+
<wiki-revisions
|
|
114
|
+
v-if="tab === 'changes'"
|
|
115
|
+
:wiki-id="wikiId"
|
|
116
|
+
:path="path"
|
|
117
|
+
:title="doc.title"
|
|
118
|
+
@back="tab = 'content'"
|
|
119
|
+
></wiki-revisions>
|
|
120
|
+
<wiki-intake
|
|
121
|
+
v-if="tab === 'intake'"
|
|
122
|
+
:wiki-id="wikiId"
|
|
123
|
+
@open="openFromTab"
|
|
124
|
+
@changed="refreshContent"
|
|
125
|
+
></wiki-intake>
|
|
126
|
+
<wiki-cites v-if="tab === 'cites'" :wiki-id="wikiId" @open="openFromTab"></wiki-cites>
|
|
127
|
+
<wiki-jobs v-if="tab === 'jobs'" :wiki-id="wikiId"></wiki-jobs>
|
|
128
|
+
<wiki-space-settings
|
|
129
|
+
v-if="tab === 'settings'"
|
|
130
|
+
:detail="detail"
|
|
131
|
+
:mounts="mounts"
|
|
132
|
+
@edit="goSettings"
|
|
133
|
+
></wiki-space-settings>
|
|
134
|
+
|
|
135
|
+
</div>
|
|
136
|
+
</template>
|
|
137
|
+
|
|
138
|
+
<script>
|
|
139
|
+
import component from '@epxing/core/src/mixins/component'
|
|
140
|
+
import { WikiTree, WikiDoc } from '@epxing/components/src/wiki-site'
|
|
141
|
+
import { WikiJobs, WikiRevisions, WikiCites, WikiIntake, WikiSpaceSettings } from './wiki-workbench'
|
|
142
|
+
import { pagePath, resolvePath } from '@epxing/components/src/wiki-site/wiki-path'
|
|
143
|
+
|
|
144
|
+
const WIKI_META = 'FM_AI_WIKI'
|
|
145
|
+
|
|
146
|
+
// 空间编辑页的页面配置 ID(gen_wiki_pages.py 生成)。走 $configs 可覆盖——
|
|
147
|
+
// 页面配置 ID 是环境数据,换一套库就变,写死在组件里等于每换一个环境改一次代码
|
|
148
|
+
const SPACE_EDIT_PAGE_ID = 'F8DE4F345B29A697DE50F2EA5D313E58'
|
|
149
|
+
|
|
150
|
+
export default {
|
|
151
|
+
name: 'epx-wiki-workbench',
|
|
152
|
+
components: { WikiTree, WikiDoc, WikiJobs, WikiRevisions, WikiCites, WikiIntake, WikiSpaceSettings },
|
|
153
|
+
mixins: [component],
|
|
154
|
+
spaceEditPageId: SPACE_EDIT_PAGE_ID,
|
|
155
|
+
data () {
|
|
156
|
+
return {
|
|
157
|
+
loading: false,
|
|
158
|
+
space: {},
|
|
159
|
+
// 空间完整记录。/space 只给读者需要的 id/code/name 三项——源地址、分支这些
|
|
160
|
+
// 刻意不下发(站点上谁都能看到就等于把内网仓库地址公开了)。
|
|
161
|
+
// 工作台是管理端,另取一次实体记录拿全字段
|
|
162
|
+
detail: {},
|
|
163
|
+
nodes: [],
|
|
164
|
+
// 字段名不能叫 page:平台的 component 混入已经声明了一个同名 prop(当前页面信息,
|
|
165
|
+
// 无默认值)。data 与 prop 撞名时 Vue 保留 prop、丢掉 data——于是这里的赋值不生效,
|
|
166
|
+
// 而模板里 doc.title 是在 undefined 上取值,整个组件渲染直接抛异常、内容区全白。
|
|
167
|
+
// 而且它只在「一页都没有」时暴露:有页的空间会很快给它赋上值,看着就像正常的
|
|
168
|
+
doc: {},
|
|
169
|
+
backlinks: [],
|
|
170
|
+
path: '',
|
|
171
|
+
filter: '',
|
|
172
|
+
mounts: '',
|
|
173
|
+
boxHeight: '100%',
|
|
174
|
+
tab: 'content',
|
|
175
|
+
editing: false,
|
|
176
|
+
// 编辑器里的内容改过没有。由 WikiDoc 报上来——它才知道基准是草稿还是已发布正文
|
|
177
|
+
dirty: false,
|
|
178
|
+
syncing: false,
|
|
179
|
+
inspecting: false,
|
|
180
|
+
reindexing: false,
|
|
181
|
+
tabs: [
|
|
182
|
+
{ key: 'content', name: '内容' },
|
|
183
|
+
{ key: 'intake', name: '原始文件' },
|
|
184
|
+
{ key: 'changes', name: '变更' },
|
|
185
|
+
{ key: 'cites', name: '引用与反馈' },
|
|
186
|
+
{ key: 'jobs', name: '任务' },
|
|
187
|
+
{ key: 'settings', name: '设置' }
|
|
188
|
+
]
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
computed: {
|
|
192
|
+
/** 空间从页面参数来:列表页「进入」时带过来的记录 ID。 */
|
|
193
|
+
wikiId () {
|
|
194
|
+
return this.$query.id || this.$query.wikiId || this.$route.query.id || ''
|
|
195
|
+
},
|
|
196
|
+
/**
|
|
197
|
+
* 进来就要打开的页。
|
|
198
|
+
*
|
|
199
|
+
* 维护中心「去修这一页」、热度榜「打开这一页」都把 path 一起带过来:
|
|
200
|
+
* 不带的话人得自己在树里翻到那一页,而那恰恰是最该省掉的一步。
|
|
201
|
+
*/
|
|
202
|
+
initialPath () {
|
|
203
|
+
return this.$query.path || this.$route.query.path || ''
|
|
204
|
+
},
|
|
205
|
+
/** 新建时放在当前页所在目录下——人多半是在「这一块」里继续加内容。 */
|
|
206
|
+
currentDir () {
|
|
207
|
+
const p = this.path || ''
|
|
208
|
+
return p.includes('/') ? p.slice(0, p.lastIndexOf('/')) : ''
|
|
209
|
+
},
|
|
210
|
+
pageWithSpace () {
|
|
211
|
+
return { ...this.doc, wikiId: this.wikiId }
|
|
212
|
+
},
|
|
213
|
+
spaceName () {
|
|
214
|
+
return this.detail.NAME || this.space.name || 'Wiki'
|
|
215
|
+
},
|
|
216
|
+
indexStale () {
|
|
217
|
+
return !!(this.detail.SOURCE_REV && this.detail.INDEXED_REV !== this.detail.SOURCE_REV)
|
|
218
|
+
},
|
|
219
|
+
/**
|
|
220
|
+
* 发布会产生什么后果,按源类型说清楚。
|
|
221
|
+
*
|
|
222
|
+
* Git 源发布是一次真实的 commit + push,不是「保存」——写明白了人才知道
|
|
223
|
+
* 这一下动的是生产仓库。
|
|
224
|
+
*/
|
|
225
|
+
publishHint () {
|
|
226
|
+
if (this.detail.SOURCE_TYPE === 'git') {
|
|
227
|
+
return '发布将产生一次 commit 并推送到 ' + (this.detail.GIT_BRANCH || 'master')
|
|
228
|
+
}
|
|
229
|
+
if (this.detail.SOURCE_TYPE === 'oss') {
|
|
230
|
+
return '发布将覆盖对象存储里的同名文件'
|
|
231
|
+
}
|
|
232
|
+
return '发布将在库内新增一条版本记录'
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
created () {
|
|
236
|
+
// 高度量准过没有。不进 data:只有 fit 自己看,没有模板依赖它
|
|
237
|
+
this.measured = false
|
|
238
|
+
this.ro = null
|
|
239
|
+
this.load()
|
|
240
|
+
},
|
|
241
|
+
mounted () {
|
|
242
|
+
this.fit()
|
|
243
|
+
// 外壳的页面标题栏(epx-header-nav,60px + 10px 间距)和这个组件是同一批渲染的,
|
|
244
|
+
// mounted 里量到的顶边可能还是「标题栏还没进来」时的那个值,下一帧再量一次
|
|
245
|
+
this.$nextTick(this.fit)
|
|
246
|
+
this.watchBox()
|
|
247
|
+
window.addEventListener('resize', this.fit)
|
|
248
|
+
},
|
|
249
|
+
beforeUnmount () {
|
|
250
|
+
window.removeEventListener('resize', this.fit)
|
|
251
|
+
if (this.ro) {
|
|
252
|
+
this.ro.disconnect()
|
|
253
|
+
this.ro = null
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
methods: {
|
|
257
|
+
/**
|
|
258
|
+
* 量出可用高度。
|
|
259
|
+
*
|
|
260
|
+
* height:100% 只在祖先每一层都有确定高度时才成立,而页面外壳没给——
|
|
261
|
+
* 于是树和正文各自按内容撑开,整页被顶得很高,滚动条跑到最外层,
|
|
262
|
+
* 页签行跟着被滚走。所以自己量:顶边到「可用底边」之间剩多少就是多少。
|
|
263
|
+
*
|
|
264
|
+
* 底边不能一律取视窗底:外壳(menu-index 的 .main)底下还有内边距,
|
|
265
|
+
* 真正的界是最近那个会裁内容的祖先(.epx-page__container 是 overflow:auto)。
|
|
266
|
+
* 顶边也不能只量一次,见 mounted 与 watchBox。
|
|
267
|
+
*/
|
|
268
|
+
fit () {
|
|
269
|
+
const el = this.$el
|
|
270
|
+
if (!el || !el.getBoundingClientRect) return
|
|
271
|
+
const rect = el.getBoundingClientRect()
|
|
272
|
+
// 栈式页面被别的页盖住时整块是 display:none,rect 全是 0。
|
|
273
|
+
// 按 top=0 算会多出一整条外壳标题栏的高度,底部那条发布提示就被顶到
|
|
274
|
+
// 可见区外面,滚动条落到最外层。这种时候标记成没量准,等显示了再量
|
|
275
|
+
if (!rect.width && !rect.height) {
|
|
276
|
+
this.measured = false
|
|
277
|
+
return
|
|
278
|
+
}
|
|
279
|
+
this.measured = true
|
|
280
|
+
// 低代码组件的 margin 来自页面配置,不在 rect.height 内。若不预留
|
|
281
|
+
// margin-bottom,内容盒会贴到容器底边,外边距再把页面顶出一截。
|
|
282
|
+
const marginBottom = parseFloat(window.getComputedStyle(el).marginBottom) || 0
|
|
283
|
+
const h = Math.max(320, Math.floor(this.availBottom() - rect.top - marginBottom))
|
|
284
|
+
const next = h + 'px'
|
|
285
|
+
if (next !== this.boxHeight) this.boxHeight = next
|
|
286
|
+
},
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* 可用底边(视窗坐标系):最近那个裁内容的祖先的内容底边,
|
|
290
|
+
* 没有这种祖先才回落到视窗底(留一点余量,免得压线出滚动条)。
|
|
291
|
+
*/
|
|
292
|
+
availBottom () {
|
|
293
|
+
let node = this.$el && this.$el.parentNode
|
|
294
|
+
while (node && node.nodeType === 1 && node !== document.body && node !== document.documentElement) {
|
|
295
|
+
const cs = window.getComputedStyle(node)
|
|
296
|
+
if (['auto', 'scroll', 'hidden'].indexOf(cs.overflowY) >= 0) {
|
|
297
|
+
const rect = node.getBoundingClientRect()
|
|
298
|
+
// clientHeight 含内边距、不含边框:从上边框内侧往下量,再把下内边距让出来
|
|
299
|
+
return rect.top + node.clientTop + node.clientHeight - (parseFloat(cs.paddingBottom) || 0)
|
|
300
|
+
}
|
|
301
|
+
node = node.parentNode
|
|
302
|
+
}
|
|
303
|
+
return window.innerHeight - 16
|
|
304
|
+
},
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* 从 display:none 变回可见时补量一次。
|
|
308
|
+
*
|
|
309
|
+
* 只在「上次没量准」时才重量:自己的高度就是自己设的,无条件重量会和
|
|
310
|
+
* 这次设置互相触发,来回抖。
|
|
311
|
+
*/
|
|
312
|
+
watchBox () {
|
|
313
|
+
if (typeof ResizeObserver === 'undefined' || !this.$el) return
|
|
314
|
+
this.ro = new ResizeObserver(() => {
|
|
315
|
+
if (!this.measured) this.fit()
|
|
316
|
+
})
|
|
317
|
+
this.ro.observe(this.$el)
|
|
318
|
+
},
|
|
319
|
+
|
|
320
|
+
load () {
|
|
321
|
+
if (!this.wikiId) return Promise.resolve()
|
|
322
|
+
this.loadDetail()
|
|
323
|
+
this.loading = true
|
|
324
|
+
return this.$http.get({ action: 'space', entityId: WIKI_META, wikiId: this.wikiId })
|
|
325
|
+
.then(d => {
|
|
326
|
+
this.space = (d && d.space) || {}
|
|
327
|
+
this.nodes = (d && d.nodes) || []
|
|
328
|
+
// 带了 path 就直接开那一页;否则落在第一页上
|
|
329
|
+
if (!this.path && this.initialPath) {
|
|
330
|
+
this.doOpen(this.initialPath)
|
|
331
|
+
} else if (!this.path) {
|
|
332
|
+
const first = this.nodes.find(n => n.type === 'page')
|
|
333
|
+
if (first) this.openPage(first.path)
|
|
334
|
+
}
|
|
335
|
+
})
|
|
336
|
+
.catch(e => this.$message.error((e && e.message) || '空间加载失败'))
|
|
337
|
+
.finally(() => { this.loading = false })
|
|
338
|
+
},
|
|
339
|
+
|
|
340
|
+
/** 原始文件处理完成后,目录与当前正文都可能改变,两部分必须一起重取。 */
|
|
341
|
+
refreshContent () {
|
|
342
|
+
const current = this.path
|
|
343
|
+
return this.load().then(() => {
|
|
344
|
+
if (current) return this.doOpen(current)
|
|
345
|
+
})
|
|
346
|
+
},
|
|
347
|
+
|
|
348
|
+
newPage () {
|
|
349
|
+
this.$prompt('新页会先落成草稿,发布之后才写回源。', '新建页', {
|
|
350
|
+
confirmButtonText: '创建', cancelButtonText: '取消', inputPlaceholder: '页标题'
|
|
351
|
+
}).then(({ value }) => {
|
|
352
|
+
if (!value || !value.trim()) return
|
|
353
|
+
return this.$http.update({
|
|
354
|
+
action: 'createPage', entityId: WIKI_META, wikiId: this.wikiId, title: value.trim(), dir: this.currentDir
|
|
355
|
+
}).then(d => {
|
|
356
|
+
this.$message.success((d && d.message) || '已新建')
|
|
357
|
+
this.load()
|
|
358
|
+
if (d && d.path) this.doOpen(d.path)
|
|
359
|
+
})
|
|
360
|
+
}).catch(() => {})
|
|
361
|
+
},
|
|
362
|
+
|
|
363
|
+
newFolder () {
|
|
364
|
+
this.$prompt('文件夹只是路径的一段,不会往源里写文件。', '新建文件夹', {
|
|
365
|
+
confirmButtonText: '创建', cancelButtonText: '取消', inputPlaceholder: '文件夹名'
|
|
366
|
+
}).then(({ value }) => {
|
|
367
|
+
if (!value || !value.trim()) return
|
|
368
|
+
return this.$http.update({
|
|
369
|
+
action: 'createFolder', entityId: WIKI_META, wikiId: this.wikiId, name: value.trim(), dir: this.currentDir
|
|
370
|
+
}).then(d => {
|
|
371
|
+
this.$message.success((d && d.message) || '已新建')
|
|
372
|
+
this.load()
|
|
373
|
+
})
|
|
374
|
+
}).catch(() => {})
|
|
375
|
+
},
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* 删一页或一个空文件夹。
|
|
379
|
+
*
|
|
380
|
+
* 删除是一次真实的发布:已发布的页会从源里删掉文件并 push。所以确认框里
|
|
381
|
+
* 把后果写清楚,而不是只问一句「确定删除吗」。
|
|
382
|
+
*/
|
|
383
|
+
onRemove (node) {
|
|
384
|
+
const isFolder = node.type === 'folder'
|
|
385
|
+
const tip = isFolder
|
|
386
|
+
? '文件夹只是路径的一段,删它不会往源里写东西;里面还有内容时删不掉。'
|
|
387
|
+
: '已发布的页会从源里删除文件并推送,这是一次真实的 commit;指向它的链接会变成死链。'
|
|
388
|
+
this.$confirm(tip, '删除「' + (node.title || node.path) + '」', {
|
|
389
|
+
type: 'warning', confirmButtonText: '删除', cancelButtonText: '取消', confirmButtonClass: 'el-button--danger'
|
|
390
|
+
}).then(() => {
|
|
391
|
+
return this.$http.update({ action: 'removePage', entityId: WIKI_META, wikiId: this.wikiId, pageId: node.id })
|
|
392
|
+
.then(d => {
|
|
393
|
+
this.$message.success((d && d.message) || '已删除')
|
|
394
|
+
// 删掉的正好是当前打开的页时,右边要退回未选择态,
|
|
395
|
+
// 否则那一页还留在屏幕上,看着像没删掉
|
|
396
|
+
if (node.path === this.path) {
|
|
397
|
+
this.path = ''
|
|
398
|
+
this.doc = {}
|
|
399
|
+
this.backlinks = []
|
|
400
|
+
}
|
|
401
|
+
this.load()
|
|
402
|
+
})
|
|
403
|
+
.catch(e => this.$message.error((e && e.message) || '删除失败'))
|
|
404
|
+
}).catch(() => {})
|
|
405
|
+
},
|
|
406
|
+
|
|
407
|
+
/** 拖完存顺序。只改 ORDER_NUM,后端不会因此产生 commit。 */
|
|
408
|
+
onReorder (pageIds) {
|
|
409
|
+
this.$http.update({
|
|
410
|
+
action: 'reorderPages', entityId: WIKI_META, wikiId: this.wikiId, pageIds: pageIds.join(',')
|
|
411
|
+
}).then(d => {
|
|
412
|
+
this.$message.success((d && d.message) || '顺序已保存')
|
|
413
|
+
this.load()
|
|
414
|
+
}).catch(e => {
|
|
415
|
+
this.$message.error((e && e.message) || '保存顺序失败')
|
|
416
|
+
this.load()
|
|
417
|
+
})
|
|
418
|
+
},
|
|
419
|
+
|
|
420
|
+
/** 空间的完整记录:源类型、分支、索引版本这些只有管理端要。 */
|
|
421
|
+
loadDetail () {
|
|
422
|
+
this.$http.get({ entityId: WIKI_META, id: this.wikiId })
|
|
423
|
+
.then(res => { this.detail = (res && res.data) || res || {} })
|
|
424
|
+
.catch(() => { this.detail = {} })
|
|
425
|
+
// 挂载数不在 FM_AI_WIKI 上(数的是 FM_SERVICE.WIKI_ID),单独一个接口补
|
|
426
|
+
this.$http.get({ action: 'stats', entityId: WIKI_META, wikiIds: this.wikiId })
|
|
427
|
+
.then(d => {
|
|
428
|
+
const row = ((d && d.stats) || {})[this.wikiId] || {}
|
|
429
|
+
this.mounts = row.mounts == null ? '' : row.mounts
|
|
430
|
+
})
|
|
431
|
+
.catch(() => { this.mounts = '' })
|
|
432
|
+
},
|
|
433
|
+
|
|
434
|
+
openPage (path) {
|
|
435
|
+
if (!path) return
|
|
436
|
+
// 编辑中换页会把没保存的改动丢掉,先问一声。
|
|
437
|
+
// 注意这里不动 editing:换页只是换页,编辑器接着开着(WikiDoc 会对新页重取草稿)。
|
|
438
|
+
// 早先在这儿把 editing 置了 false,结果是按钮变回「编辑」而编辑器还开着,
|
|
439
|
+
// 里面装的还是上一页的正文——两边状态对不上
|
|
440
|
+
// 只有真改过才拦。没动过内容还弹一次确认,等于把「翻几页看看」变成每翻一页点两次,
|
|
441
|
+
// 而弹出来的问题(要不要丢弃改动)本身还是假的——根本没有改动
|
|
442
|
+
if (this.editing && this.dirty) {
|
|
443
|
+
this.$confirm('这一页未保存的改动会丢掉,编辑状态保留,直接在新的一页上接着改。', '切换到别的页', {
|
|
444
|
+
type: 'warning', confirmButtonText: '丢弃并切换', cancelButtonText: '留在这里'
|
|
445
|
+
}).then(() => this.doOpen(path)).catch(() => {})
|
|
446
|
+
return
|
|
447
|
+
}
|
|
448
|
+
this.doOpen(path)
|
|
449
|
+
},
|
|
450
|
+
|
|
451
|
+
doOpen (path) {
|
|
452
|
+
const canonicalPath = pagePath(path)
|
|
453
|
+
if (!canonicalPath) return Promise.resolve()
|
|
454
|
+
this.path = canonicalPath
|
|
455
|
+
return this.$http.get({ action: 'page', entityId: WIKI_META, wikiId: this.wikiId, path: canonicalPath })
|
|
456
|
+
.then(d => {
|
|
457
|
+
this.doc = (d && d.page) || {}
|
|
458
|
+
this.backlinks = (d && d.backlinks) || []
|
|
459
|
+
})
|
|
460
|
+
.catch(() => {
|
|
461
|
+
this.doc = { path: canonicalPath, title: '', content: '这一页读不出来(可能已被删除或改名)。' }
|
|
462
|
+
this.backlinks = []
|
|
463
|
+
})
|
|
464
|
+
},
|
|
465
|
+
|
|
466
|
+
/** 正文里的相对链接:按当前页所在目录解析,与后端 WikiPaths.resolve 同一套规则。 */
|
|
467
|
+
openRelative (href) {
|
|
468
|
+
const target = resolvePath(this.path, href)
|
|
469
|
+
if (target.path) this.openPage(target.path)
|
|
470
|
+
},
|
|
471
|
+
|
|
472
|
+
/** 顶条的编辑动作转发给正文组件——编辑态在它内部,这里只是换了个位置放按钮。 */
|
|
473
|
+
callDoc (method) {
|
|
474
|
+
const doc = this.$refs.doc
|
|
475
|
+
if (doc && typeof doc[method] === 'function') doc[method]()
|
|
476
|
+
},
|
|
477
|
+
|
|
478
|
+
onPublished () {
|
|
479
|
+
this.load()
|
|
480
|
+
this.doOpen(this.path)
|
|
481
|
+
},
|
|
482
|
+
|
|
483
|
+
doSync () {
|
|
484
|
+
this.syncing = true
|
|
485
|
+
this.$http.update({ action: 'sync', entityId: WIKI_META, wikiId: this.wikiId })
|
|
486
|
+
.then(d => {
|
|
487
|
+
this.$message.success((d && d.message) || '同步完成')
|
|
488
|
+
this.load()
|
|
489
|
+
})
|
|
490
|
+
.catch(e => this.$message.error((e && e.message) || '同步失败'))
|
|
491
|
+
.finally(() => { this.syncing = false })
|
|
492
|
+
},
|
|
493
|
+
|
|
494
|
+
/** 重建索引只重算投影,不碰源——所以它和同步是两个按钮,不是一个。 */
|
|
495
|
+
doReindex () {
|
|
496
|
+
this.reindexing = true
|
|
497
|
+
this.$http.update({ action: 'reindex', entityId: WIKI_META, wikiId: this.wikiId })
|
|
498
|
+
.then(d => {
|
|
499
|
+
this.$message.success((d && d.message) || '索引已重建')
|
|
500
|
+
this.loadDetail()
|
|
501
|
+
})
|
|
502
|
+
.catch(e => this.$message.error((e && e.message) || '重建索引失败'))
|
|
503
|
+
.finally(() => { this.reindexing = false })
|
|
504
|
+
},
|
|
505
|
+
|
|
506
|
+
/** 从「引用与反馈」点开一页:切回内容页签,免得人以为点了没反应。 */
|
|
507
|
+
openFromTab (path) {
|
|
508
|
+
this.tab = 'content'
|
|
509
|
+
this.openPage(path)
|
|
510
|
+
},
|
|
511
|
+
|
|
512
|
+
doInspect () {
|
|
513
|
+
this.inspecting = true
|
|
514
|
+
this.$http.update({ action: 'inspect', entityId: WIKI_META, wikiId: this.wikiId })
|
|
515
|
+
.then(d => this.$message.success((d && d.message) || '体检完成'))
|
|
516
|
+
.catch(e => this.$message.error((e && e.message) || '体检失败'))
|
|
517
|
+
.finally(() => { this.inspecting = false })
|
|
518
|
+
},
|
|
519
|
+
|
|
520
|
+
goSettings () {
|
|
521
|
+
this.goPage(
|
|
522
|
+
{
|
|
523
|
+
metaId: WIKI_META,
|
|
524
|
+
pageId: this.$configs.spaceEditPageId || SPACE_EDIT_PAGE_ID,
|
|
525
|
+
pageType: 'EDIT',
|
|
526
|
+
openMode: '3',
|
|
527
|
+
num: 0
|
|
528
|
+
},
|
|
529
|
+
{ ID: this.wikiId }
|
|
530
|
+
)
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
</script>
|
|
536
|
+
|
|
537
|
+
<style lang="scss">
|
|
538
|
+
@include b(wiki-workbench) {
|
|
539
|
+
display: flex;
|
|
540
|
+
flex-direction: column;
|
|
541
|
+
height: 100%;
|
|
542
|
+
min-height: 0;
|
|
543
|
+
background: #fff;
|
|
544
|
+
|
|
545
|
+
&__tabs {
|
|
546
|
+
flex: none;
|
|
547
|
+
display: flex;
|
|
548
|
+
gap: 24px;
|
|
549
|
+
align-items: center;
|
|
550
|
+
padding: 10px 16px 0;
|
|
551
|
+
border-bottom: 1px solid #E3E3E3;
|
|
552
|
+
|
|
553
|
+
button {
|
|
554
|
+
position: relative;
|
|
555
|
+
padding: 0 0 10px;
|
|
556
|
+
border: 0;
|
|
557
|
+
background: transparent;
|
|
558
|
+
font-size: $--font-size-small;
|
|
559
|
+
color: var(--color-text-secondary);
|
|
560
|
+
cursor: pointer;
|
|
561
|
+
|
|
562
|
+
&.is-on {
|
|
563
|
+
@include font_color_primary;
|
|
564
|
+
font-weight: 600;
|
|
565
|
+
|
|
566
|
+
&::after {
|
|
567
|
+
content: '';
|
|
568
|
+
position: absolute;
|
|
569
|
+
left: 0;
|
|
570
|
+
right: 0;
|
|
571
|
+
bottom: -1px;
|
|
572
|
+
height: 2px;
|
|
573
|
+
@include bg_color_primary;
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
// 空间名与状态贴在页签行右端:既省一条栏,又让「我在哪个空间」一直看得见
|
|
580
|
+
&__space {
|
|
581
|
+
margin-left: auto;
|
|
582
|
+
display: flex;
|
|
583
|
+
align-items: center;
|
|
584
|
+
gap: 8px;
|
|
585
|
+
padding-bottom: 10px;
|
|
586
|
+
font-size: $--font-size-small;
|
|
587
|
+
color: var(--color-text-secondary);
|
|
588
|
+
|
|
589
|
+
b {
|
|
590
|
+
color: var(--color-text-title);
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
&__body {
|
|
595
|
+
flex: 1;
|
|
596
|
+
min-height: 0;
|
|
597
|
+
display: flex;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
&__tree {
|
|
601
|
+
width: 260px;
|
|
602
|
+
flex: none;
|
|
603
|
+
display: flex;
|
|
604
|
+
flex-direction: column;
|
|
605
|
+
min-height: 0;
|
|
606
|
+
border-right: 1px solid #E3E3E3;
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
&__tree-top {
|
|
610
|
+
flex: none;
|
|
611
|
+
padding: 10px;
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
&__tree-ops {
|
|
615
|
+
display: flex;
|
|
616
|
+
gap: 8px;
|
|
617
|
+
margin-top: 8px;
|
|
618
|
+
|
|
619
|
+
.el-button {
|
|
620
|
+
flex: 1;
|
|
621
|
+
margin-left: 0;
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
&__tree-tip {
|
|
626
|
+
flex: none;
|
|
627
|
+
padding: 8px 10px;
|
|
628
|
+
background: #F7F8FA;
|
|
629
|
+
border-bottom: 1px solid #E3E3E3;
|
|
630
|
+
font-size: $--font-size-extra-small;
|
|
631
|
+
color: var(--color-text-assistant);
|
|
632
|
+
line-height: 1.6;
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
// 非「内容」页签是整块表格,撑满剩余高度自己滚——
|
|
636
|
+
// 不给高度的话表格会把工作台顶出外壳,滚动条跑到最外层去
|
|
637
|
+
.epx-wiki-jobs,
|
|
638
|
+
.epx-wiki-intake,
|
|
639
|
+
.epx-wiki-revs,
|
|
640
|
+
.epx-wiki-cites,
|
|
641
|
+
.epx-wiki-set {
|
|
642
|
+
flex: 1;
|
|
643
|
+
min-height: 0;
|
|
644
|
+
overflow-y: auto;
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
&__doc {
|
|
648
|
+
flex: 1;
|
|
649
|
+
min-width: 0;
|
|
650
|
+
display: flex;
|
|
651
|
+
flex-direction: column;
|
|
652
|
+
min-height: 0;
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
&__doc-top {
|
|
656
|
+
flex: none;
|
|
657
|
+
display: flex;
|
|
658
|
+
align-items: flex-start;
|
|
659
|
+
gap: 12px;
|
|
660
|
+
padding: 10px 16px;
|
|
661
|
+
border-bottom: 1px solid #E3E3E3;
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
&__doc-nm {
|
|
665
|
+
flex: 1;
|
|
666
|
+
min-width: 0;
|
|
667
|
+
|
|
668
|
+
.nm {
|
|
669
|
+
display: block;
|
|
670
|
+
font-size: $--font-size-base;
|
|
671
|
+
font-weight: 600;
|
|
672
|
+
color: var(--color-text-title);
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
.pt {
|
|
676
|
+
display: block;
|
|
677
|
+
margin-top: 2px;
|
|
678
|
+
font-size: $--font-size-extra-small;
|
|
679
|
+
color: var(--color-text-assistant);
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
&__doc-ops {
|
|
684
|
+
flex: none;
|
|
685
|
+
display: flex;
|
|
686
|
+
align-items: center;
|
|
687
|
+
gap: 8px;
|
|
688
|
+
flex-wrap: wrap;
|
|
689
|
+
justify-content: flex-end;
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
// 这一页的动作与整个空间的动作之间画条线:前者只影响当前页,
|
|
693
|
+
// 后者影响整个空间,挨在一起容易点错
|
|
694
|
+
&__vsep {
|
|
695
|
+
width: 1px;
|
|
696
|
+
height: 16px;
|
|
697
|
+
background: #E3E3E3;
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
&__foot {
|
|
701
|
+
flex: none;
|
|
702
|
+
display: flex;
|
|
703
|
+
align-items: center;
|
|
704
|
+
gap: 12px;
|
|
705
|
+
padding: 8px 16px;
|
|
706
|
+
border-top: 1px solid #E3E3E3;
|
|
707
|
+
background: #F7F8FA;
|
|
708
|
+
font-size: $--font-size-extra-small;
|
|
709
|
+
color: var(--color-text-assistant);
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
&__foot-r {
|
|
713
|
+
margin-left: auto;
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
}
|
|
717
|
+
</style>
|