@ximatai/muyun-web-app 0.26.14 → 0.26.16
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-DVM_GB5y.js +18 -0
- package/dist/BusinessLogListDrawer-BciMLY9z.js +864 -0
- package/dist/ConfigurationTranslationView-B0FosDyz.js +197 -0
- package/dist/LoginAuditLogView-3tAozKlC.js +18 -0
- package/dist/ModuleActionManagementView-CJRNShGg.js +755 -0
- package/dist/ModuleGovernanceView-DsqR_Sj7.js +34098 -0
- package/dist/RequestErrorLogView-C4yH-TSX.js +18 -0
- package/dist/RoleDetailWorkspaceView-BpOoGUwS.js +1435 -0
- package/dist/RuntimeLogView-CoKKpJ39.js +316 -0
- package/dist/WorkflowAdministrationView-DmUV6vWS.js +650 -0
- package/dist/WorkflowConfigurationView-pghDbWEh.js +975 -0
- package/dist/WorkflowWorkbenchView-BwWxyDen.js +747 -0
- package/dist/es-BST-ixpj.js +22621 -0
- package/dist/index.css +1 -1
- package/dist/index.js +920 -738
- package/dist/moduleGovernanceWorkspaceView-DGEV3ZyT.js +667 -0
- package/dist/platform-components-Cl5ZZiuU.js +27139 -0
- package/dist/platform-workbench-CAHoriIf.js +20245 -0
- 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/useWorkbenchMenuRefresh.d.ts +4 -0
- package/dist/types/app/workbenchMenuRefresh.d.ts +14 -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 +4 -4
- package/dist/types/dynamic-page-runtime/ManagedDetailRelationSurface.vue.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/ModuleDataExchangeSurface.vue.d.ts +17 -0
- package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +464 -1240
- package/dist/types/dynamic-page-runtime/ModulePageDetailRelations.vue.d.ts +4 -3
- package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +859 -1566
- package/dist/types/dynamic-page-runtime/ModulePageListExpansionSurface.vue.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansion.vue.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansions.vue.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/ModulePageRecordContent.vue.d.ts +20 -3
- package/dist/types/dynamic-page-runtime/ModuleRecordDetailActions.vue.d.ts +7 -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/PageNavigatorExplorer.vue.d.ts +7 -5
- package/dist/types/dynamic-page-runtime/RecordFormSurface.vue.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/TenantScopeExplorer.vue.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/assistantBusinessScope.d.ts +3 -0
- package/dist/types/dynamic-page-runtime/assistantQueryCapabilities.d.ts +34 -0
- package/dist/types/dynamic-page-runtime/assistantRecordEditorPolicy.d.ts +2 -2
- package/dist/types/dynamic-page-runtime/composables/useModulePageBootstrap.d.ts +4 -3
- package/dist/types/dynamic-page-runtime/composables/useModulePageFormContributionRuntime.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +15 -1217
- package/dist/types/dynamic-page-runtime/formActionResult.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/formComputeCoordinator.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/formValidationCoordinator.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/modulePageAssistantScope.d.ts +13 -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 +18 -0
- package/dist/types/dynamic-page-runtime/recordDisplayProjection.d.ts +63 -0
- package/dist/types/dynamic-page-runtime/recordFormAssistantCapabilities.d.ts +60 -0
- package/dist/types/dynamic-page-runtime/recordFormDraftAccess.d.ts +36 -0
- package/dist/types/dynamic-page-runtime/recordMutationPayload.d.ts +2 -2
- package/dist/types/dynamic-page-runtime/recordReferenceDisplay.d.ts +8 -0
- package/dist/types/dynamic-page-runtime/recordSaveRecovery.d.ts +13 -0
- package/dist/types/dynamic-page-runtime/relationDraftAssistantCapabilities.d.ts +9 -0
- package/dist/types/dynamic-page-runtime/relationDraftController.d.ts +23 -0
- package/dist/types/dynamic-page-runtime/relationFormComputeCoordinator.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +246 -1227
- package/dist/types/dynamic-page-runtime/useModuleRecordDataChanges.d.ts +13 -0
- package/dist/types/formula/FormulaRuntime.d.ts +3 -1
- package/dist/types/platform-admin-runtime/backendHttp.d.ts +6 -1
- package/dist/types/platform-admin-runtime/index.d.ts +3 -1
- package/dist/types/platform-admin-runtime/module-menu/ModuleMenuEditor.vue.d.ts +17 -0
- package/dist/types/platform-admin-runtime/module-menu/ModuleMenuGovernanceSurface.vue.d.ts +6 -0
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuClient.d.ts +8 -4
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuReceiptStore.d.ts +6 -0
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuSession.d.ts +65 -0
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuWorkspace.d.ts +189 -0
- 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-admin-runtime/workspaceViewSessions.d.ts +1 -1
- package/dist/types/platform-components/BusinessNotificationPanel.vue.d.ts +34 -1
- package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +7 -11
- 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/DictionaryPicker.vue.d.ts +4 -2
- 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/ManagementPanelHeader.vue.d.ts +6 -4
- package/dist/types/platform-components/ManagementTabs.vue.d.ts +20 -0
- package/dist/types/platform-components/ModuleActionButton.vue.d.ts +2 -2
- package/dist/types/platform-components/ObjectPickerInput.vue.d.ts +2 -0
- package/dist/types/platform-components/QueryCriteriaComposer.vue.d.ts +1 -1
- package/dist/types/platform-components/QueryCriteriaGroupEditor.vue.d.ts +1 -1
- 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/RecordDetailDrawer.vue.d.ts +2 -2
- package/dist/types/platform-components/RecordDetailFields.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordExpandedSubtable.vue.d.ts +2 -2
- package/dist/types/platform-components/RecordExplorerPanel.vue.d.ts +15 -9
- package/dist/types/platform-components/RecordExplorerTools.vue.d.ts +27 -0
- package/dist/types/platform-components/RecordFileReferenceTransfer.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +6 -2
- 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 +6 -6
- package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +3 -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 +3 -1
- 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/platform-components/RecordRelationTabs.vue.d.ts +1 -0
- package/dist/types/platform-components/ReferencePicker.vue.d.ts +5 -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 +2 -0
- 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 +30 -0
- package/dist/types/platform-components/WorkflowTimeline.vue.d.ts +19 -0
- package/dist/types/platform-components/crudRecordListModel.d.ts +2 -1
- package/dist/types/platform-components/fileTransferUpload.d.ts +10 -0
- package/dist/types/platform-components/index.d.ts +15 -4
- package/dist/types/platform-components/optionFieldOptionCache.d.ts +1 -1
- 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/queryNumericValue.d.ts +3 -0
- 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 +23 -1
- package/dist/types/platform-components/recordPickerConstraints.d.ts +4 -1
- package/dist/types/platform-components/recordQueryListColumnModel.d.ts +6 -1
- package/dist/types/platform-components/recordQueryListQueryController.d.ts +19 -2
- package/dist/types/platform-components/recordQueryListStandardQuery.d.ts +3 -0
- package/dist/types/platform-components/recycleBinState.d.ts +20 -2
- package/dist/types/platform-components/referencePickerModel.d.ts +9 -0
- 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/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/ConstructionPlanCard.vue.d.ts +8 -0
- package/dist/types/platform-workbench/LanguageSelector.vue.d.ts +6 -0
- package/dist/types/platform-workbench/Workbench.vue.d.ts +9 -4
- package/dist/types/platform-workbench/WorkbenchAssistantPanel.vue.d.ts +7 -1
- package/dist/types/platform-workbench/WorkbenchMenu.vue.d.ts +1 -1
- package/dist/types/platform-workbench/assistantControlText.d.ts +19 -0
- package/dist/types/platform-workbench/configurationCollaboration.d.ts +23 -0
- package/dist/types/platform-workbench/constructionDelivery.d.ts +3 -0
- package/dist/types/platform-workbench/constructionFields.d.ts +5 -0
- package/dist/types/platform-workbench/constructionInitialization.d.ts +4 -0
- package/dist/types/platform-workbench/constructionPlanGuard.d.ts +22 -0
- package/dist/types/platform-workbench/constructionPlanSession.d.ts +103 -0
- package/dist/types/platform-workbench/constructionPresentation.d.ts +6 -0
- package/dist/types/platform-workbench/constructionReferenceDiscovery.d.ts +3 -0
- package/dist/types/platform-workbench/index.d.ts +2 -1
- package/dist/types/platform-workbench/menuNavigation.d.ts +7 -3
- package/dist/types/platform-workbench/menuTreeModel.d.ts +2 -1
- package/dist/types/platform-workbench/realtimeStatus.d.ts +2 -1
- package/dist/types/platform-workbench/useAssistantConversation.d.ts +452 -0
- package/dist/types/platform-workbench/useAssistantConversationArchive.d.ts +40 -0
- package/dist/types/platform-workbench/useWorkspaceViewUnsavedState.d.ts +1 -5
- package/dist/types/platform-workbench/workbenchAssistantCapabilities.d.ts +21 -1
- 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 +7 -5
- package/dist/types/views/ModuleRuntimeActivationStatus.vue.d.ts +11 -0
- package/dist/types/views/PageCompositionDescriptorPreview.vue.d.ts +8 -8
- package/dist/types/views/PageCompositionEditor.vue.d.ts +10 -0
- package/dist/types/views/PageCompositionTree.vue.d.ts +19 -13
- package/dist/types/views/PageQuerySummaryEditor.vue.d.ts +2 -2
- 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/WorkflowWorkbenchView.vue.d.ts +3 -0
- package/dist/types/views/businessLogClient.d.ts +5 -2
- package/dist/types/views/businessRuleAssistantSurface.d.ts +7 -0
- package/dist/types/views/businessRuleEditor.d.ts +23 -0
- package/dist/types/views/businessRuleGovernance.d.ts +20 -4
- package/dist/types/views/businessRuleSession.d.ts +64 -0
- package/dist/types/views/businessRuleWorkspace.d.ts +148 -0
- package/dist/types/views/configurationEditorNavigation.d.ts +3 -0
- 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 +11 -0
- package/dist/types/views/metadataEditorSession.d.ts +658 -0
- package/dist/types/views/metadataGovernanceAssistantSurface.d.ts +2 -120
- package/dist/types/views/metadataGovernanceEditor.d.ts +224 -0
- package/dist/types/views/metadataModelEditSession.d.ts +29 -3
- package/dist/types/views/metadataModelTree.d.ts +2 -1
- package/dist/types/views/metadataNaming.d.ts +10 -1
- package/dist/types/views/metadataOrchestrationState.d.ts +32 -9
- package/dist/types/views/metadataSourceTree.d.ts +3 -2
- package/dist/types/views/metadataWorkspace.d.ts +1323 -0
- package/dist/types/views/moduleGovernanceWorkspaceView.d.ts +1 -1
- package/dist/types/views/moduleRuntimeActivation.d.ts +11 -0
- package/dist/types/views/pageCompositionAssistantSurface.d.ts +29 -0
- package/dist/types/views/pageCompositionCandidate.d.ts +48 -0
- package/dist/types/views/pageCompositionComponents.d.ts +43 -0
- package/dist/types/views/pageCompositionDraftState.d.ts +297 -14
- package/dist/types/views/pageCompositionDragPayload.d.ts +7 -1
- package/dist/types/views/pageCompositionMode.d.ts +27 -3
- package/dist/types/views/pageCompositionPlacement.d.ts +6 -1
- package/dist/types/views/pageCompositionPublication.d.ts +39 -0
- package/dist/types/views/pageCompositionSession.d.ts +1374 -0
- package/dist/types/views/pageCompositionWorkspace.d.ts +2616 -0
- package/dist/types/views/roleAuthorizationWorkspaceSession.d.ts +1 -1
- package/dist/types/views/roleDetailWorkspaceSession.d.ts +1 -1
- package/dist/types/views/runtimeLogClient.d.ts +2 -2
- package/dist/types/views/usePageCompositionComponents.d.ts +69 -0
- 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/UiInput.vue.d.ts +1 -0
- package/dist/types/vue-ui-antdv/components/UiLanguageProvider.vue.d.ts +18 -0
- package/dist/types/vue-ui-antdv/components/UiModal.vue.d.ts +3 -3
- package/dist/types/vue-ui-antdv/components/UiRecordExplorerItem.vue.d.ts +2 -2
- package/dist/types/vue-ui-antdv/components/UiSearchInput.vue.d.ts +3 -1
- package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +3 -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 +9 -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 +3 -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 +6 -0
- package/dist/types/web-contracts/assistant.d.ts +29 -1
- package/dist/types/web-contracts/constructionPlan.d.ts +213 -0
- package/dist/types/web-contracts/index.d.ts +78 -0
- package/dist/types/web-contracts/operation.d.ts +33 -0
- package/dist/types/web-contracts/referenceTarget.d.ts +13 -0
- package/dist/types/web-contracts/workflow.d.ts +346 -0
- package/dist/types/web-core/actionResult.d.ts +3 -0
- package/dist/types/web-core/assistantCapabilityCatalog.d.ts +22 -0
- package/dist/types/web-core/assistantCatalogPage.d.ts +12 -0
- package/dist/types/web-core/assistantConfirmation.d.ts +24 -0
- package/dist/types/web-core/assistantConversationClient.d.ts +50 -0
- package/dist/types/web-core/assistantRuntime.d.ts +53 -7
- package/dist/types/web-core/assistantSurface.d.ts +80 -9
- package/dist/types/web-core/assistantTurnClient.d.ts +9 -1
- package/dist/types/web-core/constructionPlanClient.d.ts +55 -0
- package/dist/types/web-core/errors.d.ts +9 -3
- package/dist/types/web-core/http.d.ts +1 -0
- package/dist/types/web-core/index.d.ts +14 -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 +54 -0
- package/dist/types/web-core/module/index.d.ts +2 -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 +12 -2
- package/dist/types/web-core/operationConfirmation.d.ts +32 -0
- package/dist/types/web-core/operationErrors.d.ts +23 -0
- package/dist/types/web-core/operationReceipt.d.ts +10 -0
- package/dist/types/web-core/presentationTexts.d.ts +16 -0
- package/dist/types/web-core/sha256.d.ts +2 -0
- package/dist/types/web-core/uuid.d.ts +2 -0
- package/dist/types/web-core/workflow.d.ts +70 -0
- package/dist/types/web-core/workspaceUnsavedState.d.ts +6 -0
- package/dist/workspaceViews-BIYGPUAO.js +3437 -0
- package/package.json +2 -4
- package/dist/BusinessActivityLogView-BUg5WTm-.js +0 -16
- package/dist/BusinessLogListDrawer-BOTE_7aT.js +0 -825
- package/dist/LoginAuditLogView-DBNtvmIy.js +0 -16
- package/dist/ModuleActionManagementView-Bq1VO51Y.js +0 -673
- package/dist/ModuleGovernanceView-B8u4_erd.js +0 -29344
- package/dist/RequestErrorLogView-BrtH3ptj.js +0 -16
- package/dist/RoleDetailWorkspaceView-6LW3tLA1.js +0 -1397
- package/dist/RuntimeLogView-s3X5CdHB.js +0 -297
- package/dist/moduleGovernanceWorkspaceView-BRgJbUjJ.js +0 -40
- package/dist/platform-components-Dt859Hbr.js +0 -18627
- package/dist/platform-workbench-DfqFnlm-.js +0 -14701
- package/dist/rolldown-runtime-DPVXH0ON.js +0 -17
- package/dist/sse-mGbuCAax.js +0 -187
- package/dist/workspaceViews-DijY4n32.js +0 -3623
|
@@ -3,6 +3,7 @@ type __VLS_Props = {
|
|
|
3
3
|
nodes: UiTreeNode[];
|
|
4
4
|
title?: string;
|
|
5
5
|
embedded?: boolean;
|
|
6
|
+
utilityPlacement?: 'header' | 'toolbar';
|
|
6
7
|
searchKeyword?: string;
|
|
7
8
|
showSystemFields?: boolean;
|
|
8
9
|
searchable?: boolean;
|
|
@@ -11,9 +12,11 @@ type __VLS_Props = {
|
|
|
11
12
|
unavailable?: boolean;
|
|
12
13
|
unavailableDescription?: string;
|
|
13
14
|
};
|
|
14
|
-
declare var
|
|
15
|
+
declare var __VLS_12: {}, __VLS_37: {};
|
|
15
16
|
type __VLS_Slots = {} & {
|
|
16
|
-
|
|
17
|
+
title?: (props: typeof __VLS_12) => any;
|
|
18
|
+
} & {
|
|
19
|
+
default?: (props: typeof __VLS_37) => any;
|
|
17
20
|
};
|
|
18
21
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
22
|
refresh: () => any;
|
|
@@ -24,15 +27,14 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
24
27
|
"onUpdate:searchKeyword"?: ((value: string) => any) | undefined;
|
|
25
28
|
"onUpdate:showSystemFields"?: ((value: boolean) => any) | undefined;
|
|
26
29
|
}>, {
|
|
27
|
-
title: string;
|
|
28
30
|
loading: boolean;
|
|
29
31
|
unavailable: boolean;
|
|
30
32
|
embedded: boolean;
|
|
33
|
+
searchable: boolean;
|
|
31
34
|
refreshDisabled: boolean;
|
|
32
35
|
searchKeyword: string;
|
|
33
|
-
|
|
36
|
+
utilityPlacement: "header" | "toolbar";
|
|
34
37
|
showSystemFields: boolean;
|
|
35
|
-
unavailableDescription: string;
|
|
36
38
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
37
39
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
38
40
|
declare const _default: typeof __VLS_export;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type ModuleActivationFeedback } from './moduleRuntimeActivation';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
moduleAlias: string;
|
|
4
|
+
reloadKey?: number;
|
|
5
|
+
};
|
|
6
|
+
declare function load(): Promise<ModuleActivationFeedback | undefined>;
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
8
|
+
refresh: typeof load;
|
|
9
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
@@ -24,10 +24,6 @@ type __VLS_Props = {
|
|
|
24
24
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
25
|
selectField: (slot: PreviewSlot, fieldName: string) => any;
|
|
26
26
|
configureField: (slot: PreviewSlot, fieldName: string) => any;
|
|
27
|
-
configureRelationField: (relationCode: string, fieldName: string) => any;
|
|
28
|
-
configureAction: (anchor: "page" | "form" | "detail", actionCode: string) => any;
|
|
29
|
-
configureSummaries: () => any;
|
|
30
|
-
"placement-drop": (source: CompositionPlacementSource, target: CompositionPlacementTarget) => any;
|
|
31
27
|
"action-drop": (source: {
|
|
32
28
|
actionCode: string;
|
|
33
29
|
sourceAnchor?: "page" | "detail" | "form";
|
|
@@ -35,13 +31,13 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
35
31
|
anchor: "page" | "detail" | "form";
|
|
36
32
|
index: number;
|
|
37
33
|
}) => any;
|
|
34
|
+
configureRelationField: (relationCode: string, fieldName: string) => any;
|
|
35
|
+
configureAction: (anchor: "form" | "page" | "detail", actionCode: string) => any;
|
|
36
|
+
configureSummaries: () => any;
|
|
37
|
+
"placement-drop": (source: CompositionPlacementSource, target: CompositionPlacementTarget) => any;
|
|
38
38
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
39
39
|
onSelectField?: ((slot: PreviewSlot, fieldName: string) => any) | undefined;
|
|
40
40
|
onConfigureField?: ((slot: PreviewSlot, fieldName: string) => any) | undefined;
|
|
41
|
-
onConfigureRelationField?: ((relationCode: string, fieldName: string) => any) | undefined;
|
|
42
|
-
onConfigureAction?: ((anchor: "page" | "form" | "detail", actionCode: string) => any) | undefined;
|
|
43
|
-
onConfigureSummaries?: (() => any) | undefined;
|
|
44
|
-
"onPlacement-drop"?: ((source: CompositionPlacementSource, target: CompositionPlacementTarget) => any) | undefined;
|
|
45
41
|
"onAction-drop"?: ((source: {
|
|
46
42
|
actionCode: string;
|
|
47
43
|
sourceAnchor?: "page" | "detail" | "form";
|
|
@@ -49,6 +45,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
49
45
|
anchor: "page" | "detail" | "form";
|
|
50
46
|
index: number;
|
|
51
47
|
}) => any) | undefined;
|
|
48
|
+
onConfigureRelationField?: ((relationCode: string, fieldName: string) => any) | undefined;
|
|
49
|
+
onConfigureAction?: ((anchor: "form" | "page" | "detail", actionCode: string) => any) | undefined;
|
|
50
|
+
onConfigureSummaries?: (() => any) | undefined;
|
|
51
|
+
"onPlacement-drop"?: ((source: CompositionPlacementSource, target: CompositionPlacementTarget) => any) | undefined;
|
|
52
52
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
53
53
|
declare const _default: typeof __VLS_export;
|
|
54
54
|
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { PageCompositionSession } from './pageCompositionSession';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
session: PageCompositionSession;
|
|
4
|
+
retained?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
7
|
+
retained: boolean;
|
|
8
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
@@ -2,6 +2,9 @@ import { type CompositionSkeleton, type PageCompositionActionPlacement } from '.
|
|
|
2
2
|
import { type PageComposerFormItem, type PageComposerField, type PageComposerGroup, type PageComposerRelation, type PageQuerySummary } from './pageCompositionDraftState';
|
|
3
3
|
import { type PageCompositionDragPayload } from './pageCompositionDragPayload';
|
|
4
4
|
type __VLS_Props = {
|
|
5
|
+
layoutTitle?: string;
|
|
6
|
+
hideList?: boolean;
|
|
7
|
+
separateDetail?: boolean;
|
|
5
8
|
skeleton?: CompositionSkeleton;
|
|
6
9
|
explorerTitle?: string;
|
|
7
10
|
searchableFieldIds?: string[];
|
|
@@ -32,7 +35,7 @@ type __VLS_Props = {
|
|
|
32
35
|
selectedKey?: string;
|
|
33
36
|
disabled?: boolean;
|
|
34
37
|
};
|
|
35
|
-
type ComposerNodeAction = 'configure' | 'remove' | 'add-group' | 'toggle-visibility';
|
|
38
|
+
type ComposerNodeAction = 'configure' | 'remove' | 'add-group' | 'toggle-visibility' | 'split-layout' | 'merge-layout';
|
|
36
39
|
export type ComposerDropTarget = ({
|
|
37
40
|
kind: 'explorer-title' | 'explorer-secondary' | 'quick-search';
|
|
38
41
|
} | {
|
|
@@ -54,13 +57,6 @@ export type ComposerDropTarget = ({
|
|
|
54
57
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
55
58
|
select: (key: string) => any;
|
|
56
59
|
"double-click": (key: string) => any;
|
|
57
|
-
"action-drop": (source: {
|
|
58
|
-
actionCode: string;
|
|
59
|
-
sourceAnchor?: PageCompositionActionPlacement["anchor"];
|
|
60
|
-
}, target: {
|
|
61
|
-
anchor: PageCompositionActionPlacement["anchor"];
|
|
62
|
-
index: number;
|
|
63
|
-
}) => any;
|
|
64
60
|
"node-action": (action: ComposerNodeAction, key: string) => any;
|
|
65
61
|
"reorder-list-field": (fieldId: string, targetIndex: number) => any;
|
|
66
62
|
"reorder-form-field": (fieldId: string, targetIndex: number) => any;
|
|
@@ -72,16 +68,16 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
72
68
|
"reorder-relation-field": (relationId: string, fieldId: string, targetIndex: number) => any;
|
|
73
69
|
"reorder-query-summary": (summaryKey: string, targetIndex: number) => any;
|
|
74
70
|
"source-drop": (target: ComposerDropTarget, payload: PageCompositionDragPayload) => any;
|
|
75
|
-
|
|
76
|
-
onSelect?: ((key: string) => any) | undefined;
|
|
77
|
-
"onDouble-click"?: ((key: string) => any) | undefined;
|
|
78
|
-
"onAction-drop"?: ((source: {
|
|
71
|
+
"action-drop": (source: {
|
|
79
72
|
actionCode: string;
|
|
80
73
|
sourceAnchor?: PageCompositionActionPlacement["anchor"];
|
|
81
74
|
}, target: {
|
|
82
75
|
anchor: PageCompositionActionPlacement["anchor"];
|
|
83
76
|
index: number;
|
|
84
|
-
}) => any
|
|
77
|
+
}) => any;
|
|
78
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
79
|
+
onSelect?: ((key: string) => any) | undefined;
|
|
80
|
+
"onDouble-click"?: ((key: string) => any) | undefined;
|
|
85
81
|
"onNode-action"?: ((action: ComposerNodeAction, key: string) => any) | undefined;
|
|
86
82
|
"onReorder-list-field"?: ((fieldId: string, targetIndex: number) => any) | undefined;
|
|
87
83
|
"onReorder-form-field"?: ((fieldId: string, targetIndex: number) => any) | undefined;
|
|
@@ -93,10 +89,20 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
93
89
|
"onReorder-relation-field"?: ((relationId: string, fieldId: string, targetIndex: number) => any) | undefined;
|
|
94
90
|
"onReorder-query-summary"?: ((summaryKey: string, targetIndex: number) => any) | undefined;
|
|
95
91
|
"onSource-drop"?: ((target: ComposerDropTarget, payload: PageCompositionDragPayload) => any) | undefined;
|
|
92
|
+
"onAction-drop"?: ((source: {
|
|
93
|
+
actionCode: string;
|
|
94
|
+
sourceAnchor?: PageCompositionActionPlacement["anchor"];
|
|
95
|
+
}, target: {
|
|
96
|
+
anchor: PageCompositionActionPlacement["anchor"];
|
|
97
|
+
index: number;
|
|
98
|
+
}) => any) | undefined;
|
|
96
99
|
}>, {
|
|
97
100
|
disabled: boolean;
|
|
98
101
|
selectedKey: string;
|
|
99
102
|
editorMode: "fields" | "actions";
|
|
103
|
+
layoutTitle: string;
|
|
104
|
+
hideList: boolean;
|
|
105
|
+
separateDetail: boolean;
|
|
100
106
|
formOrder: PageComposerFormItem[];
|
|
101
107
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
102
108
|
declare const _default: typeof __VLS_export;
|
|
@@ -32,17 +32,17 @@ type __VLS_Props = {
|
|
|
32
32
|
descriptions?: Record<string, string>;
|
|
33
33
|
};
|
|
34
34
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
35
|
+
retry: () => any;
|
|
35
36
|
move: (index: number, offset: number) => any;
|
|
36
37
|
add: (source: PageQuerySummarySource) => any;
|
|
37
38
|
remove: (index: number) => any;
|
|
38
39
|
update: (index: number, patch: Partial<PageQuerySummary>) => any;
|
|
39
|
-
retry: () => any;
|
|
40
40
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
41
|
+
onRetry?: (() => any) | undefined;
|
|
41
42
|
onMove?: ((index: number, offset: number) => any) | undefined;
|
|
42
43
|
onAdd?: ((source: PageQuerySummarySource) => any) | undefined;
|
|
43
44
|
onRemove?: ((index: number) => any) | undefined;
|
|
44
45
|
onUpdate?: ((index: number, patch: Partial<PageQuerySummary>) => any) | undefined;
|
|
45
|
-
onRetry?: (() => any) | undefined;
|
|
46
46
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
47
47
|
declare const _default: typeof __VLS_export;
|
|
48
48
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Role } from '../web-contracts/index';
|
|
2
1
|
import { type ModuleContext } from '../web-core/index';
|
|
2
|
+
import type { Role } from '../web-contracts/index';
|
|
3
3
|
import type { ModulePageDrawerContext } from '../dynamic-page-runtime/index';
|
|
4
4
|
type __VLS_Props = {
|
|
5
5
|
roleId?: string;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
moduleAlias: string;
|
|
3
|
+
moduleTitle?: string;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type { WebQueryRequest } from '../web-contracts/index';
|
|
1
|
+
import { type HttpClient, type LanguageContext } from '../web-core/index';
|
|
2
|
+
import type { TextReference, WebQueryRequest } from '../web-contracts/index';
|
|
3
3
|
export type BusinessLogSurface = 'activity' | 'request-error' | 'login';
|
|
4
4
|
export interface BusinessLogOperatorIdentity {
|
|
5
5
|
employeeName?: string;
|
|
@@ -34,6 +34,7 @@ export interface BusinessLogEventView {
|
|
|
34
34
|
export interface BusinessLogStatisticItem {
|
|
35
35
|
key: string;
|
|
36
36
|
title: string;
|
|
37
|
+
titleSource?: TextReference;
|
|
37
38
|
count: number;
|
|
38
39
|
[key: string]: unknown;
|
|
39
40
|
}
|
|
@@ -86,3 +87,5 @@ export interface BusinessLogClient {
|
|
|
86
87
|
diagnostic?(eventId: string): Promise<Record<string, unknown>>;
|
|
87
88
|
}
|
|
88
89
|
export declare function createBusinessLogClient(http: HttpClient, surface: BusinessLogSurface): BusinessLogClient;
|
|
90
|
+
/** Only labels explicitly produced by the statistics adapter are platform text. */
|
|
91
|
+
export declare function businessLogStatisticTitle(item: BusinessLogStatisticItem, language: LanguageContext): string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type LanguageContext, type AssistantCapability, type AssistantSurface, type AssistantTurnRequester } from '../web-core/index';
|
|
2
|
+
import type { BusinessRuleProposal } from './businessRuleGovernance';
|
|
3
|
+
import type { BusinessRuleTrialInput, BusinessRuleEditor as BusinessRuleAssistantAdapter } from './businessRuleEditor';
|
|
4
|
+
export type { BusinessRuleTrialInput, BusinessRuleEditor as BusinessRuleAssistantAdapter, } from './businessRuleEditor';
|
|
5
|
+
export declare function parseBusinessRuleProposal(input: unknown, language?: LanguageContext): BusinessRuleProposal;
|
|
6
|
+
export declare function parseBusinessRuleTrial(input: unknown, language?: LanguageContext): BusinessRuleTrialInput;
|
|
7
|
+
export declare function createBusinessRuleAssistantSurface(adapter: BusinessRuleAssistantAdapter, requestTurn: AssistantTurnRequester, contributed?: () => AssistantCapability[]): AssistantSurface;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { LanguageContext, OperationProposal } from '../web-core/index';
|
|
2
|
+
import type { BusinessRuleProposal, BusinessRulePreview, BusinessRuleTrialResult } from './businessRuleGovernance';
|
|
3
|
+
export interface BusinessRuleTrialInput {
|
|
4
|
+
sampleValues: Record<string, unknown>;
|
|
5
|
+
sampleChildren: Record<string, Record<string, unknown>[]>;
|
|
6
|
+
}
|
|
7
|
+
export interface BusinessRuleEditor {
|
|
8
|
+
readonly language?: LanguageContext;
|
|
9
|
+
summary(): {
|
|
10
|
+
moduleAlias: string;
|
|
11
|
+
title?: string;
|
|
12
|
+
editable: boolean;
|
|
13
|
+
factsAvailable?: boolean;
|
|
14
|
+
hasUnappliedChanges?: boolean;
|
|
15
|
+
submissionStatus?: 'idle' | 'unknown' | 'current-read';
|
|
16
|
+
};
|
|
17
|
+
readCurrent?(signal?: AbortSignal, commit?: (accept: () => void) => void): Promise<void>;
|
|
18
|
+
catalog(section: string): unknown[];
|
|
19
|
+
revise(rule: BusinessRuleProposal): void;
|
|
20
|
+
preview(signal: AbortSignal): Promise<BusinessRulePreview>;
|
|
21
|
+
trial(input: BusinessRuleTrialInput, signal: AbortSignal): Promise<BusinessRuleTrialResult>;
|
|
22
|
+
prepareConfirmation(signal: AbortSignal): Promise<OperationProposal>;
|
|
23
|
+
}
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
+
import { type LanguageContext, type OperationErrorMessage } from '../web-core/index';
|
|
2
|
+
import type { TextPresentation } from '../web-contracts/index';
|
|
1
3
|
export type BusinessRuleKind = 'CALCULATION' | 'VALIDATION' | 'UI_CONTROL';
|
|
4
|
+
/** Save-validation behavior shared by manual editing and assistant rule inputs. */
|
|
5
|
+
export declare const businessRuleValidationHelp = "\u516C\u5F0F\u4E3A\u771F\u65F6\u5141\u8BB8\u4FDD\u5B58\uFF0C\u4E3A\u5047\u65F6\u963B\u6B62\u4FDD\u5B58\u5E76\u663E\u793A\u5931\u8D25\u63D0\u793A\uFF1B\u5F53\u524D\u7F16\u8F91\u5668\u4E0D\u652F\u6301\u53EA\u63D0\u9192\u800C\u4ECD\u5141\u8BB8\u4FDD\u5B58\u7684\u89C4\u5219\u3002";
|
|
6
|
+
export declare function businessRuleValidationHelpText(language?: LanguageContext): string;
|
|
2
7
|
export interface BusinessRuleEditableField {
|
|
3
8
|
fieldName: string;
|
|
4
9
|
title: string;
|
|
@@ -31,6 +36,7 @@ export interface BusinessRuleReferenceField {
|
|
|
31
36
|
export interface BusinessRuleFormulaParameter {
|
|
32
37
|
name: string;
|
|
33
38
|
description: string;
|
|
39
|
+
descriptionText?: TextPresentation;
|
|
34
40
|
}
|
|
35
41
|
/** A portable formula capability. A server catalogue can replace this list without changing the surface. */
|
|
36
42
|
export interface BusinessRuleFormulaCapability {
|
|
@@ -55,22 +61,26 @@ export interface BusinessRuleFormulaCatalogEntry {
|
|
|
55
61
|
name: string;
|
|
56
62
|
category?: string;
|
|
57
63
|
title?: string;
|
|
64
|
+
titleText?: TextPresentation;
|
|
58
65
|
description?: string;
|
|
66
|
+
descriptionText?: TextPresentation;
|
|
67
|
+
categoryText?: TextPresentation;
|
|
59
68
|
parameters?: BusinessRuleFormulaParameter[];
|
|
60
69
|
returnType?: string;
|
|
61
70
|
example?: string;
|
|
62
71
|
}
|
|
72
|
+
export declare function localizedPortableFormulaCapabilities(language?: LanguageContext): readonly BusinessRuleFormulaCapability[];
|
|
63
73
|
export declare const portableFormulaCapabilities: readonly BusinessRuleFormulaCapability[];
|
|
64
|
-
export declare function normalizeFormulaCapabilities(entries: readonly (BusinessRuleFormulaCapability | BusinessRuleFormulaCatalogEntry)[] | undefined): BusinessRuleFormulaCapability[];
|
|
74
|
+
export declare function normalizeFormulaCapabilities(entries: readonly (BusinessRuleFormulaCapability | BusinessRuleFormulaCatalogEntry)[] | undefined, language?: LanguageContext): BusinessRuleFormulaCapability[];
|
|
65
75
|
export declare function searchableFormulaCapabilities(capabilities: readonly BusinessRuleFormulaCapability[], keyword: string): BusinessRuleFormulaCapability[];
|
|
66
76
|
/** Root fields that cannot safely become scalar formula input have a visible, deterministic reason. */
|
|
67
|
-
export declare function formulaFieldUnusableReason(field: BusinessRuleReferenceField): string | undefined;
|
|
77
|
+
export declare function formulaFieldUnusableReason(field: BusinessRuleReferenceField, language?: LanguageContext): string | undefined;
|
|
68
78
|
/**
|
|
69
79
|
* Prevents a child field from being inserted as a scalar or into an aggregate whose value type
|
|
70
80
|
* cannot consume it. The server remains authoritative; this only keeps authoring feedback close
|
|
71
81
|
* to the attempted insertion.
|
|
72
82
|
*/
|
|
73
|
-
export declare function aggregateFieldInsertionReason(field: BusinessRuleReferenceField, expression: string, selectionStart: number): string | undefined;
|
|
83
|
+
export declare function aggregateFieldInsertionReason(field: BusinessRuleReferenceField, expression: string, selectionStart: number, childTargets?: readonly string[], language?: LanguageContext): string | undefined;
|
|
74
84
|
export interface UiControlTarget {
|
|
75
85
|
elementKey: string;
|
|
76
86
|
hide: boolean;
|
|
@@ -122,6 +132,8 @@ export interface BusinessRuleSnapshot {
|
|
|
122
132
|
}>;
|
|
123
133
|
/** Direct child fields, which may only appear within a child aggregation function. */
|
|
124
134
|
aggregateFields?: BusinessRuleEditableField[];
|
|
135
|
+
/** Writable direct-child targets; never reference target fields. */
|
|
136
|
+
childFields?: BusinessRuleEditableField[];
|
|
125
137
|
/** Additive portable function directory emitted by the server. */
|
|
126
138
|
functions?: BusinessRuleFormulaCatalogEntry[];
|
|
127
139
|
rules: BusinessRuleSnapshotRule[];
|
|
@@ -137,11 +149,13 @@ export interface BusinessRuleProposal {
|
|
|
137
149
|
messageTemplate?: string;
|
|
138
150
|
}
|
|
139
151
|
export interface BusinessRuleIssue {
|
|
152
|
+
readonly messageSources?: readonly OperationErrorMessage[];
|
|
140
153
|
code: string;
|
|
141
154
|
ruleCode?: string;
|
|
142
155
|
field?: string;
|
|
143
156
|
message: string;
|
|
144
157
|
}
|
|
158
|
+
export declare function businessRuleIssueMessage(issue: BusinessRuleIssue, language?: LanguageContext): string;
|
|
145
159
|
export interface BusinessRulePreview {
|
|
146
160
|
snapshot: BusinessRuleSnapshot;
|
|
147
161
|
proposalFingerprint: string;
|
|
@@ -152,8 +166,10 @@ export interface BusinessRuleTrialResult {
|
|
|
152
166
|
preview: BusinessRulePreview;
|
|
153
167
|
values: Record<string, unknown>;
|
|
154
168
|
changedFields: string[];
|
|
169
|
+
children?: Record<string, Record<string, unknown>[]>;
|
|
155
170
|
errors: BusinessRuleIssue[];
|
|
156
171
|
}
|
|
172
|
+
export declare function businessRuleTrialValue(result: Pick<BusinessRuleTrialResult, 'values' | 'children'>, field: string): unknown;
|
|
157
173
|
export interface BusinessRuleApplyResult {
|
|
158
174
|
snapshot: BusinessRuleSnapshot;
|
|
159
175
|
preview: BusinessRulePreview;
|
|
@@ -197,5 +213,5 @@ export declare function presentableFormulaExpression(expression: string, fields:
|
|
|
197
213
|
*/
|
|
198
214
|
export declare function externalTrialInputFields(fields: readonly BusinessRuleEditableField[], rules: readonly BusinessRuleProposal[]): BusinessRuleEditableField[];
|
|
199
215
|
export declare function filterBusinessRuleFields(fields: readonly BusinessRuleEditableField[], keyword: string): BusinessRuleEditableField[];
|
|
200
|
-
export declare function formulaTemplates(kind: BusinessRuleKind, fields: readonly BusinessRuleEditableField[], targetField?: string): BusinessRuleFormulaTemplate[];
|
|
216
|
+
export declare function formulaTemplates(kind: BusinessRuleKind, fields: readonly BusinessRuleEditableField[], targetField?: string, language?: LanguageContext): BusinessRuleFormulaTemplate[];
|
|
201
217
|
export declare function businessRuleChangeImpact(snapshot: BusinessRuleSnapshot, proposals: readonly BusinessRuleProposal[]): BusinessRuleChangeImpact;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { type LanguageContext, OperationUsageError, type HttpClient } from '../web-core/index';
|
|
2
|
+
import { type BusinessRuleSnapshot, type UiControlSnapshot, type BusinessRuleProposal, type BusinessRuleTrialResult, type BusinessRuleIssue } from './businessRuleGovernance';
|
|
3
|
+
import type { BusinessRuleEditor, BusinessRuleTrialInput } from './businessRuleEditor';
|
|
4
|
+
export declare class BusinessRulePrecheckError extends OperationUsageError {
|
|
5
|
+
readonly issues: BusinessRuleIssue[];
|
|
6
|
+
constructor(issues: BusinessRuleIssue[], language?: LanguageContext);
|
|
7
|
+
}
|
|
8
|
+
/** One in-memory candidate shared by manual editing and conversation; server baselines remain authoritative. */
|
|
9
|
+
export declare function createBusinessRuleSession(http: HttpClient, moduleAlias: string, ownerValid?: () => boolean, confirmationScope?: () => boolean, language?: LanguageContext): {
|
|
10
|
+
language: LanguageContext;
|
|
11
|
+
moduleAlias: string;
|
|
12
|
+
dispose(): void;
|
|
13
|
+
invalidateConfirmations: () => number;
|
|
14
|
+
snapshot: import("vue").Ref<BusinessRuleSnapshot | undefined, BusinessRuleSnapshot | undefined>;
|
|
15
|
+
ready: import("vue").ComputedRef<boolean>;
|
|
16
|
+
ui: import("vue").Ref<UiControlSnapshot | undefined, UiControlSnapshot | undefined>;
|
|
17
|
+
rules: import("vue").Ref<{
|
|
18
|
+
formKey?: string | undefined;
|
|
19
|
+
targets?: {
|
|
20
|
+
elementKey: string;
|
|
21
|
+
hide: boolean;
|
|
22
|
+
readOnly: boolean;
|
|
23
|
+
}[] | undefined;
|
|
24
|
+
code: string;
|
|
25
|
+
kind: import("./businessRuleGovernance").BusinessRuleKind;
|
|
26
|
+
targetField?: string | undefined;
|
|
27
|
+
expression: string;
|
|
28
|
+
enabled: boolean;
|
|
29
|
+
messageTemplate?: string | undefined;
|
|
30
|
+
}[], BusinessRuleProposal[] | {
|
|
31
|
+
formKey?: string | undefined;
|
|
32
|
+
targets?: {
|
|
33
|
+
elementKey: string;
|
|
34
|
+
hide: boolean;
|
|
35
|
+
readOnly: boolean;
|
|
36
|
+
}[] | undefined;
|
|
37
|
+
code: string;
|
|
38
|
+
kind: import("./businessRuleGovernance").BusinessRuleKind;
|
|
39
|
+
targetField?: string | undefined;
|
|
40
|
+
expression: string;
|
|
41
|
+
enabled: boolean;
|
|
42
|
+
messageTemplate?: string | undefined;
|
|
43
|
+
}[]>;
|
|
44
|
+
loading: import("vue").Ref<boolean, boolean>;
|
|
45
|
+
loadFailed: import("vue").Ref<boolean, boolean>;
|
|
46
|
+
committedNeedsReload: import("vue").Ref<boolean, boolean>;
|
|
47
|
+
submissionStatus: import("vue").Ref<"unknown" | "idle" | "current-read", "unknown" | "idle" | "current-read">;
|
|
48
|
+
applying: import("vue").Ref<boolean, boolean>;
|
|
49
|
+
tenantId: import("vue").Ref<string, string>;
|
|
50
|
+
revision: import("vue").Ref<number, number>;
|
|
51
|
+
dirty: import("vue").ComputedRef<boolean>;
|
|
52
|
+
editing: import("vue").Ref<boolean, boolean>;
|
|
53
|
+
adapter: BusinessRuleEditor;
|
|
54
|
+
load: (force?: boolean, commit?: (accept: () => void) => void) => Promise<void>;
|
|
55
|
+
replace: (next: BusinessRuleProposal[]) => void;
|
|
56
|
+
discard: () => void;
|
|
57
|
+
apply: (stillCurrent?: () => boolean) => Promise<{
|
|
58
|
+
synchronized: boolean;
|
|
59
|
+
} | undefined>;
|
|
60
|
+
readCurrent: (signal?: AbortSignal, commit?: (accept: () => void) => void) => Promise<void>;
|
|
61
|
+
trial: (input: BusinessRuleTrialInput, signal?: AbortSignal) => Promise<BusinessRuleTrialResult>;
|
|
62
|
+
setEditing(owner: symbol, value: boolean): void;
|
|
63
|
+
};
|
|
64
|
+
export type BusinessRuleSession = ReturnType<typeof createBusinessRuleSession>;
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import { type LanguageContext, type AssistantInvocationToken, type AssistantCapability, type AssistantConfigurationEditor, type HttpClient } from '../web-core/index';
|
|
2
|
+
import { type BusinessRuleSession } from './businessRuleSession';
|
|
3
|
+
export declare function createBusinessRuleWorkspace(http: HttpClient, identity: () => string, enabled: () => boolean, openRules?: (moduleAlias: string) => void, onFocus?: () => void, language?: LanguageContext): {
|
|
4
|
+
language: LanguageContext;
|
|
5
|
+
session: (moduleAlias: string) => {
|
|
6
|
+
language: LanguageContext;
|
|
7
|
+
moduleAlias: string;
|
|
8
|
+
dispose(): void;
|
|
9
|
+
invalidateConfirmations: () => number;
|
|
10
|
+
snapshot: import("vue").Ref<import("./businessRuleGovernance").BusinessRuleSnapshot | undefined, import("./businessRuleGovernance").BusinessRuleSnapshot | undefined>;
|
|
11
|
+
ready: import("vue").ComputedRef<boolean>;
|
|
12
|
+
ui: import("vue").Ref<import("./businessRuleGovernance").UiControlSnapshot | undefined, import("./businessRuleGovernance").UiControlSnapshot | undefined>;
|
|
13
|
+
rules: import("vue").Ref<{
|
|
14
|
+
formKey?: string | undefined;
|
|
15
|
+
targets?: {
|
|
16
|
+
elementKey: string;
|
|
17
|
+
hide: boolean;
|
|
18
|
+
readOnly: boolean;
|
|
19
|
+
}[] | undefined;
|
|
20
|
+
code: string;
|
|
21
|
+
kind: import("./businessRuleGovernance").BusinessRuleKind;
|
|
22
|
+
targetField?: string | undefined;
|
|
23
|
+
expression: string;
|
|
24
|
+
enabled: boolean;
|
|
25
|
+
messageTemplate?: string | undefined;
|
|
26
|
+
}[], import("./businessRuleGovernance").BusinessRuleProposal[] | {
|
|
27
|
+
formKey?: string | undefined;
|
|
28
|
+
targets?: {
|
|
29
|
+
elementKey: string;
|
|
30
|
+
hide: boolean;
|
|
31
|
+
readOnly: boolean;
|
|
32
|
+
}[] | undefined;
|
|
33
|
+
code: string;
|
|
34
|
+
kind: import("./businessRuleGovernance").BusinessRuleKind;
|
|
35
|
+
targetField?: string | undefined;
|
|
36
|
+
expression: string;
|
|
37
|
+
enabled: boolean;
|
|
38
|
+
messageTemplate?: string | undefined;
|
|
39
|
+
}[]>;
|
|
40
|
+
loading: import("vue").Ref<boolean, boolean>;
|
|
41
|
+
loadFailed: import("vue").Ref<boolean, boolean>;
|
|
42
|
+
committedNeedsReload: import("vue").Ref<boolean, boolean>;
|
|
43
|
+
submissionStatus: import("vue").Ref<"unknown" | "idle" | "current-read", "unknown" | "idle" | "current-read">;
|
|
44
|
+
applying: import("vue").Ref<boolean, boolean>;
|
|
45
|
+
tenantId: import("vue").Ref<string, string>;
|
|
46
|
+
revision: import("vue").Ref<number, number>;
|
|
47
|
+
dirty: import("vue").ComputedRef<boolean>;
|
|
48
|
+
editing: import("vue").Ref<boolean, boolean>;
|
|
49
|
+
adapter: import("./businessRuleEditor").BusinessRuleEditor;
|
|
50
|
+
load: (force?: boolean, commit?: (accept: () => void) => void) => Promise<void>;
|
|
51
|
+
replace: (next: import("./businessRuleGovernance").BusinessRuleProposal[]) => void;
|
|
52
|
+
discard: () => void;
|
|
53
|
+
apply: (stillCurrent?: () => boolean) => Promise<{
|
|
54
|
+
synchronized: boolean;
|
|
55
|
+
} | undefined>;
|
|
56
|
+
readCurrent: (signal?: AbortSignal, commit?: (accept: () => void) => void) => Promise<void>;
|
|
57
|
+
trial: (input: import("./businessRuleEditor").BusinessRuleTrialInput, signal?: AbortSignal) => Promise<import("./businessRuleGovernance").BusinessRuleTrialResult>;
|
|
58
|
+
setEditing(owner: symbol, value: boolean): void;
|
|
59
|
+
};
|
|
60
|
+
focus: (value: BusinessRuleSession) => void;
|
|
61
|
+
dispose(): void;
|
|
62
|
+
showEditor(value: BusinessRuleSession): void;
|
|
63
|
+
hideEditor(value: BusinessRuleSession): void;
|
|
64
|
+
editor(): AssistantConfigurationEditor | undefined;
|
|
65
|
+
clearFocus(): void;
|
|
66
|
+
current(): {
|
|
67
|
+
revision: string;
|
|
68
|
+
facts: {
|
|
69
|
+
ruleConfiguration: import("../web-contracts").AssistantSurfaceContext | undefined;
|
|
70
|
+
draftLifetime: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
capabilities(settleNavigation?: (signal?: AbortSignal) => Promise<void | AssistantInvocationToken>): AssistantCapability[];
|
|
74
|
+
};
|
|
75
|
+
export type BusinessRuleWorkspace = ReturnType<typeof createBusinessRuleWorkspace>;
|
|
76
|
+
export declare function provideBusinessRuleWorkspace(workspace: BusinessRuleWorkspace): void;
|
|
77
|
+
export declare function useBusinessRuleWorkspace(): {
|
|
78
|
+
language: LanguageContext;
|
|
79
|
+
session: (moduleAlias: string) => {
|
|
80
|
+
language: LanguageContext;
|
|
81
|
+
moduleAlias: string;
|
|
82
|
+
dispose(): void;
|
|
83
|
+
invalidateConfirmations: () => number;
|
|
84
|
+
snapshot: import("vue").Ref<import("./businessRuleGovernance").BusinessRuleSnapshot | undefined, import("./businessRuleGovernance").BusinessRuleSnapshot | undefined>;
|
|
85
|
+
ready: import("vue").ComputedRef<boolean>;
|
|
86
|
+
ui: import("vue").Ref<import("./businessRuleGovernance").UiControlSnapshot | undefined, import("./businessRuleGovernance").UiControlSnapshot | undefined>;
|
|
87
|
+
rules: import("vue").Ref<{
|
|
88
|
+
formKey?: string | undefined;
|
|
89
|
+
targets?: {
|
|
90
|
+
elementKey: string;
|
|
91
|
+
hide: boolean;
|
|
92
|
+
readOnly: boolean;
|
|
93
|
+
}[] | undefined;
|
|
94
|
+
code: string;
|
|
95
|
+
kind: import("./businessRuleGovernance").BusinessRuleKind;
|
|
96
|
+
targetField?: string | undefined;
|
|
97
|
+
expression: string;
|
|
98
|
+
enabled: boolean;
|
|
99
|
+
messageTemplate?: string | undefined;
|
|
100
|
+
}[], import("./businessRuleGovernance").BusinessRuleProposal[] | {
|
|
101
|
+
formKey?: string | undefined;
|
|
102
|
+
targets?: {
|
|
103
|
+
elementKey: string;
|
|
104
|
+
hide: boolean;
|
|
105
|
+
readOnly: boolean;
|
|
106
|
+
}[] | undefined;
|
|
107
|
+
code: string;
|
|
108
|
+
kind: import("./businessRuleGovernance").BusinessRuleKind;
|
|
109
|
+
targetField?: string | undefined;
|
|
110
|
+
expression: string;
|
|
111
|
+
enabled: boolean;
|
|
112
|
+
messageTemplate?: string | undefined;
|
|
113
|
+
}[]>;
|
|
114
|
+
loading: import("vue").Ref<boolean, boolean>;
|
|
115
|
+
loadFailed: import("vue").Ref<boolean, boolean>;
|
|
116
|
+
committedNeedsReload: import("vue").Ref<boolean, boolean>;
|
|
117
|
+
submissionStatus: import("vue").Ref<"unknown" | "idle" | "current-read", "unknown" | "idle" | "current-read">;
|
|
118
|
+
applying: import("vue").Ref<boolean, boolean>;
|
|
119
|
+
tenantId: import("vue").Ref<string, string>;
|
|
120
|
+
revision: import("vue").Ref<number, number>;
|
|
121
|
+
dirty: import("vue").ComputedRef<boolean>;
|
|
122
|
+
editing: import("vue").Ref<boolean, boolean>;
|
|
123
|
+
adapter: import("./businessRuleEditor").BusinessRuleEditor;
|
|
124
|
+
load: (force?: boolean, commit?: (accept: () => void) => void) => Promise<void>;
|
|
125
|
+
replace: (next: import("./businessRuleGovernance").BusinessRuleProposal[]) => void;
|
|
126
|
+
discard: () => void;
|
|
127
|
+
apply: (stillCurrent?: () => boolean) => Promise<{
|
|
128
|
+
synchronized: boolean;
|
|
129
|
+
} | undefined>;
|
|
130
|
+
readCurrent: (signal?: AbortSignal, commit?: (accept: () => void) => void) => Promise<void>;
|
|
131
|
+
trial: (input: import("./businessRuleEditor").BusinessRuleTrialInput, signal?: AbortSignal) => Promise<import("./businessRuleGovernance").BusinessRuleTrialResult>;
|
|
132
|
+
setEditing(owner: symbol, value: boolean): void;
|
|
133
|
+
};
|
|
134
|
+
focus: (value: BusinessRuleSession) => void;
|
|
135
|
+
dispose(): void;
|
|
136
|
+
showEditor(value: BusinessRuleSession): void;
|
|
137
|
+
hideEditor(value: BusinessRuleSession): void;
|
|
138
|
+
editor(): AssistantConfigurationEditor | undefined;
|
|
139
|
+
clearFocus(): void;
|
|
140
|
+
current(): {
|
|
141
|
+
revision: string;
|
|
142
|
+
facts: {
|
|
143
|
+
ruleConfiguration: import("../web-contracts").AssistantSurfaceContext | undefined;
|
|
144
|
+
draftLifetime: string;
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
capabilities(settleNavigation?: (signal?: AbortSignal) => Promise<void | AssistantInvocationToken>): AssistantCapability[];
|
|
148
|
+
} | undefined;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { type LanguageContext } from '../web-core/index';
|
|
2
|
+
/** Lazy page loading may finish after the router commits; resume only once the shared editor is mounted. */
|
|
3
|
+
export declare function waitForConfigurationEditor(visible: () => boolean, signal?: AbortSignal, language?: LanguageContext): Promise<void>;
|