@yuku123/z-team-component 0.2.112 → 0.2.114

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-B7cMx3Bi.js → ChangeLogView-1-S4MEB1.js} +1 -1
  2. package/dist/{ComponentDoc-B6TVciFv.js → ComponentDoc-Sa3tPY-g.js} +3 -3
  3. package/dist/{InvitationManagementPage-Da8qCTmd.js → InvitationManagementPage-HZs4bdak.js} +1 -1
  4. package/dist/{OnboardingPage-BUmvx6p7.js → OnboardingPage-B5OgZASN.js} +2 -2
  5. package/dist/{ScheduledTasks-ZvrskUuu.js → ScheduledTasks-CToyeRUq.js} +6 -6
  6. package/dist/{SystemShell-aeO9jKKr.js → SystemShell-BhHPNWpZ.js} +4 -4
  7. package/dist/{admin-logs-CknnGuR4.js → admin-logs-D11ATzyh.js} +1 -1
  8. package/dist/{api-BYPtX7kc.js → api-Bh2pIpgt.js} +1 -1
  9. package/dist/{api-3uFbzaqp.js → api-CeeVdjN0.js} +1 -1
  10. package/dist/{createWorkspaceWsHandler-CidEgesk.js → createWorkspaceWsHandler-u1JoCPmD.js} +3 -3
  11. package/dist/{index-BOoa-ZUV.js → index--Drbx2jZ.js} +2 -2
  12. package/dist/{index-BN8EFwf0.js → index-58Ncrbai.js} +253 -247
  13. package/dist/{index-BAIVuQuX.js → index-B37k7sBw.js} +3 -3
  14. package/dist/{index-D6EuWCRD.js → index-BCvF-oLV.js} +2 -2
  15. package/dist/index-BFhr0Fay.js +147 -0
  16. package/dist/{index-Dg3xzNu_.js → index-BfHaPjcW.js} +2 -2
  17. package/dist/{index-C-wU3z6v.js → index-BhmgPrmH.js} +1 -1
  18. package/dist/{index-HPCdZacc.js → index-Bjc1DKF1.js} +3 -3
  19. package/dist/{index-DLuLYnIB.js → index-BvZEUp32.js} +2 -2
  20. package/dist/{index-C9HASn0X.js → index-C2dLZ4oU.js} +3 -3
  21. package/dist/{index-BnZc0pbx.js → index-C3WQJJ0C.js} +1 -1
  22. package/dist/{index-Dx9UpJZN.js → index-C9CF7Nsd.js} +1 -1
  23. package/dist/{index-CjGCP9FP.js → index-CMgNvlmo.js} +5 -5
  24. package/dist/{index-BXk3bjiv.js → index-CflRaLqk.js} +3 -3
  25. package/dist/{index-CDQA4QdC.js → index-CoyGbqjP.js} +12 -12
  26. package/dist/{index-DDc_NN8J.js → index-CpQ71Ipv.js} +1 -1
  27. package/dist/{index-CVoS2loC.js → index-CsjvSiEq.js} +3 -3
  28. package/dist/{index-0fFX5-t1.js → index-DTWfL9EF.js} +3 -3
  29. package/dist/{index-BrNcqiL0.js → index-Dbgu1GMZ.js} +4 -4
  30. package/dist/{index-CF2w7f7D.js → index-DuUUslV_.js} +2 -2
  31. package/dist/{index-ByRgBkJO.js → index-Iy3bCyGV.js} +2 -2
  32. package/dist/{index-BZqJulGw.js → index-S4KVdYhB.js} +3 -3
  33. package/dist/{index-CMXFhbO9.js → index-dmJO62ji.js} +6 -6
  34. package/dist/{index-CB0X1hPQ.js → index-eOBmPcNH.js} +6 -6
  35. package/dist/{index-CKIzCbcm.js → index-kG57tOUk.js} +1 -1
  36. package/dist/index.js +1 -1
  37. package/dist/{instance-Dm3M39Qs.js → instance-HaVeSP6w.js} +1 -1
  38. package/dist/{menuPermission-D-FEv6Mp.js → menuPermission-DbAZEF9A.js} +3 -3
  39. package/dist/pages.js +1 -1
  40. package/dist/{send-default-agent-team-message-BjGCuqxm.js → send-default-agent-team-message-D6QVPUN-.js} +1 -1
  41. package/dist/{sso-user-Bp_hz18Y.js → sso-user-hSducls9.js} +1 -1
  42. package/dist/{training-BikyoDuw.js → training-CDkhiMNH.js} +1 -1
  43. package/dist/{webide-C4vtuekF.js → webide-TsIJlh_u.js} +3 -3
  44. package/package.json +1 -1
  45. package/dist/index-cfu1Eo4O.js +0 -143
