@ximatai/muyun-web-app 0.26.7 → 0.26.8

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.
Files changed (87) hide show
  1. package/dist/{EmployeeDetailWorkspaceView-DYJLlkSz.js → EmployeeDetailWorkspaceView-DswEDSxH.js} +1 -1
  2. package/dist/{EmployeeManagementView-taxWUa7g.js → EmployeeManagementView-C9STtw08.js} +385 -386
  3. package/dist/{MetadataOrchestrationView-B-CPudJl.js → MetadataOrchestrationView-DKYVGMzy.js} +95 -95
  4. package/dist/{ModuleActionManagementView-CmVj0e0C.js → ModuleActionManagementView-DiVzuPdu.js} +72 -72
  5. package/dist/{RoleAuthorizationView-q_6CsBYq.js → RoleAuthorizationView-C0s4Bog7.js} +47 -47
  6. package/dist/{RoleDetailWorkspaceView-DmJlJgAj.js → RoleDetailWorkspaceView-dqHxKVfd.js} +1 -1
  7. package/dist/{RoleManagementView-HCa9rH0f.js → RoleManagementView-D43pUCxi.js} +468 -469
  8. package/dist/{SystemUserDetailWorkspaceView-U6Ij0US1.js → SystemUserDetailWorkspaceView-CQ9WeLrR.js} +1 -1
  9. package/dist/SystemUserManagementView-D75_ylYk.js +758 -0
  10. package/dist/{UserDetailWorkspaceView-OPYvD6mH.js → UserDetailWorkspaceView-BCST01d2.js} +1 -1
  11. package/dist/UserManagementView-CcdvDo_y.js +964 -0
  12. package/dist/index.css +1 -1
  13. package/dist/index.js +2278 -4726
  14. package/dist/{pageRealtime-CzJlr9hs.js → pageRealtime-EAiGWKEo.js} +87 -85
  15. package/dist/{platform-components-DKKWbNrz.js → platform-components-CFU_zR7-.js} +2145 -1866
  16. package/dist/types/app/workbenchStartup.d.ts +6 -2
  17. package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +2 -2
  18. package/dist/types/consumer/index.d.ts +4 -3
  19. package/dist/types/dynamic-page-runtime/DynamicModuleWorkspaceDetailView.vue.d.ts +10 -0
  20. package/dist/types/dynamic-page-runtime/DynamicRecordDetailActions.vue.d.ts +38 -0
  21. package/dist/types/dynamic-page-runtime/NavigatorManagementEditor.vue.d.ts +25 -0
  22. package/dist/types/dynamic-page-runtime/PageNavigatorExplorer.vue.d.ts +43 -0
  23. package/dist/types/dynamic-page-runtime/detailSurfacePreference.d.ts +10 -0
  24. package/dist/types/dynamic-page-runtime/index.d.ts +2 -1
  25. package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +38 -0
  26. package/dist/types/dynamic-page-runtime/modulePageNavigation.d.ts +1 -1
  27. package/dist/types/dynamic-page-runtime/pageContextRuntime.d.ts +6 -0
  28. package/dist/types/dynamic-page-runtime/recordDetailController.d.ts +27 -0
  29. package/dist/types/platform-admin-runtime/index.d.ts +1 -1
  30. package/dist/types/platform-admin-runtime/platformAdminRoutes.d.ts +5 -0
  31. package/dist/types/platform-admin-runtime/realtime.d.ts +2 -1
  32. package/dist/types/platform-components/BusinessNotificationPanel.vue.d.ts +12 -0
  33. package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +6 -0
  34. package/dist/types/platform-components/ManagementPanelHeader.vue.d.ts +5 -3
  35. package/dist/types/platform-components/ManagementWorkspace.vue.d.ts +8 -2
  36. package/dist/types/platform-components/RecordActionBar.vue.d.ts +1 -1
  37. package/dist/types/platform-components/RecordDetailDrawer.vue.d.ts +4 -1
  38. package/dist/types/platform-components/RecordDetailLayout.vue.d.ts +8 -6
  39. package/dist/types/platform-components/RecordDetailPanel.vue.d.ts +7 -5
  40. package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +4 -1
  41. package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +1 -1
  42. package/dist/types/platform-components/RecordPanelButton.vue.d.ts +2 -0
  43. package/dist/types/platform-components/RecordPicker.vue.d.ts +1 -1
  44. package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +9 -2
  45. package/dist/types/platform-components/RecordStatusSwitch.vue.d.ts +3 -0
  46. package/dist/types/platform-components/StaticManagementLayout.vue.d.ts +13 -7
  47. package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +3 -0
  48. package/dist/types/platform-components/index.d.ts +4 -2
  49. package/dist/types/platform-components/managementWorkspaceLayout.d.ts +14 -0
  50. package/dist/types/platform-components/recordFormFieldModel.d.ts +2 -2
  51. package/dist/types/platform-components/recycleBinState.d.ts +2 -0
  52. package/dist/types/platform-components/scopedTreeModuleContext.d.ts +11 -0
  53. package/dist/types/platform-workbench/index.d.ts +1 -0
  54. package/dist/types/platform-workbench/menuNavigation.d.ts +3 -0
  55. package/dist/types/platform-workbench/modulePageWorkspaceViews.d.ts +7 -0
  56. package/dist/types/platform-workbench/workbenchLayout.d.ts +36 -0
  57. package/dist/types/platform-workbench/workbenchNavigation.d.ts +2 -0
  58. package/dist/types/platform-workbench/workspaceViewHost.d.ts +2 -0
  59. package/dist/types/vue-ui-antdv/components/UiButton.vue.d.ts +1 -1
  60. package/dist/types/vue-ui-antdv/components/UiDataTable.vue.d.ts +1 -1
  61. package/dist/types/vue-ui-antdv/components/UiIcon.vue.d.ts +1 -1
  62. package/dist/types/vue-ui-antdv/components/UiModal.vue.d.ts +1 -1
  63. package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +1 -1
  64. package/dist/types/vue-ui-antdv/components/UiTreeSelect.vue.d.ts +7 -1
  65. package/dist/types/vue-ui-antdv/index.d.ts +1 -0
  66. package/dist/types/web-contracts/index.d.ts +110 -17
  67. package/dist/types/web-core/businessNotifications.d.ts +3 -0
  68. package/dist/types/web-core/index.d.ts +1 -0
  69. package/dist/types/web-core/module/moduleContext.d.ts +1 -0
  70. package/dist/types/web-core/module/runtimeContext.d.ts +3 -1
  71. package/dist/types/web-core/module/staticModuleClient.d.ts +8 -1
  72. package/dist/types/web-core/realtime.d.ts +5 -1
  73. package/dist/{useUserSessionRows-CBHEzRFQ.js → useUserSessionRows-DCpUZCzN.js} +2 -2
  74. package/dist/workspaceViewSessions-Dj1LjdG1.js +4984 -0
  75. package/package.json +1 -1
  76. package/dist/SystemUserManagementView-C1CkKivH.js +0 -758
  77. package/dist/UserManagementView-gbCL9SnC.js +0 -965
  78. package/dist/currentUserContext-B1lj1WgF.js +0 -11
  79. package/dist/types/views/ApplicationManagementView.vue.d.ts +0 -3
  80. package/dist/types/views/DepartmentManagementView.vue.d.ts +0 -3
  81. package/dist/types/views/FieldSpecManagementView.vue.d.ts +0 -3
  82. package/dist/types/views/OrganizationManagementView.vue.d.ts +0 -3
  83. package/dist/types/views/applicationManagementState.d.ts +0 -64
  84. package/dist/types/views/departmentManagementState.d.ts +0 -137
  85. package/dist/types/views/fieldSpecManagementState.d.ts +0 -80
  86. package/dist/types/views/organizationManagementState.d.ts +0 -64
  87. package/dist/workspaceViewSessions-DkB9myrq.js +0 -3252
