@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
|
@@ -3,6 +3,7 @@ import { type ModuleContext } from '../web-core/index';
|
|
|
3
3
|
import type { ReferencePickerConfig } from './referencePickerModel';
|
|
4
4
|
import { type RecordActionItem, type ResolvedRecordActionItem } from './recordActionBarModel';
|
|
5
5
|
import { type QueryListRecord, type RecordQueryListCellComponent, type RecordQueryListColumn, type RecordQueryListMode, type StandardCrudRowActionKey } from './recordQueryListColumnModel';
|
|
6
|
+
import type { RecordQueryListQueryController } from './recordQueryListQueryController';
|
|
6
7
|
export type { QueryListRecord, RecordQueryListCellComponent, RecordQueryListColumn, RecordQueryListMode, StandardCrudRowActionKey, } from './recordQueryListColumnModel';
|
|
7
8
|
declare const _default: typeof __VLS_export;
|
|
8
9
|
export default _default;
|
|
@@ -87,6 +88,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
87
88
|
rowDblclick: (record: QueryListRecord, event: MouseEvent) => any;
|
|
88
89
|
rowExpand: (record: QueryListRecord, expanded: boolean) => any;
|
|
89
90
|
restored: () => any;
|
|
91
|
+
queryControllerChange: (controller: RecordQueryListQueryController | undefined) => any;
|
|
90
92
|
pageSizeChange: (pageSize: number) => any;
|
|
91
93
|
recordActivate: (record: QueryListRecord, event: MouseEvent) => any;
|
|
92
94
|
batchAction: (action: RecordActionItem, records: QueryListRecord[], event: MouseEvent, clearSelection: () => void) => any;
|
|
@@ -171,6 +173,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
171
173
|
onRowDblclick?: ((record: QueryListRecord, event: MouseEvent) => any) | undefined;
|
|
172
174
|
onRowExpand?: ((record: QueryListRecord, expanded: boolean) => any) | undefined;
|
|
173
175
|
onRestored?: (() => any) | undefined;
|
|
176
|
+
onQueryControllerChange?: ((controller: RecordQueryListQueryController | undefined) => any) | undefined;
|
|
174
177
|
onPageSizeChange?: ((pageSize: number) => any) | undefined;
|
|
175
178
|
onRecordActivate?: ((record: QueryListRecord, event: MouseEvent) => any) | undefined;
|
|
176
179
|
onBatchAction?: ((action: RecordActionItem, records: QueryListRecord[], event: MouseEvent, clearSelection: () => void) => any) | undefined;
|
|
@@ -200,8 +203,8 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
200
203
|
embedded: boolean;
|
|
201
204
|
pageable: boolean;
|
|
202
205
|
cellRenderers: Record<string, (record: QueryListRecord) => string>;
|
|
203
|
-
refreshTitle: string;
|
|
204
206
|
refreshable: boolean;
|
|
207
|
+
refreshTitle: string;
|
|
205
208
|
referencePickerOf: (field: QuerySchemaField) => ReferencePickerConfig | undefined;
|
|
206
209
|
additionalColumns: Array<RecordQueryListColumn & {
|
|
207
210
|
before?: string;
|
|
@@ -227,6 +230,11 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
227
230
|
requiredExternalCriteriaKeys: string[];
|
|
228
231
|
waitingDescription: string;
|
|
229
232
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
233
|
+
/** Page/list operations rendered left of query controls. */
|
|
234
|
+
operations?: (props: {
|
|
235
|
+
refresh: () => void;
|
|
236
|
+
}) => unknown;
|
|
237
|
+
/** @deprecated Use operations so the slot names the semantic region instead of its visual container. */
|
|
230
238
|
toolbarActions?: (props: {
|
|
231
239
|
refresh: () => void;
|
|
232
240
|
}) => unknown;
|
|
@@ -116,6 +116,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
116
116
|
pageSize: number;
|
|
117
117
|
pageSizeOptions: number[];
|
|
118
118
|
pageNum: number;
|
|
119
|
+
pages: number;
|
|
119
120
|
titleActionIcon: UiIconName;
|
|
120
121
|
titleActionTitle: string;
|
|
121
122
|
titleActionDisabled: boolean;
|
|
@@ -131,7 +132,6 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
131
132
|
chromeFree: boolean;
|
|
132
133
|
pageable: boolean;
|
|
133
134
|
totalKnown: boolean;
|
|
134
|
-
pages: number;
|
|
135
135
|
paginationDisabled: boolean;
|
|
136
136
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
137
137
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -4,6 +4,7 @@ type __VLS_Props = {
|
|
|
4
4
|
title: string;
|
|
5
5
|
}>;
|
|
6
6
|
activeKey?: string;
|
|
7
|
+
disabled?: boolean;
|
|
7
8
|
};
|
|
8
9
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
10
|
"update:activeKey": (key: string) => any;
|
|
@@ -9,6 +9,7 @@ type __VLS_Props = {
|
|
|
9
9
|
mode?: 'dialog' | 'dropdown';
|
|
10
10
|
columns?: readonly ReferencePickerColumn[];
|
|
11
11
|
placeholder?: string;
|
|
12
|
+
invalid?: boolean;
|
|
12
13
|
disabled?: boolean;
|
|
13
14
|
allowClear?: boolean;
|
|
14
15
|
pageSize?: number;
|
|
@@ -35,6 +36,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
35
36
|
placeholder: string;
|
|
36
37
|
allowClear: boolean;
|
|
37
38
|
multiple: boolean;
|
|
39
|
+
invalid: boolean;
|
|
38
40
|
reloadKey: string | number;
|
|
39
41
|
emptyDescription: string;
|
|
40
42
|
columns: readonly ReferencePickerColumn[];
|
|
@@ -4,6 +4,7 @@ type __VLS_Props = {
|
|
|
4
4
|
refreshable?: boolean;
|
|
5
5
|
mode: 'view' | 'edit' | 'create';
|
|
6
6
|
detailTitle: string;
|
|
7
|
+
detailSubtitle?: string;
|
|
7
8
|
mutedMessage?: string;
|
|
8
9
|
explorerSearchKeyword?: string;
|
|
9
10
|
explorerSearchPlaceholder?: string;
|
|
@@ -44,6 +45,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
44
45
|
"onUpdate:explorerSearchKeyword"?: ((keyword: string) => any) | undefined;
|
|
45
46
|
}>, {
|
|
46
47
|
refreshable: boolean;
|
|
48
|
+
detailSubtitle: string;
|
|
47
49
|
mutedMessage: string;
|
|
48
50
|
explorerSearchKeyword: string;
|
|
49
51
|
explorerSearchPlaceholder: string;
|
|
@@ -2,6 +2,7 @@ import { type UiRecordInlineAction } from '../vue-ui-antdv/index';
|
|
|
2
2
|
import type { ModuleContext } from '../web-core/index';
|
|
3
3
|
import type { RecordExplorerItemDescriptor } from './recordExplorerItemModel';
|
|
4
4
|
import { type TreeRecordBase } from './treeRecordModel';
|
|
5
|
+
import type { RecordTreeQueryController } from './recordTreeQueryController';
|
|
5
6
|
type TreeRecordSearchMode = 'always' | 'collapsible' | 'none';
|
|
6
7
|
type __VLS_Props = {
|
|
7
8
|
context: ModuleContext<TreeRecordBase>;
|
|
@@ -39,16 +40,18 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
|
39
40
|
toggleSearch: typeof toggleSearch;
|
|
40
41
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
41
42
|
action: (action: import("../web-contracts/index").RecordInlineAction, record: TreeRecordBase) => any;
|
|
42
|
-
select: (record: TreeRecordBase) => any;
|
|
43
|
+
select: (record: TreeRecordBase, source?: "assistant" | undefined) => any;
|
|
43
44
|
loaded: (records: TreeRecordBase[]) => any;
|
|
44
45
|
deselect: () => any;
|
|
45
46
|
sorted: () => any;
|
|
47
|
+
queryControllerChange: (controller: RecordTreeQueryController | undefined) => any;
|
|
46
48
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
47
49
|
onAction?: ((action: import("../web-contracts/index").RecordInlineAction, record: TreeRecordBase) => any) | undefined;
|
|
48
|
-
onSelect?: ((record: TreeRecordBase) => any) | undefined;
|
|
50
|
+
onSelect?: ((record: TreeRecordBase, source?: "assistant" | undefined) => any) | undefined;
|
|
49
51
|
onLoaded?: ((records: TreeRecordBase[]) => any) | undefined;
|
|
50
52
|
onDeselect?: (() => any) | undefined;
|
|
51
53
|
onSorted?: (() => any) | undefined;
|
|
54
|
+
onQueryControllerChange?: ((controller: RecordTreeQueryController | undefined) => any) | undefined;
|
|
52
55
|
}>, {
|
|
53
56
|
sortPartitionFields: string[];
|
|
54
57
|
filterOption: (record: TreeRecordBase, normalizedKeyword: string) => boolean;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export {};
|
|
2
|
+
export type { QuerySettlementController } from './querySettlementController';
|
|
2
3
|
export { default as FormulaExpressionEditor } from './FormulaExpressionEditor.vue';
|
|
3
4
|
export type { FormulaExpressionField, FormulaExpressionFunction } from './formulaExpressionTokens';
|
|
4
5
|
export { default as ApplicationScopeSwitcher } from './ApplicationScopeSwitcher.vue';
|
|
@@ -107,6 +108,8 @@ export type { RecordDetailDisplayResolver, RecordDetailDisplayValue } from './re
|
|
|
107
108
|
export type { RecordListExplorerRecord } from './RecordListExplorer.vue';
|
|
108
109
|
export type { QueryListRecord, RecordQueryListCellComponent, RecordQueryListColumn, RecordQueryListMode, StandardCrudRowActionKey, } from './RecordQueryListPanel.vue';
|
|
109
110
|
export { resolveRecordQueryListColumns } from './recordQueryListColumnModel';
|
|
111
|
+
export type { RecordQueryListFilterField, RecordQueryListStandardQuery, RecordQueryListQueryController, RecordQueryListQueryField, RecordQueryListQuerySnapshot, RecordQueryListResultRow, } from './recordQueryListQueryController';
|
|
112
|
+
export type { RecordTreeQueryController, RecordTreeQueryNode, RecordTreeQuerySnapshot, } from './recordTreeQueryController';
|
|
110
113
|
export type { RecordFormFieldDescriptor, RecordFormFieldFallback, RecordFormFieldPickerConfig, RecordFormFieldState, RecordFieldRenderer, RecordFormFieldValue, RecordFormRecord, } from './recordFormFieldModel';
|
|
111
114
|
export type { CrudRecordListBase } from './crudRecordListModel';
|
|
112
115
|
export { defaultCrudRecordListMatches, defaultCrudRecordListSubtitle, defaultCrudRecordListTitle, } from './crudRecordListModel';
|
|
@@ -120,7 +123,7 @@ export { formatPlatformFileSize } from './platformFileSize';
|
|
|
120
123
|
export type { PlatformFileSizeDisplay, PlatformFileSizeOptions } from './platformFileSize';
|
|
121
124
|
export { providePlatformTimeZoneContext, usePlatformTimeZoneContext } from './platformTimeZoneContext';
|
|
122
125
|
export type { PlatformDateTimeDisplay, PlatformDateTimeOptions, PlatformDateTimePrecision, } from './platformDateTime';
|
|
123
|
-
export { applyReferenceDependencyClears, childResourceDefaultFormViewCode, resolveRecordDetailFields, resolveRecordFormFieldNames, resolveRecordBooleanStatusValue, resolveRecordFormFieldState, resolveRecordFormFields, evaluateUiFormula, recordFieldRendererRegistry, } from './recordFormFieldModel';
|
|
126
|
+
export { recordFormInputConstraintError, applyReferenceDependencyClears, referenceDependencyFields, childResourceDefaultFormViewCode, decodeDateTimeLocalEditorValue, decodeNumberEditorValue, resolveRecordDetailFields, resolveRecordFormFieldNames, resolveRecordBooleanStatusValue, resolveRecordEnabledStatusValue, resolveRecordFormFieldState, resolveRecordFormFields, evaluateUiFormula, recordFieldRendererRegistry, } from './recordFormFieldModel';
|
|
124
127
|
export { createQueryScopedTreeModuleContext, createScopedTreeClient, createScopedTreeModuleContext, } from './scopedTreeModuleContext';
|
|
125
128
|
export { createEmptyStaticTreeClient, createStaticTreeResourceModuleContext, } from './staticTreeResourceModuleContext';
|
|
126
129
|
export { presentPlatformError, presentPlatformMessage, presentPlatformSuccess, } from './platformErrorFeedback';
|
|
@@ -143,3 +146,8 @@ export { default as RecordRelationValue } from './RecordRelationValue.vue';
|
|
|
143
146
|
export { default as RecordPermissionDialog } from './RecordPermissionDialog.vue';
|
|
144
147
|
export { ReferencePickerReadError } from './referencePickerReadError';
|
|
145
148
|
export type { ReferencePickerReadErrorKind } from './referencePickerReadError';
|
|
149
|
+
export { parseRecordQueryListStandardQuery } from './recordQueryListStandardQuery';
|
|
150
|
+
export { default as ManagementTabs } from './ManagementTabs.vue';
|
|
151
|
+
export { referenceDisplayProjections } from './recordFormFieldModel';
|
|
152
|
+
export { referencePickerDisplayTitle } from './referencePickerModel';
|
|
153
|
+
export { queryNumericValueSchema } from './queryNumericValue';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { OptionItemDescriptor } from '../web-contracts/index';
|
|
2
2
|
import type { ModuleContext } from '../web-core/index';
|
|
3
|
-
export declare function loadOptionFieldItems(context: ModuleContext<unknown>, fieldName: string, entityAlias?: string, moduleAlias?: string, forceRefresh?: boolean): Promise<OptionItemDescriptor[]>;
|
|
3
|
+
export declare function loadOptionFieldItems(context: Pick<ModuleContext<unknown>, 'moduleAlias' | 'http'>, fieldName: string, entityAlias?: string, moduleAlias?: string, forceRefresh?: boolean): Promise<OptionItemDescriptor[]>;
|
|
@@ -6,4 +6,6 @@ export declare function resolveRecordDetailDisplayValue(field: RecordFormFieldSt
|
|
|
6
6
|
displayOf?: RecordDetailDisplayResolver;
|
|
7
7
|
emptyText?: string;
|
|
8
8
|
optionItems?: OptionItemDescriptor[];
|
|
9
|
+
/** Editable display defaults are not facts about an absent saved value. */
|
|
10
|
+
draft?: boolean;
|
|
9
11
|
}): string;
|
|
@@ -6,6 +6,8 @@ import type { RecordPickerMode } from './recordPickerModel';
|
|
|
6
6
|
import type { ScopedTreePickerProvider } from './scopedTreePickerModel';
|
|
7
7
|
import type { ReferencePickerColumn, ReferencePickerProvider } from './referencePickerModel';
|
|
8
8
|
export type RecordFormFieldDescriptor = (ViewFieldDefinition | ResolvedViewFieldDescriptor) & {
|
|
9
|
+
inputRequirements?: ResolvedViewFieldDescriptor['inputRequirements'];
|
|
10
|
+
calculationTiming?: ResolvedViewFieldDescriptor['calculationTiming'];
|
|
9
11
|
/** Optional during the protocol migration; resolved descriptors take precedence over legacy uiType. */
|
|
10
12
|
fieldControl?: ResolvedFieldControlDescriptor;
|
|
11
13
|
option?: ResolvedOptionFieldDescriptor;
|
|
@@ -27,6 +29,8 @@ export type RecordFormSelectionContext = Record<string, unknown>;
|
|
|
27
29
|
* behavior is identical for regular forms and one-cell-at-a-time child grids.
|
|
28
30
|
*/
|
|
29
31
|
export declare function applyReferenceDependencyClears(record: RecordFormRecord, fieldName: string, value: RecordFormFieldValue, fields: Map<string, RecordFormFieldDescriptor> | undefined): RecordFormRecord;
|
|
32
|
+
/** Includes the changed source and every dependent reference, even through empty values or cycles. */
|
|
33
|
+
export declare function referenceDependencyFields(fieldName: string, fields: ReadonlyMap<string, RecordFormFieldDescriptor>): Set<string>;
|
|
30
34
|
/**
|
|
31
35
|
* Transport values emitted by the standard editor. JSON is deliberately represented as parsed
|
|
32
36
|
* objects/arrays rather than a display string, so dynamic records retain their JSON column
|
|
@@ -92,6 +96,10 @@ export interface RecordFormFieldPickerConfig {
|
|
|
92
96
|
};
|
|
93
97
|
}
|
|
94
98
|
export interface RecordFormFieldState {
|
|
99
|
+
calculationPending?: boolean;
|
|
100
|
+
inputRequirements?: ResolvedViewFieldDescriptor['inputRequirements'];
|
|
101
|
+
calculationTiming?: ResolvedViewFieldDescriptor['calculationTiming'];
|
|
102
|
+
assistantPolicy?: import('../web-contracts/index').AssistantFieldPolicy;
|
|
95
103
|
fieldName: string;
|
|
96
104
|
label: string;
|
|
97
105
|
required: boolean;
|
|
@@ -153,6 +161,7 @@ export declare function resolveRecordFormFieldState(fieldName: string, options?:
|
|
|
153
161
|
pickerConfigs?: Record<string, RecordFormFieldPickerConfig>;
|
|
154
162
|
placeholderOf?: (fieldName: string, field: RecordFormFieldState) => string | undefined;
|
|
155
163
|
record?: RecordFormRecord;
|
|
164
|
+
mode?: 'create' | 'edit' | 'view';
|
|
156
165
|
selectionContext?: RecordFormSelectionContext;
|
|
157
166
|
}): RecordFormFieldState;
|
|
158
167
|
export declare function evaluateUiFormula(formula: UiFormula, record: RecordFormRecord, selectionContext?: RecordFormSelectionContext): boolean;
|
|
@@ -167,6 +176,8 @@ export declare function resolveReferenceSelectionContext(sourceField: string, re
|
|
|
167
176
|
* `enabledStatus` deliberately retains its separate lifecycle default semantics.
|
|
168
177
|
*/
|
|
169
178
|
export declare function resolveRecordBooleanStatusValue(value: unknown): RecordBooleanStatusValue;
|
|
179
|
+
/** The standard editor's opt-out enablement display; does not initialize record data. */
|
|
180
|
+
export declare function resolveRecordEnabledStatusValue(value: unknown): boolean;
|
|
170
181
|
/**
|
|
171
182
|
* Native number inputs emit text. INTEGER is the only standard numeric field that is safe as a
|
|
172
183
|
* JavaScript number; LONG and DECIMAL use an exact textual wire form and are parsed by the
|
|
@@ -179,3 +190,14 @@ export declare function formatDateTimeLocalEditorValue(value: unknown): string |
|
|
|
179
190
|
export declare function decodeDateTimeLocalEditorValue(value: string): string | undefined;
|
|
180
191
|
export declare function formatJsonEditorValue(value: unknown): string | undefined;
|
|
181
192
|
export declare function decodeJsonEditorValue(value: string): JsonValue | undefined;
|
|
193
|
+
export declare function referenceDisplayProjections(reference: RecordFormFieldDescriptor['reference'], record: import('./recordPickerConstraints').RecordPickerRecord | undefined): {
|
|
194
|
+
[x: string]: unknown;
|
|
195
|
+
};
|
|
196
|
+
/** Deliberately conservative Java/JS common subset: flat ASCII atoms, no groups or escapes.
|
|
197
|
+
* Unsupported expressions remain authoritative on the server; never reinterpret Java syntax.
|
|
198
|
+
* At most one variable repetition avoids ambiguous repeated partitions in the browser.
|
|
199
|
+
*/
|
|
200
|
+
export declare function portableFieldPattern(source: string): RegExp | undefined;
|
|
201
|
+
export declare function recordFormRequiredError(field: RecordFormFieldState, value: unknown): string | undefined;
|
|
202
|
+
/** Storage text capacity counts Unicode characters, matching PostgreSQL VARCHAR semantics. */
|
|
203
|
+
export declare function recordFormInputConstraintError(field: RecordFormFieldState, value: unknown): string | undefined;
|
|
@@ -29,11 +29,17 @@ export interface RecordQueryListColumn {
|
|
|
29
29
|
/** Maximum visible lines for text cells. Defaults to one line. */
|
|
30
30
|
maxDisplayLines?: number;
|
|
31
31
|
render?: (record: QueryListRecord) => string;
|
|
32
|
+
/** Explicit list-presentation policy for excluding a visible column from assistant projection. */
|
|
33
|
+
assistantReadable?: boolean;
|
|
34
|
+
assistantPolicy?: ResolvedViewFieldDescriptor['assistantPolicy'];
|
|
32
35
|
}
|
|
33
36
|
export interface RecordQueryListCellComponent {
|
|
34
37
|
key: string;
|
|
35
38
|
component: Component;
|
|
36
39
|
}
|
|
40
|
+
export interface RecordQueryListDisplayContext {
|
|
41
|
+
timeZone?: string;
|
|
42
|
+
}
|
|
37
43
|
/**
|
|
38
44
|
* Compiles the source-neutral resolved list descriptor into the standard table's presentation model.
|
|
39
45
|
*
|
|
@@ -42,3 +48,5 @@ export interface RecordQueryListCellComponent {
|
|
|
42
48
|
* query schema for timestamp and option-title information.
|
|
43
49
|
*/
|
|
44
50
|
export declare function resolveRecordQueryListColumns(view: ResolvedViewDescriptor | undefined, queryFields?: readonly QuerySchemaField[]): RecordQueryListColumn[];
|
|
51
|
+
/** Pure standard-cell projection shared by the rendered list and assistant-visible result summary. */
|
|
52
|
+
export declare function resolveRecordQueryListDisplayValue(record: QueryListRecord, column: RecordQueryListColumn, cellRenderers?: Record<string, (record: QueryListRecord) => string>, context?: RecordQueryListDisplayContext): string;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { QueryValueType, QueryOperator, QueryCriteriaCondition, WebSort, WebQueryRequest } from '../web-contracts/index';
|
|
2
|
+
import type { QuerySettlementController } from './querySettlementController';
|
|
3
|
+
export interface RecordQueryListQueryField {
|
|
4
|
+
name: string;
|
|
5
|
+
title: string;
|
|
6
|
+
valueType: QueryValueType;
|
|
7
|
+
}
|
|
8
|
+
export interface RecordQueryListResultRow {
|
|
9
|
+
id?: string;
|
|
10
|
+
cells: Array<{
|
|
11
|
+
fieldName: string;
|
|
12
|
+
title: string;
|
|
13
|
+
value: unknown;
|
|
14
|
+
}>;
|
|
15
|
+
}
|
|
16
|
+
export interface RecordQueryListQuerySnapshot {
|
|
17
|
+
/** The last successful server query, shared by exports without reconstructing filters. */
|
|
18
|
+
request?: WebQueryRequest;
|
|
19
|
+
mode: 'normal' | 'recycleBin';
|
|
20
|
+
status: 'waiting' | 'loading' | 'ready' | 'error';
|
|
21
|
+
quickSearchEnabled: boolean;
|
|
22
|
+
quickSearchFields: RecordQueryListQueryField[];
|
|
23
|
+
appliedQuickSearch?: string;
|
|
24
|
+
pageNum: number;
|
|
25
|
+
pageSize: number;
|
|
26
|
+
total: number;
|
|
27
|
+
totalKnown: boolean;
|
|
28
|
+
rows: RecordQueryListResultRow[];
|
|
29
|
+
truncated: boolean;
|
|
30
|
+
standardQuery?: {
|
|
31
|
+
fields: RecordQueryListFilterField[];
|
|
32
|
+
sorts: WebSort[];
|
|
33
|
+
conditions: QueryCriteriaCondition[];
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export interface RecordQueryListFilterField extends RecordQueryListQueryField {
|
|
37
|
+
operators: QueryOperator[];
|
|
38
|
+
sortable: boolean;
|
|
39
|
+
options?: Array<string | number | boolean>;
|
|
40
|
+
}
|
|
41
|
+
export interface RecordQueryListStandardQuery {
|
|
42
|
+
conditions: QueryCriteriaCondition[];
|
|
43
|
+
sorts: WebSort[];
|
|
44
|
+
}
|
|
45
|
+
/** Public list-query port used by orchestration adapters without owning list state. */
|
|
46
|
+
export interface RecordQueryListQueryController extends QuerySettlementController<RecordQueryListQuerySnapshot> {
|
|
47
|
+
/** Stable signature of list-owned filters, sorting and pagination; the host owns navigation scope. */
|
|
48
|
+
interactionRevision?(): string;
|
|
49
|
+
applyStandardQuery?(query: RecordQueryListStandardQuery): Promise<RecordQueryListQuerySnapshot>;
|
|
50
|
+
snapshot(): RecordQueryListQuerySnapshot;
|
|
51
|
+
/** Waits until the current reactive query transition and any active load have settled. */
|
|
52
|
+
applyQuickSearch(keyword: string): Promise<RecordQueryListQuerySnapshot>;
|
|
53
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { RecordQueryListFilterField, RecordQueryListStandardQuery } from './recordQueryListQueryController';
|
|
2
|
+
/** Validate the entire replacement before the page commits any query state. */
|
|
3
|
+
export declare function parseRecordQueryListStandardQuery(input: unknown, fields: readonly RecordQueryListFilterField[]): RecordQueryListStandardQuery;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { QuerySettlementController } from './querySettlementController';
|
|
2
|
+
export interface RecordTreeQueryNode {
|
|
3
|
+
selectionKey: string;
|
|
4
|
+
title: string;
|
|
5
|
+
secondary?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface RecordTreeQuerySnapshot {
|
|
8
|
+
status: 'loading' | 'ready' | 'error';
|
|
9
|
+
selectedTitle?: string;
|
|
10
|
+
nodes: RecordTreeQueryNode[];
|
|
11
|
+
truncated: boolean;
|
|
12
|
+
}
|
|
13
|
+
/** Public tree-query port used by orchestration adapters without owning tree state. */
|
|
14
|
+
export interface RecordTreeQueryController extends QuerySettlementController<void> {
|
|
15
|
+
snapshot(): RecordTreeQuerySnapshot;
|
|
16
|
+
/** Selects one node through an opaque key from the current snapshot. */
|
|
17
|
+
select(selectionKey: string): RecordTreeQueryNode;
|
|
18
|
+
}
|
|
@@ -9,7 +9,21 @@ export interface RecycleBinStateOptions<TRecord> {
|
|
|
9
9
|
}
|
|
10
10
|
/** Turns lifecycle facts from the platform into concise operator-facing guidance. */
|
|
11
11
|
export declare function recycleBinRestoreUnavailableReason(item: RecycleBinItem<unknown>): string | undefined;
|
|
12
|
+
type RecycleBinReports = {
|
|
13
|
+
restore: RestoreReport;
|
|
14
|
+
purge: PurgeReport;
|
|
15
|
+
};
|
|
16
|
+
type RecycleBinAction = keyof RecycleBinReports;
|
|
12
17
|
export declare function useRecycleBinState<TRecord>(options: RecycleBinStateOptions<TRecord>): {
|
|
18
|
+
pendingActions: import("vue").ShallowRef<{
|
|
19
|
+
action: RecycleBinAction;
|
|
20
|
+
item: RecycleBinItem<TRecord>;
|
|
21
|
+
report: RestoreReport | PurgeReport;
|
|
22
|
+
}[], {
|
|
23
|
+
action: RecycleBinAction;
|
|
24
|
+
item: RecycleBinItem<TRecord>;
|
|
25
|
+
report: RestoreReport | PurgeReport;
|
|
26
|
+
}[]>;
|
|
13
27
|
items: Ref<{
|
|
14
28
|
record: import("vue").UnwrapRef<TRecord>;
|
|
15
29
|
sourceDeleteOperationId: string | null;
|
|
@@ -29,6 +43,8 @@ export declare function useRecycleBinState<TRecord>(options: RecycleBinStateOpti
|
|
|
29
43
|
acting: Ref<boolean, boolean>;
|
|
30
44
|
actingOperationId: Ref<string | undefined, string | undefined>;
|
|
31
45
|
total: Ref<number, number>;
|
|
46
|
+
totalKnown: Ref<boolean, boolean>;
|
|
47
|
+
pages: Ref<number, number>;
|
|
32
48
|
summaryTotal: Ref<number | undefined, number | undefined>;
|
|
33
49
|
pageNum: Ref<number, number>;
|
|
34
50
|
pageSize: Ref<number, number>;
|
|
@@ -39,3 +55,4 @@ export declare function useRecycleBinState<TRecord>(options: RecycleBinStateOpti
|
|
|
39
55
|
restore: (item: RecycleBinItem<TRecord>, reload?: boolean) => Promise<RestoreReport | undefined>;
|
|
40
56
|
purge: (item: RecycleBinItem<TRecord>, reload?: boolean) => Promise<PurgeReport | undefined>;
|
|
41
57
|
};
|
|
58
|
+
export {};
|
|
@@ -22,6 +22,8 @@ export interface ReferencePickerSourceIdentity {
|
|
|
22
22
|
export interface ReferencePickerCandidate {
|
|
23
23
|
id: ReferencePickerId;
|
|
24
24
|
title: string;
|
|
25
|
+
/** The UI is displaying the persisted identifier because no business title was available. */
|
|
26
|
+
identifierFallback?: boolean;
|
|
25
27
|
subtitle?: string;
|
|
26
28
|
disabled?: boolean;
|
|
27
29
|
unavailable?: boolean;
|
|
@@ -101,3 +103,4 @@ export interface ReferencePickerSelectionSummary {
|
|
|
101
103
|
export declare function normalizeReferencePickerIds(value: ReferencePickerId | readonly ReferencePickerId[] | undefined, multiple: boolean): ReferencePickerId[];
|
|
102
104
|
export declare function referencePickerValue(ids: readonly ReferencePickerId[], multiple: boolean): ReferencePickerId | ReferencePickerId[] | undefined;
|
|
103
105
|
export declare function referencePickerSummary(candidate: ReferencePickerCandidate): ReferencePickerSelectionSummary;
|
|
106
|
+
export declare function referencePickerDisplayTitle(candidate: Pick<ReferencePickerCandidate, 'title' | 'subtitle'>): string;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
content: string;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { AssistantSelectionInteraction, AssistantSelectionOption } from '../web-contracts/index';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
selection: AssistantSelectionInteraction;
|
|
4
|
+
state: 'open' | 'submitting' | 'answered' | 'superseded';
|
|
5
|
+
selectedOptionId?: string;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
select: (option: AssistantSelectionOption) => any;
|
|
9
|
+
abandon: () => any;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
+
onSelect?: ((option: AssistantSelectionOption) => any) | undefined;
|
|
12
|
+
onAbandon?: (() => any) | undefined;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type ConstructionPlanSession } from './constructionPlanSession';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
session: ConstructionPlanSession;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { MenuNavigationTarget, MenuRecord, MenuTab, PageDescriptor, WorkbenchStartupState } from '../web-contracts/index';
|
|
2
|
+
import { type AssistantTurnRequester, type AssistantWorkspaceContribution, type ConstructionPlanClient, type AssistantConversationClient } from '../web-core/index';
|
|
2
3
|
import type { WorkbenchRealtimeStatus } from './realtimeStatus';
|
|
3
4
|
type __VLS_Props = {
|
|
4
5
|
startup?: WorkbenchStartupState;
|
|
@@ -8,14 +9,19 @@ type __VLS_Props = {
|
|
|
8
9
|
lockedTabKeys?: string[];
|
|
9
10
|
realtimeStatus?: WorkbenchRealtimeStatus;
|
|
10
11
|
themeAppearance?: 'light' | 'dark';
|
|
12
|
+
constructionPlanClient?: ConstructionPlanClient;
|
|
13
|
+
assistantConversationClient?: AssistantConversationClient;
|
|
14
|
+
assistantRequestTurn?: AssistantTurnRequester;
|
|
15
|
+
assistantWorkspaceContribution?: AssistantWorkspaceContribution;
|
|
16
|
+
assistantWaitForPageReady?: () => Promise<string>;
|
|
11
17
|
};
|
|
12
|
-
declare var
|
|
18
|
+
declare var __VLS_98: {
|
|
13
19
|
activeTab: MenuTab;
|
|
14
20
|
target: MenuNavigationTarget | undefined;
|
|
15
21
|
pageDescriptor: PageDescriptor | undefined;
|
|
16
22
|
};
|
|
17
23
|
type __VLS_Slots = {} & {
|
|
18
|
-
default?: (props: typeof
|
|
24
|
+
default?: (props: typeof __VLS_98) => any;
|
|
19
25
|
};
|
|
20
26
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
27
|
closeTabs: (keys: string[]) => any;
|
|
@@ -26,6 +32,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
26
32
|
toggleTabLock: (key: string) => any;
|
|
27
33
|
reorderTabs: (keys: string[]) => any;
|
|
28
34
|
refreshPage: (key: string) => any;
|
|
35
|
+
retryLoad: () => any;
|
|
29
36
|
"update:activeTabKey": (key: string) => any;
|
|
30
37
|
userCommand: (key: string) => any;
|
|
31
38
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
@@ -37,6 +44,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
37
44
|
onToggleTabLock?: ((key: string) => any) | undefined;
|
|
38
45
|
onReorderTabs?: ((keys: string[]) => any) | undefined;
|
|
39
46
|
onRefreshPage?: ((key: string) => any) | undefined;
|
|
47
|
+
onRetryLoad?: (() => any) | undefined;
|
|
40
48
|
"onUpdate:activeTabKey"?: ((key: string) => any) | undefined;
|
|
41
49
|
onUserCommand?: ((key: string) => any) | undefined;
|
|
42
50
|
}>, {
|
|
@@ -47,6 +55,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
47
55
|
activeTabKey: string;
|
|
48
56
|
lockedTabKeys: string[];
|
|
49
57
|
themeAppearance: "light" | "dark";
|
|
58
|
+
assistantRequestTurn: AssistantTurnRequester;
|
|
59
|
+
assistantWaitForPageReady: () => Promise<string>;
|
|
50
60
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
51
61
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
52
62
|
declare const _default: typeof __VLS_export;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { AssistantSurfaceRegistry, AssistantConversationClient, AssistantConfigurationEditor } from '../web-core/index';
|
|
2
|
+
import type { ConstructionPlanSession } from './constructionPlanSession';
|
|
3
|
+
import type { ConfigurationCollaboration } from './configurationCollaboration';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
open: boolean;
|
|
6
|
+
registry: AssistantSurfaceRegistry;
|
|
7
|
+
constructionPlan?: ConstructionPlanSession;
|
|
8
|
+
conversationClient?: AssistantConversationClient;
|
|
9
|
+
configurationCollaboration?: ConfigurationCollaboration;
|
|
10
|
+
configurationEditor?: AssistantConfigurationEditor;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
close: () => any;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
onClose?: (() => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function renderAssistantMarkdown(content: string): string;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type AssistantCapability, type AssistantConfigurationTask } from '../web-core/index';
|
|
2
|
+
/** A task's collaboration preference is conversation state, never configuration or save authority. */
|
|
3
|
+
export declare function createConfigurationCollaboration(): {
|
|
4
|
+
task: import("vue").Ref<AssistantConfigurationTask | undefined, AssistantConfigurationTask | undefined>;
|
|
5
|
+
revision: import("vue").Ref<number, number>;
|
|
6
|
+
restore: (value?: AssistantConfigurationTask) => void;
|
|
7
|
+
capabilities: () => AssistantCapability[];
|
|
8
|
+
filter: (capabilities: AssistantCapability[], editorVisible?: boolean) => AssistantCapability<unknown, unknown>[];
|
|
9
|
+
boundary: (editor?: {
|
|
10
|
+
visible: boolean;
|
|
11
|
+
kind?: string;
|
|
12
|
+
openingCapability?: string;
|
|
13
|
+
}) => {
|
|
14
|
+
guidance?: string | undefined;
|
|
15
|
+
editorKind?: string | undefined;
|
|
16
|
+
openingCapability?: string | undefined;
|
|
17
|
+
scope: string;
|
|
18
|
+
appliesTo: string;
|
|
19
|
+
state: string;
|
|
20
|
+
draftEditingAvailable: boolean;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export type ConfigurationCollaboration = ReturnType<typeof createConfigurationCollaboration>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { type ConstructionPlanState } from './constructionPlanGuard';
|
|
2
|
+
import { type AssistantCapability, type ConstructionPlanClient } from '../web-core/index';
|
|
3
|
+
export declare function createConstructionDeliveryCapabilities(client: ConstructionPlanClient, current: () => ConstructionPlanState, onAccepted?: () => Promise<void>): AssistantCapability[];
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type ConstructionPlanState } from './constructionPlanGuard';
|
|
2
|
+
import type { ConstructionFieldResult } from '../web-contracts/index';
|
|
3
|
+
import { type AssistantCapability, type ConstructionPlanClient } from '../web-core/index';
|
|
4
|
+
/** Construction reads current evidence; field edits belong to the shared metadata workspace. */
|
|
5
|
+
export declare function createConstructionFieldCapabilities(client: ConstructionPlanClient, current: () => ConstructionPlanState, accept: (result: ConstructionFieldResult, invalidate?: boolean) => void): AssistantCapability[];
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type ConstructionPlanState } from './constructionPlanGuard';
|
|
2
|
+
import { type AssistantCapability, type ConstructionPlanClient } from '../web-core/index';
|
|
3
|
+
/** Reads historical construction receipts; creation belongs to visible standard management pages. */
|
|
4
|
+
export declare function createConstructionInitializationCapabilities(client: ConstructionPlanClient, current: () => ConstructionPlanState): AssistantCapability[];
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { ConstructionPlanSnapshot } from '../web-contracts/index';
|
|
2
|
+
export interface ConstructionPlanState {
|
|
3
|
+
saved?: ConstructionPlanSnapshot;
|
|
4
|
+
generation: number;
|
|
5
|
+
dirty: boolean;
|
|
6
|
+
editing: boolean;
|
|
7
|
+
}
|
|
8
|
+
/** Bind each construction confirmation to the same reviewed plan and local edit generation. */
|
|
9
|
+
export declare function requireConfirmedConstructionPlan(current: () => ConstructionPlanState): {
|
|
10
|
+
saved: ConstructionPlanSnapshot;
|
|
11
|
+
generation: number;
|
|
12
|
+
isCurrent: () => boolean;
|
|
13
|
+
};
|
|
14
|
+
/** Live catalog: capabilities may outlive a plan revision or restoration. */
|
|
15
|
+
export declare function constructionObjectKeySchema(current: () => ConstructionPlanState): {
|
|
16
|
+
type: string;
|
|
17
|
+
minLength: number;
|
|
18
|
+
maxLength: number;
|
|
19
|
+
description: string;
|
|
20
|
+
readonly enum: string[];
|
|
21
|
+
};
|