@yuku123/z-team-component 0.2.140 → 0.2.142

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 (57) hide show
  1. package/dist/{AdminModuleContent-DDB35gOh.js → AdminModuleContent-DIntalEE.js} +10526 -10697
  2. package/dist/{ChangeLogView-AKOZ6Ski.js → ChangeLogView-BG0idpcI.js} +1 -1
  3. package/dist/{ComponentDoc-SiXXhka1.js → ComponentDoc-DmA8kQED.js} +1318 -1313
  4. package/dist/{InvitationManagementPage-CRbABOKe.js → InvitationManagementPage-BmvQrlzu.js} +1 -1
  5. package/dist/{OnboardingPage-BNJopRYO.js → OnboardingPage-BNqu7ED-.js} +2 -2
  6. package/dist/ScheduledTasks-BpLYITou.js +12005 -0
  7. package/dist/SystemShell-CHJGJAor.js +859 -0
  8. package/dist/{admin-logs-B3IxooG2.js → admin-logs-CGbHioxz.js} +5 -5
  9. package/dist/{api-DmBlT5MH.js → api-CVAq8S_3.js} +1 -1
  10. package/dist/{api-DW8nsucC.js → api-DTQ6gite.js} +1 -1
  11. package/dist/createWorkspaceWsHandler-eEZssgTR.js +11757 -0
  12. package/dist/{ctc-sso-DtJHC-2M.js → ctc-sso-Hj8fdMY0.js} +8 -6
  13. package/dist/{index-VmRWH4U5.js → index-1hUJPdXC.js} +9 -9
  14. package/dist/{index-C24QsGsG.js → index-B02tvvRk.js} +1 -1
  15. package/dist/{index-BSqUODiN.js → index-BLDm7Ltq.js} +30 -31
  16. package/dist/index-BXas8GPY.js +1840 -0
  17. package/dist/{index-CvHMXrAD.js → index-BiKw2Cl_.js} +1 -1
  18. package/dist/index-BlDMnzJF.js +18 -0
  19. package/dist/{index-BBLRGBWu.js → index-BmlFIrWx.js} +1 -1
  20. package/dist/{index-Du95tdVf.js → index-BruNw5wQ.js} +29 -30
  21. package/dist/{index-BV64kKse.js → index-ByWmrjar.js} +2 -2
  22. package/dist/{index-DCAO83Wb.js → index-C6TJo_6f.js} +1325 -1187
  23. package/dist/{index-DDOfdrn4.js → index-CSuF7xTK.js} +3954 -3985
  24. package/dist/index-CkFZb89W.js +1298 -0
  25. package/dist/{index-C1nr0UeB.js → index-ClaU3cVV.js} +20 -21
  26. package/dist/{index-C7DSDopw.js → index-CnHG8LvQ.js} +26 -27
  27. package/dist/{index-CXjen4Gx.js → index-CwohTaZ3.js} +342 -389
  28. package/dist/{index-CJ7dJejJ.js → index-D2qy0vH-.js} +17 -17
  29. package/dist/{index-DHrMSEVJ.js → index-D6jssKSM.js} +1 -1
  30. package/dist/{index-l9KH8r7F.js → index-DCbdksxa.js} +780 -792
  31. package/dist/{index-D-G4mbxH.js → index-DNofgrle.js} +2 -2
  32. package/dist/{index-D7thpI99.js → index-DUEGauT8.js} +1 -1
  33. package/dist/index-DnA9mLM4.js +136 -0
  34. package/dist/{index-CEoS_jEa.js → index-DoQpFpjM.js} +6 -6
  35. package/dist/{index-DjbLq5lI.js → index-G4_ZNL1t.js} +2 -2
  36. package/dist/{index-DULYXalY.js → index-WYKbD2Kc.js} +9 -9
  37. package/dist/{index-D440bEgm.js → index-ZTJ7n_J_.js} +199 -193
  38. package/dist/{index-Hv2KDG7i.js → index-iFIFnLjk.js} +3 -3
  39. package/dist/index.js +1 -1
  40. package/dist/instance-Ce0ksjOY.js +116 -0
  41. package/dist/{menuPermission-DxknHmt8.js → menuPermission-CXN-JDku.js} +3 -3
  42. package/dist/pages.js +1 -1
  43. package/dist/{send-default-agent-team-message-DYytBtLc.js → send-default-agent-team-message-Caz3lGg6.js} +1 -1
  44. package/dist/{training-CKYPSkUP.js → training-ry7fCVV4.js} +1 -1
  45. package/dist/{webide-JAalC_Wr.js → webide-DyvaibPK.js} +1161 -1317
  46. package/dist/z-team-component.css +1 -1
  47. package/package.json +5 -5
  48. package/dist/ScheduledTasks-Cn_CEZ-B.js +0 -12006
  49. package/dist/SystemShell-B8Tyluzu.js +0 -893
  50. package/dist/SystemWorkbench.module-DpLM0zgA.js +0 -36
  51. package/dist/createWorkspaceWsHandler-5MHgQGfJ.js +0 -12902
  52. package/dist/index-BT4oQJby.js +0 -228
  53. package/dist/index-DrDFy5jN.js +0 -139
  54. package/dist/index-DvslXAjT.js +0 -1323
  55. package/dist/index-NIu3OKHi.js +0 -1868
  56. package/dist/instance-B4SrJ-BY.js +0 -186
  57. package/dist/sso-user-DN6kSAc0.js +0 -43
