@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
@@ -0,0 +1,356 @@
1
+ import type { TextPresentation } from './index';
2
+ /** Published workflow facts shared by static and metadata driven modules. */
3
+ export interface WorkflowDefinition {
4
+ id: string;
5
+ version: number;
6
+ alias: string;
7
+ title?: string;
8
+ definitionStatus: string;
9
+ currentVersionNo?: number;
10
+ approvalEnabled: boolean;
11
+ organizationId?: string;
12
+ matchExpression?: string;
13
+ matchPriority?: number;
14
+ defaultDefinition?: boolean;
15
+ }
16
+ export interface WorkflowVersion {
17
+ id: string;
18
+ version: number;
19
+ versionNo: number;
20
+ publishStatus: string;
21
+ }
22
+ export interface WorkflowNode {
23
+ nodeTitleText?: TextPresentation;
24
+ id?: string;
25
+ version?: number;
26
+ nodeKey: string;
27
+ title?: string;
28
+ nodeTitle?: string;
29
+ nodeType: string;
30
+ nodeStatus?: string;
31
+ approvalMode?: string;
32
+ approvalRatio?: number;
33
+ participantPolicyText?: string;
34
+ milestoneType?: string;
35
+ routeMode?: string;
36
+ selectorNodeKey?: string;
37
+ convergeNodeKey?: string;
38
+ convergeMode?: string;
39
+ convergeRatio?: number;
40
+ requireManualSelectionReason?: boolean;
41
+ allowReject?: boolean;
42
+ autoApproveSameUser?: boolean;
43
+ requireRejectReason?: boolean;
44
+ allowRejectReturnToMe?: boolean;
45
+ allowRollback?: boolean;
46
+ requireRollbackReason?: boolean;
47
+ allowAddSign?: boolean;
48
+ warningDurationMinutes?: number;
49
+ overtimeDurationMinutes?: number;
50
+ taskDefinitionId?: string;
51
+ nodeConfigText?: string;
52
+ }
53
+ export interface WorkflowRoute {
54
+ id?: string;
55
+ routeKey: string;
56
+ sourceNodeKey: string;
57
+ targetNodeKey: string;
58
+ title?: string;
59
+ conditionExpression?: string;
60
+ defaultRoute?: boolean;
61
+ routeStatus?: string;
62
+ routeReason?: string;
63
+ selectedReason?: string;
64
+ }
65
+ export interface WorkflowAddSignExplanation {
66
+ dimension: 'NODE' | 'ROUTE';
67
+ nodeKey?: string;
68
+ nodeStatus?: string;
69
+ routeKey?: string;
70
+ routeSourceNodeKey?: string;
71
+ routeTargetNodeKey?: string;
72
+ addSignSourceNodeKey: string;
73
+ }
74
+ export interface WorkflowDesign {
75
+ nodes: WorkflowNode[];
76
+ links: WorkflowRoute[];
77
+ layoutJson?: string;
78
+ }
79
+ export interface WorkflowInstance {
80
+ id: string;
81
+ moduleAlias: string;
82
+ recordId: string;
83
+ definitionTitle?: string;
84
+ versionNo?: number;
85
+ instanceStatus: string;
86
+ approvalStatus?: string;
87
+ currentNodeKeys?: string;
88
+ startedAt?: string;
89
+ startedBy?: string;
90
+ completedAt?: string;
91
+ semanticJson?: string;
92
+ layoutJson?: string;
93
+ }
94
+ export interface WorkflowTask {
95
+ id: string;
96
+ nodeInstanceId?: string;
97
+ nodeKey?: string;
98
+ taskKind: string;
99
+ taskStatus: string;
100
+ assigneeId?: string;
101
+ assigneeTitle?: string;
102
+ originalAssigneeTitle?: string;
103
+ actualProcessUserTitle?: string;
104
+ processedByDelegation?: boolean;
105
+ originalAssigneeId?: string;
106
+ actualProcessorId?: string;
107
+ assignmentKind?: string;
108
+ decision?: string;
109
+ completedAt?: string;
110
+ }
111
+ export interface WorkflowRecordInstance {
112
+ id: string;
113
+ versionNo?: number;
114
+ instanceStatus: string;
115
+ approvalEnabled: boolean;
116
+ startedAt?: string;
117
+ }
118
+ export interface WorkflowEvent {
119
+ version?: number | null;
120
+ messageText?: TextPresentation;
121
+ id: string;
122
+ taskId?: string;
123
+ eventType: string;
124
+ actionCode?: string;
125
+ nodeKey?: string;
126
+ operatorId?: string;
127
+ operatorTitle?: string;
128
+ reason?: string;
129
+ message?: string;
130
+ nodeInstanceId?: string;
131
+ occurredAt?: string;
132
+ eventText?: string;
133
+ payloadText?: string;
134
+ }
135
+ export interface WorkflowAction {
136
+ actionCode: string;
137
+ title: string;
138
+ taskId?: string;
139
+ nodeKey?: string;
140
+ nodeTitle?: string;
141
+ reasonRequired: boolean;
142
+ targetAssigneeRequired?: boolean;
143
+ rejectReturnToMeSupported?: boolean;
144
+ rejectResubmitModes?: string[];
145
+ defaultRejectResubmitMode?: string;
146
+ }
147
+ export interface WorkflowStatus {
148
+ canSubmit?: boolean;
149
+ displayStatus: string;
150
+ instanceId?: string;
151
+ errorMessage?: string;
152
+ errorMessageText?: TextPresentation;
153
+ definition?: {
154
+ definitionTitle?: string;
155
+ definitionAlias?: string;
156
+ };
157
+ }
158
+ export interface WorkflowRenderBundle {
159
+ instance: WorkflowInstance;
160
+ nodes: WorkflowNode[];
161
+ routes: WorkflowRoute[];
162
+ semanticJson?: string;
163
+ layoutJson?: string;
164
+ }
165
+ export interface WorkflowSubmitPreview extends WorkflowRenderBundle {
166
+ definition?: WorkflowStatus['definition'];
167
+ tasks: WorkflowTask[];
168
+ taskViews?: WorkflowTask[];
169
+ }
170
+ export interface WorkflowBranch {
171
+ branchNodeKey: string;
172
+ branchTitle?: string;
173
+ selectionPending?: boolean;
174
+ selectorNodeKey?: string;
175
+ requireManualSelectionReason?: boolean;
176
+ candidates: Array<{
177
+ routeKey: string;
178
+ targetNodeKey: string;
179
+ routeStatus: string;
180
+ title?: string;
181
+ targetNodeTitle?: string;
182
+ defaultRoute?: boolean;
183
+ conditionMatched?: boolean;
184
+ recommended?: boolean;
185
+ }>;
186
+ }
187
+ export interface WorkflowWorkbenchCard {
188
+ nodeTitleText?: TextPresentation;
189
+ business?: {
190
+ title?: string;
191
+ moduleTitle?: string;
192
+ readable: boolean;
193
+ moduleTitleSource?: import('./index').TextReference;
194
+ moduleTitleText?: import('./index').TextPresentation;
195
+ titleContentText?: import('./index').BusinessContentTextPresentation;
196
+ };
197
+ instanceId: string;
198
+ moduleAlias: string;
199
+ recordId: string;
200
+ taskId?: string;
201
+ nodeTitle?: string;
202
+ taskKind?: string;
203
+ taskStatus?: string;
204
+ approvalStatus?: string;
205
+ instanceStatus: string;
206
+ currentAssigneeTitles: string[];
207
+ submitterUserTitle?: string;
208
+ originalAssigneeTitle?: string;
209
+ assignmentKind?: string;
210
+ delegatedToUserTitle?: string;
211
+ overtimeStatus?: string;
212
+ startedAt?: string;
213
+ receivedAt?: string;
214
+ completedAt?: string;
215
+ }
216
+ export interface WorkflowHistoryInstance {
217
+ moduleAlias: string;
218
+ recordId: string;
219
+ startedByTitle?: string;
220
+ id: string;
221
+ versionNo: number;
222
+ instanceStatus: string;
223
+ approvalStatus: string;
224
+ startedAt?: string;
225
+ archivedAt?: string;
226
+ lastActionReason?: string;
227
+ }
228
+ export interface WorkflowWorkbenchFilters {
229
+ moduleAlias?: string;
230
+ submitterUserId?: string;
231
+ overtimeStatus?: string;
232
+ instanceStatus?: string;
233
+ taskStatus?: string;
234
+ receivedFrom?: string;
235
+ receivedTo?: string;
236
+ completedFrom?: string;
237
+ completedTo?: string;
238
+ }
239
+ export interface WorkflowTaskPreparation {
240
+ evaluation: {
241
+ passed: boolean;
242
+ failureMessage?: string;
243
+ failureCheckKey?: string;
244
+ failureMessageText?: TextPresentation;
245
+ /** Frozen configuration declarations remain available even when a check currently passes. */
246
+ checkTexts?: Array<{
247
+ checkKey: string;
248
+ title?: string;
249
+ titleText?: TextPresentation;
250
+ failureMessage?: string;
251
+ failureMessageText?: TextPresentation;
252
+ }>;
253
+ checkResults: Array<{
254
+ checkKey: string;
255
+ checkTitle?: string;
256
+ checkTitleText?: TextPresentation;
257
+ passed: boolean;
258
+ failureMessage?: string;
259
+ failureMessageText?: TextPresentation;
260
+ }>;
261
+ guides: Array<{
262
+ guideKey: string;
263
+ title?: string;
264
+ titleText?: TextPresentation;
265
+ instructionText?: TextPresentation;
266
+ guideKind: string;
267
+ guideConfigText?: string;
268
+ targetModuleAlias?: string;
269
+ targetActionCode?: string;
270
+ }>;
271
+ };
272
+ }
273
+ export interface WorkflowConfigurationCatalog {
274
+ tasks: {
275
+ id: string;
276
+ title: string;
277
+ }[];
278
+ queries: {
279
+ id: string;
280
+ title: string;
281
+ }[];
282
+ generations: {
283
+ id: string;
284
+ title: string;
285
+ targetModuleAlias: string;
286
+ }[];
287
+ associations: {
288
+ id: string;
289
+ title: string;
290
+ }[];
291
+ }
292
+ export interface WorkflowDefinitionSelection {
293
+ version: number;
294
+ title: string;
295
+ organizationId: string | null;
296
+ matchExpression: string | null;
297
+ matchPriority: number;
298
+ defaultDefinition: boolean;
299
+ }
300
+ export interface WorkflowDefinitionCreate extends Omit<WorkflowDefinitionSelection, 'version'> {
301
+ alias: string;
302
+ approvalEnabled: boolean;
303
+ enabled: boolean;
304
+ }
305
+ export interface WorkflowAdminInstance {
306
+ instanceId: string;
307
+ moduleAlias: string;
308
+ recordId: string;
309
+ versionNo: number;
310
+ instanceStatus: string;
311
+ approvalStatus: string;
312
+ startedByTitle?: string;
313
+ activeNodeTitles: string[];
314
+ workflowVersionId?: string;
315
+ activeNodeLabels?: {
316
+ nodeKey: string;
317
+ title: string;
318
+ addedByAddSign: boolean;
319
+ titleText?: TextPresentation;
320
+ }[];
321
+ currentAssigneeTitles: string[];
322
+ overtimeStatus?: string;
323
+ }
324
+ export interface WorkflowAdminTask {
325
+ taskId: string;
326
+ nodeKey?: string;
327
+ nodeInstanceId?: string;
328
+ workflowVersionId?: string;
329
+ nodeTitleText?: TextPresentation;
330
+ nodeTitle: string;
331
+ assigneeTitle?: string;
332
+ taskKind: string;
333
+ canForceApprove: boolean;
334
+ }
335
+ export interface WorkflowAdminInstanceQuery {
336
+ moduleAlias?: string;
337
+ recordId?: string;
338
+ starterId?: string;
339
+ instanceStatus?: string;
340
+ approvalStatus?: string;
341
+ currentAssigneeId?: string;
342
+ overtimeStatus?: string;
343
+ page: {
344
+ pageNum: number;
345
+ pageSize: number;
346
+ };
347
+ }
348
+ export interface WorkflowAdminHistoryQuery {
349
+ moduleAlias?: string;
350
+ recordId?: string;
351
+ startedBy?: string;
352
+ page: {
353
+ pageNum: number;
354
+ pageSize: number;
355
+ };
356
+ }
@@ -1,7 +1,10 @@
1
+ import type { TextReference } from '../web-contracts/index';
1
2
  import { webDataChangeTypes, type WebActionResultEnvelope, type WebDataChange } from '../web-contracts/index';
