@yuku123/z-team-component 0.2.79 → 0.2.80
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.
- package/dist/{menuPermission-BxQjHIDw.js → menuPermission-D9NGpBZP.js} +1 -1
- package/dist/pages.js +1 -1
- package/dist/z-team-component.css +1 -1
- package/package.json +1 -1
- package/dist/ChangeLogView-_bRZ55Yi.js +0 -542
- package/dist/ComponentDoc-DHEiUymG.js +0 -3998
- package/dist/InvitationManagementPage-DGCuTTur.js +0 -495
- package/dist/OnboardingPage-PAr43cEy.js +0 -393
- package/dist/ScheduledTasks-CcCa60Uk.js +0 -9407
- package/dist/SystemShell-Bj5MAgG4.js +0 -689
- package/dist/_commonjsHelpers-B52_cu2H.js +0 -26
- package/dist/api-BWPNJBhU.js +0 -20
- package/dist/api-CIhVblfa.js +0 -2155
- package/dist/browser-jb_PFvU3.js +0 -1538
- package/dist/createWorkspaceWsHandler-BWP5S5X3.js +0 -12951
- package/dist/ctc-sso-DtJHC-2M.js +0 -117
- package/dist/echarts-B1OU1xr4.js +0 -16
- package/dist/history-BlrA1eaW.js +0 -41
- package/dist/index-A65wkmws.js +0 -93
- package/dist/index-B8owg7PF.js +0 -137
- package/dist/index-B_LJRFsK.js +0 -339
- package/dist/index-BgIheStI.js +0 -133
- package/dist/index-BohoJQPr.js +0 -7631
- package/dist/index-BydWNuk5.js +0 -1229
- package/dist/index-C2hWv17T.js +0 -2700
- package/dist/index-C5Nw82Bf.js +0 -574
- package/dist/index-C815hPWS.js +0 -430
- package/dist/index-CUVdeb8y.js +0 -638
- package/dist/index-CbMBEWCm.js +0 -9567
- package/dist/index-CijskN6t.js +0 -316
- package/dist/index-CjgVCc9p.js +0 -2916
- package/dist/index-Cug0PuCW.js +0 -914
- package/dist/index-Cvx6rrxD.js +0 -956
- package/dist/index-Cwr5Slv1.js +0 -480
- package/dist/index-CxFAICql.js +0 -42050
- package/dist/index-DBPoQ7Ii.js +0 -178
- package/dist/index-DDEXNsNv.js +0 -118
- package/dist/index-DK70mOTz.js +0 -143
- package/dist/index-DT80Pwa_.js +0 -5893
- package/dist/index-DWsfQMp8.js +0 -208
- package/dist/index-DhDdFRHC.js +0 -279
- package/dist/index-DhrqKHcn.js +0 -1143
- package/dist/index-Dm3wmB0K.js +0 -435
- package/dist/index-DzS6-D3M.js +0 -1640
- package/dist/index-F4Apy30c.js +0 -242
- package/dist/index-FvoWeGEy.js +0 -112
- package/dist/index-cdB5K3gx.js +0 -814
- package/dist/index-nU-V276i.js +0 -170
- package/dist/index-uF04Ucsi.js +0 -8
- package/dist/index.js +0 -10
- package/dist/index.module-CAa-2T7m.js +0 -72
- package/dist/index.module-UI0iz8K0.js +0 -42
package/dist/ctc-sso-DtJHC-2M.js
DELETED
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
function d() {
|
|
2
|
-
if (typeof window > "u") return null;
|
|
3
|
-
try {
|
|
4
|
-
const t = localStorage.getItem("USER_INFO");
|
|
5
|
-
if (t) return JSON.parse(t);
|
|
6
|
-
const a = localStorage.getItem("userInfo") || localStorage.getItem("user_info");
|
|
7
|
-
if (!a) return null;
|
|
8
|
-
const n = JSON.parse(a), r = {
|
|
9
|
-
name: String(n.nickname || n.name || ""),
|
|
10
|
-
jobNumber: String(n.userId || n.jobNumber || ""),
|
|
11
|
-
username: String(n.username || n.account || n.name || ""),
|
|
12
|
-
staffId: typeof n.userId == "number" ? n.userId : Number(n.userId) || 0
|
|
13
|
-
};
|
|
14
|
-
return localStorage.setItem("USER_INFO", JSON.stringify(r)), window.USER_INFO = r, r;
|
|
15
|
-
} catch {
|
|
16
|
-
return null;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
async function m() {
|
|
20
|
-
const t = () => {
|
|
21
|
-
localStorage.removeItem("USER_INFO"), window.USER_INFO = void 0;
|
|
22
|
-
};
|
|
23
|
-
try {
|
|
24
|
-
const a = new AbortController(), n = setTimeout(() => a.abort(), 1500), r = await fetch("/kapi/z-ctc/api/ctc/authn/whoami", {
|
|
25
|
-
method: "GET",
|
|
26
|
-
credentials: "include",
|
|
27
|
-
headers: { Accept: "application/json" },
|
|
28
|
-
signal: a.signal
|
|
29
|
-
});
|
|
30
|
-
if (clearTimeout(n), r.status === 401) {
|
|
31
|
-
const s = await u();
|
|
32
|
-
return s ? { kind: "authenticated", user: s } : (t(), { kind: "unauthenticated" });
|
|
33
|
-
}
|
|
34
|
-
if (!r.ok) {
|
|
35
|
-
const s = await u();
|
|
36
|
-
return s ? { kind: "authenticated", user: s } : { kind: "unavailable" };
|
|
37
|
-
}
|
|
38
|
-
const e = await r.json();
|
|
39
|
-
if (!e.success || !e.data)
|
|
40
|
-
return t(), { kind: "unauthenticated" };
|
|
41
|
-
const o = e.data.user_id ?? e.data.userId, i = {
|
|
42
|
-
name: e.data.nickname || e.data.username,
|
|
43
|
-
jobNumber: o != null ? String(o) : "",
|
|
44
|
-
username: e.data.username
|
|
45
|
-
};
|
|
46
|
-
localStorage.setItem("USER_INFO", JSON.stringify(i)), localStorage.setItem(
|
|
47
|
-
"ctcUrl",
|
|
48
|
-
encodeURIComponent(window.location.origin)
|
|
49
|
-
), window.USER_INFO = i;
|
|
50
|
-
const c = localStorage.getItem("token") || localStorage.getItem("z_team_token");
|
|
51
|
-
c && localStorage.setItem("token", c);
|
|
52
|
-
const l = {
|
|
53
|
-
userId: o,
|
|
54
|
-
id: o,
|
|
55
|
-
userName: e.data.username,
|
|
56
|
-
username: e.data.username,
|
|
57
|
-
nickname: e.data.nickname
|
|
58
|
-
};
|
|
59
|
-
return localStorage.setItem("userInfo", JSON.stringify(l)), { kind: "authenticated", user: i };
|
|
60
|
-
} catch {
|
|
61
|
-
const a = await u();
|
|
62
|
-
return a ? { kind: "authenticated", user: a } : (t(), { kind: "unavailable" });
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
async function u() {
|
|
66
|
-
if (typeof window > "u") return null;
|
|
67
|
-
let t = null;
|
|
68
|
-
try {
|
|
69
|
-
t = localStorage.getItem("token") || localStorage.getItem("z_team_token");
|
|
70
|
-
} catch {
|
|
71
|
-
return null;
|
|
72
|
-
}
|
|
73
|
-
if (!t || !t.trim()) return null;
|
|
74
|
-
try {
|
|
75
|
-
const a = new AbortController(), n = setTimeout(() => a.abort(), 2e3), r = await fetch("/kapi/z-ctc/api/ctc/authn/whoami", {
|
|
76
|
-
method: "GET",
|
|
77
|
-
headers: {
|
|
78
|
-
Accept: "application/json",
|
|
79
|
-
Authorization: `Bearer ${t.trim()}`
|
|
80
|
-
},
|
|
81
|
-
signal: a.signal
|
|
82
|
-
});
|
|
83
|
-
if (clearTimeout(n), !r.ok) return null;
|
|
84
|
-
const e = await r.json();
|
|
85
|
-
if (!e.success || !e.data) return null;
|
|
86
|
-
const o = e.data.user_id ?? e.data.userId, i = {
|
|
87
|
-
name: e.data.nickname || e.data.username,
|
|
88
|
-
jobNumber: o != null ? String(o) : "",
|
|
89
|
-
username: e.data.username
|
|
90
|
-
};
|
|
91
|
-
localStorage.setItem("USER_INFO", JSON.stringify(i)), localStorage.setItem(
|
|
92
|
-
"ctcUrl",
|
|
93
|
-
encodeURIComponent(window.location.origin)
|
|
94
|
-
), window.USER_INFO = i;
|
|
95
|
-
const c = {
|
|
96
|
-
userId: o,
|
|
97
|
-
id: o,
|
|
98
|
-
userName: e.data.username,
|
|
99
|
-
username: e.data.username,
|
|
100
|
-
nickname: e.data.nickname
|
|
101
|
-
};
|
|
102
|
-
return localStorage.setItem("userInfo", JSON.stringify(c)), i;
|
|
103
|
-
} catch {
|
|
104
|
-
return null;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
function f() {
|
|
108
|
-
const t = new URL(window.location.href);
|
|
109
|
-
t.searchParams.has("_from_login") || t.searchParams.set("_from_login", "1");
|
|
110
|
-
const a = `/login?redirect=${encodeURIComponent(t.toString())}`;
|
|
111
|
-
window.location.href = a;
|
|
112
|
-
}
|
|
113
|
-
export {
|
|
114
|
-
m as f,
|
|
115
|
-
f as r,
|
|
116
|
-
d as s
|
|
117
|
-
};
|
package/dist/echarts-B1OU1xr4.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as o from "echarts/core";
|
|
2
|
-
import { BarChart as r, LineChart as e, PieChart as n } from "echarts/charts";
|
|
3
|
-
import { GridComponent as t, LegendComponent as m, MarkLineComponent as p, TitleComponent as i, TooltipComponent as a, GraphicComponent as C } from "echarts/components";
|
|
4
|
-
import { CanvasRenderer as h } from "echarts/renderers";
|
|
5
|
-
o.use([
|
|
6
|
-
r,
|
|
7
|
-
e,
|
|
8
|
-
n,
|
|
9
|
-
t,
|
|
10
|
-
m,
|
|
11
|
-
p,
|
|
12
|
-
i,
|
|
13
|
-
a,
|
|
14
|
-
C,
|
|
15
|
-
h
|
|
16
|
-
]);
|
package/dist/history-BlrA1eaW.js
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
function i(t) {
|
|
2
|
-
if (typeof t == "string")
|
|
3
|
-
return t;
|
|
4
|
-
const { pathname: o = "", search: n = "", hash: r = "" } = t, e = n && !n.startsWith("?") ? `?${n}` : n, a = r && !r.startsWith("#") ? `#${r}` : r;
|
|
5
|
-
return `${o}${e}${a}`;
|
|
6
|
-
}
|
|
7
|
-
function s() {
|
|
8
|
-
try {
|
|
9
|
-
window.dispatchEvent(new PopStateEvent("popstate"));
|
|
10
|
-
} catch {
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
const w = {
|
|
14
|
-
/** 当前 location(与 umi/history 形状保持一致) */
|
|
15
|
-
get location() {
|
|
16
|
-
return window.location;
|
|
17
|
-
},
|
|
18
|
-
/** 跳转到新地址(pushState + 通知 Router) */
|
|
19
|
-
push(t, o) {
|
|
20
|
-
window.history.pushState(o ?? {}, "", i(t)), s();
|
|
21
|
-
},
|
|
22
|
-
/** 替换当前地址(replaceState + 通知 Router) */
|
|
23
|
-
replace(t, o) {
|
|
24
|
-
window.history.replaceState(o ?? {}, "", i(t)), s();
|
|
25
|
-
},
|
|
26
|
-
/** 历史栈移动 */
|
|
27
|
-
go(t) {
|
|
28
|
-
window.history.go(t);
|
|
29
|
-
},
|
|
30
|
-
/** 后退 */
|
|
31
|
-
back() {
|
|
32
|
-
window.history.back();
|
|
33
|
-
},
|
|
34
|
-
/** 前进 */
|
|
35
|
-
forward() {
|
|
36
|
-
window.history.forward();
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
export {
|
|
40
|
-
w as h
|
|
41
|
-
};
|
package/dist/index-A65wkmws.js
DELETED
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import { jsxs as c, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import v, { useState as d, useEffect as _, useMemo as h } from "react";
|
|
3
|
-
import { useLocation as N } from "react-router-dom";
|
|
4
|
-
import { g as b, s as g } from "./ComponentDoc-DHEiUymG.js";
|
|
5
|
-
import { i as K, P as x } from "./schedule-CETzN_0H.js";
|
|
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
|
-
banner: E,
|
|
8
|
-
dot: S,
|
|
9
|
-
text: f,
|
|
10
|
-
retry: A,
|
|
11
|
-
dismiss: F,
|
|
12
|
-
details: P,
|
|
13
|
-
method: k,
|
|
14
|
-
status: C,
|
|
15
|
-
statusNet: D,
|
|
16
|
-
url: $
|
|
17
|
-
}, B = () => {
|
|
18
|
-
const { pathname: i } = N(), [s, n] = d(b()), [l, m] = d(0);
|
|
19
|
-
_(() => g(n), []), _(() => {
|
|
20
|
-
m(0);
|
|
21
|
-
}, [i]);
|
|
22
|
-
const u = h(
|
|
23
|
-
() => s.filter((t) => t.route === i && t.at >= l),
|
|
24
|
-
[s, i, l]
|
|
25
|
-
), p = h(() => {
|
|
26
|
-
const t = /* @__PURE__ */ new Map();
|
|
27
|
-
return u.forEach((r) => {
|
|
28
|
-
const o = t.get(r.status) ?? { status: r.status, count: 0, urls: [] };
|
|
29
|
-
o.count += 1, o.urls.includes(r.url) || o.urls.push(r.url), t.set(r.status, o);
|
|
30
|
-
}), [...t.values()].sort((r, o) => r.status - o.status);
|
|
31
|
-
}, [u]);
|
|
32
|
-
if (u.length === 0) return null;
|
|
33
|
-
const y = p.map((t) => `${t.status === 0 ? "网络错误" : t.status} ×${t.count}`).join(" · ");
|
|
34
|
-
return /* @__PURE__ */ c("div", { className: e.banner, role: "alert", "data-testid": "page-api-error-notice", children: [
|
|
35
|
-
/* @__PURE__ */ a("span", { className: e.dot }),
|
|
36
|
-
/* @__PURE__ */ c("span", { className: e.text, children: [
|
|
37
|
-
"本页有 ",
|
|
38
|
-
u.length,
|
|
39
|
-
" 个接口失败(",
|
|
40
|
-
y,
|
|
41
|
-
"),页面可能不完整。"
|
|
42
|
-
] }),
|
|
43
|
-
/* @__PURE__ */ a("button", { type: "button", className: e.retry, onClick: () => location.reload(), children: "重试" }),
|
|
44
|
-
/* @__PURE__ */ c("details", { className: e.details, children: [
|
|
45
|
-
/* @__PURE__ */ a("summary", { children: "失败明细" }),
|
|
46
|
-
/* @__PURE__ */ a("ul", { children: u.map((t, r) => /* @__PURE__ */ c("li", { children: [
|
|
47
|
-
/* @__PURE__ */ a("span", { className: e.method, children: t.method }),
|
|
48
|
-
/* @__PURE__ */ a("span", { className: t.status === 0 ? e.statusNet : e.status, children: t.status === 0 ? "网络" : t.status }),
|
|
49
|
-
/* @__PURE__ */ a("span", { className: e.url, children: t.url })
|
|
50
|
-
] }, `${t.at}-${r}`)) })
|
|
51
|
-
] }),
|
|
52
|
-
/* @__PURE__ */ a(
|
|
53
|
-
"button",
|
|
54
|
-
{
|
|
55
|
-
type: "button",
|
|
56
|
-
className: e.dismiss,
|
|
57
|
-
title: "本页浏览期间不再显示",
|
|
58
|
-
onClick: () => m(Date.now() + 1),
|
|
59
|
-
children: "忽略"
|
|
60
|
-
}
|
|
61
|
-
)
|
|
62
|
-
] });
|
|
63
|
-
};
|
|
64
|
-
class T extends v.Component {
|
|
65
|
-
constructor() {
|
|
66
|
-
super(...arguments), this.state = { error: null, resetKey: this.props.resetKey };
|
|
67
|
-
}
|
|
68
|
-
static getDerivedStateFromError(s) {
|
|
69
|
-
return { error: s };
|
|
70
|
-
}
|
|
71
|
-
static getDerivedStateFromProps(s, n) {
|
|
72
|
-
return n.error && s.resetKey !== n.resetKey ? { error: null, resetKey: s.resetKey } : s.resetKey !== n.resetKey ? { resetKey: s.resetKey } : null;
|
|
73
|
-
}
|
|
74
|
-
render() {
|
|
75
|
-
const { error: s } = this.state;
|
|
76
|
-
if (s) {
|
|
77
|
-
const n = K(s);
|
|
78
|
-
return /* @__PURE__ */ a(
|
|
79
|
-
x,
|
|
80
|
-
{
|
|
81
|
-
error: s,
|
|
82
|
-
retry: () => this.setState({ error: null }),
|
|
83
|
-
retryText: n ? "重试加载" : "重试渲染"
|
|
84
|
-
}
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
|
-
return this.props.children;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
export {
|
|
91
|
-
B as P,
|
|
92
|
-
T as R
|
|
93
|
-
};
|
package/dist/index-B8owg7PF.js
DELETED
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
import { jsxs as d, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { useState as r, useCallback as c } from "react";
|
|
3
|
-
import { S as C, T as N, P as I } from "./webide-Cuj_Pvkk.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-CcCa60Uk.js";
|
|
5
|
-
import { p as q } from "./index-CbMBEWCm.js";
|
|
6
|
-
function M({
|
|
7
|
-
view: s,
|
|
8
|
-
agents: o,
|
|
9
|
-
token: i,
|
|
10
|
-
currentUser: u,
|
|
11
|
-
onOpenChat: l,
|
|
12
|
-
onOpenAgentDetail: f,
|
|
13
|
-
onBackToExtensions: g,
|
|
14
|
-
onOpenTab: a,
|
|
15
|
-
onAgentCreated: T,
|
|
16
|
-
onOpenProject: n,
|
|
17
|
-
onOpenWorkbenchShell: m
|
|
18
|
-
}) {
|
|
19
|
-
const [p, k] = r(
|
|
20
|
-
null
|
|
21
|
-
), [x, P] = r(
|
|
22
|
-
null
|
|
23
|
-
), S = c(
|
|
24
|
-
(e) => {
|
|
25
|
-
a("notes"), k({ id: e, ts: Date.now() });
|
|
26
|
-
},
|
|
27
|
-
[a]
|
|
28
|
-
), y = c(
|
|
29
|
-
(e) => {
|
|
30
|
-
a("todo"), P({ id: e, ts: Date.now() });
|
|
31
|
-
},
|
|
32
|
-
[a]
|
|
33
|
-
), D = s.kind === "chat" ? `${s.agent.id}-${s.sessionId ?? "new"}-${s.ts}` : "none";
|
|
34
|
-
return /* @__PURE__ */ d("div", { style: { height: "100%", display: "flex", flexDirection: "column" }, children: [
|
|
35
|
-
s.kind === "chat" && /* @__PURE__ */ t(
|
|
36
|
-
"div",
|
|
37
|
-
{
|
|
38
|
-
style: {
|
|
39
|
-
flex: 1,
|
|
40
|
-
minHeight: 0,
|
|
41
|
-
display: "flex",
|
|
42
|
-
flexDirection: "column"
|
|
43
|
-
},
|
|
44
|
-
children: /* @__PURE__ */ t(
|
|
45
|
-
W,
|
|
46
|
-
{
|
|
47
|
-
agent: s.agent,
|
|
48
|
-
initialSessionId: s.sessionId,
|
|
49
|
-
draftNoAutoPick: s.draft === !0,
|
|
50
|
-
autoSendDraft: s.autoSendDraft ?? null,
|
|
51
|
-
chromeless: !0,
|
|
52
|
-
agents: o,
|
|
53
|
-
onSwitchAgent: (e) => l(e)
|
|
54
|
-
},
|
|
55
|
-
D
|
|
56
|
-
)
|
|
57
|
-
}
|
|
58
|
-
),
|
|
59
|
-
s.kind === "schedule" && /* @__PURE__ */ t(H, { localOnline: !1 }),
|
|
60
|
-
s.kind === "history" && /* @__PURE__ */ t(
|
|
61
|
-
$,
|
|
62
|
-
{
|
|
63
|
-
agents: o,
|
|
64
|
-
token: i,
|
|
65
|
-
onOpenSession: (e, A) => l(e, A)
|
|
66
|
-
}
|
|
67
|
-
),
|
|
68
|
-
s.kind === "extensions" && /* @__PURE__ */ t(
|
|
69
|
-
B,
|
|
70
|
-
{
|
|
71
|
-
agents: o,
|
|
72
|
-
loading: !1,
|
|
73
|
-
skillsAgent: q(o),
|
|
74
|
-
token: i,
|
|
75
|
-
currentUser: u,
|
|
76
|
-
onChat: (e) => l(e),
|
|
77
|
-
onConfig: f,
|
|
78
|
-
onCreated: T,
|
|
79
|
-
onOpenPersonalTab: a,
|
|
80
|
-
onOpenWorkbenchShell: m
|
|
81
|
-
}
|
|
82
|
-
),
|
|
83
|
-
s.kind === "agentDetail" && /* @__PURE__ */ t("div", { style: { flex: 1, minHeight: 0 }, children: /* @__PURE__ */ t(
|
|
84
|
-
E,
|
|
85
|
-
{
|
|
86
|
-
agent: s.agent,
|
|
87
|
-
onBack: g
|
|
88
|
-
}
|
|
89
|
-
) }),
|
|
90
|
-
s.kind === "tab" && /* @__PURE__ */ d("div", { style: { flex: 1, minHeight: 0 }, children: [
|
|
91
|
-
s.tab === "projects" && /* @__PURE__ */ t(
|
|
92
|
-
h,
|
|
93
|
-
{
|
|
94
|
-
activeTab: "projects",
|
|
95
|
-
onActiveTabChange: () => {
|
|
96
|
-
},
|
|
97
|
-
onOpenProject: n,
|
|
98
|
-
hideTabs: !0
|
|
99
|
-
}
|
|
100
|
-
),
|
|
101
|
-
s.tab === "personal" && /* @__PURE__ */ t(
|
|
102
|
-
h,
|
|
103
|
-
{
|
|
104
|
-
activeTab: "personal",
|
|
105
|
-
onActiveTabChange: () => {
|
|
106
|
-
},
|
|
107
|
-
onOpenProject: n,
|
|
108
|
-
hideTabs: !0
|
|
109
|
-
}
|
|
110
|
-
),
|
|
111
|
-
s.tab === "business-stats" && /* @__PURE__ */ t(C, { source: "scenario" }),
|
|
112
|
-
s.tab === "tools" && /* @__PURE__ */ t(b, { showTools: !0, showWebsites: !1 }),
|
|
113
|
-
s.tab === "websites" && /* @__PURE__ */ t(b, { showTools: !1, showWebsites: !0 }),
|
|
114
|
-
s.tab === "todo" && /* @__PURE__ */ t(
|
|
115
|
-
N,
|
|
116
|
-
{
|
|
117
|
-
onOpenProject: n,
|
|
118
|
-
onOpenNote: S,
|
|
119
|
-
openTodoId: x
|
|
120
|
-
}
|
|
121
|
-
),
|
|
122
|
-
s.tab === "notes" && /* @__PURE__ */ t(
|
|
123
|
-
I,
|
|
124
|
-
{
|
|
125
|
-
onOpenProject: n,
|
|
126
|
-
onOpenTodo: y,
|
|
127
|
-
openNoteId: p
|
|
128
|
-
}
|
|
129
|
-
),
|
|
130
|
-
s.tab === "training" && /* @__PURE__ */ t(j, {}),
|
|
131
|
-
s.tab === "webide" && /* @__PURE__ */ t(K, {})
|
|
132
|
-
] })
|
|
133
|
-
] });
|
|
134
|
-
}
|
|
135
|
-
export {
|
|
136
|
-
M as default
|
|
137
|
-
};
|