@yuku123/z-team-component 0.2.104 → 0.2.106

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 (45) hide show
  1. package/dist/{ChangeLogView-DG-ogBff.js → ChangeLogView-Mn5LSUvJ.js} +1 -1
  2. package/dist/{ComponentDoc-BW1SyDxk.js → ComponentDoc-BKGd6D6u.js} +12 -12
  3. package/dist/{InvitationManagementPage-hYvoPEcm.js → InvitationManagementPage-DHORbfXF.js} +1 -1
  4. package/dist/{OnboardingPage-KDp-DrzY.js → OnboardingPage-ChIsu-TY.js} +2 -2
  5. package/dist/{ScheduledTasks-CErSDgyW.js → ScheduledTasks-CorjHXG-.js} +6 -6
  6. package/dist/{SystemShell-DvrY4Bl7.js → SystemShell-iAK8aCSW.js} +4 -4
  7. package/dist/{admin-logs-uPnnclwN.js → admin-logs-Ckzi7TeC.js} +5 -5
  8. package/dist/{api-B__qdRIf.js → api-BIwuQUnn.js} +1 -1
  9. package/dist/api-DWN5lt_h.js +101 -0
  10. package/dist/{createWorkspaceWsHandler-BXbn5-Ft.js → createWorkspaceWsHandler-CZ6H2AZV.js} +3 -3
  11. package/dist/{index-C9fGup9t.js → index--JKduFbf.js} +3 -3
  12. package/dist/{index-ByhCWenF.js → index-2iqK5Tkw.js} +102 -188
  13. package/dist/{index-2isWwv1X.js → index-715e6ItU.js} +9 -9
  14. package/dist/{index-0smeCTnr.js → index-BPSoaoFx.js} +1255 -1255
  15. package/dist/{index-aI2EXKED.js → index-BVhOg_hh.js} +26 -26
  16. package/dist/{index-DBnH-lRh.js → index-BWpXdOkG.js} +1 -1
  17. package/dist/{index-C2_tfpEj.js → index-BoL8kFkC.js} +2 -2
  18. package/dist/{index-CkWKJORv.js → index-C8ylej1n.js} +1 -1
  19. package/dist/{index-DAGa9v8r.js → index-CH56FdB5.js} +2 -2
  20. package/dist/{index-q_TPea69.js → index-CSagljyv.js} +15 -15
  21. package/dist/{index-BwJPAN8f.js → index-CxDonxJ5.js} +19 -19
  22. package/dist/{index-CsaGecGX.js → index-D1s4BGKe.js} +6 -6
  23. package/dist/{index-BOJm25by.js → index-D9uZ2Jjj.js} +1 -1
  24. package/dist/{index-BC8f-JP9.js → index-DBBmrczh.js} +3 -3
  25. package/dist/{index-YVtm1SRy.js → index-DFVMc2Wx.js} +28 -28
  26. package/dist/{index-BK3YDeXH.js → index-DG9KRcB7.js} +6 -6
  27. package/dist/{index-DtHoMz1H.js → index-DJl3h5Bg.js} +1 -1
  28. package/dist/{index-DcurzowX.js → index-DPzDdcFg.js} +4 -4
  29. package/dist/{index-DOgCfVB2.js → index-DTx26k4L.js} +2 -2
  30. package/dist/{index-D-xPVrY3.js → index-T_vi7gwn.js} +1 -1
  31. package/dist/{index-Cih0yoxc.js → index-VEeHoEbx.js} +5 -5
  32. package/dist/{index-DIFIvVWE.js → index-ioMD3Wyv.js} +2 -2
  33. package/dist/{index-BnJ8UEeZ.js → index-kAxFJq-Q.js} +3 -3
  34. package/dist/index-l4NMXF0T.js +354 -0
  35. package/dist/{index-Cb88Xdh4.js → index-vdWWTTZg.js} +3 -3
  36. package/dist/index.js +1 -1
  37. package/dist/{instance-pdQ_wAhB.js → instance-CUl18UjH.js} +5 -5
  38. package/dist/{menuPermission-CCQjJVXg.js → menuPermission-rZ0KSqFi.js} +11 -11
  39. package/dist/pages.js +1 -1
  40. package/dist/{send-default-agent-team-message-BzeR4ahf.js → send-default-agent-team-message-BEsgdoRU.js} +1 -1
  41. package/dist/{sso-user-DI7oiDdc.js → sso-user-BW1vguVf.js} +1 -1
  42. package/dist/{training-Bz7Sr5yC.js → training-Csa_y6lO.js} +1 -1
  43. package/dist/{webide-NcHLDiSn.js → webide-DBov-2vp.js} +3 -3
  44. package/dist/z-team-component.css +1 -1
  45. package/package.json +1 -1
