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