@ximatai/muyun-web-app 0.26.13 → 0.26.15

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 (186) hide show
  1. package/dist/{BusinessActivityLogView-UC4rH4Fn.js → BusinessActivityLogView-DVzrZW1X.js} +1 -1
  2. package/dist/BusinessLogListDrawer-D-R3wnWr.js +825 -0
  3. package/dist/{LoginAuditLogView-Cjrp8MKX.js → LoginAuditLogView-BP1eaEPw.js} +1 -1
  4. package/dist/{ModuleActionManagementView-Dkb35QXc.js → ModuleActionManagementView-D17iKVQv.js} +214 -196
  5. package/dist/{ModuleGovernanceView-Dx43QvGf.js → ModuleGovernanceView-LkWCtops.js} +13509 -8472
  6. package/dist/{RequestErrorLogView-WnGvMWiF.js → RequestErrorLogView-LzN94-Tk.js} +1 -1
  7. package/dist/{RoleDetailWorkspaceView-DPDb_QOn.js → RoleDetailWorkspaceView-BXA-bzFu.js} +173 -164
  8. package/dist/{RuntimeLogView-BRl4ZDkU.js → RuntimeLogView-DUpu2q2w.js} +48 -81
  9. package/dist/index.css +1 -1
  10. package/dist/index.js +562 -497
  11. package/dist/moduleGovernanceWorkspaceView-COjWtJMr.js +639 -0
  12. package/dist/{platform-components-1cvOeHmo.js → platform-components-Hs3DrTqE.js} +5260 -3344
  13. package/dist/platform-workbench-C-kE-Yqq.js +19755 -0
  14. package/dist/{http-B0TC0pJB.js → sse-Q1wa3p_k.js} +34 -4
  15. package/dist/types/app/CurrentUserProfileDialog.vue.d.ts +1 -1
  16. package/dist/types/app/useWorkbenchMenuRefresh.d.ts +4 -0
  17. package/dist/types/app/workbenchMenuRefresh.d.ts +14 -0
  18. package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +4 -2
  19. package/dist/types/dynamic-page-runtime/ManagedDetailRelationInlineSurface.vue.d.ts +3 -3
  20. package/dist/types/dynamic-page-runtime/ModuleDataExchangeSurface.vue.d.ts +17 -0
  21. package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +712 -22
  22. package/dist/types/dynamic-page-runtime/ModulePageDetailRelations.vue.d.ts +3 -2
  23. package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +782 -60
  24. package/dist/types/dynamic-page-runtime/ModulePageListExpansionSurface.vue.d.ts +1 -0
  25. package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansion.vue.d.ts +1 -0
  26. package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansions.vue.d.ts +1 -0
  27. package/dist/types/dynamic-page-runtime/ModulePageRecordContent.vue.d.ts +5 -2
  28. package/dist/types/dynamic-page-runtime/ModuleRecordDetailActions.vue.d.ts +6 -0
  29. package/dist/types/dynamic-page-runtime/PageNavigatorExplorer.vue.d.ts +9 -7
  30. package/dist/types/dynamic-page-runtime/RecordFormSurface.vue.d.ts +2 -0
  31. package/dist/types/dynamic-page-runtime/assistantBusinessScope.d.ts +3 -0
  32. package/dist/types/dynamic-page-runtime/assistantQueryCapabilities.d.ts +34 -0
  33. package/dist/types/dynamic-page-runtime/assistantRecordEditorPolicy.d.ts +6 -0
  34. package/dist/types/dynamic-page-runtime/composables/useModulePageFormContributionRuntime.d.ts +2 -0
  35. package/dist/types/dynamic-page-runtime/composables/useModulePageListSession.d.ts +1 -0
  36. package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +94 -4
  37. package/dist/types/dynamic-page-runtime/composables/useRecordEditingSession.d.ts +2 -0
  38. package/dist/types/dynamic-page-runtime/formComputeCoordinator.d.ts +2 -0
  39. package/dist/types/dynamic-page-runtime/index.d.ts +1 -0
  40. package/dist/types/dynamic-page-runtime/modulePageAssistantScope.d.ts +20 -0
  41. package/dist/types/dynamic-page-runtime/modulePageAssistantSurface.d.ts +6 -0
  42. package/dist/types/dynamic-page-runtime/recordCreationReadiness.d.ts +17 -0
  43. package/dist/types/dynamic-page-runtime/recordDisplayProjection.d.ts +59 -0
  44. package/dist/types/dynamic-page-runtime/recordFormAssistantCapabilities.d.ts +59 -0
  45. package/dist/types/dynamic-page-runtime/recordFormDraftAccess.d.ts +33 -0
  46. package/dist/types/dynamic-page-runtime/recordMutationPayload.d.ts +2 -2
  47. package/dist/types/dynamic-page-runtime/recordReferenceDisplay.d.ts +8 -0
  48. package/dist/types/dynamic-page-runtime/recordSaveRecovery.d.ts +12 -0
  49. package/dist/types/dynamic-page-runtime/relationDraftAssistantCapabilities.d.ts +9 -0
  50. package/dist/types/dynamic-page-runtime/relationDraftController.d.ts +23 -0
  51. package/dist/types/dynamic-page-runtime/relationFormComputeCoordinator.d.ts +1 -0
  52. package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +404 -12
  53. package/dist/types/dynamic-page-runtime/useTenantScopeController.d.ts +1 -0
  54. package/dist/types/formula/FormulaRuntime.d.ts +3 -1
  55. package/dist/types/platform-admin-runtime/backendHttp.d.ts +5 -1
  56. package/dist/types/platform-admin-runtime/module-menu/ModuleMenuEditor.vue.d.ts +17 -0
  57. package/dist/types/platform-admin-runtime/module-menu/ModuleMenuGovernanceSurface.vue.d.ts +6 -0
  58. package/dist/types/platform-admin-runtime/module-menu/moduleMenuClient.d.ts +6 -2
  59. package/dist/types/platform-admin-runtime/module-menu/moduleMenuReceiptStore.d.ts +5 -0
  60. package/dist/types/platform-admin-runtime/module-menu/moduleMenuSession.d.ts +61 -0
  61. package/dist/types/platform-admin-runtime/module-menu/moduleMenuWorkspace.d.ts +180 -0
  62. package/dist/types/platform-admin-runtime/workspaceViewSessions.d.ts +1 -1
  63. package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +11 -7
  64. package/dist/types/platform-components/DictionaryPicker.vue.d.ts +2 -0
  65. package/dist/types/platform-components/FileTransferUploader.vue.d.ts +1 -1
  66. package/dist/types/platform-components/ManagementPanelHeader.vue.d.ts +6 -4
  67. package/dist/types/platform-components/ManagementTabs.vue.d.ts +20 -0
  68. package/dist/types/platform-components/ObjectPickerInput.vue.d.ts +2 -0
  69. package/dist/types/platform-components/QueryValueEditor.vue.d.ts +1 -1
  70. package/dist/types/platform-components/RecordDetailFields.vue.d.ts +1 -1
  71. package/dist/types/platform-components/RecordExplorerPanel.vue.d.ts +15 -9
  72. package/dist/types/platform-components/RecordExplorerTools.vue.d.ts +27 -0
  73. package/dist/types/platform-components/RecordFormFields.vue.d.ts +5 -1
  74. package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +2 -2
  75. package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +2 -0
  76. package/dist/types/platform-components/RecordPicker.vue.d.ts +2 -0
  77. package/dist/types/platform-components/RecordQueryListCell.vue.d.ts +1 -1
  78. package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +9 -1
  79. package/dist/types/platform-components/RecordQueryListSurface.vue.d.ts +1 -1
  80. package/dist/types/platform-components/RecordRelationTabs.vue.d.ts +1 -0
  81. package/dist/types/platform-components/ReferencePicker.vue.d.ts +2 -0
  82. package/dist/types/platform-components/StaticManagementLayout.vue.d.ts +2 -0
  83. package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +5 -2
  84. package/dist/types/platform-components/index.d.ts +9 -1
  85. package/dist/types/platform-components/optionFieldOptionCache.d.ts +1 -1
  86. package/dist/types/platform-components/queryNumericValue.d.ts +3 -0
  87. package/dist/types/platform-components/querySettlementController.d.ts +5 -0
  88. package/dist/types/platform-components/recordDetailFieldModel.d.ts +2 -0
  89. package/dist/types/platform-components/recordFormFieldModel.d.ts +22 -0
  90. package/dist/types/platform-components/recordQueryListColumnModel.d.ts +8 -0
  91. package/dist/types/platform-components/recordQueryListQueryController.d.ts +53 -0
  92. package/dist/types/platform-components/recordQueryListStandardQuery.d.ts +3 -0
  93. package/dist/types/platform-components/recordTreeQueryController.d.ts +18 -0
  94. package/dist/types/platform-components/recycleBinState.d.ts +17 -0
  95. package/dist/types/platform-components/referencePickerModel.d.ts +3 -0
  96. package/dist/types/platform-workbench/AssistantMarkdownContent.vue.d.ts +6 -0
  97. package/dist/types/platform-workbench/AssistantSelectionCard.vue.d.ts +15 -0
  98. package/dist/types/platform-workbench/ConstructionPlanCard.vue.d.ts +8 -0
  99. package/dist/types/platform-workbench/Workbench.vue.d.ts +12 -2
  100. package/dist/types/platform-workbench/WorkbenchAssistantPanel.vue.d.ts +18 -0
  101. package/dist/types/platform-workbench/assistantMarkdown.d.ts +1 -0
  102. package/dist/types/platform-workbench/configurationCollaboration.d.ts +23 -0
  103. package/dist/types/platform-workbench/constructionDelivery.d.ts +3 -0
  104. package/dist/types/platform-workbench/constructionFields.d.ts +5 -0
  105. package/dist/types/platform-workbench/constructionInitialization.d.ts +4 -0
  106. package/dist/types/platform-workbench/constructionPlanGuard.d.ts +21 -0
  107. package/dist/types/platform-workbench/constructionPlanSession.d.ts +95 -0
  108. package/dist/types/platform-workbench/constructionReferenceDiscovery.d.ts +3 -0
  109. package/dist/types/platform-workbench/index.d.ts +1 -0
  110. package/dist/types/platform-workbench/useAssistantConversation.d.ts +360 -0
  111. package/dist/types/platform-workbench/useAssistantConversationArchive.d.ts +47 -0
  112. package/dist/types/platform-workbench/workbenchAssistantCapabilities.d.ts +22 -0
  113. package/dist/types/views/BusinessLogRetentionControl.vue.d.ts +7 -0
  114. package/dist/types/views/MetadataSourceTree.vue.d.ts +7 -3
  115. package/dist/types/views/ModuleRuntimeActivationStatus.vue.d.ts +11 -0
  116. package/dist/types/views/PageCompositionDescriptorPreview.vue.d.ts +8 -8
  117. package/dist/types/views/PageCompositionEditor.vue.d.ts +10 -0
  118. package/dist/types/views/PageCompositionTree.vue.d.ts +19 -13
  119. package/dist/types/views/businessLogClient.d.ts +3 -0
  120. package/dist/types/views/businessLogRetentionClient.d.ts +25 -0
  121. package/dist/types/views/businessRuleAssistantSurface.d.ts +7 -0
  122. package/dist/types/views/businessRuleEditor.d.ts +22 -0
  123. package/dist/types/views/businessRuleGovernance.d.ts +7 -1
  124. package/dist/types/views/businessRuleSession.d.ts +63 -0
  125. package/dist/types/views/businessRuleWorkspace.d.ts +144 -0
  126. package/dist/types/views/configurationEditorNavigation.d.ts +2 -0
  127. package/dist/types/views/metadataChangeSetSubmission.d.ts +10 -0
  128. package/dist/types/views/metadataEditorSession.d.ts +652 -0
  129. package/dist/types/views/metadataGovernanceAssistantSurface.d.ts +4 -0
  130. package/dist/types/views/metadataGovernanceEditor.d.ts +220 -0
  131. package/dist/types/views/metadataModelChangeSetClient.d.ts +36 -0
  132. package/dist/types/views/metadataModelEditSession.d.ts +26 -1
  133. package/dist/types/views/metadataNaming.d.ts +11 -1
  134. package/dist/types/views/metadataOrchestrationState.d.ts +22 -0
  135. package/dist/types/views/metadataWorkspace.d.ts +1316 -0
  136. package/dist/types/views/moduleGovernanceWorkspaceView.d.ts +1 -1
  137. package/dist/types/views/moduleRuntimeActivation.d.ts +11 -0
  138. package/dist/types/views/pageCompositionAssistantSurface.d.ts +27 -0
  139. package/dist/types/views/pageCompositionCandidate.d.ts +47 -0
  140. package/dist/types/views/pageCompositionComponents.d.ts +42 -0
  141. package/dist/types/views/pageCompositionDraftState.d.ts +277 -8
  142. package/dist/types/views/pageCompositionDragPayload.d.ts +7 -1
  143. package/dist/types/views/pageCompositionMode.d.ts +1 -1
  144. package/dist/types/views/pageCompositionPlacement.d.ts +6 -1
  145. package/dist/types/views/pageCompositionPublication.d.ts +37 -0
  146. package/dist/types/views/pageCompositionSession.d.ts +1341 -0
  147. package/dist/types/views/pageCompositionWorkspace.d.ts +2555 -0
  148. package/dist/types/views/roleAuthorizationWorkspaceSession.d.ts +1 -1
  149. package/dist/types/views/roleDetailWorkspaceSession.d.ts +1 -1
  150. package/dist/types/views/runtimeLogSse.d.ts +3 -13
  151. package/dist/types/views/usePageCompositionComponents.d.ts +68 -0
  152. package/dist/types/vue-ui-antdv/components/UiInput.vue.d.ts +1 -0
  153. package/dist/types/vue-ui-antdv/components/UiSearchInput.vue.d.ts +2 -0
  154. package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +2 -0
  155. package/dist/types/vue-ui-antdv/components/UiTextArea.vue.d.ts +4 -0
  156. package/dist/types/vue-ui-antdv/components/UiTreeSelect.vue.d.ts +2 -0
  157. package/dist/types/vue-ui-antdv/types.d.ts +4 -0
  158. package/dist/types/web-contracts/assistant.d.ts +87 -0
  159. package/dist/types/web-contracts/constructionPlan.d.ts +212 -0
  160. package/dist/types/web-contracts/index.d.ts +33 -0
  161. package/dist/types/web-contracts/operation.d.ts +33 -0
  162. package/dist/types/web-contracts/referenceTarget.d.ts +13 -0
  163. package/dist/types/web-core/assistantCapabilityCatalog.d.ts +22 -0
  164. package/dist/types/web-core/assistantCatalogPage.d.ts +12 -0
  165. package/dist/types/web-core/assistantConfirmation.d.ts +23 -0
  166. package/dist/types/web-core/assistantConversationClient.d.ts +42 -0
  167. package/dist/types/web-core/assistantRuntime.d.ts +123 -0
  168. package/dist/types/web-core/assistantSurface.d.ts +162 -0
  169. package/dist/types/web-core/assistantTurnClient.d.ts +16 -0
  170. package/dist/types/web-core/constructionPlanClient.d.ts +55 -0
  171. package/dist/types/web-core/errors.d.ts +2 -0
  172. package/dist/types/web-core/http.d.ts +1 -0
  173. package/dist/types/web-core/index.d.ts +12 -0
  174. package/dist/types/web-core/module/dataExchangeClient.d.ts +53 -0
  175. package/dist/types/web-core/module/index.d.ts +1 -0
  176. package/dist/types/web-core/module/staticModuleClient.d.ts +12 -2
  177. package/dist/types/web-core/operationConfirmation.d.ts +28 -0
  178. package/dist/types/web-core/operationErrors.d.ts +9 -0
  179. package/dist/types/web-core/operationReceipt.d.ts +10 -0
  180. package/dist/types/web-core/sse.d.ts +9 -0
  181. package/dist/types/web-core/uuid.d.ts +2 -0
  182. package/dist/{workspaceViews-CCg6V0pr.js → workspaceViews-CHsgLFwY.js} +783 -1189
  183. package/package.json +1 -1
  184. package/dist/BusinessLogListDrawer-BtaXVJKz.js +0 -564
  185. package/dist/moduleGovernanceWorkspaceView-4V_UW-Bt.js +0 -40
  186. package/dist/platform-workbench-Cu14Xd9d.js +0 -10299
