@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,13 +1,13 @@
1
- import { Kr as e, Ya as t, _n as n, er as r, fr as i, or as a, pa as o, rr as s, ur as c } from "./platform-components-D0T03KGl.js";
1
+ import { Jr as e, Za as t, _n as n, dr as r, er as i, ha as a, ir as o, pr as s, sr as c } from "./platform-components-Xb5qgsXU.js";
2
2
  import { Fragment as l, computed as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, defineComponent as g, isRef as _, openBlock as v, ref as y, toDisplayString as b, unref as x, watch as S, withCtx as C } from "vue";
3
3
  //#region src/views/configurationTranslationWorkspace.ts
4
4
  function w(e) {
5
- let t = y(""), n = y(""), r = u(() => n.value === t.value.trim()), i = y(), a = y("en"), s = y([]), c = y([]), l = y({}), d = /* @__PURE__ */ new Map(), f = y(!1), p = u(() => s.value.find((e) => e.sourceId === i.value)), m = u(() => JSON.stringify([
5
+ let t = y(""), n = y(""), r = u(() => n.value === t.value.trim()), i = y(), o = y("en"), s = y([]), c = y([]), l = y({}), d = /* @__PURE__ */ new Map(), f = y(!1), p = u(() => s.value.find((e) => e.sourceId === i.value)), m = u(() => JSON.stringify([
6
6
  n.value,
7
7
  p.value?.sourceId,
8
8
  p.value?.sourceVersion,
9
- a.value
10
- ])), h = u(() => c.value.find((e) => e.sourceId === p.value?.sourceId && e.sourceVersion === p.value?.sourceVersion && e.languageTag === a.value)), g = u(() => c.value.find((e) => e.sourceId === p.value?.sourceId && e.sourceVersion !== p.value?.sourceVersion && e.languageTag === a.value)), _ = u({
9
+ o.value
10
+ ])), h = u(() => c.value.find((e) => e.sourceId === p.value?.sourceId && e.sourceVersion === p.value?.sourceVersion && e.languageTag === o.value)), g = u(() => c.value.find((e) => e.sourceId === p.value?.sourceId && e.sourceVersion !== p.value?.sourceVersion && e.languageTag === o.value)), _ = u({
11
11
  get: () => l.value[m.value] ?? h.value?.draftText ?? "",
12
12
  set: (e) => {
13
13
  let t = { ...l.value };
@@ -33,14 +33,14 @@ function w(e) {
33
33
  let t = p.value, i = m.value, s = _.value;
34
34
  f.value = !0;
35
35
  try {
36
- let r = o(await e.request({
36
+ let r = a(await e.request({
37
37
  method: "POST",
38
38
  path: "/platform.localization/drafts",
39
39
  body: {
40
40
  moduleAlias: n.value,
41
41
  sourceId: t.sourceId,
42
42
  sourceVersion: t.sourceVersion,
43
- languageTag: a.value,
43
+ languageTag: o.value,
44
44
  text: s,
45
45
  version: i in l.value ? d.get(i) : h.value?.version
46
46
  }
@@ -57,7 +57,7 @@ function w(e) {
57
57
  let t = h.value;
58
58
  f.value = !0;
59
59
  try {
60
- x(o(await e.request({
60
+ x(a(await e.request({
61
61
  method: "POST",
62
62
  path: `/platform.localization/translations/${encodeURIComponent(t.id)}/publish`,
63
63
  body: {
@@ -74,7 +74,7 @@ function w(e) {
74
74
  loadedModuleAlias: n,
75
75
  ready: r,
76
76
  sourceId: i,
77
- targetLanguage: a,
77
+ targetLanguage: o,
78
78
  sources: s,
79
79
  source: p,
80
80
  translation: h,
@@ -92,14 +92,14 @@ function w(e) {
92
92
  var T = { class: "configuration-translation" }, E = { class: "configuration-translation__toolbar" }, D = { class: "configuration-translation__location" }, O = {
93
93
  key: 0,
94
94
  role: "status"
95
- }, k = { class: "configuration-translation__toolbar" }, A = { key: 1 }, j = /*#__PURE__*/ i(/* @__PURE__ */ g({
95
+ }, k = { class: "configuration-translation__toolbar" }, A = { key: 1 }, j = /*#__PURE__*/ s(/* @__PURE__ */ g({
96
96
  __name: "ConfigurationTranslationView",
97
- setup(i) {
98
- let o = t(), g = o.t, y = e({ moduleAlias: "platform.localization" }), j = w(y.http), { moduleAlias: M, sourceId: N, targetLanguage: P, sources: F, source: I, translation: L, previous: R, text: z, dirty: B, busy: V, ready: H } = j, U = u(() => o.catalog.value.languages.filter((e) => e.enabled !== !1).map((e) => ({
97
+ setup(a) {
98
+ let s = t(), g = s.t, y = e({ moduleAlias: "platform.localization" }), j = w(y.http), { moduleAlias: M, sourceId: N, targetLanguage: P, sources: F, source: I, translation: L, previous: R, text: z, dirty: B, busy: V, ready: H } = j, U = u(() => s.catalog.value.languages.filter((e) => e.enabled !== !1).map((e) => ({
99
99
  value: e.tag,
100
100
  label: e.nativeName
101
101
  })));
102
- S(o.catalog, (e) => {
102
+ S(s.catalog, (e) => {
103
103
  e.languages.some((e) => e.tag === P.value && e.enabled !== !1) || (P.value = e.languages.find((t) => t.enabled !== !1 && t.tag !== e.defaultTag)?.tag ?? e.defaultTag);
104
104
  }, { immediate: !0 });
105
105
  let W = u(() => F.value.map((e) => ({
@@ -120,20 +120,20 @@ var T = { class: "configuration-translation" }, E = { class: "configuration-tran
120
120
  p("h2", null, b(x(g)("platform.translation.title", "配置翻译")), 1),
121
121
  p("p", null, b(x(g)("platform.translation.scope", "维护已生效界面原文的译文;业务记录内容保持原文。")), 1),
122
122
  p("div", E, [
123
- p("label", null, [m(b(x(g)("platform.translation.module", "模块")), 1), h(x(s), {
123
+ p("label", null, [m(b(x(g)("platform.translation.module", "模块")), 1), h(x(o), {
124
124
  value: x(M),
125
125
  "onUpdate:value": t[0] ||= (e) => _(M) ? M.value = e : null,
126
126
  disabled: x(V),
127
127
  placeholder: "education.exam"
128
128
  }, null, 8, ["value", "disabled"])]),
129
- h(x(c), {
129
+ h(x(r), {
130
130
  disabled: x(V) || !x(M) || x(y).can("viewTranslationSources") !== !0 || x(y).can("viewTranslations") !== !0,
131
131
  onClick: t[1] ||= (e) => G(x(j).load)
132
132
  }, {
133
133
  default: C(() => [m(b(x(g)("platform.translation.load", "加载原文")), 1)]),
134
134
  _: 1
135
135
  }, 8, ["disabled"]),
136
- p("label", null, [m(b(x(g)("platform.translation.target-language", "翻译语言")), 1), h(x(a), {
136
+ p("label", null, [m(b(x(g)("platform.translation.target-language", "翻译语言")), 1), h(x(c), {
137
137
  value: x(P),
138
138
  "onUpdate:value": t[2] ||= (e) => _(P) ? P.value = e : null,
139
139
  options: U.value,
@@ -145,7 +145,7 @@ var T = { class: "configuration-translation" }, E = { class: "configuration-tran
145
145
  "disabled"
146
146
  ])])
147
147
  ]),
148
- x(F).length && x(H) ? (v(), f(l, { key: 0 }, [p("label", null, [m(b(x(g)("platform.translation.source", "选择原文")), 1), h(x(a), {
148
+ x(F).length && x(H) ? (v(), f(l, { key: 0 }, [p("label", null, [m(b(x(g)("platform.translation.source", "选择原文")), 1), h(x(c), {
149
149
  value: x(N),
150
150
  "onUpdate:value": t[3] ||= (e) => _(N) ? N.value = e : null,
151
151
  options: W.value,
@@ -162,27 +162,27 @@ var T = { class: "configuration-translation" }, E = { class: "configuration-tran
162
162
  t[7] ||= m(),
163
163
  p("code", null, b(x(I).sourceId), 1)
164
164
  ]),
165
- p("label", null, [m(b(x(g)("platform.translation.original", "原文")), 1), h(x(r), {
165
+ p("label", null, [m(b(x(g)("platform.translation.original", "原文")), 1), h(x(i), {
166
166
  value: x(I).originalText,
167
167
  disabled: ""
168
168
  }, null, 8, ["value"])]),
169
169
  x(R) ? (v(), f("p", O, b(x(g)("platform.translation.review-required", "原文已变化,旧译文仅供复核参考:")) + b(x(R).publishedText ?? x(R).draftText), 1)) : d("v-if", !0),
170
- p("label", null, [m(b(x(g)("platform.translation.draft", "译文草稿")), 1), h(x(r), {
170
+ p("label", null, [m(b(x(g)("platform.translation.draft", "译文草稿")), 1), h(x(i), {
171
171
  value: x(z),
172
172
  "onUpdate:value": t[4] ||= (e) => _(z) ? z.value = e : null,
173
173
  disabled: x(V) || x(y).can("saveTranslationDraft") !== !0
174
174
  }, null, 8, ["value", "disabled"])]),
175
- p("label", null, [m(b(x(g)("platform.translation.published", "已发布译文")), 1), h(x(r), {
175
+ p("label", null, [m(b(x(g)("platform.translation.published", "已发布译文")), 1), h(x(i), {
176
176
  value: x(L)?.publishedText ?? "",
177
177
  disabled: ""
178
178
  }, null, 8, ["value"])]),
179
- p("div", k, [h(x(c), {
179
+ p("div", k, [h(x(r), {
180
180
  disabled: x(V) || !x(H) || !x(z).trim() || x(y).can("saveTranslationDraft") !== !0,
181
181
  onClick: t[5] ||= (e) => G(x(j).save)
182
182
  }, {
183
183
  default: C(() => [m(b(x(g)("platform.translation.save-draft", "保存草稿")), 1)]),
184
184
  _: 1
185
- }, 8, ["disabled"]), h(x(c), {
185
+ }, 8, ["disabled"]), h(x(r), {
186
186
  disabled: x(V) || !x(H) || x(B) || !x(L) || x(y).can("publishTranslation") !== !0,
187
187
  onClick: t[6] ||= (e) => G(x(j).publish)
188
188
  }, {
@@ -1,5 +1,5 @@
1
- import { Ya as e } from "./platform-components-D0T03KGl.js";
2
- import { t } from "./BusinessLogListDrawer-UCsg6psI.js";
1
+ import { Za as e } from "./platform-components-Xb5qgsXU.js";
2
+ import { t } from "./BusinessLogListDrawer-BnucgqNA.js";
3
3
  import { createBlock as n, defineComponent as r, openBlock as i, unref as a } from "vue";
4
4
  //#endregion
5
5
  //#region src/views/LoginAuditLogView.vue