@ximatai/muyun-web-app 0.26.23 → 0.26.24

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 (56) hide show
  1. package/dist/{BusinessActivityLogView-IWGZiPLo.js → BusinessActivityLogView-DQ5_VmLp.js} +2 -2
  2. package/dist/{BusinessLogListDrawer-UCsg6psI.js → BusinessLogListDrawer-BnucgqNA.js} +155 -155
  3. package/dist/{CodeConfigurationView-Calkazua.js → CodeConfigurationView-CtQjmpLz.js} +390 -390
  4. package/dist/{ConfigurationTranslationView-fZrlRAMy.js → ConfigurationTranslationView-BiYn2MJx.js} +21 -21
  5. package/dist/{LoginAuditLogView-B6J7t__0.js → LoginAuditLogView-BIz1LVC3.js} +2 -2
  6. package/dist/ModuleActionManagementView-0_ek9yag.js +780 -0
  7. package/dist/{ModuleGovernanceView-D8ONs78K.js → ModuleGovernanceView-DEDF61vj.js} +3154 -3154
  8. package/dist/{RequestErrorLogView-poMgx4_6.js → RequestErrorLogView-HatmiK8_.js} +2 -2
  9. package/dist/{RoleDetailWorkspaceView-6Bs1eKbm.js → RoleDetailWorkspaceView-BzzoarpR.js} +65 -65
  10. package/dist/{RuntimeLogView-Co-Z86bt.js → RuntimeLogView-Vdt6SWK6.js} +47 -47
  11. package/dist/WorkflowAdministrationView-Dlw2ng0N.js +650 -0
  12. package/dist/{WorkflowConfigurationView-mSyL_-We.js → WorkflowConfigurationView-j2xnGmkM.js} +35 -35
  13. package/dist/WorkflowWorkbenchView-Nv4mvTTP.js +759 -0
  14. package/dist/{codeConfiguration-D1zrxzoW.js → codeConfiguration-B_z1qQvB.js} +37 -37
  15. package/dist/index.css +1 -1
  16. package/dist/index.js +1340 -788
  17. package/dist/{moduleMenuWorkspace-lIVrTaOB.js → moduleMenuWorkspace-1N0U7QW9.js} +220 -220
  18. package/dist/{platform-components-D0T03KGl.js → platform-components-Xb5qgsXU.js} +3091 -2880
  19. package/dist/{platform-workbench-CobObbuz.js → platform-workbench-VhgKhPLI.js} +5526 -5451
  20. package/dist/types/app/CurrentUserProfileDialog.vue.d.ts +6 -0
  21. package/dist/types/app/ExternalIdentityBindings.vue.d.ts +8 -0
  22. package/dist/types/app/ExternalProvisioningConfirmation.vue.d.ts +15 -0
  23. package/dist/types/app/LoginView.vue.d.ts +3 -1
  24. package/dist/types/app/WeLinkQrCode.vue.d.ts +11 -0
  25. package/dist/types/app/externalLoginReturn.d.ts +38 -0
  26. package/dist/types/app/useExternalLoginHost.d.ts +27 -0
  27. package/dist/types/app/weLinkQrCode.d.ts +22 -0
  28. package/dist/types/consumer/index.d.ts +7 -2
  29. package/dist/types/dynamic-page-runtime/ManagedDetailRelationInlineSurface.vue.d.ts +1 -0
  30. package/dist/types/dynamic-page-runtime/ManagedDetailRelationSurface.vue.d.ts +1 -0
  31. package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +4 -0
  32. package/dist/types/dynamic-page-runtime/ModulePageDetailRelations.vue.d.ts +1 -0
  33. package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +11 -15
  34. package/dist/types/dynamic-page-runtime/composables/useModulePageDetailActionRuntime.d.ts +2 -0
  35. package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +2 -0
  36. package/dist/types/platform-admin-runtime/job/ScheduledActionTargetFields.vue.d.ts +7 -0
  37. package/dist/types/platform-admin-runtime/scheduledActionPlanPageEnhancement.d.ts +3 -0
  38. package/dist/types/platform-components/BusinessNotificationCard.vue.d.ts +30 -0
  39. package/dist/types/platform-components/BusinessNotificationPanel.vue.d.ts +4 -39
  40. package/dist/types/platform-components/FileTransferUploader.vue.d.ts +1 -1
  41. package/dist/types/platform-components/RecordExplorerPanel.vue.d.ts +8 -17
  42. package/dist/types/platform-components/RecordFileReferenceTransfer.vue.d.ts +2 -0
  43. package/dist/types/platform-components/RecordFormFields.vue.d.ts +2 -2
  44. package/dist/types/platform-components/SingleImageFileReferenceField.vue.d.ts +4 -0
  45. package/dist/types/platform-components/fileReferenceTransfer.d.ts +9 -2
  46. package/dist/types/platform-components/managementWorkspaceContext.d.ts +2 -1
  47. package/dist/types/platform-components/useNotificationDeckMotion.d.ts +7 -0
  48. package/dist/types/views/businessRuleGovernance.d.ts +1 -0
  49. package/dist/types/web-contracts/index.d.ts +71 -2
  50. package/dist/types/web-core/clients.d.ts +11 -1
  51. package/dist/{useWorkflowConfigurationContext-BkcNPU2H.js → useWorkflowConfigurationContext-BLFXzHwn.js} +5 -5
  52. package/dist/{workspaceViews-BtqO8rU0.js → workspaceViews-Cas3PR5B.js} +1050 -894
  53. package/package.json +1 -1
  54. package/dist/ModuleActionManagementView-BZ89Woex.js +0 -755
  55. package/dist/WorkflowAdministrationView-D7QpRHDp.js +0 -650
  56. package/dist/WorkflowWorkbenchView-DBMh3ycN.js +0 -759
