@ximatai/muyun-web-app 0.26.17 → 0.26.19

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 (87) hide show
  1. package/dist/{BusinessActivityLogView-9RrW-RKb.js → BusinessActivityLogView-DudCmeKP.js} +2 -2
  2. package/dist/{BusinessLogListDrawer-DYVx9tiQ.js → BusinessLogListDrawer-CVUvUG48.js} +193 -193
  3. package/dist/CodeConfigurationView-ZjVgaZkD.js +1667 -0
  4. package/dist/{ConfigurationTranslationView-Bh_ekuMP.js → ConfigurationTranslationView-Dl757QMl.js} +38 -38
  5. package/dist/{LoginAuditLogView-DG6iBXEn.js → LoginAuditLogView-Cj3PMvN5.js} +2 -2
  6. package/dist/ModuleActionManagementView-BuhQrVA3.js +755 -0
  7. package/dist/{ModuleGovernanceView-C53RnUzc.js → ModuleGovernanceView-C3RxdgQN.js} +3736 -3880
  8. package/dist/{RequestErrorLogView-Ba5p0hLE.js → RequestErrorLogView-tmjMOeLE.js} +2 -2
  9. package/dist/RoleDetailWorkspaceView-OhpBChaT.js +1435 -0
  10. package/dist/{RuntimeLogView-BFEABm8G.js → RuntimeLogView-BkkgHcF0.js} +69 -69
  11. package/dist/WorkflowAdministrationView-DOhA_5-M.js +650 -0
  12. package/dist/WorkflowConfigurationView-Bnjdrkdx.js +980 -0
  13. package/dist/{WorkflowWorkbenchView-DGpNDt5V.js → WorkflowWorkbenchView-Cf6yiofx.js} +263 -263
  14. package/dist/codeConfiguration-DERwCY-U.js +208 -0
  15. package/dist/index.css +1 -1
  16. package/dist/index.js +472 -471
  17. package/dist/moduleMenuWorkspace-DPmYGkS_.js +626 -0
  18. package/dist/platform-components-wRXbnwMr.js +30434 -0
  19. package/dist/{platform-workbench-C1hmkOUD.js → platform-workbench-Cm_0kmTT.js} +5570 -5592
  20. package/dist/types/app/DevelopmentTopbarActions.vue.d.ts +9 -0
  21. package/dist/types/app/executeBusinessNotificationRecordAction.d.ts +7 -0
  22. package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +5 -1
  23. package/dist/types/consumer/index.d.ts +2 -1
  24. package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +6 -0
  25. package/dist/types/dynamic-page-runtime/composables/useModulePageDetailExtensionRuntime.d.ts +1 -0
  26. package/dist/types/dynamic-page-runtime/modulePageEnhancementState.d.ts +5 -0
  27. package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +6 -2
  28. package/dist/types/platform-admin-runtime/ModuleCodeConfigurationStatus.vue.d.ts +7 -0
  29. package/dist/types/platform-admin-runtime/moduleCodeConfiguration.d.ts +15 -0
  30. package/dist/types/platform-admin-runtime/workflow/ModuleWorkflowDrawer.vue.d.ts +7 -0
  31. package/dist/types/platform-components/BusinessNotificationPanel.vue.d.ts +5 -3
  32. package/dist/types/platform-components/FormulaExpressionEditor.vue.d.ts +5 -0
  33. package/dist/types/platform-components/RecordAdaptiveDetailPanel.vue.d.ts +28 -0
  34. package/dist/types/platform-components/RecordFormFields.vue.d.ts +4 -2
  35. package/dist/types/platform-components/RecordQueryListSurface.vue.d.ts +4 -0
  36. package/dist/types/platform-components/RecordRelationActionButton.vue.d.ts +16 -0
  37. package/dist/types/{dynamic-page-runtime → platform-components}/TenantScopeExplorer.vue.d.ts +1 -1
  38. package/dist/types/platform-components/WorkflowBusinessTaskEditor.vue.d.ts +2 -0
  39. package/dist/types/platform-components/WorkflowDesignProperties.vue.d.ts +2 -6
  40. package/dist/types/platform-components/WorkflowDiagram.vue.d.ts +32 -1
  41. package/dist/types/platform-components/formulaExpressionTokens.d.ts +2 -0
  42. package/dist/types/platform-components/formulaExpressionTools.d.ts +6 -0
  43. package/dist/types/platform-components/index.d.ts +5 -0
  44. package/dist/types/platform-components/managementWorkspaceLayout.d.ts +10 -0
  45. package/dist/types/platform-components/recordFormFieldModel.d.ts +4 -0
  46. package/dist/types/platform-components/useBusinessCodeForm.d.ts +36 -0
  47. package/dist/types/platform-components/useWorkflowDesignHistory.d.ts +14 -0
  48. package/dist/types/platform-components/useWorkspaceDetailSurface.d.ts +3 -0
  49. package/dist/types/platform-components/workflowDesignClipboard.d.ts +7 -0
  50. package/dist/types/platform-components/workflowPresentation.d.ts +4 -0
  51. package/dist/types/platform-workbench/Workbench.vue.d.ts +6 -2
  52. package/dist/types/platform-workbench/WorkbenchGlobalTools.vue.d.ts +13 -1
  53. package/dist/types/views/CodeConfigurationView.vue.d.ts +8 -0
  54. package/dist/types/views/CodeRuleFormatEditor.vue.d.ts +17 -0
  55. package/dist/types/views/WorkflowConfigurationView.vue.d.ts +1 -0
  56. package/dist/types/views/WorkflowDefinitionSettings.vue.d.ts +35 -0
  57. package/dist/types/views/WorkflowSelectionFields.vue.d.ts +2 -4
  58. package/dist/types/views/codeConfiguration.d.ts +127 -0
  59. package/dist/types/views/codeConfigurationWorkspaceView.d.ts +5 -0
  60. package/dist/types/views/moduleGovernanceWorkspaceView.d.ts +1 -1
  61. package/dist/types/views/useWorkflowConfigurationContext.d.ts +49 -0
  62. package/dist/types/views/workflowConfigurationWorkspaceView.d.ts +2 -0
  63. package/dist/types/vue-ui-antdv/components/UiDatePicker.vue.d.ts +33 -0
  64. package/dist/types/vue-ui-antdv/components/UiHelp.vue.d.ts +16 -0
  65. package/dist/types/vue-ui-antdv/components/UiIcon.vue.d.ts +1 -1
  66. package/dist/types/vue-ui-antdv/components/UiPopover.vue.d.ts +12 -4
  67. package/dist/types/vue-ui-antdv/components/UiRadioGroup.vue.d.ts +4 -0
  68. package/dist/types/vue-ui-antdv/components/UiSidePanel.vue.d.ts +5 -0
  69. package/dist/types/vue-ui-antdv/datePickerCalendar.d.ts +472 -0
  70. package/dist/types/vue-ui-antdv/datePickerValue.d.ts +6 -0
  71. package/dist/types/vue-ui-antdv/index.d.ts +4 -0
  72. package/dist/types/vue-ui-antdv/languageLocales.d.ts +2 -0
  73. package/dist/types/vue-ui-antdv/overlayLayers.d.ts +5 -0
  74. package/dist/types/vue-ui-antdv/types.d.ts +2 -0
  75. package/dist/types/web-contracts/index.d.ts +18 -0
  76. package/dist/types/web-contracts/workflow.d.ts +16 -8
  77. package/dist/types/web-core/businessNotifications.d.ts +3 -1
  78. package/dist/types/web-core/workflow.d.ts +13 -1
  79. package/dist/useWorkflowConfigurationContext-BE_UjKgk.js +66 -0
  80. package/dist/{workspaceViews-BpH71LKQ.js → workspaceViews-D37OpJ7g.js} +1608 -884
  81. package/package.json +4 -1
  82. package/dist/ModuleActionManagementView-DgHqhoMN.js +0 -755
  83. package/dist/RoleDetailWorkspaceView-C3TBqksY.js +0 -1435
  84. package/dist/WorkflowAdministrationView-BOHG2e-I.js +0 -650
  85. package/dist/WorkflowConfigurationView-A0m5tBX9.js +0 -1097
  86. package/dist/moduleGovernanceWorkspaceView-DNKzYX0x.js +0 -667
  87. package/dist/platform-components-BBfyINHa.js +0 -29912
