@ximatai/muyun-web-app 0.26.8 → 0.26.10
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/{MetadataOrchestrationView-DKYVGMzy.js → MetadataOrchestrationView-BhtVwJII.js} +210 -204
- package/dist/{ModuleActionManagementView-DiVzuPdu.js → ModuleActionManagementView-DpZS-xAD.js} +74 -74
- package/dist/{RoleAuthorizationView-C0s4Bog7.js → RoleAuthorizationView-8lilhtMB.js} +193 -139
- package/dist/{RoleDetailWorkspaceView-dqHxKVfd.js → RoleDetailWorkspaceView-CFha6JHn.js} +1 -1
- package/dist/{RoleManagementView-D43pUCxi.js → RoleManagementView-0_KDrzgh.js} +572 -550
- package/dist/index.css +1 -1
- package/dist/index.js +536 -4427
- package/dist/{platform-components-CFU_zR7-.js → platform-components-oRIsIoxu.js} +5154 -3608
- package/dist/types/App.vue.d.ts +1 -0
- package/dist/types/app/StaticRoutePageHost.vue.d.ts +13 -0
- package/dist/types/app/loginTenant.d.ts +1 -1
- package/dist/types/app/menuRouteCompiler.d.ts +45 -0
- package/dist/types/app/menuRouteRuntime.d.ts +24 -0
- package/dist/types/app/pageRouteContext.d.ts +24 -0
- package/dist/types/app/routeDiagnosticsStore.d.ts +10 -0
- package/dist/types/app/router.d.ts +15 -0
- package/dist/types/app/staticRouteDefinitions.d.ts +25 -0
- package/dist/types/app/workbenchRouteSync.d.ts +1 -1
- package/dist/types/app/workbenchStartup.d.ts +3 -3
- package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +4 -2
- package/dist/types/consumer/index.d.ts +5 -3
- package/dist/types/dynamic-page-runtime/DynamicModuleHost.vue.d.ts +3 -10
- package/dist/types/dynamic-page-runtime/DynamicRecordDetailActions.vue.d.ts +4 -3
- package/dist/types/dynamic-page-runtime/ManagedDetailRelationInlineSurface.vue.d.ts +42 -0
- package/dist/types/dynamic-page-runtime/ManagedDetailRelationSurface.vue.d.ts +15 -0
- package/dist/types/dynamic-page-runtime/ModulePageDetailRelations.vue.d.ts +28 -0
- package/dist/types/dynamic-page-runtime/ModulePageFormContributionRenderer.vue.d.ts +12 -0
- package/dist/types/dynamic-page-runtime/ModulePageHost.vue.d.ts +14 -0
- package/dist/types/dynamic-page-runtime/ModulePageListExpansionSurface.vue.d.ts +20 -0
- package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansion.vue.d.ts +14 -0
- package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansions.vue.d.ts +17 -0
- package/dist/types/dynamic-page-runtime/ModulePageRecordContent.vue.d.ts +44 -0
- package/dist/types/dynamic-page-runtime/ModuleRecordDetailActions.vue.d.ts +41 -0
- package/dist/types/dynamic-page-runtime/NavigatorManagementEditor.vue.d.ts +20 -1
- package/dist/types/dynamic-page-runtime/PageNavigatorExplorer.vue.d.ts +17 -5
- package/dist/types/dynamic-page-runtime/RecordFormSurface.vue.d.ts +31 -0
- package/dist/types/dynamic-page-runtime/composables/useManagedDetailRelationRuntime.d.ts +30 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageActions.d.ts +13 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageBootstrap.d.ts +17 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageDetailActionRuntime.d.ts +48 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageDetailExtensionRuntime.d.ts +28 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageFormContributionRuntime.d.ts +22 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageListSession.d.ts +41 -0
- package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +1378 -0
- package/dist/types/dynamic-page-runtime/composables/useRecordEditingSession.d.ts +23 -0
- package/dist/types/dynamic-page-runtime/dynamicModuleDetailStateModel.d.ts +5 -12
- package/dist/types/dynamic-page-runtime/formComputeCoordinator.d.ts +18 -0
- package/dist/types/dynamic-page-runtime/index.d.ts +4 -2
- package/dist/types/dynamic-page-runtime/listPageSizePreference.d.ts +10 -0
- package/dist/types/dynamic-page-runtime/moduleDetailStateModel.d.ts +12 -0
- package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +215 -9
- package/dist/types/dynamic-page-runtime/navigatorEntrySelection.d.ts +18 -0
- package/dist/types/dynamic-page-runtime/navigatorVisibility.d.ts +6 -0
- package/dist/types/dynamic-page-runtime/pageContextRuntime.d.ts +10 -2
- package/dist/types/dynamic-page-runtime/pageNavigatorItemModel.d.ts +13 -0
- package/dist/types/dynamic-page-runtime/recordDetailController.d.ts +12 -3
- package/dist/types/dynamic-page-runtime/relationFormComputeCoordinator.d.ts +9 -0
- package/dist/types/formula/FormulaRuntime.d.ts +29 -0
- package/dist/types/platform-admin-runtime/WorkspaceViewDrawer.vue.d.ts +1 -0
- package/dist/types/{views/SystemUserManagementView.vue.d.ts → platform-admin-runtime/employee/EmployeeAccountDrawer.vue.d.ts} +2 -2
- package/dist/types/platform-admin-runtime/employeeModulePageEnhancement.d.ts +3 -0
- package/dist/types/platform-admin-runtime/index.d.ts +1 -1
- package/dist/types/platform-admin-runtime/moduleOpenApi.d.ts +2 -0
- package/dist/types/platform-admin-runtime/passwordPolicyPageEnhancement.d.ts +6 -0
- package/dist/types/platform-admin-runtime/platformAdminRoutes.d.ts +1 -6
- package/dist/types/platform-admin-runtime/platformModulePageEnhancement.d.ts +15 -0
- package/dist/types/{views/EmployeeManagementView.vue.d.ts → platform-admin-runtime/tenant/TenantApplicationConfigurationDrawer.vue.d.ts} +2 -2
- package/dist/types/platform-admin-runtime/tenant/TenantApplicationsDetailSection.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/tenantModulePageEnhancement.d.ts +7 -0
- package/dist/types/platform-admin-runtime/user/UserOnlineStatusCell.vue.d.ts +8 -0
- package/dist/types/platform-admin-runtime/user/UserPasswordDrawer.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/user/UserSessionListExpansion.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/user/useUserSessionRows.d.ts +23 -0
- package/dist/types/platform-admin-runtime/user/userOnlineStatusStore.d.ts +11 -0
- package/dist/types/platform-admin-runtime/userModulePageEnhancement.d.ts +7 -0
- package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +8 -2
- package/dist/types/platform-components/DetailRelationListPanel.vue.d.ts +13 -0
- package/dist/types/{views/SystemUserDetailWorkspaceView.vue.d.ts → platform-components/DrawerTitleActions.vue.d.ts} +2 -2
- package/dist/types/platform-components/FileTransferUploader.vue.d.ts +7 -0
- package/dist/types/platform-components/ManagementPanelHeader.vue.d.ts +2 -0
- package/dist/types/platform-components/ModuleActionButton.vue.d.ts +5 -2
- package/dist/types/platform-components/RecordContentSectionHeading.vue.d.ts +17 -0
- package/dist/types/platform-components/RecordDetailDrawer.vue.d.ts +5 -0
- package/dist/types/platform-components/RecordDetailExtensionSection.vue.d.ts +8 -3
- package/dist/types/platform-components/RecordDetailFields.vue.d.ts +5 -0
- package/dist/types/platform-components/RecordDetailLayout.vue.d.ts +11 -3
- package/dist/types/platform-components/RecordDetailPanel.vue.d.ts +14 -6
- package/dist/types/platform-components/RecordExpandedSubtable.vue.d.ts +3 -0
- package/dist/types/platform-components/RecordExplorerPanel.vue.d.ts +2 -0
- package/dist/types/platform-components/RecordFileReferenceTransfer.vue.d.ts +4 -0
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +29 -1
- package/dist/types/platform-components/RecordImageFileReferencePreview.vue.d.ts +11 -0
- package/dist/types/platform-components/RecordListExpansionSurface.vue.d.ts +13 -0
- package/dist/types/platform-components/RecordListExplorer.vue.d.ts +4 -2
- package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +4 -1
- package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +12 -2
- package/dist/types/platform-components/RecordPanelButton.vue.d.ts +2 -0
- package/dist/types/platform-components/RecordPicker.vue.d.ts +12 -2
- package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +39 -5
- package/dist/types/{views/EmployeeEmploymentDrawer.vue.d.ts → platform-components/RecordRelationTabs.vue.d.ts} +7 -7
- package/dist/types/platform-components/RecordSelectionCheckbox.vue.d.ts +13 -0
- package/dist/types/platform-components/RecordStatusSwitch.vue.d.ts +2 -0
- package/dist/types/platform-components/StaticManagementLayout.vue.d.ts +12 -4
- package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +8 -2
- package/dist/types/platform-components/UserSessionExpandedSubtable.vue.d.ts +2 -0
- package/dist/types/platform-components/drawerTitleActions.d.ts +11 -0
- package/dist/types/platform-components/index.d.ts +11 -5
- package/dist/types/platform-components/optionFieldOptionCache.d.ts +3 -0
- package/dist/types/platform-components/recordDetailFieldModel.d.ts +2 -0
- package/dist/types/platform-components/recordFormFieldModel.d.ts +82 -5
- package/dist/types/platform-components/recordPickerConstraints.d.ts +4 -0
- package/dist/types/platform-components/recordPickerModel.d.ts +6 -2
- package/dist/types/platform-workbench/Workbench.vue.d.ts +4 -2
- package/dist/types/platform-workbench/index.d.ts +3 -2
- package/dist/types/platform-workbench/legacyPageHostTypeCompatibility.d.ts +6 -0
- package/dist/types/platform-workbench/menuNavigation.d.ts +24 -2
- package/dist/types/platform-workbench/pageCacheKey.d.ts +2 -0
- package/dist/types/platform-workbench/pageHostRegistry.d.ts +1 -1
- package/dist/types/platform-workbench/workbenchNavigation.d.ts +14 -1
- package/dist/types/views/PasswordPolicyPreview.vue.d.ts +7 -0
- package/dist/types/views/RoleAccountGrantDrawer.vue.d.ts +1 -0
- package/dist/types/views/RoleAuthorizationView.vue.d.ts +2 -0
- package/dist/types/views/RoleEmploymentGrantDrawer.vue.d.ts +1 -0
- package/dist/types/views/{EmployeeDetailWorkspaceView.vue.d.ts → UserDetailRouteView.vue.d.ts} +3 -1
- package/dist/types/views/UserManagementView.vue.d.ts +1 -6
- package/dist/types/views/userDetailStateModel.d.ts +1 -3
- package/dist/types/views/userManagementRouteState.d.ts +11 -0
- package/dist/types/vue-ui-antdv/components/UiButton.vue.d.ts +3 -0
- package/dist/types/vue-ui-antdv/components/UiIcon.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiInput.vue.d.ts +2 -1
- package/dist/types/vue-ui-antdv/components/UiRadioGroup.vue.d.ts +18 -0
- package/dist/types/vue-ui-antdv/components/UiRecordExplorerItem.vue.d.ts +2 -2
- package/dist/types/vue-ui-antdv/components/UiSidePanel.vue.d.ts +4 -2
- package/dist/types/vue-ui-antdv/components/UiSwitch.vue.d.ts +2 -0
- package/dist/types/vue-ui-antdv/components/UiTree.vue.d.ts +4 -2
- package/dist/types/vue-ui-antdv/index.d.ts +4 -2
- package/dist/types/web-contracts/index.d.ts +375 -14
- package/dist/types/web-core/businessNotifications.d.ts +3 -2
- package/dist/types/web-core/http.d.ts +6 -0
- package/dist/types/web-core/index.d.ts +1 -0
- package/dist/types/web-core/module/abilities.d.ts +7 -7
- package/dist/types/web-core/module/index.d.ts +1 -1
- package/dist/types/web-core/module/moduleContext.d.ts +6 -3
- package/dist/types/web-core/module/runtimeContext.d.ts +2 -0
- package/dist/types/web-core/module/staticModuleClient.d.ts +42 -10
- package/dist/types/web-core/realtime.d.ts +8 -0
- package/dist/types/web-core/referenceResolveClient.d.ts +11 -0
- package/dist/workspaceViews-D-RiJ64o.js +9078 -0
- package/package.json +1 -1
- package/dist/EmployeeDetailWorkspaceView-DswEDSxH.js +0 -14
- package/dist/EmployeeManagementView-C9STtw08.js +0 -1777
- package/dist/SystemUserDetailWorkspaceView-CQ9WeLrR.js +0 -17
- package/dist/SystemUserManagementView-D75_ylYk.js +0 -758
- package/dist/UserDetailWorkspaceView-BCST01d2.js +0 -17
- package/dist/UserManagementView-CcdvDo_y.js +0 -964
- package/dist/pageRealtime-EAiGWKEo.js +0 -227
- package/dist/types/platform-components/scopedResourceTreeModuleContext.d.ts +0 -6
- package/dist/types/views/EmployeeDetailContent.vue.d.ts +0 -64
- package/dist/types/views/UserDetailWorkspaceView.vue.d.ts +0 -7
- package/dist/types/views/dictionaryManagementState.d.ts +0 -215
- package/dist/types/views/employeeDetailStateModel.d.ts +0 -39
- package/dist/types/views/employeeDetailWorkspaceSession.d.ts +0 -16
- package/dist/types/views/employeeDetailWorkspaceView.d.ts +0 -4
- package/dist/types/views/fieldUiControlManagementState.d.ts +0 -76
- package/dist/types/views/menuManagementState.d.ts +0 -178
- package/dist/types/views/moduleManagementState.d.ts +0 -76
- package/dist/types/views/positionManagementState.d.ts +0 -218
- package/dist/types/views/systemUserDetailWorkspaceSession.d.ts +0 -12
- package/dist/types/views/systemUserDetailWorkspaceView.d.ts +0 -5
- package/dist/types/views/tenantManagementState.d.ts +0 -74
- package/dist/types/views/useEmployeeEmploymentRows.d.ts +0 -20
- package/dist/types/views/userDetailWorkspaceSession.d.ts +0 -14
- package/dist/types/views/userDetailWorkspaceView.d.ts +0 -4
- package/dist/useUserSessionRows-DCpUZCzN.js +0 -128
- package/dist/workspaceViewSessions-Dj1LjdG1.js +0 -4984
- /package/dist/types/views/{DictionaryManagementView.vue.d.ts → DynamicModuleRouteView.vue.d.ts} +0 -0
- /package/dist/types/views/{FieldUiControlManagementView.vue.d.ts → ExternalRouteView.vue.d.ts} +0 -0
- /package/dist/types/views/{MenuManagementView.vue.d.ts → ModuleOpenApiRouteView.vue.d.ts} +0 -0
- /package/dist/types/views/{ModuleManagementView.vue.d.ts → OpenApiCatalogRouteView.vue.d.ts} +0 -0
- /package/dist/types/views/{PasswordManagementView.vue.d.ts → RouteDiagnosticsView.vue.d.ts} +0 -0
- /package/dist/types/views/{PositionManagementView.vue.d.ts → UserManagementListView.vue.d.ts} +0 -0
- /package/dist/types/views/{TenantManagementView.vue.d.ts → WorkspaceRouteView.vue.d.ts} +0 -0
package/dist/{ModuleActionManagementView-DiVzuPdu.js → ModuleActionManagementView-DpZS-xAD.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as e,
|
|
1
|
+
import { At as e, Dt as t, H as n, It as r, Lt as i, Mt as a, Nt as o, Rt as s, St as c, Wt as ee, _ as te, at as l, en as ne, i as re, j as u, jt as d, l as ie, p as ae, q as oe, rt as se, t as ce, ut as le, vt as ue } from "./platform-components-oRIsIoxu.js";
|
|
2
2
|
import { computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createTextVNode as _, createVNode as v, defineComponent as y, onMounted as de, openBlock as b, ref as x, toDisplayString as S, unref as C, withCtx as w, withModifiers as T } from "vue";
|
|
3
3
|
//#region src/views/ModuleActionManagementView.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var fe = { class: "action-declaration-section" }, pe = { class: "permission-governance-section" }, me = { class: "governance-grid" }, he = { class: "governance-item" }, ge = {
|
|
@@ -17,7 +17,7 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
17
17
|
type: "button",
|
|
18
18
|
class: "governance-help",
|
|
19
19
|
"aria-label": "数据授权说明"
|
|
20
|
-
}, M = { class: "governance-reset-slot" }, N = { class: "governance-switch-control" }, xe = { class: "checkbox-field" }, Se = { class: "checkbox-field" }, Ce = { class: "wide-field" }, we = { class: "wide-field" }, P = /*#__PURE__*/
|
|
20
|
+
}, M = { class: "governance-reset-slot" }, N = { class: "governance-switch-control" }, xe = { class: "checkbox-field" }, Se = { class: "checkbox-field" }, Ce = { class: "wide-field" }, we = { class: "wide-field" }, P = /*#__PURE__*/ s(/* @__PURE__ */ y({
|
|
21
21
|
name: "ModuleActionManagementView",
|
|
22
22
|
__name: "ModuleActionManagementView",
|
|
23
23
|
props: {
|
|
@@ -26,10 +26,10 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
26
26
|
moduleKind: {},
|
|
27
27
|
title: {}
|
|
28
28
|
},
|
|
29
|
-
setup(
|
|
30
|
-
let y =
|
|
29
|
+
setup(s) {
|
|
30
|
+
let y = s, P = ee({ moduleAlias: "platform.module_action" }), F = re(P, { client: ne(P.http, `/platform.module/${encodeURIComponent(y.moduleAlias)}/actions`) }), I = x(""), L = x([]), R = ce({
|
|
31
31
|
context: F,
|
|
32
|
-
confirmAction:
|
|
32
|
+
confirmAction: le,
|
|
33
33
|
emptyDraft: () => He(y.moduleAlias),
|
|
34
34
|
normalizeDraft: (e) => J(e, y.moduleAlias),
|
|
35
35
|
copyRecord: (e) => ({ ...e }),
|
|
@@ -163,7 +163,7 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
163
163
|
try {
|
|
164
164
|
L.value = await P.http.request({ path: "/platform.module/action-executors" });
|
|
165
165
|
} catch (e) {
|
|
166
|
-
L.value = [],
|
|
166
|
+
L.value = [], l(e, {
|
|
167
167
|
source: "module-action-management",
|
|
168
168
|
phase: "load"
|
|
169
169
|
});
|
|
@@ -269,17 +269,17 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
269
269
|
}
|
|
270
270
|
}[e]?.[t] : void 0;
|
|
271
271
|
}
|
|
272
|
-
return (
|
|
272
|
+
return (ee, l) => (b(), p(C(ie), {
|
|
273
273
|
"explorer-title": "模块动作",
|
|
274
274
|
"refresh-title": "刷新动作",
|
|
275
275
|
mode: C(V),
|
|
276
276
|
"detail-title": C(Te),
|
|
277
277
|
"explorer-search-keyword": I.value,
|
|
278
278
|
"explorer-search-placeholder": "搜索动作名称或编码",
|
|
279
|
-
"onUpdate:explorerSearchKeyword":
|
|
280
|
-
onRefresh:
|
|
279
|
+
"onUpdate:explorerSearchKeyword": l[22] ||= (e) => I.value = e,
|
|
280
|
+
onRefresh: l[23] ||= (e) => H.value += 1
|
|
281
281
|
}, {
|
|
282
|
-
"explorer-actions": w(() => [v(C(
|
|
282
|
+
"explorer-actions": w(() => [v(C(oe), {
|
|
283
283
|
class: "record-panel-create-button",
|
|
284
284
|
context: C(F),
|
|
285
285
|
"action-code": "create",
|
|
@@ -288,7 +288,7 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
288
288
|
disabled: !Oe.value || C(U),
|
|
289
289
|
onClick: Be
|
|
290
290
|
}, null, 8, ["context", "disabled"])]),
|
|
291
|
-
explorer: w(() => [v(C(
|
|
291
|
+
explorer: w(() => [v(C(se), {
|
|
292
292
|
context: C(F),
|
|
293
293
|
"selected-id": C(z)?.id,
|
|
294
294
|
"reload-key": C(H),
|
|
@@ -297,15 +297,15 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
297
297
|
"loading-tip": "加载模块动作",
|
|
298
298
|
"fallback-title": "未命名动作",
|
|
299
299
|
"item-of": Fe,
|
|
300
|
-
onLoaded:
|
|
301
|
-
onSelect:
|
|
300
|
+
onLoaded: l[0] ||= (e) => C(R).handleListLoaded(e),
|
|
301
|
+
onSelect: l[1] ||= (e) => C(R).handleSelect(e)
|
|
302
302
|
}, null, 8, [
|
|
303
303
|
"context",
|
|
304
304
|
"selected-id",
|
|
305
305
|
"reload-key",
|
|
306
306
|
"keyword"
|
|
307
307
|
])]),
|
|
308
|
-
"detail-status": w(() => [C(V) === "view" && C(z) ? (b(), p(C(
|
|
308
|
+
"detail-status": w(() => [C(V) === "view" && C(z) ? (b(), p(C(te), {
|
|
309
309
|
key: 0,
|
|
310
310
|
enabled: C(z).enabled,
|
|
311
311
|
disabled: C(U) || C(z).systemManaged === !0 || !C(De),
|
|
@@ -318,15 +318,15 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
318
318
|
"loading",
|
|
319
319
|
"onChange"
|
|
320
320
|
])) : m("v-if", !0)]),
|
|
321
|
-
"detail-actions": w(() => [v(C(
|
|
321
|
+
"detail-actions": w(() => [v(C(n), {
|
|
322
322
|
context: C(F),
|
|
323
323
|
actions: Pe.value,
|
|
324
324
|
onAction: Ie
|
|
325
325
|
}, null, 8, ["context", "actions"])]),
|
|
326
|
-
default: w(() => [!C(z) && C(V) === "view" ? (b(), p(C(
|
|
326
|
+
default: w(() => [!C(z) && C(V) === "view" ? (b(), p(C(ue), {
|
|
327
327
|
key: 0,
|
|
328
|
-
description:
|
|
329
|
-
}, null, 8, ["description"])) : C(V) === "view" && C(z) ? (b(), p(C(
|
|
328
|
+
description: s.moduleKind === "static" ? "静态模块动作由 Java 声明自动注册" : "当前模块暂无动作"
|
|
329
|
+
}, null, 8, ["description"])) : C(V) === "view" && C(z) ? (b(), p(C(u), {
|
|
330
330
|
key: 1,
|
|
331
331
|
record: C(B),
|
|
332
332
|
"display-of": $,
|
|
@@ -350,8 +350,8 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
350
350
|
}, null, 8, ["record", "field-names"])) : C(z)?.systemManaged ? (b(), h("form", {
|
|
351
351
|
key: 2,
|
|
352
352
|
class: "managed-action-editor",
|
|
353
|
-
onSubmit:
|
|
354
|
-
}, [g("section", fe, [
|
|
353
|
+
onSubmit: l[10] ||= T((...e) => C(R).save && C(R).save(...e), ["prevent"])
|
|
354
|
+
}, [g("section", fe, [l[24] ||= g("h3", null, "动作声明", -1), v(C(u), {
|
|
355
355
|
record: C(B),
|
|
356
356
|
"display-of": $,
|
|
357
357
|
"field-names": Me.value,
|
|
@@ -364,20 +364,20 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
364
364
|
executorKey: { label: "执行实现" },
|
|
365
365
|
sourceType: { label: "注册来源" }
|
|
366
366
|
}
|
|
367
|
-
}, null, 8, ["record", "field-names"])]), g("section", pe, [
|
|
368
|
-
g("section", he, [g("header", null, [g("div", null, [g("h4", null, [
|
|
369
|
-
default: w(() => [g("button", ge, [v(C(
|
|
367
|
+
}, null, 8, ["record", "field-names"])]), g("section", pe, [l[33] ||= g("h3", null, "权限治理", -1), g("div", me, [
|
|
368
|
+
g("section", he, [g("header", null, [g("div", null, [g("h4", null, [l[25] ||= _(" 访问方式 ", -1), v(C(t), { title: "决定调用动作前需要满足的身份条件。" }, {
|
|
369
|
+
default: w(() => [g("button", ge, [v(C(i), { name: "help" })])]),
|
|
370
370
|
_: 1
|
|
371
|
-
})])]), g("span", _e, [G("accessModeOverride") ? (b(), p(C(
|
|
371
|
+
})])]), g("span", _e, [G("accessModeOverride") ? (b(), p(C(r), {
|
|
372
372
|
key: 0,
|
|
373
373
|
type: "text",
|
|
374
374
|
size: "small",
|
|
375
375
|
disabled: W.value,
|
|
376
|
-
onClick:
|
|
376
|
+
onClick: l[2] ||= (e) => K("accessModeOverride")
|
|
377
377
|
}, {
|
|
378
|
-
default: w(() => [...
|
|
378
|
+
default: w(() => [...l[26] ||= [_("重置", -1)]]),
|
|
379
379
|
_: 1
|
|
380
|
-
}, 8, ["disabled"])) : m("v-if", !0)])]), v(C(
|
|
380
|
+
}, 8, ["disabled"])) : m("v-if", !0)])]), v(C(a), {
|
|
381
381
|
value: C(B).accessModeOverride ?? C(B).accessMode,
|
|
382
382
|
disabled: W.value,
|
|
383
383
|
options: [
|
|
@@ -394,21 +394,21 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
394
394
|
value: "ANONYMOUS_ALLOWED"
|
|
395
395
|
}
|
|
396
396
|
],
|
|
397
|
-
"onUpdate:value":
|
|
397
|
+
"onUpdate:value": l[3] ||= (e) => q("accessModeOverride", e)
|
|
398
398
|
}, null, 8, ["value", "disabled"])]),
|
|
399
|
-
g("section", ve, [g("header", null, [g("div", null, [g("h4", null, [
|
|
400
|
-
default: w(() => [g("button", ye, [v(C(
|
|
399
|
+
g("section", ve, [g("header", null, [g("div", null, [g("h4", null, [l[27] ||= _(" 默认授予策略 ", -1), v(C(t), { title: "定义满足条件的用户首次获得动作时的默认规则。" }, {
|
|
400
|
+
default: w(() => [g("button", ye, [v(C(i), { name: "help" })])]),
|
|
401
401
|
_: 1
|
|
402
|
-
})])]), g("span", be, [G("defaultGrantPolicyOverride") ? (b(), p(C(
|
|
402
|
+
})])]), g("span", be, [G("defaultGrantPolicyOverride") ? (b(), p(C(r), {
|
|
403
403
|
key: 0,
|
|
404
404
|
type: "text",
|
|
405
405
|
size: "small",
|
|
406
406
|
disabled: W.value,
|
|
407
|
-
onClick:
|
|
407
|
+
onClick: l[4] ||= (e) => K("defaultGrantPolicyOverride")
|
|
408
408
|
}, {
|
|
409
|
-
default: w(() => [...
|
|
409
|
+
default: w(() => [...l[28] ||= [_("重置", -1)]]),
|
|
410
410
|
_: 1
|
|
411
|
-
}, 8, ["disabled"])) : m("v-if", !0)])]), v(C(
|
|
411
|
+
}, 8, ["disabled"])) : m("v-if", !0)])]), v(C(a), {
|
|
412
412
|
value: C(B).defaultGrantPolicyOverride ?? C(B).defaultGrantPolicy,
|
|
413
413
|
disabled: W.value,
|
|
414
414
|
options: [
|
|
@@ -433,73 +433,73 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
433
433
|
value: "MEMBER"
|
|
434
434
|
}
|
|
435
435
|
],
|
|
436
|
-
"onUpdate:value":
|
|
436
|
+
"onUpdate:value": l[5] ||= (e) => q("defaultGrantPolicyOverride", e)
|
|
437
437
|
}, null, 8, ["value", "disabled"])]),
|
|
438
|
-
g("section", E, [g("header", null, [g("div", null, [g("h4", null, [
|
|
439
|
-
default: w(() => [g("button", D, [v(C(
|
|
438
|
+
g("section", E, [g("header", null, [g("div", null, [g("h4", null, [l[29] ||= _(" 动作授权 ", -1), v(C(t), { title: "控制角色是否需要被显式授予该动作。" }, {
|
|
439
|
+
default: w(() => [g("button", D, [v(C(i), { name: "help" })])]),
|
|
440
440
|
_: 1
|
|
441
|
-
})])]), g("span", O, [G("actionAuthOverride") ? (b(), p(C(
|
|
441
|
+
})])]), g("span", O, [G("actionAuthOverride") ? (b(), p(C(r), {
|
|
442
442
|
key: 0,
|
|
443
443
|
type: "text",
|
|
444
444
|
size: "small",
|
|
445
445
|
disabled: W.value,
|
|
446
|
-
onClick:
|
|
446
|
+
onClick: l[6] ||= (e) => K("actionAuthOverride")
|
|
447
447
|
}, {
|
|
448
|
-
default: w(() => [...
|
|
448
|
+
default: w(() => [...l[30] ||= [_("重置", -1)]]),
|
|
449
449
|
_: 1
|
|
450
|
-
}, 8, ["disabled"])) : m("v-if", !0)])]), g("div", k, [v(C(
|
|
450
|
+
}, 8, ["disabled"])) : m("v-if", !0)])]), g("div", k, [v(C(c), {
|
|
451
451
|
checked: (C(B).actionAuthOverride ?? C(B).actionAuth) !== !1,
|
|
452
452
|
disabled: W.value,
|
|
453
453
|
"checked-text": "开",
|
|
454
454
|
"unchecked-text": "关",
|
|
455
|
-
"onUpdate:checked":
|
|
455
|
+
"onUpdate:checked": l[7] ||= (e) => q("actionAuthOverride", e)
|
|
456
456
|
}, null, 8, ["checked", "disabled"]), g("strong", null, S((C(B).actionAuthOverride ?? C(B).actionAuth) === !1 ? "未启用" : "已启用"), 1)])]),
|
|
457
|
-
g("section", A, [g("header", null, [g("div", null, [g("h4", null, [
|
|
458
|
-
default: w(() => [g("button", j, [v(C(
|
|
457
|
+
g("section", A, [g("header", null, [g("div", null, [g("h4", null, [l[31] ||= _(" 数据授权 ", -1), v(C(t), { title: "启用后,读取和执行会继续按数据范围校验。" }, {
|
|
458
|
+
default: w(() => [g("button", j, [v(C(i), { name: "help" })])]),
|
|
459
459
|
_: 1
|
|
460
|
-
})])]), g("span", M, [G("dataAuthOverride") ? (b(), p(C(
|
|
460
|
+
})])]), g("span", M, [G("dataAuthOverride") ? (b(), p(C(r), {
|
|
461
461
|
key: 0,
|
|
462
462
|
type: "text",
|
|
463
463
|
size: "small",
|
|
464
464
|
disabled: W.value,
|
|
465
|
-
onClick:
|
|
465
|
+
onClick: l[8] ||= (e) => K("dataAuthOverride")
|
|
466
466
|
}, {
|
|
467
|
-
default: w(() => [...
|
|
467
|
+
default: w(() => [...l[32] ||= [_("重置", -1)]]),
|
|
468
468
|
_: 1
|
|
469
|
-
}, 8, ["disabled"])) : m("v-if", !0)])]), g("div", N, [v(C(
|
|
469
|
+
}, 8, ["disabled"])) : m("v-if", !0)])]), g("div", N, [v(C(c), {
|
|
470
470
|
checked: (C(B).dataAuthOverride ?? C(B).dataAuth) === !0,
|
|
471
471
|
disabled: W.value,
|
|
472
472
|
"checked-text": "开",
|
|
473
473
|
"unchecked-text": "关",
|
|
474
|
-
"onUpdate:checked":
|
|
474
|
+
"onUpdate:checked": l[9] ||= (e) => q("dataAuthOverride", e)
|
|
475
475
|
}, null, 8, ["checked", "disabled"]), g("strong", null, S((C(B).dataAuthOverride ?? C(B).dataAuth) === !0 ? "已启用" : "未启用"), 1)])])
|
|
476
476
|
])])], 32)) : (b(), h("form", {
|
|
477
477
|
key: 3,
|
|
478
478
|
class: "static-record-form",
|
|
479
|
-
onSubmit:
|
|
479
|
+
onSubmit: l[21] ||= T((...e) => C(R).save && C(R).save(...e), ["prevent"])
|
|
480
480
|
}, [
|
|
481
|
-
|
|
482
|
-
g("label", null, [
|
|
481
|
+
l[44] ||= g("p", { class: "form-hint wide-field" }, " 手工动作只能绑定已部署的二开执行器;平台会通过通用动作接口承接权限、审计和运行态刷新。 ", -1),
|
|
482
|
+
g("label", null, [l[34] ||= g("span", null, "动作编码", -1), v(C(d), {
|
|
483
483
|
value: C(B).actionCode,
|
|
484
484
|
disabled: W.value,
|
|
485
|
-
"onUpdate:value":
|
|
485
|
+
"onUpdate:value": l[11] ||= (e) => q("actionCode", e)
|
|
486
486
|
}, null, 8, ["value", "disabled"])]),
|
|
487
|
-
g("label", null, [
|
|
487
|
+
g("label", null, [l[35] ||= g("span", null, "动作名称", -1), v(C(d), {
|
|
488
488
|
value: C(B).title,
|
|
489
489
|
disabled: W.value,
|
|
490
|
-
"onUpdate:value":
|
|
490
|
+
"onUpdate:value": l[12] ||= (e) => q("title", e)
|
|
491
491
|
}, null, 8, ["value", "disabled"])]),
|
|
492
|
-
g("label", null, [
|
|
492
|
+
g("label", null, [l[36] ||= g("span", null, "执行层级", -1), v(C(a), {
|
|
493
493
|
value: C(B).actionLevel,
|
|
494
494
|
disabled: W.value,
|
|
495
495
|
options: Ae.value,
|
|
496
|
-
"onUpdate:value":
|
|
496
|
+
"onUpdate:value": l[13] ||= (e) => q("actionLevel", e)
|
|
497
497
|
}, null, 8, [
|
|
498
498
|
"value",
|
|
499
499
|
"disabled",
|
|
500
500
|
"options"
|
|
501
501
|
])]),
|
|
502
|
-
g("label", null, [
|
|
502
|
+
g("label", null, [l[37] ||= g("span", null, "访问方式", -1), v(C(a), {
|
|
503
503
|
value: C(B).accessMode,
|
|
504
504
|
disabled: W.value,
|
|
505
505
|
options: [
|
|
@@ -516,35 +516,35 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
516
516
|
value: "ANONYMOUS_ALLOWED"
|
|
517
517
|
}
|
|
518
518
|
],
|
|
519
|
-
"onUpdate:value":
|
|
519
|
+
"onUpdate:value": l[14] ||= (e) => q("accessMode", e)
|
|
520
520
|
}, null, 8, ["value", "disabled"])]),
|
|
521
|
-
g("label", null, [
|
|
521
|
+
g("label", null, [l[38] ||= g("span", null, "二开执行器", -1), v(C(a), {
|
|
522
522
|
value: C(B).executorKey,
|
|
523
523
|
disabled: W.value,
|
|
524
524
|
options: ke.value,
|
|
525
|
-
"onUpdate:value":
|
|
525
|
+
"onUpdate:value": l[15] ||= (e) => Ve(e)
|
|
526
526
|
}, null, 8, [
|
|
527
527
|
"value",
|
|
528
528
|
"disabled",
|
|
529
529
|
"options"
|
|
530
530
|
])]),
|
|
531
|
-
g("label", xe, [v(C(
|
|
531
|
+
g("label", xe, [v(C(o), {
|
|
532
532
|
checked: C(B).actionAuth !== !1,
|
|
533
533
|
disabled: W.value,
|
|
534
|
-
"onUpdate:checked":
|
|
534
|
+
"onUpdate:checked": l[16] ||= (e) => q("actionAuth", e)
|
|
535
535
|
}, {
|
|
536
|
-
default: w(() => [...
|
|
536
|
+
default: w(() => [...l[39] ||= [_("启用动作授权", -1)]]),
|
|
537
537
|
_: 1
|
|
538
538
|
}, 8, ["checked", "disabled"])]),
|
|
539
|
-
g("label", Se, [v(C(
|
|
539
|
+
g("label", Se, [v(C(o), {
|
|
540
540
|
checked: C(B).dataAuth === !0,
|
|
541
541
|
disabled: W.value,
|
|
542
|
-
"onUpdate:checked":
|
|
542
|
+
"onUpdate:checked": l[17] ||= (e) => q("dataAuth", e)
|
|
543
543
|
}, {
|
|
544
|
-
default: w(() => [...
|
|
544
|
+
default: w(() => [...l[40] ||= [_("启用数据授权", -1)]]),
|
|
545
545
|
_: 1
|
|
546
546
|
}, 8, ["checked", "disabled"])]),
|
|
547
|
-
g("label", null, [
|
|
547
|
+
g("label", null, [l[41] ||= g("span", null, "默认授予策略", -1), v(C(a), {
|
|
548
548
|
value: C(B).defaultGrantPolicy,
|
|
549
549
|
disabled: W.value,
|
|
550
550
|
options: [
|
|
@@ -569,19 +569,19 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
569
569
|
value: "MEMBER"
|
|
570
570
|
}
|
|
571
571
|
],
|
|
572
|
-
"onUpdate:value":
|
|
572
|
+
"onUpdate:value": l[18] ||= (e) => q("defaultGrantPolicy", e)
|
|
573
573
|
}, null, 8, ["value", "disabled"])]),
|
|
574
|
-
g("label", Ce, [
|
|
574
|
+
g("label", Ce, [l[42] ||= g("span", null, "可用条件表达式", -1), v(C(e), {
|
|
575
575
|
value: C(B).availableExpression,
|
|
576
576
|
disabled: W.value,
|
|
577
|
-
"onUpdate:value":
|
|
577
|
+
"onUpdate:value": l[19] ||= (e) => q("availableExpression", e)
|
|
578
578
|
}, null, 8, ["value", "disabled"])]),
|
|
579
|
-
g("label", we, [
|
|
579
|
+
g("label", we, [l[43] ||= g("span", null, "不可用提示", -1), v(C(e), {
|
|
580
580
|
value: C(B).unavailableMessage,
|
|
581
581
|
disabled: W.value,
|
|
582
|
-
"onUpdate:value":
|
|
582
|
+
"onUpdate:value": l[20] ||= (e) => q("unavailableMessage", e)
|
|
583
583
|
}, null, 8, ["value", "disabled"])])
|
|
584
|
-
], 32)), C(z) || C(V) !== "view" ? (b(), p(C(
|
|
584
|
+
], 32)), C(z) || C(V) !== "view" ? (b(), p(C(ae), {
|
|
585
585
|
key: 4,
|
|
586
586
|
record: C(B)
|
|
587
587
|
}, null, 8, ["record"])) : m("v-if", !0)]),
|