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