@yuku123/z-team-component 0.2.117 → 0.2.119
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-CqkWDtQB.js → ChangeLogView-xx3lj5S-.js} +1 -1
- package/dist/{ComponentDoc-CUZbyM00.js → ComponentDoc-CCLp3t9q.js} +6 -4
- package/dist/{InvitationManagementPage-B5SYspmz.js → InvitationManagementPage-BE0XMvKc.js} +1 -1
- package/dist/{OnboardingPage-DX8ibRCc.js → OnboardingPage-DFEcS1x0.js} +2 -2
- package/dist/{ScheduledTasks-D138OQTB.js → ScheduledTasks-BMCmQSRh.js} +6 -6
- package/dist/{SystemShell-Dj1zO3Lq.js → SystemShell-C5gHJeCG.js} +129 -129
- package/dist/{admin-logs-Ck-CRslW.js → admin-logs-t4Mj_HWx.js} +1 -1
- package/dist/{api-Kes33Ygp.js → api-B2nw0Dm1.js} +1 -1
- package/dist/{api-CebDeOMT.js → api-D3dgUIrd.js} +1 -1
- package/dist/{createWorkspaceWsHandler-BY6-Akio.js → createWorkspaceWsHandler-CnLkGK27.js} +3 -3
- package/dist/{index-BsqIHqY6.js → index-0OPNPURS.js} +10 -10
- package/dist/{index--i2GJRsY.js → index-B0FA6T0-.js} +3 -3
- package/dist/{index-BfvQtfad.js → index-B5dzk12s.js} +2 -2
- package/dist/{index-898QE4rN.js → index-BEzMfq8C.js} +2 -2
- package/dist/{index-BkOqGHou.js → index-BFkFXoNj.js} +2 -2
- package/dist/{index-CKZNKAX2.js → index-BGJV0IO5.js} +1 -1
- package/dist/{index-B3pRyMCs.js → index-BGMcgzIQ.js} +4 -4
- package/dist/{index-C1Jh7av2.js → index-BIxj6OjM.js} +2 -2
- package/dist/{index-CyJm_WXi.js → index-BQGowWbj.js} +2 -2
- package/dist/{index-CtXVZhUk.js → index-BSJuOudI.js} +1 -1
- package/dist/{index-CiqqwYc_.js → index-Br6AM3hO.js} +6 -6
- package/dist/{index-C5v-QY-g.js → index-BrKzFBuu.js} +3 -3
- package/dist/{index-7BLiamsQ.js → index-BtilA2tL.js} +6 -6
- package/dist/{index-DAXz73FW.js → index-C1kSzRaw.js} +2 -2
- package/dist/{index-lH6EMUoT.js → index-C2wIhE0O.js} +5 -5
- package/dist/{index-2lN-Rl1M.js → index-CRz9bxbu.js} +1 -1
- package/dist/{index-DIb-hDQV.js → index-CcdGnLxi.js} +1 -1
- package/dist/{index-BdUeSRYz.js → index-CsMocLY0.js} +3 -3
- package/dist/{index-BJdLTG7d.js → index-Csy3HSkS.js} +3 -3
- package/dist/{index-DW0jqFnh.js → index-DGNOjXl2.js} +1 -1
- package/dist/{index-9zY5SwTt.js → index-DHv6RED7.js} +2 -2
- package/dist/{index-Du9NadzD.js → index-DTpWpuBc.js} +3 -3
- package/dist/{index-DqOu9BQz.js → index-DeCfL0Y0.js} +3 -3
- package/dist/{index-BUmU1hQz.js → index-IJMHaZ7Q.js} +3 -3
- package/dist/{index-CjKGX5WH.js → index-rlRxv3a2.js} +119 -86
- package/dist/index.js +1 -1
- package/dist/{instance-BhG4hLC6.js → instance-CXXtaU6H.js} +1 -1
- package/dist/{menuPermission-A0VWPO-L.js → menuPermission-DHtgsy3h.js} +3 -3
- package/dist/pages.js +1 -1
- package/dist/{send-default-agent-team-message-BPXqU_ZO.js → send-default-agent-team-message-DH0unLlm.js} +1 -1
- package/dist/{sso-user-4DoJaBdW.js → sso-user-DvO_c6KE.js} +1 -1
- package/dist/{training-BVPUlpci.js → training-DsN2X3bI.js} +1 -1
- package/dist/{webide-DMr6hG3P.js → webide-DsSWaahV.js} +3 -3
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as n, jsx as a, Fragment as te } from "react/jsx-runtime";
|
|
2
|
-
import { l as ve, m as ae, r as Ne, n as Te } from "./ComponentDoc-
|
|
2
|
+
import { l as ve, m as ae, r as Ne, n as Te } from "./ComponentDoc-CCLp3t9q.js";
|
|
3
3
|
import { message as ie, Button as V, DatePicker as De, Spin as j, Empty as ne, Tag as re } from "antd";
|
|
4
4
|
import S from "dayjs";
|
|
5
5
|
import "./echarts-B1OU1xr4.js";
|
|
@@ -3885,8 +3885,10 @@ const Ia = [
|
|
|
3885
3885
|
// z-mq 消息队列
|
|
3886
3886
|
"/kb",
|
|
3887
3887
|
// z-kb 知识库
|
|
3888
|
-
"/oss"
|
|
3888
|
+
"/oss",
|
|
3889
3889
|
// z-oss 对象存储
|
|
3890
|
+
"/schedule"
|
|
3891
|
+
// z-schedule 调度中心(2026-11-09 从系统面孤儿路由收编到中间件面)
|
|
3890
3892
|
], Ca = [
|
|
3891
3893
|
"/script/keys",
|
|
3892
3894
|
"/script/monitor",
|
|
@@ -3962,9 +3964,9 @@ Pa();
|
|
|
3962
3964
|
const ne = (e) => {
|
|
3963
3965
|
const t = wr(e);
|
|
3964
3966
|
return (n) => /* @__PURE__ */ a(_r, { fallback: null, children: /* @__PURE__ */ a(t, { ...n }) });
|
|
3965
|
-
}, xe = ne(() => import("./index-
|
|
3966
|
-
ne(() => import("./index-
|
|
3967
|
-
const Na = ne(() => import("./index-C815hPWS.js")), Ua = ne(() => import("./index-DWi-8Esh.js")), za = ne(() => import("./index-DhDdFRHC.js")), La = ne(() => import("./index-
|
|
3967
|
+
}, xe = ne(() => import("./index-0OPNPURS.js").then((e) => e.ax)), Ea = ne(() => import("./index-C2wIhE0O.js")), Ra = ne(() => import("./index-C1kSzRaw.js")), Oa = ne(() => import("./index-DTpWpuBc.js")), Ma = ne(() => import("./index-CsMocLY0.js")), ja = ne(() => import("./index-BIxj6OjM.js"));
|
|
3968
|
+
ne(() => import("./index-Br6AM3hO.js"));
|
|
3969
|
+
const Na = ne(() => import("./index-C815hPWS.js")), Ua = ne(() => import("./index-DWi-8Esh.js")), za = ne(() => import("./index-DhDdFRHC.js")), La = ne(() => import("./index-DGNOjXl2.js")), Da = ne(() => import("./index-CcdGnLxi.js")), Fa = ne(() => import("./index-B_LJRFsK.js")), qa = ne(() => import("./index-B5dzk12s.js"));
|
|
3968
3970
|
function gl({ forcedMode: e }) {
|
|
3969
3971
|
const { pathname: t } = Tr(), n = t.replace(/\/+$/, "") || "/";
|
|
3970
3972
|
return e === "system" ? /* @__PURE__ */ a(xe, { forcedChatMode: $a(n) }) : e === "dev" ? /* @__PURE__ */ a(xe, { forcedChatMode: "dev" }) : e === "knowledge" ? /* @__PURE__ */ a(xe, { forcedChatMode: "knowledge" }) : n === "/workspace" ? /* @__PURE__ */ a(xe, {}) : n === "/workspace/phone" ? /* @__PURE__ */ a(Ea, {}) : n === "/workspace/from-ticket" ? /* @__PURE__ */ a(Ra, {}) : n === "/workspace/from-scenario" ? /* @__PURE__ */ a(Oa, {}) : n === "/workspace/build-by-form" ? /* @__PURE__ */ a(Ma, {}) : n === "/scenario" ? /* @__PURE__ */ a(ja, {}) : n === "/admin" ? /* @__PURE__ */ a(xe, {}) : n === "/welcome" ? /* @__PURE__ */ a(Ua, {}) : n === "/portal" ? /* @__PURE__ */ a(za, {}) : n === "/chatdemo" ? /* @__PURE__ */ a(Na, {}) : n === "/embed/chat" || n.startsWith("/embed/chat/") ? /* @__PURE__ */ a(qa, {}) : n === "/change-log" ? /* @__PURE__ */ a(La, {}) : n === "/docs" ? /* @__PURE__ */ a(Da, {}) : n === "/download" ? /* @__PURE__ */ a(Fa, {}) : /* @__PURE__ */ a(xe, {});
|
|
@@ -2,7 +2,7 @@ import { jsxs as i, jsx as e, Fragment as A } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as o, useEffect as oe } from "react";
|
|
3
3
|
import { Form as m, message as l, Button as d, Input as B, Row as ae, Col as z, Card as v, Statistic as O, Alert as T, Space as p, Typography as se, Tabs as de, Popconfirm as F, Tag as h, Tooltip as ce, Modal as he, Radio as S, Select as w, InputNumber as ue } from "antd";
|
|
4
4
|
import { PlusOutlined as me, ClockCircleOutlined as _, CheckCircleOutlined as $, LinkOutlined as D, CopyOutlined as b, QrcodeOutlined as U, UserDeleteOutlined as K, TeamOutlined as pe, MailOutlined as j, DeleteOutlined as ye, UserAddOutlined as q, CloseCircleOutlined as N } from "@ant-design/icons";
|
|
5
|
-
import { l as fe, b as ge, g as ve, c as we, d as be, e as Ce, f as xe } from "./api-
|
|
5
|
+
import { l as fe, b as ge, g as ve, c as we, d as be, e as Ce, f as xe } from "./api-D3dgUIrd.js";
|
|
6
6
|
import { PageHeader as Ie, TableToolbar as ke, ListTable as W } from "@yuku123/z-frontend-common/ui";
|
|
7
7
|
const { Text: c } = se, Me = () => {
|
|
8
8
|
const [C] = m.useForm(), [M, P] = o(!1), [y, G] = o([]), [L, H] = o([]), [J, Q] = o(null), [u, V] = o(""), [X, x] = o(!1), [Y, R] = o(!1), [a, E] = o(null), [r, Z] = o(localStorage.getItem("userInfo") && JSON.parse(localStorage.getItem("userInfo") || "{}").tenantCode || "");
|
|
@@ -3,8 +3,8 @@ import { useState as a, useMemo as oe, useEffect as W } from "react";
|
|
|
3
3
|
import { useNavigate as le, useSearchParams as se } from "react-router-dom";
|
|
4
4
|
import { Form as c, message as o, Spin as ce, Typography as de, Card as d, Tag as x, Empty as me, Row as he, Col as fe, Space as S, Avatar as ge, Pagination as pe, Button as T, Result as ue, Modal as E, Input as k, Alert as U } from "antd";
|
|
5
5
|
import { RocketOutlined as q, ApartmentOutlined as ye, CheckCircleOutlined as Ce, PlusOutlined as z, KeyOutlined as m, GiftOutlined as ve, HomeOutlined as we, CrownOutlined as be } from "@ant-design/icons";
|
|
6
|
-
import { g as xe, a as Se, s as Te, r as ke } from "./api-
|
|
7
|
-
import { d as ze } from "./ComponentDoc-
|
|
6
|
+
import { g as xe, a as Se, s as Te, r as ke } from "./api-D3dgUIrd.js";
|
|
7
|
+
import { d as ze } from "./ComponentDoc-CCLp3t9q.js";
|
|
8
8
|
const { Title: u, Text: O, Paragraph: Oe } = de, y = 12, Me = () => {
|
|
9
9
|
const L = le(), [H] = se(), [_, I] = a(!0), [i, $] = a(null), [l, G] = a([]), [A, F] = a(0), [h, B] = a(""), [C, K] = a(1), X = oe(() => {
|
|
10
10
|
const e = (C - 1) * y;
|
|
@@ -4,21 +4,21 @@ import { useState as o, useRef as fe, useMemo as Le, useEffect as te, useCallbac
|
|
|
4
4
|
import Mn from "react-markdown";
|
|
5
5
|
import ss from "rehype-highlight";
|
|
6
6
|
import En from "remark-gfm";
|
|
7
|
-
import { a as ls, f as is, B as os, b as rs, u as dt, ag as Tl, ah as cs, n as Ct, ai as Il, t as ds, aj as xl, ak as Bl, al as Ll, a6 as Wn, a8 as _a, a5 as Al, a7 as Rl, o as $l, am as Dl, an as Ml, T as El, ao as Pl, a4 as Hl, ap as Ol, a0 as jl } from "./ComponentDoc-
|
|
8
|
-
import { _ as us, j as Fl, $ as Vn, a0 as Gl, a1 as ql, a2 as Ul, r as zl, a3 as Wl, a4 as Vl, a5 as ms, a6 as hs, a7 as Kl, a8 as Jl, a9 as ps, aa as _s, ab as fs, ac as gs, ad as ys, ae as Yl, af as Ql, ag as bs, ah as fa, ai as vs, aj as Xl, F as ga, R as ra, L as ya, P as Zl, D as ei, ak as Ns, al as ti, am as ni, an as ai, ao as si, ap as ba, aq as Ln, ar as ks, k as Cs, as as li, at as ii, au as oi, av as ri, aw as Yt } from "./index-
|
|
9
|
-
import { u as $n, a as ca, i as ws, T as ci, t as di, s as ui, v as mi, w as hi, x as Ss, y as pi } from "./createWorkspaceWsHandler-
|
|
7
|
+
import { a as ls, f as is, B as os, b as rs, u as dt, ag as Tl, ah as cs, n as Ct, ai as Il, t as ds, aj as xl, ak as Bl, al as Ll, a6 as Wn, a8 as _a, a5 as Al, a7 as Rl, o as $l, am as Dl, an as Ml, T as El, ao as Pl, a4 as Hl, ap as Ol, a0 as jl } from "./ComponentDoc-CCLp3t9q.js";
|
|
8
|
+
import { _ as us, j as Fl, $ as Vn, a0 as Gl, a1 as ql, a2 as Ul, r as zl, a3 as Wl, a4 as Vl, a5 as ms, a6 as hs, a7 as Kl, a8 as Jl, a9 as ps, aa as _s, ab as fs, ac as gs, ad as ys, ae as Yl, af as Ql, ag as bs, ah as fa, ai as vs, aj as Xl, F as ga, R as ra, L as ya, P as Zl, D as ei, ak as Ns, al as ti, am as ni, an as ai, ao as si, ap as ba, aq as Ln, ar as ks, k as Cs, as as li, at as ii, au as oi, av as ri, aw as Yt } from "./index-0OPNPURS.js";
|
|
9
|
+
import { u as $n, a as ca, i as ws, T as ci, t as di, s as ui, v as mi, w as hi, x as Ss, y as pi } from "./createWorkspaceWsHandler-CnLkGK27.js";
|
|
10
10
|
import { message as ke, Spin as $t, Input as $e, Switch as _n, Select as Gt, InputNumber as _i, Tabs as fi, Card as gi, Tag as ue, Table as yi, DatePicker as bi, Segmented as vi, Empty as gt, Modal as Pt, Button as J, Space as Ze, Typography as Ni, Radio as Ht, Row as At, Col as lt, List as va, Statistic as ki, Tooltip as da, Form as fn, Progress as cn } from "antd";
|
|
11
|
-
import { f as Ci, u as wi, a as Si, b as Ti, s as Ii } from "./webide-
|
|
11
|
+
import { f as Ci, u as wi, a as Si, b as Ti, s as Ii } from "./webide-DsSWaahV.js";
|
|
12
12
|
import an from "dayjs";
|
|
13
13
|
import * as Dn from "echarts/core";
|
|
14
14
|
import { BarChart as xi, LineChart as Bi, PieChart as Li } from "echarts/charts";
|
|
15
15
|
import { GridComponent as Ai, LegendComponent as Ri, TitleComponent as $i, TooltipComponent as Di } from "echarts/components";
|
|
16
16
|
import { CanvasRenderer as Mi } from "echarts/renderers";
|
|
17
|
-
import { a as Ei } from "./instance-
|
|
17
|
+
import { a as Ei } from "./instance-CXXtaU6H.js";
|
|
18
18
|
import { diffLines as Pi } from "diff";
|
|
19
19
|
import Hi, { DiffMethod as Oi } from "react-diff-viewer-continued";
|
|
20
20
|
import { format as ji } from "sql-formatter";
|
|
21
|
-
import { V as Ts, W as Fi, k as Gi, h as qi, X as Is, Y as Ui, Z as zi, _ as Na, $ as Wi, a0 as Vi, a1 as xs, a2 as Ki, a3 as Ji, a4 as Yi, a5 as Qi, a6 as Xi, a7 as Zi } from "./training-
|
|
21
|
+
import { V as Ts, W as Fi, k as Gi, h as qi, X as Is, Y as Ui, Z as zi, _ as Na, $ as Wi, a0 as Vi, a1 as xs, a2 as Ki, a3 as Ji, a4 as Yi, a5 as Qi, a6 as Xi, a7 as Zi } from "./training-DsN2X3bI.js";
|
|
22
22
|
async function eo(t = {}, s = "") {
|
|
23
23
|
const a = new URLSearchParams();
|
|
24
24
|
t.keyword && a.set("keyword", t.keyword), t.category && a.set("category", t.category), t.status !== void 0 && a.set("status", String(t.status)), s && a.set("token", s);
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useNavigate as Z, useLocation as O, Navigate as c } from "react-router-dom";
|
|
3
|
-
import { useMemo as y, useState as z,
|
|
4
|
-
import { DownOutlined as T, RightOutlined as x, AppstoreOutlined as V, UserOutlined as
|
|
5
|
-
import { f as
|
|
6
|
-
import { u as U, y as
|
|
7
|
-
import { ProductApp as
|
|
8
|
-
import { P as
|
|
9
|
-
const
|
|
10
|
-
container:
|
|
11
|
-
sidebar:
|
|
12
|
-
menuList:
|
|
13
|
-
menuGroup:
|
|
14
|
-
menuGroupHeader:
|
|
15
|
-
menuGroupIcon:
|
|
16
|
-
menuGroupLabel:
|
|
17
|
-
menuGroupArrow:
|
|
18
|
-
menuSubList:
|
|
19
|
-
menuSubItem:
|
|
20
|
-
menuSubItemActive:
|
|
21
|
-
menuSubItemIcon:
|
|
22
|
-
menuSubGroup:
|
|
23
|
-
menuSubGroupHeader:
|
|
24
|
-
menuSubGroupHeaderActive:
|
|
25
|
-
menuSubGroupLabel:
|
|
26
|
-
main:
|
|
27
|
-
detailPanel:
|
|
28
|
-
detailHeader:
|
|
29
|
-
detailIcon:
|
|
30
|
-
detailTitle:
|
|
31
|
-
detailDesc:
|
|
32
|
-
detailAction:
|
|
33
|
-
goBtn:
|
|
34
|
-
emptyState:
|
|
3
|
+
import { useMemo as y, useState as z, useCallback as oe, Suspense as ce, lazy as g } from "react";
|
|
4
|
+
import { DownOutlined as T, RightOutlined as x, AppstoreOutlined as V, UserOutlined as se, SafetyCertificateOutlined as E, CloudOutlined as G, DeploymentUnitOutlined as R, AuditOutlined as q, CodeOutlined as C, FolderOpenOutlined as le, DesktopOutlined as J, ThunderboltOutlined as re, BookOutlined as H, DashboardOutlined as D, ProfileOutlined as j, ApartmentOutlined as pe, FileImageOutlined as ie, FileTextOutlined as N, CalendarOutlined as A, ApiOutlined as me, ProjectOutlined as X, ClusterOutlined as ue, DatabaseOutlined as de, TeamOutlined as he, BarChartOutlined as W } from "@ant-design/icons";
|
|
5
|
+
import { f as be, M as ge } from "./menuPermission-DHtgsy3h.js";
|
|
6
|
+
import { u as U, y as _e } from "./ComponentDoc-CCLp3t9q.js";
|
|
7
|
+
import { ProductApp as ke } from "@yuku123/z-product-component";
|
|
8
|
+
import { P as ye, R as Se } from "./index-BEzMfq8C.js";
|
|
9
|
+
const we = "_container_wbul9_7", fe = "_sidebar_wbul9_17", Ae = "_menuList_wbul9_37", Pe = "_menuGroup_wbul9_44", ve = "_menuGroupHeader_wbul9_48", De = "_menuGroupIcon_wbul9_66", Ne = "_menuGroupLabel_wbul9_75", Ce = "_menuGroupArrow_wbul9_80", Me = "_menuSubList_wbul9_87", Ge = "_menuSubItem_wbul9_93", Ie = "_menuSubItemActive_wbul9_110", Oe = "_menuSubItemIcon_wbul9_117", Le = "_menuSubGroup_wbul9_132", Be = "_menuSubGroupHeader_wbul9_136", ze = "_menuSubGroupHeaderActive_wbul9_154", Te = "_menuSubGroupLabel_wbul9_158", xe = "_main_wbul9_169", Ee = "_detailPanel_wbul9_179", Re = "_detailHeader_wbul9_189", qe = "_detailIcon_wbul9_196", He = "_detailTitle_wbul9_209", je = "_detailDesc_wbul9_216", We = "_detailAction_wbul9_223", Ue = "_goBtn_wbul9_228", $e = "_emptyState_wbul9_248", n = {
|
|
10
|
+
container: we,
|
|
11
|
+
sidebar: fe,
|
|
12
|
+
menuList: Ae,
|
|
13
|
+
menuGroup: Pe,
|
|
14
|
+
menuGroupHeader: ve,
|
|
15
|
+
menuGroupIcon: De,
|
|
16
|
+
menuGroupLabel: Ne,
|
|
17
|
+
menuGroupArrow: Ce,
|
|
18
|
+
menuSubList: Me,
|
|
19
|
+
menuSubItem: Ge,
|
|
20
|
+
menuSubItemActive: Ie,
|
|
21
|
+
menuSubItemIcon: Oe,
|
|
22
|
+
menuSubGroup: Le,
|
|
23
|
+
menuSubGroupHeader: Be,
|
|
24
|
+
menuSubGroupHeaderActive: ze,
|
|
25
|
+
menuSubGroupLabel: Te,
|
|
26
|
+
main: xe,
|
|
27
|
+
detailPanel: Ee,
|
|
28
|
+
detailHeader: Re,
|
|
29
|
+
detailIcon: qe,
|
|
30
|
+
detailTitle: He,
|
|
31
|
+
detailDesc: je,
|
|
32
|
+
detailAction: We,
|
|
33
|
+
goBtn: Ue,
|
|
34
|
+
emptyState: $e
|
|
35
35
|
};
|
|
36
36
|
function I(s) {
|
|
37
37
|
return s.flatMap((l) => [l, ...I(l.children ?? [])]);
|
|
38
38
|
}
|
|
39
|
-
const
|
|
39
|
+
const Ke = {
|
|
40
40
|
title: "测试中心",
|
|
41
41
|
icon: /* @__PURE__ */ e(D, {}),
|
|
42
42
|
// 测试 Tab 的入口权限点 (顶栏 test mode 同码)。4A 普通用户角色 USER 持有 TEST_ENTRY
|
|
@@ -65,7 +65,7 @@ const $e = {
|
|
|
65
65
|
{
|
|
66
66
|
key: "test-suite",
|
|
67
67
|
label: "测试套件",
|
|
68
|
-
icon: /* @__PURE__ */ e(
|
|
68
|
+
icon: /* @__PURE__ */ e(ue, {}),
|
|
69
69
|
path: "/test/qa/suites",
|
|
70
70
|
desc: "步骤编排与变量传递"
|
|
71
71
|
},
|
|
@@ -121,7 +121,7 @@ const $e = {
|
|
|
121
121
|
{
|
|
122
122
|
key: "test-mock",
|
|
123
123
|
label: "Mock 平台",
|
|
124
|
-
icon: /* @__PURE__ */ e(
|
|
124
|
+
icon: /* @__PURE__ */ e(de, {}),
|
|
125
125
|
path: "/test/mock",
|
|
126
126
|
desc: "API Mock 服务管理"
|
|
127
127
|
}
|
|
@@ -149,7 +149,7 @@ const $e = {
|
|
|
149
149
|
{
|
|
150
150
|
key: "test-eval-group",
|
|
151
151
|
label: "群聊评测",
|
|
152
|
-
icon: /* @__PURE__ */ e(
|
|
152
|
+
icon: /* @__PURE__ */ e(he, {}),
|
|
153
153
|
path: "/test/evaluation/group",
|
|
154
154
|
desc: "群聊场景评测"
|
|
155
155
|
},
|
|
@@ -175,7 +175,7 @@ const $e = {
|
|
|
175
175
|
{
|
|
176
176
|
key: "4a-account",
|
|
177
177
|
label: "账号管理",
|
|
178
|
-
icon: /* @__PURE__ */ e(
|
|
178
|
+
icon: /* @__PURE__ */ e(se, {}),
|
|
179
179
|
path: "/ctc/4a/account",
|
|
180
180
|
desc: "用户账号创建、编辑与状态管理"
|
|
181
181
|
},
|
|
@@ -231,7 +231,7 @@ const $e = {
|
|
|
231
231
|
{
|
|
232
232
|
key: "tool-curl",
|
|
233
233
|
label: "短链管理",
|
|
234
|
-
icon: /* @__PURE__ */ e(
|
|
234
|
+
icon: /* @__PURE__ */ e(le, {}),
|
|
235
235
|
path: "/z-tool/curl",
|
|
236
236
|
desc: "短链接创建与管理"
|
|
237
237
|
},
|
|
@@ -254,7 +254,7 @@ const $e = {
|
|
|
254
254
|
// 而主壳导航用的是这份写死的清单 ⇒ 面板做好了却在界面上进不去。
|
|
255
255
|
key: "product-atelier",
|
|
256
256
|
label: "产品工坊",
|
|
257
|
-
icon: /* @__PURE__ */ e(
|
|
257
|
+
icon: /* @__PURE__ */ e(re, {}),
|
|
258
258
|
path: "/z-product/atelier",
|
|
259
259
|
desc: "在一个面板里对话、沉淀产品稿与设计稿、渲染演示稿、建工程落地"
|
|
260
260
|
},
|
|
@@ -289,7 +289,7 @@ const $e = {
|
|
|
289
289
|
{
|
|
290
290
|
key: "product-concept",
|
|
291
291
|
label: "领域模型",
|
|
292
|
-
icon: /* @__PURE__ */ e(
|
|
292
|
+
icon: /* @__PURE__ */ e(pe, {}),
|
|
293
293
|
path: "/z-product/concept-model",
|
|
294
294
|
desc: "概念与关系画布(四种投影)"
|
|
295
295
|
},
|
|
@@ -303,7 +303,7 @@ const $e = {
|
|
|
303
303
|
{
|
|
304
304
|
key: "product-designs",
|
|
305
305
|
label: "设计稿 ⇄ 模型",
|
|
306
|
-
icon: /* @__PURE__ */ e(
|
|
306
|
+
icon: /* @__PURE__ */ e(ie, {}),
|
|
307
307
|
path: "/z-product/designs",
|
|
308
308
|
desc: "设计与认知的双向收敛回路"
|
|
309
309
|
}
|
|
@@ -340,7 +340,7 @@ const $e = {
|
|
|
340
340
|
{
|
|
341
341
|
key: "subscribe",
|
|
342
342
|
label: "订阅中心",
|
|
343
|
-
icon: /* @__PURE__ */ e(
|
|
343
|
+
icon: /* @__PURE__ */ e(me, {}),
|
|
344
344
|
path: "/subscribe/list",
|
|
345
345
|
desc: "第三方数据订阅与拉取"
|
|
346
346
|
},
|
|
@@ -353,8 +353,8 @@ const $e = {
|
|
|
353
353
|
}
|
|
354
354
|
]
|
|
355
355
|
}
|
|
356
|
-
], M = [...ee,
|
|
357
|
-
function
|
|
356
|
+
], M = [...ee, Ke];
|
|
357
|
+
function Fe({
|
|
358
358
|
activePathOverride: s,
|
|
359
359
|
menuOnly: l = !1,
|
|
360
360
|
visibleGroups: p
|
|
@@ -363,7 +363,7 @@ function Ke({
|
|
|
363
363
|
() => p ? M.filter((a) => p.includes(a.title)) : ee,
|
|
364
364
|
[p]
|
|
365
365
|
), h = U((a) => a.permissionState), P = U((a) => a.currentUser), _ = y(
|
|
366
|
-
() => h === "failed" ? w :
|
|
366
|
+
() => h === "failed" ? w : be(w, P),
|
|
367
367
|
[w, P, h]
|
|
368
368
|
), [d, f] = z(
|
|
369
369
|
new Set(M.map((a) => a.title))
|
|
@@ -394,7 +394,7 @@ function Ke({
|
|
|
394
394
|
);
|
|
395
395
|
return /* @__PURE__ */ r("div", { className: n.container, children: [
|
|
396
396
|
/* @__PURE__ */ r("aside", { className: n.sidebar, children: [
|
|
397
|
-
/* @__PURE__ */ e(
|
|
397
|
+
/* @__PURE__ */ e(ge, {}),
|
|
398
398
|
/* @__PURE__ */ e("nav", { className: n.menuList, children: _.map((a) => {
|
|
399
399
|
const u = d.has(a.title);
|
|
400
400
|
return /* @__PURE__ */ r("div", { className: n.menuGroup, children: [
|
|
@@ -486,98 +486,98 @@ function Ke({
|
|
|
486
486
|
] }) })
|
|
487
487
|
] });
|
|
488
488
|
}
|
|
489
|
-
const
|
|
490
|
-
shellWrap:
|
|
491
|
-
shell:
|
|
492
|
-
main:
|
|
493
|
-
productBanner:
|
|
494
|
-
productBannerLabel:
|
|
495
|
-
productBannerName:
|
|
496
|
-
productBannerCode:
|
|
497
|
-
productBannerBack:
|
|
498
|
-
empty:
|
|
499
|
-
emptyIcon:
|
|
500
|
-
emptyText:
|
|
489
|
+
const Qe = "_shellWrap_16wfm_6", Ye = "_shell_16wfm_6", Ze = "_main_16wfm_30", Ve = "_productBanner_16wfm_41", Je = "_productBannerLabel_16wfm_53", Xe = "_productBannerName_16wfm_59", et = "_productBannerCode_16wfm_67", tt = "_productBannerBack_16wfm_72", at = "_empty_16wfm_89", nt = "_emptyIcon_16wfm_99", ot = "_emptyText_16wfm_104", m = {
|
|
490
|
+
shellWrap: Qe,
|
|
491
|
+
shell: Ye,
|
|
492
|
+
main: Ze,
|
|
493
|
+
productBanner: Ve,
|
|
494
|
+
productBannerLabel: Je,
|
|
495
|
+
productBannerName: Xe,
|
|
496
|
+
productBannerCode: et,
|
|
497
|
+
productBannerBack: tt,
|
|
498
|
+
empty: at,
|
|
499
|
+
emptyIcon: nt,
|
|
500
|
+
emptyText: ot
|
|
501
501
|
};
|
|
502
|
-
|
|
503
|
-
const t = (s, l) => g(() => s().then((p) => ({ default: p[l] }))),
|
|
504
|
-
function
|
|
502
|
+
_e();
|
|
503
|
+
const t = (s, l) => g(() => s().then((p) => ({ default: p[l] }))), ct = t(() => import("@yuku123/z-ctc-component"), "AccountManagement"), st = t(() => import("@yuku123/z-ctc-component"), "ApplicationManagement"), lt = t(() => import("@yuku123/z-ctc-component"), "AuditPage"), rt = t(() => import("@yuku123/z-ctc-component"), "CtcOverview"), pt = t(() => import("@yuku123/z-ctc-component"), "DictPage"), it = t(() => import("@yuku123/z-ctc-component"), "OrgPage"), mt = t(() => import("@yuku123/z-ctc-component"), "PermissionManagement"), ut = t(() => import("@yuku123/z-ctc-component"), "RoleManagement"), $ = t(() => import("@yuku123/z-ctc-component"), "SurlManagement"), dt = t(() => import("@yuku123/z-ctc-component"), "TenantManagement"), ht = t(() => import("@yuku123/z-agent-component"), "AgentAppList"), bt = t(() => import("@yuku123/z-agent-component"), "AgentDashboard"), gt = t(() => import("@yuku123/z-agent-component"), "AkManage"), _t = t(() => import("@yuku123/z-agent-component"), "BucketList"), kt = t(() => import("@yuku123/z-agent-component"), "LlmManage"), yt = t(() => import("@yuku123/z-agent-component"), "McpPage"), St = t(() => import("@yuku123/z-agent-component"), "ObjectBrowser"), wt = t(() => import("@yuku123/z-agent-component"), "ScriptCenterPage"), ft = t(() => import("@yuku123/z-agent-component"), "ScriptProductizationPage"), At = t(() => import("@yuku123/z-agent-component"), "SkillMarket"), Pt = t(() => import("./index-BQGowWbj.js"), "AgentTeamIM"), K = t(() => import("./index-BQGowWbj.js"), "DebugPlayground"), vt = t(() => import("./index-BQGowWbj.js"), "Overview"), F = t(() => import("./index-BQGowWbj.js"), "Webide"), Dt = g(() => import("./OnboardingPage-DFEcS1x0.js")), Nt = g(() => import("./InvitationManagementPage-BE0XMvKc.js")), Ct = t(() => import("@yuku123/z-config-component"), "ConfigApp"), Mt = t(() => import("@yuku123/z-task-component"), "TaskApp"), Gt = t(() => import("@yuku123/z-wf-component"), "WorkflowApp"), It = t(() => import("@yuku123/z-schedule-component"), "ScheduleApp"), Ot = t(() => import("@yuku123/z-mist-component"), "MistApp"), Lt = t(() => import("@yuku123/z-meta-component"), "MetaApp"), Bt = t(() => import("@yuku123/z-msg-component"), "MsgApp"), zt = t(() => import("@yuku123/z-rpc-component"), "RpcApp"), Tt = g(() => import("./ComponentDoc-CCLp3t9q.js").then((s) => s.cp)), xt = g(() => import("./ComponentDoc-CCLp3t9q.js").then((s) => s.cq)), Et = t(() => import("@yuku123/z-config-component"), "ComponentDocPage"), Rt = t(() => import("@yuku123/z-task-component"), "ComponentDocPage"), qt = t(() => import("@yuku123/z-wf-component"), "ComponentDocPage"), Ht = t(() => import("@yuku123/z-schedule-component"), "ComponentDocPage"), jt = t(() => import("@yuku123/z-mist-component"), "ComponentDocPage"), Wt = t(() => import("@yuku123/z-meta-component"), "ComponentDocPage"), Ut = t(() => import("@yuku123/z-msg-component"), "ComponentDocPage"), $t = t(() => import("@yuku123/z-rpc-component"), "ComponentDocPage"), Kt = t(() => import("@yuku123/z-cognition-kb-component"), "ComponentDocPage"), Ft = t(() => import("@yuku123/z-product-component"), "ComponentDocPage"), Qt = t(() => import("@yuku123/z-oss-component"), "ComponentDocPage"), Yt = t(() => import("@yuku123/z-vector-component"), "ComponentDocPage"), Zt = t(() => import("@yuku123/z-graph-component"), "ComponentDocPage"), Vt = t(() => import("@yuku123/z-gw-component"), "ComponentDocPage"), Jt = t(() => import("@yuku123/z-cache-component"), "ComponentDocPage"), Xt = t(() => import("@yuku123/z-mq-component"), "ComponentDocPage"), ea = t(() => import("@yuku123/z-ctc-component"), "ComponentDocPage"), ta = t(() => import("@yuku123/z-agent-component"), "ComponentDocPage"), aa = t(() => import("@yuku123/z-lc-component"), "ComponentDocPage"), na = t(() => import("@yuku123/z-qa-component"), "ComponentDocPage"), oa = g(() => import("./ComponentDoc-CCLp3t9q.js").then((s) => s.co)), Q = g(() => import("@yuku123/z-qa-component"));
|
|
504
|
+
function ca() {
|
|
505
505
|
return /* @__PURE__ */ r("div", { className: m.empty, children: [
|
|
506
506
|
/* @__PURE__ */ e("div", { className: m.emptyIcon, children: "📋" }),
|
|
507
507
|
/* @__PURE__ */ e("div", { className: m.emptyText, children: "请从左侧菜单选择模块" })
|
|
508
508
|
] });
|
|
509
509
|
}
|
|
510
|
-
function
|
|
510
|
+
function sa() {
|
|
511
511
|
const { pathname: s } = O();
|
|
512
512
|
return /* @__PURE__ */ e(c, { to: s.replace(/^\/product/, "/z-product"), replace: !0 });
|
|
513
513
|
}
|
|
514
514
|
const Y = [
|
|
515
515
|
// ─── 顶层 / 概览 ───
|
|
516
|
-
{ path: "/overview", element: /* @__PURE__ */ e(
|
|
516
|
+
{ path: "/overview", element: /* @__PURE__ */ e(vt, {}) },
|
|
517
517
|
// ─── 4A 中心 (/ctc/*) ───
|
|
518
518
|
{ path: "/ctc", element: /* @__PURE__ */ e(c, { to: "/ctc/4a/account", replace: !0 }) },
|
|
519
|
-
{ path: "/ctc/4a/account", element: /* @__PURE__ */ e(
|
|
520
|
-
{ path: "/ctc/4a/role", element: /* @__PURE__ */ e(
|
|
521
|
-
{ path: "/ctc/4a/application", element: /* @__PURE__ */ e(
|
|
522
|
-
{ path: "/ctc/4a/tenant", element: /* @__PURE__ */ e(
|
|
523
|
-
{ path: "/ctc/4a/org", element: /* @__PURE__ */ e(
|
|
524
|
-
{ path: "/ctc/4a/permission", element: /* @__PURE__ */ e(
|
|
519
|
+
{ path: "/ctc/4a/account", element: /* @__PURE__ */ e(ct, {}) },
|
|
520
|
+
{ path: "/ctc/4a/role", element: /* @__PURE__ */ e(ut, {}) },
|
|
521
|
+
{ path: "/ctc/4a/application", element: /* @__PURE__ */ e(st, {}) },
|
|
522
|
+
{ path: "/ctc/4a/tenant", element: /* @__PURE__ */ e(dt, {}) },
|
|
523
|
+
{ path: "/ctc/4a/org", element: /* @__PURE__ */ e(it, {}) },
|
|
524
|
+
{ path: "/ctc/4a/permission", element: /* @__PURE__ */ e(mt, {}) },
|
|
525
525
|
{ path: "/ctc/4a/surl", element: /* @__PURE__ */ e($, {}) },
|
|
526
|
-
{ path: "/ctc/dict", element: /* @__PURE__ */ e(
|
|
527
|
-
{ path: "/ctc/overview", element: /* @__PURE__ */ e(
|
|
528
|
-
{ path: "/ctc/audit", element: /* @__PURE__ */ e(
|
|
526
|
+
{ path: "/ctc/dict", element: /* @__PURE__ */ e(pt, {}) },
|
|
527
|
+
{ path: "/ctc/overview", element: /* @__PURE__ */ e(rt, {}) },
|
|
528
|
+
{ path: "/ctc/audit", element: /* @__PURE__ */ e(lt, {}) },
|
|
529
529
|
{ path: "/ctc/webide", element: /* @__PURE__ */ e(F, {}) },
|
|
530
|
-
{ path: "/ctc/agent-team", element: /* @__PURE__ */ e(
|
|
531
|
-
{ path: "/ctc/invitation", element: /* @__PURE__ */ e(
|
|
532
|
-
{ path: "/onboarding", element: /* @__PURE__ */ e(
|
|
530
|
+
{ path: "/ctc/agent-team", element: /* @__PURE__ */ e(Pt, {}) },
|
|
531
|
+
{ path: "/ctc/invitation", element: /* @__PURE__ */ e(Nt, {}) },
|
|
532
|
+
{ path: "/onboarding", element: /* @__PURE__ */ e(Dt, {}) },
|
|
533
533
|
// ─── 智能中心 (/ai/*) ───
|
|
534
534
|
{ path: "/ai", element: /* @__PURE__ */ e(c, { to: "/ai/agent/app", replace: !0 }) },
|
|
535
535
|
{ path: "/ai/agent", element: /* @__PURE__ */ e(c, { to: "/ai/agent/app", replace: !0 }) },
|
|
536
|
-
{ path: "/ai/agent/app", element: /* @__PURE__ */ e(
|
|
537
|
-
{ path: "/ai/llm", element: /* @__PURE__ */ e(
|
|
536
|
+
{ path: "/ai/agent/app", element: /* @__PURE__ */ e(ht, {}) },
|
|
537
|
+
{ path: "/ai/llm", element: /* @__PURE__ */ e(kt, {}) },
|
|
538
538
|
{ path: "/ai/llm/provider", element: /* @__PURE__ */ e(c, { to: "/ai/llm", replace: !0 }) },
|
|
539
539
|
{ path: "/ai/llm/model", element: /* @__PURE__ */ e(c, { to: "/ai/llm", replace: !0 }) },
|
|
540
540
|
{ path: "/ai/usage", element: /* @__PURE__ */ e(c, { to: "/ai/llm", replace: !0 }) },
|
|
541
|
-
{ path: "/ai/ak", element: /* @__PURE__ */ e(
|
|
542
|
-
{ path: "/ai/mcp", element: /* @__PURE__ */ e(
|
|
543
|
-
{ path: "/ai/skill", element: /* @__PURE__ */ e(
|
|
541
|
+
{ path: "/ai/ak", element: /* @__PURE__ */ e(gt, {}) },
|
|
542
|
+
{ path: "/ai/mcp", element: /* @__PURE__ */ e(yt, {}) },
|
|
543
|
+
{ path: "/ai/skill", element: /* @__PURE__ */ e(At, {}) },
|
|
544
544
|
{ path: "/ai/oss", element: /* @__PURE__ */ e(c, { to: "/ai/oss/bucket", replace: !0 }) },
|
|
545
|
-
{ path: "/ai/oss/bucket", element: /* @__PURE__ */ e(
|
|
546
|
-
{ path: "/ai/oss/bucket/:bucketName", element: /* @__PURE__ */ e(
|
|
545
|
+
{ path: "/ai/oss/bucket", element: /* @__PURE__ */ e(_t, {}) },
|
|
546
|
+
{ path: "/ai/oss/bucket/:bucketName", element: /* @__PURE__ */ e(St, {}) },
|
|
547
547
|
{ path: "/ai/trace", element: /* @__PURE__ */ e(K, {}) },
|
|
548
548
|
{ path: "/ai/trace/debug", element: /* @__PURE__ */ e(K, {}) },
|
|
549
|
-
{ path: "/ai/dashboard", element: /* @__PURE__ */ e(
|
|
549
|
+
{ path: "/ai/dashboard", element: /* @__PURE__ */ e(bt, {}) },
|
|
550
550
|
// 多 Agent 实例 / 模板市场已下线 (2026-10-22): 模板并入 Agent 应用页,
|
|
551
551
|
// 旧深链重定向, 别再回到独立菜单
|
|
552
552
|
{ path: "/ai/template", element: /* @__PURE__ */ e(c, { to: "/ai/agent/app", replace: !0 }) },
|
|
553
553
|
{ path: "/ai/agent-instance", element: /* @__PURE__ */ e(c, { to: "/ai/agent/app", replace: !0 }) },
|
|
554
554
|
{ path: "/ai/agent/instances", element: /* @__PURE__ */ e(c, { to: "/ai/agent/app", replace: !0 }) },
|
|
555
555
|
// ─── 配置中心 ───
|
|
556
|
-
{ path: "/config/*", element: /* @__PURE__ */ e(
|
|
556
|
+
{ path: "/config/*", element: /* @__PURE__ */ e(Ct, {}) },
|
|
557
557
|
// ─── 任务中心 ───
|
|
558
558
|
// 模块根路径要重定向到默认页:通配 /task/* 匹配不到裸 /task(matchPattern 要求
|
|
559
559
|
// 前缀带斜杠),落到 SystemShellEmpty 就是一句"请从左侧菜单选择模块"的空壳。
|
|
560
560
|
{ path: "/task", element: /* @__PURE__ */ e(c, { to: "/task/dashboard", replace: !0 }) },
|
|
561
|
-
{ path: "/task/*", element: /* @__PURE__ */ e(
|
|
561
|
+
{ path: "/task/*", element: /* @__PURE__ */ e(Mt, {}) },
|
|
562
562
|
// ─── 流程中心 ───
|
|
563
563
|
{ path: "/workflow", element: /* @__PURE__ */ e(c, { to: "/workflow/dashboard", replace: !0 }) },
|
|
564
|
-
{ path: "/workflow/*", element: /* @__PURE__ */ e(
|
|
564
|
+
{ path: "/workflow/*", element: /* @__PURE__ */ e(Gt, {}) },
|
|
565
565
|
// ─── 调度中心 ───
|
|
566
566
|
// 默认页是 jobs:z-schedule-component 的路由只有 jobs / group / log,没有 dashboard。
|
|
567
567
|
{ path: "/schedule", element: /* @__PURE__ */ e(c, { to: "/schedule/jobs", replace: !0 }) },
|
|
568
|
-
{ path: "/schedule/*", element: /* @__PURE__ */ e(
|
|
568
|
+
{ path: "/schedule/*", element: /* @__PURE__ */ e(It, {}) },
|
|
569
569
|
// ─── 密钥中心 ───
|
|
570
|
-
{ path: "/mist/*", element: /* @__PURE__ */ e(
|
|
570
|
+
{ path: "/mist/*", element: /* @__PURE__ */ e(Ot, {}) },
|
|
571
571
|
// ─── 中间件孵化页 (大需求 004) — 主入口在运维工作台 (?mode=ops),此处兜住直链/刷新 ───
|
|
572
572
|
{ path: "/meta", element: /* @__PURE__ */ e(c, { to: "/meta/app", replace: !0 }) },
|
|
573
|
-
{ path: "/meta/*", element: /* @__PURE__ */ e(
|
|
573
|
+
{ path: "/meta/*", element: /* @__PURE__ */ e(Lt, {}) },
|
|
574
574
|
{ path: "/msg", element: /* @__PURE__ */ e(c, { to: "/msg/inbox", replace: !0 }) },
|
|
575
|
-
{ path: "/msg/*", element: /* @__PURE__ */ e(
|
|
575
|
+
{ path: "/msg/*", element: /* @__PURE__ */ e(Bt, {}) },
|
|
576
576
|
{ path: "/rpc", element: /* @__PURE__ */ e(c, { to: "/rpc/service", replace: !0 }) },
|
|
577
|
-
{ path: "/rpc/*", element: /* @__PURE__ */ e(
|
|
577
|
+
{ path: "/rpc/*", element: /* @__PURE__ */ e(zt, {}) },
|
|
578
578
|
// ─── 订阅中心 ───
|
|
579
579
|
{ path: "/subscribe", element: /* @__PURE__ */ e(c, { to: "/subscribe/list", replace: !0 }) },
|
|
580
|
-
{ path: "/subscribe/*", element: /* @__PURE__ */ e(
|
|
580
|
+
{ path: "/subscribe/*", element: /* @__PURE__ */ e(Tt, {}) },
|
|
581
581
|
// ─── 产品工作台 z-product (2026-10-21 接入) ───
|
|
582
582
|
// /z-product/* 由 z-product 组件自己的 ProductApp 渲染(内部按 manifest 的绝对路径手工匹配,
|
|
583
583
|
// 不用嵌套 <Routes>:这里没有 Route 父上下文,绝对路径不会被再拼一次父前缀)。
|
|
@@ -586,24 +586,24 @@ const Y = [
|
|
|
586
586
|
// 产品域的默认落地页是工坊:它是「一个面板干完产品业务开发」的入口,
|
|
587
587
|
// 全景/蓝图是看板,不是第一动作。
|
|
588
588
|
{ path: "/z-product", element: /* @__PURE__ */ e(c, { to: "/z-product/atelier", replace: !0 }) },
|
|
589
|
-
{ path: "/z-product/*", element: /* @__PURE__ */ e(
|
|
589
|
+
{ path: "/z-product/*", element: /* @__PURE__ */ e(ke, { basePath: "/z-product" }) },
|
|
590
590
|
// 旧前缀 /product/* → 新前缀 /z-product/*:§14 前缀化之前的老 URL 仍可达(书签 / 旧分享链接)。
|
|
591
591
|
{ path: "/product", element: /* @__PURE__ */ e(c, { to: "/z-product/atelier", replace: !0 }) },
|
|
592
|
-
{ path: "/product/*", element: /* @__PURE__ */ e(
|
|
592
|
+
{ path: "/product/*", element: /* @__PURE__ */ e(sa, {}) },
|
|
593
593
|
// ─── 项目中心 ───
|
|
594
594
|
{ path: "/project", element: /* @__PURE__ */ e(c, { to: "/project/list", replace: !0 }) },
|
|
595
|
-
{ path: "/project/*", element: /* @__PURE__ */ e(
|
|
595
|
+
{ path: "/project/*", element: /* @__PURE__ */ e(xt, {}) },
|
|
596
596
|
// ─── 脚本中心 (/script/*) — FEATURE052 ───
|
|
597
597
|
{ path: "/script", element: /* @__PURE__ */ e(c, { to: "/script/manage", replace: !0 }) },
|
|
598
|
-
{ path: "/script/manage", element: /* @__PURE__ */ e(
|
|
599
|
-
{ path: "/script/productization", element: /* @__PURE__ */ e(
|
|
598
|
+
{ path: "/script/manage", element: /* @__PURE__ */ e(wt, {}) },
|
|
599
|
+
{ path: "/script/productization", element: /* @__PURE__ */ e(ft, {}) },
|
|
600
600
|
// ─── 工具中心 (/z-tool/*) — FEATURE054 ───
|
|
601
601
|
{ path: "/z-tool", element: /* @__PURE__ */ e(c, { to: "/z-tool/curl", replace: !0 }) },
|
|
602
602
|
{ path: "/z-tool/curl", element: /* @__PURE__ */ e($, {}) },
|
|
603
603
|
{ path: "/z-tool/webide", element: /* @__PURE__ */ e(F, {}) },
|
|
604
604
|
// ─── 测试中心 (/test/*) — FEATURE061 ───
|
|
605
605
|
{ path: "/test", element: /* @__PURE__ */ e(c, { to: "/test/qa/dashboard", replace: !0 }) },
|
|
606
|
-
{ path: "/test/mock", element: /* @__PURE__ */ e(
|
|
606
|
+
{ path: "/test/mock", element: /* @__PURE__ */ e(oa, {}) },
|
|
607
607
|
// QAApp 内部用 <Routes> 相对路由, 通配匹配后由 QAApp 自己接管子路径
|
|
608
608
|
{ path: "/test/qa", element: /* @__PURE__ */ e(Q, {}) },
|
|
609
609
|
{ path: "/test/qa/*", element: /* @__PURE__ */ e(Q, {}) },
|
|
@@ -638,40 +638,40 @@ const Y = [
|
|
|
638
638
|
// §14 铁律(菜单 key 必须带产品名前缀)针对的是**同一宿主内多套件共存**的撞车问题;
|
|
639
639
|
// 这里每个域的宿主前缀本身就已经是产品名(/config / /task / /workflow …),
|
|
640
640
|
// 且各域之间前缀互不相同 ⇒ 不存在撞车,不需要再加 z- 前缀。
|
|
641
|
-
{ path: "/config/docs", element: /* @__PURE__ */ e(
|
|
642
|
-
{ path: "/task/docs", element: /* @__PURE__ */ e(
|
|
643
|
-
{ path: "/workflow/docs", element: /* @__PURE__ */ e(
|
|
644
|
-
{ path: "/schedule/docs", element: /* @__PURE__ */ e(
|
|
645
|
-
{ path: "/mist/docs", element: /* @__PURE__ */ e(
|
|
646
|
-
{ path: "/meta/docs", element: /* @__PURE__ */ e(
|
|
647
|
-
{ path: "/msg/docs", element: /* @__PURE__ */ e(
|
|
648
|
-
{ path: "/rpc/docs", element: /* @__PURE__ */ e(
|
|
649
|
-
{ path: "/kb/docs", element: /* @__PURE__ */ e(
|
|
650
|
-
{ path: "/z-product/docs", element: /* @__PURE__ */ e(
|
|
651
|
-
{ path: "/oss/docs", element: /* @__PURE__ */ e(
|
|
652
|
-
{ path: "/vector/docs", element: /* @__PURE__ */ e(
|
|
653
|
-
{ path: "/graph/docs", element: /* @__PURE__ */ e(
|
|
654
|
-
{ path: "/gw/docs", element: /* @__PURE__ */ e(
|
|
655
|
-
{ path: "/cache/docs", element: /* @__PURE__ */ e(
|
|
656
|
-
{ path: "/mq/docs", element: /* @__PURE__ */ e(
|
|
657
|
-
{ path: "/ctc/docs", element: /* @__PURE__ */ e(
|
|
658
|
-
{ path: "/ai/docs", element: /* @__PURE__ */ e(
|
|
659
|
-
{ path: "/lc/docs", element: /* @__PURE__ */ e(
|
|
660
|
-
{ path: "/test/qa/docs", element: /* @__PURE__ */ e(
|
|
641
|
+
{ path: "/config/docs", element: /* @__PURE__ */ e(Et, {}) },
|
|
642
|
+
{ path: "/task/docs", element: /* @__PURE__ */ e(Rt, {}) },
|
|
643
|
+
{ path: "/workflow/docs", element: /* @__PURE__ */ e(qt, {}) },
|
|
644
|
+
{ path: "/schedule/docs", element: /* @__PURE__ */ e(Ht, {}) },
|
|
645
|
+
{ path: "/mist/docs", element: /* @__PURE__ */ e(jt, {}) },
|
|
646
|
+
{ path: "/meta/docs", element: /* @__PURE__ */ e(Wt, {}) },
|
|
647
|
+
{ path: "/msg/docs", element: /* @__PURE__ */ e(Ut, {}) },
|
|
648
|
+
{ path: "/rpc/docs", element: /* @__PURE__ */ e($t, {}) },
|
|
649
|
+
{ path: "/kb/docs", element: /* @__PURE__ */ e(Kt, {}) },
|
|
650
|
+
{ path: "/z-product/docs", element: /* @__PURE__ */ e(Ft, {}) },
|
|
651
|
+
{ path: "/oss/docs", element: /* @__PURE__ */ e(Qt, {}) },
|
|
652
|
+
{ path: "/vector/docs", element: /* @__PURE__ */ e(Yt, {}) },
|
|
653
|
+
{ path: "/graph/docs", element: /* @__PURE__ */ e(Zt, {}) },
|
|
654
|
+
{ path: "/gw/docs", element: /* @__PURE__ */ e(Vt, {}) },
|
|
655
|
+
{ path: "/cache/docs", element: /* @__PURE__ */ e(Jt, {}) },
|
|
656
|
+
{ path: "/mq/docs", element: /* @__PURE__ */ e(Xt, {}) },
|
|
657
|
+
{ path: "/ctc/docs", element: /* @__PURE__ */ e(ea, {}) },
|
|
658
|
+
{ path: "/ai/docs", element: /* @__PURE__ */ e(ta, {}) },
|
|
659
|
+
{ path: "/lc/docs", element: /* @__PURE__ */ e(aa, {}) },
|
|
660
|
+
{ path: "/test/qa/docs", element: /* @__PURE__ */ e(na, {}) }
|
|
661
661
|
];
|
|
662
|
-
function
|
|
662
|
+
function la(s) {
|
|
663
663
|
for (const l of Y)
|
|
664
664
|
if (l.path === s) return l.element;
|
|
665
665
|
for (const l of Y)
|
|
666
|
-
if (
|
|
667
|
-
return /* @__PURE__ */ e(
|
|
666
|
+
if (ra(l.path, s)) return l.element;
|
|
667
|
+
return /* @__PURE__ */ e(ca, {});
|
|
668
668
|
}
|
|
669
|
-
function
|
|
669
|
+
function ra(s, l) {
|
|
670
670
|
if (!s.includes("*") && !s.includes(":")) return !1;
|
|
671
671
|
const p = "^" + s.replace(/[.+?^${}()|[\]\\]/g, "\\$&").replace(/\*/g, ".*").replace(/:([a-zA-Z_][a-zA-Z0-9_]*)/g, "[^/]+") + "$";
|
|
672
672
|
return new RegExp(p).test(l);
|
|
673
673
|
}
|
|
674
|
-
function
|
|
674
|
+
function _a() {
|
|
675
675
|
const s = Z(), { pathname: l, search: p } = O(), S = l.startsWith("/test/") || (() => {
|
|
676
676
|
try {
|
|
677
677
|
return new URLSearchParams(p).get("mode") === "test";
|
|
@@ -685,11 +685,11 @@ function ga() {
|
|
|
685
685
|
} catch {
|
|
686
686
|
return null;
|
|
687
687
|
}
|
|
688
|
-
}, [p]), w =
|
|
688
|
+
}, [p]), w = oe(() => {
|
|
689
689
|
if (!i) return;
|
|
690
690
|
const d = new URLSearchParams();
|
|
691
691
|
d.set("product", i.code), i.name && d.set("productName", i.name), s(`/workspace?mode=product&${d.toString()}`);
|
|
692
|
-
}, [i, s]), h = S && !l.startsWith("/test") ? "/test/qa/dashboard" : l, P = y(() => h, [h]), _ = y(() =>
|
|
692
|
+
}, [i, s]), h = S && !l.startsWith("/test") ? "/test/qa/dashboard" : l, P = y(() => h, [h]), _ = y(() => la(h), [h]);
|
|
693
693
|
return /* @__PURE__ */ r("div", { className: m.shellWrap, children: [
|
|
694
694
|
i && /* @__PURE__ */ r("div", { className: m.productBanner, children: [
|
|
695
695
|
/* @__PURE__ */ e("span", { className: m.productBannerLabel, children: "📦 当前产品" }),
|
|
@@ -699,7 +699,7 @@ function ga() {
|
|
|
699
699
|
] }),
|
|
700
700
|
/* @__PURE__ */ r("div", { className: m.shell, children: [
|
|
701
701
|
/* @__PURE__ */ e(
|
|
702
|
-
|
|
702
|
+
Fe,
|
|
703
703
|
{
|
|
704
704
|
activePathOverride: P,
|
|
705
705
|
menuOnly: !0,
|
|
@@ -707,12 +707,12 @@ function ga() {
|
|
|
707
707
|
}
|
|
708
708
|
),
|
|
709
709
|
/* @__PURE__ */ r("main", { className: m.main, children: [
|
|
710
|
-
/* @__PURE__ */ e(
|
|
711
|
-
/* @__PURE__ */ e(
|
|
710
|
+
/* @__PURE__ */ e(ye, {}),
|
|
711
|
+
/* @__PURE__ */ e(Se, { resetKey: l, children: /* @__PURE__ */ e(ce, { fallback: /* @__PURE__ */ e("div", { className: m.empty, children: "加载中…" }), children: _ }) })
|
|
712
712
|
] })
|
|
713
713
|
] })
|
|
714
714
|
] });
|
|
715
715
|
}
|
|
716
716
|
export {
|
|
717
|
-
|
|
717
|
+
_a as default
|
|
718
718
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as f, q as p, a, f as s, B as r, v as $, b as i } from "./ComponentDoc-
|
|
1
|
+
import { u as f, q as p, a, f as s, B as r, v as $, b as i } from "./ComponentDoc-CCLp3t9q.js";
|
|
2
2
|
async function m() {
|
|
3
3
|
f.getState().token && await p().catch(() => {
|
|
4
4
|
}), 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 });
|