@yuku123/z-team-component 0.2.134 → 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-DjEqlai_.js → AdminModuleContent-T7ZXoVAV.js} +6310 -6319
- package/dist/{ChangeLogView-BQCxD0g7.js → ChangeLogView-ChmYvz8Z.js} +1 -1
- package/dist/{ComponentDoc-C1yrRq6Y.js → ComponentDoc-D5Gbd6B_.js} +994 -1006
- package/dist/{InvitationManagementPage-Bbl_HXlG.js → InvitationManagementPage-kaqwNuPz.js} +63 -73
- package/dist/{OnboardingPage-BoYhlfWE.js → OnboardingPage-Cy_sPHS1.js} +2 -2
- package/dist/{ScheduledTasks-0FX6xhIs.js → ScheduledTasks-GAP-U6s9.js} +6 -6
- package/dist/{SystemShell-DNRHYsgT.js → SystemShell-69TBLWk8.js} +5 -5
- package/dist/{admin-logs-OZ3s7ssr.js → admin-logs-BdwcT77i.js} +1 -1
- package/dist/{api-B0ComkTL.js → api-6nYxtAbN.js} +1 -1
- package/dist/{api-BgrPNvTB.js → api-B0S5AhOe.js} +1 -1
- package/dist/{createWorkspaceWsHandler-CkgJR6Oo.js → createWorkspaceWsHandler-B9UE_uoO.js} +3 -3
- package/dist/{index-Dy5HesOM.js → index-B0f8tIBU.js} +2 -2
- package/dist/{index-Cn2CVr2m.js → index-B6n7ueTc.js} +2 -2
- package/dist/{index-9fGksFL5.js → index-BC6eLVMc.js} +1 -1
- package/dist/{index-C1sQehbP.js → index-BQYKmytF.js} +2 -2
- package/dist/{index-mHqvjT5a.js → index-BWaPbYG2.js} +2 -2
- package/dist/{index-DXvw5NUH.js → index-C7DP8H_Q.js} +3373 -3351
- package/dist/{index-dti6XFQV.js → index-CCsvaPw9.js} +2 -2
- package/dist/{index-Bbs7DMqZ.js → index-CE1Vtf-B.js} +1 -1
- package/dist/{index-DTKd1x9H.js → index-CX19wylA.js} +507 -509
- package/dist/index-CazCOFR2.js +228 -0
- package/dist/{index-Dx6dKBLL.js → index-CnKYpM41.js} +1 -1
- package/dist/{index-Dj88QNYQ.js → index-DJ2TNQP6.js} +2 -2
- package/dist/{index-BtCyMeHe.js → index-DJu6AFf9.js} +3 -3
- package/dist/{index-Bf-Az5am.js → index-DNAeZe0a.js} +130 -128
- package/dist/{index-vqAJt3qL.js → index-DOYSz9Bg.js} +1 -1
- package/dist/{index-Dg_qr92O.js → index-DbThmpZg.js} +1 -1
- package/dist/{index-CHLZ4xCe.js → index-DgYhtv8V.js} +436 -424
- package/dist/index-DrDFy5jN.js +139 -0
- package/dist/{index-BiCIEDbX.js → index-T4Rvjyn0.js} +3 -3
- package/dist/{index-Cg88iPqc.js → index-Y9EcfhJG.js} +3 -3
- package/dist/{index-CM6iVhI3.js → index-cY1tZiV2.js} +3 -3
- package/dist/{index-M_hPRTgh.js → index-eqbuW74W.js} +5 -5
- package/dist/{index-Bf57pWxm.js → index-g36zRqmZ.js} +5 -5
- package/dist/{index-DxH2PsDU.js → index-tln7BkiQ.js} +6 -6
- package/dist/index.js +1 -1
- package/dist/{instance-BXN17-Ol.js → instance-ChzeFK3e.js} +1 -1
- package/dist/{menuPermission-Bw3hPi8i.js → menuPermission-DDzb20pQ.js} +3 -3
- package/dist/pages.js +1 -1
- package/dist/{send-default-agent-team-message-DM0C9VL-.js → send-default-agent-team-message-DOgtkW6m.js} +1 -1
- package/dist/{sso-user-F62YVj4w.js → sso-user-DaRbfrdM.js} +1 -1
- package/dist/{training-Df00Ilsm.js → training-N-5-qsDf.js} +1 -1
- package/dist/{webide-Iw2coFFL.js → webide-BEV0VT3u.js} +3 -3
- package/dist/z-team-component.css +1 -1
- package/package.json +1 -1
- package/dist/index-TaAkEm82.js +0 -112
- package/dist/index-glQgW-8f.js +0 -147
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useState as L, useMemo as I, useCallback as W, useEffect as O } from "react";
|
|
3
|
+
import { useNavigate as U, useLocation as q } from "react-router-dom";
|
|
4
|
+
import { CodeOutlined as T, DownOutlined as w, RightOutlined as B, AppstoreOutlined as y, HomeOutlined as C, DashboardOutlined as D, TableOutlined as j, DatabaseOutlined as K, RobotOutlined as F, FunctionOutlined as z, ApartmentOutlined as J, EyeOutlined as Q, BranchesOutlined as V, DeploymentUnitOutlined as X, SafetyCertificateOutlined as Y, RocketOutlined as Z } from "@ant-design/icons";
|
|
5
|
+
import ee from "@yuku123/z-lc-component";
|
|
6
|
+
import { f as ne, M as te } from "./menuPermission-DDzb20pQ.js";
|
|
7
|
+
import { u as P } from "./ComponentDoc-D5Gbd6B_.js";
|
|
8
|
+
const re = "_shellWrap_kxkvd_7", ae = "_shell_kxkvd_7", ue = "_productBanner_kxkvd_25", se = "_productBannerLabel_kxkvd_37", ce = "_productBannerName_kxkvd_43", oe = "_productBannerCode_kxkvd_51", ie = "_productBannerBack_kxkvd_56", le = "_sidebar_kxkvd_78", de = "_sidebarHeader_kxkvd_89", me = "_menuList_kxkvd_101", pe = "_menuGroup_kxkvd_108", he = "_menuGroupHeader_kxkvd_113", be = "_menuGroupHeaderOpen_kxkvd_132", ke = "_menuGroupHeaderActive_kxkvd_143", _e = "_menuGroupIcon_kxkvd_147", Se = "_menuGroupLabel_kxkvd_156", Ge = "_menuGroupArrow_kxkvd_161", fe = "_menuSubList_kxkvd_168", ve = "_menuSubItem_kxkvd_175", Ie = "_menuItemOnPath_kxkvd_209", xe = "_menuSubItemPill_kxkvd_230", $e = "_menuSubItemActive_kxkvd_246", Ne = "_menuSubItemIcon_kxkvd_256", Oe = "_menuSubGroup_kxkvd_272", ye = "_menuSubGroupHeader_kxkvd_277", Ae = "_menuSubGroupHeaderOpen_kxkvd_304", He = "_menuSubGroupHeaderActive_kxkvd_314", Le = "_menuSubGroupLabel_kxkvd_331", we = "_main_kxkvd_351", r = {
|
|
9
|
+
shellWrap: re,
|
|
10
|
+
shell: ae,
|
|
11
|
+
productBanner: ue,
|
|
12
|
+
productBannerLabel: se,
|
|
13
|
+
productBannerName: ce,
|
|
14
|
+
productBannerCode: oe,
|
|
15
|
+
productBannerBack: ie,
|
|
16
|
+
sidebar: le,
|
|
17
|
+
sidebarHeader: de,
|
|
18
|
+
menuList: me,
|
|
19
|
+
menuGroup: pe,
|
|
20
|
+
menuGroupHeader: he,
|
|
21
|
+
menuGroupHeaderOpen: be,
|
|
22
|
+
menuGroupHeaderActive: ke,
|
|
23
|
+
menuGroupIcon: _e,
|
|
24
|
+
menuGroupLabel: Se,
|
|
25
|
+
menuGroupArrow: Ge,
|
|
26
|
+
menuSubList: fe,
|
|
27
|
+
menuSubItem: ve,
|
|
28
|
+
menuItemOnPath: Ie,
|
|
29
|
+
menuSubItemPill: xe,
|
|
30
|
+
menuSubItemActive: $e,
|
|
31
|
+
menuSubItemIcon: Ne,
|
|
32
|
+
menuSubGroup: Oe,
|
|
33
|
+
menuSubGroupHeader: ye,
|
|
34
|
+
menuSubGroupHeaderOpen: Ae,
|
|
35
|
+
menuSubGroupHeaderActive: He,
|
|
36
|
+
menuSubGroupLabel: Le,
|
|
37
|
+
main: we
|
|
38
|
+
}, f = "/lc", Be = /* @__PURE__ */ new Set(["apps", "designer", "db-import", "admin", "docs"]);
|
|
39
|
+
function Pe(n, a) {
|
|
40
|
+
if (!n.startsWith(f)) return null;
|
|
41
|
+
const c = n.slice(f.length).replace(/^\//, "").split("/").filter(Boolean);
|
|
42
|
+
return c[0] === "designer" && c[1] ? c[1] : c[0] && !Be.has(c[0]) ? c[0] : new URLSearchParams(a.startsWith("?") ? a.slice(1) : a).get("appCode") || null;
|
|
43
|
+
}
|
|
44
|
+
function ge(n) {
|
|
45
|
+
const a = `?appCode=${encodeURIComponent(n)}`;
|
|
46
|
+
return [
|
|
47
|
+
{ key: `${n}:overview`, label: "应用概览", icon: /* @__PURE__ */ e(C, {}), path: n },
|
|
48
|
+
{ key: `${n}:dashboard`, label: "仪表盘", icon: /* @__PURE__ */ e(D, {}), path: `${n}/dashboard` },
|
|
49
|
+
{ key: `${n}:designer`, label: "Schema 设计器", icon: /* @__PURE__ */ e(j, {}), path: `designer/${n}` },
|
|
50
|
+
{ key: `${n}:db-import`, label: "从数据库导入", icon: /* @__PURE__ */ e(K, {}), path: `db-import${a}` },
|
|
51
|
+
{ key: `${n}:ai`, label: "AI 建模", icon: /* @__PURE__ */ e(F, {}), path: `admin/ai${a}` },
|
|
52
|
+
{ key: `${n}:dicts`, label: "数据字典", icon: /* @__PURE__ */ e(z, {}), path: `admin/dicts${a}` },
|
|
53
|
+
{ key: `${n}:relations`, label: "实体关系", icon: /* @__PURE__ */ e(J, {}), path: `admin/relations${a}` },
|
|
54
|
+
{ key: `${n}:views`, label: "视图配置", icon: /* @__PURE__ */ e(Q, {}), path: `admin/views${a}` },
|
|
55
|
+
{ key: `${n}:pipelines`, label: "Pipeline", icon: /* @__PURE__ */ e(V, {}), path: `admin/pipelines${a}` },
|
|
56
|
+
{ key: `${n}:workflows`, label: "流程绑定", icon: /* @__PURE__ */ e(X, {}), path: `admin/workflows${a}` },
|
|
57
|
+
{ key: `${n}:permissions`, label: "权限矩阵", icon: /* @__PURE__ */ e(Y, {}), path: `admin/permissions${a}`, permission: "PERMISSION_MANAGE" },
|
|
58
|
+
{ key: `${n}:deployments`, label: "部署记录", icon: /* @__PURE__ */ e(Z, {}), path: `admin/deployments${a}` }
|
|
59
|
+
];
|
|
60
|
+
}
|
|
61
|
+
function Ee(n) {
|
|
62
|
+
const a = [
|
|
63
|
+
{ key: "apps", label: "应用列表", icon: /* @__PURE__ */ e(y, {}), path: "apps" }
|
|
64
|
+
];
|
|
65
|
+
return n && a.push({
|
|
66
|
+
key: n,
|
|
67
|
+
label: n,
|
|
68
|
+
icon: /* @__PURE__ */ e(y, {}),
|
|
69
|
+
children: ge(n)
|
|
70
|
+
}), [{ title: "应用", icon: /* @__PURE__ */ e(y, {}), items: a }];
|
|
71
|
+
}
|
|
72
|
+
function Me(n, a, o, c) {
|
|
73
|
+
if (!n.path) return !1;
|
|
74
|
+
const d = n.path.indexOf("?"), G = d >= 0 ? n.path.slice(0, d) : n.path;
|
|
75
|
+
return (c ? a === G : a === G || a.startsWith(`${G}/`)) ? d >= 0 ? new URLSearchParams(n.path.slice(d + 1)).get("appCode") === o : !0 : !1;
|
|
76
|
+
}
|
|
77
|
+
function Re(n, a, o, c) {
|
|
78
|
+
if (!a.startsWith(f)) return null;
|
|
79
|
+
const d = a.slice(f.length).replace(/^\//, ""), G = n.flatMap(
|
|
80
|
+
(b) => b.items.flatMap((m) => m.children ? [m, ...m.children] : [m])
|
|
81
|
+
);
|
|
82
|
+
for (const b of [!0, !1])
|
|
83
|
+
for (const m of G)
|
|
84
|
+
if (Me(m, d, c, b)) return m.key;
|
|
85
|
+
return null;
|
|
86
|
+
}
|
|
87
|
+
function Ke() {
|
|
88
|
+
const n = U(), { pathname: a, search: o } = q(), c = P((t) => t.currentUser), d = P((t) => t.permissionState), [G, b] = L(/* @__PURE__ */ new Set()), [m, A] = L(/* @__PURE__ */ new Set()), h = I(() => {
|
|
89
|
+
try {
|
|
90
|
+
const t = new URLSearchParams(o), i = t.get("product");
|
|
91
|
+
return i ? { code: i, name: t.get("productName") || i } : null;
|
|
92
|
+
} catch {
|
|
93
|
+
return null;
|
|
94
|
+
}
|
|
95
|
+
}, [o]), g = W(() => {
|
|
96
|
+
if (!h) return;
|
|
97
|
+
const t = new URLSearchParams();
|
|
98
|
+
t.set("product", h.code), h.name && t.set("productName", h.name), n(`/workspace?mode=product&${t.toString()}`);
|
|
99
|
+
}, [h, n]);
|
|
100
|
+
O(() => {
|
|
101
|
+
a.startsWith("/lc") || n(`/lc/apps${o || ""}`, { replace: !0 });
|
|
102
|
+
}, [a, o, n]);
|
|
103
|
+
const k = I(() => Pe(a, o), [a, o]), $ = I(() => Ee(k), [k]), v = I(
|
|
104
|
+
() => d === "failed" ? $ : ne($, c),
|
|
105
|
+
[$, c, d]
|
|
106
|
+
), p = I(
|
|
107
|
+
() => Re(v, a, o, k),
|
|
108
|
+
[v, a, o, k]
|
|
109
|
+
);
|
|
110
|
+
O(() => {
|
|
111
|
+
k && (b((t) => t.has("应用") ? t : new Set(t).add("应用")), A((t) => t.has(k) ? t : new Set(t).add(k)));
|
|
112
|
+
}, [k]), O(() => {
|
|
113
|
+
p && v.forEach((t) => {
|
|
114
|
+
t.items.some(
|
|
115
|
+
(u) => {
|
|
116
|
+
var s;
|
|
117
|
+
return u.key === p || ((s = u.children) == null ? void 0 : s.some((_) => _.key === p));
|
|
118
|
+
}
|
|
119
|
+
) && b(
|
|
120
|
+
(u) => u.has(t.title) ? u : new Set(u).add(t.title)
|
|
121
|
+
);
|
|
122
|
+
});
|
|
123
|
+
}, [p, v]);
|
|
124
|
+
const E = (t) => {
|
|
125
|
+
b((i) => {
|
|
126
|
+
const u = new Set(i);
|
|
127
|
+
return u.has(t) ? u.delete(t) : u.add(t), u;
|
|
128
|
+
});
|
|
129
|
+
}, M = (t) => {
|
|
130
|
+
A((i) => {
|
|
131
|
+
const u = new Set(i);
|
|
132
|
+
return u.has(t) ? u.delete(t) : u.add(t), u;
|
|
133
|
+
});
|
|
134
|
+
};
|
|
135
|
+
return /* @__PURE__ */ l("div", { className: r.shellWrap, children: [
|
|
136
|
+
h && /* @__PURE__ */ l("div", { className: r.productBanner, children: [
|
|
137
|
+
/* @__PURE__ */ e("span", { className: r.productBannerLabel, children: "📦 当前产品" }),
|
|
138
|
+
/* @__PURE__ */ e("span", { className: r.productBannerName, title: h.name, children: h.name }),
|
|
139
|
+
/* @__PURE__ */ e("span", { className: r.productBannerCode, children: h.code }),
|
|
140
|
+
/* @__PURE__ */ e("button", { type: "button", className: r.productBannerBack, onClick: g, children: "← 返回产品工作台" })
|
|
141
|
+
] }),
|
|
142
|
+
/* @__PURE__ */ l("div", { className: r.shell, children: [
|
|
143
|
+
/* @__PURE__ */ l("aside", { className: r.sidebar, children: [
|
|
144
|
+
/* @__PURE__ */ l("div", { className: r.sidebarHeader, children: [
|
|
145
|
+
/* @__PURE__ */ e(T, {}),
|
|
146
|
+
/* @__PURE__ */ e("span", { children: "研发工作台" })
|
|
147
|
+
] }),
|
|
148
|
+
/* @__PURE__ */ e(te, {}),
|
|
149
|
+
/* @__PURE__ */ e("nav", { className: r.menuList, children: v.map((t) => {
|
|
150
|
+
const i = G.has(t.title), u = p ? t.items.findIndex(
|
|
151
|
+
(s) => {
|
|
152
|
+
var _;
|
|
153
|
+
return s.key === p || ((_ = s.children) == null ? void 0 : _.some((x) => x.key === p));
|
|
154
|
+
}
|
|
155
|
+
) : -1;
|
|
156
|
+
return /* @__PURE__ */ l("div", { className: r.menuGroup, children: [
|
|
157
|
+
/* @__PURE__ */ l(
|
|
158
|
+
"div",
|
|
159
|
+
{
|
|
160
|
+
className: `${r.menuGroupHeader} ${i ? r.menuGroupHeaderOpen : ""} ${u >= 0 ? r.menuGroupHeaderActive : ""}`,
|
|
161
|
+
onClick: () => E(t.title),
|
|
162
|
+
children: [
|
|
163
|
+
/* @__PURE__ */ e("span", { className: r.menuGroupIcon, children: t.icon }),
|
|
164
|
+
/* @__PURE__ */ e("span", { className: r.menuGroupLabel, children: t.title }),
|
|
165
|
+
/* @__PURE__ */ e("span", { className: r.menuGroupArrow, children: i ? /* @__PURE__ */ e(w, {}) : /* @__PURE__ */ e(B, {}) })
|
|
166
|
+
]
|
|
167
|
+
}
|
|
168
|
+
),
|
|
169
|
+
i && /* @__PURE__ */ e("ul", { className: r.menuSubList, children: t.items.map((s, _) => {
|
|
170
|
+
const x = u >= 0 && _ <= u;
|
|
171
|
+
if (!s.children)
|
|
172
|
+
return /* @__PURE__ */ e(
|
|
173
|
+
"li",
|
|
174
|
+
{
|
|
175
|
+
className: `${r.menuSubItem} ${x ? r.menuItemOnPath : ""} ${p === s.key ? r.menuSubItemActive : ""}`,
|
|
176
|
+
onClick: () => s.path && n(`${f}/${s.path}`),
|
|
177
|
+
children: /* @__PURE__ */ l("div", { className: r.menuSubItemPill, children: [
|
|
178
|
+
/* @__PURE__ */ e("span", { className: r.menuSubItemIcon, children: s.icon }),
|
|
179
|
+
/* @__PURE__ */ e("span", { children: s.label })
|
|
180
|
+
] })
|
|
181
|
+
},
|
|
182
|
+
s.key
|
|
183
|
+
);
|
|
184
|
+
const N = m.has(s.key), H = u === _ ? s.children.findIndex((S) => S.key === p) : -1;
|
|
185
|
+
return /* @__PURE__ */ l(
|
|
186
|
+
"li",
|
|
187
|
+
{
|
|
188
|
+
className: `${r.menuSubGroup} ${x ? r.menuItemOnPath : ""}`,
|
|
189
|
+
children: [
|
|
190
|
+
/* @__PURE__ */ l(
|
|
191
|
+
"div",
|
|
192
|
+
{
|
|
193
|
+
className: `${r.menuSubGroupHeader} ${N ? r.menuSubGroupHeaderOpen : ""} ${u === _ ? r.menuSubGroupHeaderActive : ""}`,
|
|
194
|
+
onClick: () => M(s.key),
|
|
195
|
+
children: [
|
|
196
|
+
/* @__PURE__ */ e("span", { className: r.menuGroupIcon, children: s.icon }),
|
|
197
|
+
/* @__PURE__ */ e("span", { className: r.menuSubGroupLabel, children: s.label }),
|
|
198
|
+
/* @__PURE__ */ e("span", { className: r.menuGroupArrow, children: N ? /* @__PURE__ */ e(w, {}) : /* @__PURE__ */ e(B, {}) })
|
|
199
|
+
]
|
|
200
|
+
}
|
|
201
|
+
),
|
|
202
|
+
N && /* @__PURE__ */ e("ul", { className: r.menuSubList, children: s.children.map((S, R) => /* @__PURE__ */ e(
|
|
203
|
+
"li",
|
|
204
|
+
{
|
|
205
|
+
className: `${r.menuSubItem} ${H >= 0 && R <= H ? r.menuItemOnPath : ""} ${p === S.key ? r.menuSubItemActive : ""}`,
|
|
206
|
+
onClick: () => S.path && n(`${f}/${S.path}`),
|
|
207
|
+
children: /* @__PURE__ */ l("div", { className: r.menuSubItemPill, children: [
|
|
208
|
+
/* @__PURE__ */ e("span", { className: r.menuSubItemIcon, children: S.icon }),
|
|
209
|
+
/* @__PURE__ */ e("span", { children: S.label })
|
|
210
|
+
] })
|
|
211
|
+
},
|
|
212
|
+
S.key
|
|
213
|
+
)) })
|
|
214
|
+
]
|
|
215
|
+
},
|
|
216
|
+
s.key
|
|
217
|
+
);
|
|
218
|
+
}) })
|
|
219
|
+
] }, t.title);
|
|
220
|
+
}) })
|
|
221
|
+
] }),
|
|
222
|
+
/* @__PURE__ */ e("main", { className: r.main, children: /* @__PURE__ */ e(ee, {}) })
|
|
223
|
+
] })
|
|
224
|
+
] });
|
|
225
|
+
}
|
|
226
|
+
export {
|
|
227
|
+
Ke as default
|
|
228
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as n, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as N, useRef as _, useEffect as r, useCallback as h } from "react";
|
|
3
3
|
import { h as o } from "./history-BlrA1eaW.js";
|
|
4
|
-
import { C as A } from "./ChangeLogView-
|
|
4
|
+
import { C as A } from "./ChangeLogView-ChmYvz8Z.js";
|
|
5
5
|
const T = "_docs_3auja_12", p = "_bgLayer_3auja_59", v = "_bgGrid_3auja_70", y = "_navbar_3auja_87", f = "_navLeft_3auja_103", z = "_navBack_3auja_110", j = "_navBrand_3auja_132", C = "_navLogo_3auja_139", k = "_navTitle_3auja_154", L = "_navLink_3auja_164", I = "_layout_3auja_191", B = "_sidebar_3auja_202", S = "_sidebarInner_3auja_213", O = "_sidebarTitle_3auja_217", q = "_tocItem_3auja_227", P = "_tocActive_3auja_249", E = "_tocNum_3auja_260", D = "_content_3auja_275", G = "_section_3auja_285", K = "_secTitle_3auja_290", w = "_subTitle_3auja_301", M = "_lead_3auja_309", x = "_list_3auja_329", R = "_olist_3auja_360", Z = "_archLayer_3auja_397", F = "_archHead_3auja_412", W = "_archNum_3auja_420", H = "_archHeadText_3auja_432", Q = "_archLabel_3auja_439", U = "_archEn_3auja_446", V = "_archTagline_3auja_453", $ = "_callout_3auja_487", J = "_calloutBlue_3auja_488", Y = "_calloutGreen_3auja_489", X = "_calloutRed_3auja_490", ee = "_inlineCode_3auja_531", le = "_codeBlock_3auja_544", ne = "_tableWrap_3auja_560", ce = "_table_3auja_560", ae = "_tableKey_3auja_602", ie = "_tableIcon_3auja_607", te = "_statusDot_3auja_613", se = "_tone_pending_3auja_622", de = "_tone_running_3auja_626", re = "_tone_suspended_3auja_631", he = "_tone_done_3auja_636", oe = "_tone_failed_3auja_641", me = "_tone_cancelled_3auja_646", ge = "_markGood_3auja_652", ue = "_markBad_3auja_653", be = "_faqList_3auja_667", Ne = "_faqItem_3auja_673", _e = "_faqQ_3auja_687", Ae = "_faqA_3auja_694", Te = "_changelogEmbed_3auja_701", pe = "_changelogTip_3auja_709", ve = "_changelogLink_3auja_715", ye = "_docFooter_3auja_727", fe = "_backBtn_3auja_738", ze = "_docFooterText_3auja_761", l = {
|
|
6
6
|
docs: T,
|
|
7
7
|
bgLayer: p,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as t, jsx as n, Fragment as _ } from "react/jsx-runtime";
|
|
2
2
|
import { useState as i, useRef as D, useCallback as B, useEffect as N } from "react";
|
|
3
|
-
import { u as j } from "./ComponentDoc-
|
|
3
|
+
import { u as j } from "./ComponentDoc-D5Gbd6B_.js";
|
|
4
4
|
/* empty css */
|
|
5
|
-
import { l as F, c as G, a as z, b as K, p as W } from "./api-
|
|
5
|
+
import { l as F, c as G, a as z, b as K, p as W } from "./api-B0S5AhOe.js";
|
|
6
6
|
const L = "dev_brain_scenario";
|
|
7
7
|
function q() {
|
|
8
8
|
var M;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx as t, jsxs as l } from "react/jsx-runtime";
|
|
2
2
|
import { f as ie, r as q } from "./ctc-sso-DtJHC-2M.js";
|
|
3
|
-
import { r as ne, h as X, s as oe } from "./sso-user-
|
|
3
|
+
import { r as ne, h as X, s as oe } from "./sso-user-DaRbfrdM.js";
|
|
4
4
|
import { CheckCircleFilled as le, QuestionCircleOutlined as ce, CloseOutlined as me } from "@ant-design/icons";
|
|
5
5
|
import { message as P, Result as de, Button as D, Spin as G, Input as ue, Image as fe } from "antd";
|
|
6
6
|
import pe from "query-string";
|
|
7
7
|
import { useState as f, useRef as Y, useMemo as K, useCallback as w, useEffect as V } from "react";
|
|
8
8
|
import { useLocation as ge } from "react-router-dom";
|
|
9
9
|
import { h as W } from "./history-BlrA1eaW.js";
|
|
10
|
-
import { u as c, z as he, j as be, k as _e } from "./ComponentDoc-
|
|
10
|
+
import { u as c, z as he, j as be, k as _e } from "./ComponentDoc-D5Gbd6B_.js";
|
|
11
11
|
/* empty css */
|
|
12
12
|
import { b as ye } from "./mobile-client-O3yr9h6t.js";
|
|
13
|
-
import { a as ve, s as we } from "./send-default-agent-team-message-
|
|
13
|
+
import { a as ve, s as we } from "./send-default-agent-team-message-DOgtkW6m.js";
|
|
14
14
|
const Ne = 5e3, E = 9, Ce = 10 * 1024 * 1024, Se = /^image\//i, Ie = /\.(png|jpe?g|gif|bmp|webp)$/i;
|
|
15
15
|
function ke(a) {
|
|
16
16
|
return a.type && Se.test(a.type) ? !0 : Ie.test(a.name || "");
|