@yuku123/z-team-component 0.2.21 → 0.2.23

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 (46) hide show
  1. package/dist/DebugPlayground-cxffrMgF.js +15 -0
  2. package/dist/{InvitationManagementPage-cXDD5J1f.js → InvitationManagementPage-BJ0izYip.js} +2 -2
  3. package/dist/{OnboardingPage-D7W1L7E7.js → OnboardingPage-Cde_2B_A.js} +2 -2
  4. package/dist/{ProjectApp-DgCJv9Qr.js → ProjectApp-CJfqACjb.js} +3 -3
  5. package/dist/SmartWorkbench.module-DzQskKT0.js +85 -0
  6. package/dist/SystemShell-Cm9eErqQ.js +593 -0
  7. package/dist/{admin-logs-96BMdLm3.js → admin-logs-C2V1ElH9.js} +34 -34
  8. package/dist/{api-DayyjL1e.js → api--Fg0hL9Y.js} +258 -258
  9. package/dist/{api-BzonkJ9O.js → api-DlnrjUut.js} +1 -1
  10. package/dist/{createWorkspaceWsHandler-Dgpag_y3.js → createWorkspaceWsHandler-CqGqcTh_.js} +27 -27
  11. package/dist/echarts-B1OU1xr4.js +16 -0
  12. package/dist/{index-BCnzwGPj.js → index-1xwvv2Q7.js} +3 -3
  13. package/dist/{index-BuGgpiDq.js → index-8V37FP9c.js} +4 -4
  14. package/dist/{index-gqKmHnTZ.js → index-B3ikipDf.js} +4 -4
  15. package/dist/{index-Cnw06MGB.js → index-BMRIUhOL.js} +3 -3
  16. package/dist/index-BaCiSbPR.js +956 -0
  17. package/dist/index-Bla8z6ok.js +6879 -0
  18. package/dist/index-Bsh58cwF.js +975 -0
  19. package/dist/index-C01UUprh.js +41705 -0
  20. package/dist/index-C0EIMJI2.js +112 -0
  21. package/dist/{index-BX-3TBsz.js → index-CGDpGIZC.js} +6 -6
  22. package/dist/index-CUVdeb8y.js +638 -0
  23. package/dist/{index-D3TdisV7.js → index-CW2B5_8f.js} +1616 -22092
  24. package/dist/{index-sGtg7MFg.js → index-D5u3BjCZ.js} +2 -2
  25. package/dist/{index-pJERGpTh.js → index-DK_aR-Vu.js} +5 -4
  26. package/dist/index-DKpz0o-l.js +1327 -0
  27. package/dist/index-DUbYCF9y.js +1171 -0
  28. package/dist/index-DvIHX7lZ.js +1657 -0
  29. package/dist/{index-BMOS7sE7.js → index-b1BIpgn7.js} +165 -163
  30. package/dist/{index-DHGvzWWQ.js → index-bbwTcNjB.js} +7 -7
  31. package/dist/index-hPzswwk2.js +5900 -0
  32. package/dist/index-pfzY68PH.js +1408 -0
  33. package/dist/index.js +1 -1
  34. package/dist/index.module-CAa-2T7m.js +72 -0
  35. package/dist/index.module-UI0iz8K0.js +42 -0
  36. package/dist/{instance-CNHJqTd1.js → instance-1QEDBRqA.js} +12 -12
  37. package/dist/pages.js +1 -1
  38. package/dist/schedule-C89oiqIR.js +239 -0
  39. package/dist/{send-default-agent-team-message-CRRwpv0q.js → send-default-agent-team-message-CxkWi3XC.js} +1 -1
  40. package/dist/{sso-user-D0JzsJeR.js → sso-user-BE1Ell5F.js} +1 -1
  41. package/dist/training-o-vSBkqP.js +450 -0
  42. package/dist/{useAppStore-BYXwTjW-.js → useAppStore-wgWaxcyc.js} +24 -24
  43. package/dist/webide-BxD6cYe-.js +8084 -0
  44. package/dist/z-team-component.css +2 -2
  45. package/package.json +1 -1
  46. package/dist/index-CJD6mLzs.js +0 -51451
