@ximatai/muyun-web-app 0.26.12 → 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 (122) 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-BHEooZ5L.js → ModuleActionManagementView-Dkb35QXc.js} +139 -138
  5. package/dist/{ModuleGovernanceView-DB3TWlMy.js → ModuleGovernanceView-Dx43QvGf.js} +2878 -2748
  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 +505 -475
  12. package/dist/{moduleGovernanceWorkspaceView-C5pqJOEJ.js → moduleGovernanceWorkspaceView-4V_UW-Bt.js} +2 -2
  13. package/dist/platform-components-1cvOeHmo.js +17854 -0
  14. package/dist/platform-workbench-Cu14Xd9d.js +10299 -0
  15. package/dist/types/consumer/index.d.ts +7 -0
  16. package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +2208 -0
  17. package/dist/types/dynamic-page-runtime/ModulePageBusinessState.vue.d.ts +11 -0
  18. package/dist/types/dynamic-page-runtime/ModulePageHost.vue.d.ts +20 -4
  19. package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +4431 -0
  20. package/dist/types/dynamic-page-runtime/ModulePageHostSession.vue.d.ts +43 -0
  21. package/dist/types/dynamic-page-runtime/ModulePageRecordContent.vue.d.ts +2 -2
  22. package/dist/types/dynamic-page-runtime/ModuleRecordDetailActions.vue.d.ts +3 -0
  23. package/dist/types/dynamic-page-runtime/ModuleReferenceRecordDetailBrowser.vue.d.ts +42 -0
  24. package/dist/types/dynamic-page-runtime/RecordFormSurface.vue.d.ts +2 -2
  25. package/dist/types/dynamic-page-runtime/TenantScopeExplorer.vue.d.ts +21 -0
  26. package/dist/types/dynamic-page-runtime/composables/useModulePageActions.d.ts +1 -1
  27. package/dist/types/dynamic-page-runtime/composables/useModulePageDetailActionRuntime.d.ts +5 -0
  28. package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +1 -0
  29. package/dist/types/dynamic-page-runtime/formActionResult.d.ts +2 -0
  30. package/dist/types/dynamic-page-runtime/index.d.ts +2 -0
  31. package/dist/types/dynamic-page-runtime/inputValidationActionStatus.d.ts +20 -0
  32. package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +7 -3
  33. package/dist/types/dynamic-page-runtime/modulePageUnsavedState.d.ts +10 -0
  34. package/dist/types/dynamic-page-runtime/recordDetailController.d.ts +1 -0
  35. package/dist/types/dynamic-page-runtime/recordMutationPayload.d.ts +3 -2
  36. package/dist/types/dynamic-page-runtime/referenceRecordProjection.d.ts +6 -0
  37. package/dist/types/dynamic-page-runtime/sessionViewBindings.d.ts +3 -0
  38. package/dist/types/dynamic-page-runtime/sourceReferencePickerConfig.d.ts +26 -0
  39. package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +1728 -0
  40. package/dist/types/dynamic-page-runtime/useTenantScopeController.d.ts +18 -0
  41. package/dist/types/platform-admin-runtime/WorkspaceViewDrawer.vue.d.ts +5 -0
  42. package/dist/types/platform-admin-runtime/role/roleScopeSelectionClient.d.ts +52 -0
  43. package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +5 -2
  44. package/dist/types/platform-components/DictionaryOptionDialog.vue.d.ts +37 -0
  45. package/dist/types/platform-components/DictionaryOptionDialogChoiceList.vue.d.ts +21 -0
  46. package/dist/types/platform-components/DictionaryPicker.vue.d.ts +47 -0
  47. package/dist/types/platform-components/DictionaryRadioGroup.vue.d.ts +20 -0
  48. package/dist/types/platform-components/EmployeePicker.vue.d.ts +40 -0
  49. package/dist/types/platform-components/FileTransferUploader.vue.d.ts +1 -1
  50. package/dist/types/platform-components/ObjectPickerInput.vue.d.ts +34 -0
  51. package/dist/types/platform-components/QueryCriteriaComposer.vue.d.ts +29 -0
  52. package/dist/types/platform-components/QueryCriteriaGroupEditor.vue.d.ts +36 -0
  53. package/dist/types/platform-components/QueryValueEditor.vue.d.ts +33 -0
  54. package/dist/types/platform-components/ReadonlyReferenceValue.vue.d.ts +11 -0
  55. package/dist/types/platform-components/RecordContentSectionHeading.vue.d.ts +4 -2
  56. package/dist/types/platform-components/RecordDetailDrawer.vue.d.ts +8 -3
  57. package/dist/types/platform-components/RecordDetailExtensionSection.vue.d.ts +7 -3
  58. package/dist/types/platform-components/RecordDetailFields.vue.d.ts +3 -5
  59. package/dist/types/platform-components/RecordFormFields.vue.d.ts +5 -5
  60. package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +11 -3
  61. package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +2 -2
  62. package/dist/types/platform-components/RecordPicker.vue.d.ts +2 -2
  63. package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +18 -4
  64. package/dist/types/platform-components/RecordQueryListSurface.vue.d.ts +20 -0
  65. package/dist/types/platform-components/ReferencePicker.vue.d.ts +47 -0
  66. package/dist/types/platform-components/ReferenceRecordDetailBrowser.vue.d.ts +55 -0
  67. package/dist/types/platform-components/ScopedTreePicker.vue.d.ts +31 -0
  68. package/dist/types/platform-components/UserPicker.vue.d.ts +47 -0
  69. package/dist/types/platform-components/dictionaryOptionDialogModel.d.ts +23 -0
  70. package/dist/types/platform-components/employeePickerModel.d.ts +19 -0
  71. package/dist/types/platform-components/identityPickerModel.d.ts +18 -0
  72. package/dist/types/platform-components/index.d.ts +28 -1
  73. package/dist/types/platform-components/optionFieldOptionCache.d.ts +1 -1
  74. package/dist/types/platform-components/queryCriteriaDraft.d.ts +24 -0
  75. package/dist/types/platform-components/queryReferencePickerProvider.d.ts +19 -0
  76. package/dist/types/platform-components/readonlyReferenceDisplay.d.ts +19 -0
  77. package/dist/types/platform-components/recordEditorSessionState.d.ts +11 -4
  78. package/dist/types/platform-components/recordFormFieldModel.d.ts +28 -2
  79. package/dist/types/platform-components/recordQueryListColumnModel.d.ts +3 -1
  80. package/dist/types/platform-components/referencePickerModel.d.ts +103 -0
  81. package/dist/types/platform-components/referencePickerReadError.d.ts +24 -0
  82. package/dist/types/platform-components/referenceRecordDetailBrowser.d.ts +48 -0
  83. package/dist/types/platform-components/scopedTreePickerModel.d.ts +46 -0
  84. package/dist/types/platform-components/sourceReferencePickerProvider.d.ts +26 -0
  85. package/dist/types/platform-components/staticCrudManagementState.d.ts +7 -6
  86. package/dist/types/platform-components/userPickerModel.d.ts +45 -0
  87. package/dist/types/platform-components/userReferencePicker.d.ts +17 -0
  88. package/dist/types/platform-workbench/useWorkspaceViewUnsavedState.d.ts +1 -1
  89. package/dist/types/platform-workbench/workspaceViewHost.d.ts +1 -1
  90. package/dist/types/platform-workbench/workspaceViewUnsavedState.d.ts +3 -1
  91. package/dist/types/views/BusinessActivityLogView.vue.d.ts +3 -0
  92. package/dist/types/views/BusinessLogListDrawer.vue.d.ts +9 -0
  93. package/dist/types/views/LoginAuditLogView.vue.d.ts +3 -0
  94. package/dist/types/views/RequestErrorLogView.vue.d.ts +3 -0
  95. package/dist/types/views/RuntimeLogView.vue.d.ts +3 -0
  96. package/dist/types/views/businessLogClient.d.ts +85 -0
  97. package/dist/types/views/dictionaryRadioEligibility.d.ts +18 -0
  98. package/dist/types/views/dictionaryRadioFactRequestEpoch.d.ts +10 -0
  99. package/dist/types/views/metadataModelEditSession.d.ts +10 -1
  100. package/dist/types/views/pageCompositionDraftState.d.ts +29 -0
  101. package/dist/types/views/roleDetailWorkspaceSession.d.ts +1 -0
  102. package/dist/types/views/roleGrantClient.d.ts +0 -1
  103. package/dist/types/views/runtimeLogClient.d.ts +12 -0
  104. package/dist/types/views/runtimeLogSse.d.ts +13 -0
  105. package/dist/types/vue-ui-antdv/components/UiDataTable.vue.d.ts +15 -0
  106. package/dist/types/vue-ui-antdv/components/UiSearchInput.vue.d.ts +16 -2
  107. package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +23 -1
  108. package/dist/types/vue-ui-antdv/components/UiSidePanel.vue.d.ts +9 -2
  109. package/dist/types/vue-ui-antdv/components/UiTree.vue.d.ts +1 -1
  110. package/dist/types/vue-ui-antdv/components/UiTreeSelect.vue.d.ts +23 -1
  111. package/dist/types/vue-ui-antdv/drawerDismissal.d.ts +18 -0
  112. package/dist/types/vue-ui-antdv/drawerWidth.d.ts +22 -0
  113. package/dist/types/vue-ui-antdv/index.d.ts +4 -0
  114. package/dist/types/web-contracts/index.d.ts +66 -6
  115. package/dist/types/web-core/http.d.ts +2 -0
  116. package/dist/types/web-core/module/moduleContext.d.ts +15 -2
  117. package/dist/types/web-core/module/runtimeContext.d.ts +3 -2
  118. package/dist/types/web-core/module/staticModuleClient.d.ts +5 -1
  119. package/dist/{workspaceViews-DI_1vYX9.js → workspaceViews-CCg6V0pr.js} +1245 -1140
  120. package/package.json +1 -1
  121. package/dist/RoleDetailWorkspaceView-D6X7pAj5.js +0 -1379
  122. package/dist/platform-workbench-DJj42YQP.js +0 -22911