@@ -1,7 +1,7 @@
1
1
  import { jsxs as n, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as N, useRef as _, useEffect as r, useCallback as h } from "react";
3
3
  import { h as o } from "./history-BlrA1eaW.js";
4
- import { C as A } from "./ChangeLogView-AKOZ6Ski.js";
4
+ import { C as A } from "./ChangeLogView-BG0idpcI.js";
5
5
  const T = "_docs_3auja_12", p = "_bgLayer_3auja_59", v = "_bgGrid_3auja_70", y = "_navbar_3auja_87", f = "_navLeft_3auja_103", z = "_navBack_3auja_110", j = "_navBrand_3auja_132", C = "_navLogo_3auja_139", k = "_navTitle_3auja_154", L = "_navLink_3auja_164", I = "_layout_3auja_191", B = "_sidebar_3auja_202", S = "_sidebarInner_3auja_213", O = "_sidebarTitle_3auja_217", q = "_tocItem_3auja_227", P = "_tocActive_3auja_249", E = "_tocNum_3auja_260", D = "_content_3auja_275", G = "_section_3auja_285", K = "_secTitle_3auja_290", w = "_subTitle_3auja_301", M = "_lead_3auja_309", x = "_list_3auja_329", R = "_olist_3auja_360", Z = "_archLayer_3auja_397", F = "_archHead_3auja_412", W = "_archNum_3auja_420", H = "_archHeadText_3auja_432", Q = "_archLabel_3auja_439", U = "_archEn_3auja_446", V = "_archTagline_3auja_453", $ = "_callout_3auja_487", J = "_calloutBlue_3auja_488", Y = "_calloutGreen_3auja_489", X = "_calloutRed_3auja_490", ee = "_inlineCode_3auja_531", le = "_codeBlock_3auja_544", ne = "_tableWrap_3auja_560", ce = "_table_3auja_560", ae = "_tableKey_3auja_602", ie = "_tableIcon_3auja_607", te = "_statusDot_3auja_613", se = "_tone_pending_3auja_622", de = "_tone_running_3auja_626", re = "_tone_suspended_3auja_631", he = "_tone_done_3auja_636", oe = "_tone_failed_3auja_641", me = "_tone_cancelled_3auja_646", ge = "_markGood_3auja_652", ue = "_markBad_3auja_653", be = "_faqList_3auja_667", Ne = "_faqItem_3auja_673", _e = "_faqQ_3auja_687", Ae = "_faqA_3auja_694", Te = "_changelogEmbed_3auja_701", pe = "_changelogTip_3auja_709", ve = "_changelogLink_3auja_715", ye = "_docFooter_3auja_727", fe = "_backBtn_3auja_738", ze = "_docFooterText_3auja_761", l = {
6
6
  docs: T,
7
7
  bgLayer: p,
@@ -0,0 +1,18 @@
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ const l = "_shell_jc602_6", r = "_frame_jc602_15", s = {
3
+ shell: l,
4
+ frame: r
5
+ };
6
+ function c() {
7
+ return /* @__PURE__ */ e("div", { className: s.shell, children: /* @__PURE__ */ e(
8
+ "iframe",
9
+ {
10
+ src: "/cognition/",
11
+ title: "知识中台",
12
+ className: s.frame
13
+ }
14
+ ) });
15
+ }
16
+ export {
17
+ c as default
18
+ };
@@ -365,7 +365,7 @@ const J = "_welcome_1pluv_11", K = "_bgWash_1pluv_57", U = "_bgGrid_1pluv_68", j
365
365
  {
366
366
  icon: "network",
367
367
  title: "星型多 Agent 协作",
368
- desc: "TeamAgent 主控拆解需求,群内 @子 Agent 即可联合多方 Agent,无需显式调用与编排。",
368
+ desc: "群聊即专家团:每位成员都是真实干活的员工,一件事一人闭环;聊着聊着缺人时系统直接拉入真正的专家。",
369
369
  tag: "TeamAgent"
370
370
  },
371
371
  {
@@ -1,49 +1,48 @@
1
1
  import { jsx as s, jsxs as C } from "react/jsx-runtime";
2
- import { f as z, r as v } from "./ctc-sso-DtJHC-2M.js";
3
- import { r as L, h as N, s as T } from "./sso-user-DN6kSAc0.js";
4
- import { CheckCircleFilled as q } from "@ant-design/icons";
5
- import { Spin as R } from "antd";
6
- import W from "query-string";
7
- import { useMemo as P, useState as p, useCallback as A, useEffect as U } from "react";
8
- import { useLocation as F } from "react-router-dom";
9
- import { h as H } from "./history-BlrA1eaW.js";
10
- import { u as m, g as Y, k as B } from "./ComponentDoc-SiXXhka1.js";
2
+ import { f as z, r as v } from "./ctc-sso-Hj8fdMY0.js";
3
+ import { u as m, g as L, r as T, k as N, l as q, m as R } from "./ComponentDoc-DmA8kQED.js";
4
+ import { CheckCircleFilled as W } from "@ant-design/icons";
5
+ import { Spin as A } from "antd";
6
+ import F from "query-string";
7
+ import { useMemo as P, useState as p, useCallback as H, useEffect as U } from "react";
8
+ import { useLocation as Y } from "react-router-dom";
9
+ import { h as B } from "./history-BlrA1eaW.js";
11
10
  /* empty css */
12
11
  import { b as G } from "./mobile-client-O3yr9h6t.js";
13
- function oe() {
14
- const i = F(), g = W.parse(i.search), S = P(
12
+ function se() {
13
+ const i = Y(), g = F.parse(i.search), S = P(
15
14
  () => String(g.name ?? "WebIDE 在线咨询").trim(),
16
15
  [i.search]
17
16
  ), _ = P(
18
17
  () => String(g.source ?? "z-team-webide").trim(),
19
18
  [i.search]
20
- ), [b, E] = p(!1), [I, y] = p("正在登录…"), [w, M] = p([]), [k, x] = p(""), { currentUser: d, updateCurrentUser: u, expandProject: $ } = m(), f = A((e, o) => {
21
- M((a) => [...a, e]), y(o);
19
+ ), [b, E] = p(!1), [I, y] = p("正在登录…"), [w, M] = p([]), [k, x] = p(""), { currentUser: d, updateCurrentUser: u, expandProject: $ } = m(), f = H((e, n) => {
20
+ M((a) => [...a, e]), y(n);
22
21
  }, []);
23
22
  return U(() => {
24
- let e = !1, o = 0;
23
+ let e = !1, n = 0;
25
24
  const a = 100;
26
- let r = !1, n = 0;
25
+ let r = !1, o = 0;
27
26
  const h = 3;
28
27
  return (() => {
29
28
  if (e) return;
30
29
  const l = async () => {
31
30
  if (e) return;
32
- let t = L();
31
+ let t = T();
33
32
  if ((!t || !N(t)) && !r) {
34
33
  r = !0;
35
34
  try {
36
35
  const c = await z();
37
- c.kind === "authenticated" ? t = c.user : c.kind === "unauthenticated" && (n += 1);
36
+ c.kind === "authenticated" ? t = c.user : c.kind === "unauthenticated" && (o += 1);
38
37
  } catch {
39
38
  } finally {
40
39
  r = !1;
41
40
  }
42
41
  }
43
42
  if (t && N(t)) {
44
- u(T(t));
43
+ u(q(t));
45
44
  const c = m.getState().token;
46
- B().then((D) => {
45
+ R().then((D) => {
47
46
  e || u(D);
48
47
  }).catch(() => {
49
48
  !e && c && (localStorage.removeItem("z_team_token"), m.setState({ token: "" }));
@@ -52,11 +51,11 @@ function oe() {
52
51
  });
53
52
  return;
54
53
  }
55
- if (n >= h) {
54
+ if (o >= h) {
56
55
  v();
57
56
  return;
58
57
  }
59
- if (o += 1, o >= a) {
58
+ if (n += 1, n >= a) {
60
59
  v();
61
60
  return;
62
61
  }
@@ -71,11 +70,11 @@ function oe() {
71
70
  let e = !1;
72
71
  return (async () => {
73
72
  try {
74
- const a = m.getState(), r = /* @__PURE__ */ new Date(), n = (c) => String(c).padStart(2, "0"), h = `${r.getFullYear()}-${n(r.getMonth() + 1)}-${n(
73
+ const a = m.getState(), r = /* @__PURE__ */ new Date(), o = (c) => String(c).padStart(2, "0"), h = `${r.getFullYear()}-${o(r.getMonth() + 1)}-${o(
75
74
  r.getDate()
76
- )} ${n(r.getHours())}:${n(r.getMinutes())}`, j = `${S} - ${d.display_name || d.username} - ${h}`;
75
+ )} ${o(r.getHours())}:${o(r.getMinutes())}`, j = `${S} - ${d.display_name || d.username} - ${h}`;
77
76
  y("正在创建咨询群组…");
78
- const l = await Y(
77
+ const l = await L(
79
78
  {
80
79
  name: j,
81
80
  description: `${_} 发起的在线咨询`,
@@ -91,7 +90,7 @@ function oe() {
91
90
  t.projectSwitchSeq,
92
91
  !1
93
92
  ), e) return;
94
- f("工作区已就绪", "即将进入工作台…"), H.replace(
93
+ f("工作区已就绪", "即将进入工作台…"), B.replace(
95
94
  G({
96
95
  projectId: l.id,
97
96
  search: i.search
@@ -112,21 +111,21 @@ function oe() {
112
111
  f,
113
112
  i.search
114
113
  ]), k ? /* @__PURE__ */ s("div", { className: "embed-chat-page embed-chat-page--error", children: /* @__PURE__ */ s("p", { children: k }) }) : /* @__PURE__ */ s("div", { className: "embed-chat-page embed-chat-page--loading", children: /* @__PURE__ */ C("div", { className: "embed-chat-page__panel", children: [
115
- /* @__PURE__ */ s(R, { size: "large" }),
114
+ /* @__PURE__ */ s(A, { size: "large" }),
116
115
  /* @__PURE__ */ s("p", { className: "embed-chat-page__step", children: I }),
117
- w.length > 0 ? /* @__PURE__ */ s("ul", { className: "embed-chat-page__done-list", children: w.filter((e) => e.trim().length > 0).map((e, o) => /* @__PURE__ */ C(
116
+ w.length > 0 ? /* @__PURE__ */ s("ul", { className: "embed-chat-page__done-list", children: w.filter((e) => e.trim().length > 0).map((e, n) => /* @__PURE__ */ C(
118
117
  "li",
119
118
  {
120
119
  className: "embed-chat-page__done-item",
121
120
  children: [
122
- /* @__PURE__ */ s(q, { className: "embed-chat-page__done-icon" }),
121
+ /* @__PURE__ */ s(W, { className: "embed-chat-page__done-icon" }),
123
122
  /* @__PURE__ */ s("span", { children: e })
124
123
  ]
125
124
  },
126
- `${o}-${e}`
125
+ `${n}-${e}`
127
126
  )) }) : null
128
127
  ] }) });
129
128
  }
130
129
  export {
131
- oe as default
130
+ se as default
132
131
  };
@@ -1,12 +1,12 @@
1
1
  import { jsxs as i, jsx as e, Fragment as le } from "react/jsx-runtime";
2
2
  import { useState as u, useEffect as re, useCallback as O } from "react";
3
- import { a as U, f as $, B, b as D, u as F } from "./ComponentDoc-SiXXhka1.js";
3
+ import { a as U, f as $, B, b as D, u as F } from "./ComponentDoc-DmA8kQED.js";
4
4
  import { SearchOutlined as Ce, ReloadOutlined as Se, PlusOutlined as Te, FileZipOutlined as Z, CloudDownloadOutlined as Y, EditOutlined as he, UserSwitchOutlined as be, ArrowLeftOutlined as fe, UserOutlined as Ue, CloudUploadOutlined as $e, PictureOutlined as de, EyeOutlined as Be } from "@ant-design/icons";
5
5
  import { message as b, Input as H, Tooltip as se, Button as g, Spin as ce, Empty as De, Popconfirm as pe, Tag as ie, Modal as Re, Select as Pe, Upload as me, Tabs as Le } from "antd";
6
6
  import ve from "react-markdown";
7
7
  import _e from "rehype-highlight";
8
8
  import ge from "remark-gfm";
9
- import { M as na } from "./index-DCAO83Wb.js";
9
+ import { M as na } from "./index-C6TJo_6f.js";
10
10
  function j(a) {
11
11
  return a ? `?token=${encodeURIComponent(a)}` : "";
12
12
  }