@ximatai/muyun-web-app 0.26.10 → 0.26.11
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-BhtVwJII.js → MetadataOrchestrationView-F_Bmfn9K.js} +91 -91
- package/dist/{ModuleActionManagementView-DpZS-xAD.js → ModuleActionManagementView-Db_3Twom.js} +36 -36
- package/dist/RoleDetailWorkspaceView-UOm1ejGH.js +1369 -0
- package/dist/index.css +1 -1
- package/dist/index.js +201 -206
- package/dist/{platform-components-oRIsIoxu.js → platform-components-59b4qzUL.js} +2391 -2273
- package/dist/types/consumer/index.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/composables/useModulePageDetailExtensionRuntime.d.ts +3 -1
- package/dist/types/dynamic-page-runtime/composables/useModulePageFormContributionRuntime.d.ts +5 -3
- package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +26 -26
- package/dist/types/dynamic-page-runtime/index.d.ts +1 -2
- package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +69 -1
- package/dist/types/formula/FormulaRuntime.d.ts +3 -0
- package/dist/types/{views/UserDetailRouteView.vue.d.ts → platform-admin-runtime/role/RoleAccountGrantDrawerSurface.vue.d.ts} +2 -3
- package/dist/types/{dynamic-page-runtime/DynamicModuleHost.vue.d.ts → platform-admin-runtime/role/RoleAuthorizationDrawerSurface.vue.d.ts} +2 -2
- package/dist/types/platform-admin-runtime/role/RoleEmploymentGrantDrawerSurface.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/role/RoleEnumTitleCell.vue.d.ts +8 -0
- package/dist/types/platform-admin-runtime/role/RoleGroupMemberFormField.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/role/RoleScopeTree.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/roleModulePageEnhancement.d.ts +7 -0
- package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +1 -1
- package/dist/types/platform-components/DrawerOperationBar.vue.d.ts +4 -2
- package/dist/types/platform-components/RecordDetailDrawer.vue.d.ts +1 -0
- package/dist/types/platform-components/RecordDetailLayout.vue.d.ts +4 -2
- package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordPicker.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +6 -3
- package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +1 -1
- package/dist/types/platform-components/index.d.ts +1 -1
- package/dist/types/platform-components/scopedTreeModuleContext.d.ts +2 -2
- package/dist/types/platform-components/staticTreeResourceModuleContext.d.ts +3 -3
- package/dist/types/views/EmployeeEmploymentTable.vue.d.ts +5 -0
- package/dist/types/views/RoleAccountGrantDrawer.vue.d.ts +6 -2
- package/dist/types/views/RoleAuthorizationView.vue.d.ts +7 -0
- package/dist/types/views/RoleEmploymentGrantDrawer.vue.d.ts +5 -1
- package/dist/types/views/roleGrantClient.d.ts +8 -5
- package/dist/types/vue-ui-antdv/components/UiTable.vue.d.ts +1 -0
- package/dist/types/vue-ui-antdv/components/UiTree.vue.d.ts +20 -1
- package/dist/types/vue-ui-antdv/types.d.ts +6 -0
- package/dist/types/web-contracts/index.d.ts +9 -2
- package/dist/types/web-core/module/staticModuleClient.d.ts +4 -4
- package/dist/workspaceViews-BvV8mpML.js +11149 -0
- package/package.json +1 -1
- package/dist/RoleAuthorizationView-8lilhtMB.js +0 -646
- package/dist/RoleDetailWorkspaceView-CFha6JHn.js +0 -26
- package/dist/RoleManagementView-0_KDrzgh.js +0 -1948
- package/dist/types/dynamic-page-runtime/DynamicRecordDetailActions.vue.d.ts +0 -39
- package/dist/types/dynamic-page-runtime/dynamicModuleDetailStateModel.d.ts +0 -5
- package/dist/types/views/UserDetailContent.vue.d.ts +0 -32
- package/dist/types/views/UserManagementListView.vue.d.ts +0 -3
- package/dist/types/views/UserManagementView.vue.d.ts +0 -3
- package/dist/types/views/useUserSessionRows.d.ts +0 -28
- package/dist/types/views/userDetailStateModel.d.ts +0 -9
- package/dist/types/views/userManagementRouteState.d.ts +0 -11
- package/dist/workspaceViews-D-RiJ64o.js +0 -9078
package/dist/{ModuleActionManagementView-DpZS-xAD.js → ModuleActionManagementView-Db_3Twom.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ct as e, Gt as t, Lt as n, M as r, Mt as i, Nt as a, Ot as o, Pt as s, Rt as c, U as ee, Y as te, at as ne, bt as re, ft as l, i as ie, jt as u, l as ae, p as oe, st as se, t as ce, tn as le, v as ue, zt as d } from "./platform-components-59b4qzUL.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__*/ d(/* @__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(d) {
|
|
30
|
+
let y = d, P = t({ moduleAlias: "platform.module_action" }), F = ie(P, { client: le(P.http, `/platform.module/${encodeURIComponent(y.moduleAlias)}/actions`) }), I = x(""), L = x([]), R = ce({
|
|
31
31
|
context: F,
|
|
32
|
-
confirmAction:
|
|
32
|
+
confirmAction: l,
|
|
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 = [], se(e, {
|
|
167
167
|
source: "module-action-management",
|
|
168
168
|
phase: "load"
|
|
169
169
|
});
|
|
@@ -269,7 +269,7 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
269
269
|
}
|
|
270
270
|
}[e]?.[t] : void 0;
|
|
271
271
|
}
|
|
272
|
-
return (
|
|
272
|
+
return (t, l) => (b(), p(C(ae), {
|
|
273
273
|
"explorer-title": "模块动作",
|
|
274
274
|
"refresh-title": "刷新动作",
|
|
275
275
|
mode: C(V),
|
|
@@ -279,7 +279,7 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
279
279
|
"onUpdate:explorerSearchKeyword": l[22] ||= (e) => I.value = e,
|
|
280
280
|
onRefresh: l[23] ||= (e) => H.value += 1
|
|
281
281
|
}, {
|
|
282
|
-
"explorer-actions": w(() => [v(C(
|
|
282
|
+
"explorer-actions": w(() => [v(C(te), {
|
|
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(ne), {
|
|
292
292
|
context: C(F),
|
|
293
293
|
"selected-id": C(z)?.id,
|
|
294
294
|
"reload-key": C(H),
|
|
@@ -305,7 +305,7 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
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(ue), {
|
|
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(ee), {
|
|
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(re), {
|
|
327
327
|
key: 0,
|
|
328
|
-
description:
|
|
329
|
-
}, null, 8, ["description"])) : C(V) === "view" && C(z) ? (b(), p(C(
|
|
328
|
+
description: d.moduleKind === "static" ? "静态模块动作由 Java 声明自动注册" : "当前模块暂无动作"
|
|
329
|
+
}, null, 8, ["description"])) : C(V) === "view" && C(z) ? (b(), p(C(r), {
|
|
330
330
|
key: 1,
|
|
331
331
|
record: C(B),
|
|
332
332
|
"display-of": $,
|
|
@@ -351,7 +351,7 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
351
351
|
key: 2,
|
|
352
352
|
class: "managed-action-editor",
|
|
353
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(
|
|
354
|
+
}, [g("section", fe, [l[24] ||= g("h3", null, "动作声明", -1), v(C(r), {
|
|
355
355
|
record: C(B),
|
|
356
356
|
"display-of": $,
|
|
357
357
|
"field-names": Me.value,
|
|
@@ -365,10 +365,10 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
365
365
|
sourceType: { label: "注册来源" }
|
|
366
366
|
}
|
|
367
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(
|
|
369
|
-
default: w(() => [g("button", ge, [v(C(
|
|
368
|
+
g("section", he, [g("header", null, [g("div", null, [g("h4", null, [l[25] ||= _(" 访问方式 ", -1), v(C(o), { title: "决定调用动作前需要满足的身份条件。" }, {
|
|
369
|
+
default: w(() => [g("button", ge, [v(C(c), { name: "help" })])]),
|
|
370
370
|
_: 1
|
|
371
|
-
})])]), g("span", _e, [G("accessModeOverride") ? (b(), p(C(
|
|
371
|
+
})])]), g("span", _e, [G("accessModeOverride") ? (b(), p(C(n), {
|
|
372
372
|
key: 0,
|
|
373
373
|
type: "text",
|
|
374
374
|
size: "small",
|
|
@@ -396,10 +396,10 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
396
396
|
],
|
|
397
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, [l[27] ||= _(" 默认授予策略 ", -1), v(C(
|
|
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(o), { title: "定义满足条件的用户首次获得动作时的默认规则。" }, {
|
|
400
|
+
default: w(() => [g("button", ye, [v(C(c), { name: "help" })])]),
|
|
401
401
|
_: 1
|
|
402
|
-
})])]), g("span", be, [G("defaultGrantPolicyOverride") ? (b(), p(C(
|
|
402
|
+
})])]), g("span", be, [G("defaultGrantPolicyOverride") ? (b(), p(C(n), {
|
|
403
403
|
key: 0,
|
|
404
404
|
type: "text",
|
|
405
405
|
size: "small",
|
|
@@ -435,10 +435,10 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
435
435
|
],
|
|
436
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, [l[29] ||= _(" 动作授权 ", -1), v(C(
|
|
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(o), { title: "控制角色是否需要被显式授予该动作。" }, {
|
|
439
|
+
default: w(() => [g("button", D, [v(C(c), { name: "help" })])]),
|
|
440
440
|
_: 1
|
|
441
|
-
})])]), g("span", O, [G("actionAuthOverride") ? (b(), p(C(
|
|
441
|
+
})])]), g("span", O, [G("actionAuthOverride") ? (b(), p(C(n), {
|
|
442
442
|
key: 0,
|
|
443
443
|
type: "text",
|
|
444
444
|
size: "small",
|
|
@@ -447,17 +447,17 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
447
447
|
}, {
|
|
448
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(e), {
|
|
451
451
|
checked: (C(B).actionAuthOverride ?? C(B).actionAuth) !== !1,
|
|
452
452
|
disabled: W.value,
|
|
453
453
|
"checked-text": "开",
|
|
454
454
|
"unchecked-text": "关",
|
|
455
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, [l[31] ||= _(" 数据授权 ", -1), v(C(
|
|
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(o), { title: "启用后,读取和执行会继续按数据范围校验。" }, {
|
|
458
|
+
default: w(() => [g("button", j, [v(C(c), { name: "help" })])]),
|
|
459
459
|
_: 1
|
|
460
|
-
})])]), g("span", M, [G("dataAuthOverride") ? (b(), p(C(
|
|
460
|
+
})])]), g("span", M, [G("dataAuthOverride") ? (b(), p(C(n), {
|
|
461
461
|
key: 0,
|
|
462
462
|
type: "text",
|
|
463
463
|
size: "small",
|
|
@@ -466,7 +466,7 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
466
466
|
}, {
|
|
467
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(e), {
|
|
470
470
|
checked: (C(B).dataAuthOverride ?? C(B).dataAuth) === !0,
|
|
471
471
|
disabled: W.value,
|
|
472
472
|
"checked-text": "开",
|
|
@@ -479,12 +479,12 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
479
479
|
onSubmit: l[21] ||= T((...e) => C(R).save && C(R).save(...e), ["prevent"])
|
|
480
480
|
}, [
|
|
481
481
|
l[44] ||= g("p", { class: "form-hint wide-field" }, " 手工动作只能绑定已部署的二开执行器;平台会通过通用动作接口承接权限、审计和运行态刷新。 ", -1),
|
|
482
|
-
g("label", null, [l[34] ||= g("span", null, "动作编码", -1), v(C(
|
|
482
|
+
g("label", null, [l[34] ||= g("span", null, "动作编码", -1), v(C(i), {
|
|
483
483
|
value: C(B).actionCode,
|
|
484
484
|
disabled: W.value,
|
|
485
485
|
"onUpdate:value": l[11] ||= (e) => q("actionCode", e)
|
|
486
486
|
}, null, 8, ["value", "disabled"])]),
|
|
487
|
-
g("label", null, [l[35] ||= g("span", null, "动作名称", -1), v(C(
|
|
487
|
+
g("label", null, [l[35] ||= g("span", null, "动作名称", -1), v(C(i), {
|
|
488
488
|
value: C(B).title,
|
|
489
489
|
disabled: W.value,
|
|
490
490
|
"onUpdate:value": l[12] ||= (e) => q("title", e)
|
|
@@ -528,7 +528,7 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
528
528
|
"disabled",
|
|
529
529
|
"options"
|
|
530
530
|
])]),
|
|
531
|
-
g("label", xe, [v(C(
|
|
531
|
+
g("label", xe, [v(C(s), {
|
|
532
532
|
checked: C(B).actionAuth !== !1,
|
|
533
533
|
disabled: W.value,
|
|
534
534
|
"onUpdate:checked": l[16] ||= (e) => q("actionAuth", e)
|
|
@@ -536,7 +536,7 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
536
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(s), {
|
|
540
540
|
checked: C(B).dataAuth === !0,
|
|
541
541
|
disabled: W.value,
|
|
542
542
|
"onUpdate:checked": l[17] ||= (e) => q("dataAuth", e)
|
|
@@ -571,17 +571,17 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
|
|
|
571
571
|
],
|
|
572
572
|
"onUpdate:value": l[18] ||= (e) => q("defaultGrantPolicy", e)
|
|
573
573
|
}, null, 8, ["value", "disabled"])]),
|
|
574
|
-
g("label", Ce, [l[42] ||= g("span", null, "可用条件表达式", -1), v(C(
|
|
574
|
+
g("label", Ce, [l[42] ||= g("span", null, "可用条件表达式", -1), v(C(u), {
|
|
575
575
|
value: C(B).availableExpression,
|
|
576
576
|
disabled: W.value,
|
|
577
577
|
"onUpdate:value": l[19] ||= (e) => q("availableExpression", e)
|
|
578
578
|
}, null, 8, ["value", "disabled"])]),
|
|
579
|
-
g("label", we, [l[43] ||= g("span", null, "不可用提示", -1), v(C(
|
|
579
|
+
g("label", we, [l[43] ||= g("span", null, "不可用提示", -1), v(C(u), {
|
|
580
580
|
value: C(B).unavailableMessage,
|
|
581
581
|
disabled: W.value,
|
|
582
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(oe), {
|
|
585
585
|
key: 4,
|
|
586
586
|
record: C(B)
|
|
587
587
|
}, null, 8, ["record"])) : m("v-if", !0)]),
|