@yuku123/z-team-component 0.2.91 → 0.2.93

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.
Files changed (54) hide show
  1. package/dist/{ChangeLogView-DagOxr6O.js → ChangeLogView-BjV4gBq4.js} +12 -12
  2. package/dist/ComponentDoc-C9lt-45y.js +8035 -0
  3. package/dist/{InvitationManagementPage-DYoqQA0v.js → InvitationManagementPage-CWtBWLd9.js} +1 -1
  4. package/dist/{OnboardingPage-D2Gm8MRd.js → OnboardingPage-B2fwh4gu.js} +2 -2
  5. package/dist/{ScheduledTasks-DB3VxAnb.js → ScheduledTasks-CuQyjAK-.js} +4341 -4337
  6. package/dist/{SystemShell-D3jHItxY.js → SystemShell-CTkRb3jk.js} +11 -12
  7. package/dist/admin-logs-Dh41ezP6.js +198 -0
  8. package/dist/{api-DYsAzJJo.js → api-ChrRZOc4.js} +1 -1
  9. package/dist/createWorkspaceWsHandler-DMw_Vk6i.js +13135 -0
  10. package/dist/{index-152G-_4j.js → index-3JPBTMXq.js} +5 -6
  11. package/dist/{index-CLD5lLa6.js → index-7glbcqX1.js} +19 -19
  12. package/dist/{index-CSpckSHg.js → index-BYpA6zMn.js} +23 -23
  13. package/dist/{index-BydWNuk5.js → index-BZCQSW-G.js} +44 -51
  14. package/dist/{index-CLfhHxPf.js → index-B_2fxZ6u.js} +1 -1
  15. package/dist/{index-B5dDwxhs.js → index-BnRRZ6Iv.js} +1 -1
  16. package/dist/{index-W_4faD_M.js → index-C-XgeN0c.js} +2 -2
  17. package/dist/index-CA0ql0r3.js +3495 -0
  18. package/dist/{index-CgWa7RFv.js → index-CIGBLmd6.js} +23 -24
  19. package/dist/{index-Cggl78j7.js → index-CLSOhZRs.js} +5 -6
  20. package/dist/index-CLnmI_a7.js +316 -0
  21. package/dist/{index-BfzgRKii.js → index-CSXrOBjf.js} +90 -91
  22. package/dist/{index-ues0LW7p.js → index-CdqU0NUf.js} +1257 -1258
  23. package/dist/{index-BMQ6XkO3.js → index-CnWYolUK.js} +1 -1
  24. package/dist/{index-CYyFYmlZ.js → index-CrQpBHe1.js} +8 -9
  25. package/dist/{index-BZ12pY96.js → index-D1_tbmUH.js} +2 -2
  26. package/dist/{index-CZyFAmEq.js → index-DNo7i9f6.js} +10 -11
  27. package/dist/{index-DE82vM_4.js → index-DPyEBso8.js} +19 -18
  28. package/dist/{index-DyQ9YnMd.js → index-DdvzONMo.js} +3663 -3537
  29. package/dist/{index-Dwqa30HZ.js → index-Dq4oBpcb.js} +4 -4
  30. package/dist/{index-C8cR7lJw.js → index-DtIPLfks.js} +10 -11
  31. package/dist/{index-Cw6MIoNv.js → index-Dy6vNz1c.js} +6 -7
  32. package/dist/{index-VGtET31b.js → index-bkqC-Ys8.js} +1 -1
  33. package/dist/{index-E4Q6JmzX.js → index-fab1eszg.js} +3 -3
  34. package/dist/{index-BYe87pnq.js → index-vIdK5WMU.js} +11 -12
  35. package/dist/index.js +1 -1
  36. package/dist/{instance-CI6-4BZ6.js → instance-BY043pYn.js} +1 -1
  37. package/dist/{menuPermission-C33I6ujb.js → menuPermission-BeYwZcoW.js} +11 -11
  38. package/dist/pages.js +8 -8
  39. package/dist/{send-default-agent-team-message-c5oKdQQA.js → send-default-agent-team-message-BN61cG7q.js} +1 -1
  40. package/dist/{sso-user-DToM5dPy.js → sso-user-DmsDr1MJ.js} +1 -1
  41. package/dist/{training-B38tnwLL.js → training-CU6j5m-5.js} +1 -1
  42. package/dist/webide-BYaEjOx6.js +5233 -0
  43. package/dist/z-team-component.css +1 -26
  44. package/package.json +3 -2
  45. package/dist/ComponentDoc-Bqfu128t.js +0 -3998
  46. package/dist/admin-logs-ogvMwS4O.js +0 -302
  47. package/dist/api-BftpestH.js +0 -2156
  48. package/dist/createWorkspaceWsHandler-D8h5BEzH.js +0 -13030
  49. package/dist/index-BaCqZeiw.js +0 -1143
  50. package/dist/index-CUVdeb8y.js +0 -638
  51. package/dist/index-DVaTGA2z.js +0 -3488
  52. package/dist/schedule-ChO2xIGd.js +0 -625
  53. package/dist/useAppStore-uc8v8XZC.js +0 -1920
  54. package/dist/webide-BuUYLPSp.js +0 -8399