@@ -1,4 +1,4 @@
1
- import { A as e, B as t, Dt as n, Et as r, I as ee, Mt as i, Nt as a, Ot as o, S as te, Tt as s, Wt as ne, Y as re, _ as ie, bt as c, gt as ae, jt as l, kt as u, o as d, st as oe, t as se, tt as ce, u as le, zt as ue } from "./platform-components-DKKWbNrz.js";
1
+ import { At as e, C as t, Et as n, Ft as r, I as ee, Jt as te, Nt as i, Ot as a, Pt as o, V as ne, Vt as s, X as re, _t as ie, ct as ae, d as oe, j as c, jt as l, kt as u, nt as se, o as ce, t as le, v as ue, xt as d } from "./platform-components-CFU_zR7-.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__*/ i(/* @__PURE__ */ y({
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__*/ r(/* @__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(i) {
30
- let y = i, P = ue({ moduleAlias: "platform.module_action" }), F = d(P, { client: ne(P.http, `/platform.module/${encodeURIComponent(y.moduleAlias)}/actions`) }), I = x(""), L = x([]), R = se({
29
+ setup(r) {
30
+ let y = r, P = s({ moduleAlias: "platform.module_action" }), F = ce(P, { client: te(P.http, `/platform.module/${encodeURIComponent(y.moduleAlias)}/actions`) }), I = x(""), L = x([]), R = le({
31
31
  context: F,
32
- confirmAction: oe,
32
+ confirmAction: ae,
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 = [], ce(e, {
166
+ L.value = [], se(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 (ne, d) => (b(), p(C(le), {
272
+ return (te, s) => (b(), p(C(oe), {
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": d[22] ||= (e) => I.value = e,
280
- onRefresh: d[23] ||= (e) => H.value += 1
279
+ "onUpdate:explorerSearchKeyword": s[22] ||= (e) => I.value = e,
280
+ onRefresh: s[23] ||= (e) => H.value += 1
281
281
  }, {
282
- "explorer-actions": w(() => [v(C(t), {
282
+ "explorer-actions": w(() => [v(C(ne), {
283
283
  class: "record-panel-create-button",
284
284
  context: C(F),
285
285
  "action-code": "create",
@@ -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: d[0] ||= (e) => C(R).handleListLoaded(e),
301
- onSelect: d[1] ||= (e) => C(R).handleSelect(e)
300
+ onLoaded: s[0] ||= (e) => C(R).handleListLoaded(e),
301
+ onSelect: s[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(te), {
308
+ "detail-status": w(() => [C(V) === "view" && C(z) ? (b(), p(C(t), {
309
309
  key: 0,
310
310
  enabled: C(z).enabled,
311
311
  disabled: C(U) || C(z).systemManaged === !0 || !C(De),
@@ -323,10 +323,10 @@ var fe = { class: "action-declaration-section" }, pe = { class: "permission-gove
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(ae), {
326
+ default: w(() => [!C(z) && C(V) === "view" ? (b(), p(C(ie), {
327
327
  key: 0,
328
- description: i.moduleKind === "static" ? "静态模块动作由 Java 声明自动注册" : "当前模块暂无动作"
329
- }, null, 8, ["description"])) : C(V) === "view" && C(z) ? (b(), p(C(e), {
328
+ description: r.moduleKind === "static" ? "静态模块动作由 Java 声明自动注册" : "当前模块暂无动作"
329
+ }, null, 8, ["description"])) : C(V) === "view" && C(z) ? (b(), p(C(c), {
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: d[10] ||= T((...e) => C(R).save && C(R).save(...e), ["prevent"])
354
- }, [g("section", fe, [d[24] ||= g("h3", null, "动作声明", -1), v(C(e), {
353
+ onSubmit: s[10] ||= T((...e) => C(R).save && C(R).save(...e), ["prevent"])
354
+ }, [g("section", fe, [s[24] ||= g("h3", null, "动作声明", -1), v(C(c), {
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, [d[33] ||= g("h3", null, "权限治理", -1), g("div", me, [
368
- g("section", he, [g("header", null, [g("div", null, [g("h4", null, [d[25] ||= _(" 访问方式 ", -1), v(C(s), { title: "决定调用动作前需要满足的身份条件。" }, {
369
- default: w(() => [g("button", ge, [v(C(a), { name: "help" })])]),
367
+ }, null, 8, ["record", "field-names"])]), g("section", pe, [s[33] ||= g("h3", null, "权限治理", -1), g("div", me, [
368
+ g("section", he, [g("header", null, [g("div", null, [g("h4", null, [s[25] ||= _(" 访问方式 ", -1), v(C(n), { title: "决定调用动作前需要满足的身份条件。" }, {
369
+ default: w(() => [g("button", ge, [v(C(o), { name: "help" })])]),
370
370
  _: 1
371
- })])]), g("span", _e, [G("accessModeOverride") ? (b(), p(C(l), {
371
+ })])]), g("span", _e, [G("accessModeOverride") ? (b(), p(C(i), {
372
372
  key: 0,
373
373
  type: "text",
374
374
  size: "small",
375
375
  disabled: W.value,
376
- onClick: d[2] ||= (e) => K("accessModeOverride")
376
+ onClick: s[2] ||= (e) => K("accessModeOverride")
377
377
  }, {
378
- default: w(() => [...d[26] ||= [_("重置", -1)]]),
378
+ default: w(() => [...s[26] ||= [_("重置", -1)]]),
379
379
  _: 1
380
- }, 8, ["disabled"])) : m("v-if", !0)])]), v(C(o), {
380
+ }, 8, ["disabled"])) : m("v-if", !0)])]), v(C(e), {
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": d[3] ||= (e) => q("accessModeOverride", e)
397
+ "onUpdate:value": s[3] ||= (e) => q("accessModeOverride", e)
398
398
  }, null, 8, ["value", "disabled"])]),
399
- g("section", ve, [g("header", null, [g("div", null, [g("h4", null, [d[27] ||= _(" 默认授予策略 ", -1), v(C(s), { title: "定义满足条件的用户首次获得动作时的默认规则。" }, {
400
- default: w(() => [g("button", ye, [v(C(a), { name: "help" })])]),
399
+ g("section", ve, [g("header", null, [g("div", null, [g("h4", null, [s[27] ||= _(" 默认授予策略 ", -1), v(C(n), { title: "定义满足条件的用户首次获得动作时的默认规则。" }, {
400
+ default: w(() => [g("button", ye, [v(C(o), { name: "help" })])]),
401
401
  _: 1
402
- })])]), g("span", be, [G("defaultGrantPolicyOverride") ? (b(), p(C(l), {
402
+ })])]), g("span", be, [G("defaultGrantPolicyOverride") ? (b(), p(C(i), {
403
403
  key: 0,
404
404
  type: "text",
405
405
  size: "small",
406
406
  disabled: W.value,
407
- onClick: d[4] ||= (e) => K("defaultGrantPolicyOverride")
407
+ onClick: s[4] ||= (e) => K("defaultGrantPolicyOverride")
408
408
  }, {
409
- default: w(() => [...d[28] ||= [_("重置", -1)]]),
409
+ default: w(() => [...s[28] ||= [_("重置", -1)]]),
410
410
  _: 1
411
- }, 8, ["disabled"])) : m("v-if", !0)])]), v(C(o), {
411
+ }, 8, ["disabled"])) : m("v-if", !0)])]), v(C(e), {
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": d[5] ||= (e) => q("defaultGrantPolicyOverride", e)
436
+ "onUpdate:value": s[5] ||= (e) => q("defaultGrantPolicyOverride", e)
437
437
  }, null, 8, ["value", "disabled"])]),
438
- g("section", E, [g("header", null, [g("div", null, [g("h4", null, [d[29] ||= _(" 动作授权 ", -1), v(C(s), { title: "控制角色是否需要被显式授予该动作。" }, {
439
- default: w(() => [g("button", D, [v(C(a), { name: "help" })])]),
438
+ g("section", E, [g("header", null, [g("div", null, [g("h4", null, [s[29] ||= _(" 动作授权 ", -1), v(C(n), { title: "控制角色是否需要被显式授予该动作。" }, {
439
+ default: w(() => [g("button", D, [v(C(o), { name: "help" })])]),
440
440
  _: 1
441
- })])]), g("span", O, [G("actionAuthOverride") ? (b(), p(C(l), {
441
+ })])]), g("span", O, [G("actionAuthOverride") ? (b(), p(C(i), {
442
442
  key: 0,
443
443
  type: "text",
444
444
  size: "small",
445
445
  disabled: W.value,
446
- onClick: d[6] ||= (e) => K("actionAuthOverride")
446
+ onClick: s[6] ||= (e) => K("actionAuthOverride")
447
447
  }, {
448
- default: w(() => [...d[30] ||= [_("重置", -1)]]),
448
+ default: w(() => [...s[30] ||= [_("重置", -1)]]),
449
449
  _: 1
450
- }, 8, ["disabled"])) : m("v-if", !0)])]), g("div", k, [v(C(c), {
450
+ }, 8, ["disabled"])) : m("v-if", !0)])]), g("div", k, [v(C(d), {
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": d[7] ||= (e) => q("actionAuthOverride", e)
455
+ "onUpdate:checked": s[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, [d[31] ||= _(" 数据授权 ", -1), v(C(s), { title: "启用后,读取和执行会继续按数据范围校验。" }, {
458
- default: w(() => [g("button", j, [v(C(a), { name: "help" })])]),
457
+ g("section", A, [g("header", null, [g("div", null, [g("h4", null, [s[31] ||= _(" 数据授权 ", -1), v(C(n), { title: "启用后,读取和执行会继续按数据范围校验。" }, {
458
+ default: w(() => [g("button", j, [v(C(o), { name: "help" })])]),
459
459
  _: 1
460
- })])]), g("span", M, [G("dataAuthOverride") ? (b(), p(C(l), {
460
+ })])]), g("span", M, [G("dataAuthOverride") ? (b(), p(C(i), {
461
461
  key: 0,
462
462
  type: "text",
463
463
  size: "small",
464
464
  disabled: W.value,
465
- onClick: d[8] ||= (e) => K("dataAuthOverride")
465
+ onClick: s[8] ||= (e) => K("dataAuthOverride")
466
466
  }, {
467
- default: w(() => [...d[32] ||= [_("重置", -1)]]),
467
+ default: w(() => [...s[32] ||= [_("重置", -1)]]),
468
468
  _: 1
469
- }, 8, ["disabled"])) : m("v-if", !0)])]), g("div", N, [v(C(c), {
469
+ }, 8, ["disabled"])) : m("v-if", !0)])]), g("div", N, [v(C(d), {
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": d[9] ||= (e) => q("dataAuthOverride", e)
474
+ "onUpdate:checked": s[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: d[21] ||= T((...e) => C(R).save && C(R).save(...e), ["prevent"])
479
+ onSubmit: s[21] ||= T((...e) => C(R).save && C(R).save(...e), ["prevent"])
480
480
  }, [
481
- d[44] ||= g("p", { class: "form-hint wide-field" }, " 手工动作只能绑定已部署的二开执行器;平台会通过通用动作接口承接权限、审计和运行态刷新。 ", -1),
482
- g("label", null, [d[34] ||= g("span", null, "动作编码", -1), v(C(n), {
481
+ s[44] ||= g("p", { class: "form-hint wide-field" }, " 手工动作只能绑定已部署的二开执行器;平台会通过通用动作接口承接权限、审计和运行态刷新。 ", -1),
482
+ g("label", null, [s[34] ||= g("span", null, "动作编码", -1), v(C(u), {
483
483
  value: C(B).actionCode,
484
484
  disabled: W.value,
485
- "onUpdate:value": d[11] ||= (e) => q("actionCode", e)
485
+ "onUpdate:value": s[11] ||= (e) => q("actionCode", e)
486
486
  }, null, 8, ["value", "disabled"])]),
487
- g("label", null, [d[35] ||= g("span", null, "动作名称", -1), v(C(n), {
487
+ g("label", null, [s[35] ||= g("span", null, "动作名称", -1), v(C(u), {
488
488
  value: C(B).title,
489
489
  disabled: W.value,
490
- "onUpdate:value": d[12] ||= (e) => q("title", e)
490
+ "onUpdate:value": s[12] ||= (e) => q("title", e)
491
491
  }, null, 8, ["value", "disabled"])]),
492
- g("label", null, [d[36] ||= g("span", null, "执行层级", -1), v(C(o), {
492
+ g("label", null, [s[36] ||= g("span", null, "执行层级", -1), v(C(e), {
493
493
  value: C(B).actionLevel,
494
494
  disabled: W.value,
495
495
  options: Ae.value,
496
- "onUpdate:value": d[13] ||= (e) => q("actionLevel", e)
496
+ "onUpdate:value": s[13] ||= (e) => q("actionLevel", e)
497
497
  }, null, 8, [
498
498
  "value",
499
499
  "disabled",
500
500
  "options"
501
501
  ])]),
502
- g("label", null, [d[37] ||= g("span", null, "访问方式", -1), v(C(o), {
502
+ g("label", null, [s[37] ||= g("span", null, "访问方式", -1), v(C(e), {
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": d[14] ||= (e) => q("accessMode", e)
519
+ "onUpdate:value": s[14] ||= (e) => q("accessMode", e)
520
520
  }, null, 8, ["value", "disabled"])]),
521
- g("label", null, [d[38] ||= g("span", null, "二开执行器", -1), v(C(o), {
521
+ g("label", null, [s[38] ||= g("span", null, "二开执行器", -1), v(C(e), {
522
522
  value: C(B).executorKey,
523
523
  disabled: W.value,
524
524
  options: ke.value,
525
- "onUpdate:value": d[15] ||= (e) => Ve(e)
525
+ "onUpdate:value": s[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(u), {
531
+ g("label", xe, [v(C(l), {
532
532
  checked: C(B).actionAuth !== !1,
533
533
  disabled: W.value,
534
- "onUpdate:checked": d[16] ||= (e) => q("actionAuth", e)
534
+ "onUpdate:checked": s[16] ||= (e) => q("actionAuth", e)
535
535
  }, {
536
- default: w(() => [...d[39] ||= [_("启用动作授权", -1)]]),
536
+ default: w(() => [...s[39] ||= [_("启用动作授权", -1)]]),
537
537
  _: 1
538
538
  }, 8, ["checked", "disabled"])]),
539
- g("label", Se, [v(C(u), {
539
+ g("label", Se, [v(C(l), {
540
540
  checked: C(B).dataAuth === !0,
541
541
  disabled: W.value,
542
- "onUpdate:checked": d[17] ||= (e) => q("dataAuth", e)
542
+ "onUpdate:checked": s[17] ||= (e) => q("dataAuth", e)
543
543
  }, {
544
- default: w(() => [...d[40] ||= [_("启用数据授权", -1)]]),
544
+ default: w(() => [...s[40] ||= [_("启用数据授权", -1)]]),
545
545
  _: 1
546
546
  }, 8, ["checked", "disabled"])]),
547
- g("label", null, [d[41] ||= g("span", null, "默认授予策略", -1), v(C(o), {
547
+ g("label", null, [s[41] ||= g("span", null, "默认授予策略", -1), v(C(e), {
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": d[18] ||= (e) => q("defaultGrantPolicy", e)
572
+ "onUpdate:value": s[18] ||= (e) => q("defaultGrantPolicy", e)
573
573
  }, null, 8, ["value", "disabled"])]),
574
- g("label", Ce, [d[42] ||= g("span", null, "可用条件表达式", -1), v(C(r), {
574
+ g("label", Ce, [s[42] ||= g("span", null, "可用条件表达式", -1), v(C(a), {
575
575
  value: C(B).availableExpression,
576
576
  disabled: W.value,
577
- "onUpdate:value": d[19] ||= (e) => q("availableExpression", e)
577
+ "onUpdate:value": s[19] ||= (e) => q("availableExpression", e)
578
578
  }, null, 8, ["value", "disabled"])]),
579
- g("label", we, [d[43] ||= g("span", null, "不可用提示", -1), v(C(r), {
579
+ g("label", we, [s[43] ||= g("span", null, "不可用提示", -1), v(C(a), {
580
580
  value: C(B).unavailableMessage,
581
581
  disabled: W.value,
582
- "onUpdate:value": d[20] ||= (e) => q("unavailableMessage", e)
582
+ "onUpdate:value": s[20] ||= (e) => q("unavailableMessage", e)
583
583
  }, null, 8, ["value", "disabled"])])
584
- ], 32)), C(z) || C(V) !== "view" ? (b(), p(C(ie), {
584
+ ], 32)), C(z) || C(V) !== "view" ? (b(), p(C(ue), {
585
585
  key: 4,
586
586
  record: C(B)
587
587
  }, null, 8, ["record"])) : m("v-if", !0)]),
@@ -1,5 +1,5 @@
1
- import { C as e, F as t, Jn as n, Mt as r, O as i, Ot as a, X as ee, bt as te, f as ne, gt as re, ht as ie, jt as o, kt as ae, lt as oe, rt as se, st as ce, tt as s, ut as le, zt as ue } from "./platform-components-DKKWbNrz.js";
2
- import { i as de, n as c, r as l, s as u, t as d, x as fe } from "./workspaceViewSessions-DkB9myrq.js";
1
+ import { At as e, F as t, Ft as n, Nt as r, Vt as i, Z as a, _t as ee, ct as te, dt as ne, gt as re, it as ie, jt as ae, k as oe, nt as o, p as se, tr as s, ut as ce, w as c, xt as le } from "./platform-components-CFU_zR7-.js";
2
+ import { S as ue, i as de, n as fe, r as l, s as u, t as d } from "./workspaceViewSessions-Dj1LjdG1.js";
3
3
  import { Fragment as f, computed as p, createBlock as m, createCommentVNode as pe, createElementBlock as h, createElementVNode as g, createSlots as _, createTextVNode as v, createVNode as y, defineComponent as b, guardReactiveProps as me, normalizeClass as he, normalizeProps as ge, onBeforeUnmount as _e, onMounted as ve, openBlock as x, ref as S, renderSlot as C, resolveDynamicComponent as ye, toDisplayString as w, unref as T, watch as be, withCtx as E } from "vue";
4
4
  //#region src/views/roleGrantClient.ts
5
5
  function xe(e) {
@@ -146,7 +146,7 @@ function Ce(e, t) {
146
146
  return d(u, e, t);
147
147
  }
148
148
  function we(e, t) {
149
- return c(u, e, t);
149
+ return fe(u, e, t);
150
150
  }
151
151
  function Te(e) {
152
152
  return l(u, e);
@@ -174,7 +174,7 @@ var Ee = { class: "panel-title" }, De = {
174
174
  },
175
175
  emits: ["close"],
176
176
  setup(t, { emit: n }) {
177
- let r = t, c = n, l = ue({ moduleAlias: "iam.role" }), d = xe(l.http), b = r.roleId ?? new URLSearchParams(window.location.search).get("roleId") ?? "", C = fe(), D = r.roleId ? { roleId: r.roleId } : void 0, O = D ? Te(D) : void 0, k = S(), A = S([]), j = S(), M = S([]), N = S(), P = S(), F = S(!1), I = S(!1), L = S(!1), R = S(), z = S(), B = /* @__PURE__ */ new Map(), V = /* @__PURE__ */ new Map(), H = S(0), Pe, U = p(() => k.value?.roleKind === "group"), W = p(() => k.value?.roleKind === "dataGrant"), G = p(() => k.value?.assignmentType === "employment"), K = p(() => k.value?.title ?? b ?? "角色"), q = p(() => `授权:${K.value}`), Fe = p(() => Ie.value ? `动作授权 - ${Ie.value.title}` : `动作授权 - ${K.value}`), Ie = p(() => A.value.find((e) => e.moduleAlias === j.value)), Le = p(() => A.value.map((e) => ({
177
+ let s = t, fe = n, l = i({ moduleAlias: "iam.role" }), d = xe(l.http), b = s.roleId ?? new URLSearchParams(window.location.search).get("roleId") ?? "", C = ue(), D = s.roleId ? { roleId: s.roleId } : void 0, O = D ? Te(D) : void 0, k = S(), A = S([]), j = S(), M = S([]), N = S(), P = S(), F = S(!1), I = S(!1), L = S(!1), R = S(), z = S(), B = /* @__PURE__ */ new Map(), V = /* @__PURE__ */ new Map(), H = S(0), Pe, U = p(() => k.value?.roleKind === "group"), W = p(() => k.value?.roleKind === "dataGrant"), G = p(() => k.value?.assignmentType === "employment"), K = p(() => k.value?.title ?? b ?? "角色"), q = p(() => `授权:${K.value}`), Fe = p(() => Ie.value ? `动作授权 - ${Ie.value.title}` : `动作授权 - ${K.value}`), Ie = p(() => A.value.find((e) => e.moduleAlias === j.value)), Le = p(() => A.value.map((e) => ({
178
178
  id: e.moduleAlias,
179
179
  parentId: e.parentId,
180
180
  title: e.title,
@@ -219,7 +219,7 @@ var Ee = { class: "panel-title" }, De = {
219
219
  title: "数据范围",
220
220
  width: 160
221
221
  }
222
- ], Ue = p(() => M.value), We = p(() => N.value?.actions ?? []), J = p(() => r.drawer === !0 || !!D && C?.presentation === "drawer"), Y = p(() => !!D), Ge = p(() => J.value ? Se : Y.value ? i : "div"), Ke = p(() => J.value ? {
222
+ ], Ue = p(() => M.value), We = p(() => N.value?.actions ?? []), J = p(() => s.drawer === !0 || !!D && C?.presentation === "drawer"), Y = p(() => !!D), Ge = p(() => J.value ? Se : Y.value ? oe : "div"), Ke = p(() => J.value ? {
223
223
  open: !0,
224
224
  title: q.value,
225
225
  profile: u.drawerProfile,
@@ -249,7 +249,7 @@ var Ee = { class: "panel-title" }, De = {
249
249
  }))
250
250
  }).then((e) => e === "accepted"),
251
251
  onPromoted: ft,
252
- onPromotionRejected: () => se("目标页签存在未确认的授权配置;请先确认或关闭该页签后再固定当前抽屉。", {
252
+ onPromotionRejected: () => ie("目标页签存在未确认的授权配置;请先确认或关闭该页签后再固定当前抽屉。", {
253
253
  source: "role-authorization",
254
254
  phase: "validation"
255
255
  })
@@ -276,7 +276,7 @@ var Ee = { class: "panel-title" }, De = {
276
276
  }
277
277
  A.value = (await d.authorizationModules(b)).records, j.value = O?.selectedModuleAlias ?? A.value[0]?.moduleAlias;
278
278
  } catch (e) {
279
- R.value = "授权信息加载失败,请重试。", s(e, {
279
+ R.value = "授权信息加载失败,请重试。", o(e, {
280
280
  source: "role-authorization",
281
281
  phase: "load"
282
282
  });
@@ -292,7 +292,7 @@ var Ee = { class: "panel-title" }, De = {
292
292
  let [t, n] = await Promise.all([d.permissionMatrix(b, [e]), d.dataScopePolicyCatalog(b, e)]), r = (t.modules[0]?.actions ?? []).map(ct), i = O?.actionDrafts?.find((t) => t.moduleAlias === e)?.actions;
293
293
  M.value = B.get(e) ?? i ?? r, B.has(e) || (B.set(e, M.value), V.set(e, O?.actionSnapshots?.find((t) => t.moduleAlias === e)?.snapshot ?? JSON.stringify(r))), H.value += 1, P.value = n;
294
294
  } catch (e) {
295
- s(e, {
295
+ o(e, {
296
296
  source: "role-authorization",
297
297
  phase: "load"
298
298
  });
@@ -343,7 +343,7 @@ var Ee = { class: "panel-title" }, De = {
343
343
  if (N.value) {
344
344
  L.value = !0;
345
345
  try {
346
- await ee(await d.replaceDataGrantActions(b, N.value.actions.map((e) => ({
346
+ await a(await d.replaceDataGrantActions(b, N.value.actions.map((e) => ({
347
347
  actionCode: e.actionCode,
348
348
  dataScopePolicy: e.dataScopePolicy,
349
349
  enabled: e.configured
@@ -353,7 +353,7 @@ var Ee = { class: "panel-title" }, De = {
353
353
  fallbackMessage: "数据权限模板已保存"
354
354
  }), z.value = JSON.stringify(N.value.actions);
355
355
  } catch (e) {
356
- s(e, {
356
+ o(e, {
357
357
  source: "role-authorization",
358
358
  phase: "action"
359
359
  });
@@ -367,7 +367,7 @@ var Ee = { class: "panel-title" }, De = {
367
367
  if (e.length) {
368
368
  L.value = !0;
369
369
  try {
370
- await ee(await d.replacePermissionMatrix(b, e.flatMap(([e, t]) => t.map((t) => ({
370
+ await a(await d.replacePermissionMatrix(b, e.flatMap(([e, t]) => t.map((t) => ({
371
371
  moduleAlias: e,
372
372
  actionCode: t.actionCode,
373
373
  granted: !!t.granted,
@@ -380,7 +380,7 @@ var Ee = { class: "panel-title" }, De = {
380
380
  fallbackMessage: "角色授权已保存"
381
381
  }), e.forEach(([e, t]) => V.set(e, JSON.stringify(t))), H.value += 1;
382
382
  } catch (e) {
383
- s(e, {
383
+ o(e, {
384
384
  source: "role-authorization",
385
385
  phase: "action"
386
386
  });
@@ -397,7 +397,7 @@ var Ee = { class: "panel-title" }, De = {
397
397
  await ut();
398
398
  }
399
399
  async function dt() {
400
- X.value && !await ce({
400
+ X.value && !await te({
401
401
  title: "放弃未确认的授权配置",
402
402
  content: "当前修改尚未确认,关闭后将丢失这些修改。",
403
403
  okText: "放弃修改",
@@ -411,8 +411,8 @@ var Ee = { class: "panel-title" }, De = {
411
411
  return X.value ? !1 : (j.value = e.selectedModuleAlias, N.value = e.dataGrantMatrix, B.clear(), V.clear(), e.actionDrafts?.forEach(({ moduleAlias: e, actions: t }) => B.set(e, t)), e.actionSnapshots?.forEach(({ moduleAlias: e, snapshot: t }) => V.set(e, t)), H.value += 1, !0);
412
412
  }
413
413
  function mt() {
414
- if (r.drawer === !0) {
415
- c("close");
414
+ if (s.drawer === !0) {
415
+ fe("close");
416
416
  return;
417
417
  }
418
418
  C?.dismiss();
@@ -421,25 +421,25 @@ var Ee = { class: "panel-title" }, De = {
421
421
  X.value && (e.preventDefault(), e.returnValue = "");
422
422
  }
423
423
  return (t, n) => (x(), m(ye(Ge.value), ge(me(Ke.value)), _({
424
- default: E(() => [g("section", { class: he(["role-authorization-page", { "role-authorization-page--drawer": J.value }]) }, [F.value ? (x(), m(T(le), {
424
+ default: E(() => [g("section", { class: he(["role-authorization-page", { "role-authorization-page--drawer": J.value }]) }, [F.value ? (x(), m(T(ne), {
425
425
  key: 0,
426
426
  tip: "加载授权信息"
427
- })) : R.value ? (x(), m(T(oe), {
427
+ })) : R.value ? (x(), m(T(ce), {
428
428
  key: 1,
429
429
  title: "授权页加载失败",
430
430
  message: R.value
431
- }, null, 8, ["message"])) : U.value ? (x(), m(T(re), {
431
+ }, null, 8, ["message"])) : U.value ? (x(), m(T(ee), {
432
432
  key: 2,
433
433
  title: "角色组不独立授权",
434
434
  description: "角色组只组合成员角色;请到成员角色分别配置动作和数据权限。"
435
- })) : W.value && N.value ? (x(), m(T(e), {
435
+ })) : W.value && N.value ? (x(), m(T(c), {
436
436
  key: 3,
437
437
  class: "data-grant-content",
438
438
  title: Y.value ? "数据权限模板" : `数据权限模板 - ${K.value}`,
439
439
  searchable: !1,
440
440
  onRefresh: Z
441
441
  }, {
442
- default: E(() => [g("header", Ee, [n[3] ||= g("div", null, [g("h3", null, "标准动作的数据范围模板"), g("p", null, "模板只会在具体任职的普通角色动作选择“继承数据授权角色”时生效。")], -1), Y.value ? pe("v-if", !0) : (x(), m(T(o), {
442
+ default: E(() => [g("header", Ee, [n[3] ||= g("div", null, [g("h3", null, "标准动作的数据范围模板"), g("p", null, "模板只会在具体任职的普通角色动作选择“继承数据授权角色”时生效。")], -1), Y.value ? pe("v-if", !0) : (x(), m(T(r), {
443
443
  key: 0,
444
444
  type: "primary",
445
445
  disabled: !X.value,
@@ -448,29 +448,29 @@ var Ee = { class: "panel-title" }, De = {
448
448
  }, {
449
449
  default: E(() => [...n[2] ||= [v(" 确认 ", -1)]]),
450
450
  _: 1
451
- }, 8, ["disabled", "loading"]))]), y(T(ie), {
451
+ }, 8, ["disabled", "loading"]))]), y(T(re), {
452
452
  columns: He,
453
453
  rows: We.value,
454
454
  "row-key": "actionCode",
455
455
  "horizontal-scroll": ""
456
456
  }, {
457
- cell: E(({ column: e, record: t }) => [e.key === "title" ? (x(), h(f, { key: 0 }, [g("strong", null, w(t.title || t.actionCode), 1), g("small", null, w(t.actionCode), 1)], 64)) : e.key === "configured" ? (x(), m(T(te), {
457
+ cell: E(({ column: t, record: n }) => [t.key === "title" ? (x(), h(f, { key: 0 }, [g("strong", null, w(n.title || n.actionCode), 1), g("small", null, w(n.actionCode), 1)], 64)) : t.key === "configured" ? (x(), m(T(le), {
458
458
  key: 1,
459
- checked: !!t.configured,
459
+ checked: !!n.configured,
460
460
  disabled: L.value,
461
- onChange: (e) => t.configured = e
461
+ onChange: (e) => n.configured = e
462
462
  }, null, 8, [
463
463
  "checked",
464
464
  "disabled",
465
465
  "onChange"
466
- ])) : (x(), m(T(a), {
466
+ ])) : (x(), m(T(e), {
467
467
  key: 2,
468
- value: t.dataScopePolicy,
468
+ value: n.dataScopePolicy,
469
469
  options: Re.value,
470
- disabled: !t.configured || L.value,
470
+ disabled: !n.configured || L.value,
471
471
  placeholder: "请选择数据范围",
472
472
  "allow-clear": !1,
473
- "onUpdate:value": (e) => t.dataScopePolicy = String(e || "")
473
+ "onUpdate:value": (e) => n.dataScopePolicy = String(e || "")
474
474
  }, null, 8, [
475
475
  "value",
476
476
  "options",
@@ -480,28 +480,28 @@ var Ee = { class: "panel-title" }, De = {
480
480
  _: 1
481
481
  }, 8, ["rows"])]),
482
482
  _: 1
483
- }, 8, ["title"])) : (x(), h("section", De, [y(T(e), {
483
+ }, 8, ["title"])) : (x(), h("section", De, [y(T(c), {
484
484
  class: "module-panel",
485
485
  title: "模块树",
486
486
  "refresh-title": "刷新模块目录",
487
487
  searchable: !1,
488
488
  onRefresh: Z
489
489
  }, {
490
- default: E(() => [y(T(ne), {
490
+ default: E(() => [y(T(se), {
491
491
  records: Le.value,
492
492
  "selected-id": j.value,
493
493
  onSelect: n[0] ||= (e) => j.value = e.id
494
494
  }, null, 8, ["records", "selected-id"])]),
495
495
  _: 1
496
- }), y(T(e), {
496
+ }), y(T(c), {
497
497
  class: "action-panel",
498
498
  title: Fe.value,
499
499
  searchable: !1
500
500
  }, _({
501
- default: E(() => [I.value ? (x(), m(T(le), {
501
+ default: E(() => [I.value ? (x(), m(T(ne), {
502
502
  key: 0,
503
503
  tip: "加载模块动作"
504
- })) : j.value ? (x(), m(T(ie), {
504
+ })) : j.value ? (x(), m(T(re), {
505
505
  key: 2,
506
506
  columns: Ve,
507
507
  rows: Ue.value,
@@ -520,48 +520,48 @@ var Ee = { class: "panel-title" }, De = {
520
520
  "indeterminate",
521
521
  "disabled"
522
522
  ]), n[5] ||= v(" 授权 ", -1)])) : (x(), h(f, { key: 1 }, [v(w(e.title), 1)], 64))]),
523
- cell: E(({ column: e, record: t }) => [e.key === "title" ? (x(), h(f, { key: 0 }, [g("strong", null, w(t.title || t.actionCode), 1), g("small", null, w(t.permissionActionCode || t.actionCode), 1)], 64)) : e.key === "granted" ? (x(), m(T(ae), {
523
+ cell: E(({ column: t, record: n }) => [t.key === "title" ? (x(), h(f, { key: 0 }, [g("strong", null, w(n.title || n.actionCode), 1), g("small", null, w(n.permissionActionCode || n.actionCode), 1)], 64)) : t.key === "granted" ? (x(), m(T(ae), {
524
524
  key: 1,
525
- checked: !!t.granted,
525
+ checked: !!n.granted,
526
526
  disabled: L.value,
527
- onChange: (e) => $e(t, e)
527
+ onChange: (e) => $e(n, e)
528
528
  }, null, 8, [
529
529
  "checked",
530
530
  "disabled",
531
531
  "onChange"
532
- ])) : t.dataAuth && G.value && t.granted ? (x(), h("div", ke, [y(T(a), {
533
- value: at(t),
532
+ ])) : n.dataAuth && G.value && n.granted ? (x(), h("div", ke, [y(T(e), {
533
+ value: at(n),
534
534
  options: Re.value,
535
535
  disabled: L.value,
536
536
  "allow-clear": !1,
537
- "onUpdate:value": (e) => tt(t, e)
537
+ "onUpdate:value": (e) => tt(n, e)
538
538
  }, null, 8, [
539
539
  "value",
540
540
  "options",
541
541
  "disabled",
542
542
  "onUpdate:value"
543
- ]), t.dataScopePolicy === "referenceDependency" ? (x(), h(f, { key: 0 }, [y(T(a), {
544
- value: it(t.referenceFieldId),
543
+ ]), n.dataScopePolicy === "referenceDependency" ? (x(), h(f, { key: 0 }, [y(T(e), {
544
+ value: it(n.referenceFieldId),
545
545
  options: ze.value,
546
546
  disabled: L.value,
547
547
  placeholder: "请选择引用字段",
548
548
  "allow-clear": !1,
549
- "onUpdate:value": (e) => nt(t, e)
549
+ "onUpdate:value": (e) => nt(n, e)
550
550
  }, null, 8, [
551
551
  "value",
552
552
  "options",
553
553
  "disabled",
554
554
  "onUpdate:value"
555
- ]), t.referenceFieldId ? (x(), h("small", Ae, " 依赖目标:" + w(rt(t.referenceFieldId)?.targetModuleTitle) + " · " + w(rt(t.referenceFieldId)?.referenceActionTitle), 1)) : (x(), h("small", je, "请先选择引用字段,再开启该动作授权。"))], 64)) : pe("v-if", !0)])) : st(e, t) ? (x(), h("span", Me, "—")) : (x(), h("span", Ne, "不适用"))]),
555
+ ]), n.referenceFieldId ? (x(), h("small", Ae, " 依赖目标:" + w(rt(n.referenceFieldId)?.targetModuleTitle) + " · " + w(rt(n.referenceFieldId)?.referenceActionTitle), 1)) : (x(), h("small", je, "请先选择引用字段,再开启该动作授权。"))], 64)) : pe("v-if", !0)])) : st(t, n) ? (x(), h("span", Me, "—")) : (x(), h("span", Ne, "不适用"))]),
556
556
  _: 1
557
- }, 8, ["rows"])) : (x(), m(T(re), {
557
+ }, 8, ["rows"])) : (x(), m(T(ee), {
558
558
  key: 1,
559
559
  title: "请选择模块"
560
560
  }))]),
561
561
  _: 2
562
562
  }, [Y.value ? void 0 : {
563
563
  name: "actions",
564
- fn: E(() => [y(T(o), {
564
+ fn: E(() => [y(T(r), {
565
565
  type: "primary",
566
566
  disabled: !X.value,
567
567
  loading: L.value,
@@ -575,7 +575,7 @@ var Ee = { class: "panel-title" }, De = {
575
575
  _: 2
576
576
  }, [Y.value && !U.value ? {
577
577
  name: "operation",
578
- fn: E(() => [y(T(o), {
578
+ fn: E(() => [y(T(r), {
579
579
  type: "primary",
580
580
  disabled: !X.value,
581
581
  loading: L.value,
@@ -587,6 +587,6 @@ var Ee = { class: "panel-title" }, De = {
587
587
  key: "0"
588
588
  } : void 0]), 1040));
589
589
  }
590
- }), O = /* @__PURE__ */ n({ default: () => k }), k = /*#__PURE__*/ r(D, [["__scopeId", "data-v-3023b71d"]]);
590
+ }), O = /* @__PURE__ */ s({ default: () => k }), k = /*#__PURE__*/ n(D, [["__scopeId", "data-v-3023b71d"]]);
591
591
  //#endregion
592
592
  export { O as n, xe as r, k as t };
@@ -1,4 +1,4 @@
1
- import { t as e } from "./RoleManagementView-HCa9rH0f.js";
1
+ import { t as e } from "./RoleManagementView-D43pUCxi.js";
2
2
  import { createBlock as t, defineComponent as n, openBlock as r } from "vue";
3
3
  //#endregion
4
4
  //#region src/views/RoleDetailWorkspaceView.vue