@@ -1,4 +1,4 @@
1
- import { s as l } from "./ComponentDoc-B6TVciFv.js";
1
+ import { s as l } from "./ComponentDoc-Sa3tPY-g.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-B6TVciFv.js";
1
+ import { t as l } from "./ComponentDoc-Sa3tPY-g.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-B6TVciFv.js";
1
+ import { a as g, f, B as y, b as m } from "./ComponentDoc-Sa3tPY-g.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, aa as hr, t as et, e as yr, ac as gr, ad as On, ae as _r, af as ta } from "./ComponentDoc-B6TVciFv.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-CknnGuR4.js";
11
- import { a as xr, f as Lr, c as Ar } from "./index-Dx9UpJZN.js";
9
+ import { a as w, f as _, B as v, b as C, u as ea, n as yt, aa as hr, t as et, e as yr, ac as gr, ad as On, ae as _r, af as ta } from "./ComponentDoc-Sa3tPY-g.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-D11ATzyh.js";
11
+ import { a as xr, f as Lr, c as Ar } from "./index-C9CF7Nsd.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";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuku123/z-team-component",
3
- "version": "0.2.112",
3
+ "version": "0.2.114",
4
4
  "description": "z-team 团队工作台组件层(lead 005 §8.7:403 文件整体接管,含 pages/workspace/ 系统模式集成 shell)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,143 +0,0 @@