@@ -1,21 +1,20 @@
1
1
  import { jsxs as d, jsx as t } from "react/jsx-runtime";
2
- import { r as q, f as le } from "./ctc-sso-DtJHC-2M.js";
3
- import { r as de, h as K, s as X } from "./sso-user-DToM5dPy.js";
2
+ import { r as D, f as le } from "./ctc-sso-DtJHC-2M.js";
3
+ import { r as de, h as $, s as K } from "./sso-user-DmsDr1MJ.js";
4
4
  import { ArrowLeftOutlined as ue, PlusOutlined as pe, LogoutOutlined as me, SearchOutlined as he } from "@ant-design/icons";
5
- import { Spin as O, Button as D, Input as fe, Empty as J, Tag as ge, message as be } from "antd";
5
+ import { Spin as O, Button as q, Input as fe, Empty as Y, Tag as ge, message as be } from "antd";
6
6
  import Q from "query-string";
7
- import { useState as y, useRef as E, useEffect as w, useMemo as Y, useCallback as B } from "react";
7
+ import { useState as y, useRef as E, useEffect as w, useMemo as J, useCallback as B } from "react";
8
8
  import { useLocation as ke } from "react-router-dom";
9
9
  import { h as A } from "./history-BlrA1eaW.js";
10
- import { c as we, C as Se } from "./createWorkspaceWsHandler-D8h5BEzH.js";
11
- import { u as i, f as ye, T as ve } from "./useAppStore-uc8v8XZC.js";
12
- import { o as Te, q as Ne, v as je, w as Ce, e as ee } from "./api-BftpestH.js";
13
- import { l as Pe, j as xe } from "./instance-CI6-4BZ6.js";
10
+ import { c as we, C as Se } from "./createWorkspaceWsHandler-DMw_Vk6i.js";
11
+ import { d as i, Q as ye, U as ve, V as je, W as Ne, X as Te, Y as Ce, j as ee } from "./ComponentDoc-C9lt-45y.js";
12
+ import { l as Pe, j as xe } from "./instance-BY043pYn.js";
14
13
  import { i as _e, s as Ee } from "./mobile-client-O3yr9h6t.js";
15
14
  /* empty css */
