@ximatai/muyun-web-app 0.26.15 → 0.26.17
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/dist/BusinessActivityLogView-9RrW-RKb.js +18 -0
- package/dist/BusinessLogListDrawer-DYVx9tiQ.js +864 -0
- package/dist/ConfigurationTranslationView-Bh_ekuMP.js +197 -0
- package/dist/LoginAuditLogView-DG6iBXEn.js +18 -0
- package/dist/ModuleActionManagementView-DgHqhoMN.js +755 -0
- package/dist/{ModuleGovernanceView-LkWCtops.js → ModuleGovernanceView-C53RnUzc.js} +6903 -6493
- package/dist/RequestErrorLogView-Ba5p0hLE.js +18 -0
- package/dist/RoleDetailWorkspaceView-C3TBqksY.js +1435 -0
- package/dist/RuntimeLogView-BFEABm8G.js +316 -0
- package/dist/WorkflowAdministrationView-BOHG2e-I.js +650 -0
- package/dist/WorkflowConfigurationView-A0m5tBX9.js +1097 -0
- package/dist/WorkflowWorkbenchView-DGpNDt5V.js +759 -0
- package/dist/es-BST-ixpj.js +22621 -0
- package/dist/index.css +1 -1
- package/dist/index.js +874 -741
- package/dist/moduleGovernanceWorkspaceView-DNKzYX0x.js +667 -0
- package/dist/platform-components-BBfyINHa.js +29912 -0
- package/dist/{platform-workbench-C-kE-Yqq.js → platform-workbench-C1hmkOUD.js} +7960 -7561
- package/dist/rolldown-runtime-BAC7EHh5.js +20 -0
- package/dist/types/app/ChangeOwnPasswordDialog.vue.d.ts +1 -1
- package/dist/types/app/CurrentUserProfileDialog.vue.d.ts +2 -2
- package/dist/types/app/ThemeSkinPreferencesDialog.vue.d.ts +3 -0
- package/dist/types/app/businessNotificationNavigation.d.ts +4 -0
- package/dist/types/app/menuRouteCompiler.d.ts +3 -0
- package/dist/types/app/platformMessage.d.ts +3 -6
- package/dist/types/app/themeSkinPreference.d.ts +3 -2
- package/dist/types/app/useAssistantAvailability.d.ts +8 -0
- package/dist/types/app/useCurrentUserProfile.d.ts +12 -0
- package/dist/types/app/workbenchRouteSync.d.ts +2 -0
- package/dist/types/app/workbenchStartup.d.ts +8 -4
- package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +5 -3
- package/dist/types/consumer/index.d.ts +3 -1
- package/dist/types/dynamic-page-runtime/ManagedDetailRelationInlineSurface.vue.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/ManagedDetailRelationSurface.vue.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +54 -1310
- package/dist/types/dynamic-page-runtime/ModulePageDetailRelations.vue.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +611 -1712
- package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansion.vue.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/ModulePageRecordContent.vue.d.ts +15 -1
- package/dist/types/dynamic-page-runtime/ModuleRecordDetailActions.vue.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/NavigatorManagementEditor.vue.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/NavigatorPanelActions.vue.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/TenantScopeExplorer.vue.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/assistantQueryCapabilities.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/composables/useManagedDetailRelationRuntime.d.ts +2 -2
- package/dist/types/dynamic-page-runtime/composables/useModulePageBootstrap.d.ts +4 -3
- package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +11 -1303
- package/dist/types/dynamic-page-runtime/formActionResult.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/formValidationCoordinator.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +13 -4
- package/dist/types/dynamic-page-runtime/modulePageUnsavedState.d.ts +3 -10
- package/dist/types/dynamic-page-runtime/pageActionInvocation.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/pageActionPlacement.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/pageNavigatorItemModel.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/recordCreationReadiness.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/recordDisplayProjection.d.ts +7 -3
- package/dist/types/dynamic-page-runtime/recordFormAssistantCapabilities.d.ts +5 -4
- package/dist/types/dynamic-page-runtime/recordFormDraftAccess.d.ts +3 -0
- package/dist/types/dynamic-page-runtime/recordMutationPayload.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/recordReferenceDisplay.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/recordSaveRecovery.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/relationDraftAssistantCapabilities.d.ts +2 -2
- package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +39 -1307
- package/dist/types/dynamic-page-runtime/useModuleRecordDataChanges.d.ts +17 -0
- package/dist/types/main.d.ts +0 -1
- package/dist/types/platform-admin-runtime/backendHttp.d.ts +2 -1
- package/dist/types/platform-admin-runtime/index.d.ts +3 -1
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuClient.d.ts +4 -4
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuReceiptStore.d.ts +2 -1
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuSession.d.ts +11 -7
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuWorkspace.d.ts +16 -7
- package/dist/types/platform-admin-runtime/moduleOpenApi.d.ts +4 -3
- package/dist/types/platform-admin-runtime/pageRealtime.d.ts +0 -1
- package/dist/types/platform-admin-runtime/realtime.d.ts +0 -3
- package/dist/types/platform-admin-runtime/role/roleScopeSelectionClient.d.ts +4 -1
- package/dist/types/platform-admin-runtime/sessionRecovery.d.ts +3 -1
- package/dist/types/platform-admin-runtime/user/useUserSessionRows.d.ts +2 -0
- package/dist/types/platform-admin-runtime/user/userOnlineStatusStore.d.ts +1 -5
- package/dist/types/platform-components/BusinessContentGenerationPanel.vue.d.ts +22 -0
- package/dist/types/platform-components/BusinessContentQueryNotice.vue.d.ts +17 -0
- package/dist/types/platform-components/BusinessNotificationPanel.vue.d.ts +34 -1
- package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +6 -6
- package/dist/types/platform-components/DateTimeText.vue.d.ts +1 -1
- package/dist/types/platform-components/DetailRelationListPanel.vue.d.ts +1 -1
- package/dist/types/platform-components/DictionaryOptionDialog.vue.d.ts +4 -4
- package/dist/types/platform-components/DictionaryOptionDialogChoiceList.vue.d.ts +1 -1
- package/dist/types/platform-components/DictionaryPicker.vue.d.ts +6 -6
- package/dist/types/platform-components/FileSizeText.vue.d.ts +1 -1
- package/dist/types/platform-components/FileTransferUploader.vue.d.ts +1 -1
- package/dist/types/platform-components/FormulaExpressionEditor.vue.d.ts +7 -7
- package/dist/types/platform-components/ModuleActionButton.vue.d.ts +2 -2
- package/dist/types/platform-components/ObjectPickerInput.vue.d.ts +2 -2
- package/dist/types/platform-components/QueryCriteriaComposer.vue.d.ts +1 -1
- package/dist/types/platform-components/QueryCriteriaGroupEditor.vue.d.ts +3 -3
- package/dist/types/platform-components/QueryValueEditor.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordActionBar.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordContentSourceField.vue.d.ts +22 -0
- package/dist/types/platform-components/RecordContentTranslationField.vue.d.ts +26 -0
- package/dist/types/platform-components/RecordDataExchangeSurface.vue.d.ts +26 -0
- package/dist/types/platform-components/RecordDetailDrawer.vue.d.ts +2 -2
- package/dist/types/platform-components/RecordDetailFields.vue.d.ts +4 -3
- package/dist/types/platform-components/RecordExpandedSubtable.vue.d.ts +2 -2
- package/dist/types/platform-components/RecordFileReferenceTransfer.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +5 -4
- package/dist/types/platform-components/RecordImageFileReferencePreview.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordListExplorer.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +4 -4
- package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordPanelButton.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordPermissionDialog.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordPicker.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordQueryListCell.vue.d.ts +1 -0
- package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +7 -7
- package/dist/types/platform-components/RecordQueryListSurface.vue.d.ts +3 -3
- package/dist/types/{dynamic-page-runtime/ModuleDataExchangeSurface.vue.d.ts → platform-components/RecordQuerySortSelector.vue.d.ts} +5 -9
- package/dist/types/platform-components/RecordRelationValue.vue.d.ts +2 -0
- package/dist/types/platform-components/ReferencePicker.vue.d.ts +3 -3
- package/dist/types/platform-components/ReferenceRecordDetailBrowser.vue.d.ts +1 -1
- package/dist/types/platform-components/ScopedTreePicker.vue.d.ts +1 -1
- package/dist/types/platform-components/SingleImageFileReferenceField.vue.d.ts +1 -1
- package/dist/types/platform-components/StaticManagementLayout.vue.d.ts +7 -2
- package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +5 -5
- package/dist/types/platform-components/UserPicker.vue.d.ts +2 -2
- package/dist/types/platform-components/UserSessionExpandedSubtable.vue.d.ts +1 -1
- package/dist/types/platform-components/WorkflowBusinessTaskEditor.vue.d.ts +36 -0
- package/dist/types/platform-components/WorkflowDesignProperties.vue.d.ts +40 -0
- package/dist/types/platform-components/WorkflowDiagram.vue.d.ts +24 -0
- package/dist/types/platform-components/WorkflowParticipantEditor.vue.d.ts +18 -0
- package/dist/types/platform-components/WorkflowRecordPanel.vue.d.ts +32 -0
- package/dist/types/platform-components/WorkflowTimeline.vue.d.ts +23 -0
- package/dist/types/platform-components/crudRecordListModel.d.ts +3 -1
- package/dist/types/platform-components/fileTransferUpload.d.ts +10 -0
- package/dist/types/platform-components/index.d.ts +9 -2
- package/dist/types/platform-components/loadExplorerRecords.d.ts +3 -0
- package/dist/types/platform-components/optionFieldOptions.d.ts +7 -2
- package/dist/types/platform-components/platformDateTime.d.ts +2 -0
- package/dist/types/platform-components/platformErrorFeedback.d.ts +2 -1
- package/dist/types/platform-components/readonlyReferenceDisplay.d.ts +10 -2
- package/dist/types/platform-components/recordActionBarModel.d.ts +4 -1
- package/dist/types/platform-components/recordDetailFieldModel.d.ts +4 -0
- package/dist/types/platform-components/recordFormFieldModel.d.ts +5 -3
- package/dist/types/platform-components/recordPickerConstraints.d.ts +4 -1
- package/dist/types/platform-components/recordQueryListColumnModel.d.ts +5 -1
- package/dist/types/platform-components/recordQueryListQueryController.d.ts +2 -0
- package/dist/types/platform-components/recordSurfaceActivity.d.ts +3 -0
- package/dist/types/platform-components/recycleBinState.d.ts +4 -2
- package/dist/types/platform-components/referencePickerModel.d.ts +13 -1
- package/dist/types/platform-components/referencePickerReadError.d.ts +11 -3
- package/dist/types/platform-components/referenceRecordDetailBrowser.d.ts +2 -2
- package/dist/types/platform-components/scopedTreePickerModel.d.ts +4 -0
- package/dist/types/platform-components/softDeletedConflictHandler.d.ts +3 -1
- package/dist/types/platform-components/staticCrudManagementState.d.ts +9 -8
- package/dist/types/platform-components/treeRecordModel.d.ts +2 -1
- package/dist/types/platform-components/userSessionPresentation.d.ts +4 -3
- package/dist/types/platform-components/workflowAccountOptions.d.ts +4 -0
- package/dist/types/platform-components/workflowDesignEditing.d.ts +11 -0
- package/dist/types/platform-components/workflowDiagramModel.d.ts +41 -0
- package/dist/types/platform-components/workflowParticipantPolicy.d.ts +11 -0
- package/dist/types/platform-components/workflowPresentation.d.ts +11 -0
- package/dist/types/platform-workbench/LanguageSelector.vue.d.ts +6 -0
- package/dist/types/platform-workbench/Workbench.vue.d.ts +10 -5
- package/dist/types/platform-workbench/WorkbenchAssistantPanel.vue.d.ts +1 -1
- package/dist/types/platform-workbench/WorkbenchGlobalTools.vue.d.ts +16 -0
- package/dist/types/platform-workbench/WorkbenchLanguageSettings.vue.d.ts +11 -0
- package/dist/types/platform-workbench/WorkbenchMenu.vue.d.ts +1 -1
- package/dist/types/platform-workbench/WorkbenchPageTitle.vue.d.ts +10 -0
- package/dist/types/platform-workbench/assistantControlText.d.ts +19 -0
- package/dist/types/platform-workbench/configurationCollaboration.d.ts +2 -2
- package/dist/types/platform-workbench/constructionDelivery.d.ts +2 -2
- package/dist/types/platform-workbench/constructionFields.d.ts +2 -2
- package/dist/types/platform-workbench/constructionInitialization.d.ts +2 -2
- package/dist/types/platform-workbench/constructionPlanGuard.d.ts +2 -1
- package/dist/types/platform-workbench/constructionPlanSession.d.ts +12 -4
- package/dist/types/platform-workbench/constructionPresentation.d.ts +6 -0
- package/dist/types/platform-workbench/constructionReferenceDiscovery.d.ts +2 -2
- package/dist/types/platform-workbench/index.d.ts +2 -1
- package/dist/types/platform-workbench/menuGroupLayout.d.ts +5 -0
- package/dist/types/platform-workbench/menuNavigation.d.ts +7 -3
- package/dist/types/platform-workbench/menuTreeModel.d.ts +3 -3
- package/dist/types/platform-workbench/realtimeStatus.d.ts +2 -1
- package/dist/types/platform-workbench/useAssistantConversation.d.ts +106 -14
- package/dist/types/platform-workbench/useAssistantConversationArchive.d.ts +7 -14
- package/dist/types/platform-workbench/useLanguagePreferenceSelection.d.ts +7 -0
- package/dist/types/platform-workbench/useWorkspaceViewUnsavedState.d.ts +1 -5
- package/dist/types/platform-workbench/workbenchAssistantCapabilities.d.ts +3 -2
- package/dist/types/platform-workbench/workbenchNavigation.d.ts +1 -0
- package/dist/types/platform-workbench/workspaceViewContract.d.ts +4 -0
- package/dist/types/platform-workbench/workspaceViewDiscardGuard.d.ts +5 -0
- package/dist/types/platform-workbench/workspaceViewHost.d.ts +1 -1
- package/dist/types/platform-workbench/workspaceViewUnsavedState.d.ts +1 -1
- package/dist/types/platform-workbench/workspaceViews.d.ts +3 -2
- package/dist/types/views/ConfigurationTranslationView.vue.d.ts +3 -0
- package/dist/types/views/MetadataSourceTree.vue.d.ts +0 -2
- package/dist/types/views/PageCompositionDescriptorPreview.vue.d.ts +2 -2
- package/dist/types/views/PageQuerySummaryEditor.vue.d.ts +6 -6
- package/dist/types/views/RoleAuthorizationView.vue.d.ts +1 -1
- package/dist/types/views/WorkflowAdministrationView.vue.d.ts +3 -0
- package/dist/types/views/WorkflowConfigurationView.vue.d.ts +7 -0
- package/dist/types/views/WorkflowSelectionFields.vue.d.ts +28 -0
- package/dist/types/views/WorkflowWorkbenchView.vue.d.ts +3 -0
- package/dist/types/views/businessLogClient.d.ts +5 -2
- package/dist/types/views/businessRuleAssistantSurface.d.ts +3 -3
- package/dist/types/views/businessRuleEditor.d.ts +2 -1
- package/dist/types/views/businessRuleGovernance.d.ts +14 -4
- package/dist/types/views/businessRuleSession.d.ts +4 -3
- package/dist/types/views/businessRuleWorkspace.d.ts +6 -2
- package/dist/types/views/configurationEditorNavigation.d.ts +2 -1
- package/dist/types/views/configurationTranslationWorkspace.d.ts +69 -0
- package/dist/types/views/dictionaryRadioEligibility.d.ts +2 -1
- package/dist/types/views/metadataChangeSetSubmission.d.ts +4 -3
- package/dist/types/views/metadataEditorSession.d.ts +19 -9
- package/dist/types/views/metadataGovernanceEditor.d.ts +4 -0
- package/dist/types/views/metadataModelEditSession.d.ts +3 -2
- package/dist/types/views/metadataModelTree.d.ts +2 -1
- package/dist/types/views/metadataNaming.d.ts +5 -2
- package/dist/types/views/metadataOrchestrationState.d.ts +13 -9
- package/dist/types/views/metadataSourceTree.d.ts +3 -2
- package/dist/types/views/metadataWorkspace.d.ts +34 -19
- package/dist/types/views/moduleRuntimeActivation.d.ts +3 -3
- package/dist/types/views/pageCompositionAssistantSurface.d.ts +2 -0
- package/dist/types/views/pageCompositionCandidate.d.ts +2 -1
- package/dist/types/views/pageCompositionComponents.d.ts +5 -4
- package/dist/types/views/pageCompositionDraftState.d.ts +21 -7
- package/dist/types/views/pageCompositionMode.d.ts +26 -2
- package/dist/types/views/pageCompositionPublication.d.ts +2 -0
- package/dist/types/views/pageCompositionSession.d.ts +48 -15
- package/dist/types/views/pageCompositionWorkspace.d.ts +90 -29
- package/dist/types/views/runtimeLogClient.d.ts +2 -2
- package/dist/types/views/usePageCompositionComponents.d.ts +2 -1
- package/dist/types/views/workflowConfigurationWorkspaceView.d.ts +5 -0
- package/dist/types/vue-ui-antdv/blockingOverlays.d.ts +9 -0
- package/dist/types/vue-ui-antdv/components/UiButton.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiDataTable.vue.d.ts +2 -2
- package/dist/types/vue-ui-antdv/components/UiDropdown.vue.d.ts +1 -0
- package/dist/types/vue-ui-antdv/components/UiIcon.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiLanguageProvider.vue.d.ts +18 -0
- package/dist/types/vue-ui-antdv/components/UiModal.vue.d.ts +10 -7
- package/dist/types/vue-ui-antdv/components/UiRecordExplorerItem.vue.d.ts +2 -2
- package/dist/types/vue-ui-antdv/components/UiSearchInput.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiSidePanel.vue.d.ts +3 -0
- package/dist/types/vue-ui-antdv/components/UiTextArea.vue.d.ts +7 -7
- package/dist/types/vue-ui-antdv/components/UiTokenInput.vue.d.ts +7 -7
- package/dist/types/vue-ui-antdv/components/UiTree.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiTreeSelect.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/confirm.d.ts +3 -2
- package/dist/types/vue-ui-antdv/index.d.ts +3 -0
- package/dist/types/vue-ui-antdv/languageGlobalScope.d.ts +3 -0
- package/dist/types/vue-ui-antdv/languageLocales.d.ts +4 -0
- package/dist/types/vue-ui-antdv/theme.d.ts +2 -0
- package/dist/types/vue-ui-antdv/types.d.ts +4 -0
- package/dist/types/vue-ui-antdv/typography.d.ts +25 -0
- package/dist/types/web-contracts/constructionPlan.d.ts +4 -3
- package/dist/types/web-contracts/index.d.ts +177 -0
- package/dist/types/web-contracts/workflow.d.ts +356 -0
- package/dist/types/web-core/actionResult.d.ts +3 -0
- package/dist/types/web-core/assistantConfirmation.d.ts +3 -2
- package/dist/types/web-core/assistantConversationClient.d.ts +8 -0
- package/dist/types/web-core/assistantSurface.d.ts +4 -3
- package/dist/types/web-core/assistantTurnClient.d.ts +2 -0
- package/dist/types/web-core/businessContent.d.ts +38 -0
- package/dist/types/web-core/businessContentLanguage.d.ts +18 -0
- package/dist/types/web-core/errors.d.ts +8 -4
- package/dist/types/web-core/index.d.ts +11 -0
- package/dist/types/web-core/language.d.ts +54 -0
- package/dist/types/web-core/languagePreference.d.ts +8 -0
- package/dist/types/web-core/module/dataExchangeClient.d.ts +85 -2
- package/dist/types/web-core/module/index.d.ts +1 -0
- package/dist/types/web-core/module/moduleContext.d.ts +4 -0
- package/dist/types/web-core/module/pageActionEntries.d.ts +3 -2
- package/dist/types/web-core/module/runtimeContext.d.ts +15 -2
- package/dist/types/web-core/module/staticModuleClient.d.ts +9 -3
- package/dist/types/web-core/operationConfirmation.d.ts +5 -1
- package/dist/types/web-core/operationErrors.d.ts +15 -1
- package/dist/types/web-core/presentationTexts.d.ts +21 -0
- package/dist/types/web-core/recordReadRefreshGuard.d.ts +7 -0
- package/dist/types/web-core/sha256.d.ts +2 -0
- package/dist/types/web-core/useBusinessContentGenerationBatch.d.ts +36 -0
- package/dist/types/web-core/useBusinessContentReading.d.ts +30 -0
- package/dist/types/web-core/workflow.d.ts +71 -0
- package/dist/types/web-core/workspaceUnsavedState.d.ts +6 -0
- package/dist/workspaceViews-BpH71LKQ.js +3437 -0
- package/package.json +2 -4
- package/dist/BusinessActivityLogView-DVzrZW1X.js +0 -16
- package/dist/BusinessLogListDrawer-D-R3wnWr.js +0 -825
- package/dist/LoginAuditLogView-BP1eaEPw.js +0 -16
- package/dist/ModuleActionManagementView-D17iKVQv.js +0 -691
- package/dist/RequestErrorLogView-LzN94-Tk.js +0 -16
- package/dist/RoleDetailWorkspaceView-BXA-bzFu.js +0 -1406
- package/dist/RuntimeLogView-DUpu2q2w.js +0 -297
- package/dist/moduleGovernanceWorkspaceView-COjWtJMr.js +0 -639
- package/dist/platform-components-Hs3DrTqE.js +0 -19770
- package/dist/rolldown-runtime-DPVXH0ON.js +0 -17
- package/dist/sse-Q1wa3p_k.js +0 -187
- package/dist/workspaceViews-CHsgLFwY.js +0 -3217
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
import { Ar as e, Bn as t, Jn as n, Un as r, Wn as i, Xn as a, Yi as o, an as s, ja as c } from "./platform-components-BBfyINHa.js";
|
|
2
|
+
import { Fragment as l, computed as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, defineComponent as g, isRef as _, openBlock as v, ref as y, toDisplayString as b, unref as x, watch as S, withCtx as C } from "vue";
|
|
3
|
+
//#region src/views/configurationTranslationWorkspace.ts
|
|
4
|
+
function w(e) {
|
|
5
|
+
let t = y(""), n = y(""), r = u(() => n.value === t.value.trim()), i = y(), a = y("en"), s = y([]), c = y([]), l = y({}), d = /* @__PURE__ */ new Map(), f = y(!1), p = u(() => s.value.find((e) => e.sourceId === i.value)), m = u(() => JSON.stringify([
|
|
6
|
+
n.value,
|
|
7
|
+
p.value?.sourceId,
|
|
8
|
+
p.value?.sourceVersion,
|
|
9
|
+
a.value
|
|
10
|
+
])), h = u(() => c.value.find((e) => e.sourceId === p.value?.sourceId && e.sourceVersion === p.value?.sourceVersion && e.languageTag === a.value)), g = u(() => c.value.find((e) => e.sourceId === p.value?.sourceId && e.sourceVersion !== p.value?.sourceVersion && e.languageTag === a.value)), _ = u({
|
|
11
|
+
get: () => l.value[m.value] ?? h.value?.draftText ?? "",
|
|
12
|
+
set: (e) => {
|
|
13
|
+
let t = { ...l.value };
|
|
14
|
+
e === (h.value?.draftText ?? "") ? (delete t[m.value], d.delete(m.value)) : (m.value in t || d.set(m.value, h.value?.version), t[m.value] = e), l.value = t;
|
|
15
|
+
}
|
|
16
|
+
}), v = u(() => _.value !== (h.value?.draftText ?? "")), b = 0, x = (e) => {
|
|
17
|
+
c.value = [...c.value.filter((t) => t.id !== e.id), e];
|
|
18
|
+
};
|
|
19
|
+
async function S() {
|
|
20
|
+
if (f.value || !t.value.trim()) return;
|
|
21
|
+
let r = ++b, a = t.value.trim();
|
|
22
|
+
f.value = !0;
|
|
23
|
+
try {
|
|
24
|
+
let [o, l] = await Promise.all([e.request({ path: `/platform.localization/modules/${encodeURIComponent(a)}/sources` }), e.request({ path: `/platform.localization/modules/${encodeURIComponent(a)}/translations` })]);
|
|
25
|
+
if (r !== b || t.value.trim() !== a) return;
|
|
26
|
+
n.value = a, s.value = o, c.value = l, o.some((e) => e.sourceId === i.value) || (i.value = o[0]?.sourceId);
|
|
27
|
+
} finally {
|
|
28
|
+
r === b && (f.value = !1);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
async function C() {
|
|
32
|
+
if (f.value || !r.value || !p.value || !_.value.trim()) return;
|
|
33
|
+
let t = p.value, i = m.value, s = _.value;
|
|
34
|
+
f.value = !0;
|
|
35
|
+
try {
|
|
36
|
+
let r = o(await e.request({
|
|
37
|
+
method: "POST",
|
|
38
|
+
path: "/platform.localization/drafts",
|
|
39
|
+
body: {
|
|
40
|
+
moduleAlias: n.value,
|
|
41
|
+
sourceId: t.sourceId,
|
|
42
|
+
sourceVersion: t.sourceVersion,
|
|
43
|
+
languageTag: a.value,
|
|
44
|
+
text: s,
|
|
45
|
+
version: i in l.value ? d.get(i) : h.value?.version
|
|
46
|
+
}
|
|
47
|
+
}));
|
|
48
|
+
x(r);
|
|
49
|
+
let c = { ...l.value };
|
|
50
|
+
c[i] === s ? (delete c[i], d.delete(i)) : i in c && d.set(i, r.version), l.value = c;
|
|
51
|
+
} finally {
|
|
52
|
+
f.value = !1;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
async function w() {
|
|
56
|
+
if (f.value || !r.value || v.value || !h.value || !p.value) return;
|
|
57
|
+
let t = h.value;
|
|
58
|
+
f.value = !0;
|
|
59
|
+
try {
|
|
60
|
+
x(o(await e.request({
|
|
61
|
+
method: "POST",
|
|
62
|
+
path: `/platform.localization/translations/${encodeURIComponent(t.id)}/publish`,
|
|
63
|
+
body: {
|
|
64
|
+
sourceVersion: p.value.sourceVersion,
|
|
65
|
+
version: t.version
|
|
66
|
+
}
|
|
67
|
+
})));
|
|
68
|
+
} finally {
|
|
69
|
+
f.value = !1;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
return {
|
|
73
|
+
moduleAlias: t,
|
|
74
|
+
loadedModuleAlias: n,
|
|
75
|
+
ready: r,
|
|
76
|
+
sourceId: i,
|
|
77
|
+
targetLanguage: a,
|
|
78
|
+
sources: s,
|
|
79
|
+
source: p,
|
|
80
|
+
translation: h,
|
|
81
|
+
previous: g,
|
|
82
|
+
text: _,
|
|
83
|
+
dirty: v,
|
|
84
|
+
busy: f,
|
|
85
|
+
load: S,
|
|
86
|
+
save: C,
|
|
87
|
+
publish: w
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
//#endregion
|
|
91
|
+
//#region src/views/ConfigurationTranslationView.vue?vue&type=script&setup=true&lang.ts
|
|
92
|
+
var T = { class: "configuration-translation" }, E = { class: "configuration-translation__toolbar" }, D = { class: "configuration-translation__location" }, O = {
|
|
93
|
+
key: 0,
|
|
94
|
+
role: "status"
|
|
95
|
+
}, k = { class: "configuration-translation__toolbar" }, A = { key: 1 }, j = /*#__PURE__*/ a(/* @__PURE__ */ g({
|
|
96
|
+
__name: "ConfigurationTranslationView",
|
|
97
|
+
setup(a) {
|
|
98
|
+
let o = c(), g = o.t, y = e({ moduleAlias: "platform.localization" }), j = w(y.http), { moduleAlias: M, sourceId: N, targetLanguage: P, sources: F, source: I, translation: L, previous: R, text: z, dirty: B, busy: V, ready: H } = j, U = u(() => o.catalog.value.languages.filter((e) => e.enabled !== !1).map((e) => ({
|
|
99
|
+
value: e.tag,
|
|
100
|
+
label: e.nativeName
|
|
101
|
+
})));
|
|
102
|
+
S(o.catalog, (e) => {
|
|
103
|
+
e.languages.some((e) => e.tag === P.value && e.enabled !== !1) || (P.value = e.languages.find((t) => t.enabled !== !1 && t.tag !== e.defaultTag)?.tag ?? e.defaultTag);
|
|
104
|
+
}, { immediate: !0 });
|
|
105
|
+
let W = u(() => F.value.map((e) => ({
|
|
106
|
+
value: e.sourceId,
|
|
107
|
+
label: e.originalText
|
|
108
|
+
})));
|
|
109
|
+
async function G(e) {
|
|
110
|
+
try {
|
|
111
|
+
await e();
|
|
112
|
+
} catch (e) {
|
|
113
|
+
s(e, {
|
|
114
|
+
source: "configuration-translation",
|
|
115
|
+
phase: "action"
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
return (e, a) => (v(), f("section", T, [
|
|
120
|
+
p("h2", null, b(x(g)("platform.translation.title", "配置翻译")), 1),
|
|
121
|
+
p("p", null, b(x(g)("platform.translation.scope", "维护已生效界面原文的译文;业务记录内容保持原文。")), 1),
|
|
122
|
+
p("div", E, [
|
|
123
|
+
p("label", null, [m(b(x(g)("platform.translation.module", "模块")), 1), h(x(r), {
|
|
124
|
+
value: x(M),
|
|
125
|
+
"onUpdate:value": a[0] ||= (e) => _(M) ? M.value = e : null,
|
|
126
|
+
disabled: x(V),
|
|
127
|
+
placeholder: "education.exam"
|
|
128
|
+
}, null, 8, ["value", "disabled"])]),
|
|
129
|
+
h(x(n), {
|
|
130
|
+
disabled: x(V) || !x(M) || x(y).can("viewTranslationSources") !== !0 || x(y).can("viewTranslations") !== !0,
|
|
131
|
+
onClick: a[1] ||= (e) => G(x(j).load)
|
|
132
|
+
}, {
|
|
133
|
+
default: C(() => [m(b(x(g)("platform.translation.load", "加载原文")), 1)]),
|
|
134
|
+
_: 1
|
|
135
|
+
}, 8, ["disabled"]),
|
|
136
|
+
p("label", null, [m(b(x(g)("platform.translation.target-language", "翻译语言")), 1), h(x(i), {
|
|
137
|
+
value: x(P),
|
|
138
|
+
"onUpdate:value": a[2] ||= (e) => _(P) ? P.value = e : null,
|
|
139
|
+
options: U.value,
|
|
140
|
+
"allow-clear": !1,
|
|
141
|
+
disabled: x(V)
|
|
142
|
+
}, null, 8, [
|
|
143
|
+
"value",
|
|
144
|
+
"options",
|
|
145
|
+
"disabled"
|
|
146
|
+
])])
|
|
147
|
+
]),
|
|
148
|
+
x(F).length && x(H) ? (v(), f(l, { key: 0 }, [p("label", null, [m(b(x(g)("platform.translation.source", "选择原文")), 1), h(x(i), {
|
|
149
|
+
value: x(N),
|
|
150
|
+
"onUpdate:value": a[3] ||= (e) => _(N) ? N.value = e : null,
|
|
151
|
+
options: W.value,
|
|
152
|
+
"allow-clear": !1,
|
|
153
|
+
disabled: x(V),
|
|
154
|
+
"show-search": ""
|
|
155
|
+
}, null, 8, [
|
|
156
|
+
"value",
|
|
157
|
+
"options",
|
|
158
|
+
"disabled"
|
|
159
|
+
])]), x(I) ? (v(), f(l, { key: 0 }, [
|
|
160
|
+
p("p", D, [
|
|
161
|
+
p("span", null, b(x(g)("platform.translation.location", "来源位置")), 1),
|
|
162
|
+
a[7] ||= m(),
|
|
163
|
+
p("code", null, b(x(I).sourceId), 1)
|
|
164
|
+
]),
|
|
165
|
+
p("label", null, [m(b(x(g)("platform.translation.original", "原文")), 1), h(x(t), {
|
|
166
|
+
value: x(I).originalText,
|
|
167
|
+
disabled: ""
|
|
168
|
+
}, null, 8, ["value"])]),
|
|
169
|
+
x(R) ? (v(), f("p", O, b(x(g)("platform.translation.review-required", "原文已变化,旧译文仅供复核参考:")) + b(x(R).publishedText ?? x(R).draftText), 1)) : d("v-if", !0),
|
|
170
|
+
p("label", null, [m(b(x(g)("platform.translation.draft", "译文草稿")), 1), h(x(t), {
|
|
171
|
+
value: x(z),
|
|
172
|
+
"onUpdate:value": a[4] ||= (e) => _(z) ? z.value = e : null,
|
|
173
|
+
disabled: x(V) || x(y).can("saveTranslationDraft") !== !0
|
|
174
|
+
}, null, 8, ["value", "disabled"])]),
|
|
175
|
+
p("label", null, [m(b(x(g)("platform.translation.published", "已发布译文")), 1), h(x(t), {
|
|
176
|
+
value: x(L)?.publishedText ?? "",
|
|
177
|
+
disabled: ""
|
|
178
|
+
}, null, 8, ["value"])]),
|
|
179
|
+
p("div", k, [h(x(n), {
|
|
180
|
+
disabled: x(V) || !x(H) || !x(z).trim() || x(y).can("saveTranslationDraft") !== !0,
|
|
181
|
+
onClick: a[5] ||= (e) => G(x(j).save)
|
|
182
|
+
}, {
|
|
183
|
+
default: C(() => [m(b(x(g)("platform.translation.save-draft", "保存草稿")), 1)]),
|
|
184
|
+
_: 1
|
|
185
|
+
}, 8, ["disabled"]), h(x(n), {
|
|
186
|
+
disabled: x(V) || !x(H) || x(B) || !x(L) || x(y).can("publishTranslation") !== !0,
|
|
187
|
+
onClick: a[6] ||= (e) => G(x(j).publish)
|
|
188
|
+
}, {
|
|
189
|
+
default: C(() => [m(b(x(g)("platform.translation.publish", "独立发布译文")), 1)]),
|
|
190
|
+
_: 1
|
|
191
|
+
}, 8, ["disabled"])])
|
|
192
|
+
], 64)) : d("v-if", !0)], 64)) : x(V) ? d("v-if", !0) : (v(), f("p", A, b(x(g)("platform.translation.empty", "选择模块并加载可翻译的在线配置原文。代码声明文案通过所属应用语言资源维护。")), 1))
|
|
193
|
+
]));
|
|
194
|
+
}
|
|
195
|
+
}), [["__scopeId", "data-v-acb685de"]]);
|
|
196
|
+
//#endregion
|
|
197
|
+
export { j as default };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ja as e } from "./platform-components-BBfyINHa.js";
|
|
2
|
+
import { t } from "./BusinessLogListDrawer-DYVx9tiQ.js";
|
|
3
|
+
import { createBlock as n, defineComponent as r, openBlock as i, unref as a } from "vue";
|
|
4
|
+
//#endregion
|
|
5
|
+
//#region src/views/LoginAuditLogView.vue
|
|
6
|
+
var o = /* @__PURE__ */ r({
|
|
7
|
+
__name: "LoginAuditLogView",
|
|
8
|
+
setup(r) {
|
|
9
|
+
let o = e();
|
|
10
|
+
return (e, r) => (i(), n(t, {
|
|
11
|
+
surface: "login",
|
|
12
|
+
"module-alias": "iam.login_audit_log",
|
|
13
|
+
title: a(o).t("platform.screen.BusinessLogRetentionControl.login-audit-logs", "登录日志")
|
|
14
|
+
}, null, 8, ["title"]));
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
export { o as default };
|