@yuku123/z-team-component 0.2.150 → 0.2.152
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/{AdminModuleContent-O5drOJBl.js → AdminModuleContent-V6k2bDkY.js} +8 -8
- package/dist/{ChangeLogView-CwPKws_S.js → ChangeLogView-CfHQ7N_9.js} +1 -1
- package/dist/{ComponentDoc-DXBIIuBr.js → ComponentDoc-DhO4nhZ2.js} +3 -3
- package/dist/{InvitationManagementPage-CVOkiNNr.js → InvitationManagementPage-DwgNxvfi.js} +1 -1
- package/dist/{OnboardingPage-BC7_eqie.js → OnboardingPage-Cejk2I6z.js} +2 -2
- package/dist/{ScheduledTasks-CdRr2Rmp.js → ScheduledTasks-ZiBoyEv-.js} +9 -9
- package/dist/{SettingsModal-xN0nNhHX.js → SettingsModal-BTZEkMtM.js} +4 -4
- package/dist/{SystemShell-Bscs2wz-.js → SystemShell-CBJwn-zq.js} +245 -270
- package/dist/{admin-logs-nJUAMtfw.js → admin-logs-B2AtsWTg.js} +1 -1
- package/dist/{api-BRZ4hC-2.js → api-BFL1op1j.js} +1 -1
- package/dist/{api-d0I7FOOw.js → api-BG2pPoZE.js} +1 -1
- package/dist/{browser-QOQM4fjZ.js → browser-BcdbquGX.js} +1 -1
- package/dist/{createWorkspaceWsHandler-DIC7-34v.js → createWorkspaceWsHandler-BC3hPkFI.js} +3 -3
- package/dist/{index-mhs0JDHA.js → index-1AjPHOc7.js} +1 -1
- package/dist/{index--wOWvYY8.js → index-AK8A3p04.js} +2 -2
- package/dist/{index-LKLZ2YQy.js → index-B8S4esKJ.js} +2 -2
- package/dist/{index-Z48uIxZ4.js → index-BBq9NVai.js} +4 -4
- package/dist/{index-9XnVuMS4.js → index-BHcGgP-C.js} +3 -3
- package/dist/{index-ChzbeXl7.js → index-B_2VPTU_.js} +4 -4
- package/dist/{index-CG2eLv5n.js → index-Bk7NhY9G.js} +1 -1
- package/dist/{index-B9ysg0hE.js → index-BvdtjWyi.js} +8 -8
- package/dist/{index-W9gACkva.js → index-CGzoY6nM.js} +2 -2
- package/dist/{index-DfFBAVY2.js → index-CT03XxeT.js} +3 -3
- package/dist/{index-12jjhvM5.js → index-CUK-aBGx.js} +2 -2
- package/dist/{index-BRBxhULH.js → index-CXQlA01v.js} +1 -1
- package/dist/{index-c1lCbspt.js → index-CfVLSP25.js} +2 -2
- package/dist/{index-CtqrlQyb.js → index-CoddCTkZ.js} +2 -2
- package/dist/{index-CTusRpm8.js → index-D0MJvXRA.js} +2 -2
- package/dist/{index-DxNYyF2g.js → index-DADf8yWA.js} +1 -1
- package/dist/{index-Do5vaiEd.js → index-DHxJilKJ.js} +6 -6
- package/dist/{index-ov4e9RCP.js → index-DLAhjpaV.js} +4 -4
- package/dist/{index-QX7HF362.js → index-DXNWdsHg.js} +1 -1
- package/dist/{index-DW-NBBnX.js → index-DfVBxlwq.js} +2 -2
- package/dist/{index-ClTGCi_d.js → index-Dzpx10Xq.js} +1 -1
- package/dist/{index-DlTTmoyO.js → index-EJW5piKk.js} +1 -1
- package/dist/{index-BP1FDWmX.js → index-KrGdQK5t.js} +2 -2
- package/dist/{index-BEQtTwCA.js → index-T-sTcnbY.js} +3 -3
- package/dist/{index-pAnm3EWC.js → index-ymy4_kfy.js} +3 -3
- package/dist/index.js +1 -1
- package/dist/{instance-CA6SzNn2.js → instance-RMxH-4fa.js} +1 -1
- package/dist/{menuPermission-BTSlI-_J.js → menuPermission-DxjKRUCX.js} +3 -3
- package/dist/pages.js +1 -1
- package/dist/{send-default-agent-team-message-DScGPI4E.js → send-default-agent-team-message-zwimof9w.js} +1 -1
- package/dist/{spark-md5-DuEhrzBB.js → spark-md5-DR9zDH0-.js} +1 -1
- package/dist/{training-D9Bzyimn.js → training-Cj7RS49J.js} +1 -1
- package/dist/{webide-C2vqx_M2.js → webide-zsFseY2x.js} +3 -3
- package/package.json +1 -1
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import { jsx as e, jsxs as m } from "react/jsx-runtime";
|
|
2
|
-
import { useNavigate as W, useLocation as
|
|
3
|
-
import { useMemo as O, useCallback as
|
|
2
|
+
import { useNavigate as W, useLocation as z, Navigate as n } from "react-router-dom";
|
|
3
|
+
import { useMemo as O, useCallback as be, Suspense as ke, lazy as v } from "react";
|
|
4
4
|
import { Empty as H } from "antd";
|
|
5
|
-
import { u as L, a6 as
|
|
6
|
-
import { h as
|
|
7
|
-
import { h as
|
|
5
|
+
import { u as L, a6 as ge } from "./ComponentDoc-DhO4nhZ2.js";
|
|
6
|
+
import { h as ye } from "./index-EJW5piKk.js";
|
|
7
|
+
import { h as ve } from "./index-BvdtjWyi.js";
|
|
8
8
|
import { C as u } from "./ctc-sso-Hj8fdMY0.js";
|
|
9
|
-
import { UnorderedListOutlined as
|
|
10
|
-
import { f as qe, M as ze } from "./menuPermission-
|
|
11
|
-
import { M as
|
|
12
|
-
import { SidebarShell as
|
|
13
|
-
import { ProductApp as
|
|
14
|
-
import { P as
|
|
15
|
-
import { configureGraph as
|
|
16
|
-
const
|
|
9
|
+
import { UnorderedListOutlined as C, HistoryOutlined as V, ClusterOutlined as D, DashboardOutlined as S, ExperimentOutlined as fe, SettingOutlined as K, KeyOutlined as E, AppstoreOutlined as B, SafetyCertificateOutlined as ie, TeamOutlined as $, ProfileOutlined as Y, ApiOutlined as U, HddOutlined as R, ApartmentOutlined as F, MessageOutlined as _e, InboxOutlined as Q, FileTextOutlined as N, SendOutlined as Ae, CloudServerOutlined as M, NodeIndexOutlined as Pe, TableOutlined as Z, SearchOutlined as J, DatabaseOutlined as q, ConsoleSqlOutlined as Oe, BranchesOutlined as Se, DeploymentUnitOutlined as x, ScheduleOutlined as Me, CodeOutlined as X, FundOutlined as we, CloudUploadOutlined as Ce, TagsOutlined as De, UserOutlined as Be, AuditOutlined as se, BookOutlined as Ne, ProjectOutlined as re, FolderOpenOutlined as Te, DesktopOutlined as pe, CloudOutlined as j, BuildOutlined as Ee, CalendarOutlined as I, BarChartOutlined as ee, ControlOutlined as Ie } from "@ant-design/icons";
|
|
10
|
+
import { f as qe, M as ze } from "./menuPermission-DxjKRUCX.js";
|
|
11
|
+
import { M as Re, f as me, u as Le } from "./menuTree-BjchjhUw.js";
|
|
12
|
+
import { SidebarShell as Ue, MenuTree as je } from "@yuku123/z-frontend-common/ui";
|
|
13
|
+
import { ProductApp as Ge } from "@yuku123/z-product-component";
|
|
14
|
+
import { P as We, R as $e } from "./index-AK8A3p04.js";
|
|
15
|
+
import { configureGraph as xe } from "@yuku123/z-graph-component";
|
|
16
|
+
const He = [
|
|
17
17
|
{
|
|
18
18
|
title: "配置中心",
|
|
19
19
|
icon: /* @__PURE__ */ e(K, {}),
|
|
20
20
|
permission: "OPS_CONFIG_VIEW",
|
|
21
21
|
items: [
|
|
22
|
-
{ key: "config-list", label: "配置列表", icon: /* @__PURE__ */ e(
|
|
22
|
+
{ key: "config-list", label: "配置列表", icon: /* @__PURE__ */ e(C, {}), path: "/config/list" },
|
|
23
23
|
{ key: "config-history", label: "变更历史", icon: /* @__PURE__ */ e(V, {}), path: "/config/history" },
|
|
24
24
|
{ key: "config-service", label: "服务列表", icon: /* @__PURE__ */ e(D, {}), path: "/config/service" },
|
|
25
25
|
{ key: "config-cluster", label: "集群概览", icon: /* @__PURE__ */ e(S, {}), path: "/config/cluster" },
|
|
26
|
-
{ key: "config-namespace", label: "命名空间", icon: /* @__PURE__ */ e(
|
|
26
|
+
{ key: "config-namespace", label: "命名空间", icon: /* @__PURE__ */ e(fe, {}), path: "/config/namespace" }
|
|
27
27
|
]
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
title: "密钥中心",
|
|
31
|
-
icon: /* @__PURE__ */ e(
|
|
31
|
+
icon: /* @__PURE__ */ e(E, {}),
|
|
32
32
|
items: [
|
|
33
|
-
{ key: "mist-secret", label: "密钥管理", icon: /* @__PURE__ */ e(
|
|
33
|
+
{ key: "mist-secret", label: "密钥管理", icon: /* @__PURE__ */ e(E, {}), path: "/mist/secret" },
|
|
34
34
|
{ key: "mist-app", label: "应用接入", icon: /* @__PURE__ */ e(B, {}), path: "/mist/app" },
|
|
35
35
|
{ key: "mist-acl", label: "密钥授权", icon: /* @__PURE__ */ e(ie, {}), path: "/mist/acl" }
|
|
36
36
|
]
|
|
@@ -44,23 +44,23 @@ const Ve = [
|
|
|
44
44
|
{ key: "meta-dict", label: "数据字典", icon: /* @__PURE__ */ e(Y, {}), path: "/meta/dict" },
|
|
45
45
|
{ key: "meta-interface", label: "接口台账", icon: /* @__PURE__ */ e(U, {}), path: "/meta/interface" },
|
|
46
46
|
{ key: "meta-private-config", label: "私有配置", icon: /* @__PURE__ */ e(K, {}), path: "/meta/private-config" },
|
|
47
|
-
{ key: "meta-models", label: "业务模型", icon: /* @__PURE__ */ e(
|
|
47
|
+
{ key: "meta-models", label: "业务模型", icon: /* @__PURE__ */ e(R, {}), path: "/meta/models" }
|
|
48
48
|
]
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
title: "消息中心",
|
|
52
|
-
icon: /* @__PURE__ */ e(
|
|
52
|
+
icon: /* @__PURE__ */ e(Ae, {}),
|
|
53
53
|
items: [
|
|
54
|
-
{ key: "msg-send", label: "发消息", icon: /* @__PURE__ */ e(
|
|
55
|
-
{ key: "msg-inbox", label: "站内信", icon: /* @__PURE__ */ e(
|
|
54
|
+
{ key: "msg-send", label: "发消息", icon: /* @__PURE__ */ e(_e, {}), path: "/msg/send" },
|
|
55
|
+
{ key: "msg-inbox", label: "站内信", icon: /* @__PURE__ */ e(Q, {}), path: "/msg/inbox" },
|
|
56
56
|
{ key: "msg-template", label: "消息模板", icon: /* @__PURE__ */ e(Y, {}), path: "/msg/template" },
|
|
57
|
-
{ key: "msg-delivery", label: "投递日志", icon: /* @__PURE__ */ e(
|
|
58
|
-
{ key: "msg-batch", label: "批量任务", icon: /* @__PURE__ */ e(
|
|
57
|
+
{ key: "msg-delivery", label: "投递日志", icon: /* @__PURE__ */ e(N, {}), path: "/msg/delivery" },
|
|
58
|
+
{ key: "msg-batch", label: "批量任务", icon: /* @__PURE__ */ e(C, {}), path: "/msg/batch" }
|
|
59
59
|
]
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
62
|
title: "服务注册",
|
|
63
|
-
icon: /* @__PURE__ */ e(
|
|
63
|
+
icon: /* @__PURE__ */ e(Pe, {}),
|
|
64
64
|
items: [
|
|
65
65
|
{ key: "rpc-service", label: "服务列表", icon: /* @__PURE__ */ e(D, {}), path: "/rpc/service" },
|
|
66
66
|
{ key: "rpc-instance", label: "服务实例", icon: /* @__PURE__ */ e(M, {}), path: "/rpc/instance" }
|
|
@@ -68,10 +68,10 @@ const Ve = [
|
|
|
68
68
|
},
|
|
69
69
|
{
|
|
70
70
|
title: "向量检索",
|
|
71
|
-
icon: /* @__PURE__ */ e(
|
|
71
|
+
icon: /* @__PURE__ */ e(q, {}),
|
|
72
72
|
items: [
|
|
73
|
-
{ key: "vector-collection", label: "向量集合", icon: /* @__PURE__ */ e(
|
|
74
|
-
{ key: "vector-search", label: "向量检索", icon: /* @__PURE__ */ e(
|
|
73
|
+
{ key: "vector-collection", label: "向量集合", icon: /* @__PURE__ */ e(Z, {}), path: "/vector/collections" },
|
|
74
|
+
{ key: "vector-search", label: "向量检索", icon: /* @__PURE__ */ e(J, {}), path: "/vector/search" },
|
|
75
75
|
{ key: "vector-instance", label: "实例与端口", icon: /* @__PURE__ */ e(M, {}), path: "/vector/instance" }
|
|
76
76
|
]
|
|
77
77
|
},
|
|
@@ -79,9 +79,9 @@ const Ve = [
|
|
|
79
79
|
title: "图数据库",
|
|
80
80
|
icon: /* @__PURE__ */ e(F, {}),
|
|
81
81
|
items: [
|
|
82
|
-
{ key: "graph-schema", label: "图 Schema", icon: /* @__PURE__ */ e(
|
|
83
|
-
{ key: "graph-query", label: "图查询", icon: /* @__PURE__ */ e(
|
|
84
|
-
{ key: "graph-branches", label: "分支与提交", icon: /* @__PURE__ */ e(
|
|
82
|
+
{ key: "graph-schema", label: "图 Schema", icon: /* @__PURE__ */ e(Z, {}), path: "/graph/schema" },
|
|
83
|
+
{ key: "graph-query", label: "图查询", icon: /* @__PURE__ */ e(Oe, {}), path: "/graph/query" },
|
|
84
|
+
{ key: "graph-branches", label: "分支与提交", icon: /* @__PURE__ */ e(Se, {}), path: "/graph/branches" },
|
|
85
85
|
{ key: "graph-instance", label: "实例与端口", icon: /* @__PURE__ */ e(M, {}), path: "/graph/instance" }
|
|
86
86
|
]
|
|
87
87
|
},
|
|
@@ -89,45 +89,45 @@ const Ve = [
|
|
|
89
89
|
title: "网关",
|
|
90
90
|
icon: /* @__PURE__ */ e(U, {}),
|
|
91
91
|
items: [
|
|
92
|
-
{ key: "gw-routes", label: "网关路由", icon: /* @__PURE__ */ e(
|
|
92
|
+
{ key: "gw-routes", label: "网关路由", icon: /* @__PURE__ */ e(C, {}), path: "/gw/routes" },
|
|
93
93
|
{ key: "gw-metrics", label: "网关指标", icon: /* @__PURE__ */ e(S, {}), path: "/gw/metrics" },
|
|
94
94
|
{ key: "gw-instance", label: "实例与面", icon: /* @__PURE__ */ e(M, {}), path: "/gw/instance" }
|
|
95
95
|
]
|
|
96
96
|
},
|
|
97
97
|
{
|
|
98
98
|
title: "缓存",
|
|
99
|
-
icon: /* @__PURE__ */ e(
|
|
99
|
+
icon: /* @__PURE__ */ e(q, {}),
|
|
100
100
|
items: [
|
|
101
101
|
{ key: "cache-overview", label: "缓存总览", icon: /* @__PURE__ */ e(B, {}), path: "/cache/overview" },
|
|
102
|
-
{ key: "cache-keys", label: "键浏览", icon: /* @__PURE__ */ e(
|
|
102
|
+
{ key: "cache-keys", label: "键浏览", icon: /* @__PURE__ */ e(J, {}), path: "/cache/keys" },
|
|
103
103
|
{ key: "cache-stats", label: "命中率与热键", icon: /* @__PURE__ */ e(S, {}), path: "/cache/stats" },
|
|
104
104
|
{ key: "cache-instance", label: "实例与端口", icon: /* @__PURE__ */ e(M, {}), path: "/cache/instance" }
|
|
105
105
|
]
|
|
106
106
|
},
|
|
107
107
|
{
|
|
108
108
|
title: "消息队列",
|
|
109
|
-
icon: /* @__PURE__ */ e(
|
|
109
|
+
icon: /* @__PURE__ */ e(Q, {}),
|
|
110
110
|
items: [
|
|
111
111
|
{ key: "mq-instance", label: "实例与端口", icon: /* @__PURE__ */ e(M, {}), path: "/mq/instance" },
|
|
112
112
|
{ key: "mq-cluster", label: "集群与 Broker", icon: /* @__PURE__ */ e(D, {}), path: "/mq/cluster" },
|
|
113
|
-
{ key: "mq-topics", label: "Topic 列表", icon: /* @__PURE__ */ e(
|
|
113
|
+
{ key: "mq-topics", label: "Topic 列表", icon: /* @__PURE__ */ e(C, {}), path: "/mq/topics" },
|
|
114
114
|
{ key: "mq-broker", label: "Broker 元数据", icon: /* @__PURE__ */ e(x, {}), path: "/mq/broker" }
|
|
115
115
|
]
|
|
116
116
|
},
|
|
117
117
|
{
|
|
118
118
|
title: "对象存储",
|
|
119
|
-
icon: /* @__PURE__ */ e(
|
|
119
|
+
icon: /* @__PURE__ */ e(R, {}),
|
|
120
120
|
items: [
|
|
121
|
-
{ key: "oss-buckets", label: "Bucket 列表", icon: /* @__PURE__ */ e(
|
|
122
|
-
{ key: "oss-objects", label: "对象浏览", icon: /* @__PURE__ */ e(
|
|
123
|
-
{ key: "oss-account", label: "访问身份", icon: /* @__PURE__ */ e(
|
|
121
|
+
{ key: "oss-buckets", label: "Bucket 列表", icon: /* @__PURE__ */ e(R, {}), path: "/oss/buckets" },
|
|
122
|
+
{ key: "oss-objects", label: "对象浏览", icon: /* @__PURE__ */ e(N, {}), path: "/oss/objects" },
|
|
123
|
+
{ key: "oss-account", label: "访问身份", icon: /* @__PURE__ */ e(E, {}), path: "/oss/account" }
|
|
124
124
|
]
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
127
|
title: "调度中心",
|
|
128
|
-
icon: /* @__PURE__ */ e(
|
|
128
|
+
icon: /* @__PURE__ */ e(Me, {}),
|
|
129
129
|
items: [
|
|
130
|
-
{ key: "schedule-jobs", label: "任务列表", icon: /* @__PURE__ */ e(
|
|
130
|
+
{ key: "schedule-jobs", label: "任务列表", icon: /* @__PURE__ */ e(C, {}), path: "/schedule/jobs" },
|
|
131
131
|
{ key: "schedule-group", label: "分组管理", icon: /* @__PURE__ */ e(D, {}), path: "/schedule/group" },
|
|
132
132
|
{ key: "schedule-log", label: "执行日志", icon: /* @__PURE__ */ e(V, {}), path: "/schedule/log" }
|
|
133
133
|
]
|
|
@@ -139,29 +139,29 @@ const Ve = [
|
|
|
139
139
|
// 2026-11-11: 原「开发与工具」组的 脚本中心(/script/manage, DSL 脚本注册与执行)
|
|
140
140
|
// 并入本子菜单作第一个叶子 —— 与脚本治理模块撞名,不能在「基础服务」里出两个「脚本中心」。
|
|
141
141
|
{ key: "script-manage", label: "脚本管理", icon: /* @__PURE__ */ e(X, {}), path: "/script/manage" },
|
|
142
|
-
{ key: "script-keys", label: "API Key 台账", icon: /* @__PURE__ */ e(
|
|
142
|
+
{ key: "script-keys", label: "API Key 台账", icon: /* @__PURE__ */ e(E, {}), path: "/script/keys" },
|
|
143
143
|
{ key: "script-monitor", label: "调用监控", icon: /* @__PURE__ */ e(S, {}), path: "/script/monitor" },
|
|
144
|
-
{ key: "script-quota", label: "配额与用量", icon: /* @__PURE__ */ e(
|
|
145
|
-
{ key: "script-version", label: "脚本版本", icon: /* @__PURE__ */ e(
|
|
146
|
-
{ key: "script-tag", label: "标签治理", icon: /* @__PURE__ */ e(
|
|
144
|
+
{ key: "script-quota", label: "配额与用量", icon: /* @__PURE__ */ e(we, {}), path: "/script/quota" },
|
|
145
|
+
{ key: "script-version", label: "脚本版本", icon: /* @__PURE__ */ e(Ce, {}), path: "/script/version" },
|
|
146
|
+
{ key: "script-tag", label: "标签治理", icon: /* @__PURE__ */ e(De, {}), path: "/script/tag" }
|
|
147
147
|
]
|
|
148
148
|
}
|
|
149
|
-
],
|
|
150
|
-
container:
|
|
151
|
-
main:
|
|
152
|
-
detailPanel:
|
|
153
|
-
detailHeader:
|
|
149
|
+
], Ve = "_container_ovkdb_7", Ke = "_main_ovkdb_303", Ye = "_detailPanel_ovkdb_313", Fe = "_detailHeader_ovkdb_323", Qe = "_detailIcon_ovkdb_330", Ze = "_detailTitle_ovkdb_343", Je = "_detailDesc_ovkdb_350", Xe = "_detailAction_ovkdb_357", et = "_goBtn_ovkdb_362", tt = "_emptyState_ovkdb_382", b = {
|
|
150
|
+
container: Ve,
|
|
151
|
+
main: Ke,
|
|
152
|
+
detailPanel: Ye,
|
|
153
|
+
detailHeader: Fe,
|
|
154
154
|
detailIcon: Qe,
|
|
155
155
|
detailTitle: Ze,
|
|
156
|
-
detailDesc:
|
|
157
|
-
detailAction:
|
|
158
|
-
goBtn:
|
|
159
|
-
emptyState:
|
|
156
|
+
detailDesc: Je,
|
|
157
|
+
detailAction: Xe,
|
|
158
|
+
goBtn: et,
|
|
159
|
+
emptyState: tt
|
|
160
160
|
};
|
|
161
161
|
function G(a) {
|
|
162
162
|
return a.flatMap((o) => [o, ...G(o.children ?? [])]);
|
|
163
163
|
}
|
|
164
|
-
const
|
|
164
|
+
const at = {
|
|
165
165
|
title: "测试中心",
|
|
166
166
|
icon: /* @__PURE__ */ e(S, {}),
|
|
167
167
|
// 测试 Tab 的入口权限点 (顶栏 test mode 同码)。4A 普通用户角色 USER 持有 TEST_ENTRY
|
|
@@ -178,12 +178,12 @@ const nt = {
|
|
|
178
178
|
{
|
|
179
179
|
key: "test-design",
|
|
180
180
|
label: "用例与编排",
|
|
181
|
-
icon: /* @__PURE__ */ e(
|
|
181
|
+
icon: /* @__PURE__ */ e(N, {}),
|
|
182
182
|
children: [
|
|
183
183
|
{
|
|
184
184
|
key: "test-case",
|
|
185
185
|
label: "测试用例",
|
|
186
|
-
icon: /* @__PURE__ */ e(
|
|
186
|
+
icon: /* @__PURE__ */ e(N, {}),
|
|
187
187
|
path: "/test/qa/cases",
|
|
188
188
|
desc: "接口用例与断言模板"
|
|
189
189
|
},
|
|
@@ -197,7 +197,7 @@ const nt = {
|
|
|
197
197
|
{
|
|
198
198
|
key: "test-plan",
|
|
199
199
|
label: "测试计划",
|
|
200
|
-
icon: /* @__PURE__ */ e(
|
|
200
|
+
icon: /* @__PURE__ */ e(re, {}),
|
|
201
201
|
path: "/test/qa/plans",
|
|
202
202
|
desc: "套件组合与环境绑定"
|
|
203
203
|
}
|
|
@@ -206,26 +206,26 @@ const nt = {
|
|
|
206
206
|
{
|
|
207
207
|
key: "test-exec",
|
|
208
208
|
label: "执行与调度",
|
|
209
|
-
icon: /* @__PURE__ */ e(
|
|
209
|
+
icon: /* @__PURE__ */ e(I, {}),
|
|
210
210
|
children: [
|
|
211
211
|
{
|
|
212
212
|
key: "test-run",
|
|
213
213
|
label: "执行记录",
|
|
214
|
-
icon: /* @__PURE__ */ e(
|
|
214
|
+
icon: /* @__PURE__ */ e(I, {}),
|
|
215
215
|
path: "/test/qa/runs",
|
|
216
216
|
desc: "执行触发、状态与报告"
|
|
217
217
|
},
|
|
218
218
|
{
|
|
219
219
|
key: "test-schedule",
|
|
220
220
|
label: "定时调度",
|
|
221
|
-
icon: /* @__PURE__ */ e(
|
|
221
|
+
icon: /* @__PURE__ */ e(I, {}),
|
|
222
222
|
path: "/test/qa/schedules",
|
|
223
223
|
desc: "cron 定时执行"
|
|
224
224
|
},
|
|
225
225
|
{
|
|
226
226
|
key: "test-e2e",
|
|
227
227
|
label: "E2E 测试",
|
|
228
|
-
icon: /* @__PURE__ */ e(
|
|
228
|
+
icon: /* @__PURE__ */ e(pe, {}),
|
|
229
229
|
path: "/test/qa/e2e",
|
|
230
230
|
desc: "浏览器自动化测试"
|
|
231
231
|
}
|
|
@@ -246,7 +246,7 @@ const nt = {
|
|
|
246
246
|
{
|
|
247
247
|
key: "test-mock",
|
|
248
248
|
label: "Mock 平台",
|
|
249
|
-
icon: /* @__PURE__ */ e(
|
|
249
|
+
icon: /* @__PURE__ */ e(q, {}),
|
|
250
250
|
path: "/test/mock",
|
|
251
251
|
desc: "API Mock 服务管理"
|
|
252
252
|
}
|
|
@@ -267,7 +267,7 @@ const nt = {
|
|
|
267
267
|
{
|
|
268
268
|
key: "test-eval-schedule",
|
|
269
269
|
label: "自动测评",
|
|
270
|
-
icon: /* @__PURE__ */ e(
|
|
270
|
+
icon: /* @__PURE__ */ e(I, {}),
|
|
271
271
|
path: "/test/evaluation/schedule",
|
|
272
272
|
desc: "定时批量测评"
|
|
273
273
|
},
|
|
@@ -289,11 +289,11 @@ const nt = {
|
|
|
289
289
|
}
|
|
290
290
|
]
|
|
291
291
|
};
|
|
292
|
-
function
|
|
293
|
-
const o =
|
|
292
|
+
function nt(a) {
|
|
293
|
+
const o = me(a.children ?? []), l = {
|
|
294
294
|
key: `operation-${a.key}`,
|
|
295
295
|
label: a.label,
|
|
296
|
-
icon: a.icon ?? /* @__PURE__ */ e(
|
|
296
|
+
icon: a.icon ?? /* @__PURE__ */ e(Ie, {}),
|
|
297
297
|
permission: a.permission
|
|
298
298
|
};
|
|
299
299
|
return o.length === 0 ? { ...l, path: `/operation/${a.key}` } : {
|
|
@@ -306,16 +306,16 @@ function ot(a) {
|
|
|
306
306
|
}))
|
|
307
307
|
};
|
|
308
308
|
}
|
|
309
|
-
const
|
|
309
|
+
const ot = {
|
|
310
310
|
title: "协作管理",
|
|
311
311
|
icon: /* @__PURE__ */ e($, {}),
|
|
312
312
|
permission: "ADMIN_ENTRY",
|
|
313
|
-
items:
|
|
314
|
-
},
|
|
313
|
+
items: Re.map(nt)
|
|
314
|
+
}, ct = {
|
|
315
315
|
title: "基础服务",
|
|
316
|
-
icon: /* @__PURE__ */ e(
|
|
316
|
+
icon: /* @__PURE__ */ e(q, {}),
|
|
317
317
|
items: [
|
|
318
|
-
...
|
|
318
|
+
...He.map((a) => ({
|
|
319
319
|
key: `mw-${a.title}`,
|
|
320
320
|
label: a.title,
|
|
321
321
|
icon: a.icon,
|
|
@@ -326,13 +326,28 @@ const ct = {
|
|
|
326
326
|
path: o.path
|
|
327
327
|
}))
|
|
328
328
|
})),
|
|
329
|
+
// 2026-11-26: 「数据整顿」顶级组整组并入本组为「数据治理」二级子菜单(CEO 定名)——
|
|
330
|
+
// 数据源/输出源/作业模板/调度/作业实例 五叶子(后两个跟控制台左树口径改名),
|
|
331
|
+
// 路由 = SystemShell 的 /etl/:view(iframe 挂 z-etl 控制台,hash 契约不动)。
|
|
332
|
+
{
|
|
333
|
+
key: "etl-gov",
|
|
334
|
+
label: "数据治理",
|
|
335
|
+
icon: /* @__PURE__ */ e(x, {}),
|
|
336
|
+
children: [
|
|
337
|
+
{ key: "etl-sources", label: "数据源", path: "/etl/sources" },
|
|
338
|
+
{ key: "etl-sinks", label: "输出源", path: "/etl/sinks" },
|
|
339
|
+
{ key: "etl-templates", label: "作业模板", path: "/etl/templates" },
|
|
340
|
+
{ key: "etl-schedules", label: "调度", path: "/etl/schedules" },
|
|
341
|
+
{ key: "etl-jobs", label: "作业实例", path: "/etl/jobs" }
|
|
342
|
+
]
|
|
343
|
+
},
|
|
329
344
|
// 2026-11-11: 「业务流程」组整组并入本组 —— 四个中心都是各自 App 的大入口,
|
|
330
345
|
// 按调度中心/脚本中心的二级子菜单样式展开各自的真实子页面(路由真源 =
|
|
331
346
|
// WorkflowApp/TaskApp/SubscribeApp/ProjectApp 的 <Routes>)。
|
|
332
347
|
{
|
|
333
348
|
key: "biz-workflow",
|
|
334
349
|
label: "流程中心",
|
|
335
|
-
icon: /* @__PURE__ */ e(
|
|
350
|
+
icon: /* @__PURE__ */ e(se, {}),
|
|
336
351
|
// 2026-11-12 按闭环排序:模板 → 发起(我发起的/流程视图) → 推进(待办/已办) → 总览
|
|
337
352
|
children: [
|
|
338
353
|
{ key: "wf-processes", label: "流程模板", path: "/workflow/processes" },
|
|
@@ -345,7 +360,7 @@ const ct = {
|
|
|
345
360
|
{
|
|
346
361
|
key: "biz-task",
|
|
347
362
|
label: "任务中心",
|
|
348
|
-
icon: /* @__PURE__ */ e(
|
|
363
|
+
icon: /* @__PURE__ */ e(N, {}),
|
|
349
364
|
children: [
|
|
350
365
|
{ key: "task-dashboard", label: "仪表盘", path: "/task/dashboard" },
|
|
351
366
|
{ key: "task-list", label: "任务列表", path: "/task/task" },
|
|
@@ -365,7 +380,7 @@ const ct = {
|
|
|
365
380
|
{
|
|
366
381
|
key: "biz-project",
|
|
367
382
|
label: "项目中心",
|
|
368
|
-
icon: /* @__PURE__ */ e(
|
|
383
|
+
icon: /* @__PURE__ */ e(re, {}),
|
|
369
384
|
children: [
|
|
370
385
|
{ key: "proj-list", label: "项目列表", path: "/project/list" }
|
|
371
386
|
]
|
|
@@ -374,21 +389,21 @@ const ct = {
|
|
|
374
389
|
{
|
|
375
390
|
key: "tool-curl",
|
|
376
391
|
label: "短链管理",
|
|
377
|
-
icon: /* @__PURE__ */ e(
|
|
392
|
+
icon: /* @__PURE__ */ e(Te, {}),
|
|
378
393
|
path: "/z-tool/curl",
|
|
379
394
|
desc: "短链接创建与管理"
|
|
380
395
|
},
|
|
381
396
|
{
|
|
382
397
|
key: "tool-webide",
|
|
383
398
|
label: "WebIDE 容器",
|
|
384
|
-
icon: /* @__PURE__ */ e(
|
|
399
|
+
icon: /* @__PURE__ */ e(pe, {}),
|
|
385
400
|
path: "/z-tool/webide",
|
|
386
401
|
desc: "在线 IDE 代码编辑器"
|
|
387
402
|
}
|
|
388
403
|
]
|
|
389
|
-
},
|
|
404
|
+
}, lt = {
|
|
390
405
|
title: "系统初始",
|
|
391
|
-
icon: /* @__PURE__ */ e(
|
|
406
|
+
icon: /* @__PURE__ */ e(Ee, {}),
|
|
392
407
|
permission: "PERMISSION_MANAGE",
|
|
393
408
|
items: [
|
|
394
409
|
{
|
|
@@ -399,47 +414,7 @@ const ct = {
|
|
|
399
414
|
desc: "多租户管理与配置"
|
|
400
415
|
}
|
|
401
416
|
]
|
|
402
|
-
},
|
|
403
|
-
title: "数据整顿",
|
|
404
|
-
icon: /* @__PURE__ */ e(x, {}),
|
|
405
|
-
items: [
|
|
406
|
-
{
|
|
407
|
-
key: "etl-sources",
|
|
408
|
-
label: "数据源",
|
|
409
|
-
icon: /* @__PURE__ */ e(N, {}),
|
|
410
|
-
path: "/etl/sources",
|
|
411
|
-
desc: "源算子目录:JDBC / 文件 / HTTP / 消息等取数插件"
|
|
412
|
-
},
|
|
413
|
-
{
|
|
414
|
-
key: "etl-sinks",
|
|
415
|
-
label: "输出源",
|
|
416
|
-
icon: /* @__PURE__ */ e(re, {}),
|
|
417
|
-
path: "/etl/sinks",
|
|
418
|
-
desc: "汇算子目录:JDBC / 文件 / HTTP / 消息等落地插件"
|
|
419
|
-
},
|
|
420
|
-
{
|
|
421
|
-
key: "etl-templates",
|
|
422
|
-
label: "流水线模板",
|
|
423
|
-
icon: /* @__PURE__ */ e(Ie, {}),
|
|
424
|
-
path: "/etl/templates",
|
|
425
|
-
desc: "模板列表与无限画布编辑器(拖算子、连线、配参数)"
|
|
426
|
-
},
|
|
427
|
-
{
|
|
428
|
-
key: "etl-schedules",
|
|
429
|
-
label: "调度",
|
|
430
|
-
icon: /* @__PURE__ */ e(se, {}),
|
|
431
|
-
path: "/etl/schedules",
|
|
432
|
-
desc: "流水线 cron 调度登记"
|
|
433
|
-
},
|
|
434
|
-
{
|
|
435
|
-
key: "etl-jobs",
|
|
436
|
-
label: "作业",
|
|
437
|
-
icon: /* @__PURE__ */ e(de, {}),
|
|
438
|
-
path: "/etl/jobs",
|
|
439
|
-
desc: "单作业登记与触发"
|
|
440
|
-
}
|
|
441
|
-
]
|
|
442
|
-
}, be = [
|
|
417
|
+
}, he = [
|
|
443
418
|
{
|
|
444
419
|
title: "认证与权限",
|
|
445
420
|
icon: /* @__PURE__ */ e(ie, {}),
|
|
@@ -451,7 +426,7 @@ const ct = {
|
|
|
451
426
|
{
|
|
452
427
|
key: "4a-account",
|
|
453
428
|
label: "账号管理",
|
|
454
|
-
icon: /* @__PURE__ */ e(
|
|
429
|
+
icon: /* @__PURE__ */ e(Be, {}),
|
|
455
430
|
path: "/ctc/4a/account",
|
|
456
431
|
desc: "用户账号创建、编辑与状态管理"
|
|
457
432
|
},
|
|
@@ -472,7 +447,7 @@ const ct = {
|
|
|
472
447
|
{
|
|
473
448
|
key: "4a-permission",
|
|
474
449
|
label: "权限管理",
|
|
475
|
-
icon: /* @__PURE__ */ e(
|
|
450
|
+
icon: /* @__PURE__ */ e(se, {}),
|
|
476
451
|
path: "/ctc/4a/permission",
|
|
477
452
|
desc: "角色、权限点与权限树(角色管理已并入本项)"
|
|
478
453
|
},
|
|
@@ -492,33 +467,32 @@ const ct = {
|
|
|
492
467
|
// 路由本身不动,旧深链仍可达。
|
|
493
468
|
// 「业务流程」组已删(2026-11-11):流程中心/任务中心/订阅中心/项目中心 四个中心
|
|
494
469
|
// 以二级子菜单并入「基础服务」组(见 MIDDLEWARE_SERVICES_GROUP 内 biz-* 四项)。
|
|
470
|
+
ot,
|
|
495
471
|
ct,
|
|
496
|
-
lt
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
], rt = [...be, nt];
|
|
500
|
-
function pt({
|
|
472
|
+
lt
|
|
473
|
+
], it = [...he, at];
|
|
474
|
+
function st({
|
|
501
475
|
activePathOverride: a,
|
|
502
476
|
menuOnly: o = !1,
|
|
503
477
|
visibleGroups: l,
|
|
504
478
|
sidebarWidth: r
|
|
505
479
|
} = {}) {
|
|
506
|
-
const i = W(), { pathname: k } =
|
|
507
|
-
() => l ?
|
|
480
|
+
const i = W(), { pathname: k } = z(), p = O(
|
|
481
|
+
() => l ? it.filter((c) => l.includes(c.title)) : he,
|
|
508
482
|
[l]
|
|
509
483
|
), P = L((c) => c.permissionState), g = L((c) => c.currentUser), d = O(
|
|
510
484
|
() => P === "failed" ? p : qe(p, g),
|
|
511
485
|
[p, g, P]
|
|
512
|
-
),
|
|
486
|
+
), f = O(() => {
|
|
513
487
|
var h;
|
|
514
488
|
const c = a ?? k;
|
|
515
489
|
return ((h = d.flatMap((y) => G(y.items)).find(
|
|
516
490
|
(y) => y.path === c
|
|
517
491
|
)) == null ? void 0 : h.key) ?? null;
|
|
518
|
-
}, [a, k, d]),
|
|
492
|
+
}, [a, k, d]), T = (c) => {
|
|
519
493
|
c.path && i(c.path);
|
|
520
|
-
},
|
|
521
|
-
(c) => c.key ===
|
|
494
|
+
}, _ = d.flatMap((c) => G(c.items)).find(
|
|
495
|
+
(c) => c.key === f
|
|
522
496
|
), A = O(
|
|
523
497
|
() => d.map((c) => ({
|
|
524
498
|
key: c.title,
|
|
@@ -527,47 +501,47 @@ function pt({
|
|
|
527
501
|
key: h.key,
|
|
528
502
|
label: h.label,
|
|
529
503
|
icon: h.icon,
|
|
530
|
-
active:
|
|
531
|
-
onClick: h.path ? () =>
|
|
504
|
+
active: f === h.key,
|
|
505
|
+
onClick: h.path ? () => T(h) : void 0,
|
|
532
506
|
children: h.children ? h.children.map((y) => ({
|
|
533
507
|
key: y.key,
|
|
534
508
|
label: y.label,
|
|
535
509
|
icon: y.icon,
|
|
536
|
-
active:
|
|
537
|
-
onClick: () =>
|
|
510
|
+
active: f === y.key,
|
|
511
|
+
onClick: () => T(y)
|
|
538
512
|
})) : void 0
|
|
539
513
|
}))
|
|
540
514
|
})),
|
|
541
|
-
[d,
|
|
515
|
+
[d, f]
|
|
542
516
|
);
|
|
543
517
|
return /* @__PURE__ */ m("div", { className: b.container, children: [
|
|
544
518
|
/* @__PURE__ */ m(
|
|
545
|
-
|
|
519
|
+
Ue,
|
|
546
520
|
{
|
|
547
521
|
width: r ?? 220,
|
|
548
522
|
storageKey: "ft_system_sidebar_collapsed",
|
|
549
523
|
children: [
|
|
550
524
|
/* @__PURE__ */ e(ze, {}),
|
|
551
|
-
/* @__PURE__ */ e(
|
|
525
|
+
/* @__PURE__ */ e(je, { groups: A, defaultCollapsed: !0 })
|
|
552
526
|
]
|
|
553
527
|
}
|
|
554
528
|
),
|
|
555
|
-
o ? null : /* @__PURE__ */ e("main", { className: b.main, children:
|
|
529
|
+
o ? null : /* @__PURE__ */ e("main", { className: b.main, children: _ ? /* @__PURE__ */ m("div", { className: b.detailPanel, children: [
|
|
556
530
|
/* @__PURE__ */ m("div", { className: b.detailHeader, children: [
|
|
557
|
-
/* @__PURE__ */ e("div", { className: b.detailIcon, children:
|
|
531
|
+
/* @__PURE__ */ e("div", { className: b.detailIcon, children: _.icon }),
|
|
558
532
|
/* @__PURE__ */ m("div", { children: [
|
|
559
|
-
/* @__PURE__ */ e("h2", { className: b.detailTitle, children:
|
|
560
|
-
/* @__PURE__ */ e("p", { className: b.detailDesc, children:
|
|
533
|
+
/* @__PURE__ */ e("h2", { className: b.detailTitle, children: _.label }),
|
|
534
|
+
/* @__PURE__ */ e("p", { className: b.detailDesc, children: _.desc })
|
|
561
535
|
] })
|
|
562
536
|
] }),
|
|
563
537
|
/* @__PURE__ */ e("div", { className: b.detailAction, children: /* @__PURE__ */ m(
|
|
564
538
|
"button",
|
|
565
539
|
{
|
|
566
540
|
className: b.goBtn,
|
|
567
|
-
onClick: () => i(
|
|
541
|
+
onClick: () => i(_.path),
|
|
568
542
|
children: [
|
|
569
543
|
"进入 ",
|
|
570
|
-
|
|
544
|
+
_.label
|
|
571
545
|
]
|
|
572
546
|
}
|
|
573
547
|
) })
|
|
@@ -577,157 +551,157 @@ function pt({
|
|
|
577
551
|
] }) })
|
|
578
552
|
] });
|
|
579
553
|
}
|
|
580
|
-
const
|
|
554
|
+
const rt = "/api/graph";
|
|
581
555
|
let te = !1;
|
|
582
|
-
function
|
|
583
|
-
te || (te = !0,
|
|
556
|
+
function pt() {
|
|
557
|
+
te || (te = !0, xe(rt));
|
|
584
558
|
}
|
|
585
|
-
const
|
|
586
|
-
shellWrap:
|
|
587
|
-
shell:
|
|
588
|
-
dragBar:
|
|
589
|
-
dragBarActive:
|
|
590
|
-
main:
|
|
591
|
-
productBanner:
|
|
592
|
-
productBannerLabel:
|
|
593
|
-
productBannerName:
|
|
594
|
-
productBannerCode:
|
|
595
|
-
productBannerBack:
|
|
596
|
-
empty:
|
|
597
|
-
emptyIcon:
|
|
598
|
-
emptyText:
|
|
559
|
+
const mt = "_shellWrap_11zl4_6", ht = "_shell_11zl4_6", dt = "_dragBar_11zl4_31", ut = "_dragBarActive_11zl4_52", bt = "_main_11zl4_56", kt = "_productBanner_11zl4_68", gt = "_productBannerLabel_11zl4_80", yt = "_productBannerName_11zl4_86", vt = "_productBannerCode_11zl4_94", ft = "_productBannerBack_11zl4_99", _t = "_empty_11zl4_116", At = "_emptyIcon_11zl4_126", Pt = "_emptyText_11zl4_131", s = {
|
|
560
|
+
shellWrap: mt,
|
|
561
|
+
shell: ht,
|
|
562
|
+
dragBar: dt,
|
|
563
|
+
dragBarActive: ut,
|
|
564
|
+
main: bt,
|
|
565
|
+
productBanner: kt,
|
|
566
|
+
productBannerLabel: gt,
|
|
567
|
+
productBannerName: yt,
|
|
568
|
+
productBannerCode: vt,
|
|
569
|
+
productBannerBack: ft,
|
|
570
|
+
empty: _t,
|
|
571
|
+
emptyIcon: At,
|
|
572
|
+
emptyText: Pt
|
|
599
573
|
};
|
|
600
|
-
|
|
601
|
-
const t = (a, o) => v(() => a().then((l) => ({ default: l[o] }))),
|
|
602
|
-
function
|
|
603
|
-
return
|
|
574
|
+
ge();
|
|
575
|
+
const t = (a, o) => v(() => a().then((l) => ({ default: l[o] }))), Ot = t(() => import("@yuku123/z-ctc-component"), "AccountManagement"), St = t(() => import("@yuku123/z-ctc-component"), "ApplicationManagement"), Mt = t(() => import("@yuku123/z-ctc-component"), "AuditPage"), wt = t(() => import("@yuku123/z-ctc-component"), "CtcOverview"), Ct = t(() => import("@yuku123/z-ctc-component"), "DictPage"), Dt = t(() => import("@yuku123/z-ctc-component"), "OrgPage"), Bt = t(() => import("@yuku123/z-ctc-component"), "PermissionManagement"), ae = t(() => import("@yuku123/z-ctc-component"), "SurlManagement"), Nt = t(() => import("@yuku123/z-ctc-component"), "TenantManagement"), Tt = t(() => import("@yuku123/z-ctc-component"), "SiteInitManagement"), Et = t(() => import("@yuku123/z-agent-component"), "AgentAppList"), It = t(() => import("@yuku123/z-agent-component"), "AgentDashboard"), qt = t(() => import("@yuku123/z-agent-component"), "AkManage"), zt = t(() => import("@yuku123/z-agent-component"), "BucketList"), Rt = t(() => import("@yuku123/z-agent-component"), "LlmManage"), Lt = t(() => import("@yuku123/z-agent-component"), "McpPage"), Ut = t(() => import("@yuku123/z-agent-component"), "ObjectBrowser"), jt = t(() => import("@yuku123/z-agent-component"), "ScriptCenterPage"), w = t(() => import("@yuku123/z-agent-component"), "ScriptProductizationPage"), Gt = t(() => import("@yuku123/z-skill-component"), "Catalog"), Wt = t(() => import("./index-CUK-aBGx.js"), "AgentTeamIM"), ne = t(() => import("./index-CUK-aBGx.js"), "DebugPlayground"), $t = t(() => import("./index-CUK-aBGx.js"), "Overview"), oe = t(() => import("./index-CUK-aBGx.js"), "Webide"), xt = v(() => import("./index-CPOQkuGS.js")), Ht = v(() => import("./OnboardingPage-Cejk2I6z.js")), Vt = v(() => import("./InvitationManagementPage-DwgNxvfi.js")), Kt = t(() => import("@yuku123/z-config-component"), "ConfigApp"), Yt = t(() => import("@yuku123/z-task-component"), "TaskApp"), Ft = t(() => import("@yuku123/z-wf-component"), "WorkflowApp"), Qt = t(() => import("@yuku123/z-schedule-component"), "ScheduleApp"), Zt = t(() => import("@yuku123/z-mist-component"), "MistApp"), Jt = t(() => import("@yuku123/z-meta-component"), "MetaApp"), Xt = t(() => import("@yuku123/z-msg-component"), "MsgApp"), ea = t(() => import("@yuku123/z-rpc-component"), "RpcApp"), ta = t(() => import("@yuku123/z-vector-component"), "VectorApp"), aa = t(() => import("@yuku123/z-graph-component"), "GraphApp"), na = t(() => import("@yuku123/z-gw-component"), "GwApp"), oa = t(() => import("@yuku123/z-cache-component"), "CacheApp"), ca = t(() => import("@yuku123/z-mq-component"), "MqApp"), la = t(() => import("@yuku123/z-oss-component"), "OssApp"), ia = v(() => import("./ComponentDoc-DhO4nhZ2.js").then((a) => a.cn)), sa = v(() => import("./ComponentDoc-DhO4nhZ2.js").then((a) => a.co)), ra = t(() => import("@yuku123/z-config-component"), "ComponentDocPage"), pa = t(() => import("@yuku123/z-task-component"), "ComponentDocPage"), ma = t(() => import("@yuku123/z-wf-component"), "ComponentDocPage"), ha = t(() => import("@yuku123/z-schedule-component"), "ComponentDocPage"), da = t(() => import("@yuku123/z-mist-component"), "ComponentDocPage"), ua = t(() => import("@yuku123/z-meta-component"), "ComponentDocPage"), ba = t(() => import("@yuku123/z-msg-component"), "ComponentDocPage"), ka = t(() => import("@yuku123/z-rpc-component"), "ComponentDocPage"), ga = t(() => import("@yuku123/z-product-component"), "ComponentDocPage"), ya = t(() => import("@yuku123/z-oss-component"), "ComponentDocPage"), va = t(() => import("@yuku123/z-vector-component"), "ComponentDocPage"), fa = t(() => import("@yuku123/z-graph-component"), "ComponentDocPage"), _a = t(() => import("@yuku123/z-gw-component"), "ComponentDocPage"), Aa = t(() => import("@yuku123/z-cache-component"), "ComponentDocPage"), Pa = t(() => import("@yuku123/z-mq-component"), "ComponentDocPage"), Oa = t(() => import("@yuku123/z-ctc-component"), "ComponentDocPage"), Sa = t(() => import("@yuku123/z-agent-component"), "ComponentDocPage"), Ma = t(() => import("@yuku123/z-lc-component"), "ComponentDocPage"), wa = t(() => import("@yuku123/z-qa-component"), "ComponentDocPage"), de = v(() => import("./AdminModuleContent-V6k2bDkY.js"));
|
|
576
|
+
function Ca() {
|
|
577
|
+
return pt(), /* @__PURE__ */ e(aa, {});
|
|
604
578
|
}
|
|
605
|
-
const
|
|
579
|
+
const Da = v(() => import("./ComponentDoc-DhO4nhZ2.js").then((a) => a.cm)), ce = v(() => import("@yuku123/z-qa-component")), ue = {
|
|
606
580
|
start: "qa-evaluation-start",
|
|
607
581
|
schedule: "qa-evaluation-schedule",
|
|
608
582
|
group: "evaluation-group-chat-snapshot",
|
|
609
583
|
report: "qa-evaluation-report",
|
|
610
584
|
"group/audits": "evaluation-group-chat-audits"
|
|
611
585
|
};
|
|
612
|
-
function
|
|
613
|
-
const o = W(), { search: l } =
|
|
586
|
+
function Ba({ menuKey: a }) {
|
|
587
|
+
const o = W(), { search: l } = z(), r = L((k) => k.currentUser), i = (k, p) => {
|
|
614
588
|
var d;
|
|
615
|
-
const P = (d = Object.entries(
|
|
589
|
+
const P = (d = Object.entries(ue).find(([, f]) => f === k)) == null ? void 0 : d[0], g = new URLSearchParams(l);
|
|
616
590
|
g.delete("menu"), g.delete("instanceId"), p != null && p !== "" && g.set("instanceId", String(p)), o({
|
|
617
591
|
pathname: P ? `/test/evaluation/${P}` : `/operation/${k}`,
|
|
618
592
|
search: g.toString()
|
|
619
593
|
});
|
|
620
594
|
};
|
|
621
|
-
return
|
|
595
|
+
return ve(r, "test") ? ye(r, "EVALUATION_VIEW") ? /* @__PURE__ */ e(de, { menuKey: a, onJumpToMenu: i }, `${a}:${l}`) : /* @__PURE__ */ e(H, { description: "无系统评测权限(需要权限点:EVALUATION_VIEW)" }) : /* @__PURE__ */ e(H, { description: "无测试中心权限(需要权限点:TEST_ENTRY)" });
|
|
622
596
|
}
|
|
623
|
-
function
|
|
597
|
+
function Na() {
|
|
624
598
|
return /* @__PURE__ */ m("div", { className: s.empty, children: [
|
|
625
599
|
/* @__PURE__ */ e("div", { className: s.emptyIcon, children: "📋" }),
|
|
626
600
|
/* @__PURE__ */ e("div", { className: s.emptyText, children: "请从左侧菜单选择模块" })
|
|
627
601
|
] });
|
|
628
602
|
}
|
|
629
|
-
function
|
|
630
|
-
const { pathname: a } =
|
|
603
|
+
function Ta() {
|
|
604
|
+
const { pathname: a } = z();
|
|
631
605
|
return /* @__PURE__ */ e(n, { to: a.replace(/^\/product/, "/z-product"), replace: !0 });
|
|
632
606
|
}
|
|
633
|
-
const
|
|
607
|
+
const Ea = [
|
|
634
608
|
// ─── 顶层 / 概览 ───
|
|
635
|
-
{ path: "/overview", element: /* @__PURE__ */ e(
|
|
609
|
+
{ path: "/overview", element: /* @__PURE__ */ e($t, {}) },
|
|
636
610
|
// ─── 4A 中心 (/ctc/*) ───
|
|
637
611
|
{ path: "/ctc", element: /* @__PURE__ */ e(n, { to: "/ctc/4a/account", replace: !0 }) },
|
|
638
|
-
{ path: "/ctc/4a/account", element: /* @__PURE__ */ e(
|
|
612
|
+
{ path: "/ctc/4a/account", element: /* @__PURE__ */ e(Ot, { apiBaseURL: u }) },
|
|
639
613
|
// 角色管理已并入权限管理(CEO 2026-11-11):角色是权限点的命名集合,
|
|
640
614
|
// 拆成两个顶级菜单时用户得在两张表之间来回对照才能回答「这角色能干什么」。
|
|
641
615
|
// 老深链 /ctc/4a/role 仍然可达 —— 落到合并页的「角色」视图。
|
|
642
616
|
{ path: "/ctc/4a/role", element: /* @__PURE__ */ e(n, { to: "/ctc/4a/permission?view=roles", replace: !0 }) },
|
|
643
|
-
{ path: "/ctc/4a/application", element: /* @__PURE__ */ e(
|
|
644
|
-
{ path: "/ctc/4a/tenant", element: /* @__PURE__ */ e(
|
|
617
|
+
{ path: "/ctc/4a/application", element: /* @__PURE__ */ e(St, { apiBaseURL: u }) },
|
|
618
|
+
{ path: "/ctc/4a/tenant", element: /* @__PURE__ */ e(Nt, { apiBaseURL: u }) },
|
|
645
619
|
// 建站管理 (CEO 2026-11-25): 系统初造时的建站体系主控台 ——
|
|
646
620
|
// 站点台账 + 各域登记的初始化能力 + 逐域执行记录。老深链 /ctc/4a/tenant 仍可达。
|
|
647
|
-
{ path: "/ctc/site-init", element: /* @__PURE__ */ e(
|
|
648
|
-
{ path: "/ctc/4a/org", element: /* @__PURE__ */ e(
|
|
649
|
-
{ path: "/ctc/4a/permission", element: /* @__PURE__ */ e(
|
|
621
|
+
{ path: "/ctc/site-init", element: /* @__PURE__ */ e(Tt, { apiBaseURL: u }) },
|
|
622
|
+
{ path: "/ctc/4a/org", element: /* @__PURE__ */ e(Dt, { apiBaseURL: u }) },
|
|
623
|
+
{ path: "/ctc/4a/permission", element: /* @__PURE__ */ e(Bt, { apiBaseURL: u }) },
|
|
650
624
|
{ path: "/ctc/4a/surl", element: /* @__PURE__ */ e(ae, { apiBaseURL: u }) },
|
|
651
|
-
{ path: "/ctc/dict", element: /* @__PURE__ */ e(
|
|
652
|
-
{ path: "/ctc/overview", element: /* @__PURE__ */ e(
|
|
653
|
-
{ path: "/ctc/audit", element: /* @__PURE__ */ e(
|
|
625
|
+
{ path: "/ctc/dict", element: /* @__PURE__ */ e(Ct, { apiBaseURL: u }) },
|
|
626
|
+
{ path: "/ctc/overview", element: /* @__PURE__ */ e(wt, { apiBaseURL: u }) },
|
|
627
|
+
{ path: "/ctc/audit", element: /* @__PURE__ */ e(Mt, { apiBaseURL: u }) },
|
|
654
628
|
{ path: "/ctc/webide", element: /* @__PURE__ */ e(oe, {}) },
|
|
655
|
-
{ path: "/ctc/agent-team", element: /* @__PURE__ */ e(
|
|
656
|
-
{ path: "/ctc/invitation", element: /* @__PURE__ */ e(
|
|
657
|
-
{ path: "/onboarding", element: /* @__PURE__ */ e(
|
|
629
|
+
{ path: "/ctc/agent-team", element: /* @__PURE__ */ e(Wt, {}) },
|
|
630
|
+
{ path: "/ctc/invitation", element: /* @__PURE__ */ e(Vt, {}) },
|
|
631
|
+
{ path: "/onboarding", element: /* @__PURE__ */ e(Ht, {}) },
|
|
658
632
|
// ─── 智能中心 (/ai/*) ───
|
|
659
633
|
{ path: "/ai", element: /* @__PURE__ */ e(n, { to: "/ai/agent/app", replace: !0 }) },
|
|
660
634
|
{ path: "/ai/agent", element: /* @__PURE__ */ e(n, { to: "/ai/agent/app", replace: !0 }) },
|
|
661
|
-
{ path: "/ai/agent/app", element: /* @__PURE__ */ e(
|
|
662
|
-
{ path: "/ai/llm", element: /* @__PURE__ */ e(
|
|
635
|
+
{ path: "/ai/agent/app", element: /* @__PURE__ */ e(Et, {}) },
|
|
636
|
+
{ path: "/ai/llm", element: /* @__PURE__ */ e(Rt, {}) },
|
|
663
637
|
{ path: "/ai/llm/provider", element: /* @__PURE__ */ e(n, { to: "/ai/llm", replace: !0 }) },
|
|
664
638
|
{ path: "/ai/llm/model", element: /* @__PURE__ */ e(n, { to: "/ai/llm", replace: !0 }) },
|
|
665
639
|
{ path: "/ai/usage", element: /* @__PURE__ */ e(n, { to: "/ai/llm", replace: !0 }) },
|
|
666
|
-
{ path: "/ai/ak", element: /* @__PURE__ */ e(
|
|
667
|
-
{ path: "/ai/mcp", element: /* @__PURE__ */ e(
|
|
668
|
-
{ path: "/ai/skill", element: /* @__PURE__ */ e(
|
|
640
|
+
{ path: "/ai/ak", element: /* @__PURE__ */ e(qt, {}) },
|
|
641
|
+
{ path: "/ai/mcp", element: /* @__PURE__ */ e(Lt, {}) },
|
|
642
|
+
{ path: "/ai/skill", element: /* @__PURE__ */ e(Gt, {}) },
|
|
669
643
|
{ path: "/ai/oss", element: /* @__PURE__ */ e(n, { to: "/ai/oss/bucket", replace: !0 }) },
|
|
670
|
-
{ path: "/ai/oss/bucket", element: /* @__PURE__ */ e(
|
|
671
|
-
{ path: "/ai/oss/bucket/:bucketName", element: /* @__PURE__ */ e(
|
|
644
|
+
{ path: "/ai/oss/bucket", element: /* @__PURE__ */ e(zt, {}) },
|
|
645
|
+
{ path: "/ai/oss/bucket/:bucketName", element: /* @__PURE__ */ e(Ut, {}) },
|
|
672
646
|
{ path: "/ai/trace", element: /* @__PURE__ */ e(ne, {}) },
|
|
673
647
|
{ path: "/ai/trace/debug", element: /* @__PURE__ */ e(ne, {}) },
|
|
674
|
-
{ path: "/ai/dashboard", element: /* @__PURE__ */ e(
|
|
648
|
+
{ path: "/ai/dashboard", element: /* @__PURE__ */ e(It, {}) },
|
|
675
649
|
// 多 Agent 实例 / 模板市场已下线 (2026-10-22): 模板并入 Agent 应用页,
|
|
676
650
|
// 旧深链重定向, 别再回到独立菜单
|
|
677
651
|
{ path: "/ai/template", element: /* @__PURE__ */ e(n, { to: "/ai/agent/app", replace: !0 }) },
|
|
678
652
|
{ path: "/ai/agent-instance", element: /* @__PURE__ */ e(n, { to: "/ai/agent/app", replace: !0 }) },
|
|
679
653
|
{ path: "/ai/agent/instances", element: /* @__PURE__ */ e(n, { to: "/ai/agent/app", replace: !0 }) },
|
|
680
654
|
// ─── 配置中心 ───
|
|
681
|
-
{ path: "/config/*", element: /* @__PURE__ */ e(
|
|
655
|
+
{ path: "/config/*", element: /* @__PURE__ */ e(Kt, {}) },
|
|
682
656
|
// ─── 任务中心 ───
|
|
683
657
|
// 模块根路径要重定向到默认页:通配 /task/* 匹配不到裸 /task(matchPattern 要求
|
|
684
658
|
// 前缀带斜杠),落到 SystemShellEmpty 就是一句"请从左侧菜单选择模块"的空壳。
|
|
685
659
|
{ path: "/task", element: /* @__PURE__ */ e(n, { to: "/task/dashboard", replace: !0 }) },
|
|
686
|
-
{ path: "/task/*", element: /* @__PURE__ */ e(
|
|
660
|
+
{ path: "/task/*", element: /* @__PURE__ */ e(Yt, {}) },
|
|
687
661
|
// ─── 流程中心 ───
|
|
688
662
|
{ path: "/workflow", element: /* @__PURE__ */ e(n, { to: "/workflow/dashboard", replace: !0 }) },
|
|
689
|
-
{ path: "/workflow/*", element: /* @__PURE__ */ e(
|
|
663
|
+
{ path: "/workflow/*", element: /* @__PURE__ */ e(Ft, {}) },
|
|
690
664
|
// ─── 调度中心 ───
|
|
691
665
|
// 默认页是 jobs:z-schedule-component 的路由只有 jobs / group / log,没有 dashboard。
|
|
692
666
|
{ path: "/schedule", element: /* @__PURE__ */ e(n, { to: "/schedule/jobs", replace: !0 }) },
|
|
693
|
-
{ path: "/schedule/*", element: /* @__PURE__ */ e(
|
|
667
|
+
{ path: "/schedule/*", element: /* @__PURE__ */ e(Qt, {}) },
|
|
694
668
|
// ─── 密钥中心 ───
|
|
695
|
-
{ path: "/mist/*", element: /* @__PURE__ */ e(
|
|
669
|
+
{ path: "/mist/*", element: /* @__PURE__ */ e(Zt, {}) },
|
|
696
670
|
// ─── 中间件(大需求 004)— 2026-11-11 中间件面整并入系统面「基础服务」分组,
|
|
697
671
|
// 系统面成为这批前缀的唯一宿主(原 MiddlewareWorkbench 已删)。菜单在 SystemWorkbench
|
|
698
672
|
// 「基础服务」分组,数据真源 MiddlewareWorkbench/menuData.tsx;前缀口径与
|
|
699
673
|
// businessFace.ts(这些前缀现归系统面)一一对齐。
|
|
700
674
|
{ path: "/meta", element: /* @__PURE__ */ e(n, { to: "/meta/app", replace: !0 }) },
|
|
701
|
-
{ path: "/meta/*", element: /* @__PURE__ */ e(
|
|
675
|
+
{ path: "/meta/*", element: /* @__PURE__ */ e(Jt, {}) },
|
|
702
676
|
{ path: "/msg", element: /* @__PURE__ */ e(n, { to: "/msg/inbox", replace: !0 }) },
|
|
703
|
-
{ path: "/msg/*", element: /* @__PURE__ */ e(
|
|
677
|
+
{ path: "/msg/*", element: /* @__PURE__ */ e(Xt, {}) },
|
|
704
678
|
{ path: "/rpc", element: /* @__PURE__ */ e(n, { to: "/rpc/service", replace: !0 }) },
|
|
705
|
-
{ path: "/rpc/*", element: /* @__PURE__ */ e(
|
|
679
|
+
{ path: "/rpc/*", element: /* @__PURE__ */ e(ea, {}) },
|
|
706
680
|
// 向量检索:REST 面是内嵌 QdrantRestServer(非 Spring MVC),经 z-opc 的 /api/vector/** 代理出去
|
|
707
681
|
{ path: "/vector", element: /* @__PURE__ */ e(n, { to: "/vector/collections", replace: !0 }) },
|
|
708
|
-
{ path: "/vector/*", element: /* @__PURE__ */ e(
|
|
682
|
+
{ path: "/vector/*", element: /* @__PURE__ */ e(ta, {}) },
|
|
709
683
|
// 图数据库:REST 面是内嵌 GraphControlServer,经 z-opc 的 /api/graph/** 代理出去
|
|
710
684
|
// ⚠ 内嵌端口是 8091 不是 8090:8090 归一个外部进程,且被 BizKnowledgeGraphService 当业务依赖在用
|
|
711
685
|
{ path: "/graph", element: /* @__PURE__ */ e(n, { to: "/graph/schema", replace: !0 }) },
|
|
712
|
-
{ path: "/graph/*", element: /* @__PURE__ */ e(
|
|
686
|
+
{ path: "/graph/*", element: /* @__PURE__ */ e(Ca, {}) },
|
|
713
687
|
// 网关:admin 面是 z-gw-admin 的原生 Spring MVC;页面一律走 z-opc 自己的环回代理 GET /api/gw/**
|
|
714
688
|
{ path: "/gw", element: /* @__PURE__ */ e(n, { to: "/gw/routes", replace: !0 }) },
|
|
715
|
-
{ path: "/gw/*", element: /* @__PURE__ */ e(
|
|
689
|
+
{ path: "/gw/*", element: /* @__PURE__ */ e(na, {}) },
|
|
716
690
|
// 缓存:/api/cache/** 是 CacheProxyController 在 JVM 内读 MemoryStore + 只读命令拼出的结构化 JSON
|
|
717
691
|
{ path: "/cache", element: /* @__PURE__ */ e(n, { to: "/cache/overview", replace: !0 }) },
|
|
718
|
-
{ path: "/cache/*", element: /* @__PURE__ */ e(
|
|
692
|
+
{ path: "/cache/*", element: /* @__PURE__ */ e(oa, {}) },
|
|
719
693
|
// 消息队列::9877/:10912 是 z-mq-remoting 的 Netty 私有二进制协议,/api/mq/** 是协议适配器
|
|
720
694
|
{ path: "/mq", element: /* @__PURE__ */ e(n, { to: "/mq/instance", replace: !0 }) },
|
|
721
|
-
{ path: "/mq/*", element: /* @__PURE__ */ e(
|
|
695
|
+
{ path: "/mq/*", element: /* @__PURE__ */ e(ca, {}) },
|
|
722
696
|
// 知识库旧中间件面入口(2026-11-11 摘除菜单):认知工作台的「知识管理」段
|
|
723
697
|
// (/z-kb/*,CognitionWorkbench) 已完整承载 z-kb,旧深链一律重定向过去。
|
|
724
698
|
{ path: "/kb/*", element: /* @__PURE__ */ e(n, { to: "/z-kb/dashboard", replace: !0 }) },
|
|
725
699
|
// 对象存储(z-oss):走 z-opc 侧 /api/oss-admin/**,不再需要 AK/SK 下发
|
|
726
700
|
{ path: "/oss", element: /* @__PURE__ */ e(n, { to: "/oss/buckets", replace: !0 }) },
|
|
727
|
-
{ path: "/oss/*", element: /* @__PURE__ */ e(
|
|
701
|
+
{ path: "/oss/*", element: /* @__PURE__ */ e(la, {}) },
|
|
728
702
|
// ─── 订阅中心 ───
|
|
729
703
|
{ path: "/subscribe", element: /* @__PURE__ */ e(n, { to: "/subscribe/list", replace: !0 }) },
|
|
730
|
-
{ path: "/subscribe/*", element: /* @__PURE__ */ e(
|
|
704
|
+
{ path: "/subscribe/*", element: /* @__PURE__ */ e(ia, {}) },
|
|
731
705
|
// ─── 产品工作台 z-product (2026-10-21 接入) ───
|
|
732
706
|
// /z-product/* 由 z-product 组件自己的 ProductApp 渲染(内部按 manifest 的绝对路径手工匹配,
|
|
733
707
|
// 不用嵌套 <Routes>:这里没有 Route 父上下文,绝对路径不会被再拼一次父前缀)。
|
|
@@ -736,45 +710,46 @@ const Ra = [
|
|
|
736
710
|
// 产品域的默认落地页是工坊:它是「一个面板干完产品业务开发」的入口,
|
|
737
711
|
// 全景/蓝图是看板,不是第一动作。
|
|
738
712
|
{ path: "/z-product", element: /* @__PURE__ */ e(n, { to: "/z-product/atelier", replace: !0 }) },
|
|
739
|
-
{ path: "/z-product/*", element: /* @__PURE__ */ e(
|
|
713
|
+
{ path: "/z-product/*", element: /* @__PURE__ */ e(Ge, { basePath: "/z-product" }) },
|
|
740
714
|
// 旧前缀 /product/* → 新前缀 /z-product/*:§14 前缀化之前的老 URL 仍可达(书签 / 旧分享链接)。
|
|
741
715
|
{ path: "/product", element: /* @__PURE__ */ e(n, { to: "/z-product/atelier", replace: !0 }) },
|
|
742
|
-
{ path: "/product/*", element: /* @__PURE__ */ e(
|
|
716
|
+
{ path: "/product/*", element: /* @__PURE__ */ e(Ta, {}) },
|
|
743
717
|
// ─── 项目中心 ───
|
|
744
718
|
{ path: "/project", element: /* @__PURE__ */ e(n, { to: "/project/list", replace: !0 }) },
|
|
745
|
-
{ path: "/project/*", element: /* @__PURE__ */ e(
|
|
719
|
+
{ path: "/project/*", element: /* @__PURE__ */ e(sa, {}) },
|
|
746
720
|
// ─── 脚本中心 (/script/*) — FEATURE052 ───
|
|
747
721
|
{ path: "/script", element: /* @__PURE__ */ e(n, { to: "/script/manage", replace: !0 }) },
|
|
748
|
-
{ path: "/script/manage", element: /* @__PURE__ */ e(
|
|
749
|
-
{ path: "/script/productization", element: /* @__PURE__ */ e(
|
|
722
|
+
{ path: "/script/manage", element: /* @__PURE__ */ e(jt, {}) },
|
|
723
|
+
{ path: "/script/productization", element: /* @__PURE__ */ e(w, {}) },
|
|
750
724
|
// 脚本治理五条(2026-11-11 随中间件面并入):组件自带 5 个 Tab,
|
|
751
725
|
// 按「一个能力一条菜单」把 Tab 键透传成 initialTab,精确路径匹配先于 /script 通配。
|
|
752
|
-
{ path: "/script/keys", element: /* @__PURE__ */ e(
|
|
753
|
-
{ path: "/script/monitor", element: /* @__PURE__ */ e(
|
|
754
|
-
{ path: "/script/quota", element: /* @__PURE__ */ e(
|
|
755
|
-
{ path: "/script/version", element: /* @__PURE__ */ e(
|
|
756
|
-
{ path: "/script/tag", element: /* @__PURE__ */ e(
|
|
726
|
+
{ path: "/script/keys", element: /* @__PURE__ */ e(w, { initialTab: "apikey" }) },
|
|
727
|
+
{ path: "/script/monitor", element: /* @__PURE__ */ e(w, { initialTab: "monitor" }) },
|
|
728
|
+
{ path: "/script/quota", element: /* @__PURE__ */ e(w, { initialTab: "quota" }) },
|
|
729
|
+
{ path: "/script/version", element: /* @__PURE__ */ e(w, { initialTab: "version" }) },
|
|
730
|
+
{ path: "/script/tag", element: /* @__PURE__ */ e(w, { initialTab: "tag" }) },
|
|
757
731
|
// ─── 工具中心 (/z-tool/*) — FEATURE054 ───
|
|
758
732
|
{ path: "/z-tool", element: /* @__PURE__ */ e(n, { to: "/z-tool/curl", replace: !0 }) },
|
|
759
733
|
{ path: "/z-tool/curl", element: /* @__PURE__ */ e(ae, {}) },
|
|
760
734
|
{ path: "/z-tool/webide", element: /* @__PURE__ */ e(oe, {}) },
|
|
761
|
-
// ───
|
|
762
|
-
// 菜单真源 = SystemWorkbench
|
|
735
|
+
// ─── 数据治理 (/etl/*) — 2026-11-25 z-etl 控制台 iframe 并入系统面;2026-11-26 起
|
|
736
|
+
// 菜单真源 = SystemWorkbench 基础服务组内「数据治理」子菜单(原「数据整顿」顶级组);
|
|
737
|
+
// 这里把 /etl/:view 翻成
|
|
763
738
|
// 控制台自己的 hash 路由(iframe 内 #sources/#sinks/#templates/#schedules/#jobs)。
|
|
764
739
|
{ path: "/etl", element: /* @__PURE__ */ e(n, { to: "/etl/templates", replace: !0 }) },
|
|
765
|
-
{ path: "/etl/:view", element: /* @__PURE__ */ e(
|
|
740
|
+
{ path: "/etl/:view", element: /* @__PURE__ */ e(xt, {}) },
|
|
766
741
|
// ─── 测试中心 (/test/*) — FEATURE061 ───
|
|
767
742
|
{ path: "/test", element: /* @__PURE__ */ e(n, { to: "/test/qa/dashboard", replace: !0 }) },
|
|
768
|
-
{ path: "/test/mock", element: /* @__PURE__ */ e(
|
|
743
|
+
{ path: "/test/mock", element: /* @__PURE__ */ e(Da, {}) },
|
|
769
744
|
// QAApp 按 pathname 手动分发子页(非嵌套 <Routes>),挂载前缀推断依赖
|
|
770
745
|
// 路径里有 /qa 段。?mode=test 合成挂载时真实 pathname 是 /workspace(无 qa 段)
|
|
771
746
|
// ⇒ 显式传 mountPath, 否则被库 default 分支 <Navigate> 到 /dashboard(2026-11-11 实测)。
|
|
772
747
|
{ path: "/test/qa", element: /* @__PURE__ */ e(ce, { mountPath: "/test/qa" }) },
|
|
773
748
|
{ path: "/test/qa/*", element: /* @__PURE__ */ e(ce, { mountPath: "/test/qa" }) },
|
|
774
749
|
{ path: "/test/evaluation", element: /* @__PURE__ */ e(n, { to: "/test/evaluation/start", replace: !0 }) },
|
|
775
|
-
...Object.entries(
|
|
750
|
+
...Object.entries(ue).map(([a, o]) => ({
|
|
776
751
|
path: `/test/evaluation/${a}`,
|
|
777
|
-
element: /* @__PURE__ */ e(
|
|
752
|
+
element: /* @__PURE__ */ e(Ba, { menuKey: o })
|
|
778
753
|
})),
|
|
779
754
|
// ─── 低代码 ───
|
|
780
755
|
// /lc/* 刻意不在这里注册。它早就迁到 src/lc/(TS 重写), 挂载点是
|
|
@@ -807,47 +782,47 @@ const Ra = [
|
|
|
807
782
|
// §14 铁律(菜单 key 必须带产品名前缀)针对的是**同一宿主内多套件共存**的撞车问题;
|
|
808
783
|
// 这里每个域的宿主前缀本身就已经是产品名(/config / /task / /workflow …),
|
|
809
784
|
// 且各域之间前缀互不相同 ⇒ 不存在撞车,不需要再加 z- 前缀。
|
|
810
|
-
{ path: "/config/docs", element: /* @__PURE__ */ e(
|
|
811
|
-
{ path: "/task/docs", element: /* @__PURE__ */ e(
|
|
812
|
-
{ path: "/workflow/docs", element: /* @__PURE__ */ e(
|
|
813
|
-
{ path: "/schedule/docs", element: /* @__PURE__ */ e(
|
|
814
|
-
{ path: "/mist/docs", element: /* @__PURE__ */ e(
|
|
815
|
-
{ path: "/meta/docs", element: /* @__PURE__ */ e(
|
|
816
|
-
{ path: "/msg/docs", element: /* @__PURE__ */ e(
|
|
817
|
-
{ path: "/rpc/docs", element: /* @__PURE__ */ e(
|
|
818
|
-
{ path: "/z-product/docs", element: /* @__PURE__ */ e(
|
|
819
|
-
{ path: "/oss/docs", element: /* @__PURE__ */ e(
|
|
820
|
-
{ path: "/vector/docs", element: /* @__PURE__ */ e(
|
|
821
|
-
{ path: "/graph/docs", element: /* @__PURE__ */ e(
|
|
822
|
-
{ path: "/gw/docs", element: /* @__PURE__ */ e(
|
|
823
|
-
{ path: "/cache/docs", element: /* @__PURE__ */ e(
|
|
824
|
-
{ path: "/mq/docs", element: /* @__PURE__ */ e(
|
|
825
|
-
{ path: "/ctc/docs", element: /* @__PURE__ */ e(
|
|
826
|
-
{ path: "/ai/docs", element: /* @__PURE__ */ e(
|
|
827
|
-
{ path: "/lc/docs", element: /* @__PURE__ */ e(
|
|
828
|
-
{ path: "/test/qa/docs", element: /* @__PURE__ */ e(
|
|
829
|
-
],
|
|
785
|
+
{ path: "/config/docs", element: /* @__PURE__ */ e(ra, {}) },
|
|
786
|
+
{ path: "/task/docs", element: /* @__PURE__ */ e(pa, {}) },
|
|
787
|
+
{ path: "/workflow/docs", element: /* @__PURE__ */ e(ma, {}) },
|
|
788
|
+
{ path: "/schedule/docs", element: /* @__PURE__ */ e(ha, {}) },
|
|
789
|
+
{ path: "/mist/docs", element: /* @__PURE__ */ e(da, {}) },
|
|
790
|
+
{ path: "/meta/docs", element: /* @__PURE__ */ e(ua, {}) },
|
|
791
|
+
{ path: "/msg/docs", element: /* @__PURE__ */ e(ba, {}) },
|
|
792
|
+
{ path: "/rpc/docs", element: /* @__PURE__ */ e(ka, {}) },
|
|
793
|
+
{ path: "/z-product/docs", element: /* @__PURE__ */ e(ga, {}) },
|
|
794
|
+
{ path: "/oss/docs", element: /* @__PURE__ */ e(ya, {}) },
|
|
795
|
+
{ path: "/vector/docs", element: /* @__PURE__ */ e(va, {}) },
|
|
796
|
+
{ path: "/graph/docs", element: /* @__PURE__ */ e(fa, {}) },
|
|
797
|
+
{ path: "/gw/docs", element: /* @__PURE__ */ e(_a, {}) },
|
|
798
|
+
{ path: "/cache/docs", element: /* @__PURE__ */ e(Aa, {}) },
|
|
799
|
+
{ path: "/mq/docs", element: /* @__PURE__ */ e(Pa, {}) },
|
|
800
|
+
{ path: "/ctc/docs", element: /* @__PURE__ */ e(Oa, {}) },
|
|
801
|
+
{ path: "/ai/docs", element: /* @__PURE__ */ e(Sa, {}) },
|
|
802
|
+
{ path: "/lc/docs", element: /* @__PURE__ */ e(Ma, {}) },
|
|
803
|
+
{ path: "/test/qa/docs", element: /* @__PURE__ */ e(wa, {}) }
|
|
804
|
+
], Ia = [
|
|
830
805
|
// 模块根重定向到默认页(admin 面的无参兜底同样是专家团构建)
|
|
831
806
|
{ path: "/operation", element: /* @__PURE__ */ e(n, { to: "/operation/scenario", replace: !0 }) },
|
|
832
|
-
...
|
|
807
|
+
...me().map((a) => ({
|
|
833
808
|
path: `/operation/${a.key}`,
|
|
834
|
-
element: /* @__PURE__ */ e(
|
|
809
|
+
element: /* @__PURE__ */ e(de, { menuKey: a.key })
|
|
835
810
|
}))
|
|
836
|
-
], le = [...
|
|
837
|
-
function
|
|
811
|
+
], le = [...Ea, ...Ia];
|
|
812
|
+
function qa(a) {
|
|
838
813
|
for (const o of le)
|
|
839
814
|
if (o.path === a) return o.element;
|
|
840
815
|
for (const o of le)
|
|
841
|
-
if (
|
|
842
|
-
return /* @__PURE__ */ e(
|
|
816
|
+
if (za(o.path, a)) return o.element;
|
|
817
|
+
return /* @__PURE__ */ e(Na, {});
|
|
843
818
|
}
|
|
844
|
-
function
|
|
819
|
+
function za(a, o) {
|
|
845
820
|
if (!a.includes("*") && !a.includes(":")) return !1;
|
|
846
821
|
const l = "^" + a.replace(/[.+?^${}()|[\]\\]/g, "\\$&").replace(/\*/g, ".*").replace(/:([a-zA-Z_][a-zA-Z0-9_]*)/g, "[^/]+") + "$";
|
|
847
822
|
return new RegExp(l).test(o);
|
|
848
823
|
}
|
|
849
|
-
function
|
|
850
|
-
const a = W(), { pathname: o, search: l } =
|
|
824
|
+
function Ja() {
|
|
825
|
+
const a = W(), { pathname: o, search: l } = z(), r = o.startsWith("/test/") || (() => {
|
|
851
826
|
try {
|
|
852
827
|
return new URLSearchParams(l).get("mode") === "test";
|
|
853
828
|
} catch {
|
|
@@ -860,16 +835,16 @@ function en() {
|
|
|
860
835
|
} catch {
|
|
861
836
|
return null;
|
|
862
837
|
}
|
|
863
|
-
}, [l]), k =
|
|
838
|
+
}, [l]), k = be(() => {
|
|
864
839
|
if (!i) return;
|
|
865
840
|
const A = new URLSearchParams();
|
|
866
841
|
A.set("product", i.code), i.name && A.set("productName", i.name), a(`/workspace?mode=product&${A.toString()}`);
|
|
867
|
-
}, [i, a]), p = r && !o.startsWith("/test") ? "/test/qa/dashboard" : o, P = O(() => p, [p]), g = O(() =>
|
|
842
|
+
}, [i, a]), p = r && !o.startsWith("/test") ? "/test/qa/dashboard" : o, P = O(() => p, [p]), g = O(() => qa(p), [p]), {
|
|
868
843
|
width: d,
|
|
869
|
-
dragging:
|
|
870
|
-
onHandlePointerDown:
|
|
871
|
-
resetWidth:
|
|
872
|
-
} =
|
|
844
|
+
dragging: f,
|
|
845
|
+
onHandlePointerDown: T,
|
|
846
|
+
resetWidth: _
|
|
847
|
+
} = Le("zteam.sidebar.system", 220, 200, 480);
|
|
873
848
|
return /* @__PURE__ */ m("div", { className: s.shellWrap, children: [
|
|
874
849
|
i && /* @__PURE__ */ m("div", { className: s.productBanner, children: [
|
|
875
850
|
/* @__PURE__ */ e("span", { className: s.productBannerLabel, children: "📦 当前产品" }),
|
|
@@ -879,7 +854,7 @@ function en() {
|
|
|
879
854
|
] }),
|
|
880
855
|
/* @__PURE__ */ m("div", { className: s.shell, children: [
|
|
881
856
|
/* @__PURE__ */ e(
|
|
882
|
-
|
|
857
|
+
st,
|
|
883
858
|
{
|
|
884
859
|
activePathOverride: P,
|
|
885
860
|
menuOnly: !0,
|
|
@@ -890,19 +865,19 @@ function en() {
|
|
|
890
865
|
/* @__PURE__ */ e(
|
|
891
866
|
"div",
|
|
892
867
|
{
|
|
893
|
-
className: `${s.dragBar} ${
|
|
894
|
-
onPointerDown:
|
|
895
|
-
onDoubleClick:
|
|
868
|
+
className: `${s.dragBar} ${f ? s.dragBarActive : ""}`,
|
|
869
|
+
onPointerDown: T,
|
|
870
|
+
onDoubleClick: _,
|
|
896
871
|
title: "拖动调整菜单宽度,双击恢复默认"
|
|
897
872
|
}
|
|
898
873
|
),
|
|
899
874
|
/* @__PURE__ */ m("main", { className: s.main, children: [
|
|
900
|
-
/* @__PURE__ */ e(
|
|
901
|
-
/* @__PURE__ */ e(
|
|
875
|
+
/* @__PURE__ */ e(We, {}),
|
|
876
|
+
/* @__PURE__ */ e($e, { resetKey: o, children: /* @__PURE__ */ e(ke, { fallback: /* @__PURE__ */ e("div", { className: s.empty, children: "加载中…" }), children: g }) })
|
|
902
877
|
] })
|
|
903
878
|
] })
|
|
904
879
|
] });
|
|
905
880
|
}
|
|
906
881
|
export {
|
|
907
|
-
|
|
882
|
+
Ja as default
|
|
908
883
|
};
|