@yuku123/z-team-component 0.2.54 → 0.2.56
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-Cstbioyw.js → ChangeLogView-R6boINWk.js} +137 -137
- package/dist/{ComponentDoc-yvIrAz9-.js → ComponentDoc-CXivBlKo.js} +121 -121
- package/dist/{InvitationManagementPage-CIouC3Fn.js → InvitationManagementPage-B2Kow6-8.js} +1 -1
- package/dist/{OnboardingPage-DScwVCi-.js → OnboardingPage-DbK9iTSY.js} +2 -2
- package/dist/{ScheduledTasks-Dd2lJrBF.js → ScheduledTasks-DcM_HA5v.js} +2957 -2992
- package/dist/{SystemShell-DtvyWy0u.js → SystemShell-BDSLyt15.js} +1 -1
- package/dist/{admin-logs-B9KS6VJz.js → admin-logs-DMF0dtG1.js} +2 -2
- package/dist/{api-CdVRdA0g.js → api-BPJ4ZHcq.js} +1 -1
- package/dist/{api-CALqShkO.js → api-DhuqONeb.js} +210 -228
- package/dist/createWorkspaceWsHandler-BJhBWCRa.js +13035 -0
- package/dist/{index-DOygBsXO.js → index-2xlHrS59.js} +1123 -1121
- package/dist/{index-7Pe_xBrh.js → index-B-XDBODG.js} +1 -1
- package/dist/{index-Pk7OkJrk.js → index-B30K72xQ.js} +517 -320
- package/dist/{index-C2Wkg1b5.js → index-B8eiFO_f.js} +3 -3
- package/dist/{index-DET70T3j.js → index-BKVWW3ba.js} +1 -1
- package/dist/{index-aw72ID7y.js → index-BM6XpIcw.js} +1 -1
- package/dist/{index-C3B7CbHo.js → index-BOcKPM37.js} +1 -1
- package/dist/{index-lftFkqfI.js → index-BP97Ev-W.js} +4 -4
- package/dist/{index-CgQH7-9F.js → index-BV5g5lsS.js} +3 -3
- package/dist/index-BWgbbHyC.js +8977 -0
- package/dist/index-Ba9q3egm.js +1182 -0
- package/dist/{index-C6S3MIu4.js → index-BkX0I2aB.js} +56 -56
- package/dist/{index-4YxdJwFm.js → index-CZ9xxAL0.js} +3 -3
- package/dist/{index-DLyAy3cr.js → index-CZxihNo5.js} +7 -7
- package/dist/{index-DKeYG0Fu.js → index-CbUsvCMy.js} +4 -4
- package/dist/{index-CLWgeKwr.js → index-Ct9MzvZV.js} +2 -2
- package/dist/{index-CGWttFLb.js → index-CzePRAbT.js} +4 -4
- package/dist/{index-C_2o9qgM.js → index-D9UhloUj.js} +2 -2
- package/dist/{index-DEx5rtXv.js → index-DactZGbw.js} +2 -2
- package/dist/{index-CKS65_Dw.js → index-DdRJhUqt.js} +3 -3
- package/dist/{index-DC5lxCN8.js → index-DnXcckr9.js} +6 -6
- package/dist/{index-usrA11ZG.js → index-JMzBzwiO.js} +617 -618
- package/dist/{index-DJOyOVn_.js → index-Otx98G8z.js} +74 -87
- package/dist/{index-D6V-4vNa.js → index-vy0cRfLN.js} +5 -5
- package/dist/index.js +1 -1
- package/dist/{instance-f3C-1qYl.js → instance-Cr4_XM2r.js} +1 -1
- package/dist/pages.js +1 -1
- package/dist/{schedule-DfkgwPdE.js → schedule-BNLns-p4.js} +1 -1
- package/dist/{send-default-agent-team-message-d_ECdczr.js → send-default-agent-team-message-C9VWSWKJ.js} +1 -1
- package/dist/{sso-user-HcsSzg8P.js → sso-user-Cme2tmGq.js} +1 -1
- package/dist/{training-DnNQN0An.js → training-SjRAdtNQ.js} +1 -1
- package/dist/{useAppStore-kRZEA5WZ.js → useAppStore-C63xiq3-.js} +1 -1
- package/dist/{webide-DPjFYxLl.js → webide-DDFxSedU.js} +1526 -1526
- package/dist/z-team-component.css +2 -2
- package/package.json +1 -1
- package/dist/createWorkspaceWsHandler-CL5-4wFp.js +0 -13037
- package/dist/index-DLQoecEe.js +0 -1143
- package/dist/index-DWsfQMp8.js +0 -208
- package/dist/index-TDZM-Zv3.js +0 -9287
- package/dist/index-WIsi8fln.js +0 -339
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as n, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { FilePptOutlined as P, EditOutlined as O, ScheduleOutlined as A, FileImageOutlined as $, CloseOutlined as F } from "@ant-design/icons";
|
|
3
|
-
import { useState as
|
|
4
|
-
import { h as
|
|
5
|
-
const R = "
|
|
3
|
+
import { useState as p, useCallback as x } from "react";
|
|
4
|
+
import { h as v } from "./history-BlrA1eaW.js";
|
|
5
|
+
const R = "_portalRoot_1mw0k_2", q = "_portalHeader_1mw0k_11", B = "_brandRow_1mw0k_15", D = "_brandLogo_1mw0k_21", L = "_brandTitle_1mw0k_25", M = "_brandSubtitle_1mw0k_34", G = "_portalMain_1mw0k_40", H = "_sectionTitle_1mw0k_47", j = "_cardGrid_1mw0k_53", K = "_scenarioCard_1mw0k_59", W = "_cardTop_1mw0k_75", z = "_cardIcon_1mw0k_80", Z = "_cardInfo_1mw0k_84", Q = "_cardTitle_1mw0k_87", J = "_cardTags_1mw0k_93", U = "_tag_1mw0k_98", X = "_cardDesc_1mw0k_106", Y = "_cardAction_1mw0k_112", V = "_btnCreate_1mw0k_117", ee = "_portalFooter_1mw0k_136", ae = "_linkWorkspace_1mw0k_140", oe = "_modalOverlay_1mw0k_154", te = "_modalBox_1mw0k_165", re = "_modalHeader_1mw0k_174", ne = "_modalIcon_1mw0k_187", le = "_modalClose_1mw0k_190", ie = "_modalBody_1mw0k_203", ce = "_modalDesc_1mw0k_206", de = "_fieldGroup_1mw0k_212", se = "_fieldLabel_1mw0k_217", me = "_required_1mw0k_222", _e = "_fieldInput_1mw0k_226", pe = "_fieldInputError_1mw0k_244", ue = "_fieldTextarea_1mw0k_247", fe = "_fieldTextareaError_1mw0k_270", ke = "_fieldError_1mw0k_273", he = "_modalFooter_1mw0k_278", ge = "_btnCancel_1mw0k_284", we = "_btnConfirm_1mw0k_297", e = {
|
|
6
6
|
portalRoot: R,
|
|
7
7
|
portalHeader: q,
|
|
8
8
|
brandRow: B,
|
|
@@ -28,21 +28,21 @@ const R = "_portalRoot_1sa2c_7", q = "_portalHeader_1sa2c_47", B = "_brandRow_1s
|
|
|
28
28
|
modalBox: te,
|
|
29
29
|
modalHeader: re,
|
|
30
30
|
modalIcon: ne,
|
|
31
|
-
modalClose:
|
|
32
|
-
modalBody:
|
|
33
|
-
modalDesc:
|
|
34
|
-
fieldGroup:
|
|
35
|
-
fieldLabel:
|
|
36
|
-
required:
|
|
37
|
-
fieldInput:
|
|
38
|
-
fieldInputError:
|
|
31
|
+
modalClose: le,
|
|
32
|
+
modalBody: ie,
|
|
33
|
+
modalDesc: ce,
|
|
34
|
+
fieldGroup: de,
|
|
35
|
+
fieldLabel: se,
|
|
36
|
+
required: me,
|
|
37
|
+
fieldInput: _e,
|
|
38
|
+
fieldInputError: pe,
|
|
39
39
|
fieldTextarea: ue,
|
|
40
40
|
fieldTextareaError: fe,
|
|
41
|
-
fieldError:
|
|
42
|
-
modalFooter:
|
|
43
|
-
btnCancel:
|
|
44
|
-
btnConfirm:
|
|
45
|
-
},
|
|
41
|
+
fieldError: ke,
|
|
42
|
+
modalFooter: he,
|
|
43
|
+
btnCancel: ge,
|
|
44
|
+
btnConfirm: we
|
|
45
|
+
}, Ce = window.ZTEAM_USE_KAPI === !0 ? "/kapi/z-team/api" : "/z-team/api", be = [
|
|
46
46
|
{
|
|
47
47
|
key: "ppt-creation",
|
|
48
48
|
icon: /* @__PURE__ */ a(P, {}),
|
|
@@ -122,23 +122,23 @@ const R = "_portalRoot_1sa2c_7", q = "_portalHeader_1sa2c_47", B = "_brandRow_1s
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
];
|
|
125
|
-
function
|
|
125
|
+
function Ne({
|
|
126
126
|
scenario: o,
|
|
127
|
-
onClose:
|
|
128
|
-
onCreated:
|
|
127
|
+
onClose: l,
|
|
128
|
+
onCreated: s
|
|
129
129
|
}) {
|
|
130
|
-
var
|
|
131
|
-
const [r,
|
|
132
|
-
var
|
|
130
|
+
var h, g, w, C, b;
|
|
131
|
+
const [r, d] = p(""), [u, f] = p(!1), [i, c] = p(""), E = !!((h = o.inputConfig) != null && h.multiline), k = x(async () => {
|
|
132
|
+
var N, T, y;
|
|
133
133
|
const t = r.trim();
|
|
134
|
-
if ((
|
|
135
|
-
|
|
134
|
+
if ((N = o.inputConfig) != null && N.required && !t) {
|
|
135
|
+
c(`请填写${o.inputConfig.label}`);
|
|
136
136
|
return;
|
|
137
137
|
}
|
|
138
|
-
|
|
138
|
+
c(""), f(!0);
|
|
139
139
|
try {
|
|
140
|
-
const
|
|
141
|
-
`)[0]) == null ? void 0 :
|
|
140
|
+
const m = ((T = t.split(`
|
|
141
|
+
`)[0]) == null ? void 0 : T.trim()) ?? "", S = m.length > 0 ? m.length > 32 ? `${m.slice(0, 32)}…` : m : `${Date.now()}`, I = `${o.title}-${S}`, _ = await (await fetch(`${Ce}/scenario-instances/`, {
|
|
142
142
|
method: "POST",
|
|
143
143
|
credentials: "include",
|
|
144
144
|
headers: {
|
|
@@ -146,9 +146,9 @@ function ye({
|
|
|
146
146
|
"Content-Type": "application/json"
|
|
147
147
|
},
|
|
148
148
|
body: JSON.stringify({
|
|
149
|
-
name:
|
|
149
|
+
name: I,
|
|
150
150
|
description: `${o.title}:${t.length > 120 ? `${t.slice(0, 120)}…` : t}`,
|
|
151
|
-
workspace_path:
|
|
151
|
+
workspace_path: I,
|
|
152
152
|
scenario_code: o.scenarioCode,
|
|
153
153
|
extend_params: {
|
|
154
154
|
[o.inputConfig.paramKey]: t,
|
|
@@ -156,34 +156,34 @@ function ye({
|
|
|
156
156
|
}
|
|
157
157
|
})
|
|
158
158
|
})).json();
|
|
159
|
-
|
|
159
|
+
_.success && ((y = _.data) != null && y.id) ? s(_.data.id) : c(_.message || "创建失败,请重试");
|
|
160
160
|
} catch {
|
|
161
|
-
|
|
161
|
+
c("网络错误,请检查服务是否可用");
|
|
162
162
|
} finally {
|
|
163
163
|
f(!1);
|
|
164
164
|
}
|
|
165
|
-
}, [r, o,
|
|
166
|
-
return /* @__PURE__ */ a("div", { className: e.modalOverlay, onClick:
|
|
165
|
+
}, [r, o, s]);
|
|
166
|
+
return /* @__PURE__ */ a("div", { className: e.modalOverlay, onClick: l, children: /* @__PURE__ */ n("div", { className: e.modalBox, onClick: (t) => t.stopPropagation(), children: [
|
|
167
167
|
/* @__PURE__ */ n("div", { className: e.modalHeader, children: [
|
|
168
168
|
/* @__PURE__ */ a("span", { className: e.modalIcon, children: o.icon }),
|
|
169
169
|
/* @__PURE__ */ a("h3", { children: o.title }),
|
|
170
|
-
/* @__PURE__ */ a("button", { className: e.modalClose, onClick:
|
|
170
|
+
/* @__PURE__ */ a("button", { className: e.modalClose, onClick: l, children: /* @__PURE__ */ a(F, {}) })
|
|
171
171
|
] }),
|
|
172
172
|
/* @__PURE__ */ n("div", { className: e.modalBody, children: [
|
|
173
173
|
/* @__PURE__ */ a("p", { className: e.modalDesc, children: o.description }),
|
|
174
174
|
/* @__PURE__ */ n("div", { className: e.fieldGroup, children: [
|
|
175
175
|
/* @__PURE__ */ n("label", { className: e.fieldLabel, children: [
|
|
176
|
-
(
|
|
177
|
-
((
|
|
176
|
+
(g = o.inputConfig) == null ? void 0 : g.label,
|
|
177
|
+
((w = o.inputConfig) == null ? void 0 : w.required) && /* @__PURE__ */ a("span", { className: e.required, children: "*" })
|
|
178
178
|
] }),
|
|
179
179
|
E ? /* @__PURE__ */ a(
|
|
180
180
|
"textarea",
|
|
181
181
|
{
|
|
182
|
-
className: `${e.fieldTextarea} ${
|
|
182
|
+
className: `${e.fieldTextarea} ${i ? e.fieldTextareaError : ""}`,
|
|
183
183
|
value: r,
|
|
184
|
-
placeholder: (
|
|
184
|
+
placeholder: (C = o.inputConfig) == null ? void 0 : C.placeholder,
|
|
185
185
|
onChange: (t) => {
|
|
186
|
-
|
|
186
|
+
d(t.target.value), i && c("");
|
|
187
187
|
},
|
|
188
188
|
rows: 5,
|
|
189
189
|
autoFocus: !0
|
|
@@ -191,29 +191,29 @@ function ye({
|
|
|
191
191
|
) : /* @__PURE__ */ a(
|
|
192
192
|
"input",
|
|
193
193
|
{
|
|
194
|
-
className: `${e.fieldInput} ${
|
|
194
|
+
className: `${e.fieldInput} ${i ? e.fieldInputError : ""}`,
|
|
195
195
|
type: "text",
|
|
196
196
|
value: r,
|
|
197
|
-
placeholder: (
|
|
197
|
+
placeholder: (b = o.inputConfig) == null ? void 0 : b.placeholder,
|
|
198
198
|
onChange: (t) => {
|
|
199
|
-
|
|
199
|
+
d(t.target.value), i && c("");
|
|
200
200
|
},
|
|
201
201
|
onKeyDown: (t) => {
|
|
202
|
-
t.key === "Enter" &&
|
|
202
|
+
t.key === "Enter" && k();
|
|
203
203
|
},
|
|
204
204
|
autoFocus: !0
|
|
205
205
|
}
|
|
206
206
|
),
|
|
207
|
-
|
|
207
|
+
i && /* @__PURE__ */ a("p", { className: e.fieldError, children: i })
|
|
208
208
|
] })
|
|
209
209
|
] }),
|
|
210
210
|
/* @__PURE__ */ n("div", { className: e.modalFooter, children: [
|
|
211
|
-
/* @__PURE__ */ a("button", { className: e.btnCancel, onClick:
|
|
211
|
+
/* @__PURE__ */ a("button", { className: e.btnCancel, onClick: l, children: "取消" }),
|
|
212
212
|
/* @__PURE__ */ a(
|
|
213
213
|
"button",
|
|
214
214
|
{
|
|
215
215
|
className: e.btnConfirm,
|
|
216
|
-
onClick:
|
|
216
|
+
onClick: k,
|
|
217
217
|
disabled: u,
|
|
218
218
|
children: u ? "创建中..." : "确认并开始"
|
|
219
219
|
}
|
|
@@ -222,10 +222,10 @@ function ye({
|
|
|
222
222
|
] }) });
|
|
223
223
|
}
|
|
224
224
|
function Ee() {
|
|
225
|
-
const [o,
|
|
225
|
+
const [o, l] = p(
|
|
226
226
|
null
|
|
227
|
-
),
|
|
228
|
-
localStorage.setItem("ft_last_project_id", String(r)), localStorage.removeItem("ft_last_file_path"),
|
|
227
|
+
), s = x((r) => {
|
|
228
|
+
localStorage.setItem("ft_last_project_id", String(r)), localStorage.removeItem("ft_last_file_path"), v.push("/workspace");
|
|
229
229
|
}, []);
|
|
230
230
|
return /* @__PURE__ */ n("div", { className: e.portalRoot, children: [
|
|
231
231
|
/* @__PURE__ */ n("header", { className: e.portalHeader, children: [
|
|
@@ -237,12 +237,12 @@ function Ee() {
|
|
|
237
237
|
] }),
|
|
238
238
|
/* @__PURE__ */ n("main", { className: e.portalMain, children: [
|
|
239
239
|
/* @__PURE__ */ a("h2", { className: e.sectionTitle, children: "可用场景" }),
|
|
240
|
-
/* @__PURE__ */ a("div", { className: e.cardGrid, children:
|
|
240
|
+
/* @__PURE__ */ a("div", { className: e.cardGrid, children: be.map((r) => /* @__PURE__ */ n("div", { className: e.scenarioCard, children: [
|
|
241
241
|
/* @__PURE__ */ n("div", { className: e.cardTop, children: [
|
|
242
242
|
/* @__PURE__ */ a("span", { className: e.cardIcon, children: r.icon }),
|
|
243
243
|
/* @__PURE__ */ n("div", { className: e.cardInfo, children: [
|
|
244
244
|
/* @__PURE__ */ a("h3", { className: e.cardTitle, children: r.title }),
|
|
245
|
-
/* @__PURE__ */ a("div", { className: e.cardTags, children: r.tags.map((
|
|
245
|
+
/* @__PURE__ */ a("div", { className: e.cardTags, children: r.tags.map((d) => /* @__PURE__ */ a("span", { className: e.tag, children: d }, d)) })
|
|
246
246
|
] })
|
|
247
247
|
] }),
|
|
248
248
|
/* @__PURE__ */ a("p", { className: e.cardDesc, children: r.description }),
|
|
@@ -250,7 +250,7 @@ function Ee() {
|
|
|
250
250
|
"button",
|
|
251
251
|
{
|
|
252
252
|
className: e.btnCreate,
|
|
253
|
-
onClick: () =>
|
|
253
|
+
onClick: () => l(r),
|
|
254
254
|
children: "创建"
|
|
255
255
|
}
|
|
256
256
|
) })
|
|
@@ -260,16 +260,16 @@ function Ee() {
|
|
|
260
260
|
"button",
|
|
261
261
|
{
|
|
262
262
|
className: e.linkWorkspace,
|
|
263
|
-
onClick: () =>
|
|
263
|
+
onClick: () => v.push("/workspace"),
|
|
264
264
|
children: "进入工作台 →"
|
|
265
265
|
}
|
|
266
266
|
) }),
|
|
267
267
|
o && /* @__PURE__ */ a(
|
|
268
|
-
|
|
268
|
+
Ne,
|
|
269
269
|
{
|
|
270
270
|
scenario: o,
|
|
271
|
-
onClose: () =>
|
|
272
|
-
onCreated:
|
|
271
|
+
onClose: () => l(null),
|
|
272
|
+
onCreated: s
|
|
273
273
|
}
|
|
274
274
|
)
|
|
275
275
|
] });
|
|
@@ -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-DhuqONeb.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-Cr4_XM2r.js";
|
|
10
|
+
import { u as w } from "./useAppStore-C63xiq3-.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(
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsxs as n, jsx as e, Fragment as Ye } from "react/jsx-runtime";
|
|
2
|
-
import { r as Nm, h as Cm, s as wm } from "./sso-user-
|
|
2
|
+
import { r as Nm, h as Cm, s as wm } from "./sso-user-Cme2tmGq.js";
|
|
3
3
|
import { PlusOutlined as $t, SaveOutlined as Gn, EditOutlined as xn, DeleteOutlined as Bt, ControlOutlined as Er, FolderOpenOutlined as ls, ReloadOutlined as Nt, RobotOutlined as sa, ProfileOutlined as Bd, MessageOutlined as eo, SettingOutlined as rl, ToolOutlined as ba, ApiOutlined as to, ClusterOutlined as Tm, InfoCircleOutlined as Dn, CaretDownOutlined as oi, CaretRightOutlined as ci, FolderOutlined as ol, ExperimentOutlined as Fd, CheckCircleOutlined as cl, SearchOutlined as Jn, CodeOutlined as Lo, PlayCircleOutlined as di, FormOutlined as Hd, CopyOutlined as vi, AppstoreOutlined as Jl, NotificationOutlined as km, CloseOutlined as bi, ThunderboltOutlined as ja, SyncOutlined as jd, CloseCircleOutlined as ui, FieldTimeOutlined as Sm, DownOutlined as Al, RightOutlined as mi, RollbackOutlined as Dr, TagOutlined as Ud, EllipsisOutlined as Gd, CheckOutlined as $o, UserAddOutlined as Qs, DatabaseOutlined as no, CloudSyncOutlined as xm, FileTextOutlined as ao, SwapOutlined as Im, CloudUploadOutlined as Am, FileMarkdownOutlined as Lm, BellOutlined as $m, RocketOutlined as Em, SendOutlined as Eo, LeftOutlined as Dm, CalendarOutlined as Rm, WarningOutlined as Rr, TeamOutlined as Or, SafetyCertificateOutlined as Om, MinusCircleOutlined as lo, PlusCircleOutlined as Pr, WarningFilled as Pm, CheckCircleFilled as Wd, CloseCircleFilled as qd, NodeIndexOutlined as Xs, FileImageOutlined as Vd, BookOutlined as Yd, BranchesOutlined as Kd, ExclamationCircleOutlined as zr, ArrowLeftOutlined as Jd, BulbOutlined as zm, FileSearchOutlined as Do, UpOutlined as Mm, LoadingOutlined as Ro, ExclamationCircleFilled as Bm, ExportOutlined as Fm, StarFilled as Oo, StarOutlined as Hm, EnterOutlined as jm, EyeOutlined as Ni, ClockCircleOutlined as Qd, BarChartOutlined as Xd, TableOutlined as Um, ShareAltOutlined as Gm, UndoOutlined as Wm, PictureOutlined as qm, LaptopOutlined as Vm, UserOutlined as Mr, DesktopOutlined as Ym, LockOutlined as Km, StopOutlined as Jm, MenuFoldOutlined as Qm, LogoutOutlined as Xm, MonitorOutlined as Zm, CodeSandboxOutlined as eh } from "@ant-design/icons";
|
|
4
4
|
import { Form as We, Space as Ve, Button as C, Typography as pt, Card as Kn, Empty as Tt, Table as kt, Modal as et, Input as ve, Divider as Hn, Select as He, InputNumber as On, Switch as _n, message as m, Tooltip as fe, Tag as F, Spin as ot, Drawer as bn, Tabs as vt, Alert as an, Radio as Rn, Collapse as on, Popconfirm as nn, DatePicker as zn, Row as Br, Col as aa, Statistic as hn, Skeleton as Zs, Dropdown as Ci, Descriptions as wt, List as Ma, Layout as Zd, Tree as eu, Checkbox as ta, Steps as th, Upload as nh, Progress as so, Image as tu, Badge as jn, AutoComplete as ah, Breadcrumb as zi, Avatar as lh } from "antd";
|
|
5
5
|
import { useState as i, useEffect as ke, useCallback as re, useMemo as De, useRef as Lt, useLayoutEffect as nu } from "react";
|
|
6
6
|
import { h as Ll } from "./history-BlrA1eaW.js";
|
|
7
|
-
import { h as au, E as sh } from "./schedule-
|
|
8
|
-
import ih from "./index-
|
|
9
|
-
import { c as rh, d as oh, e as io, g as lu, h as ch, i as ns, j as Mi, k as dh, l as uh, r as mh, u as hh, m as ph, n as gh, f as fh, o as yh, p as _h, v as vh, q as bh, t as Nh, w as Ch, x as wh, y as Th, z as kh, A as Sh, B as xh, C as Ih, D as Fr, E as su, F as Ah, G as Lh, H as $h, I as Eh, J as Dh, K as Po, L as Rh, M as Oh, N as zo, O as hi, Q as Ph, R as zh, U as Mh, V as Bh, W as Fh, X as Hh, Y as jh, Z as Uh, _ as Gh, $ as Wh, a0 as qh, a1 as Vh, a2 as Yh, a3 as Kh, a4 as Jh, a5 as Qh, a6 as Xh, a7 as Zh, a8 as ep, a9 as tp, aa as np, ab as ap, ac as be, ad as Xt, ae as Qe, af as il, ag as iu, ah as ru, ai as Hr, aj as Sa, ak as xt, al as Ua, am as al, an as lp, ao as sp, ap as da, aq as ro, ar as ip, as as rp, at as op, au as cp, av as dp, aw as up, ax as mp, ay as hp, az as pp, aA as gp, aB as fp, aC as yp, aD as _p, aE as vp, aF as bp, aG as Np, aH as Mo, aI as Cp, P as wp, S as Tp } from "./webide-
|
|
10
|
-
import { a as ct, f as It, B as bt, u as yt,
|
|
11
|
-
import { u as Ct } from "./useAppStore-
|
|
7
|
+
import { h as au, E as sh } from "./schedule-BNLns-p4.js";
|
|
8
|
+
import ih from "./index-BM6XpIcw.js";
|
|
9
|
+
import { c as rh, d as oh, e as io, g as lu, h as ch, i as ns, j as Mi, k as dh, l as uh, r as mh, u as hh, m as ph, n as gh, f as fh, o as yh, p as _h, v as vh, q as bh, t as Nh, w as Ch, x as wh, y as Th, z as kh, A as Sh, B as xh, C as Ih, D as Fr, E as su, F as Ah, G as Lh, H as $h, I as Eh, J as Dh, K as Po, L as Rh, M as Oh, N as zo, O as hi, Q as Ph, R as zh, U as Mh, V as Bh, W as Fh, X as Hh, Y as jh, Z as Uh, _ as Gh, $ as Wh, a0 as qh, a1 as Vh, a2 as Yh, a3 as Kh, a4 as Jh, a5 as Qh, a6 as Xh, a7 as Zh, a8 as ep, a9 as tp, aa as np, ab as ap, ac as be, ad as Xt, ae as Qe, af as il, ag as iu, ah as ru, ai as Hr, aj as Sa, ak as xt, al as Ua, am as al, an as lp, ao as sp, ap as da, aq as ro, ar as ip, as as rp, at as op, au as cp, av as dp, aw as up, ax as mp, ay as hp, az as pp, aA as gp, aB as fp, aC as yp, aD as _p, aE as vp, aF as bp, aG as Np, aH as Mo, aI as Cp, P as wp, S as Tp } from "./webide-DDFxSedU.js";
|
|
10
|
+
import { a as ct, f as It, B as bt, u as yt, b4 as oo, b5 as kp, t as lt, b6 as Sp, b7 as xp, as as Ip, b8 as Ap, k as An, b9 as Lp, aK as $p, ba as Ep, bb as Bo, bc as Dp, bd as Rp, be as Op, aC as ia, bf as Pp, i as ss, ao as ei, bg as ms, bh as Bi, bi as Rl, bj as Fo, bk as zp, bl as Mp, bm as Bp, bn as Fp, bo as Hp, bp as jp, bq as Up, br as Gp, bs as Wp, bt as qp, bu as Vp, bv as Yp, bw as Ho, bx as Kp, by as jo, bz as Uo, bA as Jp, bB as Qp, bC as Xp, bD as Zp, bE as eg, bF as tg, I as ou, ac as Go, bG as co, bH as uo, bI as ti, az as ng, bJ as ag, bK as lg, bL as sg, bM as ig, bN as rg, bO as og, bP as cg, bQ as dg, bR as ug, bS as mg, bT as hg, bU as pg, bV as gg, bW as cu, bX as fg, bY as yg, e as _g } from "./api-DhuqONeb.js";
|
|
11
|
+
import { u as Ct } from "./useAppStore-C63xiq3-.js";
|
|
12
12
|
/* empty css */
|
|
13
|
-
import { l as du, n as uu, o as mu, p as hu, q as vg, v as pu, e as Wo, f as bg, u as qo, g as Fi, h as Ng, s as Cg } from "./admin-logs-
|
|
13
|
+
import { l as du, n as uu, o as mu, p as hu, q as vg, v as pu, e as Wo, f as bg, u as qo, g as Fi, h as Ng, s as Cg } from "./admin-logs-DMF0dtG1.js";
|
|
14
14
|
import { ListTable as dn, EmptyState as wg } from "@yuku123/z-frontend-common/ui";
|
|
15
15
|
import ht from "dayjs";
|
|
16
16
|
import { s as at } from "./index.module-UI0iz8K0.js";
|
|
@@ -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-Cme2tmGq.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-DhuqONeb.js";
|
|
11
|
+
import { u as c } from "./useAppStore-C63xiq3-.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-C9VWSWKJ.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 || "");
|
|
@@ -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-C63xiq3-.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-DhuqONeb.js";
|
|
6
6
|
async function y(o, s) {
|
|
7
7
|
const n = await o.text().catch(() => "");
|
|
8
8
|
let t = {};
|
|
@@ -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-SjRAdtNQ.js";
|
|
7
|
+
import { u as Ce } from "./useAppStore-C63xiq3-.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-DhuqONeb.js";
|
|
15
|
+
import { h as ql } from "./schedule-BNLns-p4.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);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AppLayout as v, ErrorBoundary as H, LoginPage as _, StatusTag as z, defaultStatusMap as F } from "@yuku123/z-frontend-common";
|
|
2
|
-
import { a as y } from "./ComponentDoc-
|
|
3
|
-
import { b as J, E as Q, c as X, d as Y, e as Z, O as $, f as ee, R as te, g as re, h as ae, T as oe, j as ne, r as le, r as ie, s as se } from "./ComponentDoc-
|
|
2
|
+
import { a as y } from "./ComponentDoc-CXivBlKo.js";
|
|
3
|
+
import { b as J, E as Q, c as X, d as Y, e as Z, O as $, f as ee, R as te, g as re, h as ae, T as oe, j as ne, r as le, r as ie, s as se } from "./ComponentDoc-CXivBlKo.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 T } from "react";
|
|
6
6
|
import { Alert as I, Space as g, Button as l, Tag as c, Result as R } from "antd";
|
|
@@ -3,8 +3,8 @@ import { Navigate as i, useLocation as b } from "react-router-dom";
|
|
|
3
3
|
import { Alert as u } from "antd";
|
|
4
4
|
import { DashboardOutlined as v, ClusterOutlined as r, ContainerOutlined as y, CloudServerOutlined as l, BranchesOutlined as O, RocketOutlined as g, AlertOutlined as k, FileTextOutlined as S, DatabaseOutlined as c, CloudOutlined as f, DeploymentUnitOutlined as z } from "@ant-design/icons";
|
|
5
5
|
import { W as P } from "./index-DRrBkbr_.js";
|
|
6
|
-
import { M as D } from "./ComponentDoc-
|
|
7
|
-
import "./index-
|
|
6
|
+
import { M as D } from "./ComponentDoc-CXivBlKo.js";
|
|
7
|
+
import "./index-BWgbbHyC.js";
|
|
8
8
|
const a = "K8s 管理面的数据源在**独立运维平台 z-ops**:/z-team/ops/k8s/** 由 z-ops 仓的 z-ops-web 提供(K8sController 注册 /z-team/ops/k8s,HpaController 注册 /z-team/ops/k8s/hpa)。**z-opc 主壳不承载它**:主壳制品 BOOT-INF/lib 里 0 个 z-ops-*,主壳 nginx 路由总表里也没有^/z-team/ops 这条反代规则 ⇒ 实测 GET /z-team/ops/k8s/nodes 得到的是 SPA 兜底页(HTTP 200 + text/html + 451B,与必假路径逐字节相同),不是后端 JSON。该页面的真实入口在 z-ops 独立平台(集群内端口 8886,其前端路由 /ops/k8s)。", E = [
|
|
9
9
|
{
|
|
10
10
|
title: "DevOps 运维",
|
|
@@ -1,13 +1,13 @@
|
|
|
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 b, f as $, B, u as D } from "./api-
|
|
4
|
-
import { u as F } from "./useAppStore-
|
|
3
|
+
import { a as b, f as $, B, u as D } from "./api-DhuqONeb.js";
|
|
4
|
+
import { u as F } from "./useAppStore-C63xiq3-.js";
|
|
5
5
|
import { SearchOutlined as Ce, ReloadOutlined as Se, PlusOutlined as Te, FileZipOutlined as Z, CloudDownloadOutlined as Y, EditOutlined as he, UserSwitchOutlined as Ue, ArrowLeftOutlined as fe, UserOutlined as be, CloudUploadOutlined as $e, PictureOutlined as de, EyeOutlined as Be } from "@ant-design/icons";
|
|
6
6
|
import { message as U, 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";
|
|
7
7
|
import ve from "react-markdown";
|
|
8
8
|
import _e from "rehype-highlight";
|
|
9
9
|
import ge from "remark-gfm";
|
|
10
|
-
import { M as oa } from "./index-
|
|
10
|
+
import { M as oa } from "./index-vy0cRfLN.js";
|
|
11
11
|
function j(a) {
|
|
12
12
|
return a ? `?token=${encodeURIComponent(a)}` : "";
|
|
13
13
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
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-Cme2tmGq.js";
|
|
4
4
|
import { ArrowLeftOutlined as ue, PlusOutlined as pe, LogoutOutlined as me, SearchOutlined as he } from "@ant-design/icons";
|
|
5
5
|
import { Spin as M, 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 S, useRef as E, useEffect as y, useMemo as Y, useCallback as B } from "react";
|
|
8
8
|
import { useLocation as ke } from "react-router-dom";
|
|
9
9
|
import { h as R } from "./history-BlrA1eaW.js";
|
|
10
|
-
import { c as we, C as Se } from "./createWorkspaceWsHandler-
|
|
11
|
-
import { u as c, 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 xe, j as Pe } from "./instance-
|
|
10
|
+
import { c as we, C as Se } from "./createWorkspaceWsHandler-BJhBWCRa.js";
|
|
11
|
+
import { u as c, f as ye, T as ve } from "./useAppStore-C63xiq3-.js";
|
|
12
|
+
import { o as Te, q as Ne, v as je, w as Ce, e as ee } from "./api-DhuqONeb.js";
|
|
13
|
+
import { l as xe, j as Pe } from "./instance-Cr4_XM2r.js";
|
|
14
14
|
/* empty css */
|
|
15
|
-
import { s as _e } from "./admin-logs-
|
|
15
|
+
import { s as _e } from "./admin-logs-DMF0dtG1.js";
|
|
16
16
|
const ae = 2e4;
|
|
17
17
|
function Ee(l, o = ae, n = globalThis) {
|
|
18
18
|
let s = null;
|