@ximatai/muyun-web-app 0.26.15 → 0.26.17

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 (295) hide show
  1. package/dist/BusinessActivityLogView-9RrW-RKb.js +18 -0
  2. package/dist/BusinessLogListDrawer-DYVx9tiQ.js +864 -0
  3. package/dist/ConfigurationTranslationView-Bh_ekuMP.js +197 -0
  4. package/dist/LoginAuditLogView-DG6iBXEn.js +18 -0
  5. package/dist/ModuleActionManagementView-DgHqhoMN.js +755 -0
  6. package/dist/{ModuleGovernanceView-LkWCtops.js → ModuleGovernanceView-C53RnUzc.js} +6903 -6493
  7. package/dist/RequestErrorLogView-Ba5p0hLE.js +18 -0
  8. package/dist/RoleDetailWorkspaceView-C3TBqksY.js +1435 -0
  9. package/dist/RuntimeLogView-BFEABm8G.js +316 -0
  10. package/dist/WorkflowAdministrationView-BOHG2e-I.js +650 -0
  11. package/dist/WorkflowConfigurationView-A0m5tBX9.js +1097 -0
  12. package/dist/WorkflowWorkbenchView-DGpNDt5V.js +759 -0
  13. package/dist/es-BST-ixpj.js +22621 -0
  14. package/dist/index.css +1 -1
  15. package/dist/index.js +874 -741
  16. package/dist/moduleGovernanceWorkspaceView-DNKzYX0x.js +667 -0
  17. package/dist/platform-components-BBfyINHa.js +29912 -0
  18. package/dist/{platform-workbench-C-kE-Yqq.js → platform-workbench-C1hmkOUD.js} +7960 -7561
  19. package/dist/rolldown-runtime-BAC7EHh5.js +20 -0
  20. package/dist/types/app/ChangeOwnPasswordDialog.vue.d.ts +1 -1
  21. package/dist/types/app/CurrentUserProfileDialog.vue.d.ts +2 -2
  22. package/dist/types/app/ThemeSkinPreferencesDialog.vue.d.ts +3 -0
  23. package/dist/types/app/businessNotificationNavigation.d.ts +4 -0
  24. package/dist/types/app/menuRouteCompiler.d.ts +3 -0
  25. package/dist/types/app/platformMessage.d.ts +3 -6
  26. package/dist/types/app/themeSkinPreference.d.ts +3 -2
  27. package/dist/types/app/useAssistantAvailability.d.ts +8 -0
  28. package/dist/types/app/useCurrentUserProfile.d.ts +12 -0
  29. package/dist/types/app/workbenchRouteSync.d.ts +2 -0
  30. package/dist/types/app/workbenchStartup.d.ts +8 -4
  31. package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +5 -3
  32. package/dist/types/consumer/index.d.ts +3 -1
  33. package/dist/types/dynamic-page-runtime/ManagedDetailRelationInlineSurface.vue.d.ts +1 -1
  34. package/dist/types/dynamic-page-runtime/ManagedDetailRelationSurface.vue.d.ts +1 -1
  35. package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +54 -1310
  36. package/dist/types/dynamic-page-runtime/ModulePageDetailRelations.vue.d.ts +1 -1
  37. package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +611 -1712
  38. package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansion.vue.d.ts +1 -1
  39. package/dist/types/dynamic-page-runtime/ModulePageRecordContent.vue.d.ts +15 -1
  40. package/dist/types/dynamic-page-runtime/ModuleRecordDetailActions.vue.d.ts +1 -1
  41. package/dist/types/dynamic-page-runtime/NavigatorManagementEditor.vue.d.ts +1 -1
  42. package/dist/types/dynamic-page-runtime/NavigatorPanelActions.vue.d.ts +1 -1
  43. package/dist/types/dynamic-page-runtime/TenantScopeExplorer.vue.d.ts +1 -1
  44. package/dist/types/dynamic-page-runtime/assistantQueryCapabilities.d.ts +1 -0
  45. package/dist/types/dynamic-page-runtime/composables/useManagedDetailRelationRuntime.d.ts +2 -2
  46. package/dist/types/dynamic-page-runtime/composables/useModulePageBootstrap.d.ts +4 -3
  47. package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +11 -1303
  48. package/dist/types/dynamic-page-runtime/formActionResult.d.ts +2 -1
  49. package/dist/types/dynamic-page-runtime/formValidationCoordinator.d.ts +1 -1
  50. package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +13 -4
  51. package/dist/types/dynamic-page-runtime/modulePageUnsavedState.d.ts +3 -10
  52. package/dist/types/dynamic-page-runtime/pageActionInvocation.d.ts +2 -1
  53. package/dist/types/dynamic-page-runtime/pageActionPlacement.d.ts +2 -1
  54. package/dist/types/dynamic-page-runtime/pageNavigatorItemModel.d.ts +2 -1
  55. package/dist/types/dynamic-page-runtime/recordCreationReadiness.d.ts +2 -1
  56. package/dist/types/dynamic-page-runtime/recordDisplayProjection.d.ts +7 -3
  57. package/dist/types/dynamic-page-runtime/recordFormAssistantCapabilities.d.ts +5 -4
  58. package/dist/types/dynamic-page-runtime/recordFormDraftAccess.d.ts +3 -0
  59. package/dist/types/dynamic-page-runtime/recordMutationPayload.d.ts +1 -1
  60. package/dist/types/dynamic-page-runtime/recordReferenceDisplay.d.ts +1 -1
  61. package/dist/types/dynamic-page-runtime/recordSaveRecovery.d.ts +2 -1
  62. package/dist/types/dynamic-page-runtime/relationDraftAssistantCapabilities.d.ts +2 -2
  63. package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +39 -1307
  64. package/dist/types/dynamic-page-runtime/useModuleRecordDataChanges.d.ts +17 -0
  65. package/dist/types/main.d.ts +0 -1
  66. package/dist/types/platform-admin-runtime/backendHttp.d.ts +2 -1
  67. package/dist/types/platform-admin-runtime/index.d.ts +3 -1
  68. package/dist/types/platform-admin-runtime/module-menu/moduleMenuClient.d.ts +4 -4
  69. package/dist/types/platform-admin-runtime/module-menu/moduleMenuReceiptStore.d.ts +2 -1
  70. package/dist/types/platform-admin-runtime/module-menu/moduleMenuSession.d.ts +11 -7
  71. package/dist/types/platform-admin-runtime/module-menu/moduleMenuWorkspace.d.ts +16 -7
  72. package/dist/types/platform-admin-runtime/moduleOpenApi.d.ts +4 -3
  73. package/dist/types/platform-admin-runtime/pageRealtime.d.ts +0 -1
  74. package/dist/types/platform-admin-runtime/realtime.d.ts +0 -3
  75. package/dist/types/platform-admin-runtime/role/roleScopeSelectionClient.d.ts +4 -1
  76. package/dist/types/platform-admin-runtime/sessionRecovery.d.ts +3 -1
  77. package/dist/types/platform-admin-runtime/user/useUserSessionRows.d.ts +2 -0
  78. package/dist/types/platform-admin-runtime/user/userOnlineStatusStore.d.ts +1 -5
  79. package/dist/types/platform-components/BusinessContentGenerationPanel.vue.d.ts +22 -0
  80. package/dist/types/platform-components/BusinessContentQueryNotice.vue.d.ts +17 -0
  81. package/dist/types/platform-components/BusinessNotificationPanel.vue.d.ts +34 -1
  82. package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +6 -6
  83. package/dist/types/platform-components/DateTimeText.vue.d.ts +1 -1
  84. package/dist/types/platform-components/DetailRelationListPanel.vue.d.ts +1 -1
  85. package/dist/types/platform-components/DictionaryOptionDialog.vue.d.ts +4 -4
  86. package/dist/types/platform-components/DictionaryOptionDialogChoiceList.vue.d.ts +1 -1
  87. package/dist/types/platform-components/DictionaryPicker.vue.d.ts +6 -6
  88. package/dist/types/platform-components/FileSizeText.vue.d.ts +1 -1
  89. package/dist/types/platform-components/FileTransferUploader.vue.d.ts +1 -1
  90. package/dist/types/platform-components/FormulaExpressionEditor.vue.d.ts +7 -7
  91. package/dist/types/platform-components/ModuleActionButton.vue.d.ts +2 -2
  92. package/dist/types/platform-components/ObjectPickerInput.vue.d.ts +2 -2
  93. package/dist/types/platform-components/QueryCriteriaComposer.vue.d.ts +1 -1
  94. package/dist/types/platform-components/QueryCriteriaGroupEditor.vue.d.ts +3 -3
  95. package/dist/types/platform-components/QueryValueEditor.vue.d.ts +1 -1
  96. package/dist/types/platform-components/RecordActionBar.vue.d.ts +1 -1
  97. package/dist/types/platform-components/RecordContentSourceField.vue.d.ts +22 -0
  98. package/dist/types/platform-components/RecordContentTranslationField.vue.d.ts +26 -0
  99. package/dist/types/platform-components/RecordDataExchangeSurface.vue.d.ts +26 -0
  100. package/dist/types/platform-components/RecordDetailDrawer.vue.d.ts +2 -2
  101. package/dist/types/platform-components/RecordDetailFields.vue.d.ts +4 -3
  102. package/dist/types/platform-components/RecordExpandedSubtable.vue.d.ts +2 -2
  103. package/dist/types/platform-components/RecordFileReferenceTransfer.vue.d.ts +1 -1
  104. package/dist/types/platform-components/RecordFormFields.vue.d.ts +5 -4
  105. package/dist/types/platform-components/RecordImageFileReferencePreview.vue.d.ts +1 -1
  106. package/dist/types/platform-components/RecordListExplorer.vue.d.ts +1 -1
  107. package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +4 -4
  108. package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +1 -1
  109. package/dist/types/platform-components/RecordPanelButton.vue.d.ts +1 -1
  110. package/dist/types/platform-components/RecordPermissionDialog.vue.d.ts +1 -1
  111. package/dist/types/platform-components/RecordPicker.vue.d.ts +1 -1
  112. package/dist/types/platform-components/RecordQueryListCell.vue.d.ts +1 -0
  113. package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +7 -7
  114. package/dist/types/platform-components/RecordQueryListSurface.vue.d.ts +3 -3
  115. package/dist/types/{dynamic-page-runtime/ModuleDataExchangeSurface.vue.d.ts → platform-components/RecordQuerySortSelector.vue.d.ts} +5 -9
  116. package/dist/types/platform-components/RecordRelationValue.vue.d.ts +2 -0
  117. package/dist/types/platform-components/ReferencePicker.vue.d.ts +3 -3
  118. package/dist/types/platform-components/ReferenceRecordDetailBrowser.vue.d.ts +1 -1
  119. package/dist/types/platform-components/ScopedTreePicker.vue.d.ts +1 -1
  120. package/dist/types/platform-components/SingleImageFileReferenceField.vue.d.ts +1 -1
  121. package/dist/types/platform-components/StaticManagementLayout.vue.d.ts +7 -2
  122. package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +5 -5
  123. package/dist/types/platform-components/UserPicker.vue.d.ts +2 -2
  124. package/dist/types/platform-components/UserSessionExpandedSubtable.vue.d.ts +1 -1
  125. package/dist/types/platform-components/WorkflowBusinessTaskEditor.vue.d.ts +36 -0
  126. package/dist/types/platform-components/WorkflowDesignProperties.vue.d.ts +40 -0
  127. package/dist/types/platform-components/WorkflowDiagram.vue.d.ts +24 -0
  128. package/dist/types/platform-components/WorkflowParticipantEditor.vue.d.ts +18 -0
  129. package/dist/types/platform-components/WorkflowRecordPanel.vue.d.ts +32 -0
  130. package/dist/types/platform-components/WorkflowTimeline.vue.d.ts +23 -0
  131. package/dist/types/platform-components/crudRecordListModel.d.ts +3 -1
  132. package/dist/types/platform-components/fileTransferUpload.d.ts +10 -0
  133. package/dist/types/platform-components/index.d.ts +9 -2
  134. package/dist/types/platform-components/loadExplorerRecords.d.ts +3 -0
  135. package/dist/types/platform-components/optionFieldOptions.d.ts +7 -2
  136. package/dist/types/platform-components/platformDateTime.d.ts +2 -0
  137. package/dist/types/platform-components/platformErrorFeedback.d.ts +2 -1
  138. package/dist/types/platform-components/readonlyReferenceDisplay.d.ts +10 -2
  139. package/dist/types/platform-components/recordActionBarModel.d.ts +4 -1
  140. package/dist/types/platform-components/recordDetailFieldModel.d.ts +4 -0
  141. package/dist/types/platform-components/recordFormFieldModel.d.ts +5 -3
  142. package/dist/types/platform-components/recordPickerConstraints.d.ts +4 -1
  143. package/dist/types/platform-components/recordQueryListColumnModel.d.ts +5 -1
  144. package/dist/types/platform-components/recordQueryListQueryController.d.ts +2 -0
  145. package/dist/types/platform-components/recordSurfaceActivity.d.ts +3 -0
  146. package/dist/types/platform-components/recycleBinState.d.ts +4 -2
  147. package/dist/types/platform-components/referencePickerModel.d.ts +13 -1
  148. package/dist/types/platform-components/referencePickerReadError.d.ts +11 -3
  149. package/dist/types/platform-components/referenceRecordDetailBrowser.d.ts +2 -2
  150. package/dist/types/platform-components/scopedTreePickerModel.d.ts +4 -0
  151. package/dist/types/platform-components/softDeletedConflictHandler.d.ts +3 -1
  152. package/dist/types/platform-components/staticCrudManagementState.d.ts +9 -8
  153. package/dist/types/platform-components/treeRecordModel.d.ts +2 -1
  154. package/dist/types/platform-components/userSessionPresentation.d.ts +4 -3
  155. package/dist/types/platform-components/workflowAccountOptions.d.ts +4 -0
  156. package/dist/types/platform-components/workflowDesignEditing.d.ts +11 -0
  157. package/dist/types/platform-components/workflowDiagramModel.d.ts +41 -0
  158. package/dist/types/platform-components/workflowParticipantPolicy.d.ts +11 -0
  159. package/dist/types/platform-components/workflowPresentation.d.ts +11 -0
  160. package/dist/types/platform-workbench/LanguageSelector.vue.d.ts +6 -0
  161. package/dist/types/platform-workbench/Workbench.vue.d.ts +10 -5
  162. package/dist/types/platform-workbench/WorkbenchAssistantPanel.vue.d.ts +1 -1
  163. package/dist/types/platform-workbench/WorkbenchGlobalTools.vue.d.ts +16 -0
  164. package/dist/types/platform-workbench/WorkbenchLanguageSettings.vue.d.ts +11 -0
  165. package/dist/types/platform-workbench/WorkbenchMenu.vue.d.ts +1 -1
  166. package/dist/types/platform-workbench/WorkbenchPageTitle.vue.d.ts +10 -0
  167. package/dist/types/platform-workbench/assistantControlText.d.ts +19 -0
  168. package/dist/types/platform-workbench/configurationCollaboration.d.ts +2 -2
  169. package/dist/types/platform-workbench/constructionDelivery.d.ts +2 -2
  170. package/dist/types/platform-workbench/constructionFields.d.ts +2 -2
  171. package/dist/types/platform-workbench/constructionInitialization.d.ts +2 -2
  172. package/dist/types/platform-workbench/constructionPlanGuard.d.ts +2 -1
  173. package/dist/types/platform-workbench/constructionPlanSession.d.ts +12 -4
  174. package/dist/types/platform-workbench/constructionPresentation.d.ts +6 -0
  175. package/dist/types/platform-workbench/constructionReferenceDiscovery.d.ts +2 -2
  176. package/dist/types/platform-workbench/index.d.ts +2 -1
  177. package/dist/types/platform-workbench/menuGroupLayout.d.ts +5 -0
  178. package/dist/types/platform-workbench/menuNavigation.d.ts +7 -3
  179. package/dist/types/platform-workbench/menuTreeModel.d.ts +3 -3
  180. package/dist/types/platform-workbench/realtimeStatus.d.ts +2 -1
  181. package/dist/types/platform-workbench/useAssistantConversation.d.ts +106 -14
  182. package/dist/types/platform-workbench/useAssistantConversationArchive.d.ts +7 -14
  183. package/dist/types/platform-workbench/useLanguagePreferenceSelection.d.ts +7 -0
  184. package/dist/types/platform-workbench/useWorkspaceViewUnsavedState.d.ts +1 -5
  185. package/dist/types/platform-workbench/workbenchAssistantCapabilities.d.ts +3 -2
  186. package/dist/types/platform-workbench/workbenchNavigation.d.ts +1 -0
  187. package/dist/types/platform-workbench/workspaceViewContract.d.ts +4 -0
  188. package/dist/types/platform-workbench/workspaceViewDiscardGuard.d.ts +5 -0
  189. package/dist/types/platform-workbench/workspaceViewHost.d.ts +1 -1
  190. package/dist/types/platform-workbench/workspaceViewUnsavedState.d.ts +1 -1
  191. package/dist/types/platform-workbench/workspaceViews.d.ts +3 -2
  192. package/dist/types/views/ConfigurationTranslationView.vue.d.ts +3 -0
  193. package/dist/types/views/MetadataSourceTree.vue.d.ts +0 -2
  194. package/dist/types/views/PageCompositionDescriptorPreview.vue.d.ts +2 -2
  195. package/dist/types/views/PageQuerySummaryEditor.vue.d.ts +6 -6
  196. package/dist/types/views/RoleAuthorizationView.vue.d.ts +1 -1
  197. package/dist/types/views/WorkflowAdministrationView.vue.d.ts +3 -0
  198. package/dist/types/views/WorkflowConfigurationView.vue.d.ts +7 -0
  199. package/dist/types/views/WorkflowSelectionFields.vue.d.ts +28 -0
  200. package/dist/types/views/WorkflowWorkbenchView.vue.d.ts +3 -0
  201. package/dist/types/views/businessLogClient.d.ts +5 -2
  202. package/dist/types/views/businessRuleAssistantSurface.d.ts +3 -3
  203. package/dist/types/views/businessRuleEditor.d.ts +2 -1
  204. package/dist/types/views/businessRuleGovernance.d.ts +14 -4
  205. package/dist/types/views/businessRuleSession.d.ts +4 -3
  206. package/dist/types/views/businessRuleWorkspace.d.ts +6 -2
  207. package/dist/types/views/configurationEditorNavigation.d.ts +2 -1
  208. package/dist/types/views/configurationTranslationWorkspace.d.ts +69 -0
  209. package/dist/types/views/dictionaryRadioEligibility.d.ts +2 -1
  210. package/dist/types/views/metadataChangeSetSubmission.d.ts +4 -3
  211. package/dist/types/views/metadataEditorSession.d.ts +19 -9
  212. package/dist/types/views/metadataGovernanceEditor.d.ts +4 -0
  213. package/dist/types/views/metadataModelEditSession.d.ts +3 -2
  214. package/dist/types/views/metadataModelTree.d.ts +2 -1
  215. package/dist/types/views/metadataNaming.d.ts +5 -2
  216. package/dist/types/views/metadataOrchestrationState.d.ts +13 -9
  217. package/dist/types/views/metadataSourceTree.d.ts +3 -2
  218. package/dist/types/views/metadataWorkspace.d.ts +34 -19
  219. package/dist/types/views/moduleRuntimeActivation.d.ts +3 -3
  220. package/dist/types/views/pageCompositionAssistantSurface.d.ts +2 -0
  221. package/dist/types/views/pageCompositionCandidate.d.ts +2 -1
  222. package/dist/types/views/pageCompositionComponents.d.ts +5 -4
  223. package/dist/types/views/pageCompositionDraftState.d.ts +21 -7
  224. package/dist/types/views/pageCompositionMode.d.ts +26 -2
  225. package/dist/types/views/pageCompositionPublication.d.ts +2 -0
  226. package/dist/types/views/pageCompositionSession.d.ts +48 -15
  227. package/dist/types/views/pageCompositionWorkspace.d.ts +90 -29
  228. package/dist/types/views/runtimeLogClient.d.ts +2 -2
  229. package/dist/types/views/usePageCompositionComponents.d.ts +2 -1
  230. package/dist/types/views/workflowConfigurationWorkspaceView.d.ts +5 -0
  231. package/dist/types/vue-ui-antdv/blockingOverlays.d.ts +9 -0
  232. package/dist/types/vue-ui-antdv/components/UiButton.vue.d.ts +1 -1
  233. package/dist/types/vue-ui-antdv/components/UiDataTable.vue.d.ts +2 -2
  234. package/dist/types/vue-ui-antdv/components/UiDropdown.vue.d.ts +1 -0
  235. package/dist/types/vue-ui-antdv/components/UiIcon.vue.d.ts +1 -1
  236. package/dist/types/vue-ui-antdv/components/UiLanguageProvider.vue.d.ts +18 -0
  237. package/dist/types/vue-ui-antdv/components/UiModal.vue.d.ts +10 -7
  238. package/dist/types/vue-ui-antdv/components/UiRecordExplorerItem.vue.d.ts +2 -2
  239. package/dist/types/vue-ui-antdv/components/UiSearchInput.vue.d.ts +1 -1
  240. package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +1 -1
  241. package/dist/types/vue-ui-antdv/components/UiSidePanel.vue.d.ts +3 -0
  242. package/dist/types/vue-ui-antdv/components/UiTextArea.vue.d.ts +7 -7
  243. package/dist/types/vue-ui-antdv/components/UiTokenInput.vue.d.ts +7 -7
  244. package/dist/types/vue-ui-antdv/components/UiTree.vue.d.ts +1 -1
  245. package/dist/types/vue-ui-antdv/components/UiTreeSelect.vue.d.ts +1 -1
  246. package/dist/types/vue-ui-antdv/confirm.d.ts +3 -2
  247. package/dist/types/vue-ui-antdv/index.d.ts +3 -0
  248. package/dist/types/vue-ui-antdv/languageGlobalScope.d.ts +3 -0
  249. package/dist/types/vue-ui-antdv/languageLocales.d.ts +4 -0
  250. package/dist/types/vue-ui-antdv/theme.d.ts +2 -0
  251. package/dist/types/vue-ui-antdv/types.d.ts +4 -0
  252. package/dist/types/vue-ui-antdv/typography.d.ts +25 -0
  253. package/dist/types/web-contracts/constructionPlan.d.ts +4 -3
  254. package/dist/types/web-contracts/index.d.ts +177 -0
  255. package/dist/types/web-contracts/workflow.d.ts +356 -0
  256. package/dist/types/web-core/actionResult.d.ts +3 -0
  257. package/dist/types/web-core/assistantConfirmation.d.ts +3 -2
  258. package/dist/types/web-core/assistantConversationClient.d.ts +8 -0
  259. package/dist/types/web-core/assistantSurface.d.ts +4 -3
  260. package/dist/types/web-core/assistantTurnClient.d.ts +2 -0
  261. package/dist/types/web-core/businessContent.d.ts +38 -0
  262. package/dist/types/web-core/businessContentLanguage.d.ts +18 -0
  263. package/dist/types/web-core/errors.d.ts +8 -4
  264. package/dist/types/web-core/index.d.ts +11 -0
  265. package/dist/types/web-core/language.d.ts +54 -0
  266. package/dist/types/web-core/languagePreference.d.ts +8 -0
  267. package/dist/types/web-core/module/dataExchangeClient.d.ts +85 -2
  268. package/dist/types/web-core/module/index.d.ts +1 -0
  269. package/dist/types/web-core/module/moduleContext.d.ts +4 -0
  270. package/dist/types/web-core/module/pageActionEntries.d.ts +3 -2
  271. package/dist/types/web-core/module/runtimeContext.d.ts +15 -2
  272. package/dist/types/web-core/module/staticModuleClient.d.ts +9 -3
  273. package/dist/types/web-core/operationConfirmation.d.ts +5 -1
  274. package/dist/types/web-core/operationErrors.d.ts +15 -1
  275. package/dist/types/web-core/presentationTexts.d.ts +21 -0
  276. package/dist/types/web-core/recordReadRefreshGuard.d.ts +7 -0
  277. package/dist/types/web-core/sha256.d.ts +2 -0
  278. package/dist/types/web-core/useBusinessContentGenerationBatch.d.ts +36 -0
  279. package/dist/types/web-core/useBusinessContentReading.d.ts +30 -0
  280. package/dist/types/web-core/workflow.d.ts +71 -0
  281. package/dist/types/web-core/workspaceUnsavedState.d.ts +6 -0
  282. package/dist/workspaceViews-BpH71LKQ.js +3437 -0
  283. package/package.json +2 -4
  284. package/dist/BusinessActivityLogView-DVzrZW1X.js +0 -16
  285. package/dist/BusinessLogListDrawer-D-R3wnWr.js +0 -825
  286. package/dist/LoginAuditLogView-BP1eaEPw.js +0 -16
  287. package/dist/ModuleActionManagementView-D17iKVQv.js +0 -691
  288. package/dist/RequestErrorLogView-LzN94-Tk.js +0 -16
  289. package/dist/RoleDetailWorkspaceView-BXA-bzFu.js +0 -1406
  290. package/dist/RuntimeLogView-DUpu2q2w.js +0 -297
  291. package/dist/moduleGovernanceWorkspaceView-COjWtJMr.js +0 -639
  292. package/dist/platform-components-Hs3DrTqE.js +0 -19770
  293. package/dist/rolldown-runtime-DPVXH0ON.js +0 -17
  294. package/dist/sse-Q1wa3p_k.js +0 -187
  295. package/dist/workspaceViews-CHsgLFwY.js +0 -3217
