@ximatai/muyun-web-app 0.26.14 → 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 (312) 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-DsqR_Sj7.js +34098 -0
  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 +920 -738
  16. package/dist/moduleGovernanceWorkspaceView-DGEV3ZyT.js +667 -0
  17. package/dist/platform-components-Cl5ZZiuU.js +27139 -0
  18. package/dist/platform-workbench-CAHoriIf.js +20245 -0
  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/useWorkbenchMenuRefresh.d.ts +4 -0
  28. package/dist/types/app/workbenchMenuRefresh.d.ts +14 -0
  29. package/dist/types/app/workbenchStartup.d.ts +8 -4
  30. package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +5 -3
  31. package/dist/types/consumer/index.d.ts +3 -1
  32. package/dist/types/dynamic-page-runtime/ManagedDetailRelationInlineSurface.vue.d.ts +4 -4
  33. package/dist/types/dynamic-page-runtime/ManagedDetailRelationSurface.vue.d.ts +1 -1
  34. package/dist/types/dynamic-page-runtime/ModuleDataExchangeSurface.vue.d.ts +17 -0
  35. package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +464 -1240
  36. package/dist/types/dynamic-page-runtime/ModulePageDetailRelations.vue.d.ts +4 -3
  37. package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +859 -1566
  38. package/dist/types/dynamic-page-runtime/ModulePageListExpansionSurface.vue.d.ts +1 -0
  39. package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansion.vue.d.ts +2 -1
  40. package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansions.vue.d.ts +1 -0
  41. package/dist/types/dynamic-page-runtime/ModulePageRecordContent.vue.d.ts +20 -3
  42. package/dist/types/dynamic-page-runtime/ModuleRecordDetailActions.vue.d.ts +7 -1
  43. package/dist/types/dynamic-page-runtime/NavigatorManagementEditor.vue.d.ts +1 -1
  44. package/dist/types/dynamic-page-runtime/NavigatorPanelActions.vue.d.ts +1 -1
  45. package/dist/types/dynamic-page-runtime/PageNavigatorExplorer.vue.d.ts +7 -5
  46. package/dist/types/dynamic-page-runtime/RecordFormSurface.vue.d.ts +2 -0
  47. package/dist/types/dynamic-page-runtime/TenantScopeExplorer.vue.d.ts +1 -1
  48. package/dist/types/dynamic-page-runtime/assistantBusinessScope.d.ts +3 -0
  49. package/dist/types/dynamic-page-runtime/assistantQueryCapabilities.d.ts +34 -0
  50. package/dist/types/dynamic-page-runtime/assistantRecordEditorPolicy.d.ts +2 -2
  51. package/dist/types/dynamic-page-runtime/composables/useModulePageBootstrap.d.ts +4 -3
  52. package/dist/types/dynamic-page-runtime/composables/useModulePageFormContributionRuntime.d.ts +2 -0
  53. package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +15 -1217
  54. package/dist/types/dynamic-page-runtime/formActionResult.d.ts +2 -1
  55. package/dist/types/dynamic-page-runtime/formComputeCoordinator.d.ts +2 -0
  56. package/dist/types/dynamic-page-runtime/formValidationCoordinator.d.ts +1 -1
  57. package/dist/types/dynamic-page-runtime/modulePageAssistantScope.d.ts +13 -1
  58. package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +13 -4
  59. package/dist/types/dynamic-page-runtime/modulePageUnsavedState.d.ts +3 -10
  60. package/dist/types/dynamic-page-runtime/pageActionInvocation.d.ts +2 -1
  61. package/dist/types/dynamic-page-runtime/pageActionPlacement.d.ts +2 -1
  62. package/dist/types/dynamic-page-runtime/pageNavigatorItemModel.d.ts +2 -1
  63. package/dist/types/dynamic-page-runtime/recordCreationReadiness.d.ts +18 -0
  64. package/dist/types/dynamic-page-runtime/recordDisplayProjection.d.ts +63 -0
  65. package/dist/types/dynamic-page-runtime/recordFormAssistantCapabilities.d.ts +60 -0
  66. package/dist/types/dynamic-page-runtime/recordFormDraftAccess.d.ts +36 -0
  67. package/dist/types/dynamic-page-runtime/recordMutationPayload.d.ts +2 -2
  68. package/dist/types/dynamic-page-runtime/recordReferenceDisplay.d.ts +8 -0
  69. package/dist/types/dynamic-page-runtime/recordSaveRecovery.d.ts +13 -0
  70. package/dist/types/dynamic-page-runtime/relationDraftAssistantCapabilities.d.ts +9 -0
  71. package/dist/types/dynamic-page-runtime/relationDraftController.d.ts +23 -0
  72. package/dist/types/dynamic-page-runtime/relationFormComputeCoordinator.d.ts +1 -0
  73. package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +246 -1227
  74. package/dist/types/dynamic-page-runtime/useModuleRecordDataChanges.d.ts +13 -0
  75. package/dist/types/formula/FormulaRuntime.d.ts +3 -1
  76. package/dist/types/platform-admin-runtime/backendHttp.d.ts +6 -1
  77. package/dist/types/platform-admin-runtime/index.d.ts +3 -1
  78. package/dist/types/platform-admin-runtime/module-menu/ModuleMenuEditor.vue.d.ts +17 -0
  79. package/dist/types/platform-admin-runtime/module-menu/ModuleMenuGovernanceSurface.vue.d.ts +6 -0
  80. package/dist/types/platform-admin-runtime/module-menu/moduleMenuClient.d.ts +8 -4
  81. package/dist/types/platform-admin-runtime/module-menu/moduleMenuReceiptStore.d.ts +6 -0
  82. package/dist/types/platform-admin-runtime/module-menu/moduleMenuSession.d.ts +65 -0
  83. package/dist/types/platform-admin-runtime/module-menu/moduleMenuWorkspace.d.ts +189 -0
  84. package/dist/types/platform-admin-runtime/moduleOpenApi.d.ts +4 -3
  85. package/dist/types/platform-admin-runtime/pageRealtime.d.ts +0 -1
  86. package/dist/types/platform-admin-runtime/realtime.d.ts +0 -3
  87. package/dist/types/platform-admin-runtime/role/roleScopeSelectionClient.d.ts +4 -1
  88. package/dist/types/platform-admin-runtime/sessionRecovery.d.ts +3 -1
  89. package/dist/types/platform-admin-runtime/user/useUserSessionRows.d.ts +2 -0
  90. package/dist/types/platform-admin-runtime/user/userOnlineStatusStore.d.ts +1 -5
  91. package/dist/types/platform-admin-runtime/workspaceViewSessions.d.ts +1 -1
  92. package/dist/types/platform-components/BusinessNotificationPanel.vue.d.ts +34 -1
  93. package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +7 -11
  94. package/dist/types/platform-components/DateTimeText.vue.d.ts +1 -1
  95. package/dist/types/platform-components/DetailRelationListPanel.vue.d.ts +1 -1
  96. package/dist/types/platform-components/DictionaryPicker.vue.d.ts +4 -2
  97. package/dist/types/platform-components/FileSizeText.vue.d.ts +1 -1
  98. package/dist/types/platform-components/FileTransferUploader.vue.d.ts +1 -1
  99. package/dist/types/platform-components/FormulaExpressionEditor.vue.d.ts +7 -7
  100. package/dist/types/platform-components/ManagementPanelHeader.vue.d.ts +6 -4
  101. package/dist/types/platform-components/ManagementTabs.vue.d.ts +20 -0
  102. package/dist/types/platform-components/ModuleActionButton.vue.d.ts +2 -2
  103. package/dist/types/platform-components/ObjectPickerInput.vue.d.ts +2 -0
  104. package/dist/types/platform-components/QueryCriteriaComposer.vue.d.ts +1 -1
  105. package/dist/types/platform-components/QueryCriteriaGroupEditor.vue.d.ts +1 -1
  106. package/dist/types/platform-components/QueryValueEditor.vue.d.ts +1 -1
  107. package/dist/types/platform-components/RecordActionBar.vue.d.ts +1 -1
  108. package/dist/types/platform-components/RecordDetailDrawer.vue.d.ts +2 -2
  109. package/dist/types/platform-components/RecordDetailFields.vue.d.ts +1 -1
  110. package/dist/types/platform-components/RecordExpandedSubtable.vue.d.ts +2 -2
  111. package/dist/types/platform-components/RecordExplorerPanel.vue.d.ts +15 -9
  112. package/dist/types/platform-components/RecordExplorerTools.vue.d.ts +27 -0
  113. package/dist/types/platform-components/RecordFileReferenceTransfer.vue.d.ts +1 -1
  114. package/dist/types/platform-components/RecordFormFields.vue.d.ts +6 -2
  115. package/dist/types/platform-components/RecordImageFileReferencePreview.vue.d.ts +1 -1
  116. package/dist/types/platform-components/RecordListExplorer.vue.d.ts +1 -1
  117. package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +6 -6
  118. package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +3 -1
  119. package/dist/types/platform-components/RecordPanelButton.vue.d.ts +1 -1
  120. package/dist/types/platform-components/RecordPermissionDialog.vue.d.ts +1 -1
  121. package/dist/types/platform-components/RecordPicker.vue.d.ts +3 -1
  122. package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +7 -7
  123. package/dist/types/platform-components/RecordQueryListSurface.vue.d.ts +3 -3
  124. package/dist/types/platform-components/RecordRelationTabs.vue.d.ts +1 -0
  125. package/dist/types/platform-components/ReferencePicker.vue.d.ts +5 -3
  126. package/dist/types/platform-components/ReferenceRecordDetailBrowser.vue.d.ts +1 -1
  127. package/dist/types/platform-components/ScopedTreePicker.vue.d.ts +1 -1
  128. package/dist/types/platform-components/SingleImageFileReferenceField.vue.d.ts +1 -1
  129. package/dist/types/platform-components/StaticManagementLayout.vue.d.ts +2 -0
  130. package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +5 -5
  131. package/dist/types/platform-components/UserPicker.vue.d.ts +2 -2
  132. package/dist/types/platform-components/UserSessionExpandedSubtable.vue.d.ts +1 -1
  133. package/dist/types/platform-components/WorkflowBusinessTaskEditor.vue.d.ts +36 -0
  134. package/dist/types/platform-components/WorkflowDesignProperties.vue.d.ts +40 -0
  135. package/dist/types/platform-components/WorkflowDiagram.vue.d.ts +24 -0
  136. package/dist/types/platform-components/WorkflowParticipantEditor.vue.d.ts +18 -0
  137. package/dist/types/platform-components/WorkflowRecordPanel.vue.d.ts +30 -0
  138. package/dist/types/platform-components/WorkflowTimeline.vue.d.ts +19 -0
  139. package/dist/types/platform-components/crudRecordListModel.d.ts +2 -1
  140. package/dist/types/platform-components/fileTransferUpload.d.ts +10 -0
  141. package/dist/types/platform-components/index.d.ts +15 -4
  142. package/dist/types/platform-components/optionFieldOptionCache.d.ts +1 -1
  143. package/dist/types/platform-components/optionFieldOptions.d.ts +7 -2
  144. package/dist/types/platform-components/platformDateTime.d.ts +2 -0
  145. package/dist/types/platform-components/platformErrorFeedback.d.ts +2 -1
  146. package/dist/types/platform-components/queryNumericValue.d.ts +3 -0
  147. package/dist/types/platform-components/readonlyReferenceDisplay.d.ts +10 -2
  148. package/dist/types/platform-components/recordActionBarModel.d.ts +4 -1
  149. package/dist/types/platform-components/recordDetailFieldModel.d.ts +4 -0
  150. package/dist/types/platform-components/recordFormFieldModel.d.ts +23 -1
  151. package/dist/types/platform-components/recordPickerConstraints.d.ts +4 -1
  152. package/dist/types/platform-components/recordQueryListColumnModel.d.ts +6 -1
  153. package/dist/types/platform-components/recordQueryListQueryController.d.ts +19 -2
  154. package/dist/types/platform-components/recordQueryListStandardQuery.d.ts +3 -0
  155. package/dist/types/platform-components/recycleBinState.d.ts +20 -2
  156. package/dist/types/platform-components/referencePickerModel.d.ts +9 -0
  157. package/dist/types/platform-components/referencePickerReadError.d.ts +11 -3
  158. package/dist/types/platform-components/referenceRecordDetailBrowser.d.ts +2 -2
  159. package/dist/types/platform-components/softDeletedConflictHandler.d.ts +3 -1
  160. package/dist/types/platform-components/staticCrudManagementState.d.ts +9 -8
  161. package/dist/types/platform-components/treeRecordModel.d.ts +2 -1
  162. package/dist/types/platform-components/userSessionPresentation.d.ts +4 -3
  163. package/dist/types/platform-components/workflowAccountOptions.d.ts +4 -0
  164. package/dist/types/platform-components/workflowDesignEditing.d.ts +11 -0
  165. package/dist/types/platform-components/workflowDiagramModel.d.ts +41 -0
  166. package/dist/types/platform-components/workflowParticipantPolicy.d.ts +11 -0
  167. package/dist/types/platform-components/workflowPresentation.d.ts +11 -0
  168. package/dist/types/platform-workbench/ConstructionPlanCard.vue.d.ts +8 -0
  169. package/dist/types/platform-workbench/LanguageSelector.vue.d.ts +6 -0
  170. package/dist/types/platform-workbench/Workbench.vue.d.ts +9 -4
  171. package/dist/types/platform-workbench/WorkbenchAssistantPanel.vue.d.ts +7 -1
  172. package/dist/types/platform-workbench/WorkbenchMenu.vue.d.ts +1 -1
  173. package/dist/types/platform-workbench/assistantControlText.d.ts +19 -0
  174. package/dist/types/platform-workbench/configurationCollaboration.d.ts +23 -0
  175. package/dist/types/platform-workbench/constructionDelivery.d.ts +3 -0
  176. package/dist/types/platform-workbench/constructionFields.d.ts +5 -0
  177. package/dist/types/platform-workbench/constructionInitialization.d.ts +4 -0
  178. package/dist/types/platform-workbench/constructionPlanGuard.d.ts +22 -0
  179. package/dist/types/platform-workbench/constructionPlanSession.d.ts +103 -0
  180. package/dist/types/platform-workbench/constructionPresentation.d.ts +6 -0
  181. package/dist/types/platform-workbench/constructionReferenceDiscovery.d.ts +3 -0
  182. package/dist/types/platform-workbench/index.d.ts +2 -1
  183. package/dist/types/platform-workbench/menuNavigation.d.ts +7 -3
  184. package/dist/types/platform-workbench/menuTreeModel.d.ts +2 -1
  185. package/dist/types/platform-workbench/realtimeStatus.d.ts +2 -1
  186. package/dist/types/platform-workbench/useAssistantConversation.d.ts +452 -0
  187. package/dist/types/platform-workbench/useAssistantConversationArchive.d.ts +40 -0
  188. package/dist/types/platform-workbench/useWorkspaceViewUnsavedState.d.ts +1 -5
  189. package/dist/types/platform-workbench/workbenchAssistantCapabilities.d.ts +21 -1
  190. package/dist/types/platform-workbench/workbenchNavigation.d.ts +1 -0
  191. package/dist/types/platform-workbench/workspaceViewContract.d.ts +4 -0
  192. package/dist/types/platform-workbench/workspaceViewDiscardGuard.d.ts +5 -0
  193. package/dist/types/platform-workbench/workspaceViewHost.d.ts +1 -1
  194. package/dist/types/platform-workbench/workspaceViewUnsavedState.d.ts +1 -1
  195. package/dist/types/platform-workbench/workspaceViews.d.ts +3 -2
  196. package/dist/types/views/ConfigurationTranslationView.vue.d.ts +3 -0
  197. package/dist/types/views/MetadataSourceTree.vue.d.ts +7 -5
  198. package/dist/types/views/ModuleRuntimeActivationStatus.vue.d.ts +11 -0
  199. package/dist/types/views/PageCompositionDescriptorPreview.vue.d.ts +8 -8
  200. package/dist/types/views/PageCompositionEditor.vue.d.ts +10 -0
  201. package/dist/types/views/PageCompositionTree.vue.d.ts +19 -13
  202. package/dist/types/views/PageQuerySummaryEditor.vue.d.ts +2 -2
  203. package/dist/types/views/RoleAuthorizationView.vue.d.ts +1 -1
  204. package/dist/types/views/WorkflowAdministrationView.vue.d.ts +3 -0
  205. package/dist/types/views/WorkflowConfigurationView.vue.d.ts +7 -0
  206. package/dist/types/views/WorkflowWorkbenchView.vue.d.ts +3 -0
  207. package/dist/types/views/businessLogClient.d.ts +5 -2
  208. package/dist/types/views/businessRuleAssistantSurface.d.ts +7 -0
  209. package/dist/types/views/businessRuleEditor.d.ts +23 -0
  210. package/dist/types/views/businessRuleGovernance.d.ts +20 -4
  211. package/dist/types/views/businessRuleSession.d.ts +64 -0
  212. package/dist/types/views/businessRuleWorkspace.d.ts +148 -0
  213. package/dist/types/views/configurationEditorNavigation.d.ts +3 -0
  214. package/dist/types/views/configurationTranslationWorkspace.d.ts +69 -0
  215. package/dist/types/views/dictionaryRadioEligibility.d.ts +2 -1
  216. package/dist/types/views/metadataChangeSetSubmission.d.ts +11 -0
  217. package/dist/types/views/metadataEditorSession.d.ts +658 -0
  218. package/dist/types/views/metadataGovernanceAssistantSurface.d.ts +2 -120
  219. package/dist/types/views/metadataGovernanceEditor.d.ts +224 -0
  220. package/dist/types/views/metadataModelEditSession.d.ts +29 -3
  221. package/dist/types/views/metadataModelTree.d.ts +2 -1
  222. package/dist/types/views/metadataNaming.d.ts +10 -1
  223. package/dist/types/views/metadataOrchestrationState.d.ts +32 -9
  224. package/dist/types/views/metadataSourceTree.d.ts +3 -2
  225. package/dist/types/views/metadataWorkspace.d.ts +1323 -0
  226. package/dist/types/views/moduleGovernanceWorkspaceView.d.ts +1 -1
  227. package/dist/types/views/moduleRuntimeActivation.d.ts +11 -0
  228. package/dist/types/views/pageCompositionAssistantSurface.d.ts +29 -0
  229. package/dist/types/views/pageCompositionCandidate.d.ts +48 -0
  230. package/dist/types/views/pageCompositionComponents.d.ts +43 -0
  231. package/dist/types/views/pageCompositionDraftState.d.ts +297 -14
  232. package/dist/types/views/pageCompositionDragPayload.d.ts +7 -1
  233. package/dist/types/views/pageCompositionMode.d.ts +27 -3
  234. package/dist/types/views/pageCompositionPlacement.d.ts +6 -1
  235. package/dist/types/views/pageCompositionPublication.d.ts +39 -0
  236. package/dist/types/views/pageCompositionSession.d.ts +1374 -0
  237. package/dist/types/views/pageCompositionWorkspace.d.ts +2616 -0
  238. package/dist/types/views/roleAuthorizationWorkspaceSession.d.ts +1 -1
  239. package/dist/types/views/roleDetailWorkspaceSession.d.ts +1 -1
  240. package/dist/types/views/runtimeLogClient.d.ts +2 -2
  241. package/dist/types/views/usePageCompositionComponents.d.ts +69 -0
  242. package/dist/types/views/workflowConfigurationWorkspaceView.d.ts +5 -0
  243. package/dist/types/vue-ui-antdv/blockingOverlays.d.ts +9 -0
  244. package/dist/types/vue-ui-antdv/components/UiButton.vue.d.ts +1 -1
  245. package/dist/types/vue-ui-antdv/components/UiDataTable.vue.d.ts +2 -2
  246. package/dist/types/vue-ui-antdv/components/UiInput.vue.d.ts +1 -0
  247. package/dist/types/vue-ui-antdv/components/UiLanguageProvider.vue.d.ts +18 -0
  248. package/dist/types/vue-ui-antdv/components/UiModal.vue.d.ts +3 -3
  249. package/dist/types/vue-ui-antdv/components/UiRecordExplorerItem.vue.d.ts +2 -2
  250. package/dist/types/vue-ui-antdv/components/UiSearchInput.vue.d.ts +3 -1
  251. package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +3 -1
  252. package/dist/types/vue-ui-antdv/components/UiSidePanel.vue.d.ts +3 -0
  253. package/dist/types/vue-ui-antdv/components/UiTextArea.vue.d.ts +9 -7
  254. package/dist/types/vue-ui-antdv/components/UiTokenInput.vue.d.ts +7 -7
  255. package/dist/types/vue-ui-antdv/components/UiTree.vue.d.ts +1 -1
  256. package/dist/types/vue-ui-antdv/components/UiTreeSelect.vue.d.ts +3 -1
  257. package/dist/types/vue-ui-antdv/confirm.d.ts +3 -2
  258. package/dist/types/vue-ui-antdv/index.d.ts +3 -0
  259. package/dist/types/vue-ui-antdv/languageGlobalScope.d.ts +3 -0
  260. package/dist/types/vue-ui-antdv/languageLocales.d.ts +4 -0
  261. package/dist/types/vue-ui-antdv/theme.d.ts +2 -0
  262. package/dist/types/vue-ui-antdv/types.d.ts +6 -0
  263. package/dist/types/web-contracts/assistant.d.ts +29 -1
  264. package/dist/types/web-contracts/constructionPlan.d.ts +213 -0
  265. package/dist/types/web-contracts/index.d.ts +78 -0
  266. package/dist/types/web-contracts/operation.d.ts +33 -0
  267. package/dist/types/web-contracts/referenceTarget.d.ts +13 -0
  268. package/dist/types/web-contracts/workflow.d.ts +346 -0
  269. package/dist/types/web-core/actionResult.d.ts +3 -0
  270. package/dist/types/web-core/assistantCapabilityCatalog.d.ts +22 -0
  271. package/dist/types/web-core/assistantCatalogPage.d.ts +12 -0
  272. package/dist/types/web-core/assistantConfirmation.d.ts +24 -0
  273. package/dist/types/web-core/assistantConversationClient.d.ts +50 -0
  274. package/dist/types/web-core/assistantRuntime.d.ts +53 -7
  275. package/dist/types/web-core/assistantSurface.d.ts +80 -9
  276. package/dist/types/web-core/assistantTurnClient.d.ts +9 -1
  277. package/dist/types/web-core/constructionPlanClient.d.ts +55 -0
  278. package/dist/types/web-core/errors.d.ts +9 -3
  279. package/dist/types/web-core/http.d.ts +1 -0
  280. package/dist/types/web-core/index.d.ts +14 -0
  281. package/dist/types/web-core/language.d.ts +54 -0
  282. package/dist/types/web-core/languagePreference.d.ts +8 -0
  283. package/dist/types/web-core/module/dataExchangeClient.d.ts +54 -0
  284. package/dist/types/web-core/module/index.d.ts +2 -0
  285. package/dist/types/web-core/module/moduleContext.d.ts +4 -0
  286. package/dist/types/web-core/module/pageActionEntries.d.ts +3 -2
  287. package/dist/types/web-core/module/runtimeContext.d.ts +15 -2
  288. package/dist/types/web-core/module/staticModuleClient.d.ts +12 -2
  289. package/dist/types/web-core/operationConfirmation.d.ts +32 -0
  290. package/dist/types/web-core/operationErrors.d.ts +23 -0
  291. package/dist/types/web-core/operationReceipt.d.ts +10 -0
  292. package/dist/types/web-core/presentationTexts.d.ts +16 -0
  293. package/dist/types/web-core/sha256.d.ts +2 -0
  294. package/dist/types/web-core/uuid.d.ts +2 -0
  295. package/dist/types/web-core/workflow.d.ts +70 -0
  296. package/dist/types/web-core/workspaceUnsavedState.d.ts +6 -0
  297. package/dist/workspaceViews-BIYGPUAO.js +3437 -0
  298. package/package.json +2 -4
  299. package/dist/BusinessActivityLogView-BUg5WTm-.js +0 -16
  300. package/dist/BusinessLogListDrawer-BOTE_7aT.js +0 -825
  301. package/dist/LoginAuditLogView-DBNtvmIy.js +0 -16
  302. package/dist/ModuleActionManagementView-Bq1VO51Y.js +0 -673
  303. package/dist/ModuleGovernanceView-B8u4_erd.js +0 -29344
  304. package/dist/RequestErrorLogView-BrtH3ptj.js +0 -16
  305. package/dist/RoleDetailWorkspaceView-6LW3tLA1.js +0 -1397
  306. package/dist/RuntimeLogView-s3X5CdHB.js +0 -297
  307. package/dist/moduleGovernanceWorkspaceView-BRgJbUjJ.js +0 -40
  308. package/dist/platform-components-Dt859Hbr.js +0 -18627
  309. package/dist/platform-workbench-DfqFnlm-.js +0 -14701
  310. package/dist/rolldown-runtime-DPVXH0ON.js +0 -17
  311. package/dist/sse-mGbuCAax.js +0 -187
  312. package/dist/workspaceViews-DijY4n32.js +0 -3623
