@yuku123/z-team-component 0.2.33 → 0.2.34
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-CfXxzvhB.js +544 -0
- package/dist/{ComponentDoc-B2qJmtU6.js → ComponentDoc-CTvxY3v4.js} +40 -40
- package/dist/{InvitationManagementPage-61uxWWwF.js → InvitationManagementPage-NlRdSCc0.js} +1 -1
- package/dist/{OnboardingPage-BBKst6Qf.js → OnboardingPage-BPpq5uih.js} +2 -2
- package/dist/SmartWorkbench.module-xRRmpTTw.js +85 -0
- package/dist/{SystemShell-C52BvjTM.js → SystemShell-o1Q80wKU.js} +160 -158
- package/dist/{admin-logs-Dv86pFvY.js → admin-logs-D6HtRcK6.js} +2 -2
- package/dist/{api-19TXED_O.js → api-C78tCfne.js} +156 -155
- package/dist/{api-Bf3E-c73.js → api-DcpNsSj8.js} +1 -1
- package/dist/{createWorkspaceWsHandler-CBk4DqP4.js → createWorkspaceWsHandler-mq-UTF2O.js} +4 -4
- package/dist/{index-DHh0L9FB.js → index-2Gkwtm48.js} +1222 -1207
- package/dist/{index-DOPkM2W8.js → index-7nSly-MA.js} +6 -6
- package/dist/{index-BoGVJ0hC.js → index-BAK7UDvY.js} +1 -1
- package/dist/{index-BTLD5gUt.js → index-BX1Wd9x9.js} +3 -3
- package/dist/{index-BIJnjJd5.js → index-Bdu31aRV.js} +2 -2
- package/dist/{index-CFakyLYo.js → index-BmPqCnxn.js} +65 -56
- package/dist/{index-B_EBV24V.js → index-C83kfp3z.js} +1 -1
- package/dist/{index-Bd57t_yF.js → index-CEW8AmbW.js} +1 -1
- package/dist/{index-BEqPF6wm.js → index-CIfE-dmM.js} +2260 -2290
- package/dist/{index-ff3leJCK.js → index-CKDlK4Zz.js} +3 -3
- package/dist/{index-BG755_pa.js → index-CRR1GuYN.js} +1 -1
- package/dist/{index-CEmwgW65.js → index-CYvL_OAH.js} +1055 -1057
- package/dist/{index-DYgD6BuB.js → index-ClA0896K.js} +4 -4
- package/dist/{index-tDO0JBvI.js → index-D4tQ0KN9.js} +5 -5
- package/dist/{index-BjqYiZpC.js → index-DFY3lzq0.js} +3 -3
- package/dist/{index-7VAcVmtR.js → index-DyJp2kSb.js} +7 -7
- package/dist/index-a4cM-7bG.js +1433 -0
- package/dist/{index-x4-W5ClM.js → index-qK6pyAGy.js} +4 -4
- package/dist/index.js +1 -1
- package/dist/{instance-D951fRuD.js → instance-D5dhjbgg.js} +1 -1
- package/dist/pages.js +1 -1
- package/dist/{schedule-DIlnA1uC.js → schedule-Dstx5SE_.js} +35 -35
- package/dist/{send-default-agent-team-message-Bbs2rMNf.js → send-default-agent-team-message-C882sJLV.js} +1 -1
- package/dist/{sso-user-BEY5ICaR.js → sso-user-Bi9_l9yi.js} +1 -1
- package/dist/{training-B-9tNFQw.js → training-Ba09KItE.js} +1 -1
- package/dist/{useAppStore-BQN-26ns.js → useAppStore-ibJyVIAX.js} +1 -1
- package/dist/{webide-mvUPb2k9.js → webide-CTvdgMFE.js} +4 -4
- package/dist/z-team-component.css +1 -1
- package/package.json +1 -1
- package/dist/ChangeLogView-FLd1wS8H.js +0 -502
- package/dist/DebugPlayground-cxffrMgF.js +0 -15
- package/dist/SmartWorkbench.module-DzQskKT0.js +0 -85
- package/dist/index-Ddm63H7s.js +0 -1335
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import { jsxs as p, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { useNavigate as
|
|
3
|
-
import { useMemo as S, useState as
|
|
4
|
-
import { DownOutlined as O, RightOutlined as N, AppstoreOutlined as
|
|
5
|
-
import { ProductApp as
|
|
6
|
-
const
|
|
7
|
-
container:
|
|
8
|
-
sidebar:
|
|
9
|
-
menuList:
|
|
10
|
-
menuGroup:
|
|
11
|
-
menuGroupHeader:
|
|
12
|
-
menuGroupIcon:
|
|
13
|
-
menuGroupLabel:
|
|
2
|
+
import { useNavigate as B, useLocation as f, Navigate as l } from "react-router-dom";
|
|
3
|
+
import { useMemo as S, useState as M, Suspense as X, lazy as u } from "react";
|
|
4
|
+
import { DownOutlined as O, RightOutlined as N, AppstoreOutlined as W, UserOutlined as ee, SafetyCertificateOutlined as L, CloudOutlined as D, DeploymentUnitOutlined as z, AuditOutlined as T, CodeOutlined as w, FolderOpenOutlined as te, DesktopOutlined as U, DashboardOutlined as y, ProfileOutlined as x, BookOutlined as ne, ApartmentOutlined as ae, FileImageOutlined as oe, FileTextOutlined as A, CalendarOutlined as b, ApiOutlined as ce, ProjectOutlined as F, ClusterOutlined as le, DatabaseOutlined as se, TeamOutlined as pe, BarChartOutlined as H } from "@ant-design/icons";
|
|
5
|
+
import { ProductApp as ie } from "@yuku123/z-product-component";
|
|
6
|
+
const re = "_container_wbul9_7", me = "_sidebar_wbul9_17", ue = "_menuList_wbul9_37", de = "_menuGroup_wbul9_44", he = "_menuGroupHeader_wbul9_48", be = "_menuGroupIcon_wbul9_66", ge = "_menuGroupLabel_wbul9_75", _e = "_menuGroupArrow_wbul9_80", ke = "_menuSubList_wbul9_87", ye = "_menuSubItem_wbul9_93", Se = "_menuSubItemActive_wbul9_110", Ae = "_menuSubItemIcon_wbul9_117", we = "_menuSubGroup_wbul9_132", ve = "_menuSubGroupHeader_wbul9_136", De = "_menuSubGroupHeaderActive_wbul9_154", Pe = "_menuSubGroupLabel_wbul9_158", fe = "_main_wbul9_169", Ce = "_detailPanel_wbul9_179", Ge = "_detailHeader_wbul9_189", Ie = "_detailIcon_wbul9_196", Me = "_detailTitle_wbul9_209", Oe = "_detailDesc_wbul9_216", Ne = "_detailAction_wbul9_223", Le = "_goBtn_wbul9_228", ze = "_emptyState_wbul9_248", a = {
|
|
7
|
+
container: re,
|
|
8
|
+
sidebar: me,
|
|
9
|
+
menuList: ue,
|
|
10
|
+
menuGroup: de,
|
|
11
|
+
menuGroupHeader: he,
|
|
12
|
+
menuGroupIcon: be,
|
|
13
|
+
menuGroupLabel: ge,
|
|
14
14
|
menuGroupArrow: _e,
|
|
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:
|
|
30
|
-
goBtn:
|
|
31
|
-
emptyState:
|
|
15
|
+
menuSubList: ke,
|
|
16
|
+
menuSubItem: ye,
|
|
17
|
+
menuSubItemActive: Se,
|
|
18
|
+
menuSubItemIcon: Ae,
|
|
19
|
+
menuSubGroup: we,
|
|
20
|
+
menuSubGroupHeader: ve,
|
|
21
|
+
menuSubGroupHeaderActive: De,
|
|
22
|
+
menuSubGroupLabel: Pe,
|
|
23
|
+
main: fe,
|
|
24
|
+
detailPanel: Ce,
|
|
25
|
+
detailHeader: Ge,
|
|
26
|
+
detailIcon: Ie,
|
|
27
|
+
detailTitle: Me,
|
|
28
|
+
detailDesc: Oe,
|
|
29
|
+
detailAction: Ne,
|
|
30
|
+
goBtn: Le,
|
|
31
|
+
emptyState: ze
|
|
32
32
|
};
|
|
33
33
|
function P(c) {
|
|
34
34
|
return c.flatMap((s) => [s, ...P(s.children ?? [])]);
|
|
35
35
|
}
|
|
36
|
-
const
|
|
36
|
+
const Te = {
|
|
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(le, {}),
|
|
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(F, {}),
|
|
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(U, {}),
|
|
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(se, {}),
|
|
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(pe, {}),
|
|
147
147
|
path: "/test/evaluation/group",
|
|
148
148
|
desc: "群聊场景评测"
|
|
149
149
|
},
|
|
@@ -157,7 +157,7 @@ const xe = {
|
|
|
157
157
|
]
|
|
158
158
|
}
|
|
159
159
|
]
|
|
160
|
-
},
|
|
160
|
+
}, K = [
|
|
161
161
|
{
|
|
162
162
|
title: "认证与权限",
|
|
163
163
|
icon: /* @__PURE__ */ e(L, {}),
|
|
@@ -165,7 +165,7 @@ const xe = {
|
|
|
165
165
|
{
|
|
166
166
|
key: "4a-account",
|
|
167
167
|
label: "账号管理",
|
|
168
|
-
icon: /* @__PURE__ */ e(
|
|
168
|
+
icon: /* @__PURE__ */ e(ee, {}),
|
|
169
169
|
path: "/ctc/4a/account",
|
|
170
170
|
desc: "用户账号创建、编辑与状态管理"
|
|
171
171
|
},
|
|
@@ -179,7 +179,7 @@ const xe = {
|
|
|
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
|
},
|
|
@@ -221,14 +221,14 @@ const xe = {
|
|
|
221
221
|
{
|
|
222
222
|
key: "tool-curl",
|
|
223
223
|
label: "短链管理",
|
|
224
|
-
icon: /* @__PURE__ */ e(
|
|
224
|
+
icon: /* @__PURE__ */ e(te, {}),
|
|
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(U, {}),
|
|
232
232
|
path: "/z-tool/webide",
|
|
233
233
|
desc: "在线 IDE 代码编辑器"
|
|
234
234
|
}
|
|
@@ -255,14 +255,14 @@ 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(ae, {}),
|
|
266
266
|
path: "/z-product/concept-model",
|
|
267
267
|
desc: "概念与关系画布(四种投影)"
|
|
268
268
|
},
|
|
@@ -276,7 +276,7 @@ const xe = {
|
|
|
276
276
|
{
|
|
277
277
|
key: "product-designs",
|
|
278
278
|
label: "设计稿 ⇄ 模型",
|
|
279
|
-
icon: /* @__PURE__ */ e(
|
|
279
|
+
icon: /* @__PURE__ */ e(oe, {}),
|
|
280
280
|
path: "/z-product/designs",
|
|
281
281
|
desc: "设计与认知的双向收敛回路"
|
|
282
282
|
}
|
|
@@ -310,64 +310,64 @@ const xe = {
|
|
|
310
310
|
{
|
|
311
311
|
key: "subscribe",
|
|
312
312
|
label: "订阅中心",
|
|
313
|
-
icon: /* @__PURE__ */ e(
|
|
313
|
+
icon: /* @__PURE__ */ e(ce, {}),
|
|
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(F, {}),
|
|
321
321
|
path: "/project/list",
|
|
322
322
|
desc: "项目创建与进度管理"
|
|
323
323
|
}
|
|
324
324
|
]
|
|
325
325
|
}
|
|
326
|
-
], v = [...
|
|
327
|
-
function
|
|
326
|
+
], v = [...K, Te];
|
|
327
|
+
function xe({
|
|
328
328
|
activePathOverride: c,
|
|
329
329
|
menuOnly: s = !1,
|
|
330
330
|
visibleGroups: i
|
|
331
331
|
} = {}) {
|
|
332
|
-
const g =
|
|
333
|
-
() => i ? v.filter((n) => i.includes(n.title)) :
|
|
332
|
+
const g = B(), { pathname: C } = f(), _ = S(
|
|
333
|
+
() => i ? v.filter((n) => i.includes(n.title)) : K,
|
|
334
334
|
[i]
|
|
335
|
-
), [
|
|
335
|
+
), [Q, Z] = M(
|
|
336
336
|
new Set(v.map((n) => n.title))
|
|
337
|
-
), [
|
|
337
|
+
), [G, V] = M(
|
|
338
338
|
() => new Set(
|
|
339
339
|
v.flatMap((n) => n.items).filter((n) => n.children).map((n) => n.key)
|
|
340
340
|
)
|
|
341
|
-
),
|
|
341
|
+
), k = S(() => {
|
|
342
342
|
var r;
|
|
343
|
-
const n = c ??
|
|
344
|
-
return ((r =
|
|
343
|
+
const n = c ?? C;
|
|
344
|
+
return ((r = _.flatMap((o) => P(o.items)).find(
|
|
345
345
|
(o) => o.path === n
|
|
346
346
|
)) == null ? void 0 : r.key) ?? null;
|
|
347
|
-
}, [c,
|
|
348
|
-
|
|
347
|
+
}, [c, C, _]), Y = (n) => {
|
|
348
|
+
Z((r) => {
|
|
349
349
|
const o = new Set(r);
|
|
350
350
|
return o.has(n) ? o.delete(n) : o.add(n), o;
|
|
351
351
|
});
|
|
352
|
-
},
|
|
353
|
-
|
|
352
|
+
}, J = (n) => {
|
|
353
|
+
V((r) => {
|
|
354
354
|
const o = new Set(r);
|
|
355
355
|
return o.has(n) ? o.delete(n) : o.add(n), o;
|
|
356
356
|
});
|
|
357
|
-
},
|
|
357
|
+
}, I = (n) => {
|
|
358
358
|
n.path && g(n.path);
|
|
359
|
-
}, d =
|
|
360
|
-
(n) => n.key ===
|
|
359
|
+
}, d = _.flatMap((n) => P(n.items)).find(
|
|
360
|
+
(n) => n.key === k
|
|
361
361
|
);
|
|
362
362
|
return /* @__PURE__ */ p("div", { className: a.container, children: [
|
|
363
|
-
/* @__PURE__ */ e("aside", { className: a.sidebar, children: /* @__PURE__ */ e("nav", { className: a.menuList, children:
|
|
364
|
-
const r =
|
|
363
|
+
/* @__PURE__ */ e("aside", { className: a.sidebar, children: /* @__PURE__ */ e("nav", { className: a.menuList, children: _.map((n) => {
|
|
364
|
+
const r = Q.has(n.title);
|
|
365
365
|
return /* @__PURE__ */ p("div", { className: a.menuGroup, children: [
|
|
366
366
|
/* @__PURE__ */ p(
|
|
367
367
|
"div",
|
|
368
368
|
{
|
|
369
369
|
className: a.menuGroupHeader,
|
|
370
|
-
onClick: () =>
|
|
370
|
+
onClick: () => Y(n.title),
|
|
371
371
|
children: [
|
|
372
372
|
/* @__PURE__ */ e("span", { className: a.menuGroupIcon, children: n.icon }),
|
|
373
373
|
/* @__PURE__ */ e("span", { className: a.menuGroupLabel, children: n.title }),
|
|
@@ -382,20 +382,20 @@ function He({
|
|
|
382
382
|
/* @__PURE__ */ p(
|
|
383
383
|
"div",
|
|
384
384
|
{
|
|
385
|
-
className: `${a.menuSubGroupHeader} ${o.children.some((m) => m.key ===
|
|
386
|
-
onClick: () =>
|
|
385
|
+
className: `${a.menuSubGroupHeader} ${o.children.some((m) => m.key === k) ? a.menuSubGroupHeaderActive : ""}`,
|
|
386
|
+
onClick: () => J(o.key),
|
|
387
387
|
children: [
|
|
388
388
|
/* @__PURE__ */ e("span", { className: a.menuGroupIcon, children: o.icon }),
|
|
389
389
|
/* @__PURE__ */ e("span", { className: a.menuSubGroupLabel, children: o.label }),
|
|
390
|
-
/* @__PURE__ */ e("span", { className: a.menuGroupArrow, children:
|
|
390
|
+
/* @__PURE__ */ e("span", { className: a.menuGroupArrow, children: G.has(o.key) ? /* @__PURE__ */ e(O, {}) : /* @__PURE__ */ e(N, {}) })
|
|
391
391
|
]
|
|
392
392
|
}
|
|
393
393
|
),
|
|
394
|
-
|
|
394
|
+
G.has(o.key) && /* @__PURE__ */ e("ul", { className: a.menuSubList, children: o.children.map((m) => /* @__PURE__ */ p(
|
|
395
395
|
"li",
|
|
396
396
|
{
|
|
397
|
-
className: `${a.menuSubItem} ${
|
|
398
|
-
onClick: () =>
|
|
397
|
+
className: `${a.menuSubItem} ${k === m.key ? a.menuSubItemActive : ""}`,
|
|
398
|
+
onClick: () => I(m),
|
|
399
399
|
children: [
|
|
400
400
|
/* @__PURE__ */ e(
|
|
401
401
|
"span",
|
|
@@ -413,8 +413,8 @@ function He({
|
|
|
413
413
|
) : /* @__PURE__ */ p(
|
|
414
414
|
"li",
|
|
415
415
|
{
|
|
416
|
-
className: `${a.menuSubItem} ${
|
|
417
|
-
onClick: () =>
|
|
416
|
+
className: `${a.menuSubItem} ${k === o.key ? a.menuSubItemActive : ""}`,
|
|
417
|
+
onClick: () => I(o),
|
|
418
418
|
children: [
|
|
419
419
|
/* @__PURE__ */ e("span", { className: a.menuSubItemIcon, children: o.icon }),
|
|
420
420
|
/* @__PURE__ */ e("span", { children: o.label })
|
|
@@ -445,112 +445,114 @@ function He({
|
|
|
445
445
|
}
|
|
446
446
|
) })
|
|
447
447
|
] }) : /* @__PURE__ */ p("div", { className: a.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
|
-
}, t = (c, s) => u(() => c().then((i) => ({ default: i[s] }))),
|
|
460
|
-
function
|
|
453
|
+
const He = "_shell_10jrt_6", je = "_main_10jrt_21", qe = "_empty_10jrt_31", Ee = "_emptyIcon_10jrt_41", Re = "_emptyText_10jrt_46", h = {
|
|
454
|
+
shell: He,
|
|
455
|
+
main: je,
|
|
456
|
+
empty: qe,
|
|
457
|
+
emptyIcon: Ee,
|
|
458
|
+
emptyText: Re
|
|
459
|
+
}, t = (c, s) => u(() => c().then((i) => ({ default: i[s] }))), $e = t(() => import("@yuku123/z-ctc-component"), "AccountManagement"), Be = t(() => import("@yuku123/z-ctc-component"), "ApplicationManagement"), We = t(() => import("@yuku123/z-ctc-component"), "AuditPage"), Ue = t(() => import("@yuku123/z-ctc-component"), "CtcOverview"), Fe = t(() => import("@yuku123/z-ctc-component"), "DictPage"), Ke = t(() => import("@yuku123/z-ctc-component"), "OrgPage"), Qe = t(() => import("@yuku123/z-ctc-component"), "PermissionManagement"), Ze = t(() => import("@yuku123/z-ctc-component"), "RoleManagement"), j = t(() => import("@yuku123/z-ctc-component"), "SurlManagement"), Ve = t(() => import("@yuku123/z-ctc-component"), "TenantManagement"), Ye = t(() => import("@yuku123/z-agent-component"), "AgentAppList"), Je = t(() => import("@yuku123/z-agent-component"), "AgentDashboard"), Xe = t(() => import("@yuku123/z-agent-component"), "AkManage"), et = t(() => import("@yuku123/z-agent-component"), "BucketList"), tt = t(() => import("@yuku123/z-agent-component"), "LlmManage"), nt = t(() => import("@yuku123/z-agent-component"), "McpPage"), at = t(() => import("@yuku123/z-agent-component"), "ObjectBrowser"), ot = t(() => import("@yuku123/z-agent-component"), "ScriptCenterPage"), ct = t(() => import("@yuku123/z-agent-component"), "ScriptProductizationPage"), lt = t(() => import("@yuku123/z-agent-component"), "SkillMarket"), st = t(() => import("./index-BmPqCnxn.js"), "AgentTeamIM"), q = t(() => import("./index-BmPqCnxn.js"), "DebugPlayground"), pt = t(() => import("./index-BmPqCnxn.js"), "Overview"), E = t(() => import("./index-BmPqCnxn.js"), "Webide"), it = u(() => import("./OnboardingPage-BPpq5uih.js")), rt = u(() => import("./InvitationManagementPage-NlRdSCc0.js")), mt = t(() => import("@yuku123/z-config-component"), "ConfigApp"), ut = t(() => import("@yuku123/z-task-component"), "TaskApp"), dt = t(() => import("@yuku123/z-wf-component"), "WorkflowApp"), ht = t(() => import("@yuku123/z-schedule-component"), "ScheduleApp"), bt = t(() => import("@yuku123/z-mist-component"), "MistApp"), gt = t(() => import("@yuku123/z-meta-component"), "MetaApp"), _t = t(() => import("@yuku123/z-msg-component"), "MsgApp"), kt = t(() => import("@yuku123/z-rpc-component"), "RpcApp"), yt = u(() => import("./ComponentDoc-CTvxY3v4.js").then((c) => c.k)), St = u(() => import("./ComponentDoc-CTvxY3v4.js").then((c) => c.l)), At = t(() => import("@yuku123/z-config-component"), "ComponentDocPage"), wt = t(() => import("@yuku123/z-task-component"), "ComponentDocPage"), vt = t(() => import("@yuku123/z-wf-component"), "ComponentDocPage"), Dt = t(() => import("@yuku123/z-schedule-component"), "ComponentDocPage"), Pt = t(() => import("@yuku123/z-mist-component"), "ComponentDocPage"), ft = t(() => import("@yuku123/z-meta-component"), "ComponentDocPage"), Ct = t(() => import("@yuku123/z-msg-component"), "ComponentDocPage"), Gt = t(() => import("@yuku123/z-rpc-component"), "ComponentDocPage"), It = t(() => import("@yuku123/z-kb-component"), "ComponentDocPage"), Mt = t(() => import("@yuku123/z-product-component"), "ComponentDocPage"), Ot = t(() => import("@yuku123/z-oss-component"), "ComponentDocPage"), Nt = t(() => import("@yuku123/z-vector-component"), "ComponentDocPage"), Lt = t(() => import("@yuku123/z-graph-component"), "ComponentDocPage"), zt = t(() => import("@yuku123/z-gw-component"), "ComponentDocPage"), Tt = t(() => import("@yuku123/z-cache-component"), "ComponentDocPage"), xt = t(() => import("@yuku123/z-mq-component"), "ComponentDocPage"), Ht = t(() => import("@yuku123/z-ctc-component"), "ComponentDocPage"), jt = t(() => import("@yuku123/z-agent-component"), "ComponentDocPage"), qt = t(() => import("@yuku123/z-lc-component"), "ComponentDocPage"), Et = t(() => import("@yuku123/z-qa-component"), "ComponentDocPage"), Rt = u(() => import("./ComponentDoc-CTvxY3v4.js").then((c) => c.j)), R = u(() => import("@yuku123/z-qa-component"));
|
|
460
|
+
function $t() {
|
|
461
461
|
return /* @__PURE__ */ p("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 Bt() {
|
|
467
467
|
const { pathname: c } = f();
|
|
468
468
|
return /* @__PURE__ */ e(l, { to: c.replace(/^\/product/, "/z-product"), replace: !0 });
|
|
469
469
|
}
|
|
470
|
-
const
|
|
470
|
+
const $ = [
|
|
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(l, { 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($e, {}) },
|
|
476
|
+
{ path: "/ctc/4a/role", element: /* @__PURE__ */ e(Ze, {}) },
|
|
477
|
+
{ path: "/ctc/4a/application", element: /* @__PURE__ */ e(Be, {}) },
|
|
478
|
+
{ path: "/ctc/4a/tenant", element: /* @__PURE__ */ e(Ve, {}) },
|
|
479
|
+
{ path: "/ctc/4a/org", element: /* @__PURE__ */ e(Ke, {}) },
|
|
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(Fe, {}) },
|
|
483
|
+
{ path: "/ctc/overview", element: /* @__PURE__ */ e(Ue, {}) },
|
|
484
|
+
{ path: "/ctc/audit", element: /* @__PURE__ */ e(We, {}) },
|
|
485
|
+
{ path: "/ctc/webide", element: /* @__PURE__ */ e(E, {}) },
|
|
486
|
+
{ path: "/ctc/agent-team", element: /* @__PURE__ */ e(st, {}) },
|
|
487
|
+
{ path: "/ctc/invitation", element: /* @__PURE__ */ e(rt, {}) },
|
|
488
|
+
{ path: "/onboarding", element: /* @__PURE__ */ e(it, {}) },
|
|
489
489
|
// ─── 智能中心 (/ai/*) ───
|
|
490
490
|
{ path: "/ai", element: /* @__PURE__ */ e(l, { to: "/ai/agent/app", replace: !0 }) },
|
|
491
491
|
{ path: "/ai/agent", element: /* @__PURE__ */ e(l, { 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(Ye, {}) },
|
|
493
|
+
{ path: "/ai/llm", element: /* @__PURE__ */ e(tt, {}) },
|
|
494
494
|
{ path: "/ai/llm/provider", element: /* @__PURE__ */ e(l, { to: "/ai/llm", replace: !0 }) },
|
|
495
495
|
{ path: "/ai/llm/model", element: /* @__PURE__ */ e(l, { to: "/ai/llm", replace: !0 }) },
|
|
496
496
|
{ path: "/ai/usage", element: /* @__PURE__ */ e(l, { 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(Xe, {}) },
|
|
498
|
+
{ path: "/ai/mcp", element: /* @__PURE__ */ e(nt, {}) },
|
|
499
|
+
{ path: "/ai/skill", element: /* @__PURE__ */ e(lt, {}) },
|
|
500
500
|
{ path: "/ai/oss", element: /* @__PURE__ */ e(l, { 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/
|
|
501
|
+
{ path: "/ai/oss/bucket", element: /* @__PURE__ */ e(et, {}) },
|
|
502
|
+
{ path: "/ai/oss/bucket/:bucketName", element: /* @__PURE__ */ e(at, {}) },
|
|
503
|
+
{ path: "/ai/trace", element: /* @__PURE__ */ e(q, {}) },
|
|
504
|
+
{ path: "/ai/trace/debug", element: /* @__PURE__ */ e(q, {}) },
|
|
505
|
+
{ path: "/ai/dashboard", element: /* @__PURE__ */ e(Je, {}) },
|
|
506
|
+
// 多 Agent 实例 / 模板市场已下线 (2026-10-22): 模板并入 Agent 应用页,
|
|
507
|
+
// 旧深链重定向, 别再回到独立菜单
|
|
508
|
+
{ path: "/ai/template", element: /* @__PURE__ */ e(l, { to: "/ai/agent/app", replace: !0 }) },
|
|
509
|
+
{ path: "/ai/agent-instance", element: /* @__PURE__ */ e(l, { to: "/ai/agent/app", replace: !0 }) },
|
|
510
|
+
{ path: "/ai/agent/instances", element: /* @__PURE__ */ e(l, { to: "/ai/agent/app", replace: !0 }) },
|
|
509
511
|
// ─── 配置中心 ───
|
|
510
|
-
{ path: "/config/*", element: /* @__PURE__ */ e(
|
|
512
|
+
{ path: "/config/*", element: /* @__PURE__ */ e(mt, {}) },
|
|
511
513
|
// ─── 任务中心 ───
|
|
512
|
-
{ path: "/task/*", element: /* @__PURE__ */ e(
|
|
514
|
+
{ path: "/task/*", element: /* @__PURE__ */ e(ut, {}) },
|
|
513
515
|
// ─── 流程中心 ───
|
|
514
|
-
{ path: "/workflow/*", element: /* @__PURE__ */ e(
|
|
516
|
+
{ path: "/workflow/*", element: /* @__PURE__ */ e(dt, {}) },
|
|
515
517
|
// ─── 调度中心 ───
|
|
516
|
-
{ path: "/schedule/*", element: /* @__PURE__ */ e(
|
|
518
|
+
{ path: "/schedule/*", element: /* @__PURE__ */ e(ht, {}) },
|
|
517
519
|
// ─── 密钥中心 ───
|
|
518
|
-
{ path: "/mist/*", element: /* @__PURE__ */ e(
|
|
520
|
+
{ path: "/mist/*", element: /* @__PURE__ */ e(bt, {}) },
|
|
519
521
|
// ─── 中间件孵化页 (大需求 004) — 主入口在运维工作台 (?mode=ops),此处兜住直链/刷新 ───
|
|
520
522
|
{ path: "/meta", element: /* @__PURE__ */ e(l, { to: "/meta/app", replace: !0 }) },
|
|
521
|
-
{ path: "/meta/*", element: /* @__PURE__ */ e(
|
|
523
|
+
{ path: "/meta/*", element: /* @__PURE__ */ e(gt, {}) },
|
|
522
524
|
{ path: "/msg", element: /* @__PURE__ */ e(l, { to: "/msg/inbox", replace: !0 }) },
|
|
523
|
-
{ path: "/msg/*", element: /* @__PURE__ */ e(
|
|
525
|
+
{ path: "/msg/*", element: /* @__PURE__ */ e(_t, {}) },
|
|
524
526
|
{ path: "/rpc", element: /* @__PURE__ */ e(l, { to: "/rpc/service", replace: !0 }) },
|
|
525
|
-
{ path: "/rpc/*", element: /* @__PURE__ */ e(
|
|
527
|
+
{ path: "/rpc/*", element: /* @__PURE__ */ e(kt, {}) },
|
|
526
528
|
// ─── 订阅中心 ───
|
|
527
|
-
{ path: "/subscribe/*", element: /* @__PURE__ */ e(
|
|
529
|
+
{ path: "/subscribe/*", element: /* @__PURE__ */ e(yt, {}) },
|
|
528
530
|
// ─── 产品工作台 z-product (2026-10-21 接入) ───
|
|
529
531
|
// /z-product/* 由 z-product 组件自己的 ProductApp 渲染(内部按 manifest 的绝对路径手工匹配,
|
|
530
532
|
// 不用嵌套 <Routes>:这里没有 Route 父上下文,绝对路径不会被再拼一次父前缀)。
|
|
531
533
|
// §14:z-product 的菜单 key / 路由 path 一律带产品名前缀(/z-product/xxx),
|
|
532
534
|
// 避免 /board、/products 这类短路径跟宿主自己的同名路由撞车。
|
|
533
535
|
{ path: "/z-product", element: /* @__PURE__ */ e(l, { to: "/z-product/board", replace: !0 }) },
|
|
534
|
-
{ path: "/z-product/*", element: /* @__PURE__ */ e(
|
|
536
|
+
{ path: "/z-product/*", element: /* @__PURE__ */ e(ie, { basePath: "/z-product" }) },
|
|
535
537
|
// 旧前缀 /product/* → 新前缀 /z-product/*:§14 前缀化之前的老 URL 仍可达(书签 / 旧分享链接)。
|
|
536
538
|
{ path: "/product", element: /* @__PURE__ */ e(l, { to: "/z-product/board", replace: !0 }) },
|
|
537
|
-
{ path: "/product/*", element: /* @__PURE__ */ e(
|
|
539
|
+
{ path: "/product/*", element: /* @__PURE__ */ e(Bt, {}) },
|
|
538
540
|
// ─── 项目中心 ───
|
|
539
|
-
{ path: "/project/*", element: /* @__PURE__ */ e(
|
|
541
|
+
{ path: "/project/*", element: /* @__PURE__ */ e(St, {}) },
|
|
540
542
|
// ─── 脚本中心 (/script/*) — FEATURE052 ───
|
|
541
543
|
{ path: "/script", element: /* @__PURE__ */ e(l, { to: "/script/manage", replace: !0 }) },
|
|
542
|
-
{ path: "/script/manage", element: /* @__PURE__ */ e(
|
|
543
|
-
{ path: "/script/productization", element: /* @__PURE__ */ e(
|
|
544
|
+
{ path: "/script/manage", element: /* @__PURE__ */ e(ot, {}) },
|
|
545
|
+
{ path: "/script/productization", element: /* @__PURE__ */ e(ct, {}) },
|
|
544
546
|
// ─── 工具中心 (/z-tool/*) — FEATURE054 ───
|
|
545
547
|
{ path: "/z-tool", element: /* @__PURE__ */ e(l, { to: "/z-tool/curl", replace: !0 }) },
|
|
546
548
|
{ path: "/z-tool/curl", element: /* @__PURE__ */ e(j, {}) },
|
|
547
|
-
{ path: "/z-tool/webide", element: /* @__PURE__ */ e(
|
|
549
|
+
{ path: "/z-tool/webide", element: /* @__PURE__ */ e(E, {}) },
|
|
548
550
|
// ─── 测试中心 (/test/*) — FEATURE061 ───
|
|
549
551
|
{ path: "/test", element: /* @__PURE__ */ e(l, { to: "/test/qa/dashboard", replace: !0 }) },
|
|
550
|
-
{ path: "/test/mock", element: /* @__PURE__ */ e(
|
|
552
|
+
{ path: "/test/mock", element: /* @__PURE__ */ e(Rt, {}) },
|
|
551
553
|
// QAApp 内部用 <Routes> 相对路由, 通配匹配后由 QAApp 自己接管子路径
|
|
552
|
-
{ path: "/test/qa", element: /* @__PURE__ */ e(
|
|
553
|
-
{ path: "/test/qa/*", element: /* @__PURE__ */ e(
|
|
554
|
+
{ path: "/test/qa", element: /* @__PURE__ */ e(R, {}) },
|
|
555
|
+
{ path: "/test/qa/*", element: /* @__PURE__ */ e(R, {}) },
|
|
554
556
|
// ─── 低代码 ───
|
|
555
557
|
// /lc/* 刻意不在这里注册。它早就迁到 src/lc/(TS 重写), 挂载点是
|
|
556
558
|
// main.jsx 的 <Route path="/lc/*" element={<ZTeamApp forcedMode="dev"/>}/>,
|
|
@@ -582,54 +584,54 @@ const B = [
|
|
|
582
584
|
// §14 铁律(菜单 key 必须带产品名前缀)针对的是**同一宿主内多套件共存**的撞车问题;
|
|
583
585
|
// 这里每个域的宿主前缀本身就已经是产品名(/config / /task / /workflow …),
|
|
584
586
|
// 且各域之间前缀互不相同 ⇒ 不存在撞车,不需要再加 z- 前缀。
|
|
585
|
-
{ path: "/config/docs", element: /* @__PURE__ */ e(
|
|
586
|
-
{ path: "/task/docs", element: /* @__PURE__ */ e(
|
|
587
|
-
{ path: "/workflow/docs", element: /* @__PURE__ */ e(
|
|
588
|
-
{ path: "/schedule/docs", element: /* @__PURE__ */ e(
|
|
589
|
-
{ path: "/mist/docs", element: /* @__PURE__ */ e(
|
|
590
|
-
{ path: "/meta/docs", element: /* @__PURE__ */ e(
|
|
587
|
+
{ path: "/config/docs", element: /* @__PURE__ */ e(At, {}) },
|
|
588
|
+
{ path: "/task/docs", element: /* @__PURE__ */ e(wt, {}) },
|
|
589
|
+
{ path: "/workflow/docs", element: /* @__PURE__ */ e(vt, {}) },
|
|
590
|
+
{ path: "/schedule/docs", element: /* @__PURE__ */ e(Dt, {}) },
|
|
591
|
+
{ path: "/mist/docs", element: /* @__PURE__ */ e(Pt, {}) },
|
|
592
|
+
{ path: "/meta/docs", element: /* @__PURE__ */ e(ft, {}) },
|
|
591
593
|
{ path: "/msg/docs", element: /* @__PURE__ */ e(Ct, {}) },
|
|
592
594
|
{ path: "/rpc/docs", element: /* @__PURE__ */ e(Gt, {}) },
|
|
593
|
-
{ path: "/kb/docs", element: /* @__PURE__ */ e(
|
|
594
|
-
{ path: "/z-product/docs", element: /* @__PURE__ */ e(
|
|
595
|
-
{ path: "/oss/docs", element: /* @__PURE__ */ e(
|
|
596
|
-
{ path: "/vector/docs", element: /* @__PURE__ */ e(
|
|
597
|
-
{ path: "/graph/docs", element: /* @__PURE__ */ e(
|
|
598
|
-
{ path: "/gw/docs", element: /* @__PURE__ */ e(
|
|
599
|
-
{ path: "/cache/docs", element: /* @__PURE__ */ e(
|
|
600
|
-
{ path: "/mq/docs", element: /* @__PURE__ */ e(
|
|
601
|
-
{ path: "/ctc/docs", element: /* @__PURE__ */ e(
|
|
602
|
-
{ path: "/ai/docs", element: /* @__PURE__ */ e(
|
|
603
|
-
{ path: "/lc/docs", element: /* @__PURE__ */ e(
|
|
604
|
-
{ path: "/test/qa/docs", element: /* @__PURE__ */ e(
|
|
595
|
+
{ path: "/kb/docs", element: /* @__PURE__ */ e(It, {}) },
|
|
596
|
+
{ path: "/z-product/docs", element: /* @__PURE__ */ e(Mt, {}) },
|
|
597
|
+
{ path: "/oss/docs", element: /* @__PURE__ */ e(Ot, {}) },
|
|
598
|
+
{ path: "/vector/docs", element: /* @__PURE__ */ e(Nt, {}) },
|
|
599
|
+
{ path: "/graph/docs", element: /* @__PURE__ */ e(Lt, {}) },
|
|
600
|
+
{ path: "/gw/docs", element: /* @__PURE__ */ e(zt, {}) },
|
|
601
|
+
{ path: "/cache/docs", element: /* @__PURE__ */ e(Tt, {}) },
|
|
602
|
+
{ path: "/mq/docs", element: /* @__PURE__ */ e(xt, {}) },
|
|
603
|
+
{ path: "/ctc/docs", element: /* @__PURE__ */ e(Ht, {}) },
|
|
604
|
+
{ path: "/ai/docs", element: /* @__PURE__ */ e(jt, {}) },
|
|
605
|
+
{ path: "/lc/docs", element: /* @__PURE__ */ e(qt, {}) },
|
|
606
|
+
{ path: "/test/qa/docs", element: /* @__PURE__ */ e(Et, {}) }
|
|
605
607
|
];
|
|
606
|
-
function
|
|
607
|
-
for (const s of
|
|
608
|
+
function Wt(c) {
|
|
609
|
+
for (const s of $)
|
|
608
610
|
if (s.path === c) return s.element;
|
|
609
|
-
for (const s of
|
|
610
|
-
if (
|
|
611
|
-
return /* @__PURE__ */ e(
|
|
611
|
+
for (const s of $)
|
|
612
|
+
if (Ut(s.path, c)) return s.element;
|
|
613
|
+
return /* @__PURE__ */ e($t, {});
|
|
612
614
|
}
|
|
613
|
-
function
|
|
615
|
+
function Ut(c, s) {
|
|
614
616
|
if (!c.includes("*") && !c.includes(":")) return !1;
|
|
615
617
|
const i = "^" + c.replace(/[.+?^${}()|[\]\\]/g, "\\$&").replace(/\*/g, ".*").replace(/:([a-zA-Z_][a-zA-Z0-9_]*)/g, "[^/]+") + "$";
|
|
616
618
|
return new RegExp(i).test(s);
|
|
617
619
|
}
|
|
618
|
-
function
|
|
619
|
-
|
|
620
|
-
const { pathname: c } = f(), s = c.startsWith("/test/"), i = S(() => c, [c]), g = S(() =>
|
|
620
|
+
function Yt() {
|
|
621
|
+
B();
|
|
622
|
+
const { pathname: c } = f(), s = c.startsWith("/test/"), i = S(() => c, [c]), g = S(() => Wt(c), [c]);
|
|
621
623
|
return /* @__PURE__ */ p("div", { className: h.shell, children: [
|
|
622
624
|
/* @__PURE__ */ e(
|
|
623
|
-
|
|
625
|
+
xe,
|
|
624
626
|
{
|
|
625
627
|
activePathOverride: i,
|
|
626
628
|
menuOnly: !0,
|
|
627
629
|
visibleGroups: s ? ["测试中心"] : void 0
|
|
628
630
|
}
|
|
629
631
|
),
|
|
630
|
-
/* @__PURE__ */ e("main", { className: h.main, children: /* @__PURE__ */ e(
|
|
632
|
+
/* @__PURE__ */ e("main", { className: h.main, children: /* @__PURE__ */ e(X, { fallback: /* @__PURE__ */ e("div", { className: h.empty, children: "加载中…" }), children: g }) })
|
|
631
633
|
] });
|
|
632
634
|
}
|
|
633
635
|
export {
|
|
634
|
-
|
|
636
|
+
Yt as default
|
|
635
637
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u as f } from "./useAppStore-
|
|
1
|
+
import { w as p, a, f as s, B as r, v as $, u as i } from "./api-C78tCfne.js";
|
|
2
|
+
import { u as f } from "./useAppStore-ibJyVIAX.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 });
|