@@ -1,6 +1,6 @@
1
- import { E as e } from "./platform-workbench-CobObbuz.js";
2
- import { An as t, Ar as n, Ca as r, Ea as i, G as a, Hn as o, Ht as s, Ln as c, Mn as l, Nn as ee, On as te, Xt as ne, Ya as re, Zn as ie, _n as u, a as ae, c as oe, d as se, fr as d, kn as ce, l as le, m as ue, n as de, nn as fe, o as pe, or as me, s as he, t as ge, ur as f } from "./platform-components-D0T03KGl.js";
3
- import { t as _e } from "./useWorkflowConfigurationContext-BkcNPU2H.js";
1
+ import { E as e } from "./platform-workbench-VhgKhPLI.js";
2
+ import { An as t, G as n, Hn as r, Ht as i, Ln as a, Mn as o, Nn as s, Oa as c, On as l, Ta as ee, Xt as te, Za as ne, Zn as re, _n as u, a as ie, c as ae, d as oe, dr as d, jr as se, kn as ce, l as le, m as ue, n as de, nn as fe, o as pe, pr as f, s as me, sr as he, t as ge } from "./platform-components-Xb5qgsXU.js";
3
+ import { t as _e } from "./useWorkflowConfigurationContext-BLFXzHwn.js";
4
4
  import { Fragment as p, computed as m, createBlock as h, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createSlots as ve, createTextVNode as y, createVNode as b, defineComponent as x, normalizeStyle as ye, onActivated as be, onBeforeUnmount as xe, onMounted as Se, onScopeDispose as Ce, openBlock as S, ref as C, renderList as w, toDisplayString as T, unref as E, watch as we, withCtx as D } from "vue";
5
5
  //#region src/platform-components/useWorkflowDesignHistory.ts