@@ -1,18 +1,18 @@
1
1
  import { jsxs as d, jsx as t } from "react/jsx-runtime";
2
2
  import { r as D, f as le } from "./ctc-sso-DtJHC-2M.js";
3
- import { r as de, h as $, s as K } from "./sso-user-DI7oiDdc.js";
3
+ import { r as de, h as $, s as K } from "./sso-user-BW1vguVf.js";
4
4
  import { ArrowLeftOutlined as ue, PlusOutlined as pe, LogoutOutlined as me, SearchOutlined as he } from "@ant-design/icons";
5
5
  import { Spin as O, Button as q, Input as fe, Empty as Y, Tag as ge, message as be } from "antd";
6
6
  import Q from "query-string";
7
7
  import { useState as y, useRef as E, useEffect as w, useMemo as J, useCallback as B } from "react";
8
8
  import { useLocation as ke } from "react-router-dom";
9
9
  import { h as A } from "./history-BlrA1eaW.js";
10
- import { c as we, C as Se } from "./createWorkspaceWsHandler-BXbn5-Ft.js";
11
- import { d as i, Q as ye, U as ve, V as je, W as Ne, X as Te, Y as Ce, j as ee } from "./ComponentDoc-BW1SyDxk.js";
12
- import { l as Pe, j as xe } from "./instance-pdQ_wAhB.js";
10
+ import { c as we, C as Se } from "./createWorkspaceWsHandler-CZ6H2AZV.js";
11
+ import { u as i, Q as ye, U as ve, V as Ne, W as Te, X as je, Y as Ce, k as ee } from "./ComponentDoc-BKGd6D6u.js";
12
+ import { l as Pe, j as xe } from "./instance-CUl18UjH.js";
13
13
  import { i as _e, s as Ee } from "./mobile-client-O3yr9h6t.js";
14
14
  /* empty css */
15
- import { s as Ae } from "./admin-logs-uPnnclwN.js";
15
+ import { s as Ae } from "./admin-logs-Ckzi7TeC.js";
16
16
  const ae = 2e4;
