@ximatai/muyun-web-app 0.26.16 → 0.26.18
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-DVM_GB5y.js → BusinessActivityLogView-CNW817Sf.js} +2 -2
- package/dist/BusinessLogListDrawer-YiJxOlnD.js +864 -0
- package/dist/CodeConfigurationView-DU8tjPMt.js +1667 -0
- package/dist/{ConfigurationTranslationView-B0FosDyz.js → ConfigurationTranslationView-CbBt5s1q.js} +51 -51
- package/dist/{LoginAuditLogView-3tAozKlC.js → LoginAuditLogView-CZF1Jfq_.js} +2 -2
- package/dist/{ModuleActionManagementView-CJRNShGg.js → ModuleActionManagementView-CaiXH1l_.js} +208 -208
- package/dist/{ModuleGovernanceView-DsqR_Sj7.js → ModuleGovernanceView-CcwGyO3x.js} +4331 -4475
- package/dist/{RequestErrorLogView-C4yH-TSX.js → RequestErrorLogView-DpudZrC2.js} +2 -2
- package/dist/RoleDetailWorkspaceView-DNMGsAJC.js +1435 -0
- package/dist/{RuntimeLogView-CoKKpJ39.js → RuntimeLogView-444BL_xs.js} +61 -61
- package/dist/WorkflowAdministrationView-C-VIjvwB.js +650 -0
- package/dist/WorkflowConfigurationView-DLFY2x7V.js +1110 -0
- package/dist/WorkflowWorkbenchView-Gr02dbBc.js +759 -0
- package/dist/codeConfiguration-ChJ6ktRR.js +208 -0
- package/dist/index.css +1 -1
- package/dist/index.js +624 -598
- package/dist/moduleMenuWorkspace-B8DKwC3L.js +626 -0
- package/dist/{platform-components-Cl5ZZiuU.js → platform-components-5AE0j2_3.js} +9579 -6839
- package/dist/{platform-workbench-CAHoriIf.js → platform-workbench-BhZPARiH.js} +6345 -6478
- package/dist/types/app/CurrentUserProfileDialog.vue.d.ts +1 -1
- package/dist/types/app/DevelopmentTopbarActions.vue.d.ts +9 -0
- package/dist/types/app/useAssistantAvailability.d.ts +8 -0
- package/dist/types/app/useCurrentUserProfile.d.ts +12 -0
- package/dist/types/app/workbenchRouteSync.d.ts +2 -0
- package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +9 -3
- package/dist/types/consumer/index.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +8 -8
- package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +214 -92
- package/dist/types/dynamic-page-runtime/assistantQueryCapabilities.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/composables/useManagedDetailRelationRuntime.d.ts +2 -2
- package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +2 -2
- package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +2 -2
- package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +4 -4
- package/dist/types/dynamic-page-runtime/useModuleRecordDataChanges.d.ts +4 -0
- package/dist/types/main.d.ts +0 -1
- package/dist/types/platform-admin-runtime/ModuleCodeConfigurationStatus.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/moduleCodeConfiguration.d.ts +15 -0
- package/dist/types/platform-components/BusinessContentGenerationPanel.vue.d.ts +22 -0
- package/dist/types/platform-components/BusinessContentQueryNotice.vue.d.ts +17 -0
- package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +2 -2
- package/dist/types/platform-components/DictionaryOptionDialog.vue.d.ts +4 -4
- package/dist/types/platform-components/DictionaryOptionDialogChoiceList.vue.d.ts +1 -1
- package/dist/types/platform-components/DictionaryPicker.vue.d.ts +4 -4
- package/dist/types/platform-components/ObjectPickerInput.vue.d.ts +2 -2
- package/dist/types/platform-components/QueryCriteriaGroupEditor.vue.d.ts +2 -2
- package/dist/types/platform-components/RecordContentSourceField.vue.d.ts +22 -0
- package/dist/types/platform-components/RecordContentTranslationField.vue.d.ts +26 -0
- package/dist/types/platform-components/RecordDataExchangeSurface.vue.d.ts +26 -0
- package/dist/types/platform-components/RecordDetailFields.vue.d.ts +3 -2
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +5 -2
- package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordQueryListCell.vue.d.ts +1 -0
- package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordQueryListSurface.vue.d.ts +1 -1
- package/dist/types/{dynamic-page-runtime/ModuleDataExchangeSurface.vue.d.ts → platform-components/RecordQuerySortSelector.vue.d.ts} +5 -9
- package/dist/types/platform-components/RecordRelationActionButton.vue.d.ts +16 -0
- package/dist/types/platform-components/RecordRelationValue.vue.d.ts +2 -0
- package/dist/types/platform-components/StaticManagementLayout.vue.d.ts +7 -2
- package/dist/types/{dynamic-page-runtime → platform-components}/TenantScopeExplorer.vue.d.ts +1 -1
- package/dist/types/platform-components/WorkflowRecordPanel.vue.d.ts +2 -0
- package/dist/types/platform-components/WorkflowTimeline.vue.d.ts +4 -0
- package/dist/types/platform-components/crudRecordListModel.d.ts +1 -0
- package/dist/types/platform-components/index.d.ts +3 -0
- package/dist/types/platform-components/loadExplorerRecords.d.ts +3 -0
- package/dist/types/platform-components/managementWorkspaceLayout.d.ts +10 -0
- package/dist/types/platform-components/recordDetailFieldModel.d.ts +2 -0
- package/dist/types/platform-components/recordFormFieldModel.d.ts +6 -0
- package/dist/types/platform-components/recordQueryListQueryController.d.ts +2 -0
- package/dist/types/platform-components/recordSurfaceActivity.d.ts +3 -0
- package/dist/types/platform-components/recycleBinState.d.ts +1 -0
- package/dist/types/platform-components/referencePickerModel.d.ts +6 -2
- package/dist/types/platform-components/scopedTreePickerModel.d.ts +4 -0
- package/dist/types/platform-components/useBusinessCodeForm.d.ts +36 -0
- package/dist/types/platform-workbench/Workbench.vue.d.ts +13 -4
- package/dist/types/platform-workbench/WorkbenchGlobalTools.vue.d.ts +28 -0
- package/dist/types/platform-workbench/WorkbenchLanguageSettings.vue.d.ts +11 -0
- package/dist/types/platform-workbench/WorkbenchPageTitle.vue.d.ts +10 -0
- package/dist/types/platform-workbench/menuGroupLayout.d.ts +5 -0
- package/dist/types/platform-workbench/menuTreeModel.d.ts +1 -2
- package/dist/types/platform-workbench/useAssistantConversation.d.ts +1 -1
- package/dist/types/platform-workbench/useAssistantConversationArchive.d.ts +1 -1
- package/dist/types/platform-workbench/useLanguagePreferenceSelection.d.ts +7 -0
- package/dist/types/views/CodeConfigurationView.vue.d.ts +8 -0
- package/dist/types/views/CodeRuleFormatEditor.vue.d.ts +17 -0
- package/dist/types/views/PageQuerySummaryEditor.vue.d.ts +4 -4
- package/dist/types/views/WorkflowSelectionFields.vue.d.ts +28 -0
- package/dist/types/views/codeConfiguration.d.ts +127 -0
- package/dist/types/views/codeConfigurationWorkspaceView.d.ts +5 -0
- package/dist/types/views/metadataEditorSession.d.ts +4 -0
- package/dist/types/views/metadataOrchestrationState.d.ts +3 -0
- package/dist/types/views/metadataWorkspace.d.ts +8 -0
- package/dist/types/views/moduleGovernanceWorkspaceView.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiDatePicker.vue.d.ts +33 -0
- package/dist/types/vue-ui-antdv/components/UiDropdown.vue.d.ts +1 -0
- package/dist/types/vue-ui-antdv/components/UiHelp.vue.d.ts +16 -0
- package/dist/types/vue-ui-antdv/components/UiIcon.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiModal.vue.d.ts +9 -6
- package/dist/types/vue-ui-antdv/components/UiPopover.vue.d.ts +12 -4
- package/dist/types/vue-ui-antdv/datePickerCalendar.d.ts +472 -0
- package/dist/types/vue-ui-antdv/datePickerValue.d.ts +6 -0
- package/dist/types/vue-ui-antdv/index.d.ts +3 -0
- package/dist/types/vue-ui-antdv/languageLocales.d.ts +2 -0
- package/dist/types/vue-ui-antdv/types.d.ts +2 -0
- package/dist/types/vue-ui-antdv/typography.d.ts +25 -0
- package/dist/types/web-contracts/index.d.ts +146 -1
- package/dist/types/web-contracts/workflow.d.ts +10 -0
- package/dist/types/web-core/assistantTurnClient.d.ts +2 -0
- package/dist/types/web-core/businessContent.d.ts +38 -0
- package/dist/types/web-core/businessContentLanguage.d.ts +18 -0
- package/dist/types/web-core/index.d.ts +5 -0
- package/dist/types/web-core/languagePreference.d.ts +2 -2
- package/dist/types/web-core/module/dataExchangeClient.d.ts +83 -1
- package/dist/types/web-core/module/staticModuleClient.d.ts +9 -3
- package/dist/types/web-core/presentationTexts.d.ts +5 -0
- package/dist/types/web-core/recordReadRefreshGuard.d.ts +7 -0
- package/dist/types/web-core/useBusinessContentGenerationBatch.d.ts +36 -0
- package/dist/types/web-core/useBusinessContentReading.d.ts +30 -0
- package/dist/types/web-core/workflow.d.ts +2 -1
- package/dist/{workspaceViews-BIYGPUAO.js → workspaceViews-DeBqozVb.js} +1062 -918
- package/package.json +4 -1
- package/dist/BusinessLogListDrawer-BciMLY9z.js +0 -864
- package/dist/RoleDetailWorkspaceView-BpOoGUwS.js +0 -1435
- package/dist/WorkflowAdministrationView-DmUV6vWS.js +0 -650
- package/dist/WorkflowConfigurationView-pghDbWEh.js +0 -975
- package/dist/WorkflowWorkbenchView-BwWxyDen.js +0 -747
- package/dist/moduleGovernanceWorkspaceView-DGEV3ZyT.js +0 -667
package/dist/{ModuleActionManagementView-CJRNShGg.js → ModuleActionManagementView-CaiXH1l_.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as e } from "./rolldown-runtime-BAC7EHh5.js";
|
|
2
|
-
import "./platform-workbench-
|
|
3
|
-
import {
|
|
4
|
-
import { computed as
|
|
2
|
+
import "./platform-workbench-BhZPARiH.js";
|
|
3
|
+
import { $n as t, Bn as n, Fr as ee, H as te, I as ne, Ia as r, Jt as re, Kn as i, N as ie, Nn as a, On as ae, Qi as o, Rt as oe, Un as s, Xn as c, Yn as l, _ as se, an as ce, bn as le, dt as u, er as d, qr as ue, sn as de, tr as f, w as fe, yr as pe } from "./platform-components-5AE0j2_3.js";
|
|
4
|
+
import { computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createTextVNode as v, createVNode as y, defineComponent as b, onMounted as me, openBlock as x, ref as S, toDisplayString as C, unref as w, withCtx as T, withModifiers as E } from "vue";
|
|
5
5
|
//#region src/platform-components/staticTreeResourceModuleContext.ts
|
|
6
|
-
function
|
|
7
|
-
let n = t.client ??
|
|
6
|
+
function he(e, t = {}) {
|
|
7
|
+
let n = t.client ?? D(t.emptyQueryScopeName);
|
|
8
8
|
return {
|
|
9
9
|
...e,
|
|
10
10
|
crud: n,
|
|
@@ -19,23 +19,23 @@ function me(e, t = {}) {
|
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function D(e = "static.empty") {
|
|
23
23
|
return {
|
|
24
|
-
querySchema: async () =>
|
|
25
|
-
query: async () =>
|
|
24
|
+
querySchema: async () => O(e),
|
|
25
|
+
query: async () => k(),
|
|
26
26
|
view: async () => ({}),
|
|
27
27
|
insert: async (e) => ({ record: e }),
|
|
28
28
|
update: async (e, t) => ({ record: t }),
|
|
29
29
|
delete: async () => 0,
|
|
30
30
|
enable: async () => 0,
|
|
31
31
|
disable: async () => 0,
|
|
32
|
-
tree: async () =>
|
|
33
|
-
treeFlat: async () =>
|
|
34
|
-
subtree: async () =>
|
|
32
|
+
tree: async () => A(),
|
|
33
|
+
treeFlat: async () => j(),
|
|
34
|
+
subtree: async () => A(),
|
|
35
35
|
sort: async () => 0
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function O(e) {
|
|
39
39
|
return {
|
|
40
40
|
scopeName: e,
|
|
41
41
|
quickSearch: {
|
|
@@ -48,7 +48,7 @@ function k(e) {
|
|
|
48
48
|
defaultSorts: []
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function k() {
|
|
52
52
|
return {
|
|
53
53
|
records: [],
|
|
54
54
|
total: 0,
|
|
@@ -58,18 +58,18 @@ function A() {
|
|
|
58
58
|
totalKnown: !0
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function A() {
|
|
62
62
|
return { records: [] };
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function j() {
|
|
65
65
|
return { records: [] };
|
|
66
66
|
}
|
|
67
67
|
//#endregion
|
|
68
68
|
//#region src/views/ModuleActionManagementView.vue?vue&type=script&setup=true&lang.ts
|
|
69
|
-
var
|
|
69
|
+
var ge = { class: "action-declaration-section" }, _e = { class: "permission-governance-section" }, ve = { class: "governance-grid" }, ye = { class: "governance-item" }, be = ["aria-label"], M = { class: "governance-reset-slot" }, N = { class: "governance-item" }, xe = ["aria-label"], P = { class: "governance-reset-slot" }, Se = { class: "governance-item" }, Ce = ["aria-label"], we = { class: "governance-reset-slot" }, Te = { class: "governance-switch-control" }, Ee = { class: "governance-item" }, De = ["aria-label"], Oe = { class: "governance-reset-slot" }, ke = { class: "governance-switch-control" }, Ae = { class: "form-hint wide-field" }, je = { key: 0 }, Me = {
|
|
70
70
|
key: 1,
|
|
71
71
|
class: "form-hint wide-field"
|
|
72
|
-
},
|
|
72
|
+
}, Ne = { class: "checkbox-field" }, Pe = { class: "checkbox-field" }, Fe = { class: "wide-field" }, Ie = { class: "wide-field" }, F = /*@__PURE__*/ b({
|
|
73
73
|
name: "ModuleActionManagementView",
|
|
74
74
|
__name: "ModuleActionManagementView",
|
|
75
75
|
props: {
|
|
@@ -79,12 +79,12 @@ var he = { class: "action-declaration-section" }, ge = { class: "permission-gove
|
|
|
79
79
|
title: {}
|
|
80
80
|
},
|
|
81
81
|
setup(e) {
|
|
82
|
-
let f =
|
|
82
|
+
let f = r(), b = e, D = ee({ moduleAlias: "platform.module_action" }), O = he(D, { client: ue(D.http, `/platform.module/${encodeURIComponent(b.moduleAlias)}/actions`) }), k = S(""), A = S(!1), j = S([]), F = se({
|
|
83
83
|
language: f,
|
|
84
|
-
context:
|
|
84
|
+
context: O,
|
|
85
85
|
confirmAction: (e) => le(e, f),
|
|
86
|
-
emptyDraft: () => q(
|
|
87
|
-
normalizeDraft: (e) => J(e,
|
|
86
|
+
emptyDraft: () => q(b.moduleAlias),
|
|
87
|
+
normalizeDraft: (e) => J(e, b.moduleAlias),
|
|
88
88
|
copyRecord: (e) => ({ ...e }),
|
|
89
89
|
titleOf: Q,
|
|
90
90
|
get fallbackTitle() {
|
|
@@ -94,7 +94,7 @@ var he = { class: "action-declaration-section" }, ge = { class: "permission-gove
|
|
|
94
94
|
return f.t("platform.screen.ModuleActionManagementView.new-action", "新建动作");
|
|
95
95
|
},
|
|
96
96
|
get requiredMessage() {
|
|
97
|
-
return
|
|
97
|
+
return o(f, "platform.screen.ModuleActionManagementView.the-action-code-is-required", "动作编码不能为空");
|
|
98
98
|
},
|
|
99
99
|
isValid: (e) => !!e.actionCode?.trim(),
|
|
100
100
|
get recordName() {
|
|
@@ -104,27 +104,27 @@ var he = { class: "action-declaration-section" }, ge = { class: "permission-gove
|
|
|
104
104
|
return f.t("platform.screen.ModuleActionManagementView.delete-action", "删除动作");
|
|
105
105
|
},
|
|
106
106
|
get saveDeniedMessage() {
|
|
107
|
-
return
|
|
107
|
+
return o(f, "platform.screen.ModuleActionManagementView.you-do-not-have-permission-to-save-module-actions", "当前用户无权保存模块动作");
|
|
108
108
|
},
|
|
109
109
|
get createDeniedMessage() {
|
|
110
|
-
return
|
|
110
|
+
return o(f, "platform.screen.ModuleActionManagementView.you-do-not-have-permission-to-create-module-actions", "当前用户无权新建模块动作");
|
|
111
111
|
},
|
|
112
112
|
get enableDeniedMessage() {
|
|
113
|
-
return
|
|
113
|
+
return o(f, "platform.screen.ModuleActionManagementView.you-do-not-have-permission-to-enable-or-disable-module", "当前用户无权变更模块动作启停状态");
|
|
114
114
|
},
|
|
115
|
-
deleteDeniedMessage: () =>
|
|
115
|
+
deleteDeniedMessage: () => o(f, "platform.screen.ModuleActionManagementView.you-do-not-have-permission-to-delete-module-actions", "当前用户无权删除模块动作"),
|
|
116
116
|
canDeleteRecord: (e) => e.systemManaged !== !0,
|
|
117
117
|
canEnableRecord: (e) => e.systemManaged !== !0
|
|
118
|
-
}), { selected: I, draft: L, mode: R, reloadKey: z, saving: B, cardTitle: Le, canCreate: Re, canEnable: ze } = F, Be =
|
|
118
|
+
}), { selected: I, draft: L, mode: R, reloadKey: z, saving: B, cardTitle: Le, canCreate: Re, canEnable: ze } = F, Be = p(() => {
|
|
119
119
|
if (R.value === "view") return !1;
|
|
120
|
-
let e = I.value ? J(I.value,
|
|
120
|
+
let e = I.value ? J(I.value, b.moduleAlias) : q(b.moduleAlias);
|
|
121
121
|
return JSON.stringify(L.value) !== JSON.stringify(e);
|
|
122
122
|
});
|
|
123
|
-
|
|
124
|
-
let V =
|
|
123
|
+
pe(() => f.t("platform.unsaved-source.ModuleActionManagementView", "模块动作"), () => Be.value);
|
|
124
|
+
let V = p(() => O.can("sort") === !0), H = p(() => R.value !== "view" || B.value || !!k.value.trim()), Ve = p(() => Re.value), He = p(() => j.value.map((e) => ({
|
|
125
125
|
value: e.executorKey,
|
|
126
126
|
label: e.description ? `${e.title} · ${e.description}` : e.title
|
|
127
|
-
}))), Ue =
|
|
127
|
+
}))), Ue = p(() => (j.value.find((e) => e.executorKey === L.value.executorKey)?.supportedLevels ?? [
|
|
128
128
|
"LIST",
|
|
129
129
|
"RECORD",
|
|
130
130
|
"BATCH",
|
|
@@ -137,7 +137,7 @@ var he = { class: "action-declaration-section" }, ge = { class: "permission-gove
|
|
|
137
137
|
BATCH: f.t("platform.screen.ModuleActionManagementView.batch", "批量"),
|
|
138
138
|
ANY: f.t("platform.screen.ModuleActionManagementView.any", "任意")
|
|
139
139
|
}[e]
|
|
140
|
-
}))), We =
|
|
140
|
+
}))), We = p(() => [
|
|
141
141
|
"actionCode",
|
|
142
142
|
"title",
|
|
143
143
|
"category",
|
|
@@ -152,7 +152,7 @@ var he = { class: "action-declaration-section" }, ge = { class: "permission-gove
|
|
|
152
152
|
...Z(L.value.unavailableMessage) ? ["unavailableMessage"] : [],
|
|
153
153
|
...L.value.sourceType ? ["sourceType"] : [],
|
|
154
154
|
...Z(L.value.bindingAlias) ? ["bindingAlias"] : []
|
|
155
|
-
]), Ge =
|
|
155
|
+
]), Ge = p(() => [
|
|
156
156
|
"actionCode",
|
|
157
157
|
"title",
|
|
158
158
|
"category",
|
|
@@ -161,8 +161,8 @@ var he = { class: "action-declaration-section" }, ge = { class: "permission-gove
|
|
|
161
161
|
...Z(L.value.executorKey) ? ["executorKey"] : [],
|
|
162
162
|
...L.value.sourceType ? ["sourceType"] : []
|
|
163
163
|
]);
|
|
164
|
-
|
|
165
|
-
let Ke =
|
|
164
|
+
me(() => void Qe());
|
|
165
|
+
let Ke = p(() => F.readonly.value), U = p(() => Ke.value || F.saving.value), qe = p(() => {
|
|
166
166
|
if (F.mode.value !== "view") return [
|
|
167
167
|
...F.mode.value === "edit" && F.selected.value?.systemManaged === !0 && Xe(L.value) ? [{
|
|
168
168
|
key: "reset-permission-governance",
|
|
@@ -241,9 +241,9 @@ var he = { class: "action-declaration-section" }, ge = { class: "permission-gove
|
|
|
241
241
|
}
|
|
242
242
|
async function Qe() {
|
|
243
243
|
try {
|
|
244
|
-
|
|
244
|
+
j.value = await D.http.request({ path: "/platform.module/action-executors" });
|
|
245
245
|
} catch (e) {
|
|
246
|
-
|
|
246
|
+
j.value = [], de(e, {
|
|
247
247
|
language: f,
|
|
248
248
|
source: "module-action-management",
|
|
249
249
|
phase: "load"
|
|
@@ -254,7 +254,7 @@ var he = { class: "action-declaration-section" }, ge = { class: "permission-gove
|
|
|
254
254
|
F.startCreate();
|
|
255
255
|
}
|
|
256
256
|
function et(e) {
|
|
257
|
-
let t = typeof e == "string" ? e : void 0, n =
|
|
257
|
+
let t = typeof e == "string" ? e : void 0, n = j.value.find((e) => e.executorKey === t);
|
|
258
258
|
K("executorKey", t), n?.supportedLevels.length && K("actionLevel", n.supportedLevels[0]);
|
|
259
259
|
}
|
|
260
260
|
function q(e) {
|
|
@@ -345,57 +345,57 @@ var he = { class: "action-declaration-section" }, ge = { class: "permission-gove
|
|
|
345
345
|
};
|
|
346
346
|
return e === "actionAuth" || e === "dataAuth" ? t === !0 ? f.t("platform.screen.WorkflowWorkbenchView.enabled", "启用") : f.t("platform.screen.ModuleActionManagementView.not-enabled", "未启用") : typeof t == "string" ? n[e]?.[t] : void 0;
|
|
347
347
|
}
|
|
348
|
-
return (ee,
|
|
349
|
-
"explorer-title":
|
|
350
|
-
"refresh-title":
|
|
351
|
-
mode:
|
|
352
|
-
"detail-title":
|
|
353
|
-
"explorer-search-keyword":
|
|
354
|
-
"explorer-search-placeholder":
|
|
355
|
-
"onUpdate:explorerSearchKeyword":
|
|
356
|
-
onRefresh:
|
|
348
|
+
return (ee, r) => (x(), m(w(fe), {
|
|
349
|
+
"explorer-title": w(f).t("platform.unsaved-source.ModuleActionManagementView", "模块动作"),
|
|
350
|
+
"refresh-title": w(f).t("platform.screen.ModuleActionManagementView.refresh-actions", "刷新动作"),
|
|
351
|
+
mode: w(R),
|
|
352
|
+
"detail-title": w(Le),
|
|
353
|
+
"explorer-search-keyword": k.value,
|
|
354
|
+
"explorer-search-placeholder": w(f).t("platform.screen.ModuleActionManagementView.search-action-name-or-code", "搜索动作名称或编码"),
|
|
355
|
+
"onUpdate:explorerSearchKeyword": r[23] ||= (e) => k.value = e,
|
|
356
|
+
onRefresh: r[24] ||= (e) => z.value += 1
|
|
357
357
|
}, {
|
|
358
|
-
"explorer-actions":
|
|
358
|
+
"explorer-actions": T(() => [V.value ? (x(), m(w(te), {
|
|
359
359
|
key: 0,
|
|
360
360
|
"icon-name": "swap-vertical",
|
|
361
361
|
"icon-only": "",
|
|
362
362
|
size: "small",
|
|
363
363
|
type: "text",
|
|
364
|
-
selected:
|
|
364
|
+
selected: A.value,
|
|
365
365
|
disabled: H.value,
|
|
366
|
-
title:
|
|
367
|
-
"aria-label":
|
|
368
|
-
onClick:
|
|
366
|
+
title: k.value.trim() ? w(f).t("platform.screen.ModulePageHostRuntime.clear-the-search-to-reorder-records", "清空搜索后可调整排序") : w(R) === "view" ? A.value ? w(f).t("platform.screen.ModulePageHostRuntime.finish-reordering", "结束排序") : w(f).t("platform.screen.ModulePageHostRuntime.reorder", "调整排序") : w(f).t("platform.screen.ModuleActionManagementView.finish-editing-before-reordering", "结束编辑后可调整排序"),
|
|
367
|
+
"aria-label": A.value ? w(f).t("platform.screen.ModulePageHostRuntime.finish-reordering", "结束排序") : w(f).t("platform.screen.ModulePageHostRuntime.reorder", "调整排序"),
|
|
368
|
+
onClick: r[0] ||= (e) => A.value = !A.value
|
|
369
369
|
}, null, 8, [
|
|
370
370
|
"selected",
|
|
371
371
|
"disabled",
|
|
372
372
|
"title",
|
|
373
373
|
"aria-label"
|
|
374
|
-
])) :
|
|
374
|
+
])) : h("v-if", !0), y(w(re), {
|
|
375
375
|
class: "record-panel-create-button",
|
|
376
|
-
context:
|
|
376
|
+
context: w(O),
|
|
377
377
|
"action-code": "create",
|
|
378
|
-
title:
|
|
378
|
+
title: w(f).t("platform.screen.ModuleActionManagementView.new-action", "新建动作"),
|
|
379
379
|
"icon-only": "",
|
|
380
|
-
disabled: !Ve.value ||
|
|
380
|
+
disabled: !Ve.value || w(B),
|
|
381
381
|
onClick: $e
|
|
382
382
|
}, null, 8, [
|
|
383
383
|
"context",
|
|
384
384
|
"title",
|
|
385
385
|
"disabled"
|
|
386
386
|
])]),
|
|
387
|
-
explorer:
|
|
388
|
-
context:
|
|
389
|
-
"selected-id":
|
|
390
|
-
"reload-key":
|
|
391
|
-
keyword:
|
|
392
|
-
sorting:
|
|
393
|
-
"empty-description":
|
|
394
|
-
"loading-tip":
|
|
395
|
-
"fallback-title":
|
|
387
|
+
explorer: T(() => [y(w(ce), {
|
|
388
|
+
context: w(O),
|
|
389
|
+
"selected-id": w(I)?.id,
|
|
390
|
+
"reload-key": w(z),
|
|
391
|
+
keyword: k.value,
|
|
392
|
+
sorting: A.value && V.value && !H.value,
|
|
393
|
+
"empty-description": w(f).t("platform.screen.ModuleActionManagementView.no-actions-are-available-for-this-module", "当前模块暂无动作"),
|
|
394
|
+
"loading-tip": w(f).t("platform.screen.RoleAuthorizationView.loading-module-actions", "加载模块动作"),
|
|
395
|
+
"fallback-title": w(f).t("platform.screen.ModuleActionManagementView.untitled-action", "未命名动作"),
|
|
396
396
|
"item-of": Je,
|
|
397
|
-
onLoaded:
|
|
398
|
-
onSelect:
|
|
397
|
+
onLoaded: r[1] ||= (e) => w(F).handleListLoaded(e),
|
|
398
|
+
onSelect: r[2] ||= (e) => w(F).handleSelect(e)
|
|
399
399
|
}, null, 8, [
|
|
400
400
|
"context",
|
|
401
401
|
"selected-id",
|
|
@@ -406,340 +406,340 @@ var he = { class: "action-declaration-section" }, ge = { class: "permission-gove
|
|
|
406
406
|
"loading-tip",
|
|
407
407
|
"fallback-title"
|
|
408
408
|
])]),
|
|
409
|
-
"detail-status":
|
|
409
|
+
"detail-status": T(() => [w(R) === "view" && w(I) ? (x(), m(w(ne), {
|
|
410
410
|
key: 0,
|
|
411
|
-
enabled:
|
|
412
|
-
disabled:
|
|
413
|
-
loading:
|
|
411
|
+
enabled: w(I).enabled,
|
|
412
|
+
disabled: w(B) || w(I).systemManaged === !0 || !w(ze),
|
|
413
|
+
loading: w(B),
|
|
414
414
|
"show-label": !1,
|
|
415
|
-
onChange:
|
|
415
|
+
onChange: w(F).toggleEnabled
|
|
416
416
|
}, null, 8, [
|
|
417
417
|
"enabled",
|
|
418
418
|
"disabled",
|
|
419
419
|
"loading",
|
|
420
420
|
"onChange"
|
|
421
|
-
])) :
|
|
422
|
-
"detail-actions":
|
|
423
|
-
context:
|
|
421
|
+
])) : h("v-if", !0)]),
|
|
422
|
+
"detail-actions": T(() => [y(w(oe), {
|
|
423
|
+
context: w(O),
|
|
424
424
|
actions: qe.value,
|
|
425
425
|
onAction: Ye
|
|
426
426
|
}, null, 8, ["context", "actions"])]),
|
|
427
|
-
default:
|
|
427
|
+
default: T(() => [!w(I) && w(R) === "view" ? (x(), m(w(ae), {
|
|
428
428
|
key: 0,
|
|
429
|
-
description: e.moduleKind === "static" ?
|
|
430
|
-
}, null, 8, ["description"])) :
|
|
429
|
+
description: e.moduleKind === "static" ? w(f).t("platform.screen.ModuleActionManagementView.static-module-actions-are-registered-automatically-from-java-declarations", "静态模块动作由 Java 声明自动注册") : w(f).t("platform.screen.ModuleActionManagementView.no-actions-are-available-for-this-module", "当前模块暂无动作")
|
|
430
|
+
}, null, 8, ["description"])) : w(R) === "view" && w(I) ? (x(), m(w(u), {
|
|
431
431
|
key: 1,
|
|
432
|
-
record:
|
|
432
|
+
record: w(L),
|
|
433
433
|
"display-of": $,
|
|
434
434
|
"field-names": We.value,
|
|
435
435
|
fallback: {
|
|
436
|
-
actionCode: { label:
|
|
437
|
-
title: { label:
|
|
438
|
-
category: { label:
|
|
439
|
-
actionLevel: { label:
|
|
440
|
-
accessMode: { label:
|
|
441
|
-
executorType: { label:
|
|
442
|
-
executorKey: { label:
|
|
443
|
-
actionAuth: { label:
|
|
444
|
-
dataAuth: { label:
|
|
445
|
-
defaultGrantPolicy: { label:
|
|
446
|
-
availableExpression: { label:
|
|
447
|
-
unavailableMessage: { label:
|
|
448
|
-
sourceType: { label:
|
|
449
|
-
bindingAlias: { label:
|
|
436
|
+
actionCode: { label: w(f).t("platform.screen.ModuleActionManagementView.action-code", "动作编码") },
|
|
437
|
+
title: { label: w(f).t("platform.screen.ModuleActionManagementView.action-name", "动作名称") },
|
|
438
|
+
category: { label: w(f).t("platform.screen.ModuleActionManagementView.action-category", "动作类别") },
|
|
439
|
+
actionLevel: { label: w(f).t("platform.screen.ModuleActionManagementView.execution-level", "执行层级") },
|
|
440
|
+
accessMode: { label: w(f).t("platform.screen.ModuleActionManagementView.access-mode", "访问方式") },
|
|
441
|
+
executorType: { label: w(f).t("platform.screen.ModuleActionManagementView.execution-method", "执行方式") },
|
|
442
|
+
executorKey: { label: w(f).t("platform.screen.ModuleActionManagementView.executor-implementation", "执行实现") },
|
|
443
|
+
actionAuth: { label: w(f).t("platform.screen.ModuleActionManagementView.action-authorization", "动作授权") },
|
|
444
|
+
dataAuth: { label: w(f).t("platform.screen.ModuleActionManagementView.data-authorization", "数据授权") },
|
|
445
|
+
defaultGrantPolicy: { label: w(f).t("platform.screen.ModuleActionManagementView.default-grant-policy", "默认授予策略") },
|
|
446
|
+
availableExpression: { label: w(f).t("platform.screen.ModuleActionManagementView.availability-condition", "可用条件") },
|
|
447
|
+
unavailableMessage: { label: w(f).t("platform.screen.ModuleActionManagementView.unavailable-message", "不可用提示") },
|
|
448
|
+
sourceType: { label: w(f).t("platform.screen.ModuleActionManagementView.registration-source", "注册来源") },
|
|
449
|
+
bindingAlias: { label: w(f).t("platform.screen.ModuleActionManagementView.binding-id", "绑定标识") }
|
|
450
450
|
}
|
|
451
451
|
}, null, 8, [
|
|
452
452
|
"record",
|
|
453
453
|
"field-names",
|
|
454
454
|
"fallback"
|
|
455
|
-
])) :
|
|
455
|
+
])) : w(R) !== "create" && w(I)?.systemManaged ? (x(), g("form", {
|
|
456
456
|
key: 2,
|
|
457
457
|
class: "managed-action-editor",
|
|
458
|
-
onSubmit:
|
|
459
|
-
}, [
|
|
460
|
-
record:
|
|
458
|
+
onSubmit: r[11] ||= E((...e) => w(F).save && w(F).save(...e), ["prevent"])
|
|
459
|
+
}, [_("section", ge, [_("h3", null, C(w(f).t("platform.screen.ModuleActionManagementView.action-declaration", "动作声明")), 1), y(w(u), {
|
|
460
|
+
record: w(L),
|
|
461
461
|
"display-of": $,
|
|
462
462
|
"field-names": Ge.value,
|
|
463
463
|
fallback: {
|
|
464
|
-
actionCode: { label:
|
|
465
|
-
title: { label:
|
|
466
|
-
category: { label:
|
|
467
|
-
actionLevel: { label:
|
|
468
|
-
executorType: { label:
|
|
469
|
-
executorKey: { label:
|
|
470
|
-
sourceType: { label:
|
|
464
|
+
actionCode: { label: w(f).t("platform.screen.ModuleActionManagementView.action-code", "动作编码") },
|
|
465
|
+
title: { label: w(f).t("platform.screen.ModuleActionManagementView.action-name", "动作名称") },
|
|
466
|
+
category: { label: w(f).t("platform.screen.ModuleActionManagementView.action-category", "动作类别") },
|
|
467
|
+
actionLevel: { label: w(f).t("platform.screen.ModuleActionManagementView.execution-level", "执行层级") },
|
|
468
|
+
executorType: { label: w(f).t("platform.screen.ModuleActionManagementView.execution-method", "执行方式") },
|
|
469
|
+
executorKey: { label: w(f).t("platform.screen.ModuleActionManagementView.executor-implementation", "执行实现") },
|
|
470
|
+
sourceType: { label: w(f).t("platform.screen.ModuleActionManagementView.registration-source", "注册来源") }
|
|
471
471
|
}
|
|
472
472
|
}, null, 8, [
|
|
473
473
|
"record",
|
|
474
474
|
"field-names",
|
|
475
475
|
"fallback"
|
|
476
|
-
])]),
|
|
477
|
-
|
|
478
|
-
default:
|
|
476
|
+
])]), _("section", _e, [_("h3", null, C(w(f).t("platform.screen.ModuleActionManagementView.permission-governance", "权限治理")), 1), _("div", ve, [
|
|
477
|
+
_("section", ye, [_("header", null, [_("div", null, [_("h4", null, [v(C(w(f).t("platform.screen.ModuleActionManagementView.access-mode", "访问方式")) + " ", 1), y(w(n), { title: w(f).t("platform.screen.ModuleActionManagementView.define-the-identity-requirements-for-invoking-this-action", "决定调用动作前需要满足的身份条件。") }, {
|
|
478
|
+
default: T(() => [_("button", {
|
|
479
479
|
type: "button",
|
|
480
480
|
class: "governance-help",
|
|
481
|
-
"aria-label":
|
|
482
|
-
}, [
|
|
481
|
+
"aria-label": w(f).t("platform.screen.ModuleActionManagementView.access-method-description", "访问方式说明")
|
|
482
|
+
}, [y(w(d), { name: "help" })], 8, be)]),
|
|
483
483
|
_: 1
|
|
484
|
-
}, 8, ["title"])])]),
|
|
484
|
+
}, 8, ["title"])])]), _("span", M, [W("accessModeOverride") ? (x(), m(w(t), {
|
|
485
485
|
key: 0,
|
|
486
486
|
type: "text",
|
|
487
487
|
size: "small",
|
|
488
488
|
disabled: U.value,
|
|
489
|
-
onClick:
|
|
489
|
+
onClick: r[3] ||= (e) => G("accessModeOverride")
|
|
490
490
|
}, {
|
|
491
|
-
default:
|
|
491
|
+
default: T(() => [v(C(w(f).t("platform.screen.WorkflowWorkbenchView.reset", "重置")), 1)]),
|
|
492
492
|
_: 1
|
|
493
|
-
}, 8, ["disabled"])) :
|
|
494
|
-
value:
|
|
493
|
+
}, 8, ["disabled"])) : h("v-if", !0)])]), y(w(l), {
|
|
494
|
+
value: w(L).accessModeOverride ?? w(L).accessMode,
|
|
495
495
|
disabled: U.value,
|
|
496
496
|
options: [
|
|
497
497
|
{
|
|
498
|
-
label:
|
|
498
|
+
label: w(f).t("platform.screen.ModuleActionManagementView.authorization-required", "需要授权"),
|
|
499
499
|
value: "AUTH_REQUIRED"
|
|
500
500
|
},
|
|
501
501
|
{
|
|
502
|
-
label:
|
|
502
|
+
label: w(f).t("platform.screen.ModuleActionManagementView.signed-in-access", "登录可用"),
|
|
503
503
|
value: "LOGIN_REQUIRED"
|
|
504
504
|
},
|
|
505
505
|
{
|
|
506
|
-
label:
|
|
506
|
+
label: w(f).t("platform.screen.ModuleActionManagementView.anonymous-access", "匿名可用"),
|
|
507
507
|
value: "ANONYMOUS_ALLOWED"
|
|
508
508
|
}
|
|
509
509
|
],
|
|
510
|
-
"onUpdate:value":
|
|
510
|
+
"onUpdate:value": r[4] ||= (e) => K("accessModeOverride", e)
|
|
511
511
|
}, null, 8, [
|
|
512
512
|
"value",
|
|
513
513
|
"disabled",
|
|
514
514
|
"options"
|
|
515
515
|
])]),
|
|
516
|
-
|
|
517
|
-
default:
|
|
516
|
+
_("section", N, [_("header", null, [_("div", null, [_("h4", null, [v(C(w(f).t("platform.screen.ModuleActionManagementView.default-grant-policy", "默认授予策略")) + " ", 1), y(w(n), { title: w(f).t("platform.screen.ModuleActionManagementView.define-the-default-grant-rules-when-eligible-users-first-receive", "定义满足条件的用户首次获得动作时的默认规则。") }, {
|
|
517
|
+
default: T(() => [_("button", {
|
|
518
518
|
type: "button",
|
|
519
519
|
class: "governance-help",
|
|
520
|
-
"aria-label":
|
|
521
|
-
}, [
|
|
520
|
+
"aria-label": w(f).t("platform.screen.ModuleActionManagementView.default-grant-policy-description", "默认授予策略说明")
|
|
521
|
+
}, [y(w(d), { name: "help" })], 8, xe)]),
|
|
522
522
|
_: 1
|
|
523
|
-
}, 8, ["title"])])]),
|
|
523
|
+
}, 8, ["title"])])]), _("span", P, [W("defaultGrantPolicyOverride") ? (x(), m(w(t), {
|
|
524
524
|
key: 0,
|
|
525
525
|
type: "text",
|
|
526
526
|
size: "small",
|
|
527
527
|
disabled: U.value,
|
|
528
|
-
onClick:
|
|
528
|
+
onClick: r[5] ||= (e) => G("defaultGrantPolicyOverride")
|
|
529
529
|
}, {
|
|
530
|
-
default:
|
|
530
|
+
default: T(() => [v(C(w(f).t("platform.screen.WorkflowWorkbenchView.reset", "重置")), 1)]),
|
|
531
531
|
_: 1
|
|
532
|
-
}, 8, ["disabled"])) :
|
|
533
|
-
value:
|
|
532
|
+
}, 8, ["disabled"])) : h("v-if", !0)])]), y(w(l), {
|
|
533
|
+
value: w(L).defaultGrantPolicyOverride ?? w(L).defaultGrantPolicy,
|
|
534
534
|
disabled: U.value,
|
|
535
535
|
options: [
|
|
536
536
|
{
|
|
537
|
-
label:
|
|
537
|
+
label: w(f).t("platform.screen.ModuleActionManagementView.no-default-grant", "不默认授予"),
|
|
538
538
|
value: "NONE"
|
|
539
539
|
},
|
|
540
540
|
{
|
|
541
|
-
label:
|
|
541
|
+
label: w(f).t("platform.screen.ModuleActionManagementView.all-signed-in-users", "所有登录用户"),
|
|
542
542
|
value: "ANY_LOGIN_USER"
|
|
543
543
|
},
|
|
544
544
|
{
|
|
545
|
-
label:
|
|
545
|
+
label: w(f).t("platform.screen.ModuleActionManagementView.record-owner", "记录所有者"),
|
|
546
546
|
value: "OWNER"
|
|
547
547
|
},
|
|
548
548
|
{
|
|
549
|
-
label:
|
|
549
|
+
label: w(f).t("platform.screen.WorkflowWorkbenchView.processors", "办理人"),
|
|
550
550
|
value: "ASSIGNEE"
|
|
551
551
|
},
|
|
552
552
|
{
|
|
553
|
-
label:
|
|
553
|
+
label: w(f).t("platform.screen.ModuleActionManagementView.member", "成员"),
|
|
554
554
|
value: "MEMBER"
|
|
555
555
|
}
|
|
556
556
|
],
|
|
557
|
-
"onUpdate:value":
|
|
557
|
+
"onUpdate:value": r[6] ||= (e) => K("defaultGrantPolicyOverride", e)
|
|
558
558
|
}, null, 8, [
|
|
559
559
|
"value",
|
|
560
560
|
"disabled",
|
|
561
561
|
"options"
|
|
562
562
|
])]),
|
|
563
|
-
|
|
564
|
-
default:
|
|
563
|
+
_("section", Se, [_("header", null, [_("div", null, [_("h4", null, [v(C(w(f).t("platform.screen.ModuleActionManagementView.action-authorization", "动作授权")) + " ", 1), y(w(n), { title: w(f).t("platform.screen.ModuleActionManagementView.control-whether-roles-require-an-explicit-grant-for-this-action", "控制角色是否需要被显式授予该动作。") }, {
|
|
564
|
+
default: T(() => [_("button", {
|
|
565
565
|
type: "button",
|
|
566
566
|
class: "governance-help",
|
|
567
|
-
"aria-label":
|
|
568
|
-
}, [
|
|
567
|
+
"aria-label": w(f).t("platform.screen.ModuleActionManagementView.action-permission-description", "动作授权说明")
|
|
568
|
+
}, [y(w(d), { name: "help" })], 8, Ce)]),
|
|
569
569
|
_: 1
|
|
570
|
-
}, 8, ["title"])])]),
|
|
570
|
+
}, 8, ["title"])])]), _("span", we, [W("actionAuthOverride") ? (x(), m(w(t), {
|
|
571
571
|
key: 0,
|
|
572
572
|
type: "text",
|
|
573
573
|
size: "small",
|
|
574
574
|
disabled: U.value,
|
|
575
|
-
onClick:
|
|
575
|
+
onClick: r[7] ||= (e) => G("actionAuthOverride")
|
|
576
576
|
}, {
|
|
577
|
-
default:
|
|
577
|
+
default: T(() => [v(C(w(f).t("platform.screen.WorkflowWorkbenchView.reset", "重置")), 1)]),
|
|
578
578
|
_: 1
|
|
579
|
-
}, 8, ["disabled"])) :
|
|
580
|
-
checked: (
|
|
579
|
+
}, 8, ["disabled"])) : h("v-if", !0)])]), _("div", Te, [y(w(a), {
|
|
580
|
+
checked: (w(L).actionAuthOverride ?? w(L).actionAuth) !== !1,
|
|
581
581
|
disabled: U.value,
|
|
582
|
-
"checked-text":
|
|
583
|
-
"unchecked-text":
|
|
584
|
-
"onUpdate:checked":
|
|
582
|
+
"checked-text": w(f).t("platform.screen.ModuleActionManagementView.on", "开"),
|
|
583
|
+
"unchecked-text": w(f).t("platform.screen.ModuleActionManagementView.off", "关"),
|
|
584
|
+
"onUpdate:checked": r[8] ||= (e) => K("actionAuthOverride", e)
|
|
585
585
|
}, null, 8, [
|
|
586
586
|
"checked",
|
|
587
587
|
"disabled",
|
|
588
588
|
"checked-text",
|
|
589
589
|
"unchecked-text"
|
|
590
|
-
]),
|
|
591
|
-
|
|
592
|
-
default:
|
|
590
|
+
]), _("strong", null, C((w(L).actionAuthOverride ?? w(L).actionAuth) === !1 ? w(f).t("platform.screen.ModuleActionManagementView.not-enabled", "未启用") : w(f).t("platform.screen.DynamicModuleWorkspaceDetailView.enabled", "已启用")), 1)])]),
|
|
591
|
+
_("section", Ee, [_("header", null, [_("div", null, [_("h4", null, [v(C(w(f).t("platform.screen.ModuleActionManagementView.data-authorization", "数据授权")) + " ", 1), y(w(n), { title: w(f).t("platform.screen.ModuleActionManagementView.when-enabled-reads-and-execution-are-checked-against-the-data", "启用后,读取和执行会继续按数据范围校验。") }, {
|
|
592
|
+
default: T(() => [_("button", {
|
|
593
593
|
type: "button",
|
|
594
594
|
class: "governance-help",
|
|
595
|
-
"aria-label":
|
|
596
|
-
}, [
|
|
595
|
+
"aria-label": w(f).t("platform.screen.ModuleActionManagementView.data-permission-description", "数据授权说明")
|
|
596
|
+
}, [y(w(d), { name: "help" })], 8, De)]),
|
|
597
597
|
_: 1
|
|
598
|
-
}, 8, ["title"])])]),
|
|
598
|
+
}, 8, ["title"])])]), _("span", Oe, [W("dataAuthOverride") ? (x(), m(w(t), {
|
|
599
599
|
key: 0,
|
|
600
600
|
type: "text",
|
|
601
601
|
size: "small",
|
|
602
602
|
disabled: U.value,
|
|
603
|
-
onClick:
|
|
603
|
+
onClick: r[9] ||= (e) => G("dataAuthOverride")
|
|
604
604
|
}, {
|
|
605
|
-
default:
|
|
605
|
+
default: T(() => [v(C(w(f).t("platform.screen.WorkflowWorkbenchView.reset", "重置")), 1)]),
|
|
606
606
|
_: 1
|
|
607
|
-
}, 8, ["disabled"])) :
|
|
608
|
-
checked: (
|
|
607
|
+
}, 8, ["disabled"])) : h("v-if", !0)])]), _("div", ke, [y(w(a), {
|
|
608
|
+
checked: (w(L).dataAuthOverride ?? w(L).dataAuth) === !0,
|
|
609
609
|
disabled: U.value,
|
|
610
|
-
"checked-text":
|
|
611
|
-
"unchecked-text":
|
|
612
|
-
"onUpdate:checked":
|
|
610
|
+
"checked-text": w(f).t("platform.screen.ModuleActionManagementView.on", "开"),
|
|
611
|
+
"unchecked-text": w(f).t("platform.screen.ModuleActionManagementView.off", "关"),
|
|
612
|
+
"onUpdate:checked": r[10] ||= (e) => K("dataAuthOverride", e)
|
|
613
613
|
}, null, 8, [
|
|
614
614
|
"checked",
|
|
615
615
|
"disabled",
|
|
616
616
|
"checked-text",
|
|
617
617
|
"unchecked-text"
|
|
618
|
-
]),
|
|
619
|
-
])])], 32)) : (
|
|
618
|
+
]), _("strong", null, C((w(L).dataAuthOverride ?? w(L).dataAuth) === !0 ? w(f).t("platform.screen.DynamicModuleWorkspaceDetailView.enabled", "已启用") : w(f).t("platform.screen.ModuleActionManagementView.not-enabled", "未启用")), 1)])])
|
|
619
|
+
])])], 32)) : (x(), g("form", {
|
|
620
620
|
key: 3,
|
|
621
621
|
class: "static-record-form",
|
|
622
|
-
onSubmit:
|
|
622
|
+
onSubmit: r[22] ||= E((...e) => w(F).save && w(F).save(...e), ["prevent"])
|
|
623
623
|
}, [
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
value:
|
|
624
|
+
_("p", Ae, C(w(f).t("platform.screen.ModuleActionManagementView.you-can-save-an-action-before-binding-its-executor-unbound", "可以先保存动作,再绑定执行能力。待绑定动作不可执行,页面引用后需完成绑定才能发布。")), 1),
|
|
625
|
+
_("label", null, [_("span", null, C(w(f).t("platform.screen.ModuleActionManagementView.action-code", "动作编码")), 1), y(w(i), {
|
|
626
|
+
value: w(L).actionCode,
|
|
627
627
|
disabled: U.value,
|
|
628
|
-
"onUpdate:value":
|
|
628
|
+
"onUpdate:value": r[12] ||= (e) => K("actionCode", e)
|
|
629
629
|
}, null, 8, ["value", "disabled"])]),
|
|
630
|
-
|
|
631
|
-
value:
|
|
630
|
+
_("label", null, [_("span", null, C(w(f).t("platform.screen.ModuleActionManagementView.action-name", "动作名称")), 1), y(w(i), {
|
|
631
|
+
value: w(L).title,
|
|
632
632
|
disabled: U.value,
|
|
633
|
-
"onUpdate:value":
|
|
633
|
+
"onUpdate:value": r[13] ||= (e) => K("title", e)
|
|
634
634
|
}, null, 8, ["value", "disabled"])]),
|
|
635
|
-
|
|
636
|
-
value:
|
|
635
|
+
_("label", null, [_("span", null, C(w(f).t("platform.screen.ModuleActionManagementView.execution-level", "执行层级")), 1), y(w(l), {
|
|
636
|
+
value: w(L).actionLevel,
|
|
637
637
|
disabled: U.value,
|
|
638
638
|
options: Ue.value,
|
|
639
|
-
"onUpdate:value":
|
|
639
|
+
"onUpdate:value": r[14] ||= (e) => K("actionLevel", e)
|
|
640
640
|
}, null, 8, [
|
|
641
641
|
"value",
|
|
642
642
|
"disabled",
|
|
643
643
|
"options"
|
|
644
644
|
])]),
|
|
645
|
-
|
|
646
|
-
value:
|
|
645
|
+
_("label", null, [_("span", null, C(w(f).t("platform.screen.ModuleActionManagementView.access-mode", "访问方式")), 1), y(w(l), {
|
|
646
|
+
value: w(L).accessMode,
|
|
647
647
|
disabled: U.value,
|
|
648
648
|
options: [
|
|
649
649
|
{
|
|
650
|
-
label:
|
|
650
|
+
label: w(f).t("platform.screen.ModuleActionManagementView.authorization-required", "需要授权"),
|
|
651
651
|
value: "AUTH_REQUIRED"
|
|
652
652
|
},
|
|
653
653
|
{
|
|
654
|
-
label:
|
|
654
|
+
label: w(f).t("platform.screen.ModuleActionManagementView.signed-in-access", "登录可用"),
|
|
655
655
|
value: "LOGIN_REQUIRED"
|
|
656
656
|
},
|
|
657
657
|
{
|
|
658
|
-
label:
|
|
658
|
+
label: w(f).t("platform.screen.ModuleActionManagementView.anonymous-access", "匿名可用"),
|
|
659
659
|
value: "ANONYMOUS_ALLOWED"
|
|
660
660
|
}
|
|
661
661
|
],
|
|
662
|
-
"onUpdate:value":
|
|
662
|
+
"onUpdate:value": r[15] ||= (e) => K("accessMode", e)
|
|
663
663
|
}, null, 8, [
|
|
664
664
|
"value",
|
|
665
665
|
"disabled",
|
|
666
666
|
"options"
|
|
667
667
|
])]),
|
|
668
|
-
e.moduleKind === "dynamic" ? (
|
|
669
|
-
value:
|
|
668
|
+
e.moduleKind === "dynamic" ? (x(), g("label", je, [_("span", null, C(w(f).t("platform.screen.ModuleActionManagementView.executor-can-be-bound-later", "执行能力(可稍后绑定)")), 1), y(w(l), {
|
|
669
|
+
value: w(L).executorKey,
|
|
670
670
|
"allow-clear": "",
|
|
671
|
-
placeholder:
|
|
671
|
+
placeholder: w(f).t("platform.screen.PageCompositionTree.binding-pending", "待绑定"),
|
|
672
672
|
disabled: U.value,
|
|
673
673
|
options: He.value,
|
|
674
|
-
"onUpdate:value":
|
|
674
|
+
"onUpdate:value": r[16] ||= (e) => et(e)
|
|
675
675
|
}, null, 8, [
|
|
676
676
|
"value",
|
|
677
677
|
"placeholder",
|
|
678
678
|
"disabled",
|
|
679
679
|
"options"
|
|
680
|
-
])])) :
|
|
681
|
-
e.moduleKind === "dynamic" ?
|
|
682
|
-
|
|
683
|
-
checked:
|
|
680
|
+
])])) : h("v-if", !0),
|
|
681
|
+
e.moduleKind === "dynamic" ? h("v-if", !0) : (x(), g("p", Me, C(w(f).t("platform.screen.ModuleActionManagementView.static-modules-bind-an-executor-through-a-code-action-declaration", "静态模块通过同编码的代码动作声明绑定执行能力。")), 1)),
|
|
682
|
+
_("label", Ne, [y(w(c), {
|
|
683
|
+
checked: w(L).actionAuth !== !1,
|
|
684
684
|
disabled: U.value,
|
|
685
|
-
"onUpdate:checked":
|
|
685
|
+
"onUpdate:checked": r[17] ||= (e) => K("actionAuth", e)
|
|
686
686
|
}, {
|
|
687
|
-
default:
|
|
687
|
+
default: T(() => [v(C(w(f).t("platform.screen.ModuleActionManagementView.enable-action-permissions", "启用动作授权")), 1)]),
|
|
688
688
|
_: 1
|
|
689
689
|
}, 8, ["checked", "disabled"])]),
|
|
690
|
-
|
|
691
|
-
checked:
|
|
690
|
+
_("label", Pe, [y(w(c), {
|
|
691
|
+
checked: w(L).dataAuth === !0,
|
|
692
692
|
disabled: U.value,
|
|
693
|
-
"onUpdate:checked":
|
|
693
|
+
"onUpdate:checked": r[18] ||= (e) => K("dataAuth", e)
|
|
694
694
|
}, {
|
|
695
|
-
default:
|
|
695
|
+
default: T(() => [v(C(w(f).t("platform.screen.ModuleActionManagementView.enable-data-permissions", "启用数据授权")), 1)]),
|
|
696
696
|
_: 1
|
|
697
697
|
}, 8, ["checked", "disabled"])]),
|
|
698
|
-
|
|
699
|
-
value:
|
|
698
|
+
_("label", null, [_("span", null, C(w(f).t("platform.screen.ModuleActionManagementView.default-grant-policy", "默认授予策略")), 1), y(w(l), {
|
|
699
|
+
value: w(L).defaultGrantPolicy,
|
|
700
700
|
disabled: U.value,
|
|
701
701
|
options: [
|
|
702
702
|
{
|
|
703
|
-
label:
|
|
703
|
+
label: w(f).t("platform.screen.ModuleActionManagementView.no-default-grant", "不默认授予"),
|
|
704
704
|
value: "NONE"
|
|
705
705
|
},
|
|
706
706
|
{
|
|
707
|
-
label:
|
|
707
|
+
label: w(f).t("platform.screen.ModuleActionManagementView.all-signed-in-users", "所有登录用户"),
|
|
708
708
|
value: "ANY_LOGIN_USER"
|
|
709
709
|
},
|
|
710
710
|
{
|
|
711
|
-
label:
|
|
711
|
+
label: w(f).t("platform.screen.ModuleActionManagementView.record-owner", "记录所有者"),
|
|
712
712
|
value: "OWNER"
|
|
713
713
|
},
|
|
714
714
|
{
|
|
715
|
-
label:
|
|
715
|
+
label: w(f).t("platform.screen.WorkflowWorkbenchView.processors", "办理人"),
|
|
716
716
|
value: "ASSIGNEE"
|
|
717
717
|
},
|
|
718
718
|
{
|
|
719
|
-
label:
|
|
719
|
+
label: w(f).t("platform.screen.ModuleActionManagementView.member", "成员"),
|
|
720
720
|
value: "MEMBER"
|
|
721
721
|
}
|
|
722
722
|
],
|
|
723
|
-
"onUpdate:value":
|
|
723
|
+
"onUpdate:value": r[19] ||= (e) => K("defaultGrantPolicy", e)
|
|
724
724
|
}, null, 8, [
|
|
725
725
|
"value",
|
|
726
726
|
"disabled",
|
|
727
727
|
"options"
|
|
728
728
|
])]),
|
|
729
|
-
|
|
730
|
-
value:
|
|
729
|
+
_("label", Fe, [_("span", null, C(w(f).t("platform.screen.ModuleActionManagementView.availability-expression", "可用条件表达式")), 1), y(w(s), {
|
|
730
|
+
value: w(L).availableExpression,
|
|
731
731
|
disabled: U.value,
|
|
732
|
-
"onUpdate:value":
|
|
732
|
+
"onUpdate:value": r[20] ||= (e) => K("availableExpression", e)
|
|
733
733
|
}, null, 8, ["value", "disabled"])]),
|
|
734
|
-
|
|
735
|
-
value:
|
|
734
|
+
_("label", Ie, [_("span", null, C(w(f).t("platform.screen.ModuleActionManagementView.unavailable-message", "不可用提示")), 1), y(w(s), {
|
|
735
|
+
value: w(L).unavailableMessage,
|
|
736
736
|
disabled: U.value,
|
|
737
|
-
"onUpdate:value":
|
|
737
|
+
"onUpdate:value": r[21] ||= (e) => K("unavailableMessage", e)
|
|
738
738
|
}, null, 8, ["value", "disabled"])])
|
|
739
|
-
], 32)),
|
|
739
|
+
], 32)), w(I) || w(R) !== "view" ? (x(), m(w(ie), {
|
|
740
740
|
key: 4,
|
|
741
|
-
record:
|
|
742
|
-
}, null, 8, ["record"])) :
|
|
741
|
+
record: w(L)
|
|
742
|
+
}, null, 8, ["record"])) : h("v-if", !0)]),
|
|
743
743
|
_: 1
|
|
744
744
|
}, 8, [
|
|
745
745
|
"explorer-title",
|