@@ -1,9 +1,10 @@
1
1
  import { n as e } from "./rolldown-runtime-DPVXH0ON.js";
2
- import { Dn as t, En as n, F as ee, G as r, Jn as i, Rn as te, Sn as a, T as ne, Tn as o, Zt as re, _n as s, bn as c, cn as l, et as ie, gt as ae, in as oe, j as se, k as ce, mn as u, st as le, t as ue, vt as de, xn as d } from "./platform-workbench-DJj42YQP.js";
3
- import { computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createTextVNode as _, createVNode as v, defineComponent as y, onMounted as fe, openBlock as b, ref as x, toDisplayString as S, unref as C, withCtx as w, withModifiers as T } from "vue";
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";
4
5
  //#region src/platform-components/staticTreeResourceModuleContext.ts
5
- function pe(e, t = {}) {
6
- let n = t.client ?? E(t.emptyQueryScopeName);
6
+ function de(e, t = {}) {
7
+ let n = t.client ?? O(t.emptyQueryScopeName);
7
8
  return {
8
9
  ...e,
9
10
  crud: n,
@@ -18,23 +19,23 @@ function pe(e, t = {}) {
18
19
  }
19
20
  };
20
21
  }
21
- function E(e = "static.empty") {
22
+ function O(e = "static.empty") {
22
23
  return {
23
- querySchema: async () => D(e),
24
- query: async () => O(),
24
+ querySchema: async () => k(e),
25
+ query: async () => A(),
25
26
  view: async () => ({}),
26
27
  insert: async (e) => ({ record: e }),
27
28
  update: async (e, t) => ({ record: t }),
28
29
  delete: async () => 0,
29
30
  enable: async () => 0,
30
31
  disable: async () => 0,
31
- tree: async () => k(),
32
- treeFlat: async () => A(),
33
- subtree: async () => k(),
32
+ tree: async () => j(),
33
+ treeFlat: async () => M(),
34
+ subtree: async () => j(),
34
35
  sort: async () => 0
35
36
  };
36
37
  }
37
- function D(e) {
38
+ function k(e) {
38
39
  return {
39
40
  scopeName: e,
40
41
  quickSearch: {
@@ -47,7 +48,7 @@ function D(e) {
47
48
  defaultSorts: []
48
49
  };
49
50
  }
50
- function O() {
51
+ function A() {
51
52
  return {
52
53
  records: [],
53
54
  total: 0,
@@ -57,15 +58,15 @@ function O() {
57
58
  totalKnown: !0
58
59
  };
59
60
  }
60
- function k() {
61
+ function j() {
61
62
  return { records: [] };
62
63
  }
63
- function A() {
64
+ function M() {
64
65
  return { records: [] };
65
66
  }
66
67
  //#endregion
67
68
  //#region src/views/ModuleActionManagementView.vue?vue&type=script&setup=true&lang.ts
68
- var me = { class: "action-declaration-section" }, he = { class: "permission-governance-section" }, ge = { class: "governance-grid" }, j = { class: "governance-item" }, M = {
69
+ var fe = { class: "action-declaration-section" }, pe = { class: "permission-governance-section" }, me = { class: "governance-grid" }, he = { class: "governance-item" }, ge = {
69
70
  type: "button",
70
71
  class: "governance-help",
71
72
  "aria-label": "访问方式说明"
@@ -84,7 +85,7 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
84
85
  }, Se = { class: "governance-reset-slot" }, Ce = { class: "governance-switch-control" }, we = { key: 0 }, Te = {
85
86
  key: 1,
86
87
  class: "form-hint wide-field"
87
- }, Ee = { class: "checkbox-field" }, De = { class: "checkbox-field" }, Oe = { class: "wide-field" }, ke = { class: "wide-field" }, R = /*@__PURE__*/ y({
88
+ }, Ee = { class: "checkbox-field" }, De = { class: "checkbox-field" }, Oe = { class: "wide-field" }, ke = { class: "wide-field" }, R = /*@__PURE__*/ x({
88
89
  name: "ModuleActionManagementView",
89
90
  __name: "ModuleActionManagementView",
90
91
  props: {
@@ -94,11 +95,11 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
94
95
  title: {}
95
96
  },
96
97
  setup(e) {
97
- let t = e, y = te({ moduleAlias: "platform.module_action" }), E = pe(y, { client: i(y.http, `/platform.module/${encodeURIComponent(t.moduleAlias)}/actions`) }), D = x(""), O = x([]), k = ne({
98
- context: E,
99
- confirmAction: re,
100
- emptyDraft: () => q(t.moduleAlias),
101
- normalizeDraft: (e) => J(e, t.moduleAlias),
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),
102
103
  copyRecord: (e) => ({ ...e }),
103
104
  titleOf: Q,
104
105
  fallbackTitle: "模块动作",
@@ -113,16 +114,16 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
113
114
  deleteDeniedMessage: () => "当前用户无权删除模块动作",
114
115
  canDeleteRecord: (e) => e.systemManaged !== !0,
115
116
  canEnableRecord: (e) => e.systemManaged !== !0
116
- }), { selected: A, draft: R, mode: z, reloadKey: B, saving: V, cardTitle: Ae, canCreate: je, canEnable: Me } = k, Ne = f(() => {
117
+ }), { selected: M, draft: R, mode: z, reloadKey: B, saving: V, cardTitle: Ae, canCreate: je, canEnable: Me } = j, Ne = m(() => {
117
118
  if (z.value === "view") return !1;
118
- let e = A.value ? J(A.value, t.moduleAlias) : q(t.moduleAlias);
119
+ let e = M.value ? J(M.value, d.moduleAlias) : q(d.moduleAlias);
119
120
  return JSON.stringify(R.value) !== JSON.stringify(e);
120
121
  });
121
- ue("模块动作", () => Ne.value);
122
- let Pe = f(() => je.value), Fe = f(() => O.value.map((e) => ({
122
+ le("模块动作", () => Ne.value);
123
+ let Pe = m(() => je.value), Fe = m(() => A.value.map((e) => ({
123
124
  value: e.executorKey,
124
125
  label: e.description ? `${e.title} · ${e.description}` : e.title
125
- }))), Ie = f(() => (O.value.find((e) => e.executorKey === R.value.executorKey)?.supportedLevels ?? [
126
+ }))), Ie = m(() => (A.value.find((e) => e.executorKey === R.value.executorKey)?.supportedLevels ?? [
126
127
  "LIST",
127
128
  "RECORD",
128
129
  "BATCH",
@@ -135,7 +136,7 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
135
136
  BATCH: "批量",
136
137
  ANY: "任意"
137
138
  }[e]
138
- }))), Le = f(() => [
139
+ }))), Le = m(() => [
139
140
  "actionCode",
140
141
  "title",
141
142
  "category",
@@ -150,7 +151,7 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
150
151
  ...Z(R.value.unavailableMessage) ? ["unavailableMessage"] : [],
151
152
  ...R.value.sourceType ? ["sourceType"] : [],
152
153
  ...Z(R.value.bindingAlias) ? ["bindingAlias"] : []
153
- ]), Re = f(() => [
154
+ ]), Re = m(() => [
154
155
  "actionCode",
155
156
  "title",
156
157
  "category",
@@ -159,41 +160,41 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
159
160
  ...Z(R.value.executorKey) ? ["executorKey"] : [],
160
161
  ...R.value.sourceType ? ["sourceType"] : []
161
162
  ]);
162
- fe(() => void K());
163
- let ze = f(() => k.readonly.value), H = f(() => ze.value || k.saving.value), Be = f(() => {
164
- if (k.mode.value !== "view") return [
165
- ...k.mode.value === "edit" && k.selected.value?.systemManaged === !0 && Ue(R.value) ? [{
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) ? [{
166
167
  key: "reset-permission-governance",
167
168
  actionCode: "update",
168
169
  title: "全部重置",
169
- disabled: k.saving.value
170
+ disabled: j.saving.value
170
171
  }] : [],
171
172
  {
172
173
  key: "cancel",
173
174
  title: "取消",
174
- disabled: k.saving.value
175
+ disabled: j.saving.value
175
176
  },
176
177
  {
177
178
  key: "save",
178
- actionCode: k.mode.value === "create" ? "create" : "update",
179
- title: k.saving.value ? "保存中" : "保存",
179
+ actionCode: j.mode.value === "create" ? "create" : "update",
180
+ title: j.saving.value ? "保存中" : "保存",
180
181
  primary: !0,
181
- loading: k.saving.value
182
+ loading: j.saving.value
182
183
  }
183
184
  ];
184
- let e = k.selected.value;
185
+ let e = j.selected.value;
185
186
  return [{
186
187
  key: "edit",
187
188
  actionCode: "update",
188
189
  title: "编辑",
189
- disabled: !e || !k.canUpdate.value
190
+ disabled: !e || !j.canUpdate.value
190
191
  }, {
191
192
  key: "delete",
192
193
  actionCode: "delete",
193
194
  title: "删除",
194
195
  danger: !0,
195
- loading: k.saving.value,
196
- disabled: !e || e.systemManaged === !0 || !k.canDelete.value
196
+ loading: j.saving.value,
197
+ disabled: !e || e.systemManaged === !0 || !j.canDelete.value
197
198
  }];
198
199
  });
199
200
  function Ve(e) {
@@ -206,7 +207,7 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
206
207
  };
207
208
  }
208
209
  function He(e) {
209
- e.key === "edit" && k.startEdit(), e.key === "delete" && k.removeSelected(), e.key === "reset-permission-governance" && We(), e.key === "cancel" && k.cancelEdit(), e.key === "save" && k.save();
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();
210
211
  }
211
212
  function Ue(e) {
212
213
  return [
@@ -223,8 +224,8 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
223
224
  G(e, void 0);
224
225
  }
225
226
  function We() {
226
- k.draft.value = {
227
- ...k.draft.value,
227
+ j.draft.value = {
228
+ ...j.draft.value,
228
229
  accessModeOverride: void 0,
229
230
  actionAuthOverride: void 0,
230
231
  dataAuthOverride: void 0,
@@ -232,26 +233,26 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
232
233
  };
233
234
  }
234
235
  function G(e, t) {
235
- k.draft.value = {
236
- ...k.draft.value,
236
+ j.draft.value = {
237
+ ...j.draft.value,
237
238
  [e]: t ?? void 0
238
239
  };
239
240
  }
240
241
  async function K() {
241
242
  try {
242
- O.value = await y.http.request({ path: "/platform.module/action-executors" });
243
+ A.value = await x.http.request({ path: "/platform.module/action-executors" });
243
244
  } catch (e) {
244
- O.value = [], de(e, {
245
+ A.value = [], oe(e, {
245
246
  source: "module-action-management",
246
247
  phase: "load"
247
248
  });
248
249
  }
249
250
  }
250
251
  function Ge() {
251
- k.startCreate();
252
+ j.startCreate();
252
253
  }
253
254
  function Ke(e) {
254
- let t = typeof e == "string" ? e : void 0, n = O.value.find((e) => e.executorKey === t);
255
+ let t = typeof e == "string" ? e : void 0, n = A.value.find((e) => e.executorKey === t);
255
256
  G("executorKey", t), n?.supportedLevels.length && G("actionLevel", n.supportedLevels[0]);
256
257
  }
257
258
  function q(e) {
@@ -341,66 +342,66 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
341
342
  }
342
343
  }[e]?.[t] : void 0;
343
344
  }
344
- return (t, i) => (b(), p(C(ce), {
345
+ return (t, i) => (S(), h(T(se), {
345
346
  "explorer-title": "模块动作",
346
347
  "refresh-title": "刷新动作",
347
- mode: C(z),
348
- "detail-title": C(Ae),
349
- "explorer-search-keyword": D.value,
348
+ mode: T(z),
349
+ "detail-title": T(Ae),
350
+ "explorer-search-keyword": k.value,
350
351
  "explorer-search-placeholder": "搜索动作名称或编码",
351
- "onUpdate:explorerSearchKeyword": i[22] ||= (e) => D.value = e,
352
+ "onUpdate:explorerSearchKeyword": i[22] ||= (e) => k.value = e,
352
353
  onRefresh: i[23] ||= (e) => B.value += 1
353
354
  }, {
354
- "explorer-actions": w(() => [v(C(le), {
355
+ "explorer-actions": E(() => [b(T(ne), {
355
356
  class: "record-panel-create-button",
356
- context: C(E),
357
+ context: T(O),
357
358
  "action-code": "create",
358
359
  title: "新建动作",
359
360
  "icon-only": "",
360
- disabled: !Pe.value || C(V),
361
+ disabled: !Pe.value || T(V),
361
362
  onClick: Ge
362
363
  }, null, 8, ["context", "disabled"])]),
363
- explorer: w(() => [v(C(ae), {
364
- context: C(E),
365
- "selected-id": C(A)?.id,
366
- "reload-key": C(B),
367
- keyword: D.value,
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,
368
369
  "empty-description": "当前模块暂无动作",
369
370
  "loading-tip": "加载模块动作",
370
371
  "fallback-title": "未命名动作",
371
372
  "item-of": Ve,
372
- onLoaded: i[0] ||= (e) => C(k).handleListLoaded(e),
373
- onSelect: i[1] ||= (e) => C(k).handleSelect(e)
373
+ onLoaded: i[0] ||= (e) => T(j).handleListLoaded(e),
374
+ onSelect: i[1] ||= (e) => T(j).handleSelect(e)
374
375
  }, null, 8, [
375
376
  "context",
376
377
  "selected-id",
377
378
  "reload-key",
378
379
  "keyword"
379
380
  ])]),
380
- "detail-status": w(() => [C(z) === "view" && C(A) ? (b(), p(C(ee), {
381
+ "detail-status": E(() => [T(z) === "view" && T(M) ? (S(), h(T(ee), {
381
382
  key: 0,
382
- enabled: C(A).enabled,
383
- disabled: C(V) || C(A).systemManaged === !0 || !C(Me),
384
- loading: C(V),
383
+ enabled: T(M).enabled,
384
+ disabled: T(V) || T(M).systemManaged === !0 || !T(Me),
385
+ loading: T(V),
385
386
  "show-label": !1,
386
- onChange: C(k).toggleEnabled
387
+ onChange: T(j).toggleEnabled
387
388
  }, null, 8, [
388
389
  "enabled",
389
390
  "disabled",
390
391
  "loading",
391
392
  "onChange"
392
- ])) : m("v-if", !0)]),
393
- "detail-actions": w(() => [v(C(ie), {
394
- context: C(E),
393
+ ])) : g("v-if", !0)]),
394
+ "detail-actions": E(() => [b(T(ie), {
395
+ context: T(O),
395
396
  actions: Be.value,
396
397
  onAction: He
397
398
  }, null, 8, ["context", "actions"])]),
398
- default: w(() => [!C(A) && C(z) === "view" ? (b(), p(C(oe), {
399
+ default: E(() => [!T(M) && T(z) === "view" ? (S(), h(T(te), {
399
400
  key: 0,
400
401
  description: e.moduleKind === "static" ? "静态模块动作由 Java 声明自动注册" : "当前模块暂无动作"
401
- }, null, 8, ["description"])) : C(z) === "view" && C(A) ? (b(), p(C(r), {
402
+ }, null, 8, ["description"])) : T(z) === "view" && T(M) ? (S(), h(T(r), {
402
403
  key: 1,
403
- record: C(R),
404
+ record: T(R),
404
405
  "display-of": $,
405
406
  "field-names": Le.value,
406
407
  fallback: {
@@ -419,12 +420,12 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
419
420
  sourceType: { label: "注册来源" },
420
421
  bindingAlias: { label: "绑定标识" }
421
422
  }
422
- }, null, 8, ["record", "field-names"])) : C(z) !== "create" && C(A)?.systemManaged ? (b(), h("form", {
423
+ }, null, 8, ["record", "field-names"])) : T(z) !== "create" && T(M)?.systemManaged ? (S(), _("form", {
423
424
  key: 2,
424
425
  class: "managed-action-editor",
425
- onSubmit: i[10] ||= T((...e) => C(k).save && C(k).save(...e), ["prevent"])
426
- }, [g("section", me, [i[24] ||= g("h3", null, "动作声明", -1), v(C(r), {
427
- record: C(R),
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),
428
429
  "display-of": $,
429
430
  "field-names": Re.value,
430
431
  fallback: {
@@ -436,21 +437,21 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
436
437
  executorKey: { label: "执行实现" },
437
438
  sourceType: { label: "注册来源" }
438
439
  }
439
- }, null, 8, ["record", "field-names"])]), g("section", he, [i[33] ||= g("h3", null, "权限治理", -1), g("div", ge, [
440
- g("section", j, [g("header", null, [g("div", null, [g("h4", null, [i[25] ||= _(" 访问方式 ", -1), v(C(u), { title: "决定调用动作前需要满足的身份条件。" }, {
441
- default: w(() => [g("button", M, [v(C(n), { name: "help" })])]),
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" })])]),
442
443
  _: 1
443
- })])]), g("span", N, [U("accessModeOverride") ? (b(), p(C(o), {
444
+ })])]), v("span", N, [U("accessModeOverride") ? (S(), h(T(s), {
444
445
  key: 0,
445
446
  type: "text",
446
447
  size: "small",
447
448
  disabled: H.value,
448
449
  onClick: i[2] ||= (e) => W("accessModeOverride")
449
450
  }, {
450
- default: w(() => [...i[26] ||= [_("重置", -1)]]),
451
+ default: E(() => [...i[26] ||= [y("重置", -1)]]),
451
452
  _: 1
452
- }, 8, ["disabled"])) : m("v-if", !0)])]), v(C(d), {
453
- value: C(R).accessModeOverride ?? C(R).accessMode,
453
+ }, 8, ["disabled"])) : g("v-if", !0)])]), b(T(p), {
454
+ value: T(R).accessModeOverride ?? T(R).accessMode,
454
455
  disabled: H.value,
455
456
  options: [
456
457
  {
@@ -468,20 +469,20 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
468
469
  ],
469
470
  "onUpdate:value": i[3] ||= (e) => G("accessModeOverride", e)
470
471
  }, null, 8, ["value", "disabled"])]),
471
- g("section", P, [g("header", null, [g("div", null, [g("h4", null, [i[27] ||= _(" 默认授予策略 ", -1), v(C(u), { title: "定义满足条件的用户首次获得动作时的默认规则。" }, {
472
- default: w(() => [g("button", F, [v(C(n), { name: "help" })])]),
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" })])]),
473
474
  _: 1
474
- })])]), g("span", I, [U("defaultGrantPolicyOverride") ? (b(), p(C(o), {
475
+ })])]), v("span", I, [U("defaultGrantPolicyOverride") ? (S(), h(T(s), {
475
476
  key: 0,
476
477
  type: "text",
477
478
  size: "small",
478
479
  disabled: H.value,
479
480
  onClick: i[4] ||= (e) => W("defaultGrantPolicyOverride")
480
481
  }, {
481
- default: w(() => [...i[28] ||= [_("重置", -1)]]),
482
+ default: E(() => [...i[28] ||= [y("重置", -1)]]),
482
483
  _: 1
483
- }, 8, ["disabled"])) : m("v-if", !0)])]), v(C(d), {
484
- value: C(R).defaultGrantPolicyOverride ?? C(R).defaultGrantPolicy,
484
+ }, 8, ["disabled"])) : g("v-if", !0)])]), b(T(p), {
485
+ value: T(R).defaultGrantPolicyOverride ?? T(R).defaultGrantPolicy,
485
486
  disabled: H.value,
486
487
  options: [
487
488
  {
@@ -507,62 +508,62 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
507
508
  ],
508
509
  "onUpdate:value": i[5] ||= (e) => G("defaultGrantPolicyOverride", e)
509
510
  }, null, 8, ["value", "disabled"])]),
510
- g("section", L, [g("header", null, [g("div", null, [g("h4", null, [i[29] ||= _(" 动作授权 ", -1), v(C(u), { title: "控制角色是否需要被显式授予该动作。" }, {
511
- default: w(() => [g("button", _e, [v(C(n), { name: "help" })])]),
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" })])]),
512
513
  _: 1
513
- })])]), g("span", ve, [U("actionAuthOverride") ? (b(), p(C(o), {
514
+ })])]), v("span", ve, [U("actionAuthOverride") ? (S(), h(T(s), {
514
515
  key: 0,
515
516
  type: "text",
516
517
  size: "small",
517
518
  disabled: H.value,
518
519
  onClick: i[6] ||= (e) => W("actionAuthOverride")
519
520
  }, {
520
- default: w(() => [...i[30] ||= [_("重置", -1)]]),
521
+ default: E(() => [...i[30] ||= [y("重置", -1)]]),
521
522
  _: 1
522
- }, 8, ["disabled"])) : m("v-if", !0)])]), g("div", ye, [v(C(l), {
523
- checked: (C(R).actionAuthOverride ?? C(R).actionAuth) !== !1,
523
+ }, 8, ["disabled"])) : g("v-if", !0)])]), v("div", ye, [b(T(a), {
524
+ checked: (T(R).actionAuthOverride ?? T(R).actionAuth) !== !1,
524
525
  disabled: H.value,
525
526
  "checked-text": "开",
526
527
  "unchecked-text": "关",
527
528
  "onUpdate:checked": i[7] ||= (e) => G("actionAuthOverride", e)
528
- }, null, 8, ["checked", "disabled"]), g("strong", null, S((C(R).actionAuthOverride ?? C(R).actionAuth) === !1 ? "未启用" : "已启用"), 1)])]),
529
- g("section", be, [g("header", null, [g("div", null, [g("h4", null, [i[31] ||= _(" 数据授权 ", -1), v(C(u), { title: "启用后,读取和执行会继续按数据范围校验。" }, {
530
- default: w(() => [g("button", xe, [v(C(n), { name: "help" })])]),
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" })])]),
531
532
  _: 1
532
- })])]), g("span", Se, [U("dataAuthOverride") ? (b(), p(C(o), {
533
+ })])]), v("span", Se, [U("dataAuthOverride") ? (S(), h(T(s), {
533
534
  key: 0,
534
535
  type: "text",
535
536
  size: "small",
536
537
  disabled: H.value,
537
538
  onClick: i[8] ||= (e) => W("dataAuthOverride")
538
539
  }, {
539
- default: w(() => [...i[32] ||= [_("重置", -1)]]),
540
+ default: E(() => [...i[32] ||= [y("重置", -1)]]),
540
541
  _: 1
541
- }, 8, ["disabled"])) : m("v-if", !0)])]), g("div", Ce, [v(C(l), {
542
- checked: (C(R).dataAuthOverride ?? C(R).dataAuth) === !0,
542
+ }, 8, ["disabled"])) : g("v-if", !0)])]), v("div", Ce, [b(T(a), {
543
+ checked: (T(R).dataAuthOverride ?? T(R).dataAuth) === !0,
543
544
  disabled: H.value,
544
545
  "checked-text": "开",
545
546
  "unchecked-text": "关",
546
547
  "onUpdate:checked": i[9] ||= (e) => G("dataAuthOverride", e)
547
- }, null, 8, ["checked", "disabled"]), g("strong", null, S((C(R).dataAuthOverride ?? C(R).dataAuth) === !0 ? "已启用" : "未启用"), 1)])])
548
- ])])], 32)) : (b(), h("form", {
548
+ }, null, 8, ["checked", "disabled"]), v("strong", null, w((T(R).dataAuthOverride ?? T(R).dataAuth) === !0 ? "已启用" : "未启用"), 1)])])
549
+ ])])], 32)) : (S(), _("form", {
549
550
  key: 3,
550
551
  class: "static-record-form",
551
- onSubmit: i[21] ||= T((...e) => C(k).save && C(k).save(...e), ["prevent"])
552
+ onSubmit: i[21] ||= D((...e) => T(j).save && T(j).save(...e), ["prevent"])
552
553
  }, [
553
- i[44] ||= g("p", { class: "form-hint wide-field" }, " 可以先保存动作,再绑定执行能力。待绑定动作不可执行,页面引用后需完成绑定才能发布。 ", -1),
554
- g("label", null, [i[34] ||= g("span", null, "动作编码", -1), v(C(c), {
555
- value: C(R).actionCode,
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,
556
557
  disabled: H.value,
557
558
  "onUpdate:value": i[11] ||= (e) => G("actionCode", e)
558
559
  }, null, 8, ["value", "disabled"])]),
559
- g("label", null, [i[35] ||= g("span", null, "动作名称", -1), v(C(c), {
560
- value: C(R).title,
560
+ v("label", null, [i[35] ||= v("span", null, "动作名称", -1), b(T(u), {
561
+ value: T(R).title,
561
562
  disabled: H.value,
562
563
  "onUpdate:value": i[12] ||= (e) => G("title", e)
563
564
  }, null, 8, ["value", "disabled"])]),
564
- g("label", null, [i[36] ||= g("span", null, "执行层级", -1), v(C(d), {
565
- value: C(R).actionLevel,
565
+ v("label", null, [i[36] ||= v("span", null, "执行层级", -1), b(T(p), {
566
+ value: T(R).actionLevel,
566
567
  disabled: H.value,
567
568
  options: Ie.value,
568
569
  "onUpdate:value": i[13] ||= (e) => G("actionLevel", e)
@@ -571,8 +572,8 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
571
572
  "disabled",
572
573
  "options"
573
574
  ])]),
574
- g("label", null, [i[37] ||= g("span", null, "访问方式", -1), v(C(d), {
575
- value: C(R).accessMode,
575
+ v("label", null, [i[37] ||= v("span", null, "访问方式", -1), b(T(p), {
576
+ value: T(R).accessMode,
576
577
  disabled: H.value,
577
578
  options: [
578
579
  {
@@ -590,8 +591,8 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
590
591
  ],
591
592
  "onUpdate:value": i[14] ||= (e) => G("accessMode", e)
592
593
  }, null, 8, ["value", "disabled"])]),
593
- e.moduleKind === "dynamic" ? (b(), h("label", we, [i[38] ||= g("span", null, "执行能力(可稍后绑定)", -1), v(C(d), {
594
- value: C(R).executorKey,
594
+ e.moduleKind === "dynamic" ? (S(), _("label", we, [i[38] ||= v("span", null, "执行能力(可稍后绑定)", -1), b(T(p), {
595
+ value: T(R).executorKey,
595
596
  "allow-clear": "",
596
597
  placeholder: "待绑定",
597
598
  disabled: H.value,
@@ -601,26 +602,26 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
601
602
  "value",
602
603
  "disabled",
603
604
  "options"
604
- ])])) : m("v-if", !0),
605
- e.moduleKind === "dynamic" ? m("v-if", !0) : (b(), h("p", Te, " 静态模块通过同编码的代码动作声明绑定执行能力。 ")),
606
- g("label", Ee, [v(C(a), {
607
- checked: C(R).actionAuth !== !1,
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,
608
609
  disabled: H.value,
609
610
  "onUpdate:checked": i[16] ||= (e) => G("actionAuth", e)
610
611
  }, {
611
- default: w(() => [...i[39] ||= [_("启用动作授权", -1)]]),
612
+ default: E(() => [...i[39] ||= [y("启用动作授权", -1)]]),
612
613
  _: 1
613
614
  }, 8, ["checked", "disabled"])]),
614
- g("label", De, [v(C(a), {
615
- checked: C(R).dataAuth === !0,
615
+ v("label", De, [b(T(o), {
616
+ checked: T(R).dataAuth === !0,
616
617
  disabled: H.value,
617
618
  "onUpdate:checked": i[17] ||= (e) => G("dataAuth", e)
618
619
  }, {
619
- default: w(() => [...i[40] ||= [_("启用数据授权", -1)]]),
620
+ default: E(() => [...i[40] ||= [y("启用数据授权", -1)]]),
620
621
  _: 1
621
622
  }, 8, ["checked", "disabled"])]),
622
- g("label", null, [i[41] ||= g("span", null, "默认授予策略", -1), v(C(d), {
623
- value: C(R).defaultGrantPolicy,
623
+ v("label", null, [i[41] ||= v("span", null, "默认授予策略", -1), b(T(p), {
624
+ value: T(R).defaultGrantPolicy,
624
625
  disabled: H.value,
625
626
  options: [
626
627
  {
@@ -646,20 +647,20 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
646
647
  ],
647
648
  "onUpdate:value": i[18] ||= (e) => G("defaultGrantPolicy", e)
648
649
  }, null, 8, ["value", "disabled"])]),
649
- g("label", Oe, [i[42] ||= g("span", null, "可用条件表达式", -1), v(C(s), {
650
- value: C(R).availableExpression,
650
+ v("label", Oe, [i[42] ||= v("span", null, "可用条件表达式", -1), b(T(f), {
651
+ value: T(R).availableExpression,
651
652
  disabled: H.value,
652
653
  "onUpdate:value": i[19] ||= (e) => G("availableExpression", e)
653
654
  }, null, 8, ["value", "disabled"])]),
654
- g("label", ke, [i[43] ||= g("span", null, "不可用提示", -1), v(C(s), {
655
- value: C(R).unavailableMessage,
655
+ v("label", ke, [i[43] ||= v("span", null, "不可用提示", -1), b(T(f), {
656
+ value: T(R).unavailableMessage,
656
657
  disabled: H.value,
657
658
  "onUpdate:value": i[20] ||= (e) => G("unavailableMessage", e)
658
659
  }, null, 8, ["value", "disabled"])])
659
- ], 32)), C(A) || C(z) !== "view" ? (b(), p(C(se), {
660
+ ], 32)), T(M) || T(z) !== "view" ? (S(), h(T(ce), {
660
661
  key: 4,
661
- record: C(R)
662
- }, null, 8, ["record"])) : m("v-if", !0)]),
662
+ record: T(R)
663
+ }, null, 8, ["record"])) : g("v-if", !0)]),
663
664
  _: 1
664
665
  }, 8, [
665
666
  "mode",
@@ -667,6 +668,6 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
667
668
  "explorer-search-keyword"
668
669
  ]));
669
670
  }
670
- }), z = /* @__PURE__ */ e({ default: () => B }), B = /*#__PURE__*/ t(R, [["__scopeId", "data-v-68b1667d"]]);
671
+ }), z = /* @__PURE__ */ e({ default: () => B }), B = /*#__PURE__*/ d(R, [["__scopeId", "data-v-68b1667d"]]);
671
672
  //#endregion
672
673
  export { z as n, B as t };