@yuku123/z-team-component 0.2.139 → 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-B1IJbLVN.js → AdminModuleContent-DDB35gOh.js} +6 -6
- package/dist/{ChangeLogView-BVKf3AZn.js → ChangeLogView-AKOZ6Ski.js} +1 -1
- package/dist/{ComponentDoc-BIX-e69A.js → ComponentDoc-SiXXhka1.js} +3 -3
- package/dist/{InvitationManagementPage-DRC_8AiO.js → InvitationManagementPage-CRbABOKe.js} +1 -1
- package/dist/{OnboardingPage-B4GQTFCS.js → OnboardingPage-BNJopRYO.js} +2 -2
- package/dist/{ScheduledTasks-CoaHVU6e.js → ScheduledTasks-Cn_CEZ-B.js} +7 -7
- package/dist/{SystemShell-CANwRSyW.js → SystemShell-B8Tyluzu.js} +140 -133
- package/dist/{admin-logs-DK00NEUv.js → admin-logs-B3IxooG2.js} +1 -1
- package/dist/{api-DBemNteG.js → api-DW8nsucC.js} +1 -1
- package/dist/{api-C_9xZbZr.js → api-DmBlT5MH.js} +1 -1
- package/dist/{createWorkspaceWsHandler-6xyLJ14H.js → createWorkspaceWsHandler-5MHgQGfJ.js} +3 -3
- package/dist/{admin-ryysUJ9z.js → index-BSqUODiN.js} +5 -5
- package/dist/{DevWorkbench-BtiPE_V4.js → index-BT4oQJby.js} +2 -2
- package/dist/{Market-C2vkBzDr.js → index-BV64kKse.js} +2 -2
- package/dist/{from-scenario-D8CIJLDn.js → index-C1nr0UeB.js} +3 -3
- package/dist/{index-BM6KEb8k.js → index-C24QsGsG.js} +1 -1
- package/dist/{build-by-form-CXxXrXvw.js → index-C7DSDopw.js} +3 -3
- package/dist/{WorkBuddyShell-DCrPpMd5.js → index-CEoS_jEa.js} +6 -6
- package/dist/{common-Bcnlb4nY.js → index-CJ7dJejJ.js} +2 -2
- package/dist/{OpsWorkbench-D8RF2p4X.js → index-CXjen4Gx.js} +4 -4
- package/dist/{docs-A-g6sqaE.js → index-CvHMXrAD.js} +1 -1
- package/dist/{from-ticket-D0oQPEf1.js → index-D-G4mbxH.js} +2 -2
- package/dist/{phone-BU4g7eHI.js → index-D440bEgm.js} +5 -5
- package/dist/{KnowledgeGraphTab-BfhDEyvW.js → index-D7thpI99.js} +1 -1
- package/dist/{index-BGAG77Nt.js → index-DCAO83Wb.js} +4 -4
- package/dist/{index-Bs_WMKyt.js → index-DDOfdrn4.js} +10 -10
- package/dist/{change-log-CcmXtywx.js → index-DHrMSEVJ.js} +1 -1
- package/dist/{index-BlfOXOZM.js → index-DULYXalY.js} +1 -1
- package/dist/{scenario-DOpFkfNV.js → index-DjbLq5lI.js} +2 -2
- package/dist/{chat-DKwMolQV.js → index-Du95tdVf.js} +2 -2
- package/dist/{ProductWorkspace-PSO7Q9m-.js → index-DvslXAjT.js} +3 -3
- package/dist/{CollabPersonalHost-BY6RqeQJ.js → index-Hv2KDG7i.js} +3 -3
- package/dist/{SmartWorkbench-BkdfSgqx.js → index-NIu3OKHi.js} +6 -5
- package/dist/{index-BgCxUeRF.js → index-VmRWH4U5.js} +2 -2
- package/dist/{TrainingAdminShell-CgnQM4Nb.js → index-l9KH8r7F.js} +3 -3
- package/dist/{index-Dlf6mERD.js → index-nj-cjKsf.js} +1910 -1950
- package/dist/index.js +1 -1
- package/dist/{instance-B9ZKD5cL.js → instance-B4SrJ-BY.js} +1 -1
- package/dist/{menuPermission-C4EVCwjs.js → menuPermission-DxknHmt8.js} +3 -3
- package/dist/pages.js +1 -1
- package/dist/{send-default-agent-team-message-1L9Jv1eJ.js → send-default-agent-team-message-DYytBtLc.js} +1 -1
- package/dist/{sso-user-Co71Xi9I.js → sso-user-DN6kSAc0.js} +1 -1
- package/dist/{training-BqYfINRR.js → training-CKYPSkUP.js} +1 -1
- package/dist/{webide-AknolY0B.js → webide-JAalC_Wr.js} +3 -3
- package/package.json +2 -1
- /package/dist/{welcome-BBLRGBWu.js → index-BBLRGBWu.js} +0 -0
- /package/dist/{download-B_LJRFsK.js → index-B_LJRFsK.js} +0 -0
- /package/dist/{chatdemo-C815hPWS.js → index-C815hPWS.js} +0 -0
- /package/dist/{CognitionWorkbench-DrDFy5jN.js → index-DrDFy5jN.js} +0 -0
- /package/dist/{portal-QNpTaU--.js → index-QNpTaU--.js} +0 -0
|
@@ -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
|
|
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
8
|
import { s as n } from "./SystemWorkbench.module-DpLM0zgA.js";
|
|
9
|
-
import { ProductApp as
|
|
10
|
-
import { P as
|
|
11
|
-
import { configureGraph as
|
|
12
|
-
const
|
|
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
|
{
|
|
@@ -47,18 +47,18 @@ const Ze = [
|
|
|
47
47
|
title: "消息中心",
|
|
48
48
|
icon: /* @__PURE__ */ e(De, {}),
|
|
49
49
|
items: [
|
|
50
|
-
{ key: "msg-send", label: "发消息", icon: /* @__PURE__ */ e(
|
|
50
|
+
{ key: "msg-send", label: "发消息", icon: /* @__PURE__ */ e(Me, {}), path: "/msg/send" },
|
|
51
51
|
{ key: "msg-inbox", label: "站内信", icon: /* @__PURE__ */ e(ee, {}), path: "/msg/inbox" },
|
|
52
52
|
{ key: "msg-template", label: "消息模板", icon: /* @__PURE__ */ e(X, {}), path: "/msg/template" },
|
|
53
53
|
{ key: "msg-delivery", label: "投递日志", icon: /* @__PURE__ */ e(B, {}), path: "/msg/delivery" },
|
|
54
|
-
{ key: "msg-batch", label: "批量任务", icon: /* @__PURE__ */ e(
|
|
54
|
+
{ key: "msg-batch", label: "批量任务", icon: /* @__PURE__ */ e(C, {}), path: "/msg/batch" }
|
|
55
55
|
]
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
58
|
title: "服务注册",
|
|
59
59
|
icon: /* @__PURE__ */ e(Ie, {}),
|
|
60
60
|
items: [
|
|
61
|
-
{ key: "rpc-service", label: "服务列表", icon: /* @__PURE__ */ e(
|
|
61
|
+
{ key: "rpc-service", label: "服务列表", icon: /* @__PURE__ */ e(M, {}), path: "/rpc/service" },
|
|
62
62
|
{ key: "rpc-instance", label: "服务实例", icon: /* @__PURE__ */ e(P, {}), path: "/rpc/instance" }
|
|
63
63
|
]
|
|
64
64
|
},
|
|
@@ -85,7 +85,7 @@ const Ze = [
|
|
|
85
85
|
title: "网关",
|
|
86
86
|
icon: /* @__PURE__ */ e(U, {}),
|
|
87
87
|
items: [
|
|
88
|
-
{ key: "gw-routes", label: "网关路由", icon: /* @__PURE__ */ e(
|
|
88
|
+
{ key: "gw-routes", label: "网关路由", icon: /* @__PURE__ */ e(C, {}), path: "/gw/routes" },
|
|
89
89
|
{ key: "gw-metrics", label: "网关指标", icon: /* @__PURE__ */ e(A, {}), path: "/gw/metrics" },
|
|
90
90
|
{ key: "gw-instance", label: "实例与面", icon: /* @__PURE__ */ e(P, {}), path: "/gw/instance" }
|
|
91
91
|
]
|
|
@@ -105,8 +105,8 @@ const Ze = [
|
|
|
105
105
|
icon: /* @__PURE__ */ e(ee, {}),
|
|
106
106
|
items: [
|
|
107
107
|
{ key: "mq-instance", label: "实例与端口", icon: /* @__PURE__ */ e(P, {}), path: "/mq/instance" },
|
|
108
|
-
{ key: "mq-cluster", label: "集群与 Broker", icon: /* @__PURE__ */ e(
|
|
109
|
-
{ 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" },
|
|
110
110
|
{ key: "mq-broker", label: "Broker 元数据", icon: /* @__PURE__ */ e(ke, {}), path: "/mq/broker" }
|
|
111
111
|
]
|
|
112
112
|
},
|
|
@@ -123,8 +123,8 @@ const Ze = [
|
|
|
123
123
|
title: "调度中心",
|
|
124
124
|
icon: /* @__PURE__ */ e(ze, {}),
|
|
125
125
|
items: [
|
|
126
|
-
{ key: "schedule-jobs", label: "任务列表", icon: /* @__PURE__ */ e(
|
|
127
|
-
{ 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" },
|
|
128
128
|
{ key: "schedule-log", label: "执行日志", icon: /* @__PURE__ */ e(Q, {}), path: "/schedule/log" }
|
|
129
129
|
]
|
|
130
130
|
},
|
|
@@ -146,7 +146,7 @@ const Ze = [
|
|
|
146
146
|
function D(a) {
|
|
147
147
|
return a.flatMap((s) => [s, ...D(s.children ?? [])]);
|
|
148
148
|
}
|
|
149
|
-
const
|
|
149
|
+
const Je = {
|
|
150
150
|
title: "测试中心",
|
|
151
151
|
icon: /* @__PURE__ */ e(A, {}),
|
|
152
152
|
// 测试 Tab 的入口权限点 (顶栏 test mode 同码)。4A 普通用户角色 USER 持有 TEST_ENTRY
|
|
@@ -175,7 +175,7 @@ const Xe = {
|
|
|
175
175
|
{
|
|
176
176
|
key: "test-suite",
|
|
177
177
|
label: "测试套件",
|
|
178
|
-
icon: /* @__PURE__ */ e(
|
|
178
|
+
icon: /* @__PURE__ */ e(M, {}),
|
|
179
179
|
path: "/test/qa/suites",
|
|
180
180
|
desc: "步骤编排与变量传递"
|
|
181
181
|
},
|
|
@@ -274,11 +274,11 @@ const Xe = {
|
|
|
274
274
|
}
|
|
275
275
|
]
|
|
276
276
|
};
|
|
277
|
-
function
|
|
277
|
+
function et(a) {
|
|
278
278
|
const s = ve(a.children ?? []), p = {
|
|
279
279
|
key: `operation-${a.key}`,
|
|
280
280
|
label: a.label,
|
|
281
|
-
icon: a.icon ?? /* @__PURE__ */ e(
|
|
281
|
+
icon: a.icon ?? /* @__PURE__ */ e(Ue, {}),
|
|
282
282
|
permission: a.permission
|
|
283
283
|
};
|
|
284
284
|
return s.length === 0 ? { ...p, path: `/operation/${a.key}` } : {
|
|
@@ -291,16 +291,16 @@ function Je(a) {
|
|
|
291
291
|
}))
|
|
292
292
|
};
|
|
293
293
|
}
|
|
294
|
-
const
|
|
294
|
+
const tt = {
|
|
295
295
|
title: "协作管理",
|
|
296
296
|
icon: /* @__PURE__ */ e(H, {}),
|
|
297
297
|
permission: "ADMIN_ENTRY",
|
|
298
|
-
items:
|
|
299
|
-
},
|
|
298
|
+
items: Ke.map(et)
|
|
299
|
+
}, at = {
|
|
300
300
|
title: "基础服务",
|
|
301
301
|
icon: /* @__PURE__ */ e(R, {}),
|
|
302
302
|
items: [
|
|
303
|
-
...
|
|
303
|
+
...Xe.map((a) => ({
|
|
304
304
|
key: `mw-${a.title}`,
|
|
305
305
|
label: a.title,
|
|
306
306
|
icon: a.icon,
|
|
@@ -359,7 +359,7 @@ const et = {
|
|
|
359
359
|
{
|
|
360
360
|
key: "tool-curl",
|
|
361
361
|
label: "短链管理",
|
|
362
|
-
icon: /* @__PURE__ */ e(
|
|
362
|
+
icon: /* @__PURE__ */ e(xe, {}),
|
|
363
363
|
path: "/z-tool/curl",
|
|
364
364
|
desc: "短链接创建与管理"
|
|
365
365
|
},
|
|
@@ -371,9 +371,9 @@ const et = {
|
|
|
371
371
|
desc: "在线 IDE 代码编辑器"
|
|
372
372
|
}
|
|
373
373
|
]
|
|
374
|
-
},
|
|
374
|
+
}, nt = {
|
|
375
375
|
title: "系统初始",
|
|
376
|
-
icon: /* @__PURE__ */ e(
|
|
376
|
+
icon: /* @__PURE__ */ e($e, {}),
|
|
377
377
|
permission: "PERMISSION_MANAGE",
|
|
378
378
|
items: [
|
|
379
379
|
{
|
|
@@ -420,6 +420,13 @@ const et = {
|
|
|
420
420
|
icon: /* @__PURE__ */ e(ge, {}),
|
|
421
421
|
path: "/ctc/4a/permission",
|
|
422
422
|
desc: "角色、权限点与权限树(角色管理已并入本项)"
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
key: "4a-dict",
|
|
426
|
+
label: "字典管理",
|
|
427
|
+
icon: /* @__PURE__ */ e(Re, {}),
|
|
428
|
+
path: "/ctc/dict",
|
|
429
|
+
desc: "灵活字典:分类与条目、作用域回退链(域→租户→全局)"
|
|
423
430
|
}
|
|
424
431
|
]
|
|
425
432
|
},
|
|
@@ -430,21 +437,21 @@ const et = {
|
|
|
430
437
|
// 路由本身不动,旧深链仍可达。
|
|
431
438
|
// 「业务流程」组已删(2026-11-11):流程中心/任务中心/订阅中心/项目中心 四个中心
|
|
432
439
|
// 以二级子菜单并入「基础服务」组(见 MIDDLEWARE_SERVICES_GROUP 内 biz-* 四项)。
|
|
433
|
-
et,
|
|
434
440
|
tt,
|
|
435
|
-
at
|
|
436
|
-
|
|
437
|
-
|
|
441
|
+
at,
|
|
442
|
+
nt
|
|
443
|
+
], ct = [...Ae, Je];
|
|
444
|
+
function ot({
|
|
438
445
|
activePathOverride: a,
|
|
439
446
|
menuOnly: s = !1,
|
|
440
447
|
visibleGroups: p,
|
|
441
448
|
sidebarWidth: b
|
|
442
449
|
} = {}) {
|
|
443
450
|
const u = ue(), { pathname: E } = W(), g = w(
|
|
444
|
-
() => p ?
|
|
451
|
+
() => p ? ct.filter((c) => p.includes(c.title)) : Ae,
|
|
445
452
|
[p]
|
|
446
453
|
), z = se((c) => c.permissionState), G = se((c) => c.currentUser), y = w(
|
|
447
|
-
() => z === "failed" ? g :
|
|
454
|
+
() => z === "failed" ? g : je(g, G),
|
|
448
455
|
[g, G, z]
|
|
449
456
|
), [x, q] = F(/* @__PURE__ */ new Set()), [N, k] = F(/* @__PURE__ */ new Set()), m = w(() => {
|
|
450
457
|
var h;
|
|
@@ -487,7 +494,7 @@ function ct({
|
|
|
487
494
|
className: n.sidebar,
|
|
488
495
|
style: b ? { width: b, minWidth: b } : void 0,
|
|
489
496
|
children: [
|
|
490
|
-
/* @__PURE__ */ e(
|
|
497
|
+
/* @__PURE__ */ e(We, {}),
|
|
491
498
|
/* @__PURE__ */ e("nav", { className: n.menuList, children: y.map((c) => {
|
|
492
499
|
const h = x.has(c.title), l = m ? c.items.findIndex(
|
|
493
500
|
(i) => i.key === m || D([i]).some((_) => _.key === m)
|
|
@@ -585,137 +592,137 @@ function ct({
|
|
|
585
592
|
] }) })
|
|
586
593
|
] });
|
|
587
594
|
}
|
|
588
|
-
const
|
|
595
|
+
const lt = "/api/graph";
|
|
589
596
|
let ie = !1;
|
|
590
|
-
function
|
|
591
|
-
ie || (ie = !0,
|
|
597
|
+
function st() {
|
|
598
|
+
ie || (ie = !0, Ze(lt));
|
|
592
599
|
}
|
|
593
|
-
const
|
|
594
|
-
shellWrap:
|
|
595
|
-
shell:
|
|
596
|
-
dragBar:
|
|
597
|
-
dragBarActive:
|
|
598
|
-
main:
|
|
599
|
-
productBanner:
|
|
600
|
-
productBannerLabel:
|
|
601
|
-
productBannerName:
|
|
602
|
-
productBannerCode:
|
|
603
|
-
productBannerBack:
|
|
604
|
-
empty:
|
|
605
|
-
emptyIcon:
|
|
606
|
-
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
|
|
607
614
|
};
|
|
608
|
-
|
|
609
|
-
const t = (a, s) => v(() => a().then((p) => ({ default: p[s] }))),
|
|
610
|
-
function
|
|
611
|
-
return
|
|
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"));
|
|
617
|
+
function Oa() {
|
|
618
|
+
return st(), /* @__PURE__ */ e(Zt, {});
|
|
612
619
|
}
|
|
613
|
-
const
|
|
614
|
-
function
|
|
620
|
+
const wa = v(() => import("./ComponentDoc-SiXXhka1.js").then((a) => a.cl)), he = v(() => import("@yuku123/z-qa-component"));
|
|
621
|
+
function Na() {
|
|
615
622
|
return /* @__PURE__ */ r("div", { className: d.empty, children: [
|
|
616
623
|
/* @__PURE__ */ e("div", { className: d.emptyIcon, children: "📋" }),
|
|
617
624
|
/* @__PURE__ */ e("div", { className: d.emptyText, children: "请从左侧菜单选择模块" })
|
|
618
625
|
] });
|
|
619
626
|
}
|
|
620
|
-
function
|
|
627
|
+
function _a() {
|
|
621
628
|
const { pathname: a } = W();
|
|
622
629
|
return /* @__PURE__ */ e(o, { to: a.replace(/^\/product/, "/z-product"), replace: !0 });
|
|
623
630
|
}
|
|
624
|
-
const
|
|
631
|
+
const Ca = [
|
|
625
632
|
// ─── 顶层 / 概览 ───
|
|
626
|
-
{ path: "/overview", element: /* @__PURE__ */ e(
|
|
633
|
+
{ path: "/overview", element: /* @__PURE__ */ e(Rt, {}) },
|
|
627
634
|
// ─── 4A 中心 (/ctc/*) ───
|
|
628
635
|
{ path: "/ctc", element: /* @__PURE__ */ e(o, { to: "/ctc/4a/account", replace: !0 }) },
|
|
629
|
-
{ path: "/ctc/4a/account", element: /* @__PURE__ */ e(
|
|
636
|
+
{ path: "/ctc/4a/account", element: /* @__PURE__ */ e(At, {}) },
|
|
630
637
|
// 角色管理已并入权限管理(CEO 2026-11-11):角色是权限点的命名集合,
|
|
631
638
|
// 拆成两个顶级菜单时用户得在两张表之间来回对照才能回答「这角色能干什么」。
|
|
632
639
|
// 老深链 /ctc/4a/role 仍然可达 —— 落到合并页的「角色」视图。
|
|
633
640
|
{ path: "/ctc/4a/role", element: /* @__PURE__ */ e(o, { to: "/ctc/4a/permission?view=roles", replace: !0 }) },
|
|
634
|
-
{ path: "/ctc/4a/application", element: /* @__PURE__ */ e(
|
|
635
|
-
{ path: "/ctc/4a/tenant", element: /* @__PURE__ */ e(
|
|
636
|
-
{ path: "/ctc/4a/org", element: /* @__PURE__ */ e(
|
|
637
|
-
{ 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, {}) },
|
|
638
645
|
{ path: "/ctc/4a/surl", element: /* @__PURE__ */ e(re, {}) },
|
|
639
|
-
{ path: "/ctc/dict", element: /* @__PURE__ */ e(
|
|
640
|
-
{ path: "/ctc/overview", element: /* @__PURE__ */ e(
|
|
641
|
-
{ 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, {}) },
|
|
642
649
|
{ path: "/ctc/webide", element: /* @__PURE__ */ e(me, {}) },
|
|
643
|
-
{ path: "/ctc/agent-team", element: /* @__PURE__ */ e(
|
|
644
|
-
{ path: "/ctc/invitation", element: /* @__PURE__ */ e(
|
|
645
|
-
{ 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, {}) },
|
|
646
653
|
// ─── 智能中心 (/ai/*) ───
|
|
647
654
|
{ path: "/ai", element: /* @__PURE__ */ e(o, { to: "/ai/agent/app", replace: !0 }) },
|
|
648
655
|
{ path: "/ai/agent", element: /* @__PURE__ */ e(o, { to: "/ai/agent/app", replace: !0 }) },
|
|
649
656
|
{ path: "/ai/agent/app", element: /* @__PURE__ */ e(Mt, {}) },
|
|
650
|
-
{ path: "/ai/llm", element: /* @__PURE__ */ e(
|
|
657
|
+
{ path: "/ai/llm", element: /* @__PURE__ */ e(Et, {}) },
|
|
651
658
|
{ path: "/ai/llm/provider", element: /* @__PURE__ */ e(o, { to: "/ai/llm", replace: !0 }) },
|
|
652
659
|
{ path: "/ai/llm/model", element: /* @__PURE__ */ e(o, { to: "/ai/llm", replace: !0 }) },
|
|
653
660
|
{ path: "/ai/usage", element: /* @__PURE__ */ e(o, { to: "/ai/llm", replace: !0 }) },
|
|
654
|
-
{ path: "/ai/ak", element: /* @__PURE__ */ e(
|
|
655
|
-
{ path: "/ai/mcp", element: /* @__PURE__ */ e(
|
|
656
|
-
{ 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, {}) },
|
|
657
664
|
{ path: "/ai/oss", element: /* @__PURE__ */ e(o, { to: "/ai/oss/bucket", replace: !0 }) },
|
|
658
|
-
{ path: "/ai/oss/bucket", element: /* @__PURE__ */ e(
|
|
659
|
-
{ 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, {}) },
|
|
660
667
|
{ path: "/ai/trace", element: /* @__PURE__ */ e(pe, {}) },
|
|
661
668
|
{ path: "/ai/trace/debug", element: /* @__PURE__ */ e(pe, {}) },
|
|
662
|
-
{ path: "/ai/dashboard", element: /* @__PURE__ */ e(
|
|
669
|
+
{ path: "/ai/dashboard", element: /* @__PURE__ */ e(Dt, {}) },
|
|
663
670
|
// 多 Agent 实例 / 模板市场已下线 (2026-10-22): 模板并入 Agent 应用页,
|
|
664
671
|
// 旧深链重定向, 别再回到独立菜单
|
|
665
672
|
{ path: "/ai/template", element: /* @__PURE__ */ e(o, { to: "/ai/agent/app", replace: !0 }) },
|
|
666
673
|
{ path: "/ai/agent-instance", element: /* @__PURE__ */ e(o, { to: "/ai/agent/app", replace: !0 }) },
|
|
667
674
|
{ path: "/ai/agent/instances", element: /* @__PURE__ */ e(o, { to: "/ai/agent/app", replace: !0 }) },
|
|
668
675
|
// ─── 配置中心 ───
|
|
669
|
-
{ path: "/config/*", element: /* @__PURE__ */ e(
|
|
676
|
+
{ path: "/config/*", element: /* @__PURE__ */ e(Ut, {}) },
|
|
670
677
|
// ─── 任务中心 ───
|
|
671
678
|
// 模块根路径要重定向到默认页:通配 /task/* 匹配不到裸 /task(matchPattern 要求
|
|
672
679
|
// 前缀带斜杠),落到 SystemShellEmpty 就是一句"请从左侧菜单选择模块"的空壳。
|
|
673
680
|
{ path: "/task", element: /* @__PURE__ */ e(o, { to: "/task/dashboard", replace: !0 }) },
|
|
674
|
-
{ path: "/task/*", element: /* @__PURE__ */ e(
|
|
681
|
+
{ path: "/task/*", element: /* @__PURE__ */ e(jt, {}) },
|
|
675
682
|
// ─── 流程中心 ───
|
|
676
683
|
{ path: "/workflow", element: /* @__PURE__ */ e(o, { to: "/workflow/dashboard", replace: !0 }) },
|
|
677
|
-
{ path: "/workflow/*", element: /* @__PURE__ */ e(
|
|
684
|
+
{ path: "/workflow/*", element: /* @__PURE__ */ e(Wt, {}) },
|
|
678
685
|
// ─── 调度中心 ───
|
|
679
686
|
// 默认页是 jobs:z-schedule-component 的路由只有 jobs / group / log,没有 dashboard。
|
|
680
687
|
{ path: "/schedule", element: /* @__PURE__ */ e(o, { to: "/schedule/jobs", replace: !0 }) },
|
|
681
|
-
{ path: "/schedule/*", element: /* @__PURE__ */ e(
|
|
688
|
+
{ path: "/schedule/*", element: /* @__PURE__ */ e(Ht, {}) },
|
|
682
689
|
// ─── 密钥中心 ───
|
|
683
|
-
{ path: "/mist/*", element: /* @__PURE__ */ e(
|
|
690
|
+
{ path: "/mist/*", element: /* @__PURE__ */ e(Kt, {}) },
|
|
684
691
|
// ─── 中间件(大需求 004)— 2026-11-11 中间件面整并入系统面「基础服务」分组,
|
|
685
692
|
// 系统面成为这批前缀的唯一宿主(原 MiddlewareWorkbench 已删)。菜单在 SystemWorkbench
|
|
686
693
|
// 「基础服务」分组,数据真源 MiddlewareWorkbench/menuData.tsx;前缀口径与
|
|
687
694
|
// businessFace.ts(这些前缀现归系统面)一一对齐。
|
|
688
695
|
{ path: "/meta", element: /* @__PURE__ */ e(o, { to: "/meta/app", replace: !0 }) },
|
|
689
|
-
{ path: "/meta/*", element: /* @__PURE__ */ e(
|
|
696
|
+
{ path: "/meta/*", element: /* @__PURE__ */ e(Vt, {}) },
|
|
690
697
|
{ path: "/msg", element: /* @__PURE__ */ e(o, { to: "/msg/inbox", replace: !0 }) },
|
|
691
|
-
{ path: "/msg/*", element: /* @__PURE__ */ e(
|
|
698
|
+
{ path: "/msg/*", element: /* @__PURE__ */ e(Yt, {}) },
|
|
692
699
|
{ path: "/rpc", element: /* @__PURE__ */ e(o, { to: "/rpc/service", replace: !0 }) },
|
|
693
|
-
{ path: "/rpc/*", element: /* @__PURE__ */ e(
|
|
700
|
+
{ path: "/rpc/*", element: /* @__PURE__ */ e(Ft, {}) },
|
|
694
701
|
// 向量检索:REST 面是内嵌 QdrantRestServer(非 Spring MVC),经 z-opc 的 /api/vector/** 代理出去
|
|
695
702
|
{ path: "/vector", element: /* @__PURE__ */ e(o, { to: "/vector/collections", replace: !0 }) },
|
|
696
|
-
{ path: "/vector/*", element: /* @__PURE__ */ e(
|
|
703
|
+
{ path: "/vector/*", element: /* @__PURE__ */ e(Qt, {}) },
|
|
697
704
|
// 图数据库:REST 面是内嵌 GraphControlServer,经 z-opc 的 /api/graph/** 代理出去
|
|
698
705
|
// ⚠ 内嵌端口是 8091 不是 8090:8090 归一个外部进程,且被 BizKnowledgeGraphService 当业务依赖在用
|
|
699
706
|
{ path: "/graph", element: /* @__PURE__ */ e(o, { to: "/graph/schema", replace: !0 }) },
|
|
700
|
-
{ path: "/graph/*", element: /* @__PURE__ */ e(
|
|
707
|
+
{ path: "/graph/*", element: /* @__PURE__ */ e(Oa, {}) },
|
|
701
708
|
// 网关:admin 面是 z-gw-admin 的原生 Spring MVC;页面一律走 z-opc 自己的环回代理 GET /api/gw/**
|
|
702
709
|
{ path: "/gw", element: /* @__PURE__ */ e(o, { to: "/gw/routes", replace: !0 }) },
|
|
703
|
-
{ path: "/gw/*", element: /* @__PURE__ */ e(
|
|
710
|
+
{ path: "/gw/*", element: /* @__PURE__ */ e(Xt, {}) },
|
|
704
711
|
// 缓存:/api/cache/** 是 CacheProxyController 在 JVM 内读 MemoryStore + 只读命令拼出的结构化 JSON
|
|
705
712
|
{ path: "/cache", element: /* @__PURE__ */ e(o, { to: "/cache/overview", replace: !0 }) },
|
|
706
|
-
{ path: "/cache/*", element: /* @__PURE__ */ e(
|
|
713
|
+
{ path: "/cache/*", element: /* @__PURE__ */ e(Jt, {}) },
|
|
707
714
|
// 消息队列::9877/:10912 是 z-mq-remoting 的 Netty 私有二进制协议,/api/mq/** 是协议适配器
|
|
708
715
|
{ path: "/mq", element: /* @__PURE__ */ e(o, { to: "/mq/instance", replace: !0 }) },
|
|
709
|
-
{ path: "/mq/*", element: /* @__PURE__ */ e(
|
|
716
|
+
{ path: "/mq/*", element: /* @__PURE__ */ e(ea, {}) },
|
|
710
717
|
// 知识库旧中间件面入口(2026-11-11 摘除菜单):认知工作台的「知识管理」段
|
|
711
718
|
// (/z-kb/*,CognitionWorkbench) 已完整承载 z-kb,旧深链一律重定向过去。
|
|
712
719
|
{ path: "/kb/*", element: /* @__PURE__ */ e(o, { to: "/z-kb/dashboard", replace: !0 }) },
|
|
713
720
|
// 对象存储(z-oss):走 z-opc 侧 /api/oss-admin/**,不再需要 AK/SK 下发
|
|
714
721
|
{ path: "/oss", element: /* @__PURE__ */ e(o, { to: "/oss/buckets", replace: !0 }) },
|
|
715
|
-
{ path: "/oss/*", element: /* @__PURE__ */ e(
|
|
722
|
+
{ path: "/oss/*", element: /* @__PURE__ */ e(ta, {}) },
|
|
716
723
|
// ─── 订阅中心 ───
|
|
717
724
|
{ path: "/subscribe", element: /* @__PURE__ */ e(o, { to: "/subscribe/list", replace: !0 }) },
|
|
718
|
-
{ path: "/subscribe/*", element: /* @__PURE__ */ e(
|
|
725
|
+
{ path: "/subscribe/*", element: /* @__PURE__ */ e(aa, {}) },
|
|
719
726
|
// ─── 产品工作台 z-product (2026-10-21 接入) ───
|
|
720
727
|
// /z-product/* 由 z-product 组件自己的 ProductApp 渲染(内部按 manifest 的绝对路径手工匹配,
|
|
721
728
|
// 不用嵌套 <Routes>:这里没有 Route 父上下文,绝对路径不会被再拼一次父前缀)。
|
|
@@ -724,16 +731,16 @@ const _a = [
|
|
|
724
731
|
// 产品域的默认落地页是工坊:它是「一个面板干完产品业务开发」的入口,
|
|
725
732
|
// 全景/蓝图是看板,不是第一动作。
|
|
726
733
|
{ path: "/z-product", element: /* @__PURE__ */ e(o, { to: "/z-product/atelier", replace: !0 }) },
|
|
727
|
-
{ path: "/z-product/*", element: /* @__PURE__ */ e(
|
|
734
|
+
{ path: "/z-product/*", element: /* @__PURE__ */ e(Ye, { basePath: "/z-product" }) },
|
|
728
735
|
// 旧前缀 /product/* → 新前缀 /z-product/*:§14 前缀化之前的老 URL 仍可达(书签 / 旧分享链接)。
|
|
729
736
|
{ path: "/product", element: /* @__PURE__ */ e(o, { to: "/z-product/atelier", replace: !0 }) },
|
|
730
|
-
{ path: "/product/*", element: /* @__PURE__ */ e(
|
|
737
|
+
{ path: "/product/*", element: /* @__PURE__ */ e(_a, {}) },
|
|
731
738
|
// ─── 项目中心 ───
|
|
732
739
|
{ path: "/project", element: /* @__PURE__ */ e(o, { to: "/project/list", replace: !0 }) },
|
|
733
|
-
{ path: "/project/*", element: /* @__PURE__ */ e(
|
|
740
|
+
{ path: "/project/*", element: /* @__PURE__ */ e(na, {}) },
|
|
734
741
|
// ─── 脚本中心 (/script/*) — FEATURE052 ───
|
|
735
742
|
{ path: "/script", element: /* @__PURE__ */ e(o, { to: "/script/manage", replace: !0 }) },
|
|
736
|
-
{ path: "/script/manage", element: /* @__PURE__ */ e(
|
|
743
|
+
{ path: "/script/manage", element: /* @__PURE__ */ e(qt, {}) },
|
|
737
744
|
{ path: "/script/productization", element: /* @__PURE__ */ e(O, {}) },
|
|
738
745
|
// 脚本治理五条(2026-11-11 随中间件面并入):组件自带 5 个 Tab,
|
|
739
746
|
// 按「一个能力一条菜单」把 Tab 键透传成 initialTab,精确路径匹配先于 /script 通配。
|
|
@@ -748,7 +755,7 @@ const _a = [
|
|
|
748
755
|
{ path: "/z-tool/webide", element: /* @__PURE__ */ e(me, {}) },
|
|
749
756
|
// ─── 测试中心 (/test/*) — FEATURE061 ───
|
|
750
757
|
{ path: "/test", element: /* @__PURE__ */ e(o, { to: "/test/qa/dashboard", replace: !0 }) },
|
|
751
|
-
{ path: "/test/mock", element: /* @__PURE__ */ e(
|
|
758
|
+
{ path: "/test/mock", element: /* @__PURE__ */ e(wa, {}) },
|
|
752
759
|
// QAApp 按 pathname 手动分发子页(非嵌套 <Routes>),挂载前缀推断依赖
|
|
753
760
|
// 路径里有 /qa 段。?mode=test 合成挂载时真实 pathname 是 /workspace(无 qa 段)
|
|
754
761
|
// ⇒ 显式传 mountPath, 否则被库 default 分支 <Navigate> 到 /dashboard(2026-11-11 实测)。
|
|
@@ -785,46 +792,46 @@ const _a = [
|
|
|
785
792
|
// §14 铁律(菜单 key 必须带产品名前缀)针对的是**同一宿主内多套件共存**的撞车问题;
|
|
786
793
|
// 这里每个域的宿主前缀本身就已经是产品名(/config / /task / /workflow …),
|
|
787
794
|
// 且各域之间前缀互不相同 ⇒ 不存在撞车,不需要再加 z- 前缀。
|
|
788
|
-
{ path: "/config/docs", element: /* @__PURE__ */ e(
|
|
789
|
-
{ path: "/task/docs", element: /* @__PURE__ */ e(
|
|
790
|
-
{ path: "/workflow/docs", element: /* @__PURE__ */ e(
|
|
791
|
-
{ path: "/schedule/docs", element: /* @__PURE__ */ e(
|
|
792
|
-
{ path: "/mist/docs", element: /* @__PURE__ */ e(
|
|
793
|
-
{ path: "/meta/docs", element: /* @__PURE__ */ e(
|
|
794
|
-
{ path: "/msg/docs", element: /* @__PURE__ */ e(
|
|
795
|
-
{ path: "/rpc/docs", element: /* @__PURE__ */ e(
|
|
796
|
-
{ path: "/z-product/docs", element: /* @__PURE__ */ e(
|
|
797
|
-
{ path: "/oss/docs", element: /* @__PURE__ */ e(
|
|
798
|
-
{ path: "/vector/docs", element: /* @__PURE__ */ e(
|
|
799
|
-
{ path: "/graph/docs", element: /* @__PURE__ */ e(
|
|
800
|
-
{ path: "/gw/docs", element: /* @__PURE__ */ e(
|
|
801
|
-
{ path: "/cache/docs", element: /* @__PURE__ */ e(
|
|
802
|
-
{ path: "/mq/docs", element: /* @__PURE__ */ e(
|
|
803
|
-
{ path: "/ctc/docs", element: /* @__PURE__ */ e(
|
|
804
|
-
{ path: "/ai/docs", element: /* @__PURE__ */ e(
|
|
805
|
-
{ path: "/lc/docs", element: /* @__PURE__ */ e(
|
|
806
|
-
{ path: "/test/qa/docs", element: /* @__PURE__ */ e(
|
|
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, {}) }
|
|
807
814
|
], Ma = [
|
|
808
815
|
// 模块根重定向到默认页(admin 面的无参兜底同样是专家团构建)
|
|
809
816
|
{ path: "/operation", element: /* @__PURE__ */ e(o, { to: "/operation/scenario", replace: !0 }) },
|
|
810
817
|
...ve().map((a) => ({
|
|
811
818
|
path: `/operation/${a.key}`,
|
|
812
|
-
element: /* @__PURE__ */ e(
|
|
819
|
+
element: /* @__PURE__ */ e(Pa, { menuKey: a.key })
|
|
813
820
|
}))
|
|
814
|
-
], de = [...
|
|
815
|
-
function
|
|
821
|
+
], de = [...Ca, ...Ma];
|
|
822
|
+
function Da(a) {
|
|
816
823
|
for (const s of de)
|
|
817
824
|
if (s.path === a) return s.element;
|
|
818
825
|
for (const s of de)
|
|
819
|
-
if (
|
|
820
|
-
return /* @__PURE__ */ e(
|
|
826
|
+
if (Ia(s.path, a)) return s.element;
|
|
827
|
+
return /* @__PURE__ */ e(Na, {});
|
|
821
828
|
}
|
|
822
|
-
function
|
|
829
|
+
function Ia(a, s) {
|
|
823
830
|
if (!a.includes("*") && !a.includes(":")) return !1;
|
|
824
831
|
const p = "^" + a.replace(/[.+?^${}()|[\]\\]/g, "\\$&").replace(/\*/g, ".*").replace(/:([a-zA-Z_][a-zA-Z0-9_]*)/g, "[^/]+") + "$";
|
|
825
832
|
return new RegExp(p).test(s);
|
|
826
833
|
}
|
|
827
|
-
function
|
|
834
|
+
function ja() {
|
|
828
835
|
const a = ue(), { pathname: s, search: p } = W(), b = s.startsWith("/test/") || (() => {
|
|
829
836
|
try {
|
|
830
837
|
return new URLSearchParams(p).get("mode") === "test";
|
|
@@ -842,12 +849,12 @@ function Ua() {
|
|
|
842
849
|
if (!u) return;
|
|
843
850
|
const k = new URLSearchParams();
|
|
844
851
|
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(() =>
|
|
852
|
+
}, [u, a]), g = b && !s.startsWith("/test") ? "/test/qa/dashboard" : s, z = w(() => g, [g]), G = w(() => Da(g), [g]), {
|
|
846
853
|
width: y,
|
|
847
854
|
dragging: x,
|
|
848
855
|
onHandlePointerDown: q,
|
|
849
856
|
resetWidth: N
|
|
850
|
-
} =
|
|
857
|
+
} = Ve("zteam.sidebar.system", 220, 200, 480);
|
|
851
858
|
return /* @__PURE__ */ r("div", { className: d.shellWrap, children: [
|
|
852
859
|
u && /* @__PURE__ */ r("div", { className: d.productBanner, children: [
|
|
853
860
|
/* @__PURE__ */ e("span", { className: d.productBannerLabel, children: "📦 当前产品" }),
|
|
@@ -857,7 +864,7 @@ function Ua() {
|
|
|
857
864
|
] }),
|
|
858
865
|
/* @__PURE__ */ r("div", { className: d.shell, children: [
|
|
859
866
|
/* @__PURE__ */ e(
|
|
860
|
-
|
|
867
|
+
ot,
|
|
861
868
|
{
|
|
862
869
|
activePathOverride: z,
|
|
863
870
|
menuOnly: !0,
|
|
@@ -875,12 +882,12 @@ function Ua() {
|
|
|
875
882
|
}
|
|
876
883
|
),
|
|
877
884
|
/* @__PURE__ */ r("main", { className: d.main, children: [
|
|
878
|
-
/* @__PURE__ */ e(
|
|
879
|
-
/* @__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 }) })
|
|
880
887
|
] })
|
|
881
888
|
] })
|
|
882
889
|
] });
|
|
883
890
|
}
|
|
884
891
|
export {
|
|
885
|
-
|
|
892
|
+
ja as default
|
|
886
893
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as f, A as p, a, f as s, B as r, D as $, b as i } from "./ComponentDoc-
|
|
1
|
+
import { u as f, A as p, a, f as s, B as r, D as $, b as i } from "./ComponentDoc-SiXXhka1.js";
|
|
2
2
|
async function m() {
|
|
3
3
|
f.getState().token && await p().catch(() => {
|
|
4
4
|
}), localStorage.removeItem("token"), localStorage.removeItem("z_team_token"), localStorage.removeItem("userInfo"), localStorage.removeItem("USER_INFO"), localStorage.removeItem("z_ctc_token"), localStorage.removeItem("ctcUrl"), window.USER_INFO = void 0, f.setState({ currentUser: null, token: "", currentProject: void 0 });
|