@yuku123/z-team-component 0.2.138 → 0.2.140
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-9gH_G78B.js → AdminModuleContent-DDB35gOh.js} +11463 -12034
- package/dist/{ChangeLogView-DzFmZVBw.js → ChangeLogView-AKOZ6Ski.js} +1 -1
- package/dist/{ComponentDoc-KyD5wtuW.js → ComponentDoc-SiXXhka1.js} +204 -212
- package/dist/{InvitationManagementPage-6-0uZNuO.js → InvitationManagementPage-CRbABOKe.js} +1 -1
- package/dist/{OnboardingPage-tLarxnp5.js → OnboardingPage-BNJopRYO.js} +2 -2
- package/dist/{ScheduledTasks-QGmD7Uhz.js → ScheduledTasks-Cn_CEZ-B.js} +3104 -3141
- package/dist/{SystemShell-CWawiWOn.js → SystemShell-B8Tyluzu.js} +170 -162
- package/dist/SystemWorkbench.module-DpLM0zgA.js +36 -0
- package/dist/{admin-logs-DXjxD-y2.js → admin-logs-B3IxooG2.js} +1 -1
- package/dist/{api-Dzr8HLsU.js → api-DW8nsucC.js} +1 -1
- package/dist/{api-DOjASQ0k.js → api-DmBlT5MH.js} +1 -1
- package/dist/{createWorkspaceWsHandler-DCokPv4M.js → createWorkspaceWsHandler-5MHgQGfJ.js} +3417 -3479
- package/dist/{index-PJZV-bFc.js → index-BBLRGBWu.js} +1 -1
- package/dist/{index-4icVyiM3.js → index-BSqUODiN.js} +6 -6
- package/dist/{index-DXA0r7Co.js → index-BT4oQJby.js} +2 -2
- package/dist/{index-DC1fQH0J.js → index-BV64kKse.js} +2 -2
- package/dist/{index-CUOByyqy.js → index-C1nr0UeB.js} +5 -5
- package/dist/index-C24QsGsG.js +576 -0
- package/dist/{index-0AjMJyFL.js → index-C7DSDopw.js} +5 -5
- package/dist/{index-BdEokzAv.js → index-CEoS_jEa.js} +6 -6
- package/dist/{index-8VddM67M.js → index-CJ7dJejJ.js} +2 -2
- package/dist/{index-DZcMGMHV.js → index-CXjen4Gx.js} +292 -292
- package/dist/{index-CjYmL2yJ.js → index-CvHMXrAD.js} +2 -2
- package/dist/{index-Crzx3zh2.js → index-D-G4mbxH.js} +2 -2
- package/dist/{index-CLP0LnEz.js → index-D440bEgm.js} +5 -5
- package/dist/{index-C9NwYJh-.js → index-D7thpI99.js} +1 -1
- package/dist/{index-DGdtqBi4.js → index-DCAO83Wb.js} +4 -4
- package/dist/index-DDOfdrn4.js +9527 -0
- package/dist/{index-DarTFF-M.js → index-DHrMSEVJ.js} +1 -1
- package/dist/{index-ZqDoLUxb.js → index-DULYXalY.js} +1 -1
- package/dist/{index-VqKcDrn3.js → index-DjbLq5lI.js} +2 -2
- package/dist/{index-4NOi2xz4.js → index-Du95tdVf.js} +2 -2
- package/dist/{index-Cwptuq_d.js → index-DvslXAjT.js} +7 -7
- package/dist/{index-BHfNKXIA.js → index-Hv2KDG7i.js} +3 -3
- package/dist/{index-CNmSLd0s.js → index-NIu3OKHi.js} +610 -636
- package/dist/index-QNpTaU--.js +237 -0
- package/dist/{index-B75TTql4.js → index-VmRWH4U5.js} +2 -2
- package/dist/{index-BgdqkNkT.js → index-l9KH8r7F.js} +3 -3
- package/dist/index.js +1 -1
- package/dist/{instance-CDA6R8yG.js → instance-B4SrJ-BY.js} +1 -1
- package/dist/{menuPermission-LCjN8Osm.js → menuPermission-DxknHmt8.js} +3 -3
- package/dist/{menuTree-Ctcz41N8.js → menuTree-BjchjhUw.js} +25 -23
- package/dist/pages.js +1 -1
- package/dist/{send-default-agent-team-message-3Uyy88s_.js → send-default-agent-team-message-DYytBtLc.js} +1 -1
- package/dist/{sso-user-DX2FYQCh.js → sso-user-DN6kSAc0.js} +1 -1
- package/dist/{training-BgYM7EV-.js → training-CKYPSkUP.js} +1 -1
- package/dist/{webide-BsF30aLX.js → webide-JAalC_Wr.js} +213 -213
- package/dist/z-team-component.css +1 -1
- package/package.json +13 -4
- package/dist/SystemWorkbench.module-CZv_ruUa.js +0 -36
- package/dist/index-DhDdFRHC.js +0 -279
- package/dist/index-DxZEpsT6.js +0 -10339
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { jsx as e, jsxs as r } from "react/jsx-runtime";
|
|
2
2
|
import { useNavigate as ue, useLocation as W, Navigate as o } from "react-router-dom";
|
|
3
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
|
|
5
|
-
import { f as
|
|
6
|
-
import { u as se, X as
|
|
7
|
-
import { M as
|
|
8
|
-
import { s as n } from "./SystemWorkbench.module-
|
|
9
|
-
import { ProductApp as
|
|
10
|
-
import { P as
|
|
11
|
-
import { configureGraph as
|
|
12
|
-
const
|
|
4
|
+
import { UnorderedListOutlined as C, HistoryOutlined as Q, ClusterOutlined as M, DashboardOutlined as A, ExperimentOutlined as Ce, 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 Me, 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, BookOutlined as Re, ProjectOutlined as ye, FolderOpenOutlined as xe, DesktopOutlined as fe, CloudOutlined as j, BuildOutlined as $e, CalendarOutlined as L, BarChartOutlined as le, ControlOutlined as Ue } from "@ant-design/icons";
|
|
5
|
+
import { f as je, M as We } from "./menuPermission-DxknHmt8.js";
|
|
6
|
+
import { u as se, X as He } from "./ComponentDoc-SiXXhka1.js";
|
|
7
|
+
import { M as Ke, f as ve, u as Ve } from "./menuTree-BjchjhUw.js";
|
|
8
|
+
import { s as n } from "./SystemWorkbench.module-DpLM0zgA.js";
|
|
9
|
+
import { ProductApp as Ye } from "@yuku123/z-product-component";
|
|
10
|
+
import { P as Fe, R as Qe } from "./index-VmRWH4U5.js";
|
|
11
|
+
import { configureGraph as Ze } from "@yuku123/z-graph-component";
|
|
12
|
+
const Xe = [
|
|
13
13
|
{
|
|
14
14
|
title: "配置中心",
|
|
15
15
|
icon: /* @__PURE__ */ e(Z, {}),
|
|
16
16
|
permission: "OPS_CONFIG_VIEW",
|
|
17
17
|
items: [
|
|
18
|
-
{ key: "config-list", label: "配置列表", icon: /* @__PURE__ */ e(
|
|
18
|
+
{ key: "config-list", label: "配置列表", icon: /* @__PURE__ */ e(C, {}), path: "/config/list" },
|
|
19
19
|
{ key: "config-history", label: "变更历史", icon: /* @__PURE__ */ e(Q, {}), path: "/config/history" },
|
|
20
|
-
{ key: "config-service", label: "服务列表", icon: /* @__PURE__ */ e(
|
|
20
|
+
{ key: "config-service", label: "服务列表", icon: /* @__PURE__ */ e(M, {}), path: "/config/service" },
|
|
21
21
|
{ key: "config-cluster", label: "集群概览", icon: /* @__PURE__ */ e(A, {}), path: "/config/cluster" },
|
|
22
|
-
{ key: "config-namespace", label: "命名空间", icon: /* @__PURE__ */ e(
|
|
22
|
+
{ key: "config-namespace", label: "命名空间", icon: /* @__PURE__ */ e(Ce, {}), path: "/config/namespace" }
|
|
23
23
|
]
|
|
24
24
|
},
|
|
25
25
|
{
|
|
@@ -45,19 +45,20 @@ const Qe = [
|
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
title: "消息中心",
|
|
48
|
-
icon: /* @__PURE__ */ e(
|
|
48
|
+
icon: /* @__PURE__ */ e(De, {}),
|
|
49
49
|
items: [
|
|
50
|
+
{ key: "msg-send", label: "发消息", icon: /* @__PURE__ */ e(Me, {}), path: "/msg/send" },
|
|
50
51
|
{ key: "msg-inbox", label: "站内信", icon: /* @__PURE__ */ e(ee, {}), path: "/msg/inbox" },
|
|
51
52
|
{ key: "msg-template", label: "消息模板", icon: /* @__PURE__ */ e(X, {}), path: "/msg/template" },
|
|
52
53
|
{ key: "msg-delivery", label: "投递日志", icon: /* @__PURE__ */ e(B, {}), path: "/msg/delivery" },
|
|
53
|
-
{ key: "msg-batch", label: "批量任务", icon: /* @__PURE__ */ e(
|
|
54
|
+
{ key: "msg-batch", label: "批量任务", icon: /* @__PURE__ */ e(C, {}), path: "/msg/batch" }
|
|
54
55
|
]
|
|
55
56
|
},
|
|
56
57
|
{
|
|
57
58
|
title: "服务注册",
|
|
58
|
-
icon: /* @__PURE__ */ e(
|
|
59
|
+
icon: /* @__PURE__ */ e(Ie, {}),
|
|
59
60
|
items: [
|
|
60
|
-
{ key: "rpc-service", label: "服务列表", icon: /* @__PURE__ */ e(
|
|
61
|
+
{ key: "rpc-service", label: "服务列表", icon: /* @__PURE__ */ e(M, {}), path: "/rpc/service" },
|
|
61
62
|
{ key: "rpc-instance", label: "服务实例", icon: /* @__PURE__ */ e(P, {}), path: "/rpc/instance" }
|
|
62
63
|
]
|
|
63
64
|
},
|
|
@@ -75,8 +76,8 @@ const Qe = [
|
|
|
75
76
|
icon: /* @__PURE__ */ e(J, {}),
|
|
76
77
|
items: [
|
|
77
78
|
{ key: "graph-schema", label: "图 Schema", icon: /* @__PURE__ */ e(te, {}), path: "/graph/schema" },
|
|
78
|
-
{ key: "graph-query", label: "图查询", icon: /* @__PURE__ */ e(
|
|
79
|
-
{ key: "graph-branches", label: "分支与提交", icon: /* @__PURE__ */ e(
|
|
79
|
+
{ key: "graph-query", label: "图查询", icon: /* @__PURE__ */ e(Be, {}), path: "/graph/query" },
|
|
80
|
+
{ key: "graph-branches", label: "分支与提交", icon: /* @__PURE__ */ e(Ee, {}), path: "/graph/branches" },
|
|
80
81
|
{ key: "graph-instance", label: "实例与端口", icon: /* @__PURE__ */ e(P, {}), path: "/graph/instance" }
|
|
81
82
|
]
|
|
82
83
|
},
|
|
@@ -84,7 +85,7 @@ const Qe = [
|
|
|
84
85
|
title: "网关",
|
|
85
86
|
icon: /* @__PURE__ */ e(U, {}),
|
|
86
87
|
items: [
|
|
87
|
-
{ key: "gw-routes", label: "网关路由", icon: /* @__PURE__ */ e(
|
|
88
|
+
{ key: "gw-routes", label: "网关路由", icon: /* @__PURE__ */ e(C, {}), path: "/gw/routes" },
|
|
88
89
|
{ key: "gw-metrics", label: "网关指标", icon: /* @__PURE__ */ e(A, {}), path: "/gw/metrics" },
|
|
89
90
|
{ key: "gw-instance", label: "实例与面", icon: /* @__PURE__ */ e(P, {}), path: "/gw/instance" }
|
|
90
91
|
]
|
|
@@ -104,8 +105,8 @@ const Qe = [
|
|
|
104
105
|
icon: /* @__PURE__ */ e(ee, {}),
|
|
105
106
|
items: [
|
|
106
107
|
{ key: "mq-instance", label: "实例与端口", icon: /* @__PURE__ */ e(P, {}), path: "/mq/instance" },
|
|
107
|
-
{ key: "mq-cluster", label: "集群与 Broker", icon: /* @__PURE__ */ e(
|
|
108
|
-
{ key: "mq-topics", label: "Topic 列表", icon: /* @__PURE__ */ e(
|
|
108
|
+
{ key: "mq-cluster", label: "集群与 Broker", icon: /* @__PURE__ */ e(M, {}), path: "/mq/cluster" },
|
|
109
|
+
{ key: "mq-topics", label: "Topic 列表", icon: /* @__PURE__ */ e(C, {}), path: "/mq/topics" },
|
|
109
110
|
{ key: "mq-broker", label: "Broker 元数据", icon: /* @__PURE__ */ e(ke, {}), path: "/mq/broker" }
|
|
110
111
|
]
|
|
111
112
|
},
|
|
@@ -120,10 +121,10 @@ const Qe = [
|
|
|
120
121
|
},
|
|
121
122
|
{
|
|
122
123
|
title: "调度中心",
|
|
123
|
-
icon: /* @__PURE__ */ e(
|
|
124
|
+
icon: /* @__PURE__ */ e(ze, {}),
|
|
124
125
|
items: [
|
|
125
|
-
{ key: "schedule-jobs", label: "任务列表", icon: /* @__PURE__ */ e(
|
|
126
|
-
{ key: "schedule-group", label: "分组管理", icon: /* @__PURE__ */ e(
|
|
126
|
+
{ key: "schedule-jobs", label: "任务列表", icon: /* @__PURE__ */ e(C, {}), path: "/schedule/jobs" },
|
|
127
|
+
{ key: "schedule-group", label: "分组管理", icon: /* @__PURE__ */ e(M, {}), path: "/schedule/group" },
|
|
127
128
|
{ key: "schedule-log", label: "执行日志", icon: /* @__PURE__ */ e(Q, {}), path: "/schedule/log" }
|
|
128
129
|
]
|
|
129
130
|
},
|
|
@@ -136,16 +137,16 @@ const Qe = [
|
|
|
136
137
|
{ key: "script-manage", label: "脚本管理", icon: /* @__PURE__ */ e(ne, {}), path: "/script/manage" },
|
|
137
138
|
{ key: "script-keys", label: "API Key 台账", icon: /* @__PURE__ */ e(T, {}), path: "/script/keys" },
|
|
138
139
|
{ key: "script-monitor", label: "调用监控", icon: /* @__PURE__ */ e(A, {}), path: "/script/monitor" },
|
|
139
|
-
{ key: "script-quota", label: "配额与用量", icon: /* @__PURE__ */ e(
|
|
140
|
-
{ key: "script-version", label: "脚本版本", icon: /* @__PURE__ */ e(
|
|
141
|
-
{ key: "script-tag", label: "标签治理", icon: /* @__PURE__ */ e(
|
|
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" }
|
|
142
143
|
]
|
|
143
144
|
}
|
|
144
145
|
];
|
|
145
146
|
function D(a) {
|
|
146
147
|
return a.flatMap((s) => [s, ...D(s.children ?? [])]);
|
|
147
148
|
}
|
|
148
|
-
const
|
|
149
|
+
const Je = {
|
|
149
150
|
title: "测试中心",
|
|
150
151
|
icon: /* @__PURE__ */ e(A, {}),
|
|
151
152
|
// 测试 Tab 的入口权限点 (顶栏 test mode 同码)。4A 普通用户角色 USER 持有 TEST_ENTRY
|
|
@@ -174,14 +175,14 @@ const Ze = {
|
|
|
174
175
|
{
|
|
175
176
|
key: "test-suite",
|
|
176
177
|
label: "测试套件",
|
|
177
|
-
icon: /* @__PURE__ */ e(
|
|
178
|
+
icon: /* @__PURE__ */ e(M, {}),
|
|
178
179
|
path: "/test/qa/suites",
|
|
179
180
|
desc: "步骤编排与变量传递"
|
|
180
181
|
},
|
|
181
182
|
{
|
|
182
183
|
key: "test-plan",
|
|
183
184
|
label: "测试计划",
|
|
184
|
-
icon: /* @__PURE__ */ e(
|
|
185
|
+
icon: /* @__PURE__ */ e(ye, {}),
|
|
185
186
|
path: "/test/qa/plans",
|
|
186
187
|
desc: "套件组合与环境绑定"
|
|
187
188
|
}
|
|
@@ -260,7 +261,7 @@ const Ze = {
|
|
|
260
261
|
label: "群聊评测",
|
|
261
262
|
icon: /* @__PURE__ */ e(H, {}),
|
|
262
263
|
path: "/test/evaluation/group",
|
|
263
|
-
desc: "
|
|
264
|
+
desc: "群聊专家团评测"
|
|
264
265
|
},
|
|
265
266
|
{
|
|
266
267
|
key: "test-eval-report",
|
|
@@ -273,11 +274,11 @@ const Ze = {
|
|
|
273
274
|
}
|
|
274
275
|
]
|
|
275
276
|
};
|
|
276
|
-
function
|
|
277
|
+
function et(a) {
|
|
277
278
|
const s = ve(a.children ?? []), p = {
|
|
278
279
|
key: `operation-${a.key}`,
|
|
279
280
|
label: a.label,
|
|
280
|
-
icon: a.icon ?? /* @__PURE__ */ e(
|
|
281
|
+
icon: a.icon ?? /* @__PURE__ */ e(Ue, {}),
|
|
281
282
|
permission: a.permission
|
|
282
283
|
};
|
|
283
284
|
return s.length === 0 ? { ...p, path: `/operation/${a.key}` } : {
|
|
@@ -290,16 +291,16 @@ function Xe(a) {
|
|
|
290
291
|
}))
|
|
291
292
|
};
|
|
292
293
|
}
|
|
293
|
-
const
|
|
294
|
+
const tt = {
|
|
294
295
|
title: "协作管理",
|
|
295
296
|
icon: /* @__PURE__ */ e(H, {}),
|
|
296
297
|
permission: "ADMIN_ENTRY",
|
|
297
|
-
items:
|
|
298
|
-
},
|
|
298
|
+
items: Ke.map(et)
|
|
299
|
+
}, at = {
|
|
299
300
|
title: "基础服务",
|
|
300
301
|
icon: /* @__PURE__ */ e(R, {}),
|
|
301
302
|
items: [
|
|
302
|
-
...
|
|
303
|
+
...Xe.map((a) => ({
|
|
303
304
|
key: `mw-${a.title}`,
|
|
304
305
|
label: a.title,
|
|
305
306
|
icon: a.icon,
|
|
@@ -316,7 +317,7 @@ const Je = {
|
|
|
316
317
|
{
|
|
317
318
|
key: "biz-workflow",
|
|
318
319
|
label: "流程中心",
|
|
319
|
-
icon: /* @__PURE__ */ e(
|
|
320
|
+
icon: /* @__PURE__ */ e(ge, {}),
|
|
320
321
|
// 2026-11-12 按闭环排序:模板 → 发起(我发起的/流程视图) → 推进(待办/已办) → 总览
|
|
321
322
|
children: [
|
|
322
323
|
{ key: "wf-processes", label: "流程模板", path: "/workflow/processes" },
|
|
@@ -349,7 +350,7 @@ const Je = {
|
|
|
349
350
|
{
|
|
350
351
|
key: "biz-project",
|
|
351
352
|
label: "项目中心",
|
|
352
|
-
icon: /* @__PURE__ */ e(
|
|
353
|
+
icon: /* @__PURE__ */ e(ye, {}),
|
|
353
354
|
children: [
|
|
354
355
|
{ key: "proj-list", label: "项目列表", path: "/project/list" }
|
|
355
356
|
]
|
|
@@ -358,7 +359,7 @@ const Je = {
|
|
|
358
359
|
{
|
|
359
360
|
key: "tool-curl",
|
|
360
361
|
label: "短链管理",
|
|
361
|
-
icon: /* @__PURE__ */ e(
|
|
362
|
+
icon: /* @__PURE__ */ e(xe, {}),
|
|
362
363
|
path: "/z-tool/curl",
|
|
363
364
|
desc: "短链接创建与管理"
|
|
364
365
|
},
|
|
@@ -370,9 +371,9 @@ const Je = {
|
|
|
370
371
|
desc: "在线 IDE 代码编辑器"
|
|
371
372
|
}
|
|
372
373
|
]
|
|
373
|
-
},
|
|
374
|
+
}, nt = {
|
|
374
375
|
title: "系统初始",
|
|
375
|
-
icon: /* @__PURE__ */ e(
|
|
376
|
+
icon: /* @__PURE__ */ e($e, {}),
|
|
376
377
|
permission: "PERMISSION_MANAGE",
|
|
377
378
|
items: [
|
|
378
379
|
{
|
|
@@ -395,7 +396,7 @@ const Je = {
|
|
|
395
396
|
{
|
|
396
397
|
key: "4a-account",
|
|
397
398
|
label: "账号管理",
|
|
398
|
-
icon: /* @__PURE__ */ e(
|
|
399
|
+
icon: /* @__PURE__ */ e(Le, {}),
|
|
399
400
|
path: "/ctc/4a/account",
|
|
400
401
|
desc: "用户账号创建、编辑与状态管理"
|
|
401
402
|
},
|
|
@@ -416,9 +417,16 @@ const Je = {
|
|
|
416
417
|
{
|
|
417
418
|
key: "4a-permission",
|
|
418
419
|
label: "权限管理",
|
|
419
|
-
icon: /* @__PURE__ */ e(
|
|
420
|
+
icon: /* @__PURE__ */ e(ge, {}),
|
|
420
421
|
path: "/ctc/4a/permission",
|
|
421
422
|
desc: "角色、权限点与权限树(角色管理已并入本项)"
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
key: "4a-dict",
|
|
426
|
+
label: "字典管理",
|
|
427
|
+
icon: /* @__PURE__ */ e(Re, {}),
|
|
428
|
+
path: "/ctc/dict",
|
|
429
|
+
desc: "灵活字典:分类与条目、作用域回退链(域→租户→全局)"
|
|
422
430
|
}
|
|
423
431
|
]
|
|
424
432
|
},
|
|
@@ -429,31 +437,31 @@ const Je = {
|
|
|
429
437
|
// 路由本身不动,旧深链仍可达。
|
|
430
438
|
// 「业务流程」组已删(2026-11-11):流程中心/任务中心/订阅中心/项目中心 四个中心
|
|
431
439
|
// 以二级子菜单并入「基础服务」组(见 MIDDLEWARE_SERVICES_GROUP 内 biz-* 四项)。
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
],
|
|
436
|
-
function
|
|
440
|
+
tt,
|
|
441
|
+
at,
|
|
442
|
+
nt
|
|
443
|
+
], ct = [...Ae, Je];
|
|
444
|
+
function ot({
|
|
437
445
|
activePathOverride: a,
|
|
438
446
|
menuOnly: s = !1,
|
|
439
447
|
visibleGroups: p,
|
|
440
448
|
sidebarWidth: b
|
|
441
449
|
} = {}) {
|
|
442
|
-
const u = ue(), { pathname: E } = W(),
|
|
443
|
-
() => p ?
|
|
450
|
+
const u = ue(), { pathname: E } = W(), g = w(
|
|
451
|
+
() => p ? ct.filter((c) => p.includes(c.title)) : Ae,
|
|
444
452
|
[p]
|
|
445
|
-
), z = se((c) => c.permissionState), G = se((c) => c.currentUser),
|
|
446
|
-
() => z === "failed" ?
|
|
447
|
-
[
|
|
453
|
+
), z = se((c) => c.permissionState), G = se((c) => c.currentUser), y = w(
|
|
454
|
+
() => z === "failed" ? g : je(g, G),
|
|
455
|
+
[g, G, z]
|
|
448
456
|
), [x, q] = F(/* @__PURE__ */ new Set()), [N, k] = F(/* @__PURE__ */ new Set()), m = w(() => {
|
|
449
457
|
var h;
|
|
450
458
|
const c = a ?? E;
|
|
451
|
-
return ((h =
|
|
459
|
+
return ((h = y.flatMap((l) => D(l.items)).find(
|
|
452
460
|
(l) => l.path === c
|
|
453
461
|
)) == null ? void 0 : h.key) ?? null;
|
|
454
|
-
}, [a, E,
|
|
462
|
+
}, [a, E, y]);
|
|
455
463
|
we(() => {
|
|
456
|
-
m &&
|
|
464
|
+
m && y.forEach((c) => {
|
|
457
465
|
const h = c.items.find(
|
|
458
466
|
(l) => l.key === m || D([l]).some((i) => i.key === m)
|
|
459
467
|
);
|
|
@@ -463,7 +471,7 @@ function nt({
|
|
|
463
471
|
(l) => l.has(h.key) ? l : new Set(l).add(h.key)
|
|
464
472
|
));
|
|
465
473
|
});
|
|
466
|
-
}, [m,
|
|
474
|
+
}, [m, y]);
|
|
467
475
|
const Se = (c) => {
|
|
468
476
|
q((h) => {
|
|
469
477
|
const l = new Set(h);
|
|
@@ -476,7 +484,7 @@ function nt({
|
|
|
476
484
|
});
|
|
477
485
|
}, K = (c) => {
|
|
478
486
|
c.path && u(c.path);
|
|
479
|
-
}, S =
|
|
487
|
+
}, S = y.flatMap((c) => D(c.items)).find(
|
|
480
488
|
(c) => c.key === m
|
|
481
489
|
);
|
|
482
490
|
return /* @__PURE__ */ r("div", { className: n.container, children: [
|
|
@@ -486,8 +494,8 @@ function nt({
|
|
|
486
494
|
className: n.sidebar,
|
|
487
495
|
style: b ? { width: b, minWidth: b } : void 0,
|
|
488
496
|
children: [
|
|
489
|
-
/* @__PURE__ */ e(
|
|
490
|
-
/* @__PURE__ */ e("nav", { className: n.menuList, children:
|
|
497
|
+
/* @__PURE__ */ e(We, {}),
|
|
498
|
+
/* @__PURE__ */ e("nav", { className: n.menuList, children: y.map((c) => {
|
|
491
499
|
const h = x.has(c.title), l = m ? c.items.findIndex(
|
|
492
500
|
(i) => i.key === m || D([i]).some((_) => _.key === m)
|
|
493
501
|
) : -1;
|
|
@@ -584,137 +592,137 @@ function nt({
|
|
|
584
592
|
] }) })
|
|
585
593
|
] });
|
|
586
594
|
}
|
|
587
|
-
const
|
|
595
|
+
const lt = "/api/graph";
|
|
588
596
|
let ie = !1;
|
|
589
|
-
function
|
|
590
|
-
ie || (ie = !0,
|
|
597
|
+
function st() {
|
|
598
|
+
ie || (ie = !0, Ze(lt));
|
|
591
599
|
}
|
|
592
|
-
const
|
|
593
|
-
shellWrap:
|
|
594
|
-
shell:
|
|
595
|
-
dragBar:
|
|
596
|
-
dragBarActive:
|
|
597
|
-
main:
|
|
598
|
-
productBanner:
|
|
599
|
-
productBannerLabel:
|
|
600
|
-
productBannerName:
|
|
601
|
-
productBannerCode:
|
|
602
|
-
productBannerBack:
|
|
603
|
-
empty:
|
|
604
|
-
emptyIcon:
|
|
605
|
-
emptyText:
|
|
600
|
+
const it = "_shellWrap_11zl4_6", rt = "_shell_11zl4_6", pt = "_dragBar_11zl4_31", mt = "_dragBarActive_11zl4_52", ht = "_main_11zl4_56", dt = "_productBanner_11zl4_68", ut = "_productBannerLabel_11zl4_80", bt = "_productBannerName_11zl4_86", kt = "_productBannerCode_11zl4_94", gt = "_productBannerBack_11zl4_99", yt = "_empty_11zl4_116", ft = "_emptyIcon_11zl4_126", vt = "_emptyText_11zl4_131", d = {
|
|
601
|
+
shellWrap: it,
|
|
602
|
+
shell: rt,
|
|
603
|
+
dragBar: pt,
|
|
604
|
+
dragBarActive: mt,
|
|
605
|
+
main: ht,
|
|
606
|
+
productBanner: dt,
|
|
607
|
+
productBannerLabel: ut,
|
|
608
|
+
productBannerName: bt,
|
|
609
|
+
productBannerCode: kt,
|
|
610
|
+
productBannerBack: gt,
|
|
611
|
+
empty: yt,
|
|
612
|
+
emptyIcon: ft,
|
|
613
|
+
emptyText: vt
|
|
606
614
|
};
|
|
607
|
-
|
|
608
|
-
const t = (a, s) => v(() => a().then((p) => ({ default: p[s] }))),
|
|
609
|
-
function Sa() {
|
|
610
|
-
return ot(), /* @__PURE__ */ e(Ft, {});
|
|
611
|
-
}
|
|
612
|
-
const Pa = v(() => import("./ComponentDoc-KyD5wtuW.js").then((a) => a.cm)), he = v(() => import("@yuku123/z-qa-component"));
|
|
615
|
+
He();
|
|
616
|
+
const t = (a, s) => v(() => a().then((p) => ({ default: p[s] }))), At = t(() => import("@yuku123/z-ctc-component"), "AccountManagement"), St = t(() => import("@yuku123/z-ctc-component"), "ApplicationManagement"), Pt = t(() => import("@yuku123/z-ctc-component"), "AuditPage"), Ot = t(() => import("@yuku123/z-ctc-component"), "CtcOverview"), wt = t(() => import("@yuku123/z-ctc-component"), "DictPage"), Nt = t(() => import("@yuku123/z-ctc-component"), "OrgPage"), _t = t(() => import("@yuku123/z-ctc-component"), "PermissionManagement"), re = t(() => import("@yuku123/z-ctc-component"), "SurlManagement"), Ct = t(() => import("@yuku123/z-ctc-component"), "TenantManagement"), Mt = t(() => import("@yuku123/z-agent-component"), "AgentAppList"), Dt = t(() => import("@yuku123/z-agent-component"), "AgentDashboard"), It = t(() => import("@yuku123/z-agent-component"), "AkManage"), Bt = t(() => import("@yuku123/z-agent-component"), "BucketList"), Et = t(() => import("@yuku123/z-agent-component"), "LlmManage"), zt = t(() => import("@yuku123/z-agent-component"), "McpPage"), Gt = t(() => import("@yuku123/z-agent-component"), "ObjectBrowser"), qt = t(() => import("@yuku123/z-agent-component"), "ScriptCenterPage"), O = t(() => import("@yuku123/z-agent-component"), "ScriptProductizationPage"), Tt = t(() => import("@yuku123/z-skill-component"), "Catalog"), Lt = t(() => import("./index-CJ7dJejJ.js"), "AgentTeamIM"), pe = t(() => import("./index-CJ7dJejJ.js"), "DebugPlayground"), Rt = t(() => import("./index-CJ7dJejJ.js"), "Overview"), me = t(() => import("./index-CJ7dJejJ.js"), "Webide"), xt = v(() => import("./OnboardingPage-BNJopRYO.js")), $t = v(() => import("./InvitationManagementPage-CRbABOKe.js")), Ut = t(() => import("@yuku123/z-config-component"), "ConfigApp"), jt = t(() => import("@yuku123/z-task-component"), "TaskApp"), Wt = t(() => import("@yuku123/z-wf-component"), "WorkflowApp"), Ht = t(() => import("@yuku123/z-schedule-component"), "ScheduleApp"), Kt = t(() => import("@yuku123/z-mist-component"), "MistApp"), Vt = t(() => import("@yuku123/z-meta-component"), "MetaApp"), Yt = t(() => import("@yuku123/z-msg-component"), "MsgApp"), Ft = t(() => import("@yuku123/z-rpc-component"), "RpcApp"), Qt = t(() => import("@yuku123/z-vector-component"), "VectorApp"), Zt = t(() => import("@yuku123/z-graph-component"), "GraphApp"), Xt = t(() => import("@yuku123/z-gw-component"), "GwApp"), Jt = t(() => import("@yuku123/z-cache-component"), "CacheApp"), ea = t(() => import("@yuku123/z-mq-component"), "MqApp"), ta = t(() => import("@yuku123/z-oss-component"), "OssApp"), aa = v(() => import("./ComponentDoc-SiXXhka1.js").then((a) => a.cm)), na = v(() => import("./ComponentDoc-SiXXhka1.js").then((a) => a.cn)), ca = t(() => import("@yuku123/z-config-component"), "ComponentDocPage"), oa = t(() => import("@yuku123/z-task-component"), "ComponentDocPage"), la = t(() => import("@yuku123/z-wf-component"), "ComponentDocPage"), sa = t(() => import("@yuku123/z-schedule-component"), "ComponentDocPage"), ia = t(() => import("@yuku123/z-mist-component"), "ComponentDocPage"), ra = t(() => import("@yuku123/z-meta-component"), "ComponentDocPage"), pa = t(() => import("@yuku123/z-msg-component"), "ComponentDocPage"), ma = t(() => import("@yuku123/z-rpc-component"), "ComponentDocPage"), ha = t(() => import("@yuku123/z-product-component"), "ComponentDocPage"), da = t(() => import("@yuku123/z-oss-component"), "ComponentDocPage"), ua = t(() => import("@yuku123/z-vector-component"), "ComponentDocPage"), ba = t(() => import("@yuku123/z-graph-component"), "ComponentDocPage"), ka = t(() => import("@yuku123/z-gw-component"), "ComponentDocPage"), ga = t(() => import("@yuku123/z-cache-component"), "ComponentDocPage"), ya = t(() => import("@yuku123/z-mq-component"), "ComponentDocPage"), fa = t(() => import("@yuku123/z-ctc-component"), "ComponentDocPage"), va = t(() => import("@yuku123/z-agent-component"), "ComponentDocPage"), Aa = t(() => import("@yuku123/z-lc-component"), "ComponentDocPage"), Sa = t(() => import("@yuku123/z-qa-component"), "ComponentDocPage"), Pa = v(() => import("./AdminModuleContent-DDB35gOh.js"));
|
|
613
617
|
function Oa() {
|
|
618
|
+
return st(), /* @__PURE__ */ e(Zt, {});
|
|
619
|
+
}
|
|
620
|
+
const wa = v(() => import("./ComponentDoc-SiXXhka1.js").then((a) => a.cl)), he = v(() => import("@yuku123/z-qa-component"));
|
|
621
|
+
function Na() {
|
|
614
622
|
return /* @__PURE__ */ r("div", { className: d.empty, children: [
|
|
615
623
|
/* @__PURE__ */ e("div", { className: d.emptyIcon, children: "📋" }),
|
|
616
624
|
/* @__PURE__ */ e("div", { className: d.emptyText, children: "请从左侧菜单选择模块" })
|
|
617
625
|
] });
|
|
618
626
|
}
|
|
619
|
-
function
|
|
627
|
+
function _a() {
|
|
620
628
|
const { pathname: a } = W();
|
|
621
629
|
return /* @__PURE__ */ e(o, { to: a.replace(/^\/product/, "/z-product"), replace: !0 });
|
|
622
630
|
}
|
|
623
|
-
const
|
|
631
|
+
const Ca = [
|
|
624
632
|
// ─── 顶层 / 概览 ───
|
|
625
|
-
{ path: "/overview", element: /* @__PURE__ */ e(
|
|
633
|
+
{ path: "/overview", element: /* @__PURE__ */ e(Rt, {}) },
|
|
626
634
|
// ─── 4A 中心 (/ctc/*) ───
|
|
627
635
|
{ path: "/ctc", element: /* @__PURE__ */ e(o, { to: "/ctc/4a/account", replace: !0 }) },
|
|
628
|
-
{ path: "/ctc/4a/account", element: /* @__PURE__ */ e(
|
|
636
|
+
{ path: "/ctc/4a/account", element: /* @__PURE__ */ e(At, {}) },
|
|
629
637
|
// 角色管理已并入权限管理(CEO 2026-11-11):角色是权限点的命名集合,
|
|
630
638
|
// 拆成两个顶级菜单时用户得在两张表之间来回对照才能回答「这角色能干什么」。
|
|
631
639
|
// 老深链 /ctc/4a/role 仍然可达 —— 落到合并页的「角色」视图。
|
|
632
640
|
{ path: "/ctc/4a/role", element: /* @__PURE__ */ e(o, { to: "/ctc/4a/permission?view=roles", replace: !0 }) },
|
|
633
|
-
{ path: "/ctc/4a/application", element: /* @__PURE__ */ e(
|
|
634
|
-
{ path: "/ctc/4a/tenant", element: /* @__PURE__ */ e(
|
|
635
|
-
{ path: "/ctc/4a/org", element: /* @__PURE__ */ e(
|
|
636
|
-
{ path: "/ctc/4a/permission", element: /* @__PURE__ */ e(
|
|
641
|
+
{ path: "/ctc/4a/application", element: /* @__PURE__ */ e(St, {}) },
|
|
642
|
+
{ path: "/ctc/4a/tenant", element: /* @__PURE__ */ e(Ct, {}) },
|
|
643
|
+
{ path: "/ctc/4a/org", element: /* @__PURE__ */ e(Nt, {}) },
|
|
644
|
+
{ path: "/ctc/4a/permission", element: /* @__PURE__ */ e(_t, {}) },
|
|
637
645
|
{ path: "/ctc/4a/surl", element: /* @__PURE__ */ e(re, {}) },
|
|
638
|
-
{ path: "/ctc/dict", element: /* @__PURE__ */ e(
|
|
639
|
-
{ path: "/ctc/overview", element: /* @__PURE__ */ e(
|
|
640
|
-
{ path: "/ctc/audit", element: /* @__PURE__ */ e(
|
|
646
|
+
{ path: "/ctc/dict", element: /* @__PURE__ */ e(wt, {}) },
|
|
647
|
+
{ path: "/ctc/overview", element: /* @__PURE__ */ e(Ot, {}) },
|
|
648
|
+
{ path: "/ctc/audit", element: /* @__PURE__ */ e(Pt, {}) },
|
|
641
649
|
{ path: "/ctc/webide", element: /* @__PURE__ */ e(me, {}) },
|
|
642
|
-
{ path: "/ctc/agent-team", element: /* @__PURE__ */ e(
|
|
643
|
-
{ path: "/ctc/invitation", element: /* @__PURE__ */ e(
|
|
644
|
-
{ path: "/onboarding", element: /* @__PURE__ */ e(
|
|
650
|
+
{ path: "/ctc/agent-team", element: /* @__PURE__ */ e(Lt, {}) },
|
|
651
|
+
{ path: "/ctc/invitation", element: /* @__PURE__ */ e($t, {}) },
|
|
652
|
+
{ path: "/onboarding", element: /* @__PURE__ */ e(xt, {}) },
|
|
645
653
|
// ─── 智能中心 (/ai/*) ───
|
|
646
654
|
{ path: "/ai", element: /* @__PURE__ */ e(o, { to: "/ai/agent/app", replace: !0 }) },
|
|
647
655
|
{ path: "/ai/agent", element: /* @__PURE__ */ e(o, { to: "/ai/agent/app", replace: !0 }) },
|
|
648
|
-
{ path: "/ai/agent/app", element: /* @__PURE__ */ e(
|
|
649
|
-
{ path: "/ai/llm", element: /* @__PURE__ */ e(
|
|
656
|
+
{ path: "/ai/agent/app", element: /* @__PURE__ */ e(Mt, {}) },
|
|
657
|
+
{ path: "/ai/llm", element: /* @__PURE__ */ e(Et, {}) },
|
|
650
658
|
{ path: "/ai/llm/provider", element: /* @__PURE__ */ e(o, { to: "/ai/llm", replace: !0 }) },
|
|
651
659
|
{ path: "/ai/llm/model", element: /* @__PURE__ */ e(o, { to: "/ai/llm", replace: !0 }) },
|
|
652
660
|
{ path: "/ai/usage", element: /* @__PURE__ */ e(o, { to: "/ai/llm", replace: !0 }) },
|
|
653
|
-
{ path: "/ai/ak", element: /* @__PURE__ */ e(
|
|
654
|
-
{ path: "/ai/mcp", element: /* @__PURE__ */ e(
|
|
655
|
-
{ path: "/ai/skill", element: /* @__PURE__ */ e(
|
|
661
|
+
{ path: "/ai/ak", element: /* @__PURE__ */ e(It, {}) },
|
|
662
|
+
{ path: "/ai/mcp", element: /* @__PURE__ */ e(zt, {}) },
|
|
663
|
+
{ path: "/ai/skill", element: /* @__PURE__ */ e(Tt, {}) },
|
|
656
664
|
{ path: "/ai/oss", element: /* @__PURE__ */ e(o, { to: "/ai/oss/bucket", replace: !0 }) },
|
|
657
|
-
{ path: "/ai/oss/bucket", element: /* @__PURE__ */ e(
|
|
658
|
-
{ path: "/ai/oss/bucket/:bucketName", element: /* @__PURE__ */ e(
|
|
665
|
+
{ path: "/ai/oss/bucket", element: /* @__PURE__ */ e(Bt, {}) },
|
|
666
|
+
{ path: "/ai/oss/bucket/:bucketName", element: /* @__PURE__ */ e(Gt, {}) },
|
|
659
667
|
{ path: "/ai/trace", element: /* @__PURE__ */ e(pe, {}) },
|
|
660
668
|
{ path: "/ai/trace/debug", element: /* @__PURE__ */ e(pe, {}) },
|
|
661
|
-
{ path: "/ai/dashboard", element: /* @__PURE__ */ e(
|
|
669
|
+
{ path: "/ai/dashboard", element: /* @__PURE__ */ e(Dt, {}) },
|
|
662
670
|
// 多 Agent 实例 / 模板市场已下线 (2026-10-22): 模板并入 Agent 应用页,
|
|
663
671
|
// 旧深链重定向, 别再回到独立菜单
|
|
664
672
|
{ path: "/ai/template", element: /* @__PURE__ */ e(o, { to: "/ai/agent/app", replace: !0 }) },
|
|
665
673
|
{ path: "/ai/agent-instance", element: /* @__PURE__ */ e(o, { to: "/ai/agent/app", replace: !0 }) },
|
|
666
674
|
{ path: "/ai/agent/instances", element: /* @__PURE__ */ e(o, { to: "/ai/agent/app", replace: !0 }) },
|
|
667
675
|
// ─── 配置中心 ───
|
|
668
|
-
{ path: "/config/*", element: /* @__PURE__ */ e(
|
|
676
|
+
{ path: "/config/*", element: /* @__PURE__ */ e(Ut, {}) },
|
|
669
677
|
// ─── 任务中心 ───
|
|
670
678
|
// 模块根路径要重定向到默认页:通配 /task/* 匹配不到裸 /task(matchPattern 要求
|
|
671
679
|
// 前缀带斜杠),落到 SystemShellEmpty 就是一句"请从左侧菜单选择模块"的空壳。
|
|
672
680
|
{ path: "/task", element: /* @__PURE__ */ e(o, { to: "/task/dashboard", replace: !0 }) },
|
|
673
|
-
{ path: "/task/*", element: /* @__PURE__ */ e(
|
|
681
|
+
{ path: "/task/*", element: /* @__PURE__ */ e(jt, {}) },
|
|
674
682
|
// ─── 流程中心 ───
|
|
675
683
|
{ path: "/workflow", element: /* @__PURE__ */ e(o, { to: "/workflow/dashboard", replace: !0 }) },
|
|
676
|
-
{ path: "/workflow/*", element: /* @__PURE__ */ e(
|
|
684
|
+
{ path: "/workflow/*", element: /* @__PURE__ */ e(Wt, {}) },
|
|
677
685
|
// ─── 调度中心 ───
|
|
678
686
|
// 默认页是 jobs:z-schedule-component 的路由只有 jobs / group / log,没有 dashboard。
|
|
679
687
|
{ path: "/schedule", element: /* @__PURE__ */ e(o, { to: "/schedule/jobs", replace: !0 }) },
|
|
680
|
-
{ path: "/schedule/*", element: /* @__PURE__ */ e(
|
|
688
|
+
{ path: "/schedule/*", element: /* @__PURE__ */ e(Ht, {}) },
|
|
681
689
|
// ─── 密钥中心 ───
|
|
682
|
-
{ path: "/mist/*", element: /* @__PURE__ */ e(
|
|
690
|
+
{ path: "/mist/*", element: /* @__PURE__ */ e(Kt, {}) },
|
|
683
691
|
// ─── 中间件(大需求 004)— 2026-11-11 中间件面整并入系统面「基础服务」分组,
|
|
684
692
|
// 系统面成为这批前缀的唯一宿主(原 MiddlewareWorkbench 已删)。菜单在 SystemWorkbench
|
|
685
693
|
// 「基础服务」分组,数据真源 MiddlewareWorkbench/menuData.tsx;前缀口径与
|
|
686
694
|
// businessFace.ts(这些前缀现归系统面)一一对齐。
|
|
687
695
|
{ path: "/meta", element: /* @__PURE__ */ e(o, { to: "/meta/app", replace: !0 }) },
|
|
688
|
-
{ path: "/meta/*", element: /* @__PURE__ */ e(
|
|
696
|
+
{ path: "/meta/*", element: /* @__PURE__ */ e(Vt, {}) },
|
|
689
697
|
{ path: "/msg", element: /* @__PURE__ */ e(o, { to: "/msg/inbox", replace: !0 }) },
|
|
690
|
-
{ path: "/msg/*", element: /* @__PURE__ */ e(
|
|
698
|
+
{ path: "/msg/*", element: /* @__PURE__ */ e(Yt, {}) },
|
|
691
699
|
{ path: "/rpc", element: /* @__PURE__ */ e(o, { to: "/rpc/service", replace: !0 }) },
|
|
692
|
-
{ path: "/rpc/*", element: /* @__PURE__ */ e(
|
|
700
|
+
{ path: "/rpc/*", element: /* @__PURE__ */ e(Ft, {}) },
|
|
693
701
|
// 向量检索:REST 面是内嵌 QdrantRestServer(非 Spring MVC),经 z-opc 的 /api/vector/** 代理出去
|
|
694
702
|
{ path: "/vector", element: /* @__PURE__ */ e(o, { to: "/vector/collections", replace: !0 }) },
|
|
695
|
-
{ path: "/vector/*", element: /* @__PURE__ */ e(
|
|
703
|
+
{ path: "/vector/*", element: /* @__PURE__ */ e(Qt, {}) },
|
|
696
704
|
// 图数据库:REST 面是内嵌 GraphControlServer,经 z-opc 的 /api/graph/** 代理出去
|
|
697
705
|
// ⚠ 内嵌端口是 8091 不是 8090:8090 归一个外部进程,且被 BizKnowledgeGraphService 当业务依赖在用
|
|
698
706
|
{ path: "/graph", element: /* @__PURE__ */ e(o, { to: "/graph/schema", replace: !0 }) },
|
|
699
|
-
{ path: "/graph/*", element: /* @__PURE__ */ e(
|
|
707
|
+
{ path: "/graph/*", element: /* @__PURE__ */ e(Oa, {}) },
|
|
700
708
|
// 网关:admin 面是 z-gw-admin 的原生 Spring MVC;页面一律走 z-opc 自己的环回代理 GET /api/gw/**
|
|
701
709
|
{ path: "/gw", element: /* @__PURE__ */ e(o, { to: "/gw/routes", replace: !0 }) },
|
|
702
|
-
{ path: "/gw/*", element: /* @__PURE__ */ e(
|
|
710
|
+
{ path: "/gw/*", element: /* @__PURE__ */ e(Xt, {}) },
|
|
703
711
|
// 缓存:/api/cache/** 是 CacheProxyController 在 JVM 内读 MemoryStore + 只读命令拼出的结构化 JSON
|
|
704
712
|
{ path: "/cache", element: /* @__PURE__ */ e(o, { to: "/cache/overview", replace: !0 }) },
|
|
705
|
-
{ path: "/cache/*", element: /* @__PURE__ */ e(
|
|
713
|
+
{ path: "/cache/*", element: /* @__PURE__ */ e(Jt, {}) },
|
|
706
714
|
// 消息队列::9877/:10912 是 z-mq-remoting 的 Netty 私有二进制协议,/api/mq/** 是协议适配器
|
|
707
715
|
{ path: "/mq", element: /* @__PURE__ */ e(o, { to: "/mq/instance", replace: !0 }) },
|
|
708
|
-
{ path: "/mq/*", element: /* @__PURE__ */ e(
|
|
716
|
+
{ path: "/mq/*", element: /* @__PURE__ */ e(ea, {}) },
|
|
709
717
|
// 知识库旧中间件面入口(2026-11-11 摘除菜单):认知工作台的「知识管理」段
|
|
710
718
|
// (/z-kb/*,CognitionWorkbench) 已完整承载 z-kb,旧深链一律重定向过去。
|
|
711
719
|
{ path: "/kb/*", element: /* @__PURE__ */ e(o, { to: "/z-kb/dashboard", replace: !0 }) },
|
|
712
720
|
// 对象存储(z-oss):走 z-opc 侧 /api/oss-admin/**,不再需要 AK/SK 下发
|
|
713
721
|
{ path: "/oss", element: /* @__PURE__ */ e(o, { to: "/oss/buckets", replace: !0 }) },
|
|
714
|
-
{ path: "/oss/*", element: /* @__PURE__ */ e(
|
|
722
|
+
{ path: "/oss/*", element: /* @__PURE__ */ e(ta, {}) },
|
|
715
723
|
// ─── 订阅中心 ───
|
|
716
724
|
{ path: "/subscribe", element: /* @__PURE__ */ e(o, { to: "/subscribe/list", replace: !0 }) },
|
|
717
|
-
{ path: "/subscribe/*", element: /* @__PURE__ */ e(
|
|
725
|
+
{ path: "/subscribe/*", element: /* @__PURE__ */ e(aa, {}) },
|
|
718
726
|
// ─── 产品工作台 z-product (2026-10-21 接入) ───
|
|
719
727
|
// /z-product/* 由 z-product 组件自己的 ProductApp 渲染(内部按 manifest 的绝对路径手工匹配,
|
|
720
728
|
// 不用嵌套 <Routes>:这里没有 Route 父上下文,绝对路径不会被再拼一次父前缀)。
|
|
@@ -723,16 +731,16 @@ const Na = [
|
|
|
723
731
|
// 产品域的默认落地页是工坊:它是「一个面板干完产品业务开发」的入口,
|
|
724
732
|
// 全景/蓝图是看板,不是第一动作。
|
|
725
733
|
{ path: "/z-product", element: /* @__PURE__ */ e(o, { to: "/z-product/atelier", replace: !0 }) },
|
|
726
|
-
{ path: "/z-product/*", element: /* @__PURE__ */ e(
|
|
734
|
+
{ path: "/z-product/*", element: /* @__PURE__ */ e(Ye, { basePath: "/z-product" }) },
|
|
727
735
|
// 旧前缀 /product/* → 新前缀 /z-product/*:§14 前缀化之前的老 URL 仍可达(书签 / 旧分享链接)。
|
|
728
736
|
{ path: "/product", element: /* @__PURE__ */ e(o, { to: "/z-product/atelier", replace: !0 }) },
|
|
729
|
-
{ path: "/product/*", element: /* @__PURE__ */ e(
|
|
737
|
+
{ path: "/product/*", element: /* @__PURE__ */ e(_a, {}) },
|
|
730
738
|
// ─── 项目中心 ───
|
|
731
739
|
{ path: "/project", element: /* @__PURE__ */ e(o, { to: "/project/list", replace: !0 }) },
|
|
732
|
-
{ path: "/project/*", element: /* @__PURE__ */ e(
|
|
740
|
+
{ path: "/project/*", element: /* @__PURE__ */ e(na, {}) },
|
|
733
741
|
// ─── 脚本中心 (/script/*) — FEATURE052 ───
|
|
734
742
|
{ path: "/script", element: /* @__PURE__ */ e(o, { to: "/script/manage", replace: !0 }) },
|
|
735
|
-
{ path: "/script/manage", element: /* @__PURE__ */ e(
|
|
743
|
+
{ path: "/script/manage", element: /* @__PURE__ */ e(qt, {}) },
|
|
736
744
|
{ path: "/script/productization", element: /* @__PURE__ */ e(O, {}) },
|
|
737
745
|
// 脚本治理五条(2026-11-11 随中间件面并入):组件自带 5 个 Tab,
|
|
738
746
|
// 按「一个能力一条菜单」把 Tab 键透传成 initialTab,精确路径匹配先于 /script 通配。
|
|
@@ -747,7 +755,7 @@ const Na = [
|
|
|
747
755
|
{ path: "/z-tool/webide", element: /* @__PURE__ */ e(me, {}) },
|
|
748
756
|
// ─── 测试中心 (/test/*) — FEATURE061 ───
|
|
749
757
|
{ path: "/test", element: /* @__PURE__ */ e(o, { to: "/test/qa/dashboard", replace: !0 }) },
|
|
750
|
-
{ path: "/test/mock", element: /* @__PURE__ */ e(
|
|
758
|
+
{ path: "/test/mock", element: /* @__PURE__ */ e(wa, {}) },
|
|
751
759
|
// QAApp 按 pathname 手动分发子页(非嵌套 <Routes>),挂载前缀推断依赖
|
|
752
760
|
// 路径里有 /qa 段。?mode=test 合成挂载时真实 pathname 是 /workspace(无 qa 段)
|
|
753
761
|
// ⇒ 显式传 mountPath, 否则被库 default 分支 <Navigate> 到 /dashboard(2026-11-11 实测)。
|
|
@@ -784,46 +792,46 @@ const Na = [
|
|
|
784
792
|
// §14 铁律(菜单 key 必须带产品名前缀)针对的是**同一宿主内多套件共存**的撞车问题;
|
|
785
793
|
// 这里每个域的宿主前缀本身就已经是产品名(/config / /task / /workflow …),
|
|
786
794
|
// 且各域之间前缀互不相同 ⇒ 不存在撞车,不需要再加 z- 前缀。
|
|
787
|
-
{ path: "/config/docs", element: /* @__PURE__ */ e(
|
|
788
|
-
{ path: "/task/docs", element: /* @__PURE__ */ e(
|
|
789
|
-
{ path: "/workflow/docs", element: /* @__PURE__ */ e(
|
|
790
|
-
{ path: "/schedule/docs", element: /* @__PURE__ */ e(
|
|
791
|
-
{ path: "/mist/docs", element: /* @__PURE__ */ e(
|
|
792
|
-
{ path: "/meta/docs", element: /* @__PURE__ */ e(
|
|
793
|
-
{ path: "/msg/docs", element: /* @__PURE__ */ e(
|
|
794
|
-
{ path: "/rpc/docs", element: /* @__PURE__ */ e(
|
|
795
|
-
{ path: "/z-product/docs", element: /* @__PURE__ */ e(
|
|
796
|
-
{ path: "/oss/docs", element: /* @__PURE__ */ e(
|
|
797
|
-
{ path: "/vector/docs", element: /* @__PURE__ */ e(
|
|
798
|
-
{ path: "/graph/docs", element: /* @__PURE__ */ e(
|
|
799
|
-
{ path: "/gw/docs", element: /* @__PURE__ */ e(
|
|
800
|
-
{ path: "/cache/docs", element: /* @__PURE__ */ e(
|
|
801
|
-
{ path: "/mq/docs", element: /* @__PURE__ */ e(
|
|
802
|
-
{ path: "/ctc/docs", element: /* @__PURE__ */ e(
|
|
803
|
-
{ path: "/ai/docs", element: /* @__PURE__ */ e(
|
|
804
|
-
{ path: "/lc/docs", element: /* @__PURE__ */ e(
|
|
805
|
-
{ path: "/test/qa/docs", element: /* @__PURE__ */ e(
|
|
806
|
-
],
|
|
807
|
-
// 模块根重定向到默认页(admin
|
|
795
|
+
{ path: "/config/docs", element: /* @__PURE__ */ e(ca, {}) },
|
|
796
|
+
{ path: "/task/docs", element: /* @__PURE__ */ e(oa, {}) },
|
|
797
|
+
{ path: "/workflow/docs", element: /* @__PURE__ */ e(la, {}) },
|
|
798
|
+
{ path: "/schedule/docs", element: /* @__PURE__ */ e(sa, {}) },
|
|
799
|
+
{ path: "/mist/docs", element: /* @__PURE__ */ e(ia, {}) },
|
|
800
|
+
{ path: "/meta/docs", element: /* @__PURE__ */ e(ra, {}) },
|
|
801
|
+
{ path: "/msg/docs", element: /* @__PURE__ */ e(pa, {}) },
|
|
802
|
+
{ path: "/rpc/docs", element: /* @__PURE__ */ e(ma, {}) },
|
|
803
|
+
{ path: "/z-product/docs", element: /* @__PURE__ */ e(ha, {}) },
|
|
804
|
+
{ path: "/oss/docs", element: /* @__PURE__ */ e(da, {}) },
|
|
805
|
+
{ path: "/vector/docs", element: /* @__PURE__ */ e(ua, {}) },
|
|
806
|
+
{ path: "/graph/docs", element: /* @__PURE__ */ e(ba, {}) },
|
|
807
|
+
{ path: "/gw/docs", element: /* @__PURE__ */ e(ka, {}) },
|
|
808
|
+
{ path: "/cache/docs", element: /* @__PURE__ */ e(ga, {}) },
|
|
809
|
+
{ path: "/mq/docs", element: /* @__PURE__ */ e(ya, {}) },
|
|
810
|
+
{ path: "/ctc/docs", element: /* @__PURE__ */ e(fa, {}) },
|
|
811
|
+
{ path: "/ai/docs", element: /* @__PURE__ */ e(va, {}) },
|
|
812
|
+
{ path: "/lc/docs", element: /* @__PURE__ */ e(Aa, {}) },
|
|
813
|
+
{ path: "/test/qa/docs", element: /* @__PURE__ */ e(Sa, {}) }
|
|
814
|
+
], Ma = [
|
|
815
|
+
// 模块根重定向到默认页(admin 面的无参兜底同样是专家团构建)
|
|
808
816
|
{ path: "/operation", element: /* @__PURE__ */ e(o, { to: "/operation/scenario", replace: !0 }) },
|
|
809
817
|
...ve().map((a) => ({
|
|
810
818
|
path: `/operation/${a.key}`,
|
|
811
|
-
element: /* @__PURE__ */ e(
|
|
819
|
+
element: /* @__PURE__ */ e(Pa, { menuKey: a.key })
|
|
812
820
|
}))
|
|
813
|
-
], de = [...
|
|
814
|
-
function
|
|
821
|
+
], de = [...Ca, ...Ma];
|
|
822
|
+
function Da(a) {
|
|
815
823
|
for (const s of de)
|
|
816
824
|
if (s.path === a) return s.element;
|
|
817
825
|
for (const s of de)
|
|
818
|
-
if (
|
|
819
|
-
return /* @__PURE__ */ e(
|
|
826
|
+
if (Ia(s.path, a)) return s.element;
|
|
827
|
+
return /* @__PURE__ */ e(Na, {});
|
|
820
828
|
}
|
|
821
|
-
function
|
|
829
|
+
function Ia(a, s) {
|
|
822
830
|
if (!a.includes("*") && !a.includes(":")) return !1;
|
|
823
831
|
const p = "^" + a.replace(/[.+?^${}()|[\]\\]/g, "\\$&").replace(/\*/g, ".*").replace(/:([a-zA-Z_][a-zA-Z0-9_]*)/g, "[^/]+") + "$";
|
|
824
832
|
return new RegExp(p).test(s);
|
|
825
833
|
}
|
|
826
|
-
function
|
|
834
|
+
function ja() {
|
|
827
835
|
const a = ue(), { pathname: s, search: p } = W(), b = s.startsWith("/test/") || (() => {
|
|
828
836
|
try {
|
|
829
837
|
return new URLSearchParams(p).get("mode") === "test";
|
|
@@ -841,12 +849,12 @@ function $a() {
|
|
|
841
849
|
if (!u) return;
|
|
842
850
|
const k = new URLSearchParams();
|
|
843
851
|
k.set("product", u.code), u.name && k.set("productName", u.name), a(`/workspace?mode=product&${k.toString()}`);
|
|
844
|
-
}, [u, a]),
|
|
845
|
-
width:
|
|
852
|
+
}, [u, a]), g = b && !s.startsWith("/test") ? "/test/qa/dashboard" : s, z = w(() => g, [g]), G = w(() => Da(g), [g]), {
|
|
853
|
+
width: y,
|
|
846
854
|
dragging: x,
|
|
847
855
|
onHandlePointerDown: q,
|
|
848
856
|
resetWidth: N
|
|
849
|
-
} =
|
|
857
|
+
} = Ve("zteam.sidebar.system", 220, 200, 480);
|
|
850
858
|
return /* @__PURE__ */ r("div", { className: d.shellWrap, children: [
|
|
851
859
|
u && /* @__PURE__ */ r("div", { className: d.productBanner, children: [
|
|
852
860
|
/* @__PURE__ */ e("span", { className: d.productBannerLabel, children: "📦 当前产品" }),
|
|
@@ -856,12 +864,12 @@ function $a() {
|
|
|
856
864
|
] }),
|
|
857
865
|
/* @__PURE__ */ r("div", { className: d.shell, children: [
|
|
858
866
|
/* @__PURE__ */ e(
|
|
859
|
-
|
|
867
|
+
ot,
|
|
860
868
|
{
|
|
861
869
|
activePathOverride: z,
|
|
862
870
|
menuOnly: !0,
|
|
863
871
|
visibleGroups: b ? ["测试中心"] : void 0,
|
|
864
|
-
sidebarWidth:
|
|
872
|
+
sidebarWidth: y
|
|
865
873
|
}
|
|
866
874
|
),
|
|
867
875
|
/* @__PURE__ */ e(
|
|
@@ -874,12 +882,12 @@ function $a() {
|
|
|
874
882
|
}
|
|
875
883
|
),
|
|
876
884
|
/* @__PURE__ */ r("main", { className: d.main, children: [
|
|
877
|
-
/* @__PURE__ */ e(
|
|
878
|
-
/* @__PURE__ */ e(
|
|
885
|
+
/* @__PURE__ */ e(Fe, {}),
|
|
886
|
+
/* @__PURE__ */ e(Qe, { resetKey: s, children: /* @__PURE__ */ e(_e, { fallback: /* @__PURE__ */ e("div", { className: d.empty, children: "加载中…" }), children: G }) })
|
|
879
887
|
] })
|
|
880
888
|
] })
|
|
881
889
|
] });
|
|
882
890
|
}
|
|
883
891
|
export {
|
|
884
|
-
|
|
892
|
+
ja as default
|
|
885
893
|
};
|