@ximatai/muyun-web-app 0.26.13 → 0.26.15
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-UC4rH4Fn.js → BusinessActivityLogView-DVzrZW1X.js} +1 -1
- package/dist/BusinessLogListDrawer-D-R3wnWr.js +825 -0
- package/dist/{LoginAuditLogView-Cjrp8MKX.js → LoginAuditLogView-BP1eaEPw.js} +1 -1
- package/dist/{ModuleActionManagementView-Dkb35QXc.js → ModuleActionManagementView-D17iKVQv.js} +214 -196
- package/dist/{ModuleGovernanceView-Dx43QvGf.js → ModuleGovernanceView-LkWCtops.js} +13509 -8472
- package/dist/{RequestErrorLogView-WnGvMWiF.js → RequestErrorLogView-LzN94-Tk.js} +1 -1
- package/dist/{RoleDetailWorkspaceView-DPDb_QOn.js → RoleDetailWorkspaceView-BXA-bzFu.js} +173 -164
- package/dist/{RuntimeLogView-BRl4ZDkU.js → RuntimeLogView-DUpu2q2w.js} +48 -81
- package/dist/index.css +1 -1
- package/dist/index.js +562 -497
- package/dist/moduleGovernanceWorkspaceView-COjWtJMr.js +639 -0
- package/dist/{platform-components-1cvOeHmo.js → platform-components-Hs3DrTqE.js} +5260 -3344
- package/dist/platform-workbench-C-kE-Yqq.js +19755 -0
- package/dist/{http-B0TC0pJB.js → sse-Q1wa3p_k.js} +34 -4
- package/dist/types/app/CurrentUserProfileDialog.vue.d.ts +1 -1
- package/dist/types/app/useWorkbenchMenuRefresh.d.ts +4 -0
- package/dist/types/app/workbenchMenuRefresh.d.ts +14 -0
- package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +4 -2
- package/dist/types/dynamic-page-runtime/ManagedDetailRelationInlineSurface.vue.d.ts +3 -3
- package/dist/types/dynamic-page-runtime/ModuleDataExchangeSurface.vue.d.ts +17 -0
- package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +712 -22
- package/dist/types/dynamic-page-runtime/ModulePageDetailRelations.vue.d.ts +3 -2
- package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +782 -60
- package/dist/types/dynamic-page-runtime/ModulePageListExpansionSurface.vue.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansion.vue.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansions.vue.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/ModulePageRecordContent.vue.d.ts +5 -2
- package/dist/types/dynamic-page-runtime/ModuleRecordDetailActions.vue.d.ts +6 -0
- package/dist/types/dynamic-page-runtime/PageNavigatorExplorer.vue.d.ts +9 -7
- package/dist/types/dynamic-page-runtime/RecordFormSurface.vue.d.ts +2 -0
- 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 +6 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageFormContributionRuntime.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageListSession.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +94 -4
- package/dist/types/dynamic-page-runtime/composables/useRecordEditingSession.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/formComputeCoordinator.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/index.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/modulePageAssistantScope.d.ts +20 -0
- package/dist/types/dynamic-page-runtime/modulePageAssistantSurface.d.ts +6 -0
- package/dist/types/dynamic-page-runtime/recordCreationReadiness.d.ts +17 -0
- package/dist/types/dynamic-page-runtime/recordDisplayProjection.d.ts +59 -0
- package/dist/types/dynamic-page-runtime/recordFormAssistantCapabilities.d.ts +59 -0
- package/dist/types/dynamic-page-runtime/recordFormDraftAccess.d.ts +33 -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 +12 -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 +404 -12
- package/dist/types/dynamic-page-runtime/useTenantScopeController.d.ts +1 -0
- package/dist/types/formula/FormulaRuntime.d.ts +3 -1
- package/dist/types/platform-admin-runtime/backendHttp.d.ts +5 -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 +6 -2
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuReceiptStore.d.ts +5 -0
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuSession.d.ts +61 -0
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuWorkspace.d.ts +180 -0
- package/dist/types/platform-admin-runtime/workspaceViewSessions.d.ts +1 -1
- package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +11 -7
- package/dist/types/platform-components/DictionaryPicker.vue.d.ts +2 -0
- package/dist/types/platform-components/FileTransferUploader.vue.d.ts +1 -1
- 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/ObjectPickerInput.vue.d.ts +2 -0
- package/dist/types/platform-components/QueryValueEditor.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordDetailFields.vue.d.ts +1 -1
- 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/RecordFormFields.vue.d.ts +5 -1
- package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +2 -2
- package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +2 -0
- package/dist/types/platform-components/RecordPicker.vue.d.ts +2 -0
- package/dist/types/platform-components/RecordQueryListCell.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +9 -1
- package/dist/types/platform-components/RecordQueryListSurface.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordRelationTabs.vue.d.ts +1 -0
- package/dist/types/platform-components/ReferencePicker.vue.d.ts +2 -0
- package/dist/types/platform-components/StaticManagementLayout.vue.d.ts +2 -0
- package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +5 -2
- package/dist/types/platform-components/index.d.ts +9 -1
- package/dist/types/platform-components/optionFieldOptionCache.d.ts +1 -1
- package/dist/types/platform-components/queryNumericValue.d.ts +3 -0
- package/dist/types/platform-components/querySettlementController.d.ts +5 -0
- package/dist/types/platform-components/recordDetailFieldModel.d.ts +2 -0
- package/dist/types/platform-components/recordFormFieldModel.d.ts +22 -0
- package/dist/types/platform-components/recordQueryListColumnModel.d.ts +8 -0
- package/dist/types/platform-components/recordQueryListQueryController.d.ts +53 -0
- package/dist/types/platform-components/recordQueryListStandardQuery.d.ts +3 -0
- package/dist/types/platform-components/recordTreeQueryController.d.ts +18 -0
- package/dist/types/platform-components/recycleBinState.d.ts +17 -0
- package/dist/types/platform-components/referencePickerModel.d.ts +3 -0
- package/dist/types/platform-workbench/AssistantMarkdownContent.vue.d.ts +6 -0
- package/dist/types/platform-workbench/AssistantSelectionCard.vue.d.ts +15 -0
- package/dist/types/platform-workbench/ConstructionPlanCard.vue.d.ts +8 -0
- package/dist/types/platform-workbench/Workbench.vue.d.ts +12 -2
- package/dist/types/platform-workbench/WorkbenchAssistantPanel.vue.d.ts +18 -0
- package/dist/types/platform-workbench/assistantMarkdown.d.ts +1 -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 +21 -0
- package/dist/types/platform-workbench/constructionPlanSession.d.ts +95 -0
- package/dist/types/platform-workbench/constructionReferenceDiscovery.d.ts +3 -0
- package/dist/types/platform-workbench/index.d.ts +1 -0
- package/dist/types/platform-workbench/useAssistantConversation.d.ts +360 -0
- package/dist/types/platform-workbench/useAssistantConversationArchive.d.ts +47 -0
- package/dist/types/platform-workbench/workbenchAssistantCapabilities.d.ts +22 -0
- package/dist/types/views/BusinessLogRetentionControl.vue.d.ts +7 -0
- package/dist/types/views/MetadataSourceTree.vue.d.ts +7 -3
- 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/businessLogClient.d.ts +3 -0
- package/dist/types/views/businessLogRetentionClient.d.ts +25 -0
- package/dist/types/views/businessRuleAssistantSurface.d.ts +7 -0
- package/dist/types/views/businessRuleEditor.d.ts +22 -0
- package/dist/types/views/businessRuleGovernance.d.ts +7 -1
- package/dist/types/views/businessRuleSession.d.ts +63 -0
- package/dist/types/views/businessRuleWorkspace.d.ts +144 -0
- package/dist/types/views/configurationEditorNavigation.d.ts +2 -0
- package/dist/types/views/metadataChangeSetSubmission.d.ts +10 -0
- package/dist/types/views/metadataEditorSession.d.ts +652 -0
- package/dist/types/views/metadataGovernanceAssistantSurface.d.ts +4 -0
- package/dist/types/views/metadataGovernanceEditor.d.ts +220 -0
- package/dist/types/views/metadataModelChangeSetClient.d.ts +36 -0
- package/dist/types/views/metadataModelEditSession.d.ts +26 -1
- package/dist/types/views/metadataNaming.d.ts +11 -1
- package/dist/types/views/metadataOrchestrationState.d.ts +22 -0
- package/dist/types/views/metadataWorkspace.d.ts +1316 -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 +27 -0
- package/dist/types/views/pageCompositionCandidate.d.ts +47 -0
- package/dist/types/views/pageCompositionComponents.d.ts +42 -0
- package/dist/types/views/pageCompositionDraftState.d.ts +277 -8
- package/dist/types/views/pageCompositionDragPayload.d.ts +7 -1
- package/dist/types/views/pageCompositionMode.d.ts +1 -1
- package/dist/types/views/pageCompositionPlacement.d.ts +6 -1
- package/dist/types/views/pageCompositionPublication.d.ts +37 -0
- package/dist/types/views/pageCompositionSession.d.ts +1341 -0
- package/dist/types/views/pageCompositionWorkspace.d.ts +2555 -0
- package/dist/types/views/roleAuthorizationWorkspaceSession.d.ts +1 -1
- package/dist/types/views/roleDetailWorkspaceSession.d.ts +1 -1
- package/dist/types/views/runtimeLogSse.d.ts +3 -13
- package/dist/types/views/usePageCompositionComponents.d.ts +68 -0
- package/dist/types/vue-ui-antdv/components/UiInput.vue.d.ts +1 -0
- package/dist/types/vue-ui-antdv/components/UiSearchInput.vue.d.ts +2 -0
- package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +2 -0
- package/dist/types/vue-ui-antdv/components/UiTextArea.vue.d.ts +4 -0
- package/dist/types/vue-ui-antdv/components/UiTreeSelect.vue.d.ts +2 -0
- package/dist/types/vue-ui-antdv/types.d.ts +4 -0
- package/dist/types/web-contracts/assistant.d.ts +87 -0
- package/dist/types/web-contracts/constructionPlan.d.ts +212 -0
- package/dist/types/web-contracts/index.d.ts +33 -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-core/assistantCapabilityCatalog.d.ts +22 -0
- package/dist/types/web-core/assistantCatalogPage.d.ts +12 -0
- package/dist/types/web-core/assistantConfirmation.d.ts +23 -0
- package/dist/types/web-core/assistantConversationClient.d.ts +42 -0
- package/dist/types/web-core/assistantRuntime.d.ts +123 -0
- package/dist/types/web-core/assistantSurface.d.ts +162 -0
- package/dist/types/web-core/assistantTurnClient.d.ts +16 -0
- package/dist/types/web-core/constructionPlanClient.d.ts +55 -0
- package/dist/types/web-core/errors.d.ts +2 -0
- package/dist/types/web-core/http.d.ts +1 -0
- package/dist/types/web-core/index.d.ts +12 -0
- package/dist/types/web-core/module/dataExchangeClient.d.ts +53 -0
- package/dist/types/web-core/module/index.d.ts +1 -0
- package/dist/types/web-core/module/staticModuleClient.d.ts +12 -2
- package/dist/types/web-core/operationConfirmation.d.ts +28 -0
- package/dist/types/web-core/operationErrors.d.ts +9 -0
- package/dist/types/web-core/operationReceipt.d.ts +10 -0
- package/dist/types/web-core/sse.d.ts +9 -0
- package/dist/types/web-core/uuid.d.ts +2 -0
- package/dist/{workspaceViews-CCg6V0pr.js → workspaceViews-CHsgLFwY.js} +783 -1189
- package/package.json +1 -1
- package/dist/BusinessLogListDrawer-BtaXVJKz.js +0 -564
- package/dist/moduleGovernanceWorkspaceView-4V_UW-Bt.js +0 -40
- package/dist/platform-workbench-Cu14Xd9d.js +0 -10299
|
@@ -0,0 +1,652 @@
|
|
|
1
|
+
import type { ModuleActivationFeedback } from './moduleRuntimeActivation';
|
|
2
|
+
import type { Metadata, MetadataField, ModuleMetadataRelation, Option } from '../web-contracts/index';
|
|
3
|
+
import { type HttpClient } from '../web-core/index';
|
|
4
|
+
import { type UiTreeDropEvent, type UiTreeNode, type UiRadioOption } from '../vue-ui-antdv/index';
|
|
5
|
+
import { fieldSpecDisplayLabel, metadataFieldPropertyLabel, type MetadataFieldPropertyDraft } from './metadataOrchestrationState';
|
|
6
|
+
import type { MetadataGovernanceEditor } from './metadataGovernanceEditor';
|
|
7
|
+
import { type MetadataModelTreeNode } from './metadataModelTree';
|
|
8
|
+
export interface MetadataEditorSessionOptions {
|
|
9
|
+
moduleAlias: string;
|
|
10
|
+
moduleTitle?: string;
|
|
11
|
+
valid?: () => boolean;
|
|
12
|
+
confirmationScope?: () => boolean;
|
|
13
|
+
refreshActivation?: (moduleAlias: string) => Promise<ModuleActivationFeedback | undefined>;
|
|
14
|
+
onCommitted?: (moduleAlias: string) => void;
|
|
15
|
+
}
|
|
16
|
+
/** Shared editor state and commands; creating a session never mounts a governance page. */
|
|
17
|
+
export declare function createMetadataEditorSession(source: HttpClient, options: MetadataEditorSessionOptions): {
|
|
18
|
+
moduleAlias: string;
|
|
19
|
+
title: import("vue").ComputedRef<string>;
|
|
20
|
+
adapter: MetadataGovernanceEditor;
|
|
21
|
+
ensureLoaded: (refresh?: boolean, commit?: (accept: () => void) => void) => Promise<void>;
|
|
22
|
+
selectRelation: (relationId: string) => void;
|
|
23
|
+
dirty: import("vue").ComputedRef<boolean>;
|
|
24
|
+
submissionStatus: import("vue").Ref<"unknown" | "idle" | "current-read", "unknown" | "idle" | "current-read">;
|
|
25
|
+
committedNeedsReload: import("vue").Ref<boolean, boolean>;
|
|
26
|
+
readCurrent: (signal?: AbortSignal, commit?: (accept: () => void) => void) => Promise<void>;
|
|
27
|
+
readingCurrent: import("vue").Ref<boolean, boolean>;
|
|
28
|
+
saving: import("vue").Ref<boolean, boolean>;
|
|
29
|
+
loading: import("vue").Ref<boolean, boolean>;
|
|
30
|
+
workspaceReady: import("vue").Ref<boolean, boolean>;
|
|
31
|
+
revision: import("vue").Ref<number, number>;
|
|
32
|
+
contextRevision: import("vue").Ref<number, number>;
|
|
33
|
+
invalidateConfirmations: () => void;
|
|
34
|
+
relations: import("vue").Ref<{
|
|
35
|
+
moduleAlias?: string | undefined;
|
|
36
|
+
metadataId?: string | undefined;
|
|
37
|
+
relationAlias?: string | undefined;
|
|
38
|
+
relationRole?: "main" | "child" | "MAIN" | "CHILD" | undefined;
|
|
39
|
+
parentMetadataId?: string | undefined;
|
|
40
|
+
foreignKey?: string | undefined;
|
|
41
|
+
autoPopulate?: boolean | undefined;
|
|
42
|
+
sortOrder?: number | undefined;
|
|
43
|
+
title?: string | undefined;
|
|
44
|
+
id?: string | undefined;
|
|
45
|
+
tenantId?: string | undefined;
|
|
46
|
+
version?: number | undefined;
|
|
47
|
+
deleted?: boolean | undefined;
|
|
48
|
+
deletedAt?: string | undefined;
|
|
49
|
+
createdBy?: string | undefined;
|
|
50
|
+
createdAt?: string | undefined;
|
|
51
|
+
updatedBy?: string | undefined;
|
|
52
|
+
updatedAt?: string | undefined;
|
|
53
|
+
}[], ModuleMetadataRelation[] | {
|
|
54
|
+
moduleAlias?: string | undefined;
|
|
55
|
+
metadataId?: string | undefined;
|
|
56
|
+
relationAlias?: string | undefined;
|
|
57
|
+
relationRole?: "main" | "child" | "MAIN" | "CHILD" | undefined;
|
|
58
|
+
parentMetadataId?: string | undefined;
|
|
59
|
+
foreignKey?: string | undefined;
|
|
60
|
+
autoPopulate?: boolean | undefined;
|
|
61
|
+
sortOrder?: number | undefined;
|
|
62
|
+
title?: string | undefined;
|
|
63
|
+
id?: string | undefined;
|
|
64
|
+
tenantId?: string | undefined;
|
|
65
|
+
version?: number | undefined;
|
|
66
|
+
deleted?: boolean | undefined;
|
|
67
|
+
deletedAt?: string | undefined;
|
|
68
|
+
createdBy?: string | undefined;
|
|
69
|
+
createdAt?: string | undefined;
|
|
70
|
+
updatedBy?: string | undefined;
|
|
71
|
+
updatedAt?: string | undefined;
|
|
72
|
+
}[]>;
|
|
73
|
+
dispose: () => void;
|
|
74
|
+
view: {
|
|
75
|
+
state: {
|
|
76
|
+
relations: import("vue").Ref<{
|
|
77
|
+
moduleAlias?: string | undefined;
|
|
78
|
+
metadataId?: string | undefined;
|
|
79
|
+
relationAlias?: string | undefined;
|
|
80
|
+
relationRole?: "main" | "child" | "MAIN" | "CHILD" | undefined;
|
|
81
|
+
parentMetadataId?: string | undefined;
|
|
82
|
+
foreignKey?: string | undefined;
|
|
83
|
+
autoPopulate?: boolean | undefined;
|
|
84
|
+
sortOrder?: number | undefined;
|
|
85
|
+
title?: string | undefined;
|
|
86
|
+
id?: string | undefined;
|
|
87
|
+
tenantId?: string | undefined;
|
|
88
|
+
version?: number | undefined;
|
|
89
|
+
deleted?: boolean | undefined;
|
|
90
|
+
deletedAt?: string | undefined;
|
|
91
|
+
createdBy?: string | undefined;
|
|
92
|
+
createdAt?: string | undefined;
|
|
93
|
+
updatedBy?: string | undefined;
|
|
94
|
+
updatedAt?: string | undefined;
|
|
95
|
+
}[], ModuleMetadataRelation[] | {
|
|
96
|
+
moduleAlias?: string | undefined;
|
|
97
|
+
metadataId?: string | undefined;
|
|
98
|
+
relationAlias?: string | undefined;
|
|
99
|
+
relationRole?: "main" | "child" | "MAIN" | "CHILD" | undefined;
|
|
100
|
+
parentMetadataId?: string | undefined;
|
|
101
|
+
foreignKey?: string | undefined;
|
|
102
|
+
autoPopulate?: boolean | undefined;
|
|
103
|
+
sortOrder?: number | undefined;
|
|
104
|
+
title?: string | undefined;
|
|
105
|
+
id?: string | undefined;
|
|
106
|
+
tenantId?: string | undefined;
|
|
107
|
+
version?: number | undefined;
|
|
108
|
+
deleted?: boolean | undefined;
|
|
109
|
+
deletedAt?: string | undefined;
|
|
110
|
+
createdBy?: string | undefined;
|
|
111
|
+
createdAt?: string | undefined;
|
|
112
|
+
updatedBy?: string | undefined;
|
|
113
|
+
updatedAt?: string | undefined;
|
|
114
|
+
}[]>;
|
|
115
|
+
metadataById: import("vue").Ref<Record<string, Metadata>, Record<string, Metadata>>;
|
|
116
|
+
selectedRelationId: import("vue").Ref<string | undefined, string | undefined>;
|
|
117
|
+
fields: import("vue").Ref<{
|
|
118
|
+
metadataId?: string | undefined;
|
|
119
|
+
fieldName?: string | undefined;
|
|
120
|
+
columnName?: string | undefined;
|
|
121
|
+
fieldSpecAlias?: string | undefined;
|
|
122
|
+
fieldOwnership?: string | undefined;
|
|
123
|
+
fieldForm?: string | undefined;
|
|
124
|
+
ownerFieldId?: string | undefined;
|
|
125
|
+
fieldRole?: string | undefined;
|
|
126
|
+
systemManaged?: boolean | undefined;
|
|
127
|
+
required?: boolean | undefined;
|
|
128
|
+
uniqueField?: boolean | undefined;
|
|
129
|
+
indexed?: boolean | undefined;
|
|
130
|
+
sortableField?: boolean | undefined;
|
|
131
|
+
titleField?: boolean | undefined;
|
|
132
|
+
enabled?: boolean | undefined;
|
|
133
|
+
sortOrder?: number | undefined;
|
|
134
|
+
title?: string | undefined;
|
|
135
|
+
id?: string | undefined;
|
|
136
|
+
tenantId?: string | undefined;
|
|
137
|
+
version?: number | undefined;
|
|
138
|
+
deleted?: boolean | undefined;
|
|
139
|
+
deletedAt?: string | undefined;
|
|
140
|
+
createdBy?: string | undefined;
|
|
141
|
+
createdAt?: string | undefined;
|
|
142
|
+
updatedBy?: string | undefined;
|
|
143
|
+
updatedAt?: string | undefined;
|
|
144
|
+
}[], MetadataField[] | {
|
|
145
|
+
metadataId?: string | undefined;
|
|
146
|
+
fieldName?: string | undefined;
|
|
147
|
+
columnName?: string | undefined;
|
|
148
|
+
fieldSpecAlias?: string | undefined;
|
|
149
|
+
fieldOwnership?: string | undefined;
|
|
150
|
+
fieldForm?: string | undefined;
|
|
151
|
+
ownerFieldId?: string | undefined;
|
|
152
|
+
fieldRole?: string | undefined;
|
|
153
|
+
systemManaged?: boolean | undefined;
|
|
154
|
+
required?: boolean | undefined;
|
|
155
|
+
uniqueField?: boolean | undefined;
|
|
156
|
+
indexed?: boolean | undefined;
|
|
157
|
+
sortableField?: boolean | undefined;
|
|
158
|
+
titleField?: boolean | undefined;
|
|
159
|
+
enabled?: boolean | undefined;
|
|
160
|
+
sortOrder?: number | undefined;
|
|
161
|
+
title?: string | undefined;
|
|
162
|
+
id?: string | undefined;
|
|
163
|
+
tenantId?: string | undefined;
|
|
164
|
+
version?: number | undefined;
|
|
165
|
+
deleted?: boolean | undefined;
|
|
166
|
+
deletedAt?: string | undefined;
|
|
167
|
+
createdBy?: string | undefined;
|
|
168
|
+
createdAt?: string | undefined;
|
|
169
|
+
updatedBy?: string | undefined;
|
|
170
|
+
updatedAt?: string | undefined;
|
|
171
|
+
}[]>;
|
|
172
|
+
allFields: import("vue").Ref<{
|
|
173
|
+
metadataId?: string | undefined;
|
|
174
|
+
fieldName?: string | undefined;
|
|
175
|
+
columnName?: string | undefined;
|
|
176
|
+
fieldSpecAlias?: string | undefined;
|
|
177
|
+
fieldOwnership?: string | undefined;
|
|
178
|
+
fieldForm?: string | undefined;
|
|
179
|
+
ownerFieldId?: string | undefined;
|
|
180
|
+
fieldRole?: string | undefined;
|
|
181
|
+
systemManaged?: boolean | undefined;
|
|
182
|
+
required?: boolean | undefined;
|
|
183
|
+
uniqueField?: boolean | undefined;
|
|
184
|
+
indexed?: boolean | undefined;
|
|
185
|
+
sortableField?: boolean | undefined;
|
|
186
|
+
titleField?: boolean | undefined;
|
|
187
|
+
enabled?: boolean | undefined;
|
|
188
|
+
sortOrder?: number | undefined;
|
|
189
|
+
title?: string | undefined;
|
|
190
|
+
id?: string | undefined;
|
|
191
|
+
tenantId?: string | undefined;
|
|
192
|
+
version?: number | undefined;
|
|
193
|
+
deleted?: boolean | undefined;
|
|
194
|
+
deletedAt?: string | undefined;
|
|
195
|
+
createdBy?: string | undefined;
|
|
196
|
+
createdAt?: string | undefined;
|
|
197
|
+
updatedBy?: string | undefined;
|
|
198
|
+
updatedAt?: string | undefined;
|
|
199
|
+
}[], MetadataField[] | {
|
|
200
|
+
metadataId?: string | undefined;
|
|
201
|
+
fieldName?: string | undefined;
|
|
202
|
+
columnName?: string | undefined;
|
|
203
|
+
fieldSpecAlias?: string | undefined;
|
|
204
|
+
fieldOwnership?: string | undefined;
|
|
205
|
+
fieldForm?: string | undefined;
|
|
206
|
+
ownerFieldId?: string | undefined;
|
|
207
|
+
fieldRole?: string | undefined;
|
|
208
|
+
systemManaged?: boolean | undefined;
|
|
209
|
+
required?: boolean | undefined;
|
|
210
|
+
uniqueField?: boolean | undefined;
|
|
211
|
+
indexed?: boolean | undefined;
|
|
212
|
+
sortableField?: boolean | undefined;
|
|
213
|
+
titleField?: boolean | undefined;
|
|
214
|
+
enabled?: boolean | undefined;
|
|
215
|
+
sortOrder?: number | undefined;
|
|
216
|
+
title?: string | undefined;
|
|
217
|
+
id?: string | undefined;
|
|
218
|
+
tenantId?: string | undefined;
|
|
219
|
+
version?: number | undefined;
|
|
220
|
+
deleted?: boolean | undefined;
|
|
221
|
+
deletedAt?: string | undefined;
|
|
222
|
+
createdBy?: string | undefined;
|
|
223
|
+
createdAt?: string | undefined;
|
|
224
|
+
updatedBy?: string | undefined;
|
|
225
|
+
updatedAt?: string | undefined;
|
|
226
|
+
}[]>;
|
|
227
|
+
fieldSpecs: import("vue").Ref<{
|
|
228
|
+
alias?: string | undefined;
|
|
229
|
+
fieldType?: string | undefined;
|
|
230
|
+
defaultLength?: number | undefined;
|
|
231
|
+
defaultPrecision?: number | undefined;
|
|
232
|
+
defaultScale?: number | undefined;
|
|
233
|
+
defaultQueryOperator?: string | undefined;
|
|
234
|
+
queryOperators?: string[] | undefined;
|
|
235
|
+
defaultUiControlAlias?: string | undefined;
|
|
236
|
+
uiControlAliases?: string[] | undefined;
|
|
237
|
+
safeTargetFieldSpecAliases?: string[] | undefined;
|
|
238
|
+
enabled?: boolean | undefined;
|
|
239
|
+
sortOrder?: number | undefined;
|
|
240
|
+
title?: string | undefined;
|
|
241
|
+
id?: string | undefined;
|
|
242
|
+
tenantId?: string | undefined;
|
|
243
|
+
version?: number | undefined;
|
|
244
|
+
deleted?: boolean | undefined;
|
|
245
|
+
deletedAt?: string | undefined;
|
|
246
|
+
createdBy?: string | undefined;
|
|
247
|
+
createdAt?: string | undefined;
|
|
248
|
+
updatedBy?: string | undefined;
|
|
249
|
+
updatedAt?: string | undefined;
|
|
250
|
+
}[], import("../web-contracts/index").FieldSpec[] | {
|
|
251
|
+
alias?: string | undefined;
|
|
252
|
+
fieldType?: string | undefined;
|
|
253
|
+
defaultLength?: number | undefined;
|
|
254
|
+
defaultPrecision?: number | undefined;
|
|
255
|
+
defaultScale?: number | undefined;
|
|
256
|
+
defaultQueryOperator?: string | undefined;
|
|
257
|
+
queryOperators?: string[] | undefined;
|
|
258
|
+
defaultUiControlAlias?: string | undefined;
|
|
259
|
+
uiControlAliases?: string[] | undefined;
|
|
260
|
+
safeTargetFieldSpecAliases?: string[] | undefined;
|
|
261
|
+
enabled?: boolean | undefined;
|
|
262
|
+
sortOrder?: number | undefined;
|
|
263
|
+
title?: string | undefined;
|
|
264
|
+
id?: string | undefined;
|
|
265
|
+
tenantId?: string | undefined;
|
|
266
|
+
version?: number | undefined;
|
|
267
|
+
deleted?: boolean | undefined;
|
|
268
|
+
deletedAt?: string | undefined;
|
|
269
|
+
createdBy?: string | undefined;
|
|
270
|
+
createdAt?: string | undefined;
|
|
271
|
+
updatedBy?: string | undefined;
|
|
272
|
+
updatedAt?: string | undefined;
|
|
273
|
+
}[]>;
|
|
274
|
+
mode: import("vue").Ref<import("./metadataOrchestrationState").MetadataOrchestrationMode, import("./metadataOrchestrationState").MetadataOrchestrationMode>;
|
|
275
|
+
mainMetadataDraft: import("vue").Ref<{
|
|
276
|
+
alias: string;
|
|
277
|
+
title: string;
|
|
278
|
+
schemaName: string;
|
|
279
|
+
tableName: string;
|
|
280
|
+
dataScopeEnabled: boolean;
|
|
281
|
+
}, import("./metadataOrchestrationState").MainMetadataDraft | {
|
|
282
|
+
alias: string;
|
|
283
|
+
title: string;
|
|
284
|
+
schemaName: string;
|
|
285
|
+
tableName: string;
|
|
286
|
+
dataScopeEnabled: boolean;
|
|
287
|
+
}>;
|
|
288
|
+
fieldDraft: import("vue").Ref<{
|
|
289
|
+
metadataId?: string | undefined;
|
|
290
|
+
fieldName?: string | undefined;
|
|
291
|
+
columnName?: string | undefined;
|
|
292
|
+
fieldSpecAlias?: string | undefined;
|
|
293
|
+
fieldOwnership?: string | undefined;
|
|
294
|
+
fieldForm?: string | undefined;
|
|
295
|
+
ownerFieldId?: string | undefined;
|
|
296
|
+
fieldRole?: string | undefined;
|
|
297
|
+
systemManaged?: boolean | undefined;
|
|
298
|
+
required?: boolean | undefined;
|
|
299
|
+
uniqueField?: boolean | undefined;
|
|
300
|
+
indexed?: boolean | undefined;
|
|
301
|
+
sortableField?: boolean | undefined;
|
|
302
|
+
titleField?: boolean | undefined;
|
|
303
|
+
enabled?: boolean | undefined;
|
|
304
|
+
sortOrder?: number | undefined;
|
|
305
|
+
title?: string | undefined;
|
|
306
|
+
id?: string | undefined;
|
|
307
|
+
tenantId?: string | undefined;
|
|
308
|
+
version?: number | undefined;
|
|
309
|
+
deleted?: boolean | undefined;
|
|
310
|
+
deletedAt?: string | undefined;
|
|
311
|
+
createdBy?: string | undefined;
|
|
312
|
+
createdAt?: string | undefined;
|
|
313
|
+
updatedBy?: string | undefined;
|
|
314
|
+
updatedAt?: string | undefined;
|
|
315
|
+
}, Partial<MetadataField> | {
|
|
316
|
+
metadataId?: string | undefined;
|
|
317
|
+
fieldName?: string | undefined;
|
|
318
|
+
columnName?: string | undefined;
|
|
319
|
+
fieldSpecAlias?: string | undefined;
|
|
320
|
+
fieldOwnership?: string | undefined;
|
|
321
|
+
fieldForm?: string | undefined;
|
|
322
|
+
ownerFieldId?: string | undefined;
|
|
323
|
+
fieldRole?: string | undefined;
|
|
324
|
+
systemManaged?: boolean | undefined;
|
|
325
|
+
required?: boolean | undefined;
|
|
326
|
+
uniqueField?: boolean | undefined;
|
|
327
|
+
indexed?: boolean | undefined;
|
|
328
|
+
sortableField?: boolean | undefined;
|
|
329
|
+
titleField?: boolean | undefined;
|
|
330
|
+
enabled?: boolean | undefined;
|
|
331
|
+
sortOrder?: number | undefined;
|
|
332
|
+
title?: string | undefined;
|
|
333
|
+
id?: string | undefined;
|
|
334
|
+
tenantId?: string | undefined;
|
|
335
|
+
version?: number | undefined;
|
|
336
|
+
deleted?: boolean | undefined;
|
|
337
|
+
deletedAt?: string | undefined;
|
|
338
|
+
createdBy?: string | undefined;
|
|
339
|
+
createdAt?: string | undefined;
|
|
340
|
+
updatedBy?: string | undefined;
|
|
341
|
+
updatedAt?: string | undefined;
|
|
342
|
+
}>;
|
|
343
|
+
fieldPropertyDraft: import("vue").Ref<{
|
|
344
|
+
kind: import("./metadataOrchestrationState").MetadataFieldPropertyKind;
|
|
345
|
+
expectedBindingVersion?: number | undefined;
|
|
346
|
+
referenceConfig?: {
|
|
347
|
+
targetModuleAlias?: string | undefined;
|
|
348
|
+
targetMetadataId?: string | undefined;
|
|
349
|
+
targetKeyField?: string | undefined;
|
|
350
|
+
targetLabelField?: string | undefined;
|
|
351
|
+
cardinality?: "ONE" | "MANY" | undefined;
|
|
352
|
+
targetUnavailablePolicy?: "PRESERVE_HISTORY" | "RESTRICT" | "CASCADE_DELETE" | undefined;
|
|
353
|
+
requireEnabled?: boolean | undefined;
|
|
354
|
+
projectionMappings?: string[] | undefined;
|
|
355
|
+
affectMappings?: string[] | undefined;
|
|
356
|
+
} | undefined;
|
|
357
|
+
dictionaryConfig?: {
|
|
358
|
+
dictionaryApplicationAlias?: string | undefined;
|
|
359
|
+
dictionaryCategoryAlias?: string | undefined;
|
|
360
|
+
selectionMode?: "SINGLE" | "MULTIPLE" | undefined;
|
|
361
|
+
} | undefined;
|
|
362
|
+
fixedDefault?: {
|
|
363
|
+
value: string | null;
|
|
364
|
+
expectedConfigVersion?: number | undefined;
|
|
365
|
+
} | undefined;
|
|
366
|
+
}, MetadataFieldPropertyDraft | {
|
|
367
|
+
kind: import("./metadataOrchestrationState").MetadataFieldPropertyKind;
|
|
368
|
+
expectedBindingVersion?: number | undefined;
|
|
369
|
+
referenceConfig?: {
|
|
370
|
+
targetModuleAlias?: string | undefined;
|
|
371
|
+
targetMetadataId?: string | undefined;
|
|
372
|
+
targetKeyField?: string | undefined;
|
|
373
|
+
targetLabelField?: string | undefined;
|
|
374
|
+
cardinality?: "ONE" | "MANY" | undefined;
|
|
375
|
+
targetUnavailablePolicy?: "PRESERVE_HISTORY" | "RESTRICT" | "CASCADE_DELETE" | undefined;
|
|
376
|
+
requireEnabled?: boolean | undefined;
|
|
377
|
+
projectionMappings?: string[] | undefined;
|
|
378
|
+
affectMappings?: string[] | undefined;
|
|
379
|
+
} | undefined;
|
|
380
|
+
dictionaryConfig?: {
|
|
381
|
+
dictionaryApplicationAlias?: string | undefined;
|
|
382
|
+
dictionaryCategoryAlias?: string | undefined;
|
|
383
|
+
selectionMode?: "SINGLE" | "MULTIPLE" | undefined;
|
|
384
|
+
} | undefined;
|
|
385
|
+
fixedDefault?: {
|
|
386
|
+
value: string | null;
|
|
387
|
+
expectedConfigVersion?: number | undefined;
|
|
388
|
+
} | undefined;
|
|
389
|
+
}>;
|
|
390
|
+
selectedRelation: import("vue").ComputedRef<{
|
|
391
|
+
moduleAlias?: string | undefined;
|
|
392
|
+
metadataId?: string | undefined;
|
|
393
|
+
relationAlias?: string | undefined;
|
|
394
|
+
relationRole?: "main" | "child" | "MAIN" | "CHILD" | undefined;
|
|
395
|
+
parentMetadataId?: string | undefined;
|
|
396
|
+
foreignKey?: string | undefined;
|
|
397
|
+
autoPopulate?: boolean | undefined;
|
|
398
|
+
sortOrder?: number | undefined;
|
|
399
|
+
title?: string | undefined;
|
|
400
|
+
id?: string | undefined;
|
|
401
|
+
tenantId?: string | undefined;
|
|
402
|
+
version?: number | undefined;
|
|
403
|
+
deleted?: boolean | undefined;
|
|
404
|
+
deletedAt?: string | undefined;
|
|
405
|
+
createdBy?: string | undefined;
|
|
406
|
+
createdAt?: string | undefined;
|
|
407
|
+
updatedBy?: string | undefined;
|
|
408
|
+
updatedAt?: string | undefined;
|
|
409
|
+
} | undefined>;
|
|
410
|
+
selectedMetadata: import("vue").ComputedRef<Metadata | undefined>;
|
|
411
|
+
hasMainMetadata: import("vue").ComputedRef<boolean>;
|
|
412
|
+
mainEditorOpen: import("vue").ComputedRef<boolean>;
|
|
413
|
+
fieldEditorOpen: import("vue").ComputedRef<boolean>;
|
|
414
|
+
fieldSpecOptions: import("vue").ComputedRef<import("./metadataOrchestrationState").FieldSpecOption[]>;
|
|
415
|
+
handleRelationsLoaded: (loaded: ModuleMetadataRelation[]) => void;
|
|
416
|
+
handleMetadataLoaded: (metadata: Metadata) => void;
|
|
417
|
+
handleFieldsLoaded: (loaded: MetadataField[]) => void;
|
|
418
|
+
handleFieldSpecsLoaded: (loaded: import("../web-contracts/index").FieldSpec[]) => void;
|
|
419
|
+
selectRelation: (relation: ModuleMetadataRelation) => boolean;
|
|
420
|
+
focusRelation: (relationId: string | undefined) => void;
|
|
421
|
+
startCreateMain: () => void;
|
|
422
|
+
startCreateField: (kind?: import("./metadataOrchestrationState").MetadataFieldPropertyKind) => void;
|
|
423
|
+
startEditField: (field: MetadataField, property?: MetadataFieldPropertyDraft) => void;
|
|
424
|
+
startConfigureFieldProperty: (field: MetadataField, kind: Exclude<import("./metadataOrchestrationState").MetadataFieldPropertyKind, "BASIC" | "LEGACY_LOCKED">) => void;
|
|
425
|
+
cancelEditor: () => void;
|
|
426
|
+
};
|
|
427
|
+
capabilityItems: import("vue").ComputedRef<{
|
|
428
|
+
configurable: boolean;
|
|
429
|
+
title: string;
|
|
430
|
+
selected: boolean;
|
|
431
|
+
capability: string;
|
|
432
|
+
enabled: boolean;
|
|
433
|
+
changeSetConfigurable?: boolean;
|
|
434
|
+
reason: string;
|
|
435
|
+
fieldContributions: string[];
|
|
436
|
+
defaultKind: string;
|
|
437
|
+
defaultDescription: string;
|
|
438
|
+
}[]>;
|
|
439
|
+
selectCapability: (capability: string, selected: boolean) => void;
|
|
440
|
+
fieldPlanActive: import("vue").Ref<boolean, boolean>;
|
|
441
|
+
fieldPlanEntries: import("vue").ComputedRef<MetadataField[]>;
|
|
442
|
+
sorting: import("vue").Ref<boolean, boolean>;
|
|
443
|
+
mainMetadataDraft: import("vue").Ref<{
|
|
444
|
+
alias: string;
|
|
445
|
+
title: string;
|
|
446
|
+
schemaName: string;
|
|
447
|
+
tableName: string;
|
|
448
|
+
dataScopeEnabled: boolean;
|
|
449
|
+
}, import("./metadataOrchestrationState").MainMetadataDraft | {
|
|
450
|
+
alias: string;
|
|
451
|
+
title: string;
|
|
452
|
+
schemaName: string;
|
|
453
|
+
tableName: string;
|
|
454
|
+
dataScopeEnabled: boolean;
|
|
455
|
+
}>;
|
|
456
|
+
fieldDraft: import("vue").Ref<{
|
|
457
|
+
metadataId?: string | undefined;
|
|
458
|
+
fieldName?: string | undefined;
|
|
459
|
+
columnName?: string | undefined;
|
|
460
|
+
fieldSpecAlias?: string | undefined;
|
|
461
|
+
fieldOwnership?: string | undefined;
|
|
462
|
+
fieldForm?: string | undefined;
|
|
463
|
+
ownerFieldId?: string | undefined;
|
|
464
|
+
fieldRole?: string | undefined;
|
|
465
|
+
systemManaged?: boolean | undefined;
|
|
466
|
+
required?: boolean | undefined;
|
|
467
|
+
uniqueField?: boolean | undefined;
|
|
468
|
+
indexed?: boolean | undefined;
|
|
469
|
+
sortableField?: boolean | undefined;
|
|
470
|
+
titleField?: boolean | undefined;
|
|
471
|
+
enabled?: boolean | undefined;
|
|
472
|
+
sortOrder?: number | undefined;
|
|
473
|
+
title?: string | undefined;
|
|
474
|
+
id?: string | undefined;
|
|
475
|
+
tenantId?: string | undefined;
|
|
476
|
+
version?: number | undefined;
|
|
477
|
+
deleted?: boolean | undefined;
|
|
478
|
+
deletedAt?: string | undefined;
|
|
479
|
+
createdBy?: string | undefined;
|
|
480
|
+
createdAt?: string | undefined;
|
|
481
|
+
updatedBy?: string | undefined;
|
|
482
|
+
updatedAt?: string | undefined;
|
|
483
|
+
}, Partial<MetadataField> | {
|
|
484
|
+
metadataId?: string | undefined;
|
|
485
|
+
fieldName?: string | undefined;
|
|
486
|
+
columnName?: string | undefined;
|
|
487
|
+
fieldSpecAlias?: string | undefined;
|
|
488
|
+
fieldOwnership?: string | undefined;
|
|
489
|
+
fieldForm?: string | undefined;
|
|
490
|
+
ownerFieldId?: string | undefined;
|
|
491
|
+
fieldRole?: string | undefined;
|
|
492
|
+
systemManaged?: boolean | undefined;
|
|
493
|
+
required?: boolean | undefined;
|
|
494
|
+
uniqueField?: boolean | undefined;
|
|
495
|
+
indexed?: boolean | undefined;
|
|
496
|
+
sortableField?: boolean | undefined;
|
|
497
|
+
titleField?: boolean | undefined;
|
|
498
|
+
enabled?: boolean | undefined;
|
|
499
|
+
sortOrder?: number | undefined;
|
|
500
|
+
title?: string | undefined;
|
|
501
|
+
id?: string | undefined;
|
|
502
|
+
tenantId?: string | undefined;
|
|
503
|
+
version?: number | undefined;
|
|
504
|
+
deleted?: boolean | undefined;
|
|
505
|
+
deletedAt?: string | undefined;
|
|
506
|
+
createdBy?: string | undefined;
|
|
507
|
+
createdAt?: string | undefined;
|
|
508
|
+
updatedBy?: string | undefined;
|
|
509
|
+
updatedAt?: string | undefined;
|
|
510
|
+
}>;
|
|
511
|
+
fieldPropertyDraft: import("vue").Ref<{
|
|
512
|
+
kind: import("./metadataOrchestrationState").MetadataFieldPropertyKind;
|
|
513
|
+
expectedBindingVersion?: number | undefined;
|
|
514
|
+
referenceConfig?: {
|
|
515
|
+
targetModuleAlias?: string | undefined;
|
|
516
|
+
targetMetadataId?: string | undefined;
|
|
517
|
+
targetKeyField?: string | undefined;
|
|
518
|
+
targetLabelField?: string | undefined;
|
|
519
|
+
cardinality?: "ONE" | "MANY" | undefined;
|
|
520
|
+
targetUnavailablePolicy?: "PRESERVE_HISTORY" | "RESTRICT" | "CASCADE_DELETE" | undefined;
|
|
521
|
+
requireEnabled?: boolean | undefined;
|
|
522
|
+
projectionMappings?: string[] | undefined;
|
|
523
|
+
affectMappings?: string[] | undefined;
|
|
524
|
+
} | undefined;
|
|
525
|
+
dictionaryConfig?: {
|
|
526
|
+
dictionaryApplicationAlias?: string | undefined;
|
|
527
|
+
dictionaryCategoryAlias?: string | undefined;
|
|
528
|
+
selectionMode?: "SINGLE" | "MULTIPLE" | undefined;
|
|
529
|
+
} | undefined;
|
|
530
|
+
fixedDefault?: {
|
|
531
|
+
value: string | null;
|
|
532
|
+
expectedConfigVersion?: number | undefined;
|
|
533
|
+
} | undefined;
|
|
534
|
+
}, MetadataFieldPropertyDraft | {
|
|
535
|
+
kind: import("./metadataOrchestrationState").MetadataFieldPropertyKind;
|
|
536
|
+
expectedBindingVersion?: number | undefined;
|
|
537
|
+
referenceConfig?: {
|
|
538
|
+
targetModuleAlias?: string | undefined;
|
|
539
|
+
targetMetadataId?: string | undefined;
|
|
540
|
+
targetKeyField?: string | undefined;
|
|
541
|
+
targetLabelField?: string | undefined;
|
|
542
|
+
cardinality?: "ONE" | "MANY" | undefined;
|
|
543
|
+
targetUnavailablePolicy?: "PRESERVE_HISTORY" | "RESTRICT" | "CASCADE_DELETE" | undefined;
|
|
544
|
+
requireEnabled?: boolean | undefined;
|
|
545
|
+
projectionMappings?: string[] | undefined;
|
|
546
|
+
affectMappings?: string[] | undefined;
|
|
547
|
+
} | undefined;
|
|
548
|
+
dictionaryConfig?: {
|
|
549
|
+
dictionaryApplicationAlias?: string | undefined;
|
|
550
|
+
dictionaryCategoryAlias?: string | undefined;
|
|
551
|
+
selectionMode?: "SINGLE" | "MULTIPLE" | undefined;
|
|
552
|
+
} | undefined;
|
|
553
|
+
fixedDefault?: {
|
|
554
|
+
value: string | null;
|
|
555
|
+
expectedConfigVersion?: number | undefined;
|
|
556
|
+
} | undefined;
|
|
557
|
+
}>;
|
|
558
|
+
loading: import("vue").Ref<boolean, boolean>;
|
|
559
|
+
saving: import("vue").Ref<boolean, boolean>;
|
|
560
|
+
showSystemFields: import("vue").Ref<boolean, boolean>;
|
|
561
|
+
selectedTreeKey: import("vue").Ref<string | undefined, string | undefined>;
|
|
562
|
+
expandedTreeKeys: import("vue").Ref<string[], string[]>;
|
|
563
|
+
childNodeType: import("vue").Ref<"FIELD" | "CHILD_METADATA", "FIELD" | "CHILD_METADATA">;
|
|
564
|
+
editorMode: import("vue").Ref<"SIMPLE" | "ADVANCED", "SIMPLE" | "ADVANCED">;
|
|
565
|
+
editorModeOptions: UiRadioOption[];
|
|
566
|
+
childMetadataDraft: import("vue").Ref<{
|
|
567
|
+
alias: string;
|
|
568
|
+
title: string;
|
|
569
|
+
schemaName?: string | undefined;
|
|
570
|
+
tableName?: string | undefined;
|
|
571
|
+
}, {
|
|
572
|
+
alias: string;
|
|
573
|
+
title: string;
|
|
574
|
+
schemaName?: string;
|
|
575
|
+
tableName?: string;
|
|
576
|
+
} | {
|
|
577
|
+
alias: string;
|
|
578
|
+
title: string;
|
|
579
|
+
schemaName?: string | undefined;
|
|
580
|
+
tableName?: string | undefined;
|
|
581
|
+
}>;
|
|
582
|
+
childValidationAttempted: import("vue").Ref<boolean, boolean>;
|
|
583
|
+
creatingChildMetadata: import("vue").ComputedRef<boolean>;
|
|
584
|
+
updateChildAlias: (alias: string) => void;
|
|
585
|
+
childAliasError: import("vue").ComputedRef<"请填写子元数据标识" | "标识须以小写字母开头,仅含小写字母、数字或下划线,最多 63 个字符" | undefined>;
|
|
586
|
+
referenceTargetFieldCatalogLoading: import("vue").Ref<boolean, boolean>;
|
|
587
|
+
referenceTargetFieldCatalogError: import("vue").Ref<string | undefined, string | undefined>;
|
|
588
|
+
selectedField: import("vue").ComputedRef<MetadataField | undefined>;
|
|
589
|
+
selectedNodeIsField: import("vue").ComputedRef<boolean>;
|
|
590
|
+
metadataTreeNodes: import("vue").ComputedRef<MetadataModelTreeNode[]>;
|
|
591
|
+
selectedRelationIsMain: import("vue").ComputedRef<boolean>;
|
|
592
|
+
fieldPropertyEditorKind: import("vue").ComputedRef<import("./metadataOrchestrationState").MetadataFieldPropertyKind>;
|
|
593
|
+
fixedDefaultEditable: import("vue").ComputedRef<boolean>;
|
|
594
|
+
fixedDefaultReadValue: import("vue").ComputedRef<string | null>;
|
|
595
|
+
editableFieldSpecOptions: import("vue").ComputedRef<import("./metadataOrchestrationState").FieldSpecOption[]>;
|
|
596
|
+
fieldCreationItems: {
|
|
597
|
+
key: string;
|
|
598
|
+
title: string;
|
|
599
|
+
}[];
|
|
600
|
+
referenceSearch: import("vue").Ref<string, string>;
|
|
601
|
+
dictionarySearch: import("vue").Ref<string, string>;
|
|
602
|
+
choicesLoading: import("vue").Ref<boolean, boolean>;
|
|
603
|
+
choicesError: import("vue").Ref<string | undefined, string | undefined>;
|
|
604
|
+
referenceModuleOptions: import("vue").ComputedRef<Option[]>;
|
|
605
|
+
dictionaryValue: import("vue").ComputedRef<string | undefined>;
|
|
606
|
+
dictionaryOptions: import("vue").ComputedRef<Option[]>;
|
|
607
|
+
updateFieldTitle: (title: string) => void;
|
|
608
|
+
updateDictionary: (value: unknown) => void;
|
|
609
|
+
updateFieldName: (name: string) => void;
|
|
610
|
+
updateColumnName: (name: string) => void;
|
|
611
|
+
projectionMappingsText: import("vue").WritableComputedRef<string, string>;
|
|
612
|
+
referenceAffectMappings: import("vue").ComputedRef<string[]>;
|
|
613
|
+
referenceAffectSourceOptions: import("vue").ComputedRef<Option[]>;
|
|
614
|
+
referenceAffectTargetOptions: import("vue").ComputedRef<{
|
|
615
|
+
value: string;
|
|
616
|
+
label: string;
|
|
617
|
+
}[]>;
|
|
618
|
+
updateReferenceAffect: (index: number, side: number, value: unknown) => void;
|
|
619
|
+
addReferenceAffect: () => void;
|
|
620
|
+
removeReferenceAffect: (index: number) => void;
|
|
621
|
+
referenceKeyFieldOptions: import("vue").ComputedRef<Option[]>;
|
|
622
|
+
referenceLabelFieldOptions: import("vue").ComputedRef<Option[]>;
|
|
623
|
+
referenceTargetFieldCatalogProblem: import("vue").ComputedRef<string | undefined>;
|
|
624
|
+
updateReferenceTargetModuleAlias: (value: unknown) => void;
|
|
625
|
+
loadWorkspace: (commit?: (accept: () => void) => void, recovering?: boolean, signal?: AbortSignal) => Promise<void>;
|
|
626
|
+
selectMetadataTreeNode: (node: UiTreeNode) => Promise<void>;
|
|
627
|
+
editPlanField: (field: MetadataField) => void;
|
|
628
|
+
removePlanField: (field: MetadataField) => void;
|
|
629
|
+
cancelFieldPlan: () => void;
|
|
630
|
+
startFieldPlan: () => void;
|
|
631
|
+
startCreateMainMetadata: () => void;
|
|
632
|
+
startCreateChildNode: (kind?: string) => void;
|
|
633
|
+
startCreateChildMetadataNode: () => void;
|
|
634
|
+
startEditField: (field: MetadataField, property: MetadataFieldPropertyDraft) => void;
|
|
635
|
+
cancelNodeEditor: () => void;
|
|
636
|
+
toggleSorting: () => void;
|
|
637
|
+
previewAndApply: (operationName?: string, mode?: "confirm" | "immediate-order") => Promise<void>;
|
|
638
|
+
stageFieldDraft: () => void;
|
|
639
|
+
deleteSelectedNode: () => Promise<void>;
|
|
640
|
+
createMainMetadata: () => Promise<void>;
|
|
641
|
+
fieldPropertyOf: (field: MetadataField) => MetadataFieldPropertyDraft;
|
|
642
|
+
fieldSourceOf: (field: MetadataField) => string;
|
|
643
|
+
fieldEditableInSession: (field: MetadataField) => boolean;
|
|
644
|
+
fieldProtectionReason: (field: MetadataField) => string | undefined;
|
|
645
|
+
canDragMetadataNode: (node: UiTreeNode) => boolean;
|
|
646
|
+
allowMetadataModelDrop: (event: UiTreeDropEvent) => boolean;
|
|
647
|
+
handleMetadataModelDrop: (event: UiTreeDropEvent) => void;
|
|
648
|
+
metadataFieldPropertyLabel: typeof metadataFieldPropertyLabel;
|
|
649
|
+
fieldSpecDisplayLabel: typeof fieldSpecDisplayLabel;
|
|
650
|
+
};
|
|
651
|
+
};
|
|
652
|
+
export type MetadataEditorSession = ReturnType<typeof createMetadataEditorSession>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type AssistantCapability, type AssistantSurface, type AssistantTurnRequester } from '../web-core/index';
|
|
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';
|
|
4
|
+
export declare function createMetadataGovernanceAssistantSurface(adapter: MetadataGovernanceAssistantAdapter, requestTurn: AssistantTurnRequester, contributedCapabilities?: () => AssistantCapability[]): AssistantSurface;
|