@yuku123/z-team-component 0.2.29 → 0.2.30
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/{ChangeLogView-CG-o5YP1.js → ChangeLogView-FLd1wS8H.js} +1 -1
- package/dist/DebugPlayground-cxffrMgF.js +15 -0
- package/dist/{InvitationManagementPage-ByJuWwA_.js → InvitationManagementPage-CttWZdu8.js} +90 -85
- package/dist/{OnboardingPage-D58h1JK_.js → OnboardingPage-CAI-P20Q.js} +2 -2
- package/dist/{ProjectApp-oUbzb0Io.js → ProjectApp-ZR_QUlPs.js} +1486 -1465
- package/dist/SmartWorkbench.module-DzQskKT0.js +85 -0
- package/dist/{SystemShell-D4mGsT0X.js → SystemShell-BKNdXqXt.js} +151 -153
- package/dist/{admin-logs-C2V1ElH9.js → admin-logs-Dv86pFvY.js} +2 -2
- package/dist/{api--Fg0hL9Y.js → api-19TXED_O.js} +52 -39
- package/dist/api-BNwdLozd.js +20 -0
- package/dist/{createWorkspaceWsHandler-CqGqcTh_.js → createWorkspaceWsHandler-CBk4DqP4.js} +6 -5
- package/dist/{index-CDKg_qI5.js → index-B5_xKK08.js} +1140 -1153
- package/dist/{index-D5u3BjCZ.js → index-BIJnjJd5.js} +2 -2
- package/dist/index-BKwpQ-HW.js +1329 -0
- package/dist/{index-bbwTcNjB.js → index-BTLD5gUt.js} +3 -3
- package/dist/{index-Dky6GVc1.js → index-BTaLAs80.js} +9 -9
- package/dist/{index-CiMxCTOS.js → index-B_EBV24V.js} +1 -1
- package/dist/{index-BafC42Cl.js → index-Bd57t_yF.js} +1 -1
- package/dist/{index-C2aPiQSz.js → index-BjqYiZpC.js} +3 -3
- package/dist/{index-BaCiSbPR.js → index-BoGVJ0hC.js} +1 -1
- package/dist/{index-C01UUprh.js → index-BpuJ9Njb.js} +7016 -6946
- package/dist/{index-CcFJEYgr.js → index-C815hPWS.js} +55 -52
- package/dist/{index-D2S8FrNc.js → index-C8GK1bOQ.js} +358 -347
- package/dist/{index-DvIHX7lZ.js → index-CcpWacSZ.js} +243 -236
- package/dist/{index-Da7ls5q6.js → index-DOPkM2W8.js} +6 -6
- package/dist/index-DQNZE7Go.js +169 -0
- package/dist/{index-DOVOWiGU.js → index-DR_FCf71.js} +1134 -1132
- package/dist/{index-CTD7k9dP.js → index-DYgD6BuB.js} +4 -4
- package/dist/{index-BwFEDHy3.js → index-DdN9Apqq.js} +5 -5
- package/dist/{index-CRac8IT2.js → index-DuGWlMWm.js} +3 -3
- package/dist/{index-Da3doGtf.js → index-JMzBzwiO.js} +57 -54
- package/dist/{index-Dao4uqQd.js → index-x4-W5ClM.js} +4 -4
- package/dist/index.js +1 -1
- package/dist/{instance-1QEDBRqA.js → instance-D951fRuD.js} +1 -1
- package/dist/pages.js +1 -1
- package/dist/{schedule-C89oiqIR.js → schedule-DD50-7cs.js} +1 -1
- package/dist/{send-default-agent-team-message-CxkWi3XC.js → send-default-agent-team-message-Bbs2rMNf.js} +1 -1
- package/dist/{sso-user-BE1Ell5F.js → sso-user-BEY5ICaR.js} +1 -1
- package/dist/{training-o-vSBkqP.js → training-B-9tNFQw.js} +1 -1
- package/dist/{useAppStore-wgWaxcyc.js → useAppStore-BQN-26ns.js} +1 -1
- package/dist/{webide-BxD6cYe-.js → webide-P867RFZi.js} +4 -4
- package/dist/z-team-component.css +1 -1
- package/package.json +2 -2
- package/dist/SmartWorkbench.module-xRRmpTTw.js +0 -85
- package/dist/api-3-Ykp2ll.js +0 -19
- package/dist/index-B8mNsH88.js +0 -1411
- package/dist/index-DYDba1NC.js +0 -187
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { useNavigate as
|
|
3
|
-
import { useMemo as S, useState as P, Suspense as
|
|
4
|
-
import { DownOutlined as L, RightOutlined as z, AppstoreOutlined as
|
|
5
|
-
import { ProductApp as
|
|
6
|
-
const
|
|
7
|
-
container:
|
|
2
|
+
import { useNavigate as U, useLocation as G, Navigate as o } from "react-router-dom";
|
|
3
|
+
import { useMemo as S, useState as P, Suspense as ee, lazy as u } from "react";
|
|
4
|
+
import { DownOutlined as L, RightOutlined as z, AppstoreOutlined as W, UserOutlined as te, SafetyCertificateOutlined as T, CloudOutlined as f, DeploymentUnitOutlined as C, AuditOutlined as x, CodeOutlined as v, FolderOpenOutlined as ae, DesktopOutlined as F, DashboardOutlined as y, ProfileOutlined as D, BookOutlined as ne, ApartmentOutlined as ce, FileImageOutlined as le, FileTextOutlined as A, CalendarOutlined as b, ApiOutlined as oe, ProjectOutlined as K, ClusterOutlined as se, DatabaseOutlined as ie, TeamOutlined as re, BarChartOutlined as H } from "@ant-design/icons";
|
|
5
|
+
import { ProductApp as pe } from "@yuku123/z-product-component";
|
|
6
|
+
const me = "_container_wbul9_7", ue = "_sidebar_wbul9_17", de = "_menuList_wbul9_37", he = "_menuGroup_wbul9_44", be = "_menuGroupHeader_wbul9_48", _e = "_menuGroupIcon_wbul9_66", ge = "_menuGroupLabel_wbul9_75", ke = "_menuGroupArrow_wbul9_80", ye = "_menuSubList_wbul9_87", Se = "_menuSubItem_wbul9_93", Ae = "_menuSubItemActive_wbul9_110", ve = "_menuSubItemIcon_wbul9_117", we = "_menuSubGroup_wbul9_132", fe = "_menuSubGroupHeader_wbul9_136", Ie = "_menuSubGroupHeaderActive_wbul9_154", Ge = "_menuSubGroupLabel_wbul9_158", Me = "_main_wbul9_169", Ne = "_detailPanel_wbul9_179", Oe = "_detailHeader_wbul9_189", Pe = "_detailIcon_wbul9_196", Le = "_detailTitle_wbul9_209", ze = "_detailDesc_wbul9_216", Te = "_detailAction_wbul9_223", Ce = "_goBtn_wbul9_228", xe = "_emptyState_wbul9_248", n = {
|
|
7
|
+
container: me,
|
|
8
8
|
sidebar: ue,
|
|
9
|
-
menuList:
|
|
10
|
-
menuGroup:
|
|
11
|
-
menuGroupHeader:
|
|
12
|
-
menuGroupIcon:
|
|
13
|
-
menuGroupLabel:
|
|
14
|
-
menuGroupArrow:
|
|
15
|
-
menuSubList:
|
|
16
|
-
menuSubItem:
|
|
17
|
-
menuSubItemActive:
|
|
18
|
-
menuSubItemIcon:
|
|
19
|
-
menuSubGroup:
|
|
20
|
-
menuSubGroupHeader:
|
|
21
|
-
menuSubGroupHeaderActive:
|
|
22
|
-
menuSubGroupLabel:
|
|
23
|
-
main:
|
|
24
|
-
detailPanel:
|
|
25
|
-
detailHeader:
|
|
26
|
-
detailIcon:
|
|
27
|
-
detailTitle:
|
|
28
|
-
detailDesc:
|
|
29
|
-
detailAction:
|
|
9
|
+
menuList: de,
|
|
10
|
+
menuGroup: he,
|
|
11
|
+
menuGroupHeader: be,
|
|
12
|
+
menuGroupIcon: _e,
|
|
13
|
+
menuGroupLabel: ge,
|
|
14
|
+
menuGroupArrow: ke,
|
|
15
|
+
menuSubList: ye,
|
|
16
|
+
menuSubItem: Se,
|
|
17
|
+
menuSubItemActive: Ae,
|
|
18
|
+
menuSubItemIcon: ve,
|
|
19
|
+
menuSubGroup: we,
|
|
20
|
+
menuSubGroupHeader: fe,
|
|
21
|
+
menuSubGroupHeaderActive: Ie,
|
|
22
|
+
menuSubGroupLabel: Ge,
|
|
23
|
+
main: Me,
|
|
24
|
+
detailPanel: Ne,
|
|
25
|
+
detailHeader: Oe,
|
|
26
|
+
detailIcon: Pe,
|
|
27
|
+
detailTitle: Le,
|
|
28
|
+
detailDesc: ze,
|
|
29
|
+
detailAction: Te,
|
|
30
30
|
goBtn: Ce,
|
|
31
|
-
emptyState:
|
|
31
|
+
emptyState: xe
|
|
32
32
|
};
|
|
33
33
|
function I(l) {
|
|
34
34
|
return l.flatMap((s) => [s, ...I(s.children ?? [])]);
|
|
35
35
|
}
|
|
36
|
-
const
|
|
36
|
+
const De = {
|
|
37
37
|
title: "测试中心",
|
|
38
38
|
icon: /* @__PURE__ */ e(y, {}),
|
|
39
39
|
items: [
|
|
@@ -59,14 +59,14 @@ const xe = {
|
|
|
59
59
|
{
|
|
60
60
|
key: "test-suite",
|
|
61
61
|
label: "测试套件",
|
|
62
|
-
icon: /* @__PURE__ */ e(
|
|
62
|
+
icon: /* @__PURE__ */ e(se, {}),
|
|
63
63
|
path: "/test/qa/suites",
|
|
64
64
|
desc: "步骤编排与变量传递"
|
|
65
65
|
},
|
|
66
66
|
{
|
|
67
67
|
key: "test-plan",
|
|
68
68
|
label: "测试计划",
|
|
69
|
-
icon: /* @__PURE__ */ e(
|
|
69
|
+
icon: /* @__PURE__ */ e(K, {}),
|
|
70
70
|
path: "/test/qa/plans",
|
|
71
71
|
desc: "套件组合与环境绑定"
|
|
72
72
|
}
|
|
@@ -94,7 +94,7 @@ const xe = {
|
|
|
94
94
|
{
|
|
95
95
|
key: "test-e2e",
|
|
96
96
|
label: "E2E 测试",
|
|
97
|
-
icon: /* @__PURE__ */ e(
|
|
97
|
+
icon: /* @__PURE__ */ e(F, {}),
|
|
98
98
|
path: "/test/qa/e2e",
|
|
99
99
|
desc: "浏览器自动化测试"
|
|
100
100
|
}
|
|
@@ -115,7 +115,7 @@ const xe = {
|
|
|
115
115
|
{
|
|
116
116
|
key: "test-mock",
|
|
117
117
|
label: "Mock 平台",
|
|
118
|
-
icon: /* @__PURE__ */ e(
|
|
118
|
+
icon: /* @__PURE__ */ e(ie, {}),
|
|
119
119
|
path: "/test/mock",
|
|
120
120
|
desc: "API Mock 服务管理"
|
|
121
121
|
}
|
|
@@ -143,7 +143,7 @@ const xe = {
|
|
|
143
143
|
{
|
|
144
144
|
key: "test-eval-group",
|
|
145
145
|
label: "群聊评测",
|
|
146
|
-
icon: /* @__PURE__ */ e(
|
|
146
|
+
icon: /* @__PURE__ */ e(re, {}),
|
|
147
147
|
path: "/test/evaluation/group",
|
|
148
148
|
desc: "群聊场景评测"
|
|
149
149
|
},
|
|
@@ -157,29 +157,29 @@ const xe = {
|
|
|
157
157
|
]
|
|
158
158
|
}
|
|
159
159
|
]
|
|
160
|
-
},
|
|
160
|
+
}, Z = [
|
|
161
161
|
{
|
|
162
162
|
title: "认证与权限",
|
|
163
|
-
icon: /* @__PURE__ */ e(
|
|
163
|
+
icon: /* @__PURE__ */ e(T, {}),
|
|
164
164
|
items: [
|
|
165
165
|
{
|
|
166
166
|
key: "4a-account",
|
|
167
167
|
label: "账号管理",
|
|
168
|
-
icon: /* @__PURE__ */ e(
|
|
168
|
+
icon: /* @__PURE__ */ e(te, {}),
|
|
169
169
|
path: "/ctc/4a/account",
|
|
170
170
|
desc: "用户账号创建、编辑与状态管理"
|
|
171
171
|
},
|
|
172
172
|
{
|
|
173
173
|
key: "4a-role",
|
|
174
174
|
label: "角色管理",
|
|
175
|
-
icon: /* @__PURE__ */ e(
|
|
175
|
+
icon: /* @__PURE__ */ e(T, {}),
|
|
176
176
|
path: "/ctc/4a/role",
|
|
177
177
|
desc: "角色定义与权限分配"
|
|
178
178
|
},
|
|
179
179
|
{
|
|
180
180
|
key: "4a-app",
|
|
181
181
|
label: "应用管理",
|
|
182
|
-
icon: /* @__PURE__ */ e(
|
|
182
|
+
icon: /* @__PURE__ */ e(W, {}),
|
|
183
183
|
path: "/ctc/4a/application",
|
|
184
184
|
desc: "应用注册、资源与权限配置"
|
|
185
185
|
},
|
|
@@ -193,7 +193,7 @@ const xe = {
|
|
|
193
193
|
{
|
|
194
194
|
key: "4a-org",
|
|
195
195
|
label: "组织管理",
|
|
196
|
-
icon: /* @__PURE__ */ e(
|
|
196
|
+
icon: /* @__PURE__ */ e(C, {}),
|
|
197
197
|
path: "/ctc/4a/org",
|
|
198
198
|
desc: "组织架构与部门管理"
|
|
199
199
|
},
|
|
@@ -221,14 +221,14 @@ const xe = {
|
|
|
221
221
|
{
|
|
222
222
|
key: "tool-curl",
|
|
223
223
|
label: "短链管理",
|
|
224
|
-
icon: /* @__PURE__ */ e(
|
|
224
|
+
icon: /* @__PURE__ */ e(ae, {}),
|
|
225
225
|
path: "/z-tool/curl",
|
|
226
226
|
desc: "短链接创建与管理"
|
|
227
227
|
},
|
|
228
228
|
{
|
|
229
229
|
key: "tool-webide",
|
|
230
230
|
label: "WebIDE 容器",
|
|
231
|
-
icon: /* @__PURE__ */ e(
|
|
231
|
+
icon: /* @__PURE__ */ e(F, {}),
|
|
232
232
|
path: "/z-tool/webide",
|
|
233
233
|
desc: "在线 IDE 代码编辑器"
|
|
234
234
|
}
|
|
@@ -255,28 +255,28 @@ const xe = {
|
|
|
255
255
|
{
|
|
256
256
|
key: "product-glossary",
|
|
257
257
|
label: "统一语言",
|
|
258
|
-
icon: /* @__PURE__ */ e(
|
|
258
|
+
icon: /* @__PURE__ */ e(ne, {}),
|
|
259
259
|
path: "/z-product/glossary",
|
|
260
260
|
desc: "术语仲裁表:标准词/别名/适用范围/反例"
|
|
261
261
|
},
|
|
262
262
|
{
|
|
263
263
|
key: "product-concept",
|
|
264
264
|
label: "领域模型",
|
|
265
|
-
icon: /* @__PURE__ */ e(
|
|
265
|
+
icon: /* @__PURE__ */ e(ce, {}),
|
|
266
266
|
path: "/z-product/concept-model",
|
|
267
267
|
desc: "概念与关系画布(四种投影)"
|
|
268
268
|
},
|
|
269
269
|
{
|
|
270
270
|
key: "product-scenarios",
|
|
271
271
|
label: "用户链路",
|
|
272
|
-
icon: /* @__PURE__ */ e(
|
|
272
|
+
icon: /* @__PURE__ */ e(C, {}),
|
|
273
273
|
path: "/z-product/scenarios",
|
|
274
274
|
desc: "端到端场景:步骤引用领域概念"
|
|
275
275
|
},
|
|
276
276
|
{
|
|
277
277
|
key: "product-designs",
|
|
278
278
|
label: "设计稿 ⇄ 模型",
|
|
279
|
-
icon: /* @__PURE__ */ e(
|
|
279
|
+
icon: /* @__PURE__ */ e(le, {}),
|
|
280
280
|
path: "/z-product/designs",
|
|
281
281
|
desc: "设计与认知的双向收敛回路"
|
|
282
282
|
}
|
|
@@ -310,80 +310,80 @@ const xe = {
|
|
|
310
310
|
{
|
|
311
311
|
key: "subscribe",
|
|
312
312
|
label: "订阅中心",
|
|
313
|
-
icon: /* @__PURE__ */ e(
|
|
313
|
+
icon: /* @__PURE__ */ e(oe, {}),
|
|
314
314
|
path: "/subscribe/list",
|
|
315
315
|
desc: "第三方数据订阅与拉取"
|
|
316
316
|
},
|
|
317
317
|
{
|
|
318
318
|
key: "project",
|
|
319
319
|
label: "项目中心",
|
|
320
|
-
icon: /* @__PURE__ */ e(
|
|
320
|
+
icon: /* @__PURE__ */ e(K, {}),
|
|
321
321
|
path: "/project/list",
|
|
322
322
|
desc: "项目创建与进度管理"
|
|
323
323
|
}
|
|
324
324
|
]
|
|
325
325
|
}
|
|
326
|
-
], w = [...
|
|
327
|
-
function
|
|
326
|
+
], w = [...Z, De];
|
|
327
|
+
function He({
|
|
328
328
|
activePathOverride: l,
|
|
329
329
|
menuOnly: s = !1,
|
|
330
330
|
visibleGroups: r
|
|
331
331
|
} = {}) {
|
|
332
|
-
const _ =
|
|
333
|
-
() => r ? w.filter((
|
|
332
|
+
const _ = U(), { pathname: M } = G(), g = S(
|
|
333
|
+
() => r ? w.filter((a) => r.includes(a.title)) : Z,
|
|
334
334
|
[r]
|
|
335
|
-
), [
|
|
336
|
-
new Set(w.map((
|
|
337
|
-
), [N,
|
|
335
|
+
), [Q, Y] = P(
|
|
336
|
+
new Set(w.map((a) => a.title))
|
|
337
|
+
), [N, J] = P(
|
|
338
338
|
() => new Set(
|
|
339
|
-
w.flatMap((
|
|
339
|
+
w.flatMap((a) => a.items).filter((a) => a.children).map((a) => a.key)
|
|
340
340
|
)
|
|
341
341
|
), k = S(() => {
|
|
342
342
|
var p;
|
|
343
|
-
const
|
|
343
|
+
const a = l ?? M;
|
|
344
344
|
return ((p = g.flatMap((c) => I(c.items)).find(
|
|
345
|
-
(c) => c.path ===
|
|
345
|
+
(c) => c.path === a
|
|
346
346
|
)) == null ? void 0 : p.key) ?? null;
|
|
347
|
-
}, [l, M, g]),
|
|
348
|
-
|
|
347
|
+
}, [l, M, g]), V = (a) => {
|
|
348
|
+
Y((p) => {
|
|
349
349
|
const c = new Set(p);
|
|
350
|
-
return c.has(
|
|
350
|
+
return c.has(a) ? c.delete(a) : c.add(a), c;
|
|
351
351
|
});
|
|
352
|
-
},
|
|
353
|
-
|
|
352
|
+
}, X = (a) => {
|
|
353
|
+
J((p) => {
|
|
354
354
|
const c = new Set(p);
|
|
355
|
-
return c.has(
|
|
355
|
+
return c.has(a) ? c.delete(a) : c.add(a), c;
|
|
356
356
|
});
|
|
357
|
-
}, O = (
|
|
358
|
-
|
|
359
|
-
}, d = g.flatMap((
|
|
360
|
-
(
|
|
357
|
+
}, O = (a) => {
|
|
358
|
+
a.path && _(a.path);
|
|
359
|
+
}, d = g.flatMap((a) => I(a.items)).find(
|
|
360
|
+
(a) => a.key === k
|
|
361
361
|
);
|
|
362
362
|
return /* @__PURE__ */ i("div", { className: n.container, children: [
|
|
363
|
-
/* @__PURE__ */ e("aside", { className: n.sidebar, children: /* @__PURE__ */ e("nav", { className: n.menuList, children: g.map((
|
|
364
|
-
const p =
|
|
363
|
+
/* @__PURE__ */ e("aside", { className: n.sidebar, children: /* @__PURE__ */ e("nav", { className: n.menuList, children: g.map((a) => {
|
|
364
|
+
const p = Q.has(a.title);
|
|
365
365
|
return /* @__PURE__ */ i("div", { className: n.menuGroup, children: [
|
|
366
366
|
/* @__PURE__ */ i(
|
|
367
367
|
"div",
|
|
368
368
|
{
|
|
369
369
|
className: n.menuGroupHeader,
|
|
370
|
-
onClick: () =>
|
|
370
|
+
onClick: () => V(a.title),
|
|
371
371
|
children: [
|
|
372
|
-
/* @__PURE__ */ e("span", { className: n.menuGroupIcon, children:
|
|
373
|
-
/* @__PURE__ */ e("span", { className: n.menuGroupLabel, children:
|
|
372
|
+
/* @__PURE__ */ e("span", { className: n.menuGroupIcon, children: a.icon }),
|
|
373
|
+
/* @__PURE__ */ e("span", { className: n.menuGroupLabel, children: a.title }),
|
|
374
374
|
/* @__PURE__ */ e("span", { className: n.menuGroupArrow, children: p ? /* @__PURE__ */ e(L, {}) : /* @__PURE__ */ e(z, {}) })
|
|
375
375
|
]
|
|
376
376
|
}
|
|
377
377
|
),
|
|
378
|
-
p && /* @__PURE__ */ e("ul", { className: n.menuSubList, children:
|
|
378
|
+
p && /* @__PURE__ */ e("ul", { className: n.menuSubList, children: a.items.map(
|
|
379
379
|
(c) => c.children ? (
|
|
380
380
|
/* 子菜单分组头 — 可折叠; active 项落在其中时高亮 */
|
|
381
381
|
/* @__PURE__ */ i("li", { className: n.menuSubGroup, children: [
|
|
382
382
|
/* @__PURE__ */ i(
|
|
383
383
|
"div",
|
|
384
384
|
{
|
|
385
|
-
className: `${n.menuSubGroupHeader} ${c.children.some((
|
|
386
|
-
onClick: () =>
|
|
385
|
+
className: `${n.menuSubGroupHeader} ${c.children.some((m) => m.key === k) ? n.menuSubGroupHeaderActive : ""}`,
|
|
386
|
+
onClick: () => X(c.key),
|
|
387
387
|
children: [
|
|
388
388
|
/* @__PURE__ */ e("span", { className: n.menuGroupIcon, children: c.icon }),
|
|
389
389
|
/* @__PURE__ */ e("span", { className: n.menuSubGroupLabel, children: c.label }),
|
|
@@ -391,23 +391,23 @@ function De({
|
|
|
391
391
|
]
|
|
392
392
|
}
|
|
393
393
|
),
|
|
394
|
-
N.has(c.key) && /* @__PURE__ */ e("ul", { className: n.menuSubList, children: c.children.map((
|
|
394
|
+
N.has(c.key) && /* @__PURE__ */ e("ul", { className: n.menuSubList, children: c.children.map((m) => /* @__PURE__ */ i(
|
|
395
395
|
"li",
|
|
396
396
|
{
|
|
397
|
-
className: `${n.menuSubItem} ${k ===
|
|
398
|
-
onClick: () => O(
|
|
397
|
+
className: `${n.menuSubItem} ${k === m.key ? n.menuSubItemActive : ""}`,
|
|
398
|
+
onClick: () => O(m),
|
|
399
399
|
children: [
|
|
400
400
|
/* @__PURE__ */ e(
|
|
401
401
|
"span",
|
|
402
402
|
{
|
|
403
403
|
className: n.menuSubItemIcon,
|
|
404
|
-
children:
|
|
404
|
+
children: m.icon
|
|
405
405
|
}
|
|
406
406
|
),
|
|
407
|
-
/* @__PURE__ */ e("span", { children:
|
|
407
|
+
/* @__PURE__ */ e("span", { children: m.label })
|
|
408
408
|
]
|
|
409
409
|
},
|
|
410
|
-
|
|
410
|
+
m.key
|
|
411
411
|
)) })
|
|
412
412
|
] }, c.key)
|
|
413
413
|
) : /* @__PURE__ */ i(
|
|
@@ -423,7 +423,7 @@ function De({
|
|
|
423
423
|
c.key
|
|
424
424
|
)
|
|
425
425
|
) })
|
|
426
|
-
] },
|
|
426
|
+
] }, a.title);
|
|
427
427
|
}) }) }),
|
|
428
428
|
s ? null : /* @__PURE__ */ e("main", { className: n.main, children: d ? /* @__PURE__ */ i("div", { className: n.detailPanel, children: [
|
|
429
429
|
/* @__PURE__ */ i("div", { className: n.detailHeader, children: [
|
|
@@ -445,114 +445,112 @@ function De({
|
|
|
445
445
|
}
|
|
446
446
|
) })
|
|
447
447
|
] }) : /* @__PURE__ */ i("div", { className: n.emptyState, children: [
|
|
448
|
-
/* @__PURE__ */ e(
|
|
448
|
+
/* @__PURE__ */ e(W, { style: { fontSize: 48, color: "#ccc" } }),
|
|
449
449
|
/* @__PURE__ */ e("p", { children: "点击左侧菜单进入对应功能模块" })
|
|
450
450
|
] }) })
|
|
451
451
|
] });
|
|
452
452
|
}
|
|
453
|
-
const
|
|
454
|
-
shell:
|
|
455
|
-
main:
|
|
456
|
-
empty:
|
|
457
|
-
emptyIcon:
|
|
458
|
-
emptyText:
|
|
459
|
-
},
|
|
460
|
-
function
|
|
453
|
+
const je = "_shell_10jrt_6", Ee = "_main_10jrt_21", qe = "_empty_10jrt_31", Re = "_emptyIcon_10jrt_41", $e = "_emptyText_10jrt_46", h = {
|
|
454
|
+
shell: je,
|
|
455
|
+
main: Ee,
|
|
456
|
+
empty: qe,
|
|
457
|
+
emptyIcon: Re,
|
|
458
|
+
emptyText: $e
|
|
459
|
+
}, t = (l, s) => u(() => l().then((r) => ({ default: r[s] }))), Be = t(() => import("@yuku123/z-ctc-component"), "AccountManagement"), Ue = t(() => import("@yuku123/z-ctc-component"), "ApplicationManagement"), We = t(() => import("@yuku123/z-ctc-component"), "AuditPage"), Fe = t(() => import("@yuku123/z-ctc-component"), "CtcOverview"), Ke = t(() => import("@yuku123/z-ctc-component"), "DictPage"), Ze = t(() => import("@yuku123/z-ctc-component"), "OrgPage"), Qe = t(() => import("@yuku123/z-ctc-component"), "PermissionManagement"), Ye = t(() => import("@yuku123/z-ctc-component"), "RoleManagement"), j = t(() => import("@yuku123/z-ctc-component"), "SurlManagement"), Je = t(() => import("@yuku123/z-ctc-component"), "TenantManagement"), Ve = t(() => import("@yuku123/z-agent-component"), "AgentAppList"), Xe = t(() => import("@yuku123/z-agent-component"), "AgentDashboard"), E = t(() => import("@yuku123/z-agent-component"), "AgentInstanceManager"), et = t(() => import("@yuku123/z-agent-component"), "AkManage"), tt = t(() => import("@yuku123/z-agent-component"), "BucketList"), at = t(() => import("@yuku123/z-agent-component"), "LlmManage"), nt = t(() => import("@yuku123/z-agent-component"), "McpPage"), ct = t(() => import("@yuku123/z-agent-component"), "ObjectBrowser"), lt = t(() => import("@yuku123/z-agent-component"), "ScriptCenterPage"), ot = t(() => import("@yuku123/z-agent-component"), "ScriptProductizationPage"), st = t(() => import("@yuku123/z-agent-component"), "SkillMarket"), it = t(() => import("@yuku123/z-agent-component"), "TemplateMarket"), rt = t(() => import("./index-DQNZE7Go.js"), "AgentTeamIM"), q = t(() => import("./index-DQNZE7Go.js"), "DebugPlayground"), pt = t(() => import("./index-DQNZE7Go.js"), "Overview"), R = t(() => import("./index-DQNZE7Go.js"), "Webide"), mt = u(() => import("./OnboardingPage-CAI-P20Q.js")), ut = u(() => import("./InvitationManagementPage-CttWZdu8.js")), dt = t(() => import("@yuku123/z-config-component"), "ConfigApp"), ht = t(() => import("@yuku123/z-task-component"), "TaskApp"), bt = t(() => import("@yuku123/z-wf-component"), "WorkflowApp"), _t = t(() => import("@yuku123/z-schedule-component"), "ScheduleApp"), gt = t(() => import("@yuku123/z-mist-component"), "MistApp"), kt = t(() => import("@yuku123/z-meta-component"), "MetaApp"), yt = t(() => import("@yuku123/z-msg-component"), "MsgApp"), St = t(() => import("@yuku123/z-rpc-component"), "RpcApp"), At = u(() => import("./ProjectApp-ZR_QUlPs.js").then((l) => l.j)), vt = u(() => import("./ProjectApp-ZR_QUlPs.js").then((l) => l.k)), wt = u(() => import("./ProjectApp-ZR_QUlPs.js").then((l) => l.h)), $ = u(() => import("@yuku123/z-qa-component"));
|
|
460
|
+
function ft() {
|
|
461
461
|
return /* @__PURE__ */ i("div", { className: h.empty, children: [
|
|
462
462
|
/* @__PURE__ */ e("div", { className: h.emptyIcon, children: "📋" }),
|
|
463
463
|
/* @__PURE__ */ e("div", { className: h.emptyText, children: "请从左侧菜单选择模块" })
|
|
464
464
|
] });
|
|
465
465
|
}
|
|
466
|
-
function
|
|
466
|
+
function It() {
|
|
467
467
|
const { pathname: l } = G();
|
|
468
468
|
return /* @__PURE__ */ e(o, { to: l.replace(/^\/product/, "/z-product"), replace: !0 });
|
|
469
469
|
}
|
|
470
|
-
const
|
|
470
|
+
const B = [
|
|
471
471
|
// ─── 顶层 / 概览 ───
|
|
472
|
-
{ path: "/overview", element: /* @__PURE__ */ e(
|
|
472
|
+
{ path: "/overview", element: /* @__PURE__ */ e(pt, {}) },
|
|
473
473
|
// ─── 4A 中心 (/ctc/*) ───
|
|
474
474
|
{ path: "/ctc", element: /* @__PURE__ */ e(o, { to: "/ctc/4a/account", replace: !0 }) },
|
|
475
|
-
{ path: "/ctc/4a/account", element: /* @__PURE__ */ e(
|
|
476
|
-
{ path: "/ctc/4a/role", element: /* @__PURE__ */ e(
|
|
477
|
-
{ path: "/ctc/4a/application", element: /* @__PURE__ */ e(
|
|
478
|
-
{ path: "/ctc/4a/tenant", element: /* @__PURE__ */ e(
|
|
479
|
-
{ path: "/ctc/4a/org", element: /* @__PURE__ */ e(
|
|
480
|
-
{ path: "/ctc/4a/permission", element: /* @__PURE__ */ e(
|
|
475
|
+
{ path: "/ctc/4a/account", element: /* @__PURE__ */ e(Be, {}) },
|
|
476
|
+
{ path: "/ctc/4a/role", element: /* @__PURE__ */ e(Ye, {}) },
|
|
477
|
+
{ path: "/ctc/4a/application", element: /* @__PURE__ */ e(Ue, {}) },
|
|
478
|
+
{ path: "/ctc/4a/tenant", element: /* @__PURE__ */ e(Je, {}) },
|
|
479
|
+
{ path: "/ctc/4a/org", element: /* @__PURE__ */ e(Ze, {}) },
|
|
480
|
+
{ path: "/ctc/4a/permission", element: /* @__PURE__ */ e(Qe, {}) },
|
|
481
481
|
{ path: "/ctc/4a/surl", element: /* @__PURE__ */ e(j, {}) },
|
|
482
|
-
{ path: "/ctc/dict", element: /* @__PURE__ */ e(
|
|
483
|
-
{ path: "/ctc/overview", element: /* @__PURE__ */ e(
|
|
484
|
-
{ path: "/ctc/audit", element: /* @__PURE__ */ e(
|
|
485
|
-
{ path: "/ctc/webide", element: /* @__PURE__ */ e(
|
|
486
|
-
{ path: "/ctc/agent-team", element: /* @__PURE__ */ e(
|
|
487
|
-
{ path: "/ctc/invitation", element: /* @__PURE__ */ e(
|
|
488
|
-
{ path: "/onboarding", element: /* @__PURE__ */ e(
|
|
482
|
+
{ path: "/ctc/dict", element: /* @__PURE__ */ e(Ke, {}) },
|
|
483
|
+
{ path: "/ctc/overview", element: /* @__PURE__ */ e(Fe, {}) },
|
|
484
|
+
{ path: "/ctc/audit", element: /* @__PURE__ */ e(We, {}) },
|
|
485
|
+
{ path: "/ctc/webide", element: /* @__PURE__ */ e(R, {}) },
|
|
486
|
+
{ path: "/ctc/agent-team", element: /* @__PURE__ */ e(rt, {}) },
|
|
487
|
+
{ path: "/ctc/invitation", element: /* @__PURE__ */ e(ut, {}) },
|
|
488
|
+
{ path: "/onboarding", element: /* @__PURE__ */ e(mt, {}) },
|
|
489
489
|
// ─── 智能中心 (/ai/*) ───
|
|
490
490
|
{ path: "/ai", element: /* @__PURE__ */ e(o, { to: "/ai/agent/app", replace: !0 }) },
|
|
491
491
|
{ path: "/ai/agent", element: /* @__PURE__ */ e(o, { to: "/ai/agent/app", replace: !0 }) },
|
|
492
|
-
{ path: "/ai/agent/app", element: /* @__PURE__ */ e(
|
|
493
|
-
{ path: "/ai/llm", element: /* @__PURE__ */ e(
|
|
492
|
+
{ path: "/ai/agent/app", element: /* @__PURE__ */ e(Ve, {}) },
|
|
493
|
+
{ path: "/ai/llm", element: /* @__PURE__ */ e(at, {}) },
|
|
494
494
|
{ path: "/ai/llm/provider", element: /* @__PURE__ */ e(o, { to: "/ai/llm", replace: !0 }) },
|
|
495
495
|
{ path: "/ai/llm/model", element: /* @__PURE__ */ e(o, { to: "/ai/llm", replace: !0 }) },
|
|
496
496
|
{ path: "/ai/usage", element: /* @__PURE__ */ e(o, { to: "/ai/llm", replace: !0 }) },
|
|
497
|
-
{ path: "/ai/ak", element: /* @__PURE__ */ e(
|
|
498
|
-
{ path: "/ai/mcp", element: /* @__PURE__ */ e(
|
|
499
|
-
{ path: "/ai/skill", element: /* @__PURE__ */ e(
|
|
497
|
+
{ path: "/ai/ak", element: /* @__PURE__ */ e(et, {}) },
|
|
498
|
+
{ path: "/ai/mcp", element: /* @__PURE__ */ e(nt, {}) },
|
|
499
|
+
{ path: "/ai/skill", element: /* @__PURE__ */ e(st, {}) },
|
|
500
500
|
{ path: "/ai/oss", element: /* @__PURE__ */ e(o, { to: "/ai/oss/bucket", replace: !0 }) },
|
|
501
|
-
{ path: "/ai/oss/bucket", element: /* @__PURE__ */ e(
|
|
502
|
-
{ path: "/ai/oss/bucket/:bucketName", element: /* @__PURE__ */ e(
|
|
503
|
-
{ path: "/ai/trace", element: /* @__PURE__ */ e(
|
|
504
|
-
{ path: "/ai/trace/debug", element: /* @__PURE__ */ e(
|
|
505
|
-
{ path: "/ai/dashboard", element: /* @__PURE__ */ e(
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
{ path: "/ai/
|
|
509
|
-
{ path: "/ai/agent-instance", element: /* @__PURE__ */ e(o, { to: "/ai/agent/app", replace: !0 }) },
|
|
510
|
-
{ path: "/ai/agent/instances", element: /* @__PURE__ */ e(o, { to: "/ai/agent/app", replace: !0 }) },
|
|
501
|
+
{ path: "/ai/oss/bucket", element: /* @__PURE__ */ e(tt, {}) },
|
|
502
|
+
{ path: "/ai/oss/bucket/:bucketName", element: /* @__PURE__ */ e(ct, {}) },
|
|
503
|
+
{ path: "/ai/trace", element: /* @__PURE__ */ e(q, {}) },
|
|
504
|
+
{ path: "/ai/trace/debug", element: /* @__PURE__ */ e(q, {}) },
|
|
505
|
+
{ path: "/ai/dashboard", element: /* @__PURE__ */ e(Xe, {}) },
|
|
506
|
+
{ path: "/ai/template", element: /* @__PURE__ */ e(it, {}) },
|
|
507
|
+
{ path: "/ai/agent-instance", element: /* @__PURE__ */ e(E, {}) },
|
|
508
|
+
{ path: "/ai/agent/instances", element: /* @__PURE__ */ e(E, {}) },
|
|
511
509
|
// ─── 配置中心 ───
|
|
512
|
-
{ path: "/config/*", element: /* @__PURE__ */ e(
|
|
510
|
+
{ path: "/config/*", element: /* @__PURE__ */ e(dt, {}) },
|
|
513
511
|
// ─── 任务中心 ───
|
|
514
|
-
{ path: "/task/*", element: /* @__PURE__ */ e(
|
|
512
|
+
{ path: "/task/*", element: /* @__PURE__ */ e(ht, {}) },
|
|
515
513
|
// ─── 流程中心 ───
|
|
516
|
-
{ path: "/workflow/*", element: /* @__PURE__ */ e(
|
|
514
|
+
{ path: "/workflow/*", element: /* @__PURE__ */ e(bt, {}) },
|
|
517
515
|
// ─── 调度中心 ───
|
|
518
|
-
{ path: "/schedule/*", element: /* @__PURE__ */ e(
|
|
516
|
+
{ path: "/schedule/*", element: /* @__PURE__ */ e(_t, {}) },
|
|
519
517
|
// ─── 密钥中心 ───
|
|
520
|
-
{ path: "/mist/*", element: /* @__PURE__ */ e(
|
|
518
|
+
{ path: "/mist/*", element: /* @__PURE__ */ e(gt, {}) },
|
|
521
519
|
// ─── 中间件孵化页 (大需求 004) — 主入口在运维工作台 (?mode=ops),此处兜住直链/刷新 ───
|
|
522
520
|
{ path: "/meta", element: /* @__PURE__ */ e(o, { to: "/meta/app", replace: !0 }) },
|
|
523
|
-
{ path: "/meta/*", element: /* @__PURE__ */ e(
|
|
521
|
+
{ path: "/meta/*", element: /* @__PURE__ */ e(kt, {}) },
|
|
524
522
|
{ path: "/msg", element: /* @__PURE__ */ e(o, { to: "/msg/inbox", replace: !0 }) },
|
|
525
|
-
{ path: "/msg/*", element: /* @__PURE__ */ e(
|
|
523
|
+
{ path: "/msg/*", element: /* @__PURE__ */ e(yt, {}) },
|
|
526
524
|
{ path: "/rpc", element: /* @__PURE__ */ e(o, { to: "/rpc/service", replace: !0 }) },
|
|
527
|
-
{ path: "/rpc/*", element: /* @__PURE__ */ e(
|
|
525
|
+
{ path: "/rpc/*", element: /* @__PURE__ */ e(St, {}) },
|
|
528
526
|
// ─── 订阅中心 ───
|
|
529
|
-
{ path: "/subscribe/*", element: /* @__PURE__ */ e(
|
|
527
|
+
{ path: "/subscribe/*", element: /* @__PURE__ */ e(At, {}) },
|
|
530
528
|
// ─── 产品工作台 z-product (2026-10-21 接入) ───
|
|
531
529
|
// /z-product/* 由 z-product 组件自己的 ProductApp 渲染(内部按 manifest 的绝对路径手工匹配,
|
|
532
530
|
// 不用嵌套 <Routes>:这里没有 Route 父上下文,绝对路径不会被再拼一次父前缀)。
|
|
533
531
|
// §14:z-product 的菜单 key / 路由 path 一律带产品名前缀(/z-product/xxx),
|
|
534
532
|
// 避免 /board、/products 这类短路径跟宿主自己的同名路由撞车。
|
|
535
533
|
{ path: "/z-product", element: /* @__PURE__ */ e(o, { to: "/z-product/board", replace: !0 }) },
|
|
536
|
-
{ path: "/z-product/*", element: /* @__PURE__ */ e(
|
|
534
|
+
{ path: "/z-product/*", element: /* @__PURE__ */ e(pe, { basePath: "/z-product" }) },
|
|
537
535
|
// 旧前缀 /product/* → 新前缀 /z-product/*:§14 前缀化之前的老 URL 仍可达(书签 / 旧分享链接)。
|
|
538
536
|
{ path: "/product", element: /* @__PURE__ */ e(o, { to: "/z-product/board", replace: !0 }) },
|
|
539
|
-
{ path: "/product/*", element: /* @__PURE__ */ e(
|
|
537
|
+
{ path: "/product/*", element: /* @__PURE__ */ e(It, {}) },
|
|
540
538
|
// ─── 项目中心 ───
|
|
541
|
-
{ path: "/project/*", element: /* @__PURE__ */ e(
|
|
539
|
+
{ path: "/project/*", element: /* @__PURE__ */ e(vt, {}) },
|
|
542
540
|
// ─── 脚本中心 (/script/*) — FEATURE052 ───
|
|
543
541
|
{ path: "/script", element: /* @__PURE__ */ e(o, { to: "/script/manage", replace: !0 }) },
|
|
544
|
-
{ path: "/script/manage", element: /* @__PURE__ */ e(
|
|
545
|
-
{ path: "/script/productization", element: /* @__PURE__ */ e(
|
|
542
|
+
{ path: "/script/manage", element: /* @__PURE__ */ e(lt, {}) },
|
|
543
|
+
{ path: "/script/productization", element: /* @__PURE__ */ e(ot, {}) },
|
|
546
544
|
// ─── 工具中心 (/z-tool/*) — FEATURE054 ───
|
|
547
545
|
{ path: "/z-tool", element: /* @__PURE__ */ e(o, { to: "/z-tool/curl", replace: !0 }) },
|
|
548
546
|
{ path: "/z-tool/curl", element: /* @__PURE__ */ e(j, {}) },
|
|
549
|
-
{ path: "/z-tool/webide", element: /* @__PURE__ */ e(
|
|
547
|
+
{ path: "/z-tool/webide", element: /* @__PURE__ */ e(R, {}) },
|
|
550
548
|
// ─── 测试中心 (/test/*) — FEATURE061 ───
|
|
551
549
|
{ path: "/test", element: /* @__PURE__ */ e(o, { to: "/test/qa/dashboard", replace: !0 }) },
|
|
552
|
-
{ path: "/test/mock", element: /* @__PURE__ */ e(
|
|
550
|
+
{ path: "/test/mock", element: /* @__PURE__ */ e(wt, {}) },
|
|
553
551
|
// QAApp 内部用 <Routes> 相对路由, 通配匹配后由 QAApp 自己接管子路径
|
|
554
|
-
{ path: "/test/qa", element: /* @__PURE__ */ e(
|
|
555
|
-
{ path: "/test/qa/*", element: /* @__PURE__ */ e(
|
|
552
|
+
{ path: "/test/qa", element: /* @__PURE__ */ e($, {}) },
|
|
553
|
+
{ path: "/test/qa/*", element: /* @__PURE__ */ e($, {}) },
|
|
556
554
|
// ─── 低代码 ───
|
|
557
555
|
// /lc/* 刻意不在这里注册。它早就迁到 src/lc/(TS 重写), 挂载点是
|
|
558
556
|
// main.jsx 的 <Route path="/lc/*" element={<ZTeamApp forcedMode="dev"/>}/>,
|
|
@@ -572,33 +570,33 @@ const $ = [
|
|
|
572
570
|
// 故统一重定向到应用列表, 由用户自行进入对应应用。
|
|
573
571
|
{ path: "/form/:entity", element: /* @__PURE__ */ e(o, { to: "/lc/apps", replace: !0 }) }
|
|
574
572
|
];
|
|
575
|
-
function
|
|
576
|
-
for (const s of
|
|
573
|
+
function Gt(l) {
|
|
574
|
+
for (const s of B)
|
|
577
575
|
if (s.path === l) return s.element;
|
|
578
|
-
for (const s of
|
|
579
|
-
if (
|
|
580
|
-
return /* @__PURE__ */ e(
|
|
576
|
+
for (const s of B)
|
|
577
|
+
if (Mt(s.path, l)) return s.element;
|
|
578
|
+
return /* @__PURE__ */ e(ft, {});
|
|
581
579
|
}
|
|
582
|
-
function
|
|
580
|
+
function Mt(l, s) {
|
|
583
581
|
if (!l.includes("*") && !l.includes(":")) return !1;
|
|
584
582
|
const r = "^" + l.replace(/[.+?^${}()|[\]\\]/g, "\\$&").replace(/\*/g, ".*").replace(/:([a-zA-Z_][a-zA-Z0-9_]*)/g, "[^/]+") + "$";
|
|
585
583
|
return new RegExp(r).test(s);
|
|
586
584
|
}
|
|
587
|
-
function
|
|
588
|
-
|
|
589
|
-
const { pathname: l } = G(), s = l.startsWith("/test/"), r = S(() => l, [l]), _ = S(() =>
|
|
585
|
+
function Tt() {
|
|
586
|
+
U();
|
|
587
|
+
const { pathname: l } = G(), s = l.startsWith("/test/"), r = S(() => l, [l]), _ = S(() => Gt(l), [l]);
|
|
590
588
|
return /* @__PURE__ */ i("div", { className: h.shell, children: [
|
|
591
589
|
/* @__PURE__ */ e(
|
|
592
|
-
|
|
590
|
+
He,
|
|
593
591
|
{
|
|
594
592
|
activePathOverride: r,
|
|
595
593
|
menuOnly: !0,
|
|
596
594
|
visibleGroups: s ? ["测试中心"] : void 0
|
|
597
595
|
}
|
|
598
596
|
),
|
|
599
|
-
/* @__PURE__ */ e("main", { className: h.main, children: /* @__PURE__ */ e(
|
|
597
|
+
/* @__PURE__ */ e("main", { className: h.main, children: /* @__PURE__ */ e(ee, { fallback: /* @__PURE__ */ e("div", { className: h.empty, children: "加载中…" }), children: _ }) })
|
|
600
598
|
] });
|
|
601
599
|
}
|
|
602
600
|
export {
|
|
603
|
-
|
|
601
|
+
Tt as default
|
|
604
602
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { v as p, a, f as s, B as r, r as $, u as i } from "./api
|
|
2
|
-
import { u as f } from "./useAppStore-
|
|
1
|
+
import { v as p, a, f as s, B as r, r as $, u as i } from "./api-19TXED_O.js";
|
|
2
|
+
import { u as f } from "./useAppStore-BQN-26ns.js";
|
|
3
3
|
async function y() {
|
|
4
4
|
f.getState().token && await p().catch(() => {
|
|
5
5
|
}), localStorage.removeItem("token"), localStorage.removeItem("z_team_token"), localStorage.removeItem("userInfo"), localStorage.removeItem("USER_INFO"), localStorage.removeItem("z_ctc_token"), localStorage.removeItem("ctcUrl"), window.USER_INFO = void 0, f.setState({ currentUser: null, token: "", currentProject: void 0 });
|