@ximatai/muyun-web-app 0.26.23 → 0.26.25
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-IWGZiPLo.js → BusinessActivityLogView-a6oZ2t9t.js} +2 -2
- package/dist/{BusinessLogListDrawer-UCsg6psI.js → BusinessLogListDrawer-DtSXpK6g.js} +135 -131
- package/dist/{CodeConfigurationView-Calkazua.js → CodeConfigurationView-BVu1ZnH-.js} +366 -366
- package/dist/{ConfigurationTranslationView-fZrlRAMy.js → ConfigurationTranslationView-Cd8ezR4t.js} +44 -44
- package/dist/{LoginAuditLogView-B6J7t__0.js → LoginAuditLogView-DyvHTCXH.js} +2 -2
- package/dist/ModuleActionManagementView-y3t2YHKF.js +780 -0
- package/dist/{ModuleGovernanceView-D8ONs78K.js → ModuleGovernanceView-BqJq2Pxm.js} +3521 -3521
- package/dist/{RequestErrorLogView-poMgx4_6.js → RequestErrorLogView-2iPeAi3b.js} +2 -2
- package/dist/{RoleDetailWorkspaceView-6Bs1eKbm.js → RoleDetailWorkspaceView-G-5VAV_B.js} +54 -54
- package/dist/{RuntimeLogView-Co-Z86bt.js → RuntimeLogView-CulSgS0l.js} +61 -61
- package/dist/WorkflowAdministrationView-y8VBYMLZ.js +650 -0
- package/dist/{WorkflowConfigurationView-mSyL_-We.js → WorkflowConfigurationView-DpONX2nN.js} +290 -290
- package/dist/{WorkflowWorkbenchView-DBMh3ycN.js → WorkflowWorkbenchView-CGo1eZjr.js} +215 -215
- package/dist/{codeConfiguration-D1zrxzoW.js → codeConfiguration-fZiz0PNC.js} +27 -27
- package/dist/index.css +1 -1
- package/dist/index.js +2407 -1222
- package/dist/{moduleMenuWorkspace-lIVrTaOB.js → moduleMenuWorkspace-AZ4G9BpZ.js} +222 -222
- package/dist/{platform-components-D0T03KGl.js → platform-components-D98pyZ77.js} +4296 -3497
- package/dist/{platform-workbench-CobObbuz.js → platform-workbench-BBLDvT9V.js} +6311 -6111
- package/dist/types/app/CurrentUserProfileDialog.vue.d.ts +9 -0
- package/dist/types/app/ExternalIdentityBindings.vue.d.ts +8 -0
- package/dist/types/app/ExternalProvisioningConfirmation.vue.d.ts +15 -0
- package/dist/types/app/LoginView.vue.d.ts +3 -1
- package/dist/types/app/PersonalAccessTokenDialog.vue.d.ts +15 -0
- package/dist/types/app/PersonalAccessTokens.vue.d.ts +8 -0
- package/dist/types/app/WeLinkQrCode.vue.d.ts +11 -0
- package/dist/types/app/WorkbenchAccountCenter.vue.d.ts +40 -0
- package/dist/types/app/externalLoginReturn.d.ts +38 -0
- package/dist/types/app/themeSkinPreference.d.ts +2 -2
- package/dist/types/app/useCurrentUserProfile.d.ts +1 -0
- package/dist/types/app/useExternalLoginHost.d.ts +27 -0
- package/dist/types/app/usePersonalAccessTokenAccess.d.ts +11 -0
- package/dist/types/app/weLinkQrCode.d.ts +22 -0
- package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +20 -4
- package/dist/types/consumer/index.d.ts +16 -2
- package/dist/types/dynamic-page-runtime/ManagedDetailRelationInlineSurface.vue.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/ManagedDetailRelationSurface.vue.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +4 -0
- package/dist/types/dynamic-page-runtime/ModulePageDetailRelations.vue.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +11 -15
- package/dist/types/dynamic-page-runtime/composables/useModulePageDetailActionRuntime.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/formCreateDefaults.d.ts +3 -0
- package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +2 -0
- package/dist/types/platform-admin-runtime/authSession.d.ts +2 -0
- package/dist/types/platform-admin-runtime/index.d.ts +1 -1
- package/dist/types/platform-admin-runtime/job/ScheduledActionTargetFields.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/scheduledActionPlanPageEnhancement.d.ts +3 -0
- package/dist/types/platform-components/BusinessNotificationCard.vue.d.ts +30 -0
- package/dist/types/platform-components/BusinessNotificationPanel.vue.d.ts +4 -39
- package/dist/types/platform-components/CronExpressionInput.vue.d.ts +12 -0
- package/dist/types/platform-components/DurationSecondsInput.vue.d.ts +10 -0
- package/dist/types/platform-components/FileTransferUploader.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordExplorerPanel.vue.d.ts +8 -17
- package/dist/types/platform-components/RecordFileReferenceTransfer.vue.d.ts +2 -0
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +2 -2
- package/dist/types/platform-components/SingleImageFileReferenceField.vue.d.ts +4 -0
- package/dist/types/platform-components/cronExpression.d.ts +36 -0
- package/dist/types/platform-components/durationSeconds.d.ts +31 -0
- package/dist/types/platform-components/fileReferenceTransfer.d.ts +9 -2
- package/dist/types/platform-components/index.d.ts +6 -0
- package/dist/types/platform-components/managementWorkspaceContext.d.ts +2 -1
- package/dist/types/platform-components/useNotificationDeckMotion.d.ts +7 -0
- package/dist/types/platform-workbench/Workbench.vue.d.ts +13 -4
- package/dist/types/platform-workbench/WorkbenchGlobalTools.vue.d.ts +5 -0
- package/dist/types/platform-workbench/WorkbenchOutlet.vue.d.ts +11 -1
- package/dist/types/platform-workbench/index.d.ts +3 -0
- package/dist/types/platform-workbench/workbenchAccountMenu.d.ts +33 -0
- package/dist/types/platform-workbench/workspaceViewDiscardGuard.d.ts +1 -1
- package/dist/types/views/businessLogClient.d.ts +2 -0
- package/dist/types/views/businessRuleGovernance.d.ts +1 -0
- package/dist/types/vue-ui-antdv/components/UiInputGroup.vue.d.ts +20 -0
- package/dist/types/vue-ui-antdv/components/UiTextArea.vue.d.ts +2 -0
- package/dist/types/vue-ui-antdv/index.d.ts +1 -0
- package/dist/types/web-contracts/index.d.ts +87 -2
- package/dist/types/web-core/clients.d.ts +25 -1
- package/dist/{useWorkflowConfigurationContext-BkcNPU2H.js → useWorkflowConfigurationContext-BcK19EXl.js} +6 -6
- package/dist/{workspaceViews-BtqO8rU0.js → workspaceViews-Dr7RZXvX.js} +1139 -983
- package/package.json +1 -1
- package/dist/ModuleActionManagementView-BZ89Woex.js +0 -755
- package/dist/WorkflowAdministrationView-D7QpRHDp.js +0 -650
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $a as e, $r as t, Aa as n, Dn as r, Ea as i, Ia as a, In as o, Na as s, Un as ee, Wt as te, Y as ne, Za as c, _a as l, ao as u, bn as d, gr as f, hr as re, mn as ie, no as ae, to as p, va as m, vr as h, ya as oe } from "./platform-components-D98pyZ77.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 (!
|
|
5
|
+
function ce(t, n = e) {
|
|
6
|
+
if (!u(t)) throw new l(m(n, "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(e) {
|
|
9
|
+
return t.stream({
|
|
10
|
+
path: `${M}/files/${encodeURIComponent(e)}/download`,
|
|
11
11
|
headers: { Accept: "application/octet-stream" }
|
|
12
12
|
});
|
|
13
13
|
},
|
|
14
|
-
activeStream(
|
|
15
|
-
return
|
|
14
|
+
activeStream(e, n) {
|
|
15
|
+
return t.stream({
|
|
16
16
|
method: "POST",
|
|
17
17
|
path: `${M}/active/stream`,
|
|
18
|
-
body: { tailLines:
|
|
18
|
+
body: { tailLines: e },
|
|
19
19
|
headers: { Accept: "text/event-stream, application/json" },
|
|
20
20
|
...n ? { signal: n } : {}
|
|
21
21
|
});
|
|
@@ -24,21 +24,21 @@ function ce(e, t = a) {
|
|
|
24
24
|
}
|
|
25
25
|
//#endregion
|
|
26
26
|
//#region src/views/runtimeLogSse.ts
|
|
27
|
-
var le =
|
|
27
|
+
var le = i, 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__*/ h(/* @__PURE__ */ C({
|
|
31
31
|
name: "RuntimeLogView",
|
|
32
32
|
__name: "RuntimeLogView",
|
|
33
|
-
setup(
|
|
34
|
-
let
|
|
33
|
+
setup(e) {
|
|
34
|
+
let i = ae(), u = t({ moduleAlias: "platform.runtime_log" }), h = ce(u.http, i), 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) : i.t(e.source.sourceId, e.source.originalText, e.args) : {
|
|
37
|
+
connecting: i.t("platform.screen.RuntimeLogView.connecting-to-live-logs", "正在连接实时日志…"),
|
|
38
|
+
live: i.t("platform.screen.RuntimeLogView.updating-live", "正在实时更新"),
|
|
39
|
+
rotated: i.t("platform.screen.RuntimeLogView.the-log-file-has-rotated-reconnect", "日志文件已轮转,请重新连接。"),
|
|
40
|
+
error: i.t("platform.screen.RuntimeLogView.the-live-log-connection-was-interrupted", "实时日志连接已中断。"),
|
|
41
|
+
closed: i.t("platform.screen.RuntimeLogView.live-logs-closed", "实时日志已关闭。")
|
|
42
42
|
}[L.value];
|
|
43
43
|
}), ve = g(() => [
|
|
44
44
|
"closed",
|
|
@@ -47,23 +47,23 @@ var le = h, 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: i.t("platform.screen.RuntimeLogView.file-name", "文件名称"),
|
|
51
51
|
width: "360px"
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
54
|
key: "sizeBytes",
|
|
55
|
-
title:
|
|
55
|
+
title: i.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: i.t("platform.screen.RuntimeLogView.last-modified", "最后修改时间"),
|
|
62
62
|
width: "208px"
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
65
|
key: "active",
|
|
66
|
-
title:
|
|
66
|
+
title: i.t("platform.screen.WorkflowWorkbenchView.status", "状态"),
|
|
67
67
|
width: "132px"
|
|
68
68
|
}
|
|
69
69
|
]);
|
|
@@ -93,16 +93,16 @@ var le = h, ue = { class: "runtime-log-view" }, de = { class: "runtime-log-view_
|
|
|
93
93
|
}
|
|
94
94
|
let r = n.getReader();
|
|
95
95
|
H = r;
|
|
96
|
-
let
|
|
96
|
+
let a = new TextDecoder(), o = 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 && o.push(a.decode(t, { stream: !0 }));
|
|
101
101
|
}
|
|
102
|
-
|
|
102
|
+
o.push(a.decode()), o.finish(), !t.signal.aborted && e === V && L.value !== "rotated" && (L.value = "closed", R.value = m(i, "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, m(i, "platform.screen.RuntimeLogView.failed-to-connect-to-live-logs-reconnect", "实时日志连接失败,请重新连接。")), d(n, {
|
|
105
|
+
language: i,
|
|
106
106
|
source: "runtime-log-stream",
|
|
107
107
|
phase: "load"
|
|
108
108
|
}));
|
|
@@ -115,7 +115,7 @@ var le = h, 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" ? m(i, "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 = h, 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 = m(i, "platform.screen.RuntimeLogView.the-log-file-has-rotated-reconnecting-to-the-latest-file", "日志文件已轮转,正在重新连接最新文件…"), w(() => K())) : (L.value = "rotated", R.value = m(i, "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" && a(r) && r.sourceKind === "CODE" && r.sourceId === "platform.runtime-log.stream-interrupted" && r.originalText === c(r.sourceId) && p(r, n ?? "") ? {
|
|
136
136
|
message: n,
|
|
137
137
|
source: r,
|
|
138
138
|
args: {}
|
|
139
|
-
} : n ??
|
|
139
|
+
} : n ?? m(i, "platform.screen.RuntimeLogView.the-live-log-connection-encountered-an-error-reconnect", "实时日志连接出现错误,请重新连接。"), q();
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
}
|
|
@@ -152,8 +152,8 @@ var le = h, ue = { class: "runtime-log-view" }, de = { class: "runtime-log-view_
|
|
|
152
152
|
let t = await Te(await h.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, m(i, "platform.screen.RuntimeLogView.failed-to-download-value-try-again-later", "下载 {value1} 失败,请稍后重试。", { value1: e.name })), d(t, {
|
|
156
|
+
language: i,
|
|
157
157
|
source: "runtime-log-download",
|
|
158
158
|
phase: "load"
|
|
159
159
|
});
|
|
@@ -201,21 +201,21 @@ var le = h, 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 l(t);
|
|
205
205
|
}
|
|
206
|
-
function $(
|
|
207
|
-
return
|
|
206
|
+
function $(e) {
|
|
207
|
+
return e instanceof l ? oe(e, i) : s(n(e), i);
|
|
208
208
|
}
|
|
209
|
-
return (e,
|
|
210
|
-
M.value ? (E(), _(A(
|
|
209
|
+
return (e, t) => (E(), y("section", ue, [
|
|
210
|
+
M.value ? (E(), _(A(o), {
|
|
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(ne), {
|
|
216
216
|
class: "runtime-log-view__list",
|
|
217
|
-
context: A(
|
|
218
|
-
title: A(
|
|
217
|
+
context: A(u),
|
|
218
|
+
title: A(i).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 = h, 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(i).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(i).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(f), {
|
|
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(i).t("platform.screen.RuntimeLogView.view-live-logs", "实时查看")), 1)]),
|
|
240
240
|
_: 1
|
|
241
241
|
})])]),
|
|
242
|
-
cell: j(({ column: e, record:
|
|
242
|
+
cell: j(({ column: e, record: t }) => [e.key === "sizeBytes" ? (E(), _(A(ie), {
|
|
243
243
|
key: 0,
|
|
244
|
-
value:
|
|
245
|
-
}, null, 8, ["value"])) : e.key === "lastModifiedAt" ? (E(), _(A(
|
|
244
|
+
value: t.sizeBytes
|
|
245
|
+
}, null, 8, ["value"])) : e.key === "lastModifiedAt" ? (E(), _(A(r), {
|
|
246
246
|
key: 1,
|
|
247
|
-
value:
|
|
248
|
-
}, null, 8, ["value"])) : e.key === "active" ? (E(), y("span", fe, k(
|
|
249
|
-
rowActions: j(({ record: e }) => [b("div", me, [e.active === !0 ? (E(), _(A(
|
|
247
|
+
value: t.lastModifiedAt
|
|
248
|
+
}, null, 8, ["value"])) : e.key === "active" ? (E(), y("span", fe, k(t.active ? A(i).t("platform.screen.RuntimeLogView.active", "正在写入") : A(i).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(f), {
|
|
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(i).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(f), {
|
|
259
259
|
type: "link",
|
|
260
260
|
size: "small",
|
|
261
261
|
"icon-name": "download",
|
|
@@ -263,7 +263,7 @@ var le = h, 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(i).t("platform.screen.SingleImageFileReferenceField.download", "下载")), 1)]),
|
|
267
267
|
_: 1
|
|
268
268
|
}, 8, [
|
|
269
269
|
"loading",
|
|
@@ -278,20 +278,20 @@ var le = h, 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(te), {
|
|
282
282
|
open: P.value,
|
|
283
|
-
title: F.value ? A(
|
|
283
|
+
title: F.value ? A(i).t("platform.screen.RuntimeLogView.live-logs-value", "实时日志 · {value1}", { value1: F.value }) : A(i).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(re), {
|
|
291
291
|
key: 0,
|
|
292
292
|
emphasis: "quiet",
|
|
293
293
|
"icon-name": "reload",
|
|
294
|
-
title: A(
|
|
294
|
+
title: A(i).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 = h, 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(ee), {
|
|
303
303
|
key: 1,
|
|
304
|
-
description: L.value === "connecting" ? A(
|
|
304
|
+
description: L.value === "connecting" ? A(i).t("platform.screen.RuntimeLogView.reading-the-end-of-the-log", "正在读取日志末尾内容…") : A(i).t("platform.screen.RuntimeLogView.no-log-content", "暂无日志内容")
|
|
305
305
|
}, null, 8, ["description"]))], 544)]),
|
|
306
306
|
_: 1
|
|
307
307
|
}, 8, [
|