@yuku123/z-team-component 0.2.65 → 0.2.67

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 (26) hide show
  1. package/dist/{ComponentDoc-jSeEons_.js → ComponentDoc-BPdyKMo5.js} +1 -1
  2. package/dist/{InvitationManagementPage-mouNeks3.js → InvitationManagementPage-DWs9OEEe.js} +1 -1
  3. package/dist/{OnboardingPage-qaKLcoAi.js → OnboardingPage-C_BW5Gdc.js} +2 -2
  4. package/dist/{ScheduledTasks-1wYZN8XJ.js → ScheduledTasks-GTNlIPXl.js} +2155 -2284
  5. package/dist/{SystemShell-BTlgUNyH.js → SystemShell-DJXgX6je.js} +4 -4
  6. package/dist/{api-DccHc-9B.js → api-DFFxtMRV.js} +1 -1
  7. package/dist/{createWorkspaceWsHandler-3aHkBZE9.js → createWorkspaceWsHandler-e3Cg1G2e.js} +1075 -1092
  8. package/dist/{index-VY-pgcyl.js → index-B7OdhOMb.js} +1 -1
  9. package/dist/{index-BNQGQwBU.js → index-BU19gSX1.js} +1 -1
  10. package/dist/{index-D0gJvJ4v.js → index-CITX8oW8.js} +1 -1
  11. package/dist/{index-DadRd0XN.js → index-CKU3wo0Z.js} +2 -2
  12. package/dist/{index-KBEBRZw8.js → index-CZ2lCW9g.js} +1 -1
  13. package/dist/{index-QADJa4ka.js → index-Cb6lwAyf.js} +3 -3
  14. package/dist/{index-Ciq7AXQV.js → index-Ch3w9KWj.js} +2 -2
  15. package/dist/{index-DPTZ7r9C.js → index-D3L_xejn.js} +2 -2
  16. package/dist/{index-5bJTQp-W.js → index-DQBDBjXN.js} +3 -3
  17. package/dist/{index-tDRr-oTF.js → index-DVjS9V3i.js} +2968 -2929
  18. package/dist/{index-C6jp_1-U.js → index-Dl0dsnIR.js} +127 -121
  19. package/dist/{index-DlAbjDEH.js → index-Lfk2-xLF.js} +3 -3
  20. package/dist/{index-ecHl51vH.js → index-ZSWIpBK7.js} +1 -1
  21. package/dist/{index-CeL4jjok.js → index-dLC3nqlx.js} +2 -2
  22. package/dist/index.js +1 -1
  23. package/dist/{menuPermission-lltQncgW.js → menuPermission-DlbPDI_G.js} +1 -1
  24. package/dist/pages.js +1 -1
  25. package/dist/z-team-component.css +1 -1
  26. package/package.json +1 -1
@@ -2,39 +2,40 @@ import { jsxs as d, jsx as t } from "react/jsx-runtime";
2
2
  import { r as q, f as le } from "./ctc-sso-DtJHC-2M.js";
3
3
  import { r as de, h as K, s as X } from "./sso-user-QZNVhjpR.js";
4
4
  import { ArrowLeftOutlined as ue, PlusOutlined as pe, LogoutOutlined as me, SearchOutlined as he } from "@ant-design/icons";
5
- import { Spin as M, Button as D, Input as fe, Empty as J, Tag as ge, message as be } from "antd";
5
+ import { Spin as R, Button as D, Input as fe, Empty as J, Tag as ge, message as be } from "antd";
6
6
  import Q from "query-string";
7
- import { useState as S, useRef as E, useEffect as y, useMemo as Y, useCallback as B } from "react";
7
+ import { useState as y, useRef as E, useEffect as w, useMemo as Y, useCallback as B } from "react";
8
8
  import { useLocation as ke } from "react-router-dom";
9
- import { h as R } from "./history-BlrA1eaW.js";
10
- import { c as we, C as Se } from "./createWorkspaceWsHandler-3aHkBZE9.js";
11
- import { u as c, f as ye, T as ve } from "./useAppStore-BGOxWep2.js";
9
+ import { h as A } from "./history-BlrA1eaW.js";
10
+ import { c as we, C as Se } from "./createWorkspaceWsHandler-e3Cg1G2e.js";
11
+ import { u as i, f as ye, T as ve } from "./useAppStore-BGOxWep2.js";
12
12
  import { o as Te, q as Ne, v as je, w as Ce, e as ee } from "./api-DWt94BcM.js";
