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