@yuku123/z-team-component 0.2.5 → 0.2.6
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/{InvitationManagementPage-BWAjLzVE.js → InvitationManagementPage-BVBwdTi0.js} +2 -2
- package/dist/{LowCodePage-BOIkfK4U.js → LowCodePage-DH-DYM7K.js} +1 -1
- package/dist/{OnboardingPage-BgfMnqG_.js → OnboardingPage-Cy2YU_Og.js} +2 -2
- package/dist/{ProjectApp-DjHsGbam.js → ProjectApp-YRqDFopZ.js} +42 -33
- package/dist/{api-Gpz6URwP.js → api-B6evTauY.js} +1 -1
- package/dist/{index-DlJRXaaz.js → index-CHSnuHux.js} +234 -234
- package/dist/{index-BrB9bUfl.js → index-D_SjmsjB.js} +4 -4
- package/dist/index.js +1 -1
- package/dist/pages.js +1 -1
- package/package.json +1 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as e, jsxs as a, Fragment as et } from "react/jsx-runtime";
|
|
2
|
-
import { ae as At, b3 as Ct, ag as St, ah as vt, k as pd, m as ud, n as st, al as vr, b4 as md, T as
|
|
2
|
+
import { ae as At, b3 as Ct, ag as St, ah as vt, k as pd, m as ud, n as st, al as vr, b4 as md, T as Vn, aP as fd, J as Wr, af as ja, t as ga, aK as gn, b5 as gr, b6 as Ad, b7 as Sd, c as vc, b8 as ol, b9 as vd, ba as mo, bb as hd, bc as Pd, bd as Ud, be as hc, bf as zo, bg as ll, bh as Hd, bi as xd, bj as gd, bk as Kd, bl as jd, bm as Td, bn as Pc, bo as Uc, bp as Nd, bq as kd, br as wd, bs as Od, bt as Rl, bu as Fd, bv as Rd, bw as yd, bx as bd, by as Dd, bz as Xd, bA as Wd, w as qd, bB as Bd, bC as Hc, bD as Ld, bE as zd, bF as yl, bG as Cd, bH as Gd, bI as Id, bJ as Vd, bK as Md, bL as Jd, i as en, bM as xc, bN as gc, bO as qr, aj as Qd, bP as Yd, bQ as Zd, ak as Ed, bR as _d, bS as $d, bT as ep, ab as tp, bU as Kc, bV as Co, bW as jc, bX as ap, bY as np, bZ as Tc, b_ as rp, b$ as fo, c0 as op, c1 as lp, c2 as ip, c3 as cp, c4 as sp, c5 as dp, c6 as pp, c7 as up, c8 as mp, c9 as fp, y as Ap, G as Sp, ca as vp, o as hp, q as Pp, v as Up, a as Hp, j as xp, r as gp, g as Kp, cb as jp } from "./api-W2_U7Nxd.js";
|
|
3
3
|
import { s as Tp, r as Ao, f as Np } from "./ctc-sso-C-QWy9F8.js";
|
|
4
|
-
import { r as Zt, i as kp } from "./ProjectApp-
|
|
4
|
+
import { r as Zt, i as kp } from "./ProjectApp-YRqDFopZ.js";
|
|
5
5
|
import { r as wp, h as bl, s as Dl } from "./sso-user-D1eNVXkY.js";
|
|
6
|
-
import { Result as Op, Button as Q, Drawer as pn, Spin as jt, Empty as Ut, Tag as Ae, message as J, Checkbox as
|
|
6
|
+
import { Result as Op, Button as Q, Drawer as pn, Spin as jt, Empty as Ut, Tag as Ae, message as J, Checkbox as Dn, Tooltip as ft, Segmented as ar, Modal as dt, Dropdown as hr, Input as Te, Select as $e, Pagination as Fp, Table as yt, Popconfirm as Qt, Tabs as un, Form as rt, Switch as Kn, InputNumber as za, DatePicker as il, Radio as Va, Card as xa, Space as nt, Typography as wn, Row as ca, Col as Pt, List as Xl, Statistic as la, Descriptions as Kt, Tree as Nc, Popover as Rp, Upload as Wl, Alert as _r, Badge as kc, AutoComplete as Go, TreeSelect as Br, Timeline as yp, Avatar as bp } from "antd";
|
|
7
7
|
import ir from "query-string";
|
|
8
|
-
import { useState as l, useRef as ye, useCallback as $, useEffect as re, useMemo as qe, useLayoutEffect as wc, forwardRef as Dp, useImperativeHandle as Xp, Fragment as So, memo as Wp, Suspense as qp, lazy as
|
|
9
|
-
import { useNavigate as
|
|
8
|
+
import { useState as l, useRef as ye, useCallback as $, useEffect as re, useMemo as qe, useLayoutEffect as wc, forwardRef as Dp, useImperativeHandle as Xp, Fragment as So, memo as Wp, Suspense as qp, lazy as On } from "react";
|
|
9
|
+
import { useNavigate as Fn, useLocation as nr, Navigate as Gt, useParams as Bp, useRoutes as Lp } from "react-router-dom";
|
|
10
10
|
import { h as La } from "./history-BlrA1eaW.js";
|
|
11
|
-
import { s as
|
|
12
|
-
import { ArrowLeftOutlined as rn, BoldOutlined as Rc, ItalicOutlined as yc, StrikethroughOutlined as bc, UnorderedListOutlined as
|
|
11
|
+
import { s as kt, p as zp, B as Oc, S as Fc, f as Cp, r as ql, a as Bl, b as Gp, d as Ip, T as Vp, e as Mp, g as Jp, h as ge, u as $r, C as Qp, c as Yp } from "./createWorkspaceWsHandler-DrV9AaO7.js";
|
|
12
|
+
import { ArrowLeftOutlined as rn, BoldOutlined as Rc, ItalicOutlined as yc, StrikethroughOutlined as bc, UnorderedListOutlined as yn, OrderedListOutlined as Lr, CheckSquareOutlined as zr, CodeOutlined as Ca, ConsoleSqlOutlined as eo, LinkOutlined as on, PictureOutlined as Cr, VideoCameraOutlined as cl, TableOutlined as sr, PlusOutlined as Ht, ShareAltOutlined as Dc, AppstoreOutlined as ya, EditOutlined as $t, FolderAddOutlined as Zp, FolderOutlined as an, MoreOutlined as sl, EyeOutlined as ln, MenuOutlined as Ep, ClusterOutlined as $a, RobotOutlined as rr, SyncOutlined as dl, TeamOutlined as cn, ScheduleOutlined as pl, SafetyCertificateOutlined as Tn, ThunderboltOutlined as Ia, DashboardOutlined as wa, CloudServerOutlined as Ua, FundViewOutlined as Xc, AuditOutlined as Xn, ApiOutlined as Wn, LayoutOutlined as Wc, CloudUploadOutlined as to, ReadOutlined as Gr, CommentOutlined as En, TagOutlined as _p, FireOutlined as $p, FileTextOutlined as Oa, TrophyOutlined as qc, DeleteOutlined as zt, LikeOutlined as ul, StarOutlined as ml, PushpinFilled as eu, UserOutlined as qn, LikeFilled as tu, StarFilled as fl, SearchOutlined as sa, CloseOutlined as Ga, ProfileOutlined as Ir, CustomerServiceOutlined as Bc, HistoryOutlined as ao, MessageOutlined as sn, ReloadOutlined as ta, UndoOutlined as au, FolderOpenOutlined as Nn, BugOutlined as Al, SolutionOutlined as Lc, RightOutlined as dr, LeftOutlined as nu, CheckOutlined as no, LoadingOutlined as Ll, UpOutlined as Io, RedoOutlined as ru, DownOutlined as er, StopOutlined as zc, CopyOutlined as tn, BellOutlined as ro, SaveOutlined as Cc, SettingOutlined as Vr, ClockCircleOutlined as pr, BarsOutlined as ou, InboxOutlined as ur, CalendarOutlined as vn, HolderOutlined as lu, PlayCircleOutlined as kn, DesktopOutlined as oo, CheckCircleOutlined as mr, PercentageOutlined as iu, FilePptOutlined as cu, FileImageOutlined as Gc, MinusOutlined as su, ArrowUpOutlined as Sl, ArrowDownOutlined as vl, Html5Outlined as zl, LockOutlined as Ic, SnippetsOutlined as Vc, KeyOutlined as Mn, DiffOutlined as du, FontSizeOutlined as pu, ScissorOutlined as uu, BgColorsOutlined as mu, QrcodeOutlined as fu, SendOutlined as Pr, BarChartOutlined as fr, PieChartOutlined as Au, BranchesOutlined as Mr, FilterOutlined as Su, ClearOutlined as hl, GiftOutlined as Mc, ToolOutlined as Jc, FileZipOutlined as Jr, CloudDownloadOutlined as Ar, UserSwitchOutlined as vu, ChromeOutlined as hu, AppleOutlined as Pu, ContainerOutlined as Qc, UnlockOutlined as Uu, PauseCircleOutlined as Hu, RocketOutlined as Yc, AlertOutlined as xu, DatabaseOutlined as Jn, CloudOutlined as Qr, DeploymentUnitOutlined as Sr, ExperimentOutlined as gu, HddOutlined as vo, ApartmentOutlined as Vo, NodeIndexOutlined as Zc, BookOutlined as Qn, FundOutlined as Ku, TagsOutlined as ju, FunctionOutlined as Tu, CaretRightOutlined as Mo, UserAddOutlined as Nu, InfoCircleOutlined as Ec, FileProtectOutlined as ku, AppstoreAddOutlined as wu, FileDoneOutlined as Ou, CloseCircleOutlined as Cl, BulbOutlined as lo, ShopOutlined as Pl, ProjectOutlined as _c, HeartOutlined as Fu, ProductOutlined as Ru, NotificationOutlined as yu, LogoutOutlined as bu } from "@ant-design/icons";
|
|
13
13
|
import { S as Du, P as Xu, s as pe, h as $c, K as Wu, A as qu } from "./index-Bw02b5qJ.js";
|
|
14
14
|
import { u as Oe, s as Bt, i as Bu, J as Kr, T as Lu } from "./useAppStore-C12Ala1u.js";
|
|
15
15
|
import { s as zu } from "./ctc-signout-C_dAvsu5.js";
|
|
@@ -314,23 +314,23 @@ async function Ml() {
|
|
|
314
314
|
const t = await At(`${vt}/common/portal/header-tips`, St);
|
|
315
315
|
return Ct(t, "获取顶部提示失败");
|
|
316
316
|
}
|
|
317
|
-
const
|
|
317
|
+
const Yn = [
|
|
318
318
|
{ status: "TODO", label: "待办" },
|
|
319
319
|
{ status: "DOING", label: "进行中" },
|
|
320
320
|
{ status: "DONE", label: "已完成" }
|
|
321
321
|
];
|
|
322
322
|
function Qo(t) {
|
|
323
|
-
if (!t || !t.trim()) return [...
|
|
323
|
+
if (!t || !t.trim()) return [...Yn];
|
|
324
324
|
try {
|
|
325
325
|
const n = JSON.parse(t), r = Array.isArray(n == null ? void 0 : n.statusColumns) ? n.statusColumns : null;
|
|
326
|
-
if (!r) return [...
|
|
326
|
+
if (!r) return [...Yn];
|
|
327
327
|
const o = r.map((c) => {
|
|
328
328
|
const s = c ?? {}, i = String(s.status ?? "").trim().toUpperCase(), d = String(s.label ?? "").trim();
|
|
329
329
|
return i && d ? { status: i, label: d } : null;
|
|
330
330
|
}).filter((c) => c != null);
|
|
331
|
-
return o.length > 0 ? o : [...
|
|
331
|
+
return o.length > 0 ? o : [...Yn];
|
|
332
332
|
} catch {
|
|
333
|
-
return [...
|
|
333
|
+
return [...Yn];
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
336
|
const Ur = "http://127.0.0.1:28080";
|
|
@@ -1033,7 +1033,7 @@ function ls({
|
|
|
1033
1033
|
}
|
|
1034
1034
|
),
|
|
1035
1035
|
!c && /* @__PURE__ */ e(
|
|
1036
|
-
|
|
1036
|
+
Dn,
|
|
1037
1037
|
{
|
|
1038
1038
|
checked: h,
|
|
1039
1039
|
onChange: (R) => S(R.target.checked),
|
|
@@ -1087,7 +1087,7 @@ function ls({
|
|
|
1087
1087
|
Y("quote", "❝", "引用", () => P("> ")),
|
|
1088
1088
|
Y(
|
|
1089
1089
|
"ul",
|
|
1090
|
-
/* @__PURE__ */ e(
|
|
1090
|
+
/* @__PURE__ */ e(yn, {}),
|
|
1091
1091
|
"无序列表",
|
|
1092
1092
|
() => P("- ")
|
|
1093
1093
|
),
|
|
@@ -1166,7 +1166,7 @@ function ls({
|
|
|
1166
1166
|
) }),
|
|
1167
1167
|
/* @__PURE__ */ e("span", { style: { flex: 1 } }),
|
|
1168
1168
|
/* @__PURE__ */ e(
|
|
1169
|
-
|
|
1169
|
+
ar,
|
|
1170
1170
|
{
|
|
1171
1171
|
size: "small",
|
|
1172
1172
|
value: g,
|
|
@@ -1357,9 +1357,9 @@ const is = "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAASABIAAD/4QBMRXhpZgAATU0AK
|
|
|
1357
1357
|
{ name: "限流治理", icon: /* @__PURE__ */ e(wa, {}) },
|
|
1358
1358
|
{ name: "部署运维", icon: /* @__PURE__ */ e(Ua, {}) },
|
|
1359
1359
|
{ name: "可观测性", icon: /* @__PURE__ */ e(Xc, {}) },
|
|
1360
|
-
{ name: "质量评测", icon: /* @__PURE__ */ e(
|
|
1360
|
+
{ name: "质量评测", icon: /* @__PURE__ */ e(Xn, {}) },
|
|
1361
1361
|
{ name: "全栈实践", icon: /* @__PURE__ */ e(Ca, {}) },
|
|
1362
|
-
{ name: "AI基础设施", icon: /* @__PURE__ */ e(
|
|
1362
|
+
{ name: "AI基础设施", icon: /* @__PURE__ */ e(Wn, {}) },
|
|
1363
1363
|
{ name: "前端", icon: /* @__PURE__ */ e(Wc, {}) }
|
|
1364
1364
|
], s0 = {
|
|
1365
1365
|
编程语言与运行时深度剖析: us,
|
|
@@ -2415,9 +2415,9 @@ const f1 = {
|
|
|
2415
2415
|
限流治理: /* @__PURE__ */ e(wa, {}),
|
|
2416
2416
|
部署运维: /* @__PURE__ */ e(Ua, {}),
|
|
2417
2417
|
可观测性: /* @__PURE__ */ e(Xc, {}),
|
|
2418
|
-
质量评测: /* @__PURE__ */ e(
|
|
2418
|
+
质量评测: /* @__PURE__ */ e(Xn, {}),
|
|
2419
2419
|
全栈实践: /* @__PURE__ */ e(Ca, {}),
|
|
2420
|
-
AI基础设施: /* @__PURE__ */ e(
|
|
2420
|
+
AI基础设施: /* @__PURE__ */ e(Wn, {}),
|
|
2421
2421
|
前端: /* @__PURE__ */ e(Wc, {})
|
|
2422
2422
|
};
|
|
2423
2423
|
function A1(t) {
|
|
@@ -2600,7 +2600,7 @@ function v1() {
|
|
|
2600
2600
|
className: `${Ue.subNavItem} ${o === "community" ? Ue.subNavItemActive : ""}`,
|
|
2601
2601
|
onClick: () => c("community"),
|
|
2602
2602
|
children: [
|
|
2603
|
-
/* @__PURE__ */ e(
|
|
2603
|
+
/* @__PURE__ */ e(En, {}),
|
|
2604
2604
|
" 技术社区"
|
|
2605
2605
|
]
|
|
2606
2606
|
}
|
|
@@ -2765,7 +2765,7 @@ function v1() {
|
|
|
2765
2765
|
] }),
|
|
2766
2766
|
/* @__PURE__ */ a("div", { className: Ue.sideCard, children: [
|
|
2767
2767
|
/* @__PURE__ */ a("div", { className: Ue.sideCardHeader, children: [
|
|
2768
|
-
/* @__PURE__ */ e(
|
|
2768
|
+
/* @__PURE__ */ e(En, {}),
|
|
2769
2769
|
" 关于本社区"
|
|
2770
2770
|
] }),
|
|
2771
2771
|
/* @__PURE__ */ e("div", { className: Ue.sideCardBody, children: "Future-Team 技术社区:分享架构设计、Agent 运行时、多智能体协作、稳定性治理的一线实践。支持匿名发帖,鼓励技术讨论。" }),
|
|
@@ -2962,7 +2962,7 @@ function v1() {
|
|
|
2962
2962
|
ue.likeCount
|
|
2963
2963
|
] }),
|
|
2964
2964
|
/* @__PURE__ */ a("span", { children: [
|
|
2965
|
-
/* @__PURE__ */ e(
|
|
2965
|
+
/* @__PURE__ */ e(En, {}),
|
|
2966
2966
|
" ",
|
|
2967
2967
|
ue.commentCount
|
|
2968
2968
|
] }),
|
|
@@ -3106,7 +3106,7 @@ function h1({
|
|
|
3106
3106
|
t.likeCount
|
|
3107
3107
|
] }),
|
|
3108
3108
|
/* @__PURE__ */ a("span", { className: Ue.metaStat, children: [
|
|
3109
|
-
/* @__PURE__ */ e(
|
|
3109
|
+
/* @__PURE__ */ e(En, {}),
|
|
3110
3110
|
" ",
|
|
3111
3111
|
t.commentCount
|
|
3112
3112
|
] })
|
|
@@ -3208,7 +3208,7 @@ function P1({
|
|
|
3208
3208
|
/* @__PURE__ */ e("h1", { children: t.title }),
|
|
3209
3209
|
/* @__PURE__ */ a("div", { className: Ue.detailMeta, children: [
|
|
3210
3210
|
/* @__PURE__ */ a("span", { children: [
|
|
3211
|
-
/* @__PURE__ */ e(
|
|
3211
|
+
/* @__PURE__ */ e(qn, {}),
|
|
3212
3212
|
" ",
|
|
3213
3213
|
t.isAnonymous ? "匿名用户" : t.displayName
|
|
3214
3214
|
] }),
|
|
@@ -3258,7 +3258,7 @@ function P1({
|
|
|
3258
3258
|
}
|
|
3259
3259
|
),
|
|
3260
3260
|
/* @__PURE__ */ a("button", { className: Ue.actionBtn, children: [
|
|
3261
|
-
/* @__PURE__ */ e(
|
|
3261
|
+
/* @__PURE__ */ e(En, {}),
|
|
3262
3262
|
" ",
|
|
3263
3263
|
t.commentCount
|
|
3264
3264
|
] }),
|
|
@@ -3321,7 +3321,7 @@ function P1({
|
|
|
3321
3321
|
),
|
|
3322
3322
|
/* @__PURE__ */ a("div", { className: Ue.commentInputFooter, children: [
|
|
3323
3323
|
/* @__PURE__ */ e(
|
|
3324
|
-
|
|
3324
|
+
Dn,
|
|
3325
3325
|
{
|
|
3326
3326
|
checked: L,
|
|
3327
3327
|
onChange: (P) => D(P.target.checked),
|
|
@@ -3395,12 +3395,12 @@ function El(t, n, r) {
|
|
|
3395
3395
|
return r === "prepend" ? [...c, ...t] : [...t, ...c];
|
|
3396
3396
|
}
|
|
3397
3397
|
const _l = {
|
|
3398
|
-
0: { label: "待执行", cls:
|
|
3399
|
-
1: { label: "执行中", cls:
|
|
3400
|
-
2: { label: "挂起", cls:
|
|
3401
|
-
3: { label: "已完成", cls:
|
|
3402
|
-
4: { label: "失败", cls:
|
|
3403
|
-
5: { label: "已取消", cls:
|
|
3398
|
+
0: { label: "待执行", cls: kt.todoStatusPending },
|
|
3399
|
+
1: { label: "执行中", cls: kt.todoStatusRunning },
|
|
3400
|
+
2: { label: "挂起", cls: kt.todoStatusSuspended },
|
|
3401
|
+
3: { label: "已完成", cls: kt.todoStatusDone },
|
|
3402
|
+
4: { label: "失败", cls: kt.todoStatusFailed },
|
|
3403
|
+
5: { label: "已取消", cls: kt.todoStatusCancelled }
|
|
3404
3404
|
}, H1 = /* @__PURE__ */ new Set(["JUDGE_CONTINUE", "SUSPEND_FOR_TEAM"]);
|
|
3405
3405
|
function x1(t) {
|
|
3406
3406
|
const n = _l[t.status] || _l[0];
|
|
@@ -3435,7 +3435,7 @@ function K1({
|
|
|
3435
3435
|
He && G.set("keyword", He);
|
|
3436
3436
|
const Pe = typeof window < "u" && (window.localStorage.getItem("token") || window.localStorage.getItem("z_ctc_token") || window.localStorage.getItem("z_team_token")) || "", z = {};
|
|
3437
3437
|
Pe && (z.Authorization = `Bearer ${Pe}`);
|
|
3438
|
-
const ve = await fetch(`${
|
|
3438
|
+
const ve = await fetch(`${Vn}/tasks/my?${G}`, {
|
|
3439
3439
|
credentials: "include",
|
|
3440
3440
|
headers: {
|
|
3441
3441
|
...z,
|
|
@@ -3553,9 +3553,9 @@ function K1({
|
|
|
3553
3553
|
},
|
|
3554
3554
|
[r]
|
|
3555
3555
|
), { tasks: F, total: K, pages: W, minLoadedPage: V, maxLoadedPage: Z } = o, E = Z > 0 && Z < W, Y = V > 1;
|
|
3556
|
-
return /* @__PURE__ */ a("div", { className:
|
|
3557
|
-
/* @__PURE__ */ a("div", { className:
|
|
3558
|
-
/* @__PURE__ */ e("span", { className:
|
|
3556
|
+
return /* @__PURE__ */ a("div", { className: kt.todoListWrap, children: [
|
|
3557
|
+
/* @__PURE__ */ a("div", { className: kt.todoHeader, children: [
|
|
3558
|
+
/* @__PURE__ */ e("span", { className: kt.todoHeaderTitle, children: "个人待办" }),
|
|
3559
3559
|
/* @__PURE__ */ e(
|
|
3560
3560
|
Te,
|
|
3561
3561
|
{
|
|
@@ -3563,7 +3563,7 @@ function K1({
|
|
|
3563
3563
|
allowClear: !0,
|
|
3564
3564
|
prefix: /* @__PURE__ */ e(sa, {}),
|
|
3565
3565
|
placeholder: "搜索待办",
|
|
3566
|
-
className:
|
|
3566
|
+
className: kt.todoSearchInput,
|
|
3567
3567
|
value: h,
|
|
3568
3568
|
onChange: (R) => P(R.target.value)
|
|
3569
3569
|
}
|
|
@@ -3571,58 +3571,58 @@ function K1({
|
|
|
3571
3571
|
/* @__PURE__ */ e(
|
|
3572
3572
|
"button",
|
|
3573
3573
|
{
|
|
3574
|
-
className:
|
|
3574
|
+
className: kt.todoRefreshBtn,
|
|
3575
3575
|
onClick: () => void H(),
|
|
3576
3576
|
title: "刷新",
|
|
3577
3577
|
children: "↻"
|
|
3578
3578
|
}
|
|
3579
3579
|
)
|
|
3580
3580
|
] }),
|
|
3581
|
-
/* @__PURE__ */ a("div", { ref: g, className:
|
|
3582
|
-
/* @__PURE__ */ e("div", { ref: O, className:
|
|
3583
|
-
m ? /* @__PURE__ */ e("div", { className:
|
|
3584
|
-
s && F.length === 0 ? /* @__PURE__ */ e("div", { className:
|
|
3581
|
+
/* @__PURE__ */ a("div", { ref: g, className: kt.todoScrollArea, children: [
|
|
3582
|
+
/* @__PURE__ */ e("div", { ref: O, className: kt.todoScrollSentinel }),
|
|
3583
|
+
m ? /* @__PURE__ */ e("div", { className: kt.todoLoadHint, children: "加载更早待办..." }) : Y ? /* @__PURE__ */ e("div", { className: kt.todoLoadHint, children: "向上滑动加载更多" }) : null,
|
|
3584
|
+
s && F.length === 0 ? /* @__PURE__ */ e("div", { className: kt.todoEmpty, children: "加载中..." }) : p && F.length === 0 ? /* @__PURE__ */ a("div", { className: kt.todoEmpty, children: [
|
|
3585
3585
|
/* @__PURE__ */ e("span", { style: { color: "#f5222d" }, children: p }),
|
|
3586
3586
|
/* @__PURE__ */ e(
|
|
3587
3587
|
"button",
|
|
3588
3588
|
{
|
|
3589
|
-
className:
|
|
3589
|
+
className: kt.todoRefreshBtn,
|
|
3590
3590
|
onClick: () => void H(),
|
|
3591
3591
|
children: "重试"
|
|
3592
3592
|
}
|
|
3593
3593
|
)
|
|
3594
|
-
] }) : F.length === 0 ? /* @__PURE__ */ e("div", { className:
|
|
3594
|
+
] }) : F.length === 0 ? /* @__PURE__ */ e("div", { className: kt.todoEmpty, children: v ? "未找到匹配的待办" : "暂无待办" }) : j.map(
|
|
3595
3595
|
({ projectId: R, tasks: G }, He) => {
|
|
3596
3596
|
const Pe = k[R] || `项目 ${R}`;
|
|
3597
|
-
return /* @__PURE__ */ a("div", { className:
|
|
3598
|
-
/* @__PURE__ */ a("div", { className:
|
|
3599
|
-
/* @__PURE__ */ e(ft, { title: Pe, placement: "topLeft", children: /* @__PURE__ */ e("span", { className:
|
|
3600
|
-
/* @__PURE__ */ e("span", { className:
|
|
3597
|
+
return /* @__PURE__ */ a("div", { className: kt.todoGroup, children: [
|
|
3598
|
+
/* @__PURE__ */ a("div", { className: kt.todoGroupHeader, children: [
|
|
3599
|
+
/* @__PURE__ */ e(ft, { title: Pe, placement: "topLeft", children: /* @__PURE__ */ e("span", { className: kt.todoGroupTitle, children: Pe }) }),
|
|
3600
|
+
/* @__PURE__ */ e("span", { className: kt.todoGroupCount, children: G.length })
|
|
3601
3601
|
] }),
|
|
3602
3602
|
G.map((z) => {
|
|
3603
3603
|
const ve = x1(z), je = zp(z);
|
|
3604
3604
|
return /* @__PURE__ */ a(
|
|
3605
3605
|
"div",
|
|
3606
3606
|
{
|
|
3607
|
-
className:
|
|
3607
|
+
className: kt.todoCard,
|
|
3608
3608
|
onClick: () => x(z),
|
|
3609
3609
|
children: [
|
|
3610
|
-
/* @__PURE__ */ a("div", { className:
|
|
3610
|
+
/* @__PURE__ */ a("div", { className: kt.todoCardHeader, children: [
|
|
3611
3611
|
/* @__PURE__ */ e(
|
|
3612
3612
|
"span",
|
|
3613
3613
|
{
|
|
3614
|
-
className: `${
|
|
3614
|
+
className: `${kt.todoStatusDot} ${ve.cls}`
|
|
3615
3615
|
}
|
|
3616
3616
|
),
|
|
3617
|
-
/* @__PURE__ */ e("span", { className:
|
|
3618
|
-
/* @__PURE__ */ e("span", { className: `${
|
|
3617
|
+
/* @__PURE__ */ e("span", { className: kt.todoName, children: z.name }),
|
|
3618
|
+
/* @__PURE__ */ e("span", { className: `${kt.todoTag} ${ve.cls}`, children: ve.label })
|
|
3619
3619
|
] }),
|
|
3620
|
-
/* @__PURE__ */ a("div", { className:
|
|
3621
|
-
je ? /* @__PURE__ */ a("span", { className:
|
|
3620
|
+
/* @__PURE__ */ a("div", { className: kt.todoCardMeta, children: [
|
|
3621
|
+
je ? /* @__PURE__ */ a("span", { className: kt.todoFrom, children: [
|
|
3622
3622
|
"@",
|
|
3623
3623
|
je.label
|
|
3624
3624
|
] }) : null,
|
|
3625
|
-
/* @__PURE__ */ e("span", { className:
|
|
3625
|
+
/* @__PURE__ */ e("span", { className: kt.todoTime, children: g1(z.createTime) })
|
|
3626
3626
|
] })
|
|
3627
3627
|
]
|
|
3628
3628
|
},
|
|
@@ -3632,18 +3632,18 @@ function K1({
|
|
|
3632
3632
|
] }, `${R}-${He}`);
|
|
3633
3633
|
}
|
|
3634
3634
|
),
|
|
3635
|
-
d ? /* @__PURE__ */ e("div", { className:
|
|
3635
|
+
d ? /* @__PURE__ */ e("div", { className: kt.todoLoadHint, children: "加载更多待办..." }) : E ? /* @__PURE__ */ a("div", { className: kt.todoLoadHint, children: [
|
|
3636
3636
|
"向下滑动加载更多(已加载 ",
|
|
3637
3637
|
F.length,
|
|
3638
3638
|
"/",
|
|
3639
3639
|
K,
|
|
3640
3640
|
")"
|
|
3641
|
-
] }) : F.length > 0 ? /* @__PURE__ */ a("div", { className:
|
|
3641
|
+
] }) : F.length > 0 ? /* @__PURE__ */ a("div", { className: kt.todoLoadHint, children: [
|
|
3642
3642
|
"已加载全部 ",
|
|
3643
3643
|
K,
|
|
3644
3644
|
" 条"
|
|
3645
3645
|
] }) : null,
|
|
3646
|
-
/* @__PURE__ */ e("div", { ref: b, className:
|
|
3646
|
+
/* @__PURE__ */ e("div", { ref: b, className: kt.todoScrollSentinel })
|
|
3647
3647
|
] })
|
|
3648
3648
|
] });
|
|
3649
3649
|
}
|
|
@@ -4173,7 +4173,7 @@ function Th() {
|
|
|
4173
4173
|
if (!(!E || !K)) {
|
|
4174
4174
|
F(!0);
|
|
4175
4175
|
try {
|
|
4176
|
-
const he = `${
|
|
4176
|
+
const he = `${Vn}/scenario-instances/${E}/team/agents/${encodeURIComponent(
|
|
4177
4177
|
K.name
|
|
4178
4178
|
)}/skills`, oe = await gn(he);
|
|
4179
4179
|
if (oe.ok) {
|
|
@@ -4282,7 +4282,7 @@ function Th() {
|
|
|
4282
4282
|
b(he), L([]), X(null), T(""), C(!0), P(!0);
|
|
4283
4283
|
try {
|
|
4284
4284
|
const ue = await gn(
|
|
4285
|
-
`${
|
|
4285
|
+
`${Vn}/scenario-instances/${E}/team/agents/${encodeURIComponent(
|
|
4286
4286
|
K.name
|
|
4287
4287
|
)}/skills/${encodeURIComponent(he.skillName)}/files`
|
|
4288
4288
|
);
|
|
@@ -4295,7 +4295,7 @@ function Th() {
|
|
|
4295
4295
|
if (le) {
|
|
4296
4296
|
X(le);
|
|
4297
4297
|
const Ze = await gn(
|
|
4298
|
-
`${
|
|
4298
|
+
`${Vn}/scenario-instances/${E}/team/agents/${encodeURIComponent(
|
|
4299
4299
|
K.name
|
|
4300
4300
|
)}/skills/${encodeURIComponent(
|
|
4301
4301
|
he.skillName
|
|
@@ -4317,7 +4317,7 @@ function Th() {
|
|
|
4317
4317
|
X(he), P(!0);
|
|
4318
4318
|
try {
|
|
4319
4319
|
const oe = await gn(
|
|
4320
|
-
`${
|
|
4320
|
+
`${Vn}/scenario-instances/${E}/team/agents/${encodeURIComponent(
|
|
4321
4321
|
K.name
|
|
4322
4322
|
)}/skills/${encodeURIComponent(
|
|
4323
4323
|
O.skillName
|
|
@@ -4929,7 +4929,7 @@ function kh({
|
|
|
4929
4929
|
p && /* @__PURE__ */ e(jt, { size: "small" })
|
|
4930
4930
|
] }) }),
|
|
4931
4931
|
/* @__PURE__ */ e(rt.Item, { label: "业务域(可多选)", children: /* @__PURE__ */ e(
|
|
4932
|
-
|
|
4932
|
+
Dn.Group,
|
|
4933
4933
|
{
|
|
4934
4934
|
options: d,
|
|
4935
4935
|
value: s,
|
|
@@ -5795,7 +5795,7 @@ function ri(t) {
|
|
|
5795
5795
|
};
|
|
5796
5796
|
});
|
|
5797
5797
|
}
|
|
5798
|
-
function
|
|
5798
|
+
function Ln(t) {
|
|
5799
5799
|
return t.filter((n) => n.type === "text").map((n) => n.text).join("");
|
|
5800
5800
|
}
|
|
5801
5801
|
function XU(t) {
|
|
@@ -6540,14 +6540,14 @@ function CU({
|
|
|
6540
6540
|
)) })
|
|
6541
6541
|
] }) : v.map(
|
|
6542
6542
|
(ae, ie) => ae.role === "user" ? /* @__PURE__ */ a("div", { className: Be.userRow, children: [
|
|
6543
|
-
/* @__PURE__ */ e("div", { className: Be.userBubble, children:
|
|
6543
|
+
/* @__PURE__ */ e("div", { className: Be.userBubble, children: Ln(ae.blocks) }),
|
|
6544
6544
|
!b && /* @__PURE__ */ a("div", { className: Be.userActions, children: [
|
|
6545
6545
|
/* @__PURE__ */ e(
|
|
6546
6546
|
Zo,
|
|
6547
6547
|
{
|
|
6548
6548
|
inline: !0,
|
|
6549
6549
|
label: "复制",
|
|
6550
|
-
getText: () =>
|
|
6550
|
+
getText: () => Ln(ae.blocks)
|
|
6551
6551
|
}
|
|
6552
6552
|
),
|
|
6553
6553
|
/* @__PURE__ */ e(
|
|
@@ -6557,7 +6557,7 @@ function CU({
|
|
|
6557
6557
|
className: Be.userActionBtn,
|
|
6558
6558
|
title: "编辑重发(其后内容将被截断)",
|
|
6559
6559
|
"aria-label": "编辑重发",
|
|
6560
|
-
onClick: () => Wt(ie,
|
|
6560
|
+
onClick: () => Wt(ie, Ln(ae.blocks)),
|
|
6561
6561
|
children: /* @__PURE__ */ e($t, {})
|
|
6562
6562
|
}
|
|
6563
6563
|
),
|
|
@@ -6570,7 +6570,7 @@ function CU({
|
|
|
6570
6570
|
"aria-label": "重发",
|
|
6571
6571
|
onClick: () => void ra(
|
|
6572
6572
|
ie,
|
|
6573
|
-
|
|
6573
|
+
Ln(ae.blocks)
|
|
6574
6574
|
),
|
|
6575
6575
|
children: /* @__PURE__ */ e(ru, {})
|
|
6576
6576
|
}
|
|
@@ -6594,7 +6594,7 @@ function CU({
|
|
|
6594
6594
|
!ae.streaming && /* @__PURE__ */ e(
|
|
6595
6595
|
Zo,
|
|
6596
6596
|
{
|
|
6597
|
-
getText: () =>
|
|
6597
|
+
getText: () => Ln(ae.blocks)
|
|
6598
6598
|
}
|
|
6599
6599
|
),
|
|
6600
6600
|
ae.error && /* @__PURE__ */ a("div", { className: Be.errorBar, children: [
|
|
@@ -6611,7 +6611,7 @@ function CU({
|
|
|
6611
6611
|
me--;
|
|
6612
6612
|
me >= 0 && ra(
|
|
6613
6613
|
me,
|
|
6614
|
-
|
|
6614
|
+
Ln(v[me].blocks)
|
|
6615
6615
|
);
|
|
6616
6616
|
},
|
|
6617
6617
|
children: "重试"
|
|
@@ -6631,7 +6631,7 @@ function CU({
|
|
|
6631
6631
|
onClick: fe,
|
|
6632
6632
|
title: "回到最新消息",
|
|
6633
6633
|
"aria-label": "回到最新消息",
|
|
6634
|
-
children: /* @__PURE__ */ e(
|
|
6634
|
+
children: /* @__PURE__ */ e(er, {})
|
|
6635
6635
|
}
|
|
6636
6636
|
),
|
|
6637
6637
|
/* @__PURE__ */ a("div", { className: Be.composerWrap, children: [
|
|
@@ -6874,7 +6874,7 @@ const GU = "_container_oyitu_1", IU = "_header_oyitu_9", VU = "_backBtn_oyitu_20
|
|
|
6874
6874
|
{ label: "每周一9点", value: "0 0 9 ? * MON" },
|
|
6875
6875
|
{ label: "每周五17点", value: "0 0 17 ? * FRI" }
|
|
6876
6876
|
];
|
|
6877
|
-
function
|
|
6877
|
+
function zn(t) {
|
|
6878
6878
|
if (!t) return "—";
|
|
6879
6879
|
try {
|
|
6880
6880
|
return new Date(t).toLocaleString("zh-CN", {
|
|
@@ -7160,7 +7160,7 @@ function Dx({
|
|
|
7160
7160
|
}
|
|
7161
7161
|
),
|
|
7162
7162
|
/* @__PURE__ */ e("span", { className: Ke.notifTaskName, children: ce.taskName || "定时任务" }),
|
|
7163
|
-
/* @__PURE__ */ e("span", { className: Ke.notifTime, children:
|
|
7163
|
+
/* @__PURE__ */ e("span", { className: Ke.notifTime, children: zn(ce.createTime) }),
|
|
7164
7164
|
ce.readFlag === 0 && /* @__PURE__ */ e(
|
|
7165
7165
|
"button",
|
|
7166
7166
|
{
|
|
@@ -7235,7 +7235,7 @@ function Dx({
|
|
|
7235
7235
|
/* @__PURE__ */ e("span", { className: Ke.taskName, children: ce.name })
|
|
7236
7236
|
] }),
|
|
7237
7237
|
/* @__PURE__ */ e("div", { className: Ke.taskCron, children: ce.cronExpression }),
|
|
7238
|
-
/* @__PURE__ */ e("div", { className: Ke.taskNextRun, children: ce.enabled === 1 ? `下次: ${
|
|
7238
|
+
/* @__PURE__ */ e("div", { className: Ke.taskNextRun, children: ce.enabled === 1 ? `下次: ${zn(ce.nextRunTime)}` : "已停用" }),
|
|
7239
7239
|
ce.notifyUserName && /* @__PURE__ */ a("div", { className: Ke.taskNotify, children: [
|
|
7240
7240
|
"→ ",
|
|
7241
7241
|
ce.notifyUserName
|
|
@@ -7381,11 +7381,11 @@ function Dx({
|
|
|
7381
7381
|
),
|
|
7382
7382
|
/* @__PURE__ */ a("span", { style: { marginLeft: 12 }, children: [
|
|
7383
7383
|
"上次执行: ",
|
|
7384
|
-
|
|
7384
|
+
zn(Re.lastRunTime)
|
|
7385
7385
|
] }),
|
|
7386
7386
|
/* @__PURE__ */ a("span", { style: { marginLeft: 12 }, children: [
|
|
7387
7387
|
"下次执行: ",
|
|
7388
|
-
|
|
7388
|
+
zn(Re.nextRunTime)
|
|
7389
7389
|
] })
|
|
7390
7390
|
]
|
|
7391
7391
|
}
|
|
@@ -7443,8 +7443,8 @@ function Dx({
|
|
|
7443
7443
|
),
|
|
7444
7444
|
/* @__PURE__ */ a("div", { className: Ke.logContent, children: [
|
|
7445
7445
|
/* @__PURE__ */ a("div", { className: Ke.logTime, children: [
|
|
7446
|
-
|
|
7447
|
-
ce.completedAt && ` → ${
|
|
7446
|
+
zn(ce.startedAt),
|
|
7447
|
+
ce.completedAt && ` → ${zn(ce.completedAt)}`
|
|
7448
7448
|
] }),
|
|
7449
7449
|
ce.resultSnippet && /* @__PURE__ */ e("div", { className: Ke.logSnippet, children: ce.resultSnippet }),
|
|
7450
7450
|
ce.errorMessage && /* @__PURE__ */ e("div", { className: Ke.logError, children: ce.errorMessage })
|
|
@@ -8264,7 +8264,7 @@ function qg({ content: t }) {
|
|
|
8264
8264
|
const n = Jp(t);
|
|
8265
8265
|
return /* @__PURE__ */ e(et, { children: n.map((r, o) => r.type === "reasoning" ? /* @__PURE__ */ a("details", { className: Ie.reasoningBlock, children: [
|
|
8266
8266
|
/* @__PURE__ */ a("summary", { className: Ie.reasoningSummary, children: [
|
|
8267
|
-
/* @__PURE__ */ e(
|
|
8267
|
+
/* @__PURE__ */ e(En, { style: { marginRight: 4 } }),
|
|
8268
8268
|
r.name || "思考过程"
|
|
8269
8269
|
] }),
|
|
8270
8270
|
/* @__PURE__ */ e("div", { className: Ie.reasoningContent, children: r.text })
|
|
@@ -10342,7 +10342,7 @@ const p9 = [
|
|
|
10342
10342
|
{ status: "DOING", label: "进行中" },
|
|
10343
10343
|
{ status: "DONE", label: "已完成" },
|
|
10344
10344
|
{ status: "ARCHIVED", label: "已归档" }
|
|
10345
|
-
],
|
|
10345
|
+
], Cn = "__custom__";
|
|
10346
10346
|
function u9() {
|
|
10347
10347
|
const t = Math.random().toString(36).slice(2, 8).toUpperCase(), n = Date.now().toString(36).slice(-2).toUpperCase();
|
|
10348
10348
|
return `C_${t}${n}`.slice(0, 10);
|
|
@@ -10353,9 +10353,9 @@ function m9({
|
|
|
10353
10353
|
onCancel: r,
|
|
10354
10354
|
onSubmit: o
|
|
10355
10355
|
}) {
|
|
10356
|
-
const [c, s] = l(
|
|
10356
|
+
const [c, s] = l(Cn), [i, d] = l(""), [u, m] = l(""), [f, p] = l(!1);
|
|
10357
10357
|
if (re(() => {
|
|
10358
|
-
t && (t.mode === "rename" ? m(t.label) : (s(
|
|
10358
|
+
t && (t.mode === "rename" ? m(t.label) : (s(Cn), d(""), m("")));
|
|
10359
10359
|
}, [t]), !t) return null;
|
|
10360
10360
|
const A = t.mode === "rename", h = new Set(n.map((O) => String(O.status))), S = p9.filter(
|
|
10361
10361
|
(O) => !h.has(O.status)
|
|
@@ -10376,7 +10376,7 @@ function m9({
|
|
|
10376
10376
|
return;
|
|
10377
10377
|
}
|
|
10378
10378
|
if (!v) return;
|
|
10379
|
-
const O = c ===
|
|
10379
|
+
const O = c === Cn ? u9() : c;
|
|
10380
10380
|
p(!0);
|
|
10381
10381
|
try {
|
|
10382
10382
|
await o({ status: O, label: v });
|
|
@@ -10409,13 +10409,13 @@ function m9({
|
|
|
10409
10409
|
value: c,
|
|
10410
10410
|
onChange: (O) => s(O),
|
|
10411
10411
|
options: [
|
|
10412
|
-
{ value:
|
|
10412
|
+
{ value: Cn, label: "+ 新建自定义状态" },
|
|
10413
10413
|
...S
|
|
10414
10414
|
]
|
|
10415
10415
|
}
|
|
10416
10416
|
)
|
|
10417
10417
|
] }),
|
|
10418
|
-
!A && c ===
|
|
10418
|
+
!A && c === Cn && /* @__PURE__ */ a("div", { className: q.columnModalField, children: [
|
|
10419
10419
|
/* @__PURE__ */ e("span", { className: q.columnModalLabel, children: "状态名称" }),
|
|
10420
10420
|
/* @__PURE__ */ e(
|
|
10421
10421
|
Te,
|
|
@@ -10434,7 +10434,7 @@ function m9({
|
|
|
10434
10434
|
Te,
|
|
10435
10435
|
{
|
|
10436
10436
|
className: q.columnModalControl,
|
|
10437
|
-
placeholder: A ? "输入新的列名" : c ===
|
|
10437
|
+
placeholder: A ? "输入新的列名" : c === Cn ? "默认与状态名称一致" : "默认与状态名一致",
|
|
10438
10438
|
maxLength: 16,
|
|
10439
10439
|
value: u,
|
|
10440
10440
|
onChange: (O) => m(O.target.value),
|
|
@@ -10970,7 +10970,7 @@ const gl = Dp(function({
|
|
|
10970
10970
|
C("quote", "❝", "引用", () => L("> ")),
|
|
10971
10971
|
C(
|
|
10972
10972
|
"ul",
|
|
10973
|
-
/* @__PURE__ */ e(
|
|
10973
|
+
/* @__PURE__ */ e(yn, {}),
|
|
10974
10974
|
"无序列表",
|
|
10975
10975
|
() => L("- ")
|
|
10976
10976
|
),
|
|
@@ -11455,7 +11455,7 @@ function E9({
|
|
|
11455
11455
|
}
|
|
11456
11456
|
),
|
|
11457
11457
|
!S && /* @__PURE__ */ e(
|
|
11458
|
-
|
|
11458
|
+
ar,
|
|
11459
11459
|
{
|
|
11460
11460
|
size: "small",
|
|
11461
11461
|
value: y,
|
|
@@ -11839,7 +11839,7 @@ function $9({
|
|
|
11839
11839
|
j.length === 0 && /* @__PURE__ */ e("div", { className: q.detailHint, children: "暂无子事项" }),
|
|
11840
11840
|
j.map((z) => /* @__PURE__ */ a("div", { className: q.detailChildRow, children: [
|
|
11841
11841
|
/* @__PURE__ */ e(
|
|
11842
|
-
|
|
11842
|
+
Dn,
|
|
11843
11843
|
{
|
|
11844
11844
|
checked: z.status === "DONE",
|
|
11845
11845
|
onChange: async () => {
|
|
@@ -12066,11 +12066,11 @@ function tN({
|
|
|
12066
12066
|
(E) => E[0] != null && !V.includes(E[0])
|
|
12067
12067
|
)
|
|
12068
12068
|
];
|
|
12069
|
-
}, [T, n, o, s]), C = !o, B = (V) => C && V.dataTransfer.types.includes(
|
|
12069
|
+
}, [T, n, o, s]), C = !o, B = (V) => C && V.dataTransfer.types.includes(Rn), P = !!i && n === "status", k = () => {
|
|
12070
12070
|
g(null), b(null), L(null), X(null);
|
|
12071
12071
|
}, j = (V, Z) => N != null && O != null && O.group === V && O.index === Z, x = (V, Z, E) => ({
|
|
12072
12072
|
onDragStart: (Y) => {
|
|
12073
|
-
Y.dataTransfer.setData(
|
|
12073
|
+
Y.dataTransfer.setData(Rn, String(V.id)), Y.dataTransfer.effectAllowed = "move", g(V.id);
|
|
12074
12074
|
},
|
|
12075
12075
|
onDragEnd: k,
|
|
12076
12076
|
onDragOver: (Y) => {
|
|
@@ -12082,7 +12082,7 @@ function tN({
|
|
|
12082
12082
|
onDrop: (Y) => {
|
|
12083
12083
|
if (!B(Y)) return;
|
|
12084
12084
|
Y.preventDefault(), Y.stopPropagation();
|
|
12085
|
-
const R = ga(Y.dataTransfer.getData(
|
|
12085
|
+
const R = ga(Y.dataTransfer.getData(Rn));
|
|
12086
12086
|
if (R !== "") {
|
|
12087
12087
|
const G = Y.currentTarget.getBoundingClientRect(), He = Y.clientY < G.top + G.height / 2;
|
|
12088
12088
|
f(R, Z, He ? E : E + 1);
|
|
@@ -12096,7 +12096,7 @@ function tN({
|
|
|
12096
12096
|
onDrop: (E) => {
|
|
12097
12097
|
if (!B(E)) return;
|
|
12098
12098
|
E.preventDefault();
|
|
12099
|
-
const Y = ga(E.dataTransfer.getData(
|
|
12099
|
+
const Y = ga(E.dataTransfer.getData(Rn));
|
|
12100
12100
|
Y !== "" && f(Y, V, (O == null ? void 0 : O.index) ?? Z), k();
|
|
12101
12101
|
}
|
|
12102
12102
|
}), K = (V, Z, E) => {
|
|
@@ -12131,7 +12131,7 @@ function tN({
|
|
|
12131
12131
|
}
|
|
12132
12132
|
if (!B(E)) return;
|
|
12133
12133
|
E.preventDefault();
|
|
12134
|
-
const Y = ga(E.dataTransfer.getData(
|
|
12134
|
+
const Y = ga(E.dataTransfer.getData(Rn));
|
|
12135
12135
|
Y !== "" && f(Y, V, (O == null ? void 0 : O.index) ?? Z), k();
|
|
12136
12136
|
}
|
|
12137
12137
|
});
|
|
@@ -12412,7 +12412,7 @@ function Ko({
|
|
|
12412
12412
|
onClick: (T) => {
|
|
12413
12413
|
T.stopPropagation(), i(t);
|
|
12414
12414
|
},
|
|
12415
|
-
children: /* @__PURE__ */ e(
|
|
12415
|
+
children: /* @__PURE__ */ e(Dn, { checked: S })
|
|
12416
12416
|
}
|
|
12417
12417
|
),
|
|
12418
12418
|
/* @__PURE__ */ e(
|
|
@@ -12492,7 +12492,7 @@ function Ko({
|
|
|
12492
12492
|
] }),
|
|
12493
12493
|
y.length === 1 && /* @__PURE__ */ e("span", { className: q.cardAssigneeName, children: y[0].name })
|
|
12494
12494
|
] }) : /* @__PURE__ */ a("span", { className: q.cardUnassigned, title: L, children: [
|
|
12495
|
-
/* @__PURE__ */ e(
|
|
12495
|
+
/* @__PURE__ */ e(qn, {}),
|
|
12496
12496
|
" 未指派"
|
|
12497
12497
|
] }),
|
|
12498
12498
|
/* @__PURE__ */ e("span", { className: q.cardFootSpacer }),
|
|
@@ -12536,7 +12536,7 @@ function Ko({
|
|
|
12536
12536
|
onClick: (T) => {
|
|
12537
12537
|
T.stopPropagation(), i(t);
|
|
12538
12538
|
},
|
|
12539
|
-
children: /* @__PURE__ */ e(
|
|
12539
|
+
children: /* @__PURE__ */ e(Dn, { checked: S })
|
|
12540
12540
|
}
|
|
12541
12541
|
),
|
|
12542
12542
|
/* @__PURE__ */ e(
|
|
@@ -12575,7 +12575,7 @@ function Ko({
|
|
|
12575
12575
|
}
|
|
12576
12576
|
),
|
|
12577
12577
|
y.length > 0 && /* @__PURE__ */ a("span", { className: q.assigneeChip, title: L, children: [
|
|
12578
|
-
/* @__PURE__ */ e(
|
|
12578
|
+
/* @__PURE__ */ e(qn, {}),
|
|
12579
12579
|
y[0].name,
|
|
12580
12580
|
y.length > 1 ? ` +${y.length - 1}` : ""
|
|
12581
12581
|
] }),
|
|
@@ -12750,7 +12750,7 @@ const Pi = "application/x-ft-todo-project", nN = [
|
|
|
12750
12750
|
{ key: "today", label: "今天", icon: /* @__PURE__ */ e(pr, {}) },
|
|
12751
12751
|
{ key: "week", label: "最近 7 天", icon: /* @__PURE__ */ e(pr, {}) },
|
|
12752
12752
|
{ key: "all", label: "全部事项", icon: /* @__PURE__ */ e(zr, {}) },
|
|
12753
|
-
{ key: "assigned", label: "指派给我的", icon: /* @__PURE__ */ e(
|
|
12753
|
+
{ key: "assigned", label: "指派给我的", icon: /* @__PURE__ */ e(qn, {}) },
|
|
12754
12754
|
{ key: "completed", label: "已完成", icon: /* @__PURE__ */ e(zr, {}) }
|
|
12755
12755
|
], Ui = /* @__PURE__ */ e("span", { children: "取消" });
|
|
12756
12756
|
function rN({
|
|
@@ -12777,7 +12777,7 @@ function rN({
|
|
|
12777
12777
|
} finally {
|
|
12778
12778
|
h(!1);
|
|
12779
12779
|
}
|
|
12780
|
-
}, k = (Y) => n.type === "view" && n.key === Y, j = (Y) => Y.dataTransfer.types.includes(
|
|
12780
|
+
}, k = (Y) => n.type === "view" && n.key === Y, j = (Y) => Y.dataTransfer.types.includes(Rn), x = (Y) => Y.dataTransfer.types.includes(Pi), F = (Y) => ({
|
|
12781
12781
|
onDragOver: (R) => {
|
|
12782
12782
|
j(R) && (R.preventDefault(), R.stopPropagation(), H(Y));
|
|
12783
12783
|
},
|
|
@@ -12787,7 +12787,7 @@ function rN({
|
|
|
12787
12787
|
onDrop: (R) => {
|
|
12788
12788
|
if (!j(R)) return;
|
|
12789
12789
|
R.preventDefault(), R.stopPropagation();
|
|
12790
|
-
const G = ga(R.dataTransfer.getData(
|
|
12790
|
+
const G = ga(R.dataTransfer.getData(Rn));
|
|
12791
12791
|
H(null), G !== "" && s(G, Y);
|
|
12792
12792
|
}
|
|
12793
12793
|
}), K = () => {
|
|
@@ -13023,7 +13023,7 @@ function rN({
|
|
|
13023
13023
|
)
|
|
13024
13024
|
] });
|
|
13025
13025
|
}
|
|
13026
|
-
const
|
|
13026
|
+
const Rn = "application/x-ft-todo-item", kr = "application/x-ft-todo-column", oN = {
|
|
13027
13027
|
today: "今天",
|
|
13028
13028
|
week: "最近 7 天",
|
|
13029
13029
|
all: "全部事项",
|
|
@@ -13071,7 +13071,7 @@ function js(t, n, r, o) {
|
|
|
13071
13071
|
}
|
|
13072
13072
|
const s = Array.from(c.entries());
|
|
13073
13073
|
if (n === "status") {
|
|
13074
|
-
const i = (o ??
|
|
13074
|
+
const i = (o ?? Yn).map(
|
|
13075
13075
|
(d) => String(d.status)
|
|
13076
13076
|
);
|
|
13077
13077
|
s.sort((d, u) => {
|
|
@@ -13207,7 +13207,7 @@ function dN({
|
|
|
13207
13207
|
return (c == null ? void 0 : c.id) != null && String(c.id) || ((I = (fe = s == null ? void 0 : s.owned) == null ? void 0 : fe[0]) == null ? void 0 : I.userId) || ((le = d.find((Ze) => Ze.projectId == null)) == null ? void 0 : le.userId) || "";
|
|
13208
13208
|
},
|
|
13209
13209
|
[c, s, d]
|
|
13210
|
-
), R = qe(() => E ? Qo(E.extraInfo) :
|
|
13210
|
+
), R = qe(() => E ? Qo(E.extraInfo) : Yn, [E]), G = !!E && E.userId === Y, He = $(
|
|
13211
13211
|
async (fe) => {
|
|
13212
13212
|
if (E)
|
|
13213
13213
|
try {
|
|
@@ -13389,7 +13389,7 @@ function dN({
|
|
|
13389
13389
|
] }),
|
|
13390
13390
|
/* @__PURE__ */ a("div", { className: q.toolbar, children: [
|
|
13391
13391
|
/* @__PURE__ */ e(
|
|
13392
|
-
|
|
13392
|
+
ar,
|
|
13393
13393
|
{
|
|
13394
13394
|
size: "small",
|
|
13395
13395
|
className: q.groupSeg,
|
|
@@ -14130,7 +14130,7 @@ function Dk({
|
|
|
14130
14130
|
u(""), i(!0);
|
|
14131
14131
|
try {
|
|
14132
14132
|
const N = !!t.inputConfig, g = ((S = A.split(`
|
|
14133
|
-
`)[0]) == null ? void 0 : S.trim()) ?? "", O = g.length > 0 ? g.length > 32 ? `${g.slice(0, 32)}…` : g : `${Date.now()}`, b = `${t.title}-${O}`, L = await (await fetch(`${
|
|
14133
|
+
`)[0]) == null ? void 0 : S.trim()) ?? "", O = g.length > 0 ? g.length > 32 ? `${g.slice(0, 32)}…` : g : `${Date.now()}`, b = `${t.title}-${O}`, L = await (await fetch(`${Vn}/scenario-instances/`, {
|
|
14134
14134
|
method: "POST",
|
|
14135
14135
|
credentials: "include",
|
|
14136
14136
|
headers: {
|
|
@@ -15049,7 +15049,7 @@ function ki({
|
|
|
15049
15049
|
}
|
|
15050
15050
|
),
|
|
15051
15051
|
/* @__PURE__ */ e(
|
|
15052
|
-
|
|
15052
|
+
ar,
|
|
15053
15053
|
{
|
|
15054
15054
|
value: o,
|
|
15055
15055
|
onChange: (F) => L(F),
|
|
@@ -15439,7 +15439,7 @@ const Wk = "_readOnlyCodeView_ioz80_1", qk = "_header_ioz80_10", Bk = "_title_io
|
|
|
15439
15439
|
{
|
|
15440
15440
|
key: "hash",
|
|
15441
15441
|
label: "哈希生成",
|
|
15442
|
-
icon: /* @__PURE__ */ e(
|
|
15442
|
+
icon: /* @__PURE__ */ e(Mn, {}),
|
|
15443
15443
|
description: "MD5 / SHA-1/256/512"
|
|
15444
15444
|
},
|
|
15445
15445
|
{
|
|
@@ -15523,7 +15523,7 @@ const Wk = "_readOnlyCodeView_ioz80_1", qk = "_header_ioz80_10", Bk = "_title_io
|
|
|
15523
15523
|
{
|
|
15524
15524
|
key: "http",
|
|
15525
15525
|
label: "HTTP 客户端",
|
|
15526
|
-
icon: /* @__PURE__ */ e(
|
|
15526
|
+
icon: /* @__PURE__ */ e(Wn, {}),
|
|
15527
15527
|
description: "发送请求 / 导入导出 cURL"
|
|
15528
15528
|
},
|
|
15529
15529
|
{
|
|
@@ -17695,7 +17695,7 @@ const Kw = "_shell_u0mpu_1", jw = "_subNav_u0mpu_10", Tw = "_subNavItem_u0mpu_36
|
|
|
17695
17695
|
{ key: "websites", label: "常用网站", icon: /* @__PURE__ */ e(on, {}) },
|
|
17696
17696
|
{ key: "smart-partner", label: "智能伙伴", icon: /* @__PURE__ */ e(sn, {}) },
|
|
17697
17697
|
{ key: "business-stats", label: "业务指标", icon: /* @__PURE__ */ e(Au, {}) },
|
|
17698
|
-
{ key: "todo", label: "工作代办", icon: /* @__PURE__ */ e(
|
|
17698
|
+
{ key: "todo", label: "工作代办", icon: /* @__PURE__ */ e(yn, {}) },
|
|
17699
17699
|
{ key: "notes", label: "个人笔记", icon: /* @__PURE__ */ e(Oa, {}) },
|
|
17700
17700
|
{ key: "webide", label: "WebIDE", icon: /* @__PURE__ */ e(eo, {}) }
|
|
17701
17701
|
];
|
|
@@ -17908,7 +17908,7 @@ function qw({
|
|
|
17908
17908
|
{
|
|
17909
17909
|
type: "text",
|
|
17910
17910
|
size: "small",
|
|
17911
|
-
icon: d ? /* @__PURE__ */ e(Io, {}) : /* @__PURE__ */ e(
|
|
17911
|
+
icon: d ? /* @__PURE__ */ e(Io, {}) : /* @__PURE__ */ e(er, {}),
|
|
17912
17912
|
onClick: (p) => {
|
|
17913
17913
|
p.stopPropagation(), u(!d);
|
|
17914
17914
|
}
|
|
@@ -20109,7 +20109,7 @@ const Wi = /* @__PURE__ */ new Set([
|
|
|
20109
20109
|
"download",
|
|
20110
20110
|
"archive",
|
|
20111
20111
|
"unarchive"
|
|
20112
|
-
]),
|
|
20112
|
+
]), Zn = {
|
|
20113
20113
|
create_time: "desc",
|
|
20114
20114
|
name: "asc",
|
|
20115
20115
|
id: "asc"
|
|
@@ -20122,14 +20122,14 @@ function ZF() {
|
|
|
20122
20122
|
if (!Array.isArray(n)) return [];
|
|
20123
20123
|
const r = [];
|
|
20124
20124
|
for (const o of n)
|
|
20125
|
-
if (typeof o == "string" && o in
|
|
20125
|
+
if (typeof o == "string" && o in Zn) {
|
|
20126
20126
|
const c = o;
|
|
20127
|
-
r.push({ dim: c, order:
|
|
20128
|
-
} else if (o && typeof o == "object" && typeof o.dim == "string" && o.dim in
|
|
20127
|
+
r.push({ dim: c, order: Zn[c] });
|
|
20128
|
+
} else if (o && typeof o == "object" && typeof o.dim == "string" && o.dim in Zn) {
|
|
20129
20129
|
const c = o.dim;
|
|
20130
20130
|
r.push({
|
|
20131
20131
|
dim: c,
|
|
20132
|
-
order: o.order === "asc" || o.order === "desc" ? o.order :
|
|
20132
|
+
order: o.order === "asc" || o.order === "desc" ? o.order : Zn[c]
|
|
20133
20133
|
});
|
|
20134
20134
|
}
|
|
20135
20135
|
return r.filter(
|
|
@@ -20316,8 +20316,8 @@ function EF({
|
|
|
20316
20316
|
}, []), me = $((M) => {
|
|
20317
20317
|
Se((xe) => {
|
|
20318
20318
|
const ke = xe.findIndex((lt) => lt.dim === M);
|
|
20319
|
-
if (ke < 0) return [...xe, { dim: M, order:
|
|
20320
|
-
if (xe[ke].order ===
|
|
20319
|
+
if (ke < 0) return [...xe, { dim: M, order: Zn[M] }];
|
|
20320
|
+
if (xe[ke].order === Zn[M]) {
|
|
20321
20321
|
const lt = [...xe];
|
|
20322
20322
|
return lt[ke] = {
|
|
20323
20323
|
dim: M,
|
|
@@ -20345,54 +20345,54 @@ function EF({
|
|
|
20345
20345
|
});
|
|
20346
20346
|
}, []), mt = qe(() => {
|
|
20347
20347
|
var da;
|
|
20348
|
-
const M = Rt.length === 0 ? c : c.filter((
|
|
20349
|
-
const Fa = Array.isArray(
|
|
20348
|
+
const M = Rt.length === 0 ? c : c.filter((Nt) => {
|
|
20349
|
+
const Fa = Array.isArray(Nt.members) ? Nt.members.map((Sa) => String(Sa)) : [];
|
|
20350
20350
|
return Rt.some(
|
|
20351
20351
|
(Sa) => Ee(Sa).some((Da) => Fa.includes(Da))
|
|
20352
20352
|
);
|
|
20353
|
-
}), xe = I.trim().toLowerCase(), lt = [...xe ? M.filter((
|
|
20353
|
+
}), xe = I.trim().toLowerCase(), lt = [...xe ? M.filter((Nt) => (Nt.name || "").toLowerCase().includes(xe)) : M].sort((Nt, Fa) => {
|
|
20354
20354
|
for (const { dim: Sa, order: Da } of te) {
|
|
20355
20355
|
const Ja = Da === "asc" ? 1 : -1;
|
|
20356
20356
|
if (Sa === "create_time") {
|
|
20357
|
-
const pa = Kr(
|
|
20357
|
+
const pa = Kr(Nt.created_at) - Kr(Fa.created_at);
|
|
20358
20358
|
if (pa !== 0) return pa * Ja;
|
|
20359
20359
|
} else if (Sa === "name") {
|
|
20360
|
-
const pa = (
|
|
20360
|
+
const pa = (Nt.name || "").localeCompare(Fa.name || "", "zh-CN");
|
|
20361
20361
|
if (pa !== 0) return pa * Ja;
|
|
20362
20362
|
} else if (Sa === "id") {
|
|
20363
|
-
const pa = Ap(
|
|
20363
|
+
const pa = Ap(Nt.id, Fa.id);
|
|
20364
20364
|
if (pa !== 0) return pa * Ja;
|
|
20365
20365
|
}
|
|
20366
20366
|
}
|
|
20367
|
-
return Kr(Fa.created_at) - Kr(
|
|
20367
|
+
return Kr(Fa.created_at) - Kr(Nt.created_at);
|
|
20368
20368
|
});
|
|
20369
20369
|
if (w.length === 0)
|
|
20370
20370
|
return [{ key: "__all__", label: "", projects: lt }];
|
|
20371
|
-
function pt(
|
|
20371
|
+
function pt(Nt, Fa) {
|
|
20372
20372
|
switch (Fa) {
|
|
20373
20373
|
case "scenario":
|
|
20374
20374
|
return [
|
|
20375
|
-
|
|
20376
|
-
|
|
20375
|
+
Nt.scenario_code || "__no_scenario__",
|
|
20376
|
+
Nt.scenario_name || "未分类"
|
|
20377
20377
|
];
|
|
20378
20378
|
case "status":
|
|
20379
20379
|
return [
|
|
20380
|
-
|
|
20381
|
-
|
|
20380
|
+
Nt.status || "__unknown__",
|
|
20381
|
+
Nt.status === "ACTIVE" ? "活跃" : Nt.status === "CLOSED" ? "关单" : Nt.status === "ARCHIVED" ? "已归档" : Nt.status || "未知"
|
|
20382
20382
|
];
|
|
20383
20383
|
case "time": {
|
|
20384
|
-
const Sa =
|
|
20384
|
+
const Sa = Nt.created_at || "", Da = Sa.length >= 10 ? Sa.slice(0, 10) : "(未知时间)";
|
|
20385
20385
|
return [Da, Da];
|
|
20386
20386
|
}
|
|
20387
20387
|
case "test":
|
|
20388
|
-
return
|
|
20388
|
+
return Nt.parent_id != null ? ["fork", "Fork"] : ["normal", "正式"];
|
|
20389
20389
|
}
|
|
20390
20390
|
}
|
|
20391
|
-
const Dt = ((da = te.find((
|
|
20392
|
-
function Hn(
|
|
20391
|
+
const Dt = ((da = te.find((Nt) => Nt.dim === "create_time")) == null ? void 0 : da.order) === "asc";
|
|
20392
|
+
function Hn(Nt, Fa, Sa) {
|
|
20393
20393
|
if (Fa.length === 0) return [];
|
|
20394
20394
|
const [Da, ...Ja] = Fa, pa = /* @__PURE__ */ new Map();
|
|
20395
|
-
for (const Qa of
|
|
20395
|
+
for (const Qa of Nt) {
|
|
20396
20396
|
const [Ya, Za] = pt(Qa, Da);
|
|
20397
20397
|
pa.has(Ya) || pa.set(Ya, { label: Za, items: [] }), pa.get(Ya).items.push(Qa);
|
|
20398
20398
|
}
|
|
@@ -20510,19 +20510,19 @@ function EF({
|
|
|
20510
20510
|
(M, xe, ke, lt, pt) => {
|
|
20511
20511
|
const Dt = Array.isArray(M) ? M : [], Hn = pt ?? 16;
|
|
20512
20512
|
return Dt.map((da) => {
|
|
20513
|
-
const
|
|
20513
|
+
const Nt = ke ? `${ke}/${da.name}` : da.name, Fa = lt ? `${lt.id}/${Nt}` : Nt, Sa = lt ? `${lt.id}/${Nt}` : Nt, Da = Fe.has(Fa), Ja = Hn + xe * 20;
|
|
20514
20514
|
return /* @__PURE__ */ a("div", { children: [
|
|
20515
20515
|
/* @__PURE__ */ a(
|
|
20516
20516
|
"div",
|
|
20517
20517
|
{
|
|
20518
|
-
className: `${ge.fileItem} ${i ===
|
|
20518
|
+
className: `${ge.fileItem} ${i === Nt ? ge.fileItemActive : ""}`,
|
|
20519
20519
|
style: { paddingLeft: Ja },
|
|
20520
20520
|
onClick: () => {
|
|
20521
|
-
da.is_dir ? Pa(Fa,
|
|
20521
|
+
da.is_dir ? Pa(Fa, Nt) : h(Nt);
|
|
20522
20522
|
},
|
|
20523
20523
|
onContextMenu: (pa) => Vt(pa, da.is_dir ? "dir" : "file", {
|
|
20524
20524
|
...da,
|
|
20525
|
-
path:
|
|
20525
|
+
path: Nt
|
|
20526
20526
|
}),
|
|
20527
20527
|
children: [
|
|
20528
20528
|
da.is_dir && /* @__PURE__ */ e("span", { className: ge.treeArrow, children: it.chevron(Da) }),
|
|
@@ -20539,7 +20539,7 @@ function EF({
|
|
|
20539
20539
|
da.is_dir ? "dir" : "file",
|
|
20540
20540
|
{
|
|
20541
20541
|
...da,
|
|
20542
|
-
path:
|
|
20542
|
+
path: Nt
|
|
20543
20543
|
},
|
|
20544
20544
|
!0
|
|
20545
20545
|
);
|
|
@@ -20553,7 +20553,7 @@ function EF({
|
|
|
20553
20553
|
da.is_dir && Da && /* @__PURE__ */ e("div", { children: be[Sa] && be[Sa].length > 0 ? Aa(
|
|
20554
20554
|
be[Sa],
|
|
20555
20555
|
xe + 1,
|
|
20556
|
-
|
|
20556
|
+
Nt,
|
|
20557
20557
|
lt,
|
|
20558
20558
|
pt
|
|
20559
20559
|
) : be[Sa] ? /* @__PURE__ */ e(
|
|
@@ -20571,7 +20571,7 @@ function EF({
|
|
|
20571
20571
|
children: "加载中..."
|
|
20572
20572
|
}
|
|
20573
20573
|
) })
|
|
20574
|
-
] },
|
|
20574
|
+
] }, Nt);
|
|
20575
20575
|
});
|
|
20576
20576
|
},
|
|
20577
20577
|
[
|
|
@@ -21211,7 +21211,7 @@ function $F({
|
|
|
21211
21211
|
}
|
|
21212
21212
|
) });
|
|
21213
21213
|
}
|
|
21214
|
-
const eR = Wp(EF), $o = "ft_gateway_default_ak", tR = typeof window < "u" && window.ZTEAM_USE_KAPI === !0, Ws = tR, aR = `${Ws ? "/kapi" : ""}/z-team`,
|
|
21214
|
+
const eR = Wp(EF), $o = "ft_gateway_default_ak", tR = typeof window < "u" && window.ZTEAM_USE_KAPI === !0, Ws = tR, aR = `${Ws ? "/kapi" : ""}/z-team`, Bn = Ws ? "/kapi/z-team-agent-gateway" : "/gateway-api";
|
|
21215
21215
|
function nR(t) {
|
|
21216
21216
|
return {
|
|
21217
21217
|
modelName: String(t.modelName ?? t.model_name ?? t.service ?? ""),
|
|
@@ -21362,7 +21362,7 @@ const rR = [
|
|
|
21362
21362
|
];
|
|
21363
21363
|
async function oR(t, n, r, o) {
|
|
21364
21364
|
var u, m, f, p;
|
|
21365
|
-
const c = await fetch(`${
|
|
21365
|
+
const c = await fetch(`${Bn}/v1/chat/completions`, {
|
|
21366
21366
|
method: "POST",
|
|
21367
21367
|
headers: {
|
|
21368
21368
|
"Content-Type": "application/json",
|
|
@@ -21444,7 +21444,7 @@ async function oR(t, n, r, o) {
|
|
|
21444
21444
|
}
|
|
21445
21445
|
}
|
|
21446
21446
|
async function Bs(t, n, r) {
|
|
21447
|
-
const o = await fetch(`${
|
|
21447
|
+
const o = await fetch(`${Bn}/v1/api-keys`, {
|
|
21448
21448
|
method: "POST",
|
|
21449
21449
|
headers: { "Content-Type": "application/json" },
|
|
21450
21450
|
body: JSON.stringify({ userId: t, userName: n, description: r })
|
|
@@ -21457,7 +21457,7 @@ async function Bs(t, n, r) {
|
|
|
21457
21457
|
}
|
|
21458
21458
|
async function qi(t) {
|
|
21459
21459
|
const n = await fetch(
|
|
21460
|
-
`${
|
|
21460
|
+
`${Bn}/v1/api-keys?userId=${encodeURIComponent(t)}`,
|
|
21461
21461
|
{ headers: { "Content-Type": "application/json" } }
|
|
21462
21462
|
);
|
|
21463
21463
|
if (!n.ok) throw new Error(`获取 AK 列表失败 HTTP ${n.status}`);
|
|
@@ -21465,19 +21465,19 @@ async function qi(t) {
|
|
|
21465
21465
|
return Array.isArray(o) ? o : [];
|
|
21466
21466
|
}
|
|
21467
21467
|
async function lR(t) {
|
|
21468
|
-
const n = await fetch(`${
|
|
21468
|
+
const n = await fetch(`${Bn}/v1/api-keys/${t}`, {
|
|
21469
21469
|
method: "DELETE"
|
|
21470
21470
|
});
|
|
21471
21471
|
if (!n.ok) throw new Error(`吊销 AK 失败 HTTP ${n.status}`);
|
|
21472
21472
|
}
|
|
21473
21473
|
async function iR(t) {
|
|
21474
|
-
const n = await fetch(`${
|
|
21474
|
+
const n = await fetch(`${Bn}/v1/api-keys/${t}/usage`);
|
|
21475
21475
|
if (!n.ok) throw new Error(`获取用量统计失败 HTTP ${n.status}`);
|
|
21476
21476
|
const r = await n.json();
|
|
21477
21477
|
return (r == null ? void 0 : r.data) ?? r;
|
|
21478
21478
|
}
|
|
21479
21479
|
function cR() {
|
|
21480
|
-
return typeof window < "u" ? `${window.location.origin}${
|
|
21480
|
+
return typeof window < "u" ? `${window.location.origin}${Bn}` : Bn;
|
|
21481
21481
|
}
|
|
21482
21482
|
const el = "ft_gateway_ak_cache";
|
|
21483
21483
|
function sR(t, n) {
|
|
@@ -22408,7 +22408,7 @@ function Iy({ onStartChat: t }) {
|
|
|
22408
22408
|
onClick: () => d(A.modelName),
|
|
22409
22409
|
children: [
|
|
22410
22410
|
/* @__PURE__ */ e(
|
|
22411
|
-
|
|
22411
|
+
Dn,
|
|
22412
22412
|
{
|
|
22413
22413
|
className: De.modelCheckbox,
|
|
22414
22414
|
checked: h,
|
|
@@ -22473,13 +22473,13 @@ const Vy = [
|
|
|
22473
22473
|
// 模型与对话
|
|
22474
22474
|
{ key: "model-management", label: "模型管理", icon: /* @__PURE__ */ e(Ua, {}) },
|
|
22475
22475
|
{ key: "model-chat", label: "模型对话", icon: /* @__PURE__ */ e(sn, {}) },
|
|
22476
|
-
{ key: "ak-management", label: "AK 管理", icon: /* @__PURE__ */ e(
|
|
22476
|
+
{ key: "ak-management", label: "AK 管理", icon: /* @__PURE__ */ e(Mn, {}) },
|
|
22477
22477
|
// Agent 应用
|
|
22478
22478
|
{ key: "agent-app", label: "Agent 应用", icon: /* @__PURE__ */ e(rr, {}) },
|
|
22479
22479
|
{ key: "agent-instance", label: "多 Agent 实例", icon: /* @__PURE__ */ e(ya, {}) },
|
|
22480
22480
|
{ key: "template-market", label: "模板市场", icon: /* @__PURE__ */ e(Mc, {}) },
|
|
22481
22481
|
// 协议与扩展
|
|
22482
|
-
{ key: "mcp-service", label: "MCP 服务", icon: /* @__PURE__ */ e(
|
|
22482
|
+
{ key: "mcp-service", label: "MCP 服务", icon: /* @__PURE__ */ e(Wn, {}) },
|
|
22483
22483
|
{ key: "skill-market", label: "技能市场", icon: /* @__PURE__ */ e(Jc, {}) },
|
|
22484
22484
|
// 监控与调试
|
|
22485
22485
|
{ key: "agent-dashboard", label: "Agent 监控", icon: /* @__PURE__ */ e(fr, {}) },
|
|
@@ -23143,7 +23143,7 @@ function oD({
|
|
|
23143
23143
|
/* @__PURE__ */ e("div", { className: Ve.detailSummary, children: i.summary || "暂无简介" }),
|
|
23144
23144
|
/* @__PURE__ */ a("div", { className: Ve.detailMeta, children: [
|
|
23145
23145
|
/* @__PURE__ */ a("span", { children: [
|
|
23146
|
-
/* @__PURE__ */ e(
|
|
23146
|
+
/* @__PURE__ */ e(qn, {}),
|
|
23147
23147
|
" ",
|
|
23148
23148
|
i.creatorName
|
|
23149
23149
|
] }),
|
|
@@ -24488,7 +24488,7 @@ const CD = () => {
|
|
|
24488
24488
|
{
|
|
24489
24489
|
key: "devops-dba",
|
|
24490
24490
|
label: "DBA 工单",
|
|
24491
|
-
icon: /* @__PURE__ */ e(
|
|
24491
|
+
icon: /* @__PURE__ */ e(Jn, {}),
|
|
24492
24492
|
path: "/ops/devops/dba",
|
|
24493
24493
|
desc: "数据库运维工单"
|
|
24494
24494
|
}
|
|
@@ -24522,7 +24522,7 @@ const CD = () => {
|
|
|
24522
24522
|
{
|
|
24523
24523
|
key: "ops-repo",
|
|
24524
24524
|
label: "仓库管理",
|
|
24525
|
-
icon: /* @__PURE__ */ e(
|
|
24525
|
+
icon: /* @__PURE__ */ e(Jn, {}),
|
|
24526
24526
|
path: "/ops/repo-mgmt",
|
|
24527
24527
|
desc: "代码仓库与镜像管理"
|
|
24528
24528
|
}
|
|
@@ -24535,7 +24535,7 @@ const CD = () => {
|
|
|
24535
24535
|
{
|
|
24536
24536
|
key: "config-list",
|
|
24537
24537
|
label: "配置列表",
|
|
24538
|
-
icon: /* @__PURE__ */ e(
|
|
24538
|
+
icon: /* @__PURE__ */ e(yn, {}),
|
|
24539
24539
|
path: "/config/list",
|
|
24540
24540
|
desc: "集中配置项的查询、编辑与发布"
|
|
24541
24541
|
},
|
|
@@ -24571,12 +24571,12 @@ const CD = () => {
|
|
|
24571
24571
|
},
|
|
24572
24572
|
{
|
|
24573
24573
|
title: "密钥中心",
|
|
24574
|
-
icon: /* @__PURE__ */ e(
|
|
24574
|
+
icon: /* @__PURE__ */ e(Mn, {}),
|
|
24575
24575
|
items: [
|
|
24576
24576
|
{
|
|
24577
24577
|
key: "mist-secret",
|
|
24578
24578
|
label: "密钥管理",
|
|
24579
|
-
icon: /* @__PURE__ */ e(
|
|
24579
|
+
icon: /* @__PURE__ */ e(Mn, {}),
|
|
24580
24580
|
path: "/mist/secret",
|
|
24581
24581
|
desc: "z-mist 密钥台账(只读孵化)"
|
|
24582
24582
|
},
|
|
@@ -24624,7 +24624,7 @@ const CD = () => {
|
|
|
24624
24624
|
{
|
|
24625
24625
|
key: "meta-interface",
|
|
24626
24626
|
label: "接口台账",
|
|
24627
|
-
icon: /* @__PURE__ */ e(
|
|
24627
|
+
icon: /* @__PURE__ */ e(Wn, {}),
|
|
24628
24628
|
path: "/meta/interface",
|
|
24629
24629
|
desc: "登记在册的业务接口"
|
|
24630
24630
|
},
|
|
@@ -24672,7 +24672,7 @@ const CD = () => {
|
|
|
24672
24672
|
{
|
|
24673
24673
|
key: "msg-batch",
|
|
24674
24674
|
label: "批量任务",
|
|
24675
|
-
icon: /* @__PURE__ */ e(
|
|
24675
|
+
icon: /* @__PURE__ */ e(yn, {}),
|
|
24676
24676
|
path: "/msg/batch",
|
|
24677
24677
|
desc: "批量发送进度与成败"
|
|
24678
24678
|
}
|
|
@@ -24700,7 +24700,7 @@ const CD = () => {
|
|
|
24700
24700
|
},
|
|
24701
24701
|
{
|
|
24702
24702
|
title: "向量检索",
|
|
24703
|
-
icon: /* @__PURE__ */ e(
|
|
24703
|
+
icon: /* @__PURE__ */ e(Jn, {}),
|
|
24704
24704
|
items: [
|
|
24705
24705
|
{
|
|
24706
24706
|
key: "vector-collection",
|
|
@@ -24761,12 +24761,12 @@ const CD = () => {
|
|
|
24761
24761
|
},
|
|
24762
24762
|
{
|
|
24763
24763
|
title: "网关",
|
|
24764
|
-
icon: /* @__PURE__ */ e(
|
|
24764
|
+
icon: /* @__PURE__ */ e(Wn, {}),
|
|
24765
24765
|
items: [
|
|
24766
24766
|
{
|
|
24767
24767
|
key: "gw-routes",
|
|
24768
24768
|
label: "网关路由",
|
|
24769
|
-
icon: /* @__PURE__ */ e(
|
|
24769
|
+
icon: /* @__PURE__ */ e(yn, {}),
|
|
24770
24770
|
path: "/gw/routes",
|
|
24771
24771
|
desc: "z-gw 在线路由表:谓词 / 过滤器 / order / 启停"
|
|
24772
24772
|
},
|
|
@@ -24788,7 +24788,7 @@ const CD = () => {
|
|
|
24788
24788
|
},
|
|
24789
24789
|
{
|
|
24790
24790
|
title: "缓存",
|
|
24791
|
-
icon: /* @__PURE__ */ e(
|
|
24791
|
+
icon: /* @__PURE__ */ e(Jn, {}),
|
|
24792
24792
|
items: [
|
|
24793
24793
|
{
|
|
24794
24794
|
key: "cache-overview",
|
|
@@ -24841,7 +24841,7 @@ const CD = () => {
|
|
|
24841
24841
|
{
|
|
24842
24842
|
key: "mq-topics",
|
|
24843
24843
|
label: "Topic 列表",
|
|
24844
|
-
icon: /* @__PURE__ */ e(
|
|
24844
|
+
icon: /* @__PURE__ */ e(yn, {}),
|
|
24845
24845
|
path: "/mq/topics",
|
|
24846
24846
|
desc: "NameServer 码 8 ∥ Broker 码 8 并排 + 按需码 3 路由详情"
|
|
24847
24847
|
},
|
|
@@ -24856,26 +24856,26 @@ const CD = () => {
|
|
|
24856
24856
|
},
|
|
24857
24857
|
{
|
|
24858
24858
|
title: "知识库",
|
|
24859
|
-
icon: /* @__PURE__ */ e(
|
|
24859
|
+
icon: /* @__PURE__ */ e(Qn, {}),
|
|
24860
24860
|
items: [
|
|
24861
24861
|
{
|
|
24862
24862
|
key: "kb-workspace",
|
|
24863
24863
|
label: "工作空间",
|
|
24864
|
-
icon: /* @__PURE__ */ e(
|
|
24864
|
+
icon: /* @__PURE__ */ e(Qn, {}),
|
|
24865
24865
|
path: "/kb/workspaces",
|
|
24866
24866
|
desc: "知识库工作空间管理"
|
|
24867
24867
|
},
|
|
24868
24868
|
{
|
|
24869
24869
|
key: "kb-documents",
|
|
24870
24870
|
label: "文档管理",
|
|
24871
|
-
icon: /* @__PURE__ */ e(
|
|
24871
|
+
icon: /* @__PURE__ */ e(Qn, {}),
|
|
24872
24872
|
path: "/kb/documents",
|
|
24873
24873
|
desc: "知识库文档列表与管理"
|
|
24874
24874
|
},
|
|
24875
24875
|
{
|
|
24876
24876
|
key: "kb-search",
|
|
24877
24877
|
label: "知识搜索",
|
|
24878
|
-
icon: /* @__PURE__ */ e(
|
|
24878
|
+
icon: /* @__PURE__ */ e(Qn, {}),
|
|
24879
24879
|
path: "/kb/search",
|
|
24880
24880
|
desc: "统一知识搜索"
|
|
24881
24881
|
}
|
|
@@ -24902,7 +24902,7 @@ const CD = () => {
|
|
|
24902
24902
|
{
|
|
24903
24903
|
key: "oss-account",
|
|
24904
24904
|
label: "访问身份",
|
|
24905
|
-
icon: /* @__PURE__ */ e(
|
|
24905
|
+
icon: /* @__PURE__ */ e(Mn, {}),
|
|
24906
24906
|
path: "/oss/account",
|
|
24907
24907
|
desc: "平台账号 → z_oss_user 映射;未开户显式报 409,不退化成空表"
|
|
24908
24908
|
}
|
|
@@ -24915,7 +24915,7 @@ const CD = () => {
|
|
|
24915
24915
|
{
|
|
24916
24916
|
key: "script-keys",
|
|
24917
24917
|
label: "API Key 台账",
|
|
24918
|
-
icon: /* @__PURE__ */ e(
|
|
24918
|
+
icon: /* @__PURE__ */ e(Mn, {}),
|
|
24919
24919
|
path: "/script/keys",
|
|
24920
24920
|
desc: "GET /api/script/api-key/page · 刻意不渲染 api_key / api_secret_hash 两列(见 TASK-20260925-031)"
|
|
24921
24921
|
},
|
|
@@ -24969,7 +24969,7 @@ function GD() {
|
|
|
24969
24969
|
/* @__PURE__ */ e("div", { className: fa.emptyText, children: "请从左侧菜单选择运维模块" })
|
|
24970
24970
|
] });
|
|
24971
24971
|
}
|
|
24972
|
-
function
|
|
24972
|
+
function Gn({ label: t }) {
|
|
24973
24973
|
return /* @__PURE__ */ a("div", { style: { padding: 40, textAlign: "center", color: "#999" }, children: [
|
|
24974
24974
|
/* @__PURE__ */ a("h2", { children: [
|
|
24975
24975
|
"🚧 ",
|
|
@@ -25031,12 +25031,12 @@ const Gi = [
|
|
|
25031
25031
|
{ path: "/ops/devops/nodes", element: /* @__PURE__ */ e(WD, {}) },
|
|
25032
25032
|
{ path: "/ops/devops/pods", element: /* @__PURE__ */ e(zD, {}) },
|
|
25033
25033
|
{ path: "/ops/devops/hpa", element: /* @__PURE__ */ e(CD, {}) },
|
|
25034
|
-
{ path: "/ops/devops/registry", element: /* @__PURE__ */ e(
|
|
25035
|
-
{ path: "/ops/devops/pipeline", element: /* @__PURE__ */ e(
|
|
25036
|
-
{ path: "/ops/devops/release", element: /* @__PURE__ */ e(
|
|
25037
|
-
{ path: "/ops/devops/monitor", element: /* @__PURE__ */ e(
|
|
25038
|
-
{ path: "/ops/devops/logs", element: /* @__PURE__ */ e(
|
|
25039
|
-
{ path: "/ops/devops/dba", element: /* @__PURE__ */ e(
|
|
25034
|
+
{ path: "/ops/devops/registry", element: /* @__PURE__ */ e(Gn, { label: "镜像仓库" }) },
|
|
25035
|
+
{ path: "/ops/devops/pipeline", element: /* @__PURE__ */ e(Gn, { label: "流水线" }) },
|
|
25036
|
+
{ path: "/ops/devops/release", element: /* @__PURE__ */ e(Gn, { label: "发布管理" }) },
|
|
25037
|
+
{ path: "/ops/devops/monitor", element: /* @__PURE__ */ e(Gn, { label: "监控告警" }) },
|
|
25038
|
+
{ path: "/ops/devops/logs", element: /* @__PURE__ */ e(Gn, { label: "日志管理" }) },
|
|
25039
|
+
{ path: "/ops/devops/dba", element: /* @__PURE__ */ e(Gn, { label: "DBA 工单" }) },
|
|
25040
25040
|
// ─── 配置中心 ───
|
|
25041
25041
|
// 精确条目在前 (菜单点击的精确 path, 优先命中以避免被通配覆盖)
|
|
25042
25042
|
{ path: "/config", element: /* @__PURE__ */ e(Gt, { to: "/config/list", replace: !0 }) },
|
|
@@ -25151,7 +25151,7 @@ function JD({
|
|
|
25151
25151
|
activePathOverride: t,
|
|
25152
25152
|
menuOnly: n = !1
|
|
25153
25153
|
} = {}) {
|
|
25154
|
-
const r =
|
|
25154
|
+
const r = Fn(), { pathname: o } = nr(), [c, s] = l(
|
|
25155
25155
|
new Set(Ro.map((f) => f.title))
|
|
25156
25156
|
), i = qe(() => {
|
|
25157
25157
|
const f = t ?? o;
|
|
@@ -25179,7 +25179,7 @@ function JD({
|
|
|
25179
25179
|
children: [
|
|
25180
25180
|
/* @__PURE__ */ e("span", { className: fa.menuGroupIcon, children: f.icon }),
|
|
25181
25181
|
/* @__PURE__ */ e("span", { className: fa.menuGroupLabel, children: f.title }),
|
|
25182
|
-
/* @__PURE__ */ e("span", { className: fa.menuGroupArrow, children: p ? /* @__PURE__ */ e(
|
|
25182
|
+
/* @__PURE__ */ e("span", { className: fa.menuGroupArrow, children: p ? /* @__PURE__ */ e(er, {}) : /* @__PURE__ */ e(dr, {}) })
|
|
25183
25183
|
]
|
|
25184
25184
|
}
|
|
25185
25185
|
),
|
|
@@ -25227,7 +25227,7 @@ const QD = "_shell_1n5c7_7", YD = "_sidebar_1n5c7_15", ZD = "_sidebarHeader_1n5c
|
|
|
25227
25227
|
title: "建模",
|
|
25228
25228
|
items: [
|
|
25229
25229
|
{ key: "designer", label: "Schema 设计器", icon: /* @__PURE__ */ e(sr, {}), path: "designer" },
|
|
25230
|
-
{ key: "db-import", label: "从数据库导入", icon: /* @__PURE__ */ e(
|
|
25230
|
+
{ key: "db-import", label: "从数据库导入", icon: /* @__PURE__ */ e(Jn, {}), path: "db-import" },
|
|
25231
25231
|
{ key: "admin-ai", label: "AI 建模", icon: /* @__PURE__ */ e(rr, {}), path: "admin/ai" }
|
|
25232
25232
|
]
|
|
25233
25233
|
},
|
|
@@ -25258,7 +25258,7 @@ function sX(t) {
|
|
|
25258
25258
|
return null;
|
|
25259
25259
|
}
|
|
25260
25260
|
function dX() {
|
|
25261
|
-
const t =
|
|
25261
|
+
const t = Fn(), { pathname: n } = nr(), [r, o] = l(
|
|
25262
25262
|
new Set(tl.map((i) => i.title))
|
|
25263
25263
|
), c = qe(() => sX(n), [n]), s = (i) => {
|
|
25264
25264
|
o((d) => {
|
|
@@ -25282,7 +25282,7 @@ function dX() {
|
|
|
25282
25282
|
onClick: () => s(i.title),
|
|
25283
25283
|
children: [
|
|
25284
25284
|
/* @__PURE__ */ e("span", { className: Na.menuGroupLabel, children: i.title }),
|
|
25285
|
-
/* @__PURE__ */ e("span", { className: Na.menuGroupArrow, children: d ? /* @__PURE__ */ e(
|
|
25285
|
+
/* @__PURE__ */ e("span", { className: Na.menuGroupArrow, children: d ? /* @__PURE__ */ e(er, {}) : /* @__PURE__ */ e(dr, {}) })
|
|
25286
25286
|
]
|
|
25287
25287
|
}
|
|
25288
25288
|
),
|
|
@@ -26802,7 +26802,7 @@ ${gW(I)}
|
|
|
26802
26802
|
),
|
|
26803
26803
|
/* @__PURE__ */ a("div", { className: xt.editToolbar, children: [
|
|
26804
26804
|
/* @__PURE__ */ e(
|
|
26805
|
-
|
|
26805
|
+
ar,
|
|
26806
26806
|
{
|
|
26807
26807
|
size: "small",
|
|
26808
26808
|
value: Y,
|
|
@@ -27108,7 +27108,7 @@ function RW() {
|
|
|
27108
27108
|
{
|
|
27109
27109
|
type: "link",
|
|
27110
27110
|
size: "small",
|
|
27111
|
-
icon: U.status === "SUBMITTED" ? /* @__PURE__ */ e(
|
|
27111
|
+
icon: U.status === "SUBMITTED" ? /* @__PURE__ */ e(Xn, {}) : /* @__PURE__ */ e(ln, {}),
|
|
27112
27112
|
onClick: () => void y(U),
|
|
27113
27113
|
children: U.status === "SUBMITTED" ? "批改" : "查看"
|
|
27114
27114
|
}
|
|
@@ -27337,7 +27337,7 @@ function _s({
|
|
|
27337
27337
|
}
|
|
27338
27338
|
const Ei = {
|
|
27339
27339
|
ASSIGNED: { label: "待考", color: "warning", icon: /* @__PURE__ */ e(pr, {}) },
|
|
27340
|
-
SUBMITTED: { label: "待批改", color: "processing", icon: /* @__PURE__ */ e(
|
|
27340
|
+
SUBMITTED: { label: "待批改", color: "processing", icon: /* @__PURE__ */ e(Xn, {}) },
|
|
27341
27341
|
GRADED: { label: "已出分", color: "success", icon: /* @__PURE__ */ e(mr, {}) }
|
|
27342
27342
|
}, Rr = (t) => t ? t.replace("T", " ").slice(0, 19) : "-";
|
|
27343
27343
|
function yW() {
|
|
@@ -27604,7 +27604,7 @@ function yW() {
|
|
|
27604
27604
|
{
|
|
27605
27605
|
type: "link",
|
|
27606
27606
|
size: "small",
|
|
27607
|
-
icon: Se.status === "SUBMITTED" ? /* @__PURE__ */ e(
|
|
27607
|
+
icon: Se.status === "SUBMITTED" ? /* @__PURE__ */ e(Xn, {}) : /* @__PURE__ */ e(ln, {}),
|
|
27608
27608
|
onClick: () => void ee(Se),
|
|
27609
27609
|
children: Se.status === "SUBMITTED" ? "批改" : "查看"
|
|
27610
27610
|
}
|
|
@@ -27875,7 +27875,7 @@ const bW = "_gBody_96jeg_4", DW = "_gTree_96jeg_14", XW = "_gTreeHead_96jeg_26",
|
|
|
27875
27875
|
actIcon: JW,
|
|
27876
27876
|
actIconDisabled: QW,
|
|
27877
27877
|
groupEmpty: YW
|
|
27878
|
-
},
|
|
27878
|
+
}, bn = {
|
|
27879
27879
|
SINGLE: { label: "单选", color: "blue" },
|
|
27880
27880
|
MULTI: { label: "多选", color: "purple" },
|
|
27881
27881
|
FREE: { label: "自由", color: "orange" }
|
|
@@ -28346,7 +28346,7 @@ function _W({
|
|
|
28346
28346
|
dataIndex: "type",
|
|
28347
28347
|
width: 76,
|
|
28348
28348
|
render: (D) => {
|
|
28349
|
-
const X =
|
|
28349
|
+
const X = bn[D] ?? bn.SINGLE;
|
|
28350
28350
|
return /* @__PURE__ */ e(Ae, { color: X.color, children: X.label });
|
|
28351
28351
|
}
|
|
28352
28352
|
},
|
|
@@ -28549,7 +28549,7 @@ function $W() {
|
|
|
28549
28549
|
dataIndex: "type",
|
|
28550
28550
|
width: 76,
|
|
28551
28551
|
render: (j) => {
|
|
28552
|
-
const x =
|
|
28552
|
+
const x = bn[j] ?? bn.SINGLE;
|
|
28553
28553
|
return /* @__PURE__ */ e(Ae, { color: x.color, children: x.label });
|
|
28554
28554
|
}
|
|
28555
28555
|
},
|
|
@@ -28635,7 +28635,7 @@ function $W() {
|
|
|
28635
28635
|
style: { width: 110 },
|
|
28636
28636
|
value: m || void 0,
|
|
28637
28637
|
onChange: (j) => f(j ?? ""),
|
|
28638
|
-
options: Object.entries(
|
|
28638
|
+
options: Object.entries(bn).map(([j, x]) => ({
|
|
28639
28639
|
value: j,
|
|
28640
28640
|
label: x.label
|
|
28641
28641
|
}))
|
|
@@ -28692,7 +28692,7 @@ function $W() {
|
|
|
28692
28692
|
{
|
|
28693
28693
|
value: v.type,
|
|
28694
28694
|
onChange: (j) => N((x) => x && { ...x, type: j.target.value }),
|
|
28695
|
-
options: Object.entries(
|
|
28695
|
+
options: Object.entries(bn).map(([j, x]) => ({
|
|
28696
28696
|
value: j,
|
|
28697
28697
|
label: x.label
|
|
28698
28698
|
}))
|
|
@@ -29016,7 +29016,7 @@ function t7() {
|
|
|
29016
29016
|
dataIndex: "type",
|
|
29017
29017
|
width: 72,
|
|
29018
29018
|
render: (x) => {
|
|
29019
|
-
const F =
|
|
29019
|
+
const F = bn[x] ?? { label: x, color: "default" };
|
|
29020
29020
|
return /* @__PURE__ */ e(Ae, { color: F.color, children: F.label });
|
|
29021
29021
|
}
|
|
29022
29022
|
},
|
|
@@ -30360,7 +30360,7 @@ function u7() {
|
|
|
30360
30360
|
] }),
|
|
30361
30361
|
/* @__PURE__ */ a("div", { className: pe.pageActions, children: [
|
|
30362
30362
|
/* @__PURE__ */ e(
|
|
30363
|
-
|
|
30363
|
+
ar,
|
|
30364
30364
|
{
|
|
30365
30365
|
options: d7,
|
|
30366
30366
|
value: o,
|
|
@@ -31423,7 +31423,7 @@ const y7 = "_groupLabel_1p4a9_5", b7 = {
|
|
|
31423
31423
|
items: [
|
|
31424
31424
|
{ key: "video", label: "培训视频", icon: /* @__PURE__ */ e(cl, {}) },
|
|
31425
31425
|
{ key: "paper", label: "试卷管理", icon: /* @__PURE__ */ e(ku, {}) },
|
|
31426
|
-
{ key: "doc", label: "培训资料", icon: /* @__PURE__ */ e(
|
|
31426
|
+
{ key: "doc", label: "培训资料", icon: /* @__PURE__ */ e(Qn, {}) },
|
|
31427
31427
|
{ key: "reward", label: "奖励物料", icon: /* @__PURE__ */ e(Mc, {}) }
|
|
31428
31428
|
]
|
|
31429
31429
|
},
|
|
@@ -31598,7 +31598,7 @@ function qo() {
|
|
|
31598
31598
|
}
|
|
31599
31599
|
const { Title: B7 } = wn;
|
|
31600
31600
|
function L7() {
|
|
31601
|
-
const t =
|
|
31601
|
+
const t = Fn(), [n, r] = l([]), [o, c] = l(!1), [s, i] = l(!1), [d] = rt.useForm(), u = async () => {
|
|
31602
31602
|
c(!0);
|
|
31603
31603
|
try {
|
|
31604
31604
|
const h = await Zt.post("rpa/app/list"), S = Array.isArray(h == null ? void 0 : h.data) ? h.data : Array.isArray(h) ? h : [];
|
|
@@ -31780,7 +31780,7 @@ const { Title: z7 } = wn, C7 = [
|
|
|
31780
31780
|
];
|
|
31781
31781
|
function G7() {
|
|
31782
31782
|
var b;
|
|
31783
|
-
const { id: t } = Bp(), n =
|
|
31783
|
+
const { id: t } = Bp(), n = Fn(), [r, o] = l(null), [c, s] = l(null), [i, d] = l([]), [u, m] = l(!1), [f, p] = l(null), [A] = rt.useForm(), [h] = rt.useForm();
|
|
31784
31784
|
re(() => {
|
|
31785
31785
|
t && Promise.all([
|
|
31786
31786
|
Zt.get("rpa/app/" + t),
|
|
@@ -32602,7 +32602,7 @@ function a2() {
|
|
|
32602
32602
|
]) ?? /* @__PURE__ */ e(qo, {});
|
|
32603
32603
|
}
|
|
32604
32604
|
function n2({ onModeSwitch: t }) {
|
|
32605
|
-
const n =
|
|
32605
|
+
const n = Fn(), { pathname: r } = nr(), o = qe(() => {
|
|
32606
32606
|
for (const c of rc)
|
|
32607
32607
|
if (r.startsWith(c.key)) return c.key;
|
|
32608
32608
|
return r;
|
|
@@ -32750,7 +32750,7 @@ const w2 = {
|
|
|
32750
32750
|
{
|
|
32751
32751
|
key: "test-mock",
|
|
32752
32752
|
label: "Mock 平台",
|
|
32753
|
-
icon: /* @__PURE__ */ e(
|
|
32753
|
+
icon: /* @__PURE__ */ e(Jn, {}),
|
|
32754
32754
|
path: "/test/mock",
|
|
32755
32755
|
desc: "API Mock 服务管理"
|
|
32756
32756
|
}
|
|
@@ -32800,7 +32800,7 @@ const w2 = {
|
|
|
32800
32800
|
{
|
|
32801
32801
|
key: "4a-account",
|
|
32802
32802
|
label: "账号管理",
|
|
32803
|
-
icon: /* @__PURE__ */ e(
|
|
32803
|
+
icon: /* @__PURE__ */ e(qn, {}),
|
|
32804
32804
|
path: "/ctc/4a/account",
|
|
32805
32805
|
desc: "用户账号创建、编辑与状态管理"
|
|
32806
32806
|
},
|
|
@@ -32835,7 +32835,7 @@ const w2 = {
|
|
|
32835
32835
|
{
|
|
32836
32836
|
key: "4a-permission",
|
|
32837
32837
|
label: "权限管理",
|
|
32838
|
-
icon: /* @__PURE__ */ e(
|
|
32838
|
+
icon: /* @__PURE__ */ e(Xn, {}),
|
|
32839
32839
|
path: "/ctc/4a/permission",
|
|
32840
32840
|
desc: "细粒度权限控制与审批"
|
|
32841
32841
|
}
|
|
@@ -32876,7 +32876,7 @@ const w2 = {
|
|
|
32876
32876
|
{
|
|
32877
32877
|
key: "workflow",
|
|
32878
32878
|
label: "流程中心",
|
|
32879
|
-
icon: /* @__PURE__ */ e(
|
|
32879
|
+
icon: /* @__PURE__ */ e(Xn, {}),
|
|
32880
32880
|
path: "/workflow/dashboard",
|
|
32881
32881
|
desc: "工作流定义与审批管理"
|
|
32882
32882
|
},
|
|
@@ -32897,7 +32897,7 @@ const w2 = {
|
|
|
32897
32897
|
{
|
|
32898
32898
|
key: "subscribe",
|
|
32899
32899
|
label: "订阅中心",
|
|
32900
|
-
icon: /* @__PURE__ */ e(
|
|
32900
|
+
icon: /* @__PURE__ */ e(Wn, {}),
|
|
32901
32901
|
path: "/subscribe/list",
|
|
32902
32902
|
desc: "第三方数据订阅与拉取"
|
|
32903
32903
|
},
|
|
@@ -32916,7 +32916,7 @@ function O2({
|
|
|
32916
32916
|
menuOnly: n = !1,
|
|
32917
32917
|
visibleGroups: r
|
|
32918
32918
|
} = {}) {
|
|
32919
|
-
const o =
|
|
32919
|
+
const o = Fn(), { pathname: c } = nr(), s = qe(
|
|
32920
32920
|
() => r ? Bo.filter((v) => r.includes(v.title)) : ed,
|
|
32921
32921
|
[r]
|
|
32922
32922
|
), [i, d] = l(
|
|
@@ -32958,7 +32958,7 @@ function O2({
|
|
|
32958
32958
|
children: [
|
|
32959
32959
|
/* @__PURE__ */ e("span", { className: Xt.menuGroupIcon, children: v.icon }),
|
|
32960
32960
|
/* @__PURE__ */ e("span", { className: Xt.menuGroupLabel, children: v.title }),
|
|
32961
|
-
/* @__PURE__ */ e("span", { className: Xt.menuGroupArrow, children: N ? /* @__PURE__ */ e(
|
|
32961
|
+
/* @__PURE__ */ e("span", { className: Xt.menuGroupArrow, children: N ? /* @__PURE__ */ e(er, {}) : /* @__PURE__ */ e(dr, {}) })
|
|
32962
32962
|
]
|
|
32963
32963
|
}
|
|
32964
32964
|
),
|
|
@@ -32974,7 +32974,7 @@ function O2({
|
|
|
32974
32974
|
children: [
|
|
32975
32975
|
/* @__PURE__ */ e("span", { className: Xt.menuGroupIcon, children: g.icon }),
|
|
32976
32976
|
/* @__PURE__ */ e("span", { className: Xt.menuSubGroupLabel, children: g.label }),
|
|
32977
|
-
/* @__PURE__ */ e("span", { className: Xt.menuGroupArrow, children: u.has(g.key) ? /* @__PURE__ */ e(
|
|
32977
|
+
/* @__PURE__ */ e("span", { className: Xt.menuGroupArrow, children: u.has(g.key) ? /* @__PURE__ */ e(er, {}) : /* @__PURE__ */ e(dr, {}) })
|
|
32978
32978
|
]
|
|
32979
32979
|
}
|
|
32980
32980
|
),
|
|
@@ -33037,17 +33037,17 @@ function O2({
|
|
|
33037
33037
|
] }) })
|
|
33038
33038
|
] });
|
|
33039
33039
|
}
|
|
33040
|
-
const F2 = "_shell_10jrt_6", R2 = "_main_10jrt_21", y2 = "_empty_10jrt_31", b2 = "_emptyIcon_10jrt_41", D2 = "_emptyText_10jrt_46",
|
|
33040
|
+
const F2 = "_shell_10jrt_6", R2 = "_main_10jrt_21", y2 = "_empty_10jrt_31", b2 = "_emptyIcon_10jrt_41", D2 = "_emptyText_10jrt_46", _n = {
|
|
33041
33041
|
shell: F2,
|
|
33042
33042
|
main: R2,
|
|
33043
33043
|
empty: y2,
|
|
33044
33044
|
emptyIcon: b2,
|
|
33045
33045
|
emptyText: D2
|
|
33046
|
-
},
|
|
33046
|
+
}, wt = (t, n) => On(() => t().then((r) => ({ default: r[n] }))), X2 = wt(() => import("@yuku123/z-ctc-component"), "AccountManagement"), W2 = wt(() => import("@yuku123/z-ctc-component"), "ApplicationManagement"), q2 = wt(() => import("@yuku123/z-ctc-component"), "AuditPage"), B2 = wt(() => import("@yuku123/z-ctc-component"), "CtcOverview"), L2 = wt(() => import("@yuku123/z-ctc-component"), "DictPage"), z2 = wt(() => import("@yuku123/z-ctc-component"), "OrgPage"), C2 = wt(() => import("@yuku123/z-ctc-component"), "PermissionManagement"), G2 = wt(() => import("@yuku123/z-ctc-component"), "RoleManagement"), oc = wt(() => import("@yuku123/z-ctc-component"), "SurlManagement"), I2 = wt(() => import("@yuku123/z-ctc-component"), "TenantManagement"), V2 = wt(() => import("@yuku123/z-agent-component"), "AgentAppList"), M2 = wt(() => import("@yuku123/z-agent-component"), "AgentDashboard"), lc = wt(() => import("@yuku123/z-agent-component"), "AgentInstanceManager"), J2 = wt(() => import("@yuku123/z-agent-component"), "AkManage"), Q2 = wt(() => import("@yuku123/z-agent-component"), "BucketList"), Y2 = wt(() => import("@yuku123/z-agent-component"), "LlmManage"), Z2 = wt(() => import("@yuku123/z-agent-component"), "McpPage"), E2 = wt(() => import("@yuku123/z-agent-component"), "ObjectBrowser"), _2 = wt(() => import("@yuku123/z-agent-component"), "ScriptCenterPage"), $2 = wt(() => import("@yuku123/z-agent-component"), "ScriptProductizationPage"), e5 = wt(() => import("@yuku123/z-agent-component"), "SkillMarket"), t5 = wt(() => import("@yuku123/z-agent-component"), "TemplateMarket"), a5 = wt(() => import("./index-D_SjmsjB.js"), "AgentTeamIM"), ic = wt(() => import("./index-D_SjmsjB.js"), "DebugPlayground"), n5 = wt(() => import("./index-D_SjmsjB.js"), "Overview"), cc = wt(() => import("./index-D_SjmsjB.js"), "Webide"), r5 = On(() => import("./OnboardingPage-Cy2YU_Og.js")), o5 = On(() => import("./InvitationManagementPage-BVBwdTi0.js")), l5 = wt(() => import("@yuku123/z-config-component"), "ConfigApp"), i5 = wt(() => import("@yuku123/z-task-component"), "TaskApp"), c5 = wt(() => import("@yuku123/z-wf-component"), "WorkflowApp"), s5 = wt(() => import("@yuku123/z-schedule-component"), "ScheduleApp"), d5 = wt(() => import("@yuku123/z-mist-component"), "MistApp"), p5 = wt(() => import("@yuku123/z-meta-component"), "MetaApp"), u5 = wt(() => import("@yuku123/z-msg-component"), "MsgApp"), m5 = wt(() => import("@yuku123/z-rpc-component"), "RpcApp"), f5 = On(() => import("./ProjectApp-YRqDFopZ.js").then((t) => t.n)), A5 = On(() => import("./ProjectApp-YRqDFopZ.js").then((t) => t.o)), S5 = On(() => import("./LowCodePage-DH-DYM7K.js")), v5 = On(() => import("./ProjectApp-YRqDFopZ.js").then((t) => t.m)), sc = On(() => import("@yuku123/z-qa-component"));
|
|
33047
33047
|
function h5() {
|
|
33048
|
-
return /* @__PURE__ */ a("div", { className:
|
|
33049
|
-
/* @__PURE__ */ e("div", { className:
|
|
33050
|
-
/* @__PURE__ */ e("div", { className:
|
|
33048
|
+
return /* @__PURE__ */ a("div", { className: _n.empty, children: [
|
|
33049
|
+
/* @__PURE__ */ e("div", { className: _n.emptyIcon, children: "📋" }),
|
|
33050
|
+
/* @__PURE__ */ e("div", { className: _n.emptyText, children: "请从左侧菜单选择模块" })
|
|
33051
33051
|
] });
|
|
33052
33052
|
}
|
|
33053
33053
|
const dc = [
|
|
@@ -33146,9 +33146,9 @@ function U5(t, n) {
|
|
|
33146
33146
|
return new RegExp(r).test(n);
|
|
33147
33147
|
}
|
|
33148
33148
|
function pc() {
|
|
33149
|
-
|
|
33149
|
+
Fn();
|
|
33150
33150
|
const { pathname: t } = nr(), n = t.startsWith("/test/"), r = qe(() => t, [t]), o = qe(() => P5(t), [t]);
|
|
33151
|
-
return /* @__PURE__ */ a("div", { className:
|
|
33151
|
+
return /* @__PURE__ */ a("div", { className: _n.shell, children: [
|
|
33152
33152
|
/* @__PURE__ */ e(
|
|
33153
33153
|
O2,
|
|
33154
33154
|
{
|
|
@@ -33157,7 +33157,7 @@ function pc() {
|
|
|
33157
33157
|
visibleGroups: n ? ["测试中心"] : void 0
|
|
33158
33158
|
}
|
|
33159
33159
|
),
|
|
33160
|
-
/* @__PURE__ */ e("main", { className:
|
|
33160
|
+
/* @__PURE__ */ e("main", { className: _n.main, children: /* @__PURE__ */ e(qp, { fallback: /* @__PURE__ */ e("div", { className: _n.empty, children: "加载中…" }), children: o }) })
|
|
33161
33161
|
] });
|
|
33162
33162
|
}
|
|
33163
33163
|
const H5 = "_welcomeRoot_19teb_2", x5 = "_welcomeInner_19teb_14", g5 = "_heroTitle_19teb_25", K5 = "_heroDivider_19teb_46", j5 = "_composer_19teb_55", T5 = "_composerTextarea_19teb_73", N5 = "_composerFooter_19teb_92", k5 = "_scenarioWrap_19teb_100", w5 = "_scenarioIcon_19teb_121", O5 = "_scenarioLabel_19teb_126", F5 = "_scenarioArrow_19teb_133", R5 = "_scenarioArrowOpen_19teb_139", y5 = "_scenarioDropdown_19teb_143", b5 = "_scenarioOption_19teb_163", D5 = "_scenarioOptionActive_19teb_180", X5 = "_scenarioOptionName_19teb_186", W5 = "_scenarioOptionCode_19teb_196", q5 = "_scenarioOptionDesc_19teb_203", B5 = "_scenarioOptionMeta_19teb_210", L5 = "_scenarioDefaultBadge_19teb_218", z5 = "_scenarioMetaHint_19teb_228", C5 = "_sendBtn_19teb_239", G5 = "_suggestions_19teb_269", I5 = "_suggestionsLabel_19teb_277", V5 = "_suggestionItem_19teb_284", M5 = "_suggestionIcon_19teb_306", J5 = "_suggestionText_19teb_312", Q5 = "_errorHint_19teb_321", qt = {
|
|
@@ -33870,7 +33870,7 @@ function sq({
|
|
|
33870
33870
|
onClick: () => Ce("knowledge"),
|
|
33871
33871
|
title: "知识",
|
|
33872
33872
|
children: [
|
|
33873
|
-
/* @__PURE__ */ e(
|
|
33873
|
+
/* @__PURE__ */ e(Qn, {}),
|
|
33874
33874
|
/* @__PURE__ */ e("span", { children: "知识" })
|
|
33875
33875
|
]
|
|
33876
33876
|
}
|
|
@@ -34016,7 +34016,7 @@ function sq({
|
|
|
34016
34016
|
{
|
|
34017
34017
|
size: 28,
|
|
34018
34018
|
src: Mt,
|
|
34019
|
-
icon: /* @__PURE__ */ e(
|
|
34019
|
+
icon: /* @__PURE__ */ e(qn, {}),
|
|
34020
34020
|
style: {
|
|
34021
34021
|
backgroundColor: "#2F70F1",
|
|
34022
34022
|
flexShrink: 0
|
|
@@ -34300,7 +34300,7 @@ const dq = "_selectList_13hpp_1", pq = "_selectItem_13hpp_14", uq = "_selectItem
|
|
|
34300
34300
|
}, fc = (t) => {
|
|
34301
34301
|
var n;
|
|
34302
34302
|
return (t.agent_code || ((n = t._agenthub_raw) == null ? void 0 : n.agentCode) || "").trim();
|
|
34303
|
-
},
|
|
34303
|
+
}, In = (t, n) => `${t}:${n}`;
|
|
34304
34304
|
function gq({ onClose: t }) {
|
|
34305
34305
|
const {
|
|
34306
34306
|
members: n,
|
|
@@ -34328,13 +34328,13 @@ function gq({ onClose: t }) {
|
|
|
34328
34328
|
}
|
|
34329
34329
|
}, b = (H) => n.some(
|
|
34330
34330
|
(C) => C.member_type === "HUMAN" && String(C.ref_id) === H
|
|
34331
|
-
) || S.has(
|
|
34331
|
+
) || S.has(In("HUMAN", H)), y = (H) => n.some(
|
|
34332
34332
|
(C) => C.member_type === "AGENT" && String(C.ref_id) === H
|
|
34333
|
-
) || S.has(
|
|
34333
|
+
) || S.has(In("AGENT", H)), L = (H) => {
|
|
34334
34334
|
const C = g(H);
|
|
34335
34335
|
if (b(C))
|
|
34336
34336
|
return;
|
|
34337
|
-
const B =
|
|
34337
|
+
const B = In("HUMAN", C);
|
|
34338
34338
|
O(B, async () => {
|
|
34339
34339
|
await c("HUMAN", C, H.display_name ?? C, "EDITOR");
|
|
34340
34340
|
});
|
|
@@ -34342,7 +34342,7 @@ function gq({ onClose: t }) {
|
|
|
34342
34342
|
const C = fc(H);
|
|
34343
34343
|
if (!C || y(C))
|
|
34344
34344
|
return;
|
|
34345
|
-
const B =
|
|
34345
|
+
const B = In("AGENT", C);
|
|
34346
34346
|
O(B, async () => {
|
|
34347
34347
|
await c("AGENT", C, H.name, "EDITOR");
|
|
34348
34348
|
});
|
|
@@ -34410,7 +34410,7 @@ function gq({ onClose: t }) {
|
|
|
34410
34410
|
).map(
|
|
34411
34411
|
(H) => {
|
|
34412
34412
|
const C = g(H), B = b(C), P = S.has(
|
|
34413
|
-
|
|
34413
|
+
In("HUMAN", C)
|
|
34414
34414
|
);
|
|
34415
34415
|
return /* @__PURE__ */ a(
|
|
34416
34416
|
"div",
|
|
@@ -34470,7 +34470,7 @@ function gq({ onClose: t }) {
|
|
|
34470
34470
|
const C = f.toLowerCase();
|
|
34471
34471
|
return ((B = H.name) == null ? void 0 : B.toLowerCase().includes(C)) || ((P = H.description) == null ? void 0 : P.toLowerCase().includes(C));
|
|
34472
34472
|
}).map((H) => {
|
|
34473
|
-
const C = fc(H), B = C ? y(C) : !0, P = C && S.has(
|
|
34473
|
+
const C = fc(H), B = C ? y(C) : !0, P = C && S.has(In("AGENT", C));
|
|
34474
34474
|
return /* @__PURE__ */ a(
|
|
34475
34475
|
"div",
|
|
34476
34476
|
{
|
|
@@ -34649,8 +34649,8 @@ function gq({ onClose: t }) {
|
|
|
34649
34649
|
);
|
|
34650
34650
|
}
|
|
34651
34651
|
const Kq = "/v1/ws/local-agent";
|
|
34652
|
-
let Ha = null, jn = "",
|
|
34653
|
-
const
|
|
34652
|
+
let Ha = null, jn = "", $n = null, hn = null, rl = 0;
|
|
34653
|
+
const tr = /* @__PURE__ */ new Map();
|
|
34654
34654
|
function jq() {
|
|
34655
34655
|
return typeof window < "u" && !!window.__TAURI__;
|
|
34656
34656
|
}
|
|
@@ -34666,11 +34666,11 @@ function Nq() {
|
|
|
34666
34666
|
}, 3e4);
|
|
34667
34667
|
}
|
|
34668
34668
|
function Ac() {
|
|
34669
|
-
if (
|
|
34669
|
+
if ($n != null) return;
|
|
34670
34670
|
rl += 1;
|
|
34671
34671
|
const t = Math.min(3e3 * rl, 3e4);
|
|
34672
|
-
|
|
34673
|
-
|
|
34672
|
+
$n = window.setTimeout(() => {
|
|
34673
|
+
$n = null, nd();
|
|
34674
34674
|
}, t);
|
|
34675
34675
|
}
|
|
34676
34676
|
async function kq(t) {
|
|
@@ -34680,7 +34680,7 @@ async function kq(t) {
|
|
|
34680
34680
|
return;
|
|
34681
34681
|
}
|
|
34682
34682
|
const c = new AbortController();
|
|
34683
|
-
|
|
34683
|
+
tr.set(n, c);
|
|
34684
34684
|
const s = () => c.signal.aborted;
|
|
34685
34685
|
try {
|
|
34686
34686
|
const i = await fetch(`${Ur}${o}`, {
|
|
@@ -34721,7 +34721,7 @@ async function kq(t) {
|
|
|
34721
34721
|
message: i instanceof Error ? i.message : String(i)
|
|
34722
34722
|
});
|
|
34723
34723
|
} finally {
|
|
34724
|
-
|
|
34724
|
+
tr.delete(n);
|
|
34725
34725
|
}
|
|
34726
34726
|
}
|
|
34727
34727
|
function nd() {
|
|
@@ -34742,7 +34742,7 @@ function nd() {
|
|
|
34742
34742
|
kq(r);
|
|
34743
34743
|
else if (o === "cancel") {
|
|
34744
34744
|
const c = String(r.requestId ?? "");
|
|
34745
|
-
(n =
|
|
34745
|
+
(n = tr.get(c)) == null || n.abort(), tr.delete(c);
|
|
34746
34746
|
}
|
|
34747
34747
|
} catch {
|
|
34748
34748
|
}
|
|
@@ -34756,7 +34756,7 @@ function wq(t) {
|
|
|
34756
34756
|
!jq() || !t || (jn && jn !== t && Oq(), jn = t, nd());
|
|
34757
34757
|
}
|
|
34758
34758
|
function Oq() {
|
|
34759
|
-
jn = "",
|
|
34759
|
+
jn = "", $n != null && (window.clearTimeout($n), $n = null), hn != null && (window.clearInterval(hn), hn = null), tr.forEach((t) => t.abort()), tr.clear(), Ha && (Ha.onclose = null, Ha.close(), Ha = null);
|
|
34760
34760
|
}
|
|
34761
34761
|
const Fq = "_teamWorkspaceRoot_1ydrp_1", Rq = "_loadingWrap_1ydrp_7", yq = "_openingOverlay_1ydrp_13", Dr = {
|
|
34762
34762
|
teamWorkspaceRoot: Fq,
|
|
@@ -34785,7 +34785,7 @@ function Sc() {
|
|
|
34785
34785
|
function bq({
|
|
34786
34786
|
forcedChatMode: t
|
|
34787
34787
|
} = {}) {
|
|
34788
|
-
const n = nr(), r =
|
|
34788
|
+
const n = nr(), r = Fn(), o = t !== "system" && mm() && !fm(n.search);
|
|
34789
34789
|
re(() => {
|
|
34790
34790
|
o && La.replace({
|
|
34791
34791
|
pathname: "/workspace/phone",
|