@yuku123/z-team-component 0.2.138 → 0.2.139
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-B1IJbLVN.js} +11463 -12034
- package/dist/{ChangeLogView-DzFmZVBw.js → ChangeLogView-BVKf3AZn.js} +1 -1
- package/dist/{index-BHfNKXIA.js → CollabPersonalHost-BY6RqeQJ.js} +3 -3
- package/dist/{ComponentDoc-KyD5wtuW.js → ComponentDoc-BIX-e69A.js} +204 -212
- package/dist/{index-DXA0r7Co.js → DevWorkbench-BtiPE_V4.js} +2 -2
- package/dist/{InvitationManagementPage-6-0uZNuO.js → InvitationManagementPage-DRC_8AiO.js} +1 -1
- package/dist/{index-C9NwYJh-.js → KnowledgeGraphTab-BfhDEyvW.js} +1 -1
- package/dist/{index-DC1fQH0J.js → Market-C2vkBzDr.js} +2 -2
- package/dist/{OnboardingPage-tLarxnp5.js → OnboardingPage-B4GQTFCS.js} +2 -2
- package/dist/{index-DZcMGMHV.js → OpsWorkbench-D8RF2p4X.js} +292 -292
- package/dist/{index-Cwptuq_d.js → ProductWorkspace-PSO7Q9m-.js} +7 -7
- package/dist/{ScheduledTasks-QGmD7Uhz.js → ScheduledTasks-CoaHVU6e.js} +3104 -3141
- package/dist/{index-CNmSLd0s.js → SmartWorkbench-BkdfSgqx.js} +611 -638
- package/dist/{SystemShell-CWawiWOn.js → SystemShell-CANwRSyW.js} +149 -148
- package/dist/SystemWorkbench.module-DpLM0zgA.js +36 -0
- package/dist/{index-BgdqkNkT.js → TrainingAdminShell-CgnQM4Nb.js} +3 -3
- package/dist/{index-BdEokzAv.js → WorkBuddyShell-DCrPpMd5.js} +6 -6
- package/dist/{admin-logs-DXjxD-y2.js → admin-logs-DK00NEUv.js} +1 -1
- package/dist/{index-4icVyiM3.js → admin-ryysUJ9z.js} +6 -6
- package/dist/{api-DOjASQ0k.js → api-C_9xZbZr.js} +1 -1
- package/dist/{api-Dzr8HLsU.js → api-DBemNteG.js} +1 -1
- package/dist/{index-0AjMJyFL.js → build-by-form-CXxXrXvw.js} +5 -5
- package/dist/{index-DarTFF-M.js → change-log-CcmXtywx.js} +1 -1
- package/dist/{index-4NOi2xz4.js → chat-DKwMolQV.js} +2 -2
- package/dist/{index-8VddM67M.js → common-Bcnlb4nY.js} +2 -2
- package/dist/{createWorkspaceWsHandler-DCokPv4M.js → createWorkspaceWsHandler-6xyLJ14H.js} +3417 -3479
- package/dist/{index-CjYmL2yJ.js → docs-A-g6sqaE.js} +2 -2
- package/dist/{index-CUOByyqy.js → from-scenario-D8CIJLDn.js} +5 -5
- package/dist/{index-Crzx3zh2.js → from-ticket-D0oQPEf1.js} +2 -2
- package/dist/{index-DGdtqBi4.js → index-BGAG77Nt.js} +4 -4
- package/dist/index-BM6KEb8k.js +576 -0
- package/dist/{index-B75TTql4.js → index-BgCxUeRF.js} +2 -2
- package/dist/{index-ZqDoLUxb.js → index-BlfOXOZM.js} +1 -1
- package/dist/index-Bs_WMKyt.js +9527 -0
- package/dist/{index-nj-cjKsf.js → index-Dlf6mERD.js} +1950 -1910
- package/dist/index.js +1 -1
- package/dist/{instance-CDA6R8yG.js → instance-B9ZKD5cL.js} +1 -1
- package/dist/{menuPermission-LCjN8Osm.js → menuPermission-C4EVCwjs.js} +3 -3
- package/dist/{menuTree-Ctcz41N8.js → menuTree-BjchjhUw.js} +25 -23
- package/dist/pages.js +1 -1
- package/dist/{index-CLP0LnEz.js → phone-BU4g7eHI.js} +5 -5
- package/dist/portal-QNpTaU--.js +237 -0
- package/dist/{index-VqKcDrn3.js → scenario-DOpFkfNV.js} +2 -2
- package/dist/{send-default-agent-team-message-3Uyy88s_.js → send-default-agent-team-message-1L9Jv1eJ.js} +1 -1
- package/dist/{sso-user-DX2FYQCh.js → sso-user-Co71Xi9I.js} +1 -1
- package/dist/{training-BgYM7EV-.js → training-BqYfINRR.js} +1 -1
- package/dist/{webide-BsF30aLX.js → webide-AknolY0B.js} +213 -213
- package/dist/{index-PJZV-bFc.js → welcome-BBLRGBWu.js} +1 -1
- package/dist/z-team-component.css +1 -1
- package/package.json +12 -4
- package/dist/SystemWorkbench.module-CZv_ruUa.js +0 -36
- package/dist/index-DhDdFRHC.js +0 -279
- package/dist/index-DxZEpsT6.js +0 -10339
- /package/dist/{index-DrDFy5jN.js → CognitionWorkbench-DrDFy5jN.js} +0 -0
- /package/dist/{index-C815hPWS.js → chatdemo-C815hPWS.js} +0 -0
- /package/dist/{index-B_LJRFsK.js → download-B_LJRFsK.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
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 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, InboxOutlined as ee, FileTextOutlined as B, SendOutlined 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 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
13
|
{
|
|
14
14
|
title: "配置中心",
|
|
15
15
|
icon: /* @__PURE__ */ e(Z, {}),
|
|
@@ -45,8 +45,9 @@ 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(Ce, {}), 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" },
|
|
@@ -55,7 +56,7 @@ const Qe = [
|
|
|
55
56
|
},
|
|
56
57
|
{
|
|
57
58
|
title: "服务注册",
|
|
58
|
-
icon: /* @__PURE__ */ e(
|
|
59
|
+
icon: /* @__PURE__ */ e(Ie, {}),
|
|
59
60
|
items: [
|
|
60
61
|
{ key: "rpc-service", label: "服务列表", icon: /* @__PURE__ */ e(C, {}), path: "/rpc/service" },
|
|
61
62
|
{ key: "rpc-instance", label: "服务实例", icon: /* @__PURE__ */ e(P, {}), path: "/rpc/instance" }
|
|
@@ -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
|
},
|
|
@@ -120,7 +121,7 @@ const Qe = [
|
|
|
120
121
|
},
|
|
121
122
|
{
|
|
122
123
|
title: "调度中心",
|
|
123
|
-
icon: /* @__PURE__ */ e(
|
|
124
|
+
icon: /* @__PURE__ */ e(ze, {}),
|
|
124
125
|
items: [
|
|
125
126
|
{ key: "schedule-jobs", label: "任务列表", icon: /* @__PURE__ */ e(M, {}), path: "/schedule/jobs" },
|
|
126
127
|
{ key: "schedule-group", label: "分组管理", icon: /* @__PURE__ */ e(C, {}), path: "/schedule/group" },
|
|
@@ -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 Xe = {
|
|
149
150
|
title: "测试中心",
|
|
150
151
|
icon: /* @__PURE__ */ e(A, {}),
|
|
151
152
|
// 测试 Tab 的入口权限点 (顶栏 test mode 同码)。4A 普通用户角色 USER 持有 TEST_ENTRY
|
|
@@ -181,7 +182,7 @@ const Ze = {
|
|
|
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 Je(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($e, {}),
|
|
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 et = {
|
|
294
295
|
title: "协作管理",
|
|
295
296
|
icon: /* @__PURE__ */ e(H, {}),
|
|
296
297
|
permission: "ADMIN_ENTRY",
|
|
297
|
-
items:
|
|
298
|
-
},
|
|
298
|
+
items: He.map(Je)
|
|
299
|
+
}, tt = {
|
|
299
300
|
title: "基础服务",
|
|
300
301
|
icon: /* @__PURE__ */ e(R, {}),
|
|
301
302
|
items: [
|
|
302
|
-
...
|
|
303
|
+
...Ze.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(Re, {}),
|
|
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
|
+
}, at = {
|
|
374
375
|
title: "系统初始",
|
|
375
|
-
icon: /* @__PURE__ */ e(
|
|
376
|
+
icon: /* @__PURE__ */ e(xe, {}),
|
|
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,7 +417,7 @@ 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: "角色、权限点与权限树(角色管理已并入本项)"
|
|
422
423
|
}
|
|
@@ -429,31 +430,31 @@ const Je = {
|
|
|
429
430
|
// 路由本身不动,旧深链仍可达。
|
|
430
431
|
// 「业务流程」组已删(2026-11-11):流程中心/任务中心/订阅中心/项目中心 四个中心
|
|
431
432
|
// 以二级子菜单并入「基础服务」组(见 MIDDLEWARE_SERVICES_GROUP 内 biz-* 四项)。
|
|
432
|
-
Je,
|
|
433
433
|
et,
|
|
434
|
-
tt
|
|
435
|
-
|
|
436
|
-
|
|
434
|
+
tt,
|
|
435
|
+
at
|
|
436
|
+
], nt = [...Ae, Xe];
|
|
437
|
+
function ct({
|
|
437
438
|
activePathOverride: a,
|
|
438
439
|
menuOnly: s = !1,
|
|
439
440
|
visibleGroups: p,
|
|
440
441
|
sidebarWidth: b
|
|
441
442
|
} = {}) {
|
|
442
|
-
const u = ue(), { pathname: E } = W(),
|
|
443
|
-
() => p ?
|
|
443
|
+
const u = ue(), { pathname: E } = W(), g = w(
|
|
444
|
+
() => p ? nt.filter((c) => p.includes(c.title)) : Ae,
|
|
444
445
|
[p]
|
|
445
|
-
), z = se((c) => c.permissionState), G = se((c) => c.currentUser),
|
|
446
|
-
() => z === "failed" ?
|
|
447
|
-
[
|
|
446
|
+
), z = se((c) => c.permissionState), G = se((c) => c.currentUser), y = w(
|
|
447
|
+
() => z === "failed" ? g : Ue(g, G),
|
|
448
|
+
[g, G, z]
|
|
448
449
|
), [x, q] = F(/* @__PURE__ */ new Set()), [N, k] = F(/* @__PURE__ */ new Set()), m = w(() => {
|
|
449
450
|
var h;
|
|
450
451
|
const c = a ?? E;
|
|
451
|
-
return ((h =
|
|
452
|
+
return ((h = y.flatMap((l) => D(l.items)).find(
|
|
452
453
|
(l) => l.path === c
|
|
453
454
|
)) == null ? void 0 : h.key) ?? null;
|
|
454
|
-
}, [a, E,
|
|
455
|
+
}, [a, E, y]);
|
|
455
456
|
we(() => {
|
|
456
|
-
m &&
|
|
457
|
+
m && y.forEach((c) => {
|
|
457
458
|
const h = c.items.find(
|
|
458
459
|
(l) => l.key === m || D([l]).some((i) => i.key === m)
|
|
459
460
|
);
|
|
@@ -463,7 +464,7 @@ function nt({
|
|
|
463
464
|
(l) => l.has(h.key) ? l : new Set(l).add(h.key)
|
|
464
465
|
));
|
|
465
466
|
});
|
|
466
|
-
}, [m,
|
|
467
|
+
}, [m, y]);
|
|
467
468
|
const Se = (c) => {
|
|
468
469
|
q((h) => {
|
|
469
470
|
const l = new Set(h);
|
|
@@ -476,7 +477,7 @@ function nt({
|
|
|
476
477
|
});
|
|
477
478
|
}, K = (c) => {
|
|
478
479
|
c.path && u(c.path);
|
|
479
|
-
}, S =
|
|
480
|
+
}, S = y.flatMap((c) => D(c.items)).find(
|
|
480
481
|
(c) => c.key === m
|
|
481
482
|
);
|
|
482
483
|
return /* @__PURE__ */ r("div", { className: n.container, children: [
|
|
@@ -486,8 +487,8 @@ function nt({
|
|
|
486
487
|
className: n.sidebar,
|
|
487
488
|
style: b ? { width: b, minWidth: b } : void 0,
|
|
488
489
|
children: [
|
|
489
|
-
/* @__PURE__ */ e(
|
|
490
|
-
/* @__PURE__ */ e("nav", { className: n.menuList, children:
|
|
490
|
+
/* @__PURE__ */ e(je, {}),
|
|
491
|
+
/* @__PURE__ */ e("nav", { className: n.menuList, children: y.map((c) => {
|
|
491
492
|
const h = x.has(c.title), l = m ? c.items.findIndex(
|
|
492
493
|
(i) => i.key === m || D([i]).some((_) => _.key === m)
|
|
493
494
|
) : -1;
|
|
@@ -584,137 +585,137 @@ function nt({
|
|
|
584
585
|
] }) })
|
|
585
586
|
] });
|
|
586
587
|
}
|
|
587
|
-
const
|
|
588
|
+
const ot = "/api/graph";
|
|
588
589
|
let ie = !1;
|
|
589
|
-
function
|
|
590
|
-
ie || (ie = !0,
|
|
590
|
+
function lt() {
|
|
591
|
+
ie || (ie = !0, Qe(ot));
|
|
591
592
|
}
|
|
592
|
-
const
|
|
593
|
-
shellWrap:
|
|
594
|
-
shell:
|
|
595
|
-
dragBar:
|
|
596
|
-
dragBarActive:
|
|
597
|
-
main:
|
|
598
|
-
productBanner:
|
|
599
|
-
productBannerLabel:
|
|
600
|
-
productBannerName:
|
|
601
|
-
productBannerCode:
|
|
602
|
-
productBannerBack:
|
|
603
|
-
empty:
|
|
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,
|
|
604
605
|
emptyIcon: yt,
|
|
605
|
-
emptyText:
|
|
606
|
+
emptyText: ft
|
|
606
607
|
};
|
|
607
|
-
|
|
608
|
-
const t = (a, s) => v(() => a().then((p) => ({ default: p[s] }))),
|
|
609
|
-
function
|
|
610
|
-
return
|
|
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, {});
|
|
611
612
|
}
|
|
612
|
-
const
|
|
613
|
-
function
|
|
613
|
+
const Oa = v(() => import("./ComponentDoc-BIX-e69A.js").then((a) => a.cl)), he = v(() => import("@yuku123/z-qa-component"));
|
|
614
|
+
function wa() {
|
|
614
615
|
return /* @__PURE__ */ r("div", { className: d.empty, children: [
|
|
615
616
|
/* @__PURE__ */ e("div", { className: d.emptyIcon, children: "📋" }),
|
|
616
617
|
/* @__PURE__ */ e("div", { className: d.emptyText, children: "请从左侧菜单选择模块" })
|
|
617
618
|
] });
|
|
618
619
|
}
|
|
619
|
-
function
|
|
620
|
+
function Na() {
|
|
620
621
|
const { pathname: a } = W();
|
|
621
622
|
return /* @__PURE__ */ e(o, { to: a.replace(/^\/product/, "/z-product"), replace: !0 });
|
|
622
623
|
}
|
|
623
|
-
const
|
|
624
|
+
const _a = [
|
|
624
625
|
// ─── 顶层 / 概览 ───
|
|
625
|
-
{ path: "/overview", element: /* @__PURE__ */ e(
|
|
626
|
+
{ path: "/overview", element: /* @__PURE__ */ e(Lt, {}) },
|
|
626
627
|
// ─── 4A 中心 (/ctc/*) ───
|
|
627
628
|
{ path: "/ctc", element: /* @__PURE__ */ e(o, { to: "/ctc/4a/account", replace: !0 }) },
|
|
628
|
-
{ path: "/ctc/4a/account", element: /* @__PURE__ */ e(
|
|
629
|
+
{ path: "/ctc/4a/account", element: /* @__PURE__ */ e(vt, {}) },
|
|
629
630
|
// 角色管理已并入权限管理(CEO 2026-11-11):角色是权限点的命名集合,
|
|
630
631
|
// 拆成两个顶级菜单时用户得在两张表之间来回对照才能回答「这角色能干什么」。
|
|
631
632
|
// 老深链 /ctc/4a/role 仍然可达 —— 落到合并页的「角色」视图。
|
|
632
633
|
{ 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(
|
|
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, {}) },
|
|
637
638
|
{ 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(
|
|
639
|
+
{ path: "/ctc/dict", element: /* @__PURE__ */ e(Ot, {}) },
|
|
640
|
+
{ path: "/ctc/overview", element: /* @__PURE__ */ e(Pt, {}) },
|
|
641
|
+
{ path: "/ctc/audit", element: /* @__PURE__ */ e(St, {}) },
|
|
641
642
|
{ 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(
|
|
643
|
+
{ path: "/ctc/agent-team", element: /* @__PURE__ */ e(Tt, {}) },
|
|
644
|
+
{ path: "/ctc/invitation", element: /* @__PURE__ */ e(xt, {}) },
|
|
645
|
+
{ path: "/onboarding", element: /* @__PURE__ */ e(Rt, {}) },
|
|
645
646
|
// ─── 智能中心 (/ai/*) ───
|
|
646
647
|
{ path: "/ai", element: /* @__PURE__ */ e(o, { to: "/ai/agent/app", replace: !0 }) },
|
|
647
648
|
{ 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(
|
|
649
|
+
{ path: "/ai/agent/app", element: /* @__PURE__ */ e(Mt, {}) },
|
|
650
|
+
{ path: "/ai/llm", element: /* @__PURE__ */ e(Bt, {}) },
|
|
650
651
|
{ path: "/ai/llm/provider", element: /* @__PURE__ */ e(o, { to: "/ai/llm", replace: !0 }) },
|
|
651
652
|
{ path: "/ai/llm/model", element: /* @__PURE__ */ e(o, { to: "/ai/llm", replace: !0 }) },
|
|
652
653
|
{ 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(
|
|
654
|
+
{ path: "/ai/ak", element: /* @__PURE__ */ e(Dt, {}) },
|
|
655
|
+
{ path: "/ai/mcp", element: /* @__PURE__ */ e(Et, {}) },
|
|
656
|
+
{ path: "/ai/skill", element: /* @__PURE__ */ e(qt, {}) },
|
|
656
657
|
{ 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(
|
|
658
|
+
{ path: "/ai/oss/bucket", element: /* @__PURE__ */ e(It, {}) },
|
|
659
|
+
{ path: "/ai/oss/bucket/:bucketName", element: /* @__PURE__ */ e(zt, {}) },
|
|
659
660
|
{ path: "/ai/trace", element: /* @__PURE__ */ e(pe, {}) },
|
|
660
661
|
{ path: "/ai/trace/debug", element: /* @__PURE__ */ e(pe, {}) },
|
|
661
|
-
{ path: "/ai/dashboard", element: /* @__PURE__ */ e(
|
|
662
|
+
{ path: "/ai/dashboard", element: /* @__PURE__ */ e(Ct, {}) },
|
|
662
663
|
// 多 Agent 实例 / 模板市场已下线 (2026-10-22): 模板并入 Agent 应用页,
|
|
663
664
|
// 旧深链重定向, 别再回到独立菜单
|
|
664
665
|
{ path: "/ai/template", element: /* @__PURE__ */ e(o, { to: "/ai/agent/app", replace: !0 }) },
|
|
665
666
|
{ path: "/ai/agent-instance", element: /* @__PURE__ */ e(o, { to: "/ai/agent/app", replace: !0 }) },
|
|
666
667
|
{ path: "/ai/agent/instances", element: /* @__PURE__ */ e(o, { to: "/ai/agent/app", replace: !0 }) },
|
|
667
668
|
// ─── 配置中心 ───
|
|
668
|
-
{ path: "/config/*", element: /* @__PURE__ */ e(
|
|
669
|
+
{ path: "/config/*", element: /* @__PURE__ */ e($t, {}) },
|
|
669
670
|
// ─── 任务中心 ───
|
|
670
671
|
// 模块根路径要重定向到默认页:通配 /task/* 匹配不到裸 /task(matchPattern 要求
|
|
671
672
|
// 前缀带斜杠),落到 SystemShellEmpty 就是一句"请从左侧菜单选择模块"的空壳。
|
|
672
673
|
{ path: "/task", element: /* @__PURE__ */ e(o, { to: "/task/dashboard", replace: !0 }) },
|
|
673
|
-
{ path: "/task/*", element: /* @__PURE__ */ e(
|
|
674
|
+
{ path: "/task/*", element: /* @__PURE__ */ e(Ut, {}) },
|
|
674
675
|
// ─── 流程中心 ───
|
|
675
676
|
{ path: "/workflow", element: /* @__PURE__ */ e(o, { to: "/workflow/dashboard", replace: !0 }) },
|
|
676
|
-
{ path: "/workflow/*", element: /* @__PURE__ */ e(
|
|
677
|
+
{ path: "/workflow/*", element: /* @__PURE__ */ e(jt, {}) },
|
|
677
678
|
// ─── 调度中心 ───
|
|
678
679
|
// 默认页是 jobs:z-schedule-component 的路由只有 jobs / group / log,没有 dashboard。
|
|
679
680
|
{ path: "/schedule", element: /* @__PURE__ */ e(o, { to: "/schedule/jobs", replace: !0 }) },
|
|
680
|
-
{ path: "/schedule/*", element: /* @__PURE__ */ e(
|
|
681
|
+
{ path: "/schedule/*", element: /* @__PURE__ */ e(Wt, {}) },
|
|
681
682
|
// ─── 密钥中心 ───
|
|
682
|
-
{ path: "/mist/*", element: /* @__PURE__ */ e(
|
|
683
|
+
{ path: "/mist/*", element: /* @__PURE__ */ e(Ht, {}) },
|
|
683
684
|
// ─── 中间件(大需求 004)— 2026-11-11 中间件面整并入系统面「基础服务」分组,
|
|
684
685
|
// 系统面成为这批前缀的唯一宿主(原 MiddlewareWorkbench 已删)。菜单在 SystemWorkbench
|
|
685
686
|
// 「基础服务」分组,数据真源 MiddlewareWorkbench/menuData.tsx;前缀口径与
|
|
686
687
|
// businessFace.ts(这些前缀现归系统面)一一对齐。
|
|
687
688
|
{ path: "/meta", element: /* @__PURE__ */ e(o, { to: "/meta/app", replace: !0 }) },
|
|
688
|
-
{ path: "/meta/*", element: /* @__PURE__ */ e(
|
|
689
|
+
{ path: "/meta/*", element: /* @__PURE__ */ e(Kt, {}) },
|
|
689
690
|
{ path: "/msg", element: /* @__PURE__ */ e(o, { to: "/msg/inbox", replace: !0 }) },
|
|
690
|
-
{ path: "/msg/*", element: /* @__PURE__ */ e(
|
|
691
|
+
{ path: "/msg/*", element: /* @__PURE__ */ e(Vt, {}) },
|
|
691
692
|
{ path: "/rpc", element: /* @__PURE__ */ e(o, { to: "/rpc/service", replace: !0 }) },
|
|
692
|
-
{ path: "/rpc/*", element: /* @__PURE__ */ e(
|
|
693
|
+
{ path: "/rpc/*", element: /* @__PURE__ */ e(Yt, {}) },
|
|
693
694
|
// 向量检索:REST 面是内嵌 QdrantRestServer(非 Spring MVC),经 z-opc 的 /api/vector/** 代理出去
|
|
694
695
|
{ path: "/vector", element: /* @__PURE__ */ e(o, { to: "/vector/collections", replace: !0 }) },
|
|
695
|
-
{ path: "/vector/*", element: /* @__PURE__ */ e(
|
|
696
|
+
{ path: "/vector/*", element: /* @__PURE__ */ e(Ft, {}) },
|
|
696
697
|
// 图数据库:REST 面是内嵌 GraphControlServer,经 z-opc 的 /api/graph/** 代理出去
|
|
697
698
|
// ⚠ 内嵌端口是 8091 不是 8090:8090 归一个外部进程,且被 BizKnowledgeGraphService 当业务依赖在用
|
|
698
699
|
{ path: "/graph", element: /* @__PURE__ */ e(o, { to: "/graph/schema", replace: !0 }) },
|
|
699
|
-
{ path: "/graph/*", element: /* @__PURE__ */ e(
|
|
700
|
+
{ path: "/graph/*", element: /* @__PURE__ */ e(Pa, {}) },
|
|
700
701
|
// 网关:admin 面是 z-gw-admin 的原生 Spring MVC;页面一律走 z-opc 自己的环回代理 GET /api/gw/**
|
|
701
702
|
{ path: "/gw", element: /* @__PURE__ */ e(o, { to: "/gw/routes", replace: !0 }) },
|
|
702
|
-
{ path: "/gw/*", element: /* @__PURE__ */ e(
|
|
703
|
+
{ path: "/gw/*", element: /* @__PURE__ */ e(Zt, {}) },
|
|
703
704
|
// 缓存:/api/cache/** 是 CacheProxyController 在 JVM 内读 MemoryStore + 只读命令拼出的结构化 JSON
|
|
704
705
|
{ path: "/cache", element: /* @__PURE__ */ e(o, { to: "/cache/overview", replace: !0 }) },
|
|
705
|
-
{ path: "/cache/*", element: /* @__PURE__ */ e(
|
|
706
|
+
{ path: "/cache/*", element: /* @__PURE__ */ e(Xt, {}) },
|
|
706
707
|
// 消息队列::9877/:10912 是 z-mq-remoting 的 Netty 私有二进制协议,/api/mq/** 是协议适配器
|
|
707
708
|
{ path: "/mq", element: /* @__PURE__ */ e(o, { to: "/mq/instance", replace: !0 }) },
|
|
708
|
-
{ path: "/mq/*", element: /* @__PURE__ */ e(
|
|
709
|
+
{ path: "/mq/*", element: /* @__PURE__ */ e(Jt, {}) },
|
|
709
710
|
// 知识库旧中间件面入口(2026-11-11 摘除菜单):认知工作台的「知识管理」段
|
|
710
711
|
// (/z-kb/*,CognitionWorkbench) 已完整承载 z-kb,旧深链一律重定向过去。
|
|
711
712
|
{ path: "/kb/*", element: /* @__PURE__ */ e(o, { to: "/z-kb/dashboard", replace: !0 }) },
|
|
712
713
|
// 对象存储(z-oss):走 z-opc 侧 /api/oss-admin/**,不再需要 AK/SK 下发
|
|
713
714
|
{ path: "/oss", element: /* @__PURE__ */ e(o, { to: "/oss/buckets", replace: !0 }) },
|
|
714
|
-
{ path: "/oss/*", element: /* @__PURE__ */ e(
|
|
715
|
+
{ path: "/oss/*", element: /* @__PURE__ */ e(ea, {}) },
|
|
715
716
|
// ─── 订阅中心 ───
|
|
716
717
|
{ path: "/subscribe", element: /* @__PURE__ */ e(o, { to: "/subscribe/list", replace: !0 }) },
|
|
717
|
-
{ path: "/subscribe/*", element: /* @__PURE__ */ e(
|
|
718
|
+
{ path: "/subscribe/*", element: /* @__PURE__ */ e(ta, {}) },
|
|
718
719
|
// ─── 产品工作台 z-product (2026-10-21 接入) ───
|
|
719
720
|
// /z-product/* 由 z-product 组件自己的 ProductApp 渲染(内部按 manifest 的绝对路径手工匹配,
|
|
720
721
|
// 不用嵌套 <Routes>:这里没有 Route 父上下文,绝对路径不会被再拼一次父前缀)。
|
|
@@ -723,16 +724,16 @@ const Na = [
|
|
|
723
724
|
// 产品域的默认落地页是工坊:它是「一个面板干完产品业务开发」的入口,
|
|
724
725
|
// 全景/蓝图是看板,不是第一动作。
|
|
725
726
|
{ path: "/z-product", element: /* @__PURE__ */ e(o, { to: "/z-product/atelier", replace: !0 }) },
|
|
726
|
-
{ path: "/z-product/*", element: /* @__PURE__ */ e(
|
|
727
|
+
{ path: "/z-product/*", element: /* @__PURE__ */ e(Ve, { basePath: "/z-product" }) },
|
|
727
728
|
// 旧前缀 /product/* → 新前缀 /z-product/*:§14 前缀化之前的老 URL 仍可达(书签 / 旧分享链接)。
|
|
728
729
|
{ path: "/product", element: /* @__PURE__ */ e(o, { to: "/z-product/atelier", replace: !0 }) },
|
|
729
|
-
{ path: "/product/*", element: /* @__PURE__ */ e(
|
|
730
|
+
{ path: "/product/*", element: /* @__PURE__ */ e(Na, {}) },
|
|
730
731
|
// ─── 项目中心 ───
|
|
731
732
|
{ path: "/project", element: /* @__PURE__ */ e(o, { to: "/project/list", replace: !0 }) },
|
|
732
|
-
{ path: "/project/*", element: /* @__PURE__ */ e(
|
|
733
|
+
{ path: "/project/*", element: /* @__PURE__ */ e(aa, {}) },
|
|
733
734
|
// ─── 脚本中心 (/script/*) — FEATURE052 ───
|
|
734
735
|
{ path: "/script", element: /* @__PURE__ */ e(o, { to: "/script/manage", replace: !0 }) },
|
|
735
|
-
{ path: "/script/manage", element: /* @__PURE__ */ e(
|
|
736
|
+
{ path: "/script/manage", element: /* @__PURE__ */ e(Gt, {}) },
|
|
736
737
|
{ path: "/script/productization", element: /* @__PURE__ */ e(O, {}) },
|
|
737
738
|
// 脚本治理五条(2026-11-11 随中间件面并入):组件自带 5 个 Tab,
|
|
738
739
|
// 按「一个能力一条菜单」把 Tab 键透传成 initialTab,精确路径匹配先于 /script 通配。
|
|
@@ -747,7 +748,7 @@ const Na = [
|
|
|
747
748
|
{ path: "/z-tool/webide", element: /* @__PURE__ */ e(me, {}) },
|
|
748
749
|
// ─── 测试中心 (/test/*) — FEATURE061 ───
|
|
749
750
|
{ path: "/test", element: /* @__PURE__ */ e(o, { to: "/test/qa/dashboard", replace: !0 }) },
|
|
750
|
-
{ path: "/test/mock", element: /* @__PURE__ */ e(
|
|
751
|
+
{ path: "/test/mock", element: /* @__PURE__ */ e(Oa, {}) },
|
|
751
752
|
// QAApp 按 pathname 手动分发子页(非嵌套 <Routes>),挂载前缀推断依赖
|
|
752
753
|
// 路径里有 /qa 段。?mode=test 合成挂载时真实 pathname 是 /workspace(无 qa 段)
|
|
753
754
|
// ⇒ 显式传 mountPath, 否则被库 default 分支 <Navigate> 到 /dashboard(2026-11-11 实测)。
|
|
@@ -784,46 +785,46 @@ const Na = [
|
|
|
784
785
|
// §14 铁律(菜单 key 必须带产品名前缀)针对的是**同一宿主内多套件共存**的撞车问题;
|
|
785
786
|
// 这里每个域的宿主前缀本身就已经是产品名(/config / /task / /workflow …),
|
|
786
787
|
// 且各域之间前缀互不相同 ⇒ 不存在撞车,不需要再加 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(
|
|
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, {}) },
|
|
802
803
|
{ path: "/ctc/docs", element: /* @__PURE__ */ e(ya, {}) },
|
|
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
|
|
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 面的无参兜底同样是专家团构建)
|
|
808
809
|
{ path: "/operation", element: /* @__PURE__ */ e(o, { to: "/operation/scenario", replace: !0 }) },
|
|
809
810
|
...ve().map((a) => ({
|
|
810
811
|
path: `/operation/${a.key}`,
|
|
811
|
-
element: /* @__PURE__ */ e(
|
|
812
|
+
element: /* @__PURE__ */ e(Sa, { menuKey: a.key })
|
|
812
813
|
}))
|
|
813
|
-
], de = [...
|
|
814
|
-
function
|
|
814
|
+
], de = [..._a, ...Ma];
|
|
815
|
+
function Ca(a) {
|
|
815
816
|
for (const s of de)
|
|
816
817
|
if (s.path === a) return s.element;
|
|
817
818
|
for (const s of de)
|
|
818
|
-
if (
|
|
819
|
-
return /* @__PURE__ */ e(
|
|
819
|
+
if (Da(s.path, a)) return s.element;
|
|
820
|
+
return /* @__PURE__ */ e(wa, {});
|
|
820
821
|
}
|
|
821
|
-
function
|
|
822
|
+
function Da(a, s) {
|
|
822
823
|
if (!a.includes("*") && !a.includes(":")) return !1;
|
|
823
824
|
const p = "^" + a.replace(/[.+?^${}()|[\]\\]/g, "\\$&").replace(/\*/g, ".*").replace(/:([a-zA-Z_][a-zA-Z0-9_]*)/g, "[^/]+") + "$";
|
|
824
825
|
return new RegExp(p).test(s);
|
|
825
826
|
}
|
|
826
|
-
function
|
|
827
|
+
function Ua() {
|
|
827
828
|
const a = ue(), { pathname: s, search: p } = W(), b = s.startsWith("/test/") || (() => {
|
|
828
829
|
try {
|
|
829
830
|
return new URLSearchParams(p).get("mode") === "test";
|
|
@@ -841,12 +842,12 @@ function $a() {
|
|
|
841
842
|
if (!u) return;
|
|
842
843
|
const k = new URLSearchParams();
|
|
843
844
|
k.set("product", u.code), u.name && k.set("productName", u.name), a(`/workspace?mode=product&${k.toString()}`);
|
|
844
|
-
}, [u, a]),
|
|
845
|
-
width:
|
|
845
|
+
}, [u, a]), g = b && !s.startsWith("/test") ? "/test/qa/dashboard" : s, z = w(() => g, [g]), G = w(() => Ca(g), [g]), {
|
|
846
|
+
width: y,
|
|
846
847
|
dragging: x,
|
|
847
848
|
onHandlePointerDown: q,
|
|
848
849
|
resetWidth: N
|
|
849
|
-
} =
|
|
850
|
+
} = Ke("zteam.sidebar.system", 220, 200, 480);
|
|
850
851
|
return /* @__PURE__ */ r("div", { className: d.shellWrap, children: [
|
|
851
852
|
u && /* @__PURE__ */ r("div", { className: d.productBanner, children: [
|
|
852
853
|
/* @__PURE__ */ e("span", { className: d.productBannerLabel, children: "📦 当前产品" }),
|
|
@@ -856,12 +857,12 @@ function $a() {
|
|
|
856
857
|
] }),
|
|
857
858
|
/* @__PURE__ */ r("div", { className: d.shell, children: [
|
|
858
859
|
/* @__PURE__ */ e(
|
|
859
|
-
|
|
860
|
+
ct,
|
|
860
861
|
{
|
|
861
862
|
activePathOverride: z,
|
|
862
863
|
menuOnly: !0,
|
|
863
864
|
visibleGroups: b ? ["测试中心"] : void 0,
|
|
864
|
-
sidebarWidth:
|
|
865
|
+
sidebarWidth: y
|
|
865
866
|
}
|
|
866
867
|
),
|
|
867
868
|
/* @__PURE__ */ e(
|
|
@@ -874,12 +875,12 @@ function $a() {
|
|
|
874
875
|
}
|
|
875
876
|
),
|
|
876
877
|
/* @__PURE__ */ r("main", { className: d.main, children: [
|
|
877
|
-
/* @__PURE__ */ e(
|
|
878
|
-
/* @__PURE__ */ e(
|
|
878
|
+
/* @__PURE__ */ e(Ye, {}),
|
|
879
|
+
/* @__PURE__ */ e(Fe, { resetKey: s, children: /* @__PURE__ */ e(_e, { fallback: /* @__PURE__ */ e("div", { className: d.empty, children: "加载中…" }), children: G }) })
|
|
879
880
|
] })
|
|
880
881
|
] })
|
|
881
882
|
] });
|
|
882
883
|
}
|
|
883
884
|
export {
|
|
884
|
-
|
|
885
|
+
Ua as default
|
|
885
886
|
};
|