@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.
- package/dist/{BusinessActivityLogView-DVM_GB5y.js → BusinessActivityLogView-CNW817Sf.js} +2 -2
- package/dist/BusinessLogListDrawer-YiJxOlnD.js +864 -0
- package/dist/CodeConfigurationView-DU8tjPMt.js +1667 -0
- package/dist/{ConfigurationTranslationView-B0FosDyz.js → ConfigurationTranslationView-CbBt5s1q.js} +51 -51
- package/dist/{LoginAuditLogView-3tAozKlC.js → LoginAuditLogView-CZF1Jfq_.js} +2 -2
- package/dist/{ModuleActionManagementView-CJRNShGg.js → ModuleActionManagementView-CaiXH1l_.js} +208 -208
- package/dist/{ModuleGovernanceView-DsqR_Sj7.js → ModuleGovernanceView-CcwGyO3x.js} +4331 -4475
- package/dist/{RequestErrorLogView-C4yH-TSX.js → RequestErrorLogView-DpudZrC2.js} +2 -2
- package/dist/RoleDetailWorkspaceView-DNMGsAJC.js +1435 -0
- package/dist/{RuntimeLogView-CoKKpJ39.js → RuntimeLogView-444BL_xs.js} +61 -61
- package/dist/WorkflowAdministrationView-C-VIjvwB.js +650 -0
- package/dist/WorkflowConfigurationView-DLFY2x7V.js +1110 -0
- package/dist/WorkflowWorkbenchView-Gr02dbBc.js +759 -0
- package/dist/codeConfiguration-ChJ6ktRR.js +208 -0
- package/dist/index.css +1 -1
- package/dist/index.js +624 -598
- package/dist/moduleMenuWorkspace-B8DKwC3L.js +626 -0
- package/dist/{platform-components-Cl5ZZiuU.js → platform-components-5AE0j2_3.js} +9579 -6839
- package/dist/{platform-workbench-CAHoriIf.js → platform-workbench-BhZPARiH.js} +6345 -6478
- package/dist/types/app/CurrentUserProfileDialog.vue.d.ts +1 -1
- package/dist/types/app/DevelopmentTopbarActions.vue.d.ts +9 -0
- package/dist/types/app/useAssistantAvailability.d.ts +8 -0
- package/dist/types/app/useCurrentUserProfile.d.ts +12 -0
- package/dist/types/app/workbenchRouteSync.d.ts +2 -0
- package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +9 -3
- package/dist/types/consumer/index.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +8 -8
- package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +214 -92
- package/dist/types/dynamic-page-runtime/assistantQueryCapabilities.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/composables/useManagedDetailRelationRuntime.d.ts +2 -2
- package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +2 -2
- package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +2 -2
- package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +4 -4
- package/dist/types/dynamic-page-runtime/useModuleRecordDataChanges.d.ts +4 -0
- package/dist/types/main.d.ts +0 -1
- 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-components/BusinessContentGenerationPanel.vue.d.ts +22 -0
- package/dist/types/platform-components/BusinessContentQueryNotice.vue.d.ts +17 -0
- package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +2 -2
- package/dist/types/platform-components/DictionaryOptionDialog.vue.d.ts +4 -4
- package/dist/types/platform-components/DictionaryOptionDialogChoiceList.vue.d.ts +1 -1
- package/dist/types/platform-components/DictionaryPicker.vue.d.ts +4 -4
- package/dist/types/platform-components/ObjectPickerInput.vue.d.ts +2 -2
- package/dist/types/platform-components/QueryCriteriaGroupEditor.vue.d.ts +2 -2
- package/dist/types/platform-components/RecordContentSourceField.vue.d.ts +22 -0
- package/dist/types/platform-components/RecordContentTranslationField.vue.d.ts +26 -0
- package/dist/types/platform-components/RecordDataExchangeSurface.vue.d.ts +26 -0
- package/dist/types/platform-components/RecordDetailFields.vue.d.ts +3 -2
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +5 -2
- package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordQueryListCell.vue.d.ts +1 -0
- package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordQueryListSurface.vue.d.ts +1 -1
- package/dist/types/{dynamic-page-runtime/ModuleDataExchangeSurface.vue.d.ts → platform-components/RecordQuerySortSelector.vue.d.ts} +5 -9
- package/dist/types/platform-components/RecordRelationActionButton.vue.d.ts +16 -0
- package/dist/types/platform-components/RecordRelationValue.vue.d.ts +2 -0
- package/dist/types/platform-components/StaticManagementLayout.vue.d.ts +7 -2
- package/dist/types/{dynamic-page-runtime → platform-components}/TenantScopeExplorer.vue.d.ts +1 -1
- package/dist/types/platform-components/WorkflowRecordPanel.vue.d.ts +2 -0
- package/dist/types/platform-components/WorkflowTimeline.vue.d.ts +4 -0
- package/dist/types/platform-components/crudRecordListModel.d.ts +1 -0
- package/dist/types/platform-components/index.d.ts +3 -0
- package/dist/types/platform-components/loadExplorerRecords.d.ts +3 -0
- package/dist/types/platform-components/managementWorkspaceLayout.d.ts +10 -0
- package/dist/types/platform-components/recordDetailFieldModel.d.ts +2 -0
- package/dist/types/platform-components/recordFormFieldModel.d.ts +6 -0
- package/dist/types/platform-components/recordQueryListQueryController.d.ts +2 -0
- package/dist/types/platform-components/recordSurfaceActivity.d.ts +3 -0
- package/dist/types/platform-components/recycleBinState.d.ts +1 -0
- package/dist/types/platform-components/referencePickerModel.d.ts +6 -2
- package/dist/types/platform-components/scopedTreePickerModel.d.ts +4 -0
- package/dist/types/platform-components/useBusinessCodeForm.d.ts +36 -0
- package/dist/types/platform-workbench/Workbench.vue.d.ts +13 -4
- package/dist/types/platform-workbench/WorkbenchGlobalTools.vue.d.ts +28 -0
- package/dist/types/platform-workbench/WorkbenchLanguageSettings.vue.d.ts +11 -0
- package/dist/types/platform-workbench/WorkbenchPageTitle.vue.d.ts +10 -0
- package/dist/types/platform-workbench/menuGroupLayout.d.ts +5 -0
- package/dist/types/platform-workbench/menuTreeModel.d.ts +1 -2
- package/dist/types/platform-workbench/useAssistantConversation.d.ts +1 -1
- package/dist/types/platform-workbench/useAssistantConversationArchive.d.ts +1 -1
- package/dist/types/platform-workbench/useLanguagePreferenceSelection.d.ts +7 -0
- package/dist/types/views/CodeConfigurationView.vue.d.ts +8 -0
- package/dist/types/views/CodeRuleFormatEditor.vue.d.ts +17 -0
- package/dist/types/views/PageQuerySummaryEditor.vue.d.ts +4 -4
- package/dist/types/views/WorkflowSelectionFields.vue.d.ts +28 -0
- package/dist/types/views/codeConfiguration.d.ts +127 -0
- package/dist/types/views/codeConfigurationWorkspaceView.d.ts +5 -0
- package/dist/types/views/metadataEditorSession.d.ts +4 -0
- package/dist/types/views/metadataOrchestrationState.d.ts +3 -0
- package/dist/types/views/metadataWorkspace.d.ts +8 -0
- package/dist/types/views/moduleGovernanceWorkspaceView.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiDatePicker.vue.d.ts +33 -0
- package/dist/types/vue-ui-antdv/components/UiDropdown.vue.d.ts +1 -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/UiModal.vue.d.ts +9 -6
- package/dist/types/vue-ui-antdv/components/UiPopover.vue.d.ts +12 -4
- 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 +3 -0
- package/dist/types/vue-ui-antdv/languageLocales.d.ts +2 -0
- package/dist/types/vue-ui-antdv/types.d.ts +2 -0
- package/dist/types/vue-ui-antdv/typography.d.ts +25 -0
- package/dist/types/web-contracts/index.d.ts +146 -1
- package/dist/types/web-contracts/workflow.d.ts +10 -0
- package/dist/types/web-core/assistantTurnClient.d.ts +2 -0
- package/dist/types/web-core/businessContent.d.ts +38 -0
- package/dist/types/web-core/businessContentLanguage.d.ts +18 -0
- package/dist/types/web-core/index.d.ts +5 -0
- package/dist/types/web-core/languagePreference.d.ts +2 -2
- package/dist/types/web-core/module/dataExchangeClient.d.ts +83 -1
- package/dist/types/web-core/module/staticModuleClient.d.ts +9 -3
- package/dist/types/web-core/presentationTexts.d.ts +5 -0
- package/dist/types/web-core/recordReadRefreshGuard.d.ts +7 -0
- package/dist/types/web-core/useBusinessContentGenerationBatch.d.ts +36 -0
- package/dist/types/web-core/useBusinessContentReading.d.ts +30 -0
- package/dist/types/web-core/workflow.d.ts +2 -1
- package/dist/{workspaceViews-BIYGPUAO.js → workspaceViews-DeBqozVb.js} +1062 -918
- package/package.json +4 -1
- package/dist/BusinessLogListDrawer-BciMLY9z.js +0 -864
- package/dist/RoleDetailWorkspaceView-BpOoGUwS.js +0 -1435
- package/dist/WorkflowAdministrationView-DmUV6vWS.js +0 -650
- package/dist/WorkflowConfigurationView-pghDbWEh.js +0 -975
- package/dist/WorkflowWorkbenchView-BwWxyDen.js +0 -747
- package/dist/moduleGovernanceWorkspaceView-DGEV3ZyT.js +0 -667
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { $i as e,
|
|
1
|
+
import { $i as e, $n as t, Fa as n, Fr as r, G as i, Ia as a, Na as o, Nt as ee, On as te, Qi as s, Qn as c, Sn as ne, Zi as l, ga as re, ja as ie, nn as ae, oa as u, pa as d, pn as f, sn as p, tr as m, ua as oe, za as h } from "./platform-components-5AE0j2_3.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 se, openBlock as T, ref as E, shallowRef as D, toDisplayString as O, unref as k, watch as ce, withCtx as A } from "vue";
|
|
3
3
|
//#region src/views/runtimeLogClient.ts
|
|
4
4
|
var j = "/platform.runtime_log";
|
|
5
|
-
function le(
|
|
6
|
-
if (!
|
|
5
|
+
function le(e, t = o) {
|
|
6
|
+
if (!h(e)) throw new l(s(t, "platform.screen.runtimeLogClient.the-current-http-client-does-not-support-runtime-log-streams", "当前 HTTP 客户端不支持运行日志流。"));
|
|
7
7
|
return {
|
|
8
|
-
download(
|
|
9
|
-
return
|
|
10
|
-
path: `${j}/files/${encodeURIComponent(
|
|
8
|
+
download(t) {
|
|
9
|
+
return e.stream({
|
|
10
|
+
path: `${j}/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: `${j}/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 le(t, r = e) {
|
|
|
24
24
|
}
|
|
25
25
|
//#endregion
|
|
26
26
|
//#region src/views/runtimeLogSse.ts
|
|
27
|
-
var ue =
|
|
27
|
+
var ue = u, de = { class: "runtime-log-view" }, fe = { class: "runtime-log-view__header-actions" }, pe = { key: 2 }, me = { key: 3 }, he = { class: "runtime-log-view__row-actions" }, ge = {
|
|
28
28
|
key: 0,
|
|
29
29
|
class: "runtime-log-view__content"
|
|
30
30
|
}, M = 500, N = /*#__PURE__*/ m(/* @__PURE__ */ C({
|
|
31
31
|
name: "RuntimeLogView",
|
|
32
32
|
__name: "RuntimeLogView",
|
|
33
|
-
setup(
|
|
34
|
-
let
|
|
33
|
+
setup(o) {
|
|
34
|
+
let u = a(), m = r({ moduleAlias: "platform.runtime_log" }), h = le(m.http, u), C = D(), j = g(() => C.value ? $(C.value) : void 0), N = E(), P = E(!1), F = E(), I = E(""), L = E("closed"), R = D(), z = E(), B = E(!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 ue = o, 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: 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,7 +86,7 @@ var ue = o, 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
|
|
89
|
+
let n = await h.activeStream(M, t.signal);
|
|
90
90
|
if (t.signal.aborted || e !== V) {
|
|
91
91
|
await n.cancel();
|
|
92
92
|
return;
|
|
@@ -99,10 +99,10 @@ var ue = o, de = { class: "runtime-log-view" }, fe = { class: "runtime-log-view_
|
|
|
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 = s(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, s(u, "platform.screen.RuntimeLogView.failed-to-connect-to-live-logs-reconnect", "实时日志连接失败,请重新连接。")), p(n, {
|
|
105
|
+
language: u,
|
|
106
106
|
source: "runtime-log-stream",
|
|
107
107
|
phase: "load"
|
|
108
108
|
}));
|
|
@@ -110,12 +110,12 @@ var ue = o, de = { class: "runtime-log-view" }, fe = { class: "runtime-log-view_
|
|
|
110
110
|
e === V && (H = void 0);
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
|
-
function Ce(e, t,
|
|
114
|
-
if (!(
|
|
113
|
+
function Ce(e, t, r) {
|
|
114
|
+
if (!(r.signal.aborted || t !== V)) switch (e.event) {
|
|
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" ? s(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 ue = o, de = { class: "runtime-log-view" }, fe = { 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 = s(u, "platform.screen.RuntimeLogView.the-log-file-has-rotated-reconnecting-to-the-latest-file", "日志文件已轮转,正在重新连接最新文件…"), w(() => K())) : (L.value = "rotated", R.value = s(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
|
-
let
|
|
135
|
-
R.value = t.code === "RUNTIME_LOG_STREAM_INTERRUPTED" &&
|
|
136
|
-
message:
|
|
137
|
-
source:
|
|
134
|
+
let r = Z(t.message), i = t.messageSource;
|
|
135
|
+
R.value = t.code === "RUNTIME_LOG_STREAM_INTERRUPTED" && re(i) && i.sourceKind === "CODE" && i.sourceId === "platform.runtime-log.stream-interrupted" && i.originalText === ie(i.sourceId) && n(i, r ?? "") ? {
|
|
136
|
+
message: r,
|
|
137
|
+
source: i,
|
|
138
138
|
args: {}
|
|
139
|
-
} :
|
|
139
|
+
} : r ?? s(u, "platform.screen.RuntimeLogView.the-live-log-connection-encountered-an-error-reconnect", "实时日志连接出现错误,请重新连接。"), q();
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
}
|
|
@@ -149,11 +149,11 @@ var ue = o, de = { class: "runtime-log-view" }, fe = { 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 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, s(u, "platform.screen.RuntimeLogView.failed-to-download-value-try-again-later", "下载 {value1} 失败,请稍后重试。", { value1: e.name })), p(t, {
|
|
156
|
+
language: u,
|
|
157
157
|
source: "runtime-log-download",
|
|
158
158
|
phase: "load"
|
|
159
159
|
});
|
|
@@ -201,21 +201,21 @@ var ue = o, 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 l(t);
|
|
205
205
|
}
|
|
206
|
-
function $(
|
|
207
|
-
return
|
|
206
|
+
function $(t) {
|
|
207
|
+
return t instanceof l ? e(t, u) : d(oe(t), u);
|
|
208
208
|
}
|
|
209
209
|
return (e, n) => (T(), y("section", de, [
|
|
210
|
-
j.value ? (T(), _(k(
|
|
210
|
+
j.value ? (T(), _(k(ne), {
|
|
211
211
|
key: 0,
|
|
212
212
|
class: "runtime-log-view__error",
|
|
213
213
|
message: j.value
|
|
214
214
|
}, null, 8, ["message"])) : v("v-if", !0),
|
|
215
|
-
S(k(
|
|
215
|
+
S(k(i), {
|
|
216
216
|
class: "runtime-log-view__list",
|
|
217
|
-
context: k(
|
|
218
|
-
title: k(
|
|
217
|
+
context: k(m),
|
|
218
|
+
title: k(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 ue = o, de = { class: "runtime-log-view" }, fe = { class: "runtime-log-view_
|
|
|
226
226
|
20,
|
|
227
227
|
50
|
|
228
228
|
],
|
|
229
|
-
"empty-description": k(
|
|
229
|
+
"empty-description": k(u).t("platform.screen.RuntimeLogView.no-log-files-available-in-the-current-log-directory", "当前日志目录中没有可用的日志文件"),
|
|
230
230
|
"row-actions-of": () => [],
|
|
231
|
-
"row-actions-title": k(
|
|
231
|
+
"row-actions-title": k(u).t("platform.screen.RecordPermissionDialog.operation", "操作"),
|
|
232
232
|
"action-column-width": "176"
|
|
233
233
|
}, {
|
|
234
|
-
operations: A(() => [b("div", fe, [S(k(
|
|
234
|
+
operations: A(() => [b("div", fe, [S(k(t), {
|
|
235
235
|
type: "primary",
|
|
236
236
|
"icon-name": "eye",
|
|
237
237
|
onClick: G
|
|
238
238
|
}, {
|
|
239
|
-
default: A(() => [x(O(k(
|
|
239
|
+
default: A(() => [x(O(k(u).t("platform.screen.RuntimeLogView.view-live-logs", "实时查看")), 1)]),
|
|
240
240
|
_: 1
|
|
241
241
|
})])]),
|
|
242
|
-
cell: A(({ column: e, record: t }) => [e.key === "sizeBytes" ? (T(), _(k(
|
|
242
|
+
cell: A(({ column: e, record: t }) => [e.key === "sizeBytes" ? (T(), _(k(ae), {
|
|
243
243
|
key: 0,
|
|
244
244
|
value: t.sizeBytes
|
|
245
|
-
}, null, 8, ["value"])) : e.key === "lastModifiedAt" ? (T(), _(k(
|
|
245
|
+
}, null, 8, ["value"])) : e.key === "lastModifiedAt" ? (T(), _(k(f), {
|
|
246
246
|
key: 1,
|
|
247
247
|
value: t.lastModifiedAt
|
|
248
|
-
}, null, 8, ["value"])) : e.key === "active" ? (T(), y("span", pe, O(t.active ? k(
|
|
249
|
-
rowActions: A(({ record: e }) => [b("div", he, [e.active === !0 ? (T(), _(k(
|
|
248
|
+
}, null, 8, ["value"])) : e.key === "active" ? (T(), y("span", pe, O(t.active ? k(u).t("platform.screen.RuntimeLogView.active", "正在写入") : k(u).t("platform.workflow.archived", "已归档")), 1)) : (T(), y("span", me, O(t[e.key]), 1))]),
|
|
249
|
+
rowActions: A(({ record: e }) => [b("div", he, [e.active === !0 ? (T(), _(k(t), {
|
|
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: A(() => [x(O(k(
|
|
256
|
+
default: A(() => [x(O(k(u).t("platform.screen.RuntimeLogView.view-live-logs", "实时查看")), 1)]),
|
|
257
257
|
_: 1
|
|
258
|
-
})) : v("v-if", !0), S(k(
|
|
258
|
+
})) : v("v-if", !0), S(k(t), {
|
|
259
259
|
type: "link",
|
|
260
260
|
size: "small",
|
|
261
261
|
"icon-name": "download",
|
|
@@ -263,7 +263,7 @@ var ue = o, 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: A(() => [x(O(k(
|
|
266
|
+
default: A(() => [x(O(k(u).t("platform.screen.SingleImageFileReferenceField.download", "下载")), 1)]),
|
|
267
267
|
_: 1
|
|
268
268
|
}, 8, [
|
|
269
269
|
"loading",
|
|
@@ -280,18 +280,18 @@ var ue = o, de = { class: "runtime-log-view" }, fe = { class: "runtime-log-view_
|
|
|
280
280
|
]),
|
|
281
281
|
S(k(ee), {
|
|
282
282
|
open: P.value,
|
|
283
|
-
title: F.value ? k(
|
|
283
|
+
title: F.value ? k(u).t("platform.screen.RuntimeLogView.live-logs-value", "实时日志 · {value1}", { value1: F.value }) : k(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": A(() => [ve.value ? (T(), _(k(
|
|
290
|
+
"header-actions": A(() => [ve.value ? (T(), _(k(c), {
|
|
291
291
|
key: 0,
|
|
292
292
|
emphasis: "quiet",
|
|
293
293
|
"icon-name": "reload",
|
|
294
|
-
title: k(
|
|
294
|
+
title: k(u).t("platform.screen.RuntimeLogView.reconnect", "重新连接"),
|
|
295
295
|
onClick: be
|
|
296
296
|
}, null, 8, ["title"])) : v("v-if", !0)]),
|
|
297
297
|
default: A(() => [b("div", {
|
|
@@ -299,9 +299,9 @@ var ue = o, de = { class: "runtime-log-view" }, fe = { class: "runtime-log-view_
|
|
|
299
299
|
ref: z,
|
|
300
300
|
class: "runtime-log-view__viewport",
|
|
301
301
|
onScroll: J
|
|
302
|
-
}, [I.value ? (T(), y("pre", ge, O(I.value), 1)) : (T(), _(k(
|
|
302
|
+
}, [I.value ? (T(), y("pre", ge, O(I.value), 1)) : (T(), _(k(te), {
|
|
303
303
|
key: 1,
|
|
304
|
-
description: L.value === "connecting" ? k(
|
|
304
|
+
description: L.value === "connecting" ? k(u).t("platform.screen.RuntimeLogView.reading-the-end-of-the-log", "正在读取日志末尾内容…") : k(u).t("platform.screen.RuntimeLogView.no-log-content", "暂无日志内容")
|
|
305
305
|
}, null, 8, ["description"]))], 544)]),
|
|
306
306
|
_: 1
|
|
307
307
|
}, 8, [
|