@yuku123/z-team-component 0.2.135 → 0.2.137
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-DHCn4OpR.js → AdminModuleContent-B1YxyaNI.js} +6202 -6211
- package/dist/{ChangeLogView-Cc5cYmcz.js → ChangeLogView-BKQfeeag.js} +1 -1
- package/dist/{ComponentDoc-BAUII4UZ.js → ComponentDoc-DHTIWtcE.js} +994 -1006
- package/dist/{InvitationManagementPage-BgY1jxQB.js → InvitationManagementPage-DgVqNUvK.js} +63 -73
- package/dist/{OnboardingPage-CckzpaI0.js → OnboardingPage-DiBVtw23.js} +2 -2
- package/dist/{ScheduledTasks-DZSEnuIF.js → ScheduledTasks-DuR4sg4k.js} +6 -6
- package/dist/{SystemShell-DCRIL4Rh.js → SystemShell-DoMowhBn.js} +265 -262
- package/dist/{admin-logs-DEawvNOd.js → admin-logs-BZasxvF5.js} +1 -1
- package/dist/{api-B-nnjGsa.js → api-BhdcdwWj.js} +1 -1
- package/dist/{api--xHkMnrY.js → api-CELjpxxS.js} +1 -1
- package/dist/{createWorkspaceWsHandler-y6pRWLoa.js → createWorkspaceWsHandler-SY-wVjjh.js} +3 -3
- package/dist/{index-CMLlvrEW.js → index-B0xiWAhM.js} +3688 -3664
- package/dist/{index-LnUf9Vil.js → index-B2iHgJnx.js} +6 -6
- package/dist/{index-BIffImVM.js → index-B3K7b3Bf.js} +146 -146
- package/dist/{index-DxXcTAH4.js → index-B6Nj2_Zo.js} +1 -1
- package/dist/{index-C7ng_cdZ.js → index-BB7G9ZN4.js} +1 -1
- package/dist/{index-C09THX8u.js → index-BDZOz1cm.js} +2 -2
- package/dist/{index-DtgTLML8.js → index-BHBuOhK5.js} +3 -3
- package/dist/{index-XWWknPNw.js → index-Btpel9AF.js} +2 -2
- package/dist/{index-Do3pyigD.js → index-Bwe4EN63.js} +1 -1
- package/dist/{index-DePIQVt9.js → index-CV3kkXgP.js} +3 -3
- package/dist/{index-COn912sj.js → index-C_OjaGAs.js} +3 -3
- package/dist/{index-4R_QcR8P.js → index-Cd3a7nol.js} +2 -2
- package/dist/{index-C4cx5Qxu.js → index-CtFdsOsR.js} +2 -2
- package/dist/{index-H7hP7Fmj.js → index-Cxvua23F.js} +2 -2
- package/dist/{index-DlBN-ou4.js → index-D3YkA5j4.js} +5 -5
- package/dist/{index-B2ztJXV3.js → index-D9NoVz2x.js} +2 -2
- package/dist/{index-frmk-zNf.js → index-DOdAlZfA.js} +5 -5
- package/dist/{index-C9LqX4Lg.js → index-DSH-wcoD.js} +1 -1
- package/dist/{index-CcHrWE4P.js → index-DkF5EnSi.js} +2 -2
- package/dist/{index-ztXjGIJk.js → index-DlxfYOdw.js} +1 -1
- package/dist/{index-BDUHHaoY.js → index-DpiQW5SO.js} +130 -128
- package/dist/index-DrDFy5jN.js +139 -0
- package/dist/{index-DWrEAa8-.js → index-NfGgVmob.js} +507 -509
- package/dist/{index-CzS_q6Tn.js → index-X-n1B8fi.js} +3 -3
- package/dist/index.js +1 -1
- package/dist/{instance-DL4u5k9c.js → instance-BOFjc82M.js} +1 -1
- package/dist/{menuPermission-CA_atlfk.js → menuPermission-Dfwf-EJP.js} +3 -3
- package/dist/pages.js +1 -1
- package/dist/{send-default-agent-team-message-BfBVm9AO.js → send-default-agent-team-message-CvPaOp3a.js} +1 -1
- package/dist/{sso-user-Dr8_-Sxd.js → sso-user-CAWQupk5.js} +1 -1
- package/dist/{training-CcGUA5KC.js → training-BYjqU8sn.js} +1 -1
- package/dist/{webide-C2JfQ-Je.js → webide-CDZpzRfx.js} +3 -3
- package/dist/z-team-component.css +1 -1
- package/package.json +1 -1
- package/dist/index-Cxoup7V8.js +0 -139
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { jsx as e, jsxs as r } from "react/jsx-runtime";
|
|
2
|
-
import { useNavigate as
|
|
3
|
-
import { useMemo as O, useState as
|
|
4
|
-
import { UnorderedListOutlined as
|
|
5
|
-
import { f as
|
|
6
|
-
import { u as
|
|
7
|
-
import { M as
|
|
8
|
-
import { ProductApp as
|
|
9
|
-
import { P as
|
|
10
|
-
import { configureGraph as
|
|
11
|
-
const
|
|
2
|
+
import { useNavigate as ge, useLocation as Q, Navigate as c } from "react-router-dom";
|
|
3
|
+
import { useMemo as O, useState as te, useEffect as Ie, useCallback as Ge, Suspense as Ne, lazy as S } from "react";
|
|
4
|
+
import { UnorderedListOutlined as w, HistoryOutlined as ae, ClusterOutlined as D, DashboardOutlined as f, ExperimentOutlined as we, SettingOutlined as ne, KeyOutlined as q, AppstoreOutlined as M, SafetyCertificateOutlined as ye, TeamOutlined as Z, ProfileOutlined as $, ApiOutlined as K, HddOutlined as W, ApartmentOutlined as F, InboxOutlined as oe, FileTextOutlined as I, SendOutlined as De, CloudServerOutlined as v, NodeIndexOutlined as Ce, TableOutlined as ce, SearchOutlined as j, DatabaseOutlined as x, ConsoleSqlOutlined as Me, BranchesOutlined as Be, DeploymentUnitOutlined as V, BookOutlined as B, ScheduleOutlined as ze, FundOutlined as Le, CloudUploadOutlined as Ee, TagsOutlined as Te, CodeOutlined as R, DownOutlined as se, RightOutlined as le, UserOutlined as qe, AuditOutlined as ie, FolderOpenOutlined as He, DesktopOutlined as _e, ThunderboltOutlined as Re, FileImageOutlined as $e, ProjectOutlined as fe, CloudOutlined as Y, BuildOutlined as xe, CalendarOutlined as H, BarChartOutlined as re, ControlOutlined as Ue } from "@ant-design/icons";
|
|
5
|
+
import { f as We, M as je } from "./menuPermission-Dfwf-EJP.js";
|
|
6
|
+
import { u as pe, a2 as Ke } from "./ComponentDoc-DHTIWtcE.js";
|
|
7
|
+
import { M as Fe, f as Se, u as Ve } from "./menuTree-Ctcz41N8.js";
|
|
8
|
+
import { ProductApp as Ye } from "@yuku123/z-product-component";
|
|
9
|
+
import { P as Qe, R as Ze } from "./index-DkF5EnSi.js";
|
|
10
|
+
import { configureGraph as Je } from "@yuku123/z-graph-component";
|
|
11
|
+
const Xe = [
|
|
12
12
|
{
|
|
13
13
|
title: "配置中心",
|
|
14
|
-
icon: /* @__PURE__ */ e(
|
|
14
|
+
icon: /* @__PURE__ */ e(ne, {}),
|
|
15
15
|
permission: "OPS_CONFIG_VIEW",
|
|
16
16
|
items: [
|
|
17
|
-
{ key: "config-list", label: "配置列表", icon: /* @__PURE__ */ e(
|
|
18
|
-
{ key: "config-history", label: "变更历史", icon: /* @__PURE__ */ e(
|
|
19
|
-
{ key: "config-service", label: "服务列表", icon: /* @__PURE__ */ e(
|
|
17
|
+
{ key: "config-list", label: "配置列表", icon: /* @__PURE__ */ e(w, {}), path: "/config/list" },
|
|
18
|
+
{ key: "config-history", label: "变更历史", icon: /* @__PURE__ */ e(ae, {}), path: "/config/history" },
|
|
19
|
+
{ key: "config-service", label: "服务列表", icon: /* @__PURE__ */ e(D, {}), path: "/config/service" },
|
|
20
20
|
{ key: "config-cluster", label: "集群概览", icon: /* @__PURE__ */ e(f, {}), path: "/config/cluster" },
|
|
21
|
-
{ key: "config-namespace", label: "命名空间", icon: /* @__PURE__ */ e(
|
|
21
|
+
{ key: "config-namespace", label: "命名空间", icon: /* @__PURE__ */ e(we, {}), path: "/config/namespace" }
|
|
22
22
|
]
|
|
23
23
|
},
|
|
24
24
|
{
|
|
@@ -27,36 +27,36 @@ const Je = [
|
|
|
27
27
|
items: [
|
|
28
28
|
{ key: "mist-secret", label: "密钥管理", icon: /* @__PURE__ */ e(q, {}), path: "/mist/secret" },
|
|
29
29
|
{ key: "mist-app", label: "应用接入", icon: /* @__PURE__ */ e(M, {}), path: "/mist/app" },
|
|
30
|
-
{ key: "mist-acl", label: "密钥授权", icon: /* @__PURE__ */ e(
|
|
30
|
+
{ key: "mist-acl", label: "密钥授权", icon: /* @__PURE__ */ e(ye, {}), path: "/mist/acl" }
|
|
31
31
|
]
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
title: "元数据中心",
|
|
35
|
-
icon: /* @__PURE__ */ e(
|
|
35
|
+
icon: /* @__PURE__ */ e(F, {}),
|
|
36
36
|
items: [
|
|
37
37
|
{ key: "meta-app", label: "应用元数据", icon: /* @__PURE__ */ e(M, {}), path: "/meta/app" },
|
|
38
|
-
{ key: "meta-tenant", label: "租户管理", icon: /* @__PURE__ */ e(
|
|
38
|
+
{ key: "meta-tenant", label: "租户管理", icon: /* @__PURE__ */ e(Z, {}), path: "/meta/tenant" },
|
|
39
39
|
{ key: "meta-dict", label: "数据字典", icon: /* @__PURE__ */ e($, {}), path: "/meta/dict" },
|
|
40
|
-
{ key: "meta-interface", label: "接口台账", icon: /* @__PURE__ */ e(
|
|
41
|
-
{ key: "meta-private-config", label: "私有配置", icon: /* @__PURE__ */ e(
|
|
40
|
+
{ key: "meta-interface", label: "接口台账", icon: /* @__PURE__ */ e(K, {}), path: "/meta/interface" },
|
|
41
|
+
{ key: "meta-private-config", label: "私有配置", icon: /* @__PURE__ */ e(ne, {}), path: "/meta/private-config" },
|
|
42
42
|
{ key: "meta-models", label: "业务模型", icon: /* @__PURE__ */ e(W, {}), path: "/meta/models" }
|
|
43
43
|
]
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
46
|
title: "消息中心",
|
|
47
|
-
icon: /* @__PURE__ */ e(
|
|
47
|
+
icon: /* @__PURE__ */ e(De, {}),
|
|
48
48
|
items: [
|
|
49
|
-
{ key: "msg-inbox", label: "站内信", icon: /* @__PURE__ */ e(
|
|
49
|
+
{ key: "msg-inbox", label: "站内信", icon: /* @__PURE__ */ e(oe, {}), path: "/msg/inbox" },
|
|
50
50
|
{ key: "msg-template", label: "消息模板", icon: /* @__PURE__ */ e($, {}), path: "/msg/template" },
|
|
51
51
|
{ key: "msg-delivery", label: "投递日志", icon: /* @__PURE__ */ e(I, {}), path: "/msg/delivery" },
|
|
52
|
-
{ key: "msg-batch", label: "批量任务", icon: /* @__PURE__ */ e(
|
|
52
|
+
{ key: "msg-batch", label: "批量任务", icon: /* @__PURE__ */ e(w, {}), path: "/msg/batch" }
|
|
53
53
|
]
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
title: "服务注册",
|
|
57
57
|
icon: /* @__PURE__ */ e(Ce, {}),
|
|
58
58
|
items: [
|
|
59
|
-
{ key: "rpc-service", label: "服务列表", icon: /* @__PURE__ */ e(
|
|
59
|
+
{ key: "rpc-service", label: "服务列表", icon: /* @__PURE__ */ e(D, {}), path: "/rpc/service" },
|
|
60
60
|
{ key: "rpc-instance", label: "服务实例", icon: /* @__PURE__ */ e(v, {}), path: "/rpc/instance" }
|
|
61
61
|
]
|
|
62
62
|
},
|
|
@@ -64,16 +64,16 @@ const Je = [
|
|
|
64
64
|
title: "向量检索",
|
|
65
65
|
icon: /* @__PURE__ */ e(x, {}),
|
|
66
66
|
items: [
|
|
67
|
-
{ key: "vector-collection", label: "向量集合", icon: /* @__PURE__ */ e(
|
|
67
|
+
{ key: "vector-collection", label: "向量集合", icon: /* @__PURE__ */ e(ce, {}), path: "/vector/collections" },
|
|
68
68
|
{ key: "vector-search", label: "向量检索", icon: /* @__PURE__ */ e(j, {}), path: "/vector/search" },
|
|
69
69
|
{ key: "vector-instance", label: "实例与端口", icon: /* @__PURE__ */ e(v, {}), path: "/vector/instance" }
|
|
70
70
|
]
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
73
|
title: "图数据库",
|
|
74
|
-
icon: /* @__PURE__ */ e(
|
|
74
|
+
icon: /* @__PURE__ */ e(F, {}),
|
|
75
75
|
items: [
|
|
76
|
-
{ key: "graph-schema", label: "图 Schema", icon: /* @__PURE__ */ e(
|
|
76
|
+
{ key: "graph-schema", label: "图 Schema", icon: /* @__PURE__ */ e(ce, {}), path: "/graph/schema" },
|
|
77
77
|
{ key: "graph-query", label: "图查询", icon: /* @__PURE__ */ e(Me, {}), path: "/graph/query" },
|
|
78
78
|
{ key: "graph-branches", label: "分支与提交", icon: /* @__PURE__ */ e(Be, {}), path: "/graph/branches" },
|
|
79
79
|
{ key: "graph-instance", label: "实例与端口", icon: /* @__PURE__ */ e(v, {}), path: "/graph/instance" }
|
|
@@ -81,9 +81,9 @@ const Je = [
|
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
83
|
title: "网关",
|
|
84
|
-
icon: /* @__PURE__ */ e(
|
|
84
|
+
icon: /* @__PURE__ */ e(K, {}),
|
|
85
85
|
items: [
|
|
86
|
-
{ key: "gw-routes", label: "网关路由", icon: /* @__PURE__ */ e(
|
|
86
|
+
{ key: "gw-routes", label: "网关路由", icon: /* @__PURE__ */ e(w, {}), path: "/gw/routes" },
|
|
87
87
|
{ key: "gw-metrics", label: "网关指标", icon: /* @__PURE__ */ e(f, {}), path: "/gw/metrics" },
|
|
88
88
|
{ key: "gw-instance", label: "实例与面", icon: /* @__PURE__ */ e(v, {}), path: "/gw/instance" }
|
|
89
89
|
]
|
|
@@ -100,12 +100,12 @@ const Je = [
|
|
|
100
100
|
},
|
|
101
101
|
{
|
|
102
102
|
title: "消息队列",
|
|
103
|
-
icon: /* @__PURE__ */ e(
|
|
103
|
+
icon: /* @__PURE__ */ e(oe, {}),
|
|
104
104
|
items: [
|
|
105
105
|
{ key: "mq-instance", label: "实例与端口", icon: /* @__PURE__ */ e(v, {}), path: "/mq/instance" },
|
|
106
|
-
{ key: "mq-cluster", label: "集群与 Broker", icon: /* @__PURE__ */ e(
|
|
107
|
-
{ key: "mq-topics", label: "Topic 列表", icon: /* @__PURE__ */ e(
|
|
108
|
-
{ key: "mq-broker", label: "Broker 元数据", icon: /* @__PURE__ */ e(
|
|
106
|
+
{ key: "mq-cluster", label: "集群与 Broker", icon: /* @__PURE__ */ e(D, {}), path: "/mq/cluster" },
|
|
107
|
+
{ key: "mq-topics", label: "Topic 列表", icon: /* @__PURE__ */ e(w, {}), path: "/mq/topics" },
|
|
108
|
+
{ key: "mq-broker", label: "Broker 元数据", icon: /* @__PURE__ */ e(V, {}), path: "/mq/broker" }
|
|
109
109
|
]
|
|
110
110
|
},
|
|
111
111
|
{
|
|
@@ -130,9 +130,9 @@ const Je = [
|
|
|
130
130
|
title: "调度中心",
|
|
131
131
|
icon: /* @__PURE__ */ e(ze, {}),
|
|
132
132
|
items: [
|
|
133
|
-
{ key: "schedule-jobs", label: "任务列表", icon: /* @__PURE__ */ e(
|
|
134
|
-
{ key: "schedule-group", label: "分组管理", icon: /* @__PURE__ */ e(
|
|
135
|
-
{ key: "schedule-log", label: "执行日志", icon: /* @__PURE__ */ e(
|
|
133
|
+
{ key: "schedule-jobs", label: "任务列表", icon: /* @__PURE__ */ e(w, {}), path: "/schedule/jobs" },
|
|
134
|
+
{ key: "schedule-group", label: "分组管理", icon: /* @__PURE__ */ e(D, {}), path: "/schedule/group" },
|
|
135
|
+
{ key: "schedule-log", label: "执行日志", icon: /* @__PURE__ */ e(ae, {}), path: "/schedule/log" }
|
|
136
136
|
]
|
|
137
137
|
},
|
|
138
138
|
{
|
|
@@ -142,44 +142,44 @@ const Je = [
|
|
|
142
142
|
{ key: "script-keys", label: "API Key 台账", icon: /* @__PURE__ */ e(q, {}), path: "/script/keys" },
|
|
143
143
|
{ key: "script-monitor", label: "调用监控", icon: /* @__PURE__ */ e(f, {}), path: "/script/monitor" },
|
|
144
144
|
{ key: "script-quota", label: "配额与用量", icon: /* @__PURE__ */ e(Le, {}), path: "/script/quota" },
|
|
145
|
-
{ key: "script-version", label: "脚本版本", icon: /* @__PURE__ */ e(
|
|
146
|
-
{ key: "script-tag", label: "标签治理", icon: /* @__PURE__ */ e(
|
|
145
|
+
{ key: "script-version", label: "脚本版本", icon: /* @__PURE__ */ e(Ee, {}), path: "/script/version" },
|
|
146
|
+
{ key: "script-tag", label: "标签治理", icon: /* @__PURE__ */ e(Te, {}), path: "/script/tag" }
|
|
147
147
|
]
|
|
148
148
|
}
|
|
149
|
-
],
|
|
150
|
-
container:
|
|
151
|
-
sidebar:
|
|
152
|
-
menuList:
|
|
153
|
-
menuGroup:
|
|
154
|
-
menuGroupHeader:
|
|
155
|
-
menuGroupHeaderOpen:
|
|
156
|
-
menuGroupHeaderActive:
|
|
149
|
+
], et = "_container_7o64f_7", tt = "_sidebar_7o64f_17", at = "_menuList_7o64f_37", nt = "_menuGroup_7o64f_44", ot = "_menuGroupHeader_7o64f_49", ct = "_menuGroupHeaderOpen_7o64f_68", st = "_menuGroupHeaderActive_7o64f_79", lt = "_menuGroupIcon_7o64f_83", it = "_menuGroupLabel_7o64f_92", rt = "_menuGroupArrow_7o64f_97", pt = "_menuSubList_7o64f_104", mt = "_menuSubItem_7o64f_111", ut = "_menuSubGroup_7o64f_112", dt = "_menuItemOnPath_7o64f_157", ht = "_menuSubItemPill_7o64f_178", bt = "_menuSubItemActive_7o64f_194", kt = "_menuSubItemIcon_7o64f_204", gt = "_menuSubGroupHeader_7o64f_224", yt = "_menuSubGroupHeaderOpen_7o64f_251", _t = "_menuSubGroupHeaderActive_7o64f_261", ft = "_menuSubGroupLabel_7o64f_278", St = "_main_7o64f_298", At = "_detailPanel_7o64f_308", vt = "_detailHeader_7o64f_318", Pt = "_detailIcon_7o64f_325", Ot = "_detailTitle_7o64f_338", It = "_detailDesc_7o64f_345", Gt = "_detailAction_7o64f_352", Nt = "_goBtn_7o64f_357", wt = "_emptyState_7o64f_377", n = {
|
|
150
|
+
container: et,
|
|
151
|
+
sidebar: tt,
|
|
152
|
+
menuList: at,
|
|
153
|
+
menuGroup: nt,
|
|
154
|
+
menuGroupHeader: ot,
|
|
155
|
+
menuGroupHeaderOpen: ct,
|
|
156
|
+
menuGroupHeaderActive: st,
|
|
157
157
|
menuGroupIcon: lt,
|
|
158
|
-
menuGroupLabel:
|
|
159
|
-
menuGroupArrow:
|
|
160
|
-
menuSubList:
|
|
161
|
-
menuSubItem:
|
|
162
|
-
menuSubGroup:
|
|
163
|
-
menuItemOnPath:
|
|
164
|
-
menuSubItemPill:
|
|
165
|
-
menuSubItemActive:
|
|
166
|
-
menuSubItemIcon:
|
|
167
|
-
menuSubGroupHeader:
|
|
168
|
-
menuSubGroupHeaderOpen:
|
|
169
|
-
menuSubGroupHeaderActive:
|
|
170
|
-
menuSubGroupLabel:
|
|
171
|
-
main:
|
|
172
|
-
detailPanel:
|
|
173
|
-
detailHeader:
|
|
174
|
-
detailIcon:
|
|
175
|
-
detailTitle:
|
|
176
|
-
detailDesc:
|
|
177
|
-
detailAction:
|
|
178
|
-
goBtn:
|
|
158
|
+
menuGroupLabel: it,
|
|
159
|
+
menuGroupArrow: rt,
|
|
160
|
+
menuSubList: pt,
|
|
161
|
+
menuSubItem: mt,
|
|
162
|
+
menuSubGroup: ut,
|
|
163
|
+
menuItemOnPath: dt,
|
|
164
|
+
menuSubItemPill: ht,
|
|
165
|
+
menuSubItemActive: bt,
|
|
166
|
+
menuSubItemIcon: kt,
|
|
167
|
+
menuSubGroupHeader: gt,
|
|
168
|
+
menuSubGroupHeaderOpen: yt,
|
|
169
|
+
menuSubGroupHeaderActive: _t,
|
|
170
|
+
menuSubGroupLabel: ft,
|
|
171
|
+
main: St,
|
|
172
|
+
detailPanel: At,
|
|
173
|
+
detailHeader: vt,
|
|
174
|
+
detailIcon: Pt,
|
|
175
|
+
detailTitle: Ot,
|
|
176
|
+
detailDesc: It,
|
|
177
|
+
detailAction: Gt,
|
|
178
|
+
goBtn: Nt,
|
|
179
179
|
emptyState: wt
|
|
180
180
|
};
|
|
181
181
|
function C(a) {
|
|
182
|
-
return a.flatMap((
|
|
182
|
+
return a.flatMap((l) => [l, ...C(l.children ?? [])]);
|
|
183
183
|
}
|
|
184
184
|
const Dt = {
|
|
185
185
|
title: "测试中心",
|
|
@@ -210,7 +210,7 @@ const Dt = {
|
|
|
210
210
|
{
|
|
211
211
|
key: "test-suite",
|
|
212
212
|
label: "测试套件",
|
|
213
|
-
icon: /* @__PURE__ */ e(
|
|
213
|
+
icon: /* @__PURE__ */ e(D, {}),
|
|
214
214
|
path: "/test/qa/suites",
|
|
215
215
|
desc: "步骤编排与变量传递"
|
|
216
216
|
},
|
|
@@ -254,12 +254,12 @@ const Dt = {
|
|
|
254
254
|
{
|
|
255
255
|
key: "test-support",
|
|
256
256
|
label: "环境与工具",
|
|
257
|
-
icon: /* @__PURE__ */ e(
|
|
257
|
+
icon: /* @__PURE__ */ e(Y, {}),
|
|
258
258
|
children: [
|
|
259
259
|
{
|
|
260
260
|
key: "test-env",
|
|
261
261
|
label: "环境管理",
|
|
262
|
-
icon: /* @__PURE__ */ e(
|
|
262
|
+
icon: /* @__PURE__ */ e(Y, {}),
|
|
263
263
|
path: "/test/qa/envs",
|
|
264
264
|
desc: "多环境变量管理"
|
|
265
265
|
},
|
|
@@ -275,7 +275,7 @@ const Dt = {
|
|
|
275
275
|
{
|
|
276
276
|
key: "test-eval",
|
|
277
277
|
label: "智能测评",
|
|
278
|
-
icon: /* @__PURE__ */ e(
|
|
278
|
+
icon: /* @__PURE__ */ e(re, {}),
|
|
279
279
|
children: [
|
|
280
280
|
{
|
|
281
281
|
key: "test-eval-start",
|
|
@@ -294,14 +294,14 @@ const Dt = {
|
|
|
294
294
|
{
|
|
295
295
|
key: "test-eval-group",
|
|
296
296
|
label: "群聊评测",
|
|
297
|
-
icon: /* @__PURE__ */ e(
|
|
297
|
+
icon: /* @__PURE__ */ e(Z, {}),
|
|
298
298
|
path: "/test/evaluation/group",
|
|
299
299
|
desc: "群聊场景评测"
|
|
300
300
|
},
|
|
301
301
|
{
|
|
302
302
|
key: "test-eval-report",
|
|
303
303
|
label: "分析报告",
|
|
304
|
-
icon: /* @__PURE__ */ e(
|
|
304
|
+
icon: /* @__PURE__ */ e(re, {}),
|
|
305
305
|
path: "/test/evaluation/report",
|
|
306
306
|
desc: "测评结果分析"
|
|
307
307
|
}
|
|
@@ -309,16 +309,16 @@ const Dt = {
|
|
|
309
309
|
}
|
|
310
310
|
]
|
|
311
311
|
};
|
|
312
|
-
function
|
|
313
|
-
const
|
|
312
|
+
function Ct(a) {
|
|
313
|
+
const l = Se(a.children ?? []), p = {
|
|
314
314
|
key: `operation-${a.key}`,
|
|
315
315
|
label: a.label,
|
|
316
|
-
icon: a.icon ?? /* @__PURE__ */ e(
|
|
316
|
+
icon: a.icon ?? /* @__PURE__ */ e(Ue, {}),
|
|
317
317
|
permission: a.permission
|
|
318
318
|
};
|
|
319
|
-
return
|
|
319
|
+
return l.length === 0 ? { ...p, path: `/operation/${a.key}` } : {
|
|
320
320
|
...p,
|
|
321
|
-
children:
|
|
321
|
+
children: l.map((b) => ({
|
|
322
322
|
key: `operation-${b.key}`,
|
|
323
323
|
label: b.label,
|
|
324
324
|
path: `/operation/${b.key}`,
|
|
@@ -326,29 +326,42 @@ function Nt(a) {
|
|
|
326
326
|
}))
|
|
327
327
|
};
|
|
328
328
|
}
|
|
329
|
-
const
|
|
329
|
+
const Mt = {
|
|
330
330
|
title: "协作管理",
|
|
331
|
-
icon: /* @__PURE__ */ e(
|
|
331
|
+
icon: /* @__PURE__ */ e(Z, {}),
|
|
332
332
|
permission: "ADMIN_ENTRY",
|
|
333
|
-
items:
|
|
334
|
-
},
|
|
333
|
+
items: Fe.map(Ct)
|
|
334
|
+
}, Bt = {
|
|
335
335
|
title: "基础服务",
|
|
336
336
|
icon: /* @__PURE__ */ e(x, {}),
|
|
337
|
-
items:
|
|
337
|
+
items: Xe.map((a) => ({
|
|
338
338
|
key: `mw-${a.title}`,
|
|
339
339
|
label: a.title,
|
|
340
340
|
icon: a.icon,
|
|
341
341
|
permission: a.permission,
|
|
342
|
-
children: a.items.map((
|
|
343
|
-
key:
|
|
344
|
-
label:
|
|
345
|
-
path:
|
|
342
|
+
children: a.items.map((l) => ({
|
|
343
|
+
key: l.key,
|
|
344
|
+
label: l.label,
|
|
345
|
+
path: l.path
|
|
346
346
|
}))
|
|
347
347
|
}))
|
|
348
|
+
}, zt = {
|
|
349
|
+
title: "系统初始",
|
|
350
|
+
icon: /* @__PURE__ */ e(xe, {}),
|
|
351
|
+
permission: "PERMISSION_MANAGE",
|
|
352
|
+
items: [
|
|
353
|
+
{
|
|
354
|
+
key: "4a-tenant",
|
|
355
|
+
label: "租户管理",
|
|
356
|
+
icon: /* @__PURE__ */ e(Y, {}),
|
|
357
|
+
path: "/ctc/4a/tenant",
|
|
358
|
+
desc: "多租户管理与配置"
|
|
359
|
+
}
|
|
360
|
+
]
|
|
348
361
|
}, Ae = [
|
|
349
362
|
{
|
|
350
363
|
title: "认证与权限",
|
|
351
|
-
icon: /* @__PURE__ */ e(
|
|
364
|
+
icon: /* @__PURE__ */ e(ye, {}),
|
|
352
365
|
// 4A 授权中心自身的资源管理动作 (账号/角色/应用/租户/组织/权限分配)
|
|
353
366
|
// ⇒ 4A 权限管理域 PERMISSION_MANAGE。普通用户角色 USER 不含该码,
|
|
354
367
|
// 之前照样能点进这些页面 (进去就是 403 / 空白) —— 现在入口先收敛。
|
|
@@ -361,13 +374,6 @@ const Ct = {
|
|
|
361
374
|
path: "/ctc/4a/account",
|
|
362
375
|
desc: "用户账号创建、编辑与状态管理"
|
|
363
376
|
},
|
|
364
|
-
{
|
|
365
|
-
key: "4a-role",
|
|
366
|
-
label: "角色管理",
|
|
367
|
-
icon: /* @__PURE__ */ e(K, {}),
|
|
368
|
-
path: "/ctc/4a/role",
|
|
369
|
-
desc: "角色定义与权限分配"
|
|
370
|
-
},
|
|
371
377
|
{
|
|
372
378
|
key: "4a-app",
|
|
373
379
|
label: "应用管理",
|
|
@@ -375,26 +381,19 @@ const Ct = {
|
|
|
375
381
|
path: "/ctc/4a/application",
|
|
376
382
|
desc: "应用注册、资源与权限配置"
|
|
377
383
|
},
|
|
378
|
-
{
|
|
379
|
-
key: "4a-tenant",
|
|
380
|
-
label: "租户管理",
|
|
381
|
-
icon: /* @__PURE__ */ e(Q, {}),
|
|
382
|
-
path: "/ctc/4a/tenant",
|
|
383
|
-
desc: "多租户管理与配置"
|
|
384
|
-
},
|
|
385
384
|
{
|
|
386
385
|
key: "4a-org",
|
|
387
386
|
label: "组织管理",
|
|
388
|
-
icon: /* @__PURE__ */ e(
|
|
387
|
+
icon: /* @__PURE__ */ e(V, {}),
|
|
389
388
|
path: "/ctc/4a/org",
|
|
390
389
|
desc: "组织架构与部门管理"
|
|
391
390
|
},
|
|
392
391
|
{
|
|
393
392
|
key: "4a-permission",
|
|
394
393
|
label: "权限管理",
|
|
395
|
-
icon: /* @__PURE__ */ e(
|
|
394
|
+
icon: /* @__PURE__ */ e(ie, {}),
|
|
396
395
|
path: "/ctc/4a/permission",
|
|
397
|
-
desc: "
|
|
396
|
+
desc: "角色、权限点与权限树(角色管理已并入本项)"
|
|
398
397
|
}
|
|
399
398
|
]
|
|
400
399
|
},
|
|
@@ -471,14 +470,14 @@ const Ct = {
|
|
|
471
470
|
{
|
|
472
471
|
key: "product-concept",
|
|
473
472
|
label: "领域模型",
|
|
474
|
-
icon: /* @__PURE__ */ e(
|
|
473
|
+
icon: /* @__PURE__ */ e(F, {}),
|
|
475
474
|
path: "/z-product/concept-model",
|
|
476
475
|
desc: "概念与关系画布(四种投影)"
|
|
477
476
|
},
|
|
478
477
|
{
|
|
479
478
|
key: "product-scenarios",
|
|
480
479
|
label: "用户链路",
|
|
481
|
-
icon: /* @__PURE__ */ e(
|
|
480
|
+
icon: /* @__PURE__ */ e(V, {}),
|
|
482
481
|
path: "/z-product/scenarios",
|
|
483
482
|
desc: "端到端场景:步骤引用领域概念"
|
|
484
483
|
},
|
|
@@ -498,7 +497,7 @@ const Ct = {
|
|
|
498
497
|
{
|
|
499
498
|
key: "workflow",
|
|
500
499
|
label: "流程中心",
|
|
501
|
-
icon: /* @__PURE__ */ e(
|
|
500
|
+
icon: /* @__PURE__ */ e(ie, {}),
|
|
502
501
|
path: "/workflow/dashboard",
|
|
503
502
|
desc: "工作流定义与审批管理"
|
|
504
503
|
},
|
|
@@ -512,7 +511,7 @@ const Ct = {
|
|
|
512
511
|
{
|
|
513
512
|
key: "subscribe",
|
|
514
513
|
label: "订阅中心",
|
|
515
|
-
icon: /* @__PURE__ */ e(
|
|
514
|
+
icon: /* @__PURE__ */ e(K, {}),
|
|
516
515
|
path: "/subscribe/list",
|
|
517
516
|
desc: "第三方数据订阅与拉取"
|
|
518
517
|
},
|
|
@@ -525,51 +524,52 @@ const Ct = {
|
|
|
525
524
|
}
|
|
526
525
|
]
|
|
527
526
|
},
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
527
|
+
Mt,
|
|
528
|
+
Bt,
|
|
529
|
+
zt
|
|
530
|
+
], Lt = [...Ae, Dt];
|
|
531
|
+
function Et({
|
|
532
532
|
activePathOverride: a,
|
|
533
|
-
menuOnly:
|
|
533
|
+
menuOnly: l = !1,
|
|
534
534
|
visibleGroups: p,
|
|
535
535
|
sidebarWidth: b
|
|
536
536
|
} = {}) {
|
|
537
|
-
const h =
|
|
538
|
-
() => p ?
|
|
537
|
+
const h = ge(), { pathname: z } = Q(), g = O(
|
|
538
|
+
() => p ? Lt.filter((o) => p.includes(o.title)) : Ae,
|
|
539
539
|
[p]
|
|
540
|
-
), L =
|
|
541
|
-
() => L === "failed" ? g :
|
|
542
|
-
[g,
|
|
543
|
-
), [U,
|
|
540
|
+
), L = pe((o) => o.permissionState), E = pe((o) => o.currentUser), y = O(
|
|
541
|
+
() => L === "failed" ? g : We(g, E),
|
|
542
|
+
[g, E, L]
|
|
543
|
+
), [U, T] = te(/* @__PURE__ */ new Set()), [G, k] = te(/* @__PURE__ */ new Set()), m = O(() => {
|
|
544
544
|
var u;
|
|
545
545
|
const o = a ?? z;
|
|
546
|
-
return ((u = y.flatMap((
|
|
547
|
-
(
|
|
546
|
+
return ((u = y.flatMap((s) => C(s.items)).find(
|
|
547
|
+
(s) => s.path === o
|
|
548
548
|
)) == null ? void 0 : u.key) ?? null;
|
|
549
549
|
}, [a, z, y]);
|
|
550
550
|
Ie(() => {
|
|
551
551
|
m && y.forEach((o) => {
|
|
552
552
|
const u = o.items.find(
|
|
553
|
-
(
|
|
553
|
+
(s) => s.key === m || C([s]).some((i) => i.key === m)
|
|
554
554
|
);
|
|
555
|
-
u && (
|
|
556
|
-
(
|
|
555
|
+
u && (T(
|
|
556
|
+
(s) => s.has(o.title) ? s : new Set(s).add(o.title)
|
|
557
557
|
), u.children && k(
|
|
558
|
-
(
|
|
558
|
+
(s) => s.has(u.key) ? s : new Set(s).add(u.key)
|
|
559
559
|
));
|
|
560
560
|
});
|
|
561
561
|
}, [m, y]);
|
|
562
562
|
const ve = (o) => {
|
|
563
|
-
|
|
564
|
-
const
|
|
565
|
-
return
|
|
563
|
+
T((u) => {
|
|
564
|
+
const s = new Set(u);
|
|
565
|
+
return s.has(o) ? s.delete(o) : s.add(o), s;
|
|
566
566
|
});
|
|
567
567
|
}, Pe = (o) => {
|
|
568
568
|
k((u) => {
|
|
569
|
-
const
|
|
570
|
-
return
|
|
569
|
+
const s = new Set(u);
|
|
570
|
+
return s.has(o) ? s.delete(o) : s.add(o), s;
|
|
571
571
|
});
|
|
572
|
-
},
|
|
572
|
+
}, J = (o) => {
|
|
573
573
|
o.path && h(o.path);
|
|
574
574
|
}, A = y.flatMap((o) => C(o.items)).find(
|
|
575
575
|
(o) => o.key === m
|
|
@@ -581,32 +581,32 @@ function zt({
|
|
|
581
581
|
className: n.sidebar,
|
|
582
582
|
style: b ? { width: b, minWidth: b } : void 0,
|
|
583
583
|
children: [
|
|
584
|
-
/* @__PURE__ */ e(
|
|
584
|
+
/* @__PURE__ */ e(je, {}),
|
|
585
585
|
/* @__PURE__ */ e("nav", { className: n.menuList, children: y.map((o) => {
|
|
586
|
-
const u = U.has(o.title),
|
|
587
|
-
(i) => i.key === m || C([i]).some((
|
|
586
|
+
const u = U.has(o.title), s = m ? o.items.findIndex(
|
|
587
|
+
(i) => i.key === m || C([i]).some((N) => N.key === m)
|
|
588
588
|
) : -1;
|
|
589
589
|
return /* @__PURE__ */ r("div", { className: n.menuGroup, children: [
|
|
590
590
|
/* @__PURE__ */ r(
|
|
591
591
|
"div",
|
|
592
592
|
{
|
|
593
|
-
className: `${n.menuGroupHeader} ${u ? n.menuGroupHeaderOpen : ""} ${
|
|
593
|
+
className: `${n.menuGroupHeader} ${u ? n.menuGroupHeaderOpen : ""} ${s >= 0 ? n.menuGroupHeaderActive : ""}`,
|
|
594
594
|
onClick: () => ve(o.title),
|
|
595
595
|
children: [
|
|
596
596
|
/* @__PURE__ */ e("span", { className: n.menuGroupIcon, children: o.icon }),
|
|
597
597
|
/* @__PURE__ */ e("span", { className: n.menuGroupLabel, children: o.title }),
|
|
598
|
-
/* @__PURE__ */ e("span", { className: n.menuGroupArrow, children: u ? /* @__PURE__ */ e(se, {}) : /* @__PURE__ */ e(
|
|
598
|
+
/* @__PURE__ */ e("span", { className: n.menuGroupArrow, children: u ? /* @__PURE__ */ e(se, {}) : /* @__PURE__ */ e(le, {}) })
|
|
599
599
|
]
|
|
600
600
|
}
|
|
601
601
|
),
|
|
602
|
-
u && /* @__PURE__ */ e("ul", { className: n.menuSubList, children: o.items.map((i,
|
|
603
|
-
const
|
|
602
|
+
u && /* @__PURE__ */ e("ul", { className: n.menuSubList, children: o.items.map((i, N) => {
|
|
603
|
+
const X = s >= 0 && N <= s;
|
|
604
604
|
if (!i.children)
|
|
605
605
|
return /* @__PURE__ */ e(
|
|
606
606
|
"li",
|
|
607
607
|
{
|
|
608
|
-
className: `${n.menuSubItem} ${
|
|
609
|
-
onClick: () =>
|
|
608
|
+
className: `${n.menuSubItem} ${X ? n.menuItemOnPath : ""} ${m === i.key ? n.menuSubItemActive : ""}`,
|
|
609
|
+
onClick: () => J(i),
|
|
610
610
|
children: /* @__PURE__ */ r("div", { className: n.menuSubItemPill, children: [
|
|
611
611
|
i.icon ? /* @__PURE__ */ e("span", { className: n.menuSubItemIcon, children: i.icon }) : null,
|
|
612
612
|
/* @__PURE__ */ e("span", { children: i.label })
|
|
@@ -614,29 +614,29 @@ function zt({
|
|
|
614
614
|
},
|
|
615
615
|
i.key
|
|
616
616
|
);
|
|
617
|
-
const
|
|
617
|
+
const ee = s === N ? i.children.findIndex((_) => _.key === m) : -1;
|
|
618
618
|
return /* @__PURE__ */ r(
|
|
619
619
|
"li",
|
|
620
620
|
{
|
|
621
|
-
className: `${n.menuSubGroup} ${
|
|
621
|
+
className: `${n.menuSubGroup} ${X ? n.menuItemOnPath : ""}`,
|
|
622
622
|
children: [
|
|
623
623
|
/* @__PURE__ */ r(
|
|
624
624
|
"div",
|
|
625
625
|
{
|
|
626
|
-
className: `${n.menuSubGroupHeader} ${G.has(i.key) ? n.menuSubGroupHeaderOpen : ""} ${
|
|
626
|
+
className: `${n.menuSubGroupHeader} ${G.has(i.key) ? n.menuSubGroupHeaderOpen : ""} ${s === N ? n.menuSubGroupHeaderActive : ""}`,
|
|
627
627
|
onClick: () => Pe(i.key),
|
|
628
628
|
children: [
|
|
629
629
|
/* @__PURE__ */ e("span", { className: n.menuGroupIcon, children: i.icon }),
|
|
630
630
|
/* @__PURE__ */ e("span", { className: n.menuSubGroupLabel, children: i.label }),
|
|
631
|
-
/* @__PURE__ */ e("span", { className: n.menuGroupArrow, children: G.has(i.key) ? /* @__PURE__ */ e(se, {}) : /* @__PURE__ */ e(
|
|
631
|
+
/* @__PURE__ */ e("span", { className: n.menuGroupArrow, children: G.has(i.key) ? /* @__PURE__ */ e(se, {}) : /* @__PURE__ */ e(le, {}) })
|
|
632
632
|
]
|
|
633
633
|
}
|
|
634
634
|
),
|
|
635
635
|
G.has(i.key) && /* @__PURE__ */ e("ul", { className: n.menuSubList, children: i.children.map((_, Oe) => /* @__PURE__ */ e(
|
|
636
636
|
"li",
|
|
637
637
|
{
|
|
638
|
-
className: `${n.menuSubItem} ${
|
|
639
|
-
onClick: () =>
|
|
638
|
+
className: `${n.menuSubItem} ${ee >= 0 && Oe <= ee ? n.menuItemOnPath : ""} ${m === _.key ? n.menuSubItemActive : ""}`,
|
|
639
|
+
onClick: () => J(_),
|
|
640
640
|
children: /* @__PURE__ */ r("div", { className: n.menuSubItemPill, children: [
|
|
641
641
|
_.icon ? /* @__PURE__ */ e("span", { className: n.menuSubItemIcon, children: _.icon }) : null,
|
|
642
642
|
/* @__PURE__ */ e("span", { children: _.label })
|
|
@@ -654,7 +654,7 @@ function zt({
|
|
|
654
654
|
]
|
|
655
655
|
}
|
|
656
656
|
),
|
|
657
|
-
|
|
657
|
+
l ? null : /* @__PURE__ */ e("main", { className: n.main, children: A ? /* @__PURE__ */ r("div", { className: n.detailPanel, children: [
|
|
658
658
|
/* @__PURE__ */ r("div", { className: n.detailHeader, children: [
|
|
659
659
|
/* @__PURE__ */ e("div", { className: n.detailIcon, children: A.icon }),
|
|
660
660
|
/* @__PURE__ */ r("div", { children: [
|
|
@@ -679,77 +679,80 @@ function zt({
|
|
|
679
679
|
] }) })
|
|
680
680
|
] });
|
|
681
681
|
}
|
|
682
|
-
const
|
|
683
|
-
let
|
|
684
|
-
function
|
|
685
|
-
|
|
682
|
+
const Tt = "/api/graph";
|
|
683
|
+
let me = !1;
|
|
684
|
+
function qt() {
|
|
685
|
+
me || (me = !0, Je(Tt));
|
|
686
686
|
}
|
|
687
|
-
const
|
|
688
|
-
shellWrap:
|
|
689
|
-
shell:
|
|
690
|
-
dragBar:
|
|
691
|
-
dragBarActive:
|
|
692
|
-
main:
|
|
693
|
-
productBanner:
|
|
694
|
-
productBannerLabel:
|
|
695
|
-
productBannerName:
|
|
696
|
-
productBannerCode:
|
|
697
|
-
productBannerBack:
|
|
698
|
-
empty:
|
|
699
|
-
emptyIcon:
|
|
700
|
-
emptyText:
|
|
687
|
+
const Ht = "_shellWrap_11zl4_6", Rt = "_shell_11zl4_6", $t = "_dragBar_11zl4_31", xt = "_dragBarActive_11zl4_52", Ut = "_main_11zl4_56", Wt = "_productBanner_11zl4_68", jt = "_productBannerLabel_11zl4_80", Kt = "_productBannerName_11zl4_86", Ft = "_productBannerCode_11zl4_94", Vt = "_productBannerBack_11zl4_99", Yt = "_empty_11zl4_116", Qt = "_emptyIcon_11zl4_126", Zt = "_emptyText_11zl4_131", d = {
|
|
688
|
+
shellWrap: Ht,
|
|
689
|
+
shell: Rt,
|
|
690
|
+
dragBar: $t,
|
|
691
|
+
dragBarActive: xt,
|
|
692
|
+
main: Ut,
|
|
693
|
+
productBanner: Wt,
|
|
694
|
+
productBannerLabel: jt,
|
|
695
|
+
productBannerName: Kt,
|
|
696
|
+
productBannerCode: Ft,
|
|
697
|
+
productBannerBack: Vt,
|
|
698
|
+
empty: Yt,
|
|
699
|
+
emptyIcon: Qt,
|
|
700
|
+
emptyText: Zt
|
|
701
701
|
};
|
|
702
|
-
|
|
703
|
-
const t = (a,
|
|
704
|
-
function
|
|
705
|
-
return
|
|
702
|
+
Ke();
|
|
703
|
+
const t = (a, l) => S(() => a().then((p) => ({ default: p[l] }))), Jt = t(() => import("@yuku123/z-ctc-component"), "AccountManagement"), Xt = t(() => import("@yuku123/z-ctc-component"), "ApplicationManagement"), ea = t(() => import("@yuku123/z-ctc-component"), "AuditPage"), ta = t(() => import("@yuku123/z-ctc-component"), "CtcOverview"), aa = t(() => import("@yuku123/z-ctc-component"), "DictPage"), na = t(() => import("@yuku123/z-ctc-component"), "OrgPage"), oa = t(() => import("@yuku123/z-ctc-component"), "PermissionManagement"), ue = t(() => import("@yuku123/z-ctc-component"), "SurlManagement"), ca = t(() => import("@yuku123/z-ctc-component"), "TenantManagement"), sa = t(() => import("@yuku123/z-agent-component"), "AgentAppList"), la = t(() => import("@yuku123/z-agent-component"), "AgentDashboard"), ia = t(() => import("@yuku123/z-agent-component"), "AkManage"), ra = t(() => import("@yuku123/z-agent-component"), "BucketList"), pa = t(() => import("@yuku123/z-agent-component"), "LlmManage"), ma = t(() => import("@yuku123/z-agent-component"), "McpPage"), ua = t(() => import("@yuku123/z-agent-component"), "ObjectBrowser"), da = t(() => import("@yuku123/z-agent-component"), "ScriptCenterPage"), P = t(() => import("@yuku123/z-agent-component"), "ScriptProductizationPage"), ha = t(() => import("@yuku123/z-agent-component"), "SkillMarket"), ba = t(() => import("./index-BDZOz1cm.js"), "AgentTeamIM"), de = t(() => import("./index-BDZOz1cm.js"), "DebugPlayground"), ka = t(() => import("./index-BDZOz1cm.js"), "Overview"), he = t(() => import("./index-BDZOz1cm.js"), "Webide"), ga = S(() => import("./OnboardingPage-DiBVtw23.js")), ya = S(() => import("./InvitationManagementPage-DgVqNUvK.js")), _a = t(() => import("@yuku123/z-config-component"), "ConfigApp"), fa = t(() => import("@yuku123/z-task-component"), "TaskApp"), Sa = t(() => import("@yuku123/z-wf-component"), "WorkflowApp"), Aa = t(() => import("@yuku123/z-schedule-component"), "ScheduleApp"), va = t(() => import("@yuku123/z-mist-component"), "MistApp"), Pa = t(() => import("@yuku123/z-meta-component"), "MetaApp"), Oa = t(() => import("@yuku123/z-msg-component"), "MsgApp"), Ia = t(() => import("@yuku123/z-rpc-component"), "RpcApp"), Ga = t(() => import("@yuku123/z-vector-component"), "VectorApp"), Na = t(() => import("@yuku123/z-graph-component"), "GraphApp"), wa = t(() => import("@yuku123/z-gw-component"), "GwApp"), Da = t(() => import("@yuku123/z-cache-component"), "CacheApp"), Ca = t(() => import("@yuku123/z-mq-component"), "MqApp"), Ma = t(() => import("@yuku123/z-oss-component"), "OssApp"), Ba = t(() => import("@yuku123/z-cognition-kb-component"), "KbApp"), za = S(() => import("./ComponentDoc-DHTIWtcE.js").then((a) => a.co)), La = S(() => import("./ComponentDoc-DHTIWtcE.js").then((a) => a.cp)), Ea = t(() => import("@yuku123/z-config-component"), "ComponentDocPage"), Ta = t(() => import("@yuku123/z-task-component"), "ComponentDocPage"), qa = t(() => import("@yuku123/z-wf-component"), "ComponentDocPage"), Ha = t(() => import("@yuku123/z-schedule-component"), "ComponentDocPage"), Ra = t(() => import("@yuku123/z-mist-component"), "ComponentDocPage"), $a = t(() => import("@yuku123/z-meta-component"), "ComponentDocPage"), xa = t(() => import("@yuku123/z-msg-component"), "ComponentDocPage"), Ua = t(() => import("@yuku123/z-rpc-component"), "ComponentDocPage"), Wa = t(() => import("@yuku123/z-cognition-kb-component"), "ComponentDocPage"), ja = t(() => import("@yuku123/z-product-component"), "ComponentDocPage"), Ka = t(() => import("@yuku123/z-oss-component"), "ComponentDocPage"), Fa = t(() => import("@yuku123/z-vector-component"), "ComponentDocPage"), Va = t(() => import("@yuku123/z-graph-component"), "ComponentDocPage"), Ya = t(() => import("@yuku123/z-gw-component"), "ComponentDocPage"), Qa = t(() => import("@yuku123/z-cache-component"), "ComponentDocPage"), Za = t(() => import("@yuku123/z-mq-component"), "ComponentDocPage"), Ja = t(() => import("@yuku123/z-ctc-component"), "ComponentDocPage"), Xa = t(() => import("@yuku123/z-agent-component"), "ComponentDocPage"), en = t(() => import("@yuku123/z-lc-component"), "ComponentDocPage"), tn = t(() => import("@yuku123/z-qa-component"), "ComponentDocPage"), an = S(() => import("./AdminModuleContent-B1YxyaNI.js"));
|
|
704
|
+
function nn() {
|
|
705
|
+
return qt(), /* @__PURE__ */ e(Na, {});
|
|
706
706
|
}
|
|
707
|
-
const
|
|
708
|
-
function
|
|
707
|
+
const on = S(() => import("./ComponentDoc-DHTIWtcE.js").then((a) => a.cn)), be = S(() => import("@yuku123/z-qa-component"));
|
|
708
|
+
function cn() {
|
|
709
709
|
return /* @__PURE__ */ r("div", { className: d.empty, children: [
|
|
710
710
|
/* @__PURE__ */ e("div", { className: d.emptyIcon, children: "📋" }),
|
|
711
711
|
/* @__PURE__ */ e("div", { className: d.emptyText, children: "请从左侧菜单选择模块" })
|
|
712
712
|
] });
|
|
713
713
|
}
|
|
714
|
-
function
|
|
715
|
-
const { pathname: a } =
|
|
714
|
+
function sn() {
|
|
715
|
+
const { pathname: a } = Q();
|
|
716
716
|
return /* @__PURE__ */ e(c, { to: a.replace(/^\/product/, "/z-product"), replace: !0 });
|
|
717
717
|
}
|
|
718
718
|
const ln = [
|
|
719
719
|
// ─── 顶层 / 概览 ───
|
|
720
|
-
{ path: "/overview", element: /* @__PURE__ */ e(
|
|
720
|
+
{ path: "/overview", element: /* @__PURE__ */ e(ka, {}) },
|
|
721
721
|
// ─── 4A 中心 (/ctc/*) ───
|
|
722
722
|
{ path: "/ctc", element: /* @__PURE__ */ e(c, { to: "/ctc/4a/account", replace: !0 }) },
|
|
723
|
-
{ path: "/ctc/4a/account", element: /* @__PURE__ */ e(
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
{ path: "/ctc/4a/
|
|
728
|
-
{ path: "/ctc/4a/
|
|
729
|
-
{ path: "/ctc/4a/
|
|
730
|
-
{ path: "/ctc/
|
|
731
|
-
{ path: "/ctc/
|
|
732
|
-
{ path: "/ctc/
|
|
733
|
-
{ path: "/ctc/
|
|
734
|
-
{ path: "/ctc/
|
|
735
|
-
{ path: "/ctc/
|
|
736
|
-
{ path: "/
|
|
723
|
+
{ path: "/ctc/4a/account", element: /* @__PURE__ */ e(Jt, {}) },
|
|
724
|
+
// 角色管理已并入权限管理(CEO 2026-11-11):角色是权限点的命名集合,
|
|
725
|
+
// 拆成两个顶级菜单时用户得在两张表之间来回对照才能回答「这角色能干什么」。
|
|
726
|
+
// 老深链 /ctc/4a/role 仍然可达 —— 落到合并页的「角色」视图。
|
|
727
|
+
{ path: "/ctc/4a/role", element: /* @__PURE__ */ e(c, { to: "/ctc/4a/permission?view=roles", replace: !0 }) },
|
|
728
|
+
{ path: "/ctc/4a/application", element: /* @__PURE__ */ e(Xt, {}) },
|
|
729
|
+
{ path: "/ctc/4a/tenant", element: /* @__PURE__ */ e(ca, {}) },
|
|
730
|
+
{ path: "/ctc/4a/org", element: /* @__PURE__ */ e(na, {}) },
|
|
731
|
+
{ path: "/ctc/4a/permission", element: /* @__PURE__ */ e(oa, {}) },
|
|
732
|
+
{ path: "/ctc/4a/surl", element: /* @__PURE__ */ e(ue, {}) },
|
|
733
|
+
{ path: "/ctc/dict", element: /* @__PURE__ */ e(aa, {}) },
|
|
734
|
+
{ path: "/ctc/overview", element: /* @__PURE__ */ e(ta, {}) },
|
|
735
|
+
{ path: "/ctc/audit", element: /* @__PURE__ */ e(ea, {}) },
|
|
736
|
+
{ path: "/ctc/webide", element: /* @__PURE__ */ e(he, {}) },
|
|
737
|
+
{ path: "/ctc/agent-team", element: /* @__PURE__ */ e(ba, {}) },
|
|
738
|
+
{ path: "/ctc/invitation", element: /* @__PURE__ */ e(ya, {}) },
|
|
739
|
+
{ path: "/onboarding", element: /* @__PURE__ */ e(ga, {}) },
|
|
737
740
|
// ─── 智能中心 (/ai/*) ───
|
|
738
741
|
{ path: "/ai", element: /* @__PURE__ */ e(c, { to: "/ai/agent/app", replace: !0 }) },
|
|
739
742
|
{ path: "/ai/agent", element: /* @__PURE__ */ e(c, { to: "/ai/agent/app", replace: !0 }) },
|
|
740
|
-
{ path: "/ai/agent/app", element: /* @__PURE__ */ e(
|
|
741
|
-
{ path: "/ai/llm", element: /* @__PURE__ */ e(
|
|
743
|
+
{ path: "/ai/agent/app", element: /* @__PURE__ */ e(sa, {}) },
|
|
744
|
+
{ path: "/ai/llm", element: /* @__PURE__ */ e(pa, {}) },
|
|
742
745
|
{ path: "/ai/llm/provider", element: /* @__PURE__ */ e(c, { to: "/ai/llm", replace: !0 }) },
|
|
743
746
|
{ path: "/ai/llm/model", element: /* @__PURE__ */ e(c, { to: "/ai/llm", replace: !0 }) },
|
|
744
747
|
{ path: "/ai/usage", element: /* @__PURE__ */ e(c, { to: "/ai/llm", replace: !0 }) },
|
|
745
|
-
{ path: "/ai/ak", element: /* @__PURE__ */ e(
|
|
746
|
-
{ path: "/ai/mcp", element: /* @__PURE__ */ e(
|
|
747
|
-
{ path: "/ai/skill", element: /* @__PURE__ */ e(
|
|
748
|
+
{ path: "/ai/ak", element: /* @__PURE__ */ e(ia, {}) },
|
|
749
|
+
{ path: "/ai/mcp", element: /* @__PURE__ */ e(ma, {}) },
|
|
750
|
+
{ path: "/ai/skill", element: /* @__PURE__ */ e(ha, {}) },
|
|
748
751
|
{ path: "/ai/oss", element: /* @__PURE__ */ e(c, { to: "/ai/oss/bucket", replace: !0 }) },
|
|
749
|
-
{ path: "/ai/oss/bucket", element: /* @__PURE__ */ e(
|
|
750
|
-
{ path: "/ai/oss/bucket/:bucketName", element: /* @__PURE__ */ e(
|
|
751
|
-
{ path: "/ai/trace", element: /* @__PURE__ */ e(
|
|
752
|
-
{ path: "/ai/trace/debug", element: /* @__PURE__ */ e(
|
|
752
|
+
{ path: "/ai/oss/bucket", element: /* @__PURE__ */ e(ra, {}) },
|
|
753
|
+
{ path: "/ai/oss/bucket/:bucketName", element: /* @__PURE__ */ e(ua, {}) },
|
|
754
|
+
{ path: "/ai/trace", element: /* @__PURE__ */ e(de, {}) },
|
|
755
|
+
{ path: "/ai/trace/debug", element: /* @__PURE__ */ e(de, {}) },
|
|
753
756
|
{ path: "/ai/dashboard", element: /* @__PURE__ */ e(la, {}) },
|
|
754
757
|
// 多 Agent 实例 / 模板市场已下线 (2026-10-22): 模板并入 Agent 应用页,
|
|
755
758
|
// 旧深链重定向, 别再回到独立菜单
|
|
@@ -757,38 +760,38 @@ const ln = [
|
|
|
757
760
|
{ path: "/ai/agent-instance", element: /* @__PURE__ */ e(c, { to: "/ai/agent/app", replace: !0 }) },
|
|
758
761
|
{ path: "/ai/agent/instances", element: /* @__PURE__ */ e(c, { to: "/ai/agent/app", replace: !0 }) },
|
|
759
762
|
// ─── 配置中心 ───
|
|
760
|
-
{ path: "/config/*", element: /* @__PURE__ */ e(
|
|
763
|
+
{ path: "/config/*", element: /* @__PURE__ */ e(_a, {}) },
|
|
761
764
|
// ─── 任务中心 ───
|
|
762
765
|
// 模块根路径要重定向到默认页:通配 /task/* 匹配不到裸 /task(matchPattern 要求
|
|
763
766
|
// 前缀带斜杠),落到 SystemShellEmpty 就是一句"请从左侧菜单选择模块"的空壳。
|
|
764
767
|
{ path: "/task", element: /* @__PURE__ */ e(c, { to: "/task/dashboard", replace: !0 }) },
|
|
765
|
-
{ path: "/task/*", element: /* @__PURE__ */ e(
|
|
768
|
+
{ path: "/task/*", element: /* @__PURE__ */ e(fa, {}) },
|
|
766
769
|
// ─── 流程中心 ───
|
|
767
770
|
{ path: "/workflow", element: /* @__PURE__ */ e(c, { to: "/workflow/dashboard", replace: !0 }) },
|
|
768
|
-
{ path: "/workflow/*", element: /* @__PURE__ */ e(
|
|
771
|
+
{ path: "/workflow/*", element: /* @__PURE__ */ e(Sa, {}) },
|
|
769
772
|
// ─── 调度中心 ───
|
|
770
773
|
// 默认页是 jobs:z-schedule-component 的路由只有 jobs / group / log,没有 dashboard。
|
|
771
774
|
{ path: "/schedule", element: /* @__PURE__ */ e(c, { to: "/schedule/jobs", replace: !0 }) },
|
|
772
|
-
{ path: "/schedule/*", element: /* @__PURE__ */ e(
|
|
775
|
+
{ path: "/schedule/*", element: /* @__PURE__ */ e(Aa, {}) },
|
|
773
776
|
// ─── 密钥中心 ───
|
|
774
|
-
{ path: "/mist/*", element: /* @__PURE__ */ e(
|
|
777
|
+
{ path: "/mist/*", element: /* @__PURE__ */ e(va, {}) },
|
|
775
778
|
// ─── 中间件(大需求 004)— 2026-11-11 中间件面整并入系统面「基础服务」分组,
|
|
776
779
|
// 系统面成为这批前缀的唯一宿主(原 MiddlewareWorkbench 已删)。菜单在 SystemWorkbench
|
|
777
780
|
// 「基础服务」分组,数据真源 MiddlewareWorkbench/menuData.tsx;前缀口径与
|
|
778
781
|
// businessFace.ts(这些前缀现归系统面)一一对齐。
|
|
779
782
|
{ path: "/meta", element: /* @__PURE__ */ e(c, { to: "/meta/app", replace: !0 }) },
|
|
780
|
-
{ path: "/meta/*", element: /* @__PURE__ */ e(
|
|
783
|
+
{ path: "/meta/*", element: /* @__PURE__ */ e(Pa, {}) },
|
|
781
784
|
{ path: "/msg", element: /* @__PURE__ */ e(c, { to: "/msg/inbox", replace: !0 }) },
|
|
782
|
-
{ path: "/msg/*", element: /* @__PURE__ */ e(
|
|
785
|
+
{ path: "/msg/*", element: /* @__PURE__ */ e(Oa, {}) },
|
|
783
786
|
{ path: "/rpc", element: /* @__PURE__ */ e(c, { to: "/rpc/service", replace: !0 }) },
|
|
784
|
-
{ path: "/rpc/*", element: /* @__PURE__ */ e(
|
|
787
|
+
{ path: "/rpc/*", element: /* @__PURE__ */ e(Ia, {}) },
|
|
785
788
|
// 向量检索:REST 面是内嵌 QdrantRestServer(非 Spring MVC),经 z-opc 的 /api/vector/** 代理出去
|
|
786
789
|
{ path: "/vector", element: /* @__PURE__ */ e(c, { to: "/vector/collections", replace: !0 }) },
|
|
787
|
-
{ path: "/vector/*", element: /* @__PURE__ */ e(
|
|
790
|
+
{ path: "/vector/*", element: /* @__PURE__ */ e(Ga, {}) },
|
|
788
791
|
// 图数据库:REST 面是内嵌 GraphControlServer,经 z-opc 的 /api/graph/** 代理出去
|
|
789
792
|
// ⚠ 内嵌端口是 8091 不是 8090:8090 归一个外部进程,且被 BizKnowledgeGraphService 当业务依赖在用
|
|
790
793
|
{ path: "/graph", element: /* @__PURE__ */ e(c, { to: "/graph/schema", replace: !0 }) },
|
|
791
|
-
{ path: "/graph/*", element: /* @__PURE__ */ e(
|
|
794
|
+
{ path: "/graph/*", element: /* @__PURE__ */ e(nn, {}) },
|
|
792
795
|
// 网关:admin 面是 z-gw-admin 的原生 Spring MVC;页面一律走 z-opc 自己的环回代理 GET /api/gw/**
|
|
793
796
|
{ path: "/gw", element: /* @__PURE__ */ e(c, { to: "/gw/routes", replace: !0 }) },
|
|
794
797
|
{ path: "/gw/*", element: /* @__PURE__ */ e(wa, {}) },
|
|
@@ -797,16 +800,16 @@ const ln = [
|
|
|
797
800
|
{ path: "/cache/*", element: /* @__PURE__ */ e(Da, {}) },
|
|
798
801
|
// 消息队列::9877/:10912 是 z-mq-remoting 的 Netty 私有二进制协议,/api/mq/** 是协议适配器
|
|
799
802
|
{ path: "/mq", element: /* @__PURE__ */ e(c, { to: "/mq/instance", replace: !0 }) },
|
|
800
|
-
{ path: "/mq/*", element: /* @__PURE__ */ e(
|
|
803
|
+
{ path: "/mq/*", element: /* @__PURE__ */ e(Ca, {}) },
|
|
801
804
|
// 知识库(z-kb):主机侧确定性装配,接口真通(2026-09-25 实测)
|
|
802
805
|
{ path: "/kb", element: /* @__PURE__ */ e(c, { to: "/kb/workspaces", replace: !0 }) },
|
|
803
|
-
{ path: "/kb/*", element: /* @__PURE__ */ e(
|
|
806
|
+
{ path: "/kb/*", element: /* @__PURE__ */ e(Ba, {}) },
|
|
804
807
|
// 对象存储(z-oss):走 z-opc 侧 /api/oss-admin/**,不再需要 AK/SK 下发
|
|
805
808
|
{ path: "/oss", element: /* @__PURE__ */ e(c, { to: "/oss/buckets", replace: !0 }) },
|
|
806
|
-
{ path: "/oss/*", element: /* @__PURE__ */ e(
|
|
809
|
+
{ path: "/oss/*", element: /* @__PURE__ */ e(Ma, {}) },
|
|
807
810
|
// ─── 订阅中心 ───
|
|
808
811
|
{ path: "/subscribe", element: /* @__PURE__ */ e(c, { to: "/subscribe/list", replace: !0 }) },
|
|
809
|
-
{ path: "/subscribe/*", element: /* @__PURE__ */ e(
|
|
812
|
+
{ path: "/subscribe/*", element: /* @__PURE__ */ e(za, {}) },
|
|
810
813
|
// ─── 产品工作台 z-product (2026-10-21 接入) ───
|
|
811
814
|
// /z-product/* 由 z-product 组件自己的 ProductApp 渲染(内部按 manifest 的绝对路径手工匹配,
|
|
812
815
|
// 不用嵌套 <Routes>:这里没有 Route 父上下文,绝对路径不会被再拼一次父前缀)。
|
|
@@ -815,16 +818,16 @@ const ln = [
|
|
|
815
818
|
// 产品域的默认落地页是工坊:它是「一个面板干完产品业务开发」的入口,
|
|
816
819
|
// 全景/蓝图是看板,不是第一动作。
|
|
817
820
|
{ path: "/z-product", element: /* @__PURE__ */ e(c, { to: "/z-product/atelier", replace: !0 }) },
|
|
818
|
-
{ path: "/z-product/*", element: /* @__PURE__ */ e(
|
|
821
|
+
{ path: "/z-product/*", element: /* @__PURE__ */ e(Ye, { basePath: "/z-product" }) },
|
|
819
822
|
// 旧前缀 /product/* → 新前缀 /z-product/*:§14 前缀化之前的老 URL 仍可达(书签 / 旧分享链接)。
|
|
820
823
|
{ path: "/product", element: /* @__PURE__ */ e(c, { to: "/z-product/atelier", replace: !0 }) },
|
|
821
|
-
{ path: "/product/*", element: /* @__PURE__ */ e(
|
|
824
|
+
{ path: "/product/*", element: /* @__PURE__ */ e(sn, {}) },
|
|
822
825
|
// ─── 项目中心 ───
|
|
823
826
|
{ path: "/project", element: /* @__PURE__ */ e(c, { to: "/project/list", replace: !0 }) },
|
|
824
|
-
{ path: "/project/*", element: /* @__PURE__ */ e(
|
|
827
|
+
{ path: "/project/*", element: /* @__PURE__ */ e(La, {}) },
|
|
825
828
|
// ─── 脚本中心 (/script/*) — FEATURE052 ───
|
|
826
829
|
{ path: "/script", element: /* @__PURE__ */ e(c, { to: "/script/manage", replace: !0 }) },
|
|
827
|
-
{ path: "/script/manage", element: /* @__PURE__ */ e(
|
|
830
|
+
{ path: "/script/manage", element: /* @__PURE__ */ e(da, {}) },
|
|
828
831
|
{ path: "/script/productization", element: /* @__PURE__ */ e(P, {}) },
|
|
829
832
|
// 脚本治理五条(2026-11-11 随中间件面并入):组件自带 5 个 Tab,
|
|
830
833
|
// 按「一个能力一条菜单」把 Tab 键透传成 initialTab,精确路径匹配先于 /script 通配。
|
|
@@ -835,16 +838,16 @@ const ln = [
|
|
|
835
838
|
{ path: "/script/tag", element: /* @__PURE__ */ e(P, { initialTab: "tag" }) },
|
|
836
839
|
// ─── 工具中心 (/z-tool/*) — FEATURE054 ───
|
|
837
840
|
{ path: "/z-tool", element: /* @__PURE__ */ e(c, { to: "/z-tool/curl", replace: !0 }) },
|
|
838
|
-
{ path: "/z-tool/curl", element: /* @__PURE__ */ e(
|
|
839
|
-
{ path: "/z-tool/webide", element: /* @__PURE__ */ e(
|
|
841
|
+
{ path: "/z-tool/curl", element: /* @__PURE__ */ e(ue, {}) },
|
|
842
|
+
{ path: "/z-tool/webide", element: /* @__PURE__ */ e(he, {}) },
|
|
840
843
|
// ─── 测试中心 (/test/*) — FEATURE061 ───
|
|
841
844
|
{ path: "/test", element: /* @__PURE__ */ e(c, { to: "/test/qa/dashboard", replace: !0 }) },
|
|
842
|
-
{ path: "/test/mock", element: /* @__PURE__ */ e(
|
|
845
|
+
{ path: "/test/mock", element: /* @__PURE__ */ e(on, {}) },
|
|
843
846
|
// QAApp 按 pathname 手动分发子页(非嵌套 <Routes>),挂载前缀推断依赖
|
|
844
847
|
// 路径里有 /qa 段。?mode=test 合成挂载时真实 pathname 是 /workspace(无 qa 段)
|
|
845
848
|
// ⇒ 显式传 mountPath, 否则被库 default 分支 <Navigate> 到 /dashboard(2026-11-11 实测)。
|
|
846
|
-
{ path: "/test/qa", element: /* @__PURE__ */ e(
|
|
847
|
-
{ path: "/test/qa/*", element: /* @__PURE__ */ e(
|
|
849
|
+
{ path: "/test/qa", element: /* @__PURE__ */ e(be, { mountPath: "/test/qa" }) },
|
|
850
|
+
{ path: "/test/qa/*", element: /* @__PURE__ */ e(be, { mountPath: "/test/qa" }) },
|
|
848
851
|
// ─── 低代码 ───
|
|
849
852
|
// /lc/* 刻意不在这里注册。它早就迁到 src/lc/(TS 重写), 挂载点是
|
|
850
853
|
// main.jsx 的 <Route path="/lc/*" element={<ZTeamApp forcedMode="dev"/>}/>,
|
|
@@ -876,48 +879,48 @@ const ln = [
|
|
|
876
879
|
// §14 铁律(菜单 key 必须带产品名前缀)针对的是**同一宿主内多套件共存**的撞车问题;
|
|
877
880
|
// 这里每个域的宿主前缀本身就已经是产品名(/config / /task / /workflow …),
|
|
878
881
|
// 且各域之间前缀互不相同 ⇒ 不存在撞车,不需要再加 z- 前缀。
|
|
879
|
-
{ path: "/config/docs", element: /* @__PURE__ */ e(
|
|
882
|
+
{ path: "/config/docs", element: /* @__PURE__ */ e(Ea, {}) },
|
|
880
883
|
{ path: "/task/docs", element: /* @__PURE__ */ e(Ta, {}) },
|
|
881
|
-
{ path: "/workflow/docs", element: /* @__PURE__ */ e(
|
|
882
|
-
{ path: "/schedule/docs", element: /* @__PURE__ */ e(
|
|
883
|
-
{ path: "/mist/docs", element: /* @__PURE__ */ e(
|
|
884
|
-
{ path: "/meta/docs", element: /* @__PURE__ */ e(
|
|
885
|
-
{ path: "/msg/docs", element: /* @__PURE__ */ e(
|
|
886
|
-
{ path: "/rpc/docs", element: /* @__PURE__ */ e(
|
|
887
|
-
{ path: "/kb/docs", element: /* @__PURE__ */ e(
|
|
888
|
-
{ path: "/z-product/docs", element: /* @__PURE__ */ e(
|
|
889
|
-
{ path: "/oss/docs", element: /* @__PURE__ */ e(
|
|
890
|
-
{ path: "/vector/docs", element: /* @__PURE__ */ e(
|
|
891
|
-
{ path: "/graph/docs", element: /* @__PURE__ */ e(
|
|
892
|
-
{ path: "/gw/docs", element: /* @__PURE__ */ e(
|
|
893
|
-
{ path: "/cache/docs", element: /* @__PURE__ */ e(
|
|
894
|
-
{ path: "/mq/docs", element: /* @__PURE__ */ e(
|
|
895
|
-
{ path: "/ctc/docs", element: /* @__PURE__ */ e(
|
|
896
|
-
{ path: "/ai/docs", element: /* @__PURE__ */ e(
|
|
897
|
-
{ path: "/lc/docs", element: /* @__PURE__ */ e(
|
|
898
|
-
{ path: "/test/qa/docs", element: /* @__PURE__ */ e(
|
|
899
|
-
],
|
|
884
|
+
{ path: "/workflow/docs", element: /* @__PURE__ */ e(qa, {}) },
|
|
885
|
+
{ path: "/schedule/docs", element: /* @__PURE__ */ e(Ha, {}) },
|
|
886
|
+
{ path: "/mist/docs", element: /* @__PURE__ */ e(Ra, {}) },
|
|
887
|
+
{ path: "/meta/docs", element: /* @__PURE__ */ e($a, {}) },
|
|
888
|
+
{ path: "/msg/docs", element: /* @__PURE__ */ e(xa, {}) },
|
|
889
|
+
{ path: "/rpc/docs", element: /* @__PURE__ */ e(Ua, {}) },
|
|
890
|
+
{ path: "/kb/docs", element: /* @__PURE__ */ e(Wa, {}) },
|
|
891
|
+
{ path: "/z-product/docs", element: /* @__PURE__ */ e(ja, {}) },
|
|
892
|
+
{ path: "/oss/docs", element: /* @__PURE__ */ e(Ka, {}) },
|
|
893
|
+
{ path: "/vector/docs", element: /* @__PURE__ */ e(Fa, {}) },
|
|
894
|
+
{ path: "/graph/docs", element: /* @__PURE__ */ e(Va, {}) },
|
|
895
|
+
{ path: "/gw/docs", element: /* @__PURE__ */ e(Ya, {}) },
|
|
896
|
+
{ path: "/cache/docs", element: /* @__PURE__ */ e(Qa, {}) },
|
|
897
|
+
{ path: "/mq/docs", element: /* @__PURE__ */ e(Za, {}) },
|
|
898
|
+
{ path: "/ctc/docs", element: /* @__PURE__ */ e(Ja, {}) },
|
|
899
|
+
{ path: "/ai/docs", element: /* @__PURE__ */ e(Xa, {}) },
|
|
900
|
+
{ path: "/lc/docs", element: /* @__PURE__ */ e(en, {}) },
|
|
901
|
+
{ path: "/test/qa/docs", element: /* @__PURE__ */ e(tn, {}) }
|
|
902
|
+
], rn = [
|
|
900
903
|
// 模块根重定向到默认页(admin 面的无参兜底同样是场景构建)
|
|
901
904
|
{ path: "/operation", element: /* @__PURE__ */ e(c, { to: "/operation/scenario", replace: !0 }) },
|
|
902
905
|
...Se().map((a) => ({
|
|
903
906
|
path: `/operation/${a.key}`,
|
|
904
|
-
element: /* @__PURE__ */ e(
|
|
907
|
+
element: /* @__PURE__ */ e(an, { menuKey: a.key })
|
|
905
908
|
}))
|
|
906
|
-
],
|
|
907
|
-
function
|
|
908
|
-
for (const
|
|
909
|
-
if (
|
|
910
|
-
for (const
|
|
911
|
-
if (
|
|
912
|
-
return /* @__PURE__ */ e(
|
|
909
|
+
], ke = [...ln, ...rn];
|
|
910
|
+
function pn(a) {
|
|
911
|
+
for (const l of ke)
|
|
912
|
+
if (l.path === a) return l.element;
|
|
913
|
+
for (const l of ke)
|
|
914
|
+
if (mn(l.path, a)) return l.element;
|
|
915
|
+
return /* @__PURE__ */ e(cn, {});
|
|
913
916
|
}
|
|
914
|
-
function
|
|
917
|
+
function mn(a, l) {
|
|
915
918
|
if (!a.includes("*") && !a.includes(":")) return !1;
|
|
916
919
|
const p = "^" + a.replace(/[.+?^${}()|[\]\\]/g, "\\$&").replace(/\*/g, ".*").replace(/:([a-zA-Z_][a-zA-Z0-9_]*)/g, "[^/]+") + "$";
|
|
917
|
-
return new RegExp(p).test(
|
|
920
|
+
return new RegExp(p).test(l);
|
|
918
921
|
}
|
|
919
|
-
function
|
|
920
|
-
const a =
|
|
922
|
+
function An() {
|
|
923
|
+
const a = ge(), { pathname: l, search: p } = Q(), b = l.startsWith("/test/") || (() => {
|
|
921
924
|
try {
|
|
922
925
|
return new URLSearchParams(p).get("mode") === "test";
|
|
923
926
|
} catch {
|
|
@@ -934,12 +937,12 @@ function Sn() {
|
|
|
934
937
|
if (!h) return;
|
|
935
938
|
const k = new URLSearchParams();
|
|
936
939
|
k.set("product", h.code), h.name && k.set("productName", h.name), a(`/workspace?mode=product&${k.toString()}`);
|
|
937
|
-
}, [h, a]), g = b && !
|
|
940
|
+
}, [h, a]), g = b && !l.startsWith("/test") ? "/test/qa/dashboard" : l, L = O(() => g, [g]), E = O(() => pn(g), [g]), {
|
|
938
941
|
width: y,
|
|
939
942
|
dragging: U,
|
|
940
|
-
onHandlePointerDown:
|
|
943
|
+
onHandlePointerDown: T,
|
|
941
944
|
resetWidth: G
|
|
942
|
-
} =
|
|
945
|
+
} = Ve("zteam.sidebar.system", 220, 200, 480);
|
|
943
946
|
return /* @__PURE__ */ r("div", { className: d.shellWrap, children: [
|
|
944
947
|
h && /* @__PURE__ */ r("div", { className: d.productBanner, children: [
|
|
945
948
|
/* @__PURE__ */ e("span", { className: d.productBannerLabel, children: "📦 当前产品" }),
|
|
@@ -949,7 +952,7 @@ function Sn() {
|
|
|
949
952
|
] }),
|
|
950
953
|
/* @__PURE__ */ r("div", { className: d.shell, children: [
|
|
951
954
|
/* @__PURE__ */ e(
|
|
952
|
-
|
|
955
|
+
Et,
|
|
953
956
|
{
|
|
954
957
|
activePathOverride: L,
|
|
955
958
|
menuOnly: !0,
|
|
@@ -961,18 +964,18 @@ function Sn() {
|
|
|
961
964
|
"div",
|
|
962
965
|
{
|
|
963
966
|
className: `${d.dragBar} ${U ? d.dragBarActive : ""}`,
|
|
964
|
-
onPointerDown:
|
|
967
|
+
onPointerDown: T,
|
|
965
968
|
onDoubleClick: G,
|
|
966
969
|
title: "拖动调整菜单宽度,双击恢复默认"
|
|
967
970
|
}
|
|
968
971
|
),
|
|
969
972
|
/* @__PURE__ */ r("main", { className: d.main, children: [
|
|
970
|
-
/* @__PURE__ */ e(
|
|
971
|
-
/* @__PURE__ */ e(
|
|
973
|
+
/* @__PURE__ */ e(Qe, {}),
|
|
974
|
+
/* @__PURE__ */ e(Ze, { resetKey: l, children: /* @__PURE__ */ e(Ne, { fallback: /* @__PURE__ */ e("div", { className: d.empty, children: "加载中…" }), children: E }) })
|
|
972
975
|
] })
|
|
973
976
|
] })
|
|
974
977
|
] });
|
|
975
978
|
}
|
|
976
979
|
export {
|
|
977
|
-
|
|
980
|
+
An as default
|
|
978
981
|
};
|