@yuku123/z-team-component 0.2.103 → 0.2.104

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/dist/ChangeLogView-DG-ogBff.js +542 -0
  2. package/dist/ComponentDoc-BW1SyDxk.js +8035 -0
  3. package/dist/InvitationManagementPage-hYvoPEcm.js +495 -0
  4. package/dist/OnboardingPage-KDp-DrzY.js +393 -0
  5. package/dist/ScheduledTasks-CErSDgyW.js +12127 -0
  6. package/dist/SystemShell-DvrY4Bl7.js +688 -0
  7. package/dist/_commonjsHelpers-B52_cu2H.js +26 -0
  8. package/dist/admin-logs-uPnnclwN.js +198 -0
  9. package/dist/api-B__qdRIf.js +20 -0
  10. package/dist/browser-jb_PFvU3.js +1538 -0
  11. package/dist/createWorkspaceWsHandler-BXbn5-Ft.js +13142 -0
  12. package/dist/ctc-sso-DtJHC-2M.js +117 -0
  13. package/dist/echarts-B1OU1xr4.js +16 -0
  14. package/dist/history-BlrA1eaW.js +41 -0
  15. package/dist/index-0smeCTnr.js +42049 -0
  16. package/dist/index-2isWwv1X.js +10169 -0
  17. package/dist/index-BC8f-JP9.js +242 -0
  18. package/dist/index-BK3YDeXH.js +2217 -0
  19. package/dist/index-BOJm25by.js +999 -0
  20. package/dist/index-B_LJRFsK.js +339 -0
  21. package/dist/index-BnJ8UEeZ.js +5892 -0
  22. package/dist/index-BohoJQPr.js +7631 -0
  23. package/dist/index-BwJPAN8f.js +112 -0
  24. package/dist/index-ByhCWenF.js +434 -0
  25. package/dist/index-C2_tfpEj.js +118 -0
  26. package/dist/index-C815hPWS.js +430 -0
  27. package/dist/index-C9fGup9t.js +189 -0
  28. package/dist/index-Cb88Xdh4.js +169 -0
  29. package/dist/index-Cih0yoxc.js +178 -0
  30. package/dist/index-CkWKJORv.js +1645 -0
  31. package/dist/index-CsaGecGX.js +132 -0
  32. package/dist/index-D-xPVrY3.js +316 -0
  33. package/dist/index-DAGa9v8r.js +142 -0
  34. package/dist/index-DBnH-lRh.js +956 -0
  35. package/dist/index-DIFIvVWE.js +93 -0
  36. package/dist/index-DOgCfVB2.js +574 -0
  37. package/dist/index-DWsfQMp8.js +208 -0
  38. package/dist/index-DcurzowX.js +2699 -0
  39. package/dist/index-DhDdFRHC.js +279 -0
  40. package/dist/index-Dpii3P5J.js +1302 -0
  41. package/dist/index-DtHoMz1H.js +8 -0
  42. package/dist/index-YVtm1SRy.js +913 -0
  43. package/dist/index-aI2EXKED.js +479 -0
  44. package/dist/index-q_TPea69.js +315 -0
  45. package/dist/index.js +10 -0
  46. package/dist/index.module-CAa-2T7m.js +72 -0
  47. package/dist/index.module-UI0iz8K0.js +42 -0
  48. package/dist/instance-pdQ_wAhB.js +216 -0
  49. package/dist/menuPermission-CCQjJVXg.js +60 -0
  50. package/dist/mobile-client-O3yr9h6t.js +24 -0
  51. package/dist/pages.js +21 -0
  52. package/dist/send-default-agent-team-message-BzeR4ahf.js +35 -0
  53. package/dist/spark-md5-Dld54a-T.js +178 -0
  54. package/dist/sso-user-DI7oiDdc.js +43 -0
  55. package/dist/training-Bz7Sr5yC.js +450 -0
  56. package/dist/webide-NcHLDiSn.js +5233 -0
  57. package/dist/z-team-component.css +1 -0
  58. package/package.json +1 -1
@@ -0,0 +1,26 @@
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
+ };
@@ -0,0 +1,198 @@
1
+ import { d as f, q as p, a, f as s, B as r, v as $, u as i } from "./ComponentDoc-BW1SyDxk.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
+ };
@@ -0,0 +1,20 @@
1
+ import "@yuku123/z-frontend-common";
2
+ import { b as a } from "./ComponentDoc-BW1SyDxk.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
+ };