@yuku123/z-team-component 0.2.102 → 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.
- package/package.json +1 -1
- package/dist/ChangeLogView-BIlT58NX.js +0 -542
- package/dist/ComponentDoc-bhNM4jiY.js +0 -8035
- package/dist/InvitationManagementPage-9AmXUw6E.js +0 -495
- package/dist/OnboardingPage-B9oWippy.js +0 -393
- package/dist/ScheduledTasks-CkNxtgeb.js +0 -12127
- package/dist/SystemShell-Cz3bn2dt.js +0 -688
- package/dist/_commonjsHelpers-B52_cu2H.js +0 -26
- package/dist/admin-logs-BuwxECUY.js +0 -198
- package/dist/api-DL_MM5cW.js +0 -20
- package/dist/browser-jb_PFvU3.js +0 -1538
- package/dist/createWorkspaceWsHandler-B6LYCL3Q.js +0 -13142
- package/dist/ctc-sso-DtJHC-2M.js +0 -117
- package/dist/echarts-B1OU1xr4.js +0 -16
- package/dist/history-BlrA1eaW.js +0 -41
- package/dist/index-2dGExnjZ.js +0 -2217
- package/dist/index-B1AYMWHS.js +0 -10169
- package/dist/index-B5F1N9_V.js +0 -42049
- package/dist/index-B8O2io7L.js +0 -315
- package/dist/index-BIXeUFLa.js +0 -479
- package/dist/index-BPqoN-aE.js +0 -242
- package/dist/index-BTs7b4SV.js +0 -118
- package/dist/index-BYMhgsLe.js +0 -178
- package/dist/index-BZBxvwcT.js +0 -169
- package/dist/index-BZCQSW-G.js +0 -1222
- package/dist/index-B_LJRFsK.js +0 -339
- package/dist/index-BdmM-NHL.js +0 -5892
- package/dist/index-BmHFHD_e.js +0 -112
- package/dist/index-BohoJQPr.js +0 -7631
- package/dist/index-C1wsTstT.js +0 -434
- package/dist/index-C1wtrBjM.js +0 -8
- package/dist/index-C815hPWS.js +0 -430
- package/dist/index-CbH8YeqA.js +0 -913
- package/dist/index-CsweV-yM.js +0 -142
- package/dist/index-D3vyICxK.js +0 -2699
- package/dist/index-DKgyKXWm.js +0 -1640
- package/dist/index-DQHEr9-I.js +0 -93
- package/dist/index-DU-PHfEr.js +0 -189
- package/dist/index-DWsfQMp8.js +0 -208
- package/dist/index-DhDdFRHC.js +0 -279
- package/dist/index-DvTMESfc.js +0 -132
- package/dist/index-fl0m6QYf.js +0 -316
- package/dist/index-lux3nNJP.js +0 -574
- package/dist/index-mwtsohOK.js +0 -951
- package/dist/index-qd4awhFI.js +0 -956
- package/dist/index.js +0 -10
- package/dist/index.module-CAa-2T7m.js +0 -72
- package/dist/index.module-UI0iz8K0.js +0 -42
- package/dist/instance-4ACm8YFK.js +0 -216
- package/dist/menuPermission-C7yt7uNG.js +0 -60
- package/dist/mobile-client-O3yr9h6t.js +0 -24
- package/dist/pages.js +0 -21
- package/dist/send-default-agent-team-message-YRd0CkeT.js +0 -35
- package/dist/spark-md5-Dld54a-T.js +0 -178
- package/dist/sso-user-GnlYnP83.js +0 -43
- package/dist/training-CyK00fwu.js +0 -450
- package/dist/webide-SjnHsCZF.js +0 -5233
- 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-bhNM4jiY.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
|
-
};
|
package/dist/api-DL_MM5cW.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import "@yuku123/z-frontend-common";
|
|
2
|
-
import { b as a } from "./ComponentDoc-bhNM4jiY.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
|
-
};
|