@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,316 @@
|
|
|
1
|
+
import { Aa as e, Ar as t, Ea as n, En as r, Ji as i, Jn as a, Ki as o, Oa as s, Pa as c, U as ee, Xn as l, aa as te, an as u, bn as ne, ca as re, da as ie, dn as ae, en as d, ja as f, jt as p, qi as m, qn as oe, ta as h } from "./platform-components-BBfyINHa.js";
|
|
2
|
+
import { computed as g, createBlock as _, createCommentVNode as v, createElementBlock as y, createElementVNode as b, createTextVNode as x, createVNode as S, defineComponent as C, nextTick as w, onBeforeUnmount as se, openBlock as T, ref as E, shallowRef as D, toDisplayString as O, unref as k, watch as ce, withCtx as A } from "vue";
|
|
3
|
+
//#region src/views/runtimeLogClient.ts
|
|
4
|
+
var j = "/platform.runtime_log";
|
|
5
|
+
function le(e, t = s) {
|
|
6
|
+
if (!c(e)) throw new o(m(t, "platform.screen.runtimeLogClient.the-current-http-client-does-not-support-runtime-log-streams", "当前 HTTP 客户端不支持运行日志流。"));
|
|
7
|
+
return {
|
|
8
|
+
download(t) {
|
|
9
|
+
return e.stream({
|
|
10
|
+
path: `${j}/files/${encodeURIComponent(t)}/download`,
|
|
11
|
+
headers: { Accept: "application/octet-stream" }
|
|
12
|
+
});
|
|
13
|
+
},
|
|
14
|
+
activeStream(t, n) {
|
|
15
|
+
return e.stream({
|
|
16
|
+
method: "POST",
|
|
17
|
+
path: `${j}/active/stream`,
|
|
18
|
+
body: { tailLines: t },
|
|
19
|
+
headers: { Accept: "text/event-stream, application/json" },
|
|
20
|
+
...n ? { signal: n } : {}
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region src/views/runtimeLogSse.ts
|
|
27
|
+
var ue = h, de = { class: "runtime-log-view" }, fe = { class: "runtime-log-view__header-actions" }, pe = { key: 2 }, me = { key: 3 }, he = { class: "runtime-log-view__row-actions" }, ge = {
|
|
28
|
+
key: 0,
|
|
29
|
+
class: "runtime-log-view__content"
|
|
30
|
+
}, M = 500, N = /*#__PURE__*/ l(/* @__PURE__ */ C({
|
|
31
|
+
name: "RuntimeLogView",
|
|
32
|
+
__name: "RuntimeLogView",
|
|
33
|
+
setup(s) {
|
|
34
|
+
let c = f(), l = t({ moduleAlias: "platform.runtime_log" }), h = le(l.http, c), C = D(), j = g(() => C.value ? $(C.value) : void 0), N = E(), P = E(!1), F = E(), I = E(""), L = E("closed"), R = D(), z = E(), B = E(!0), V = 0, H, U, W = 0, _e = g(() => {
|
|
35
|
+
let e = R.value;
|
|
36
|
+
return e ? typeof e == "string" ? e : e instanceof Error ? $(e) : c.t(e.source.sourceId, e.source.originalText, e.args) : {
|
|
37
|
+
connecting: c.t("platform.screen.RuntimeLogView.connecting-to-live-logs", "正在连接实时日志…"),
|
|
38
|
+
live: c.t("platform.screen.RuntimeLogView.updating-live", "正在实时更新"),
|
|
39
|
+
rotated: c.t("platform.screen.RuntimeLogView.the-log-file-has-rotated-reconnect", "日志文件已轮转,请重新连接。"),
|
|
40
|
+
error: c.t("platform.screen.RuntimeLogView.the-live-log-connection-was-interrupted", "实时日志连接已中断。"),
|
|
41
|
+
closed: c.t("platform.screen.RuntimeLogView.live-logs-closed", "实时日志已关闭。")
|
|
42
|
+
}[L.value];
|
|
43
|
+
}), ve = g(() => [
|
|
44
|
+
"closed",
|
|
45
|
+
"error",
|
|
46
|
+
"rotated"
|
|
47
|
+
].includes(L.value)), ye = g(() => [
|
|
48
|
+
{
|
|
49
|
+
key: "name",
|
|
50
|
+
title: c.t("platform.screen.RuntimeLogView.file-name", "文件名称"),
|
|
51
|
+
width: "360px"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
key: "sizeBytes",
|
|
55
|
+
title: c.t("platform.screen.RuntimeLogView.file-size", "文件大小"),
|
|
56
|
+
width: "140px",
|
|
57
|
+
align: "right"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
key: "lastModifiedAt",
|
|
61
|
+
title: c.t("platform.screen.RuntimeLogView.last-modified", "最后修改时间"),
|
|
62
|
+
width: "208px"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
key: "active",
|
|
66
|
+
title: c.t("platform.screen.WorkflowWorkbenchView.status", "状态"),
|
|
67
|
+
width: "132px"
|
|
68
|
+
}
|
|
69
|
+
]);
|
|
70
|
+
se(q), ce(I, () => {
|
|
71
|
+
B.value && Ee();
|
|
72
|
+
});
|
|
73
|
+
function G() {
|
|
74
|
+
P.value = !0, F.value = void 0, I.value = "", B.value = !0, W = 0, K();
|
|
75
|
+
}
|
|
76
|
+
function be() {
|
|
77
|
+
P.value && (I.value = "", B.value = !0, W = 0, K());
|
|
78
|
+
}
|
|
79
|
+
function xe() {
|
|
80
|
+
P.value = !1, F.value = void 0, q();
|
|
81
|
+
}
|
|
82
|
+
function K() {
|
|
83
|
+
q();
|
|
84
|
+
let e = ++V, t = new AbortController();
|
|
85
|
+
U = t, L.value = "connecting", R.value = void 0, Se(e, t);
|
|
86
|
+
}
|
|
87
|
+
async function Se(e, t) {
|
|
88
|
+
try {
|
|
89
|
+
let n = await h.activeStream(M, t.signal);
|
|
90
|
+
if (t.signal.aborted || e !== V) {
|
|
91
|
+
await n.cancel();
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
let r = n.getReader();
|
|
95
|
+
H = r;
|
|
96
|
+
let i = new TextDecoder(), a = ue((n) => Ce(n, e, t));
|
|
97
|
+
for (; !t.signal.aborted && e === V;) {
|
|
98
|
+
let { done: e, value: t } = await r.read();
|
|
99
|
+
if (e) break;
|
|
100
|
+
t && a.push(i.decode(t, { stream: !0 }));
|
|
101
|
+
}
|
|
102
|
+
a.push(i.decode()), a.finish(), !t.signal.aborted && e === V && L.value !== "rotated" && (L.value = "closed", R.value = m(c, "platform.screen.RuntimeLogView.the-live-log-connection-has-ended", "实时日志连接已结束。"));
|
|
103
|
+
} catch (n) {
|
|
104
|
+
!t.signal.aborted && e === V && (L.value = "error", R.value = Q(n, m(c, "platform.screen.RuntimeLogView.failed-to-connect-to-live-logs-reconnect", "实时日志连接失败,请重新连接。")), u(n, {
|
|
105
|
+
language: c,
|
|
106
|
+
source: "runtime-log-stream",
|
|
107
|
+
phase: "load"
|
|
108
|
+
}));
|
|
109
|
+
} finally {
|
|
110
|
+
e === V && (H = void 0);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
function Ce(t, r, i) {
|
|
114
|
+
if (!(i.signal.aborted || r !== V)) switch (t.event) {
|
|
115
|
+
case "snapshot":
|
|
116
|
+
case "reset": {
|
|
117
|
+
let e = Y(t.data);
|
|
118
|
+
I.value = X(e.text), F.value = Z(e.fileName) ?? F.value, L.value = "live", R.value = t.event === "reset" ? m(c, "platform.screen.RuntimeLogView.log-content-was-reset-live-updates-are-continuing", "日志内容已重置,正在继续实时更新。") : void 0;
|
|
119
|
+
return;
|
|
120
|
+
}
|
|
121
|
+
case "append": {
|
|
122
|
+
let e = Y(t.data);
|
|
123
|
+
I.value += X(e.text), L.value = "live", R.value = void 0;
|
|
124
|
+
return;
|
|
125
|
+
}
|
|
126
|
+
case "rotated": {
|
|
127
|
+
let e = Y(t.data);
|
|
128
|
+
F.value = Z(e.fileName) ?? F.value, W < 1 ? (W += 1, L.value = "connecting", R.value = m(c, "platform.screen.RuntimeLogView.the-log-file-has-rotated-reconnecting-to-the-latest-file", "日志文件已轮转,正在重新连接最新文件…"), w(() => K())) : (L.value = "rotated", R.value = m(c, "platform.screen.RuntimeLogView.the-log-file-has-rotated-again-reconnect-manually", "日志文件再次轮转,请手动重新连接。"), q());
|
|
129
|
+
return;
|
|
130
|
+
}
|
|
131
|
+
case "error": {
|
|
132
|
+
let r = Y(t.data);
|
|
133
|
+
L.value = "error";
|
|
134
|
+
let i = Z(r.message), a = r.messageSource;
|
|
135
|
+
R.value = r.code === "RUNTIME_LOG_STREAM_INTERRUPTED" && ie(a) && a.sourceKind === "CODE" && a.sourceId === "platform.runtime-log.stream-interrupted" && a.originalText === n(a.sourceId) && e(a, i ?? "") ? {
|
|
136
|
+
message: i,
|
|
137
|
+
source: a,
|
|
138
|
+
args: {}
|
|
139
|
+
} : i ?? m(c, "platform.screen.RuntimeLogView.the-live-log-connection-encountered-an-error-reconnect", "实时日志连接出现错误,请重新连接。"), q();
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
function q() {
|
|
144
|
+
V += 1, U?.abort(), U = void 0;
|
|
145
|
+
let e = H;
|
|
146
|
+
H = void 0, e && e.cancel().catch(() => void 0);
|
|
147
|
+
}
|
|
148
|
+
async function we(e) {
|
|
149
|
+
if (!N.value) {
|
|
150
|
+
N.value = e.name;
|
|
151
|
+
try {
|
|
152
|
+
let t = await Te(await h.download(e.name)), n = t.buffer.slice(t.byteOffset, t.byteOffset + t.byteLength), r = URL.createObjectURL(new Blob([n], { type: "text/plain;charset=utf-8" })), i = document.createElement("a");
|
|
153
|
+
i.href = r, i.download = e.name, i.click(), window.setTimeout(() => URL.revokeObjectURL(r), 6e4);
|
|
154
|
+
} catch (t) {
|
|
155
|
+
C.value = Q(t, m(c, "platform.screen.RuntimeLogView.failed-to-download-value-try-again-later", "下载 {value1} 失败,请稍后重试。", { value1: e.name })), u(t, {
|
|
156
|
+
language: c,
|
|
157
|
+
source: "runtime-log-download",
|
|
158
|
+
phase: "load"
|
|
159
|
+
});
|
|
160
|
+
} finally {
|
|
161
|
+
N.value = void 0;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
async function Te(e) {
|
|
166
|
+
let t = e.getReader(), n = [], r = 0;
|
|
167
|
+
try {
|
|
168
|
+
for (;;) {
|
|
169
|
+
let { done: e, value: i } = await t.read();
|
|
170
|
+
if (e) break;
|
|
171
|
+
i && (n.push(i), r += i.length);
|
|
172
|
+
}
|
|
173
|
+
} finally {
|
|
174
|
+
t.releaseLock();
|
|
175
|
+
}
|
|
176
|
+
let i = new Uint8Array(r), a = 0;
|
|
177
|
+
for (let e of n) i.set(e, a), a += e.length;
|
|
178
|
+
return i;
|
|
179
|
+
}
|
|
180
|
+
function J() {
|
|
181
|
+
let e = z.value;
|
|
182
|
+
e && (B.value = e.scrollTop + e.clientHeight >= e.scrollHeight - 24);
|
|
183
|
+
}
|
|
184
|
+
async function Ee() {
|
|
185
|
+
await w();
|
|
186
|
+
let e = z.value;
|
|
187
|
+
e && (e.scrollTop = e.scrollHeight);
|
|
188
|
+
}
|
|
189
|
+
function Y(e) {
|
|
190
|
+
try {
|
|
191
|
+
let t = JSON.parse(e);
|
|
192
|
+
return t && typeof t == "object" && !Array.isArray(t) ? t : {};
|
|
193
|
+
} catch {
|
|
194
|
+
return {};
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
function X(e) {
|
|
198
|
+
return typeof e == "string" ? e : "";
|
|
199
|
+
}
|
|
200
|
+
function Z(e) {
|
|
201
|
+
return typeof e == "string" && e ? e : void 0;
|
|
202
|
+
}
|
|
203
|
+
function Q(e, t) {
|
|
204
|
+
return e instanceof Error && e.message ? e : new o(t);
|
|
205
|
+
}
|
|
206
|
+
function $(e) {
|
|
207
|
+
return e instanceof o ? i(e, c) : re(te(e), c);
|
|
208
|
+
}
|
|
209
|
+
return (e, t) => (T(), y("section", de, [
|
|
210
|
+
j.value ? (T(), _(k(ne), {
|
|
211
|
+
key: 0,
|
|
212
|
+
class: "runtime-log-view__error",
|
|
213
|
+
message: j.value
|
|
214
|
+
}, null, 8, ["message"])) : v("v-if", !0),
|
|
215
|
+
S(k(ee), {
|
|
216
|
+
class: "runtime-log-view__list",
|
|
217
|
+
context: k(l),
|
|
218
|
+
title: k(c).t("platform.screen.RuntimeLogView.runtime-logs", "程序日志"),
|
|
219
|
+
columns: ye.value,
|
|
220
|
+
"row-key": "name",
|
|
221
|
+
"show-recycle-bin": !1,
|
|
222
|
+
"standard-crud-actions": !1,
|
|
223
|
+
"page-size": 20,
|
|
224
|
+
"page-size-options": [
|
|
225
|
+
10,
|
|
226
|
+
20,
|
|
227
|
+
50
|
|
228
|
+
],
|
|
229
|
+
"empty-description": k(c).t("platform.screen.RuntimeLogView.no-log-files-available-in-the-current-log-directory", "当前日志目录中没有可用的日志文件"),
|
|
230
|
+
"row-actions-of": () => [],
|
|
231
|
+
"row-actions-title": k(c).t("platform.screen.RecordPermissionDialog.operation", "操作"),
|
|
232
|
+
"action-column-width": "176"
|
|
233
|
+
}, {
|
|
234
|
+
operations: A(() => [b("div", fe, [S(k(a), {
|
|
235
|
+
type: "primary",
|
|
236
|
+
"icon-name": "eye",
|
|
237
|
+
onClick: G
|
|
238
|
+
}, {
|
|
239
|
+
default: A(() => [x(O(k(c).t("platform.screen.RuntimeLogView.view-live-logs", "实时查看")), 1)]),
|
|
240
|
+
_: 1
|
|
241
|
+
})])]),
|
|
242
|
+
cell: A(({ column: e, record: t }) => [e.key === "sizeBytes" ? (T(), _(k(d), {
|
|
243
|
+
key: 0,
|
|
244
|
+
value: t.sizeBytes
|
|
245
|
+
}, null, 8, ["value"])) : e.key === "lastModifiedAt" ? (T(), _(k(ae), {
|
|
246
|
+
key: 1,
|
|
247
|
+
value: t.lastModifiedAt
|
|
248
|
+
}, null, 8, ["value"])) : e.key === "active" ? (T(), y("span", pe, O(t.active ? k(c).t("platform.screen.RuntimeLogView.active", "正在写入") : k(c).t("platform.workflow.archived", "已归档")), 1)) : (T(), y("span", me, O(t[e.key]), 1))]),
|
|
249
|
+
rowActions: A(({ record: e }) => [b("div", he, [e.active === !0 ? (T(), _(k(a), {
|
|
250
|
+
key: 0,
|
|
251
|
+
type: "link",
|
|
252
|
+
size: "small",
|
|
253
|
+
"icon-name": "eye",
|
|
254
|
+
onClick: G
|
|
255
|
+
}, {
|
|
256
|
+
default: A(() => [x(O(k(c).t("platform.screen.RuntimeLogView.view-live-logs", "实时查看")), 1)]),
|
|
257
|
+
_: 1
|
|
258
|
+
})) : v("v-if", !0), S(k(a), {
|
|
259
|
+
type: "link",
|
|
260
|
+
size: "small",
|
|
261
|
+
"icon-name": "download",
|
|
262
|
+
loading: N.value === e.name,
|
|
263
|
+
disabled: !!N.value && N.value !== e.name,
|
|
264
|
+
onClick: (t) => we(e)
|
|
265
|
+
}, {
|
|
266
|
+
default: A(() => [x(O(k(c).t("platform.screen.SingleImageFileReferenceField.download", "下载")), 1)]),
|
|
267
|
+
_: 1
|
|
268
|
+
}, 8, [
|
|
269
|
+
"loading",
|
|
270
|
+
"disabled",
|
|
271
|
+
"onClick"
|
|
272
|
+
])])]),
|
|
273
|
+
_: 1
|
|
274
|
+
}, 8, [
|
|
275
|
+
"context",
|
|
276
|
+
"title",
|
|
277
|
+
"columns",
|
|
278
|
+
"empty-description",
|
|
279
|
+
"row-actions-title"
|
|
280
|
+
]),
|
|
281
|
+
S(k(p), {
|
|
282
|
+
open: P.value,
|
|
283
|
+
title: F.value ? k(c).t("platform.screen.RuntimeLogView.live-logs-value", "实时日志 · {value1}", { value1: F.value }) : k(c).t("platform.screen.RuntimeLogView.live-logs", "实时日志"),
|
|
284
|
+
subtitle: _e.value,
|
|
285
|
+
width: "standard",
|
|
286
|
+
"render-mode": "inline",
|
|
287
|
+
dismissal: "dismissible",
|
|
288
|
+
onClose: xe
|
|
289
|
+
}, {
|
|
290
|
+
"header-actions": A(() => [ve.value ? (T(), _(k(oe), {
|
|
291
|
+
key: 0,
|
|
292
|
+
emphasis: "quiet",
|
|
293
|
+
"icon-name": "reload",
|
|
294
|
+
title: k(c).t("platform.screen.RuntimeLogView.reconnect", "重新连接"),
|
|
295
|
+
onClick: be
|
|
296
|
+
}, null, 8, ["title"])) : v("v-if", !0)]),
|
|
297
|
+
default: A(() => [b("div", {
|
|
298
|
+
ref_key: "logViewport",
|
|
299
|
+
ref: z,
|
|
300
|
+
class: "runtime-log-view__viewport",
|
|
301
|
+
onScroll: J
|
|
302
|
+
}, [I.value ? (T(), y("pre", ge, O(I.value), 1)) : (T(), _(k(r), {
|
|
303
|
+
key: 1,
|
|
304
|
+
description: L.value === "connecting" ? k(c).t("platform.screen.RuntimeLogView.reading-the-end-of-the-log", "正在读取日志末尾内容…") : k(c).t("platform.screen.RuntimeLogView.no-log-content", "暂无日志内容")
|
|
305
|
+
}, null, 8, ["description"]))], 544)]),
|
|
306
|
+
_: 1
|
|
307
|
+
}, 8, [
|
|
308
|
+
"open",
|
|
309
|
+
"title",
|
|
310
|
+
"subtitle"
|
|
311
|
+
])
|
|
312
|
+
]));
|
|
313
|
+
}
|
|
314
|
+
}), [["__scopeId", "data-v-0c62864e"]]);
|
|
315
|
+
//#endregion
|
|
316
|
+
export { N as default };
|