@ximatai/muyun-web-app 0.26.26 → 0.26.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BusinessActivityLogView-BPnAoGim.js → BusinessActivityLogView-DlNB97pu.js} +2 -2
- package/dist/{BusinessLogListDrawer-CXabZOOM.js → BusinessLogListDrawer-ByiwQP1m.js} +163 -163
- package/dist/CodeConfigurationView-91B9dHjD.js +2333 -0
- package/dist/{ConfigurationTranslationView-BsWyLeRd.js → ConfigurationTranslationView-ClovkYJt.js} +22 -22
- package/dist/{LoginAuditLogView-D3TJdzWM.js → LoginAuditLogView-Blg9giRX.js} +2 -2
- package/dist/{ModuleActionManagementView-C9LiwMM3.js → ModuleActionManagementView-Chr_XTJ3.js} +193 -193
- package/dist/{ModuleGovernanceView-CYZzHLHa.js → ModuleGovernanceView-BNlRHqSj.js} +4054 -4072
- package/dist/{RequestErrorLogView-D85h_q4P.js → RequestErrorLogView-CGczIKQy.js} +2 -2
- package/dist/{RoleDetailWorkspaceView-VHvh-_Sj.js → RoleDetailWorkspaceView-CPH9cga9.js} +75 -75
- package/dist/{RuntimeLogView-D-MrVfT7.js → RuntimeLogView-DF-1k-9y.js} +60 -60
- package/dist/WorkflowAdministrationView-CCXry0G4.js +650 -0
- package/dist/WorkflowConfigurationView-BqSfYua2.js +2227 -0
- package/dist/{WorkflowWorkbenchView-BN3ckTHB.js → WorkflowWorkbenchView-DUFfO3Gf.js} +248 -248
- package/dist/{codeConfiguration-B5OjCYZ6.js → codeConfiguration-BRxveKen.js} +71 -54
- package/dist/configurationEditorNavigation-DeXvfJyr.js +15 -0
- package/dist/formulaReferences-CKkkdA_R.js +23 -0
- package/dist/index.css +1 -1
- package/dist/index.js +1239 -1131
- package/dist/{moduleMenuWorkspace-DhI4_LpA.js → moduleMenuWorkspace-D_A94ZgR.js} +218 -229
- package/dist/{platform-components-Ca8SikTY.js → platform-components-DSMqalgQ.js} +4660 -4538
- package/dist/{platform-workbench-DpXhb4F6.js → platform-workbench-B53hydzq.js} +6055 -5909
- package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/ModulePageHost.vue.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +37 -3
- package/dist/types/dynamic-page-runtime/ModulePageHostSession.vue.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/ModuleReferenceRecordDetailBrowser.vue.d.ts +16 -4
- package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/recordFormAssistantCapabilities.d.ts +4 -2
- package/dist/types/dynamic-page-runtime/recordFormDraftAccess.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +1 -0
- package/dist/types/platform-admin-runtime/realtime.d.ts +3 -1
- package/dist/types/platform-components/BusinessNotificationPanel.vue.d.ts +2 -0
- package/dist/types/platform-components/ReferenceRecordDetailBrowser.vue.d.ts +11 -1
- package/dist/types/platform-components/index.d.ts +2 -2
- package/dist/types/platform-components/optionFieldOptionCache.d.ts +11 -1
- package/dist/types/platform-components/recordFormFieldModel.d.ts +1 -0
- package/dist/types/platform-components/referenceRecordDetailBrowser.d.ts +17 -2
- package/dist/types/platform-components/useWorkflowDesignSession.d.ts +141 -0
- package/dist/types/platform-components/workflowDesignEditing.d.ts +8 -7
- package/dist/types/platform-components/workflowDesignOperations.d.ts +107 -0
- package/dist/types/views/CodeRuleRecoveryPanel.vue.d.ts +20 -0
- package/dist/types/views/businessRuleGovernance.d.ts +1 -2
- package/dist/types/views/codeConfiguration.d.ts +29 -1
- package/dist/types/views/codeConfigurationAssistantSurface.d.ts +17 -0
- package/dist/types/views/codeRuleSaveRecovery.d.ts +12 -0
- package/dist/types/views/useCodeConfigurationAssistant.d.ts +10 -0
- package/dist/types/views/useCodeConfigurationSession.d.ts +16 -0
- package/dist/types/views/useWorkflowConfigurationAssistant.d.ts +16 -0
- package/dist/types/views/useWorkflowConfigurationContext.d.ts +16 -2
- package/dist/types/views/useWorkflowConfigurationSession.d.ts +146 -0
- package/dist/types/views/workflowConfigurationAssistantSurface.d.ts +169 -0
- package/dist/types/views/workflowSaveRecovery.d.ts +11 -0
- package/dist/types/vue-ui-antdv/components/sidePanelHost.d.ts +3 -1
- package/dist/types/vue-ui-antdv/index.d.ts +1 -0
- package/dist/types/web-contracts/operation.d.ts +7 -0
- package/dist/types/web-core/assistantConfirmation.d.ts +4 -4
- package/dist/types/web-core/assistantSurface.d.ts +2 -2
- package/dist/types/web-core/businessNotificationSession.d.ts +27 -0
- package/dist/types/web-core/formulaReferences.d.ts +2 -0
- package/dist/types/web-core/index.d.ts +1 -0
- package/dist/types/web-core/operationConfirmation.d.ts +13 -8
- package/dist/types/web-core/workflow.d.ts +11 -1
- package/dist/useWorkflowConfigurationContext-BuBDdUcQ.js +78 -0
- package/dist/{workspaceViews-CLOyLZMZ.js → workspaceViews-BSVtjZj1.js} +689 -689
- package/package.json +1 -1
- package/dist/CodeConfigurationView-B1Lgdnkj.js +0 -1667
- package/dist/WorkflowAdministrationView-DHPlIJXF.js +0 -650
- package/dist/WorkflowConfigurationView-BhQl7NjM.js +0 -980
- package/dist/useWorkflowConfigurationContext-DpzBpKa3.js +0 -66
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Gn as e, Ia as t, Kt as n, Na as r, Rn as i, Sa as a, Sn as o, Y as ee, _r as s, ao as te, ba as c, br as l, co as u, eo as ne, gn as re, io as ie, ka as d, kn as ae, no as f, ti as p, vr as m, xa as h, za as oe } from "./platform-components-DSMqalgQ.js";
|
|
2
2
|
import { computed as g, createBlock as _, createCommentVNode as v, createElementBlock as y, createElementVNode as b, createTextVNode as x, createVNode as S, defineComponent as C, nextTick as w, onBeforeUnmount as T, openBlock as E, ref as D, shallowRef as O, toDisplayString as k, unref as A, watch as se, withCtx as j } from "vue";
|
|
3
3
|
//#region src/views/runtimeLogClient.ts
|
|
4
4
|
var M = "/platform.runtime_log";
|
|
5
|
-
function ce(
|
|
6
|
-
if (!u(
|
|
5
|
+
function ce(e, t = f) {
|
|
6
|
+
if (!u(e)) throw new c(h(t, "platform.screen.runtimeLogClient.the-current-http-client-does-not-support-runtime-log-streams", "当前 HTTP 客户端不支持运行日志流。"));
|
|
7
7
|
return {
|
|
8
|
-
download(
|
|
9
|
-
return
|
|
10
|
-
path: `${M}/files/${encodeURIComponent(
|
|
8
|
+
download(t) {
|
|
9
|
+
return e.stream({
|
|
10
|
+
path: `${M}/files/${encodeURIComponent(t)}/download`,
|
|
11
11
|
headers: { Accept: "application/octet-stream" }
|
|
12
12
|
});
|
|
13
13
|
},
|
|
14
|
-
activeStream(
|
|
15
|
-
return
|
|
14
|
+
activeStream(t, n) {
|
|
15
|
+
return e.stream({
|
|
16
16
|
method: "POST",
|
|
17
17
|
path: `${M}/active/stream`,
|
|
18
|
-
body: { tailLines:
|
|
18
|
+
body: { tailLines: t },
|
|
19
19
|
headers: { Accept: "text/event-stream, application/json" },
|
|
20
20
|
...n ? { signal: n } : {}
|
|
21
21
|
});
|
|
@@ -24,21 +24,21 @@ function ce(t, n = e) {
|
|
|
24
24
|
}
|
|
25
25
|
//#endregion
|
|
26
26
|
//#region src/views/runtimeLogSse.ts
|
|
27
|
-
var le =
|
|
27
|
+
var le = d, ue = { class: "runtime-log-view" }, de = { class: "runtime-log-view__header-actions" }, fe = { key: 2 }, pe = { key: 3 }, me = { class: "runtime-log-view__row-actions" }, he = {
|
|
28
28
|
key: 0,
|
|
29
29
|
class: "runtime-log-view__content"
|
|
30
|
-
}, ge = 500, N = /*#__PURE__*/
|
|
30
|
+
}, ge = 500, N = /*#__PURE__*/ l(/* @__PURE__ */ C({
|
|
31
31
|
name: "RuntimeLogView",
|
|
32
32
|
__name: "RuntimeLogView",
|
|
33
|
-
setup(
|
|
34
|
-
let
|
|
33
|
+
setup(l) {
|
|
34
|
+
let u = te(), d = p({ moduleAlias: "platform.runtime_log" }), f = ce(d.http, u), C = O(), M = g(() => C.value ? $(C.value) : void 0), N = D(), P = D(!1), F = D(), I = D(""), L = D("closed"), R = O(), z = D(), B = D(!0), V = 0, H, U, W = 0, _e = g(() => {
|
|
35
35
|
let e = R.value;
|
|
36
|
-
return e ? typeof e == "string" ? e : e instanceof Error ? $(e) :
|
|
37
|
-
connecting:
|
|
38
|
-
live:
|
|
39
|
-
rotated:
|
|
40
|
-
error:
|
|
41
|
-
closed:
|
|
36
|
+
return e ? typeof e == "string" ? e : e instanceof Error ? $(e) : u.t(e.source.sourceId, e.source.originalText, e.args) : {
|
|
37
|
+
connecting: u.t("platform.screen.RuntimeLogView.connecting-to-live-logs", "正在连接实时日志…"),
|
|
38
|
+
live: u.t("platform.screen.RuntimeLogView.updating-live", "正在实时更新"),
|
|
39
|
+
rotated: u.t("platform.screen.RuntimeLogView.the-log-file-has-rotated-reconnect", "日志文件已轮转,请重新连接。"),
|
|
40
|
+
error: u.t("platform.screen.RuntimeLogView.the-live-log-connection-was-interrupted", "实时日志连接已中断。"),
|
|
41
|
+
closed: u.t("platform.screen.RuntimeLogView.live-logs-closed", "实时日志已关闭。")
|
|
42
42
|
}[L.value];
|
|
43
43
|
}), ve = g(() => [
|
|
44
44
|
"closed",
|
|
@@ -47,23 +47,23 @@ var le = i, ue = { class: "runtime-log-view" }, de = { class: "runtime-log-view_
|
|
|
47
47
|
].includes(L.value)), ye = g(() => [
|
|
48
48
|
{
|
|
49
49
|
key: "name",
|
|
50
|
-
title:
|
|
50
|
+
title: u.t("platform.screen.RuntimeLogView.file-name", "文件名称"),
|
|
51
51
|
width: "360px"
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
54
|
key: "sizeBytes",
|
|
55
|
-
title:
|
|
55
|
+
title: u.t("platform.screen.RuntimeLogView.file-size", "文件大小"),
|
|
56
56
|
width: "140px",
|
|
57
57
|
align: "right"
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
60
|
key: "lastModifiedAt",
|
|
61
|
-
title:
|
|
61
|
+
title: u.t("platform.screen.RuntimeLogView.last-modified", "最后修改时间"),
|
|
62
62
|
width: "208px"
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
65
|
key: "active",
|
|
66
|
-
title:
|
|
66
|
+
title: u.t("platform.screen.WorkflowWorkbenchView.status", "状态"),
|
|
67
67
|
width: "132px"
|
|
68
68
|
}
|
|
69
69
|
]);
|
|
@@ -86,23 +86,23 @@ var le = i, ue = { class: "runtime-log-view" }, de = { class: "runtime-log-view_
|
|
|
86
86
|
}
|
|
87
87
|
async function Se(e, t) {
|
|
88
88
|
try {
|
|
89
|
-
let n = await
|
|
89
|
+
let n = await f.activeStream(ge, t.signal);
|
|
90
90
|
if (t.signal.aborted || e !== V) {
|
|
91
91
|
await n.cancel();
|
|
92
92
|
return;
|
|
93
93
|
}
|
|
94
94
|
let r = n.getReader();
|
|
95
95
|
H = r;
|
|
96
|
-
let
|
|
96
|
+
let i = new TextDecoder(), a = le((n) => Ce(n, e, t));
|
|
97
97
|
for (; !t.signal.aborted && e === V;) {
|
|
98
98
|
let { done: e, value: t } = await r.read();
|
|
99
99
|
if (e) break;
|
|
100
|
-
t &&
|
|
100
|
+
t && a.push(i.decode(t, { stream: !0 }));
|
|
101
101
|
}
|
|
102
|
-
|
|
102
|
+
a.push(i.decode()), a.finish(), !t.signal.aborted && e === V && L.value !== "rotated" && (L.value = "closed", R.value = h(u, "platform.screen.RuntimeLogView.the-live-log-connection-has-ended", "实时日志连接已结束。"));
|
|
103
103
|
} catch (n) {
|
|
104
|
-
!t.signal.aborted && e === V && (L.value = "error", R.value = Q(n,
|
|
105
|
-
language:
|
|
104
|
+
!t.signal.aborted && e === V && (L.value = "error", R.value = Q(n, h(u, "platform.screen.RuntimeLogView.failed-to-connect-to-live-logs-reconnect", "实时日志连接失败,请重新连接。")), o(n, {
|
|
105
|
+
language: u,
|
|
106
106
|
source: "runtime-log-stream",
|
|
107
107
|
phase: "load"
|
|
108
108
|
}));
|
|
@@ -115,7 +115,7 @@ var le = i, ue = { class: "runtime-log-view" }, de = { class: "runtime-log-view_
|
|
|
115
115
|
case "snapshot":
|
|
116
116
|
case "reset": {
|
|
117
117
|
let t = Y(e.data);
|
|
118
|
-
I.value = X(t.text), F.value = Z(t.fileName) ?? F.value, L.value = "live", R.value = e.event === "reset" ?
|
|
118
|
+
I.value = X(t.text), F.value = Z(t.fileName) ?? F.value, L.value = "live", R.value = e.event === "reset" ? h(u, "platform.screen.RuntimeLogView.log-content-was-reset-live-updates-are-continuing", "日志内容已重置,正在继续实时更新。") : void 0;
|
|
119
119
|
return;
|
|
120
120
|
}
|
|
121
121
|
case "append": {
|
|
@@ -125,18 +125,18 @@ var le = i, ue = { class: "runtime-log-view" }, de = { class: "runtime-log-view_
|
|
|
125
125
|
}
|
|
126
126
|
case "rotated": {
|
|
127
127
|
let t = Y(e.data);
|
|
128
|
-
F.value = Z(t.fileName) ?? F.value, W < 1 ? (W += 1, L.value = "connecting", R.value =
|
|
128
|
+
F.value = Z(t.fileName) ?? F.value, W < 1 ? (W += 1, L.value = "connecting", R.value = h(u, "platform.screen.RuntimeLogView.the-log-file-has-rotated-reconnecting-to-the-latest-file", "日志文件已轮转,正在重新连接最新文件…"), w(() => K())) : (L.value = "rotated", R.value = h(u, "platform.screen.RuntimeLogView.the-log-file-has-rotated-again-reconnect-manually", "日志文件再次轮转,请手动重新连接。"), q());
|
|
129
129
|
return;
|
|
130
130
|
}
|
|
131
131
|
case "error": {
|
|
132
132
|
let t = Y(e.data);
|
|
133
133
|
L.value = "error";
|
|
134
134
|
let n = Z(t.message), r = t.messageSource;
|
|
135
|
-
R.value = t.code === "RUNTIME_LOG_STREAM_INTERRUPTED" &&
|
|
135
|
+
R.value = t.code === "RUNTIME_LOG_STREAM_INTERRUPTED" && oe(r) && r.sourceKind === "CODE" && r.sourceId === "platform.runtime-log.stream-interrupted" && r.originalText === ne(r.sourceId) && ie(r, n ?? "") ? {
|
|
136
136
|
message: n,
|
|
137
137
|
source: r,
|
|
138
138
|
args: {}
|
|
139
|
-
} : n ??
|
|
139
|
+
} : n ?? h(u, "platform.screen.RuntimeLogView.the-live-log-connection-encountered-an-error-reconnect", "实时日志连接出现错误,请重新连接。"), q();
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
}
|
|
@@ -149,11 +149,11 @@ var le = i, ue = { class: "runtime-log-view" }, de = { class: "runtime-log-view_
|
|
|
149
149
|
if (!N.value) {
|
|
150
150
|
N.value = e.name;
|
|
151
151
|
try {
|
|
152
|
-
let t = await Te(await
|
|
152
|
+
let t = await Te(await f.download(e.name)), n = t.buffer.slice(t.byteOffset, t.byteOffset + t.byteLength), r = URL.createObjectURL(new Blob([n], { type: "text/plain;charset=utf-8" })), i = document.createElement("a");
|
|
153
153
|
i.href = r, i.download = e.name, i.click(), window.setTimeout(() => URL.revokeObjectURL(r), 6e4);
|
|
154
154
|
} catch (t) {
|
|
155
|
-
C.value = Q(t,
|
|
156
|
-
language:
|
|
155
|
+
C.value = Q(t, h(u, "platform.screen.RuntimeLogView.failed-to-download-value-try-again-later", "下载 {value1} 失败,请稍后重试。", { value1: e.name })), o(t, {
|
|
156
|
+
language: u,
|
|
157
157
|
source: "runtime-log-download",
|
|
158
158
|
phase: "load"
|
|
159
159
|
});
|
|
@@ -201,21 +201,21 @@ var le = i, ue = { class: "runtime-log-view" }, de = { class: "runtime-log-view_
|
|
|
201
201
|
return typeof e == "string" && e ? e : void 0;
|
|
202
202
|
}
|
|
203
203
|
function Q(e, t) {
|
|
204
|
-
return e instanceof Error && e.message ? e : new
|
|
204
|
+
return e instanceof Error && e.message ? e : new c(t);
|
|
205
205
|
}
|
|
206
206
|
function $(e) {
|
|
207
|
-
return e instanceof
|
|
207
|
+
return e instanceof c ? a(e, u) : t(r(e), u);
|
|
208
208
|
}
|
|
209
|
-
return (
|
|
210
|
-
M.value ? (E(), _(A(
|
|
209
|
+
return (t, r) => (E(), y("section", ue, [
|
|
210
|
+
M.value ? (E(), _(A(i), {
|
|
211
211
|
key: 0,
|
|
212
212
|
class: "runtime-log-view__error",
|
|
213
213
|
message: M.value
|
|
214
214
|
}, null, 8, ["message"])) : v("v-if", !0),
|
|
215
|
-
S(A(
|
|
215
|
+
S(A(ee), {
|
|
216
216
|
class: "runtime-log-view__list",
|
|
217
|
-
context: A(
|
|
218
|
-
title: A(
|
|
217
|
+
context: A(d),
|
|
218
|
+
title: A(u).t("platform.screen.RuntimeLogView.runtime-logs", "程序日志"),
|
|
219
219
|
columns: ye.value,
|
|
220
220
|
"row-key": "name",
|
|
221
221
|
"show-recycle-bin": !1,
|
|
@@ -226,36 +226,36 @@ var le = i, ue = { class: "runtime-log-view" }, de = { class: "runtime-log-view_
|
|
|
226
226
|
20,
|
|
227
227
|
50
|
|
228
228
|
],
|
|
229
|
-
"empty-description": A(
|
|
229
|
+
"empty-description": A(u).t("platform.screen.RuntimeLogView.no-log-files-available-in-the-current-log-directory", "当前日志目录中没有可用的日志文件"),
|
|
230
230
|
"row-actions-of": () => [],
|
|
231
|
-
"row-actions-title": A(
|
|
231
|
+
"row-actions-title": A(u).t("platform.screen.RecordPermissionDialog.operation", "操作"),
|
|
232
232
|
"action-column-width": "176"
|
|
233
233
|
}, {
|
|
234
|
-
operations: j(() => [b("div", de, [S(A(
|
|
234
|
+
operations: j(() => [b("div", de, [S(A(m), {
|
|
235
235
|
type: "primary",
|
|
236
236
|
"icon-name": "eye",
|
|
237
237
|
onClick: G
|
|
238
238
|
}, {
|
|
239
|
-
default: j(() => [x(k(A(
|
|
239
|
+
default: j(() => [x(k(A(u).t("platform.screen.RuntimeLogView.view-live-logs", "实时查看")), 1)]),
|
|
240
240
|
_: 1
|
|
241
241
|
})])]),
|
|
242
|
-
cell: j(({ column: e, record: t }) => [e.key === "sizeBytes" ? (E(), _(A(
|
|
242
|
+
cell: j(({ column: e, record: t }) => [e.key === "sizeBytes" ? (E(), _(A(re), {
|
|
243
243
|
key: 0,
|
|
244
244
|
value: t.sizeBytes
|
|
245
|
-
}, null, 8, ["value"])) : e.key === "lastModifiedAt" ? (E(), _(A(
|
|
245
|
+
}, null, 8, ["value"])) : e.key === "lastModifiedAt" ? (E(), _(A(ae), {
|
|
246
246
|
key: 1,
|
|
247
247
|
value: t.lastModifiedAt
|
|
248
|
-
}, null, 8, ["value"])) : e.key === "active" ? (E(), y("span", fe, k(t.active ? A(
|
|
249
|
-
rowActions: j(({ record: e }) => [b("div", me, [e.active === !0 ? (E(), _(A(
|
|
248
|
+
}, null, 8, ["value"])) : e.key === "active" ? (E(), y("span", fe, k(t.active ? A(u).t("platform.screen.RuntimeLogView.active", "正在写入") : A(u).t("platform.workflow.archived", "已归档")), 1)) : (E(), y("span", pe, k(t[e.key]), 1))]),
|
|
249
|
+
rowActions: j(({ record: e }) => [b("div", me, [e.active === !0 ? (E(), _(A(m), {
|
|
250
250
|
key: 0,
|
|
251
251
|
type: "link",
|
|
252
252
|
size: "small",
|
|
253
253
|
"icon-name": "eye",
|
|
254
254
|
onClick: G
|
|
255
255
|
}, {
|
|
256
|
-
default: j(() => [x(k(A(
|
|
256
|
+
default: j(() => [x(k(A(u).t("platform.screen.RuntimeLogView.view-live-logs", "实时查看")), 1)]),
|
|
257
257
|
_: 1
|
|
258
|
-
})) : v("v-if", !0), S(A(
|
|
258
|
+
})) : v("v-if", !0), S(A(m), {
|
|
259
259
|
type: "link",
|
|
260
260
|
size: "small",
|
|
261
261
|
"icon-name": "download",
|
|
@@ -263,7 +263,7 @@ var le = i, ue = { class: "runtime-log-view" }, de = { class: "runtime-log-view_
|
|
|
263
263
|
disabled: !!N.value && N.value !== e.name,
|
|
264
264
|
onClick: (t) => we(e)
|
|
265
265
|
}, {
|
|
266
|
-
default: j(() => [x(k(A(
|
|
266
|
+
default: j(() => [x(k(A(u).t("platform.screen.SingleImageFileReferenceField.download", "下载")), 1)]),
|
|
267
267
|
_: 1
|
|
268
268
|
}, 8, [
|
|
269
269
|
"loading",
|
|
@@ -278,20 +278,20 @@ var le = i, ue = { class: "runtime-log-view" }, de = { class: "runtime-log-view_
|
|
|
278
278
|
"empty-description",
|
|
279
279
|
"row-actions-title"
|
|
280
280
|
]),
|
|
281
|
-
S(A(
|
|
281
|
+
S(A(n), {
|
|
282
282
|
open: P.value,
|
|
283
|
-
title: F.value ? A(
|
|
283
|
+
title: F.value ? A(u).t("platform.screen.RuntimeLogView.live-logs-value", "实时日志 · {value1}", { value1: F.value }) : A(u).t("platform.screen.RuntimeLogView.live-logs", "实时日志"),
|
|
284
284
|
subtitle: _e.value,
|
|
285
285
|
width: "standard",
|
|
286
286
|
"render-mode": "inline",
|
|
287
287
|
dismissal: "dismissible",
|
|
288
288
|
onClose: xe
|
|
289
289
|
}, {
|
|
290
|
-
"header-actions": j(() => [ve.value ? (E(), _(A(
|
|
290
|
+
"header-actions": j(() => [ve.value ? (E(), _(A(s), {
|
|
291
291
|
key: 0,
|
|
292
292
|
emphasis: "quiet",
|
|
293
293
|
"icon-name": "reload",
|
|
294
|
-
title: A(
|
|
294
|
+
title: A(u).t("platform.screen.RuntimeLogView.reconnect", "重新连接"),
|
|
295
295
|
onClick: be
|
|
296
296
|
}, null, 8, ["title"])) : v("v-if", !0)]),
|
|
297
297
|
default: j(() => [b("div", {
|
|
@@ -299,9 +299,9 @@ var le = i, ue = { class: "runtime-log-view" }, de = { class: "runtime-log-view_
|
|
|
299
299
|
ref: z,
|
|
300
300
|
class: "runtime-log-view__viewport",
|
|
301
301
|
onScroll: J
|
|
302
|
-
}, [I.value ? (E(), y("pre", he, k(I.value), 1)) : (E(), _(A(
|
|
302
|
+
}, [I.value ? (E(), y("pre", he, k(I.value), 1)) : (E(), _(A(e), {
|
|
303
303
|
key: 1,
|
|
304
|
-
description: L.value === "connecting" ? A(
|
|
304
|
+
description: L.value === "connecting" ? A(u).t("platform.screen.RuntimeLogView.reading-the-end-of-the-log", "正在读取日志末尾内容…") : A(u).t("platform.screen.RuntimeLogView.no-log-content", "暂无日志内容")
|
|
305
305
|
}, null, 8, ["description"]))], 544)]),
|
|
306
306
|
_: 1
|
|
307
307
|
}, 8, [
|