@ximatai/muyun-web-app 0.26.13 → 0.26.14
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-UC4rH4Fn.js → BusinessActivityLogView-BUg5WTm-.js} +1 -1
- package/dist/BusinessLogListDrawer-BOTE_7aT.js +825 -0
- package/dist/{LoginAuditLogView-Cjrp8MKX.js → LoginAuditLogView-DBNtvmIy.js} +1 -1
- package/dist/{ModuleActionManagementView-Dkb35QXc.js → ModuleActionManagementView-Bq1VO51Y.js} +165 -165
- package/dist/{ModuleGovernanceView-Dx43QvGf.js → ModuleGovernanceView-B8u4_erd.js} +3570 -2877
- package/dist/{RequestErrorLogView-WnGvMWiF.js → RequestErrorLogView-BrtH3ptj.js} +1 -1
- package/dist/{RoleDetailWorkspaceView-DPDb_QOn.js → RoleDetailWorkspaceView-6LW3tLA1.js} +276 -276
- package/dist/{RuntimeLogView-BRl4ZDkU.js → RuntimeLogView-s3X5CdHB.js} +47 -80
- package/dist/index.css +1 -1
- package/dist/index.js +400 -400
- package/dist/{moduleGovernanceWorkspaceView-4V_UW-Bt.js → moduleGovernanceWorkspaceView-BRgJbUjJ.js} +2 -2
- package/dist/{platform-components-1cvOeHmo.js → platform-components-Dt859Hbr.js} +3449 -2676
- package/dist/platform-workbench-DfqFnlm-.js +14701 -0
- package/dist/{http-B0TC0pJB.js → sse-mGbuCAax.js} +41 -11
- package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +218 -8
- package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +230 -18
- package/dist/types/dynamic-page-runtime/PageNavigatorExplorer.vue.d.ts +2 -2
- package/dist/types/dynamic-page-runtime/assistantRecordEditorPolicy.d.ts +6 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageListSession.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/composables/useRecordEditingSession.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/index.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/modulePageAssistantScope.d.ts +8 -0
- package/dist/types/dynamic-page-runtime/modulePageAssistantSurface.d.ts +6 -0
- package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +110 -5
- package/dist/types/dynamic-page-runtime/useTenantScopeController.d.ts +1 -0
- package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +8 -0
- package/dist/types/platform-components/QueryValueEditor.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordDetailFields.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordQueryListCell.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +8 -0
- package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +5 -2
- package/dist/types/platform-components/index.d.ts +4 -1
- package/dist/types/platform-components/querySettlementController.d.ts +5 -0
- package/dist/types/platform-components/recordQueryListColumnModel.d.ts +7 -0
- package/dist/types/platform-components/recordQueryListQueryController.d.ts +36 -0
- package/dist/types/platform-components/recordTreeQueryController.d.ts +18 -0
- package/dist/types/platform-components/referencePickerModel.d.ts +2 -0
- package/dist/types/platform-workbench/AssistantMarkdownContent.vue.d.ts +6 -0
- package/dist/types/platform-workbench/AssistantSelectionCard.vue.d.ts +15 -0
- package/dist/types/platform-workbench/Workbench.vue.d.ts +7 -2
- package/dist/types/platform-workbench/WorkbenchAssistantPanel.vue.d.ts +12 -0
- package/dist/types/platform-workbench/assistantMarkdown.d.ts +1 -0
- package/dist/types/platform-workbench/index.d.ts +1 -0
- package/dist/types/platform-workbench/workbenchAssistantCapabilities.d.ts +3 -0
- package/dist/types/views/BusinessLogRetentionControl.vue.d.ts +7 -0
- package/dist/types/views/businessLogClient.d.ts +3 -0
- package/dist/types/views/businessLogRetentionClient.d.ts +25 -0
- package/dist/types/views/metadataGovernanceAssistantSurface.d.ts +122 -0
- package/dist/types/views/metadataModelChangeSetClient.d.ts +36 -0
- package/dist/types/views/metadataNaming.d.ts +4 -0
- package/dist/types/views/runtimeLogSse.d.ts +3 -13
- package/dist/types/vue-ui-antdv/components/UiTextArea.vue.d.ts +2 -0
- package/dist/types/web-contracts/assistant.d.ts +59 -0
- package/dist/types/web-contracts/index.d.ts +1 -0
- package/dist/types/web-core/assistantRuntime.d.ts +77 -0
- package/dist/types/web-core/assistantSurface.d.ts +92 -0
- package/dist/types/web-core/assistantTurnClient.d.ts +8 -0
- package/dist/types/web-core/index.d.ts +4 -0
- package/dist/types/web-core/sse.d.ts +9 -0
- package/dist/{workspaceViews-CCg6V0pr.js → workspaceViews-DijY4n32.js} +554 -554
- package/package.json +1 -1
- package/dist/BusinessLogListDrawer-BtaXVJKz.js +0 -564
- package/dist/platform-workbench-Cu14Xd9d.js +0 -10299
package/dist/{ModuleActionManagementView-Dkb35QXc.js → ModuleActionManagementView-Bq1VO51Y.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as e } from "./rolldown-runtime-DPVXH0ON.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import { computed as
|
|
2
|
+
import { $t as t, At as n, Fn as ee, Jt as te, K as r, Mt as i, S as ne, Tn as re, Vt as ie, _n as a, an as o, bt as ae, cn as s, dn as c, dt as oe, fn as l, gn as u, i as se, l as ce, pn as d, v as le, vn as f } from "./platform-components-Dt859Hbr.js";
|
|
3
|
+
import { t as ue } from "./platform-workbench-DfqFnlm-.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 x, openBlock as S, ref as C, toDisplayString as w, unref as T, withCtx as E, withModifiers as D } from "vue";
|
|
5
5
|
//#region src/platform-components/staticTreeResourceModuleContext.ts
|
|
6
6
|
function de(e, t = {}) {
|
|
7
7
|
let n = t.client ?? O(t.emptyQueryScopeName);
|
|
@@ -66,26 +66,26 @@ function M() {
|
|
|
66
66
|
}
|
|
67
67
|
//#endregion
|
|
68
68
|
//#region src/views/ModuleActionManagementView.vue?vue&type=script&setup=true&lang.ts
|
|
69
|
-
var fe = { class: "action-declaration-section" }, pe = { class: "permission-governance-section" }, me = { class: "governance-grid" }, he = { class: "governance-item" },
|
|
69
|
+
var fe = { class: "action-declaration-section" }, pe = { class: "permission-governance-section" }, me = { class: "governance-grid" }, he = { class: "governance-item" }, N = {
|
|
70
70
|
type: "button",
|
|
71
71
|
class: "governance-help",
|
|
72
72
|
"aria-label": "访问方式说明"
|
|
73
|
-
},
|
|
73
|
+
}, P = { class: "governance-reset-slot" }, F = { class: "governance-item" }, I = {
|
|
74
74
|
type: "button",
|
|
75
75
|
class: "governance-help",
|
|
76
76
|
"aria-label": "默认授予策略说明"
|
|
77
|
-
},
|
|
77
|
+
}, L = { class: "governance-reset-slot" }, R = { class: "governance-item" }, ge = {
|
|
78
78
|
type: "button",
|
|
79
79
|
class: "governance-help",
|
|
80
80
|
"aria-label": "动作授权说明"
|
|
81
|
-
},
|
|
81
|
+
}, _e = { class: "governance-reset-slot" }, ve = { class: "governance-switch-control" }, ye = { class: "governance-item" }, be = {
|
|
82
82
|
type: "button",
|
|
83
83
|
class: "governance-help",
|
|
84
84
|
"aria-label": "数据授权说明"
|
|
85
|
-
},
|
|
85
|
+
}, xe = { class: "governance-reset-slot" }, Se = { class: "governance-switch-control" }, Ce = { key: 0 }, we = {
|
|
86
86
|
key: 1,
|
|
87
87
|
class: "form-hint wide-field"
|
|
88
|
-
},
|
|
88
|
+
}, Te = { class: "checkbox-field" }, Ee = { class: "checkbox-field" }, De = { class: "wide-field" }, Oe = { class: "wide-field" }, z = /*@__PURE__*/ b({
|
|
89
89
|
name: "ModuleActionManagementView",
|
|
90
90
|
__name: "ModuleActionManagementView",
|
|
91
91
|
props: {
|
|
@@ -95,11 +95,11 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
95
95
|
title: {}
|
|
96
96
|
},
|
|
97
97
|
setup(e) {
|
|
98
|
-
let
|
|
98
|
+
let f = e, b = re({ moduleAlias: "platform.module_action" }), O = de(b, { client: ee(b.http, `/platform.module/${encodeURIComponent(f.moduleAlias)}/actions`) }), k = C(""), A = C([]), j = se({
|
|
99
99
|
context: O,
|
|
100
|
-
confirmAction:
|
|
101
|
-
emptyDraft: () => q(
|
|
102
|
-
normalizeDraft: (e) => J(e,
|
|
100
|
+
confirmAction: ie,
|
|
101
|
+
emptyDraft: () => q(f.moduleAlias),
|
|
102
|
+
normalizeDraft: (e) => J(e, f.moduleAlias),
|
|
103
103
|
copyRecord: (e) => ({ ...e }),
|
|
104
104
|
titleOf: Q,
|
|
105
105
|
fallbackTitle: "模块动作",
|
|
@@ -114,16 +114,16 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
114
114
|
deleteDeniedMessage: () => "当前用户无权删除模块动作",
|
|
115
115
|
canDeleteRecord: (e) => e.systemManaged !== !0,
|
|
116
116
|
canEnableRecord: (e) => e.systemManaged !== !0
|
|
117
|
-
}), { selected: M, draft:
|
|
118
|
-
if (
|
|
119
|
-
let e = M.value ? J(M.value,
|
|
120
|
-
return JSON.stringify(
|
|
117
|
+
}), { selected: M, draft: z, mode: B, reloadKey: V, saving: H, cardTitle: ke, canCreate: Ae, canEnable: je } = j, Me = p(() => {
|
|
118
|
+
if (B.value === "view") return !1;
|
|
119
|
+
let e = M.value ? J(M.value, f.moduleAlias) : q(f.moduleAlias);
|
|
120
|
+
return JSON.stringify(z.value) !== JSON.stringify(e);
|
|
121
121
|
});
|
|
122
|
-
|
|
123
|
-
let
|
|
122
|
+
ue("模块动作", () => Me.value);
|
|
123
|
+
let Ne = p(() => Ae.value), Pe = p(() => A.value.map((e) => ({
|
|
124
124
|
value: e.executorKey,
|
|
125
125
|
label: e.description ? `${e.title} · ${e.description}` : e.title
|
|
126
|
-
}))),
|
|
126
|
+
}))), Fe = p(() => (A.value.find((e) => e.executorKey === z.value.executorKey)?.supportedLevels ?? [
|
|
127
127
|
"LIST",
|
|
128
128
|
"RECORD",
|
|
129
129
|
"BATCH",
|
|
@@ -136,34 +136,34 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
136
136
|
BATCH: "批量",
|
|
137
137
|
ANY: "任意"
|
|
138
138
|
}[e]
|
|
139
|
-
}))),
|
|
139
|
+
}))), Ie = p(() => [
|
|
140
140
|
"actionCode",
|
|
141
141
|
"title",
|
|
142
142
|
"category",
|
|
143
143
|
"actionLevel",
|
|
144
144
|
"accessMode",
|
|
145
145
|
"executorType",
|
|
146
|
-
...Z(
|
|
146
|
+
...Z(z.value.executorKey) ? ["executorKey"] : [],
|
|
147
147
|
"actionAuth",
|
|
148
148
|
"dataAuth",
|
|
149
149
|
"defaultGrantPolicy",
|
|
150
|
-
...Z(
|
|
151
|
-
...Z(
|
|
152
|
-
...
|
|
153
|
-
...Z(
|
|
154
|
-
]),
|
|
150
|
+
...Z(z.value.availableExpression) ? ["availableExpression"] : [],
|
|
151
|
+
...Z(z.value.unavailableMessage) ? ["unavailableMessage"] : [],
|
|
152
|
+
...z.value.sourceType ? ["sourceType"] : [],
|
|
153
|
+
...Z(z.value.bindingAlias) ? ["bindingAlias"] : []
|
|
154
|
+
]), Le = p(() => [
|
|
155
155
|
"actionCode",
|
|
156
156
|
"title",
|
|
157
157
|
"category",
|
|
158
158
|
"actionLevel",
|
|
159
159
|
"executorType",
|
|
160
|
-
...Z(
|
|
161
|
-
...
|
|
160
|
+
...Z(z.value.executorKey) ? ["executorKey"] : [],
|
|
161
|
+
...z.value.sourceType ? ["sourceType"] : []
|
|
162
162
|
]);
|
|
163
|
-
|
|
164
|
-
let
|
|
163
|
+
x(() => void We());
|
|
164
|
+
let Re = p(() => j.readonly.value), U = p(() => Re.value || j.saving.value), ze = p(() => {
|
|
165
165
|
if (j.mode.value !== "view") return [
|
|
166
|
-
...j.mode.value === "edit" && j.selected.value?.systemManaged === !0 &&
|
|
166
|
+
...j.mode.value === "edit" && j.selected.value?.systemManaged === !0 && He(z.value) ? [{
|
|
167
167
|
key: "reset-permission-governance",
|
|
168
168
|
actionCode: "update",
|
|
169
169
|
title: "全部重置",
|
|
@@ -197,7 +197,7 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
197
197
|
disabled: !e || e.systemManaged === !0 || !j.canDelete.value
|
|
198
198
|
}];
|
|
199
199
|
});
|
|
200
|
-
function
|
|
200
|
+
function Be(e) {
|
|
201
201
|
let t = e;
|
|
202
202
|
return {
|
|
203
203
|
title: Q(t),
|
|
@@ -206,10 +206,10 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
206
206
|
muted: t.enabled === !1
|
|
207
207
|
};
|
|
208
208
|
}
|
|
209
|
-
function
|
|
210
|
-
e.key === "edit" && j.startEdit(), e.key === "delete" && j.removeSelected(), e.key === "reset-permission-governance" &&
|
|
209
|
+
function Ve(e) {
|
|
210
|
+
e.key === "edit" && j.startEdit(), e.key === "delete" && j.removeSelected(), e.key === "reset-permission-governance" && Ue(), e.key === "cancel" && j.cancelEdit(), e.key === "save" && j.save();
|
|
211
211
|
}
|
|
212
|
-
function
|
|
212
|
+
function He(e) {
|
|
213
213
|
return [
|
|
214
214
|
e.accessModeOverride,
|
|
215
215
|
e.actionAuthOverride,
|
|
@@ -217,13 +217,13 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
217
217
|
e.defaultGrantPolicyOverride
|
|
218
218
|
].some((e) => e != null);
|
|
219
219
|
}
|
|
220
|
-
function U(e) {
|
|
221
|
-
return R.value[e] != null;
|
|
222
|
-
}
|
|
223
220
|
function W(e) {
|
|
224
|
-
|
|
221
|
+
return z.value[e] != null;
|
|
225
222
|
}
|
|
226
|
-
function
|
|
223
|
+
function G(e) {
|
|
224
|
+
K(e, void 0);
|
|
225
|
+
}
|
|
226
|
+
function Ue() {
|
|
227
227
|
j.draft.value = {
|
|
228
228
|
...j.draft.value,
|
|
229
229
|
accessModeOverride: void 0,
|
|
@@ -232,17 +232,17 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
232
232
|
defaultGrantPolicyOverride: void 0
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
|
-
function
|
|
235
|
+
function K(e, t) {
|
|
236
236
|
j.draft.value = {
|
|
237
237
|
...j.draft.value,
|
|
238
238
|
[e]: t ?? void 0
|
|
239
239
|
};
|
|
240
240
|
}
|
|
241
|
-
async function
|
|
241
|
+
async function We() {
|
|
242
242
|
try {
|
|
243
|
-
A.value = await
|
|
243
|
+
A.value = await b.http.request({ path: "/platform.module/action-executors" });
|
|
244
244
|
} catch (e) {
|
|
245
|
-
A.value = [],
|
|
245
|
+
A.value = [], i(e, {
|
|
246
246
|
source: "module-action-management",
|
|
247
247
|
phase: "load"
|
|
248
248
|
});
|
|
@@ -253,7 +253,7 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
253
253
|
}
|
|
254
254
|
function Ke(e) {
|
|
255
255
|
let t = typeof e == "string" ? e : void 0, n = A.value.find((e) => e.executorKey === t);
|
|
256
|
-
|
|
256
|
+
K("executorKey", t), n?.supportedLevels.length && K("actionLevel", n.supportedLevels[0]);
|
|
257
257
|
}
|
|
258
258
|
function q(e) {
|
|
259
259
|
return {
|
|
@@ -342,34 +342,34 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
342
342
|
}
|
|
343
343
|
}[e]?.[t] : void 0;
|
|
344
344
|
}
|
|
345
|
-
return (
|
|
345
|
+
return (ee, i) => (S(), m(T(ce), {
|
|
346
346
|
"explorer-title": "模块动作",
|
|
347
347
|
"refresh-title": "刷新动作",
|
|
348
|
-
mode: T(
|
|
349
|
-
"detail-title": T(
|
|
348
|
+
mode: T(B),
|
|
349
|
+
"detail-title": T(ke),
|
|
350
350
|
"explorer-search-keyword": k.value,
|
|
351
351
|
"explorer-search-placeholder": "搜索动作名称或编码",
|
|
352
352
|
"onUpdate:explorerSearchKeyword": i[22] ||= (e) => k.value = e,
|
|
353
|
-
onRefresh: i[23] ||= (e) =>
|
|
353
|
+
onRefresh: i[23] ||= (e) => V.value += 1
|
|
354
354
|
}, {
|
|
355
|
-
"explorer-actions": E(() => [
|
|
355
|
+
"explorer-actions": E(() => [y(T(ae), {
|
|
356
356
|
class: "record-panel-create-button",
|
|
357
357
|
context: T(O),
|
|
358
358
|
"action-code": "create",
|
|
359
359
|
title: "新建动作",
|
|
360
360
|
"icon-only": "",
|
|
361
|
-
disabled: !
|
|
361
|
+
disabled: !Ne.value || T(H),
|
|
362
362
|
onClick: Ge
|
|
363
363
|
}, null, 8, ["context", "disabled"])]),
|
|
364
|
-
explorer: E(() => [
|
|
364
|
+
explorer: E(() => [y(T(n), {
|
|
365
365
|
context: T(O),
|
|
366
366
|
"selected-id": T(M)?.id,
|
|
367
|
-
"reload-key": T(
|
|
367
|
+
"reload-key": T(V),
|
|
368
368
|
keyword: k.value,
|
|
369
369
|
"empty-description": "当前模块暂无动作",
|
|
370
370
|
"loading-tip": "加载模块动作",
|
|
371
371
|
"fallback-title": "未命名动作",
|
|
372
|
-
"item-of":
|
|
372
|
+
"item-of": Be,
|
|
373
373
|
onLoaded: i[0] ||= (e) => T(j).handleListLoaded(e),
|
|
374
374
|
onSelect: i[1] ||= (e) => T(j).handleSelect(e)
|
|
375
375
|
}, null, 8, [
|
|
@@ -378,11 +378,11 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
378
378
|
"reload-key",
|
|
379
379
|
"keyword"
|
|
380
380
|
])]),
|
|
381
|
-
"detail-status": E(() => [T(
|
|
381
|
+
"detail-status": E(() => [T(B) === "view" && T(M) ? (S(), m(T(ne), {
|
|
382
382
|
key: 0,
|
|
383
383
|
enabled: T(M).enabled,
|
|
384
|
-
disabled: T(
|
|
385
|
-
loading: T(
|
|
384
|
+
disabled: T(H) || T(M).systemManaged === !0 || !T(je),
|
|
385
|
+
loading: T(H),
|
|
386
386
|
"show-label": !1,
|
|
387
387
|
onChange: T(j).toggleEnabled
|
|
388
388
|
}, null, 8, [
|
|
@@ -390,20 +390,20 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
390
390
|
"disabled",
|
|
391
391
|
"loading",
|
|
392
392
|
"onChange"
|
|
393
|
-
])) :
|
|
394
|
-
"detail-actions": E(() => [
|
|
393
|
+
])) : h("v-if", !0)]),
|
|
394
|
+
"detail-actions": E(() => [y(T(oe), {
|
|
395
395
|
context: T(O),
|
|
396
|
-
actions:
|
|
397
|
-
onAction:
|
|
396
|
+
actions: ze.value,
|
|
397
|
+
onAction: Ve
|
|
398
398
|
}, null, 8, ["context", "actions"])]),
|
|
399
|
-
default: E(() => [!T(M) && T(
|
|
399
|
+
default: E(() => [!T(M) && T(B) === "view" ? (S(), m(T(te), {
|
|
400
400
|
key: 0,
|
|
401
401
|
description: e.moduleKind === "static" ? "静态模块动作由 Java 声明自动注册" : "当前模块暂无动作"
|
|
402
|
-
}, null, 8, ["description"])) : T(
|
|
402
|
+
}, null, 8, ["description"])) : T(B) === "view" && T(M) ? (S(), m(T(r), {
|
|
403
403
|
key: 1,
|
|
404
|
-
record: T(
|
|
404
|
+
record: T(z),
|
|
405
405
|
"display-of": $,
|
|
406
|
-
"field-names":
|
|
406
|
+
"field-names": Ie.value,
|
|
407
407
|
fallback: {
|
|
408
408
|
actionCode: { label: "动作编码" },
|
|
409
409
|
title: { label: "动作名称" },
|
|
@@ -420,14 +420,14 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
420
420
|
sourceType: { label: "注册来源" },
|
|
421
421
|
bindingAlias: { label: "绑定标识" }
|
|
422
422
|
}
|
|
423
|
-
}, null, 8, ["record", "field-names"])) : T(
|
|
423
|
+
}, null, 8, ["record", "field-names"])) : T(B) !== "create" && T(M)?.systemManaged ? (S(), g("form", {
|
|
424
424
|
key: 2,
|
|
425
425
|
class: "managed-action-editor",
|
|
426
426
|
onSubmit: i[10] ||= D((...e) => T(j).save && T(j).save(...e), ["prevent"])
|
|
427
|
-
}, [
|
|
428
|
-
record: T(
|
|
427
|
+
}, [_("section", fe, [i[24] ||= _("h3", null, "动作声明", -1), y(T(r), {
|
|
428
|
+
record: T(z),
|
|
429
429
|
"display-of": $,
|
|
430
|
-
"field-names":
|
|
430
|
+
"field-names": Le.value,
|
|
431
431
|
fallback: {
|
|
432
432
|
actionCode: { label: "动作编码" },
|
|
433
433
|
title: { label: "动作名称" },
|
|
@@ -437,22 +437,22 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
437
437
|
executorKey: { label: "执行实现" },
|
|
438
438
|
sourceType: { label: "注册来源" }
|
|
439
439
|
}
|
|
440
|
-
}, null, 8, ["record", "field-names"])]),
|
|
441
|
-
|
|
442
|
-
default: E(() => [
|
|
440
|
+
}, null, 8, ["record", "field-names"])]), _("section", pe, [i[33] ||= _("h3", null, "权限治理", -1), _("div", me, [
|
|
441
|
+
_("section", he, [_("header", null, [_("div", null, [_("h4", null, [i[25] ||= v(" 访问方式 ", -1), y(T(o), { title: "决定调用动作前需要满足的身份条件。" }, {
|
|
442
|
+
default: E(() => [_("button", N, [y(T(a), { name: "help" })])]),
|
|
443
443
|
_: 1
|
|
444
|
-
})])]),
|
|
444
|
+
})])]), _("span", P, [W("accessModeOverride") ? (S(), m(T(u), {
|
|
445
445
|
key: 0,
|
|
446
446
|
type: "text",
|
|
447
447
|
size: "small",
|
|
448
|
-
disabled:
|
|
449
|
-
onClick: i[2] ||= (e) =>
|
|
448
|
+
disabled: U.value,
|
|
449
|
+
onClick: i[2] ||= (e) => G("accessModeOverride")
|
|
450
450
|
}, {
|
|
451
|
-
default: E(() => [...i[26] ||= [
|
|
451
|
+
default: E(() => [...i[26] ||= [v("重置", -1)]]),
|
|
452
452
|
_: 1
|
|
453
|
-
}, 8, ["disabled"])) :
|
|
454
|
-
value: T(
|
|
455
|
-
disabled:
|
|
453
|
+
}, 8, ["disabled"])) : h("v-if", !0)])]), y(T(l), {
|
|
454
|
+
value: T(z).accessModeOverride ?? T(z).accessMode,
|
|
455
|
+
disabled: U.value,
|
|
456
456
|
options: [
|
|
457
457
|
{
|
|
458
458
|
label: "需要授权",
|
|
@@ -467,23 +467,23 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
467
467
|
value: "ANONYMOUS_ALLOWED"
|
|
468
468
|
}
|
|
469
469
|
],
|
|
470
|
-
"onUpdate:value": i[3] ||= (e) =>
|
|
470
|
+
"onUpdate:value": i[3] ||= (e) => K("accessModeOverride", e)
|
|
471
471
|
}, null, 8, ["value", "disabled"])]),
|
|
472
|
-
|
|
473
|
-
default: E(() => [
|
|
472
|
+
_("section", F, [_("header", null, [_("div", null, [_("h4", null, [i[27] ||= v(" 默认授予策略 ", -1), y(T(o), { title: "定义满足条件的用户首次获得动作时的默认规则。" }, {
|
|
473
|
+
default: E(() => [_("button", I, [y(T(a), { name: "help" })])]),
|
|
474
474
|
_: 1
|
|
475
|
-
})])]),
|
|
475
|
+
})])]), _("span", L, [W("defaultGrantPolicyOverride") ? (S(), m(T(u), {
|
|
476
476
|
key: 0,
|
|
477
477
|
type: "text",
|
|
478
478
|
size: "small",
|
|
479
|
-
disabled:
|
|
480
|
-
onClick: i[4] ||= (e) =>
|
|
479
|
+
disabled: U.value,
|
|
480
|
+
onClick: i[4] ||= (e) => G("defaultGrantPolicyOverride")
|
|
481
481
|
}, {
|
|
482
|
-
default: E(() => [...i[28] ||= [
|
|
482
|
+
default: E(() => [...i[28] ||= [v("重置", -1)]]),
|
|
483
483
|
_: 1
|
|
484
|
-
}, 8, ["disabled"])) :
|
|
485
|
-
value: T(
|
|
486
|
-
disabled:
|
|
484
|
+
}, 8, ["disabled"])) : h("v-if", !0)])]), y(T(l), {
|
|
485
|
+
value: T(z).defaultGrantPolicyOverride ?? T(z).defaultGrantPolicy,
|
|
486
|
+
disabled: U.value,
|
|
487
487
|
options: [
|
|
488
488
|
{
|
|
489
489
|
label: "不默认授予",
|
|
@@ -506,75 +506,75 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
506
506
|
value: "MEMBER"
|
|
507
507
|
}
|
|
508
508
|
],
|
|
509
|
-
"onUpdate:value": i[5] ||= (e) =>
|
|
509
|
+
"onUpdate:value": i[5] ||= (e) => K("defaultGrantPolicyOverride", e)
|
|
510
510
|
}, null, 8, ["value", "disabled"])]),
|
|
511
|
-
|
|
512
|
-
default: E(() => [
|
|
511
|
+
_("section", R, [_("header", null, [_("div", null, [_("h4", null, [i[29] ||= v(" 动作授权 ", -1), y(T(o), { title: "控制角色是否需要被显式授予该动作。" }, {
|
|
512
|
+
default: E(() => [_("button", ge, [y(T(a), { name: "help" })])]),
|
|
513
513
|
_: 1
|
|
514
|
-
})])]),
|
|
514
|
+
})])]), _("span", _e, [W("actionAuthOverride") ? (S(), m(T(u), {
|
|
515
515
|
key: 0,
|
|
516
516
|
type: "text",
|
|
517
517
|
size: "small",
|
|
518
|
-
disabled:
|
|
519
|
-
onClick: i[6] ||= (e) =>
|
|
518
|
+
disabled: U.value,
|
|
519
|
+
onClick: i[6] ||= (e) => G("actionAuthOverride")
|
|
520
520
|
}, {
|
|
521
|
-
default: E(() => [...i[30] ||= [
|
|
521
|
+
default: E(() => [...i[30] ||= [v("重置", -1)]]),
|
|
522
522
|
_: 1
|
|
523
|
-
}, 8, ["disabled"])) :
|
|
524
|
-
checked: (T(
|
|
525
|
-
disabled:
|
|
523
|
+
}, 8, ["disabled"])) : h("v-if", !0)])]), _("div", ve, [y(T(t), {
|
|
524
|
+
checked: (T(z).actionAuthOverride ?? T(z).actionAuth) !== !1,
|
|
525
|
+
disabled: U.value,
|
|
526
526
|
"checked-text": "开",
|
|
527
527
|
"unchecked-text": "关",
|
|
528
|
-
"onUpdate:checked": i[7] ||= (e) =>
|
|
529
|
-
}, null, 8, ["checked", "disabled"]),
|
|
530
|
-
|
|
531
|
-
default: E(() => [
|
|
528
|
+
"onUpdate:checked": i[7] ||= (e) => K("actionAuthOverride", e)
|
|
529
|
+
}, null, 8, ["checked", "disabled"]), _("strong", null, w((T(z).actionAuthOverride ?? T(z).actionAuth) === !1 ? "未启用" : "已启用"), 1)])]),
|
|
530
|
+
_("section", ye, [_("header", null, [_("div", null, [_("h4", null, [i[31] ||= v(" 数据授权 ", -1), y(T(o), { title: "启用后,读取和执行会继续按数据范围校验。" }, {
|
|
531
|
+
default: E(() => [_("button", be, [y(T(a), { name: "help" })])]),
|
|
532
532
|
_: 1
|
|
533
|
-
})])]),
|
|
533
|
+
})])]), _("span", xe, [W("dataAuthOverride") ? (S(), m(T(u), {
|
|
534
534
|
key: 0,
|
|
535
535
|
type: "text",
|
|
536
536
|
size: "small",
|
|
537
|
-
disabled:
|
|
538
|
-
onClick: i[8] ||= (e) =>
|
|
537
|
+
disabled: U.value,
|
|
538
|
+
onClick: i[8] ||= (e) => G("dataAuthOverride")
|
|
539
539
|
}, {
|
|
540
|
-
default: E(() => [...i[32] ||= [
|
|
540
|
+
default: E(() => [...i[32] ||= [v("重置", -1)]]),
|
|
541
541
|
_: 1
|
|
542
|
-
}, 8, ["disabled"])) :
|
|
543
|
-
checked: (T(
|
|
544
|
-
disabled:
|
|
542
|
+
}, 8, ["disabled"])) : h("v-if", !0)])]), _("div", Se, [y(T(t), {
|
|
543
|
+
checked: (T(z).dataAuthOverride ?? T(z).dataAuth) === !0,
|
|
544
|
+
disabled: U.value,
|
|
545
545
|
"checked-text": "开",
|
|
546
546
|
"unchecked-text": "关",
|
|
547
|
-
"onUpdate:checked": i[9] ||= (e) =>
|
|
548
|
-
}, null, 8, ["checked", "disabled"]),
|
|
549
|
-
])])], 32)) : (S(),
|
|
547
|
+
"onUpdate:checked": i[9] ||= (e) => K("dataAuthOverride", e)
|
|
548
|
+
}, null, 8, ["checked", "disabled"]), _("strong", null, w((T(z).dataAuthOverride ?? T(z).dataAuth) === !0 ? "已启用" : "未启用"), 1)])])
|
|
549
|
+
])])], 32)) : (S(), g("form", {
|
|
550
550
|
key: 3,
|
|
551
551
|
class: "static-record-form",
|
|
552
552
|
onSubmit: i[21] ||= D((...e) => T(j).save && T(j).save(...e), ["prevent"])
|
|
553
553
|
}, [
|
|
554
|
-
i[44] ||=
|
|
555
|
-
|
|
556
|
-
value: T(
|
|
557
|
-
disabled:
|
|
558
|
-
"onUpdate:value": i[11] ||= (e) =>
|
|
554
|
+
i[44] ||= _("p", { class: "form-hint wide-field" }, " 可以先保存动作,再绑定执行能力。待绑定动作不可执行,页面引用后需完成绑定才能发布。 ", -1),
|
|
555
|
+
_("label", null, [i[34] ||= _("span", null, "动作编码", -1), y(T(c), {
|
|
556
|
+
value: T(z).actionCode,
|
|
557
|
+
disabled: U.value,
|
|
558
|
+
"onUpdate:value": i[11] ||= (e) => K("actionCode", e)
|
|
559
559
|
}, null, 8, ["value", "disabled"])]),
|
|
560
|
-
|
|
561
|
-
value: T(
|
|
562
|
-
disabled:
|
|
563
|
-
"onUpdate:value": i[12] ||= (e) =>
|
|
560
|
+
_("label", null, [i[35] ||= _("span", null, "动作名称", -1), y(T(c), {
|
|
561
|
+
value: T(z).title,
|
|
562
|
+
disabled: U.value,
|
|
563
|
+
"onUpdate:value": i[12] ||= (e) => K("title", e)
|
|
564
564
|
}, null, 8, ["value", "disabled"])]),
|
|
565
|
-
|
|
566
|
-
value: T(
|
|
567
|
-
disabled:
|
|
568
|
-
options:
|
|
569
|
-
"onUpdate:value": i[13] ||= (e) =>
|
|
565
|
+
_("label", null, [i[36] ||= _("span", null, "执行层级", -1), y(T(l), {
|
|
566
|
+
value: T(z).actionLevel,
|
|
567
|
+
disabled: U.value,
|
|
568
|
+
options: Fe.value,
|
|
569
|
+
"onUpdate:value": i[13] ||= (e) => K("actionLevel", e)
|
|
570
570
|
}, null, 8, [
|
|
571
571
|
"value",
|
|
572
572
|
"disabled",
|
|
573
573
|
"options"
|
|
574
574
|
])]),
|
|
575
|
-
|
|
576
|
-
value: T(
|
|
577
|
-
disabled:
|
|
575
|
+
_("label", null, [i[37] ||= _("span", null, "访问方式", -1), y(T(l), {
|
|
576
|
+
value: T(z).accessMode,
|
|
577
|
+
disabled: U.value,
|
|
578
578
|
options: [
|
|
579
579
|
{
|
|
580
580
|
label: "需要授权",
|
|
@@ -589,40 +589,40 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
589
589
|
value: "ANONYMOUS_ALLOWED"
|
|
590
590
|
}
|
|
591
591
|
],
|
|
592
|
-
"onUpdate:value": i[14] ||= (e) =>
|
|
592
|
+
"onUpdate:value": i[14] ||= (e) => K("accessMode", e)
|
|
593
593
|
}, null, 8, ["value", "disabled"])]),
|
|
594
|
-
e.moduleKind === "dynamic" ? (S(),
|
|
595
|
-
value: T(
|
|
594
|
+
e.moduleKind === "dynamic" ? (S(), g("label", Ce, [i[38] ||= _("span", null, "执行能力(可稍后绑定)", -1), y(T(l), {
|
|
595
|
+
value: T(z).executorKey,
|
|
596
596
|
"allow-clear": "",
|
|
597
597
|
placeholder: "待绑定",
|
|
598
|
-
disabled:
|
|
599
|
-
options:
|
|
598
|
+
disabled: U.value,
|
|
599
|
+
options: Pe.value,
|
|
600
600
|
"onUpdate:value": i[15] ||= (e) => Ke(e)
|
|
601
601
|
}, null, 8, [
|
|
602
602
|
"value",
|
|
603
603
|
"disabled",
|
|
604
604
|
"options"
|
|
605
|
-
])])) :
|
|
606
|
-
e.moduleKind === "dynamic" ?
|
|
607
|
-
|
|
608
|
-
checked: T(
|
|
609
|
-
disabled:
|
|
610
|
-
"onUpdate:checked": i[16] ||= (e) =>
|
|
605
|
+
])])) : h("v-if", !0),
|
|
606
|
+
e.moduleKind === "dynamic" ? h("v-if", !0) : (S(), g("p", we, " 静态模块通过同编码的代码动作声明绑定执行能力。 ")),
|
|
607
|
+
_("label", Te, [y(T(d), {
|
|
608
|
+
checked: T(z).actionAuth !== !1,
|
|
609
|
+
disabled: U.value,
|
|
610
|
+
"onUpdate:checked": i[16] ||= (e) => K("actionAuth", e)
|
|
611
611
|
}, {
|
|
612
|
-
default: E(() => [...i[39] ||= [
|
|
612
|
+
default: E(() => [...i[39] ||= [v("启用动作授权", -1)]]),
|
|
613
613
|
_: 1
|
|
614
614
|
}, 8, ["checked", "disabled"])]),
|
|
615
|
-
|
|
616
|
-
checked: T(
|
|
617
|
-
disabled:
|
|
618
|
-
"onUpdate:checked": i[17] ||= (e) =>
|
|
615
|
+
_("label", Ee, [y(T(d), {
|
|
616
|
+
checked: T(z).dataAuth === !0,
|
|
617
|
+
disabled: U.value,
|
|
618
|
+
"onUpdate:checked": i[17] ||= (e) => K("dataAuth", e)
|
|
619
619
|
}, {
|
|
620
|
-
default: E(() => [...i[40] ||= [
|
|
620
|
+
default: E(() => [...i[40] ||= [v("启用数据授权", -1)]]),
|
|
621
621
|
_: 1
|
|
622
622
|
}, 8, ["checked", "disabled"])]),
|
|
623
|
-
|
|
624
|
-
value: T(
|
|
625
|
-
disabled:
|
|
623
|
+
_("label", null, [i[41] ||= _("span", null, "默认授予策略", -1), y(T(l), {
|
|
624
|
+
value: T(z).defaultGrantPolicy,
|
|
625
|
+
disabled: U.value,
|
|
626
626
|
options: [
|
|
627
627
|
{
|
|
628
628
|
label: "不默认授予",
|
|
@@ -645,22 +645,22 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
645
645
|
value: "MEMBER"
|
|
646
646
|
}
|
|
647
647
|
],
|
|
648
|
-
"onUpdate:value": i[18] ||= (e) =>
|
|
648
|
+
"onUpdate:value": i[18] ||= (e) => K("defaultGrantPolicy", e)
|
|
649
649
|
}, null, 8, ["value", "disabled"])]),
|
|
650
|
-
|
|
651
|
-
value: T(
|
|
652
|
-
disabled:
|
|
653
|
-
"onUpdate:value": i[19] ||= (e) =>
|
|
650
|
+
_("label", De, [i[42] ||= _("span", null, "可用条件表达式", -1), y(T(s), {
|
|
651
|
+
value: T(z).availableExpression,
|
|
652
|
+
disabled: U.value,
|
|
653
|
+
"onUpdate:value": i[19] ||= (e) => K("availableExpression", e)
|
|
654
654
|
}, null, 8, ["value", "disabled"])]),
|
|
655
|
-
|
|
656
|
-
value: T(
|
|
657
|
-
disabled:
|
|
658
|
-
"onUpdate:value": i[20] ||= (e) =>
|
|
655
|
+
_("label", Oe, [i[43] ||= _("span", null, "不可用提示", -1), y(T(s), {
|
|
656
|
+
value: T(z).unavailableMessage,
|
|
657
|
+
disabled: U.value,
|
|
658
|
+
"onUpdate:value": i[20] ||= (e) => K("unavailableMessage", e)
|
|
659
659
|
}, null, 8, ["value", "disabled"])])
|
|
660
|
-
], 32)), T(M) || T(
|
|
660
|
+
], 32)), T(M) || T(B) !== "view" ? (S(), m(T(le), {
|
|
661
661
|
key: 4,
|
|
662
|
-
record: T(
|
|
663
|
-
}, null, 8, ["record"])) :
|
|
662
|
+
record: T(z)
|
|
663
|
+
}, null, 8, ["record"])) : h("v-if", !0)]),
|
|
664
664
|
_: 1
|
|
665
665
|
}, 8, [
|
|
666
666
|
"mode",
|
|
@@ -668,6 +668,6 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
668
668
|
"explorer-search-keyword"
|
|
669
669
|
]));
|
|
670
670
|
}
|
|
671
|
-
}),
|
|
671
|
+
}), B = /* @__PURE__ */ e({ default: () => V }), V = /*#__PURE__*/ f(z, [["__scopeId", "data-v-68b1667d"]]);
|
|
672
672
|
//#endregion
|
|
673
|
-
export {
|
|
673
|
+
export { B as n, V as t };
|