@yuku123/z-team-component 0.2.101 → 0.2.103

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 (58) hide show
  1. package/package.json +1 -1
  2. package/dist/ChangeLogView-C5CT7IdD.js +0 -542
  3. package/dist/ComponentDoc-_6l967G1.js +0 -8035
  4. package/dist/InvitationManagementPage-aVNAFNfh.js +0 -495
  5. package/dist/OnboardingPage-eguTk0Fr.js +0 -393
  6. package/dist/ScheduledTasks-fQkpSLxv.js +0 -12127
  7. package/dist/SystemShell-CcjFqtAl.js +0 -688
  8. package/dist/_commonjsHelpers-B52_cu2H.js +0 -26
  9. package/dist/admin-logs-3ZODCEOd.js +0 -198
  10. package/dist/api-Cxg9p973.js +0 -20
  11. package/dist/browser-jb_PFvU3.js +0 -1538
  12. package/dist/createWorkspaceWsHandler-DGSUlhxe.js +0 -13142
  13. package/dist/ctc-sso-DtJHC-2M.js +0 -117
  14. package/dist/echarts-B1OU1xr4.js +0 -16
  15. package/dist/history-BlrA1eaW.js +0 -41
  16. package/dist/index-9pP8ZkkO.js +0 -913
  17. package/dist/index-BK7D0ag2.js +0 -142
  18. package/dist/index-BQvWAcy_.js +0 -814
  19. package/dist/index-BZCQSW-G.js +0 -1222
  20. package/dist/index-B_LJRFsK.js +0 -339
  21. package/dist/index-BdAkIs1M.js +0 -42049
  22. package/dist/index-Bn-5kryj.js +0 -2217
  23. package/dist/index-BohoJQPr.js +0 -7631
  24. package/dist/index-Bxeg6bYj.js +0 -315
  25. package/dist/index-C6Y3uiLo.js +0 -316
  26. package/dist/index-C815hPWS.js +0 -430
  27. package/dist/index-CJRhmIZt.js +0 -132
  28. package/dist/index-CRuyEQHz.js +0 -242
  29. package/dist/index-CUgTpa_y.js +0 -10132
  30. package/dist/index-Cl8xxWPn.js +0 -93
  31. package/dist/index-CuXeGlOh.js +0 -5892
  32. package/dist/index-Cxecr-Dh.js +0 -8
  33. package/dist/index-CyXYKCpO.js +0 -178
  34. package/dist/index-D1xldtWw.js +0 -479
  35. package/dist/index-DH85SI_i.js +0 -574
  36. package/dist/index-DJ52X07p.js +0 -1640
  37. package/dist/index-DLmDAaE2.js +0 -169
  38. package/dist/index-DTRobC4q.js +0 -956
  39. package/dist/index-DWsfQMp8.js +0 -208
  40. package/dist/index-DdeHvY0_.js +0 -112
  41. package/dist/index-DhDdFRHC.js +0 -279
  42. package/dist/index-DjokMbUK.js +0 -434
  43. package/dist/index-DyKLLFs9.js +0 -2699
  44. package/dist/index-J7unHx4K.js +0 -118
  45. package/dist/index-t0s2Lph_.js +0 -189
  46. package/dist/index.js +0 -10
  47. package/dist/index.module-CAa-2T7m.js +0 -72
  48. package/dist/index.module-UI0iz8K0.js +0 -42
  49. package/dist/instance-120oH-2S.js +0 -216
  50. package/dist/menuPermission-qZTza4Oq.js +0 -60
  51. package/dist/mobile-client-O3yr9h6t.js +0 -24
  52. package/dist/pages.js +0 -21
  53. package/dist/send-default-agent-team-message-DrfWKH9j.js +0 -35
  54. package/dist/spark-md5-Dld54a-T.js +0 -178
  55. package/dist/sso-user-DXwW5eLV.js +0 -43
  56. package/dist/training-D3P1cMiu.js +0 -450
  57. package/dist/webide-D_OZQdjo.js +0 -5233
  58. package/dist/z-team-component.css +0 -1