17
17
  function Ie(o, s = ae, n = globalThis) {
18
18
  let c = null;
@@ -56,14 +56,14 @@ function Oe({
56
56
  timeoutMs: c = ae,
57
57
  className: r
58
58
  }) {
59
- const [N, h] = y(!1), g = E(n);
59
+ const [T, h] = y(!1), g = E(n);
60
60
  return g.current = n, w(() => {
61
61
  const m = Ie(
62
62
  () => h(!0),
63
63
  c
64
64
  );
65
65
  return m.start(), () => m.stop();
66
- }, [c]), N ? /* @__PURE__ */ d("div", { className: r, children: [
66
+ }, [c]), T ? /* @__PURE__ */ d("div", { className: r, children: [
67
67
  /* @__PURE__ */ t(O, { description: "" }),
68
68
  /* @__PURE__ */ t(
69
69
  Le,
@@ -93,7 +93,7 @@ function Re(o, s) {
93
93
  });
94
94
  ve(o, s, n), i.getState().loadRunningExecutions().catch(() => {
95
95
  });
96
- const r = i.getState(), { handler: N, dispose: h } = we({
96
+ const r = i.getState(), { handler: T, dispose: h } = we({
97
97
  projectId: o,
98
98
  token: s,
99
99
  updateExecution: r.updateExecution,
@@ -105,9 +105,9 @@ function Re(o, s) {
105
105
  deleteMessage: r.deleteMessage,
106
106
  updateMessageReadStatus: r.updateMessageReadStatus,
107
107
  loadFileTree: r.loadFileTree
108
- }), g = je(N);
108
+ }), g = Ne(T);
109
109
  return () => {
110
- g(), h(), Ne(), c(), i.getState().setObserverStatus(null);
110
+ g(), h(), Te(), c(), i.getState().setObserverStatus(null);
111
111
  };
112
112
  }, [o, s]);
113
113
  }
@@ -124,7 +124,7 @@ function te() {
124
124
  });
125
125
  }
126
126
  function Je() {
127
- const o = ke(), [s, n] = y("list"), [c, r] = y("chat"), [N, h] = y("team"), [g, m] = y(""), [f, V] = y(!1), [re, I] = y(!1), {
127
+ const o = ke(), [s, n] = y("list"), [c, r] = y("chat"), [T, h] = y("team"), [g, m] = y(""), [f, V] = y(!1), [re, I] = y(!1), {
128
128
  currentProject: v,
129
129
  currentUser: R,
130
130
  projects: L,
@@ -133,7 +133,7 @@ function Je() {
133
133
  token: oe,
134
134
  loadProjects: z,
135
135
  expandProject: H,
136
- updateCurrentUser: T,
136
+ updateCurrentUser: j,
137
137
  requestChatScrollBottom: S
138
138
  } = i(), k = J(() => {
139
139
  const e = Q.parse(o.search), a = String(e.projectId ?? e.project_id ?? "").trim();
@@ -160,20 +160,20 @@ function Je() {
160
160
  let e = !1, a = 0;
161
161
  const l = 100;
162
162
  let x = !1, F = 0;
163
- const M = 3, j = (b) => {
163
+ const M = 3, N = (b) => {
164
164
  const u = i.getState().token;
165
165
  if (X.current != null) {
166
- e || (T(K(b)), V(!0)), ee().then((G) => {
167
- e || T(G);
166
+ e || (j(K(b)), V(!0)), ee().then((G) => {
167
+ e || j(G);
168
168
  }).catch(() => {
169
169
  !e && u && (localStorage.removeItem("z_team_token"), i.setState({ token: "" }));
170
170
  });
171
171
  return;
172
172
  }
173
173
  ee().then((G) => {
174
- e || T(G);
174
+ e || j(G);
175
175
  }).catch(() => {
176
- e || (u && (localStorage.removeItem("z_team_token"), i.setState({ token: "" })), T(K(b)));
176
+ e || (u && (localStorage.removeItem("z_team_token"), i.setState({ token: "" })), j(K(b)));
177
177
  }).finally(() => {
178
178
  e || V(!0);
179
179
  });
@@ -196,7 +196,7 @@ function Je() {
196
196
  }
197
197
  }
198
198
  if (u && $(u)) {
199
- j(u);
199
+ N(u);
200
200
  return;
201
201
  }
202
202
  if (F >= M) {
@@ -215,7 +215,7 @@ function Je() {
215
215
  })(), () => {
216
216
  e = !0;
217
217
  };
218
- }, [T]), w(() => {
218
+ }, [j]), w(() => {
219
219
  R && z();
220
220
  }, [R, z]), w(() => {
221
221
  var l;
@@ -254,8 +254,8 @@ function Je() {
254
254
  let l = !1;
255
255
  C.current = !0, I(!0);
256
256
  const x = async () => {
257
- const j = Date.now() + 4e3;
258
- for (; Date.now() < j; ) {
257
+ const N = Date.now() + 4e3;
258
+ for (; Date.now() < N; ) {
259
259
  if (l)
260
260
  return;
261
261
  const _ = i.getState();
@@ -269,19 +269,19 @@ function Je() {
269
269
  if (await x(), l)
270
270
  return;
271
271
  let {
272
- token: j,
272
+ token: N,
273
273
  projects: _,
274
274
  expandProject: b
275
275
  } = i.getState(), u = _.find((p) => p.id === e);
276
276
  if (!u) {
277
- const p = await Pe(e, j);
277
+ const p = await Pe(e, N);
278
278
  if (l)
279
279
  return;
280
280
  if (p.status === "NOT_FOUND" || !p.scenarioInstance) {
281
281
  be.info("无此工程");
282
282
  return;
283
283
  }
284
- if (u = await xe(e, j), l)
284
+ if (u = await xe(e, N), l)
285
285
  return;
286
286
  }
287
287
  if (l || !u)
@@ -391,7 +391,7 @@ function Je() {
391
391
  className: "phone-workspace-empty"
392
392
  }
393
393
  ) : /* @__PURE__ */ t("ul", { className: "phone-project-list", children: Z.map((e) => {
394
- const a = Te(
394
+ const a = je(
395
395
  e.created_at
396
396
  );
397
397
  return /* @__PURE__ */ t("li", { children: /* @__PURE__ */ d(
@@ -462,7 +462,7 @@ function Je() {
462
462
  Se,
463
463
  {
464
464
  hideTabs: !0,
465
- activeTab: N,
465
+ activeTab: T,
466
466
  onActiveTabChange: (e) => (
467
467
  // @ts-expect-error phase1 宽松化:tab 类型比 chatTab="team" 宽,业务代码未启用 content 模式
468
468
  h(e)
@@ -2,7 +2,7 @@ import { jsxs as r, jsx as n, Fragment as H } from "react/jsx-runtime";
2
2
  import { BookOutlined as V, ReloadOutlined as Ne, SearchOutlined as fe, CloseOutlined as ge, CaretDownOutlined as ve, CaretRightOutlined as Te } from "@ant-design/icons";
3
3
  import { message as Se, Spin as F } from "antd";
4
4
  import { useState as k, useRef as M, useEffect as G, useCallback as C } from "react";
5
- import { a as A, B as R, u as E } from "./ComponentDoc-BW1SyDxk.js";
5
+ import { a as A, B as R, b as E } from "./ComponentDoc-BKGd6D6u.js";
6
6
  function B(a) {
7
7
  const l = new URLSearchParams();
8
8
  Object.entries(a).forEach(([N, s]) => {
@@ -3,8 +3,8 @@ import { useState as y, useMemo as d } from "react";
3
3
  import { useNavigate as G, useLocation as k } from "react-router-dom";
4
4
  import { CodeOutlined as L, DownOutlined as N, RightOutlined as O, AppstoreOutlined as v, TableOutlined as A, DatabaseOutlined as w, RobotOutlined as H, FunctionOutlined as M, ApartmentOutlined as W, EyeOutlined as C, BranchesOutlined as $, DeploymentUnitOutlined as p, SafetyCertificateOutlined as g } from "@ant-design/icons";
5
5
  import R from "@yuku123/z-lc-component";
6
- import { f as U, M as x } from "./menuPermission-CCQjJVXg.js";
7
- import { d as b } from "./ComponentDoc-BW1SyDxk.js";
6
+ import { f as U, M as x } from "./menuPermission-rZ0KSqFi.js";
7
+ import { u as b } from "./ComponentDoc-BKGd6D6u.js";
8
8
  const D = "_shell_1n5c7_7", E = "_sidebar_1n5c7_15", P = "_sidebarHeader_1n5c7_26", j = "_menuList_1n5c7_37", K = "_menuGroup_1n5c7_43", T = "_menuGroupHeader_1n5c7_47", B = "_menuGroupLabel_1n5c7_65", F = "_menuGroupArrow_1n5c7_69", q = "_menuSubList_1n5c7_74", z = "_menuSubItemWrap_1n5c7_80", J = "_menuSubItem_1n5c7_80", Q = "_menuSubItemActive_1n5c7_101", V = "_menuSubItemIcon_1n5c7_108", X = "_menuSubItemLabel_1n5c7_113", Y = "_main_1n5c7_118", t = {
9
9
  shell: D,
10
10
  sidebar: E,
@@ -2,7 +2,7 @@ import { jsxs as s, jsx as e } from "react/jsx-runtime";
2
2
  import { CopyOutlined as oe, ReloadOutlined as Te, PlusOutlined as Se, DeleteOutlined as Ue, ClearOutlined as Re, CloseOutlined as De, SendOutlined as He, RobotOutlined as we, CloudServerOutlined as ze, MessageOutlined as Fe, KeyOutlined as je, ApiOutlined as qe, ToolOutlined as Ge, BarChartOutlined as Je } from "@ant-design/icons";
3
3
  import { useState as N, useEffect as X, useCallback as j, useRef as ue, useMemo as Ae, Suspense as We, lazy as Qe } from "react";
4
4
  import { Tooltip as Y, Tabs as Be, Input as ke, Button as H, Modal as he, Drawer as xe, Spin as Z, Statistic as E, Table as Me, message as J, Tag as W, Select as Ve, Checkbox as Ye } from "antd";
5
- import { d as be } from "./ComponentDoc-BW1SyDxk.js";
5
+ import { u as be } from "./ComponentDoc-BKGd6D6u.js";
6
6
  import { AgentAppList as Xe, McpPage as Ze, SkillMarket as et } from "@yuku123/z-agent-component";
7
7
  const re = "ft_gateway_default_ak", Ie = "system-default", ee = "", ge = "";
8
8
  function te(a = {}) {
@@ -1,12 +1,12 @@
1
1
  import { jsx as c, jsxs as _ } from "react/jsx-runtime";
2
- import { c as $, d as j, t as x, p as O, e as v, g as F } from "./ComponentDoc-BW1SyDxk.js";
2
+ import { e as $, u as j, t as x, p as O, g as v, h as F } from "./ComponentDoc-BKGd6D6u.js";
3
3
  import { CheckCircleFilled as b } from "@ant-design/icons";
4
4
  import { Result as D, Button as R, Spin as U } from "antd";
5
5
  import B from "query-string";
6
6
  import { useMemo as y, useState as f, useRef as q, useCallback as A, useEffect as J } from "react";
7
7
  import { useLocation as W } from "react-router-dom";
8
8
  import { h as w } from "./history-BlrA1eaW.js";
9
- import { l as Z, j as z, f as H, b as L, p as M } from "./instance-pdQ_wAhB.js";
9
+ import { l as Z, j as z, f as H, b as L, p as M } from "./instance-CUl18UjH.js";
10
10
  import { b as N } from "./mobile-client-O3yr9h6t.js";
11
11
  function nt() {
12
12
  const m = W(), p = B.parse(m.search), o = String(
@@ -1,21 +1,21 @@
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-DI7oiDdc.js";
3
+ import { r as ne, h as X, s as oe } from "./sso-user-BW1vguVf.js";
4
4
  import { CheckCircleFilled as le, QuestionCircleOutlined as ce, CloseOutlined as me } from "@ant-design/icons";
5
- import { message as k, Result as de, Button as D, Spin as G, Input as ue, Image as fe } from "antd";
5
+ import { message as P, 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 { d as c, o as he, h as be, j as _e } from "./ComponentDoc-BW1SyDxk.js";
10
+ import { u as c, o as he, j as be, k as _e } from "./ComponentDoc-BKGd6D6u.js";
11
11
  /* empty css */
12
12
  import { b as ye } from "./mobile-client-O3yr9h6t.js";
13
- import { a as ve, s as we } from "./send-default-agent-team-message-BzeR4ahf.js";
13
+ import { a as ve, s as we } from "./send-default-agent-team-message-BEsgdoRU.js";
14
14
  const Ne = 5e3, E = 9, Ce = 10 * 1024 * 1024, Se = /^image\//i, Ie = /\.(png|jpe?g|gif|bmp|webp)$/i;
15
- function Pe(a) {
15
+ function ke(a) {
16
16
  return a.type && Se.test(a.type) ? !0 : Ie.test(a.name || "");
17
17
  }
18
- function ke(a) {
18
+ function Pe(a) {
19
19
  var o;
20
20
  if (!((o = a == null ? void 0 : a.items) != null && o.length))
21
21
  return [];
@@ -46,7 +46,7 @@ const J = 30;
46
46
  function Xe() {
47
47
  const a = ge(), m = pe.parse(a.search), o = String(
48
48
  m.scenarioCode ?? m.scenario_code ?? ""
49
- ).trim(), p = c((e) => e.expandProject), d = c((e) => e.updateCurrentUser), [N, H] = f(!1), [_, Z] = f(""), [y, U] = f([]), [M, R] = f("form"), [j, T] = f(""), [A, g] = f("正在登录…"), [B, F] = f([]), P = Y(!1), x = Y(y);
49
+ ).trim(), p = c((e) => e.expandProject), d = c((e) => e.updateCurrentUser), [N, H] = f(!1), [_, Z] = f(""), [y, U] = f([]), [M, R] = f("form"), [j, T] = f(""), [A, g] = f("正在登录…"), [B, F] = f([]), k = Y(!1), x = Y(y);
50
50
  x.current = y;
51
51
  const C = K(() => o ? "" : "缺少参数 scenarioCode", [o]), S = w((e, r) => {
52
52
  F((n) => [...n, e]), g(r);
@@ -107,9 +107,9 @@ function Xe() {
107
107
  }, [C, d]);
108
108
  const te = w(
109
109
  async (e, r) => {
110
- if (P.current)
110
+ if (k.current)
111
111
  return;
112
- P.current = !0, R("loading"), F([]), g("正在按场景创建工程…");
112
+ k.current = !0, R("loading"), F([]), g("正在按场景创建工程…");
113
113
  const n = e.slice(0, J), i = c.getState().token;
114
114
  try {
115
115
  let s = [];
@@ -142,7 +142,7 @@ function Xe() {
142
142
  })
143
143
  );
144
144
  } catch (s) {
145
- P.current = !1, R("form");
145
+ k.current = !1, R("form");
146
146
  const v = s instanceof Error ? s.message : String(s);
147
147
  T(v || "创建工程失败");
148
148
  }
@@ -152,15 +152,15 @@ function Xe() {
152
152
  e.length && U((r) => {
153
153
  const n = E - r.length;
154
154
  if (n <= 0)
155
- return k.warning(`最多粘贴 ${E} 张图片`), r;
155
+ return P.warning(`最多粘贴 ${E} 张图片`), r;
156
156
  const i = [...r];
157
157
  for (const s of e.slice(0, n)) {
158
- if (!Pe(s)) {
159
- k.warning("仅支持粘贴图片");
158
+ if (!ke(s)) {
159
+ P.warning("仅支持粘贴图片");
160
160
  continue;
161
161
  }
162
162
  if (s.size > Ce) {
163
- k.warning("单张图片不能超过 10MB");
163
+ P.warning("单张图片不能超过 10MB");
164
164
  continue;
165
165
  }
166
166
  i.push(Ee(s));
@@ -178,7 +178,7 @@ function Xe() {
178
178
  }, []);
179
179
  const ae = w(
180
180
  (e) => {
181
- const r = ke(e.clipboardData);
181
+ const r = Pe(e.clipboardData);
182
182
  r.length > 0 && (e.preventDefault(), L(r));
183
183
  },
184
184
  [L]
@@ -1,10 +1,10 @@
1
- import { jsxs as o, jsx as t } from "react/jsx-runtime";
1
+ import { jsxs as u, jsx as t } from "react/jsx-runtime";
2
2
  import { useState as L, useMemo as p } from "react";
3
3
  import { useNavigate as v, useLocation as A } from "react-router-dom";
4
4
  import { DownOutlined as k, RightOutlined as w } from "@ant-design/icons";
5
- import { P as W, R as $ } from "./index-DIFIvVWE.js";
6
- import { f as E, M as g } from "./menuPermission-CCQjJVXg.js";
7
- import { d as j } from "./ComponentDoc-BW1SyDxk.js";
5
+ import { P as W, R as $ } from "./index-ioMD3Wyv.js";
6
+ import { f as E, M as g } from "./menuPermission-rZ0KSqFi.js";
7
+ import { u as j } from "./ComponentDoc-BKGd6D6u.js";
8
8
  const H = "_shell_1jjcx_7", M = "_sidebar_1jjcx_15", R = "_menuList_1jjcx_37", T = "_menuGroup_1jjcx_43", C = "_menuGroupHeader_1jjcx_47", P = "_menuGroupIcon_1jjcx_65", z = "_menuGroupLabel_1jjcx_70", K = "_menuGroupArrow_1jjcx_74", U = "_menuSubList_1jjcx_80", Z = "_menuSubItem_1jjcx_86", B = "_menuSubItemActive_1jjcx_103", D = "_menuSubItemIcon_1jjcx_110", O = "_menuSubItemLabel_1jjcx_115", q = "_menuSubItemWrap_1jjcx_119", F = "_main_1jjcx_123", J = "_empty_1jjcx_134", Q = "_emptyIcon_1jjcx_144", V = "_emptyText_1jjcx_149", n = {
9
9
  shell: H,
10
10
  sidebar: M,
@@ -36,12 +36,12 @@ function X(m, r) {
36
36
  return null;
37
37
  }
38
38
  function Y({ text: m }) {
39
- return /* @__PURE__ */ o("div", { className: n.empty, children: [
39
+ return /* @__PURE__ */ u("div", { className: n.empty, children: [
40
40
  /* @__PURE__ */ t("div", { className: n.emptyIcon, children: "⚙️" }),
41
41
  /* @__PURE__ */ t("div", { className: n.emptyText, children: m })
42
42
  ] });
43
43
  }
44
- function ue({
44
+ function oe({
45
45
  groups: m,
46
46
  routes: r,
47
47
  mode: s,
@@ -56,25 +56,25 @@ function ue({
56
56
  [m, d, b]
57
57
  ), f = p(() => {
58
58
  const e = _ ?? a;
59
- for (const u of l)
60
- for (const c of u.items)
59
+ for (const o of l)
60
+ for (const c of o.items)
61
61
  if (c.path === e) return c.key;
62
62
  return null;
63
63
  }, [l, _, a]), G = (e) => {
64
- S((u) => {
65
- const c = new Set(u);
64
+ S((o) => {
65
+ const c = new Set(o);
66
66
  return c.has(e) ? c.delete(e) : c.add(e), c;
67
67
  });
68
68
  }, y = (e) => {
69
69
  I(`${e.path}?mode=${s}`);
70
70
  }, N = p(() => X(r, a), [r, a]);
71
- return /* @__PURE__ */ o("div", { className: n.shell, children: [
72
- /* @__PURE__ */ o("aside", { className: n.sidebar, children: [
71
+ return /* @__PURE__ */ u("div", { className: n.shell, children: [
72
+ /* @__PURE__ */ u("aside", { className: n.sidebar, children: [
73
73
  /* @__PURE__ */ t(g, {}),
74
74
  /* @__PURE__ */ t("nav", { className: n.menuList, children: l.map((e) => {
75
- const u = x.has(e.title);
76
- return /* @__PURE__ */ o("div", { className: n.menuGroup, children: [
77
- /* @__PURE__ */ o(
75
+ const o = x.has(e.title);
76
+ return /* @__PURE__ */ u("div", { className: n.menuGroup, children: [
77
+ /* @__PURE__ */ u(
78
78
  "div",
79
79
  {
80
80
  className: n.menuGroupHeader,
@@ -82,11 +82,11 @@ function ue({
82
82
  children: [
83
83
  /* @__PURE__ */ t("span", { className: n.menuGroupIcon, children: e.icon }),
84
84
  /* @__PURE__ */ t("span", { className: n.menuGroupLabel, children: e.title }),
85
- /* @__PURE__ */ t("span", { className: n.menuGroupArrow, children: u ? /* @__PURE__ */ t(k, {}) : /* @__PURE__ */ t(w, {}) })
85
+ /* @__PURE__ */ t("span", { className: n.menuGroupArrow, children: o ? /* @__PURE__ */ t(k, {}) : /* @__PURE__ */ t(w, {}) })
86
86
  ]
87
87
  }
88
88
  ),
89
- u && /* @__PURE__ */ t("ul", { className: n.menuSubList, children: e.items.map((c) => /* @__PURE__ */ o(
89
+ o && /* @__PURE__ */ t("ul", { className: n.menuSubList, children: e.items.map((c) => /* @__PURE__ */ u(
90
90
  "li",
91
91
  {
92
92
  className: `${n.menuSubItemWrap} ${n.menuSubItem} ${f === c.key ? n.menuSubItemActive : ""}`,
@@ -101,12 +101,12 @@ function ue({
101
101
  ] }, e.title);
102
102
  }) })
103
103
  ] }),
104
- h ? null : /* @__PURE__ */ o("main", { className: n.main, children: [
104
+ h ? null : /* @__PURE__ */ u("main", { className: n.main, children: [
105
105
  /* @__PURE__ */ t(W, {}),
106
106
  /* @__PURE__ */ t($, { resetKey: a, children: N ?? /* @__PURE__ */ t(Y, { text: i }) })
107
107
  ] })
108
108
  ] });
109
109
  }
110
110
  export {
111
- ue as W
111
+ oe as W
112
112
  };
@@ -1,13 +1,13 @@
1
1
  import { jsx as s, jsxs as C } from "react/jsx-runtime";
2
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-DI7oiDdc.js";
3
+ import { r as L, h as N, s as T } from "./sso-user-BW1vguVf.js";
4
4
  import { CheckCircleFilled as q } from "@ant-design/icons";
5
5
  import { Spin as R } from "antd";
6
6
  import W from "query-string";
7
7
  import { useMemo as P, useState as p, useCallback as A, useEffect as U } from "react";
8
8
  import { useLocation as F } from "react-router-dom";
9
9
  import { h as H } from "./history-BlrA1eaW.js";
10
- import { d as m, e as Y, j as B } from "./ComponentDoc-BW1SyDxk.js";
10
+ import { u as m, g as Y, k as B } from "./ComponentDoc-BKGd6D6u.js";
11
11
  /* empty css */
12
12
  import { b as G } from "./mobile-client-O3yr9h6t.js";
13
13
  function oe() {
@@ -17,7 +17,7 @@ function oe() {
17
17
  ), _ = P(
18
18
  () => String(g.source ?? "z-team-webide").trim(),
19
19
  [i.search]
20
- ), [b, E] = p(!1), [I, y] = p("正在登录…"), [w, M] = p([]), [j, x] = p(""), { currentUser: d, updateCurrentUser: u, expandProject: $ } = m(), f = A((e, o) => {
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
21
  M((a) => [...a, e]), y(o);
22
22
  }, []);
23
23
  return U(() => {
@@ -73,11 +73,11 @@ function oe() {
73
73
  try {
74
74
  const a = m.getState(), r = /* @__PURE__ */ new Date(), n = (c) => String(c).padStart(2, "0"), h = `${r.getFullYear()}-${n(r.getMonth() + 1)}-${n(
75
75
  r.getDate()
76
- )} ${n(r.getHours())}:${n(r.getMinutes())}`, k = `${S} - ${d.display_name || d.username} - ${h}`;
76
+ )} ${n(r.getHours())}:${n(r.getMinutes())}`, j = `${S} - ${d.display_name || d.username} - ${h}`;
77
77
  y("正在创建咨询群组…");
78
78
  const l = await Y(
79
79
  {
80
- name: k,
80
+ name: j,
81
81
  description: `${_} 发起的在线咨询`,
82
82
  workspace_path: `webide_consult_${Date.now()}`,
83
83
  scenario_code: "z_team_webide_console_scenario"
@@ -111,7 +111,7 @@ function oe() {
111
111
  $,
112
112
  f,
113
113
  i.search
114
- ]), j ? /* @__PURE__ */ s("div", { className: "embed-chat-page embed-chat-page--error", children: /* @__PURE__ */ s("p", { children: j }) }) : /* @__PURE__ */ s("div", { className: "embed-chat-page embed-chat-page--loading", children: /* @__PURE__ */ C("div", { className: "embed-chat-page__panel", children: [
114
+ ]), 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
115
  /* @__PURE__ */ s(R, { size: "large" }),
116
116
  /* @__PURE__ */ s("p", { className: "embed-chat-page__step", children: I }),
117
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(
@@ -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-DG-ogBff.js";
4
+ import { C as A } from "./ChangeLogView-Mn5LSUvJ.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,
@@ -2,9 +2,9 @@ import { jsx as e, jsxs as n } from "react/jsx-runtime";
2
2
  import { Navigate as i, useLocation as b } from "react-router-dom";
3
3
  import { Alert as u } from "antd";
4
4
  import { DashboardOutlined as v, ClusterOutlined as r, ContainerOutlined as y, CloudServerOutlined as l, BranchesOutlined as O, RocketOutlined as g, AlertOutlined as k, FileTextOutlined as S, DatabaseOutlined as c, CloudOutlined as f, DeploymentUnitOutlined as z } from "@ant-design/icons";
5
- import { W as P } from "./index-BwJPAN8f.js";
6
- import { M as D } from "./ComponentDoc-BW1SyDxk.js";
7
- import "./index-2isWwv1X.js";
5
+ import { W as P } from "./index-CxDonxJ5.js";
6
+ import { M as D } from "./ComponentDoc-BKGd6D6u.js";
7
+ import "./index-715e6ItU.js";
8
8
  const a = "K8s 管理面的数据源在**独立运维平台 z-ops**:/z-team/ops/k8s/** 由 z-ops 仓的 z-ops-web 提供(K8sController 注册 /z-team/ops/k8s,HpaController 注册 /z-team/ops/k8s/hpa)。**z-opc 主壳不承载它**:主壳制品 BOOT-INF/lib 里 0 个 z-ops-*,主壳 nginx 路由总表里也没有^/z-team/ops 这条反代规则 ⇒ 实测 GET /z-team/ops/k8s/nodes 得到的是 SPA 兜底页(HTTP 200 + text/html + 451B,与必假路径逐字节相同),不是后端 JSON。该页面的真实入口在 z-ops 独立平台(集群内端口 8886,其前端路由 /ops/k8s)。", E = [
9
9
  {
10
10
  title: "DevOps 运维",