@epxing/business 5.3.0-beta.1 → 5.3.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/API.md +11 -6
- package/README.md +44 -43
- package/dist/src/base/AiPromptDesigner.js +1 -0
- package/dist/src/base/AiPromptView.js +1 -0
- package/dist/src/base/AiSkillEditor.js +2 -1
- package/dist/src/base/AiSkillEditor.vue.js +2 -0
- package/dist/src/base/AppConfigFormItem.js +2 -3
- package/dist/src/base/AppConfigFormItem.vue.js +210 -85
- package/dist/src/base/AppMarket.js +1 -0
- package/dist/src/base/AppMarketList.js +1 -0
- package/dist/src/base/AppMarketSystemDetail.js +1 -0
- package/dist/src/base/AttributeSubAdd.js +1 -0
- package/dist/src/base/ChooseApplication.js +1 -0
- package/dist/src/base/ClientAppItem.js +1 -0
- package/dist/src/base/ClientApplication.js +1 -0
- package/dist/src/base/ClientApplicationList.js +1 -0
- package/dist/src/base/ClientModule.js +1 -0
- package/dist/src/base/ClientModuleIndex.js +1 -0
- package/dist/src/base/ClientSystemDetail.js +1 -0
- package/dist/src/base/ClientSystemList.js +1 -0
- package/dist/src/base/CommonFieldList.js +2 -1
- package/dist/src/base/CommonFieldList.vue.js +2 -1
- package/dist/src/base/CommonSearchList.js +1 -0
- package/dist/src/base/CompayDetail.js +1 -0
- package/dist/src/base/ComponentGlobalSet.js +1 -0
- package/dist/src/base/ComponentParamsTree.js +1 -0
- package/dist/src/base/ConfigModuleIndex.js +39 -1
- package/dist/src/base/CurrentClientApplication.js +1 -0
- package/dist/src/base/CurrentVersionInfo.js +1 -0
- package/dist/src/base/EntityMatchCompare.js +1 -0
- package/dist/src/base/FieldRelationFormItem.js +1 -0
- package/dist/src/base/HelpDocSet.js +1 -0
- package/dist/src/base/IndexFormItem.js +1 -0
- package/dist/src/base/JobFormItem.js +1 -0
- package/dist/src/base/ManageAppNav.js +2 -1
- package/dist/src/base/ManageMenu.js +2 -1
- package/dist/src/base/ManageMenuItem.js +1 -0
- package/dist/src/base/NoInstallSystemList.js +1 -0
- package/dist/src/base/PageList.js +1 -0
- package/dist/src/base/PasswordFormItem.js +1 -0
- package/dist/src/base/ProcessFormItem.js +1 -0
- package/dist/src/base/PublishSystemApplyFormItem.js +1 -0
- package/dist/src/base/RequestLog.js +1 -0
- package/dist/src/base/RightRiskList.js +1 -0
- package/dist/src/base/RoleAccredit.js +1 -0
- package/dist/src/base/RoleBindTrace.js +253 -0
- package/dist/src/base/RoleGroupManage.js +1037 -0
- package/dist/src/base/RoleRightList.js +1 -0
- package/dist/src/base/RoleUserManage.js +1 -0
- package/dist/src/base/ServiceAccredit.js +1 -0
- package/dist/src/base/ServiceMenu.js +8 -6
- package/dist/src/base/ServiceMenuFormItem.js +1 -0
- package/dist/src/base/ServiceOperate.js +1 -0
- package/dist/src/base/SystemHelpTreeFind.js +1 -0
- package/dist/src/base/aiPromptMode.js +1 -0
- package/dist/src/base/data-check/DataChckDetail.js +1 -0
- package/dist/src/base/data-check/DataCheck.js +1 -0
- package/dist/src/base/data-check/DataCheckList.js +1 -0
- package/dist/src/base/data-check/DataCheckSubList.js +1 -0
- package/dist/src/base/entity-view/EntityViewFormItem.js +1 -0
- package/dist/src/base/entity-view/EntityViewSubList.js +1 -0
- package/dist/src/base/entity-view-config/BasicInfoDialog.js +1 -0
- package/dist/src/base/entity-view-config/FieldPanel.js +1 -0
- package/dist/src/base/entity-view-config/FieldPropForm.js +1 -0
- package/dist/src/base/entity-view-config/FormulaDialog.js +1 -0
- package/dist/src/base/entity-view-config/ObjectFieldDialog.js +1 -0
- package/dist/src/base/entity-view-config/RelationPanel.js +1 -0
- package/dist/src/base/entity-view-config/SourceManagerDialog.js +1 -0
- package/dist/src/base/entity-view-config/SqlPanel.js +1 -0
- package/dist/src/base/entity-view-config/UnionPanel.js +1 -0
- package/dist/src/base/entity-view-config/ViewConfig.js +1 -0
- package/dist/src/base/entity-view-config/constants.js +1 -0
- package/dist/src/base/user-type/UserTypeFormItem.js +1 -0
- package/dist/src/components/AddPageFormItem.js +1 -0
- package/dist/src/components/AddUsedInterface.js +1 -0
- package/dist/src/components/AiDocFormItem.js +1 -0
- package/dist/src/components/AiList.js +1279 -3
- package/dist/src/components/AiPermissionAssistant.js +1 -0
- package/dist/src/components/AppList.js +1 -0
- package/dist/src/components/Apply/AIApplyIndex.js +1 -0
- package/dist/src/components/Apply/ApplyIndex.js +1 -0
- package/dist/src/components/AttributeList.js +1 -0
- package/dist/src/components/Banner.js +1 -0
- package/dist/src/components/BatchAddFieldDialog.js +1 -0
- package/dist/src/components/CardO.js +1 -0
- package/dist/src/components/CheckForm.js +1 -0
- package/dist/src/components/ClientAdminFormItem.js +1 -0
- package/dist/src/components/ClientAdminList.js +1 -0
- package/dist/src/components/ClientFormItem.js +1 -0
- package/dist/src/components/ClientList.js +1 -0
- package/dist/src/components/CodeDetail.js +1 -0
- package/dist/src/components/CodeManage.js +1 -0
- package/dist/src/components/ComponentFind.js +1 -0
- package/dist/src/components/ComponentList.js +1 -0
- package/dist/src/components/ConfigParamFormItem.js +1 -0
- package/dist/src/components/CreatePage.js +1 -0
- package/dist/src/components/DashboardCreate.js +1 -0
- package/dist/src/components/DataLog.js +1 -0
- package/dist/src/components/DataLogTimeline.js +1 -0
- package/dist/src/components/DataSnapshot.js +1 -0
- package/dist/src/components/DataSnapshotList.js +1 -0
- package/dist/src/components/DataSyncInit.js +1 -0
- package/dist/src/components/DblogList.js +1 -0
- package/dist/src/components/DeptFind.js +1 -0
- package/dist/src/components/DynamicUserList.js +1 -0
- package/dist/src/components/EntityCheckboxFind.js +1 -0
- package/dist/src/components/EntityCheckboxFind.vue.js +14 -10
- package/dist/src/components/EntityRelationAdd.js +1 -0
- package/dist/src/components/EntityRelationAddFormItem.js +1 -0
- package/dist/src/components/EntityRightFormItem.js +2 -5
- package/dist/src/components/EntityRightFormItem.vue.js +3 -1
- package/dist/src/components/EntityRightSubList.js +1 -0
- package/dist/src/components/EntitySystemEr.js +492 -0
- package/dist/src/components/EntityTagSubList.js +1 -0
- package/dist/src/components/EntityTreeManage.js +1 -0
- package/dist/src/components/ExportSystemConfig.js +1 -0
- package/dist/src/components/FieldTreeFind.js +1 -0
- package/dist/src/components/FormulaEditor.js +1 -0
- package/dist/src/components/GenTestData.js +1 -0
- package/dist/src/components/HallNav.js +1 -0
- package/dist/src/components/HallNav.vue.js +7 -36
- package/dist/src/components/HeaderNav.js +1 -0
- package/dist/src/components/IconCard.js +1 -0
- package/dist/src/components/IconFontLibrary.js +23 -1
- package/dist/src/components/IconFontList.js +22 -1
- package/dist/src/components/IdentifyList.js +1 -0
- package/dist/src/components/ImportSystemConfig.js +1 -0
- package/dist/src/components/InterfaceSubList.js +1 -0
- package/dist/src/components/JsPanel.js +1 -0
- package/dist/src/components/LanguageImportPage.js +1 -0
- package/dist/src/components/LanguageSetting.js +1 -0
- package/dist/src/components/List/LinkItem.js +1 -0
- package/dist/src/components/List/List.js +1 -0
- package/dist/src/components/List/ListItem.js +1 -0
- package/dist/src/components/MenuTreeFind.js +1 -0
- package/dist/src/components/MessageList.js +1 -0
- package/dist/src/components/MessageRuleFormItem.js +1 -0
- package/dist/src/components/MessageRuleReceiverFormItem.js +1 -0
- package/dist/src/components/MessageTemplate.js +1 -0
- package/dist/src/components/MetaList.js +1 -0
- package/dist/src/components/Nav.js +1 -0
- package/dist/src/components/NavFormCatalogItem.js +1 -0
- package/dist/src/components/NumList.js +1 -0
- package/dist/src/components/OperateLog.js +1 -0
- package/dist/src/components/PageCatalog.js +1 -0
- package/dist/src/components/PageChart.js +1 -0
- package/dist/src/components/PageSwipes.js +1 -0
- package/dist/src/components/PersonFormItem.js +1 -0
- package/dist/src/components/Popup.js +1 -0
- package/dist/src/components/PrintFormList.js +3 -1
- package/dist/src/components/PrintFormList.vue.js +3 -1
- package/dist/src/components/PublishEntity.js +1 -0
- package/dist/src/components/RelyFieldTreeFind.js +1 -0
- package/dist/src/components/ReportFormList.js +1 -0
- package/dist/src/components/ReportList.js +1 -0
- package/dist/src/components/RightSubList.js +1 -0
- package/dist/src/components/RoleAddUser.js +1 -0
- package/dist/src/components/RoleApplicationCard.js +1 -0
- package/dist/src/components/RoleApplicationList.js +1 -0
- package/dist/src/components/RoleApplicationSet.js +1 -0
- package/dist/src/components/Search.js +1 -0
- package/dist/src/components/ServiceFormItem.js +1 -0
- package/dist/src/components/SnapshotDataList.js +1 -0
- package/dist/src/components/SystemAdminList.js +1 -0
- package/dist/src/components/SystemFormItem.js +1 -0
- package/dist/src/components/SystemNav.js +1 -0
- package/dist/src/components/TaskNumCard.js +1 -0
- package/dist/src/components/TimerRuleFormItem.js +1 -0
- package/dist/src/components/TodoList.js +1 -0
- package/dist/src/components/UpdateSystemConfig.js +1 -0
- package/dist/src/components/UserCard.js +1 -0
- package/dist/src/components/UserFind.js +1 -0
- package/dist/src/components/UserFormItem.js +1 -0
- package/dist/src/components/UserList.js +1 -0
- package/dist/src/components/UserManage.js +1 -0
- package/dist/src/components/UserRoleList.js +1 -0
- package/dist/src/components/ValidateRuleFormItem.js +1 -0
- package/dist/src/components/ViewFieldDefine.js +1 -0
- package/dist/src/components/WikiSpaceList.js +1 -0
- package/dist/src/components/WikiWorkbench.js +154 -129
- package/dist/src/components/authorization/AddApiPermiss.js +1 -0
- package/dist/src/components/authorization/AddAuthorization.js +1 -0
- package/dist/src/components/authorization/AddEntityFind.js +1 -0
- package/dist/src/components/authorization/AddNoApi.js +1 -0
- package/dist/src/components/authorization/AddRoleScope.js +1 -0
- package/dist/src/components/authorization/AiRolePlan.js +1 -0
- package/dist/src/components/authorization/ApiShareOtherList.js +1 -0
- package/dist/src/components/authorization/ApiSystemList.js +1 -0
- package/dist/src/components/authorization/AuthorizationInterface.js +4 -1
- package/dist/src/components/authorization/AuthorizationRoleSystem.js +1 -0
- package/dist/src/components/authorization/EntityConstraintFormItem.js +1 -0
- package/dist/src/components/authorization/OtherShareApiList.js +1 -0
- package/dist/src/components/authorization/PermissCommonRoleTabs.js +1 -0
- package/dist/src/components/authorization/PermissRoleAuthorization.js +1 -0
- package/dist/src/components/authorization/PermissRoleTabs.js +1 -0
- package/dist/src/components/authorization/RoleLevel.js +1 -0
- package/dist/src/components/authorization/RoleLevelScope.js +1 -0
- package/dist/src/components/authorization/SystemAddNoApi.js +1 -0
- package/dist/src/components/card/CardList.js +1 -0
- package/dist/src/components/card/CardListItem.js +1 -0
- package/dist/src/components/card/Title.js +1 -0
- package/dist/src/components/custom-bpmn/CustomContextPad.js +1 -0
- package/dist/src/components/custom-bpmn/CustomPalette.js +1 -0
- package/dist/src/components/custom-bpmn/CustomRenderer.js +1 -0
- package/dist/src/components/custom-bpmn/CustomRendererBpmn.js +1 -0
- package/dist/src/components/custom-bpmn/PropertiesView.js +1992 -1942
- package/dist/src/components/custom-bpmn/components/AiModel.js +1 -0
- package/dist/src/components/custom-bpmn/components/Api.js +1 -0
- package/dist/src/components/custom-bpmn/components/BatchOperation.js +1 -0
- package/dist/src/components/custom-bpmn/components/Copy.js +1 -0
- package/dist/src/components/custom-bpmn/components/DataTransform.js +1 -0
- package/dist/src/components/custom-bpmn/components/Demo.js +1 -0
- package/dist/src/components/custom-bpmn/components/EditDiv.js +1 -0
- package/dist/src/components/custom-bpmn/components/GenScope.js +1 -0
- package/dist/src/components/custom-bpmn/components/GlobalParamsTree.js +1 -0
- package/dist/src/components/custom-bpmn/components/Knowledges.js +1 -0
- package/dist/src/components/custom-bpmn/components/Login.js +1 -0
- package/dist/src/components/custom-bpmn/components/MessageQueue.js +1 -0
- package/dist/src/components/custom-bpmn/components/MetaSelect.js +1 -0
- package/dist/src/components/custom-bpmn/components/NumStatistic.js +1 -0
- package/dist/src/components/custom-bpmn/components/ObjectTransform.js +1 -0
- package/dist/src/components/custom-bpmn/components/OutPut.js +1 -0
- package/dist/src/components/custom-bpmn/components/ParamsMachining.js +1 -0
- package/dist/src/components/custom-bpmn/components/ParamsOutput.js +1 -0
- package/dist/src/components/custom-bpmn/components/ProcessAudit.js +1 -0
- package/dist/src/components/custom-bpmn/components/SingleMultipleFind.js +1 -0
- package/dist/src/components/custom-bpmn/components/TestDialog.js +1 -0
- package/dist/src/components/custom-bpmn/index.js +1 -0
- package/dist/src/components/custom-bpmn/palette.js +1 -0
- package/dist/src/components/custom-bpmn/util.js +1 -0
- package/dist/src/components/dashboard-create.js +1 -0
- package/dist/src/components/entity-relation-diagram/Er.js +1 -0
- package/dist/src/components/entity-relation-diagram/renderErNode.js +1 -0
- package/dist/src/components/expand/AddForm.js +1 -0
- package/dist/src/components/expand/AddFormItem.js +1 -0
- package/dist/src/components/filter/Filter.js +1 -0
- package/dist/src/components/filter/FilterItem.js +1 -0
- package/dist/src/components/hall/AppCollect.js +1 -0
- package/dist/src/components/hall/AppList.js +1 -0
- package/dist/src/components/hall/AppVisitRecord.js +1 -0
- package/dist/src/components/hall/Banner.js +1 -0
- package/dist/src/components/hall/ServiceCard.js +1 -0
- package/dist/src/components/hall/UserCard.js +1 -0
- package/dist/src/components/icon-gallery/IconGallery.js +193 -0
- package/dist/src/components/icon-gallery/mixin.js +150 -0
- package/dist/src/components/permiss/AddApi.js +1 -0
- package/dist/src/components/permiss/AddNoEntityApi.js +1 -0
- package/dist/src/components/permiss/AddSystemPermiss.js +1 -0
- package/dist/src/components/permiss/AllocateRole.js +1 -0
- package/dist/src/components/permiss/ApiSubList.js +1 -0
- package/dist/src/components/permiss/CommonRoleMenu.js +1 -0
- package/dist/src/components/permiss/FieldScope.js +1 -0
- package/dist/src/components/permiss/PermissManage.js +1 -0
- package/dist/src/components/permiss/RoleAppList.js +1 -0
- package/dist/src/components/permiss/RoleMenu.js +1 -0
- package/dist/src/components/permiss/RoleSubList.js +1 -0
- package/dist/src/components/permiss/jurisdiction.js +1 -0
- package/dist/src/components/process-healthcheck/HealthcheckChart.js +1 -0
- package/dist/src/components/process-healthcheck/HealthcheckRenderer.js +1 -0
- package/dist/src/components/process-healthcheck/index.js +1 -0
- package/dist/src/components/report/Config.js +1 -0
- package/dist/src/components/report/Design.js +1 -0
- package/dist/src/components/report/StatList.js +1 -0
- package/dist/src/components/right/EntityOtherSystemList.js +1 -0
- package/dist/src/components/right/SystemInterfaceList.js +1 -0
- package/dist/src/components/right/SystemList.js +1 -0
- package/dist/src/components/upLoad.js +1 -0
- package/dist/src/components/viewport/LookViewList.js +1 -0
- package/dist/src/components/viewport/ViewAddForm.js +1 -0
- package/dist/src/components/viewport/ViewDefineList.js +1 -0
- package/dist/src/components/viewport/ViewFiedList.js +1 -0
- package/dist/src/components/viewport/ViewScope.js +1 -0
- package/dist/src/components/wiki-workbench/WikiCites.js +1 -0
- package/dist/src/components/wiki-workbench/WikiIntake.js +87 -93
- package/dist/src/components/wiki-workbench/WikiIntake.vue.js +153 -73
- package/dist/src/components/wiki-workbench/WikiJobs.js +1 -0
- package/dist/src/components/wiki-workbench/WikiRevisions.js +1 -0
- package/dist/src/components/wiki-workbench/WikiSpaceSettings.js +1 -0
- package/dist/src/components/wiki-workbench/codes.js +1 -0
- package/dist/src/components/wiki-workbench/index.js +1 -0
- package/dist/src/index.js +27 -20
- package/dist/src/popup.js +1 -0
- package/dist/src/public-components.js +17 -14
- package/dist/src/remote.entry.js +1 -0
- package/dist/src/route-components.js +6 -5
- package/dist/src/system.component.index.js +2 -1
- package/dist/src/system.component.js +9 -3
- package/dist/src/system.component.lazy.js +2 -1
- package/dist/src/views/Add.js +2 -1
- package/dist/src/views/Add.vue.js +8 -3
- package/dist/src/views/AiToolManager.js +793 -317
- package/dist/src/views/App.js +4 -45
- package/dist/src/views/AppRoleSelect.js +4 -230
- package/dist/src/views/BatchEdit.js +1 -0
- package/dist/src/views/Bpmn.js +1 -0
- package/dist/src/views/EntityCheckPage.js +1 -0
- package/dist/src/views/EntityDetailPage.js +1 -0
- package/dist/src/views/EntityEditPage.js +1 -0
- package/dist/src/views/EntitySubListPage.js +1 -0
- package/dist/src/views/EntityTreePage.js +1 -0
- package/dist/src/views/Error.js +4 -207
- package/dist/src/views/ExcelDesign.js +327 -316
- package/dist/src/views/ExcelPreviewPage.js +1 -0
- package/dist/src/views/ExportFilePage.js +1 -0
- package/dist/src/views/ExportPage.js +1 -0
- package/dist/src/views/FormDesign.js +1 -0
- package/dist/src/views/I18nWorkbench.js +1 -0
- package/dist/src/views/ImportFilePage.js +1 -0
- package/dist/src/views/ImportPage.js +1 -0
- package/dist/src/views/JvmMemoryMonitor.js +463 -0
- package/dist/src/views/MEntityListPage.js +1 -0
- package/dist/src/views/MEntitySubListPage.js +1 -0
- package/dist/src/views/MinePage.js +1 -0
- package/dist/src/views/Module.js +4 -170
- package/dist/src/views/PageAttributeTreePage.js +1 -0
- package/dist/src/views/PageConfig.js +1 -0
- package/dist/src/views/Permission.js +1 -0
- package/dist/src/views/PersonalInfo.js +1 -0
- package/dist/src/views/QyWechat.js +1 -0
- package/dist/src/views/ReportFormListPage.js +1 -0
- package/dist/src/views/TaskPage.js +1 -0
- package/dist/src/views/WikiBinding.js +89 -25
- package/dist/src/views/client/AddForm.js +1 -0
- package/dist/src/views/client/AppMarket.js +1 -0
- package/dist/src/views/client/ClientIndex.js +1 -0
- package/dist/src/views/client/ClientModuleIndexPage.js +1 -0
- package/dist/src/views/client/CopySystem.js +1 -0
- package/dist/src/views/client/CreateAppFormItem.js +1 -0
- package/dist/src/views/client/CreateMethod.js +1 -0
- package/dist/src/views/client/InstallSystem.js +1 -0
- package/dist/src/views/client/ManageList.js +1 -0
- package/dist/src/views/client/OpenClientManage.js +1 -0
- package/dist/src/views/client/OpenSystemManage.js +1 -0
- package/dist/src/views/client/PageTabsCyclic.js +1 -0
- package/dist/src/views/client/SelfBuiltSystem.js +1 -0
- package/dist/src/views/client/StandardProduct.js +1 -0
- package/dist/src/views/client/SystemAppAccredit.js +1 -0
- package/dist/src/views/client/SystemAppManager.js +1 -0
- package/dist/src/views/client/SystemManager.js +1 -0
- package/dist/src/views/i18n/I18nAiTaskHistoryDialog.js +1 -0
- package/dist/src/views/i18n/I18nPublishDialog.js +1 -0
- package/dist/src/views/i18n/I18nTranslationList.js +1 -0
- package/dist/src/views/i18n/i18n-workbench-text.js +1 -0
- package/dist/src/views/layout/CardList.js +1 -0
- package/dist/src/views/layout/Grid.js +1 -0
- package/dist/src/views/match/AddTargetField.js +1 -0
- package/dist/src/views/match/MatchAddFormItem.js +1 -0
- package/dist/src/views/match/conversion.js +1 -0
- package/dist/src/views/match/customize.js +1 -0
- package/dist/src/views/match/fieldMatch.js +1 -0
- package/dist/src/views/report/AddFormItem.js +1 -0
- package/dist/src/views/report/DesignReport.js +1 -0
- package/dist/src/views/report/ReportTreeFind.js +1 -0
- package/dist/style.css +2867 -1487
- package/package.json +14 -7
- package/src/base/AiSkillEditor.vue +2 -0
- package/src/base/AppConfigFormItem.vue +211 -145
- package/src/base/CommonFieldList.vue +9 -6
- package/src/base/ConfigModuleIndex.vue +37 -1
- package/src/base/ManageAppNav.vue +1188 -1188
- package/src/base/ManageMenu.vue +933 -933
- package/src/base/RoleBindTrace.vue +364 -0
- package/src/base/RoleGroupManage.vue +1160 -0
- package/src/base/ServiceMenu.vue +6 -5
- package/src/components/AiList.vue +439 -113
- package/src/components/EntityCheckboxFind.vue +12 -8
- package/src/components/EntityRightFormItem.vue +9 -10
- package/src/components/EntitySystemEr.vue +517 -0
- package/src/components/HallNav.vue +6 -33
- package/src/components/IconFontLibrary.vue +27 -60
- package/src/components/IconFontList.vue +13 -64
- package/src/components/PrintFormList.vue +33 -27
- package/src/components/WikiWorkbench.vue +90 -60
- package/src/components/authorization/AuthorizationInterface.vue +2 -0
- package/src/components/custom-bpmn/CustomPalette.js +1 -1
- package/src/components/custom-bpmn/CustomRenderer.js +1 -1
- package/src/components/custom-bpmn/PropertiesView.vue +35 -4
- package/src/components/custom-bpmn/index.js +1 -1
- package/src/components/icon-gallery/IconGallery.vue +130 -0
- package/src/components/icon-gallery/mixin.jsx +109 -0
- package/src/components/wiki-workbench/WikiIntake.vue +178 -104
- package/src/index.js +24 -20
- package/src/public-components.js +1 -0
- package/src/route-components.js +4 -4
- package/src/system.component.index.js +1 -1
- package/src/views/Add.vue +8 -5
- package/src/views/AiToolManager.vue +326 -4
- package/src/views/App.vue +4 -53
- package/src/views/AppRoleSelect.vue +4 -334
- package/src/views/Error.vue +4 -63
- package/src/views/ExcelDesign.vue +24 -7
- package/src/views/JvmMemoryMonitor.vue +284 -0
- package/src/views/Module.vue +4 -210
- package/src/views/WikiBinding.vue +42 -0
- package/types/app.d.ts +1 -0
- package/types/dept-find.d.ts +1 -1
- package/types/index.d.ts +15 -14
- package/types/popup.d.ts +2 -2
- package/types/route-components.d.ts +1 -1
- package/types/user-find.d.ts +1 -1
- package/dist/assets/role_select-DTqRlFNz.webp +0 -0
- package/dist/src/components/AiList.vue.js +0 -93
- package/dist/src/components/IconFontLibrary.vue.js +0 -67
- package/dist/src/components/IconFontList.vue.js +0 -79
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../../style.css';
|
|
1
2
|
import { resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, withCtx, Fragment, renderList, createBlock, createCommentVNode, toDisplayString, createTextVNode } from "vue";
|
|
2
3
|
/* empty css */
|
|
3
4
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../../style.css';
|
|
1
2
|
import { resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, Fragment, renderList, toDisplayString, withCtx, createBlock, createCommentVNode } from "vue";
|
|
2
3
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
4
|
const _sfc_main = {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../../style.css';
|
|
1
2
|
import { resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, withCtx, createTextVNode, createCommentVNode, Fragment, renderList, toDisplayString, createBlock } from "vue";
|
|
2
3
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
4
|
const _sfc_main = {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../../style.css';
|
|
1
2
|
import { resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, withCtx, createTextVNode, Fragment, renderList, toDisplayString, createBlock, createCommentVNode } from "vue";
|
|
2
3
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
4
|
const _sfc_main = {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../../style.css';
|
|
1
2
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createTextVNode, toDisplayString, createCommentVNode, normalizeStyle, createBlock, withCtx } from "vue";
|
|
2
3
|
/* empty css */
|
|
3
4
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../../style.css';
|
|
1
2
|
import { resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, withCtx, Fragment, renderList, createBlock } from "vue";
|
|
2
3
|
/* empty css */
|
|
3
4
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../../style.css';
|
|
1
2
|
import { resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, withCtx, createBlock, Fragment, renderList, toDisplayString, createTextVNode } from "vue";
|
|
2
3
|
/* empty css */
|
|
3
4
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../../style.css';
|
|
1
2
|
import { resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, withCtx, createTextVNode, Fragment, createCommentVNode, renderList, toDisplayString } from "vue";
|
|
2
3
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
4
|
const _sfc_main = {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../../style.css';
|
|
1
2
|
import { resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, Fragment, renderList, toDisplayString, withCtx, createBlock, createCommentVNode } from "vue";
|
|
2
3
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
4
|
const _sfc_main = {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../../style.css';
|
|
1
2
|
import { mapGetters } from "vuex";
|
|
2
3
|
import { resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, withCtx, createTextVNode, createCommentVNode, Fragment, renderList, toDisplayString } from "vue";
|
|
3
4
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../../style.css';
|
|
1
2
|
import { mapGetters } from "vuex";
|
|
2
3
|
import { resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, withCtx, createTextVNode, createCommentVNode, Fragment, renderList, toDisplayString, createBlock } from "vue";
|
|
3
4
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../../style.css';
|
|
1
2
|
import { resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, withCtx, Fragment, renderList, createBlock, createCommentVNode, createTextVNode } from "vue";
|
|
2
3
|
/* empty css */
|
|
3
4
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../../style.css';
|
|
1
2
|
import { resolveComponent, openBlock, createElementBlock, createElementVNode, Fragment, renderList, toDisplayString, createBlock, withCtx, createVNode, createCommentVNode, createTextVNode } from "vue";
|
|
2
3
|
/* empty css */
|
|
3
4
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../../style.css';
|
|
1
2
|
import { resolveComponent, openBlock, createElementBlock, createElementVNode, Fragment, renderList, toDisplayString, createVNode, withCtx, createTextVNode } from "vue";
|
|
2
3
|
/* empty css */
|
|
3
4
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../../style.css';
|
|
1
2
|
import { resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, withCtx, createTextVNode, createCommentVNode, Fragment, renderList, toDisplayString, createBlock } from "vue";
|
|
2
3
|
/* empty css */
|
|
3
4
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../../style.css';
|
|
1
2
|
import { mapGetters } from "vuex";
|
|
2
3
|
import { resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, withCtx, createTextVNode, createCommentVNode, Fragment, renderList, toDisplayString, normalizeStyle, createBlock } from "vue";
|
|
3
4
|
/* empty css */
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../../style.css';
|
|
1
2
|
import { resolveComponent, resolveDirective, openBlock, createBlock, withCtx, createElementVNode, createElementBlock, Fragment, renderList, toDisplayString, createVNode, createCommentVNode, normalizeClass, createTextVNode, withDirectives, vShow } from "vue";
|
|
2
3
|
/* empty css */
|
|
3
4
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../style.css';
|
|
1
2
|
const customElements = ["bpmn:Task", "bpmn:UserTask", "bpmn:SendTask", "bpmn:ReceiveTask", "bpmn:ManualTask", "bpmn:BusinessRuleTask", "bpmn:ServiceTask", "bpmn:ScriptTask", "bpmn:CallActivity", "bpmn:SubProcess"];
|
|
2
3
|
const hasLabelElements = ["bpmn:StartEvent", "bpmn:EndEvent"];
|
|
3
4
|
export {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../style.css';
|
|
1
2
|
import { ADD_META } from "@epxing/core/src/store/actions";
|
|
2
3
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createCommentVNode, Fragment, renderList, createBlock, mergeProps, createVNode, withCtx, toDisplayString, withModifiers, renderSlot } from "vue";
|
|
3
4
|
/* empty css */
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../style.css';
|
|
1
2
|
import { mapGetters } from "vuex";
|
|
2
3
|
import { ADD_LIST } from "@epxing/core/src/store/actions";
|
|
3
4
|
import { resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, toDisplayString, createTextVNode, Fragment, renderList, createBlock, normalizeClass, createCommentVNode } from "vue";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../style.css';
|
|
1
2
|
import __cjsReq0 from "../../assets/images/app.png.js";
|
|
2
3
|
import component from "@epxing/core/src/mixins/component";
|
|
3
4
|
import { resolveComponent, openBlock, createElementBlock, normalizeStyle, createVNode, withCtx, createElementVNode, toDisplayString, createCommentVNode, normalizeClass, Fragment, renderList, withModifiers } from "vue";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../style.css';
|
|
1
2
|
import __cjsReq0 from "../../assets/images/app.png.js";
|
|
2
3
|
import component from "@epxing/core/src/mixins/component";
|
|
3
4
|
import { resolveComponent, openBlock, createElementBlock, normalizeStyle, createVNode, withCtx, createElementVNode, toDisplayString, normalizeClass, Fragment, renderList, createCommentVNode } from "vue";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../style.css';
|
|
1
2
|
import component from "@epxing/core/src/mixins/component";
|
|
2
3
|
import { resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, createCommentVNode, Fragment, createVNode, withCtx, createTextVNode } from "vue";
|
|
3
4
|
/* empty css */
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import '../../../style.css';
|
|
2
|
+
import { ensureIcons } from "@epxing/icons/src/runtime.mjs";
|
|
3
|
+
import { resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, normalizeClass, Fragment, renderList, toDisplayString, withCtx, createTextVNode, createCommentVNode, renderSlot } from "vue";
|
|
4
|
+
/* empty css */
|
|
5
|
+
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
6
|
+
const _sfc_main = {
|
|
7
|
+
name: "epx-remix-gallery",
|
|
8
|
+
props: {
|
|
9
|
+
icons: { type: Array, default: () => [] },
|
|
10
|
+
categories: { type: Array, default: () => [] },
|
|
11
|
+
selectedCodes: { type: Array, default: () => [] },
|
|
12
|
+
loading: Boolean,
|
|
13
|
+
error: { type: String, default: "" },
|
|
14
|
+
actionLabel: { type: String, default: "点击复制编号" }
|
|
15
|
+
},
|
|
16
|
+
emits: ["select", "reload"],
|
|
17
|
+
data() {
|
|
18
|
+
return { keyword: "", category: "", categoryKeyword: "" };
|
|
19
|
+
},
|
|
20
|
+
computed: {
|
|
21
|
+
remixIcons() {
|
|
22
|
+
return this.icons.filter((icon) => icon.CODE && icon.CODE.startsWith("ri-"));
|
|
23
|
+
},
|
|
24
|
+
categoryNames() {
|
|
25
|
+
return Object.fromEntries(this.categories.map((item) => [item.code, item.name.replace(/^Remix\s*·\s*/, "")]));
|
|
26
|
+
},
|
|
27
|
+
navigation() {
|
|
28
|
+
const keyword = this.categoryKeyword.trim().toLowerCase();
|
|
29
|
+
return this.categories.map((item) => ({ code: item.code, name: this.categoryNames[item.code] })).filter((item) => `${item.code} ${item.name}`.toLowerCase().includes(keyword));
|
|
30
|
+
},
|
|
31
|
+
filteredIcons() {
|
|
32
|
+
const words = this.keyword.trim().toLowerCase().split(/\s+/).filter(Boolean);
|
|
33
|
+
return this.remixIcons.filter((icon) => {
|
|
34
|
+
if (this.category && icon.TYPE !== this.category) return false;
|
|
35
|
+
const text = `${icon.CODE} ${icon.NAME || ""} ${icon.KEY_WORDS || ""} ${this.categoryNames[icon.TYPE] || ""}`.toLowerCase();
|
|
36
|
+
return words.every((word) => text.includes(word));
|
|
37
|
+
});
|
|
38
|
+
},
|
|
39
|
+
groups() {
|
|
40
|
+
const groups = new Map(this.categories.map((item) => [item.code, { code: item.code, name: this.categoryNames[item.code], icons: [] }]));
|
|
41
|
+
this.filteredIcons.forEach((icon) => {
|
|
42
|
+
const code = icon.TYPE || "ri_others";
|
|
43
|
+
if (!groups.has(code)) groups.set(code, { code, name: "其他", icons: [] });
|
|
44
|
+
groups.get(code).icons.push(icon);
|
|
45
|
+
});
|
|
46
|
+
return [...groups.values()].filter((group) => group.icons.length);
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
watch: {
|
|
50
|
+
icons: {
|
|
51
|
+
immediate: true,
|
|
52
|
+
handler(icons) {
|
|
53
|
+
ensureIcons(icons.filter((icon) => icon.CODE && icon.CODE.startsWith("ri-")).map((icon) => icon.CODE));
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
keyword: "resetScroll",
|
|
57
|
+
category: "resetScroll"
|
|
58
|
+
},
|
|
59
|
+
methods: {
|
|
60
|
+
resetScroll() {
|
|
61
|
+
if (this.$refs.content) this.$refs.content.scrollTop = 0;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
const _hoisted_1 = { class: "epx-remix-gallery" };
|
|
66
|
+
const _hoisted_2 = {
|
|
67
|
+
class: "epx-remix-gallery__nav",
|
|
68
|
+
"aria-label": "图标分类"
|
|
69
|
+
};
|
|
70
|
+
const _hoisted_3 = ["onClick"];
|
|
71
|
+
const _hoisted_4 = { class: "epx-remix-gallery__main" };
|
|
72
|
+
const _hoisted_5 = { class: "epx-remix-gallery__header" };
|
|
73
|
+
const _hoisted_6 = {
|
|
74
|
+
key: 0,
|
|
75
|
+
class: "epx-remix-gallery__state",
|
|
76
|
+
role: "alert"
|
|
77
|
+
};
|
|
78
|
+
const _hoisted_7 = {
|
|
79
|
+
key: 1,
|
|
80
|
+
class: "epx-remix-gallery__state",
|
|
81
|
+
role: "status"
|
|
82
|
+
};
|
|
83
|
+
const _hoisted_8 = {
|
|
84
|
+
key: 2,
|
|
85
|
+
ref: "content",
|
|
86
|
+
class: "epx-remix-gallery__content"
|
|
87
|
+
};
|
|
88
|
+
const _hoisted_9 = {
|
|
89
|
+
key: 0,
|
|
90
|
+
class: "epx-remix-gallery__state"
|
|
91
|
+
};
|
|
92
|
+
const _hoisted_10 = ["aria-label"];
|
|
93
|
+
const _hoisted_11 = { class: "epx-remix-gallery__grid" };
|
|
94
|
+
const _hoisted_12 = ["title", "aria-label", "aria-pressed", "onClick"];
|
|
95
|
+
const _hoisted_13 = {
|
|
96
|
+
key: 3,
|
|
97
|
+
class: "epx-remix-gallery__footer"
|
|
98
|
+
};
|
|
99
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
100
|
+
const _component_el_input = resolveComponent("el-input");
|
|
101
|
+
const _component_el_button = resolveComponent("el-button");
|
|
102
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
103
|
+
createElementVNode("aside", _hoisted_2, [
|
|
104
|
+
_cache[4] || (_cache[4] = createElementVNode("h3", null, "图标分类", -1)),
|
|
105
|
+
createVNode(_component_el_input, {
|
|
106
|
+
modelValue: $data.categoryKeyword,
|
|
107
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.categoryKeyword = $event),
|
|
108
|
+
placeholder: "搜索分类",
|
|
109
|
+
clearable: "",
|
|
110
|
+
"aria-label": "搜索分类"
|
|
111
|
+
}, null, 8, ["modelValue"]),
|
|
112
|
+
createElementVNode("button", {
|
|
113
|
+
type: "button",
|
|
114
|
+
class: normalizeClass({ active: !$data.category }),
|
|
115
|
+
onClick: _cache[1] || (_cache[1] = ($event) => $data.category = "")
|
|
116
|
+
}, "全部分类", 2),
|
|
117
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($options.navigation, (item) => {
|
|
118
|
+
return openBlock(), createElementBlock("button", {
|
|
119
|
+
key: item.code,
|
|
120
|
+
type: "button",
|
|
121
|
+
class: normalizeClass({ active: $data.category === item.code }),
|
|
122
|
+
onClick: ($event) => $data.category = item.code
|
|
123
|
+
}, toDisplayString(item.name), 11, _hoisted_3);
|
|
124
|
+
}), 128))
|
|
125
|
+
]),
|
|
126
|
+
createElementVNode("main", _hoisted_4, [
|
|
127
|
+
createElementVNode("header", _hoisted_5, [
|
|
128
|
+
createElementVNode("div", null, [
|
|
129
|
+
_cache[5] || (_cache[5] = createElementVNode("h2", null, "Remix Icon", -1)),
|
|
130
|
+
createElementVNode("span", null, toDisplayString($props.loading ? "正在加载图标…" : `${$options.filteredIcons.length} 个图标 · ${$props.actionLabel}`), 1)
|
|
131
|
+
]),
|
|
132
|
+
createVNode(_component_el_input, {
|
|
133
|
+
modelValue: $data.keyword,
|
|
134
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $data.keyword = $event),
|
|
135
|
+
placeholder: "搜索名称、编号或关键词",
|
|
136
|
+
clearable: "",
|
|
137
|
+
"aria-label": "搜索图标"
|
|
138
|
+
}, null, 8, ["modelValue"])
|
|
139
|
+
]),
|
|
140
|
+
$props.error ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
141
|
+
createElementVNode("p", null, toDisplayString($props.error), 1),
|
|
142
|
+
createVNode(_component_el_button, {
|
|
143
|
+
onClick: _cache[3] || (_cache[3] = ($event) => _ctx.$emit("reload"))
|
|
144
|
+
}, {
|
|
145
|
+
default: withCtx(() => [..._cache[6] || (_cache[6] = [
|
|
146
|
+
createTextVNode("重新加载", -1)
|
|
147
|
+
])]),
|
|
148
|
+
_: 1
|
|
149
|
+
})
|
|
150
|
+
])) : $props.loading ? (openBlock(), createElementBlock("div", _hoisted_7, "正在加载完整图标库…")) : (openBlock(), createElementBlock("div", _hoisted_8, [
|
|
151
|
+
!$options.groups.length ? (openBlock(), createElementBlock("div", _hoisted_9, "未找到匹配的图标,请更换分类或关键词")) : createCommentVNode("", true),
|
|
152
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($options.groups, (group) => {
|
|
153
|
+
return openBlock(), createElementBlock("section", {
|
|
154
|
+
key: group.code,
|
|
155
|
+
class: "epx-remix-gallery__section",
|
|
156
|
+
"aria-label": group.name
|
|
157
|
+
}, [
|
|
158
|
+
createElementVNode("h3", null, [
|
|
159
|
+
createTextVNode(toDisplayString(group.name) + " ", 1),
|
|
160
|
+
createElementVNode("span", null, toDisplayString(group.icons.length), 1)
|
|
161
|
+
]),
|
|
162
|
+
createElementVNode("div", _hoisted_11, [
|
|
163
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(group.icons, (icon) => {
|
|
164
|
+
return openBlock(), createElementBlock("button", {
|
|
165
|
+
key: icon.CODE,
|
|
166
|
+
type: "button",
|
|
167
|
+
class: normalizeClass(["epx-remix-gallery__icon", { selected: $props.selectedCodes.includes(icon.CODE) }]),
|
|
168
|
+
title: icon.CODE,
|
|
169
|
+
"aria-label": `${$props.actionLabel} ${icon.CODE}`,
|
|
170
|
+
"aria-pressed": $props.selectedCodes.includes(icon.CODE),
|
|
171
|
+
onClick: ($event) => _ctx.$emit("select", icon)
|
|
172
|
+
}, [
|
|
173
|
+
createElementVNode("i", {
|
|
174
|
+
class: normalizeClass(icon.CODE),
|
|
175
|
+
"aria-hidden": "true"
|
|
176
|
+
}, null, 2),
|
|
177
|
+
createElementVNode("span", null, toDisplayString(icon.NAME || icon.CODE), 1)
|
|
178
|
+
], 10, _hoisted_12);
|
|
179
|
+
}), 128))
|
|
180
|
+
])
|
|
181
|
+
], 8, _hoisted_10);
|
|
182
|
+
}), 128))
|
|
183
|
+
], 512)),
|
|
184
|
+
_ctx.$slots.footer ? (openBlock(), createElementBlock("footer", _hoisted_13, [
|
|
185
|
+
renderSlot(_ctx.$slots, "footer", {}, void 0, true)
|
|
186
|
+
])) : createCommentVNode("", true)
|
|
187
|
+
])
|
|
188
|
+
]);
|
|
189
|
+
}
|
|
190
|
+
const IconGallery = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-be05baa3"]]);
|
|
191
|
+
export {
|
|
192
|
+
IconGallery as default
|
|
193
|
+
};
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import '../../../style.css';
|
|
2
|
+
import { createVNode, resolveComponent, createTextVNode } from "vue";
|
|
3
|
+
import IconGallery from "./IconGallery.js";
|
|
4
|
+
async function loadAllIcons(http, params, isCurrent = () => true) {
|
|
5
|
+
const icons = [];
|
|
6
|
+
const codes = /* @__PURE__ */ new Set();
|
|
7
|
+
let total = 0;
|
|
8
|
+
for (let page = 1; page === 1 || icons.length < total; page++) {
|
|
9
|
+
const result = await http.list({
|
|
10
|
+
...params,
|
|
11
|
+
page,
|
|
12
|
+
limit: 500,
|
|
13
|
+
order_field: "CODE",
|
|
14
|
+
order_mode: "asc"
|
|
15
|
+
});
|
|
16
|
+
if (!isCurrent()) return null;
|
|
17
|
+
total = Number(result.total);
|
|
18
|
+
const batch = result.entitys || [];
|
|
19
|
+
if (!Number.isFinite(total) || total < 0 || !batch.length && icons.length < total) throw new Error("图标数据未加载完整,请重新加载");
|
|
20
|
+
for (const icon of batch) {
|
|
21
|
+
if (!icon.CODE || codes.has(icon.CODE)) throw new Error("图标分页数据重复,请重新加载");
|
|
22
|
+
codes.add(icon.CODE);
|
|
23
|
+
icons.push(icon);
|
|
24
|
+
}
|
|
25
|
+
if (icons.length > total) throw new Error("图标数据发生变化,请重新加载");
|
|
26
|
+
}
|
|
27
|
+
return icons.filter((icon) => icon.CODE.startsWith("ri-"));
|
|
28
|
+
}
|
|
29
|
+
const gallery = {
|
|
30
|
+
components: {
|
|
31
|
+
IconGallery
|
|
32
|
+
},
|
|
33
|
+
data() {
|
|
34
|
+
return {
|
|
35
|
+
galleryCategories: [],
|
|
36
|
+
galleryError: "",
|
|
37
|
+
// 请求代次阻止已取消或已卸载组件的旧结果覆盖当前数据。
|
|
38
|
+
galleryRequest: 0
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
beforeUnmount() {
|
|
42
|
+
this.galleryRequest++;
|
|
43
|
+
},
|
|
44
|
+
methods: {
|
|
45
|
+
initComponent() {
|
|
46
|
+
if (!this.showFlag) return;
|
|
47
|
+
this.listType = this.$configs.type;
|
|
48
|
+
this.getDefaultOperates();
|
|
49
|
+
this.getFields();
|
|
50
|
+
},
|
|
51
|
+
// 分类与搜索由图标墙统一呈现,不再加载父类的分类树。
|
|
52
|
+
getCategoryMeta() {
|
|
53
|
+
},
|
|
54
|
+
getCategoryTreeData() {
|
|
55
|
+
},
|
|
56
|
+
async getData(current, cb) {
|
|
57
|
+
if (!this.$metaId) return;
|
|
58
|
+
const request = ++this.galleryRequest;
|
|
59
|
+
const isCurrent = () => request === this.galleryRequest;
|
|
60
|
+
this.cancelGetData = () => {
|
|
61
|
+
this.galleryRequest++;
|
|
62
|
+
};
|
|
63
|
+
this.loading = true;
|
|
64
|
+
this.galleryError = "";
|
|
65
|
+
try {
|
|
66
|
+
const scope = JSON.parse(this.params.scopeParams || "[]").map((item) => ({
|
|
67
|
+
...item
|
|
68
|
+
}));
|
|
69
|
+
if (scope.length) {
|
|
70
|
+
scope[0].lb = "(" + (scope[0].lb || "");
|
|
71
|
+
scope[scope.length - 1].rb = (scope[scope.length - 1].rb || "") + ")";
|
|
72
|
+
scope[scope.length - 1].link = "and";
|
|
73
|
+
}
|
|
74
|
+
scope.push({
|
|
75
|
+
field: "CODE",
|
|
76
|
+
mode: "like",
|
|
77
|
+
values: "ri-%",
|
|
78
|
+
link: "and"
|
|
79
|
+
});
|
|
80
|
+
const field = this.$meta.getAllFieldConfigs().find((item) => item.attriName === "TYPE");
|
|
81
|
+
const [categories, icons] = await Promise.all([this.$http.getCodes({
|
|
82
|
+
key: field && field.codeKey || "ICON_TYPE"
|
|
83
|
+
}), loadAllIcons(this.$http, {
|
|
84
|
+
...this.params,
|
|
85
|
+
entityId: this.$metaId,
|
|
86
|
+
scopeParams: JSON.stringify(scope),
|
|
87
|
+
columnFields: ["CODE", "NAME", "TYPE", "KEY_WORDS"].map((attriName) => ({
|
|
88
|
+
attriName
|
|
89
|
+
}))
|
|
90
|
+
}, isCurrent)]);
|
|
91
|
+
if (!isCurrent()) return;
|
|
92
|
+
this.galleryCategories = (categories || []).filter((item) => item.code && item.code.startsWith("ri_"));
|
|
93
|
+
this.data = icons;
|
|
94
|
+
this.total = icons.length;
|
|
95
|
+
this.initData = true;
|
|
96
|
+
this.getAllDataMap(icons);
|
|
97
|
+
if (this.afterData) this.afterData(icons);
|
|
98
|
+
if (cb) cb(icons);
|
|
99
|
+
if (this.$component) {
|
|
100
|
+
const result = {
|
|
101
|
+
id: this.$component.id,
|
|
102
|
+
total: this.total,
|
|
103
|
+
entitys: icons
|
|
104
|
+
};
|
|
105
|
+
this.$dispatchPage("listData", [result]);
|
|
106
|
+
this.$emit("listData", result);
|
|
107
|
+
}
|
|
108
|
+
} catch (err) {
|
|
109
|
+
if (!isCurrent()) return;
|
|
110
|
+
this.galleryError = err && (err.msg || err.message) || "图标库加载失败,请重新加载";
|
|
111
|
+
this.$message.error(this.galleryError);
|
|
112
|
+
} finally {
|
|
113
|
+
if (isCurrent()) this.loading = false;
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
renderGallery(selectable = false) {
|
|
117
|
+
return createVNode(IconGallery, {
|
|
118
|
+
"class": {
|
|
119
|
+
"epx-remix-gallery--selectable": selectable
|
|
120
|
+
},
|
|
121
|
+
"icons": this.data,
|
|
122
|
+
"categories": this.galleryCategories,
|
|
123
|
+
"selectedCodes": selectable ? this.selectionIds : [],
|
|
124
|
+
"style": this.showFlag === false ? {
|
|
125
|
+
display: "none"
|
|
126
|
+
} : {},
|
|
127
|
+
"loading": !this.initData || this.loading,
|
|
128
|
+
"error": this.galleryError,
|
|
129
|
+
"actionLabel": selectable ? "点击选择图标" : "点击复制编号",
|
|
130
|
+
"onSelect": this.chooseIcon,
|
|
131
|
+
"onReload": () => this.getData()
|
|
132
|
+
}, selectable && this.mode === "confirm" ? {
|
|
133
|
+
footer: () => createVNode("div", null, [createVNode(resolveComponent("el-button"), {
|
|
134
|
+
"onClick": this.cancel
|
|
135
|
+
}, {
|
|
136
|
+
default: () => [createTextVNode("取消")]
|
|
137
|
+
}), createVNode(resolveComponent("el-button"), {
|
|
138
|
+
"type": "primary",
|
|
139
|
+
"onClick": this.confirm
|
|
140
|
+
}, {
|
|
141
|
+
default: () => [createTextVNode("确定")]
|
|
142
|
+
})])
|
|
143
|
+
} : {});
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
export {
|
|
148
|
+
gallery as default,
|
|
149
|
+
loadAllIcons
|
|
150
|
+
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../style.css';
|
|
1
2
|
import { resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, createTextVNode, createElementVNode, renderList, createBlock, toDisplayString, createCommentVNode } from "vue";
|
|
2
3
|
/* empty css */
|
|
3
4
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../style.css';
|
|
1
2
|
import { resolveComponent, resolveDirective, openBlock, createElementBlock, createElementVNode, createVNode, withDirectives, createBlock, withCtx, Fragment, renderList, createTextVNode, toDisplayString } from "vue";
|
|
2
3
|
/* empty css */
|
|
3
4
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../style.css';
|
|
1
2
|
import { resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, createTextVNode, createElementVNode, renderList, createBlock, toDisplayString, createCommentVNode } from "vue";
|
|
2
3
|
/* empty css */
|
|
3
4
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../style.css';
|
|
1
2
|
import { resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, createTextVNode, createElementVNode, renderList, createBlock, toDisplayString, createCommentVNode } from "vue";
|
|
2
3
|
/* empty css */
|
|
3
4
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../style.css';
|
|
1
2
|
import component from "@epxing/core/src/mixins/component";
|
|
2
3
|
import { resolveComponent, openBlock, createElementBlock, normalizeStyle, createElementVNode, createVNode, withCtx, createTextVNode, Fragment, renderList, normalizeClass, toDisplayString, withModifiers, createBlock, createCommentVNode } from "vue";
|
|
3
4
|
/* empty css */
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../style.css';
|
|
1
2
|
import { resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createTextVNode, Fragment, renderList, createBlock, toDisplayString, createElementVNode } from "vue";
|
|
2
3
|
/* empty css */
|
|
3
4
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../style.css';
|
|
1
2
|
import __cjsReq0 from "../../assets/images/app.png.js";
|
|
2
3
|
import EntitySubList from "@epxing/components/src/entity-sub-list";
|
|
3
4
|
import { openBlock, createElementBlock, normalizeStyle, createElementVNode, Fragment, renderList, toDisplayString } from "vue";
|