@yuku123/z-team-component 0.2.141 → 0.2.143
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-C9y4u5Ab.js} +6 -6
- package/dist/{ChangeLogView-C5v5uT8L.js → ChangeLogView-Crx_PRZV.js} +1 -1
- package/dist/{ComponentDoc-DnZq0_Rk.js → ComponentDoc-CpD9Oqft.js} +3 -3
- package/dist/{InvitationManagementPage-dEBNe9_s.js → InvitationManagementPage-K8R9NQMT.js} +1 -1
- package/dist/{OnboardingPage-BW8WhBg5.js → OnboardingPage-DovjMzon.js} +2 -2
- package/dist/{ScheduledTasks-BaZ0_klE.js → ScheduledTasks-CAtPYgXw.js} +1681 -1700
- package/dist/SettingsModal-B6s0m7ss.js +1103 -0
- package/dist/{SystemShell-I7vWo1XG.js → SystemShell-BwtZGu32.js} +361 -311
- package/dist/{admin-logs-BDPC3Q_Y.js → admin-logs-CqN5Phct.js} +1 -1
- package/dist/{api-U9U4zzq_.js → api-Cibkde66.js} +1 -1
- package/dist/{api-BJ5jPWNm.js → api-DIAm9CQz.js} +1 -1
- package/dist/{createWorkspaceWsHandler-B6TdD0Oz.js → createWorkspaceWsHandler-DTnK73tD.js} +822 -822
- package/dist/{ctc-sso-DtJHC-2M.js → ctc-sso-Hj8fdMY0.js} +8 -6
- package/dist/{index-BGZV4U3S.js → index-B2ytjRa-.js} +3 -3
- package/dist/{index-CPpqideA.js → index-BBtMl9Nz.js} +1 -1
- package/dist/{index-CP5raaOW.js → index-BGcqNhV1.js} +3 -3
- package/dist/{index-DSXVCDf7.js → index-BGwAJocm.js} +1 -1
- package/dist/{index-Dd5RE_0a.js → index-Bbb31dmy.js} +4 -4
- package/dist/{index-BPEfgkzE.js → index-BfR9eIzg.js} +3 -3
- package/dist/{index-XgaiU13i.js → index-BhHEPcvx.js} +1 -1
- package/dist/{index-WWGxF0UX.js → index-Bn9tzXst.js} +2 -2
- package/dist/{index-mDjl3m2W.js → index-Bs8fmFn0.js} +22 -22
- package/dist/{index-DuZrrpXt.js → index-CGYCCh8R.js} +3 -3
- package/dist/{index-BwhK44Dc.js → index-C_Ysrnnp.js} +3 -3
- package/dist/{index-XTNGZnrF.js → index-CshNZQgN.js} +1 -1
- package/dist/{index-CVgvlDAT.js → index-D7dN1HGT.js} +2 -2
- package/dist/{index-DKUg7Evq.js → index-DCoLm48X.js} +2 -2
- package/dist/{index-Bfw6OE5L.js → index-DTezuv5L.js} +3 -3
- package/dist/{index-DIv1OJ_2.js → index-DW8IHcLd.js} +2 -2
- package/dist/{index-Gn0zdd5m.js → index-DXaXLRHV.js} +2 -2
- package/dist/{index-CmzTSdmD.js → index-Dd2LlTvg.js} +4 -4
- package/dist/{index-d6RIzlsj.js → index-DkbEusgG.js} +2 -2
- package/dist/index-Dpcve4hK.js +20 -0
- package/dist/index-VIj6jQQc.js +8412 -0
- package/dist/{index-CToJEufJ.js → index-WeUfGyGs.js} +1 -1
- package/dist/{index-BXaJSMd0.js → index-a3rvjuIX.js} +2 -2
- package/dist/{index-skl-gjj4.js → index-amd_6wnu.js} +285 -293
- package/dist/{index-CsNtBWH-.js → index-oCHQ6Gm8.js} +2 -2
- package/dist/index.js +1 -1
- package/dist/{instance-D_EP8AQm.js → instance-cM3jNPz_.js} +1 -1
- package/dist/{menuPermission-Bhnols4v.js → menuPermission-CtsbPA_m.js} +3 -3
- package/dist/pages.js +1 -1
- package/dist/{send-default-agent-team-message-0RB1pYex.js → send-default-agent-team-message-C3A4gJAt.js} +1 -1
- package/dist/{training-B1eRX8g1.js → training-VX0S1Wq1.js} +1 -1
- package/dist/{webide-C4ThGZzY.js → webide-DdKW4JyS.js} +3 -3
- package/dist/z-team-component.css +1 -1
- package/package.json +2 -2
- package/dist/index-kjli87DO.js +0 -9458
|
@@ -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 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-CpD9Oqft.js";
|
|
6
|
+
import { h as fe } from "./index-BGwAJocm.js";
|
|
7
|
+
import { h as Ae } from "./index-VIj6jQQc.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-CtsbPA_m.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-a3rvjuIX.js";
|
|
15
|
+
import { configureGraph as He } from "@yuku123/z-graph-component";
|
|
16
|
+
const Ve = [
|
|
16
17
|
{
|
|
17
18
|
title: "配置中心",
|
|
18
|
-
icon: /* @__PURE__ */ e(
|
|
19
|
+
icon: /* @__PURE__ */ e(K, {}),
|
|
19
20
|
permission: "OPS_CONFIG_VIEW",
|
|
20
21
|
items: [
|
|
21
22
|
{ key: "config-list", label: "配置列表", icon: /* @__PURE__ */ e(w, {}), path: "/config/list" },
|
|
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(
|
|
23
|
+
{ key: "config-history", label: "变更历史", icon: /* @__PURE__ */ e(V, {}), 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(Pe, {}), path: "/config/namespace" }
|
|
26
27
|
]
|
|
27
28
|
},
|
|
28
29
|
{
|
|
29
30
|
title: "密钥中心",
|
|
30
|
-
icon: /* @__PURE__ */ e(
|
|
31
|
+
icon: /* @__PURE__ */ e(I, {}),
|
|
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(I, {}), 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(F, {}),
|
|
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(Y, {}), path: "/meta/dict" },
|
|
45
|
+
{ key: "meta-interface", label: "接口台账", icon: /* @__PURE__ */ e(U, {}), path: "/meta/interface" },
|
|
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" }
|
|
47
48
|
]
|
|
48
49
|
},
|
|
49
50
|
{
|
|
50
51
|
title: "消息中心",
|
|
51
|
-
icon: /* @__PURE__ */ e(
|
|
52
|
+
icon: /* @__PURE__ */ e(Se, {}),
|
|
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(
|
|
56
|
-
{ key: "msg-delivery", 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" },
|
|
57
58
|
{ key: "msg-batch", label: "批量任务", icon: /* @__PURE__ */ e(w, {}), path: "/msg/batch" }
|
|
58
59
|
]
|
|
59
60
|
},
|
|
60
61
|
{
|
|
61
62
|
title: "服务注册",
|
|
62
|
-
icon: /* @__PURE__ */ e(
|
|
63
|
+
icon: /* @__PURE__ */ e(Me, {}),
|
|
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
|
-
icon: /* @__PURE__ */ e(
|
|
71
|
+
icon: /* @__PURE__ */ e(N, {}),
|
|
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(F, {}),
|
|
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(Ce, {}), path: "/graph/query" },
|
|
84
|
+
{ key: "graph-branches", label: "分支与提交", icon: /* @__PURE__ */ e(we, {}), 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
92
|
{ key: "gw-routes", label: "网关路由", icon: /* @__PURE__ */ e(w, {}), path: "/gw/routes" },
|
|
92
|
-
{ key: "gw-metrics", label: "网关指标", icon: /* @__PURE__ */ e(
|
|
93
|
-
{ key: "gw-instance", label: "实例与面", icon: /* @__PURE__ */ e(
|
|
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
|
-
icon: /* @__PURE__ */ e(
|
|
99
|
+
icon: /* @__PURE__ */ e(N, {}),
|
|
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(J, {}),
|
|
109
110
|
items: [
|
|
110
|
-
{ key: "mq-instance", label: "实例与端口", icon: /* @__PURE__ */ e(
|
|
111
|
-
{ key: "mq-cluster", label: "集群与 Broker", 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" },
|
|
112
113
|
{ key: "mq-topics", label: "Topic 列表", icon: /* @__PURE__ */ e(w, {}), path: "/mq/topics" },
|
|
113
|
-
{ key: "mq-broker", label: "Broker 元数据", icon: /* @__PURE__ */ e(
|
|
114
|
+
{ key: "mq-broker", label: "Broker 元数据", icon: /* @__PURE__ */ e(x, {}), path: "/mq/broker" }
|
|
114
115
|
]
|
|
115
116
|
},
|
|
116
117
|
{
|
|
117
118
|
title: "对象存储",
|
|
118
|
-
icon: /* @__PURE__ */ e(
|
|
119
|
+
icon: /* @__PURE__ */ e(z, {}),
|
|
119
120
|
items: [
|
|
120
|
-
{ key: "oss-buckets", label: "Bucket 列表", icon: /* @__PURE__ */ e(
|
|
121
|
-
{ key: "oss-objects", label: "对象浏览", icon: /* @__PURE__ */ e(
|
|
122
|
-
{ 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" }
|
|
123
124
|
]
|
|
124
125
|
},
|
|
125
126
|
{
|
|
126
127
|
title: "调度中心",
|
|
127
|
-
icon: /* @__PURE__ */ e(
|
|
128
|
+
icon: /* @__PURE__ */ e(se, {}),
|
|
128
129
|
items: [
|
|
129
130
|
{ key: "schedule-jobs", label: "任务列表", icon: /* @__PURE__ */ e(w, {}), path: "/schedule/jobs" },
|
|
130
|
-
{ key: "schedule-group", label: "分组管理", icon: /* @__PURE__ */ e(
|
|
131
|
-
{ key: "schedule-log", label: "执行日志", icon: /* @__PURE__ */ e(
|
|
131
|
+
{ key: "schedule-group", label: "分组管理", icon: /* @__PURE__ */ e(D, {}), path: "/schedule/group" },
|
|
132
|
+
{ key: "schedule-log", label: "执行日志", icon: /* @__PURE__ */ e(V, {}), path: "/schedule/log" }
|
|
132
133
|
]
|
|
133
134
|
},
|
|
134
135
|
{
|
|
135
136
|
title: "脚本中心",
|
|
136
|
-
icon: /* @__PURE__ */ e(
|
|
137
|
+
icon: /* @__PURE__ */ e(X, {}),
|
|
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(X, {}), path: "/script/manage" },
|
|
142
|
+
{ key: "script-keys", label: "API Key 台账", icon: /* @__PURE__ */ e(I, {}), path: "/script/keys" },
|
|
143
|
+
{ key: "script-monitor", label: "调用监控", icon: /* @__PURE__ */ e(S, {}), path: "/script/monitor" },
|
|
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" }
|
|
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
|
+
], 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
|
+
detailIcon: Qe,
|
|
155
|
+
detailTitle: Ze,
|
|
156
|
+
detailDesc: Xe,
|
|
157
|
+
detailAction: et,
|
|
158
|
+
goBtn: tt,
|
|
159
|
+
emptyState: at
|
|
159
160
|
};
|
|
160
161
|
function G(a) {
|
|
161
162
|
return a.flatMap((o) => [o, ...G(o.children ?? [])]);
|
|
162
163
|
}
|
|
163
|
-
const
|
|
164
|
+
const nt = {
|
|
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,33 +171,33 @@ 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
|
},
|
|
177
178
|
{
|
|
178
179
|
key: "test-design",
|
|
179
180
|
label: "用例与编排",
|
|
180
|
-
icon: /* @__PURE__ */ e(
|
|
181
|
+
icon: /* @__PURE__ */ e(T, {}),
|
|
181
182
|
children: [
|
|
182
183
|
{
|
|
183
184
|
key: "test-case",
|
|
184
185
|
label: "测试用例",
|
|
185
|
-
icon: /* @__PURE__ */ e(
|
|
186
|
+
icon: /* @__PURE__ */ e(T, {}),
|
|
186
187
|
path: "/test/qa/cases",
|
|
187
188
|
desc: "接口用例与断言模板"
|
|
188
189
|
},
|
|
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(me, {}),
|
|
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(R, {}),
|
|
209
210
|
children: [
|
|
210
211
|
{
|
|
211
212
|
key: "test-run",
|
|
212
213
|
label: "执行记录",
|
|
213
|
-
icon: /* @__PURE__ */ e(
|
|
214
|
+
icon: /* @__PURE__ */ e(R, {}),
|
|
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(R, {}),
|
|
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(he, {}),
|
|
228
229
|
path: "/test/qa/e2e",
|
|
229
230
|
desc: "浏览器自动化测试"
|
|
230
231
|
}
|
|
@@ -233,19 +234,19 @@ const tt = {
|
|
|
233
234
|
{
|
|
234
235
|
key: "test-support",
|
|
235
236
|
label: "环境与工具",
|
|
236
|
-
icon: /* @__PURE__ */ e(
|
|
237
|
+
icon: /* @__PURE__ */ e(j, {}),
|
|
237
238
|
children: [
|
|
238
239
|
{
|
|
239
240
|
key: "test-env",
|
|
240
241
|
label: "环境管理",
|
|
241
|
-
icon: /* @__PURE__ */ e(
|
|
242
|
+
icon: /* @__PURE__ */ e(j, {}),
|
|
242
243
|
path: "/test/qa/envs",
|
|
243
244
|
desc: "多环境变量管理"
|
|
244
245
|
},
|
|
245
246
|
{
|
|
246
247
|
key: "test-mock",
|
|
247
248
|
label: "Mock 平台",
|
|
248
|
-
icon: /* @__PURE__ */ e(
|
|
249
|
+
icon: /* @__PURE__ */ e(N, {}),
|
|
249
250
|
path: "/test/mock",
|
|
250
251
|
desc: "API Mock 服务管理"
|
|
251
252
|
}
|
|
@@ -254,33 +255,33 @@ const tt = {
|
|
|
254
255
|
{
|
|
255
256
|
key: "test-eval",
|
|
256
257
|
label: "智能测评",
|
|
257
|
-
icon: /* @__PURE__ */ e(
|
|
258
|
+
icon: /* @__PURE__ */ e(ee, {}),
|
|
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(R, {}),
|
|
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(ee, {}),
|
|
284
285
|
path: "/test/evaluation/report",
|
|
285
286
|
desc: "测评结果分析"
|
|
286
287
|
}
|
|
@@ -288,11 +289,11 @@ const tt = {
|
|
|
288
289
|
}
|
|
289
290
|
]
|
|
290
291
|
};
|
|
291
|
-
function
|
|
292
|
-
const o =
|
|
292
|
+
function ot(a) {
|
|
293
|
+
const o = ue(a.children ?? []), l = {
|
|
293
294
|
key: `operation-${a.key}`,
|
|
294
295
|
label: a.label,
|
|
295
|
-
icon: a.icon ?? /* @__PURE__ */ e(
|
|
296
|
+
icon: a.icon ?? /* @__PURE__ */ e(de, {}),
|
|
296
297
|
permission: a.permission
|
|
297
298
|
};
|
|
298
299
|
return o.length === 0 ? { ...l, path: `/operation/${a.key}` } : {
|
|
@@ -305,16 +306,16 @@ function at(a) {
|
|
|
305
306
|
}))
|
|
306
307
|
};
|
|
307
308
|
}
|
|
308
|
-
const
|
|
309
|
+
const ct = {
|
|
309
310
|
title: "协作管理",
|
|
310
|
-
icon: /* @__PURE__ */ e(
|
|
311
|
+
icon: /* @__PURE__ */ e($, {}),
|
|
311
312
|
permission: "ADMIN_ENTRY",
|
|
312
|
-
items:
|
|
313
|
-
},
|
|
313
|
+
items: Le.map(ot)
|
|
314
|
+
}, lt = {
|
|
314
315
|
title: "基础服务",
|
|
315
|
-
icon: /* @__PURE__ */ e(
|
|
316
|
+
icon: /* @__PURE__ */ e(N, {}),
|
|
316
317
|
items: [
|
|
317
|
-
...
|
|
318
|
+
...Ve.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(pe, {}),
|
|
335
336
|
// 2026-11-12 按闭环排序:模板 → 发起(我发起的/流程视图) → 推进(待办/已办) → 总览
|
|
336
337
|
children: [
|
|
337
338
|
{ key: "wf-processes", label: "流程模板", path: "/workflow/processes" },
|
|
@@ -344,7 +345,7 @@ const nt = {
|
|
|
344
345
|
{
|
|
345
346
|
key: "biz-task",
|
|
346
347
|
label: "任务中心",
|
|
347
|
-
icon: /* @__PURE__ */ e(
|
|
348
|
+
icon: /* @__PURE__ */ e(T, {}),
|
|
348
349
|
children: [
|
|
349
350
|
{ key: "task-dashboard", label: "仪表盘", path: "/task/dashboard" },
|
|
350
351
|
{ key: "task-list", label: "任务列表", path: "/task/task" },
|
|
@@ -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(me, {}),
|
|
368
369
|
children: [
|
|
369
370
|
{ key: "proj-list", label: "项目列表", path: "/project/list" }
|
|
370
371
|
]
|
|
@@ -373,35 +374,75 @@ const nt = {
|
|
|
373
374
|
{
|
|
374
375
|
key: "tool-curl",
|
|
375
376
|
label: "短链管理",
|
|
376
|
-
icon: /* @__PURE__ */ e(
|
|
377
|
+
icon: /* @__PURE__ */ e(Ee, {}),
|
|
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(he, {}),
|
|
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(Re, {}),
|
|
391
392
|
permission: "PERMISSION_MANAGE",
|
|
392
393
|
items: [
|
|
393
394
|
{
|
|
394
395
|
key: "4a-tenant",
|
|
395
|
-
label: "
|
|
396
|
-
icon: /* @__PURE__ */ e(
|
|
397
|
-
path: "/ctc/
|
|
396
|
+
label: "建站管理",
|
|
397
|
+
icon: /* @__PURE__ */ e(j, {}),
|
|
398
|
+
path: "/ctc/site-init",
|
|
398
399
|
desc: "多租户管理与配置"
|
|
399
400
|
}
|
|
400
401
|
]
|
|
401
|
-
},
|
|
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 = [
|
|
402
443
|
{
|
|
403
444
|
title: "认证与权限",
|
|
404
|
-
icon: /* @__PURE__ */ e(
|
|
445
|
+
icon: /* @__PURE__ */ e(ie, {}),
|
|
405
446
|
// 4A 授权中心自身的资源管理动作 (账号/角色/应用/租户/组织/权限分配)
|
|
406
447
|
// ⇒ 4A 权限管理域 PERMISSION_MANAGE。普通用户角色 USER 不含该码,
|
|
407
448
|
// 之前照样能点进这些页面 (进去就是 403 / 空白) —— 现在入口先收敛。
|
|
@@ -410,28 +451,28 @@ const nt = {
|
|
|
410
451
|
{
|
|
411
452
|
key: "4a-account",
|
|
412
453
|
label: "账号管理",
|
|
413
|
-
icon: /* @__PURE__ */ e(
|
|
454
|
+
icon: /* @__PURE__ */ e(Te, {}),
|
|
414
455
|
path: "/ctc/4a/account",
|
|
415
456
|
desc: "用户账号创建、编辑与状态管理"
|
|
416
457
|
},
|
|
417
458
|
{
|
|
418
459
|
key: "4a-app",
|
|
419
460
|
label: "应用管理",
|
|
420
|
-
icon: /* @__PURE__ */ e(
|
|
461
|
+
icon: /* @__PURE__ */ e(B, {}),
|
|
421
462
|
path: "/ctc/4a/application",
|
|
422
463
|
desc: "应用注册、资源与权限配置"
|
|
423
464
|
},
|
|
424
465
|
{
|
|
425
466
|
key: "4a-org",
|
|
426
467
|
label: "组织管理",
|
|
427
|
-
icon: /* @__PURE__ */ e(
|
|
468
|
+
icon: /* @__PURE__ */ e(x, {}),
|
|
428
469
|
path: "/ctc/4a/org",
|
|
429
470
|
desc: "组织架构与部门管理"
|
|
430
471
|
},
|
|
431
472
|
{
|
|
432
473
|
key: "4a-permission",
|
|
433
474
|
label: "权限管理",
|
|
434
|
-
icon: /* @__PURE__ */ e(
|
|
475
|
+
icon: /* @__PURE__ */ e(pe, {}),
|
|
435
476
|
path: "/ctc/4a/permission",
|
|
436
477
|
desc: "角色、权限点与权限树(角色管理已并入本项)"
|
|
437
478
|
},
|
|
@@ -451,33 +492,34 @@ const nt = {
|
|
|
451
492
|
// 路由本身不动,旧深链仍可达。
|
|
452
493
|
// 「业务流程」组已删(2026-11-11):流程中心/任务中心/订阅中心/项目中心 四个中心
|
|
453
494
|
// 以二级子菜单并入「基础服务」组(见 MIDDLEWARE_SERVICES_GROUP 内 biz-* 四项)。
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
495
|
+
ct,
|
|
496
|
+
lt,
|
|
497
|
+
st,
|
|
498
|
+
it
|
|
499
|
+
], rt = [...be, nt];
|
|
500
|
+
function pt({
|
|
459
501
|
activePathOverride: a,
|
|
460
502
|
menuOnly: o = !1,
|
|
461
503
|
visibleGroups: l,
|
|
462
504
|
sidebarWidth: r
|
|
463
505
|
} = {}) {
|
|
464
|
-
const i =
|
|
465
|
-
() => l ?
|
|
506
|
+
const i = W(), { pathname: k } = q(), p = O(
|
|
507
|
+
() => l ? rt.filter((c) => l.includes(c.title)) : be,
|
|
466
508
|
[l]
|
|
467
|
-
),
|
|
468
|
-
() =>
|
|
469
|
-
[p,
|
|
470
|
-
),
|
|
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(() => {
|
|
471
513
|
var h;
|
|
472
|
-
const c = a ??
|
|
473
|
-
return ((h = d.flatMap((
|
|
474
|
-
(
|
|
514
|
+
const c = a ?? k;
|
|
515
|
+
return ((h = d.flatMap((y) => G(y.items)).find(
|
|
516
|
+
(y) => y.path === c
|
|
475
517
|
)) == null ? void 0 : h.key) ?? null;
|
|
476
|
-
}, [a,
|
|
518
|
+
}, [a, k, d]), E = (c) => {
|
|
477
519
|
c.path && i(c.path);
|
|
478
|
-
},
|
|
479
|
-
(c) => c.key ===
|
|
480
|
-
),
|
|
520
|
+
}, f = d.flatMap((c) => G(c.items)).find(
|
|
521
|
+
(c) => c.key === _
|
|
522
|
+
), A = O(
|
|
481
523
|
() => d.map((c) => ({
|
|
482
524
|
key: c.title,
|
|
483
525
|
title: c.title,
|
|
@@ -485,204 +527,207 @@ function it({
|
|
|
485
527
|
key: h.key,
|
|
486
528
|
label: h.label,
|
|
487
529
|
icon: h.icon,
|
|
488
|
-
active:
|
|
489
|
-
onClick: h.path ? () =>
|
|
490
|
-
children: h.children ? h.children.map((
|
|
491
|
-
key:
|
|
492
|
-
label:
|
|
493
|
-
icon:
|
|
494
|
-
active:
|
|
495
|
-
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)
|
|
496
538
|
})) : void 0
|
|
497
539
|
}))
|
|
498
540
|
})),
|
|
499
|
-
[d,
|
|
541
|
+
[d, _]
|
|
500
542
|
);
|
|
501
|
-
return /* @__PURE__ */ m("div", { className:
|
|
543
|
+
return /* @__PURE__ */ m("div", { className: b.container, children: [
|
|
502
544
|
/* @__PURE__ */ m(
|
|
503
|
-
|
|
545
|
+
je,
|
|
504
546
|
{
|
|
505
547
|
width: r ?? 220,
|
|
506
548
|
storageKey: "ft_system_sidebar_collapsed",
|
|
507
549
|
children: [
|
|
508
550
|
/* @__PURE__ */ e(ze, {}),
|
|
509
|
-
/* @__PURE__ */ e(
|
|
551
|
+
/* @__PURE__ */ e(Ge, { groups: A, defaultCollapsed: !0 })
|
|
510
552
|
]
|
|
511
553
|
}
|
|
512
554
|
),
|
|
513
|
-
o ? null : /* @__PURE__ */ e("main", { className:
|
|
514
|
-
/* @__PURE__ */ m("div", { className:
|
|
515
|
-
/* @__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 }),
|
|
516
558
|
/* @__PURE__ */ m("div", { children: [
|
|
517
|
-
/* @__PURE__ */ e("h2", { className:
|
|
518
|
-
/* @__PURE__ */ e("p", { className:
|
|
559
|
+
/* @__PURE__ */ e("h2", { className: b.detailTitle, children: f.label }),
|
|
560
|
+
/* @__PURE__ */ e("p", { className: b.detailDesc, children: f.desc })
|
|
519
561
|
] })
|
|
520
562
|
] }),
|
|
521
|
-
/* @__PURE__ */ e("div", { className:
|
|
563
|
+
/* @__PURE__ */ e("div", { className: b.detailAction, children: /* @__PURE__ */ m(
|
|
522
564
|
"button",
|
|
523
565
|
{
|
|
524
|
-
className:
|
|
525
|
-
onClick: () => i(
|
|
566
|
+
className: b.goBtn,
|
|
567
|
+
onClick: () => i(f.path),
|
|
526
568
|
children: [
|
|
527
569
|
"进入 ",
|
|
528
|
-
|
|
570
|
+
f.label
|
|
529
571
|
]
|
|
530
572
|
}
|
|
531
573
|
) })
|
|
532
|
-
] }) : /* @__PURE__ */ m("div", { className:
|
|
533
|
-
/* @__PURE__ */ e(
|
|
574
|
+
] }) : /* @__PURE__ */ m("div", { className: b.emptyState, children: [
|
|
575
|
+
/* @__PURE__ */ e(B, { style: { fontSize: 48, color: "#ccc" } }),
|
|
534
576
|
/* @__PURE__ */ e("p", { children: "点击左侧菜单进入对应功能模块" })
|
|
535
577
|
] }) })
|
|
536
578
|
] });
|
|
537
579
|
}
|
|
538
|
-
const
|
|
539
|
-
let
|
|
540
|
-
function
|
|
541
|
-
|
|
580
|
+
const mt = "/api/graph";
|
|
581
|
+
let te = !1;
|
|
582
|
+
function ht() {
|
|
583
|
+
te || (te = !0, He(mt));
|
|
542
584
|
}
|
|
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:
|
|
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
|
|
557
599
|
};
|
|
558
|
-
|
|
559
|
-
const t = (a, o) =>
|
|
560
|
-
function
|
|
561
|
-
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-D7dN1HGT.js"), "AgentTeamIM"), ne = t(() => import("./index-D7dN1HGT.js"), "DebugPlayground"), Ht = t(() => import("./index-D7dN1HGT.js"), "Overview"), oe = t(() => import("./index-D7dN1HGT.js"), "Webide"), Vt = v(() => import("./index-Dpcve4hK.js")), Kt = v(() => import("./OnboardingPage-DovjMzon.js")), Yt = v(() => import("./InvitationManagementPage-K8R9NQMT.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-CpD9Oqft.js").then((a) => a.cl)), pa = v(() => import("./ComponentDoc-CpD9Oqft.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-C9y4u5Ab.js"));
|
|
602
|
+
function Ba() {
|
|
603
|
+
return ht(), /* @__PURE__ */ e(oa, {});
|
|
562
604
|
}
|
|
563
|
-
const
|
|
605
|
+
const Ta = v(() => import("./ComponentDoc-CpD9Oqft.js").then((a) => a.ck)), ce = v(() => import("@yuku123/z-qa-component")), ge = {
|
|
564
606
|
start: "qa-evaluation-start",
|
|
565
607
|
schedule: "qa-evaluation-schedule",
|
|
566
608
|
group: "evaluation-group-chat-snapshot",
|
|
567
609
|
report: "qa-evaluation-report",
|
|
568
610
|
"group/audits": "evaluation-group-chat-audits"
|
|
569
611
|
};
|
|
570
|
-
function
|
|
571
|
-
const o =
|
|
612
|
+
function Na({ menuKey: a }) {
|
|
613
|
+
const o = W(), { search: l } = q(), r = L((k) => k.currentUser), i = (k, p) => {
|
|
572
614
|
var d;
|
|
573
|
-
const
|
|
574
|
-
|
|
575
|
-
pathname:
|
|
576
|
-
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()
|
|
577
619
|
});
|
|
578
620
|
};
|
|
579
|
-
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)" });
|
|
580
622
|
}
|
|
581
|
-
function
|
|
623
|
+
function Ea() {
|
|
582
624
|
return /* @__PURE__ */ m("div", { className: s.empty, children: [
|
|
583
625
|
/* @__PURE__ */ e("div", { className: s.emptyIcon, children: "📋" }),
|
|
584
626
|
/* @__PURE__ */ e("div", { className: s.emptyText, children: "请从左侧菜单选择模块" })
|
|
585
627
|
] });
|
|
586
628
|
}
|
|
587
|
-
function
|
|
588
|
-
const { pathname: a } =
|
|
629
|
+
function Ia() {
|
|
630
|
+
const { pathname: a } = q();
|
|
589
631
|
return /* @__PURE__ */ e(n, { to: a.replace(/^\/product/, "/z-product"), replace: !0 });
|
|
590
632
|
}
|
|
591
|
-
const
|
|
633
|
+
const Ra = [
|
|
592
634
|
// ─── 顶层 / 概览 ───
|
|
593
|
-
{ path: "/overview", element: /* @__PURE__ */ e(
|
|
635
|
+
{ path: "/overview", element: /* @__PURE__ */ e(Ht, {}) },
|
|
594
636
|
// ─── 4A 中心 (/ctc/*) ───
|
|
595
637
|
{ path: "/ctc", element: /* @__PURE__ */ e(n, { to: "/ctc/4a/account", replace: !0 }) },
|
|
596
|
-
{ path: "/ctc/4a/account", element: /* @__PURE__ */ e(
|
|
638
|
+
{ path: "/ctc/4a/account", element: /* @__PURE__ */ e(Mt, { apiBaseURL: u }) },
|
|
597
639
|
// 角色管理已并入权限管理(CEO 2026-11-11):角色是权限点的命名集合,
|
|
598
640
|
// 拆成两个顶级菜单时用户得在两张表之间来回对照才能回答「这角色能干什么」。
|
|
599
641
|
// 老深链 /ctc/4a/role 仍然可达 —— 落到合并页的「角色」视图。
|
|
600
642
|
{ 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(
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
{ path: "/ctc/
|
|
606
|
-
{ path: "/ctc/
|
|
607
|
-
{ path: "/ctc/
|
|
608
|
-
{ path: "/ctc/
|
|
609
|
-
{ path: "/ctc/
|
|
610
|
-
{ path: "/ctc/
|
|
611
|
-
{ path: "/ctc/
|
|
612
|
-
{ 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, {}) },
|
|
613
658
|
// ─── 智能中心 (/ai/*) ───
|
|
614
659
|
{ path: "/ai", element: /* @__PURE__ */ e(n, { to: "/ai/agent/app", replace: !0 }) },
|
|
615
660
|
{ path: "/ai/agent", element: /* @__PURE__ */ e(n, { to: "/ai/agent/app", replace: !0 }) },
|
|
616
|
-
{ path: "/ai/agent/app", element: /* @__PURE__ */ e(
|
|
617
|
-
{ path: "/ai/llm", element: /* @__PURE__ */ e(
|
|
661
|
+
{ path: "/ai/agent/app", element: /* @__PURE__ */ e(Rt, {}) },
|
|
662
|
+
{ path: "/ai/llm", element: /* @__PURE__ */ e(Ut, {}) },
|
|
618
663
|
{ path: "/ai/llm/provider", element: /* @__PURE__ */ e(n, { to: "/ai/llm", replace: !0 }) },
|
|
619
664
|
{ path: "/ai/llm/model", element: /* @__PURE__ */ e(n, { to: "/ai/llm", replace: !0 }) },
|
|
620
665
|
{ 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(
|
|
666
|
+
{ path: "/ai/ak", element: /* @__PURE__ */ e(zt, {}) },
|
|
667
|
+
{ path: "/ai/mcp", element: /* @__PURE__ */ e(jt, {}) },
|
|
668
|
+
{ path: "/ai/skill", element: /* @__PURE__ */ e($t, {}) },
|
|
624
669
|
{ path: "/ai/oss", element: /* @__PURE__ */ e(n, { to: "/ai/oss/bucket", replace: !0 }) },
|
|
625
|
-
{ path: "/ai/oss/bucket", element: /* @__PURE__ */ e(
|
|
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(
|
|
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, {}) },
|
|
630
675
|
// 多 Agent 实例 / 模板市场已下线 (2026-10-22): 模板并入 Agent 应用页,
|
|
631
676
|
// 旧深链重定向, 别再回到独立菜单
|
|
632
677
|
{ path: "/ai/template", element: /* @__PURE__ */ e(n, { to: "/ai/agent/app", replace: !0 }) },
|
|
633
678
|
{ path: "/ai/agent-instance", element: /* @__PURE__ */ e(n, { to: "/ai/agent/app", replace: !0 }) },
|
|
634
679
|
{ path: "/ai/agent/instances", element: /* @__PURE__ */ e(n, { to: "/ai/agent/app", replace: !0 }) },
|
|
635
680
|
// ─── 配置中心 ───
|
|
636
|
-
{ path: "/config/*", element: /* @__PURE__ */ e(
|
|
681
|
+
{ path: "/config/*", element: /* @__PURE__ */ e(Ft, {}) },
|
|
637
682
|
// ─── 任务中心 ───
|
|
638
683
|
// 模块根路径要重定向到默认页:通配 /task/* 匹配不到裸 /task(matchPattern 要求
|
|
639
684
|
// 前缀带斜杠),落到 SystemShellEmpty 就是一句"请从左侧菜单选择模块"的空壳。
|
|
640
685
|
{ path: "/task", element: /* @__PURE__ */ e(n, { to: "/task/dashboard", replace: !0 }) },
|
|
641
|
-
{ path: "/task/*", element: /* @__PURE__ */ e(
|
|
686
|
+
{ path: "/task/*", element: /* @__PURE__ */ e(Jt, {}) },
|
|
642
687
|
// ─── 流程中心 ───
|
|
643
688
|
{ path: "/workflow", element: /* @__PURE__ */ e(n, { to: "/workflow/dashboard", replace: !0 }) },
|
|
644
|
-
{ path: "/workflow/*", element: /* @__PURE__ */ e(
|
|
689
|
+
{ path: "/workflow/*", element: /* @__PURE__ */ e(Qt, {}) },
|
|
645
690
|
// ─── 调度中心 ───
|
|
646
691
|
// 默认页是 jobs:z-schedule-component 的路由只有 jobs / group / log,没有 dashboard。
|
|
647
692
|
{ path: "/schedule", element: /* @__PURE__ */ e(n, { to: "/schedule/jobs", replace: !0 }) },
|
|
648
|
-
{ path: "/schedule/*", element: /* @__PURE__ */ e(
|
|
693
|
+
{ path: "/schedule/*", element: /* @__PURE__ */ e(Zt, {}) },
|
|
649
694
|
// ─── 密钥中心 ───
|
|
650
|
-
{ path: "/mist/*", element: /* @__PURE__ */ e(
|
|
695
|
+
{ path: "/mist/*", element: /* @__PURE__ */ e(Xt, {}) },
|
|
651
696
|
// ─── 中间件(大需求 004)— 2026-11-11 中间件面整并入系统面「基础服务」分组,
|
|
652
697
|
// 系统面成为这批前缀的唯一宿主(原 MiddlewareWorkbench 已删)。菜单在 SystemWorkbench
|
|
653
698
|
// 「基础服务」分组,数据真源 MiddlewareWorkbench/menuData.tsx;前缀口径与
|
|
654
699
|
// businessFace.ts(这些前缀现归系统面)一一对齐。
|
|
655
700
|
{ path: "/meta", element: /* @__PURE__ */ e(n, { to: "/meta/app", replace: !0 }) },
|
|
656
|
-
{ path: "/meta/*", element: /* @__PURE__ */ e(
|
|
701
|
+
{ path: "/meta/*", element: /* @__PURE__ */ e(ea, {}) },
|
|
657
702
|
{ path: "/msg", element: /* @__PURE__ */ e(n, { to: "/msg/inbox", replace: !0 }) },
|
|
658
|
-
{ path: "/msg/*", element: /* @__PURE__ */ e(
|
|
703
|
+
{ path: "/msg/*", element: /* @__PURE__ */ e(ta, {}) },
|
|
659
704
|
{ path: "/rpc", element: /* @__PURE__ */ e(n, { to: "/rpc/service", replace: !0 }) },
|
|
660
|
-
{ path: "/rpc/*", element: /* @__PURE__ */ e(
|
|
705
|
+
{ path: "/rpc/*", element: /* @__PURE__ */ e(aa, {}) },
|
|
661
706
|
// 向量检索:REST 面是内嵌 QdrantRestServer(非 Spring MVC),经 z-opc 的 /api/vector/** 代理出去
|
|
662
707
|
{ path: "/vector", element: /* @__PURE__ */ e(n, { to: "/vector/collections", replace: !0 }) },
|
|
663
|
-
{ path: "/vector/*", element: /* @__PURE__ */ e(
|
|
708
|
+
{ path: "/vector/*", element: /* @__PURE__ */ e(na, {}) },
|
|
664
709
|
// 图数据库:REST 面是内嵌 GraphControlServer,经 z-opc 的 /api/graph/** 代理出去
|
|
665
710
|
// ⚠ 内嵌端口是 8091 不是 8090:8090 归一个外部进程,且被 BizKnowledgeGraphService 当业务依赖在用
|
|
666
711
|
{ path: "/graph", element: /* @__PURE__ */ e(n, { to: "/graph/schema", replace: !0 }) },
|
|
667
|
-
{ path: "/graph/*", element: /* @__PURE__ */ e(
|
|
712
|
+
{ path: "/graph/*", element: /* @__PURE__ */ e(Ba, {}) },
|
|
668
713
|
// 网关:admin 面是 z-gw-admin 的原生 Spring MVC;页面一律走 z-opc 自己的环回代理 GET /api/gw/**
|
|
669
714
|
{ path: "/gw", element: /* @__PURE__ */ e(n, { to: "/gw/routes", replace: !0 }) },
|
|
670
|
-
{ path: "/gw/*", element: /* @__PURE__ */ e(
|
|
715
|
+
{ path: "/gw/*", element: /* @__PURE__ */ e(ca, {}) },
|
|
671
716
|
// 缓存:/api/cache/** 是 CacheProxyController 在 JVM 内读 MemoryStore + 只读命令拼出的结构化 JSON
|
|
672
717
|
{ path: "/cache", element: /* @__PURE__ */ e(n, { to: "/cache/overview", replace: !0 }) },
|
|
673
|
-
{ path: "/cache/*", element: /* @__PURE__ */ e(
|
|
718
|
+
{ path: "/cache/*", element: /* @__PURE__ */ e(la, {}) },
|
|
674
719
|
// 消息队列::9877/:10912 是 z-mq-remoting 的 Netty 私有二进制协议,/api/mq/** 是协议适配器
|
|
675
720
|
{ path: "/mq", element: /* @__PURE__ */ e(n, { to: "/mq/instance", replace: !0 }) },
|
|
676
|
-
{ path: "/mq/*", element: /* @__PURE__ */ e(
|
|
721
|
+
{ path: "/mq/*", element: /* @__PURE__ */ e(ia, {}) },
|
|
677
722
|
// 知识库旧中间件面入口(2026-11-11 摘除菜单):认知工作台的「知识管理」段
|
|
678
723
|
// (/z-kb/*,CognitionWorkbench) 已完整承载 z-kb,旧深链一律重定向过去。
|
|
679
724
|
{ path: "/kb/*", element: /* @__PURE__ */ e(n, { to: "/z-kb/dashboard", replace: !0 }) },
|
|
680
725
|
// 对象存储(z-oss):走 z-opc 侧 /api/oss-admin/**,不再需要 AK/SK 下发
|
|
681
726
|
{ path: "/oss", element: /* @__PURE__ */ e(n, { to: "/oss/buckets", replace: !0 }) },
|
|
682
|
-
{ path: "/oss/*", element: /* @__PURE__ */ e(
|
|
727
|
+
{ path: "/oss/*", element: /* @__PURE__ */ e(sa, {}) },
|
|
683
728
|
// ─── 订阅中心 ───
|
|
684
729
|
{ path: "/subscribe", element: /* @__PURE__ */ e(n, { to: "/subscribe/list", replace: !0 }) },
|
|
685
|
-
{ path: "/subscribe/*", element: /* @__PURE__ */ e(
|
|
730
|
+
{ path: "/subscribe/*", element: /* @__PURE__ */ e(ra, {}) },
|
|
686
731
|
// ─── 产品工作台 z-product (2026-10-21 接入) ───
|
|
687
732
|
// /z-product/* 由 z-product 组件自己的 ProductApp 渲染(内部按 manifest 的绝对路径手工匹配,
|
|
688
733
|
// 不用嵌套 <Routes>:这里没有 Route 父上下文,绝对路径不会被再拼一次父前缀)。
|
|
@@ -691,40 +736,45 @@ const Na = [
|
|
|
691
736
|
// 产品域的默认落地页是工坊:它是「一个面板干完产品业务开发」的入口,
|
|
692
737
|
// 全景/蓝图是看板,不是第一动作。
|
|
693
738
|
{ path: "/z-product", element: /* @__PURE__ */ e(n, { to: "/z-product/atelier", replace: !0 }) },
|
|
694
|
-
{ path: "/z-product/*", element: /* @__PURE__ */ e(
|
|
739
|
+
{ path: "/z-product/*", element: /* @__PURE__ */ e(We, { basePath: "/z-product" }) },
|
|
695
740
|
// 旧前缀 /product/* → 新前缀 /z-product/*:§14 前缀化之前的老 URL 仍可达(书签 / 旧分享链接)。
|
|
696
741
|
{ path: "/product", element: /* @__PURE__ */ e(n, { to: "/z-product/atelier", replace: !0 }) },
|
|
697
|
-
{ path: "/product/*", element: /* @__PURE__ */ e(
|
|
742
|
+
{ path: "/product/*", element: /* @__PURE__ */ e(Ia, {}) },
|
|
698
743
|
// ─── 项目中心 ───
|
|
699
744
|
{ path: "/project", element: /* @__PURE__ */ e(n, { to: "/project/list", replace: !0 }) },
|
|
700
|
-
{ path: "/project/*", element: /* @__PURE__ */ e(
|
|
745
|
+
{ path: "/project/*", element: /* @__PURE__ */ e(pa, {}) },
|
|
701
746
|
// ─── 脚本中心 (/script/*) — FEATURE052 ───
|
|
702
747
|
{ 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(
|
|
748
|
+
{ path: "/script/manage", element: /* @__PURE__ */ e(Wt, {}) },
|
|
749
|
+
{ path: "/script/productization", element: /* @__PURE__ */ e(C, {}) },
|
|
705
750
|
// 脚本治理五条(2026-11-11 随中间件面并入):组件自带 5 个 Tab,
|
|
706
751
|
// 按「一个能力一条菜单」把 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(
|
|
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" }) },
|
|
712
757
|
// ─── 工具中心 (/z-tool/*) — FEATURE054 ───
|
|
713
758
|
{ 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(
|
|
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, {}) },
|
|
716
766
|
// ─── 测试中心 (/test/*) — FEATURE061 ───
|
|
717
767
|
{ path: "/test", element: /* @__PURE__ */ e(n, { to: "/test/qa/dashboard", replace: !0 }) },
|
|
718
|
-
{ path: "/test/mock", element: /* @__PURE__ */ e(
|
|
768
|
+
{ path: "/test/mock", element: /* @__PURE__ */ e(Ta, {}) },
|
|
719
769
|
// QAApp 按 pathname 手动分发子页(非嵌套 <Routes>),挂载前缀推断依赖
|
|
720
770
|
// 路径里有 /qa 段。?mode=test 合成挂载时真实 pathname 是 /workspace(无 qa 段)
|
|
721
771
|
// ⇒ 显式传 mountPath, 否则被库 default 分支 <Navigate> 到 /dashboard(2026-11-11 实测)。
|
|
722
|
-
{ path: "/test/qa", element: /* @__PURE__ */ e(
|
|
723
|
-
{ 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" }) },
|
|
724
774
|
{ path: "/test/evaluation", element: /* @__PURE__ */ e(n, { to: "/test/evaluation/start", replace: !0 }) },
|
|
725
|
-
...Object.entries(
|
|
775
|
+
...Object.entries(ge).map(([a, o]) => ({
|
|
726
776
|
path: `/test/evaluation/${a}`,
|
|
727
|
-
element: /* @__PURE__ */ e(
|
|
777
|
+
element: /* @__PURE__ */ e(Na, { menuKey: o })
|
|
728
778
|
})),
|
|
729
779
|
// ─── 低代码 ───
|
|
730
780
|
// /lc/* 刻意不在这里注册。它早就迁到 src/lc/(TS 重写), 挂载点是
|
|
@@ -757,81 +807,81 @@ const Na = [
|
|
|
757
807
|
// §14 铁律(菜单 key 必须带产品名前缀)针对的是**同一宿主内多套件共存**的撞车问题;
|
|
758
808
|
// 这里每个域的宿主前缀本身就已经是产品名(/config / /task / /workflow …),
|
|
759
809
|
// 且各域之间前缀互不相同 ⇒ 不存在撞车,不需要再加 z- 前缀。
|
|
760
|
-
{ path: "/config/docs", element: /* @__PURE__ */ e(
|
|
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
|
-
],
|
|
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 = [
|
|
780
830
|
// 模块根重定向到默认页(admin 面的无参兜底同样是专家团构建)
|
|
781
831
|
{ path: "/operation", element: /* @__PURE__ */ e(n, { to: "/operation/scenario", replace: !0 }) },
|
|
782
|
-
...
|
|
832
|
+
...ue().map((a) => ({
|
|
783
833
|
path: `/operation/${a.key}`,
|
|
784
|
-
element: /* @__PURE__ */ e(
|
|
834
|
+
element: /* @__PURE__ */ e(ke, { menuKey: a.key })
|
|
785
835
|
}))
|
|
786
|
-
],
|
|
787
|
-
function
|
|
788
|
-
for (const o of
|
|
836
|
+
], le = [...Ra, ...qa];
|
|
837
|
+
function za(a) {
|
|
838
|
+
for (const o of le)
|
|
789
839
|
if (o.path === a) return o.element;
|
|
790
|
-
for (const o of
|
|
791
|
-
if (
|
|
792
|
-
return /* @__PURE__ */ e(
|
|
840
|
+
for (const o of le)
|
|
841
|
+
if (La(o.path, a)) return o.element;
|
|
842
|
+
return /* @__PURE__ */ e(Ea, {});
|
|
793
843
|
}
|
|
794
|
-
function
|
|
844
|
+
function La(a, o) {
|
|
795
845
|
if (!a.includes("*") && !a.includes(":")) return !1;
|
|
796
846
|
const l = "^" + a.replace(/[.+?^${}()|[\]\\]/g, "\\$&").replace(/\*/g, ".*").replace(/:([a-zA-Z_][a-zA-Z0-9_]*)/g, "[^/]+") + "$";
|
|
797
847
|
return new RegExp(l).test(o);
|
|
798
848
|
}
|
|
799
|
-
function
|
|
800
|
-
const a =
|
|
849
|
+
function en() {
|
|
850
|
+
const a = W(), { pathname: o, search: l } = q(), r = o.startsWith("/test/") || (() => {
|
|
801
851
|
try {
|
|
802
852
|
return new URLSearchParams(l).get("mode") === "test";
|
|
803
853
|
} catch {
|
|
804
854
|
return !1;
|
|
805
855
|
}
|
|
806
|
-
})(), i =
|
|
856
|
+
})(), i = O(() => {
|
|
807
857
|
try {
|
|
808
|
-
const
|
|
809
|
-
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;
|
|
810
860
|
} catch {
|
|
811
861
|
return null;
|
|
812
862
|
}
|
|
813
|
-
}, [l]),
|
|
863
|
+
}, [l]), k = ye(() => {
|
|
814
864
|
if (!i) return;
|
|
815
|
-
const
|
|
816
|
-
|
|
817
|
-
}, [i, a]), p = r && !o.startsWith("/test") ? "/test/qa/dashboard" : o,
|
|
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]), {
|
|
818
868
|
width: d,
|
|
819
|
-
dragging:
|
|
820
|
-
onHandlePointerDown:
|
|
821
|
-
resetWidth:
|
|
822
|
-
} =
|
|
869
|
+
dragging: _,
|
|
870
|
+
onHandlePointerDown: E,
|
|
871
|
+
resetWidth: f
|
|
872
|
+
} = Ue("zteam.sidebar.system", 220, 200, 480);
|
|
823
873
|
return /* @__PURE__ */ m("div", { className: s.shellWrap, children: [
|
|
824
874
|
i && /* @__PURE__ */ m("div", { className: s.productBanner, children: [
|
|
825
875
|
/* @__PURE__ */ e("span", { className: s.productBannerLabel, children: "📦 当前产品" }),
|
|
826
876
|
/* @__PURE__ */ e("span", { className: s.productBannerName, title: i.name, children: i.name }),
|
|
827
877
|
/* @__PURE__ */ e("span", { className: s.productBannerCode, children: i.code }),
|
|
828
|
-
/* @__PURE__ */ e("button", { type: "button", className: s.productBannerBack, onClick:
|
|
878
|
+
/* @__PURE__ */ e("button", { type: "button", className: s.productBannerBack, onClick: k, children: "← 返回产品工作台" })
|
|
829
879
|
] }),
|
|
830
880
|
/* @__PURE__ */ m("div", { className: s.shell, children: [
|
|
831
881
|
/* @__PURE__ */ e(
|
|
832
|
-
|
|
882
|
+
pt,
|
|
833
883
|
{
|
|
834
|
-
activePathOverride:
|
|
884
|
+
activePathOverride: P,
|
|
835
885
|
menuOnly: !0,
|
|
836
886
|
visibleGroups: r ? ["测试中心"] : void 0,
|
|
837
887
|
sidebarWidth: d
|
|
@@ -840,19 +890,19 @@ function Ya() {
|
|
|
840
890
|
/* @__PURE__ */ e(
|
|
841
891
|
"div",
|
|
842
892
|
{
|
|
843
|
-
className: `${s.dragBar} ${
|
|
844
|
-
onPointerDown:
|
|
845
|
-
onDoubleClick:
|
|
893
|
+
className: `${s.dragBar} ${_ ? s.dragBarActive : ""}`,
|
|
894
|
+
onPointerDown: E,
|
|
895
|
+
onDoubleClick: f,
|
|
846
896
|
title: "拖动调整菜单宽度,双击恢复默认"
|
|
847
897
|
}
|
|
848
898
|
),
|
|
849
899
|
/* @__PURE__ */ m("main", { className: s.main, children: [
|
|
850
|
-
/* @__PURE__ */ e(
|
|
851
|
-
/* @__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 }) })
|
|
852
902
|
] })
|
|
853
903
|
] })
|
|
854
904
|
] });
|
|
855
905
|
}
|
|
856
906
|
export {
|
|
857
|
-
|
|
907
|
+
en as default
|
|
858
908
|
};
|