@yuku123/z-team-component 0.2.76 → 0.2.78
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-BJxIhIPc.js → ChangeLogView-_bRZ55Yi.js} +2 -2
- package/dist/{ComponentDoc-B-3eyp4p.js → ComponentDoc-Aw4QY8oI.js} +5 -5
- package/dist/{InvitationManagementPage-i3wrq0OA.js → InvitationManagementPage-Bv0ys--k.js} +1 -1
- package/dist/{OnboardingPage-iq9O9Epu.js → OnboardingPage-B7274ITW.js} +2 -2
- package/dist/{ScheduledTasks-MpIpBSW4.js → ScheduledTasks-cc8n9giN.js} +8 -8
- package/dist/{SystemShell-CWZiZk5U.js → SystemShell-CPGtmxXl.js} +5 -5
- package/dist/{api-BGGElt7Q.js → api-B2APc1an.js} +1 -1
- package/dist/{api-DPkUB1DA.js → api-CIhVblfa.js} +357 -356
- package/dist/{createWorkspaceWsHandler-C-FS738i.js → createWorkspaceWsHandler-BWP5S5X3.js} +6 -6
- package/dist/{index-CfCSq_SC.js → index-51d5011I.js} +2 -2
- package/dist/{index-CjS3Zp-B.js → index-62K6U_D_.js} +2 -2
- package/dist/{index-Cc6aOQLa.js → index-ACANAhdd.js} +3 -3
- package/dist/{index-WIsi8fln.js → index-B_LJRFsK.js} +73 -73
- package/dist/{index-DHDQGO4q.js → index-BgIheStI.js} +3 -3
- package/dist/{index-DJ6I-pUk.js → index-Bpi_ysgC.js} +3 -3
- package/dist/index-BwyN94l7.js +9567 -0
- package/dist/{index-BADGOdUu.js → index-BydWNuk5.js} +392 -392
- package/dist/{index-CCsPMzzt.js → index-C6FYNbSB.js} +2 -2
- package/dist/{index-BIIBDEQK.js → index-CNcX0oSU.js} +3 -3
- package/dist/{index-DxRqnvKU.js → index-CijskN6t.js} +4 -4
- package/dist/{index-Zx-BL-9D.js → index-Cvx6rrxD.js} +1 -1
- package/dist/{index-C5VkXrgj.js → index-Cwr5Slv1.js} +71 -71
- package/dist/{index-CPvy4SM_.js → index-CxFAICql.js} +17 -17
- package/dist/{index-OGpLvdxS.js → index-D2cy0jVs.js} +1 -1
- package/dist/{index-BbQ8wWN4.js → index-DGbL_CMP.js} +3 -3
- package/dist/{index-rPNKkWaw.js → index-DK70mOTz.js} +3 -3
- package/dist/{index-DeT_z9Dg.js → index-DT80Pwa_.js} +4 -4
- package/dist/{index-C6S3MIu4.js → index-DhDdFRHC.js} +2 -2
- package/dist/{index-C7ymoOiI.js → index-Dm3wmB0K.js} +2 -2
- package/dist/{index-C5QmTUp2.js → index-DvBDj0ul.js} +2 -2
- package/dist/{index-COhXbfib.js → index-DzS6-D3M.js} +1 -1
- package/dist/{index-B1jqrWPW.js → index-Xn84wLNu.js} +7 -7
- package/dist/index-_9zO-72Q.js +2908 -0
- package/dist/{index-BA3lZUmW.js → index-cdB5K3gx.js} +1 -1
- package/dist/{index-d5kr3WEM.js → index-nU-V276i.js} +4 -4
- package/dist/{index-C9YhDxMT.js → index-uF04Ucsi.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{instance-B9aQMplq.js → instance-CDmueqyu.js} +14 -14
- package/dist/{menuPermission-BR4aIUbf.js → menuPermission-CO2KgDX8.js} +3 -3
- package/dist/pages.js +3 -3
- package/dist/{personal-VG7XVvW-.js → personal-Bn3RLYB8.js} +2 -2
- package/dist/{schedule-Dt_ZRuce.js → schedule-CETzN_0H.js} +1 -1
- package/dist/{send-default-agent-team-message-DtkE1OO4.js → send-default-agent-team-message-CfVaEN2y.js} +1 -1
- package/dist/{sso-user-CFgbZoZ1.js → sso-user-ZUKv4XMX.js} +1 -1
- package/dist/{training-DeyqAiin.js → training-bxftgU55.js} +1 -1
- package/dist/{useAppStore-DQP0l22d.js → useAppStore-BBr_Fwsz.js} +1 -1
- package/dist/{webide-CkUCEvo0.js → webide-Cuj_Pvkk.js} +2630 -2627
- package/dist/z-team-component.css +1 -1
- package/package.json +1 -1
- package/dist/index-BDJCIA4p.js +0 -2882
- package/dist/index-BazxRXcl.js +0 -9419
|
@@ -3,8 +3,8 @@ import { useState as y, useMemo as d } from "react";
|
|
|
3
3
|
import { useNavigate as G, useLocation as k } from "react-router-dom";
|
|
4
4
|
import { CodeOutlined as L, DownOutlined as N, RightOutlined as O, AppstoreOutlined as v, TableOutlined as A, DatabaseOutlined as w, RobotOutlined as H, FunctionOutlined as M, ApartmentOutlined as W, EyeOutlined as C, BranchesOutlined as $, DeploymentUnitOutlined as p, SafetyCertificateOutlined as g } from "@ant-design/icons";
|
|
5
5
|
import R from "@yuku123/z-lc-component";
|
|
6
|
-
import { f as U, M as x } from "./menuPermission-
|
|
7
|
-
import { u as b } from "./useAppStore-
|
|
6
|
+
import { f as U, M as x } from "./menuPermission-CO2KgDX8.js";
|
|
7
|
+
import { u as b } from "./useAppStore-BBr_Fwsz.js";
|
|
8
8
|
const D = "_shell_1n5c7_7", E = "_sidebar_1n5c7_15", P = "_sidebarHeader_1n5c7_26", j = "_menuList_1n5c7_37", K = "_menuGroup_1n5c7_43", T = "_menuGroupHeader_1n5c7_47", B = "_menuGroupLabel_1n5c7_65", F = "_menuGroupArrow_1n5c7_69", q = "_menuSubList_1n5c7_74", z = "_menuSubItemWrap_1n5c7_80", J = "_menuSubItem_1n5c7_80", Q = "_menuSubItemActive_1n5c7_101", V = "_menuSubItemIcon_1n5c7_108", X = "_menuSubItemLabel_1n5c7_113", Y = "_main_1n5c7_118", t = {
|
|
9
9
|
shell: D,
|
|
10
10
|
sidebar: E,
|
|
@@ -2,9 +2,9 @@ import { jsxs as u, jsx as t } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as L, useMemo as p } from "react";
|
|
3
3
|
import { useNavigate as v, useLocation as A } from "react-router-dom";
|
|
4
4
|
import { DownOutlined as k, RightOutlined as w } from "@ant-design/icons";
|
|
5
|
-
import { P as W, R as $ } from "./index-
|
|
6
|
-
import { f as E, M as g } from "./menuPermission-
|
|
7
|
-
import { u as j } from "./useAppStore-
|
|
5
|
+
import { P as W, R as $ } from "./index-DvBDj0ul.js";
|
|
6
|
+
import { f as E, M as g } from "./menuPermission-CO2KgDX8.js";
|
|
7
|
+
import { u as j } from "./useAppStore-BBr_Fwsz.js";
|
|
8
8
|
const H = "_shell_1jjcx_7", M = "_sidebar_1jjcx_15", R = "_menuList_1jjcx_37", T = "_menuGroup_1jjcx_43", C = "_menuGroupHeader_1jjcx_47", P = "_menuGroupIcon_1jjcx_65", z = "_menuGroupLabel_1jjcx_70", K = "_menuGroupArrow_1jjcx_74", U = "_menuSubList_1jjcx_80", Z = "_menuSubItem_1jjcx_86", B = "_menuSubItemActive_1jjcx_103", D = "_menuSubItemIcon_1jjcx_110", O = "_menuSubItemLabel_1jjcx_115", q = "_menuSubItemWrap_1jjcx_119", F = "_main_1jjcx_123", J = "_empty_1jjcx_134", Q = "_emptyIcon_1jjcx_144", V = "_emptyText_1jjcx_149", n = {
|
|
9
9
|
shell: H,
|
|
10
10
|
sidebar: M,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as t, jsxs as l } from "react/jsx-runtime";
|
|
2
2
|
import { f as ie, r as z } from "./ctc-sso-DtJHC-2M.js";
|
|
3
|
-
import { r as ne, h as X, s as oe } from "./sso-user-
|
|
3
|
+
import { r as ne, h as X, s as oe } from "./sso-user-ZUKv4XMX.js";
|
|
4
4
|
import { CheckCircleFilled as le, QuestionCircleOutlined as ce, CloseOutlined as me } from "@ant-design/icons";
|
|
5
5
|
import { message as k, Result as de, Button as D, Spin as G, Input as ue, Image as fe } from "antd";
|
|
6
6
|
import pe from "query-string";
|
|
7
7
|
import { useState as f, useRef as Y, useMemo as K, useCallback as w, useEffect as V } from "react";
|
|
8
8
|
import { useLocation as ge } from "react-router-dom";
|
|
9
9
|
import { h as W } from "./history-BlrA1eaW.js";
|
|
10
|
-
import { l as he, d as be, e as _e } from "./api-
|
|
11
|
-
import { u as c } from "./useAppStore-
|
|
10
|
+
import { l as he, d as be, e as _e } from "./api-CIhVblfa.js";
|
|
11
|
+
import { u as c } from "./useAppStore-BBr_Fwsz.js";
|
|
12
12
|
/* empty css */
|
|
13
13
|
import { b as ye } from "./mobile-client-O3yr9h6t.js";
|
|
14
|
-
import { a as ve, s as we } from "./send-default-agent-team-message-
|
|
14
|
+
import { a as ve, s as we } from "./send-default-agent-team-message-CfVaEN2y.js";
|
|
15
15
|
const Ne = 5e3, E = 9, Ce = 10 * 1024 * 1024, Se = /^image\//i, Ie = /\.(png|jpe?g|gif|bmp|webp)$/i;
|
|
16
16
|
function Pe(a) {
|
|
17
17
|
return a.type && Se.test(a.type) ? !0 : Ie.test(a.name || "");
|
|
@@ -2,7 +2,7 @@ import { jsxs as r, jsx as n, Fragment as H } from "react/jsx-runtime";
|
|
|
2
2
|
import { BookOutlined as V, ReloadOutlined as Ne, SearchOutlined as fe, CloseOutlined as ge, CaretDownOutlined as ve, CaretRightOutlined as Te } from "@ant-design/icons";
|
|
3
3
|
import { message as Se, Spin as F } from "antd";
|
|
4
4
|
import { useState as k, useRef as M, useEffect as G, useCallback as C } from "react";
|
|
5
|
-
import { a as A, B as R, u as E } from "./api-
|
|
5
|
+
import { a as A, B as R, u as E } from "./api-CIhVblfa.js";
|
|
6
6
|
function B(a) {
|
|
7
7
|
const l = new URLSearchParams();
|
|
8
8
|
Object.entries(a).forEach(([N, s]) => {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { jsxs as d, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { r as q, f as le } from "./ctc-sso-DtJHC-2M.js";
|
|
3
|
-
import { r as de, h as K, s as X } from "./sso-user-
|
|
3
|
+
import { r as de, h as K, s as X } from "./sso-user-ZUKv4XMX.js";
|
|
4
4
|
import { ArrowLeftOutlined as ue, PlusOutlined as pe, LogoutOutlined as me, SearchOutlined as he } from "@ant-design/icons";
|
|
5
|
-
import { Spin as
|
|
5
|
+
import { Spin as O, Button as D, Input as fe, Empty as J, Tag as ge, message as be } from "antd";
|
|
6
6
|
import Q from "query-string";
|
|
7
7
|
import { useState as y, useRef as E, useEffect as w, useMemo as Y, useCallback as B } from "react";
|
|
8
8
|
import { useLocation as ke } from "react-router-dom";
|
|
9
9
|
import { h as A } from "./history-BlrA1eaW.js";
|
|
10
|
-
import { c as we, C as Se } from "./createWorkspaceWsHandler-
|
|
11
|
-
import { u as i, f as ye, T as ve } from "./useAppStore-
|
|
12
|
-
import { o as Te, q as Ne, v as je, w as Ce, e as ee } from "./api-
|
|
13
|
-
import { l as
|
|
10
|
+
import { c as we, C as Se } from "./createWorkspaceWsHandler-BWP5S5X3.js";
|
|
11
|
+
import { u as i, f as ye, T as ve } from "./useAppStore-BBr_Fwsz.js";
|
|
12
|
+
import { o as Te, q as Ne, v as je, w as Ce, e as ee } from "./api-CIhVblfa.js";
|
|
13
|
+
import { l as Pe, j as xe } from "./instance-CDmueqyu.js";
|
|
14
14
|
import { i as _e, s as Ee } from "./mobile-client-O3yr9h6t.js";
|
|
15
15
|
/* empty css */
|
|
16
|
-
import { s as Ae } from "./personal-
|
|
17
|
-
const
|
|
18
|
-
function Ie(o, s =
|
|
16
|
+
import { s as Ae } from "./personal-Bn3RLYB8.js";
|
|
17
|
+
const re = 2e4;
|
|
18
|
+
function Ie(o, s = re, n = globalThis) {
|
|
19
19
|
let c = null;
|
|
20
20
|
return {
|
|
21
21
|
start() {
|
|
@@ -50,12 +50,12 @@ function Le({ text: o, onRetry: s }) {
|
|
|
50
50
|
] });
|
|
51
51
|
}
|
|
52
52
|
const Me = "统一登录接入超时(可能是网络抖动或服务正在重启),请重新登录。";
|
|
53
|
-
function
|
|
53
|
+
function Oe({
|
|
54
54
|
loadingText: o,
|
|
55
55
|
timeoutText: s = Me,
|
|
56
56
|
onRetry: n,
|
|
57
|
-
timeoutMs: c =
|
|
58
|
-
className:
|
|
57
|
+
timeoutMs: c = re,
|
|
58
|
+
className: a
|
|
59
59
|
}) {
|
|
60
60
|
const [N, h] = y(!1), g = E(n);
|
|
61
61
|
return g.current = n, w(() => {
|
|
@@ -64,8 +64,8 @@ function Re({
|
|
|
64
64
|
c
|
|
65
65
|
);
|
|
66
66
|
return m.start(), () => m.stop();
|
|
67
|
-
}, [c]), N ? /* @__PURE__ */ d("div", { className:
|
|
68
|
-
/* @__PURE__ */ t(
|
|
67
|
+
}, [c]), N ? /* @__PURE__ */ d("div", { className: a, children: [
|
|
68
|
+
/* @__PURE__ */ t(O, { description: "" }),
|
|
69
69
|
/* @__PURE__ */ t(
|
|
70
70
|
Le,
|
|
71
71
|
{
|
|
@@ -73,9 +73,9 @@ function Re({
|
|
|
73
73
|
onRetry: () => g.current()
|
|
74
74
|
}
|
|
75
75
|
)
|
|
76
|
-
] }) : /* @__PURE__ */ t("div", { className:
|
|
76
|
+
] }) : /* @__PURE__ */ t("div", { className: a, children: /* @__PURE__ */ t(O, { description: o }) });
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function Re(o, s) {
|
|
79
79
|
w(() => {
|
|
80
80
|
if (o == null)
|
|
81
81
|
return;
|
|
@@ -94,18 +94,18 @@ function Oe(o, s) {
|
|
|
94
94
|
});
|
|
95
95
|
Ne(o, s, n), i.getState().loadRunningExecutions().catch(() => {
|
|
96
96
|
});
|
|
97
|
-
const
|
|
97
|
+
const a = i.getState(), { handler: N, dispose: h } = we({
|
|
98
98
|
projectId: o,
|
|
99
99
|
token: s,
|
|
100
|
-
updateExecution:
|
|
101
|
-
registerExecutionStart:
|
|
102
|
-
clearExecution:
|
|
103
|
-
applyExecutionCancelled:
|
|
104
|
-
addMessage:
|
|
105
|
-
addTaskMessage:
|
|
106
|
-
deleteMessage:
|
|
107
|
-
updateMessageReadStatus:
|
|
108
|
-
loadFileTree:
|
|
100
|
+
updateExecution: a.updateExecution,
|
|
101
|
+
registerExecutionStart: a.registerExecutionStart,
|
|
102
|
+
clearExecution: a.clearExecution,
|
|
103
|
+
applyExecutionCancelled: a.applyExecutionCancelled,
|
|
104
|
+
addMessage: a.addMessage,
|
|
105
|
+
addTaskMessage: a.addTaskMessage,
|
|
106
|
+
deleteMessage: a.deleteMessage,
|
|
107
|
+
updateMessageReadStatus: a.updateMessageReadStatus,
|
|
108
|
+
loadFileTree: a.loadFileTree
|
|
109
109
|
}), g = je(N);
|
|
110
110
|
return () => {
|
|
111
111
|
g(), h(), Ce(), c(), i.getState().setObserverStatus(null);
|
|
@@ -125,9 +125,9 @@ function te() {
|
|
|
125
125
|
});
|
|
126
126
|
}
|
|
127
127
|
function et() {
|
|
128
|
-
const o = ke(), [s, n] = y("list"), [c,
|
|
128
|
+
const o = ke(), [s, n] = y("list"), [c, a] = y("chat"), [N, h] = y("team"), [g, m] = y(""), [f, V] = y(!1), [ae, I] = y(!1), {
|
|
129
129
|
currentProject: v,
|
|
130
|
-
currentUser:
|
|
130
|
+
currentUser: R,
|
|
131
131
|
projects: L,
|
|
132
132
|
loading: ne,
|
|
133
133
|
members: W,
|
|
@@ -137,13 +137,13 @@ function et() {
|
|
|
137
137
|
updateCurrentUser: j,
|
|
138
138
|
requestChatScrollBottom: S
|
|
139
139
|
} = i(), k = Y(() => {
|
|
140
|
-
const e = Q.parse(o.search),
|
|
141
|
-
if (!
|
|
140
|
+
const e = Q.parse(o.search), r = String(e.projectId ?? e.project_id ?? "").trim();
|
|
141
|
+
if (!r)
|
|
142
142
|
return null;
|
|
143
|
-
const l = Number(
|
|
143
|
+
const l = Number(r);
|
|
144
144
|
return Number.isFinite(l) && l > 0 ? l : null;
|
|
145
|
-
}, [o.search]), F = E(!1), C = E(!1),
|
|
146
|
-
Z.current = k,
|
|
145
|
+
}, [o.search]), F = E(!1), C = E(!1), P = E(!1), Z = E(k);
|
|
146
|
+
Z.current = k, Re(v == null ? void 0 : v.id, oe), w(() => (document.body.classList.add("team-phone-workspace-route"), () => {
|
|
147
147
|
document.body.classList.remove("team-phone-workspace-route");
|
|
148
148
|
}), []), w(() => {
|
|
149
149
|
!_e(o.search) && Ee() || A.replace({
|
|
@@ -153,14 +153,14 @@ function et() {
|
|
|
153
153
|
}, [o.search]);
|
|
154
154
|
const se = B(
|
|
155
155
|
(e) => {
|
|
156
|
-
|
|
156
|
+
a("chat"), h(e), S(e, !0);
|
|
157
157
|
},
|
|
158
158
|
[S]
|
|
159
159
|
);
|
|
160
160
|
w(() => {
|
|
161
|
-
let e = !1,
|
|
161
|
+
let e = !1, r = 0;
|
|
162
162
|
const l = 100;
|
|
163
|
-
let
|
|
163
|
+
let x = !1, U = 0;
|
|
164
164
|
const M = 3, T = (b) => {
|
|
165
165
|
const u = i.getState().token;
|
|
166
166
|
if (Z.current != null) {
|
|
@@ -186,14 +186,14 @@ function et() {
|
|
|
186
186
|
if (e)
|
|
187
187
|
return;
|
|
188
188
|
let u = de();
|
|
189
|
-
if ((!u || !K(u)) && !
|
|
190
|
-
|
|
189
|
+
if ((!u || !K(u)) && !x) {
|
|
190
|
+
x = !0;
|
|
191
191
|
try {
|
|
192
192
|
const p = await le();
|
|
193
193
|
p.kind === "authenticated" ? u = p.user : p.kind === "unauthenticated" && (U += 1);
|
|
194
194
|
} catch {
|
|
195
195
|
} finally {
|
|
196
|
-
|
|
196
|
+
x = !1;
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
199
|
if (u && K(u)) {
|
|
@@ -204,7 +204,7 @@ function et() {
|
|
|
204
204
|
q();
|
|
205
205
|
return;
|
|
206
206
|
}
|
|
207
|
-
if (
|
|
207
|
+
if (r += 1, r >= l) {
|
|
208
208
|
q();
|
|
209
209
|
return;
|
|
210
210
|
}
|
|
@@ -217,23 +217,23 @@ function et() {
|
|
|
217
217
|
e = !0;
|
|
218
218
|
};
|
|
219
219
|
}, [j]), w(() => {
|
|
220
|
-
|
|
221
|
-
}, [
|
|
220
|
+
R && z();
|
|
221
|
+
}, [R, z]), w(() => {
|
|
222
222
|
var l;
|
|
223
|
-
if (!f || k != null || s === "project" ||
|
|
223
|
+
if (!f || k != null || s === "project" || P.current)
|
|
224
224
|
return;
|
|
225
|
-
const e = i.getState(),
|
|
226
|
-
|
|
225
|
+
const e = i.getState(), r = (l = e.currentProject) == null ? void 0 : l.id;
|
|
226
|
+
r == null || !e.expandedProjectIds.includes(String(r)) || (n("project"), a("chat"), h("team"), S("team", !0));
|
|
227
227
|
}, [f, k, s, S]);
|
|
228
228
|
const ce = B(
|
|
229
229
|
async (e) => {
|
|
230
|
-
|
|
230
|
+
P.current = !1, I(!0);
|
|
231
231
|
try {
|
|
232
|
-
await H(e), n("project"),
|
|
233
|
-
const
|
|
234
|
-
|
|
235
|
-
String(
|
|
236
|
-
|
|
232
|
+
await H(e), n("project"), a("chat"), h("team");
|
|
233
|
+
const r = i.getState();
|
|
234
|
+
r.currentProject && await r.refreshProjectPanels(
|
|
235
|
+
String(r.currentProject.id),
|
|
236
|
+
r.projectSwitchSeq,
|
|
237
237
|
!1
|
|
238
238
|
), S("team", !0);
|
|
239
239
|
} finally {
|
|
@@ -246,15 +246,15 @@ function et() {
|
|
|
246
246
|
var M;
|
|
247
247
|
if (!f || k == null || F.current || C.current)
|
|
248
248
|
return;
|
|
249
|
-
const e = k == null ? "" : String(k),
|
|
250
|
-
if (String(((M =
|
|
251
|
-
F.current = !0, te(),
|
|
249
|
+
const e = k == null ? "" : String(k), r = i.getState();
|
|
250
|
+
if (String(((M = r.currentProject) == null ? void 0 : M.id) ?? "") === e && r.expandedProjectIds.includes(e)) {
|
|
251
|
+
F.current = !0, te(), P.current = !1, n("project"), a("chat"), h("team"), i.getState().loadMessages().catch(() => {
|
|
252
252
|
});
|
|
253
253
|
return;
|
|
254
254
|
}
|
|
255
255
|
let l = !1;
|
|
256
256
|
C.current = !0, I(!0);
|
|
257
|
-
const
|
|
257
|
+
const x = async () => {
|
|
258
258
|
const T = Date.now() + 4e3;
|
|
259
259
|
for (; Date.now() < T; ) {
|
|
260
260
|
if (l)
|
|
@@ -267,7 +267,7 @@ function et() {
|
|
|
267
267
|
};
|
|
268
268
|
return (async () => {
|
|
269
269
|
try {
|
|
270
|
-
if (await
|
|
270
|
+
if (await x(), l)
|
|
271
271
|
return;
|
|
272
272
|
let {
|
|
273
273
|
token: T,
|
|
@@ -275,20 +275,20 @@ function et() {
|
|
|
275
275
|
expandProject: b
|
|
276
276
|
} = i.getState(), u = _.find((p) => p.id === e);
|
|
277
277
|
if (!u) {
|
|
278
|
-
const p = await
|
|
278
|
+
const p = await Pe(e, T);
|
|
279
279
|
if (l)
|
|
280
280
|
return;
|
|
281
281
|
if (p.status === "NOT_FOUND" || !p.scenarioInstance) {
|
|
282
282
|
be.info("无此工程");
|
|
283
283
|
return;
|
|
284
284
|
}
|
|
285
|
-
if (u = await
|
|
285
|
+
if (u = await xe(e, T), l)
|
|
286
286
|
return;
|
|
287
287
|
}
|
|
288
288
|
if (l || !u)
|
|
289
289
|
return;
|
|
290
290
|
if (F.current = !0, await b(u), !l) {
|
|
291
|
-
|
|
291
|
+
P.current = !1, n("project"), a("chat"), h("team"), te();
|
|
292
292
|
const p = i.getState();
|
|
293
293
|
p.currentProject && await p.refreshProjectPanels(
|
|
294
294
|
String(p.currentProject.id),
|
|
@@ -307,13 +307,13 @@ function et() {
|
|
|
307
307
|
const $ = Y(() => {
|
|
308
308
|
const e = g.trim().toLowerCase();
|
|
309
309
|
return e ? L.filter(
|
|
310
|
-
(
|
|
310
|
+
(r) => r.name.toLowerCase().includes(e) || (r.scenario_name ?? "").toLowerCase().includes(e)
|
|
311
311
|
) : L;
|
|
312
312
|
}, [g, L]), ie = B(() => {
|
|
313
|
-
|
|
313
|
+
P.current = !0, n("list"), a("chat");
|
|
314
314
|
}, []);
|
|
315
|
-
return !f || !
|
|
316
|
-
|
|
315
|
+
return !f || !R ? /* @__PURE__ */ t(
|
|
316
|
+
Oe,
|
|
317
317
|
{
|
|
318
318
|
className: "phone-workspace phone-workspace-loading",
|
|
319
319
|
loadingText: "正在接入 4A 统一登录…",
|
|
@@ -335,7 +335,7 @@ function et() {
|
|
|
335
335
|
"img",
|
|
336
336
|
{
|
|
337
337
|
src: We,
|
|
338
|
-
alt: "Z-
|
|
338
|
+
alt: "Z-OPC",
|
|
339
339
|
className: "phone-workspace-logo",
|
|
340
340
|
onClick: () => A.push("/welcome"),
|
|
341
341
|
style: { cursor: "pointer" }
|
|
@@ -347,7 +347,7 @@ function et() {
|
|
|
347
347
|
className: "phone-workspace-brand",
|
|
348
348
|
onClick: () => A.push("/welcome"),
|
|
349
349
|
style: { cursor: "pointer" },
|
|
350
|
-
children: "Z-
|
|
350
|
+
children: "Z-OPC"
|
|
351
351
|
}
|
|
352
352
|
) : /* @__PURE__ */ t("span", { className: "phone-workspace-project-name", children: (v == null ? void 0 : v.name) ?? "工程" }) }),
|
|
353
353
|
/* @__PURE__ */ d("div", { className: "phone-workspace-header-actions", children: [
|
|
@@ -385,14 +385,14 @@ function et() {
|
|
|
385
385
|
onChange: (e) => m(e.target.value)
|
|
386
386
|
}
|
|
387
387
|
) }),
|
|
388
|
-
ne && L.length === 0 ? /* @__PURE__ */ t("div", { className: "phone-workspace-list-loading", children: /* @__PURE__ */ t(
|
|
388
|
+
ne && L.length === 0 ? /* @__PURE__ */ t("div", { className: "phone-workspace-list-loading", children: /* @__PURE__ */ t(O, { description: "加载项目…" }) }) : $.length === 0 ? /* @__PURE__ */ t(
|
|
389
389
|
J,
|
|
390
390
|
{
|
|
391
391
|
description: g ? "无匹配项目" : "暂无项目",
|
|
392
392
|
className: "phone-workspace-empty"
|
|
393
393
|
}
|
|
394
394
|
) : /* @__PURE__ */ t("ul", { className: "phone-project-list", children: $.map((e) => {
|
|
395
|
-
const
|
|
395
|
+
const r = ye(
|
|
396
396
|
e.created_at
|
|
397
397
|
);
|
|
398
398
|
return /* @__PURE__ */ t("li", { children: /* @__PURE__ */ d(
|
|
@@ -406,9 +406,9 @@ function et() {
|
|
|
406
406
|
children: [
|
|
407
407
|
/* @__PURE__ */ d("div", { className: "phone-project-item-main", children: [
|
|
408
408
|
/* @__PURE__ */ t("span", { className: "phone-project-item-name", children: e.name }),
|
|
409
|
-
e.scenario_name ||
|
|
409
|
+
e.scenario_name || r ? /* @__PURE__ */ d("div", { className: "phone-project-item-meta", children: [
|
|
410
410
|
e.scenario_name ? /* @__PURE__ */ t("span", { className: "phone-project-item-scenario", children: e.scenario_name }) : null,
|
|
411
|
-
|
|
411
|
+
r ? /* @__PURE__ */ t("span", { className: "phone-project-item-time", children: r }) : null
|
|
412
412
|
] }) : null
|
|
413
413
|
] }),
|
|
414
414
|
/* @__PURE__ */ t(
|
|
@@ -439,7 +439,7 @@ function et() {
|
|
|
439
439
|
{
|
|
440
440
|
type: "button",
|
|
441
441
|
className: c === "members" ? "phone-toolbar-tab phone-toolbar-members phone-toolbar-active" : "phone-toolbar-tab phone-toolbar-members",
|
|
442
|
-
onClick: () =>
|
|
442
|
+
onClick: () => a("members"),
|
|
443
443
|
children: [
|
|
444
444
|
"成员 (",
|
|
445
445
|
W.length,
|
|
@@ -471,7 +471,7 @@ function et() {
|
|
|
471
471
|
}
|
|
472
472
|
) }) })
|
|
473
473
|
] }) }),
|
|
474
|
-
|
|
474
|
+
ae ? /* @__PURE__ */ t("div", { className: "phone-workspace-overlay", children: /* @__PURE__ */ t(O, { description: "正在打开工程…" }) }) : null,
|
|
475
475
|
/* @__PURE__ */ t(ve, {})
|
|
476
476
|
] });
|
|
477
477
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsxs as n, jsx as e, Fragment as Ke } from "react/jsx-runtime";
|
|
2
|
-
import { r as Tm, h as km, s as Sm } from "./sso-user-
|
|
2
|
+
import { r as Tm, h as km, s as Sm } from "./sso-user-ZUKv4XMX.js";
|
|
3
3
|
import { PlusOutlined as Bt, SaveOutlined as Yn, EditOutlined as An, DeleteOutlined as qt, ControlOutlined as Er, FolderOpenOutlined as os, ReloadOutlined as kt, RobotOutlined as ca, ProfileOutlined as Fd, MessageOutlined as eo, SettingOutlined as dl, ToolOutlined as Ta, ApiOutlined as to, ClusterOutlined as xm, InfoCircleOutlined as Rn, CaretDownOutlined as di, CaretRightOutlined as ui, FolderOutlined as ul, ExperimentOutlined as Hd, CheckCircleOutlined as ml, SearchOutlined as ta, CodeOutlined as $o, PlayCircleOutlined as mi, FormOutlined as jd, CopyOutlined as Ni, AppstoreOutlined as es, NotificationOutlined as Im, CloseOutlined as Ci, ThunderboltOutlined as qa, SyncOutlined as Ud, CloseCircleOutlined as hi, FieldTimeOutlined as Am, DownOutlined as Dl, RightOutlined as pi, RollbackOutlined as Dr, TagOutlined as Gd, EllipsisOutlined as Wd, CheckOutlined as Eo, UserAddOutlined as Zs, DatabaseOutlined as no, CloudSyncOutlined as Lm, FileTextOutlined as ao, SwapOutlined as $m, CloudUploadOutlined as Em, FileMarkdownOutlined as Dm, BellOutlined as Rm, RocketOutlined as Om, SendOutlined as Do, LeftOutlined as Pm, CalendarOutlined as zm, WarningOutlined as Rr, TeamOutlined as Or, SafetyCertificateOutlined as Mm, MinusCircleOutlined as lo, PlusCircleOutlined as Pr, WarningFilled as Bm, CheckCircleFilled as qd, CloseCircleFilled as Vd, NodeIndexOutlined as ei, FileImageOutlined as Yd, BookOutlined as Kd, BranchesOutlined as Jd, ExclamationCircleOutlined as zr, ArrowLeftOutlined as Qd, BulbOutlined as Fm, FileSearchOutlined as Ro, UpOutlined as Hm, LoadingOutlined as Oo, ExclamationCircleFilled as jm, ExportOutlined as Um, StarFilled as Po, StarOutlined as Gm, EnterOutlined as Wm, EyeOutlined as wi, ClockCircleOutlined as Xd, BarChartOutlined as Zd, TableOutlined as qm, ShareAltOutlined as Vm, UndoOutlined as Ym, PictureOutlined as Km, LaptopOutlined as Jm, UserOutlined as Mr, DesktopOutlined as Qm, LockOutlined as Xm, StopOutlined as Zm, MenuFoldOutlined as eh, LogoutOutlined as th, MonitorOutlined as nh, CodeSandboxOutlined as ah } from "@ant-design/icons";
|
|
4
4
|
import { Form as Ve, Space as Ye, Input as me, Button as C, Typography as ft, Card as ea, Empty as Lt, Table as $t, Modal as et, Divider as Wn, Select as Be, InputNumber as Mn, Switch as _n, message as m, Tooltip as ge, Tag as H, Spin as ct, Drawer as Cn, Tabs as Nt, Alert as ln, Radio as zn, Collapse as rn, Popconfirm as an, DatePicker as Hn, Row as Br, Col as ra, Statistic as mn, Skeleton as ti, Dropdown as Ti, Descriptions as It, List as ja, Layout as eu, Tree as tu, Checkbox as sa, Steps as lh, Upload as sh, Progress as so, Image as nu, Badge as qn, AutoComplete as ih, Breadcrumb as Mi, Avatar as rh } from "antd";
|
|
5
5
|
import { useState as i, useEffect as xe, useCallback as ie, useMemo as $e, useRef as Pt, useLayoutEffect as au } from "react";
|
|
6
6
|
import { h as Rl } from "./history-BlrA1eaW.js";
|
|
7
|
-
import { h as lu, G as oh } from "./schedule-
|
|
8
|
-
import ch from "./index-
|
|
9
|
-
import { c as dh, d as uh, e as io, g as su, h as mh, i as is, j as Bi, k as hh, l as ph, r as gh, u as fh, m as yh, n as _h, f as vh, o as bh, p as Nh, v as Ch, q as wh, t as Th, w as kh, x as Sh, y as xh, z as Ih, A as Ah, B as Lh, C as $h, D as Fr, E as iu, F as Eh, G as Dh, H as Rh, I as Oh, J as Ph, K as zo, L as zh, M as Mh, N as Mo, O as gi, Q as Bh, R as Fh, U as Hh, V as jh, W as Uh, X as Gh, Y as Wh, Z as qh, _ as Vh, $ as Yh, a0 as Kh, a1 as Jh, a2 as Qh, a3 as Xh, a4 as Zh, a5 as ep, a6 as tp, a7 as np, a8 as ap, a9 as lp, aa as sp, ab as ip, ac as Ne, ad as tn, ae as Xe, af as cl, ag as ru, ah as ou, ai as Hr, aj as La, ak as Dt, al as Va, am as il, an as rp, ao as op, ap as pa, aq as ro, ar as cp, as as dp, at as up, au as mp, av as hp, aw as pp, ax as gp, ay as fp, az as yp, aA as _p, aB as vp, aC as bp, aD as Np, aE as Cp, aF as wp, aG as Tp, aH as Bo, aI as kp, P as Sp, S as xp } from "./webide-
|
|
10
|
-
import { a as dt, f as Rt, B as Ct, u as _t,
|
|
11
|
-
import { u as xt } from "./useAppStore-
|
|
7
|
+
import { h as lu, G as oh } from "./schedule-CETzN_0H.js";
|
|
8
|
+
import ch from "./index-Cvx6rrxD.js";
|
|
9
|
+
import { c as dh, d as uh, e as io, g as su, h as mh, i as is, j as Bi, k as hh, l as ph, r as gh, u as fh, m as yh, n as _h, f as vh, o as bh, p as Nh, v as Ch, q as wh, t as Th, w as kh, x as Sh, y as xh, z as Ih, A as Ah, B as Lh, C as $h, D as Fr, E as iu, F as Eh, G as Dh, H as Rh, I as Oh, J as Ph, K as zo, L as zh, M as Mh, N as Mo, O as gi, Q as Bh, R as Fh, U as Hh, V as jh, W as Uh, X as Gh, Y as Wh, Z as qh, _ as Vh, $ as Yh, a0 as Kh, a1 as Jh, a2 as Qh, a3 as Xh, a4 as Zh, a5 as ep, a6 as tp, a7 as np, a8 as ap, a9 as lp, aa as sp, ab as ip, ac as Ne, ad as tn, ae as Xe, af as cl, ag as ru, ah as ou, ai as Hr, aj as La, ak as Dt, al as Va, am as il, an as rp, ao as op, ap as pa, aq as ro, ar as cp, as as dp, at as up, au as mp, av as hp, aw as pp, ax as gp, ay as fp, az as yp, aA as _p, aB as vp, aC as bp, aD as Np, aE as Cp, aF as wp, aG as Tp, aH as Bo, aI as kp, P as Sp, S as xp } from "./webide-Cuj_Pvkk.js";
|
|
10
|
+
import { a as dt, f as Rt, B as Ct, u as _t, b6 as oo, b7 as Ip, t as st, b8 as Ap, b9 as Lp, as as $p, ba as Ep, k as $n, bb as Dp, aL as Rp, bc as Op, bd as Fo, be as Pp, bf as zp, bg as Mp, aC as da, bh as Bp, i as cs, ao as ni, bi as ps, bj as Fi, bk as zl, bl as Ho, bm as Fp, bn as Hp, bo as jp, bp as Up, bq as Gp, br as Wp, bs as qp, bt as Vp, bu as Yp, bv as Kp, bw as Jp, bx as Qp, by as jo, bz as Xp, bA as Uo, bB as Go, bC as Zp, bD as eg, bE as tg, bF as ng, bG as ag, bH as lg, y as cu, a3 as Wo, bI as co, bJ as uo, bK as ai, az as sg, bL as ig, bM as rg, bN as og, bO as cg, bP as dg, bQ as ug, bR as mg, bS as hg, bT as pg, bU as gg, bV as fg, bW as yg, bX as _g, bY as du, bZ as vg, b_ as bg, e as Ng } from "./api-CIhVblfa.js";
|
|
11
|
+
import { u as xt } from "./useAppStore-BBr_Fwsz.js";
|
|
12
12
|
/* empty css */
|
|
13
|
-
import { A as uu, B as mu, C as hu, D as pu, E as Cg, F as gu, g as qo, f as wg, u as Vo, h as Hi, i as Tg, s as kg } from "./personal-
|
|
13
|
+
import { A as uu, B as mu, C as hu, D as pu, E as Cg, F as gu, g as qo, f as wg, u as Vo, h as Hi, i as Tg, s as kg } from "./personal-Bn3RLYB8.js";
|
|
14
14
|
import { ListTable as cn, EmptyState as Sg } from "@yuku123/z-frontend-common/ui";
|
|
15
15
|
import pt from "dayjs";
|
|
16
16
|
import { s as lt } from "./index.module-UI0iz8K0.js";
|
|
@@ -20749,8 +20749,8 @@ function US() {
|
|
|
20749
20749
|
P();
|
|
20750
20750
|
}, [P]);
|
|
20751
20751
|
const x = (V) => {
|
|
20752
|
-
h(V), b(null), v(""), N("Z-
|
|
20753
|
-
`Z-
|
|
20752
|
+
h(V), b(null), v(""), N("Z-OPC 渠道测试"), L(
|
|
20753
|
+
`Z-OPC 消息渠道测试(运维配置 · ${(/* @__PURE__ */ new Date()).toLocaleString()})`
|
|
20754
20754
|
);
|
|
20755
20755
|
}, w = async () => {
|
|
20756
20756
|
if (o) {
|
|
@@ -35075,7 +35075,7 @@ function Sz() {
|
|
|
35075
35075
|
/* @__PURE__ */ n("div", { style: fz, children: [
|
|
35076
35076
|
/* @__PURE__ */ e("div", { style: yz }),
|
|
35077
35077
|
/* @__PURE__ */ e("span", { style: _z, children: "模版配置" }),
|
|
35078
|
-
/* @__PURE__ */ e("span", { style: vz, children: "统一管理 Z-
|
|
35078
|
+
/* @__PURE__ */ e("span", { style: vz, children: "统一管理 Z-OPC 中已配置的定时任务模版" })
|
|
35079
35079
|
] }),
|
|
35080
35080
|
/* @__PURE__ */ n("div", { style: bz, children: [
|
|
35081
35081
|
/* @__PURE__ */ e(Rn, { style: { color: "#4285f4", marginTop: 2 } }),
|
|
@@ -37306,22 +37306,22 @@ const qs = {
|
|
|
37306
37306
|
global: {
|
|
37307
37307
|
title: "全局指标",
|
|
37308
37308
|
menuKey: "statistics-global",
|
|
37309
|
-
shareTitle: "Z-
|
|
37309
|
+
shareTitle: "Z-OPC 全局指标"
|
|
37310
37310
|
},
|
|
37311
37311
|
scenario: {
|
|
37312
37312
|
title: "场景指标-多日统计",
|
|
37313
37313
|
menuKey: "statistics-scenario",
|
|
37314
|
-
shareTitle: "Z-
|
|
37314
|
+
shareTitle: "Z-OPC 场景指标-多日统计"
|
|
37315
37315
|
},
|
|
37316
37316
|
personal: {
|
|
37317
37317
|
title: "个人指标",
|
|
37318
37318
|
menuKey: "statistics-personal",
|
|
37319
|
-
shareTitle: "Z-
|
|
37319
|
+
shareTitle: "Z-OPC 个人指标"
|
|
37320
37320
|
},
|
|
37321
37321
|
tech: {
|
|
37322
37322
|
title: "技术指标",
|
|
37323
37323
|
menuKey: "statistics-tech",
|
|
37324
|
-
shareTitle: "Z-
|
|
37324
|
+
shareTitle: "Z-OPC 技术指标"
|
|
37325
37325
|
}
|
|
37326
37326
|
};
|
|
37327
37327
|
function Vs({
|
|
@@ -41921,13 +41921,13 @@ function Q8({
|
|
|
41921
41921
|
"img",
|
|
41922
41922
|
{
|
|
41923
41923
|
src: g8,
|
|
41924
|
-
alt: "Z-
|
|
41924
|
+
alt: "Z-OPC",
|
|
41925
41925
|
className: Xt.bannerLogo
|
|
41926
41926
|
}
|
|
41927
41927
|
),
|
|
41928
41928
|
/* @__PURE__ */ n("div", { className: Xt.bannerBrand, children: [
|
|
41929
|
-
/* @__PURE__ */ e("span", { className: Xt.bannerProduct, children: "Z-
|
|
41930
|
-
/* @__PURE__ */ e("span", { className: Xt.bannerSubtitle, children: "运营工作台" })
|
|
41929
|
+
/* @__PURE__ */ e("span", { className: Xt.bannerProduct, children: "Z-OPC" }),
|
|
41930
|
+
/* @__PURE__ */ e("span", { className: Xt.bannerSubtitle, children: "一人公司基建 · 运营工作台" })
|
|
41931
41931
|
] })
|
|
41932
41932
|
] }),
|
|
41933
41933
|
/* @__PURE__ */ n("div", { className: Xt.bannerRight, children: [
|
|
@@ -3,7 +3,7 @@ import { useNavigate as X, useParams as me, useLocation as ye, useRoutes as ge }
|
|
|
3
3
|
import { useState as m, useEffect as M, useMemo as be } from "react";
|
|
4
4
|
import { RocketOutlined as fe, AppstoreOutlined as ce, CheckCircleOutlined as W, PlayCircleOutlined as K, CloseCircleOutlined as Z, BellOutlined as oe, BulbOutlined as ee, EditOutlined as _e, CloudUploadOutlined as we, CopyOutlined as ve, DeleteOutlined as Ie, ReloadOutlined as te, PlusOutlined as re, ArrowLeftOutlined as Ce, SaveOutlined as le, ShopOutlined as de, StarFilled as Te, CloudDownloadOutlined as ke, DashboardOutlined as xe, InfoCircleOutlined as Pe } from "@ant-design/icons";
|
|
5
5
|
import { Typography as j, Row as q, Col as R, Card as E, Statistic as N, Table as Oe, Tag as T, Form as b, Space as D, Button as u, Popconfirm as pe, Drawer as V, Input as A, Select as H, message as d, Tabs as Ae, Descriptions as C, Alert as Se, Switch as Re, Spin as De } from "antd";
|
|
6
|
-
import { r as _ } from "./ComponentDoc-
|
|
6
|
+
import { r as _ } from "./ComponentDoc-Aw4QY8oI.js";
|
|
7
7
|
import { ListTable as Y } from "@yuku123/z-frontend-common/ui";
|
|
8
8
|
const z = (r) => `script-admin/scripts/${encodeURIComponent(r)}`, P = {
|
|
9
9
|
list: () => _.get("script-admin/scripts"),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as d, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useState as r, useCallback as c } from "react";
|
|
3
|
-
import { S as C, T as N, P as I } from "./webide-
|
|
4
|
-
import { P as W, S as H, C as $, E as B, a as E, W as h, b, T as j, c as K } from "./ScheduledTasks-
|
|
5
|
-
import { p as q } from "./index-
|
|
3
|
+
import { S as C, T as N, P as I } from "./webide-Cuj_Pvkk.js";
|
|
4
|
+
import { P as W, S as H, C as $, E as B, a as E, W as h, b, T as j, c as K } from "./ScheduledTasks-cc8n9giN.js";
|
|
5
|
+
import { p as q } from "./index-BwyN94l7.js";
|
|
6
6
|
function M({
|
|
7
7
|
view: s,
|
|
8
8
|
agents: o,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as c, jsxs as _ } from "react/jsx-runtime";
|
|
2
|
-
import { i as $, t as x, p as O, c as b, b as v } from "./api-
|
|
2
|
+
import { i as $, t as x, p as O, c as b, b as v } from "./api-CIhVblfa.js";
|
|
3
3
|
import { CheckCircleFilled as F } 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 j, 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 y } from "./history-BlrA1eaW.js";
|
|
9
|
-
import { l as Z, j as z, f as H, b as L, p as M } from "./instance-
|
|
10
|
-
import { u as w } from "./useAppStore-
|
|
9
|
+
import { l as Z, j as z, f as H, b as L, p as M } from "./instance-CDmueqyu.js";
|
|
10
|
+
import { u as w } from "./useAppStore-BBr_Fwsz.js";
|
|
11
11
|
import { b as N } from "./mobile-client-O3yr9h6t.js";
|
|
12
12
|
function ct() {
|
|
13
13
|
const m = W(), p = B.parse(m.search), o = String(
|
|
@@ -3,16 +3,16 @@ import { SearchOutlined as Ie, ReloadOutlined as Ne, PlusOutlined as xe, ArrowUp
|
|
|
3
3
|
import { Input as K, Select as ae, Button as M, Modal as ve, Space as qe, Tooltip as oe, message as P, Tag as H, Popconfirm as ke, Spin as Xe, Empty as Ke, AutoComplete as st, Segmented as Bt, TreeSelect as et, Descriptions as ne, InputNumber as Fe, Drawer as cl, Tabs as Mt, Switch as zt, Radio as yt, Tree as ul, Table as Oe } from "antd";
|
|
4
4
|
import { ListTable as Ae, DEFAULT_PAGINATION as hl } from "@yuku123/z-frontend-common/ui";
|
|
5
5
|
import { useState as o, useCallback as de, useEffect as ce, useMemo as pe, useRef as Ft } from "react";
|
|
6
|
-
import { f as Ut, a as Gt, b as ct, c as ut, s as vt, d as ml, e as pl, g as tt, h as gl, i as yl, j as vl, k as jt, l as ft, m as fl, n as wl, o as Cl, r as Wt, p as Ht, q as bl, t as wt, u as Il, v as ht, w as mt, x as xl, y as Tl, z as Nl, A as kl, B as Ct, C as Sl, D as _l, E as Al, F as El, G as Dl, H as bt, I as Rl, J as Ll, K as $l, L as Pl, M as Ol, N as Bl, O as Ml, P as It, Q as zl, R as Fl, S as Ul, T as Gl, U as jl } from "./training-
|
|
7
|
-
import { u as Ce } from "./useAppStore-
|
|
6
|
+
import { f as Ut, a as Gt, b as ct, c as ut, s as vt, d as ml, e as pl, g as tt, h as gl, i as yl, j as vl, k as jt, l as ft, m as fl, n as wl, o as Cl, r as Wt, p as Ht, q as bl, t as wt, u as Il, v as ht, w as mt, x as xl, y as Tl, z as Nl, A as kl, B as Ct, C as Sl, D as _l, E as Al, F as El, G as Dl, H as bt, I as Rl, J as Ll, K as $l, L as Pl, M as Ol, N as Bl, O as Ml, P as It, Q as zl, R as Fl, S as Ul, T as Gl, U as jl } from "./training-bxftgU55.js";
|
|
7
|
+
import { u as Ce } from "./useAppStore-BBr_Fwsz.js";
|
|
8
8
|
import { s as r } from "./index.module-UI0iz8K0.js";
|
|
9
9
|
import Wl from "dayjs";
|
|
10
10
|
import xt from "react-markdown";
|
|
11
11
|
import Tt from "remark-gfm";
|
|
12
12
|
import { h as be } from "./index.module-CAa-2T7m.js";
|
|
13
13
|
import { M as Hl } from "./index-CUVdeb8y.js";
|
|
14
|
-
import { ao as Kl } from "./api-
|
|
15
|
-
import { h as ql } from "./schedule-
|
|
14
|
+
import { ao as Kl } from "./api-CIhVblfa.js";
|
|
15
|
+
import { h as ql } from "./schedule-CETzN_0H.js";
|
|
16
16
|
function Vl() {
|
|
17
17
|
const l = Ce((i) => i.token), [n, D] = o([]), [k, L] = o(!1), [x, B] = o(""), [E, F] = o(null), [c, A] = o(!1), [C, T] = o(!1), [I, U] = o(null), [u, v] = o([]), [_, y] = o([]), [j, J] = o([]), [Z, O] = o([]), [w, z] = o([]), h = de(async () => {
|
|
18
18
|
L(!0);
|
|
@@ -231,9 +231,9 @@ function Ee() {
|
|
|
231
231
|
/* @__PURE__ */ n("header", { className: e.portalHeader, children: [
|
|
232
232
|
/* @__PURE__ */ n("div", { className: e.brandRow, children: [
|
|
233
233
|
/* @__PURE__ */ a("img", { src: "/logo.svg", alt: "logo", className: e.brandLogo }),
|
|
234
|
-
/* @__PURE__ */ a("h1", { className: e.brandTitle, children: "Z
|
|
234
|
+
/* @__PURE__ */ a("h1", { className: e.brandTitle, children: "Z-OPC 一人公司基建" })
|
|
235
235
|
] }),
|
|
236
|
-
/* @__PURE__ */ a("p", { className: e.brandSubtitle, children: "AI
|
|
236
|
+
/* @__PURE__ */ a("p", { className: e.brandSubtitle, children: "一人公司的 AI 基建 — 选择场景,即刻启动智能协作" })
|
|
237
237
|
] }),
|
|
238
238
|
/* @__PURE__ */ n("main", { className: e.portalMain, children: [
|
|
239
239
|
/* @__PURE__ */ a("h2", { className: e.sectionTitle, children: "可用场景" }),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as a, jsx as i, Fragment as B } from "react/jsx-runtime";
|
|
2
2
|
import { useState as d, useRef as F, useCallback as D, useEffect as R } from "react";
|
|
3
|
-
import { u as O } from "./useAppStore-
|
|
3
|
+
import { u as O } from "./useAppStore-BBr_Fwsz.js";
|
|
4
4
|
/* empty css */
|
|
5
|
-
import { T as P, g as U } from "./api-
|
|
5
|
+
import { T as P, g as U } from "./api-CIhVblfa.js";
|
|
6
6
|
async function y(o, s) {
|
|
7
7
|
const n = await o.text().catch(() => "");
|
|
8
8
|
let t = {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as c, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import v, { useState as d, useEffect as _, useMemo as h } from "react";
|
|
3
3
|
import { useLocation as N } from "react-router-dom";
|
|
4
|
-
import { g as b, s as g } from "./ComponentDoc-
|
|
5
|
-
import { i as K, P as x } from "./schedule-
|
|
4
|
+
import { g as b, s as g } from "./ComponentDoc-Aw4QY8oI.js";
|
|
5
|
+
import { i as K, P as x } from "./schedule-CETzN_0H.js";
|
|
6
6
|
const E = "_banner_2v7mc_1", S = "_dot_2v7mc_18", f = "_text_2v7mc_26", A = "_retry_2v7mc_31", F = "_dismiss_2v7mc_44", P = "_details_2v7mc_57", k = "_method_2v7mc_85", C = "_status_2v7mc_86", D = "_statusNet_2v7mc_87", $ = "_url_2v7mc_88", e = {
|
|
7
7
|
banner: E,
|
|
8
8
|
dot: S,
|
|
@@ -2,7 +2,7 @@ import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { CopyOutlined as oe, ReloadOutlined as ve, PlusOutlined as Te, DeleteOutlined as Oe, ClearOutlined as Ue, CloseOutlined as Re, SendOutlined as De, RobotOutlined as Se, CloudServerOutlined as He, MessageOutlined as Fe, KeyOutlined as je, ApiOutlined as qe, ToolOutlined as Ge, BarChartOutlined as Je } from "@ant-design/icons";
|
|
3
3
|
import { Tooltip as Y, Tabs as we, Input as pe, Button as D, Modal as ue, Drawer as Ae, Spin as X, Statistic as K, Table as Be, message as J, Tag as W, Select as We, Checkbox as Qe } from "antd";
|
|
4
4
|
import { useState as N, useEffect as Z, useCallback as j, useRef as he, useMemo as ze, Suspense as Ve, lazy as Ye } from "react";
|
|
5
|
-
import { u as Me } from "./useAppStore-
|
|
5
|
+
import { u as Me } from "./useAppStore-BBr_Fwsz.js";
|
|
6
6
|
import { AgentAppList as Xe, McpPage as Ze, SkillMarket as et } from "@yuku123/z-agent-component";
|
|
7
7
|
const le = "ft_gateway_default_ak", Ie = "system-default", ee = "", ke = "";
|
|
8
8
|
function te(a = {}) {
|