@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,1316 @@
|
|
|
1
|
+
import { type AssistantCapability, type AssistantConfigurationEditor, type AssistantInvocationToken, type HttpClient } from '../web-core/index';
|
|
2
|
+
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
|
+
session: (moduleAlias: string, moduleTitle?: string) => {
|
|
5
|
+
moduleAlias: string;
|
|
6
|
+
title: import("vue").ComputedRef<string>;
|
|
7
|
+
adapter: import("./metadataGovernanceEditor").MetadataGovernanceEditor;
|
|
8
|
+
ensureLoaded: (refresh?: boolean, commit?: (accept: () => void) => void) => Promise<void>;
|
|
9
|
+
selectRelation: (relationId: string) => void;
|
|
10
|
+
dirty: import("vue").ComputedRef<boolean>;
|
|
11
|
+
submissionStatus: import("vue").Ref<"unknown" | "idle" | "current-read", "unknown" | "idle" | "current-read">;
|
|
12
|
+
committedNeedsReload: import("vue").Ref<boolean, boolean>;
|
|
13
|
+
readCurrent: (signal?: AbortSignal, commit?: (accept: () => void) => void) => Promise<void>;
|
|
14
|
+
readingCurrent: import("vue").Ref<boolean, boolean>;
|
|
15
|
+
saving: import("vue").Ref<boolean, boolean>;
|
|
16
|
+
loading: import("vue").Ref<boolean, boolean>;
|
|
17
|
+
workspaceReady: import("vue").Ref<boolean, boolean>;
|
|
18
|
+
revision: import("vue").Ref<number, number>;
|
|
19
|
+
contextRevision: import("vue").Ref<number, number>;
|
|
20
|
+
invalidateConfirmations: () => void;
|
|
21
|
+
relations: import("vue").Ref<{
|
|
22
|
+
moduleAlias?: string | undefined;
|
|
23
|
+
metadataId?: string | undefined;
|
|
24
|
+
relationAlias?: string | undefined;
|
|
25
|
+
relationRole?: "main" | "child" | "MAIN" | "CHILD" | undefined;
|
|
26
|
+
parentMetadataId?: string | undefined;
|
|
27
|
+
foreignKey?: string | undefined;
|
|
28
|
+
autoPopulate?: boolean | undefined;
|
|
29
|
+
sortOrder?: number | undefined;
|
|
30
|
+
title?: string | undefined;
|
|
31
|
+
id?: string | undefined;
|
|
32
|
+
tenantId?: string | undefined;
|
|
33
|
+
version?: number | undefined;
|
|
34
|
+
deleted?: boolean | undefined;
|
|
35
|
+
deletedAt?: string | undefined;
|
|
36
|
+
createdBy?: string | undefined;
|
|
37
|
+
createdAt?: string | undefined;
|
|
38
|
+
updatedBy?: string | undefined;
|
|
39
|
+
updatedAt?: string | undefined;
|
|
40
|
+
}[], import("../web-contracts").ModuleMetadataRelation[] | {
|
|
41
|
+
moduleAlias?: string | undefined;
|
|
42
|
+
metadataId?: string | undefined;
|
|
43
|
+
relationAlias?: string | undefined;
|
|
44
|
+
relationRole?: "main" | "child" | "MAIN" | "CHILD" | undefined;
|
|
45
|
+
parentMetadataId?: string | undefined;
|
|
46
|
+
foreignKey?: string | undefined;
|
|
47
|
+
autoPopulate?: boolean | undefined;
|
|
48
|
+
sortOrder?: number | undefined;
|
|
49
|
+
title?: string | undefined;
|
|
50
|
+
id?: string | undefined;
|
|
51
|
+
tenantId?: string | undefined;
|
|
52
|
+
version?: number | undefined;
|
|
53
|
+
deleted?: boolean | undefined;
|
|
54
|
+
deletedAt?: string | undefined;
|
|
55
|
+
createdBy?: string | undefined;
|
|
56
|
+
createdAt?: string | undefined;
|
|
57
|
+
updatedBy?: string | undefined;
|
|
58
|
+
updatedAt?: string | undefined;
|
|
59
|
+
}[]>;
|
|
60
|
+
dispose: () => void;
|
|
61
|
+
view: {
|
|
62
|
+
state: {
|
|
63
|
+
relations: import("vue").Ref<{
|
|
64
|
+
moduleAlias?: string | undefined;
|
|
65
|
+
metadataId?: string | undefined;
|
|
66
|
+
relationAlias?: string | undefined;
|
|
67
|
+
relationRole?: "main" | "child" | "MAIN" | "CHILD" | undefined;
|
|
68
|
+
parentMetadataId?: string | undefined;
|
|
69
|
+
foreignKey?: string | undefined;
|
|
70
|
+
autoPopulate?: boolean | undefined;
|
|
71
|
+
sortOrder?: number | undefined;
|
|
72
|
+
title?: string | undefined;
|
|
73
|
+
id?: string | undefined;
|
|
74
|
+
tenantId?: string | undefined;
|
|
75
|
+
version?: number | undefined;
|
|
76
|
+
deleted?: boolean | undefined;
|
|
77
|
+
deletedAt?: string | undefined;
|
|
78
|
+
createdBy?: string | undefined;
|
|
79
|
+
createdAt?: string | undefined;
|
|
80
|
+
updatedBy?: string | undefined;
|
|
81
|
+
updatedAt?: string | undefined;
|
|
82
|
+
}[], import("../web-contracts").ModuleMetadataRelation[] | {
|
|
83
|
+
moduleAlias?: string | undefined;
|
|
84
|
+
metadataId?: string | undefined;
|
|
85
|
+
relationAlias?: string | undefined;
|
|
86
|
+
relationRole?: "main" | "child" | "MAIN" | "CHILD" | undefined;
|
|
87
|
+
parentMetadataId?: string | undefined;
|
|
88
|
+
foreignKey?: string | undefined;
|
|
89
|
+
autoPopulate?: boolean | undefined;
|
|
90
|
+
sortOrder?: number | undefined;
|
|
91
|
+
title?: string | undefined;
|
|
92
|
+
id?: string | undefined;
|
|
93
|
+
tenantId?: string | undefined;
|
|
94
|
+
version?: number | undefined;
|
|
95
|
+
deleted?: boolean | undefined;
|
|
96
|
+
deletedAt?: string | undefined;
|
|
97
|
+
createdBy?: string | undefined;
|
|
98
|
+
createdAt?: string | undefined;
|
|
99
|
+
updatedBy?: string | undefined;
|
|
100
|
+
updatedAt?: string | undefined;
|
|
101
|
+
}[]>;
|
|
102
|
+
metadataById: import("vue").Ref<Record<string, import("../web-contracts").Metadata>, Record<string, import("../web-contracts").Metadata>>;
|
|
103
|
+
selectedRelationId: import("vue").Ref<string | undefined, string | undefined>;
|
|
104
|
+
fields: import("vue").Ref<{
|
|
105
|
+
metadataId?: string | undefined;
|
|
106
|
+
fieldName?: string | undefined;
|
|
107
|
+
columnName?: string | undefined;
|
|
108
|
+
fieldSpecAlias?: string | undefined;
|
|
109
|
+
fieldOwnership?: string | undefined;
|
|
110
|
+
fieldForm?: string | undefined;
|
|
111
|
+
ownerFieldId?: string | undefined;
|
|
112
|
+
fieldRole?: string | undefined;
|
|
113
|
+
systemManaged?: boolean | undefined;
|
|
114
|
+
required?: boolean | undefined;
|
|
115
|
+
uniqueField?: boolean | undefined;
|
|
116
|
+
indexed?: boolean | undefined;
|
|
117
|
+
sortableField?: boolean | undefined;
|
|
118
|
+
titleField?: boolean | undefined;
|
|
119
|
+
enabled?: boolean | undefined;
|
|
120
|
+
sortOrder?: number | undefined;
|
|
121
|
+
title?: string | undefined;
|
|
122
|
+
id?: string | undefined;
|
|
123
|
+
tenantId?: string | undefined;
|
|
124
|
+
version?: number | undefined;
|
|
125
|
+
deleted?: boolean | undefined;
|
|
126
|
+
deletedAt?: string | undefined;
|
|
127
|
+
createdBy?: string | undefined;
|
|
128
|
+
createdAt?: string | undefined;
|
|
129
|
+
updatedBy?: string | undefined;
|
|
130
|
+
updatedAt?: string | undefined;
|
|
131
|
+
}[], import("../web-contracts").MetadataField[] | {
|
|
132
|
+
metadataId?: string | undefined;
|
|
133
|
+
fieldName?: string | undefined;
|
|
134
|
+
columnName?: string | undefined;
|
|
135
|
+
fieldSpecAlias?: string | undefined;
|
|
136
|
+
fieldOwnership?: string | undefined;
|
|
137
|
+
fieldForm?: string | undefined;
|
|
138
|
+
ownerFieldId?: string | undefined;
|
|
139
|
+
fieldRole?: string | undefined;
|
|
140
|
+
systemManaged?: boolean | undefined;
|
|
141
|
+
required?: boolean | undefined;
|
|
142
|
+
uniqueField?: boolean | undefined;
|
|
143
|
+
indexed?: boolean | undefined;
|
|
144
|
+
sortableField?: boolean | undefined;
|
|
145
|
+
titleField?: boolean | undefined;
|
|
146
|
+
enabled?: boolean | undefined;
|
|
147
|
+
sortOrder?: number | undefined;
|
|
148
|
+
title?: string | undefined;
|
|
149
|
+
id?: string | undefined;
|
|
150
|
+
tenantId?: string | undefined;
|
|
151
|
+
version?: number | undefined;
|
|
152
|
+
deleted?: boolean | undefined;
|
|
153
|
+
deletedAt?: string | undefined;
|
|
154
|
+
createdBy?: string | undefined;
|
|
155
|
+
createdAt?: string | undefined;
|
|
156
|
+
updatedBy?: string | undefined;
|
|
157
|
+
updatedAt?: string | undefined;
|
|
158
|
+
}[]>;
|
|
159
|
+
allFields: import("vue").Ref<{
|
|
160
|
+
metadataId?: string | undefined;
|
|
161
|
+
fieldName?: string | undefined;
|
|
162
|
+
columnName?: string | undefined;
|
|
163
|
+
fieldSpecAlias?: string | undefined;
|
|
164
|
+
fieldOwnership?: string | undefined;
|
|
165
|
+
fieldForm?: string | undefined;
|
|
166
|
+
ownerFieldId?: string | undefined;
|
|
167
|
+
fieldRole?: string | undefined;
|
|
168
|
+
systemManaged?: boolean | undefined;
|
|
169
|
+
required?: boolean | undefined;
|
|
170
|
+
uniqueField?: boolean | undefined;
|
|
171
|
+
indexed?: boolean | undefined;
|
|
172
|
+
sortableField?: boolean | undefined;
|
|
173
|
+
titleField?: boolean | undefined;
|
|
174
|
+
enabled?: boolean | undefined;
|
|
175
|
+
sortOrder?: number | undefined;
|
|
176
|
+
title?: string | undefined;
|
|
177
|
+
id?: string | undefined;
|
|
178
|
+
tenantId?: string | undefined;
|
|
179
|
+
version?: number | undefined;
|
|
180
|
+
deleted?: boolean | undefined;
|
|
181
|
+
deletedAt?: string | undefined;
|
|
182
|
+
createdBy?: string | undefined;
|
|
183
|
+
createdAt?: string | undefined;
|
|
184
|
+
updatedBy?: string | undefined;
|
|
185
|
+
updatedAt?: string | undefined;
|
|
186
|
+
}[], import("../web-contracts").MetadataField[] | {
|
|
187
|
+
metadataId?: string | undefined;
|
|
188
|
+
fieldName?: string | undefined;
|
|
189
|
+
columnName?: string | undefined;
|
|
190
|
+
fieldSpecAlias?: string | undefined;
|
|
191
|
+
fieldOwnership?: string | undefined;
|
|
192
|
+
fieldForm?: string | undefined;
|
|
193
|
+
ownerFieldId?: string | undefined;
|
|
194
|
+
fieldRole?: string | undefined;
|
|
195
|
+
systemManaged?: boolean | undefined;
|
|
196
|
+
required?: boolean | undefined;
|
|
197
|
+
uniqueField?: boolean | undefined;
|
|
198
|
+
indexed?: boolean | undefined;
|
|
199
|
+
sortableField?: boolean | undefined;
|
|
200
|
+
titleField?: boolean | undefined;
|
|
201
|
+
enabled?: boolean | undefined;
|
|
202
|
+
sortOrder?: number | undefined;
|
|
203
|
+
title?: string | undefined;
|
|
204
|
+
id?: string | undefined;
|
|
205
|
+
tenantId?: string | undefined;
|
|
206
|
+
version?: number | undefined;
|
|
207
|
+
deleted?: boolean | undefined;
|
|
208
|
+
deletedAt?: string | undefined;
|
|
209
|
+
createdBy?: string | undefined;
|
|
210
|
+
createdAt?: string | undefined;
|
|
211
|
+
updatedBy?: string | undefined;
|
|
212
|
+
updatedAt?: string | undefined;
|
|
213
|
+
}[]>;
|
|
214
|
+
fieldSpecs: import("vue").Ref<{
|
|
215
|
+
alias?: string | undefined;
|
|
216
|
+
fieldType?: string | undefined;
|
|
217
|
+
defaultLength?: number | undefined;
|
|
218
|
+
defaultPrecision?: number | undefined;
|
|
219
|
+
defaultScale?: number | undefined;
|
|
220
|
+
defaultQueryOperator?: string | undefined;
|
|
221
|
+
queryOperators?: string[] | undefined;
|
|
222
|
+
defaultUiControlAlias?: string | undefined;
|
|
223
|
+
uiControlAliases?: string[] | undefined;
|
|
224
|
+
safeTargetFieldSpecAliases?: string[] | undefined;
|
|
225
|
+
enabled?: boolean | undefined;
|
|
226
|
+
sortOrder?: number | undefined;
|
|
227
|
+
title?: string | undefined;
|
|
228
|
+
id?: string | undefined;
|
|
229
|
+
tenantId?: string | undefined;
|
|
230
|
+
version?: number | undefined;
|
|
231
|
+
deleted?: boolean | undefined;
|
|
232
|
+
deletedAt?: string | undefined;
|
|
233
|
+
createdBy?: string | undefined;
|
|
234
|
+
createdAt?: string | undefined;
|
|
235
|
+
updatedBy?: string | undefined;
|
|
236
|
+
updatedAt?: string | undefined;
|
|
237
|
+
}[], import("../web-contracts").FieldSpec[] | {
|
|
238
|
+
alias?: string | undefined;
|
|
239
|
+
fieldType?: string | undefined;
|
|
240
|
+
defaultLength?: number | undefined;
|
|
241
|
+
defaultPrecision?: number | undefined;
|
|
242
|
+
defaultScale?: number | undefined;
|
|
243
|
+
defaultQueryOperator?: string | undefined;
|
|
244
|
+
queryOperators?: string[] | undefined;
|
|
245
|
+
defaultUiControlAlias?: string | undefined;
|
|
246
|
+
uiControlAliases?: string[] | undefined;
|
|
247
|
+
safeTargetFieldSpecAliases?: string[] | undefined;
|
|
248
|
+
enabled?: boolean | undefined;
|
|
249
|
+
sortOrder?: number | undefined;
|
|
250
|
+
title?: string | undefined;
|
|
251
|
+
id?: string | undefined;
|
|
252
|
+
tenantId?: string | undefined;
|
|
253
|
+
version?: number | undefined;
|
|
254
|
+
deleted?: boolean | undefined;
|
|
255
|
+
deletedAt?: string | undefined;
|
|
256
|
+
createdBy?: string | undefined;
|
|
257
|
+
createdAt?: string | undefined;
|
|
258
|
+
updatedBy?: string | undefined;
|
|
259
|
+
updatedAt?: string | undefined;
|
|
260
|
+
}[]>;
|
|
261
|
+
mode: import("vue").Ref<import("./metadataOrchestrationState").MetadataOrchestrationMode, import("./metadataOrchestrationState").MetadataOrchestrationMode>;
|
|
262
|
+
mainMetadataDraft: import("vue").Ref<{
|
|
263
|
+
alias: string;
|
|
264
|
+
title: string;
|
|
265
|
+
schemaName: string;
|
|
266
|
+
tableName: string;
|
|
267
|
+
dataScopeEnabled: boolean;
|
|
268
|
+
}, import("./metadataOrchestrationState").MainMetadataDraft | {
|
|
269
|
+
alias: string;
|
|
270
|
+
title: string;
|
|
271
|
+
schemaName: string;
|
|
272
|
+
tableName: string;
|
|
273
|
+
dataScopeEnabled: boolean;
|
|
274
|
+
}>;
|
|
275
|
+
fieldDraft: import("vue").Ref<{
|
|
276
|
+
metadataId?: string | undefined;
|
|
277
|
+
fieldName?: string | undefined;
|
|
278
|
+
columnName?: string | undefined;
|
|
279
|
+
fieldSpecAlias?: string | undefined;
|
|
280
|
+
fieldOwnership?: string | undefined;
|
|
281
|
+
fieldForm?: string | undefined;
|
|
282
|
+
ownerFieldId?: string | undefined;
|
|
283
|
+
fieldRole?: string | undefined;
|
|
284
|
+
systemManaged?: boolean | undefined;
|
|
285
|
+
required?: boolean | undefined;
|
|
286
|
+
uniqueField?: boolean | undefined;
|
|
287
|
+
indexed?: boolean | undefined;
|
|
288
|
+
sortableField?: boolean | undefined;
|
|
289
|
+
titleField?: boolean | undefined;
|
|
290
|
+
enabled?: boolean | undefined;
|
|
291
|
+
sortOrder?: number | undefined;
|
|
292
|
+
title?: string | undefined;
|
|
293
|
+
id?: string | undefined;
|
|
294
|
+
tenantId?: string | undefined;
|
|
295
|
+
version?: number | undefined;
|
|
296
|
+
deleted?: boolean | undefined;
|
|
297
|
+
deletedAt?: string | undefined;
|
|
298
|
+
createdBy?: string | undefined;
|
|
299
|
+
createdAt?: string | undefined;
|
|
300
|
+
updatedBy?: string | undefined;
|
|
301
|
+
updatedAt?: string | undefined;
|
|
302
|
+
}, Partial<import("../web-contracts").MetadataField> | {
|
|
303
|
+
metadataId?: string | undefined;
|
|
304
|
+
fieldName?: string | undefined;
|
|
305
|
+
columnName?: string | undefined;
|
|
306
|
+
fieldSpecAlias?: string | undefined;
|
|
307
|
+
fieldOwnership?: string | undefined;
|
|
308
|
+
fieldForm?: string | undefined;
|
|
309
|
+
ownerFieldId?: string | undefined;
|
|
310
|
+
fieldRole?: string | undefined;
|
|
311
|
+
systemManaged?: boolean | undefined;
|
|
312
|
+
required?: boolean | undefined;
|
|
313
|
+
uniqueField?: boolean | undefined;
|
|
314
|
+
indexed?: boolean | undefined;
|
|
315
|
+
sortableField?: boolean | undefined;
|
|
316
|
+
titleField?: boolean | undefined;
|
|
317
|
+
enabled?: boolean | undefined;
|
|
318
|
+
sortOrder?: number | undefined;
|
|
319
|
+
title?: string | undefined;
|
|
320
|
+
id?: string | undefined;
|
|
321
|
+
tenantId?: string | undefined;
|
|
322
|
+
version?: number | undefined;
|
|
323
|
+
deleted?: boolean | undefined;
|
|
324
|
+
deletedAt?: string | undefined;
|
|
325
|
+
createdBy?: string | undefined;
|
|
326
|
+
createdAt?: string | undefined;
|
|
327
|
+
updatedBy?: string | undefined;
|
|
328
|
+
updatedAt?: string | undefined;
|
|
329
|
+
}>;
|
|
330
|
+
fieldPropertyDraft: import("vue").Ref<{
|
|
331
|
+
kind: import("./metadataOrchestrationState").MetadataFieldPropertyKind;
|
|
332
|
+
expectedBindingVersion?: number | undefined;
|
|
333
|
+
referenceConfig?: {
|
|
334
|
+
targetModuleAlias?: string | undefined;
|
|
335
|
+
targetMetadataId?: string | undefined;
|
|
336
|
+
targetKeyField?: string | undefined;
|
|
337
|
+
targetLabelField?: string | undefined;
|
|
338
|
+
cardinality?: "ONE" | "MANY" | undefined;
|
|
339
|
+
targetUnavailablePolicy?: "PRESERVE_HISTORY" | "RESTRICT" | "CASCADE_DELETE" | undefined;
|
|
340
|
+
requireEnabled?: boolean | undefined;
|
|
341
|
+
projectionMappings?: string[] | undefined;
|
|
342
|
+
affectMappings?: string[] | undefined;
|
|
343
|
+
} | undefined;
|
|
344
|
+
dictionaryConfig?: {
|
|
345
|
+
dictionaryApplicationAlias?: string | undefined;
|
|
346
|
+
dictionaryCategoryAlias?: string | undefined;
|
|
347
|
+
selectionMode?: "SINGLE" | "MULTIPLE" | undefined;
|
|
348
|
+
} | undefined;
|
|
349
|
+
fixedDefault?: {
|
|
350
|
+
value: string | null;
|
|
351
|
+
expectedConfigVersion?: number | undefined;
|
|
352
|
+
} | undefined;
|
|
353
|
+
}, import("./metadataOrchestrationState").MetadataFieldPropertyDraft | {
|
|
354
|
+
kind: import("./metadataOrchestrationState").MetadataFieldPropertyKind;
|
|
355
|
+
expectedBindingVersion?: number | undefined;
|
|
356
|
+
referenceConfig?: {
|
|
357
|
+
targetModuleAlias?: string | undefined;
|
|
358
|
+
targetMetadataId?: string | undefined;
|
|
359
|
+
targetKeyField?: string | undefined;
|
|
360
|
+
targetLabelField?: string | undefined;
|
|
361
|
+
cardinality?: "ONE" | "MANY" | undefined;
|
|
362
|
+
targetUnavailablePolicy?: "PRESERVE_HISTORY" | "RESTRICT" | "CASCADE_DELETE" | undefined;
|
|
363
|
+
requireEnabled?: boolean | undefined;
|
|
364
|
+
projectionMappings?: string[] | undefined;
|
|
365
|
+
affectMappings?: string[] | undefined;
|
|
366
|
+
} | undefined;
|
|
367
|
+
dictionaryConfig?: {
|
|
368
|
+
dictionaryApplicationAlias?: string | undefined;
|
|
369
|
+
dictionaryCategoryAlias?: string | undefined;
|
|
370
|
+
selectionMode?: "SINGLE" | "MULTIPLE" | undefined;
|
|
371
|
+
} | undefined;
|
|
372
|
+
fixedDefault?: {
|
|
373
|
+
value: string | null;
|
|
374
|
+
expectedConfigVersion?: number | undefined;
|
|
375
|
+
} | undefined;
|
|
376
|
+
}>;
|
|
377
|
+
selectedRelation: import("vue").ComputedRef<{
|
|
378
|
+
moduleAlias?: string | undefined;
|
|
379
|
+
metadataId?: string | undefined;
|
|
380
|
+
relationAlias?: string | undefined;
|
|
381
|
+
relationRole?: "main" | "child" | "MAIN" | "CHILD" | undefined;
|
|
382
|
+
parentMetadataId?: string | undefined;
|
|
383
|
+
foreignKey?: string | undefined;
|
|
384
|
+
autoPopulate?: boolean | undefined;
|
|
385
|
+
sortOrder?: number | undefined;
|
|
386
|
+
title?: string | undefined;
|
|
387
|
+
id?: string | undefined;
|
|
388
|
+
tenantId?: string | undefined;
|
|
389
|
+
version?: number | undefined;
|
|
390
|
+
deleted?: boolean | undefined;
|
|
391
|
+
deletedAt?: string | undefined;
|
|
392
|
+
createdBy?: string | undefined;
|
|
393
|
+
createdAt?: string | undefined;
|
|
394
|
+
updatedBy?: string | undefined;
|
|
395
|
+
updatedAt?: string | undefined;
|
|
396
|
+
} | undefined>;
|
|
397
|
+
selectedMetadata: import("vue").ComputedRef<import("../web-contracts").Metadata | undefined>;
|
|
398
|
+
hasMainMetadata: import("vue").ComputedRef<boolean>;
|
|
399
|
+
mainEditorOpen: import("vue").ComputedRef<boolean>;
|
|
400
|
+
fieldEditorOpen: import("vue").ComputedRef<boolean>;
|
|
401
|
+
fieldSpecOptions: import("vue").ComputedRef<import("./metadataOrchestrationState").FieldSpecOption[]>;
|
|
402
|
+
handleRelationsLoaded: (loaded: import("../web-contracts").ModuleMetadataRelation[]) => void;
|
|
403
|
+
handleMetadataLoaded: (metadata: import("../web-contracts").Metadata) => void;
|
|
404
|
+
handleFieldsLoaded: (loaded: import("../web-contracts").MetadataField[]) => void;
|
|
405
|
+
handleFieldSpecsLoaded: (loaded: import("../web-contracts").FieldSpec[]) => void;
|
|
406
|
+
selectRelation: (relation: import("../web-contracts").ModuleMetadataRelation) => boolean;
|
|
407
|
+
focusRelation: (relationId: string | undefined) => void;
|
|
408
|
+
startCreateMain: () => void;
|
|
409
|
+
startCreateField: (kind?: import("./metadataOrchestrationState").MetadataFieldPropertyKind) => void;
|
|
410
|
+
startEditField: (field: import("../web-contracts").MetadataField, property?: import("./metadataOrchestrationState").MetadataFieldPropertyDraft) => void;
|
|
411
|
+
startConfigureFieldProperty: (field: import("../web-contracts").MetadataField, kind: Exclude<import("./metadataOrchestrationState").MetadataFieldPropertyKind, "BASIC" | "LEGACY_LOCKED">) => void;
|
|
412
|
+
cancelEditor: () => void;
|
|
413
|
+
};
|
|
414
|
+
capabilityItems: import("vue").ComputedRef<{
|
|
415
|
+
configurable: boolean;
|
|
416
|
+
title: string;
|
|
417
|
+
selected: boolean;
|
|
418
|
+
capability: string;
|
|
419
|
+
enabled: boolean;
|
|
420
|
+
changeSetConfigurable?: boolean;
|
|
421
|
+
reason: string;
|
|
422
|
+
fieldContributions: string[];
|
|
423
|
+
defaultKind: string;
|
|
424
|
+
defaultDescription: string;
|
|
425
|
+
}[]>;
|
|
426
|
+
selectCapability: (capability: string, selected: boolean) => void;
|
|
427
|
+
fieldPlanActive: import("vue").Ref<boolean, boolean>;
|
|
428
|
+
fieldPlanEntries: import("vue").ComputedRef<import("../web-contracts").MetadataField[]>;
|
|
429
|
+
sorting: import("vue").Ref<boolean, boolean>;
|
|
430
|
+
mainMetadataDraft: import("vue").Ref<{
|
|
431
|
+
alias: string;
|
|
432
|
+
title: string;
|
|
433
|
+
schemaName: string;
|
|
434
|
+
tableName: string;
|
|
435
|
+
dataScopeEnabled: boolean;
|
|
436
|
+
}, import("./metadataOrchestrationState").MainMetadataDraft | {
|
|
437
|
+
alias: string;
|
|
438
|
+
title: string;
|
|
439
|
+
schemaName: string;
|
|
440
|
+
tableName: string;
|
|
441
|
+
dataScopeEnabled: boolean;
|
|
442
|
+
}>;
|
|
443
|
+
fieldDraft: import("vue").Ref<{
|
|
444
|
+
metadataId?: string | undefined;
|
|
445
|
+
fieldName?: string | undefined;
|
|
446
|
+
columnName?: string | undefined;
|
|
447
|
+
fieldSpecAlias?: string | undefined;
|
|
448
|
+
fieldOwnership?: string | undefined;
|
|
449
|
+
fieldForm?: string | undefined;
|
|
450
|
+
ownerFieldId?: string | undefined;
|
|
451
|
+
fieldRole?: string | undefined;
|
|
452
|
+
systemManaged?: boolean | undefined;
|
|
453
|
+
required?: boolean | undefined;
|
|
454
|
+
uniqueField?: boolean | undefined;
|
|
455
|
+
indexed?: boolean | undefined;
|
|
456
|
+
sortableField?: boolean | undefined;
|
|
457
|
+
titleField?: boolean | undefined;
|
|
458
|
+
enabled?: boolean | undefined;
|
|
459
|
+
sortOrder?: number | undefined;
|
|
460
|
+
title?: string | undefined;
|
|
461
|
+
id?: string | undefined;
|
|
462
|
+
tenantId?: string | undefined;
|
|
463
|
+
version?: number | undefined;
|
|
464
|
+
deleted?: boolean | undefined;
|
|
465
|
+
deletedAt?: string | undefined;
|
|
466
|
+
createdBy?: string | undefined;
|
|
467
|
+
createdAt?: string | undefined;
|
|
468
|
+
updatedBy?: string | undefined;
|
|
469
|
+
updatedAt?: string | undefined;
|
|
470
|
+
}, Partial<import("../web-contracts").MetadataField> | {
|
|
471
|
+
metadataId?: string | undefined;
|
|
472
|
+
fieldName?: string | undefined;
|
|
473
|
+
columnName?: string | undefined;
|
|
474
|
+
fieldSpecAlias?: string | undefined;
|
|
475
|
+
fieldOwnership?: string | undefined;
|
|
476
|
+
fieldForm?: string | undefined;
|
|
477
|
+
ownerFieldId?: string | undefined;
|
|
478
|
+
fieldRole?: string | undefined;
|
|
479
|
+
systemManaged?: boolean | undefined;
|
|
480
|
+
required?: boolean | undefined;
|
|
481
|
+
uniqueField?: boolean | undefined;
|
|
482
|
+
indexed?: boolean | undefined;
|
|
483
|
+
sortableField?: boolean | undefined;
|
|
484
|
+
titleField?: boolean | undefined;
|
|
485
|
+
enabled?: boolean | undefined;
|
|
486
|
+
sortOrder?: number | undefined;
|
|
487
|
+
title?: string | undefined;
|
|
488
|
+
id?: string | undefined;
|
|
489
|
+
tenantId?: string | undefined;
|
|
490
|
+
version?: number | undefined;
|
|
491
|
+
deleted?: boolean | undefined;
|
|
492
|
+
deletedAt?: string | undefined;
|
|
493
|
+
createdBy?: string | undefined;
|
|
494
|
+
createdAt?: string | undefined;
|
|
495
|
+
updatedBy?: string | undefined;
|
|
496
|
+
updatedAt?: string | undefined;
|
|
497
|
+
}>;
|
|
498
|
+
fieldPropertyDraft: import("vue").Ref<{
|
|
499
|
+
kind: import("./metadataOrchestrationState").MetadataFieldPropertyKind;
|
|
500
|
+
expectedBindingVersion?: number | undefined;
|
|
501
|
+
referenceConfig?: {
|
|
502
|
+
targetModuleAlias?: string | undefined;
|
|
503
|
+
targetMetadataId?: string | undefined;
|
|
504
|
+
targetKeyField?: string | undefined;
|
|
505
|
+
targetLabelField?: string | undefined;
|
|
506
|
+
cardinality?: "ONE" | "MANY" | undefined;
|
|
507
|
+
targetUnavailablePolicy?: "PRESERVE_HISTORY" | "RESTRICT" | "CASCADE_DELETE" | undefined;
|
|
508
|
+
requireEnabled?: boolean | undefined;
|
|
509
|
+
projectionMappings?: string[] | undefined;
|
|
510
|
+
affectMappings?: string[] | undefined;
|
|
511
|
+
} | undefined;
|
|
512
|
+
dictionaryConfig?: {
|
|
513
|
+
dictionaryApplicationAlias?: string | undefined;
|
|
514
|
+
dictionaryCategoryAlias?: string | undefined;
|
|
515
|
+
selectionMode?: "SINGLE" | "MULTIPLE" | undefined;
|
|
516
|
+
} | undefined;
|
|
517
|
+
fixedDefault?: {
|
|
518
|
+
value: string | null;
|
|
519
|
+
expectedConfigVersion?: number | undefined;
|
|
520
|
+
} | undefined;
|
|
521
|
+
}, import("./metadataOrchestrationState").MetadataFieldPropertyDraft | {
|
|
522
|
+
kind: import("./metadataOrchestrationState").MetadataFieldPropertyKind;
|
|
523
|
+
expectedBindingVersion?: number | undefined;
|
|
524
|
+
referenceConfig?: {
|
|
525
|
+
targetModuleAlias?: string | undefined;
|
|
526
|
+
targetMetadataId?: string | undefined;
|
|
527
|
+
targetKeyField?: string | undefined;
|
|
528
|
+
targetLabelField?: string | undefined;
|
|
529
|
+
cardinality?: "ONE" | "MANY" | undefined;
|
|
530
|
+
targetUnavailablePolicy?: "PRESERVE_HISTORY" | "RESTRICT" | "CASCADE_DELETE" | undefined;
|
|
531
|
+
requireEnabled?: boolean | undefined;
|
|
532
|
+
projectionMappings?: string[] | undefined;
|
|
533
|
+
affectMappings?: string[] | undefined;
|
|
534
|
+
} | undefined;
|
|
535
|
+
dictionaryConfig?: {
|
|
536
|
+
dictionaryApplicationAlias?: string | undefined;
|
|
537
|
+
dictionaryCategoryAlias?: string | undefined;
|
|
538
|
+
selectionMode?: "SINGLE" | "MULTIPLE" | undefined;
|
|
539
|
+
} | undefined;
|
|
540
|
+
fixedDefault?: {
|
|
541
|
+
value: string | null;
|
|
542
|
+
expectedConfigVersion?: number | undefined;
|
|
543
|
+
} | undefined;
|
|
544
|
+
}>;
|
|
545
|
+
loading: import("vue").Ref<boolean, boolean>;
|
|
546
|
+
saving: import("vue").Ref<boolean, boolean>;
|
|
547
|
+
showSystemFields: import("vue").Ref<boolean, boolean>;
|
|
548
|
+
selectedTreeKey: import("vue").Ref<string | undefined, string | undefined>;
|
|
549
|
+
expandedTreeKeys: import("vue").Ref<string[], string[]>;
|
|
550
|
+
childNodeType: import("vue").Ref<"FIELD" | "CHILD_METADATA", "FIELD" | "CHILD_METADATA">;
|
|
551
|
+
editorMode: import("vue").Ref<"SIMPLE" | "ADVANCED", "SIMPLE" | "ADVANCED">;
|
|
552
|
+
editorModeOptions: import("../vue-ui-antdv").UiRadioOption[];
|
|
553
|
+
childMetadataDraft: import("vue").Ref<{
|
|
554
|
+
alias: string;
|
|
555
|
+
title: string;
|
|
556
|
+
schemaName?: string | undefined;
|
|
557
|
+
tableName?: string | undefined;
|
|
558
|
+
}, {
|
|
559
|
+
alias: string;
|
|
560
|
+
title: string;
|
|
561
|
+
schemaName?: string;
|
|
562
|
+
tableName?: string;
|
|
563
|
+
} | {
|
|
564
|
+
alias: string;
|
|
565
|
+
title: string;
|
|
566
|
+
schemaName?: string | undefined;
|
|
567
|
+
tableName?: string | undefined;
|
|
568
|
+
}>;
|
|
569
|
+
childValidationAttempted: import("vue").Ref<boolean, boolean>;
|
|
570
|
+
creatingChildMetadata: import("vue").ComputedRef<boolean>;
|
|
571
|
+
updateChildAlias: (alias: string) => void;
|
|
572
|
+
childAliasError: import("vue").ComputedRef<"请填写子元数据标识" | "标识须以小写字母开头,仅含小写字母、数字或下划线,最多 63 个字符" | undefined>;
|
|
573
|
+
referenceTargetFieldCatalogLoading: import("vue").Ref<boolean, boolean>;
|
|
574
|
+
referenceTargetFieldCatalogError: import("vue").Ref<string | undefined, string | undefined>;
|
|
575
|
+
selectedField: import("vue").ComputedRef<import("../web-contracts").MetadataField | undefined>;
|
|
576
|
+
selectedNodeIsField: import("vue").ComputedRef<boolean>;
|
|
577
|
+
metadataTreeNodes: import("vue").ComputedRef<import("./metadataModelTree").MetadataModelTreeNode[]>;
|
|
578
|
+
selectedRelationIsMain: import("vue").ComputedRef<boolean>;
|
|
579
|
+
fieldPropertyEditorKind: import("vue").ComputedRef<import("./metadataOrchestrationState").MetadataFieldPropertyKind>;
|
|
580
|
+
fixedDefaultEditable: import("vue").ComputedRef<boolean>;
|
|
581
|
+
fixedDefaultReadValue: import("vue").ComputedRef<string | null>;
|
|
582
|
+
editableFieldSpecOptions: import("vue").ComputedRef<import("./metadataOrchestrationState").FieldSpecOption[]>;
|
|
583
|
+
fieldCreationItems: {
|
|
584
|
+
key: string;
|
|
585
|
+
title: string;
|
|
586
|
+
}[];
|
|
587
|
+
referenceSearch: import("vue").Ref<string, string>;
|
|
588
|
+
dictionarySearch: import("vue").Ref<string, string>;
|
|
589
|
+
choicesLoading: import("vue").Ref<boolean, boolean>;
|
|
590
|
+
choicesError: import("vue").Ref<string | undefined, string | undefined>;
|
|
591
|
+
referenceModuleOptions: import("vue").ComputedRef<import("../web-contracts").Option[]>;
|
|
592
|
+
dictionaryValue: import("vue").ComputedRef<string | undefined>;
|
|
593
|
+
dictionaryOptions: import("vue").ComputedRef<import("../web-contracts").Option[]>;
|
|
594
|
+
updateFieldTitle: (title: string) => void;
|
|
595
|
+
updateDictionary: (value: unknown) => void;
|
|
596
|
+
updateFieldName: (name: string) => void;
|
|
597
|
+
updateColumnName: (name: string) => void;
|
|
598
|
+
projectionMappingsText: import("vue").WritableComputedRef<string, string>;
|
|
599
|
+
referenceAffectMappings: import("vue").ComputedRef<string[]>;
|
|
600
|
+
referenceAffectSourceOptions: import("vue").ComputedRef<import("../web-contracts").Option[]>;
|
|
601
|
+
referenceAffectTargetOptions: import("vue").ComputedRef<{
|
|
602
|
+
value: string;
|
|
603
|
+
label: string;
|
|
604
|
+
}[]>;
|
|
605
|
+
updateReferenceAffect: (index: number, side: number, value: unknown) => void;
|
|
606
|
+
addReferenceAffect: () => void;
|
|
607
|
+
removeReferenceAffect: (index: number) => void;
|
|
608
|
+
referenceKeyFieldOptions: import("vue").ComputedRef<import("../web-contracts").Option[]>;
|
|
609
|
+
referenceLabelFieldOptions: import("vue").ComputedRef<import("../web-contracts").Option[]>;
|
|
610
|
+
referenceTargetFieldCatalogProblem: import("vue").ComputedRef<string | undefined>;
|
|
611
|
+
updateReferenceTargetModuleAlias: (value: unknown) => void;
|
|
612
|
+
loadWorkspace: (commit?: (accept: () => void) => void, recovering?: boolean, signal?: AbortSignal) => Promise<void>;
|
|
613
|
+
selectMetadataTreeNode: (node: import("../vue-ui-antdv").UiTreeNode) => Promise<void>;
|
|
614
|
+
editPlanField: (field: import("../web-contracts").MetadataField) => void;
|
|
615
|
+
removePlanField: (field: import("../web-contracts").MetadataField) => void;
|
|
616
|
+
cancelFieldPlan: () => void;
|
|
617
|
+
startFieldPlan: () => void;
|
|
618
|
+
startCreateMainMetadata: () => void;
|
|
619
|
+
startCreateChildNode: (kind?: string) => void;
|
|
620
|
+
startCreateChildMetadataNode: () => void;
|
|
621
|
+
startEditField: (field: import("../web-contracts").MetadataField, property: import("./metadataOrchestrationState").MetadataFieldPropertyDraft) => void;
|
|
622
|
+
cancelNodeEditor: () => void;
|
|
623
|
+
toggleSorting: () => void;
|
|
624
|
+
previewAndApply: (operationName?: string, mode?: "confirm" | "immediate-order") => Promise<void>;
|
|
625
|
+
stageFieldDraft: () => void;
|
|
626
|
+
deleteSelectedNode: () => Promise<void>;
|
|
627
|
+
createMainMetadata: () => Promise<void>;
|
|
628
|
+
fieldPropertyOf: (field: import("../web-contracts").MetadataField) => import("./metadataOrchestrationState").MetadataFieldPropertyDraft;
|
|
629
|
+
fieldSourceOf: (field: import("../web-contracts").MetadataField) => string;
|
|
630
|
+
fieldEditableInSession: (field: import("../web-contracts").MetadataField) => boolean;
|
|
631
|
+
fieldProtectionReason: (field: import("../web-contracts").MetadataField) => string | undefined;
|
|
632
|
+
canDragMetadataNode: (node: import("../vue-ui-antdv").UiTreeNode) => boolean;
|
|
633
|
+
allowMetadataModelDrop: (event: import("../vue-ui-antdv").UiTreeDropEvent) => boolean;
|
|
634
|
+
handleMetadataModelDrop: (event: import("../vue-ui-antdv").UiTreeDropEvent) => void;
|
|
635
|
+
metadataFieldPropertyLabel: typeof import("./metadataOrchestrationState").metadataFieldPropertyLabel;
|
|
636
|
+
fieldSpecDisplayLabel: typeof import("./metadataOrchestrationState").fieldSpecDisplayLabel;
|
|
637
|
+
};
|
|
638
|
+
};
|
|
639
|
+
focus: (value: MetadataEditorSession) => void;
|
|
640
|
+
committedRevision: (moduleAlias: string) => number;
|
|
641
|
+
showEditor(value: MetadataEditorSession): void;
|
|
642
|
+
hideEditor(value: MetadataEditorSession): void;
|
|
643
|
+
editor(): AssistantConfigurationEditor | undefined;
|
|
644
|
+
clearFocus: () => void;
|
|
645
|
+
current(): {
|
|
646
|
+
revision: string;
|
|
647
|
+
facts: {
|
|
648
|
+
metadataConfiguration: {
|
|
649
|
+
draftLifetime: string;
|
|
650
|
+
surface: string;
|
|
651
|
+
title?: string;
|
|
652
|
+
facts: Record<string, unknown>;
|
|
653
|
+
} | undefined;
|
|
654
|
+
};
|
|
655
|
+
};
|
|
656
|
+
capabilities(settleNavigation?: (signal?: AbortSignal, requireFormal?: boolean) => Promise<void | AssistantInvocationToken>): AssistantCapability[];
|
|
657
|
+
dispose(): void;
|
|
658
|
+
};
|
|
659
|
+
export type MetadataWorkspace = ReturnType<typeof createMetadataWorkspace>;
|
|
660
|
+
export declare function provideMetadataWorkspace(workspace: MetadataWorkspace): void;
|
|
661
|
+
export declare function useMetadataWorkspace(): {
|
|
662
|
+
session: (moduleAlias: string, moduleTitle?: string) => {
|
|
663
|
+
moduleAlias: string;
|
|
664
|
+
title: import("vue").ComputedRef<string>;
|
|
665
|
+
adapter: import("./metadataGovernanceEditor").MetadataGovernanceEditor;
|
|
666
|
+
ensureLoaded: (refresh?: boolean, commit?: (accept: () => void) => void) => Promise<void>;
|
|
667
|
+
selectRelation: (relationId: string) => void;
|
|
668
|
+
dirty: import("vue").ComputedRef<boolean>;
|
|
669
|
+
submissionStatus: import("vue").Ref<"unknown" | "idle" | "current-read", "unknown" | "idle" | "current-read">;
|
|
670
|
+
committedNeedsReload: import("vue").Ref<boolean, boolean>;
|
|
671
|
+
readCurrent: (signal?: AbortSignal, commit?: (accept: () => void) => void) => Promise<void>;
|
|
672
|
+
readingCurrent: import("vue").Ref<boolean, boolean>;
|
|
673
|
+
saving: import("vue").Ref<boolean, boolean>;
|
|
674
|
+
loading: import("vue").Ref<boolean, boolean>;
|
|
675
|
+
workspaceReady: import("vue").Ref<boolean, boolean>;
|
|
676
|
+
revision: import("vue").Ref<number, number>;
|
|
677
|
+
contextRevision: import("vue").Ref<number, number>;
|
|
678
|
+
invalidateConfirmations: () => void;
|
|
679
|
+
relations: import("vue").Ref<{
|
|
680
|
+
moduleAlias?: string | undefined;
|
|
681
|
+
metadataId?: string | undefined;
|
|
682
|
+
relationAlias?: string | undefined;
|
|
683
|
+
relationRole?: "main" | "child" | "MAIN" | "CHILD" | undefined;
|
|
684
|
+
parentMetadataId?: string | undefined;
|
|
685
|
+
foreignKey?: string | undefined;
|
|
686
|
+
autoPopulate?: boolean | undefined;
|
|
687
|
+
sortOrder?: number | undefined;
|
|
688
|
+
title?: string | undefined;
|
|
689
|
+
id?: string | undefined;
|
|
690
|
+
tenantId?: string | undefined;
|
|
691
|
+
version?: number | undefined;
|
|
692
|
+
deleted?: boolean | undefined;
|
|
693
|
+
deletedAt?: string | undefined;
|
|
694
|
+
createdBy?: string | undefined;
|
|
695
|
+
createdAt?: string | undefined;
|
|
696
|
+
updatedBy?: string | undefined;
|
|
697
|
+
updatedAt?: string | undefined;
|
|
698
|
+
}[], import("../web-contracts").ModuleMetadataRelation[] | {
|
|
699
|
+
moduleAlias?: string | undefined;
|
|
700
|
+
metadataId?: string | undefined;
|
|
701
|
+
relationAlias?: string | undefined;
|
|
702
|
+
relationRole?: "main" | "child" | "MAIN" | "CHILD" | undefined;
|
|
703
|
+
parentMetadataId?: string | undefined;
|
|
704
|
+
foreignKey?: string | undefined;
|
|
705
|
+
autoPopulate?: boolean | undefined;
|
|
706
|
+
sortOrder?: number | undefined;
|
|
707
|
+
title?: string | undefined;
|
|
708
|
+
id?: string | undefined;
|
|
709
|
+
tenantId?: string | undefined;
|
|
710
|
+
version?: number | undefined;
|
|
711
|
+
deleted?: boolean | undefined;
|
|
712
|
+
deletedAt?: string | undefined;
|
|
713
|
+
createdBy?: string | undefined;
|
|
714
|
+
createdAt?: string | undefined;
|
|
715
|
+
updatedBy?: string | undefined;
|
|
716
|
+
updatedAt?: string | undefined;
|
|
717
|
+
}[]>;
|
|
718
|
+
dispose: () => void;
|
|
719
|
+
view: {
|
|
720
|
+
state: {
|
|
721
|
+
relations: import("vue").Ref<{
|
|
722
|
+
moduleAlias?: string | undefined;
|
|
723
|
+
metadataId?: string | undefined;
|
|
724
|
+
relationAlias?: string | undefined;
|
|
725
|
+
relationRole?: "main" | "child" | "MAIN" | "CHILD" | undefined;
|
|
726
|
+
parentMetadataId?: string | undefined;
|
|
727
|
+
foreignKey?: string | undefined;
|
|
728
|
+
autoPopulate?: boolean | undefined;
|
|
729
|
+
sortOrder?: number | undefined;
|
|
730
|
+
title?: string | undefined;
|
|
731
|
+
id?: string | undefined;
|
|
732
|
+
tenantId?: string | undefined;
|
|
733
|
+
version?: number | undefined;
|
|
734
|
+
deleted?: boolean | undefined;
|
|
735
|
+
deletedAt?: string | undefined;
|
|
736
|
+
createdBy?: string | undefined;
|
|
737
|
+
createdAt?: string | undefined;
|
|
738
|
+
updatedBy?: string | undefined;
|
|
739
|
+
updatedAt?: string | undefined;
|
|
740
|
+
}[], import("../web-contracts").ModuleMetadataRelation[] | {
|
|
741
|
+
moduleAlias?: string | undefined;
|
|
742
|
+
metadataId?: string | undefined;
|
|
743
|
+
relationAlias?: string | undefined;
|
|
744
|
+
relationRole?: "main" | "child" | "MAIN" | "CHILD" | undefined;
|
|
745
|
+
parentMetadataId?: string | undefined;
|
|
746
|
+
foreignKey?: string | undefined;
|
|
747
|
+
autoPopulate?: boolean | undefined;
|
|
748
|
+
sortOrder?: number | undefined;
|
|
749
|
+
title?: string | undefined;
|
|
750
|
+
id?: string | undefined;
|
|
751
|
+
tenantId?: string | undefined;
|
|
752
|
+
version?: number | undefined;
|
|
753
|
+
deleted?: boolean | undefined;
|
|
754
|
+
deletedAt?: string | undefined;
|
|
755
|
+
createdBy?: string | undefined;
|
|
756
|
+
createdAt?: string | undefined;
|
|
757
|
+
updatedBy?: string | undefined;
|
|
758
|
+
updatedAt?: string | undefined;
|
|
759
|
+
}[]>;
|
|
760
|
+
metadataById: import("vue").Ref<Record<string, import("../web-contracts").Metadata>, Record<string, import("../web-contracts").Metadata>>;
|
|
761
|
+
selectedRelationId: import("vue").Ref<string | undefined, string | undefined>;
|
|
762
|
+
fields: import("vue").Ref<{
|
|
763
|
+
metadataId?: string | undefined;
|
|
764
|
+
fieldName?: string | undefined;
|
|
765
|
+
columnName?: string | undefined;
|
|
766
|
+
fieldSpecAlias?: string | undefined;
|
|
767
|
+
fieldOwnership?: string | undefined;
|
|
768
|
+
fieldForm?: string | undefined;
|
|
769
|
+
ownerFieldId?: string | undefined;
|
|
770
|
+
fieldRole?: string | undefined;
|
|
771
|
+
systemManaged?: boolean | undefined;
|
|
772
|
+
required?: boolean | undefined;
|
|
773
|
+
uniqueField?: boolean | undefined;
|
|
774
|
+
indexed?: boolean | undefined;
|
|
775
|
+
sortableField?: boolean | undefined;
|
|
776
|
+
titleField?: boolean | undefined;
|
|
777
|
+
enabled?: boolean | undefined;
|
|
778
|
+
sortOrder?: number | undefined;
|
|
779
|
+
title?: string | undefined;
|
|
780
|
+
id?: string | undefined;
|
|
781
|
+
tenantId?: string | undefined;
|
|
782
|
+
version?: number | undefined;
|
|
783
|
+
deleted?: boolean | undefined;
|
|
784
|
+
deletedAt?: string | undefined;
|
|
785
|
+
createdBy?: string | undefined;
|
|
786
|
+
createdAt?: string | undefined;
|
|
787
|
+
updatedBy?: string | undefined;
|
|
788
|
+
updatedAt?: string | undefined;
|
|
789
|
+
}[], import("../web-contracts").MetadataField[] | {
|
|
790
|
+
metadataId?: string | undefined;
|
|
791
|
+
fieldName?: string | undefined;
|
|
792
|
+
columnName?: string | undefined;
|
|
793
|
+
fieldSpecAlias?: string | undefined;
|
|
794
|
+
fieldOwnership?: string | undefined;
|
|
795
|
+
fieldForm?: string | undefined;
|
|
796
|
+
ownerFieldId?: string | undefined;
|
|
797
|
+
fieldRole?: string | undefined;
|
|
798
|
+
systemManaged?: boolean | undefined;
|
|
799
|
+
required?: boolean | undefined;
|
|
800
|
+
uniqueField?: boolean | undefined;
|
|
801
|
+
indexed?: boolean | undefined;
|
|
802
|
+
sortableField?: boolean | undefined;
|
|
803
|
+
titleField?: boolean | undefined;
|
|
804
|
+
enabled?: boolean | undefined;
|
|
805
|
+
sortOrder?: number | undefined;
|
|
806
|
+
title?: string | undefined;
|
|
807
|
+
id?: string | undefined;
|
|
808
|
+
tenantId?: string | undefined;
|
|
809
|
+
version?: number | undefined;
|
|
810
|
+
deleted?: boolean | undefined;
|
|
811
|
+
deletedAt?: string | undefined;
|
|
812
|
+
createdBy?: string | undefined;
|
|
813
|
+
createdAt?: string | undefined;
|
|
814
|
+
updatedBy?: string | undefined;
|
|
815
|
+
updatedAt?: string | undefined;
|
|
816
|
+
}[]>;
|
|
817
|
+
allFields: import("vue").Ref<{
|
|
818
|
+
metadataId?: string | undefined;
|
|
819
|
+
fieldName?: string | undefined;
|
|
820
|
+
columnName?: string | undefined;
|
|
821
|
+
fieldSpecAlias?: string | undefined;
|
|
822
|
+
fieldOwnership?: string | undefined;
|
|
823
|
+
fieldForm?: string | undefined;
|
|
824
|
+
ownerFieldId?: string | undefined;
|
|
825
|
+
fieldRole?: string | undefined;
|
|
826
|
+
systemManaged?: boolean | undefined;
|
|
827
|
+
required?: boolean | undefined;
|
|
828
|
+
uniqueField?: boolean | undefined;
|
|
829
|
+
indexed?: boolean | undefined;
|
|
830
|
+
sortableField?: boolean | undefined;
|
|
831
|
+
titleField?: boolean | undefined;
|
|
832
|
+
enabled?: boolean | undefined;
|
|
833
|
+
sortOrder?: number | undefined;
|
|
834
|
+
title?: string | undefined;
|
|
835
|
+
id?: string | undefined;
|
|
836
|
+
tenantId?: string | undefined;
|
|
837
|
+
version?: number | undefined;
|
|
838
|
+
deleted?: boolean | undefined;
|
|
839
|
+
deletedAt?: string | undefined;
|
|
840
|
+
createdBy?: string | undefined;
|
|
841
|
+
createdAt?: string | undefined;
|
|
842
|
+
updatedBy?: string | undefined;
|
|
843
|
+
updatedAt?: string | undefined;
|
|
844
|
+
}[], import("../web-contracts").MetadataField[] | {
|
|
845
|
+
metadataId?: string | undefined;
|
|
846
|
+
fieldName?: string | undefined;
|
|
847
|
+
columnName?: string | undefined;
|
|
848
|
+
fieldSpecAlias?: string | undefined;
|
|
849
|
+
fieldOwnership?: string | undefined;
|
|
850
|
+
fieldForm?: string | undefined;
|
|
851
|
+
ownerFieldId?: string | undefined;
|
|
852
|
+
fieldRole?: string | undefined;
|
|
853
|
+
systemManaged?: boolean | undefined;
|
|
854
|
+
required?: boolean | undefined;
|
|
855
|
+
uniqueField?: boolean | undefined;
|
|
856
|
+
indexed?: boolean | undefined;
|
|
857
|
+
sortableField?: boolean | undefined;
|
|
858
|
+
titleField?: boolean | undefined;
|
|
859
|
+
enabled?: boolean | undefined;
|
|
860
|
+
sortOrder?: number | undefined;
|
|
861
|
+
title?: string | undefined;
|
|
862
|
+
id?: string | undefined;
|
|
863
|
+
tenantId?: string | undefined;
|
|
864
|
+
version?: number | undefined;
|
|
865
|
+
deleted?: boolean | undefined;
|
|
866
|
+
deletedAt?: string | undefined;
|
|
867
|
+
createdBy?: string | undefined;
|
|
868
|
+
createdAt?: string | undefined;
|
|
869
|
+
updatedBy?: string | undefined;
|
|
870
|
+
updatedAt?: string | undefined;
|
|
871
|
+
}[]>;
|
|
872
|
+
fieldSpecs: import("vue").Ref<{
|
|
873
|
+
alias?: string | undefined;
|
|
874
|
+
fieldType?: string | undefined;
|
|
875
|
+
defaultLength?: number | undefined;
|
|
876
|
+
defaultPrecision?: number | undefined;
|
|
877
|
+
defaultScale?: number | undefined;
|
|
878
|
+
defaultQueryOperator?: string | undefined;
|
|
879
|
+
queryOperators?: string[] | undefined;
|
|
880
|
+
defaultUiControlAlias?: string | undefined;
|
|
881
|
+
uiControlAliases?: string[] | undefined;
|
|
882
|
+
safeTargetFieldSpecAliases?: string[] | undefined;
|
|
883
|
+
enabled?: boolean | undefined;
|
|
884
|
+
sortOrder?: number | undefined;
|
|
885
|
+
title?: string | undefined;
|
|
886
|
+
id?: string | undefined;
|
|
887
|
+
tenantId?: string | undefined;
|
|
888
|
+
version?: number | undefined;
|
|
889
|
+
deleted?: boolean | undefined;
|
|
890
|
+
deletedAt?: string | undefined;
|
|
891
|
+
createdBy?: string | undefined;
|
|
892
|
+
createdAt?: string | undefined;
|
|
893
|
+
updatedBy?: string | undefined;
|
|
894
|
+
updatedAt?: string | undefined;
|
|
895
|
+
}[], import("../web-contracts").FieldSpec[] | {
|
|
896
|
+
alias?: string | undefined;
|
|
897
|
+
fieldType?: string | undefined;
|
|
898
|
+
defaultLength?: number | undefined;
|
|
899
|
+
defaultPrecision?: number | undefined;
|
|
900
|
+
defaultScale?: number | undefined;
|
|
901
|
+
defaultQueryOperator?: string | undefined;
|
|
902
|
+
queryOperators?: string[] | undefined;
|
|
903
|
+
defaultUiControlAlias?: string | undefined;
|
|
904
|
+
uiControlAliases?: string[] | undefined;
|
|
905
|
+
safeTargetFieldSpecAliases?: string[] | undefined;
|
|
906
|
+
enabled?: boolean | undefined;
|
|
907
|
+
sortOrder?: number | undefined;
|
|
908
|
+
title?: string | undefined;
|
|
909
|
+
id?: string | undefined;
|
|
910
|
+
tenantId?: string | undefined;
|
|
911
|
+
version?: number | undefined;
|
|
912
|
+
deleted?: boolean | undefined;
|
|
913
|
+
deletedAt?: string | undefined;
|
|
914
|
+
createdBy?: string | undefined;
|
|
915
|
+
createdAt?: string | undefined;
|
|
916
|
+
updatedBy?: string | undefined;
|
|
917
|
+
updatedAt?: string | undefined;
|
|
918
|
+
}[]>;
|
|
919
|
+
mode: import("vue").Ref<import("./metadataOrchestrationState").MetadataOrchestrationMode, import("./metadataOrchestrationState").MetadataOrchestrationMode>;
|
|
920
|
+
mainMetadataDraft: import("vue").Ref<{
|
|
921
|
+
alias: string;
|
|
922
|
+
title: string;
|
|
923
|
+
schemaName: string;
|
|
924
|
+
tableName: string;
|
|
925
|
+
dataScopeEnabled: boolean;
|
|
926
|
+
}, import("./metadataOrchestrationState").MainMetadataDraft | {
|
|
927
|
+
alias: string;
|
|
928
|
+
title: string;
|
|
929
|
+
schemaName: string;
|
|
930
|
+
tableName: string;
|
|
931
|
+
dataScopeEnabled: boolean;
|
|
932
|
+
}>;
|
|
933
|
+
fieldDraft: import("vue").Ref<{
|
|
934
|
+
metadataId?: string | undefined;
|
|
935
|
+
fieldName?: string | undefined;
|
|
936
|
+
columnName?: string | undefined;
|
|
937
|
+
fieldSpecAlias?: string | undefined;
|
|
938
|
+
fieldOwnership?: string | undefined;
|
|
939
|
+
fieldForm?: string | undefined;
|
|
940
|
+
ownerFieldId?: string | undefined;
|
|
941
|
+
fieldRole?: string | undefined;
|
|
942
|
+
systemManaged?: boolean | undefined;
|
|
943
|
+
required?: boolean | undefined;
|
|
944
|
+
uniqueField?: boolean | undefined;
|
|
945
|
+
indexed?: boolean | undefined;
|
|
946
|
+
sortableField?: boolean | undefined;
|
|
947
|
+
titleField?: boolean | undefined;
|
|
948
|
+
enabled?: boolean | undefined;
|
|
949
|
+
sortOrder?: number | undefined;
|
|
950
|
+
title?: string | undefined;
|
|
951
|
+
id?: string | undefined;
|
|
952
|
+
tenantId?: string | undefined;
|
|
953
|
+
version?: number | undefined;
|
|
954
|
+
deleted?: boolean | undefined;
|
|
955
|
+
deletedAt?: string | undefined;
|
|
956
|
+
createdBy?: string | undefined;
|
|
957
|
+
createdAt?: string | undefined;
|
|
958
|
+
updatedBy?: string | undefined;
|
|
959
|
+
updatedAt?: string | undefined;
|
|
960
|
+
}, Partial<import("../web-contracts").MetadataField> | {
|
|
961
|
+
metadataId?: string | undefined;
|
|
962
|
+
fieldName?: string | undefined;
|
|
963
|
+
columnName?: string | undefined;
|
|
964
|
+
fieldSpecAlias?: string | undefined;
|
|
965
|
+
fieldOwnership?: string | undefined;
|
|
966
|
+
fieldForm?: string | undefined;
|
|
967
|
+
ownerFieldId?: string | undefined;
|
|
968
|
+
fieldRole?: string | undefined;
|
|
969
|
+
systemManaged?: boolean | undefined;
|
|
970
|
+
required?: boolean | undefined;
|
|
971
|
+
uniqueField?: boolean | undefined;
|
|
972
|
+
indexed?: boolean | undefined;
|
|
973
|
+
sortableField?: boolean | undefined;
|
|
974
|
+
titleField?: boolean | undefined;
|
|
975
|
+
enabled?: boolean | undefined;
|
|
976
|
+
sortOrder?: number | undefined;
|
|
977
|
+
title?: string | undefined;
|
|
978
|
+
id?: string | undefined;
|
|
979
|
+
tenantId?: string | undefined;
|
|
980
|
+
version?: number | undefined;
|
|
981
|
+
deleted?: boolean | undefined;
|
|
982
|
+
deletedAt?: string | undefined;
|
|
983
|
+
createdBy?: string | undefined;
|
|
984
|
+
createdAt?: string | undefined;
|
|
985
|
+
updatedBy?: string | undefined;
|
|
986
|
+
updatedAt?: string | undefined;
|
|
987
|
+
}>;
|
|
988
|
+
fieldPropertyDraft: import("vue").Ref<{
|
|
989
|
+
kind: import("./metadataOrchestrationState").MetadataFieldPropertyKind;
|
|
990
|
+
expectedBindingVersion?: number | undefined;
|
|
991
|
+
referenceConfig?: {
|
|
992
|
+
targetModuleAlias?: string | undefined;
|
|
993
|
+
targetMetadataId?: string | undefined;
|
|
994
|
+
targetKeyField?: string | undefined;
|
|
995
|
+
targetLabelField?: string | undefined;
|
|
996
|
+
cardinality?: "ONE" | "MANY" | undefined;
|
|
997
|
+
targetUnavailablePolicy?: "PRESERVE_HISTORY" | "RESTRICT" | "CASCADE_DELETE" | undefined;
|
|
998
|
+
requireEnabled?: boolean | undefined;
|
|
999
|
+
projectionMappings?: string[] | undefined;
|
|
1000
|
+
affectMappings?: string[] | undefined;
|
|
1001
|
+
} | undefined;
|
|
1002
|
+
dictionaryConfig?: {
|
|
1003
|
+
dictionaryApplicationAlias?: string | undefined;
|
|
1004
|
+
dictionaryCategoryAlias?: string | undefined;
|
|
1005
|
+
selectionMode?: "SINGLE" | "MULTIPLE" | undefined;
|
|
1006
|
+
} | undefined;
|
|
1007
|
+
fixedDefault?: {
|
|
1008
|
+
value: string | null;
|
|
1009
|
+
expectedConfigVersion?: number | undefined;
|
|
1010
|
+
} | undefined;
|
|
1011
|
+
}, import("./metadataOrchestrationState").MetadataFieldPropertyDraft | {
|
|
1012
|
+
kind: import("./metadataOrchestrationState").MetadataFieldPropertyKind;
|
|
1013
|
+
expectedBindingVersion?: number | undefined;
|
|
1014
|
+
referenceConfig?: {
|
|
1015
|
+
targetModuleAlias?: string | undefined;
|
|
1016
|
+
targetMetadataId?: string | undefined;
|
|
1017
|
+
targetKeyField?: string | undefined;
|
|
1018
|
+
targetLabelField?: string | undefined;
|
|
1019
|
+
cardinality?: "ONE" | "MANY" | undefined;
|
|
1020
|
+
targetUnavailablePolicy?: "PRESERVE_HISTORY" | "RESTRICT" | "CASCADE_DELETE" | undefined;
|
|
1021
|
+
requireEnabled?: boolean | undefined;
|
|
1022
|
+
projectionMappings?: string[] | undefined;
|
|
1023
|
+
affectMappings?: string[] | undefined;
|
|
1024
|
+
} | undefined;
|
|
1025
|
+
dictionaryConfig?: {
|
|
1026
|
+
dictionaryApplicationAlias?: string | undefined;
|
|
1027
|
+
dictionaryCategoryAlias?: string | undefined;
|
|
1028
|
+
selectionMode?: "SINGLE" | "MULTIPLE" | undefined;
|
|
1029
|
+
} | undefined;
|
|
1030
|
+
fixedDefault?: {
|
|
1031
|
+
value: string | null;
|
|
1032
|
+
expectedConfigVersion?: number | undefined;
|
|
1033
|
+
} | undefined;
|
|
1034
|
+
}>;
|
|
1035
|
+
selectedRelation: import("vue").ComputedRef<{
|
|
1036
|
+
moduleAlias?: string | undefined;
|
|
1037
|
+
metadataId?: string | undefined;
|
|
1038
|
+
relationAlias?: string | undefined;
|
|
1039
|
+
relationRole?: "main" | "child" | "MAIN" | "CHILD" | undefined;
|
|
1040
|
+
parentMetadataId?: string | undefined;
|
|
1041
|
+
foreignKey?: string | undefined;
|
|
1042
|
+
autoPopulate?: boolean | undefined;
|
|
1043
|
+
sortOrder?: number | undefined;
|
|
1044
|
+
title?: string | undefined;
|
|
1045
|
+
id?: string | undefined;
|
|
1046
|
+
tenantId?: string | undefined;
|
|
1047
|
+
version?: number | undefined;
|
|
1048
|
+
deleted?: boolean | undefined;
|
|
1049
|
+
deletedAt?: string | undefined;
|
|
1050
|
+
createdBy?: string | undefined;
|
|
1051
|
+
createdAt?: string | undefined;
|
|
1052
|
+
updatedBy?: string | undefined;
|
|
1053
|
+
updatedAt?: string | undefined;
|
|
1054
|
+
} | undefined>;
|
|
1055
|
+
selectedMetadata: import("vue").ComputedRef<import("../web-contracts").Metadata | undefined>;
|
|
1056
|
+
hasMainMetadata: import("vue").ComputedRef<boolean>;
|
|
1057
|
+
mainEditorOpen: import("vue").ComputedRef<boolean>;
|
|
1058
|
+
fieldEditorOpen: import("vue").ComputedRef<boolean>;
|
|
1059
|
+
fieldSpecOptions: import("vue").ComputedRef<import("./metadataOrchestrationState").FieldSpecOption[]>;
|
|
1060
|
+
handleRelationsLoaded: (loaded: import("../web-contracts").ModuleMetadataRelation[]) => void;
|
|
1061
|
+
handleMetadataLoaded: (metadata: import("../web-contracts").Metadata) => void;
|
|
1062
|
+
handleFieldsLoaded: (loaded: import("../web-contracts").MetadataField[]) => void;
|
|
1063
|
+
handleFieldSpecsLoaded: (loaded: import("../web-contracts").FieldSpec[]) => void;
|
|
1064
|
+
selectRelation: (relation: import("../web-contracts").ModuleMetadataRelation) => boolean;
|
|
1065
|
+
focusRelation: (relationId: string | undefined) => void;
|
|
1066
|
+
startCreateMain: () => void;
|
|
1067
|
+
startCreateField: (kind?: import("./metadataOrchestrationState").MetadataFieldPropertyKind) => void;
|
|
1068
|
+
startEditField: (field: import("../web-contracts").MetadataField, property?: import("./metadataOrchestrationState").MetadataFieldPropertyDraft) => void;
|
|
1069
|
+
startConfigureFieldProperty: (field: import("../web-contracts").MetadataField, kind: Exclude<import("./metadataOrchestrationState").MetadataFieldPropertyKind, "BASIC" | "LEGACY_LOCKED">) => void;
|
|
1070
|
+
cancelEditor: () => void;
|
|
1071
|
+
};
|
|
1072
|
+
capabilityItems: import("vue").ComputedRef<{
|
|
1073
|
+
configurable: boolean;
|
|
1074
|
+
title: string;
|
|
1075
|
+
selected: boolean;
|
|
1076
|
+
capability: string;
|
|
1077
|
+
enabled: boolean;
|
|
1078
|
+
changeSetConfigurable?: boolean;
|
|
1079
|
+
reason: string;
|
|
1080
|
+
fieldContributions: string[];
|
|
1081
|
+
defaultKind: string;
|
|
1082
|
+
defaultDescription: string;
|
|
1083
|
+
}[]>;
|
|
1084
|
+
selectCapability: (capability: string, selected: boolean) => void;
|
|
1085
|
+
fieldPlanActive: import("vue").Ref<boolean, boolean>;
|
|
1086
|
+
fieldPlanEntries: import("vue").ComputedRef<import("../web-contracts").MetadataField[]>;
|
|
1087
|
+
sorting: import("vue").Ref<boolean, boolean>;
|
|
1088
|
+
mainMetadataDraft: import("vue").Ref<{
|
|
1089
|
+
alias: string;
|
|
1090
|
+
title: string;
|
|
1091
|
+
schemaName: string;
|
|
1092
|
+
tableName: string;
|
|
1093
|
+
dataScopeEnabled: boolean;
|
|
1094
|
+
}, import("./metadataOrchestrationState").MainMetadataDraft | {
|
|
1095
|
+
alias: string;
|
|
1096
|
+
title: string;
|
|
1097
|
+
schemaName: string;
|
|
1098
|
+
tableName: string;
|
|
1099
|
+
dataScopeEnabled: boolean;
|
|
1100
|
+
}>;
|
|
1101
|
+
fieldDraft: import("vue").Ref<{
|
|
1102
|
+
metadataId?: string | undefined;
|
|
1103
|
+
fieldName?: string | undefined;
|
|
1104
|
+
columnName?: string | undefined;
|
|
1105
|
+
fieldSpecAlias?: string | undefined;
|
|
1106
|
+
fieldOwnership?: string | undefined;
|
|
1107
|
+
fieldForm?: string | undefined;
|
|
1108
|
+
ownerFieldId?: string | undefined;
|
|
1109
|
+
fieldRole?: string | undefined;
|
|
1110
|
+
systemManaged?: boolean | undefined;
|
|
1111
|
+
required?: boolean | undefined;
|
|
1112
|
+
uniqueField?: boolean | undefined;
|
|
1113
|
+
indexed?: boolean | undefined;
|
|
1114
|
+
sortableField?: boolean | undefined;
|
|
1115
|
+
titleField?: boolean | undefined;
|
|
1116
|
+
enabled?: boolean | undefined;
|
|
1117
|
+
sortOrder?: number | undefined;
|
|
1118
|
+
title?: string | undefined;
|
|
1119
|
+
id?: string | undefined;
|
|
1120
|
+
tenantId?: string | undefined;
|
|
1121
|
+
version?: number | undefined;
|
|
1122
|
+
deleted?: boolean | undefined;
|
|
1123
|
+
deletedAt?: string | undefined;
|
|
1124
|
+
createdBy?: string | undefined;
|
|
1125
|
+
createdAt?: string | undefined;
|
|
1126
|
+
updatedBy?: string | undefined;
|
|
1127
|
+
updatedAt?: string | undefined;
|
|
1128
|
+
}, Partial<import("../web-contracts").MetadataField> | {
|
|
1129
|
+
metadataId?: string | undefined;
|
|
1130
|
+
fieldName?: string | undefined;
|
|
1131
|
+
columnName?: string | undefined;
|
|
1132
|
+
fieldSpecAlias?: string | undefined;
|
|
1133
|
+
fieldOwnership?: string | undefined;
|
|
1134
|
+
fieldForm?: string | undefined;
|
|
1135
|
+
ownerFieldId?: string | undefined;
|
|
1136
|
+
fieldRole?: string | undefined;
|
|
1137
|
+
systemManaged?: boolean | undefined;
|
|
1138
|
+
required?: boolean | undefined;
|
|
1139
|
+
uniqueField?: boolean | undefined;
|
|
1140
|
+
indexed?: boolean | undefined;
|
|
1141
|
+
sortableField?: boolean | undefined;
|
|
1142
|
+
titleField?: boolean | undefined;
|
|
1143
|
+
enabled?: boolean | undefined;
|
|
1144
|
+
sortOrder?: number | undefined;
|
|
1145
|
+
title?: string | undefined;
|
|
1146
|
+
id?: string | undefined;
|
|
1147
|
+
tenantId?: string | undefined;
|
|
1148
|
+
version?: number | undefined;
|
|
1149
|
+
deleted?: boolean | undefined;
|
|
1150
|
+
deletedAt?: string | undefined;
|
|
1151
|
+
createdBy?: string | undefined;
|
|
1152
|
+
createdAt?: string | undefined;
|
|
1153
|
+
updatedBy?: string | undefined;
|
|
1154
|
+
updatedAt?: string | undefined;
|
|
1155
|
+
}>;
|
|
1156
|
+
fieldPropertyDraft: import("vue").Ref<{
|
|
1157
|
+
kind: import("./metadataOrchestrationState").MetadataFieldPropertyKind;
|
|
1158
|
+
expectedBindingVersion?: number | undefined;
|
|
1159
|
+
referenceConfig?: {
|
|
1160
|
+
targetModuleAlias?: string | undefined;
|
|
1161
|
+
targetMetadataId?: string | undefined;
|
|
1162
|
+
targetKeyField?: string | undefined;
|
|
1163
|
+
targetLabelField?: string | undefined;
|
|
1164
|
+
cardinality?: "ONE" | "MANY" | undefined;
|
|
1165
|
+
targetUnavailablePolicy?: "PRESERVE_HISTORY" | "RESTRICT" | "CASCADE_DELETE" | undefined;
|
|
1166
|
+
requireEnabled?: boolean | undefined;
|
|
1167
|
+
projectionMappings?: string[] | undefined;
|
|
1168
|
+
affectMappings?: string[] | undefined;
|
|
1169
|
+
} | undefined;
|
|
1170
|
+
dictionaryConfig?: {
|
|
1171
|
+
dictionaryApplicationAlias?: string | undefined;
|
|
1172
|
+
dictionaryCategoryAlias?: string | undefined;
|
|
1173
|
+
selectionMode?: "SINGLE" | "MULTIPLE" | undefined;
|
|
1174
|
+
} | undefined;
|
|
1175
|
+
fixedDefault?: {
|
|
1176
|
+
value: string | null;
|
|
1177
|
+
expectedConfigVersion?: number | undefined;
|
|
1178
|
+
} | undefined;
|
|
1179
|
+
}, import("./metadataOrchestrationState").MetadataFieldPropertyDraft | {
|
|
1180
|
+
kind: import("./metadataOrchestrationState").MetadataFieldPropertyKind;
|
|
1181
|
+
expectedBindingVersion?: number | undefined;
|
|
1182
|
+
referenceConfig?: {
|
|
1183
|
+
targetModuleAlias?: string | undefined;
|
|
1184
|
+
targetMetadataId?: string | undefined;
|
|
1185
|
+
targetKeyField?: string | undefined;
|
|
1186
|
+
targetLabelField?: string | undefined;
|
|
1187
|
+
cardinality?: "ONE" | "MANY" | undefined;
|
|
1188
|
+
targetUnavailablePolicy?: "PRESERVE_HISTORY" | "RESTRICT" | "CASCADE_DELETE" | undefined;
|
|
1189
|
+
requireEnabled?: boolean | undefined;
|
|
1190
|
+
projectionMappings?: string[] | undefined;
|
|
1191
|
+
affectMappings?: string[] | undefined;
|
|
1192
|
+
} | undefined;
|
|
1193
|
+
dictionaryConfig?: {
|
|
1194
|
+
dictionaryApplicationAlias?: string | undefined;
|
|
1195
|
+
dictionaryCategoryAlias?: string | undefined;
|
|
1196
|
+
selectionMode?: "SINGLE" | "MULTIPLE" | undefined;
|
|
1197
|
+
} | undefined;
|
|
1198
|
+
fixedDefault?: {
|
|
1199
|
+
value: string | null;
|
|
1200
|
+
expectedConfigVersion?: number | undefined;
|
|
1201
|
+
} | undefined;
|
|
1202
|
+
}>;
|
|
1203
|
+
loading: import("vue").Ref<boolean, boolean>;
|
|
1204
|
+
saving: import("vue").Ref<boolean, boolean>;
|
|
1205
|
+
showSystemFields: import("vue").Ref<boolean, boolean>;
|
|
1206
|
+
selectedTreeKey: import("vue").Ref<string | undefined, string | undefined>;
|
|
1207
|
+
expandedTreeKeys: import("vue").Ref<string[], string[]>;
|
|
1208
|
+
childNodeType: import("vue").Ref<"FIELD" | "CHILD_METADATA", "FIELD" | "CHILD_METADATA">;
|
|
1209
|
+
editorMode: import("vue").Ref<"SIMPLE" | "ADVANCED", "SIMPLE" | "ADVANCED">;
|
|
1210
|
+
editorModeOptions: import("../vue-ui-antdv").UiRadioOption[];
|
|
1211
|
+
childMetadataDraft: import("vue").Ref<{
|
|
1212
|
+
alias: string;
|
|
1213
|
+
title: string;
|
|
1214
|
+
schemaName?: string | undefined;
|
|
1215
|
+
tableName?: string | undefined;
|
|
1216
|
+
}, {
|
|
1217
|
+
alias: string;
|
|
1218
|
+
title: string;
|
|
1219
|
+
schemaName?: string;
|
|
1220
|
+
tableName?: string;
|
|
1221
|
+
} | {
|
|
1222
|
+
alias: string;
|
|
1223
|
+
title: string;
|
|
1224
|
+
schemaName?: string | undefined;
|
|
1225
|
+
tableName?: string | undefined;
|
|
1226
|
+
}>;
|
|
1227
|
+
childValidationAttempted: import("vue").Ref<boolean, boolean>;
|
|
1228
|
+
creatingChildMetadata: import("vue").ComputedRef<boolean>;
|
|
1229
|
+
updateChildAlias: (alias: string) => void;
|
|
1230
|
+
childAliasError: import("vue").ComputedRef<"请填写子元数据标识" | "标识须以小写字母开头,仅含小写字母、数字或下划线,最多 63 个字符" | undefined>;
|
|
1231
|
+
referenceTargetFieldCatalogLoading: import("vue").Ref<boolean, boolean>;
|
|
1232
|
+
referenceTargetFieldCatalogError: import("vue").Ref<string | undefined, string | undefined>;
|
|
1233
|
+
selectedField: import("vue").ComputedRef<import("../web-contracts").MetadataField | undefined>;
|
|
1234
|
+
selectedNodeIsField: import("vue").ComputedRef<boolean>;
|
|
1235
|
+
metadataTreeNodes: import("vue").ComputedRef<import("./metadataModelTree").MetadataModelTreeNode[]>;
|
|
1236
|
+
selectedRelationIsMain: import("vue").ComputedRef<boolean>;
|
|
1237
|
+
fieldPropertyEditorKind: import("vue").ComputedRef<import("./metadataOrchestrationState").MetadataFieldPropertyKind>;
|
|
1238
|
+
fixedDefaultEditable: import("vue").ComputedRef<boolean>;
|
|
1239
|
+
fixedDefaultReadValue: import("vue").ComputedRef<string | null>;
|
|
1240
|
+
editableFieldSpecOptions: import("vue").ComputedRef<import("./metadataOrchestrationState").FieldSpecOption[]>;
|
|
1241
|
+
fieldCreationItems: {
|
|
1242
|
+
key: string;
|
|
1243
|
+
title: string;
|
|
1244
|
+
}[];
|
|
1245
|
+
referenceSearch: import("vue").Ref<string, string>;
|
|
1246
|
+
dictionarySearch: import("vue").Ref<string, string>;
|
|
1247
|
+
choicesLoading: import("vue").Ref<boolean, boolean>;
|
|
1248
|
+
choicesError: import("vue").Ref<string | undefined, string | undefined>;
|
|
1249
|
+
referenceModuleOptions: import("vue").ComputedRef<import("../web-contracts").Option[]>;
|
|
1250
|
+
dictionaryValue: import("vue").ComputedRef<string | undefined>;
|
|
1251
|
+
dictionaryOptions: import("vue").ComputedRef<import("../web-contracts").Option[]>;
|
|
1252
|
+
updateFieldTitle: (title: string) => void;
|
|
1253
|
+
updateDictionary: (value: unknown) => void;
|
|
1254
|
+
updateFieldName: (name: string) => void;
|
|
1255
|
+
updateColumnName: (name: string) => void;
|
|
1256
|
+
projectionMappingsText: import("vue").WritableComputedRef<string, string>;
|
|
1257
|
+
referenceAffectMappings: import("vue").ComputedRef<string[]>;
|
|
1258
|
+
referenceAffectSourceOptions: import("vue").ComputedRef<import("../web-contracts").Option[]>;
|
|
1259
|
+
referenceAffectTargetOptions: import("vue").ComputedRef<{
|
|
1260
|
+
value: string;
|
|
1261
|
+
label: string;
|
|
1262
|
+
}[]>;
|
|
1263
|
+
updateReferenceAffect: (index: number, side: number, value: unknown) => void;
|
|
1264
|
+
addReferenceAffect: () => void;
|
|
1265
|
+
removeReferenceAffect: (index: number) => void;
|
|
1266
|
+
referenceKeyFieldOptions: import("vue").ComputedRef<import("../web-contracts").Option[]>;
|
|
1267
|
+
referenceLabelFieldOptions: import("vue").ComputedRef<import("../web-contracts").Option[]>;
|
|
1268
|
+
referenceTargetFieldCatalogProblem: import("vue").ComputedRef<string | undefined>;
|
|
1269
|
+
updateReferenceTargetModuleAlias: (value: unknown) => void;
|
|
1270
|
+
loadWorkspace: (commit?: (accept: () => void) => void, recovering?: boolean, signal?: AbortSignal) => Promise<void>;
|
|
1271
|
+
selectMetadataTreeNode: (node: import("../vue-ui-antdv").UiTreeNode) => Promise<void>;
|
|
1272
|
+
editPlanField: (field: import("../web-contracts").MetadataField) => void;
|
|
1273
|
+
removePlanField: (field: import("../web-contracts").MetadataField) => void;
|
|
1274
|
+
cancelFieldPlan: () => void;
|
|
1275
|
+
startFieldPlan: () => void;
|
|
1276
|
+
startCreateMainMetadata: () => void;
|
|
1277
|
+
startCreateChildNode: (kind?: string) => void;
|
|
1278
|
+
startCreateChildMetadataNode: () => void;
|
|
1279
|
+
startEditField: (field: import("../web-contracts").MetadataField, property: import("./metadataOrchestrationState").MetadataFieldPropertyDraft) => void;
|
|
1280
|
+
cancelNodeEditor: () => void;
|
|
1281
|
+
toggleSorting: () => void;
|
|
1282
|
+
previewAndApply: (operationName?: string, mode?: "confirm" | "immediate-order") => Promise<void>;
|
|
1283
|
+
stageFieldDraft: () => void;
|
|
1284
|
+
deleteSelectedNode: () => Promise<void>;
|
|
1285
|
+
createMainMetadata: () => Promise<void>;
|
|
1286
|
+
fieldPropertyOf: (field: import("../web-contracts").MetadataField) => import("./metadataOrchestrationState").MetadataFieldPropertyDraft;
|
|
1287
|
+
fieldSourceOf: (field: import("../web-contracts").MetadataField) => string;
|
|
1288
|
+
fieldEditableInSession: (field: import("../web-contracts").MetadataField) => boolean;
|
|
1289
|
+
fieldProtectionReason: (field: import("../web-contracts").MetadataField) => string | undefined;
|
|
1290
|
+
canDragMetadataNode: (node: import("../vue-ui-antdv").UiTreeNode) => boolean;
|
|
1291
|
+
allowMetadataModelDrop: (event: import("../vue-ui-antdv").UiTreeDropEvent) => boolean;
|
|
1292
|
+
handleMetadataModelDrop: (event: import("../vue-ui-antdv").UiTreeDropEvent) => void;
|
|
1293
|
+
metadataFieldPropertyLabel: typeof import("./metadataOrchestrationState").metadataFieldPropertyLabel;
|
|
1294
|
+
fieldSpecDisplayLabel: typeof import("./metadataOrchestrationState").fieldSpecDisplayLabel;
|
|
1295
|
+
};
|
|
1296
|
+
};
|
|
1297
|
+
focus: (value: MetadataEditorSession) => void;
|
|
1298
|
+
committedRevision: (moduleAlias: string) => number;
|
|
1299
|
+
showEditor(value: MetadataEditorSession): void;
|
|
1300
|
+
hideEditor(value: MetadataEditorSession): void;
|
|
1301
|
+
editor(): AssistantConfigurationEditor | undefined;
|
|
1302
|
+
clearFocus: () => void;
|
|
1303
|
+
current(): {
|
|
1304
|
+
revision: string;
|
|
1305
|
+
facts: {
|
|
1306
|
+
metadataConfiguration: {
|
|
1307
|
+
draftLifetime: string;
|
|
1308
|
+
surface: string;
|
|
1309
|
+
title?: string;
|
|
1310
|
+
facts: Record<string, unknown>;
|
|
1311
|
+
} | undefined;
|
|
1312
|
+
};
|
|
1313
|
+
};
|
|
1314
|
+
capabilities(settleNavigation?: (signal?: AbortSignal, requireFormal?: boolean) => Promise<void | AssistantInvocationToken>): AssistantCapability[];
|
|
1315
|
+
dispose(): void;
|
|
1316
|
+
} | undefined;
|