13
13
  import { l as xe, j as Pe } from "./instance-CbkHlDr4.js";
14
+ import { i as _e, s as Ee } from "./mobile-client-O3yr9h6t.js";
14
15
  /* empty css */
15
- import { s as _e } from "./admin-logs-DCYof_u5.js";
16
+ import { s as Ae } from "./admin-logs-DCYof_u5.js";
16
17
  const ae = 2e4;
17
- function Ee(l, o = ae, n = globalThis) {
18
- let s = null;
18
+ function Ie(o, s = ae, n = globalThis) {
19
+ let c = null;
19
20
  return {
20
21
  start() {
21
- s == null && (s = n.setTimeout(() => {
22
- s = null, l();
23
- }, o));
22
+ c == null && (c = n.setTimeout(() => {
23
+ c = null, o();
24
+ }, s));
24
25
  },
25
26
  stop() {
26
- s != null && (n.clearTimeout(s), s = null);
27
+ c != null && (n.clearTimeout(c), c = null);
27
28
  }
28
29
  };
29
30
  }
30
- function Ae({ text: l, onRetry: o }) {
31
+ function Le({ text: o, onRetry: s }) {
31
32
  return /* @__PURE__ */ d("div", { style: { marginTop: 12, textAlign: "center" }, children: [
32
- /* @__PURE__ */ t("div", { style: { marginBottom: 10 }, children: l }),
33
+ /* @__PURE__ */ t("div", { style: { marginBottom: 10 }, children: o }),
33
34
  /* @__PURE__ */ t(
34
35
  "button",
35
36
  {
36
37
  type: "button",
37
- onClick: o,
38
+ onClick: s,
38
39
  style: {
39
40
  padding: "6px 16px",
40
41
  borderRadius: 6,
@@ -48,39 +49,39 @@ function Ae({ text: l, onRetry: o }) {
48
49
  )
49
50
  ] });
50
51
  }
51
- const Ie = "统一登录接入超时(可能是网络抖动或服务正在重启),请重新登录。";
52
- function Le({
53
- loadingText: l,
54
- timeoutText: o = Ie,
52
+ const Me = "统一登录接入超时(可能是网络抖动或服务正在重启),请重新登录。";
53
+ function Re({
54
+ loadingText: o,
55
+ timeoutText: s = Me,
55
56
  onRetry: n,
56
- timeoutMs: s = ae,
57
+ timeoutMs: c = ae,
57
58
  className: r
58
59
  }) {
59
- const [N, h] = S(!1), g = E(n);
60
- return g.current = n, y(() => {
61
- const m = Ee(
60
+ const [N, h] = y(!1), g = E(n);
61
+ return g.current = n, w(() => {
62
+ const m = Ie(
62
63
  () => h(!0),
63
- s
64
+ c
64
65
  );
65
66
  return m.start(), () => m.stop();
66
- }, [s]), N ? /* @__PURE__ */ d("div", { className: r, children: [
67
- /* @__PURE__ */ t(M, { description: "" }),
67
+ }, [c]), N ? /* @__PURE__ */ d("div", { className: r, children: [
68
+ /* @__PURE__ */ t(R, { description: "" }),
68
69
  /* @__PURE__ */ t(
69
- Ae,
70
+ Le,
70
71
  {
71
- text: o,
72
+ text: s,
72
73
  onRetry: () => g.current()
73
74
  }
74
75
  )
75
- ] }) : /* @__PURE__ */ t("div", { className: r, children: /* @__PURE__ */ t(M, { description: l }) });
76
+ ] }) : /* @__PURE__ */ t("div", { className: r, children: /* @__PURE__ */ t(R, { description: o }) });
76
77
  }
77
- function Me(l, o) {
78
- y(() => {
79
- if (l == null)
78
+ function Oe(o, s) {
79
+ w(() => {
80
+ if (o == null)
80
81
  return;
81
- c.getState().setObserverStatus(null);
82
+ i.getState().setObserverStatus(null);
82
83
  const n = () => {
83
- const m = c.getState();
84
+ const m = i.getState();
84
85
  m.loadMessages().catch(() => {
85
86
  }), m.loadRunningExecutions().catch(() => {
86
87
  });
@@ -88,14 +89,14 @@ function Me(l, o) {
88
89
  f != null && f.taskId && m.loadTaskMessages(f.taskId).catch(() => {
89
90
  }), m.loadFileTree(void 0, !0).catch(() => {
90
91
  });
91
- }, s = Te((m) => {
92
- c.getState().setWsState(m);
92
+ }, c = Te((m) => {
93
+ i.getState().setWsState(m);
93
94
  });
94
- Ne(l, o, n), c.getState().loadRunningExecutions().catch(() => {
95
+ Ne(o, s, n), i.getState().loadRunningExecutions().catch(() => {
95
96
  });
96
- const r = c.getState(), { handler: N, dispose: h } = we({
97
- projectId: l,
98
- token: o,
97
+ const r = i.getState(), { handler: N, dispose: h } = we({
98
+ projectId: o,
99
+ token: s,
99
100
  updateExecution: r.updateExecution,
100
101
  registerExecutionStart: r.registerExecutionStart,
101
102
  clearExecution: r.clearExecution,
@@ -107,68 +108,73 @@ function Me(l, o) {
107
108
  loadFileTree: r.loadFileTree
108
109
  }), g = je(N);
109
110
  return () => {
110
- g(), h(), Ce(), s(), c.getState().setObserverStatus(null);
111
+ g(), h(), Ce(), c(), i.getState().setObserverStatus(null);
111
112
  };
112
- }, [l, o]);
113
+ }, [o, s]);
113
114
  }
114
- const Re = `${window.publicPath ?? "/"}logo.svg`;
115
+ const We = `${window.publicPath ?? "/"}logo.svg`;
115
116
  function te() {
116
- const { pathname: l, search: o } = R.location, n = Q.parse(o);
117
+ const { pathname: o, search: s } = A.location, n = Q.parse(s);
117
118
  if (!n.projectId && !n.project_id)
118
119
  return;
119
120
  delete n.projectId, delete n.project_id;
120
- const s = Q.stringify(n);
121
- R.replace({
122
- pathname: l,
123
- search: s ? `?${s}` : ""
121
+ const c = Q.stringify(n);
122
+ A.replace({
123
+ pathname: o,
124
+ search: c ? `?${c}` : ""
124
125
  });
125
126
  }
126
- function Xe() {
127
- const l = ke(), [o, n] = S("list"), [s, r] = S("chat"), [N, h] = S("team"), [g, m] = S(""), [f, V] = S(!1), [re, A] = S(!1), {
127
+ function et() {
128
+ 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), {
128
129
  currentProject: v,
129
130
  currentUser: O,
130
- projects: I,
131
+ projects: L,
131
132
  loading: ne,
132
133
  members: W,
133
134
  token: oe,
134
135
  loadProjects: z,
135
136
  expandProject: H,
136
137
  updateCurrentUser: j,
137
- requestChatScrollBottom: w
138
- } = c(), k = Y(() => {
139
- const e = Q.parse(l.search), a = String(e.projectId ?? e.project_id ?? "").trim();
138
+ requestChatScrollBottom: S
139
+ } = i(), k = Y(() => {
140
+ const e = Q.parse(o.search), a = String(e.projectId ?? e.project_id ?? "").trim();
140
141
  if (!a)
141
142
  return null;
142
- const i = Number(a);
143
- return Number.isFinite(i) && i > 0 ? i : null;
144
- }, [l.search]), U = E(!1), C = E(!1), x = E(!1), Z = E(k);
145
- Z.current = k, Me(v == null ? void 0 : v.id, oe), y(() => (document.body.classList.add("team-phone-workspace-route"), () => {
143
+ const l = Number(a);
144
+ return Number.isFinite(l) && l > 0 ? l : null;
145
+ }, [o.search]), F = E(!1), C = E(!1), x = E(!1), Z = E(k);
146
+ Z.current = k, Oe(v == null ? void 0 : v.id, oe), w(() => (document.body.classList.add("team-phone-workspace-route"), () => {
146
147
  document.body.classList.remove("team-phone-workspace-route");
147
- }), []);
148
+ }), []), w(() => {
149
+ !_e(o.search) && Ee() || A.replace({
150
+ pathname: "/workspace",
151
+ search: o.search
152
+ });
153
+ }, [o.search]);
148
154
  const se = B(
149
155
  (e) => {
150
- r("chat"), h(e), w(e, !0);
156
+ r("chat"), h(e), S(e, !0);
151
157
  },
152
- [w]
158
+ [S]
153
159
  );
154
- y(() => {
160
+ w(() => {
155
161
  let e = !1, a = 0;
156
- const i = 100;
157
- let P = !1, F = 0;
158
- const L = 3, T = (b) => {
159
- const u = c.getState().token;
162
+ const l = 100;
163
+ let P = !1, U = 0;
164
+ const M = 3, T = (b) => {
165
+ const u = i.getState().token;
160
166
  if (Z.current != null) {
161
167
  e || (j(X(b)), V(!0)), ee().then((G) => {
162
168
  e || j(G);
163
169
  }).catch(() => {
164
- !e && u && (localStorage.removeItem("z_team_token"), c.setState({ token: "" }));
170
+ !e && u && (localStorage.removeItem("z_team_token"), i.setState({ token: "" }));
165
171
  });
166
172
  return;
167
173
  }
168
174
  ee().then((G) => {
169
175
  e || j(G);
170
176
  }).catch(() => {
171
- e || (u && (localStorage.removeItem("z_team_token"), c.setState({ token: "" })), j(X(b)));
177
+ e || (u && (localStorage.removeItem("z_team_token"), i.setState({ token: "" })), j(X(b)));
172
178
  }).finally(() => {
173
179
  e || V(!0);
174
180
  });
@@ -184,7 +190,7 @@ function Xe() {
184
190
  P = !0;
185
191
  try {
186
192
  const p = await le();
187
- p.kind === "authenticated" ? u = p.user : p.kind === "unauthenticated" && (F += 1);
193
+ p.kind === "authenticated" ? u = p.user : p.kind === "unauthenticated" && (U += 1);
188
194
  } catch {
189
195
  } finally {
190
196
  P = !1;
@@ -194,11 +200,11 @@ function Xe() {
194
200
  T(u);
195
201
  return;
196
202
  }
197
- if (F >= L) {
203
+ if (U >= M) {
198
204
  q();
199
205
  return;
200
206
  }
201
- if (a += 1, a >= i) {
207
+ if (a += 1, a >= l) {
202
208
  q();
203
209
  return;
204
210
  }
@@ -210,50 +216,50 @@ function Xe() {
210
216
  })(), () => {
211
217
  e = !0;
212
218
  };
213
- }, [j]), y(() => {
219
+ }, [j]), w(() => {
214
220
  O && z();
215
- }, [O, z]), y(() => {
216
- var i;
217
- if (!f || k != null || o === "project" || x.current)
221
+ }, [O, z]), w(() => {
222
+ var l;
223
+ if (!f || k != null || s === "project" || x.current)
218
224
  return;
219
- const e = c.getState(), a = (i = e.currentProject) == null ? void 0 : i.id;
220
- a == null || !e.expandedProjectIds.includes(String(a)) || (n("project"), r("chat"), h("team"), w("team", !0));
221
- }, [f, k, o, w]);
225
+ const e = i.getState(), a = (l = e.currentProject) == null ? void 0 : l.id;
226
+ a == null || !e.expandedProjectIds.includes(String(a)) || (n("project"), r("chat"), h("team"), S("team", !0));
227
+ }, [f, k, s, S]);
222
228
  const ce = B(
223
229
  async (e) => {
224
- x.current = !1, A(!0);
230
+ x.current = !1, I(!0);
225
231
  try {
226
232
  await H(e), n("project"), r("chat"), h("team");
227
- const a = c.getState();
233
+ const a = i.getState();
228
234
  a.currentProject && await a.refreshProjectPanels(
229
235
  String(a.currentProject.id),
230
236
  a.projectSwitchSeq,
231
237
  !1
232
- ), w("team", !0);
238
+ ), S("team", !0);
233
239
  } finally {
234
- A(!1);
240
+ I(!1);
235
241
  }
236
242
  },
237
- [H, w]
243
+ [H, S]
238
244
  );
239
- y(() => {
240
- var L;
241
- if (!f || k == null || U.current || C.current)
245
+ w(() => {
246
+ var M;
247
+ if (!f || k == null || F.current || C.current)
242
248
  return;
243
- const e = k == null ? "" : String(k), a = c.getState();
244
- if (String(((L = a.currentProject) == null ? void 0 : L.id) ?? "") === e && a.expandedProjectIds.includes(e)) {
245
- U.current = !0, te(), x.current = !1, n("project"), r("chat"), h("team"), c.getState().loadMessages().catch(() => {
249
+ const e = k == null ? "" : String(k), a = i.getState();
250
+ if (String(((M = a.currentProject) == null ? void 0 : M.id) ?? "") === e && a.expandedProjectIds.includes(e)) {
251
+ F.current = !0, te(), x.current = !1, n("project"), r("chat"), h("team"), i.getState().loadMessages().catch(() => {
246
252
  });
247
253
  return;
248
254
  }
249
- let i = !1;
250
- C.current = !0, A(!0);
255
+ let l = !1;
256
+ C.current = !0, I(!0);
251
257
  const P = async () => {
252
258
  const T = Date.now() + 4e3;
253
259
  for (; Date.now() < T; ) {
254
- if (i)
260
+ if (l)
255
261
  return;
256
- const _ = c.getState();
262
+ const _ = i.getState();
257
263
  if (!_.loading || _.projects.length > 0)
258
264
  return;
259
265
  await new Promise((b) => setTimeout(b, 50));
@@ -261,53 +267,53 @@ function Xe() {
261
267
  };
262
268
  return (async () => {
263
269
  try {
264
- if (await P(), i)
270
+ if (await P(), l)
265
271
  return;
266
272
  let {
267
273
  token: T,
268
274
  projects: _,
269
275
  expandProject: b
270
- } = c.getState(), u = _.find((p) => p.id === e);
276
+ } = i.getState(), u = _.find((p) => p.id === e);
271
277
  if (!u) {
272
278
  const p = await xe(e, T);
273
- if (i)
279
+ if (l)
274
280
  return;
275
281
  if (p.status === "NOT_FOUND" || !p.scenarioInstance) {
276
282
  be.info("无此工程");
277
283
  return;
278
284
  }
279
- if (u = await Pe(e, T), i)
285
+ if (u = await Pe(e, T), l)
280
286
  return;
281
287
  }
282
- if (i || !u)
288
+ if (l || !u)
283
289
  return;
284
- if (U.current = !0, await b(u), !i) {
290
+ if (F.current = !0, await b(u), !l) {
285
291
  x.current = !1, n("project"), r("chat"), h("team"), te();
286
- const p = c.getState();
292
+ const p = i.getState();
287
293
  p.currentProject && await p.refreshProjectPanels(
288
294
  String(p.currentProject.id),
289
295
  p.projectSwitchSeq,
290
296
  !1
291
- ), w("team", !0);
297
+ ), S("team", !0);
292
298
  }
293
299
  } catch {
294
300
  } finally {
295
- A(!1), C.current = !1, c.getState().loadProjects();
301
+ I(!1), C.current = !1, i.getState().loadProjects();
296
302
  }
297
303
  })(), () => {
298
- i = !0, C.current && (C.current = !1);
304
+ l = !0, C.current && (C.current = !1);
299
305
  };
300
306
  }, [f, k]);
301
307
  const $ = Y(() => {
302
308
  const e = g.trim().toLowerCase();
303
- return e ? I.filter(
309
+ return e ? L.filter(
304
310
  (a) => a.name.toLowerCase().includes(e) || (a.scenario_name ?? "").toLowerCase().includes(e)
305
- ) : I;
306
- }, [g, I]), ie = B(() => {
311
+ ) : L;
312
+ }, [g, L]), ie = B(() => {
307
313
  x.current = !0, n("list"), r("chat");
308
314
  }, []);
309
315
  return !f || !O ? /* @__PURE__ */ t(
310
- Le,
316
+ Re,
311
317
  {
312
318
  className: "phone-workspace phone-workspace-loading",
313
319
  loadingText: "正在接入 4A 统一登录…",
@@ -316,7 +322,7 @@ function Xe() {
316
322
  }
317
323
  ) : /* @__PURE__ */ d("div", { className: "phone-workspace", children: [
318
324
  /* @__PURE__ */ d("header", { className: "phone-workspace-header", children: [
319
- o === "project" ? /* @__PURE__ */ t(
325
+ s === "project" ? /* @__PURE__ */ t(
320
326
  D,
321
327
  {
322
328
  type: "text",
@@ -328,24 +334,24 @@ function Xe() {
328
334
  ) : /* @__PURE__ */ t(
329
335
  "img",
330
336
  {
331
- src: Re,
337
+ src: We,
332
338
  alt: "Z-Team",
333
339
  className: "phone-workspace-logo",
334
- onClick: () => R.push("/welcome"),
340
+ onClick: () => A.push("/welcome"),
335
341
  style: { cursor: "pointer" }
336
342
  }
337
343
  ),
338
- /* @__PURE__ */ t("div", { className: "phone-workspace-header-title", children: o === "list" ? /* @__PURE__ */ t(
344
+ /* @__PURE__ */ t("div", { className: "phone-workspace-header-title", children: s === "list" ? /* @__PURE__ */ t(
339
345
  "span",
340
346
  {
341
347
  className: "phone-workspace-brand",
342
- onClick: () => R.push("/welcome"),
348
+ onClick: () => A.push("/welcome"),
343
349
  style: { cursor: "pointer" },
344
350
  children: "Z-Team"
345
351
  }
346
352
  ) : /* @__PURE__ */ t("span", { className: "phone-workspace-project-name", children: (v == null ? void 0 : v.name) ?? "工程" }) }),
347
353
  /* @__PURE__ */ d("div", { className: "phone-workspace-header-actions", children: [
348
- o === "list" ? /* @__PURE__ */ t(
354
+ s === "list" ? /* @__PURE__ */ t(
349
355
  D,
350
356
  {
351
357
  type: "text",
@@ -361,14 +367,14 @@ function Xe() {
361
367
  type: "text",
362
368
  icon: /* @__PURE__ */ t(me, {}),
363
369
  onClick: () => {
364
- _e();
370
+ Ae();
365
371
  },
366
372
  "aria-label": "退出"
367
373
  }
368
374
  )
369
375
  ] })
370
376
  ] }),
371
- /* @__PURE__ */ t("main", { className: "phone-workspace-main", children: o === "list" ? /* @__PURE__ */ d("div", { className: "phone-workspace-list", children: [
377
+ /* @__PURE__ */ t("main", { className: "phone-workspace-main", children: s === "list" ? /* @__PURE__ */ d("div", { className: "phone-workspace-list", children: [
372
378
  /* @__PURE__ */ t("div", { className: "phone-workspace-search", children: /* @__PURE__ */ t(
373
379
  fe,
374
380
  {
@@ -379,7 +385,7 @@ function Xe() {
379
385
  onChange: (e) => m(e.target.value)
380
386
  }
381
387
  ) }),
382
- ne && I.length === 0 ? /* @__PURE__ */ t("div", { className: "phone-workspace-list-loading", children: /* @__PURE__ */ t(M, { description: "加载项目…" }) }) : $.length === 0 ? /* @__PURE__ */ t(
388
+ ne && L.length === 0 ? /* @__PURE__ */ t("div", { className: "phone-workspace-list-loading", children: /* @__PURE__ */ t(R, { description: "加载项目…" }) }) : $.length === 0 ? /* @__PURE__ */ t(
383
389
  J,
384
390
  {
385
391
  description: g ? "无匹配项目" : "暂无项目",
@@ -423,7 +429,7 @@ function Xe() {
423
429
  "button",
424
430
  {
425
431
  type: "button",
426
- className: s === "chat" ? "phone-toolbar-tab phone-toolbar-active" : "phone-toolbar-tab",
432
+ className: c === "chat" ? "phone-toolbar-tab phone-toolbar-active" : "phone-toolbar-tab",
427
433
  onClick: () => se("team"),
428
434
  children: "协作"
429
435
  }
@@ -432,7 +438,7 @@ function Xe() {
432
438
  "button",
433
439
  {
434
440
  type: "button",
435
- className: s === "members" ? "phone-toolbar-tab phone-toolbar-members phone-toolbar-active" : "phone-toolbar-tab phone-toolbar-members",
441
+ className: c === "members" ? "phone-toolbar-tab phone-toolbar-members phone-toolbar-active" : "phone-toolbar-tab phone-toolbar-members",
436
442
  onClick: () => r("members"),
437
443
  children: [
438
444
  "成员 (",
@@ -442,7 +448,7 @@ function Xe() {
442
448
  }
443
449
  )
444
450
  ] }),
445
- /* @__PURE__ */ t("div", { className: "phone-workspace-detail-body", children: s === "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: [
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: [
446
452
  /* @__PURE__ */ t("span", { className: "phone-member-avatar", children: e.member_type === "AGENT" ? "🤖" : "👤" }),
447
453
  /* @__PURE__ */ d("div", { className: "phone-member-info", children: [
448
454
  /* @__PURE__ */ t("span", { className: "phone-member-name", children: e.display_name }),
@@ -465,10 +471,10 @@ function Xe() {
465
471
  }
466
472
  ) }) })
467
473
  ] }) }),
468
- re ? /* @__PURE__ */ t("div", { className: "phone-workspace-overlay", children: /* @__PURE__ */ t(M, { description: "正在打开工程…" }) }) : null,
474
+ re ? /* @__PURE__ */ t("div", { className: "phone-workspace-overlay", children: /* @__PURE__ */ t(R, { description: "正在打开工程…" }) }) : null,
469
475
  /* @__PURE__ */ t(ve, {})
470
476
  ] });
471
477
  }
472
478
  export {
473
- Xe as default
479
+ et as default
474
480
  };
@@ -8,8 +8,8 @@ import gp from "rehype-highlight";
8
8
  import Jp from "remark-gfm";
9
9
  import { ap as xa, aq as jA } from "./api-DWt94BcM.js";
10
10
  import { u as Dp } from "./useAppStore-BGOxWep2.js";
11
- import { v as ia, w as oA, x as fA, y as lA, i as xA, z as iA, B as cA, E as TA, G as vA, H as up, I as Yp, J as mp, K as yp, M as Ip, O as FA, Q as dA, V as OA, X as XA } from "./index-tDRr-oTF.js";
12
- import { b as RA, d as NA, f as kA, e as WA, g as Cp, h as DA, j as qA, r as uA, k as mA, l as wA, m as BA, n as GA, o as LA, p as zA, q as VA } from "./createWorkspaceWsHandler-3aHkBZE9.js";
11
+ import { v as ia, w as oA, x as fA, y as lA, i as xA, z as iA, B as cA, E as TA, G as vA, H as up, I as Yp, J as mp, K as yp, M as Ip, O as FA, Q as dA, V as OA, X as XA } from "./index-DVjS9V3i.js";
12
+ import { b as RA, d as NA, f as kA, e as WA, g as Cp, h as DA, j as qA, r as uA, k as mA, l as wA, m as BA, n as GA, o as LA, p as zA, q as VA } from "./createWorkspaceWsHandler-e3Cg1G2e.js";
13
13
  import { h as r } from "./index.module-CAa-2T7m.js";
14
14
  const gA = "_editorView_as93v_7", JA = "_editorTopBar_as93v_16", bA = "_backBtn_as93v_25", MA = "_titleInput_as93v_39", sA = "_summaryBar_as93v_50", QA = "_summaryInput_as93v_55", hA = "_mdToolbar_as93v_67", YA = "_mdBtn_as93v_77", yA = "_mdSep_as93v_84", IA = "_editorBody_as93v_93", CA = "_tocPanel_as93v_100", ZA = "_tocHeader_as93v_108", EA = "_tocList_as93v_117", _A = "_tocItem_as93v_122", $A = "_tocEmpty_as93v_137", pt = "_textarea_as93v_144", at = "_half_as93v_160", At = "_preview_as93v_163", tt = "_markdown_as93v_173", et = "_videoEmbed_as93v_185", w = {
15
15
  editorView: gA,
@@ -1682,7 +1682,7 @@ const Rt = [
1682
1682
  draftDeleteBtn: T0,
1683
1683
  markdown: v0
1684
1684
  }, F0 = HA(
1685
- () => import("./index-D0gJvJ4v.js").then((a) => ({ default: a.MarketContent }))
1685
+ () => import("./index-CITX8oW8.js").then((a) => ({ default: a.MarketContent }))
1686
1686
  );
1687
1687
  function d0(a) {
1688
1688
  const n = [], x = a.split(`
@@ -3,7 +3,7 @@ import { useState as y, useMemo as d } from "react";
3
3
  import { useNavigate as G, useLocation as k } from "react-router-dom";
4
4
  import { CodeOutlined as L, DownOutlined as N, RightOutlined as O, AppstoreOutlined as v, TableOutlined as A, DatabaseOutlined as w, RobotOutlined as H, FunctionOutlined as M, ApartmentOutlined as W, EyeOutlined as C, BranchesOutlined as $, DeploymentUnitOutlined as p, SafetyCertificateOutlined as g } from "@ant-design/icons";
5
5
  import R from "@yuku123/z-lc-component";
6
- import { f as U, M as x } from "./menuPermission-lltQncgW.js";
6
+ import { f as U, M as x } from "./menuPermission-DlbPDI_G.js";
7
7
  import { u as b } from "./useAppStore-BGOxWep2.js";
8
8
  const D = "_shell_1n5c7_7", E = "_sidebar_1n5c7_15", P = "_sidebarHeader_1n5c7_26", j = "_menuList_1n5c7_37", K = "_menuGroup_1n5c7_43", T = "_menuGroupHeader_1n5c7_47", B = "_menuGroupLabel_1n5c7_65", F = "_menuGroupArrow_1n5c7_69", q = "_menuSubList_1n5c7_74", z = "_menuSubItemWrap_1n5c7_80", J = "_menuSubItem_1n5c7_80", Q = "_menuSubItemActive_1n5c7_101", V = "_menuSubItemIcon_1n5c7_108", X = "_menuSubItemLabel_1n5c7_113", Y = "_main_1n5c7_118", t = {
9
9
  shell: D,
@@ -2,7 +2,7 @@ import { jsx as e } from "react/jsx-runtime";
2
2
  import { Navigate as t } from "react-router-dom";
3
3
  import { lazy as A } from "react";
4
4
  import { UnorderedListOutlined as i, HistoryOutlined as T, ClusterOutlined as p, DashboardOutlined as s, ExperimentOutlined as q, SettingOutlined as d, KeyOutlined as n, AppstoreOutlined as r, SafetyCertificateOutlined as P, TeamOutlined as w, ProfileOutlined as b, ApiOutlined as u, HddOutlined as l, ApartmentOutlined as g, InboxOutlined as k, FileTextOutlined as y, SendOutlined as G, CloudServerOutlined as a, NodeIndexOutlined as z, TableOutlined as f, SearchOutlined as m, DatabaseOutlined as v, ConsoleSqlOutlined as E, BranchesOutlined as I, DeploymentUnitOutlined as M, BookOutlined as h, FundOutlined as N, CloudUploadOutlined as _, TagsOutlined as x, CodeOutlined as B } from "@ant-design/icons";
5
- import { W as R } from "./index-DadRd0XN.js";
5
+ import { W as R } from "./index-CKU3wo0Z.js";
6
6
  import { ConfigApp as U } from "@yuku123/z-config-component";
7
7
  import { MistApp as H } from "@yuku123/z-mist-component";
8
8
  import { MetaApp as L } from "@yuku123/z-meta-component";
@@ -16,7 +16,7 @@ import { MqApp as Z } from "@yuku123/z-mq-component";
16
16
  import { OssApp as J } from "@yuku123/z-oss-component";
17
17
  import { ZkbApp as X } from "@yuku123/z-kb-component";
18
18
  import { ScriptProductizationPage as o } from "@yuku123/z-agent-component";
19
- import "./index-tDRr-oTF.js";
19
+ import "./index-DVjS9V3i.js";
20
20
  const $ = "/api/graph";
21
21
  let O = !1;
22
22
  function ee() {
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { C as e, P as s, S as a, Z as r, i } from "./ComponentDoc-jSeEons_.js";
1
+ import { C as e, P as s, S as a, Z as r, i } from "./ComponentDoc-BPdyKMo5.js";
2
2
  import { h as m } from "./history-BlrA1eaW.js";
3
3
  export {
4
4
  e as ComponentDocPage,
@@ -2,7 +2,7 @@ import { jsx as a } from "react/jsx-runtime";
2
2
  import { Alert as h } from "antd";
3
3
  import { u as d } from "./useAppStore-BGOxWep2.js";
4
4
  import { h as g } from "./schedule-BRvmKoDG.js";
5
- import { N as A } from "./index-tDRr-oTF.js";
5
+ import { N as A } from "./index-DVjS9V3i.js";
6
6
  function P() {
7
7
  return d((n) => n.permissionState) !== "failed" ? null : /* @__PURE__ */ a(
8
8
  h,
package/dist/pages.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { createElement as e } from "react";
2
2
  import { ReadOutlined as t } from "@ant-design/icons";
3
- import { S as o, P as a, C as r, Z as m } from "./ComponentDoc-jSeEons_.js";
3
+ import { S as o, P as a, C as r, Z as m } from "./ComponentDoc-BPdyKMo5.js";
4
4
  import "react/jsx-runtime";
5
5
  import "react-router-dom";
6
6
  import "antd";