@ximatai/muyun-web-app 0.26.12 → 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-BUg5WTm-.js +16 -0
- package/dist/BusinessLogListDrawer-BOTE_7aT.js +825 -0
- package/dist/LoginAuditLogView-DBNtvmIy.js +16 -0
- package/dist/{ModuleActionManagementView-BHEooZ5L.js → ModuleActionManagementView-Bq1VO51Y.js} +207 -206
- package/dist/{ModuleGovernanceView-DB3TWlMy.js → ModuleGovernanceView-B8u4_erd.js} +4036 -3213
- package/dist/RequestErrorLogView-BrtH3ptj.js +16 -0
- package/dist/RoleDetailWorkspaceView-6LW3tLA1.js +1397 -0
- package/dist/RuntimeLogView-s3X5CdHB.js +297 -0
- package/dist/index.css +1 -1
- package/dist/index.js +499 -469
- package/dist/{moduleGovernanceWorkspaceView-C5pqJOEJ.js → moduleGovernanceWorkspaceView-BRgJbUjJ.js} +2 -2
- package/dist/platform-components-Dt859Hbr.js +18627 -0
- package/dist/platform-workbench-DfqFnlm-.js +14701 -0
- package/dist/sse-mGbuCAax.js +187 -0
- package/dist/types/consumer/index.d.ts +7 -0
- package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +2418 -0
- package/dist/types/dynamic-page-runtime/ModulePageBusinessState.vue.d.ts +11 -0
- package/dist/types/dynamic-page-runtime/ModulePageHost.vue.d.ts +20 -4
- package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +4643 -0
- package/dist/types/dynamic-page-runtime/ModulePageHostSession.vue.d.ts +43 -0
- package/dist/types/dynamic-page-runtime/ModulePageRecordContent.vue.d.ts +2 -2
- package/dist/types/dynamic-page-runtime/ModuleRecordDetailActions.vue.d.ts +3 -0
- package/dist/types/dynamic-page-runtime/ModuleReferenceRecordDetailBrowser.vue.d.ts +42 -0
- package/dist/types/dynamic-page-runtime/PageNavigatorExplorer.vue.d.ts +2 -2
- package/dist/types/dynamic-page-runtime/RecordFormSurface.vue.d.ts +2 -2
- package/dist/types/dynamic-page-runtime/TenantScopeExplorer.vue.d.ts +21 -0
- package/dist/types/dynamic-page-runtime/assistantRecordEditorPolicy.d.ts +6 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageActions.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/composables/useModulePageDetailActionRuntime.d.ts +5 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageListSession.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/composables/useRecordEditingSession.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/formActionResult.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/index.d.ts +3 -0
- package/dist/types/dynamic-page-runtime/inputValidationActionStatus.d.ts +20 -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/modulePageEnhancements.d.ts +7 -3
- package/dist/types/dynamic-page-runtime/modulePageUnsavedState.d.ts +10 -0
- package/dist/types/dynamic-page-runtime/recordDetailController.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/recordMutationPayload.d.ts +3 -2
- package/dist/types/dynamic-page-runtime/referenceRecordProjection.d.ts +6 -0
- package/dist/types/dynamic-page-runtime/sessionViewBindings.d.ts +3 -0
- package/dist/types/dynamic-page-runtime/sourceReferencePickerConfig.d.ts +26 -0
- package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +1833 -0
- package/dist/types/dynamic-page-runtime/useTenantScopeController.d.ts +19 -0
- package/dist/types/platform-admin-runtime/WorkspaceViewDrawer.vue.d.ts +5 -0
- package/dist/types/platform-admin-runtime/role/roleScopeSelectionClient.d.ts +52 -0
- package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +13 -2
- package/dist/types/platform-components/DictionaryOptionDialog.vue.d.ts +37 -0
- package/dist/types/platform-components/DictionaryOptionDialogChoiceList.vue.d.ts +21 -0
- package/dist/types/platform-components/DictionaryPicker.vue.d.ts +47 -0
- package/dist/types/platform-components/DictionaryRadioGroup.vue.d.ts +20 -0
- package/dist/types/platform-components/EmployeePicker.vue.d.ts +40 -0
- package/dist/types/platform-components/FileTransferUploader.vue.d.ts +1 -1
- package/dist/types/platform-components/ObjectPickerInput.vue.d.ts +34 -0
- package/dist/types/platform-components/QueryCriteriaComposer.vue.d.ts +29 -0
- package/dist/types/platform-components/QueryCriteriaGroupEditor.vue.d.ts +36 -0
- package/dist/types/platform-components/QueryValueEditor.vue.d.ts +33 -0
- package/dist/types/platform-components/ReadonlyReferenceValue.vue.d.ts +11 -0
- package/dist/types/platform-components/RecordContentSectionHeading.vue.d.ts +4 -2
- package/dist/types/platform-components/RecordDetailDrawer.vue.d.ts +8 -3
- package/dist/types/platform-components/RecordDetailExtensionSection.vue.d.ts +7 -3
- package/dist/types/platform-components/RecordDetailFields.vue.d.ts +4 -6
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +6 -6
- package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +11 -3
- package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +2 -2
- package/dist/types/platform-components/RecordPicker.vue.d.ts +2 -2
- package/dist/types/platform-components/RecordQueryListCell.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +26 -4
- package/dist/types/platform-components/RecordQueryListSurface.vue.d.ts +20 -0
- package/dist/types/platform-components/ReferencePicker.vue.d.ts +47 -0
- package/dist/types/platform-components/ReferenceRecordDetailBrowser.vue.d.ts +55 -0
- package/dist/types/platform-components/ScopedTreePicker.vue.d.ts +31 -0
- package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +5 -2
- package/dist/types/platform-components/UserPicker.vue.d.ts +47 -0
- package/dist/types/platform-components/dictionaryOptionDialogModel.d.ts +23 -0
- package/dist/types/platform-components/employeePickerModel.d.ts +19 -0
- package/dist/types/platform-components/identityPickerModel.d.ts +18 -0
- package/dist/types/platform-components/index.d.ts +32 -2
- package/dist/types/platform-components/optionFieldOptionCache.d.ts +1 -1
- package/dist/types/platform-components/queryCriteriaDraft.d.ts +24 -0
- package/dist/types/platform-components/queryReferencePickerProvider.d.ts +19 -0
- package/dist/types/platform-components/querySettlementController.d.ts +5 -0
- package/dist/types/platform-components/readonlyReferenceDisplay.d.ts +19 -0
- package/dist/types/platform-components/recordEditorSessionState.d.ts +11 -4
- package/dist/types/platform-components/recordFormFieldModel.d.ts +28 -2
- package/dist/types/platform-components/recordQueryListColumnModel.d.ts +10 -1
- 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 +105 -0
- package/dist/types/platform-components/referencePickerReadError.d.ts +24 -0
- package/dist/types/platform-components/referenceRecordDetailBrowser.d.ts +48 -0
- package/dist/types/platform-components/scopedTreePickerModel.d.ts +46 -0
- package/dist/types/platform-components/sourceReferencePickerProvider.d.ts +26 -0
- package/dist/types/platform-components/staticCrudManagementState.d.ts +7 -6
- package/dist/types/platform-components/userPickerModel.d.ts +45 -0
- package/dist/types/platform-components/userReferencePicker.d.ts +17 -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/useWorkspaceViewUnsavedState.d.ts +1 -1
- package/dist/types/platform-workbench/workbenchAssistantCapabilities.d.ts +3 -0
- package/dist/types/platform-workbench/workspaceViewHost.d.ts +1 -1
- package/dist/types/platform-workbench/workspaceViewUnsavedState.d.ts +3 -1
- package/dist/types/views/BusinessActivityLogView.vue.d.ts +3 -0
- package/dist/types/views/BusinessLogListDrawer.vue.d.ts +9 -0
- package/dist/types/views/BusinessLogRetentionControl.vue.d.ts +7 -0
- package/dist/types/views/LoginAuditLogView.vue.d.ts +3 -0
- package/dist/types/views/RequestErrorLogView.vue.d.ts +3 -0
- package/dist/types/views/RuntimeLogView.vue.d.ts +3 -0
- package/dist/types/views/businessLogClient.d.ts +88 -0
- package/dist/types/views/businessLogRetentionClient.d.ts +25 -0
- package/dist/types/views/dictionaryRadioEligibility.d.ts +18 -0
- package/dist/types/views/dictionaryRadioFactRequestEpoch.d.ts +10 -0
- package/dist/types/views/metadataGovernanceAssistantSurface.d.ts +122 -0
- package/dist/types/views/metadataModelChangeSetClient.d.ts +36 -0
- package/dist/types/views/metadataModelEditSession.d.ts +10 -1
- package/dist/types/views/metadataNaming.d.ts +4 -0
- package/dist/types/views/pageCompositionDraftState.d.ts +29 -0
- package/dist/types/views/roleDetailWorkspaceSession.d.ts +1 -0
- package/dist/types/views/roleGrantClient.d.ts +0 -1
- package/dist/types/views/runtimeLogClient.d.ts +12 -0
- package/dist/types/views/runtimeLogSse.d.ts +3 -0
- package/dist/types/vue-ui-antdv/components/UiDataTable.vue.d.ts +15 -0
- package/dist/types/vue-ui-antdv/components/UiSearchInput.vue.d.ts +16 -2
- package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +23 -1
- package/dist/types/vue-ui-antdv/components/UiSidePanel.vue.d.ts +9 -2
- package/dist/types/vue-ui-antdv/components/UiTextArea.vue.d.ts +2 -0
- package/dist/types/vue-ui-antdv/components/UiTree.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiTreeSelect.vue.d.ts +23 -1
- package/dist/types/vue-ui-antdv/drawerDismissal.d.ts +18 -0
- package/dist/types/vue-ui-antdv/drawerWidth.d.ts +22 -0
- package/dist/types/vue-ui-antdv/index.d.ts +4 -0
- package/dist/types/web-contracts/assistant.d.ts +59 -0
- package/dist/types/web-contracts/index.d.ts +67 -6
- 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/http.d.ts +2 -0
- package/dist/types/web-core/index.d.ts +4 -0
- package/dist/types/web-core/module/moduleContext.d.ts +15 -2
- package/dist/types/web-core/module/runtimeContext.d.ts +3 -2
- package/dist/types/web-core/module/staticModuleClient.d.ts +5 -1
- package/dist/types/web-core/sse.d.ts +9 -0
- package/dist/{workspaceViews-DI_1vYX9.js → workspaceViews-DijY4n32.js} +1190 -1085
- package/package.json +1 -1
- package/dist/RoleDetailWorkspaceView-D6X7pAj5.js +0 -1379
- package/dist/platform-workbench-DJj42YQP.js +0 -22911
package/dist/{ModuleActionManagementView-BHEooZ5L.js → ModuleActionManagementView-Bq1VO51Y.js}
RENAMED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { n as e } from "./rolldown-runtime-DPVXH0ON.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
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";
|
|
4
5
|
//#region src/platform-components/staticTreeResourceModuleContext.ts
|
|
5
|
-
function
|
|
6
|
-
let n = t.client ??
|
|
6
|
+
function de(e, t = {}) {
|
|
7
|
+
let n = t.client ?? O(t.emptyQueryScopeName);
|
|
7
8
|
return {
|
|
8
9
|
...e,
|
|
9
10
|
crud: n,
|
|
@@ -18,23 +19,23 @@ function pe(e, t = {}) {
|
|
|
18
19
|
}
|
|
19
20
|
};
|
|
20
21
|
}
|
|
21
|
-
function
|
|
22
|
+
function O(e = "static.empty") {
|
|
22
23
|
return {
|
|
23
|
-
querySchema: async () =>
|
|
24
|
-
query: async () =>
|
|
24
|
+
querySchema: async () => k(e),
|
|
25
|
+
query: async () => A(),
|
|
25
26
|
view: async () => ({}),
|
|
26
27
|
insert: async (e) => ({ record: e }),
|
|
27
28
|
update: async (e, t) => ({ record: t }),
|
|
28
29
|
delete: async () => 0,
|
|
29
30
|
enable: async () => 0,
|
|
30
31
|
disable: async () => 0,
|
|
31
|
-
tree: async () =>
|
|
32
|
-
treeFlat: async () =>
|
|
33
|
-
subtree: async () =>
|
|
32
|
+
tree: async () => j(),
|
|
33
|
+
treeFlat: async () => M(),
|
|
34
|
+
subtree: async () => j(),
|
|
34
35
|
sort: async () => 0
|
|
35
36
|
};
|
|
36
37
|
}
|
|
37
|
-
function
|
|
38
|
+
function k(e) {
|
|
38
39
|
return {
|
|
39
40
|
scopeName: e,
|
|
40
41
|
quickSearch: {
|
|
@@ -47,7 +48,7 @@ function D(e) {
|
|
|
47
48
|
defaultSorts: []
|
|
48
49
|
};
|
|
49
50
|
}
|
|
50
|
-
function
|
|
51
|
+
function A() {
|
|
51
52
|
return {
|
|
52
53
|
records: [],
|
|
53
54
|
total: 0,
|
|
@@ -57,34 +58,34 @@ function O() {
|
|
|
57
58
|
totalKnown: !0
|
|
58
59
|
};
|
|
59
60
|
}
|
|
60
|
-
function
|
|
61
|
+
function j() {
|
|
61
62
|
return { records: [] };
|
|
62
63
|
}
|
|
63
|
-
function
|
|
64
|
+
function M() {
|
|
64
65
|
return { records: [] };
|
|
65
66
|
}
|
|
66
67
|
//#endregion
|
|
67
68
|
//#region src/views/ModuleActionManagementView.vue?vue&type=script&setup=true&lang.ts
|
|
68
|
-
var
|
|
69
|
+
var fe = { class: "action-declaration-section" }, pe = { class: "permission-governance-section" }, me = { class: "governance-grid" }, he = { class: "governance-item" }, N = {
|
|
69
70
|
type: "button",
|
|
70
71
|
class: "governance-help",
|
|
71
72
|
"aria-label": "访问方式说明"
|
|
72
|
-
},
|
|
73
|
+
}, P = { class: "governance-reset-slot" }, F = { class: "governance-item" }, I = {
|
|
73
74
|
type: "button",
|
|
74
75
|
class: "governance-help",
|
|
75
76
|
"aria-label": "默认授予策略说明"
|
|
76
|
-
},
|
|
77
|
+
}, L = { class: "governance-reset-slot" }, R = { class: "governance-item" }, ge = {
|
|
77
78
|
type: "button",
|
|
78
79
|
class: "governance-help",
|
|
79
80
|
"aria-label": "动作授权说明"
|
|
80
|
-
},
|
|
81
|
+
}, _e = { class: "governance-reset-slot" }, ve = { class: "governance-switch-control" }, ye = { class: "governance-item" }, be = {
|
|
81
82
|
type: "button",
|
|
82
83
|
class: "governance-help",
|
|
83
84
|
"aria-label": "数据授权说明"
|
|
84
|
-
},
|
|
85
|
+
}, xe = { class: "governance-reset-slot" }, Se = { class: "governance-switch-control" }, Ce = { key: 0 }, we = {
|
|
85
86
|
key: 1,
|
|
86
87
|
class: "form-hint wide-field"
|
|
87
|
-
},
|
|
88
|
+
}, Te = { class: "checkbox-field" }, Ee = { class: "checkbox-field" }, De = { class: "wide-field" }, Oe = { class: "wide-field" }, z = /*@__PURE__*/ b({
|
|
88
89
|
name: "ModuleActionManagementView",
|
|
89
90
|
__name: "ModuleActionManagementView",
|
|
90
91
|
props: {
|
|
@@ -94,11 +95,11 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
|
|
|
94
95
|
title: {}
|
|
95
96
|
},
|
|
96
97
|
setup(e) {
|
|
97
|
-
let
|
|
98
|
-
context:
|
|
99
|
-
confirmAction:
|
|
100
|
-
emptyDraft: () => q(
|
|
101
|
-
normalizeDraft: (e) => J(e,
|
|
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
|
+
context: O,
|
|
100
|
+
confirmAction: ie,
|
|
101
|
+
emptyDraft: () => q(f.moduleAlias),
|
|
102
|
+
normalizeDraft: (e) => J(e, f.moduleAlias),
|
|
102
103
|
copyRecord: (e) => ({ ...e }),
|
|
103
104
|
titleOf: Q,
|
|
104
105
|
fallbackTitle: "模块动作",
|
|
@@ -113,16 +114,16 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
|
|
|
113
114
|
deleteDeniedMessage: () => "当前用户无权删除模块动作",
|
|
114
115
|
canDeleteRecord: (e) => e.systemManaged !== !0,
|
|
115
116
|
canEnableRecord: (e) => e.systemManaged !== !0
|
|
116
|
-
}), { selected:
|
|
117
|
-
if (
|
|
118
|
-
let e =
|
|
119
|
-
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);
|
|
120
121
|
});
|
|
121
|
-
ue("模块动作", () =>
|
|
122
|
-
let
|
|
122
|
+
ue("模块动作", () => Me.value);
|
|
123
|
+
let Ne = p(() => Ae.value), Pe = p(() => A.value.map((e) => ({
|
|
123
124
|
value: e.executorKey,
|
|
124
125
|
label: e.description ? `${e.title} · ${e.description}` : e.title
|
|
125
|
-
}))),
|
|
126
|
+
}))), Fe = p(() => (A.value.find((e) => e.executorKey === z.value.executorKey)?.supportedLevels ?? [
|
|
126
127
|
"LIST",
|
|
127
128
|
"RECORD",
|
|
128
129
|
"BATCH",
|
|
@@ -135,68 +136,68 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
|
|
|
135
136
|
BATCH: "批量",
|
|
136
137
|
ANY: "任意"
|
|
137
138
|
}[e]
|
|
138
|
-
}))),
|
|
139
|
+
}))), Ie = p(() => [
|
|
139
140
|
"actionCode",
|
|
140
141
|
"title",
|
|
141
142
|
"category",
|
|
142
143
|
"actionLevel",
|
|
143
144
|
"accessMode",
|
|
144
145
|
"executorType",
|
|
145
|
-
...Z(
|
|
146
|
+
...Z(z.value.executorKey) ? ["executorKey"] : [],
|
|
146
147
|
"actionAuth",
|
|
147
148
|
"dataAuth",
|
|
148
149
|
"defaultGrantPolicy",
|
|
149
|
-
...Z(
|
|
150
|
-
...Z(
|
|
151
|
-
...
|
|
152
|
-
...Z(
|
|
153
|
-
]),
|
|
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(() => [
|
|
154
155
|
"actionCode",
|
|
155
156
|
"title",
|
|
156
157
|
"category",
|
|
157
158
|
"actionLevel",
|
|
158
159
|
"executorType",
|
|
159
|
-
...Z(
|
|
160
|
-
...
|
|
160
|
+
...Z(z.value.executorKey) ? ["executorKey"] : [],
|
|
161
|
+
...z.value.sourceType ? ["sourceType"] : []
|
|
161
162
|
]);
|
|
162
|
-
|
|
163
|
-
let
|
|
164
|
-
if (
|
|
165
|
-
...
|
|
163
|
+
x(() => void We());
|
|
164
|
+
let Re = p(() => j.readonly.value), U = p(() => Re.value || j.saving.value), ze = p(() => {
|
|
165
|
+
if (j.mode.value !== "view") return [
|
|
166
|
+
...j.mode.value === "edit" && j.selected.value?.systemManaged === !0 && He(z.value) ? [{
|
|
166
167
|
key: "reset-permission-governance",
|
|
167
168
|
actionCode: "update",
|
|
168
169
|
title: "全部重置",
|
|
169
|
-
disabled:
|
|
170
|
+
disabled: j.saving.value
|
|
170
171
|
}] : [],
|
|
171
172
|
{
|
|
172
173
|
key: "cancel",
|
|
173
174
|
title: "取消",
|
|
174
|
-
disabled:
|
|
175
|
+
disabled: j.saving.value
|
|
175
176
|
},
|
|
176
177
|
{
|
|
177
178
|
key: "save",
|
|
178
|
-
actionCode:
|
|
179
|
-
title:
|
|
179
|
+
actionCode: j.mode.value === "create" ? "create" : "update",
|
|
180
|
+
title: j.saving.value ? "保存中" : "保存",
|
|
180
181
|
primary: !0,
|
|
181
|
-
loading:
|
|
182
|
+
loading: j.saving.value
|
|
182
183
|
}
|
|
183
184
|
];
|
|
184
|
-
let e =
|
|
185
|
+
let e = j.selected.value;
|
|
185
186
|
return [{
|
|
186
187
|
key: "edit",
|
|
187
188
|
actionCode: "update",
|
|
188
189
|
title: "编辑",
|
|
189
|
-
disabled: !e || !
|
|
190
|
+
disabled: !e || !j.canUpdate.value
|
|
190
191
|
}, {
|
|
191
192
|
key: "delete",
|
|
192
193
|
actionCode: "delete",
|
|
193
194
|
title: "删除",
|
|
194
195
|
danger: !0,
|
|
195
|
-
loading:
|
|
196
|
-
disabled: !e || e.systemManaged === !0 || !
|
|
196
|
+
loading: j.saving.value,
|
|
197
|
+
disabled: !e || e.systemManaged === !0 || !j.canDelete.value
|
|
197
198
|
}];
|
|
198
199
|
});
|
|
199
|
-
function
|
|
200
|
+
function Be(e) {
|
|
200
201
|
let t = e;
|
|
201
202
|
return {
|
|
202
203
|
title: Q(t),
|
|
@@ -205,10 +206,10 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
|
|
|
205
206
|
muted: t.enabled === !1
|
|
206
207
|
};
|
|
207
208
|
}
|
|
208
|
-
function
|
|
209
|
-
e.key === "edit" &&
|
|
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();
|
|
210
211
|
}
|
|
211
|
-
function
|
|
212
|
+
function He(e) {
|
|
212
213
|
return [
|
|
213
214
|
e.accessModeOverride,
|
|
214
215
|
e.actionAuthOverride,
|
|
@@ -216,43 +217,43 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
|
|
|
216
217
|
e.defaultGrantPolicyOverride
|
|
217
218
|
].some((e) => e != null);
|
|
218
219
|
}
|
|
219
|
-
function U(e) {
|
|
220
|
-
return R.value[e] != null;
|
|
221
|
-
}
|
|
222
220
|
function W(e) {
|
|
223
|
-
|
|
221
|
+
return z.value[e] != null;
|
|
222
|
+
}
|
|
223
|
+
function G(e) {
|
|
224
|
+
K(e, void 0);
|
|
224
225
|
}
|
|
225
|
-
function
|
|
226
|
-
|
|
227
|
-
...
|
|
226
|
+
function Ue() {
|
|
227
|
+
j.draft.value = {
|
|
228
|
+
...j.draft.value,
|
|
228
229
|
accessModeOverride: void 0,
|
|
229
230
|
actionAuthOverride: void 0,
|
|
230
231
|
dataAuthOverride: void 0,
|
|
231
232
|
defaultGrantPolicyOverride: void 0
|
|
232
233
|
};
|
|
233
234
|
}
|
|
234
|
-
function
|
|
235
|
-
|
|
236
|
-
...
|
|
235
|
+
function K(e, t) {
|
|
236
|
+
j.draft.value = {
|
|
237
|
+
...j.draft.value,
|
|
237
238
|
[e]: t ?? void 0
|
|
238
239
|
};
|
|
239
240
|
}
|
|
240
|
-
async function
|
|
241
|
+
async function We() {
|
|
241
242
|
try {
|
|
242
|
-
|
|
243
|
+
A.value = await b.http.request({ path: "/platform.module/action-executors" });
|
|
243
244
|
} catch (e) {
|
|
244
|
-
|
|
245
|
+
A.value = [], i(e, {
|
|
245
246
|
source: "module-action-management",
|
|
246
247
|
phase: "load"
|
|
247
248
|
});
|
|
248
249
|
}
|
|
249
250
|
}
|
|
250
251
|
function Ge() {
|
|
251
|
-
|
|
252
|
+
j.startCreate();
|
|
252
253
|
}
|
|
253
254
|
function Ke(e) {
|
|
254
|
-
let t = typeof e == "string" ? e : void 0, n =
|
|
255
|
-
|
|
255
|
+
let t = typeof e == "string" ? e : void 0, n = A.value.find((e) => e.executorKey === t);
|
|
256
|
+
K("executorKey", t), n?.supportedLevels.length && K("actionLevel", n.supportedLevels[0]);
|
|
256
257
|
}
|
|
257
258
|
function q(e) {
|
|
258
259
|
return {
|
|
@@ -341,68 +342,68 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
|
|
|
341
342
|
}
|
|
342
343
|
}[e]?.[t] : void 0;
|
|
343
344
|
}
|
|
344
|
-
return (
|
|
345
|
+
return (ee, i) => (S(), m(T(ce), {
|
|
345
346
|
"explorer-title": "模块动作",
|
|
346
347
|
"refresh-title": "刷新动作",
|
|
347
|
-
mode:
|
|
348
|
-
"detail-title":
|
|
349
|
-
"explorer-search-keyword":
|
|
348
|
+
mode: T(B),
|
|
349
|
+
"detail-title": T(ke),
|
|
350
|
+
"explorer-search-keyword": k.value,
|
|
350
351
|
"explorer-search-placeholder": "搜索动作名称或编码",
|
|
351
|
-
"onUpdate:explorerSearchKeyword": i[22] ||= (e) =>
|
|
352
|
-
onRefresh: i[23] ||= (e) =>
|
|
352
|
+
"onUpdate:explorerSearchKeyword": i[22] ||= (e) => k.value = e,
|
|
353
|
+
onRefresh: i[23] ||= (e) => V.value += 1
|
|
353
354
|
}, {
|
|
354
|
-
"explorer-actions":
|
|
355
|
+
"explorer-actions": E(() => [y(T(ae), {
|
|
355
356
|
class: "record-panel-create-button",
|
|
356
|
-
context:
|
|
357
|
+
context: T(O),
|
|
357
358
|
"action-code": "create",
|
|
358
359
|
title: "新建动作",
|
|
359
360
|
"icon-only": "",
|
|
360
|
-
disabled: !
|
|
361
|
+
disabled: !Ne.value || T(H),
|
|
361
362
|
onClick: Ge
|
|
362
363
|
}, null, 8, ["context", "disabled"])]),
|
|
363
|
-
explorer:
|
|
364
|
-
context:
|
|
365
|
-
"selected-id":
|
|
366
|
-
"reload-key":
|
|
367
|
-
keyword:
|
|
364
|
+
explorer: E(() => [y(T(n), {
|
|
365
|
+
context: T(O),
|
|
366
|
+
"selected-id": T(M)?.id,
|
|
367
|
+
"reload-key": T(V),
|
|
368
|
+
keyword: k.value,
|
|
368
369
|
"empty-description": "当前模块暂无动作",
|
|
369
370
|
"loading-tip": "加载模块动作",
|
|
370
371
|
"fallback-title": "未命名动作",
|
|
371
|
-
"item-of":
|
|
372
|
-
onLoaded: i[0] ||= (e) =>
|
|
373
|
-
onSelect: i[1] ||= (e) =>
|
|
372
|
+
"item-of": Be,
|
|
373
|
+
onLoaded: i[0] ||= (e) => T(j).handleListLoaded(e),
|
|
374
|
+
onSelect: i[1] ||= (e) => T(j).handleSelect(e)
|
|
374
375
|
}, null, 8, [
|
|
375
376
|
"context",
|
|
376
377
|
"selected-id",
|
|
377
378
|
"reload-key",
|
|
378
379
|
"keyword"
|
|
379
380
|
])]),
|
|
380
|
-
"detail-status":
|
|
381
|
+
"detail-status": E(() => [T(B) === "view" && T(M) ? (S(), m(T(ne), {
|
|
381
382
|
key: 0,
|
|
382
|
-
enabled:
|
|
383
|
-
disabled:
|
|
384
|
-
loading:
|
|
383
|
+
enabled: T(M).enabled,
|
|
384
|
+
disabled: T(H) || T(M).systemManaged === !0 || !T(je),
|
|
385
|
+
loading: T(H),
|
|
385
386
|
"show-label": !1,
|
|
386
|
-
onChange:
|
|
387
|
+
onChange: T(j).toggleEnabled
|
|
387
388
|
}, null, 8, [
|
|
388
389
|
"enabled",
|
|
389
390
|
"disabled",
|
|
390
391
|
"loading",
|
|
391
392
|
"onChange"
|
|
392
|
-
])) :
|
|
393
|
-
"detail-actions":
|
|
394
|
-
context:
|
|
395
|
-
actions:
|
|
396
|
-
onAction:
|
|
393
|
+
])) : h("v-if", !0)]),
|
|
394
|
+
"detail-actions": E(() => [y(T(oe), {
|
|
395
|
+
context: T(O),
|
|
396
|
+
actions: ze.value,
|
|
397
|
+
onAction: Ve
|
|
397
398
|
}, null, 8, ["context", "actions"])]),
|
|
398
|
-
default:
|
|
399
|
+
default: E(() => [!T(M) && T(B) === "view" ? (S(), m(T(te), {
|
|
399
400
|
key: 0,
|
|
400
401
|
description: e.moduleKind === "static" ? "静态模块动作由 Java 声明自动注册" : "当前模块暂无动作"
|
|
401
|
-
}, null, 8, ["description"])) :
|
|
402
|
+
}, null, 8, ["description"])) : T(B) === "view" && T(M) ? (S(), m(T(r), {
|
|
402
403
|
key: 1,
|
|
403
|
-
record:
|
|
404
|
+
record: T(z),
|
|
404
405
|
"display-of": $,
|
|
405
|
-
"field-names":
|
|
406
|
+
"field-names": Ie.value,
|
|
406
407
|
fallback: {
|
|
407
408
|
actionCode: { label: "动作编码" },
|
|
408
409
|
title: { label: "动作名称" },
|
|
@@ -419,14 +420,14 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
|
|
|
419
420
|
sourceType: { label: "注册来源" },
|
|
420
421
|
bindingAlias: { label: "绑定标识" }
|
|
421
422
|
}
|
|
422
|
-
}, null, 8, ["record", "field-names"])) :
|
|
423
|
+
}, null, 8, ["record", "field-names"])) : T(B) !== "create" && T(M)?.systemManaged ? (S(), g("form", {
|
|
423
424
|
key: 2,
|
|
424
425
|
class: "managed-action-editor",
|
|
425
|
-
onSubmit: i[10] ||=
|
|
426
|
-
}, [
|
|
427
|
-
record:
|
|
426
|
+
onSubmit: i[10] ||= D((...e) => T(j).save && T(j).save(...e), ["prevent"])
|
|
427
|
+
}, [_("section", fe, [i[24] ||= _("h3", null, "动作声明", -1), y(T(r), {
|
|
428
|
+
record: T(z),
|
|
428
429
|
"display-of": $,
|
|
429
|
-
"field-names":
|
|
430
|
+
"field-names": Le.value,
|
|
430
431
|
fallback: {
|
|
431
432
|
actionCode: { label: "动作编码" },
|
|
432
433
|
title: { label: "动作名称" },
|
|
@@ -436,22 +437,22 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
|
|
|
436
437
|
executorKey: { label: "执行实现" },
|
|
437
438
|
sourceType: { label: "注册来源" }
|
|
438
439
|
}
|
|
439
|
-
}, null, 8, ["record", "field-names"])]),
|
|
440
|
-
|
|
441
|
-
default:
|
|
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" })])]),
|
|
442
443
|
_: 1
|
|
443
|
-
})])]),
|
|
444
|
+
})])]), _("span", P, [W("accessModeOverride") ? (S(), m(T(u), {
|
|
444
445
|
key: 0,
|
|
445
446
|
type: "text",
|
|
446
447
|
size: "small",
|
|
447
|
-
disabled:
|
|
448
|
-
onClick: i[2] ||= (e) =>
|
|
448
|
+
disabled: U.value,
|
|
449
|
+
onClick: i[2] ||= (e) => G("accessModeOverride")
|
|
449
450
|
}, {
|
|
450
|
-
default:
|
|
451
|
+
default: E(() => [...i[26] ||= [v("重置", -1)]]),
|
|
451
452
|
_: 1
|
|
452
|
-
}, 8, ["disabled"])) :
|
|
453
|
-
value:
|
|
454
|
-
disabled:
|
|
453
|
+
}, 8, ["disabled"])) : h("v-if", !0)])]), y(T(l), {
|
|
454
|
+
value: T(z).accessModeOverride ?? T(z).accessMode,
|
|
455
|
+
disabled: U.value,
|
|
455
456
|
options: [
|
|
456
457
|
{
|
|
457
458
|
label: "需要授权",
|
|
@@ -466,23 +467,23 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
|
|
|
466
467
|
value: "ANONYMOUS_ALLOWED"
|
|
467
468
|
}
|
|
468
469
|
],
|
|
469
|
-
"onUpdate:value": i[3] ||= (e) =>
|
|
470
|
+
"onUpdate:value": i[3] ||= (e) => K("accessModeOverride", e)
|
|
470
471
|
}, null, 8, ["value", "disabled"])]),
|
|
471
|
-
|
|
472
|
-
default:
|
|
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" })])]),
|
|
473
474
|
_: 1
|
|
474
|
-
})])]),
|
|
475
|
+
})])]), _("span", L, [W("defaultGrantPolicyOverride") ? (S(), m(T(u), {
|
|
475
476
|
key: 0,
|
|
476
477
|
type: "text",
|
|
477
478
|
size: "small",
|
|
478
|
-
disabled:
|
|
479
|
-
onClick: i[4] ||= (e) =>
|
|
479
|
+
disabled: U.value,
|
|
480
|
+
onClick: i[4] ||= (e) => G("defaultGrantPolicyOverride")
|
|
480
481
|
}, {
|
|
481
|
-
default:
|
|
482
|
+
default: E(() => [...i[28] ||= [v("重置", -1)]]),
|
|
482
483
|
_: 1
|
|
483
|
-
}, 8, ["disabled"])) :
|
|
484
|
-
value:
|
|
485
|
-
disabled:
|
|
484
|
+
}, 8, ["disabled"])) : h("v-if", !0)])]), y(T(l), {
|
|
485
|
+
value: T(z).defaultGrantPolicyOverride ?? T(z).defaultGrantPolicy,
|
|
486
|
+
disabled: U.value,
|
|
486
487
|
options: [
|
|
487
488
|
{
|
|
488
489
|
label: "不默认授予",
|
|
@@ -505,75 +506,75 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
|
|
|
505
506
|
value: "MEMBER"
|
|
506
507
|
}
|
|
507
508
|
],
|
|
508
|
-
"onUpdate:value": i[5] ||= (e) =>
|
|
509
|
+
"onUpdate:value": i[5] ||= (e) => K("defaultGrantPolicyOverride", e)
|
|
509
510
|
}, null, 8, ["value", "disabled"])]),
|
|
510
|
-
|
|
511
|
-
default:
|
|
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" })])]),
|
|
512
513
|
_: 1
|
|
513
|
-
})])]),
|
|
514
|
+
})])]), _("span", _e, [W("actionAuthOverride") ? (S(), m(T(u), {
|
|
514
515
|
key: 0,
|
|
515
516
|
type: "text",
|
|
516
517
|
size: "small",
|
|
517
|
-
disabled:
|
|
518
|
-
onClick: i[6] ||= (e) =>
|
|
518
|
+
disabled: U.value,
|
|
519
|
+
onClick: i[6] ||= (e) => G("actionAuthOverride")
|
|
519
520
|
}, {
|
|
520
|
-
default:
|
|
521
|
+
default: E(() => [...i[30] ||= [v("重置", -1)]]),
|
|
521
522
|
_: 1
|
|
522
|
-
}, 8, ["disabled"])) :
|
|
523
|
-
checked: (
|
|
524
|
-
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,
|
|
525
526
|
"checked-text": "开",
|
|
526
527
|
"unchecked-text": "关",
|
|
527
|
-
"onUpdate:checked": i[7] ||= (e) =>
|
|
528
|
-
}, null, 8, ["checked", "disabled"]),
|
|
529
|
-
|
|
530
|
-
default:
|
|
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" })])]),
|
|
531
532
|
_: 1
|
|
532
|
-
})])]),
|
|
533
|
+
})])]), _("span", xe, [W("dataAuthOverride") ? (S(), m(T(u), {
|
|
533
534
|
key: 0,
|
|
534
535
|
type: "text",
|
|
535
536
|
size: "small",
|
|
536
|
-
disabled:
|
|
537
|
-
onClick: i[8] ||= (e) =>
|
|
537
|
+
disabled: U.value,
|
|
538
|
+
onClick: i[8] ||= (e) => G("dataAuthOverride")
|
|
538
539
|
}, {
|
|
539
|
-
default:
|
|
540
|
+
default: E(() => [...i[32] ||= [v("重置", -1)]]),
|
|
540
541
|
_: 1
|
|
541
|
-
}, 8, ["disabled"])) :
|
|
542
|
-
checked: (
|
|
543
|
-
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,
|
|
544
545
|
"checked-text": "开",
|
|
545
546
|
"unchecked-text": "关",
|
|
546
|
-
"onUpdate:checked": i[9] ||= (e) =>
|
|
547
|
-
}, null, 8, ["checked", "disabled"]),
|
|
548
|
-
])])], 32)) : (
|
|
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", {
|
|
549
550
|
key: 3,
|
|
550
551
|
class: "static-record-form",
|
|
551
|
-
onSubmit: i[21] ||=
|
|
552
|
+
onSubmit: i[21] ||= D((...e) => T(j).save && T(j).save(...e), ["prevent"])
|
|
552
553
|
}, [
|
|
553
|
-
i[44] ||=
|
|
554
|
-
|
|
555
|
-
value:
|
|
556
|
-
disabled:
|
|
557
|
-
"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)
|
|
558
559
|
}, null, 8, ["value", "disabled"])]),
|
|
559
|
-
|
|
560
|
-
value:
|
|
561
|
-
disabled:
|
|
562
|
-
"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)
|
|
563
564
|
}, null, 8, ["value", "disabled"])]),
|
|
564
|
-
|
|
565
|
-
value:
|
|
566
|
-
disabled:
|
|
567
|
-
options:
|
|
568
|
-
"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)
|
|
569
570
|
}, null, 8, [
|
|
570
571
|
"value",
|
|
571
572
|
"disabled",
|
|
572
573
|
"options"
|
|
573
574
|
])]),
|
|
574
|
-
|
|
575
|
-
value:
|
|
576
|
-
disabled:
|
|
575
|
+
_("label", null, [i[37] ||= _("span", null, "访问方式", -1), y(T(l), {
|
|
576
|
+
value: T(z).accessMode,
|
|
577
|
+
disabled: U.value,
|
|
577
578
|
options: [
|
|
578
579
|
{
|
|
579
580
|
label: "需要授权",
|
|
@@ -588,40 +589,40 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
|
|
|
588
589
|
value: "ANONYMOUS_ALLOWED"
|
|
589
590
|
}
|
|
590
591
|
],
|
|
591
|
-
"onUpdate:value": i[14] ||= (e) =>
|
|
592
|
+
"onUpdate:value": i[14] ||= (e) => K("accessMode", e)
|
|
592
593
|
}, null, 8, ["value", "disabled"])]),
|
|
593
|
-
e.moduleKind === "dynamic" ? (
|
|
594
|
-
value:
|
|
594
|
+
e.moduleKind === "dynamic" ? (S(), g("label", Ce, [i[38] ||= _("span", null, "执行能力(可稍后绑定)", -1), y(T(l), {
|
|
595
|
+
value: T(z).executorKey,
|
|
595
596
|
"allow-clear": "",
|
|
596
597
|
placeholder: "待绑定",
|
|
597
|
-
disabled:
|
|
598
|
-
options:
|
|
598
|
+
disabled: U.value,
|
|
599
|
+
options: Pe.value,
|
|
599
600
|
"onUpdate:value": i[15] ||= (e) => Ke(e)
|
|
600
601
|
}, null, 8, [
|
|
601
602
|
"value",
|
|
602
603
|
"disabled",
|
|
603
604
|
"options"
|
|
604
|
-
])])) :
|
|
605
|
-
e.moduleKind === "dynamic" ?
|
|
606
|
-
|
|
607
|
-
checked:
|
|
608
|
-
disabled:
|
|
609
|
-
"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)
|
|
610
611
|
}, {
|
|
611
|
-
default:
|
|
612
|
+
default: E(() => [...i[39] ||= [v("启用动作授权", -1)]]),
|
|
612
613
|
_: 1
|
|
613
614
|
}, 8, ["checked", "disabled"])]),
|
|
614
|
-
|
|
615
|
-
checked:
|
|
616
|
-
disabled:
|
|
617
|
-
"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)
|
|
618
619
|
}, {
|
|
619
|
-
default:
|
|
620
|
+
default: E(() => [...i[40] ||= [v("启用数据授权", -1)]]),
|
|
620
621
|
_: 1
|
|
621
622
|
}, 8, ["checked", "disabled"])]),
|
|
622
|
-
|
|
623
|
-
value:
|
|
624
|
-
disabled:
|
|
623
|
+
_("label", null, [i[41] ||= _("span", null, "默认授予策略", -1), y(T(l), {
|
|
624
|
+
value: T(z).defaultGrantPolicy,
|
|
625
|
+
disabled: U.value,
|
|
625
626
|
options: [
|
|
626
627
|
{
|
|
627
628
|
label: "不默认授予",
|
|
@@ -644,22 +645,22 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
|
|
|
644
645
|
value: "MEMBER"
|
|
645
646
|
}
|
|
646
647
|
],
|
|
647
|
-
"onUpdate:value": i[18] ||= (e) =>
|
|
648
|
+
"onUpdate:value": i[18] ||= (e) => K("defaultGrantPolicy", e)
|
|
648
649
|
}, null, 8, ["value", "disabled"])]),
|
|
649
|
-
|
|
650
|
-
value:
|
|
651
|
-
disabled:
|
|
652
|
-
"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)
|
|
653
654
|
}, null, 8, ["value", "disabled"])]),
|
|
654
|
-
|
|
655
|
-
value:
|
|
656
|
-
disabled:
|
|
657
|
-
"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)
|
|
658
659
|
}, null, 8, ["value", "disabled"])])
|
|
659
|
-
], 32)),
|
|
660
|
+
], 32)), T(M) || T(B) !== "view" ? (S(), m(T(le), {
|
|
660
661
|
key: 4,
|
|
661
|
-
record:
|
|
662
|
-
}, null, 8, ["record"])) :
|
|
662
|
+
record: T(z)
|
|
663
|
+
}, null, 8, ["record"])) : h("v-if", !0)]),
|
|
663
664
|
_: 1
|
|
664
665
|
}, 8, [
|
|
665
666
|
"mode",
|
|
@@ -667,6 +668,6 @@ var me = { class: "action-declaration-section" }, he = { class: "permission-gove
|
|
|
667
668
|
"explorer-search-keyword"
|
|
668
669
|
]));
|
|
669
670
|
}
|
|
670
|
-
}),
|
|
671
|
+
}), B = /* @__PURE__ */ e({ default: () => V }), V = /*#__PURE__*/ f(z, [["__scopeId", "data-v-68b1667d"]]);
|
|
671
672
|
//#endregion
|
|
672
|
-
export {
|
|
673
|
+
export { B as n, V as t };
|