@yuku123/z-team-component 0.2.28 → 0.2.29
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-DpA3Xlq1.js → InvitationManagementPage-ByJuWwA_.js} +9 -9
- package/dist/{OnboardingPage-DFRAwruv.js → OnboardingPage-D58h1JK_.js} +2 -2
- package/dist/ProjectApp-oUbzb0Io.js +3818 -0
- package/dist/SmartWorkbench.module-xRRmpTTw.js +85 -0
- package/dist/{SystemShell-BLXTOqFb.js → SystemShell-D4mGsT0X.js} +153 -151
- package/dist/{api-CX7MUpws.js → api-3-Ykp2ll.js} +1 -1
- package/dist/index-B8mNsH88.js +1411 -0
- package/dist/{index-dSnK7qcL.js → index-BwFEDHy3.js} +2 -2
- package/dist/{index-hPzswwk2.js → index-CDKg_qI5.js} +1 -1
- package/dist/{index-CPF3LS0x.js → index-CRac8IT2.js} +1 -1
- package/dist/{index-DIxwe_pk.js → index-D2S8FrNc.js} +1 -1
- package/dist/{index-BYEx4vlI.js → index-DOVOWiGU.js} +2 -2
- package/dist/{index-CcTdM5kT.js → index-DYDba1NC.js} +64 -55
- package/dist/index-Da3doGtf.js +1743 -0
- package/dist/{index-C9BOtjtQ.js → index-Dky6GVc1.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/pages.js +5 -4
- package/dist/z-team-component.css +1 -1
- package/package.json +2 -2
- package/dist/DebugPlayground-cxffrMgF.js +0 -15
- package/dist/ProjectApp-BquB_X7K.js +0 -4591
- package/dist/SmartWorkbench.module-DzQskKT0.js +0 -85
- package/dist/index-BylksTyk.js +0 -1327
- package/dist/index-pfzY68PH.js +0 -1408
|
@@ -8,7 +8,7 @@ import Vp from "rehype-highlight";
|
|
|
8
8
|
import gp from "remark-gfm";
|
|
9
9
|
import { af as la, ag as KA } from "./api--Fg0hL9Y.js";
|
|
10
10
|
import { u as Dp } from "./useAppStore-wgWaxcyc.js";
|
|
11
|
-
import { f as xa, u as jA, c as oA, r as fA, a as lA, b as xA, d as iA, e as cA, w as hp, i as TA, g as up, t as Yp, h as yp, j as vA, k as FA, l as dA, m as OA } from "./index-
|
|
11
|
+
import { f as xa, u as jA, c as oA, r as fA, a as lA, b as xA, d as iA, e as cA, w as hp, i as TA, g as up, t as Yp, h as yp, j as vA, k as FA, l as dA, m as OA } from "./index-DOVOWiGU.js";
|
|
12
12
|
import { u as XA, a as RA, f as NA, b as kA, d as Ip, e as WA, g as DA, r as qA, h as uA, i as mA, j as wA, k as BA, l as GA, m as LA, n as zA } from "./createWorkspaceWsHandler-CqGqcTh_.js";
|
|
13
13
|
import { h as r } from "./index.module-CAa-2T7m.js";
|
|
14
14
|
const VA = "_editorView_as93v_7", gA = "_editorTopBar_as93v_16", JA = "_backBtn_as93v_25", bA = "_titleInput_as93v_39", MA = "_summaryBar_as93v_50", sA = "_summaryInput_as93v_55", QA = "_mdToolbar_as93v_67", hA = "_mdBtn_as93v_77", YA = "_mdSep_as93v_84", yA = "_editorBody_as93v_93", IA = "_tocPanel_as93v_100", CA = "_tocHeader_as93v_108", ZA = "_tocList_as93v_117", EA = "_tocItem_as93v_122", _A = "_tocEmpty_as93v_137", $A = "_textarea_as93v_144", pt = "_half_as93v_160", at = "_preview_as93v_163", At = "_markdown_as93v_173", tt = "_videoEmbed_as93v_185", w = {
|
|
@@ -1682,7 +1682,7 @@ const Xt = [
|
|
|
1682
1682
|
draftDeleteBtn: c0,
|
|
1683
1683
|
markdown: T0
|
|
1684
1684
|
}, v0 = rA(
|
|
1685
|
-
() => import("./index-
|
|
1685
|
+
() => import("./index-CRac8IT2.js").then((a) => ({ default: a.MarketContent }))
|
|
1686
1686
|
);
|
|
1687
1687
|
function F0(a) {
|
|
1688
1688
|
const n = [], l = a.split(`
|
|
@@ -12,7 +12,7 @@ import { h as Ie } from "./index.module-CAa-2T7m.js";
|
|
|
12
12
|
import { M as jl } from "./index-CUVdeb8y.js";
|
|
13
13
|
import { ae as Wl } from "./api--Fg0hL9Y.js";
|
|
14
14
|
import { h as Hl } from "./schedule-C89oiqIR.js";
|
|
15
|
-
import { s as Ee } from "./SmartWorkbench.module-
|
|
15
|
+
import { s as Ee } from "./SmartWorkbench.module-xRRmpTTw.js";
|
|
16
16
|
function Kl() {
|
|
17
17
|
const l = be((i) => i.token), [n, E] = o([]), [S, $] = o(!1), [x, B] = o(""), [D, F] = o(null), [c, A] = o(!1), [C, T] = o(!1), [I, U] = o(null), [u, v] = o([]), [_, f] = o([]), [j, J] = o([]), [Z, P] = o([]), [w, M] = o([]), h = de(async () => {
|
|
18
18
|
$(!0);
|
|
@@ -7,7 +7,7 @@ import { message as U, Input as H, Tooltip as se, Button as g, Spin as ce, Empty
|
|
|
7
7
|
import ve from "react-markdown";
|
|
8
8
|
import _e from "rehype-highlight";
|
|
9
9
|
import ge from "remark-gfm";
|
|
10
|
-
import { M as oa } from "./index-
|
|
10
|
+
import { M as oa } from "./index-BwFEDHy3.js";
|
|
11
11
|
function j(a) {
|
|
12
12
|
return a ? `?token=${encodeURIComponent(a)}` : "";
|
|
13
13
|
}
|
|
@@ -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-oUbzb0Io.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 () => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as a, jsx as e, Fragment as vt } from "react/jsx-runtime";
|
|
2
2
|
import { a as Se, r as Qe, f as Be, B as Oe, u as dn, T as Ut, ah as To, J as kn, t as Dt, ai as tn, aj as Lo, ak as xo, c as $o, af as Po, al as to, k as It, am as Ao, x as Mo, G as Eo, i as no, an as Do, o as Fo, l as Ro, n as Bo, m as Oo, e as jo, ao as Wo } from "./api--Fg0hL9Y.js";
|
|
3
3
|
import { s as Ho, r as nn, f as Uo } from "./ctc-sso-DtJHC-2M.js";
|
|
4
|
-
import { i as zo } from "./ProjectApp-
|
|
4
|
+
import { i as zo } from "./ProjectApp-oUbzb0Io.js";
|
|
5
5
|
import { r as Go, h as Tn, s as Ln } from "./sso-user-BE1Ell5F.js";
|
|
6
6
|
import { Input as qt, Tooltip as Kt, Spin as ot, Tabs as wn, Popconfirm as fn, Button as ft, Empty as zt, Modal as Vt, Form as Wt, Checkbox as qo, Tag as Ko, Select as Vo, Table as Jo, Popover as Yo, Dropdown as Qo, Avatar as Zo, message as xn } from "antd";
|
|
7
7
|
import Gt from "query-string";
|
|
@@ -5073,7 +5073,7 @@ const il = "_layout_i9evc_1", cl = "_banner_i9evc_8", ll = "_bannerLeft_i9evc_20
|
|
|
5073
5073
|
modeToggleBtn: cd,
|
|
5074
5074
|
modeToggleBtnActive: ld,
|
|
5075
5075
|
smartWorkbenchArea: dd
|
|
5076
|
-
}, md = it(() => import("./index-
|
|
5076
|
+
}, md = it(() => import("./index-Dky6GVc1.js")), ud = it(() => import("./index-B8mNsH88.js")), pd = it(() => import("./index-BaCiSbPR.js")), hd = it(() => import("./index-BwFEDHy3.js").then((t) => t.i)), fd = it(() => import("./index-DvIHX7lZ.js")), gd = it(() => import("./index-C01UUprh.js")), yd = it(() => import("./index-C0EIMJI2.js")), _d = it(() => import("./index-CDKg_qI5.js")), vd = it(() => import("./index-D2S8FrNc.js")), kd = it(() => import("./index-Da3doGtf.js")), Yn = it(() => import("./SystemShell-D4mGsT0X.js")), bd = `${window.publicPath ?? "/"}logo.svg`, Nd = [
|
|
5077
5077
|
"/ctc/",
|
|
5078
5078
|
"/ai/",
|
|
5079
5079
|
"/config/",
|
|
@@ -1,32 +1,31 @@
|
|
|
1
|
-
import { AppLayout as
|
|
2
|
-
import { a as
|
|
3
|
-
import { C as
|
|
1
|
+
import { AppLayout as K, ErrorBoundary as _, LoginPage as j, StatusTag as V, defaultStatusMap as F } from "@yuku123/z-frontend-common";
|
|
2
|
+
import { a as T } from "./ProjectApp-oUbzb0Io.js";
|
|
3
|
+
import { C as Q, E as X, b as Y, M as Z, c as $, O as tt, d as et, R as at, e as rt, f as ot, T as nt, g as it, r as lt, r as st, s as dt } from "./ProjectApp-oUbzb0Io.js";
|
|
4
4
|
import { jsxs as a, jsx as t } from "react/jsx-runtime";
|
|
5
|
-
import { useState as i, useEffect as
|
|
6
|
-
import { Card as
|
|
7
|
-
import { ReloadOutlined as
|
|
8
|
-
|
|
9
|
-
const G = y, A = {
|
|
5
|
+
import { useState as i, useEffect as b } from "react";
|
|
6
|
+
import { Card as g, Alert as h, Table as x, Spin as I, Empty as f, Space as R, Button as l, Tag as c, Result as E } from "antd";
|
|
7
|
+
import { ReloadOutlined as y, UserAddOutlined as w, TeamOutlined as A, PlusOutlined as O, CodeOutlined as S } from "@ant-design/icons";
|
|
8
|
+
const N = T, M = {
|
|
10
9
|
LEADER: "red",
|
|
11
10
|
WORKER: "blue",
|
|
12
11
|
OBSERVER: "default"
|
|
13
12
|
};
|
|
14
|
-
function
|
|
13
|
+
function U() {
|
|
15
14
|
const [r] = i(!1), [d] = i([]);
|
|
16
15
|
return /* @__PURE__ */ a(
|
|
17
|
-
|
|
16
|
+
g,
|
|
18
17
|
{
|
|
19
18
|
title: /* @__PURE__ */ a("span", { children: [
|
|
20
|
-
/* @__PURE__ */ t(
|
|
19
|
+
/* @__PURE__ */ t(A, { style: { marginRight: 8 } }),
|
|
21
20
|
"Agent 群组 IM"
|
|
22
21
|
] }),
|
|
23
22
|
extra: /* @__PURE__ */ a(R, { children: [
|
|
24
|
-
/* @__PURE__ */ t(
|
|
25
|
-
/* @__PURE__ */ t(
|
|
23
|
+
/* @__PURE__ */ t(l, { icon: /* @__PURE__ */ t(y, {}), loading: r, children: "刷新" }),
|
|
24
|
+
/* @__PURE__ */ t(l, { type: "primary", icon: /* @__PURE__ */ t(w, {}), disabled: !0, children: "创建群组" })
|
|
26
25
|
] }),
|
|
27
26
|
children: [
|
|
28
27
|
/* @__PURE__ */ t(
|
|
29
|
-
|
|
28
|
+
h,
|
|
30
29
|
{
|
|
31
30
|
type: "info",
|
|
32
31
|
showIcon: !0,
|
|
@@ -36,7 +35,7 @@ function N() {
|
|
|
36
35
|
}
|
|
37
36
|
),
|
|
38
37
|
/* @__PURE__ */ t(
|
|
39
|
-
|
|
38
|
+
x,
|
|
40
39
|
{
|
|
41
40
|
rowKey: "teamCode",
|
|
42
41
|
size: "small",
|
|
@@ -49,7 +48,7 @@ function N() {
|
|
|
49
48
|
title: "我的角色",
|
|
50
49
|
dataIndex: "role",
|
|
51
50
|
width: 120,
|
|
52
|
-
render: (o) => /* @__PURE__ */ t(c, { color:
|
|
51
|
+
render: (o) => /* @__PURE__ */ t(c, { color: M[o] || "default", children: o || "-" })
|
|
53
52
|
},
|
|
54
53
|
{ title: "成员数", dataIndex: "memberCount", width: 100 },
|
|
55
54
|
{ title: "最近消息", dataIndex: "lastMessage", width: 240, ellipsis: !0 },
|
|
@@ -63,17 +62,17 @@ function N() {
|
|
|
63
62
|
}
|
|
64
63
|
);
|
|
65
64
|
}
|
|
66
|
-
const
|
|
65
|
+
const C = {
|
|
67
66
|
CREATING: { text: "创建中", color: "processing" },
|
|
68
67
|
RUNNING: { text: "运行中", color: "success" },
|
|
69
68
|
STOPPED: { text: "已停止", color: "default" },
|
|
70
69
|
ERROR: { text: "错误", color: "error" }
|
|
71
|
-
},
|
|
70
|
+
}, D = {
|
|
72
71
|
GIT: { text: "GIT 模式", color: "blue" },
|
|
73
72
|
SHARED: { text: "SHARED 模式", color: "purple" }
|
|
74
73
|
};
|
|
75
|
-
function
|
|
76
|
-
const [r, d] = i([]), [
|
|
74
|
+
function W() {
|
|
75
|
+
const [r, d] = i([]), [s, o] = i(!1), [u, p] = i(null), m = async () => {
|
|
77
76
|
o(!0), p(null);
|
|
78
77
|
try {
|
|
79
78
|
d([]);
|
|
@@ -83,22 +82,22 @@ function U() {
|
|
|
83
82
|
o(!1);
|
|
84
83
|
}
|
|
85
84
|
};
|
|
86
|
-
return
|
|
85
|
+
return b(() => {
|
|
87
86
|
m();
|
|
88
87
|
}, []), /* @__PURE__ */ a(
|
|
89
|
-
|
|
88
|
+
g,
|
|
90
89
|
{
|
|
91
90
|
title: /* @__PURE__ */ a("span", { children: [
|
|
92
91
|
/* @__PURE__ */ t(S, { style: { marginRight: 8 } }),
|
|
93
92
|
"WebIDE 容器管理"
|
|
94
93
|
] }),
|
|
95
94
|
extra: /* @__PURE__ */ a(R, { children: [
|
|
96
|
-
/* @__PURE__ */ t(
|
|
97
|
-
/* @__PURE__ */ t(
|
|
95
|
+
/* @__PURE__ */ t(l, { icon: /* @__PURE__ */ t(y, {}), onClick: m, loading: s, children: "刷新" }),
|
|
96
|
+
/* @__PURE__ */ t(l, { type: "primary", icon: /* @__PURE__ */ t(O, {}), disabled: !0, children: "新建 WebIDE" })
|
|
98
97
|
] }),
|
|
99
98
|
children: [
|
|
100
99
|
u && /* @__PURE__ */ t(
|
|
101
|
-
|
|
100
|
+
h,
|
|
102
101
|
{
|
|
103
102
|
type: "warning",
|
|
104
103
|
showIcon: !0,
|
|
@@ -108,11 +107,11 @@ function U() {
|
|
|
108
107
|
}
|
|
109
108
|
),
|
|
110
109
|
/* @__PURE__ */ t(
|
|
111
|
-
|
|
110
|
+
x,
|
|
112
111
|
{
|
|
113
112
|
rowKey: "containerId",
|
|
114
113
|
size: "small",
|
|
115
|
-
loading:
|
|
114
|
+
loading: s,
|
|
116
115
|
dataSource: r,
|
|
117
116
|
columns: [
|
|
118
117
|
{ title: "容器ID", dataIndex: "containerId", width: 220, ellipsis: !0 },
|
|
@@ -121,7 +120,7 @@ function U() {
|
|
|
121
120
|
dataIndex: "mode",
|
|
122
121
|
width: 120,
|
|
123
122
|
render: (e) => {
|
|
124
|
-
const n =
|
|
123
|
+
const n = D[e] || { text: e, color: "default" };
|
|
125
124
|
return /* @__PURE__ */ t(c, { color: n.color, children: n.text });
|
|
126
125
|
}
|
|
127
126
|
},
|
|
@@ -132,14 +131,14 @@ function U() {
|
|
|
132
131
|
dataIndex: "status",
|
|
133
132
|
width: 120,
|
|
134
133
|
render: (e) => {
|
|
135
|
-
const n =
|
|
134
|
+
const n = C[e] || { text: e, color: "default" };
|
|
136
135
|
return /* @__PURE__ */ t(c, { color: n.color, children: n.text });
|
|
137
136
|
}
|
|
138
137
|
},
|
|
139
138
|
{ title: "创建时间", dataIndex: "createdAt", width: 180 }
|
|
140
139
|
],
|
|
141
140
|
locale: {
|
|
142
|
-
emptyText:
|
|
141
|
+
emptyText: s ? /* @__PURE__ */ t(I, {}) : /* @__PURE__ */ t(f, { description: "后端 z-webide 服务尚未启动" })
|
|
143
142
|
},
|
|
144
143
|
pagination: { pageSize: 20 },
|
|
145
144
|
scroll: { x: 1e3 }
|
|
@@ -149,30 +148,40 @@ function U() {
|
|
|
149
148
|
}
|
|
150
149
|
);
|
|
151
150
|
}
|
|
151
|
+
function k() {
|
|
152
|
+
return /* @__PURE__ */ t(
|
|
153
|
+
E,
|
|
154
|
+
{
|
|
155
|
+
title: "Debug Playground",
|
|
156
|
+
subTitle: "AI 调试沙盒功能开发中...",
|
|
157
|
+
extra: /* @__PURE__ */ t(l, { type: "primary", children: "敬请期待" })
|
|
158
|
+
}
|
|
159
|
+
);
|
|
160
|
+
}
|
|
152
161
|
export {
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
162
|
+
U as AgentTeamIM,
|
|
163
|
+
K as AppLayout,
|
|
164
|
+
Q as CurlImportModal,
|
|
165
|
+
k as DebugPlayground,
|
|
166
|
+
X as EndpointsTab,
|
|
167
|
+
Y as EnvironmentsTab,
|
|
168
|
+
_ as ErrorBoundary,
|
|
169
|
+
j as LoginPage,
|
|
170
|
+
Z as MockPlatform,
|
|
171
|
+
$ as MockTemplateHelper,
|
|
172
|
+
tt as OpenApiImportModal,
|
|
173
|
+
et as Overview,
|
|
174
|
+
at as RecordingsTab,
|
|
175
|
+
rt as RequestLogsTab,
|
|
176
|
+
ot as ScenariosTab,
|
|
177
|
+
V as StatusTag,
|
|
178
|
+
nt as TestCasesTab,
|
|
179
|
+
W as Webide,
|
|
180
|
+
T as authRequest,
|
|
181
|
+
it as createRequest,
|
|
182
|
+
N as ctcRequest,
|
|
183
|
+
lt as default,
|
|
184
|
+
F as defaultStatusMap,
|
|
185
|
+
st as request,
|
|
186
|
+
dt as setupInterceptors
|
|
178
187
|
};
|