@@ -1,26 +0,0 @@
1
- function n(e) {
2
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
3
- }
4
- function c(e) {
5
- if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
6
- var o = e.default;
7
- if (typeof o == "function") {
8
- var t = function r() {
9
- return this instanceof r ? Reflect.construct(o, arguments, this.constructor) : o.apply(this, arguments);
10
- };
11
- t.prototype = o.prototype;
12
- } else t = {};
13
- return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(e).forEach(function(r) {
14
- var u = Object.getOwnPropertyDescriptor(e, r);
15
- Object.defineProperty(t, r, u.get ? u : {
16
- enumerable: !0,
17
- get: function() {
18
- return e[r];
19
- }
20
- });
21
- }), t;
22
- }
23
- export {
24
- c as a,
25
- n as g
26
- };
@@ -1,198 +0,0 @@
1
- import { d as f, q as p, a, f as s, B as r, v as $, u as i } from "./ComponentDoc-_6l967G1.js";
2
- async function m() {
3
- f.getState().token && await p().catch(() => {
4
- }), 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 });
5
- }
6
- async function y(t = "", e = !1) {
7
- const n = new URLSearchParams();
8
- t && n.set("token", t), e && n.set("allUsers", "true");
9
- const o = n.toString() ? `?${n.toString()}` : "", c = await a(`${r}/personal-note/tree${o}`, s);
10
- return $(c, "获取笔记文件树失败");
11
- }
12
- async function g(t, e = "") {
13
- const n = e ? `?token=${encodeURIComponent(e)}` : "", o = await a(`${r}/personal-note${n}`, {
14
- ...s,
15
- method: "POST",
16
- headers: { "Content-Type": "application/json" },
17
- body: JSON.stringify(t)
18
- });
19
- return i(o, "新建笔记失败");
20
- }
21
- async function h(t, e = "") {
22
- const n = e ? `?token=${encodeURIComponent(e)}` : "", o = await a(`${r}/personal-note/${t}${n}`, s);
23
- return $(o, "获取笔记内容失败");
24
- }
25
- async function w(t, e, n = "") {
26
- const o = n ? `?token=${encodeURIComponent(n)}` : "", c = await a(`${r}/personal-note/${t}${o}`, {
27
- ...s,
28
- method: "PUT",
29
- headers: { "Content-Type": "application/json" },
30
- body: JSON.stringify(e)
31
- });
32
- return i(c, "保存笔记失败");
33
- }
34
- async function S(t, e, n = "") {
35
- const o = n ? `?token=${encodeURIComponent(n)}` : "", c = await a(`${r}/personal-note/${t}/rename${o}`, {
36
- ...s,
37
- method: "PUT",
38
- headers: { "Content-Type": "application/json" },
39
- body: JSON.stringify({ title: e })
40
- });
41
- return i(c, "重命名失败");
42
- }
43
- async function v(t, e, n = "") {
44
- const o = n ? `?token=${encodeURIComponent(n)}` : "", c = await a(`${r}/personal-note/${t}/move${o}`, {
45
- ...s,
46
- method: "PUT",
47
- headers: { "Content-Type": "application/json" },
48
- body: JSON.stringify(e)
49
- });
50
- return i(c, "移动节点失败");
51
- }
52
- async function C(t, e = "") {
53
- const n = e ? `?token=${encodeURIComponent(e)}` : "", o = await a(`${r}/personal-note/${t}${n}`, {
54
- ...s,
55
- method: "DELETE"
56
- });
57
- return i(o, "删除笔记失败");
58
- }
59
- async function T(t, e, n, o = "") {
60
- const c = new URLSearchParams();
61
- c.set("bindKey", t), c.set("defaultTitle", e), c.set("extraInfo", n), o && c.set("token", o);
62
- const l = await a(
63
- `${r}/personal-note/bound?${c.toString()}`,
64
- s
65
- );
66
- return $(l, "获取绑定笔记失败");
67
- }
68
- async function I(t, e = "") {
69
- const n = e ? `?token=${encodeURIComponent(e)}` : "", o = await a(`${r}/personal-note/${t}/share${n}`, {
70
- ...s,
71
- method: "POST"
72
- });
73
- return i(o, "生成分享链接失败");
74
- }
75
- async function U(t = "") {
76
- const e = t ? `?token=${encodeURIComponent(t)}` : "", n = await a(
77
- `${r}/personal-note/favorites${e}`,
78
- s
79
- );
80
- return $(n, "获取收藏列表失败");
81
- }
82
- async function N(t, e = "") {
83
- const n = e ? `?token=${encodeURIComponent(e)}` : "", o = await a(`${r}/personal-note/${t}/favorite${n}`, {
84
- ...s,
85
- method: "POST"
86
- });
87
- return i(o, "收藏笔记失败");
88
- }
89
- async function O(t, e = "") {
90
- const n = e ? `?token=${encodeURIComponent(e)}` : "", o = await a(`${r}/personal-note/${t}/favorite${n}`, {
91
- ...s,
92
- method: "DELETE"
93
- });
94
- return i(o, "取消收藏失败");
95
- }
96
- async function R(t, e = 50) {
97
- const n = await a(
98
- `${r}/scenario-instances/${t}/observer-dispatch-logs?limit=${e}`,
99
- { ...s }
100
- );
101
- return i(n, "查询派发日志失败");
102
- }
103
- async function b(t, e) {
104
- const n = await a(
105
- `${r}/scenario-instances/${t}/observer-dispatch-logs/${e}`,
106
- { ...s }
107
- );
108
- return i(n, "查询派发日志详情失败");
109
- }
110
- async function q(t) {
111
- const e = await a(
112
- `${r}/scenario-instances/${t}/observer/trigger`,
113
- { ...s, method: "POST" }
114
- );
115
- return i(e, "触发观察失败");
116
- }
117
- function u(t) {
118
- const e = new URLSearchParams();
119
- Object.entries(t).forEach(([o, c]) => {
120
- if (!(c == null || c === "")) {
121
- if (Array.isArray(c)) {
122
- c.forEach((l) => {
123
- l != null && l !== "" && e.append(o, String(l));
124
- });
125
- return;
126
- }
127
- e.append(o, String(c));
128
- }
129
- });
130
- const n = e.toString();
131
- return n ? `?${n}` : "";
132
- }
133
- async function E(t) {
134
- const e = await a(
135
- `${r}/admin/tool-call-logs${u(t)}`,
136
- s
137
- );
138
- return i(e, "查询工具调用日志失败");
139
- }
140
- async function L(t, e = "") {
141
- const n = await a(
142
- `${r}/admin/tool-call-logs/${t}${u({ token: e })}`,
143
- s
144
- );
145
- return i(n, "查询工具调用日志详情失败");
146
- }
147
- async function P(t = "") {
148
- const e = await a(
149
- `${r}/admin/tool-call-logs/tool-types${u({ token: t })}`,
150
- s
151
- );
152
- return i(e, "查询工具类型失败");
153
- }
154
- async function k(t = "") {
155
- const e = await a(
156
- `${r}/admin/tool-call-logs/agents/names${u({ token: t })}`,
157
- s
158
- );
159
- return i(e, "查询 Agent 名称失败");
160
- }
161
- async function j(t) {
162
- const e = await a(
163
- `${r}/admin/tool-call-logs/stats${u(t)}`,
164
- s
165
- );
166
- return i(e, "查询工具调用统计失败");
167
- }
168
- async function A(t) {
169
- const e = await a(
170
- `${r}/admin/tool-call-logs/overview${u(t)}`,
171
- s
172
- );
173
- return i(e, "查询工具调用概览统计失败");
174
- }
175
- export {
176
- U as a,
177
- h as b,
178
- g as c,
179
- C as d,
180
- I as e,
181
- y as f,
182
- O as g,
183
- N as h,
184
- T as i,
185
- R as j,
186
- b as k,
187
- P as l,
188
- v as m,
189
- k as n,
190
- E as o,
191
- L as p,
192
- A as q,
193
- S as r,
194
- m as s,
195
- q as t,
196
- w as u,
197
- j as v
198
- };
@@ -1,20 +0,0 @@
1
- import "@yuku123/z-frontend-common";
2
- import { b as a } from "./ComponentDoc-_6l967G1.js";
3
- import "react/jsx-runtime";
4
- import "react";
5
- import "antd";
6
- import "@ant-design/icons";
7
- import "@yuku123/z-frontend-common/ui";
8
- const p = () => a.get("/ctc/authn/my-tenants"), v = (t, s) => a.post("/ctc/authn/select-tenant", { tenantCode: t, domainCode: "" }), l = (t) => a.post("/ctc/ac/invitations", t), d = (t) => a.post("/ctc/ac/invitations/accept", { token: t }), u = (t) => a.post("/ctc/ac/invitations/redeem", { code: t }), b = (t) => a.get("/ctc/ac/invitations", { params: { tenantCode: t } }), g = (t, s) => a.post(`/ctc/ac/invitations/${t}/revoke`, null, { params: { tenantCode: s } }), I = (t) => a.get("/ctc/ac/invitations/members", { params: { tenantCode: t } }), h = (t, s) => a.post(`/ctc/ac/invitations/members/${t}/remove`, null, { params: { tenantCode: s } }), C = (t) => a.post("/ctc/ac/invitations/leave", null, { params: { tenantCode: t } });
9
- export {
10
- d as a,
11
- I as b,
12
- C as c,
13
- h as d,
14
- g as e,
15
- l as f,
16
- p as g,
17
- b as l,
18
- u as r,
19
- v as s
20
- };