@ximatai/muyun-web-app 0.26.17 → 0.26.19
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-9RrW-RKb.js → BusinessActivityLogView-DudCmeKP.js} +2 -2
- package/dist/{BusinessLogListDrawer-DYVx9tiQ.js → BusinessLogListDrawer-CVUvUG48.js} +193 -193
- package/dist/CodeConfigurationView-ZjVgaZkD.js +1667 -0
- package/dist/{ConfigurationTranslationView-Bh_ekuMP.js → ConfigurationTranslationView-Dl757QMl.js} +38 -38
- package/dist/{LoginAuditLogView-DG6iBXEn.js → LoginAuditLogView-Cj3PMvN5.js} +2 -2
- package/dist/ModuleActionManagementView-BuhQrVA3.js +755 -0
- package/dist/{ModuleGovernanceView-C53RnUzc.js → ModuleGovernanceView-C3RxdgQN.js} +3736 -3880
- package/dist/{RequestErrorLogView-Ba5p0hLE.js → RequestErrorLogView-tmjMOeLE.js} +2 -2
- package/dist/RoleDetailWorkspaceView-OhpBChaT.js +1435 -0
- package/dist/{RuntimeLogView-BFEABm8G.js → RuntimeLogView-BkkgHcF0.js} +69 -69
- package/dist/WorkflowAdministrationView-DOhA_5-M.js +650 -0
- package/dist/WorkflowConfigurationView-Bnjdrkdx.js +980 -0
- package/dist/{WorkflowWorkbenchView-DGpNDt5V.js → WorkflowWorkbenchView-Cf6yiofx.js} +263 -263
- package/dist/codeConfiguration-DERwCY-U.js +208 -0
- package/dist/index.css +1 -1
- package/dist/index.js +472 -471
- package/dist/moduleMenuWorkspace-DPmYGkS_.js +626 -0
- package/dist/platform-components-wRXbnwMr.js +30434 -0
- package/dist/{platform-workbench-C1hmkOUD.js → platform-workbench-Cm_0kmTT.js} +5570 -5592
- package/dist/types/app/DevelopmentTopbarActions.vue.d.ts +9 -0
- package/dist/types/app/executeBusinessNotificationRecordAction.d.ts +7 -0
- package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +5 -1
- package/dist/types/consumer/index.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +6 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageDetailExtensionRuntime.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/modulePageEnhancementState.d.ts +5 -0
- package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +6 -2
- package/dist/types/platform-admin-runtime/ModuleCodeConfigurationStatus.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/moduleCodeConfiguration.d.ts +15 -0
- package/dist/types/platform-admin-runtime/workflow/ModuleWorkflowDrawer.vue.d.ts +7 -0
- package/dist/types/platform-components/BusinessNotificationPanel.vue.d.ts +5 -3
- package/dist/types/platform-components/FormulaExpressionEditor.vue.d.ts +5 -0
- package/dist/types/platform-components/RecordAdaptiveDetailPanel.vue.d.ts +28 -0
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +4 -2
- package/dist/types/platform-components/RecordQueryListSurface.vue.d.ts +4 -0
- package/dist/types/platform-components/RecordRelationActionButton.vue.d.ts +16 -0
- package/dist/types/{dynamic-page-runtime → platform-components}/TenantScopeExplorer.vue.d.ts +1 -1
- package/dist/types/platform-components/WorkflowBusinessTaskEditor.vue.d.ts +2 -0
- package/dist/types/platform-components/WorkflowDesignProperties.vue.d.ts +2 -6
- package/dist/types/platform-components/WorkflowDiagram.vue.d.ts +32 -1
- package/dist/types/platform-components/formulaExpressionTokens.d.ts +2 -0
- package/dist/types/platform-components/formulaExpressionTools.d.ts +6 -0
- package/dist/types/platform-components/index.d.ts +5 -0
- package/dist/types/platform-components/managementWorkspaceLayout.d.ts +10 -0
- package/dist/types/platform-components/recordFormFieldModel.d.ts +4 -0
- package/dist/types/platform-components/useBusinessCodeForm.d.ts +36 -0
- package/dist/types/platform-components/useWorkflowDesignHistory.d.ts +14 -0
- package/dist/types/platform-components/useWorkspaceDetailSurface.d.ts +3 -0
- package/dist/types/platform-components/workflowDesignClipboard.d.ts +7 -0
- package/dist/types/platform-components/workflowPresentation.d.ts +4 -0
- package/dist/types/platform-workbench/Workbench.vue.d.ts +6 -2
- package/dist/types/platform-workbench/WorkbenchGlobalTools.vue.d.ts +13 -1
- package/dist/types/views/CodeConfigurationView.vue.d.ts +8 -0
- package/dist/types/views/CodeRuleFormatEditor.vue.d.ts +17 -0
- package/dist/types/views/WorkflowConfigurationView.vue.d.ts +1 -0
- package/dist/types/views/WorkflowDefinitionSettings.vue.d.ts +35 -0
- package/dist/types/views/WorkflowSelectionFields.vue.d.ts +2 -4
- package/dist/types/views/codeConfiguration.d.ts +127 -0
- package/dist/types/views/codeConfigurationWorkspaceView.d.ts +5 -0
- package/dist/types/views/moduleGovernanceWorkspaceView.d.ts +1 -1
- package/dist/types/views/useWorkflowConfigurationContext.d.ts +49 -0
- package/dist/types/views/workflowConfigurationWorkspaceView.d.ts +2 -0
- package/dist/types/vue-ui-antdv/components/UiDatePicker.vue.d.ts +33 -0
- package/dist/types/vue-ui-antdv/components/UiHelp.vue.d.ts +16 -0
- package/dist/types/vue-ui-antdv/components/UiIcon.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiPopover.vue.d.ts +12 -4
- package/dist/types/vue-ui-antdv/components/UiRadioGroup.vue.d.ts +4 -0
- package/dist/types/vue-ui-antdv/components/UiSidePanel.vue.d.ts +5 -0
- package/dist/types/vue-ui-antdv/datePickerCalendar.d.ts +472 -0
- package/dist/types/vue-ui-antdv/datePickerValue.d.ts +6 -0
- package/dist/types/vue-ui-antdv/index.d.ts +4 -0
- package/dist/types/vue-ui-antdv/languageLocales.d.ts +2 -0
- package/dist/types/vue-ui-antdv/overlayLayers.d.ts +5 -0
- package/dist/types/vue-ui-antdv/types.d.ts +2 -0
- package/dist/types/web-contracts/index.d.ts +18 -0
- package/dist/types/web-contracts/workflow.d.ts +16 -8
- package/dist/types/web-core/businessNotifications.d.ts +3 -1
- package/dist/types/web-core/workflow.d.ts +13 -1
- package/dist/useWorkflowConfigurationContext-BE_UjKgk.js +66 -0
- package/dist/{workspaceViews-BpH71LKQ.js → workspaceViews-D37OpJ7g.js} +1608 -884
- package/package.json +4 -1
- package/dist/ModuleActionManagementView-DgHqhoMN.js +0 -755
- package/dist/RoleDetailWorkspaceView-C3TBqksY.js +0 -1435
- package/dist/WorkflowAdministrationView-BOHG2e-I.js +0 -650
- package/dist/WorkflowConfigurationView-A0m5tBX9.js +0 -1097
- package/dist/moduleGovernanceWorkspaceView-DNKzYX0x.js +0 -667
- package/dist/platform-components-BBfyINHa.js +0 -29912
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import {
|
|
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
|
|
1
|
+
import { Ft as e, Ga as t, Ha as n, La as r, Mn as i, Sa as a, Tn as ee, Va as o, aa as te, an as ne, ar as s, fa as c, ga as l, gn as re, ia as u, nr as ie, q as ae, ra as d, rr as f, un as p, ya as m, za as h, zr as oe } from "./platform-components-wRXbnwMr.js";
|
|
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
|
-
var
|
|
5
|
-
function
|
|
6
|
-
if (!
|
|
4
|
+
var M = "/platform.runtime_log";
|
|
5
|
+
function ce(e, n = h) {
|
|
6
|
+
if (!t(e)) throw new d(u(n, "platform.screen.runtimeLogClient.the-current-http-client-does-not-support-runtime-log-streams", "当前 HTTP 客户端不支持运行日志流。"));
|
|
7
7
|
return {
|
|
8
8
|
download(t) {
|
|
9
9
|
return e.stream({
|
|
10
|
-
path: `${
|
|
10
|
+
path: `${M}/files/${encodeURIComponent(t)}/download`,
|
|
11
11
|
headers: { Accept: "application/octet-stream" }
|
|
12
12
|
});
|
|
13
13
|
},
|
|
14
14
|
activeStream(t, n) {
|
|
15
15
|
return e.stream({
|
|
16
16
|
method: "POST",
|
|
17
|
-
path: `${
|
|
17
|
+
path: `${M}/active/stream`,
|
|
18
18
|
body: { tailLines: t },
|
|
19
19
|
headers: { Accept: "text/event-stream, application/json" },
|
|
20
20
|
...n ? { signal: n } : {}
|
|
@@ -24,21 +24,21 @@ function le(e, t = s) {
|
|
|
24
24
|
}
|
|
25
25
|
//#endregion
|
|
26
26
|
//#region src/views/runtimeLogSse.ts
|
|
27
|
-
var
|
|
27
|
+
var le = c, 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
|
-
},
|
|
30
|
+
}, ge = 500, N = /*#__PURE__*/ s(/* @__PURE__ */ C({
|
|
31
31
|
name: "RuntimeLogView",
|
|
32
32
|
__name: "RuntimeLogView",
|
|
33
|
-
setup(
|
|
34
|
-
let
|
|
33
|
+
setup(t) {
|
|
34
|
+
let s = n(), c = oe({ moduleAlias: "platform.runtime_log" }), h = ce(c.http, s), 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) : s.t(e.source.sourceId, e.source.originalText, e.args) : {
|
|
37
|
+
connecting: s.t("platform.screen.RuntimeLogView.connecting-to-live-logs", "正在连接实时日志…"),
|
|
38
|
+
live: s.t("platform.screen.RuntimeLogView.updating-live", "正在实时更新"),
|
|
39
|
+
rotated: s.t("platform.screen.RuntimeLogView.the-log-file-has-rotated-reconnect", "日志文件已轮转,请重新连接。"),
|
|
40
|
+
error: s.t("platform.screen.RuntimeLogView.the-live-log-connection-was-interrupted", "实时日志连接已中断。"),
|
|
41
|
+
closed: s.t("platform.screen.RuntimeLogView.live-logs-closed", "实时日志已关闭。")
|
|
42
42
|
}[L.value];
|
|
43
43
|
}), ve = g(() => [
|
|
44
44
|
"closed",
|
|
@@ -47,27 +47,27 @@ var ue = h, de = { class: "runtime-log-view" }, fe = { class: "runtime-log-view_
|
|
|
47
47
|
].includes(L.value)), ye = g(() => [
|
|
48
48
|
{
|
|
49
49
|
key: "name",
|
|
50
|
-
title:
|
|
50
|
+
title: s.t("platform.screen.RuntimeLogView.file-name", "文件名称"),
|
|
51
51
|
width: "360px"
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
54
|
key: "sizeBytes",
|
|
55
|
-
title:
|
|
55
|
+
title: s.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: s.t("platform.screen.RuntimeLogView.last-modified", "最后修改时间"),
|
|
62
62
|
width: "208px"
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
65
|
key: "active",
|
|
66
|
-
title:
|
|
66
|
+
title: s.t("platform.screen.WorkflowWorkbenchView.status", "状态"),
|
|
67
67
|
width: "132px"
|
|
68
68
|
}
|
|
69
69
|
]);
|
|
70
|
-
|
|
70
|
+
T(q), se(I, () => {
|
|
71
71
|
B.value && Ee();
|
|
72
72
|
});
|
|
73
73
|
function G() {
|
|
@@ -86,23 +86,23 @@ var ue = h, de = { class: "runtime-log-view" }, fe = { class: "runtime-log-view_
|
|
|
86
86
|
}
|
|
87
87
|
async function Se(e, t) {
|
|
88
88
|
try {
|
|
89
|
-
let n = await h.activeStream(
|
|
89
|
+
let n = await h.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 i = new TextDecoder(), a =
|
|
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
100
|
t && a.push(i.decode(t, { stream: !0 }));
|
|
101
101
|
}
|
|
102
|
-
a.push(i.decode()), a.finish(), !t.signal.aborted && e === V && L.value !== "rotated" && (L.value = "closed", R.value =
|
|
102
|
+
a.push(i.decode()), a.finish(), !t.signal.aborted && e === V && L.value !== "rotated" && (L.value = "closed", R.value = u(s, "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, u(s, "platform.screen.RuntimeLogView.failed-to-connect-to-live-logs-reconnect", "实时日志连接失败,请重新连接。")), p(n, {
|
|
105
|
+
language: s,
|
|
106
106
|
source: "runtime-log-stream",
|
|
107
107
|
phase: "load"
|
|
108
108
|
}));
|
|
@@ -110,33 +110,33 @@ var ue = h, de = { class: "runtime-log-view" }, fe = { class: "runtime-log-view_
|
|
|
110
110
|
e === V && (H = void 0);
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
|
-
function Ce(
|
|
114
|
-
if (!(
|
|
113
|
+
function Ce(e, t, n) {
|
|
114
|
+
if (!(n.signal.aborted || t !== V)) switch (e.event) {
|
|
115
115
|
case "snapshot":
|
|
116
116
|
case "reset": {
|
|
117
|
-
let
|
|
118
|
-
I.value = X(
|
|
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" ? u(s, "platform.screen.RuntimeLogView.log-content-was-reset-live-updates-are-continuing", "日志内容已重置,正在继续实时更新。") : void 0;
|
|
119
119
|
return;
|
|
120
120
|
}
|
|
121
121
|
case "append": {
|
|
122
|
-
let
|
|
123
|
-
I.value += X(
|
|
122
|
+
let t = Y(e.data);
|
|
123
|
+
I.value += X(t.text), L.value = "live", R.value = void 0;
|
|
124
124
|
return;
|
|
125
125
|
}
|
|
126
126
|
case "rotated": {
|
|
127
|
-
let
|
|
128
|
-
F.value = Z(
|
|
127
|
+
let t = Y(e.data);
|
|
128
|
+
F.value = Z(t.fileName) ?? F.value, W < 1 ? (W += 1, L.value = "connecting", R.value = u(s, "platform.screen.RuntimeLogView.the-log-file-has-rotated-reconnecting-to-the-latest-file", "日志文件已轮转,正在重新连接最新文件…"), w(() => K())) : (L.value = "rotated", R.value = u(s, "platform.screen.RuntimeLogView.the-log-file-has-rotated-again-reconnect-manually", "日志文件再次轮转,请手动重新连接。"), q());
|
|
129
129
|
return;
|
|
130
130
|
}
|
|
131
131
|
case "error": {
|
|
132
|
-
let
|
|
132
|
+
let t = Y(e.data);
|
|
133
133
|
L.value = "error";
|
|
134
|
-
let
|
|
135
|
-
R.value =
|
|
136
|
-
message:
|
|
137
|
-
source:
|
|
134
|
+
let n = Z(t.message), i = t.messageSource;
|
|
135
|
+
R.value = t.code === "RUNTIME_LOG_STREAM_INTERRUPTED" && a(i) && i.sourceKind === "CODE" && i.sourceId === "platform.runtime-log.stream-interrupted" && i.originalText === r(i.sourceId) && o(i, n ?? "") ? {
|
|
136
|
+
message: n,
|
|
137
|
+
source: i,
|
|
138
138
|
args: {}
|
|
139
|
-
} :
|
|
139
|
+
} : n ?? u(s, "platform.screen.RuntimeLogView.the-live-log-connection-encountered-an-error-reconnect", "实时日志连接出现错误,请重新连接。"), q();
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
}
|
|
@@ -152,8 +152,8 @@ var ue = h, de = { class: "runtime-log-view" }, fe = { 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, u(s, "platform.screen.RuntimeLogView.failed-to-download-value-try-again-later", "下载 {value1} 失败,请稍后重试。", { value1: e.name })), p(t, {
|
|
156
|
+
language: s,
|
|
157
157
|
source: "runtime-log-download",
|
|
158
158
|
phase: "load"
|
|
159
159
|
});
|
|
@@ -201,21 +201,21 @@ var ue = h, de = { class: "runtime-log-view" }, fe = { 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 d(t);
|
|
205
205
|
}
|
|
206
206
|
function $(e) {
|
|
207
|
-
return e instanceof
|
|
207
|
+
return e instanceof d ? te(e, s) : m(l(e), s);
|
|
208
208
|
}
|
|
209
|
-
return (
|
|
210
|
-
|
|
209
|
+
return (t, n) => (E(), y("section", ue, [
|
|
210
|
+
M.value ? (E(), _(A(ee), {
|
|
211
211
|
key: 0,
|
|
212
212
|
class: "runtime-log-view__error",
|
|
213
|
-
message:
|
|
213
|
+
message: M.value
|
|
214
214
|
}, null, 8, ["message"])) : v("v-if", !0),
|
|
215
|
-
S(
|
|
215
|
+
S(A(ae), {
|
|
216
216
|
class: "runtime-log-view__list",
|
|
217
|
-
context:
|
|
218
|
-
title:
|
|
217
|
+
context: A(c),
|
|
218
|
+
title: A(s).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 ue = h, de = { class: "runtime-log-view" }, fe = { class: "runtime-log-view_
|
|
|
226
226
|
20,
|
|
227
227
|
50
|
|
228
228
|
],
|
|
229
|
-
"empty-description":
|
|
229
|
+
"empty-description": A(s).t("platform.screen.RuntimeLogView.no-log-files-available-in-the-current-log-directory", "当前日志目录中没有可用的日志文件"),
|
|
230
230
|
"row-actions-of": () => [],
|
|
231
|
-
"row-actions-title":
|
|
231
|
+
"row-actions-title": A(s).t("platform.screen.RecordPermissionDialog.operation", "操作"),
|
|
232
232
|
"action-column-width": "176"
|
|
233
233
|
}, {
|
|
234
|
-
operations:
|
|
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:
|
|
239
|
+
default: j(() => [x(k(A(s).t("platform.screen.RuntimeLogView.view-live-logs", "实时查看")), 1)]),
|
|
240
240
|
_: 1
|
|
241
241
|
})])]),
|
|
242
|
-
cell:
|
|
242
|
+
cell: j(({ column: e, record: t }) => [e.key === "sizeBytes" ? (E(), _(A(ne), {
|
|
243
243
|
key: 0,
|
|
244
244
|
value: t.sizeBytes
|
|
245
|
-
}, null, 8, ["value"])) : e.key === "lastModifiedAt" ? (
|
|
245
|
+
}, null, 8, ["value"])) : e.key === "lastModifiedAt" ? (E(), _(A(re), {
|
|
246
246
|
key: 1,
|
|
247
247
|
value: t.lastModifiedAt
|
|
248
|
-
}, null, 8, ["value"])) : e.key === "active" ? (
|
|
249
|
-
rowActions:
|
|
248
|
+
}, null, 8, ["value"])) : e.key === "active" ? (E(), y("span", fe, k(t.active ? A(s).t("platform.screen.RuntimeLogView.active", "正在写入") : A(s).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:
|
|
256
|
+
default: j(() => [x(k(A(s).t("platform.screen.RuntimeLogView.view-live-logs", "实时查看")), 1)]),
|
|
257
257
|
_: 1
|
|
258
|
-
})) : v("v-if", !0), S(
|
|
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 ue = h, de = { class: "runtime-log-view" }, fe = { class: "runtime-log-view_
|
|
|
263
263
|
disabled: !!N.value && N.value !== e.name,
|
|
264
264
|
onClick: (t) => we(e)
|
|
265
265
|
}, {
|
|
266
|
-
default:
|
|
266
|
+
default: j(() => [x(k(A(s).t("platform.screen.SingleImageFileReferenceField.download", "下载")), 1)]),
|
|
267
267
|
_: 1
|
|
268
268
|
}, 8, [
|
|
269
269
|
"loading",
|
|
@@ -278,30 +278,30 @@ var ue = h, de = { class: "runtime-log-view" }, fe = { class: "runtime-log-view_
|
|
|
278
278
|
"empty-description",
|
|
279
279
|
"row-actions-title"
|
|
280
280
|
]),
|
|
281
|
-
S(
|
|
281
|
+
S(A(e), {
|
|
282
282
|
open: P.value,
|
|
283
|
-
title: F.value ?
|
|
283
|
+
title: F.value ? A(s).t("platform.screen.RuntimeLogView.live-logs-value", "实时日志 · {value1}", { value1: F.value }) : A(s).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":
|
|
290
|
+
"header-actions": j(() => [ve.value ? (E(), _(A(ie), {
|
|
291
291
|
key: 0,
|
|
292
292
|
emphasis: "quiet",
|
|
293
293
|
"icon-name": "reload",
|
|
294
|
-
title:
|
|
294
|
+
title: A(s).t("platform.screen.RuntimeLogView.reconnect", "重新连接"),
|
|
295
295
|
onClick: be
|
|
296
296
|
}, null, 8, ["title"])) : v("v-if", !0)]),
|
|
297
|
-
default:
|
|
297
|
+
default: j(() => [b("div", {
|
|
298
298
|
ref_key: "logViewport",
|
|
299
299
|
ref: z,
|
|
300
300
|
class: "runtime-log-view__viewport",
|
|
301
301
|
onScroll: J
|
|
302
|
-
}, [I.value ? (
|
|
302
|
+
}, [I.value ? (E(), y("pre", he, k(I.value), 1)) : (E(), _(A(i), {
|
|
303
303
|
key: 1,
|
|
304
|
-
description: L.value === "connecting" ?
|
|
304
|
+
description: L.value === "connecting" ? A(s).t("platform.screen.RuntimeLogView.reading-the-end-of-the-log", "正在读取日志末尾内容…") : A(s).t("platform.screen.RuntimeLogView.no-log-content", "暂无日志内容")
|
|
305
305
|
}, null, 8, ["description"]))], 544)]),
|
|
306
306
|
_: 1
|
|
307
307
|
}, 8, [
|