@@ -1,10 +1,10 @@
1
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";
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
5
  //#region src/platform-components/staticTreeResourceModuleContext.ts
6
- function de(e, t = {}) {
7
- let n = t.client ?? O(t.emptyQueryScopeName);
6
+ function pe(e, t = {}) {
7
+ let n = t.client ?? D(t.emptyQueryScopeName);
8
8
  return {
9
9
  ...e,
10
10
  crud: n,
@@ -19,23 +19,23 @@ function de(e, t = {}) {
19
19
  }
20
20
  };
21
21
  }
22
- function O(e = "static.empty") {
22
+ function D(e = "static.empty") {
23
23
  return {
24
- querySchema: async () => k(e),
25
- query: async () => A(),
24
+ querySchema: async () => O(e),
25
+ query: async () => k(),
26
26
  view: async () => ({}),
27
27
  insert: async (e) => ({ record: e }),
28
28
  update: async (e, t) => ({ record: t }),
29
29
  delete: async () => 0,
30
30
  enable: async () => 0,
31
31
  disable: async () => 0,
32
- tree: async () => j(),
33
- treeFlat: async () => M(),
34
- subtree: async () => j(),
32
+ tree: async () => A(),
33
+ treeFlat: async () => j(),
34
+ subtree: async () => A(),
35
35
  sort: async () => 0
36
36
  };
37
37
  }
38
- function k(e) {
38
+ function O(e) {
39
39
  return {
40
40
  scopeName: e,
41
41
  quickSearch: {
@@ -48,7 +48,7 @@ function k(e) {
48
48
  defaultSorts: []
49
49
  };
50
50
  }
51
- function A() {
51
+ function k() {
52
52
  return {
53
53
  records: [],
54
54
  total: 0,
@@ -58,34 +58,34 @@ function A() {
58
58
  totalKnown: !0
59
59
  };
60
60
  }
61
- function j() {
61
+ function A() {
62
62
  return { records: [] };
63
63
  }
64
- function M() {
64
+ function j() {
65
65
  return { records: [] };
66
66
  }
67
67
  //#endregion
68
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 = {
69
+ var me = { class: "action-declaration-section" }, he = { class: "permission-governance-section" }, ge = { class: "governance-grid" }, _e = { class: "governance-item" }, ve = {
70
70
  type: "button",
71
71
  class: "governance-help",
72
72
  "aria-label": "访问方式说明"
73
- }, N = { class: "governance-reset-slot" }, P = { class: "governance-item" }, F = {
73
+ }, ye = { class: "governance-reset-slot" }, M = { class: "governance-item" }, N = {
74
74
  type: "button",
75
75
  class: "governance-help",
76
76
  "aria-label": "默认授予策略说明"
77
- }, I = { class: "governance-reset-slot" }, L = { class: "governance-item" }, _e = {
77
+ }, P = { class: "governance-reset-slot" }, be = { class: "governance-item" }, xe = {
78
78
  type: "button",
79
79
  class: "governance-help",
80
80
  "aria-label": "动作授权说明"
81
- }, ve = { class: "governance-reset-slot" }, ye = { class: "governance-switch-control" }, be = { class: "governance-item" }, xe = {
81
+ }, Se = { class: "governance-reset-slot" }, Ce = { class: "governance-switch-control" }, we = { class: "governance-item" }, Te = {
82
82
  type: "button",
83
83
  class: "governance-help",
84
84
  "aria-label": "数据授权说明"
85
- }, Se = { class: "governance-reset-slot" }, Ce = { class: "governance-switch-control" }, we = { key: 0 }, Te = {
85
+ }, Ee = { class: "governance-reset-slot" }, De = { class: "governance-switch-control" }, Oe = { key: 0 }, ke = {
86
86
  key: 1,
87
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({
88
+ }, Ae = { class: "checkbox-field" }, je = { class: "checkbox-field" }, Me = { class: "wide-field" }, Ne = { class: "wide-field" }, F = /*@__PURE__*/ b({
89
89
  name: "ModuleActionManagementView",
90
90
  __name: "ModuleActionManagementView",
91
91
  props: {
@@ -95,11 +95,11 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
95
95
  title: {}
96
96
  },
97
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),
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
103
  copyRecord: (e) => ({ ...e }),
104
104
  titleOf: Q,
105
105
  fallbackTitle: "模块动作",
@@ -114,16 +114,16 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
114
114
  deleteDeniedMessage: () => "当前用户无权删除模块动作",
115
115
  canDeleteRecord: (e) => e.systemManaged !== !0,
116
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);
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
121
  });
122
- le("模块动作", () => Ne.value);
123
- let Pe = m(() => je.value), Fe = m(() => A.value.map((e) => ({
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
124
  value: e.executorKey,
125
125
  label: e.description ? `${e.title} · ${e.description}` : e.title
126
- }))), Ie = m(() => (A.value.find((e) => e.executorKey === R.value.executorKey)?.supportedLevels ?? [
126
+ }))), ze = p(() => (A.value.find((e) => e.executorKey === I.value.executorKey)?.supportedLevels ?? [
127
127
  "LIST",
128
128
  "RECORD",
129
129
  "BATCH",
@@ -136,34 +136,34 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
136
136
  BATCH: "批量",
137
137
  ANY: "任意"
138
138
  }[e]
139
- }))), Le = m(() => [
139
+ }))), Be = p(() => [
140
140
  "actionCode",
141
141
  "title",
142
142
  "category",
143
143
  "actionLevel",
144
144
  "accessMode",
145
145
  "executorType",
146
- ...Z(R.value.executorKey) ? ["executorKey"] : [],
146
+ ...Z(I.value.executorKey) ? ["executorKey"] : [],
147
147
  "actionAuth",
148
148
  "dataAuth",
149
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(() => [
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
155
  "actionCode",
156
156
  "title",
157
157
  "category",
158
158
  "actionLevel",
159
159
  "executorType",
160
- ...Z(R.value.executorKey) ? ["executorKey"] : [],
161
- ...R.value.sourceType ? ["sourceType"] : []
160
+ ...Z(I.value.executorKey) ? ["executorKey"] : [],
161
+ ...I.value.sourceType ? ["sourceType"] : []
162
162
  ]);
163
- ue(() => void K());
164
- let ze = m(() => j.readonly.value), H = m(() => ze.value || j.saving.value), Be = m(() => {
163
+ fe(() => void Je());
164
+ let He = p(() => j.readonly.value), U = p(() => He.value || j.saving.value), Ue = p(() => {
165
165
  if (j.mode.value !== "view") return [
166
- ...j.mode.value === "edit" && j.selected.value?.systemManaged === !0 && Ue(R.value) ? [{
166
+ ...j.mode.value === "edit" && j.selected.value?.systemManaged === !0 && Ke(I.value) ? [{
167
167
  key: "reset-permission-governance",
168
168
  actionCode: "update",
169
169
  title: "全部重置",
@@ -197,7 +197,7 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
197
197
  disabled: !e || e.systemManaged === !0 || !j.canDelete.value
198
198
  }];
199
199
  });
200
- function Ve(e) {
200
+ function We(e) {
201
201
  let t = e;
202
202
  return {
203
203
  title: Q(t),
@@ -206,10 +206,10 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
206
206
  muted: t.enabled === !1
207
207
  };
208
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();
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
211
  }
212
- function Ue(e) {
212
+ function Ke(e) {
213
213
  return [
214
214
  e.accessModeOverride,
215
215
  e.actionAuthOverride,
@@ -217,13 +217,13 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
217
217
  e.defaultGrantPolicyOverride
218
218
  ].some((e) => e != null);
219
219
  }
220
- function U(e) {
221
- return R.value[e] != null;
222
- }
223
220
  function W(e) {
224
- G(e, void 0);
221
+ return I.value[e] != null;
225
222
  }
226
- function We() {
223
+ function G(e) {
224
+ K(e, void 0);
225
+ }
226
+ function qe() {
227
227
  j.draft.value = {
228
228
  ...j.draft.value,
229
229
  accessModeOverride: void 0,
@@ -232,28 +232,28 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
232
232
  defaultGrantPolicyOverride: void 0
233
233
  };
234
234
  }
235
- function G(e, t) {
235
+ function K(e, t) {
236
236
  j.draft.value = {
237
237
  ...j.draft.value,
238
238
  [e]: t ?? void 0
239
239
  };
240
240
  }
241
- async function K() {
241
+ async function Je() {
242
242
  try {
243
- A.value = await x.http.request({ path: "/platform.module/action-executors" });
243
+ A.value = await b.http.request({ path: "/platform.module/action-executors" });
244
244
  } catch (e) {
245
- A.value = [], oe(e, {
245
+ A.value = [], ne(e, {
246
246
  source: "module-action-management",
247
247
  phase: "load"
248
248
  });
249
249
  }
250
250
  }
251
- function Ge() {
251
+ function Ye() {
252
252
  j.startCreate();
253
253
  }
254
- function Ke(e) {
254
+ function Xe(e) {
255
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]);
256
+ K("executorKey", t), n?.supportedLevels.length && K("actionLevel", n.supportedLevels[0]);
257
257
  }
258
258
  function q(e) {
259
259
  return {
@@ -342,68 +342,86 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
342
342
  }
343
343
  }[e]?.[t] : void 0;
344
344
  }
345
- return (t, i) => (S(), h(T(se), {
345
+ return (t, r) => (x(), m(w(ce), {
346
346
  "explorer-title": "模块动作",
347
347
  "refresh-title": "刷新动作",
348
- mode: T(z),
349
- "detail-title": T(Ae),
350
- "explorer-search-keyword": k.value,
348
+ mode: w(L),
349
+ "detail-title": w(Pe),
350
+ "explorer-search-keyword": O.value,
351
351
  "explorer-search-placeholder": "搜索动作名称或编码",
352
- "onUpdate:explorerSearchKeyword": i[22] ||= (e) => k.value = e,
353
- onRefresh: i[23] ||= (e) => B.value += 1
352
+ "onUpdate:explorerSearchKeyword": r[23] ||= (e) => O.value = e,
353
+ onRefresh: r[24] ||= (e) => R.value += 1
354
354
  }, {
355
- "explorer-actions": E(() => [b(T(ne), {
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), {
356
372
  class: "record-panel-create-button",
357
- context: T(O),
373
+ context: w(D),
358
374
  "action-code": "create",
359
375
  title: "新建动作",
360
376
  "icon-only": "",
361
- disabled: !Pe.value || T(V),
362
- onClick: Ge
377
+ disabled: !Le.value || w(z),
378
+ onClick: Ye
363
379
  }, 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,
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,
369
386
  "empty-description": "当前模块暂无动作",
370
387
  "loading-tip": "加载模块动作",
371
388
  "fallback-title": "未命名动作",
372
- "item-of": Ve,
373
- onLoaded: i[0] ||= (e) => T(j).handleListLoaded(e),
374
- onSelect: i[1] ||= (e) => T(j).handleSelect(e)
389
+ "item-of": We,
390
+ onLoaded: r[1] ||= (e) => w(j).handleListLoaded(e),
391
+ onSelect: r[2] ||= (e) => w(j).handleSelect(e)
375
392
  }, null, 8, [
376
393
  "context",
377
394
  "selected-id",
378
395
  "reload-key",
379
- "keyword"
396
+ "keyword",
397
+ "sorting"
380
398
  ])]),
381
- "detail-status": E(() => [T(z) === "view" && T(M) ? (S(), h(T(ee), {
399
+ "detail-status": T(() => [w(L) === "view" && w(F) ? (x(), m(w(te), {
382
400
  key: 0,
383
- enabled: T(M).enabled,
384
- disabled: T(V) || T(M).systemManaged === !0 || !T(Me),
385
- loading: T(V),
401
+ enabled: w(F).enabled,
402
+ disabled: w(z) || w(F).systemManaged === !0 || !w(Fe),
403
+ loading: w(z),
386
404
  "show-label": !1,
387
- onChange: T(j).toggleEnabled
405
+ onChange: w(j).toggleEnabled
388
406
  }, null, 8, [
389
407
  "enabled",
390
408
  "disabled",
391
409
  "loading",
392
410
  "onChange"
393
- ])) : g("v-if", !0)]),
394
- "detail-actions": E(() => [b(T(ie), {
395
- context: T(O),
396
- actions: Be.value,
397
- onAction: He
411
+ ])) : h("v-if", !0)]),
412
+ "detail-actions": T(() => [y(w(ae), {
413
+ context: w(D),
414
+ actions: Ue.value,
415
+ onAction: Ge
398
416
  }, null, 8, ["context", "actions"])]),
399
- default: E(() => [!T(M) && T(z) === "view" ? (S(), h(T(te), {
417
+ default: T(() => [!w(F) && w(L) === "view" ? (x(), m(w(le), {
400
418
  key: 0,
401
419
  description: e.moduleKind === "static" ? "静态模块动作由 Java 声明自动注册" : "当前模块暂无动作"
402
- }, null, 8, ["description"])) : T(z) === "view" && T(M) ? (S(), h(T(r), {
420
+ }, null, 8, ["description"])) : w(L) === "view" && w(F) ? (x(), m(w(s), {
403
421
  key: 1,
404
- record: T(R),
422
+ record: w(I),
405
423
  "display-of": $,
406
- "field-names": Le.value,
424
+ "field-names": Be.value,
407
425
  fallback: {
408
426
  actionCode: { label: "动作编码" },
409
427
  title: { label: "动作名称" },
@@ -420,14 +438,14 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
420
438
  sourceType: { label: "注册来源" },
421
439
  bindingAlias: { label: "绑定标识" }
422
440
  }
423
- }, null, 8, ["record", "field-names"])) : T(z) !== "create" && T(M)?.systemManaged ? (S(), _("form", {
441
+ }, null, 8, ["record", "field-names"])) : w(L) !== "create" && w(F)?.systemManaged ? (x(), g("form", {
424
442
  key: 2,
425
443
  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),
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),
429
447
  "display-of": $,
430
- "field-names": Re.value,
448
+ "field-names": Ve.value,
431
449
  fallback: {
432
450
  actionCode: { label: "动作编码" },
433
451
  title: { label: "动作名称" },
@@ -437,22 +455,22 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
437
455
  executorKey: { label: "执行实现" },
438
456
  sourceType: { label: "注册来源" }
439
457
  }
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" })])]),
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" })])]),
443
461
  _: 1
444
- })])]), v("span", N, [U("accessModeOverride") ? (S(), h(T(s), {
462
+ })])]), _("span", ye, [W("accessModeOverride") ? (x(), m(w(o), {
445
463
  key: 0,
446
464
  type: "text",
447
465
  size: "small",
448
- disabled: H.value,
449
- onClick: i[2] ||= (e) => W("accessModeOverride")
466
+ disabled: U.value,
467
+ onClick: r[3] ||= (e) => G("accessModeOverride")
450
468
  }, {
451
- default: E(() => [...i[26] ||= [y("重置", -1)]]),
469
+ default: T(() => [...r[27] ||= [v("重置", -1)]]),
452
470
  _: 1
453
- }, 8, ["disabled"])) : g("v-if", !0)])]), b(T(p), {
454
- value: T(R).accessModeOverride ?? T(R).accessMode,
455
- disabled: H.value,
471
+ }, 8, ["disabled"])) : h("v-if", !0)])]), y(w(f), {
472
+ value: w(I).accessModeOverride ?? w(I).accessMode,
473
+ disabled: U.value,
456
474
  options: [
457
475
  {
458
476
  label: "需要授权",
@@ -467,23 +485,23 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
467
485
  value: "ANONYMOUS_ALLOWED"
468
486
  }
469
487
  ],
470
- "onUpdate:value": i[3] ||= (e) => G("accessModeOverride", e)
488
+ "onUpdate:value": r[4] ||= (e) => K("accessModeOverride", e)
471
489
  }, 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" })])]),
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" })])]),
474
492
  _: 1
475
- })])]), v("span", I, [U("defaultGrantPolicyOverride") ? (S(), h(T(s), {
493
+ })])]), _("span", P, [W("defaultGrantPolicyOverride") ? (x(), m(w(o), {
476
494
  key: 0,
477
495
  type: "text",
478
496
  size: "small",
479
- disabled: H.value,
480
- onClick: i[4] ||= (e) => W("defaultGrantPolicyOverride")
497
+ disabled: U.value,
498
+ onClick: r[5] ||= (e) => G("defaultGrantPolicyOverride")
481
499
  }, {
482
- default: E(() => [...i[28] ||= [y("重置", -1)]]),
500
+ default: T(() => [...r[29] ||= [v("重置", -1)]]),
483
501
  _: 1
484
- }, 8, ["disabled"])) : g("v-if", !0)])]), b(T(p), {
485
- value: T(R).defaultGrantPolicyOverride ?? T(R).defaultGrantPolicy,
486
- disabled: H.value,
502
+ }, 8, ["disabled"])) : h("v-if", !0)])]), y(w(f), {
503
+ value: w(I).defaultGrantPolicyOverride ?? w(I).defaultGrantPolicy,
504
+ disabled: U.value,
487
505
  options: [
488
506
  {
489
507
  label: "不默认授予",
@@ -506,75 +524,75 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
506
524
  value: "MEMBER"
507
525
  }
508
526
  ],
509
- "onUpdate:value": i[5] ||= (e) => G("defaultGrantPolicyOverride", e)
527
+ "onUpdate:value": r[6] ||= (e) => K("defaultGrantPolicyOverride", e)
510
528
  }, 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" })])]),
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" })])]),
513
531
  _: 1
514
- })])]), v("span", ve, [U("actionAuthOverride") ? (S(), h(T(s), {
532
+ })])]), _("span", Se, [W("actionAuthOverride") ? (x(), m(w(o), {
515
533
  key: 0,
516
534
  type: "text",
517
535
  size: "small",
518
- disabled: H.value,
519
- onClick: i[6] ||= (e) => W("actionAuthOverride")
536
+ disabled: U.value,
537
+ onClick: r[7] ||= (e) => G("actionAuthOverride")
520
538
  }, {
521
- default: E(() => [...i[30] ||= [y("重置", -1)]]),
539
+ default: T(() => [...r[31] ||= [v("重置", -1)]]),
522
540
  _: 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,
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,
526
544
  "checked-text": "开",
527
545
  "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" })])]),
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" })])]),
532
550
  _: 1
533
- })])]), v("span", Se, [U("dataAuthOverride") ? (S(), h(T(s), {
551
+ })])]), _("span", Ee, [W("dataAuthOverride") ? (x(), m(w(o), {
534
552
  key: 0,
535
553
  type: "text",
536
554
  size: "small",
537
- disabled: H.value,
538
- onClick: i[8] ||= (e) => W("dataAuthOverride")
555
+ disabled: U.value,
556
+ onClick: r[9] ||= (e) => G("dataAuthOverride")
539
557
  }, {
540
- default: E(() => [...i[32] ||= [y("重置", -1)]]),
558
+ default: T(() => [...r[33] ||= [v("重置", -1)]]),
541
559
  _: 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,
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,
545
563
  "checked-text": "开",
546
564
  "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", {
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", {
550
568
  key: 3,
551
569
  class: "static-record-form",
552
- onSubmit: i[21] ||= D((...e) => T(j).save && T(j).save(...e), ["prevent"])
570
+ onSubmit: r[22] ||= E((...e) => w(j).save && w(j).save(...e), ["prevent"])
553
571
  }, [
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)
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)
559
577
  }, 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)
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)
564
582
  }, 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)
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)
570
588
  }, null, 8, [
571
589
  "value",
572
590
  "disabled",
573
591
  "options"
574
592
  ])]),
