@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
@@ -0,0 +1,228 @@
1
+ import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
+ import { useState as L, useMemo as I, useCallback as W, useEffect as O } from "react";
3
+ import { useNavigate as U, useLocation as q } from "react-router-dom";
4
+ import { CodeOutlined as T, DownOutlined as w, RightOutlined as B, AppstoreOutlined as y, HomeOutlined as C, DashboardOutlined as D, TableOutlined as j, DatabaseOutlined as K, RobotOutlined as F, FunctionOutlined as z, ApartmentOutlined as J, EyeOutlined as Q, BranchesOutlined as V, DeploymentUnitOutlined as X, SafetyCertificateOutlined as Y, RocketOutlined as Z } from "@ant-design/icons";
5
+ import ee from "@yuku123/z-lc-component";
6
+ import { f as ne, M as te } from "./menuPermission-CA_atlfk.js";
7
+ import { u as P } from "./ComponentDoc-BAUII4UZ.js";
8
+ const re = "_shellWrap_kxkvd_7", ae = "_shell_kxkvd_7", ue = "_productBanner_kxkvd_25", se = "_productBannerLabel_kxkvd_37", ce = "_productBannerName_kxkvd_43", oe = "_productBannerCode_kxkvd_51", ie = "_productBannerBack_kxkvd_56", le = "_sidebar_kxkvd_78", de = "_sidebarHeader_kxkvd_89", me = "_menuList_kxkvd_101", pe = "_menuGroup_kxkvd_108", he = "_menuGroupHeader_kxkvd_113", be = "_menuGroupHeaderOpen_kxkvd_132", ke = "_menuGroupHeaderActive_kxkvd_143", _e = "_menuGroupIcon_kxkvd_147", Se = "_menuGroupLabel_kxkvd_156", Ge = "_menuGroupArrow_kxkvd_161", fe = "_menuSubList_kxkvd_168", ve = "_menuSubItem_kxkvd_175", Ie = "_menuItemOnPath_kxkvd_209", xe = "_menuSubItemPill_kxkvd_230", $e = "_menuSubItemActive_kxkvd_246", Ne = "_menuSubItemIcon_kxkvd_256", Oe = "_menuSubGroup_kxkvd_272", ye = "_menuSubGroupHeader_kxkvd_277", Ae = "_menuSubGroupHeaderOpen_kxkvd_304", He = "_menuSubGroupHeaderActive_kxkvd_314", Le = "_menuSubGroupLabel_kxkvd_331", we = "_main_kxkvd_351", r = {
9
+ shellWrap: re,
10
+ shell: ae,
11
+ productBanner: ue,
12
+ productBannerLabel: se,
13
+ productBannerName: ce,
14
+ productBannerCode: oe,
15
+ productBannerBack: ie,
16
+ sidebar: le,
17
+ sidebarHeader: de,
18
+ menuList: me,
19
+ menuGroup: pe,
20
+ menuGroupHeader: he,
21
+ menuGroupHeaderOpen: be,
22
+ menuGroupHeaderActive: ke,
23
+ menuGroupIcon: _e,
24
+ menuGroupLabel: Se,
25
+ menuGroupArrow: Ge,
26
+ menuSubList: fe,
27
+ menuSubItem: ve,
28
+ menuItemOnPath: Ie,
29
+ menuSubItemPill: xe,
30
+ menuSubItemActive: $e,
31
+ menuSubItemIcon: Ne,
32
+ menuSubGroup: Oe,
33
+ menuSubGroupHeader: ye,
34
+ menuSubGroupHeaderOpen: Ae,
35
+ menuSubGroupHeaderActive: He,
36
+ menuSubGroupLabel: Le,
37
+ main: we
38
+ }, f = "/lc", Be = /* @__PURE__ */ new Set(["apps", "designer", "db-import", "admin", "docs"]);
39
+ function Pe(n, a) {
40
+ if (!n.startsWith(f)) return null;
41
+ const c = n.slice(f.length).replace(/^\//, "").split("/").filter(Boolean);
42
+ return c[0] === "designer" && c[1] ? c[1] : c[0] && !Be.has(c[0]) ? c[0] : new URLSearchParams(a.startsWith("?") ? a.slice(1) : a).get("appCode") || null;
43
+ }
44
+ function ge(n) {
45
+ const a = `?appCode=${encodeURIComponent(n)}`;
46
+ return [
47
+ { key: `${n}:overview`, label: "应用概览", icon: /* @__PURE__ */ e(C, {}), path: n },
48
+ { key: `${n}:dashboard`, label: "仪表盘", icon: /* @__PURE__ */ e(D, {}), path: `${n}/dashboard` },
49
+ { key: `${n}:designer`, label: "Schema 设计器", icon: /* @__PURE__ */ e(j, {}), path: `designer/${n}` },
50
+ { key: `${n}:db-import`, label: "从数据库导入", icon: /* @__PURE__ */ e(K, {}), path: `db-import${a}` },
51
+ { key: `${n}:ai`, label: "AI 建模", icon: /* @__PURE__ */ e(F, {}), path: `admin/ai${a}` },
52
+ { key: `${n}:dicts`, label: "数据字典", icon: /* @__PURE__ */ e(z, {}), path: `admin/dicts${a}` },
53
+ { key: `${n}:relations`, label: "实体关系", icon: /* @__PURE__ */ e(J, {}), path: `admin/relations${a}` },
54
+ { key: `${n}:views`, label: "视图配置", icon: /* @__PURE__ */ e(Q, {}), path: `admin/views${a}` },
55
+ { key: `${n}:pipelines`, label: "Pipeline", icon: /* @__PURE__ */ e(V, {}), path: `admin/pipelines${a}` },
56
+ { key: `${n}:workflows`, label: "流程绑定", icon: /* @__PURE__ */ e(X, {}), path: `admin/workflows${a}` },
57
+ { key: `${n}:permissions`, label: "权限矩阵", icon: /* @__PURE__ */ e(Y, {}), path: `admin/permissions${a}`, permission: "PERMISSION_MANAGE" },
58
+ { key: `${n}:deployments`, label: "部署记录", icon: /* @__PURE__ */ e(Z, {}), path: `admin/deployments${a}` }
59
+ ];
60
+ }
61
+ function Ee(n) {
62
+ const a = [
63
+ { key: "apps", label: "应用列表", icon: /* @__PURE__ */ e(y, {}), path: "apps" }
64
+ ];
65
+ return n && a.push({
66
+ key: n,
67
+ label: n,
68
+ icon: /* @__PURE__ */ e(y, {}),
69
+ children: ge(n)
70
+ }), [{ title: "应用", icon: /* @__PURE__ */ e(y, {}), items: a }];
71
+ }
72
+ function Me(n, a, o, c) {
73
+ if (!n.path) return !1;
74
+ const d = n.path.indexOf("?"), G = d >= 0 ? n.path.slice(0, d) : n.path;
75
+ return (c ? a === G : a === G || a.startsWith(`${G}/`)) ? d >= 0 ? new URLSearchParams(n.path.slice(d + 1)).get("appCode") === o : !0 : !1;
76
+ }
77
+ function Re(n, a, o, c) {
78
+ if (!a.startsWith(f)) return null;
79
+ const d = a.slice(f.length).replace(/^\//, ""), G = n.flatMap(
80
+ (b) => b.items.flatMap((m) => m.children ? [m, ...m.children] : [m])
81
+ );
82
+ for (const b of [!0, !1])
83
+ for (const m of G)
84
+ if (Me(m, d, c, b)) return m.key;
85
+ return null;
86
+ }
87
+ function Ke() {
88
+ const n = U(), { pathname: a, search: o } = q(), c = P((t) => t.currentUser), d = P((t) => t.permissionState), [G, b] = L(/* @__PURE__ */ new Set()), [m, A] = L(/* @__PURE__ */ new Set()), h = I(() => {
89
+ try {
90
+ const t = new URLSearchParams(o), i = t.get("product");
91
+ return i ? { code: i, name: t.get("productName") || i } : null;
92
+ } catch {
93
+ return null;
94
+ }
95
+ }, [o]), g = W(() => {
96
+ if (!h) return;
97
+ const t = new URLSearchParams();
98
+ t.set("product", h.code), h.name && t.set("productName", h.name), n(`/workspace?mode=product&${t.toString()}`);
99
+ }, [h, n]);
100
+ O(() => {
101
+ a.startsWith("/lc") || n(`/lc/apps${o || ""}`, { replace: !0 });
102
+ }, [a, o, n]);
103
+ const k = I(() => Pe(a, o), [a, o]), $ = I(() => Ee(k), [k]), v = I(
104
+ () => d === "failed" ? $ : ne($, c),
105
+ [$, c, d]
106
+ ), p = I(
107
+ () => Re(v, a, o, k),
108
+ [v, a, o, k]
109
+ );
110
+ O(() => {
111
+ k && (b((t) => t.has("应用") ? t : new Set(t).add("应用")), A((t) => t.has(k) ? t : new Set(t).add(k)));
112
+ }, [k]), O(() => {
113
+ p && v.forEach((t) => {
114
+ t.items.some(
115
+ (u) => {
116
+ var s;
117
+ return u.key === p || ((s = u.children) == null ? void 0 : s.some((_) => _.key === p));
118
+ }
119
+ ) && b(
120
+ (u) => u.has(t.title) ? u : new Set(u).add(t.title)
121
+ );
122
+ });
123
+ }, [p, v]);
124
+ const E = (t) => {
125
+ b((i) => {
126
+ const u = new Set(i);
127
+ return u.has(t) ? u.delete(t) : u.add(t), u;
128
+ });
129
+ }, M = (t) => {
130
+ A((i) => {
131
+ const u = new Set(i);
132
+ return u.has(t) ? u.delete(t) : u.add(t), u;
133
+ });
134
+ };
135
+ return /* @__PURE__ */ l("div", { className: r.shellWrap, children: [
136
+ h && /* @__PURE__ */ l("div", { className: r.productBanner, children: [
137
+ /* @__PURE__ */ e("span", { className: r.productBannerLabel, children: "📦 当前产品" }),
138
+ /* @__PURE__ */ e("span", { className: r.productBannerName, title: h.name, children: h.name }),
139
+ /* @__PURE__ */ e("span", { className: r.productBannerCode, children: h.code }),
140
+ /* @__PURE__ */ e("button", { type: "button", className: r.productBannerBack, onClick: g, children: "← 返回产品工作台" })
141
+ ] }),
142
+ /* @__PURE__ */ l("div", { className: r.shell, children: [
143
+ /* @__PURE__ */ l("aside", { className: r.sidebar, children: [
144
+ /* @__PURE__ */ l("div", { className: r.sidebarHeader, children: [
145
+ /* @__PURE__ */ e(T, {}),
146
+ /* @__PURE__ */ e("span", { children: "研发工作台" })
147
+ ] }),
148
+ /* @__PURE__ */ e(te, {}),
149
+ /* @__PURE__ */ e("nav", { className: r.menuList, children: v.map((t) => {
150
+ const i = G.has(t.title), u = p ? t.items.findIndex(
151
+ (s) => {
152
+ var _;
153
+ return s.key === p || ((_ = s.children) == null ? void 0 : _.some((x) => x.key === p));
154
+ }
155
+ ) : -1;
156
+ return /* @__PURE__ */ l("div", { className: r.menuGroup, children: [
157
+ /* @__PURE__ */ l(
158
+ "div",
159
+ {
160
+ className: `${r.menuGroupHeader} ${i ? r.menuGroupHeaderOpen : ""} ${u >= 0 ? r.menuGroupHeaderActive : ""}`,
161
+ onClick: () => E(t.title),
162
+ children: [
163
+ /* @__PURE__ */ e("span", { className: r.menuGroupIcon, children: t.icon }),
164
+ /* @__PURE__ */ e("span", { className: r.menuGroupLabel, children: t.title }),
165
+ /* @__PURE__ */ e("span", { className: r.menuGroupArrow, children: i ? /* @__PURE__ */ e(w, {}) : /* @__PURE__ */ e(B, {}) })
166
+ ]
167
+ }
168
+ ),
169
+ i && /* @__PURE__ */ e("ul", { className: r.menuSubList, children: t.items.map((s, _) => {
170
+ const x = u >= 0 && _ <= u;
171
+ if (!s.children)
172
+ return /* @__PURE__ */ e(
173
+ "li",
174
+ {
175
+ className: `${r.menuSubItem} ${x ? r.menuItemOnPath : ""} ${p === s.key ? r.menuSubItemActive : ""}`,
176
+ onClick: () => s.path && n(`${f}/${s.path}`),
177
+ children: /* @__PURE__ */ l("div", { className: r.menuSubItemPill, children: [
178
+ /* @__PURE__ */ e("span", { className: r.menuSubItemIcon, children: s.icon }),
179
+ /* @__PURE__ */ e("span", { children: s.label })
180
+ ] })
181
+ },
182
+ s.key
183
+ );
184
+ const N = m.has(s.key), H = u === _ ? s.children.findIndex((S) => S.key === p) : -1;
185
+ return /* @__PURE__ */ l(
186
+ "li",
187
+ {
188
+ className: `${r.menuSubGroup} ${x ? r.menuItemOnPath : ""}`,
189
+ children: [
190
+ /* @__PURE__ */ l(
191
+ "div",
192
+ {
193
+ className: `${r.menuSubGroupHeader} ${N ? r.menuSubGroupHeaderOpen : ""} ${u === _ ? r.menuSubGroupHeaderActive : ""}`,
194
+ onClick: () => M(s.key),
195
+ children: [
196
+ /* @__PURE__ */ e("span", { className: r.menuGroupIcon, children: s.icon }),
197
+ /* @__PURE__ */ e("span", { className: r.menuSubGroupLabel, children: s.label }),
198
+ /* @__PURE__ */ e("span", { className: r.menuGroupArrow, children: N ? /* @__PURE__ */ e(w, {}) : /* @__PURE__ */ e(B, {}) })
199
+ ]
200
+ }
201
+ ),
202
+ N && /* @__PURE__ */ e("ul", { className: r.menuSubList, children: s.children.map((S, R) => /* @__PURE__ */ e(
203
+ "li",
204
+ {
205
+ className: `${r.menuSubItem} ${H >= 0 && R <= H ? r.menuItemOnPath : ""} ${p === S.key ? r.menuSubItemActive : ""}`,
206
+ onClick: () => S.path && n(`${f}/${S.path}`),
207
+ children: /* @__PURE__ */ l("div", { className: r.menuSubItemPill, children: [
208
+ /* @__PURE__ */ e("span", { className: r.menuSubItemIcon, children: S.icon }),
209
+ /* @__PURE__ */ e("span", { children: S.label })
210
+ ] })
211
+ },
212
+ S.key
213
+ )) })
214
+ ]
215
+ },
216
+ s.key
217
+ );
218
+ }) })
219
+ ] }, t.title);
220
+ }) })
221
+ ] }),
222
+ /* @__PURE__ */ e("main", { className: r.main, children: /* @__PURE__ */ e(ee, {}) })
223
+ ] })
224
+ ] });
225
+ }
226
+ export {
227
+ Ke as default
228
+ };
@@ -1,13 +1,13 @@
1
1
  import { jsx as n, jsxs as p, Fragment as J } from "react/jsx-runtime";
2
- import { S as An, P as Dn } from "./webide-Iw2coFFL.js";
2
+ import { S as An, P as Dn } from "./webide-C2JfQ-Je.js";
3
3
  import { Dropdown as en } from "antd";
4
4
  import { PlayCircleOutlined as Pn, FileTextOutlined as cn, PlusOutlined as $n, ClockCircleOutlined as jn, AppstoreOutlined as xn, UnorderedListOutlined as En, SettingOutlined as Rn } from "@ant-design/icons";
5
5
  import { useState as d, useRef as Ne, useEffect as I, useCallback as B, useMemo as L } from "react";
6
- import { u as X, o as Mn, q as Kn, t as Fn, n as z, v as Bn, w as ke, x as Hn, y as Wn } from "./ComponentDoc-C1yrRq6Y.js";
7
- import { s, T as _n, R as De, D as we, f as Zn, a as Gn, F as Pe, P as Vn, L as Un, A as Qn, C as zn, b as Jn, c as Xn, p as Yn, d as qn, e as nn, g as tn, h as et, W as nt, i as tt, S as st, j as at, k as lt, l as sn, m as ot, r as it, n as ct, U as rt, o as dt, q as ut, t as pt } from "./index-DXvw5NUH.js";
8
- import { u as rn, i as ht, s as an, c as mt } from "./createWorkspaceWsHandler-CkgJR6Oo.js";
9
- import { h as ft, f as gt } from "./index-Dg_qr92O.js";
10
- import { S as bt, P as yt, L as kt, a as Nt, E as wt, C as Tt, W as ln, b as on, T as vt, c as Ct } from "./ScheduledTasks-0FX6xhIs.js";
6
+ import { u as X, o as Mn, q as Kn, t as Fn, n as z, v as Bn, w as ke, x as Hn, y as Wn } from "./ComponentDoc-BAUII4UZ.js";
7
+ import { s, T as _n, R as De, D as we, f as Zn, a as Gn, F as Pe, P as Vn, L as Un, A as Qn, C as zn, b as Jn, c as Xn, p as Yn, d as qn, e as nn, g as tn, h as et, W as nt, i as tt, S as st, j as at, k as lt, l as sn, m as ot, r as it, n as ct, U as rt, o as dt, q as ut, t as pt } from "./index-CMLlvrEW.js";
8
+ import { u as rn, i as ht, s as an, c as mt } from "./createWorkspaceWsHandler-y6pRWLoa.js";
9
+ import { h as ft, f as gt } from "./index-Do3pyigD.js";
10
+ import { S as bt, P as yt, L as kt, a as Nt, E as wt, C as Tt, W as ln, b as on, T as vt, c as Ct } from "./ScheduledTasks-DZSEnuIF.js";
11
11
  import { TodoTab as St } from "@yuku123/z-task-component";
12
12
  const It = [
13
13
  "帮我排查一个线上问题",
@@ -1,8 +1,8 @@
1
1
  import { jsxs as t, jsx as n, Fragment as _ } from "react/jsx-runtime";
2
2
  import { useState as i, useRef as D, useCallback as B, useEffect as N } from "react";
3
- import { u as j } from "./ComponentDoc-C1yrRq6Y.js";
3
+ import { u as j } from "./ComponentDoc-BAUII4UZ.js";
4
4
  /* empty css */
5
- import { l as F, c as G, a as z, b as K, p as W } from "./api-BgrPNvTB.js";
5
+ import { l as F, c as G, a as z, b as K, p as W } from "./api-B-nnjGsa.js";
6
6
  const L = "dev_brain_scenario";
7
7
  function q() {
8
8
  var M;
@@ -1,18 +1,18 @@
1
1
  import { jsxs as p, 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 X, s as Z } from "./sso-user-F62YVj4w.js";
3
+ import { r as de, h as X, s as Z } from "./sso-user-Dr8_-Sxd.js";
4
4
  import { ArrowLeftOutlined as ue, LogoutOutlined as pe, SearchOutlined as me } from "@ant-design/icons";
5
5
  import { Spin as O, Button as K, Input as he, Empty as Y, Tag as fe, message as ge } from "antd";
6
6
  import B from "query-string";
7
7
  import { useState as y, useRef as E, useEffect as w, useMemo as J, useCallback as q } from "react";
8
8
  import { useLocation as be } from "react-router-dom";
9
9
  import { h as A } from "./history-BlrA1eaW.js";
10
- import { a as ke, C as we } from "./createWorkspaceWsHandler-CkgJR6Oo.js";
11
- import { u as c, X as Se, Y as ye, _ as ve, $ as Ne, a0 as Te, a1 as je, k as ee } from "./ComponentDoc-C1yrRq6Y.js";
12
- import { l as Ce, j as Pe } from "./instance-BXN17-Ol.js";
10
+ import { a as ke, C as we } from "./createWorkspaceWsHandler-y6pRWLoa.js";
11
+ import { u as c, X as Se, Y as ye, _ as ve, $ as Ne, a0 as Te, a1 as je, k as ee } from "./ComponentDoc-BAUII4UZ.js";
12
+ import { l as Ce, j as Pe } from "./instance-DL4u5k9c.js";
13
13
  import { i as xe, s as _e } from "./mobile-client-O3yr9h6t.js";
14
14
  /* empty css */
15
- import { s as Ee } from "./admin-logs-OZ3s7ssr.js";
15
+ import { s as Ee } from "./admin-logs-DEawvNOd.js";
16
16
  const ae = 2e4;
17
17
  function Ae(o, i = ae, n = globalThis) {
18
18
  let s = null;
@@ -2,7 +2,7 @@ import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
2
  import { CopyOutlined as re, ReloadOutlined as Ae, PlusOutlined as Be, DeleteOutlined as qe, ClearOutlined as Ge, CloseOutlined as Je, SendOutlined as We, RobotOutlined as xe, CloudServerOutlined as Qe, MessageOutlined as Ve, KeyOutlined as Ye, ApiOutlined as Xe, ToolOutlined as Ze, BarChartOutlined as et } from "@ant-design/icons";
3
3
  import { useState as f, useEffect as Z, useCallback as F, useRef as pe, useMemo as Ie, Suspense as tt, lazy as at } from "react";
4
4
  import { Table as _e, Tooltip as ae, Tabs as Me, Input as fe, Button as z, Modal as ke, Drawer as be, Spin as ne, Statistic as K, message as J, Tag as Y, Select as nt, Checkbox as ot } from "antd";
5
- import { u as Pe } from "./ComponentDoc-C1yrRq6Y.js";
5
+ import { u as Pe } from "./ComponentDoc-BAUII4UZ.js";
6
6
  import { AgentAppList as st, McpPage as lt, SkillMarket as rt } from "@yuku123/z-agent-component";
7
7
  const de = "ft_gateway_default_ak", Ee = "system-default", ee = "", ye = "";
8
8
  function te(a = {}) {
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-C1yrRq6Y.js";
1
+ import { C as e, P as s, S as a, Z as r, i } from "./ComponentDoc-BAUII4UZ.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 l, B as r, b as c } from "./ComponentDoc-C1yrRq6Y.js";
1
+ import { a as o, f as l, B as r, b as c } from "./ComponentDoc-BAUII4UZ.js";
2
2
  async function I(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));
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
2
  import { Alert as h } from "antd";
3
- import { u as d } from "./ComponentDoc-C1yrRq6Y.js";
4
- import { h as g } from "./index-Dg_qr92O.js";
5
- import { N as A } from "./index-DXvw5NUH.js";
3
+ import { u as d } from "./ComponentDoc-BAUII4UZ.js";
4
+ import { h as g } from "./index-Do3pyigD.js";
5
+ import { N as A } from "./index-CMLlvrEW.js";
6
6
  function P() {
7
7
  return d((n) => n.permissionState) !== "failed" ? null : /* @__PURE__ */ a(
8
8
  h,
package/dist/pages.js CHANGED
@@ -1,4 +1,4 @@
1
- import { S as t, P as o, C as r, Z as a } from "./ComponentDoc-C1yrRq6Y.js";
1
+ import { S as t, P as o, C as r, Z as a } from "./ComponentDoc-BAUII4UZ.js";
2
2
  import { createElement as e } from "react";
3
3
  import { BellOutlined as m, ProjectOutlined as p, DesktopOutlined as i, ReadOutlined as n } from "@ant-design/icons";
4
4
  import "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import { s as l } from "./ComponentDoc-C1yrRq6Y.js";
1
+ import { s as l } from "./ComponentDoc-BAUII4UZ.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 "./ComponentDoc-C1yrRq6Y.js";
1
+ import { t as l } from "./ComponentDoc-BAUII4UZ.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, b as m } from "./ComponentDoc-C1yrRq6Y.js";
1
+ import { a as g, f, B as y, b as m } from "./ComponentDoc-BAUII4UZ.js";
2
2
  function t(n, a = "") {
3
3
  const i = new URLSearchParams();
4
4
  Object.entries(n).forEach(([u, o]) => {
@@ -6,9 +6,9 @@ import ur from "react-markdown";
6
6
  import mr from "rehype-highlight";
7
7
  import fr from "remark-gfm";
8
8
  import { h as pr } from "./history-BlrA1eaW.js";
9
- import { a as w, f as _, B as v, b as C, u as ea, n as yt, a5 as hr, t as et, e as yr, a7 as gr, a8 as On, a9 as _r, aa as ta } from "./ComponentDoc-C1yrRq6Y.js";
10
- import { f as br, a as vr, u as En, b as Sr, c as wr, r as Cr, d as Nr, e as Tr, g as kr, h as Ir, m as $r } from "./admin-logs-OZ3s7ssr.js";
11
- import { a as xr, f as Lr, c as Ar } from "./index-Dg_qr92O.js";
9
+ import { a as w, f as _, B as v, b as C, u as ea, n as yt, a5 as hr, t as et, e as yr, a7 as gr, a8 as On, a9 as _r, aa as ta } from "./ComponentDoc-BAUII4UZ.js";
10
+ import { f as br, a as vr, u as En, b as Sr, c as wr, r as Cr, d as Nr, e as Tr, g as kr, h as Ir, m as $r } from "./admin-logs-DEawvNOd.js";
11
+ import { a as xr, f as Lr, c as Ar } from "./index-Do3pyigD.js";
12
12
  import { findTodosLinkedToNote as Dr, buildTodoProjectContext as Rr, linkedTodoChipLabel as Or } from "@yuku123/z-task-component";
13
13
  import Ne from "dayjs";
14
14
  import "./echarts-B1OU1xr4.js";