@yuku123/z-team-component 0.2.33 → 0.2.35

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 (43) hide show
  1. package/dist/ChangeLogView-CfXxzvhB.js +544 -0
  2. package/dist/{ComponentDoc-B2qJmtU6.js → ComponentDoc-CTvxY3v4.js} +40 -40
  3. package/dist/{InvitationManagementPage-61uxWWwF.js → InvitationManagementPage-NlRdSCc0.js} +1 -1
  4. package/dist/{OnboardingPage-BBKst6Qf.js → OnboardingPage-BPpq5uih.js} +2 -2
  5. package/dist/SmartWorkbench.module-xRRmpTTw.js +85 -0
  6. package/dist/{SystemShell-C52BvjTM.js → SystemShell-o1Q80wKU.js} +160 -158
  7. package/dist/{admin-logs-Dv86pFvY.js → admin-logs-D6HtRcK6.js} +2 -2
  8. package/dist/{api-19TXED_O.js → api-C78tCfne.js} +156 -155
  9. package/dist/{api-Bf3E-c73.js → api-DcpNsSj8.js} +1 -1
  10. package/dist/{createWorkspaceWsHandler-CBk4DqP4.js → createWorkspaceWsHandler-mq-UTF2O.js} +4 -4
  11. package/dist/{index-DHh0L9FB.js → index-2Gkwtm48.js} +1222 -1207
  12. package/dist/{index-DOPkM2W8.js → index-7nSly-MA.js} +6 -6
  13. package/dist/{index-BoGVJ0hC.js → index-BAK7UDvY.js} +1 -1
  14. package/dist/{index-BTLD5gUt.js → index-BX1Wd9x9.js} +3 -3
  15. package/dist/{index-BIJnjJd5.js → index-Bdu31aRV.js} +2 -2
  16. package/dist/{index-CFakyLYo.js → index-BmPqCnxn.js} +65 -56
  17. package/dist/{index-B_EBV24V.js → index-C83kfp3z.js} +1 -1
  18. package/dist/{index-Bd57t_yF.js → index-CEW8AmbW.js} +1 -1
  19. package/dist/{index-BEqPF6wm.js → index-CIfE-dmM.js} +2260 -2290
  20. package/dist/{index-ff3leJCK.js → index-CKDlK4Zz.js} +3 -3
  21. package/dist/{index-BG755_pa.js → index-CRR1GuYN.js} +1 -1
  22. package/dist/{index-CEmwgW65.js → index-CYvL_OAH.js} +1055 -1057
  23. package/dist/{index-DYgD6BuB.js → index-ClA0896K.js} +4 -4
  24. package/dist/{index-tDO0JBvI.js → index-D4tQ0KN9.js} +5 -5
  25. package/dist/{index-BjqYiZpC.js → index-DFY3lzq0.js} +3 -3
  26. package/dist/{index-7VAcVmtR.js → index-DyJp2kSb.js} +7 -7
  27. package/dist/index-a4cM-7bG.js +1433 -0
  28. package/dist/{index-x4-W5ClM.js → index-qK6pyAGy.js} +4 -4
  29. package/dist/index.js +1 -1
  30. package/dist/{instance-D951fRuD.js → instance-D5dhjbgg.js} +1 -1
  31. package/dist/pages.js +1 -1
  32. package/dist/{schedule-DIlnA1uC.js → schedule-Dstx5SE_.js} +35 -35
  33. package/dist/{send-default-agent-team-message-Bbs2rMNf.js → send-default-agent-team-message-C882sJLV.js} +1 -1
  34. package/dist/{sso-user-BEY5ICaR.js → sso-user-Bi9_l9yi.js} +1 -1
  35. package/dist/{training-B-9tNFQw.js → training-Ba09KItE.js} +1 -1
  36. package/dist/{useAppStore-BQN-26ns.js → useAppStore-ibJyVIAX.js} +1 -1
  37. package/dist/{webide-mvUPb2k9.js → webide-CTvdgMFE.js} +4 -4
  38. package/dist/z-team-component.css +1 -1
  39. package/package.json +1 -1
  40. package/dist/ChangeLogView-FLd1wS8H.js +0 -502
  41. package/dist/DebugPlayground-cxffrMgF.js +0 -15
  42. package/dist/SmartWorkbench.module-DzQskKT0.js +0 -85
  43. 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-BEY5ICaR.js";
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-19TXED_O.js";
11
- import { u as c } from "./useAppStore-BQN-26ns.js";
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-Bbs2rMNf.js";
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 { C as e, P as s, S as a, Z as r, i } from "./ComponentDoc-B2qJmtU6.js";
1
+ import { C as e, P as s, S as a, Z as r, i } from "./ComponentDoc-CTvxY3v4.js";
2
2
  import { h as m } from "./history-BlrA1eaW.js";
3
3
  export {
4
4
  e as ComponentDocPage,
@@ -1,4 +1,4 @@
1
- import { a as o, f as d, B as r, u as c } from "./api-19TXED_O.js";
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-B2qJmtU6.js";
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, r as f } from "./api-19TXED_O.js";
4
- const S = {
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
- O as E,
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
- I as h,
233
+ O as h,
234
234
  U as m,
235
235
  M as r,
236
236
  L as s,
@@ -1,4 +1,4 @@
1
- import { s as l } from "./api-19TXED_O.js";
1
+ import { s as l } from "./api-C78tCfne.js";
2
2
  function m(o) {
3
3
  const n = o.filter((t) => t.member_type === "AGENT");
4
4
  return n.find((t) => t.is_default === !0) ?? n[0] ?? null;
@@ -1,4 +1,4 @@
1
- import { t as l } from "./api-19TXED_O.js";
1
+ import { t as l } from "./api-C78tCfne.js";
2
2
  const d = "USER_INFO";
3
3
  function s() {
4
4
  try {
@@ -1,4 +1,4 @@
1
- import { a as g, f, B as y, u as m } from "./api-19TXED_O.js";
1
+ import { a as g, f, B as y, u as m } from "./api-C78tCfne.js";
2
2
  function t(n, a = "") {
3
3
  const i = new URLSearchParams();
4
4
  Object.entries(n).forEach(([u, o]) => {
@@ -1,5 +1,5 @@
1
1
  import { create as Ce } from "zustand";
2
- import { Q as je, w as M, i as C, x as ne, k as A, t as _, y as se, z as Pe, A as Ne, C as we, D as Ee, E as xe, F as Fe, G as ae, H as Re, I as Oe, J as B, K as Ue, L as He, n as ie, M as Le, N as $e, O as Ge, P as De, R as Ve, S as Be, U as qe, V as ze, W as Ke, X as We, Y as Je, Z as Ye, _ as Ze, $ as Qe, a0 as Xe, s as x, a1 as et, a2 as oe, a3 as tt, a4 as nt, a5 as rt, a6 as st, a7 as at, a8 as it, a9 as ot, aa as ct, c as lt, ab as ut, ac as dt, v as ft, ad as mt } from "./api-19TXED_O.js";
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, r as Xe, t as Re, i as it, k as be, c as Or, af as Ln, ab as Rr, ap as Mr, aq as Jn, ar as Er, as as va } from "./api-19TXED_O.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-Dv86pFvY.js";
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-BQN-26ns.js";
13
- import { s as Ia } from "./schedule-DIlnA1uC.js";
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";