@ximatai/muyun-web-app 0.26.16 → 0.26.18

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 (126) hide show
  1. package/dist/{BusinessActivityLogView-DVM_GB5y.js → BusinessActivityLogView-CNW817Sf.js} +2 -2
  2. package/dist/BusinessLogListDrawer-YiJxOlnD.js +864 -0
  3. package/dist/CodeConfigurationView-DU8tjPMt.js +1667 -0
  4. package/dist/{ConfigurationTranslationView-B0FosDyz.js → ConfigurationTranslationView-CbBt5s1q.js} +51 -51
  5. package/dist/{LoginAuditLogView-3tAozKlC.js → LoginAuditLogView-CZF1Jfq_.js} +2 -2
  6. package/dist/{ModuleActionManagementView-CJRNShGg.js → ModuleActionManagementView-CaiXH1l_.js} +208 -208
  7. package/dist/{ModuleGovernanceView-DsqR_Sj7.js → ModuleGovernanceView-CcwGyO3x.js} +4331 -4475
  8. package/dist/{RequestErrorLogView-C4yH-TSX.js → RequestErrorLogView-DpudZrC2.js} +2 -2
  9. package/dist/RoleDetailWorkspaceView-DNMGsAJC.js +1435 -0
  10. package/dist/{RuntimeLogView-CoKKpJ39.js → RuntimeLogView-444BL_xs.js} +61 -61
  11. package/dist/WorkflowAdministrationView-C-VIjvwB.js +650 -0
  12. package/dist/WorkflowConfigurationView-DLFY2x7V.js +1110 -0
  13. package/dist/WorkflowWorkbenchView-Gr02dbBc.js +759 -0
  14. package/dist/codeConfiguration-ChJ6ktRR.js +208 -0
  15. package/dist/index.css +1 -1
  16. package/dist/index.js +624 -598
  17. package/dist/moduleMenuWorkspace-B8DKwC3L.js +626 -0
  18. package/dist/{platform-components-Cl5ZZiuU.js → platform-components-5AE0j2_3.js} +9579 -6839
  19. package/dist/{platform-workbench-CAHoriIf.js → platform-workbench-BhZPARiH.js} +6345 -6478
  20. package/dist/types/app/CurrentUserProfileDialog.vue.d.ts +1 -1
  21. package/dist/types/app/DevelopmentTopbarActions.vue.d.ts +9 -0
  22. package/dist/types/app/useAssistantAvailability.d.ts +8 -0
  23. package/dist/types/app/useCurrentUserProfile.d.ts +12 -0
  24. package/dist/types/app/workbenchRouteSync.d.ts +2 -0
  25. package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +9 -3
  26. package/dist/types/consumer/index.d.ts +2 -1
  27. package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +8 -8
  28. package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +214 -92
  29. package/dist/types/dynamic-page-runtime/assistantQueryCapabilities.d.ts +1 -0
  30. package/dist/types/dynamic-page-runtime/composables/useManagedDetailRelationRuntime.d.ts +2 -2
  31. package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +2 -2
  32. package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +2 -2
  33. package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +4 -4
  34. package/dist/types/dynamic-page-runtime/useModuleRecordDataChanges.d.ts +4 -0
  35. package/dist/types/main.d.ts +0 -1
  36. package/dist/types/platform-admin-runtime/ModuleCodeConfigurationStatus.vue.d.ts +7 -0
  37. package/dist/types/platform-admin-runtime/moduleCodeConfiguration.d.ts +15 -0
  38. package/dist/types/platform-components/BusinessContentGenerationPanel.vue.d.ts +22 -0
  39. package/dist/types/platform-components/BusinessContentQueryNotice.vue.d.ts +17 -0
  40. package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +2 -2
  41. package/dist/types/platform-components/DictionaryOptionDialog.vue.d.ts +4 -4
  42. package/dist/types/platform-components/DictionaryOptionDialogChoiceList.vue.d.ts +1 -1
  43. package/dist/types/platform-components/DictionaryPicker.vue.d.ts +4 -4
  44. package/dist/types/platform-components/ObjectPickerInput.vue.d.ts +2 -2
  45. package/dist/types/platform-components/QueryCriteriaGroupEditor.vue.d.ts +2 -2
  46. package/dist/types/platform-components/RecordContentSourceField.vue.d.ts +22 -0
  47. package/dist/types/platform-components/RecordContentTranslationField.vue.d.ts +26 -0
  48. package/dist/types/platform-components/RecordDataExchangeSurface.vue.d.ts +26 -0
  49. package/dist/types/platform-components/RecordDetailFields.vue.d.ts +3 -2
  50. package/dist/types/platform-components/RecordFormFields.vue.d.ts +5 -2
  51. package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +1 -1
  52. package/dist/types/platform-components/RecordQueryListCell.vue.d.ts +1 -0
  53. package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +1 -1
  54. package/dist/types/platform-components/RecordQueryListSurface.vue.d.ts +1 -1
  55. package/dist/types/{dynamic-page-runtime/ModuleDataExchangeSurface.vue.d.ts → platform-components/RecordQuerySortSelector.vue.d.ts} +5 -9
  56. package/dist/types/platform-components/RecordRelationActionButton.vue.d.ts +16 -0
  57. package/dist/types/platform-components/RecordRelationValue.vue.d.ts +2 -0
  58. package/dist/types/platform-components/StaticManagementLayout.vue.d.ts +7 -2
  59. package/dist/types/{dynamic-page-runtime → platform-components}/TenantScopeExplorer.vue.d.ts +1 -1
  60. package/dist/types/platform-components/WorkflowRecordPanel.vue.d.ts +2 -0
  61. package/dist/types/platform-components/WorkflowTimeline.vue.d.ts +4 -0
  62. package/dist/types/platform-components/crudRecordListModel.d.ts +1 -0
  63. package/dist/types/platform-components/index.d.ts +3 -0
  64. package/dist/types/platform-components/loadExplorerRecords.d.ts +3 -0
  65. package/dist/types/platform-components/managementWorkspaceLayout.d.ts +10 -0
  66. package/dist/types/platform-components/recordDetailFieldModel.d.ts +2 -0
  67. package/dist/types/platform-components/recordFormFieldModel.d.ts +6 -0
  68. package/dist/types/platform-components/recordQueryListQueryController.d.ts +2 -0
  69. package/dist/types/platform-components/recordSurfaceActivity.d.ts +3 -0
  70. package/dist/types/platform-components/recycleBinState.d.ts +1 -0
  71. package/dist/types/platform-components/referencePickerModel.d.ts +6 -2
  72. package/dist/types/platform-components/scopedTreePickerModel.d.ts +4 -0
  73. package/dist/types/platform-components/useBusinessCodeForm.d.ts +36 -0
  74. package/dist/types/platform-workbench/Workbench.vue.d.ts +13 -4
  75. package/dist/types/platform-workbench/WorkbenchGlobalTools.vue.d.ts +28 -0
  76. package/dist/types/platform-workbench/WorkbenchLanguageSettings.vue.d.ts +11 -0
  77. package/dist/types/platform-workbench/WorkbenchPageTitle.vue.d.ts +10 -0
  78. package/dist/types/platform-workbench/menuGroupLayout.d.ts +5 -0
  79. package/dist/types/platform-workbench/menuTreeModel.d.ts +1 -2
  80. package/dist/types/platform-workbench/useAssistantConversation.d.ts +1 -1
  81. package/dist/types/platform-workbench/useAssistantConversationArchive.d.ts +1 -1
  82. package/dist/types/platform-workbench/useLanguagePreferenceSelection.d.ts +7 -0
  83. package/dist/types/views/CodeConfigurationView.vue.d.ts +8 -0
  84. package/dist/types/views/CodeRuleFormatEditor.vue.d.ts +17 -0
  85. package/dist/types/views/PageQuerySummaryEditor.vue.d.ts +4 -4
  86. package/dist/types/views/WorkflowSelectionFields.vue.d.ts +28 -0
  87. package/dist/types/views/codeConfiguration.d.ts +127 -0
  88. package/dist/types/views/codeConfigurationWorkspaceView.d.ts +5 -0
  89. package/dist/types/views/metadataEditorSession.d.ts +4 -0
  90. package/dist/types/views/metadataOrchestrationState.d.ts +3 -0
  91. package/dist/types/views/metadataWorkspace.d.ts +8 -0
  92. package/dist/types/views/moduleGovernanceWorkspaceView.d.ts +1 -1
  93. package/dist/types/vue-ui-antdv/components/UiDatePicker.vue.d.ts +33 -0
  94. package/dist/types/vue-ui-antdv/components/UiDropdown.vue.d.ts +1 -0
  95. package/dist/types/vue-ui-antdv/components/UiHelp.vue.d.ts +16 -0
  96. package/dist/types/vue-ui-antdv/components/UiIcon.vue.d.ts +1 -1
  97. package/dist/types/vue-ui-antdv/components/UiModal.vue.d.ts +9 -6
  98. package/dist/types/vue-ui-antdv/components/UiPopover.vue.d.ts +12 -4
  99. package/dist/types/vue-ui-antdv/datePickerCalendar.d.ts +472 -0
  100. package/dist/types/vue-ui-antdv/datePickerValue.d.ts +6 -0
  101. package/dist/types/vue-ui-antdv/index.d.ts +3 -0
  102. package/dist/types/vue-ui-antdv/languageLocales.d.ts +2 -0
  103. package/dist/types/vue-ui-antdv/types.d.ts +2 -0
  104. package/dist/types/vue-ui-antdv/typography.d.ts +25 -0
  105. package/dist/types/web-contracts/index.d.ts +146 -1
  106. package/dist/types/web-contracts/workflow.d.ts +10 -0
  107. package/dist/types/web-core/assistantTurnClient.d.ts +2 -0
  108. package/dist/types/web-core/businessContent.d.ts +38 -0
  109. package/dist/types/web-core/businessContentLanguage.d.ts +18 -0
  110. package/dist/types/web-core/index.d.ts +5 -0
  111. package/dist/types/web-core/languagePreference.d.ts +2 -2
  112. package/dist/types/web-core/module/dataExchangeClient.d.ts +83 -1
  113. package/dist/types/web-core/module/staticModuleClient.d.ts +9 -3
  114. package/dist/types/web-core/presentationTexts.d.ts +5 -0
  115. package/dist/types/web-core/recordReadRefreshGuard.d.ts +7 -0
  116. package/dist/types/web-core/useBusinessContentGenerationBatch.d.ts +36 -0
  117. package/dist/types/web-core/useBusinessContentReading.d.ts +30 -0
  118. package/dist/types/web-core/workflow.d.ts +2 -1
  119. package/dist/{workspaceViews-BIYGPUAO.js → workspaceViews-DeBqozVb.js} +1062 -918
  120. package/package.json +4 -1
  121. package/dist/BusinessLogListDrawer-BciMLY9z.js +0 -864
  122. package/dist/RoleDetailWorkspaceView-BpOoGUwS.js +0 -1435
  123. package/dist/WorkflowAdministrationView-DmUV6vWS.js +0 -650
  124. package/dist/WorkflowConfigurationView-pghDbWEh.js +0 -975
  125. package/dist/WorkflowWorkbenchView-BwWxyDen.js +0 -747
  126. package/dist/moduleGovernanceWorkspaceView-DGEV3ZyT.js +0 -667
