@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
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { type LanguageContext } from '../web-core/index';
|
|
1
2
|
/** Distinguishes optional draft diagnostics from actions that declare the patch protocol. */
|
|
2
3
|
export declare function hasFormActionRecordPatch(response: unknown): boolean;
|
|
3
4
|
/** Only an explicit form result may update an unsaved draft. Ordinary action data is not a patch. */
|
|
4
|
-
export declare function formActionResult(response: unknown): {
|
|
5
|
+
export declare function formActionResult(response: unknown, language?: LanguageContext): {
|
|
5
6
|
recordPatch: Record<string, unknown>;
|
|
6
7
|
message?: string;
|
|
7
8
|
};
|
|
@@ -19,3 +19,5 @@ export declare class FormComputeCoordinator {
|
|
|
19
19
|
applyOnCreate<TDraft extends FormulaRecord>(draft: TDraft, childAggregateRows?: FormulaRecord): TDraft;
|
|
20
20
|
private evaluate;
|
|
21
21
|
}
|
|
22
|
+
/** Includes platform effects such as cleared dependent references in the calculation trigger set. */
|
|
23
|
+
export declare function formComputeChangedFields(previous: FormulaRecord, current: FormulaRecord, explicitFields: readonly string[]): string[];
|
|
@@ -13,5 +13,5 @@ export declare class FormValidationCoordinator {
|
|
|
13
13
|
private readonly runtime;
|
|
14
14
|
private readonly rules;
|
|
15
15
|
constructor(rules: readonly ResolvedFormValidationRuleDescriptor[] | undefined, runtime?: FormulaRuntime);
|
|
16
|
-
validate(draft: FormulaRecord): FormValidationFailure | undefined;
|
|
16
|
+
validate(draft: FormulaRecord, displayRules?: readonly ResolvedFormValidationRuleDescriptor[]): FormValidationFailure | undefined;
|
|
17
17
|
}
|
|
@@ -5,4 +5,16 @@ import type { TenantScopeController } from './useTenantScopeController';
|
|
|
5
5
|
export type ModulePageAssistantTenantScope = Pick<TenantScopeController, 'blocked' | 'changeTenantScope' | 'selected' | 'tenantScopeContext' | 'tenantScopeExplorerVisible'> & {
|
|
6
6
|
settleTenantScopeChange(record: QueryListRecord, signal: AbortSignal): Promise<void | AssistantInvocationToken>;
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export interface AssistantScopeCandidate {
|
|
9
|
+
scopeKey: string;
|
|
10
|
+
record: QueryListRecord;
|
|
11
|
+
revision: string;
|
|
12
|
+
}
|
|
13
|
+
/** Keep live, authorized search choices available across the user's clarification turn. */
|
|
14
|
+
export declare function modulePageScopeCandidateFacts(view: ModulePageSessionView, tenantScope: ModulePageAssistantTenantScope | undefined, candidates: Map<string, AssistantScopeCandidate>): {
|
|
15
|
+
scopeKey: string;
|
|
16
|
+
selectionKey: string;
|
|
17
|
+
title: string | undefined;
|
|
18
|
+
label: string | undefined;
|
|
19
|
+
}[];
|
|
20
|
+
export declare function modulePageScopeCapabilities(view: ModulePageSessionView, tenantScope: ModulePageAssistantTenantScope | undefined, candidates: Map<string, AssistantScopeCandidate>): AssistantCapability[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Component } from 'vue';
|
|
2
|
-
import type { CurrentUser, PageDescriptor, PageLayoutMode, RouteQueryValue, WebPageResponse, WebQueryCondition, WebQueryRequest } from '../web-contracts/index';
|
|
3
|
-
import type { ModuleContext } from '../web-core/index';
|
|
2
|
+
import type { CurrentUser, TextPresentation, PageDescriptor, PageLayoutMode, RouteQueryValue, WebPageResponse, WebQueryCondition, WebQueryRequest } from '../web-contracts/index';
|
|
3
|
+
import type { LanguageContext, ModuleContext } from '../web-core/index';
|
|
4
4
|
import type { DrawerWidth, RecordActionItem, RecordFormFieldState, RecordFormFieldValue, RecordQueryListColumn, QueryListRecord } from '../platform-components/index';
|
|
5
5
|
import type { DrawerTitleAction } from '../platform-components/index';
|
|
6
6
|
/**
|
|
@@ -79,6 +79,7 @@ export interface ModulePageNavigatorEnhancement {
|
|
|
79
79
|
export interface ModulePageNavigatorTreeParentPolicy {
|
|
80
80
|
canUseAsParent(record: Readonly<Record<string, unknown>>): boolean;
|
|
81
81
|
rejectionMessage: string;
|
|
82
|
+
rejectionMessageKey?: string;
|
|
82
83
|
}
|
|
83
84
|
export interface ModulePageNavigatorExtension {
|
|
84
85
|
key: string;
|
|
@@ -103,6 +104,7 @@ export interface ModulePageNavigatorSelection {
|
|
|
103
104
|
}
|
|
104
105
|
/** The only display facts a navigator extension may contribute to PAGE_TEXT. */
|
|
105
106
|
export interface ModulePageSelectionPresentation {
|
|
107
|
+
labelText?: TextPresentation;
|
|
106
108
|
label: string;
|
|
107
109
|
secondaryLabel?: string;
|
|
108
110
|
}
|
|
@@ -126,6 +128,7 @@ export interface ModulePageLockedNavigatorEntry {
|
|
|
126
128
|
navigatorKey: string;
|
|
127
129
|
/** Text shown if the addressed record cannot be resolved or authorized. */
|
|
128
130
|
unavailableDescription: string;
|
|
131
|
+
unavailableDescriptionKey?: string;
|
|
129
132
|
}
|
|
130
133
|
export interface ModulePageEmptyNavigatorScopeContext {
|
|
131
134
|
currentUser?: CurrentUser;
|
|
@@ -236,8 +239,8 @@ export interface ModulePageFormContributionState {
|
|
|
236
239
|
export interface ModulePageFormFieldPolicy {
|
|
237
240
|
fieldName: string;
|
|
238
241
|
visible?(state: ModulePageFormContributionState): boolean;
|
|
239
|
-
imageUploadHint?(state: ModulePageFormContributionState): string | undefined;
|
|
240
|
-
imageUploadAdvisory?(state: ModulePageFormContributionState): ((file: File) => string | undefined | Promise<string | undefined>) | undefined;
|
|
242
|
+
imageUploadHint?(state: ModulePageFormContributionState, language?: LanguageContext): string | undefined;
|
|
243
|
+
imageUploadAdvisory?(state: ModulePageFormContributionState, language?: LanguageContext): ((file: File) => string | undefined | Promise<string | undefined>) | undefined;
|
|
241
244
|
}
|
|
242
245
|
/** Frontend-owned auxiliary UI adjacent to the descriptor-owned record card. */
|
|
243
246
|
export interface ModuleCardEnhancement {
|
|
@@ -307,6 +310,8 @@ export interface ModulePageBatchActionContribution extends RecordActionItem {
|
|
|
307
310
|
run(context: ModulePageBatchActionContext): void | Promise<void>;
|
|
308
311
|
}
|
|
309
312
|
export interface ModulePageDetailSection {
|
|
313
|
+
/** Optional CODE heading resource, resolved only at the display boundary. */
|
|
314
|
+
titleKey?: string;
|
|
310
315
|
key: string;
|
|
311
316
|
title: string;
|
|
312
317
|
/** Optional heading copy owned by the business section but rendered by the platform shell. */
|
|
@@ -340,6 +345,8 @@ export interface ModulePageCellComponentContribution {
|
|
|
340
345
|
cell: Component;
|
|
341
346
|
}
|
|
342
347
|
export interface ModulePageDrawer {
|
|
348
|
+
/** Optional CODE heading resource, resolved only at the display boundary. */
|
|
349
|
+
titleKey?: string;
|
|
343
350
|
title: string;
|
|
344
351
|
width?: DrawerWidth;
|
|
345
352
|
/** The component receives only the documented ModulePageDrawerContext prop. */
|
|
@@ -362,6 +369,8 @@ export interface ModulePageWorkspaceView<TInput extends ModulePageWorkspaceViewI
|
|
|
362
369
|
route?: string;
|
|
363
370
|
component: Component;
|
|
364
371
|
titleOf(input: TInput): string;
|
|
372
|
+
titleKey?: string;
|
|
373
|
+
titleArgsOf?(input: TInput): Record<string, unknown>;
|
|
365
374
|
parse(query: Record<string, RouteQueryValue>): TInput | undefined;
|
|
366
375
|
layout?: PageLayoutMode;
|
|
367
376
|
}
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* owns registration, confirmation and tab destruction.
|
|
5
|
-
*/
|
|
6
|
-
export interface ModulePageUnsavedStateHost {
|
|
7
|
-
registerUnsavedState(source: string, isDirty: () => boolean, isBusy?: () => boolean): () => void;
|
|
8
|
-
}
|
|
9
|
-
export declare function provideModulePageUnsavedStateHost(host: ModulePageUnsavedStateHost | undefined): void;
|
|
10
|
-
export declare function useModulePageUnsavedState(source: string, isDirty: () => boolean, isBusy?: () => boolean): void;
|
|
1
|
+
/** The module runtime and reusable record panels share the neutral draft-registration bridge. */
|
|
2
|
+
export { provideWorkspaceUnsavedStateRegistrar as provideModulePageUnsavedStateHost, useWorkspaceViewUnsavedState as useModulePageUnsavedState, } from '../web-core/index';
|
|
3
|
+
export type { WorkspaceUnsavedStateRegistrar as ModulePageUnsavedStateHost } from '../web-core/index';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { type LanguageContext } from '../web-core/index';
|
|
1
2
|
import type { PageActionInvocation } from '../web-contracts/index';
|
|
2
3
|
import type { HttpClient } from '../web-core/index';
|
|
3
4
|
/** Execute only the server-issued transport; action identity is not an HTTP route. */
|
|
4
5
|
export declare function invokePageAction(http: HttpClient, invocation: PageActionInvocation | undefined, context?: {
|
|
5
6
|
recordId?: string;
|
|
6
7
|
record?: Record<string, unknown>;
|
|
7
|
-
}): Promise<unknown>;
|
|
8
|
+
}, language?: LanguageContext): Promise<unknown>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type LanguageContext } from '../web-core/index';
|
|
1
2
|
import type { RecordActionItem } from '../platform-components/index';
|
|
2
3
|
import type { ResolvedPageActionDescriptor } from '../web-contracts/index';
|
|
3
4
|
/** Placements choose presentation; execution must already have a platform workflow or issued action block. */
|
|
@@ -11,4 +12,4 @@ export declare function resolvePlacedPageActions(placements: ResolvedPageActionD
|
|
|
11
12
|
bindingPending?: boolean;
|
|
12
13
|
} | undefined, detailActions: RecordActionItem[], mode: 'create' | 'edit' | 'view', managed?: boolean, record?: {
|
|
13
14
|
enabled?: unknown;
|
|
14
|
-
}): RecordActionItem[];
|
|
15
|
+
}, language?: LanguageContext): RecordActionItem[];
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type LanguageContext } from '../web-core/index';
|
|
1
2
|
import type { RecordExplorerItemDescriptor } from '../platform-components/index';
|
|
2
3
|
import type { RecordInlineAction } from '../web-contracts/index';
|
|
3
4
|
export interface NavigatorItemRecord {
|
|
@@ -10,4 +11,4 @@ export interface NavigatorItemRecord {
|
|
|
10
11
|
/** Page navigators expose only the actions explicitly declared by the page. */
|
|
11
12
|
export declare function navigatorItemOf(record: NavigatorItemRecord, secondaryField: string | undefined, manageable: boolean, actionsOf: ((record: {
|
|
12
13
|
id?: string;
|
|
13
|
-
}) => RecordInlineAction[]) | undefined): RecordExplorerItemDescriptor;
|
|
14
|
+
}) => RecordInlineAction[]) | undefined, language?: LanguageContext): RecordExplorerItemDescriptor;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type LanguageContext } from '../web-core/index';
|
|
2
|
+
/** Shared page preconditions; absence of an executable tool is not evidence of missing permission. */
|
|
3
|
+
export declare function recordCreationReadiness(state: {
|
|
4
|
+
tenantReady: boolean;
|
|
5
|
+
pageReady: boolean;
|
|
6
|
+
permitted: boolean;
|
|
7
|
+
editing: boolean;
|
|
8
|
+
busy: boolean;
|
|
9
|
+
scopeReady: boolean;
|
|
10
|
+
}, language?: LanguageContext): {
|
|
11
|
+
ready: boolean;
|
|
12
|
+
reason: string;
|
|
13
|
+
message: string;
|
|
14
|
+
} | {
|
|
15
|
+
ready: boolean;
|
|
16
|
+
reason?: undefined;
|
|
17
|
+
message?: undefined;
|
|
18
|
+
};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { type LanguageContext } from '../web-core/index';
|
|
2
|
+
import type { ResolvedDetailRelationDescriptor, ResolvedModuleUiDescriptor, OptionItemDescriptor } from '../web-contracts/index';
|
|
3
|
+
import { type RecordFormFieldState, type RecordFormRecord } from '../platform-components/index';
|
|
4
|
+
/** Read the same authorized display facts as the form; never expose a reference ID as its label. */
|
|
5
|
+
export declare function recordFieldDisplay(field: RecordFormFieldState, record: RecordFormRecord, optionItems?: OptionItemDescriptor[], draft?: boolean, language?: LanguageContext): string;
|
|
6
|
+
/** A missing authorized name is a state, never a comparison with a translated placeholder. */
|
|
7
|
+
export declare function recordReferenceDisplay(field: RecordFormFieldState, record: RecordFormRecord, draft?: boolean, language?: LanguageContext): string | undefined;
|
|
8
|
+
/** Resolve display labels through the same authorized provider used by the picker. */
|
|
9
|
+
export declare function resolvedRecordFieldDisplay(field: RecordFormFieldState, record: RecordFormRecord, optionItems?: OptionItemDescriptor[], language?: LanguageContext): Promise<string>;
|
|
10
|
+
export declare function assistantReadableField(field: RecordFormFieldState): boolean;
|
|
11
|
+
/** Embedded aggregate facts only; no additional queries or inferred independent-relation rows. */
|
|
12
|
+
export declare function recordRelationProjection(descriptor: ResolvedModuleUiDescriptor | undefined, relations: ResolvedDetailRelationDescriptor[], record: RecordFormRecord, { language, baseline, purpose, draft, relationOptions, editableRelations, draftRowKeys, includeDescribedValues, includeBaseline, }?: {
|
|
13
|
+
language?: LanguageContext;
|
|
14
|
+
draft?: boolean;
|
|
15
|
+
editableRelations?: ReadonlySet<string>;
|
|
16
|
+
/** Keys issued by mounted editors; never inferred from row position or record IDs. */
|
|
17
|
+
draftRowKeys?: ReadonlyMap<string, ReadonlySet<string>>;
|
|
18
|
+
includeDescribedValues?: boolean;
|
|
19
|
+
includeBaseline?: boolean;
|
|
20
|
+
baseline?: RecordFormRecord;
|
|
21
|
+
purpose?: 'context' | 'confirmation' | 'observation';
|
|
22
|
+
relationOptions?: Record<string, Record<string, OptionItemDescriptor[]>>;
|
|
23
|
+
}): {
|
|
24
|
+
savedCount?: number | null | undefined;
|
|
25
|
+
savedRows?: {
|
|
26
|
+
values: {
|
|
27
|
+
truncated?: boolean | undefined;
|
|
28
|
+
value: string;
|
|
29
|
+
assistantPolicy?: import("../web-contracts/index").AssistantFieldPolicy | undefined;
|
|
30
|
+
label: string;
|
|
31
|
+
}[];
|
|
32
|
+
rowKey?: string | undefined;
|
|
33
|
+
row: number;
|
|
34
|
+
}[] | undefined;
|
|
35
|
+
relationCode: string;
|
|
36
|
+
title: string;
|
|
37
|
+
editable: boolean;
|
|
38
|
+
source: string;
|
|
39
|
+
loaded: boolean;
|
|
40
|
+
count: number | null;
|
|
41
|
+
removedCount: number;
|
|
42
|
+
truncated: boolean;
|
|
43
|
+
rows: {
|
|
44
|
+
values: {
|
|
45
|
+
truncated?: boolean | undefined;
|
|
46
|
+
value: string;
|
|
47
|
+
assistantPolicy?: import("../web-contracts/index").AssistantFieldPolicy | undefined;
|
|
48
|
+
label: string;
|
|
49
|
+
}[];
|
|
50
|
+
rowKey?: string | undefined;
|
|
51
|
+
row: number;
|
|
52
|
+
}[];
|
|
53
|
+
removedRows: {
|
|
54
|
+
values: {
|
|
55
|
+
truncated?: boolean | undefined;
|
|
56
|
+
value: string;
|
|
57
|
+
assistantPolicy?: import("../web-contracts/index").AssistantFieldPolicy | undefined;
|
|
58
|
+
label: string;
|
|
59
|
+
}[];
|
|
60
|
+
rowKey?: string | undefined;
|
|
61
|
+
row: number;
|
|
62
|
+
}[];
|
|
63
|
+
}[];
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import type { RecordFormDraftAccess } from './recordFormDraftAccess';
|
|
2
|
+
import { type LanguageContext, type AssistantCapability } from '../web-core/index';
|
|
3
|
+
import { type RecordFormFieldState } from '../platform-components/index';
|
|
4
|
+
export declare function createRecordFormAssistantCapabilities(view: RecordFormDraftAccess, { language, resolveReferenceNames, canReadDetail, schemaDiscovery, }?: {
|
|
5
|
+
language?: LanguageContext;
|
|
6
|
+
resolveReferenceNames?: boolean;
|
|
7
|
+
canReadDetail?: () => boolean;
|
|
8
|
+
schemaDiscovery?: AssistantCapability['schemaDiscovery'];
|
|
9
|
+
}): () => {
|
|
10
|
+
schemaDiscovery?: "eager";
|
|
11
|
+
descriptor: import("../web-contracts").AssistantCapabilityDescriptor;
|
|
12
|
+
effect: "read" | "page" | "draft" | "configuration-draft";
|
|
13
|
+
changesReadState?: boolean;
|
|
14
|
+
present?(output: unknown): import("../web-contracts").AssistantResultPresentation;
|
|
15
|
+
propose?(output: unknown): import("../web-core/index").AssistantOperationProposal;
|
|
16
|
+
parseInput(input: unknown): unknown;
|
|
17
|
+
execute(input: unknown, context: import("../web-core/index").AssistantCapabilityExecutionContext): Promise<unknown>;
|
|
18
|
+
}[];
|
|
19
|
+
/** Same field projection for live context and explicit reads; never queries reference sources. */
|
|
20
|
+
export declare function recordFormAssistantFacts(view: RecordFormDraftAccess, resolved?: Map<string, {
|
|
21
|
+
display: string;
|
|
22
|
+
unavailable?: boolean;
|
|
23
|
+
}>, referencesTruncated?: boolean, language?: LanguageContext): {
|
|
24
|
+
editorMode: "edit" | "create" | "view";
|
|
25
|
+
editable: boolean;
|
|
26
|
+
currentValuesTruncated: boolean;
|
|
27
|
+
fields: {
|
|
28
|
+
options: {
|
|
29
|
+
value: import("../web-contracts").OptionValue;
|
|
30
|
+
label: string;
|
|
31
|
+
}[];
|
|
32
|
+
currentValueUnavailable?: boolean | undefined;
|
|
33
|
+
currentValueTruncated?: boolean | undefined;
|
|
34
|
+
currentValue?: string | number | boolean | (string | number | boolean)[] | null | undefined;
|
|
35
|
+
referenceCardinality?: "ONE" | "MANY" | undefined;
|
|
36
|
+
referenceTargetModuleAlias?: string | undefined;
|
|
37
|
+
assistantWriteMode?: "value" | "referenceSelection" | undefined;
|
|
38
|
+
controlType: import("../platform-components/recordFormFieldModel").RecordFormFieldControlType;
|
|
39
|
+
assistantWritable: boolean;
|
|
40
|
+
valueHint?: string | undefined;
|
|
41
|
+
inputRequirements?: {
|
|
42
|
+
requiredOnInsert: boolean;
|
|
43
|
+
requiredOnUpdate: boolean;
|
|
44
|
+
maxLength?: number | null;
|
|
45
|
+
validationRegex?: string | null;
|
|
46
|
+
textNormalization?: "NONE" | "TRIM" | "TRIM_TO_NULL" | null;
|
|
47
|
+
precision?: number | null;
|
|
48
|
+
scale?: number | null;
|
|
49
|
+
} | undefined;
|
|
50
|
+
valueType: import("../web-contracts").ViewFieldValueType | undefined;
|
|
51
|
+
calculationPending?: boolean | undefined;
|
|
52
|
+
fieldName: string;
|
|
53
|
+
label: string;
|
|
54
|
+
required: boolean;
|
|
55
|
+
readOnly: boolean;
|
|
56
|
+
}[];
|
|
57
|
+
};
|
|
58
|
+
export declare function isSensitiveField(field: RecordFormFieldState): boolean;
|
|
59
|
+
export declare function formFieldState(view: Pick<RecordFormDraftAccess, 'formFields' | 'referencePickerConfigs' | 'editingRecord' | 'selectedRecord' | 'editorMode'>, fieldName: string): RecordFormFieldState | undefined;
|
|
60
|
+
export declare function isRecord(value: unknown): value is Record<string, unknown>;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { RecordFormFieldDescriptor, RecordFormFieldPickerConfig, RecordFormFieldValue, RecordFormRecord, ReferencePickerCandidate } from '../platform-components/index';
|
|
2
|
+
import { type LanguageContext } from '../web-core/index';
|
|
3
|
+
/** Controlled access to an existing editor, including a row of an aggregate draft. */
|
|
4
|
+
export interface RecordFormDraftAccess {
|
|
5
|
+
/** Display scope of the owning editor; never used as a business execution scope. */
|
|
6
|
+
readonly language?: LanguageContext;
|
|
7
|
+
readonly editorMode: 'view' | 'create' | 'edit';
|
|
8
|
+
readonly editingRecord?: RecordFormRecord;
|
|
9
|
+
readonly selectedRecord?: RecordFormRecord;
|
|
10
|
+
readonly formFields: Map<string, RecordFormFieldDescriptor>;
|
|
11
|
+
readonly referencePickerConfigs: Record<string, RecordFormFieldPickerConfig>;
|
|
12
|
+
/** Current source-resolved display, separate from mutation data. */
|
|
13
|
+
referenceDisplay?(fieldName: string): string | undefined;
|
|
14
|
+
contextRevision(): string;
|
|
15
|
+
relations?(): unknown[];
|
|
16
|
+
updateDraftFields(changes: Array<{
|
|
17
|
+
fieldName: string;
|
|
18
|
+
value: RecordFormFieldValue;
|
|
19
|
+
}>, source?: 'user' | 'assistant'): void;
|
|
20
|
+
updateDraftReference(fieldName: string, candidate: ReferencePickerCandidate, source?: 'user' | 'assistant', changes?: Array<{
|
|
21
|
+
fieldName: string;
|
|
22
|
+
value: RecordFormFieldValue;
|
|
23
|
+
}>,
|
|
24
|
+
/** Pure check of the staged record, before publishing draft or display changes. */
|
|
25
|
+
validate?: (record: RecordFormRecord) => void): void;
|
|
26
|
+
}
|
|
27
|
+
/** Called only by the standard editor while its complete update is still staged. */
|
|
28
|
+
export declare function validateStagedDraft(record: RecordFormRecord, validate?: (record: RecordFormRecord) => void): void;
|
|
29
|
+
/** One standard draft update: reference mappings, then explicit ordinary values. */
|
|
30
|
+
export declare function referenceDraftChanges(fieldName: string, candidate: ReferencePickerCandidate, changes?: Array<{
|
|
31
|
+
fieldName: string;
|
|
32
|
+
value: RecordFormFieldValue;
|
|
33
|
+
}>): {
|
|
34
|
+
fieldName: string;
|
|
35
|
+
value: RecordFormFieldValue;
|
|
36
|
+
}[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { RecordFormRecord } from '../platform-components/index';
|
|
2
2
|
import type { ResolvedViewFieldDescriptor } from '../web-contracts/index';
|
|
3
|
-
/** Read projections never become business writes
|
|
4
|
-
export declare function recordMutationPayload(record: RecordFormRecord, fields?: Iterable<Pick<ResolvedViewFieldDescriptor, 'fieldRef' | 'reference' | 'referenceSummary'
|
|
3
|
+
/** Read projections and constant read-only fields never become business writes. */
|
|
4
|
+
export declare function recordMutationPayload(record: RecordFormRecord, fields?: Iterable<Pick<ResolvedViewFieldDescriptor, 'fieldRef' | 'reference' | 'referenceSummary' | 'readOnly'>>, capabilities?: Iterable<string>): RecordFormRecord;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { RecordFormDraftAccess } from './recordFormDraftAccess';
|
|
2
|
+
import type { ReferencePickerCandidate } from '../platform-components/index';
|
|
3
|
+
/** Editor-owned display observations; never candidates, write inputs or permission. */
|
|
4
|
+
export declare function createRecordReferenceDisplay(form: Pick<RecordFormDraftAccess, 'editingRecord' | 'referencePickerConfigs' | 'language'>, sessionKey: () => unknown): {
|
|
5
|
+
clear(fieldNames: Iterable<string>): void;
|
|
6
|
+
observe(fieldName: string, candidates: readonly ReferencePickerCandidate[]): void;
|
|
7
|
+
current(fieldName: string): string | undefined;
|
|
8
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type LanguageContext } from '../web-core/index';
|
|
2
|
+
import type { OperationReceiptReference } from '../web-contracts/index';
|
|
3
|
+
type RecordSaveReference = Extract<OperationReceiptReference, {
|
|
4
|
+
kind: 'record-save';
|
|
5
|
+
}>;
|
|
6
|
+
type ReceiptStorage = Pick<Storage, 'getItem' | 'setItem' | 'removeItem'>;
|
|
7
|
+
/** One browser tab retains only a query reference, never a draft or authorization. */
|
|
8
|
+
export declare function createRecordSaveRecovery(scope: string, storage: ReceiptStorage, language?: LanguageContext): {
|
|
9
|
+
restore(): RecordSaveReference | undefined;
|
|
10
|
+
save(reference: RecordSaveReference): void;
|
|
11
|
+
clear(requestId: string): void;
|
|
12
|
+
};
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type LanguageContext, type AssistantCapability } from '../web-core/index';
|
|
2
|
+
import type { RelationDraftRegistry } from './relationDraftController';
|
|
3
|
+
export declare function createRelationDraftAssistantCapabilities(registry: RelationDraftRegistry, contextRevision: () => string, language?: LanguageContext): (() => AssistantCapability[]) & {
|
|
4
|
+
form: () => import("./recordFormDraftAccess").RecordFormDraftAccess | undefined;
|
|
5
|
+
selection: () => {
|
|
6
|
+
relationCode: string;
|
|
7
|
+
rowKey: string;
|
|
8
|
+
} | undefined;
|
|
9
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { RecordFormDraftAccess } from './recordFormDraftAccess';
|
|
2
|
+
/** Commands target the mounted aggregate editor; they never persist child records. */
|
|
3
|
+
export interface RelationDraftController {
|
|
4
|
+
readonly code: string;
|
|
5
|
+
readonly title: string;
|
|
6
|
+
revision(): string;
|
|
7
|
+
settle(): Promise<void>;
|
|
8
|
+
rowKeys(): string[];
|
|
9
|
+
form(rowKey: string): RecordFormDraftAccess | undefined;
|
|
10
|
+
add(): string;
|
|
11
|
+
remove(rowKey: string): void;
|
|
12
|
+
}
|
|
13
|
+
export declare function createRelationDraftRegistry(): {
|
|
14
|
+
register(controller: RelationDraftController): () => boolean;
|
|
15
|
+
list(): RelationDraftController[];
|
|
16
|
+
revision: () => string;
|
|
17
|
+
settle: () => Promise<void[]>;
|
|
18
|
+
interactionRevision: () => number;
|
|
19
|
+
userChanged: () => void;
|
|
20
|
+
};
|
|
21
|
+
export type RelationDraftRegistry = ReturnType<typeof createRelationDraftRegistry>;
|
|
22
|
+
export declare function provideRelationDraftRegistry(current: () => RelationDraftRegistry): void;
|
|
23
|
+
export declare const useRelationDraftRegistry: () => () => RelationDraftRegistry | undefined;
|
|
@@ -6,4 +6,5 @@ export declare class RelationFormComputeCoordinator {
|
|
|
6
6
|
private readonly runtime;
|
|
7
7
|
constructor(rules: readonly ResolvedDetailRelationFormComputeRuleDescriptor[] | undefined, runtime?: FormulaRuntime);
|
|
8
8
|
applyAfterChange<TRow extends FormulaRecord>(rows: readonly TRow[], changedRowKey: string, keyOf: (row: TRow) => string, changedField: string): TRow[];
|
|
9
|
+
applyAfterChanges<TRow extends FormulaRecord>(rows: readonly TRow[], changedRowKey: string, keyOf: (row: TRow) => string, changedFields: readonly string[]): TRow[];
|
|
9
10
|
}
|