@@ -1,12 +1,16 @@
1
- import { a, f as s, B as r, r as $, b as i, v as p } from "./api-DayyjL1e.js";
2
- import { u as f } from "./useAppStore-BYXwTjW-.js";
3
- async function y(t = "", e = !1) {
1
+ import { v as p, a, f as s, B as r, r as $, u as i } from "./api--Fg0hL9Y.js";
2
+ import { u as f } from "./useAppStore-wgWaxcyc.js";
3
+ async function y() {
4
+ f.getState().token && await p().catch(() => {
5
+ }), localStorage.removeItem("token"), localStorage.removeItem("z_team_token"), localStorage.removeItem("userInfo"), localStorage.removeItem("USER_INFO"), localStorage.removeItem("z_ctc_token"), localStorage.removeItem("ctcUrl"), window.USER_INFO = void 0, f.setState({ currentUser: null, token: "", currentProject: void 0 });
6
+ }
7
+ async function g(t = "", e = !1) {
4
8
  const n = new URLSearchParams();
5
9
  t && n.set("token", t), e && n.set("allUsers", "true");
6
10
  const o = n.toString() ? `?${n.toString()}` : "", c = await a(`${r}/personal-note/tree${o}`, s);
7
11
  return $(c, "获取笔记文件树失败");
8
12
  }
9
- async function g(t, e = "") {
13
+ async function h(t, e = "") {
10
14
  const n = e ? `?token=${encodeURIComponent(e)}` : "", o = await a(`${r}/personal-note${n}`, {
11
15
  ...s,
12
16
  method: "POST",
@@ -15,11 +19,11 @@ async function g(t, e = "") {
15
19
  });
16
20
  return i(o, "新建笔记失败");
17
21
  }
18
- async function h(t, e = "") {
22
+ async function w(t, e = "") {
19
23
  const n = e ? `?token=${encodeURIComponent(e)}` : "", o = await a(`${r}/personal-note/${t}${n}`, s);
20
24
  return $(o, "获取笔记内容失败");
21
25
  }
22
- async function w(t, e, n = "") {
26
+ async function S(t, e, n = "") {
23
27
  const o = n ? `?token=${encodeURIComponent(n)}` : "", c = await a(`${r}/personal-note/${t}${o}`, {
24
28
  ...s,
25
29
  method: "PUT",
@@ -28,7 +32,7 @@ async function w(t, e, n = "") {
28
32
  });
29
33
  return i(c, "保存笔记失败");
30
34
  }
31
- async function S(t, e, n = "") {
35
+ async function v(t, e, n = "") {
32
36
  const o = n ? `?token=${encodeURIComponent(n)}` : "", c = await a(`${r}/personal-note/${t}/rename${o}`, {
33
37
  ...s,
34
38
  method: "PUT",
@@ -37,7 +41,7 @@ async function S(t, e, n = "") {
37
41
  });
38
42
  return i(c, "重命名失败");
39
43
  }
40
- async function v(t, e, n = "") {
44
+ async function C(t, e, n = "") {
41
45
  const o = n ? `?token=${encodeURIComponent(n)}` : "", c = await a(`${r}/personal-note/${t}/move${o}`, {
42
46
  ...s,
43
47
  method: "PUT",
@@ -46,14 +50,14 @@ async function v(t, e, n = "") {
46
50
  });
47
51
  return i(c, "移动节点失败");
48
52
  }
49
- async function C(t, e = "") {
53
+ async function T(t, e = "") {
50
54
  const n = e ? `?token=${encodeURIComponent(e)}` : "", o = await a(`${r}/personal-note/${t}${n}`, {
51
55
  ...s,
52
56
  method: "DELETE"
53
57
  });
54
58
  return i(o, "删除笔记失败");
55
59
  }
56
- async function T(t, e, n, o = "") {
60
+ async function I(t, e, n, o = "") {
57
61
  const c = new URLSearchParams();
58
62
  c.set("bindKey", t), c.set("defaultTitle", e), c.set("extraInfo", n), o && c.set("token", o);
59
63
  const l = await a(
@@ -62,39 +66,35 @@ async function T(t, e, n, o = "") {
62
66
  );
63
67
  return $(l, "获取绑定笔记失败");
64
68
  }
65
- async function I(t, e = "") {
69
+ async function U(t, e = "") {
66
70
  const n = e ? `?token=${encodeURIComponent(e)}` : "", o = await a(`${r}/personal-note/${t}/share${n}`, {
67
71
  ...s,
68
72
  method: "POST"
69
73
  });
70
74
  return i(o, "生成分享链接失败");
71
75
  }
72
- async function U(t = "") {
76
+ async function N(t = "") {
73
77
  const e = t ? `?token=${encodeURIComponent(t)}` : "", n = await a(
74
78
  `${r}/personal-note/favorites${e}`,
75
79
  s
76
80
  );
77
81
  return $(n, "获取收藏列表失败");
78
82
  }
79
- async function N(t, e = "") {
83
+ async function O(t, e = "") {
80
84
  const n = e ? `?token=${encodeURIComponent(e)}` : "", o = await a(`${r}/personal-note/${t}/favorite${n}`, {
81
85
  ...s,
82
86
  method: "POST"
83
87
  });
84
88
  return i(o, "收藏笔记失败");
85
89
  }
86
- async function O(t, e = "") {
90
+ async function R(t, e = "") {
87
91
  const n = e ? `?token=${encodeURIComponent(e)}` : "", o = await a(`${r}/personal-note/${t}/favorite${n}`, {
88
92
  ...s,
89
93
  method: "DELETE"
90
94
  });
91
95
  return i(o, "取消收藏失败");
92
96
  }
93
- async function b() {
94
- f.getState().token && await p().catch(() => {
95
- }), localStorage.removeItem("token"), localStorage.removeItem("z_team_token"), localStorage.removeItem("userInfo"), localStorage.removeItem("USER_INFO"), localStorage.removeItem("z_ctc_token"), localStorage.removeItem("ctcUrl"), window.USER_INFO = void 0, f.setState({ currentUser: null, token: "", currentProject: void 0 });
96
- }
97
- async function R(t, e = 50) {
97
+ async function b(t, e = 50) {
98
98
  const n = await a(
99
99
  `${r}/scenario-instances/${t}/observer-dispatch-logs?limit=${e}`,
100
100
  { ...s }
@@ -174,26 +174,26 @@ async function D(t) {
174
174
  return i(e, "查询工具调用概览统计失败");
175
175
  }
176
176
  export {
177
- I as a,
178
- R as b,
179
- q as c,
180
- h as d,
181
- U as e,
182
- T as f,
183
- O as g,
184
- N as h,
185
- y as i,
186
- g as j,
187
- C as k,
177
+ N as a,
178
+ U as b,
179
+ R as c,
180
+ O as d,
181
+ g as e,
182
+ w as f,
183
+ h as g,
184
+ T as h,
185
+ I as i,
186
+ b as j,
187
+ q as k,
188
188
  k as l,
189
- v as m,
189
+ C as m,
190
190
  j as n,
191
191
  L as o,
192
192
  P as p,
193
193
  D as q,
194
- S as r,
195
- b as s,
194
+ v as r,
195
+ y as s,
196
196
  E as t,
197
- w as u,
197
+ S as u,
198
198
  A as v
199
199
  };