@ximatai/muyun-web-app 0.26.15 → 0.26.16

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 (257) hide show
  1. package/dist/BusinessActivityLogView-DVM_GB5y.js +18 -0
  2. package/dist/BusinessLogListDrawer-BciMLY9z.js +864 -0
  3. package/dist/ConfigurationTranslationView-B0FosDyz.js +197 -0
  4. package/dist/LoginAuditLogView-3tAozKlC.js +18 -0
  5. package/dist/ModuleActionManagementView-CJRNShGg.js +755 -0
  6. package/dist/{ModuleGovernanceView-LkWCtops.js → ModuleGovernanceView-DsqR_Sj7.js} +6733 -6323
  7. package/dist/RequestErrorLogView-C4yH-TSX.js +18 -0
  8. package/dist/RoleDetailWorkspaceView-BpOoGUwS.js +1435 -0
  9. package/dist/RuntimeLogView-CoKKpJ39.js +316 -0
  10. package/dist/WorkflowAdministrationView-DmUV6vWS.js +650 -0
  11. package/dist/WorkflowConfigurationView-pghDbWEh.js +975 -0
  12. package/dist/WorkflowWorkbenchView-BwWxyDen.js +747 -0
  13. package/dist/es-BST-ixpj.js +22621 -0
  14. package/dist/index.css +1 -1
  15. package/dist/index.js +852 -735
  16. package/dist/moduleGovernanceWorkspaceView-DGEV3ZyT.js +667 -0
  17. package/dist/platform-components-Cl5ZZiuU.js +27139 -0
  18. package/dist/{platform-workbench-C-kE-Yqq.js → platform-workbench-CAHoriIf.js} +7677 -7187
  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 +1 -1
  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/workbenchStartup.d.ts +8 -4
  28. package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +1 -1
  29. package/dist/types/consumer/index.d.ts +3 -1
  30. package/dist/types/dynamic-page-runtime/ManagedDetailRelationInlineSurface.vue.d.ts +1 -1
  31. package/dist/types/dynamic-page-runtime/ManagedDetailRelationSurface.vue.d.ts +1 -1
  32. package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +46 -1302
  33. package/dist/types/dynamic-page-runtime/ModulePageDetailRelations.vue.d.ts +1 -1
  34. package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +409 -1626
  35. package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansion.vue.d.ts +1 -1
  36. package/dist/types/dynamic-page-runtime/ModulePageRecordContent.vue.d.ts +15 -1
  37. package/dist/types/dynamic-page-runtime/ModuleRecordDetailActions.vue.d.ts +1 -1
  38. package/dist/types/dynamic-page-runtime/NavigatorManagementEditor.vue.d.ts +1 -1
  39. package/dist/types/dynamic-page-runtime/NavigatorPanelActions.vue.d.ts +1 -1
  40. package/dist/types/dynamic-page-runtime/TenantScopeExplorer.vue.d.ts +1 -1
  41. package/dist/types/dynamic-page-runtime/composables/useModulePageBootstrap.d.ts +4 -3
  42. package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +9 -1301
  43. package/dist/types/dynamic-page-runtime/formActionResult.d.ts +2 -1
  44. package/dist/types/dynamic-page-runtime/formValidationCoordinator.d.ts +1 -1
  45. package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +13 -4
  46. package/dist/types/dynamic-page-runtime/modulePageUnsavedState.d.ts +3 -10
  47. package/dist/types/dynamic-page-runtime/pageActionInvocation.d.ts +2 -1
  48. package/dist/types/dynamic-page-runtime/pageActionPlacement.d.ts +2 -1
  49. package/dist/types/dynamic-page-runtime/pageNavigatorItemModel.d.ts +2 -1
  50. package/dist/types/dynamic-page-runtime/recordCreationReadiness.d.ts +2 -1
  51. package/dist/types/dynamic-page-runtime/recordDisplayProjection.d.ts +7 -3
  52. package/dist/types/dynamic-page-runtime/recordFormAssistantCapabilities.d.ts +5 -4
  53. package/dist/types/dynamic-page-runtime/recordFormDraftAccess.d.ts +3 -0
  54. package/dist/types/dynamic-page-runtime/recordMutationPayload.d.ts +1 -1
  55. package/dist/types/dynamic-page-runtime/recordReferenceDisplay.d.ts +1 -1
  56. package/dist/types/dynamic-page-runtime/recordSaveRecovery.d.ts +2 -1
  57. package/dist/types/dynamic-page-runtime/relationDraftAssistantCapabilities.d.ts +2 -2
  58. package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +35 -1303
  59. package/dist/types/dynamic-page-runtime/useModuleRecordDataChanges.d.ts +13 -0
  60. package/dist/types/platform-admin-runtime/backendHttp.d.ts +2 -1
  61. package/dist/types/platform-admin-runtime/index.d.ts +3 -1
  62. package/dist/types/platform-admin-runtime/module-menu/moduleMenuClient.d.ts +4 -4
  63. package/dist/types/platform-admin-runtime/module-menu/moduleMenuReceiptStore.d.ts +2 -1
  64. package/dist/types/platform-admin-runtime/module-menu/moduleMenuSession.d.ts +11 -7
  65. package/dist/types/platform-admin-runtime/module-menu/moduleMenuWorkspace.d.ts +16 -7
  66. package/dist/types/platform-admin-runtime/moduleOpenApi.d.ts +4 -3
  67. package/dist/types/platform-admin-runtime/pageRealtime.d.ts +0 -1
  68. package/dist/types/platform-admin-runtime/realtime.d.ts +0 -3
  69. package/dist/types/platform-admin-runtime/role/roleScopeSelectionClient.d.ts +4 -1
  70. package/dist/types/platform-admin-runtime/sessionRecovery.d.ts +3 -1
  71. package/dist/types/platform-admin-runtime/user/useUserSessionRows.d.ts +2 -0
  72. package/dist/types/platform-admin-runtime/user/userOnlineStatusStore.d.ts +1 -5
  73. package/dist/types/platform-components/BusinessNotificationPanel.vue.d.ts +34 -1
  74. package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +4 -4
  75. package/dist/types/platform-components/DateTimeText.vue.d.ts +1 -1
  76. package/dist/types/platform-components/DetailRelationListPanel.vue.d.ts +1 -1
  77. package/dist/types/platform-components/DictionaryPicker.vue.d.ts +2 -2
  78. package/dist/types/platform-components/FileSizeText.vue.d.ts +1 -1
  79. package/dist/types/platform-components/FileTransferUploader.vue.d.ts +1 -1
  80. package/dist/types/platform-components/FormulaExpressionEditor.vue.d.ts +7 -7
  81. package/dist/types/platform-components/ModuleActionButton.vue.d.ts +2 -2
  82. package/dist/types/platform-components/QueryCriteriaComposer.vue.d.ts +1 -1
  83. package/dist/types/platform-components/QueryCriteriaGroupEditor.vue.d.ts +1 -1
  84. package/dist/types/platform-components/QueryValueEditor.vue.d.ts +1 -1
  85. package/dist/types/platform-components/RecordActionBar.vue.d.ts +1 -1
  86. package/dist/types/platform-components/RecordDetailDrawer.vue.d.ts +2 -2
  87. package/dist/types/platform-components/RecordDetailFields.vue.d.ts +1 -1
  88. package/dist/types/platform-components/RecordExpandedSubtable.vue.d.ts +2 -2
  89. package/dist/types/platform-components/RecordFileReferenceTransfer.vue.d.ts +1 -1
  90. package/dist/types/platform-components/RecordFormFields.vue.d.ts +2 -2
  91. package/dist/types/platform-components/RecordImageFileReferencePreview.vue.d.ts +1 -1
  92. package/dist/types/platform-components/RecordListExplorer.vue.d.ts +1 -1
  93. package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +5 -5
  94. package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +1 -1
  95. package/dist/types/platform-components/RecordPanelButton.vue.d.ts +1 -1
  96. package/dist/types/platform-components/RecordPermissionDialog.vue.d.ts +1 -1
  97. package/dist/types/platform-components/RecordPicker.vue.d.ts +1 -1
  98. package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +6 -6
  99. package/dist/types/platform-components/RecordQueryListSurface.vue.d.ts +2 -2
  100. package/dist/types/platform-components/ReferencePicker.vue.d.ts +3 -3
  101. package/dist/types/platform-components/ReferenceRecordDetailBrowser.vue.d.ts +1 -1
  102. package/dist/types/platform-components/ScopedTreePicker.vue.d.ts +1 -1
  103. package/dist/types/platform-components/SingleImageFileReferenceField.vue.d.ts +1 -1
  104. package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +5 -5
  105. package/dist/types/platform-components/UserPicker.vue.d.ts +2 -2
  106. package/dist/types/platform-components/UserSessionExpandedSubtable.vue.d.ts +1 -1
  107. package/dist/types/platform-components/WorkflowBusinessTaskEditor.vue.d.ts +36 -0
  108. package/dist/types/platform-components/WorkflowDesignProperties.vue.d.ts +40 -0
  109. package/dist/types/platform-components/WorkflowDiagram.vue.d.ts +24 -0
  110. package/dist/types/platform-components/WorkflowParticipantEditor.vue.d.ts +18 -0
  111. package/dist/types/platform-components/WorkflowRecordPanel.vue.d.ts +30 -0
  112. package/dist/types/platform-components/WorkflowTimeline.vue.d.ts +19 -0
  113. package/dist/types/platform-components/crudRecordListModel.d.ts +2 -1
  114. package/dist/types/platform-components/fileTransferUpload.d.ts +10 -0
  115. package/dist/types/platform-components/index.d.ts +8 -2
  116. package/dist/types/platform-components/optionFieldOptions.d.ts +7 -2
  117. package/dist/types/platform-components/platformDateTime.d.ts +2 -0
  118. package/dist/types/platform-components/platformErrorFeedback.d.ts +2 -1
  119. package/dist/types/platform-components/readonlyReferenceDisplay.d.ts +10 -2
  120. package/dist/types/platform-components/recordActionBarModel.d.ts +4 -1
  121. package/dist/types/platform-components/recordDetailFieldModel.d.ts +2 -0
  122. package/dist/types/platform-components/recordFormFieldModel.d.ts +3 -3
  123. package/dist/types/platform-components/recordPickerConstraints.d.ts +4 -1
  124. package/dist/types/platform-components/recordQueryListColumnModel.d.ts +5 -1
  125. package/dist/types/platform-components/recycleBinState.d.ts +3 -2
  126. package/dist/types/platform-components/referencePickerModel.d.ts +9 -1
  127. package/dist/types/platform-components/referencePickerReadError.d.ts +11 -3
  128. package/dist/types/platform-components/referenceRecordDetailBrowser.d.ts +2 -2
  129. package/dist/types/platform-components/softDeletedConflictHandler.d.ts +3 -1
  130. package/dist/types/platform-components/staticCrudManagementState.d.ts +9 -8
  131. package/dist/types/platform-components/treeRecordModel.d.ts +2 -1
  132. package/dist/types/platform-components/userSessionPresentation.d.ts +4 -3
  133. package/dist/types/platform-components/workflowAccountOptions.d.ts +4 -0
  134. package/dist/types/platform-components/workflowDesignEditing.d.ts +11 -0
  135. package/dist/types/platform-components/workflowDiagramModel.d.ts +41 -0
  136. package/dist/types/platform-components/workflowParticipantPolicy.d.ts +11 -0
  137. package/dist/types/platform-components/workflowPresentation.d.ts +11 -0
  138. package/dist/types/platform-workbench/LanguageSelector.vue.d.ts +6 -0
  139. package/dist/types/platform-workbench/Workbench.vue.d.ts +3 -3
  140. package/dist/types/platform-workbench/WorkbenchAssistantPanel.vue.d.ts +1 -1
  141. package/dist/types/platform-workbench/WorkbenchMenu.vue.d.ts +1 -1
  142. package/dist/types/platform-workbench/assistantControlText.d.ts +19 -0
  143. package/dist/types/platform-workbench/configurationCollaboration.d.ts +2 -2
  144. package/dist/types/platform-workbench/constructionDelivery.d.ts +2 -2
  145. package/dist/types/platform-workbench/constructionFields.d.ts +2 -2
  146. package/dist/types/platform-workbench/constructionInitialization.d.ts +2 -2
  147. package/dist/types/platform-workbench/constructionPlanGuard.d.ts +2 -1
  148. package/dist/types/platform-workbench/constructionPlanSession.d.ts +12 -4
  149. package/dist/types/platform-workbench/constructionPresentation.d.ts +6 -0
  150. package/dist/types/platform-workbench/constructionReferenceDiscovery.d.ts +2 -2
  151. package/dist/types/platform-workbench/index.d.ts +2 -1
  152. package/dist/types/platform-workbench/menuNavigation.d.ts +7 -3
  153. package/dist/types/platform-workbench/menuTreeModel.d.ts +2 -1
  154. package/dist/types/platform-workbench/realtimeStatus.d.ts +2 -1
  155. package/dist/types/platform-workbench/useAssistantConversation.d.ts +107 -15
  156. package/dist/types/platform-workbench/useAssistantConversationArchive.d.ts +8 -15
  157. package/dist/types/platform-workbench/useWorkspaceViewUnsavedState.d.ts +1 -5
  158. package/dist/types/platform-workbench/workbenchAssistantCapabilities.d.ts +3 -2
  159. package/dist/types/platform-workbench/workbenchNavigation.d.ts +1 -0
  160. package/dist/types/platform-workbench/workspaceViewContract.d.ts +4 -0
  161. package/dist/types/platform-workbench/workspaceViewDiscardGuard.d.ts +5 -0
  162. package/dist/types/platform-workbench/workspaceViewHost.d.ts +1 -1
  163. package/dist/types/platform-workbench/workspaceViewUnsavedState.d.ts +1 -1
  164. package/dist/types/platform-workbench/workspaceViews.d.ts +3 -2
  165. package/dist/types/views/ConfigurationTranslationView.vue.d.ts +3 -0
  166. package/dist/types/views/MetadataSourceTree.vue.d.ts +0 -2
  167. package/dist/types/views/PageCompositionDescriptorPreview.vue.d.ts +2 -2
  168. package/dist/types/views/PageQuerySummaryEditor.vue.d.ts +2 -2
  169. package/dist/types/views/RoleAuthorizationView.vue.d.ts +1 -1
  170. package/dist/types/views/WorkflowAdministrationView.vue.d.ts +3 -0
  171. package/dist/types/views/WorkflowConfigurationView.vue.d.ts +7 -0
  172. package/dist/types/views/WorkflowWorkbenchView.vue.d.ts +3 -0
  173. package/dist/types/views/businessLogClient.d.ts +5 -2
  174. package/dist/types/views/businessRuleAssistantSurface.d.ts +3 -3
  175. package/dist/types/views/businessRuleEditor.d.ts +2 -1
  176. package/dist/types/views/businessRuleGovernance.d.ts +14 -4
  177. package/dist/types/views/businessRuleSession.d.ts +4 -3
  178. package/dist/types/views/businessRuleWorkspace.d.ts +6 -2
  179. package/dist/types/views/configurationEditorNavigation.d.ts +2 -1
  180. package/dist/types/views/configurationTranslationWorkspace.d.ts +69 -0
  181. package/dist/types/views/dictionaryRadioEligibility.d.ts +2 -1
  182. package/dist/types/views/metadataChangeSetSubmission.d.ts +4 -3
  183. package/dist/types/views/metadataEditorSession.d.ts +15 -9
  184. package/dist/types/views/metadataGovernanceEditor.d.ts +4 -0
  185. package/dist/types/views/metadataModelEditSession.d.ts +3 -2
  186. package/dist/types/views/metadataModelTree.d.ts +2 -1
  187. package/dist/types/views/metadataNaming.d.ts +5 -2
  188. package/dist/types/views/metadataOrchestrationState.d.ts +10 -9
  189. package/dist/types/views/metadataSourceTree.d.ts +3 -2
  190. package/dist/types/views/metadataWorkspace.d.ts +26 -19
  191. package/dist/types/views/moduleRuntimeActivation.d.ts +3 -3
  192. package/dist/types/views/pageCompositionAssistantSurface.d.ts +2 -0
  193. package/dist/types/views/pageCompositionCandidate.d.ts +2 -1
  194. package/dist/types/views/pageCompositionComponents.d.ts +5 -4
  195. package/dist/types/views/pageCompositionDraftState.d.ts +21 -7
  196. package/dist/types/views/pageCompositionMode.d.ts +26 -2
  197. package/dist/types/views/pageCompositionPublication.d.ts +2 -0
  198. package/dist/types/views/pageCompositionSession.d.ts +48 -15
  199. package/dist/types/views/pageCompositionWorkspace.d.ts +90 -29
  200. package/dist/types/views/runtimeLogClient.d.ts +2 -2
  201. package/dist/types/views/usePageCompositionComponents.d.ts +2 -1
  202. package/dist/types/views/workflowConfigurationWorkspaceView.d.ts +5 -0
  203. package/dist/types/vue-ui-antdv/blockingOverlays.d.ts +9 -0
  204. package/dist/types/vue-ui-antdv/components/UiButton.vue.d.ts +1 -1
  205. package/dist/types/vue-ui-antdv/components/UiDataTable.vue.d.ts +2 -2
  206. package/dist/types/vue-ui-antdv/components/UiLanguageProvider.vue.d.ts +18 -0
  207. package/dist/types/vue-ui-antdv/components/UiModal.vue.d.ts +3 -3
  208. package/dist/types/vue-ui-antdv/components/UiRecordExplorerItem.vue.d.ts +2 -2
  209. package/dist/types/vue-ui-antdv/components/UiSearchInput.vue.d.ts +1 -1
  210. package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +1 -1
  211. package/dist/types/vue-ui-antdv/components/UiSidePanel.vue.d.ts +3 -0
  212. package/dist/types/vue-ui-antdv/components/UiTextArea.vue.d.ts +7 -7
  213. package/dist/types/vue-ui-antdv/components/UiTokenInput.vue.d.ts +7 -7
  214. package/dist/types/vue-ui-antdv/components/UiTree.vue.d.ts +1 -1
  215. package/dist/types/vue-ui-antdv/components/UiTreeSelect.vue.d.ts +1 -1
  216. package/dist/types/vue-ui-antdv/confirm.d.ts +3 -2
  217. package/dist/types/vue-ui-antdv/index.d.ts +3 -0
  218. package/dist/types/vue-ui-antdv/languageGlobalScope.d.ts +3 -0
  219. package/dist/types/vue-ui-antdv/languageLocales.d.ts +4 -0
  220. package/dist/types/vue-ui-antdv/theme.d.ts +2 -0
  221. package/dist/types/vue-ui-antdv/types.d.ts +2 -0
  222. package/dist/types/web-contracts/constructionPlan.d.ts +4 -3
  223. package/dist/types/web-contracts/index.d.ts +46 -0
  224. package/dist/types/web-contracts/workflow.d.ts +346 -0
  225. package/dist/types/web-core/actionResult.d.ts +3 -0
  226. package/dist/types/web-core/assistantConfirmation.d.ts +3 -2
  227. package/dist/types/web-core/assistantConversationClient.d.ts +8 -0
  228. package/dist/types/web-core/assistantSurface.d.ts +4 -3
  229. package/dist/types/web-core/errors.d.ts +8 -4
  230. package/dist/types/web-core/index.d.ts +6 -0
  231. package/dist/types/web-core/language.d.ts +54 -0
  232. package/dist/types/web-core/languagePreference.d.ts +8 -0
  233. package/dist/types/web-core/module/dataExchangeClient.d.ts +2 -1
  234. package/dist/types/web-core/module/index.d.ts +1 -0
  235. package/dist/types/web-core/module/moduleContext.d.ts +4 -0
  236. package/dist/types/web-core/module/pageActionEntries.d.ts +3 -2
  237. package/dist/types/web-core/module/runtimeContext.d.ts +15 -2
  238. package/dist/types/web-core/operationConfirmation.d.ts +5 -1
  239. package/dist/types/web-core/operationErrors.d.ts +15 -1
  240. package/dist/types/web-core/presentationTexts.d.ts +16 -0
  241. package/dist/types/web-core/sha256.d.ts +2 -0
  242. package/dist/types/web-core/workflow.d.ts +70 -0
  243. package/dist/types/web-core/workspaceUnsavedState.d.ts +6 -0
  244. package/dist/workspaceViews-BIYGPUAO.js +3437 -0
  245. package/package.json +2 -4
  246. package/dist/BusinessActivityLogView-DVzrZW1X.js +0 -16
  247. package/dist/BusinessLogListDrawer-D-R3wnWr.js +0 -825
  248. package/dist/LoginAuditLogView-BP1eaEPw.js +0 -16
  249. package/dist/ModuleActionManagementView-D17iKVQv.js +0 -691
  250. package/dist/RequestErrorLogView-LzN94-Tk.js +0 -16
  251. package/dist/RoleDetailWorkspaceView-BXA-bzFu.js +0 -1406
  252. package/dist/RuntimeLogView-DUpu2q2w.js +0 -297
  253. package/dist/moduleGovernanceWorkspaceView-COjWtJMr.js +0 -639
  254. package/dist/platform-components-Hs3DrTqE.js +0 -19770
  255. package/dist/rolldown-runtime-DPVXH0ON.js +0 -17
  256. package/dist/sse-Q1wa3p_k.js +0 -187
  257. package/dist/workspaceViews-CHsgLFwY.js +0 -3217