@@ -0,0 +1,755 @@
1
+ import { n as e } from "./rolldown-runtime-BAC7EHh5.js";
2
+ import "./platform-workbench-CAHoriIf.js";
3
+ import { Bn as t, Cn as n, Cr as ee, Gn as r, Hn as i, Kn as a, L as te, Ln as o, M as ne, Nt as re, On as s, Pn as c, Ut as ie, Vn as l, Xn as u, b as ae, dr as oe, en as se, h as ce, hn as le, k as ue, na as de, nn as fe, ot as d, qn as f, wi as p } from "./platform-components-Cl5ZZiuU.js";
4
+ import { computed as m, createBlock as h, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createTextVNode as y, createVNode as b, defineComponent as x, onMounted as pe, openBlock as S, ref as C, toDisplayString as w, unref as T, withCtx as E, withModifiers as D } from "vue";
5
+ //#region src/platform-components/staticTreeResourceModuleContext.ts
6
+ function me(e, t = {}) {
7
+ let n = t.client ?? O(t.emptyQueryScopeName);
8
+ return {
9
+ ...e,
10
+ crud: n,
11
+ abilities: {
12
+ ...e.abilities,
13
+ crud: () => n,
14
+ tree: () => n,
15
+ enable: () => n,
16
+ tryCrud: () => n,
17
+ tryTree: () => e.abilities.hasTree() === !1 ? void 0 : n,
18
+ tryEnable: () => n
19
+ }
20
+ };
21
+ }
22
+ function O(e = "static.empty") {
23
+ return {
24
+ querySchema: async () => k(e),
25
+ query: async () => A(),
26
+ view: async () => ({}),
27
+ insert: async (e) => ({ record: e }),
28
+ update: async (e, t) => ({ record: t }),
29
+ delete: async () => 0,
30
+ enable: async () => 0,
31
+ disable: async () => 0,
32
+ tree: async () => j(),
33
+ treeFlat: async () => M(),
34
+ subtree: async () => j(),
35
+ sort: async () => 0
36
+ };
37
+ }
38
+ function k(e) {
39
+ return {
40
+ scopeName: e,
41
+ quickSearch: {
42
+ enabled: !1,
43
+ fields: [],
44
+ fieldSchemas: []
45
+ },
46
+ fields: [],
47
+ externalCriteria: [],
48
+ defaultSorts: []
49
+ };
50
+ }
51
+ function A() {
52
+ return {
53
+ records: [],
54
+ total: 0,
55
+ pageNum: 1,
56
+ pageSize: 20,
57
+ pages: 0,
58
+ totalKnown: !0
59
+ };
60
+ }
61
+ function j() {
62
+ return { records: [] };
63
+ }
64
+ function M() {
65
+ return { records: [] };
66
+ }
67
+ //#endregion
68
+ //#region src/views/ModuleActionManagementView.vue?vue&type=script&setup=true&lang.ts
69
+ var he = { class: "action-declaration-section" }, ge = { class: "permission-governance-section" }, _e = { class: "governance-grid" }, ve = { class: "governance-item" }, ye = ["aria-label"], be = { class: "governance-reset-slot" }, N = { class: "governance-item" }, xe = ["aria-label"], Se = { class: "governance-reset-slot" }, Ce = { class: "governance-item" }, we = ["aria-label"], Te = { class: "governance-reset-slot" }, Ee = { class: "governance-switch-control" }, De = { class: "governance-item" }, Oe = ["aria-label"], ke = { class: "governance-reset-slot" }, Ae = { class: "governance-switch-control" }, je = { class: "form-hint wide-field" }, Me = { key: 0 }, Ne = {
70
+ key: 1,
71
+ class: "form-hint wide-field"
72
+ }, Pe = { class: "checkbox-field" }, Fe = { class: "checkbox-field" }, Ie = { class: "wide-field" }, P = { class: "wide-field" }, F = /*@__PURE__*/ x({
73
+ name: "ModuleActionManagementView",
74
+ __name: "ModuleActionManagementView",
75
+ props: {
76
+ moduleAlias: {},
77
+ moduleTitle: {},
78
+ moduleKind: {},
79
+ title: {}
80
+ },
81
+ setup(e) {
82
+ let f = de(), x = e, O = oe({ moduleAlias: "platform.module_action" }), k = me(O, { client: ee(O.http, `/platform.module/${encodeURIComponent(x.moduleAlias)}/actions`) }), A = C(""), j = C(!1), M = C([]), F = ce({
83
+ language: f,
84
+ context: k,
85
+ confirmAction: (e) => le(e, f),
86
+ emptyDraft: () => q(x.moduleAlias),
87
+ normalizeDraft: (e) => J(e, x.moduleAlias),
88
+ copyRecord: (e) => ({ ...e }),
89
+ titleOf: Q,
90
+ get fallbackTitle() {
91
+ return f.t("platform.unsaved-source.ModuleActionManagementView", "模块动作");
92
+ },
93
+ get createTitle() {
94
+ return f.t("platform.screen.ModuleActionManagementView.new-action", "新建动作");
95
+ },
96
+ get requiredMessage() {
97
+ return p(f, "platform.screen.ModuleActionManagementView.the-action-code-is-required", "动作编码不能为空");
98
+ },
99
+ isValid: (e) => !!e.actionCode?.trim(),
100
+ get recordName() {
101
+ return f.t("platform.governance.tab.actions", "动作");
102
+ },
103
+ get deleteTitle() {
104
+ return f.t("platform.screen.ModuleActionManagementView.delete-action", "删除动作");
105
+ },
106
+ get saveDeniedMessage() {
107
+ return p(f, "platform.screen.ModuleActionManagementView.you-do-not-have-permission-to-save-module-actions", "当前用户无权保存模块动作");
108
+ },
109
+ get createDeniedMessage() {
110
+ return p(f, "platform.screen.ModuleActionManagementView.you-do-not-have-permission-to-create-module-actions", "当前用户无权新建模块动作");
111
+ },
112
+ get enableDeniedMessage() {
113
+ return p(f, "platform.screen.ModuleActionManagementView.you-do-not-have-permission-to-enable-or-disable-module", "当前用户无权变更模块动作启停状态");
114
+ },
115
+ deleteDeniedMessage: () => p(f, "platform.screen.ModuleActionManagementView.you-do-not-have-permission-to-delete-module-actions", "当前用户无权删除模块动作"),
116
+ canDeleteRecord: (e) => e.systemManaged !== !0,
117
+ canEnableRecord: (e) => e.systemManaged !== !0
118
+ }), { selected: I, draft: L, mode: R, reloadKey: z, saving: B, cardTitle: Le, canCreate: Re, canEnable: ze } = F, Be = m(() => {
119
+ if (R.value === "view") return !1;
120
+ let e = I.value ? J(I.value, x.moduleAlias) : q(x.moduleAlias);
121
+ return JSON.stringify(L.value) !== JSON.stringify(e);
122
+ });
123
+ u(() => f.t("platform.unsaved-source.ModuleActionManagementView", "模块动作"), () => Be.value);
124
+ let V = m(() => k.can("sort") === !0), H = m(() => R.value !== "view" || B.value || !!A.value.trim()), Ve = m(() => Re.value), He = m(() => M.value.map((e) => ({
125
+ value: e.executorKey,
126
+ label: e.description ? `${e.title} · ${e.description}` : e.title
127
+ }))), Ue = m(() => (M.value.find((e) => e.executorKey === L.value.executorKey)?.supportedLevels ?? [
128
+ "LIST",
129
+ "RECORD",
130
+ "BATCH",
131
+ "ANY"
132
+ ]).map((e) => ({
133
+ value: e,
134
+ label: {
135
+ LIST: f.t("platform.page.composition.list", "列表"),
136
+ RECORD: f.t("platform.screen.ModuleActionManagementView.single-record", "单条记录"),
137
+ BATCH: f.t("platform.screen.ModuleActionManagementView.batch", "批量"),
138
+ ANY: f.t("platform.screen.ModuleActionManagementView.any", "任意")
139
+ }[e]
140
+ }))), We = m(() => [
141
+ "actionCode",
142
+ "title",
143
+ "category",
144
+ "actionLevel",
145
+ "accessMode",
146
+ "executorType",
147
+ ...Z(L.value.executorKey) ? ["executorKey"] : [],
148
+ "actionAuth",
149
+ "dataAuth",
150
+ "defaultGrantPolicy",
151
+ ...Z(L.value.availableExpression) ? ["availableExpression"] : [],
152
+ ...Z(L.value.unavailableMessage) ? ["unavailableMessage"] : [],
153
+ ...L.value.sourceType ? ["sourceType"] : [],
154
+ ...Z(L.value.bindingAlias) ? ["bindingAlias"] : []
155
+ ]), Ge = m(() => [
156
+ "actionCode",
157
+ "title",
158
+ "category",
159
+ "actionLevel",
160
+ "executorType",
161
+ ...Z(L.value.executorKey) ? ["executorKey"] : [],
162
+ ...L.value.sourceType ? ["sourceType"] : []
163
+ ]);
164
+ pe(() => void Qe());
165
+ let Ke = m(() => F.readonly.value), U = m(() => Ke.value || F.saving.value), qe = m(() => {
166
+ if (F.mode.value !== "view") return [
167
+ ...F.mode.value === "edit" && F.selected.value?.systemManaged === !0 && Xe(L.value) ? [{
168
+ key: "reset-permission-governance",
169
+ actionCode: "update",
170
+ title: f.t("platform.screen.ModuleActionManagementView.reset-all", "全部重置"),
171
+ disabled: F.saving.value
172
+ }] : [],
173
+ {
174
+ key: "cancel",
175
+ title: f.t("platform.action.cancel", "取消"),
176
+ disabled: F.saving.value
177
+ },
178
+ {
179
+ key: "save",
180
+ actionCode: F.mode.value === "create" ? "create" : "update",
181
+ title: F.saving.value ? f.t("platform.action.saving", "保存中") : f.t("platform.action.save", "保存"),
182
+ primary: !0,
183
+ loading: F.saving.value
184
+ }
185
+ ];
186
+ let e = F.selected.value;
187
+ return [{
188
+ key: "edit",
189
+ actionCode: "update",
190
+ title: f.t("platform.action.edit", "编辑"),
191
+ disabled: !e || !F.canUpdate.value
192
+ }, {
193
+ key: "delete",
194
+ actionCode: "delete",
195
+ title: f.t("platform.action.delete", "删除"),
196
+ danger: !0,
197
+ loading: F.saving.value,
198
+ disabled: !e || e.systemManaged === !0 || !F.canDelete.value
199
+ }];
200
+ });
201
+ function Je(e) {
202
+ let t = e;
203
+ return {
204
+ title: Q(t),
205
+ secondary: t.actionCode,
206
+ tag: t.systemManaged === !0 ? f.t("platform.screen.pageCompositionSession.platform-managed", "平台托管") : t.executorKey ? f.t("platform.screen.RoleAccountGrantDrawer.assigned", "已绑定") : f.t("platform.screen.PageCompositionTree.binding-pending", "待绑定"),
207
+ muted: t.enabled === !1
208
+ };
209
+ }
210
+ function Ye(e) {
211
+ e.key === "edit" && F.startEdit(), e.key === "delete" && F.removeSelected(), e.key === "reset-permission-governance" && Ze(), e.key === "cancel" && F.cancelEdit(), e.key === "save" && F.save();
212
+ }
213
+ function Xe(e) {
214
+ return [
215
+ e.accessModeOverride,
216
+ e.actionAuthOverride,
217
+ e.dataAuthOverride,
218
+ e.defaultGrantPolicyOverride
219
+ ].some((e) => e != null);
220
+ }
221
+ function W(e) {
222
+ return L.value[e] != null;
223
+ }
224
+ function G(e) {
225
+ K(e, void 0);
226
+ }
227
+ function Ze() {
228
+ F.draft.value = {
229
+ ...F.draft.value,
230
+ accessModeOverride: void 0,
231
+ actionAuthOverride: void 0,
232
+ dataAuthOverride: void 0,
233
+ defaultGrantPolicyOverride: void 0
234
+ };
235
+ }
236
+ function K(e, t) {
237
+ F.draft.value = {
238
+ ...F.draft.value,
239
+ [e]: t ?? void 0
240
+ };
241
+ }
242
+ async function Qe() {
243
+ try {
244
+ M.value = await O.http.request({ path: "/platform.module/action-executors" });
245
+ } catch (e) {
246
+ M.value = [], fe(e, {
247
+ language: f,
248
+ source: "module-action-management",
249
+ phase: "load"
250
+ });
251
+ }
252
+ }
253
+ function $e() {
254
+ F.startCreate();
255
+ }
256
+ function et(e) {
257
+ let t = typeof e == "string" ? e : void 0, n = M.value.find((e) => e.executorKey === t);
258
+ K("executorKey", t), n?.supportedLevels.length && K("actionLevel", n.supportedLevels[0]);
259
+ }
260
+ function q(e) {
261
+ return {
262
+ moduleAlias: e,
263
+ actionCode: "",
264
+ title: "",
265
+ category: "CUSTOM",
266
+ actionLevel: "ANY",
267
+ accessMode: "AUTH_REQUIRED",
268
+ actionAuth: !0,
269
+ dataAuth: !1,
270
+ defaultGrantPolicy: "NONE",
271
+ executorType: "SERVICE",
272
+ enabled: !0,
273
+ systemManaged: !1
274
+ };
275
+ }
276
+ function J(e, t) {
277
+ return {
278
+ ...e,
279
+ moduleAlias: t,
280
+ actionCode: Y(e.actionCode),
281
+ title: X(e.title) ?? Y(e.actionCode),
282
+ entityAlias: X(e.entityAlias),
283
+ permissionActionCode: X(e.permissionActionCode),
284
+ availableExpression: X(e.availableExpression),
285
+ unavailableMessage: X(e.unavailableMessage),
286
+ executorKey: X(e.executorKey)
287
+ };
288
+ }
289
+ function Y(e) {
290
+ return e?.trim() ?? "";
291
+ }
292
+ function X(e) {
293
+ return e?.trim() || void 0;
294
+ }
295
+ function Z(e) {
296
+ return !!e?.trim();
297
+ }
298
+ function Q(e) {
299
+ return e.title?.trim() || e.actionCode?.trim() || e.id || f.t("platform.screen.ModuleActionManagementView.untitled-action", "未命名动作");
300
+ }
301
+ function $(e, t) {
302
+ let n = {
303
+ category: {
304
+ STANDARD: f.t("platform.screen.RoleAuthorizationView.standard-action", "标准动作"),
305
+ CUSTOM: f.t("platform.screen.ModuleActionManagementView.custom-action", "自定义动作"),
306
+ DIALOG: f.t("platform.screen.ModuleActionManagementView.dialog-action", "弹窗动作"),
307
+ WORKFLOW: f.t("platform.screen.ModuleActionManagementView.workflow-action", "工作流动作"),
308
+ GENERATE: f.t("platform.screen.ModuleActionManagementView.generation-action", "生成动作")
309
+ },
310
+ actionLevel: {
311
+ LIST: f.t("platform.page.composition.list", "列表"),
312
+ RECORD: f.t("platform.screen.ModuleActionManagementView.single-record", "单条记录"),
313
+ BATCH: f.t("platform.screen.ModuleActionManagementView.batch", "批量"),
314
+ ANY: f.t("platform.screen.ModuleActionManagementView.any", "任意")
315
+ },
316
+ accessMode: {
317
+ AUTH_REQUIRED: f.t("platform.screen.ModuleActionManagementView.authorization-required", "需要授权"),
318
+ LOGIN_REQUIRED: f.t("platform.screen.ModuleActionManagementView.signed-in-access", "登录可用"),
319
+ ANONYMOUS_ALLOWED: f.t("platform.screen.ModuleActionManagementView.anonymous-access", "匿名可用")
320
+ },
321
+ executorType: {
322
+ STANDARD: f.t("platform.screen.ModuleActionManagementView.platform-standard", "平台标准"),
323
+ SERVICE: f.t("platform.screen.ModuleActionManagementView.custom-service", "服务(二开)"),
324
+ DIALOG: f.t("platform.screen.ModuleActionManagementView.dialog-protocol", "弹窗协议"),
325
+ WORKFLOW: f.t("platform.screen.ModuleActionManagementView.workflow", "工作流"),
326
+ GENERATE: f.t("platform.screen.ModuleActionManagementView.generator", "生成器")
327
+ },
328
+ defaultGrantPolicy: {
329
+ NONE: f.t("platform.screen.ModuleActionManagementView.no-default-grant", "不默认授予"),
330
+ ANY_LOGIN_USER: f.t("platform.screen.ModuleActionManagementView.all-signed-in-users", "所有登录用户"),
331
+ OWNER: f.t("platform.screen.ModuleActionManagementView.record-owner", "记录所有者"),
332
+ ASSIGNEE: f.t("platform.screen.WorkflowWorkbenchView.processors", "办理人"),
333
+ MEMBER: f.t("platform.screen.ModuleActionManagementView.member", "成员")
334
+ },
335
+ sourceType: {
336
+ STATIC_MODULE: f.t("platform.screen.ModuleActionManagementView.static-module-declaration", "静态模块声明"),
337
+ CODE_EXTENSION: f.t("platform.screen.ModuleActionManagementView.code-extension", "代码扩展"),
338
+ DYNAMIC_MODULE: f.t("platform.screen.ModuleActionManagementView.dynamic-module-configuration", "动态模块配置"),
339
+ WORKFLOW_DEFINITION: f.t("platform.screen.ModuleActionManagementView.workflow-definition", "工作流定义"),
340
+ WORKFLOW_RUNTIME: f.t("platform.screen.ModuleActionManagementView.workflow-runtime", "工作流运行时"),
341
+ RECORD_GENERATION_RULE: f.t("platform.screen.ModuleActionManagementView.document-generation-rule", "生单规则"),
342
+ DOCUMENT_RELATION: f.t("platform.screen.ModuleActionManagementView.document-relation", "单据关系"),
343
+ PRINT_TEMPLATE: f.t("platform.screen.ModuleActionManagementView.print-template", "打印模板")
344
+ }
345
+ };
346
+ return e === "actionAuth" || e === "dataAuth" ? t === !0 ? f.t("platform.screen.WorkflowWorkbenchView.enabled", "启用") : f.t("platform.screen.ModuleActionManagementView.not-enabled", "未启用") : typeof t == "string" ? n[e]?.[t] : void 0;
347
+ }
348
+ return (ee, u) => (S(), h(T(ae), {
349
+ "explorer-title": T(f).t("platform.unsaved-source.ModuleActionManagementView", "模块动作"),
350
+ "refresh-title": T(f).t("platform.screen.ModuleActionManagementView.refresh-actions", "刷新动作"),
351
+ mode: T(R),
352
+ "detail-title": T(Le),
353
+ "explorer-search-keyword": A.value,
354
+ "explorer-search-placeholder": T(f).t("platform.screen.ModuleActionManagementView.search-action-name-or-code", "搜索动作名称或编码"),
355
+ "onUpdate:explorerSearchKeyword": u[23] ||= (e) => A.value = e,
356
+ onRefresh: u[24] ||= (e) => z.value += 1
357
+ }, {
358
+ "explorer-actions": E(() => [V.value ? (S(), h(T(te), {
359
+ key: 0,
360
+ "icon-name": "swap-vertical",
361
+ "icon-only": "",
362
+ size: "small",
363
+ type: "text",
364
+ selected: j.value,
365
+ disabled: H.value,
366
+ title: A.value.trim() ? T(f).t("platform.screen.ModulePageHostRuntime.clear-the-search-to-reorder-records", "清空搜索后可调整排序") : T(R) === "view" ? j.value ? T(f).t("platform.screen.ModulePageHostRuntime.finish-reordering", "结束排序") : T(f).t("platform.screen.ModulePageHostRuntime.reorder", "调整排序") : T(f).t("platform.screen.ModuleActionManagementView.finish-editing-before-reordering", "结束编辑后可调整排序"),
367
+ "aria-label": j.value ? T(f).t("platform.screen.ModulePageHostRuntime.finish-reordering", "结束排序") : T(f).t("platform.screen.ModulePageHostRuntime.reorder", "调整排序"),
368
+ onClick: u[0] ||= (e) => j.value = !j.value
369
+ }, null, 8, [
370
+ "selected",
371
+ "disabled",
372
+ "title",
373
+ "aria-label"
374
+ ])) : g("v-if", !0), b(T(ie), {
375
+ class: "record-panel-create-button",
376
+ context: T(k),
377
+ "action-code": "create",
378
+ title: T(f).t("platform.screen.ModuleActionManagementView.new-action", "新建动作"),
379
+ "icon-only": "",
380
+ disabled: !Ve.value || T(B),
381
+ onClick: $e
382
+ }, null, 8, [
383
+ "context",
384
+ "title",
385
+ "disabled"
386
+ ])]),
387
+ explorer: E(() => [b(T(se), {
388
+ context: T(k),
389
+ "selected-id": T(I)?.id,
390
+ "reload-key": T(z),
391
+ keyword: A.value,
392
+ sorting: j.value && V.value && !H.value,
393
+ "empty-description": T(f).t("platform.screen.ModuleActionManagementView.no-actions-are-available-for-this-module", "当前模块暂无动作"),
394
+ "loading-tip": T(f).t("platform.screen.RoleAuthorizationView.loading-module-actions", "加载模块动作"),
395
+ "fallback-title": T(f).t("platform.screen.ModuleActionManagementView.untitled-action", "未命名动作"),
396
+ "item-of": Je,
397
+ onLoaded: u[1] ||= (e) => T(F).handleListLoaded(e),
398
+ onSelect: u[2] ||= (e) => T(F).handleSelect(e)
399
+ }, null, 8, [
400
+ "context",
401
+ "selected-id",
402
+ "reload-key",
403
+ "keyword",
404
+ "sorting",
405
+ "empty-description",
406
+ "loading-tip",
407
+ "fallback-title"
408
+ ])]),
409
+ "detail-status": E(() => [T(R) === "view" && T(I) ? (S(), h(T(ne), {
410
+ key: 0,
411
+ enabled: T(I).enabled,
412
+ disabled: T(B) || T(I).systemManaged === !0 || !T(ze),
413
+ loading: T(B),
414
+ "show-label": !1,
415
+ onChange: T(F).toggleEnabled
416
+ }, null, 8, [
417
+ "enabled",
418
+ "disabled",
419
+ "loading",
420
+ "onChange"
421
+ ])) : g("v-if", !0)]),
422
+ "detail-actions": E(() => [b(T(re), {
423
+ context: T(k),
424
+ actions: qe.value,
425
+ onAction: Ye
426
+ }, null, 8, ["context", "actions"])]),
427
+ default: E(() => [!T(I) && T(R) === "view" ? (S(), h(T(n), {
428
+ key: 0,
429
+ description: e.moduleKind === "static" ? T(f).t("platform.screen.ModuleActionManagementView.static-module-actions-are-registered-automatically-from-java-declarations", "静态模块动作由 Java 声明自动注册") : T(f).t("platform.screen.ModuleActionManagementView.no-actions-are-available-for-this-module", "当前模块暂无动作")
430
+ }, null, 8, ["description"])) : T(R) === "view" && T(I) ? (S(), h(T(d), {
431
+ key: 1,
432
+ record: T(L),
433
+ "display-of": $,
434
+ "field-names": We.value,
435
+ fallback: {
436
+ actionCode: { label: T(f).t("platform.screen.ModuleActionManagementView.action-code", "动作编码") },
437
+ title: { label: T(f).t("platform.screen.ModuleActionManagementView.action-name", "动作名称") },
438
+ category: { label: T(f).t("platform.screen.ModuleActionManagementView.action-category", "动作类别") },
439
+ actionLevel: { label: T(f).t("platform.screen.ModuleActionManagementView.execution-level", "执行层级") },
440
+ accessMode: { label: T(f).t("platform.screen.ModuleActionManagementView.access-mode", "访问方式") },
441
+ executorType: { label: T(f).t("platform.screen.ModuleActionManagementView.execution-method", "执行方式") },
442
+ executorKey: { label: T(f).t("platform.screen.ModuleActionManagementView.executor-implementation", "执行实现") },
443
+ actionAuth: { label: T(f).t("platform.screen.ModuleActionManagementView.action-authorization", "动作授权") },
444
+ dataAuth: { label: T(f).t("platform.screen.ModuleActionManagementView.data-authorization", "数据授权") },
445
+ defaultGrantPolicy: { label: T(f).t("platform.screen.ModuleActionManagementView.default-grant-policy", "默认授予策略") },
446
+ availableExpression: { label: T(f).t("platform.screen.ModuleActionManagementView.availability-condition", "可用条件") },
447
+ unavailableMessage: { label: T(f).t("platform.screen.ModuleActionManagementView.unavailable-message", "不可用提示") },
448
+ sourceType: { label: T(f).t("platform.screen.ModuleActionManagementView.registration-source", "注册来源") },
449
+ bindingAlias: { label: T(f).t("platform.screen.ModuleActionManagementView.binding-id", "绑定标识") }
450
+ }
451
+ }, null, 8, [
452
+ "record",
453
+ "field-names",
454
+ "fallback"
455
+ ])) : T(R) !== "create" && T(I)?.systemManaged ? (S(), _("form", {
456
+ key: 2,
457
+ class: "managed-action-editor",
458
+ onSubmit: u[11] ||= D((...e) => T(F).save && T(F).save(...e), ["prevent"])
459
+ }, [v("section", he, [v("h3", null, w(T(f).t("platform.screen.ModuleActionManagementView.action-declaration", "动作声明")), 1), b(T(d), {
460
+ record: T(L),
461
+ "display-of": $,
462
+ "field-names": Ge.value,
463
+ fallback: {
464
+ actionCode: { label: T(f).t("platform.screen.ModuleActionManagementView.action-code", "动作编码") },
465
+ title: { label: T(f).t("platform.screen.ModuleActionManagementView.action-name", "动作名称") },
466
+ category: { label: T(f).t("platform.screen.ModuleActionManagementView.action-category", "动作类别") },
467
+ actionLevel: { label: T(f).t("platform.screen.ModuleActionManagementView.execution-level", "执行层级") },
468
+ executorType: { label: T(f).t("platform.screen.ModuleActionManagementView.execution-method", "执行方式") },
469
+ executorKey: { label: T(f).t("platform.screen.ModuleActionManagementView.executor-implementation", "执行实现") },
470
+ sourceType: { label: T(f).t("platform.screen.ModuleActionManagementView.registration-source", "注册来源") }
471
+ }
472
+ }, null, 8, [
473
+ "record",
474
+ "field-names",
475
+ "fallback"
476
+ ])]), v("section", ge, [v("h3", null, w(T(f).t("platform.screen.ModuleActionManagementView.permission-governance", "权限治理")), 1), v("div", _e, [
477
+ v("section", ve, [v("header", null, [v("div", null, [v("h4", null, [y(w(T(f).t("platform.screen.ModuleActionManagementView.access-mode", "访问方式")) + " ", 1), b(T(c), { title: T(f).t("platform.screen.ModuleActionManagementView.define-the-identity-requirements-for-invoking-this-action", "决定调用动作前需要满足的身份条件。") }, {
478
+ default: E(() => [v("button", {
479
+ type: "button",
480
+ class: "governance-help",
481
+ "aria-label": T(f).t("platform.screen.ModuleActionManagementView.access-method-description", "访问方式说明")
482
+ }, [b(T(a), { name: "help" })], 8, ye)]),
483
+ _: 1
484
+ }, 8, ["title"])])]), v("span", be, [W("accessModeOverride") ? (S(), h(T(r), {
485
+ key: 0,
486
+ type: "text",
487
+ size: "small",
488
+ disabled: U.value,
489
+ onClick: u[3] ||= (e) => G("accessModeOverride")
490
+ }, {
491
+ default: E(() => [y(w(T(f).t("platform.screen.WorkflowWorkbenchView.reset", "重置")), 1)]),
492
+ _: 1
493
+ }, 8, ["disabled"])) : g("v-if", !0)])]), b(T(l), {
494
+ value: T(L).accessModeOverride ?? T(L).accessMode,
495
+ disabled: U.value,
496
+ options: [
497
+ {
498
+ label: T(f).t("platform.screen.ModuleActionManagementView.authorization-required", "需要授权"),
499
+ value: "AUTH_REQUIRED"
500
+ },
501
+ {
502
+ label: T(f).t("platform.screen.ModuleActionManagementView.signed-in-access", "登录可用"),
503
+ value: "LOGIN_REQUIRED"
504
+ },
505
+ {
506
+ label: T(f).t("platform.screen.ModuleActionManagementView.anonymous-access", "匿名可用"),
507
+ value: "ANONYMOUS_ALLOWED"
508
+ }
509
+ ],
510
+ "onUpdate:value": u[4] ||= (e) => K("accessModeOverride", e)
511
+ }, null, 8, [
512
+ "value",
513
+ "disabled",
514
+ "options"
515
+ ])]),
516
+ v("section", N, [v("header", null, [v("div", null, [v("h4", null, [y(w(T(f).t("platform.screen.ModuleActionManagementView.default-grant-policy", "默认授予策略")) + " ", 1), b(T(c), { title: T(f).t("platform.screen.ModuleActionManagementView.define-the-default-grant-rules-when-eligible-users-first-receive", "定义满足条件的用户首次获得动作时的默认规则。") }, {
517
+ default: E(() => [v("button", {
518
+ type: "button",
519
+ class: "governance-help",
520
+ "aria-label": T(f).t("platform.screen.ModuleActionManagementView.default-grant-policy-description", "默认授予策略说明")
521
+ }, [b(T(a), { name: "help" })], 8, xe)]),
522
+ _: 1
523
+ }, 8, ["title"])])]), v("span", Se, [W("defaultGrantPolicyOverride") ? (S(), h(T(r), {
524
+ key: 0,
525
+ type: "text",
526
+ size: "small",
527
+ disabled: U.value,
528
+ onClick: u[5] ||= (e) => G("defaultGrantPolicyOverride")
529
+ }, {
530
+ default: E(() => [y(w(T(f).t("platform.screen.WorkflowWorkbenchView.reset", "重置")), 1)]),
531
+ _: 1
532
+ }, 8, ["disabled"])) : g("v-if", !0)])]), b(T(l), {
533
+ value: T(L).defaultGrantPolicyOverride ?? T(L).defaultGrantPolicy,
534
+ disabled: U.value,
535
+ options: [
536
+ {
537
+ label: T(f).t("platform.screen.ModuleActionManagementView.no-default-grant", "不默认授予"),
538
+ value: "NONE"
539
+ },
540
+ {
541
+ label: T(f).t("platform.screen.ModuleActionManagementView.all-signed-in-users", "所有登录用户"),
542
+ value: "ANY_LOGIN_USER"
543
+ },
544
+ {
545
+ label: T(f).t("platform.screen.ModuleActionManagementView.record-owner", "记录所有者"),
546
+ value: "OWNER"
547
+ },
548
+ {
549
+ label: T(f).t("platform.screen.WorkflowWorkbenchView.processors", "办理人"),
550
+ value: "ASSIGNEE"
551
+ },
552
+ {
553
+ label: T(f).t("platform.screen.ModuleActionManagementView.member", "成员"),
554
+ value: "MEMBER"
555
+ }
556
+ ],
557
+ "onUpdate:value": u[6] ||= (e) => K("defaultGrantPolicyOverride", e)
558
+ }, null, 8, [
559
+ "value",
560
+ "disabled",
561
+ "options"
562
+ ])]),
563
+ v("section", Ce, [v("header", null, [v("div", null, [v("h4", null, [y(w(T(f).t("platform.screen.ModuleActionManagementView.action-authorization", "动作授权")) + " ", 1), b(T(c), { title: T(f).t("platform.screen.ModuleActionManagementView.control-whether-roles-require-an-explicit-grant-for-this-action", "控制角色是否需要被显式授予该动作。") }, {
564
+ default: E(() => [v("button", {
565
+ type: "button",
566
+ class: "governance-help",
567
+ "aria-label": T(f).t("platform.screen.ModuleActionManagementView.action-permission-description", "动作授权说明")
568
+ }, [b(T(a), { name: "help" })], 8, we)]),
569
+ _: 1
570
+ }, 8, ["title"])])]), v("span", Te, [W("actionAuthOverride") ? (S(), h(T(r), {
571
+ key: 0,
572
+ type: "text",
573
+ size: "small",
574
+ disabled: U.value,
575
+ onClick: u[7] ||= (e) => G("actionAuthOverride")
576
+ }, {
577
+ default: E(() => [y(w(T(f).t("platform.screen.WorkflowWorkbenchView.reset", "重置")), 1)]),
578
+ _: 1
579
+ }, 8, ["disabled"])) : g("v-if", !0)])]), v("div", Ee, [b(T(s), {
580
+ checked: (T(L).actionAuthOverride ?? T(L).actionAuth) !== !1,
581
+ disabled: U.value,
582
+ "checked-text": T(f).t("platform.screen.ModuleActionManagementView.on", "开"),
583
+ "unchecked-text": T(f).t("platform.screen.ModuleActionManagementView.off", "关"),
584
+ "onUpdate:checked": u[8] ||= (e) => K("actionAuthOverride", e)
585
+ }, null, 8, [
586
+ "checked",
587
+ "disabled",
588
+ "checked-text",
589
+ "unchecked-text"
590
+ ]), v("strong", null, w((T(L).actionAuthOverride ?? T(L).actionAuth) === !1 ? T(f).t("platform.screen.ModuleActionManagementView.not-enabled", "未启用") : T(f).t("platform.screen.DynamicModuleWorkspaceDetailView.enabled", "已启用")), 1)])]),
591
+ v("section", De, [v("header", null, [v("div", null, [v("h4", null, [y(w(T(f).t("platform.screen.ModuleActionManagementView.data-authorization", "数据授权")) + " ", 1), b(T(c), { title: T(f).t("platform.screen.ModuleActionManagementView.when-enabled-reads-and-execution-are-checked-against-the-data", "启用后,读取和执行会继续按数据范围校验。") }, {
592
+ default: E(() => [v("button", {
593
+ type: "button",
594
+ class: "governance-help",
595
+ "aria-label": T(f).t("platform.screen.ModuleActionManagementView.data-permission-description", "数据授权说明")
596
+ }, [b(T(a), { name: "help" })], 8, Oe)]),
597
+ _: 1
598
+ }, 8, ["title"])])]), v("span", ke, [W("dataAuthOverride") ? (S(), h(T(r), {
599
+ key: 0,
600
+ type: "text",
601
+ size: "small",
602
+ disabled: U.value,
603
+ onClick: u[9] ||= (e) => G("dataAuthOverride")
604
+ }, {
605
+ default: E(() => [y(w(T(f).t("platform.screen.WorkflowWorkbenchView.reset", "重置")), 1)]),
606
+ _: 1
607
+ }, 8, ["disabled"])) : g("v-if", !0)])]), v("div", Ae, [b(T(s), {
608
+ checked: (T(L).dataAuthOverride ?? T(L).dataAuth) === !0,
609
+ disabled: U.value,
610
+ "checked-text": T(f).t("platform.screen.ModuleActionManagementView.on", "开"),
611
+ "unchecked-text": T(f).t("platform.screen.ModuleActionManagementView.off", "关"),
612
+ "onUpdate:checked": u[10] ||= (e) => K("dataAuthOverride", e)
613
+ }, null, 8, [
614
+ "checked",
615
+ "disabled",
616
+ "checked-text",
617
+ "unchecked-text"
618
+ ]), v("strong", null, w((T(L).dataAuthOverride ?? T(L).dataAuth) === !0 ? T(f).t("platform.screen.DynamicModuleWorkspaceDetailView.enabled", "已启用") : T(f).t("platform.screen.ModuleActionManagementView.not-enabled", "未启用")), 1)])])
619
+ ])])], 32)) : (S(), _("form", {
620
+ key: 3,
621
+ class: "static-record-form",
622
+ onSubmit: u[22] ||= D((...e) => T(F).save && T(F).save(...e), ["prevent"])
623
+ }, [
624
+ v("p", je, w(T(f).t("platform.screen.ModuleActionManagementView.you-can-save-an-action-before-binding-its-executor-unbound", "可以先保存动作,再绑定执行能力。待绑定动作不可执行,页面引用后需完成绑定才能发布。")), 1),
625
+ v("label", null, [v("span", null, w(T(f).t("platform.screen.ModuleActionManagementView.action-code", "动作编码")), 1), b(T(t), {
626
+ value: T(L).actionCode,
627
+ disabled: U.value,
628
+ "onUpdate:value": u[12] ||= (e) => K("actionCode", e)
629
+ }, null, 8, ["value", "disabled"])]),
630
+ v("label", null, [v("span", null, w(T(f).t("platform.screen.ModuleActionManagementView.action-name", "动作名称")), 1), b(T(t), {
631
+ value: T(L).title,
632
+ disabled: U.value,
633
+ "onUpdate:value": u[13] ||= (e) => K("title", e)
634
+ }, null, 8, ["value", "disabled"])]),
635
+ v("label", null, [v("span", null, w(T(f).t("platform.screen.ModuleActionManagementView.execution-level", "执行层级")), 1), b(T(l), {
636
+ value: T(L).actionLevel,
637
+ disabled: U.value,
638
+ options: Ue.value,
639
+ "onUpdate:value": u[14] ||= (e) => K("actionLevel", e)
640
+ }, null, 8, [
641
+ "value",
642
+ "disabled",
643
+ "options"
644
+ ])]),
645
+ v("label", null, [v("span", null, w(T(f).t("platform.screen.ModuleActionManagementView.access-mode", "访问方式")), 1), b(T(l), {
646
+ value: T(L).accessMode,
647
+ disabled: U.value,
648
+ options: [
649
+ {
650
+ label: T(f).t("platform.screen.ModuleActionManagementView.authorization-required", "需要授权"),
651
+ value: "AUTH_REQUIRED"
652
+ },
653
+ {
654
+ label: T(f).t("platform.screen.ModuleActionManagementView.signed-in-access", "登录可用"),
655
+ value: "LOGIN_REQUIRED"
656
+ },
657
+ {
658
+ label: T(f).t("platform.screen.ModuleActionManagementView.anonymous-access", "匿名可用"),
659
+ value: "ANONYMOUS_ALLOWED"
660
+ }
661
+ ],
662
+ "onUpdate:value": u[15] ||= (e) => K("accessMode", e)
663
+ }, null, 8, [
664
+ "value",
665
+ "disabled",
666
+ "options"
667
+ ])]),
668
+ e.moduleKind === "dynamic" ? (S(), _("label", Me, [v("span", null, w(T(f).t("platform.screen.ModuleActionManagementView.executor-can-be-bound-later", "执行能力(可稍后绑定)")), 1), b(T(l), {
669
+ value: T(L).executorKey,
670
+ "allow-clear": "",
671
+ placeholder: T(f).t("platform.screen.PageCompositionTree.binding-pending", "待绑定"),
672
+ disabled: U.value,
673
+ options: He.value,
674
+ "onUpdate:value": u[16] ||= (e) => et(e)
675
+ }, null, 8, [
676
+ "value",
677
+ "placeholder",
678
+ "disabled",
679
+ "options"
680
+ ])])) : g("v-if", !0),
681
+ e.moduleKind === "dynamic" ? g("v-if", !0) : (S(), _("p", Ne, w(T(f).t("platform.screen.ModuleActionManagementView.static-modules-bind-an-executor-through-a-code-action-declaration", "静态模块通过同编码的代码动作声明绑定执行能力。")), 1)),
682
+ v("label", Pe, [b(T(i), {
683
+ checked: T(L).actionAuth !== !1,
684
+ disabled: U.value,
685
+ "onUpdate:checked": u[17] ||= (e) => K("actionAuth", e)
686
+ }, {
687
+ default: E(() => [y(w(T(f).t("platform.screen.ModuleActionManagementView.enable-action-permissions", "启用动作授权")), 1)]),
688
+ _: 1
689
+ }, 8, ["checked", "disabled"])]),
690
+ v("label", Fe, [b(T(i), {
691
+ checked: T(L).dataAuth === !0,
692
+ disabled: U.value,
693
+ "onUpdate:checked": u[18] ||= (e) => K("dataAuth", e)
694
+ }, {
695
+ default: E(() => [y(w(T(f).t("platform.screen.ModuleActionManagementView.enable-data-permissions", "启用数据授权")), 1)]),
696
+ _: 1
697
+ }, 8, ["checked", "disabled"])]),
698
+ v("label", null, [v("span", null, w(T(f).t("platform.screen.ModuleActionManagementView.default-grant-policy", "默认授予策略")), 1), b(T(l), {
699
+ value: T(L).defaultGrantPolicy,
700
+ disabled: U.value,
701
+ options: [
702
+ {
703
+ label: T(f).t("platform.screen.ModuleActionManagementView.no-default-grant", "不默认授予"),
704
+ value: "NONE"
705
+ },
706
+ {
707
+ label: T(f).t("platform.screen.ModuleActionManagementView.all-signed-in-users", "所有登录用户"),
708
+ value: "ANY_LOGIN_USER"
709
+ },
710
+ {
711
+ label: T(f).t("platform.screen.ModuleActionManagementView.record-owner", "记录所有者"),
712
+ value: "OWNER"
713
+ },
714
+ {
715
+ label: T(f).t("platform.screen.WorkflowWorkbenchView.processors", "办理人"),
716
+ value: "ASSIGNEE"
717
+ },
718
+ {
719
+ label: T(f).t("platform.screen.ModuleActionManagementView.member", "成员"),
720
+ value: "MEMBER"
721
+ }
722
+ ],
723
+ "onUpdate:value": u[19] ||= (e) => K("defaultGrantPolicy", e)
724
+ }, null, 8, [
725
+ "value",
726
+ "disabled",
727
+ "options"
728
+ ])]),
729
+ v("label", Ie, [v("span", null, w(T(f).t("platform.screen.ModuleActionManagementView.availability-expression", "可用条件表达式")), 1), b(T(o), {
730
+ value: T(L).availableExpression,
731
+ disabled: U.value,
732
+ "onUpdate:value": u[20] ||= (e) => K("availableExpression", e)
733
+ }, null, 8, ["value", "disabled"])]),
734
+ v("label", P, [v("span", null, w(T(f).t("platform.screen.ModuleActionManagementView.unavailable-message", "不可用提示")), 1), b(T(o), {
735
+ value: T(L).unavailableMessage,
736
+ disabled: U.value,
737
+ "onUpdate:value": u[21] ||= (e) => K("unavailableMessage", e)
738
+ }, null, 8, ["value", "disabled"])])
739
+ ], 32)), T(I) || T(R) !== "view" ? (S(), h(T(ue), {
740
+ key: 4,
741
+ record: T(L)
742
+ }, null, 8, ["record"])) : g("v-if", !0)]),
743
+ _: 1
744
+ }, 8, [
745
+ "explorer-title",
746
+ "refresh-title",
747
+ "mode",
748
+ "detail-title",
749
+ "explorer-search-keyword",
750
+ "explorer-search-placeholder"
751
+ ]));
752
+ }
753
+ }), I = /* @__PURE__ */ e({ default: () => L }), L = /*#__PURE__*/ f(F, [["__scopeId", "data-v-b89409d5"]]);
754
+ //#endregion
755
+ export { I as n, L as t };