1
- import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
- import { useState as I, useMemo as p } from "react";
3
- import { useNavigate as B, useLocation as L } from "react-router-dom";
4
- import { CodeOutlined as y, DownOutlined as G, RightOutlined as v, AppstoreOutlined as O, TableOutlined as A, DatabaseOutlined as C, RobotOutlined as W, FunctionOutlined as H, ApartmentOutlined as M, EyeOutlined as P, BranchesOutlined as R, DeploymentUnitOutlined as _, SafetyCertificateOutlined as U } from "@ant-design/icons";
5
- import $ from "@yuku123/z-lc-component";
6
- import { f as x, M as D } from "./menuPermission-D-FEv6Mp.js";
7
- import { u as h } from "./ComponentDoc-B6TVciFv.js";
8
- const E = "_shellWrap_1gpbw_7", T = "_shell_1gpbw_7", j = "_productBanner_1gpbw_25", K = "_productBannerLabel_1gpbw_37", q = "_productBannerName_1gpbw_43", F = "_productBannerCode_1gpbw_51", z = "_productBannerBack_1gpbw_56", J = "_sidebar_1gpbw_73", Q = "_sidebarHeader_1gpbw_84", V = "_menuList_1gpbw_95", X = "_menuGroup_1gpbw_101", Y = "_menuGroupHeader_1gpbw_105", Z = "_menuGroupLabel_1gpbw_123", ee = "_menuGroupArrow_1gpbw_127", ne = "_menuSubList_1gpbw_132", te = "_menuSubItemWrap_1gpbw_138", ae = "_menuSubItem_1gpbw_138", re = "_menuSubItemActive_1gpbw_159", se = "_menuSubItemIcon_1gpbw_166", oe = "_menuSubItemLabel_1gpbw_171", ie = "_main_1gpbw_176", t = {
9
- shellWrap: E,
10
- shell: T,
11
- productBanner: j,
12
- productBannerLabel: K,
13
- productBannerName: q,
14
- productBannerCode: F,
15
- productBannerBack: z,
16
- sidebar: J,
17
- sidebarHeader: Q,
18
- menuList: V,
19
- menuGroup: X,
20
- menuGroupHeader: Y,
21
- menuGroupLabel: Z,
22
- menuGroupArrow: ee,
23
- menuSubList: ne,
24
- menuSubItemWrap: te,
25
- menuSubItem: ae,
26
- menuSubItemActive: re,
27
- menuSubItemIcon: se,
28
- menuSubItemLabel: oe,
29
- main: ie
30
- }, m = [
31
- {
32
- title: "应用",
33
- items: [
34
- { key: "apps", label: "应用列表", icon: /* @__PURE__ */ e(O, {}), path: "apps" }
35
- ]
36
- },
37
- {
38
- title: "建模",
39
- items: [
40
- { key: "designer", label: "Schema 设计器", icon: /* @__PURE__ */ e(A, {}), path: "designer" },
41
- { key: "db-import", label: "从数据库导入", icon: /* @__PURE__ */ e(C, {}), path: "db-import" },
42
- { key: "admin-ai", label: "AI 建模", icon: /* @__PURE__ */ e(W, {}), path: "admin/ai" }
43
- ]
44
- },
45
- {
46
- title: "配置",
47
- items: [
48
- { key: "admin-dicts", label: "数据字典", icon: /* @__PURE__ */ e(H, {}), path: "admin/dicts" },
49
- { key: "admin-relations", label: "实体关系", icon: /* @__PURE__ */ e(M, {}), path: "admin/relations" },
50
- { key: "admin-views", label: "视图配置", icon: /* @__PURE__ */ e(P, {}), path: "admin/views" },
51
- { key: "admin-pipelines", label: "Pipeline", icon: /* @__PURE__ */ e(R, {}), path: "admin/pipelines" },
52
- { key: "admin-workflows", label: "流程绑定", icon: /* @__PURE__ */ e(_, {}), path: "admin/workflows" }
53
- ]
54
- },
55
- {
56
- title: "运行",
57
- items: [
58
- { key: "admin-permissions", label: "权限矩阵", icon: /* @__PURE__ */ e(U, {}), path: "admin/permissions", permission: "PERMISSION_MANAGE" },
59
- { key: "admin-deployments", label: "部署记录", icon: /* @__PURE__ */ e(_, {}), path: "admin/deployments" }
60
- ]
61
- }
62
- ], d = "/lc";
63
- function ce(i) {
64
- if (!i.startsWith(d)) return null;
65
- const u = i.slice(d.length).replace(/^\//, "");
66
- for (const l of m)
67
- for (const c of l.items)
68
- if (u === c.path || u.startsWith(`${c.path}/`)) return c.key;
69
- return null;
70
- }
71
- function he() {
72
- const i = B(), { pathname: u, search: l } = L(), c = h((n) => n.currentUser), b = h((n) => n.permissionState), [S, w] = I(
73
- new Set(m.map((n) => n.title))
74
- ), r = p(() => {
75
- try {
76
- const n = new URLSearchParams(l), s = n.get("product");
77
- return s ? { code: s, name: n.get("productName") || s } : null;
78
- } catch {
79
- return null;
80
- }
81
- }, [l]), N = useCallback(() => {
82
- if (!r) return;
83
- const n = new URLSearchParams();
84
- n.set("product", r.code), r.name && n.set("productName", r.name), i(`/workspace?mode=product&${n.toString()}`);
85
- }, [r, i]), g = p(
86
- () => b === "failed" ? m : x(m, c),
87
- [c, b]
88
- ), f = p(() => ce(u), [u]), k = (n) => {
89
- w((s) => {
90
- const a = new Set(s);
91
- return a.has(n) ? a.delete(n) : a.add(n), a;
92
- });
93
- };
94
- return /* @__PURE__ */ o("div", { className: t.shellWrap, children: [
95
- r && /* @__PURE__ */ o("div", { className: t.productBanner, children: [
96
- /* @__PURE__ */ e("span", { className: t.productBannerLabel, children: "📦 当前产品" }),
97
- /* @__PURE__ */ e("span", { className: t.productBannerName, title: r.name, children: r.name }),
98
- /* @__PURE__ */ e("span", { className: t.productBannerCode, children: r.code }),
99
- /* @__PURE__ */ e("button", { type: "button", className: t.productBannerBack, onClick: N, children: "← 返回产品工作台" })
100
- ] }),
101
- /* @__PURE__ */ o("div", { className: t.shell, children: [
102
- /* @__PURE__ */ o("aside", { className: t.sidebar, children: [
103
- /* @__PURE__ */ o("div", { className: t.sidebarHeader, children: [
104
- /* @__PURE__ */ e(y, {}),
105
- /* @__PURE__ */ e("span", { children: "研发工作台" })
106
- ] }),
107
- /* @__PURE__ */ e(D, {}),
108
- /* @__PURE__ */ e("nav", { className: t.menuList, children: g.map((n) => {
109
- const s = !S.has(n.title);
110
- return /* @__PURE__ */ o("div", { className: t.menuGroup, children: [
111
- /* @__PURE__ */ o(
112
- "div",
113
- {
114
- className: t.menuGroupHeader,
115
- onClick: () => k(n.title),
116
- children: [
117
- /* @__PURE__ */ e("span", { className: t.menuGroupLabel, children: n.title }),
118
- /* @__PURE__ */ e("span", { className: t.menuGroupArrow, children: s ? /* @__PURE__ */ e(G, {}) : /* @__PURE__ */ e(v, {}) })
119
- ]
120
- }
121
- ),
122
- s && /* @__PURE__ */ e("ul", { className: t.menuSubList, children: n.items.map((a) => /* @__PURE__ */ o(
123
- "li",
124
- {
125
- className: `${t.menuSubItemWrap} ${t.menuSubItem} ${f === a.key ? t.menuSubItemActive : ""}`,
126
- onClick: () => i(`${d}/${a.path}`),
127
- children: [
128
- /* @__PURE__ */ e("span", { className: t.menuSubItemIcon, children: a.icon }),
129
- /* @__PURE__ */ e("span", { className: t.menuSubItemLabel, children: a.label })
130
- ]
131
- },
132
- a.key
133
- )) })
134
- ] }, n.title);
135
- }) })
136
- ] }),
137
- /* @__PURE__ */ e("main", { className: t.main, children: /* @__PURE__ */ e($, {}) })
138
- ] })
139
- ] });
140
- }
141
- export {
142
- he as default
143
- };