@yuku123/z-team-component 0.2.104 → 0.2.106
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-DG-ogBff.js → ChangeLogView-Mn5LSUvJ.js} +1 -1
- package/dist/{ComponentDoc-BW1SyDxk.js → ComponentDoc-BKGd6D6u.js} +12 -12
- package/dist/{InvitationManagementPage-hYvoPEcm.js → InvitationManagementPage-DHORbfXF.js} +1 -1
- package/dist/{OnboardingPage-KDp-DrzY.js → OnboardingPage-ChIsu-TY.js} +2 -2
- package/dist/{ScheduledTasks-CErSDgyW.js → ScheduledTasks-CorjHXG-.js} +6 -6
- package/dist/{SystemShell-DvrY4Bl7.js → SystemShell-iAK8aCSW.js} +4 -4
- package/dist/{admin-logs-uPnnclwN.js → admin-logs-Ckzi7TeC.js} +5 -5
- package/dist/{api-B__qdRIf.js → api-BIwuQUnn.js} +1 -1
- package/dist/api-DWN5lt_h.js +101 -0
- package/dist/{createWorkspaceWsHandler-BXbn5-Ft.js → createWorkspaceWsHandler-CZ6H2AZV.js} +3 -3
- package/dist/{index-C9fGup9t.js → index--JKduFbf.js} +3 -3
- package/dist/{index-ByhCWenF.js → index-2iqK5Tkw.js} +102 -188
- package/dist/{index-2isWwv1X.js → index-715e6ItU.js} +9 -9
- package/dist/{index-0smeCTnr.js → index-BPSoaoFx.js} +1255 -1255
- package/dist/{index-aI2EXKED.js → index-BVhOg_hh.js} +26 -26
- package/dist/{index-DBnH-lRh.js → index-BWpXdOkG.js} +1 -1
- package/dist/{index-C2_tfpEj.js → index-BoL8kFkC.js} +2 -2
- package/dist/{index-CkWKJORv.js → index-C8ylej1n.js} +1 -1
- package/dist/{index-DAGa9v8r.js → index-CH56FdB5.js} +2 -2
- package/dist/{index-q_TPea69.js → index-CSagljyv.js} +15 -15
- package/dist/{index-BwJPAN8f.js → index-CxDonxJ5.js} +19 -19
- package/dist/{index-CsaGecGX.js → index-D1s4BGKe.js} +6 -6
- package/dist/{index-BOJm25by.js → index-D9uZ2Jjj.js} +1 -1
- package/dist/{index-BC8f-JP9.js → index-DBBmrczh.js} +3 -3
- package/dist/{index-YVtm1SRy.js → index-DFVMc2Wx.js} +28 -28
- package/dist/{index-BK3YDeXH.js → index-DG9KRcB7.js} +6 -6
- package/dist/{index-DtHoMz1H.js → index-DJl3h5Bg.js} +1 -1
- package/dist/{index-DcurzowX.js → index-DPzDdcFg.js} +4 -4
- package/dist/{index-DOgCfVB2.js → index-DTx26k4L.js} +2 -2
- package/dist/{index-D-xPVrY3.js → index-T_vi7gwn.js} +1 -1
- package/dist/{index-Cih0yoxc.js → index-VEeHoEbx.js} +5 -5
- package/dist/{index-DIFIvVWE.js → index-ioMD3Wyv.js} +2 -2
- package/dist/{index-BnJ8UEeZ.js → index-kAxFJq-Q.js} +3 -3
- package/dist/index-l4NMXF0T.js +354 -0
- package/dist/{index-Cb88Xdh4.js → index-vdWWTTZg.js} +3 -3
- package/dist/index.js +1 -1
- package/dist/{instance-pdQ_wAhB.js → instance-CUl18UjH.js} +5 -5
- package/dist/{menuPermission-CCQjJVXg.js → menuPermission-rZ0KSqFi.js} +11 -11
- package/dist/pages.js +1 -1
- package/dist/{send-default-agent-team-message-BzeR4ahf.js → send-default-agent-team-message-BEsgdoRU.js} +1 -1
- package/dist/{sso-user-DI7oiDdc.js → sso-user-BW1vguVf.js} +1 -1
- package/dist/{training-Bz7Sr5yC.js → training-Csa_y6lO.js} +1 -1
- package/dist/{webide-NcHLDiSn.js → webide-DBov-2vp.js} +3 -3
- package/dist/z-team-component.css +1 -1
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsxs as i, jsx as e, Fragment as le } from "react/jsx-runtime";
|
|
2
2
|
import { useState as u, useEffect as re, useCallback as O } from "react";
|
|
3
|
-
import { a as
|
|
4
|
-
import { SearchOutlined as Ce, ReloadOutlined as Se, PlusOutlined as Te, FileZipOutlined as Z, CloudDownloadOutlined as Y, EditOutlined as he, UserSwitchOutlined as
|
|
5
|
-
import { message as
|
|
3
|
+
import { a as U, f as $, B, b as D, u as F } from "./ComponentDoc-BKGd6D6u.js";
|
|
4
|
+
import { SearchOutlined as Ce, ReloadOutlined as Se, PlusOutlined as Te, FileZipOutlined as Z, CloudDownloadOutlined as Y, EditOutlined as he, UserSwitchOutlined as be, ArrowLeftOutlined as fe, UserOutlined as Ue, CloudUploadOutlined as $e, PictureOutlined as de, EyeOutlined as Be } from "@ant-design/icons";
|
|
5
|
+
import { message as b, Input as H, Tooltip as se, Button as g, Spin as ce, Empty as De, Popconfirm as pe, Tag as ie, Modal as Re, Select as Pe, Upload as me, Tabs as Le } from "antd";
|
|
6
6
|
import ve from "react-markdown";
|
|
7
7
|
import _e from "rehype-highlight";
|
|
8
8
|
import ge from "remark-gfm";
|
|
9
|
-
import { M as na } from "./index-
|
|
9
|
+
import { M as na } from "./index-DPzDdcFg.js";
|
|
10
10
|
function j(a) {
|
|
11
11
|
return a ? `?token=${encodeURIComponent(a)}` : "";
|
|
12
12
|
}
|
|
@@ -23,7 +23,7 @@ function X(a) {
|
|
|
23
23
|
async function Ie(a = {}, n = "") {
|
|
24
24
|
const l = new URLSearchParams();
|
|
25
25
|
n && l.set("token", n), a.category && l.set("category", a.category), a.keyword && l.set("keyword", a.keyword), a.mine && l.set("mine", "true");
|
|
26
|
-
const r = l.toString(), c = await
|
|
26
|
+
const r = l.toString(), c = await U(
|
|
27
27
|
`${B}/market/resources${r ? `?${r}` : ""}`,
|
|
28
28
|
$
|
|
29
29
|
);
|
|
@@ -33,7 +33,7 @@ async function Ie(a = {}, n = "") {
|
|
|
33
33
|
)).map(X);
|
|
34
34
|
}
|
|
35
35
|
async function ye(a, n = "") {
|
|
36
|
-
const l = await
|
|
36
|
+
const l = await U(
|
|
37
37
|
`${B}/market/resources/${a}${j(n)}`,
|
|
38
38
|
$
|
|
39
39
|
), r = await D(
|
|
@@ -45,7 +45,7 @@ async function ye(a, n = "") {
|
|
|
45
45
|
async function Me(a, n, l = "") {
|
|
46
46
|
const r = new URLSearchParams();
|
|
47
47
|
r.set("publish", n ? "true" : "false"), l && r.set("token", l);
|
|
48
|
-
const c = await
|
|
48
|
+
const c = await U(`${B}/market/resources?${r.toString()}`, {
|
|
49
49
|
...$,
|
|
50
50
|
method: "POST",
|
|
51
51
|
headers: { "Content-Type": "application/json" },
|
|
@@ -60,7 +60,7 @@ async function Me(a, n, l = "") {
|
|
|
60
60
|
async function we(a, n, l, r = "") {
|
|
61
61
|
const c = new URLSearchParams();
|
|
62
62
|
l !== null && c.set("publish", l ? "true" : "false"), r && c.set("token", r);
|
|
63
|
-
const h = c.toString(), d = await
|
|
63
|
+
const h = c.toString(), d = await U(
|
|
64
64
|
`${B}/market/resources/${a}${h ? `?${h}` : ""}`,
|
|
65
65
|
{
|
|
66
66
|
...$,
|
|
@@ -76,7 +76,7 @@ async function we(a, n, l, r = "") {
|
|
|
76
76
|
return X(v);
|
|
77
77
|
}
|
|
78
78
|
async function Ne(a, n = "") {
|
|
79
|
-
const l = await
|
|
79
|
+
const l = await U(
|
|
80
80
|
`${B}/market/resources/${a}${j(n)}`,
|
|
81
81
|
{ ...$, method: "DELETE" }
|
|
82
82
|
);
|
|
@@ -85,7 +85,7 @@ async function Ne(a, n = "") {
|
|
|
85
85
|
async function ke(a, n = "", l) {
|
|
86
86
|
const r = new URLSearchParams();
|
|
87
87
|
n && r.set("token", n);
|
|
88
|
-
const c = await
|
|
88
|
+
const c = await U(
|
|
89
89
|
`${B}/market/resources/${a}/download?${r.toString()}`,
|
|
90
90
|
{ ...$, method: "POST" }
|
|
91
91
|
), h = await D(c, "下载失败");
|
|
@@ -97,7 +97,7 @@ async function ke(a, n = "", l) {
|
|
|
97
97
|
async function Oe(a, n = "") {
|
|
98
98
|
const l = new FormData();
|
|
99
99
|
l.append("file", a);
|
|
100
|
-
const r = await
|
|
100
|
+
const r = await U(
|
|
101
101
|
`${B}/market/upload-package${j(n)}`,
|
|
102
102
|
{ ...$, method: "POST", body: l }
|
|
103
103
|
), c = await D(r, "上传资源包失败");
|
|
@@ -106,7 +106,7 @@ async function Oe(a, n = "") {
|
|
|
106
106
|
async function xe(a, n = "") {
|
|
107
107
|
const l = new FormData();
|
|
108
108
|
l.append("file", a);
|
|
109
|
-
const r = await
|
|
109
|
+
const r = await U(`${B}/market/upload-cover${j(n)}`, {
|
|
110
110
|
...$,
|
|
111
111
|
method: "POST",
|
|
112
112
|
body: l
|
|
@@ -116,14 +116,14 @@ async function xe(a, n = "") {
|
|
|
116
116
|
async function ue(a, n = "") {
|
|
117
117
|
const l = new URLSearchParams();
|
|
118
118
|
a && l.set("keyword", a), n && l.set("token", n);
|
|
119
|
-
const r = l.toString(), c = await
|
|
119
|
+
const r = l.toString(), c = await U(
|
|
120
120
|
`${B}/market/users${r ? `?${r}` : ""}`,
|
|
121
121
|
$
|
|
122
122
|
);
|
|
123
123
|
return D(c, "搜索用户失败");
|
|
124
124
|
}
|
|
125
125
|
async function Ee(a, n, l = "") {
|
|
126
|
-
const r = await
|
|
126
|
+
const r = await U(
|
|
127
127
|
`${B}/market/resources/${a}/transfer-owner${j(l)}`,
|
|
128
128
|
{
|
|
129
129
|
...$,
|
|
@@ -134,7 +134,7 @@ async function Ee(a, n, l = "") {
|
|
|
134
134
|
);
|
|
135
135
|
return D(r, "转交失败");
|
|
136
136
|
}
|
|
137
|
-
const Fe = "_tabBody_1ouee_3", Ae = "_comingSoon_1ouee_3", ze = "_comingSoonIcon_1ouee_22", We = "_comingSoonTitle_1ouee_26", He = "_comingSoonDesc_1ouee_32", je = "_listWrap_1ouee_37", Ge = "_toolbar_1ouee_41", Ke = "_toolbarCount_1ouee_48", Ve = "_toolbarRight_1ouee_53", qe = "_emptyWrap_1ouee_59", Je = "_cardGrid_1ouee_64", Ze = "_card_1ouee_64", Ye = "_cardCover_1ouee_87", Qe = "_cardCoverFallback_1ouee_101", Xe = "_cardDraftBadge_1ouee_111", et = "_cardBody_1ouee_122", tt = "_cardTitle_1ouee_130", at = "_cardSummary_1ouee_139", nt = "_cardMeta_1ouee_150", ot = "_cardCreator_1ouee_158", it = "_cardDownloads_1ouee_165", lt = "_cardFileName_1ouee_171", rt = "_cardActions_1ouee_175", ct = "_cardDraftTag_1ouee_184", dt = "_editorWrap_1ouee_191", st = "_detailWrap_1ouee_192", mt = "_editorTopBar_1ouee_199", ut = "_backBtn_1ouee_209", ht = "_editorTitle_1ouee_226", ft = "_editorTopActions_1ouee_235", pt = "_editorBody_1ouee_241", vt = "_detailBody_1ouee_242", _t = "_section_1ouee_252", gt = "_sectionTitle_1ouee_259", yt = "_uploaderInner_1ouee_269", wt = "_uploaderIcon_1ouee_273", Nt = "_uploaderText_1ouee_279", kt = "_uploaderFile_1ouee_284", Ct = "_coverRow_1ouee_290", St = "_coverPreview_1ouee_296", Tt = "_coverRemove_1ouee_312",
|
|
137
|
+
const Fe = "_tabBody_1ouee_3", Ae = "_comingSoon_1ouee_3", ze = "_comingSoonIcon_1ouee_22", We = "_comingSoonTitle_1ouee_26", He = "_comingSoonDesc_1ouee_32", je = "_listWrap_1ouee_37", Ge = "_toolbar_1ouee_41", Ke = "_toolbarCount_1ouee_48", Ve = "_toolbarRight_1ouee_53", qe = "_emptyWrap_1ouee_59", Je = "_cardGrid_1ouee_64", Ze = "_card_1ouee_64", Ye = "_cardCover_1ouee_87", Qe = "_cardCoverFallback_1ouee_101", Xe = "_cardDraftBadge_1ouee_111", et = "_cardBody_1ouee_122", tt = "_cardTitle_1ouee_130", at = "_cardSummary_1ouee_139", nt = "_cardMeta_1ouee_150", ot = "_cardCreator_1ouee_158", it = "_cardDownloads_1ouee_165", lt = "_cardFileName_1ouee_171", rt = "_cardActions_1ouee_175", ct = "_cardDraftTag_1ouee_184", dt = "_editorWrap_1ouee_191", st = "_detailWrap_1ouee_192", mt = "_editorTopBar_1ouee_199", ut = "_backBtn_1ouee_209", ht = "_editorTitle_1ouee_226", ft = "_editorTopActions_1ouee_235", pt = "_editorBody_1ouee_241", vt = "_detailBody_1ouee_242", _t = "_section_1ouee_252", gt = "_sectionTitle_1ouee_259", yt = "_uploaderInner_1ouee_269", wt = "_uploaderIcon_1ouee_273", Nt = "_uploaderText_1ouee_279", kt = "_uploaderFile_1ouee_284", Ct = "_coverRow_1ouee_290", St = "_coverPreview_1ouee_296", Tt = "_coverRemove_1ouee_312", bt = "_formRow_1ouee_318", Ut = "_formLabel_1ouee_329", $t = "_docEditor_1ouee_337", Bt = "_docPreview_1ouee_343", Dt = "_docPreviewEmpty_1ouee_398", Rt = "_detailHeader_1ouee_405", Pt = "_detailCover_1ouee_414", Lt = "_detailInfo_1ouee_430", It = "_detailNameRow_1ouee_438", Mt = "_detailName_1ouee_438", Ot = "_detailSummary_1ouee_452", xt = "_detailMeta_1ouee_458", Et = "_detailActions_1ouee_467", Ft = "_detailDocSection_1ouee_473", t = {
|
|
138
138
|
tabBody: Fe,
|
|
139
139
|
comingSoon: Ae,
|
|
140
140
|
comingSoonIcon: ze,
|
|
@@ -176,8 +176,8 @@ const Fe = "_tabBody_1ouee_3", Ae = "_comingSoon_1ouee_3", ze = "_comingSoonIcon
|
|
|
176
176
|
coverRow: Ct,
|
|
177
177
|
coverPreview: St,
|
|
178
178
|
coverRemove: Tt,
|
|
179
|
-
formRow:
|
|
180
|
-
formLabel:
|
|
179
|
+
formRow: bt,
|
|
180
|
+
formLabel: Ut,
|
|
181
181
|
docEditor: $t,
|
|
182
182
|
docPreview: Bt,
|
|
183
183
|
docPreviewEmpty: Dt,
|
|
@@ -233,7 +233,7 @@ function zt({
|
|
|
233
233
|
), q = O(
|
|
234
234
|
async (o) => {
|
|
235
235
|
try {
|
|
236
|
-
await Ne(o, v),
|
|
236
|
+
await Ne(o, v), b.success("已删除"), r();
|
|
237
237
|
} catch {
|
|
238
238
|
}
|
|
239
239
|
},
|
|
@@ -262,7 +262,7 @@ function zt({
|
|
|
262
262
|
if (!(!p || f === null)) {
|
|
263
263
|
A(!0);
|
|
264
264
|
try {
|
|
265
|
-
await Ee(p.id, f, v),
|
|
265
|
+
await Ee(p.id, f, v), b.success("已转交"), T(null), r();
|
|
266
266
|
} catch {
|
|
267
267
|
} finally {
|
|
268
268
|
A(!1);
|
|
@@ -387,7 +387,7 @@ function zt({
|
|
|
387
387
|
g,
|
|
388
388
|
{
|
|
389
389
|
size: "small",
|
|
390
|
-
icon: /* @__PURE__ */ e(
|
|
390
|
+
icon: /* @__PURE__ */ e(be, {}),
|
|
391
391
|
onClick: () => ee(o)
|
|
392
392
|
}
|
|
393
393
|
) }),
|
|
@@ -480,14 +480,14 @@ function Wt({
|
|
|
480
480
|
}, I = async (f) => {
|
|
481
481
|
M(!0);
|
|
482
482
|
try {
|
|
483
|
-
await we(d.id, {}, f, h),
|
|
483
|
+
await we(d.id, {}, f, h), b.success(f ? "已发布" : "已下架为草稿"), l();
|
|
484
484
|
} catch {
|
|
485
485
|
} finally {
|
|
486
486
|
M(!1);
|
|
487
487
|
}
|
|
488
488
|
}, x = async () => {
|
|
489
489
|
try {
|
|
490
|
-
await Ne(d.id, h),
|
|
490
|
+
await Ne(d.id, h), b.success("已删除"), c();
|
|
491
491
|
} catch {
|
|
492
492
|
}
|
|
493
493
|
};
|
|
@@ -539,7 +539,7 @@ function Wt({
|
|
|
539
539
|
/* @__PURE__ */ e("div", { className: t.detailSummary, children: d.summary || "暂无简介" }),
|
|
540
540
|
/* @__PURE__ */ i("div", { className: t.detailMeta, children: [
|
|
541
541
|
/* @__PURE__ */ i("span", { children: [
|
|
542
|
-
/* @__PURE__ */ e(
|
|
542
|
+
/* @__PURE__ */ e(Ue, {}),
|
|
543
543
|
" ",
|
|
544
544
|
d.creatorName
|
|
545
545
|
] }),
|
|
@@ -616,11 +616,11 @@ function jt({
|
|
|
616
616
|
if (W && ne) {
|
|
617
617
|
const oe = Ht(ne);
|
|
618
618
|
if (oe !== ne)
|
|
619
|
-
return m(oe),
|
|
619
|
+
return m(oe), b.success(
|
|
620
620
|
`资源包已替换,版本号自动升级至 v${oe}(可手动修改)`
|
|
621
621
|
), !1;
|
|
622
622
|
}
|
|
623
|
-
|
|
623
|
+
b.success(`资源包已上传:${J.fileName ?? s.name}`);
|
|
624
624
|
} catch {
|
|
625
625
|
} finally {
|
|
626
626
|
A(!1);
|
|
@@ -630,7 +630,7 @@ function jt({
|
|
|
630
630
|
K(!0);
|
|
631
631
|
try {
|
|
632
632
|
const W = await xe(s, c);
|
|
633
|
-
T(W.url),
|
|
633
|
+
T(W.url), b.success("封面已上传");
|
|
634
634
|
} catch {
|
|
635
635
|
} finally {
|
|
636
636
|
K(!1);
|
|
@@ -645,7 +645,7 @@ function jt({
|
|
|
645
645
|
fileName: x || void 0,
|
|
646
646
|
fileSize: f || void 0,
|
|
647
647
|
version: C.trim() || void 0
|
|
648
|
-
}), N = (s) => d.trim() ? s && !L ? (
|
|
648
|
+
}), N = (s) => d.trim() ? s && !L ? (b.warning("发布前请先上传资源包"), !1) : !0 : (b.warning("请填写资源名称"), !1), _ = async (s) => {
|
|
649
649
|
if (N(s)) {
|
|
650
650
|
V(s ? "publish" : "draft");
|
|
651
651
|
try {
|
|
@@ -654,7 +654,7 @@ function jt({
|
|
|
654
654
|
s,
|
|
655
655
|
c
|
|
656
656
|
);
|
|
657
|
-
|
|
657
|
+
b.success(s ? "已发布" : "已保存草稿"), l(W);
|
|
658
658
|
} catch {
|
|
659
659
|
} finally {
|
|
660
660
|
V(null);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as i, jsx as e, Fragment as ge } from "react/jsx-runtime";
|
|
2
|
-
import { S as Tn, P as In } from "./webide-
|
|
2
|
+
import { S as Tn, P as In } from "./webide-DBov-2vp.js";
|
|
3
3
|
import { message as Me, Tooltip as Qe, Dropdown as fn } from "antd";
|
|
4
4
|
import { MessageOutlined as Sn, MoreOutlined as st, DashboardOutlined as Ln, MenuUnfoldOutlined as lt, MenuFoldOutlined as ot, RightOutlined as it, SettingOutlined as An, TeamOutlined as ct, FolderOpenOutlined as rt, BarChartOutlined as dt, PieChartOutlined as ut, CodeOutlined as mt, LinkOutlined as pt, UnorderedListOutlined as On, FileTextOutlined as nn, ReadOutlined as ht, ConsoleSqlOutlined as gt, PlayCircleOutlined as bt, PlusOutlined as yt, ClockCircleOutlined as ft, AppstoreOutlined as vt } from "@ant-design/icons";
|
|
5
5
|
import { useState as d, useRef as Oe, useCallback as U, useEffect as A, useMemo as X } from "react";
|
|
6
|
-
import {
|
|
7
|
-
import { f as Xe, c as Ye, a as Ot, d as Dt, b as $n, s, T as $t, R as Je, D as Ke, e as xt, g as Bt, F as qe, P as Rt, L as Pt, A as Et, C as Mt, h as jt, i as Ht, p as Ft, j as Kt, k as vn, l as Nn, W as Wt, m as Ut, S as Vt, n as Gt, o as Zt, r as zt, q as Qt, U as Xt, t as Yt, u as Jt, v as qt } from "./index-
|
|
8
|
-
import { a as Fe, u as xn, i as ea, s as _n } from "./createWorkspaceWsHandler-
|
|
9
|
-
import { h as Bn, f as na } from "./index-
|
|
10
|
-
import { W as en, b as We, T as Rn, c as Pn, a as En, L as Mn, P as jn, S as ta, E as aa, C as sa } from "./ScheduledTasks-
|
|
6
|
+
import { u as re, _ as Dn, n as q, $ as Nt, a0 as _t, a1 as kt, a2 as Ct, a3 as wt, a4 as Tt, t as It, a5 as St, a6 as je, a7 as Lt, a8 as At } from "./ComponentDoc-BKGd6D6u.js";
|
|
7
|
+
import { f as Xe, c as Ye, a as Ot, d as Dt, b as $n, s, T as $t, R as Je, D as Ke, e as xt, g as Bt, F as qe, P as Rt, L as Pt, A as Et, C as Mt, h as jt, i as Ht, p as Ft, j as Kt, k as vn, l as Nn, W as Wt, m as Ut, S as Vt, n as Gt, o as Zt, r as zt, q as Qt, U as Xt, t as Yt, u as Jt, v as qt } from "./index-715e6ItU.js";
|
|
8
|
+
import { a as Fe, u as xn, i as ea, s as _n } from "./createWorkspaceWsHandler-CZ6H2AZV.js";
|
|
9
|
+
import { h as Bn, f as na } from "./index-T_vi7gwn.js";
|
|
10
|
+
import { W as en, b as We, T as Rn, c as Pn, a as En, L as Mn, P as jn, S as ta, E as aa, C as sa } from "./ScheduledTasks-CorjHXG-.js";
|
|
11
11
|
import { TodoTab as Hn } from "@yuku123/z-task-component";
|
|
12
12
|
const la = "_sidebarInner_1vu3c_1", oa = "_header_1vu3c_8", ia = "_headerActions_1vu3c_19", ca = "_tabBar_1vu3c_26", ra = "_tab_1vu3c_26", da = "_tabActive_1vu3c_50", ua = "_btnSm_1vu3c_66", ma = "_agentSection_1vu3c_84", pa = "_agentItem_1vu3c_90", ha = "_agentItemActive_1vu3c_112", ga = "_agentAvatar_1vu3c_117", ba = "_agentName_1vu3c_130", ya = "_emptyState_1vu3c_156", fa = "_createInputRow_1vu3c_168", va = "_createInput_1vu3c_168", Na = "_createConfirmBtn_1vu3c_188", _a = "_contextMenu_1vu3c_205", ka = "_contextMenuItem_1vu3c_216", Ca = "_contextMenuItemDanger_1vu3c_231", wa = "_contextMenuDivider_1vu3c_239", Ta = "_renameOverlay_1vu3c_246", Ia = "_renameDialog_1vu3c_259", Sa = "_renameTitle_1vu3c_267", La = "_renameInput_1vu3c_274", Aa = "_renameActions_1vu3c_289", Oa = "_renameBtn_1vu3c_295", Da = "_renameBtnPrimary_1vu3c_309", $a = "_agentDetailBtn_1vu3c_326", xa = "_agentItemShared_1vu3c_358", Ba = "_agentInfo_1vu3c_362", Ra = "_agentOwner_1vu3c_374", Pa = "_sharedBadge_1vu3c_382", Ea = "_createLocalDialog_1vu3c_430", Ma = "_createLocalLabel_1vu3c_438", ja = "_agentTypeCards_1vu3c_446", Ha = "_agentTypeCard_1vu3c_446", Fa = "_agentTypeIcon_1vu3c_474", Ka = "_agentTypeBody_1vu3c_487", Wa = "_agentTypeTitle_1vu3c_494", Ua = "_agentTypeDesc_1vu3c_500", Va = "_agentTypeBadge_1vu3c_506", l = {
|
|
13
13
|
sidebarInner: la,
|
|
@@ -6,9 +6,9 @@ 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 { aa as xa, ab as jA,
|
|
10
|
-
import { x as ia, y as oA, z as fA, B as lA, b as xA, E as iA, G as cA, H as TA, I as vA, J as up, K as Yp, M as mp, O as yp, Q as Ip, V as FA, X as dA, Y as OA, Z as XA } from "./index-
|
|
11
|
-
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 { aa as xa, ab as jA, u as Dp } from "./ComponentDoc-BKGd6D6u.js";
|
|
10
|
+
import { x as ia, y as oA, z as fA, B as lA, b as xA, E as iA, G as cA, H as TA, I as vA, J as up, K as Yp, M as mp, O as yp, Q as Ip, V as FA, X as dA, Y as OA, Z as XA } from "./index-715e6ItU.js";
|
|
11
|
+
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-CZ6H2AZV.js";
|
|
12
12
|
import { h as r } from "./index.module-CAa-2T7m.js";
|
|
13
13
|
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 = {
|
|
14
14
|
editorView: gA,
|
|
@@ -1681,7 +1681,7 @@ const Rt = [
|
|
|
1681
1681
|
draftDeleteBtn: T0,
|
|
1682
1682
|
markdown: v0
|
|
1683
1683
|
}, F0 = HA(
|
|
1684
|
-
() => import("./index-
|
|
1684
|
+
() => import("./index-DFVMc2Wx.js").then((a) => ({ default: a.MarketContent }))
|
|
1685
1685
|
);
|
|
1686
1686
|
function d0(a) {
|
|
1687
1687
|
const n = [], x = a.split(`
|
|
@@ -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-CxDonxJ5.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-715e6ItU.js";
|
|
20
20
|
const $ = "/api/graph";
|
|
21
21
|
let O = !1;
|
|
22
22
|
function ee() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as h, f as _, B as N, v as A, t as g } from "./ComponentDoc-
|
|
1
|
+
import { a as h, f as _, B as N, v as A, t as g } from "./ComponentDoc-BKGd6D6u.js";
|
|
2
2
|
import { jsx as p, jsxs as I } from "react/jsx-runtime";
|
|
3
3
|
import { useMemo as S, useState as C, useEffect as G, Component as L } from "react";
|
|
4
4
|
function $(t) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { AppLayout as v, ErrorBoundary as z, LoginPage as _, StatusTag as j, defaultStatusMap as F } from "@yuku123/z-frontend-common";
|
|
2
|
-
import {
|
|
3
|
-
import { z as V, E as Q, A as X, D as Y, F as Z, O as $, G as ee, R as te, H as re, I as ae, J as oe, K as ne, L as le, L as ie, N as se } from "./ComponentDoc-
|
|
2
|
+
import { d as y } from "./ComponentDoc-BKGd6D6u.js";
|
|
3
|
+
import { z as V, E as Q, A as X, D as Y, F as Z, O as $, G as ee, R as te, H as re, I as ae, J as oe, K as ne, L as le, L as ie, N as se } from "./ComponentDoc-BKGd6D6u.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 R } from "react";
|
|
6
6
|
import { Alert as I, Space as x, Button as l, Tag as c, Result as T } from "antd";
|
|
7
|
-
import { ReloadOutlined as g, UserAddOutlined as
|
|
7
|
+
import { ReloadOutlined as g, UserAddOutlined as E, TeamOutlined as b, PlusOutlined as w, CodeOutlined as A } from "@ant-design/icons";
|
|
8
8
|
import { ListTable as f } from "@yuku123/z-frontend-common/ui";
|
|
9
9
|
const q = y, O = {
|
|
10
10
|
LEADER: "red",
|
|
@@ -28,12 +28,12 @@ function B() {
|
|
|
28
28
|
f,
|
|
29
29
|
{
|
|
30
30
|
cardTitle: /* @__PURE__ */ r("span", { children: [
|
|
31
|
-
/* @__PURE__ */ e(
|
|
31
|
+
/* @__PURE__ */ e(b, { style: { marginRight: 8 } }),
|
|
32
32
|
"Agent 群组 IM"
|
|
33
33
|
] }),
|
|
34
34
|
cardExtra: /* @__PURE__ */ r(x, { children: [
|
|
35
35
|
/* @__PURE__ */ e(l, { icon: /* @__PURE__ */ e(g, {}), loading: i, children: "刷新" }),
|
|
36
|
-
/* @__PURE__ */ e(l, { type: "primary", icon: /* @__PURE__ */ e(
|
|
36
|
+
/* @__PURE__ */ e(l, { type: "primary", icon: /* @__PURE__ */ e(E, {}), disabled: !0, children: "创建群组" })
|
|
37
37
|
] }),
|
|
38
38
|
rows: s,
|
|
39
39
|
columns: [
|
|
@@ -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 { w as b, x as g } from "./ComponentDoc-
|
|
5
|
-
import { i as x, P as K } from "./index-
|
|
4
|
+
import { w as b, x as g } from "./ComponentDoc-BKGd6D6u.js";
|
|
5
|
+
import { i as x, P as K } from "./index-T_vi7gwn.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,
|
|
@@ -3,15 +3,15 @@ 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 {
|
|
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-Csa_y6lO.js";
|
|
7
|
+
import { u as Ce, a9 as Wl } from "./ComponentDoc-BKGd6D6u.js";
|
|
8
8
|
import { s as r } from "./index.module-UI0iz8K0.js";
|
|
9
9
|
import Hl 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 { MarkdownLiveEditor as Kl } from "@yuku123/z-markdown-component";
|
|
14
|
-
import { h as ql } from "./index-
|
|
14
|
+
import { h as ql } from "./index-T_vi7gwn.js";
|
|
15
15
|
function Vl() {
|
|
16
16
|
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 () => {
|
|
17
17
|
L(!0);
|