6
6
  function Te(e, t = 100) {
@@ -334,7 +334,7 @@ function Pe(e, t, n, r) {
334
334
  var Fe = { class: "workflow-configuration" }, Ie = { class: "configuration-status" }, Le = {
335
335
  class: "configuration-state configuration-state--dirty",
336
336
  role: "status"
337
- }, Re = { class: "configuration-state" }, ze = { class: "configuration-property-operations" }, Be = { class: "publish-nodes" }, Ve = { key: 0 }, He = { key: 0 }, Ue = { key: 1 }, We = { key: 0 }, Ge = 720, j = /*#__PURE__*/ d(/* @__PURE__ */ x({
337
+ }, Re = { class: "configuration-state" }, ze = { class: "configuration-property-operations" }, Be = { class: "publish-nodes" }, Ve = { key: 0 }, He = { key: 0 }, Ue = { key: 1 }, We = { key: 0 }, Ge = 720, j = /*#__PURE__*/ f(/* @__PURE__ */ x({
338
338
  name: "WorkflowConfigurationView",
339
339
  __name: "WorkflowConfigurationView",
340
340
  props: {
@@ -342,12 +342,12 @@ var Fe = { class: "workflow-configuration" }, Ie = { class: "configuration-statu
342
342
  moduleTitle: {},
343
343
  definitionId: {}
344
344
  },
345
- setup(d) {
346
- let x = re();
345
+ setup(f) {
346
+ let x = ne();
347
347
  function Ce(e) {
348
348
  return ue(e, x);
349
349
  }
350
- let k = d, { context: A, client: j, businessRuntime: Ke, fields: M, conditionTools: qe } = _e(k.moduleAlias), N = C({
350
+ let k = f, { context: A, client: j, businessRuntime: Ke, fields: M, conditionTools: qe } = _e(k.moduleAlias), N = C({
351
351
  tasks: [],
352
352
  queries: [],
353
353
  generations: [],
@@ -355,7 +355,7 @@ var Fe = { class: "workflow-configuration" }, Ie = { class: "configuration-statu
355
355
  }), Je = m(() => (Ke.value?.actions ?? []).map((e) => ({
356
356
  value: e.actionCode,
357
357
  label: e.title ?? Ce(e.actionCode)
358
- }))), Ye = C(), Xe = de(Ye, () => Ge + c.compact + fe.columnGap), P = C(!1), F = C(!1), Ze = m(() => [
358
+ }))), Ye = C(), Xe = de(Ye, () => Ge + a.compact + fe.columnGap), P = C(!1), F = C(!1), Ze = m(() => [
359
359
  {
360
360
  key: "save",
361
361
  title: x.t("platform.screen.WorkflowConfigurationView.save-draft", "保存草稿"),
@@ -439,7 +439,7 @@ var Fe = { class: "workflow-configuration" }, Ie = { class: "configuration-statu
439
439
  }, r = t?.convergeMode ?? "all";
440
440
  return `${n[r]}${r === "ratio" ? ` ${t?.convergeRatio ?? 100}%` : ""}`;
441
441
  }
442
- n(() => x.t("platform.workflow-config.configuration", "流程配置"), () => K.value, () => W.value), Se(() => {
442
+ se(() => x.t("platform.workflow-config.configuration", "流程配置"), () => K.value, () => W.value), Se(() => {
443
443
  dt();
444
444
  });
445
445
  let X = 0, ct = !1, lt = !1;
@@ -496,7 +496,7 @@ var Fe = { class: "workflow-configuration" }, Ie = { class: "configuration-statu
496
496
  links: []
497
497
  } : i), q.value = [], H.value = "", U.value = "", P.value = !1;
498
498
  } catch (e) {
499
- L.value = () => i(r(e), x);
499
+ L.value = () => c(ee(e), x);
500
500
  }
501
501
  }), I.value = !1);
502
502
  }
@@ -520,7 +520,7 @@ var Fe = { class: "workflow-configuration" }, Ie = { class: "configuration-statu
520
520
  });
521
521
  }
522
522
  async function gt() {
523
- if (V.value.nodes.some((e) => ["approval", "task"].includes(e.nodeType) && !oe(e.participantPolicyText))) {
523
+ if (V.value.nodes.some((e) => ["approval", "task"].includes(e.nodeType) && !ae(e.participantPolicyText))) {
524
524
  u(Error(x.t("platform.workflow-config.participants-required", "请为每个审批或业务任务节点明确配置参与人")), {
525
525
  source: "workflow-design",
526
526
  phase: "validation"
@@ -635,7 +635,7 @@ var Fe = { class: "workflow-configuration" }, Ie = { class: "configuration-statu
635
635
  q.value = q.value.filter((e) => n.has(e)), H.value && !n.has(H.value) && (H.value = "", P.value = !1), U.value && !t.includes(U.value) && (U.value = "", P.value = !1);
636
636
  }, { flush: "sync" });
637
637
  function Ot(e) {
638
- return lt ? !1 : J.value && e() ? !0 : (te(x.t("platform.workflow-config.stale-edit", "流程已变更,本次操作未应用,请重新操作。")), !1);
638
+ return lt ? !1 : J.value && e() ? !0 : (l(x.t("platform.workflow-config.stale-edit", "流程已变更,本次操作未应用,请重新操作。")), !1);
639
639
  }
640
640
  function kt() {
641
641
  J.value && G.undo();
@@ -663,7 +663,7 @@ var Fe = { class: "workflow-configuration" }, Ie = { class: "configuration-statu
663
663
  let n = Pe(V.value, t, e, `copy_${crypto.randomUUID().replaceAll("-", "")}`);
664
664
  if (V.value = n.design, n.reconfigureSelectorKeys.length) {
665
665
  let e = n.reconfigureSelectorKeys.map((e) => n.design.nodes.find((t) => t.nodeKey === e)?.title ?? e).join("、");
666
- te(x.t("platform.workflow-config.paste-reconfigure-selectors", "已粘贴,以下人工分支需要重新配置选择来源:{names}。", { names: e })), Q(n.reconfigureSelectorKeys[0]);
666
+ l(x.t("platform.workflow-config.paste-reconfigure-selectors", "已粘贴,以下人工分支需要重新配置选择来源:{names}。", { names: e })), Q(n.reconfigureSelectorKeys[0]);
667
667
  } else Dt(n.keys);
668
668
  }
669
669
  function Pt(e) {
@@ -706,19 +706,19 @@ var Fe = { class: "workflow-configuration" }, Ie = { class: "configuration-statu
706
706
  });
707
707
  }
708
708
  }
709
- return (e, t) => (S(), _("section", Fe, [b(E(a), { title: z.value?.title ?? E(x).t("platform.workflow-config.configuration", "流程配置") }, ve({
710
- actions: D(() => [b(E(ne), {
709
+ return (e, t) => (S(), _("section", Fe, [b(E(n), { title: z.value?.title ?? E(x).t("platform.workflow-config.configuration", "流程配置") }, ve({
710
+ actions: D(() => [b(E(te), {
711
711
  class: "configuration-action-bar",
712
712
  actions: Ze.value,
713
713
  onAction: t[0] ||= (e) => et(e.key)
714
714
  }, null, 8, ["actions"])]),
715
715
  default: D(() => [
716
- I.value ? (S(), h(E(ee), { key: 0 })) : g("v-if", !0),
717
- L.value ? (S(), h(E(l), {
716
+ I.value ? (S(), h(E(s), { key: 0 })) : g("v-if", !0),
717
+ L.value ? (S(), h(E(o), {
718
718
  key: 1,
719
719
  message: L.value()
720
720
  }, null, 8, ["message"])) : g("v-if", !0),
721
- L.value ? (S(), h(E(f), {
721
+ L.value ? (S(), h(E(d), {
722
722
  key: 2,
723
723
  onClick: dt
724
724
  }, {
@@ -731,7 +731,7 @@ var Fe = { class: "workflow-configuration" }, Ie = { class: "configuration-statu
731
731
  ref: Ye,
732
732
  class: "configuration-design",
733
733
  style: ye({ gap: `${E(fe).columnGap}px` })
734
- }, [(S(), h(E(se), {
734
+ }, [(S(), h(E(oe), {
735
735
  key: B.value?.id,
736
736
  nodes: V.value.nodes,
737
737
  routes: V.value.links,
@@ -756,12 +756,12 @@ var Fe = { class: "workflow-configuration" }, Ie = { class: "configuration-statu
756
756
  onSelectRoute: vt,
757
757
  onLayoutChange: yt
758
758
  }, {
759
- actions: D(() => [b(E(o), {
759
+ actions: D(() => [b(E(r), {
760
760
  items: Qe.value,
761
761
  align: "start",
762
762
  onSelect: $e
763
763
  }, {
764
- default: D(() => [b(E(f), {
764
+ default: D(() => [b(E(d), {
765
765
  "icon-name": "plus",
766
766
  disabled: !J.value
767
767
  }, {
@@ -770,7 +770,7 @@ var Fe = { class: "workflow-configuration" }, Ie = { class: "configuration-statu
770
770
  }, 8, ["disabled"])]),
771
771
  _: 1
772
772
  }, 8, ["items"])]),
773
- navigation: D(() => [b(E(me), {
773
+ navigation: D(() => [b(E(he), {
774
774
  class: "configuration-route-locator",
775
775
  value: U.value || void 0,
776
776
  placeholder: E(x).t("platform.screen.WorkflowConfigurationView.select-link", "选择连线"),
@@ -802,7 +802,7 @@ var Fe = { class: "workflow-configuration" }, Ie = { class: "configuration-statu
802
802
  title: Y.value?.title ? E(x).t("platform.workflow-config.node-properties", "节点属性 · {title}", { title: Y.value.title }) : E(x).t("platform.workflow-config.route-properties", "路径属性"),
803
803
  onClose: t[4] ||= (e) => P.value = !1
804
804
  }, {
805
- operation: D(() => [v("div", ze, [Y.value?.nodeType === "branch" ? (S(), h(E(f), {
805
+ operation: D(() => [v("div", ze, [Y.value?.nodeType === "branch" ? (S(), h(E(d), {
806
806
  key: 0,
807
807
  danger: "",
808
808
  disabled: !at.value,
@@ -810,7 +810,7 @@ var Fe = { class: "workflow-configuration" }, Ie = { class: "configuration-statu
810
810
  }, {
811
811
  default: D(() => [y(T(E(x).t("platform.screen.WorkflowDesignProperties.delete-entire-branch", "删除整个分支")), 1)]),
812
812
  _: 1
813
- }, 8, ["disabled"])) : Y.value ? (S(), h(E(f), {
813
+ }, 8, ["disabled"])) : Y.value ? (S(), h(E(d), {
814
814
  key: 1,
815
815
  danger: "",
816
816
  disabled: !at.value,
@@ -818,21 +818,21 @@ var Fe = { class: "workflow-configuration" }, Ie = { class: "configuration-statu
818
818
  }, {
819
819
  default: D(() => [y(T(E(x).t("platform.screen.WorkflowDesignProperties.delete-and-reconnect-adjacent-nodes", "删除节点")), 1)]),
820
820
  _: 1
821
- }, 8, ["disabled"])) : g("v-if", !0), b(E(f), {
821
+ }, 8, ["disabled"])) : g("v-if", !0), b(E(d), {
822
822
  disabled: W.value,
823
823
  onClick: t[3] ||= (e) => P.value = !1
824
824
  }, {
825
825
  default: D(() => [y(T(E(x).t("platform.screen.WorkflowConfigurationView.finish-configuration", "完成配置")), 1)]),
826
826
  _: 1
827
827
  }, 8, ["disabled"])])]),
828
- default: D(() => [b(E(ae), {
828
+ default: D(() => [b(E(ie), {
829
829
  "condition-tools": E(qe),
830
830
  design: V.value,
831
831
  "node-key": H.value,
832
832
  "route-key": U.value,
833
833
  editable: J.value,
834
834
  http: E(A).http,
835
- "module-alias": d.moduleAlias,
835
+ "module-alias": f.moduleAlias,
836
836
  fields: E(M),
837
837
  catalog: N.value,
838
838
  actions: Je.value,
@@ -862,7 +862,7 @@ var Fe = { class: "workflow-configuration" }, Ie = { class: "configuration-statu
862
862
  _: 2
863
863
  }, [z.value ? {
864
864
  name: "status",
865
- fn: D(() => [v("div", Ie, [b(E(me), {
865
+ fn: D(() => [v("div", Ie, [b(E(he), {
866
866
  class: "configuration-version-selector",
867
867
  value: B.value?.id,
868
868
  options: R.value.map((e) => ({
@@ -878,13 +878,13 @@ var Fe = { class: "workflow-configuration" }, Ie = { class: "configuration-statu
878
878
  "value",
879
879
  "options",
880
880
  "disabled"
881
- ]), E(K) ? (S(), h(E(ie), {
881
+ ]), E(K) ? (S(), h(E(re), {
882
882
  key: 0,
883
883
  title: E(x).t("platform.screen.WorkflowConfigurationView.the-draft-has-unsaved-changes", "草稿有未保存的修改")
884
884
  }, {
885
885
  default: D(() => [v("span", Le, T(E(x).t("platform.workflow-config.unsaved", "未保存")), 1)]),
886
886
  _: 1
887
- }, 8, ["title"])) : nt.value ? (S(), h(E(ie), {
887
+ }, 8, ["title"])) : nt.value ? (S(), h(E(re), {
888
888
  key: 1,
889
889
  title: E(x).t("platform.screen.WorkflowConfigurationView.this-version-is-frozen-create-a-new", "此版本已冻结。修改流程请创建新版本;已有实例继续使用原版本。")
890
890
  }, {
@@ -892,13 +892,13 @@ var Fe = { class: "workflow-configuration" }, Ie = { class: "configuration-statu
892
892
  _: 1
893
893
  }, 8, ["title"])) : g("v-if", !0)])]),
894
894
  key: "0"
895
- } : void 0]), 1032, ["title"]), b(E(s), {
895
+ } : void 0]), 1032, ["title"]), b(E(i), {
896
896
  width: "extraWide",
897
897
  open: F.value,
898
898
  title: E(x).t("platform.screen.WorkflowConfigurationView.confirm-workflow-publication", "确认发布流程"),
899
899
  onClose: t[5] ||= (e) => F.value = !1
900
900
  }, {
901
- operation: D(() => [b(E(f), {
901
+ operation: D(() => [b(E(d), {
902
902
  type: "primary",
903
903
  loading: W.value,
904
904
  onClick: gt
@@ -915,7 +915,7 @@ var Fe = { class: "workflow-configuration" }, Ie = { class: "configuration-statu
915
915
  v("ul", Be, [(S(!0), _(p, null, w(V.value.nodes.filter((e) => ["approval", "task"].includes(e.nodeType)), (e) => (S(), _("li", { key: e.nodeKey }, [
916
916
  v("strong", null, T(e.title), 1),
917
917
  y(" · " + T(tt(e.participantPolicyText)) + " ", 1),
918
- v("details", null, [v("summary", null, T(E(x).t("platform.screen.WorkflowConfigurationView.view-complete-participant-rules", "查看完整人员规则")), 1), b(E(he), {
918
+ v("details", null, [v("summary", null, T(E(x).t("platform.screen.WorkflowConfigurationView.view-complete-participant-rules", "查看完整人员规则")), 1), b(E(me), {
919
919
  value: e.participantPolicyText,
920
920
  http: E(A).http,
921
921
  fields: E(M),
@@ -931,7 +931,7 @@ var Fe = { class: "workflow-configuration" }, Ie = { class: "configuration-statu
931
931
  b(E(pe), {
932
932
  "condition-tools": E(qe),
933
933
  value: e.nodeConfigText,
934
- "module-alias": d.moduleAlias,
934
+ "module-alias": f.moduleAlias,
935
935
  fields: E(M),
936
936
  catalog: N.value,
937
937
  actions: Je.value,
@@ -961,7 +961,7 @@ var Fe = { class: "workflow-configuration" }, Ie = { class: "configuration-statu
961
961
  v("ul", null, [(S(!0), _(p, null, w(V.value.links.filter((t) => t.sourceNodeKey === e.nodeKey), (e) => (S(), _("li", { key: e.routeKey }, T(e.title ?? E(x).t("platform.workflow-config.exit", "出口")) + ":" + T(e.defaultRoute ? E(x).t("platform.workflow-config.fallback-exit", "默认兜底") : e.conditionExpression || E(x).t("platform.workflow-config.unconditional", "无条件(始终命中)")), 1))), 128))]),
962
962
  v("p", null, T(E(x).t("platform.workflow-config.convergence-counting", "汇聚:{summary},只计算有效出口。", { summary: st(e) })), 1)
963
963
  ]))), 128)),
964
- v("details", null, [v("summary", null, T(E(x).t("platform.screen.WorkflowConfigurationView.view-published-workflow", "查看发布流程图")), 1), b(E(se), {
964
+ v("details", null, [v("summary", null, T(E(x).t("platform.screen.WorkflowConfigurationView.view-published-workflow", "查看发布流程图")), 1), b(E(oe), {
965
965
  presentation: "detail",
966
966
  nodes: V.value.nodes,
967
967
  routes: V.value.links,