@yuku123/z-team-component 0.2.139 → 0.2.141
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-B1IJbLVN.js → AdminModuleContent-FFU5MUjw.js} +10526 -10697
- package/dist/{ChangeLogView-BVKf3AZn.js → ChangeLogView-C5v5uT8L.js} +1 -1
- package/dist/{ComponentDoc-BIX-e69A.js → ComponentDoc-DnZq0_Rk.js} +1318 -1313
- package/dist/{InvitationManagementPage-DRC_8AiO.js → InvitationManagementPage-dEBNe9_s.js} +1 -1
- package/dist/{OnboardingPage-B4GQTFCS.js → OnboardingPage-BW8WhBg5.js} +2 -2
- package/dist/ScheduledTasks-BaZ0_klE.js +12024 -0
- package/dist/SystemShell-I7vWo1XG.js +858 -0
- package/dist/{admin-logs-DK00NEUv.js → admin-logs-BDPC3Q_Y.js} +5 -5
- package/dist/{api-C_9xZbZr.js → api-BJ5jPWNm.js} +1 -1
- package/dist/{api-DBemNteG.js → api-U9U4zzq_.js} +1 -1
- package/dist/createWorkspaceWsHandler-B6TdD0Oz.js +11757 -0
- package/dist/{index-BGAG77Nt.js → index-BGZV4U3S.js} +1325 -1187
- package/dist/{CollabPersonalHost-BY6RqeQJ.js → index-BPEfgkzE.js} +3 -3
- package/dist/{index-BgCxUeRF.js → index-BXaJSMd0.js} +9 -9
- package/dist/{from-scenario-D8CIJLDn.js → index-Bfw6OE5L.js} +19 -20
- package/dist/index-BlDMnzJF.js +18 -0
- package/dist/{welcome-BBLRGBWu.js → index-BmlFIrWx.js} +1 -1
- package/dist/{build-by-form-CXxXrXvw.js → index-BwhK44Dc.js} +26 -27
- package/dist/{TrainingAdminShell-CgnQM4Nb.js → index-CP5raaOW.js} +780 -792
- package/dist/{docs-A-g6sqaE.js → index-CPpqideA.js} +1 -1
- package/dist/{index-BM6KEb8k.js → index-CToJEufJ.js} +1 -1
- package/dist/{common-Bcnlb4nY.js → index-CVgvlDAT.js} +17 -17
- package/dist/{admin-ryysUJ9z.js → index-CmzTSdmD.js} +30 -31
- package/dist/{Market-C2vkBzDr.js → index-CsNtBWH-.js} +2 -2
- package/dist/index-DIv1OJ_2.js +1840 -0
- package/dist/{chat-DKwMolQV.js → index-DKUg7Evq.js} +28 -29
- package/dist/{index-BlfOXOZM.js → index-DSXVCDf7.js} +9 -9
- package/dist/{OpsWorkbench-D8RF2p4X.js → index-Dd5RE_0a.js} +342 -389
- package/dist/index-DuZrrpXt.js +1298 -0
- package/dist/{from-ticket-D0oQPEf1.js → index-Gn0zdd5m.js} +2 -2
- package/dist/index-WWGxF0UX.js +136 -0
- package/dist/{change-log-CcmXtywx.js → index-XTNGZnrF.js} +1 -1
- package/dist/{KnowledgeGraphTab-BfhDEyvW.js → index-XgaiU13i.js} +1 -1
- package/dist/{scenario-DOpFkfNV.js → index-d6RIzlsj.js} +2 -2
- package/dist/{index-Bs_WMKyt.js → index-kjli87DO.js} +3895 -3964
- package/dist/{phone-BU4g7eHI.js → index-mDjl3m2W.js} +198 -192
- package/dist/{index-Dlf6mERD.js → index-nj-cjKsf.js} +1910 -1950
- package/dist/{WorkBuddyShell-DCrPpMd5.js → index-skl-gjj4.js} +6 -6
- package/dist/index.js +1 -1
- package/dist/instance-D_EP8AQm.js +116 -0
- package/dist/{menuPermission-C4EVCwjs.js → menuPermission-Bhnols4v.js} +3 -3
- package/dist/pages.js +1 -1
- package/dist/{send-default-agent-team-message-1L9Jv1eJ.js → send-default-agent-team-message-0RB1pYex.js} +1 -1
- package/dist/{training-BqYfINRR.js → training-B1eRX8g1.js} +1 -1
- package/dist/{webide-AknolY0B.js → webide-C4ThGZzY.js} +1161 -1317
- package/dist/z-team-component.css +1 -1
- package/package.json +5 -4
- package/dist/CognitionWorkbench-DrDFy5jN.js +0 -139
- package/dist/DevWorkbench-BtiPE_V4.js +0 -228
- package/dist/ProductWorkspace-PSO7Q9m-.js +0 -1323
- package/dist/ScheduledTasks-CoaHVU6e.js +0 -12006
- package/dist/SmartWorkbench-BkdfSgqx.js +0 -1867
- package/dist/SystemShell-CANwRSyW.js +0 -886
- package/dist/SystemWorkbench.module-DpLM0zgA.js +0 -36
- package/dist/createWorkspaceWsHandler-6xyLJ14H.js +0 -12902
- package/dist/instance-B9ZKD5cL.js +0 -186
- package/dist/sso-user-Co71Xi9I.js +0 -43
- /package/dist/{download-B_LJRFsK.js → index-B_LJRFsK.js} +0 -0
- /package/dist/{chatdemo-C815hPWS.js → index-C815hPWS.js} +0 -0
- /package/dist/{portal-QNpTaU--.js → index-QNpTaU--.js} +0 -0
|
@@ -1,886 +0,0 @@
|
|
|
1
|
-
import { jsx as e, jsxs as r } from "react/jsx-runtime";
|
|
2
|
-
import { useNavigate as ue, useLocation as W, Navigate as o } from "react-router-dom";
|
|
3
|
-
import { useMemo as w, useState as F, useEffect as we, useCallback as Ne, Suspense as _e, lazy as v } from "react";
|
|
4
|
-
import { UnorderedListOutlined as M, HistoryOutlined as Q, ClusterOutlined as C, DashboardOutlined as A, ExperimentOutlined as Me, SettingOutlined as Z, KeyOutlined as T, AppstoreOutlined as I, SafetyCertificateOutlined as be, TeamOutlined as H, ProfileOutlined as X, ApiOutlined as U, HddOutlined as $, ApartmentOutlined as J, MessageOutlined as Ce, InboxOutlined as ee, FileTextOutlined as B, SendOutlined as De, CloudServerOutlined as P, NodeIndexOutlined as Ie, TableOutlined as te, SearchOutlined as ae, DatabaseOutlined as R, ConsoleSqlOutlined as Be, BranchesOutlined as Ee, DeploymentUnitOutlined as ke, ScheduleOutlined as ze, CodeOutlined as ne, FundOutlined as Ge, CloudUploadOutlined as qe, TagsOutlined as Te, DownOutlined as ce, RightOutlined as oe, UserOutlined as Le, AuditOutlined as ge, ProjectOutlined as ye, FolderOpenOutlined as Re, DesktopOutlined as fe, CloudOutlined as j, BuildOutlined as xe, CalendarOutlined as L, BarChartOutlined as le, ControlOutlined as $e } from "@ant-design/icons";
|
|
5
|
-
import { f as Ue, M as je } from "./menuPermission-C4EVCwjs.js";
|
|
6
|
-
import { u as se, X as We } from "./ComponentDoc-BIX-e69A.js";
|
|
7
|
-
import { M as He, f as ve, u as Ke } from "./menuTree-BjchjhUw.js";
|
|
8
|
-
import { s as n } from "./SystemWorkbench.module-DpLM0zgA.js";
|
|
9
|
-
import { ProductApp as Ve } from "@yuku123/z-product-component";
|
|
10
|
-
import { P as Ye, R as Fe } from "./index-BgCxUeRF.js";
|
|
11
|
-
import { configureGraph as Qe } from "@yuku123/z-graph-component";
|
|
12
|
-
const Ze = [
|
|
13
|
-
{
|
|
14
|
-
title: "配置中心",
|
|
15
|
-
icon: /* @__PURE__ */ e(Z, {}),
|
|
16
|
-
permission: "OPS_CONFIG_VIEW",
|
|
17
|
-
items: [
|
|
18
|
-
{ key: "config-list", label: "配置列表", icon: /* @__PURE__ */ e(M, {}), path: "/config/list" },
|
|
19
|
-
{ key: "config-history", label: "变更历史", icon: /* @__PURE__ */ e(Q, {}), path: "/config/history" },
|
|
20
|
-
{ key: "config-service", label: "服务列表", icon: /* @__PURE__ */ e(C, {}), path: "/config/service" },
|
|
21
|
-
{ key: "config-cluster", label: "集群概览", icon: /* @__PURE__ */ e(A, {}), path: "/config/cluster" },
|
|
22
|
-
{ key: "config-namespace", label: "命名空间", icon: /* @__PURE__ */ e(Me, {}), path: "/config/namespace" }
|
|
23
|
-
]
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
title: "密钥中心",
|
|
27
|
-
icon: /* @__PURE__ */ e(T, {}),
|
|
28
|
-
items: [
|
|
29
|
-
{ key: "mist-secret", label: "密钥管理", icon: /* @__PURE__ */ e(T, {}), path: "/mist/secret" },
|
|
30
|
-
{ key: "mist-app", label: "应用接入", icon: /* @__PURE__ */ e(I, {}), path: "/mist/app" },
|
|
31
|
-
{ key: "mist-acl", label: "密钥授权", icon: /* @__PURE__ */ e(be, {}), path: "/mist/acl" }
|
|
32
|
-
]
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
title: "元数据中心",
|
|
36
|
-
icon: /* @__PURE__ */ e(J, {}),
|
|
37
|
-
items: [
|
|
38
|
-
{ key: "meta-app", label: "应用元数据", icon: /* @__PURE__ */ e(I, {}), path: "/meta/app" },
|
|
39
|
-
{ key: "meta-tenant", label: "租户管理", icon: /* @__PURE__ */ e(H, {}), path: "/meta/tenant" },
|
|
40
|
-
{ key: "meta-dict", label: "数据字典", icon: /* @__PURE__ */ e(X, {}), path: "/meta/dict" },
|
|
41
|
-
{ key: "meta-interface", label: "接口台账", icon: /* @__PURE__ */ e(U, {}), path: "/meta/interface" },
|
|
42
|
-
{ key: "meta-private-config", label: "私有配置", icon: /* @__PURE__ */ e(Z, {}), path: "/meta/private-config" },
|
|
43
|
-
{ key: "meta-models", label: "业务模型", icon: /* @__PURE__ */ e($, {}), path: "/meta/models" }
|
|
44
|
-
]
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
title: "消息中心",
|
|
48
|
-
icon: /* @__PURE__ */ e(De, {}),
|
|
49
|
-
items: [
|
|
50
|
-
{ key: "msg-send", label: "发消息", icon: /* @__PURE__ */ e(Ce, {}), path: "/msg/send" },
|
|
51
|
-
{ key: "msg-inbox", label: "站内信", icon: /* @__PURE__ */ e(ee, {}), path: "/msg/inbox" },
|
|
52
|
-
{ key: "msg-template", label: "消息模板", icon: /* @__PURE__ */ e(X, {}), path: "/msg/template" },
|
|
53
|
-
{ key: "msg-delivery", label: "投递日志", icon: /* @__PURE__ */ e(B, {}), path: "/msg/delivery" },
|
|
54
|
-
{ key: "msg-batch", label: "批量任务", icon: /* @__PURE__ */ e(M, {}), path: "/msg/batch" }
|
|
55
|
-
]
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
title: "服务注册",
|
|
59
|
-
icon: /* @__PURE__ */ e(Ie, {}),
|
|
60
|
-
items: [
|
|
61
|
-
{ key: "rpc-service", label: "服务列表", icon: /* @__PURE__ */ e(C, {}), path: "/rpc/service" },
|
|
62
|
-
{ key: "rpc-instance", label: "服务实例", icon: /* @__PURE__ */ e(P, {}), path: "/rpc/instance" }
|
|
63
|
-
]
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
title: "向量检索",
|
|
67
|
-
icon: /* @__PURE__ */ e(R, {}),
|
|
68
|
-
items: [
|
|
69
|
-
{ key: "vector-collection", label: "向量集合", icon: /* @__PURE__ */ e(te, {}), path: "/vector/collections" },
|
|
70
|
-
{ key: "vector-search", label: "向量检索", icon: /* @__PURE__ */ e(ae, {}), path: "/vector/search" },
|
|
71
|
-
{ key: "vector-instance", label: "实例与端口", icon: /* @__PURE__ */ e(P, {}), path: "/vector/instance" }
|
|
72
|
-
]
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
title: "图数据库",
|
|
76
|
-
icon: /* @__PURE__ */ e(J, {}),
|
|
77
|
-
items: [
|
|
78
|
-
{ key: "graph-schema", label: "图 Schema", icon: /* @__PURE__ */ e(te, {}), path: "/graph/schema" },
|
|
79
|
-
{ key: "graph-query", label: "图查询", icon: /* @__PURE__ */ e(Be, {}), path: "/graph/query" },
|
|
80
|
-
{ key: "graph-branches", label: "分支与提交", icon: /* @__PURE__ */ e(Ee, {}), path: "/graph/branches" },
|
|
81
|
-
{ key: "graph-instance", label: "实例与端口", icon: /* @__PURE__ */ e(P, {}), path: "/graph/instance" }
|
|
82
|
-
]
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
title: "网关",
|
|
86
|
-
icon: /* @__PURE__ */ e(U, {}),
|
|
87
|
-
items: [
|
|
88
|
-
{ key: "gw-routes", label: "网关路由", icon: /* @__PURE__ */ e(M, {}), path: "/gw/routes" },
|
|
89
|
-
{ key: "gw-metrics", label: "网关指标", icon: /* @__PURE__ */ e(A, {}), path: "/gw/metrics" },
|
|
90
|
-
{ key: "gw-instance", label: "实例与面", icon: /* @__PURE__ */ e(P, {}), path: "/gw/instance" }
|
|
91
|
-
]
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
title: "缓存",
|
|
95
|
-
icon: /* @__PURE__ */ e(R, {}),
|
|
96
|
-
items: [
|
|
97
|
-
{ key: "cache-overview", label: "缓存总览", icon: /* @__PURE__ */ e(I, {}), path: "/cache/overview" },
|
|
98
|
-
{ key: "cache-keys", label: "键浏览", icon: /* @__PURE__ */ e(ae, {}), path: "/cache/keys" },
|
|
99
|
-
{ key: "cache-stats", label: "命中率与热键", icon: /* @__PURE__ */ e(A, {}), path: "/cache/stats" },
|
|
100
|
-
{ key: "cache-instance", label: "实例与端口", icon: /* @__PURE__ */ e(P, {}), path: "/cache/instance" }
|
|
101
|
-
]
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
title: "消息队列",
|
|
105
|
-
icon: /* @__PURE__ */ e(ee, {}),
|
|
106
|
-
items: [
|
|
107
|
-
{ key: "mq-instance", label: "实例与端口", icon: /* @__PURE__ */ e(P, {}), path: "/mq/instance" },
|
|
108
|
-
{ key: "mq-cluster", label: "集群与 Broker", icon: /* @__PURE__ */ e(C, {}), path: "/mq/cluster" },
|
|
109
|
-
{ key: "mq-topics", label: "Topic 列表", icon: /* @__PURE__ */ e(M, {}), path: "/mq/topics" },
|
|
110
|
-
{ key: "mq-broker", label: "Broker 元数据", icon: /* @__PURE__ */ e(ke, {}), path: "/mq/broker" }
|
|
111
|
-
]
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
title: "对象存储",
|
|
115
|
-
icon: /* @__PURE__ */ e($, {}),
|
|
116
|
-
items: [
|
|
117
|
-
{ key: "oss-buckets", label: "Bucket 列表", icon: /* @__PURE__ */ e($, {}), path: "/oss/buckets" },
|
|
118
|
-
{ key: "oss-objects", label: "对象浏览", icon: /* @__PURE__ */ e(B, {}), path: "/oss/objects" },
|
|
119
|
-
{ key: "oss-account", label: "访问身份", icon: /* @__PURE__ */ e(T, {}), path: "/oss/account" }
|
|
120
|
-
]
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
title: "调度中心",
|
|
124
|
-
icon: /* @__PURE__ */ e(ze, {}),
|
|
125
|
-
items: [
|
|
126
|
-
{ key: "schedule-jobs", label: "任务列表", icon: /* @__PURE__ */ e(M, {}), path: "/schedule/jobs" },
|
|
127
|
-
{ key: "schedule-group", label: "分组管理", icon: /* @__PURE__ */ e(C, {}), path: "/schedule/group" },
|
|
128
|
-
{ key: "schedule-log", label: "执行日志", icon: /* @__PURE__ */ e(Q, {}), path: "/schedule/log" }
|
|
129
|
-
]
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
title: "脚本中心",
|
|
133
|
-
icon: /* @__PURE__ */ e(ne, {}),
|
|
134
|
-
items: [
|
|
135
|
-
// 2026-11-11: 原「开发与工具」组的 脚本中心(/script/manage, DSL 脚本注册与执行)
|
|
136
|
-
// 并入本子菜单作第一个叶子 —— 与脚本治理模块撞名,不能在「基础服务」里出两个「脚本中心」。
|
|
137
|
-
{ key: "script-manage", label: "脚本管理", icon: /* @__PURE__ */ e(ne, {}), path: "/script/manage" },
|
|
138
|
-
{ key: "script-keys", label: "API Key 台账", icon: /* @__PURE__ */ e(T, {}), path: "/script/keys" },
|
|
139
|
-
{ key: "script-monitor", label: "调用监控", icon: /* @__PURE__ */ e(A, {}), path: "/script/monitor" },
|
|
140
|
-
{ key: "script-quota", label: "配额与用量", icon: /* @__PURE__ */ e(Ge, {}), path: "/script/quota" },
|
|
141
|
-
{ key: "script-version", label: "脚本版本", icon: /* @__PURE__ */ e(qe, {}), path: "/script/version" },
|
|
142
|
-
{ key: "script-tag", label: "标签治理", icon: /* @__PURE__ */ e(Te, {}), path: "/script/tag" }
|
|
143
|
-
]
|
|
144
|
-
}
|
|
145
|
-
];
|
|
146
|
-
function D(a) {
|
|
147
|
-
return a.flatMap((s) => [s, ...D(s.children ?? [])]);
|
|
148
|
-
}
|
|
149
|
-
const Xe = {
|
|
150
|
-
title: "测试中心",
|
|
151
|
-
icon: /* @__PURE__ */ e(A, {}),
|
|
152
|
-
// 测试 Tab 的入口权限点 (顶栏 test mode 同码)。4A 普通用户角色 USER 持有 TEST_ENTRY
|
|
153
|
-
// ⇒ 全员可见; 未绑测试角色的账号看不到这一组。
|
|
154
|
-
permission: "TEST_ENTRY",
|
|
155
|
-
items: [
|
|
156
|
-
{
|
|
157
|
-
key: "test-dashboard",
|
|
158
|
-
label: "测试总览",
|
|
159
|
-
icon: /* @__PURE__ */ e(A, {}),
|
|
160
|
-
path: "/test/qa/dashboard",
|
|
161
|
-
desc: "测试统计、趋势与套件健康度"
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
key: "test-design",
|
|
165
|
-
label: "用例与编排",
|
|
166
|
-
icon: /* @__PURE__ */ e(B, {}),
|
|
167
|
-
children: [
|
|
168
|
-
{
|
|
169
|
-
key: "test-case",
|
|
170
|
-
label: "测试用例",
|
|
171
|
-
icon: /* @__PURE__ */ e(B, {}),
|
|
172
|
-
path: "/test/qa/cases",
|
|
173
|
-
desc: "接口用例与断言模板"
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
key: "test-suite",
|
|
177
|
-
label: "测试套件",
|
|
178
|
-
icon: /* @__PURE__ */ e(C, {}),
|
|
179
|
-
path: "/test/qa/suites",
|
|
180
|
-
desc: "步骤编排与变量传递"
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
key: "test-plan",
|
|
184
|
-
label: "测试计划",
|
|
185
|
-
icon: /* @__PURE__ */ e(ye, {}),
|
|
186
|
-
path: "/test/qa/plans",
|
|
187
|
-
desc: "套件组合与环境绑定"
|
|
188
|
-
}
|
|
189
|
-
]
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
key: "test-exec",
|
|
193
|
-
label: "执行与调度",
|
|
194
|
-
icon: /* @__PURE__ */ e(L, {}),
|
|
195
|
-
children: [
|
|
196
|
-
{
|
|
197
|
-
key: "test-run",
|
|
198
|
-
label: "执行记录",
|
|
199
|
-
icon: /* @__PURE__ */ e(L, {}),
|
|
200
|
-
path: "/test/qa/runs",
|
|
201
|
-
desc: "执行触发、状态与报告"
|
|
202
|
-
},
|
|
203
|
-
{
|
|
204
|
-
key: "test-schedule",
|
|
205
|
-
label: "定时调度",
|
|
206
|
-
icon: /* @__PURE__ */ e(L, {}),
|
|
207
|
-
path: "/test/qa/schedules",
|
|
208
|
-
desc: "cron 定时执行"
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
key: "test-e2e",
|
|
212
|
-
label: "E2E 测试",
|
|
213
|
-
icon: /* @__PURE__ */ e(fe, {}),
|
|
214
|
-
path: "/test/qa/e2e",
|
|
215
|
-
desc: "浏览器自动化测试"
|
|
216
|
-
}
|
|
217
|
-
]
|
|
218
|
-
},
|
|
219
|
-
{
|
|
220
|
-
key: "test-support",
|
|
221
|
-
label: "环境与工具",
|
|
222
|
-
icon: /* @__PURE__ */ e(j, {}),
|
|
223
|
-
children: [
|
|
224
|
-
{
|
|
225
|
-
key: "test-env",
|
|
226
|
-
label: "环境管理",
|
|
227
|
-
icon: /* @__PURE__ */ e(j, {}),
|
|
228
|
-
path: "/test/qa/envs",
|
|
229
|
-
desc: "多环境变量管理"
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
key: "test-mock",
|
|
233
|
-
label: "Mock 平台",
|
|
234
|
-
icon: /* @__PURE__ */ e(R, {}),
|
|
235
|
-
path: "/test/mock",
|
|
236
|
-
desc: "API Mock 服务管理"
|
|
237
|
-
}
|
|
238
|
-
]
|
|
239
|
-
},
|
|
240
|
-
{
|
|
241
|
-
key: "test-eval",
|
|
242
|
-
label: "智能测评",
|
|
243
|
-
icon: /* @__PURE__ */ e(le, {}),
|
|
244
|
-
children: [
|
|
245
|
-
{
|
|
246
|
-
key: "test-eval-start",
|
|
247
|
-
label: "发起测评",
|
|
248
|
-
icon: /* @__PURE__ */ e(A, {}),
|
|
249
|
-
path: "/test/evaluation/start",
|
|
250
|
-
desc: "Agent 质量测评"
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
key: "test-eval-schedule",
|
|
254
|
-
label: "自动测评",
|
|
255
|
-
icon: /* @__PURE__ */ e(L, {}),
|
|
256
|
-
path: "/test/evaluation/schedule",
|
|
257
|
-
desc: "定时批量测评"
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
key: "test-eval-group",
|
|
261
|
-
label: "群聊评测",
|
|
262
|
-
icon: /* @__PURE__ */ e(H, {}),
|
|
263
|
-
path: "/test/evaluation/group",
|
|
264
|
-
desc: "群聊专家团评测"
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
key: "test-eval-report",
|
|
268
|
-
label: "分析报告",
|
|
269
|
-
icon: /* @__PURE__ */ e(le, {}),
|
|
270
|
-
path: "/test/evaluation/report",
|
|
271
|
-
desc: "测评结果分析"
|
|
272
|
-
}
|
|
273
|
-
]
|
|
274
|
-
}
|
|
275
|
-
]
|
|
276
|
-
};
|
|
277
|
-
function Je(a) {
|
|
278
|
-
const s = ve(a.children ?? []), p = {
|
|
279
|
-
key: `operation-${a.key}`,
|
|
280
|
-
label: a.label,
|
|
281
|
-
icon: a.icon ?? /* @__PURE__ */ e($e, {}),
|
|
282
|
-
permission: a.permission
|
|
283
|
-
};
|
|
284
|
-
return s.length === 0 ? { ...p, path: `/operation/${a.key}` } : {
|
|
285
|
-
...p,
|
|
286
|
-
children: s.map((b) => ({
|
|
287
|
-
key: `operation-${b.key}`,
|
|
288
|
-
label: b.label,
|
|
289
|
-
path: `/operation/${b.key}`,
|
|
290
|
-
permission: b.permission
|
|
291
|
-
}))
|
|
292
|
-
};
|
|
293
|
-
}
|
|
294
|
-
const et = {
|
|
295
|
-
title: "协作管理",
|
|
296
|
-
icon: /* @__PURE__ */ e(H, {}),
|
|
297
|
-
permission: "ADMIN_ENTRY",
|
|
298
|
-
items: He.map(Je)
|
|
299
|
-
}, tt = {
|
|
300
|
-
title: "基础服务",
|
|
301
|
-
icon: /* @__PURE__ */ e(R, {}),
|
|
302
|
-
items: [
|
|
303
|
-
...Ze.map((a) => ({
|
|
304
|
-
key: `mw-${a.title}`,
|
|
305
|
-
label: a.title,
|
|
306
|
-
icon: a.icon,
|
|
307
|
-
permission: a.permission,
|
|
308
|
-
children: a.items.map((s) => ({
|
|
309
|
-
key: s.key,
|
|
310
|
-
label: s.label,
|
|
311
|
-
path: s.path
|
|
312
|
-
}))
|
|
313
|
-
})),
|
|
314
|
-
// 2026-11-11: 「业务流程」组整组并入本组 —— 四个中心都是各自 App 的大入口,
|
|
315
|
-
// 按调度中心/脚本中心的二级子菜单样式展开各自的真实子页面(路由真源 =
|
|
316
|
-
// WorkflowApp/TaskApp/SubscribeApp/ProjectApp 的 <Routes>)。
|
|
317
|
-
{
|
|
318
|
-
key: "biz-workflow",
|
|
319
|
-
label: "流程中心",
|
|
320
|
-
icon: /* @__PURE__ */ e(ge, {}),
|
|
321
|
-
// 2026-11-12 按闭环排序:模板 → 发起(我发起的/流程视图) → 推进(待办/已办) → 总览
|
|
322
|
-
children: [
|
|
323
|
-
{ key: "wf-processes", label: "流程模板", path: "/workflow/processes" },
|
|
324
|
-
{ key: "wf-my", label: "我发起的", path: "/workflow/my-processes" },
|
|
325
|
-
{ key: "wf-todo", label: "待办任务", path: "/workflow/todo" },
|
|
326
|
-
{ key: "wf-done", label: "已办任务", path: "/workflow/done" },
|
|
327
|
-
{ key: "wf-dashboard", label: "仪表盘", path: "/workflow/dashboard" }
|
|
328
|
-
]
|
|
329
|
-
},
|
|
330
|
-
{
|
|
331
|
-
key: "biz-task",
|
|
332
|
-
label: "任务中心",
|
|
333
|
-
icon: /* @__PURE__ */ e(B, {}),
|
|
334
|
-
children: [
|
|
335
|
-
{ key: "task-dashboard", label: "仪表盘", path: "/task/dashboard" },
|
|
336
|
-
{ key: "task-list", label: "任务列表", path: "/task/task" },
|
|
337
|
-
{ key: "task-project", label: "项目列表", path: "/task/project" },
|
|
338
|
-
{ key: "task-user", label: "用户管理", path: "/task/user" }
|
|
339
|
-
]
|
|
340
|
-
},
|
|
341
|
-
{
|
|
342
|
-
key: "biz-subscribe",
|
|
343
|
-
label: "订阅中心",
|
|
344
|
-
icon: /* @__PURE__ */ e(U, {}),
|
|
345
|
-
children: [
|
|
346
|
-
{ key: "sub-list", label: "订阅列表", path: "/subscribe/list" },
|
|
347
|
-
{ key: "sub-runs", label: "运行记录", path: "/subscribe/runs" }
|
|
348
|
-
]
|
|
349
|
-
},
|
|
350
|
-
{
|
|
351
|
-
key: "biz-project",
|
|
352
|
-
label: "项目中心",
|
|
353
|
-
icon: /* @__PURE__ */ e(ye, {}),
|
|
354
|
-
children: [
|
|
355
|
-
{ key: "proj-list", label: "项目列表", path: "/project/list" }
|
|
356
|
-
]
|
|
357
|
-
},
|
|
358
|
-
// 2026-11-11: 短链管理/WebIDE 容器 自「开发与工具」并入本组(开发与工具组已删)。
|
|
359
|
-
{
|
|
360
|
-
key: "tool-curl",
|
|
361
|
-
label: "短链管理",
|
|
362
|
-
icon: /* @__PURE__ */ e(Re, {}),
|
|
363
|
-
path: "/z-tool/curl",
|
|
364
|
-
desc: "短链接创建与管理"
|
|
365
|
-
},
|
|
366
|
-
{
|
|
367
|
-
key: "tool-webide",
|
|
368
|
-
label: "WebIDE 容器",
|
|
369
|
-
icon: /* @__PURE__ */ e(fe, {}),
|
|
370
|
-
path: "/z-tool/webide",
|
|
371
|
-
desc: "在线 IDE 代码编辑器"
|
|
372
|
-
}
|
|
373
|
-
]
|
|
374
|
-
}, at = {
|
|
375
|
-
title: "系统初始",
|
|
376
|
-
icon: /* @__PURE__ */ e(xe, {}),
|
|
377
|
-
permission: "PERMISSION_MANAGE",
|
|
378
|
-
items: [
|
|
379
|
-
{
|
|
380
|
-
key: "4a-tenant",
|
|
381
|
-
label: "租户管理",
|
|
382
|
-
icon: /* @__PURE__ */ e(j, {}),
|
|
383
|
-
path: "/ctc/4a/tenant",
|
|
384
|
-
desc: "多租户管理与配置"
|
|
385
|
-
}
|
|
386
|
-
]
|
|
387
|
-
}, Ae = [
|
|
388
|
-
{
|
|
389
|
-
title: "认证与权限",
|
|
390
|
-
icon: /* @__PURE__ */ e(be, {}),
|
|
391
|
-
// 4A 授权中心自身的资源管理动作 (账号/角色/应用/租户/组织/权限分配)
|
|
392
|
-
// ⇒ 4A 权限管理域 PERMISSION_MANAGE。普通用户角色 USER 不含该码,
|
|
393
|
-
// 之前照样能点进这些页面 (进去就是 403 / 空白) —— 现在入口先收敛。
|
|
394
|
-
permission: "PERMISSION_MANAGE",
|
|
395
|
-
items: [
|
|
396
|
-
{
|
|
397
|
-
key: "4a-account",
|
|
398
|
-
label: "账号管理",
|
|
399
|
-
icon: /* @__PURE__ */ e(Le, {}),
|
|
400
|
-
path: "/ctc/4a/account",
|
|
401
|
-
desc: "用户账号创建、编辑与状态管理"
|
|
402
|
-
},
|
|
403
|
-
{
|
|
404
|
-
key: "4a-app",
|
|
405
|
-
label: "应用管理",
|
|
406
|
-
icon: /* @__PURE__ */ e(I, {}),
|
|
407
|
-
path: "/ctc/4a/application",
|
|
408
|
-
desc: "应用注册、资源与权限配置"
|
|
409
|
-
},
|
|
410
|
-
{
|
|
411
|
-
key: "4a-org",
|
|
412
|
-
label: "组织管理",
|
|
413
|
-
icon: /* @__PURE__ */ e(ke, {}),
|
|
414
|
-
path: "/ctc/4a/org",
|
|
415
|
-
desc: "组织架构与部门管理"
|
|
416
|
-
},
|
|
417
|
-
{
|
|
418
|
-
key: "4a-permission",
|
|
419
|
-
label: "权限管理",
|
|
420
|
-
icon: /* @__PURE__ */ e(ge, {}),
|
|
421
|
-
path: "/ctc/4a/permission",
|
|
422
|
-
desc: "角色、权限点与权限树(角色管理已并入本项)"
|
|
423
|
-
}
|
|
424
|
-
]
|
|
425
|
-
},
|
|
426
|
-
// 「开发与工具」组已删(2026-11-11):脚本中心/短链管理/WebIDE 容器 并入「基础服务」,
|
|
427
|
-
// 研发中心入口由研发工作台面(/workspace?mode=dev → /lc/*)承担,系统面不再单列。
|
|
428
|
-
// 「产品认知」组已删(2026-11-11):顶栏「产品」大 tab(ProductApp,/z-product/*)完整承载
|
|
429
|
-
// 工坊/小册子/全景/蓝图/统一语言/领域模型/用户链路/设计稿,系统面不再重复出入口;
|
|
430
|
-
// 路由本身不动,旧深链仍可达。
|
|
431
|
-
// 「业务流程」组已删(2026-11-11):流程中心/任务中心/订阅中心/项目中心 四个中心
|
|
432
|
-
// 以二级子菜单并入「基础服务」组(见 MIDDLEWARE_SERVICES_GROUP 内 biz-* 四项)。
|
|
433
|
-
et,
|
|
434
|
-
tt,
|
|
435
|
-
at
|
|
436
|
-
], nt = [...Ae, Xe];
|
|
437
|
-
function ct({
|
|
438
|
-
activePathOverride: a,
|
|
439
|
-
menuOnly: s = !1,
|
|
440
|
-
visibleGroups: p,
|
|
441
|
-
sidebarWidth: b
|
|
442
|
-
} = {}) {
|
|
443
|
-
const u = ue(), { pathname: E } = W(), g = w(
|
|
444
|
-
() => p ? nt.filter((c) => p.includes(c.title)) : Ae,
|
|
445
|
-
[p]
|
|
446
|
-
), z = se((c) => c.permissionState), G = se((c) => c.currentUser), y = w(
|
|
447
|
-
() => z === "failed" ? g : Ue(g, G),
|
|
448
|
-
[g, G, z]
|
|
449
|
-
), [x, q] = F(/* @__PURE__ */ new Set()), [N, k] = F(/* @__PURE__ */ new Set()), m = w(() => {
|
|
450
|
-
var h;
|
|
451
|
-
const c = a ?? E;
|
|
452
|
-
return ((h = y.flatMap((l) => D(l.items)).find(
|
|
453
|
-
(l) => l.path === c
|
|
454
|
-
)) == null ? void 0 : h.key) ?? null;
|
|
455
|
-
}, [a, E, y]);
|
|
456
|
-
we(() => {
|
|
457
|
-
m && y.forEach((c) => {
|
|
458
|
-
const h = c.items.find(
|
|
459
|
-
(l) => l.key === m || D([l]).some((i) => i.key === m)
|
|
460
|
-
);
|
|
461
|
-
h && (q(
|
|
462
|
-
(l) => l.has(c.title) ? l : new Set(l).add(c.title)
|
|
463
|
-
), h.children && k(
|
|
464
|
-
(l) => l.has(h.key) ? l : new Set(l).add(h.key)
|
|
465
|
-
));
|
|
466
|
-
});
|
|
467
|
-
}, [m, y]);
|
|
468
|
-
const Se = (c) => {
|
|
469
|
-
q((h) => {
|
|
470
|
-
const l = new Set(h);
|
|
471
|
-
return l.has(c) ? l.delete(c) : l.add(c), l;
|
|
472
|
-
});
|
|
473
|
-
}, Pe = (c) => {
|
|
474
|
-
k((h) => {
|
|
475
|
-
const l = new Set(h);
|
|
476
|
-
return l.has(c) ? l.delete(c) : l.add(c), l;
|
|
477
|
-
});
|
|
478
|
-
}, K = (c) => {
|
|
479
|
-
c.path && u(c.path);
|
|
480
|
-
}, S = y.flatMap((c) => D(c.items)).find(
|
|
481
|
-
(c) => c.key === m
|
|
482
|
-
);
|
|
483
|
-
return /* @__PURE__ */ r("div", { className: n.container, children: [
|
|
484
|
-
/* @__PURE__ */ r(
|
|
485
|
-
"aside",
|
|
486
|
-
{
|
|
487
|
-
className: n.sidebar,
|
|
488
|
-
style: b ? { width: b, minWidth: b } : void 0,
|
|
489
|
-
children: [
|
|
490
|
-
/* @__PURE__ */ e(je, {}),
|
|
491
|
-
/* @__PURE__ */ e("nav", { className: n.menuList, children: y.map((c) => {
|
|
492
|
-
const h = x.has(c.title), l = m ? c.items.findIndex(
|
|
493
|
-
(i) => i.key === m || D([i]).some((_) => _.key === m)
|
|
494
|
-
) : -1;
|
|
495
|
-
return /* @__PURE__ */ r("div", { className: n.menuGroup, children: [
|
|
496
|
-
/* @__PURE__ */ r(
|
|
497
|
-
"div",
|
|
498
|
-
{
|
|
499
|
-
className: `${n.menuGroupHeader} ${h ? n.menuGroupHeaderOpen : ""} ${l >= 0 ? n.menuGroupHeaderActive : ""}`,
|
|
500
|
-
onClick: () => Se(c.title),
|
|
501
|
-
children: [
|
|
502
|
-
/* @__PURE__ */ e("span", { className: n.menuGroupIcon, children: c.icon }),
|
|
503
|
-
/* @__PURE__ */ e("span", { className: n.menuGroupLabel, children: c.title }),
|
|
504
|
-
/* @__PURE__ */ e("span", { className: n.menuGroupArrow, children: h ? /* @__PURE__ */ e(ce, {}) : /* @__PURE__ */ e(oe, {}) })
|
|
505
|
-
]
|
|
506
|
-
}
|
|
507
|
-
),
|
|
508
|
-
h && /* @__PURE__ */ e("ul", { className: n.menuSubList, children: c.items.map((i, _) => {
|
|
509
|
-
const V = l >= 0 && _ <= l;
|
|
510
|
-
if (!i.children)
|
|
511
|
-
return /* @__PURE__ */ e(
|
|
512
|
-
"li",
|
|
513
|
-
{
|
|
514
|
-
className: `${n.menuSubItem} ${V ? n.menuItemOnPath : ""} ${m === i.key ? n.menuSubItemActive : ""}`,
|
|
515
|
-
onClick: () => K(i),
|
|
516
|
-
children: /* @__PURE__ */ r("div", { className: n.menuSubItemPill, children: [
|
|
517
|
-
i.icon ? /* @__PURE__ */ e("span", { className: n.menuSubItemIcon, children: i.icon }) : null,
|
|
518
|
-
/* @__PURE__ */ e("span", { children: i.label })
|
|
519
|
-
] })
|
|
520
|
-
},
|
|
521
|
-
i.key
|
|
522
|
-
);
|
|
523
|
-
const Y = l === _ ? i.children.findIndex((f) => f.key === m) : -1;
|
|
524
|
-
return /* @__PURE__ */ r(
|
|
525
|
-
"li",
|
|
526
|
-
{
|
|
527
|
-
className: `${n.menuSubGroup} ${V ? n.menuItemOnPath : ""}`,
|
|
528
|
-
children: [
|
|
529
|
-
/* @__PURE__ */ r(
|
|
530
|
-
"div",
|
|
531
|
-
{
|
|
532
|
-
className: `${n.menuSubGroupHeader} ${N.has(i.key) ? n.menuSubGroupHeaderOpen : ""} ${l === _ ? n.menuSubGroupHeaderActive : ""}`,
|
|
533
|
-
onClick: () => Pe(i.key),
|
|
534
|
-
children: [
|
|
535
|
-
/* @__PURE__ */ e("span", { className: n.menuGroupIcon, children: i.icon }),
|
|
536
|
-
/* @__PURE__ */ e("span", { className: n.menuSubGroupLabel, children: i.label }),
|
|
537
|
-
/* @__PURE__ */ e("span", { className: n.menuGroupArrow, children: N.has(i.key) ? /* @__PURE__ */ e(ce, {}) : /* @__PURE__ */ e(oe, {}) })
|
|
538
|
-
]
|
|
539
|
-
}
|
|
540
|
-
),
|
|
541
|
-
N.has(i.key) && /* @__PURE__ */ e("ul", { className: n.menuSubList, children: i.children.map((f, Oe) => /* @__PURE__ */ e(
|
|
542
|
-
"li",
|
|
543
|
-
{
|
|
544
|
-
className: `${n.menuSubItem} ${Y >= 0 && Oe <= Y ? n.menuItemOnPath : ""} ${m === f.key ? n.menuSubItemActive : ""}`,
|
|
545
|
-
onClick: () => K(f),
|
|
546
|
-
children: /* @__PURE__ */ r("div", { className: n.menuSubItemPill, children: [
|
|
547
|
-
f.icon ? /* @__PURE__ */ e("span", { className: n.menuSubItemIcon, children: f.icon }) : null,
|
|
548
|
-
/* @__PURE__ */ e("span", { children: f.label })
|
|
549
|
-
] })
|
|
550
|
-
},
|
|
551
|
-
f.key
|
|
552
|
-
)) })
|
|
553
|
-
]
|
|
554
|
-
},
|
|
555
|
-
i.key
|
|
556
|
-
);
|
|
557
|
-
}) })
|
|
558
|
-
] }, c.title);
|
|
559
|
-
}) })
|
|
560
|
-
]
|
|
561
|
-
}
|
|
562
|
-
),
|
|
563
|
-
s ? null : /* @__PURE__ */ e("main", { className: n.main, children: S ? /* @__PURE__ */ r("div", { className: n.detailPanel, children: [
|
|
564
|
-
/* @__PURE__ */ r("div", { className: n.detailHeader, children: [
|
|
565
|
-
/* @__PURE__ */ e("div", { className: n.detailIcon, children: S.icon }),
|
|
566
|
-
/* @__PURE__ */ r("div", { children: [
|
|
567
|
-
/* @__PURE__ */ e("h2", { className: n.detailTitle, children: S.label }),
|
|
568
|
-
/* @__PURE__ */ e("p", { className: n.detailDesc, children: S.desc })
|
|
569
|
-
] })
|
|
570
|
-
] }),
|
|
571
|
-
/* @__PURE__ */ e("div", { className: n.detailAction, children: /* @__PURE__ */ r(
|
|
572
|
-
"button",
|
|
573
|
-
{
|
|
574
|
-
className: n.goBtn,
|
|
575
|
-
onClick: () => u(S.path),
|
|
576
|
-
children: [
|
|
577
|
-
"进入 ",
|
|
578
|
-
S.label
|
|
579
|
-
]
|
|
580
|
-
}
|
|
581
|
-
) })
|
|
582
|
-
] }) : /* @__PURE__ */ r("div", { className: n.emptyState, children: [
|
|
583
|
-
/* @__PURE__ */ e(I, { style: { fontSize: 48, color: "#ccc" } }),
|
|
584
|
-
/* @__PURE__ */ e("p", { children: "点击左侧菜单进入对应功能模块" })
|
|
585
|
-
] }) })
|
|
586
|
-
] });
|
|
587
|
-
}
|
|
588
|
-
const ot = "/api/graph";
|
|
589
|
-
let ie = !1;
|
|
590
|
-
function lt() {
|
|
591
|
-
ie || (ie = !0, Qe(ot));
|
|
592
|
-
}
|
|
593
|
-
const st = "_shellWrap_11zl4_6", it = "_shell_11zl4_6", rt = "_dragBar_11zl4_31", pt = "_dragBarActive_11zl4_52", mt = "_main_11zl4_56", ht = "_productBanner_11zl4_68", dt = "_productBannerLabel_11zl4_80", ut = "_productBannerName_11zl4_86", bt = "_productBannerCode_11zl4_94", kt = "_productBannerBack_11zl4_99", gt = "_empty_11zl4_116", yt = "_emptyIcon_11zl4_126", ft = "_emptyText_11zl4_131", d = {
|
|
594
|
-
shellWrap: st,
|
|
595
|
-
shell: it,
|
|
596
|
-
dragBar: rt,
|
|
597
|
-
dragBarActive: pt,
|
|
598
|
-
main: mt,
|
|
599
|
-
productBanner: ht,
|
|
600
|
-
productBannerLabel: dt,
|
|
601
|
-
productBannerName: ut,
|
|
602
|
-
productBannerCode: bt,
|
|
603
|
-
productBannerBack: kt,
|
|
604
|
-
empty: gt,
|
|
605
|
-
emptyIcon: yt,
|
|
606
|
-
emptyText: ft
|
|
607
|
-
};
|
|
608
|
-
We();
|
|
609
|
-
const t = (a, s) => v(() => a().then((p) => ({ default: p[s] }))), vt = t(() => import("@yuku123/z-ctc-component"), "AccountManagement"), At = t(() => import("@yuku123/z-ctc-component"), "ApplicationManagement"), St = t(() => import("@yuku123/z-ctc-component"), "AuditPage"), Pt = t(() => import("@yuku123/z-ctc-component"), "CtcOverview"), Ot = t(() => import("@yuku123/z-ctc-component"), "DictPage"), wt = t(() => import("@yuku123/z-ctc-component"), "OrgPage"), Nt = t(() => import("@yuku123/z-ctc-component"), "PermissionManagement"), re = t(() => import("@yuku123/z-ctc-component"), "SurlManagement"), _t = t(() => import("@yuku123/z-ctc-component"), "TenantManagement"), Mt = t(() => import("@yuku123/z-agent-component"), "AgentAppList"), Ct = t(() => import("@yuku123/z-agent-component"), "AgentDashboard"), Dt = t(() => import("@yuku123/z-agent-component"), "AkManage"), It = t(() => import("@yuku123/z-agent-component"), "BucketList"), Bt = t(() => import("@yuku123/z-agent-component"), "LlmManage"), Et = t(() => import("@yuku123/z-agent-component"), "McpPage"), zt = t(() => import("@yuku123/z-agent-component"), "ObjectBrowser"), Gt = t(() => import("@yuku123/z-agent-component"), "ScriptCenterPage"), O = t(() => import("@yuku123/z-agent-component"), "ScriptProductizationPage"), qt = t(() => import("@yuku123/z-agent-component"), "SkillMarket"), Tt = t(() => import("./common-Bcnlb4nY.js"), "AgentTeamIM"), pe = t(() => import("./common-Bcnlb4nY.js"), "DebugPlayground"), Lt = t(() => import("./common-Bcnlb4nY.js"), "Overview"), me = t(() => import("./common-Bcnlb4nY.js"), "Webide"), Rt = v(() => import("./OnboardingPage-B4GQTFCS.js")), xt = v(() => import("./InvitationManagementPage-DRC_8AiO.js")), $t = t(() => import("@yuku123/z-config-component"), "ConfigApp"), Ut = t(() => import("@yuku123/z-task-component"), "TaskApp"), jt = t(() => import("@yuku123/z-wf-component"), "WorkflowApp"), Wt = t(() => import("@yuku123/z-schedule-component"), "ScheduleApp"), Ht = t(() => import("@yuku123/z-mist-component"), "MistApp"), Kt = t(() => import("@yuku123/z-meta-component"), "MetaApp"), Vt = t(() => import("@yuku123/z-msg-component"), "MsgApp"), Yt = t(() => import("@yuku123/z-rpc-component"), "RpcApp"), Ft = t(() => import("@yuku123/z-vector-component"), "VectorApp"), Qt = t(() => import("@yuku123/z-graph-component"), "GraphApp"), Zt = t(() => import("@yuku123/z-gw-component"), "GwApp"), Xt = t(() => import("@yuku123/z-cache-component"), "CacheApp"), Jt = t(() => import("@yuku123/z-mq-component"), "MqApp"), ea = t(() => import("@yuku123/z-oss-component"), "OssApp"), ta = v(() => import("./ComponentDoc-BIX-e69A.js").then((a) => a.cm)), aa = v(() => import("./ComponentDoc-BIX-e69A.js").then((a) => a.cn)), na = t(() => import("@yuku123/z-config-component"), "ComponentDocPage"), ca = t(() => import("@yuku123/z-task-component"), "ComponentDocPage"), oa = t(() => import("@yuku123/z-wf-component"), "ComponentDocPage"), la = t(() => import("@yuku123/z-schedule-component"), "ComponentDocPage"), sa = t(() => import("@yuku123/z-mist-component"), "ComponentDocPage"), ia = t(() => import("@yuku123/z-meta-component"), "ComponentDocPage"), ra = t(() => import("@yuku123/z-msg-component"), "ComponentDocPage"), pa = t(() => import("@yuku123/z-rpc-component"), "ComponentDocPage"), ma = t(() => import("@yuku123/z-product-component"), "ComponentDocPage"), ha = t(() => import("@yuku123/z-oss-component"), "ComponentDocPage"), da = t(() => import("@yuku123/z-vector-component"), "ComponentDocPage"), ua = t(() => import("@yuku123/z-graph-component"), "ComponentDocPage"), ba = t(() => import("@yuku123/z-gw-component"), "ComponentDocPage"), ka = t(() => import("@yuku123/z-cache-component"), "ComponentDocPage"), ga = t(() => import("@yuku123/z-mq-component"), "ComponentDocPage"), ya = t(() => import("@yuku123/z-ctc-component"), "ComponentDocPage"), fa = t(() => import("@yuku123/z-agent-component"), "ComponentDocPage"), va = t(() => import("@yuku123/z-lc-component"), "ComponentDocPage"), Aa = t(() => import("@yuku123/z-qa-component"), "ComponentDocPage"), Sa = v(() => import("./AdminModuleContent-B1IJbLVN.js"));
|
|
610
|
-
function Pa() {
|
|
611
|
-
return lt(), /* @__PURE__ */ e(Qt, {});
|
|
612
|
-
}
|
|
613
|
-
const Oa = v(() => import("./ComponentDoc-BIX-e69A.js").then((a) => a.cl)), he = v(() => import("@yuku123/z-qa-component"));
|
|
614
|
-
function wa() {
|
|
615
|
-
return /* @__PURE__ */ r("div", { className: d.empty, children: [
|
|
616
|
-
/* @__PURE__ */ e("div", { className: d.emptyIcon, children: "📋" }),
|
|
617
|
-
/* @__PURE__ */ e("div", { className: d.emptyText, children: "请从左侧菜单选择模块" })
|
|
618
|
-
] });
|
|
619
|
-
}
|
|
620
|
-
function Na() {
|
|
621
|
-
const { pathname: a } = W();
|
|
622
|
-
return /* @__PURE__ */ e(o, { to: a.replace(/^\/product/, "/z-product"), replace: !0 });
|
|
623
|
-
}
|
|
624
|
-
const _a = [
|
|
625
|
-
// ─── 顶层 / 概览 ───
|
|
626
|
-
{ path: "/overview", element: /* @__PURE__ */ e(Lt, {}) },
|
|
627
|
-
// ─── 4A 中心 (/ctc/*) ───
|
|
628
|
-
{ path: "/ctc", element: /* @__PURE__ */ e(o, { to: "/ctc/4a/account", replace: !0 }) },
|
|
629
|
-
{ path: "/ctc/4a/account", element: /* @__PURE__ */ e(vt, {}) },
|
|
630
|
-
// 角色管理已并入权限管理(CEO 2026-11-11):角色是权限点的命名集合,
|
|
631
|
-
// 拆成两个顶级菜单时用户得在两张表之间来回对照才能回答「这角色能干什么」。
|
|
632
|
-
// 老深链 /ctc/4a/role 仍然可达 —— 落到合并页的「角色」视图。
|
|
633
|
-
{ path: "/ctc/4a/role", element: /* @__PURE__ */ e(o, { to: "/ctc/4a/permission?view=roles", replace: !0 }) },
|
|
634
|
-
{ path: "/ctc/4a/application", element: /* @__PURE__ */ e(At, {}) },
|
|
635
|
-
{ path: "/ctc/4a/tenant", element: /* @__PURE__ */ e(_t, {}) },
|
|
636
|
-
{ path: "/ctc/4a/org", element: /* @__PURE__ */ e(wt, {}) },
|
|
637
|
-
{ path: "/ctc/4a/permission", element: /* @__PURE__ */ e(Nt, {}) },
|
|
638
|
-
{ path: "/ctc/4a/surl", element: /* @__PURE__ */ e(re, {}) },
|
|
639
|
-
{ path: "/ctc/dict", element: /* @__PURE__ */ e(Ot, {}) },
|
|
640
|
-
{ path: "/ctc/overview", element: /* @__PURE__ */ e(Pt, {}) },
|
|
641
|
-
{ path: "/ctc/audit", element: /* @__PURE__ */ e(St, {}) },
|
|
642
|
-
{ path: "/ctc/webide", element: /* @__PURE__ */ e(me, {}) },
|
|
643
|
-
{ path: "/ctc/agent-team", element: /* @__PURE__ */ e(Tt, {}) },
|
|
644
|
-
{ path: "/ctc/invitation", element: /* @__PURE__ */ e(xt, {}) },
|
|
645
|
-
{ path: "/onboarding", element: /* @__PURE__ */ e(Rt, {}) },
|
|
646
|
-
// ─── 智能中心 (/ai/*) ───
|
|
647
|
-
{ path: "/ai", element: /* @__PURE__ */ e(o, { to: "/ai/agent/app", replace: !0 }) },
|
|
648
|
-
{ path: "/ai/agent", element: /* @__PURE__ */ e(o, { to: "/ai/agent/app", replace: !0 }) },
|
|
649
|
-
{ path: "/ai/agent/app", element: /* @__PURE__ */ e(Mt, {}) },
|
|
650
|
-
{ path: "/ai/llm", element: /* @__PURE__ */ e(Bt, {}) },
|
|
651
|
-
{ path: "/ai/llm/provider", element: /* @__PURE__ */ e(o, { to: "/ai/llm", replace: !0 }) },
|
|
652
|
-
{ path: "/ai/llm/model", element: /* @__PURE__ */ e(o, { to: "/ai/llm", replace: !0 }) },
|
|
653
|
-
{ path: "/ai/usage", element: /* @__PURE__ */ e(o, { to: "/ai/llm", replace: !0 }) },
|
|
654
|
-
{ path: "/ai/ak", element: /* @__PURE__ */ e(Dt, {}) },
|
|
655
|
-
{ path: "/ai/mcp", element: /* @__PURE__ */ e(Et, {}) },
|
|
656
|
-
{ path: "/ai/skill", element: /* @__PURE__ */ e(qt, {}) },
|
|
657
|
-
{ path: "/ai/oss", element: /* @__PURE__ */ e(o, { to: "/ai/oss/bucket", replace: !0 }) },
|
|
658
|
-
{ path: "/ai/oss/bucket", element: /* @__PURE__ */ e(It, {}) },
|
|
659
|
-
{ path: "/ai/oss/bucket/:bucketName", element: /* @__PURE__ */ e(zt, {}) },
|
|
660
|
-
{ path: "/ai/trace", element: /* @__PURE__ */ e(pe, {}) },
|
|
661
|
-
{ path: "/ai/trace/debug", element: /* @__PURE__ */ e(pe, {}) },
|
|
662
|
-
{ path: "/ai/dashboard", element: /* @__PURE__ */ e(Ct, {}) },
|
|
663
|
-
// 多 Agent 实例 / 模板市场已下线 (2026-10-22): 模板并入 Agent 应用页,
|
|
664
|
-
// 旧深链重定向, 别再回到独立菜单
|
|
665
|
-
{ path: "/ai/template", element: /* @__PURE__ */ e(o, { to: "/ai/agent/app", replace: !0 }) },
|
|
666
|
-
{ path: "/ai/agent-instance", element: /* @__PURE__ */ e(o, { to: "/ai/agent/app", replace: !0 }) },
|
|
667
|
-
{ path: "/ai/agent/instances", element: /* @__PURE__ */ e(o, { to: "/ai/agent/app", replace: !0 }) },
|
|
668
|
-
// ─── 配置中心 ───
|
|
669
|
-
{ path: "/config/*", element: /* @__PURE__ */ e($t, {}) },
|
|
670
|
-
// ─── 任务中心 ───
|
|
671
|
-
// 模块根路径要重定向到默认页:通配 /task/* 匹配不到裸 /task(matchPattern 要求
|
|
672
|
-
// 前缀带斜杠),落到 SystemShellEmpty 就是一句"请从左侧菜单选择模块"的空壳。
|
|
673
|
-
{ path: "/task", element: /* @__PURE__ */ e(o, { to: "/task/dashboard", replace: !0 }) },
|
|
674
|
-
{ path: "/task/*", element: /* @__PURE__ */ e(Ut, {}) },
|
|
675
|
-
// ─── 流程中心 ───
|
|
676
|
-
{ path: "/workflow", element: /* @__PURE__ */ e(o, { to: "/workflow/dashboard", replace: !0 }) },
|
|
677
|
-
{ path: "/workflow/*", element: /* @__PURE__ */ e(jt, {}) },
|
|
678
|
-
// ─── 调度中心 ───
|
|
679
|
-
// 默认页是 jobs:z-schedule-component 的路由只有 jobs / group / log,没有 dashboard。
|
|
680
|
-
{ path: "/schedule", element: /* @__PURE__ */ e(o, { to: "/schedule/jobs", replace: !0 }) },
|
|
681
|
-
{ path: "/schedule/*", element: /* @__PURE__ */ e(Wt, {}) },
|
|
682
|
-
// ─── 密钥中心 ───
|
|
683
|
-
{ path: "/mist/*", element: /* @__PURE__ */ e(Ht, {}) },
|
|
684
|
-
// ─── 中间件(大需求 004)— 2026-11-11 中间件面整并入系统面「基础服务」分组,
|
|
685
|
-
// 系统面成为这批前缀的唯一宿主(原 MiddlewareWorkbench 已删)。菜单在 SystemWorkbench
|
|
686
|
-
// 「基础服务」分组,数据真源 MiddlewareWorkbench/menuData.tsx;前缀口径与
|
|
687
|
-
// businessFace.ts(这些前缀现归系统面)一一对齐。
|
|
688
|
-
{ path: "/meta", element: /* @__PURE__ */ e(o, { to: "/meta/app", replace: !0 }) },
|
|
689
|
-
{ path: "/meta/*", element: /* @__PURE__ */ e(Kt, {}) },
|
|
690
|
-
{ path: "/msg", element: /* @__PURE__ */ e(o, { to: "/msg/inbox", replace: !0 }) },
|
|
691
|
-
{ path: "/msg/*", element: /* @__PURE__ */ e(Vt, {}) },
|
|
692
|
-
{ path: "/rpc", element: /* @__PURE__ */ e(o, { to: "/rpc/service", replace: !0 }) },
|
|
693
|
-
{ path: "/rpc/*", element: /* @__PURE__ */ e(Yt, {}) },
|
|
694
|
-
// 向量检索:REST 面是内嵌 QdrantRestServer(非 Spring MVC),经 z-opc 的 /api/vector/** 代理出去
|
|
695
|
-
{ path: "/vector", element: /* @__PURE__ */ e(o, { to: "/vector/collections", replace: !0 }) },
|
|
696
|
-
{ path: "/vector/*", element: /* @__PURE__ */ e(Ft, {}) },
|
|
697
|
-
// 图数据库:REST 面是内嵌 GraphControlServer,经 z-opc 的 /api/graph/** 代理出去
|
|
698
|
-
// ⚠ 内嵌端口是 8091 不是 8090:8090 归一个外部进程,且被 BizKnowledgeGraphService 当业务依赖在用
|
|
699
|
-
{ path: "/graph", element: /* @__PURE__ */ e(o, { to: "/graph/schema", replace: !0 }) },
|
|
700
|
-
{ path: "/graph/*", element: /* @__PURE__ */ e(Pa, {}) },
|
|
701
|
-
// 网关:admin 面是 z-gw-admin 的原生 Spring MVC;页面一律走 z-opc 自己的环回代理 GET /api/gw/**
|
|
702
|
-
{ path: "/gw", element: /* @__PURE__ */ e(o, { to: "/gw/routes", replace: !0 }) },
|
|
703
|
-
{ path: "/gw/*", element: /* @__PURE__ */ e(Zt, {}) },
|
|
704
|
-
// 缓存:/api/cache/** 是 CacheProxyController 在 JVM 内读 MemoryStore + 只读命令拼出的结构化 JSON
|
|
705
|
-
{ path: "/cache", element: /* @__PURE__ */ e(o, { to: "/cache/overview", replace: !0 }) },
|
|
706
|
-
{ path: "/cache/*", element: /* @__PURE__ */ e(Xt, {}) },
|
|
707
|
-
// 消息队列::9877/:10912 是 z-mq-remoting 的 Netty 私有二进制协议,/api/mq/** 是协议适配器
|
|
708
|
-
{ path: "/mq", element: /* @__PURE__ */ e(o, { to: "/mq/instance", replace: !0 }) },
|
|
709
|
-
{ path: "/mq/*", element: /* @__PURE__ */ e(Jt, {}) },
|
|
710
|
-
// 知识库旧中间件面入口(2026-11-11 摘除菜单):认知工作台的「知识管理」段
|
|
711
|
-
// (/z-kb/*,CognitionWorkbench) 已完整承载 z-kb,旧深链一律重定向过去。
|
|
712
|
-
{ path: "/kb/*", element: /* @__PURE__ */ e(o, { to: "/z-kb/dashboard", replace: !0 }) },
|
|
713
|
-
// 对象存储(z-oss):走 z-opc 侧 /api/oss-admin/**,不再需要 AK/SK 下发
|
|
714
|
-
{ path: "/oss", element: /* @__PURE__ */ e(o, { to: "/oss/buckets", replace: !0 }) },
|
|
715
|
-
{ path: "/oss/*", element: /* @__PURE__ */ e(ea, {}) },
|
|
716
|
-
// ─── 订阅中心 ───
|
|
717
|
-
{ path: "/subscribe", element: /* @__PURE__ */ e(o, { to: "/subscribe/list", replace: !0 }) },
|
|
718
|
-
{ path: "/subscribe/*", element: /* @__PURE__ */ e(ta, {}) },
|
|
719
|
-
// ─── 产品工作台 z-product (2026-10-21 接入) ───
|
|
720
|
-
// /z-product/* 由 z-product 组件自己的 ProductApp 渲染(内部按 manifest 的绝对路径手工匹配,
|
|
721
|
-
// 不用嵌套 <Routes>:这里没有 Route 父上下文,绝对路径不会被再拼一次父前缀)。
|
|
722
|
-
// §14:z-product 的菜单 key / 路由 path 一律带产品名前缀(/z-product/xxx),
|
|
723
|
-
// 避免 /board、/products 这类短路径跟宿主自己的同名路由撞车。
|
|
724
|
-
// 产品域的默认落地页是工坊:它是「一个面板干完产品业务开发」的入口,
|
|
725
|
-
// 全景/蓝图是看板,不是第一动作。
|
|
726
|
-
{ path: "/z-product", element: /* @__PURE__ */ e(o, { to: "/z-product/atelier", replace: !0 }) },
|
|
727
|
-
{ path: "/z-product/*", element: /* @__PURE__ */ e(Ve, { basePath: "/z-product" }) },
|
|
728
|
-
// 旧前缀 /product/* → 新前缀 /z-product/*:§14 前缀化之前的老 URL 仍可达(书签 / 旧分享链接)。
|
|
729
|
-
{ path: "/product", element: /* @__PURE__ */ e(o, { to: "/z-product/atelier", replace: !0 }) },
|
|
730
|
-
{ path: "/product/*", element: /* @__PURE__ */ e(Na, {}) },
|
|
731
|
-
// ─── 项目中心 ───
|
|
732
|
-
{ path: "/project", element: /* @__PURE__ */ e(o, { to: "/project/list", replace: !0 }) },
|
|
733
|
-
{ path: "/project/*", element: /* @__PURE__ */ e(aa, {}) },
|
|
734
|
-
// ─── 脚本中心 (/script/*) — FEATURE052 ───
|
|
735
|
-
{ path: "/script", element: /* @__PURE__ */ e(o, { to: "/script/manage", replace: !0 }) },
|
|
736
|
-
{ path: "/script/manage", element: /* @__PURE__ */ e(Gt, {}) },
|
|
737
|
-
{ path: "/script/productization", element: /* @__PURE__ */ e(O, {}) },
|
|
738
|
-
// 脚本治理五条(2026-11-11 随中间件面并入):组件自带 5 个 Tab,
|
|
739
|
-
// 按「一个能力一条菜单」把 Tab 键透传成 initialTab,精确路径匹配先于 /script 通配。
|
|
740
|
-
{ path: "/script/keys", element: /* @__PURE__ */ e(O, { initialTab: "apikey" }) },
|
|
741
|
-
{ path: "/script/monitor", element: /* @__PURE__ */ e(O, { initialTab: "monitor" }) },
|
|
742
|
-
{ path: "/script/quota", element: /* @__PURE__ */ e(O, { initialTab: "quota" }) },
|
|
743
|
-
{ path: "/script/version", element: /* @__PURE__ */ e(O, { initialTab: "version" }) },
|
|
744
|
-
{ path: "/script/tag", element: /* @__PURE__ */ e(O, { initialTab: "tag" }) },
|
|
745
|
-
// ─── 工具中心 (/z-tool/*) — FEATURE054 ───
|
|
746
|
-
{ path: "/z-tool", element: /* @__PURE__ */ e(o, { to: "/z-tool/curl", replace: !0 }) },
|
|
747
|
-
{ path: "/z-tool/curl", element: /* @__PURE__ */ e(re, {}) },
|
|
748
|
-
{ path: "/z-tool/webide", element: /* @__PURE__ */ e(me, {}) },
|
|
749
|
-
// ─── 测试中心 (/test/*) — FEATURE061 ───
|
|
750
|
-
{ path: "/test", element: /* @__PURE__ */ e(o, { to: "/test/qa/dashboard", replace: !0 }) },
|
|
751
|
-
{ path: "/test/mock", element: /* @__PURE__ */ e(Oa, {}) },
|
|
752
|
-
// QAApp 按 pathname 手动分发子页(非嵌套 <Routes>),挂载前缀推断依赖
|
|
753
|
-
// 路径里有 /qa 段。?mode=test 合成挂载时真实 pathname 是 /workspace(无 qa 段)
|
|
754
|
-
// ⇒ 显式传 mountPath, 否则被库 default 分支 <Navigate> 到 /dashboard(2026-11-11 实测)。
|
|
755
|
-
{ path: "/test/qa", element: /* @__PURE__ */ e(he, { mountPath: "/test/qa" }) },
|
|
756
|
-
{ path: "/test/qa/*", element: /* @__PURE__ */ e(he, { mountPath: "/test/qa" }) },
|
|
757
|
-
// ─── 低代码 ───
|
|
758
|
-
// /lc/* 刻意不在这里注册。它早就迁到 src/lc/(TS 重写), 挂载点是
|
|
759
|
-
// main.jsx 的 <Route path="/lc/*" element={<ZTeamApp forcedMode="dev"/>}/>,
|
|
760
|
-
// 由 DevWorkbench 把 pathname 原样交给 @/lc 自己的嵌套 <Routes>。
|
|
761
|
-
// 本表早先还挂着一行 {path:'/lc/*', element:<LcIndex/>}, 它的 import 写的是
|
|
762
|
-
// '@/pages/lc' —— 该别名解析到 src/zteam/pages/lc(不存在), 真身在 src/lc,
|
|
763
|
-
// 于是这行既解析不了、又因 main.jsx 先消费了 /lc/* 而永远不可达。
|
|
764
|
-
// /form/:entity 与 /form/_model 是 z-lc Phase 1 手写原型的两条 URL
|
|
765
|
-
// (LowCodeModel 实体字段编辑器 / LowCodeRuntime 通用 CRUD), 现已由
|
|
766
|
-
// @yuku123/z-lc-component 承接 —— 它是同一套 /api/lc 后端的完整前端客户,
|
|
767
|
-
// 能力严格更强(designer 模型编辑、workspace 七种视图 CRUD、admin 全套、
|
|
768
|
-
// db-import、AI 建模), 挂在 main.jsx 的 <Route path="/lc/*"> 下经
|
|
769
|
-
// DevWorkbench 的 <LcApp/> 渲染。
|
|
770
|
-
//
|
|
771
|
-
// 不做逐条映射: z-lc 的工作区路由是 /lc/{appCode}/{entityCode}/{viewType},
|
|
772
|
-
// 比 /form/{entityCode} 多一层 appCode, 旧 URL 里没有这个信息, 无法还原。
|
|
773
|
-
// 故统一重定向到应用列表, 由用户自行进入对应应用。
|
|
774
|
-
{ path: "/form/:entity", element: /* @__PURE__ */ e(o, { to: "/lc/apps", replace: !0 }) },
|
|
775
|
-
// ─── 各域组件文档(lead 008 §7)───
|
|
776
|
-
// 放在本表末尾即可:matchSystemPath 是「先全表精确匹配、再全表通配匹配」,
|
|
777
|
-
// 所以 /config/docs 这类精确路径**不会**被上面的 /config/* 吃掉。
|
|
778
|
-
//
|
|
779
|
-
// 为什么路径用宿主前缀(/config/docs)而不是各域 manifest 里的 /z-config/docs:
|
|
780
|
-
// manifest 的 routes 是给**独立壳**用的(suit 里 <Route path={r.path}> 直接铺);
|
|
781
|
-
// 工作台把各域挂在宿主前缀下(/config/* ⇒ ConfigApp 内部相对路由),
|
|
782
|
-
// 两套路径对不上 ⇒ manifest 的 routes 在工作台里不生效,文档页会 404。
|
|
783
|
-
// 这里统一按**宿主前缀**挂,各域自己的 manifest 路径仍然保留给独立壳用。
|
|
784
|
-
//
|
|
785
|
-
// §14 铁律(菜单 key 必须带产品名前缀)针对的是**同一宿主内多套件共存**的撞车问题;
|
|
786
|
-
// 这里每个域的宿主前缀本身就已经是产品名(/config / /task / /workflow …),
|
|
787
|
-
// 且各域之间前缀互不相同 ⇒ 不存在撞车,不需要再加 z- 前缀。
|
|
788
|
-
{ path: "/config/docs", element: /* @__PURE__ */ e(na, {}) },
|
|
789
|
-
{ path: "/task/docs", element: /* @__PURE__ */ e(ca, {}) },
|
|
790
|
-
{ path: "/workflow/docs", element: /* @__PURE__ */ e(oa, {}) },
|
|
791
|
-
{ path: "/schedule/docs", element: /* @__PURE__ */ e(la, {}) },
|
|
792
|
-
{ path: "/mist/docs", element: /* @__PURE__ */ e(sa, {}) },
|
|
793
|
-
{ path: "/meta/docs", element: /* @__PURE__ */ e(ia, {}) },
|
|
794
|
-
{ path: "/msg/docs", element: /* @__PURE__ */ e(ra, {}) },
|
|
795
|
-
{ path: "/rpc/docs", element: /* @__PURE__ */ e(pa, {}) },
|
|
796
|
-
{ path: "/z-product/docs", element: /* @__PURE__ */ e(ma, {}) },
|
|
797
|
-
{ path: "/oss/docs", element: /* @__PURE__ */ e(ha, {}) },
|
|
798
|
-
{ path: "/vector/docs", element: /* @__PURE__ */ e(da, {}) },
|
|
799
|
-
{ path: "/graph/docs", element: /* @__PURE__ */ e(ua, {}) },
|
|
800
|
-
{ path: "/gw/docs", element: /* @__PURE__ */ e(ba, {}) },
|
|
801
|
-
{ path: "/cache/docs", element: /* @__PURE__ */ e(ka, {}) },
|
|
802
|
-
{ path: "/mq/docs", element: /* @__PURE__ */ e(ga, {}) },
|
|
803
|
-
{ path: "/ctc/docs", element: /* @__PURE__ */ e(ya, {}) },
|
|
804
|
-
{ path: "/ai/docs", element: /* @__PURE__ */ e(fa, {}) },
|
|
805
|
-
{ path: "/lc/docs", element: /* @__PURE__ */ e(va, {}) },
|
|
806
|
-
{ path: "/test/qa/docs", element: /* @__PURE__ */ e(Aa, {}) }
|
|
807
|
-
], Ma = [
|
|
808
|
-
// 模块根重定向到默认页(admin 面的无参兜底同样是专家团构建)
|
|
809
|
-
{ path: "/operation", element: /* @__PURE__ */ e(o, { to: "/operation/scenario", replace: !0 }) },
|
|
810
|
-
...ve().map((a) => ({
|
|
811
|
-
path: `/operation/${a.key}`,
|
|
812
|
-
element: /* @__PURE__ */ e(Sa, { menuKey: a.key })
|
|
813
|
-
}))
|
|
814
|
-
], de = [..._a, ...Ma];
|
|
815
|
-
function Ca(a) {
|
|
816
|
-
for (const s of de)
|
|
817
|
-
if (s.path === a) return s.element;
|
|
818
|
-
for (const s of de)
|
|
819
|
-
if (Da(s.path, a)) return s.element;
|
|
820
|
-
return /* @__PURE__ */ e(wa, {});
|
|
821
|
-
}
|
|
822
|
-
function Da(a, s) {
|
|
823
|
-
if (!a.includes("*") && !a.includes(":")) return !1;
|
|
824
|
-
const p = "^" + a.replace(/[.+?^${}()|[\]\\]/g, "\\$&").replace(/\*/g, ".*").replace(/:([a-zA-Z_][a-zA-Z0-9_]*)/g, "[^/]+") + "$";
|
|
825
|
-
return new RegExp(p).test(s);
|
|
826
|
-
}
|
|
827
|
-
function Ua() {
|
|
828
|
-
const a = ue(), { pathname: s, search: p } = W(), b = s.startsWith("/test/") || (() => {
|
|
829
|
-
try {
|
|
830
|
-
return new URLSearchParams(p).get("mode") === "test";
|
|
831
|
-
} catch {
|
|
832
|
-
return !1;
|
|
833
|
-
}
|
|
834
|
-
})(), u = w(() => {
|
|
835
|
-
try {
|
|
836
|
-
const k = new URLSearchParams(p), m = k.get("product");
|
|
837
|
-
return m ? { code: m, name: k.get("productName") || m } : null;
|
|
838
|
-
} catch {
|
|
839
|
-
return null;
|
|
840
|
-
}
|
|
841
|
-
}, [p]), E = Ne(() => {
|
|
842
|
-
if (!u) return;
|
|
843
|
-
const k = new URLSearchParams();
|
|
844
|
-
k.set("product", u.code), u.name && k.set("productName", u.name), a(`/workspace?mode=product&${k.toString()}`);
|
|
845
|
-
}, [u, a]), g = b && !s.startsWith("/test") ? "/test/qa/dashboard" : s, z = w(() => g, [g]), G = w(() => Ca(g), [g]), {
|
|
846
|
-
width: y,
|
|
847
|
-
dragging: x,
|
|
848
|
-
onHandlePointerDown: q,
|
|
849
|
-
resetWidth: N
|
|
850
|
-
} = Ke("zteam.sidebar.system", 220, 200, 480);
|
|
851
|
-
return /* @__PURE__ */ r("div", { className: d.shellWrap, children: [
|
|
852
|
-
u && /* @__PURE__ */ r("div", { className: d.productBanner, children: [
|
|
853
|
-
/* @__PURE__ */ e("span", { className: d.productBannerLabel, children: "📦 当前产品" }),
|
|
854
|
-
/* @__PURE__ */ e("span", { className: d.productBannerName, title: u.name, children: u.name }),
|
|
855
|
-
/* @__PURE__ */ e("span", { className: d.productBannerCode, children: u.code }),
|
|
856
|
-
/* @__PURE__ */ e("button", { type: "button", className: d.productBannerBack, onClick: E, children: "← 返回产品工作台" })
|
|
857
|
-
] }),
|
|
858
|
-
/* @__PURE__ */ r("div", { className: d.shell, children: [
|
|
859
|
-
/* @__PURE__ */ e(
|
|
860
|
-
ct,
|
|
861
|
-
{
|
|
862
|
-
activePathOverride: z,
|
|
863
|
-
menuOnly: !0,
|
|
864
|
-
visibleGroups: b ? ["测试中心"] : void 0,
|
|
865
|
-
sidebarWidth: y
|
|
866
|
-
}
|
|
867
|
-
),
|
|
868
|
-
/* @__PURE__ */ e(
|
|
869
|
-
"div",
|
|
870
|
-
{
|
|
871
|
-
className: `${d.dragBar} ${x ? d.dragBarActive : ""}`,
|
|
872
|
-
onPointerDown: q,
|
|
873
|
-
onDoubleClick: N,
|
|
874
|
-
title: "拖动调整菜单宽度,双击恢复默认"
|
|
875
|
-
}
|
|
876
|
-
),
|
|
877
|
-
/* @__PURE__ */ r("main", { className: d.main, children: [
|
|
878
|
-
/* @__PURE__ */ e(Ye, {}),
|
|
879
|
-
/* @__PURE__ */ e(Fe, { resetKey: s, children: /* @__PURE__ */ e(_e, { fallback: /* @__PURE__ */ e("div", { className: d.empty, children: "加载中…" }), children: G }) })
|
|
880
|
-
] })
|
|
881
|
-
] })
|
|
882
|
-
] });
|
|
883
|
-
}
|
|
884
|
-
export {
|
|
885
|
-
Ua as default
|
|
886
|
-
};
|