@epxing/business 0.0.0-stage → 5.3.0-beta.1
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 +110 -0
- package/README.md +42 -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 +684 -0
- package/dist/src/base/AiPromptView.js +362 -0
- package/dist/src/base/AiSkillEditor.js +1028 -0
- package/dist/src/base/AiSkillEditor.vue.js +1176 -0
- package/dist/src/base/AppConfigFormItem.js +7 -0
- package/dist/src/base/AppConfigFormItem.vue.js +407 -0
- package/dist/src/base/AppMarket.js +211 -0
- package/dist/src/base/AppMarketList.js +7 -0
- package/dist/src/base/AppMarketList.vue.js +214 -0
- package/dist/src/base/AppMarketSystemDetail.js +292 -0
- package/dist/src/base/AttributeSubAdd.js +25 -0
- package/dist/src/base/ChooseApplication.js +131 -0
- package/dist/src/base/ClientAppItem.js +189 -0
- package/dist/src/base/ClientApplication.js +359 -0
- package/dist/src/base/ClientApplicationList.js +125 -0
- package/dist/src/base/ClientModule.js +118 -0
- package/dist/src/base/ClientModuleIndex.js +294 -0
- package/dist/src/base/ClientSystemDetail.js +202 -0
- package/dist/src/base/ClientSystemList.js +7 -0
- package/dist/src/base/ClientSystemList.vue.js +450 -0
- package/dist/src/base/CommonFieldList.js +10 -0
- package/dist/src/base/CommonFieldList.vue.js +530 -0
- package/dist/src/base/CommonSearchList.js +4 -0
- package/dist/src/base/CommonSearchList.vue.js +253 -0
- package/dist/src/base/CompayDetail.js +115 -0
- package/dist/src/base/ComponentGlobalSet.js +7 -0
- package/dist/src/base/ComponentGlobalSet.vue.js +722 -0
- package/dist/src/base/ComponentParamsTree.js +334 -0
- package/dist/src/base/ConfigModuleIndex.js +134 -0
- package/dist/src/base/CurrentClientApplication.js +53 -0
- package/dist/src/base/CurrentVersionInfo.js +97 -0
- package/dist/src/base/EntityMatchCompare.js +532 -0
- package/dist/src/base/FieldRelationFormItem.js +7 -0
- package/dist/src/base/FieldRelationFormItem.vue.js +272 -0
- package/dist/src/base/HelpDocSet.js +362 -0
- package/dist/src/base/HelpDocSet.vue.js +685 -0
- package/dist/src/base/IndexFormItem.js +4 -0
- package/dist/src/base/IndexFormItem.vue.js +230 -0
- package/dist/src/base/JobFormItem.js +7 -0
- package/dist/src/base/JobFormItem.vue.js +131 -0
- package/dist/src/base/ManageAppNav.js +8 -0
- package/dist/src/base/ManageAppNav.vue.js +1178 -0
- package/dist/src/base/ManageMenu.js +915 -0
- package/dist/src/base/ManageMenuItem.js +550 -0
- package/dist/src/base/NoInstallSystemList.js +4 -0
- package/dist/src/base/NoInstallSystemList.vue.js +159 -0
- package/dist/src/base/PageList.js +47 -0
- package/dist/src/base/PasswordFormItem.js +7 -0
- package/dist/src/base/PasswordFormItem.vue.js +125 -0
- package/dist/src/base/ProcessFormItem.js +147 -0
- package/dist/src/base/PublishSystemApplyFormItem.js +4 -0
- package/dist/src/base/PublishSystemApplyFormItem.vue.js +104 -0
- package/dist/src/base/RequestLog.js +169 -0
- package/dist/src/base/RightRiskList.js +7 -0
- package/dist/src/base/RightRiskList.vue.js +224 -0
- package/dist/src/base/RoleAccredit.js +1086 -0
- package/dist/src/base/RoleRightList.js +7 -0
- package/dist/src/base/RoleRightList.vue.js +118 -0
- package/dist/src/base/RoleUserManage.js +7 -0
- package/dist/src/base/RoleUserManage.vue.js +146 -0
- package/dist/src/base/ServiceAccredit.js +1074 -0
- package/dist/src/base/ServiceMenu.js +398 -0
- package/dist/src/base/ServiceMenuFormItem.js +19 -0
- package/dist/src/base/ServiceOperate.js +1002 -0
- package/dist/src/base/SystemHelpTreeFind.js +43 -0
- package/dist/src/base/aiPromptMode.js +144 -0
- package/dist/src/base/data-check/DataChckDetail.js +242 -0
- package/dist/src/base/data-check/DataCheck.js +307 -0
- package/dist/src/base/data-check/DataCheckList.js +363 -0
- package/dist/src/base/data-check/DataCheckSubList.js +5 -0
- package/dist/src/base/data-check/DataCheckSubList.vue.js +195 -0
- package/dist/src/base/entity-view/EntityViewFormItem.js +4 -0
- package/dist/src/base/entity-view/EntityViewFormItem.vue.js +229 -0
- package/dist/src/base/entity-view/EntityViewSubList.js +4 -0
- package/dist/src/base/entity-view/EntityViewSubList.vue.js +181 -0
- package/dist/src/base/entity-view-config/BasicInfoDialog.js +207 -0
- package/dist/src/base/entity-view-config/FieldPanel.js +691 -0
- package/dist/src/base/entity-view-config/FieldPropForm.js +785 -0
- package/dist/src/base/entity-view-config/FormulaDialog.js +142 -0
- package/dist/src/base/entity-view-config/ObjectFieldDialog.js +270 -0
- package/dist/src/base/entity-view-config/RelationPanel.js +778 -0
- package/dist/src/base/entity-view-config/SourceManagerDialog.js +657 -0
- package/dist/src/base/entity-view-config/SqlPanel.js +61 -0
- package/dist/src/base/entity-view-config/SqlPanel.vue.js +43 -0
- package/dist/src/base/entity-view-config/UnionPanel.js +1081 -0
- package/dist/src/base/entity-view-config/ViewConfig.js +585 -0
- package/dist/src/base/entity-view-config/constants.js +145 -0
- package/dist/src/base/user-type/UserTypeFormItem.js +4 -0
- package/dist/src/base/user-type/UserTypeFormItem.vue.js +183 -0
- package/dist/src/components/AddPageFormItem.js +4 -0
- package/dist/src/components/AddPageFormItem.vue.js +92 -0
- package/dist/src/components/AddUsedInterface.js +213 -0
- package/dist/src/components/AiDocFormItem.js +5 -0
- package/dist/src/components/AiDocFormItem.vue.js +271 -0
- package/dist/src/components/AiList.js +7 -0
- package/dist/src/components/AiList.vue.js +93 -0
- package/dist/src/components/AiPermissionAssistant.js +283 -0
- package/dist/src/components/AppList.js +413 -0
- package/dist/src/components/Apply/AIApplyIndex.js +178 -0
- package/dist/src/components/Apply/ApplyIndex.js +281 -0
- package/dist/src/components/AttributeList.js +869 -0
- package/dist/src/components/Banner.js +25 -0
- package/dist/src/components/BatchAddFieldDialog.js +424 -0
- package/dist/src/components/CardO.js +46 -0
- package/dist/src/components/CheckForm.js +33 -0
- package/dist/src/components/ClientAdminFormItem.js +46 -0
- package/dist/src/components/ClientAdminList.js +8 -0
- package/dist/src/components/ClientAdminList.vue.js +221 -0
- package/dist/src/components/ClientFormItem.js +47 -0
- package/dist/src/components/ClientList.js +5 -0
- package/dist/src/components/ClientList.vue.js +216 -0
- package/dist/src/components/CodeDetail.js +453 -0
- package/dist/src/components/CodeManage.js +1029 -0
- package/dist/src/components/ComponentFind.js +209 -0
- package/dist/src/components/ComponentList.js +498 -0
- package/dist/src/components/ConfigParamFormItem.js +7 -0
- package/dist/src/components/ConfigParamFormItem.vue.js +389 -0
- package/dist/src/components/CreatePage.js +297 -0
- package/dist/src/components/DashboardCreate.js +105 -0
- package/dist/src/components/DataLog.js +168 -0
- package/dist/src/components/DataLogTimeline.js +110 -0
- package/dist/src/components/DataSnapshot.js +206 -0
- package/dist/src/components/DataSnapshotList.js +74 -0
- package/dist/src/components/DataSyncInit.js +172 -0
- package/dist/src/components/DblogList.js +5 -0
- package/dist/src/components/DblogList.vue.js +143 -0
- package/dist/src/components/DeptFind.js +7 -0
- package/dist/src/components/DeptFind.vue.js +109 -0
- package/dist/src/components/DynamicUserList.js +4 -0
- package/dist/src/components/DynamicUserList.vue.js +89 -0
- package/dist/src/components/EntityCheckboxFind.js +4 -0
- package/dist/src/components/EntityCheckboxFind.vue.js +97 -0
- package/dist/src/components/EntityRelationAdd.js +387 -0
- package/dist/src/components/EntityRelationAddFormItem.js +4 -0
- package/dist/src/components/EntityRelationAddFormItem.vue.js +284 -0
- package/dist/src/components/EntityRightFormItem.js +9 -0
- package/dist/src/components/EntityRightFormItem.vue.js +401 -0
- package/dist/src/components/EntityRightSubList.js +639 -0
- package/dist/src/components/EntityTagSubList.js +4 -0
- package/dist/src/components/EntityTagSubList.vue.js +103 -0
- package/dist/src/components/EntityTreeManage.js +864 -0
- package/dist/src/components/ExportSystemConfig.js +166 -0
- package/dist/src/components/FieldTreeFind.js +40 -0
- package/dist/src/components/FormulaEditor.js +7 -0
- package/dist/src/components/FormulaEditor.vue.js +1235 -0
- package/dist/src/components/GenTestData.js +637 -0
- package/dist/src/components/HallNav.js +5 -0
- package/dist/src/components/HallNav.vue.js +156 -0
- package/dist/src/components/HeaderNav.js +368 -0
- package/dist/src/components/IconCard.js +97 -0
- package/dist/src/components/IconFontLibrary.js +4 -0
- package/dist/src/components/IconFontLibrary.vue.js +67 -0
- package/dist/src/components/IconFontList.js +4 -0
- package/dist/src/components/IconFontList.vue.js +79 -0
- package/dist/src/components/IdentifyList.js +32 -0
- package/dist/src/components/ImportSystemConfig.js +302 -0
- package/dist/src/components/InterfaceSubList.js +319 -0
- package/dist/src/components/JsPanel.js +100 -0
- package/dist/src/components/LanguageImportPage.js +589 -0
- package/dist/src/components/LanguageSetting.js +544 -0
- package/dist/src/components/List/LinkItem.js +112 -0
- package/dist/src/components/List/List.js +17 -0
- package/dist/src/components/List/ListItem.js +30 -0
- package/dist/src/components/MenuTreeFind.js +7 -0
- package/dist/src/components/MenuTreeFind.vue.js +81 -0
- package/dist/src/components/MessageList.js +7 -0
- package/dist/src/components/MessageList.vue.js +101 -0
- package/dist/src/components/MessageRuleFormItem.js +59 -0
- package/dist/src/components/MessageRuleReceiverFormItem.js +223 -0
- package/dist/src/components/MessageTemplate.js +394 -0
- package/dist/src/components/MessageTemplate.vue.js +693 -0
- package/dist/src/components/MetaList.js +4 -0
- package/dist/src/components/MetaList.vue.js +100 -0
- package/dist/src/components/Nav.js +495 -0
- package/dist/src/components/NavFormCatalogItem.js +6 -0
- package/dist/src/components/NumList.js +59 -0
- package/dist/src/components/OperateLog.js +132 -0
- package/dist/src/components/PageCatalog.js +7 -0
- package/dist/src/components/PageCatalog.vue.js +292 -0
- package/dist/src/components/PageChart.js +212 -0
- package/dist/src/components/PageSwipes.js +131 -0
- package/dist/src/components/PersonFormItem.js +4 -0
- package/dist/src/components/PersonFormItem.vue.js +96 -0
- package/dist/src/components/Popup.js +238 -0
- package/dist/src/components/PrintFormList.js +8 -0
- package/dist/src/components/PrintFormList.vue.js +203 -0
- package/dist/src/components/PublishEntity.js +113 -0
- package/dist/src/components/RelyFieldTreeFind.js +51 -0
- package/dist/src/components/ReportFormList.js +235 -0
- package/dist/src/components/ReportList.js +8 -0
- package/dist/src/components/ReportList.vue.js +248 -0
- package/dist/src/components/RightSubList.js +7 -0
- package/dist/src/components/RightSubList.vue.js +150 -0
- package/dist/src/components/RoleAddUser.js +54 -0
- package/dist/src/components/RoleApplicationCard.js +137 -0
- package/dist/src/components/RoleApplicationList.js +936 -0
- package/dist/src/components/RoleApplicationSet.js +1000 -0
- package/dist/src/components/Search.js +253 -0
- package/dist/src/components/ServiceFormItem.js +32 -0
- package/dist/src/components/SnapshotDataList.js +72 -0
- package/dist/src/components/SystemAdminList.js +7 -0
- package/dist/src/components/SystemAdminList.vue.js +198 -0
- package/dist/src/components/SystemFormItem.js +7 -0
- package/dist/src/components/SystemFormItem.vue.js +170 -0
- package/dist/src/components/SystemNav.js +29 -0
- package/dist/src/components/TaskNumCard.js +22 -0
- package/dist/src/components/TimerRuleFormItem.js +332 -0
- package/dist/src/components/TodoList.js +7 -0
- package/dist/src/components/TodoList.vue.js +327 -0
- package/dist/src/components/UpdateSystemConfig.js +240 -0
- package/dist/src/components/UserCard.js +82 -0
- package/dist/src/components/UserFind.js +5 -0
- package/dist/src/components/UserFind.vue.js +592 -0
- package/dist/src/components/UserFormItem.js +8 -0
- package/dist/src/components/UserFormItem.vue.js +609 -0
- package/dist/src/components/UserList.js +4 -0
- package/dist/src/components/UserList.vue.js +23 -0
- package/dist/src/components/UserManage.js +801 -0
- package/dist/src/components/UserRoleList.js +578 -0
- package/dist/src/components/ValidateRuleFormItem.js +108 -0
- package/dist/src/components/ViewFieldDefine.js +746 -0
- package/dist/src/components/WikiSpaceList.js +4 -0
- package/dist/src/components/WikiSpaceList.vue.js +330 -0
- package/dist/src/components/WikiWorkbench.js +646 -0
- package/dist/src/components/authorization/AddApiPermiss.js +230 -0
- package/dist/src/components/authorization/AddAuthorization.js +160 -0
- package/dist/src/components/authorization/AddEntityFind.js +61 -0
- package/dist/src/components/authorization/AddNoApi.js +190 -0
- package/dist/src/components/authorization/AddRoleScope.js +336 -0
- package/dist/src/components/authorization/AiRolePlan.js +671 -0
- package/dist/src/components/authorization/ApiShareOtherList.js +396 -0
- package/dist/src/components/authorization/ApiSystemList.js +241 -0
- package/dist/src/components/authorization/AuthorizationInterface.js +621 -0
- package/dist/src/components/authorization/AuthorizationRoleSystem.js +849 -0
- package/dist/src/components/authorization/EntityConstraintFormItem.js +283 -0
- package/dist/src/components/authorization/OtherShareApiList.js +246 -0
- package/dist/src/components/authorization/PermissCommonRoleTabs.js +113 -0
- package/dist/src/components/authorization/PermissRoleAuthorization.js +1285 -0
- package/dist/src/components/authorization/PermissRoleTabs.js +112 -0
- package/dist/src/components/authorization/RoleLevel.js +4 -0
- package/dist/src/components/authorization/RoleLevel.vue.js +110 -0
- package/dist/src/components/authorization/RoleLevelScope.js +269 -0
- package/dist/src/components/authorization/SystemAddNoApi.js +186 -0
- package/dist/src/components/card/CardList.js +64 -0
- package/dist/src/components/card/CardListItem.js +96 -0
- package/dist/src/components/card/Title.js +41 -0
- package/dist/src/components/custom-bpmn/CustomContextPad.js +53 -0
- package/dist/src/components/custom-bpmn/CustomPalette.js +4 -0
- package/dist/src/components/custom-bpmn/CustomRenderer.js +4 -0
- package/dist/src/components/custom-bpmn/CustomRendererBpmn.js +87 -0
- package/dist/src/components/custom-bpmn/PropertiesView.js +12559 -0
- package/dist/src/components/custom-bpmn/components/AiModel.js +352 -0
- package/dist/src/components/custom-bpmn/components/Api.js +375 -0
- package/dist/src/components/custom-bpmn/components/BatchOperation.js +208 -0
- package/dist/src/components/custom-bpmn/components/Copy.js +652 -0
- package/dist/src/components/custom-bpmn/components/DataTransform.js +441 -0
- package/dist/src/components/custom-bpmn/components/Demo.js +62 -0
- package/dist/src/components/custom-bpmn/components/EditDiv.js +357 -0
- package/dist/src/components/custom-bpmn/components/GenScope.js +258 -0
- package/dist/src/components/custom-bpmn/components/GlobalParamsTree.js +75 -0
- package/dist/src/components/custom-bpmn/components/Knowledges.js +237 -0
- package/dist/src/components/custom-bpmn/components/Login.js +590 -0
- package/dist/src/components/custom-bpmn/components/MessageQueue.js +220 -0
- package/dist/src/components/custom-bpmn/components/MetaSelect.js +159 -0
- package/dist/src/components/custom-bpmn/components/NumStatistic.js +407 -0
- package/dist/src/components/custom-bpmn/components/ObjectTransform.js +788 -0
- package/dist/src/components/custom-bpmn/components/OutPut.js +394 -0
- package/dist/src/components/custom-bpmn/components/ParamsMachining.js +888 -0
- package/dist/src/components/custom-bpmn/components/ParamsOutput.js +160 -0
- package/dist/src/components/custom-bpmn/components/ProcessAudit.js +795 -0
- package/dist/src/components/custom-bpmn/components/SingleMultipleFind.js +1039 -0
- package/dist/src/components/custom-bpmn/components/TestDialog.js +860 -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 +4 -0
- package/dist/src/components/custom-bpmn/palette.js +12 -0
- package/dist/src/components/custom-bpmn/util.js +6 -0
- package/dist/src/components/dashboard-create.js +19 -0
- package/dist/src/components/entity-relation-diagram/Er.js +339 -0
- package/dist/src/components/entity-relation-diagram/renderErNode.js +35 -0
- package/dist/src/components/expand/AddForm.js +85 -0
- package/dist/src/components/expand/AddFormItem.js +148 -0
- package/dist/src/components/filter/Filter.js +719 -0
- package/dist/src/components/filter/FilterItem.js +492 -0
- package/dist/src/components/hall/AppCollect.js +120 -0
- package/dist/src/components/hall/AppList.js +479 -0
- package/dist/src/components/hall/AppVisitRecord.js +112 -0
- package/dist/src/components/hall/Banner.js +32 -0
- package/dist/src/components/hall/ServiceCard.js +123 -0
- package/dist/src/components/hall/UserCard.js +80 -0
- package/dist/src/components/permiss/AddApi.js +142 -0
- package/dist/src/components/permiss/AddNoEntityApi.js +179 -0
- package/dist/src/components/permiss/AddSystemPermiss.js +130 -0
- package/dist/src/components/permiss/AllocateRole.js +130 -0
- package/dist/src/components/permiss/ApiSubList.js +150 -0
- package/dist/src/components/permiss/CommonRoleMenu.js +590 -0
- package/dist/src/components/permiss/FieldScope.js +199 -0
- package/dist/src/components/permiss/PermissManage.js +87 -0
- package/dist/src/components/permiss/RoleAppList.js +35 -0
- package/dist/src/components/permiss/RoleMenu.js +517 -0
- package/dist/src/components/permiss/RoleSubList.js +4 -0
- package/dist/src/components/permiss/RoleSubList.vue.js +300 -0
- package/dist/src/components/permiss/jurisdiction.js +358 -0
- package/dist/src/components/process-healthcheck/HealthcheckChart.js +233 -0
- package/dist/src/components/process-healthcheck/HealthcheckChart.vue.js +348 -0
- package/dist/src/components/process-healthcheck/HealthcheckRenderer.js +35 -0
- package/dist/src/components/process-healthcheck/index.js +7 -0
- package/dist/src/components/report/Config.js +1707 -0
- package/dist/src/components/report/Design.js +4631 -0
- package/dist/src/components/report/StatList.js +216 -0
- package/dist/src/components/right/EntityOtherSystemList.js +81 -0
- package/dist/src/components/right/SystemInterfaceList.js +417 -0
- package/dist/src/components/right/SystemList.js +1016 -0
- package/dist/src/components/upLoad.js +70 -0
- package/dist/src/components/viewport/LookViewList.js +21 -0
- package/dist/src/components/viewport/ViewAddForm.js +141 -0
- package/dist/src/components/viewport/ViewDefineList.js +49 -0
- package/dist/src/components/viewport/ViewFiedList.js +722 -0
- package/dist/src/components/viewport/ViewScope.js +115 -0
- package/dist/src/components/wiki-workbench/WikiCites.js +300 -0
- package/dist/src/components/wiki-workbench/WikiIntake.js +307 -0
- package/dist/src/components/wiki-workbench/WikiIntake.vue.js +309 -0
- package/dist/src/components/wiki-workbench/WikiJobs.js +194 -0
- package/dist/src/components/wiki-workbench/WikiRevisions.js +228 -0
- package/dist/src/components/wiki-workbench/WikiSpaceSettings.js +58 -0
- package/dist/src/components/wiki-workbench/WikiSpaceSettings.vue.js +127 -0
- package/dist/src/components/wiki-workbench/codes.js +26 -0
- package/dist/src/components/wiki-workbench/index.js +12 -0
- package/dist/src/index.js +41 -0
- package/dist/src/popup.js +67 -0
- package/dist/src/public-components.js +19 -0
- package/dist/src/remote.entry.js +30 -0
- package/dist/src/route-components.js +11 -0
- package/dist/src/system.component.index.js +4 -0
- package/dist/src/system.component.js +341 -0
- package/dist/src/system.component.lazy.js +49 -0
- package/dist/src/views/Add.js +7 -0
- package/dist/src/views/Add.vue.js +734 -0
- package/dist/src/views/AiToolManager.js +2529 -0
- package/dist/src/views/App.js +47 -0
- package/dist/src/views/AppRoleSelect.js +232 -0
- package/dist/src/views/BatchEdit.js +255 -0
- package/dist/src/views/Bpmn.js +318 -0
- package/dist/src/views/Bpmn.vue.js +1196 -0
- package/dist/src/views/EntityCheckPage.js +48 -0
- package/dist/src/views/EntityDetailPage.js +4 -0
- package/dist/src/views/EntityDetailPage.vue.js +73 -0
- package/dist/src/views/EntityEditPage.js +9 -0
- package/dist/src/views/EntitySubListPage.js +40 -0
- package/dist/src/views/EntityTreePage.js +31 -0
- package/dist/src/views/Error.js +209 -0
- package/dist/src/views/ExcelDesign.js +2729 -0
- package/dist/src/views/ExcelDesign.vue.js +2165 -0
- package/dist/src/views/ExcelPreviewPage.js +165 -0
- package/dist/src/views/ExcelPreviewPage.vue.js +572 -0
- package/dist/src/views/ExportFilePage.js +20 -0
- package/dist/src/views/ExportPage.js +20 -0
- package/dist/src/views/FormDesign.js +1032 -0
- package/dist/src/views/FormDesign.vue.js +1564 -0
- package/dist/src/views/I18nWorkbench.js +520 -0
- package/dist/src/views/ImportFilePage.js +20 -0
- package/dist/src/views/ImportPage.js +20 -0
- package/dist/src/views/MEntityListPage.js +65 -0
- package/dist/src/views/MEntitySubListPage.js +40 -0
- package/dist/src/views/MinePage.js +15 -0
- package/dist/src/views/Module.js +172 -0
- package/dist/src/views/PageAttributeTreePage.js +420 -0
- package/dist/src/views/PageConfig.js +176 -0
- package/dist/src/views/Permission.js +741 -0
- package/dist/src/views/PersonalInfo.js +791 -0
- package/dist/src/views/QyWechat.js +61 -0
- package/dist/src/views/ReportFormListPage.js +76 -0
- package/dist/src/views/TaskPage.js +179 -0
- package/dist/src/views/WikiBinding.js +613 -0
- package/dist/src/views/client/AddForm.js +54 -0
- package/dist/src/views/client/AppMarket.js +289 -0
- package/dist/src/views/client/ClientIndex.js +208 -0
- package/dist/src/views/client/ClientModuleIndexPage.js +4 -0
- package/dist/src/views/client/ClientModuleIndexPage.vue.js +30 -0
- package/dist/src/views/client/CopySystem.js +135 -0
- package/dist/src/views/client/CreateAppFormItem.js +7 -0
- package/dist/src/views/client/CreateAppFormItem.vue.js +232 -0
- package/dist/src/views/client/CreateMethod.js +75 -0
- package/dist/src/views/client/InstallSystem.js +308 -0
- package/dist/src/views/client/ManageList.js +4 -0
- package/dist/src/views/client/ManageList.vue.js +211 -0
- package/dist/src/views/client/OpenClientManage.js +50 -0
- package/dist/src/views/client/OpenSystemManage.js +55 -0
- package/dist/src/views/client/PageTabsCyclic.js +91 -0
- package/dist/src/views/client/SelfBuiltSystem.js +443 -0
- package/dist/src/views/client/StandardProduct.js +232 -0
- package/dist/src/views/client/SystemAppAccredit.js +560 -0
- package/dist/src/views/client/SystemAppManager.js +292 -0
- package/dist/src/views/client/SystemAppManager.vue.js +559 -0
- package/dist/src/views/client/SystemManager.js +451 -0
- package/dist/src/views/client/SystemManager.vue.js +522 -0
- package/dist/src/views/i18n/I18nAiTaskHistoryDialog.js +229 -0
- package/dist/src/views/i18n/I18nPublishDialog.js +450 -0
- package/dist/src/views/i18n/I18nTranslationList.js +7 -0
- package/dist/src/views/i18n/I18nTranslationList.vue.js +247 -0
- package/dist/src/views/i18n/i18n-workbench-text.js +10 -0
- package/dist/src/views/layout/CardList.js +95 -0
- package/dist/src/views/layout/Grid.js +137 -0
- package/dist/src/views/match/AddTargetField.js +7 -0
- package/dist/src/views/match/AddTargetField.vue.js +127 -0
- package/dist/src/views/match/MatchAddFormItem.js +4 -0
- package/dist/src/views/match/MatchAddFormItem.vue.js +84 -0
- package/dist/src/views/match/conversion.js +804 -0
- package/dist/src/views/match/customize.js +390 -0
- package/dist/src/views/match/fieldMatch.js +7 -0
- package/dist/src/views/match/fieldMatch.vue.js +610 -0
- package/dist/src/views/report/AddFormItem.js +59 -0
- package/dist/src/views/report/DesignReport.js +1391 -0
- package/dist/src/views/report/ReportTreeFind.js +7 -0
- package/dist/src/views/report/ReportTreeFind.vue.js +166 -0
- package/dist/style.css +33364 -0
- package/package.json +132 -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,684 @@
|
|
|
1
|
+
import "codemirror/addon/hint/show-hint.js";
|
|
2
|
+
import "codemirror/lib/codemirror.css";
|
|
3
|
+
import "codemirror/addon/hint/show-hint.css";
|
|
4
|
+
import "codemirror/addon/edit/closebrackets.js";
|
|
5
|
+
import "./aiPromptMode.js";
|
|
6
|
+
import __cjsReq0 from "codemirror";
|
|
7
|
+
import { component } from "@epxing/core/src/mixins";
|
|
8
|
+
import { resolveComponent, openBlock, createElementBlock, createElementVNode, createBlock, withCtx, createTextVNode, createCommentVNode, normalizeClass, withDirectives, createVNode, Fragment, renderList, toDisplayString, withModifiers, vShow } from "vue";
|
|
9
|
+
/* empty css */
|
|
10
|
+
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
11
|
+
const __compatRequireEnsure = (_deps, cb) => Promise.resolve().then(() => cb && cb());
|
|
12
|
+
const _sfc_main = {
|
|
13
|
+
name: "epx-base-ai-prompt-designer",
|
|
14
|
+
mixins: [component],
|
|
15
|
+
props: {
|
|
16
|
+
formData: {
|
|
17
|
+
type: Object,
|
|
18
|
+
default() {
|
|
19
|
+
return {};
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
pageType: {
|
|
23
|
+
type: String
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
data() {
|
|
27
|
+
return {
|
|
28
|
+
activeTab: "base",
|
|
29
|
+
functionList: [],
|
|
30
|
+
staticVariableList: [],
|
|
31
|
+
paramList: [],
|
|
32
|
+
foldMap: {},
|
|
33
|
+
showParamsDialog: false,
|
|
34
|
+
params: {},
|
|
35
|
+
templateList: [],
|
|
36
|
+
showTemplateDialog: false,
|
|
37
|
+
previewTemplate: null,
|
|
38
|
+
isDetailMode: false,
|
|
39
|
+
saving: false,
|
|
40
|
+
isFold: false,
|
|
41
|
+
isEdit: false
|
|
42
|
+
};
|
|
43
|
+
},
|
|
44
|
+
computed: {
|
|
45
|
+
componentType() {
|
|
46
|
+
const { componentType } = this.$configs;
|
|
47
|
+
if (this.isEdit) return "EDIT";
|
|
48
|
+
console.log(this.pageType);
|
|
49
|
+
if (!componentType) {
|
|
50
|
+
return this.pageType;
|
|
51
|
+
} else {
|
|
52
|
+
return componentType;
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
isAppMode() {
|
|
56
|
+
return this.$meta && this.$meta.code === "FM_SERVICE";
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
watch: {
|
|
60
|
+
isDetailMode(val) {
|
|
61
|
+
if (val) {
|
|
62
|
+
this.isEdit = false;
|
|
63
|
+
}
|
|
64
|
+
if (this.editor) {
|
|
65
|
+
this.editor.setOption("readOnly", val ? "nocursor" : false);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
methods: {
|
|
70
|
+
getFunctionLibary() {
|
|
71
|
+
Promise.all([this.$http.$post({
|
|
72
|
+
action: "list",
|
|
73
|
+
entityId: "FM_FUNCTION",
|
|
74
|
+
"scope.TYPE": "AI_FUN"
|
|
75
|
+
}), this.$http.$post({
|
|
76
|
+
action: "list",
|
|
77
|
+
entityId: "FM_AI_FUNCTION",
|
|
78
|
+
"scope.ENABLE#not": "0",
|
|
79
|
+
"scope.TYPE": "static_var"
|
|
80
|
+
})]).then(([functionData, varData]) => {
|
|
81
|
+
this.functionList = functionData.entitys;
|
|
82
|
+
this.staticVariableList = varData.entitys;
|
|
83
|
+
this.initFormula();
|
|
84
|
+
});
|
|
85
|
+
},
|
|
86
|
+
getParamList() {
|
|
87
|
+
return this.$http.list({
|
|
88
|
+
entityId: "FM_AI_PROMPT_PARAM",
|
|
89
|
+
"scope.PROMPT": this.$query.id
|
|
90
|
+
}).then((data) => {
|
|
91
|
+
this.paramList = data.entitys;
|
|
92
|
+
});
|
|
93
|
+
},
|
|
94
|
+
initFormula() {
|
|
95
|
+
__compatRequireEnsure([], () => {
|
|
96
|
+
const CodeMirror = __cjsReq0;
|
|
97
|
+
globalThis.codemirror = CodeMirror;
|
|
98
|
+
this.editor = CodeMirror.fromTextArea(this.$refs.textarea, {
|
|
99
|
+
mode: { name: "prompt", functionList: this.functionList },
|
|
100
|
+
lineWrapping: true,
|
|
101
|
+
lineNumbers: false,
|
|
102
|
+
autofocus: true,
|
|
103
|
+
showCursorWhenSelecting: true,
|
|
104
|
+
matchBrackets: {
|
|
105
|
+
afterCursor: false
|
|
106
|
+
},
|
|
107
|
+
autoCloseBrackets: true,
|
|
108
|
+
inputStyle: "contenteditable",
|
|
109
|
+
hintOptions: { completeSingle: false },
|
|
110
|
+
readOnly: this.isDetailMode ? "nocursor" : false
|
|
111
|
+
});
|
|
112
|
+
this.editor.on("change", (editor, change) => {
|
|
113
|
+
if (change.origin === "+input") {
|
|
114
|
+
setTimeout(function() {
|
|
115
|
+
editor.execCommand("autocomplete");
|
|
116
|
+
}, 20);
|
|
117
|
+
}
|
|
118
|
+
});
|
|
119
|
+
this.editor.on("blur", (editor) => {
|
|
120
|
+
this.setContent();
|
|
121
|
+
});
|
|
122
|
+
this.editor.showHint();
|
|
123
|
+
if (this.formData.CONTENT || this.formData.SYSTEM_PROMPT) {
|
|
124
|
+
this.addEditorContent(this.isAppMode ? this.formData.SYSTEM_PROMPT : this.formData.CONTENT);
|
|
125
|
+
}
|
|
126
|
+
});
|
|
127
|
+
},
|
|
128
|
+
addEditorContent(content) {
|
|
129
|
+
const { line: lineCount, ch: initCh } = this.editor.getCursor();
|
|
130
|
+
const lines = content.split("\n");
|
|
131
|
+
const markList = [];
|
|
132
|
+
lines.forEach((line, index) => {
|
|
133
|
+
let diffNum = 0;
|
|
134
|
+
const lineIndex = lineCount + index;
|
|
135
|
+
let text = line.replace(/{{(\w+)}}/g, (str, $1, chIndex) => {
|
|
136
|
+
const item = this.staticVariableList.find((item2) => item2.FUNC_VAR === $1);
|
|
137
|
+
const paramItem = this.paramList.find((item2) => item2.KEY === $1);
|
|
138
|
+
const realIndex = diffNum + chIndex;
|
|
139
|
+
if (item) {
|
|
140
|
+
markList.push({
|
|
141
|
+
line: lineIndex,
|
|
142
|
+
from: realIndex,
|
|
143
|
+
to: item.NAME.length + realIndex,
|
|
144
|
+
marker: {
|
|
145
|
+
className: "cm-variable",
|
|
146
|
+
atomic: true,
|
|
147
|
+
attributes: {
|
|
148
|
+
type: item.TYPE,
|
|
149
|
+
code: str
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
});
|
|
153
|
+
diffNum += item.NAME.length - str.length;
|
|
154
|
+
return item.NAME;
|
|
155
|
+
} else if (paramItem) {
|
|
156
|
+
markList.push({
|
|
157
|
+
line: lineIndex,
|
|
158
|
+
from: realIndex,
|
|
159
|
+
to: paramItem.NAME.length + realIndex,
|
|
160
|
+
marker: {
|
|
161
|
+
className: "cm-variable",
|
|
162
|
+
atomic: true,
|
|
163
|
+
attributes: {
|
|
164
|
+
type: "params",
|
|
165
|
+
code: str
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
});
|
|
169
|
+
diffNum += paramItem.NAME.length - str.length;
|
|
170
|
+
return paramItem.NAME;
|
|
171
|
+
} else {
|
|
172
|
+
return str;
|
|
173
|
+
}
|
|
174
|
+
});
|
|
175
|
+
diffNum = 0;
|
|
176
|
+
text = text.replace(/#{(\w+)\(([^#{]+)\)}/g, (str, $1, $2, chIndex) => {
|
|
177
|
+
const paramList = [];
|
|
178
|
+
const params = $2.split(",");
|
|
179
|
+
params.forEach((param, paramIndex) => {
|
|
180
|
+
if (param.trim()) {
|
|
181
|
+
const item = this.staticVariableList.find((item2) => item2.FUNC_VAR === param.trim());
|
|
182
|
+
const paramItem = this.paramList.find((item2) => item2.KEY === param.trim());
|
|
183
|
+
const realIndex = diffNum + chIndex + $1.length + 3;
|
|
184
|
+
if (item) {
|
|
185
|
+
markList.push({
|
|
186
|
+
line: lineIndex,
|
|
187
|
+
from: realIndex,
|
|
188
|
+
to: item.NAME.length + realIndex,
|
|
189
|
+
marker: {
|
|
190
|
+
className: "cm-variable",
|
|
191
|
+
atomic: true,
|
|
192
|
+
attributes: {
|
|
193
|
+
type: item.TYPE,
|
|
194
|
+
code: param.trim()
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
});
|
|
198
|
+
param = item.NAME;
|
|
199
|
+
} else if (paramItem) {
|
|
200
|
+
markList.push({
|
|
201
|
+
line: lineIndex,
|
|
202
|
+
from: realIndex,
|
|
203
|
+
to: paramItem.NAME.length + realIndex,
|
|
204
|
+
marker: {
|
|
205
|
+
className: "cm-variable",
|
|
206
|
+
atomic: true,
|
|
207
|
+
attributes: {
|
|
208
|
+
type: "params",
|
|
209
|
+
code: param.trim()
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
});
|
|
213
|
+
param = paramItem.MAME;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
paramList.push(param);
|
|
217
|
+
diffNum += param.length + (paramIndex === params.length - 1 ? 0 : 1);
|
|
218
|
+
});
|
|
219
|
+
return `#{${$1}(${paramList.join(",")})}`;
|
|
220
|
+
});
|
|
221
|
+
this.editor.replaceRange(text + (index < lines.length - 1 ? "\n" : ""), { line: lineIndex, ch: index === 0 ? initCh : 0 });
|
|
222
|
+
});
|
|
223
|
+
markList.forEach((item) => {
|
|
224
|
+
this.editor.markText({ line: item.line, ch: item.from }, { line: item.line, ch: item.to }, {
|
|
225
|
+
...item.marker
|
|
226
|
+
});
|
|
227
|
+
});
|
|
228
|
+
},
|
|
229
|
+
addFunction(data) {
|
|
230
|
+
const cursor = this.editor.getCursor();
|
|
231
|
+
const inFunction = this.isInfunction(cursor);
|
|
232
|
+
const code = inFunction ? data.METHOD + "()" : "#{" + data.METHOD + "()}";
|
|
233
|
+
this.editor.replaceRange(code, cursor);
|
|
234
|
+
this.editor.focus();
|
|
235
|
+
this.editor.setCursor({ line: cursor.line, ch: cursor.ch + inFunction ? code.length - 1 : code.length - 2 });
|
|
236
|
+
},
|
|
237
|
+
isInfunction(cursor) {
|
|
238
|
+
const line = this.editor.getLine(cursor.line);
|
|
239
|
+
const fucnList = [];
|
|
240
|
+
line.replace(/#{[^#{]+}/g, (str, index) => {
|
|
241
|
+
fucnList.push([index, index + str.length]);
|
|
242
|
+
return str;
|
|
243
|
+
});
|
|
244
|
+
const inFunction = fucnList.some((item) => cursor.ch > item[0] && cursor.ch < item[1]);
|
|
245
|
+
return inFunction;
|
|
246
|
+
},
|
|
247
|
+
addVariable(data) {
|
|
248
|
+
const cursor = this.editor.getCursor();
|
|
249
|
+
const inFunction = this.isInfunction(cursor);
|
|
250
|
+
this.editor.replaceRange(data.NAME, cursor);
|
|
251
|
+
this.editor.markText(cursor, { line: cursor.line, ch: cursor.ch + data.NAME.length }, {
|
|
252
|
+
className: "cm-variable",
|
|
253
|
+
atomic: true,
|
|
254
|
+
attributes: {
|
|
255
|
+
type: data.TYPE,
|
|
256
|
+
code: inFunction ? data.FUNC_VAR : `{{${data.FUNC_VAR}}}`
|
|
257
|
+
}
|
|
258
|
+
});
|
|
259
|
+
this.editor.focus();
|
|
260
|
+
this.editor.setCursor({ line: cursor.line, ch: cursor.ch + data.NAME.length });
|
|
261
|
+
},
|
|
262
|
+
addParamToDesigner(data) {
|
|
263
|
+
const cursor = this.editor.getCursor();
|
|
264
|
+
const inFunction = this.isInfunction(cursor);
|
|
265
|
+
this.editor.replaceRange(data.NAME, cursor);
|
|
266
|
+
this.editor.markText(cursor, { line: cursor.line, ch: cursor.ch + data.NAME.length }, {
|
|
267
|
+
className: "cm-variable",
|
|
268
|
+
atomic: true,
|
|
269
|
+
attributes: {
|
|
270
|
+
type: "params",
|
|
271
|
+
code: inFunction ? data.KEY : `{{${data.KEY}}}`
|
|
272
|
+
}
|
|
273
|
+
});
|
|
274
|
+
this.editor.focus();
|
|
275
|
+
this.editor.setCursor({ line: cursor.line, ch: cursor.ch + data.NAME.length });
|
|
276
|
+
},
|
|
277
|
+
addParams() {
|
|
278
|
+
this.params = {};
|
|
279
|
+
this.showParamsDialog = true;
|
|
280
|
+
},
|
|
281
|
+
editParams(param) {
|
|
282
|
+
this.params = { ...param };
|
|
283
|
+
this.showParamsDialog = true;
|
|
284
|
+
},
|
|
285
|
+
deleteParams(param) {
|
|
286
|
+
this.$http.removeMulti({
|
|
287
|
+
entityId: "FM_AI_PROMPT_PARAM",
|
|
288
|
+
ids: param.ID
|
|
289
|
+
}).then((data) => {
|
|
290
|
+
this.$message.success("删除成功");
|
|
291
|
+
this.getParamList();
|
|
292
|
+
this.showParamsDialog = false;
|
|
293
|
+
this.params = {};
|
|
294
|
+
}).catch((err) => {
|
|
295
|
+
this.$message.error(err.message);
|
|
296
|
+
});
|
|
297
|
+
},
|
|
298
|
+
saveParams() {
|
|
299
|
+
const { ID } = this.params;
|
|
300
|
+
this.$http.save({
|
|
301
|
+
action: ID ? "update" : "save",
|
|
302
|
+
entityId: "FM_AI_PROMPT_PARAM",
|
|
303
|
+
bean: {
|
|
304
|
+
CLIENT: this.CLIENT,
|
|
305
|
+
SYSTEM: this.SYSTEM,
|
|
306
|
+
PROMPT: this.$query.id,
|
|
307
|
+
...this.params
|
|
308
|
+
}
|
|
309
|
+
}).then((data) => {
|
|
310
|
+
this.getParamList();
|
|
311
|
+
this.showParamsDialog = false;
|
|
312
|
+
this.params = {};
|
|
313
|
+
}).catch((err) => {
|
|
314
|
+
this.$message.error(err.message);
|
|
315
|
+
});
|
|
316
|
+
},
|
|
317
|
+
getTemplateList() {
|
|
318
|
+
this.$http.list({
|
|
319
|
+
entityId: "FM_AI_PROMPT",
|
|
320
|
+
"scope.IS_COMMON_USE": "1",
|
|
321
|
+
"scope.ID#not_in": this.$query.id
|
|
322
|
+
}).then((data) => {
|
|
323
|
+
this.templateList = data.entitys;
|
|
324
|
+
});
|
|
325
|
+
},
|
|
326
|
+
refTemplate(template) {
|
|
327
|
+
if (this.isAppMode) {
|
|
328
|
+
this.addEditorContent(template.CONTENT);
|
|
329
|
+
this.setContent();
|
|
330
|
+
} else {
|
|
331
|
+
this.$http.$post({
|
|
332
|
+
action: "refTemplate",
|
|
333
|
+
entityId: "FM_AI_PROMPT_PARAM",
|
|
334
|
+
promptTemplate: template.ID,
|
|
335
|
+
promptId: this.$query.id
|
|
336
|
+
}).then((data) => {
|
|
337
|
+
this.$message.success("引入成功");
|
|
338
|
+
this.getParamList().then(() => {
|
|
339
|
+
this.addEditorContent(template.CONTENT);
|
|
340
|
+
this.setContent();
|
|
341
|
+
});
|
|
342
|
+
}).catch((err) => {
|
|
343
|
+
this.$message.error(err.message);
|
|
344
|
+
});
|
|
345
|
+
}
|
|
346
|
+
},
|
|
347
|
+
replaceStr(str, startIndex, endIndex, char) {
|
|
348
|
+
return str.substring(0, startIndex) + char + str.substring(endIndex);
|
|
349
|
+
},
|
|
350
|
+
setContent() {
|
|
351
|
+
const value = this.editor.getValue();
|
|
352
|
+
if (value) {
|
|
353
|
+
let el = "";
|
|
354
|
+
let index = 0;
|
|
355
|
+
this.editor.eachLine((line) => {
|
|
356
|
+
let text = line.text;
|
|
357
|
+
const lineItem = {
|
|
358
|
+
text: line.text,
|
|
359
|
+
styles: line.styles ? [...line.styles] : null
|
|
360
|
+
};
|
|
361
|
+
if (line.markedSpans) {
|
|
362
|
+
lineItem.markedSpans = line.markedSpans.map((item) => ({ from: item.from, to: item.to, marker: { atomic: item.marker.atomic, attributes: item.marker.attributes, className: item.marker.className, type: item.marker.type } }));
|
|
363
|
+
const reverseMark = line.markedSpans.sort((a, b) => b.from - a.from);
|
|
364
|
+
reverseMark.map((item, index2) => {
|
|
365
|
+
if (item.marker.attributes) {
|
|
366
|
+
text = this.replaceStr(text, item.from, item.to, item.marker.attributes.code);
|
|
367
|
+
}
|
|
368
|
+
});
|
|
369
|
+
}
|
|
370
|
+
el += (index !== 0 ? "\n" : "") + text;
|
|
371
|
+
index++;
|
|
372
|
+
});
|
|
373
|
+
const field = this.isAppMode ? "SYSTEM_PROMPT" : "CONTENT";
|
|
374
|
+
this.$emit("change", { ...this.formData, [field]: el });
|
|
375
|
+
} else {
|
|
376
|
+
const field = this.isAppMode ? "SYSTEM_PROMPT" : "CONTENT";
|
|
377
|
+
this.$emit("change", { ...this.formData, [field]: "" });
|
|
378
|
+
}
|
|
379
|
+
},
|
|
380
|
+
saveContent() {
|
|
381
|
+
this.setContent();
|
|
382
|
+
const field = this.isAppMode ? "SYSTEM_PROMPT" : "CONTENT";
|
|
383
|
+
const value = this.editor ? this.editor.getValue() : "";
|
|
384
|
+
this.saving = true;
|
|
385
|
+
this.$http.save({
|
|
386
|
+
action: "update",
|
|
387
|
+
entityId: this.$metaId,
|
|
388
|
+
bean: {
|
|
389
|
+
ID: this.formData.ID,
|
|
390
|
+
[field]: value
|
|
391
|
+
}
|
|
392
|
+
}).then(() => {
|
|
393
|
+
this.$message.success("保存成功");
|
|
394
|
+
this.isDetailMode = true;
|
|
395
|
+
}).catch((err) => {
|
|
396
|
+
this.$message.error(err.message);
|
|
397
|
+
}).finally(() => {
|
|
398
|
+
this.saving = false;
|
|
399
|
+
});
|
|
400
|
+
}
|
|
401
|
+
},
|
|
402
|
+
mounted() {
|
|
403
|
+
console.log(this.componentType === "DETAIL");
|
|
404
|
+
this.isDetailMode = this.componentType === "DETAIL";
|
|
405
|
+
this.getFunctionLibary();
|
|
406
|
+
this.getParamList();
|
|
407
|
+
this.getTemplateList();
|
|
408
|
+
}
|
|
409
|
+
};
|
|
410
|
+
const _hoisted_1 = { class: "epx-add-form-item__header" };
|
|
411
|
+
const _hoisted_2 = { class: "epx-add-form-item__title-operate fr" };
|
|
412
|
+
const _hoisted_3 = { class: "ai-prompt-designer__editor" };
|
|
413
|
+
const _hoisted_4 = { class: "ai-prompt-designer__variable-header" };
|
|
414
|
+
const _hoisted_5 = { class: "ai-prompt-designer__variable-list" };
|
|
415
|
+
const _hoisted_6 = ["onClick"];
|
|
416
|
+
const _hoisted_7 = ["title"];
|
|
417
|
+
const _hoisted_8 = { class: "ai-prompt-designer__variable-header" };
|
|
418
|
+
const _hoisted_9 = { class: "ai-prompt-designer__variable-list" };
|
|
419
|
+
const _hoisted_10 = ["onClick"];
|
|
420
|
+
const _hoisted_11 = ["title"];
|
|
421
|
+
const _hoisted_12 = { class: "ai-prompt-designer__variable-header" };
|
|
422
|
+
const _hoisted_13 = { class: "ai-prompt-designer__variable-list" };
|
|
423
|
+
const _hoisted_14 = ["onClick"];
|
|
424
|
+
const _hoisted_15 = { class: "fr ai-prompt-designer__variable-operate" };
|
|
425
|
+
const _hoisted_16 = ["onClick"];
|
|
426
|
+
const _hoisted_17 = { class: "ai-prompt-designer__variable-header" };
|
|
427
|
+
const _hoisted_18 = { class: "ai-prompt-designer__variable-list" };
|
|
428
|
+
const _hoisted_19 = { class: "ai-prompt-designer__variable-item" };
|
|
429
|
+
const _hoisted_20 = ["onClick"];
|
|
430
|
+
const _hoisted_21 = { class: "ai-prompt-designer__editor-input" };
|
|
431
|
+
const _hoisted_22 = {
|
|
432
|
+
ref: "textarea",
|
|
433
|
+
name: "",
|
|
434
|
+
id: "",
|
|
435
|
+
cols: "30",
|
|
436
|
+
rows: "3"
|
|
437
|
+
};
|
|
438
|
+
const _hoisted_23 = {
|
|
439
|
+
key: 0,
|
|
440
|
+
class: "epx-add-form-item__buttongroup"
|
|
441
|
+
};
|
|
442
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
443
|
+
const _component_el_button = resolveComponent("el-button");
|
|
444
|
+
const _component_el_popconfirm = resolveComponent("el-popconfirm");
|
|
445
|
+
const _component_el_tab_pane = resolveComponent("el-tab-pane");
|
|
446
|
+
const _component_el_tabs = resolveComponent("el-tabs");
|
|
447
|
+
const _component_epx_base_ai_prompt_view = resolveComponent("epx-base-ai-prompt-view");
|
|
448
|
+
const _component_el_dialog = resolveComponent("el-dialog");
|
|
449
|
+
return openBlock(), createElementBlock("div", null, [
|
|
450
|
+
createElementVNode("div", _hoisted_1, [
|
|
451
|
+
_cache[11] || (_cache[11] = createElementVNode("span", { class: "epx-add-form-item__title" }, "提示词", -1)),
|
|
452
|
+
createElementVNode("span", _hoisted_2, [
|
|
453
|
+
$data.isDetailMode ? (openBlock(), createBlock(_component_el_button, {
|
|
454
|
+
key: 0,
|
|
455
|
+
type: "primary",
|
|
456
|
+
link: "",
|
|
457
|
+
size: "default",
|
|
458
|
+
onClick: _cache[0] || (_cache[0] = ($event) => {
|
|
459
|
+
$data.isDetailMode = false;
|
|
460
|
+
$data.isEdit = true;
|
|
461
|
+
})
|
|
462
|
+
}, {
|
|
463
|
+
default: withCtx(() => [..._cache[10] || (_cache[10] = [
|
|
464
|
+
createElementVNode("i", { class: "el-icon-edit" }, null, -1),
|
|
465
|
+
createTextVNode(" 编辑 ", -1)
|
|
466
|
+
])]),
|
|
467
|
+
_: 1
|
|
468
|
+
})) : createCommentVNode("", true),
|
|
469
|
+
createElementVNode("i", {
|
|
470
|
+
class: normalizeClass(["epx-add-form-item__title-foldicon", "el-icon-caret-top", { "is-fold": $data.isFold }]),
|
|
471
|
+
onClick: _cache[1] || (_cache[1] = ($event) => $data.isFold = !$data.isFold)
|
|
472
|
+
}, null, 2)
|
|
473
|
+
])
|
|
474
|
+
]),
|
|
475
|
+
withDirectives(createElementVNode("div", _hoisted_3, [
|
|
476
|
+
!$data.isDetailMode ? (openBlock(), createBlock(_component_el_tabs, {
|
|
477
|
+
key: 0,
|
|
478
|
+
class: "ai-prompt-designer__editor-slider",
|
|
479
|
+
type: "border-card",
|
|
480
|
+
modelValue: $data.activeTab,
|
|
481
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => $data.activeTab = $event)
|
|
482
|
+
}, {
|
|
483
|
+
default: withCtx(() => [
|
|
484
|
+
createVNode(_component_el_tab_pane, {
|
|
485
|
+
label: "基础",
|
|
486
|
+
name: "base"
|
|
487
|
+
}, {
|
|
488
|
+
default: withCtx(() => [
|
|
489
|
+
createElementVNode("div", {
|
|
490
|
+
class: normalizeClass(["ai-prompt-designer__variable", { "is-fold": $data.foldMap.func }])
|
|
491
|
+
}, [
|
|
492
|
+
createElementVNode("div", _hoisted_4, [
|
|
493
|
+
createElementVNode("i", {
|
|
494
|
+
class: "el-icon-caret-bottom",
|
|
495
|
+
onClick: _cache[2] || (_cache[2] = ($event) => $data.foldMap["func"] = !$data.foldMap.func)
|
|
496
|
+
}),
|
|
497
|
+
_cache[12] || (_cache[12] = createElementVNode("span", null, "常用函数", -1))
|
|
498
|
+
]),
|
|
499
|
+
createElementVNode("ul", _hoisted_5, [
|
|
500
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($data.functionList, (item) => {
|
|
501
|
+
return openBlock(), createElementBlock("li", {
|
|
502
|
+
class: "ai-prompt-designer__variable-item",
|
|
503
|
+
key: item.ID,
|
|
504
|
+
onClick: ($event) => $options.addFunction(item)
|
|
505
|
+
}, [
|
|
506
|
+
createElementVNode("span", {
|
|
507
|
+
title: item.NOTE
|
|
508
|
+
}, toDisplayString(item.NAME), 9, _hoisted_7)
|
|
509
|
+
], 8, _hoisted_6);
|
|
510
|
+
}), 128))
|
|
511
|
+
])
|
|
512
|
+
], 2),
|
|
513
|
+
createElementVNode("div", {
|
|
514
|
+
class: normalizeClass(["ai-prompt-designer__variable", { "is-fold": $data.foldMap.static }])
|
|
515
|
+
}, [
|
|
516
|
+
createElementVNode("div", _hoisted_8, [
|
|
517
|
+
createElementVNode("i", {
|
|
518
|
+
class: "el-icon-caret-bottom",
|
|
519
|
+
onClick: _cache[3] || (_cache[3] = ($event) => $data.foldMap["static"] = !$data.foldMap.static)
|
|
520
|
+
}),
|
|
521
|
+
_cache[13] || (_cache[13] = createElementVNode("span", null, "内置变量", -1))
|
|
522
|
+
]),
|
|
523
|
+
createElementVNode("ul", _hoisted_9, [
|
|
524
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($data.staticVariableList, (item) => {
|
|
525
|
+
return openBlock(), createElementBlock("li", {
|
|
526
|
+
class: "ai-prompt-designer__variable-item",
|
|
527
|
+
key: item.ID,
|
|
528
|
+
onClick: ($event) => $options.addVariable(item)
|
|
529
|
+
}, [
|
|
530
|
+
createElementVNode("span", {
|
|
531
|
+
title: item.NOTE
|
|
532
|
+
}, toDisplayString(item.NAME), 9, _hoisted_11)
|
|
533
|
+
], 8, _hoisted_10);
|
|
534
|
+
}), 128))
|
|
535
|
+
])
|
|
536
|
+
], 2),
|
|
537
|
+
!$options.isAppMode ? (openBlock(), createElementBlock("div", {
|
|
538
|
+
key: 0,
|
|
539
|
+
class: normalizeClass(["ai-prompt-designer__variable", { "is-fold": $data.foldMap.params }])
|
|
540
|
+
}, [
|
|
541
|
+
createElementVNode("div", _hoisted_12, [
|
|
542
|
+
createElementVNode("i", {
|
|
543
|
+
class: "el-icon-caret-bottom",
|
|
544
|
+
onClick: _cache[4] || (_cache[4] = ($event) => $data.foldMap["params"] = !$data.foldMap.params)
|
|
545
|
+
}),
|
|
546
|
+
_cache[15] || (_cache[15] = createElementVNode("span", null, "动态参数", -1)),
|
|
547
|
+
createVNode(_component_el_button, {
|
|
548
|
+
class: "fr",
|
|
549
|
+
type: "primary",
|
|
550
|
+
link: "",
|
|
551
|
+
onClick: $options.addParams
|
|
552
|
+
}, {
|
|
553
|
+
default: withCtx(() => [..._cache[14] || (_cache[14] = [
|
|
554
|
+
createElementVNode("i", { class: "el-icon-plus" }, null, -1),
|
|
555
|
+
createTextVNode("添加", -1)
|
|
556
|
+
])]),
|
|
557
|
+
_: 1
|
|
558
|
+
}, 8, ["onClick"])
|
|
559
|
+
]),
|
|
560
|
+
createElementVNode("ul", _hoisted_13, [
|
|
561
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($data.paramList, (param) => {
|
|
562
|
+
return openBlock(), createElementBlock("li", {
|
|
563
|
+
class: "ai-prompt-designer__variable-item",
|
|
564
|
+
key: param.ID,
|
|
565
|
+
onClick: ($event) => $options.addParamToDesigner(param)
|
|
566
|
+
}, [
|
|
567
|
+
createElementVNode("span", null, toDisplayString(param.NAME) + "/" + toDisplayString(param.KEY), 1),
|
|
568
|
+
createElementVNode("span", _hoisted_15, [
|
|
569
|
+
createElementVNode("i", {
|
|
570
|
+
class: "epx-icon-ai61",
|
|
571
|
+
onClick: withModifiers(($event) => $options.editParams(param), ["stop"])
|
|
572
|
+
}, null, 8, _hoisted_16),
|
|
573
|
+
createVNode(_component_el_popconfirm, {
|
|
574
|
+
title: "确认删除该参数?",
|
|
575
|
+
onConfirm: ($event) => $options.deleteParams(param)
|
|
576
|
+
}, {
|
|
577
|
+
reference: withCtx(() => [..._cache[16] || (_cache[16] = [
|
|
578
|
+
createElementVNode("i", { class: "el-icon-delete-solid" }, null, -1)
|
|
579
|
+
])]),
|
|
580
|
+
_: 1
|
|
581
|
+
}, 8, ["onConfirm"])
|
|
582
|
+
])
|
|
583
|
+
], 8, _hoisted_14);
|
|
584
|
+
}), 128))
|
|
585
|
+
])
|
|
586
|
+
], 2)) : createCommentVNode("", true)
|
|
587
|
+
]),
|
|
588
|
+
_: 1
|
|
589
|
+
}),
|
|
590
|
+
createVNode(_component_el_tab_pane, {
|
|
591
|
+
label: "模板",
|
|
592
|
+
name: "template"
|
|
593
|
+
}, {
|
|
594
|
+
default: withCtx(() => [
|
|
595
|
+
createElementVNode("div", {
|
|
596
|
+
class: normalizeClass(["ai-prompt-designer__variable", { "is-fold": $data.foldMap.template }])
|
|
597
|
+
}, [
|
|
598
|
+
createElementVNode("div", _hoisted_17, [
|
|
599
|
+
createElementVNode("i", {
|
|
600
|
+
class: "el-icon-caret-bottom",
|
|
601
|
+
onClick: _cache[5] || (_cache[5] = ($event) => $data.foldMap["template"] = !$data.foldMap.template)
|
|
602
|
+
}),
|
|
603
|
+
_cache[17] || (_cache[17] = createElementVNode("span", null, "引用模板", -1))
|
|
604
|
+
]),
|
|
605
|
+
createElementVNode("ul", _hoisted_18, [
|
|
606
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($data.templateList, (item) => {
|
|
607
|
+
return openBlock(), createBlock(_component_el_popconfirm, {
|
|
608
|
+
key: item.ID,
|
|
609
|
+
title: "确认引用该模板",
|
|
610
|
+
onConfirm: ($event) => $options.refTemplate(item)
|
|
611
|
+
}, {
|
|
612
|
+
reference: withCtx(() => [
|
|
613
|
+
createElementVNode("li", _hoisted_19, [
|
|
614
|
+
createElementVNode("span", null, toDisplayString(item.TITLE), 1),
|
|
615
|
+
createElementVNode("span", {
|
|
616
|
+
onClick: _cache[6] || (_cache[6] = withModifiers(() => {
|
|
617
|
+
}, ["stop"])),
|
|
618
|
+
class: "fr ai-prompt-designer__variable-operate"
|
|
619
|
+
}, [
|
|
620
|
+
createElementVNode("i", {
|
|
621
|
+
class: "el-icon-view",
|
|
622
|
+
onClick: ($event) => {
|
|
623
|
+
$data.previewTemplate = item;
|
|
624
|
+
$data.showTemplateDialog = true;
|
|
625
|
+
}
|
|
626
|
+
}, null, 8, _hoisted_20)
|
|
627
|
+
])
|
|
628
|
+
])
|
|
629
|
+
]),
|
|
630
|
+
_: 2
|
|
631
|
+
}, 1032, ["onConfirm"]);
|
|
632
|
+
}), 128))
|
|
633
|
+
])
|
|
634
|
+
], 2)
|
|
635
|
+
]),
|
|
636
|
+
_: 1
|
|
637
|
+
})
|
|
638
|
+
]),
|
|
639
|
+
_: 1
|
|
640
|
+
}, 8, ["modelValue"])) : createCommentVNode("", true),
|
|
641
|
+
createElementVNode("div", _hoisted_21, [
|
|
642
|
+
createElementVNode("textarea", _hoisted_22, null, 512)
|
|
643
|
+
])
|
|
644
|
+
], 512), [
|
|
645
|
+
[vShow, !$data.isFold]
|
|
646
|
+
]),
|
|
647
|
+
$data.isEdit && !$data.isFold ? (openBlock(), createElementBlock("div", _hoisted_23, [
|
|
648
|
+
createVNode(_component_el_button, {
|
|
649
|
+
type: "primary",
|
|
650
|
+
size: "default",
|
|
651
|
+
loading: $data.saving,
|
|
652
|
+
onClick: $options.saveContent
|
|
653
|
+
}, {
|
|
654
|
+
default: withCtx(() => [..._cache[18] || (_cache[18] = [
|
|
655
|
+
createTextVNode("保存", -1)
|
|
656
|
+
])]),
|
|
657
|
+
_: 1
|
|
658
|
+
}, 8, ["loading", "onClick"]),
|
|
659
|
+
createVNode(_component_el_button, {
|
|
660
|
+
size: "default",
|
|
661
|
+
onClick: _cache[8] || (_cache[8] = ($event) => $data.isDetailMode = true)
|
|
662
|
+
}, {
|
|
663
|
+
default: withCtx(() => [..._cache[19] || (_cache[19] = [
|
|
664
|
+
createTextVNode("取消", -1)
|
|
665
|
+
])]),
|
|
666
|
+
_: 1
|
|
667
|
+
})
|
|
668
|
+
])) : createCommentVNode("", true),
|
|
669
|
+
createVNode(_component_el_dialog, {
|
|
670
|
+
title: "模板预览",
|
|
671
|
+
modelValue: $data.showTemplateDialog,
|
|
672
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => $data.showTemplateDialog = $event)
|
|
673
|
+
}, {
|
|
674
|
+
default: withCtx(() => [
|
|
675
|
+
createVNode(_component_epx_base_ai_prompt_view, { formData: $data.previewTemplate }, null, 8, ["formData"])
|
|
676
|
+
]),
|
|
677
|
+
_: 1
|
|
678
|
+
}, 8, ["modelValue"])
|
|
679
|
+
]);
|
|
680
|
+
}
|
|
681
|
+
const AiPromptDesigner = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-859c9847"]]);
|
|
682
|
+
export {
|
|
683
|
+
AiPromptDesigner as default
|
|
684
|
+
};
|