@@ -0,0 +1,755 @@
1
+ import { n as e } from "./rolldown-runtime-BAC7EHh5.js";
2
+ import "./platform-workbench-Cm_0kmTT.js";
3
+ import { $n as t, Bt as n, Cn as ee, Cr as r, E as te, F as ne, Ha as re, Ln as i, Mn as ie, R as ae, W as oe, Wn as a, Xn as o, Zr as se, Zt as ce, ar as s, cn as le, er as c, ia as l, ir as u, pt as d, qn as f, rr as p, un as ue, y as de, zr as fe } from "./platform-components-wRXbnwMr.js";
4
+ import { computed as m, createBlock as h, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createTextVNode as y, createVNode as b, defineComponent as x, onMounted as pe, openBlock as S, ref as C, toDisplayString as w, unref as T, withCtx as E, withModifiers as D } from "vue";
5
+ //#region src/platform-components/staticTreeResourceModuleContext.ts
6
+ function me(e, t = {}) {
7
+ let n = t.client ?? O(t.emptyQueryScopeName);
8
+ return {
9
+ ...e,
10
+ crud: n,
11
+ abilities: {
12
+ ...e.abilities,
13
+ crud: () => n,
14
+ tree: () => n,
15
+ enable: () => n,
16
+ tryCrud: () => n,
17
+ tryTree: () => e.abilities.hasTree() === !1 ? void 0 : n,
18
+ tryEnable: () => n
19
+ }
20
+ };
21
+ }
22
+ function O(e = "static.empty") {
23
+ return {
24
+ querySchema: async () => k(e),
25
+ query: async () => A(),
26
+ view: async () => ({}),
27
+ insert: async (e) => ({ record: e }),
28
+ update: async (e, t) => ({ record: t }),
29
+ delete: async () => 0,
30
+ enable: async () => 0,
31
+ disable: async () => 0,
32
+ tree: async () => j(),
33
+ treeFlat: async () => M(),
34
+ subtree: async () => j(),
35
+ sort: async () => 0
36
+ };
37
+ }
38
+ function k(e) {
39
+ return {
40
+ scopeName: e,
41
+ quickSearch: {
42
+ enabled: !1,
43
+ fields: [],
44
+ fieldSchemas: []
45
+ },
46
+ fields: [],
47
+ externalCriteria: [],
48
+ defaultSorts: []
49
+ };
50
+ }
51
+ function A() {
52
+ return {
53
+ records: [],
54
+ total: 0,
55
+ pageNum: 1,
56
+ pageSize: 20,
57
+ pages: 0,
58
+ totalKnown: !0
59
+ };
60
+ }
61
+ function j() {
62
+ return { records: [] };
63
+ }
64
+ function M() {
65
+ return { records: [] };
66
+ }
67
+ //#endregion
68
+ //#region src/views/ModuleActionManagementView.vue?vue&type=script&setup=true&lang.ts
69
+ var he = { class: "action-declaration-section" }, ge = { class: "permission-governance-section" }, _e = { class: "governance-grid" }, ve = { class: "governance-item" }, ye = ["aria-label"], be = { class: "governance-reset-slot" }, N = { class: "governance-item" }, xe = ["aria-label"], Se = { class: "governance-reset-slot" }, Ce = { class: "governance-item" }, we = ["aria-label"], Te = { class: "governance-reset-slot" }, Ee = { class: "governance-switch-control" }, De = { class: "governance-item" }, Oe = ["aria-label"], ke = { class: "governance-reset-slot" }, Ae = { class: "governance-switch-control" }, je = { class: "form-hint wide-field" }, Me = { key: 0 }, Ne = {
70
+ key: 1,
71
+ class: "form-hint wide-field"
72
+ }, Pe = { class: "checkbox-field" }, Fe = { class: "checkbox-field" }, Ie = { class: "wide-field" }, Le = { class: "wide-field" }, P = /*@__PURE__*/ x({
73
+ name: "ModuleActionManagementView",
74
+ __name: "ModuleActionManagementView",
75
+ props: {
76
+ moduleAlias: {},
77
+ moduleTitle: {},
78
+ moduleKind: {},
79
+ title: {}
80
+ },
81
+ setup(e) {
82
+ let s = re(), x = e, O = fe({ moduleAlias: "platform.module_action" }), k = me(O, { client: se(O.http, `/platform.module/${encodeURIComponent(x.moduleAlias)}/actions`) }), A = C(""), j = C(!1), M = C([]), P = de({
83
+ language: s,
84
+ context: k,
85
+ confirmAction: (e) => ee(e, s),
86
+ emptyDraft: () => q(x.moduleAlias),
87
+ normalizeDraft: (e) => J(e, x.moduleAlias),
88
+ copyRecord: (e) => ({ ...e }),
89
+ titleOf: Q,
90
+ get fallbackTitle() {
91
+ return s.t("platform.unsaved-source.ModuleActionManagementView", "模块动作");
92
+ },
93
+ get createTitle() {
94
+ return s.t("platform.screen.ModuleActionManagementView.new-action", "新建动作");
95
+ },
96
+ get requiredMessage() {
97
+ return l(s, "platform.screen.ModuleActionManagementView.the-action-code-is-required", "动作编码不能为空");
98
+ },
99
+ isValid: (e) => !!e.actionCode?.trim(),
100
+ get recordName() {
101
+ return s.t("platform.governance.tab.actions", "动作");
102
+ },
103
+ get deleteTitle() {
104
+ return s.t("platform.screen.ModuleActionManagementView.delete-action", "删除动作");
105
+ },
106
+ get saveDeniedMessage() {
107
+ return l(s, "platform.screen.ModuleActionManagementView.you-do-not-have-permission-to-save-module-actions", "当前用户无权保存模块动作");
108
+ },
109
+ get createDeniedMessage() {
110
+ return l(s, "platform.screen.ModuleActionManagementView.you-do-not-have-permission-to-create-module-actions", "当前用户无权新建模块动作");
111
+ },
112
+ get enableDeniedMessage() {
113
+ return l(s, "platform.screen.ModuleActionManagementView.you-do-not-have-permission-to-enable-or-disable-module", "当前用户无权变更模块动作启停状态");
114
+ },
115
+ deleteDeniedMessage: () => l(s, "platform.screen.ModuleActionManagementView.you-do-not-have-permission-to-delete-module-actions", "当前用户无权删除模块动作"),
116
+ canDeleteRecord: (e) => e.systemManaged !== !0,
117
+ canEnableRecord: (e) => e.systemManaged !== !0
118
+ }), { selected: F, draft: I, mode: L, reloadKey: R, saving: z, cardTitle: Re, canCreate: ze, canEnable: Be } = P, Ve = m(() => {
119
+ if (L.value === "view") return !1;
120
+ let e = F.value ? J(F.value, x.moduleAlias) : q(x.moduleAlias);
121
+ return JSON.stringify(I.value) !== JSON.stringify(e);
122
+ });
123
+ r(() => s.t("platform.unsaved-source.ModuleActionManagementView", "模块动作"), () => Ve.value);
124
+ let B = m(() => k.can("sort") === !0), V = m(() => L.value !== "view" || z.value || !!A.value.trim()), He = m(() => ze.value), Ue = m(() => M.value.map((e) => ({
125
+ value: e.executorKey,
126
+ label: e.description ? `${e.title} · ${e.description}` : e.title
127
+ }))), We = m(() => (M.value.find((e) => e.executorKey === I.value.executorKey)?.supportedLevels ?? [
128
+ "LIST",
129
+ "RECORD",
130
+ "BATCH",
131
+ "ANY"
132
+ ]).map((e) => ({
133
+ value: e,
134
+ label: {
135
+ LIST: s.t("platform.page.composition.list", "列表"),
136
+ RECORD: s.t("platform.screen.ModuleActionManagementView.single-record", "单条记录"),
137
+ BATCH: s.t("platform.screen.ModuleActionManagementView.batch", "批量"),
138
+ ANY: s.t("platform.screen.ModuleActionManagementView.any", "任意")
139
+ }[e]
140
+ }))), Ge = m(() => [
141
+ "actionCode",
142
+ "title",
143
+ "category",
144
+ "actionLevel",
145
+ "accessMode",
146
+ "executorType",
147
+ ...Z(I.value.executorKey) ? ["executorKey"] : [],
148
+ "actionAuth",
149
+ "dataAuth",
150
+ "defaultGrantPolicy",
151
+ ...Z(I.value.availableExpression) ? ["availableExpression"] : [],
152
+ ...Z(I.value.unavailableMessage) ? ["unavailableMessage"] : [],
153
+ ...I.value.sourceType ? ["sourceType"] : [],
154
+ ...Z(I.value.bindingAlias) ? ["bindingAlias"] : []
155
+ ]), Ke = m(() => [
156
+ "actionCode",
157
+ "title",
158
+ "category",
159
+ "actionLevel",
160
+ "executorType",
161
+ ...Z(I.value.executorKey) ? ["executorKey"] : [],
162
+ ...I.value.sourceType ? ["sourceType"] : []
163
+ ]);
164
+ pe(() => void Qe());
165
+ let qe = m(() => P.readonly.value), H = m(() => qe.value || P.saving.value), Je = m(() => {
166
+ if (P.mode.value !== "view") return [
167
+ ...P.mode.value === "edit" && P.selected.value?.systemManaged === !0 && Ze(I.value) ? [{
168
+ key: "reset-permission-governance",
169
+ actionCode: "update",
170
+ title: s.t("platform.screen.ModuleActionManagementView.reset-all", "全部重置"),
171
+ disabled: P.saving.value
172
+ }] : [],
173
+ {
174
+ key: "cancel",
175
+ title: s.t("platform.action.cancel", "取消"),
176
+ disabled: P.saving.value
177
+ },
178
+ {
179
+ key: "save",
180
+ actionCode: P.mode.value === "create" ? "create" : "update",
181
+ title: P.saving.value ? s.t("platform.action.saving", "保存中") : s.t("platform.action.save", "保存"),
182
+ primary: !0,
183
+ loading: P.saving.value
184
+ }
185
+ ];
186
+ let e = P.selected.value;
187
+ return [{
188
+ key: "edit",
189
+ actionCode: "update",
190
+ title: s.t("platform.action.edit", "编辑"),
191
+ disabled: !e || !P.canUpdate.value
192
+ }, {
193
+ key: "delete",
194
+ actionCode: "delete",
195
+ title: s.t("platform.action.delete", "删除"),
196
+ danger: !0,
197
+ loading: P.saving.value,
198
+ disabled: !e || e.systemManaged === !0 || !P.canDelete.value
199
+ }];
200
+ });
201
+ function Ye(e) {
202
+ let t = e;
203
+ return {
204
+ title: Q(t),
205
+ secondary: t.actionCode,
206
+ tag: t.systemManaged === !0 ? s.t("platform.screen.pageCompositionSession.platform-managed", "平台托管") : t.executorKey ? s.t("platform.screen.RoleAccountGrantDrawer.assigned", "已绑定") : s.t("platform.screen.PageCompositionTree.binding-pending", "待绑定"),
207
+ muted: t.enabled === !1
208
+ };
209
+ }
210
+ function Xe(e) {
211
+ e.key === "edit" && P.startEdit(), e.key === "delete" && P.removeSelected(), e.key === "reset-permission-governance" && G(), e.key === "cancel" && P.cancelEdit(), e.key === "save" && P.save();
212
+ }
213
+ function Ze(e) {
214
+ return [
215
+ e.accessModeOverride,
216
+ e.actionAuthOverride,
217
+ e.dataAuthOverride,
218
+ e.defaultGrantPolicyOverride
219
+ ].some((e) => e != null);
220
+ }
221
+ function U(e) {
222
+ return I.value[e] != null;
223
+ }
224
+ function W(e) {
225
+ K(e, void 0);
226
+ }
227
+ function G() {
228
+ P.draft.value = {
229
+ ...P.draft.value,
230
+ accessModeOverride: void 0,
231
+ actionAuthOverride: void 0,
232
+ dataAuthOverride: void 0,
233
+ defaultGrantPolicyOverride: void 0
234
+ };
235
+ }
236
+ function K(e, t) {
237
+ P.draft.value = {
238
+ ...P.draft.value,
239
+ [e]: t ?? void 0
240
+ };
241
+ }
242
+ async function Qe() {
243
+ try {
244
+ M.value = await O.http.request({ path: "/platform.module/action-executors" });
245
+ } catch (e) {
246
+ M.value = [], ue(e, {
247
+ language: s,
248
+ source: "module-action-management",
249
+ phase: "load"
250
+ });
251
+ }
252
+ }
253
+ function $e() {
254
+ P.startCreate();
255
+ }
256
+ function et(e) {
257
+ let t = typeof e == "string" ? e : void 0, n = M.value.find((e) => e.executorKey === t);
258
+ K("executorKey", t), n?.supportedLevels.length && K("actionLevel", n.supportedLevels[0]);
259
+ }
260
+ function q(e) {
261
+ return {
262
+ moduleAlias: e,
263
+ actionCode: "",
264
+ title: "",
265
+ category: "CUSTOM",
266
+ actionLevel: "ANY",
267
+ accessMode: "AUTH_REQUIRED",
268
+ actionAuth: !0,
269
+ dataAuth: !1,
270
+ defaultGrantPolicy: "NONE",
271
+ executorType: "SERVICE",
272
+ enabled: !0,
273
+ systemManaged: !1
274
+ };
275
+ }
276
+ function J(e, t) {
277
+ return {
278
+ ...e,
279
+ moduleAlias: t,
280
+ actionCode: Y(e.actionCode),
281
+ title: X(e.title) ?? Y(e.actionCode),
282
+ entityAlias: X(e.entityAlias),
283
+ permissionActionCode: X(e.permissionActionCode),
284
+ availableExpression: X(e.availableExpression),
285
+ unavailableMessage: X(e.unavailableMessage),
286
+ executorKey: X(e.executorKey)
287
+ };
288
+ }
289
+ function Y(e) {
290
+ return e?.trim() ?? "";
291
+ }
292
+ function X(e) {
293
+ return e?.trim() || void 0;
294
+ }
295
+ function Z(e) {
296
+ return !!e?.trim();
297
+ }
298
+ function Q(e) {
299
+ return e.title?.trim() || e.actionCode?.trim() || e.id || s.t("platform.screen.ModuleActionManagementView.untitled-action", "未命名动作");
300
+ }
301
+ function $(e, t) {
302
+ let n = {
303
+ category: {
304
+ STANDARD: s.t("platform.screen.RoleAuthorizationView.standard-action", "标准动作"),
305
+ CUSTOM: s.t("platform.screen.ModuleActionManagementView.custom-action", "自定义动作"),
306
+ DIALOG: s.t("platform.screen.ModuleActionManagementView.dialog-action", "弹窗动作"),
307
+ WORKFLOW: s.t("platform.screen.ModuleActionManagementView.workflow-action", "工作流动作"),
308
+ GENERATE: s.t("platform.screen.ModuleActionManagementView.generation-action", "生成动作")
309
+ },
310
+ actionLevel: {
311
+ LIST: s.t("platform.page.composition.list", "列表"),
312
+ RECORD: s.t("platform.screen.ModuleActionManagementView.single-record", "单条记录"),
313
+ BATCH: s.t("platform.screen.ModuleActionManagementView.batch", "批量"),
314
+ ANY: s.t("platform.screen.ModuleActionManagementView.any", "任意")
315
+ },
316
+ accessMode: {
317
+ AUTH_REQUIRED: s.t("platform.screen.ModuleActionManagementView.authorization-required", "需要授权"),
318
+ LOGIN_REQUIRED: s.t("platform.screen.ModuleActionManagementView.signed-in-access", "登录可用"),
319
+ ANONYMOUS_ALLOWED: s.t("platform.screen.ModuleActionManagementView.anonymous-access", "匿名可用")
320
+ },
321
+ executorType: {
322
+ STANDARD: s.t("platform.screen.ModuleActionManagementView.platform-standard", "平台标准"),
323
+ SERVICE: s.t("platform.screen.ModuleActionManagementView.custom-service", "服务(二开)"),
324
+ DIALOG: s.t("platform.screen.ModuleActionManagementView.dialog-protocol", "弹窗协议"),
325
+ WORKFLOW: s.t("platform.screen.ModuleActionManagementView.workflow", "工作流"),
326
+ GENERATE: s.t("platform.screen.ModuleActionManagementView.generator", "生成器")
327
+ },
328
+ defaultGrantPolicy: {
329
+ NONE: s.t("platform.screen.ModuleActionManagementView.no-default-grant", "不默认授予"),
330
+ ANY_LOGIN_USER: s.t("platform.screen.ModuleActionManagementView.all-signed-in-users", "所有登录用户"),
331
+ OWNER: s.t("platform.screen.ModuleActionManagementView.record-owner", "记录所有者"),
332
+ ASSIGNEE: s.t("platform.screen.WorkflowWorkbenchView.processors", "办理人"),
333
+ MEMBER: s.t("platform.screen.ModuleActionManagementView.member", "成员")
334
+ },
335
+ sourceType: {
336
+ STATIC_MODULE: s.t("platform.screen.ModuleActionManagementView.static-module-declaration", "静态模块声明"),
337
+ CODE_EXTENSION: s.t("platform.screen.ModuleActionManagementView.code-extension", "代码扩展"),
338
+ DYNAMIC_MODULE: s.t("platform.screen.ModuleActionManagementView.dynamic-module-configuration", "动态模块配置"),
339
+ WORKFLOW_DEFINITION: s.t("platform.screen.ModuleActionManagementView.workflow-definition", "工作流定义"),
340
+ WORKFLOW_RUNTIME: s.t("platform.screen.ModuleActionManagementView.workflow-runtime", "工作流运行时"),
341
+ RECORD_GENERATION_RULE: s.t("platform.screen.ModuleActionManagementView.document-generation-rule", "生单规则"),
342
+ DOCUMENT_RELATION: s.t("platform.screen.ModuleActionManagementView.document-relation", "单据关系"),
343
+ PRINT_TEMPLATE: s.t("platform.screen.ModuleActionManagementView.print-template", "打印模板")
344
+ }
345
+ };
346
+ return e === "actionAuth" || e === "dataAuth" ? t === !0 ? s.t("platform.screen.WorkflowWorkbenchView.enabled", "启用") : s.t("platform.screen.ModuleActionManagementView.not-enabled", "未启用") : typeof t == "string" ? n[e]?.[t] : void 0;
347
+ }
348
+ return (ee, r) => (S(), h(T(te), {
349
+ "explorer-title": T(s).t("platform.unsaved-source.ModuleActionManagementView", "模块动作"),
350
+ "refresh-title": T(s).t("platform.screen.ModuleActionManagementView.refresh-actions", "刷新动作"),
351
+ mode: T(L),
352
+ "detail-title": T(Re),
353
+ "explorer-search-keyword": A.value,
354
+ "explorer-search-placeholder": T(s).t("platform.screen.ModuleActionManagementView.search-action-name-or-code", "搜索动作名称或编码"),
355
+ "onUpdate:explorerSearchKeyword": r[23] ||= (e) => A.value = e,
356
+ onRefresh: r[24] ||= (e) => R.value += 1
357
+ }, {
358
+ "explorer-actions": E(() => [B.value ? (S(), h(T(oe), {
359
+ key: 0,
360
+ "icon-name": "swap-vertical",
361
+ "icon-only": "",
362
+ size: "small",
363
+ type: "text",
364
+ selected: j.value,
365
+ disabled: V.value,
366
+ title: A.value.trim() ? T(s).t("platform.screen.ModulePageHostRuntime.clear-the-search-to-reorder-records", "清空搜索后可调整排序") : T(L) === "view" ? j.value ? T(s).t("platform.screen.ModulePageHostRuntime.finish-reordering", "结束排序") : T(s).t("platform.screen.ModulePageHostRuntime.reorder", "调整排序") : T(s).t("platform.screen.ModuleActionManagementView.finish-editing-before-reordering", "结束编辑后可调整排序"),
367
+ "aria-label": j.value ? T(s).t("platform.screen.ModulePageHostRuntime.finish-reordering", "结束排序") : T(s).t("platform.screen.ModulePageHostRuntime.reorder", "调整排序"),
368
+ onClick: r[0] ||= (e) => j.value = !j.value
369
+ }, null, 8, [
370
+ "selected",
371
+ "disabled",
372
+ "title",
373
+ "aria-label"
374
+ ])) : g("v-if", !0), b(T(ce), {
375
+ class: "record-panel-create-button",
376
+ context: T(k),
377
+ "action-code": "create",
378
+ title: T(s).t("platform.screen.ModuleActionManagementView.new-action", "新建动作"),
379
+ "icon-only": "",
380
+ disabled: !He.value || T(z),
381
+ onClick: $e
382
+ }, null, 8, [
383
+ "context",
384
+ "title",
385
+ "disabled"
386
+ ])]),
387
+ explorer: E(() => [b(T(le), {
388
+ context: T(k),
389
+ "selected-id": T(F)?.id,
390
+ "reload-key": T(R),
391
+ keyword: A.value,
392
+ sorting: j.value && B.value && !V.value,
393
+ "empty-description": T(s).t("platform.screen.ModuleActionManagementView.no-actions-are-available-for-this-module", "当前模块暂无动作"),
394
+ "loading-tip": T(s).t("platform.screen.RoleAuthorizationView.loading-module-actions", "加载模块动作"),
395
+ "fallback-title": T(s).t("platform.screen.ModuleActionManagementView.untitled-action", "未命名动作"),
396
+ "item-of": Ye,
397
+ onLoaded: r[1] ||= (e) => T(P).handleListLoaded(e),
398
+ onSelect: r[2] ||= (e) => T(P).handleSelect(e)
399
+ }, null, 8, [
400
+ "context",
401
+ "selected-id",
402
+ "reload-key",
403
+ "keyword",
404
+ "sorting",
405
+ "empty-description",
406
+ "loading-tip",
407
+ "fallback-title"
408
+ ])]),
409
+ "detail-status": E(() => [T(L) === "view" && T(F) ? (S(), h(T(ae), {
410
+ key: 0,
411
+ enabled: T(F).enabled,
412
+ disabled: T(z) || T(F).systemManaged === !0 || !T(Be),
413
+ loading: T(z),
414
+ "show-label": !1,
415
+ onChange: T(P).toggleEnabled
416
+ }, null, 8, [
417
+ "enabled",
418
+ "disabled",
419
+ "loading",
420
+ "onChange"
421
+ ])) : g("v-if", !0)]),
422
+ "detail-actions": E(() => [b(T(n), {
423
+ context: T(k),
424
+ actions: Je.value,
425
+ onAction: Xe
426
+ }, null, 8, ["context", "actions"])]),
427
+ default: E(() => [!T(F) && T(L) === "view" ? (S(), h(T(ie), {
428
+ key: 0,
429
+ description: e.moduleKind === "static" ? T(s).t("platform.screen.ModuleActionManagementView.static-module-actions-are-registered-automatically-from-java-declarations", "静态模块动作由 Java 声明自动注册") : T(s).t("platform.screen.ModuleActionManagementView.no-actions-are-available-for-this-module", "当前模块暂无动作")
430
+ }, null, 8, ["description"])) : T(L) === "view" && T(F) ? (S(), h(T(d), {
431
+ key: 1,
432
+ record: T(I),
433
+ "display-of": $,
434
+ "field-names": Ge.value,
435
+ fallback: {
436
+ actionCode: { label: T(s).t("platform.screen.ModuleActionManagementView.action-code", "动作编码") },
437
+ title: { label: T(s).t("platform.screen.ModuleActionManagementView.action-name", "动作名称") },
438
+ category: { label: T(s).t("platform.screen.ModuleActionManagementView.action-category", "动作类别") },
439
+ actionLevel: { label: T(s).t("platform.screen.ModuleActionManagementView.execution-level", "执行层级") },
440
+ accessMode: { label: T(s).t("platform.screen.ModuleActionManagementView.access-mode", "访问方式") },
441
+ executorType: { label: T(s).t("platform.screen.ModuleActionManagementView.execution-method", "执行方式") },
442
+ executorKey: { label: T(s).t("platform.screen.ModuleActionManagementView.executor-implementation", "执行实现") },
443
+ actionAuth: { label: T(s).t("platform.screen.ModuleActionManagementView.action-authorization", "动作授权") },
444
+ dataAuth: { label: T(s).t("platform.screen.ModuleActionManagementView.data-authorization", "数据授权") },
445
+ defaultGrantPolicy: { label: T(s).t("platform.screen.ModuleActionManagementView.default-grant-policy", "默认授予策略") },
446
+ availableExpression: { label: T(s).t("platform.screen.ModuleActionManagementView.availability-condition", "可用条件") },
447
+ unavailableMessage: { label: T(s).t("platform.screen.ModuleActionManagementView.unavailable-message", "不可用提示") },
448
+ sourceType: { label: T(s).t("platform.screen.ModuleActionManagementView.registration-source", "注册来源") },
449
+ bindingAlias: { label: T(s).t("platform.screen.ModuleActionManagementView.binding-id", "绑定标识") }
450
+ }
451
+ }, null, 8, [
452
+ "record",
453
+ "field-names",
454
+ "fallback"
455
+ ])) : T(L) !== "create" && T(F)?.systemManaged ? (S(), _("form", {
456
+ key: 2,
457
+ class: "managed-action-editor",
458
+ onSubmit: r[11] ||= D((...e) => T(P).save && T(P).save(...e), ["prevent"])
459
+ }, [v("section", he, [v("h3", null, w(T(s).t("platform.screen.ModuleActionManagementView.action-declaration", "动作声明")), 1), b(T(d), {
460
+ record: T(I),
461
+ "display-of": $,
462
+ "field-names": Ke.value,
463
+ fallback: {
464
+ actionCode: { label: T(s).t("platform.screen.ModuleActionManagementView.action-code", "动作编码") },
465
+ title: { label: T(s).t("platform.screen.ModuleActionManagementView.action-name", "动作名称") },
466
+ category: { label: T(s).t("platform.screen.ModuleActionManagementView.action-category", "动作类别") },
467
+ actionLevel: { label: T(s).t("platform.screen.ModuleActionManagementView.execution-level", "执行层级") },
468
+ executorType: { label: T(s).t("platform.screen.ModuleActionManagementView.execution-method", "执行方式") },
469
+ executorKey: { label: T(s).t("platform.screen.ModuleActionManagementView.executor-implementation", "执行实现") },
470
+ sourceType: { label: T(s).t("platform.screen.ModuleActionManagementView.registration-source", "注册来源") }
471
+ }
472
+ }, null, 8, [
473
+ "record",
474
+ "field-names",
475
+ "fallback"
476
+ ])]), v("section", ge, [v("h3", null, w(T(s).t("platform.screen.ModuleActionManagementView.permission-governance", "权限治理")), 1), v("div", _e, [
477
+ v("section", ve, [v("header", null, [v("div", null, [v("h4", null, [y(w(T(s).t("platform.screen.ModuleActionManagementView.access-mode", "访问方式")) + " ", 1), b(T(a), { title: T(s).t("platform.screen.ModuleActionManagementView.define-the-identity-requirements-for-invoking-this-action", "决定调用动作前需要满足的身份条件。") }, {
478
+ default: E(() => [v("button", {
479
+ type: "button",
480
+ class: "governance-help",
481
+ "aria-label": T(s).t("platform.screen.ModuleActionManagementView.access-method-description", "访问方式说明")
482
+ }, [b(T(u), { name: "help" })], 8, ye)]),
483
+ _: 1
484
+ }, 8, ["title"])])]), v("span", be, [U("accessModeOverride") ? (S(), h(T(p), {
485
+ key: 0,
486
+ type: "text",
487
+ size: "small",
488
+ disabled: H.value,
489
+ onClick: r[3] ||= (e) => W("accessModeOverride")
490
+ }, {
491
+ default: E(() => [y(w(T(s).t("platform.screen.WorkflowWorkbenchView.reset", "重置")), 1)]),
492
+ _: 1
493
+ }, 8, ["disabled"])) : g("v-if", !0)])]), b(T(t), {
494
+ value: T(I).accessModeOverride ?? T(I).accessMode,
495
+ disabled: H.value,
496
+ options: [
497
+ {
498
+ label: T(s).t("platform.screen.ModuleActionManagementView.authorization-required", "需要授权"),
499
+ value: "AUTH_REQUIRED"
500
+ },
501
+ {
502
+ label: T(s).t("platform.screen.ModuleActionManagementView.signed-in-access", "登录可用"),
503
+ value: "LOGIN_REQUIRED"
504
+ },
505
+ {
506
+ label: T(s).t("platform.screen.ModuleActionManagementView.anonymous-access", "匿名可用"),
507
+ value: "ANONYMOUS_ALLOWED"
508
+ }
509
+ ],
510
+ "onUpdate:value": r[4] ||= (e) => K("accessModeOverride", e)
511
+ }, null, 8, [
512
+ "value",
513
+ "disabled",
514
+ "options"
515
+ ])]),
516
+ v("section", N, [v("header", null, [v("div", null, [v("h4", null, [y(w(T(s).t("platform.screen.ModuleActionManagementView.default-grant-policy", "默认授予策略")) + " ", 1), b(T(a), { title: T(s).t("platform.screen.ModuleActionManagementView.define-the-default-grant-rules-when-eligible-users-first-receive", "定义满足条件的用户首次获得动作时的默认规则。") }, {
517
+ default: E(() => [v("button", {
518
+ type: "button",
519
+ class: "governance-help",
520
+ "aria-label": T(s).t("platform.screen.ModuleActionManagementView.default-grant-policy-description", "默认授予策略说明")
521
+ }, [b(T(u), { name: "help" })], 8, xe)]),
522
+ _: 1
523
+ }, 8, ["title"])])]), v("span", Se, [U("defaultGrantPolicyOverride") ? (S(), h(T(p), {
524
+ key: 0,
525
+ type: "text",
526
+ size: "small",
527
+ disabled: H.value,
528
+ onClick: r[5] ||= (e) => W("defaultGrantPolicyOverride")
529
+ }, {
530
+ default: E(() => [y(w(T(s).t("platform.screen.WorkflowWorkbenchView.reset", "重置")), 1)]),
531
+ _: 1
532
+ }, 8, ["disabled"])) : g("v-if", !0)])]), b(T(t), {
533
+ value: T(I).defaultGrantPolicyOverride ?? T(I).defaultGrantPolicy,
534
+ disabled: H.value,
535
+ options: [
536
+ {
537
+ label: T(s).t("platform.screen.ModuleActionManagementView.no-default-grant", "不默认授予"),
538
+ value: "NONE"
539
+ },
540
+ {
541
+ label: T(s).t("platform.screen.ModuleActionManagementView.all-signed-in-users", "所有登录用户"),
542
+ value: "ANY_LOGIN_USER"
543
+ },
544
+ {
545
+ label: T(s).t("platform.screen.ModuleActionManagementView.record-owner", "记录所有者"),
546
+ value: "OWNER"
547
+ },
548
+ {
549
+ label: T(s).t("platform.screen.WorkflowWorkbenchView.processors", "办理人"),
550
+ value: "ASSIGNEE"
551
+ },
552
+ {
553
+ label: T(s).t("platform.screen.ModuleActionManagementView.member", "成员"),
554
+ value: "MEMBER"
555
+ }
556
+ ],
557
+ "onUpdate:value": r[6] ||= (e) => K("defaultGrantPolicyOverride", e)
558
+ }, null, 8, [
559
+ "value",
560
+ "disabled",
561
+ "options"
562
+ ])]),
563
+ v("section", Ce, [v("header", null, [v("div", null, [v("h4", null, [y(w(T(s).t("platform.screen.ModuleActionManagementView.action-authorization", "动作授权")) + " ", 1), b(T(a), { title: T(s).t("platform.screen.ModuleActionManagementView.control-whether-roles-require-an-explicit-grant-for-this-action", "控制角色是否需要被显式授予该动作。") }, {
564
+ default: E(() => [v("button", {
565
+ type: "button",
566
+ class: "governance-help",
567
+ "aria-label": T(s).t("platform.screen.ModuleActionManagementView.action-permission-description", "动作授权说明")
568
+ }, [b(T(u), { name: "help" })], 8, we)]),
569
+ _: 1
570
+ }, 8, ["title"])])]), v("span", Te, [U("actionAuthOverride") ? (S(), h(T(p), {
571
+ key: 0,
572
+ type: "text",
573
+ size: "small",
574
+ disabled: H.value,
575
+ onClick: r[7] ||= (e) => W("actionAuthOverride")
576
+ }, {
577
+ default: E(() => [y(w(T(s).t("platform.screen.WorkflowWorkbenchView.reset", "重置")), 1)]),
578
+ _: 1
579
+ }, 8, ["disabled"])) : g("v-if", !0)])]), v("div", Ee, [b(T(i), {
580
+ checked: (T(I).actionAuthOverride ?? T(I).actionAuth) !== !1,
581
+ disabled: H.value,
582
+ "checked-text": T(s).t("platform.screen.ModuleActionManagementView.on", "开"),
583
+ "unchecked-text": T(s).t("platform.screen.ModuleActionManagementView.off", "关"),
584
+ "onUpdate:checked": r[8] ||= (e) => K("actionAuthOverride", e)
585
+ }, null, 8, [
586
+ "checked",
587
+ "disabled",
588
+ "checked-text",
589
+ "unchecked-text"
590
+ ]), v("strong", null, w((T(I).actionAuthOverride ?? T(I).actionAuth) === !1 ? T(s).t("platform.screen.ModuleActionManagementView.not-enabled", "未启用") : T(s).t("platform.screen.DynamicModuleWorkspaceDetailView.enabled", "已启用")), 1)])]),
591
+ v("section", De, [v("header", null, [v("div", null, [v("h4", null, [y(w(T(s).t("platform.screen.ModuleActionManagementView.data-authorization", "数据授权")) + " ", 1), b(T(a), { title: T(s).t("platform.screen.ModuleActionManagementView.when-enabled-reads-and-execution-are-checked-against-the-data", "启用后,读取和执行会继续按数据范围校验。") }, {
592
+ default: E(() => [v("button", {
593
+ type: "button",
594
+ class: "governance-help",
595
+ "aria-label": T(s).t("platform.screen.ModuleActionManagementView.data-permission-description", "数据授权说明")
596
+ }, [b(T(u), { name: "help" })], 8, Oe)]),
597
+ _: 1
598
+ }, 8, ["title"])])]), v("span", ke, [U("dataAuthOverride") ? (S(), h(T(p), {
599
+ key: 0,
600
+ type: "text",
601
+ size: "small",
602
+ disabled: H.value,
603
+ onClick: r[9] ||= (e) => W("dataAuthOverride")
604
+ }, {
605
+ default: E(() => [y(w(T(s).t("platform.screen.WorkflowWorkbenchView.reset", "重置")), 1)]),
606
+ _: 1
607
+ }, 8, ["disabled"])) : g("v-if", !0)])]), v("div", Ae, [b(T(i), {
608
+ checked: (T(I).dataAuthOverride ?? T(I).dataAuth) === !0,
609
+ disabled: H.value,
610
+ "checked-text": T(s).t("platform.screen.ModuleActionManagementView.on", "开"),
611
+ "unchecked-text": T(s).t("platform.screen.ModuleActionManagementView.off", "关"),
612
+ "onUpdate:checked": r[10] ||= (e) => K("dataAuthOverride", e)
613
+ }, null, 8, [
614
+ "checked",
615
+ "disabled",
616
+ "checked-text",
617
+ "unchecked-text"
618
+ ]), v("strong", null, w((T(I).dataAuthOverride ?? T(I).dataAuth) === !0 ? T(s).t("platform.screen.DynamicModuleWorkspaceDetailView.enabled", "已启用") : T(s).t("platform.screen.ModuleActionManagementView.not-enabled", "未启用")), 1)])])
619
+ ])])], 32)) : (S(), _("form", {
620
+ key: 3,
621
+ class: "static-record-form",
622
+ onSubmit: r[22] ||= D((...e) => T(P).save && T(P).save(...e), ["prevent"])
623
+ }, [
624
+ v("p", je, w(T(s).t("platform.screen.ModuleActionManagementView.you-can-save-an-action-before-binding-its-executor-unbound", "可以先保存动作,再绑定执行能力。待绑定动作不可执行,页面引用后需完成绑定才能发布。")), 1),
625
+ v("label", null, [v("span", null, w(T(s).t("platform.screen.ModuleActionManagementView.action-code", "动作编码")), 1), b(T(o), {
626
+ value: T(I).actionCode,
627
+ disabled: H.value,
628
+ "onUpdate:value": r[12] ||= (e) => K("actionCode", e)
629
+ }, null, 8, ["value", "disabled"])]),
630
+ v("label", null, [v("span", null, w(T(s).t("platform.screen.ModuleActionManagementView.action-name", "动作名称")), 1), b(T(o), {
631
+ value: T(I).title,
632
+ disabled: H.value,
633
+ "onUpdate:value": r[13] ||= (e) => K("title", e)
634
+ }, null, 8, ["value", "disabled"])]),
635
+ v("label", null, [v("span", null, w(T(s).t("platform.screen.ModuleActionManagementView.execution-level", "执行层级")), 1), b(T(t), {
636
+ value: T(I).actionLevel,
637
+ disabled: H.value,
638
+ options: We.value,
639
+ "onUpdate:value": r[14] ||= (e) => K("actionLevel", e)
640
+ }, null, 8, [
641
+ "value",
642
+ "disabled",
643
+ "options"
644
+ ])]),
645
+ v("label", null, [v("span", null, w(T(s).t("platform.screen.ModuleActionManagementView.access-mode", "访问方式")), 1), b(T(t), {
646
+ value: T(I).accessMode,
647
+ disabled: H.value,
648
+ options: [
649
+ {
650
+ label: T(s).t("platform.screen.ModuleActionManagementView.authorization-required", "需要授权"),
651
+ value: "AUTH_REQUIRED"
652
+ },
653
+ {
654
+ label: T(s).t("platform.screen.ModuleActionManagementView.signed-in-access", "登录可用"),
655
+ value: "LOGIN_REQUIRED"
656
+ },
657
+ {
658
+ label: T(s).t("platform.screen.ModuleActionManagementView.anonymous-access", "匿名可用"),
659
+ value: "ANONYMOUS_ALLOWED"
660
+ }
661
+ ],
662
+ "onUpdate:value": r[15] ||= (e) => K("accessMode", e)
663
+ }, null, 8, [
664
+ "value",
665
+ "disabled",
666
+ "options"
667
+ ])]),
668
+ e.moduleKind === "dynamic" ? (S(), _("label", Me, [v("span", null, w(T(s).t("platform.screen.ModuleActionManagementView.executor-can-be-bound-later", "执行能力(可稍后绑定)")), 1), b(T(t), {
669
+ value: T(I).executorKey,
670
+ "allow-clear": "",
671
+ placeholder: T(s).t("platform.screen.PageCompositionTree.binding-pending", "待绑定"),
672
+ disabled: H.value,
673
+ options: Ue.value,
674
+ "onUpdate:value": r[16] ||= (e) => et(e)
675
+ }, null, 8, [
676
+ "value",
677
+ "placeholder",
678
+ "disabled",
679
+ "options"
680
+ ])])) : g("v-if", !0),
681
+ e.moduleKind === "dynamic" ? g("v-if", !0) : (S(), _("p", Ne, w(T(s).t("platform.screen.ModuleActionManagementView.static-modules-bind-an-executor-through-a-code-action-declaration", "静态模块通过同编码的代码动作声明绑定执行能力。")), 1)),
682
+ v("label", Pe, [b(T(c), {
683
+ checked: T(I).actionAuth !== !1,
684
+ disabled: H.value,
685
+ "onUpdate:checked": r[17] ||= (e) => K("actionAuth", e)
686
+ }, {
687
+ default: E(() => [y(w(T(s).t("platform.screen.ModuleActionManagementView.enable-action-permissions", "启用动作授权")), 1)]),
688
+ _: 1
689
+ }, 8, ["checked", "disabled"])]),
690
+ v("label", Fe, [b(T(c), {
691
+ checked: T(I).dataAuth === !0,
692
+ disabled: H.value,
693
+ "onUpdate:checked": r[18] ||= (e) => K("dataAuth", e)
694
+ }, {
695
+ default: E(() => [y(w(T(s).t("platform.screen.ModuleActionManagementView.enable-data-permissions", "启用数据授权")), 1)]),
696
+ _: 1
697
+ }, 8, ["checked", "disabled"])]),
698
+ v("label", null, [v("span", null, w(T(s).t("platform.screen.ModuleActionManagementView.default-grant-policy", "默认授予策略")), 1), b(T(t), {
699
+ value: T(I).defaultGrantPolicy,
700
+ disabled: H.value,
701
+ options: [
702
+ {
703
+ label: T(s).t("platform.screen.ModuleActionManagementView.no-default-grant", "不默认授予"),
704
+ value: "NONE"
705
+ },
706
+ {
707
+ label: T(s).t("platform.screen.ModuleActionManagementView.all-signed-in-users", "所有登录用户"),
708
+ value: "ANY_LOGIN_USER"
709
+ },
710
+ {
711
+ label: T(s).t("platform.screen.ModuleActionManagementView.record-owner", "记录所有者"),
712
+ value: "OWNER"
713
+ },
714
+ {
715
+ label: T(s).t("platform.screen.WorkflowWorkbenchView.processors", "办理人"),
716
+ value: "ASSIGNEE"
717
+ },
718
+ {
719
+ label: T(s).t("platform.screen.ModuleActionManagementView.member", "成员"),
720
+ value: "MEMBER"
721
+ }
722
+ ],
723
+ "onUpdate:value": r[19] ||= (e) => K("defaultGrantPolicy", e)
724
+ }, null, 8, [
725
+ "value",
726
+ "disabled",
727
+ "options"
728
+ ])]),
729
+ v("label", Ie, [v("span", null, w(T(s).t("platform.screen.ModuleActionManagementView.availability-expression", "可用条件表达式")), 1), b(T(f), {
730
+ value: T(I).availableExpression,
731
+ disabled: H.value,
732
+ "onUpdate:value": r[20] ||= (e) => K("availableExpression", e)
733
+ }, null, 8, ["value", "disabled"])]),
734
+ v("label", Le, [v("span", null, w(T(s).t("platform.screen.ModuleActionManagementView.unavailable-message", "不可用提示")), 1), b(T(f), {
735
+ value: T(I).unavailableMessage,
736
+ disabled: H.value,
737
+ "onUpdate:value": r[21] ||= (e) => K("unavailableMessage", e)
738
+ }, null, 8, ["value", "disabled"])])
739
+ ], 32)), T(F) || T(L) !== "view" ? (S(), h(T(ne), {
740
+ key: 4,
741
+ record: T(I)
742
+ }, null, 8, ["record"])) : g("v-if", !0)]),
743
+ _: 1
744
+ }, 8, [
745
+ "explorer-title",
746
+ "refresh-title",
747
+ "mode",
748
+ "detail-title",
749
+ "explorer-search-keyword",
750
+ "explorer-search-placeholder"
751
+ ]));
752
+ }
753
+ }), F = /* @__PURE__ */ e({ default: () => I }), I = /*#__PURE__*/ s(P, [["__scopeId", "data-v-b89409d5"]]);
754
+ //#endregion
755
+ export { F as n, I as t };