@yuku123/z-team-component 0.2.23 → 0.2.25
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/{InvitationManagementPage-BJ0izYip.js → InvitationManagementPage-BnvfjueJ.js} +2 -2
- package/dist/{OnboardingPage-Cde_2B_A.js → OnboardingPage-B1uHZfRm.js} +2 -2
- package/dist/{ProjectApp-CJfqACjb.js → ProjectApp-C6GUGbAD.js} +1 -1
- package/dist/{SystemShell-Cm9eErqQ.js → SystemShell-DSbSJWXv.js} +80 -71
- package/dist/{api-DlnrjUut.js → api-BwXzkm3f.js} +1 -1
- package/dist/{index-1xwvv2Q7.js → index-3AXvDKQz.js} +2 -2
- package/dist/{index-CW2B5_8f.js → index-CkH1OY5_.js} +1 -1
- package/dist/{index-Bla8z6ok.js → index-DPnfP7Cb.js} +2 -2
- package/dist/{index-DUbYCF9y.js → index-DkcpD37-.js} +1 -1
- package/dist/{index-b1BIpgn7.js → index-Jrz1Ho0h.js} +1 -1
- package/dist/{index-DKpz0o-l.js → index-mv7nvapp.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/pages.js +1 -1
- package/package.json +1 -1
|
@@ -2,8 +2,8 @@ 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 r, Button as d, Input as B, Row as ae, Col as z, Card as v, Statistic as S, Alert as T, Space as p, Typography as se, Tabs as de, Popconfirm as F, Table as _, Tag as h, Tooltip as ce, Modal as he, Radio as O, Select as w, InputNumber as ue } from "antd";
|
|
4
4
|
import { PlusOutlined as me, ClockCircleOutlined as $, CheckCircleOutlined as j, LinkOutlined as U, CopyOutlined as x, QrcodeOutlined as M, UserDeleteOutlined as K, TeamOutlined as pe, MailOutlined as q, DeleteOutlined as ye, UserAddOutlined as N, CloseCircleOutlined as W } from "@ant-design/icons";
|
|
5
|
-
import { l as ge, b as fe, g as ve, c as we, d as xe, e as Ce, f as be } from "./api-
|
|
6
|
-
import { b as Ie, T as ke } from "./ProjectApp-
|
|
5
|
+
import { l as ge, b as fe, g as ve, c as we, d as xe, e as Ce, f as be } from "./api-BwXzkm3f.js";
|
|
6
|
+
import { b as Ie, T as ke } from "./ProjectApp-C6GUGbAD.js";
|
|
7
7
|
const { Text: c } = se, De = () => {
|
|
8
8
|
const [C] = m.useForm(), [D, L] = o(!1), [y, G] = o([]), [R, H] = o([]), [J, Q] = o(null), [u, V] = o(""), [X, b] = o(!1), [Y, E] = o(!1), [a, P] = o(null), [l, Z] = o(localStorage.getItem("userInfo") && JSON.parse(localStorage.getItem("userInfo") || "{}").tenantCode || "");
|
|
9
9
|
oe(() => {
|
|
@@ -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 { a as ze } from "./ProjectApp-
|
|
6
|
+
import { g as xe, a as Se, s as Te, r as ke } from "./api-BwXzkm3f.js";
|
|
7
|
+
import { a as ze } from "./ProjectApp-C6GUGbAD.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;
|
|
@@ -8,7 +8,7 @@ import Xe from "axios";
|
|
|
8
8
|
const Z = (t) => {
|
|
9
9
|
const a = Ct(t);
|
|
10
10
|
return (r) => /* @__PURE__ */ e(Tt, { fallback: null, children: /* @__PURE__ */ e(a, { ...r }) });
|
|
11
|
-
}, ce = Z(() => import("./index-
|
|
11
|
+
}, ce = Z(() => import("./index-DPnfP7Cb.js").then((t) => t.E)), Gt = Z(() => import("./index-CGDpGIZC.js")), Vt = Z(() => import("./index-bbwTcNjB.js")), Jt = Z(() => import("./index-8V37FP9c.js")), Xt = Z(() => import("./index-B3ikipDf.js")), Yt = Z(() => import("./index-D5u3BjCZ.js"));
|
|
12
12
|
Z(() => import("./index-C01UUprh.js"));
|
|
13
13
|
const Zt = Z(() => import("./index-CcFJEYgr.js")), Qt = Z(() => import("./index-BmK_rWsV.js")), en = Z(() => import("./index-BkX0I2aB.js")), tn = Z(() => import("./index-DK_aR-Vu.js")), nn = Z(() => import("./index-C1C2qyDr.js")), rn = Z(() => import("./index-BMRIUhOL.js"));
|
|
14
14
|
function lr({ forcedMode: t }) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { useNavigate as
|
|
3
|
-
import { useMemo as S, useState as
|
|
4
|
-
import { DownOutlined as
|
|
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
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",
|
|
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
7
|
container: me,
|
|
8
8
|
sidebar: ue,
|
|
9
9
|
menuList: de,
|
|
@@ -25,15 +25,15 @@ const me = "_container_wbul9_7", ue = "_sidebar_wbul9_17", de = "_menuList_wbul9
|
|
|
25
25
|
detailHeader: Oe,
|
|
26
26
|
detailIcon: Pe,
|
|
27
27
|
detailTitle: Le,
|
|
28
|
-
detailDesc:
|
|
29
|
-
detailAction:
|
|
30
|
-
goBtn:
|
|
31
|
-
emptyState:
|
|
28
|
+
detailDesc: ze,
|
|
29
|
+
detailAction: Te,
|
|
30
|
+
goBtn: Ce,
|
|
31
|
+
emptyState: xe
|
|
32
32
|
};
|
|
33
33
|
function I(l) {
|
|
34
|
-
return l.flatMap((
|
|
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: [
|
|
@@ -242,42 +242,42 @@ const He = {
|
|
|
242
242
|
key: "product-board",
|
|
243
243
|
label: "产品全景",
|
|
244
244
|
icon: /* @__PURE__ */ e(y, {}),
|
|
245
|
-
path: "/product/board",
|
|
245
|
+
path: "/z-product/board",
|
|
246
246
|
desc: "业务/产品/研发三线可见的全量认知(术语·模型·链路·设计稿·缺口)"
|
|
247
247
|
},
|
|
248
248
|
{
|
|
249
249
|
key: "product-blueprint",
|
|
250
250
|
label: "产品蓝图",
|
|
251
251
|
icon: /* @__PURE__ */ e(D, {}),
|
|
252
|
-
path: "/product/blueprint",
|
|
252
|
+
path: "/z-product/blueprint",
|
|
253
253
|
desc: "AI 的唯一入口:后端实时投影的全量认知快照"
|
|
254
254
|
},
|
|
255
255
|
{
|
|
256
256
|
key: "product-glossary",
|
|
257
257
|
label: "统一语言",
|
|
258
258
|
icon: /* @__PURE__ */ e(ne, {}),
|
|
259
|
-
path: "/product/glossary",
|
|
259
|
+
path: "/z-product/glossary",
|
|
260
260
|
desc: "术语仲裁表:标准词/别名/适用范围/反例"
|
|
261
261
|
},
|
|
262
262
|
{
|
|
263
263
|
key: "product-concept",
|
|
264
264
|
label: "领域模型",
|
|
265
265
|
icon: /* @__PURE__ */ e(ce, {}),
|
|
266
|
-
path: "/product/concept-model",
|
|
266
|
+
path: "/z-product/concept-model",
|
|
267
267
|
desc: "概念与关系画布(四种投影)"
|
|
268
268
|
},
|
|
269
269
|
{
|
|
270
270
|
key: "product-scenarios",
|
|
271
271
|
label: "用户链路",
|
|
272
272
|
icon: /* @__PURE__ */ e(C, {}),
|
|
273
|
-
path: "/product/scenarios",
|
|
273
|
+
path: "/z-product/scenarios",
|
|
274
274
|
desc: "端到端场景:步骤引用领域概念"
|
|
275
275
|
},
|
|
276
276
|
{
|
|
277
277
|
key: "product-designs",
|
|
278
278
|
label: "设计稿 ⇄ 模型",
|
|
279
279
|
icon: /* @__PURE__ */ e(le, {}),
|
|
280
|
-
path: "/product/designs",
|
|
280
|
+
path: "/z-product/designs",
|
|
281
281
|
desc: "设计与认知的双向收敛回路"
|
|
282
282
|
}
|
|
283
283
|
]
|
|
@@ -323,28 +323,28 @@ const He = {
|
|
|
323
323
|
}
|
|
324
324
|
]
|
|
325
325
|
}
|
|
326
|
-
], w = [...Z,
|
|
327
|
-
function
|
|
326
|
+
], w = [...Z, De];
|
|
327
|
+
function He({
|
|
328
328
|
activePathOverride: l,
|
|
329
|
-
menuOnly:
|
|
329
|
+
menuOnly: s = !1,
|
|
330
330
|
visibleGroups: r
|
|
331
331
|
} = {}) {
|
|
332
|
-
const _ =
|
|
332
|
+
const _ = U(), { pathname: M } = G(), g = S(
|
|
333
333
|
() => r ? w.filter((a) => r.includes(a.title)) : Z,
|
|
334
334
|
[r]
|
|
335
|
-
), [Q, Y] =
|
|
335
|
+
), [Q, Y] = P(
|
|
336
336
|
new Set(w.map((a) => a.title))
|
|
337
|
-
), [
|
|
337
|
+
), [N, J] = P(
|
|
338
338
|
() => new Set(
|
|
339
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 a = l ??
|
|
343
|
+
const a = l ?? M;
|
|
344
344
|
return ((p = g.flatMap((c) => I(c.items)).find(
|
|
345
345
|
(c) => c.path === a
|
|
346
346
|
)) == null ? void 0 : p.key) ?? null;
|
|
347
|
-
}, [l,
|
|
347
|
+
}, [l, M, g]), V = (a) => {
|
|
348
348
|
Y((p) => {
|
|
349
349
|
const c = new Set(p);
|
|
350
350
|
return c.has(a) ? c.delete(a) : c.add(a), c;
|
|
@@ -354,7 +354,7 @@ function je({
|
|
|
354
354
|
const c = new Set(p);
|
|
355
355
|
return c.has(a) ? c.delete(a) : c.add(a), c;
|
|
356
356
|
});
|
|
357
|
-
},
|
|
357
|
+
}, O = (a) => {
|
|
358
358
|
a.path && _(a.path);
|
|
359
359
|
}, d = g.flatMap((a) => I(a.items)).find(
|
|
360
360
|
(a) => a.key === k
|
|
@@ -371,7 +371,7 @@ function je({
|
|
|
371
371
|
children: [
|
|
372
372
|
/* @__PURE__ */ e("span", { className: n.menuGroupIcon, children: a.icon }),
|
|
373
373
|
/* @__PURE__ */ e("span", { className: n.menuGroupLabel, children: a.title }),
|
|
374
|
-
/* @__PURE__ */ e("span", { className: n.menuGroupArrow, children: p ? /* @__PURE__ */ e(
|
|
374
|
+
/* @__PURE__ */ e("span", { className: n.menuGroupArrow, children: p ? /* @__PURE__ */ e(L, {}) : /* @__PURE__ */ e(z, {}) })
|
|
375
375
|
]
|
|
376
376
|
}
|
|
377
377
|
),
|
|
@@ -387,15 +387,15 @@ function je({
|
|
|
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 }),
|
|
390
|
-
/* @__PURE__ */ e("span", { className: n.menuGroupArrow, children:
|
|
390
|
+
/* @__PURE__ */ e("span", { className: n.menuGroupArrow, children: N.has(c.key) ? /* @__PURE__ */ e(L, {}) : /* @__PURE__ */ e(z, {}) })
|
|
391
391
|
]
|
|
392
392
|
}
|
|
393
393
|
),
|
|
394
|
-
|
|
394
|
+
N.has(c.key) && /* @__PURE__ */ e("ul", { className: n.menuSubList, children: c.children.map((m) => /* @__PURE__ */ i(
|
|
395
395
|
"li",
|
|
396
396
|
{
|
|
397
397
|
className: `${n.menuSubItem} ${k === m.key ? n.menuSubItemActive : ""}`,
|
|
398
|
-
onClick: () =>
|
|
398
|
+
onClick: () => O(m),
|
|
399
399
|
children: [
|
|
400
400
|
/* @__PURE__ */ e(
|
|
401
401
|
"span",
|
|
@@ -414,7 +414,7 @@ function je({
|
|
|
414
414
|
"li",
|
|
415
415
|
{
|
|
416
416
|
className: `${n.menuSubItem} ${k === c.key ? n.menuSubItemActive : ""}`,
|
|
417
|
-
onClick: () =>
|
|
417
|
+
onClick: () => O(c),
|
|
418
418
|
children: [
|
|
419
419
|
/* @__PURE__ */ e("span", { className: n.menuSubItemIcon, children: c.icon }),
|
|
420
420
|
/* @__PURE__ */ e("span", { children: c.label })
|
|
@@ -425,7 +425,7 @@ function je({
|
|
|
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: [
|
|
430
430
|
/* @__PURE__ */ e("div", { className: n.detailIcon, children: d.icon }),
|
|
431
431
|
/* @__PURE__ */ i("div", { children: [
|
|
@@ -450,25 +450,29 @@ function je({
|
|
|
450
450
|
] }) })
|
|
451
451
|
] });
|
|
452
452
|
}
|
|
453
|
-
const
|
|
454
|
-
shell:
|
|
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
455
|
main: Ee,
|
|
456
456
|
empty: qe,
|
|
457
|
-
emptyIcon:
|
|
458
|
-
emptyText:
|
|
459
|
-
}, t = (l,
|
|
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-3AXvDKQz.js"), "AgentTeamIM"), q = t(() => import("./index-3AXvDKQz.js"), "DebugPlayground"), pt = t(() => import("./index-3AXvDKQz.js"), "Overview"), R = t(() => import("./index-3AXvDKQz.js"), "Webide"), mt = u(() => import("./OnboardingPage-B1uHZfRm.js")), ut = u(() => import("./InvitationManagementPage-BnvfjueJ.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-C6GUGbAD.js").then((l) => l.l)), vt = u(() => import("./ProjectApp-C6GUGbAD.js").then((l) => l.m)), wt = u(() => import("./ProjectApp-C6GUGbAD.js").then((l) => l.k)), $ = u(() => import("@yuku123/z-qa-component"));
|
|
460
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 It() {
|
|
467
|
+
const { pathname: l } = G();
|
|
468
|
+
return /* @__PURE__ */ e(o, { to: l.replace(/^\/product/, "/z-product"), replace: !0 });
|
|
469
|
+
}
|
|
466
470
|
const B = [
|
|
467
471
|
// ─── 顶层 / 概览 ───
|
|
468
472
|
{ path: "/overview", element: /* @__PURE__ */ e(pt, {}) },
|
|
469
473
|
// ─── 4A 中心 (/ctc/*) ───
|
|
470
|
-
{ path: "/ctc", element: /* @__PURE__ */ e(
|
|
471
|
-
{ path: "/ctc/4a/account", element: /* @__PURE__ */ e(
|
|
474
|
+
{ path: "/ctc", element: /* @__PURE__ */ e(o, { to: "/ctc/4a/account", replace: !0 }) },
|
|
475
|
+
{ path: "/ctc/4a/account", element: /* @__PURE__ */ e(Be, {}) },
|
|
472
476
|
{ path: "/ctc/4a/role", element: /* @__PURE__ */ e(Ye, {}) },
|
|
473
477
|
{ path: "/ctc/4a/application", element: /* @__PURE__ */ e(Ue, {}) },
|
|
474
478
|
{ path: "/ctc/4a/tenant", element: /* @__PURE__ */ e(Je, {}) },
|
|
@@ -478,30 +482,30 @@ const B = [
|
|
|
478
482
|
{ path: "/ctc/dict", element: /* @__PURE__ */ e(Ke, {}) },
|
|
479
483
|
{ path: "/ctc/overview", element: /* @__PURE__ */ e(Fe, {}) },
|
|
480
484
|
{ path: "/ctc/audit", element: /* @__PURE__ */ e(We, {}) },
|
|
481
|
-
{ path: "/ctc/webide", element: /* @__PURE__ */ e(
|
|
485
|
+
{ path: "/ctc/webide", element: /* @__PURE__ */ e(R, {}) },
|
|
482
486
|
{ path: "/ctc/agent-team", element: /* @__PURE__ */ e(rt, {}) },
|
|
483
487
|
{ path: "/ctc/invitation", element: /* @__PURE__ */ e(ut, {}) },
|
|
484
488
|
{ path: "/onboarding", element: /* @__PURE__ */ e(mt, {}) },
|
|
485
489
|
// ─── 智能中心 (/ai/*) ───
|
|
486
|
-
{ path: "/ai", element: /* @__PURE__ */ e(
|
|
487
|
-
{ path: "/ai/agent", element: /* @__PURE__ */ e(
|
|
490
|
+
{ path: "/ai", element: /* @__PURE__ */ e(o, { to: "/ai/agent/app", replace: !0 }) },
|
|
491
|
+
{ path: "/ai/agent", element: /* @__PURE__ */ e(o, { to: "/ai/agent/app", replace: !0 }) },
|
|
488
492
|
{ path: "/ai/agent/app", element: /* @__PURE__ */ e(Ve, {}) },
|
|
489
493
|
{ path: "/ai/llm", element: /* @__PURE__ */ e(at, {}) },
|
|
490
|
-
{ path: "/ai/llm/provider", element: /* @__PURE__ */ e(
|
|
491
|
-
{ path: "/ai/llm/model", element: /* @__PURE__ */ e(
|
|
492
|
-
{ path: "/ai/usage", element: /* @__PURE__ */ e(
|
|
494
|
+
{ path: "/ai/llm/provider", element: /* @__PURE__ */ e(o, { to: "/ai/llm", replace: !0 }) },
|
|
495
|
+
{ path: "/ai/llm/model", element: /* @__PURE__ */ e(o, { to: "/ai/llm", replace: !0 }) },
|
|
496
|
+
{ path: "/ai/usage", element: /* @__PURE__ */ e(o, { to: "/ai/llm", replace: !0 }) },
|
|
493
497
|
{ path: "/ai/ak", element: /* @__PURE__ */ e(et, {}) },
|
|
494
498
|
{ path: "/ai/mcp", element: /* @__PURE__ */ e(nt, {}) },
|
|
495
499
|
{ path: "/ai/skill", element: /* @__PURE__ */ e(st, {}) },
|
|
496
|
-
{ path: "/ai/oss", element: /* @__PURE__ */ e(
|
|
500
|
+
{ path: "/ai/oss", element: /* @__PURE__ */ e(o, { to: "/ai/oss/bucket", replace: !0 }) },
|
|
497
501
|
{ path: "/ai/oss/bucket", element: /* @__PURE__ */ e(tt, {}) },
|
|
498
502
|
{ path: "/ai/oss/bucket/:bucketName", element: /* @__PURE__ */ e(ct, {}) },
|
|
499
|
-
{ path: "/ai/trace", element: /* @__PURE__ */ e(
|
|
500
|
-
{ path: "/ai/trace/debug", element: /* @__PURE__ */ e(
|
|
503
|
+
{ path: "/ai/trace", element: /* @__PURE__ */ e(q, {}) },
|
|
504
|
+
{ path: "/ai/trace/debug", element: /* @__PURE__ */ e(q, {}) },
|
|
501
505
|
{ path: "/ai/dashboard", element: /* @__PURE__ */ e(Xe, {}) },
|
|
502
506
|
{ path: "/ai/template", element: /* @__PURE__ */ e(it, {}) },
|
|
503
|
-
{ path: "/ai/agent-instance", element: /* @__PURE__ */ e(
|
|
504
|
-
{ path: "/ai/agent/instances", element: /* @__PURE__ */ e(
|
|
507
|
+
{ path: "/ai/agent-instance", element: /* @__PURE__ */ e(E, {}) },
|
|
508
|
+
{ path: "/ai/agent/instances", element: /* @__PURE__ */ e(E, {}) },
|
|
505
509
|
// ─── 配置中心 ───
|
|
506
510
|
{ path: "/config/*", element: /* @__PURE__ */ e(dt, {}) },
|
|
507
511
|
// ─── 任务中心 ───
|
|
@@ -513,31 +517,36 @@ const B = [
|
|
|
513
517
|
// ─── 密钥中心 ───
|
|
514
518
|
{ path: "/mist/*", element: /* @__PURE__ */ e(gt, {}) },
|
|
515
519
|
// ─── 中间件孵化页 (大需求 004) — 主入口在运维工作台 (?mode=ops),此处兜住直链/刷新 ───
|
|
516
|
-
{ path: "/meta", element: /* @__PURE__ */ e(
|
|
520
|
+
{ path: "/meta", element: /* @__PURE__ */ e(o, { to: "/meta/app", replace: !0 }) },
|
|
517
521
|
{ path: "/meta/*", element: /* @__PURE__ */ e(kt, {}) },
|
|
518
|
-
{ path: "/msg", element: /* @__PURE__ */ e(
|
|
522
|
+
{ path: "/msg", element: /* @__PURE__ */ e(o, { to: "/msg/inbox", replace: !0 }) },
|
|
519
523
|
{ path: "/msg/*", element: /* @__PURE__ */ e(yt, {}) },
|
|
520
|
-
{ path: "/rpc", element: /* @__PURE__ */ e(
|
|
524
|
+
{ path: "/rpc", element: /* @__PURE__ */ e(o, { to: "/rpc/service", replace: !0 }) },
|
|
521
525
|
{ path: "/rpc/*", element: /* @__PURE__ */ e(St, {}) },
|
|
522
526
|
// ─── 订阅中心 ───
|
|
523
527
|
{ path: "/subscribe/*", element: /* @__PURE__ */ e(At, {}) },
|
|
524
528
|
// ─── 产品工作台 z-product (2026-10-21 接入) ───
|
|
525
|
-
// /product/* 由 z-product 组件自己的 ProductApp 渲染(内部按
|
|
529
|
+
// /z-product/* 由 z-product 组件自己的 ProductApp 渲染(内部按 manifest 的绝对路径手工匹配,
|
|
526
530
|
// 不用嵌套 <Routes>:这里没有 Route 父上下文,绝对路径不会被再拼一次父前缀)。
|
|
527
|
-
|
|
528
|
-
|
|
531
|
+
// §14:z-product 的菜单 key / 路由 path 一律带产品名前缀(/z-product/xxx),
|
|
532
|
+
// 避免 /board、/products 这类短路径跟宿主自己的同名路由撞车。
|
|
533
|
+
{ path: "/z-product", element: /* @__PURE__ */ e(o, { to: "/z-product/board", replace: !0 }) },
|
|
534
|
+
{ path: "/z-product/*", element: /* @__PURE__ */ e(pe, { basePath: "/z-product" }) },
|
|
535
|
+
// 旧前缀 /product/* → 新前缀 /z-product/*:§14 前缀化之前的老 URL 仍可达(书签 / 旧分享链接)。
|
|
536
|
+
{ path: "/product", element: /* @__PURE__ */ e(o, { to: "/z-product/board", replace: !0 }) },
|
|
537
|
+
{ path: "/product/*", element: /* @__PURE__ */ e(It, {}) },
|
|
529
538
|
// ─── 项目中心 ───
|
|
530
539
|
{ path: "/project/*", element: /* @__PURE__ */ e(vt, {}) },
|
|
531
540
|
// ─── 脚本中心 (/script/*) — FEATURE052 ───
|
|
532
|
-
{ path: "/script", element: /* @__PURE__ */ e(
|
|
541
|
+
{ path: "/script", element: /* @__PURE__ */ e(o, { to: "/script/manage", replace: !0 }) },
|
|
533
542
|
{ path: "/script/manage", element: /* @__PURE__ */ e(lt, {}) },
|
|
534
543
|
{ path: "/script/productization", element: /* @__PURE__ */ e(ot, {}) },
|
|
535
544
|
// ─── 工具中心 (/z-tool/*) — FEATURE054 ───
|
|
536
|
-
{ path: "/z-tool", element: /* @__PURE__ */ e(
|
|
545
|
+
{ path: "/z-tool", element: /* @__PURE__ */ e(o, { to: "/z-tool/curl", replace: !0 }) },
|
|
537
546
|
{ path: "/z-tool/curl", element: /* @__PURE__ */ e(j, {}) },
|
|
538
|
-
{ path: "/z-tool/webide", element: /* @__PURE__ */ e(
|
|
547
|
+
{ path: "/z-tool/webide", element: /* @__PURE__ */ e(R, {}) },
|
|
539
548
|
// ─── 测试中心 (/test/*) — FEATURE061 ───
|
|
540
|
-
{ path: "/test", element: /* @__PURE__ */ e(
|
|
549
|
+
{ path: "/test", element: /* @__PURE__ */ e(o, { to: "/test/qa/dashboard", replace: !0 }) },
|
|
541
550
|
{ path: "/test/mock", element: /* @__PURE__ */ e(wt, {}) },
|
|
542
551
|
// QAApp 内部用 <Routes> 相对路由, 通配匹配后由 QAApp 自己接管子路径
|
|
543
552
|
{ path: "/test/qa", element: /* @__PURE__ */ e($, {}) },
|
|
@@ -559,30 +568,30 @@ const B = [
|
|
|
559
568
|
// 不做逐条映射: z-lc 的工作区路由是 /lc/{appCode}/{entityCode}/{viewType},
|
|
560
569
|
// 比 /form/{entityCode} 多一层 appCode, 旧 URL 里没有这个信息, 无法还原。
|
|
561
570
|
// 故统一重定向到应用列表, 由用户自行进入对应应用。
|
|
562
|
-
{ path: "/form/:entity", element: /* @__PURE__ */ e(
|
|
571
|
+
{ path: "/form/:entity", element: /* @__PURE__ */ e(o, { to: "/lc/apps", replace: !0 }) }
|
|
563
572
|
];
|
|
564
|
-
function
|
|
565
|
-
for (const
|
|
566
|
-
if (
|
|
567
|
-
for (const
|
|
568
|
-
if (
|
|
573
|
+
function Gt(l) {
|
|
574
|
+
for (const s of B)
|
|
575
|
+
if (s.path === l) return s.element;
|
|
576
|
+
for (const s of B)
|
|
577
|
+
if (Mt(s.path, l)) return s.element;
|
|
569
578
|
return /* @__PURE__ */ e(ft, {});
|
|
570
579
|
}
|
|
571
|
-
function
|
|
580
|
+
function Mt(l, s) {
|
|
572
581
|
if (!l.includes("*") && !l.includes(":")) return !1;
|
|
573
582
|
const r = "^" + l.replace(/[.+?^${}()|[\]\\]/g, "\\$&").replace(/\*/g, ".*").replace(/:([a-zA-Z_][a-zA-Z0-9_]*)/g, "[^/]+") + "$";
|
|
574
|
-
return new RegExp(r).test(
|
|
583
|
+
return new RegExp(r).test(s);
|
|
575
584
|
}
|
|
576
585
|
function Tt() {
|
|
577
|
-
|
|
578
|
-
const { pathname: l } =
|
|
586
|
+
U();
|
|
587
|
+
const { pathname: l } = G(), s = l.startsWith("/test/"), r = S(() => l, [l]), _ = S(() => Gt(l), [l]);
|
|
579
588
|
return /* @__PURE__ */ i("div", { className: h.shell, children: [
|
|
580
589
|
/* @__PURE__ */ e(
|
|
581
|
-
|
|
590
|
+
He,
|
|
582
591
|
{
|
|
583
592
|
activePathOverride: r,
|
|
584
593
|
menuOnly: !0,
|
|
585
|
-
visibleGroups:
|
|
594
|
+
visibleGroups: s ? ["测试中心"] : void 0
|
|
586
595
|
}
|
|
587
596
|
),
|
|
588
597
|
/* @__PURE__ */ e("main", { className: h.main, children: /* @__PURE__ */ e(ee, { fallback: /* @__PURE__ */ e("div", { className: h.empty, children: "加载中…" }), children: _ }) })
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AppLayout as k, ErrorBoundary as v, LoginPage as H, StatusTag as K, defaultStatusMap as _ } from "@yuku123/z-frontend-common";
|
|
2
|
-
import { a as y } from "./ProjectApp-
|
|
3
|
-
import { C as F, E as J, c as Q, M as X, d as Y, O as Z, e as $, R as tt, f as et, g as at, h as rt, j as ot, r as nt, r as it, s as lt } from "./ProjectApp-
|
|
2
|
+
import { a as y } from "./ProjectApp-C6GUGbAD.js";
|
|
3
|
+
import { C as F, E as J, c as Q, M as X, d as Y, O as Z, e as $, R as tt, f as et, g as at, h as rt, j as ot, r as nt, r as it, s as lt } from "./ProjectApp-C6GUGbAD.js";
|
|
4
4
|
import { jsxs as a, jsx as t } from "react/jsx-runtime";
|
|
5
5
|
import { useState as i, useEffect as E } from "react";
|
|
6
6
|
import { Card as h, Alert as x, Table as g, Spin as I, Empty as f, Space as R, Button as s, Tag as c } from "antd";
|
|
@@ -8,7 +8,7 @@ import zp from "rehype-highlight";
|
|
|
8
8
|
import Vp from "remark-gfm";
|
|
9
9
|
import { af as oa, ag as eA } from "./api--Fg0hL9Y.js";
|
|
10
10
|
import { u as Dp } from "./useAppStore-wgWaxcyc.js";
|
|
11
|
-
import { f as fa, u as SA, c as PA, a as UA, b as nA, d as rA, e as HA, g as up, t as Qp, h as hp, i as KA, j as jA, k as oA, l as fA } from "./index-
|
|
11
|
+
import { f as fa, u as SA, c as PA, a as UA, b as nA, d as rA, e as HA, g as up, t as Qp, h as hp, i as KA, j as jA, k as oA, l as fA } from "./index-DPnfP7Cb.js";
|
|
12
12
|
import { u as lA, a as xA, f as iA, b as cA, d as Yp, e as TA, g as vA, r as FA, h as dA, i as OA, j as XA, k as RA, l as NA, m as kA, n as WA } from "./createWorkspaceWsHandler-CqGqcTh_.js";
|
|
13
13
|
import { h as r } from "./index.module-CAa-2T7m.js";
|
|
14
14
|
const DA = "_editorView_as93v_7", qA = "_editorTopBar_as93v_16", uA = "_backBtn_as93v_25", mA = "_titleInput_as93v_39", wA = "_summaryBar_as93v_50", BA = "_summaryInput_as93v_55", GA = "_mdToolbar_as93v_67", LA = "_mdBtn_as93v_77", zA = "_mdSep_as93v_84", VA = "_editorBody_as93v_93", gA = "_tocPanel_as93v_100", JA = "_tocHeader_as93v_108", bA = "_tocList_as93v_117", MA = "_tocItem_as93v_122", sA = "_tocEmpty_as93v_137", QA = "_textarea_as93v_144", hA = "_half_as93v_160", YA = "_preview_as93v_163", yA = "_markdown_as93v_173", IA = "_videoEmbed_as93v_185", w = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e, jsxs as n, Fragment as yt } from "react/jsx-runtime";
|
|
2
2
|
import { a as Ie, r as Je, f as Be, B as Oe, u as un, h as xo, j as $o, k as Ct, T as zt, ah as Ao, J as Nn, t as Dt, ai as an, aj as Po, ak as Do, c as Mo, af as Eo, al as ao, am as Fo, x as Ro, G as Bo, i as io, an as Oo, o as jo, l as Wo, n as Ho, m as zo, e as Uo, ao as Go } from "./api--Fg0hL9Y.js";
|
|
3
3
|
import { s as qo, r as sn, f as Vo } from "./ctc-sso-B62FfkZg.js";
|
|
4
|
-
import { i as Ko } from "./ProjectApp-
|
|
4
|
+
import { i as Ko } from "./ProjectApp-C6GUGbAD.js";
|
|
5
5
|
import { r as Jo, h as $n, s as An } from "./sso-user-BE1Ell5F.js";
|
|
6
6
|
import { Drawer as Yo, Spin as Ke, Empty as Lt, Tag as wn, Button as dt, Input as Gt, Tooltip as Ft, Tabs as In, Popconfirm as _n, Modal as qt, Form as Wt, Checkbox as Qo, Select as Zo, Table as Xo, Popover as ea, Dropdown as ta, Avatar as na, message as Pn } from "antd";
|
|
7
7
|
import Ut from "query-string";
|
|
@@ -5236,7 +5236,7 @@ const Ec = "_layout_15i9n_1", Fc = "_banner_15i9n_8", Rc = "_bannerLeft_15i9n_20
|
|
|
5236
5236
|
modeToggleBtn: Rd,
|
|
5237
5237
|
modeToggleBtnActive: Bd,
|
|
5238
5238
|
smartWorkbenchArea: Od
|
|
5239
|
-
}, jd = rt(() => import("./index-
|
|
5239
|
+
}, jd = rt(() => import("./index-Jrz1Ho0h.js")), Wd = rt(() => import("./index-mv7nvapp.js")), Hd = rt(() => import("./index-BaCiSbPR.js")), zd = rt(() => import("./index-CkH1OY5_.js")), Ud = rt(() => import("./index-Bsh58cwF.js")), Gd = rt(() => import("./index-DvIHX7lZ.js")), qd = rt(() => import("./index-C01UUprh.js")), Vd = rt(() => import("./index-C0EIMJI2.js")), Kd = rt(() => import("./index-hPzswwk2.js")), Jd = rt(() => import("./index-DkcpD37-.js")), Yd = rt(() => import("./index-pfzY68PH.js")), Xn = rt(() => import("./SystemShell-DSbSJWXv.js")), Qd = `${window.publicPath ?? "/"}logo.svg`, Zd = [
|
|
5240
5240
|
"/ctc/",
|
|
5241
5241
|
"/ai/",
|
|
5242
5242
|
"/config/",
|
|
@@ -3,7 +3,7 @@ import { useNavigate as K, useParams as ce, useLocation as pe, useRoutes as he }
|
|
|
3
3
|
import { useState as _, useEffect as M, useMemo as ue } from "react";
|
|
4
4
|
import { RocketOutlined as me, AppstoreOutlined as re, BellOutlined as ae, PlayCircleOutlined as V, CheckCircleOutlined as Q, CloseCircleOutlined as X, BulbOutlined as Y, PlusOutlined as q, EditOutlined as ge, CopyOutlined as ne, DeleteOutlined as ye, ArrowLeftOutlined as fe, SaveOutlined as be, ReloadOutlined as we, ShopOutlined as ie, StarFilled as Ie, CloudDownloadOutlined as _e, DashboardOutlined as ke, InfoCircleOutlined as Ce } from "@ant-design/icons";
|
|
5
5
|
import { Typography as $, Row as B, Col as O, Card as F, Statistic as D, Table as U, Tag as b, Form as h, Input as E, Button as g, Space as N, Popconfirm as se, Drawer as W, Select as P, message as y, Tabs as ve, InputNumber as xe, Switch as Ae, Descriptions as R, Timeline as Te, Spin as Se } from "antd";
|
|
6
|
-
import { r as w } from "./ProjectApp-
|
|
6
|
+
import { r as w } from "./ProjectApp-C6GUGbAD.js";
|
|
7
7
|
const { Title: Ee, Paragraph: Ne } = $;
|
|
8
8
|
function G() {
|
|
9
9
|
const [i, A] = _(null), [f, C] = _([]), [l, v] = _(!1), s = async () => {
|
|
@@ -4,7 +4,7 @@ import { RightOutlined as ts, PlusOutlined as cn, LeftOutlined as sl, CheckOutli
|
|
|
4
4
|
import { createElement as Pl, useState as o, useRef as Ae, useMemo as Le, useEffect as oe, useCallback as F, Fragment as Ol } from "react";
|
|
5
5
|
import { createPortal as Hl } from "react-dom";
|
|
6
6
|
import { a as Yt, f as Qt, B as Xt, u as Zt, at as jl, au as qn, k as yt, av as Fl, t as _s, aw as Gl, ax as zl, ay as Ul, J as Wl, az as gs, aA as ql, aB as Kl, q as Vl, aC as Jl, al as Yl, T as Ql, an as fs, aD as Xl, aE as ys, aF as Zl, aG as eo, aH as to, aI as no, aJ as vs, aK as ao } from "./api--Fg0hL9Y.js";
|
|
7
|
-
import { m as bs, n as $n, o as so, p as lo, r as oo, s as io, q as ro, v as Ns, w as _a, x as ks, y as co, z as Cs, A as Kn, B as uo, C as mo, D as ho } from "./index-
|
|
7
|
+
import { m as bs, n as $n, o as so, p as lo, r as oo, s as io, q as ro, v as Ns, w as _a, x as ks, y as co, z as Cs, A as Kn, B as uo, C as mo, D as ho } from "./index-DPnfP7Cb.js";
|
|
8
8
|
import { u as Ye, s as mn } from "./useAppStore-wgWaxcyc.js";
|
|
9
9
|
import { s as po } from "./admin-logs-C2V1ElH9.js";
|
|
10
10
|
import { h as Tn, b as _o, f as go, s as fo, c as yo, d as vo, u as bo, e as No, t as ko, r as Co, m as wo, a as So } from "./schedule-C89oiqIR.js";
|
|
@@ -5,7 +5,7 @@ import { Tooltip as G, Tabs as De, Button as B, Modal as se, Input as ue, Drawer
|
|
|
5
5
|
import { s as t } from "./SmartWorkbench.module-DzQskKT0.js";
|
|
6
6
|
import { AgentAppList as Re, AgentInstanceManager as Ue, TemplateMarket as qe, McpPage as je, SkillMarket as Fe, AgentDashboard as He } from "@yuku123/z-agent-component";
|
|
7
7
|
import "@yuku123/z-frontend-common";
|
|
8
|
-
import "./ProjectApp-
|
|
8
|
+
import "./ProjectApp-C6GUGbAD.js";
|
|
9
9
|
import { D as Ge } from "./DebugPlayground-cxffrMgF.js";
|
|
10
10
|
const oe = "ft_gateway_default_ak", Je = typeof window < "u" && window.ZTEAM_USE_KAPI === !0, ge = Je, We = `${ge ? "/kapi" : ""}/z-team`, z = ge ? "/kapi/z-team-agent-gateway" : "/gateway-api";
|
|
11
11
|
function Ye(a) {
|
package/dist/index.js
CHANGED
package/dist/pages.js
CHANGED