@yuku123/z-team-component 0.2.36 → 0.2.38
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/ChangeLogView-nPAmM1X0.js +542 -0
- package/dist/{ComponentDoc-B2qJmtU6.js → ComponentDoc-CSdxKqUS.js} +3 -3
- package/dist/{InvitationManagementPage-61uxWWwF.js → InvitationManagementPage-CffDsyab.js} +1 -1
- package/dist/{OnboardingPage-BBKst6Qf.js → OnboardingPage-2pc1hLlZ.js} +2 -2
- package/dist/SmartWorkbench.module-xRRmpTTw.js +85 -0
- package/dist/{SystemShell-C52BvjTM.js → SystemShell-Vb8zer_S.js} +160 -158
- package/dist/{admin-logs-Dv86pFvY.js → admin-logs-D6HtRcK6.js} +2 -2
- package/dist/{api-19TXED_O.js → api-C78tCfne.js} +156 -155
- package/dist/{api-Bf3E-c73.js → api-DjTLmeZp.js} +1 -1
- package/dist/{createWorkspaceWsHandler-CBk4DqP4.js → createWorkspaceWsHandler-mq-UTF2O.js} +4 -4
- package/dist/{index-DOPkM2W8.js → index-7nSly-MA.js} +6 -6
- package/dist/{index-BG755_pa.js → index-B3zpx3YB.js} +1 -1
- package/dist/{index-BoGVJ0hC.js → index-BAK7UDvY.js} +1 -1
- package/dist/{index-tDO0JBvI.js → index-BAY37t4f.js} +5 -5
- package/dist/{index-DHh0L9FB.js → index-BT3VobW1.js} +9 -9
- package/dist/{index-BTLD5gUt.js → index-BX1Wd9x9.js} +3 -3
- package/dist/{index-BIJnjJd5.js → index-Bdu31aRV.js} +2 -2
- package/dist/{index-ff3leJCK.js → index-BoBuTvFh.js} +3 -3
- package/dist/{index-7VAcVmtR.js → index-BtaRkt8l.js} +7 -7
- package/dist/{index-CFakyLYo.js → index-C52lmww8.js} +65 -56
- package/dist/{index-DYgD6BuB.js → index-ClA0896K.js} +4 -4
- package/dist/{index-B_EBV24V.js → index-D9AqC2O-.js} +1 -1
- package/dist/{index-BjqYiZpC.js → index-DFY3lzq0.js} +3 -3
- package/dist/{index-BEqPF6wm.js → index-Dn3Q_5em.js} +862 -863
- package/dist/{index-Bd57t_yF.js → index-DpcrvKsK.js} +1 -1
- package/dist/index-a4cM-7bG.js +1433 -0
- package/dist/{index-CEmwgW65.js → index-droRtYU6.js} +5 -5
- package/dist/{index-x4-W5ClM.js → index-qK6pyAGy.js} +4 -4
- package/dist/index.js +1 -1
- package/dist/{instance-D951fRuD.js → instance-D5dhjbgg.js} +1 -1
- package/dist/pages.js +1 -1
- package/dist/{schedule-DIlnA1uC.js → schedule-C-4ksDPw.js} +1 -1
- package/dist/{send-default-agent-team-message-Bbs2rMNf.js → send-default-agent-team-message-C882sJLV.js} +1 -1
- package/dist/{sso-user-BEY5ICaR.js → sso-user-Bi9_l9yi.js} +1 -1
- package/dist/{training-B-9tNFQw.js → training-Ba09KItE.js} +1 -1
- package/dist/{useAppStore-BQN-26ns.js → useAppStore-ibJyVIAX.js} +1 -1
- package/dist/{webide-mvUPb2k9.js → webide-BEHelWeW.js} +4 -4
- package/dist/z-team-component.css +1 -1
- package/package.json +1 -1
- package/dist/ChangeLogView-FLd1wS8H.js +0 -502
- package/dist/DebugPlayground-cxffrMgF.js +0 -15
- package/dist/SmartWorkbench.module-DzQskKT0.js +0 -85
- package/dist/index-Ddm63H7s.js +0 -1335
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import { AppLayout as
|
|
2
|
-
import { a as
|
|
3
|
-
import { b as
|
|
1
|
+
import { AppLayout as H, ErrorBoundary as _, LoginPage as j, StatusTag as z, defaultStatusMap as F } from "@yuku123/z-frontend-common";
|
|
2
|
+
import { a as y } from "./ComponentDoc-CSdxKqUS.js";
|
|
3
|
+
import { b as J, E as Q, c as X, M as Y, d as Z, O as $, e as ee, R as te, f as re, g as ae, T as oe, h as ne, r as le, r as ie, s as se } from "./ComponentDoc-CSdxKqUS.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
|
-
|
|
10
|
-
const B = T, O = {
|
|
5
|
+
import { useState as n, useEffect as T } from "react";
|
|
6
|
+
import { Alert as I, Space as g, Button as l, Tag as c, Result as R } from "antd";
|
|
7
|
+
import { ReloadOutlined as x, UserAddOutlined as b, TeamOutlined as E, PlusOutlined as w, CodeOutlined as A } from "@ant-design/icons";
|
|
8
|
+
import { ListTable as f } from "@yuku123/z-frontend-common/ui";
|
|
9
|
+
const G = y, O = {
|
|
11
10
|
LEADER: "red",
|
|
12
11
|
WORKER: "blue",
|
|
13
12
|
OBSERVER: "default"
|
|
14
13
|
};
|
|
15
|
-
function
|
|
16
|
-
const [
|
|
14
|
+
function K() {
|
|
15
|
+
const [i] = n(!1), [s] = n([]);
|
|
17
16
|
return /* @__PURE__ */ r(h, { children: [
|
|
18
17
|
/* @__PURE__ */ e(
|
|
19
18
|
I,
|
|
@@ -26,17 +25,17 @@ function G() {
|
|
|
26
25
|
}
|
|
27
26
|
),
|
|
28
27
|
/* @__PURE__ */ e(
|
|
29
|
-
|
|
28
|
+
f,
|
|
30
29
|
{
|
|
31
30
|
cardTitle: /* @__PURE__ */ r("span", { children: [
|
|
32
31
|
/* @__PURE__ */ e(E, { style: { marginRight: 8 } }),
|
|
33
32
|
"Agent 群组 IM"
|
|
34
33
|
] }),
|
|
35
|
-
cardExtra: /* @__PURE__ */ r(
|
|
36
|
-
/* @__PURE__ */ e(
|
|
37
|
-
/* @__PURE__ */ e(
|
|
34
|
+
cardExtra: /* @__PURE__ */ r(g, { children: [
|
|
35
|
+
/* @__PURE__ */ e(l, { icon: /* @__PURE__ */ e(x, {}), loading: i, children: "刷新" }),
|
|
36
|
+
/* @__PURE__ */ e(l, { type: "primary", icon: /* @__PURE__ */ e(b, {}), disabled: !0, children: "创建群组" })
|
|
38
37
|
] }),
|
|
39
|
-
rows:
|
|
38
|
+
rows: s,
|
|
40
39
|
columns: [
|
|
41
40
|
{ title: "群组编码", dataIndex: "teamCode", width: 200, ellipsis: !0 },
|
|
42
41
|
{ title: "群组名称", dataIndex: "teamName", width: 200 },
|
|
@@ -51,7 +50,7 @@ function G() {
|
|
|
51
50
|
{ title: "更新时间", dataIndex: "updatedAt", width: 180 }
|
|
52
51
|
],
|
|
53
52
|
rowKey: "teamCode",
|
|
54
|
-
loading:
|
|
53
|
+
loading: i,
|
|
55
54
|
searchKeys: ["teamCode", "teamName"],
|
|
56
55
|
searchPlaceholder: "按群组编码 / 名称过滤",
|
|
57
56
|
emptyTitle: "暂无群组",
|
|
@@ -60,27 +59,27 @@ function G() {
|
|
|
60
59
|
)
|
|
61
60
|
] });
|
|
62
61
|
}
|
|
63
|
-
const
|
|
62
|
+
const M = {
|
|
64
63
|
CREATING: { text: "创建中", color: "processing" },
|
|
65
64
|
RUNNING: { text: "运行中", color: "success" },
|
|
66
65
|
STOPPED: { text: "已停止", color: "default" },
|
|
67
66
|
ERROR: { text: "错误", color: "error" }
|
|
68
|
-
},
|
|
67
|
+
}, D = {
|
|
69
68
|
GIT: { text: "GIT 模式", color: "blue" },
|
|
70
69
|
SHARED: { text: "SHARED 模式", color: "purple" }
|
|
71
70
|
};
|
|
72
|
-
function
|
|
73
|
-
const [
|
|
71
|
+
function U() {
|
|
72
|
+
const [i, s] = n([]), [d, a] = n(!1), [u, m] = n(null), p = async () => {
|
|
74
73
|
a(!0), m(null);
|
|
75
74
|
try {
|
|
76
|
-
|
|
75
|
+
s([]);
|
|
77
76
|
} catch (t) {
|
|
78
77
|
m((t == null ? void 0 : t.message) || "加载失败");
|
|
79
78
|
} finally {
|
|
80
79
|
a(!1);
|
|
81
80
|
}
|
|
82
81
|
};
|
|
83
|
-
return
|
|
82
|
+
return T(() => {
|
|
84
83
|
p();
|
|
85
84
|
}, []), /* @__PURE__ */ r(h, { children: [
|
|
86
85
|
u && /* @__PURE__ */ e(
|
|
@@ -94,17 +93,17 @@ function K() {
|
|
|
94
93
|
}
|
|
95
94
|
),
|
|
96
95
|
/* @__PURE__ */ e(
|
|
97
|
-
|
|
96
|
+
f,
|
|
98
97
|
{
|
|
99
98
|
cardTitle: /* @__PURE__ */ r("span", { children: [
|
|
100
|
-
/* @__PURE__ */ e(
|
|
99
|
+
/* @__PURE__ */ e(A, { style: { marginRight: 8 } }),
|
|
101
100
|
"WebIDE 容器管理"
|
|
102
101
|
] }),
|
|
103
|
-
cardExtra: /* @__PURE__ */ r(
|
|
104
|
-
/* @__PURE__ */ e(
|
|
105
|
-
/* @__PURE__ */ e(
|
|
102
|
+
cardExtra: /* @__PURE__ */ r(g, { children: [
|
|
103
|
+
/* @__PURE__ */ e(l, { icon: /* @__PURE__ */ e(x, {}), onClick: p, loading: d, children: "刷新" }),
|
|
104
|
+
/* @__PURE__ */ e(l, { type: "primary", icon: /* @__PURE__ */ e(w, {}), disabled: !0, children: "新建 WebIDE" })
|
|
106
105
|
] }),
|
|
107
|
-
rows:
|
|
106
|
+
rows: i,
|
|
108
107
|
columns: [
|
|
109
108
|
{ title: "容器ID", dataIndex: "containerId", width: 220, ellipsis: !0 },
|
|
110
109
|
{
|
|
@@ -112,7 +111,7 @@ function K() {
|
|
|
112
111
|
dataIndex: "mode",
|
|
113
112
|
width: 120,
|
|
114
113
|
render: (t) => {
|
|
115
|
-
const o =
|
|
114
|
+
const o = D[t] || { text: t, color: "default" };
|
|
116
115
|
return /* @__PURE__ */ e(c, { color: o.color, children: o.text });
|
|
117
116
|
}
|
|
118
117
|
},
|
|
@@ -123,7 +122,7 @@ function K() {
|
|
|
123
122
|
dataIndex: "status",
|
|
124
123
|
width: 120,
|
|
125
124
|
render: (t) => {
|
|
126
|
-
const o =
|
|
125
|
+
const o = M[t] || { text: t, color: "default" };
|
|
127
126
|
return /* @__PURE__ */ e(c, { color: o.color, children: o.text });
|
|
128
127
|
}
|
|
129
128
|
},
|
|
@@ -140,30 +139,40 @@ function K() {
|
|
|
140
139
|
)
|
|
141
140
|
] });
|
|
142
141
|
}
|
|
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
|
+
}
|
|
143
152
|
export {
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
153
|
+
K as AgentTeamIM,
|
|
154
|
+
H as AppLayout,
|
|
155
|
+
J as CurlImportModal,
|
|
156
|
+
W as DebugPlayground,
|
|
157
|
+
Q as EndpointsTab,
|
|
158
|
+
X as EnvironmentsTab,
|
|
159
|
+
_ as ErrorBoundary,
|
|
160
|
+
j as LoginPage,
|
|
161
|
+
Y as MockPlatform,
|
|
162
|
+
Z as MockTemplateHelper,
|
|
163
|
+
$ as OpenApiImportModal,
|
|
164
|
+
ee as Overview,
|
|
165
|
+
te as RecordingsTab,
|
|
166
|
+
re as RequestLogsTab,
|
|
167
|
+
ae as ScenariosTab,
|
|
168
|
+
z as StatusTag,
|
|
169
|
+
oe as TestCasesTab,
|
|
170
|
+
U as Webide,
|
|
171
|
+
y as authRequest,
|
|
172
|
+
ne as createRequest,
|
|
173
|
+
G as ctcRequest,
|
|
174
|
+
le as default,
|
|
175
|
+
F as defaultStatusMap,
|
|
176
|
+
ie as request,
|
|
177
|
+
se as setupInterceptors
|
|
169
178
|
};
|
|
@@ -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-DtJHC-2M.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-Bi9_l9yi.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 { d as V, e as X } from "./api-
|
|
11
|
-
import { u as s } from "./useAppStore-
|
|
10
|
+
import { d as V, e as X } from "./api-C78tCfne.js";
|
|
11
|
+
import { u as s } from "./useAppStore-ibJyVIAX.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-C882sJLV.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-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-Bi9_l9yi.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, e as B } from "./api-
|
|
11
|
-
import { u as m } from "./useAppStore-
|
|
10
|
+
import { c as Y, e as B } from "./api-C78tCfne.js";
|
|
11
|
+
import { u as m } from "./useAppStore-ibJyVIAX.js";
|
|
12
12
|
/* empty css */
|
|
13
13
|
import { b as G } from "./mobile-client-O3yr9h6t.js";
|
|
14
14
|
function ne() {
|