@ximatai/muyun-web-app 0.26.27 → 0.26.28
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.
- package/dist/{BusinessActivityLogView-Bbe-GbNG.js → BusinessActivityLogView-DlNB97pu.js} +2 -2
- package/dist/BusinessLogListDrawer-ByiwQP1m.js +868 -0
- package/dist/CodeConfigurationView-91B9dHjD.js +2333 -0
- package/dist/{ConfigurationTranslationView-B3Cr9Wes.js → ConfigurationTranslationView-ClovkYJt.js} +49 -49
- package/dist/{LoginAuditLogView-DOwkqtVB.js → LoginAuditLogView-Blg9giRX.js} +2 -2
- package/dist/{ModuleActionManagementView-DNXAhdXk.js → ModuleActionManagementView-Chr_XTJ3.js} +191 -191
- package/dist/{ModuleGovernanceView-g5W2R_Zl.js → ModuleGovernanceView-BNlRHqSj.js} +3403 -3421
- package/dist/{RequestErrorLogView-9GIz2mkQ.js → RequestErrorLogView-CGczIKQy.js} +2 -2
- package/dist/RoleDetailWorkspaceView-CPH9cga9.js +1435 -0
- package/dist/{RuntimeLogView-C5i19Z-u.js → RuntimeLogView-DF-1k-9y.js} +51 -51
- package/dist/{WorkflowAdministrationView-CnoTudpI.js → WorkflowAdministrationView-CCXry0G4.js} +57 -57
- package/dist/WorkflowConfigurationView-BqSfYua2.js +2227 -0
- package/dist/{WorkflowWorkbenchView-DbWqspEB.js → WorkflowWorkbenchView-DUFfO3Gf.js} +248 -248
- package/dist/{codeConfiguration-Bno8cWxB.js → codeConfiguration-BRxveKen.js} +66 -49
- package/dist/configurationEditorNavigation-DeXvfJyr.js +15 -0
- package/dist/formulaReferences-CKkkdA_R.js +23 -0
- package/dist/index.css +1 -1
- package/dist/index.js +727 -727
- package/dist/{moduleMenuWorkspace-DW13bHG5.js → moduleMenuWorkspace-D_A94ZgR.js} +237 -248
- package/dist/{platform-components-D3NvMY3T.js → platform-components-DSMqalgQ.js} +4535 -4455
- package/dist/{platform-workbench-C4OFiuG5.js → platform-workbench-B53hydzq.js} +5376 -5289
- package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +28 -3
- package/dist/types/dynamic-page-runtime/ModuleReferenceRecordDetailBrowser.vue.d.ts +13 -4
- package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/recordFormAssistantCapabilities.d.ts +3 -1
- package/dist/types/dynamic-page-runtime/recordFormDraftAccess.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +1 -0
- package/dist/types/platform-components/BusinessNotificationPanel.vue.d.ts +2 -0
- package/dist/types/platform-components/ReferenceRecordDetailBrowser.vue.d.ts +10 -0
- package/dist/types/platform-components/index.d.ts +2 -2
- package/dist/types/platform-components/optionFieldOptionCache.d.ts +11 -1
- package/dist/types/platform-components/recordFormFieldModel.d.ts +1 -0
- package/dist/types/platform-components/referenceRecordDetailBrowser.d.ts +13 -1
- package/dist/types/platform-components/useWorkflowDesignSession.d.ts +141 -0
- package/dist/types/platform-components/workflowDesignEditing.d.ts +8 -7
- package/dist/types/platform-components/workflowDesignOperations.d.ts +107 -0
- package/dist/types/views/CodeRuleRecoveryPanel.vue.d.ts +20 -0
- package/dist/types/views/businessRuleGovernance.d.ts +1 -2
- package/dist/types/views/codeConfiguration.d.ts +29 -1
- package/dist/types/views/codeConfigurationAssistantSurface.d.ts +17 -0
- package/dist/types/views/codeRuleSaveRecovery.d.ts +12 -0
- package/dist/types/views/useCodeConfigurationAssistant.d.ts +10 -0
- package/dist/types/views/useCodeConfigurationSession.d.ts +16 -0
- package/dist/types/views/useWorkflowConfigurationAssistant.d.ts +16 -0
- package/dist/types/views/useWorkflowConfigurationContext.d.ts +16 -2
- package/dist/types/views/useWorkflowConfigurationSession.d.ts +146 -0
- package/dist/types/views/workflowConfigurationAssistantSurface.d.ts +169 -0
- package/dist/types/views/workflowSaveRecovery.d.ts +11 -0
- package/dist/types/vue-ui-antdv/components/sidePanelHost.d.ts +3 -1
- package/dist/types/vue-ui-antdv/index.d.ts +1 -0
- package/dist/types/web-core/formulaReferences.d.ts +2 -0
- package/dist/types/web-core/workflow.d.ts +11 -1
- package/dist/useWorkflowConfigurationContext-BuBDdUcQ.js +78 -0
- package/dist/{workspaceViews-D2Uh4KAq.js → workspaceViews-BSVtjZj1.js} +680 -680
- package/package.json +1 -1
- package/dist/BusinessLogListDrawer-BmF-14We.js +0 -868
- package/dist/CodeConfigurationView-DdPfBjoC.js +0 -1667
- package/dist/RoleDetailWorkspaceView-BuqRT0pd.js +0 -1435
- package/dist/WorkflowConfigurationView-Cku-F1Fm.js +0 -980
- package/dist/useWorkflowConfigurationContext-eQKyqe6_.js +0 -66
package/dist/{ModuleActionManagementView-DNXAhdXk.js → ModuleActionManagementView-Chr_XTJ3.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as e } from "./rolldown-runtime-BAC7EHh5.js";
|
|
2
|
-
import "./platform-workbench-
|
|
3
|
-
import {
|
|
2
|
+
import "./platform-workbench-B53hydzq.js";
|
|
3
|
+
import { E as t, F as n, Gn as ee, In as te, K as ne, R as r, Rr as i, Sn as re, St as a, Wa as ie, Xn as o, Zt as ae, ao as oe, bn as se, br as s, cn as ce, dr as c, hr as l, mr as u, or as d, pi as le, rr as f, ti as ue, vr as p, xa as m, y as de, yr as h } from "./platform-components-DSMqalgQ.js";
|
|
4
4
|
import { computed as g, createBlock as _, createCommentVNode as v, createElementBlock as y, createElementVNode as b, createTextVNode as x, createVNode as S, defineComponent as C, onMounted as fe, openBlock as w, ref as T, toDisplayString as E, unref as D, withCtx as O, withModifiers as k } from "vue";
|
|
5
5
|
//#region src/platform-components/staticTreeResourceModuleContext.ts
|
|
6
6
|
function pe(e, t = {}) {
|
|
@@ -85,40 +85,40 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
|
|
|
85
85
|
title: {}
|
|
86
86
|
},
|
|
87
87
|
setup(e) {
|
|
88
|
-
let
|
|
89
|
-
language:
|
|
88
|
+
let s = oe(), C = e, A = ue({ moduleAlias: "platform.module_action" }), j = pe(A, { client: le(A.http, `/platform.module/${encodeURIComponent(C.moduleAlias)}/actions`) }), M = T(""), N = T(!1), P = T([]), F = de({
|
|
89
|
+
language: s,
|
|
90
90
|
context: j,
|
|
91
|
-
confirmAction: (e) =>
|
|
91
|
+
confirmAction: (e) => te(e, s),
|
|
92
92
|
emptyDraft: () => q(C.moduleAlias),
|
|
93
93
|
normalizeDraft: (e) => J(e, C.moduleAlias),
|
|
94
94
|
copyRecord: (e) => ({ ...e }),
|
|
95
95
|
titleOf: Q,
|
|
96
96
|
get fallbackTitle() {
|
|
97
|
-
return
|
|
97
|
+
return s.t("platform.unsaved-source.ModuleActionManagementView", "模块动作");
|
|
98
98
|
},
|
|
99
99
|
get createTitle() {
|
|
100
|
-
return
|
|
100
|
+
return s.t("platform.screen.ModuleActionManagementView.new-action", "新建动作");
|
|
101
101
|
},
|
|
102
102
|
get requiredMessage() {
|
|
103
|
-
return
|
|
103
|
+
return m(s, "platform.screen.ModuleActionManagementView.the-action-code-is-required", "动作编码不能为空");
|
|
104
104
|
},
|
|
105
105
|
isValid: (e) => !!e.actionCode?.trim(),
|
|
106
106
|
get recordName() {
|
|
107
|
-
return
|
|
107
|
+
return s.t("platform.governance.tab.actions", "动作");
|
|
108
108
|
},
|
|
109
109
|
get deleteTitle() {
|
|
110
|
-
return
|
|
110
|
+
return s.t("platform.screen.ModuleActionManagementView.delete-action", "删除动作");
|
|
111
111
|
},
|
|
112
112
|
get saveDeniedMessage() {
|
|
113
|
-
return
|
|
113
|
+
return m(s, "platform.screen.ModuleActionManagementView.you-do-not-have-permission-to-save-module-actions", "当前用户无权保存模块动作");
|
|
114
114
|
},
|
|
115
115
|
get createDeniedMessage() {
|
|
116
|
-
return
|
|
116
|
+
return m(s, "platform.screen.ModuleActionManagementView.you-do-not-have-permission-to-create-module-actions", "当前用户无权新建模块动作");
|
|
117
117
|
},
|
|
118
118
|
get enableDeniedMessage() {
|
|
119
|
-
return
|
|
119
|
+
return m(s, "platform.screen.ModuleActionManagementView.you-do-not-have-permission-to-enable-or-disable-module", "当前用户无权变更模块动作启停状态");
|
|
120
120
|
},
|
|
121
|
-
deleteDeniedMessage: () =>
|
|
121
|
+
deleteDeniedMessage: () => m(s, "platform.screen.ModuleActionManagementView.you-do-not-have-permission-to-delete-module-actions", "当前用户无权删除模块动作"),
|
|
122
122
|
canDeleteRecord: (e) => e.systemManaged !== !0,
|
|
123
123
|
canEnableRecord: (e) => e.systemManaged !== !0
|
|
124
124
|
}), { selected: I, draft: L, mode: R, reloadKey: z, saving: B, cardTitle: Be, canCreate: Ve, canEnable: He } = F, Ue = g(() => {
|
|
@@ -126,7 +126,7 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
|
|
|
126
126
|
let e = I.value ? J(I.value, C.moduleAlias) : q(C.moduleAlias);
|
|
127
127
|
return JSON.stringify(L.value) !== JSON.stringify(e);
|
|
128
128
|
});
|
|
129
|
-
|
|
129
|
+
i(() => s.t("platform.unsaved-source.ModuleActionManagementView", "模块动作"), () => Ue.value);
|
|
130
130
|
let V = g(() => j.can("sort") === !0), H = g(() => R.value !== "view" || B.value || !!M.value.trim()), We = g(() => Ve.value), Ge = g(() => P.value.map((e) => ({
|
|
131
131
|
value: e.executorKey,
|
|
132
132
|
label: e.description ? `${e.title} · ${e.description}` : e.title
|
|
@@ -138,10 +138,10 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
|
|
|
138
138
|
]).map((e) => ({
|
|
139
139
|
value: e,
|
|
140
140
|
label: {
|
|
141
|
-
LIST:
|
|
142
|
-
RECORD:
|
|
143
|
-
BATCH:
|
|
144
|
-
ANY:
|
|
141
|
+
LIST: s.t("platform.page.composition.list", "列表"),
|
|
142
|
+
RECORD: s.t("platform.screen.ModuleActionManagementView.single-record", "单条记录"),
|
|
143
|
+
BATCH: s.t("platform.screen.ModuleActionManagementView.batch", "批量"),
|
|
144
|
+
ANY: s.t("platform.screen.ModuleActionManagementView.any", "任意")
|
|
145
145
|
}[e]
|
|
146
146
|
}))), qe = g(() => [
|
|
147
147
|
"actionCode",
|
|
@@ -173,18 +173,18 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
|
|
|
173
173
|
...F.mode.value === "edit" && F.selected.value?.systemManaged === !0 && $e(L.value) ? [{
|
|
174
174
|
key: "reset-permission-governance",
|
|
175
175
|
actionCode: "update",
|
|
176
|
-
title:
|
|
176
|
+
title: s.t("platform.screen.ModuleActionManagementView.reset-all", "全部重置"),
|
|
177
177
|
disabled: F.saving.value
|
|
178
178
|
}] : [],
|
|
179
179
|
{
|
|
180
180
|
key: "cancel",
|
|
181
|
-
title:
|
|
181
|
+
title: s.t("platform.action.cancel", "取消"),
|
|
182
182
|
disabled: F.saving.value
|
|
183
183
|
},
|
|
184
184
|
{
|
|
185
185
|
key: "save",
|
|
186
186
|
actionCode: F.mode.value === "create" ? "create" : "update",
|
|
187
|
-
title: F.saving.value ?
|
|
187
|
+
title: F.saving.value ? s.t("platform.action.saving", "保存中") : s.t("platform.action.save", "保存"),
|
|
188
188
|
primary: !0,
|
|
189
189
|
loading: F.saving.value
|
|
190
190
|
}
|
|
@@ -193,12 +193,12 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
|
|
|
193
193
|
return [{
|
|
194
194
|
key: "edit",
|
|
195
195
|
actionCode: "update",
|
|
196
|
-
title:
|
|
196
|
+
title: s.t("platform.action.edit", "编辑"),
|
|
197
197
|
disabled: !e || !F.canUpdate.value
|
|
198
198
|
}, {
|
|
199
199
|
key: "delete",
|
|
200
200
|
actionCode: "delete",
|
|
201
|
-
title:
|
|
201
|
+
title: s.t("platform.action.delete", "删除"),
|
|
202
202
|
danger: !0,
|
|
203
203
|
loading: F.saving.value,
|
|
204
204
|
disabled: !e || e.systemManaged === !0 || !F.canDelete.value
|
|
@@ -209,7 +209,7 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
|
|
|
209
209
|
return {
|
|
210
210
|
title: Q(t),
|
|
211
211
|
secondary: t.actionCode,
|
|
212
|
-
tag: t.systemManaged === !0 ?
|
|
212
|
+
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", "待绑定"),
|
|
213
213
|
muted: t.enabled === !1
|
|
214
214
|
};
|
|
215
215
|
}
|
|
@@ -249,8 +249,8 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
|
|
|
249
249
|
try {
|
|
250
250
|
P.value = await A.http.request({ path: "/platform.module/action-executors" });
|
|
251
251
|
} catch (e) {
|
|
252
|
-
P.value = [],
|
|
253
|
-
language:
|
|
252
|
+
P.value = [], re(e, {
|
|
253
|
+
language: s,
|
|
254
254
|
source: "module-action-management",
|
|
255
255
|
phase: "load"
|
|
256
256
|
});
|
|
@@ -302,64 +302,64 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
|
|
|
302
302
|
return !!e?.trim();
|
|
303
303
|
}
|
|
304
304
|
function Q(e) {
|
|
305
|
-
return
|
|
305
|
+
return ie(e, "title", s)?.trim() || e.actionCode?.trim() || e.id || s.t("platform.screen.ModuleActionManagementView.untitled-action", "未命名动作");
|
|
306
306
|
}
|
|
307
307
|
function $(e, t) {
|
|
308
308
|
let n = {
|
|
309
309
|
category: {
|
|
310
|
-
STANDARD:
|
|
311
|
-
CUSTOM:
|
|
312
|
-
DIALOG:
|
|
313
|
-
WORKFLOW:
|
|
314
|
-
GENERATE:
|
|
310
|
+
STANDARD: s.t("platform.screen.RoleAuthorizationView.standard-action", "标准动作"),
|
|
311
|
+
CUSTOM: s.t("platform.screen.ModuleActionManagementView.custom-action", "自定义动作"),
|
|
312
|
+
DIALOG: s.t("platform.screen.ModuleActionManagementView.dialog-action", "弹窗动作"),
|
|
313
|
+
WORKFLOW: s.t("platform.screen.ModuleActionManagementView.workflow-action", "工作流动作"),
|
|
314
|
+
GENERATE: s.t("platform.screen.ModuleActionManagementView.generation-action", "生成动作")
|
|
315
315
|
},
|
|
316
316
|
actionLevel: {
|
|
317
|
-
LIST:
|
|
318
|
-
RECORD:
|
|
319
|
-
BATCH:
|
|
320
|
-
ANY:
|
|
317
|
+
LIST: s.t("platform.page.composition.list", "列表"),
|
|
318
|
+
RECORD: s.t("platform.screen.ModuleActionManagementView.single-record", "单条记录"),
|
|
319
|
+
BATCH: s.t("platform.screen.ModuleActionManagementView.batch", "批量"),
|
|
320
|
+
ANY: s.t("platform.screen.ModuleActionManagementView.any", "任意")
|
|
321
321
|
},
|
|
322
322
|
accessMode: {
|
|
323
|
-
AUTH_REQUIRED:
|
|
324
|
-
LOGIN_REQUIRED:
|
|
325
|
-
ANONYMOUS_ALLOWED:
|
|
323
|
+
AUTH_REQUIRED: s.t("platform.screen.ModuleActionManagementView.authorization-required", "需要授权"),
|
|
324
|
+
LOGIN_REQUIRED: s.t("platform.screen.ModuleActionManagementView.signed-in-access", "登录可用"),
|
|
325
|
+
ANONYMOUS_ALLOWED: s.t("platform.screen.ModuleActionManagementView.anonymous-access", "匿名可用")
|
|
326
326
|
},
|
|
327
327
|
executorType: {
|
|
328
|
-
STANDARD:
|
|
329
|
-
SERVICE:
|
|
330
|
-
DIALOG:
|
|
331
|
-
WORKFLOW:
|
|
332
|
-
GENERATE:
|
|
328
|
+
STANDARD: s.t("platform.screen.ModuleActionManagementView.platform-standard", "平台标准"),
|
|
329
|
+
SERVICE: s.t("platform.screen.ModuleActionManagementView.custom-service", "服务(二开)"),
|
|
330
|
+
DIALOG: s.t("platform.screen.ModuleActionManagementView.dialog-protocol", "弹窗协议"),
|
|
331
|
+
WORKFLOW: s.t("platform.screen.ModuleActionManagementView.workflow", "工作流"),
|
|
332
|
+
GENERATE: s.t("platform.screen.ModuleActionManagementView.generator", "生成器")
|
|
333
333
|
},
|
|
334
334
|
defaultGrantPolicy: {
|
|
335
|
-
NONE:
|
|
336
|
-
ANY_LOGIN_USER:
|
|
337
|
-
OWNER:
|
|
338
|
-
ASSIGNEE:
|
|
339
|
-
MEMBER:
|
|
335
|
+
NONE: s.t("platform.screen.ModuleActionManagementView.no-default-grant", "不默认授予"),
|
|
336
|
+
ANY_LOGIN_USER: s.t("platform.screen.ModuleActionManagementView.all-signed-in-users", "所有登录用户"),
|
|
337
|
+
OWNER: s.t("platform.screen.ModuleActionManagementView.record-owner", "记录所有者"),
|
|
338
|
+
ASSIGNEE: s.t("platform.screen.WorkflowWorkbenchView.processors", "办理人"),
|
|
339
|
+
MEMBER: s.t("platform.screen.ModuleActionManagementView.member", "成员")
|
|
340
340
|
},
|
|
341
341
|
sourceType: {
|
|
342
|
-
STATIC_MODULE:
|
|
343
|
-
CODE_EXTENSION:
|
|
344
|
-
DYNAMIC_MODULE:
|
|
345
|
-
WORKFLOW_DEFINITION:
|
|
346
|
-
WORKFLOW_RUNTIME:
|
|
347
|
-
RECORD_GENERATION_RULE:
|
|
348
|
-
DOCUMENT_RELATION:
|
|
349
|
-
PRINT_TEMPLATE:
|
|
342
|
+
STATIC_MODULE: s.t("platform.screen.ModuleActionManagementView.static-module-declaration", "静态模块声明"),
|
|
343
|
+
CODE_EXTENSION: s.t("platform.screen.ModuleActionManagementView.code-extension", "代码扩展"),
|
|
344
|
+
DYNAMIC_MODULE: s.t("platform.screen.ModuleActionManagementView.dynamic-module-configuration", "动态模块配置"),
|
|
345
|
+
WORKFLOW_DEFINITION: s.t("platform.screen.ModuleActionManagementView.workflow-definition", "工作流定义"),
|
|
346
|
+
WORKFLOW_RUNTIME: s.t("platform.screen.ModuleActionManagementView.workflow-runtime", "工作流运行时"),
|
|
347
|
+
RECORD_GENERATION_RULE: s.t("platform.screen.ModuleActionManagementView.document-generation-rule", "生单规则"),
|
|
348
|
+
DOCUMENT_RELATION: s.t("platform.screen.ModuleActionManagementView.document-relation", "单据关系"),
|
|
349
|
+
PRINT_TEMPLATE: s.t("platform.screen.ModuleActionManagementView.print-template", "打印模板")
|
|
350
350
|
}
|
|
351
351
|
};
|
|
352
|
-
return e === "actionAuth" || e === "dataAuth" ? t === !0 ?
|
|
352
|
+
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;
|
|
353
353
|
}
|
|
354
|
-
return (
|
|
355
|
-
"explorer-title": D(
|
|
356
|
-
"refresh-title": D(
|
|
354
|
+
return (te, i) => (w(), _(D(t), {
|
|
355
|
+
"explorer-title": D(s).t("platform.unsaved-source.ModuleActionManagementView", "模块动作"),
|
|
356
|
+
"refresh-title": D(s).t("platform.screen.ModuleActionManagementView.refresh-actions", "刷新动作"),
|
|
357
357
|
mode: D(R),
|
|
358
358
|
"detail-title": D(Be),
|
|
359
359
|
"explorer-search-keyword": M.value,
|
|
360
|
-
"explorer-search-placeholder": D(
|
|
361
|
-
"onUpdate:explorerSearchKeyword":
|
|
362
|
-
onRefresh:
|
|
360
|
+
"explorer-search-placeholder": D(s).t("platform.screen.ModuleActionManagementView.search-action-name-or-code", "搜索动作名称或编码"),
|
|
361
|
+
"onUpdate:explorerSearchKeyword": i[25] ||= (e) => M.value = e,
|
|
362
|
+
onRefresh: i[26] ||= (e) => z.value += 1
|
|
363
363
|
}, {
|
|
364
364
|
"explorer-actions": O(() => [V.value ? (w(), _(D(ne), {
|
|
365
365
|
key: 0,
|
|
@@ -369,9 +369,9 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
|
|
|
369
369
|
type: "text",
|
|
370
370
|
selected: N.value,
|
|
371
371
|
disabled: H.value,
|
|
372
|
-
title: M.value.trim() ? D(
|
|
373
|
-
"aria-label": N.value ? D(
|
|
374
|
-
onClick:
|
|
372
|
+
title: M.value.trim() ? D(s).t("platform.screen.ModulePageHostRuntime.clear-the-search-to-reorder-records", "清空搜索后可调整排序") : D(R) === "view" ? N.value ? D(s).t("platform.screen.ModulePageHostRuntime.finish-reordering", "结束排序") : D(s).t("platform.screen.ModulePageHostRuntime.reorder", "调整排序") : D(s).t("platform.screen.ModuleActionManagementView.finish-editing-before-reordering", "结束编辑后可调整排序"),
|
|
373
|
+
"aria-label": N.value ? D(s).t("platform.screen.ModulePageHostRuntime.finish-reordering", "结束排序") : D(s).t("platform.screen.ModulePageHostRuntime.reorder", "调整排序"),
|
|
374
|
+
onClick: i[0] ||= (e) => N.value = !N.value
|
|
375
375
|
}, null, 8, [
|
|
376
376
|
"selected",
|
|
377
377
|
"disabled",
|
|
@@ -381,7 +381,7 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
|
|
|
381
381
|
class: "record-panel-create-button",
|
|
382
382
|
context: D(j),
|
|
383
383
|
"action-code": "create",
|
|
384
|
-
title: D(
|
|
384
|
+
title: D(s).t("platform.screen.ModuleActionManagementView.new-action", "新建动作"),
|
|
385
385
|
"icon-only": "",
|
|
386
386
|
disabled: !We.value || D(B),
|
|
387
387
|
onClick: nt
|
|
@@ -390,18 +390,18 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
|
|
|
390
390
|
"title",
|
|
391
391
|
"disabled"
|
|
392
392
|
])]),
|
|
393
|
-
explorer: O(() => [S(D(
|
|
393
|
+
explorer: O(() => [S(D(se), {
|
|
394
394
|
context: D(j),
|
|
395
395
|
"selected-id": D(I)?.id,
|
|
396
396
|
"reload-key": D(z),
|
|
397
397
|
keyword: M.value,
|
|
398
398
|
sorting: N.value && V.value && !H.value,
|
|
399
|
-
"empty-description": D(
|
|
400
|
-
"loading-tip": D(
|
|
401
|
-
"fallback-title": D(
|
|
399
|
+
"empty-description": D(s).t("platform.screen.ModuleActionManagementView.no-actions-are-available-for-this-module", "当前模块暂无动作"),
|
|
400
|
+
"loading-tip": D(s).t("platform.screen.RoleAuthorizationView.loading-module-actions", "加载模块动作"),
|
|
401
|
+
"fallback-title": D(s).t("platform.screen.ModuleActionManagementView.untitled-action", "未命名动作"),
|
|
402
402
|
"item-of": Ze,
|
|
403
|
-
onLoaded:
|
|
404
|
-
onSelect:
|
|
403
|
+
onLoaded: i[1] ||= (e) => D(F).handleListLoaded(e),
|
|
404
|
+
onSelect: i[2] ||= (e) => D(F).handleSelect(e)
|
|
405
405
|
}, null, 8, [
|
|
406
406
|
"context",
|
|
407
407
|
"selected-id",
|
|
@@ -412,7 +412,7 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
|
|
|
412
412
|
"loading-tip",
|
|
413
413
|
"fallback-title"
|
|
414
414
|
])]),
|
|
415
|
-
"detail-status": O(() => [D(R) === "view" && D(I) ? (w(), _(D(
|
|
415
|
+
"detail-status": O(() => [D(R) === "view" && D(I) ? (w(), _(D(r), {
|
|
416
416
|
key: 0,
|
|
417
417
|
enabled: D(I).enabled,
|
|
418
418
|
disabled: D(B) || D(I).systemManaged === !0 || !D(He),
|
|
@@ -425,34 +425,34 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
|
|
|
425
425
|
"loading",
|
|
426
426
|
"onChange"
|
|
427
427
|
])) : v("v-if", !0)]),
|
|
428
|
-
"detail-actions": O(() => [S(D(
|
|
428
|
+
"detail-actions": O(() => [S(D(ae), {
|
|
429
429
|
context: D(j),
|
|
430
430
|
actions: Xe.value,
|
|
431
431
|
onAction: Qe
|
|
432
432
|
}, null, 8, ["context", "actions"])]),
|
|
433
|
-
default: O(() => [!D(I) && D(R) === "view" ? (w(), _(D(
|
|
433
|
+
default: O(() => [!D(I) && D(R) === "view" ? (w(), _(D(ee), {
|
|
434
434
|
key: 0,
|
|
435
|
-
description: e.moduleKind === "static" ? D(
|
|
435
|
+
description: e.moduleKind === "static" ? D(s).t("platform.screen.ModuleActionManagementView.static-module-actions-are-registered-automatically-from-java-declarations", "静态模块动作由 Java 声明自动注册") : D(s).t("platform.screen.ModuleActionManagementView.no-actions-are-available-for-this-module", "当前模块暂无动作")
|
|
436
436
|
}, null, 8, ["description"])) : D(R) === "view" && D(I) ? (w(), _(D(a), {
|
|
437
437
|
key: 1,
|
|
438
438
|
record: D(L),
|
|
439
439
|
"display-of": $,
|
|
440
440
|
"field-names": qe.value,
|
|
441
441
|
fallback: {
|
|
442
|
-
actionCode: { label: D(
|
|
443
|
-
title: { label: D(
|
|
444
|
-
category: { label: D(
|
|
445
|
-
actionLevel: { label: D(
|
|
446
|
-
accessMode: { label: D(
|
|
447
|
-
executorType: { label: D(
|
|
448
|
-
executorKey: { label: D(
|
|
449
|
-
actionAuth: { label: D(
|
|
450
|
-
dataAuth: { label: D(
|
|
451
|
-
defaultGrantPolicy: { label: D(
|
|
452
|
-
availableExpression: { label: D(
|
|
453
|
-
unavailableMessage: { label: D(
|
|
454
|
-
sourceType: { label: D(
|
|
455
|
-
bindingAlias: { label: D(
|
|
442
|
+
actionCode: { label: D(s).t("platform.screen.ModuleActionManagementView.action-code", "动作编码") },
|
|
443
|
+
title: { label: D(s).t("platform.screen.ModuleActionManagementView.action-name", "动作名称") },
|
|
444
|
+
category: { label: D(s).t("platform.screen.ModuleActionManagementView.action-category", "动作类别") },
|
|
445
|
+
actionLevel: { label: D(s).t("platform.screen.ModuleActionManagementView.execution-level", "执行层级") },
|
|
446
|
+
accessMode: { label: D(s).t("platform.screen.ModuleActionManagementView.access-mode", "访问方式") },
|
|
447
|
+
executorType: { label: D(s).t("platform.screen.ModuleActionManagementView.execution-method", "执行方式") },
|
|
448
|
+
executorKey: { label: D(s).t("platform.screen.ModuleActionManagementView.executor-implementation", "执行实现") },
|
|
449
|
+
actionAuth: { label: D(s).t("platform.screen.ModuleActionManagementView.action-authorization", "动作授权") },
|
|
450
|
+
dataAuth: { label: D(s).t("platform.screen.ModuleActionManagementView.data-authorization", "数据授权") },
|
|
451
|
+
defaultGrantPolicy: { label: D(s).t("platform.screen.ModuleActionManagementView.default-grant-policy", "默认授予策略") },
|
|
452
|
+
availableExpression: { label: D(s).t("platform.screen.ModuleActionManagementView.availability-condition", "可用条件") },
|
|
453
|
+
unavailableMessage: { label: D(s).t("platform.screen.ModuleActionManagementView.unavailable-message", "不可用提示") },
|
|
454
|
+
sourceType: { label: D(s).t("platform.screen.ModuleActionManagementView.registration-source", "注册来源") },
|
|
455
|
+
bindingAlias: { label: D(s).t("platform.screen.ModuleActionManagementView.binding-id", "绑定标识") }
|
|
456
456
|
}
|
|
457
457
|
}, null, 8, [
|
|
458
458
|
"record",
|
|
@@ -461,307 +461,307 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
|
|
|
461
461
|
])) : D(R) !== "create" && D(I)?.systemManaged ? (w(), y("form", {
|
|
462
462
|
key: 2,
|
|
463
463
|
class: "managed-action-editor",
|
|
464
|
-
onSubmit:
|
|
465
|
-
}, [b("section", me, [b("h3", null, E(D(
|
|
464
|
+
onSubmit: i[12] ||= k((...e) => D(F).save && D(F).save(...e), ["prevent"])
|
|
465
|
+
}, [b("section", me, [b("h3", null, E(D(s).t("platform.screen.ModuleActionManagementView.action-declaration", "动作声明")), 1), S(D(a), {
|
|
466
466
|
record: D(L),
|
|
467
467
|
"display-of": $,
|
|
468
468
|
"field-names": Je.value,
|
|
469
469
|
fallback: {
|
|
470
|
-
actionCode: { label: D(
|
|
471
|
-
title: { label: D(
|
|
472
|
-
category: { label: D(
|
|
473
|
-
actionLevel: { label: D(
|
|
474
|
-
executorType: { label: D(
|
|
475
|
-
executorKey: { label: D(
|
|
476
|
-
sourceType: { label: D(
|
|
470
|
+
actionCode: { label: D(s).t("platform.screen.ModuleActionManagementView.action-code", "动作编码") },
|
|
471
|
+
title: { label: D(s).t("platform.screen.ModuleActionManagementView.action-name", "动作名称") },
|
|
472
|
+
category: { label: D(s).t("platform.screen.ModuleActionManagementView.action-category", "动作类别") },
|
|
473
|
+
actionLevel: { label: D(s).t("platform.screen.ModuleActionManagementView.execution-level", "执行层级") },
|
|
474
|
+
executorType: { label: D(s).t("platform.screen.ModuleActionManagementView.execution-method", "执行方式") },
|
|
475
|
+
executorKey: { label: D(s).t("platform.screen.ModuleActionManagementView.executor-implementation", "执行实现") },
|
|
476
|
+
sourceType: { label: D(s).t("platform.screen.ModuleActionManagementView.registration-source", "注册来源") }
|
|
477
477
|
}
|
|
478
478
|
}, null, 8, [
|
|
479
479
|
"record",
|
|
480
480
|
"field-names",
|
|
481
481
|
"fallback"
|
|
482
482
|
])]), b("section", he, [
|
|
483
|
-
b("h3", null, E(D(
|
|
484
|
-
e.moduleKind === "dynamic" ? (w(), y("label", ge, [S(D(
|
|
483
|
+
b("h3", null, E(D(s).t("platform.screen.ModuleActionManagementView.permission-governance", "权限治理")), 1),
|
|
484
|
+
e.moduleKind === "dynamic" ? (w(), y("label", ge, [S(D(l), {
|
|
485
485
|
checked: D(L).schedulable === !0,
|
|
486
486
|
disabled: U.value || D(L).actionLevel !== "LIST" || D(L).formSupported === !0,
|
|
487
|
-
"onUpdate:checked":
|
|
487
|
+
"onUpdate:checked": i[3] ||= (e) => K("schedulable", e)
|
|
488
488
|
}, {
|
|
489
|
-
default: O(() => [x(E(D(
|
|
489
|
+
default: O(() => [x(E(D(s).t("platform.screen.ModuleActionManagementView.schedulable", "允许定时调用(无需表单的模块动作)")), 1)]),
|
|
490
490
|
_: 1
|
|
491
491
|
}, 8, ["checked", "disabled"])])) : v("v-if", !0),
|
|
492
492
|
b("div", _e, [
|
|
493
|
-
b("section", ve, [b("header", null, [b("div", null, [b("h4", null, [x(E(D(
|
|
493
|
+
b("section", ve, [b("header", null, [b("div", null, [b("h4", null, [x(E(D(s).t("platform.screen.ModuleActionManagementView.access-mode", "访问方式")) + " ", 1), S(D(f), { title: D(s).t("platform.screen.ModuleActionManagementView.define-the-identity-requirements-for-invoking-this-action", "决定调用动作前需要满足的身份条件。") }, {
|
|
494
494
|
default: O(() => [b("button", {
|
|
495
495
|
type: "button",
|
|
496
496
|
class: "governance-help",
|
|
497
|
-
"aria-label": D(
|
|
498
|
-
}, [S(D(
|
|
497
|
+
"aria-label": D(s).t("platform.screen.ModuleActionManagementView.access-method-description", "访问方式说明")
|
|
498
|
+
}, [S(D(h), { name: "help" })], 8, ye)]),
|
|
499
499
|
_: 1
|
|
500
|
-
}, 8, ["title"])])]), b("span", be, [W("accessModeOverride") ? (w(), _(D(
|
|
500
|
+
}, 8, ["title"])])]), b("span", be, [W("accessModeOverride") ? (w(), _(D(p), {
|
|
501
501
|
key: 0,
|
|
502
502
|
type: "text",
|
|
503
503
|
size: "small",
|
|
504
504
|
disabled: U.value,
|
|
505
|
-
onClick:
|
|
505
|
+
onClick: i[4] ||= (e) => G("accessModeOverride")
|
|
506
506
|
}, {
|
|
507
|
-
default: O(() => [x(E(D(
|
|
507
|
+
default: O(() => [x(E(D(s).t("platform.screen.WorkflowWorkbenchView.reset", "重置")), 1)]),
|
|
508
508
|
_: 1
|
|
509
|
-
}, 8, ["disabled"])) : v("v-if", !0)])]), S(D(
|
|
509
|
+
}, 8, ["disabled"])) : v("v-if", !0)])]), S(D(u), {
|
|
510
510
|
value: D(L).accessModeOverride ?? D(L).accessMode,
|
|
511
511
|
disabled: U.value,
|
|
512
512
|
options: [
|
|
513
513
|
{
|
|
514
|
-
label: D(
|
|
514
|
+
label: D(s).t("platform.screen.ModuleActionManagementView.authorization-required", "需要授权"),
|
|
515
515
|
value: "AUTH_REQUIRED"
|
|
516
516
|
},
|
|
517
517
|
{
|
|
518
|
-
label: D(
|
|
518
|
+
label: D(s).t("platform.screen.ModuleActionManagementView.signed-in-access", "登录可用"),
|
|
519
519
|
value: "LOGIN_REQUIRED"
|
|
520
520
|
},
|
|
521
521
|
{
|
|
522
|
-
label: D(
|
|
522
|
+
label: D(s).t("platform.screen.ModuleActionManagementView.anonymous-access", "匿名可用"),
|
|
523
523
|
value: "ANONYMOUS_ALLOWED"
|
|
524
524
|
}
|
|
525
525
|
],
|
|
526
|
-
"onUpdate:value":
|
|
526
|
+
"onUpdate:value": i[5] ||= (e) => K("accessModeOverride", e)
|
|
527
527
|
}, null, 8, [
|
|
528
528
|
"value",
|
|
529
529
|
"disabled",
|
|
530
530
|
"options"
|
|
531
531
|
])]),
|
|
532
|
-
b("section", xe, [b("header", null, [b("div", null, [b("h4", null, [x(E(D(
|
|
532
|
+
b("section", xe, [b("header", null, [b("div", null, [b("h4", null, [x(E(D(s).t("platform.screen.ModuleActionManagementView.default-grant-policy", "默认授予策略")) + " ", 1), S(D(f), { title: D(s).t("platform.screen.ModuleActionManagementView.define-the-default-grant-rules-when-eligible-users-first-receive", "定义满足条件的用户首次获得动作时的默认规则。") }, {
|
|
533
533
|
default: O(() => [b("button", {
|
|
534
534
|
type: "button",
|
|
535
535
|
class: "governance-help",
|
|
536
|
-
"aria-label": D(
|
|
537
|
-
}, [S(D(
|
|
536
|
+
"aria-label": D(s).t("platform.screen.ModuleActionManagementView.default-grant-policy-description", "默认授予策略说明")
|
|
537
|
+
}, [S(D(h), { name: "help" })], 8, Se)]),
|
|
538
538
|
_: 1
|
|
539
|
-
}, 8, ["title"])])]), b("span", Ce, [W("defaultGrantPolicyOverride") ? (w(), _(D(
|
|
539
|
+
}, 8, ["title"])])]), b("span", Ce, [W("defaultGrantPolicyOverride") ? (w(), _(D(p), {
|
|
540
540
|
key: 0,
|
|
541
541
|
type: "text",
|
|
542
542
|
size: "small",
|
|
543
543
|
disabled: U.value,
|
|
544
|
-
onClick:
|
|
544
|
+
onClick: i[6] ||= (e) => G("defaultGrantPolicyOverride")
|
|
545
545
|
}, {
|
|
546
|
-
default: O(() => [x(E(D(
|
|
546
|
+
default: O(() => [x(E(D(s).t("platform.screen.WorkflowWorkbenchView.reset", "重置")), 1)]),
|
|
547
547
|
_: 1
|
|
548
|
-
}, 8, ["disabled"])) : v("v-if", !0)])]), S(D(
|
|
548
|
+
}, 8, ["disabled"])) : v("v-if", !0)])]), S(D(u), {
|
|
549
549
|
value: D(L).defaultGrantPolicyOverride ?? D(L).defaultGrantPolicy,
|
|
550
550
|
disabled: U.value,
|
|
551
551
|
options: [
|
|
552
552
|
{
|
|
553
|
-
label: D(
|
|
553
|
+
label: D(s).t("platform.screen.ModuleActionManagementView.no-default-grant", "不默认授予"),
|
|
554
554
|
value: "NONE"
|
|
555
555
|
},
|
|
556
556
|
{
|
|
557
|
-
label: D(
|
|
557
|
+
label: D(s).t("platform.screen.ModuleActionManagementView.all-signed-in-users", "所有登录用户"),
|
|
558
558
|
value: "ANY_LOGIN_USER"
|
|
559
559
|
},
|
|
560
560
|
{
|
|
561
|
-
label: D(
|
|
561
|
+
label: D(s).t("platform.screen.ModuleActionManagementView.record-owner", "记录所有者"),
|
|
562
562
|
value: "OWNER"
|
|
563
563
|
},
|
|
564
564
|
{
|
|
565
|
-
label: D(
|
|
565
|
+
label: D(s).t("platform.screen.WorkflowWorkbenchView.processors", "办理人"),
|
|
566
566
|
value: "ASSIGNEE"
|
|
567
567
|
},
|
|
568
568
|
{
|
|
569
|
-
label: D(
|
|
569
|
+
label: D(s).t("platform.screen.ModuleActionManagementView.member", "成员"),
|
|
570
570
|
value: "MEMBER"
|
|
571
571
|
}
|
|
572
572
|
],
|
|
573
|
-
"onUpdate:value":
|
|
573
|
+
"onUpdate:value": i[7] ||= (e) => K("defaultGrantPolicyOverride", e)
|
|
574
574
|
}, null, 8, [
|
|
575
575
|
"value",
|
|
576
576
|
"disabled",
|
|
577
577
|
"options"
|
|
578
578
|
])]),
|
|
579
|
-
b("section", we, [b("header", null, [b("div", null, [b("h4", null, [x(E(D(
|
|
579
|
+
b("section", we, [b("header", null, [b("div", null, [b("h4", null, [x(E(D(s).t("platform.screen.ModuleActionManagementView.action-authorization", "动作授权")) + " ", 1), S(D(f), { title: D(s).t("platform.screen.ModuleActionManagementView.control-whether-roles-require-an-explicit-grant-for-this-action", "控制角色是否需要被显式授予该动作。") }, {
|
|
580
580
|
default: O(() => [b("button", {
|
|
581
581
|
type: "button",
|
|
582
582
|
class: "governance-help",
|
|
583
|
-
"aria-label": D(
|
|
584
|
-
}, [S(D(
|
|
583
|
+
"aria-label": D(s).t("platform.screen.ModuleActionManagementView.action-permission-description", "动作授权说明")
|
|
584
|
+
}, [S(D(h), { name: "help" })], 8, Te)]),
|
|
585
585
|
_: 1
|
|
586
|
-
}, 8, ["title"])])]), b("span", Ee, [W("actionAuthOverride") ? (w(), _(D(
|
|
586
|
+
}, 8, ["title"])])]), b("span", Ee, [W("actionAuthOverride") ? (w(), _(D(p), {
|
|
587
587
|
key: 0,
|
|
588
588
|
type: "text",
|
|
589
589
|
size: "small",
|
|
590
590
|
disabled: U.value,
|
|
591
|
-
onClick:
|
|
591
|
+
onClick: i[8] ||= (e) => G("actionAuthOverride")
|
|
592
592
|
}, {
|
|
593
|
-
default: O(() => [x(E(D(
|
|
593
|
+
default: O(() => [x(E(D(s).t("platform.screen.WorkflowWorkbenchView.reset", "重置")), 1)]),
|
|
594
594
|
_: 1
|
|
595
|
-
}, 8, ["disabled"])) : v("v-if", !0)])]), b("div", De, [S(D(
|
|
595
|
+
}, 8, ["disabled"])) : v("v-if", !0)])]), b("div", De, [S(D(o), {
|
|
596
596
|
checked: (D(L).actionAuthOverride ?? D(L).actionAuth) !== !1,
|
|
597
597
|
disabled: U.value,
|
|
598
|
-
"checked-text": D(
|
|
599
|
-
"unchecked-text": D(
|
|
600
|
-
"onUpdate:checked":
|
|
598
|
+
"checked-text": D(s).t("platform.screen.ModuleActionManagementView.on", "开"),
|
|
599
|
+
"unchecked-text": D(s).t("platform.screen.ModuleActionManagementView.off", "关"),
|
|
600
|
+
"onUpdate:checked": i[9] ||= (e) => K("actionAuthOverride", e)
|
|
601
601
|
}, null, 8, [
|
|
602
602
|
"checked",
|
|
603
603
|
"disabled",
|
|
604
604
|
"checked-text",
|
|
605
605
|
"unchecked-text"
|
|
606
|
-
]), b("strong", null, E((D(L).actionAuthOverride ?? D(L).actionAuth) === !1 ? D(
|
|
607
|
-
b("section", Oe, [b("header", null, [b("div", null, [b("h4", null, [x(E(D(
|
|
606
|
+
]), b("strong", null, E((D(L).actionAuthOverride ?? D(L).actionAuth) === !1 ? D(s).t("platform.screen.ModuleActionManagementView.not-enabled", "未启用") : D(s).t("platform.screen.DynamicModuleWorkspaceDetailView.enabled", "已启用")), 1)])]),
|
|
607
|
+
b("section", Oe, [b("header", null, [b("div", null, [b("h4", null, [x(E(D(s).t("platform.screen.ModuleActionManagementView.data-authorization", "数据授权")) + " ", 1), S(D(f), { title: D(s).t("platform.screen.ModuleActionManagementView.when-enabled-reads-and-execution-are-checked-against-the-data", "启用后,读取和执行会继续按数据范围校验。") }, {
|
|
608
608
|
default: O(() => [b("button", {
|
|
609
609
|
type: "button",
|
|
610
610
|
class: "governance-help",
|
|
611
|
-
"aria-label": D(
|
|
612
|
-
}, [S(D(
|
|
611
|
+
"aria-label": D(s).t("platform.screen.ModuleActionManagementView.data-permission-description", "数据授权说明")
|
|
612
|
+
}, [S(D(h), { name: "help" })], 8, ke)]),
|
|
613
613
|
_: 1
|
|
614
|
-
}, 8, ["title"])])]), b("span", Ae, [W("dataAuthOverride") ? (w(), _(D(
|
|
614
|
+
}, 8, ["title"])])]), b("span", Ae, [W("dataAuthOverride") ? (w(), _(D(p), {
|
|
615
615
|
key: 0,
|
|
616
616
|
type: "text",
|
|
617
617
|
size: "small",
|
|
618
618
|
disabled: U.value,
|
|
619
|
-
onClick:
|
|
619
|
+
onClick: i[10] ||= (e) => G("dataAuthOverride")
|
|
620
620
|
}, {
|
|
621
|
-
default: O(() => [x(E(D(
|
|
621
|
+
default: O(() => [x(E(D(s).t("platform.screen.WorkflowWorkbenchView.reset", "重置")), 1)]),
|
|
622
622
|
_: 1
|
|
623
|
-
}, 8, ["disabled"])) : v("v-if", !0)])]), b("div", je, [S(D(
|
|
623
|
+
}, 8, ["disabled"])) : v("v-if", !0)])]), b("div", je, [S(D(o), {
|
|
624
624
|
checked: (D(L).dataAuthOverride ?? D(L).dataAuth) === !0,
|
|
625
625
|
disabled: U.value,
|
|
626
|
-
"checked-text": D(
|
|
627
|
-
"unchecked-text": D(
|
|
628
|
-
"onUpdate:checked":
|
|
626
|
+
"checked-text": D(s).t("platform.screen.ModuleActionManagementView.on", "开"),
|
|
627
|
+
"unchecked-text": D(s).t("platform.screen.ModuleActionManagementView.off", "关"),
|
|
628
|
+
"onUpdate:checked": i[11] ||= (e) => K("dataAuthOverride", e)
|
|
629
629
|
}, null, 8, [
|
|
630
630
|
"checked",
|
|
631
631
|
"disabled",
|
|
632
632
|
"checked-text",
|
|
633
633
|
"unchecked-text"
|
|
634
|
-
]), b("strong", null, E((D(L).dataAuthOverride ?? D(L).dataAuth) === !0 ? D(
|
|
634
|
+
]), b("strong", null, E((D(L).dataAuthOverride ?? D(L).dataAuth) === !0 ? D(s).t("platform.screen.DynamicModuleWorkspaceDetailView.enabled", "已启用") : D(s).t("platform.screen.ModuleActionManagementView.not-enabled", "未启用")), 1)])])
|
|
635
635
|
])
|
|
636
636
|
])], 32)) : (w(), y("form", {
|
|
637
637
|
key: 3,
|
|
638
638
|
class: "static-record-form",
|
|
639
|
-
onSubmit:
|
|
639
|
+
onSubmit: i[24] ||= k((...e) => D(F).save && D(F).save(...e), ["prevent"])
|
|
640
640
|
}, [
|
|
641
|
-
b("p", Me, E(D(
|
|
642
|
-
b("label", null, [b("span", null, E(D(
|
|
641
|
+
b("p", Me, E(D(s).t("platform.screen.ModuleActionManagementView.you-can-save-an-action-before-binding-its-executor-unbound", "可以先保存动作,再绑定执行能力。待绑定动作不可执行,页面引用后需完成绑定才能发布。")), 1),
|
|
642
|
+
b("label", null, [b("span", null, E(D(s).t("platform.screen.ModuleActionManagementView.action-code", "动作编码")), 1), S(D(c), {
|
|
643
643
|
value: D(L).actionCode,
|
|
644
644
|
disabled: U.value,
|
|
645
|
-
"onUpdate:value":
|
|
645
|
+
"onUpdate:value": i[13] ||= (e) => K("actionCode", e)
|
|
646
646
|
}, null, 8, ["value", "disabled"])]),
|
|
647
|
-
b("label", null, [b("span", null, E(D(
|
|
647
|
+
b("label", null, [b("span", null, E(D(s).t("platform.screen.ModuleActionManagementView.action-name", "动作名称")), 1), S(D(c), {
|
|
648
648
|
value: D(L).title,
|
|
649
649
|
disabled: U.value,
|
|
650
|
-
"onUpdate:value":
|
|
650
|
+
"onUpdate:value": i[14] ||= (e) => K("title", e)
|
|
651
651
|
}, null, 8, ["value", "disabled"])]),
|
|
652
|
-
b("label", null, [b("span", null, E(D(
|
|
652
|
+
b("label", null, [b("span", null, E(D(s).t("platform.screen.ModuleActionManagementView.execution-level", "执行层级")), 1), S(D(u), {
|
|
653
653
|
value: D(L).actionLevel,
|
|
654
654
|
disabled: U.value,
|
|
655
655
|
options: Ke.value,
|
|
656
|
-
"onUpdate:value":
|
|
656
|
+
"onUpdate:value": i[15] ||= (e) => K("actionLevel", e)
|
|
657
657
|
}, null, 8, [
|
|
658
658
|
"value",
|
|
659
659
|
"disabled",
|
|
660
660
|
"options"
|
|
661
661
|
])]),
|
|
662
|
-
b("label", null, [b("span", null, E(D(
|
|
662
|
+
b("label", null, [b("span", null, E(D(s).t("platform.screen.ModuleActionManagementView.access-mode", "访问方式")), 1), S(D(u), {
|
|
663
663
|
value: D(L).accessMode,
|
|
664
664
|
disabled: U.value,
|
|
665
665
|
options: [
|
|
666
666
|
{
|
|
667
|
-
label: D(
|
|
667
|
+
label: D(s).t("platform.screen.ModuleActionManagementView.authorization-required", "需要授权"),
|
|
668
668
|
value: "AUTH_REQUIRED"
|
|
669
669
|
},
|
|
670
670
|
{
|
|
671
|
-
label: D(
|
|
671
|
+
label: D(s).t("platform.screen.ModuleActionManagementView.signed-in-access", "登录可用"),
|
|
672
672
|
value: "LOGIN_REQUIRED"
|
|
673
673
|
},
|
|
674
674
|
{
|
|
675
|
-
label: D(
|
|
675
|
+
label: D(s).t("platform.screen.ModuleActionManagementView.anonymous-access", "匿名可用"),
|
|
676
676
|
value: "ANONYMOUS_ALLOWED"
|
|
677
677
|
}
|
|
678
678
|
],
|
|
679
|
-
"onUpdate:value":
|
|
679
|
+
"onUpdate:value": i[16] ||= (e) => K("accessMode", e)
|
|
680
680
|
}, null, 8, [
|
|
681
681
|
"value",
|
|
682
682
|
"disabled",
|
|
683
683
|
"options"
|
|
684
684
|
])]),
|
|
685
|
-
e.moduleKind === "dynamic" ? (w(), y("label", Ne, [b("span", null, E(D(
|
|
685
|
+
e.moduleKind === "dynamic" ? (w(), y("label", Ne, [b("span", null, E(D(s).t("platform.screen.ModuleActionManagementView.executor-can-be-bound-later", "执行能力(可稍后绑定)")), 1), S(D(u), {
|
|
686
686
|
value: D(L).executorKey,
|
|
687
687
|
"allow-clear": "",
|
|
688
|
-
placeholder: D(
|
|
688
|
+
placeholder: D(s).t("platform.screen.PageCompositionTree.binding-pending", "待绑定"),
|
|
689
689
|
disabled: U.value,
|
|
690
690
|
options: Ge.value,
|
|
691
|
-
"onUpdate:value":
|
|
691
|
+
"onUpdate:value": i[17] ||= (e) => rt(e)
|
|
692
692
|
}, null, 8, [
|
|
693
693
|
"value",
|
|
694
694
|
"placeholder",
|
|
695
695
|
"disabled",
|
|
696
696
|
"options"
|
|
697
697
|
])])) : v("v-if", !0),
|
|
698
|
-
e.moduleKind === "dynamic" ? v("v-if", !0) : (w(), y("p", Pe, E(D(
|
|
699
|
-
e.moduleKind === "dynamic" ? (w(), y("label", Fe, [S(D(
|
|
698
|
+
e.moduleKind === "dynamic" ? v("v-if", !0) : (w(), y("p", Pe, E(D(s).t("platform.screen.ModuleActionManagementView.static-modules-bind-an-executor-through-a-code-action-declaration", "静态模块通过同编码的代码动作声明绑定执行能力。")), 1)),
|
|
699
|
+
e.moduleKind === "dynamic" ? (w(), y("label", Fe, [S(D(l), {
|
|
700
700
|
checked: D(L).schedulable === !0,
|
|
701
701
|
disabled: U.value || D(L).actionLevel !== "LIST" || D(L).formSupported === !0,
|
|
702
|
-
"onUpdate:checked":
|
|
702
|
+
"onUpdate:checked": i[18] ||= (e) => K("schedulable", e)
|
|
703
703
|
}, {
|
|
704
|
-
default: O(() => [x(E(D(
|
|
704
|
+
default: O(() => [x(E(D(s).t("platform.screen.ModuleActionManagementView.schedulable", "允许定时调用(无需表单的模块动作)")), 1)]),
|
|
705
705
|
_: 1
|
|
706
706
|
}, 8, ["checked", "disabled"])])) : v("v-if", !0),
|
|
707
|
-
b("label", Ie, [S(D(
|
|
707
|
+
b("label", Ie, [S(D(l), {
|
|
708
708
|
checked: D(L).actionAuth !== !1,
|
|
709
709
|
disabled: U.value,
|
|
710
|
-
"onUpdate:checked":
|
|
710
|
+
"onUpdate:checked": i[19] ||= (e) => K("actionAuth", e)
|
|
711
711
|
}, {
|
|
712
|
-
default: O(() => [x(E(D(
|
|
712
|
+
default: O(() => [x(E(D(s).t("platform.screen.ModuleActionManagementView.enable-action-permissions", "启用动作授权")), 1)]),
|
|
713
713
|
_: 1
|
|
714
714
|
}, 8, ["checked", "disabled"])]),
|
|
715
|
-
b("label", Le, [S(D(
|
|
715
|
+
b("label", Le, [S(D(l), {
|
|
716
716
|
checked: D(L).dataAuth === !0,
|
|
717
717
|
disabled: U.value,
|
|
718
|
-
"onUpdate:checked":
|
|
718
|
+
"onUpdate:checked": i[20] ||= (e) => K("dataAuth", e)
|
|
719
719
|
}, {
|
|
720
|
-
default: O(() => [x(E(D(
|
|
720
|
+
default: O(() => [x(E(D(s).t("platform.screen.ModuleActionManagementView.enable-data-permissions", "启用数据授权")), 1)]),
|
|
721
721
|
_: 1
|
|
722
722
|
}, 8, ["checked", "disabled"])]),
|
|
723
|
-
b("label", null, [b("span", null, E(D(
|
|
723
|
+
b("label", null, [b("span", null, E(D(s).t("platform.screen.ModuleActionManagementView.default-grant-policy", "默认授予策略")), 1), S(D(u), {
|
|
724
724
|
value: D(L).defaultGrantPolicy,
|
|
725
725
|
disabled: U.value,
|
|
726
726
|
options: [
|
|
727
727
|
{
|
|
728
|
-
label: D(
|
|
728
|
+
label: D(s).t("platform.screen.ModuleActionManagementView.no-default-grant", "不默认授予"),
|
|
729
729
|
value: "NONE"
|
|
730
730
|
},
|
|
731
731
|
{
|
|
732
|
-
label: D(
|
|
732
|
+
label: D(s).t("platform.screen.ModuleActionManagementView.all-signed-in-users", "所有登录用户"),
|
|
733
733
|
value: "ANY_LOGIN_USER"
|
|
734
734
|
},
|
|
735
735
|
{
|
|
736
|
-
label: D(
|
|
736
|
+
label: D(s).t("platform.screen.ModuleActionManagementView.record-owner", "记录所有者"),
|
|
737
737
|
value: "OWNER"
|
|
738
738
|
},
|
|
739
739
|
{
|
|
740
|
-
label: D(
|
|
740
|
+
label: D(s).t("platform.screen.WorkflowWorkbenchView.processors", "办理人"),
|
|
741
741
|
value: "ASSIGNEE"
|
|
742
742
|
},
|
|
743
743
|
{
|
|
744
|
-
label: D(
|
|
744
|
+
label: D(s).t("platform.screen.ModuleActionManagementView.member", "成员"),
|
|
745
745
|
value: "MEMBER"
|
|
746
746
|
}
|
|
747
747
|
],
|
|
748
|
-
"onUpdate:value":
|
|
748
|
+
"onUpdate:value": i[21] ||= (e) => K("defaultGrantPolicy", e)
|
|
749
749
|
}, null, 8, [
|
|
750
750
|
"value",
|
|
751
751
|
"disabled",
|
|
752
752
|
"options"
|
|
753
753
|
])]),
|
|
754
|
-
b("label", Re, [b("span", null, E(D(
|
|
754
|
+
b("label", Re, [b("span", null, E(D(s).t("platform.screen.ModuleActionManagementView.availability-expression", "可用条件表达式")), 1), S(D(d), {
|
|
755
755
|
value: D(L).availableExpression,
|
|
756
756
|
disabled: U.value,
|
|
757
|
-
"onUpdate:value":
|
|
757
|
+
"onUpdate:value": i[22] ||= (e) => K("availableExpression", e)
|
|
758
758
|
}, null, 8, ["value", "disabled"])]),
|
|
759
|
-
b("label", ze, [b("span", null, E(D(
|
|
759
|
+
b("label", ze, [b("span", null, E(D(s).t("platform.screen.ModuleActionManagementView.unavailable-message", "不可用提示")), 1), S(D(d), {
|
|
760
760
|
value: D(L).unavailableMessage,
|
|
761
761
|
disabled: U.value,
|
|
762
|
-
"onUpdate:value":
|
|
762
|
+
"onUpdate:value": i[23] ||= (e) => K("unavailableMessage", e)
|
|
763
763
|
}, null, 8, ["value", "disabled"])])
|
|
764
|
-
], 32)), D(I) || D(R) !== "view" ? (w(), _(D(
|
|
764
|
+
], 32)), D(I) || D(R) !== "view" ? (w(), _(D(n), {
|
|
765
765
|
key: 4,
|
|
766
766
|
record: D(L)
|
|
767
767
|
}, null, 8, ["record"])) : v("v-if", !0)]),
|
|
@@ -775,6 +775,6 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
|
|
|
775
775
|
"explorer-search-placeholder"
|
|
776
776
|
]));
|
|
777
777
|
}
|
|
778
|
-
}), I = /* @__PURE__ */ e({ default: () => L }), L = /*#__PURE__*/
|
|
778
|
+
}), I = /* @__PURE__ */ e({ default: () => L }), L = /*#__PURE__*/ s(F, [["__scopeId", "data-v-da01fd07"]]);
|
|
779
779
|
//#endregion
|
|
780
780
|
export { I as n, L as t };
|