@yuku123/z-team-component 0.2.93 → 0.2.95

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 (46) hide show
  1. package/dist/{ChangeLogView-BjV4gBq4.js → ChangeLogView-DY_k1B64.js} +1 -1
  2. package/dist/{ComponentDoc-C9lt-45y.js → ComponentDoc-DOki_RNN.js} +28 -28
  3. package/dist/{InvitationManagementPage-CWtBWLd9.js → InvitationManagementPage-BY_80aYm.js} +1 -1
  4. package/dist/{OnboardingPage-B2fwh4gu.js → OnboardingPage-BJbMBrxH.js} +2 -2
  5. package/dist/ScheduledTasks-XTkQqn4w.js +12127 -0
  6. package/dist/{SystemShell-CTkRb3jk.js → SystemShell--qM7HCyt.js} +4 -4
  7. package/dist/{admin-logs-Dh41ezP6.js → admin-logs-Co7fE3re.js} +1 -1
  8. package/dist/{api-ChrRZOc4.js → api-775Bo4Bj.js} +1 -1
  9. package/dist/{createWorkspaceWsHandler-DMw_Vk6i.js → createWorkspaceWsHandler-BRfhB79M.js} +2572 -2565
  10. package/dist/{index-DdvzONMo.js → index-6st3qQNt.js} +3804 -3644
  11. package/dist/{index-CSXrOBjf.js → index-90EqwtNF.js} +5 -5
  12. package/dist/{index-CdqU0NUf.js → index-BIBfRHFf.js} +6 -6
  13. package/dist/{index-BnRRZ6Iv.js → index-BN3cy1Tm.js} +1 -1
  14. package/dist/{index-BYpA6zMn.js → index-BPD6fg3O.js} +2 -2
  15. package/dist/{index-DNo7i9f6.js → index-BSKD9lop.js} +3 -3
  16. package/dist/index-B_bk9bXb.js +189 -0
  17. package/dist/{index-Dy6vNz1c.js → index-BbFdWpYR.js} +4 -4
  18. package/dist/index-BjKdHw8Y.js +2217 -0
  19. package/dist/{index-CLSOhZRs.js → index-ByP1umXq.js} +2 -2
  20. package/dist/{index-Dq4oBpcb.js → index-C6r-MO3V.js} +2 -2
  21. package/dist/{index-C-XgeN0c.js → index-C7YHxq-O.js} +2 -2
  22. package/dist/{index-B_2fxZ6u.js → index-CEcQbI8N.js} +1 -1
  23. package/dist/{index-3JPBTMXq.js → index-CJMqiJom.js} +3 -3
  24. package/dist/{index-bkqC-Ys8.js → index-CP_x_8X-.js} +1 -1
  25. package/dist/{index-CLnmI_a7.js → index-CXQuOt1Z.js} +1 -1
  26. package/dist/{index-fab1eszg.js → index-Cee4Cg7R.js} +3 -3
  27. package/dist/{index-CIGBLmd6.js → index-CiJ5zEUK.js} +2 -2
  28. package/dist/{index-CnWYolUK.js → index-DRCHSrIn.js} +1 -1
  29. package/dist/{index-DtIPLfks.js → index-Df7MVpNC.js} +3 -3
  30. package/dist/{index-7glbcqX1.js → index-DzwWNvrE.js} +3 -3
  31. package/dist/{index-vIdK5WMU.js → index-OUSBycnF.js} +1 -1
  32. package/dist/{index-D1_tbmUH.js → index-eczy0dAy.js} +2 -2
  33. package/dist/{index-CrQpBHe1.js → index-yPSZNONn.js} +2 -2
  34. package/dist/index.js +1 -1
  35. package/dist/{instance-BY043pYn.js → instance-DZ2M9ud2.js} +1 -1
  36. package/dist/{menuPermission-BeYwZcoW.js → menuPermission-PpL-QSl7.js} +3 -3
  37. package/dist/pages.js +1 -1
  38. package/dist/{send-default-agent-team-message-BN61cG7q.js → send-default-agent-team-message-CMRf10FQ.js} +1 -1
  39. package/dist/{sso-user-DmsDr1MJ.js → sso-user-DRpyYb-C.js} +1 -1
  40. package/dist/{training-CU6j5m-5.js → training-Dgpwp_Hu.js} +1 -1
  41. package/dist/{webide-BYaEjOx6.js → webide-B83YQ9p1.js} +3 -3
  42. package/dist/z-team-component.css +1 -1
  43. package/package.json +1 -1
  44. package/dist/ScheduledTasks-CuQyjAK-.js +0 -10851
  45. package/dist/index-CA0ql0r3.js +0 -3495
  46. package/dist/index-DPyEBso8.js +0 -150