575
- v("label", null, [i[37] ||= v("span", null, "访问方式", -1), b(T(p), {
576
- value: T(R).accessMode,
577
- disabled: H.value,
593
+ _("label", null, [r[38] ||= _("span", null, "访问方式", -1), y(w(f), {
594
+ value: w(I).accessMode,
595
+ disabled: U.value,
578
596
  options: [
579
597
  {
580
598
  label: "需要授权",
@@ -589,40 +607,40 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
589
607
  value: "ANONYMOUS_ALLOWED"
590
608
  }
591
609
  ],
592
- "onUpdate:value": i[14] ||= (e) => G("accessMode", e)
610
+ "onUpdate:value": r[15] ||= (e) => K("accessMode", e)
593
611
  }, 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,
612
+ e.moduleKind === "dynamic" ? (x(), g("label", Oe, [r[39] ||= _("span", null, "执行能力(可稍后绑定)", -1), y(w(f), {
613
+ value: w(I).executorKey,
596
614
  "allow-clear": "",
597
615
  placeholder: "待绑定",
598
- disabled: H.value,
599
- options: Fe.value,
600
- "onUpdate:value": i[15] ||= (e) => Ke(e)
616
+ disabled: U.value,
617
+ options: Re.value,
618
+ "onUpdate:value": r[16] ||= (e) => Xe(e)
601
619
  }, null, 8, [
602
620
  "value",
603
621
  "disabled",
604
622
  "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)
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)
611
629
  }, {
612
- default: E(() => [...i[39] ||= [y("启用动作授权", -1)]]),
630
+ default: T(() => [...r[40] ||= [v("启用动作授权", -1)]]),
613
631
  _: 1
614
632
  }, 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)
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)
619
637
  }, {
620
- default: E(() => [...i[40] ||= [y("启用数据授权", -1)]]),
638
+ default: T(() => [...r[41] ||= [v("启用数据授权", -1)]]),
621
639
  _: 1
622
640
  }, 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,
641
+ _("label", null, [r[42] ||= _("span", null, "默认授予策略", -1), y(w(f), {
642
+ value: w(I).defaultGrantPolicy,
643
+ disabled: U.value,
626
644
  options: [
627
645
  {
628
646
  label: "不默认授予",
@@ -645,22 +663,22 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
645
663
  value: "MEMBER"
646
664
  }
647
665
  ],
648
- "onUpdate:value": i[18] ||= (e) => G("defaultGrantPolicy", e)
666
+ "onUpdate:value": r[19] ||= (e) => K("defaultGrantPolicy", e)
649
667
  }, 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)
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)
654
672
  }, 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)
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)
659
677
  }, null, 8, ["value", "disabled"])])
660
- ], 32)), T(M) || T(z) !== "view" ? (S(), h(T(ce), {
678
+ ], 32)), w(F) || w(L) !== "view" ? (x(), m(w(ue), {
661
679
  key: 4,
662
- record: T(R)
663
- }, null, 8, ["record"])) : g("v-if", !0)]),
680
+ record: w(I)
681
+ }, null, 8, ["record"])) : h("v-if", !0)]),
664
682
  _: 1
665
683
  }, 8, [
666
684
  "mode",
@@ -668,6 +686,6 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
668
686
  "explorer-search-keyword"
669
687
  ]));
670
688
  }
671
- }), z = /* @__PURE__ */ e({ default: () => B }), B = /*#__PURE__*/ d(R, [["__scopeId", "data-v-68b1667d"]]);
689
+ }), I = /* @__PURE__ */ e({ default: () => L }), L = /*#__PURE__*/ r(F, [["__scopeId", "data-v-c2404f92"]]);
672
690
  //#endregion
673
- export { z as n, B as t };
691
+ export { I as n, L as t };