@@ -1,7 +1,8 @@
1
+ import { type LanguageContext } from '../web-core/index';
1
2
  /** Distinguishes optional draft diagnostics from actions that declare the patch protocol. */
2
3
  export declare function hasFormActionRecordPatch(response: unknown): boolean;
3
4
  /** Only an explicit form result may update an unsaved draft. Ordinary action data is not a patch. */
4
- export declare function formActionResult(response: unknown): {
5
+ export declare function formActionResult(response: unknown, language?: LanguageContext): {
5
6
  recordPatch: Record<string, unknown>;
6
7
  message?: string;
7
8
  };
@@ -13,5 +13,5 @@ export declare class FormValidationCoordinator {
13
13
  private readonly runtime;
14
14
  private readonly rules;
15
15
  constructor(rules: readonly ResolvedFormValidationRuleDescriptor[] | undefined, runtime?: FormulaRuntime);
16
- validate(draft: FormulaRecord): FormValidationFailure | undefined;
16
+ validate(draft: FormulaRecord, displayRules?: readonly ResolvedFormValidationRuleDescriptor[]): FormValidationFailure | undefined;
17
17
  }
@@ -1,6 +1,6 @@
1
1
  import type { Component } from 'vue';
2
- import type { CurrentUser, PageDescriptor, PageLayoutMode, RouteQueryValue, WebPageResponse, WebQueryCondition, WebQueryRequest } from '../web-contracts/index';
3
- import type { ModuleContext } from '../web-core/index';
2
+ import type { CurrentUser, TextPresentation, PageDescriptor, PageLayoutMode, RouteQueryValue, WebPageResponse, WebQueryCondition, WebQueryRequest } from '../web-contracts/index';
3
+ import type { LanguageContext, ModuleContext } from '../web-core/index';
4
4
  import type { DrawerWidth, RecordActionItem, RecordFormFieldState, RecordFormFieldValue, RecordQueryListColumn, QueryListRecord } from '../platform-components/index';
5
5
  import type { DrawerTitleAction } from '../platform-components/index';
6
6
  /**
@@ -79,6 +79,7 @@ export interface ModulePageNavigatorEnhancement {
79
79
  export interface ModulePageNavigatorTreeParentPolicy {
80
80
  canUseAsParent(record: Readonly<Record<string, unknown>>): boolean;
81
81
  rejectionMessage: string;
82
+ rejectionMessageKey?: string;
82
83
  }
83
84
  export interface ModulePageNavigatorExtension {
84
85
  key: string;
@@ -103,6 +104,7 @@ export interface ModulePageNavigatorSelection {
103
104
  }
104
105
  /** The only display facts a navigator extension may contribute to PAGE_TEXT. */
105
106
  export interface ModulePageSelectionPresentation {
107
+ labelText?: TextPresentation;
106
108
  label: string;
107
109
  secondaryLabel?: string;
108
110
  }
@@ -126,6 +128,7 @@ export interface ModulePageLockedNavigatorEntry {
126
128
  navigatorKey: string;
127
129
  /** Text shown if the addressed record cannot be resolved or authorized. */
128
130
  unavailableDescription: string;
131
+ unavailableDescriptionKey?: string;
129
132
  }
130
133
  export interface ModulePageEmptyNavigatorScopeContext {
131
134
  currentUser?: CurrentUser;
@@ -236,8 +239,8 @@ export interface ModulePageFormContributionState {
236
239
  export interface ModulePageFormFieldPolicy {
237
240
  fieldName: string;
238
241
  visible?(state: ModulePageFormContributionState): boolean;
239
- imageUploadHint?(state: ModulePageFormContributionState): string | undefined;
240
- imageUploadAdvisory?(state: ModulePageFormContributionState): ((file: File) => string | undefined | Promise<string | undefined>) | undefined;
242
+ imageUploadHint?(state: ModulePageFormContributionState, language?: LanguageContext): string | undefined;
243
+ imageUploadAdvisory?(state: ModulePageFormContributionState, language?: LanguageContext): ((file: File) => string | undefined | Promise<string | undefined>) | undefined;
241
244
  }
242
245
  /** Frontend-owned auxiliary UI adjacent to the descriptor-owned record card. */
243
246
  export interface ModuleCardEnhancement {
@@ -307,6 +310,8 @@ export interface ModulePageBatchActionContribution extends RecordActionItem {
307
310
  run(context: ModulePageBatchActionContext): void | Promise<void>;
308
311
  }
309
312
  export interface ModulePageDetailSection {
313
+ /** Optional CODE heading resource, resolved only at the display boundary. */
314
+ titleKey?: string;
310
315
  key: string;
311
316
  title: string;
312
317
  /** Optional heading copy owned by the business section but rendered by the platform shell. */
@@ -340,6 +345,8 @@ export interface ModulePageCellComponentContribution {
340
345
  cell: Component;
341
346
  }
342
347
  export interface ModulePageDrawer {
348
+ /** Optional CODE heading resource, resolved only at the display boundary. */
349
+ titleKey?: string;
343
350
  title: string;
344
351
  width?: DrawerWidth;
345
352
  /** The component receives only the documented ModulePageDrawerContext prop. */
@@ -362,6 +369,8 @@ export interface ModulePageWorkspaceView<TInput extends ModulePageWorkspaceViewI
362
369
  route?: string;
363
370
  component: Component;
364
371
  titleOf(input: TInput): string;
372
+ titleKey?: string;
373
+ titleArgsOf?(input: TInput): Record<string, unknown>;
365
374
  parse(query: Record<string, RouteQueryValue>): TInput | undefined;
366
375
  layout?: PageLayoutMode;
367
376
  }
@@ -1,10 +1,3 @@
1
- /**
2
- * Optional host bridge for a dynamic page rendered as an independent workspace
3
- * view. The dynamic runtime only reports its local draft fact; the workbench
4
- * owns registration, confirmation and tab destruction.
5
- */
6
- export interface ModulePageUnsavedStateHost {
7
- registerUnsavedState(source: string, isDirty: () => boolean, isBusy?: () => boolean): () => void;
8
- }
9
- export declare function provideModulePageUnsavedStateHost(host: ModulePageUnsavedStateHost | undefined): void;
10
- export declare function useModulePageUnsavedState(source: string, isDirty: () => boolean, isBusy?: () => boolean): void;
1
+ /** The module runtime and reusable record panels share the neutral draft-registration bridge. */
2
+ export { provideWorkspaceUnsavedStateRegistrar as provideModulePageUnsavedStateHost, useWorkspaceViewUnsavedState as useModulePageUnsavedState, } from '../web-core/index';
3
+ export type { WorkspaceUnsavedStateRegistrar as ModulePageUnsavedStateHost } from '../web-core/index';
@@ -1,7 +1,8 @@
1
+ import { type LanguageContext } from '../web-core/index';
1
2
  import type { PageActionInvocation } from '../web-contracts/index';
2
3
  import type { HttpClient } from '../web-core/index';
3
4
  /** Execute only the server-issued transport; action identity is not an HTTP route. */
4
5
  export declare function invokePageAction(http: HttpClient, invocation: PageActionInvocation | undefined, context?: {
5
6
  recordId?: string;
6
7
  record?: Record<string, unknown>;
7
- }): Promise<unknown>;
8
+ }, language?: LanguageContext): Promise<unknown>;
@@ -1,3 +1,4 @@
1
+ import { type LanguageContext } from '../web-core/index';
1
2
  import type { RecordActionItem } from '../platform-components/index';
2
3
  import type { ResolvedPageActionDescriptor } from '../web-contracts/index';
3
4
  /** Placements choose presentation; execution must already have a platform workflow or issued action block. */
@@ -11,4 +12,4 @@ export declare function resolvePlacedPageActions(placements: ResolvedPageActionD
11
12
  bindingPending?: boolean;
12
13
  } | undefined, detailActions: RecordActionItem[], mode: 'create' | 'edit' | 'view', managed?: boolean, record?: {
13
14
  enabled?: unknown;
14
- }): RecordActionItem[];
15
+ }, language?: LanguageContext): RecordActionItem[];
@@ -1,3 +1,4 @@
1
+ import { type LanguageContext } from '../web-core/index';
1
2
  import type { RecordExplorerItemDescriptor } from '../platform-components/index';
