@yuku123/z-team-component 0.2.134 → 0.2.135

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 (47) hide show
  1. package/dist/{AdminModuleContent-DjEqlai_.js → AdminModuleContent-DHCn4OpR.js} +5 -5
  2. package/dist/{ChangeLogView-BQCxD0g7.js → ChangeLogView-Cc5cYmcz.js} +1 -1
  3. package/dist/{ComponentDoc-C1yrRq6Y.js → ComponentDoc-BAUII4UZ.js} +3 -3
  4. package/dist/{InvitationManagementPage-Bbl_HXlG.js → InvitationManagementPage-BgY1jxQB.js} +1 -1
  5. package/dist/{OnboardingPage-BoYhlfWE.js → OnboardingPage-CckzpaI0.js} +2 -2
  6. package/dist/{ScheduledTasks-0FX6xhIs.js → ScheduledTasks-DZSEnuIF.js} +6 -6
  7. package/dist/{SystemShell-DNRHYsgT.js → SystemShell-DCRIL4Rh.js} +5 -5
  8. package/dist/{admin-logs-OZ3s7ssr.js → admin-logs-DEawvNOd.js} +1 -1
  9. package/dist/{api-B0ComkTL.js → api--xHkMnrY.js} +1 -1
  10. package/dist/{api-BgrPNvTB.js → api-B-nnjGsa.js} +1 -1
  11. package/dist/{createWorkspaceWsHandler-CkgJR6Oo.js → createWorkspaceWsHandler-y6pRWLoa.js} +3 -3
  12. package/dist/{index-mHqvjT5a.js → index-4R_QcR8P.js} +2 -2
  13. package/dist/{index-Cn2CVr2m.js → index-B2ztJXV3.js} +2 -2
  14. package/dist/{index-Bf-Az5am.js → index-BDUHHaoY.js} +4 -4
  15. package/dist/{index-CHLZ4xCe.js → index-BIffImVM.js} +426 -414
  16. package/dist/{index-Dy5HesOM.js → index-C09THX8u.js} +2 -2
  17. package/dist/{index-dti6XFQV.js → index-C4cx5Qxu.js} +2 -2
  18. package/dist/{index-vqAJt3qL.js → index-C7ng_cdZ.js} +1 -1
  19. package/dist/{index-9fGksFL5.js → index-C9LqX4Lg.js} +1 -1
  20. package/dist/{index-DXvw5NUH.js → index-CMLlvrEW.js} +13 -13
  21. package/dist/{index-Cg88iPqc.js → index-COn912sj.js} +3 -3
  22. package/dist/{index-C1sQehbP.js → index-CcHrWE4P.js} +2 -2
  23. package/dist/index-Cxoup7V8.js +139 -0
  24. package/dist/{index-CM6iVhI3.js → index-CzS_q6Tn.js} +3 -3
  25. package/dist/{index-DTKd1x9H.js → index-DWrEAa8-.js} +3 -3
  26. package/dist/{index-BtCyMeHe.js → index-DePIQVt9.js} +3 -3
  27. package/dist/{index-Bf57pWxm.js → index-DlBN-ou4.js} +5 -5
  28. package/dist/{index-Dg_qr92O.js → index-Do3pyigD.js} +1 -1
  29. package/dist/{index-BiCIEDbX.js → index-DtgTLML8.js} +3 -3
  30. package/dist/{index-Dx6dKBLL.js → index-DxXcTAH4.js} +1 -1
  31. package/dist/index-H7hP7Fmj.js +228 -0
  32. package/dist/{index-DxH2PsDU.js → index-LnUf9Vil.js} +6 -6
  33. package/dist/{index-Dj88QNYQ.js → index-XWWknPNw.js} +2 -2
  34. package/dist/{index-M_hPRTgh.js → index-frmk-zNf.js} +5 -5
  35. package/dist/{index-Bbs7DMqZ.js → index-ztXjGIJk.js} +1 -1
  36. package/dist/index.js +1 -1
  37. package/dist/{instance-BXN17-Ol.js → instance-DL4u5k9c.js} +1 -1
  38. package/dist/{menuPermission-Bw3hPi8i.js → menuPermission-CA_atlfk.js} +3 -3
  39. package/dist/pages.js +1 -1
  40. package/dist/{send-default-agent-team-message-DM0C9VL-.js → send-default-agent-team-message-BfBVm9AO.js} +1 -1
  41. package/dist/{sso-user-F62YVj4w.js → sso-user-Dr8_-Sxd.js} +1 -1
  42. package/dist/{training-Df00Ilsm.js → training-CcGUA5KC.js} +1 -1
  43. package/dist/{webide-Iw2coFFL.js → webide-C2JfQ-Je.js} +3 -3
  44. package/dist/z-team-component.css +1 -1
  45. package/package.json +1 -1
  46. package/dist/index-TaAkEm82.js +0 -112
  47. package/dist/index-glQgW-8f.js +0 -147
@@ -1,6 +1,6 @@
1
1
  import { AppLayout as v, ErrorBoundary as V, LoginPage as _, StatusTag as j, defaultStatusMap as z } from "@yuku123/z-frontend-common";
2
- import { d as y } from "./ComponentDoc-C1yrRq6Y.js";
3
- import { G as J, H as Q, I as X, M as Y, J as Z, O as $, K as ee, R as te, L as re, N as ae, Q as oe, U as ne, V as le, V as ie, W as se } from "./ComponentDoc-C1yrRq6Y.js";
2
+ import { d as y } from "./ComponentDoc-BAUII4UZ.js";
3
+ import { G as J, H as Q, I as X, M as Y, J as Z, O as $, K as ee, R as te, L as re, N as ae, Q as oe, U as ne, V as le, V as ie, W as se } from "./ComponentDoc-BAUII4UZ.js";
4
4
  import { jsxs as r, Fragment as h, jsx as e } from "react/jsx-runtime";
