@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
|
@@ -108,8 +108,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
108
108
|
querySchema: (options?: import("../web-core").QuerySchemaRequestOptions) => Promise<import("../web-contracts").QuerySchema>;
|
|
109
109
|
query: (request?: import("../web-contracts").WebQueryRequest) => Promise<import("../web-contracts").WebPageResponse<QueryListRecord>>;
|
|
110
110
|
view: (id: string) => Promise<QueryListRecord>;
|
|
111
|
-
insert: (record: QueryListRecord) => Promise<import("../web-core").StaticRecordMutationResult<QueryListRecord>>;
|
|
112
|
-
update: (id: string, record: QueryListRecord) => Promise<import("../web-core").StaticRecordMutationResult<QueryListRecord>>;
|
|
111
|
+
insert: (record: QueryListRecord, options?: import("../web-core").RecordSaveRequestOptions) => Promise<import("../web-core").StaticRecordMutationResult<QueryListRecord>>;
|
|
112
|
+
update: (id: string, record: QueryListRecord, options?: import("../web-core").RecordSaveRequestOptions) => Promise<import("../web-core").StaticRecordMutationResult<QueryListRecord>>;
|
|
113
|
+
saveReceipt?: ((requestId: string) => Promise<import("../web-core").RecordSaveReceipt>) | undefined;
|
|
113
114
|
delete: (id: string, request: import("../web-core").RecordActionRequest) => Promise<import("../web-core").StaticCountMutationResult>;
|
|
114
115
|
enable: (id: string, request: import("../web-core").RecordActionRequest) => Promise<import("../web-core").StaticCountMutationResult>;
|
|
115
116
|
disable: (id: string, request: import("../web-core").RecordActionRequest) => Promise<import("../web-core").StaticCountMutationResult>;
|
|
@@ -168,6 +169,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
168
169
|
navigatorExplorerQueryValues: (levelKey: string) => Record<string, unknown> | undefined;
|
|
169
170
|
context: import("../web-core").ModuleContext<QueryListRecord>;
|
|
170
171
|
navigatorManagementScopeReady: (level: import("./composables/useNavigatorRuntime").NavigatorLevelRuntime) => boolean;
|
|
172
|
+
navigatorRecordCreationState: (level: import("./composables/useNavigatorRuntime").NavigatorLevelRuntime) => {
|
|
173
|
+
ready: boolean;
|
|
174
|
+
reason?: undefined;
|
|
175
|
+
message?: undefined;
|
|
176
|
+
} | {
|
|
177
|
+
message: string | undefined;
|
|
178
|
+
ready: boolean;
|
|
179
|
+
reason: string;
|
|
180
|
+
};
|
|
171
181
|
navigatorManagementScopeDisabledReason: (level: import("./composables/useNavigatorRuntime").NavigatorLevelRuntime) => string | undefined;
|
|
172
182
|
navigatorPanelScopeContext: (levelKey: string) => string | undefined;
|
|
173
183
|
navigatorTreeParentPolicy: (level: import("./composables/useNavigatorRuntime").NavigatorLevelRuntime) => import("./modulePageEnhancements").ModulePageNavigatorTreeParentPolicy | undefined;
|
|
@@ -177,13 +187,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
177
187
|
}) => import("../web-contracts").RecordInlineAction[];
|
|
178
188
|
navigatorSortState: (level: import("./composables/useNavigatorRuntime").NavigatorLevelRuntime) => import("./composables/useNavigatorRuntime").NavigatorSortViewState;
|
|
179
189
|
scopeReloadKey: number;
|
|
180
|
-
createNavigatorRecord: (level: import("./composables/useNavigatorRuntime").NavigatorLevelRuntime, parentId?: string) => void;
|
|
190
|
+
createNavigatorRecord: (level: import("./composables/useNavigatorRuntime").NavigatorLevelRuntime, parentId?: string, source?: "user" | "assistant") => void;
|
|
181
191
|
handleNavigatorLoaded: (level: import("./composables/useNavigatorRuntime").NavigatorLevelRuntime, records: Array<{
|
|
182
192
|
id?: string;
|
|
183
|
-
}
|
|
193
|
+
}>, completeUnfilteredResult?: boolean) => void;
|
|
184
194
|
selectNavigatorRecord: (levelKey: string, record: {
|
|
185
195
|
id?: string;
|
|
186
|
-
}, source?: "user" | "entry") => void;
|
|
196
|
+
}, source?: "user" | "assistant" | "entry") => void;
|
|
187
197
|
clearNavigatorRecord: (levelKey: string) => void;
|
|
188
198
|
handleNavigatorInlineAction: (level: import("./composables/useNavigatorRuntime").NavigatorLevelRuntime, action: import("../web-contracts").RecordInlineAction, record: {
|
|
189
199
|
id?: string;
|
|
@@ -223,13 +233,22 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
223
233
|
navigatorManagementEnabledDisabled: boolean;
|
|
224
234
|
navigatorManagementEnabledDisabledReason: string | undefined;
|
|
225
235
|
navigatorManagementTogglingEnabled: boolean;
|
|
226
|
-
closeNavigatorManagementEditor: () => void;
|
|
236
|
+
closeNavigatorManagementEditor: (source?: "user" | "background") => void;
|
|
227
237
|
saveNavigatorRecord: () => Promise<void>;
|
|
228
238
|
toggleNavigatorManagementEnabled: (enabled: boolean) => Promise<void>;
|
|
229
239
|
updateNavigatorManagementDraft: (fieldName: string, value: import("../platform-components/index").RecordFormFieldValue) => void;
|
|
230
240
|
navigatorManagementFormValid: boolean;
|
|
231
241
|
navigatorListScopeReady: boolean;
|
|
232
242
|
selectedRecord: QueryListRecord | undefined;
|
|
243
|
+
recordDisplayRecord: {
|
|
244
|
+
[x: string]: unknown;
|
|
245
|
+
id?: string;
|
|
246
|
+
enabled?: boolean;
|
|
247
|
+
};
|
|
248
|
+
recordDetailReady: () => boolean;
|
|
249
|
+
recordRelationOptions: {
|
|
250
|
+
[k: string]: Record<string, import("../web-contracts").OptionItemDescriptor[]>;
|
|
251
|
+
};
|
|
233
252
|
flatManagementSorting: boolean;
|
|
234
253
|
navigatorListQueryValues: Record<string, unknown> | undefined;
|
|
235
254
|
flatManagementItemOf: (record: import("../platform-components/index").CrudRecordListBase) => import("../platform-components/index").RecordExplorerItemDescriptor;
|
|
@@ -250,6 +269,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
250
269
|
detailDirty: boolean;
|
|
251
270
|
sessionDirty: boolean;
|
|
252
271
|
updateDraftField: (fieldName: string, value: import("../platform-components/index").RecordFormFieldValue) => void;
|
|
272
|
+
updateDraftFields: (changes: Array<{
|
|
273
|
+
fieldName: string;
|
|
274
|
+
value: import("../platform-components/index").RecordFormFieldValue;
|
|
275
|
+
}>, source?: "user" | "assistant", validate?: (record: import("../platform-components/index").RecordFormRecord) => void) => void;
|
|
276
|
+
updateDraftReference: (fieldName: string, candidate: import("../platform-components/index").ReferencePickerCandidate, source?: "user" | "assistant", changes?: Parameters<import("./recordFormDraftAccess").RecordFormDraftAccess["updateDraftFields"]>[0], validate?: Parameters<import("./recordFormDraftAccess").RecordFormDraftAccess["updateDraftReference"]>[4]) => void;
|
|
277
|
+
referenceDisplay: (fieldName: string) => string | undefined;
|
|
278
|
+
updateReferenceDisplay: (fieldName: string, candidates: readonly import("../platform-components/index").ReferencePickerCandidate[]) => void;
|
|
253
279
|
showStatusSwitch: boolean;
|
|
254
280
|
canToggleEnabled: boolean;
|
|
255
281
|
toggleEnabledDisabledReason: string | undefined;
|
|
@@ -260,6 +286,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
260
286
|
detailLoadFailed: boolean;
|
|
261
287
|
rawContext: import("../web-core").ModuleContext<QueryListRecord>;
|
|
262
288
|
detailDisplayFields: Map<string, {
|
|
289
|
+
assistantPolicy?: import("../web-contracts").AssistantFieldPolicy | undefined;
|
|
263
290
|
fieldRef: {
|
|
264
291
|
relationCode?: string | undefined;
|
|
265
292
|
fieldName: string;
|
|
@@ -338,6 +365,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
338
365
|
maxDisplayLines?: number | undefined;
|
|
339
366
|
treeRootTitle?: string | undefined;
|
|
340
367
|
overrideOf?: string | undefined;
|
|
368
|
+
inputRequirements?: {
|
|
369
|
+
requiredOnInsert: boolean;
|
|
370
|
+
requiredOnUpdate: boolean;
|
|
371
|
+
maxLength?: number | null | undefined;
|
|
372
|
+
validationRegex?: string | null | undefined;
|
|
373
|
+
textNormalization?: "NONE" | "TRIM" | "TRIM_TO_NULL" | null | undefined;
|
|
374
|
+
precision?: number | null | undefined;
|
|
375
|
+
scale?: number | null | undefined;
|
|
376
|
+
} | undefined;
|
|
377
|
+
calculationTiming?: "IMMEDIATE" | "ON_SAVE" | null | undefined;
|
|
341
378
|
fieldControl?: {
|
|
342
379
|
alias: string;
|
|
343
380
|
rendererType: string;
|
|
@@ -408,6 +445,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
408
445
|
} | undefined;
|
|
409
446
|
valueType?: import("../web-contracts").ViewFieldValueType | undefined;
|
|
410
447
|
} | {
|
|
448
|
+
calculationTiming?: "IMMEDIATE" | "ON_SAVE" | null | undefined;
|
|
449
|
+
inputRequirements?: {
|
|
450
|
+
requiredOnInsert: boolean;
|
|
451
|
+
requiredOnUpdate: boolean;
|
|
452
|
+
maxLength?: number | null | undefined;
|
|
453
|
+
validationRegex?: string | null | undefined;
|
|
454
|
+
textNormalization?: "NONE" | "TRIM" | "TRIM_TO_NULL" | null | undefined;
|
|
455
|
+
precision?: number | null | undefined;
|
|
456
|
+
scale?: number | null | undefined;
|
|
457
|
+
} | undefined;
|
|
458
|
+
assistantPolicy?: import("../web-contracts").AssistantFieldPolicy | undefined;
|
|
411
459
|
fieldRef: {
|
|
412
460
|
relationCode?: string | undefined;
|
|
413
461
|
fieldName: string;
|
|
@@ -563,6 +611,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
563
611
|
} | undefined;
|
|
564
612
|
}> & Omit<Map<string, import("../platform-components/index").RecordFormFieldDescriptor>, keyof Map<any, any>>;
|
|
565
613
|
formFields: Map<string, {
|
|
614
|
+
assistantPolicy?: import("../web-contracts").AssistantFieldPolicy | undefined;
|
|
566
615
|
fieldRef: {
|
|
567
616
|
relationCode?: string | undefined;
|
|
568
617
|
fieldName: string;
|
|
@@ -641,6 +690,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
641
690
|
maxDisplayLines?: number | undefined;
|
|
642
691
|
treeRootTitle?: string | undefined;
|
|
643
692
|
overrideOf?: string | undefined;
|
|
693
|
+
inputRequirements?: {
|
|
694
|
+
requiredOnInsert: boolean;
|
|
695
|
+
requiredOnUpdate: boolean;
|
|
696
|
+
maxLength?: number | null | undefined;
|
|
697
|
+
validationRegex?: string | null | undefined;
|
|
698
|
+
textNormalization?: "NONE" | "TRIM" | "TRIM_TO_NULL" | null | undefined;
|
|
699
|
+
precision?: number | null | undefined;
|
|
700
|
+
scale?: number | null | undefined;
|
|
701
|
+
} | undefined;
|
|
702
|
+
calculationTiming?: "IMMEDIATE" | "ON_SAVE" | null | undefined;
|
|
644
703
|
fieldControl?: {
|
|
645
704
|
alias: string;
|
|
646
705
|
rendererType: string;
|
|
@@ -711,6 +770,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
711
770
|
} | undefined;
|
|
712
771
|
valueType?: import("../web-contracts").ViewFieldValueType | undefined;
|
|
713
772
|
} | {
|
|
773
|
+
calculationTiming?: "IMMEDIATE" | "ON_SAVE" | null | undefined;
|
|
774
|
+
inputRequirements?: {
|
|
775
|
+
requiredOnInsert: boolean;
|
|
776
|
+
requiredOnUpdate: boolean;
|
|
777
|
+
maxLength?: number | null | undefined;
|
|
778
|
+
validationRegex?: string | null | undefined;
|
|
779
|
+
textNormalization?: "NONE" | "TRIM" | "TRIM_TO_NULL" | null | undefined;
|
|
780
|
+
precision?: number | null | undefined;
|
|
781
|
+
scale?: number | null | undefined;
|
|
782
|
+
} | undefined;
|
|
783
|
+
assistantPolicy?: import("../web-contracts").AssistantFieldPolicy | undefined;
|
|
714
784
|
fieldRef: {
|
|
715
785
|
relationCode?: string | undefined;
|
|
716
786
|
fieldName: string;
|
|
@@ -866,6 +936,22 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
866
936
|
} | undefined;
|
|
867
937
|
}> & Omit<Map<string, import("../platform-components/index").RecordFormFieldDescriptor>, keyof Map<any, any>>;
|
|
868
938
|
formSessionKey: number;
|
|
939
|
+
relationDrafts: {
|
|
940
|
+
register(controller: import("./relationDraftController").RelationDraftController): () => boolean;
|
|
941
|
+
list(): import("./relationDraftController").RelationDraftController[];
|
|
942
|
+
revision: () => string;
|
|
943
|
+
settle: () => Promise<void[]>;
|
|
944
|
+
interactionRevision: () => number;
|
|
945
|
+
userChanged: () => void;
|
|
946
|
+
};
|
|
947
|
+
assistantContextRevision: number;
|
|
948
|
+
assistantInteractionRevision: number;
|
|
949
|
+
listQueryController: import("../platform-components/index").RecordQueryListQueryController | undefined;
|
|
950
|
+
treeQueryController: import("../platform-components/index").RecordTreeQueryController | undefined;
|
|
951
|
+
bindListQueryController: (controller: import("../platform-components/index").RecordQueryListQueryController | undefined) => void;
|
|
952
|
+
setDataExchangeBusy: (value: boolean) => void;
|
|
953
|
+
bindNavigatorQueryController: (levelKey: string, controller: import("../platform-components/index").RecordQueryListQueryController | import("../platform-components/index").RecordTreeQueryController | undefined) => void;
|
|
954
|
+
bindTreeQueryController: (controller: import("../platform-components/index").RecordTreeQueryController | undefined) => void;
|
|
869
955
|
formValidationRequestKey: number;
|
|
870
956
|
referencePickerConfigs: Record<string, import("../platform-components/index").RecordFormFieldPickerConfig>;
|
|
871
957
|
runtimeUiDescriptor: import("../web-contracts").ResolvedModuleUiDescriptor | undefined;
|
|
@@ -880,14 +966,145 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
880
966
|
updateMainFormValidity: (validity: {
|
|
881
967
|
valid: boolean;
|
|
882
968
|
}) => void;
|
|
883
|
-
updateEmbeddedChildren: (relationField: string, records: QueryListRecord[]) => void;
|
|
969
|
+
updateEmbeddedChildren: (relationField: string, records: QueryListRecord[], displayRecords?: QueryListRecord[], options?: Record<string, import("../web-contracts").OptionItemDescriptor[]>) => void;
|
|
884
970
|
updateRelationDraftValidity: (valid: boolean) => void;
|
|
885
971
|
placedPageActions: import("../platform-components/index").RecordActionItem[];
|
|
886
972
|
handlePlacedPageAction: (action: {
|
|
887
973
|
key?: string;
|
|
888
974
|
actionCode?: string;
|
|
889
975
|
}) => void;
|
|
890
|
-
createRootRecord: () =>
|
|
976
|
+
createRootRecord: () => Promise<boolean>;
|
|
977
|
+
recordCreationState: () => {
|
|
978
|
+
ready: boolean;
|
|
979
|
+
reason: string;
|
|
980
|
+
message: string;
|
|
981
|
+
} | {
|
|
982
|
+
ready: boolean;
|
|
983
|
+
reason?: undefined;
|
|
984
|
+
message?: undefined;
|
|
985
|
+
};
|
|
986
|
+
prepareAssistantCreate: (options?: {
|
|
987
|
+
asChildOfSelectedRecord?: boolean;
|
|
988
|
+
}) => Promise<() => {
|
|
989
|
+
editorMode: import("./recordDetailController").RecordDetailMode;
|
|
990
|
+
recordId: string | undefined;
|
|
991
|
+
editable: boolean;
|
|
992
|
+
dirty: boolean;
|
|
993
|
+
}>;
|
|
994
|
+
prepareAssistantEdit: (recordId: string) => Promise<() => {
|
|
995
|
+
editorMode: import("./recordDetailController").RecordDetailMode;
|
|
996
|
+
recordId: string | undefined;
|
|
997
|
+
editable: boolean;
|
|
998
|
+
dirty: boolean;
|
|
999
|
+
}>;
|
|
1000
|
+
prepareAssistantView: (recordId: string) => Promise<() => {
|
|
1001
|
+
editorMode: import("./recordDetailController").RecordDetailMode;
|
|
1002
|
+
recordId: string | undefined;
|
|
1003
|
+
editable: boolean;
|
|
1004
|
+
dirty: boolean;
|
|
1005
|
+
}>;
|
|
1006
|
+
assistantNavigatorScopes: () => {
|
|
1007
|
+
descriptor: {
|
|
1008
|
+
key: string;
|
|
1009
|
+
kind: "TREE" | "MICRO_LIST";
|
|
1010
|
+
sourceModuleAlias: string;
|
|
1011
|
+
title: string;
|
|
1012
|
+
searchPlaceholder: string;
|
|
1013
|
+
secondaryField?: string | undefined;
|
|
1014
|
+
singleResultPolicy?: "NONE" | "AUTO_SELECT" | "AUTO_SELECT_AND_HIDE" | undefined;
|
|
1015
|
+
initialSelectionPolicy?: "NONE" | "FIRST_RECORD" | undefined;
|
|
1016
|
+
sourceScope?: "NONE" | "CURRENT_TENANT" | undefined;
|
|
1017
|
+
management?: {
|
|
1018
|
+
editorSurface?: string | undefined;
|
|
1019
|
+
} | null | undefined;
|
|
1020
|
+
};
|
|
1021
|
+
context: {
|
|
1022
|
+
moduleAlias: string;
|
|
1023
|
+
http: {
|
|
1024
|
+
request: <T>(options: import("../web-core").HttpRequestOptions) => Promise<T>;
|
|
1025
|
+
};
|
|
1026
|
+
crud: {
|
|
1027
|
+
querySchema: (options?: import("../web-core").QuerySchemaRequestOptions) => Promise<import("../web-contracts").QuerySchema>;
|
|
1028
|
+
query: (request?: import("../web-contracts").WebQueryRequest) => Promise<import("../web-contracts").WebPageResponse<QueryListRecord>>;
|
|
1029
|
+
view: (id: string) => Promise<QueryListRecord>;
|
|
1030
|
+
insert: (record: QueryListRecord, options?: import("../web-core").RecordSaveRequestOptions) => Promise<import("../web-core").StaticRecordMutationResult<QueryListRecord>>;
|
|
1031
|
+
update: (id: string, record: QueryListRecord, options?: import("../web-core").RecordSaveRequestOptions) => Promise<import("../web-core").StaticRecordMutationResult<QueryListRecord>>;
|
|
1032
|
+
saveReceipt?: ((requestId: string) => Promise<import("../web-core").RecordSaveReceipt>) | undefined;
|
|
1033
|
+
delete: (id: string, request: import("../web-core").RecordActionRequest) => Promise<import("../web-core").StaticCountMutationResult>;
|
|
1034
|
+
enable: (id: string, request: import("../web-core").RecordActionRequest) => Promise<import("../web-core").StaticCountMutationResult>;
|
|
1035
|
+
disable: (id: string, request: import("../web-core").RecordActionRequest) => Promise<import("../web-core").StaticCountMutationResult>;
|
|
1036
|
+
sort?: ((id: string, request: import("../web-contracts").SortRequest) => Promise<import("../web-core").StaticCountMutationResult>) | undefined;
|
|
1037
|
+
};
|
|
1038
|
+
runtime: {
|
|
1039
|
+
ready: {
|
|
1040
|
+
then: <TResult1 = import("../web-core").ModuleRuntimeContext, TResult2 = never>(onfulfilled?: ((value: import("../web-core").ModuleRuntimeContext) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined) => Promise<TResult1 | TResult2>;
|
|
1041
|
+
catch: <TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null | undefined) => Promise<import("../web-core").ModuleRuntimeContext | TResult>;
|
|
1042
|
+
finally: (onfinally?: (() => void) | null | undefined) => Promise<import("../web-core").ModuleRuntimeContext>;
|
|
1043
|
+
readonly [Symbol.toStringTag]: string;
|
|
1044
|
+
};
|
|
1045
|
+
load: () => Promise<import("../web-core").ModuleRuntimeContext>;
|
|
1046
|
+
snapshot: () => import("../web-core").ModuleRuntimeContext | undefined;
|
|
1047
|
+
error: () => import("../web-core").AppError | undefined;
|
|
1048
|
+
hasAbility: (ability: import("../web-core").ModuleAbilityCode | string) => boolean | undefined;
|
|
1049
|
+
action: (actionCode: string, recordId?: string) => import("../web-core").ModuleActionState | undefined;
|
|
1050
|
+
runtimeAction: (actionCode: string) => import("../web-core").ModuleRuntimeAction | undefined;
|
|
1051
|
+
can: (actionCode: string, recordId?: string) => boolean | undefined;
|
|
1052
|
+
recordActions: (recordId: string) => Promise<import("../web-core").ModuleRecordActionAvailability>;
|
|
1053
|
+
recordActionsBatch?: ((recordIds: string[]) => Promise<import("../web-core").ModuleRecordActionAvailability[]>) | undefined;
|
|
1054
|
+
recordActionsSnapshot: (recordId: string) => import("../web-core").ModuleRecordActionAvailability | undefined;
|
|
1055
|
+
invalidateRecordActions?: ((recordIds?: string[]) => void) | undefined;
|
|
1056
|
+
};
|
|
1057
|
+
abilities: {
|
|
1058
|
+
crud: () => import("../web-core").ModuleCrudClient<QueryListRecord>;
|
|
1059
|
+
tree: () => import("../web-core").ModuleTreeClient<QueryListRecord>;
|
|
1060
|
+
enable: () => import("../web-core").ModuleEnableClient;
|
|
1061
|
+
tryCrud: () => import("../web-core").ModuleCrudClient<QueryListRecord> | undefined;
|
|
1062
|
+
tryTree: () => import("../web-core").ModuleTreeClient<QueryListRecord> | undefined;
|
|
1063
|
+
tryEnable: () => import("../web-core").ModuleEnableClient | undefined;
|
|
1064
|
+
has: (ability: import("../web-core").ModuleAbilityCode | string) => boolean | undefined;
|
|
1065
|
+
hasCrud: () => boolean | undefined;
|
|
1066
|
+
hasTree: () => boolean | undefined;
|
|
1067
|
+
hasEnable: () => boolean | undefined;
|
|
1068
|
+
};
|
|
1069
|
+
action: (actionCode: string, recordId?: string) => import("../web-core").ModuleActionState | undefined;
|
|
1070
|
+
runtimeAction: (actionCode: string) => import("../web-core").ModuleRuntimeAction | undefined;
|
|
1071
|
+
can: (actionCode: string, recordId?: string) => boolean | undefined;
|
|
1072
|
+
recordActions: (recordId: string) => Promise<import("../web-core").ModuleRecordActionAvailability>;
|
|
1073
|
+
recordActionsBatch?: ((recordIds: string[]) => Promise<import("../web-core").ModuleRecordActionAvailability[]>) | undefined;
|
|
1074
|
+
recordActionsSnapshot: (recordId: string) => import("../web-core").ModuleRecordActionAvailability | undefined;
|
|
1075
|
+
invalidateRecordActions?: ((recordIds?: string[]) => void) | undefined;
|
|
1076
|
+
};
|
|
1077
|
+
tree: boolean;
|
|
1078
|
+
sort: {
|
|
1079
|
+
visible: boolean;
|
|
1080
|
+
enabled: boolean;
|
|
1081
|
+
active?: boolean | undefined;
|
|
1082
|
+
disabledReason?: string | undefined;
|
|
1083
|
+
};
|
|
1084
|
+
}[];
|
|
1085
|
+
assistantNavigatorCreationTargets: () => {
|
|
1086
|
+
key: string;
|
|
1087
|
+
title: string;
|
|
1088
|
+
moduleAlias: string;
|
|
1089
|
+
}[];
|
|
1090
|
+
prepareAssistantNavigatorCreate: (levelKey: string) => Promise<() => {
|
|
1091
|
+
scopeKey: string;
|
|
1092
|
+
moduleAlias: string;
|
|
1093
|
+
saved: boolean;
|
|
1094
|
+
}>;
|
|
1095
|
+
assistantNavigatorEditor: {
|
|
1096
|
+
key: string;
|
|
1097
|
+
moduleAlias: string;
|
|
1098
|
+
loading: boolean;
|
|
1099
|
+
loadFailed: boolean;
|
|
1100
|
+
busy: boolean;
|
|
1101
|
+
title: string;
|
|
1102
|
+
dirty: boolean;
|
|
1103
|
+
form: import("./recordFormDraftAccess").RecordFormDraftAccess;
|
|
1104
|
+
} | undefined;
|
|
1105
|
+
assistantNavigatorScopeRevision: (levelKey: string) => string;
|
|
1106
|
+
applyAssistantNavigatorSelection: (levelKey: string, record: QueryListRecord, expectedRevision: string) => boolean;
|
|
1107
|
+
settleAssistantPageState: (signal: AbortSignal) => Promise<void>;
|
|
891
1108
|
hasCardAssistantAt: (boundary: "inside" | "outside", position: "top" | "bottom") => boolean;
|
|
892
1109
|
enhancementCardAssistant: import("./modulePageEnhancements").ModulePageCardAssistant | undefined;
|
|
893
1110
|
cardAssistantContext: import("./modulePageEnhancements").ModulePageCardAssistantContext | undefined;
|
|
@@ -917,8 +1134,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
917
1134
|
querySchema: (options?: import("../web-core").QuerySchemaRequestOptions) => Promise<import("../web-contracts").QuerySchema>;
|
|
918
1135
|
query: (request?: import("../web-contracts").WebQueryRequest) => Promise<import("../web-contracts").WebPageResponse<QueryListRecord>>;
|
|
919
1136
|
view: (id: string) => Promise<QueryListRecord>;
|
|
920
|
-
insert: (record: QueryListRecord) => Promise<import("../web-core").StaticRecordMutationResult<QueryListRecord>>;
|
|
921
|
-
update: (id: string, record: QueryListRecord) => Promise<import("../web-core").StaticRecordMutationResult<QueryListRecord>>;
|
|
1137
|
+
insert: (record: QueryListRecord, options?: import("../web-core").RecordSaveRequestOptions) => Promise<import("../web-core").StaticRecordMutationResult<QueryListRecord>>;
|
|
1138
|
+
update: (id: string, record: QueryListRecord, options?: import("../web-core").RecordSaveRequestOptions) => Promise<import("../web-core").StaticRecordMutationResult<QueryListRecord>>;
|
|
1139
|
+
saveReceipt?: ((requestId: string) => Promise<import("../web-core").RecordSaveReceipt>) | undefined;
|
|
922
1140
|
delete: (id: string, request: import("../web-core").RecordActionRequest) => Promise<import("../web-core").StaticCountMutationResult>;
|
|
923
1141
|
enable: (id: string, request: import("../web-core").RecordActionRequest) => Promise<import("../web-core").StaticCountMutationResult>;
|
|
924
1142
|
disable: (id: string, request: import("../web-core").RecordActionRequest) => Promise<import("../web-core").StaticCountMutationResult>;
|
|
@@ -1039,7 +1257,132 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1039
1257
|
placedDetailButtons: import("../platform-components/index").RecordActionItem[];
|
|
1040
1258
|
placedFormActions: import("../platform-components/index").RecordActionItem[];
|
|
1041
1259
|
cancelDetailEditing: () => Promise<void>;
|
|
1260
|
+
canLeaveUnchangedEditor: () => boolean;
|
|
1261
|
+
leaveUnchangedEditor: () => Promise<void>;
|
|
1042
1262
|
saveRecord: (actionKey?: string) => Promise<void>;
|
|
1263
|
+
checkRecordSave: () => Promise<void>;
|
|
1264
|
+
recordSaveNeedsCheck: boolean;
|
|
1265
|
+
recordSaveRecoveryError: string;
|
|
1266
|
+
prepareAssistantSave: () => Promise<import("../web-core").AssistantOperationProposal>;
|
|
1267
|
+
canReviewRecordDraft: () => boolean;
|
|
1268
|
+
reviewRecordDraft: () => Promise<{
|
|
1269
|
+
mode: import("./recordDetailController").RecordDetailMode;
|
|
1270
|
+
values: {
|
|
1271
|
+
before?: string | undefined;
|
|
1272
|
+
field: import("../platform-components/index").RecordFormFieldState;
|
|
1273
|
+
value: string;
|
|
1274
|
+
}[];
|
|
1275
|
+
relations: {
|
|
1276
|
+
savedCount?: number | null | undefined;
|
|
1277
|
+
savedRows?: {
|
|
1278
|
+
values: {
|
|
1279
|
+
truncated?: boolean | undefined;
|
|
1280
|
+
value: string;
|
|
1281
|
+
assistantPolicy?: import("../web-contracts").AssistantFieldPolicy | undefined;
|
|
1282
|
+
label: string;
|
|
1283
|
+
}[];
|
|
1284
|
+
rowKey?: string | undefined;
|
|
1285
|
+
row: number;
|
|
1286
|
+
}[] | undefined;
|
|
1287
|
+
relationCode: string;
|
|
1288
|
+
title: string;
|
|
1289
|
+
editable: boolean;
|
|
1290
|
+
source: string;
|
|
1291
|
+
loaded: boolean;
|
|
1292
|
+
count: number | null;
|
|
1293
|
+
removedCount: number;
|
|
1294
|
+
truncated: boolean;
|
|
1295
|
+
rows: {
|
|
1296
|
+
values: {
|
|
1297
|
+
truncated?: boolean | undefined;
|
|
1298
|
+
value: string;
|
|
1299
|
+
assistantPolicy?: import("../web-contracts").AssistantFieldPolicy | undefined;
|
|
1300
|
+
label: string;
|
|
1301
|
+
}[];
|
|
1302
|
+
rowKey?: string | undefined;
|
|
1303
|
+
row: number;
|
|
1304
|
+
}[];
|
|
1305
|
+
removedRows: {
|
|
1306
|
+
values: {
|
|
1307
|
+
truncated?: boolean | undefined;
|
|
1308
|
+
value: string;
|
|
1309
|
+
assistantPolicy?: import("../web-contracts").AssistantFieldPolicy | undefined;
|
|
1310
|
+
label: string;
|
|
1311
|
+
}[];
|
|
1312
|
+
rowKey?: string | undefined;
|
|
1313
|
+
row: number;
|
|
1314
|
+
}[];
|
|
1315
|
+
}[];
|
|
1316
|
+
complete: boolean;
|
|
1317
|
+
isCurrent: () => boolean;
|
|
1318
|
+
inputValid: boolean;
|
|
1319
|
+
fieldLines: string[];
|
|
1320
|
+
relationLines: string[];
|
|
1321
|
+
}>;
|
|
1322
|
+
prepareRecordDraftDiscard: () => Promise<{
|
|
1323
|
+
review: {
|
|
1324
|
+
mode: import("./recordDetailController").RecordDetailMode;
|
|
1325
|
+
values: {
|
|
1326
|
+
before?: string | undefined;
|
|
1327
|
+
field: import("../platform-components/index").RecordFormFieldState;
|
|
1328
|
+
value: string;
|
|
1329
|
+
}[];
|
|
1330
|
+
relations: {
|
|
1331
|
+
savedCount?: number | null | undefined;
|
|
1332
|
+
savedRows?: {
|
|
1333
|
+
values: {
|
|
1334
|
+
truncated?: boolean | undefined;
|
|
1335
|
+
value: string;
|
|
1336
|
+
assistantPolicy?: import("../web-contracts").AssistantFieldPolicy | undefined;
|
|
1337
|
+
label: string;
|
|
1338
|
+
}[];
|
|
1339
|
+
rowKey?: string | undefined;
|
|
1340
|
+
row: number;
|
|
1341
|
+
}[] | undefined;
|
|
1342
|
+
relationCode: string;
|
|
1343
|
+
title: string;
|
|
1344
|
+
editable: boolean;
|
|
1345
|
+
source: string;
|
|
1346
|
+
loaded: boolean;
|
|
1347
|
+
count: number | null;
|
|
1348
|
+
removedCount: number;
|
|
1349
|
+
truncated: boolean;
|
|
1350
|
+
rows: {
|
|
1351
|
+
values: {
|
|
1352
|
+
truncated?: boolean | undefined;
|
|
1353
|
+
value: string;
|
|
1354
|
+
assistantPolicy?: import("../web-contracts").AssistantFieldPolicy | undefined;
|
|
1355
|
+
label: string;
|
|
1356
|
+
}[];
|
|
1357
|
+
rowKey?: string | undefined;
|
|
1358
|
+
row: number;
|
|
1359
|
+
}[];
|
|
1360
|
+
removedRows: {
|
|
1361
|
+
values: {
|
|
1362
|
+
truncated?: boolean | undefined;
|
|
1363
|
+
value: string;
|
|
1364
|
+
assistantPolicy?: import("../web-contracts").AssistantFieldPolicy | undefined;
|
|
1365
|
+
label: string;
|
|
1366
|
+
}[];
|
|
1367
|
+
rowKey?: string | undefined;
|
|
1368
|
+
row: number;
|
|
1369
|
+
}[];
|
|
1370
|
+
}[];
|
|
1371
|
+
complete: boolean;
|
|
1372
|
+
isCurrent: () => boolean;
|
|
1373
|
+
inputValid: boolean;
|
|
1374
|
+
fieldLines: string[];
|
|
1375
|
+
relationLines: string[];
|
|
1376
|
+
};
|
|
1377
|
+
isCurrent: () => boolean;
|
|
1378
|
+
execute(): Promise<{
|
|
1379
|
+
discarded: boolean;
|
|
1380
|
+
saved: boolean;
|
|
1381
|
+
detailReady: boolean;
|
|
1382
|
+
isCurrent: () => boolean;
|
|
1383
|
+
}>;
|
|
1384
|
+
}>;
|
|
1385
|
+
assistantSaveAvailable: boolean;
|
|
1043
1386
|
editRecord: (record: QueryListRecord, cancelDestination?: "close" | "restore-view") => Promise<void>;
|
|
1044
1387
|
deleteRecord: (record: QueryListRecord, actionKey?: string) => Promise<void>;
|
|
1045
1388
|
handleDetailAction: (action: {
|
|
@@ -1054,6 +1397,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1054
1397
|
treePanelTitle: string;
|
|
1055
1398
|
explorerRefreshAction: import("../platform-components/index").RecordActionItem | undefined;
|
|
1056
1399
|
mainTreeScopeContext: string | undefined;
|
|
1400
|
+
recordFormScopeContext: string | undefined;
|
|
1057
1401
|
treeSearchKeyword: string;
|
|
1058
1402
|
treeReloadKey: number;
|
|
1059
1403
|
explorerExtraActions: import("../platform-components/index").RecordActionItem[];
|
|
@@ -1064,7 +1408,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1064
1408
|
selectedTreeRecord: QueryListRecord | undefined;
|
|
1065
1409
|
mainTreeTitle: (record: object) => string;
|
|
1066
1410
|
mainTreeSecondary: (record: object) => string | undefined;
|
|
1067
|
-
selectTreeRecord: (record: unknown) => void;
|
|
1411
|
+
selectTreeRecord: (record: unknown, source?: "user" | "assistant" | "background") => void;
|
|
1068
1412
|
clearTreeRecordSelection: () => void;
|
|
1069
1413
|
handleTreeLoaded: (records: unknown[]) => void;
|
|
1070
1414
|
handleTreeSorted: () => void;
|
|
@@ -1077,6 +1421,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1077
1421
|
persistentTreeDetail: boolean;
|
|
1078
1422
|
detailOpen: boolean;
|
|
1079
1423
|
enhancementDetailDrawer: import("./modulePageEnhancements").ModulePageDetailDrawer | undefined;
|
|
1424
|
+
detailDrawerWidth: "standard" | "compact" | "narrow" | "wide" | "extraWide";
|
|
1080
1425
|
closeRecordOnlyDetail: () => void;
|
|
1081
1426
|
closeDetail: () => void;
|
|
1082
1427
|
confirmDetailDrawerClose: () => Promise<boolean>;
|
|
@@ -1183,8 +1528,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1183
1528
|
querySchema: (options?: import("../web-core").QuerySchemaRequestOptions) => Promise<import("../web-contracts").QuerySchema>;
|
|
1184
1529
|
query: (request?: import("../web-contracts").WebQueryRequest) => Promise<import("../web-contracts").WebPageResponse<QueryListRecord>>;
|
|
1185
1530
|
view: (id: string) => Promise<QueryListRecord>;
|
|
1186
|
-
insert: (record: QueryListRecord) => Promise<import("../web-core").StaticRecordMutationResult<QueryListRecord>>;
|
|
1187
|
-
update: (id: string, record: QueryListRecord) => Promise<import("../web-core").StaticRecordMutationResult<QueryListRecord>>;
|
|
1531
|
+
insert: (record: QueryListRecord, options?: import("../web-core").RecordSaveRequestOptions) => Promise<import("../web-core").StaticRecordMutationResult<QueryListRecord>>;
|
|
1532
|
+
update: (id: string, record: QueryListRecord, options?: import("../web-core").RecordSaveRequestOptions) => Promise<import("../web-core").StaticRecordMutationResult<QueryListRecord>>;
|
|
1533
|
+
saveReceipt?: ((requestId: string) => Promise<import("../web-core").RecordSaveReceipt>) | undefined;
|
|
1188
1534
|
delete: (id: string, request: import("../web-core").RecordActionRequest) => Promise<import("../web-core").StaticCountMutationResult>;
|
|
1189
1535
|
enable: (id: string, request: import("../web-core").RecordActionRequest) => Promise<import("../web-core").StaticCountMutationResult>;
|
|
1190
1536
|
disable: (id: string, request: import("../web-core").RecordActionRequest) => Promise<import("../web-core").StaticCountMutationResult>;
|
|
@@ -1243,6 +1589,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1243
1589
|
navigatorExplorerQueryValues: (levelKey: string) => Record<string, unknown> | undefined;
|
|
1244
1590
|
context: import("../web-core").ModuleContext<QueryListRecord>;
|
|
1245
1591
|
navigatorManagementScopeReady: (level: import("./composables/useNavigatorRuntime").NavigatorLevelRuntime) => boolean;
|
|
1592
|
+
navigatorRecordCreationState: (level: import("./composables/useNavigatorRuntime").NavigatorLevelRuntime) => {
|
|
1593
|
+
ready: boolean;
|
|
1594
|
+
reason?: undefined;
|
|
1595
|
+
message?: undefined;
|
|
1596
|
+
} | {
|
|
1597
|
+
message: string | undefined;
|
|
1598
|
+
ready: boolean;
|
|
1599
|
+
reason: string;
|
|
1600
|
+
};
|
|
1246
1601
|
navigatorManagementScopeDisabledReason: (level: import("./composables/useNavigatorRuntime").NavigatorLevelRuntime) => string | undefined;
|
|
1247
1602
|
navigatorPanelScopeContext: (levelKey: string) => string | undefined;
|
|
1248
1603
|
navigatorTreeParentPolicy: (level: import("./composables/useNavigatorRuntime").NavigatorLevelRuntime) => import("./modulePageEnhancements").ModulePageNavigatorTreeParentPolicy | undefined;
|
|
@@ -1252,13 +1607,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1252
1607
|
}) => import("../web-contracts").RecordInlineAction[];
|
|
1253
1608
|
navigatorSortState: (level: import("./composables/useNavigatorRuntime").NavigatorLevelRuntime) => import("./composables/useNavigatorRuntime").NavigatorSortViewState;
|
|
1254
1609
|
scopeReloadKey: number;
|
|
1255
|
-
createNavigatorRecord: (level: import("./composables/useNavigatorRuntime").NavigatorLevelRuntime, parentId?: string) => void;
|
|
1610
|
+
createNavigatorRecord: (level: import("./composables/useNavigatorRuntime").NavigatorLevelRuntime, parentId?: string, source?: "user" | "assistant") => void;
|
|
1256
1611
|
handleNavigatorLoaded: (level: import("./composables/useNavigatorRuntime").NavigatorLevelRuntime, records: Array<{
|
|
1257
1612
|
id?: string;
|
|
1258
|
-
}
|
|
1613
|
+
}>, completeUnfilteredResult?: boolean) => void;
|
|
1259
1614
|
selectNavigatorRecord: (levelKey: string, record: {
|
|
1260
1615
|
id?: string;
|
|
1261
|
-
}, source?: "user" | "entry") => void;
|
|
1616
|
+
}, source?: "user" | "assistant" | "entry") => void;
|
|
1262
1617
|
clearNavigatorRecord: (levelKey: string) => void;
|
|
1263
1618
|
handleNavigatorInlineAction: (level: import("./composables/useNavigatorRuntime").NavigatorLevelRuntime, action: import("../web-contracts").RecordInlineAction, record: {
|
|
1264
1619
|
id?: string;
|
|
@@ -1298,13 +1653,22 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1298
1653
|
navigatorManagementEnabledDisabled: boolean;
|
|
1299
1654
|
navigatorManagementEnabledDisabledReason: string | undefined;
|
|
1300
1655
|
navigatorManagementTogglingEnabled: boolean;
|
|
1301
|
-
closeNavigatorManagementEditor: () => void;
|
|
1656
|
+
closeNavigatorManagementEditor: (source?: "user" | "background") => void;
|
|
1302
1657
|
saveNavigatorRecord: () => Promise<void>;
|
|
1303
1658
|
toggleNavigatorManagementEnabled: (enabled: boolean) => Promise<void>;
|
|
1304
1659
|
updateNavigatorManagementDraft: (fieldName: string, value: import("../platform-components/index").RecordFormFieldValue) => void;
|
|
1305
1660
|
navigatorManagementFormValid: boolean;
|
|
1306
1661
|
navigatorListScopeReady: boolean;
|
|
1307
1662
|
selectedRecord: QueryListRecord | undefined;
|
|
1663
|
+
recordDisplayRecord: {
|
|
1664
|
+
[x: string]: unknown;
|
|
1665
|
+
id?: string;
|
|
1666
|
+
enabled?: boolean;
|
|
1667
|
+
};
|
|
1668
|
+
recordDetailReady: () => boolean;
|
|
1669
|
+
recordRelationOptions: {
|
|
1670
|
+
[k: string]: Record<string, import("../web-contracts").OptionItemDescriptor[]>;
|
|
1671
|
+
};
|
|
1308
1672
|
flatManagementSorting: boolean;
|
|
1309
1673
|
navigatorListQueryValues: Record<string, unknown> | undefined;
|
|
1310
1674
|
flatManagementItemOf: (record: import("../platform-components/index").CrudRecordListBase) => import("../platform-components/index").RecordExplorerItemDescriptor;
|
|
@@ -1325,6 +1689,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1325
1689
|
detailDirty: boolean;
|
|
1326
1690
|
sessionDirty: boolean;
|
|
1327
1691
|
updateDraftField: (fieldName: string, value: import("../platform-components/index").RecordFormFieldValue) => void;
|
|
1692
|
+
updateDraftFields: (changes: Array<{
|
|
1693
|
+
fieldName: string;
|
|
1694
|
+
value: import("../platform-components/index").RecordFormFieldValue;
|
|
1695
|
+
}>, source?: "user" | "assistant", validate?: (record: import("../platform-components/index").RecordFormRecord) => void) => void;
|
|
1696
|
+
updateDraftReference: (fieldName: string, candidate: import("../platform-components/index").ReferencePickerCandidate, source?: "user" | "assistant", changes?: Parameters<import("./recordFormDraftAccess").RecordFormDraftAccess["updateDraftFields"]>[0], validate?: Parameters<import("./recordFormDraftAccess").RecordFormDraftAccess["updateDraftReference"]>[4]) => void;
|
|
1697
|
+
referenceDisplay: (fieldName: string) => string | undefined;
|
|
1698
|
+
updateReferenceDisplay: (fieldName: string, candidates: readonly import("../platform-components/index").ReferencePickerCandidate[]) => void;
|
|
1328
1699
|
showStatusSwitch: boolean;
|
|
1329
1700
|
canToggleEnabled: boolean;
|
|
1330
1701
|
toggleEnabledDisabledReason: string | undefined;
|
|
@@ -1335,6 +1706,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1335
1706
|
detailLoadFailed: boolean;
|
|
1336
1707
|
rawContext: import("../web-core").ModuleContext<QueryListRecord>;
|
|
1337
1708
|
detailDisplayFields: Map<string, {
|
|
1709
|
+
assistantPolicy?: import("../web-contracts").AssistantFieldPolicy | undefined;
|
|
1338
1710
|
fieldRef: {
|
|
1339
1711
|
relationCode?: string | undefined;
|
|
1340
1712
|
fieldName: string;
|
|
@@ -1413,6 +1785,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1413
1785
|
maxDisplayLines?: number | undefined;
|
|
1414
1786
|
treeRootTitle?: string | undefined;
|
|
1415
1787
|
overrideOf?: string | undefined;
|
|
1788
|
+
inputRequirements?: {
|
|
1789
|
+
requiredOnInsert: boolean;
|
|
1790
|
+
requiredOnUpdate: boolean;
|
|
1791
|
+
maxLength?: number | null | undefined;
|
|
1792
|
+
validationRegex?: string | null | undefined;
|
|
1793
|
+
textNormalization?: "NONE" | "TRIM" | "TRIM_TO_NULL" | null | undefined;
|
|
1794
|
+
precision?: number | null | undefined;
|
|
1795
|
+
scale?: number | null | undefined;
|
|
1796
|
+
} | undefined;
|
|
1797
|
+
calculationTiming?: "IMMEDIATE" | "ON_SAVE" | null | undefined;
|
|
1416
1798
|
fieldControl?: {
|
|
1417
1799
|
alias: string;
|
|
1418
1800
|
rendererType: string;
|
|
@@ -1483,6 +1865,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1483
1865
|
} | undefined;
|
|
1484
1866
|
valueType?: import("../web-contracts").ViewFieldValueType | undefined;
|
|
1485
1867
|
} | {
|
|
1868
|
+
calculationTiming?: "IMMEDIATE" | "ON_SAVE" | null | undefined;
|
|
1869
|
+
inputRequirements?: {
|
|
1870
|
+
requiredOnInsert: boolean;
|
|
1871
|
+
requiredOnUpdate: boolean;
|
|
1872
|
+
maxLength?: number | null | undefined;
|
|
1873
|
+
validationRegex?: string | null | undefined;
|
|
1874
|
+
textNormalization?: "NONE" | "TRIM" | "TRIM_TO_NULL" | null | undefined;
|
|
1875
|
+
precision?: number | null | undefined;
|
|
1876
|
+
scale?: number | null | undefined;
|
|
1877
|
+
} | undefined;
|
|
1878
|
+
assistantPolicy?: import("../web-contracts").AssistantFieldPolicy | undefined;
|
|
1486
1879
|
fieldRef: {
|
|
1487
1880
|
relationCode?: string | undefined;
|
|
1488
1881
|
fieldName: string;
|
|
@@ -1638,6 +2031,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1638
2031
|
} | undefined;
|
|
1639
2032
|
}> & Omit<Map<string, import("../platform-components/index").RecordFormFieldDescriptor>, keyof Map<any, any>>;
|
|
1640
2033
|
formFields: Map<string, {
|
|
2034
|
+
assistantPolicy?: import("../web-contracts").AssistantFieldPolicy | undefined;
|
|
1641
2035
|
fieldRef: {
|
|
1642
2036
|
relationCode?: string | undefined;
|
|
1643
2037
|
fieldName: string;
|
|
@@ -1716,6 +2110,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1716
2110
|
maxDisplayLines?: number | undefined;
|
|
1717
2111
|
treeRootTitle?: string | undefined;
|
|
1718
2112
|
overrideOf?: string | undefined;
|
|
2113
|
+
inputRequirements?: {
|
|
2114
|
+
requiredOnInsert: boolean;
|
|
2115
|
+
requiredOnUpdate: boolean;
|
|
2116
|
+
maxLength?: number | null | undefined;
|
|
2117
|
+
validationRegex?: string | null | undefined;
|
|
2118
|
+
textNormalization?: "NONE" | "TRIM" | "TRIM_TO_NULL" | null | undefined;
|
|
2119
|
+
precision?: number | null | undefined;
|
|
2120
|
+
scale?: number | null | undefined;
|
|
2121
|
+
} | undefined;
|
|
2122
|
+
calculationTiming?: "IMMEDIATE" | "ON_SAVE" | null | undefined;
|
|
1719
2123
|
fieldControl?: {
|
|
1720
2124
|
alias: string;
|
|
1721
2125
|
rendererType: string;
|
|
@@ -1786,6 +2190,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1786
2190
|
} | undefined;
|
|
1787
2191
|
valueType?: import("../web-contracts").ViewFieldValueType | undefined;
|
|
1788
2192
|
} | {
|
|
2193
|
+
calculationTiming?: "IMMEDIATE" | "ON_SAVE" | null | undefined;
|
|
2194
|
+
inputRequirements?: {
|
|
2195
|
+
requiredOnInsert: boolean;
|
|
2196
|
+
requiredOnUpdate: boolean;
|
|
2197
|
+
maxLength?: number | null | undefined;
|
|
2198
|
+
validationRegex?: string | null | undefined;
|
|
2199
|
+
textNormalization?: "NONE" | "TRIM" | "TRIM_TO_NULL" | null | undefined;
|
|
2200
|
+
precision?: number | null | undefined;
|
|
2201
|
+
scale?: number | null | undefined;
|
|
2202
|
+
} | undefined;
|
|
2203
|
+
assistantPolicy?: import("../web-contracts").AssistantFieldPolicy | undefined;
|
|
1789
2204
|
fieldRef: {
|
|
1790
2205
|
relationCode?: string | undefined;
|
|
1791
2206
|
fieldName: string;
|
|
@@ -1941,6 +2356,22 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1941
2356
|
} | undefined;
|
|
1942
2357
|
}> & Omit<Map<string, import("../platform-components/index").RecordFormFieldDescriptor>, keyof Map<any, any>>;
|
|
1943
2358
|
formSessionKey: number;
|
|
2359
|
+
relationDrafts: {
|
|
2360
|
+
register(controller: import("./relationDraftController").RelationDraftController): () => boolean;
|
|
2361
|
+
list(): import("./relationDraftController").RelationDraftController[];
|
|
2362
|
+
revision: () => string;
|
|
2363
|
+
settle: () => Promise<void[]>;
|
|
2364
|
+
interactionRevision: () => number;
|
|
2365
|
+
userChanged: () => void;
|
|
2366
|
+
};
|
|
2367
|
+
assistantContextRevision: number;
|
|
2368
|
+
assistantInteractionRevision: number;
|
|
2369
|
+
listQueryController: import("../platform-components/index").RecordQueryListQueryController | undefined;
|
|
2370
|
+
treeQueryController: import("../platform-components/index").RecordTreeQueryController | undefined;
|
|
2371
|
+
bindListQueryController: (controller: import("../platform-components/index").RecordQueryListQueryController | undefined) => void;
|
|
2372
|
+
setDataExchangeBusy: (value: boolean) => void;
|
|
2373
|
+
bindNavigatorQueryController: (levelKey: string, controller: import("../platform-components/index").RecordQueryListQueryController | import("../platform-components/index").RecordTreeQueryController | undefined) => void;
|
|
2374
|
+
bindTreeQueryController: (controller: import("../platform-components/index").RecordTreeQueryController | undefined) => void;
|
|
1944
2375
|
formValidationRequestKey: number;
|
|
1945
2376
|
referencePickerConfigs: Record<string, import("../platform-components/index").RecordFormFieldPickerConfig>;
|
|
1946
2377
|
runtimeUiDescriptor: import("../web-contracts").ResolvedModuleUiDescriptor | undefined;
|
|
@@ -1955,14 +2386,145 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1955
2386
|
updateMainFormValidity: (validity: {
|
|
1956
2387
|
valid: boolean;
|
|
1957
2388
|
}) => void;
|
|
1958
|
-
updateEmbeddedChildren: (relationField: string, records: QueryListRecord[]) => void;
|
|
2389
|
+
updateEmbeddedChildren: (relationField: string, records: QueryListRecord[], displayRecords?: QueryListRecord[], options?: Record<string, import("../web-contracts").OptionItemDescriptor[]>) => void;
|
|
1959
2390
|
updateRelationDraftValidity: (valid: boolean) => void;
|
|
1960
2391
|
placedPageActions: import("../platform-components/index").RecordActionItem[];
|
|
1961
2392
|
handlePlacedPageAction: (action: {
|
|
1962
2393
|
key?: string;
|
|
1963
2394
|
actionCode?: string;
|
|
1964
2395
|
}) => void;
|
|
1965
|
-
createRootRecord: () =>
|
|
2396
|
+
createRootRecord: () => Promise<boolean>;
|
|
2397
|
+
recordCreationState: () => {
|
|
2398
|
+
ready: boolean;
|
|
2399
|
+
reason: string;
|
|
2400
|
+
message: string;
|
|
2401
|
+
} | {
|
|
2402
|
+
ready: boolean;
|
|
2403
|
+
reason?: undefined;
|
|
2404
|
+
message?: undefined;
|
|
2405
|
+
};
|
|
2406
|
+
prepareAssistantCreate: (options?: {
|
|
2407
|
+
asChildOfSelectedRecord?: boolean;
|
|
2408
|
+
}) => Promise<() => {
|
|
2409
|
+
editorMode: import("./recordDetailController").RecordDetailMode;
|
|
2410
|
+
recordId: string | undefined;
|
|
2411
|
+
editable: boolean;
|
|
2412
|
+
dirty: boolean;
|
|
2413
|
+
}>;
|
|
2414
|
+
prepareAssistantEdit: (recordId: string) => Promise<() => {
|
|
2415
|
+
editorMode: import("./recordDetailController").RecordDetailMode;
|
|
2416
|
+
recordId: string | undefined;
|
|
2417
|
+
editable: boolean;
|
|
2418
|
+
dirty: boolean;
|
|
2419
|
+
}>;
|
|
2420
|
+
prepareAssistantView: (recordId: string) => Promise<() => {
|
|
2421
|
+
editorMode: import("./recordDetailController").RecordDetailMode;
|
|
2422
|
+
recordId: string | undefined;
|
|
2423
|
+
editable: boolean;
|
|
2424
|
+
dirty: boolean;
|
|
2425
|
+
}>;
|
|
2426
|
+
assistantNavigatorScopes: () => {
|
|
2427
|
+
descriptor: {
|
|
2428
|
+
key: string;
|
|
2429
|
+
kind: "TREE" | "MICRO_LIST";
|
|
2430
|
+
sourceModuleAlias: string;
|
|
2431
|
+
title: string;
|
|
2432
|
+
searchPlaceholder: string;
|
|
2433
|
+
secondaryField?: string | undefined;
|
|
2434
|
+
singleResultPolicy?: "NONE" | "AUTO_SELECT" | "AUTO_SELECT_AND_HIDE" | undefined;
|
|
2435
|
+
initialSelectionPolicy?: "NONE" | "FIRST_RECORD" | undefined;
|
|
2436
|
+
sourceScope?: "NONE" | "CURRENT_TENANT" | undefined;
|
|
2437
|
+
management?: {
|
|
2438
|
+
editorSurface?: string | undefined;
|
|
2439
|
+
} | null | undefined;
|
|
2440
|
+
};
|
|
2441
|
+
context: {
|
|
2442
|
+
moduleAlias: string;
|
|
2443
|
+
http: {
|
|
2444
|
+
request: <T>(options: import("../web-core").HttpRequestOptions) => Promise<T>;
|
|
2445
|
+
};
|
|
2446
|
+
crud: {
|
|
2447
|
+
querySchema: (options?: import("../web-core").QuerySchemaRequestOptions) => Promise<import("../web-contracts").QuerySchema>;
|
|
2448
|
+
query: (request?: import("../web-contracts").WebQueryRequest) => Promise<import("../web-contracts").WebPageResponse<QueryListRecord>>;
|
|
2449
|
+
view: (id: string) => Promise<QueryListRecord>;
|
|
2450
|
+
insert: (record: QueryListRecord, options?: import("../web-core").RecordSaveRequestOptions) => Promise<import("../web-core").StaticRecordMutationResult<QueryListRecord>>;
|
|
2451
|
+
update: (id: string, record: QueryListRecord, options?: import("../web-core").RecordSaveRequestOptions) => Promise<import("../web-core").StaticRecordMutationResult<QueryListRecord>>;
|
|
2452
|
+
saveReceipt?: ((requestId: string) => Promise<import("../web-core").RecordSaveReceipt>) | undefined;
|
|
2453
|
+
delete: (id: string, request: import("../web-core").RecordActionRequest) => Promise<import("../web-core").StaticCountMutationResult>;
|
|
2454
|
+
enable: (id: string, request: import("../web-core").RecordActionRequest) => Promise<import("../web-core").StaticCountMutationResult>;
|
|
2455
|
+
disable: (id: string, request: import("../web-core").RecordActionRequest) => Promise<import("../web-core").StaticCountMutationResult>;
|
|
2456
|
+
sort?: ((id: string, request: import("../web-contracts").SortRequest) => Promise<import("../web-core").StaticCountMutationResult>) | undefined;
|
|
2457
|
+
};
|
|
2458
|
+
runtime: {
|
|
2459
|
+
ready: {
|
|
2460
|
+
then: <TResult1 = import("../web-core").ModuleRuntimeContext, TResult2 = never>(onfulfilled?: ((value: import("../web-core").ModuleRuntimeContext) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined) => Promise<TResult1 | TResult2>;
|
|
2461
|
+
catch: <TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null | undefined) => Promise<import("../web-core").ModuleRuntimeContext | TResult>;
|
|
2462
|
+
finally: (onfinally?: (() => void) | null | undefined) => Promise<import("../web-core").ModuleRuntimeContext>;
|
|
2463
|
+
readonly [Symbol.toStringTag]: string;
|
|
2464
|
+
};
|
|
2465
|
+
load: () => Promise<import("../web-core").ModuleRuntimeContext>;
|
|
2466
|
+
snapshot: () => import("../web-core").ModuleRuntimeContext | undefined;
|
|
2467
|
+
error: () => import("../web-core").AppError | undefined;
|
|
2468
|
+
hasAbility: (ability: import("../web-core").ModuleAbilityCode | string) => boolean | undefined;
|
|
2469
|
+
action: (actionCode: string, recordId?: string) => import("../web-core").ModuleActionState | undefined;
|
|
2470
|
+
runtimeAction: (actionCode: string) => import("../web-core").ModuleRuntimeAction | undefined;
|
|
2471
|
+
can: (actionCode: string, recordId?: string) => boolean | undefined;
|
|
2472
|
+
recordActions: (recordId: string) => Promise<import("../web-core").ModuleRecordActionAvailability>;
|
|
2473
|
+
recordActionsBatch?: ((recordIds: string[]) => Promise<import("../web-core").ModuleRecordActionAvailability[]>) | undefined;
|
|
2474
|
+
recordActionsSnapshot: (recordId: string) => import("../web-core").ModuleRecordActionAvailability | undefined;
|
|
2475
|
+
invalidateRecordActions?: ((recordIds?: string[]) => void) | undefined;
|
|
2476
|
+
};
|
|
2477
|
+
abilities: {
|
|
2478
|
+
crud: () => import("../web-core").ModuleCrudClient<QueryListRecord>;
|
|
2479
|
+
tree: () => import("../web-core").ModuleTreeClient<QueryListRecord>;
|
|
2480
|
+
enable: () => import("../web-core").ModuleEnableClient;
|
|
2481
|
+
tryCrud: () => import("../web-core").ModuleCrudClient<QueryListRecord> | undefined;
|
|
2482
|
+
tryTree: () => import("../web-core").ModuleTreeClient<QueryListRecord> | undefined;
|
|
2483
|
+
tryEnable: () => import("../web-core").ModuleEnableClient | undefined;
|
|
2484
|
+
has: (ability: import("../web-core").ModuleAbilityCode | string) => boolean | undefined;
|
|
2485
|
+
hasCrud: () => boolean | undefined;
|
|
2486
|
+
hasTree: () => boolean | undefined;
|
|
2487
|
+
hasEnable: () => boolean | undefined;
|
|
2488
|
+
};
|
|
2489
|
+
action: (actionCode: string, recordId?: string) => import("../web-core").ModuleActionState | undefined;
|
|
2490
|
+
runtimeAction: (actionCode: string) => import("../web-core").ModuleRuntimeAction | undefined;
|
|
2491
|
+
can: (actionCode: string, recordId?: string) => boolean | undefined;
|
|
2492
|
+
recordActions: (recordId: string) => Promise<import("../web-core").ModuleRecordActionAvailability>;
|
|
2493
|
+
recordActionsBatch?: ((recordIds: string[]) => Promise<import("../web-core").ModuleRecordActionAvailability[]>) | undefined;
|
|
2494
|
+
recordActionsSnapshot: (recordId: string) => import("../web-core").ModuleRecordActionAvailability | undefined;
|
|
2495
|
+
invalidateRecordActions?: ((recordIds?: string[]) => void) | undefined;
|
|
2496
|
+
};
|
|
2497
|
+
tree: boolean;
|
|
2498
|
+
sort: {
|
|
2499
|
+
visible: boolean;
|
|
2500
|
+
enabled: boolean;
|
|
2501
|
+
active?: boolean | undefined;
|
|
2502
|
+
disabledReason?: string | undefined;
|
|
2503
|
+
};
|
|
2504
|
+
}[];
|
|
2505
|
+
assistantNavigatorCreationTargets: () => {
|
|
2506
|
+
key: string;
|
|
2507
|
+
title: string;
|
|
2508
|
+
moduleAlias: string;
|
|
2509
|
+
}[];
|
|
2510
|
+
prepareAssistantNavigatorCreate: (levelKey: string) => Promise<() => {
|
|
2511
|
+
scopeKey: string;
|
|
2512
|
+
moduleAlias: string;
|
|
2513
|
+
saved: boolean;
|
|
2514
|
+
}>;
|
|
2515
|
+
assistantNavigatorEditor: {
|
|
2516
|
+
key: string;
|
|
2517
|
+
moduleAlias: string;
|
|
2518
|
+
loading: boolean;
|
|
2519
|
+
loadFailed: boolean;
|
|
2520
|
+
busy: boolean;
|
|
2521
|
+
title: string;
|
|
2522
|
+
dirty: boolean;
|
|
2523
|
+
form: import("./recordFormDraftAccess").RecordFormDraftAccess;
|
|
2524
|
+
} | undefined;
|
|
2525
|
+
assistantNavigatorScopeRevision: (levelKey: string) => string;
|
|
2526
|
+
applyAssistantNavigatorSelection: (levelKey: string, record: QueryListRecord, expectedRevision: string) => boolean;
|
|
2527
|
+
settleAssistantPageState: (signal: AbortSignal) => Promise<void>;
|
|
1966
2528
|
hasCardAssistantAt: (boundary: "inside" | "outside", position: "top" | "bottom") => boolean;
|
|
1967
2529
|
enhancementCardAssistant: import("./modulePageEnhancements").ModulePageCardAssistant | undefined;
|
|
1968
2530
|
cardAssistantContext: import("./modulePageEnhancements").ModulePageCardAssistantContext | undefined;
|
|
@@ -1992,8 +2554,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1992
2554
|
querySchema: (options?: import("../web-core").QuerySchemaRequestOptions) => Promise<import("../web-contracts").QuerySchema>;
|
|
1993
2555
|
query: (request?: import("../web-contracts").WebQueryRequest) => Promise<import("../web-contracts").WebPageResponse<QueryListRecord>>;
|
|
1994
2556
|
view: (id: string) => Promise<QueryListRecord>;
|
|
1995
|
-
insert: (record: QueryListRecord) => Promise<import("../web-core").StaticRecordMutationResult<QueryListRecord>>;
|
|
1996
|
-
update: (id: string, record: QueryListRecord) => Promise<import("../web-core").StaticRecordMutationResult<QueryListRecord>>;
|
|
2557
|
+
insert: (record: QueryListRecord, options?: import("../web-core").RecordSaveRequestOptions) => Promise<import("../web-core").StaticRecordMutationResult<QueryListRecord>>;
|
|
2558
|
+
update: (id: string, record: QueryListRecord, options?: import("../web-core").RecordSaveRequestOptions) => Promise<import("../web-core").StaticRecordMutationResult<QueryListRecord>>;
|
|
2559
|
+
saveReceipt?: ((requestId: string) => Promise<import("../web-core").RecordSaveReceipt>) | undefined;
|
|
1997
2560
|
delete: (id: string, request: import("../web-core").RecordActionRequest) => Promise<import("../web-core").StaticCountMutationResult>;
|
|
1998
2561
|
enable: (id: string, request: import("../web-core").RecordActionRequest) => Promise<import("../web-core").StaticCountMutationResult>;
|
|
1999
2562
|
disable: (id: string, request: import("../web-core").RecordActionRequest) => Promise<import("../web-core").StaticCountMutationResult>;
|
|
@@ -2114,7 +2677,132 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2114
2677
|
placedDetailButtons: import("../platform-components/index").RecordActionItem[];
|
|
2115
2678
|
placedFormActions: import("../platform-components/index").RecordActionItem[];
|
|
2116
2679
|
cancelDetailEditing: () => Promise<void>;
|
|
2680
|
+
canLeaveUnchangedEditor: () => boolean;
|
|
2681
|
+
leaveUnchangedEditor: () => Promise<void>;
|
|
2117
2682
|
saveRecord: (actionKey?: string) => Promise<void>;
|
|
2683
|
+
checkRecordSave: () => Promise<void>;
|
|
2684
|
+
recordSaveNeedsCheck: boolean;
|
|
2685
|
+
recordSaveRecoveryError: string;
|
|
2686
|
+
prepareAssistantSave: () => Promise<import("../web-core").AssistantOperationProposal>;
|
|
2687
|
+
canReviewRecordDraft: () => boolean;
|
|
2688
|
+
reviewRecordDraft: () => Promise<{
|
|
2689
|
+
mode: import("./recordDetailController").RecordDetailMode;
|
|
2690
|
+
values: {
|
|
2691
|
+
before?: string | undefined;
|
|
2692
|
+
field: import("../platform-components/index").RecordFormFieldState;
|
|
2693
|
+
value: string;
|
|
2694
|
+
}[];
|
|
2695
|
+
relations: {
|
|
2696
|
+
savedCount?: number | null | undefined;
|
|
2697
|
+
savedRows?: {
|
|
2698
|
+
values: {
|
|
2699
|
+
truncated?: boolean | undefined;
|
|
2700
|
+
value: string;
|
|
2701
|
+
assistantPolicy?: import("../web-contracts").AssistantFieldPolicy | undefined;
|
|
2702
|
+
label: string;
|
|
2703
|
+
}[];
|
|
2704
|
+
rowKey?: string | undefined;
|
|
2705
|
+
row: number;
|
|
2706
|
+
}[] | undefined;
|
|
2707
|
+
relationCode: string;
|
|
2708
|
+
title: string;
|
|
2709
|
+
editable: boolean;
|
|
2710
|
+
source: string;
|
|
2711
|
+
loaded: boolean;
|
|
2712
|
+
count: number | null;
|
|
2713
|
+
removedCount: number;
|
|
2714
|
+
truncated: boolean;
|
|
2715
|
+
rows: {
|
|
2716
|
+
values: {
|
|
2717
|
+
truncated?: boolean | undefined;
|
|
2718
|
+
value: string;
|
|
2719
|
+
assistantPolicy?: import("../web-contracts").AssistantFieldPolicy | undefined;
|
|
2720
|
+
label: string;
|
|
2721
|
+
}[];
|
|
2722
|
+
rowKey?: string | undefined;
|
|
2723
|
+
row: number;
|
|
2724
|
+
}[];
|
|
2725
|
+
removedRows: {
|
|
2726
|
+
values: {
|
|
2727
|
+
truncated?: boolean | undefined;
|
|
2728
|
+
value: string;
|
|
2729
|
+
assistantPolicy?: import("../web-contracts").AssistantFieldPolicy | undefined;
|
|
2730
|
+
label: string;
|
|
2731
|
+
}[];
|
|
2732
|
+
rowKey?: string | undefined;
|
|
2733
|
+
row: number;
|
|
2734
|
+
}[];
|
|
2735
|
+
}[];
|
|
2736
|
+
complete: boolean;
|
|
2737
|
+
isCurrent: () => boolean;
|
|
2738
|
+
inputValid: boolean;
|
|
2739
|
+
fieldLines: string[];
|
|
2740
|
+
relationLines: string[];
|
|
2741
|
+
}>;
|
|
2742
|
+
prepareRecordDraftDiscard: () => Promise<{
|
|
2743
|
+
review: {
|
|
2744
|
+
mode: import("./recordDetailController").RecordDetailMode;
|
|
2745
|
+
values: {
|
|
2746
|
+
before?: string | undefined;
|
|
2747
|
+
field: import("../platform-components/index").RecordFormFieldState;
|
|
2748
|
+
value: string;
|
|
2749
|
+
}[];
|
|
2750
|
+
relations: {
|
|
2751
|
+
savedCount?: number | null | undefined;
|
|
2752
|
+
savedRows?: {
|
|
2753
|
+
values: {
|
|
2754
|
+
truncated?: boolean | undefined;
|
|
2755
|
+
value: string;
|
|
2756
|
+
assistantPolicy?: import("../web-contracts").AssistantFieldPolicy | undefined;
|
|
2757
|
+
label: string;
|
|
2758
|
+
}[];
|
|
2759
|
+
rowKey?: string | undefined;
|
|
2760
|
+
row: number;
|
|
2761
|
+
}[] | undefined;
|
|
2762
|
+
relationCode: string;
|
|
2763
|
+
title: string;
|
|
2764
|
+
editable: boolean;
|
|
2765
|
+
source: string;
|
|
2766
|
+
loaded: boolean;
|
|
2767
|
+
count: number | null;
|
|
2768
|
+
removedCount: number;
|
|
2769
|
+
truncated: boolean;
|
|
2770
|
+
rows: {
|
|
2771
|
+
values: {
|
|
2772
|
+
truncated?: boolean | undefined;
|
|
2773
|
+
value: string;
|
|
2774
|
+
assistantPolicy?: import("../web-contracts").AssistantFieldPolicy | undefined;
|
|
2775
|
+
label: string;
|
|
2776
|
+
}[];
|
|
2777
|
+
rowKey?: string | undefined;
|
|
2778
|
+
row: number;
|
|
2779
|
+
}[];
|
|
2780
|
+
removedRows: {
|
|
2781
|
+
values: {
|
|
2782
|
+
truncated?: boolean | undefined;
|
|
2783
|
+
value: string;
|
|
2784
|
+
assistantPolicy?: import("../web-contracts").AssistantFieldPolicy | undefined;
|
|
2785
|
+
label: string;
|
|
2786
|
+
}[];
|
|
2787
|
+
rowKey?: string | undefined;
|
|
2788
|
+
row: number;
|
|
2789
|
+
}[];
|
|
2790
|
+
}[];
|
|
2791
|
+
complete: boolean;
|
|
2792
|
+
isCurrent: () => boolean;
|
|
2793
|
+
inputValid: boolean;
|
|
2794
|
+
fieldLines: string[];
|
|
2795
|
+
relationLines: string[];
|
|
2796
|
+
};
|
|
2797
|
+
isCurrent: () => boolean;
|
|
2798
|
+
execute(): Promise<{
|
|
2799
|
+
discarded: boolean;
|
|
2800
|
+
saved: boolean;
|
|
2801
|
+
detailReady: boolean;
|
|
2802
|
+
isCurrent: () => boolean;
|
|
2803
|
+
}>;
|
|
2804
|
+
}>;
|
|
2805
|
+
assistantSaveAvailable: boolean;
|
|
2118
2806
|
editRecord: (record: QueryListRecord, cancelDestination?: "close" | "restore-view") => Promise<void>;
|
|
2119
2807
|
deleteRecord: (record: QueryListRecord, actionKey?: string) => Promise<void>;
|
|
2120
2808
|
handleDetailAction: (action: {
|
|
@@ -2129,6 +2817,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2129
2817
|
treePanelTitle: string;
|
|
2130
2818
|
explorerRefreshAction: import("../platform-components/index").RecordActionItem | undefined;
|
|
2131
2819
|
mainTreeScopeContext: string | undefined;
|
|
2820
|
+
recordFormScopeContext: string | undefined;
|
|
2132
2821
|
treeSearchKeyword: string;
|
|
2133
2822
|
treeReloadKey: number;
|
|
2134
2823
|
explorerExtraActions: import("../platform-components/index").RecordActionItem[];
|
|
@@ -2139,7 +2828,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2139
2828
|
selectedTreeRecord: QueryListRecord | undefined;
|
|
2140
2829
|
mainTreeTitle: (record: object) => string;
|
|
2141
2830
|
mainTreeSecondary: (record: object) => string | undefined;
|
|
2142
|
-
selectTreeRecord: (record: unknown) => void;
|
|
2831
|
+
selectTreeRecord: (record: unknown, source?: "user" | "assistant" | "background") => void;
|
|
2143
2832
|
clearTreeRecordSelection: () => void;
|
|
2144
2833
|
handleTreeLoaded: (records: unknown[]) => void;
|
|
2145
2834
|
handleTreeSorted: () => void;
|
|
@@ -2152,6 +2841,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2152
2841
|
persistentTreeDetail: boolean;
|
|
2153
2842
|
detailOpen: boolean;
|
|
2154
2843
|
enhancementDetailDrawer: import("./modulePageEnhancements").ModulePageDetailDrawer | undefined;
|
|
2844
|
+
detailDrawerWidth: "standard" | "compact" | "narrow" | "wide" | "extraWide";
|
|
2155
2845
|
closeRecordOnlyDetail: () => void;
|
|
2156
2846
|
closeDetail: () => void;
|
|
2157
2847
|
confirmDetailDrawerClose: () => Promise<boolean>;
|