@yuku123/z-team-component 0.2.70 → 0.2.71
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/{ChangeLogView-VRWVzP0r.js → ChangeLogView-AUM7QbBp.js} +1 -1
- package/dist/{ComponentDoc-CSDEl9iB.js → ComponentDoc-CLxzCDOh.js} +3 -3
- package/dist/{InvitationManagementPage-DbrhFX7e.js → InvitationManagementPage-MxyMf4G0.js} +1 -1
- package/dist/{OnboardingPage-4MasLdvm.js → OnboardingPage-BRwX8RYe.js} +2 -2
- package/dist/ScheduledTasks-CM1m4eVZ.js +9658 -0
- package/dist/{SystemShell-DcxZUrpj.js → SystemShell-BlgZhQ3V.js} +5 -5
- package/dist/{admin-logs-DCYof_u5.js → admin-logs-Dx2fTWjF.js} +2 -2
- package/dist/{api-DWt94BcM.js → api-CvQEwiLU.js} +24 -24
- package/dist/{api-BjMOoPbe.js → api-prj570UT.js} +1 -1
- package/dist/{createWorkspaceWsHandler-e3Cg1G2e.js → createWorkspaceWsHandler-gVanGCAb.js} +4 -4
- package/dist/{index-Dl0dsnIR.js → index-B5xRddRA.js} +6 -6
- package/dist/{index-B7OdhOMb.js → index-BbxVn7xy.js} +1 -1
- package/dist/{index-Dvhocfyo.js → index-BujZj4b8.js} +4 -4
- package/dist/{index-B847h2X1.js → index-C1rcAeiF.js} +3 -3
- package/dist/{index-DbHOY3ig.js → index-C4AgHd-o.js} +2 -2
- package/dist/{index-CrIIInfs.js → index-CL7GMxR-.js} +4 -4
- package/dist/{index-CBNl1a7_.js → index-Cr4Rf1IT.js} +5 -5
- package/dist/{index-NPxrK-81.js → index-CrpF4NY8.js} +1 -1
- package/dist/{index-BIdcTXZW.js → index-Cry-Oyoh.js} +3 -3
- package/dist/{index-CbG4xgoA.js → index-CxYTuPnw.js} +2 -2
- package/dist/{index-DMvs2G1h.js → index-D1PpV_Lf.js} +2 -2
- package/dist/index-D4opADk_.js +168 -0
- package/dist/{index-DtVBFjaJ.js → index-DDlmkQRB.js} +2 -2
- package/dist/{index-kgvynVu5.js → index-DJMZ1RpC.js} +2 -2
- package/dist/{index-CBwtAPSf.js → index-DOyFfs3n.js} +2515 -2526
- package/dist/{index-i6Ejgpao.js → index-DZbYU9xn.js} +1 -1
- package/dist/{index-CrgU396B.js → index-Dk0Qm8aZ.js} +1 -1
- package/dist/{index-CTKf6h2u.js → index-Do4YkHdZ.js} +4 -4
- package/dist/{index-bsGAZKaU.js → index-DrWXMU6s.js} +1 -1
- package/dist/{index-4LNRkvy6.js → index-DzAkJL3V.js} +3 -3
- package/dist/{index-BqvHNZGS.js → index-PGSvSOmm.js} +3 -3
- package/dist/{index-BVh0W8ck.js → index-QZpyj7Q3.js} +1256 -1256
- package/dist/{index-CyU1nc6C.js → index-pc_ckjzD.js} +3 -3
- package/dist/{index-VxO9i5r6.js → index-pyPNcAqs.js} +1 -1
- package/dist/index-zhz9iWvI.js +2629 -0
- package/dist/index.js +1 -1
- package/dist/{instance-CbkHlDr4.js → instance-TOlRCxS4.js} +1 -1
- package/dist/{menuPermission-DLB5LOaC.js → menuPermission-Bay-G_zT.js} +3 -3
- package/dist/pages.js +1 -1
- package/dist/{schedule-BRvmKoDG.js → schedule-DkbDjIh4.js} +1 -1
- package/dist/{send-default-agent-team-message-8wnVWO7H.js → send-default-agent-team-message-Bv-QRc7Y.js} +1 -1
- package/dist/{sso-user-QZNVhjpR.js → sso-user-BpOzJlQ3.js} +1 -1
- package/dist/{training-DYo1pvX7.js → training-BDzZav1U.js} +1 -1
- package/dist/{useAppStore-BGOxWep2.js → useAppStore-B1sVy9Iw.js} +1 -1
- package/dist/{webide-CWTbQs4I.js → webide-C3IaJ_eP.js} +4 -4
- package/dist/z-team-component.css +1 -1
- package/package.json +1 -1
- package/dist/ScheduledTasks-BuOufjoH.js +0 -9341
- package/dist/index-60oB6_Xg.js +0 -2842
- package/dist/index-Cr589chh.js +0 -131
|
@@ -2,11 +2,11 @@ import { jsxs as p, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { useNavigate as F, useLocation as M, Navigate as l } from "react-router-dom";
|
|
3
3
|
import { useMemo as g, useState as L, Suspense as ae, lazy as u } from "react";
|
|
4
4
|
import { DownOutlined as z, RightOutlined as T, AppstoreOutlined as Q, UserOutlined as oe, SafetyCertificateOutlined as E, CloudOutlined as v, DeploymentUnitOutlined as x, AuditOutlined as j, CodeOutlined as f, FolderOpenOutlined as ce, DesktopOutlined as Y, DashboardOutlined as S, ProfileOutlined as H, BookOutlined as le, ApartmentOutlined as se, FileImageOutlined as pe, FileTextOutlined as A, CalendarOutlined as b, ApiOutlined as re, ProjectOutlined as Z, ClusterOutlined as ie, DatabaseOutlined as me, TeamOutlined as ue, BarChartOutlined as R } from "@ant-design/icons";
|
|
5
|
-
import { f as de, M as he } from "./menuPermission-
|
|
6
|
-
import { u as q } from "./useAppStore-
|
|
5
|
+
import { f as de, M as he } from "./menuPermission-Bay-G_zT.js";
|
|
6
|
+
import { u as q } from "./useAppStore-B1sVy9Iw.js";
|
|
7
7
|
import { ProductApp as be } from "@yuku123/z-product-component";
|
|
8
|
-
import { P as ge, R as _e } from "./index-
|
|
9
|
-
import { b as ke } from "./ComponentDoc-
|
|
8
|
+
import { P as ge, R as _e } from "./index-CxYTuPnw.js";
|
|
9
|
+
import { b as ke } from "./ComponentDoc-CLxzCDOh.js";
|
|
10
10
|
const ye = "_container_wbul9_7", Se = "_sidebar_wbul9_17", Ae = "_menuList_wbul9_37", we = "_menuGroup_wbul9_44", fe = "_menuGroupHeader_wbul9_48", Pe = "_menuGroupIcon_wbul9_66", ve = "_menuGroupLabel_wbul9_75", De = "_menuGroupArrow_wbul9_80", Me = "_menuSubList_wbul9_87", Ge = "_menuSubItem_wbul9_93", Ie = "_menuSubItemActive_wbul9_110", Ce = "_menuSubItemIcon_wbul9_117", Ne = "_menuSubGroup_wbul9_132", Oe = "_menuSubGroupHeader_wbul9_136", Le = "_menuSubGroupHeaderActive_wbul9_154", ze = "_menuSubGroupLabel_wbul9_158", Te = "_main_wbul9_169", Ee = "_detailPanel_wbul9_179", xe = "_detailHeader_wbul9_189", je = "_detailIcon_wbul9_196", He = "_detailTitle_wbul9_209", Re = "_detailDesc_wbul9_216", qe = "_detailAction_wbul9_223", Be = "_goBtn_wbul9_228", $e = "_emptyState_wbul9_248", a = {
|
|
11
11
|
container: ye,
|
|
12
12
|
sidebar: Se,
|
|
@@ -478,7 +478,7 @@ const Ke = "_shell_10jrt_6", Fe = "_main_10jrt_21", Qe = "_empty_10jrt_31", Ye =
|
|
|
478
478
|
emptyText: Ze
|
|
479
479
|
};
|
|
480
480
|
ke();
|
|
481
|
-
const t = (o, s) => u(() => o().then((r) => ({ default: r[s] }))), Ve = t(() => import("@yuku123/z-ctc-component"), "AccountManagement"), Je = t(() => import("@yuku123/z-ctc-component"), "ApplicationManagement"), Xe = t(() => import("@yuku123/z-ctc-component"), "AuditPage"), et = t(() => import("@yuku123/z-ctc-component"), "CtcOverview"), tt = t(() => import("@yuku123/z-ctc-component"), "DictPage"), nt = t(() => import("@yuku123/z-ctc-component"), "OrgPage"), at = t(() => import("@yuku123/z-ctc-component"), "PermissionManagement"), ot = t(() => import("@yuku123/z-ctc-component"), "RoleManagement"), B = t(() => import("@yuku123/z-ctc-component"), "SurlManagement"), ct = t(() => import("@yuku123/z-ctc-component"), "TenantManagement"), lt = t(() => import("@yuku123/z-agent-component"), "AgentAppList"), st = t(() => import("@yuku123/z-agent-component"), "AgentDashboard"), pt = t(() => import("@yuku123/z-agent-component"), "AkManage"), rt = t(() => import("@yuku123/z-agent-component"), "BucketList"), it = t(() => import("@yuku123/z-agent-component"), "LlmManage"), mt = t(() => import("@yuku123/z-agent-component"), "McpPage"), ut = t(() => import("@yuku123/z-agent-component"), "ObjectBrowser"), dt = t(() => import("@yuku123/z-agent-component"), "ScriptCenterPage"), ht = t(() => import("@yuku123/z-agent-component"), "ScriptProductizationPage"), bt = t(() => import("@yuku123/z-agent-component"), "SkillMarket"), gt = t(() => import("./index-
|
|
481
|
+
const t = (o, s) => u(() => o().then((r) => ({ default: r[s] }))), Ve = t(() => import("@yuku123/z-ctc-component"), "AccountManagement"), Je = t(() => import("@yuku123/z-ctc-component"), "ApplicationManagement"), Xe = t(() => import("@yuku123/z-ctc-component"), "AuditPage"), et = t(() => import("@yuku123/z-ctc-component"), "CtcOverview"), tt = t(() => import("@yuku123/z-ctc-component"), "DictPage"), nt = t(() => import("@yuku123/z-ctc-component"), "OrgPage"), at = t(() => import("@yuku123/z-ctc-component"), "PermissionManagement"), ot = t(() => import("@yuku123/z-ctc-component"), "RoleManagement"), B = t(() => import("@yuku123/z-ctc-component"), "SurlManagement"), ct = t(() => import("@yuku123/z-ctc-component"), "TenantManagement"), lt = t(() => import("@yuku123/z-agent-component"), "AgentAppList"), st = t(() => import("@yuku123/z-agent-component"), "AgentDashboard"), pt = t(() => import("@yuku123/z-agent-component"), "AkManage"), rt = t(() => import("@yuku123/z-agent-component"), "BucketList"), it = t(() => import("@yuku123/z-agent-component"), "LlmManage"), mt = t(() => import("@yuku123/z-agent-component"), "McpPage"), ut = t(() => import("@yuku123/z-agent-component"), "ObjectBrowser"), dt = t(() => import("@yuku123/z-agent-component"), "ScriptCenterPage"), ht = t(() => import("@yuku123/z-agent-component"), "ScriptProductizationPage"), bt = t(() => import("@yuku123/z-agent-component"), "SkillMarket"), gt = t(() => import("./index-DJMZ1RpC.js"), "AgentTeamIM"), $ = t(() => import("./index-DJMZ1RpC.js"), "DebugPlayground"), _t = t(() => import("./index-DJMZ1RpC.js"), "Overview"), U = t(() => import("./index-DJMZ1RpC.js"), "Webide"), kt = u(() => import("./OnboardingPage-BRwX8RYe.js")), yt = u(() => import("./InvitationManagementPage-MxyMf4G0.js")), St = t(() => import("@yuku123/z-config-component"), "ConfigApp"), At = t(() => import("@yuku123/z-task-component"), "TaskApp"), wt = t(() => import("@yuku123/z-wf-component"), "WorkflowApp"), ft = t(() => import("@yuku123/z-schedule-component"), "ScheduleApp"), Pt = t(() => import("@yuku123/z-mist-component"), "MistApp"), vt = t(() => import("@yuku123/z-meta-component"), "MetaApp"), Dt = t(() => import("@yuku123/z-msg-component"), "MsgApp"), Mt = t(() => import("@yuku123/z-rpc-component"), "RpcApp"), Gt = u(() => import("./ComponentDoc-CLxzCDOh.js").then((o) => o.p)), It = u(() => import("./ComponentDoc-CLxzCDOh.js").then((o) => o.q)), Ct = t(() => import("@yuku123/z-config-component"), "ComponentDocPage"), Nt = t(() => import("@yuku123/z-task-component"), "ComponentDocPage"), Ot = t(() => import("@yuku123/z-wf-component"), "ComponentDocPage"), Lt = t(() => import("@yuku123/z-schedule-component"), "ComponentDocPage"), zt = t(() => import("@yuku123/z-mist-component"), "ComponentDocPage"), Tt = t(() => import("@yuku123/z-meta-component"), "ComponentDocPage"), Et = t(() => import("@yuku123/z-msg-component"), "ComponentDocPage"), xt = t(() => import("@yuku123/z-rpc-component"), "ComponentDocPage"), jt = t(() => import("@yuku123/z-kb-component"), "ComponentDocPage"), Ht = t(() => import("@yuku123/z-product-component"), "ComponentDocPage"), Rt = t(() => import("@yuku123/z-oss-component"), "ComponentDocPage"), qt = t(() => import("@yuku123/z-vector-component"), "ComponentDocPage"), Bt = t(() => import("@yuku123/z-graph-component"), "ComponentDocPage"), $t = t(() => import("@yuku123/z-gw-component"), "ComponentDocPage"), Ut = t(() => import("@yuku123/z-cache-component"), "ComponentDocPage"), Wt = t(() => import("@yuku123/z-mq-component"), "ComponentDocPage"), Kt = t(() => import("@yuku123/z-ctc-component"), "ComponentDocPage"), Ft = t(() => import("@yuku123/z-agent-component"), "ComponentDocPage"), Qt = t(() => import("@yuku123/z-lc-component"), "ComponentDocPage"), Yt = t(() => import("@yuku123/z-qa-component"), "ComponentDocPage"), Zt = u(() => import("./ComponentDoc-CLxzCDOh.js").then((o) => o.o)), W = u(() => import("@yuku123/z-qa-component"));
|
|
482
482
|
function Vt() {
|
|
483
483
|
return /* @__PURE__ */ p("div", { className: h.empty, children: [
|
|
484
484
|
/* @__PURE__ */ e("div", { className: h.emptyIcon, children: "📋" }),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u as f } from "./useAppStore-
|
|
1
|
+
import { n as p, a, f as s, B as r, o as $, u as i } from "./api-CvQEwiLU.js";
|
|
2
|
+
import { u as f } from "./useAppStore-B1sVy9Iw.js";
|
|
3
3
|
async function y() {
|
|
4
4
|
f.getState().token && await p().catch(() => {
|
|
5
5
|
}), localStorage.removeItem("token"), localStorage.removeItem("z_team_token"), localStorage.removeItem("userInfo"), localStorage.removeItem("USER_INFO"), localStorage.removeItem("z_ctc_token"), localStorage.removeItem("ctcUrl"), window.USER_INFO = void 0, f.setState({ currentUser: null, token: "", currentProject: void 0 });
|
|
@@ -1972,13 +1972,13 @@ async function Ws(e, n, t = "") {
|
|
|
1972
1972
|
}
|
|
1973
1973
|
export {
|
|
1974
1974
|
Xn as $,
|
|
1975
|
-
|
|
1975
|
+
jt as A,
|
|
1976
1976
|
w as B,
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1977
|
+
Ot as C,
|
|
1978
|
+
Rt as D,
|
|
1979
|
+
vt as E,
|
|
1980
|
+
Nt as F,
|
|
1981
|
+
Lt as G,
|
|
1982
1982
|
Ge as H,
|
|
1983
1983
|
pe as I,
|
|
1984
1984
|
Ve as J,
|
|
@@ -2064,7 +2064,7 @@ export {
|
|
|
2064
2064
|
Ft as ax,
|
|
2065
2065
|
Ht as ay,
|
|
2066
2066
|
Tn as az,
|
|
2067
|
-
|
|
2067
|
+
De as b,
|
|
2068
2068
|
be as b0,
|
|
2069
2069
|
$s as b1,
|
|
2070
2070
|
Yt as b2,
|
|
@@ -2127,28 +2127,28 @@ export {
|
|
|
2127
2127
|
bt as bx,
|
|
2128
2128
|
At as by,
|
|
2129
2129
|
Ms as bz,
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2130
|
+
Dt as c,
|
|
2131
|
+
An as d,
|
|
2132
|
+
Cn as e,
|
|
2133
2133
|
g as f,
|
|
2134
|
-
|
|
2135
|
-
|
|
2134
|
+
hn as g,
|
|
2135
|
+
B as h,
|
|
2136
2136
|
le as i,
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2137
|
+
Zt as j,
|
|
2138
|
+
Xt as k,
|
|
2139
|
+
Qe as l,
|
|
2140
|
+
yn as m,
|
|
2141
|
+
gn as n,
|
|
2142
|
+
Ye as o,
|
|
2143
2143
|
bn as p,
|
|
2144
|
-
|
|
2144
|
+
cn as q,
|
|
2145
2145
|
ye as r,
|
|
2146
2146
|
Mn as s,
|
|
2147
2147
|
m as t,
|
|
2148
2148
|
C as u,
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2149
|
+
Ae as v,
|
|
2150
|
+
dn as w,
|
|
2151
|
+
Ue as x,
|
|
2152
|
+
Kt as y,
|
|
2153
|
+
Pt as z
|
|
2154
2154
|
};
|
|
@@ -3,13 +3,13 @@ import { ShareAltOutlined as io, EditOutlined as lo, EyeOutlined as Er, FileText
|
|
|
3
3
|
import { message as Ve, Drawer as Cs, Spin as ut, Input as pn, Button as st, Segmented as ei, AutoComplete as ti, Modal as Rn, Typography as Jt, Checkbox as hs, Space as ln, Radio as ma, Skeleton as Wn, Popover as ps, Timeline as ha, Tag as it, Tooltip as Bn, Tree as ni, Empty as cn, Dropdown as si, Progress as ai, Collapse as pa } from "antd";
|
|
4
4
|
import lt, { useState as T, useRef as ve, useEffect as ie, useCallback as q, useMemo as Ne, useLayoutEffect as go, memo as fo, useContext as oi, createContext as ri, useImperativeHandle as ii } from "react";
|
|
5
5
|
import { createPortal as yo } from "react-dom";
|
|
6
|
-
import { a as ke, aN as _n, f as Be, u as Ke, B as Ee,
|
|
7
|
-
import { d as wi, e as Ii, j as Ai, g as xi, r as Li, h as Bi, i as Ri, k as Pi, m as $i } from "./instance-
|
|
8
|
-
import { u as O, i as vo, s as Q, a as As, n as Zn, h as Ei, r as To, b as No, m as Di, c as Co, d as So, e as wo, g as Mi, j as Oi, k as Fi, l as Hi, o as qt, q as Gt, t as qi, v as Gi, w as Wi, x as Ui, y as ji, z as zi, A as Vi, B as Ji, C as Ki, D as Qi, E as Yi, F as Xi, G as xs, H as Io, I as ka, J as Zi } from "./useAppStore-
|
|
6
|
+
import { a as ke, aN as _n, f as Be, u as Ke, B as Ee, o as Ze, ap as li, l as Vt, a4 as ko, R as ci, t as Ae, aO as di, aP as ui, aQ as mi, V as He, aR as Ss, aS as bo, aT as _s, aU as ws, aV as hi, aW as pi, aX as _i, i as dn, aY as gi, aZ as fi, m as yi, a5 as ki, a_ as _a, T as Is, a$ as Ct, ac as ga, s as bi, ah as vi, b0 as Ti, b1 as fa, aG as ya, b2 as Ni, b3 as Ci, b4 as Si } from "./api-CvQEwiLU.js";
|
|
7
|
+
import { d as wi, e as Ii, j as Ai, g as xi, r as Li, h as Bi, i as Ri, k as Pi, m as $i } from "./instance-TOlRCxS4.js";
|
|
8
|
+
import { u as O, i as vo, s as Q, a as As, n as Zn, h as Ei, r as To, b as No, m as Di, c as Co, d as So, e as wo, g as Mi, j as Oi, k as Fi, l as Hi, o as qt, q as Gt, t as qi, v as Gi, w as Wi, x as Ui, y as ji, z as zi, A as Vi, B as Ji, C as Ki, D as Qi, E as Yi, F as Xi, G as xs, H as Io, I as ka, J as Zi } from "./useAppStore-B1sVy9Iw.js";
|
|
9
9
|
import yt from "react-markdown";
|
|
10
10
|
import Ln from "rehype-highlight";
|
|
11
11
|
import kt from "remark-gfm";
|
|
12
|
-
import { i as el, u as tl, b as nl, j as sl, k as al, t as ol } from "./admin-logs-
|
|
12
|
+
import { i as el, u as tl, b as nl, j as sl, k as al, t as ol } from "./admin-logs-Dx2fTWjF.js";
|
|
13
13
|
import Ge from "handlebars";
|
|
14
14
|
const ba = (e) => Symbol.iterator in e, va = (e) => (
|
|
15
15
|
// HACK: avoid checking entries type
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { jsxs as d, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { r as q, f as le } from "./ctc-sso-DtJHC-2M.js";
|
|
3
|
-
import { r as de, h as K, s as X } from "./sso-user-
|
|
3
|
+
import { r as de, h as K, s as X } from "./sso-user-BpOzJlQ3.js";
|
|
4
4
|
import { ArrowLeftOutlined as ue, PlusOutlined as pe, LogoutOutlined as me, SearchOutlined as he } from "@ant-design/icons";
|
|
5
5
|
import { Spin as R, Button as D, Input as fe, Empty as J, Tag as ge, message as be } from "antd";
|
|
6
6
|
import Q from "query-string";
|
|
7
7
|
import { useState as y, useRef as E, useEffect as w, useMemo as Y, useCallback as B } from "react";
|
|
8
8
|
import { useLocation as ke } from "react-router-dom";
|
|
9
9
|
import { h as A } from "./history-BlrA1eaW.js";
|
|
10
|
-
import { c as we, C as Se } from "./createWorkspaceWsHandler-
|
|
11
|
-
import { u as i, f as ye, T as ve } from "./useAppStore-
|
|
12
|
-
import {
|
|
13
|
-
import { l as xe, j as Pe } from "./instance-
|
|
10
|
+
import { c as we, C as Se } from "./createWorkspaceWsHandler-gVanGCAb.js";
|
|
11
|
+
import { u as i, f as ye, T as ve } from "./useAppStore-B1sVy9Iw.js";
|
|
12
|
+
import { q as Te, v as Ne, w as je, x as Ce, g as ee } from "./api-CvQEwiLU.js";
|
|
13
|
+
import { l as xe, j as Pe } from "./instance-TOlRCxS4.js";
|
|
14
14
|
import { i as _e, s as Ee } from "./mobile-client-O3yr9h6t.js";
|
|
15
15
|
/* empty css */
|
|
16
|
-
import { s as Ae } from "./admin-logs-
|
|
16
|
+
import { s as Ae } from "./admin-logs-Dx2fTWjF.js";
|
|
17
17
|
const ae = 2e4;
|
|
18
18
|
function Ie(o, s = ae, n = globalThis) {
|
|
19
19
|
let c = null;
|
|
@@ -3,7 +3,7 @@ import { ThunderboltOutlined as ce, UpOutlined as Ie, DownOutlined as Se, LinkOu
|
|
|
3
3
|
import { useState as u, useEffect as F, useCallback as le, useMemo as se, useRef as Ne } from "react";
|
|
4
4
|
import fe from "axios";
|
|
5
5
|
import { Empty as oe, Modal as J, Select as q, Input as te, Form as D, Col as ee, Row as be, Space as de, Dropdown as Re, Popconfirm as ze, Tag as H, Descriptions as ke, Card as He, Table as Le, Tree as Oe, Button as L, Tooltip as Be, Spin as Ue } from "antd";
|
|
6
|
-
import { u as Me, i as qe, s as Fe } from "./createWorkspaceWsHandler-
|
|
6
|
+
import { u as Me, i as qe, s as Fe } from "./createWorkspaceWsHandler-gVanGCAb.js";
|
|
7
7
|
const je = {
|
|
8
8
|
PageHeader: ({ title: a, subtitle: r }) => /* @__PURE__ */ i("div", { style: { marginBottom: 12 }, children: [
|
|
9
9
|
/* @__PURE__ */ e("h2", { style: { margin: 0 }, children: a }),
|
|
@@ -3,16 +3,16 @@ import { SearchOutlined as Ie, ReloadOutlined as Ne, PlusOutlined as xe, ArrowUp
|
|
|
3
3
|
import { Input as K, Select as ae, Button as M, Modal as ve, Space as qe, Tooltip as oe, message as P, Tag as H, Popconfirm as ke, Spin as Xe, Empty as Ke, AutoComplete as st, Segmented as Bt, TreeSelect as et, Descriptions as ne, InputNumber as Fe, Drawer as cl, Tabs as Mt, Switch as zt, Radio as yt, Tree as ul, Table as Oe } from "antd";
|
|
4
4
|
import { ListTable as Ae, DEFAULT_PAGINATION as hl } from "@yuku123/z-frontend-common/ui";
|
|
5
5
|
import { useState as o, useCallback as de, useEffect as ce, useMemo as pe, useRef as Ft } from "react";
|
|
6
|
-
import { f as Ut, a as Gt, b as ct, c as ut, s as vt, d as ml, e as pl, g as tt, h as gl, i as yl, j as vl, k as jt, l as ft, m as fl, n as wl, o as Cl, r as Wt, p as Ht, q as bl, t as wt, u as Il, v as ht, w as mt, x as xl, y as Tl, z as Nl, A as kl, B as Ct, C as Sl, D as _l, E as Al, F as El, G as Dl, H as bt, I as Rl, J as Ll, K as $l, L as Pl, M as Ol, N as Bl, O as Ml, P as It, Q as zl, R as Fl, S as Ul, T as Gl, U as jl } from "./training-
|
|
7
|
-
import { u as Ce } from "./useAppStore-
|
|
6
|
+
import { f as Ut, a as Gt, b as ct, c as ut, s as vt, d as ml, e as pl, g as tt, h as gl, i as yl, j as vl, k as jt, l as ft, m as fl, n as wl, o as Cl, r as Wt, p as Ht, q as bl, t as wt, u as Il, v as ht, w as mt, x as xl, y as Tl, z as Nl, A as kl, B as Ct, C as Sl, D as _l, E as Al, F as El, G as Dl, H as bt, I as Rl, J as Ll, K as $l, L as Pl, M as Ol, N as Bl, O as Ml, P as It, Q as zl, R as Fl, S as Ul, T as Gl, U as jl } from "./training-BDzZav1U.js";
|
|
7
|
+
import { u as Ce } from "./useAppStore-B1sVy9Iw.js";
|
|
8
8
|
import { s as r } from "./index.module-UI0iz8K0.js";
|
|
9
9
|
import Wl from "dayjs";
|
|
10
10
|
import xt from "react-markdown";
|
|
11
11
|
import Tt from "remark-gfm";
|
|
12
12
|
import { h as be } from "./index.module-CAa-2T7m.js";
|
|
13
13
|
import { M as Hl } from "./index-CUVdeb8y.js";
|
|
14
|
-
import { ao as Kl } from "./api-
|
|
15
|
-
import { h as ql } from "./schedule-
|
|
14
|
+
import { ao as Kl } from "./api-CvQEwiLU.js";
|
|
15
|
+
import { h as ql } from "./schedule-DkbDjIh4.js";
|
|
16
16
|
function Vl() {
|
|
17
17
|
const l = Ce((i) => i.token), [n, D] = o([]), [k, L] = o(!1), [x, B] = o(""), [E, F] = o(null), [c, A] = o(!1), [C, T] = o(!1), [I, U] = o(null), [u, v] = o([]), [_, y] = o([]), [j, J] = o([]), [Z, O] = o([]), [w, z] = o([]), h = de(async () => {
|
|
18
18
|
L(!0);
|
|
@@ -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-
|
|
6
|
-
import { M as D } from "./ComponentDoc-
|
|
7
|
-
import "./index-
|
|
5
|
+
import { W as P } from "./index-PGSvSOmm.js";
|
|
6
|
+
import { M as D } from "./ComponentDoc-CLxzCDOh.js";
|
|
7
|
+
import "./index-DOyFfs3n.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 运维",
|
|
@@ -3,8 +3,8 @@ import { useState as y, useMemo as d } from "react";
|
|
|
3
3
|
import { useNavigate as G, useLocation as k } from "react-router-dom";
|
|
4
4
|
import { CodeOutlined as L, DownOutlined as N, RightOutlined as O, AppstoreOutlined as v, TableOutlined as A, DatabaseOutlined as w, RobotOutlined as H, FunctionOutlined as M, ApartmentOutlined as W, EyeOutlined as C, BranchesOutlined as $, DeploymentUnitOutlined as p, SafetyCertificateOutlined as g } from "@ant-design/icons";
|
|
5
5
|
import R from "@yuku123/z-lc-component";
|
|
6
|
-
import { f as U, M as x } from "./menuPermission-
|
|
7
|
-
import { u as b } from "./useAppStore-
|
|
6
|
+
import { f as U, M as x } from "./menuPermission-Bay-G_zT.js";
|
|
7
|
+
import { u as b } from "./useAppStore-B1sVy9Iw.js";
|
|
8
8
|
const D = "_shell_1n5c7_7", E = "_sidebar_1n5c7_15", P = "_sidebarHeader_1n5c7_26", j = "_menuList_1n5c7_37", K = "_menuGroup_1n5c7_43", T = "_menuGroupHeader_1n5c7_47", B = "_menuGroupLabel_1n5c7_65", F = "_menuGroupArrow_1n5c7_69", q = "_menuSubList_1n5c7_74", z = "_menuSubItemWrap_1n5c7_80", J = "_menuSubItem_1n5c7_80", Q = "_menuSubItemActive_1n5c7_101", V = "_menuSubItemIcon_1n5c7_108", X = "_menuSubItemLabel_1n5c7_113", Y = "_main_1n5c7_118", t = {
|
|
9
9
|
shell: D,
|
|
10
10
|
sidebar: E,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as t, jsxs as l } from "react/jsx-runtime";
|
|
2
2
|
import { f as ie, r as z } from "./ctc-sso-DtJHC-2M.js";
|
|
3
|
-
import { r as ne, h as X, s as oe } from "./sso-user-
|
|
3
|
+
import { r as ne, h as X, s as oe } from "./sso-user-BpOzJlQ3.js";
|
|
4
4
|
import { CheckCircleFilled as le, QuestionCircleOutlined as ce, CloseOutlined as me } from "@ant-design/icons";
|
|
5
5
|
import { message as k, Result as de, Button as D, Spin as G, Input as ue, Image as fe } from "antd";
|
|
6
6
|
import pe from "query-string";
|
|
7
7
|
import { useState as f, useRef as Y, useMemo as K, useCallback as w, useEffect as V } from "react";
|
|
8
8
|
import { useLocation as ge } from "react-router-dom";
|
|
9
9
|
import { h as W } from "./history-BlrA1eaW.js";
|
|
10
|
-
import {
|
|
11
|
-
import { u as c } from "./useAppStore-
|
|
10
|
+
import { m as he, e as be, g as _e } from "./api-CvQEwiLU.js";
|
|
11
|
+
import { u as c } from "./useAppStore-B1sVy9Iw.js";
|
|
12
12
|
/* empty css */
|
|
13
13
|
import { b as ye } from "./mobile-client-O3yr9h6t.js";
|
|
14
|
-
import { a as ve, s as we } from "./send-default-agent-team-message-
|
|
14
|
+
import { a as ve, s as we } from "./send-default-agent-team-message-Bv-QRc7Y.js";
|
|
15
15
|
const Ne = 5e3, E = 9, Ce = 10 * 1024 * 1024, Se = /^image\//i, Ie = /\.(png|jpe?g|gif|bmp|webp)$/i;
|
|
16
16
|
function Pe(a) {
|
|
17
17
|
return a.type && Se.test(a.type) ? !0 : Ie.test(a.name || "");
|
|
@@ -6,10 +6,10 @@ import { useState as F, useRef as fp, useEffect as Y, useMemo as Wp, useCallback
|
|
|
6
6
|
import Vp, { defaultUrlTransform as KA } from "react-markdown";
|
|
7
7
|
import gp from "rehype-highlight";
|
|
8
8
|
import Jp from "remark-gfm";
|
|
9
|
-
import { ap as xa, aq as jA } from "./api-
|
|
10
|
-
import { u as Dp } from "./useAppStore-
|
|
11
|
-
import {
|
|
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-
|
|
9
|
+
import { ap as xa, aq as jA } from "./api-CvQEwiLU.js";
|
|
10
|
+
import { u as Dp } from "./useAppStore-B1sVy9Iw.js";
|
|
11
|
+
import { n as ia, u as oA, o as fA, q as lA, i as xA, v as iA, w as cA, x as TA, y as vA, z as up, B as Yp, C as mp, E as yp, G as Ip, H as FA, I as dA, J as OA, K as XA } from "./index-DOyFfs3n.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-gVanGCAb.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-
|
|
1685
|
+
() => import("./index-pc_ckjzD.js").then((a) => ({ default: a.MarketContent }))
|
|
1686
1686
|
);
|
|
1687
1687
|
function d0(a) {
|
|
1688
1688
|
const n = [], x = a.split(`
|
|
@@ -2,7 +2,7 @@ import { jsxs as r, jsx as n, Fragment as H } from "react/jsx-runtime";
|
|
|
2
2
|
import { BookOutlined as V, ReloadOutlined as Ne, SearchOutlined as fe, CloseOutlined as ge, CaretDownOutlined as ve, CaretRightOutlined as Te } from "@ant-design/icons";
|
|
3
3
|
import { message as Se, Spin as F } from "antd";
|
|
4
4
|
import { useState as k, useRef as M, useEffect as G, useCallback as C } from "react";
|
|
5
|
-
import { a as A, B as R, u as E } from "./api-
|
|
5
|
+
import { a as A, B as R, u as E } from "./api-CvQEwiLU.js";
|
|
6
6
|
function B(a) {
|
|
7
7
|
const l = new URLSearchParams();
|
|
8
8
|
Object.entries(a).forEach(([N, s]) => {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as s, jsxs as C } from "react/jsx-runtime";
|
|
2
2
|
import { f as z, r as v } from "./ctc-sso-DtJHC-2M.js";
|
|
3
|
-
import { r as L, h as N, s as T } from "./sso-user-
|
|
3
|
+
import { r as L, h as N, s as T } from "./sso-user-BpOzJlQ3.js";
|
|
4
4
|
import { CheckCircleFilled as q } from "@ant-design/icons";
|
|
5
5
|
import { Spin as R } from "antd";
|
|
6
6
|
import W from "query-string";
|
|
7
7
|
import { useMemo as P, useState as p, useCallback as A, useEffect as U } from "react";
|
|
8
8
|
import { useLocation as F } from "react-router-dom";
|
|
9
9
|
import { h as H } from "./history-BlrA1eaW.js";
|
|
10
|
-
import {
|
|
11
|
-
import { u as m } from "./useAppStore-
|
|
10
|
+
import { b as Y, g as B } from "./api-CvQEwiLU.js";
|
|
11
|
+
import { u as m } from "./useAppStore-B1sVy9Iw.js";
|
|
12
12
|
/* empty css */
|
|
13
13
|
import { b as G } from "./mobile-client-O3yr9h6t.js";
|
|
14
14
|
function ne() {
|
|
@@ -1,8 +1,8 @@
|
|
|
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-
|
|
5
|
-
import { i as K, P as x } from "./schedule-
|
|
4
|
+
import { g as b, s as g } from "./ComponentDoc-CLxzCDOh.js";
|
|
5
|
+
import { i as K, P as x } from "./schedule-DkbDjIh4.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,
|
|
8
8
|
dot: S,
|
|
@@ -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-
|
|
5
|
+
import { W as R } from "./index-PGSvSOmm.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-
|
|
19
|
+
import "./index-DOyFfs3n.js";
|
|
20
20
|
const $ = "/api/graph";
|
|
21
21
|
let O = !1;
|
|
22
22
|
function ee() {
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import { jsxs as u, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { useState as h, useCallback as f } from "react";
|
|
3
|
+
import { c as E, t as j } from "./api-CvQEwiLU.js";
|
|
4
|
+
import { S as K, T as Q, P as q } from "./webide-C3IaJ_eP.js";
|
|
5
|
+
import { P as z, W as F, S as G, C as J, E as M, a as R, b, c as T, T as U, d as V } from "./ScheduledTasks-CM1m4eVZ.js";
|
|
6
|
+
import { p as r } from "./index-DOyFfs3n.js";
|
|
7
|
+
function v({
|
|
8
|
+
view: s,
|
|
9
|
+
agents: e,
|
|
10
|
+
token: i,
|
|
11
|
+
currentUser: m,
|
|
12
|
+
onOpenChat: a,
|
|
13
|
+
onOpenAgentDetail: k,
|
|
14
|
+
onBackToExtensions: A,
|
|
15
|
+
onOpenTab: o,
|
|
16
|
+
onAgentCreated: p,
|
|
17
|
+
onOpenProject: d,
|
|
18
|
+
onOpenWorkbenchShell: y
|
|
19
|
+
}) {
|
|
20
|
+
const [S, P] = h(
|
|
21
|
+
null
|
|
22
|
+
), [x, I] = h(
|
|
23
|
+
null
|
|
24
|
+
), D = f(
|
|
25
|
+
(n) => {
|
|
26
|
+
o("notes"), P({ id: n, ts: Date.now() });
|
|
27
|
+
},
|
|
28
|
+
[o]
|
|
29
|
+
), N = f(
|
|
30
|
+
(n) => {
|
|
31
|
+
o("todo"), I({ id: n, ts: Date.now() });
|
|
32
|
+
},
|
|
33
|
+
[o]
|
|
34
|
+
), W = s.kind === "chat" ? `${s.agent.id}-${s.sessionId ?? "new"}-${s.ts}` : "none", [H, C] = h(null), l = e.find((n) => n.id === H) ?? r(e) ?? null, $ = f(
|
|
35
|
+
async (n, c) => {
|
|
36
|
+
const g = l ?? r(e);
|
|
37
|
+
if (g)
|
|
38
|
+
try {
|
|
39
|
+
const B = n.length > 20 ? `${n.slice(0, 20)}…` : n, L = await E(
|
|
40
|
+
g.id,
|
|
41
|
+
B,
|
|
42
|
+
i,
|
|
43
|
+
c
|
|
44
|
+
);
|
|
45
|
+
a(g, j(L.id), n);
|
|
46
|
+
} catch {
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
[l, e, i, a]
|
|
50
|
+
);
|
|
51
|
+
return /* @__PURE__ */ u("div", { style: { height: "100%", display: "flex", flexDirection: "column" }, children: [
|
|
52
|
+
s.kind === "chat" && /* @__PURE__ */ t(
|
|
53
|
+
"div",
|
|
54
|
+
{
|
|
55
|
+
style: {
|
|
56
|
+
flex: 1,
|
|
57
|
+
minHeight: 0,
|
|
58
|
+
display: "flex",
|
|
59
|
+
flexDirection: "column"
|
|
60
|
+
},
|
|
61
|
+
children: /* @__PURE__ */ t(
|
|
62
|
+
z,
|
|
63
|
+
{
|
|
64
|
+
agent: s.agent,
|
|
65
|
+
initialSessionId: s.sessionId,
|
|
66
|
+
draftNoAutoPick: s.draft === !0,
|
|
67
|
+
autoSendDraft: s.draftText ?? null,
|
|
68
|
+
chromeless: !0,
|
|
69
|
+
agents: e,
|
|
70
|
+
onSwitchAgent: (n) => a(n)
|
|
71
|
+
},
|
|
72
|
+
W
|
|
73
|
+
)
|
|
74
|
+
}
|
|
75
|
+
),
|
|
76
|
+
s.kind === "landing" && /* @__PURE__ */ t("div", { style: { flex: 1, minHeight: 0 }, children: /* @__PURE__ */ t(
|
|
77
|
+
F,
|
|
78
|
+
{
|
|
79
|
+
agents: e,
|
|
80
|
+
activeAgent: l,
|
|
81
|
+
onSwitchAgent: (n) => C(n.id),
|
|
82
|
+
onSend: $,
|
|
83
|
+
onOpenTab: o,
|
|
84
|
+
onQuickAsk: () => {
|
|
85
|
+
const n = l ?? r(e);
|
|
86
|
+
n && a(n);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
) }),
|
|
90
|
+
s.kind === "schedule" && /* @__PURE__ */ t(G, { localOnline: !1 }),
|
|
91
|
+
s.kind === "history" && /* @__PURE__ */ t(
|
|
92
|
+
J,
|
|
93
|
+
{
|
|
94
|
+
agents: e,
|
|
95
|
+
token: i,
|
|
96
|
+
onOpenSession: (n, c) => a(n, c)
|
|
97
|
+
}
|
|
98
|
+
),
|
|
99
|
+
s.kind === "extensions" && /* @__PURE__ */ t(
|
|
100
|
+
M,
|
|
101
|
+
{
|
|
102
|
+
agents: e,
|
|
103
|
+
loading: !1,
|
|
104
|
+
skillsAgent: r(e),
|
|
105
|
+
token: i,
|
|
106
|
+
currentUser: m,
|
|
107
|
+
onChat: (n) => a(n),
|
|
108
|
+
onConfig: k,
|
|
109
|
+
onCreated: p,
|
|
110
|
+
onOpenPersonalTab: o,
|
|
111
|
+
onOpenWorkbenchShell: y
|
|
112
|
+
}
|
|
113
|
+
),
|
|
114
|
+
s.kind === "agentDetail" && /* @__PURE__ */ t("div", { style: { flex: 1, minHeight: 0 }, children: /* @__PURE__ */ t(
|
|
115
|
+
R,
|
|
116
|
+
{
|
|
117
|
+
agent: s.agent,
|
|
118
|
+
onBack: A
|
|
119
|
+
}
|
|
120
|
+
) }),
|
|
121
|
+
s.kind === "tab" && /* @__PURE__ */ u("div", { style: { flex: 1, minHeight: 0 }, children: [
|
|
122
|
+
s.tab === "projects" && /* @__PURE__ */ t(
|
|
123
|
+
b,
|
|
124
|
+
{
|
|
125
|
+
activeTab: "projects",
|
|
126
|
+
onActiveTabChange: () => {
|
|
127
|
+
},
|
|
128
|
+
onOpenProject: d,
|
|
129
|
+
hideTabs: !0
|
|
130
|
+
}
|
|
131
|
+
),
|
|
132
|
+
s.tab === "personal" && /* @__PURE__ */ t(
|
|
133
|
+
b,
|
|
134
|
+
{
|
|
135
|
+
activeTab: "personal",
|
|
136
|
+
onActiveTabChange: () => {
|
|
137
|
+
},
|
|
138
|
+
onOpenProject: d,
|
|
139
|
+
hideTabs: !0
|
|
140
|
+
}
|
|
141
|
+
),
|
|
142
|
+
s.tab === "business-stats" && /* @__PURE__ */ t(K, { source: "scenario" }),
|
|
143
|
+
s.tab === "tools" && /* @__PURE__ */ t(T, { showTools: !0, showWebsites: !1 }),
|
|
144
|
+
s.tab === "websites" && /* @__PURE__ */ t(T, { showTools: !1, showWebsites: !0 }),
|
|
145
|
+
s.tab === "todo" && /* @__PURE__ */ t(
|
|
146
|
+
Q,
|
|
147
|
+
{
|
|
148
|
+
onOpenProject: d,
|
|
149
|
+
onOpenNote: D,
|
|
150
|
+
openTodoId: x
|
|
151
|
+
}
|
|
152
|
+
),
|
|
153
|
+
s.tab === "notes" && /* @__PURE__ */ t(
|
|
154
|
+
q,
|
|
155
|
+
{
|
|
156
|
+
onOpenProject: d,
|
|
157
|
+
onOpenTodo: N,
|
|
158
|
+
openNoteId: S
|
|
159
|
+
}
|
|
160
|
+
),
|
|
161
|
+
s.tab === "training" && /* @__PURE__ */ t(U, {}),
|
|
162
|
+
s.tab === "webide" && /* @__PURE__ */ t(V, {})
|
|
163
|
+
] })
|
|
164
|
+
] });
|
|
165
|
+
}
|
|
166
|
+
export {
|
|
167
|
+
v as default
|
|
168
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as a, jsx as i, Fragment as B } from "react/jsx-runtime";
|
|
2
2
|
import { useState as d, useRef as F, useCallback as D, useEffect as R } from "react";
|
|
3
|
-
import { u as O } from "./useAppStore-
|
|
3
|
+
import { u as O } from "./useAppStore-B1sVy9Iw.js";
|
|
4
4
|
/* empty css */
|
|
5
|
-
import { T as P,
|
|
5
|
+
import { T as P, h as U } from "./api-CvQEwiLU.js";
|
|
6
6
|
async function y(o, s) {
|
|
7
7
|
const n = await o.text().catch(() => "");
|
|
8
8
|
let t = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AppLayout as v, ErrorBoundary as H, LoginPage as _, StatusTag as z, defaultStatusMap as F } from "@yuku123/z-frontend-common";
|
|
2
|
-
import { a as y } from "./ComponentDoc-
|
|
3
|
-
import { c as J, E as Q, d as X, e as Y, f as Z, O as $, h as ee, R as te, j as re, k as ae, T as oe, l as ne, r as le, r as ie, m as se } from "./ComponentDoc-
|
|
2
|
+
import { a as y } from "./ComponentDoc-CLxzCDOh.js";
|
|
3
|
+
import { c as J, E as Q, d as X, e as Y, f as Z, O as $, h as ee, R as te, j as re, k as ae, T as oe, l as ne, r as le, r as ie, m as se } from "./ComponentDoc-CLxzCDOh.js";
|
|
4
4
|
import { jsxs as r, Fragment as h, jsx as e } from "react/jsx-runtime";
|
|
5
5
|
import { useState as n, useEffect as T } from "react";
|
|
6
6
|
import { Alert as I, Space as x, Button as l, Tag as c, Result as R } from "antd";
|