@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.
Files changed (186) hide show
  1. package/dist/{BusinessActivityLogView-UC4rH4Fn.js → BusinessActivityLogView-DVzrZW1X.js} +1 -1
  2. package/dist/BusinessLogListDrawer-D-R3wnWr.js +825 -0
  3. package/dist/{LoginAuditLogView-Cjrp8MKX.js → LoginAuditLogView-BP1eaEPw.js} +1 -1
  4. package/dist/{ModuleActionManagementView-Dkb35QXc.js → ModuleActionManagementView-D17iKVQv.js} +214 -196
  5. package/dist/{ModuleGovernanceView-Dx43QvGf.js → ModuleGovernanceView-LkWCtops.js} +13509 -8472
  6. package/dist/{RequestErrorLogView-WnGvMWiF.js → RequestErrorLogView-LzN94-Tk.js} +1 -1
  7. package/dist/{RoleDetailWorkspaceView-DPDb_QOn.js → RoleDetailWorkspaceView-BXA-bzFu.js} +173 -164
  8. package/dist/{RuntimeLogView-BRl4ZDkU.js → RuntimeLogView-DUpu2q2w.js} +48 -81
  9. package/dist/index.css +1 -1
  10. package/dist/index.js +562 -497
  11. package/dist/moduleGovernanceWorkspaceView-COjWtJMr.js +639 -0
  12. package/dist/{platform-components-1cvOeHmo.js → platform-components-Hs3DrTqE.js} +5260 -3344
  13. package/dist/platform-workbench-C-kE-Yqq.js +19755 -0
  14. package/dist/{http-B0TC0pJB.js → sse-Q1wa3p_k.js} +34 -4
  15. package/dist/types/app/CurrentUserProfileDialog.vue.d.ts +1 -1
  16. package/dist/types/app/useWorkbenchMenuRefresh.d.ts +4 -0
  17. package/dist/types/app/workbenchMenuRefresh.d.ts +14 -0
  18. package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +4 -2
  19. package/dist/types/dynamic-page-runtime/ManagedDetailRelationInlineSurface.vue.d.ts +3 -3
  20. package/dist/types/dynamic-page-runtime/ModuleDataExchangeSurface.vue.d.ts +17 -0
  21. package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +712 -22
  22. package/dist/types/dynamic-page-runtime/ModulePageDetailRelations.vue.d.ts +3 -2
  23. package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +782 -60
  24. package/dist/types/dynamic-page-runtime/ModulePageListExpansionSurface.vue.d.ts +1 -0
  25. package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansion.vue.d.ts +1 -0
  26. package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansions.vue.d.ts +1 -0
  27. package/dist/types/dynamic-page-runtime/ModulePageRecordContent.vue.d.ts +5 -2
  28. package/dist/types/dynamic-page-runtime/ModuleRecordDetailActions.vue.d.ts +6 -0
  29. package/dist/types/dynamic-page-runtime/PageNavigatorExplorer.vue.d.ts +9 -7
  30. package/dist/types/dynamic-page-runtime/RecordFormSurface.vue.d.ts +2 -0
  31. package/dist/types/dynamic-page-runtime/assistantBusinessScope.d.ts +3 -0
  32. package/dist/types/dynamic-page-runtime/assistantQueryCapabilities.d.ts +34 -0
  33. package/dist/types/dynamic-page-runtime/assistantRecordEditorPolicy.d.ts +6 -0
  34. package/dist/types/dynamic-page-runtime/composables/useModulePageFormContributionRuntime.d.ts +2 -0
  35. package/dist/types/dynamic-page-runtime/composables/useModulePageListSession.d.ts +1 -0
  36. package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +94 -4
  37. package/dist/types/dynamic-page-runtime/composables/useRecordEditingSession.d.ts +2 -0
  38. package/dist/types/dynamic-page-runtime/formComputeCoordinator.d.ts +2 -0
  39. package/dist/types/dynamic-page-runtime/index.d.ts +1 -0
  40. package/dist/types/dynamic-page-runtime/modulePageAssistantScope.d.ts +20 -0
  41. package/dist/types/dynamic-page-runtime/modulePageAssistantSurface.d.ts +6 -0
  42. package/dist/types/dynamic-page-runtime/recordCreationReadiness.d.ts +17 -0
  43. package/dist/types/dynamic-page-runtime/recordDisplayProjection.d.ts +59 -0
  44. package/dist/types/dynamic-page-runtime/recordFormAssistantCapabilities.d.ts +59 -0
  45. package/dist/types/dynamic-page-runtime/recordFormDraftAccess.d.ts +33 -0
  46. package/dist/types/dynamic-page-runtime/recordMutationPayload.d.ts +2 -2
  47. package/dist/types/dynamic-page-runtime/recordReferenceDisplay.d.ts +8 -0
  48. package/dist/types/dynamic-page-runtime/recordSaveRecovery.d.ts +12 -0
  49. package/dist/types/dynamic-page-runtime/relationDraftAssistantCapabilities.d.ts +9 -0
  50. package/dist/types/dynamic-page-runtime/relationDraftController.d.ts +23 -0
  51. package/dist/types/dynamic-page-runtime/relationFormComputeCoordinator.d.ts +1 -0
  52. package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +404 -12
  53. package/dist/types/dynamic-page-runtime/useTenantScopeController.d.ts +1 -0
  54. package/dist/types/formula/FormulaRuntime.d.ts +3 -1
  55. package/dist/types/platform-admin-runtime/backendHttp.d.ts +5 -1
  56. package/dist/types/platform-admin-runtime/module-menu/ModuleMenuEditor.vue.d.ts +17 -0
  57. package/dist/types/platform-admin-runtime/module-menu/ModuleMenuGovernanceSurface.vue.d.ts +6 -0
  58. package/dist/types/platform-admin-runtime/module-menu/moduleMenuClient.d.ts +6 -2
  59. package/dist/types/platform-admin-runtime/module-menu/moduleMenuReceiptStore.d.ts +5 -0
  60. package/dist/types/platform-admin-runtime/module-menu/moduleMenuSession.d.ts +61 -0
  61. package/dist/types/platform-admin-runtime/module-menu/moduleMenuWorkspace.d.ts +180 -0
  62. package/dist/types/platform-admin-runtime/workspaceViewSessions.d.ts +1 -1
  63. package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +11 -7
  64. package/dist/types/platform-components/DictionaryPicker.vue.d.ts +2 -0
  65. package/dist/types/platform-components/FileTransferUploader.vue.d.ts +1 -1
  66. package/dist/types/platform-components/ManagementPanelHeader.vue.d.ts +6 -4
  67. package/dist/types/platform-components/ManagementTabs.vue.d.ts +20 -0
  68. package/dist/types/platform-components/ObjectPickerInput.vue.d.ts +2 -0
  69. package/dist/types/platform-components/QueryValueEditor.vue.d.ts +1 -1
  70. package/dist/types/platform-components/RecordDetailFields.vue.d.ts +1 -1
  71. package/dist/types/platform-components/RecordExplorerPanel.vue.d.ts +15 -9
  72. package/dist/types/platform-components/RecordExplorerTools.vue.d.ts +27 -0
  73. package/dist/types/platform-components/RecordFormFields.vue.d.ts +5 -1
  74. package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +2 -2
  75. package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +2 -0
  76. package/dist/types/platform-components/RecordPicker.vue.d.ts +2 -0
  77. package/dist/types/platform-components/RecordQueryListCell.vue.d.ts +1 -1
  78. package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +9 -1
  79. package/dist/types/platform-components/RecordQueryListSurface.vue.d.ts +1 -1
  80. package/dist/types/platform-components/RecordRelationTabs.vue.d.ts +1 -0
  81. package/dist/types/platform-components/ReferencePicker.vue.d.ts +2 -0
  82. package/dist/types/platform-components/StaticManagementLayout.vue.d.ts +2 -0
  83. package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +5 -2
  84. package/dist/types/platform-components/index.d.ts +9 -1
  85. package/dist/types/platform-components/optionFieldOptionCache.d.ts +1 -1
  86. package/dist/types/platform-components/queryNumericValue.d.ts +3 -0
  87. package/dist/types/platform-components/querySettlementController.d.ts +5 -0
  88. package/dist/types/platform-components/recordDetailFieldModel.d.ts +2 -0
  89. package/dist/types/platform-components/recordFormFieldModel.d.ts +22 -0
  90. package/dist/types/platform-components/recordQueryListColumnModel.d.ts +8 -0
  91. package/dist/types/platform-components/recordQueryListQueryController.d.ts +53 -0
  92. package/dist/types/platform-components/recordQueryListStandardQuery.d.ts +3 -0
  93. package/dist/types/platform-components/recordTreeQueryController.d.ts +18 -0
  94. package/dist/types/platform-components/recycleBinState.d.ts +17 -0
  95. package/dist/types/platform-components/referencePickerModel.d.ts +3 -0
  96. package/dist/types/platform-workbench/AssistantMarkdownContent.vue.d.ts +6 -0
  97. package/dist/types/platform-workbench/AssistantSelectionCard.vue.d.ts +15 -0
  98. package/dist/types/platform-workbench/ConstructionPlanCard.vue.d.ts +8 -0
  99. package/dist/types/platform-workbench/Workbench.vue.d.ts +12 -2
  100. package/dist/types/platform-workbench/WorkbenchAssistantPanel.vue.d.ts +18 -0
  101. package/dist/types/platform-workbench/assistantMarkdown.d.ts +1 -0
  102. package/dist/types/platform-workbench/configurationCollaboration.d.ts +23 -0
  103. package/dist/types/platform-workbench/constructionDelivery.d.ts +3 -0
  104. package/dist/types/platform-workbench/constructionFields.d.ts +5 -0
  105. package/dist/types/platform-workbench/constructionInitialization.d.ts +4 -0
  106. package/dist/types/platform-workbench/constructionPlanGuard.d.ts +21 -0
  107. package/dist/types/platform-workbench/constructionPlanSession.d.ts +95 -0
  108. package/dist/types/platform-workbench/constructionReferenceDiscovery.d.ts +3 -0
  109. package/dist/types/platform-workbench/index.d.ts +1 -0
  110. package/dist/types/platform-workbench/useAssistantConversation.d.ts +360 -0
  111. package/dist/types/platform-workbench/useAssistantConversationArchive.d.ts +47 -0
  112. package/dist/types/platform-workbench/workbenchAssistantCapabilities.d.ts +22 -0
  113. package/dist/types/views/BusinessLogRetentionControl.vue.d.ts +7 -0
  114. package/dist/types/views/MetadataSourceTree.vue.d.ts +7 -3
  115. package/dist/types/views/ModuleRuntimeActivationStatus.vue.d.ts +11 -0
  116. package/dist/types/views/PageCompositionDescriptorPreview.vue.d.ts +8 -8
  117. package/dist/types/views/PageCompositionEditor.vue.d.ts +10 -0
  118. package/dist/types/views/PageCompositionTree.vue.d.ts +19 -13
  119. package/dist/types/views/businessLogClient.d.ts +3 -0
  120. package/dist/types/views/businessLogRetentionClient.d.ts +25 -0
  121. package/dist/types/views/businessRuleAssistantSurface.d.ts +7 -0
  122. package/dist/types/views/businessRuleEditor.d.ts +22 -0
  123. package/dist/types/views/businessRuleGovernance.d.ts +7 -1
  124. package/dist/types/views/businessRuleSession.d.ts +63 -0
  125. package/dist/types/views/businessRuleWorkspace.d.ts +144 -0
  126. package/dist/types/views/configurationEditorNavigation.d.ts +2 -0
  127. package/dist/types/views/metadataChangeSetSubmission.d.ts +10 -0
  128. package/dist/types/views/metadataEditorSession.d.ts +652 -0
  129. package/dist/types/views/metadataGovernanceAssistantSurface.d.ts +4 -0
  130. package/dist/types/views/metadataGovernanceEditor.d.ts +220 -0
  131. package/dist/types/views/metadataModelChangeSetClient.d.ts +36 -0
  132. package/dist/types/views/metadataModelEditSession.d.ts +26 -1
  133. package/dist/types/views/metadataNaming.d.ts +11 -1
  134. package/dist/types/views/metadataOrchestrationState.d.ts +22 -0
  135. package/dist/types/views/metadataWorkspace.d.ts +1316 -0
  136. package/dist/types/views/moduleGovernanceWorkspaceView.d.ts +1 -1
  137. package/dist/types/views/moduleRuntimeActivation.d.ts +11 -0
  138. package/dist/types/views/pageCompositionAssistantSurface.d.ts +27 -0
  139. package/dist/types/views/pageCompositionCandidate.d.ts +47 -0
  140. package/dist/types/views/pageCompositionComponents.d.ts +42 -0
  141. package/dist/types/views/pageCompositionDraftState.d.ts +277 -8
  142. package/dist/types/views/pageCompositionDragPayload.d.ts +7 -1
  143. package/dist/types/views/pageCompositionMode.d.ts +1 -1
  144. package/dist/types/views/pageCompositionPlacement.d.ts +6 -1
  145. package/dist/types/views/pageCompositionPublication.d.ts +37 -0
  146. package/dist/types/views/pageCompositionSession.d.ts +1341 -0
  147. package/dist/types/views/pageCompositionWorkspace.d.ts +2555 -0
  148. package/dist/types/views/roleAuthorizationWorkspaceSession.d.ts +1 -1
  149. package/dist/types/views/roleDetailWorkspaceSession.d.ts +1 -1
  150. package/dist/types/views/runtimeLogSse.d.ts +3 -13
  151. package/dist/types/views/usePageCompositionComponents.d.ts +68 -0
  152. package/dist/types/vue-ui-antdv/components/UiInput.vue.d.ts +1 -0
  153. package/dist/types/vue-ui-antdv/components/UiSearchInput.vue.d.ts +2 -0
  154. package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +2 -0
  155. package/dist/types/vue-ui-antdv/components/UiTextArea.vue.d.ts +4 -0
  156. package/dist/types/vue-ui-antdv/components/UiTreeSelect.vue.d.ts +2 -0
  157. package/dist/types/vue-ui-antdv/types.d.ts +4 -0
  158. package/dist/types/web-contracts/assistant.d.ts +87 -0
  159. package/dist/types/web-contracts/constructionPlan.d.ts +212 -0
  160. package/dist/types/web-contracts/index.d.ts +33 -0
  161. package/dist/types/web-contracts/operation.d.ts +33 -0
  162. package/dist/types/web-contracts/referenceTarget.d.ts +13 -0
  163. package/dist/types/web-core/assistantCapabilityCatalog.d.ts +22 -0
  164. package/dist/types/web-core/assistantCatalogPage.d.ts +12 -0
  165. package/dist/types/web-core/assistantConfirmation.d.ts +23 -0
  166. package/dist/types/web-core/assistantConversationClient.d.ts +42 -0
  167. package/dist/types/web-core/assistantRuntime.d.ts +123 -0
  168. package/dist/types/web-core/assistantSurface.d.ts +162 -0
  169. package/dist/types/web-core/assistantTurnClient.d.ts +16 -0
  170. package/dist/types/web-core/constructionPlanClient.d.ts +55 -0
  171. package/dist/types/web-core/errors.d.ts +2 -0
  172. package/dist/types/web-core/http.d.ts +1 -0
  173. package/dist/types/web-core/index.d.ts +12 -0
  174. package/dist/types/web-core/module/dataExchangeClient.d.ts +53 -0
  175. package/dist/types/web-core/module/index.d.ts +1 -0
  176. package/dist/types/web-core/module/staticModuleClient.d.ts +12 -2
  177. package/dist/types/web-core/operationConfirmation.d.ts +28 -0
  178. package/dist/types/web-core/operationErrors.d.ts +9 -0
  179. package/dist/types/web-core/operationReceipt.d.ts +10 -0
  180. package/dist/types/web-core/sse.d.ts +9 -0
  181. package/dist/types/web-core/uuid.d.ts +2 -0
  182. package/dist/{workspaceViews-CCg6V0pr.js → workspaceViews-CHsgLFwY.js} +783 -1189
  183. package/package.json +1 -1
  184. package/dist/BusinessLogListDrawer-BtaXVJKz.js +0 -564
  185. package/dist/moduleGovernanceWorkspaceView-4V_UW-Bt.js +0 -40
  186. package/dist/platform-workbench-Cu14Xd9d.js +0 -10299
