@ximatai/muyun-web-app 0.26.11 → 0.26.13

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 (221) hide show
  1. package/dist/BusinessActivityLogView-UC4rH4Fn.js +16 -0
  2. package/dist/BusinessLogListDrawer-BtaXVJKz.js +564 -0
  3. package/dist/LoginAuditLogView-Cjrp8MKX.js +16 -0
  4. package/dist/ModuleActionManagementView-Dkb35QXc.js +673 -0
  5. package/dist/ModuleGovernanceView-Dx43QvGf.js +28651 -0
  6. package/dist/RequestErrorLogView-WnGvMWiF.js +16 -0
  7. package/dist/RoleDetailWorkspaceView-DPDb_QOn.js +1397 -0
  8. package/dist/RuntimeLogView-BRl4ZDkU.js +330 -0
  9. package/dist/http-B0TC0pJB.js +157 -0
  10. package/dist/index.css +1 -1
  11. package/dist/index.js +1938 -325
  12. package/dist/moduleGovernanceWorkspaceView-4V_UW-Bt.js +40 -0
  13. package/dist/platform-components-1cvOeHmo.js +17854 -0
  14. package/dist/platform-workbench-Cu14Xd9d.js +10299 -0
  15. package/dist/rolldown-runtime-DPVXH0ON.js +17 -0
  16. package/dist/types/app/CurrentUserProfileDialog.vue.d.ts +0 -2
  17. package/dist/types/app/LoginView.vue.d.ts +1 -1
  18. package/dist/types/app/workbenchRouteSync.d.ts +10 -1
  19. package/dist/types/app/workbenchSessionTabs.d.ts +22 -0
  20. package/dist/types/app/workbenchStartup.d.ts +7 -0
  21. package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +4 -1
  22. package/dist/types/consumer/index.d.ts +8 -0
  23. package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +2208 -0
  24. package/dist/types/dynamic-page-runtime/ModulePageBusinessState.vue.d.ts +11 -0
  25. package/dist/types/dynamic-page-runtime/ModulePageDetailRelations.vue.d.ts +1 -1
  26. package/dist/types/dynamic-page-runtime/ModulePageHost.vue.d.ts +32 -5
  27. package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +4431 -0
  28. package/dist/types/dynamic-page-runtime/ModulePageHostSession.vue.d.ts +43 -0
  29. package/dist/types/dynamic-page-runtime/ModulePageRecordContent.vue.d.ts +2 -2
  30. package/dist/types/dynamic-page-runtime/ModuleRecordDetailActions.vue.d.ts +20 -0
  31. package/dist/types/dynamic-page-runtime/ModuleReferenceRecordDetailBrowser.vue.d.ts +42 -0
  32. package/dist/types/dynamic-page-runtime/NavigatorPanelActions.vue.d.ts +22 -0
  33. package/dist/types/dynamic-page-runtime/PageNavigatorExplorer.vue.d.ts +11 -11
  34. package/dist/types/dynamic-page-runtime/RecordFormSurface.vue.d.ts +2 -2
  35. package/dist/types/dynamic-page-runtime/TenantScopeExplorer.vue.d.ts +21 -0
  36. package/dist/types/dynamic-page-runtime/childAggregateContext.d.ts +11 -0
  37. package/dist/types/dynamic-page-runtime/composables/useModulePageActions.d.ts +1 -1
  38. package/dist/types/dynamic-page-runtime/composables/useModulePageDetailActionRuntime.d.ts +5 -0
  39. package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +81 -26
  40. package/dist/types/dynamic-page-runtime/composables/useRecordEditingSession.d.ts +1 -1
  41. package/dist/types/dynamic-page-runtime/formActionResult.d.ts +7 -0
  42. package/dist/types/dynamic-page-runtime/formComputeCoordinator.d.ts +7 -4
  43. package/dist/types/dynamic-page-runtime/formValidationCoordinator.d.ts +17 -0
  44. package/dist/types/dynamic-page-runtime/index.d.ts +3 -1
  45. package/dist/types/dynamic-page-runtime/inputValidationActionStatus.d.ts +20 -0
  46. package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +13 -3
  47. package/dist/types/dynamic-page-runtime/modulePageUnsavedState.d.ts +10 -0
  48. package/dist/types/dynamic-page-runtime/pageActionInvocation.d.ts +7 -0
  49. package/dist/types/dynamic-page-runtime/pageActionPlacement.d.ts +14 -0
  50. package/dist/types/dynamic-page-runtime/recordDetailController.d.ts +1 -0
  51. package/dist/types/dynamic-page-runtime/recordMutationPayload.d.ts +4 -0
  52. package/dist/types/dynamic-page-runtime/referenceRecordProjection.d.ts +6 -0
  53. package/dist/types/dynamic-page-runtime/sessionViewBindings.d.ts +3 -0
  54. package/dist/types/dynamic-page-runtime/sourceReferencePickerConfig.d.ts +26 -0
  55. package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +1728 -0
  56. package/dist/types/dynamic-page-runtime/useTenantScopeController.d.ts +18 -0
  57. package/dist/types/formula/FormulaRuntime.d.ts +6 -0
  58. package/dist/types/platform-admin-runtime/WorkspaceViewDrawer.vue.d.ts +5 -0
  59. package/dist/types/platform-admin-runtime/module-menu/ModuleMenuDrawer.vue.d.ts +7 -0
  60. package/dist/types/platform-admin-runtime/module-menu/ModuleMenuEntriesSection.vue.d.ts +7 -0
  61. package/dist/types/platform-admin-runtime/module-menu/moduleMenuClient.d.ts +16 -0
  62. package/dist/types/platform-admin-runtime/platformModulePageEnhancement.d.ts +2 -0
  63. package/dist/types/platform-admin-runtime/role/roleScopeSelectionClient.d.ts +52 -0
  64. package/dist/types/platform-components/AdaptiveHeaderActionBar.vue.d.ts +24 -0
  65. package/dist/types/platform-components/BusinessNotificationPanel.vue.d.ts +15 -1
  66. package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +11 -3
  67. package/dist/types/platform-components/DetailRelationListPanel.vue.d.ts +1 -1
  68. package/dist/types/platform-components/DictionaryOptionDialog.vue.d.ts +37 -0
  69. package/dist/types/platform-components/DictionaryOptionDialogChoiceList.vue.d.ts +21 -0
  70. package/dist/types/platform-components/DictionaryPicker.vue.d.ts +47 -0
  71. package/dist/types/platform-components/DictionaryRadioGroup.vue.d.ts +20 -0
  72. package/dist/types/platform-components/EmployeePicker.vue.d.ts +40 -0
  73. package/dist/types/platform-components/FileTransferUploader.vue.d.ts +1 -1
  74. package/dist/types/platform-components/FormulaExpressionEditor.vue.d.ts +54 -0
  75. package/dist/types/platform-components/ManagementExplorerColumn.vue.d.ts +15 -3
  76. package/dist/types/platform-components/ManagementPanelHeader.vue.d.ts +5 -3
  77. package/dist/types/platform-components/ManagementWorkspace.vue.d.ts +11 -0
  78. package/dist/types/platform-components/ModuleActionButton.vue.d.ts +3 -3
  79. package/dist/types/platform-components/ObjectPickerInput.vue.d.ts +34 -0
  80. package/dist/types/platform-components/QueryCriteriaComposer.vue.d.ts +29 -0
  81. package/dist/types/platform-components/QueryCriteriaGroupEditor.vue.d.ts +36 -0
  82. package/dist/types/platform-components/QueryGroupedSummary.vue.d.ts +21 -0
  83. package/dist/types/platform-components/QueryValueEditor.vue.d.ts +33 -0
  84. package/dist/types/platform-components/ReadonlyReferenceValue.vue.d.ts +11 -0
  85. package/dist/types/platform-components/RecordContentSectionHeading.vue.d.ts +4 -2
  86. package/dist/types/platform-components/RecordDetailDrawer.vue.d.ts +8 -3
  87. package/dist/types/platform-components/RecordDetailExtensionSection.vue.d.ts +9 -3
  88. package/dist/types/platform-components/RecordDetailFields.vue.d.ts +41 -4
  89. package/dist/types/platform-components/RecordDetailLayout.vue.d.ts +4 -1
  90. package/dist/types/platform-components/RecordDetailPanel.vue.d.ts +2 -0
  91. package/dist/types/platform-components/RecordExplorerCreateButton.vue.d.ts +16 -0
  92. package/dist/types/platform-components/RecordExplorerPanel.vue.d.ts +16 -5
  93. package/dist/types/platform-components/RecordFieldLabel.vue.d.ts +16 -0
  94. package/dist/types/platform-components/RecordFormFields.vue.d.ts +24 -5
  95. package/dist/types/platform-components/RecordFormGrid.vue.d.ts +24 -0
  96. package/dist/types/platform-components/RecordListExplorer.vue.d.ts +23 -1
  97. package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +11 -3
  98. package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +3 -3
  99. package/dist/types/platform-components/RecordPanelButton.vue.d.ts +9 -3
  100. package/dist/types/platform-components/RecordPermissionDialog.vue.d.ts +15 -0
  101. package/dist/types/platform-components/RecordPicker.vue.d.ts +3 -3
  102. package/dist/types/platform-components/RecordQueryEnumFilter.vue.d.ts +17 -0
  103. package/dist/types/platform-components/RecordQueryListCell.vue.d.ts +12 -0
  104. package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +120 -63
  105. package/dist/types/platform-components/RecordQueryListSurface.vue.d.ts +144 -0
  106. package/dist/types/platform-components/RecordRelationTable.vue.d.ts +62 -0
  107. package/dist/types/platform-components/RecordRelationValue.vue.d.ts +9 -0
  108. package/dist/types/platform-components/RecordStatusSwitch.vue.d.ts +3 -3
  109. package/dist/types/platform-components/ReferencePicker.vue.d.ts +47 -0
  110. package/dist/types/platform-components/ReferenceRecordDetailBrowser.vue.d.ts +55 -0
  111. package/dist/types/platform-components/ScopedTreePicker.vue.d.ts +31 -0
  112. package/dist/types/platform-components/StaticManagementLayout.vue.d.ts +2 -0
  113. package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +14 -3
  114. package/dist/types/platform-components/UserPicker.vue.d.ts +47 -0
  115. package/dist/types/platform-components/adaptiveHeaderActionLayout.d.ts +22 -0
  116. package/dist/types/platform-components/dictionaryOptionDialogModel.d.ts +23 -0
  117. package/dist/types/platform-components/employeePickerModel.d.ts +19 -0
  118. package/dist/types/platform-components/formulaExpressionTokens.d.ts +18 -0
  119. package/dist/types/platform-components/identityPickerModel.d.ts +18 -0
  120. package/dist/types/platform-components/index.d.ts +48 -2
  121. package/dist/types/platform-components/managementExplorerContext.d.ts +11 -0
  122. package/dist/types/platform-components/managementWorkspaceContext.d.ts +20 -0
  123. package/dist/types/platform-components/managementWorkspaceLayout.d.ts +14 -0
  124. package/dist/types/platform-components/optionFieldOptionCache.d.ts +1 -1
  125. package/dist/types/platform-components/queryCriteriaDraft.d.ts +24 -0
  126. package/dist/types/platform-components/queryReferencePickerProvider.d.ts +19 -0
  127. package/dist/types/platform-components/readonlyReferenceDisplay.d.ts +19 -0
  128. package/dist/types/platform-components/recordActionBarModel.d.ts +3 -0
  129. package/dist/types/platform-components/recordEditorSessionState.d.ts +11 -4
  130. package/dist/types/platform-components/recordFormFieldModel.d.ts +28 -2
  131. package/dist/types/platform-components/recordQueryListColumnModel.d.ts +44 -0
  132. package/dist/types/platform-components/referencePickerModel.d.ts +103 -0
  133. package/dist/types/platform-components/referencePickerReadError.d.ts +24 -0
  134. package/dist/types/platform-components/referenceRecordDetailBrowser.d.ts +48 -0
  135. package/dist/types/platform-components/scopedTreePickerModel.d.ts +46 -0
  136. package/dist/types/platform-components/selectionRefresh.d.ts +9 -0
  137. package/dist/types/platform-components/sortPartitionKey.d.ts +5 -0
  138. package/dist/types/platform-components/sourceReferencePickerProvider.d.ts +26 -0
  139. package/dist/types/platform-components/staticCrudManagementState.d.ts +7 -6
  140. package/dist/types/platform-components/userPickerModel.d.ts +45 -0
  141. package/dist/types/platform-components/userReferencePicker.d.ts +17 -0
  142. package/dist/types/platform-workbench/index.d.ts +2 -0
  143. package/dist/types/platform-workbench/useWorkspaceViewUnsavedState.d.ts +5 -0
  144. package/dist/types/platform-workbench/workbenchNavigation.d.ts +5 -1
  145. package/dist/types/platform-workbench/workspaceViewContract.d.ts +5 -0
  146. package/dist/types/platform-workbench/workspaceViewHost.d.ts +5 -0
  147. package/dist/types/platform-workbench/workspaceViewNavigation.d.ts +9 -0
  148. package/dist/types/platform-workbench/workspaceViewUnsavedState.d.ts +5 -0
  149. package/dist/types/views/BusinessActivityLogView.vue.d.ts +3 -0
  150. package/dist/types/views/BusinessLogListDrawer.vue.d.ts +9 -0
  151. package/dist/types/views/BusinessRuleGovernanceSurface.vue.d.ts +10 -0
  152. package/dist/types/views/LoginAuditLogView.vue.d.ts +3 -0
  153. package/dist/types/views/MetadataGovernanceSurface.vue.d.ts +8 -0
  154. package/dist/types/views/MetadataSourceTree.vue.d.ts +44 -0
  155. package/dist/types/views/ModuleBusinessPreview.vue.d.ts +7 -0
  156. package/dist/types/views/ModuleExperienceProfileOverview.vue.d.ts +7 -0
  157. package/dist/types/views/ModuleGovernanceView.vue.d.ts +9 -0
  158. package/dist/types/views/PageCompositionDescriptorPreview.vue.d.ts +54 -0
  159. package/dist/types/views/PageCompositionTree.vue.d.ts +103 -0
  160. package/dist/types/views/PageCompositionWorkspace.vue.d.ts +7 -0
  161. package/dist/types/views/PageQuerySummaryEditor.vue.d.ts +48 -0
  162. package/dist/types/views/RequestErrorLogView.vue.d.ts +3 -0
  163. package/dist/types/views/RuntimeLogView.vue.d.ts +3 -0
  164. package/dist/types/views/businessLogClient.d.ts +85 -0
  165. package/dist/types/views/businessRuleGovernance.d.ts +201 -0
  166. package/dist/types/views/dictionaryRadioEligibility.d.ts +18 -0
  167. package/dist/types/views/dictionaryRadioFactRequestEpoch.d.ts +10 -0
  168. package/dist/types/views/metadataModelEditSession.d.ts +84 -0
  169. package/dist/types/views/metadataModelTree.d.ts +40 -0
  170. package/dist/types/views/metadataNaming.d.ts +7 -0
  171. package/dist/types/views/metadataOrchestrationState.d.ts +161 -6
  172. package/dist/types/views/metadataSourceTree.d.ts +10 -0
  173. package/dist/types/views/moduleGovernanceWorkspaceView.d.ts +9 -0
  174. package/dist/types/views/pageCompositionDraftState.d.ts +404 -0
  175. package/dist/types/views/pageCompositionDragPayload.d.ts +26 -0
  176. package/dist/types/views/pageCompositionMode.d.ts +86 -0
  177. package/dist/types/views/pageCompositionPlacement.d.ts +48 -0
  178. package/dist/types/views/pageCompositionTransport.d.ts +9 -0
  179. package/dist/types/views/roleDetailWorkspaceSession.d.ts +1 -0
  180. package/dist/types/views/roleGrantClient.d.ts +0 -1
  181. package/dist/types/views/runtimeLogClient.d.ts +12 -0
  182. package/dist/types/views/runtimeLogSse.d.ts +13 -0
  183. package/dist/types/views/usePageCompositionActionPreviewDrag.d.ts +41 -0
  184. package/dist/types/views/usePageCompositionPreviewDrag.d.ts +48 -0
  185. package/dist/types/vue-ui-antdv/components/UiActionButton.vue.d.ts +2 -2
  186. package/dist/types/vue-ui-antdv/components/UiButton.vue.d.ts +6 -3
  187. package/dist/types/vue-ui-antdv/components/UiDataTable.vue.d.ts +20 -2
  188. package/dist/types/vue-ui-antdv/components/UiIcon.vue.d.ts +1 -1
  189. package/dist/types/vue-ui-antdv/components/UiPopover.vue.d.ts +22 -0
  190. package/dist/types/vue-ui-antdv/components/UiRecordExplorerItem.vue.d.ts +1 -1
  191. package/dist/types/vue-ui-antdv/components/UiSearchInput.vue.d.ts +16 -2
  192. package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +28 -2
  193. package/dist/types/vue-ui-antdv/components/UiSidePanel.vue.d.ts +9 -2
  194. package/dist/types/vue-ui-antdv/components/UiSwitch.vue.d.ts +1 -1
  195. package/dist/types/vue-ui-antdv/components/UiTextArea.vue.d.ts +38 -1
  196. package/dist/types/vue-ui-antdv/components/UiTokenInput.vue.d.ts +62 -0
  197. package/dist/types/vue-ui-antdv/components/UiTree.vue.d.ts +63 -9
  198. package/dist/types/vue-ui-antdv/components/UiTreeSelect.vue.d.ts +24 -2
  199. package/dist/types/vue-ui-antdv/drawerDismissal.d.ts +18 -0
  200. package/dist/types/vue-ui-antdv/drawerWidth.d.ts +22 -0
  201. package/dist/types/vue-ui-antdv/index.d.ts +10 -1
  202. package/dist/types/vue-ui-antdv/treeStructure.d.ts +18 -0
  203. package/dist/types/vue-ui-antdv/types.d.ts +64 -0
  204. package/dist/types/vue-ui-antdv/useTreeLoader.d.ts +21 -0
  205. package/dist/types/vue-ui-antdv/useTreeMotion.d.ts +9 -0
  206. package/dist/types/vue-ui-antdv/useUiTreeDrag.d.ts +32 -0
  207. package/dist/types/web-contracts/index.d.ts +132 -12
  208. package/dist/types/web-core/http.d.ts +2 -0
  209. package/dist/types/web-core/module/index.d.ts +1 -0
  210. package/dist/types/web-core/module/moduleContext.d.ts +29 -1
  211. package/dist/types/web-core/module/pageActionEntries.d.ts +21 -0
  212. package/dist/types/web-core/module/runtimeContext.d.ts +10 -5
  213. package/dist/types/web-core/module/staticModuleClient.d.ts +30 -3
  214. package/dist/workspaceViews-CCg6V0pr.js +3623 -0
  215. package/package.json +1 -1
  216. package/dist/MetadataOrchestrationView-F_Bmfn9K.js +0 -661
  217. package/dist/ModuleActionManagementView-Db_3Twom.js +0 -597
  218. package/dist/RoleDetailWorkspaceView-UOm1ejGH.js +0 -1369
  219. package/dist/platform-components-59b4qzUL.js +0 -12489
  220. package/dist/types/views/metadataOrchestrationWorkspaceView.d.ts +0 -6
  221. package/dist/workspaceViews-BvV8mpML.js +0 -11149
