@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
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type { OptionItemDescriptor } from '../web-contracts/index';
|
|
2
|
+
import type { AssistantOperationProposal } from '../web-core/index';
|
|
3
|
+
import { type RecordFormDraftAccess } from './recordFormDraftAccess';
|
|
4
|
+
import { type RecordFormFieldPickerConfig, type CrudRecordListBase, type RecordExplorerItemDescriptor, type RecordActionItem, type RecordQueryListCellComponent, type RecordQueryListQueryController, type RecordTreeQueryController, type ReferenceRecordDetailMutation, type StandardCrudRowActionKey, type QueryListRecord, type RecordFormRecord, type ReferencePickerCandidate } from '../platform-components/index';
|
|
2
5
|
import type { StandardModulePageDescriptor, ResolvedDetailRelationDescriptor, ResolvedModuleUiDescriptor, ResolvedPageListRelationExpansionDescriptor, RecordInlineAction } from '../web-contracts/index';
|
|
3
6
|
import { AppError, type HttpClient, type ModuleContext, type ModuleRecordActionAvailability, type ModuleTreeClient } from '../web-core/index';
|
|
4
7
|
import { type ModulePageActionContribution, type ModulePageBatchActionContribution, type ModulePageColumnContribution, type ModulePageDetailDrawer, type ModulePageDetailSection, type ModulePageCardAssistantContext, type ModulePageFormContribution, type ModulePageFormFieldPolicy, type ModulePageNavigatorExtensionContext, type ModulePageListRowExpansionContext, type ModulePageRecordActionContribution } from './modulePageEnhancements';
|
|
@@ -101,8 +104,9 @@ export declare function useModulePageSession(props: ModulePageSessionProps, emit
|
|
|
101
104
|
querySchema: (options?: import("../web-core/index").QuerySchemaRequestOptions) => Promise<import("../web-contracts/index").QuerySchema>;
|
|
102
105
|
query: (request?: import("../web-contracts/index").WebQueryRequest) => Promise<import("../web-contracts/index").WebPageResponse<QueryListRecord>>;
|
|
103
106
|
view: (id: string) => Promise<QueryListRecord>;
|
|
104
|
-
insert: (record: QueryListRecord) => Promise<import("../web-core/index").StaticRecordMutationResult<QueryListRecord>>;
|
|
105
|
-
update: (id: string, record: QueryListRecord) => Promise<import("../web-core/index").StaticRecordMutationResult<QueryListRecord>>;
|
|
107
|
+
insert: (record: QueryListRecord, options?: import("../web-core/index").RecordSaveRequestOptions) => Promise<import("../web-core/index").StaticRecordMutationResult<QueryListRecord>>;
|
|
108
|
+
update: (id: string, record: QueryListRecord, options?: import("../web-core/index").RecordSaveRequestOptions) => Promise<import("../web-core/index").StaticRecordMutationResult<QueryListRecord>>;
|
|
109
|
+
saveReceipt?: ((requestId: string) => Promise<import("../web-core/index").RecordSaveReceipt>) | undefined;
|
|
106
110
|
delete: (id: string, request: import("../web-core/index").RecordActionRequest) => Promise<import("../web-core/index").StaticCountMutationResult>;
|
|
107
111
|
enable: (id: string, request: import("../web-core/index").RecordActionRequest) => Promise<import("../web-core/index").StaticCountMutationResult>;
|
|
108
112
|
disable: (id: string, request: import("../web-core/index").RecordActionRequest) => Promise<import("../web-core/index").StaticCountMutationResult>;
|
|
@@ -161,6 +165,15 @@ export declare function useModulePageSession(props: ModulePageSessionProps, emit
|
|
|
161
165
|
navigatorExplorerQueryValues: (levelKey: string) => Record<string, unknown> | undefined;
|
|
162
166
|
context: ModuleContext<QueryListRecord>;
|
|
163
167
|
navigatorManagementScopeReady: (level: NavigatorLevelRuntime) => boolean;
|
|
168
|
+
navigatorRecordCreationState: (level: NavigatorLevelRuntime) => {
|
|
169
|
+
ready: boolean;
|
|
170
|
+
reason?: undefined;
|
|
171
|
+
message?: undefined;
|
|
172
|
+
} | {
|
|
173
|
+
message: string | undefined;
|
|
174
|
+
ready: boolean;
|
|
175
|
+
reason: string;
|
|
176
|
+
};
|
|
164
177
|
navigatorManagementScopeDisabledReason: (level: NavigatorLevelRuntime) => string | undefined;
|
|
165
178
|
navigatorPanelScopeContext: (levelKey: string) => string | undefined;
|
|
166
179
|
navigatorTreeParentPolicy: (level: NavigatorLevelRuntime) => import("./modulePageEnhancements").ModulePageNavigatorTreeParentPolicy | undefined;
|
|
@@ -170,13 +183,13 @@ export declare function useModulePageSession(props: ModulePageSessionProps, emit
|
|
|
170
183
|
}) => RecordInlineAction[];
|
|
171
184
|
navigatorSortState: (level: NavigatorLevelRuntime) => NavigatorSortViewState;
|
|
172
185
|
scopeReloadKey: import("vue").Ref<number, number>;
|
|
173
|
-
createNavigatorRecord: (level: NavigatorLevelRuntime, parentId?: string) => void;
|
|
186
|
+
createNavigatorRecord: (level: NavigatorLevelRuntime, parentId?: string, source?: "user" | "assistant") => void;
|
|
174
187
|
handleNavigatorLoaded: (level: NavigatorLevelRuntime, records: Array<{
|
|
175
188
|
id?: string;
|
|
176
|
-
}
|
|
189
|
+
}>, completeUnfilteredResult?: boolean) => void;
|
|
177
190
|
selectNavigatorRecord: (levelKey: string, record: {
|
|
178
191
|
id?: string;
|
|
179
|
-
}, source?: "user" | "entry") => void;
|
|
192
|
+
}, source?: "user" | "assistant" | "entry") => void;
|
|
180
193
|
clearNavigatorRecord: (levelKey: string) => void;
|
|
181
194
|
handleNavigatorInlineAction: (level: NavigatorLevelRuntime, action: RecordInlineAction, record: {
|
|
182
195
|
id?: string;
|
|
@@ -216,13 +229,22 @@ export declare function useModulePageSession(props: ModulePageSessionProps, emit
|
|
|
216
229
|
navigatorManagementEnabledDisabled: import("vue").ComputedRef<boolean>;
|
|
217
230
|
navigatorManagementEnabledDisabledReason: import("vue").ComputedRef<string | undefined>;
|
|
218
231
|
navigatorManagementTogglingEnabled: import("vue").Ref<boolean, boolean>;
|
|
219
|
-
closeNavigatorManagementEditor: () => void;
|
|
232
|
+
closeNavigatorManagementEditor: (source?: "user" | "background") => void;
|
|
220
233
|
saveNavigatorRecord: () => Promise<void>;
|
|
221
234
|
toggleNavigatorManagementEnabled: (enabled: boolean) => Promise<void>;
|
|
222
235
|
updateNavigatorManagementDraft: (fieldName: string, value: import("../platform-components/index").RecordFormFieldValue) => void;
|
|
223
236
|
navigatorManagementFormValid: import("vue").Ref<boolean, boolean>;
|
|
224
237
|
navigatorListScopeReady: import("vue").ComputedRef<boolean>;
|
|
225
238
|
selectedRecord: import("vue").Ref<QueryListRecord | undefined, QueryListRecord | undefined>;
|
|
239
|
+
recordDisplayRecord: import("vue").ComputedRef<{
|
|
240
|
+
[x: string]: unknown;
|
|
241
|
+
id?: string;
|
|
242
|
+
enabled?: boolean;
|
|
243
|
+
}>;
|
|
244
|
+
recordDetailReady: () => boolean;
|
|
245
|
+
recordRelationOptions: import("vue").ComputedRef<{
|
|
246
|
+
[k: string]: Record<string, OptionItemDescriptor[]>;
|
|
247
|
+
}>;
|
|
226
248
|
flatManagementSorting: import("vue").Ref<boolean, boolean>;
|
|
227
249
|
navigatorListQueryValues: import("vue").ComputedRef<Record<string, unknown> | undefined>;
|
|
228
250
|
flatManagementItemOf: (record: CrudRecordListBase) => RecordExplorerItemDescriptor;
|
|
@@ -243,6 +265,13 @@ export declare function useModulePageSession(props: ModulePageSessionProps, emit
|
|
|
243
265
|
detailDirty: import("vue").ComputedRef<boolean>;
|
|
244
266
|
sessionDirty: import("vue").ComputedRef<boolean>;
|
|
245
267
|
updateDraftField: (fieldName: string, value: import("../platform-components/index").RecordFormFieldValue) => void;
|
|
268
|
+
updateDraftFields: (changes: Array<{
|
|
269
|
+
fieldName: string;
|
|
270
|
+
value: import("../platform-components/index").RecordFormFieldValue;
|
|
271
|
+
}>, source?: "user" | "assistant", validate?: (record: import("../platform-components/index").RecordFormRecord) => void) => void;
|
|
272
|
+
updateDraftReference: (fieldName: string, candidate: ReferencePickerCandidate, source?: "user" | "assistant", changes?: Parameters<RecordFormDraftAccess["updateDraftFields"]>[0], validate?: Parameters<RecordFormDraftAccess["updateDraftReference"]>[4]) => void;
|
|
273
|
+
referenceDisplay: (fieldName: string) => string | undefined;
|
|
274
|
+
updateReferenceDisplay: (fieldName: string, candidates: readonly ReferencePickerCandidate[]) => void;
|
|
246
275
|
showStatusSwitch: import("vue").ComputedRef<boolean>;
|
|
247
276
|
canToggleEnabled: import("vue").ComputedRef<boolean>;
|
|
248
277
|
toggleEnabledDisabledReason: import("vue").ComputedRef<string | undefined>;
|
|
@@ -253,6 +282,7 @@ export declare function useModulePageSession(props: ModulePageSessionProps, emit
|
|
|
253
282
|
detailLoadFailed: import("vue").Ref<boolean, boolean>;
|
|
254
283
|
rawContext: ModuleContext<QueryListRecord>;
|
|
255
284
|
detailDisplayFields: import("vue").Ref<Map<string, {
|
|
285
|
+
assistantPolicy?: import("../web-contracts/index").AssistantFieldPolicy | undefined;
|
|
256
286
|
fieldRef: {
|
|
257
287
|
relationCode?: string | undefined;
|
|
258
288
|
fieldName: string;
|
|
@@ -331,6 +361,16 @@ export declare function useModulePageSession(props: ModulePageSessionProps, emit
|
|
|
331
361
|
maxDisplayLines?: number | undefined;
|
|
332
362
|
treeRootTitle?: string | undefined;
|
|
333
363
|
overrideOf?: string | undefined;
|
|
364
|
+
inputRequirements?: {
|
|
365
|
+
requiredOnInsert: boolean;
|
|
366
|
+
requiredOnUpdate: boolean;
|
|
367
|
+
maxLength?: number | null | undefined;
|
|
368
|
+
validationRegex?: string | null | undefined;
|
|
369
|
+
textNormalization?: "NONE" | "TRIM" | "TRIM_TO_NULL" | null | undefined;
|
|
370
|
+
precision?: number | null | undefined;
|
|
371
|
+
scale?: number | null | undefined;
|
|
372
|
+
} | undefined;
|
|
373
|
+
calculationTiming?: "IMMEDIATE" | "ON_SAVE" | null | undefined;
|
|
334
374
|
fieldControl?: {
|
|
335
375
|
alias: string;
|
|
336
376
|
rendererType: string;
|
|
@@ -401,6 +441,17 @@ export declare function useModulePageSession(props: ModulePageSessionProps, emit
|
|
|
401
441
|
} | undefined;
|
|
402
442
|
valueType?: import("../web-contracts/index").ViewFieldValueType | undefined;
|
|
403
443
|
} | {
|
|
444
|
+
calculationTiming?: "IMMEDIATE" | "ON_SAVE" | null | undefined;
|
|
445
|
+
inputRequirements?: {
|
|
446
|
+
requiredOnInsert: boolean;
|
|
447
|
+
requiredOnUpdate: boolean;
|
|
448
|
+
maxLength?: number | null | undefined;
|
|
449
|
+
validationRegex?: string | null | undefined;
|
|
450
|
+
textNormalization?: "NONE" | "TRIM" | "TRIM_TO_NULL" | null | undefined;
|
|
451
|
+
precision?: number | null | undefined;
|
|
452
|
+
scale?: number | null | undefined;
|
|
453
|
+
} | undefined;
|
|
454
|
+
assistantPolicy?: import("../web-contracts/index").AssistantFieldPolicy | undefined;
|
|
404
455
|
fieldRef: {
|
|
405
456
|
relationCode?: string | undefined;
|
|
406
457
|
fieldName: string;
|
|
@@ -555,6 +606,7 @@ export declare function useModulePageSession(props: ModulePageSessionProps, emit
|
|
|
555
606
|
}[];
|
|
556
607
|
} | undefined;
|
|
557
608
|
}> & Omit<Map<string, import("../platform-components/index").RecordFormFieldDescriptor>, keyof Map<any, any>>, Map<string, import("../platform-components/index").RecordFormFieldDescriptor> | (Map<string, {
|
|
609
|
+
assistantPolicy?: import("../web-contracts/index").AssistantFieldPolicy | undefined;
|
|
558
610
|
fieldRef: {
|
|
559
611
|
relationCode?: string | undefined;
|
|
560
612
|
fieldName: string;
|
|
@@ -633,6 +685,16 @@ export declare function useModulePageSession(props: ModulePageSessionProps, emit
|
|
|
633
685
|
maxDisplayLines?: number | undefined;
|
|
634
686
|
treeRootTitle?: string | undefined;
|
|
635
687
|
overrideOf?: string | undefined;
|
|
688
|
+
inputRequirements?: {
|
|
689
|
+
requiredOnInsert: boolean;
|
|
690
|
+
requiredOnUpdate: boolean;
|
|
691
|
+
maxLength?: number | null | undefined;
|
|
692
|
+
validationRegex?: string | null | undefined;
|
|
693
|
+
textNormalization?: "NONE" | "TRIM" | "TRIM_TO_NULL" | null | undefined;
|
|
694
|
+
precision?: number | null | undefined;
|
|
695
|
+
scale?: number | null | undefined;
|
|
696
|
+
} | undefined;
|
|
697
|
+
calculationTiming?: "IMMEDIATE" | "ON_SAVE" | null | undefined;
|
|
636
698
|
fieldControl?: {
|
|
637
699
|
alias: string;
|
|
638
700
|
rendererType: string;
|
|
@@ -703,6 +765,17 @@ export declare function useModulePageSession(props: ModulePageSessionProps, emit
|
|
|
703
765
|
} | undefined;
|
|
704
766
|
valueType?: import("../web-contracts/index").ViewFieldValueType | undefined;
|
|
705
767
|
} | {
|
|
768
|
+
calculationTiming?: "IMMEDIATE" | "ON_SAVE" | null | undefined;
|
|
769
|
+
inputRequirements?: {
|
|
770
|
+
requiredOnInsert: boolean;
|
|
771
|
+
requiredOnUpdate: boolean;
|
|
772
|
+
maxLength?: number | null | undefined;
|
|
773
|
+
validationRegex?: string | null | undefined;
|
|
774
|
+
textNormalization?: "NONE" | "TRIM" | "TRIM_TO_NULL" | null | undefined;
|
|
775
|
+
precision?: number | null | undefined;
|
|
776
|
+
scale?: number | null | undefined;
|
|
777
|
+
} | undefined;
|
|
778
|
+
assistantPolicy?: import("../web-contracts/index").AssistantFieldPolicy | undefined;
|
|
706
779
|
fieldRef: {
|
|
707
780
|
relationCode?: string | undefined;
|
|
708
781
|
fieldName: string;
|
|
@@ -858,6 +931,7 @@ export declare function useModulePageSession(props: ModulePageSessionProps, emit
|
|
|
858
931
|
} | undefined;
|
|
859
932
|
}> & Omit<Map<string, import("../platform-components/index").RecordFormFieldDescriptor>, keyof Map<any, any>>)>;
|
|
860
933
|
formFields: import("vue").Ref<Map<string, {
|
|
934
|
+
assistantPolicy?: import("../web-contracts/index").AssistantFieldPolicy | undefined;
|
|
861
935
|
fieldRef: {
|
|
862
936
|
relationCode?: string | undefined;
|
|
863
937
|
fieldName: string;
|
|
@@ -936,6 +1010,16 @@ export declare function useModulePageSession(props: ModulePageSessionProps, emit
|
|
|
936
1010
|
maxDisplayLines?: number | undefined;
|
|
937
1011
|
treeRootTitle?: string | undefined;
|
|
938
1012
|
overrideOf?: string | undefined;
|
|
1013
|
+
inputRequirements?: {
|
|
1014
|
+
requiredOnInsert: boolean;
|
|
1015
|
+
requiredOnUpdate: boolean;
|
|
1016
|
+
maxLength?: number | null | undefined;
|
|
1017
|
+
validationRegex?: string | null | undefined;
|
|
1018
|
+
textNormalization?: "NONE" | "TRIM" | "TRIM_TO_NULL" | null | undefined;
|
|
1019
|
+
precision?: number | null | undefined;
|
|
1020
|
+
scale?: number | null | undefined;
|
|
1021
|
+
} | undefined;
|
|
1022
|
+
calculationTiming?: "IMMEDIATE" | "ON_SAVE" | null | undefined;
|
|
939
1023
|
fieldControl?: {
|
|
940
1024
|
alias: string;
|
|
941
1025
|
rendererType: string;
|
|
@@ -1006,6 +1090,17 @@ export declare function useModulePageSession(props: ModulePageSessionProps, emit
|
|
|
1006
1090
|
} | undefined;
|
|
1007
1091
|
valueType?: import("../web-contracts/index").ViewFieldValueType | undefined;
|
|
1008
1092
|
} | {
|
|
1093
|
+
calculationTiming?: "IMMEDIATE" | "ON_SAVE" | null | undefined;
|
|
1094
|
+
inputRequirements?: {
|
|
1095
|
+
requiredOnInsert: boolean;
|
|
1096
|
+
requiredOnUpdate: boolean;
|
|
1097
|
+
maxLength?: number | null | undefined;
|
|
1098
|
+
validationRegex?: string | null | undefined;
|
|
1099
|
+
textNormalization?: "NONE" | "TRIM" | "TRIM_TO_NULL" | null | undefined;
|
|
1100
|
+
precision?: number | null | undefined;
|
|
1101
|
+
scale?: number | null | undefined;
|
|
1102
|
+
} | undefined;
|
|
1103
|
+
assistantPolicy?: import("../web-contracts/index").AssistantFieldPolicy | undefined;
|
|
1009
1104
|
fieldRef: {
|
|
1010
1105
|
relationCode?: string | undefined;
|
|
1011
1106
|
fieldName: string;
|
|
@@ -1160,6 +1255,7 @@ export declare function useModulePageSession(props: ModulePageSessionProps, emit
|
|
|
1160
1255
|
}[];
|
|
1161
1256
|
} | undefined;
|
|
1162
1257
|
}> & Omit<Map<string, import("../platform-components/index").RecordFormFieldDescriptor>, keyof Map<any, any>>, Map<string, import("../platform-components/index").RecordFormFieldDescriptor> | (Map<string, {
|
|
1258
|
+
assistantPolicy?: import("../web-contracts/index").AssistantFieldPolicy | undefined;
|
|
1163
1259
|
fieldRef: {
|
|
1164
1260
|
relationCode?: string | undefined;
|
|
1165
1261
|
fieldName: string;
|
|
@@ -1238,6 +1334,16 @@ export declare function useModulePageSession(props: ModulePageSessionProps, emit
|
|
|
1238
1334
|
maxDisplayLines?: number | undefined;
|
|
1239
1335
|
treeRootTitle?: string | undefined;
|
|
1240
1336
|
overrideOf?: string | undefined;
|
|
1337
|
+
inputRequirements?: {
|
|
1338
|
+
requiredOnInsert: boolean;
|
|
1339
|
+
requiredOnUpdate: boolean;
|
|
1340
|
+
maxLength?: number | null | undefined;
|
|
1341
|
+
validationRegex?: string | null | undefined;
|
|
1342
|
+
textNormalization?: "NONE" | "TRIM" | "TRIM_TO_NULL" | null | undefined;
|
|
1343
|
+
precision?: number | null | undefined;
|
|
1344
|
+
scale?: number | null | undefined;
|
|
1345
|
+
} | undefined;
|
|
1346
|
+
calculationTiming?: "IMMEDIATE" | "ON_SAVE" | null | undefined;
|
|
1241
1347
|
fieldControl?: {
|
|
1242
1348
|
alias: string;
|
|
1243
1349
|
rendererType: string;
|
|
@@ -1308,6 +1414,17 @@ export declare function useModulePageSession(props: ModulePageSessionProps, emit
|
|
|
1308
1414
|
} | undefined;
|
|
1309
1415
|
valueType?: import("../web-contracts/index").ViewFieldValueType | undefined;
|
|
1310
1416
|
} | {
|
|
1417
|
+
calculationTiming?: "IMMEDIATE" | "ON_SAVE" | null | undefined;
|
|
1418
|
+
inputRequirements?: {
|
|
1419
|
+
requiredOnInsert: boolean;
|
|
1420
|
+
requiredOnUpdate: boolean;
|
|
1421
|
+
maxLength?: number | null | undefined;
|
|
1422
|
+
validationRegex?: string | null | undefined;
|
|
1423
|
+
textNormalization?: "NONE" | "TRIM" | "TRIM_TO_NULL" | null | undefined;
|
|
1424
|
+
precision?: number | null | undefined;
|
|
1425
|
+
scale?: number | null | undefined;
|
|
1426
|
+
} | undefined;
|
|
1427
|
+
assistantPolicy?: import("../web-contracts/index").AssistantFieldPolicy | undefined;
|
|
1311
1428
|
fieldRef: {
|
|
1312
1429
|
relationCode?: string | undefined;
|
|
1313
1430
|
fieldName: string;
|
|
@@ -1463,6 +1580,22 @@ export declare function useModulePageSession(props: ModulePageSessionProps, emit
|
|
|
1463
1580
|
} | undefined;
|
|
1464
1581
|
}> & Omit<Map<string, import("../platform-components/index").RecordFormFieldDescriptor>, keyof Map<any, any>>)>;
|
|
1465
1582
|
formSessionKey: import("vue").Ref<number, number>;
|
|
1583
|
+
relationDrafts: {
|
|
1584
|
+
register(controller: import("./relationDraftController").RelationDraftController): () => boolean;
|
|
1585
|
+
list(): import("./relationDraftController").RelationDraftController[];
|
|
1586
|
+
revision: () => string;
|
|
1587
|
+
settle: () => Promise<void[]>;
|
|
1588
|
+
interactionRevision: () => number;
|
|
1589
|
+
userChanged: () => void;
|
|
1590
|
+
};
|
|
1591
|
+
assistantContextRevision: import("vue").Ref<number, number>;
|
|
1592
|
+
assistantInteractionRevision: import("vue").Ref<number, number>;
|
|
1593
|
+
listQueryController: import("vue").ShallowRef<RecordQueryListQueryController | undefined, RecordQueryListQueryController | undefined>;
|
|
1594
|
+
treeQueryController: import("vue").ShallowRef<RecordTreeQueryController | undefined, RecordTreeQueryController | undefined>;
|
|
1595
|
+
bindListQueryController: (controller: RecordQueryListQueryController | undefined) => void;
|
|
1596
|
+
setDataExchangeBusy: (value: boolean) => void;
|
|
1597
|
+
bindNavigatorQueryController: (levelKey: string, controller: RecordQueryListQueryController | RecordTreeQueryController | undefined) => void;
|
|
1598
|
+
bindTreeQueryController: (controller: RecordTreeQueryController | undefined) => void;
|
|
1466
1599
|
formValidationRequestKey: import("vue").Ref<number, number>;
|
|
1467
1600
|
referencePickerConfigs: import("vue").ComputedRef<Record<string, RecordFormFieldPickerConfig>>;
|
|
1468
1601
|
runtimeUiDescriptor: import("vue").Ref<ResolvedModuleUiDescriptor | undefined, ResolvedModuleUiDescriptor | undefined>;
|
|
@@ -1477,14 +1610,145 @@ export declare function useModulePageSession(props: ModulePageSessionProps, emit
|
|
|
1477
1610
|
updateMainFormValidity: (validity: {
|
|
1478
1611
|
valid: boolean;
|
|
1479
1612
|
}) => void;
|
|
1480
|
-
updateEmbeddedChildren: (relationField: string, records: QueryListRecord[]) => void;
|
|
1613
|
+
updateEmbeddedChildren: (relationField: string, records: QueryListRecord[], displayRecords?: QueryListRecord[], options?: Record<string, OptionItemDescriptor[]>) => void;
|
|
1481
1614
|
updateRelationDraftValidity: (valid: boolean) => void;
|
|
1482
1615
|
placedPageActions: import("vue").ComputedRef<RecordActionItem[]>;
|
|
1483
1616
|
handlePlacedPageAction: (action: {
|
|
1484
1617
|
key?: string;
|
|
1485
1618
|
actionCode?: string;
|
|
1486
1619
|
}) => void;
|
|
1487
|
-
createRootRecord: () =>
|
|
1620
|
+
createRootRecord: () => Promise<boolean>;
|
|
1621
|
+
recordCreationState: () => {
|
|
1622
|
+
ready: boolean;
|
|
1623
|
+
reason: string;
|
|
1624
|
+
message: string;
|
|
1625
|
+
} | {
|
|
1626
|
+
ready: boolean;
|
|
1627
|
+
reason?: undefined;
|
|
1628
|
+
message?: undefined;
|
|
1629
|
+
};
|
|
1630
|
+
prepareAssistantCreate: (options?: {
|
|
1631
|
+
asChildOfSelectedRecord?: boolean;
|
|
1632
|
+
}) => Promise<() => {
|
|
1633
|
+
editorMode: import("./recordDetailController").RecordDetailMode;
|
|
1634
|
+
recordId: string | undefined;
|
|
1635
|
+
editable: boolean;
|
|
1636
|
+
dirty: boolean;
|
|
1637
|
+
}>;
|
|
1638
|
+
prepareAssistantEdit: (recordId: string) => Promise<() => {
|
|
1639
|
+
editorMode: import("./recordDetailController").RecordDetailMode;
|
|
1640
|
+
recordId: string | undefined;
|
|
1641
|
+
editable: boolean;
|
|
1642
|
+
dirty: boolean;
|
|
1643
|
+
}>;
|
|
1644
|
+
prepareAssistantView: (recordId: string) => Promise<() => {
|
|
1645
|
+
editorMode: import("./recordDetailController").RecordDetailMode;
|
|
1646
|
+
recordId: string | undefined;
|
|
1647
|
+
editable: boolean;
|
|
1648
|
+
dirty: boolean;
|
|
1649
|
+
}>;
|
|
1650
|
+
assistantNavigatorScopes: () => {
|
|
1651
|
+
descriptor: {
|
|
1652
|
+
key: string;
|
|
1653
|
+
kind: "TREE" | "MICRO_LIST";
|
|
1654
|
+
sourceModuleAlias: string;
|
|
1655
|
+
title: string;
|
|
1656
|
+
searchPlaceholder: string;
|
|
1657
|
+
secondaryField?: string | undefined;
|
|
1658
|
+
singleResultPolicy?: "NONE" | "AUTO_SELECT" | "AUTO_SELECT_AND_HIDE" | undefined;
|
|
1659
|
+
initialSelectionPolicy?: "NONE" | "FIRST_RECORD" | undefined;
|
|
1660
|
+
sourceScope?: "NONE" | "CURRENT_TENANT" | undefined;
|
|
1661
|
+
management?: {
|
|
1662
|
+
editorSurface?: string | undefined;
|
|
1663
|
+
} | null | undefined;
|
|
1664
|
+
};
|
|
1665
|
+
context: {
|
|
1666
|
+
moduleAlias: string;
|
|
1667
|
+
http: {
|
|
1668
|
+
request: <T>(options: import("../web-core/index").HttpRequestOptions) => Promise<T>;
|
|
1669
|
+
};
|
|
1670
|
+
crud: {
|
|
1671
|
+
querySchema: (options?: import("../web-core/index").QuerySchemaRequestOptions) => Promise<import("../web-contracts/index").QuerySchema>;
|
|
1672
|
+
query: (request?: import("../web-contracts/index").WebQueryRequest) => Promise<import("../web-contracts/index").WebPageResponse<QueryListRecord>>;
|
|
1673
|
+
view: (id: string) => Promise<QueryListRecord>;
|
|
1674
|
+
insert: (record: QueryListRecord, options?: import("../web-core/index").RecordSaveRequestOptions) => Promise<import("../web-core/index").StaticRecordMutationResult<QueryListRecord>>;
|
|
1675
|
+
update: (id: string, record: QueryListRecord, options?: import("../web-core/index").RecordSaveRequestOptions) => Promise<import("../web-core/index").StaticRecordMutationResult<QueryListRecord>>;
|
|
1676
|
+
saveReceipt?: ((requestId: string) => Promise<import("../web-core/index").RecordSaveReceipt>) | undefined;
|
|
1677
|
+
delete: (id: string, request: import("../web-core/index").RecordActionRequest) => Promise<import("../web-core/index").StaticCountMutationResult>;
|
|
1678
|
+
enable: (id: string, request: import("../web-core/index").RecordActionRequest) => Promise<import("../web-core/index").StaticCountMutationResult>;
|
|
1679
|
+
disable: (id: string, request: import("../web-core/index").RecordActionRequest) => Promise<import("../web-core/index").StaticCountMutationResult>;
|
|
1680
|
+
sort?: ((id: string, request: import("../web-contracts/index").SortRequest) => Promise<import("../web-core/index").StaticCountMutationResult>) | undefined;
|
|
1681
|
+
};
|
|
1682
|
+
runtime: {
|
|
1683
|
+
ready: {
|
|
1684
|
+
then: <TResult1 = import("../web-core/index").ModuleRuntimeContext, TResult2 = never>(onfulfilled?: ((value: import("../web-core/index").ModuleRuntimeContext) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined) => Promise<TResult1 | TResult2>;
|
|
1685
|
+
catch: <TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null | undefined) => Promise<import("../web-core/index").ModuleRuntimeContext | TResult>;
|
|
1686
|
+
finally: (onfinally?: (() => void) | null | undefined) => Promise<import("../web-core/index").ModuleRuntimeContext>;
|
|
1687
|
+
readonly [Symbol.toStringTag]: string;
|
|
1688
|
+
};
|
|
1689
|
+
load: () => Promise<import("../web-core/index").ModuleRuntimeContext>;
|
|
1690
|
+
snapshot: () => import("../web-core/index").ModuleRuntimeContext | undefined;
|
|
1691
|
+
error: () => AppError | undefined;
|
|
1692
|
+
hasAbility: (ability: import("../web-core/index").ModuleAbilityCode | string) => boolean | undefined;
|
|
1693
|
+
action: (actionCode: string, recordId?: string) => import("../web-core/index").ModuleActionState | undefined;
|
|
1694
|
+
runtimeAction: (actionCode: string) => import("../web-core/index").ModuleRuntimeAction | undefined;
|
|
1695
|
+
can: (actionCode: string, recordId?: string) => boolean | undefined;
|
|
1696
|
+
recordActions: (recordId: string) => Promise<ModuleRecordActionAvailability>;
|
|
1697
|
+
recordActionsBatch?: ((recordIds: string[]) => Promise<ModuleRecordActionAvailability[]>) | undefined;
|
|
1698
|
+
recordActionsSnapshot: (recordId: string) => ModuleRecordActionAvailability | undefined;
|
|
1699
|
+
invalidateRecordActions?: ((recordIds?: string[]) => void) | undefined;
|
|
1700
|
+
};
|
|
1701
|
+
abilities: {
|
|
1702
|
+
crud: () => import("../web-core/index").ModuleCrudClient<QueryListRecord>;
|
|
1703
|
+
tree: () => ModuleTreeClient<QueryListRecord>;
|
|
1704
|
+
enable: () => import("../web-core/index").ModuleEnableClient;
|
|
1705
|
+
tryCrud: () => import("../web-core/index").ModuleCrudClient<QueryListRecord> | undefined;
|
|
1706
|
+
tryTree: () => ModuleTreeClient<QueryListRecord> | undefined;
|
|
1707
|
+
tryEnable: () => import("../web-core/index").ModuleEnableClient | undefined;
|
|
1708
|
+
has: (ability: import("../web-core/index").ModuleAbilityCode | string) => boolean | undefined;
|
|
1709
|
+
hasCrud: () => boolean | undefined;
|
|
1710
|
+
hasTree: () => boolean | undefined;
|
|
1711
|
+
hasEnable: () => boolean | undefined;
|
|
1712
|
+
};
|
|
1713
|
+
action: (actionCode: string, recordId?: string) => import("../web-core/index").ModuleActionState | undefined;
|
|
1714
|
+
runtimeAction: (actionCode: string) => import("../web-core/index").ModuleRuntimeAction | undefined;
|
|
1715
|
+
can: (actionCode: string, recordId?: string) => boolean | undefined;
|
|
1716
|
+
recordActions: (recordId: string) => Promise<ModuleRecordActionAvailability>;
|
|
1717
|
+
recordActionsBatch?: ((recordIds: string[]) => Promise<ModuleRecordActionAvailability[]>) | undefined;
|
|
1718
|
+
recordActionsSnapshot: (recordId: string) => ModuleRecordActionAvailability | undefined;
|
|
1719
|
+
invalidateRecordActions?: ((recordIds?: string[]) => void) | undefined;
|
|
1720
|
+
};
|
|
1721
|
+
tree: boolean;
|
|
1722
|
+
sort: {
|
|
1723
|
+
visible: boolean;
|
|
1724
|
+
enabled: boolean;
|
|
1725
|
+
active?: boolean | undefined;
|
|
1726
|
+
disabledReason?: string | undefined;
|
|
1727
|
+
};
|
|
1728
|
+
}[];
|
|
1729
|
+
assistantNavigatorCreationTargets: () => {
|
|
1730
|
+
key: string;
|
|
1731
|
+
title: string;
|
|
1732
|
+
moduleAlias: string;
|
|
1733
|
+
}[];
|
|
1734
|
+
prepareAssistantNavigatorCreate: (levelKey: string) => Promise<() => {
|
|
1735
|
+
scopeKey: string;
|
|
1736
|
+
moduleAlias: string;
|
|
1737
|
+
saved: boolean;
|
|
1738
|
+
}>;
|
|
1739
|
+
assistantNavigatorEditor: import("vue").ComputedRef<{
|
|
1740
|
+
key: string;
|
|
1741
|
+
moduleAlias: string;
|
|
1742
|
+
loading: boolean;
|
|
1743
|
+
loadFailed: boolean;
|
|
1744
|
+
busy: boolean;
|
|
1745
|
+
title: string;
|
|
1746
|
+
dirty: boolean;
|
|
1747
|
+
form: RecordFormDraftAccess;
|
|
1748
|
+
} | undefined>;
|
|
1749
|
+
assistantNavigatorScopeRevision: (levelKey: string) => string;
|
|
1750
|
+
applyAssistantNavigatorSelection: (levelKey: string, record: QueryListRecord, expectedRevision: string) => boolean;
|
|
1751
|
+
settleAssistantPageState: (signal: AbortSignal) => Promise<void>;
|
|
1488
1752
|
hasCardAssistantAt: (boundary: "inside" | "outside", position: "top" | "bottom") => boolean;
|
|
1489
1753
|
enhancementCardAssistant: import("vue").ComputedRef<import("./modulePageEnhancements").ModulePageCardAssistant | undefined>;
|
|
1490
1754
|
cardAssistantContext: import("vue").ComputedRef<ModulePageCardAssistantContext | undefined>;
|
|
@@ -1514,8 +1778,9 @@ export declare function useModulePageSession(props: ModulePageSessionProps, emit
|
|
|
1514
1778
|
querySchema: (options?: import("../web-core/index").QuerySchemaRequestOptions) => Promise<import("../web-contracts/index").QuerySchema>;
|
|
1515
1779
|
query: (request?: import("../web-contracts/index").WebQueryRequest) => Promise<import("../web-contracts/index").WebPageResponse<QueryListRecord>>;
|
|
1516
1780
|
view: (id: string) => Promise<QueryListRecord>;
|
|
1517
|
-
insert: (record: QueryListRecord) => Promise<import("../web-core/index").StaticRecordMutationResult<QueryListRecord>>;
|
|
1518
|
-
update: (id: string, record: QueryListRecord) => Promise<import("../web-core/index").StaticRecordMutationResult<QueryListRecord>>;
|
|
1781
|
+
insert: (record: QueryListRecord, options?: import("../web-core/index").RecordSaveRequestOptions) => Promise<import("../web-core/index").StaticRecordMutationResult<QueryListRecord>>;
|
|
1782
|
+
update: (id: string, record: QueryListRecord, options?: import("../web-core/index").RecordSaveRequestOptions) => Promise<import("../web-core/index").StaticRecordMutationResult<QueryListRecord>>;
|
|
1783
|
+
saveReceipt?: ((requestId: string) => Promise<import("../web-core/index").RecordSaveReceipt>) | undefined;
|
|
1519
1784
|
delete: (id: string, request: import("../web-core/index").RecordActionRequest) => Promise<import("../web-core/index").StaticCountMutationResult>;
|
|
1520
1785
|
enable: (id: string, request: import("../web-core/index").RecordActionRequest) => Promise<import("../web-core/index").StaticCountMutationResult>;
|
|
1521
1786
|
disable: (id: string, request: import("../web-core/index").RecordActionRequest) => Promise<import("../web-core/index").StaticCountMutationResult>;
|
|
@@ -1636,7 +1901,132 @@ export declare function useModulePageSession(props: ModulePageSessionProps, emit
|
|
|
1636
1901
|
placedDetailButtons: import("vue").ComputedRef<RecordActionItem[]>;
|
|
1637
1902
|
placedFormActions: import("vue").ComputedRef<RecordActionItem[]>;
|
|
1638
1903
|
cancelDetailEditing: () => Promise<void>;
|
|
1904
|
+
canLeaveUnchangedEditor: () => boolean;
|
|
1905
|
+
leaveUnchangedEditor: () => Promise<void>;
|
|
1639
1906
|
saveRecord: (actionKey?: string) => Promise<void>;
|
|
1907
|
+
checkRecordSave: () => Promise<void>;
|
|
1908
|
+
recordSaveNeedsCheck: import("vue").ComputedRef<boolean>;
|
|
1909
|
+
recordSaveRecoveryError: import("vue").Ref<string, string>;
|
|
1910
|
+
prepareAssistantSave: () => Promise<AssistantOperationProposal>;
|
|
1911
|
+
canReviewRecordDraft: () => boolean;
|
|
1912
|
+
reviewRecordDraft: () => Promise<{
|
|
1913
|
+
mode: import("./recordDetailController").RecordDetailMode;
|
|
1914
|
+
values: {
|
|
1915
|
+
before?: string | undefined;
|
|
1916
|
+
field: import("../platform-components/index").RecordFormFieldState;
|
|
1917
|
+
value: string;
|
|
1918
|
+
}[];
|
|
1919
|
+
relations: {
|
|
1920
|
+
savedCount?: number | null | undefined;
|
|
1921
|
+
savedRows?: {
|
|
1922
|
+
values: {
|
|
1923
|
+
truncated?: boolean | undefined;
|
|
1924
|
+
value: string;
|
|
1925
|
+
assistantPolicy?: import("../web-contracts/index").AssistantFieldPolicy | undefined;
|
|
1926
|
+
label: string;
|
|
1927
|
+
}[];
|
|
1928
|
+
rowKey?: string | undefined;
|
|
1929
|
+
row: number;
|
|
1930
|
+
}[] | undefined;
|
|
1931
|
+
relationCode: string;
|
|
1932
|
+
title: string;
|
|
1933
|
+
editable: boolean;
|
|
1934
|
+
source: string;
|
|
1935
|
+
loaded: boolean;
|
|
1936
|
+
count: number | null;
|
|
1937
|
+
removedCount: number;
|
|
1938
|
+
truncated: boolean;
|
|
1939
|
+
rows: {
|
|
1940
|
+
values: {
|
|
1941
|
+
truncated?: boolean | undefined;
|
|
1942
|
+
value: string;
|
|
1943
|
+
assistantPolicy?: import("../web-contracts/index").AssistantFieldPolicy | undefined;
|
|
1944
|
+
label: string;
|
|
1945
|
+
}[];
|
|
1946
|
+
rowKey?: string | undefined;
|
|
1947
|
+
row: number;
|
|
1948
|
+
}[];
|
|
1949
|
+
removedRows: {
|
|
1950
|
+
values: {
|
|
1951
|
+
truncated?: boolean | undefined;
|
|
1952
|
+
value: string;
|
|
1953
|
+
assistantPolicy?: import("../web-contracts/index").AssistantFieldPolicy | undefined;
|
|
1954
|
+
label: string;
|
|
1955
|
+
}[];
|
|
1956
|
+
rowKey?: string | undefined;
|
|
1957
|
+
row: number;
|
|
1958
|
+
}[];
|
|
1959
|
+
}[];
|
|
1960
|
+
complete: boolean;
|
|
1961
|
+
isCurrent: () => boolean;
|
|
1962
|
+
inputValid: boolean;
|
|
1963
|
+
fieldLines: string[];
|
|
1964
|
+
relationLines: string[];
|
|
1965
|
+
}>;
|
|
1966
|
+
prepareRecordDraftDiscard: () => Promise<{
|
|
1967
|
+
review: {
|
|
1968
|
+
mode: import("./recordDetailController").RecordDetailMode;
|
|
1969
|
+
values: {
|
|
1970
|
+
before?: string | undefined;
|
|
1971
|
+
field: import("../platform-components/index").RecordFormFieldState;
|
|
1972
|
+
value: string;
|
|
1973
|
+
}[];
|
|
1974
|
+
relations: {
|
|
1975
|
+
savedCount?: number | null | undefined;
|
|
1976
|
+
savedRows?: {
|
|
1977
|
+
values: {
|
|
1978
|
+
truncated?: boolean | undefined;
|
|
1979
|
+
value: string;
|
|
1980
|
+
assistantPolicy?: import("../web-contracts/index").AssistantFieldPolicy | undefined;
|
|
1981
|
+
label: string;
|
|
1982
|
+
}[];
|
|
1983
|
+
rowKey?: string | undefined;
|
|
1984
|
+
row: number;
|
|
1985
|
+
}[] | undefined;
|
|
1986
|
+
relationCode: string;
|
|
1987
|
+
title: string;
|
|
1988
|
+
editable: boolean;
|
|
1989
|
+
source: string;
|
|
1990
|
+
loaded: boolean;
|
|
1991
|
+
count: number | null;
|
|
1992
|
+
removedCount: number;
|
|
1993
|
+
truncated: boolean;
|
|
1994
|
+
rows: {
|
|
1995
|
+
values: {
|
|
1996
|
+
truncated?: boolean | undefined;
|
|
1997
|
+
value: string;
|
|
1998
|
+
assistantPolicy?: import("../web-contracts/index").AssistantFieldPolicy | undefined;
|
|
1999
|
+
label: string;
|
|
2000
|
+
}[];
|
|
2001
|
+
rowKey?: string | undefined;
|
|
2002
|
+
row: number;
|
|
2003
|
+
}[];
|
|
2004
|
+
removedRows: {
|
|
2005
|
+
values: {
|
|
2006
|
+
truncated?: boolean | undefined;
|
|
2007
|
+
value: string;
|
|
2008
|
+
assistantPolicy?: import("../web-contracts/index").AssistantFieldPolicy | undefined;
|
|
2009
|
+
label: string;
|
|
2010
|
+
}[];
|
|
2011
|
+
rowKey?: string | undefined;
|
|
2012
|
+
row: number;
|
|
2013
|
+
}[];
|
|
2014
|
+
}[];
|
|
2015
|
+
complete: boolean;
|
|
2016
|
+
isCurrent: () => boolean;
|
|
2017
|
+
inputValid: boolean;
|
|
2018
|
+
fieldLines: string[];
|
|
2019
|
+
relationLines: string[];
|
|
2020
|
+
};
|
|
2021
|
+
isCurrent: () => boolean;
|
|
2022
|
+
execute(): Promise<{
|
|
2023
|
+
discarded: boolean;
|
|
2024
|
+
saved: boolean;
|
|
2025
|
+
detailReady: boolean;
|
|
2026
|
+
isCurrent: () => boolean;
|
|
2027
|
+
}>;
|
|
2028
|
+
}>;
|
|
2029
|
+
assistantSaveAvailable: import("vue").ComputedRef<boolean>;
|
|
1640
2030
|
editRecord: (record: QueryListRecord, cancelDestination?: "close" | "restore-view") => Promise<void>;
|
|
1641
2031
|
deleteRecord: (record: QueryListRecord, actionKey?: string) => Promise<void>;
|
|
1642
2032
|
handleDetailAction: (action: {
|
|
@@ -1651,6 +2041,7 @@ export declare function useModulePageSession(props: ModulePageSessionProps, emit
|
|
|
1651
2041
|
treePanelTitle: import("vue").ComputedRef<string>;
|
|
1652
2042
|
explorerRefreshAction: import("vue").ComputedRef<RecordActionItem | undefined>;
|
|
1653
2043
|
mainTreeScopeContext: import("vue").ComputedRef<string | undefined>;
|
|
2044
|
+
recordFormScopeContext: import("vue").ComputedRef<string | undefined>;
|
|
1654
2045
|
treeSearchKeyword: import("vue").Ref<string, string>;
|
|
1655
2046
|
treeReloadKey: import("vue").Ref<number, number>;
|
|
1656
2047
|
explorerExtraActions: import("vue").ComputedRef<RecordActionItem[]>;
|
|
@@ -1661,7 +2052,7 @@ export declare function useModulePageSession(props: ModulePageSessionProps, emit
|
|
|
1661
2052
|
selectedTreeRecord: import("vue").Ref<QueryListRecord | undefined, QueryListRecord | undefined>;
|
|
1662
2053
|
mainTreeTitle: (record: object) => string;
|
|
1663
2054
|
mainTreeSecondary: (record: object) => string | undefined;
|
|
1664
|
-
selectTreeRecord: (record: unknown) => void;
|
|
2055
|
+
selectTreeRecord: (record: unknown, source?: "user" | "assistant" | "background") => void;
|
|
1665
2056
|
clearTreeRecordSelection: () => void;
|
|
1666
2057
|
handleTreeLoaded: (records: unknown[]) => void;
|
|
1667
2058
|
handleTreeSorted: () => void;
|
|
@@ -1674,6 +2065,7 @@ export declare function useModulePageSession(props: ModulePageSessionProps, emit
|
|
|
1674
2065
|
persistentTreeDetail: import("vue").ComputedRef<boolean>;
|
|
1675
2066
|
detailOpen: import("vue").Ref<boolean, boolean>;
|
|
1676
2067
|
enhancementDetailDrawer: import("vue").ComputedRef<ModulePageDetailDrawer | undefined>;
|
|
2068
|
+
detailDrawerWidth: import("vue").ComputedRef<"standard" | "compact" | "narrow" | "wide" | "extraWide">;
|
|
1677
2069
|
closeRecordOnlyDetail: () => void;
|
|
1678
2070
|
closeDetail: () => void;
|
|
1679
2071
|
confirmDetailDrawerClose: () => Promise<boolean>;
|
|
@@ -13,6 +13,7 @@ export declare function useTenantScopeController(context: ModuleContext<QueryLis
|
|
|
13
13
|
tenantScopeExplorerCount: import("vue").ComputedRef<0 | 1>;
|
|
14
14
|
changeTenantScope: (record: QueryListRecord | undefined) => void;
|
|
15
15
|
handleTenantScopeLoaded: (records: QueryListRecord[], initialFullResult?: boolean, total?: number) => void;
|
|
16
|
+
waitForInitialScope: (signal: AbortSignal) => Promise<void>;
|
|
16
17
|
setRequired: (next: boolean) => void;
|
|
17
18
|
};
|
|
18
19
|
export type TenantScopeController = ReturnType<typeof useTenantScopeController>;
|
|
@@ -18,7 +18,9 @@ export declare class FormulaRuntime {
|
|
|
18
18
|
* Evaluates one server-issued FORM_COMPUTE assignment against a draft without mutating it.
|
|
19
19
|
* Applying the returned patch, ordering rules, and user-value ownership remain form-runtime concerns.
|
|
20
20
|
*/
|
|
21
|
-
evaluateFormCompute(program: FormulaProgram | undefined, draft: FormulaRecord, targetValueType?: ViewFieldValueType
|
|
21
|
+
evaluateFormCompute(program: FormulaProgram | undefined, draft: FormulaRecord, targetValueType?: ViewFieldValueType, options?: {
|
|
22
|
+
includeUnchanged?: boolean;
|
|
23
|
+
}): FormulaComputeResult;
|
|
22
24
|
/**
|
|
23
25
|
* Evaluates one server-issued, read-only form predicate. An invalid descriptor fails open so a
|
|
24
26
|
* client cannot claim that an unverified rule was enforced; persistence still reaches the
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import { type HttpRequestOptions } from '../web-core/index';
|
|
1
2
|
export declare function createBackendHttpClient(options?: {
|
|
2
3
|
withAuth?: boolean;
|
|
3
|
-
}):
|
|
4
|
+
}): {
|
|
5
|
+
request<T>(request: HttpRequestOptions): Promise<T>;
|
|
6
|
+
stream(request: HttpRequestOptions): Promise<ReadableStream<Uint8Array<ArrayBufferLike>>>;
|
|
7
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ModuleMenuSession } from './moduleMenuSession';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
session: ModuleMenuSession;
|
|
4
|
+
showSave?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare function save(): Promise<void>;
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
8
|
+
save: typeof save;
|
|
9
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
saved: () => any;
|
|
11
|
+
opened: () => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
onSaved?: (() => any) | undefined;
|
|
14
|
+
onOpened?: (() => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|