@yuku123/z-team-component 0.2.32 → 0.2.36
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/{ComponentDoc-oOU-0zBg.js → ComponentDoc-B2qJmtU6.js} +39 -39
- package/dist/DebugPlayground-cxffrMgF.js +15 -0
- package/dist/{InvitationManagementPage-62XWbq0p.js → InvitationManagementPage-61uxWWwF.js} +1 -1
- package/dist/{OnboardingPage-BBUHWsq9.js → OnboardingPage-BBKst6Qf.js} +2 -2
- package/dist/SmartWorkbench.module-DzQskKT0.js +85 -0
- package/dist/{SystemShell-BBRnHTz-.js → SystemShell-C52BvjTM.js} +158 -160
- package/dist/{api-B2evuUfQ.js → api-Bf3E-c73.js} +1 -1
- package/dist/{index-BpuJ9Njb.js → index-7VAcVmtR.js} +2 -2
- package/dist/{index-BtuWPnZD.js → index-BEqPF6wm.js} +2290 -2260
- package/dist/{index-BagwrhL6.js → index-BG755_pa.js} +1 -1
- package/dist/{index-BPVspGPJ.js → index-CEmwgW65.js} +1056 -1054
- package/dist/{index-Cqb50VtA.js → index-CFakyLYo.js} +56 -65
- package/dist/{index-Iw2RDvji.js → index-DHh0L9FB.js} +1203 -1218
- package/dist/index-Ddm63H7s.js +1335 -0
- package/dist/{index-CSlFOtu_.js → index-ff3leJCK.js} +1 -1
- package/dist/{index-BKJeoGCL.js → index-tDO0JBvI.js} +2 -2
- package/dist/index.js +1 -1
- package/dist/pages.js +1 -1
- package/dist/{schedule-DD50-7cs.js → schedule-DIlnA1uC.js} +34 -34
- package/dist/{webide-P867RFZi.js → webide-mvUPb2k9.js} +1 -1
- package/dist/z-team-component.css +1 -1
- package/package.json +1 -1
- package/dist/SmartWorkbench.module-xRRmpTTw.js +0 -85
- package/dist/index-a4cM-7bG.js +0 -1433
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { AppLayout as
|
|
2
|
-
import { a as
|
|
3
|
-
import { b as
|
|
1
|
+
import { AppLayout as k, ErrorBoundary as v, LoginPage as H, StatusTag as _, defaultStatusMap as j } from "@yuku123/z-frontend-common";
|
|
2
|
+
import { a as T } from "./ComponentDoc-B2qJmtU6.js";
|
|
3
|
+
import { b as F, E as V, c as J, M as Q, d as X, O as Y, e as Z, R as $, f as ee, g as te, T as re, h as ae, r as oe, r as ne, s as le } from "./ComponentDoc-B2qJmtU6.js";
|
|
4
4
|
import { jsxs as r, Fragment as h, jsx as e } from "react/jsx-runtime";
|
|
5
|
-
import { useState as n, useEffect as
|
|
6
|
-
import { Alert as I, Space as
|
|
7
|
-
import { ReloadOutlined as
|
|
8
|
-
import { ListTable as
|
|
9
|
-
|
|
5
|
+
import { useState as n, useEffect as y } from "react";
|
|
6
|
+
import { Alert as I, Space as x, Button as s, Tag as c } from "antd";
|
|
7
|
+
import { ReloadOutlined as f, UserAddOutlined as R, TeamOutlined as E, PlusOutlined as w, CodeOutlined as b } from "@ant-design/icons";
|
|
8
|
+
import { ListTable as g } from "@yuku123/z-frontend-common/ui";
|
|
9
|
+
import { D as ie } from "./DebugPlayground-cxffrMgF.js";
|
|
10
|
+
const B = T, O = {
|
|
10
11
|
LEADER: "red",
|
|
11
12
|
WORKER: "blue",
|
|
12
13
|
OBSERVER: "default"
|
|
13
14
|
};
|
|
14
|
-
function
|
|
15
|
-
const [
|
|
15
|
+
function G() {
|
|
16
|
+
const [l] = n(!1), [i] = n([]);
|
|
16
17
|
return /* @__PURE__ */ r(h, { children: [
|
|
17
18
|
/* @__PURE__ */ e(
|
|
18
19
|
I,
|
|
@@ -25,17 +26,17 @@ function K() {
|
|
|
25
26
|
}
|
|
26
27
|
),
|
|
27
28
|
/* @__PURE__ */ e(
|
|
28
|
-
|
|
29
|
+
g,
|
|
29
30
|
{
|
|
30
31
|
cardTitle: /* @__PURE__ */ r("span", { children: [
|
|
31
32
|
/* @__PURE__ */ e(E, { style: { marginRight: 8 } }),
|
|
32
33
|
"Agent 群组 IM"
|
|
33
34
|
] }),
|
|
34
|
-
cardExtra: /* @__PURE__ */ r(
|
|
35
|
-
/* @__PURE__ */ e(
|
|
36
|
-
/* @__PURE__ */ e(
|
|
35
|
+
cardExtra: /* @__PURE__ */ r(x, { children: [
|
|
36
|
+
/* @__PURE__ */ e(s, { icon: /* @__PURE__ */ e(f, {}), loading: l, children: "刷新" }),
|
|
37
|
+
/* @__PURE__ */ e(s, { type: "primary", icon: /* @__PURE__ */ e(R, {}), disabled: !0, children: "创建群组" })
|
|
37
38
|
] }),
|
|
38
|
-
rows:
|
|
39
|
+
rows: i,
|
|
39
40
|
columns: [
|
|
40
41
|
{ title: "群组编码", dataIndex: "teamCode", width: 200, ellipsis: !0 },
|
|
41
42
|
{ title: "群组名称", dataIndex: "teamName", width: 200 },
|
|
@@ -50,7 +51,7 @@ function K() {
|
|
|
50
51
|
{ title: "更新时间", dataIndex: "updatedAt", width: 180 }
|
|
51
52
|
],
|
|
52
53
|
rowKey: "teamCode",
|
|
53
|
-
loading:
|
|
54
|
+
loading: l,
|
|
54
55
|
searchKeys: ["teamCode", "teamName"],
|
|
55
56
|
searchPlaceholder: "按群组编码 / 名称过滤",
|
|
56
57
|
emptyTitle: "暂无群组",
|
|
@@ -59,27 +60,27 @@ function K() {
|
|
|
59
60
|
)
|
|
60
61
|
] });
|
|
61
62
|
}
|
|
62
|
-
const
|
|
63
|
+
const A = {
|
|
63
64
|
CREATING: { text: "创建中", color: "processing" },
|
|
64
65
|
RUNNING: { text: "运行中", color: "success" },
|
|
65
66
|
STOPPED: { text: "已停止", color: "default" },
|
|
66
67
|
ERROR: { text: "错误", color: "error" }
|
|
67
|
-
},
|
|
68
|
+
}, M = {
|
|
68
69
|
GIT: { text: "GIT 模式", color: "blue" },
|
|
69
70
|
SHARED: { text: "SHARED 模式", color: "purple" }
|
|
70
71
|
};
|
|
71
|
-
function
|
|
72
|
-
const [
|
|
72
|
+
function K() {
|
|
73
|
+
const [l, i] = n([]), [d, a] = n(!1), [u, m] = n(null), p = async () => {
|
|
73
74
|
a(!0), m(null);
|
|
74
75
|
try {
|
|
75
|
-
|
|
76
|
+
i([]);
|
|
76
77
|
} catch (t) {
|
|
77
78
|
m((t == null ? void 0 : t.message) || "加载失败");
|
|
78
79
|
} finally {
|
|
79
80
|
a(!1);
|
|
80
81
|
}
|
|
81
82
|
};
|
|
82
|
-
return
|
|
83
|
+
return y(() => {
|
|
83
84
|
p();
|
|
84
85
|
}, []), /* @__PURE__ */ r(h, { children: [
|
|
85
86
|
u && /* @__PURE__ */ e(
|
|
@@ -93,17 +94,17 @@ function U() {
|
|
|
93
94
|
}
|
|
94
95
|
),
|
|
95
96
|
/* @__PURE__ */ e(
|
|
96
|
-
|
|
97
|
+
g,
|
|
97
98
|
{
|
|
98
99
|
cardTitle: /* @__PURE__ */ r("span", { children: [
|
|
99
|
-
/* @__PURE__ */ e(
|
|
100
|
+
/* @__PURE__ */ e(b, { style: { marginRight: 8 } }),
|
|
100
101
|
"WebIDE 容器管理"
|
|
101
102
|
] }),
|
|
102
|
-
cardExtra: /* @__PURE__ */ r(
|
|
103
|
-
/* @__PURE__ */ e(
|
|
104
|
-
/* @__PURE__ */ e(
|
|
103
|
+
cardExtra: /* @__PURE__ */ r(x, { children: [
|
|
104
|
+
/* @__PURE__ */ e(s, { icon: /* @__PURE__ */ e(f, {}), onClick: p, loading: d, children: "刷新" }),
|
|
105
|
+
/* @__PURE__ */ e(s, { type: "primary", icon: /* @__PURE__ */ e(w, {}), disabled: !0, children: "新建 WebIDE" })
|
|
105
106
|
] }),
|
|
106
|
-
rows:
|
|
107
|
+
rows: l,
|
|
107
108
|
columns: [
|
|
108
109
|
{ title: "容器ID", dataIndex: "containerId", width: 220, ellipsis: !0 },
|
|
109
110
|
{
|
|
@@ -111,7 +112,7 @@ function U() {
|
|
|
111
112
|
dataIndex: "mode",
|
|
112
113
|
width: 120,
|
|
113
114
|
render: (t) => {
|
|
114
|
-
const o =
|
|
115
|
+
const o = M[t] || { text: t, color: "default" };
|
|
115
116
|
return /* @__PURE__ */ e(c, { color: o.color, children: o.text });
|
|
116
117
|
}
|
|
117
118
|
},
|
|
@@ -122,7 +123,7 @@ function U() {
|
|
|
122
123
|
dataIndex: "status",
|
|
123
124
|
width: 120,
|
|
124
125
|
render: (t) => {
|
|
125
|
-
const o =
|
|
126
|
+
const o = A[t] || { text: t, color: "default" };
|
|
126
127
|
return /* @__PURE__ */ e(c, { color: o.color, children: o.text });
|
|
127
128
|
}
|
|
128
129
|
},
|
|
@@ -139,40 +140,30 @@ function U() {
|
|
|
139
140
|
)
|
|
140
141
|
] });
|
|
141
142
|
}
|
|
142
|
-
function W() {
|
|
143
|
-
return /* @__PURE__ */ e(
|
|
144
|
-
R,
|
|
145
|
-
{
|
|
146
|
-
title: "Debug Playground",
|
|
147
|
-
subTitle: "AI 调试沙盒功能开发中...",
|
|
148
|
-
extra: /* @__PURE__ */ e(l, { type: "primary", children: "敬请期待" })
|
|
149
|
-
}
|
|
150
|
-
);
|
|
151
|
-
}
|
|
152
143
|
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
|
-
|
|
144
|
+
G as AgentTeamIM,
|
|
145
|
+
k as AppLayout,
|
|
146
|
+
F as CurlImportModal,
|
|
147
|
+
ie as DebugPlayground,
|
|
148
|
+
V as EndpointsTab,
|
|
149
|
+
J as EnvironmentsTab,
|
|
150
|
+
v as ErrorBoundary,
|
|
151
|
+
H as LoginPage,
|
|
152
|
+
Q as MockPlatform,
|
|
153
|
+
X as MockTemplateHelper,
|
|
154
|
+
Y as OpenApiImportModal,
|
|
155
|
+
Z as Overview,
|
|
156
|
+
$ as RecordingsTab,
|
|
157
|
+
ee as RequestLogsTab,
|
|
158
|
+
te as ScenariosTab,
|
|
159
|
+
_ as StatusTag,
|
|
160
|
+
re as TestCasesTab,
|
|
161
|
+
K as Webide,
|
|
162
|
+
T as authRequest,
|
|
163
|
+
ae as createRequest,
|
|
164
|
+
B as ctcRequest,
|
|
165
|
+
oe as default,
|
|
166
|
+
j as defaultStatusMap,
|
|
167
|
+
ne as request,
|
|
168
|
+
le as setupInterceptors
|
|
178
169
|
};
|