@yuku123/z-team-component 0.2.132 → 0.2.134
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/{index-BkzBYfhO.js → AdminModuleContent-DjEqlai_.js} +13552 -14053
- package/dist/{ChangeLogView-SwacGpsw.js → ChangeLogView-BQCxD0g7.js} +1 -1
- package/dist/{ComponentDoc-Dh5YhLCI.js → ComponentDoc-C1yrRq6Y.js} +707 -713
- package/dist/{InvitationManagementPage-CjEcLOGB.js → InvitationManagementPage-Bbl_HXlG.js} +1 -1
- package/dist/{OnboardingPage-DvNt71kX.js → OnboardingPage-BoYhlfWE.js} +2 -2
- package/dist/{ScheduledTasks-COgb4MZJ.js → ScheduledTasks-0FX6xhIs.js} +6 -6
- package/dist/SystemShell-DNRHYsgT.js +978 -0
- package/dist/{admin-logs-CExsxQ5h.js → admin-logs-OZ3s7ssr.js} +1 -1
- package/dist/{api-DXw93E7c.js → api-B0ComkTL.js} +1 -1
- package/dist/{api-C9kTgVc2.js → api-BgrPNvTB.js} +1 -1
- package/dist/{createWorkspaceWsHandler-BwDUTYXH.js → createWorkspaceWsHandler-CkgJR6Oo.js} +3 -3
- package/dist/{index-D2DFKRUf.js → index-9fGksFL5.js} +1 -1
- package/dist/{index-mEgmHNRO.js → index-Bbs7DMqZ.js} +1 -1
- package/dist/{index-CF3xDZ7q.js → index-Bf-Az5am.js} +4 -4
- package/dist/index-Bf57pWxm.js +311 -0
- package/dist/{index-D_J1ZCy8.js → index-BiCIEDbX.js} +3 -3
- package/dist/{index-DmV6xR7C.js → index-BtCyMeHe.js} +3 -3
- package/dist/{index-9rfSVSTh.js → index-C1sQehbP.js} +2 -2
- package/dist/index-CHLZ4xCe.js +1176 -0
- package/dist/{index-B3uLo8-F.js → index-CM6iVhI3.js} +3 -3
- package/dist/{index-DLK7DuCr.js → index-Cg88iPqc.js} +3 -3
- package/dist/{index-CXEYA7rt.js → index-Cn2CVr2m.js} +2 -2
- package/dist/{index-Ci6_CBwE.js → index-DTKd1x9H.js} +3 -3
- package/dist/{index-DM6XeWFk.js → index-DXvw5NUH.js} +2383 -2416
- package/dist/{index-ftuPuj0s.js → index-Dg_qr92O.js} +1 -1
- package/dist/{index-DMfYPIkB.js → index-Dj88QNYQ.js} +2 -2
- package/dist/{index-t2nMJUPu.js → index-Dx6dKBLL.js} +1 -1
- package/dist/{index-Bs9odXxd.js → index-DxH2PsDU.js} +6 -6
- package/dist/{index-DZ0fYNO9.js → index-Dy5HesOM.js} +11 -11
- package/dist/{index-Ceu-yckM.js → index-M_hPRTgh.js} +12 -12
- package/dist/{index-BoY7L8C4.js → index-TaAkEm82.js} +3 -2
- package/dist/{index-B2Dfbi8J.js → index-dti6XFQV.js} +2 -2
- package/dist/{index-BNPq7yBg.js → index-glQgW-8f.js} +2 -2
- package/dist/{index-CntZHojY.js → index-mHqvjT5a.js} +2 -2
- package/dist/{index-COobH4Vi.js → index-vqAJt3qL.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{instance-DD3kbAUh.js → instance-BXN17-Ol.js} +1 -1
- package/dist/{menuPermission-v0881tid.js → menuPermission-Bw3hPi8i.js} +3 -3
- package/dist/menuTree-Ctcz41N8.js +303 -0
- package/dist/pages.js +1 -1
- package/dist/{send-default-agent-team-message-Cug0T_7J.js → send-default-agent-team-message-DM0C9VL-.js} +1 -1
- package/dist/{sso-user-CnVXqYR7.js → sso-user-F62YVj4w.js} +1 -1
- package/dist/{training-BS23m-yy.js → training-Df00Ilsm.js} +1 -1
- package/dist/{webide-BPJ1IpZq.js → webide-Iw2coFFL.js} +3 -3
- package/dist/z-team-component.css +1 -1
- package/package.json +2 -1
- package/dist/SystemShell-CSXcsiNp.js +0 -752
- package/dist/index-BTJ83JLl.js +0 -1073
- package/dist/index-CU6jFFl5.js +0 -112
- package/dist/index-CZCKpsry.js +0 -607
- package/dist/useSidebarResize--Avuabb1.js +0 -46
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as h, f as _, B as N, D as A, t as g } from "./ComponentDoc-
|
|
1
|
+
import { a as h, f as _, B as N, D as A, t as g } from "./ComponentDoc-C1yrRq6Y.js";
|
|
2
2
|
import { jsx as p, jsxs as I } from "react/jsx-runtime";
|
|
3
3
|
import { useMemo as S, useState as C, useEffect as G, Component as D } from "react";
|
|
4
4
|
function L(t) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as t, jsx as n, Fragment as _ } from "react/jsx-runtime";
|
|
2
2
|
import { useState as i, useRef as D, useCallback as B, useEffect as N } from "react";
|
|
3
|
-
import { u as j } from "./ComponentDoc-
|
|
3
|
+
import { u as j } from "./ComponentDoc-C1yrRq6Y.js";
|
|
4
4
|
/* empty css */
|
|
5
|
-
import { l as F, c as G, a as z, b as K, p as W } from "./api-
|
|
5
|
+
import { l as F, c as G, a as z, b as K, p as W } from "./api-BgrPNvTB.js";
|
|
6
6
|
const L = "dev_brain_scenario";
|
|
7
7
|
function q() {
|
|
8
8
|
var M;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as n, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as N, useRef as _, useEffect as r, useCallback as h } from "react";
|
|
3
3
|
import { h as o } from "./history-BlrA1eaW.js";
|
|
4
|
-
import { C as A } from "./ChangeLogView-
|
|
4
|
+
import { C as A } from "./ChangeLogView-BQCxD0g7.js";
|
|
5
5
|
const T = "_docs_3auja_12", p = "_bgLayer_3auja_59", v = "_bgGrid_3auja_70", y = "_navbar_3auja_87", f = "_navLeft_3auja_103", z = "_navBack_3auja_110", j = "_navBrand_3auja_132", C = "_navLogo_3auja_139", k = "_navTitle_3auja_154", L = "_navLink_3auja_164", I = "_layout_3auja_191", B = "_sidebar_3auja_202", S = "_sidebarInner_3auja_213", O = "_sidebarTitle_3auja_217", q = "_tocItem_3auja_227", P = "_tocActive_3auja_249", E = "_tocNum_3auja_260", D = "_content_3auja_275", G = "_section_3auja_285", K = "_secTitle_3auja_290", w = "_subTitle_3auja_301", M = "_lead_3auja_309", x = "_list_3auja_329", R = "_olist_3auja_360", Z = "_archLayer_3auja_397", F = "_archHead_3auja_412", W = "_archNum_3auja_420", H = "_archHeadText_3auja_432", Q = "_archLabel_3auja_439", U = "_archEn_3auja_446", V = "_archTagline_3auja_453", $ = "_callout_3auja_487", J = "_calloutBlue_3auja_488", Y = "_calloutGreen_3auja_489", X = "_calloutRed_3auja_490", ee = "_inlineCode_3auja_531", le = "_codeBlock_3auja_544", ne = "_tableWrap_3auja_560", ce = "_table_3auja_560", ae = "_tableKey_3auja_602", ie = "_tableIcon_3auja_607", te = "_statusDot_3auja_613", se = "_tone_pending_3auja_622", de = "_tone_running_3auja_626", re = "_tone_suspended_3auja_631", he = "_tone_done_3auja_636", oe = "_tone_failed_3auja_641", me = "_tone_cancelled_3auja_646", ge = "_markGood_3auja_652", ue = "_markBad_3auja_653", be = "_faqList_3auja_667", Ne = "_faqItem_3auja_673", _e = "_faqQ_3auja_687", Ae = "_faqA_3auja_694", Te = "_changelogEmbed_3auja_701", pe = "_changelogTip_3auja_709", ve = "_changelogLink_3auja_715", ye = "_docFooter_3auja_727", fe = "_backBtn_3auja_738", ze = "_docFooterText_3auja_761", l = {
|
|
6
6
|
docs: T,
|
|
7
7
|
bgLayer: p,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as n, jsxs as p, Fragment as J } from "react/jsx-runtime";
|
|
2
|
-
import { S as An, P as Dn } from "./webide-
|
|
2
|
+
import { S as An, P as Dn } from "./webide-Iw2coFFL.js";
|
|
3
3
|
import { Dropdown as en } from "antd";
|
|
4
4
|
import { PlayCircleOutlined as Pn, FileTextOutlined as cn, PlusOutlined as $n, ClockCircleOutlined as jn, AppstoreOutlined as xn, UnorderedListOutlined as En, SettingOutlined as Rn } from "@ant-design/icons";
|
|
5
5
|
import { useState as d, useRef as Ne, useEffect as I, useCallback as B, useMemo as L } from "react";
|
|
6
|
-
import { u as X, o as Mn, q as Kn, t as Fn, n as z, v as Bn, w as ke, x as Hn, y as Wn } from "./ComponentDoc-
|
|
7
|
-
import { s, T as _n, R as De, D as we, f as Zn, a as Gn, F as Pe, P as Vn, L as Un, A as Qn, C as zn, b as Jn, c as Xn, p as Yn, d as qn, e as nn, g as tn, h as et, W as nt, i as tt, S as st, j as at, k as lt, l as sn, m as ot, r as it, n as ct, U as rt, o as dt, q as ut, t as pt } from "./index-
|
|
8
|
-
import { u as rn, i as ht, s as an, c as mt } from "./createWorkspaceWsHandler-
|
|
9
|
-
import { h as ft, f as gt } from "./index-
|
|
10
|
-
import { S as bt, P as yt, L as kt, a as Nt, E as wt, C as Tt, W as ln, b as on, T as vt, c as Ct } from "./ScheduledTasks-
|
|
6
|
+
import { u as X, o as Mn, q as Kn, t as Fn, n as z, v as Bn, w as ke, x as Hn, y as Wn } from "./ComponentDoc-C1yrRq6Y.js";
|
|
7
|
+
import { s, T as _n, R as De, D as we, f as Zn, a as Gn, F as Pe, P as Vn, L as Un, A as Qn, C as zn, b as Jn, c as Xn, p as Yn, d as qn, e as nn, g as tn, h as et, W as nt, i as tt, S as st, j as at, k as lt, l as sn, m as ot, r as it, n as ct, U as rt, o as dt, q as ut, t as pt } from "./index-DXvw5NUH.js";
|
|
8
|
+
import { u as rn, i as ht, s as an, c as mt } from "./createWorkspaceWsHandler-CkgJR6Oo.js";
|
|
9
|
+
import { h as ft, f as gt } from "./index-Dg_qr92O.js";
|
|
10
|
+
import { S as bt, P as yt, L as kt, a as Nt, E as wt, C as Tt, W as ln, b as on, T as vt, c as Ct } from "./ScheduledTasks-0FX6xhIs.js";
|
|
11
11
|
import { TodoTab as St } from "@yuku123/z-task-component";
|
|
12
12
|
const It = [
|
|
13
13
|
"帮我排查一个线上问题",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { AppLayout as v, ErrorBoundary as
|
|
2
|
-
import { d as y } from "./ComponentDoc-
|
|
3
|
-
import {
|
|
1
|
+
import { AppLayout as v, ErrorBoundary as V, LoginPage as _, StatusTag as j, defaultStatusMap as z } from "@yuku123/z-frontend-common";
|
|
2
|
+
import { d as y } from "./ComponentDoc-C1yrRq6Y.js";
|
|
3
|
+
import { G as J, H as Q, I as X, M as Y, J as Z, O as $, K as ee, R as te, L as re, N as ae, Q as oe, U as ne, V as le, V as ie, W as se } from "./ComponentDoc-C1yrRq6Y.js";
|
|
4
4
|
import { jsxs as r, Fragment as h, jsx as e } from "react/jsx-runtime";
|
|
5
5
|
import { useState as n, useEffect as R } from "react";
|
|
6
6
|
import { Alert as I, Space as x, Button as l, Tag as c, Result as T } from "antd";
|
|
7
7
|
import { ReloadOutlined as g, UserAddOutlined as b, TeamOutlined as w, PlusOutlined as E, CodeOutlined as A } from "@ant-design/icons";
|
|
8
8
|
import { ListTable as f } from "@yuku123/z-frontend-common/ui";
|
|
9
|
-
const
|
|
9
|
+
const U = y, O = {
|
|
10
10
|
LEADER: "red",
|
|
11
11
|
WORKER: "blue",
|
|
12
12
|
OBSERVER: "default"
|
|
@@ -139,7 +139,7 @@ function B() {
|
|
|
139
139
|
)
|
|
140
140
|
] });
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function W() {
|
|
143
143
|
return /* @__PURE__ */ e(
|
|
144
144
|
T,
|
|
145
145
|
{
|
|
@@ -153,11 +153,11 @@ export {
|
|
|
153
153
|
q as AgentTeamIM,
|
|
154
154
|
v as AppLayout,
|
|
155
155
|
J as CurlImportModal,
|
|
156
|
-
|
|
156
|
+
W as DebugPlayground,
|
|
157
157
|
Q as EndpointsTab,
|
|
158
158
|
X as EnvironmentsTab,
|
|
159
|
-
|
|
160
|
-
|
|
159
|
+
V as ErrorBoundary,
|
|
160
|
+
_ as LoginPage,
|
|
161
161
|
Y as MockPlatform,
|
|
162
162
|
Z as MockTemplateHelper,
|
|
163
163
|
$ as OpenApiImportModal,
|
|
@@ -165,14 +165,14 @@ export {
|
|
|
165
165
|
te as RecordingsTab,
|
|
166
166
|
re as RequestLogsTab,
|
|
167
167
|
ae as ScenariosTab,
|
|
168
|
-
|
|
168
|
+
j as StatusTag,
|
|
169
169
|
oe as TestCasesTab,
|
|
170
170
|
B as Webide,
|
|
171
171
|
y as authRequest,
|
|
172
172
|
ne as createRequest,
|
|
173
|
-
|
|
173
|
+
U as ctcRequest,
|
|
174
174
|
le as default,
|
|
175
|
-
|
|
175
|
+
z as defaultStatusMap,
|
|
176
176
|
ie as request,
|
|
177
177
|
se as setupInterceptors
|
|
178
178
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsxs as p, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { r as D, f as le } from "./ctc-sso-DtJHC-2M.js";
|
|
3
|
-
import { r as de, h as
|
|
3
|
+
import { r as de, h as X, s as Z } from "./sso-user-F62YVj4w.js";
|
|
4
4
|
import { ArrowLeftOutlined as ue, LogoutOutlined as pe, SearchOutlined as me } from "@ant-design/icons";
|
|
5
|
-
import { Spin as O, Button as
|
|
5
|
+
import { Spin as O, Button as K, Input as he, Empty as Y, Tag as fe, message as ge } from "antd";
|
|
6
6
|
import B from "query-string";
|
|
7
7
|
import { useState as y, useRef as E, useEffect as w, useMemo as J, useCallback as q } from "react";
|
|
8
8
|
import { useLocation as be } from "react-router-dom";
|
|
9
9
|
import { h as A } from "./history-BlrA1eaW.js";
|
|
10
|
-
import { a as ke, C as we } from "./createWorkspaceWsHandler-
|
|
11
|
-
import { u as c,
|
|
12
|
-
import { l as Ce, j as Pe } from "./instance-
|
|
10
|
+
import { a as ke, C as we } from "./createWorkspaceWsHandler-CkgJR6Oo.js";
|
|
11
|
+
import { u as c, X as Se, Y as ye, _ as ve, $ as Ne, a0 as Te, a1 as je, k as ee } from "./ComponentDoc-C1yrRq6Y.js";
|
|
12
|
+
import { l as Ce, j as Pe } from "./instance-BXN17-Ol.js";
|
|
13
13
|
import { i as xe, s as _e } from "./mobile-client-O3yr9h6t.js";
|
|
14
14
|
/* empty css */
|
|
15
|
-
import { s as Ee } from "./admin-logs-
|
|
15
|
+
import { s as Ee } from "./admin-logs-OZ3s7ssr.js";
|
|
16
16
|
const ae = 2e4;
|
|
17
17
|
function Ae(o, i = ae, n = globalThis) {
|
|
18
18
|
let s = null;
|
|
@@ -163,7 +163,7 @@ function Ye() {
|
|
|
163
163
|
const M = 3, N = (b) => {
|
|
164
164
|
const d = c.getState().token;
|
|
165
165
|
if (z.current != null) {
|
|
166
|
-
e || (j(
|
|
166
|
+
e || (j(Z(b)), Q(!0)), ee().then((G) => {
|
|
167
167
|
e || j(G);
|
|
168
168
|
}).catch(() => {
|
|
169
169
|
!e && d && (localStorage.removeItem("z_team_token"), c.setState({ token: "" }));
|
|
@@ -173,7 +173,7 @@ function Ye() {
|
|
|
173
173
|
ee().then((G) => {
|
|
174
174
|
e || j(G);
|
|
175
175
|
}).catch(() => {
|
|
176
|
-
e || (d && (localStorage.removeItem("z_team_token"), c.setState({ token: "" })), j(
|
|
176
|
+
e || (d && (localStorage.removeItem("z_team_token"), c.setState({ token: "" })), j(Z(b)));
|
|
177
177
|
}).finally(() => {
|
|
178
178
|
e || Q(!0);
|
|
179
179
|
});
|
|
@@ -185,7 +185,7 @@ function Ye() {
|
|
|
185
185
|
if (e)
|
|
186
186
|
return;
|
|
187
187
|
let d = de();
|
|
188
|
-
if ((!d || !
|
|
188
|
+
if ((!d || !X(d)) && !x) {
|
|
189
189
|
x = !0;
|
|
190
190
|
try {
|
|
191
191
|
const u = await le();
|
|
@@ -195,7 +195,7 @@ function Ye() {
|
|
|
195
195
|
x = !1;
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
|
-
if (d &&
|
|
198
|
+
if (d && X(d)) {
|
|
199
199
|
N(d);
|
|
200
200
|
return;
|
|
201
201
|
}
|
|
@@ -322,7 +322,7 @@ function Ye() {
|
|
|
322
322
|
) : /* @__PURE__ */ p("div", { className: "phone-workspace", children: [
|
|
323
323
|
/* @__PURE__ */ p("header", { className: "phone-workspace-header", children: [
|
|
324
324
|
i === "project" ? /* @__PURE__ */ t(
|
|
325
|
-
|
|
325
|
+
K,
|
|
326
326
|
{
|
|
327
327
|
type: "text",
|
|
328
328
|
icon: /* @__PURE__ */ t(ue, {}),
|
|
@@ -350,7 +350,7 @@ function Ye() {
|
|
|
350
350
|
}
|
|
351
351
|
) : /* @__PURE__ */ t("span", { className: "phone-workspace-project-name", children: (v == null ? void 0 : v.name) ?? "工程" }) }),
|
|
352
352
|
/* @__PURE__ */ t("div", { className: "phone-workspace-header-actions", children: /* @__PURE__ */ t(
|
|
353
|
-
|
|
353
|
+
K,
|
|
354
354
|
{
|
|
355
355
|
type: "text",
|
|
356
356
|
icon: /* @__PURE__ */ t(pe, {}),
|
|
@@ -3,7 +3,7 @@ import h, { useMemo as u, useEffect as f } from "react";
|
|
|
3
3
|
import { useNavigate as y, useLocation as b } from "react-router-dom";
|
|
4
4
|
import { appMeta as v, menuSections as N, menuItems as T, routes as $ } from "@yuku123/z-cognition-component/pages";
|
|
5
5
|
import { appMeta as L, menuItems as k, routes as A } from "@yuku123/z-cognition-kb-component/pages";
|
|
6
|
-
import { menuItems as C, routes as H } from "@yuku123/z-indexer-component/pages";
|
|
6
|
+
import { menuItems as C, routes as H } from "@yuku123/z-cognition-indexer-component/pages";
|
|
7
7
|
const g = "_shell_9m078_6", x = "_sidebar_9m078_15", M = "_sidebarHeader_9m078_26", E = "_sidebarHeaderIcon_9m078_37", D = "_menuList_9m078_41", S = "_section_9m078_48", w = "_sectionTitle_9m078_52", z = "_sectionIcon_9m078_64", R = "_menuItemIcon_9m078_68", U = "_menuItem_9m078_68", W = "_menuItemActive_9m078_85", j = "_menuItemLabel_9m078_90", K = "_menuItemDesc_9m078_101", O = "_main_9m078_113", P = "_empty_9m078_122", Z = "_emptyIcon_9m078_132", F = "_emptyText_9m078_136", e = {
|
|
8
8
|
shell: g,
|
|
9
9
|
sidebar: x,
|
|
@@ -27,7 +27,8 @@ const g = "_shell_9m078_6", x = "_sidebar_9m078_15", M = "_sidebarHeader_9m078_2
|
|
|
27
27
|
...N || [
|
|
28
28
|
{ title: "业务认知", icon: "🧠", items: T }
|
|
29
29
|
],
|
|
30
|
-
// 代码索引(2026-11-10
|
|
30
|
+
// 代码索引(2026-11-10 归纳):z-cognition 代码索引板块(原独立仓 z-indexer,收购后
|
|
31
|
+
// npm 包随之改名 @yuku123/z-cognition-indexer-component)前台四页,
|
|
31
32
|
// 与 admin「知识沉淀 → 知识认知 → 代码认知」同口径:前台查、后台管。
|
|
32
33
|
{ title: "代码索引", icon: "🔍", items: C }
|
|
33
34
|
], d = [
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as s, jsxs as C } from "react/jsx-runtime";
|
|
2
2
|
import { f as z, r as v } from "./ctc-sso-DtJHC-2M.js";
|
|
3
|
-
import { r as L, h as N, s as T } from "./sso-user-
|
|
3
|
+
import { r as L, h as N, s as T } from "./sso-user-F62YVj4w.js";
|
|
4
4
|
import { CheckCircleFilled as q } from "@ant-design/icons";
|
|
5
5
|
import { Spin as R } from "antd";
|
|
6
6
|
import W from "query-string";
|
|
7
7
|
import { useMemo as P, useState as p, useCallback as A, useEffect as U } from "react";
|
|
8
8
|
import { useLocation as F } from "react-router-dom";
|
|
9
9
|
import { h as H } from "./history-BlrA1eaW.js";
|
|
10
|
-
import { u as m, g as Y, k as B } from "./ComponentDoc-
|
|
10
|
+
import { u as m, g as Y, k as B } from "./ComponentDoc-C1yrRq6Y.js";
|
|
11
11
|
/* empty css */
|
|
12
12
|
import { b as G } from "./mobile-client-O3yr9h6t.js";
|
|
13
13
|
function oe() {
|
|
@@ -3,8 +3,8 @@ import { useState as I, useMemo as p, useCallback as B, useEffect as L } from "r
|
|
|
3
3
|
import { useNavigate as y, useLocation as G } from "react-router-dom";
|
|
4
4
|
import { CodeOutlined as v, DownOutlined as O, RightOutlined as A, AppstoreOutlined as C, TableOutlined as W, DatabaseOutlined as H, RobotOutlined as M, FunctionOutlined as $, ApartmentOutlined as P, EyeOutlined as R, BranchesOutlined as U, DeploymentUnitOutlined as _, SafetyCertificateOutlined as x } from "@ant-design/icons";
|
|
5
5
|
import E from "@yuku123/z-lc-component";
|
|
6
|
-
import { f as D, M as T } from "./menuPermission-
|
|
7
|
-
import { u as h } from "./ComponentDoc-
|
|
6
|
+
import { f as D, M as T } from "./menuPermission-Bw3hPi8i.js";
|
|
7
|
+
import { u as h } from "./ComponentDoc-C1yrRq6Y.js";
|
|
8
8
|
const j = "_shellWrap_1gpbw_7", K = "_shell_1gpbw_7", q = "_productBanner_1gpbw_25", F = "_productBannerLabel_1gpbw_37", z = "_productBannerName_1gpbw_43", J = "_productBannerCode_1gpbw_51", Q = "_productBannerBack_1gpbw_56", V = "_sidebar_1gpbw_73", X = "_sidebarHeader_1gpbw_84", Y = "_menuList_1gpbw_95", Z = "_menuGroup_1gpbw_101", ee = "_menuGroupHeader_1gpbw_105", ne = "_menuGroupLabel_1gpbw_123", te = "_menuGroupArrow_1gpbw_127", ae = "_menuSubList_1gpbw_132", se = "_menuSubItemWrap_1gpbw_138", re = "_menuSubItem_1gpbw_138", ie = "_menuSubItemActive_1gpbw_159", oe = "_menuSubItemIcon_1gpbw_166", ce = "_menuSubItemLabel_1gpbw_171", ue = "_main_1gpbw_176", t = {
|
|
9
9
|
shellWrap: j,
|
|
10
10
|
shell: K,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as c, jsxs as _ } from "react/jsx-runtime";
|
|
2
|
-
import { e as $, u as j, t as x, p as O, g as v, h as F } from "./ComponentDoc-
|
|
2
|
+
import { e as $, u as j, t as x, p as O, g as v, h as F } from "./ComponentDoc-C1yrRq6Y.js";
|
|
3
3
|
import { CheckCircleFilled as b } from "@ant-design/icons";
|
|
4
4
|
import { Result as D, Button as R, Spin as U } from "antd";
|
|
5
5
|
import B from "query-string";
|
|
6
6
|
import { useMemo as y, useState as f, useRef as q, useCallback as A, useEffect as J } from "react";
|
|
7
7
|
import { useLocation as W } from "react-router-dom";
|
|
8
8
|
import { h as w } from "./history-BlrA1eaW.js";
|
|
9
|
-
import { l as Z, j as z, f as H, b as L, p as M } from "./instance-
|
|
9
|
+
import { l as Z, j as z, f as H, b as L, p as M } from "./instance-BXN17-Ol.js";
|
|
10
10
|
import { b as N } from "./mobile-client-O3yr9h6t.js";
|
|
11
11
|
function nt() {
|
|
12
12
|
const m = W(), p = B.parse(m.search), o = String(
|
|
@@ -2,7 +2,7 @@ import { jsxs as r, jsx as n, Fragment as H } from "react/jsx-runtime";
|
|
|
2
2
|
import { BookOutlined as V, ReloadOutlined as Ne, SearchOutlined as fe, CloseOutlined as ge, CaretDownOutlined as ve, CaretRightOutlined as Te } from "@ant-design/icons";
|
|
3
3
|
import { message as Se, Spin as F } from "antd";
|
|
4
4
|
import { useState as k, useRef as M, useEffect as G, useCallback as C } from "react";
|
|
5
|
-
import { a as A, B as R, b as E } from "./ComponentDoc-
|
|
5
|
+
import { a as A, B as R, b as E } from "./ComponentDoc-C1yrRq6Y.js";
|
|
6
6
|
function B(a) {
|
|
7
7
|
const l = new URLSearchParams();
|
|
8
8
|
Object.entries(a).forEach(([N, s]) => {
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as o, f as l, B as r, b as c } from "./ComponentDoc-
|
|
1
|
+
import { a as o, f as l, B as r, b as c } from "./ComponentDoc-C1yrRq6Y.js";
|
|
2
2
|
async function I(e, n = "") {
|
|
3
3
|
const t = new URLSearchParams();
|
|
4
4
|
n && t.set("token", n), e.scenario_code && t.set("scenario_code", e.scenario_code), e.status && t.set("status", e.status), e.name && t.set("name", e.name), e.role && t.set("role", e.role), e.create_time_start && t.set("create_time_start", e.create_time_start), e.create_time_end && t.set("create_time_end", e.create_time_end), t.set("page", String(e.page ?? 1)), t.set("size", String(e.size ?? 20));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { Alert as h } from "antd";
|
|
3
|
-
import { u as d } from "./ComponentDoc-
|
|
4
|
-
import { h as g } from "./index-
|
|
5
|
-
import { N as A } from "./index-
|
|
3
|
+
import { u as d } from "./ComponentDoc-C1yrRq6Y.js";
|
|
4
|
+
import { h as g } from "./index-Dg_qr92O.js";
|
|
5
|
+
import { N as A } from "./index-DXvw5NUH.js";
|
|
6
6
|
function P() {
|
|
7
7
|
return d((n) => n.permissionState) !== "failed" ? null : /* @__PURE__ */ a(
|
|
8
8
|
h,
|
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
import { useCallback as m, useState as p, useRef as h, useEffect as I } from "react";
|
|
2
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
3
|
+
import { BarChartOutlined as O, MonitorOutlined as f, SettingOutlined as w, ControlOutlined as _, ToolOutlined as N, BookOutlined as M, ThunderboltOutlined as S, CodeSandboxOutlined as T } from "@ant-design/icons";
|
|
4
|
+
function C(i, t, l = 176, o = 480) {
|
|
5
|
+
const s = m(
|
|
6
|
+
(e) => {
|
|
7
|
+
const a = window.innerWidth > 0 ? Math.floor(window.innerWidth / 2) : o, d = Math.max(l, Math.min(o, a));
|
|
8
|
+
return Math.min(Math.max(l, Math.round(e)), d);
|
|
9
|
+
},
|
|
10
|
+
[l, o]
|
|
11
|
+
), [r, y] = p(() => {
|
|
12
|
+
try {
|
|
13
|
+
const e = Number(localStorage.getItem(i));
|
|
14
|
+
if (Number.isFinite(e) && e > 0) return s(e);
|
|
15
|
+
} catch {
|
|
16
|
+
}
|
|
17
|
+
return t;
|
|
18
|
+
}), [c, g] = p(!1), u = h(r);
|
|
19
|
+
u.current = r;
|
|
20
|
+
const b = h(null), E = m((e) => {
|
|
21
|
+
e.preventDefault(), b.current = { startX: e.clientX, startW: u.current }, g(!0);
|
|
22
|
+
}, []), v = m(() => {
|
|
23
|
+
y(t);
|
|
24
|
+
try {
|
|
25
|
+
localStorage.setItem(i, String(t));
|
|
26
|
+
} catch {
|
|
27
|
+
}
|
|
28
|
+
}, [t, i]);
|
|
29
|
+
return I(() => {
|
|
30
|
+
if (!c) return;
|
|
31
|
+
const e = (d) => {
|
|
32
|
+
const k = b.current;
|
|
33
|
+
k && y(s(k.startW + d.clientX - k.startX));
|
|
34
|
+
}, a = () => {
|
|
35
|
+
b.current = null, g(!1);
|
|
36
|
+
try {
|
|
37
|
+
localStorage.setItem(i, String(u.current));
|
|
38
|
+
} catch {
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
return window.addEventListener("pointermove", e), window.addEventListener("pointerup", a), window.addEventListener("pointercancel", a), document.body.style.cursor = "col-resize", document.body.style.userSelect = "none", () => {
|
|
42
|
+
window.removeEventListener("pointermove", e), window.removeEventListener("pointerup", a), window.removeEventListener("pointercancel", a), document.body.style.cursor = "", document.body.style.userSelect = "";
|
|
43
|
+
};
|
|
44
|
+
}, [c, s, i]), { width: r, dragging: c, onHandlePointerDown: E, resetWidth: v };
|
|
45
|
+
}
|
|
46
|
+
const W = [
|
|
47
|
+
{
|
|
48
|
+
key: "statistics",
|
|
49
|
+
label: "业务指标",
|
|
50
|
+
icon: /* @__PURE__ */ n(O, {}),
|
|
51
|
+
permission: "STATISTICS_VIEW",
|
|
52
|
+
children: [
|
|
53
|
+
{ key: "statistics-personal", label: "个人指标" },
|
|
54
|
+
{ key: "statistics-global", label: "全局指标" },
|
|
55
|
+
{ key: "statistics-tech", label: "技术指标" },
|
|
56
|
+
{ key: "statistics-scenario", label: "场景指标" },
|
|
57
|
+
{ key: "statistics-business", label: "业务指标" },
|
|
58
|
+
{
|
|
59
|
+
key: "ops-report",
|
|
60
|
+
label: "运营日报",
|
|
61
|
+
permission: "OPS_REPORT_MANAGE"
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
key: "statistics-runtime-monitor",
|
|
67
|
+
label: "运行指标",
|
|
68
|
+
icon: /* @__PURE__ */ n(f, {}),
|
|
69
|
+
permission: "RUNTIME_MONITOR_VIEW",
|
|
70
|
+
children: [
|
|
71
|
+
{
|
|
72
|
+
key: "statistics-runtime-monitor-config",
|
|
73
|
+
label: "运行配置",
|
|
74
|
+
permission: "RUNTIME_MONITOR_MANAGE"
|
|
75
|
+
},
|
|
76
|
+
{ key: "statistics-runtime-monitor-task", label: "任务监控" },
|
|
77
|
+
{ key: "statistics-runtime-monitor-llm", label: "调用监控" },
|
|
78
|
+
{ key: "statistics-runtime-monitor-schedule", label: "调度监控" },
|
|
79
|
+
{
|
|
80
|
+
key: "audit-log-tool-call",
|
|
81
|
+
label: "工具监控",
|
|
82
|
+
permission: "AUDIT_LOG_VIEW"
|
|
83
|
+
},
|
|
84
|
+
{ key: "msghub", label: "消息监控" },
|
|
85
|
+
{ key: "statistics-scenario-cost", label: "成本监控" }
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
key: "collaboration-config",
|
|
90
|
+
label: "协同配置",
|
|
91
|
+
icon: /* @__PURE__ */ n(w, {}),
|
|
92
|
+
permission: "COLLABORATION_VIEW",
|
|
93
|
+
children: [
|
|
94
|
+
{
|
|
95
|
+
key: "agent",
|
|
96
|
+
label: "智能管理",
|
|
97
|
+
children: [
|
|
98
|
+
{ key: "agent-config", label: "智能配置" },
|
|
99
|
+
{ key: "skill", label: "技能管理" },
|
|
100
|
+
{ key: "agent-identity", label: "身份绑定" },
|
|
101
|
+
{ key: "agent-tool-binding", label: "工具绑定" }
|
|
102
|
+
]
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
key: "ft-scenario",
|
|
106
|
+
label: "场景管理",
|
|
107
|
+
children: [
|
|
108
|
+
{ key: "scenario", label: "场景构建" },
|
|
109
|
+
{ key: "scenario-instance", label: "场景实例" },
|
|
110
|
+
{ key: "scenario-template", label: "渲染模板" },
|
|
111
|
+
{ key: "tag", label: "场景标签" }
|
|
112
|
+
]
|
|
113
|
+
},
|
|
114
|
+
{ key: "tool", label: "工具管理" }
|
|
115
|
+
]
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
key: "ops-config",
|
|
119
|
+
label: "运营配置",
|
|
120
|
+
icon: /* @__PURE__ */ n(_, {}),
|
|
121
|
+
permission: "OPS_CONFIG_VIEW",
|
|
122
|
+
children: [
|
|
123
|
+
{ key: "human", label: "成员画像" },
|
|
124
|
+
{ key: "oncall", label: "值班管理" },
|
|
125
|
+
{ key: "permission", label: "权限管理", permission: "PERMISSION_MANAGE" },
|
|
126
|
+
{
|
|
127
|
+
key: "announcement",
|
|
128
|
+
label: "公告管理",
|
|
129
|
+
permission: "ANNOUNCEMENT_MANAGE"
|
|
130
|
+
}
|
|
131
|
+
]
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
key: "ops-maintain",
|
|
135
|
+
label: "运维配置",
|
|
136
|
+
icon: /* @__PURE__ */ n(N, {}),
|
|
137
|
+
// 父组不设权限门槛:子项各自持权(定时任务=运行指标域,消息渠道=运营配置域),
|
|
138
|
+
// 任一子项存活即渲染分组
|
|
139
|
+
children: [
|
|
140
|
+
{
|
|
141
|
+
key: "schedule-task",
|
|
142
|
+
label: "定时任务",
|
|
143
|
+
permission: "RUNTIME_MONITOR_VIEW"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
key: "notify-channel",
|
|
147
|
+
label: "消息渠道",
|
|
148
|
+
permission: "OPS_CONFIG_VIEW"
|
|
149
|
+
},
|
|
150
|
+
// 系统参数(原「运营配置」下「通用配置」):接口侧有 OPS_CONFIG_VIEW/MANAGE 鉴权,
|
|
151
|
+
// 移出原分组后子项自持 OPS_CONFIG_VIEW(双门槛模式)。key 保留,深链兼容。
|
|
152
|
+
{
|
|
153
|
+
key: "generic-config",
|
|
154
|
+
label: "系统参数",
|
|
155
|
+
permission: "OPS_CONFIG_VIEW"
|
|
156
|
+
}
|
|
157
|
+
]
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
key: "knowledge",
|
|
161
|
+
label: "知识沉淀",
|
|
162
|
+
icon: /* @__PURE__ */ n(M, {}),
|
|
163
|
+
permission: "KNOWLEDGE_VIEW",
|
|
164
|
+
// 二级分二域:知识源头(知识与经验的产生/沉淀入口)与知识认知(认知双线:
|
|
165
|
+
// knowledge-graph 业务认知 / indexer 代码认知)。分组不设权限,由父组与叶子项控制。
|
|
166
|
+
children: [
|
|
167
|
+
{
|
|
168
|
+
key: "knowledge-source",
|
|
169
|
+
label: "知识源头",
|
|
170
|
+
children: [
|
|
171
|
+
{ key: "knowledge-base", label: "文档知识" },
|
|
172
|
+
{ key: "knowledge-notes", label: "个人笔记" },
|
|
173
|
+
// 个体知识/场景知识(原一级分组「进化管理」→ 个体进化/场景进化):进化学习
|
|
174
|
+
// 即知识蒸馏闭环(学习记录→知识吸收)。接口走独立 evolution 服务(无主应用
|
|
175
|
+
// 权限拦截,EVOLUTION_VIEW 本就纯前端门槛),子项跟随父组 KNOWLEDGE_VIEW。key 保留,深链兼容。
|
|
176
|
+
{ key: "evolution-agent", label: "个体知识" },
|
|
177
|
+
{ key: "evolution-scenario", label: "场景知识" }
|
|
178
|
+
]
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
key: "knowledge-cognition",
|
|
182
|
+
label: "知识认知",
|
|
183
|
+
children: [
|
|
184
|
+
// 业务认知:前台协作工作台「知识」tab(KnowledgeGraphTab)同挂一份;
|
|
185
|
+
// 权限点 BIZ_KNOWLEDGE 与前台顶栏 tab 同源,后端 AdminBizKnowledgeController 接口侧同样校验。
|
|
186
|
+
{
|
|
187
|
+
key: "knowledge-biz",
|
|
188
|
+
label: "业务认知",
|
|
189
|
+
permission: "BIZ_KNOWLEDGE"
|
|
190
|
+
},
|
|
191
|
+
// 代码认知(原一级菜单「索引管理」):独立仓 z-indexer 代码索引服务管理页;
|
|
192
|
+
// 子项持接口侧权限 OPS_CONFIG_VIEW,双权限齐全才可见(与「业务指标 → 运营日报」同模式)。key 保留,深链兼容。
|
|
193
|
+
{
|
|
194
|
+
key: "indexer",
|
|
195
|
+
label: "代码认知",
|
|
196
|
+
permission: "OPS_CONFIG_VIEW"
|
|
197
|
+
}
|
|
198
|
+
]
|
|
199
|
+
}
|
|
200
|
+
]
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
// 系统评测(原「评测管理」,0916 移位至知识沉淀之后):QA 评测 + 群聊评测
|
|
204
|
+
key: "evaluation",
|
|
205
|
+
label: "系统评测",
|
|
206
|
+
icon: /* @__PURE__ */ n(S, {}),
|
|
207
|
+
permission: "EVALUATION_VIEW",
|
|
208
|
+
children: [
|
|
209
|
+
{
|
|
210
|
+
key: "qa-evaluation",
|
|
211
|
+
label: "QA评测",
|
|
212
|
+
children: [
|
|
213
|
+
{ key: "qa-evaluation-start", label: "发起测评" },
|
|
214
|
+
{ key: "qa-evaluation-schedule", label: "自动测评" },
|
|
215
|
+
{ key: "qa-evaluation-report", label: "分析报告" },
|
|
216
|
+
{ key: "statistics-ops", label: "中心运维" }
|
|
217
|
+
]
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
key: "evaluation-group-chat",
|
|
221
|
+
label: "群聊评测",
|
|
222
|
+
children: [
|
|
223
|
+
{ key: "evaluation-group-chat-snapshot", label: "关单快照" },
|
|
224
|
+
{ key: "evaluation-group-chat-collections", label: "证据采集" },
|
|
225
|
+
{ key: "evaluation-group-chat-audits", label: "审计打分" },
|
|
226
|
+
{ key: "evaluation-group-chat-config", label: "评测配置" },
|
|
227
|
+
{ key: "evaluation-group-chat-gray", label: "灰度闭环" }
|
|
228
|
+
]
|
|
229
|
+
}
|
|
230
|
+
]
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
key: "webide",
|
|
234
|
+
label: "代码空间",
|
|
235
|
+
icon: /* @__PURE__ */ n(T, {}),
|
|
236
|
+
permission: "WEBIDE_VIEW"
|
|
237
|
+
}
|
|
238
|
+
], G = [
|
|
239
|
+
"statistics-global",
|
|
240
|
+
"statistics-scenario",
|
|
241
|
+
"statistics-scenario-multi",
|
|
242
|
+
"statistics-scenario-daily",
|
|
243
|
+
"statistics-scenario-comprehensive",
|
|
244
|
+
"statistics-scenario-cost",
|
|
245
|
+
"statistics-runtime-monitor",
|
|
246
|
+
"statistics-runtime-monitor-config",
|
|
247
|
+
"statistics-runtime-monitor-task",
|
|
248
|
+
"statistics-runtime-monitor-llm",
|
|
249
|
+
"statistics-runtime-monitor-schedule",
|
|
250
|
+
"statistics-personal",
|
|
251
|
+
"statistics-tech",
|
|
252
|
+
"statistics-business",
|
|
253
|
+
"statistics-ops",
|
|
254
|
+
"qa-evaluation-start",
|
|
255
|
+
"qa-evaluation-schedule",
|
|
256
|
+
"qa-evaluation-report",
|
|
257
|
+
"evaluation-group-chat",
|
|
258
|
+
"evaluation-group-chat-snapshot",
|
|
259
|
+
"evaluation-group-chat-collections",
|
|
260
|
+
"evaluation-group-chat-audits",
|
|
261
|
+
"evaluation-group-chat-config",
|
|
262
|
+
"evaluation-group-chat-gray",
|
|
263
|
+
"scenario",
|
|
264
|
+
"generic-config",
|
|
265
|
+
"agent-config",
|
|
266
|
+
"agent-identity",
|
|
267
|
+
"agent-tool-binding",
|
|
268
|
+
"skill",
|
|
269
|
+
"tag",
|
|
270
|
+
"human",
|
|
271
|
+
"oncall",
|
|
272
|
+
"tool",
|
|
273
|
+
"evolution-agent",
|
|
274
|
+
"evolution-scenario",
|
|
275
|
+
"knowledge-base",
|
|
276
|
+
"knowledge-biz",
|
|
277
|
+
"knowledge-notes",
|
|
278
|
+
"msghub",
|
|
279
|
+
"scenario-instance",
|
|
280
|
+
"scenario-template",
|
|
281
|
+
"audit-log-tool-call",
|
|
282
|
+
"permission",
|
|
283
|
+
"announcement",
|
|
284
|
+
"webide",
|
|
285
|
+
"indexer",
|
|
286
|
+
"notify-channel",
|
|
287
|
+
"schedule-task",
|
|
288
|
+
"ops-report"
|
|
289
|
+
];
|
|
290
|
+
function A(i = W) {
|
|
291
|
+
return i.flatMap(
|
|
292
|
+
(t) => {
|
|
293
|
+
var l;
|
|
294
|
+
return (l = t.children) != null && l.length ? A(t.children) : [t];
|
|
295
|
+
}
|
|
296
|
+
);
|
|
297
|
+
}
|
|
298
|
+
export {
|
|
299
|
+
W as M,
|
|
300
|
+
G as S,
|
|
301
|
+
A as f,
|
|
302
|
+
C as u
|
|
303
|
+
};
|
package/dist/pages.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as t, P as o, C as r, Z as a } from "./ComponentDoc-
|
|
1
|
+
import { S as t, P as o, C as r, Z as a } from "./ComponentDoc-C1yrRq6Y.js";
|
|
2
2
|
import { createElement as e } from "react";
|
|
3
3
|
import { BellOutlined as m, ProjectOutlined as p, DesktopOutlined as i, ReadOutlined as n } from "@ant-design/icons";
|
|
4
4
|
import "react/jsx-runtime";
|
|
@@ -6,9 +6,9 @@ import ur from "react-markdown";
|
|
|
6
6
|
import mr from "rehype-highlight";
|
|
7
7
|
import fr from "remark-gfm";
|
|
8
8
|
import { h as pr } from "./history-BlrA1eaW.js";
|
|
9
|
-
import { a as w, f as _, B as v, b as C, u as ea, n as yt, a5 as hr, t as et, e as yr, a7 as gr, a8 as On, a9 as _r, aa as ta } from "./ComponentDoc-
|
|
10
|
-
import { f as br, a as vr, u as En, b as Sr, c as wr, r as Cr, d as Nr, e as Tr, g as kr, h as Ir, m as $r } from "./admin-logs-
|
|
11
|
-
import { a as xr, f as Lr, c as Ar } from "./index-
|
|
9
|
+
import { a as w, f as _, B as v, b as C, u as ea, n as yt, a5 as hr, t as et, e as yr, a7 as gr, a8 as On, a9 as _r, aa as ta } from "./ComponentDoc-C1yrRq6Y.js";
|
|
10
|
+
import { f as br, a as vr, u as En, b as Sr, c as wr, r as Cr, d as Nr, e as Tr, g as kr, h as Ir, m as $r } from "./admin-logs-OZ3s7ssr.js";
|
|
11
|
+
import { a as xr, f as Lr, c as Ar } from "./index-Dg_qr92O.js";
|
|
12
12
|
import { findTodosLinkedToNote as Dr, buildTodoProjectContext as Rr, linkedTodoChipLabel as Or } from "@yuku123/z-task-component";
|
|
13
13
|
import Ne from "dayjs";
|
|
14
14
|
import "./echarts-B1OU1xr4.js";
|