@yuku123/z-team-component 0.2.73 → 0.2.75

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 (27) hide show
  1. package/dist/{ComponentDoc-D6j0q6td.js → ComponentDoc-CMfr27b7.js} +1 -1
  2. package/dist/{InvitationManagementPage-CguvahDP.js → InvitationManagementPage-SMhrq5dN.js} +1 -1
  3. package/dist/{OnboardingPage-CMtXJdWG.js → OnboardingPage-CjLgp-jE.js} +2 -2
  4. package/dist/{ScheduledTasks-CboH2Vtb.js → ScheduledTasks-C2wsuoa9.js} +766 -766
  5. package/dist/{SystemShell-Bj3uLkb-.js → SystemShell-y3kvbENk.js} +215 -196
  6. package/dist/{api-DcV3bpwl.js → api-CVKSSNXw.js} +1 -1
  7. package/dist/{createWorkspaceWsHandler-BUDc2OuA.js → createWorkspaceWsHandler-25JfnMML.js} +1834 -1812
  8. package/dist/{index-CM81Z4Gw.js → index-3c6HvG__.js} +1 -1
  9. package/dist/{index--l2UiQAT.js → index-B_oOPFoQ.js} +30 -30
  10. package/dist/{index-nj-cjKsf.js → index-BohoJQPr.js} +1849 -1857
  11. package/dist/{index-BJqS68-M.js → index-CbTwXfER.js} +1 -1
  12. package/dist/{index-CWnbQ1Ho.js → index-CchpPnBl.js} +1 -1
  13. package/dist/{index-ewTV5yeN.js → index-Cd_xAvmO.js} +3873 -3761
  14. package/dist/{index-Cz45ypLD.js → index-CeCBja5s.js} +3 -3
  15. package/dist/{index-DjFfvrfB.js → index-CfW9kGYJ.js} +16 -15
  16. package/dist/{index-CRgnk_Ly.js → index-D54nAoGP.js} +3 -3
  17. package/dist/{index-DdEl0ec4.js → index-DWd0Y6qP.js} +1 -1
  18. package/dist/{index-D8WafKB8.js → index-Pq3n7-vE.js} +2 -2
  19. package/dist/{index-CfljuY26.js → index-_53KTMhL.js} +1 -1
  20. package/dist/{index-DQ6ZfUO0.js → index-e9H9wjYU.js} +447 -445
  21. package/dist/{index-DB0RIaB4.js → index-fW1JBhEB.js} +2 -2
  22. package/dist/index.js +1 -1
  23. package/dist/{menuPermission-B0HlWqWx.js → menuPermission-CtJddtOO.js} +1 -1
  24. package/dist/pages.js +11 -11
  25. package/dist/z-team-component.css +1 -1
  26. package/package.json +2 -2
  27. package/dist/index-DrDur76N.js +0 -1747
@@ -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--l2UiQAT.js";
6
- import { M as D } from "./ComponentDoc-D6j0q6td.js";
7
- import "./index-ewTV5yeN.js";
5
+ import { W as P } from "./index-B_oOPFoQ.js";
6
+ import { M as D } from "./ComponentDoc-CMfr27b7.js";
7
+ import "./index-Cd_xAvmO.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 运维",
@@ -1,16 +1,16 @@
1
1
  import { jsxs as d, jsx as t } from "react/jsx-runtime";
2
2
  import { useState as r, useCallback as c } from "react";