@@ -0,0 +1,673 @@
1
+ import { n as e } from "./rolldown-runtime-DPVXH0ON.js";
2
+ import { An as t, Dt as n, G as r, It as i, Jt as a, S as ee, Ut as te, _t as ne, bn as re, cn as o, ct as ie, dn as s, en as c, fn as l, i as ae, kt as oe, l as se, on as u, pn as d, rn as f, sn as p, v as ce } from "./platform-components-1cvOeHmo.js";
3
+ import { t as le } from "./platform-workbench-Cu14Xd9d.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 ue, 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 de(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 fe = { class: "action-declaration-section" }, pe = { class: "permission-governance-section" }, me = { class: "governance-grid" }, he = { class: "governance-item" }, ge = {
70
+ type: "button",
71
+ class: "governance-help",
72
+ "aria-label": "访问方式说明"
73
+ }, N = { class: "governance-reset-slot" }, P = { class: "governance-item" }, F = {
74
+ type: "button",
75
+ class: "governance-help",
76
+ "aria-label": "默认授予策略说明"
77
+ }, I = { class: "governance-reset-slot" }, L = { class: "governance-item" }, _e = {
78
+ type: "button",
79
+ class: "governance-help",
80
+ "aria-label": "动作授权说明"
81
+ }, ve = { class: "governance-reset-slot" }, ye = { class: "governance-switch-control" }, be = { class: "governance-item" }, xe = {
82
+ type: "button",
83
+ class: "governance-help",
84
+ "aria-label": "数据授权说明"
85
+ }, Se = { class: "governance-reset-slot" }, Ce = { class: "governance-switch-control" }, we = { key: 0 }, Te = {
86
+ key: 1,
87
+ class: "form-hint wide-field"
88
+ }, Ee = { class: "checkbox-field" }, De = { class: "checkbox-field" }, Oe = { class: "wide-field" }, ke = { class: "wide-field" }, R = /*@__PURE__*/ x({
89
+ name: "ModuleActionManagementView",
90
+ __name: "ModuleActionManagementView",
91
+ props: {
92
+ moduleAlias: {},
93
+ moduleTitle: {},
94
+ moduleKind: {},
95
+ title: {}
96
+ },
97
+ setup(e) {
98
+ let d = e, x = re({ moduleAlias: "platform.module_action" }), O = de(x, { client: t(x.http, `/platform.module/${encodeURIComponent(d.moduleAlias)}/actions`) }), k = C(""), A = C([]), j = ae({
99
+ context: O,
100
+ confirmAction: i,
101
+ emptyDraft: () => q(d.moduleAlias),
102
+ normalizeDraft: (e) => J(e, d.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: M, draft: R, mode: z, reloadKey: B, saving: V, cardTitle: Ae, canCreate: je, canEnable: Me } = j, Ne = m(() => {
118
+ if (z.value === "view") return !1;
119
+ let e = M.value ? J(M.value, d.moduleAlias) : q(d.moduleAlias);
120
+ return JSON.stringify(R.value) !== JSON.stringify(e);
121
+ });
122
+ le("模块动作", () => Ne.value);
123
+ let Pe = m(() => je.value), Fe = m(() => A.value.map((e) => ({
124
+ value: e.executorKey,
125
+ label: e.description ? `${e.title} · ${e.description}` : e.title
126
+ }))), Ie = m(() => (A.value.find((e) => e.executorKey === R.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
+ }))), Le = m(() => [
140
+ "actionCode",
141
+ "title",
142
+ "category",
143
+ "actionLevel",
144
+ "accessMode",
145
+ "executorType",
146
+ ...Z(R.value.executorKey) ? ["executorKey"] : [],
147
+ "actionAuth",
148
+ "dataAuth",
149
+ "defaultGrantPolicy",
150
+ ...Z(R.value.availableExpression) ? ["availableExpression"] : [],
151
+ ...Z(R.value.unavailableMessage) ? ["unavailableMessage"] : [],
152
+ ...R.value.sourceType ? ["sourceType"] : [],
153
+ ...Z(R.value.bindingAlias) ? ["bindingAlias"] : []
154
+ ]), Re = m(() => [
155
+ "actionCode",
156
+ "title",
157
+ "category",
158
+ "actionLevel",
159
+ "executorType",
160
+ ...Z(R.value.executorKey) ? ["executorKey"] : [],
161
+ ...R.value.sourceType ? ["sourceType"] : []
162
+ ]);
163
+ ue(() => void K());
164
+ let ze = m(() => j.readonly.value), H = m(() => ze.value || j.saving.value), Be = m(() => {
165
+ if (j.mode.value !== "view") return [
166
+ ...j.mode.value === "edit" && j.selected.value?.systemManaged === !0 && Ue(R.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 Ve(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 He(e) {
210
+ e.key === "edit" && j.startEdit(), e.key === "delete" && j.removeSelected(), e.key === "reset-permission-governance" && We(), e.key === "cancel" && j.cancelEdit(), e.key === "save" && j.save();
211
+ }
212
+ function Ue(e) {
213
+ return [
214
+ e.accessModeOverride,
215
+ e.actionAuthOverride,
216
+ e.dataAuthOverride,
217
+ e.defaultGrantPolicyOverride
218
+ ].some((e) => e != null);
219
+ }
220
+ function U(e) {
221
+ return R.value[e] != null;
222
+ }
223
+ function W(e) {
224
+ G(e, void 0);
225
+ }
226
+ function We() {
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 G(e, t) {
236
+ j.draft.value = {
237
+ ...j.draft.value,
238
+ [e]: t ?? void 0
239
+ };
240
+ }
241
+ async function K() {
242
+ try {
243
+ A.value = await x.http.request({ path: "/platform.module/action-executors" });
244
+ } catch (e) {
245
+ A.value = [], oe(e, {
246
+ source: "module-action-management",
247
+ phase: "load"
248
+ });
249
+ }
250
+ }
251
+ function Ge() {
252
+ j.startCreate();
253
+ }
254
+ function Ke(e) {
255
+ let t = typeof e == "string" ? e : void 0, n = A.value.find((e) => e.executorKey === t);
256
+ G("executorKey", t), n?.supportedLevels.length && G("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, i) => (S(), h(T(se), {
346
+ "explorer-title": "模块动作",
347
+ "refresh-title": "刷新动作",
348
+ mode: T(z),
349
+ "detail-title": T(Ae),
350
+ "explorer-search-keyword": k.value,
351
+ "explorer-search-placeholder": "搜索动作名称或编码",
352
+ "onUpdate:explorerSearchKeyword": i[22] ||= (e) => k.value = e,
353
+ onRefresh: i[23] ||= (e) => B.value += 1
354
+ }, {
355
+ "explorer-actions": E(() => [b(T(ne), {
356
+ class: "record-panel-create-button",
357
+ context: T(O),
358
+ "action-code": "create",
359
+ title: "新建动作",
360
+ "icon-only": "",
361
+ disabled: !Pe.value || T(V),
362
+ onClick: Ge
363
+ }, null, 8, ["context", "disabled"])]),
364
+ explorer: E(() => [b(T(n), {
365
+ context: T(O),
366
+ "selected-id": T(M)?.id,
367
+ "reload-key": T(B),
368
+ keyword: k.value,
369
+ "empty-description": "当前模块暂无动作",
370
+ "loading-tip": "加载模块动作",
371
+ "fallback-title": "未命名动作",
372
+ "item-of": Ve,
373
+ onLoaded: i[0] ||= (e) => T(j).handleListLoaded(e),
374
+ onSelect: i[1] ||= (e) => T(j).handleSelect(e)
375
+ }, null, 8, [
376
+ "context",
377
+ "selected-id",
378
+ "reload-key",
379
+ "keyword"
380
+ ])]),
381
+ "detail-status": E(() => [T(z) === "view" && T(M) ? (S(), h(T(ee), {
382
+ key: 0,
383
+ enabled: T(M).enabled,
384
+ disabled: T(V) || T(M).systemManaged === !0 || !T(Me),
385
+ loading: T(V),
386
+ "show-label": !1,
387
+ onChange: T(j).toggleEnabled
388
+ }, null, 8, [
389
+ "enabled",
390
+ "disabled",
391
+ "loading",
392
+ "onChange"
393
+ ])) : g("v-if", !0)]),
394
+ "detail-actions": E(() => [b(T(ie), {
395
+ context: T(O),
396
+ actions: Be.value,
397
+ onAction: He
398
+ }, null, 8, ["context", "actions"])]),
399
+ default: E(() => [!T(M) && T(z) === "view" ? (S(), h(T(te), {
400
+ key: 0,
401
+ description: e.moduleKind === "static" ? "静态模块动作由 Java 声明自动注册" : "当前模块暂无动作"
402
+ }, null, 8, ["description"])) : T(z) === "view" && T(M) ? (S(), h(T(r), {
403
+ key: 1,
404
+ record: T(R),
405
+ "display-of": $,
406
+ "field-names": Le.value,
407
+ fallback: {
408
+ actionCode: { label: "动作编码" },
409
+ title: { label: "动作名称" },
410
+ category: { label: "动作类别" },
411
+ actionLevel: { label: "执行层级" },
412
+ accessMode: { label: "访问方式" },
413
+ executorType: { label: "执行方式" },
414
+ executorKey: { label: "执行实现" },
415
+ actionAuth: { label: "动作授权" },
416
+ dataAuth: { label: "数据授权" },
417
+ defaultGrantPolicy: { label: "默认授予策略" },
418
+ availableExpression: { label: "可用条件" },
419
+ unavailableMessage: { label: "不可用提示" },
420
+ sourceType: { label: "注册来源" },
421
+ bindingAlias: { label: "绑定标识" }
422
+ }
423
+ }, null, 8, ["record", "field-names"])) : T(z) !== "create" && T(M)?.systemManaged ? (S(), _("form", {
424
+ key: 2,
425
+ class: "managed-action-editor",
426
+ onSubmit: i[10] ||= D((...e) => T(j).save && T(j).save(...e), ["prevent"])
427
+ }, [v("section", fe, [i[24] ||= v("h3", null, "动作声明", -1), b(T(r), {
428
+ record: T(R),
429
+ "display-of": $,
430
+ "field-names": Re.value,
431
+ fallback: {
432
+ actionCode: { label: "动作编码" },
433
+ title: { label: "动作名称" },
434
+ category: { label: "动作类别" },
435
+ actionLevel: { label: "执行层级" },
436
+ executorType: { label: "执行方式" },
437
+ executorKey: { label: "执行实现" },
438
+ sourceType: { label: "注册来源" }
439
+ }
440
+ }, null, 8, ["record", "field-names"])]), v("section", pe, [i[33] ||= v("h3", null, "权限治理", -1), v("div", me, [
441
+ v("section", he, [v("header", null, [v("div", null, [v("h4", null, [i[25] ||= y(" 访问方式 ", -1), b(T(c), { title: "决定调用动作前需要满足的身份条件。" }, {
442
+ default: E(() => [v("button", ge, [b(T(l), { name: "help" })])]),
443
+ _: 1
444
+ })])]), v("span", N, [U("accessModeOverride") ? (S(), h(T(s), {
445
+ key: 0,
446
+ type: "text",
447
+ size: "small",
448
+ disabled: H.value,
449
+ onClick: i[2] ||= (e) => W("accessModeOverride")
450
+ }, {
451
+ default: E(() => [...i[26] ||= [y("重置", -1)]]),
452
+ _: 1
453
+ }, 8, ["disabled"])) : g("v-if", !0)])]), b(T(p), {
454
+ value: T(R).accessModeOverride ?? T(R).accessMode,
455
+ disabled: H.value,
456
+ options: [
457
+ {
458
+ label: "需要授权",
459
+ value: "AUTH_REQUIRED"
460
+ },
461
+ {
462
+ label: "登录可用",
463
+ value: "LOGIN_REQUIRED"
464
+ },
465
+ {
466
+ label: "匿名可用",
467
+ value: "ANONYMOUS_ALLOWED"
468
+ }
469
+ ],
470
+ "onUpdate:value": i[3] ||= (e) => G("accessModeOverride", e)
471
+ }, null, 8, ["value", "disabled"])]),
472
+ v("section", P, [v("header", null, [v("div", null, [v("h4", null, [i[27] ||= y(" 默认授予策略 ", -1), b(T(c), { title: "定义满足条件的用户首次获得动作时的默认规则。" }, {
473
+ default: E(() => [v("button", F, [b(T(l), { name: "help" })])]),
474
+ _: 1
475
+ })])]), v("span", I, [U("defaultGrantPolicyOverride") ? (S(), h(T(s), {
476
+ key: 0,
477
+ type: "text",
478
+ size: "small",
479
+ disabled: H.value,
480
+ onClick: i[4] ||= (e) => W("defaultGrantPolicyOverride")
481
+ }, {
482
+ default: E(() => [...i[28] ||= [y("重置", -1)]]),
483
+ _: 1
484
+ }, 8, ["disabled"])) : g("v-if", !0)])]), b(T(p), {
485
+ value: T(R).defaultGrantPolicyOverride ?? T(R).defaultGrantPolicy,
486
+ disabled: H.value,
487
+ options: [
488
+ {
489
+ label: "不默认授予",
490
+ value: "NONE"
491
+ },
492
+ {
493
+ label: "所有登录用户",
494
+ value: "ANY_LOGIN_USER"
495
+ },
496
+ {
497
+ label: "记录所有者",
498
+ value: "OWNER"
499
+ },
500
+ {
501
+ label: "办理人",
502
+ value: "ASSIGNEE"
503
+ },
504
+ {
505
+ label: "成员",
506
+ value: "MEMBER"
507
+ }
508
+ ],
509
+ "onUpdate:value": i[5] ||= (e) => G("defaultGrantPolicyOverride", e)
510
+ }, null, 8, ["value", "disabled"])]),
511
+ v("section", L, [v("header", null, [v("div", null, [v("h4", null, [i[29] ||= y(" 动作授权 ", -1), b(T(c), { title: "控制角色是否需要被显式授予该动作。" }, {
512
+ default: E(() => [v("button", _e, [b(T(l), { name: "help" })])]),
513
+ _: 1
514
+ })])]), v("span", ve, [U("actionAuthOverride") ? (S(), h(T(s), {
515
+ key: 0,
516
+ type: "text",
517
+ size: "small",
518
+ disabled: H.value,
519
+ onClick: i[6] ||= (e) => W("actionAuthOverride")
520
+ }, {
521
+ default: E(() => [...i[30] ||= [y("重置", -1)]]),
522
+ _: 1
523
+ }, 8, ["disabled"])) : g("v-if", !0)])]), v("div", ye, [b(T(a), {
524
+ checked: (T(R).actionAuthOverride ?? T(R).actionAuth) !== !1,
525
+ disabled: H.value,
526
+ "checked-text": "开",
527
+ "unchecked-text": "关",
528
+ "onUpdate:checked": i[7] ||= (e) => G("actionAuthOverride", e)
529
+ }, null, 8, ["checked", "disabled"]), v("strong", null, w((T(R).actionAuthOverride ?? T(R).actionAuth) === !1 ? "未启用" : "已启用"), 1)])]),
530
+ v("section", be, [v("header", null, [v("div", null, [v("h4", null, [i[31] ||= y(" 数据授权 ", -1), b(T(c), { title: "启用后,读取和执行会继续按数据范围校验。" }, {
531
+ default: E(() => [v("button", xe, [b(T(l), { name: "help" })])]),
532
+ _: 1
533
+ })])]), v("span", Se, [U("dataAuthOverride") ? (S(), h(T(s), {
534
+ key: 0,
535
+ type: "text",
536
+ size: "small",
537
+ disabled: H.value,
538
+ onClick: i[8] ||= (e) => W("dataAuthOverride")
539
+ }, {
540
+ default: E(() => [...i[32] ||= [y("重置", -1)]]),
541
+ _: 1
542
+ }, 8, ["disabled"])) : g("v-if", !0)])]), v("div", Ce, [b(T(a), {
543
+ checked: (T(R).dataAuthOverride ?? T(R).dataAuth) === !0,
544
+ disabled: H.value,
545
+ "checked-text": "开",
546
+ "unchecked-text": "关",
547
+ "onUpdate:checked": i[9] ||= (e) => G("dataAuthOverride", e)
548
+ }, null, 8, ["checked", "disabled"]), v("strong", null, w((T(R).dataAuthOverride ?? T(R).dataAuth) === !0 ? "已启用" : "未启用"), 1)])])
549
+ ])])], 32)) : (S(), _("form", {
550
+ key: 3,
551
+ class: "static-record-form",
552
+ onSubmit: i[21] ||= D((...e) => T(j).save && T(j).save(...e), ["prevent"])
553
+ }, [
554
+ i[44] ||= v("p", { class: "form-hint wide-field" }, " 可以先保存动作,再绑定执行能力。待绑定动作不可执行,页面引用后需完成绑定才能发布。 ", -1),
555
+ v("label", null, [i[34] ||= v("span", null, "动作编码", -1), b(T(u), {
556
+ value: T(R).actionCode,
557
+ disabled: H.value,
558
+ "onUpdate:value": i[11] ||= (e) => G("actionCode", e)
559
+ }, null, 8, ["value", "disabled"])]),
560
+ v("label", null, [i[35] ||= v("span", null, "动作名称", -1), b(T(u), {
561
+ value: T(R).title,
562
+ disabled: H.value,
563
+ "onUpdate:value": i[12] ||= (e) => G("title", e)
564
+ }, null, 8, ["value", "disabled"])]),
565
+ v("label", null, [i[36] ||= v("span", null, "执行层级", -1), b(T(p), {
566
+ value: T(R).actionLevel,
567
+ disabled: H.value,
568
+ options: Ie.value,
569
+ "onUpdate:value": i[13] ||= (e) => G("actionLevel", e)
570
+ }, null, 8, [
571
+ "value",
572
+ "disabled",
573
+ "options"
574
+ ])]),
575
+ v("label", null, [i[37] ||= v("span", null, "访问方式", -1), b(T(p), {
576
+ value: T(R).accessMode,
577
+ disabled: H.value,
578
+ options: [
579
+ {
580
+ label: "需要授权",
581
+ value: "AUTH_REQUIRED"
582
+ },
583
+ {
584
+ label: "登录可用",
585
+ value: "LOGIN_REQUIRED"
586
+ },
587
+ {
588
+ label: "匿名可用",
589
+ value: "ANONYMOUS_ALLOWED"
590
+ }
591
+ ],
592
+ "onUpdate:value": i[14] ||= (e) => G("accessMode", e)
593
+ }, null, 8, ["value", "disabled"])]),
594
+ e.moduleKind === "dynamic" ? (S(), _("label", we, [i[38] ||= v("span", null, "执行能力(可稍后绑定)", -1), b(T(p), {
595
+ value: T(R).executorKey,
596
+ "allow-clear": "",
597
+ placeholder: "待绑定",
598
+ disabled: H.value,
599
+ options: Fe.value,
600
+ "onUpdate:value": i[15] ||= (e) => Ke(e)
601
+ }, null, 8, [
602
+ "value",
603
+ "disabled",
604
+ "options"
605
+ ])])) : g("v-if", !0),
606
+ e.moduleKind === "dynamic" ? g("v-if", !0) : (S(), _("p", Te, " 静态模块通过同编码的代码动作声明绑定执行能力。 ")),
607
+ v("label", Ee, [b(T(o), {
608
+ checked: T(R).actionAuth !== !1,
609
+ disabled: H.value,
610
+ "onUpdate:checked": i[16] ||= (e) => G("actionAuth", e)
611
+ }, {
612
+ default: E(() => [...i[39] ||= [y("启用动作授权", -1)]]),
613
+ _: 1
614
+ }, 8, ["checked", "disabled"])]),
615
+ v("label", De, [b(T(o), {
616
+ checked: T(R).dataAuth === !0,
617
+ disabled: H.value,
618
+ "onUpdate:checked": i[17] ||= (e) => G("dataAuth", e)
619
+ }, {
620
+ default: E(() => [...i[40] ||= [y("启用数据授权", -1)]]),
621
+ _: 1
622
+ }, 8, ["checked", "disabled"])]),
623
+ v("label", null, [i[41] ||= v("span", null, "默认授予策略", -1), b(T(p), {
624
+ value: T(R).defaultGrantPolicy,
625
+ disabled: H.value,
626
+ options: [
627
+ {
628
+ label: "不默认授予",
629
+ value: "NONE"
630
+ },
631
+ {
632
+ label: "所有登录用户",
633
+ value: "ANY_LOGIN_USER"
634
+ },
635
+ {
636
+ label: "记录所有者",
637
+ value: "OWNER"
638
+ },
639
+ {
640
+ label: "办理人",
641
+ value: "ASSIGNEE"
642
+ },
643
+ {
644
+ label: "成员",
645
+ value: "MEMBER"
646
+ }
647
+ ],
648
+ "onUpdate:value": i[18] ||= (e) => G("defaultGrantPolicy", e)
649
+ }, null, 8, ["value", "disabled"])]),
650
+ v("label", Oe, [i[42] ||= v("span", null, "可用条件表达式", -1), b(T(f), {
651
+ value: T(R).availableExpression,
652
+ disabled: H.value,
653
+ "onUpdate:value": i[19] ||= (e) => G("availableExpression", e)
654
+ }, null, 8, ["value", "disabled"])]),
655
+ v("label", ke, [i[43] ||= v("span", null, "不可用提示", -1), b(T(f), {
656
+ value: T(R).unavailableMessage,
657
+ disabled: H.value,
658
+ "onUpdate:value": i[20] ||= (e) => G("unavailableMessage", e)
659
+ }, null, 8, ["value", "disabled"])])
660
+ ], 32)), T(M) || T(z) !== "view" ? (S(), h(T(ce), {
661
+ key: 4,
662
+ record: T(R)
663
+ }, null, 8, ["record"])) : g("v-if", !0)]),
664
+ _: 1
665
+ }, 8, [
666
+ "mode",
667
+ "detail-title",
668
+ "explorer-search-keyword"
669
+ ]));
670
+ }
671
+ }), z = /* @__PURE__ */ e({ default: () => B }), B = /*#__PURE__*/ d(R, [["__scopeId", "data-v-68b1667d"]]);
672
+ //#endregion
673
+ export { z as n, B as t };