@yuku123/z-team-component 0.2.135 → 0.2.136
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/{AdminModuleContent-DHCn4OpR.js → AdminModuleContent-T7ZXoVAV.js} +6310 -6319
- package/dist/{ChangeLogView-Cc5cYmcz.js → ChangeLogView-ChmYvz8Z.js} +1 -1
- package/dist/{ComponentDoc-BAUII4UZ.js → ComponentDoc-D5Gbd6B_.js} +994 -1006
- package/dist/{InvitationManagementPage-BgY1jxQB.js → InvitationManagementPage-kaqwNuPz.js} +63 -73
- package/dist/{OnboardingPage-CckzpaI0.js → OnboardingPage-Cy_sPHS1.js} +2 -2
- package/dist/{ScheduledTasks-DZSEnuIF.js → ScheduledTasks-GAP-U6s9.js} +6 -6
- package/dist/{SystemShell-DCRIL4Rh.js → SystemShell-69TBLWk8.js} +5 -5
- package/dist/{admin-logs-DEawvNOd.js → admin-logs-BdwcT77i.js} +1 -1
- package/dist/{api--xHkMnrY.js → api-6nYxtAbN.js} +1 -1
- package/dist/{api-B-nnjGsa.js → api-B0S5AhOe.js} +1 -1
- package/dist/{createWorkspaceWsHandler-y6pRWLoa.js → createWorkspaceWsHandler-B9UE_uoO.js} +3 -3
- package/dist/{index-C09THX8u.js → index-B0f8tIBU.js} +2 -2
- package/dist/{index-B2ztJXV3.js → index-B6n7ueTc.js} +2 -2
- package/dist/{index-C9LqX4Lg.js → index-BC6eLVMc.js} +1 -1
- package/dist/{index-CcHrWE4P.js → index-BQYKmytF.js} +2 -2
- package/dist/{index-4R_QcR8P.js → index-BWaPbYG2.js} +2 -2
- package/dist/{index-CMLlvrEW.js → index-C7DP8H_Q.js} +3372 -3350
- package/dist/{index-C4cx5Qxu.js → index-CCsvaPw9.js} +2 -2
- package/dist/{index-ztXjGIJk.js → index-CE1Vtf-B.js} +1 -1
- package/dist/{index-DWrEAa8-.js → index-CX19wylA.js} +507 -509
- package/dist/{index-H7hP7Fmj.js → index-CazCOFR2.js} +2 -2
- package/dist/{index-DxXcTAH4.js → index-CnKYpM41.js} +1 -1
- package/dist/{index-XWWknPNw.js → index-DJ2TNQP6.js} +2 -2
- package/dist/{index-DePIQVt9.js → index-DJu6AFf9.js} +3 -3
- package/dist/{index-BDUHHaoY.js → index-DNAeZe0a.js} +130 -128
- package/dist/{index-C7ng_cdZ.js → index-DOYSz9Bg.js} +1 -1
- package/dist/{index-Do3pyigD.js → index-DbThmpZg.js} +1 -1
- package/dist/{index-BIffImVM.js → index-DgYhtv8V.js} +146 -146
- package/dist/index-DrDFy5jN.js +139 -0
- package/dist/{index-DtgTLML8.js → index-T4Rvjyn0.js} +3 -3
- package/dist/{index-COn912sj.js → index-Y9EcfhJG.js} +3 -3
- package/dist/{index-CzS_q6Tn.js → index-cY1tZiV2.js} +3 -3
- package/dist/{index-frmk-zNf.js → index-eqbuW74W.js} +5 -5
- package/dist/{index-DlBN-ou4.js → index-g36zRqmZ.js} +5 -5
- package/dist/{index-LnUf9Vil.js → index-tln7BkiQ.js} +6 -6
- package/dist/index.js +1 -1
- package/dist/{instance-DL4u5k9c.js → instance-ChzeFK3e.js} +1 -1
- package/dist/{menuPermission-CA_atlfk.js → menuPermission-DDzb20pQ.js} +3 -3
- package/dist/pages.js +1 -1
- package/dist/{send-default-agent-team-message-BfBVm9AO.js → send-default-agent-team-message-DOgtkW6m.js} +1 -1
- package/dist/{sso-user-Dr8_-Sxd.js → sso-user-DaRbfrdM.js} +1 -1
- package/dist/{training-CcGUA5KC.js → training-N-5-qsDf.js} +1 -1
- package/dist/{webide-C2JfQ-Je.js → webide-BEV0VT3u.js} +3 -3
- package/dist/z-team-component.css +1 -1
- package/package.json +1 -1
- package/dist/index-Cxoup7V8.js +0 -139
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsxs as i, jsx as e, Fragment as A } from "react/jsx-runtime";
|
|
2
|
-
import { useState as o, useEffect as
|
|
3
|
-
import { Form as m, message as l, Button as d, Input as B, Row as
|
|
4
|
-
import { PlusOutlined as
|
|
5
|
-
import { l as
|
|
6
|
-
import { PageHeader as
|
|
7
|
-
const { Text: c } =
|
|
8
|
-
const [C] = m.useForm(), [M, P] = o(!1), [y,
|
|
9
|
-
|
|
2
|
+
import { useState as o, useEffect as le } from "react";
|
|
3
|
+
import { Form as m, message as l, Button as d, Input as B, Row as oe, Col as z, Card as v, Statistic as T, Alert as O, Space as p, Typography as ae, Tabs as se, Popconfirm as F, Tag as h, Tooltip as de, Modal as ce, Radio as S, Select as w, InputNumber as he } from "antd";
|
|
4
|
+
import { PlusOutlined as ue, ClockCircleOutlined as _, CheckCircleOutlined as $, LinkOutlined as U, CopyOutlined as b, QrcodeOutlined as D, UserDeleteOutlined as me, TeamOutlined as pe, MailOutlined as K, UserAddOutlined as j, CloseCircleOutlined as q } from "@ant-design/icons";
|
|
5
|
+
import { l as ye, b as fe, g as ge, c as ve, d as we, e as be, f as Ce } from "./api-6nYxtAbN.js";
|
|
6
|
+
import { PageHeader as xe, TableToolbar as Ie, ListTable as N } from "@yuku123/z-frontend-common/ui";
|
|
7
|
+
const { Text: c } = ae, De = () => {
|
|
8
|
+
const [C] = m.useForm(), [M, P] = o(!1), [y, W] = o([]), [L, G] = o([]), [H, J] = o(null), [u, Q] = o(""), [V, x] = o(!1), [X, R] = o(!1), [a, E] = o(null), [r, Y] = o(localStorage.getItem("userInfo") && JSON.parse(localStorage.getItem("userInfo") || "{}").tenantCode || "");
|
|
9
|
+
le(() => {
|
|
10
10
|
r && f();
|
|
11
11
|
}, [r]);
|
|
12
12
|
const f = async () => {
|
|
@@ -17,25 +17,25 @@ const { Text: c } = se, Me = () => {
|
|
|
17
17
|
P(!0);
|
|
18
18
|
try {
|
|
19
19
|
const [t, n, s] = await Promise.all([
|
|
20
|
+
ye(r).catch(() => []),
|
|
20
21
|
fe(r).catch(() => []),
|
|
21
|
-
ge(
|
|
22
|
-
ve().catch(() => null)
|
|
22
|
+
ge().catch(() => null)
|
|
23
23
|
]);
|
|
24
|
-
if (
|
|
25
|
-
|
|
26
|
-
const k = (s.memberships || []).find((
|
|
27
|
-
|
|
24
|
+
if (W(t || []), G(n || []), s) {
|
|
25
|
+
J(s.userId);
|
|
26
|
+
const k = (s.memberships || []).find((re) => re.tenantCode === r);
|
|
27
|
+
Q((k == null ? void 0 : k.roleCode) || "");
|
|
28
28
|
}
|
|
29
29
|
} catch (t) {
|
|
30
30
|
l.error("加载失败: " + ((t == null ? void 0 : t.message) || t));
|
|
31
31
|
} finally {
|
|
32
32
|
P(!1);
|
|
33
33
|
}
|
|
34
|
-
},
|
|
34
|
+
}, Z = async () => {
|
|
35
35
|
try {
|
|
36
36
|
const t = await C.validateFields();
|
|
37
37
|
R(!0);
|
|
38
|
-
const n = await
|
|
38
|
+
const n = await Ce({
|
|
39
39
|
tenantCode: r,
|
|
40
40
|
inviteeEmail: t.inviteeEmail,
|
|
41
41
|
roleCode: t.roleCode,
|
|
@@ -49,31 +49,31 @@ const { Text: c } = se, Me = () => {
|
|
|
49
49
|
} finally {
|
|
50
50
|
R(!1);
|
|
51
51
|
}
|
|
52
|
-
},
|
|
52
|
+
}, ee = async (t) => {
|
|
53
53
|
try {
|
|
54
|
-
await
|
|
54
|
+
await be(t, r), l.success("已撤销"), f();
|
|
55
55
|
} catch (n) {
|
|
56
56
|
l.error("撤销失败: " + ((n == null ? void 0 : n.message) || n));
|
|
57
57
|
}
|
|
58
|
-
},
|
|
58
|
+
}, te = async (t, n) => {
|
|
59
59
|
try {
|
|
60
|
-
await
|
|
60
|
+
await we(t, r), l.success(`已移除成员 ${n}`), f();
|
|
61
61
|
} catch (s) {
|
|
62
62
|
l.error("移除失败: " + ((s == null ? void 0 : s.message) || s));
|
|
63
63
|
}
|
|
64
|
-
},
|
|
64
|
+
}, ne = async () => {
|
|
65
65
|
try {
|
|
66
|
-
await
|
|
66
|
+
await ve(r), l.success("已退出该租户"), window.location.href = "/onboarding";
|
|
67
67
|
} catch (t) {
|
|
68
68
|
l.error("退出失败: " + ((t == null ? void 0 : t.message) || t));
|
|
69
69
|
}
|
|
70
70
|
}, g = (t, n = "已复制") => {
|
|
71
71
|
navigator.clipboard.writeText(t), l.success(n);
|
|
72
|
-
},
|
|
72
|
+
}, ie = {
|
|
73
73
|
0: { color: "processing", text: "待接受", icon: /* @__PURE__ */ e(_, {}) },
|
|
74
74
|
1: { color: "success", text: "已接受", icon: /* @__PURE__ */ e($, {}) },
|
|
75
|
-
2: { color: "default", text: "已撤销", icon: /* @__PURE__ */ e(
|
|
76
|
-
3: { color: "error", text: "已过期", icon: /* @__PURE__ */ e(
|
|
75
|
+
2: { color: "default", text: "已撤销", icon: /* @__PURE__ */ e(q, {}) },
|
|
76
|
+
3: { color: "error", text: "已过期", icon: /* @__PURE__ */ e(q, {}) }
|
|
77
77
|
}, I = {
|
|
78
78
|
total: y.length,
|
|
79
79
|
pending: y.filter((t) => t.status === 0).length,
|
|
@@ -81,33 +81,33 @@ const { Text: c } = se, Me = () => {
|
|
|
81
81
|
};
|
|
82
82
|
return /* @__PURE__ */ i("div", { children: [
|
|
83
83
|
/* @__PURE__ */ e(
|
|
84
|
-
|
|
84
|
+
xe,
|
|
85
85
|
{
|
|
86
86
|
title: "邀请管理",
|
|
87
87
|
subtitle: `租户: ${r}`
|
|
88
88
|
}
|
|
89
89
|
),
|
|
90
90
|
/* @__PURE__ */ e(
|
|
91
|
-
|
|
91
|
+
Ie,
|
|
92
92
|
{
|
|
93
93
|
left: /* @__PURE__ */ e(
|
|
94
94
|
B,
|
|
95
95
|
{
|
|
96
96
|
placeholder: "租户编码",
|
|
97
97
|
value: r,
|
|
98
|
-
onChange: (t) =>
|
|
98
|
+
onChange: (t) => Y(t.target.value),
|
|
99
99
|
onPressEnter: f,
|
|
100
100
|
style: { width: 200 }
|
|
101
101
|
}
|
|
102
102
|
),
|
|
103
|
-
right: /* @__PURE__ */ e(d, { type: "primary", icon: /* @__PURE__ */ e(
|
|
103
|
+
right: /* @__PURE__ */ e(d, { type: "primary", icon: /* @__PURE__ */ e(ue, {}), onClick: () => x(!0), children: "创建邀请" }),
|
|
104
104
|
extra: null
|
|
105
105
|
}
|
|
106
106
|
),
|
|
107
|
-
/* @__PURE__ */ i(
|
|
108
|
-
/* @__PURE__ */ e(z, { span: 8, children: /* @__PURE__ */ e(v, { size: "small", children: /* @__PURE__ */ e(
|
|
107
|
+
/* @__PURE__ */ i(oe, { gutter: 16, style: { marginBottom: 16 }, children: [
|
|
108
|
+
/* @__PURE__ */ e(z, { span: 8, children: /* @__PURE__ */ e(v, { size: "small", children: /* @__PURE__ */ e(T, { title: "总邀请数", value: I.total }) }) }),
|
|
109
109
|
/* @__PURE__ */ e(z, { span: 8, children: /* @__PURE__ */ e(v, { size: "small", children: /* @__PURE__ */ e(
|
|
110
|
-
|
|
110
|
+
T,
|
|
111
111
|
{
|
|
112
112
|
title: "待接受",
|
|
113
113
|
value: I.pending,
|
|
@@ -116,7 +116,7 @@ const { Text: c } = se, Me = () => {
|
|
|
116
116
|
}
|
|
117
117
|
) }) }),
|
|
118
118
|
/* @__PURE__ */ e(z, { span: 8, children: /* @__PURE__ */ e(v, { size: "small", children: /* @__PURE__ */ e(
|
|
119
|
-
|
|
119
|
+
T,
|
|
120
120
|
{
|
|
121
121
|
title: "已接受",
|
|
122
122
|
value: I.accepted,
|
|
@@ -126,7 +126,7 @@ const { Text: c } = se, Me = () => {
|
|
|
126
126
|
) }) })
|
|
127
127
|
] }),
|
|
128
128
|
a && /* @__PURE__ */ e(
|
|
129
|
-
|
|
129
|
+
O,
|
|
130
130
|
{
|
|
131
131
|
type: "success",
|
|
132
132
|
showIcon: !0,
|
|
@@ -134,7 +134,7 @@ const { Text: c } = se, Me = () => {
|
|
|
134
134
|
message: "邀请创建成功!",
|
|
135
135
|
description: /* @__PURE__ */ i(p, { orientation: "vertical", style: { width: "100%" }, children: [
|
|
136
136
|
a.inviteUrl && /* @__PURE__ */ i(p, { children: [
|
|
137
|
-
/* @__PURE__ */ e(
|
|
137
|
+
/* @__PURE__ */ e(U, {}),
|
|
138
138
|
/* @__PURE__ */ e("code", { style: { background: "#f0f0f0", padding: "2px 6px", borderRadius: 3 }, children: a.inviteUrl }),
|
|
139
139
|
/* @__PURE__ */ e(
|
|
140
140
|
d,
|
|
@@ -147,7 +147,7 @@ const { Text: c } = se, Me = () => {
|
|
|
147
147
|
)
|
|
148
148
|
] }),
|
|
149
149
|
a.inviteCode && /* @__PURE__ */ i(p, { children: [
|
|
150
|
-
/* @__PURE__ */ e(
|
|
150
|
+
/* @__PURE__ */ e(D, {}),
|
|
151
151
|
/* @__PURE__ */ e("code", { style: {
|
|
152
152
|
background: "#f0f0f0",
|
|
153
153
|
padding: "4px 12px",
|
|
@@ -176,7 +176,7 @@ const { Text: c } = se, Me = () => {
|
|
|
176
176
|
}
|
|
177
177
|
),
|
|
178
178
|
/* @__PURE__ */ e(v, { size: "small", styles: { body: { paddingTop: 8 } }, children: /* @__PURE__ */ e(
|
|
179
|
-
|
|
179
|
+
se,
|
|
180
180
|
{
|
|
181
181
|
size: "small",
|
|
182
182
|
defaultActiveKey: "members",
|
|
@@ -191,7 +191,7 @@ const { Text: c } = se, Me = () => {
|
|
|
191
191
|
] }),
|
|
192
192
|
children: /* @__PURE__ */ i(A, { children: [
|
|
193
193
|
u && u !== "owner" && /* @__PURE__ */ e(
|
|
194
|
-
|
|
194
|
+
O,
|
|
195
195
|
{
|
|
196
196
|
type: "warning",
|
|
197
197
|
showIcon: !0,
|
|
@@ -202,14 +202,14 @@ const { Text: c } = se, Me = () => {
|
|
|
202
202
|
{
|
|
203
203
|
title: "确认退出该租户?",
|
|
204
204
|
description: "退出后将回到游离态, 可重新加入或创建新租户",
|
|
205
|
-
onConfirm:
|
|
206
|
-
children: /* @__PURE__ */ e(d, { size: "small", danger: !0, icon: /* @__PURE__ */ e(
|
|
205
|
+
onConfirm: ne,
|
|
206
|
+
children: /* @__PURE__ */ e(d, { size: "small", danger: !0, icon: /* @__PURE__ */ e(me, {}), children: "退出租户" })
|
|
207
207
|
}
|
|
208
208
|
)
|
|
209
209
|
}
|
|
210
210
|
),
|
|
211
211
|
/* @__PURE__ */ e(
|
|
212
|
-
|
|
212
|
+
N,
|
|
213
213
|
{
|
|
214
214
|
rows: L,
|
|
215
215
|
rowKey: "id",
|
|
@@ -271,7 +271,7 @@ const { Text: c } = se, Me = () => {
|
|
|
271
271
|
type: "secondary",
|
|
272
272
|
children: "owner"
|
|
273
273
|
}
|
|
274
|
-
) : n.userId ===
|
|
274
|
+
) : n.userId === H ? /* @__PURE__ */ e(c, { type: "secondary", children: "自己" }) : u === "admin" && n.roleCode === "admin" ? /* @__PURE__ */ e(
|
|
275
275
|
c,
|
|
276
276
|
{
|
|
277
277
|
type: "secondary",
|
|
@@ -282,17 +282,8 @@ const { Text: c } = se, Me = () => {
|
|
|
282
282
|
{
|
|
283
283
|
title: "确认移除该成员?",
|
|
284
284
|
description: "移除后该用户将回游离态, 可重新接受邀请加入",
|
|
285
|
-
onConfirm: () =>
|
|
286
|
-
children: /* @__PURE__ */ e(
|
|
287
|
-
d,
|
|
288
|
-
{
|
|
289
|
-
size: "small",
|
|
290
|
-
type: "text",
|
|
291
|
-
danger: !0,
|
|
292
|
-
icon: /* @__PURE__ */ e(K, {}),
|
|
293
|
-
children: "移除"
|
|
294
|
-
}
|
|
295
|
-
)
|
|
285
|
+
onConfirm: () => te(n.id, `userId=${n.userId}`),
|
|
286
|
+
children: /* @__PURE__ */ e(d, { size: "small", type: "link", danger: !0, children: "移除" })
|
|
296
287
|
}
|
|
297
288
|
)
|
|
298
289
|
}
|
|
@@ -304,14 +295,14 @@ const { Text: c } = se, Me = () => {
|
|
|
304
295
|
{
|
|
305
296
|
key: "invitations",
|
|
306
297
|
label: /* @__PURE__ */ i("span", { children: [
|
|
307
|
-
/* @__PURE__ */ e(
|
|
298
|
+
/* @__PURE__ */ e(j, {}),
|
|
308
299
|
" 邀请记录 (",
|
|
309
300
|
y.length,
|
|
310
301
|
")"
|
|
311
302
|
] }),
|
|
312
303
|
// 邀请记录 —— 走基座 ListTable:标准分页 + 端侧过滤 + EmptyState。
|
|
313
304
|
children: /* @__PURE__ */ e(
|
|
314
|
-
|
|
305
|
+
N,
|
|
315
306
|
{
|
|
316
307
|
rows: y,
|
|
317
308
|
rowKey: "id",
|
|
@@ -327,7 +318,7 @@ const { Text: c } = se, Me = () => {
|
|
|
327
318
|
title: "类型",
|
|
328
319
|
dataIndex: "type",
|
|
329
320
|
width: 80,
|
|
330
|
-
render: (t, n) => n.token ? /* @__PURE__ */ e(h, { color: "blue", icon: /* @__PURE__ */ e(
|
|
321
|
+
render: (t, n) => n.token ? /* @__PURE__ */ e(h, { color: "blue", icon: /* @__PURE__ */ e(U, {}), children: "链接" }) : n.inviteCode ? /* @__PURE__ */ e(h, { color: "purple", icon: /* @__PURE__ */ e(D, {}), children: "码" }) : "-"
|
|
331
322
|
},
|
|
332
323
|
{
|
|
333
324
|
title: "内容",
|
|
@@ -373,7 +364,7 @@ const { Text: c } = se, Me = () => {
|
|
|
373
364
|
{
|
|
374
365
|
title: "被邀请人",
|
|
375
366
|
render: (t, n) => n.inviteeEmail ? /* @__PURE__ */ i(p, { size: 4, children: [
|
|
376
|
-
/* @__PURE__ */ e(
|
|
367
|
+
/* @__PURE__ */ e(K, {}),
|
|
377
368
|
" ",
|
|
378
369
|
n.inviteeEmail
|
|
379
370
|
] }) : n.inviteePhone || /* @__PURE__ */ e(c, { type: "secondary", children: "不限 (公开码)" })
|
|
@@ -393,7 +384,7 @@ const { Text: c } = se, Me = () => {
|
|
|
393
384
|
{
|
|
394
385
|
title: "使用情况",
|
|
395
386
|
width: 100,
|
|
396
|
-
render: (t, n) => /* @__PURE__ */ e(
|
|
387
|
+
render: (t, n) => /* @__PURE__ */ e(de, { title: `最多 ${n.maxUses || 1} 次`, children: /* @__PURE__ */ i(h, { children: [
|
|
397
388
|
n.usedCount || 0,
|
|
398
389
|
" / ",
|
|
399
390
|
n.maxUses || 1
|
|
@@ -404,7 +395,7 @@ const { Text: c } = se, Me = () => {
|
|
|
404
395
|
dataIndex: "status",
|
|
405
396
|
width: 90,
|
|
406
397
|
render: (t) => {
|
|
407
|
-
const n =
|
|
398
|
+
const n = ie[t] || { color: "default", text: "?" };
|
|
408
399
|
return /* @__PURE__ */ e(h, { color: n.color, icon: n.icon, children: n.text });
|
|
409
400
|
}
|
|
410
401
|
},
|
|
@@ -429,10 +420,9 @@ const { Text: c } = se, Me = () => {
|
|
|
429
420
|
d,
|
|
430
421
|
{
|
|
431
422
|
size: "small",
|
|
432
|
-
type: "
|
|
423
|
+
type: "link",
|
|
433
424
|
danger: !0,
|
|
434
|
-
|
|
435
|
-
onClick: () => te(n.id),
|
|
425
|
+
onClick: () => ee(n.id),
|
|
436
426
|
children: "撤销"
|
|
437
427
|
}
|
|
438
428
|
) : /* @__PURE__ */ e(c, { type: "secondary", children: "-" })
|
|
@@ -445,30 +435,30 @@ const { Text: c } = se, Me = () => {
|
|
|
445
435
|
}
|
|
446
436
|
) }),
|
|
447
437
|
/* @__PURE__ */ i(
|
|
448
|
-
|
|
438
|
+
ce,
|
|
449
439
|
{
|
|
450
440
|
title: /* @__PURE__ */ i(A, { children: [
|
|
451
|
-
/* @__PURE__ */ e(
|
|
441
|
+
/* @__PURE__ */ e(j, {}),
|
|
452
442
|
" 创建邀请"
|
|
453
443
|
] }),
|
|
454
|
-
open:
|
|
444
|
+
open: V,
|
|
455
445
|
onCancel: () => x(!1),
|
|
456
|
-
onOk:
|
|
457
|
-
confirmLoading:
|
|
446
|
+
onOk: Z,
|
|
447
|
+
confirmLoading: X,
|
|
458
448
|
okText: "创建",
|
|
459
449
|
children: [
|
|
460
450
|
/* @__PURE__ */ i(m, { form: C, layout: "vertical", initialValues: { type: "link", roleCode: "member", maxUses: 1 }, children: [
|
|
461
451
|
/* @__PURE__ */ e(m.Item, { name: "type", label: "类型", rules: [{ required: !0 }], children: /* @__PURE__ */ i(S.Group, { children: [
|
|
462
452
|
/* @__PURE__ */ i(S.Button, { value: "link", children: [
|
|
463
|
-
/* @__PURE__ */ e(
|
|
453
|
+
/* @__PURE__ */ e(U, {}),
|
|
464
454
|
" 邀请链接"
|
|
465
455
|
] }),
|
|
466
456
|
/* @__PURE__ */ i(S.Button, { value: "code", children: [
|
|
467
|
-
/* @__PURE__ */ e(
|
|
457
|
+
/* @__PURE__ */ e(D, {}),
|
|
468
458
|
" 邀请码"
|
|
469
459
|
] })
|
|
470
460
|
] }) }),
|
|
471
|
-
/* @__PURE__ */ e(m.Item, { name: "inviteeEmail", label: "被邀请人邮箱 (可选, 链接模式可指定)", children: /* @__PURE__ */ e(B, { prefix: /* @__PURE__ */ e(
|
|
461
|
+
/* @__PURE__ */ e(m.Item, { name: "inviteeEmail", label: "被邀请人邮箱 (可选, 链接模式可指定)", children: /* @__PURE__ */ e(B, { prefix: /* @__PURE__ */ e(K, {}), placeholder: "留空则任何人都可用 (码模式)" }) }),
|
|
472
462
|
/* @__PURE__ */ e(m.Item, { name: "roleCode", label: "加入后角色", rules: [{ required: !0 }], children: /* @__PURE__ */ i(w, { children: [
|
|
473
463
|
/* @__PURE__ */ e(w.Option, { value: "owner", children: "owner (完全管理)" }),
|
|
474
464
|
/* @__PURE__ */ e(w.Option, { value: "admin", children: "admin (管理员)" }),
|
|
@@ -480,16 +470,16 @@ const { Text: c } = se, Me = () => {
|
|
|
480
470
|
name: "maxUses",
|
|
481
471
|
label: "最大使用次数",
|
|
482
472
|
extra: "码模式可 > 1 (批量邀请), 链接模式固定 1",
|
|
483
|
-
children: /* @__PURE__ */ e(
|
|
473
|
+
children: /* @__PURE__ */ e(he, { min: 1, max: 100, style: { width: "100%" } })
|
|
484
474
|
}
|
|
485
475
|
)
|
|
486
476
|
] }),
|
|
487
|
-
/* @__PURE__ */ e(
|
|
477
|
+
/* @__PURE__ */ e(O, { type: "info", showIcon: !0, title: "链接模式 7 天过期, 码模式同 7 天" })
|
|
488
478
|
]
|
|
489
479
|
}
|
|
490
480
|
)
|
|
491
481
|
] });
|
|
492
482
|
};
|
|
493
483
|
export {
|
|
494
|
-
|
|
484
|
+
De as default
|
|
495
485
|
};
|
|
@@ -3,8 +3,8 @@ import { useState as a, useMemo as oe, useEffect as W } from "react";
|
|
|
3
3
|
import { useNavigate as le, useSearchParams as se } from "react-router-dom";
|
|
4
4
|
import { Form as c, message as o, Spin as ce, Typography as de, Card as d, Tag as x, Empty as me, Row as he, Col as fe, Space as S, Avatar as ge, Pagination as pe, Button as T, Result as ue, Modal as E, Input as k, Alert as U } from "antd";
|
|
5
5
|
import { RocketOutlined as q, ApartmentOutlined as ye, CheckCircleOutlined as Ce, PlusOutlined as z, KeyOutlined as m, GiftOutlined as ve, HomeOutlined as we, CrownOutlined as be } from "@ant-design/icons";
|
|
6
|
-
import { g as xe, a as Se, s as Te, r as ke } from "./api
|
|
7
|
-
import { d as ze } from "./ComponentDoc-
|
|
6
|
+
import { g as xe, a as Se, s as Te, r as ke } from "./api-6nYxtAbN.js";
|
|
7
|
+
import { d as ze } from "./ComponentDoc-D5Gbd6B_.js";
|
|
8
8
|
const { Title: u, Text: O, Paragraph: Oe } = de, y = 12, Me = () => {
|
|
9
9
|
const L = le(), [H] = se(), [_, I] = a(!0), [i, $] = a(null), [l, G] = a([]), [A, F] = a(0), [h, B] = a(""), [C, K] = a(1), X = oe(() => {
|
|
10
10
|
const e = (C - 1) * y;
|
|
@@ -4,21 +4,21 @@ import { useState as o, useRef as fe, useMemo as xe, useEffect as ne, useCallbac
|
|
|
4
4
|
import Dn from "react-markdown";
|
|
5
5
|
import ss from "rehype-highlight";
|
|
6
6
|
import Mn from "remark-gfm";
|
|
7
|
-
import { a as ls, f as is, B as os, b as rs, u as ct, ab as Sl, ac as cs, n as Ct, ad as Tl, t as ds, ae as Il, af as xl, ag as Bl, w as Wn, y as _a, v as Ll, x as Al, z as Rl, ah as $l, ai as Dl, T as Ml, aj as El, q as Pl, ak as Hl, al as Ol } from "./ComponentDoc-
|
|
8
|
-
import { Y as us, d as jl, Z as Vn, _ as Fl, $ as Gl, a0 as ql, r as Ul, a1 as zl, a2 as Wl, a3 as ms, a4 as hs, a5 as Vl, a6 as Kl, a7 as ps, a8 as _s, a9 as fs, aa as gs, ab as ys, ac as Jl, ad as Yl, ae as bs, af as fa, ag as vs, ah as Ql, F as ga, R as ra, L as ya, P as Xl, D as Zl, ai as ks, aj as ei, ak as ti, al as ba, am as Bn, an as Ns, e as Cs, ao as ni, ap as ai, aq as si, ar as li, as as Yt } from "./index-
|
|
9
|
-
import { u as Rn, c as ca, i as ws, T as ii, t as oi, s as ri, v as ci, w as di, x as Ss, y as ui } from "./createWorkspaceWsHandler-
|
|
7
|
+
import { a as ls, f as is, B as os, b as rs, u as ct, ab as Sl, ac as cs, n as Ct, ad as Tl, t as ds, ae as Il, af as xl, ag as Bl, w as Wn, y as _a, v as Ll, x as Al, z as Rl, ah as $l, ai as Dl, T as Ml, aj as El, q as Pl, ak as Hl, al as Ol } from "./ComponentDoc-D5Gbd6B_.js";
|
|
8
|
+
import { Y as us, d as jl, Z as Vn, _ as Fl, $ as Gl, a0 as ql, r as Ul, a1 as zl, a2 as Wl, a3 as ms, a4 as hs, a5 as Vl, a6 as Kl, a7 as ps, a8 as _s, a9 as fs, aa as gs, ab as ys, ac as Jl, ad as Yl, ae as bs, af as fa, ag as vs, ah as Ql, F as ga, R as ra, L as ya, P as Xl, D as Zl, ai as ks, aj as ei, ak as ti, al as ba, am as Bn, an as Ns, e as Cs, ao as ni, ap as ai, aq as si, ar as li, as as Yt } from "./index-C7DP8H_Q.js";
|
|
9
|
+
import { u as Rn, c as ca, i as ws, T as ii, t as oi, s as ri, v as ci, w as di, x as Ss, y as ui } from "./createWorkspaceWsHandler-B9UE_uoO.js";
|
|
10
10
|
import { message as ke, Spin as Rt, Input as Ae, Switch as pn, Select as Gt, InputNumber as mi, Tabs as hi, Card as pi, Tag as ue, Table as _i, DatePicker as fi, Segmented as gi, Empty as pt, Modal as Pt, Button as K, Space as Qe, Typography as yi, Radio as Ht, Row as Lt, Col as et, List as va, Statistic as bi, Tooltip as da, Form as _n, Progress as rn } from "antd";
|
|
11
|
-
import { f as vi, u as ki, a as Ni, b as Ci, s as wi } from "./webide-
|
|
11
|
+
import { f as vi, u as ki, a as Ni, b as Ci, s as wi } from "./webide-BEV0VT3u.js";
|
|
12
12
|
import nn from "dayjs";
|
|
13
13
|
import * as $n from "echarts/core";
|
|
14
14
|
import { BarChart as Si, LineChart as Ti, PieChart as Ii } from "echarts/charts";
|
|
15
15
|
import { GridComponent as xi, LegendComponent as Bi, TitleComponent as Li, TooltipComponent as Ai } from "echarts/components";
|
|
16
16
|
import { CanvasRenderer as Ri } from "echarts/renderers";
|
|
17
|
-
import { a as $i } from "./instance-
|
|
17
|
+
import { a as $i } from "./instance-ChzeFK3e.js";
|
|
18
18
|
import { diffLines as Di } from "diff";
|
|
19
19
|
import Mi, { DiffMethod as Ei } from "react-diff-viewer-continued";
|
|
20
20
|
import { format as Pi } from "sql-formatter";
|
|
21
|
-
import { V as Ts, W as Hi, k as Oi, h as ji, X as Is, Y as Fi, Z as Gi, _ as ka, $ as qi, a0 as Ui, a1 as xs, a2 as zi, a3 as Wi, a4 as Vi, a5 as Ki, a6 as Ji, a7 as Yi } from "./training-
|
|
21
|
+
import { V as Ts, W as Hi, k as Oi, h as ji, X as Is, Y as Fi, Z as Gi, _ as ka, $ as qi, a0 as Ui, a1 as xs, a2 as zi, a3 as Wi, a4 as Vi, a5 as Ki, a6 as Ji, a7 as Yi } from "./training-N-5-qsDf.js";
|
|
22
22
|
async function Qi(t = {}, s = "") {
|
|
23
23
|
const a = new URLSearchParams();
|
|
24
24
|
t.keyword && a.set("keyword", t.keyword), t.category && a.set("category", t.category), t.status !== void 0 && a.set("status", String(t.status)), s && a.set("token", s);
|
|
@@ -2,11 +2,11 @@ import { jsx as e, jsxs as r } from "react/jsx-runtime";
|
|
|
2
2
|
import { useNavigate as ye, useLocation as Z, Navigate as c } from "react-router-dom";
|
|
3
3
|
import { useMemo as O, useState as ae, useEffect as Ie, useCallback as Ge, Suspense as we, lazy as S } from "react";
|
|
4
4
|
import { UnorderedListOutlined as D, HistoryOutlined as ne, ClusterOutlined as N, DashboardOutlined as f, ExperimentOutlined as De, SettingOutlined as oe, KeyOutlined as q, AppstoreOutlined as M, SafetyCertificateOutlined as K, TeamOutlined as J, ProfileOutlined as $, ApiOutlined as F, HddOutlined as W, ApartmentOutlined as V, InboxOutlined as ce, FileTextOutlined as I, SendOutlined as Ne, CloudServerOutlined as v, NodeIndexOutlined as Ce, TableOutlined as le, SearchOutlined as j, DatabaseOutlined as x, ConsoleSqlOutlined as Me, BranchesOutlined as Be, DeploymentUnitOutlined as Y, BookOutlined as B, ScheduleOutlined as ze, FundOutlined as Le, CloudUploadOutlined as Te, TagsOutlined as Ee, CodeOutlined as R, DownOutlined as se, RightOutlined as ie, UserOutlined as qe, CloudOutlined as Q, AuditOutlined as re, FolderOpenOutlined as He, DesktopOutlined as _e, ThunderboltOutlined as Re, FileImageOutlined as $e, ProjectOutlined as fe, CalendarOutlined as H, BarChartOutlined as pe, ControlOutlined as xe } from "@ant-design/icons";
|
|
5
|
-
import { f as Ue, M as We } from "./menuPermission-
|
|
6
|
-
import { u as me, a2 as je } from "./ComponentDoc-
|
|
5
|
+
import { f as Ue, M as We } from "./menuPermission-DDzb20pQ.js";
|
|
6
|
+
import { u as me, a2 as je } from "./ComponentDoc-D5Gbd6B_.js";
|
|
7
7
|
import { M as Ke, f as Se, u as Fe } from "./menuTree-Ctcz41N8.js";
|
|
8
8
|
import { ProductApp as Ve } from "@yuku123/z-product-component";
|
|
9
|
-
import { P as Ye, R as Qe } from "./index-
|
|
9
|
+
import { P as Ye, R as Qe } from "./index-BQYKmytF.js";
|
|
10
10
|
import { configureGraph as Ze } from "@yuku123/z-graph-component";
|
|
11
11
|
const Je = [
|
|
12
12
|
{
|
|
@@ -700,11 +700,11 @@ const Et = "_shellWrap_11zl4_6", qt = "_shell_11zl4_6", Ht = "_dragBar_11zl4_31"
|
|
|
700
700
|
emptyText: Yt
|
|
701
701
|
};
|
|
702
702
|
je();
|
|
703
|
-
const t = (a, s) => S(() => a().then((p) => ({ default: p[s] }))), Qt = t(() => import("@yuku123/z-ctc-component"), "AccountManagement"), Zt = t(() => import("@yuku123/z-ctc-component"), "ApplicationManagement"), Jt = t(() => import("@yuku123/z-ctc-component"), "AuditPage"), Xt = t(() => import("@yuku123/z-ctc-component"), "CtcOverview"), ea = t(() => import("@yuku123/z-ctc-component"), "DictPage"), ta = t(() => import("@yuku123/z-ctc-component"), "OrgPage"), aa = t(() => import("@yuku123/z-ctc-component"), "PermissionManagement"), na = t(() => import("@yuku123/z-ctc-component"), "RoleManagement"), de = t(() => import("@yuku123/z-ctc-component"), "SurlManagement"), oa = t(() => import("@yuku123/z-ctc-component"), "TenantManagement"), ca = t(() => import("@yuku123/z-agent-component"), "AgentAppList"), la = t(() => import("@yuku123/z-agent-component"), "AgentDashboard"), sa = t(() => import("@yuku123/z-agent-component"), "AkManage"), ia = t(() => import("@yuku123/z-agent-component"), "BucketList"), ra = t(() => import("@yuku123/z-agent-component"), "LlmManage"), pa = t(() => import("@yuku123/z-agent-component"), "McpPage"), ma = t(() => import("@yuku123/z-agent-component"), "ObjectBrowser"), ua = t(() => import("@yuku123/z-agent-component"), "ScriptCenterPage"), P = t(() => import("@yuku123/z-agent-component"), "ScriptProductizationPage"), da = t(() => import("@yuku123/z-agent-component"), "SkillMarket"), ha = t(() => import("./index-
|
|
703
|
+
const t = (a, s) => S(() => a().then((p) => ({ default: p[s] }))), Qt = t(() => import("@yuku123/z-ctc-component"), "AccountManagement"), Zt = t(() => import("@yuku123/z-ctc-component"), "ApplicationManagement"), Jt = t(() => import("@yuku123/z-ctc-component"), "AuditPage"), Xt = t(() => import("@yuku123/z-ctc-component"), "CtcOverview"), ea = t(() => import("@yuku123/z-ctc-component"), "DictPage"), ta = t(() => import("@yuku123/z-ctc-component"), "OrgPage"), aa = t(() => import("@yuku123/z-ctc-component"), "PermissionManagement"), na = t(() => import("@yuku123/z-ctc-component"), "RoleManagement"), de = t(() => import("@yuku123/z-ctc-component"), "SurlManagement"), oa = t(() => import("@yuku123/z-ctc-component"), "TenantManagement"), ca = t(() => import("@yuku123/z-agent-component"), "AgentAppList"), la = t(() => import("@yuku123/z-agent-component"), "AgentDashboard"), sa = t(() => import("@yuku123/z-agent-component"), "AkManage"), ia = t(() => import("@yuku123/z-agent-component"), "BucketList"), ra = t(() => import("@yuku123/z-agent-component"), "LlmManage"), pa = t(() => import("@yuku123/z-agent-component"), "McpPage"), ma = t(() => import("@yuku123/z-agent-component"), "ObjectBrowser"), ua = t(() => import("@yuku123/z-agent-component"), "ScriptCenterPage"), P = t(() => import("@yuku123/z-agent-component"), "ScriptProductizationPage"), da = t(() => import("@yuku123/z-agent-component"), "SkillMarket"), ha = t(() => import("./index-B0f8tIBU.js"), "AgentTeamIM"), he = t(() => import("./index-B0f8tIBU.js"), "DebugPlayground"), ba = t(() => import("./index-B0f8tIBU.js"), "Overview"), be = t(() => import("./index-B0f8tIBU.js"), "Webide"), ka = S(() => import("./OnboardingPage-Cy_sPHS1.js")), ga = S(() => import("./InvitationManagementPage-kaqwNuPz.js")), ya = t(() => import("@yuku123/z-config-component"), "ConfigApp"), _a = t(() => import("@yuku123/z-task-component"), "TaskApp"), fa = t(() => import("@yuku123/z-wf-component"), "WorkflowApp"), Sa = t(() => import("@yuku123/z-schedule-component"), "ScheduleApp"), Aa = t(() => import("@yuku123/z-mist-component"), "MistApp"), va = t(() => import("@yuku123/z-meta-component"), "MetaApp"), Pa = t(() => import("@yuku123/z-msg-component"), "MsgApp"), Oa = t(() => import("@yuku123/z-rpc-component"), "RpcApp"), Ia = t(() => import("@yuku123/z-vector-component"), "VectorApp"), Ga = t(() => import("@yuku123/z-graph-component"), "GraphApp"), wa = t(() => import("@yuku123/z-gw-component"), "GwApp"), Da = t(() => import("@yuku123/z-cache-component"), "CacheApp"), Na = t(() => import("@yuku123/z-mq-component"), "MqApp"), Ca = t(() => import("@yuku123/z-oss-component"), "OssApp"), Ma = t(() => import("@yuku123/z-cognition-kb-component"), "KbApp"), Ba = S(() => import("./ComponentDoc-D5Gbd6B_.js").then((a) => a.co)), za = S(() => import("./ComponentDoc-D5Gbd6B_.js").then((a) => a.cp)), La = t(() => import("@yuku123/z-config-component"), "ComponentDocPage"), Ta = t(() => import("@yuku123/z-task-component"), "ComponentDocPage"), Ea = t(() => import("@yuku123/z-wf-component"), "ComponentDocPage"), qa = t(() => import("@yuku123/z-schedule-component"), "ComponentDocPage"), Ha = t(() => import("@yuku123/z-mist-component"), "ComponentDocPage"), Ra = t(() => import("@yuku123/z-meta-component"), "ComponentDocPage"), $a = t(() => import("@yuku123/z-msg-component"), "ComponentDocPage"), xa = t(() => import("@yuku123/z-rpc-component"), "ComponentDocPage"), Ua = t(() => import("@yuku123/z-cognition-kb-component"), "ComponentDocPage"), Wa = t(() => import("@yuku123/z-product-component"), "ComponentDocPage"), ja = t(() => import("@yuku123/z-oss-component"), "ComponentDocPage"), Ka = t(() => import("@yuku123/z-vector-component"), "ComponentDocPage"), Fa = t(() => import("@yuku123/z-graph-component"), "ComponentDocPage"), Va = t(() => import("@yuku123/z-gw-component"), "ComponentDocPage"), Ya = t(() => import("@yuku123/z-cache-component"), "ComponentDocPage"), Qa = t(() => import("@yuku123/z-mq-component"), "ComponentDocPage"), Za = t(() => import("@yuku123/z-ctc-component"), "ComponentDocPage"), Ja = t(() => import("@yuku123/z-agent-component"), "ComponentDocPage"), Xa = t(() => import("@yuku123/z-lc-component"), "ComponentDocPage"), en = t(() => import("@yuku123/z-qa-component"), "ComponentDocPage"), tn = S(() => import("./AdminModuleContent-T7ZXoVAV.js"));
|
|
704
704
|
function an() {
|
|
705
705
|
return Tt(), /* @__PURE__ */ e(Ga, {});
|
|
706
706
|
}
|
|
707
|
-
const nn = S(() => import("./ComponentDoc-
|
|
707
|
+
const nn = S(() => import("./ComponentDoc-D5Gbd6B_.js").then((a) => a.cn)), ke = S(() => import("@yuku123/z-qa-component"));
|
|
708
708
|
function on() {
|
|
709
709
|
return /* @__PURE__ */ r("div", { className: d.empty, children: [
|
|
710
710
|
/* @__PURE__ */ e("div", { className: d.emptyIcon, children: "📋" }),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as f, A as p, a, f as s, B as r, D as $, b as i } from "./ComponentDoc-
|
|
1
|
+
import { u as f, A as p, a, f as s, B as r, D as $, b as i } from "./ComponentDoc-D5Gbd6B_.js";
|
|
2
2
|
async function m() {
|
|
3
3
|
f.getState().token && await p().catch(() => {
|
|
4
4
|
}), localStorage.removeItem("token"), localStorage.removeItem("z_team_token"), localStorage.removeItem("userInfo"), localStorage.removeItem("USER_INFO"), localStorage.removeItem("z_ctc_token"), localStorage.removeItem("ctcUrl"), window.USER_INFO = void 0, f.setState({ currentUser: null, token: "", currentProject: void 0 });
|
|
@@ -3,12 +3,12 @@ import { ShareAltOutlined as Za, EditOutlined as eo, EyeOutlined as vi, FileText
|
|
|
3
3
|
import { message as ze, Drawer as bs, Spin as dt, Input as An, Button as rt, Segmented as Fi, Modal as mn, AutoComplete as Hi, Typography as Ut, Checkbox as ls, Space as on, Radio as aa, Skeleton as Mn, Popover as lo, Timeline as oa, Tag as ct, Tooltip as zn, Tree as qi, Empty as rn, Dropdown as ji, Progress as Gi, Collapse as ia } from "antd";
|
|
4
4
|
import it, { useState as C, useRef as Ne, useEffect as ie, useCallback as j, useMemo as be, useContext as Wi, createContext as Ui, useLayoutEffect as co, memo as uo, useImperativeHandle as Vi } from "react";
|
|
5
5
|
import { createPortal as mo } from "react-dom";
|
|
6
|
-
import { a as ye, aD as hn, f as xe, b as Ke, B as Pe, D as Ze, a5 as zi, u as F, n as Wt, aE as ho, aw as po, w as Q, aA as Ji, aF as vs, aG as Jn, t as Ie, aH as Ki, aI as Qi, aJ as Yi, ao as qe, aK as Xi, aL as go, aM as _o, aN as Ns, aO as Zi, aP as fo, aQ as ko, aR as yo, aS as bo, aT as cs, aU as Ts, aV as er, aW as tr, aX as nr, aY as sr, aZ as ar, a_ as or, a$ as Bt, b0 as Rt, b1 as ir, b2 as rr, b3 as lr, e as ln, b4 as cr, b5 as dr, b6 as ur, b7 as mr, b8 as hr, b9 as pr, ba as gr, bb as _r, bc as fr, bd as kr, be as Cs, bf as yr, bg as br, z as vr, bh as Nr, bi as ra, bj as vo, T as Ss, bk as St, bl as la, s as Tr, bm as Cr, bn as Sr, bo as ca, an as da, bp as wr, bq as Ir, br as Ar, bs as ua, bt as xr } from "./ComponentDoc-
|
|
7
|
-
import { d as Lr, e as Br, j as Rr, r as Pr, g as $r, h as Dr } from "./instance-
|
|
6
|
+
import { a as ye, aD as hn, f as xe, b as Ke, B as Pe, D as Ze, a5 as zi, u as F, n as Wt, aE as ho, aw as po, w as Q, aA as Ji, aF as vs, aG as Jn, t as Ie, aH as Ki, aI as Qi, aJ as Yi, ao as qe, aK as Xi, aL as go, aM as _o, aN as Ns, aO as Zi, aP as fo, aQ as ko, aR as yo, aS as bo, aT as cs, aU as Ts, aV as er, aW as tr, aX as nr, aY as sr, aZ as ar, a_ as or, a$ as Bt, b0 as Rt, b1 as ir, b2 as rr, b3 as lr, e as ln, b4 as cr, b5 as dr, b6 as ur, b7 as mr, b8 as hr, b9 as pr, ba as gr, bb as _r, bc as fr, bd as kr, be as Cs, bf as yr, bg as br, z as vr, bh as Nr, bi as ra, bj as vo, T as Ss, bk as St, bl as la, s as Tr, bm as Cr, bn as Sr, bo as ca, an as da, bp as wr, bq as Ir, br as Ar, bs as ua, bt as xr } from "./ComponentDoc-D5Gbd6B_.js";
|
|
7
|
+
import { d as Lr, e as Br, j as Rr, r as Pr, g as $r, h as Dr } from "./instance-ChzeFK3e.js";
|
|
8
8
|
import gt from "react-markdown";
|
|
9
9
|
import In from "rehype-highlight";
|
|
10
10
|
import _t from "remark-gfm";
|
|
11
|
-
import { i as Er, u as Mr, e as Or, j as Fr, k as Hr, t as qr } from "./admin-logs-
|
|
11
|
+
import { i as Er, u as Mr, e as Or, j as Fr, k as Hr, t as qr } from "./admin-logs-BdwcT77i.js";
|
|
12
12
|
import je from "handlebars";
|
|
13
13
|
async function jr(e) {
|
|
14
14
|
try {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AppLayout as v, ErrorBoundary as V, LoginPage as _, StatusTag as j, defaultStatusMap as z } from "@yuku123/z-frontend-common";
|
|
2
|
-
import { d as y } from "./ComponentDoc-
|
|
3
|
-
import { G as J, H as Q, I as X, M as Y, J as Z, O as $, K as ee, R as te, L as re, N as ae, Q as oe, U as ne, V as le, V as ie, W as se } from "./ComponentDoc-
|
|
2
|
+
import { d as y } from "./ComponentDoc-D5Gbd6B_.js";
|
|
3
|
+
import { G as J, H as Q, I as X, M as Y, J as Z, O as $, K as ee, R as te, L as re, N as ae, Q as oe, U as ne, V as le, V as ie, W as se } from "./ComponentDoc-D5Gbd6B_.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";
|
|
@@ -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 U, f as $, B, b as D, u as F } from "./ComponentDoc-
|
|
3
|
+
import { a as U, f as $, B, b as D, u as F } from "./ComponentDoc-D5Gbd6B_.js";
|
|
4
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
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-DNAeZe0a.js";
|
|
10
10
|
function j(a) {
|
|
11
11
|
return a ? `?token=${encodeURIComponent(a)}` : "";
|
|
12
12
|
}
|
|
@@ -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 { E as b, F as g } from "./ComponentDoc-
|
|
5
|
-
import { i as K, P as x } from "./index-
|
|
4
|
+
import { E as b, F as g } from "./ComponentDoc-D5Gbd6B_.js";
|
|
5
|
+
import { i as K, P as x } from "./index-DbThmpZg.js";
|
|
6
6
|
const E = "_banner_2v7mc_1", F = "_dot_2v7mc_18", S = "_text_2v7mc_26", f = "_retry_2v7mc_31", A = "_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: F,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as c, jsxs as _ } from "react/jsx-runtime";
|
|
2
|
-
import { e as $, u as j, t as x, p as O, g as v, h as F } from "./ComponentDoc-
|
|
2
|
+
import { e as $, u as j, t as x, p as O, g as v, h as F } from "./ComponentDoc-D5Gbd6B_.js";
|
|
3
3
|
import { CheckCircleFilled as b } from "@ant-design/icons";
|
|
4
4
|
import { Result as D, Button as R, Spin as U } from "antd";
|
|
5
5
|
import B from "query-string";
|
|
6
6
|
import { useMemo as y, useState as f, useRef as q, useCallback as A, useEffect as J } from "react";
|
|
7
7
|
import { useLocation as W } from "react-router-dom";
|
|
8
8
|
import { h as w } from "./history-BlrA1eaW.js";
|
|
9
|
-
import { l as Z, j as z, f as H, b as L, p as M } from "./instance-
|
|
9
|
+
import { l as Z, j as z, f as H, b as L, p as M } from "./instance-ChzeFK3e.js";
|
|
10
10
|
import { b as N } from "./mobile-client-O3yr9h6t.js";
|
|
11
11
|
function nt() {
|
|
12
12
|
const m = W(), p = B.parse(m.search), o = String(
|