16
- import { s as Ae } from "./admin-logs-ogvMwS4O.js";
17
- const re = 2e4;
18
- function Ie(o, s = re, n = globalThis) {
15
+ import { s as Ae } from "./admin-logs-Dh41ezP6.js";
16
+ const ae = 2e4;
17
+ function Ie(o, s = ae, n = globalThis) {
19
18
  let c = null;
20
19
  return {
21
20
  start() {
@@ -54,8 +53,8 @@ function Oe({
54
53
  loadingText: o,
55
54
  timeoutText: s = Me,
56
55
  onRetry: n,
57
- timeoutMs: c = re,
58
- className: a
56
+ timeoutMs: c = ae,
57
+ className: r
59
58
  }) {
60
59
  const [N, h] = y(!1), g = E(n);
61
60
  return g.current = n, w(() => {
@@ -64,7 +63,7 @@ function Oe({
64
63
  c
65
64
  );
66
65
  return m.start(), () => m.stop();
67
- }, [c]), N ? /* @__PURE__ */ d("div", { className: a, children: [
66
+ }, [c]), N ? /* @__PURE__ */ d("div", { className: r, children: [
68
67
  /* @__PURE__ */ t(O, { description: "" }),
69
68
  /* @__PURE__ */ t(
70
69
  Le,
@@ -73,7 +72,7 @@ function Oe({
73
72
  onRetry: () => g.current()
74
73
  }
75
74
  )
76
- ] }) : /* @__PURE__ */ t("div", { className: a, children: /* @__PURE__ */ t(O, { description: o }) });
75
+ ] }) : /* @__PURE__ */ t("div", { className: r, children: /* @__PURE__ */ t(O, { description: o }) });
77
76
  }
78
77
  function Re(o, s) {
79
78
  w(() => {
@@ -89,26 +88,26 @@ function Re(o, s) {
89
88
  f != null && f.taskId && m.loadTaskMessages(f.taskId).catch(() => {
90
89
  }), m.loadFileTree(void 0, !0).catch(() => {
91
90
  });
92
- }, c = Te((m) => {
91
+ }, c = ye((m) => {
93
92
  i.getState().setWsState(m);
94
93
  });
95
- Ne(o, s, n), i.getState().loadRunningExecutions().catch(() => {
94
+ ve(o, s, n), i.getState().loadRunningExecutions().catch(() => {
96
95
  });
97
- const a = i.getState(), { handler: N, dispose: h } = we({
96
+ const r = i.getState(), { handler: N, dispose: h } = we({
98
97
  projectId: o,
99
98
  token: s,
100
- updateExecution: a.updateExecution,
101
- registerExecutionStart: a.registerExecutionStart,
102
- clearExecution: a.clearExecution,
103
- applyExecutionCancelled: a.applyExecutionCancelled,
104
- addMessage: a.addMessage,
105
- addTaskMessage: a.addTaskMessage,
106
- deleteMessage: a.deleteMessage,
107
- updateMessageReadStatus: a.updateMessageReadStatus,
108
- loadFileTree: a.loadFileTree
99
+ updateExecution: r.updateExecution,
100
+ registerExecutionStart: r.registerExecutionStart,
101
+ clearExecution: r.clearExecution,
102
+ applyExecutionCancelled: r.applyExecutionCancelled,
103
+ addMessage: r.addMessage,
104
+ addTaskMessage: r.addTaskMessage,
105
+ deleteMessage: r.deleteMessage,
106
+ updateMessageReadStatus: r.updateMessageReadStatus,
107
+ loadFileTree: r.loadFileTree
109
108
  }), g = je(N);
110
109
  return () => {
111
- g(), h(), Ce(), c(), i.getState().setObserverStatus(null);
110
+ g(), h(), Ne(), c(), i.getState().setObserverStatus(null);
112
111
  };
113
112
  }, [o, s]);
114
113
  }
@@ -124,8 +123,8 @@ function te() {
124
123
  search: c ? `?${c}` : ""
125
124
  });
126
125
  }
127
- function et() {
128
- const o = ke(), [s, n] = y("list"), [c, a] = y("chat"), [N, h] = y("team"), [g, m] = y(""), [f, V] = y(!1), [ae, I] = y(!1), {
126
+ function Je() {
127
+ const o = ke(), [s, n] = y("list"), [c, r] = y("chat"), [N, h] = y("team"), [g, m] = y(""), [f, V] = y(!1), [re, I] = y(!1), {
129
128
  currentProject: v,
130
129
  currentUser: R,
131
130
  projects: L,
@@ -134,16 +133,16 @@ function et() {
134
133
  token: oe,
135
134
  loadProjects: z,
136
135
  expandProject: H,
137
- updateCurrentUser: j,
136
+ updateCurrentUser: T,
138
137
  requestChatScrollBottom: S
139
- } = i(), k = Y(() => {
140
- const e = Q.parse(o.search), r = String(e.projectId ?? e.project_id ?? "").trim();
141
- if (!r)
138
+ } = i(), k = J(() => {
139
+ const e = Q.parse(o.search), a = String(e.projectId ?? e.project_id ?? "").trim();
140
+ if (!a)
142
141
  return null;
143
- const l = Number(r);
142
+ const l = Number(a);
144
143
  return Number.isFinite(l) && l > 0 ? l : null;
145
- }, [o.search]), F = E(!1), C = E(!1), P = E(!1), Z = E(k);
146
- Z.current = k, Re(v == null ? void 0 : v.id, oe), w(() => (document.body.classList.add("team-phone-workspace-route"), () => {
144
+ }, [o.search]), U = E(!1), C = E(!1), P = E(!1), X = E(k);
145
+ X.current = k, Re(v == null ? void 0 : v.id, oe), w(() => (document.body.classList.add("team-phone-workspace-route"), () => {
147
146
  document.body.classList.remove("team-phone-workspace-route");
148
147
  }), []), w(() => {
149
148
  !_e(o.search) && Ee() || A.replace({
@@ -153,28 +152,28 @@ function et() {
153
152
  }, [o.search]);
154
153
  const se = B(
155
154
  (e) => {
156
- a("chat"), h(e), S(e, !0);
155
+ r("chat"), h(e), S(e, !0);
157
156
  },
158
157
  [S]
159
158
  );
160
159
  w(() => {
161
- let e = !1, r = 0;
160
+ let e = !1, a = 0;
162
161
  const l = 100;
163
- let x = !1, U = 0;
164
- const M = 3, T = (b) => {
162
+ let x = !1, F = 0;
163
+ const M = 3, j = (b) => {
165
164
  const u = i.getState().token;
166
- if (Z.current != null) {
167
- e || (j(X(b)), V(!0)), ee().then((G) => {
168
- e || j(G);
165
+ if (X.current != null) {
166
+ e || (T(K(b)), V(!0)), ee().then((G) => {
167
+ e || T(G);
169
168
  }).catch(() => {
170
169
  !e && u && (localStorage.removeItem("z_team_token"), i.setState({ token: "" }));
171
170
  });
172
171
  return;
173
172
  }
174
173
  ee().then((G) => {
175
- e || j(G);
174
+ e || T(G);
176
175
  }).catch(() => {
177
- e || (u && (localStorage.removeItem("z_team_token"), i.setState({ token: "" })), j(X(b)));
176
+ e || (u && (localStorage.removeItem("z_team_token"), i.setState({ token: "" })), T(K(b)));
178
177
  }).finally(() => {
179
178
  e || V(!0);
180
179
  });
@@ -186,26 +185,26 @@ function et() {
186
185
  if (e)
187
186
  return;
188
187
  let u = de();
189
- if ((!u || !K(u)) && !x) {
188
+ if ((!u || !$(u)) && !x) {
190
189
  x = !0;
191
190
  try {
192
191
  const p = await le();
193
- p.kind === "authenticated" ? u = p.user : p.kind === "unauthenticated" && (U += 1);
192
+ p.kind === "authenticated" ? u = p.user : p.kind === "unauthenticated" && (F += 1);
194
193
  } catch {
195
194
  } finally {
196
195
  x = !1;
197
196
  }
198
197
  }
199
- if (u && K(u)) {
200
- T(u);
198
+ if (u && $(u)) {
199
+ j(u);
201
200
  return;
202
201
  }
203
- if (U >= M) {
204
- q();
202
+ if (F >= M) {
203
+ D();
205
204
  return;
206
205
  }
207
- if (r += 1, r >= l) {
208
- q();
206
+ if (a += 1, a >= l) {
207
+ D();
209
208
  return;
210
209
  }
211
210
  window.setTimeout(() => {
@@ -216,24 +215,24 @@ function et() {
216
215
  })(), () => {
217
216
  e = !0;
218
217
  };
219
- }, [j]), w(() => {
218
+ }, [T]), w(() => {
220
219
  R && z();
221
220
  }, [R, z]), w(() => {
222
221
  var l;
223
222
  if (!f || k != null || s === "project" || P.current)
224
223
  return;
225
- const e = i.getState(), r = (l = e.currentProject) == null ? void 0 : l.id;
226
- r == null || !e.expandedProjectIds.includes(String(r)) || (n("project"), a("chat"), h("team"), S("team", !0));
224
+ const e = i.getState(), a = (l = e.currentProject) == null ? void 0 : l.id;
225
+ a == null || !e.expandedProjectIds.includes(String(a)) || (n("project"), r("chat"), h("team"), S("team", !0));
227
226
  }, [f, k, s, S]);
228
227
  const ce = B(
229
228
  async (e) => {
230
229
  P.current = !1, I(!0);
231
230
  try {
232
- await H(e), n("project"), a("chat"), h("team");
233
- const r = i.getState();
234
- r.currentProject && await r.refreshProjectPanels(
235
- String(r.currentProject.id),
236
- r.projectSwitchSeq,
231
+ await H(e), n("project"), r("chat"), h("team");
232
+ const a = i.getState();
233
+ a.currentProject && await a.refreshProjectPanels(
234
+ String(a.currentProject.id),
235
+ a.projectSwitchSeq,
237
236
  !1
238
237
  ), S("team", !0);
239
238
  } finally {
@@ -244,19 +243,19 @@ function et() {
244
243
  );
245
244
  w(() => {
246
245
  var M;
247
- if (!f || k == null || F.current || C.current)
246
+ if (!f || k == null || U.current || C.current)
248
247
  return;
249
- const e = k == null ? "" : String(k), r = i.getState();
250
- if (String(((M = r.currentProject) == null ? void 0 : M.id) ?? "") === e && r.expandedProjectIds.includes(e)) {
251
- F.current = !0, te(), P.current = !1, n("project"), a("chat"), h("team"), i.getState().loadMessages().catch(() => {
248
+ const e = k == null ? "" : String(k), a = i.getState();
249
+ if (String(((M = a.currentProject) == null ? void 0 : M.id) ?? "") === e && a.expandedProjectIds.includes(e)) {
250
+ U.current = !0, te(), P.current = !1, n("project"), r("chat"), h("team"), i.getState().loadMessages().catch(() => {
252
251
  });
253
252
  return;
254
253
  }
255
254
  let l = !1;
256
255
  C.current = !0, I(!0);
257
256
  const x = async () => {
258
- const T = Date.now() + 4e3;
259
- for (; Date.now() < T; ) {
257
+ const j = Date.now() + 4e3;
258
+ for (; Date.now() < j; ) {
260
259
  if (l)
261
260
  return;
262
261
  const _ = i.getState();
@@ -270,25 +269,25 @@ function et() {
270
269
  if (await x(), l)
271
270
  return;
272
271
  let {
273
- token: T,
272
+ token: j,
274
273
  projects: _,
275
274
  expandProject: b
276
275
  } = i.getState(), u = _.find((p) => p.id === e);
277
276
  if (!u) {
278
- const p = await Pe(e, T);
277
+ const p = await Pe(e, j);
279
278
  if (l)
280
279
  return;
281
280
  if (p.status === "NOT_FOUND" || !p.scenarioInstance) {
282
281
  be.info("无此工程");
283
282
  return;
284
283
  }
285
- if (u = await xe(e, T), l)
284
+ if (u = await xe(e, j), l)
286
285
  return;
287
286
  }
288
287
  if (l || !u)
289
288
  return;
290
- if (F.current = !0, await b(u), !l) {
291
- P.current = !1, n("project"), a("chat"), h("team"), te();
289
+ if (U.current = !0, await b(u), !l) {
290
+ P.current = !1, n("project"), r("chat"), h("team"), te();
292
291
  const p = i.getState();
293
292
  p.currentProject && await p.refreshProjectPanels(
294
293
  String(p.currentProject.id),
@@ -304,13 +303,13 @@ function et() {
304
303
  l = !0, C.current && (C.current = !1);
305
304
  };
306
305
  }, [f, k]);
307
- const $ = Y(() => {
306
+ const Z = J(() => {
308
307
  const e = g.trim().toLowerCase();
309
308
  return e ? L.filter(
310
- (r) => r.name.toLowerCase().includes(e) || (r.scenario_name ?? "").toLowerCase().includes(e)
309
+ (a) => a.name.toLowerCase().includes(e) || (a.scenario_name ?? "").toLowerCase().includes(e)
311
310
  ) : L;
312
311
  }, [g, L]), ie = B(() => {
313
- P.current = !0, n("list"), a("chat");
312
+ P.current = !0, n("list"), r("chat");
314
313
  }, []);
315
314
  return !f || !R ? /* @__PURE__ */ t(
316
315
  Oe,
@@ -318,12 +317,12 @@ function et() {
318
317
  className: "phone-workspace phone-workspace-loading",
319
318
  loadingText: "正在接入 4A 统一登录…",
320
319
  timeoutText: "4A 统一登录接入超时(可能是网络抖动或服务正在重启),请重新登录。",
321
- onRetry: () => q()
320
+ onRetry: () => D()
322
321
  }
323
322
  ) : /* @__PURE__ */ d("div", { className: "phone-workspace", children: [
324
323
  /* @__PURE__ */ d("header", { className: "phone-workspace-header", children: [
325
324
  s === "project" ? /* @__PURE__ */ t(
326
- D,
325
+ q,
327
326
  {
328
327
  type: "text",
329
328
  icon: /* @__PURE__ */ t(ue, {}),
@@ -352,7 +351,7 @@ function et() {
352
351
  ) : /* @__PURE__ */ t("span", { className: "phone-workspace-project-name", children: (v == null ? void 0 : v.name) ?? "工程" }) }),
353
352
  /* @__PURE__ */ d("div", { className: "phone-workspace-header-actions", children: [
354
353
  s === "list" ? /* @__PURE__ */ t(
355
- D,
354
+ q,
356
355
  {
357
356
  type: "text",
358
357
  icon: /* @__PURE__ */ t(pe, {}),
@@ -362,7 +361,7 @@ function et() {
362
361
  }
363
362
  ) : null,
364
363
  /* @__PURE__ */ t(
365
- D,
364
+ q,
366
365
  {
367
366
  type: "text",
368
367
  icon: /* @__PURE__ */ t(me, {}),
@@ -385,14 +384,14 @@ function et() {
385
384
  onChange: (e) => m(e.target.value)
386
385
  }
387
386
  ) }),
388
- ne && L.length === 0 ? /* @__PURE__ */ t("div", { className: "phone-workspace-list-loading", children: /* @__PURE__ */ t(O, { description: "加载项目…" }) }) : $.length === 0 ? /* @__PURE__ */ t(
389
- J,
387
+ ne && L.length === 0 ? /* @__PURE__ */ t("div", { className: "phone-workspace-list-loading", children: /* @__PURE__ */ t(O, { description: "加载项目…" }) }) : Z.length === 0 ? /* @__PURE__ */ t(
388
+ Y,
390
389
  {
391
390
  description: g ? "无匹配项目" : "暂无项目",
392
391
  className: "phone-workspace-empty"
393
392
  }
394
- ) : /* @__PURE__ */ t("ul", { className: "phone-project-list", children: $.map((e) => {
395
- const r = ye(
393
+ ) : /* @__PURE__ */ t("ul", { className: "phone-project-list", children: Z.map((e) => {
394
+ const a = Te(
396
395
  e.created_at
397
396
  );
398
397
  return /* @__PURE__ */ t("li", { children: /* @__PURE__ */ d(
@@ -406,9 +405,9 @@ function et() {
406
405
  children: [
407
406
  /* @__PURE__ */ d("div", { className: "phone-project-item-main", children: [
408
407
  /* @__PURE__ */ t("span", { className: "phone-project-item-name", children: e.name }),
409
- e.scenario_name || r ? /* @__PURE__ */ d("div", { className: "phone-project-item-meta", children: [
408
+ e.scenario_name || a ? /* @__PURE__ */ d("div", { className: "phone-project-item-meta", children: [
410
409
  e.scenario_name ? /* @__PURE__ */ t("span", { className: "phone-project-item-scenario", children: e.scenario_name }) : null,
411
- r ? /* @__PURE__ */ t("span", { className: "phone-project-item-time", children: r }) : null
410
+ a ? /* @__PURE__ */ t("span", { className: "phone-project-item-time", children: a }) : null
412
411
  ] }) : null
413
412
  ] }),
414
413
  /* @__PURE__ */ t(
@@ -439,7 +438,7 @@ function et() {
439
438
  {
440
439
  type: "button",
441
440
  className: c === "members" ? "phone-toolbar-tab phone-toolbar-members phone-toolbar-active" : "phone-toolbar-tab phone-toolbar-members",
442
- onClick: () => a("members"),
441
+ onClick: () => r("members"),
443
442
  children: [
444
443
  "成员 (",
445
444
  W.length,
@@ -448,7 +447,7 @@ function et() {
448
447
  }
449
448
  )
450
449
  ] }),
451
- /* @__PURE__ */ t("div", { className: "phone-workspace-detail-body", children: c === "members" ? /* @__PURE__ */ t("ul", { className: "phone-member-list", children: W.length === 0 ? /* @__PURE__ */ t(J, { description: "暂无成员" }) : W.map((e) => /* @__PURE__ */ d("li", { className: "phone-member-item", children: [
450
+ /* @__PURE__ */ t("div", { className: "phone-workspace-detail-body", children: c === "members" ? /* @__PURE__ */ t("ul", { className: "phone-member-list", children: W.length === 0 ? /* @__PURE__ */ t(Y, { description: "暂无成员" }) : W.map((e) => /* @__PURE__ */ d("li", { className: "phone-member-item", children: [
452
451
  /* @__PURE__ */ t("span", { className: "phone-member-avatar", children: e.member_type === "AGENT" ? "🤖" : "👤" }),
453
452
  /* @__PURE__ */ d("div", { className: "phone-member-info", children: [
454
453
  /* @__PURE__ */ t("span", { className: "phone-member-name", children: e.display_name }),
@@ -471,10 +470,10 @@ function et() {
471
470
  }
472
471
  ) }) })
473
472
  ] }) }),
474
- ae ? /* @__PURE__ */ t("div", { className: "phone-workspace-overlay", children: /* @__PURE__ */ t(O, { description: "正在打开工程…" }) }) : null,
475
- /* @__PURE__ */ t(ve, {})
473
+ re ? /* @__PURE__ */ t("div", { className: "phone-workspace-overlay", children: /* @__PURE__ */ t(O, { description: "正在打开工程…" }) }) : null,
474
+ /* @__PURE__ */ t(Ce, {})
476
475
  ] });
477
476
  }
478
477
  export {
479
- et as default
478
+ Je as default
480
479
  };