@yuku123/z-team-component 0.2.33 → 0.2.34
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-CfXxzvhB.js +544 -0
- package/dist/{ComponentDoc-B2qJmtU6.js → ComponentDoc-CTvxY3v4.js} +40 -40
- package/dist/{InvitationManagementPage-61uxWWwF.js → InvitationManagementPage-NlRdSCc0.js} +1 -1
- package/dist/{OnboardingPage-BBKst6Qf.js → OnboardingPage-BPpq5uih.js} +2 -2
- package/dist/SmartWorkbench.module-xRRmpTTw.js +85 -0
- package/dist/{SystemShell-C52BvjTM.js → SystemShell-o1Q80wKU.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-DcpNsSj8.js} +1 -1
- package/dist/{createWorkspaceWsHandler-CBk4DqP4.js → createWorkspaceWsHandler-mq-UTF2O.js} +4 -4
- package/dist/{index-DHh0L9FB.js → index-2Gkwtm48.js} +1222 -1207
- package/dist/{index-DOPkM2W8.js → index-7nSly-MA.js} +6 -6
- package/dist/{index-BoGVJ0hC.js → index-BAK7UDvY.js} +1 -1
- package/dist/{index-BTLD5gUt.js → index-BX1Wd9x9.js} +3 -3
- package/dist/{index-BIJnjJd5.js → index-Bdu31aRV.js} +2 -2
- package/dist/{index-CFakyLYo.js → index-BmPqCnxn.js} +65 -56
- package/dist/{index-B_EBV24V.js → index-C83kfp3z.js} +1 -1
- package/dist/{index-Bd57t_yF.js → index-CEW8AmbW.js} +1 -1
- package/dist/{index-BEqPF6wm.js → index-CIfE-dmM.js} +2260 -2290
- package/dist/{index-ff3leJCK.js → index-CKDlK4Zz.js} +3 -3
- package/dist/{index-BG755_pa.js → index-CRR1GuYN.js} +1 -1
- package/dist/{index-CEmwgW65.js → index-CYvL_OAH.js} +1055 -1057
- package/dist/{index-DYgD6BuB.js → index-ClA0896K.js} +4 -4
- package/dist/{index-tDO0JBvI.js → index-D4tQ0KN9.js} +5 -5
- package/dist/{index-BjqYiZpC.js → index-DFY3lzq0.js} +3 -3
- package/dist/{index-7VAcVmtR.js → index-DyJp2kSb.js} +7 -7
- package/dist/index-a4cM-7bG.js +1433 -0
- 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
|
@@ -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-CTvxY3v4.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";
|