@ximatai/muyun-web-app 0.26.15 → 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-LkWCtops.js → ModuleGovernanceView-DsqR_Sj7.js} +6733 -6323
- 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 +852 -735
- package/dist/moduleGovernanceWorkspaceView-DGEV3ZyT.js +667 -0
- package/dist/platform-components-Cl5ZZiuU.js +27139 -0
- package/dist/{platform-workbench-C-kE-Yqq.js → platform-workbench-CAHoriIf.js} +7677 -7187
- 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 +1 -1
- 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/workbenchStartup.d.ts +8 -4
- package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +1 -1
- package/dist/types/consumer/index.d.ts +3 -1
- package/dist/types/dynamic-page-runtime/ManagedDetailRelationInlineSurface.vue.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/ManagedDetailRelationSurface.vue.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +46 -1302
- package/dist/types/dynamic-page-runtime/ModulePageDetailRelations.vue.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +409 -1626
- package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansion.vue.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/ModulePageRecordContent.vue.d.ts +15 -1
- package/dist/types/dynamic-page-runtime/ModuleRecordDetailActions.vue.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/NavigatorManagementEditor.vue.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/NavigatorPanelActions.vue.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/TenantScopeExplorer.vue.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/composables/useModulePageBootstrap.d.ts +4 -3
- package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +9 -1301
- package/dist/types/dynamic-page-runtime/formActionResult.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/formValidationCoordinator.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +13 -4
- package/dist/types/dynamic-page-runtime/modulePageUnsavedState.d.ts +3 -10
- package/dist/types/dynamic-page-runtime/pageActionInvocation.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/pageActionPlacement.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/pageNavigatorItemModel.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/recordCreationReadiness.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/recordDisplayProjection.d.ts +7 -3
- package/dist/types/dynamic-page-runtime/recordFormAssistantCapabilities.d.ts +5 -4
- package/dist/types/dynamic-page-runtime/recordFormDraftAccess.d.ts +3 -0
- package/dist/types/dynamic-page-runtime/recordMutationPayload.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/recordReferenceDisplay.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/recordSaveRecovery.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/relationDraftAssistantCapabilities.d.ts +2 -2
- package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +35 -1303
- package/dist/types/dynamic-page-runtime/useModuleRecordDataChanges.d.ts +13 -0
- package/dist/types/platform-admin-runtime/backendHttp.d.ts +2 -1
- package/dist/types/platform-admin-runtime/index.d.ts +3 -1
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuClient.d.ts +4 -4
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuReceiptStore.d.ts +2 -1
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuSession.d.ts +11 -7
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuWorkspace.d.ts +16 -7
- package/dist/types/platform-admin-runtime/moduleOpenApi.d.ts +4 -3
- package/dist/types/platform-admin-runtime/pageRealtime.d.ts +0 -1
- package/dist/types/platform-admin-runtime/realtime.d.ts +0 -3
- package/dist/types/platform-admin-runtime/role/roleScopeSelectionClient.d.ts +4 -1
- package/dist/types/platform-admin-runtime/sessionRecovery.d.ts +3 -1
- package/dist/types/platform-admin-runtime/user/useUserSessionRows.d.ts +2 -0
- package/dist/types/platform-admin-runtime/user/userOnlineStatusStore.d.ts +1 -5
- package/dist/types/platform-components/BusinessNotificationPanel.vue.d.ts +34 -1
- package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +4 -4
- 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 +2 -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/ModuleActionButton.vue.d.ts +2 -2
- package/dist/types/platform-components/QueryCriteriaComposer.vue.d.ts +1 -1
- package/dist/types/platform-components/QueryCriteriaGroupEditor.vue.d.ts +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/RecordFileReferenceTransfer.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +2 -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 +5 -5
- package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordPanelButton.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordPermissionDialog.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordPicker.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +6 -6
- package/dist/types/platform-components/RecordQueryListSurface.vue.d.ts +2 -2
- package/dist/types/platform-components/ReferencePicker.vue.d.ts +3 -3
- package/dist/types/platform-components/ReferenceRecordDetailBrowser.vue.d.ts +1 -1
- package/dist/types/platform-components/ScopedTreePicker.vue.d.ts +1 -1
- package/dist/types/platform-components/SingleImageFileReferenceField.vue.d.ts +1 -1
- package/dist/types/platform-components/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 +8 -2
- package/dist/types/platform-components/optionFieldOptions.d.ts +7 -2
- package/dist/types/platform-components/platformDateTime.d.ts +2 -0
- package/dist/types/platform-components/platformErrorFeedback.d.ts +2 -1
- package/dist/types/platform-components/readonlyReferenceDisplay.d.ts +10 -2
- package/dist/types/platform-components/recordActionBarModel.d.ts +4 -1
- package/dist/types/platform-components/recordDetailFieldModel.d.ts +2 -0
- package/dist/types/platform-components/recordFormFieldModel.d.ts +3 -3
- package/dist/types/platform-components/recordPickerConstraints.d.ts +4 -1
- package/dist/types/platform-components/recordQueryListColumnModel.d.ts +5 -1
- package/dist/types/platform-components/recycleBinState.d.ts +3 -2
- package/dist/types/platform-components/referencePickerModel.d.ts +9 -1
- package/dist/types/platform-components/referencePickerReadError.d.ts +11 -3
- package/dist/types/platform-components/referenceRecordDetailBrowser.d.ts +2 -2
- package/dist/types/platform-components/softDeletedConflictHandler.d.ts +3 -1
- package/dist/types/platform-components/staticCrudManagementState.d.ts +9 -8
- package/dist/types/platform-components/treeRecordModel.d.ts +2 -1
- package/dist/types/platform-components/userSessionPresentation.d.ts +4 -3
- package/dist/types/platform-components/workflowAccountOptions.d.ts +4 -0
- package/dist/types/platform-components/workflowDesignEditing.d.ts +11 -0
- package/dist/types/platform-components/workflowDiagramModel.d.ts +41 -0
- package/dist/types/platform-components/workflowParticipantPolicy.d.ts +11 -0
- package/dist/types/platform-components/workflowPresentation.d.ts +11 -0
- package/dist/types/platform-workbench/LanguageSelector.vue.d.ts +6 -0
- package/dist/types/platform-workbench/Workbench.vue.d.ts +3 -3
- package/dist/types/platform-workbench/WorkbenchAssistantPanel.vue.d.ts +1 -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 +2 -2
- package/dist/types/platform-workbench/constructionDelivery.d.ts +2 -2
- package/dist/types/platform-workbench/constructionFields.d.ts +2 -2
- package/dist/types/platform-workbench/constructionInitialization.d.ts +2 -2
- package/dist/types/platform-workbench/constructionPlanGuard.d.ts +2 -1
- package/dist/types/platform-workbench/constructionPlanSession.d.ts +12 -4
- package/dist/types/platform-workbench/constructionPresentation.d.ts +6 -0
- package/dist/types/platform-workbench/constructionReferenceDiscovery.d.ts +2 -2
- package/dist/types/platform-workbench/index.d.ts +2 -1
- package/dist/types/platform-workbench/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 +107 -15
- package/dist/types/platform-workbench/useAssistantConversationArchive.d.ts +8 -15
- package/dist/types/platform-workbench/useWorkspaceViewUnsavedState.d.ts +1 -5
- package/dist/types/platform-workbench/workbenchAssistantCapabilities.d.ts +3 -2
- package/dist/types/platform-workbench/workbenchNavigation.d.ts +1 -0
- package/dist/types/platform-workbench/workspaceViewContract.d.ts +4 -0
- package/dist/types/platform-workbench/workspaceViewDiscardGuard.d.ts +5 -0
- package/dist/types/platform-workbench/workspaceViewHost.d.ts +1 -1
- package/dist/types/platform-workbench/workspaceViewUnsavedState.d.ts +1 -1
- package/dist/types/platform-workbench/workspaceViews.d.ts +3 -2
- package/dist/types/views/ConfigurationTranslationView.vue.d.ts +3 -0
- package/dist/types/views/MetadataSourceTree.vue.d.ts +0 -2
- package/dist/types/views/PageCompositionDescriptorPreview.vue.d.ts +2 -2
- package/dist/types/views/PageQuerySummaryEditor.vue.d.ts +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 +3 -3
- package/dist/types/views/businessRuleEditor.d.ts +2 -1
- package/dist/types/views/businessRuleGovernance.d.ts +14 -4
- package/dist/types/views/businessRuleSession.d.ts +4 -3
- package/dist/types/views/businessRuleWorkspace.d.ts +6 -2
- package/dist/types/views/configurationEditorNavigation.d.ts +2 -1
- package/dist/types/views/configurationTranslationWorkspace.d.ts +69 -0
- package/dist/types/views/dictionaryRadioEligibility.d.ts +2 -1
- package/dist/types/views/metadataChangeSetSubmission.d.ts +4 -3
- package/dist/types/views/metadataEditorSession.d.ts +15 -9
- package/dist/types/views/metadataGovernanceEditor.d.ts +4 -0
- package/dist/types/views/metadataModelEditSession.d.ts +3 -2
- package/dist/types/views/metadataModelTree.d.ts +2 -1
- package/dist/types/views/metadataNaming.d.ts +5 -2
- package/dist/types/views/metadataOrchestrationState.d.ts +10 -9
- package/dist/types/views/metadataSourceTree.d.ts +3 -2
- package/dist/types/views/metadataWorkspace.d.ts +26 -19
- package/dist/types/views/moduleRuntimeActivation.d.ts +3 -3
- package/dist/types/views/pageCompositionAssistantSurface.d.ts +2 -0
- package/dist/types/views/pageCompositionCandidate.d.ts +2 -1
- package/dist/types/views/pageCompositionComponents.d.ts +5 -4
- package/dist/types/views/pageCompositionDraftState.d.ts +21 -7
- package/dist/types/views/pageCompositionMode.d.ts +26 -2
- package/dist/types/views/pageCompositionPublication.d.ts +2 -0
- package/dist/types/views/pageCompositionSession.d.ts +48 -15
- package/dist/types/views/pageCompositionWorkspace.d.ts +90 -29
- package/dist/types/views/runtimeLogClient.d.ts +2 -2
- package/dist/types/views/usePageCompositionComponents.d.ts +2 -1
- package/dist/types/views/workflowConfigurationWorkspaceView.d.ts +5 -0
- package/dist/types/vue-ui-antdv/blockingOverlays.d.ts +9 -0
- package/dist/types/vue-ui-antdv/components/UiButton.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiDataTable.vue.d.ts +2 -2
- package/dist/types/vue-ui-antdv/components/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 +1 -1
- package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiSidePanel.vue.d.ts +3 -0
- package/dist/types/vue-ui-antdv/components/UiTextArea.vue.d.ts +7 -7
- package/dist/types/vue-ui-antdv/components/UiTokenInput.vue.d.ts +7 -7
- package/dist/types/vue-ui-antdv/components/UiTree.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiTreeSelect.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/confirm.d.ts +3 -2
- package/dist/types/vue-ui-antdv/index.d.ts +3 -0
- package/dist/types/vue-ui-antdv/languageGlobalScope.d.ts +3 -0
- package/dist/types/vue-ui-antdv/languageLocales.d.ts +4 -0
- package/dist/types/vue-ui-antdv/theme.d.ts +2 -0
- package/dist/types/vue-ui-antdv/types.d.ts +2 -0
- package/dist/types/web-contracts/constructionPlan.d.ts +4 -3
- package/dist/types/web-contracts/index.d.ts +46 -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/assistantConfirmation.d.ts +3 -2
- package/dist/types/web-core/assistantConversationClient.d.ts +8 -0
- package/dist/types/web-core/assistantSurface.d.ts +4 -3
- package/dist/types/web-core/errors.d.ts +8 -4
- package/dist/types/web-core/index.d.ts +6 -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 +2 -1
- package/dist/types/web-core/module/index.d.ts +1 -0
- package/dist/types/web-core/module/moduleContext.d.ts +4 -0
- package/dist/types/web-core/module/pageActionEntries.d.ts +3 -2
- package/dist/types/web-core/module/runtimeContext.d.ts +15 -2
- package/dist/types/web-core/operationConfirmation.d.ts +5 -1
- package/dist/types/web-core/operationErrors.d.ts +15 -1
- 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/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-DVzrZW1X.js +0 -16
- package/dist/BusinessLogListDrawer-D-R3wnWr.js +0 -825
- package/dist/LoginAuditLogView-BP1eaEPw.js +0 -16
- package/dist/ModuleActionManagementView-D17iKVQv.js +0 -691
- package/dist/RequestErrorLogView-LzN94-Tk.js +0 -16
- package/dist/RoleDetailWorkspaceView-BXA-bzFu.js +0 -1406
- package/dist/RuntimeLogView-DUpu2q2w.js +0 -297
- package/dist/moduleGovernanceWorkspaceView-COjWtJMr.js +0 -639
- package/dist/platform-components-Hs3DrTqE.js +0 -19770
- package/dist/rolldown-runtime-DPVXH0ON.js +0 -17
- package/dist/sse-Q1wa3p_k.js +0 -187
- package/dist/workspaceViews-CHsgLFwY.js +0 -3217
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { type HttpClient } from '../web-core/index';
|
|
2
|
+
import type { TextReference } from '../web-contracts/index';
|
|
3
|
+
export interface ConfigurationTranslation {
|
|
4
|
+
id: string;
|
|
5
|
+
version: number;
|
|
6
|
+
moduleAlias: string;
|
|
7
|
+
sourceId: string;
|
|
8
|
+
sourceVersion: string;
|
|
9
|
+
originalText: string;
|
|
10
|
+
languageTag: string;
|
|
11
|
+
draftText: string;
|
|
12
|
+
publishedText?: string;
|
|
13
|
+
publishedRevision: number;
|
|
14
|
+
}
|
|
15
|
+
/** Translation working copies are separate from source configuration and interface language. */
|
|
16
|
+
export declare function createConfigurationTranslationWorkspace(http: HttpClient): {
|
|
17
|
+
moduleAlias: import("vue").Ref<string, string>;
|
|
18
|
+
loadedModuleAlias: import("vue").Ref<string, string>;
|
|
19
|
+
ready: import("vue").ComputedRef<boolean>;
|
|
20
|
+
sourceId: import("vue").Ref<string | undefined, string | undefined>;
|
|
21
|
+
targetLanguage: import("vue").Ref<string, string>;
|
|
22
|
+
sources: import("vue").Ref<{
|
|
23
|
+
sourceKind: "CODE" | "CONFIG";
|
|
24
|
+
sourceId: string;
|
|
25
|
+
sourceVersion: string;
|
|
26
|
+
originalText: string;
|
|
27
|
+
}[], TextReference[] | {
|
|
28
|
+
sourceKind: "CODE" | "CONFIG";
|
|
29
|
+
sourceId: string;
|
|
30
|
+
sourceVersion: string;
|
|
31
|
+
originalText: string;
|
|
32
|
+
}[]>;
|
|
33
|
+
source: import("vue").ComputedRef<{
|
|
34
|
+
sourceKind: "CODE" | "CONFIG";
|
|
35
|
+
sourceId: string;
|
|
36
|
+
sourceVersion: string;
|
|
37
|
+
originalText: string;
|
|
38
|
+
} | undefined>;
|
|
39
|
+
translation: import("vue").ComputedRef<{
|
|
40
|
+
id: string;
|
|
41
|
+
version: number;
|
|
42
|
+
moduleAlias: string;
|
|
43
|
+
sourceId: string;
|
|
44
|
+
sourceVersion: string;
|
|
45
|
+
originalText: string;
|
|
46
|
+
languageTag: string;
|
|
47
|
+
draftText: string;
|
|
48
|
+
publishedText?: string | undefined;
|
|
49
|
+
publishedRevision: number;
|
|
50
|
+
} | undefined>;
|
|
51
|
+
previous: import("vue").ComputedRef<{
|
|
52
|
+
id: string;
|
|
53
|
+
version: number;
|
|
54
|
+
moduleAlias: string;
|
|
55
|
+
sourceId: string;
|
|
56
|
+
sourceVersion: string;
|
|
57
|
+
originalText: string;
|
|
58
|
+
languageTag: string;
|
|
59
|
+
draftText: string;
|
|
60
|
+
publishedText?: string | undefined;
|
|
61
|
+
publishedRevision: number;
|
|
62
|
+
} | undefined>;
|
|
63
|
+
text: import("vue").WritableComputedRef<string, string>;
|
|
64
|
+
dirty: import("vue").ComputedRef<boolean>;
|
|
65
|
+
busy: import("vue").Ref<boolean, boolean>;
|
|
66
|
+
load: () => Promise<void>;
|
|
67
|
+
save: () => Promise<void>;
|
|
68
|
+
publish: () => Promise<void>;
|
|
69
|
+
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type LanguageContext } from '../web-core/index';
|
|
1
2
|
/** Facts loaded from the dictionary candidate endpoint for radio presentation preflight. */
|
|
2
3
|
export interface DictionaryRadioCandidateFacts {
|
|
3
4
|
enabledCandidateCount: number;
|
|
@@ -15,4 +16,4 @@ export interface DictionaryRadioEligibilityInput {
|
|
|
15
16
|
* independent from the composer view so selected-field hints, preview guards and publish guards
|
|
16
17
|
* all enforce the same rule.
|
|
17
18
|
*/
|
|
18
|
-
export declare function dictionaryRadioEligibilityIssue(input: DictionaryRadioEligibilityInput): string | undefined;
|
|
19
|
+
export declare function dictionaryRadioEligibilityIssue(input: DictionaryRadioEligibilityInput, language?: LanguageContext): string | undefined;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type LanguageContext } from '../web-core/index';
|
|
2
|
+
import { OperationUsageError, type HttpClient } from '../web-core/index';
|
|
2
3
|
import type { MetadataModelChangeSetProposal } from './metadataModelEditSession';
|
|
3
|
-
export declare class MetadataChangeSetPrecheckError extends
|
|
4
|
+
export declare class MetadataChangeSetPrecheckError extends OperationUsageError {
|
|
4
5
|
}
|
|
5
6
|
/** Both page and conversation confirm the same immutable, server-validated change set. */
|
|
6
|
-
export declare function prepareMetadataChangeSetSubmission(http: HttpClient, moduleAlias: string, candidate: MetadataModelChangeSetProposal, isCurrent: () => boolean, signal?: AbortSignal, fieldSpecTitles?: Readonly<Record<string, string>>, capabilityTitles?: Readonly<Record<string, string
|
|
7
|
+
export declare function prepareMetadataChangeSetSubmission(http: HttpClient, moduleAlias: string, candidate: MetadataModelChangeSetProposal, isCurrent: () => boolean, signal?: AbortSignal, fieldSpecTitles?: Readonly<Record<string, string>>, capabilityTitles?: Readonly<Record<string, string>>, language?: LanguageContext): Promise<{
|
|
7
8
|
lines: string[];
|
|
8
9
|
details: string[];
|
|
9
10
|
apply(): Promise<void>;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { TextPresentation } from '../web-contracts/index';
|
|
2
|
+
import { type LanguageContext } from '../web-core/index';
|
|
1
3
|
import type { ModuleActivationFeedback } from './moduleRuntimeActivation';
|
|
2
4
|
import type { Metadata, MetadataField, ModuleMetadataRelation, Option } from '../web-contracts/index';
|
|
3
5
|
import { type HttpClient } from '../web-core/index';
|
|
@@ -6,6 +8,7 @@ import { fieldSpecDisplayLabel, metadataFieldPropertyLabel, type MetadataFieldPr
|
|
|
6
8
|
import type { MetadataGovernanceEditor } from './metadataGovernanceEditor';
|
|
7
9
|
import { type MetadataModelTreeNode } from './metadataModelTree';
|
|
8
10
|
export interface MetadataEditorSessionOptions {
|
|
11
|
+
language?: LanguageContext;
|
|
9
12
|
moduleAlias: string;
|
|
10
13
|
moduleTitle?: string;
|
|
11
14
|
valid?: () => boolean;
|
|
@@ -15,6 +18,7 @@ export interface MetadataEditorSessionOptions {
|
|
|
15
18
|
}
|
|
16
19
|
/** Shared editor state and commands; creating a session never mounts a governance page. */
|
|
17
20
|
export declare function createMetadataEditorSession(source: HttpClient, options: MetadataEditorSessionOptions): {
|
|
21
|
+
language: LanguageContext;
|
|
18
22
|
moduleAlias: string;
|
|
19
23
|
title: import("vue").ComputedRef<string>;
|
|
20
24
|
adapter: MetadataGovernanceEditor;
|
|
@@ -427,14 +431,16 @@ export declare function createMetadataEditorSession(source: HttpClient, options:
|
|
|
427
431
|
capabilityItems: import("vue").ComputedRef<{
|
|
428
432
|
configurable: boolean;
|
|
429
433
|
title: string;
|
|
434
|
+
reason: string;
|
|
435
|
+
defaultDescription: string;
|
|
430
436
|
selected: boolean;
|
|
431
437
|
capability: string;
|
|
432
438
|
enabled: boolean;
|
|
433
439
|
changeSetConfigurable?: boolean;
|
|
434
|
-
reason: string;
|
|
435
440
|
fieldContributions: string[];
|
|
436
441
|
defaultKind: string;
|
|
437
|
-
|
|
442
|
+
reasonText?: TextPresentation;
|
|
443
|
+
defaultDescriptionText?: TextPresentation;
|
|
438
444
|
}[]>;
|
|
439
445
|
selectCapability: (capability: string, selected: boolean) => void;
|
|
440
446
|
fieldPlanActive: import("vue").Ref<boolean, boolean>;
|
|
@@ -562,7 +568,7 @@ export declare function createMetadataEditorSession(source: HttpClient, options:
|
|
|
562
568
|
expandedTreeKeys: import("vue").Ref<string[], string[]>;
|
|
563
569
|
childNodeType: import("vue").Ref<"FIELD" | "CHILD_METADATA", "FIELD" | "CHILD_METADATA">;
|
|
564
570
|
editorMode: import("vue").Ref<"SIMPLE" | "ADVANCED", "SIMPLE" | "ADVANCED">;
|
|
565
|
-
editorModeOptions: UiRadioOption[]
|
|
571
|
+
editorModeOptions: import("vue").ComputedRef<UiRadioOption[]>;
|
|
566
572
|
childMetadataDraft: import("vue").Ref<{
|
|
567
573
|
alias: string;
|
|
568
574
|
title: string;
|
|
@@ -582,9 +588,9 @@ export declare function createMetadataEditorSession(source: HttpClient, options:
|
|
|
582
588
|
childValidationAttempted: import("vue").Ref<boolean, boolean>;
|
|
583
589
|
creatingChildMetadata: import("vue").ComputedRef<boolean>;
|
|
584
590
|
updateChildAlias: (alias: string) => void;
|
|
585
|
-
childAliasError: import("vue").ComputedRef<
|
|
591
|
+
childAliasError: import("vue").ComputedRef<string | undefined>;
|
|
586
592
|
referenceTargetFieldCatalogLoading: import("vue").Ref<boolean, boolean>;
|
|
587
|
-
referenceTargetFieldCatalogError: import("vue").
|
|
593
|
+
referenceTargetFieldCatalogError: import("vue").ComputedRef<string | undefined>;
|
|
588
594
|
selectedField: import("vue").ComputedRef<MetadataField | undefined>;
|
|
589
595
|
selectedNodeIsField: import("vue").ComputedRef<boolean>;
|
|
590
596
|
metadataTreeNodes: import("vue").ComputedRef<MetadataModelTreeNode[]>;
|
|
@@ -593,14 +599,14 @@ export declare function createMetadataEditorSession(source: HttpClient, options:
|
|
|
593
599
|
fixedDefaultEditable: import("vue").ComputedRef<boolean>;
|
|
594
600
|
fixedDefaultReadValue: import("vue").ComputedRef<string | null>;
|
|
595
601
|
editableFieldSpecOptions: import("vue").ComputedRef<import("./metadataOrchestrationState").FieldSpecOption[]>;
|
|
596
|
-
fieldCreationItems: {
|
|
602
|
+
fieldCreationItems: import("vue").ComputedRef<{
|
|
597
603
|
key: string;
|
|
598
604
|
title: string;
|
|
599
|
-
}[]
|
|
605
|
+
}[]>;
|
|
600
606
|
referenceSearch: import("vue").Ref<string, string>;
|
|
601
607
|
dictionarySearch: import("vue").Ref<string, string>;
|
|
602
608
|
choicesLoading: import("vue").Ref<boolean, boolean>;
|
|
603
|
-
choicesError: import("vue").
|
|
609
|
+
choicesError: import("vue").ComputedRef<string | undefined>;
|
|
604
610
|
referenceModuleOptions: import("vue").ComputedRef<Option[]>;
|
|
605
611
|
dictionaryValue: import("vue").ComputedRef<string | undefined>;
|
|
606
612
|
dictionaryOptions: import("vue").ComputedRef<Option[]>;
|
|
@@ -645,7 +651,7 @@ export declare function createMetadataEditorSession(source: HttpClient, options:
|
|
|
645
651
|
canDragMetadataNode: (node: UiTreeNode) => boolean;
|
|
646
652
|
allowMetadataModelDrop: (event: UiTreeDropEvent) => boolean;
|
|
647
653
|
handleMetadataModelDrop: (event: UiTreeDropEvent) => void;
|
|
648
|
-
metadataFieldPropertyLabel: typeof metadataFieldPropertyLabel;
|
|
654
|
+
metadataFieldPropertyLabel: (kind: Parameters<typeof metadataFieldPropertyLabel>[0]) => string;
|
|
649
655
|
fieldSpecDisplayLabel: typeof fieldSpecDisplayLabel;
|
|
650
656
|
};
|
|
651
657
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type LanguageContext } from '../web-core/index';
|
|
1
2
|
import type { MetadataField } from '../web-contracts/index';
|
|
2
3
|
import type { OperationProposal } from '../web-core/index';
|
|
3
4
|
import type { MetadataModelChangeSetProposal } from './metadataModelEditSession';
|
|
@@ -138,6 +139,7 @@ export interface MetadataFieldCandidate {
|
|
|
138
139
|
saved: false;
|
|
139
140
|
expectedMetadataVersion: number;
|
|
140
141
|
changes: Array<{
|
|
142
|
+
propertyKey: string;
|
|
141
143
|
property: string;
|
|
142
144
|
before?: string | boolean;
|
|
143
145
|
after?: string | boolean;
|
|
@@ -148,6 +150,7 @@ export type MetadataFieldPlanInput = Array<(AddMetadataFieldDraftInput & {
|
|
|
148
150
|
}) | AddMetadataPropertyFieldDraftInput>;
|
|
149
151
|
/** Preparation validates without changing the editor; returned callbacks commit synchronously inside applyEffect. */
|
|
150
152
|
export interface MetadataGovernanceEditor {
|
|
153
|
+
readonly language?: LanguageContext;
|
|
151
154
|
prepareMainDraft?(input: {
|
|
152
155
|
title: string;
|
|
153
156
|
}): () => unknown;
|
|
@@ -218,3 +221,4 @@ export interface MetadataGovernanceEditor {
|
|
|
218
221
|
target: string;
|
|
219
222
|
};
|
|
220
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';
|
|
@@ -66,7 +67,7 @@ export interface MetadataModelChangeSetProposal {
|
|
|
66
67
|
* relation-level field proposal shape: the module façade owns atomic validation/persistence while
|
|
67
68
|
* this class keeps every tree action local until the user chooses one publish operation.
|
|
68
69
|
*/
|
|
69
|
-
export declare function createMetadataModelWorkspaceEditSession(): {
|
|
70
|
+
export declare function createMetadataModelWorkspaceEditSession(language?: LanguageContext): {
|
|
70
71
|
draft: import("vue").Ref<Record<string, MetadataModelRelationDraft> | undefined, Record<string, MetadataModelRelationDraft> | undefined>;
|
|
71
72
|
relationOrder: import("vue").Ref<Record<string, string[]>, Record<string, string[]>>;
|
|
72
73
|
editing: import("vue").ComputedRef<boolean>;
|
|
@@ -105,5 +106,5 @@ export declare function createMetadataModelWorkspaceEditSession(): {
|
|
|
105
106
|
proposalWithField: (relationId: string, field: MetadataField, property: MetadataFieldPropertyDraft, replaceNewFieldKey?: string) => MetadataModelChangeSetProposal | undefined;
|
|
106
107
|
};
|
|
107
108
|
export declare function metadataFieldGovernanceKind(field: MetadataField, relation: ModuleMetadataRelation | undefined, capabilityFieldNames: ReadonlySet<string>): MetadataFieldGovernanceKind;
|
|
108
|
-
export declare function metadataFieldGovernanceLabel(kind: MetadataFieldGovernanceKind): string;
|
|
109
|
+
export declare function metadataFieldGovernanceLabel(kind: MetadataFieldGovernanceKind, language?: LanguageContext): string;
|
|
109
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,3 +1,4 @@
|
|
|
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>;
|
|
@@ -5,11 +6,13 @@ 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;
|
|
7
8
|
/** Match the platform record-name contract before a shared candidate is staged. */
|
|
8
|
-
export declare function
|
|
9
|
+
export declare function recordNameFieldProblemMessage(field: {
|
|
9
10
|
titleField?: boolean | null;
|
|
10
11
|
fieldName?: string | null;
|
|
11
12
|
columnName?: string | null;
|
|
12
|
-
}):
|
|
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;
|
|
13
16
|
export declare function generatedFieldName(title?: string): string;
|
|
14
17
|
/** Default names for newly created business fields; runtime semantics remain metadata-driven. */
|
|
15
18
|
export declare function generatedBusinessFieldName(title: string | undefined, kind: MetadataFieldPropertyKind, titleField?: boolean): 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. */
|
|
@@ -70,7 +71,7 @@ export interface FieldSpecOption {
|
|
|
70
71
|
value: string;
|
|
71
72
|
label: string;
|
|
72
73
|
}
|
|
73
|
-
export declare function createMetadataOrchestrationState(): {
|
|
74
|
+
export declare function createMetadataOrchestrationState(language?: LanguageContext): {
|
|
74
75
|
relations: import("vue").Ref<{
|
|
75
76
|
moduleAlias?: string | undefined;
|
|
76
77
|
metadataId?: string | undefined;
|
|
@@ -436,20 +437,20 @@ export declare function isValidFieldDraft(draft: MetadataFieldDraft): boolean;
|
|
|
436
437
|
export declare function normalizeFieldDraft(draft: MetadataFieldDraft): MetadataFieldDraft;
|
|
437
438
|
export declare function normalizeFieldPropertyDraft(property: MetadataFieldPropertyDraft): MetadataFieldPropertyDraft;
|
|
438
439
|
export declare function isValidFieldPropertyDraft(property: MetadataFieldPropertyDraft): boolean;
|
|
439
|
-
export declare function metadataFieldPropertyLabel(kind: MetadataFieldPropertyKind): string;
|
|
440
|
-
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;
|
|
441
442
|
/** Only business-owned physical fields are orchestrated; platform-managed fields stay hidden. */
|
|
442
443
|
export declare function orchestratableFields(fields: MetadataField[]): MetadataField[];
|
|
443
444
|
/** Only these field facts may be changed through the metadata field editor. */
|
|
444
445
|
export declare function isOrchestratableField(field: MetadataField): boolean;
|
|
445
|
-
export declare function fieldSpecOptionListOf(specs: FieldSpec[]): FieldSpecOption[];
|
|
446
|
+
export declare function fieldSpecOptionListOf(specs: FieldSpec[], language?: LanguageContext): FieldSpecOption[];
|
|
446
447
|
/** Filters a populated entity to the source specification's server-declared safe targets. */
|
|
447
|
-
export declare function dataSafeFieldSpecOptions(specs: FieldSpec[], currentAlias?: string): FieldSpecOption[];
|
|
448
|
+
export declare function dataSafeFieldSpecOptions(specs: FieldSpec[], currentAlias?: string, language?: LanguageContext): FieldSpecOption[];
|
|
448
449
|
/** Use the catalog title for human-facing metadata surfaces; aliases remain stable machine identities. */
|
|
449
|
-
export declare function fieldSpecDisplayLabel(fieldSpecAlias: string | undefined, specs: FieldSpec[]): string;
|
|
450
|
-
export declare function entityTitleOf(relation: ModuleMetadataRelation, metadata: Metadata | undefined): string;
|
|
451
|
-
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;
|
|
452
453
|
/** Java code enums are serialized by their stable lower-case code in runtime responses. */
|
|
453
454
|
export declare function isMainRelation(role: ModuleMetadataRelation['relationRole'] | undefined): boolean;
|
|
454
|
-
export declare function entityExplorerItem(relation: ModuleMetadataRelation, metadata: Metadata | undefined): RecordExplorerItemDescriptor;
|
|
455
|
+
export declare function entityExplorerItem(relation: ModuleMetadataRelation, metadata: Metadata | undefined, language?: LanguageContext): RecordExplorerItemDescriptor;
|
|
455
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;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { type LanguageContext } from '../web-core/index';
|
|
1
2
|
import { type AssistantCapability, type AssistantConfigurationEditor, type AssistantInvocationToken, type HttpClient } from '../web-core/index';
|
|
2
3
|
import { type MetadataEditorSession } from './metadataEditorSession';
|
|
3
|
-
export declare function createMetadataWorkspace(http: HttpClient, identity: () => string, enabled: () => boolean, openEditor?: (moduleAlias: string, moduleTitle?: string) => void, onFocus?: () => void, openPageEditor?: (moduleAlias: string, moduleTitle?: string) => void): {
|
|
4
|
+
export declare function createMetadataWorkspace(http: HttpClient, identity: () => string, enabled: () => boolean, openEditor?: (moduleAlias: string, moduleTitle?: string) => void, onFocus?: () => void, openPageEditor?: (moduleAlias: string, moduleTitle?: string) => void, language?: LanguageContext): {
|
|
4
5
|
session: (moduleAlias: string, moduleTitle?: string) => {
|
|
6
|
+
language: LanguageContext;
|
|
5
7
|
moduleAlias: string;
|
|
6
8
|
title: import("vue").ComputedRef<string>;
|
|
7
9
|
adapter: import("./metadataGovernanceEditor").MetadataGovernanceEditor;
|
|
@@ -414,14 +416,16 @@ export declare function createMetadataWorkspace(http: HttpClient, identity: () =
|
|
|
414
416
|
capabilityItems: import("vue").ComputedRef<{
|
|
415
417
|
configurable: boolean;
|
|
416
418
|
title: string;
|
|
419
|
+
reason: string;
|
|
420
|
+
defaultDescription: string;
|
|
417
421
|
selected: boolean;
|
|
418
422
|
capability: string;
|
|
419
423
|
enabled: boolean;
|
|
420
424
|
changeSetConfigurable?: boolean;
|
|
421
|
-
reason: string;
|
|
422
425
|
fieldContributions: string[];
|
|
423
426
|
defaultKind: string;
|
|
424
|
-
|
|
427
|
+
reasonText?: import("../web-contracts").TextPresentation;
|
|
428
|
+
defaultDescriptionText?: import("../web-contracts").TextPresentation;
|
|
425
429
|
}[]>;
|
|
426
430
|
selectCapability: (capability: string, selected: boolean) => void;
|
|
427
431
|
fieldPlanActive: import("vue").Ref<boolean, boolean>;
|
|
@@ -549,7 +553,7 @@ export declare function createMetadataWorkspace(http: HttpClient, identity: () =
|
|
|
549
553
|
expandedTreeKeys: import("vue").Ref<string[], string[]>;
|
|
550
554
|
childNodeType: import("vue").Ref<"FIELD" | "CHILD_METADATA", "FIELD" | "CHILD_METADATA">;
|
|
551
555
|
editorMode: import("vue").Ref<"SIMPLE" | "ADVANCED", "SIMPLE" | "ADVANCED">;
|
|
552
|
-
editorModeOptions: import("../vue-ui-antdv").UiRadioOption[]
|
|
556
|
+
editorModeOptions: import("vue").ComputedRef<import("../vue-ui-antdv").UiRadioOption[]>;
|
|
553
557
|
childMetadataDraft: import("vue").Ref<{
|
|
554
558
|
alias: string;
|
|
555
559
|
title: string;
|
|
@@ -569,9 +573,9 @@ export declare function createMetadataWorkspace(http: HttpClient, identity: () =
|
|
|
569
573
|
childValidationAttempted: import("vue").Ref<boolean, boolean>;
|
|
570
574
|
creatingChildMetadata: import("vue").ComputedRef<boolean>;
|
|
571
575
|
updateChildAlias: (alias: string) => void;
|
|
572
|
-
childAliasError: import("vue").ComputedRef<
|
|
576
|
+
childAliasError: import("vue").ComputedRef<string | undefined>;
|
|
573
577
|
referenceTargetFieldCatalogLoading: import("vue").Ref<boolean, boolean>;
|
|
574
|
-
referenceTargetFieldCatalogError: import("vue").
|
|
578
|
+
referenceTargetFieldCatalogError: import("vue").ComputedRef<string | undefined>;
|
|
575
579
|
selectedField: import("vue").ComputedRef<import("../web-contracts").MetadataField | undefined>;
|
|
576
580
|
selectedNodeIsField: import("vue").ComputedRef<boolean>;
|
|
577
581
|
metadataTreeNodes: import("vue").ComputedRef<import("./metadataModelTree").MetadataModelTreeNode[]>;
|
|
@@ -580,14 +584,14 @@ export declare function createMetadataWorkspace(http: HttpClient, identity: () =
|
|
|
580
584
|
fixedDefaultEditable: import("vue").ComputedRef<boolean>;
|
|
581
585
|
fixedDefaultReadValue: import("vue").ComputedRef<string | null>;
|
|
582
586
|
editableFieldSpecOptions: import("vue").ComputedRef<import("./metadataOrchestrationState").FieldSpecOption[]>;
|
|
583
|
-
fieldCreationItems: {
|
|
587
|
+
fieldCreationItems: import("vue").ComputedRef<{
|
|
584
588
|
key: string;
|
|
585
589
|
title: string;
|
|
586
|
-
}[]
|
|
590
|
+
}[]>;
|
|
587
591
|
referenceSearch: import("vue").Ref<string, string>;
|
|
588
592
|
dictionarySearch: import("vue").Ref<string, string>;
|
|
589
593
|
choicesLoading: import("vue").Ref<boolean, boolean>;
|
|
590
|
-
choicesError: import("vue").
|
|
594
|
+
choicesError: import("vue").ComputedRef<string | undefined>;
|
|
591
595
|
referenceModuleOptions: import("vue").ComputedRef<import("../web-contracts").Option[]>;
|
|
592
596
|
dictionaryValue: import("vue").ComputedRef<string | undefined>;
|
|
593
597
|
dictionaryOptions: import("vue").ComputedRef<import("../web-contracts").Option[]>;
|
|
@@ -632,7 +636,7 @@ export declare function createMetadataWorkspace(http: HttpClient, identity: () =
|
|
|
632
636
|
canDragMetadataNode: (node: import("../vue-ui-antdv").UiTreeNode) => boolean;
|
|
633
637
|
allowMetadataModelDrop: (event: import("../vue-ui-antdv").UiTreeDropEvent) => boolean;
|
|
634
638
|
handleMetadataModelDrop: (event: import("../vue-ui-antdv").UiTreeDropEvent) => void;
|
|
635
|
-
metadataFieldPropertyLabel: typeof import("./metadataOrchestrationState").metadataFieldPropertyLabel;
|
|
639
|
+
metadataFieldPropertyLabel: (kind: Parameters<typeof import("./metadataOrchestrationState").metadataFieldPropertyLabel>[0]) => string;
|
|
636
640
|
fieldSpecDisplayLabel: typeof import("./metadataOrchestrationState").fieldSpecDisplayLabel;
|
|
637
641
|
};
|
|
638
642
|
};
|
|
@@ -660,6 +664,7 @@ export type MetadataWorkspace = ReturnType<typeof createMetadataWorkspace>;
|
|
|
660
664
|
export declare function provideMetadataWorkspace(workspace: MetadataWorkspace): void;
|
|
661
665
|
export declare function useMetadataWorkspace(): {
|
|
662
666
|
session: (moduleAlias: string, moduleTitle?: string) => {
|
|
667
|
+
language: LanguageContext;
|
|
663
668
|
moduleAlias: string;
|
|
664
669
|
title: import("vue").ComputedRef<string>;
|
|
665
670
|
adapter: import("./metadataGovernanceEditor").MetadataGovernanceEditor;
|
|
@@ -1072,14 +1077,16 @@ export declare function useMetadataWorkspace(): {
|
|
|
1072
1077
|
capabilityItems: import("vue").ComputedRef<{
|
|
1073
1078
|
configurable: boolean;
|
|
1074
1079
|
title: string;
|
|
1080
|
+
reason: string;
|
|
1081
|
+
defaultDescription: string;
|
|
1075
1082
|
selected: boolean;
|
|
1076
1083
|
capability: string;
|
|
1077
1084
|
enabled: boolean;
|
|
1078
1085
|
changeSetConfigurable?: boolean;
|
|
1079
|
-
reason: string;
|
|
1080
1086
|
fieldContributions: string[];
|
|
1081
1087
|
defaultKind: string;
|
|
1082
|
-
|
|
1088
|
+
reasonText?: import("../web-contracts").TextPresentation;
|
|
1089
|
+
defaultDescriptionText?: import("../web-contracts").TextPresentation;
|
|
1083
1090
|
}[]>;
|
|
1084
1091
|
selectCapability: (capability: string, selected: boolean) => void;
|
|
1085
1092
|
fieldPlanActive: import("vue").Ref<boolean, boolean>;
|
|
@@ -1207,7 +1214,7 @@ export declare function useMetadataWorkspace(): {
|
|
|
1207
1214
|
expandedTreeKeys: import("vue").Ref<string[], string[]>;
|
|
1208
1215
|
childNodeType: import("vue").Ref<"FIELD" | "CHILD_METADATA", "FIELD" | "CHILD_METADATA">;
|
|
1209
1216
|
editorMode: import("vue").Ref<"SIMPLE" | "ADVANCED", "SIMPLE" | "ADVANCED">;
|
|
1210
|
-
editorModeOptions: import("../vue-ui-antdv").UiRadioOption[]
|
|
1217
|
+
editorModeOptions: import("vue").ComputedRef<import("../vue-ui-antdv").UiRadioOption[]>;
|
|
1211
1218
|
childMetadataDraft: import("vue").Ref<{
|
|
1212
1219
|
alias: string;
|
|
1213
1220
|
title: string;
|
|
@@ -1227,9 +1234,9 @@ export declare function useMetadataWorkspace(): {
|
|
|
1227
1234
|
childValidationAttempted: import("vue").Ref<boolean, boolean>;
|
|
1228
1235
|
creatingChildMetadata: import("vue").ComputedRef<boolean>;
|
|
1229
1236
|
updateChildAlias: (alias: string) => void;
|
|
1230
|
-
childAliasError: import("vue").ComputedRef<
|
|
1237
|
+
childAliasError: import("vue").ComputedRef<string | undefined>;
|
|
1231
1238
|
referenceTargetFieldCatalogLoading: import("vue").Ref<boolean, boolean>;
|
|
1232
|
-
referenceTargetFieldCatalogError: import("vue").
|
|
1239
|
+
referenceTargetFieldCatalogError: import("vue").ComputedRef<string | undefined>;
|
|
1233
1240
|
selectedField: import("vue").ComputedRef<import("../web-contracts").MetadataField | undefined>;
|
|
1234
1241
|
selectedNodeIsField: import("vue").ComputedRef<boolean>;
|
|
1235
1242
|
metadataTreeNodes: import("vue").ComputedRef<import("./metadataModelTree").MetadataModelTreeNode[]>;
|
|
@@ -1238,14 +1245,14 @@ export declare function useMetadataWorkspace(): {
|
|
|
1238
1245
|
fixedDefaultEditable: import("vue").ComputedRef<boolean>;
|
|
1239
1246
|
fixedDefaultReadValue: import("vue").ComputedRef<string | null>;
|
|
1240
1247
|
editableFieldSpecOptions: import("vue").ComputedRef<import("./metadataOrchestrationState").FieldSpecOption[]>;
|
|
1241
|
-
fieldCreationItems: {
|
|
1248
|
+
fieldCreationItems: import("vue").ComputedRef<{
|
|
1242
1249
|
key: string;
|
|
1243
1250
|
title: string;
|
|
1244
|
-
}[]
|
|
1251
|
+
}[]>;
|
|
1245
1252
|
referenceSearch: import("vue").Ref<string, string>;
|
|
1246
1253
|
dictionarySearch: import("vue").Ref<string, string>;
|
|
1247
1254
|
choicesLoading: import("vue").Ref<boolean, boolean>;
|
|
1248
|
-
choicesError: import("vue").
|
|
1255
|
+
choicesError: import("vue").ComputedRef<string | undefined>;
|
|
1249
1256
|
referenceModuleOptions: import("vue").ComputedRef<import("../web-contracts").Option[]>;
|
|
1250
1257
|
dictionaryValue: import("vue").ComputedRef<string | undefined>;
|
|
1251
1258
|
dictionaryOptions: import("vue").ComputedRef<import("../web-contracts").Option[]>;
|
|
@@ -1290,7 +1297,7 @@ export declare function useMetadataWorkspace(): {
|
|
|
1290
1297
|
canDragMetadataNode: (node: import("../vue-ui-antdv").UiTreeNode) => boolean;
|
|
1291
1298
|
allowMetadataModelDrop: (event: import("../vue-ui-antdv").UiTreeDropEvent) => boolean;
|
|
1292
1299
|
handleMetadataModelDrop: (event: import("../vue-ui-antdv").UiTreeDropEvent) => void;
|
|
1293
|
-
metadataFieldPropertyLabel: typeof import("./metadataOrchestrationState").metadataFieldPropertyLabel;
|
|
1300
|
+
metadataFieldPropertyLabel: (kind: Parameters<typeof import("./metadataOrchestrationState").metadataFieldPropertyLabel>[0]) => string;
|
|
1294
1301
|
fieldSpecDisplayLabel: typeof import("./metadataOrchestrationState").fieldSpecDisplayLabel;
|
|
1295
1302
|
};
|
|
1296
1303
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { InjectionKey } from 'vue';
|
|
2
|
-
import type
|
|
2
|
+
import { type HttpClient, type LanguageContext } from '../web-core/index';
|
|
3
3
|
import type { DynamicRuntimeActivationStatus, WebActionMessage } from '../web-contracts/index';
|
|
4
4
|
export interface ModuleActivationFeedback {
|
|
5
5
|
message: WebActionMessage;
|
|
@@ -7,5 +7,5 @@ export interface ModuleActivationFeedback {
|
|
|
7
7
|
/** Recheck committed module configuration without coupling editors to its presentation. */
|
|
8
8
|
export declare const moduleRuntimeActivationRefreshKey: InjectionKey<(moduleAlias: string) => Promise<ModuleActivationFeedback | undefined>>;
|
|
9
9
|
/** Same committed-state feedback for visible governance pages and headless editors. */
|
|
10
|
-
export declare function moduleActivationFeedback(current: DynamicRuntimeActivationStatus): ModuleActivationFeedback;
|
|
11
|
-
export declare function readModuleActivationFeedback(http: HttpClient, moduleAlias: string): Promise<ModuleActivationFeedback>;
|
|
10
|
+
export declare function moduleActivationFeedback(current: DynamicRuntimeActivationStatus, language?: LanguageContext): ModuleActivationFeedback;
|
|
11
|
+
export declare function readModuleActivationFeedback(http: HttpClient, moduleAlias: string, language?: LanguageContext): Promise<ModuleActivationFeedback>;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { type LanguageContext } from '../web-core/index';
|
|
1
2
|
import { type AssistantCapability, type AssistantOperationProposal, type AssistantSurface, type AssistantTurnRequester } from '../web-core/index';
|
|
2
3
|
import type { PageCompositionCandidateInput } from './pageCompositionCandidate';
|
|
3
4
|
export interface PageCompositionAssistantAdapter {
|
|
5
|
+
readonly language?: LanguageContext;
|
|
4
6
|
describe(): {
|
|
5
7
|
moduleAlias: string;
|
|
6
8
|
title?: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type LanguageContext } from '../web-core/index';
|
|
1
2
|
import type { PageComposerField, PageComposerFieldProperties, PageComposerLayout, PageComposerRelation } from './pageCompositionDraftState';
|
|
2
3
|
export interface PageCompositionCandidateInput {
|
|
3
4
|
list?: Array<{
|
|
@@ -44,4 +45,4 @@ export declare function preparePageCompositionCandidate(current: PageComposition
|
|
|
44
45
|
quickSearchFields: string[];
|
|
45
46
|
};
|
|
46
47
|
/** Compare template declarations, including manual edits, without exposing arbitrary UI JSON to the model. */
|
|
47
|
-
export declare function pageCompositionChangeLines(before: string | undefined, after: string, fieldTitle?: (name: string) => string): string[];
|
|
48
|
+
export declare function pageCompositionChangeLines(before: string | undefined, after: string, fieldTitle?: (name: string) => string, language?: LanguageContext): string[];
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type LanguageContext } from '../web-core/index';
|
|
1
2
|
import type { ComponentDragPayload } from './pageCompositionDragPayload';
|
|
2
3
|
import type { PageComposerField } from './pageCompositionDraftState';
|
|
3
4
|
export interface ComponentDefinition {
|
|
@@ -21,7 +22,7 @@ export interface PendingComponentField {
|
|
|
21
22
|
/** Transport only component intent; metadata specifications remain server-owned. */
|
|
22
23
|
export declare function componentFieldDefinition(input: PendingComponentField): {
|
|
23
24
|
key: string;
|
|
24
|
-
component: "number" | "
|
|
25
|
+
component: "number" | "text" | "date" | "textarea" | "switch";
|
|
25
26
|
title: string;
|
|
26
27
|
required: boolean | undefined;
|
|
27
28
|
};
|
|
@@ -29,14 +30,14 @@ export declare function componentFieldDefinition(input: PendingComponentField):
|
|
|
29
30
|
export declare function componentFieldForSave(input: PendingComponentField): {
|
|
30
31
|
suggestedName: string;
|
|
31
32
|
key: string;
|
|
32
|
-
component: "number" | "
|
|
33
|
+
component: "number" | "text" | "date" | "textarea" | "switch";
|
|
33
34
|
title: string;
|
|
34
35
|
required: boolean | undefined;
|
|
35
36
|
};
|
|
36
37
|
export declare function componentField(input: PendingComponentField): PageComposerField;
|
|
37
38
|
/** Build once per draft change; field consumers share the same index. */
|
|
38
|
-
export declare function componentFieldUsageIndex(treeJson: string): Map<string, string[]>;
|
|
39
|
+
export declare function componentFieldUsageIndex(treeJson: string, language?: LanguageContext): Map<string, string[]>;
|
|
39
40
|
/** Only referenced definitions are created on save; unused session entries remain available for undo. */
|
|
40
41
|
export declare function placedComponentFields(inputs: PendingComponentField[], treeJson: string): PendingComponentField[];
|
|
41
|
-
export declare function componentFieldUsage(fieldName: string, treeJson: string): string[];
|
|
42
|
+
export declare function componentFieldUsage(fieldName: string, treeJson: string, language?: LanguageContext): string[];
|
|
42
43
|
export declare function sameTitleFields(title: string, fieldId: string, fields: PageComposerField[]): PageComposerField[];
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type LanguageContext } from '../web-core/index';
|
|
1
2
|
export type PageComposerSlot = 'list' | 'form';
|
|
2
3
|
/** Preview selects the read or edit projection of the page. */
|
|
3
4
|
export type PageComposerPreviewMode = 'list' | 'query' | 'detail' | 'edit';
|
|
@@ -58,10 +59,9 @@ export interface PageQuerySummaryCatalogTitles {
|
|
|
58
59
|
}>;
|
|
59
60
|
}
|
|
60
61
|
/** A concise, business-facing explanation for the tree and the summary editor. */
|
|
61
|
-
export declare function pageQuerySummaryDescription(summary: PageQuerySummary, catalog?: PageQuerySummaryCatalogTitles): string;
|
|
62
|
+
export declare function pageQuerySummaryDescription(summary: PageQuerySummary, catalog?: PageQuerySummaryCatalogTitles, language?: LanguageContext): string;
|
|
62
63
|
/** Default titles follow a user-selected source while a custom title remains the user's intent. */
|
|
63
|
-
export declare function defaultPageQuerySummaryLabel(summary: PageQuerySummary, catalog?: PageQuerySummaryCatalogTitles): string;
|
|
64
|
-
export declare function hasDefaultPageQuerySummaryLabel(summary: PageQuerySummary, catalog?: PageQuerySummaryCatalogTitles): boolean;
|
|
64
|
+
export declare function defaultPageQuerySummaryLabel(summary: PageQuerySummary, catalog?: PageQuerySummaryCatalogTitles, language?: LanguageContext): string;
|
|
65
65
|
/** A direct child relation placed as an association-list component in the detail slot. */
|
|
66
66
|
export interface PageComposerRelation {
|
|
67
67
|
/** Unsaved child metadata, owned by the current composition session. */
|
|
@@ -113,7 +113,8 @@ export interface ManagementUiTree {
|
|
|
113
113
|
querySummaries?: PageQuerySummary[];
|
|
114
114
|
nodes: Array<{
|
|
115
115
|
slot: PageComposerSlot | 'detail';
|
|
116
|
-
|
|
116
|
+
/** Omitted titles use platform template defaults; explicit titles are configuration originals. */
|
|
117
|
+
title?: string;
|
|
117
118
|
fields: Array<string | {
|
|
118
119
|
field: string;
|
|
119
120
|
props: PageComposerFieldProperties;
|
|
@@ -143,9 +144,9 @@ export interface ManagementUiTree {
|
|
|
143
144
|
* PageDefinition / PresentationRevision editing model rather than a
|
|
144
145
|
* projection of another configuration aggregate.
|
|
145
146
|
*/
|
|
146
|
-
export declare function createPageCompositionDraftState(): {
|
|
147
|
+
export declare function createPageCompositionDraftState(language?: LanguageContext): {
|
|
147
148
|
separateDetail: import("vue").Ref<boolean, boolean>;
|
|
148
|
-
activeLayout: import("vue").Ref<"
|
|
149
|
+
activeLayout: import("vue").Ref<"form" | "detail", "form" | "detail">;
|
|
149
150
|
layouts: import("vue").Ref<{
|
|
150
151
|
form: {
|
|
151
152
|
fields: {
|
|
@@ -633,6 +634,15 @@ export declare function createPageCompositionDraftState(): {
|
|
|
633
634
|
}[]>;
|
|
634
635
|
orderedForm: import("vue").ComputedRef<PageComposerFormItem[]>;
|
|
635
636
|
quickSearchPlaceholder: import("vue").Ref<string | undefined, string | undefined>;
|
|
637
|
+
slotTitles: import("vue").Ref<{
|
|
638
|
+
list?: string | undefined;
|
|
639
|
+
form?: string | undefined;
|
|
640
|
+
detail?: string | undefined;
|
|
641
|
+
}, Partial<Record<"detail" | PageComposerSlot, string>> | {
|
|
642
|
+
list?: string | undefined;
|
|
643
|
+
form?: string | undefined;
|
|
644
|
+
detail?: string | undefined;
|
|
645
|
+
}>;
|
|
636
646
|
nodes: import("vue").ComputedRef<PageComposerNode[]>;
|
|
637
647
|
selectedNodeId: import("vue").Ref<string | undefined, string | undefined>;
|
|
638
648
|
selectedNode: import("vue").ComputedRef<PageComposerNode | undefined>;
|
|
@@ -664,7 +674,11 @@ export declare function createPageCompositionDraftState(): {
|
|
|
664
674
|
order?: PageComposerFormItem[];
|
|
665
675
|
}) => void;
|
|
666
676
|
normalizeFormFieldPlacements: () => boolean;
|
|
667
|
-
toManagementUiTree: (titles?:
|
|
677
|
+
toManagementUiTree: (titles?: {
|
|
678
|
+
list?: string | undefined;
|
|
679
|
+
form?: string | undefined;
|
|
680
|
+
detail?: string | undefined;
|
|
681
|
+
}) => ManagementUiTree;
|
|
668
682
|
};
|
|
669
683
|
export interface PageComposerLayout {
|
|
670
684
|
fields: PageComposerField[];
|