2
3
  export interface ResolvedWebActionResult {
3
4
  message: string;
4
5
  messageCode?: string;
6
+ messageArgs?: Record<string, unknown>;
7
+ messageSource?: TextReference;
5
8
  messageType?: string;
6
9
  resultType?: string;
7
10
  changeSetId?: string;
@@ -1,3 +1,4 @@
1
+ import { type LanguageContext } from './language';
1
2
  import type { OperationReceiptReference, OperationPresentation } from '../web-contracts/index';
2
3
  import { type OperationProposal, type OperationConfirmation } from './operationConfirmation';
3
4
  export { OperationRejectedError as AssistantOperationRejectedError } from './operationConfirmation';
@@ -18,6 +19,6 @@ export interface AssistantOperationConfirmation extends OperationConfirmation {
18
19
  readonly continuationIsCurrent?: () => boolean;
19
20
  takeContinuation(): string | undefined;
20
21
  }
21
- export declare function createAssistantOperationConfirmation(proposal: AssistantOperationProposal, scopeIsCurrent: () => boolean, now?: () => number): AssistantOperationConfirmation;
22
+ export declare function createAssistantOperationConfirmation(proposal: AssistantOperationProposal, scopeIsCurrent: () => boolean, now?: () => number, language?: LanguageContext): AssistantOperationConfirmation;
22
23
  /** Recovered results have no execute path, expiry renewal, or automatic continuation. */
23
- export declare function restoreAssistantOperationReceipt(reference: OperationReceiptReference, lookup: () => Promise<OperationPresentation | undefined>, scopeIsCurrent: () => boolean): AssistantOperationConfirmation;
24
+ export declare function restoreAssistantOperationReceipt(reference: OperationReceiptReference, lookup: () => Promise<OperationPresentation | undefined>, scopeIsCurrent: () => boolean, language?: LanguageContext): AssistantOperationConfirmation;
@@ -1,6 +1,13 @@
1
1
  import type { OperationReceiptReference, OperationPresentation } from '../web-contracts/index';
2
2
  import type { HttpClient } from './http';
3
3
  import type { AssistantConversationMessage } from '../web-contracts/index';
4
+ /** Display-only CODE text; never model history, command inputs or proof of execution. */
5
+ export type AssistantControlText = {
6
+ source: import('../web-contracts/index').TextReference;
7
+ args?: Record<string, string | number | boolean | null | AssistantControlText>;
8
+ } | {
9
+ parts: Array<string | AssistantControlText>;
10
+ };
4
11
  export interface AssistantConfigurationTask {
5
12
  goal: string;
6
13
  mode: 'conversation' | 'visual';
@@ -13,6 +20,7 @@ export interface AssistantConversationContent {
13
20
  messages: Array<{
14
21
  role: 'user' | 'assistant' | 'status';
15
22
  text: string;
23
+ controlText?: AssistantControlText;
16
24
  operationReceipt?: {
17
25
  reference: OperationReceiptReference;
18
26
  executionScopeKey: string;
@@ -1,3 +1,4 @@
1
+ import { type LanguageContext } from './language';
1
2
  import { type AssistantOperationProposal, type AssistantOperationConfirmation } from './assistantConfirmation';
2
3
  import type { AssistantCapabilityCall, AssistantResultPresentation, AssistantCapabilityDescriptor, AssistantSurfaceContext, AssistantTurnInput, AssistantTurnOutput } from '../web-contracts/index';
3
4
  import type { AssistantTurnProgress } from './assistantTurnClient';
@@ -143,10 +144,10 @@ export declare function useAssistantSurfaceHost(): AssistantSurfaceHost | undefi
143
144
  export declare class StaleAssistantInvocationError extends Error {
144
145
  constructor();
145
146
  }
146
- import { OperationUsageError } from './operationErrors';
147
+ import { OperationUsageError, type OperationErrorMessage } from './operationErrors';
147
148
  /** Preserves the public assistant error contract at the adapter boundary. */
148
149
  export declare class AssistantCapabilityUsageError extends OperationUsageError {
149
- constructor(message: string, code?: OperationUsageError['code']);
150
+ constructor(message: string | OperationErrorMessage, code?: OperationUsageError['code']);
150
151
  }
151
152
  /** An effect started before interruption. Contains no business output from an obsolete scope. */
152
153
  export declare class AssistantEffectInterruptedError extends Error {
@@ -157,6 +158,6 @@ export declare class AssistantEffectInterruptedError extends Error {
157
158
  export declare function createAssistantSurfaceRegistry(identityScope?: () => string, workspaceContext?: () => {
158
159
  revision: string;
159
160
  facts: Record<string, unknown>;
160
- }): AssistantSurfaceRegistry;
161
+ }, language?: LanguageContext): AssistantSurfaceRegistry;
161
162
  /** Compares page identity and revisions, independently of object property order. */
162
163
  export declare function sameAssistantInvocationToken(left: AssistantInvocationToken | undefined, right: AssistantInvocationToken | undefined): boolean;
@@ -12,5 +12,7 @@ export interface AssistantModelRequestObservation {
12
12
  toolCallCount?: number;
13
13
  }
14
14
  export type AssistantTurnRequester = (input: AssistantTurnInput, signal: AbortSignal, progress?: AssistantTurnProgress) => Promise<AssistantTurnOutput>;
15
+ /** Reads only the current backend identity's configuration decision, without exposing route details. */
16
+ export declare function readAssistantAvailability(http: HttpClient, signal?: AbortSignal): Promise<boolean>;
15
17
  /** Uses the supplied transport as-is so page-owned tenant scope remains authoritative. */
16
18
  export declare function createAssistantTurnRequester(http: HttpClient): AssistantTurnRequester;
@@ -0,0 +1,38 @@
1
+ import type { HttpClient } from './http';
2
+ import type { BusinessContentGenerationSource, BusinessContentGenerationBatchCommand, BusinessContentGenerationBatchResult } from '../web-contracts/index';
3
+ import type { BusinessContentSources, BusinessContentRevision } from '../web-contracts/index';
4
+ import type { BusinessContentReading, BusinessContentGenerationStatus, BusinessContentTranslationMaintenance, BusinessContentTranslationChange, BusinessContentTranslationRevision } from '../web-contracts/index';
5
+ export type BusinessContentRelationScope = {
6
+ kind?: 'aggregate';
7
+ parentId: string;
8
+ relationCode: string;
9
+ workflowInstanceId?: never;
10
+ history?: never;
11
+ } | {
12
+ kind: 'workflowEvent';
13
+ workflowInstanceId: string;
14
+ history?: boolean;
15
+ parentId?: never;
16
+ relationCode?: never;
17
+ };
18
+ export declare function businessContentGenerationBatch(http: HttpClient, source: BusinessContentGenerationSource, command: BusinessContentGenerationBatchCommand, operation: 'status' | 'request', signal?: AbortSignal): Promise<BusinessContentGenerationBatchResult>;
19
+ /** The source belongs to the actual row, including an owned aggregate child. */
20
+ export declare function businessContentPath(moduleAlias: string, id: string, relation?: BusinessContentRelationScope): string;
21
+ export declare function loadBusinessContentSources(http: HttpClient, moduleAlias: string, id: string, relation?: BusinessContentRelationScope, snapshot?: object, sessionKey?: string | number): Promise<BusinessContentSources>;
22
+ export declare function loadBusinessContentHistory(http: HttpClient, moduleAlias: string, id: string, field: string, page: number, relation?: BusinessContentRelationScope): Promise<BusinessContentRevision[]>;
23
+ export declare function loadBusinessContentReading(http: HttpClient, moduleAlias: string, id: string, language: string, relation?: BusinessContentRelationScope, snapshot?: object, sessionKey?: string | number, refreshRevision?: number): Promise<BusinessContentReading>;
24
+ export declare function prepareBusinessContentTranslation(http: HttpClient, moduleAlias: string, id: string, field: string, language: string, access: 'edit' | 'confirm', relation?: BusinessContentRelationScope): Promise<BusinessContentTranslationMaintenance>;
25
+ export declare function changeBusinessContentTranslation(http: HttpClient, moduleAlias: string, id: string, field: string, language: string, operation: 'draft' | 'confirm' | 'remove', change: BusinessContentTranslationChange, relation?: BusinessContentRelationScope, snapshot?: object): Promise<BusinessContentTranslationMaintenance>;
26
+ export declare function loadBusinessContentTranslationHistory(http: HttpClient, moduleAlias: string, id: string, field: string, language: string, access: 'edit' | 'confirm', source: {
27
+ revisionId: string;
28
+ revision: number;
29
+ }, page: number, relation?: BusinessContentRelationScope): Promise<BusinessContentTranslationRevision[]>;
30
+ export interface BusinessContentGenerationOptions {
31
+ relation?: BusinessContentRelationScope;
32
+ snapshot?: object;
33
+ signal?: AbortSignal;
34
+ }
35
+ /** Read-only status. No enqueue, retry or model invocation. */
36
+ export declare function loadBusinessContentGeneration(http: HttpClient, moduleAlias: string, id: string, field: string, language: string, options?: BusinessContentGenerationOptions): Promise<BusinessContentGenerationStatus>;
37
+ /** Explicit reading generation or manual-field drafting; source, identity and route are resolved by the server. */
38
+ export declare function requestBusinessContentGeneration(http: HttpClient, moduleAlias: string, id: string, field: string, language: string, retry?: boolean, options?: BusinessContentGenerationOptions): Promise<BusinessContentGenerationStatus>;
@@ -0,0 +1,18 @@
1
+ import type { LanguageContext } from './language';
2
+ export declare const businessContentLanguages: readonly [{
3
+ readonly value: "zh-CN";
4
+ readonly label: "简体中文";
5
+ }, {
6
+ readonly value: "en";
7
+ readonly label: "English";
8
+ }, {
9
+ readonly value: "de";
10
+ readonly label: "Deutsch";
11
+ }];
12
+ export type BusinessContentLanguageContext = Pick<LanguageContext, 'languageTag' | 'requestedLanguageTag' | 'selectionRevision' | 'setLanguage'>;
13
+ /** Reading intent belongs to this interface scope; it never changes the interface or original language. */
14
+ export declare function businessContentLanguageContext(language: LanguageContext): BusinessContentLanguageContext;
15
+ /** A bounded reading snapshot lets language changes preserve local picker and form drafts. */
16
+ export declare function businessContentReadHeaders(options?: {
17
+ contentLanguage?: string;
18
+ }): Record<string, string>;
@@ -1,4 +1,5 @@
1
- import type { WebActionMessage } from '../web-contracts/index';
1
+ import { type LanguageContext } from './language';
2
+ import type { TextPresentation, WebActionMessage } from '../web-contracts/index';
2
3
  export interface ErrorTarget {
3
4
  kind?: string;
4
5
  moduleAlias?: string;
@@ -35,6 +36,7 @@ export declare const platformErrorCodes: {
35
36
  readonly resourceNotFound: "RESOURCE_NOT_FOUND";
36
37
  readonly resourceSoftDeletedConflict: "RESOURCE_SOFT_DELETED_CONFLICT";
37
38
  readonly configMissing: "CONFIG_MISSING";
39
+ readonly querySchemaUnsupported: "QUERY_SCHEMA_UNSUPPORTED";
38
40
  readonly internalError: "INTERNAL_ERROR";
39
41
  };
40
42
  export type PlatformErrorCode = (typeof platformErrorCodes)[keyof typeof platformErrorCodes] | (string & {});
@@ -47,6 +49,7 @@ export declare class AppError extends Error {
47
49
  readonly details?: Record<string, unknown>;
48
50
  readonly messageArgs?: Record<string, unknown>;
49
51
  readonly actionMessage?: WebActionMessage;
52
+ readonly messageText?: TextPresentation;
50
53
  globallyHandled: boolean;
51
54
  constructor(message: string, options?: {
52
55
  code?: PlatformErrorCode;
@@ -57,11 +60,12 @@ export declare class AppError extends Error {
57
60
  details?: Record<string, unknown>;
58
61
  messageArgs?: Record<string, unknown>;
59
62
  actionMessage?: WebActionMessage;
63
+ messageText?: TextPresentation;
60
64
  });
61
65
  }
62
66
  export declare function normalizeError(error: unknown): AppError;
63
- export declare function resolveGlobalErrorPresentation(error: AppError, context?: ErrorUiContext): GlobalErrorPresentation;
64
- export declare function userFacingErrorMessage(error: AppError): string;
67
+ export declare function resolveGlobalErrorPresentation(error: AppError, context?: ErrorUiContext, language?: LanguageContext): GlobalErrorPresentation;
68
+ export declare function userFacingErrorMessage(error: AppError, language?: LanguageContext): string;
65
69
  /** Fixed explanations for known model failures; never expose arbitrary upstream 5xx text. */
66
- export declare function modelFailureMessage(error: AppError): string | undefined;
70
+ export declare function modelFailureMessage(error: AppError, language?: LanguageContext): string | undefined;
67
71
  export declare function isUnexpectedPlatformError(error: AppError): boolean;
@@ -22,3 +22,14 @@ export * from './operationConfirmation';
22
22
  export * from './operationErrors';
23
23
  export * from './operationReceipt';
24
24
  export * from './uuid';
25
+ export { createWorkflowClient, createWorkflowDefinitionClient, createWorkflowAdminClient, refreshWorkflowRecordActions, } from './workflow';
26
+ export { provideWorkspaceUnsavedStateRegistrar, useWorkspaceViewUnsavedState } from './workspaceUnsavedState';
27
+ export type { WorkspaceUnsavedStateRegistrar } from './workspaceUnsavedState';
28
+ export * from './language';
29
+ export * from './languagePreference';
30
+ export * from './presentationTexts';
31
+ export * from './businessContent';
32
+ export * from './useBusinessContentGenerationBatch';
33
+ export * from './useBusinessContentReading';
34
+ export * from './businessContentLanguage';
35
+ export * from './recordReadRefreshGuard';
@@ -0,0 +1,54 @@
1
+ import type { TextReference } from '../web-contracts/index';
2
+ import { type ComputedRef } from 'vue';
3
+ import { type HttpClient, type StreamingHttpClient } from './http';
4
+ export interface LanguageDefinition {
5
+ readonly tag: string;
6
+ readonly nativeName: string;
7
+ readonly fallbackTag?: string | null;
8
+ readonly direction: 'ltr' | 'rtl';
9
+ readonly enabled?: boolean;
10
+ }
11
+ export interface LanguageCatalog {
12
+ readonly defaultTag: string;
13
+ languages: readonly LanguageDefinition[];
14
+ }
15
+ export interface TextResolution {
16
+ text: string;
17
+ requestedTag: string;
18
+ resourceTag?: string;
19
+ missing: boolean;
20
+ fallback: boolean;
21
+ }
22
+ export interface LanguageContext {
23
+ readonly catalog: ComputedRef<LanguageCatalog>;
24
+ readonly languageTag: ComputedRef<string>;
25
+ readonly requestedLanguageTag: ComputedRef<string | undefined>;
26
+ readonly revision: ComputedRef<number>;
27
+ readonly selectionRevision: ComputedRef<number>;
28
+ readonly fallbackLanguageTags: ComputedRef<readonly string[]>;
29
+ readonly language: ComputedRef<LanguageDefinition>;
30
+ setLanguage(tag?: string): void;
31
+ setCatalog(catalog: LanguageCatalog): void;
32
+ registerResources(tag: string, messages: Record<string, string>): void;
33
+ resolve(key: string, defaultText?: string, args?: Record<string, unknown>): TextResolution;
34
+ /** Resolve registered resources without changing selection, including disabled fallback locales. */
35
+ resolveForLanguage(tag: string, key: string, defaultText?: string, args?: Record<string, unknown>): TextResolution;
36
+ t(key: string, defaultText?: string, args?: Record<string, unknown>): string;
37
+ }
38
+ /** Platform-owned CODE originals, independent of the selected or deployed default language. */
39
+ export declare function platformCodeTextOriginal(key: string): string | undefined;
40
+ /** Immutable CODE source facts belong to the platform resource producer, never to a consumer locale. */
41
+ export declare function platformCodeTextReference(key: string): TextReference | undefined;
42
+ /** Compare a declared source with the actual original, including its content version. */
43
+ export declare function textReferenceMatchesOriginal(source: TextReference, original: string): boolean;
44
+ export declare function createLanguageContext(options?: {
45
+ catalog?: LanguageCatalog;
46
+ languageTag?: string;
47
+ resources?: Record<string, Record<string, string>>;
48
+ }): LanguageContext;
49
+ export declare const platformLanguageContext: LanguageContext;
50
+ export declare function provideLanguageContext(context: LanguageContext): void;
51
+ export declare function useLanguageContext(): LanguageContext;
52
+ export declare function withLanguageContext(client: StreamingHttpClient, context: LanguageContext): StreamingHttpClient;
53
+ export declare function withLanguageContext(client: HttpClient, context: LanguageContext): HttpClient;
54
+ export declare function loadLanguageCatalog(http: HttpClient, context: LanguageContext): Promise<void>;
@@ -0,0 +1,8 @@
1
+ import type { LanguageContext } from './language';
2
+ import { type UserPreferenceStore } from './userPreferences';
3
+ /** Scope changes and user selection invalidate delayed restores; queued writes never cross accounts. */
4
+ export declare function createLanguagePreferenceController(context: Pick<LanguageContext, 'setLanguage' | 'languageTag' | 'requestedLanguageTag' | 'selectionRevision'>, store?: UserPreferenceStore, preferenceKey?: string): {
5
+ restore(identity?: string): Promise<void>;
6
+ save(tag?: string): Promise<void>;
7
+ dispose(): void;
8
+ };