@yuku123/z-team-component 0.2.3 → 0.2.5
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-BWAjLzVE.js +490 -0
- package/dist/LowCodePage-BOIkfK4U.js +17 -0
- package/dist/OnboardingPage-BgfMnqG_.js +393 -0
- package/dist/{ProjectApp-DW_MeenZ.js → ProjectApp-DjHsGbam.js} +2442 -2128
- package/dist/api-Gpz6URwP.js +20 -0
- package/dist/{api-LrNsH2Nc.js → api-W2_U7Nxd.js} +38 -38
- package/dist/{createWorkspaceWsHandler-B76WQHjB.js → createWorkspaceWsHandler-DrV9AaO7.js} +2 -2
- package/dist/{ctc-signout-C9v--o_g.js → ctc-signout-C_dAvsu5.js} +2 -2
- package/dist/{index-Dsve_lRj.js → index-BK9rSfN3.js} +2 -2
- package/dist/{index-tYjY3W_r.js → index-Bh5PFiY9.js} +2 -2
- package/dist/index-BrB9bUfl.js +183 -0
- package/dist/{index-Do_CiLjw.js → index-Bw02b5qJ.js} +4 -4
- package/dist/{index-CI8b0lyw.js → index-CuuZlPvb.js} +4 -4
- package/dist/{index-CwIgX9M3.js → index-D-oG0ReT.js} +3 -3
- package/dist/{index-BERTRH2H.js → index-DM_AMiPz.js} +5 -5
- package/dist/{index-CSwTp6tX.js → index-DYXWNyaR.js} +4 -4
- package/dist/{index-BPA_9KiX.js → index-DlJRXaaz.js} +12192 -13208
- package/dist/{index-KC0yx1HC.js → index-l8P_AuvD.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/pages.js +1 -1
- package/dist/{send-default-agent-team-message-Dzqt_gk5.js → send-default-agent-team-message-DxD_vD7Z.js} +1 -1
- package/dist/{sso-user-hxHYoNt4.js → sso-user-D1eNVXkY.js} +1 -1
- package/dist/{useAppStore-B2AHIUq2.js → useAppStore-C12Ala1u.js} +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import "@yuku123/z-frontend-common";
|
|
2
|
+
import { a } from "./ProjectApp-DjHsGbam.js";
|
|
3
|
+
import "react/jsx-runtime";
|
|
4
|
+
import "react";
|
|
5
|
+
import "antd";
|
|
6
|
+
import "@ant-design/icons";
|
|
7
|
+
import "react-router-dom";
|
|
8
|
+
const p = () => a.get("/ctc/authn/my-tenants"), v = (t, s) => a.post("/ctc/authn/select-tenant", { tenantCode: t, domainCode: "" }), l = (t) => a.post("/ctc/ac/invitations", t), d = (t) => a.post("/ctc/ac/invitations/accept", { token: t }), u = (t) => a.post("/ctc/ac/invitations/redeem", { code: t }), b = (t) => a.get("/ctc/ac/invitations", { params: { tenantCode: t } }), g = (t, s) => a.post(`/ctc/ac/invitations/${t}/revoke`, null, { params: { tenantCode: s } }), I = (t) => a.get("/ctc/ac/invitations/members", { params: { tenantCode: t } }), h = (t, s) => a.post(`/ctc/ac/invitations/members/${t}/remove`, null, { params: { tenantCode: s } }), C = (t) => a.post("/ctc/ac/invitations/leave", null, { params: { tenantCode: t } });
|
|
9
|
+
export {
|
|
10
|
+
d as a,
|
|
11
|
+
I as b,
|
|
12
|
+
C as c,
|
|
13
|
+
h as d,
|
|
14
|
+
g as e,
|
|
15
|
+
l as f,
|
|
16
|
+
p as g,
|
|
17
|
+
b as l,
|
|
18
|
+
u as r,
|
|
19
|
+
v as s
|
|
20
|
+
};
|
|
@@ -53,7 +53,7 @@ function Ie() {
|
|
|
53
53
|
Ce("disconnected"), ce = [];
|
|
54
54
|
}
|
|
55
55
|
const Ue = { credentials: "include" };
|
|
56
|
-
function
|
|
56
|
+
function x(e, n = "error") {
|
|
57
57
|
n === "warning" ? ee.warning(e) : ee.error(e);
|
|
58
58
|
}
|
|
59
59
|
typeof window < "u" && window.addEventListener(
|
|
@@ -105,7 +105,7 @@ async function an(e, n) {
|
|
|
105
105
|
return await fetch(e, { ...Ue, ...n, headers: t });
|
|
106
106
|
} catch {
|
|
107
107
|
const t = "无法连接服务器,请确认 Java 服务已启动(如 127.0.0.1:8080)且前端代理 /z-team 已配置";
|
|
108
|
-
throw
|
|
108
|
+
throw x(t), { _apiUserError: !0, userMessage: t, message: t };
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
async function Ee(e, n) {
|
|
@@ -118,7 +118,7 @@ async function Ee(e, n) {
|
|
|
118
118
|
} catch {
|
|
119
119
|
if (!e.ok) {
|
|
120
120
|
const o = oe(e, n);
|
|
121
|
-
throw
|
|
121
|
+
throw x(
|
|
122
122
|
e.status >= 500 ? o : `${o}(HTTP ${e.status},响应非 JSON)`
|
|
123
123
|
), {
|
|
124
124
|
_apiUserError: !0,
|
|
@@ -133,7 +133,7 @@ async function Ee(e, n) {
|
|
|
133
133
|
return s.data !== void 0 ? s.data : !0;
|
|
134
134
|
const o = s.message || // z-team 另有 7 个 admin controller 挂 bench Result({code,msg,data,success})
|
|
135
135
|
s.msg || s.detail || n;
|
|
136
|
-
throw
|
|
136
|
+
throw x(o), {
|
|
137
137
|
_apiUserError: !0,
|
|
138
138
|
userMessage: o,
|
|
139
139
|
message: o
|
|
@@ -141,7 +141,7 @@ async function Ee(e, n) {
|
|
|
141
141
|
}
|
|
142
142
|
if (!e.ok) {
|
|
143
143
|
const o = s.detail || s.message || oe(e, n);
|
|
144
|
-
throw
|
|
144
|
+
throw x(o), {
|
|
145
145
|
_apiUserError: !0,
|
|
146
146
|
userMessage: o,
|
|
147
147
|
message: o
|
|
@@ -354,7 +354,7 @@ async function mn(e) {
|
|
|
354
354
|
async function pn(e, n) {
|
|
355
355
|
try {
|
|
356
356
|
const t = await fetch(
|
|
357
|
-
`/api/ctc/authz/users/permissions?userId=${e}`,
|
|
357
|
+
`/kapi/z-ctc/api/ctc/authz/users/permissions?userId=${e}`,
|
|
358
358
|
{
|
|
359
359
|
headers: {
|
|
360
360
|
Authorization: `Bearer ${n}`
|
|
@@ -390,7 +390,7 @@ async function yn(e = "") {
|
|
|
390
390
|
const n = e ? `?token=${encodeURIComponent(e)}` : "", t = await r(`${c}/scenarios${n}`, a);
|
|
391
391
|
return i(t, "获取场景列表失败");
|
|
392
392
|
}
|
|
393
|
-
async function
|
|
393
|
+
async function ze(e, n = "") {
|
|
394
394
|
const t = n ? `?token=${encodeURIComponent(n)}` : "", s = {
|
|
395
395
|
...e,
|
|
396
396
|
extend_params: { ...e.extend_params, skip_init_task: "true" }
|
|
@@ -402,7 +402,7 @@ async function xe(e, n = "") {
|
|
|
402
402
|
}), d = await i(o, "创建项目失败");
|
|
403
403
|
return w(d);
|
|
404
404
|
}
|
|
405
|
-
const hn =
|
|
405
|
+
const hn = ze;
|
|
406
406
|
function w(e) {
|
|
407
407
|
return {
|
|
408
408
|
// FE-PRECISION-FIX: 雪花 ID 是 19 位 bigint, Number() 会丢末位精度
|
|
@@ -425,7 +425,7 @@ function w(e) {
|
|
|
425
425
|
close_time: F(e, "close_time"),
|
|
426
426
|
close_user: F(e, "close_user"),
|
|
427
427
|
members: Array.isArray(e.members) ? e.members.map((n) => String(n)) : void 0,
|
|
428
|
-
parent_id:
|
|
428
|
+
parent_id: xe(e)
|
|
429
429
|
};
|
|
430
430
|
}
|
|
431
431
|
function F(e, n) {
|
|
@@ -443,7 +443,7 @@ function F(e, n) {
|
|
|
443
443
|
if (d)
|
|
444
444
|
return d[n] ?? void 0;
|
|
445
445
|
}
|
|
446
|
-
function
|
|
446
|
+
function xe(e) {
|
|
447
447
|
const n = e.ext;
|
|
448
448
|
if (!n) return;
|
|
449
449
|
const t = n.params;
|
|
@@ -662,7 +662,7 @@ async function Fn(e) {
|
|
|
662
662
|
);
|
|
663
663
|
return i(n, "重置失败");
|
|
664
664
|
}
|
|
665
|
-
async function
|
|
665
|
+
async function zn(e) {
|
|
666
666
|
const t = await r(
|
|
667
667
|
`${S}/evolution/trigger`,
|
|
668
668
|
{
|
|
@@ -678,7 +678,7 @@ async function xn(e) {
|
|
|
678
678
|
);
|
|
679
679
|
return { totalCount: o, passedCount: d };
|
|
680
680
|
}
|
|
681
|
-
async function
|
|
681
|
+
async function xn(e, n, t = "") {
|
|
682
682
|
const s = t ? `?token=${encodeURIComponent(t)}` : "", o = await r(
|
|
683
683
|
`${c}/scenario-instances/${e}/messages${s}`,
|
|
684
684
|
{
|
|
@@ -992,7 +992,7 @@ async function ht(e) {
|
|
|
992
992
|
message: s.message
|
|
993
993
|
};
|
|
994
994
|
}
|
|
995
|
-
let p = null, v = [], q = [], b = 0, re = "",
|
|
995
|
+
let p = null, v = [], q = [], b = 0, re = "", z = null, N = 0, C = null, $e = "disconnected";
|
|
996
996
|
function W(e) {
|
|
997
997
|
$e = e, q.forEach((n) => n(e));
|
|
998
998
|
}
|
|
@@ -1010,7 +1010,7 @@ function Ze(e, n = "", t) {
|
|
|
1010
1010
|
return;
|
|
1011
1011
|
p && (p.onclose = null, p.close(), p = null), C != null && (clearTimeout(C), C = null);
|
|
1012
1012
|
const s = Ke(e, n);
|
|
1013
|
-
b = e, re = n, t && (
|
|
1013
|
+
b = e, re = n, t && (z = t), W("connecting"), p = new WebSocket(s), p.onopen = () => {
|
|
1014
1014
|
N = 0, W("connected"), console.log("[WS] connected");
|
|
1015
1015
|
}, p.onmessage = (o) => {
|
|
1016
1016
|
try {
|
|
@@ -1028,7 +1028,7 @@ function Ze(e, n = "", t) {
|
|
|
1028
1028
|
console.warn(
|
|
1029
1029
|
`[WS] closed (clean=${d}), reconnect #${N} in ${u}ms`
|
|
1030
1030
|
), C = setTimeout(() => {
|
|
1031
|
-
C = null, b !== 0 && b !== "" && (Ze(b, re),
|
|
1031
|
+
C = null, b !== 0 && b !== "" && (Ze(b, re), z == null || z());
|
|
1032
1032
|
}, u);
|
|
1033
1033
|
};
|
|
1034
1034
|
}
|
|
@@ -1210,7 +1210,7 @@ async function Ft(e, n, t = "") {
|
|
|
1210
1210
|
);
|
|
1211
1211
|
return i(o, "绑定 Agent 身份失败");
|
|
1212
1212
|
}
|
|
1213
|
-
async function
|
|
1213
|
+
async function zt(e, n = "", t) {
|
|
1214
1214
|
let s = n ? `?token=${encodeURIComponent(n)}` : "";
|
|
1215
1215
|
t && (s += (s ? "&" : "?") + `envCode=${encodeURIComponent(t)}`);
|
|
1216
1216
|
const o = await r(
|
|
@@ -1222,7 +1222,7 @@ async function xt(e, n = "", t) {
|
|
|
1222
1222
|
);
|
|
1223
1223
|
return i(o, "解绑 Agent 身份失败");
|
|
1224
1224
|
}
|
|
1225
|
-
async function
|
|
1225
|
+
async function xt(e, n, t = "") {
|
|
1226
1226
|
const s = t ? `?token=${encodeURIComponent(t)}` : "", o = await r(
|
|
1227
1227
|
`${c}/admin/agents/${encodeURIComponent(
|
|
1228
1228
|
e
|
|
@@ -1738,7 +1738,7 @@ async function Fs(e, n = "") {
|
|
|
1738
1738
|
});
|
|
1739
1739
|
return i(s, "删除个人 Agent 失败");
|
|
1740
1740
|
}
|
|
1741
|
-
async function
|
|
1741
|
+
async function zs(e, n, t = "") {
|
|
1742
1742
|
const s = t ? `?token=${encodeURIComponent(t)}` : "", o = await r(`${c}/personal-agents/${e}${s}`, {
|
|
1743
1743
|
...a,
|
|
1744
1744
|
method: "PUT",
|
|
@@ -1749,7 +1749,7 @@ async function xs(e, n, t = "") {
|
|
|
1749
1749
|
await i(o, "重命名个人 Agent 失败")
|
|
1750
1750
|
);
|
|
1751
1751
|
}
|
|
1752
|
-
async function
|
|
1752
|
+
async function xs(e = "") {
|
|
1753
1753
|
const n = e ? `?token=${encodeURIComponent(e)}` : "", t = await r(
|
|
1754
1754
|
`${c}/personal-agents/shared${n}`,
|
|
1755
1755
|
a
|
|
@@ -2249,14 +2249,14 @@ async function Fo(e) {
|
|
|
2249
2249
|
);
|
|
2250
2250
|
return i(s, "获取 Token 单日统计失败");
|
|
2251
2251
|
}
|
|
2252
|
-
async function
|
|
2252
|
+
async function zo(e = "z-team") {
|
|
2253
2253
|
const n = await r(
|
|
2254
2254
|
`${c}/change-log/versions?repo=${encodeURIComponent(e)}`,
|
|
2255
2255
|
a
|
|
2256
2256
|
);
|
|
2257
2257
|
return i(n, "获取变更日志版本列表失败");
|
|
2258
2258
|
}
|
|
2259
|
-
async function
|
|
2259
|
+
async function xo(e, n, t = "z-team") {
|
|
2260
2260
|
const s = new URLSearchParams();
|
|
2261
2261
|
e != null && s.set("versionId", String(e)), s.set("repo", t);
|
|
2262
2262
|
const o = await r(
|
|
@@ -2747,7 +2747,7 @@ async function Fa(e, n = "") {
|
|
|
2747
2747
|
});
|
|
2748
2748
|
return i(s, "创建标签定义失败");
|
|
2749
2749
|
}
|
|
2750
|
-
async function
|
|
2750
|
+
async function za(e, n, t = "") {
|
|
2751
2751
|
const s = t ? `?token=${encodeURIComponent(t)}` : "", o = await r(`${c}/admin/scenario-tags/${e}${s}`, {
|
|
2752
2752
|
...a,
|
|
2753
2753
|
method: "PUT",
|
|
@@ -2756,7 +2756,7 @@ async function xa(e, n, t = "") {
|
|
|
2756
2756
|
});
|
|
2757
2757
|
return i(o, "更新标签定义失败");
|
|
2758
2758
|
}
|
|
2759
|
-
async function
|
|
2759
|
+
async function xa(e, n = "") {
|
|
2760
2760
|
const t = n ? `?token=${encodeURIComponent(n)}` : "", s = await r(`${c}/admin/scenario-tags/${e}${t}`, {
|
|
2761
2761
|
...a,
|
|
2762
2762
|
method: "DELETE"
|
|
@@ -3245,7 +3245,7 @@ async function Fr(e) {
|
|
|
3245
3245
|
);
|
|
3246
3246
|
return (t == null ? void 0 : t.mode) ?? "dispatch";
|
|
3247
3247
|
}
|
|
3248
|
-
async function
|
|
3248
|
+
async function zr(e, n) {
|
|
3249
3249
|
const t = await r(
|
|
3250
3250
|
`${c}/scenario-instances/${e}/interaction-mode`,
|
|
3251
3251
|
{
|
|
@@ -3260,7 +3260,7 @@ async function xr(e, n) {
|
|
|
3260
3260
|
);
|
|
3261
3261
|
return (s == null ? void 0 : s.mode) ?? n;
|
|
3262
3262
|
}
|
|
3263
|
-
async function
|
|
3263
|
+
async function xr(e = "") {
|
|
3264
3264
|
const n = e ? `?token=${encodeURIComponent(e)}` : "", t = await r(
|
|
3265
3265
|
`${c}/admin/indexer/overview${n}`,
|
|
3266
3266
|
a
|
|
@@ -3546,7 +3546,7 @@ export {
|
|
|
3546
3546
|
mt as a9,
|
|
3547
3547
|
Uo as aA,
|
|
3548
3548
|
Fr as aB,
|
|
3549
|
-
|
|
3549
|
+
zr as aC,
|
|
3550
3550
|
gn as aD,
|
|
3551
3551
|
Mn as aE,
|
|
3552
3552
|
Bn as aF,
|
|
@@ -3612,14 +3612,14 @@ export {
|
|
|
3612
3612
|
Vs as bA,
|
|
3613
3613
|
Zs as bB,
|
|
3614
3614
|
Js as bC,
|
|
3615
|
-
|
|
3615
|
+
xs as bD,
|
|
3616
3616
|
so as bE,
|
|
3617
3617
|
to as bF,
|
|
3618
3618
|
Ms as bG,
|
|
3619
3619
|
oo as bH,
|
|
3620
3620
|
ao as bI,
|
|
3621
3621
|
Fs as bJ,
|
|
3622
|
-
|
|
3622
|
+
zs as bK,
|
|
3623
3623
|
Ws as bL,
|
|
3624
3624
|
tr as bM,
|
|
3625
3625
|
ar as bN,
|
|
@@ -3659,10 +3659,10 @@ export {
|
|
|
3659
3659
|
uo as bu,
|
|
3660
3660
|
io as bv,
|
|
3661
3661
|
Gs as bw,
|
|
3662
|
-
|
|
3662
|
+
zn as bx,
|
|
3663
3663
|
Hs as by,
|
|
3664
3664
|
Qs as bz,
|
|
3665
|
-
|
|
3665
|
+
ze as c,
|
|
3666
3666
|
ko as c$,
|
|
3667
3667
|
Xa as c0,
|
|
3668
3668
|
ur as c1,
|
|
@@ -3674,9 +3674,9 @@ export {
|
|
|
3674
3674
|
ja as c7,
|
|
3675
3675
|
$n as c8,
|
|
3676
3676
|
Ht as c9,
|
|
3677
|
-
|
|
3677
|
+
xt as cA,
|
|
3678
3678
|
Wt as cB,
|
|
3679
|
-
|
|
3679
|
+
zt as cC,
|
|
3680
3680
|
ws as cD,
|
|
3681
3681
|
Ts as cE,
|
|
3682
3682
|
Us as cF,
|
|
@@ -3768,7 +3768,7 @@ export {
|
|
|
3768
3768
|
ya as d_,
|
|
3769
3769
|
$s as da,
|
|
3770
3770
|
Wr as db,
|
|
3771
|
-
|
|
3771
|
+
xr as dc,
|
|
3772
3772
|
Qr as dd,
|
|
3773
3773
|
Vr as de,
|
|
3774
3774
|
Hr as df,
|
|
@@ -3802,7 +3802,7 @@ export {
|
|
|
3802
3802
|
ti as e7,
|
|
3803
3803
|
si as e8,
|
|
3804
3804
|
ai as e9,
|
|
3805
|
-
|
|
3805
|
+
xa as eA,
|
|
3806
3806
|
Ha as eB,
|
|
3807
3807
|
Ga as eC,
|
|
3808
3808
|
Va as eD,
|
|
@@ -3840,22 +3840,22 @@ export {
|
|
|
3840
3840
|
Bo as ev,
|
|
3841
3841
|
Fo as ew,
|
|
3842
3842
|
Mo as ex,
|
|
3843
|
-
|
|
3843
|
+
za as ey,
|
|
3844
3844
|
Fa as ez,
|
|
3845
3845
|
Tn as f,
|
|
3846
3846
|
ln as g,
|
|
3847
3847
|
V as h,
|
|
3848
3848
|
ie as i,
|
|
3849
3849
|
Qe as j,
|
|
3850
|
-
|
|
3850
|
+
zo as k,
|
|
3851
3851
|
mn as l,
|
|
3852
|
-
|
|
3852
|
+
xo as m,
|
|
3853
3853
|
nn as n,
|
|
3854
3854
|
gt as o,
|
|
3855
3855
|
Cn as p,
|
|
3856
3856
|
Ze as q,
|
|
3857
3857
|
St as r,
|
|
3858
|
-
|
|
3858
|
+
xn as s,
|
|
3859
3859
|
f as t,
|
|
3860
3860
|
Un as u,
|
|
3861
3861
|
Tt as v,
|
|
@@ -3,8 +3,8 @@ import { ShareAltOutlined as to, EditOutlined as no, EyeOutlined as Tr, FileText
|
|
|
3
3
|
import { message as He, Drawer as bs, Spin as ot, Input as cn, Button as Je, Segmented as Gr, AutoComplete as Wr, Modal as wn, Typography as Ot, Checkbox as ds, Space as tn, Radio as ia, Skeleton as $n, Popover as us, Timeline as ca, Tag as et, Tooltip as Sn, Tree as jr, Empty as nn, Dropdown as Ur, Progress as Vr, Collapse as la } from "antd";
|
|
4
4
|
import tt, { useState as T, useRef as ve, useEffect as de, useCallback as j, useMemo as Te, useLayoutEffect as lo, memo as uo, useImperativeHandle as zr } from "react";
|
|
5
5
|
import { createPortal as mo } from "react-dom";
|
|
6
|
-
import { ae as Jr, af as Kr, ag as Qr, ah as Yr, ai as Xr, aj as Zr, ak as ei, al as ti, n as Ft, W as po, am as ni, G as si, an as vs, t as we, ao as ai, ap as oi, aq as ri, J as Me, ar as Ns, as as ho, at as ms, au as Ts, av as ii, aw as ci, ax as li, i as sn, ay as di, az as ui, aA as mi, aB as pi, aC as hi, aD as _i, w as gi, aE as fi, aF as yi, aG as ki, X as bi, aH as da, aI as vi, aJ as Ni, T as Cs, aK as yt, aL as kt, a2 as ua, s as Ti, aM as Ci, j as Si, a7 as wi, aN as Ii, aO as ma, aP as pa, aQ as Ai, aR as xi, aS as qi, aT as Li, aU as Bi, aV as Ri, aW as Pi, aX as Di, aY as Mi, aZ as $i, a_ as Ei, a$ as Fi, b0 as Oi, b1 as Hi, b2 as Gi } from "./api-
|
|
7
|
-
import { u as O, i as _o, s as z, a as Ss, n as zn, h as Wi, r as go, b as fo, m as ji, c as yo, d as ko, e as bo, p as Ui, g as Vi, j as zi, k as Ji, l as Rt, o as Pt, q as Ki, t as Qi, v as Yi, w as Xi, x as Zi, y as ec, z as tc, A as nc, B as sc, C as ac, D as oc, E as rc, F as ws, G as vo, H as ha, I as ic } from "./useAppStore-
|
|
6
|
+
import { ae as Jr, af as Kr, ag as Qr, ah as Yr, ai as Xr, aj as Zr, ak as ei, al as ti, n as Ft, W as po, am as ni, G as si, an as vs, t as we, ao as ai, ap as oi, aq as ri, J as Me, ar as Ns, as as ho, at as ms, au as Ts, av as ii, aw as ci, ax as li, i as sn, ay as di, az as ui, aA as mi, aB as pi, aC as hi, aD as _i, w as gi, aE as fi, aF as yi, aG as ki, X as bi, aH as da, aI as vi, aJ as Ni, T as Cs, aK as yt, aL as kt, a2 as ua, s as Ti, aM as Ci, j as Si, a7 as wi, aN as Ii, aO as ma, aP as pa, aQ as Ai, aR as xi, aS as qi, aT as Li, aU as Bi, aV as Ri, aW as Pi, aX as Di, aY as Mi, aZ as $i, a_ as Ei, a$ as Fi, b0 as Oi, b1 as Hi, b2 as Gi } from "./api-W2_U7Nxd.js";
|
|
7
|
+
import { u as O, i as _o, s as z, a as Ss, n as zn, h as Wi, r as go, b as fo, m as ji, c as yo, d as ko, e as bo, p as Ui, g as Vi, j as zi, k as Ji, l as Rt, o as Pt, q as Ki, t as Qi, v as Yi, w as Xi, x as Zi, y as ec, z as tc, A as nc, B as sc, C as ac, D as oc, E as rc, F as ws, G as vo, H as ha, I as ic } from "./useAppStore-C12Ala1u.js";
|
|
8
8
|
import ht from "react-markdown";
|
|
9
9
|
import Cn from "rehype-highlight";
|
|
10
10
|
import _t from "remark-gfm";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as t } from "./api-
|
|
2
|
-
import { u as e } from "./useAppStore-
|
|
1
|
+
import { l as t } from "./api-W2_U7Nxd.js";
|
|
2
|
+
import { u as e } from "./useAppStore-C12Ala1u.js";
|
|
3
3
|
async function c() {
|
|
4
4
|
e.getState().token && await t().catch(() => {
|
|
5
5
|
}), localStorage.removeItem("token"), localStorage.removeItem("z_team_token"), localStorage.removeItem("userInfo"), localStorage.removeItem("USER_INFO"), localStorage.removeItem("z_ctc_token"), localStorage.removeItem("ctcUrl"), window.USER_INFO = void 0, e.setState({ currentUser: null, token: "", currentProject: void 0 });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as a, jsx as i, Fragment as B } from "react/jsx-runtime";
|
|
2
2
|
import { useState as d, useRef as F, useCallback as D, useEffect as R } from "react";
|
|
3
|
-
import { u as O } from "./useAppStore-
|
|
3
|
+
import { u as O } from "./useAppStore-C12Ala1u.js";
|
|
4
4
|
/* empty css */
|
|
5
|
-
import { T as P, h as U } from "./api-
|
|
5
|
+
import { T as P, h as U } from "./api-W2_U7Nxd.js";
|
|
6
6
|
async function y(o, s) {
|
|
7
7
|
const n = await o.text().catch(() => "");
|
|
8
8
|
let t = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as c, jsxs as _ } from "react/jsx-runtime";
|
|
2
|
-
import { i as $, t as x, a as O, j as v, f as F, p as b, c as D, b as R, u as U, d as B } from "./api-
|
|
2
|
+
import { i as $, t as x, a as O, j as v, f as F, p as b, c as D, b as R, u as U, d as B } from "./api-W2_U7Nxd.js";
|
|
3
3
|
import { CheckCircleFilled as q } from "@ant-design/icons";
|
|
4
4
|
import { Result as A, Button as J, Spin as W } from "antd";
|
|
5
5
|
import Z from "query-string";
|
|
6
6
|
import { useMemo as j, useState as f, useRef as z, useCallback as H, useEffect as L } from "react";
|
|
7
7
|
import { useLocation as M } from "react-router-dom";
|
|
8
8
|
import { h as y } from "./history-BlrA1eaW.js";
|
|
9
|
-
import { u as w } from "./useAppStore-
|
|
9
|
+
import { u as w } from "./useAppStore-C12Ala1u.js";
|
|
10
10
|
import { b as N } from "./mobile-client-O3yr9h6t.js";
|
|
11
11
|
function nt() {
|
|
12
12
|
const m = M(), p = Z.parse(m.search), o = String(
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
import { AppLayout as j, ErrorBoundary as v, LoginPage as H, StatusTag as K, defaultStatusMap as _ } from "@yuku123/z-frontend-common";
|
|
2
|
+
import { a as T } from "./ProjectApp-DjHsGbam.js";
|
|
3
|
+
import { C as F, E as J, d as Q, L as X, c as Y, M as Z, e as $, f as ee, O as te, g as ae, R as oe, h as re, j as ie, k as le, l as ne, r as se, r as de, s as ce } from "./ProjectApp-DjHsGbam.js";
|
|
4
|
+
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
5
|
+
import { useState as l, useEffect as y } from "react";
|
|
6
|
+
import { Card as g, Alert as x, Table as h, Spin as I, Empty as f, Space as R, Button as s, Tag as c } from "antd";
|
|
7
|
+
import { ReloadOutlined as w, UserAddOutlined as E, TeamOutlined as b, PlusOutlined as M, CodeOutlined as O } from "@ant-design/icons";
|
|
8
|
+
import { default as pe } from "./LowCodePage-BOIkfK4U.js";
|
|
9
|
+
import { D as ge } from "./index-DlJRXaaz.js";
|
|
10
|
+
const G = T, S = {
|
|
11
|
+
LEADER: "red",
|
|
12
|
+
WORKER: "blue",
|
|
13
|
+
OBSERVER: "default"
|
|
14
|
+
};
|
|
15
|
+
function N() {
|
|
16
|
+
const [o] = l(!1), [d] = l([]);
|
|
17
|
+
return /* @__PURE__ */ a(
|
|
18
|
+
g,
|
|
19
|
+
{
|
|
20
|
+
title: /* @__PURE__ */ a("span", { children: [
|
|
21
|
+
/* @__PURE__ */ e(b, { style: { marginRight: 8 } }),
|
|
22
|
+
"Agent 群组 IM"
|
|
23
|
+
] }),
|
|
24
|
+
extra: /* @__PURE__ */ a(R, { children: [
|
|
25
|
+
/* @__PURE__ */ e(s, { icon: /* @__PURE__ */ e(w, {}), loading: o, children: "刷新" }),
|
|
26
|
+
/* @__PURE__ */ e(s, { type: "primary", icon: /* @__PURE__ */ e(E, {}), disabled: !0, children: "创建群组" })
|
|
27
|
+
] }),
|
|
28
|
+
children: [
|
|
29
|
+
/* @__PURE__ */ e(
|
|
30
|
+
x,
|
|
31
|
+
{
|
|
32
|
+
type: "info",
|
|
33
|
+
showIcon: !0,
|
|
34
|
+
style: { marginBottom: 16 },
|
|
35
|
+
title: "IM 群组 (含 STOMP 实时消息) 后端服务尚未启动",
|
|
36
|
+
description: "当前展示群组列表占位。等 z-agent-team 后端就绪后切换为完整 IM 客户端。"
|
|
37
|
+
}
|
|
38
|
+
),
|
|
39
|
+
/* @__PURE__ */ e(
|
|
40
|
+
h,
|
|
41
|
+
{
|
|
42
|
+
rowKey: "teamCode",
|
|
43
|
+
size: "small",
|
|
44
|
+
loading: o,
|
|
45
|
+
dataSource: d,
|
|
46
|
+
columns: [
|
|
47
|
+
{ title: "群组编码", dataIndex: "teamCode", width: 200, ellipsis: !0 },
|
|
48
|
+
{ title: "群组名称", dataIndex: "teamName", width: 200 },
|
|
49
|
+
{
|
|
50
|
+
title: "我的角色",
|
|
51
|
+
dataIndex: "role",
|
|
52
|
+
width: 120,
|
|
53
|
+
render: (r) => /* @__PURE__ */ e(c, { color: S[r] || "default", children: r || "-" })
|
|
54
|
+
},
|
|
55
|
+
{ title: "成员数", dataIndex: "memberCount", width: 100 },
|
|
56
|
+
{ title: "最近消息", dataIndex: "lastMessage", width: 240, ellipsis: !0 },
|
|
57
|
+
{ title: "更新时间", dataIndex: "updatedAt", width: 180 }
|
|
58
|
+
],
|
|
59
|
+
locale: { emptyText: o ? /* @__PURE__ */ e(I, {}) : /* @__PURE__ */ e(f, { description: "暂无群组" }) },
|
|
60
|
+
pagination: { pageSize: 20 }
|
|
61
|
+
}
|
|
62
|
+
)
|
|
63
|
+
]
|
|
64
|
+
}
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
const A = {
|
|
68
|
+
CREATING: { text: "创建中", color: "processing" },
|
|
69
|
+
RUNNING: { text: "运行中", color: "success" },
|
|
70
|
+
STOPPED: { text: "已停止", color: "default" },
|
|
71
|
+
ERROR: { text: "错误", color: "error" }
|
|
72
|
+
}, C = {
|
|
73
|
+
GIT: { text: "GIT 模式", color: "blue" },
|
|
74
|
+
SHARED: { text: "SHARED 模式", color: "purple" }
|
|
75
|
+
};
|
|
76
|
+
function U() {
|
|
77
|
+
const [o, d] = l([]), [n, r] = l(!1), [u, p] = l(null), m = async () => {
|
|
78
|
+
r(!0), p(null);
|
|
79
|
+
try {
|
|
80
|
+
d([]);
|
|
81
|
+
} catch (t) {
|
|
82
|
+
p((t == null ? void 0 : t.message) || "加载失败");
|
|
83
|
+
} finally {
|
|
84
|
+
r(!1);
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
return y(() => {
|
|
88
|
+
m();
|
|
89
|
+
}, []), /* @__PURE__ */ a(
|
|
90
|
+
g,
|
|
91
|
+
{
|
|
92
|
+
title: /* @__PURE__ */ a("span", { children: [
|
|
93
|
+
/* @__PURE__ */ e(O, { style: { marginRight: 8 } }),
|
|
94
|
+
"WebIDE 容器管理"
|
|
95
|
+
] }),
|
|
96
|
+
extra: /* @__PURE__ */ a(R, { children: [
|
|
97
|
+
/* @__PURE__ */ e(s, { icon: /* @__PURE__ */ e(w, {}), onClick: m, loading: n, children: "刷新" }),
|
|
98
|
+
/* @__PURE__ */ e(s, { type: "primary", icon: /* @__PURE__ */ e(M, {}), disabled: !0, children: "新建 WebIDE" })
|
|
99
|
+
] }),
|
|
100
|
+
children: [
|
|
101
|
+
u && /* @__PURE__ */ e(
|
|
102
|
+
x,
|
|
103
|
+
{
|
|
104
|
+
type: "warning",
|
|
105
|
+
showIcon: !0,
|
|
106
|
+
style: { marginBottom: 16 },
|
|
107
|
+
title: "后端 API 暂未连接",
|
|
108
|
+
description: u
|
|
109
|
+
}
|
|
110
|
+
),
|
|
111
|
+
/* @__PURE__ */ e(
|
|
112
|
+
h,
|
|
113
|
+
{
|
|
114
|
+
rowKey: "containerId",
|
|
115
|
+
size: "small",
|
|
116
|
+
loading: n,
|
|
117
|
+
dataSource: o,
|
|
118
|
+
columns: [
|
|
119
|
+
{ title: "容器ID", dataIndex: "containerId", width: 220, ellipsis: !0 },
|
|
120
|
+
{
|
|
121
|
+
title: "模式",
|
|
122
|
+
dataIndex: "mode",
|
|
123
|
+
width: 120,
|
|
124
|
+
render: (t) => {
|
|
125
|
+
const i = C[t] || { text: t, color: "default" };
|
|
126
|
+
return /* @__PURE__ */ e(c, { color: i.color, children: i.text });
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
{ title: "Git URL", dataIndex: "gitUrl", width: 240, ellipsis: !0 },
|
|
130
|
+
{ title: "分支", dataIndex: "branch", width: 120 },
|
|
131
|
+
{
|
|
132
|
+
title: "状态",
|
|
133
|
+
dataIndex: "status",
|
|
134
|
+
width: 120,
|
|
135
|
+
render: (t) => {
|
|
136
|
+
const i = A[t] || { text: t, color: "default" };
|
|
137
|
+
return /* @__PURE__ */ e(c, { color: i.color, children: i.text });
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
{ title: "创建时间", dataIndex: "createdAt", width: 180 }
|
|
141
|
+
],
|
|
142
|
+
locale: {
|
|
143
|
+
emptyText: n ? /* @__PURE__ */ e(I, {}) : /* @__PURE__ */ e(f, { description: "后端 z-webide 服务尚未启动" })
|
|
144
|
+
},
|
|
145
|
+
pagination: { pageSize: 20 },
|
|
146
|
+
scroll: { x: 1e3 }
|
|
147
|
+
}
|
|
148
|
+
)
|
|
149
|
+
]
|
|
150
|
+
}
|
|
151
|
+
);
|
|
152
|
+
}
|
|
153
|
+
export {
|
|
154
|
+
N as AgentTeamIM,
|
|
155
|
+
j as AppLayout,
|
|
156
|
+
F as CurlImportModal,
|
|
157
|
+
ge as DebugPlayground,
|
|
158
|
+
J as EndpointsTab,
|
|
159
|
+
Q as EnvironmentsTab,
|
|
160
|
+
v as ErrorBoundary,
|
|
161
|
+
H as LoginPage,
|
|
162
|
+
X as LowCodeModel,
|
|
163
|
+
pe as LowCodePage,
|
|
164
|
+
Y as LowCodeRuntime,
|
|
165
|
+
Z as MaterializePage,
|
|
166
|
+
$ as MockPlatform,
|
|
167
|
+
ee as MockTemplateHelper,
|
|
168
|
+
te as OpenApiImportModal,
|
|
169
|
+
ae as Overview,
|
|
170
|
+
oe as RecordingsTab,
|
|
171
|
+
re as RequestLogsTab,
|
|
172
|
+
ie as ScenariosTab,
|
|
173
|
+
K as StatusTag,
|
|
174
|
+
le as TestCasesTab,
|
|
175
|
+
U as Webide,
|
|
176
|
+
T as authRequest,
|
|
177
|
+
ne as createRequest,
|
|
178
|
+
G as ctcRequest,
|
|
179
|
+
se as default,
|
|
180
|
+
_ as defaultStatusMap,
|
|
181
|
+
de as request,
|
|
182
|
+
ce as setupInterceptors
|
|
183
|
+
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsxs as a, jsx as e, Fragment as Ye } from "react/jsx-runtime";
|
|
2
|
-
import { r as Bh, h as Fh, s as Hh } from "./sso-user-
|
|
2
|
+
import { r as Bh, h as Fh, s as Hh } from "./sso-user-D1eNVXkY.js";
|
|
3
3
|
import { BookOutlined as zl, ReloadOutlined as kt, SearchOutlined as Qn, CloseOutlined as jl, CaretDownOutlined as vs, CaretRightOutlined as bs, UserOutlined as Ns, FolderOutlined as Ka, FileTextOutlined as Ji, FolderAddOutlined as hr, FileAddOutlined as pr, LinkOutlined as vc, BarsOutlined as Gh, ShareAltOutlined as Fu, BoldOutlined as jh, ItalicOutlined as Uh, StrikethroughOutlined as Wh, UnorderedListOutlined as Vh, OrderedListOutlined as qh, CheckSquareOutlined as Yh, CodeOutlined as po, ConsoleSqlOutlined as Kh, PictureOutlined as Hu, TableOutlined as Gu, EditOutlined as Dn, DeleteOutlined as Ut, PlusOutlined as Pt, SaveOutlined as jn, ControlOutlined as go, FolderOpenOutlined as Ss, RobotOutlined as ua, ProfileOutlined as ju, MessageOutlined as Ho, SettingOutlined as fl, ToolOutlined as Aa, ApiOutlined as Go, ClusterOutlined as Jh, InfoCircleOutlined as Pn, ExperimentOutlined as Uu, CheckCircleOutlined as _l, PlayCircleOutlined as zi, FormOutlined as Wu, CopyOutlined as Qi, AppstoreOutlined as ms, NotificationOutlined as Qh, ThunderboltOutlined as Ja, SyncOutlined as Vu, CloseCircleOutlined as Pi, FieldTimeOutlined as Xh, DownOutlined as yl, RightOutlined as Mi, RollbackOutlined as fo, TagOutlined as qu, EllipsisOutlined as Yu, CheckOutlined as bc, UserAddOutlined as Ci, DatabaseOutlined as jo, CloudSyncOutlined as Zh, SwapOutlined as ep, CloudUploadOutlined as tp, FileMarkdownOutlined as np, BellOutlined as ap, RocketOutlined as lp, SendOutlined as Nc, LeftOutlined as sp, CalendarOutlined as ip, WarningOutlined as _o, TeamOutlined as yo, SafetyCertificateOutlined as rp, MinusCircleOutlined as Uo, PlusCircleOutlined as vo, WarningFilled as op, CheckCircleFilled as Ku, CloseCircleFilled as Ju, NodeIndexOutlined as wi, FileImageOutlined as Qu, BranchesOutlined as Xu, ExclamationCircleOutlined as bo, ArrowLeftOutlined as Zu, BulbOutlined as cp, FileSearchOutlined as Cc, UpOutlined as dp, LoadingOutlined as wc, ExclamationCircleFilled as up, ExportOutlined as mp, StarFilled as Tc, StarOutlined as hp, EnterOutlined as pp, EyeOutlined as Xi, ClockCircleOutlined as em, BarChartOutlined as tm, DownloadOutlined as gp, ApartmentOutlined as fp, UndoOutlined as _p, LaptopOutlined as yp, DesktopOutlined as vp, LockOutlined as bp, StopOutlined as Np, MenuFoldOutlined as Cp, LogoutOutlined as wp, MonitorOutlined as Tp, CodeSandboxOutlined as Sp } from "@ant-design/icons";
|
|
4
4
|
import { message as h, Spin as pt, Modal as tt, Tooltip as be, Button as k, Dropdown as Hl, Empty as St, Tree as Wo, Input as Ce, Segmented as kp, Form as Xe, Space as Ze, Typography as Nt, Card as ta, Table as st, Divider as Yn, Select as Ge, InputNumber as Fn, Switch as kn, Tag as Q, Drawer as $n, Tabs as Tt, Alert as pn, Radio as zn, Collapse as gn, Popconfirm as hn, DatePicker as Hn, Row as No, Col as ca, Statistic as vn, Skeleton as Ti, Descriptions as At, List as Wa, Layout as nm, Checkbox as na, Steps as xp, Upload as Ip, Progress as Vo, Image as am, Badge as Kn, AutoComplete as Ap, TreeSelect as Lp, Breadcrumb as gr, Avatar as $p } from "antd";
|
|
5
5
|
import Ep, { Component as Dp, useState as r, useRef as ft, useEffect as Ne, useCallback as te, useMemo as $e, useLayoutEffect as lm } from "react";
|
|
6
6
|
import { h as vl } from "./history-BlrA1eaW.js";
|
|
7
|
-
import { ae as Mt, ah as Bt, af as Ft, ag as _n, cc as qo, n as Tn, bT as Co, aj as Bi, bP as sm, cd as Si, ce as Rp, cf as im, ak as Op, al as zp, t as lt, cg as Pp, i as Ul, ch as Mp, ci as Bp, cj as Fp, ck as Hp, cl as Gp, cm as Yo, br as jp, cn as rm, co as Up, cp as Cs, cq as Wp, cr as fr, cs as Vp, ct as qp, cu as Yp, bs as Kp, cv as Jp, cw as Qp, cx as Xp, c9 as Zp, bq as eg, cy as tg, cz as ng, cA as ag, cB as lg, cC as sg, cD as ig, cE as rg, cF as og, cG as cg, cH as dg, cI as _r, cJ as ug, cK as mg, cL as hg, cM as pg, cN as gg, cO as fg, cP as _g, cQ as Sc, cR as yg, cS as om, cT as vg, cU as bg, cV as cm, cW as dm, cX as um, cY as mm, cZ as Ng, c_ as hm, c$ as Cg, d0 as wg, d1 as Tg, d2 as Sg, d3 as kg, d4 as sa, d5 as xg, d6 as Ig, d7 as Ag, ca as ki, d8 as Es, d9 as yr, da as Kl, db as Lg, dc as $g, dd as Eg, de as Dg, df as Rg, dg as Og, dh as zg, aK as Xa, di as Pg, dj as Mg, dk as Bg, dl as Fg, dm as Hg, dn as Gg, dp as kc, dq as jg, dr as Ug, ds as xc, dt as Fi, du as Wg, dv as Ic, dw as Vg, dx as qg, dy as Yg, dz as Kg, dA as Jg, dB as Qg, dC as Xg, y as pm, a2 as Ac, dD as gm, dE as Lc, dF as Ko, dG as Jo, dH as Hi, dI as xi, dJ as Zg, dK as ef, dL as tf, dM as nf, dN as af, dO as lf, dP as sf, dQ as rf, b8 as of, dR as cf, dS as df, dT as uf, dU as mf, dV as hf, dW as pf, dX as gf, dY as ff, dZ as _f, d_ as yf, d$ as vf, e0 as bf, e1 as Nf, e2 as Cf, e3 as wf, e4 as Tf, e5 as Sf, e6 as kf, e7 as xf, e8 as If, e9 as Af, ea as Lf, eb as $f, ec as Ef, ed as Df, ee as Rf, ef as Of, eg as zf, eh as Pf, ei as vr, ej as Mf, ek as $c, el as Ec, em as Bf, en as Ff, eo as Hf, ep as Gf, eq as Dc, er as jf, es as Uf, et as fm, eu as _m, ev as Wf, ew as ym, ex as Vf, ey as qf, ez as Yf, eA as Kf, eB as Jf, eC as Qf, eD as Xf, eE as Zf, eF as e_, eG as t_, eH as n_, eI as a_, eJ as l_, eK as s_, eL as Rc, eM as i_, eN as r_, g as o_ } from "./api-
|
|
7
|
+
import { ae as Mt, ah as Bt, af as Ft, ag as _n, cc as qo, n as Tn, bT as Co, aj as Bi, bP as sm, cd as Si, ce as Rp, cf as im, ak as Op, al as zp, t as lt, cg as Pp, i as Ul, ch as Mp, ci as Bp, cj as Fp, ck as Hp, cl as Gp, cm as Yo, br as jp, cn as rm, co as Up, cp as Cs, cq as Wp, cr as fr, cs as Vp, ct as qp, cu as Yp, bs as Kp, cv as Jp, cw as Qp, cx as Xp, c9 as Zp, bq as eg, cy as tg, cz as ng, cA as ag, cB as lg, cC as sg, cD as ig, cE as rg, cF as og, cG as cg, cH as dg, cI as _r, cJ as ug, cK as mg, cL as hg, cM as pg, cN as gg, cO as fg, cP as _g, cQ as Sc, cR as yg, cS as om, cT as vg, cU as bg, cV as cm, cW as dm, cX as um, cY as mm, cZ as Ng, c_ as hm, c$ as Cg, d0 as wg, d1 as Tg, d2 as Sg, d3 as kg, d4 as sa, d5 as xg, d6 as Ig, d7 as Ag, ca as ki, d8 as Es, d9 as yr, da as Kl, db as Lg, dc as $g, dd as Eg, de as Dg, df as Rg, dg as Og, dh as zg, aK as Xa, di as Pg, dj as Mg, dk as Bg, dl as Fg, dm as Hg, dn as Gg, dp as kc, dq as jg, dr as Ug, ds as xc, dt as Fi, du as Wg, dv as Ic, dw as Vg, dx as qg, dy as Yg, dz as Kg, dA as Jg, dB as Qg, dC as Xg, y as pm, a2 as Ac, dD as gm, dE as Lc, dF as Ko, dG as Jo, dH as Hi, dI as xi, dJ as Zg, dK as ef, dL as tf, dM as nf, dN as af, dO as lf, dP as sf, dQ as rf, b8 as of, dR as cf, dS as df, dT as uf, dU as mf, dV as hf, dW as pf, dX as gf, dY as ff, dZ as _f, d_ as yf, d$ as vf, e0 as bf, e1 as Nf, e2 as Cf, e3 as wf, e4 as Tf, e5 as Sf, e6 as kf, e7 as xf, e8 as If, e9 as Af, ea as Lf, eb as $f, ec as Ef, ed as Df, ee as Rf, ef as Of, eg as zf, eh as Pf, ei as vr, ej as Mf, ek as $c, el as Ec, em as Bf, en as Ff, eo as Hf, ep as Gf, eq as Dc, er as jf, es as Uf, et as fm, eu as _m, ev as Wf, ew as ym, ex as Vf, ey as qf, ez as Yf, eA as Kf, eB as Jf, eC as Qf, eD as Xf, eE as Zf, eF as e_, eG as t_, eH as n_, eI as a_, eJ as l_, eK as s_, eL as Rc, eM as i_, eN as r_, g as o_ } from "./api-W2_U7Nxd.js";
|
|
8
8
|
import wo from "react-markdown";
|
|
9
9
|
import c_ from "rehype-highlight";
|
|
10
10
|
import To from "remark-gfm";
|
|
11
|
-
import { u as xt } from "./useAppStore-
|
|
11
|
+
import { u as xt } from "./useAppStore-C12Ala1u.js";
|
|
12
12
|
/* empty css */
|
|
13
|
-
import { s as d_ } from "./ctc-signout-
|
|
13
|
+
import { s as d_ } from "./ctc-signout-C_dAvsu5.js";
|
|
14
14
|
import ht from "dayjs";
|
|
15
15
|
import * as ya from "echarts";
|
|
16
16
|
import u_ from "highlight.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx as r, jsxs as x } from "react/jsx-runtime";
|
|
2
2
|
import { f as z, r as T } from "./ctc-sso-C-QWy9F8.js";
|
|
3
|
-
import { r as D, h as U, s as F } from "./sso-user-
|
|
3
|
+
import { r as D, h as U, s as F } from "./sso-user-D1eNVXkY.js";
|
|
4
4
|
import { CheckCircleFilled as W } from "@ant-design/icons";
|
|
5
5
|
import { Result as B, Button as H, Spin as G } from "antd";
|
|
6
6
|
import J from "query-string";
|
|
7
7
|
import { useState as d, useRef as K, useCallback as O, useMemo as R, useEffect as E } from "react";
|
|
8
8
|
import { useLocation as Q } from "react-router-dom";
|
|
9
9
|
import { h as b } from "./history-BlrA1eaW.js";
|
|
10
|
-
import { e as V, g as X } from "./api-
|
|
11
|
-
import { u as s } from "./useAppStore-
|
|
10
|
+
import { e as V, g as X } from "./api-W2_U7Nxd.js";
|
|
11
|
+
import { u as s } from "./useAppStore-C12Ala1u.js";
|
|
12
12
|
import { b as Y } from "./mobile-client-O3yr9h6t.js";
|
|
13
|
-
import { s as Z } from "./send-default-agent-team-message-
|
|
13
|
+
import { s as Z } from "./send-default-agent-team-message-DxD_vD7Z.js";
|
|
14
14
|
function de() {
|
|
15
15
|
const h = Q(), f = J.parse(h.search), c = String(
|
|
16
16
|
f.scenarioCode ?? f.scenario_code ?? ""
|
|
@@ -1,14 +1,14 @@
|
|
|
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-C-QWy9F8.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-D1eNVXkY.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 { c as Y, g as B } from "./api-
|
|
11
|
-
import { u as m } from "./useAppStore-
|
|
10
|
+
import { c as Y, g as B } from "./api-W2_U7Nxd.js";
|
|
11
|
+
import { u as m } from "./useAppStore-C12Ala1u.js";
|
|
12
12
|
/* empty css */
|
|
13
13
|
import { b as G } from "./mobile-client-O3yr9h6t.js";
|
|
14
14
|
function ne() {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as t, jsxs as l } from "react/jsx-runtime";
|
|
2
2
|
import { f as ie, r as $ } from "./ctc-sso-C-QWy9F8.js";
|
|
3
|
-
import { r as le, h as K, s as J } from "./sso-user-
|
|
3
|
+
import { r as le, h as K, s as J } from "./sso-user-D1eNVXkY.js";
|
|
4
4
|
import { ArrowLeftOutlined as de, PlusOutlined as ue, LogoutOutlined as pe, SearchOutlined as me } from "@ant-design/icons";
|
|
5
5
|
import { Spin as q, Button as D, Input as he, Empty as X, Tag as fe, message as ge } from "antd";
|
|
6
6
|
import B from "query-string";
|
|
7
7
|
import { useEffect as N, useState as y, useMemo as Y, useRef as M, useCallback as G } from "react";
|
|
8
8
|
import { useLocation as be } from "react-router-dom";
|
|
9
9
|
import { h as A } from "./history-BlrA1eaW.js";
|
|
10
|
-
import { c as ke, C as we } from "./createWorkspaceWsHandler-
|
|
11
|
-
import { u as r, f as Se, T as ve } from "./useAppStore-
|
|
12
|
-
import { o as ye, q as Ne, r as je, v as Ce, a as Pe, j as Te, g as ee } from "./api-
|
|
10
|
+
import { c as ke, C as we } from "./createWorkspaceWsHandler-DrV9AaO7.js";
|
|
11
|
+
import { u as r, f as Se, T as ve } from "./useAppStore-C12Ala1u.js";
|
|
12
|
+
import { o as ye, q as Ne, r as je, v as Ce, a as Pe, j as Te, g as ee } from "./api-W2_U7Nxd.js";
|
|
13
13
|
/* empty css */
|
|
14
|
-
import { s as xe } from "./ctc-signout-
|
|
14
|
+
import { s as xe } from "./ctc-signout-C_dAvsu5.js";
|
|
15
15
|
function Ie(p, d) {
|
|
16
16
|
N(() => {
|
|
17
17
|
if (p == null)
|