@yuku123/z-team-component 0.2.36 → 0.2.37
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/ChangeLogView-nPAmM1X0.js +542 -0
- package/dist/{ComponentDoc-B2qJmtU6.js → ComponentDoc-BKjq4J_p.js} +40 -40
- package/dist/{InvitationManagementPage-61uxWWwF.js → InvitationManagementPage-1ltSXMut.js} +1 -1
- package/dist/{OnboardingPage-BBKst6Qf.js → OnboardingPage-CJK2A0fG.js} +2 -2
- package/dist/SmartWorkbench.module-xRRmpTTw.js +85 -0
- package/dist/{SystemShell-C52BvjTM.js → SystemShell-BUBaiZfa.js} +160 -158
- package/dist/{admin-logs-Dv86pFvY.js → admin-logs-D6HtRcK6.js} +2 -2
- package/dist/{api-19TXED_O.js → api-C78tCfne.js} +156 -155
- package/dist/{api-Bf3E-c73.js → api-XuBBtap9.js} +1 -1
- package/dist/{createWorkspaceWsHandler-CBk4DqP4.js → createWorkspaceWsHandler-mq-UTF2O.js} +4 -4
- package/dist/{index-DOPkM2W8.js → index-7nSly-MA.js} +6 -6
- package/dist/{index-BEqPF6wm.js → index-B-VKCQnw.js} +2260 -2290
- package/dist/{index-CEmwgW65.js → index-B3kZRd65.js} +1055 -1057
- package/dist/{index-BoGVJ0hC.js → index-BAK7UDvY.js} +1 -1
- package/dist/{index-BTLD5gUt.js → index-BX1Wd9x9.js} +3 -3
- package/dist/{index-DHh0L9FB.js → index-B_JFsyJ8.js} +1222 -1207
- package/dist/{index-BIJnjJd5.js → index-Bdu31aRV.js} +2 -2
- package/dist/{index-ff3leJCK.js → index-C29bzppl.js} +3 -3
- package/dist/{index-CFakyLYo.js → index-CQDlK88K.js} +65 -56
- package/dist/{index-DYgD6BuB.js → index-ClA0896K.js} +4 -4
- package/dist/{index-tDO0JBvI.js → index-D4tQ0KN9.js} +5 -5
- package/dist/{index-B_EBV24V.js → index-D9AqC2O-.js} +1 -1
- package/dist/{index-BjqYiZpC.js → index-DFY3lzq0.js} +3 -3
- package/dist/{index-Bd57t_yF.js → index-DpcrvKsK.js} +1 -1
- package/dist/{index-7VAcVmtR.js → index-DyJp2kSb.js} +7 -7
- package/dist/index-a4cM-7bG.js +1433 -0
- package/dist/{index-BG755_pa.js → index-qAOhpMUP.js} +1 -1
- package/dist/{index-x4-W5ClM.js → index-qK6pyAGy.js} +4 -4
- package/dist/index.js +1 -1
- package/dist/{instance-D951fRuD.js → instance-D5dhjbgg.js} +1 -1
- package/dist/pages.js +1 -1
- package/dist/{schedule-DIlnA1uC.js → schedule-Dstx5SE_.js} +35 -35
- package/dist/{send-default-agent-team-message-Bbs2rMNf.js → send-default-agent-team-message-C882sJLV.js} +1 -1
- package/dist/{sso-user-BEY5ICaR.js → sso-user-Bi9_l9yi.js} +1 -1
- package/dist/{training-B-9tNFQw.js → training-Ba09KItE.js} +1 -1
- package/dist/{useAppStore-BQN-26ns.js → useAppStore-ibJyVIAX.js} +1 -1
- package/dist/{webide-mvUPb2k9.js → webide-CTvdgMFE.js} +4 -4
- package/dist/z-team-component.css +1 -1
- package/package.json +1 -1
- package/dist/ChangeLogView-FLd1wS8H.js +0 -502
- package/dist/DebugPlayground-cxffrMgF.js +0 -15
- package/dist/SmartWorkbench.module-DzQskKT0.js +0 -85
- package/dist/index-Ddm63H7s.js +0 -1335
|
@@ -3,7 +3,7 @@ import { useNavigate as G, useParams as pe, useLocation as he, useRoutes as ue }
|
|
|
3
3
|
import { useState as _, useEffect as M, useMemo as me } from "react";
|
|
4
4
|
import { RocketOutlined as ye, AppstoreOutlined as le, BellOutlined as ae, PlayCircleOutlined as V, CheckCircleOutlined as Q, CloseCircleOutlined as X, BulbOutlined as Y, PlusOutlined as B, EditOutlined as ge, CopyOutlined as ne, DeleteOutlined as fe, ArrowLeftOutlined as be, SaveOutlined as we, ReloadOutlined as Ie, ShopOutlined as ie, StarFilled as _e, CloudDownloadOutlined as ke, DashboardOutlined as ve, InfoCircleOutlined as xe } from "@ant-design/icons";
|
|
5
5
|
import { Typography as $, Row as H, Col as O, Card as F, Statistic as P, Table as se, Tag as b, Form as h, Input as N, Button as y, Space as S, Popconfirm as de, Drawer as J, Select as z, message as g, Tabs as Ce, InputNumber as Te, Switch as Ae, Descriptions as R, Timeline as Ee, Spin as Ne } from "antd";
|
|
6
|
-
import { r as w } from "./ComponentDoc-
|
|
6
|
+
import { r as w } from "./ComponentDoc-BKjq4J_p.js";
|
|
7
7
|
import { ListTable as K } from "@yuku123/z-frontend-common/ui";
|
|
8
8
|
const { Title: Se, Paragraph: Oe } = $;
|
|
9
9
|
function q() {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as t, jsxs as l } from "react/jsx-runtime";
|
|
2
2
|
import { f as ie, r as z } from "./ctc-sso-DtJHC-2M.js";
|
|
3
|
-
import { r as ne, h as X, s as oe } from "./sso-user-
|
|
3
|
+
import { r as ne, h as X, s as oe } from "./sso-user-Bi9_l9yi.js";
|
|
4
4
|
import { CheckCircleFilled as le, QuestionCircleOutlined as ce, CloseOutlined as me } from "@ant-design/icons";
|
|
5
5
|
import { message as k, Result as de, Button as D, Spin as G, Input as ue, Image as fe } from "antd";
|
|
6
6
|
import pe from "query-string";
|
|
7
7
|
import { useState as f, useRef as Y, useMemo as K, useCallback as w, useEffect as V } from "react";
|
|
8
8
|
import { useLocation as ge } from "react-router-dom";
|
|
9
9
|
import { h as W } from "./history-BlrA1eaW.js";
|
|
10
|
-
import { q as he, d as be, e as _e } from "./api-
|
|
11
|
-
import { u as c } from "./useAppStore-
|
|
10
|
+
import { q as he, d as be, e as _e } from "./api-C78tCfne.js";
|
|
11
|
+
import { u as c } from "./useAppStore-ibJyVIAX.js";
|
|
12
12
|
/* empty css */
|
|
13
13
|
import { b as ye } from "./mobile-client-O3yr9h6t.js";
|
|
14
|
-
import { a as ve, s as we } from "./send-default-agent-team-message-
|
|
14
|
+
import { a as ve, s as we } from "./send-default-agent-team-message-C882sJLV.js";
|
|
15
15
|
const Ne = 5e3, E = 9, Ce = 10 * 1024 * 1024, Se = /^image\//i, Ie = /\.(png|jpe?g|gif|bmp|webp)$/i;
|
|
16
16
|
function Pe(a) {
|
|
17
17
|
return a.type && Se.test(a.type) ? !0 : Ie.test(a.name || "");
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as o, f as d, B as r, u as c } from "./api-
|
|
1
|
+
import { a as o, f as d, B as r, u as c } from "./api-C78tCfne.js";
|
|
2
2
|
async function h(e, n = "") {
|
|
3
3
|
const t = new URLSearchParams();
|
|
4
4
|
n && t.set("token", n), e.scenario_code && t.set("scenario_code", e.scenario_code), e.status && t.set("status", e.status), e.name && t.set("name", e.name), e.role && t.set("role", e.role), e.create_time_start && t.set("create_time_start", e.create_time_start), e.create_time_end && t.set("create_time_end", e.create_time_end), t.set("page", String(e.page ?? 1)), t.set("size", String(e.size ?? 20));
|
package/dist/pages.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createElement as e } from "react";
|
|
2
2
|
import { ReadOutlined as t } from "@ant-design/icons";
|
|
3
|
-
import { S as o, P as a, C as r, Z as m } from "./ComponentDoc-
|
|
3
|
+
import { S as o, P as a, C as r, Z as m } from "./ComponentDoc-BKjq4J_p.js";
|
|
4
4
|
import "react/jsx-runtime";
|
|
5
5
|
import "react-router-dom";
|
|
6
6
|
import "antd";
|
|
@@ -1,38 +1,7 @@
|
|
|
1
1
|
import { jsxs as E, jsx as h } from "react/jsx-runtime";
|
|
2
2
|
import { Component as N } from "react";
|
|
3
|
-
import { a as c, B as i, u as l, f as u, g as A,
|
|
4
|
-
|
|
5
|
-
RUNTIME_MONITOR_VIEW: ["RUNTIME_MONITOR_MANAGE"],
|
|
6
|
-
EVALUATION_VIEW: ["EVALUATION_MANAGE"],
|
|
7
|
-
COLLABORATION_VIEW: [
|
|
8
|
-
"AGENT_MANAGE",
|
|
9
|
-
"SKILL_MANAGE",
|
|
10
|
-
"SCENARIO_MANAGE",
|
|
11
|
-
"PROFILE_MANAGE",
|
|
12
|
-
"TAG_MANAGE",
|
|
13
|
-
"TOOL_MANAGE"
|
|
14
|
-
],
|
|
15
|
-
EVOLUTION_VIEW: ["EVOLUTION_MANAGE"],
|
|
16
|
-
OPS_CONFIG_VIEW: [
|
|
17
|
-
"OPS_CONFIG_MANAGE",
|
|
18
|
-
"ONCALL_MANAGE",
|
|
19
|
-
"ANNOUNCEMENT_MANAGE",
|
|
20
|
-
"OPS_REPORT_MANAGE"
|
|
21
|
-
],
|
|
22
|
-
KNOWLEDGE_VIEW: ["KNOWLEDGE_MANAGE"],
|
|
23
|
-
WEBIDE_VIEW: ["WEBIDE_MANAGE"]
|
|
24
|
-
};
|
|
25
|
-
function I(n, e) {
|
|
26
|
-
var r;
|
|
27
|
-
if (!n) return !1;
|
|
28
|
-
if (n.is_global_admin || (r = n.permissions) != null && r.includes(e)) return !0;
|
|
29
|
-
const t = S[e];
|
|
30
|
-
return !!(t != null && t.some((a) => {
|
|
31
|
-
var s;
|
|
32
|
-
return (s = n.permissions) == null ? void 0 : s.includes(a);
|
|
33
|
-
}));
|
|
34
|
-
}
|
|
35
|
-
class O extends N {
|
|
3
|
+
import { a as c, B as i, u as l, f as u, g as A, v as f } from "./api-C78tCfne.js";
|
|
4
|
+
class I extends N {
|
|
36
5
|
constructor(e) {
|
|
37
6
|
super(e), this.state = { hasError: !1, error: null };
|
|
38
7
|
}
|
|
@@ -93,6 +62,37 @@ class O extends N {
|
|
|
93
62
|
) : this.props.children;
|
|
94
63
|
}
|
|
95
64
|
}
|
|
65
|
+
const S = {
|
|
66
|
+
RUNTIME_MONITOR_VIEW: ["RUNTIME_MONITOR_MANAGE"],
|
|
67
|
+
EVALUATION_VIEW: ["EVALUATION_MANAGE"],
|
|
68
|
+
COLLABORATION_VIEW: [
|
|
69
|
+
"AGENT_MANAGE",
|
|
70
|
+
"SKILL_MANAGE",
|
|
71
|
+
"SCENARIO_MANAGE",
|
|
72
|
+
"PROFILE_MANAGE",
|
|
73
|
+
"TAG_MANAGE",
|
|
74
|
+
"TOOL_MANAGE"
|
|
75
|
+
],
|
|
76
|
+
EVOLUTION_VIEW: ["EVOLUTION_MANAGE"],
|
|
77
|
+
OPS_CONFIG_VIEW: [
|
|
78
|
+
"OPS_CONFIG_MANAGE",
|
|
79
|
+
"ONCALL_MANAGE",
|
|
80
|
+
"ANNOUNCEMENT_MANAGE",
|
|
81
|
+
"OPS_REPORT_MANAGE"
|
|
82
|
+
],
|
|
83
|
+
KNOWLEDGE_VIEW: ["KNOWLEDGE_MANAGE"],
|
|
84
|
+
WEBIDE_VIEW: ["WEBIDE_MANAGE"]
|
|
85
|
+
};
|
|
86
|
+
function O(n, e) {
|
|
87
|
+
var r;
|
|
88
|
+
if (!n) return !1;
|
|
89
|
+
if (n.is_global_admin || (r = n.permissions) != null && r.includes(e)) return !0;
|
|
90
|
+
const t = S[e];
|
|
91
|
+
return !!(t != null && t.some((a) => {
|
|
92
|
+
var s;
|
|
93
|
+
return (s = n.permissions) == null ? void 0 : s.includes(a);
|
|
94
|
+
}));
|
|
95
|
+
}
|
|
96
96
|
function p(n) {
|
|
97
97
|
const e = n && typeof n == "object" ? n : {}, t = Array.isArray(e.items) ? A(e.items) : [];
|
|
98
98
|
return { ...e, items: t };
|
|
@@ -223,14 +223,14 @@ async function P(n = "") {
|
|
|
223
223
|
return l(t, "标记已读失败");
|
|
224
224
|
}
|
|
225
225
|
export {
|
|
226
|
-
|
|
226
|
+
I as E,
|
|
227
227
|
P as a,
|
|
228
228
|
_ as b,
|
|
229
229
|
G as c,
|
|
230
230
|
T as d,
|
|
231
231
|
R as e,
|
|
232
232
|
b as f,
|
|
233
|
-
|
|
233
|
+
O as h,
|
|
234
234
|
U as m,
|
|
235
235
|
M as r,
|
|
236
236
|
L as s,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { create as Ce } from "zustand";
|
|
2
|
-
import { Q as je,
|
|
2
|
+
import { Q as je, x as M, i as C, y as ne, k as A, t as _, z as se, A as Pe, C as Ne, D as we, E as Ee, F as xe, G as Fe, H as ae, I as Re, J as Oe, K as B, L as Ue, M as He, n as ie, N as Le, O as $e, P as Ge, R as De, S as Ve, U as Be, V as qe, W as ze, X as Ke, Y as We, Z as Je, _ as Ye, $ as Ze, a0 as Qe, a1 as Xe, s as x, a2 as et, a3 as oe, a4 as tt, a5 as nt, a6 as rt, a7 as st, a8 as at, a9 as it, aa as ot, ab as ct, c as lt, ac as ut, ad as dt, w as ft, ae as mt } from "./api-C78tCfne.js";
|
|
3
3
|
import { message as F } from "antd";
|
|
4
4
|
const _e = `[[REASONING:正在分析…]]
|
|
5
5
|
正在分析…
|
|
@@ -6,11 +6,11 @@ import $r from "react-markdown";
|
|
|
6
6
|
import Dr from "rehype-highlight";
|
|
7
7
|
import Lr from "remark-gfm";
|
|
8
8
|
import { h as Ar } from "./history-BlrA1eaW.js";
|
|
9
|
-
import { a as E, f as A, B as M, u as j,
|
|
10
|
-
import { u as In, f as Ca, a as Pr, b as Sa, c as Ur, d as zr, e as Na, g as Br, r as jr, h as Fr, m as Hr } from "./admin-logs-
|
|
9
|
+
import { a as E, f as A, B as M, u as j, v as Xe, t as Re, i as it, k as be, c as Or, ag as Ln, ac as Rr, aq as Mr, ar as Jn, as as Er, at as va } from "./api-C78tCfne.js";
|
|
10
|
+
import { u as In, f as Ca, a as Pr, b as Sa, c as Ur, d as zr, e as Na, g as Br, r as jr, h as Fr, m as Hr } from "./admin-logs-D6HtRcK6.js";
|
|
11
11
|
import Ee from "dayjs";
|
|
12
|
-
import { u as Pt } from "./useAppStore-
|
|
13
|
-
import { s as Ia } from "./schedule-
|
|
12
|
+
import { u as Pt } from "./useAppStore-ibJyVIAX.js";
|
|
13
|
+
import { s as Ia } from "./schedule-Dstx5SE_.js";
|
|
14
14
|
import { M as wa } from "./index-CUVdeb8y.js";
|
|
15
15
|
import "./echarts-B1OU1xr4.js";
|
|
16
16
|
import * as Wr from "echarts/core";
|