@@ -1,5 +1,83 @@
1
1
  import type { HttpClient } from '../http';
2
- import type { WebQueryRequest } from '../../web-contracts/index';
2
+ import type { TextPresentation, WebQueryRequest } from '../../web-contracts/index';
3
+ import type { RecordQueryRequestOptions } from './staticModuleClient';
4
+ export type ExchangePurpose = 'DATA' | 'TRANSLATIONS' | 'READING';
5
+ export interface ExchangeOptions {
6
+ purpose: ExchangePurpose;
7
+ language: string;
8
+ timeZone?: string;
9
+ }
10
+ export interface ExchangeCommand {
11
+ documentId?: string;
12
+ previewDigest?: string;
13
+ sourceLanguage?: string;
14
+ resolutionLanguage?: string;
15
+ sheets: Array<{
16
+ entityAlias: string;
17
+ matchField: string;
18
+ duplicateStrategy: ImportDuplicateStrategy;
19
+ }>;
20
+ confirmations: Array<{
21
+ row: string;
22
+ field: string;
23
+ input: string;
24
+ candidateId: string;
25
+ }>;
26
+ }
27
+ export interface ExchangeRow {
28
+ row: string;
29
+ entity: string;
30
+ relation: string;
31
+ operation: string;
32
+ recordId?: string;
33
+ currentValues: Record<string, unknown>;
34
+ changes: Record<string, unknown>;
35
+ languages: Record<string, {
36
+ languageTag?: string;
37
+ expectedRevision?: number;
38
+ }>;
39
+ choices: Array<{
40
+ field: string;
41
+ input: string;
42
+ candidates: Array<{
43
+ id: string;
44
+ title: string;
45
+ matchedText: string;
46
+ kind: string;
47
+ subtitle?: string | null;
48
+ }>;
49
+ }>;
50
+ problem?: string;
51
+ references?: Record<string, {
52
+ current?: string | null;
53
+ submitted?: string | null;
54
+ }>;
55
+ }
56
+ export interface ExchangePreview {
57
+ documentId: string;
58
+ previewDigest: string;
59
+ purpose: ExchangePurpose;
60
+ language?: string;
61
+ sheets: Array<{
62
+ entityAlias: string;
63
+ sheetName: string;
64
+ main: boolean;
65
+ rowCount: number;
66
+ matchFields: string[];
67
+ fieldTitles: Record<string, string>;
68
+ recommendedMatchField?: string | null;
69
+ }>;
70
+ rows: ExchangeRow[];
71
+ }
72
+ export interface ExchangeResult {
73
+ created: number;
74
+ updated: number;
75
+ skipped: number;
76
+ errorCount: number;
77
+ partialSuccess: boolean;
78
+ errorWorkbookBase64?: string;
79
+ rows: ExchangeRow[];
80
+ }
3
81
  export type ImportDuplicateStrategy = 'ERROR' | 'SKIP' | 'OVERWRITE';
