@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,691 +0,0 @@
1
- import { n as e } from "./rolldown-runtime-DPVXH0ON.js";
2
- import { t } from "./platform-workbench-C-kE-Yqq.js";
3
- import { D as n, Dn as r, En as i, Pn as ee, S as te, Sn as a, Tn as o, Vt as ne, Wn as re, X as s, Xt as ie, _n as c, bn as l, bt as ae, cn as u, i as oe, kt as se, l as ce, mn as d, rn as le, v as ue, xn as f, zt as de } from "./platform-components-Hs3DrTqE.js";
4
- import { computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createTextVNode as v, createVNode as y, defineComponent as b, onMounted as fe, openBlock as x, ref as S, toDisplayString as C, unref as w, withCtx as T, withModifiers as E } from "vue";
5
- //#region src/platform-components/staticTreeResourceModuleContext.ts
6
- function pe(e, t = {}) {
7
- let n = t.client ?? D(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 D(e = "static.empty") {
23
- return {
24
- querySchema: async () => O(e),
25
- query: async () => k(),
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 () => A(),
33
- treeFlat: async () => j(),
34
- subtree: async () => A(),
35
- sort: async () => 0
36
- };
37
- }
38
- function O(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 k() {
52
- return {
53
- records: [],
54
- total: 0,
55
- pageNum: 1,
56
- pageSize: 20,
57
- pages: 0,
58
- totalKnown: !0
59
- };
60
- }
61
- function A() {
62
- return { records: [] };
63
- }
64
- function j() {
65
- return { records: [] };
66
- }
67
- //#endregion
68
- //#region src/views/ModuleActionManagementView.vue?vue&type=script&setup=true&lang.ts
69
- var me = { class: "action-declaration-section" }, he = { class: "permission-governance-section" }, ge = { class: "governance-grid" }, _e = { class: "governance-item" }, ve = {
70
- type: "button",
71
- class: "governance-help",
72
- "aria-label": "访问方式说明"
73
- }, ye = { class: "governance-reset-slot" }, M = { class: "governance-item" }, N = {
74
- type: "button",
75
- class: "governance-help",
76
- "aria-label": "默认授予策略说明"
77
- }, P = { class: "governance-reset-slot" }, be = { class: "governance-item" }, xe = {
78
- type: "button",
79
- class: "governance-help",
80
- "aria-label": "动作授权说明"
81
- }, Se = { class: "governance-reset-slot" }, Ce = { class: "governance-switch-control" }, we = { class: "governance-item" }, Te = {
82
- type: "button",
83
- class: "governance-help",
84
- "aria-label": "数据授权说明"
85
- }, Ee = { class: "governance-reset-slot" }, De = { class: "governance-switch-control" }, Oe = { key: 0 }, ke = {
86
- key: 1,
87
- class: "form-hint wide-field"
88
- }, Ae = { class: "checkbox-field" }, je = { class: "checkbox-field" }, Me = { class: "wide-field" }, Ne = { class: "wide-field" }, F = /*@__PURE__*/ b({
89
- name: "ModuleActionManagementView",
90
- __name: "ModuleActionManagementView",
91
- props: {
92
- moduleAlias: {},
93
- moduleTitle: {},
94
- moduleKind: {},
95
- title: {}
96
- },
97
- setup(e) {
98
- let r = e, b = ee({ moduleAlias: "platform.module_action" }), D = pe(b, { client: re(b.http, `/platform.module/${encodeURIComponent(r.moduleAlias)}/actions`) }), O = S(""), k = S(!1), A = S([]), j = oe({
99
- context: D,
100
- confirmAction: ie,
101
- emptyDraft: () => q(r.moduleAlias),
102
- normalizeDraft: (e) => J(e, r.moduleAlias),
103
- copyRecord: (e) => ({ ...e }),
104
- titleOf: Q,
105
- fallbackTitle: "模块动作",
106
- createTitle: "新建动作",
107
- requiredMessage: "动作编码不能为空",
108
- isValid: (e) => !!e.actionCode?.trim(),
109
- recordName: "动作",
110
- deleteTitle: "删除动作",
111
- saveDeniedMessage: "当前用户无权保存模块动作",
112
- createDeniedMessage: "当前用户无权新建模块动作",
113
- enableDeniedMessage: "当前用户无权变更模块动作启停状态",
114
- deleteDeniedMessage: () => "当前用户无权删除模块动作",
115
- canDeleteRecord: (e) => e.systemManaged !== !0,
116
- canEnableRecord: (e) => e.systemManaged !== !0
117
- }), { selected: F, draft: I, mode: L, reloadKey: R, saving: z, cardTitle: Pe, canCreate: B, canEnable: Fe } = j, Ie = p(() => {
118
- if (L.value === "view") return !1;
119
- let e = F.value ? J(F.value, r.moduleAlias) : q(r.moduleAlias);
120
- return JSON.stringify(I.value) !== JSON.stringify(e);
121
- });
122
- t("模块动作", () => Ie.value);
123
- let V = p(() => D.can("sort") === !0), H = p(() => L.value !== "view" || z.value || !!O.value.trim()), Le = p(() => B.value), Re = p(() => A.value.map((e) => ({
124
- value: e.executorKey,
125
- label: e.description ? `${e.title} · ${e.description}` : e.title
126
- }))), ze = p(() => (A.value.find((e) => e.executorKey === I.value.executorKey)?.supportedLevels ?? [
127
- "LIST",
128
- "RECORD",
129
- "BATCH",
130
- "ANY"
131
- ]).map((e) => ({
132
- value: e,
133
- label: {
134
- LIST: "列表",
135
- RECORD: "单条记录",
136
- BATCH: "批量",
137
- ANY: "任意"
138
- }[e]
139
- }))), Be = p(() => [
140
- "actionCode",
141
- "title",
142
- "category",
143
- "actionLevel",
144
- "accessMode",
145
- "executorType",
146
- ...Z(I.value.executorKey) ? ["executorKey"] : [],
147
- "actionAuth",
148
- "dataAuth",
149
- "defaultGrantPolicy",
150
- ...Z(I.value.availableExpression) ? ["availableExpression"] : [],
151
- ...Z(I.value.unavailableMessage) ? ["unavailableMessage"] : [],
152
- ...I.value.sourceType ? ["sourceType"] : [],
153
- ...Z(I.value.bindingAlias) ? ["bindingAlias"] : []
154
- ]), Ve = p(() => [
155
- "actionCode",
156
- "title",
157
- "category",
158
- "actionLevel",
159
- "executorType",
160
- ...Z(I.value.executorKey) ? ["executorKey"] : [],
161
- ...I.value.sourceType ? ["sourceType"] : []
162
- ]);
163
- fe(() => void Je());
164
- let He = p(() => j.readonly.value), U = p(() => He.value || j.saving.value), Ue = p(() => {
165
- if (j.mode.value !== "view") return [
166
- ...j.mode.value === "edit" && j.selected.value?.systemManaged === !0 && Ke(I.value) ? [{
167
- key: "reset-permission-governance",
168
- actionCode: "update",
169
- title: "全部重置",
170
- disabled: j.saving.value
171
- }] : [],
172
- {
173
- key: "cancel",
174
- title: "取消",
175
- disabled: j.saving.value
176
- },
177
- {
178
- key: "save",
179
- actionCode: j.mode.value === "create" ? "create" : "update",
180
- title: j.saving.value ? "保存中" : "保存",
181
- primary: !0,
182
- loading: j.saving.value
183
- }
184
- ];
185
- let e = j.selected.value;
186
- return [{
187
- key: "edit",
188
- actionCode: "update",
189
- title: "编辑",
190
- disabled: !e || !j.canUpdate.value
191
- }, {
192
- key: "delete",
193
- actionCode: "delete",
194
- title: "删除",
195
- danger: !0,
196
- loading: j.saving.value,
197
- disabled: !e || e.systemManaged === !0 || !j.canDelete.value
198
- }];
199
- });
200
- function We(e) {
201
- let t = e;
202
- return {
203
- title: Q(t),
204
- secondary: t.actionCode,
205
- tag: t.systemManaged === !0 ? "平台托管" : t.executorKey ? "已绑定" : "待绑定",
206
- muted: t.enabled === !1
207
- };
208
- }
209
- function Ge(e) {
210
- e.key === "edit" && j.startEdit(), e.key === "delete" && j.removeSelected(), e.key === "reset-permission-governance" && qe(), e.key === "cancel" && j.cancelEdit(), e.key === "save" && j.save();
211
- }
212
- function Ke(e) {
213
- return [
214
- e.accessModeOverride,
215
- e.actionAuthOverride,
216
- e.dataAuthOverride,
217
- e.defaultGrantPolicyOverride
218
- ].some((e) => e != null);
219
- }
220
- function W(e) {
221
- return I.value[e] != null;
222
- }
223
- function G(e) {
224
- K(e, void 0);
225
- }
226
- function qe() {
227
- j.draft.value = {
228
- ...j.draft.value,
229
- accessModeOverride: void 0,
230
- actionAuthOverride: void 0,
231
- dataAuthOverride: void 0,
232
- defaultGrantPolicyOverride: void 0
233
- };
234
- }
235
- function K(e, t) {
236
- j.draft.value = {
237
- ...j.draft.value,
238
- [e]: t ?? void 0
239
- };
240
- }
241
- async function Je() {
242
- try {
243
- A.value = await b.http.request({ path: "/platform.module/action-executors" });
244
- } catch (e) {
245
- A.value = [], ne(e, {
246
- source: "module-action-management",
247
- phase: "load"
248
- });
249
- }
250
- }
251
- function Ye() {
252
- j.startCreate();
253
- }
254
- function Xe(e) {
255
- let t = typeof e == "string" ? e : void 0, n = A.value.find((e) => e.executorKey === t);
256
- K("executorKey", t), n?.supportedLevels.length && K("actionLevel", n.supportedLevels[0]);
257
- }
258
- function q(e) {
259
- return {
260
- moduleAlias: e,
261
- actionCode: "",
262
- title: "",
263
- category: "CUSTOM",
264
- actionLevel: "ANY",
265
- accessMode: "AUTH_REQUIRED",
266
- actionAuth: !0,
267
- dataAuth: !1,
268
- defaultGrantPolicy: "NONE",
269
- executorType: "SERVICE",
270
- enabled: !0,
271
- systemManaged: !1
272
- };
273
- }
274
- function J(e, t) {
275
- return {
276
- ...e,
277
- moduleAlias: t,
278
- actionCode: Y(e.actionCode),
279
- title: X(e.title) ?? Y(e.actionCode),
280
- entityAlias: X(e.entityAlias),
281
- permissionActionCode: X(e.permissionActionCode),
282
- availableExpression: X(e.availableExpression),
283
- unavailableMessage: X(e.unavailableMessage),
284
- executorKey: X(e.executorKey)
285
- };
286
- }
287
- function Y(e) {
288
- return e?.trim() ?? "";
289
- }
290
- function X(e) {
291
- return e?.trim() || void 0;
292
- }
293
- function Z(e) {
294
- return !!e?.trim();
295
- }
296
- function Q(e) {
297
- return e.title?.trim() || e.actionCode?.trim() || e.id || "未命名动作";
298
- }
299
- function $(e, t) {
300
- return e === "actionAuth" || e === "dataAuth" ? t === !0 ? "启用" : "未启用" : typeof t == "string" ? {
301
- category: {
302
- STANDARD: "标准动作",
303
- CUSTOM: "自定义动作",
304
- DIALOG: "弹窗动作",
305
- WORKFLOW: "工作流动作",
306
- GENERATE: "生成动作"
307
- },
308
- actionLevel: {
309
- LIST: "列表",
310
- RECORD: "单条记录",
311
- BATCH: "批量",
312
- ANY: "任意"
313
- },
314
- accessMode: {
315
- AUTH_REQUIRED: "需要授权",
316
- LOGIN_REQUIRED: "登录可用",
317
- ANONYMOUS_ALLOWED: "匿名可用"
318
- },
319
- executorType: {
320
- STANDARD: "平台标准",
321
- SERVICE: "服务(二开)",
322
- DIALOG: "弹窗协议",
323
- WORKFLOW: "工作流",
324
- GENERATE: "生成器"
325
- },
326
- defaultGrantPolicy: {
327
- NONE: "不默认授予",
328
- ANY_LOGIN_USER: "所有登录用户",
329
- OWNER: "记录所有者",
330
- ASSIGNEE: "办理人",
331
- MEMBER: "成员"
332
- },
333
- sourceType: {
334
- STATIC_MODULE: "静态模块声明",
335
- CODE_EXTENSION: "代码扩展",
336
- DYNAMIC_MODULE: "动态模块配置",
337
- WORKFLOW_DEFINITION: "工作流定义",
338
- WORKFLOW_RUNTIME: "工作流运行时",
339
- RECORD_GENERATION_RULE: "生单规则",
340
- DOCUMENT_RELATION: "单据关系",
341
- PRINT_TEMPLATE: "打印模板"
342
- }
343
- }[e]?.[t] : void 0;
344
- }
345
- return (t, r) => (x(), m(w(ce), {
346
- "explorer-title": "模块动作",
347
- "refresh-title": "刷新动作",
348
- mode: w(L),
349
- "detail-title": w(Pe),
350
- "explorer-search-keyword": O.value,
351
- "explorer-search-placeholder": "搜索动作名称或编码",
352
- "onUpdate:explorerSearchKeyword": r[23] ||= (e) => O.value = e,
353
- onRefresh: r[24] ||= (e) => R.value += 1
354
- }, {
355
- "explorer-actions": T(() => [V.value ? (x(), m(w(n), {
356
- key: 0,
357
- "icon-name": "swap-vertical",
358
- "icon-only": "",
359
- size: "small",
360
- type: "text",
361
- selected: k.value,
362
- disabled: H.value,
363
- title: O.value.trim() ? "清空搜索后可调整排序" : w(L) === "view" ? k.value ? "结束排序" : "调整排序" : "结束编辑后可调整排序",
364
- "aria-label": k.value ? "结束排序" : "调整排序",
365
- onClick: r[0] ||= (e) => k.value = !k.value
366
- }, null, 8, [
367
- "selected",
368
- "disabled",
369
- "title",
370
- "aria-label"
371
- ])) : h("v-if", !0), y(w(se), {
372
- class: "record-panel-create-button",
373
- context: w(D),
374
- "action-code": "create",
375
- title: "新建动作",
376
- "icon-only": "",
377
- disabled: !Le.value || w(z),
378
- onClick: Ye
379
- }, null, 8, ["context", "disabled"])]),
380
- explorer: T(() => [y(w(de), {
381
- context: w(D),
382
- "selected-id": w(F)?.id,
383
- "reload-key": w(R),
384
- keyword: O.value,
385
- sorting: k.value && V.value && !H.value,
386
- "empty-description": "当前模块暂无动作",
387
- "loading-tip": "加载模块动作",
388
- "fallback-title": "未命名动作",
389
- "item-of": We,
390
- onLoaded: r[1] ||= (e) => w(j).handleListLoaded(e),
391
- onSelect: r[2] ||= (e) => w(j).handleSelect(e)
392
- }, null, 8, [
393
- "context",
394
- "selected-id",
395
- "reload-key",
396
- "keyword",
397
- "sorting"
398
- ])]),
399
- "detail-status": T(() => [w(L) === "view" && w(F) ? (x(), m(w(te), {
400
- key: 0,
401
- enabled: w(F).enabled,
402
- disabled: w(z) || w(F).systemManaged === !0 || !w(Fe),
403
- loading: w(z),
404
- "show-label": !1,
405
- onChange: w(j).toggleEnabled
406
- }, null, 8, [
407
- "enabled",
408
- "disabled",
409
- "loading",
410
- "onChange"
411
- ])) : h("v-if", !0)]),
412
- "detail-actions": T(() => [y(w(ae), {
413
- context: w(D),
414
- actions: Ue.value,
415
- onAction: Ge
416
- }, null, 8, ["context", "actions"])]),
417
- default: T(() => [!w(F) && w(L) === "view" ? (x(), m(w(le), {
418
- key: 0,
419
- description: e.moduleKind === "static" ? "静态模块动作由 Java 声明自动注册" : "当前模块暂无动作"
420
- }, null, 8, ["description"])) : w(L) === "view" && w(F) ? (x(), m(w(s), {
421
- key: 1,
422
- record: w(I),
423
- "display-of": $,
424
- "field-names": Be.value,
425
- fallback: {
426
- actionCode: { label: "动作编码" },
427
- title: { label: "动作名称" },
428
- category: { label: "动作类别" },
429
- actionLevel: { label: "执行层级" },
430
- accessMode: { label: "访问方式" },
431
- executorType: { label: "执行方式" },
432
- executorKey: { label: "执行实现" },
433
- actionAuth: { label: "动作授权" },
434
- dataAuth: { label: "数据授权" },
435
- defaultGrantPolicy: { label: "默认授予策略" },
436
- availableExpression: { label: "可用条件" },
437
- unavailableMessage: { label: "不可用提示" },
438
- sourceType: { label: "注册来源" },
439
- bindingAlias: { label: "绑定标识" }
440
- }
441
- }, null, 8, ["record", "field-names"])) : w(L) !== "create" && w(F)?.systemManaged ? (x(), g("form", {
442
- key: 2,
443
- class: "managed-action-editor",
444
- onSubmit: r[11] ||= E((...e) => w(j).save && w(j).save(...e), ["prevent"])
445
- }, [_("section", me, [r[25] ||= _("h3", null, "动作声明", -1), y(w(s), {
446
- record: w(I),
447
- "display-of": $,
448
- "field-names": Ve.value,
449
- fallback: {
450
- actionCode: { label: "动作编码" },
451
- title: { label: "动作名称" },
452
- category: { label: "动作类别" },
453
- actionLevel: { label: "执行层级" },
454
- executorType: { label: "执行方式" },
455
- executorKey: { label: "执行实现" },
456
- sourceType: { label: "注册来源" }
457
- }
458
- }, null, 8, ["record", "field-names"])]), _("section", he, [r[34] ||= _("h3", null, "权限治理", -1), _("div", ge, [
459
- _("section", _e, [_("header", null, [_("div", null, [_("h4", null, [r[26] ||= v(" 访问方式 ", -1), y(w(d), { title: "决定调用动作前需要满足的身份条件。" }, {
460
- default: T(() => [_("button", ve, [y(w(i), { name: "help" })])]),
461
- _: 1
462
- })])]), _("span", ye, [W("accessModeOverride") ? (x(), m(w(o), {
463
- key: 0,
464
- type: "text",
465
- size: "small",
466
- disabled: U.value,
467
- onClick: r[3] ||= (e) => G("accessModeOverride")
468
- }, {
469
- default: T(() => [...r[27] ||= [v("重置", -1)]]),
470
- _: 1
471
- }, 8, ["disabled"])) : h("v-if", !0)])]), y(w(f), {
472
- value: w(I).accessModeOverride ?? w(I).accessMode,
473
- disabled: U.value,
474
- options: [
475
- {
476
- label: "需要授权",
477
- value: "AUTH_REQUIRED"
478
- },
479
- {
480
- label: "登录可用",
481
- value: "LOGIN_REQUIRED"
482
- },
483
- {
484
- label: "匿名可用",
485
- value: "ANONYMOUS_ALLOWED"
486
- }
487
- ],
488
- "onUpdate:value": r[4] ||= (e) => K("accessModeOverride", e)
489
- }, null, 8, ["value", "disabled"])]),
490
- _("section", M, [_("header", null, [_("div", null, [_("h4", null, [r[28] ||= v(" 默认授予策略 ", -1), y(w(d), { title: "定义满足条件的用户首次获得动作时的默认规则。" }, {
491
- default: T(() => [_("button", N, [y(w(i), { name: "help" })])]),
492
- _: 1
493
- })])]), _("span", P, [W("defaultGrantPolicyOverride") ? (x(), m(w(o), {
494
- key: 0,
495
- type: "text",
496
- size: "small",
497
- disabled: U.value,
498
- onClick: r[5] ||= (e) => G("defaultGrantPolicyOverride")
499
- }, {
500
- default: T(() => [...r[29] ||= [v("重置", -1)]]),
501
- _: 1
502
- }, 8, ["disabled"])) : h("v-if", !0)])]), y(w(f), {
503
- value: w(I).defaultGrantPolicyOverride ?? w(I).defaultGrantPolicy,
504
- disabled: U.value,
505
- options: [
506
- {
507
- label: "不默认授予",
508
- value: "NONE"
509
- },
510
- {
511
- label: "所有登录用户",
512
- value: "ANY_LOGIN_USER"
513
- },
514
- {
515
- label: "记录所有者",
516
- value: "OWNER"
517
- },
518
- {
519
- label: "办理人",
520
- value: "ASSIGNEE"
521
- },
522
- {
523
- label: "成员",
524
- value: "MEMBER"
525
- }
526
- ],
527
- "onUpdate:value": r[6] ||= (e) => K("defaultGrantPolicyOverride", e)
528
- }, null, 8, ["value", "disabled"])]),
529
- _("section", be, [_("header", null, [_("div", null, [_("h4", null, [r[30] ||= v(" 动作授权 ", -1), y(w(d), { title: "控制角色是否需要被显式授予该动作。" }, {
530
- default: T(() => [_("button", xe, [y(w(i), { name: "help" })])]),
531
- _: 1
532
- })])]), _("span", Se, [W("actionAuthOverride") ? (x(), m(w(o), {
533
- key: 0,
534
- type: "text",
535
- size: "small",
536
- disabled: U.value,
537
- onClick: r[7] ||= (e) => G("actionAuthOverride")
538
- }, {
539
- default: T(() => [...r[31] ||= [v("重置", -1)]]),
540
- _: 1
541
- }, 8, ["disabled"])) : h("v-if", !0)])]), _("div", Ce, [y(w(u), {
542
- checked: (w(I).actionAuthOverride ?? w(I).actionAuth) !== !1,
543
- disabled: U.value,
544
- "checked-text": "开",
545
- "unchecked-text": "关",
546
- "onUpdate:checked": r[8] ||= (e) => K("actionAuthOverride", e)
547
- }, null, 8, ["checked", "disabled"]), _("strong", null, C((w(I).actionAuthOverride ?? w(I).actionAuth) === !1 ? "未启用" : "已启用"), 1)])]),
548
- _("section", we, [_("header", null, [_("div", null, [_("h4", null, [r[32] ||= v(" 数据授权 ", -1), y(w(d), { title: "启用后,读取和执行会继续按数据范围校验。" }, {
549
- default: T(() => [_("button", Te, [y(w(i), { name: "help" })])]),
550
- _: 1
551
- })])]), _("span", Ee, [W("dataAuthOverride") ? (x(), m(w(o), {
552
- key: 0,
553
- type: "text",
554
- size: "small",
555
- disabled: U.value,
556
- onClick: r[9] ||= (e) => G("dataAuthOverride")
557
- }, {
558
- default: T(() => [...r[33] ||= [v("重置", -1)]]),
559
- _: 1
560
- }, 8, ["disabled"])) : h("v-if", !0)])]), _("div", De, [y(w(u), {
561
- checked: (w(I).dataAuthOverride ?? w(I).dataAuth) === !0,
562
- disabled: U.value,
563
- "checked-text": "开",
564
- "unchecked-text": "关",
565
- "onUpdate:checked": r[10] ||= (e) => K("dataAuthOverride", e)
566
- }, null, 8, ["checked", "disabled"]), _("strong", null, C((w(I).dataAuthOverride ?? w(I).dataAuth) === !0 ? "已启用" : "未启用"), 1)])])
567
- ])])], 32)) : (x(), g("form", {
568
- key: 3,
569
- class: "static-record-form",
570
- onSubmit: r[22] ||= E((...e) => w(j).save && w(j).save(...e), ["prevent"])
571
- }, [
572
- r[45] ||= _("p", { class: "form-hint wide-field" }, " 可以先保存动作,再绑定执行能力。待绑定动作不可执行,页面引用后需完成绑定才能发布。 ", -1),
573
- _("label", null, [r[35] ||= _("span", null, "动作编码", -1), y(w(l), {
574
- value: w(I).actionCode,
575
- disabled: U.value,
576
- "onUpdate:value": r[12] ||= (e) => K("actionCode", e)
577
- }, null, 8, ["value", "disabled"])]),
578
- _("label", null, [r[36] ||= _("span", null, "动作名称", -1), y(w(l), {
579
- value: w(I).title,
580
- disabled: U.value,
581
- "onUpdate:value": r[13] ||= (e) => K("title", e)
582
- }, null, 8, ["value", "disabled"])]),
583
- _("label", null, [r[37] ||= _("span", null, "执行层级", -1), y(w(f), {
584
- value: w(I).actionLevel,
585
- disabled: U.value,
586
- options: ze.value,
587
- "onUpdate:value": r[14] ||= (e) => K("actionLevel", e)
588
- }, null, 8, [
589
- "value",
590
- "disabled",
591
- "options"
592
- ])]),
593
- _("label", null, [r[38] ||= _("span", null, "访问方式", -1), y(w(f), {
594
- value: w(I).accessMode,
595
- disabled: U.value,
596
- options: [
597
- {
598
- label: "需要授权",
599
- value: "AUTH_REQUIRED"
600
- },
601
- {
602
- label: "登录可用",
603
- value: "LOGIN_REQUIRED"
604
- },
605
- {
606
- label: "匿名可用",
607
- value: "ANONYMOUS_ALLOWED"
608
- }
609
- ],
610
- "onUpdate:value": r[15] ||= (e) => K("accessMode", e)
611
- }, null, 8, ["value", "disabled"])]),
612
- e.moduleKind === "dynamic" ? (x(), g("label", Oe, [r[39] ||= _("span", null, "执行能力(可稍后绑定)", -1), y(w(f), {
613
- value: w(I).executorKey,
614
- "allow-clear": "",
615
- placeholder: "待绑定",
616
- disabled: U.value,
617
- options: Re.value,
618
- "onUpdate:value": r[16] ||= (e) => Xe(e)
619
- }, null, 8, [
620
- "value",
621
- "disabled",
622
- "options"
623
- ])])) : h("v-if", !0),
624
- e.moduleKind === "dynamic" ? h("v-if", !0) : (x(), g("p", ke, " 静态模块通过同编码的代码动作声明绑定执行能力。 ")),
625
- _("label", Ae, [y(w(a), {
626
- checked: w(I).actionAuth !== !1,
627
- disabled: U.value,
628
- "onUpdate:checked": r[17] ||= (e) => K("actionAuth", e)
629
- }, {
630
- default: T(() => [...r[40] ||= [v("启用动作授权", -1)]]),
631
- _: 1
632
- }, 8, ["checked", "disabled"])]),
633
- _("label", je, [y(w(a), {
634
- checked: w(I).dataAuth === !0,
635
- disabled: U.value,
636
- "onUpdate:checked": r[18] ||= (e) => K("dataAuth", e)
637
- }, {
638
- default: T(() => [...r[41] ||= [v("启用数据授权", -1)]]),
639
- _: 1
640
- }, 8, ["checked", "disabled"])]),
641
- _("label", null, [r[42] ||= _("span", null, "默认授予策略", -1), y(w(f), {
642
- value: w(I).defaultGrantPolicy,
643
- disabled: U.value,
644
- options: [
645
- {
646
- label: "不默认授予",
647
- value: "NONE"
648
- },
649
- {
650
- label: "所有登录用户",
651
- value: "ANY_LOGIN_USER"
652
- },
653
- {
654
- label: "记录所有者",
655
- value: "OWNER"
656
- },
657
- {
658
- label: "办理人",
659
- value: "ASSIGNEE"
660
- },
661
- {
662
- label: "成员",
663
- value: "MEMBER"
664
- }
665
- ],
666
- "onUpdate:value": r[19] ||= (e) => K("defaultGrantPolicy", e)
667
- }, null, 8, ["value", "disabled"])]),
668
- _("label", Me, [r[43] ||= _("span", null, "可用条件表达式", -1), y(w(c), {
669
- value: w(I).availableExpression,
670
- disabled: U.value,
671
- "onUpdate:value": r[20] ||= (e) => K("availableExpression", e)
672
- }, null, 8, ["value", "disabled"])]),
673
- _("label", Ne, [r[44] ||= _("span", null, "不可用提示", -1), y(w(c), {
674
- value: w(I).unavailableMessage,
675
- disabled: U.value,
676
- "onUpdate:value": r[21] ||= (e) => K("unavailableMessage", e)
677
- }, null, 8, ["value", "disabled"])])
678
- ], 32)), w(F) || w(L) !== "view" ? (x(), m(w(ue), {
679
- key: 4,
680
- record: w(I)
681
- }, null, 8, ["record"])) : h("v-if", !0)]),
682
- _: 1
683
- }, 8, [
684
- "mode",
685
- "detail-title",
686
- "explorer-search-keyword"
687
- ]));
688
- }
689
- }), I = /* @__PURE__ */ e({ default: () => L }), L = /*#__PURE__*/ r(F, [["__scopeId", "data-v-c2404f92"]]);
690
- //#endregion
691
- export { I as n, L as t };