@ximatai/muyun-web-app 0.26.13 → 0.26.15
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-DVzrZW1X.js} +1 -1
- package/dist/BusinessLogListDrawer-D-R3wnWr.js +825 -0
- package/dist/{LoginAuditLogView-Cjrp8MKX.js → LoginAuditLogView-BP1eaEPw.js} +1 -1
- package/dist/{ModuleActionManagementView-Dkb35QXc.js → ModuleActionManagementView-D17iKVQv.js} +214 -196
- package/dist/{ModuleGovernanceView-Dx43QvGf.js → ModuleGovernanceView-LkWCtops.js} +13509 -8472
- package/dist/{RequestErrorLogView-WnGvMWiF.js → RequestErrorLogView-LzN94-Tk.js} +1 -1
- package/dist/{RoleDetailWorkspaceView-DPDb_QOn.js → RoleDetailWorkspaceView-BXA-bzFu.js} +173 -164
- package/dist/{RuntimeLogView-BRl4ZDkU.js → RuntimeLogView-DUpu2q2w.js} +48 -81
- package/dist/index.css +1 -1
- package/dist/index.js +562 -497
- package/dist/moduleGovernanceWorkspaceView-COjWtJMr.js +639 -0
- package/dist/{platform-components-1cvOeHmo.js → platform-components-Hs3DrTqE.js} +5260 -3344
- package/dist/platform-workbench-C-kE-Yqq.js +19755 -0
- package/dist/{http-B0TC0pJB.js → sse-Q1wa3p_k.js} +34 -4
- package/dist/types/app/CurrentUserProfileDialog.vue.d.ts +1 -1
- package/dist/types/app/useWorkbenchMenuRefresh.d.ts +4 -0
- package/dist/types/app/workbenchMenuRefresh.d.ts +14 -0
- package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +4 -2
- package/dist/types/dynamic-page-runtime/ManagedDetailRelationInlineSurface.vue.d.ts +3 -3
- package/dist/types/dynamic-page-runtime/ModuleDataExchangeSurface.vue.d.ts +17 -0
- package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +712 -22
- package/dist/types/dynamic-page-runtime/ModulePageDetailRelations.vue.d.ts +3 -2
- package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +782 -60
- package/dist/types/dynamic-page-runtime/ModulePageListExpansionSurface.vue.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansion.vue.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansions.vue.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/ModulePageRecordContent.vue.d.ts +5 -2
- package/dist/types/dynamic-page-runtime/ModuleRecordDetailActions.vue.d.ts +6 -0
- package/dist/types/dynamic-page-runtime/PageNavigatorExplorer.vue.d.ts +9 -7
- package/dist/types/dynamic-page-runtime/RecordFormSurface.vue.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/assistantBusinessScope.d.ts +3 -0
- package/dist/types/dynamic-page-runtime/assistantQueryCapabilities.d.ts +34 -0
- package/dist/types/dynamic-page-runtime/assistantRecordEditorPolicy.d.ts +6 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageFormContributionRuntime.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageListSession.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +94 -4
- package/dist/types/dynamic-page-runtime/composables/useRecordEditingSession.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/formComputeCoordinator.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/index.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/modulePageAssistantScope.d.ts +20 -0
- package/dist/types/dynamic-page-runtime/modulePageAssistantSurface.d.ts +6 -0
- package/dist/types/dynamic-page-runtime/recordCreationReadiness.d.ts +17 -0
- package/dist/types/dynamic-page-runtime/recordDisplayProjection.d.ts +59 -0
- package/dist/types/dynamic-page-runtime/recordFormAssistantCapabilities.d.ts +59 -0
- package/dist/types/dynamic-page-runtime/recordFormDraftAccess.d.ts +33 -0
- package/dist/types/dynamic-page-runtime/recordMutationPayload.d.ts +2 -2
- package/dist/types/dynamic-page-runtime/recordReferenceDisplay.d.ts +8 -0
- package/dist/types/dynamic-page-runtime/recordSaveRecovery.d.ts +12 -0
- package/dist/types/dynamic-page-runtime/relationDraftAssistantCapabilities.d.ts +9 -0
- package/dist/types/dynamic-page-runtime/relationDraftController.d.ts +23 -0
- package/dist/types/dynamic-page-runtime/relationFormComputeCoordinator.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +404 -12
- package/dist/types/dynamic-page-runtime/useTenantScopeController.d.ts +1 -0
- package/dist/types/formula/FormulaRuntime.d.ts +3 -1
- package/dist/types/platform-admin-runtime/backendHttp.d.ts +5 -1
- package/dist/types/platform-admin-runtime/module-menu/ModuleMenuEditor.vue.d.ts +17 -0
- package/dist/types/platform-admin-runtime/module-menu/ModuleMenuGovernanceSurface.vue.d.ts +6 -0
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuClient.d.ts +6 -2
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuReceiptStore.d.ts +5 -0
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuSession.d.ts +61 -0
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuWorkspace.d.ts +180 -0
- package/dist/types/platform-admin-runtime/workspaceViewSessions.d.ts +1 -1
- package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +11 -7
- package/dist/types/platform-components/DictionaryPicker.vue.d.ts +2 -0
- package/dist/types/platform-components/FileTransferUploader.vue.d.ts +1 -1
- package/dist/types/platform-components/ManagementPanelHeader.vue.d.ts +6 -4
- package/dist/types/platform-components/ManagementTabs.vue.d.ts +20 -0
- package/dist/types/platform-components/ObjectPickerInput.vue.d.ts +2 -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/RecordExplorerPanel.vue.d.ts +15 -9
- package/dist/types/platform-components/RecordExplorerTools.vue.d.ts +27 -0
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +5 -1
- package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +2 -2
- package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +2 -0
- package/dist/types/platform-components/RecordPicker.vue.d.ts +2 -0
- package/dist/types/platform-components/RecordQueryListCell.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +9 -1
- package/dist/types/platform-components/RecordQueryListSurface.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordRelationTabs.vue.d.ts +1 -0
- package/dist/types/platform-components/ReferencePicker.vue.d.ts +2 -0
- package/dist/types/platform-components/StaticManagementLayout.vue.d.ts +2 -0
- package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +5 -2
- package/dist/types/platform-components/index.d.ts +9 -1
- package/dist/types/platform-components/optionFieldOptionCache.d.ts +1 -1
- package/dist/types/platform-components/queryNumericValue.d.ts +3 -0
- package/dist/types/platform-components/querySettlementController.d.ts +5 -0
- package/dist/types/platform-components/recordDetailFieldModel.d.ts +2 -0
- package/dist/types/platform-components/recordFormFieldModel.d.ts +22 -0
- package/dist/types/platform-components/recordQueryListColumnModel.d.ts +8 -0
- package/dist/types/platform-components/recordQueryListQueryController.d.ts +53 -0
- package/dist/types/platform-components/recordQueryListStandardQuery.d.ts +3 -0
- package/dist/types/platform-components/recordTreeQueryController.d.ts +18 -0
- package/dist/types/platform-components/recycleBinState.d.ts +17 -0
- package/dist/types/platform-components/referencePickerModel.d.ts +3 -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/ConstructionPlanCard.vue.d.ts +8 -0
- package/dist/types/platform-workbench/Workbench.vue.d.ts +12 -2
- package/dist/types/platform-workbench/WorkbenchAssistantPanel.vue.d.ts +18 -0
- package/dist/types/platform-workbench/assistantMarkdown.d.ts +1 -0
- package/dist/types/platform-workbench/configurationCollaboration.d.ts +23 -0
- package/dist/types/platform-workbench/constructionDelivery.d.ts +3 -0
- package/dist/types/platform-workbench/constructionFields.d.ts +5 -0
- package/dist/types/platform-workbench/constructionInitialization.d.ts +4 -0
- package/dist/types/platform-workbench/constructionPlanGuard.d.ts +21 -0
- package/dist/types/platform-workbench/constructionPlanSession.d.ts +95 -0
- package/dist/types/platform-workbench/constructionReferenceDiscovery.d.ts +3 -0
- package/dist/types/platform-workbench/index.d.ts +1 -0
- package/dist/types/platform-workbench/useAssistantConversation.d.ts +360 -0
- package/dist/types/platform-workbench/useAssistantConversationArchive.d.ts +47 -0
- package/dist/types/platform-workbench/workbenchAssistantCapabilities.d.ts +22 -0
- package/dist/types/views/BusinessLogRetentionControl.vue.d.ts +7 -0
- package/dist/types/views/MetadataSourceTree.vue.d.ts +7 -3
- package/dist/types/views/ModuleRuntimeActivationStatus.vue.d.ts +11 -0
- package/dist/types/views/PageCompositionDescriptorPreview.vue.d.ts +8 -8
- package/dist/types/views/PageCompositionEditor.vue.d.ts +10 -0
- package/dist/types/views/PageCompositionTree.vue.d.ts +19 -13
- package/dist/types/views/businessLogClient.d.ts +3 -0
- package/dist/types/views/businessLogRetentionClient.d.ts +25 -0
- package/dist/types/views/businessRuleAssistantSurface.d.ts +7 -0
- package/dist/types/views/businessRuleEditor.d.ts +22 -0
- package/dist/types/views/businessRuleGovernance.d.ts +7 -1
- package/dist/types/views/businessRuleSession.d.ts +63 -0
- package/dist/types/views/businessRuleWorkspace.d.ts +144 -0
- package/dist/types/views/configurationEditorNavigation.d.ts +2 -0
- package/dist/types/views/metadataChangeSetSubmission.d.ts +10 -0
- package/dist/types/views/metadataEditorSession.d.ts +652 -0
- package/dist/types/views/metadataGovernanceAssistantSurface.d.ts +4 -0
- package/dist/types/views/metadataGovernanceEditor.d.ts +220 -0
- package/dist/types/views/metadataModelChangeSetClient.d.ts +36 -0
- package/dist/types/views/metadataModelEditSession.d.ts +26 -1
- package/dist/types/views/metadataNaming.d.ts +11 -1
- package/dist/types/views/metadataOrchestrationState.d.ts +22 -0
- package/dist/types/views/metadataWorkspace.d.ts +1316 -0
- package/dist/types/views/moduleGovernanceWorkspaceView.d.ts +1 -1
- package/dist/types/views/moduleRuntimeActivation.d.ts +11 -0
- package/dist/types/views/pageCompositionAssistantSurface.d.ts +27 -0
- package/dist/types/views/pageCompositionCandidate.d.ts +47 -0
- package/dist/types/views/pageCompositionComponents.d.ts +42 -0
- package/dist/types/views/pageCompositionDraftState.d.ts +277 -8
- package/dist/types/views/pageCompositionDragPayload.d.ts +7 -1
- package/dist/types/views/pageCompositionMode.d.ts +1 -1
- package/dist/types/views/pageCompositionPlacement.d.ts +6 -1
- package/dist/types/views/pageCompositionPublication.d.ts +37 -0
- package/dist/types/views/pageCompositionSession.d.ts +1341 -0
- package/dist/types/views/pageCompositionWorkspace.d.ts +2555 -0
- package/dist/types/views/roleAuthorizationWorkspaceSession.d.ts +1 -1
- package/dist/types/views/roleDetailWorkspaceSession.d.ts +1 -1
- package/dist/types/views/runtimeLogSse.d.ts +3 -13
- package/dist/types/views/usePageCompositionComponents.d.ts +68 -0
- package/dist/types/vue-ui-antdv/components/UiInput.vue.d.ts +1 -0
- package/dist/types/vue-ui-antdv/components/UiSearchInput.vue.d.ts +2 -0
- package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +2 -0
- package/dist/types/vue-ui-antdv/components/UiTextArea.vue.d.ts +4 -0
- package/dist/types/vue-ui-antdv/components/UiTreeSelect.vue.d.ts +2 -0
- package/dist/types/vue-ui-antdv/types.d.ts +4 -0
- package/dist/types/web-contracts/assistant.d.ts +87 -0
- package/dist/types/web-contracts/constructionPlan.d.ts +212 -0
- package/dist/types/web-contracts/index.d.ts +33 -0
- package/dist/types/web-contracts/operation.d.ts +33 -0
- package/dist/types/web-contracts/referenceTarget.d.ts +13 -0
- package/dist/types/web-core/assistantCapabilityCatalog.d.ts +22 -0
- package/dist/types/web-core/assistantCatalogPage.d.ts +12 -0
- package/dist/types/web-core/assistantConfirmation.d.ts +23 -0
- package/dist/types/web-core/assistantConversationClient.d.ts +42 -0
- package/dist/types/web-core/assistantRuntime.d.ts +123 -0
- package/dist/types/web-core/assistantSurface.d.ts +162 -0
- package/dist/types/web-core/assistantTurnClient.d.ts +16 -0
- package/dist/types/web-core/constructionPlanClient.d.ts +55 -0
- package/dist/types/web-core/errors.d.ts +2 -0
- package/dist/types/web-core/http.d.ts +1 -0
- package/dist/types/web-core/index.d.ts +12 -0
- package/dist/types/web-core/module/dataExchangeClient.d.ts +53 -0
- package/dist/types/web-core/module/index.d.ts +1 -0
- package/dist/types/web-core/module/staticModuleClient.d.ts +12 -2
- package/dist/types/web-core/operationConfirmation.d.ts +28 -0
- package/dist/types/web-core/operationErrors.d.ts +9 -0
- package/dist/types/web-core/operationReceipt.d.ts +10 -0
- package/dist/types/web-core/sse.d.ts +9 -0
- package/dist/types/web-core/uuid.d.ts +2 -0
- package/dist/{workspaceViews-CCg6V0pr.js → workspaceViews-CHsgLFwY.js} +783 -1189
- package/package.json +1 -1
- package/dist/BusinessLogListDrawer-BtaXVJKz.js +0 -564
- package/dist/moduleGovernanceWorkspaceView-4V_UW-Bt.js +0 -40
- package/dist/platform-workbench-Cu14Xd9d.js +0 -10299
package/dist/{ModuleActionManagementView-Dkb35QXc.js → ModuleActionManagementView-D17iKVQv.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as e } from "./rolldown-runtime-DPVXH0ON.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { computed as
|
|
2
|
+
import { t } from "./platform-workbench-C-kE-Yqq.js";
|
|
3
|
+
import { D as n, Dn as r, En as i, Pn as ee, S as te, Sn as a, Tn as o, Vt as ne, Wn as re, X as s, Xt as ie, _n as c, bn as l, bt as ae, cn as u, i as oe, kt as se, l as ce, mn as d, rn as le, v as ue, xn as f, zt as de } from "./platform-components-Hs3DrTqE.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 fe, 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 pe(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 de(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,34 +58,34 @@ 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 me = { class: "action-declaration-section" }, he = { class: "permission-governance-section" }, ge = { class: "governance-grid" }, _e = { class: "governance-item" }, ve = {
|
|
70
70
|
type: "button",
|
|
71
71
|
class: "governance-help",
|
|
72
72
|
"aria-label": "访问方式说明"
|
|
73
|
-
},
|
|
73
|
+
}, ye = { class: "governance-reset-slot" }, M = { class: "governance-item" }, N = {
|
|
74
74
|
type: "button",
|
|
75
75
|
class: "governance-help",
|
|
76
76
|
"aria-label": "默认授予策略说明"
|
|
77
|
-
},
|
|
77
|
+
}, P = { class: "governance-reset-slot" }, be = { class: "governance-item" }, xe = {
|
|
78
78
|
type: "button",
|
|
79
79
|
class: "governance-help",
|
|
80
80
|
"aria-label": "动作授权说明"
|
|
81
|
-
},
|
|
81
|
+
}, Se = { class: "governance-reset-slot" }, Ce = { class: "governance-switch-control" }, we = { class: "governance-item" }, Te = {
|
|
82
82
|
type: "button",
|
|
83
83
|
class: "governance-help",
|
|
84
84
|
"aria-label": "数据授权说明"
|
|
85
|
-
},
|
|
85
|
+
}, Ee = { class: "governance-reset-slot" }, De = { class: "governance-switch-control" }, Oe = { key: 0 }, ke = {
|
|
86
86
|
key: 1,
|
|
87
87
|
class: "form-hint wide-field"
|
|
88
|
-
},
|
|
88
|
+
}, Ae = { class: "checkbox-field" }, je = { class: "checkbox-field" }, Me = { class: "wide-field" }, Ne = { class: "wide-field" }, F = /*@__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
|
|
99
|
-
context:
|
|
100
|
-
confirmAction:
|
|
101
|
-
emptyDraft: () => q(
|
|
102
|
-
normalizeDraft: (e) => J(e,
|
|
98
|
+
let r = e, b = ee({ moduleAlias: "platform.module_action" }), D = pe(b, { client: re(b.http, `/platform.module/${encodeURIComponent(r.moduleAlias)}/actions`) }), O = S(""), k = S(!1), A = S([]), j = oe({
|
|
99
|
+
context: D,
|
|
100
|
+
confirmAction: ie,
|
|
101
|
+
emptyDraft: () => q(r.moduleAlias),
|
|
102
|
+
normalizeDraft: (e) => J(e, r.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:
|
|
118
|
-
if (
|
|
119
|
-
let e =
|
|
120
|
-
return JSON.stringify(
|
|
117
|
+
}), { selected: F, draft: I, mode: L, reloadKey: R, saving: z, cardTitle: Pe, canCreate: B, canEnable: Fe } = j, Ie = p(() => {
|
|
118
|
+
if (L.value === "view") return !1;
|
|
119
|
+
let e = F.value ? J(F.value, r.moduleAlias) : q(r.moduleAlias);
|
|
120
|
+
return JSON.stringify(I.value) !== JSON.stringify(e);
|
|
121
121
|
});
|
|
122
|
-
|
|
123
|
-
let
|
|
122
|
+
t("模块动作", () => Ie.value);
|
|
123
|
+
let V = p(() => D.can("sort") === !0), H = p(() => L.value !== "view" || z.value || !!O.value.trim()), Le = p(() => B.value), Re = p(() => A.value.map((e) => ({
|
|
124
124
|
value: e.executorKey,
|
|
125
125
|
label: e.description ? `${e.title} · ${e.description}` : e.title
|
|
126
|
-
}))),
|
|
126
|
+
}))), ze = p(() => (A.value.find((e) => e.executorKey === I.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
|
+
}))), Be = p(() => [
|
|
140
140
|
"actionCode",
|
|
141
141
|
"title",
|
|
142
142
|
"category",
|
|
143
143
|
"actionLevel",
|
|
144
144
|
"accessMode",
|
|
145
145
|
"executorType",
|
|
146
|
-
...Z(
|
|
146
|
+
...Z(I.value.executorKey) ? ["executorKey"] : [],
|
|
147
147
|
"actionAuth",
|
|
148
148
|
"dataAuth",
|
|
149
149
|
"defaultGrantPolicy",
|
|
150
|
-
...Z(
|
|
151
|
-
...Z(
|
|
152
|
-
...
|
|
153
|
-
...Z(
|
|
154
|
-
]),
|
|
150
|
+
...Z(I.value.availableExpression) ? ["availableExpression"] : [],
|
|
151
|
+
...Z(I.value.unavailableMessage) ? ["unavailableMessage"] : [],
|
|
152
|
+
...I.value.sourceType ? ["sourceType"] : [],
|
|
153
|
+
...Z(I.value.bindingAlias) ? ["bindingAlias"] : []
|
|
154
|
+
]), Ve = p(() => [
|
|
155
155
|
"actionCode",
|
|
156
156
|
"title",
|
|
157
157
|
"category",
|
|
158
158
|
"actionLevel",
|
|
159
159
|
"executorType",
|
|
160
|
-
...Z(
|
|
161
|
-
...
|
|
160
|
+
...Z(I.value.executorKey) ? ["executorKey"] : [],
|
|
161
|
+
...I.value.sourceType ? ["sourceType"] : []
|
|
162
162
|
]);
|
|
163
|
-
|
|
164
|
-
let
|
|
163
|
+
fe(() => void Je());
|
|
164
|
+
let He = p(() => j.readonly.value), U = p(() => He.value || j.saving.value), Ue = 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 && Ke(I.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 We(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 Ge(e) {
|
|
210
|
+
e.key === "edit" && j.startEdit(), e.key === "delete" && j.removeSelected(), e.key === "reset-permission-governance" && qe(), e.key === "cancel" && j.cancelEdit(), e.key === "save" && j.save();
|
|
211
211
|
}
|
|
212
|
-
function
|
|
212
|
+
function Ke(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 I.value[e] != null;
|
|
225
222
|
}
|
|
226
|
-
function
|
|
223
|
+
function G(e) {
|
|
224
|
+
K(e, void 0);
|
|
225
|
+
}
|
|
226
|
+
function qe() {
|
|
227
227
|
j.draft.value = {
|
|
228
228
|
...j.draft.value,
|
|
229
229
|
accessModeOverride: void 0,
|
|
@@ -232,28 +232,28 @@ 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 Je() {
|
|
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 = [], ne(e, {
|
|
246
246
|
source: "module-action-management",
|
|
247
247
|
phase: "load"
|
|
248
248
|
});
|
|
249
249
|
}
|
|
250
250
|
}
|
|
251
|
-
function
|
|
251
|
+
function Ye() {
|
|
252
252
|
j.startCreate();
|
|
253
253
|
}
|
|
254
|
-
function
|
|
254
|
+
function Xe(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,68 +342,86 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
342
342
|
}
|
|
343
343
|
}[e]?.[t] : void 0;
|
|
344
344
|
}
|
|
345
|
-
return (t,
|
|
345
|
+
return (t, r) => (x(), m(w(ce), {
|
|
346
346
|
"explorer-title": "模块动作",
|
|
347
347
|
"refresh-title": "刷新动作",
|
|
348
|
-
mode:
|
|
349
|
-
"detail-title":
|
|
350
|
-
"explorer-search-keyword":
|
|
348
|
+
mode: w(L),
|
|
349
|
+
"detail-title": w(Pe),
|
|
350
|
+
"explorer-search-keyword": O.value,
|
|
351
351
|
"explorer-search-placeholder": "搜索动作名称或编码",
|
|
352
|
-
"onUpdate:explorerSearchKeyword":
|
|
353
|
-
onRefresh:
|
|
352
|
+
"onUpdate:explorerSearchKeyword": r[23] ||= (e) => O.value = e,
|
|
353
|
+
onRefresh: r[24] ||= (e) => R.value += 1
|
|
354
354
|
}, {
|
|
355
|
-
"explorer-actions":
|
|
355
|
+
"explorer-actions": T(() => [V.value ? (x(), m(w(n), {
|
|
356
|
+
key: 0,
|
|
357
|
+
"icon-name": "swap-vertical",
|
|
358
|
+
"icon-only": "",
|
|
359
|
+
size: "small",
|
|
360
|
+
type: "text",
|
|
361
|
+
selected: k.value,
|
|
362
|
+
disabled: H.value,
|
|
363
|
+
title: O.value.trim() ? "清空搜索后可调整排序" : w(L) === "view" ? k.value ? "结束排序" : "调整排序" : "结束编辑后可调整排序",
|
|
364
|
+
"aria-label": k.value ? "结束排序" : "调整排序",
|
|
365
|
+
onClick: r[0] ||= (e) => k.value = !k.value
|
|
366
|
+
}, null, 8, [
|
|
367
|
+
"selected",
|
|
368
|
+
"disabled",
|
|
369
|
+
"title",
|
|
370
|
+
"aria-label"
|
|
371
|
+
])) : h("v-if", !0), y(w(se), {
|
|
356
372
|
class: "record-panel-create-button",
|
|
357
|
-
context:
|
|
373
|
+
context: w(D),
|
|
358
374
|
"action-code": "create",
|
|
359
375
|
title: "新建动作",
|
|
360
376
|
"icon-only": "",
|
|
361
|
-
disabled: !
|
|
362
|
-
onClick:
|
|
377
|
+
disabled: !Le.value || w(z),
|
|
378
|
+
onClick: Ye
|
|
363
379
|
}, null, 8, ["context", "disabled"])]),
|
|
364
|
-
explorer:
|
|
365
|
-
context:
|
|
366
|
-
"selected-id":
|
|
367
|
-
"reload-key":
|
|
368
|
-
keyword:
|
|
380
|
+
explorer: T(() => [y(w(de), {
|
|
381
|
+
context: w(D),
|
|
382
|
+
"selected-id": w(F)?.id,
|
|
383
|
+
"reload-key": w(R),
|
|
384
|
+
keyword: O.value,
|
|
385
|
+
sorting: k.value && V.value && !H.value,
|
|
369
386
|
"empty-description": "当前模块暂无动作",
|
|
370
387
|
"loading-tip": "加载模块动作",
|
|
371
388
|
"fallback-title": "未命名动作",
|
|
372
|
-
"item-of":
|
|
373
|
-
onLoaded:
|
|
374
|
-
onSelect:
|
|
389
|
+
"item-of": We,
|
|
390
|
+
onLoaded: r[1] ||= (e) => w(j).handleListLoaded(e),
|
|
391
|
+
onSelect: r[2] ||= (e) => w(j).handleSelect(e)
|
|
375
392
|
}, null, 8, [
|
|
376
393
|
"context",
|
|
377
394
|
"selected-id",
|
|
378
395
|
"reload-key",
|
|
379
|
-
"keyword"
|
|
396
|
+
"keyword",
|
|
397
|
+
"sorting"
|
|
380
398
|
])]),
|
|
381
|
-
"detail-status":
|
|
399
|
+
"detail-status": T(() => [w(L) === "view" && w(F) ? (x(), m(w(te), {
|
|
382
400
|
key: 0,
|
|
383
|
-
enabled:
|
|
384
|
-
disabled:
|
|
385
|
-
loading:
|
|
401
|
+
enabled: w(F).enabled,
|
|
402
|
+
disabled: w(z) || w(F).systemManaged === !0 || !w(Fe),
|
|
403
|
+
loading: w(z),
|
|
386
404
|
"show-label": !1,
|
|
387
|
-
onChange:
|
|
405
|
+
onChange: w(j).toggleEnabled
|
|
388
406
|
}, null, 8, [
|
|
389
407
|
"enabled",
|
|
390
408
|
"disabled",
|
|
391
409
|
"loading",
|
|
392
410
|
"onChange"
|
|
393
|
-
])) :
|
|
394
|
-
"detail-actions":
|
|
395
|
-
context:
|
|
396
|
-
actions:
|
|
397
|
-
onAction:
|
|
411
|
+
])) : h("v-if", !0)]),
|
|
412
|
+
"detail-actions": T(() => [y(w(ae), {
|
|
413
|
+
context: w(D),
|
|
414
|
+
actions: Ue.value,
|
|
415
|
+
onAction: Ge
|
|
398
416
|
}, null, 8, ["context", "actions"])]),
|
|
399
|
-
default:
|
|
417
|
+
default: T(() => [!w(F) && w(L) === "view" ? (x(), m(w(le), {
|
|
400
418
|
key: 0,
|
|
401
419
|
description: e.moduleKind === "static" ? "静态模块动作由 Java 声明自动注册" : "当前模块暂无动作"
|
|
402
|
-
}, null, 8, ["description"])) :
|
|
420
|
+
}, null, 8, ["description"])) : w(L) === "view" && w(F) ? (x(), m(w(s), {
|
|
403
421
|
key: 1,
|
|
404
|
-
record:
|
|
422
|
+
record: w(I),
|
|
405
423
|
"display-of": $,
|
|
406
|
-
"field-names":
|
|
424
|
+
"field-names": Be.value,
|
|
407
425
|
fallback: {
|
|
408
426
|
actionCode: { label: "动作编码" },
|
|
409
427
|
title: { label: "动作名称" },
|
|
@@ -420,14 +438,14 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
420
438
|
sourceType: { label: "注册来源" },
|
|
421
439
|
bindingAlias: { label: "绑定标识" }
|
|
422
440
|
}
|
|
423
|
-
}, null, 8, ["record", "field-names"])) :
|
|
441
|
+
}, null, 8, ["record", "field-names"])) : w(L) !== "create" && w(F)?.systemManaged ? (x(), g("form", {
|
|
424
442
|
key: 2,
|
|
425
443
|
class: "managed-action-editor",
|
|
426
|
-
onSubmit:
|
|
427
|
-
}, [
|
|
428
|
-
record:
|
|
444
|
+
onSubmit: r[11] ||= E((...e) => w(j).save && w(j).save(...e), ["prevent"])
|
|
445
|
+
}, [_("section", me, [r[25] ||= _("h3", null, "动作声明", -1), y(w(s), {
|
|
446
|
+
record: w(I),
|
|
429
447
|
"display-of": $,
|
|
430
|
-
"field-names":
|
|
448
|
+
"field-names": Ve.value,
|
|
431
449
|
fallback: {
|
|
432
450
|
actionCode: { label: "动作编码" },
|
|
433
451
|
title: { label: "动作名称" },
|
|
@@ -437,22 +455,22 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
437
455
|
executorKey: { label: "执行实现" },
|
|
438
456
|
sourceType: { label: "注册来源" }
|
|
439
457
|
}
|
|
440
|
-
}, null, 8, ["record", "field-names"])]),
|
|
441
|
-
|
|
442
|
-
default:
|
|
458
|
+
}, null, 8, ["record", "field-names"])]), _("section", he, [r[34] ||= _("h3", null, "权限治理", -1), _("div", ge, [
|
|
459
|
+
_("section", _e, [_("header", null, [_("div", null, [_("h4", null, [r[26] ||= v(" 访问方式 ", -1), y(w(d), { title: "决定调用动作前需要满足的身份条件。" }, {
|
|
460
|
+
default: T(() => [_("button", ve, [y(w(i), { name: "help" })])]),
|
|
443
461
|
_: 1
|
|
444
|
-
})])]),
|
|
462
|
+
})])]), _("span", ye, [W("accessModeOverride") ? (x(), m(w(o), {
|
|
445
463
|
key: 0,
|
|
446
464
|
type: "text",
|
|
447
465
|
size: "small",
|
|
448
|
-
disabled:
|
|
449
|
-
onClick:
|
|
466
|
+
disabled: U.value,
|
|
467
|
+
onClick: r[3] ||= (e) => G("accessModeOverride")
|
|
450
468
|
}, {
|
|
451
|
-
default:
|
|
469
|
+
default: T(() => [...r[27] ||= [v("重置", -1)]]),
|
|
452
470
|
_: 1
|
|
453
|
-
}, 8, ["disabled"])) :
|
|
454
|
-
value:
|
|
455
|
-
disabled:
|
|
471
|
+
}, 8, ["disabled"])) : h("v-if", !0)])]), y(w(f), {
|
|
472
|
+
value: w(I).accessModeOverride ?? w(I).accessMode,
|
|
473
|
+
disabled: U.value,
|
|
456
474
|
options: [
|
|
457
475
|
{
|
|
458
476
|
label: "需要授权",
|
|
@@ -467,23 +485,23 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
467
485
|
value: "ANONYMOUS_ALLOWED"
|
|
468
486
|
}
|
|
469
487
|
],
|
|
470
|
-
"onUpdate:value":
|
|
488
|
+
"onUpdate:value": r[4] ||= (e) => K("accessModeOverride", e)
|
|
471
489
|
}, null, 8, ["value", "disabled"])]),
|
|
472
|
-
|
|
473
|
-
default:
|
|
490
|
+
_("section", M, [_("header", null, [_("div", null, [_("h4", null, [r[28] ||= v(" 默认授予策略 ", -1), y(w(d), { title: "定义满足条件的用户首次获得动作时的默认规则。" }, {
|
|
491
|
+
default: T(() => [_("button", N, [y(w(i), { name: "help" })])]),
|
|
474
492
|
_: 1
|
|
475
|
-
})])]),
|
|
493
|
+
})])]), _("span", P, [W("defaultGrantPolicyOverride") ? (x(), m(w(o), {
|
|
476
494
|
key: 0,
|
|
477
495
|
type: "text",
|
|
478
496
|
size: "small",
|
|
479
|
-
disabled:
|
|
480
|
-
onClick:
|
|
497
|
+
disabled: U.value,
|
|
498
|
+
onClick: r[5] ||= (e) => G("defaultGrantPolicyOverride")
|
|
481
499
|
}, {
|
|
482
|
-
default:
|
|
500
|
+
default: T(() => [...r[29] ||= [v("重置", -1)]]),
|
|
483
501
|
_: 1
|
|
484
|
-
}, 8, ["disabled"])) :
|
|
485
|
-
value:
|
|
486
|
-
disabled:
|
|
502
|
+
}, 8, ["disabled"])) : h("v-if", !0)])]), y(w(f), {
|
|
503
|
+
value: w(I).defaultGrantPolicyOverride ?? w(I).defaultGrantPolicy,
|
|
504
|
+
disabled: U.value,
|
|
487
505
|
options: [
|
|
488
506
|
{
|
|
489
507
|
label: "不默认授予",
|
|
@@ -506,75 +524,75 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
506
524
|
value: "MEMBER"
|
|
507
525
|
}
|
|
508
526
|
],
|
|
509
|
-
"onUpdate:value":
|
|
527
|
+
"onUpdate:value": r[6] ||= (e) => K("defaultGrantPolicyOverride", e)
|
|
510
528
|
}, null, 8, ["value", "disabled"])]),
|
|
511
|
-
|
|
512
|
-
default:
|
|
529
|
+
_("section", be, [_("header", null, [_("div", null, [_("h4", null, [r[30] ||= v(" 动作授权 ", -1), y(w(d), { title: "控制角色是否需要被显式授予该动作。" }, {
|
|
530
|
+
default: T(() => [_("button", xe, [y(w(i), { name: "help" })])]),
|
|
513
531
|
_: 1
|
|
514
|
-
})])]),
|
|
532
|
+
})])]), _("span", Se, [W("actionAuthOverride") ? (x(), m(w(o), {
|
|
515
533
|
key: 0,
|
|
516
534
|
type: "text",
|
|
517
535
|
size: "small",
|
|
518
|
-
disabled:
|
|
519
|
-
onClick:
|
|
536
|
+
disabled: U.value,
|
|
537
|
+
onClick: r[7] ||= (e) => G("actionAuthOverride")
|
|
520
538
|
}, {
|
|
521
|
-
default:
|
|
539
|
+
default: T(() => [...r[31] ||= [v("重置", -1)]]),
|
|
522
540
|
_: 1
|
|
523
|
-
}, 8, ["disabled"])) :
|
|
524
|
-
checked: (
|
|
525
|
-
disabled:
|
|
541
|
+
}, 8, ["disabled"])) : h("v-if", !0)])]), _("div", Ce, [y(w(u), {
|
|
542
|
+
checked: (w(I).actionAuthOverride ?? w(I).actionAuth) !== !1,
|
|
543
|
+
disabled: U.value,
|
|
526
544
|
"checked-text": "开",
|
|
527
545
|
"unchecked-text": "关",
|
|
528
|
-
"onUpdate:checked":
|
|
529
|
-
}, null, 8, ["checked", "disabled"]),
|
|
530
|
-
|
|
531
|
-
default:
|
|
546
|
+
"onUpdate:checked": r[8] ||= (e) => K("actionAuthOverride", e)
|
|
547
|
+
}, null, 8, ["checked", "disabled"]), _("strong", null, C((w(I).actionAuthOverride ?? w(I).actionAuth) === !1 ? "未启用" : "已启用"), 1)])]),
|
|
548
|
+
_("section", we, [_("header", null, [_("div", null, [_("h4", null, [r[32] ||= v(" 数据授权 ", -1), y(w(d), { title: "启用后,读取和执行会继续按数据范围校验。" }, {
|
|
549
|
+
default: T(() => [_("button", Te, [y(w(i), { name: "help" })])]),
|
|
532
550
|
_: 1
|
|
533
|
-
})])]),
|
|
551
|
+
})])]), _("span", Ee, [W("dataAuthOverride") ? (x(), m(w(o), {
|
|
534
552
|
key: 0,
|
|
535
553
|
type: "text",
|
|
536
554
|
size: "small",
|
|
537
|
-
disabled:
|
|
538
|
-
onClick:
|
|
555
|
+
disabled: U.value,
|
|
556
|
+
onClick: r[9] ||= (e) => G("dataAuthOverride")
|
|
539
557
|
}, {
|
|
540
|
-
default:
|
|
558
|
+
default: T(() => [...r[33] ||= [v("重置", -1)]]),
|
|
541
559
|
_: 1
|
|
542
|
-
}, 8, ["disabled"])) :
|
|
543
|
-
checked: (
|
|
544
|
-
disabled:
|
|
560
|
+
}, 8, ["disabled"])) : h("v-if", !0)])]), _("div", De, [y(w(u), {
|
|
561
|
+
checked: (w(I).dataAuthOverride ?? w(I).dataAuth) === !0,
|
|
562
|
+
disabled: U.value,
|
|
545
563
|
"checked-text": "开",
|
|
546
564
|
"unchecked-text": "关",
|
|
547
|
-
"onUpdate:checked":
|
|
548
|
-
}, null, 8, ["checked", "disabled"]),
|
|
549
|
-
])])], 32)) : (
|
|
565
|
+
"onUpdate:checked": r[10] ||= (e) => K("dataAuthOverride", e)
|
|
566
|
+
}, null, 8, ["checked", "disabled"]), _("strong", null, C((w(I).dataAuthOverride ?? w(I).dataAuth) === !0 ? "已启用" : "未启用"), 1)])])
|
|
567
|
+
])])], 32)) : (x(), g("form", {
|
|
550
568
|
key: 3,
|
|
551
569
|
class: "static-record-form",
|
|
552
|
-
onSubmit:
|
|
570
|
+
onSubmit: r[22] ||= E((...e) => w(j).save && w(j).save(...e), ["prevent"])
|
|
553
571
|
}, [
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
value:
|
|
557
|
-
disabled:
|
|
558
|
-
"onUpdate:value":
|
|
572
|
+
r[45] ||= _("p", { class: "form-hint wide-field" }, " 可以先保存动作,再绑定执行能力。待绑定动作不可执行,页面引用后需完成绑定才能发布。 ", -1),
|
|
573
|
+
_("label", null, [r[35] ||= _("span", null, "动作编码", -1), y(w(l), {
|
|
574
|
+
value: w(I).actionCode,
|
|
575
|
+
disabled: U.value,
|
|
576
|
+
"onUpdate:value": r[12] ||= (e) => K("actionCode", e)
|
|
559
577
|
}, null, 8, ["value", "disabled"])]),
|
|
560
|
-
|
|
561
|
-
value:
|
|
562
|
-
disabled:
|
|
563
|
-
"onUpdate:value":
|
|
578
|
+
_("label", null, [r[36] ||= _("span", null, "动作名称", -1), y(w(l), {
|
|
579
|
+
value: w(I).title,
|
|
580
|
+
disabled: U.value,
|
|
581
|
+
"onUpdate:value": r[13] ||= (e) => K("title", e)
|
|
564
582
|
}, null, 8, ["value", "disabled"])]),
|
|
565
|
-
|
|
566
|
-
value:
|
|
567
|
-
disabled:
|
|
568
|
-
options:
|
|
569
|
-
"onUpdate:value":
|
|
583
|
+
_("label", null, [r[37] ||= _("span", null, "执行层级", -1), y(w(f), {
|
|
584
|
+
value: w(I).actionLevel,
|
|
585
|
+
disabled: U.value,
|
|
586
|
+
options: ze.value,
|
|
587
|
+
"onUpdate:value": r[14] ||= (e) => K("actionLevel", e)
|
|
570
588
|
}, null, 8, [
|
|
571
589
|
"value",
|
|
572
590
|
"disabled",
|
|
573
591
|
"options"
|
|
574
592
|
])]),
|
|
575
|
-
|
|
576
|
-
value:
|
|
577
|
-
disabled:
|
|
593
|
+
_("label", null, [r[38] ||= _("span", null, "访问方式", -1), y(w(f), {
|
|
594
|
+
value: w(I).accessMode,
|
|
595
|
+
disabled: U.value,
|
|
578
596
|
options: [
|
|
579
597
|
{
|
|
580
598
|
label: "需要授权",
|
|
@@ -589,40 +607,40 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
589
607
|
value: "ANONYMOUS_ALLOWED"
|
|
590
608
|
}
|
|
591
609
|
],
|
|
592
|
-
"onUpdate:value":
|
|
610
|
+
"onUpdate:value": r[15] ||= (e) => K("accessMode", e)
|
|
593
611
|
}, null, 8, ["value", "disabled"])]),
|
|
594
|
-
e.moduleKind === "dynamic" ? (
|
|
595
|
-
value:
|
|
612
|
+
e.moduleKind === "dynamic" ? (x(), g("label", Oe, [r[39] ||= _("span", null, "执行能力(可稍后绑定)", -1), y(w(f), {
|
|
613
|
+
value: w(I).executorKey,
|
|
596
614
|
"allow-clear": "",
|
|
597
615
|
placeholder: "待绑定",
|
|
598
|
-
disabled:
|
|
599
|
-
options:
|
|
600
|
-
"onUpdate:value":
|
|
616
|
+
disabled: U.value,
|
|
617
|
+
options: Re.value,
|
|
618
|
+
"onUpdate:value": r[16] ||= (e) => Xe(e)
|
|
601
619
|
}, null, 8, [
|
|
602
620
|
"value",
|
|
603
621
|
"disabled",
|
|
604
622
|
"options"
|
|
605
|
-
])])) :
|
|
606
|
-
e.moduleKind === "dynamic" ?
|
|
607
|
-
|
|
608
|
-
checked:
|
|
609
|
-
disabled:
|
|
610
|
-
"onUpdate:checked":
|
|
623
|
+
])])) : h("v-if", !0),
|
|
624
|
+
e.moduleKind === "dynamic" ? h("v-if", !0) : (x(), g("p", ke, " 静态模块通过同编码的代码动作声明绑定执行能力。 ")),
|
|
625
|
+
_("label", Ae, [y(w(a), {
|
|
626
|
+
checked: w(I).actionAuth !== !1,
|
|
627
|
+
disabled: U.value,
|
|
628
|
+
"onUpdate:checked": r[17] ||= (e) => K("actionAuth", e)
|
|
611
629
|
}, {
|
|
612
|
-
default:
|
|
630
|
+
default: T(() => [...r[40] ||= [v("启用动作授权", -1)]]),
|
|
613
631
|
_: 1
|
|
614
632
|
}, 8, ["checked", "disabled"])]),
|
|
615
|
-
|
|
616
|
-
checked:
|
|
617
|
-
disabled:
|
|
618
|
-
"onUpdate:checked":
|
|
633
|
+
_("label", je, [y(w(a), {
|
|
634
|
+
checked: w(I).dataAuth === !0,
|
|
635
|
+
disabled: U.value,
|
|
636
|
+
"onUpdate:checked": r[18] ||= (e) => K("dataAuth", e)
|
|
619
637
|
}, {
|
|
620
|
-
default:
|
|
638
|
+
default: T(() => [...r[41] ||= [v("启用数据授权", -1)]]),
|
|
621
639
|
_: 1
|
|
622
640
|
}, 8, ["checked", "disabled"])]),
|
|
623
|
-
|
|
624
|
-
value:
|
|
625
|
-
disabled:
|
|
641
|
+
_("label", null, [r[42] ||= _("span", null, "默认授予策略", -1), y(w(f), {
|
|
642
|
+
value: w(I).defaultGrantPolicy,
|
|
643
|
+
disabled: U.value,
|
|
626
644
|
options: [
|
|
627
645
|
{
|
|
628
646
|
label: "不默认授予",
|
|
@@ -645,22 +663,22 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
645
663
|
value: "MEMBER"
|
|
646
664
|
}
|
|
647
665
|
],
|
|
648
|
-
"onUpdate:value":
|
|
666
|
+
"onUpdate:value": r[19] ||= (e) => K("defaultGrantPolicy", e)
|
|
649
667
|
}, null, 8, ["value", "disabled"])]),
|
|
650
|
-
|
|
651
|
-
value:
|
|
652
|
-
disabled:
|
|
653
|
-
"onUpdate:value":
|
|
668
|
+
_("label", Me, [r[43] ||= _("span", null, "可用条件表达式", -1), y(w(c), {
|
|
669
|
+
value: w(I).availableExpression,
|
|
670
|
+
disabled: U.value,
|
|
671
|
+
"onUpdate:value": r[20] ||= (e) => K("availableExpression", e)
|
|
654
672
|
}, null, 8, ["value", "disabled"])]),
|
|
655
|
-
|
|
656
|
-
value:
|
|
657
|
-
disabled:
|
|
658
|
-
"onUpdate:value":
|
|
673
|
+
_("label", Ne, [r[44] ||= _("span", null, "不可用提示", -1), y(w(c), {
|
|
674
|
+
value: w(I).unavailableMessage,
|
|
675
|
+
disabled: U.value,
|
|
676
|
+
"onUpdate:value": r[21] ||= (e) => K("unavailableMessage", e)
|
|
659
677
|
}, null, 8, ["value", "disabled"])])
|
|
660
|
-
], 32)),
|
|
678
|
+
], 32)), w(F) || w(L) !== "view" ? (x(), m(w(ue), {
|
|
661
679
|
key: 4,
|
|
662
|
-
record:
|
|
663
|
-
}, null, 8, ["record"])) :
|
|
680
|
+
record: w(I)
|
|
681
|
+
}, null, 8, ["record"])) : h("v-if", !0)]),
|
|
664
682
|
_: 1
|
|
665
683
|
}, 8, [
|
|
666
684
|
"mode",
|
|
@@ -668,6 +686,6 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
668
686
|
"explorer-search-keyword"
|
|
669
687
|
]));
|
|
670
688
|
}
|
|
671
|
-
}),
|
|
689
|
+
}), I = /* @__PURE__ */ e({ default: () => L }), L = /*#__PURE__*/ r(F, [["__scopeId", "data-v-c2404f92"]]);
|
|
672
690
|
//#endregion
|
|
673
|
-
export {
|
|
691
|
+
export { I as n, L as t };
|