4
82
  export interface ImportSheet {
5
83
  sheetName: string;
@@ -40,11 +118,16 @@ export interface ImportExecutionResult {
40
118
  }>;
41
119
  partialSuccess: boolean;
42
120
  message: string;
121
+ messageText?: TextPresentation;
43
122
  errorFileName?: string;
44
123
  errorFileToken?: string;
45
124
  }
46
- /** Dynamic EXCHANGE transport; domain execution remains behind the module's standard action scope. */
125
+ /** Source-neutral file transport. The legacy v1 methods remain available while consumers migrate. */
47
126
  export declare function createDataExchangeClient(http: HttpClient, moduleAlias: string): {
127
+ fileTemplate: (options: ExchangeOptions) => Promise<Blob>;
128
+ preview(file: File, command?: ExchangeCommand): Promise<ExchangePreview>;
129
+ importFile(file: File, command: ExchangeCommand): Promise<ExchangeResult>;
130
+ exportFile(query: WebQueryRequest | undefined, options: ExchangeOptions, ids?: string[], queryOptions?: RecordQueryRequestOptions): Promise<Blob>;
48
131
  template: () => Promise<Blob>;
49
132
  parse(file: File): Promise<ImportParseResult>;
50
133
  execute(file: File, command: ImportExecutionCommand): Promise<ImportExecutionResult>;
@@ -6,3 +6,4 @@ export type { ModuleAbilityClients, ModuleAbilities } from './abilities';
6
6
  export * from './moduleContext';
7
7
  export * from './pageActionEntries';
8
8
  export * from './dataExchangeClient';
9
+ export { displayModuleRuntime } from './runtimeContext';
@@ -3,6 +3,7 @@ import type { HttpClient } from '../http';
3
3
  import { type ModuleAbilities } from './abilities';
4
4
  import { type ModuleActionState, type ModuleRecordActionAvailability, type ModuleRuntimeAction, type ModuleRuntimeContextState } from './runtimeContext';
5
5
  import { type NavigatorReferenceRequestContext, type ModuleCrudClient, type ModuleTreeClient } from './staticModuleClient';
6
+ import { type LanguageContext } from '../language';
6
7
  export interface ModuleContext<TRecord> {
7
8
  moduleAlias: string;
8
9
  http: HttpClient;
@@ -21,6 +22,7 @@ export interface ModuleTreeContext<TRecord> extends ModuleContext<TRecord> {
21
22
  tree: ModuleTreeClient<TRecord>;
22
23
  }
23
24
  export interface ModuleContextConfig {
25
+ language?: LanguageContext;
24
26
  http?: HttpClient;
25
27
  httpFactory?: () => HttpClient;
26
28
  }
@@ -31,6 +33,8 @@ export interface ModuleContextOptions extends ModuleContextConfig {
31
33
  }
32
34
  export declare function configureModuleContext(config: ModuleContextConfig): void;
33
35
  export declare function provideModuleContextConfig(config: ModuleContextConfig): void;
36
+ /** Auxiliary module APIs share the owner's transport without loading another module runtime. */
37
+ export declare function useModuleHttpClient(): HttpClient;
34
38
  export declare function createModuleContext<TRecord>(options: ModuleContextOptions): ModuleContext<TRecord>;
35
39
  export declare function createModuleTreeContext<TRecord>(options: ModuleContextOptions): ModuleTreeContext<TRecord>;
36
40
  export declare function useModuleContext<TRecord>(options?: Partial<ModuleContextOptions>): ModuleContext<TRecord>;
@@ -1,3 +1,4 @@
1
+ import { type LanguageContext } from '../language';
1
2
  /** Shared interaction vocabulary for page design and business rendering. */
2
3
  export declare function pageActionIntent(code: string, anchor: string): {
3
4
  operation: string;
@@ -8,7 +9,7 @@ export declare function pageActionEntryTitle(entry: {
8
9
  actionCode: string;
9
10
  anchor: string;
10
11
  title?: string;
11
- }): string;
12
+ }, language?: LanguageContext): string;
12
13
  export declare function pageActionEntryVisible(entry: {
13
14
  actionCode: string;
14
15
  anchor: string;
@@ -18,4 +19,4 @@ export declare function pageActionEntryVisible(entry: {
18
19
  export declare function pageActionEntryDescription(entry: {
19
20
  actionCode: string;
20
21
  anchor: string;
21
- }): string;
22
+ }, language?: LanguageContext): string;
@@ -1,3 +1,5 @@
1
+ import { type LanguageContext } from '../language';
2
+ import type { TextPresentationDocument } from '../../web-contracts/index';
1
3
  import type { PageActionInvocation, ResolvedModuleUiDescriptor } from '../../web-contracts/index';
2
4
  import { type AppError } from '../errors';
3
5
  import type { HttpClient } from '../http';
@@ -9,6 +11,7 @@ export interface ModuleRuntimeAction {
9
11
  actionCode: string;
10
12
  permissionActionCode?: string;
11
13
  title?: string;
14
+ titleSource?: import('../../web-contracts/index').TextReference;
12
15
  actionLevel?: 'DEFAULT' | 'LIST' | 'RECORD' | 'BATCH' | 'ANY';
13
16
  category?: string;
14
17
  accessMode?: 'AUTH_REQUIRED' | 'LOGIN_REQUIRED' | 'ANONYMOUS_ALLOWED';
@@ -38,11 +41,13 @@ export interface ModuleRecordActionDecision {
38
41
  actionCode: string;
39
42
  available: boolean;
40
43
  reason?: string;
44
+ reasonText?: import('../../web-contracts/index').TextPresentation;
41
45
  }
42
- export interface ModuleRuntimeContext {
46
+ export interface ModuleRuntimeContext extends TextPresentationDocument {
43
47
  moduleAlias: string;
44
48
  tenantRequired?: boolean;
45
49
  title?: string;
50
+ titleSource?: import('../../web-contracts/index').TextReference;
46
51
  /** Stable wire code of the registered module kind. */
47
52
  moduleKind?: 'static' | 'dynamic';
48
53
  entryType?: 'module' | 'route' | 'link';
@@ -60,9 +65,13 @@ export interface ModuleRuntimeContextState {
60
65
  ready: Promise<ModuleRuntimeContext>;
61
66
  load(): Promise<ModuleRuntimeContext>;
62
67
  snapshot(): ModuleRuntimeContext | undefined;
68
+ presentationSnapshot?(): ModuleRuntimeContext | undefined;
69
+ /** Refresh only matching source translations; retain execution facts and active drafts. */
70
+ refreshTexts?(): Promise<void>;
63
71
  error(): AppError | undefined;
64
72
  hasAbility(ability: ModuleAbilityCode | string): boolean | undefined;
65
73
  action(actionCode: string, recordId?: string): ModuleActionState | undefined;
74
+ /** Action titles follow this display scope; snapshot() retains producer originals. */
66
75
  runtimeAction(actionCode: string): ModuleRuntimeAction | undefined;
67
76
  can(actionCode: string, recordId?: string): boolean | undefined;
68
77
  recordActions(recordId: string): Promise<ModuleRecordActionAvailability>;
@@ -70,5 +79,9 @@ export interface ModuleRuntimeContextState {
70
79
  recordActionsSnapshot(recordId: string): ModuleRecordActionAvailability | undefined;
71
80
  invalidateRecordActions?(recordIds?: string[]): void;
72
81
  }
73
- export declare function createModuleRuntimeContextState(http: HttpClient, moduleAlias: string, access?: 'MENU' | 'REFERENCE' | 'VIEW'): ModuleRuntimeContextState;
82
+ export declare function createModuleRuntimeContextState(http: HttpClient, moduleAlias: string, access?: 'MENU' | 'REFERENCE' | 'VIEW', language?: LanguageContext): ModuleRuntimeContextState;
83
+ /** A language view shares transport, authorization and retained record decisions with its owner. */
84
+ export declare function scopeModuleRuntimeLanguage(context: ModuleRuntimeContextState, language: LanguageContext, access?: Pick<ModuleRuntimeContextState, 'action' | 'runtimeAction'>): ModuleRuntimeContextState;
74
85
  export declare function isRuntimeAbilityAvailable(context: ModuleRuntimeContext | undefined, ability: ModuleAbilityCode): boolean;
86
+ /** UI consumers use a disposable display projection; execution and identity consumers keep snapshot(). */
87
+ export declare function displayModuleRuntime(runtime: ModuleRuntimeContextState): ModuleRuntimeContext | undefined;
@@ -11,6 +11,10 @@ export interface QuerySchemaRequestOptions {
11
11
  uiConfigId?: string;
12
12
  queryTemplateId?: string;
13
13
  }
14
+ /** Display intent only, independent of original-content and interface languages. */
15
+ export interface RecordQueryRequestOptions {
16
+ contentLanguage?: string;
17
+ }
14
18
  export interface RecordSaveRequestOptions {
15
19
  requestId: string;
16
20
  }
@@ -23,7 +27,7 @@ export interface RecordSaveReceipt {
23
27
  /** Source-neutral client for a platform module's standard CRUD contract. */
24
28
  export interface ModuleCrudClient<TRecord> {
25
29
  querySchema(options?: QuerySchemaRequestOptions): Promise<QuerySchema>;
26
- query(request?: WebQueryRequest): Promise<WebPageResponse<TRecord>>;
30
+ query(request?: WebQueryRequest, options?: RecordQueryRequestOptions): Promise<WebPageResponse<TRecord>>;
27
31
  view(id: string): Promise<TRecord>;
28
32
  insert(record: TRecord, options?: RecordSaveRequestOptions): Promise<StaticRecordMutationResult<TRecord>>;
29
33
  update(id: string, record: TRecord, options?: RecordSaveRequestOptions): Promise<StaticRecordMutationResult<TRecord>>;
@@ -61,7 +65,7 @@ export interface ModuleEnableClient {
61
65
  * server-issued relation code are the only routing facts a surface receives.
62
66
  */
63
67
  export interface ManagedDetailRelationClient<TRecord> {
64
- query(request?: WebQueryRequest): Promise<WebPageResponse<TRecord>>;
68
+ query(request?: WebQueryRequest, options?: RecordQueryRequestOptions): Promise<WebPageResponse<TRecord>>;
65
69
  insert(record: TRecord): Promise<StaticRecordMutationResult<TRecord>>;
66
70
  update(id: string, record: TRecord): Promise<StaticRecordMutationResult<TRecord>>;
67
71
  delete(id: string, request: RecordActionRequest): Promise<StaticCountMutationResult>;
@@ -79,7 +83,7 @@ export interface NavigatorReferenceCrudClient<TRecord> extends ModuleCrudClient<
79
83
  translate(ids: readonly string[]): Promise<WebPageResponse<TRecord>>;
80
84
  }
81
85
  /** The navigation-only read surface deliberately does not reuse the module query endpoint. */
82
- export declare function createNavigatorReferenceCrudClient<TRecord>(http: HttpClient, options: {
86
+ export declare function createNavigatorReferenceCrudClient<TRecord>(http: HttpClient, navigatorOptions: {
83
87
  moduleAlias: string;
84
88
  navigatorReference?: NavigatorReferenceRequestContext;
85
89
  }): NavigatorReferenceCrudClient<TRecord>;
@@ -120,3 +124,5 @@ export declare function normalizeModuleRecord<TRecord>(record: TRecord): TRecord
120
124
  * public lets those descriptor-driven surfaces reuse the one normalization rule.</p>
121
125
  */
122
126
  export declare function normalizeModulePageResponse<TRecord>(response: WebPageResponse<TRecord>): WebPageResponse<TRecord>;
127
+ export declare function normalizeModuleListResponse<TRecord>(response: WebListResponse<TRecord>): WebListResponse<TRecord>;
128
+ export declare function normalizeModuleTreeResponse<TRecord>(response: WebListResponse<WebTreeNode<TRecord>>): WebListResponse<WebTreeNode<TRecord>>;
@@ -1,3 +1,5 @@
1
+ import { type LanguageContext } from './language';
2
+ import { type OperationErrorMessage } from './operationErrors';
1
3
  import type { OperationPresentation, OperationReceiptReference } from '../web-contracts/index';
2
4
  /** Captured platform command. The caller owns the candidate and execution scope. */
3
5
  export interface OperationProposal {
@@ -14,6 +16,8 @@ export interface OperationProposal {
14
16
  export type OperationConfirmationState = 'pending' | 'executing' | 'checking' | 'succeeded' | 'unknown' | 'cancelled' | 'expired' | 'rejected';
15
17
  /** Adapter proof that no persistent operation was accepted (validation or authorization rejection). */
16
18
  export declare class OperationRejectedError extends Error {
19
+ readonly textMessage?: OperationErrorMessage;
20
+ constructor(message?: string | OperationErrorMessage, options?: ErrorOptions);
17
21
  }
18
22
  export interface OperationConfirmation {
19
23
  readonly confirmLabel: string;
@@ -25,4 +29,4 @@ export interface OperationConfirmation {
25
29
  cancel(): void;
26
30
  }
27
31
  /** Explicit confirmation, duplicate-click protection and read-only recovery of uncertain writes. */
28
- export declare function createOperationConfirmation(proposal: OperationProposal, scopeIsCurrent: () => boolean, now?: () => number): OperationConfirmation;
32
+ export declare function createOperationConfirmation(proposal: OperationProposal, scopeIsCurrent: () => boolean, now?: () => number, language?: LanguageContext): OperationConfirmation;
@@ -1,8 +1,22 @@
1
+ import type { TextReference } from '../web-contracts/index';
2
+ import { type LanguageContext } from './language';
3
+ export interface OperationErrorMessage {
4
+ readonly message: string;
5
+ readonly source: TextReference;
6
+ readonly args: Readonly<Record<string, string | number | boolean | null>>;
7
+ }
8
+ /** Explicit CODE declaration; parameters are frozen display facts, never inferred from prose. */
9
+ export declare function codeOperationErrorMessage(language: LanguageContext, key: string, original: string, args?: Record<string, unknown>): OperationErrorMessage;
1
10
  /** A rejected editor operation with safe, bounded feedback for callers. */
2
11
  export declare class OperationUsageError extends Error {
3
12
  readonly code: 'CAPABILITY_USAGE_INVALID' | 'CANDIDATE_AMBIGUOUS' | 'CANDIDATE_EXPIRED' | 'PRECONDITION_FAILED';
4
- constructor(message: string, code?: 'CAPABILITY_USAGE_INVALID' | 'CANDIDATE_AMBIGUOUS' | 'CANDIDATE_EXPIRED' | 'PRECONDITION_FAILED');
13
+ readonly textMessage?: OperationErrorMessage;
14
+ constructor(message: string | OperationErrorMessage, code?: 'CAPABILITY_USAGE_INVALID' | 'CANDIDATE_AMBIGUOUS' | 'CANDIDATE_EXPIRED' | 'PRECONDITION_FAILED');
5
15
  }
16
+ /** Resolves owned presentation facts without replaying validation or changing the error code. */
17
+ export declare function resolveOperationErrorMessage(error: Error & {
18
+ readonly textMessage?: OperationErrorMessage;
19
+ }, language?: LanguageContext): string;
6
20
  /** A staged draft was rejected before publication; no draft or display state was changed. */
7
21
  export declare class DraftUpdateRejectedError extends OperationUsageError {
8
22
  constructor(failure: OperationUsageError);
@@ -0,0 +1,21 @@
1
+ import type { BusinessContentTextPresentation } from '../web-contracts/index';
2
+ import type { TextReference, TextPresentation, TextPresentationDocument } from '../web-contracts/index';
3
+ import type { LanguageContext, TextResolution } from './language';
4
+ /** Snapshot a producer's concrete CODE original; arguments format deployed resources, never business values in the fallback. */
5
+ export declare function createCodeTextPresentation(key: string, originalText: string, context: LanguageContext, args?: Record<string, unknown>): TextPresentation;
6
+ export declare function resolvePresentationText(text: TextPresentation, context: LanguageContext): TextResolution;
7
+ /** Typed labels outside module descriptors use the same immutable presentation resource. */
8
+ export declare function presentationLabel(original: string, text: TextPresentation | undefined, context: LanguageContext): string;
9
+ /** Restore source facts for execution/dirty checks; projections remain separate and disposable. */
10
+ export declare function originalPresentation<T extends TextPresentationDocument>(document: T): T;
11
+ export declare function translatedPresentation<T extends TextPresentationDocument>(document: T, context: LanguageContext): T;
12
+ export declare function isTextReference(value: unknown): value is TextReference;
13
+ /** A label is valid only while its explicitly declared source still matches the raw record value. */
14
+ export declare function recordPresentationText(record: object | undefined, field: string): TextPresentation | undefined;
15
+ export declare function recordPresentationLabel(record: object, field: string, context: LanguageContext): string | undefined;
16
+ /** Removes only the record's read metadata; arbitrary nested JSON business values are preserved. */
17
+ export declare function withoutRecordPresentation<T>(record: T): T;
18
+ /** An edited original immediately invalidates its disposable reading snapshot. */
19
+ export declare function businessContentLabel(original: string, text: BusinessContentTextPresentation | undefined, context: LanguageContext): string | undefined;
20
+ export declare function recordBusinessContentText(record: object | undefined, field: string): BusinessContentTextPresentation | undefined;
21
+ export declare function recordBusinessContentArray(record: Record<string, unknown>, field: string, context: LanguageContext): unknown;
@@ -0,0 +1,7 @@
1
+ /** Nested record hosts share a guard so a read refresh cannot destroy an open maintenance session. */
2
+ export declare function provideRecordReadRefreshGuard(): {
3
+ blocked: import("vue").ComputedRef<boolean>;
4
+ invalidate: () => void;
5
+ };
6
+ export declare function useRecordReadRefreshRevision(): import("vue").ComputedRef<number>;
7
+ export declare function useRecordReadRefreshGuard(held: () => boolean): void;
@@ -0,0 +1,2 @@
1
+ /** UTF-8 digest shared with server source versions; works without WebCrypto on LAN HTTP. */
2
+ export declare function sha256Hex(text: string): string;
@@ -0,0 +1,36 @@
1
+ import type { BusinessContentGenerationBatchResult, BusinessContentGenerationSource } from '../web-contracts/index';
2
+ import type { HttpClient } from './http';
3
+ interface Selection {
4
+ active: boolean;
5
+ http?: HttpClient;
6
+ source?: BusinessContentGenerationSource | null;
7
+ records: readonly {
8
+ id: string;
9
+ version?: unknown;
10
+ }[];
11
+ language: string;
12
+ includeChildren: boolean;
13
+ sessionKey?: unknown;
14
+ }
15
+ /** A topic-specific selection session: previews never enqueue; polling never retries generation. */
16
+ export declare function useBusinessContentGenerationBatch(options: () => Selection): {
17
+ result: import("vue").Ref<BusinessContentGenerationBatchResult | undefined, BusinessContentGenerationBatchResult | undefined>;
18
+ items: import("vue").ComputedRef<{
19
+ recordId: string;
20
+ ownerId: string;
21
+ relationCode: string | null;
22
+ childId: string | null;
23
+ field: string | null;
24
+ status: import("../web-contracts/index").BusinessContentGenerationStatus;
25
+ }[]>;
26
+ loading: import("vue").Ref<boolean, boolean>;
27
+ failed: import("vue").Ref<boolean, boolean>;
28
+ error: import("vue").Ref<unknown, unknown>;
29
+ pollingPaused: import("vue").Ref<boolean, boolean>;
30
+ pending: import("vue").ComputedRef<boolean>;
31
+ canGenerate: import("vue").ComputedRef<boolean>;
32
+ canRetry: import("vue").ComputedRef<boolean>;
33
+ preview: () => Promise<void>;
34
+ request: (retry?: boolean) => Promise<void>;
35
+ };
36
+ export {};
@@ -0,0 +1,30 @@
1
+ import type { BusinessContentField, BusinessContentGenerationStatus, BusinessContentReadingField } from '../web-contracts/index';
2
+ import type { HttpClient } from './http';
3
+ import { type BusinessContentRelationScope } from './businessContent';
4
+ interface ReadingOptions {
5
+ active?: boolean;
6
+ http?: HttpClient;
7
+ moduleAlias?: string;
8
+ record: Record<string, unknown>;
9
+ fieldName: string;
10
+ content: BusinessContentField;
11
+ language: string;
12
+ mode: 'create' | 'edit' | 'view';
13
+ relation?: BusinessContentRelationScope;
14
+ sessionKey?: string | number;
15
+ }
16
+ /** Shared saved-record reading. Translation work never mutates the caller's business draft. */
17
+ export declare function useBusinessContentReading(options: () => ReadingOptions): {
18
+ reading: import("vue").Ref<BusinessContentReadingField | undefined, BusinessContentReadingField | undefined>;
19
+ loading: import("vue").Ref<boolean, boolean>;
20
+ failed: import("vue").Ref<boolean, boolean>;
21
+ matches: import("vue").ComputedRef<boolean>;
22
+ status: import("vue").Ref<BusinessContentGenerationStatus | undefined, BusinessContentGenerationStatus | undefined>;
23
+ generationBusy: import("vue").Ref<boolean, boolean>;
24
+ generationFailed: import("vue").Ref<boolean, boolean>;
25
+ pollingPaused: import("vue").Ref<boolean, boolean>;
26
+ canRetry: import("vue").ComputedRef<boolean>;
27
+ load: () => Promise<void>;
28
+ retry: () => Promise<void>;
29
+ };
30
+ export {};
@@ -0,0 +1,71 @@
1
+ import type { WorkflowDefinition, WorkflowVersion, WorkflowTaskPreparation, WorkflowConfigurationCatalog, WorkflowDefinitionSelection, WorkflowDefinitionCreate, WorkflowAdminInstance, WorkflowAdminTask, WorkflowAdminInstanceQuery, WorkflowAdminHistoryQuery, WorkflowAction, WorkflowAddSignExplanation, WorkflowBranch, WorkflowDesign, WorkflowEvent, WorkflowHistoryInstance, WorkflowRenderBundle, WorkflowStatus, WorkflowTask, WorkflowRecordInstance, WorkflowWorkbenchCard, WorkflowWorkbenchFilters, WebPageResponse } from '../web-contracts/index';
2
+ import type { HttpClient } from './http';
3
+ import type { ModuleContext } from './module/moduleContext';
4
+ /** Workflow mutations change ordinary record rights as well as the record itself. */
5
+ export declare function refreshWorkflowRecordActions(context: Pick<ModuleContext<unknown>, 'invalidateRecordActions' | 'recordActions'>, recordId: string): Promise<void>;
6
+ /** All operation rights remain server decisions. The client only carries typed intent. */
7
+ export declare function createWorkflowClient(http: HttpClient): {
8
+ recordInstances: (moduleAlias: string, recordId: string, page?: number, size?: number) => Promise<WebPageResponse<WorkflowRecordInstance>>;
9
+ history: (moduleAlias: string, recordId: string) => Promise<WorkflowHistoryInstance[]>;
10
+ historyBundle: (id: string) => Promise<WorkflowRenderBundle>;
11
+ historyTasks: (id: string) => Promise<WorkflowTask[]>;
12
+ historyEvents: (id: string) => Promise<WorkflowEvent[]>;
13
+ status: (alias: string, id: string) => Promise<WorkflowStatus>;
14
+ submitBranches: (alias: string, id: string, payload?: unknown) => Promise<WorkflowBranch[]>;
15
+ executeGuide: (id: string, guideKey: string, payload: unknown) => Promise<unknown>;
16
+ preview: (alias: string, id: string, payload?: unknown) => Promise<{
17
+ semanticJson: string | undefined;
18
+ layoutJson: string | undefined;
19
+ definition?: WorkflowStatus["definition"];
20
+ tasks: WorkflowTask[];
21
+ taskViews?: WorkflowTask[];
22
+ instance: import("../web-contracts/index").WorkflowInstance;
23
+ nodes: import("../web-contracts/index").WorkflowNode[];
24
+ routes: import("../web-contracts/index").WorkflowRoute[];
25
+ }>;
26
+ submit: (alias: string, id: string, payload?: unknown) => Promise<unknown>;
27
+ bundle: (id: string) => Promise<WorkflowRenderBundle>;
28
+ addSignExplanations: (id: string) => Promise<WorkflowAddSignExplanation[]>;
29
+ actions: (id: string) => Promise<WorkflowAction[]>;
30
+ tasks: (id: string) => Promise<WorkflowTask[]>;
31
+ events: (id: string) => Promise<WorkflowEvent[]>;
32
+ branches: (id: string) => Promise<WorkflowBranch[]>;
33
+ branchChoices: (id: string, payload: unknown) => Promise<WorkflowBranch[]>;
34
+ taskAction: (id: string, code: string, payload: unknown) => Promise<unknown>;
35
+ instanceAction: (id: string, code: string, payload: unknown) => Promise<unknown>;
36
+ workbench: (board: string, pageNumber?: number, moduleAlias?: string) => Promise<WorkflowWorkbenchCard[]>;
37
+ workbenchModules: () => Promise<import("../web-contracts/index").ModuleTitleCatalog>;
38
+ workbenchPage: (board: string, pageNum?: number, filters?: WorkflowWorkbenchFilters, keyword?: string, pageSize?: number) => Promise<WebPageResponse<WorkflowWorkbenchCard> & {
39
+ navigation?: {
40
+ modules: Record<string, string>;
41
+ moduleTitles?: import("../web-contracts/index").ModuleTitleCatalog;
42
+ };
43
+ }>;
44
+ taskViews: (id: string) => Promise<WorkflowTask[]>;
45
+ eventViews: (id: string) => Promise<WorkflowEvent[]>;
46
+ prepareTask: (id: string) => Promise<WorkflowTaskPreparation>;
47
+ };
48
+ /** Definition commands are scoped to the owning business module. */
49
+ export declare function createWorkflowDefinitionClient(http: HttpClient, moduleAlias: string): {
50
+ catalog: (id: string) => Promise<WorkflowConfigurationCatalog>;
51
+ query: () => Promise<WorkflowDefinition[]>;
52
+ versions: (id: string) => Promise<WorkflowVersion[]>;
53
+ create: (payload: WorkflowDefinitionCreate) => Promise<WorkflowDefinition>;
54
+ view: (id: string) => Promise<WorkflowDefinition>;
55
+ upgrade: (id: string) => Promise<WorkflowVersion>;
56
+ saveSelection: (id: string, payload: WorkflowDefinitionSelection) => Promise<WorkflowDefinition>;
57
+ design: (id: string, versionId: string) => Promise<WorkflowDesign>;
58
+ saveDesign: (id: string, versionId: string, expectedVersion: number, design: WorkflowDesign) => Promise<WorkflowVersion>;
59
+ validate: (id: string, versionId: string) => Promise<unknown>;
60
+ publish: (id: string, versionId: string, definitionVersion: number, expectedVersion: number) => Promise<WorkflowVersion>;
61
+ changeStatus: (id: string, action: "disable" | "archive", expectedVersion: number) => Promise<WorkflowDefinition>;
62
+ };
63
+ /** Management projections and commands keep their separate authorization boundary. */
64
+ export declare function createWorkflowAdminClient(http: HttpClient): {
65
+ instances: (query: WorkflowAdminInstanceQuery) => Promise<WorkflowAdminInstance[]>;
66
+ history: (query: WorkflowAdminHistoryQuery) => Promise<WorkflowHistoryInstance[]>;
67
+ bundle: (id: string, history: boolean) => Promise<WorkflowRenderBundle>;
68
+ events: (id: string, history: boolean) => Promise<WorkflowEvent[]>;
69
+ activeTasks: (id: string) => Promise<WorkflowAdminTask[]>;
70
+ execute: (instanceId: string, code: string, reason: string, taskId?: string) => Promise<unknown>;
71
+ };
@@ -0,0 +1,6 @@
1
+ /** A UI host can protect drafts without coupling reusable record panels to the workbench implementation. */
2
+ export interface WorkspaceUnsavedStateRegistrar {
3
+ registerUnsavedState(source: string, isDirty: () => boolean, isBusy?: () => boolean, sourceTitle?: () => string): () => void;
4
+ }
5
+ export declare function provideWorkspaceUnsavedStateRegistrar(registrar: WorkspaceUnsavedStateRegistrar | undefined): void;
6
+ export declare function useWorkspaceViewUnsavedState(source: string | (() => string), isDirty: () => boolean, isBusy?: () => boolean): void;