@@ -0,0 +1,95 @@
1
+ import type { ConstructionTask, ConstructionPlanContent, ConstructionPlanSnapshot, ConstructionPlanSummary } from '../web-contracts/index';
2
+ import { type AssistantCapability, type AssistantOperationProposal, type ConstructionPlanClient } from '../web-core/index';
3
+ declare const listKeys: readonly ["inScope", "outOfScope", "relationships", "rules", "questions", "assumptions", "acceptanceExamples"];
4
+ export declare const planSections: Record<(typeof listKeys)[number], string>;
5
+ export declare const constructionPlanContentSchema: {
6
+ type: string;
7
+ additionalProperties: boolean;
8
+ required: string[];
9
+ properties: Record<string, unknown>;
10
+ };
11
+ export declare function parseConstructionPlan(value: unknown): ConstructionPlanContent;
12
+ export declare function presentConstructionPlan(content: ConstructionPlanContent): {
13
+ title: string;
14
+ sections: {
15
+ title: string;
16
+ expanded: boolean;
17
+ lines: string[];
18
+ }[];
19
+ lines: string[];
20
+ };
21
+ export declare function createConstructionPlanSession(client: ConstructionPlanClient, identity: () => string, governanceAvailable?: () => boolean): {
22
+ task: import("vue").ShallowRef<ConstructionTask | undefined, ConstructionTask | undefined>;
23
+ currentTask: () => ConstructionTask | undefined;
24
+ readTask: () => Promise<ConstructionTask>;
25
+ resetConversation: (planId?: string) => void;
26
+ state: import("vue").ShallowRef<{
27
+ planId?: string;
28
+ saved?: ConstructionPlanSnapshot;
29
+ candidate?: ConstructionPlanContent;
30
+ generation: number;
31
+ reviewRequired?: boolean;
32
+ }, {
33
+ planId?: string;
34
+ saved?: ConstructionPlanSnapshot;
35
+ candidate?: ConstructionPlanContent;
36
+ generation: number;
37
+ reviewRequired?: boolean;
38
+ }>;
39
+ manualEditing: import("vue").ShallowRef<boolean, boolean>;
40
+ beginManualEdit: () => void;
41
+ cancelManualEdit: () => void;
42
+ savedPlans: import("vue").ShallowRef<ConstructionPlanSummary[], ConstructionPlanSummary[]>;
43
+ recovery: import("vue").ShallowRef<(() => Promise<unknown>) | undefined, (() => Promise<unknown>) | undefined>;
44
+ history: () => Promise<ConstructionPlanSnapshot[]>;
45
+ changes: () => string[];
46
+ current: () => {
47
+ planId?: string;
48
+ saved?: ConstructionPlanSnapshot;
49
+ candidate?: ConstructionPlanContent;
50
+ generation: number;
51
+ reviewRequired?: boolean;
52
+ };
53
+ dirty: () => boolean;
54
+ edit: (value: unknown) => void;
55
+ editManually: (value: unknown) => void;
56
+ revise: (value: unknown) => void;
57
+ discardCandidate: () => void;
58
+ listSaved: () => Promise<ConstructionPlanSummary[]>;
59
+ restore: (id: string, isCurrent?: () => boolean) => Promise<void>;
60
+ prepare: () => AssistantOperationProposal;
61
+ capabilities: () => AssistantCapability[];
62
+ progress(objectKey: string): Promise<import("../web-contracts/index").ConstructionProgress>;
63
+ facts: () => {
64
+ generation: number;
65
+ task: ConstructionTask | undefined;
66
+ planId: string | undefined;
67
+ revision: number;
68
+ candidate: ConstructionPlanContent | undefined;
69
+ configurationSource: string;
70
+ deliveredObjectKeys: string[];
71
+ dirty: boolean;
72
+ persistence: string;
73
+ persistenceExplanation: string;
74
+ manualEditing: boolean;
75
+ reviewRequired: boolean;
76
+ confirmationResultUnknown: boolean;
77
+ constructionStatus: "NOT_STARTED" | "LINKED" | "INITIALIZED" | "PARTIALLY_DELIVERED" | "DELIVERED";
78
+ initializations: import("../web-contracts/index").ConstructionInitialization[];
79
+ moduleBindings: {
80
+ objectKey: string;
81
+ moduleAlias: string;
82
+ }[];
83
+ fieldChanges: import("../web-contracts/index").ConstructionFieldReceipt[];
84
+ deliveries: import("../web-contracts/index").ConstructionDeliveryReceipt[];
85
+ confirmationIsNotPublication: boolean;
86
+ governanceAvailable: boolean;
87
+ };
88
+ };
89
+ export type ConstructionPlanSession = ReturnType<typeof createConstructionPlanSession>;
90
+ /** Legacy snapshots retain receipt identity only until a plan explicitly associates its standard modules. */
91
+ export declare function constructionPlanBindings(snapshot?: ConstructionPlanSnapshot): {
92
+ objectKey: string;
93
+ moduleAlias: string;
94
+ }[];
95
+ export {};
@@ -0,0 +1,3 @@
1
+ import { type AssistantCapability, type ConstructionPlanClient } from '../web-core/index';
2
+ /** Reads the public configuration catalog; does not create or adopt existing modules. */
3
+ export declare function createConstructionReferenceDiscoveryCapabilities(client: ConstructionPlanClient): AssistantCapability[];
@@ -1,4 +1,5 @@
1
1
  export { default as Workbench } from './Workbench.vue';