@@ -1,150 +0,0 @@
1
- import { jsxs as r, jsx as s } from "react/jsx-runtime";
2
- import { useState as c, useCallback as b } from "react";
3
- import { S as N, P as I } from "./webide-BYaEjOx6.js";
4
- import { P as W, S as H, C as $, E as B, a as j, W as h, b as u, T as q, c as E } from "./ScheduledTasks-CuQyjAK-.js";
5
- import { TodoTab as K } from "@yuku123/z-task-component";
6
- import { p as L } from "./index-DdvzONMo.js";
7
- function Q({
8
- view: t,
9
- agents: e,
10
- token: l,
11
- currentUser: f,
12
- onOpenChat: d,
13
- onOpenAgentDetail: g,
14
- onBackToExtensions: i,
15
- onOpenTab: o,
16
- onAgentCreated: p,
17
- onOpenProject: n,
18
- onOpenWorkbenchShell: T,
19
- onOpenHistory: m
20
- }) {
21
- const [k, x] = c(
22
- null
23
- ), [P, S] = c(
24
- null
25
- ), y = b(
26
- (a) => {
27
- o("notes"), x({ id: a, ts: Date.now() });
28
- },
29
- [o]
30
- ), D = b(
31
- (a) => {
32
- o("todo"), S({ id: a, ts: Date.now() });
33
- },
34
- [o]
35
- ), A = t.kind === "chat" ? `${t.agent.id}-${t.sessionId ?? "new"}-${t.ts}` : "none";
36
- return /* @__PURE__ */ r("div", { style: { height: "100%", display: "flex", flexDirection: "column" }, children: [
37
- t.kind === "chat" && /* @__PURE__ */ s(
38
- "div",
39
- {
40
- style: {
41
- flex: 1,
42
- minHeight: 0,
43
- display: "flex",
44
- flexDirection: "column"
45
- },
46
- children: /* @__PURE__ */ s(
47
- W,
48
- {
49
- agent: t.agent,
50
- initialSessionId: t.sessionId,
51
- draftNoAutoPick: t.draft === !0,
52
- autoSendDraft: t.autoSendDraft ?? null,
53
- chromeless: !0,
54
- agents: e,
55
- onSwitchAgent: (a) => d(a)
56
- },
57
- A
58
- )
59
- }
60
- ),
61
- t.kind === "schedule" && /* @__PURE__ */ s(
62
- H,
63
- {
64
- localOnline: !1,
65
- agents: e,
66
- token: l,
67
- defaultLane: "cloud"
68
- }
69
- ),
70
- t.kind === "history" && /* @__PURE__ */ s(
71
- $,
72
- {
73
- agents: e,
74
- token: l,
75
- onOpenSession: (a, C) => d(a, C),
76
- onBack: i
77
- }
78
- ),
79
- t.kind === "extensions" && /* @__PURE__ */ s(
80
- B,
81
- {
82
- agents: e,
83
- loading: !1,
84
- skillsAgent: L(e),
85
- token: l,
86
- currentUser: f,
87
- onChat: (a) => d(a),
88
- onConfig: g,
89
- onCreated: p,
90
- onOpenPersonalTab: o,
91
- onOpenWorkbenchShell: T,
92
- onOpenHistory: m,
93
- capTabRequest: t.cap ? { tab: t.cap, ts: t.ts } : null
94
- }
95
- ),
96
- t.kind === "agentDetail" && /* @__PURE__ */ s("div", { style: { flex: 1, minHeight: 0 }, children: /* @__PURE__ */ s(
97
- j,
98
- {
99
- agent: t.agent,
100
- onBack: i
101
- }
102
- ) }),
103
- t.kind === "tab" && /* @__PURE__ */ r("div", { style: { flex: 1, minHeight: 0 }, children: [
104
- t.tab === "projects" && /* @__PURE__ */ s(
105
- h,
106
- {
107
- activeTab: "projects",
108
- onActiveTabChange: () => {
109
- },
110
- onOpenProject: n,
111
- hideTabs: !0
112
- }
113
- ),
114
- t.tab === "personal" && /* @__PURE__ */ s(
115
- h,
116
- {
117
- activeTab: "personal",
118
- onActiveTabChange: () => {
119
- },
120
- onOpenProject: n,
121
- hideTabs: !0
122
- }
123
- ),
124
- t.tab === "business-stats" && /* @__PURE__ */ s(N, { source: "scenario" }),
125
- t.tab === "tools" && /* @__PURE__ */ s(u, { showTools: !0, showWebsites: !1 }),
126
- t.tab === "websites" && /* @__PURE__ */ s(u, { showTools: !1, showWebsites: !0 }),
127
- t.tab === "todo" && /* @__PURE__ */ s(
128
- K,
129
- {
130
- onOpenProject: n,
131
- onOpenNote: y,
132
- openTodoId: P
133
- }
134
- ),
135
- t.tab === "notes" && /* @__PURE__ */ s(
136
- I,
137
- {
138
- onOpenProject: n,
139
- onOpenTodo: D,
140
- openNoteId: k
141
- }
142
- ),
143
- t.tab === "training" && /* @__PURE__ */ s(q, {}),
144
- t.tab === "webide" && /* @__PURE__ */ s(E, {})
145
- ] })
146
- ] });
147
- }
148
- export {
149
- Q as default
150
- };