@@ -1,13 +1,13 @@
1
- import { Bn as e, Ei as t, Gn as n, Ln as r, Vn as i, dr as a, na as o, nn as s, qn as c } from "./platform-components-Cl5ZZiuU.js";
1
+ import { $n as e, Fr as t, Ia as n, Kn as r, Un as i, Yn as a, ea as o, sn as s, tr as c } from "./platform-components-5AE0j2_3.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 n = y(""), r = y(""), i = u(() => r.value === n.value.trim()), a = 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 === a.value)), m = u(() => JSON.stringify([
6
- r.value,
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([
6
+ n.value,
7
7
  p.value?.sourceId,
8
8
  p.value?.sourceVersion,
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({
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({
11
11
  get: () => l.value[m.value] ?? h.value?.draftText ?? "",
12
12
  set: (e) => {
13
13
  let t = { ...l.value };
@@ -17,52 +17,52 @@ function w(e) {
17
17
  c.value = [...c.value.filter((t) => t.id !== e.id), e];
18
18
  };
19
19
  async function S() {
20
- if (f.value || !n.value.trim()) return;
21
- let t = ++b, i = n.value.trim();
20
+ if (f.value || !t.value.trim()) return;
21
+ let r = ++b, a = t.value.trim();
22
22
  f.value = !0;
23
23
  try {
24
- let [o, l] = await Promise.all([e.request({ path: `/platform.localization/modules/${encodeURIComponent(i)}/sources` }), e.request({ path: `/platform.localization/modules/${encodeURIComponent(i)}/translations` })]);
25
- if (t !== b || n.value.trim() !== i) return;
26
- r.value = i, s.value = o, c.value = l, o.some((e) => e.sourceId === a.value) || (a.value = o[0]?.sourceId);
24
+ let [o, l] = await Promise.all([e.request({ path: `/platform.localization/modules/${encodeURIComponent(a)}/sources` }), e.request({ path: `/platform.localization/modules/${encodeURIComponent(a)}/translations` })]);
25
+ if (r !== b || t.value.trim() !== a) return;
26
+ n.value = a, s.value = o, c.value = l, o.some((e) => e.sourceId === i.value) || (i.value = o[0]?.sourceId);
27
27
  } finally {
28
- t === b && (f.value = !1);
28
+ r === b && (f.value = !1);
29
29
  }
30
30
  }
31
31
  async function C() {
32
- if (f.value || !i.value || !p.value || !_.value.trim()) return;
33
- let n = p.value, a = m.value, s = _.value;
32
+ if (f.value || !r.value || !p.value || !_.value.trim()) return;
33
+ let t = p.value, i = m.value, s = _.value;
34
34
  f.value = !0;
35
35
  try {
36
- let i = t(await e.request({
36
+ let r = o(await e.request({
37
37
  method: "POST",
38
38
  path: "/platform.localization/drafts",
39
39
  body: {
40
- moduleAlias: r.value,
41
- sourceId: n.sourceId,
42
- sourceVersion: n.sourceVersion,
43
- languageTag: o.value,
40
+ moduleAlias: n.value,
41
+ sourceId: t.sourceId,
42
+ sourceVersion: t.sourceVersion,
43
+ languageTag: a.value,
44
44
  text: s,
45
- version: a in l.value ? d.get(a) : h.value?.version
45
+ version: i in l.value ? d.get(i) : h.value?.version
46
46
  }
47
47
  }));
48
- x(i);
48
+ x(r);
49
49
  let c = { ...l.value };
50
- c[a] === s ? (delete c[a], d.delete(a)) : a in c && d.set(a, i.version), l.value = c;
50
+ c[i] === s ? (delete c[i], d.delete(i)) : i in c && d.set(i, r.version), l.value = c;
51
51
  } finally {
52
52
  f.value = !1;
53
53
  }
54
54
  }
55
55
  async function w() {
56
- if (f.value || !i.value || v.value || !h.value || !p.value) return;
57
- let n = h.value;
56
+ if (f.value || !r.value || v.value || !h.value || !p.value) return;
57
+ let t = h.value;
58
58
  f.value = !0;
59
59
  try {
60
- x(t(await e.request({
60
+ x(o(await e.request({
61
61
  method: "POST",
62
- path: `/platform.localization/translations/${encodeURIComponent(n.id)}/publish`,
62
+ path: `/platform.localization/translations/${encodeURIComponent(t.id)}/publish`,
63
63
  body: {
64
64
  sourceVersion: p.value.sourceVersion,
65
- version: n.version
65
+ version: t.version
66
66
  }
67
67
  })));
68
68
  } finally {
@@ -70,11 +70,11 @@ function w(e) {
70
70
  }
71
71
  }
72
72
  return {
73
- moduleAlias: n,
74
- loadedModuleAlias: r,
75
- ready: i,
76
- sourceId: a,
77
- targetLanguage: o,
73
+ moduleAlias: t,
74
+ loadedModuleAlias: n,
75
+ ready: r,
76
+ sourceId: i,
77
+ targetLanguage: a,
78
78
  sources: s,
79
79
  source: p,
80
80
  translation: h,
@@ -94,8 +94,8 @@ var T = { class: "configuration-translation" }, E = { class: "configuration-tran
94
94
  role: "status"
95
95
  }, k = { class: "configuration-translation__toolbar" }, A = { key: 1 }, j = /*#__PURE__*/ c(/* @__PURE__ */ g({
96
96
  __name: "ConfigurationTranslationView",
97
- setup(t) {
98
- let c = o(), g = c.t, y = a({ 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(() => c.catalog.value.languages.filter((e) => e.enabled !== !1).map((e) => ({
97
+ setup(o) {
98
+ let c = n(), g = c.t, y = t({ 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(() => c.catalog.value.languages.filter((e) => e.enabled !== !1).map((e) => ({
99
99
  value: e.tag,
100
100
  label: e.nativeName
101
101
  })));
@@ -116,26 +116,26 @@ var T = { class: "configuration-translation" }, E = { class: "configuration-tran
116
116
  });
117
117
  }
118
118
  }
119
- return (t, a) => (v(), f("section", T, [
119
+ return (t, n) => (v(), f("section", T, [
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(e), {
123
+ p("label", null, [m(b(x(g)("platform.translation.module", "模块")), 1), h(x(r), {
124
124
  value: x(M),
125
- "onUpdate:value": a[0] ||= (e) => _(M) ? M.value = e : null,
125
+ "onUpdate:value": n[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(n), {
129
+ h(x(e), {
130
130
  disabled: x(V) || !x(M) || x(y).can("viewTranslationSources") !== !0 || x(y).can("viewTranslations") !== !0,
131
- onClick: a[1] ||= (e) => G(x(j).load)
131
+ onClick: n[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(i), {
136
+ p("label", null, [m(b(x(g)("platform.translation.target-language", "翻译语言")), 1), h(x(a), {
137
137
  value: x(P),
138
- "onUpdate:value": a[2] ||= (e) => _(P) ? P.value = e : null,
138
+ "onUpdate:value": n[2] ||= (e) => _(P) ? P.value = e : null,
139
139
  options: U.value,
140
140
  "allow-clear": !1,
141
141
  disabled: x(V)
@@ -145,9 +145,9 @@ 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(i), {
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), {
149
149
  value: x(N),
150
- "onUpdate:value": a[3] ||= (e) => _(N) ? N.value = e : null,
150
+ "onUpdate:value": n[3] ||= (e) => _(N) ? N.value = e : null,
151
151
  options: W.value,
152
152
  "allow-clear": !1,
153
153
  disabled: x(V),
@@ -159,32 +159,32 @@ var T = { class: "configuration-translation" }, E = { class: "configuration-tran
159
159
  ])]), x(I) ? (v(), f(l, { key: 0 }, [
160
160
  p("p", D, [
161
161
  p("span", null, b(x(g)("platform.translation.location", "来源位置")), 1),
162
- a[7] ||= m(),
162
+ n[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
- "onUpdate:value": a[4] ||= (e) => _(z) ? z.value = e : null,
172
+ "onUpdate:value": n[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(n), {
179
+ p("div", k, [h(x(e), {
180
180
  disabled: x(V) || !x(H) || !x(z).trim() || x(y).can("saveTranslationDraft") !== !0,
181
- onClick: a[5] ||= (e) => G(x(j).save)
181
+ onClick: n[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(n), {
185
+ }, 8, ["disabled"]), h(x(e), {
186
186
  disabled: x(V) || !x(H) || x(B) || !x(L) || x(y).can("publishTranslation") !== !0,
187
- onClick: a[6] ||= (e) => G(x(j).publish)
187
+ onClick: n[6] ||= (e) => G(x(j).publish)
188
188
  }, {
189
189
  default: C(() => [m(b(x(g)("platform.translation.publish", "独立发布译文")), 1)]),
190
190
  _: 1
@@ -1,5 +1,5 @@
1
- import { na as e } from "./platform-components-Cl5ZZiuU.js";
2
- import { t } from "./BusinessLogListDrawer-BciMLY9z.js";
1
+ import { Ia as e } from "./platform-components-5AE0j2_3.js";
2
+ import { t } from "./BusinessLogListDrawer-YiJxOlnD.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