@ximatai/muyun-web-app 0.26.24 → 0.26.25
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-DQ5_VmLp.js → BusinessActivityLogView-a6oZ2t9t.js} +2 -2
- package/dist/{BusinessLogListDrawer-BnucgqNA.js → BusinessLogListDrawer-DtSXpK6g.js} +170 -166
- package/dist/{CodeConfigurationView-CtQjmpLz.js → CodeConfigurationView-BVu1ZnH-.js} +291 -291
- package/dist/{ConfigurationTranslationView-BiYn2MJx.js → ConfigurationTranslationView-Cd8ezR4t.js} +39 -39
- package/dist/{LoginAuditLogView-BIz1LVC3.js → LoginAuditLogView-DyvHTCXH.js} +2 -2
- package/dist/{ModuleActionManagementView-0_ek9yag.js → ModuleActionManagementView-y3t2YHKF.js} +161 -161
- package/dist/{ModuleGovernanceView-DEDF61vj.js → ModuleGovernanceView-BqJq2Pxm.js} +2501 -2501
- package/dist/{RequestErrorLogView-HatmiK8_.js → RequestErrorLogView-2iPeAi3b.js} +2 -2
- package/dist/{RoleDetailWorkspaceView-BzzoarpR.js → RoleDetailWorkspaceView-G-5VAV_B.js} +79 -79
- package/dist/{RuntimeLogView-Vdt6SWK6.js → RuntimeLogView-CulSgS0l.js} +60 -60
- package/dist/{WorkflowAdministrationView-Dlw2ng0N.js → WorkflowAdministrationView-y8VBYMLZ.js} +154 -154
- package/dist/{WorkflowConfigurationView-j2xnGmkM.js → WorkflowConfigurationView-DpONX2nN.js} +293 -293
- package/dist/{WorkflowWorkbenchView-Nv4mvTTP.js → WorkflowWorkbenchView-CGo1eZjr.js} +235 -235
- package/dist/{codeConfiguration-B_z1qQvB.js → codeConfiguration-fZiz0PNC.js} +26 -26
- package/dist/index.css +1 -1
- package/dist/index.js +2195 -1562
- package/dist/{moduleMenuWorkspace-1N0U7QW9.js → moduleMenuWorkspace-AZ4G9BpZ.js} +233 -233
- package/dist/{platform-components-Xb5qgsXU.js → platform-components-D98pyZ77.js} +3584 -2996
- package/dist/{platform-workbench-VhgKhPLI.js → platform-workbench-BBLDvT9V.js} +5542 -5417
- package/dist/types/app/CurrentUserProfileDialog.vue.d.ts +4 -1
- package/dist/types/app/PersonalAccessTokenDialog.vue.d.ts +15 -0
- package/dist/types/app/PersonalAccessTokens.vue.d.ts +8 -0
- package/dist/types/app/WorkbenchAccountCenter.vue.d.ts +40 -0
- package/dist/types/app/themeSkinPreference.d.ts +2 -2
- package/dist/types/app/useCurrentUserProfile.d.ts +1 -0
- package/dist/types/app/usePersonalAccessTokenAccess.d.ts +11 -0
- package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +20 -4
- package/dist/types/consumer/index.d.ts +9 -0
- package/dist/types/dynamic-page-runtime/formCreateDefaults.d.ts +3 -0
- package/dist/types/platform-admin-runtime/authSession.d.ts +2 -0
- package/dist/types/platform-admin-runtime/index.d.ts +1 -1
- package/dist/types/platform-components/CronExpressionInput.vue.d.ts +12 -0
- package/dist/types/platform-components/DurationSecondsInput.vue.d.ts +10 -0
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +2 -2
- package/dist/types/platform-components/cronExpression.d.ts +36 -0
- package/dist/types/platform-components/durationSeconds.d.ts +31 -0
- package/dist/types/platform-components/index.d.ts +6 -0
- package/dist/types/platform-workbench/Workbench.vue.d.ts +13 -4
- package/dist/types/platform-workbench/WorkbenchGlobalTools.vue.d.ts +5 -0
- package/dist/types/platform-workbench/WorkbenchOutlet.vue.d.ts +11 -1
- package/dist/types/platform-workbench/index.d.ts +3 -0
- package/dist/types/platform-workbench/workbenchAccountMenu.d.ts +33 -0
- package/dist/types/platform-workbench/workspaceViewDiscardGuard.d.ts +1 -1
- package/dist/types/views/businessLogClient.d.ts +2 -0
- package/dist/types/vue-ui-antdv/components/UiInputGroup.vue.d.ts +20 -0
- package/dist/types/vue-ui-antdv/components/UiTextArea.vue.d.ts +2 -0
- package/dist/types/vue-ui-antdv/index.d.ts +1 -0
- package/dist/types/web-contracts/index.d.ts +16 -0
- package/dist/types/web-core/clients.d.ts +15 -1
- package/dist/{useWorkflowConfigurationContext-BLFXzHwn.js → useWorkflowConfigurationContext-BcK19EXl.js} +8 -8
- package/dist/{workspaceViews-Cas3PR5B.js → workspaceViews-Dr7RZXvX.js} +620 -620
- package/package.json +1 -1
package/dist/{ModuleActionManagementView-0_ek9yag.js → ModuleActionManagementView-y3t2YHKF.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-BBLDvT9V.js";
|
|
3
|
+
import { $r as t, E as n, F as ee, Ir as r, Jn as i, K as te, Pn as ne, R as re, St as a, Un as ie, Va as ae, Yt as oe, _r as o, bn as s, di as se, fr as c, gr as l, ir as u, lr as d, no as ce, on as le, pr as f, tr as p, va as m, vn as ue, vr as h, y as de } from "./platform-components-D98pyZ77.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 h = ce(), C = e, A = t({ moduleAlias: "platform.module_action" }), j = pe(A, { client: se(A.http, `/platform.module/${encodeURIComponent(C.moduleAlias)}/actions`) }), M = T(""), N = T(!1), P = T([]), F = de({
|
|
89
|
+
language: h,
|
|
90
90
|
context: j,
|
|
91
|
-
confirmAction: (e) =>
|
|
91
|
+
confirmAction: (e) => ne(e, h),
|
|
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 h.t("platform.unsaved-source.ModuleActionManagementView", "模块动作");
|
|
98
98
|
},
|
|
99
99
|
get createTitle() {
|
|
100
|
-
return
|
|
100
|
+
return h.t("platform.screen.ModuleActionManagementView.new-action", "新建动作");
|
|
101
101
|
},
|
|
102
102
|
get requiredMessage() {
|
|
103
|
-
return
|
|
103
|
+
return m(h, "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 h.t("platform.governance.tab.actions", "动作");
|
|
108
108
|
},
|
|
109
109
|
get deleteTitle() {
|
|
110
|
-
return
|
|
110
|
+
return h.t("platform.screen.ModuleActionManagementView.delete-action", "删除动作");
|
|
111
111
|
},
|
|
112
112
|
get saveDeniedMessage() {
|
|
113
|
-
return
|
|
113
|
+
return m(h, "platform.screen.ModuleActionManagementView.you-do-not-have-permission-to-save-module-actions", "当前用户无权保存模块动作");
|
|
114
114
|
},
|
|
115
115
|
get createDeniedMessage() {
|
|
116
|
-
return
|
|
116
|
+
return m(h, "platform.screen.ModuleActionManagementView.you-do-not-have-permission-to-create-module-actions", "当前用户无权新建模块动作");
|
|
117
117
|
},
|
|
118
118
|
get enableDeniedMessage() {
|
|
119
|
-
return
|
|
119
|
+
return m(h, "platform.screen.ModuleActionManagementView.you-do-not-have-permission-to-enable-or-disable-module", "当前用户无权变更模块动作启停状态");
|
|
120
120
|
},
|
|
121
|
-
deleteDeniedMessage: () =>
|
|
121
|
+
deleteDeniedMessage: () => m(h, "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
|
+
r(() => h.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: h.t("platform.page.composition.list", "列表"),
|
|
142
|
+
RECORD: h.t("platform.screen.ModuleActionManagementView.single-record", "单条记录"),
|
|
143
|
+
BATCH: h.t("platform.screen.ModuleActionManagementView.batch", "批量"),
|
|
144
|
+
ANY: h.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: h.t("platform.screen.ModuleActionManagementView.reset-all", "全部重置"),
|
|
177
177
|
disabled: F.saving.value
|
|
178
178
|
}] : [],
|
|
179
179
|
{
|
|
180
180
|
key: "cancel",
|
|
181
|
-
title:
|
|
181
|
+
title: h.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 ? h.t("platform.action.saving", "保存中") : h.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: h.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: h.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 ? h.t("platform.screen.pageCompositionSession.platform-managed", "平台托管") : t.executorKey ? h.t("platform.screen.RoleAccountGrantDrawer.assigned", "已绑定") : h.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 = [], s(e, {
|
|
253
|
+
language: h,
|
|
254
254
|
source: "module-action-management",
|
|
255
255
|
phase: "load"
|
|
256
256
|
});
|
|
@@ -302,66 +302,66 @@ 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 ae(e, "title", h)?.trim() || e.actionCode?.trim() || e.id || h.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: h.t("platform.screen.RoleAuthorizationView.standard-action", "标准动作"),
|
|
311
|
+
CUSTOM: h.t("platform.screen.ModuleActionManagementView.custom-action", "自定义动作"),
|
|
312
|
+
DIALOG: h.t("platform.screen.ModuleActionManagementView.dialog-action", "弹窗动作"),
|
|
313
|
+
WORKFLOW: h.t("platform.screen.ModuleActionManagementView.workflow-action", "工作流动作"),
|
|
314
|
+
GENERATE: h.t("platform.screen.ModuleActionManagementView.generation-action", "生成动作")
|
|
315
315
|
},
|
|
316
316
|
actionLevel: {
|
|
317
|
-
LIST:
|
|
318
|
-
RECORD:
|
|
319
|
-
BATCH:
|
|
320
|
-
ANY:
|
|
317
|
+
LIST: h.t("platform.page.composition.list", "列表"),
|
|
318
|
+
RECORD: h.t("platform.screen.ModuleActionManagementView.single-record", "单条记录"),
|
|
319
|
+
BATCH: h.t("platform.screen.ModuleActionManagementView.batch", "批量"),
|
|
320
|
+
ANY: h.t("platform.screen.ModuleActionManagementView.any", "任意")
|
|
321
321
|
},
|
|
322
322
|
accessMode: {
|
|
323
|
-
AUTH_REQUIRED:
|
|
324
|
-
LOGIN_REQUIRED:
|
|
325
|
-
ANONYMOUS_ALLOWED:
|
|
323
|
+
AUTH_REQUIRED: h.t("platform.screen.ModuleActionManagementView.authorization-required", "需要授权"),
|
|
324
|
+
LOGIN_REQUIRED: h.t("platform.screen.ModuleActionManagementView.signed-in-access", "登录可用"),
|
|
325
|
+
ANONYMOUS_ALLOWED: h.t("platform.screen.ModuleActionManagementView.anonymous-access", "匿名可用")
|
|
326
326
|
},
|
|
327
327
|
executorType: {
|
|
328
|
-
STANDARD:
|
|
329
|
-
SERVICE:
|
|
330
|
-
DIALOG:
|
|
331
|
-
WORKFLOW:
|
|
332
|
-
GENERATE:
|
|
328
|
+
STANDARD: h.t("platform.screen.ModuleActionManagementView.platform-standard", "平台标准"),
|
|
329
|
+
SERVICE: h.t("platform.screen.ModuleActionManagementView.custom-service", "服务(二开)"),
|
|
330
|
+
DIALOG: h.t("platform.screen.ModuleActionManagementView.dialog-protocol", "弹窗协议"),
|
|
331
|
+
WORKFLOW: h.t("platform.screen.ModuleActionManagementView.workflow", "工作流"),
|
|
332
|
+
GENERATE: h.t("platform.screen.ModuleActionManagementView.generator", "生成器")
|
|
333
333
|
},
|
|
334
334
|
defaultGrantPolicy: {
|
|
335
|
-
NONE:
|
|
336
|
-
ANY_LOGIN_USER:
|
|
337
|
-
OWNER:
|
|
338
|
-
ASSIGNEE:
|
|
339
|
-
MEMBER:
|
|
335
|
+
NONE: h.t("platform.screen.ModuleActionManagementView.no-default-grant", "不默认授予"),
|
|
336
|
+
ANY_LOGIN_USER: h.t("platform.screen.ModuleActionManagementView.all-signed-in-users", "所有登录用户"),
|
|
337
|
+
OWNER: h.t("platform.screen.ModuleActionManagementView.record-owner", "记录所有者"),
|
|
338
|
+
ASSIGNEE: h.t("platform.screen.WorkflowWorkbenchView.processors", "办理人"),
|
|
339
|
+
MEMBER: h.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: h.t("platform.screen.ModuleActionManagementView.static-module-declaration", "静态模块声明"),
|
|
343
|
+
CODE_EXTENSION: h.t("platform.screen.ModuleActionManagementView.code-extension", "代码扩展"),
|
|
344
|
+
DYNAMIC_MODULE: h.t("platform.screen.ModuleActionManagementView.dynamic-module-configuration", "动态模块配置"),
|
|
345
|
+
WORKFLOW_DEFINITION: h.t("platform.screen.ModuleActionManagementView.workflow-definition", "工作流定义"),
|
|
346
|
+
WORKFLOW_RUNTIME: h.t("platform.screen.ModuleActionManagementView.workflow-runtime", "工作流运行时"),
|
|
347
|
+
RECORD_GENERATION_RULE: h.t("platform.screen.ModuleActionManagementView.document-generation-rule", "生单规则"),
|
|
348
|
+
DOCUMENT_RELATION: h.t("platform.screen.ModuleActionManagementView.document-relation", "单据关系"),
|
|
349
|
+
PRINT_TEMPLATE: h.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 ? h.t("platform.screen.WorkflowWorkbenchView.enabled", "启用") : h.t("platform.screen.ModuleActionManagementView.not-enabled", "未启用") : typeof t == "string" ? n[e]?.[t] : void 0;
|
|
353
353
|
}
|
|
354
354
|
return (t, r) => (w(), _(D(n), {
|
|
355
|
-
"explorer-title": D(
|
|
356
|
-
"refresh-title": D(
|
|
355
|
+
"explorer-title": D(h).t("platform.unsaved-source.ModuleActionManagementView", "模块动作"),
|
|
356
|
+
"refresh-title": D(h).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(
|
|
360
|
+
"explorer-search-placeholder": D(h).t("platform.screen.ModuleActionManagementView.search-action-name-or-code", "搜索动作名称或编码"),
|
|
361
361
|
"onUpdate:explorerSearchKeyword": r[25] ||= (e) => M.value = e,
|
|
362
362
|
onRefresh: r[26] ||= (e) => z.value += 1
|
|
363
363
|
}, {
|
|
364
|
-
"explorer-actions": O(() => [V.value ? (w(), _(D(
|
|
364
|
+
"explorer-actions": O(() => [V.value ? (w(), _(D(te), {
|
|
365
365
|
key: 0,
|
|
366
366
|
"icon-name": "swap-vertical",
|
|
367
367
|
"icon-only": "",
|
|
@@ -369,19 +369,19 @@ 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(
|
|
372
|
+
title: M.value.trim() ? D(h).t("platform.screen.ModulePageHostRuntime.clear-the-search-to-reorder-records", "清空搜索后可调整排序") : D(R) === "view" ? N.value ? D(h).t("platform.screen.ModulePageHostRuntime.finish-reordering", "结束排序") : D(h).t("platform.screen.ModulePageHostRuntime.reorder", "调整排序") : D(h).t("platform.screen.ModuleActionManagementView.finish-editing-before-reordering", "结束编辑后可调整排序"),
|
|
373
|
+
"aria-label": N.value ? D(h).t("platform.screen.ModulePageHostRuntime.finish-reordering", "结束排序") : D(h).t("platform.screen.ModulePageHostRuntime.reorder", "调整排序"),
|
|
374
374
|
onClick: r[0] ||= (e) => N.value = !N.value
|
|
375
375
|
}, null, 8, [
|
|
376
376
|
"selected",
|
|
377
377
|
"disabled",
|
|
378
378
|
"title",
|
|
379
379
|
"aria-label"
|
|
380
|
-
])) : v("v-if", !0), S(D(
|
|
380
|
+
])) : v("v-if", !0), S(D(le), {
|
|
381
381
|
class: "record-panel-create-button",
|
|
382
382
|
context: D(j),
|
|
383
383
|
"action-code": "create",
|
|
384
|
-
title: D(
|
|
384
|
+
title: D(h).t("platform.screen.ModuleActionManagementView.new-action", "新建动作"),
|
|
385
385
|
"icon-only": "",
|
|
386
386
|
disabled: !We.value || D(B),
|
|
387
387
|
onClick: nt
|
|
@@ -390,15 +390,15 @@ 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(ue), {
|
|
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(h).t("platform.screen.ModuleActionManagementView.no-actions-are-available-for-this-module", "当前模块暂无动作"),
|
|
400
|
+
"loading-tip": D(h).t("platform.screen.RoleAuthorizationView.loading-module-actions", "加载模块动作"),
|
|
401
|
+
"fallback-title": D(h).t("platform.screen.ModuleActionManagementView.untitled-action", "未命名动作"),
|
|
402
402
|
"item-of": Ze,
|
|
403
403
|
onLoaded: r[1] ||= (e) => D(F).handleListLoaded(e),
|
|
404
404
|
onSelect: r[2] ||= (e) => D(F).handleSelect(e)
|
|
@@ -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(re), {
|
|
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(oe), {
|
|
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(ie), {
|
|
434
434
|
key: 0,
|
|
435
|
-
description: e.moduleKind === "static" ? D(
|
|
436
|
-
}, null, 8, ["description"])) : D(R) === "view" && D(I) ? (w(), _(D(
|
|
435
|
+
description: e.moduleKind === "static" ? D(h).t("platform.screen.ModuleActionManagementView.static-module-actions-are-registered-automatically-from-java-declarations", "静态模块动作由 Java 声明自动注册") : D(h).t("platform.screen.ModuleActionManagementView.no-actions-are-available-for-this-module", "当前模块暂无动作")
|
|
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(h).t("platform.screen.ModuleActionManagementView.action-code", "动作编码") },
|
|
443
|
+
title: { label: D(h).t("platform.screen.ModuleActionManagementView.action-name", "动作名称") },
|
|
444
|
+
category: { label: D(h).t("platform.screen.ModuleActionManagementView.action-category", "动作类别") },
|
|
445
|
+
actionLevel: { label: D(h).t("platform.screen.ModuleActionManagementView.execution-level", "执行层级") },
|
|
446
|
+
accessMode: { label: D(h).t("platform.screen.ModuleActionManagementView.access-mode", "访问方式") },
|
|
447
|
+
executorType: { label: D(h).t("platform.screen.ModuleActionManagementView.execution-method", "执行方式") },
|
|
448
|
+
executorKey: { label: D(h).t("platform.screen.ModuleActionManagementView.executor-implementation", "执行实现") },
|
|
449
|
+
actionAuth: { label: D(h).t("platform.screen.ModuleActionManagementView.action-authorization", "动作授权") },
|
|
450
|
+
dataAuth: { label: D(h).t("platform.screen.ModuleActionManagementView.data-authorization", "数据授权") },
|
|
451
|
+
defaultGrantPolicy: { label: D(h).t("platform.screen.ModuleActionManagementView.default-grant-policy", "默认授予策略") },
|
|
452
|
+
availableExpression: { label: D(h).t("platform.screen.ModuleActionManagementView.availability-condition", "可用条件") },
|
|
453
|
+
unavailableMessage: { label: D(h).t("platform.screen.ModuleActionManagementView.unavailable-message", "不可用提示") },
|
|
454
|
+
sourceType: { label: D(h).t("platform.screen.ModuleActionManagementView.registration-source", "注册来源") },
|
|
455
|
+
bindingAlias: { label: D(h).t("platform.screen.ModuleActionManagementView.binding-id", "绑定标识") }
|
|
456
456
|
}
|
|
457
457
|
}, null, 8, [
|
|
458
458
|
"record",
|
|
@@ -462,40 +462,40 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
|
|
|
462
462
|
key: 2,
|
|
463
463
|
class: "managed-action-editor",
|
|
464
464
|
onSubmit: r[12] ||= k((...e) => D(F).save && D(F).save(...e), ["prevent"])
|
|
465
|
-
}, [b("section", me, [b("h3", null, E(D(
|
|
465
|
+
}, [b("section", me, [b("h3", null, E(D(h).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(h).t("platform.screen.ModuleActionManagementView.action-code", "动作编码") },
|
|
471
|
+
title: { label: D(h).t("platform.screen.ModuleActionManagementView.action-name", "动作名称") },
|
|
472
|
+
category: { label: D(h).t("platform.screen.ModuleActionManagementView.action-category", "动作类别") },
|
|
473
|
+
actionLevel: { label: D(h).t("platform.screen.ModuleActionManagementView.execution-level", "执行层级") },
|
|
474
|
+
executorType: { label: D(h).t("platform.screen.ModuleActionManagementView.execution-method", "执行方式") },
|
|
475
|
+
executorKey: { label: D(h).t("platform.screen.ModuleActionManagementView.executor-implementation", "执行实现") },
|
|
476
|
+
sourceType: { label: D(h).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(h).t("platform.screen.ModuleActionManagementView.permission-governance", "权限治理")), 1),
|
|
484
|
+
e.moduleKind === "dynamic" ? (w(), y("label", ge, [S(D(f), {
|
|
485
485
|
checked: D(L).schedulable === !0,
|
|
486
486
|
disabled: U.value || D(L).actionLevel !== "LIST" || D(L).formSupported === !0,
|
|
487
487
|
"onUpdate:checked": r[3] ||= (e) => K("schedulable", e)
|
|
488
488
|
}, {
|
|
489
|
-
default: O(() => [x(E(D(
|
|
489
|
+
default: O(() => [x(E(D(h).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(h).t("platform.screen.ModuleActionManagementView.access-mode", "访问方式")) + " ", 1), S(D(p), { title: D(h).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(h).t("platform.screen.ModuleActionManagementView.access-method-description", "访问方式说明")
|
|
498
|
+
}, [S(D(o), { name: "help" })], 8, ye)]),
|
|
499
499
|
_: 1
|
|
500
500
|
}, 8, ["title"])])]), b("span", be, [W("accessModeOverride") ? (w(), _(D(l), {
|
|
501
501
|
key: 0,
|
|
@@ -504,22 +504,22 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
|
|
|
504
504
|
disabled: U.value,
|
|
505
505
|
onClick: r[4] ||= (e) => G("accessModeOverride")
|
|
506
506
|
}, {
|
|
507
|
-
default: O(() => [x(E(D(
|
|
507
|
+
default: O(() => [x(E(D(h).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(c), {
|
|
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(h).t("platform.screen.ModuleActionManagementView.authorization-required", "需要授权"),
|
|
515
515
|
value: "AUTH_REQUIRED"
|
|
516
516
|
},
|
|
517
517
|
{
|
|
518
|
-
label: D(
|
|
518
|
+
label: D(h).t("platform.screen.ModuleActionManagementView.signed-in-access", "登录可用"),
|
|
519
519
|
value: "LOGIN_REQUIRED"
|
|
520
520
|
},
|
|
521
521
|
{
|
|
522
|
-
label: D(
|
|
522
|
+
label: D(h).t("platform.screen.ModuleActionManagementView.anonymous-access", "匿名可用"),
|
|
523
523
|
value: "ANONYMOUS_ALLOWED"
|
|
524
524
|
}
|
|
525
525
|
],
|
|
@@ -529,12 +529,12 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
|
|
|
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(h).t("platform.screen.ModuleActionManagementView.default-grant-policy", "默认授予策略")) + " ", 1), S(D(p), { title: D(h).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(h).t("platform.screen.ModuleActionManagementView.default-grant-policy-description", "默认授予策略说明")
|
|
537
|
+
}, [S(D(o), { name: "help" })], 8, Se)]),
|
|
538
538
|
_: 1
|
|
539
539
|
}, 8, ["title"])])]), b("span", Ce, [W("defaultGrantPolicyOverride") ? (w(), _(D(l), {
|
|
540
540
|
key: 0,
|
|
@@ -543,30 +543,30 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
|
|
|
543
543
|
disabled: U.value,
|
|
544
544
|
onClick: r[6] ||= (e) => G("defaultGrantPolicyOverride")
|
|
545
545
|
}, {
|
|
546
|
-
default: O(() => [x(E(D(
|
|
546
|
+
default: O(() => [x(E(D(h).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(c), {
|
|
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(h).t("platform.screen.ModuleActionManagementView.no-default-grant", "不默认授予"),
|
|
554
554
|
value: "NONE"
|
|
555
555
|
},
|
|
556
556
|
{
|
|
557
|
-
label: D(
|
|
557
|
+
label: D(h).t("platform.screen.ModuleActionManagementView.all-signed-in-users", "所有登录用户"),
|
|
558
558
|
value: "ANY_LOGIN_USER"
|
|
559
559
|
},
|
|
560
560
|
{
|
|
561
|
-
label: D(
|
|
561
|
+
label: D(h).t("platform.screen.ModuleActionManagementView.record-owner", "记录所有者"),
|
|
562
562
|
value: "OWNER"
|
|
563
563
|
},
|
|
564
564
|
{
|
|
565
|
-
label: D(
|
|
565
|
+
label: D(h).t("platform.screen.WorkflowWorkbenchView.processors", "办理人"),
|
|
566
566
|
value: "ASSIGNEE"
|
|
567
567
|
},
|
|
568
568
|
{
|
|
569
|
-
label: D(
|
|
569
|
+
label: D(h).t("platform.screen.ModuleActionManagementView.member", "成员"),
|
|
570
570
|
value: "MEMBER"
|
|
571
571
|
}
|
|
572
572
|
],
|
|
@@ -576,12 +576,12 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
|
|
|
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(h).t("platform.screen.ModuleActionManagementView.action-authorization", "动作授权")) + " ", 1), S(D(p), { title: D(h).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(h).t("platform.screen.ModuleActionManagementView.action-permission-description", "动作授权说明")
|
|
584
|
+
}, [S(D(o), { name: "help" })], 8, Te)]),
|
|
585
585
|
_: 1
|
|
586
586
|
}, 8, ["title"])])]), b("span", Ee, [W("actionAuthOverride") ? (w(), _(D(l), {
|
|
587
587
|
key: 0,
|
|
@@ -590,26 +590,26 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
|
|
|
590
590
|
disabled: U.value,
|
|
591
591
|
onClick: r[8] ||= (e) => G("actionAuthOverride")
|
|
592
592
|
}, {
|
|
593
|
-
default: O(() => [x(E(D(
|
|
593
|
+
default: O(() => [x(E(D(h).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(i), {
|
|
596
596
|
checked: (D(L).actionAuthOverride ?? D(L).actionAuth) !== !1,
|
|
597
597
|
disabled: U.value,
|
|
598
|
-
"checked-text": D(
|
|
599
|
-
"unchecked-text": D(
|
|
598
|
+
"checked-text": D(h).t("platform.screen.ModuleActionManagementView.on", "开"),
|
|
599
|
+
"unchecked-text": D(h).t("platform.screen.ModuleActionManagementView.off", "关"),
|
|
600
600
|
"onUpdate:checked": r[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(h).t("platform.screen.ModuleActionManagementView.not-enabled", "未启用") : D(h).t("platform.screen.DynamicModuleWorkspaceDetailView.enabled", "已启用")), 1)])]),
|
|
607
|
+
b("section", Oe, [b("header", null, [b("div", null, [b("h4", null, [x(E(D(h).t("platform.screen.ModuleActionManagementView.data-authorization", "数据授权")) + " ", 1), S(D(p), { title: D(h).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(h).t("platform.screen.ModuleActionManagementView.data-permission-description", "数据授权说明")
|
|
612
|
+
}, [S(D(o), { name: "help" })], 8, ke)]),
|
|
613
613
|
_: 1
|
|
614
614
|
}, 8, ["title"])])]), b("span", Ae, [W("dataAuthOverride") ? (w(), _(D(l), {
|
|
615
615
|
key: 0,
|
|
@@ -618,38 +618,38 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
|
|
|
618
618
|
disabled: U.value,
|
|
619
619
|
onClick: r[10] ||= (e) => G("dataAuthOverride")
|
|
620
620
|
}, {
|
|
621
|
-
default: O(() => [x(E(D(
|
|
621
|
+
default: O(() => [x(E(D(h).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(i), {
|
|
624
624
|
checked: (D(L).dataAuthOverride ?? D(L).dataAuth) === !0,
|
|
625
625
|
disabled: U.value,
|
|
626
|
-
"checked-text": D(
|
|
627
|
-
"unchecked-text": D(
|
|
626
|
+
"checked-text": D(h).t("platform.screen.ModuleActionManagementView.on", "开"),
|
|
627
|
+
"unchecked-text": D(h).t("platform.screen.ModuleActionManagementView.off", "关"),
|
|
628
628
|
"onUpdate:checked": r[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(h).t("platform.screen.DynamicModuleWorkspaceDetailView.enabled", "已启用") : D(h).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
639
|
onSubmit: r[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(h).t("platform.screen.ModuleActionManagementView.you-can-save-an-action-before-binding-its-executor-unbound", "可以先保存动作,再绑定执行能力。待绑定动作不可执行,页面引用后需完成绑定才能发布。")), 1),
|
|
642
|
+
b("label", null, [b("span", null, E(D(h).t("platform.screen.ModuleActionManagementView.action-code", "动作编码")), 1), S(D(d), {
|
|
643
643
|
value: D(L).actionCode,
|
|
644
644
|
disabled: U.value,
|
|
645
645
|
"onUpdate:value": r[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(h).t("platform.screen.ModuleActionManagementView.action-name", "动作名称")), 1), S(D(d), {
|
|
648
648
|
value: D(L).title,
|
|
649
649
|
disabled: U.value,
|
|
650
650
|
"onUpdate:value": r[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(h).t("platform.screen.ModuleActionManagementView.execution-level", "执行层级")), 1), S(D(c), {
|
|
653
653
|
value: D(L).actionLevel,
|
|
654
654
|
disabled: U.value,
|
|
655
655
|
options: Ke.value,
|
|
@@ -659,20 +659,20 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
|
|
|
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(h).t("platform.screen.ModuleActionManagementView.access-mode", "访问方式")), 1), S(D(c), {
|
|
663
663
|
value: D(L).accessMode,
|
|
664
664
|
disabled: U.value,
|
|
665
665
|
options: [
|
|
666
666
|
{
|
|
667
|
-
label: D(
|
|
667
|
+
label: D(h).t("platform.screen.ModuleActionManagementView.authorization-required", "需要授权"),
|
|
668
668
|
value: "AUTH_REQUIRED"
|
|
669
669
|
},
|
|
670
670
|
{
|
|
671
|
-
label: D(
|
|
671
|
+
label: D(h).t("platform.screen.ModuleActionManagementView.signed-in-access", "登录可用"),
|
|
672
672
|
value: "LOGIN_REQUIRED"
|
|
673
673
|
},
|
|
674
674
|
{
|
|
675
|
-
label: D(
|
|
675
|
+
label: D(h).t("platform.screen.ModuleActionManagementView.anonymous-access", "匿名可用"),
|
|
676
676
|
value: "ANONYMOUS_ALLOWED"
|
|
677
677
|
}
|
|
678
678
|
],
|
|
@@ -682,10 +682,10 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
|
|
|
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(h).t("platform.screen.ModuleActionManagementView.executor-can-be-bound-later", "执行能力(可稍后绑定)")), 1), S(D(c), {
|
|
686
686
|
value: D(L).executorKey,
|
|
687
687
|
"allow-clear": "",
|
|
688
|
-
placeholder: D(
|
|
688
|
+
placeholder: D(h).t("platform.screen.PageCompositionTree.binding-pending", "待绑定"),
|
|
689
689
|
disabled: U.value,
|
|
690
690
|
options: Ge.value,
|
|
691
691
|
"onUpdate:value": r[17] ||= (e) => rt(e)
|
|
@@ -695,53 +695,53 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
|
|
|
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(h).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(f), {
|
|
700
700
|
checked: D(L).schedulable === !0,
|
|
701
701
|
disabled: U.value || D(L).actionLevel !== "LIST" || D(L).formSupported === !0,
|
|
702
702
|
"onUpdate:checked": r[18] ||= (e) => K("schedulable", e)
|
|
703
703
|
}, {
|
|
704
|
-
default: O(() => [x(E(D(
|
|
704
|
+
default: O(() => [x(E(D(h).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(f), {
|
|
708
708
|
checked: D(L).actionAuth !== !1,
|
|
709
709
|
disabled: U.value,
|
|
710
710
|
"onUpdate:checked": r[19] ||= (e) => K("actionAuth", e)
|
|
711
711
|
}, {
|
|
712
|
-
default: O(() => [x(E(D(
|
|
712
|
+
default: O(() => [x(E(D(h).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(f), {
|
|
716
716
|
checked: D(L).dataAuth === !0,
|
|
717
717
|
disabled: U.value,
|
|
718
718
|
"onUpdate:checked": r[20] ||= (e) => K("dataAuth", e)
|
|
719
719
|
}, {
|
|
720
|
-
default: O(() => [x(E(D(
|
|
720
|
+
default: O(() => [x(E(D(h).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(h).t("platform.screen.ModuleActionManagementView.default-grant-policy", "默认授予策略")), 1), S(D(c), {
|
|
724
724
|
value: D(L).defaultGrantPolicy,
|
|
725
725
|
disabled: U.value,
|
|
726
726
|
options: [
|
|
727
727
|
{
|
|
728
|
-
label: D(
|
|
728
|
+
label: D(h).t("platform.screen.ModuleActionManagementView.no-default-grant", "不默认授予"),
|
|
729
729
|
value: "NONE"
|
|
730
730
|
},
|
|
731
731
|
{
|
|
732
|
-
label: D(
|
|
732
|
+
label: D(h).t("platform.screen.ModuleActionManagementView.all-signed-in-users", "所有登录用户"),
|
|
733
733
|
value: "ANY_LOGIN_USER"
|
|
734
734
|
},
|
|
735
735
|
{
|
|
736
|
-
label: D(
|
|
736
|
+
label: D(h).t("platform.screen.ModuleActionManagementView.record-owner", "记录所有者"),
|
|
737
737
|
value: "OWNER"
|
|
738
738
|
},
|
|
739
739
|
{
|
|
740
|
-
label: D(
|
|
740
|
+
label: D(h).t("platform.screen.WorkflowWorkbenchView.processors", "办理人"),
|
|
741
741
|
value: "ASSIGNEE"
|
|
742
742
|
},
|
|
743
743
|
{
|
|
744
|
-
label: D(
|
|
744
|
+
label: D(h).t("platform.screen.ModuleActionManagementView.member", "成员"),
|
|
745
745
|
value: "MEMBER"
|
|
746
746
|
}
|
|
747
747
|
],
|
|
@@ -751,12 +751,12 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
|
|
|
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(h).t("platform.screen.ModuleActionManagementView.availability-expression", "可用条件表达式")), 1), S(D(u), {
|
|
755
755
|
value: D(L).availableExpression,
|
|
756
756
|
disabled: U.value,
|
|
757
757
|
"onUpdate:value": r[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(h).t("platform.screen.ModuleActionManagementView.unavailable-message", "不可用提示")), 1), S(D(u), {
|
|
760
760
|
value: D(L).unavailableMessage,
|
|
761
761
|
disabled: U.value,
|
|
762
762
|
"onUpdate:value": r[23] ||= (e) => K("unavailableMessage", e)
|
|
@@ -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__*/ h(F, [["__scopeId", "data-v-da01fd07"]]);
|
|
779
779
|
//#endregion
|
|
780
780
|
export { I as n, L as t };
|