@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,122 +1,4 @@
|
|
|
1
1
|
import { type AssistantCapability, type AssistantSurface, type AssistantTurnRequester } from '../web-core/index';
|
|
2
|
-
import type {
|
|
3
|
-
|
|
4
|
-
export interface MetadataGovernanceAssistantModelSummary {
|
|
5
|
-
moduleAlias: string;
|
|
6
|
-
moduleTitle?: string;
|
|
7
|
-
relationCount: number;
|
|
8
|
-
selectedRelation?: {
|
|
9
|
-
relationId: string;
|
|
10
|
-
title?: string;
|
|
11
|
-
fieldCount: number;
|
|
12
|
-
fields: Array<{
|
|
13
|
-
fieldName: string;
|
|
14
|
-
title?: string;
|
|
15
|
-
fieldSpecAlias?: string;
|
|
16
|
-
propertyKind: string;
|
|
17
|
-
governance: string;
|
|
18
|
-
}>;
|
|
19
|
-
truncated: boolean;
|
|
20
|
-
};
|
|
21
|
-
draft: {
|
|
22
|
-
active: boolean;
|
|
23
|
-
dirty: boolean;
|
|
24
|
-
editorOpen: boolean;
|
|
25
|
-
};
|
|
26
|
-
fieldSpecs: Array<{
|
|
27
|
-
alias: string;
|
|
28
|
-
title?: string;
|
|
29
|
-
}>;
|
|
30
|
-
}
|
|
31
|
-
export interface AddMetadataFieldDraftInput {
|
|
32
|
-
title: string;
|
|
33
|
-
fieldName?: string;
|
|
34
|
-
fieldSpecAlias: string;
|
|
35
|
-
required?: boolean;
|
|
36
|
-
unique?: boolean;
|
|
37
|
-
indexed?: boolean;
|
|
38
|
-
sortable?: boolean;
|
|
39
|
-
titleField?: boolean;
|
|
40
|
-
}
|
|
41
|
-
export interface UpdateMetadataFieldDraftInput {
|
|
42
|
-
fieldName: string;
|
|
43
|
-
title?: string;
|
|
44
|
-
fieldSpecAlias?: string;
|
|
45
|
-
required?: boolean;
|
|
46
|
-
unique?: boolean;
|
|
47
|
-
indexed?: boolean;
|
|
48
|
-
sortable?: boolean;
|
|
49
|
-
titleField?: boolean;
|
|
50
|
-
enabled?: boolean;
|
|
51
|
-
}
|
|
52
|
-
export type MetadataPropertyFieldKind = 'MODULE_REFERENCE' | 'DICTIONARY';
|
|
53
|
-
export interface FindMetadataFieldTargetsInput {
|
|
54
|
-
kind: MetadataPropertyFieldKind;
|
|
55
|
-
keyword?: string;
|
|
56
|
-
}
|
|
57
|
-
export interface AddMetadataPropertyFieldDraftInput {
|
|
58
|
-
kind: MetadataPropertyFieldKind;
|
|
59
|
-
title: string;
|
|
60
|
-
fieldName?: string;
|
|
61
|
-
target: string;
|
|
62
|
-
selectionMode?: 'SINGLE' | 'MULTIPLE';
|
|
63
|
-
required?: boolean;
|
|
64
|
-
}
|
|
65
|
-
export interface PreparedMetadataPropertyFieldDraft {
|
|
66
|
-
relationId: string;
|
|
67
|
-
kind: MetadataPropertyFieldKind;
|
|
68
|
-
title: string;
|
|
69
|
-
fieldName: string;
|
|
70
|
-
columnName: string;
|
|
71
|
-
fieldSpecAlias: string;
|
|
72
|
-
required: boolean;
|
|
73
|
-
reference?: {
|
|
74
|
-
targetModuleAlias: string;
|
|
75
|
-
targetMetadataId?: string;
|
|
76
|
-
targetKeyField: string;
|
|
77
|
-
targetLabelField: string;
|
|
78
|
-
};
|
|
79
|
-
dictionary?: {
|
|
80
|
-
applicationAlias: string;
|
|
81
|
-
categoryAlias: string;
|
|
82
|
-
selectionMode: 'SINGLE' | 'MULTIPLE';
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
export interface MetadataGovernanceAssistantAdapter {
|
|
86
|
-
summary(): MetadataGovernanceAssistantModelSummary;
|
|
87
|
-
proposal(): MetadataModelChangeSetProposal | undefined;
|
|
88
|
-
preview(proposal: MetadataModelChangeSetProposal, signal: AbortSignal): Promise<MetadataChangeSetPreview>;
|
|
89
|
-
fieldSpecAliases(): string[];
|
|
90
|
-
editableBasicFieldNames(): string[];
|
|
91
|
-
addFieldDraft?(input: AddMetadataFieldDraftInput): {
|
|
92
|
-
relationId: string;
|
|
93
|
-
fieldName: string;
|
|
94
|
-
columnName: string;
|
|
95
|
-
title: string;
|
|
96
|
-
fieldSpecAlias: string;
|
|
97
|
-
};
|
|
98
|
-
updateFieldDraft?(input: UpdateMetadataFieldDraftInput): {
|
|
99
|
-
relationId: string;
|
|
100
|
-
fieldName: string;
|
|
101
|
-
title?: string;
|
|
102
|
-
fieldSpecAlias?: string;
|
|
103
|
-
};
|
|
104
|
-
findFieldTargets?(input: FindMetadataFieldTargetsInput, signal: AbortSignal): Promise<{
|
|
105
|
-
targets: Array<{
|
|
106
|
-
target: string;
|
|
107
|
-
title?: string;
|
|
108
|
-
}>;
|
|
109
|
-
truncated: boolean;
|
|
110
|
-
}>;
|
|
111
|
-
preparePropertyFieldDraft?(input: AddMetadataPropertyFieldDraftInput, signal: AbortSignal): Promise<PreparedMetadataPropertyFieldDraft>;
|
|
112
|
-
commitPropertyFieldDraft?(prepared: PreparedMetadataPropertyFieldDraft): {
|
|
113
|
-
relationId: string;
|
|
114
|
-
kind: MetadataPropertyFieldKind;
|
|
115
|
-
fieldName: string;
|
|
116
|
-
columnName: string;
|
|
117
|
-
title: string;
|
|
118
|
-
fieldSpecAlias: string;
|
|
119
|
-
target: string;
|
|
120
|
-
};
|
|
121
|
-
}
|
|
2
|
+
import type { MetadataGovernanceEditor as MetadataGovernanceAssistantAdapter } from './metadataGovernanceEditor';
|
|
3
|
+
export type { MetadataGovernanceSummary as MetadataGovernanceAssistantModelSummary, AddMetadataFieldDraftInput, UpdateMetadataFieldDraftInput, MetadataPropertyFieldKind, FindMetadataFieldTargetsInput, AddMetadataPropertyFieldDraftInput, PreparedMetadataPropertyFieldDraft, MetadataFieldCandidate, MetadataFieldPlanInput, MetadataGovernanceEditor as MetadataGovernanceAssistantAdapter, } from './metadataGovernanceEditor';
|
|
122
4
|
export declare function createMetadataGovernanceAssistantSurface(adapter: MetadataGovernanceAssistantAdapter, requestTurn: AssistantTurnRequester, contributedCapabilities?: () => AssistantCapability[]): AssistantSurface;
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
import { type LanguageContext } from '../web-core/index';
|
|
2
|
+
import type { MetadataField } from '../web-contracts/index';
|
|
3
|
+
import type { OperationProposal } from '../web-core/index';
|
|
4
|
+
import type { MetadataModelChangeSetProposal } from './metadataModelEditSession';
|
|
5
|
+
import type { MetadataChangeSetPreview } from './metadataModelChangeSetClient';
|
|
6
|
+
import type { MetadataFieldReferencePropertyConfig } from './metadataOrchestrationState';
|
|
7
|
+
export interface MetadataGovernanceSummary {
|
|
8
|
+
moduleAlias: string;
|
|
9
|
+
moduleTitle?: string;
|
|
10
|
+
factsAvailable?: boolean;
|
|
11
|
+
submissionStatus?: 'idle' | 'unknown' | 'current-read';
|
|
12
|
+
committedNeedsReload?: boolean;
|
|
13
|
+
relationCount: number;
|
|
14
|
+
selectedRelation?: {
|
|
15
|
+
relationId: string;
|
|
16
|
+
title?: string;
|
|
17
|
+
fieldCount: number;
|
|
18
|
+
fieldsSource?: 'SAVED_CONFIGURATION' | 'UNSAVED_CANDIDATE';
|
|
19
|
+
fields: Array<Pick<MetadataField, 'required' | 'uniqueField' | 'indexed' | 'sortableField' | 'titleField' | 'enabled'> & {
|
|
20
|
+
fieldName: string;
|
|
21
|
+
columnName?: string;
|
|
22
|
+
title?: string;
|
|
23
|
+
fieldSpecAlias?: string;
|
|
24
|
+
defaultValue?: string | null;
|
|
25
|
+
propertyKind: string;
|
|
26
|
+
governance: string;
|
|
27
|
+
reference?: MetadataFieldReferencePropertyConfig;
|
|
28
|
+
}>;
|
|
29
|
+
capabilities?: Array<{
|
|
30
|
+
capability: string;
|
|
31
|
+
title: string;
|
|
32
|
+
enabled: boolean;
|
|
33
|
+
configurable: boolean;
|
|
34
|
+
selected: boolean;
|
|
35
|
+
reason: string;
|
|
36
|
+
fieldContributions: string[];
|
|
37
|
+
defaultDescription: string;
|
|
38
|
+
}>;
|
|
39
|
+
truncated: boolean;
|
|
40
|
+
};
|
|
41
|
+
mainCandidate?: {
|
|
42
|
+
alias: string;
|
|
43
|
+
title: string;
|
|
44
|
+
schemaName: string;
|
|
45
|
+
tableName: string;
|
|
46
|
+
storageDefaultsOnSave: Array<'schemaName' | 'tableName'>;
|
|
47
|
+
saved: false;
|
|
48
|
+
nextStep: 'REVIEW_AND_SAVE_STRUCTURE_BEFORE_FIELDS';
|
|
49
|
+
};
|
|
50
|
+
childCandidate?: {
|
|
51
|
+
alias: string;
|
|
52
|
+
title: string;
|
|
53
|
+
parentRelationId: string;
|
|
54
|
+
parentTitle?: string;
|
|
55
|
+
saved: false;
|
|
56
|
+
};
|
|
57
|
+
draft: {
|
|
58
|
+
active: boolean;
|
|
59
|
+
dirty: boolean;
|
|
60
|
+
editorOpen: boolean;
|
|
61
|
+
fieldPlanOpen?: boolean;
|
|
62
|
+
fieldPlanEditing?: boolean;
|
|
63
|
+
};
|
|
64
|
+
fieldSpecs: Array<{
|
|
65
|
+
alias: string;
|
|
66
|
+
title?: string;
|
|
67
|
+
}>;
|
|
68
|
+
}
|
|
69
|
+
export interface AddMetadataFieldDraftInput {
|
|
70
|
+
defaultValue?: string | null;
|
|
71
|
+
title: string;
|
|
72
|
+
fieldName?: string;
|
|
73
|
+
fieldSpecAlias: string;
|
|
74
|
+
required?: boolean;
|
|
75
|
+
unique?: boolean;
|
|
76
|
+
indexed?: boolean;
|
|
77
|
+
sortable?: boolean;
|
|
78
|
+
titleField?: boolean;
|
|
79
|
+
}
|
|
80
|
+
export interface UpdateMetadataFieldDraftInput {
|
|
81
|
+
defaultValue?: string | null;
|
|
82
|
+
fieldName: string;
|
|
83
|
+
title?: string;
|
|
84
|
+
fieldSpecAlias?: string;
|
|
85
|
+
required?: boolean;
|
|
86
|
+
unique?: boolean;
|
|
87
|
+
indexed?: boolean;
|
|
88
|
+
sortable?: boolean;
|
|
89
|
+
titleField?: boolean;
|
|
90
|
+
enabled?: boolean;
|
|
91
|
+
}
|
|
92
|
+
export interface UpdateMetadataReferenceDraftInput {
|
|
93
|
+
fieldName: string;
|
|
94
|
+
requireEnabled?: boolean;
|
|
95
|
+
affectMappings?: string[];
|
|
96
|
+
}
|
|
97
|
+
export type MetadataPropertyFieldKind = 'MODULE_REFERENCE' | 'DICTIONARY';
|
|
98
|
+
export interface FindMetadataFieldTargetsInput {
|
|
99
|
+
kind: MetadataPropertyFieldKind;
|
|
100
|
+
keyword?: string;
|
|
101
|
+
}
|
|
102
|
+
export interface AddMetadataPropertyFieldDraftInput {
|
|
103
|
+
defaultValue?: string | null;
|
|
104
|
+
kind: MetadataPropertyFieldKind;
|
|
105
|
+
title: string;
|
|
106
|
+
fieldName?: string;
|
|
107
|
+
target: string;
|
|
108
|
+
selectionMode?: 'SINGLE' | 'MULTIPLE';
|
|
109
|
+
affectMappings?: string[];
|
|
110
|
+
required?: boolean;
|
|
111
|
+
}
|
|
112
|
+
export interface PreparedMetadataPropertyFieldDraft {
|
|
113
|
+
defaultValue?: string | null;
|
|
114
|
+
relationId: string;
|
|
115
|
+
kind: MetadataPropertyFieldKind;
|
|
116
|
+
title: string;
|
|
117
|
+
fieldName: string;
|
|
118
|
+
columnName: string;
|
|
119
|
+
fieldSpecAlias: string;
|
|
120
|
+
required: boolean;
|
|
121
|
+
reference?: {
|
|
122
|
+
targetModuleAlias: string;
|
|
123
|
+
targetMetadataId?: string;
|
|
124
|
+
targetKeyField: string;
|
|
125
|
+
targetLabelField: string;
|
|
126
|
+
affectMappings?: string[];
|
|
127
|
+
};
|
|
128
|
+
dictionary?: {
|
|
129
|
+
applicationAlias: string;
|
|
130
|
+
categoryAlias: string;
|
|
131
|
+
selectionMode: 'SINGLE' | 'MULTIPLE';
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
export interface MetadataFieldCandidate {
|
|
135
|
+
fieldName: string;
|
|
136
|
+
kind: string;
|
|
137
|
+
editable: boolean;
|
|
138
|
+
operation: 'ADD' | 'UPDATE';
|
|
139
|
+
saved: false;
|
|
140
|
+
expectedMetadataVersion: number;
|
|
141
|
+
changes: Array<{
|
|
142
|
+
propertyKey: string;
|
|
143
|
+
property: string;
|
|
144
|
+
before?: string | boolean;
|
|
145
|
+
after?: string | boolean;
|
|
146
|
+
}>;
|
|
147
|
+
}
|
|
148
|
+
export type MetadataFieldPlanInput = Array<(AddMetadataFieldDraftInput & {
|
|
149
|
+
kind: 'BASIC';
|
|
150
|
+
}) | AddMetadataPropertyFieldDraftInput>;
|
|
151
|
+
/** Preparation validates without changing the editor; returned callbacks commit synchronously inside applyEffect. */
|
|
152
|
+
export interface MetadataGovernanceEditor {
|
|
153
|
+
readonly language?: LanguageContext;
|
|
154
|
+
prepareMainDraft?(input: {
|
|
155
|
+
title: string;
|
|
156
|
+
}): () => unknown;
|
|
157
|
+
prepareChildDraft?(input: {
|
|
158
|
+
alias: string;
|
|
159
|
+
title: string;
|
|
160
|
+
}): () => unknown;
|
|
161
|
+
discardCandidate?(): void;
|
|
162
|
+
prepareConfirmation?(signal: AbortSignal): Promise<OperationProposal>;
|
|
163
|
+
readCurrent?(signal?: AbortSignal, commit?: (accept: () => void) => void): Promise<void>;
|
|
164
|
+
prepareFieldPlan?(fields: MetadataFieldPlanInput, signal: AbortSignal): Promise<() => unknown>;
|
|
165
|
+
plan?(): unknown;
|
|
166
|
+
prepareCapabilityDraft?(input: {
|
|
167
|
+
capability: string;
|
|
168
|
+
selected: boolean;
|
|
169
|
+
}): () => unknown;
|
|
170
|
+
prepareRetainFieldDraft?(): () => unknown;
|
|
171
|
+
removableNewFieldNames?(): string[];
|
|
172
|
+
prepareRemoveNewFieldDraft?(input: {
|
|
173
|
+
fieldName: string;
|
|
174
|
+
}): () => unknown;
|
|
175
|
+
summary(): MetadataGovernanceSummary;
|
|
176
|
+
candidate?(): MetadataFieldCandidate | undefined;
|
|
177
|
+
proposal(): MetadataModelChangeSetProposal | undefined;
|
|
178
|
+
preview(proposal: MetadataModelChangeSetProposal, signal: AbortSignal): Promise<MetadataChangeSetPreview>;
|
|
179
|
+
fieldSpecAliases(): string[];
|
|
180
|
+
editableBasicFieldNames(): string[];
|
|
181
|
+
editableReferenceFieldNames?(): string[];
|
|
182
|
+
prepareReferenceUpdate?(input: UpdateMetadataReferenceDraftInput, signal: AbortSignal): Promise<() => unknown>;
|
|
183
|
+
prepareNewFieldDraft?(input: AddMetadataFieldDraftInput): () => {
|
|
184
|
+
relationId: string;
|
|
185
|
+
fieldName: string;
|
|
186
|
+
columnName: string;
|
|
187
|
+
title: string;
|
|
188
|
+
fieldSpecAlias: string;
|
|
189
|
+
};
|
|
190
|
+
prepareFieldUpdate?(input: UpdateMetadataFieldDraftInput): () => {
|
|
191
|
+
relationId: string;
|
|
192
|
+
fieldName: string;
|
|
193
|
+
title?: string;
|
|
194
|
+
fieldSpecAlias?: string;
|
|
195
|
+
};
|
|
196
|
+
findFieldTargets?(input: FindMetadataFieldTargetsInput, signal: AbortSignal): Promise<{
|
|
197
|
+
targets: Array<{
|
|
198
|
+
target: string;
|
|
199
|
+
title?: string;
|
|
200
|
+
}>;
|
|
201
|
+
truncated: boolean;
|
|
202
|
+
}>;
|
|
203
|
+
referenceAffectDirectory?(target: string, signal: AbortSignal): Promise<{
|
|
204
|
+
sources: Array<{
|
|
205
|
+
fieldName: string;
|
|
206
|
+
title: string;
|
|
207
|
+
}>;
|
|
208
|
+
destinations: Array<{
|
|
209
|
+
fieldName: string;
|
|
210
|
+
title: string;
|
|
211
|
+
}>;
|
|
212
|
+
}>;
|
|
213
|
+
preparePropertyFieldDraft?(input: AddMetadataPropertyFieldDraftInput, signal: AbortSignal): Promise<PreparedMetadataPropertyFieldDraft>;
|
|
214
|
+
preparePropertyFieldCommit?(prepared: PreparedMetadataPropertyFieldDraft): () => {
|
|
215
|
+
relationId: string;
|
|
216
|
+
kind: MetadataPropertyFieldKind;
|
|
217
|
+
fieldName: string;
|
|
218
|
+
columnName: string;
|
|
219
|
+
title: string;
|
|
220
|
+
fieldSpecAlias: string;
|
|
221
|
+
target: string;
|
|
222
|
+
};
|
|
223
|
+
}
|
|
224
|
+
export declare function metadataFieldPropertyTitles(language?: LanguageContext): Record<string, string>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type LanguageContext } from '../web-core/index';
|
|
1
2
|
import type { MetadataField, ModuleMetadataRelation } from '../web-contracts/index';
|
|
2
3
|
import { type MetadataFieldPropertyDraft, type MetadataFieldPropertySummary } from './metadataOrchestrationState';
|
|
3
4
|
export type MetadataFieldGovernanceKind = 'BUSINESS' | 'CAPABILITY_DERIVED' | 'PLATFORM_SYSTEM' | 'RELATION_FOREIGN_KEY';
|
|
@@ -23,6 +24,7 @@ export declare function toFieldPropertyChangeSetPayload(property: MetadataFieldP
|
|
|
23
24
|
export interface MetadataRelationChangeSetProposal {
|
|
24
25
|
expectedMetadataVersion: number;
|
|
25
26
|
fieldDrafts: MetadataFieldChangeSetDraft[];
|
|
27
|
+
capabilitySelections?: Record<string, boolean>;
|
|
26
28
|
}
|
|
27
29
|
/** Input facts are loaded for every node before a module-wide edit session begins. */
|
|
28
30
|
export interface MetadataModelRelationDraftSource {
|
|
@@ -40,6 +42,7 @@ export interface MetadataModelRelationDraft {
|
|
|
40
42
|
metadataId: string;
|
|
41
43
|
relationId: string;
|
|
42
44
|
expectedMetadataVersion: number;
|
|
45
|
+
capabilitySelections: Record<string, boolean>;
|
|
43
46
|
fields: Record<string, MetadataField>;
|
|
44
47
|
fieldProperties: Record<string, MetadataFieldPropertyDraft>;
|
|
45
48
|
parentMetadataId?: string;
|
|
@@ -64,21 +67,44 @@ export interface MetadataModelChangeSetProposal {
|
|
|
64
67
|
* relation-level field proposal shape: the module façade owns atomic validation/persistence while
|
|
65
68
|
* this class keeps every tree action local until the user chooses one publish operation.
|
|
66
69
|
*/
|
|
67
|
-
export declare function createMetadataModelWorkspaceEditSession(): {
|
|
70
|
+
export declare function createMetadataModelWorkspaceEditSession(language?: LanguageContext): {
|
|
68
71
|
draft: import("vue").Ref<Record<string, MetadataModelRelationDraft> | undefined, Record<string, MetadataModelRelationDraft> | undefined>;
|
|
69
72
|
relationOrder: import("vue").Ref<Record<string, string[]>, Record<string, string[]>>;
|
|
70
73
|
editing: import("vue").ComputedRef<boolean>;
|
|
71
74
|
isDirty: import("vue").ComputedRef<boolean>;
|
|
72
75
|
begin: (sources: MetadataModelRelationDraftSource[]) => void;
|
|
76
|
+
prepareRebase: (sources: MetadataModelRelationDraftSource[], proposal: MetadataModelChangeSetProposal, enabledCapabilities?: Readonly<Record<string, string[]>>, baseline?: Readonly<Record<string, MetadataModelRelationDraft>>) => () => void;
|
|
77
|
+
captureBaseline: () => {
|
|
78
|
+
[k: string]: {
|
|
79
|
+
capabilitySelections: {
|
|
80
|
+
[x: string]: boolean;
|
|
81
|
+
};
|
|
82
|
+
fields: Record<string, MetadataField>;
|
|
83
|
+
fieldProperties: Record<string, MetadataFieldPropertyDraft>;
|
|
84
|
+
fieldOrder: string[];
|
|
85
|
+
sortableFieldIds: string[];
|
|
86
|
+
metadataId: string;
|
|
87
|
+
relationId: string;
|
|
88
|
+
expectedMetadataVersion: number;
|
|
89
|
+
parentMetadataId?: string;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
73
92
|
cancel: () => void;
|
|
74
93
|
relation: (relationId: string) => MetadataModelRelationDraft | undefined;
|
|
75
94
|
fieldsForDisplay: (relationId: string, fallback: MetadataField[]) => MetadataField[];
|
|
76
95
|
propertyForField: (relationId: string, field: MetadataField) => MetadataFieldPropertyDraft;
|
|
77
96
|
stageField: (relationId: string, field: MetadataField, property?: MetadataFieldPropertyDraft, replaceNewFieldKey?: string) => void;
|
|
97
|
+
stageFields: (relationId: string, entries: Array<{
|
|
98
|
+
field: MetadataField;
|
|
99
|
+
property: MetadataFieldPropertyDraft;
|
|
100
|
+
}>) => void;
|
|
101
|
+
discardNewField: (relationId: string, fieldName: string) => void;
|
|
102
|
+
stageCapability: (relationId: string, capability: string, selected: boolean) => void;
|
|
78
103
|
stageFieldOrder: (relationId: string, fieldIds: string[]) => void;
|
|
79
104
|
stageRelationOrder: (parentMetadataId: string | undefined, relationIds: string[]) => void;
|
|
80
|
-
buildProposal: () => MetadataModelChangeSetProposal | undefined;
|
|
105
|
+
buildProposal: (currentDraft?: Record<string, MetadataModelRelationDraft> | undefined) => MetadataModelChangeSetProposal | undefined;
|
|
106
|
+
proposalWithField: (relationId: string, field: MetadataField, property: MetadataFieldPropertyDraft, replaceNewFieldKey?: string) => MetadataModelChangeSetProposal | undefined;
|
|
81
107
|
};
|
|
82
108
|
export declare function metadataFieldGovernanceKind(field: MetadataField, relation: ModuleMetadataRelation | undefined, capabilityFieldNames: ReadonlySet<string>): MetadataFieldGovernanceKind;
|
|
83
|
-
export declare function metadataFieldGovernanceLabel(kind: MetadataFieldGovernanceKind): string;
|
|
109
|
+
export declare function metadataFieldGovernanceLabel(kind: MetadataFieldGovernanceKind, language?: LanguageContext): string;
|
|
84
110
|
export declare function isSessionEditableMetadataField(field: MetadataField, relation: ModuleMetadataRelation | undefined, capabilityFieldNames: ReadonlySet<string>): boolean;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type LanguageContext } from '../web-core/index';
|
|
1
2
|
import type { Metadata, MetadataField, ModuleMetadataRelation } from '../web-contracts/index';
|
|
2
3
|
import type { UiTreeDropEvent, UiTreeNode } from '../vue-ui-antdv/index';
|
|
3
4
|
export type MetadataModelTreeNodeKind = 'METADATA' | 'FIELD';
|
|
@@ -22,7 +23,7 @@ export interface MetadataModelTreeInput {
|
|
|
22
23
|
* strongly typed cards. The explorer title already states "元数据", so entity nodes are roots
|
|
23
24
|
* rather than being wrapped in a redundant virtual node.
|
|
24
25
|
*/
|
|
25
|
-
export declare function buildMetadataModelTree(input: MetadataModelTreeInput): MetadataModelTreeNode[];
|
|
26
|
+
export declare function buildMetadataModelTree(input: MetadataModelTreeInput, language?: LanguageContext): MetadataModelTreeNode[];
|
|
26
27
|
export declare function metadataNodeKey(relationId: string): string;
|
|
27
28
|
export declare function fieldNodeKey(relationId: string, fieldId: string): string;
|
|
28
29
|
export declare function parseMetadataModelTreeKey(key: string): {
|
|
@@ -1,11 +1,20 @@
|
|
|
1
|
+
import { type LanguageContext, type OperationErrorMessage } from '../web-core/index';
|
|
1
2
|
import type { MetadataFieldPropertyKind } from './metadataOrchestrationState';
|
|
2
3
|
export declare const PLATFORM_FIELD_NAME_PATTERN = "^[a-z][A-Za-z0-9]{0,62}$";
|
|
3
4
|
export declare const DYNAMIC_RECORD_RESERVED_FIELD_NAMES: Set<string>;
|
|
4
5
|
export declare function isPlatformFieldName(value: string): boolean;
|
|
5
6
|
export declare function isDynamicRecordReservedFieldName(value: string): boolean;
|
|
6
7
|
export declare function physicalNameOf(fieldName?: string): string;
|
|
8
|
+
/** Match the platform record-name contract before a shared candidate is staged. */
|
|
9
|
+
export declare function recordNameFieldProblemMessage(field: {
|
|
10
|
+
titleField?: boolean | null;
|
|
11
|
+
fieldName?: string | null;
|
|
12
|
+
columnName?: string | null;
|
|
13
|
+
}, language?: LanguageContext): OperationErrorMessage | undefined;
|
|
14
|
+
/** Compatibility display helper; editors retain the declared message instead of this rendered string. */
|
|
15
|
+
export declare function recordNameFieldProblem(field: Parameters<typeof recordNameFieldProblemMessage>[0], language?: LanguageContext): string | undefined;
|
|
7
16
|
export declare function generatedFieldName(title?: string): string;
|
|
8
17
|
/** Default names for newly created business fields; runtime semantics remain metadata-driven. */
|
|
9
|
-
export declare function generatedBusinessFieldName(title: string | undefined, kind: MetadataFieldPropertyKind): string;
|
|
18
|
+
export declare function generatedBusinessFieldName(title: string | undefined, kind: MetadataFieldPropertyKind, titleField?: boolean): string;
|
|
10
19
|
/** Metadata identifiers use lower snake case; they are stable after explicit editing. */
|
|
11
20
|
export declare function generatedMetadataAlias(title: string, maxLength?: number): string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type LanguageContext } from '../web-core/index';
|
|
1
2
|
import type { FieldSpec, Metadata, MetadataField, ModuleMetadataRelation } from '../web-contracts/index';
|
|
2
3
|
import type { RecordExplorerItemDescriptor } from '../platform-components/recordExplorerItemModel';
|
|
3
4
|
/** Editor lifecycle of the metadata orchestration workspace. */
|
|
@@ -22,7 +23,9 @@ export interface MetadataFieldReferencePropertyConfig {
|
|
|
22
23
|
targetLabelField?: string;
|
|
23
24
|
cardinality?: 'ONE' | 'MANY';
|
|
24
25
|
targetUnavailablePolicy?: 'PRESERVE_HISTORY' | 'RESTRICT' | 'CASCADE_DELETE';
|
|
26
|
+
requireEnabled?: boolean;
|
|
25
27
|
projectionMappings?: string[];
|
|
28
|
+
affectMappings?: string[];
|
|
26
29
|
}
|
|
27
30
|
export interface MetadataFieldDictionaryPropertyConfig {
|
|
28
31
|
dictionaryApplicationAlias?: string;
|
|
@@ -40,9 +43,17 @@ export interface MetadataFieldPropertyDraft {
|
|
|
40
43
|
expectedBindingVersion?: number;
|
|
41
44
|
referenceConfig?: MetadataFieldReferencePropertyConfig;
|
|
42
45
|
dictionaryConfig?: MetadataFieldDictionaryPropertyConfig;
|
|
46
|
+
fixedDefault?: {
|
|
47
|
+
value: string | null;
|
|
48
|
+
expectedConfigVersion?: number;
|
|
49
|
+
};
|
|
43
50
|
}
|
|
44
51
|
/** Relation-scoped property facts supplied by the module-governance read model. */
|
|
45
52
|
export interface MetadataFieldPropertySummary extends MetadataFieldPropertyDraft {
|
|
53
|
+
fixedDefault?: NonNullable<MetadataFieldPropertyDraft['fixedDefault']> & {
|
|
54
|
+
configVersion?: number;
|
|
55
|
+
editable?: boolean;
|
|
56
|
+
};
|
|
46
57
|
fieldId?: string;
|
|
47
58
|
fieldName?: string;
|
|
48
59
|
fieldSpecAlias?: string;
|
|
@@ -60,7 +71,7 @@ export interface FieldSpecOption {
|
|
|
60
71
|
value: string;
|
|
61
72
|
label: string;
|
|
62
73
|
}
|
|
63
|
-
export declare function createMetadataOrchestrationState(): {
|
|
74
|
+
export declare function createMetadataOrchestrationState(language?: LanguageContext): {
|
|
64
75
|
relations: import("vue").Ref<{
|
|
65
76
|
moduleAlias?: string | undefined;
|
|
66
77
|
metadataId?: string | undefined;
|
|
@@ -338,13 +349,19 @@ export declare function createMetadataOrchestrationState(): {
|
|
|
338
349
|
targetLabelField?: string | undefined;
|
|
339
350
|
cardinality?: "ONE" | "MANY" | undefined;
|
|
340
351
|
targetUnavailablePolicy?: "PRESERVE_HISTORY" | "RESTRICT" | "CASCADE_DELETE" | undefined;
|
|
352
|
+
requireEnabled?: boolean | undefined;
|
|
341
353
|
projectionMappings?: string[] | undefined;
|
|
354
|
+
affectMappings?: string[] | undefined;
|
|
342
355
|
} | undefined;
|
|
343
356
|
dictionaryConfig?: {
|
|
344
357
|
dictionaryApplicationAlias?: string | undefined;
|
|
345
358
|
dictionaryCategoryAlias?: string | undefined;
|
|
346
359
|
selectionMode?: "SINGLE" | "MULTIPLE" | undefined;
|
|
347
360
|
} | undefined;
|
|
361
|
+
fixedDefault?: {
|
|
362
|
+
value: string | null;
|
|
363
|
+
expectedConfigVersion?: number | undefined;
|
|
364
|
+
} | undefined;
|
|
348
365
|
}, MetadataFieldPropertyDraft | {
|
|
349
366
|
kind: MetadataFieldPropertyKind;
|
|
350
367
|
expectedBindingVersion?: number | undefined;
|
|
@@ -355,13 +372,19 @@ export declare function createMetadataOrchestrationState(): {
|
|
|
355
372
|
targetLabelField?: string | undefined;
|
|
356
373
|
cardinality?: "ONE" | "MANY" | undefined;
|
|
357
374
|
targetUnavailablePolicy?: "PRESERVE_HISTORY" | "RESTRICT" | "CASCADE_DELETE" | undefined;
|
|
375
|
+
requireEnabled?: boolean | undefined;
|
|
358
376
|
projectionMappings?: string[] | undefined;
|
|
377
|
+
affectMappings?: string[] | undefined;
|
|
359
378
|
} | undefined;
|
|
360
379
|
dictionaryConfig?: {
|
|
361
380
|
dictionaryApplicationAlias?: string | undefined;
|
|
362
381
|
dictionaryCategoryAlias?: string | undefined;
|
|
363
382
|
selectionMode?: "SINGLE" | "MULTIPLE" | undefined;
|
|
364
383
|
} | undefined;
|
|
384
|
+
fixedDefault?: {
|
|
385
|
+
value: string | null;
|
|
386
|
+
expectedConfigVersion?: number | undefined;
|
|
387
|
+
} | undefined;
|
|
365
388
|
}>;
|
|
366
389
|
selectedRelation: import("vue").ComputedRef<{
|
|
367
390
|
moduleAlias?: string | undefined;
|
|
@@ -414,20 +437,20 @@ export declare function isValidFieldDraft(draft: MetadataFieldDraft): boolean;
|
|
|
414
437
|
export declare function normalizeFieldDraft(draft: MetadataFieldDraft): MetadataFieldDraft;
|
|
415
438
|
export declare function normalizeFieldPropertyDraft(property: MetadataFieldPropertyDraft): MetadataFieldPropertyDraft;
|
|
416
439
|
export declare function isValidFieldPropertyDraft(property: MetadataFieldPropertyDraft): boolean;
|
|
417
|
-
export declare function metadataFieldPropertyLabel(kind: MetadataFieldPropertyKind): string;
|
|
418
|
-
export declare function metadataFieldPropertySummary(property: MetadataFieldPropertyDraft): string;
|
|
440
|
+
export declare function metadataFieldPropertyLabel(kind: MetadataFieldPropertyKind, language?: LanguageContext): string;
|
|
441
|
+
export declare function metadataFieldPropertySummary(property: MetadataFieldPropertyDraft, language?: LanguageContext): string;
|
|
419
442
|
/** Only business-owned physical fields are orchestrated; platform-managed fields stay hidden. */
|
|
420
443
|
export declare function orchestratableFields(fields: MetadataField[]): MetadataField[];
|
|
421
444
|
/** Only these field facts may be changed through the metadata field editor. */
|
|
422
445
|
export declare function isOrchestratableField(field: MetadataField): boolean;
|
|
423
|
-
export declare function fieldSpecOptionListOf(specs: FieldSpec[]): FieldSpecOption[];
|
|
446
|
+
export declare function fieldSpecOptionListOf(specs: FieldSpec[], language?: LanguageContext): FieldSpecOption[];
|
|
424
447
|
/** Filters a populated entity to the source specification's server-declared safe targets. */
|
|
425
|
-
export declare function dataSafeFieldSpecOptions(specs: FieldSpec[], currentAlias?: string): FieldSpecOption[];
|
|
448
|
+
export declare function dataSafeFieldSpecOptions(specs: FieldSpec[], currentAlias?: string, language?: LanguageContext): FieldSpecOption[];
|
|
426
449
|
/** Use the catalog title for human-facing metadata surfaces; aliases remain stable machine identities. */
|
|
427
|
-
export declare function fieldSpecDisplayLabel(fieldSpecAlias: string | undefined, specs: FieldSpec[]): string;
|
|
428
|
-
export declare function entityTitleOf(relation: ModuleMetadataRelation, metadata: Metadata | undefined): string;
|
|
429
|
-
export declare function relationRoleTag(role: ModuleMetadataRelation['relationRole']): string | undefined;
|
|
450
|
+
export declare function fieldSpecDisplayLabel(fieldSpecAlias: string | undefined, specs: FieldSpec[], language?: LanguageContext): string;
|
|
451
|
+
export declare function entityTitleOf(relation: ModuleMetadataRelation, metadata: Metadata | undefined, language?: LanguageContext): string;
|
|
452
|
+
export declare function relationRoleTag(role: ModuleMetadataRelation['relationRole'], language?: LanguageContext): string | undefined;
|
|
430
453
|
/** Java code enums are serialized by their stable lower-case code in runtime responses. */
|
|
431
454
|
export declare function isMainRelation(role: ModuleMetadataRelation['relationRole'] | undefined): boolean;
|
|
432
|
-
export declare function entityExplorerItem(relation: ModuleMetadataRelation, metadata: Metadata | undefined): RecordExplorerItemDescriptor;
|
|
455
|
+
export declare function entityExplorerItem(relation: ModuleMetadataRelation, metadata: Metadata | undefined, language?: LanguageContext): RecordExplorerItemDescriptor;
|
|
433
456
|
export declare function metadataSubtitleOf(metadata: Metadata | undefined): string | undefined;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type LanguageContext } from '../web-core/index';
|
|
1
2
|
import type { UiTreeNode } from '../vue-ui-antdv/index';
|
|
2
3
|
/** Shared metadata presentation; consumers supply actions and capability restrictions. */
|
|
3
4
|
export declare function metadataSourceFieldNode(field: {
|
|
@@ -6,5 +7,5 @@ export declare function metadataSourceFieldNode(field: {
|
|
|
6
7
|
platformReadOnly?: boolean;
|
|
7
8
|
referenceModuleAlias?: string;
|
|
8
9
|
expandable?: boolean;
|
|
9
|
-
}, options: Pick<UiTreeNode, 'key'> & Partial<UiTreeNode
|
|
10
|
-
export declare function metadataSourceRoot(title: string, children: UiTreeNode[]): UiTreeNode;
|
|
10
|
+
}, options: Pick<UiTreeNode, 'key'> & Partial<UiTreeNode>, language?: LanguageContext): UiTreeNode;
|
|
11
|
+
export declare function metadataSourceRoot(title: string, children: UiTreeNode[], language?: LanguageContext): UiTreeNode;
|