2
3
  import type { RecordInlineAction } from '../web-contracts/index';
3
4
  export interface NavigatorItemRecord {
@@ -10,4 +11,4 @@ export interface NavigatorItemRecord {
10
11
  /** Page navigators expose only the actions explicitly declared by the page. */
11
12
  export declare function navigatorItemOf(record: NavigatorItemRecord, secondaryField: string | undefined, manageable: boolean, actionsOf: ((record: {
12
13
  id?: string;
13
- }) => RecordInlineAction[]) | undefined): RecordExplorerItemDescriptor;
14
+ }) => RecordInlineAction[]) | undefined, language?: LanguageContext): RecordExplorerItemDescriptor;
@@ -1,3 +1,4 @@
1
+ import { type LanguageContext } from '../web-core/index';
1
2
  /** Shared page preconditions; absence of an executable tool is not evidence of missing permission. */
2
3
  export declare function recordCreationReadiness(state: {
3
4
  tenantReady: boolean;
@@ -6,7 +7,7 @@ export declare function recordCreationReadiness(state: {
6
7
  editing: boolean;
7
8
  busy: boolean;
8
9
  scopeReady: boolean;
9
- }): {
10
+ }, language?: LanguageContext): {
10
11
  ready: boolean;
11
12
  reason: string;
12
13
  message: string;
@@ -1,12 +1,16 @@
1
+ import { type LanguageContext } from '../web-core/index';
1
2
  import type { ResolvedDetailRelationDescriptor, ResolvedModuleUiDescriptor, OptionItemDescriptor } from '../web-contracts/index';
2
3
  import { type RecordFormFieldState, type RecordFormRecord } from '../platform-components/index';
3
4
  /** Read the same authorized display facts as the form; never expose a reference ID as its label. */
4
- export declare function recordFieldDisplay(field: RecordFormFieldState, record: RecordFormRecord, optionItems?: OptionItemDescriptor[], draft?: boolean): string;
5
+ export declare function recordFieldDisplay(field: RecordFormFieldState, record: RecordFormRecord, optionItems?: OptionItemDescriptor[], draft?: boolean, language?: LanguageContext): string;
6
+ /** A missing authorized name is a state, never a comparison with a translated placeholder. */
7
+ export declare function recordReferenceDisplay(field: RecordFormFieldState, record: RecordFormRecord, draft?: boolean, language?: LanguageContext): string | undefined;
5
8
  /** Resolve display labels through the same authorized provider used by the picker. */
6
- export declare function resolvedRecordFieldDisplay(field: RecordFormFieldState, record: RecordFormRecord, optionItems?: OptionItemDescriptor[]): Promise<string>;
9
+ export declare function resolvedRecordFieldDisplay(field: RecordFormFieldState, record: RecordFormRecord, optionItems?: OptionItemDescriptor[], language?: LanguageContext): Promise<string>;
7
10
  export declare function assistantReadableField(field: RecordFormFieldState): boolean;
8
11
  /** Embedded aggregate facts only; no additional queries or inferred independent-relation rows. */
9
- export declare function recordRelationProjection(descriptor: ResolvedModuleUiDescriptor | undefined, relations: ResolvedDetailRelationDescriptor[], record: RecordFormRecord, { baseline, purpose, draft, relationOptions, editableRelations, draftRowKeys, includeDescribedValues, includeBaseline, }?: {
12
+ export declare function recordRelationProjection(descriptor: ResolvedModuleUiDescriptor | undefined, relations: ResolvedDetailRelationDescriptor[], record: RecordFormRecord, { language, baseline, purpose, draft, relationOptions, editableRelations, draftRowKeys, includeDescribedValues, includeBaseline, }?: {
13
+ language?: LanguageContext;
10
14
  draft?: boolean;
11
15
  editableRelations?: ReadonlySet<string>;
12
16
  /** Keys issued by mounted editors; never inferred from row position or record IDs. */
@@ -1,7 +1,8 @@
1
1
  import type { RecordFormDraftAccess } from './recordFormDraftAccess';
2
- import { type AssistantCapability } from '../web-core/index';
2
+ import { type LanguageContext, type AssistantCapability } from '../web-core/index';
3
3
  import { type RecordFormFieldState } from '../platform-components/index';
4
- export declare function createRecordFormAssistantCapabilities(view: RecordFormDraftAccess, { resolveReferenceNames, canReadDetail, schemaDiscovery, }?: {
4
+ export declare function createRecordFormAssistantCapabilities(view: RecordFormDraftAccess, { language, resolveReferenceNames, canReadDetail, schemaDiscovery, }?: {
5
+ language?: LanguageContext;
5
6
  resolveReferenceNames?: boolean;
6
7
  canReadDetail?: () => boolean;
7
8
  schemaDiscovery?: AssistantCapability['schemaDiscovery'];
@@ -19,8 +20,8 @@ export declare function createRecordFormAssistantCapabilities(view: RecordFormDr
19
20
  export declare function recordFormAssistantFacts(view: RecordFormDraftAccess, resolved?: Map<string, {
20
21
  display: string;
21
22
  unavailable?: boolean;
22
- }>, referencesTruncated?: boolean): {
23
- editorMode: "edit" | "view" | "create";
23
+ }>, referencesTruncated?: boolean, language?: LanguageContext): {
24
+ editorMode: "edit" | "create" | "view";
24
25
  editable: boolean;
25
26
  currentValuesTruncated: boolean;
26
27
  fields: {
@@ -1,6 +1,9 @@
1
1
  import type { RecordFormFieldDescriptor, RecordFormFieldPickerConfig, RecordFormFieldValue, RecordFormRecord, ReferencePickerCandidate } from '../platform-components/index';
2
+ import { type LanguageContext } from '../web-core/index';
2
3
  /** Controlled access to an existing editor, including a row of an aggregate draft. */
3
4
  export interface RecordFormDraftAccess {
5
+ /** Display scope of the owning editor; never used as a business execution scope. */
6
+ readonly language?: LanguageContext;
4
7
  readonly editorMode: 'view' | 'create' | 'edit';
5
8
  readonly editingRecord?: RecordFormRecord;
6
9
  readonly selectedRecord?: RecordFormRecord;
@@ -1,4 +1,4 @@
1
1
  import type { RecordFormRecord } from '../platform-components/index';
2
2
  import type { ResolvedViewFieldDescriptor } from '../web-contracts/index';
3
3
  /** Read projections and constant read-only fields never become business writes. */
4
- export declare function recordMutationPayload(record: RecordFormRecord, fields?: Iterable<Pick<ResolvedViewFieldDescriptor, 'fieldRef' | 'reference' | 'referenceSummary' | 'readOnly'>>): RecordFormRecord;
4
+ export declare function recordMutationPayload(record: RecordFormRecord, fields?: Iterable<Pick<ResolvedViewFieldDescriptor, 'fieldRef' | 'reference' | 'referenceSummary' | 'readOnly'>>, capabilities?: Iterable<string>): RecordFormRecord;
@@ -1,7 +1,7 @@
1
1
  import type { RecordFormDraftAccess } from './recordFormDraftAccess';
2
2
  import type { ReferencePickerCandidate } from '../platform-components/index';
3
3
  /** Editor-owned display observations; never candidates, write inputs or permission. */
4
- export declare function createRecordReferenceDisplay(form: Pick<RecordFormDraftAccess, 'editingRecord' | 'referencePickerConfigs'>, sessionKey: () => unknown): {
4
+ export declare function createRecordReferenceDisplay(form: Pick<RecordFormDraftAccess, 'editingRecord' | 'referencePickerConfigs' | 'language'>, sessionKey: () => unknown): {
5
5
  clear(fieldNames: Iterable<string>): void;
6
6
  observe(fieldName: string, candidates: readonly ReferencePickerCandidate[]): void;
7
7
  current(fieldName: string): string | undefined;
@@ -1,10 +1,11 @@
1
+ import { type LanguageContext } from '../web-core/index';
1
2
  import type { OperationReceiptReference } from '../web-contracts/index';
2
3
  type RecordSaveReference = Extract<OperationReceiptReference, {
3
4
  kind: 'record-save';
4
5
  }>;
5
6
  type ReceiptStorage = Pick<Storage, 'getItem' | 'setItem' | 'removeItem'>;
6
7
  /** One browser tab retains only a query reference, never a draft or authorization. */
7
- export declare function createRecordSaveRecovery(scope: string, storage: ReceiptStorage): {
8
+ export declare function createRecordSaveRecovery(scope: string, storage: ReceiptStorage, language?: LanguageContext): {
8
9
  restore(): RecordSaveReference | undefined;
9
10
  save(reference: RecordSaveReference): void;
10
11
  clear(requestId: string): void;
@@ -1,6 +1,6 @@
1
- import { type AssistantCapability } from '../web-core/index';
1
+ import { type LanguageContext, type AssistantCapability } from '../web-core/index';
2
2
  import type { RelationDraftRegistry } from './relationDraftController';
3
- export declare function createRelationDraftAssistantCapabilities(registry: RelationDraftRegistry, contextRevision: () => string): (() => AssistantCapability[]) & {
3
+ export declare function createRelationDraftAssistantCapabilities(registry: RelationDraftRegistry, contextRevision: () => string, language?: LanguageContext): (() => AssistantCapability[]) & {
4
4
  form: () => import("./recordFormDraftAccess").RecordFormDraftAccess | undefined;
5
5
  selection: () => {
6
6
  relationCode: string;