3
- import { S as D, T as N, P as I } from "./webide-BlpH-J-H.js";
4
- import { P as W, S as H, C as $, E as B, a as E, W as h, b, T as j, c as K } from "./ScheduledTasks-CboH2Vtb.js";
5
- import { p as q } from "./index-ewTV5yeN.js";
3
+ import { S as C, T as N, P as I } from "./webide-BlpH-J-H.js";
4
+ import { P as W, S as H, C as $, E as B, a as E, W as h, b, T as j, c as K } from "./ScheduledTasks-C2wsuoa9.js";
5
+ import { p as q } from "./index-Cd_xAvmO.js";
6
6
  function M({
7
7
  view: s,
8
8
  agents: o,
9
9
  token: i,
10
- currentUser: g,
10
+ currentUser: u,
11
11
  onOpenChat: l,
12
12
  onOpenAgentDetail: f,
13
- onBackToExtensions: u,
13
+ onBackToExtensions: g,
14
14
  onOpenTab: a,
15
15
  onAgentCreated: T,
16
16
  onOpenProject: n,
@@ -20,17 +20,17 @@ function M({
20
20
  null
21
21
  ), [x, P] = r(
22
22
  null
23
- ), y = c(
23
+ ), S = c(
24
24
  (e) => {
25
25
  a("notes"), k({ id: e, ts: Date.now() });
26
26
  },
27
27
  [a]
28
- ), A = c(
28
+ ), y = c(
29
29
  (e) => {
30
30
  a("todo"), P({ id: e, ts: Date.now() });
31
31
  },
32
32
  [a]
33
- ), C = s.kind === "chat" ? `${s.agent.id}-${s.sessionId ?? "new"}-${s.ts}` : "none";
33
+ ), D = s.kind === "chat" ? `${s.agent.id}-${s.sessionId ?? "new"}-${s.ts}` : "none";
34
34
  return /* @__PURE__ */ d("div", { style: { height: "100%", display: "flex", flexDirection: "column" }, children: [
35
35
  s.kind === "chat" && /* @__PURE__ */ t(
36
36
  "div",
@@ -47,11 +47,12 @@ function M({
47
47
  agent: s.agent,
48
48
  initialSessionId: s.sessionId,
49
49
  draftNoAutoPick: s.draft === !0,
50
+ autoSendDraft: s.autoSendDraft ?? null,
50
51
  chromeless: !0,
51
52
  agents: o,
52
53
  onSwitchAgent: (e) => l(e)
53
54
  },
54
- C
55
+ D
55
56
  )
56
57
  }
57
58
  ),
@@ -61,7 +62,7 @@ function M({
61
62
  {
62
63
  agents: o,
63
64
  token: i,
64
- onOpenSession: (e, S) => l(e, S)
65
+ onOpenSession: (e, A) => l(e, A)
65
66
  }
66
67
  ),
67
68
  s.kind === "extensions" && /* @__PURE__ */ t(
@@ -71,7 +72,7 @@ function M({
71
72
  loading: !1,
72
73
  skillsAgent: q(o),
73
74
  token: i,
74
- currentUser: g,
75
+ currentUser: u,
75
76
  onChat: (e) => l(e),
76
77
  onConfig: f,
77
78
  onCreated: T,
@@ -83,7 +84,7 @@ function M({
83
84
  E,
84
85
  {
85
86
  agent: s.agent,
86
- onBack: u
87
+ onBack: g
87
88
  }
88
89
  ) }),
89
90
  s.kind === "tab" && /* @__PURE__ */ d("div", { style: { flex: 1, minHeight: 0 }, children: [
@@ -107,14 +108,14 @@ function M({
107
108
  hideTabs: !0
108
109
  }
109
110
  ),
110
- s.tab === "business-stats" && /* @__PURE__ */ t(D, { source: "scenario" }),
111
+ s.tab === "business-stats" && /* @__PURE__ */ t(C, { source: "scenario" }),
111
112
  s.tab === "tools" && /* @__PURE__ */ t(b, { showTools: !0, showWebsites: !1 }),
112
113
  s.tab === "websites" && /* @__PURE__ */ t(b, { showTools: !1, showWebsites: !0 }),
113
114
  s.tab === "todo" && /* @__PURE__ */ t(
114
115
  N,
115
116
  {
116
117
  onOpenProject: n,
117
- onOpenNote: y,
118
+ onOpenNote: S,
118
119
  openTodoId: x
119
120
  }
120
121
  ),
@@ -122,7 +123,7 @@ function M({
122
123
  I,
123
124
  {
124
125
  onOpenProject: n,
125
- onOpenTodo: A,
126
+ onOpenTodo: y,
126
127
  openNoteId: p
127
128
  }
128
129
  ),
@@ -8,8 +8,8 @@ import gp from "rehype-highlight";
8
8
  import Jp from "remark-gfm";
9
9
  import { ap as xa, aq as jA } from "./api-DPkUB1DA.js";
10
10
  import { u as Dp } from "./useAppStore-DQP0l22d.js";
11
- import { w as ia, x as oA, y as fA, z as lA, i as xA, B as iA, E as cA, G as TA, H as vA, I as up, J as Yp, K as mp, M as yp, O as Ip, Q as FA, V as dA, X as OA, Y as XA } from "./index-ewTV5yeN.js";
12
- import { b as RA, d as NA, f as kA, e as WA, g as Cp, h as DA, j as qA, r as uA, k as mA, l as wA, m as BA, n as GA, o as LA, p as zA, q as VA } from "./createWorkspaceWsHandler-BUDc2OuA.js";
11
+ import { w as ia, x as oA, y as fA, z as lA, i as xA, B as iA, E as cA, G as TA, H as vA, I as up, J as Yp, K as mp, M as yp, O as Ip, Q as FA, V as dA, X as OA, Y as XA } from "./index-Cd_xAvmO.js";
12
+ import { d as RA, e as NA, f as kA, g as WA, h as Cp, j as DA, k as qA, r as uA, l as mA, m as wA, n as BA, o as GA, p as LA, q as zA, t as VA } from "./createWorkspaceWsHandler-25JfnMML.js";
13
13
  import { h as r } from "./index.module-CAa-2T7m.js";
14
14
  const gA = "_editorView_as93v_7", JA = "_editorTopBar_as93v_16", bA = "_backBtn_as93v_25", MA = "_titleInput_as93v_39", sA = "_summaryBar_as93v_50", QA = "_summaryInput_as93v_55", hA = "_mdToolbar_as93v_67", YA = "_mdBtn_as93v_77", yA = "_mdSep_as93v_84", IA = "_editorBody_as93v_93", CA = "_tocPanel_as93v_100", ZA = "_tocHeader_as93v_108", EA = "_tocList_as93v_117", _A = "_tocItem_as93v_122", $A = "_tocEmpty_as93v_137", pt = "_textarea_as93v_144", at = "_half_as93v_160", At = "_preview_as93v_163", tt = "_markdown_as93v_173", et = "_videoEmbed_as93v_185", w = {
15
15
  editorView: gA,
@@ -1682,7 +1682,7 @@ const Rt = [
1682
1682
  draftDeleteBtn: T0,
1683
1683
  markdown: v0
1684
1684
  }, F0 = HA(
1685
- () => import("./index-CfljuY26.js").then((a) => ({ default: a.MarketContent }))
1685
+ () => import("./index-_53KTMhL.js").then((a) => ({ default: a.MarketContent }))
1686
1686
  );
1687
1687
  function d0(a) {
1688
1688
  const n = [], x = a.split(`
@@ -1,7 +1,7 @@
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 { g as b, s as g } from "./ComponentDoc-D6j0q6td.js";
4
+ import { g as b, s as g } from "./ComponentDoc-CMfr27b7.js";
5
5
  import { i as K, P as x } from "./schedule-iMEGim0L.js";
6
6
  const E = "_banner_2v7mc_1", S = "_dot_2v7mc_18", f = "_text_2v7mc_26", A = "_retry_2v7mc_31", F = "_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,
@@ -2,7 +2,7 @@ import { jsx as e } from "react/jsx-runtime";
2
2
  import { Navigate as t } from "react-router-dom";
3
3
  import { lazy as A } from "react";
4
4
  import { UnorderedListOutlined as i, HistoryOutlined as T, ClusterOutlined as p, DashboardOutlined as s, ExperimentOutlined as q, SettingOutlined as d, KeyOutlined as n, AppstoreOutlined as r, SafetyCertificateOutlined as P, TeamOutlined as w, ProfileOutlined as b, ApiOutlined as u, HddOutlined as l, ApartmentOutlined as g, InboxOutlined as k, FileTextOutlined as y, SendOutlined as G, CloudServerOutlined as a, NodeIndexOutlined as z, TableOutlined as f, SearchOutlined as m, DatabaseOutlined as v, ConsoleSqlOutlined as E, BranchesOutlined as I, DeploymentUnitOutlined as M, BookOutlined as h, FundOutlined as N, CloudUploadOutlined as _, TagsOutlined as x, CodeOutlined as B } from "@ant-design/icons";
5
- import { W as R } from "./index--l2UiQAT.js";
5
+ import { W as R } from "./index-B_oOPFoQ.js";
6
6
  import { ConfigApp as U } from "@yuku123/z-config-component";
7
7
  import { MistApp as H } from "@yuku123/z-mist-component";
8
8
  import { MetaApp as L } from "@yuku123/z-meta-component";
@@ -16,7 +16,7 @@ import { MqApp as Z } from "@yuku123/z-mq-component";
16
16
  import { OssApp as J } from "@yuku123/z-oss-component";
17
17
  import { ZkbApp as X } from "@yuku123/z-kb-component";
18
18
  import { ScriptProductizationPage as o } from "@yuku123/z-agent-component";
19
- import "./index-ewTV5yeN.js";
19
+ import "./index-Cd_xAvmO.js";
20
20
  const $ = "/api/graph";
21
21
  let O = !1;
22
22
  function ee() {
@@ -7,7 +7,7 @@ import { message as U, Input as H, Tooltip as se, Button as g, Spin as ce, Empty
7
7
  import ve from "react-markdown";
8
8
  import _e from "rehype-highlight";
9
9
  import ge from "remark-gfm";
10
- import { M as oa } from "./index-CRgnk_Ly.js";
10
+ import { M as oa } from "./index-D54nAoGP.js";
11
11
  function j(a) {
12
12
  return a ? `?token=${encodeURIComponent(a)}` : "";
13
13
  }