@yuku123/z-team-component 0.2.74 → 0.2.76
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/dist/{ComponentDoc-CFKpk6X_.js → ComponentDoc-B-3eyp4p.js} +2 -2
- package/dist/{InvitationManagementPage-Dr4SxM5K.js → InvitationManagementPage-i3wrq0OA.js} +1 -1
- package/dist/{OnboardingPage-DcYULxKd.js → OnboardingPage-iq9O9Epu.js} +2 -2
- package/dist/{ScheduledTasks-T4NFJWsk.js → ScheduledTasks-MpIpBSW4.js} +4 -4
- package/dist/{SystemShell-D8aDuO_D.js → SystemShell-CWZiZk5U.js} +4 -4
- package/dist/{api-Bj-xsNGU.js → api-BGGElt7Q.js} +1 -1
- package/dist/{createWorkspaceWsHandler-25JfnMML.js → createWorkspaceWsHandler-C-FS738i.js} +3798 -3887
- package/dist/{index-OP18iV8V.js → index-B1jqrWPW.js} +3 -3
- package/dist/{index-rkF8co0n.js → index-BDJCIA4p.js} +5 -5
- package/dist/{index-IK8UlsDo.js → index-BIIBDEQK.js} +2 -2
- package/dist/{index-BYTVXqVp.js → index-BazxRXcl.js} +55 -55
- package/dist/{index-CQcGGl6J.js → index-BbQ8wWN4.js} +3 -3
- package/dist/{index-CMVYzEVW.js → index-C5QmTUp2.js} +2 -2
- package/dist/{index-CbTwXfER.js → index-C5VkXrgj.js} +2 -2
- package/dist/{index-Czt_d2TY.js → index-CCsPMzzt.js} +1 -1
- package/dist/{index-DfecivMN.js → index-CPvy4SM_.js} +3 -3
- package/dist/{index-BZnC9BRh.js → index-Cc6aOQLa.js} +3 -3
- package/dist/{index-DOOlyOVX.js → index-CfCSq_SC.js} +2 -2
- package/dist/{index-Ce9TrTy7.js → index-CjS3Zp-B.js} +2 -2
- package/dist/{index-BYn9kfIj.js → index-DJ6I-pUk.js} +1 -1
- package/dist/{index-B_O9mXF6.js → index-DeT_z9Dg.js} +1 -1
- package/dist/{index-Ccc2gRJA.js → index-OGpLvdxS.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{menuPermission-6NaQTuIn.js → menuPermission-BR4aIUbf.js} +2 -2
- package/dist/pages.js +1 -1
- package/dist/personal-VG7XVvW-.js +294 -0
- package/dist/{schedule-iMEGim0L.js → schedule-Dt_ZRuce.js} +268 -230
- package/dist/webide-CkUCEvo0.js +8396 -0
- package/package.json +2 -2
- package/dist/admin-logs-asBlA9MU.js +0 -199
- package/dist/webide-BlpH-J-H.js +0 -8255
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yuku123/z-team-component",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.76",
|
|
4
4
|
"description": "z-team 团队工作台组件层(lead 005 §8.7:403 文件整体接管,含 pages/workspace/ 系统模式集成 shell)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"@yuku123/z-mq-component": "^0.1.0",
|
|
74
74
|
"@yuku123/z-msg-component": "^0.1.0",
|
|
75
75
|
"@yuku123/z-oss-component": "^0.1.0",
|
|
76
|
-
"@yuku123/z-product-component": "^0.
|
|
76
|
+
"@yuku123/z-product-component": "^0.3.0",
|
|
77
77
|
"@yuku123/z-qa-component": "^0.1.2",
|
|
78
78
|
"@yuku123/z-rpc-component": "^0.1.0",
|
|
79
79
|
"@yuku123/z-schedule-component": "^0.1.0",
|
|
@@ -1,199 +0,0 @@
|
|
|
1
|
-
import { m as p, a, f as s, B as r, n as $, u as i } from "./api-DPkUB1DA.js";
|
|
2
|
-
import { u as f } from "./useAppStore-DQP0l22d.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) {
|
|
8
|
-
const n = new URLSearchParams();
|
|
9
|
-
t && n.set("token", t), e && n.set("allUsers", "true");
|
|
10
|
-
const o = n.toString() ? `?${n.toString()}` : "", c = await a(`${r}/personal-note/tree${o}`, s);
|
|
11
|
-
return $(c, "获取笔记文件树失败");
|
|
12
|
-
}
|
|
13
|
-
async function h(t, e = "") {
|
|
14
|
-
const n = e ? `?token=${encodeURIComponent(e)}` : "", o = await a(`${r}/personal-note${n}`, {
|
|
15
|
-
...s,
|
|
16
|
-
method: "POST",
|
|
17
|
-
headers: { "Content-Type": "application/json" },
|
|
18
|
-
body: JSON.stringify(t)
|
|
19
|
-
});
|
|
20
|
-
return i(o, "新建笔记失败");
|
|
21
|
-
}
|
|
22
|
-
async function w(t, e = "") {
|
|
23
|
-
const n = e ? `?token=${encodeURIComponent(e)}` : "", o = await a(`${r}/personal-note/${t}${n}`, s);
|
|
24
|
-
return $(o, "获取笔记内容失败");
|
|
25
|
-
}
|
|
26
|
-
async function S(t, e, n = "") {
|
|
27
|
-
const o = n ? `?token=${encodeURIComponent(n)}` : "", c = await a(`${r}/personal-note/${t}${o}`, {
|
|
28
|
-
...s,
|
|
29
|
-
method: "PUT",
|
|
30
|
-
headers: { "Content-Type": "application/json" },
|
|
31
|
-
body: JSON.stringify(e)
|
|
32
|
-
});
|
|
33
|
-
return i(c, "保存笔记失败");
|
|
34
|
-
}
|
|
35
|
-
async function v(t, e, n = "") {
|
|
36
|
-
const o = n ? `?token=${encodeURIComponent(n)}` : "", c = await a(`${r}/personal-note/${t}/rename${o}`, {
|
|
37
|
-
...s,
|
|
38
|
-
method: "PUT",
|
|
39
|
-
headers: { "Content-Type": "application/json" },
|
|
40
|
-
body: JSON.stringify({ title: e })
|
|
41
|
-
});
|
|
42
|
-
return i(c, "重命名失败");
|
|
43
|
-
}
|
|
44
|
-
async function C(t, e, n = "") {
|
|
45
|
-
const o = n ? `?token=${encodeURIComponent(n)}` : "", c = await a(`${r}/personal-note/${t}/move${o}`, {
|
|
46
|
-
...s,
|
|
47
|
-
method: "PUT",
|
|
48
|
-
headers: { "Content-Type": "application/json" },
|
|
49
|
-
body: JSON.stringify(e)
|
|
50
|
-
});
|
|
51
|
-
return i(c, "移动节点失败");
|
|
52
|
-
}
|
|
53
|
-
async function T(t, e = "") {
|
|
54
|
-
const n = e ? `?token=${encodeURIComponent(e)}` : "", o = await a(`${r}/personal-note/${t}${n}`, {
|
|
55
|
-
...s,
|
|
56
|
-
method: "DELETE"
|
|
57
|
-
});
|
|
58
|
-
return i(o, "删除笔记失败");
|
|
59
|
-
}
|
|
60
|
-
async function I(t, e, n, o = "") {
|
|
61
|
-
const c = new URLSearchParams();
|
|
62
|
-
c.set("bindKey", t), c.set("defaultTitle", e), c.set("extraInfo", n), o && c.set("token", o);
|
|
63
|
-
const l = await a(
|
|
64
|
-
`${r}/personal-note/bound?${c.toString()}`,
|
|
65
|
-
s
|
|
66
|
-
);
|
|
67
|
-
return $(l, "获取绑定笔记失败");
|
|
68
|
-
}
|
|
69
|
-
async function U(t, e = "") {
|
|
70
|
-
const n = e ? `?token=${encodeURIComponent(e)}` : "", o = await a(`${r}/personal-note/${t}/share${n}`, {
|
|
71
|
-
...s,
|
|
72
|
-
method: "POST"
|
|
73
|
-
});
|
|
74
|
-
return i(o, "生成分享链接失败");
|
|
75
|
-
}
|
|
76
|
-
async function N(t = "") {
|
|
77
|
-
const e = t ? `?token=${encodeURIComponent(t)}` : "", n = await a(
|
|
78
|
-
`${r}/personal-note/favorites${e}`,
|
|
79
|
-
s
|
|
80
|
-
);
|
|
81
|
-
return $(n, "获取收藏列表失败");
|
|
82
|
-
}
|
|
83
|
-
async function O(t, e = "") {
|
|
84
|
-
const n = e ? `?token=${encodeURIComponent(e)}` : "", o = await a(`${r}/personal-note/${t}/favorite${n}`, {
|
|
85
|
-
...s,
|
|
86
|
-
method: "POST"
|
|
87
|
-
});
|
|
88
|
-
return i(o, "收藏笔记失败");
|
|
89
|
-
}
|
|
90
|
-
async function R(t, e = "") {
|
|
91
|
-
const n = e ? `?token=${encodeURIComponent(e)}` : "", o = await a(`${r}/personal-note/${t}/favorite${n}`, {
|
|
92
|
-
...s,
|
|
93
|
-
method: "DELETE"
|
|
94
|
-
});
|
|
95
|
-
return i(o, "取消收藏失败");
|
|
96
|
-
}
|
|
97
|
-
async function b(t, e = 50) {
|
|
98
|
-
const n = await a(
|
|
99
|
-
`${r}/scenario-instances/${t}/observer-dispatch-logs?limit=${e}`,
|
|
100
|
-
{ ...s }
|
|
101
|
-
);
|
|
102
|
-
return i(n, "查询派发日志失败");
|
|
103
|
-
}
|
|
104
|
-
async function q(t, e) {
|
|
105
|
-
const n = await a(
|
|
106
|
-
`${r}/scenario-instances/${t}/observer-dispatch-logs/${e}`,
|
|
107
|
-
{ ...s }
|
|
108
|
-
);
|
|
109
|
-
return i(n, "查询派发日志详情失败");
|
|
110
|
-
}
|
|
111
|
-
async function E(t) {
|
|
112
|
-
const e = await a(
|
|
113
|
-
`${r}/scenario-instances/${t}/observer/trigger`,
|
|
114
|
-
{ ...s, method: "POST" }
|
|
115
|
-
);
|
|
116
|
-
return i(e, "触发观察失败");
|
|
117
|
-
}
|
|
118
|
-
function u(t) {
|
|
119
|
-
const e = new URLSearchParams();
|
|
120
|
-
Object.entries(t).forEach(([o, c]) => {
|
|
121
|
-
if (!(c == null || c === "")) {
|
|
122
|
-
if (Array.isArray(c)) {
|
|
123
|
-
c.forEach((l) => {
|
|
124
|
-
l != null && l !== "" && e.append(o, String(l));
|
|
125
|
-
});
|
|
126
|
-
return;
|
|
127
|
-
}
|
|
128
|
-
e.append(o, String(c));
|
|
129
|
-
}
|
|
130
|
-
});
|
|
131
|
-
const n = e.toString();
|
|
132
|
-
return n ? `?${n}` : "";
|
|
133
|
-
}
|
|
134
|
-
async function L(t) {
|
|
135
|
-
const e = await a(
|
|
136
|
-
`${r}/admin/tool-call-logs${u(t)}`,
|
|
137
|
-
s
|
|
138
|
-
);
|
|
139
|
-
return i(e, "查询工具调用日志失败");
|
|
140
|
-
}
|
|
141
|
-
async function P(t, e = "") {
|
|
142
|
-
const n = await a(
|
|
143
|
-
`${r}/admin/tool-call-logs/${t}${u({ token: e })}`,
|
|
144
|
-
s
|
|
145
|
-
);
|
|
146
|
-
return i(n, "查询工具调用日志详情失败");
|
|
147
|
-
}
|
|
148
|
-
async function k(t = "") {
|
|
149
|
-
const e = await a(
|
|
150
|
-
`${r}/admin/tool-call-logs/tool-types${u({ token: t })}`,
|
|
151
|
-
s
|
|
152
|
-
);
|
|
153
|
-
return i(e, "查询工具类型失败");
|
|
154
|
-
}
|
|
155
|
-
async function j(t = "") {
|
|
156
|
-
const e = await a(
|
|
157
|
-
`${r}/admin/tool-call-logs/agents/names${u({ token: t })}`,
|
|
158
|
-
s
|
|
159
|
-
);
|
|
160
|
-
return i(e, "查询 Agent 名称失败");
|
|
161
|
-
}
|
|
162
|
-
async function A(t) {
|
|
163
|
-
const e = await a(
|
|
164
|
-
`${r}/admin/tool-call-logs/stats${u(t)}`,
|
|
165
|
-
s
|
|
166
|
-
);
|
|
167
|
-
return i(e, "查询工具调用统计失败");
|
|
168
|
-
}
|
|
169
|
-
async function D(t) {
|
|
170
|
-
const e = await a(
|
|
171
|
-
`${r}/admin/tool-call-logs/overview${u(t)}`,
|
|
172
|
-
s
|
|
173
|
-
);
|
|
174
|
-
return i(e, "查询工具调用概览统计失败");
|
|
175
|
-
}
|
|
176
|
-
export {
|
|
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
|
-
k as l,
|
|
189
|
-
C as m,
|
|
190
|
-
j as n,
|
|
191
|
-
L as o,
|
|
192
|
-
P as p,
|
|
193
|
-
D as q,
|
|
194
|
-
v as r,
|
|
195
|
-
y as s,
|
|
196
|
-
E as t,
|
|
197
|
-
S as u,
|
|
198
|
-
A as v
|
|
199
|
-
};
|