2
+ export { default as WorkbenchAssistantPanel } from './WorkbenchAssistantPanel.vue';
2
3
  export { default as WorkbenchMenu } from './WorkbenchMenu.vue';
3
4
  export { default as WorkbenchOutlet } from './WorkbenchOutlet.vue';
4
5
  export { default as WorkspaceViewOutlet } from './WorkspaceViewOutlet.vue';
@@ -0,0 +1,360 @@
1
+ import type { AssistantConversationClient } from '../web-core/index';
2
+ import type { ConfigurationCollaboration } from './configurationCollaboration';
3
+ import type { ConstructionPlanSession } from './constructionPlanSession';
4
+ import type { AssistantSelectionInteraction, AssistantSelectionOption, AssistantResultPresentation } from '../web-contracts/index';
5
+ import { type AssistantSurfaceRegistry, type AssistantOperationConfirmation, type AssistantConfirmationState, type AssistantInvocationToken } from '../web-core/index';
6
+ interface ConversationItem {
7
+ id: number;
8
+ role: 'user' | 'assistant' | 'status';
9
+ text: string;
10
+ selection?: ConversationSelection;
11
+ confirmation?: AssistantOperationConfirmation;
12
+ confirmationState?: AssistantConfirmationState;
13
+ confirmationScope?: string;
14
+ confirmationUserGoal?: string;
15
+ diagnostic?: string;
16
+ details?: AssistantResultPresentation['details'];
17
+ }
18
+ interface ConversationSelection {
19
+ value: AssistantSelectionInteraction;
20
+ token?: AssistantInvocationToken;
21
+ state: 'open' | 'submitting' | 'answered' | 'superseded';
22
+ selectedOptionId?: string;
23
+ retryable?: boolean;
24
+ }
25
+ export declare function useAssistantConversation(props: {
26
+ open: boolean;
27
+ registry: AssistantSurfaceRegistry;
28
+ conversationClient?: AssistantConversationClient;
29
+ constructionPlan?: ConstructionPlanSession;
30
+ configurationCollaboration?: ConfigurationCollaboration;
31
+ }): {
32
+ archive: {
33
+ enabled: boolean;
34
+ id: import("vue").Ref<string | undefined, string | undefined>;
35
+ title: import("vue").Ref<string, string>;
36
+ status: import("vue").Ref<"idle" | "saved" | "saving" | "unsaved" | "restored", "idle" | "saved" | "saving" | "unsaved" | "restored">;
37
+ saveError: import("vue").Ref<string, string>;
38
+ readError: import("vue").Ref<{
39
+ kind: "list";
40
+ more: boolean;
41
+ message: string;
42
+ } | {
43
+ kind: "open";
44
+ id: string;
45
+ message: string;
46
+ } | undefined, {
47
+ kind: "list";
48
+ more: boolean;
49
+ message: string;
50
+ } | {
51
+ kind: "open";
52
+ id: string;
53
+ message: string;
54
+ } | undefined>;
55
+ retryRead(): Promise<void> | undefined;
56
+ loading: import("vue").Ref<boolean, boolean>;
57
+ ready: import("vue").Ref<boolean, boolean>;
58
+ historyOpen: import("vue").Ref<boolean, boolean>;
59
+ entries: import("vue").Ref<{
60
+ id: string;
61
+ title: string;
62
+ updatedAt: string;
63
+ }[], import("../web-core/index").AssistantConversationSummary[] | {
64
+ id: string;
65
+ title: string;
66
+ updatedAt: string;
67
+ }[]>;
68
+ hasMore: import("vue").Ref<boolean, boolean>;
69
+ changeScope: (value: string | undefined) => void;
70
+ save: () => Promise<boolean>;
71
+ list: (more?: boolean) => Promise<void>;
72
+ open: (conversationId: string) => Promise<void>;
73
+ startNew: () => Promise<void>;
74
+ saveCopy: () => Promise<void>;
75
+ discardAndStartNew: () => void;
76
+ };
77
+ restored: import("vue").Ref<boolean, boolean>;
78
+ linkedPlanId: import("vue").Ref<string | undefined, string | undefined>;
79
+ draft: import("vue").Ref<string, string>;
80
+ restoredThroughId: import("vue").Ref<number, number>;
81
+ restoredRequest: import("vue").Ref<string, string>;
82
+ recoveryRequest: import("vue").ComputedRef<string>;
83
+ recoveryReadOnly: import("vue").ComputedRef<boolean>;
84
+ adjustRequest: () => void;
85
+ continueConversation: () => void;
86
+ items: import("vue").Ref<{
87
+ id: number;
88
+ role: "user" | "assistant" | "status";
89
+ text: string;
90
+ selection?: {
91
+ value: {
92
+ interactionId: string;
93
+ prompt: string;
94
+ inputPolicy: "free_text_allowed" | "selection_required";
95
+ presentation: "options" | "confirmation";
96
+ options: {
97
+ id: string;
98
+ label: string;
99
+ }[];
100
+ };
101
+ token?: {
102
+ identityScopeKey?: string | undefined;
103
+ executionScopePending?: boolean | undefined;
104
+ executionScopeKey?: string | undefined;
105
+ pageInstanceKey: string;
106
+ surfaceGeneration: number;
107
+ readStateRevision?: number | undefined;
108
+ contextRevision: string;
109
+ interactionRevision?: string | undefined;
110
+ fallback: boolean;
111
+ } | undefined;
112
+ state: "open" | "submitting" | "answered" | "superseded";
113
+ selectedOptionId?: string | undefined;
114
+ retryable?: boolean | undefined;
115
+ } | undefined;
116
+ confirmation?: {
117
+ readonly modelSummary: string;
118
+ readonly receiptReference?: {
119
+ kind: "record-save";
120
+ moduleAlias: string;
121
+ requestId: string;
122
+ tenantId?: string | undefined;
123
+ menuId?: string | undefined;
124
+ pageContext?: Record<string, string> | undefined;
125
+ pageSelection?: {
126
+ kind: string;
127
+ key: string;
128
+ } | undefined;
129
+ } | {
130
+ kind: "child-metadata";
131
+ moduleAlias: string;
132
+ relationId: string;
133
+ requestId: string;
134
+ } | {
135
+ kind: "page-publication";
136
+ variantId: string;
137
+ revisionId: string;
138
+ contentDigest: string;
139
+ } | undefined;
140
+ readonly continuationReadOnly?: boolean | undefined;
141
+ readonly continuationIsCurrent?: (() => boolean) | undefined;
142
+ takeContinuation: () => string | undefined;
143
+ readonly confirmLabel: string;
144
+ readonly presentation: {
145
+ title: string;
146
+ lines: string[];
147
+ details?: {
148
+ title: string;
149
+ lines: string[];
150
+ } | undefined;
151
+ };
152
+ readonly state: AssistantConfirmationState;
153
+ readonly result: {
154
+ title: string;
155
+ lines: string[];
156
+ details?: {
157
+ title: string;
158
+ lines: string[];
159
+ } | undefined;
160
+ } | undefined;
161
+ confirm: () => Promise<void>;
162
+ check: () => Promise<void>;
163
+ cancel: () => void;
164
+ } | undefined;
165
+ confirmationState?: AssistantConfirmationState | undefined;
166
+ confirmationScope?: string | undefined;
167
+ confirmationUserGoal?: string | undefined;
168
+ diagnostic?: string | undefined;
169
+ details?: {
170
+ title: string;
171
+ lines: string[];
172
+ } | undefined;
173
+ }[], ConversationItem[] | {
174
+ id: number;
175
+ role: "user" | "assistant" | "status";
176
+ text: string;
177
+ selection?: {
178
+ value: {
179
+ interactionId: string;
180
+ prompt: string;
181
+ inputPolicy: "free_text_allowed" | "selection_required";
182
+ presentation: "options" | "confirmation";
183
+ options: {
184
+ id: string;
185
+ label: string;
186
+ }[];
187
+ };
188
+ token?: {
189
+ identityScopeKey?: string | undefined;
190
+ executionScopePending?: boolean | undefined;
191
+ executionScopeKey?: string | undefined;
192
+ pageInstanceKey: string;
193
+ surfaceGeneration: number;
194
+ readStateRevision?: number | undefined;
195
+ contextRevision: string;
196
+ interactionRevision?: string | undefined;
197
+ fallback: boolean;
198
+ } | undefined;
199
+ state: "open" | "submitting" | "answered" | "superseded";
200
+ selectedOptionId?: string | undefined;
201
+ retryable?: boolean | undefined;
202
+ } | undefined;
203
+ confirmation?: {
204
+ readonly modelSummary: string;
205
+ readonly receiptReference?: {
206
+ kind: "record-save";
207
+ moduleAlias: string;
208
+ requestId: string;
209
+ tenantId?: string | undefined;
210
+ menuId?: string | undefined;
211
+ pageContext?: Record<string, string> | undefined;
212
+ pageSelection?: {
213
+ kind: string;
214
+ key: string;
215
+ } | undefined;
216
+ } | {
217
+ kind: "child-metadata";
218
+ moduleAlias: string;
219
+ relationId: string;
220
+ requestId: string;
221
+ } | {
222
+ kind: "page-publication";
223
+ variantId: string;
224
+ revisionId: string;
225
+ contentDigest: string;
226
+ } | undefined;
227
+ readonly continuationReadOnly?: boolean | undefined;
228
+ readonly continuationIsCurrent?: (() => boolean) | undefined;
229
+ takeContinuation: () => string | undefined;
230
+ readonly confirmLabel: string;
231
+ readonly presentation: {
232
+ title: string;
233
+ lines: string[];
234
+ details?: {
235
+ title: string;
236
+ lines: string[];
237
+ } | undefined;
238
+ };
239
+ readonly state: AssistantConfirmationState;
240
+ readonly result: {
241
+ title: string;
242
+ lines: string[];
243
+ details?: {
244
+ title: string;
245
+ lines: string[];
246
+ } | undefined;
247
+ } | undefined;
248
+ confirm: () => Promise<void>;
249
+ check: () => Promise<void>;
250
+ cancel: () => void;
251
+ } | undefined;
252
+ confirmationState?: AssistantConfirmationState | undefined;
253
+ confirmationScope?: string | undefined;
254
+ confirmationUserGoal?: string | undefined;
255
+ diagnostic?: string | undefined;
256
+ details?: {
257
+ title: string;
258
+ lines: string[];
259
+ } | undefined;
260
+ }[]>;
261
+ busy: import("vue").Ref<boolean, boolean>;
262
+ activityText: import("vue").ComputedRef<"正在执行页面操作…" | "正在组织回复…" | "正在取消…" | "正在理解你的目标…">;
263
+ operationPending: import("vue").Ref<boolean, boolean>;
264
+ activeRequiredSelection: import("vue").ComputedRef<{
265
+ id: number;
266
+ role: "user" | "assistant" | "status";
267
+ text: string;
268
+ selection?: {
269
+ value: {
270
+ interactionId: string;
271
+ prompt: string;
272
+ inputPolicy: "free_text_allowed" | "selection_required";
273
+ presentation: "options" | "confirmation";
274
+ options: {
275
+ id: string;
276
+ label: string;
277
+ }[];
278
+ };
279
+ token?: {
280
+ identityScopeKey?: string | undefined;
281
+ executionScopePending?: boolean | undefined;
282
+ executionScopeKey?: string | undefined;
283
+ pageInstanceKey: string;
284
+ surfaceGeneration: number;
285
+ readStateRevision?: number | undefined;
286
+ contextRevision: string;
287
+ interactionRevision?: string | undefined;
288
+ fallback: boolean;
289
+ } | undefined;
290
+ state: "open" | "submitting" | "answered" | "superseded";
291
+ selectedOptionId?: string | undefined;
292
+ retryable?: boolean | undefined;
293
+ } | undefined;
294
+ confirmation?: {
295
+ readonly modelSummary: string;
296
+ readonly receiptReference?: {
297
+ kind: "record-save";
298
+ moduleAlias: string;
299
+ requestId: string;
300
+ tenantId?: string | undefined;
301
+ menuId?: string | undefined;
302
+ pageContext?: Record<string, string> | undefined;
303
+ pageSelection?: {
304
+ kind: string;
305
+ key: string;
306
+ } | undefined;
307
+ } | {
308
+ kind: "child-metadata";
309
+ moduleAlias: string;
310
+ relationId: string;
311
+ requestId: string;
312
+ } | {
313
+ kind: "page-publication";
314
+ variantId: string;
315
+ revisionId: string;
316
+ contentDigest: string;
317
+ } | undefined;
318
+ readonly continuationReadOnly?: boolean | undefined;
319
+ readonly continuationIsCurrent?: (() => boolean) | undefined;
320
+ takeContinuation: () => string | undefined;
321
+ readonly confirmLabel: string;
322
+ readonly presentation: {
323
+ title: string;
324
+ lines: string[];
325
+ details?: {
326
+ title: string;
327
+ lines: string[];
328
+ } | undefined;
329
+ };
330
+ readonly state: AssistantConfirmationState;
331
+ readonly result: {
332
+ title: string;
333
+ lines: string[];
334
+ details?: {
335
+ title: string;
336
+ lines: string[];
337
+ } | undefined;
338
+ } | undefined;
339
+ confirm: () => Promise<void>;
340
+ check: () => Promise<void>;
341
+ cancel: () => void;
342
+ } | undefined;
343
+ confirmationState?: AssistantConfirmationState | undefined;
344
+ confirmationScope?: string | undefined;
345
+ confirmationUserGoal?: string | undefined;
346
+ diagnostic?: string | undefined;
347
+ details?: {
348
+ title: string;
349
+ lines: string[];
350
+ } | undefined;
351
+ } | undefined>;
352
+ submit: () => void;
353
+ cancel: () => void;
354
+ abandonSelection: (item: ConversationItem) => void;
355
+ selectOption: (item: ConversationItem, option: AssistantSelectionOption) => void;
356
+ handleKeydown: (event: KeyboardEvent) => void;
357
+ confirmOperation: (item: ConversationItem, check?: boolean) => Promise<void>;
358
+ cancelOperation: (item: ConversationItem) => void;
359
+ };
360
+ export {};
@@ -0,0 +1,47 @@
1
+ import type { AssistantConversationClient, AssistantConversationContent, AssistantConversationSummary } from '../web-core/index';
2
+ /** Serializes checkpoints; scope generations prevent late reads/writes from replacing another conversation. */
3
+ export declare function useAssistantConversationArchive(client: AssistantConversationClient | undefined, content: () => AssistantConversationContent, restore: (content: AssistantConversationContent) => void | Promise<void>, clear: () => void, leaveBlockedReason?: () => string | undefined): {
4
+ enabled: boolean;
5
+ id: import("vue").Ref<string | undefined, string | undefined>;
6
+ title: import("vue").Ref<string, string>;
7
+ status: import("vue").Ref<"idle" | "saved" | "saving" | "unsaved" | "restored", "idle" | "saved" | "saving" | "unsaved" | "restored">;
8
+ saveError: import("vue").Ref<string, string>;
9
+ readError: import("vue").Ref<{
10
+ kind: "list";
11
+ more: boolean;
12
+ message: string;
13
+ } | {
14
+ kind: "open";
15
+ id: string;
16
+ message: string;
17
+ } | undefined, {
18
+ kind: "list";
19
+ more: boolean;
20
+ message: string;
21
+ } | {
22
+ kind: "open";
23
+ id: string;
24
+ message: string;
25
+ } | undefined>;
26
+ retryRead(): Promise<void> | undefined;
27
+ loading: import("vue").Ref<boolean, boolean>;
28
+ ready: import("vue").Ref<boolean, boolean>;
29
+ historyOpen: import("vue").Ref<boolean, boolean>;
30
+ entries: import("vue").Ref<{
31
+ id: string;
32
+ title: string;
33
+ updatedAt: string;
34
+ }[], AssistantConversationSummary[] | {
35
+ id: string;
36
+ title: string;
37
+ updatedAt: string;
38
+ }[]>;
39
+ hasMore: import("vue").Ref<boolean, boolean>;
40
+ changeScope: (value: string | undefined) => void;
41
+ save: () => Promise<boolean>;
42
+ list: (more?: boolean) => Promise<void>;
43
+ open: (conversationId: string) => Promise<void>;
44
+ startNew: () => Promise<void>;
45
+ saveCopy: () => Promise<void>;
46
+ discardAndStartNew: () => void;
47
+ };
@@ -0,0 +1,22 @@
1
+ import type { MenuRecord, MenuTreeNode } from '../web-contracts/index';
2
+ import type { AssistantCapability, AssistantInvocationToken } from '../web-core/index';
3
+ export declare function createWorkbenchAssistantCapabilities(menus: () => MenuTreeNode[], openMenu: (menu: MenuRecord) => boolean, settleNavigation?: (signal?: AbortSignal) => Promise<void | AssistantInvocationToken>): AssistantCapability[];
4
+ /** Current visible navigation, projected on demand; no cross-page permission cache. */
5
+ export declare function workbenchAssistantMenuCatalog(menus: readonly MenuTreeNode[]): {
6
+ items: {
7
+ menuId: string;
8
+ schemeId: string;
9
+ title: string;
10
+ moduleAlias: string | undefined;
11
+ description: string | undefined;
12
+ path: string[];
13
+ }[];
14
+ page: {
15
+ note?: string | undefined;
16
+ offset: number;
17
+ total: number;
18
+ nextOffset: number | null;
19
+ coverage: string;
20
+ oversizedIndexes: number[];
21
+ };
22
+ };
@@ -0,0 +1,7 @@
1
+ import { type BusinessLogEventType } from './businessLogRetentionClient';
2
+ type __VLS_Props = {
3
+ eventTypes: BusinessLogEventType[];
4
+ };
5
+ 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>;
6
+ declare const _default: typeof __VLS_export;
7
+ export default _default;
@@ -3,6 +3,7 @@ type __VLS_Props = {
3
3
  nodes: UiTreeNode[];
4
4
  title?: string;
5
5
  embedded?: boolean;
6
+ utilityPlacement?: 'header' | 'toolbar';
6
7
  searchKeyword?: string;
7
8
  showSystemFields?: boolean;
8
9
  searchable?: boolean;
@@ -11,9 +12,11 @@ type __VLS_Props = {
11
12
  unavailable?: boolean;
12
13
  unavailableDescription?: string;
13
14
  };
14
- declare var __VLS_34: {};
15
+ declare var __VLS_12: {}, __VLS_37: {};
15
16
  type __VLS_Slots = {} & {
16
- default?: (props: typeof __VLS_34) => any;
17
+ title?: (props: typeof __VLS_12) => any;
18
+ } & {
19
+ default?: (props: typeof __VLS_37) => any;
17
20
  };
18
21
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
22
  refresh: () => any;
@@ -28,9 +31,10 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
28
31
  loading: boolean;
29
32
  unavailable: boolean;
30
33
  embedded: boolean;
34
+ searchable: boolean;
31
35
  refreshDisabled: boolean;
32
36
  searchKeyword: string;
33
- searchable: boolean;
37
+ utilityPlacement: "header" | "toolbar";
34
38
  showSystemFields: boolean;
35
39
  unavailableDescription: string;
36
40
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -0,0 +1,11 @@
1
+ import { type ModuleActivationFeedback } from './moduleRuntimeActivation';
2
+ type __VLS_Props = {
3
+ moduleAlias: string;
4
+ reloadKey?: number;
5
+ };
6
+ declare function load(): Promise<ModuleActivationFeedback | undefined>;
7
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
8
+ refresh: typeof load;
9
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ declare const _default: typeof __VLS_export;
11
+ export default _default;
@@ -24,10 +24,6 @@ type __VLS_Props = {
24
24
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
25
25
  selectField: (slot: PreviewSlot, fieldName: string) => any;
26
26
  configureField: (slot: PreviewSlot, fieldName: string) => any;
27
- configureRelationField: (relationCode: string, fieldName: string) => any;
28
- configureAction: (anchor: "page" | "form" | "detail", actionCode: string) => any;
29
- configureSummaries: () => any;
30
- "placement-drop": (source: CompositionPlacementSource, target: CompositionPlacementTarget) => any;
31
27
  "action-drop": (source: {
32
28
  actionCode: string;
33
29
  sourceAnchor?: "page" | "detail" | "form";
@@ -35,13 +31,13 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
35
31
  anchor: "page" | "detail" | "form";
36
32
  index: number;
37
33
  }) => any;
34
+ configureRelationField: (relationCode: string, fieldName: string) => any;
35
+ configureAction: (anchor: "detail" | "page" | "form", actionCode: string) => any;
36
+ configureSummaries: () => any;
37
+ "placement-drop": (source: CompositionPlacementSource, target: CompositionPlacementTarget) => any;
38
38
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
39
39
  onSelectField?: ((slot: PreviewSlot, fieldName: string) => any) | undefined;
40
40
  onConfigureField?: ((slot: PreviewSlot, fieldName: string) => any) | undefined;
41
- onConfigureRelationField?: ((relationCode: string, fieldName: string) => any) | undefined;
42
- onConfigureAction?: ((anchor: "page" | "form" | "detail", actionCode: string) => any) | undefined;
43
- onConfigureSummaries?: (() => any) | undefined;
44
- "onPlacement-drop"?: ((source: CompositionPlacementSource, target: CompositionPlacementTarget) => any) | undefined;
45
41
  "onAction-drop"?: ((source: {
46
42
  actionCode: string;
47
43
  sourceAnchor?: "page" | "detail" | "form";
@@ -49,6 +45,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
49
45
  anchor: "page" | "detail" | "form";
50
46
  index: number;
51
47
  }) => any) | undefined;
48
+ onConfigureRelationField?: ((relationCode: string, fieldName: string) => any) | undefined;
49
+ onConfigureAction?: ((anchor: "detail" | "page" | "form", actionCode: string) => any) | undefined;
50
+ onConfigureSummaries?: (() => any) | undefined;
51
+ "onPlacement-drop"?: ((source: CompositionPlacementSource, target: CompositionPlacementTarget) => any) | undefined;
52
52
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
53
53
  declare const _default: typeof __VLS_export;
54
54
  export default _default;
@@ -0,0 +1,10 @@
1
+ import type { PageCompositionSession } from './pageCompositionSession';
2
+ type __VLS_Props = {
3
+ session: PageCompositionSession;
4
+ retained?: 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<{}>, {
7
+ retained: boolean;
8
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;