5
5
  import { useState as n, useEffect as R } from "react";
6
6
  import { Alert as I, Space as x, Button as l, Tag as c, Result as T } from "antd";
@@ -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-F62YVj4w.js";
3
+ import { r as L, h as N, s as T } from "./sso-user-Dr8_-Sxd.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 { u as m, g as Y, k as B } from "./ComponentDoc-C1yrRq6Y.js";
10
+ import { u as m, g as Y, k as B } from "./ComponentDoc-BAUII4UZ.js";
11
11
  /* empty css */
12
12
  import { b as G } from "./mobile-client-O3yr9h6t.js";
13
13
  function oe() {
@@ -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, b as E } from "./ComponentDoc-C1yrRq6Y.js";
5
+ import { a as A, B as R, b as E } from "./ComponentDoc-BAUII4UZ.js";
6
6
  function B(a) {
7
7
  const l = new URLSearchParams();
8
8
  Object.entries(a).forEach(([N, s]) => {
@@ -1,5 +1,5 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { C as r } from "./ChangeLogView-BQCxD0g7.js";
2
+ import { C as r } from "./ChangeLogView-Cc5cYmcz.js";
3
3
  function n() {
4
4
  return /* @__PURE__ */ e(r, { variant: "page" });
5
5
  }
@@ -1,18 +1,18 @@
1
1
  import { jsx as e, jsxs as a, Fragment as qe } from "react/jsx-runtime";
2
- import { a as fe, f as Te, B as Le, D as et, b as bt, am as ds, u as Y, T as wn, an as us, ao as ia, t as at, ap as xn, w as xe, aq as ms, ar as ps, g as hs, a5 as fs, ai as Co, c as gs, n as Ht, as as Ea, at as _s, au as ys, av as ws, aw as ks, ax as vs, o as ca, q as bs, ay as qt, az as Ns, aA as Cs, ae as Ss, af as Is, y as Ts, e as So, aB as Ls, i as $s, X as Ms, Y as As, _ as xs, $ as Es, a1 as Ps, k as Os, aC as Ds } from "./ComponentDoc-C1yrRq6Y.js";
2
+ import { a as fe, f as Te, B as Le, D as et, b as bt, am as ds, u as Y, T as wn, an as us, ao as ia, t as at, ap as xn, w as xe, aq as ms, ar as ps, g as hs, a5 as fs, ai as Co, c as gs, n as Ht, as as Ea, at as _s, au as ys, av as ws, aw as ks, ax as vs, o as ca, q as bs, ay as qt, az as Ns, aA as Cs, ae as Ss, af as Is, y as Ts, e as So, aB as Ls, i as $s, X as Ms, Y as As, _ as xs, $ as Es, a1 as Ps, k as Os, aC as Ds } from "./ComponentDoc-BAUII4UZ.js";
3
3
  import { s as Rs, r as En, f as js } from "./ctc-sso-DtJHC-2M.js";
4
- import { r as Fs, h as Pa, s as Oa } from "./sso-user-F62YVj4w.js";
4
+ import { r as Fs, h as Pa, s as Oa } from "./sso-user-Dr8_-Sxd.js";
5
5
  import { Input as bn, Tooltip as Nn, Spin as _t, Tabs as pa, Popconfirm as Zn, Button as ft, Empty as kn, Modal as sn, Form as gn, Checkbox as Bs, Tag as la, Select as Hs, Popover as Da, Dropdown as zs, Avatar as Ws, message as Ra } from "antd";
6
6
  import vn from "query-string";
7
7
  import { useState as l, useRef as me, useCallback as Q, useEffect as G, createElement as Us, useLayoutEffect as Io, useMemo as Oe, memo as Gs, Suspense as Pn, lazy as wt } from "react";
8
8
  import { useLocation as Ks, useNavigate as qs } from "react-router-dom";
9
9
  import { h as kt } from "./history-BlrA1eaW.js";
10
- import { z as be, A as Vs, B as To, S as Lo, D as Js, E as ja, F as Fa, G as Ys, H as Qs, u as ha, i as $o, v as Zs, I as Xs, J as Ba, K as er, L as tr, M as nr, N as ar, O as or, c as sr, P as rr, Q as ir, R as cr, U as lr, V as m, W as Wn, C as dr, a as ur, X as mr } from "./createWorkspaceWsHandler-CkgJR6Oo.js";
10
+ import { z as be, A as Vs, B as To, S as Lo, D as Js, E as ja, F as Fa, G as Ys, H as Qs, u as ha, i as $o, v as Zs, I as Xs, J as Ba, K as er, L as tr, M as nr, N as ar, O as or, c as sr, P as rr, Q as ir, R as cr, U as lr, V as m, W as Wn, C as dr, a as ur, X as mr } from "./createWorkspaceWsHandler-y6pRWLoa.js";
11
11
  import { BarChartOutlined as pr, PieChartOutlined as hr, LinkOutlined as Mo, UnorderedListOutlined as fr, FileTextOutlined as fa, ReadOutlined as Ao, ConsoleSqlOutlined as gr, SearchOutlined as Hn, CloseOutlined as an, ProfileOutlined as _r, CustomerServiceOutlined as xo, ThunderboltOutlined as Ha, MessageOutlined as yr, ReloadOutlined as Eo, UndoOutlined as wr, DeleteOutlined as kr, FolderOpenOutlined as vr, BugOutlined as ga, SolutionOutlined as br, BellOutlined as Nr, ApartmentOutlined as za, CrownOutlined as Cr, CheckCircleOutlined as Wa, CheckOutlined as Sr, SettingOutlined as Ua, LaptopOutlined as Ir, MenuFoldOutlined as Tr, HeartOutlined as Lr, BookOutlined as $r, BulbOutlined as Mr, TeamOutlined as Ar, ProductOutlined as xr, CodeOutlined as Er, CloudServerOutlined as Pr, AppstoreOutlined as Or, UserOutlined as Dr, NotificationOutlined as Rr, LogoutOutlined as jr } from "@ant-design/icons";
12
- import { h as Un, f as Fr, E as Ga } from "./index-Dg_qr92O.js";
13
- import { s as Po } from "./admin-logs-OZ3s7ssr.js";
12
+ import { h as Un, f as Fr, E as Ga } from "./index-Do3pyigD.js";
13
+ import { s as Po } from "./admin-logs-DEawvNOd.js";
14
14
  import { createPortal as Oo } from "react-dom";
15
- import { c as Br, l as Hr, j as zr } from "./instance-BXN17-Ol.js";
15
+ import { c as Br, l as Hr, j as zr } from "./instance-DL4u5k9c.js";
16
16
  import Ka from "react-markdown";
17
17
  import qa from "rehype-highlight";
18
18
  import Va from "remark-gfm";
@@ -5496,7 +5496,7 @@ function Th() {
5496
5496
  /* @__PURE__ */ a("div", { className: k.card, children: [
5497
5497
  /* @__PURE__ */ e(Ie, { title: "z-team 智能工作台", desc: "个人工作台 / 协作工作台 / 群学习。", children: /* @__PURE__ */ a("span", { className: k.mono, children: [
5498
5498
  "v",
5499
- "0.2.133"
5499
+ "0.2.134"
5500
5500
  ] }) }),
5501
5501
  /* @__PURE__ */ e(Ie, { title: "运行形态", desc: "Web 浏览器接入,也可内嵌于桌面客户端。", children: /* @__PURE__ */ e("span", { className: k.mono, children: "Web" }) }),
5502
5502
  /* @__PURE__ */ e(Ie, { title: "统一认证", desc: "登录态由 4A / CTC SSO 托管。", children: /* @__PURE__ */ e("span", { className: k.mono, children: "SSO" }) }),
@@ -8647,9 +8647,9 @@ const Kf = "_layout_1ae41_1", qf = "_banner_1ae41_8", Vf = "_bannerLeft_1ae41_20
8647
8647
  smartWorkbenchArea: Yg
8648
8648
  }, Qg = "/api";
8649
8649
  Ur({ apiBase: Qg });
8650
- const Zg = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='24px'%20height='24px'%20viewBox='0%200%2024%2024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3ctitle%3elogo%3c/title%3e%3cg%20id='页面-1'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='01-1.全部应用'%20transform='translate(-20.000000,%20-8.000000)'%3e%3cg%20id='logo'%20transform='translate(20.000000,%208.000000)'%3e%3crect%20id='蒙版'%20fill='%23F5FAFF'%20x='0'%20y='0'%20width='24'%20height='24'%20rx='2'%3e%3c/rect%3e%3cg%20id='资源-1'%20transform='translate(4.000000,%204.000000)'%20fill-rule='nonzero'%3e%3cpath%20d='M1.16034197,15.1111111%20C0.519502794,15.1111111%200,14.6106136%200,13.9932187%20L0,2.69831289%20C0.00159892866,1.20871436%201.25461265,0.00154043404%202.80077542,0%20L8.75478013,0%20C10.3009429,0.00154043404%2011.5539566,1.20871436%2011.5555556,2.69831289%20L11.5555556,8.29476193%20C11.5555556,8.91215688%2011.0360528,9.41265438%2010.3952136,9.41265438%20C9.75437442,9.41265438%209.23487162,8.91215688%209.23487162,8.29476193%20L9.23487162,2.70529971%20C9.23681414,2.5814236%209.18709207,2.46197487%209.09684605,2.37371702%20C9.00660003,2.28545916%208.88337485,2.23577075%208.75478013,2.23578489%20L2.80802756,2.23578489%20C2.67944752,2.23391343%202.55546299,2.28181649%202.46385373,2.36876099%20C2.37224448,2.45570548%202.32066926,2.57442264%202.32068393,2.69831289%20L2.32068393,13.9932187%20C2.32068393,14.6106136%201.80118114,15.1111111%201.16034197,15.1111111%20Z'%20id='路径'%20fill='%231F8BFF'%3e%3c/path%3e%3cpath%20d='M13.1974657,15.1111111%20L7.2469787,15.1111111%20C5.70041075,15.1095715%204.44684388,13.9026896%204.44444444,12.4129481%20L4.44444444,6.81251221%20C4.44444444,6.19483167%204.96427348,5.69410265%205.60551509,5.69410265%20C6.24675669,5.69410265%206.76658573,6.19483167%206.76658573,6.81251221%20L6.76658573,12.4129481%20C6.76738557,12.6679673%206.98223074,12.8742932%207.2469787,12.874292%20L13.1974657,12.874292%20C13.4622137,12.8742932%2013.6770589,12.6679673%2013.6778587,12.4129481%20L13.6778587,1.11840956%20C13.6778587,0.500729014%2014.1976878,0%2014.8389294,0%20C15.480171,0%2016,0.500729014%2016,1.11840956%20L16,12.4129481%20C15.9976006,13.9026896%2014.7440337,15.1095715%2013.1974657,15.1111111%20L13.1974657,15.1111111%20Z'%20id='路径'%20fill='%23FFDC29'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Xg = wt(() => import("./index-DxH2PsDU.js")), e1 = wt(() => import("./index-Cg88iPqc.js")), t1 = wt(() => import("./index-Bbs7DMqZ.js"));
8651
- wt(() => import("./index-vqAJt3qL.js"));
8652
- const n1 = wt(() => import("./index-TaAkEm82.js")), a1 = wt(() => import("./index-Bf-Az5am.js").then((t) => t.i)), o1 = wt(() => import("./index-CHLZ4xCe.js")), s1 = wt(() => import("./index-Bf57pWxm.js")), r1 = wt(() => import("./index-glQgW-8f.js")), i1 = wt(() => import("./index-DTKd1x9H.js")), c1 = wt(() => import("./index-BiCIEDbX.js").then((t) => ({ default: t.default }))), ko = wt(() => import("./SystemShell-DNRHYsgT.js")), Zo = "ft_popup_read";
8650
+ const Zg = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='24px'%20height='24px'%20viewBox='0%200%2024%2024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3ctitle%3elogo%3c/title%3e%3cg%20id='页面-1'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='01-1.全部应用'%20transform='translate(-20.000000,%20-8.000000)'%3e%3cg%20id='logo'%20transform='translate(20.000000,%208.000000)'%3e%3crect%20id='蒙版'%20fill='%23F5FAFF'%20x='0'%20y='0'%20width='24'%20height='24'%20rx='2'%3e%3c/rect%3e%3cg%20id='资源-1'%20transform='translate(4.000000,%204.000000)'%20fill-rule='nonzero'%3e%3cpath%20d='M1.16034197,15.1111111%20C0.519502794,15.1111111%200,14.6106136%200,13.9932187%20L0,2.69831289%20C0.00159892866,1.20871436%201.25461265,0.00154043404%202.80077542,0%20L8.75478013,0%20C10.3009429,0.00154043404%2011.5539566,1.20871436%2011.5555556,2.69831289%20L11.5555556,8.29476193%20C11.5555556,8.91215688%2011.0360528,9.41265438%2010.3952136,9.41265438%20C9.75437442,9.41265438%209.23487162,8.91215688%209.23487162,8.29476193%20L9.23487162,2.70529971%20C9.23681414,2.5814236%209.18709207,2.46197487%209.09684605,2.37371702%20C9.00660003,2.28545916%208.88337485,2.23577075%208.75478013,2.23578489%20L2.80802756,2.23578489%20C2.67944752,2.23391343%202.55546299,2.28181649%202.46385373,2.36876099%20C2.37224448,2.45570548%202.32066926,2.57442264%202.32068393,2.69831289%20L2.32068393,13.9932187%20C2.32068393,14.6106136%201.80118114,15.1111111%201.16034197,15.1111111%20Z'%20id='路径'%20fill='%231F8BFF'%3e%3c/path%3e%3cpath%20d='M13.1974657,15.1111111%20L7.2469787,15.1111111%20C5.70041075,15.1095715%204.44684388,13.9026896%204.44444444,12.4129481%20L4.44444444,6.81251221%20C4.44444444,6.19483167%204.96427348,5.69410265%205.60551509,5.69410265%20C6.24675669,5.69410265%206.76658573,6.19483167%206.76658573,6.81251221%20L6.76658573,12.4129481%20C6.76738557,12.6679673%206.98223074,12.8742932%207.2469787,12.874292%20L13.1974657,12.874292%20C13.4622137,12.8742932%2013.6770589,12.6679673%2013.6778587,12.4129481%20L13.6778587,1.11840956%20C13.6778587,0.500729014%2014.1976878,0%2014.8389294,0%20C15.480171,0%2016,0.500729014%2016,1.11840956%20L16,12.4129481%20C15.9976006,13.9026896%2014.7440337,15.1095715%2013.1974657,15.1111111%20L13.1974657,15.1111111%20Z'%20id='路径'%20fill='%23FFDC29'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Xg = wt(() => import("./index-LnUf9Vil.js")), e1 = wt(() => import("./index-COn912sj.js")), t1 = wt(() => import("./index-ztXjGIJk.js"));
8651
+ wt(() => import("./index-C7ng_cdZ.js"));
8652
+ const n1 = wt(() => import("./index-Cxoup7V8.js")), a1 = wt(() => import("./index-BDUHHaoY.js").then((t) => t.i)), o1 = wt(() => import("./index-BIffImVM.js")), s1 = wt(() => import("./index-DlBN-ou4.js")), r1 = wt(() => import("./index-H7hP7Fmj.js")), i1 = wt(() => import("./index-DWrEAa8-.js")), c1 = wt(() => import("./index-DtgTLML8.js").then((t) => ({ default: t.default }))), ko = wt(() => import("./SystemShell-DCRIL4Rh.js")), Zo = "ft_popup_read";
8653
8653
  function vo(t) {
8654
8654
  return t.id != null ? String(t.id) : `${t.title ?? ""}|${t.content ?? ""}`;
8655
8655
  }
@@ -9051,10 +9051,10 @@ function d1({
9051
9051
  type: "button",
9052
9052
  className: `${z.modeToggleBtn} ${Pe === "knowledge" ? z.modeToggleBtnActive : ""}`,
9053
9053
  onClick: () => ut("knowledge"),
9054
- title: "知识",
9054
+ title: "认知",
9055
9055
  children: [
9056
9056
  /* @__PURE__ */ e($r, {}),
9057
- /* @__PURE__ */ e("span", { className: z.modeToggleLabel, children: "知识" })
9057
+ /* @__PURE__ */ e("span", { className: z.modeToggleLabel, children: "认知" })
9058
9058
  ]
9059
9059
  }
9060
9060
  ),
@@ -9910,7 +9910,7 @@ function No() {
9910
9910
  function A1({
9911
9911
  forcedChatMode: t
9912
9912
  } = {}) {
9913
- const n = Ks(), o = qs(), c = !["system", "ops", "middleware", "knowledge"].includes(t ?? "") && Gr() && !Kr(n.search);
9913
+ const n = Ks(), o = qs(), c = !["system", "ops", "middleware", "knowledge", "dev"].includes(t ?? "") && Gr() && !Kr(n.search);
9914
9914
  G(() => {
9915
9915
  c && kt.replace({
9916
9916
  pathname: "/workspace/phone",
@@ -1,8 +1,8 @@
1
1
  import { jsxs as f, jsx as t } from "react/jsx-runtime";
2
2
  import { useState as h, useCallback as u } from "react";
3
- import { S as I, P } from "./webide-Iw2coFFL.js";
4
- import { L as D, P as N, S as H, C as W, E as $, a as j, W as b, b as g, T as B, c as O } from "./ScheduledTasks-0FX6xhIs.js";
5
- import { w as q, p as z } from "./index-DXvw5NUH.js";
3
+ import { S as I, P } from "./webide-C2JfQ-Je.js";
4
+ import { L as D, P as N, S as H, C as W, E as $, a as j, W as b, b as g, T as B, c as O } from "./ScheduledTasks-DZSEnuIF.js";
5
+ import { w as q, p as z } from "./index-CMLlvrEW.js";
6
6
  import { TodoTab as E } from "@yuku123/z-task-component";
7
7
  function J({
8
8
  view: s,
@@ -1,8 +1,8 @@
1
1
  import { jsxs as c, jsx as a } from "react/jsx-runtime";
2
2
  import v, { useState as d, useEffect as _, useMemo as h } from "react";
3
3
  import { useLocation as N } from "react-router-dom";
4
- import { E as b, F as g } from "./ComponentDoc-C1yrRq6Y.js";
5
- import { i as K, P as x } from "./index-Dg_qr92O.js";
4
+ import { E as b, F as g } from "./ComponentDoc-BAUII4UZ.js";
5
+ import { i as K, P as x } from "./index-Do3pyigD.js";
6
6
  const E = "_banner_2v7mc_1", F = "_dot_2v7mc_18", S = "_text_2v7mc_26", f = "_retry_2v7mc_31", A = "_dismiss_2v7mc_44", P = "_details_2v7mc_57", k = "_method_2v7mc_85", C = "_status_2v7mc_86", D = "_statusNet_2v7mc_87", $ = "_url_2v7mc_88", e = {
7
7
  banner: E,
8
8
  dot: F,
@@ -0,0 +1,139 @@
1
+ import { jsxs as c, jsx as t } from "react/jsx-runtime";
2
+ import q, { useMemo as h, useState as N, useEffect as I } from "react";
3
+ import { DownOutlined as v, RightOutlined as H } from "@ant-design/icons";
4
+ import { useNavigate as A, useLocation as $ } from "react-router-dom";
5
+ import { menuSections as L, menuItems as O, appMeta as g, routes as w } from "@yuku123/z-cognition-component/pages";
6
+ import { menuItems as P, appMeta as C, routes as T } from "@yuku123/z-cognition-kb-component/pages";
7
+ import { menuItems as E, routes as M } from "@yuku123/z-cognition-indexer-component/pages";
8
+ const R = "_shell_k84qx_6", z = "_sidebar_k84qx_15", U = "_sidebarHeader_k84qx_26", W = "_sidebarHeaderIcon_k84qx_37", j = "_menuList_k84qx_41", D = "_menuGroup_k84qx_48", K = "_menuGroupHeader_k84qx_53", Z = "_menuGroupHeaderOpen_k84qx_72", F = "_menuGroupHeaderActive_k84qx_83", B = "_menuGroupIcon_k84qx_87", J = "_menuGroupLabel_k84qx_96", Q = "_menuGroupArrow_k84qx_101", V = "_menuSubList_k84qx_107", X = "_menuSubItem_k84qx_114", Y = "_menuItemOnPath_k84qx_147", ee = "_menuSubItemPill_k84qx_168", ne = "_menuSubItemActive_k84qx_184", te = "_menuSubItemIcon_k84qx_194", se = "_main_k84qx_210", oe = "_empty_k84qx_219", me = "_emptyIcon_k84qx_229", re = "_emptyText_k84qx_233", e = {
9
+ shell: R,
10
+ sidebar: z,
11
+ sidebarHeader: U,
12
+ sidebarHeaderIcon: W,
13
+ menuList: j,
14
+ menuGroup: D,
15
+ menuGroupHeader: K,
16
+ menuGroupHeaderOpen: Z,
17
+ menuGroupHeaderActive: F,
18
+ menuGroupIcon: B,
19
+ menuGroupLabel: J,
20
+ menuGroupArrow: Q,
21
+ menuSubList: V,
22
+ menuSubItem: X,
23
+ menuItemOnPath: Y,
24
+ menuSubItemPill: ee,
25
+ menuSubItemActive: ne,
26
+ menuSubItemIcon: te,
27
+ main: se,
28
+ empty: oe,
29
+ emptyIcon: me,
30
+ emptyText: re
31
+ }, i = [
32
+ { title: "知识管理", icon: "📚", items: P },
33
+ ...L || [
34
+ { title: "业务认知", icon: "🧠", items: O }
35
+ ],
36
+ // 代码索引(2026-11-10 归纳):z-cognition 代码索引板块(原独立仓 z-indexer,收购后
37
+ // npm 包随之改名 @yuku123/z-cognition-indexer-component)前台四页,
38
+ // 与 admin「知识沉淀 → 知识认知 → 代码认知」同口径:前台查、后台管。
39
+ { title: "代码索引", icon: "🔍", items: E }
40
+ ], b = [
41
+ ...T,
42
+ ...w,
43
+ ...M
44
+ ], ue = "/z-kb/dashboard";
45
+ function ae(m) {
46
+ const o = m.replace(/[.+^${}()|[\]\\]/g, "\\$&");
47
+ return new RegExp(
48
+ `^${o.replace(/:[A-Za-z0-9_]+\*/g, "(?:/.*)?").replace(/:[A-Za-z0-9_]+/g, "[^/]+")}$`
49
+ );
50
+ }
51
+ function ce(m) {
52
+ const o = b.find((n) => n.path === m);
53
+ if (o != null && o.Component) return o.Component;
54
+ for (const n of b)
55
+ if (n.Component) {
56
+ if (n.path.includes(":")) {
57
+ if (ae(n.path).test(m)) return n.Component;
58
+ } else if (m.startsWith(n.path + "/"))
59
+ return n.Component;
60
+ }
61
+ return null;
62
+ }
63
+ function k(m) {
64
+ for (const o of i)
65
+ for (const n of o.items)
66
+ if (m === n.key || m.startsWith(n.key + "/")) return n.key;
67
+ return null;
68
+ }
69
+ function be() {
70
+ var p, _;
71
+ const m = A(), { pathname: o } = $(), n = h(() => k(o), [o]), [x, l] = N(/* @__PURE__ */ new Set());
72
+ I(() => {
73
+ n && i.forEach((s) => {
74
+ s.items.some((r) => r.key === n) && l(
75
+ (r) => r.has(s.title) ? r : new Set(r).add(s.title)
76
+ );
77
+ });
78
+ }, [n]);
79
+ const f = (s) => {
80
+ l((r) => {
81
+ const u = new Set(r);
82
+ return u.has(s) ? u.delete(s) : u.add(s), u;
83
+ });
84
+ };
85
+ I(() => {
86
+ if (!k(o)) {
87
+ const { search: s } = window.location;
88
+ m(`${ue}${s || ""}`, { replace: !0 });
89
+ }
90
+ }, [o, m]);
91
+ const d = h(() => ce(o), [o]);
92
+ return /* @__PURE__ */ c("div", { className: e.shell, children: [
93
+ /* @__PURE__ */ c("aside", { className: e.sidebar, children: [
94
+ /* @__PURE__ */ c("div", { className: e.sidebarHeader, children: [
95
+ /* @__PURE__ */ t("span", { className: e.sidebarHeaderIcon, children: "🧠" }),
96
+ /* @__PURE__ */ t("span", { children: ((p = C) == null ? void 0 : p.title) ?? ((_ = g) == null ? void 0 : _.title) ?? "知识工作台" })
97
+ ] }),
98
+ /* @__PURE__ */ t("nav", { className: e.menuList, children: i.map((s) => {
99
+ const r = x.has(s.title), u = n ? s.items.findIndex((a) => a.key === n) : -1;
100
+ return /* @__PURE__ */ c("div", { className: e.menuGroup, children: [
101
+ /* @__PURE__ */ c(
102
+ "div",
103
+ {
104
+ className: `${e.menuGroupHeader} ${r ? e.menuGroupHeaderOpen : ""} ${u >= 0 ? e.menuGroupHeaderActive : ""}`,
105
+ onClick: () => f(s.title),
106
+ children: [
107
+ /* @__PURE__ */ t("span", { className: e.menuGroupIcon, children: s.icon }),
108
+ /* @__PURE__ */ t("span", { className: e.menuGroupLabel, children: s.title }),
109
+ /* @__PURE__ */ t("span", { className: e.menuGroupArrow, children: r ? /* @__PURE__ */ t(v, {}) : /* @__PURE__ */ t(H, {}) })
110
+ ]
111
+ }
112
+ ),
113
+ r && /* @__PURE__ */ t("ul", { className: e.menuSubList, children: s.items.map((a, S) => {
114
+ const G = u >= 0 && S <= u, y = n === a.key;
115
+ return /* @__PURE__ */ t(
116
+ "li",
117
+ {
118
+ className: `${e.menuSubItem} ${G ? e.menuItemOnPath : ""} ${y ? e.menuSubItemActive : ""}`,
119
+ onClick: () => m(a.key),
120
+ children: /* @__PURE__ */ c("div", { className: e.menuSubItemPill, children: [
121
+ a.icon ? /* @__PURE__ */ t("span", { className: e.menuSubItemIcon, children: a.icon }) : null,
122
+ /* @__PURE__ */ t("span", { children: a.label })
123
+ ] })
124
+ },
125
+ a.key
126
+ );
127
+ }) })
128
+ ] }, s.title);
129
+ }) })
130
+ ] }),
131
+ /* @__PURE__ */ t("main", { className: e.main, children: d ? /* @__PURE__ */ t(q.Suspense, { fallback: /* @__PURE__ */ t("div", { className: e.emptyText, children: "加载中…" }), children: /* @__PURE__ */ t(d, {}) }) : /* @__PURE__ */ c("div", { className: e.empty, children: [
132
+ /* @__PURE__ */ t("div", { className: e.emptyIcon, children: "🧠" }),
133
+ /* @__PURE__ */ t("div", { className: e.emptyText, children: "请从左侧选择认知模块" })
134
+ ] }) })
135
+ ] });
136
+ }
137
+ export {
138
+ be as default
139
+ };
@@ -1,15 +1,15 @@
1
1
  import { jsx as r, jsxs as x } from "react/jsx-runtime";
2
2
  import { f as z, r as T } from "./ctc-sso-DtJHC-2M.js";
3
- import { r as D, h as U, s as F } from "./sso-user-F62YVj4w.js";
3
+ import { r as D, h as U, s as F } from "./sso-user-Dr8_-Sxd.js";
4
4
  import { CheckCircleFilled as W } from "@ant-design/icons";
5
5
  import { Result as B, Button as H, Spin as G } from "antd";
6
6
  import J from "query-string";
7
7
  import { useState as d, useRef as K, useCallback as O, useMemo as R, useEffect as E } from "react";
8
8
  import { useLocation as Q } from "react-router-dom";
9
9
  import { h as b } from "./history-BlrA1eaW.js";
10
- import { u as s, j as V, k as X } from "./ComponentDoc-C1yrRq6Y.js";
10
+ import { u as s, j as V, k as X } from "./ComponentDoc-BAUII4UZ.js";
11
11
  import { b as Y } from "./mobile-client-O3yr9h6t.js";
12
- import { s as Z } from "./send-default-agent-team-message-DM0C9VL-.js";
12
+ import { s as Z } from "./send-default-agent-team-message-BfBVm9AO.js";
13
13
  function ue() {
14
14
  const h = Q(), f = J.parse(h.search), c = String(
15
15
  f.scenarioCode ?? f.scenario_code ?? ""
@@ -3,15 +3,15 @@ import { SearchOutlined as Ie, ReloadOutlined as Ne, PlusOutlined as xe, ArrowUp
3
3
  import { Input as K, Select as ae, Button as M, Modal as ve, Space as qe, Tooltip as oe, message as P, Tag as H, Popconfirm as ke, Spin as Xe, Empty as Ke, AutoComplete as st, Segmented as Bt, TreeSelect as et, Descriptions as ne, InputNumber as Fe, Drawer as cl, Tabs as Mt, Switch as zt, Radio as yt, Tree as ul, Table as Oe } from "antd";
4
4
  import { ListTable as Ae, DEFAULT_PAGINATION as hl } from "@yuku123/z-frontend-common/ui";
5
5
  import { useState as o, useCallback as de, useEffect as ce, useMemo as pe, useRef as Ft } from "react";
6
- import { f as Ut, a as Gt, b as ct, c as ut, s as vt, d as ml, e as pl, g as tt, h as gl, i as yl, j as vl, k as jt, l as ft, m as fl, n as wl, o as Cl, r as Wt, p as Ht, q as bl, t as wt, u as Il, v as ht, w as mt, x as xl, y as Tl, z as Nl, A as kl, B as Ct, C as Sl, D as _l, E as Al, F as El, G as Dl, H as bt, I as Rl, J as Ll, K as $l, L as Pl, M as Ol, N as Bl, O as Ml, P as It, Q as zl, R as Fl, S as Ul, T as Gl, U as jl } from "./training-Df00Ilsm.js";
7
- import { u as Ce, a4 as Wl } from "./ComponentDoc-C1yrRq6Y.js";
6
+ import { f as Ut, a as Gt, b as ct, c as ut, s as vt, d as ml, e as pl, g as tt, h as gl, i as yl, j as vl, k as jt, l as ft, m as fl, n as wl, o as Cl, r as Wt, p as Ht, q as bl, t as wt, u as Il, v as ht, w as mt, x as xl, y as Tl, z as Nl, A as kl, B as Ct, C as Sl, D as _l, E as Al, F as El, G as Dl, H as bt, I as Rl, J as Ll, K as $l, L as Pl, M as Ol, N as Bl, O as Ml, P as It, Q as zl, R as Fl, S as Ul, T as Gl, U as jl } from "./training-CcGUA5KC.js";
7
+ import { u as Ce, a4 as Wl } from "./ComponentDoc-BAUII4UZ.js";
8
8
  import { s as r } from "./index.module-UI0iz8K0.js";
9
9
  import Hl from "dayjs";
10
10
  import xt from "react-markdown";
11
11
  import Tt from "remark-gfm";
12
12
  import { h as be } from "./index.module-CAa-2T7m.js";
13
13
  import { MarkdownLiveEditor as Kl } from "@yuku123/z-markdown-component";
14
- import { h as ql } from "./index-Dg_qr92O.js";
14
+ import { h as ql } from "./index-Do3pyigD.js";
15
15
  function Vl() {
16
16
  const l = Ce((i) => i.token), [n, D] = o([]), [k, L] = o(!1), [x, B] = o(""), [E, F] = o(null), [c, A] = o(!1), [C, T] = o(!1), [I, U] = o(null), [u, v] = o([]), [_, y] = o([]), [j, J] = o([]), [Z, O] = o([]), [w, z] = o([]), h = de(async () => {
17
17
  L(!0);
@@ -1,16 +1,16 @@
1
1
  import { jsx as t, jsxs as l } from "react/jsx-runtime";
2
2
  import { f as ie, r as q } from "./ctc-sso-DtJHC-2M.js";
3
- import { r as ne, h as X, s as oe } from "./sso-user-F62YVj4w.js";
3
+ import { r as ne, h as X, s as oe } from "./sso-user-Dr8_-Sxd.js";
4
4
  import { CheckCircleFilled as le, QuestionCircleOutlined as ce, CloseOutlined as me } from "@ant-design/icons";
5
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 { u as c, z as he, j as be, k as _e } from "./ComponentDoc-C1yrRq6Y.js";
10
+ import { u as c, z as he, j as be, k as _e } from "./ComponentDoc-BAUII4UZ.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-DM0C9VL-.js";
13
+ import { a as ve, s as we } from "./send-default-agent-team-message-BfBVm9AO.js";
14
14
  const Ne = 5e3, E = 9, Ce = 10 * 1024 * 1024, Se = /^image\//i, Ie = /\.(png|jpe?g|gif|bmp|webp)$/i;
15
15
  function ke(a) {
16
16
  return a.type && Se.test(a.type) ? !0 : Ie.test(a.name || "");
@@ -1,15 +1,15 @@
1
1
  import { jsxs as i, jsx as t } from "react/jsx-runtime";
2
- import { r as q, h as Q, s as V } from "./sso-user-F62YVj4w.js";
2
+ import { r as q, h as Q, s as V } from "./sso-user-Dr8_-Sxd.js";
3
3
  import { TeamOutlined as X, UserOutlined as Y, MenuFoldOutlined as ee, DownOutlined as U, RightOutlined as $, LogoutOutlined as ne } from "@ant-design/icons";
4
4
  import { Dropdown as te, Avatar as ae } from "antd";
5
5
  import { useState as x, useMemo as se, useCallback as C, useEffect as re } from "react";
6
6
  import { h as G } from "./history-BlrA1eaW.js";
7
- import { E as oe, h as ce } from "./index-Dg_qr92O.js";
7
+ import { E as oe, h as ce } from "./index-Do3pyigD.js";
8
8
  import { M, u as ue, S as ie } from "./menuTree-Ctcz41N8.js";
9
- import { u as E, k as me } from "./ComponentDoc-C1yrRq6Y.js";
9
+ import { u as E, k as me } from "./ComponentDoc-BAUII4UZ.js";
10
10
  /* empty css */
11
- import { s as le } from "./admin-logs-OZ3s7ssr.js";
12
- import de from "./AdminModuleContent-DjEqlai_.js";
11
+ import { s as le } from "./admin-logs-DEawvNOd.js";
12
+ import de from "./AdminModuleContent-DHCn4OpR.js";
13
13
  const he = "_adminLayout_e0cuy_3", _e = "_topBanner_e0cuy_40", pe = "_bannerLeft_e0cuy_52", be = "_bannerLogo_e0cuy_58", ye = "_bannerBrand_e0cuy_65", ge = "_bannerProduct_e0cuy_71", we = "_bannerSubtitle_e0cuy_78", Ie = "_bannerRight_e0cuy_84", fe = "_modeBtn_e0cuy_115", Se = "_headerUser_e0cuy_135", ve = "_headerUsername_e0cuy_149", Be = "_adminBody_e0cuy_160", ke = "_sidebar_e0cuy_168", Pe = "_menuSection_e0cuy_179", Ae = "_collapseAllBtn_e0cuy_193", Ne = "_menuList_e0cuy_210", Le = "_menuItem_e0cuy_219", Re = "_menuItemActive_e0cuy_241", Oe = "_menuGroupRowOpen_e0cuy_252", Ue = "_menuGroupRowBranch_e0cuy_262", $e = "_menuItemIcon_e0cuy_266", xe = "_dragBar_e0cuy_284", Ce = "_dragBarActive_e0cuy_305", Ge = "_contentArea_e0cuy_310", Ee = "_contentBody_e0cuy_318", Me = "_menuItemGroup_e0cuy_329", We = "_menuExpandIcon_e0cuy_334", De = "_menuSubList_e0cuy_342", Fe = "_menuItemOnPath_e0cuy_372", Te = "_menuSubItem_e0cuy_376", je = "_menuSubItemActive_e0cuy_393", ze = "_menuSubItemBranch_e0cuy_411", He = "_menuSubItemBranchOpen_e0cuy_415", Ze = "_menuSubItemBranchActive_e0cuy_425", Je = "_menuSubItemRow_e0cuy_435", Ke = "_menuNestedList_e0cuy_441", e = {
14
14
  adminLayout: he,
15
15
  topBanner: _e,
@@ -1,4 +1,4 @@
1
- import { a as h, f as _, B as N, D as A, t as g } from "./ComponentDoc-C1yrRq6Y.js";
1
+ import { a as h, f as _, B as N, D as A, t as g } from "./ComponentDoc-BAUII4UZ.js";
2
2
  import { jsx as p, jsxs as I } from "react/jsx-runtime";
3
3
  import { useMemo as S, useState as C, useEffect as G, Component as D } from "react";
4
4
  function L(t) {
@@ -2,11 +2,11 @@ import { jsxs as r, jsx as a, Fragment as lt } from "react/jsx-runtime";
2
2
  import { ReloadOutlined as dt, AppstoreOutlined as pt, DeploymentUnitOutlined as ut, SearchOutlined as mt, RightOutlined as ht, TeamOutlined as _t, MessageOutlined as gt } from "@ant-design/icons";
3
3
  import { Button as Q, Select as Ae, Spin as ue, Empty as f, Tag as I, Input as O } from "antd";
4
4
  import { useState as p, useCallback as g, useEffect as me, useMemo as he, useRef as vt } from "react";
5
- import { u as $ } from "./ComponentDoc-C1yrRq6Y.js";
5
+ import { u as $ } from "./ComponentDoc-BAUII4UZ.js";
6
6
  import { h as W } from "./history-BlrA1eaW.js";
7
7
  import { menuItems as Nt } from "@yuku123/z-product-component";
8
- import { C as yt } from "./createWorkspaceWsHandler-CkgJR6Oo.js";
9
- import { l as ft, c as wt } from "./api-BgrPNvTB.js";
8
+ import { C as yt } from "./createWorkspaceWsHandler-y6pRWLoa.js";
9
+ import { l as ft, c as wt } from "./api-B-nnjGsa.js";
10
10
  const bt = "product-workspace", qe = "productCode";
11
11
  function w(n) {
12
12
  if (!n.ok) throw new Error(`产品接口失败 (${n.status})`);
@@ -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-BQCxD0g7.js";
4
+ import { C as A } from "./ChangeLogView-Cc5cYmcz.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,